@opendesign-plus/components 0.0.1-rc.6 → 0.0.1-rc.61
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/chunk-OElCookieNotice.cjs.js +1 -0
- package/dist/chunk-OElCookieNotice.es.js +1053 -0
- package/dist/components/activity/OActivityApproval.vue.d.ts +273 -0
- package/dist/components/activity/OActivityForm.vue.d.ts +138 -0
- package/dist/components/activity/OActivityMyCalendar.vue.d.ts +636 -0
- package/dist/components/activity/composables/useActivityConfig.d.ts +17 -0
- package/dist/components/activity/config.d.ts +1 -0
- package/dist/components/activity/index.d.ts +648 -0
- package/dist/components/activity/types.d.ts +88 -0
- package/dist/components/banner/OBanner.vue.d.ts +13 -0
- package/dist/components/banner/OBannerContent.vue.d.ts +7 -0
- package/dist/components/banner/index.d.ts +68 -0
- package/dist/components/banner/types.d.ts +31 -0
- package/dist/components/config-provider/OPlusConfigProvider.vue.d.ts +24 -0
- package/dist/components/config-provider/index.d.ts +30 -0
- package/dist/components/cookie-notice/OCookieNotice.vue.d.ts +17 -0
- package/dist/components/cookie-notice/index.d.ts +53 -0
- package/dist/components/element-plus/OElCookieNotice.vue.d.ts +6 -3
- package/dist/components/empty/OEmpty.vue.d.ts +24 -0
- package/dist/components/empty/index.d.ts +39 -0
- package/dist/components/events/OEventsApply.vue.d.ts +16 -0
- package/dist/components/events/OEventsCalendar.vue.d.ts +5 -0
- package/dist/components/events/OEventsList.vue.d.ts +28 -0
- package/dist/components/events/config.d.ts +14 -0
- package/dist/components/events/index.d.ts +80 -0
- package/dist/components/events/types.d.ts +73 -0
- package/dist/components/events/utils.d.ts +7 -0
- package/dist/components/feedback-doc/OFeedbackDoc.vue.d.ts +216 -0
- package/dist/components/feedback-doc/OFeedbackDocContent.vue.d.ts +36 -0
- package/dist/components/feedback-doc/OFeedbackDocDialog.vue.d.ts +34 -0
- package/dist/components/feedback-doc/OFeedbackDocPopup.vue.d.ts +44 -0
- package/dist/components/feedback-doc/index.d.ts +497 -0
- package/dist/components/footer/OFooter.vue.d.ts +46 -0
- package/dist/components/footer/index.d.ts +89 -0
- package/dist/components/header/OHeader.vue.d.ts +40 -0
- package/dist/components/header/OHeaderMobile.vue.d.ts +177 -0
- package/dist/components/header/components/HeaderContent.vue.d.ts +13 -0
- package/dist/components/header/components/HeaderFlatten.vue.d.ts +19 -0
- package/dist/components/header/components/HeaderNav.vue.d.ts +22 -0
- package/dist/components/header/components/HeaderNavMobile.vue.d.ts +34 -0
- package/dist/components/header/index.d.ts +170 -0
- package/dist/components/header/types.d.ts +95 -0
- package/dist/components/header-language-switcher/OHeaderLanguageSwitcher.vue.d.ts +67 -0
- package/dist/components/header-language-switcher/index.d.ts +120 -0
- package/dist/components/header-search/OHeaderSearch.vue.d.ts +1039 -0
- package/dist/components/header-search/index.d.ts +612 -0
- package/dist/components/header-source-code/OHeaderSourceCode.vue.d.ts +20 -0
- package/dist/components/header-source-code/index.d.ts +26 -0
- package/dist/components/header-theme/OHeaderTheme.vue.d.ts +25 -0
- package/dist/components/header-theme/index.d.ts +50 -0
- package/dist/components/header-user/OHeaderUser.vue.d.ts +39 -0
- package/dist/components/header-user/index.d.ts +44 -0
- package/dist/components/icon/index.d.ts +9 -0
- package/dist/components/meeting/OMeetingCalendar.vue.d.ts +305 -0
- package/dist/components/meeting/OMeetingForm.vue.d.ts +143 -0
- package/dist/components/meeting/OMeetingMyCalendar.vue.d.ts +644 -0
- package/dist/components/meeting/OMeetingPlayback.vue.d.ts +96 -0
- package/dist/components/meeting/OMeetingSigCalendar.vue.d.ts +32 -0
- package/dist/components/meeting/components/OMeetingCalendarList.vue.d.ts +30 -0
- package/dist/components/meeting/components/OMeetingCalendarSelector.vue.d.ts +664 -0
- package/dist/components/meeting/components/OMeetingDetail.vue.d.ts +13 -0
- package/dist/components/meeting/components/OMeetingPlaybackSubtitles.vue.d.ts +20 -0
- package/dist/components/meeting/components/OMeetingPlaybackVideo.vue.d.ts +17 -0
- package/dist/components/meeting/components/OMeetingSigAside.vue.d.ts +190 -0
- package/dist/components/meeting/composables/useMeetingConfig.d.ts +14 -0
- package/dist/components/meeting/config.d.ts +12 -0
- package/dist/components/meeting/index.d.ts +861 -0
- package/dist/components/meeting/types.d.ts +243 -0
- package/dist/components/meeting/utils.d.ts +9 -0
- package/dist/components/search/OSearchInput.vue.d.ts +1029 -0
- package/dist/components/search/composables/useImageSearch.d.ts +48 -0
- package/dist/components/search/composables/useKeywordHighlight.d.ts +2 -0
- package/dist/components/search/composables/useSearchHistory.d.ts +14 -0
- package/dist/components/search/index.d.ts +602 -0
- package/dist/components/search/internal/HighlightText.vue.d.ts +9 -0
- package/dist/components/search/internal/SearchImageInput.vue.d.ts +740 -0
- package/dist/components/search/internal/SearchPanel.vue.d.ts +100 -0
- package/dist/components/search/types.d.ts +20 -0
- package/dist/components/section/OSection.vue.d.ts +37 -0
- package/dist/components/section/index.d.ts +47 -0
- package/dist/components/sig/OSigDetail.vue.d.ts +30 -0
- package/dist/components/sig/OSigList.vue.d.ts +12 -0
- package/dist/components/sig/components/OSigDetailInfoCard.vue.d.ts +13 -0
- package/dist/components/sig/components/OSigItem.vue.d.ts +14 -0
- package/dist/components/sig/components/OSigMember.vue.d.ts +10 -0
- package/dist/components/sig/components/OSigRepo.vue.d.ts +8 -0
- package/dist/components/sig/components/OSigUserContribute.vue.d.ts +10 -0
- package/dist/components/sig/components/config-sig.d.ts +1 -0
- package/dist/components/sig/components/utils.d.ts +6 -0
- package/dist/components/sig/types.d.ts +169 -0
- package/dist/components.cjs.js +225 -1
- package/dist/components.css +1 -1
- package/dist/components.element.cjs.js +1 -1
- package/dist/components.element.es.js +2 -214
- package/dist/components.es.js +49229 -807
- package/dist/index.d.ts +20 -11
- package/dist/treeshaking/_virtual/@babel/runtime/helpers/esm/extends.js.mjs +12 -0
- package/dist/treeshaking/_virtual/@babel/runtime/helpers/extends.js.mjs +22 -0
- package/dist/treeshaking/_virtual/@babel/runtime/helpers/extends.js2.mjs +4 -0
- package/dist/treeshaking/_virtual/@videojs/vhs-utils/es/byte-helpers.js.mjs +141 -0
- package/dist/treeshaking/_virtual/@videojs/vhs-utils/es/codecs.js.mjs +158 -0
- package/dist/treeshaking/_virtual/@videojs/vhs-utils/es/containers.js.mjs +161 -0
- package/dist/treeshaking/_virtual/@videojs/vhs-utils/es/decode-b64-to-uint8-array.js.mjs +15 -0
- package/dist/treeshaking/_virtual/@videojs/vhs-utils/es/ebml-helpers.js.mjs +126 -0
- package/dist/treeshaking/_virtual/@videojs/vhs-utils/es/id3-helpers.js.mjs +32 -0
- package/dist/treeshaking/_virtual/@videojs/vhs-utils/es/media-groups.js.mjs +13 -0
- package/dist/treeshaking/_virtual/@videojs/vhs-utils/es/media-types.js.mjs +17 -0
- package/dist/treeshaking/_virtual/@videojs/vhs-utils/es/mp4-helpers.js.mjs +57 -0
- package/dist/treeshaking/_virtual/@videojs/vhs-utils/es/nal-helpers.js.mjs +78 -0
- package/dist/treeshaking/_virtual/@videojs/vhs-utils/es/resolve-url.js.mjs +23 -0
- package/dist/treeshaking/_virtual/@videojs/vhs-utils/es/stream.js.mjs +51 -0
- package/dist/treeshaking/_virtual/@videojs/xhr/lib/http-handler.js.mjs +55 -0
- package/dist/treeshaking/_virtual/@videojs/xhr/lib/index.js.mjs +7 -0
- package/dist/treeshaking/_virtual/@videojs/xhr/lib/index.js2.mjs +300 -0
- package/dist/treeshaking/_virtual/@videojs/xhr/lib/index.js3.mjs +4 -0
- package/dist/treeshaking/_virtual/@videojs/xhr/lib/interceptors.js.mjs +109 -0
- package/dist/treeshaking/_virtual/@videojs/xhr/lib/retry.js.mjs +104 -0
- package/dist/treeshaking/_virtual/@xmldom/xmldom/lib/conventions.js.mjs +142 -0
- package/dist/treeshaking/_virtual/@xmldom/xmldom/lib/conventions.js2.mjs +4 -0
- package/dist/treeshaking/_virtual/@xmldom/xmldom/lib/dom-parser.js.mjs +224 -0
- package/dist/treeshaking/_virtual/@xmldom/xmldom/lib/dom-parser.js2.mjs +4 -0
- package/dist/treeshaking/_virtual/@xmldom/xmldom/lib/dom.js.mjs +1449 -0
- package/dist/treeshaking/_virtual/@xmldom/xmldom/lib/dom.js2.mjs +4 -0
- package/dist/treeshaking/_virtual/@xmldom/xmldom/lib/entities.js.mjs +2149 -0
- package/dist/treeshaking/_virtual/@xmldom/xmldom/lib/entities.js2.mjs +4 -0
- package/dist/treeshaking/_virtual/@xmldom/xmldom/lib/index.js.mjs +5 -0
- package/dist/treeshaking/_virtual/@xmldom/xmldom/lib/index.js2.mjs +16 -0
- package/dist/treeshaking/_virtual/@xmldom/xmldom/lib/index.js3.mjs +4 -0
- package/dist/treeshaking/_virtual/@xmldom/xmldom/lib/sax.js.mjs +594 -0
- package/dist/treeshaking/_virtual/@xmldom/xmldom/lib/sax.js2.mjs +4 -0
- package/dist/treeshaking/_virtual/___vite-browser-external.mjs +6 -0
- package/dist/treeshaking/_virtual/__vite-browser-external.mjs +4 -0
- package/dist/treeshaking/_virtual/_commonjsHelpers.mjs +33 -0
- package/dist/treeshaking/_virtual/_plugin-vue_export-helper.mjs +10 -0
- package/dist/treeshaking/_virtual/global/document.js.mjs +7 -0
- package/dist/treeshaking/_virtual/global/document.js2.mjs +24 -0
- package/dist/treeshaking/_virtual/global/window.js.mjs +7 -0
- package/dist/treeshaking/_virtual/global/window.js2.mjs +22 -0
- package/dist/treeshaking/_virtual/icon-all.mjs +20 -0
- package/dist/treeshaking/_virtual/icon-atomgit.mjs +25 -0
- package/dist/treeshaking/_virtual/icon-avatar-line.mjs +20 -0
- package/dist/treeshaking/_virtual/icon-caret-left.mjs +20 -0
- package/dist/treeshaking/_virtual/icon-caret-right.mjs +20 -0
- package/dist/treeshaking/_virtual/icon-checked.mjs +20 -0
- package/dist/treeshaking/_virtual/icon-chevron-down.mjs +20 -0
- package/dist/treeshaking/_virtual/icon-chevron-right.mjs +20 -0
- package/dist/treeshaking/_virtual/icon-chevron-up.mjs +20 -0
- package/dist/treeshaking/_virtual/icon-close.mjs +20 -0
- package/dist/treeshaking/_virtual/icon-competition.mjs +31 -0
- package/dist/treeshaking/_virtual/icon-copy.mjs +21 -0
- package/dist/treeshaking/_virtual/icon-delete-hover.mjs +24 -0
- package/dist/treeshaking/_virtual/icon-delete.mjs +17 -0
- package/dist/treeshaking/_virtual/icon-event.mjs +21 -0
- package/dist/treeshaking/_virtual/icon-events.mjs +31 -0
- package/dist/treeshaking/_virtual/icon-filter.mjs +20 -0
- package/dist/treeshaking/_virtual/icon-filter2.mjs +21 -0
- package/dist/treeshaking/_virtual/icon-gitee.mjs +20 -0
- package/dist/treeshaking/_virtual/icon-header-back.mjs +20 -0
- package/dist/treeshaking/_virtual/icon-header-menu.mjs +20 -0
- package/dist/treeshaking/_virtual/icon-header-search.mjs +20 -0
- package/dist/treeshaking/_virtual/icon-help.mjs +21 -0
- package/dist/treeshaking/_virtual/icon-image-upload.mjs +20 -0
- package/dist/treeshaking/_virtual/icon-image-zoomin.mjs +20 -0
- package/dist/treeshaking/_virtual/icon-locale.mjs +20 -0
- package/dist/treeshaking/_virtual/icon-mail.mjs +17 -0
- package/dist/treeshaking/_virtual/icon-meet.mjs +21 -0
- package/dist/treeshaking/_virtual/icon-moon.mjs +20 -0
- package/dist/treeshaking/_virtual/icon-notice.mjs +20 -0
- package/dist/treeshaking/_virtual/icon-outlink.mjs +20 -0
- package/dist/treeshaking/_virtual/icon-playing.mjs +33 -0
- package/dist/treeshaking/_virtual/icon-refresh.mjs +21 -0
- package/dist/treeshaking/_virtual/icon-release.mjs +31 -0
- package/dist/treeshaking/_virtual/icon-search.mjs +17 -0
- package/dist/treeshaking/_virtual/icon-search2.mjs +17 -0
- package/dist/treeshaking/_virtual/icon-smile.mjs +21 -0
- package/dist/treeshaking/_virtual/icon-speaker.mjs +17 -0
- package/dist/treeshaking/_virtual/icon-summit.mjs +21 -0
- package/dist/treeshaking/_virtual/icon-summit2.mjs +31 -0
- package/dist/treeshaking/_virtual/icon-sun.mjs +20 -0
- package/dist/treeshaking/_virtual/icon-tip.mjs +21 -0
- package/dist/treeshaking/_virtual/icon-tips.mjs +17 -0
- package/dist/treeshaking/_virtual/icon-user.mjs +17 -0
- package/dist/treeshaking/_virtual/icon-working.mjs +17 -0
- package/dist/treeshaking/_virtual/is-function/index.js.mjs +20 -0
- package/dist/treeshaking/_virtual/m3u8-parser/dist/m3u8-parser.es.js.mjs +1390 -0
- package/dist/treeshaking/_virtual/mpd-parser/dist/mpd-parser.es.js.mjs +1693 -0
- package/dist/treeshaking/_virtual/mux.js/lib/tools/parse-sidx.js.mjs +7 -0
- package/dist/treeshaking/_virtual/mux.js/lib/tools/parse-sidx.js2.mjs +45 -0
- package/dist/treeshaking/_virtual/mux.js/lib/utils/clock.js.mjs +5 -0
- package/dist/treeshaking/_virtual/mux.js/lib/utils/clock.js2.mjs +42 -0
- package/dist/treeshaking/_virtual/mux.js/lib/utils/numbers.js.mjs +27 -0
- package/dist/treeshaking/_virtual/sig-space.mjs +20 -0
- package/dist/treeshaking/_virtual/video.js/dist/video-js.css +2018 -0
- package/dist/treeshaking/_virtual/video.js/dist/video.es.js.mjs +40111 -0
- package/dist/treeshaking/_virtual/videojs-vtt.js/lib/browser-index.js.mjs +7 -0
- package/dist/treeshaking/_virtual/videojs-vtt.js/lib/browser-index.js2.mjs +37 -0
- package/dist/treeshaking/_virtual/videojs-vtt.js/lib/browser-index.js3.mjs +4 -0
- package/dist/treeshaking/_virtual/videojs-vtt.js/lib/vtt.js.mjs +1082 -0
- package/dist/treeshaking/_virtual/videojs-vtt.js/lib/vttcue.js.mjs +235 -0
- package/dist/treeshaking/_virtual/videojs-vtt.js/lib/vttregion.js.mjs +122 -0
- package/dist/treeshaking/assets/meeting/empty.png.mjs +4 -0
- package/dist/treeshaking/assets/meeting/transparent.png.mjs +4 -0
- package/dist/treeshaking/components/activity/OActivityApproval.css +638 -0
- package/dist/treeshaking/components/activity/OActivityApproval.vue.d.ts +273 -0
- package/dist/treeshaking/components/activity/OActivityApproval.vue.mjs +718 -0
- package/dist/treeshaking/components/activity/OActivityApproval.vue4.mjs +6 -0
- package/dist/treeshaking/components/activity/OActivityApproval2.css +331 -0
- package/dist/treeshaking/components/activity/OActivityForm.css +367 -0
- package/dist/treeshaking/components/activity/OActivityForm.vue.d.ts +138 -0
- package/dist/treeshaking/components/activity/OActivityForm.vue.mjs +628 -0
- package/dist/treeshaking/components/activity/OActivityForm.vue4.mjs +6 -0
- package/dist/treeshaking/components/activity/OActivityForm2.css +330 -0
- package/dist/treeshaking/components/activity/OActivityMyCalendar.css +1237 -0
- package/dist/treeshaking/components/activity/OActivityMyCalendar.vue.d.ts +636 -0
- package/dist/treeshaking/components/activity/OActivityMyCalendar.vue.mjs +856 -0
- package/dist/treeshaking/components/activity/OActivityMyCalendar.vue4.mjs +6 -0
- package/dist/treeshaking/components/activity/OActivityMyCalendar2.css +314 -0
- package/dist/treeshaking/components/activity/composables/useActivityConfig.d.ts +17 -0
- package/dist/treeshaking/components/activity/composables/useActivityConfig.mjs +139 -0
- package/dist/treeshaking/components/activity/config.d.ts +1 -0
- package/dist/treeshaking/components/activity/config.mjs +4 -0
- package/dist/treeshaking/components/activity/index.d.ts +648 -0
- package/dist/treeshaking/components/activity/index.mjs +29 -0
- package/dist/treeshaking/components/activity/types.d.ts +88 -0
- package/dist/treeshaking/components/banner/OBanner.css +151 -0
- package/dist/treeshaking/components/banner/OBanner.vue.d.ts +13 -0
- package/dist/treeshaking/components/banner/OBanner.vue.mjs +8 -0
- package/dist/treeshaking/components/banner/OBanner.vue2.mjs +142 -0
- package/dist/treeshaking/components/banner/OBanner2.css +39 -0
- package/dist/treeshaking/components/banner/OBannerContent.css +113 -0
- package/dist/treeshaking/components/banner/OBannerContent.vue.d.ts +7 -0
- package/dist/treeshaking/components/banner/OBannerContent.vue.mjs +7 -0
- package/dist/treeshaking/components/banner/OBannerContent.vue2.mjs +102 -0
- package/dist/treeshaking/components/banner/index.d.ts +68 -0
- package/dist/treeshaking/components/banner/index.mjs +16 -0
- package/dist/treeshaking/components/banner/types.d.ts +31 -0
- package/dist/treeshaking/components/common/AppAvatar.css +20 -0
- package/dist/treeshaking/components/common/AppAvatar.vue.mjs +7 -0
- package/dist/treeshaking/components/common/AppAvatar.vue2.mjs +83 -0
- package/dist/treeshaking/components/common/ClientOnly.vue.mjs +16 -0
- package/dist/treeshaking/components/common/ClientOnly.vue2.mjs +4 -0
- package/dist/treeshaking/components/common/ContentWrapper.css +36 -0
- package/dist/treeshaking/components/common/ContentWrapper.vue.mjs +7 -0
- package/dist/treeshaking/components/common/ContentWrapper.vue2.mjs +50 -0
- package/dist/treeshaking/components/common/ThFilter.css +146 -0
- package/dist/treeshaking/components/common/ThFilter.vue.mjs +270 -0
- package/dist/treeshaking/components/common/ThFilter.vue3.mjs +5 -0
- package/dist/treeshaking/components/common/TooltipText.css +35 -0
- package/dist/treeshaking/components/common/TooltipText.vue.mjs +104 -0
- package/dist/treeshaking/components/common/TooltipText.vue3.mjs +5 -0
- package/dist/treeshaking/components/common/WordAvatar.css +18 -0
- package/dist/treeshaking/components/common/WordAvatar.vue.mjs +68 -0
- package/dist/treeshaking/components/common/WordAvatar.vue3.mjs +5 -0
- package/dist/treeshaking/components/config-provider/OPlusConfigProvider.vue.d.ts +24 -0
- package/dist/treeshaking/components/config-provider/OPlusConfigProvider.vue.mjs +33 -0
- package/dist/treeshaking/components/config-provider/OPlusConfigProvider.vue2.mjs +4 -0
- package/dist/treeshaking/components/config-provider/index.d.ts +30 -0
- package/dist/treeshaking/components/config-provider/index.mjs +9 -0
- package/dist/treeshaking/components/cookie-notice/OCookieNotice.css +35 -0
- package/dist/treeshaking/components/cookie-notice/OCookieNotice.vue.d.ts +17 -0
- package/dist/treeshaking/components/cookie-notice/OCookieNotice.vue.mjs +8 -0
- package/dist/treeshaking/components/cookie-notice/OCookieNotice.vue2.mjs +367 -0
- package/dist/treeshaking/components/cookie-notice/OCookieNotice2.css +309 -0
- package/dist/treeshaking/components/cookie-notice/index.d.ts +53 -0
- package/dist/treeshaking/components/cookie-notice/index.mjs +9 -0
- package/dist/treeshaking/components/element-plus/OElCookieNotice.css +306 -0
- package/dist/treeshaking/components/element-plus/OElCookieNotice.vue.d.ts +34 -0
- package/dist/treeshaking/components/element-plus/OElCookieNotice.vue.mjs +8 -0
- package/dist/treeshaking/components/element-plus/OElCookieNotice.vue2.mjs +384 -0
- package/dist/treeshaking/components/element-plus/OElCookieNotice2.css +691 -0
- package/dist/treeshaking/components/element-plus/index.d.ts +2 -0
- package/dist/treeshaking/components/empty/404.png.mjs +4 -0
- package/dist/treeshaking/components/empty/404_dark.png.mjs +4 -0
- package/dist/treeshaking/components/empty/OEmpty.css +60 -0
- package/dist/treeshaking/components/empty/OEmpty.vue.d.ts +24 -0
- package/dist/treeshaking/components/empty/OEmpty.vue.mjs +7 -0
- package/dist/treeshaking/components/empty/OEmpty.vue2.mjs +40 -0
- package/dist/treeshaking/components/empty/index.d.ts +39 -0
- package/dist/treeshaking/components/empty/index.mjs +9 -0
- package/dist/treeshaking/components/events/OEventsApply.css +583 -0
- package/dist/treeshaking/components/events/OEventsApply.vue.d.ts +16 -0
- package/dist/treeshaking/components/events/OEventsApply.vue.mjs +98 -0
- package/dist/treeshaking/components/events/OEventsApply.vue3.mjs +5 -0
- package/dist/treeshaking/components/events/OEventsCalendar.css +524 -0
- package/dist/treeshaking/components/events/OEventsCalendar.vue.d.ts +5 -0
- package/dist/treeshaking/components/events/OEventsCalendar.vue.mjs +289 -0
- package/dist/treeshaking/components/events/OEventsCalendar.vue3.mjs +5 -0
- package/dist/treeshaking/components/events/OEventsList.css +492 -0
- package/dist/treeshaking/components/events/OEventsList.vue.d.ts +28 -0
- package/dist/treeshaking/components/events/OEventsList.vue.mjs +237 -0
- package/dist/treeshaking/components/events/OEventsList.vue3.mjs +5 -0
- package/dist/treeshaking/components/events/config.d.ts +14 -0
- package/dist/treeshaking/components/events/config.mjs +37 -0
- package/dist/treeshaking/components/events/index.d.ts +80 -0
- package/dist/treeshaking/components/events/index.mjs +26 -0
- package/dist/treeshaking/components/events/types.d.ts +73 -0
- package/dist/treeshaking/components/events/types.mjs +9 -0
- package/dist/treeshaking/components/events/utils.d.ts +7 -0
- package/dist/treeshaking/components/events/utils.mjs +6 -0
- package/dist/treeshaking/components/feedback-doc/OFeedbackDoc.css +23 -0
- package/dist/treeshaking/components/feedback-doc/OFeedbackDoc.vue.d.ts +216 -0
- package/dist/treeshaking/components/feedback-doc/OFeedbackDoc.vue.mjs +7 -0
- package/dist/treeshaking/components/feedback-doc/OFeedbackDoc.vue2.mjs +159 -0
- package/dist/treeshaking/components/feedback-doc/OFeedbackDocContent.css +143 -0
- package/dist/treeshaking/components/feedback-doc/OFeedbackDocContent.vue.d.ts +36 -0
- package/dist/treeshaking/components/feedback-doc/OFeedbackDocContent.vue.mjs +7 -0
- package/dist/treeshaking/components/feedback-doc/OFeedbackDocContent.vue2.mjs +304 -0
- package/dist/treeshaking/components/feedback-doc/OFeedbackDocDialog.vue.d.ts +34 -0
- package/dist/treeshaking/components/feedback-doc/OFeedbackDocDialog.vue.mjs +92 -0
- package/dist/treeshaking/components/feedback-doc/OFeedbackDocDialog.vue2.mjs +4 -0
- package/dist/treeshaking/components/feedback-doc/OFeedbackDocPopup.css +11 -0
- package/dist/treeshaking/components/feedback-doc/OFeedbackDocPopup.vue.d.ts +44 -0
- package/dist/treeshaking/components/feedback-doc/OFeedbackDocPopup.vue.mjs +7 -0
- package/dist/treeshaking/components/feedback-doc/OFeedbackDocPopup.vue2.mjs +91 -0
- package/dist/treeshaking/components/feedback-doc/index.d.ts +497 -0
- package/dist/treeshaking/components/feedback-doc/index.mjs +30 -0
- package/dist/treeshaking/components/footer/OFooter.css +617 -0
- package/dist/treeshaking/components/footer/OFooter.vue.d.ts +46 -0
- package/dist/treeshaking/components/footer/OFooter.vue.mjs +7 -0
- package/dist/treeshaking/components/footer/OFooter.vue2.mjs +348 -0
- package/dist/treeshaking/components/footer/index.d.ts +89 -0
- package/dist/treeshaking/components/footer/index.mjs +9 -0
- package/dist/treeshaking/components/header/OHeader.css +91 -0
- package/dist/treeshaking/components/header/OHeader.vue.d.ts +40 -0
- package/dist/treeshaking/components/header/OHeader.vue.mjs +7 -0
- package/dist/treeshaking/components/header/OHeader.vue2.mjs +240 -0
- package/dist/treeshaking/components/header/OHeaderMobile.css +106 -0
- package/dist/treeshaking/components/header/OHeaderMobile.vue.d.ts +177 -0
- package/dist/treeshaking/components/header/OHeaderMobile.vue.mjs +7 -0
- package/dist/treeshaking/components/header/OHeaderMobile.vue2.mjs +145 -0
- package/dist/treeshaking/components/header/components/HeaderContent.css +886 -0
- package/dist/treeshaking/components/header/components/HeaderContent.vue.d.ts +13 -0
- package/dist/treeshaking/components/header/components/HeaderContent.vue.mjs +7 -0
- package/dist/treeshaking/components/header/components/HeaderContent.vue2.mjs +367 -0
- package/dist/treeshaking/components/header/components/HeaderFlatten.css +302 -0
- package/dist/treeshaking/components/header/components/HeaderFlatten.vue.d.ts +19 -0
- package/dist/treeshaking/components/header/components/HeaderFlatten.vue.mjs +7 -0
- package/dist/treeshaking/components/header/components/HeaderFlatten.vue2.mjs +287 -0
- package/dist/treeshaking/components/header/components/HeaderNav.css +244 -0
- package/dist/treeshaking/components/header/components/HeaderNav.vue.d.ts +22 -0
- package/dist/treeshaking/components/header/components/HeaderNav.vue.mjs +7 -0
- package/dist/treeshaking/components/header/components/HeaderNav.vue2.mjs +214 -0
- package/dist/treeshaking/components/header/components/HeaderNavMobile.css +434 -0
- package/dist/treeshaking/components/header/components/HeaderNavMobile.vue.d.ts +34 -0
- package/dist/treeshaking/components/header/components/HeaderNavMobile.vue.mjs +7 -0
- package/dist/treeshaking/components/header/components/HeaderNavMobile.vue2.mjs +244 -0
- package/dist/treeshaking/components/header/index.d.ts +170 -0
- package/dist/treeshaking/components/header/index.mjs +16 -0
- package/dist/treeshaking/components/header/types.d.ts +95 -0
- package/dist/treeshaking/components/header/types.mjs +9 -0
- package/dist/treeshaking/components/header-language-switcher/OHeaderLanguageSwitcher.css +124 -0
- package/dist/treeshaking/components/header-language-switcher/OHeaderLanguageSwitcher.vue.d.ts +67 -0
- package/dist/treeshaking/components/header-language-switcher/OHeaderLanguageSwitcher.vue.mjs +8 -0
- package/dist/treeshaking/components/header-language-switcher/OHeaderLanguageSwitcher.vue2.mjs +129 -0
- package/dist/treeshaking/components/header-language-switcher/OHeaderLanguageSwitcher2.css +11 -0
- package/dist/treeshaking/components/header-language-switcher/index.d.ts +120 -0
- package/dist/treeshaking/components/header-language-switcher/index.mjs +9 -0
- package/dist/treeshaking/components/header-search/OHeaderSearch.css +226 -0
- package/dist/treeshaking/components/header-search/OHeaderSearch.vue.d.ts +1039 -0
- package/dist/treeshaking/components/header-search/OHeaderSearch.vue.mjs +7 -0
- package/dist/treeshaking/components/header-search/OHeaderSearch.vue2.mjs +434 -0
- package/dist/treeshaking/components/header-search/index.d.ts +612 -0
- package/dist/treeshaking/components/header-search/index.mjs +9 -0
- package/dist/treeshaking/components/header-source-code/OHeaderSourceCode.css +157 -0
- package/dist/treeshaking/components/header-source-code/OHeaderSourceCode.vue.d.ts +20 -0
- package/dist/treeshaking/components/header-source-code/OHeaderSourceCode.vue.mjs +7 -0
- package/dist/treeshaking/components/header-source-code/OHeaderSourceCode.vue2.mjs +89 -0
- package/dist/treeshaking/components/header-source-code/index.d.ts +26 -0
- package/dist/treeshaking/components/header-source-code/index.mjs +9 -0
- package/dist/treeshaking/components/header-theme/OHeaderTheme.css +48 -0
- package/dist/treeshaking/components/header-theme/OHeaderTheme.vue.d.ts +25 -0
- package/dist/treeshaking/components/header-theme/OHeaderTheme.vue.mjs +7 -0
- package/dist/treeshaking/components/header-theme/OHeaderTheme.vue2.mjs +86 -0
- package/dist/treeshaking/components/header-theme/index.d.ts +50 -0
- package/dist/treeshaking/components/header-theme/index.mjs +9 -0
- package/dist/treeshaking/components/header-user/OHeaderUser.css +207 -0
- package/dist/treeshaking/components/header-user/OHeaderUser.vue.d.ts +39 -0
- package/dist/treeshaking/components/header-user/OHeaderUser.vue.mjs +8 -0
- package/dist/treeshaking/components/header-user/OHeaderUser.vue2.mjs +136 -0
- package/dist/treeshaking/components/header-user/OHeaderUser2.css +31 -0
- package/dist/treeshaking/components/header-user/index.d.ts +44 -0
- package/dist/treeshaking/components/header-user/index.mjs +9 -0
- package/dist/treeshaking/components/icon/index.d.ts +9 -0
- package/dist/treeshaking/components/icon/index.mjs +12 -0
- package/dist/treeshaking/components/meeting/OMeetingCalendar.css +1103 -0
- package/dist/treeshaking/components/meeting/OMeetingCalendar.vue.d.ts +305 -0
- package/dist/treeshaking/components/meeting/OMeetingCalendar.vue.mjs +589 -0
- package/dist/treeshaking/components/meeting/OMeetingCalendar.vue3.mjs +5 -0
- package/dist/treeshaking/components/meeting/OMeetingForm.css +767 -0
- package/dist/treeshaking/components/meeting/OMeetingForm.vue.d.ts +143 -0
- package/dist/treeshaking/components/meeting/OMeetingForm.vue.mjs +1076 -0
- package/dist/treeshaking/components/meeting/OMeetingForm.vue4.mjs +6 -0
- package/dist/treeshaking/components/meeting/OMeetingForm2.css +361 -0
- package/dist/treeshaking/components/meeting/OMeetingMyCalendar.css +1334 -0
- package/dist/treeshaking/components/meeting/OMeetingMyCalendar.vue.d.ts +644 -0
- package/dist/treeshaking/components/meeting/OMeetingMyCalendar.vue.mjs +916 -0
- package/dist/treeshaking/components/meeting/OMeetingMyCalendar.vue4.mjs +6 -0
- package/dist/treeshaking/components/meeting/OMeetingMyCalendar2.css +333 -0
- package/dist/treeshaking/components/meeting/OMeetingPlayback.css +360 -0
- package/dist/treeshaking/components/meeting/OMeetingPlayback.vue.d.ts +96 -0
- package/dist/treeshaking/components/meeting/OMeetingPlayback.vue.mjs +398 -0
- package/dist/treeshaking/components/meeting/OMeetingPlayback.vue3.mjs +5 -0
- package/dist/treeshaking/components/meeting/OMeetingSigCalendar.css +230 -0
- package/dist/treeshaking/components/meeting/OMeetingSigCalendar.vue.d.ts +32 -0
- package/dist/treeshaking/components/meeting/OMeetingSigCalendar.vue.mjs +379 -0
- package/dist/treeshaking/components/meeting/OMeetingSigCalendar.vue3.mjs +5 -0
- package/dist/treeshaking/components/meeting/components/OMeetingCalendarList.css +449 -0
- package/dist/treeshaking/components/meeting/components/OMeetingCalendarList.vue.d.ts +30 -0
- package/dist/treeshaking/components/meeting/components/OMeetingCalendarList.vue.mjs +415 -0
- package/dist/treeshaking/components/meeting/components/OMeetingCalendarList.vue3.mjs +5 -0
- package/dist/treeshaking/components/meeting/components/OMeetingCalendarSelector.css +382 -0
- package/dist/treeshaking/components/meeting/components/OMeetingCalendarSelector.vue.d.ts +664 -0
- package/dist/treeshaking/components/meeting/components/OMeetingCalendarSelector.vue.mjs +132 -0
- package/dist/treeshaking/components/meeting/components/OMeetingCalendarSelector.vue4.mjs +6 -0
- package/dist/treeshaking/components/meeting/components/OMeetingCalendarSelector2.css +346 -0
- package/dist/treeshaking/components/meeting/components/OMeetingDetail.css +149 -0
- package/dist/treeshaking/components/meeting/components/OMeetingDetail.vue.d.ts +13 -0
- package/dist/treeshaking/components/meeting/components/OMeetingDetail.vue.mjs +194 -0
- package/dist/treeshaking/components/meeting/components/OMeetingDetail.vue3.mjs +5 -0
- package/dist/treeshaking/components/meeting/components/OMeetingPlaybackSubtitles.css +743 -0
- package/dist/treeshaking/components/meeting/components/OMeetingPlaybackSubtitles.vue.d.ts +20 -0
- package/dist/treeshaking/components/meeting/components/OMeetingPlaybackSubtitles.vue.mjs +426 -0
- package/dist/treeshaking/components/meeting/components/OMeetingPlaybackSubtitles.vue4.mjs +6 -0
- package/dist/treeshaking/components/meeting/components/OMeetingPlaybackSubtitles2.css +347 -0
- package/dist/treeshaking/components/meeting/components/OMeetingPlaybackVideo.css +438 -0
- package/dist/treeshaking/components/meeting/components/OMeetingPlaybackVideo.vue.d.ts +17 -0
- package/dist/treeshaking/components/meeting/components/OMeetingPlaybackVideo.vue.mjs +244 -0
- package/dist/treeshaking/components/meeting/components/OMeetingPlaybackVideo.vue3.mjs +5 -0
- package/dist/treeshaking/components/meeting/components/OMeetingSigAside.css +176 -0
- package/dist/treeshaking/components/meeting/components/OMeetingSigAside.vue.d.ts +190 -0
- package/dist/treeshaking/components/meeting/components/OMeetingSigAside.vue.mjs +152 -0
- package/dist/treeshaking/components/meeting/components/OMeetingSigAside.vue3.mjs +5 -0
- package/dist/treeshaking/components/meeting/composables/useMeetingConfig.d.ts +14 -0
- package/dist/treeshaking/components/meeting/composables/useMeetingConfig.mjs +97 -0
- package/dist/treeshaking/components/meeting/config.d.ts +12 -0
- package/dist/treeshaking/components/meeting/config.mjs +19 -0
- package/dist/treeshaking/components/meeting/index.d.ts +861 -0
- package/dist/treeshaking/components/meeting/index.mjs +44 -0
- package/dist/treeshaking/components/meeting/types.d.ts +243 -0
- package/dist/treeshaking/components/meeting/types.mjs +17 -0
- package/dist/treeshaking/components/meeting/utils.d.ts +9 -0
- package/dist/treeshaking/components/meeting/utils.mjs +68 -0
- package/dist/treeshaking/components/search/OSearchInput.css +155 -0
- package/dist/treeshaking/components/search/OSearchInput.vue.d.ts +1029 -0
- package/dist/treeshaking/components/search/OSearchInput.vue.mjs +7 -0
- package/dist/treeshaking/components/search/OSearchInput.vue2.mjs +382 -0
- package/dist/treeshaking/components/search/composables/useImageSearch.d.ts +48 -0
- package/dist/treeshaking/components/search/composables/useImageSearch.mjs +134 -0
- package/dist/treeshaking/components/search/composables/useKeywordHighlight.d.ts +2 -0
- package/dist/treeshaking/components/search/composables/useKeywordHighlight.mjs +28 -0
- package/dist/treeshaking/components/search/composables/useSearchHistory.d.ts +14 -0
- package/dist/treeshaking/components/search/composables/useSearchHistory.mjs +58 -0
- package/dist/treeshaking/components/search/index.d.ts +602 -0
- package/dist/treeshaking/components/search/index.mjs +9 -0
- package/dist/treeshaking/components/search/internal/HighlightText.css +12 -0
- package/dist/treeshaking/components/search/internal/HighlightText.vue.d.ts +9 -0
- package/dist/treeshaking/components/search/internal/HighlightText.vue.mjs +7 -0
- package/dist/treeshaking/components/search/internal/HighlightText.vue2.mjs +33 -0
- package/dist/treeshaking/components/search/internal/SearchImageInput.css +242 -0
- package/dist/{components/OHeaderSearch.vue.d.ts → treeshaking/components/search/internal/SearchImageInput.vue.d.ts} +214 -166
- package/dist/treeshaking/components/search/internal/SearchImageInput.vue.mjs +8 -0
- package/dist/treeshaking/components/search/internal/SearchImageInput.vue2.mjs +305 -0
- package/dist/treeshaking/components/search/internal/SearchImageInput2.css +38 -0
- package/dist/treeshaking/components/search/internal/SearchPanel.css +653 -0
- package/dist/treeshaking/components/search/internal/SearchPanel.vue.d.ts +100 -0
- package/dist/treeshaking/components/search/internal/SearchPanel.vue.mjs +7 -0
- package/dist/treeshaking/components/search/internal/SearchPanel.vue2.mjs +255 -0
- package/dist/treeshaking/components/search/types.d.ts +20 -0
- package/dist/treeshaking/components/section/OSection.css +173 -0
- package/dist/{components → treeshaking/components/section}/OSection.vue.d.ts +4 -4
- package/dist/treeshaking/components/section/OSection.vue.mjs +7 -0
- package/dist/treeshaking/components/section/OSection.vue2.mjs +93 -0
- package/dist/treeshaking/components/section/index.d.ts +47 -0
- package/dist/treeshaking/components/section/index.mjs +9 -0
- package/dist/treeshaking/components/sig/OSigDetail.css +176 -0
- package/dist/treeshaking/components/sig/OSigDetail.vue.d.ts +30 -0
- package/dist/treeshaking/components/sig/OSigDetail.vue.mjs +218 -0
- package/dist/treeshaking/components/sig/OSigDetail.vue3.mjs +5 -0
- package/dist/treeshaking/components/sig/OSigList.css +523 -0
- package/dist/treeshaking/components/sig/OSigList.vue.d.ts +12 -0
- package/dist/treeshaking/components/sig/OSigList.vue.mjs +595 -0
- package/dist/treeshaking/components/sig/OSigList.vue3.mjs +5 -0
- package/dist/treeshaking/components/sig/components/OSigDetailInfoCard.css +126 -0
- package/dist/treeshaking/components/sig/components/OSigDetailInfoCard.vue.d.ts +13 -0
- package/dist/treeshaking/components/sig/components/OSigDetailInfoCard.vue.mjs +61 -0
- package/dist/treeshaking/components/sig/components/OSigDetailInfoCard.vue3.mjs +5 -0
- package/dist/treeshaking/components/sig/components/OSigItem.css +375 -0
- package/dist/treeshaking/components/sig/components/OSigItem.vue.d.ts +14 -0
- package/dist/treeshaking/components/sig/components/OSigItem.vue.mjs +229 -0
- package/dist/treeshaking/components/sig/components/OSigItem.vue3.mjs +5 -0
- package/dist/treeshaking/components/sig/components/OSigMember.css +374 -0
- package/dist/treeshaking/components/sig/components/OSigMember.vue.d.ts +10 -0
- package/dist/treeshaking/components/sig/components/OSigMember.vue.mjs +274 -0
- package/dist/treeshaking/components/sig/components/OSigMember.vue3.mjs +5 -0
- package/dist/treeshaking/components/sig/components/OSigRepo.css +108 -0
- package/dist/treeshaking/components/sig/components/OSigRepo.vue.d.ts +8 -0
- package/dist/treeshaking/components/sig/components/OSigRepo.vue.mjs +181 -0
- package/dist/treeshaking/components/sig/components/OSigRepo.vue3.mjs +5 -0
- package/dist/treeshaking/components/sig/components/OSigUserContribute.css +510 -0
- package/dist/treeshaking/components/sig/components/OSigUserContribute.vue.d.ts +10 -0
- package/dist/treeshaking/components/sig/components/OSigUserContribute.vue.mjs +329 -0
- package/dist/treeshaking/components/sig/components/OSigUserContribute.vue3.mjs +5 -0
- package/dist/treeshaking/components/sig/components/config-sig.d.ts +1 -0
- package/dist/treeshaking/components/sig/components/config-sig.mjs +4 -0
- package/dist/treeshaking/components/sig/components/utils.d.ts +6 -0
- package/dist/treeshaking/components/sig/components/utils.mjs +10 -0
- package/dist/treeshaking/components/sig/index.mjs +18 -0
- package/dist/treeshaking/components/sig/types.d.ts +169 -0
- package/dist/treeshaking/i18n/en.mjs +368 -0
- package/dist/treeshaking/i18n/index.mjs +49 -0
- package/dist/treeshaking/i18n/zh.mjs +371 -0
- package/dist/treeshaking/index.d.ts +20 -0
- package/dist/treeshaking/index.mjs +63 -0
- package/dist/treeshaking/shared/provide.mjs +4 -0
- package/dist/treeshaking/shared/theme.mjs +13 -0
- package/package.json +26 -11
- package/dist/chunk-index.cjs.js +0 -1
- package/dist/chunk-index.es.js +0 -64
- package/dist/components/OBanner.vue.d.ts +0 -2
- package/dist/components/OCookieNotice.vue.d.ts +0 -16
- package/dist/components/OPlusConfigProvider.vue.d.ts +0 -23
- package/dist/components/OThemeSwitcher.vue.d.ts +0 -28
- package/docs/design.md +0 -27
- package/docs/design_banner.md +0 -41
- package/docs/design_section.md +0 -27
- package/scripts/generate-components-index.js +0 -81
- package/src/assets/svg-icons/icon-chevron-right.svg +0 -3
- package/src/assets/svg-icons/icon-close.svg +0 -3
- package/src/assets/svg-icons/icon-delete.svg +0 -3
- package/src/assets/svg-icons/icon-header-back.svg +0 -3
- package/src/assets/svg-icons/icon-header-delete.svg +0 -3
- package/src/assets/svg-icons/icon-header-search.svg +0 -4
- package/src/assets/svg-icons/icon-moon.svg +0 -3
- package/src/assets/svg-icons/icon-sun.svg +0 -3
- package/src/components/OBanner.vue +0 -390
- package/src/components/OCookieNotice.vue +0 -423
- package/src/components/OHeaderSearch.vue +0 -601
- package/src/components/OPlusConfigProvider.vue +0 -32
- package/src/components/OSection.vue +0 -178
- package/src/components/OThemeSwitcher.vue +0 -108
- package/src/components/common/ClientOnlyWrapper.ts +0 -21
- package/src/components/common/ContentWrapper.vue +0 -85
- package/src/components/element-plus/OElCookieNotice.vue +0 -412
- package/src/components/element-plus/index.ts +0 -3
- package/src/draft/Banner.vue +0 -265
- package/src/draft/ButtonCards.vue +0 -106
- package/src/draft/Feature.vue +0 -134
- package/src/draft/Footer.vue +0 -512
- package/src/draft/HorizontalAnchor.vue +0 -165
- package/src/draft/ItemSwiper.vue +0 -133
- package/src/draft/Logo.vue +0 -141
- package/src/draft/LogoCard.vue +0 -75
- package/src/draft/LogoV2.vue +0 -19
- package/src/draft/MainCard.vue +0 -38
- package/src/draft/MultiCard.vue +0 -95
- package/src/draft/MultiIconCard.vue +0 -74
- package/src/draft/OInfoCard.vue +0 -176
- package/src/draft/Process.vue +0 -81
- package/src/draft/Section.vue +0 -167
- package/src/draft/SingleTabCard.vue +0 -85
- package/src/draft/SliderCard.vue +0 -110
- package/src/env.d.ts +0 -1
- package/src/i18n/en.ts +0 -20
- package/src/i18n/index.ts +0 -42
- package/src/i18n/zh.ts +0 -9
- package/src/index.ts +0 -32
- package/src/shared/provide.ts +0 -6
- package/src/vue.d.ts +0 -10
- package/tsconfig.json +0 -33
- package/vite.config.ts +0 -101
package/dist/components.cjs.js
CHANGED
|
@@ -1 +1,225 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),s=require("@opensig/opendesign"),b=require("@opendesign-plus/composables"),C=require("./chunk-index.cjs.js"),P=require("@vueuse/core"),W=e.defineComponent({__name:"ContentWrapper",props:{verticalPadding:{type:[Boolean,String,Array],default:void 0}},setup(t){const o=Symbol("default"),n=t,d=e.computed(()=>n.verticalPadding?s.isBoolean(n.verticalPadding)?o:s.isString(n.verticalPadding)?n.verticalPadding:n.verticalPadding[0]:0),c=e.computed(()=>n.verticalPadding?s.isBoolean(n.verticalPadding)?o:s.isString(n.verticalPadding)?n.verticalPadding:s.isUndefined(n.verticalPadding[1])?n.verticalPadding[0]:n.verticalPadding[1]:0);return(u,h)=>(e.openBlock(),e.createElementBlock("div",{class:"content-wrapper",style:e.normalizeStyle({"--content-wrapper-vertical-paddingTop":d.value===e.unref(o)?void 0:d.value,"--content-wrapper-vertical-paddingBottom":c.value===e.unref(o)?void 0:c.value})},[e.renderSlot(u.$slots,"default",{},void 0,!0)],4))}}),D=C._export_sfc(W,[["__scopeId","data-v-a0f91aed"]]),j={key:0},q={class:"banner-content"},Y=["src"],Z={key:1,class:"banner-title"},Q={key:2,class:"banner-subtitle"},X={key:4,class:"banner-opts"},ee=e.defineComponent({__name:"OBanner",props:{options:void 0,size:"large",contentJustifyCenter:!1},setup(t){const o=t,{isLight:n}=b.useTheme("opendesignplus",document.domain||"localhost"),{isPhone:d}=b.useScreen(),c=e.computed(()=>o.options),u=e.ref(""),h=r=>{setTimeout(()=>{u.value=c.value[r].bg_theme??"light"},100)},i=(r,k)=>{r&&!k&&window.open(r)};return(r,k)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["home-banner",t.size])},[t.size==="tiny"?(e.openBlock(),e.createElementBlock("div",j,e.toDisplayString(c.value[1].title),1)):e.unref(d)?(e.openBlock(),e.createBlock(e.unref(s.OCarousel),{key:2,class:"banner-carousel",effect:"gallery","indicator-click":"","data-o-theme":u.value,arrow:"never","auto-play":!0,onBeforeChange:h},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(c.value,(l,f)=>(e.openBlock(),e.createBlock(e.unref(s.OCarouselItem),{class:e.normalizeClass(["banner-item",`banner-item${f}`])},{default:e.withCtx(()=>[e.createVNode(D,{class:"banner-wrapper"},{default:e.withCtx(()=>[e.createVNode(e.unref(s.OFigure),{class:"banner-bg",src:l.bg,onClick:g=>i(l.href)},null,8,["src","onClick"])]),_:2},1024)]),_:2},1032,["class"]))),256))]),_:1},8,["data-o-theme"])):(e.openBlock(),e.createBlock(e.unref(s.OCarousel),{key:1,class:"banner-carousel",effect:"toggle","active-class":"current-slide","indicator-click":"","auto-play":!0,"data-o-theme":u.value,onBeforeChange:h},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(c.value,(l,f)=>(e.openBlock(),e.createBlock(e.unref(s.OCarouselItem),{key:f,class:e.normalizeClass(["banner-item",`banner-item${f}`])},{default:e.withCtx(()=>[e.createVNode(e.unref(s.OFigure),{class:e.normalizeClass(["banner-bg",{"with-sticky-bg":l.withStickyBg,"in-dark":!e.unref(n),"cursor-pointer":l.href&&!l.btn}]),src:l.bg,style:e.normalizeStyle({"--pad-offset":l.pad_offset}),onClick:g=>i(l.href,l.btn)},{default:e.withCtx(()=>[e.createVNode(D,{class:e.normalizeClass(["banner-wrapper",["banner-wrapper",t.contentJustifyCenter?"content-center":""]])},{default:e.withCtx(()=>[e.createElementVNode("div",q,[!e.unref(d)&&l.attach?(e.openBlock(),e.createElementBlock("img",{key:0,src:l.attach,class:"banner-attach"},null,8,Y)):e.createCommentVNode("",!0),l.title?(e.openBlock(),e.createElementBlock("div",Z,e.toDisplayString(l.title),1)):e.createCommentVNode("",!0),l.subtitle?(e.openBlock(),e.createElementBlock("div",Q,e.toDisplayString(l.subtitle),1)):e.createCommentVNode("",!0),l.bg_text?(e.openBlock(),e.createElementBlock("div",{key:3,class:"banner-text",style:e.normalizeStyle({backgroundImage:`url(${l.bg_text})`,"--pc-width":l.pc_text_width,"--pc-height":l.pc_text_height,"--pad-width":l.pad_text_width,"--pad-height":l.pad_text_height})},null,4)):e.createCommentVNode("",!0),l.btn?(e.openBlock(),e.createElementBlock("div",X,[e.createVNode(e.unref(s.OButton),{href:l.href,target:"_blank",variant:"solid",color:"primary",size:t.size},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(l.btn),1)]),_:2},1032,["href","size"])])):e.createCommentVNode("",!0)])]),_:2},1032,["class"])]),_:2},1032,["src","class","style","onClick"])]),_:2},1032,["class"]))),128))]),_:1},8,["data-o-theme"]))],2))}}),T=C._export_sfc(ee,[["__scopeId","data-v-38a33983"]]),te={key:0,class:"cookie-notice"},oe={class:"cookie-notice-content"},ne=["type"],le={class:"cookie-notice-left"},re={key:0,class:"cookie-desc",style:{"margin-top":"0"}},ae=["href"],ce={class:"cookie-title"},se={class:"cookie-desc"},ie=["href"],de={key:0,class:"cookie-notice-right"},ue={class:"cookie-dlg-title"},he={class:"cookie-dlg-content"},me={class:"content-item"},pe={class:"item-header"},fe={class:"item-title"},ve={class:"item-extra"},ke={class:"item-detail"},ge={class:"content-item"},ye={class:"item-header"},Ce={class:"item-title"},Be={class:"item-extra"},we={class:"item-detail"},_e="0",z="1",Ve="2",$="3",Ne="agreed-cookiepolicy-zh",Ee="agreed-cookiepolicy-en",Se=e.defineComponent({__name:"OCookieNotice",props:{visible:{type:Boolean},enableGrid:{type:Boolean},community:{},detailUrl:{},wrapper:{},cookieDomain:{}},emits:["update:visible"],setup(t,{expose:o,emit:n}){const d=t,c=n,{lePadV:u,leLaptop:h}=b.useScreen(),{locale:i,t:r}=C.useI18n(),k=e.computed(()=>i.value==="zh"),l=e.computed(()=>k.value?Ne:Ee),f=e.ref(!1),g=P.useVModel(d,"visible",c,{defaultValue:!1}),w=v=>{const p=document.cookie.split(";").find(B=>B.split("=")[0].trim()===encodeURIComponent(v));return p?decodeURIComponent(p.split("=")[1]):null},S=(v,p,B,G)=>{const J=`; max-age=${B*24*60*60}`;document.cookie=`${encodeURIComponent(v)}=${encodeURIComponent(p)}${J}; path=/; domain=${G}`},x=(v,p)=>{document.cookie=`${encodeURIComponent(v)}=; expires=Thu, 01 Jan 1970 00:00:00 GMT; path=/; domain=${p}`},y=v=>{typeof v=="boolean"?g.value=v:g.value=!g.value,e.nextTick(()=>{!g.value&&k.value&&w(l.value)!==$&&S(l.value,$,180,d.cookieDomain??location.hostname)})},_=e.ref(!1),N=v=>{typeof v=="boolean"?_.value=v:_.value=!_.value},a=()=>k.value?w(l.value)!==$:(w(l.value)??"0")===_e,V=()=>k.value?w(l.value)===$:w(l.value)===z;e.onMounted(()=>{a()&&y(!0)}),e.watch(i,()=>{y(a())});const m=()=>{f.value=!0,x(l.value,d.cookieDomain??location.hostname),S(l.value,z,180,d.cookieDomain??location.hostname),y(!1)},E=()=>{f.value=!1,x(l.value,d.cookieDomain??location.hostname),S(l.value,Ve,180,d.cookieDomain??location.hostname),y(!1)},R=e.computed(()=>[{id:"save",color:"primary",label:r("cookie.saveSetting"),variant:"outline",size:"large",round:"pill",onClick:()=>{f.value?m():E(),N(!1)}},{id:"allowAll",color:"primary",label:r("cookie.acceptAll"),variant:"outline",size:"large",round:"pill",onClick:()=>{f.value=!0,m(),N(!1)}}]),F=v=>{v&&(f.value=V())};return o({check(){V()===g.value&&y()}}),(v,p)=>(e.openBlock(),e.createBlock(e.unref(C.ClientOnly),null,{default:e.withCtx(()=>[(e.openBlock(),e.createBlock(e.Teleport,{to:t.wrapper||"#app"},[e.unref(g)?(e.openBlock(),e.createElementBlock("div",te,[e.createElementVNode("div",oe,[e.createElementVNode("div",{type:e.unref(i),class:e.normalizeClass({"cookie-notice-wrap-grid":t.enableGrid,"cookie-notice-wrap":!t.enableGrid})},[e.createElementVNode("div",le,[k.value?(e.openBlock(),e.createElementBlock("p",re,[e.createTextVNode(e.toDisplayString(e.unref(r)("cookie.desc"))+" ",1),e.createElementVNode("a",{href:t.detailUrl,target:"_blank",rel:"noopener noreferrer"},e.toDisplayString(e.unref(r)("cookie.about")),9,ae)])):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createElementVNode("p",ce,e.toDisplayString(e.unref(r)("cookie.title",[t.community])),1),e.createElementVNode("p",se,[e.createTextVNode(e.toDisplayString(e.unref(r)("cookie.desc"))+" ",1),e.createElementVNode("a",{href:t.detailUrl,target:"_blank",rel:"noopener noreferrer"},e.toDisplayString(e.unref(r)("cookie.about")),9,ie),p[4]||(p[4]=e.createTextVNode(". ",-1))])],64))]),k.value?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",de,[e.createVNode(e.unref(s.OButton),{round:"pill",variant:"outline",color:"primary",onClick:m},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(r)("cookie.acceptAll")),1)]),_:1}),e.createVNode(e.unref(s.OButton),{round:"pill",variant:"outline",color:"primary",onClick:E},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(r)("cookie.rejectAll")),1)]),_:1}),e.createVNode(e.unref(s.OButton),{round:"pill",variant:"outline",color:"primary",onClick:p[0]||(p[0]=B=>N(!0))},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(r)("cookie.manage")),1)]),_:1})])),e.createVNode(e.unref(s.OIcon),{class:"cookie-notice-close",type:e.unref(i),onClick:p[1]||(p[1]=B=>y(!1))},{default:e.withCtx(()=>[e.createVNode(e.unref(s.OIconClose))]),_:1},8,["type"])],10,ne)]),e.createVNode(e.unref(s.ODialog),{visible:_.value,"onUpdate:visible":p[3]||(p[3]=B=>_.value=B),size:e.unref(h)?"medium":"large","phone-half-full":e.unref(u),class:"cookie-dlg",actions:R.value,onChange:F},{header:e.withCtx(()=>[e.createElementVNode("span",ue,e.toDisplayString(e.unref(r)("cookie.manage")),1)]),default:e.withCtx(()=>[e.createElementVNode("div",he,[e.createElementVNode("div",me,[e.createElementVNode("div",pe,[e.createElementVNode("span",fe,e.toDisplayString(e.unref(r)("cookie.necessaryCookie")),1),e.createElementVNode("span",ve,e.toDisplayString(e.unref(r)("cookie.alwaysOn")),1)]),e.createElementVNode("div",ke,e.toDisplayString(e.unref(r)("cookie.necessaryCookieDetail")),1)]),e.createElementVNode("div",ge,[e.createElementVNode("div",ye,[e.createElementVNode("span",Ce,e.toDisplayString(e.unref(r)("cookie.analyticalCookie")),1),e.createElementVNode("span",Be,[e.createVNode(e.unref(s.OSwitch),{modelValue:f.value,"onUpdate:modelValue":p[2]||(p[2]=B=>f.value=B)},null,8,["modelValue"])])]),e.createElementVNode("div",we,e.toDisplayString(e.unref(r)("cookie.analyticalCookieDetail")),1)])])]),_:1},8,["visible","size","phone-half-full","actions"])])):e.createCommentVNode("",!0)],8,["to"]))]),_:1}))}}),A=C._export_sfc(Se,[["__scopeId","data-v-712c28fb"]]),be={version:"1.1",xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"};function xe(t,o){return e.openBlock(),e.createElementBlock("svg",be,[...o[0]||(o[0]=[e.createElementVNode("path",{fill:"currentColor",d:"M18.528 5.472c0.246 0.246 0.271 0.63 0.074 0.903l-0.074 0.087-5.54 5.538 0.006 0.006-0.989 0.989-0.006-0.006-5.538 5.54c-0.273 0.273-0.717 0.273-0.99 0-0.246-0.246-0.271-0.63-0.074-0.903l0.074-0.087 5.538-5.539-5.538-5.538-0.074-0.087c-0.197-0.274-0.172-0.657 0.074-0.903s0.63-0.271 0.903-0.074l0.087 0.074 5.538 5.539 5.539-5.539c0.273-0.273 0.717-0.273 0.99 0zM14.551 13.561l3.978 3.978 0.074 0.087c0.197 0.274 0.172 0.657-0.074 0.903s-0.63 0.271-0.903 0.074l-0.087-0.074-3.978-3.978c-0.273-0.273-0.273-0.717 0-0.99v0c0.273-0.273 0.717-0.273 0.99 0z"},null,-1)])])}const $e={name:"components-icon-close",render:xe},Ie={version:"1.1",xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32",viewBox:"0 0 32 32"};function Oe(t,o){return e.openBlock(),e.createElementBlock("svg",Ie,[...o[0]||(o[0]=[e.createElementVNode("path",{opacity:"0.8",fill:"currentColor",d:"M13.215 0.524c-7.048 0-12.762 5.714-12.762 12.762s5.714 12.762 12.762 12.762c7.048 0 12.762-5.714 12.762-12.762s-5.714-12.762-12.762-12.762zM13.215 2.809c5.786 0 10.476 4.69 10.476 10.476s-4.69 10.476-10.476 10.476c-5.786 0-10.476-4.69-10.476-10.476s4.69-10.476 10.476-10.476z"},null,-1),e.createElementVNode("path",{opacity:"0.8",fill:"currentColor",d:"M23.33 23.22c0.446-0.447 1.169-0.448 1.616-0.002l4.771 4.759c0.447 0.446 0.448 1.169 0.002 1.616s-1.169 0.448-1.616 0.002l-4.771-4.759c-0.447-0.446-0.448-1.169-0.002-1.616z"},null,-1)])])}const M={name:"components-icon-header-search",render:Oe},De={version:"1.1",xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32",viewBox:"0 0 32 32"};function ze(t,o){return e.openBlock(),e.createElementBlock("svg",De,[...o[0]||(o[0]=[e.createElementVNode("path",{fill:"currentColor",d:"M10.858 22.41c-0.349 0.349-0.915 0.349-1.263 0-0.314-0.314-0.345-0.804-0.094-1.153l0.094-0.111 5.146-5.15-5.177-5.178c-0.274-0.305-0.3-0.755-0.077-1.087l0.111-0.135c0.347-0.347 0.91-0.347 1.257 0l5.142 5.143 5.15-5.146c0.349-0.349 0.915-0.349 1.263 0 0.314 0.314 0.345 0.804 0.094 1.153l-0.094 0.111-11.552 11.552zM17.89 16.634l4.551 4.552c0.313 0.349 0.302 0.886-0.034 1.222-0.347 0.347-0.91 0.347-1.257 0l-4.516-4.518 1.256-1.256z"},null,-1)])])}const Me={name:"components-icon-header-delete",render:ze},Pe={version:"1.1",xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"};function Te(t,o){return e.openBlock(),e.createElementBlock("svg",Pe,[...o[0]||(o[0]=[e.createElementVNode("path",{fill:"currentColor",d:"M19.154 5.295c0.387 0 0.7 0.313 0.7 0.7 0 0.354-0.263 0.647-0.605 0.694l-0.095 0.006-12.201-0.001 0.001 12.413c0 0.17 0.12 0.311 0.28 0.344l0.071 0.007h9.39c0.17 0 0.311-0.12 0.344-0.28l0.007-0.071v-10.47c0-0.387 0.313-0.7 0.7-0.7 0.354 0 0.647 0.263 0.694 0.605l0.006 0.095v10.47c0 0.919-0.708 1.672-1.608 1.745l-0.144 0.006h-9.39c-0.919 0-1.672-0.708-1.745-1.608l-0.006-0.144-0.001-12.413-0.707 0.001c-0.387 0-0.7-0.313-0.7-0.7 0-0.354 0.263-0.647 0.605-0.694l0.095-0.006h14.308zM10.011 9.744c0.354 0 0.647 0.263 0.694 0.605l0.006 0.095v5.68c0 0.387-0.313 0.7-0.7 0.7-0.354 0-0.647-0.263-0.694-0.605l-0.006-0.095v-5.68c0-0.387 0.313-0.7 0.7-0.7zM13.953 9.744c0.354 0 0.647 0.263 0.694 0.605l0.006 0.095v5.68c0 0.387-0.313 0.7-0.7 0.7-0.354 0-0.647-0.263-0.694-0.605l-0.006-0.095v-5.68c0-0.387 0.313-0.7 0.7-0.7zM13.652 3.189c0.387 0 0.7 0.313 0.7 0.7 0 0.354-0.263 0.647-0.605 0.694l-0.095 0.006h-3.972c-0.387 0-0.7-0.313-0.7-0.7 0-0.354 0.263-0.647 0.605-0.694l0.095-0.006h3.972z"},null,-1)])])}const Ae={name:"components-icon-delete",render:Te},Ue={version:"1.1",xmlns:"http://www.w3.org/2000/svg",width:"36",height:"32",viewBox:"0 0 36 32"};function He(t,o){return e.openBlock(),e.createElementBlock("svg",Ue,[...o[0]||(o[0]=[e.createElementVNode("path",{fill:"currentColor",d:"M5.886 19.111l10.672 10.677c0.46 0.524 0.44 1.322-0.060 1.822s-1.298 0.52-1.822 0.060l-0.064-0.060-12.498-12.498h3.772zM14.613 0.391c0.521-0.521 1.365-0.521 1.886 0 0.5 0.5 0.52 1.298 0.060 1.822l-0.060 0.064-12.391 12.391h29.67c0.71 0 1.291 0.555 1.331 1.255l0.002 0.078c0 0.71-0.555 1.291-1.255 1.331l-0.078 0.002h-31.816c-0.472 0-0.924-0.187-1.257-0.521-0.671-0.671-0.694-1.745-0.067-2.443l0.067-0.071 13.908-13.908z"},null,-1)])])}const Ke={name:"components-icon-header-back",render:He},Le={class:"o-header-search"},Re={class:"o-header-search-drawer"},Fe={key:0,class:"o-header-search-recommend-container"},Ge=["onClick"],Je={key:1,class:"o-header-search-history-container"},We={class:"o-header-search-history-header"},je={class:"o-header-search-history-header-title"},qe={class:"o-header-search-history-item-container"},Ye=["onClick"],Ze={class:"o-header-search-history-item-text"},Qe={key:3,class:"o-header-search-hot-container"},Xe={class:"o-header-search-hot-header"},et={class:"o-header-search-hot-item-container"},tt=["onClick"],ot=e.defineComponent({__name:"OHeaderSearch",props:{modelValue:{default:""},placeholder:{},expandedPlaceholder:{},expandDirection:{default:"left"},clearable:{type:Boolean,default:!0},historyItems:{default:()=>[]},maxHistoryCount:{default:6},storeHistory:{type:Boolean,default:!1},historyTitle:{},storageKey:{default:"search-history"},hotItems:{default:()=>[]},hotTitle:{},recommendItems:{default:()=>[]},searchUrl:{},searchUrlOpenBlank:{type:Boolean,default:!0},searchTextMobile:{}},emits:["update:modelValue","update:historyItems","clear","search","delete-history","delete-history-item"],setup(t,{emit:o}){const{lePadV:n}=b.useScreen(),{t:d}=C.useI18n(),c=t,u=o,h=e.ref(c.modelValue),i=e.ref(c.historyItems),r=e.ref(!1),k=e.ref(),l=e.computed(()=>!n.value&&r.value||n.value&&h.value);e.watch(()=>c.modelValue,a=>{h.value!==a&&(h.value=a)}),e.watch(()=>h.value,a=>{u("update:modelValue",a)}),e.watch(()=>c.historyItems,a=>{i.value!==a&&(i.value=a)}),e.watch(()=>i.value,a=>{u("update:historyItems",a)}),e.onMounted(()=>{if(c.storeHistory&&c.storageKey)try{const a=JSON.parse(localStorage.getItem(c.storageKey)||"[]");Array.isArray(a)&&a.length&&(i.value=Array.from(new Set([...i.value,...a])))}catch{}});const f=()=>{r.value=!0},g=()=>{const a=h.value.trim();a&&(r.value=!1,i.value.unshift(a),i.value=Array.from(new Set(i.value)),i.value.length>c.maxHistoryCount&&i.value.pop(),c.storeHistory&&c.storeHistory&&localStorage.setItem(c.storageKey,JSON.stringify(i.value)),u("search",a),c.searchUrl&&window.open(c.searchUrl+a,c.searchUrlOpenBlank?"_blank":"_self","noopener noreferrer"))},w=()=>{h.value="",u("clear"),n.value||(r.value=!1)},S=()=>{const a=[...i.value];i.value=[],c.storeHistory&&c.storeHistory&&localStorage.removeItem(c.storageKey),u("delete-history",a)},x=a=>{i.value=i.value.filter(V=>V!==a),c.storeHistory&&c.storeHistory&&(i.value.length?localStorage.setItem(c.storageKey,JSON.stringify(i.value)):localStorage.removeItem(c.storageKey)),u("delete-history-item",a)},y=a=>{h.value=a,g()},_=()=>{h.value="",r.value=!1},N=e.ref();return P.onClickOutside(N,w),(a,V)=>(e.openBlock(),e.createElementBlock("div",Le,[e.createElementVNode("div",{ref_key:"posWrapper",ref:N,class:e.normalizeClass({"o-header-search-input-pc-wrapper":!e.unref(n),"o-header-search-input-pc-wrapper-left":!e.unref(n)&&t.expandDirection==="left","o-header-search-input-pc-wrapper-right":!e.unref(n)&&t.expandDirection==="right","o-header-search-input-mobile-wrapper":e.unref(n),focus:r.value})},[e.createElementVNode("div",{class:e.normalizeClass(["o-header-search-input-wrapper",{focus:r.value}])},[e.unref(n)&&r.value?(e.openBlock(),e.createBlock(e.unref(s.OIcon),{key:0,class:"o-header-search-icon",onClick:_},{default:e.withCtx(()=>[e.createVNode(e.unref(Ke))]),_:1})):e.createCommentVNode("",!0),e.createVNode(e.unref(s.OInput),{ref_key:"inputRef",ref:k,modelValue:h.value,"onUpdate:modelValue":V[0]||(V[0]=m=>h.value=m),class:"o-header-search-input",placeholder:r.value?t.expandedPlaceholder??e.unref(d)("search.expandedPlaceholder"):t.placeholder??e.unref(d)("search.placeholder"),onFocus:f,onKeyup:e.withKeys(g,["enter"])},{prefix:e.withCtx(()=>[e.renderSlot(a.$slots,"input-prefix",{},()=>[e.createVNode(e.unref(s.OIcon),{class:"o-header-search-icon"},{default:e.withCtx(()=>[e.createVNode(e.unref(M))]),_:1})],!0)]),suffix:e.withCtx(()=>[e.renderSlot(a.$slots,"input-suffix",{},()=>[t.clearable&&l.value?(e.openBlock(),e.createBlock(e.unref(s.OIcon),{key:0,class:"o-header-search-icon close",onClick:w},{default:e.withCtx(()=>[e.createVNode(e.unref($e))]),_:1})):e.createCommentVNode("",!0)],!0)]),_:3},8,["modelValue","placeholder"]),e.unref(n)&&r.value?(e.openBlock(),e.createElementBlock("span",{key:1,class:"o-header-search-text",onClick:g},e.toDisplayString(t.searchTextMobile??e.unref(d)("search")),1)):e.createCommentVNode("",!0)],2),e.withDirectives(e.createElementVNode("div",Re,[e.renderSlot(a.$slots,"drawer",{recommendItems:t.recommendItems,historyItems:i.value,hotItems:t.hotItems},()=>[t.recommendItems.length?(e.openBlock(),e.createElementBlock("div",Fe,[e.renderSlot(a.$slots,"recommend-header",{recommend:t.recommendItems},void 0,!0),e.renderSlot(a.$slots,"recommend-content",{recommend:t.recommendItems},()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.recommendItems,m=>(e.openBlock(),e.createElementBlock("div",{class:"o-header-search-recommend-item",key:m,onClick:E=>y(m)},e.toDisplayString(m),9,Ge))),128))],!0)])):i.value.length?(e.openBlock(),e.createElementBlock("div",Je,[e.renderSlot(a.$slots,"history-header",{history:i.value},()=>[e.createElementVNode("div",We,[e.createElementVNode("span",je,e.toDisplayString(t.historyTitle??e.unref(d)("search.history")),1),e.createVNode(e.unref(s.OIcon),{class:"o-header-search-icon",onClick:S},{default:e.withCtx(()=>[e.createVNode(e.unref(Ae))]),_:1})])],!0),e.renderSlot(a.$slots,"history-content",{history:i.value},()=>[e.createElementVNode("div",qe,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(i.value,m=>(e.openBlock(),e.createElementBlock("div",{key:m,class:"o-header-search-history-item",onClick:E=>y(m)},[e.createElementVNode("span",Ze,e.toDisplayString(m),1),e.createVNode(e.unref(s.OIcon),{class:"o-header-search-history-item-icon",onClick:e.withModifiers(E=>x(m),["stop"])},{default:e.withCtx(()=>[e.createVNode(e.unref(Me),{class:"icon-delete"})]),_:1},8,["onClick"])],8,Ye))),128))])],!0)])):e.createCommentVNode("",!0),(t.recommendItems.length||i.value.length)&&t.hotItems.length?(e.openBlock(),e.createBlock(e.unref(s.ODivider),{key:2,class:"o-header-search-drawer-divider"})):e.createCommentVNode("",!0),t.hotItems.length?(e.openBlock(),e.createElementBlock("div",Qe,[e.renderSlot(a.$slots,"hot-header",{hot:t.hotItems},()=>[e.createElementVNode("div",Xe,e.toDisplayString(t.hotTitle??e.unref(d)("search.hot")),1)],!0),e.renderSlot(a.$slots,"hot-content",{hot:t.hotItems},()=>[e.createElementVNode("div",et,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.hotItems,m=>(e.openBlock(),e.createElementBlock("div",{key:m,class:"o-header-search-hot-item",onClick:E=>y(m)},e.toDisplayString(m),9,tt))),128))])],!0)])):e.createCommentVNode("",!0)],!0)],512),[[e.vShow,r.value]])],2),e.unref(n)?(e.openBlock(),e.createBlock(e.unref(s.OIcon),{key:0,class:"o-header-search-icon-mobile",onClick:f},{default:e.withCtx(()=>[e.createVNode(e.unref(M))]),_:1})):e.createCommentVNode("",!0)]))}}),U=C._export_sfc(ot,[["__scopeId","data-v-cce80de4"]]),nt={locale:"zh-CN","common.empty":"暂无数据","common.loading":"加载中...","pagination.goto":"前往","pagination.page":"页","pagination.countPerPage":"条/页","pagination.total":"共 {0} 条","upload.buttonLabel":"点击上传","upload.drag":"点击或拖拽文件到此处上传","upload.dragHover":"释放文件并开始上传","upload.retry":"点击重试","upload.delete":"删除","upload.preview":"预览","upload.edit":"编辑","select.cancel":"取消","select.confirm":"确定","input.limit":"<b>{0}</b>/{1}"},lt={locale:"en-US","common.empty":"No Data","common.loading":"Loading...","pagination.goto":"Go to","pagination.page":"Page","pagination.countPerPage":"/page","pagination.total":"Total: {0}","upload.buttonLabel":"Upload","upload.drag":"Click or drag file to this area to upload","upload.dragHover":"Release to upload","upload.retry":"Click to retry","upload.delete":"Delete","upload.preview":"Preview","upload.edit":"Edit","select.cancel":"Cancel","select.confirm":"Ok","input.limit":"<b>{0}</b>/{1}"},H=e.defineComponent({__name:"OPlusConfigProvider",props:{locale:{},theme:{default:"light"}},setup(t){const o=t,n=e.reactive({locale:e.computed(()=>o.locale),theme:e.computed(()=>o.theme)});return e.provide(C.configProviderInjectKey,n),(d,c)=>(e.openBlock(),e.createBlock(e.unref(s.OConfigProvider),{locale:t.locale==="zh"?e.unref(nt):e.unref(lt)},{default:e.withCtx(()=>[e.renderSlot(d.$slots,"default")]),_:3},8,["locale"]))}}),rt={version:"1.1",xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"};function at(t,o){return e.openBlock(),e.createElementBlock("svg",rt,[...o[0]||(o[0]=[e.createElementVNode("path",{d:"M9.246 5.764c-0.251 0.251-0.271 0.644-0.063 0.918l0.063 0.072 5.016 5.016c0.1 0.1 0.115 0.254 0.043 0.37l-0.043 0.054-5.062 5.062c-0.273 0.273-0.273 0.717 0 0.99 0.251 0.251 0.644 0.271 0.918 0.063l0.072-0.063 5.062-5.062c0.629-0.629 0.662-1.628 0.099-2.296l-0.099-0.108-5.016-5.016c-0.273-0.273-0.717-0.273-0.99 0z"},null,-1)])])}const ct={name:"components-icon-chevron-right",render:at},st={class:"section-wrapper"},it={key:1,class:"section-title"},dt={key:2,class:"section-subtitle"},ut={key:1,class:"section-body"},ht={key:2,class:"section-footer"},mt=e.defineComponent({__name:"OSection",props:{title:{default:void 0},subtitle:{default:void 0},full:{type:Boolean,default:!1},headerJustifyCenter:{type:Boolean,default:!0},footer:{default:void 0},footerHref:{default:void 0}},setup(t){const o=t;return(n,d)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["app-section",{"is-full":o.full}])},[e.createElementVNode("div",st,[e.renderSlot(n.$slots,"main",{},()=>[n.$slots.header||o.title||o.subtitle?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(["section-header",{"is-left":!o.headerJustifyCenter}])},[e.renderSlot(n.$slots,"header",{},()=>[e.unref(s.isArray)(o.title)?(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:0},e.renderList(o.title,c=>(e.openBlock(),e.createElementBlock("h2",{key:c,class:"section-title"},e.toDisplayString(c),1))),128)):n.$slots.title||o.title?(e.openBlock(),e.createElementBlock("h2",it,[e.renderSlot(n.$slots,"title",{},()=>[e.createTextVNode(e.toDisplayString(o.title),1)],!0)])):e.createCommentVNode("",!0),n.$slots.subtitle||o.subtitle?(e.openBlock(),e.createElementBlock("p",dt,[e.renderSlot(n.$slots,"subtitle",{},()=>[e.createTextVNode(e.toDisplayString(o.subtitle),1)],!0)])):e.createCommentVNode("",!0)],!0)],2)):e.createCommentVNode("",!0),n.$slots.default?(e.openBlock(),e.createElementBlock("div",ut,[e.renderSlot(n.$slots,"default",{},void 0,!0)])):e.createCommentVNode("",!0),n.$slots.footer||o.footer?(e.openBlock(),e.createElementBlock("div",ht,[e.renderSlot(n.$slots,"footer",{},()=>[e.createVNode(e.unref(s.OLink),{href:o.footerHref,target:"_blank"},{suffix:e.withCtx(()=>[e.createVNode(e.unref(s.OIcon),{class:"footer-icon"},{default:e.withCtx(()=>[e.createVNode(e.unref(ct))]),_:1})]),default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(o.footer)+" ",1)]),_:1},8,["href"])],!0)])):e.createCommentVNode("",!0)],!0)])],2))}}),K=C._export_sfc(mt,[["__scopeId","data-v-57b81782"]]),pt={version:"1.1",xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"};function ft(t,o){return e.openBlock(),e.createElementBlock("svg",pt,[...o[0]||(o[0]=[e.createElementVNode("path",{opacity:"0.8",fill:"currentColor",d:"M12 1.992c0.387 0 0.7 0.313 0.7 0.7v1.2c0 0.387-0.313 0.7-0.7 0.7s-0.7-0.313-0.7-0.7v-1.2c0-0.387 0.313-0.7 0.7-0.7zM6.769 6.747c-0.273 0.273-0.717 0.273-0.99 0l-0.849-0.849c-0.137-0.137-0.205-0.316-0.205-0.495s0.068-0.358 0.205-0.495c0.273-0.273 0.717-0.273 0.99 0l0.849 0.849c0.136 0.137 0.205 0.316 0.205 0.495s-0.068 0.358-0.205 0.495zM18.192 6.747c-0.273 0.273-0.717 0.273-0.99 0-0.137-0.137-0.205-0.316-0.205-0.495s0.068-0.358 0.205-0.495l0.849-0.849c0.273-0.273 0.717-0.273 0.99 0 0.137 0.137 0.205 0.316 0.205 0.495s-0.068 0.358-0.205 0.495l-0.849 0.849zM5.3 12c0-3.7 3-6.7 6.7-6.7s6.7 3 6.7 6.7-3 6.7-6.7 6.7c-3.7 0-6.7-3-6.7-6.7zM17.3 12c0-2.927-2.373-5.3-5.3-5.3s-5.3 2.373-5.3 5.3c0 2.927 2.373 5.3 5.3 5.3s5.3-2.373 5.3-5.3zM4.594 11.969c0 0.387-0.313 0.7-0.7 0.7h-1.2c-0.387 0-0.7-0.313-0.7-0.7s0.313-0.7 0.7-0.7h1.2c0.386 0 0.7 0.313 0.7 0.7zM21.977 11.999c0 0.387-0.314 0.7-0.7 0.7h-1.2c-0.387 0-0.7-0.313-0.7-0.7s0.313-0.7 0.7-0.7h1.2c0.387 0 0.7 0.313 0.7 0.7zM5.921 19.060c-0.273 0.273-0.717 0.273-0.99 0-0.137-0.137-0.205-0.316-0.205-0.495s0.068-0.358 0.205-0.495l0.849-0.849c0.273-0.273 0.717-0.273 0.99 0 0.137 0.137 0.205 0.316 0.205 0.495s-0.068 0.358-0.205 0.495l-0.849 0.849zM19.041 19.060c-0.273 0.273-0.717 0.273-0.99 0l-0.849-0.849c-0.137-0.137-0.205-0.316-0.205-0.495s0.068-0.358 0.205-0.495c0.273-0.273 0.717-0.273 0.99 0l0.849 0.849c0.137 0.137 0.205 0.316 0.205 0.495s-0.068 0.358-0.205 0.495zM11.971 19.376c0.387 0 0.7 0.313 0.7 0.7v1.2c0 0.387-0.313 0.7-0.7 0.7s-0.7-0.313-0.7-0.7v-1.2c0-0.387 0.313-0.7 0.7-0.7z"},null,-1)])])}const I={name:"components-icon-sun",render:ft},vt={version:"1.1",xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"};function kt(t,o){return e.openBlock(),e.createElementBlock("svg",vt,[...o[0]||(o[0]=[e.createElementVNode("path",{opacity:"0.8",fill:"currentColor",d:"M12 2.3c5.357 0 9.7 4.343 9.7 9.7s-4.343 9.7-9.7 9.7c-4.651 0-8.622-3.298-9.515-7.806-0.101-0.509 0.369-0.948 0.87-0.812 0.531 0.144 1.082 0.218 1.645 0.218 3.479 0 6.3-2.82 6.3-6.3 0-1.276-0.379-2.494-1.079-3.527-0.291-0.43-0.029-1.016 0.486-1.086 0.425-0.057 0.857-0.086 1.293-0.086zM12 3.7l-0.042 0.001 0.058 0.121c0.402 0.887 0.634 1.85 0.677 2.845l0.007 0.333c0 4.253-3.447 7.7-7.7 7.7-0.229 0-0.457-0.010-0.682-0.030l-0.186-0.021 0.076 0.218c1.147 3.123 4.102 5.321 7.528 5.429l0.264 0.004c4.584 0 8.3-3.716 8.3-8.3s-3.716-8.3-8.3-8.3z"},null,-1)])])}const O={name:"components-icon-moon",render:kt},gt={class:"o-theme-switcher"},yt={key:1,class:"o-theme-switcher-mobile"},Ct=e.defineComponent({__name:"OThemeSwitcher",props:{theme:{default:"light"},type:{default:"auto"},lightValue:{default:"light"},darkValue:{default:"dark"},lightIcon:{default:I},darkIcon:{default:O}},emits:["update:theme","change"],setup(t,{emit:o}){const n=t,d=o,{gtPhone:c}=b.useScreen(),u=e.computed({get(){return n.theme},set(r){d("update:theme",r),d("change",r)}}),h=e.computed(()=>n.type==="common"||n.type==="auto"&&c.value),i=()=>{u.value=u.value===n.lightValue?n.darkValue:n.lightValue};return(r,k)=>(e.openBlock(),e.createElementBlock("div",gt,[h.value?(e.openBlock(),e.createElementBlock("div",{key:0,class:"o-theme-switcher-common",onClick:i},[e.createVNode(e.unref(s.OIcon),{class:"o-theme-icon"},{default:e.withCtx(()=>[u.value===t.lightValue?(e.openBlock(),e.createBlock(e.unref(O),{key:0})):(e.openBlock(),e.createBlock(e.unref(I),{key:1}))]),_:1})])):(e.openBlock(),e.createElementBlock("div",yt,[e.createVNode(e.unref(s.OSwitch),{modelValue:u.value,"onUpdate:modelValue":k[0]||(k[0]=l=>u.value=l),class:"o-theme-switch","checked-value":t.darkValue,"unchecked-value":t.lightValue},{on:e.withCtx(()=>[e.createVNode(e.unref(s.OIcon),{class:"o-theme-icon"},{default:e.withCtx(()=>[e.createVNode(e.unref(I))]),_:1})]),off:e.withCtx(()=>[e.createVNode(e.unref(s.OIcon),{class:"o-theme-icon"},{default:e.withCtx(()=>[e.createVNode(e.unref(O))]),_:1})]),_:1},8,["modelValue","checked-value","unchecked-value"])]))]))}}),L=C._export_sfc(Ct,[["__scopeId","data-v-837e14fb"]]),Bt={OBanner:T,OCookieNotice:A,OHeaderSearch:U,OPlusConfigProvider:H,OSection:K,OThemeSwitcher:L},wt={install:t=>{Object.entries(Bt).forEach(([o,n])=>{t.component(o,n)})}};exports.OBanner=T;exports.OCookieNotice=A;exports.OHeaderSearch=U;exports.OPlusConfigProvider=H;exports.OSection=K;exports.OThemeSwitcher=L;exports.default=wt;
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("vue"),A=require("@opensig/opendesign"),Et=require("@opendesign-plus/composables"),tt=require("element-plus"),Ue=require("./chunk-OElCookieNotice.cjs.js"),wt=require("@vueuse/core"),oc=/^https?:\/\/\S+/;var Fe=(r=>(r.ALL="all",r.MEETING="meeting",r.EVENTS="events",r.SUMMIT="summit",r.APPROVAL="approval",r))(Fe||{}),pi=(r=>(r.SIG="sig",r.GROUP="group",r))(pi||{});const pg={version:"1.1",xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32",viewBox:"0 0 32 32"};function mg(r,e){return t.openBlock(),t.createElementBlock("svg",pg,[...e[0]||(e[0]=[t.createElementVNode("path",{fill:"#000",d:"M14.671 15.599c0.129 0 0.248-0.023 0.358-0.068l0-0c0.11-0.045 0.211-0.114 0.302-0.205s0.159-0.192 0.205-0.302l0-0.001c0.045-0.11 0.068-0.229 0.068-0.357v-4.667c0-0.413-0.044-0.817-0.131-1.211l-0-0.001c-0.073-0.33-0.176-0.652-0.31-0.968-0.134-0.318-0.295-0.618-0.482-0.902v0c-0.207-0.314-0.447-0.607-0.718-0.878s-0.564-0.511-0.878-0.718c-0.283-0.187-0.584-0.347-0.902-0.482-0.316-0.134-0.638-0.237-0.968-0.31l-0.001-0c-0.394-0.087-0.798-0.131-1.212-0.131s-0.816 0.043-1.209 0.13l-0.002 0.001-0.001 0c-0.329 0.073-0.652 0.176-0.968 0.31-0.318 0.134-0.618 0.295-0.902 0.482-0.001 0.001-0.002 0.001-0.003 0.002-0.313 0.207-0.604 0.445-0.875 0.716s-0.511 0.564-0.718 0.878l-0 0.001c-0.187 0.283-0.347 0.583-0.481 0.901-0.134 0.316-0.237 0.638-0.31 0.968l-0 0.001-0 0.001c-0.087 0.394-0.131 0.798-0.131 1.211s0.043 0.816 0.13 1.21v0l0 0.001v0c0.073 0.33 0.176 0.652 0.31 0.968 0.134 0.318 0.295 0.618 0.482 0.902 0.207 0.314 0.446 0.607 0.718 0.878s0.564 0.511 0.878 0.718c0.283 0.187 0.584 0.347 0.902 0.482 0.316 0.134 0.639 0.237 0.968 0.31l0.001 0c0.394 0.087 0.798 0.131 1.211 0.131h4.667zM16.401 14.666c0 0.129 0.023 0.248 0.068 0.358s0.114 0.211 0.205 0.302c0.091 0.091 0.192 0.159 0.302 0.205s0.229 0.068 0.358 0.068h4.667c0.414 0 0.817-0.044 1.212-0.131h0c0.329-0.073 0.652-0.176 0.968-0.31 0.318-0.135 0.618-0.295 0.902-0.482 0.314-0.207 0.607-0.446 0.878-0.718s0.511-0.564 0.718-0.878l0-0c0.187-0.283 0.347-0.584 0.482-0.902 0.134-0.316 0.237-0.639 0.31-0.968v-0c0.087-0.394 0.131-0.798 0.131-1.211s-0.044-0.817-0.131-1.212c-0.073-0.33-0.176-0.652-0.31-0.968s-0.294-0.617-0.481-0.9l-0.001-0.002v-0c-0.207-0.314-0.447-0.607-0.718-0.878s-0.564-0.511-0.878-0.718c-0.283-0.187-0.584-0.347-0.902-0.482-0.316-0.134-0.639-0.237-0.968-0.31-0.394-0.087-0.798-0.131-1.212-0.131s-0.817 0.044-1.212 0.131c-0.33 0.073-0.652 0.176-0.968 0.31-0.318 0.134-0.618 0.295-0.902 0.482-0.314 0.207-0.607 0.446-0.878 0.718s-0.511 0.564-0.718 0.878c-0.187 0.283-0.347 0.584-0.482 0.902-0.134 0.316-0.237 0.639-0.31 0.968-0.087 0.394-0.131 0.798-0.131 1.212v4.667zM22.001 13.732h-3.733v-3.733c0-0.287 0.031-0.568 0.094-0.84 0.048-0.208 0.114-0.413 0.199-0.612 0.087-0.206 0.191-0.401 0.311-0.586 0.14-0.215 0.303-0.416 0.489-0.601s0.386-0.349 0.601-0.489l0.001-0.001c0.184-0.12 0.379-0.224 0.585-0.311 0.2-0.085 0.404-0.151 0.612-0.199 0.273-0.063 0.553-0.094 0.84-0.094s0.567 0.031 0.84 0.094c0.208 0.048 0.413 0.114 0.613 0.199 0.206 0.087 0.401 0.191 0.586 0.311 0.215 0.14 0.416 0.304 0.601 0.489s0.349 0.386 0.489 0.601c0.12 0.184 0.224 0.38 0.311 0.586 0.085 0.2 0.151 0.404 0.199 0.612l0 0.001c0.063 0.273 0.094 0.553 0.094 0.84s-0.031 0.568-0.094 0.84c-0.048 0.208-0.114 0.413-0.199 0.612-0.087 0.206-0.191 0.401-0.311 0.586l-0.001 0.002c-0.14 0.214-0.303 0.414-0.488 0.599s-0.386 0.349-0.601 0.489c-0.184 0.12-0.38 0.224-0.586 0.311-0.2 0.085-0.404 0.151-0.613 0.199l-0.001 0c-0.273 0.063-0.552 0.094-0.84 0.094zM13.734 9.999v3.733h-3.733c-0.287 0-0.567-0.031-0.84-0.094v-0c-0.208-0.048-0.413-0.114-0.612-0.199-0.206-0.087-0.401-0.191-0.586-0.311-0.215-0.14-0.416-0.304-0.601-0.489s-0.349-0.386-0.489-0.601c-0.12-0.184-0.224-0.38-0.311-0.586-0.085-0.2-0.151-0.404-0.199-0.612v-0c-0.063-0.273-0.094-0.553-0.094-0.84s0.031-0.568 0.094-0.84c0.048-0.208 0.114-0.413 0.199-0.612 0.087-0.206 0.191-0.401 0.311-0.586v-0c0.141-0.215 0.304-0.416 0.489-0.601s0.386-0.349 0.601-0.489l0-0c0.184-0.12 0.38-0.224 0.586-0.311 0.195-0.083 0.395-0.148 0.598-0.196 0.005-0.001 0.009-0.002 0.014-0.003 0.273-0.063 0.553-0.094 0.84-0.094s0.568 0.031 0.841 0.094c0.208 0.048 0.413 0.114 0.612 0.199 0.206 0.087 0.401 0.191 0.586 0.311 0.215 0.14 0.416 0.304 0.601 0.489s0.349 0.386 0.489 0.601c0.12 0.184 0.224 0.38 0.311 0.586 0.085 0.2 0.151 0.404 0.199 0.612 0.063 0.273 0.094 0.553 0.094 0.84zM16.401 21.999c0 0.413 0.044 0.817 0.131 1.212 0.073 0.329 0.176 0.652 0.31 0.968 0.135 0.318 0.295 0.618 0.482 0.902 0.207 0.314 0.446 0.607 0.718 0.878s0.564 0.511 0.878 0.718c0.283 0.187 0.584 0.347 0.902 0.482 0.316 0.134 0.639 0.237 0.968 0.31 0.394 0.087 0.798 0.131 1.212 0.131s0.817-0.044 1.212-0.131c0.329-0.073 0.652-0.176 0.968-0.31 0.318-0.134 0.618-0.295 0.902-0.482 0.314-0.207 0.607-0.446 0.878-0.718s0.511-0.564 0.718-0.878c0.187-0.283 0.347-0.584 0.482-0.902 0.134-0.316 0.237-0.639 0.31-0.968 0.087-0.394 0.131-0.798 0.131-1.212s-0.044-0.817-0.131-1.212c-0.073-0.329-0.176-0.652-0.31-0.968-0.134-0.318-0.295-0.618-0.482-0.902-0.207-0.314-0.447-0.607-0.718-0.878s-0.564-0.511-0.878-0.718c-0.283-0.187-0.584-0.347-0.902-0.482-0.316-0.134-0.639-0.237-0.968-0.31-0.394-0.087-0.798-0.131-1.212-0.131h-4.667c-0.129 0-0.248 0.023-0.358 0.068s-0.211 0.114-0.302 0.205c-0.182 0.182-0.273 0.402-0.273 0.66v4.667zM10.004 16.399c-0.413 0-0.817 0.044-1.212 0.131-0.329 0.073-0.652 0.176-0.968 0.31-0.318 0.134-0.618 0.295-0.902 0.482-0.314 0.207-0.607 0.446-0.878 0.718s-0.511 0.564-0.718 0.878c-0.187 0.283-0.348 0.584-0.482 0.901-0.134 0.316-0.237 0.639-0.31 0.968-0.087 0.394-0.131 0.798-0.131 1.212s0.044 0.817 0.131 1.212c0.073 0.329 0.176 0.652 0.31 0.968 0.134 0.318 0.295 0.618 0.482 0.902v0c0.207 0.314 0.446 0.607 0.718 0.878s0.564 0.511 0.878 0.718c0.283 0.187 0.584 0.347 0.902 0.482 0.316 0.134 0.639 0.237 0.968 0.31 0.394 0.087 0.798 0.131 1.212 0.131s0.817-0.044 1.212-0.131v-0c0.33-0.073 0.652-0.176 0.968-0.31 0.318-0.134 0.618-0.295 0.902-0.482 0.314-0.207 0.607-0.446 0.878-0.718s0.511-0.564 0.718-0.878v-0c0.187-0.283 0.347-0.584 0.482-0.902 0.134-0.316 0.237-0.639 0.31-0.968 0.087-0.394 0.131-0.798 0.131-1.212v-4.667c0-0.258-0.091-0.478-0.273-0.66-0.091-0.091-0.192-0.159-0.302-0.205s-0.23-0.068-0.358-0.068h-4.667zM13.734 18.266v3.733c0 0.287-0.031 0.567-0.094 0.84-0.048 0.208-0.114 0.413-0.199 0.612-0.087 0.206-0.191 0.401-0.311 0.585l-0 0c-0.14 0.215-0.303 0.416-0.489 0.601s-0.386 0.349-0.601 0.489c-0.184 0.12-0.38 0.224-0.586 0.311-0.2 0.085-0.404 0.151-0.612 0.199-0.273 0.063-0.553 0.094-0.841 0.094s-0.567-0.031-0.84-0.094l-0.001-0c-0.208-0.048-0.412-0.114-0.612-0.199-0.206-0.087-0.401-0.191-0.586-0.311l-0-0c-0.215-0.14-0.416-0.303-0.601-0.489s-0.349-0.386-0.489-0.601c-0.12-0.184-0.224-0.38-0.311-0.586-0.085-0.2-0.151-0.404-0.199-0.612-0.063-0.273-0.094-0.553-0.094-0.84s0.031-0.568 0.094-0.841c0.048-0.208 0.114-0.412 0.199-0.612 0.087-0.206 0.191-0.401 0.311-0.586 0.14-0.215 0.304-0.416 0.489-0.601s0.386-0.349 0.601-0.489c0.184-0.12 0.38-0.224 0.586-0.311 0.2-0.085 0.404-0.151 0.612-0.199l0.001-0 0.004-0.001c0.272-0.062 0.55-0.093 0.836-0.093h3.733zM18.268 18.266h3.733c0.287 0 0.567 0.031 0.84 0.094 0.208 0.048 0.413 0.114 0.613 0.199 0.206 0.087 0.401 0.191 0.586 0.311 0.215 0.14 0.416 0.303 0.601 0.489s0.349 0.386 0.489 0.601c0.12 0.184 0.224 0.38 0.311 0.586 0.085 0.2 0.151 0.404 0.199 0.612 0.063 0.273 0.094 0.553 0.094 0.841s-0.031 0.567-0.094 0.84c-0.048 0.208-0.114 0.413-0.199 0.612-0.087 0.206-0.191 0.401-0.311 0.586-0.141 0.215-0.303 0.416-0.489 0.601s-0.386 0.349-0.601 0.489c-0.184 0.12-0.38 0.224-0.586 0.311-0.2 0.085-0.404 0.151-0.613 0.199-0.273 0.063-0.553 0.094-0.84 0.094s-0.567-0.031-0.84-0.094c-0.208-0.048-0.413-0.114-0.612-0.199-0.206-0.087-0.401-0.191-0.586-0.311-0.215-0.141-0.416-0.304-0.601-0.489s-0.349-0.386-0.489-0.601c-0.12-0.184-0.224-0.38-0.311-0.586-0.085-0.2-0.151-0.404-0.199-0.612-0.063-0.273-0.094-0.553-0.094-0.84v-3.733z"},null,-1)])])}const gg={name:"meeting-icon-all",render:mg},vg={version:"1.1",xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32",viewBox:"0 0 32 32"};function yg(r,e){return t.openBlock(),t.createElementBlock("svg",vg,[...e[0]||(e[0]=[t.createElementVNode("path",{opacity:"0.8",fill:"#000",d:"M25.091 14.218l-0.852 0.781c-0.385 0.353-0.411 0.933-0.058 1.319s0.933 0.411 1.319 0.058l2.116-1.938c0.193-0.177 0.349-0.374 0.467-0.591 0.092-0.17 0.162-0.351 0.208-0.546 0.045-0.189 0.067-0.378 0.063-0.566-0.004-0.222-0.041-0.444-0.112-0.665s-0.17-0.423-0.297-0.605c-0.107-0.155-0.235-0.295-0.382-0.422-0.151-0.13-0.314-0.237-0.488-0.321-0.223-0.107-0.464-0.176-0.724-0.207l-5.601-0.661c-0.031-0.012-0.159-0.053-0.187-0.073-0.021-0.026-0.113-0.124-0.128-0.155l-2.377-5.087c-0.11-0.235-0.25-0.441-0.42-0.618-0.133-0.138-0.285-0.259-0.454-0.362-0.165-0.1-0.338-0.177-0.517-0.232l-0-0c-0.211-0.064-0.432-0.096-0.662-0.096s-0.451 0.032-0.662 0.096v0c-0.002 0.001-0.004 0.001-0.006 0.002-0.177 0.054-0.348 0.131-0.511 0.23-0.17 0.103-0.321 0.224-0.454 0.362-0.17 0.177-0.31 0.383-0.42 0.618l-2.377 5.087c-0.021 0.026-0.1 0.135-0.128 0.155-0.031 0.012-0.153 0.069-0.187 0.073l-5.601 0.661c-0.26 0.031-0.501 0.1-0.724 0.207l-0 0c-0.174 0.084-0.336 0.191-0.488 0.321-0.147 0.127-0.275 0.267-0.382 0.422-0.127 0.182-0.226 0.384-0.297 0.605s-0.109 0.443-0.112 0.665v0.001c-0.003 0.188 0.018 0.376 0.063 0.565 0.047 0.194 0.116 0.376 0.208 0.546 0.118 0.217 0.274 0.414 0.467 0.591l4.119 3.773c0.018 0.029 0.099 0.137 0.11 0.171 0.001 0.009 0.002 0.025 0.004 0.044l0 0.002c0.005 0.054 0.013 0.132 0.008 0.157l-1.093 5.462c-0.051 0.255-0.060 0.505-0.028 0.749 0.025 0.191 0.076 0.378 0.152 0.562 0.074 0.179 0.168 0.343 0.28 0.493 0.133 0.177 0.293 0.333 0.479 0.47s0.384 0.241 0.593 0.315c0.177 0.062 0.362 0.101 0.555 0.118 0.198 0.017 0.392 0.009 0.581-0.025l0.001-0c0.242-0.043 0.478-0.127 0.705-0.253l4.953-2.737c0.032-0.008 0.159-0.050 0.193-0.050 0.032 0.008 0.163 0.033 0.193 0.050l4.831 2.669c0.233 0.129 0.473 0.214 0.72 0.256l0.001 0c0.192 0.033 0.388 0.039 0.588 0.020 0.195-0.019 0.382-0.061 0.56-0.126 0.211-0.077 0.411-0.187 0.598-0.329s0.347-0.305 0.478-0.488c0.111-0.154 0.201-0.323 0.271-0.506 0.072-0.188 0.119-0.379 0.139-0.573 0.026-0.25 0.008-0.504-0.053-0.762l-2.084-8.779c-0.121-0.509-0.615-0.813-1.124-0.693s-0.813 0.615-0.693 1.124l2.084 8.779c0.020 0.084 0.018 0.161-0.007 0.229s-0.071 0.129-0.141 0.181c-0.069 0.053-0.14 0.081-0.213 0.087s-0.147-0.013-0.223-0.055l-4.831-2.669c-0.171-0.094-0.347-0.165-0.53-0.212v-0c-0.183-0.047-0.372-0.071-0.566-0.071s-0.384 0.024-0.566 0.071c-0.183 0.047-0.359 0.118-0.53 0.212l-4.953 2.737c-0.075 0.041-0.148 0.059-0.219 0.055s-0.142-0.032-0.21-0.082c-0.069-0.050-0.116-0.109-0.142-0.176s-0.031-0.142-0.014-0.226l1.093-5.462c0.039-0.195 0.053-0.387 0.041-0.579s-0.048-0.381-0.109-0.57c-0.062-0.189-0.144-0.363-0.248-0.525s-0.229-0.309-0.375-0.443l-4.119-3.773c-0.063-0.058-0.104-0.122-0.122-0.191s-0.014-0.145 0.012-0.227c0.026-0.081 0.067-0.145 0.123-0.191s0.126-0.074 0.211-0.084l5.601-0.661c0.195-0.023 0.381-0.069 0.558-0.138s0.345-0.161 0.504-0.276c0.159-0.115 0.299-0.245 0.42-0.392s0.223-0.308 0.306-0.486l2.377-5.087c0.036-0.077 0.084-0.135 0.145-0.173s0.133-0.058 0.218-0.058c0.085 0 0.157 0.019 0.218 0.058s0.109 0.096 0.144 0.173l2.377 5.087c0.083 0.178 0.185 0.34 0.306 0.486s0.261 0.277 0.42 0.392c0.159 0.115 0.327 0.207 0.504 0.276s0.363 0.115 0.558 0.138l5.601 0.661c0.085 0.010 0.155 0.038 0.211 0.084s0.097 0.109 0.123 0.191c0.026 0.081 0.030 0.157 0.012 0.227s-0.059 0.133-0.122 0.191l-1.263 1.157zM12.006 17.328l-2-2c-0.37-0.37-0.37-0.95 0-1.32s0.951-0.369 1.32 0l2 2c0.37 0.37 0.37 0.95-0 1.32s-0.95 0.37-1.32 0z"},null,-1)])])}const V0={name:"meeting-icon-event",render:yg},bg={version:"1.1",xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32",viewBox:"0 0 32 32"};function Cg(r,e){return t.openBlock(),t.createElementBlock("svg",bg,[...e[0]||(e[0]=[t.createElementVNode("path",{opacity:"0.8",fill:"#000",d:"M16.933 4.002v1.733h8.4c0.163 0 0.323 0.017 0.479 0.050 0.137 0.030 0.272 0.072 0.404 0.128 0.131 0.055 0.254 0.122 0.37 0.199 0.125 0.083 0.242 0.179 0.35 0.287s0.204 0.225 0.287 0.35c0.077 0.116 0.143 0.24 0.199 0.37 0.056 0.132 0.098 0.266 0.128 0.404 0.034 0.156 0.050 0.315 0.050 0.479v7.222c0 0.523-0.411 0.933-0.933 0.933s-0.933-0.411-0.933-0.933v-7.222c0-0.055-0.010-0.106-0.029-0.154s-0.178-0.178-0.217-0.217c-0.047-0.020-0.098-0.029-0.154-0.029h-18.667c-0.055 0-0.106 0.010-0.153 0.029s-0.178 0.178-0.217 0.217c-0.020 0.047-0.029 0.098-0.029 0.154v13.333c0 0.055 0.010 0.106 0.029 0.153l0 0c0.020 0.047 0.178 0.178 0.217 0.217 0.047 0.019 0.098 0.029 0.153 0.029h18.667c0.055 0 0.107-0.010 0.154-0.029s0.178-0.178 0.217-0.217c0.019-0.047 0.029-0.098 0.029-0.153v-2.953c0-0.523 0.411-0.933 0.933-0.933s0.933 0.411 0.933 0.933v2.953c0 0.163-0.017 0.323-0.050 0.479-0.030 0.137-0.072 0.272-0.128 0.404-0.055 0.131-0.121 0.254-0.199 0.37-0.083 0.125-0.179 0.242-0.287 0.35s-0.225 0.204-0.35 0.287c-0.116 0.077-0.24 0.143-0.37 0.199-0.132 0.056-0.266 0.098-0.404 0.128-0.156 0.034-0.316 0.051-0.479 0.051h-0.44l2.42 2.42c0.37 0.37 0.37 0.95 0 1.32s-0.95 0.37-1.32 0l-3.74-3.74h-12.507l-3.74 3.74c-0.37 0.37-0.95 0.37-1.32 0s-0.369-0.95 0-1.32l2.42-2.42h-0.44c-0.161 0-0.319-0.017-0.474-0.049l-0.005-0.001-0-0c-0.137-0.030-0.272-0.072-0.404-0.128-0.131-0.055-0.254-0.122-0.37-0.199-0.125-0.083-0.242-0.179-0.35-0.287s-0.204-0.225-0.287-0.35c-0.077-0.116-0.143-0.24-0.199-0.37-0.056-0.132-0.098-0.267-0.128-0.404-0.034-0.156-0.050-0.315-0.050-0.479v-13.333c0-0.163 0.017-0.323 0.050-0.479v0l0-0c0.030-0.137 0.072-0.272 0.128-0.404 0.055-0.131 0.121-0.254 0.199-0.37 0.083-0.125 0.179-0.242 0.287-0.35s0.225-0.204 0.35-0.287c0.116-0.077 0.24-0.143 0.37-0.199 0.132-0.056 0.266-0.098 0.404-0.128h0c0.002-0 0.003-0.001 0.005-0.001v0c0.154-0.033 0.312-0.049 0.474-0.049h8.4v-1.733c0-0.523 0.411-0.933 0.933-0.933s0.933 0.411 0.933 0.933zM23.332 12.652l-4.615 4.741c-0.195 0.169-0.479 0.298-0.736 0.28s-0.47-0.125-0.639-0.32l-3.397-3.925-3.91 4.518c-0.342 0.395-0.921 0.437-1.316 0.095s-0.437-0.921-0.095-1.317l4.615-5.333c0.169-0.195 0.382-0.302 0.639-0.32s0.483 0.056 0.678 0.225l3.532 4.067 3.906-4.012c0.365-0.374 0.945-0.382 1.32-0.018s0.382 0.945 0.018 1.32z"},null,-1)])])}const I0={name:"meeting-icon-meet",render:Cg},Tg={version:"1.1",xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32",viewBox:"0 0 32 32"};function Ag(r,e){return t.openBlock(),t.createElementBlock("svg",Tg,[...e[0]||(e[0]=[t.createElementVNode("path",{opacity:"0.8",fill:"#000",d:"M10.634 5.455c-1.119 0.457-2.181 1.053-3.185 1.79-0.422 0.309-0.51 0.883-0.201 1.305s0.883 0.51 1.305 0.201c0.927-0.68 1.908-1.223 2.943-1.629 0.185-0.073 0.373-0.141 0.562-0.205 0.658-0.223 1.325-0.389 2.001-0.497 0.639-0.103 1.287-0.154 1.943-0.154s1.304 0.051 1.943 0.154v0c0.676 0.108 1.343 0.274 2.001 0.497 0.189 0.064 0.376 0.133 0.562 0.205v0c1.035 0.407 2.015 0.95 2.943 1.629 0.422 0.309 0.996 0.221 1.305-0.201s0.221-0.996-0.201-1.305c-1.005-0.736-2.066-1.333-3.185-1.79-0.271-0.111-0.545-0.213-0.823-0.307-0.755-0.256-1.52-0.447-2.297-0.572-0.739-0.119-1.489-0.179-2.247-0.179s-1.508 0.060-2.247 0.179l-0 0c-0.776 0.125-1.541 0.316-2.296 0.572-0.278 0.094-0.552 0.197-0.823 0.307h-0zM28.934 18.666v1.333c0 0.163-0.017 0.323-0.050 0.479-0.030 0.137-0.072 0.272-0.128 0.404s-0.121 0.254-0.199 0.37c-0.083 0.125-0.179 0.242-0.287 0.35s-0.225 0.204-0.35 0.287c-0.116 0.077-0.24 0.143-0.371 0.199-0.132 0.056-0.266 0.098-0.404 0.128-0.156 0.034-0.315 0.050-0.479 0.050h-21.333c-0.163 0-0.323-0.017-0.479-0.050-0.137-0.030-0.272-0.072-0.404-0.128-0.131-0.055-0.254-0.121-0.37-0.199-0.125-0.083-0.242-0.179-0.35-0.287s-0.204-0.225-0.287-0.35c-0.077-0.116-0.143-0.24-0.199-0.37s-0.098-0.266-0.128-0.404c-0.034-0.156-0.050-0.315-0.050-0.479v-8c0-0.163 0.017-0.323 0.050-0.479 0.030-0.137 0.072-0.272 0.128-0.404 0.055-0.131 0.122-0.254 0.199-0.37 0.083-0.125 0.179-0.242 0.287-0.35s0.225-0.204 0.35-0.287c0.116-0.077 0.24-0.143 0.37-0.199 0.132-0.056 0.266-0.098 0.404-0.128 0.156-0.034 0.316-0.050 0.479-0.050h21.333c0.163 0 0.323 0.017 0.479 0.050 0.137 0.030 0.272 0.072 0.404 0.128 0.131 0.055 0.254 0.122 0.371 0.199 0.125 0.083 0.241 0.178 0.35 0.287s0.204 0.225 0.287 0.35c0.077 0.116 0.143 0.24 0.199 0.37 0.056 0.132 0.098 0.266 0.128 0.404 0.034 0.156 0.050 0.315 0.050 0.479v4c0 0.523-0.411 0.933-0.933 0.933s-0.933-0.411-0.933-0.933v-4c0-0.055-0.010-0.106-0.029-0.154s-0.178-0.178-0.217-0.217c-0.047-0.020-0.098-0.029-0.153-0.029h-21.333c-0.055 0-0.106 0.010-0.154 0.029v0c-0.047 0.020-0.178 0.178-0.217 0.217-0.020 0.047-0.029 0.098-0.029 0.154v8c0 0.055 0.010 0.106 0.029 0.154s0.178 0.178 0.217 0.217c0.047 0.020 0.098 0.029 0.154 0.029h21.333c0.055 0 0.106-0.010 0.153-0.029s0.178-0.178 0.217-0.217c0.019-0.047 0.029-0.098 0.029-0.154v-1.333c0-0.523 0.411-0.933 0.933-0.933s0.933 0.411 0.933 0.933zM20.479 23.116h-0c-0.156-0.034-0.315-0.050-0.479-0.050h-8c-0.163 0-0.323 0.017-0.479 0.050-0.137 0.030-0.272 0.072-0.404 0.128-0.131 0.055-0.254 0.121-0.37 0.199-0.125 0.083-0.242 0.179-0.35 0.287s-0.204 0.225-0.287 0.35c-0.077 0.116-0.143 0.24-0.199 0.37s-0.098 0.266-0.128 0.404c-0.034 0.156-0.050 0.315-0.050 0.479s0.017 0.323 0.050 0.479v0c0.030 0.137 0.072 0.272 0.128 0.404s0.121 0.254 0.199 0.37c0.083 0.125 0.179 0.242 0.287 0.35s0.225 0.204 0.35 0.287c0.116 0.077 0.24 0.143 0.37 0.199 0.132 0.056 0.266 0.098 0.404 0.128 0.156 0.034 0.316 0.050 0.479 0.050h8c0.163 0 0.323-0.017 0.479-0.050 0.137-0.030 0.272-0.072 0.404-0.128 0.131-0.055 0.254-0.121 0.37-0.199 0.125-0.083 0.242-0.179 0.35-0.287s0.204-0.225 0.287-0.35c0.077-0.116 0.143-0.24 0.199-0.37s0.098-0.266 0.128-0.404c0.034-0.156 0.051-0.316 0.051-0.479s-0.017-0.323-0.051-0.479v-0c-0.030-0.137-0.072-0.272-0.128-0.404s-0.121-0.254-0.199-0.37c-0.083-0.125-0.179-0.242-0.287-0.35s-0.225-0.204-0.35-0.287c-0.116-0.077-0.24-0.143-0.37-0.199-0.132-0.056-0.266-0.099-0.404-0.128zM12 24.932h8c0.055 0 0.106 0.010 0.153 0.029 0.039 0.039 0.198 0.17 0.217 0.217v0c0.020 0.047 0.029 0.098 0.029 0.154s-0.010 0.106-0.029 0.154c-0.039 0.039-0.17 0.198-0.217 0.217s-0.098 0.029-0.153 0.029h-8c-0.055 0-0.106-0.010-0.154-0.029-0.039-0.039-0.198-0.17-0.217-0.217s-0.029-0.098-0.029-0.154 0.010-0.106 0.029-0.154c0.039-0.039 0.17-0.198 0.217-0.217s0.098-0.029 0.154-0.029z"},null,-1)])])}const N0={name:"meeting-icon-summit",render:Ag},ho={summit:"rgba(var(--o-orange-6))",events:"rgba(var(--o-cyan-6))",meeting:"rgba(var(--o-deepblue-6))"},pn=0,mn=1,tn=2,O0=/^\w+([-+.]\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*$/,Eg=["var(--o-color-auxiliary5)","var(--o-color-auxiliary6)","var(--o-color-auxiliary7)","var(--o-color-auxiliary8)","var(--o-color-auxiliary1)","var(--o-color-auxiliary2)"],wa=()=>{const{t:r}=Ue.useI18n(),e=t.computed(()=>new Map([[1,{label:r("meeting.offline"),value:1}],[2,{label:r("meeting.online"),value:2}],[3,{label:r("meeting.onlineOffline"),value:3}]])),i=t.computed(()=>new Map([[1,{id:"draft",label:r("meeting.statusDraft"),text:r("meeting.statusDraft"),value:1}],[2,{id:"under-review",label:r("meeting.statusUnderReview"),text:r("meeting.statusPending"),value:2}],[3,{id:"registration",label:r("meeting.statusRegistering"),text:r("meeting.statusApproved"),value:3}],[4,{id:"in-progress",label:r("meeting.statusInProgress"),text:r("meeting.statusApproved"),value:4}],[5,{id:"ended",label:r("meeting.statusEnded"),text:r("meeting.statusEnded"),value:5}],[6,{id:"modified",label:r("meeting.statusModified"),text:r("meeting.statusModified"),value:6}],[7,{id:"reject",label:r("meeting.statusRejected"),text:r("meeting.statusRejected"),value:7}]])),n=t.computed(()=>new Map([["all",{label:r("common.all"),value:"all"}],["rejected",{label:r("meeting.statusRejected"),value:"rejected"}],["approved",{label:r("meeting.statusApproved"),value:"approved"}],["publish",{label:r("meeting.statusPending"),value:"publish"}],["cancel",{label:r("meeting.statusCanceled"),value:"cancel"}]]));return{t:r,activityTypeMap:e,statusMap:i,approvalStatusMap:n}},xg={class:"o-activity-form"},kg={class:"time-config"},_g={class:"form-btns"},lc=t.defineComponent({__name:"OActivityForm",props:{data:{},creatActivity:{},editActivity:{},admins:{},organizers:{}},emits:["confirm","close"],setup(r,{expose:e,emit:i}){const n=i,s=A.useMessage(null),{lePadV:a}=Et.useScreen(),{t:o}=Ue.useI18n(),l=o,{activityTypeMap:c}=wa(),d=r,m=t.computed(()=>!!d.data),g=t.ref({title:"",organizer:"",start_date:"",end_date:"",register_end_date:"",activity_type:"",synopsis:"",register_url:"",content_url:"",address:"",start:"",end:"",is_publish:"true",email_list:"",approver:""}),E=t.ref(),C=t.ref(!1),w=t.ref({title:[{required:!0,message:o("meeting.enterActivityName")},{validator:R=>{if(R.length>50)return{type:"danger",message:o("meeting.activityNameMaxLength")}}}],activity_type:[{required:!0,message:o("meeting.selectActivityType")}],organizer:[{required:!0,message:o("meeting.selectActivityOrganizer")}],start_date:[{required:!0,message:o("meeting.selectActivityTime")},{validator:()=>{const{start_date:R,end_date:x}=g.value,L=R.split(" "),_=x.split(" ");if(!R||!x)return{type:"danger",message:o("meeting.selectActivityDate")};const V=L[1].split(":").map(Number),I=_[1].split(":").map(Number);if(V[0]<8||V[0]>21||I[0]<8||I[0]>21)return{type:"danger",message:o("meeting.activityTimeRange")};if(tt.dayjs(R).valueOf()>tt.dayjs(x).valueOf())return{type:"danger",message:o("meeting.endDateAfterStartDate")};g.value.start_date=L[0],g.value.end_date=_[0],g.value.start=L[1],g.value.end=_[1]},triggers:["blur","change"]}],register_end_date:[{validator:()=>{const{register_end_date:R,end_date:x,end:L}=g.value;if(R&&tt.dayjs(`${x} ${L}`).valueOf()<tt.dayjs(R).valueOf())return{type:"danger",message:o("meeting.registerDeadlineBeforeEnd")}},triggers:["blur","change"]}],address:[{required:!0,message:o("meeting.enterActivityAddress")},{validator:R=>{if(R.length>255)return{type:"danger",message:o("meeting.activityAddressMaxLength")}}}],register_url:[{validator:R=>{const x=R.replaceAll(" ","")||"";if(x.length&&(x.split(";")||[]).some(_=>!oc.test(_)))return{type:"danger",message:o("meeting.invalidRegistrationUrl")}},triggers:["blur","change"]}],content_url:[{validator:R=>{const x=R.replaceAll(" ","")||"";if(x.length&&(x.split(";")||[]).some(_=>!oc.test(_)))return{type:"danger",message:o("meeting.invalidActivityDetailUrl")}},triggers:["blur","change"]}],synopsis:[{validator:R=>{if(R.length>1e3)return{type:"danger",message:o("meeting.activityContentMaxLength")}}}],email_list:[{validator:R=>{const x=R.replaceAll(" ","").replaceAll(",",";")||"";if(x.length){if(x.length>1020)return{type:"danger",message:o("meeting.emailTooLong")};const L=x.split(";")||[];if(L.some(_=>!O0.test(_)))return{type:"danger",message:o("meeting.emailInvalid")};if(L.some(_=>_.length>50))return{type:"danger",message:o("meeting.singleEmailTooLong")};if(L.length>20)return{type:"danger",message:o("meeting.emailCountTooLong")}}},triggers:["blur","change"]}],approver:[{required:!0,message:o("meeting.selectActivityApprover")}]}),v=t.computed(()=>d.admins||[]),b=t.ref(""),k=t.ref([]);c.value.forEach(R=>{k.value.push(R)});const S=R=>{const x=k.value.find(L=>L.label===R);g.value.activity_type=x==null?void 0:x.value},D=R=>R.getTime()<Date.now()-1440*60*1e3;t.watch(()=>d.data,R=>{var x;if(R){const{title:L,start_date:_,end_date:V,register_end_date:I,activity_type:z,register_url:M,content_url:U,address:P,start:te,end:j,is_publish:G,approver:ee,update_activity_id:J,synopsis:Q,email_list:X,organizer:ne}=R;let ve={title:L,start_date:_,end_date:V,register_end_date:I,activity_type:z,register_url:M,content_url:U,address:P,start:te,end:j,is_publish:G,approver:ee,update_activity_id:J,synopsis:Q,email_list:X,organizer:ne};g.value={...ve},b.value=(x=c.value.get(Number(R.activity_type)))==null?void 0:x.label,g.value.start_date=`${g.value.start_date} ${g.value.start}`,g.value.end_date=`${g.value.end_date} ${g.value.end}`}},{immediate:!0,deep:!0});const O=async R=>{var L,_,V,I,z,M,U;let x=m.value?o("meeting.modifyActivity"):o(R?"meeting.create":"meeting.saveDraft");try{if((await((L=E.value)==null?void 0:L.validate())).some(j=>!!j))return;C.value=!0,g.value.is_publish=`${R}`;let te;if(m.value&&((_=d.data)==null?void 0:_.status)===3?(g.value.update_activity_id=(V=d.data)==null?void 0:V.id,te=await((I=d.creatActivity)==null?void 0:I.call(d,g.value))):m.value?te=await((M=d.editActivity)==null?void 0:M.call(d,(z=d.data)==null?void 0:z.id,g.value)):te=await((U=d.creatActivity)==null?void 0:U.call(d,g.value)),typeof te=="boolean"&&!te)return;s.success({content:o("meeting.activityActionSuccess",[g.value.title,x.toLowerCase()])}),q(),n("confirm")}finally{C.value=!1}},q=()=>{g.value={},n("close")};return e({confirm:O}),(R,x)=>(t.openBlock(),t.createElementBlock("div",xg,[t.createVNode(t.unref(A.OForm),{model:g.value,ref_key:"formRef",ref:E,"has-required":"","label-width":"108px",layout:t.unref(a)?"v":"h",class:"form-wrapper"},{default:t.withCtx(()=>[t.createVNode(t.unref(A.OFormItem),{rules:w.value.title,label:t.unref(o)("meeting.activityName"),field:"title"},{default:t.withCtx(()=>[t.createVNode(t.unref(A.OInput),{size:"large",placeholder:t.unref(o)("meeting.enterActivityName"),modelValue:g.value.title,"onUpdate:modelValue":x[0]||(x[0]=L=>g.value.title=L)},null,8,["placeholder","modelValue"])]),_:1},8,["rules","label"]),t.createVNode(t.unref(A.OFormItem),{rules:w.value.organizer,label:t.unref(o)("meeting.activityOrganizer"),field:"organizer"},{default:t.withCtx(()=>[t.createVNode(t.unref(A.OSelect),{placeholder:t.unref(o)("meeting.selectActivityOrganizer"),size:"large",modelValue:g.value.organizer,"onUpdate:modelValue":x[1]||(x[1]=L=>g.value.organizer=L)},{default:t.withCtx(()=>[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(r.organizers,L=>(t.openBlock(),t.createBlock(t.unref(A.OOption),{key:L.name,value:L.name},{default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(L.name),1)]),_:2},1032,["value"]))),128))]),_:1},8,["placeholder","modelValue"])]),_:1},8,["rules","label"]),t.createVNode(t.unref(A.OFormItem),{rules:w.value.activity_type,label:t.unref(o)("meeting.activityType"),field:"activity_type"},{default:t.withCtx(()=>[t.createVNode(t.unref(A.OSelect),{placeholder:t.unref(o)("meeting.selectActivityType"),size:"large",modelValue:b.value,"onUpdate:modelValue":x[2]||(x[2]=L=>b.value=L),onChange:S},{default:t.withCtx(()=>[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(k.value,L=>(t.openBlock(),t.createBlock(t.unref(A.OOption),{key:L.value,value:L.label},{default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(L.label),1)]),_:2},1032,["value"]))),128))]),_:1},8,["placeholder","modelValue"])]),_:1},8,["rules","label"]),g.value.activity_type===1||g.value.activity_type===3?(t.openBlock(),t.createBlock(t.unref(A.OFormItem),{key:0,rules:w.value.address,label:t.unref(o)("meeting.activityAddress"),field:"address"},{default:t.withCtx(()=>[t.createVNode(t.unref(A.OInput),{size:"large",placeholder:t.unref(o)("meeting.enterActivityAddress"),modelValue:g.value.address,"onUpdate:modelValue":x[3]||(x[3]=L=>g.value.address=L)},null,8,["placeholder","modelValue"])]),_:1},8,["rules","label"])):t.createCommentVNode("",!0),t.createVNode(t.unref(A.OFormItem),{rules:w.value.start_date,label:t.unref(o)("meeting.activityTime"),field:"start_date",required:""},{default:t.withCtx(()=>[t.createElementVNode("div",kg,[t.createVNode(t.unref(A.OFormItem),{label:t.unref(o)("meeting.startDate"),field:"start_date"},{default:t.withCtx(()=>[t.createVNode(t.unref(tt.ElDatePicker),{size:"large",modelValue:g.value.start_date,"onUpdate:modelValue":x[4]||(x[4]=L=>g.value.start_date=L),type:"datetime",placeholder:t.unref(o)("meeting.selectDate"),format:"YYYY/MM/DD HH:mm","value-format":"YYYY-MM-DD HH:mm","disabled-date":D,clearable:!1,class:"date-activity"},null,8,["modelValue","placeholder"])]),_:1},8,["label"]),t.createVNode(t.unref(A.OFormItem),{label:t.unref(o)("meeting.endDate"),field:"end_date"},{default:t.withCtx(()=>[t.createVNode(t.unref(tt.ElDatePicker),{size:"large",modelValue:g.value.end_date,"onUpdate:modelValue":x[5]||(x[5]=L=>g.value.end_date=L),type:"datetime",placeholder:t.unref(o)("meeting.selectDate"),format:"YYYY/MM/DD HH:mm","value-format":"YYYY-MM-DD HH:mm","disabled-date":D,clearable:!1,class:"date-activity"},null,8,["modelValue","placeholder"])]),_:1},8,["label"])])]),_:1},8,["rules","label"]),t.createVNode(t.unref(A.OFormItem),{rules:w.value.register_end_date,label:t.unref(o)("meeting.registrationDeadline"),field:"register_end_date"},{default:t.withCtx(()=>[t.createVNode(t.unref(tt.ElDatePicker),{size:"large",modelValue:g.value.register_end_date,"onUpdate:modelValue":x[6]||(x[6]=L=>g.value.register_end_date=L),type:"datetime",placeholder:t.unref(o)("meeting.selectActivityDeadline"),format:"YYYY/MM/DD HH:mm","value-format":"YYYY-MM-DD HH:mm",clearable:!1,class:"date-activity"},null,8,["modelValue","placeholder"])]),_:1},8,["rules","label"]),t.createVNode(t.unref(A.OFormItem),{rules:w.value.register_url,label:t.unref(o)("meeting.registrationUrl"),field:"register_url"},{default:t.withCtx(()=>[t.createVNode(t.unref(A.OInput),{size:"large",placeholder:t.unref(o)("meeting.enterActivityRegistrationUrl"),modelValue:g.value.register_url,"onUpdate:modelValue":x[7]||(x[7]=L=>g.value.register_url=L)},null,8,["placeholder","modelValue"])]),_:1},8,["rules","label"]),t.createVNode(t.unref(A.OFormItem),{rules:w.value.content_url,label:t.unref(o)("meeting.activityDetailUrl"),field:"content_url"},{default:t.withCtx(()=>[t.createVNode(t.unref(A.OInput),{size:"large",placeholder:t.unref(o)("meeting.enterActivityDetailUrl"),modelValue:g.value.content_url,"onUpdate:modelValue":x[8]||(x[8]=L=>g.value.content_url=L)},null,8,["placeholder","modelValue"])]),_:1},8,["rules","label"]),t.createVNode(t.unref(A.OFormItem),{rules:w.value.synopsis,label:t.unref(o)("meeting.activityContent"),field:"synopsis"},{default:t.withCtx(()=>[t.createVNode(t.unref(A.OTextarea),{size:"large",placeholder:t.unref(o)("meeting.enterActivityContent"),modelValue:g.value.synopsis,"onUpdate:modelValue":x[9]||(x[9]=L=>g.value.synopsis=L)},null,8,["placeholder","modelValue"])]),_:1},8,["rules","label"]),t.createVNode(t.unref(A.OFormItem),{field:"email_list",rules:w.value.email_list,label:t.unref(o)("meeting.email")},{default:t.withCtx(()=>[t.createVNode(t.unref(A.OTextarea),{disabled:m.value,size:"large",placeholder:t.unref(l)("meeting.enterEmail"),rows:4,modelValue:g.value.email_list,"onUpdate:modelValue":x[10]||(x[10]=L=>g.value.email_list=L)},null,8,["disabled","placeholder","modelValue"])]),_:1},8,["rules","label"]),t.createVNode(t.unref(A.OFormItem),{rules:w.value.approver,label:t.unref(o)("meeting.activityApprover"),field:"approver"},{default:t.withCtx(()=>[t.createVNode(t.unref(A.OSelect),{placeholder:t.unref(o)("meeting.selectActivityApprover"),size:"large",modelValue:g.value.approver,"onUpdate:modelValue":x[11]||(x[11]=L=>g.value.approver=L)},{default:t.withCtx(()=>[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(v.value,L=>(t.openBlock(),t.createBlock(t.unref(A.OOption),{key:L,value:L},{default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(L),1)]),_:2},1032,["value"]))),128))]),_:1},8,["placeholder","modelValue"])]),_:1},8,["rules","label"])]),_:1},8,["model","layout"]),t.createElementVNode("div",_g,[t.createVNode(t.unref(A.OButton),{color:"primary",variant:"solid",size:"large",round:"pill",onClick:x[12]||(x[12]=L=>O(!0)),loading:C.value},{default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(m.value?t.unref(o)("common.save"):t.unref(o)("meeting.create")),1)]),_:1},8,["loading"]),m.value?t.createCommentVNode("",!0):(t.openBlock(),t.createBlock(t.unref(A.OButton),{key:0,color:"primary",variant:"outline",round:"pill",size:"large",onClick:x[13]||(x[13]=L=>O(!1)),loading:C.value},{default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(t.unref(o)("meeting.saveDraft")),1)]),_:1},8,["loading"])),t.createVNode(t.unref(A.OButton),{color:"primary",variant:"outline",size:"large",round:"pill",onClick:q},{default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(t.unref(o)("meeting.cancelBtn")),1)]),_:1})])]))}}),Sg={version:"1.1",xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"};function wg(r,e){return t.openBlock(),t.createElementBlock("svg",Sg,[...e[0]||(e[0]=[t.createElementVNode("path",{opacity:"0.8",fill:"#000",d:"M17.286 5c0.676 0 1.213 0.546 1.213 1.21 0 0.227-0.064 0.449-0.184 0.641l-0.065 0.093-1.24 1.62c-0.149 0.194-0.433 0.236-0.634 0.092-0.181-0.129-0.234-0.364-0.134-0.551l0.039-0.060 1.24-1.62c0.046-0.060 0.071-0.136 0.071-0.214 0-0.169-0.113-0.302-0.253-0.329l-0.054-0.005h-10.573c-0.064 0-0.126 0.022-0.179 0.064-0.126 0.099-0.162 0.281-0.092 0.426l0.036 0.059 4.207 5.495c0.138 0.18 0.221 0.394 0.243 0.617l0.006 0.112 0.015 3.985c0 0.088 0.033 0.171 0.087 0.232l0.045 0.042 1.525 1.158c0.052 0.040 0.114 0.060 0.176 0.060 0.146-0.001 0.274-0.116 0.301-0.275l0.005-0.062-0.020-5.134c-0.001-0.228 0.063-0.452 0.184-0.645l0.065-0.094 1.804-2.357c0.149-0.194 0.433-0.236 0.634-0.092 0.181 0.129 0.234 0.364 0.134 0.551l-0.039 0.060-1.805 2.357c-0.035 0.045-0.058 0.099-0.067 0.157l-0.005 0.059 0.020 5.134c0.003 0.663-0.533 1.212-1.209 1.214-0.23 0.001-0.454-0.063-0.647-0.183l-0.094-0.064-1.525-1.158c-0.267-0.203-0.436-0.506-0.471-0.834l-0.007-0.124-0.015-3.985c-0-0.059-0.015-0.115-0.041-0.165l-0.030-0.047-4.207-5.495c-0.401-0.523-0.308-1.272 0.211-1.682 0.183-0.145 0.405-0.234 0.637-0.256l0.117-0.006h10.573z"},null,-1)])])}const uc={name:"components-icon-filter",render:wg};/*! @license DOMPurify 2.5.9 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/2.5.9/LICENSE */function fn(r){"@babel/helpers - typeof";return fn=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},fn(r)}function el(r,e){return el=Object.setPrototypeOf||function(n,s){return n.__proto__=s,n},el(r,e)}function Dg(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function Zs(r,e,i){return Dg()?Zs=Reflect.construct:Zs=function(s,a,o){var l=[null];l.push.apply(l,a);var c=Function.bind.apply(s,l),d=new c;return o&&el(d,o.prototype),d},Zs.apply(null,arguments)}function Ii(r){return Bg(r)||Vg(r)||Ig(r)||Ng()}function Bg(r){if(Array.isArray(r))return tl(r)}function Vg(r){if(typeof Symbol<"u"&&r[Symbol.iterator]!=null||r["@@iterator"]!=null)return Array.from(r)}function Ig(r,e){if(r){if(typeof r=="string")return tl(r,e);var i=Object.prototype.toString.call(r).slice(8,-1);if(i==="Object"&&r.constructor&&(i=r.constructor.name),i==="Map"||i==="Set")return Array.from(r);if(i==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i))return tl(r,e)}}function tl(r,e){(e==null||e>r.length)&&(e=r.length);for(var i=0,n=new Array(e);i<e;i++)n[i]=r[i];return n}function Ng(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
|
|
2
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var Og=Object.hasOwnProperty,cc=Object.setPrototypeOf,Pg=Object.isFrozen,Mg=Object.getPrototypeOf,Lg=Object.getOwnPropertyDescriptor,ni=Object.freeze,Ti=Object.seal,Rg=Object.create,P0=typeof Reflect<"u"&&Reflect,ra=P0.apply,il=P0.construct;ra||(ra=function(e,i,n){return e.apply(i,n)});ni||(ni=function(e){return e});Ti||(Ti=function(e){return e});il||(il=function(e,i){return Zs(e,Ii(i))});var qg=Ai(Array.prototype.forEach),dc=Ai(Array.prototype.pop),qr=Ai(Array.prototype.push),$s=Ai(String.prototype.toLowerCase),fo=Ai(String.prototype.toString),hc=Ai(String.prototype.match),Vi=Ai(String.prototype.replace),Fg=Ai(String.prototype.indexOf),Ug=Ai(String.prototype.trim),zt=Ai(RegExp.prototype.test),po=zg(TypeError);function Ai(r){return function(e){for(var i=arguments.length,n=new Array(i>1?i-1:0),s=1;s<i;s++)n[s-1]=arguments[s];return ra(r,e,n)}}function zg(r){return function(){for(var e=arguments.length,i=new Array(e),n=0;n<e;n++)i[n]=arguments[n];return il(r,i)}}function $e(r,e,i){var n;i=(n=i)!==null&&n!==void 0?n:$s,cc&&cc(r,null);for(var s=e.length;s--;){var a=e[s];if(typeof a=="string"){var o=i(a);o!==a&&(Pg(e)||(e[s]=o),a=o)}r[a]=!0}return r}function En(r){var e=Rg(null),i;for(i in r)ra(Og,r,[i])===!0&&(e[i]=r[i]);return e}function qs(r,e){for(;r!==null;){var i=Lg(r,e);if(i){if(i.get)return Ai(i.get);if(typeof i.value=="function")return Ai(i.value)}r=Mg(r)}function n(s){return console.warn("fallback value for",s),null}return n}var fc=ni(["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","content","data","datalist","dd","decorator","del","details","dfn","dialog","dir","div","dl","dt","element","em","fieldset","figcaption","figure","font","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","img","input","ins","kbd","label","legend","li","main","map","mark","marquee","menu","menuitem","meter","nav","nobr","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","section","select","shadow","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"]),mo=ni(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","circle","clippath","defs","desc","ellipse","filter","font","g","glyph","glyphref","hkern","image","line","lineargradient","marker","mask","metadata","mpath","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","view","vkern"]),go=ni(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),Hg=ni(["animate","color-profile","cursor","discard","fedropshadow","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignobject","hatch","hatchpath","mesh","meshgradient","meshpatch","meshrow","missing-glyph","script","set","solidcolor","unknown","use"]),vo=ni(["math","menclose","merror","mfenced","mfrac","mglyph","mi","mlabeledtr","mmultiscripts","mn","mo","mover","mpadded","mphantom","mroot","mrow","ms","mspace","msqrt","mstyle","msub","msup","msubsup","mtable","mtd","mtext","mtr","munder","munderover"]),jg=ni(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),pc=ni(["#text"]),mc=ni(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","face","for","headers","height","hidden","high","href","hreflang","id","inputmode","integrity","ismap","kind","label","lang","list","loading","loop","low","max","maxlength","media","method","min","minlength","multiple","muted","name","nonce","noshade","novalidate","nowrap","open","optimum","pattern","placeholder","playsinline","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","spellcheck","scope","selected","shape","size","sizes","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","xmlns","slot"]),yo=ni(["accent-height","accumulate","additive","alignment-baseline","ascent","attributename","attributetype","azimuth","basefrequency","baseline-shift","begin","bias","by","class","clip","clippathunits","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","cx","cy","d","dx","dy","diffuseconstant","direction","display","divisor","dur","edgemode","elevation","end","fill","fill-opacity","fill-rule","filter","filterunits","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","fx","fy","g1","g2","glyph-name","glyphref","gradientunits","gradienttransform","height","href","id","image-rendering","in","in2","k","k1","k2","k3","k4","kerning","keypoints","keysplines","keytimes","lang","lengthadjust","letter-spacing","kernelmatrix","kernelunitlength","lighting-color","local","marker-end","marker-mid","marker-start","markerheight","markerunits","markerwidth","maskcontentunits","maskunits","max","mask","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","points","preservealpha","preserveaspectratio","primitiveunits","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","result","rotate","scale","seed","shape-rendering","specularconstant","specularexponent","spreadmethod","startoffset","stddeviation","stitchtiles","stop-color","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke","stroke-width","style","surfacescale","systemlanguage","tabindex","targetx","targety","transform","transform-origin","text-anchor","text-decoration","text-rendering","textlength","type","u1","u2","unicode","values","viewbox","visibility","version","vert-adv-y","vert-origin-x","vert-origin-y","width","word-spacing","wrap","writing-mode","xchannelselector","ychannelselector","x","x1","x2","xmlns","y","y1","y2","z","zoomandpan"]),gc=ni(["accent","accentunder","align","bevelled","close","columnsalign","columnlines","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lspace","lquote","mathbackground","mathcolor","mathsize","mathvariant","maxsize","minsize","movablelimits","notation","numalign","open","rowalign","rowlines","rowspacing","rowspan","rspace","rquote","scriptlevel","scriptminsize","scriptsizemultiplier","selection","separator","separators","stretchy","subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"]),Fs=ni(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),Xg=Ti(/\{\{[\w\W]*|[\w\W]*\}\}/gm),Gg=Ti(/<%[\w\W]*|[\w\W]*%>/gm),Qg=Ti(/\${[\w\W]*}/gm),Yg=Ti(/^data-[\-\w.\u00B7-\uFFFF]+$/),Kg=Ti(/^aria-[\-\w]+$/),Wg=Ti(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),Jg=Ti(/^(?:\w+script|data):/i),Zg=Ti(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),$g=Ti(/^html$/i),e1=Ti(/^[a-z][.\w]*(-[.\w]+)+$/i),t1=function(){return typeof window>"u"?null:window},i1=function(e,i){if(fn(e)!=="object"||typeof e.createPolicy!="function")return null;var n=null,s="data-tt-policy-suffix";i.currentScript&&i.currentScript.hasAttribute(s)&&(n=i.currentScript.getAttribute(s));var a="dompurify"+(n?"#"+n:"");try{return e.createPolicy(a,{createHTML:function(l){return l},createScriptURL:function(l){return l}})}catch{return console.warn("TrustedTypes policy "+a+" could not be created."),null}};function M0(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:t1(),e=function(ie){return M0(ie)};if(e.version="2.5.9",e.removed=[],!r||!r.document||r.document.nodeType!==9)return e.isSupported=!1,e;var i=r.document,n=r.document,s=r.DocumentFragment,a=r.HTMLTemplateElement,o=r.Node,l=r.Element,c=r.NodeFilter,d=r.NamedNodeMap,m=d===void 0?r.NamedNodeMap||r.MozNamedAttrMap:d,g=r.HTMLFormElement,E=r.DOMParser,C=r.trustedTypes,w=l.prototype,v=qs(w,"cloneNode"),b=qs(w,"nextSibling"),k=qs(w,"childNodes"),S=qs(w,"parentNode");if(typeof a=="function"){var D=n.createElement("template");D.content&&D.content.ownerDocument&&(n=D.content.ownerDocument)}var O=i1(C,i),q=O?O.createHTML(""):"",R=n,x=R.implementation,L=R.createNodeIterator,_=R.createDocumentFragment,V=R.getElementsByTagName,I=i.importNode,z={};try{z=En(n).documentMode?n.documentMode:{}}catch{}var M={};e.isSupported=typeof S=="function"&&x&&x.createHTMLDocument!==void 0&&z!==9;var U=Xg,P=Gg,te=Qg,j=Yg,G=Kg,ee=Jg,J=Zg,Q=e1,X=Wg,ne=null,ve=$e({},[].concat(Ii(fc),Ii(mo),Ii(go),Ii(vo),Ii(pc))),W=null,he=$e({},[].concat(Ii(mc),Ii(yo),Ii(gc),Ii(Fs))),ce=Object.seal(Object.create(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),Ee=null,fe=null,ke=!0,Re=!0,de=!1,Te=!0,De=!1,We=!0,qe=!1,ct=!1,Je=!1,Me=!1,Ie=!1,Ae=!1,xe=!0,se=!1,oe="user-content-",ye=!0,pe=!1,le={},be=null,He=$e({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]),Ve=null,it=$e({},["audio","video","img","source","image","track"]),ze=null,gt=$e({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),st="http://www.w3.org/1998/Math/MathML",Nt="http://www.w3.org/2000/svg",Dt="http://www.w3.org/1999/xhtml",qt=Dt,ri=!1,Ft=null,vi=$e({},[st,Nt,Dt],fo),Ot,yi=["application/xhtml+xml","text/html"],B="text/html",N,$=null,ue=n.createElement("form"),Be=function(ie){return ie instanceof RegExp||ie instanceof Function},Xe=function(ie){$&&$===ie||((!ie||fn(ie)!=="object")&&(ie={}),ie=En(ie),Ot=yi.indexOf(ie.PARSER_MEDIA_TYPE)===-1?Ot=B:Ot=ie.PARSER_MEDIA_TYPE,N=Ot==="application/xhtml+xml"?fo:$s,ne="ALLOWED_TAGS"in ie?$e({},ie.ALLOWED_TAGS,N):ve,W="ALLOWED_ATTR"in ie?$e({},ie.ALLOWED_ATTR,N):he,Ft="ALLOWED_NAMESPACES"in ie?$e({},ie.ALLOWED_NAMESPACES,fo):vi,ze="ADD_URI_SAFE_ATTR"in ie?$e(En(gt),ie.ADD_URI_SAFE_ATTR,N):gt,Ve="ADD_DATA_URI_TAGS"in ie?$e(En(it),ie.ADD_DATA_URI_TAGS,N):it,be="FORBID_CONTENTS"in ie?$e({},ie.FORBID_CONTENTS,N):He,Ee="FORBID_TAGS"in ie?$e({},ie.FORBID_TAGS,N):{},fe="FORBID_ATTR"in ie?$e({},ie.FORBID_ATTR,N):{},le="USE_PROFILES"in ie?ie.USE_PROFILES:!1,ke=ie.ALLOW_ARIA_ATTR!==!1,Re=ie.ALLOW_DATA_ATTR!==!1,de=ie.ALLOW_UNKNOWN_PROTOCOLS||!1,Te=ie.ALLOW_SELF_CLOSE_IN_ATTR!==!1,De=ie.SAFE_FOR_TEMPLATES||!1,We=ie.SAFE_FOR_XML!==!1,qe=ie.WHOLE_DOCUMENT||!1,Me=ie.RETURN_DOM||!1,Ie=ie.RETURN_DOM_FRAGMENT||!1,Ae=ie.RETURN_TRUSTED_TYPE||!1,Je=ie.FORCE_BODY||!1,xe=ie.SANITIZE_DOM!==!1,se=ie.SANITIZE_NAMED_PROPS||!1,ye=ie.KEEP_CONTENT!==!1,pe=ie.IN_PLACE||!1,X=ie.ALLOWED_URI_REGEXP||X,qt=ie.NAMESPACE||Dt,ce=ie.CUSTOM_ELEMENT_HANDLING||{},ie.CUSTOM_ELEMENT_HANDLING&&Be(ie.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(ce.tagNameCheck=ie.CUSTOM_ELEMENT_HANDLING.tagNameCheck),ie.CUSTOM_ELEMENT_HANDLING&&Be(ie.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(ce.attributeNameCheck=ie.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),ie.CUSTOM_ELEMENT_HANDLING&&typeof ie.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements=="boolean"&&(ce.allowCustomizedBuiltInElements=ie.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),De&&(Re=!1),Ie&&(Me=!0),le&&(ne=$e({},Ii(pc)),W=[],le.html===!0&&($e(ne,fc),$e(W,mc)),le.svg===!0&&($e(ne,mo),$e(W,yo),$e(W,Fs)),le.svgFilters===!0&&($e(ne,go),$e(W,yo),$e(W,Fs)),le.mathMl===!0&&($e(ne,vo),$e(W,gc),$e(W,Fs))),ie.ADD_TAGS&&(ne===ve&&(ne=En(ne)),$e(ne,ie.ADD_TAGS,N)),ie.ADD_ATTR&&(W===he&&(W=En(W)),$e(W,ie.ADD_ATTR,N)),ie.ADD_URI_SAFE_ATTR&&$e(ze,ie.ADD_URI_SAFE_ATTR,N),ie.FORBID_CONTENTS&&(be===He&&(be=En(be)),$e(be,ie.FORBID_CONTENTS,N)),ye&&(ne["#text"]=!0),qe&&$e(ne,["html","head","body"]),ne.table&&($e(ne,["tbody"]),delete Ee.tbody),ni&&ni(ie),$=ie)},at=$e({},["mi","mo","mn","ms","mtext"]),Bt=$e({},["annotation-xml"]),Kt=$e({},["title","style","font","a","script"]),jt=$e({},mo);$e(jt,go),$e(jt,Hg);var Ut=$e({},vo);$e(Ut,jg);var si=function(ie){var _e=S(ie);(!_e||!_e.tagName)&&(_e={namespaceURI:qt,tagName:"template"});var Pe=$s(ie.tagName),rt=$s(_e.tagName);return Ft[ie.namespaceURI]?ie.namespaceURI===Nt?_e.namespaceURI===Dt?Pe==="svg":_e.namespaceURI===st?Pe==="svg"&&(rt==="annotation-xml"||at[rt]):!!jt[Pe]:ie.namespaceURI===st?_e.namespaceURI===Dt?Pe==="math":_e.namespaceURI===Nt?Pe==="math"&&Bt[rt]:!!Ut[Pe]:ie.namespaceURI===Dt?_e.namespaceURI===Nt&&!Bt[rt]||_e.namespaceURI===st&&!at[rt]?!1:!Ut[Pe]&&(Kt[Pe]||!jt[Pe]):!!(Ot==="application/xhtml+xml"&&Ft[ie.namespaceURI]):!1},nt=function(ie){qr(e.removed,{element:ie});try{ie.parentNode.removeChild(ie)}catch{try{ie.outerHTML=q}catch{ie.remove()}}},ai=function(ie,_e){try{qr(e.removed,{attribute:_e.getAttributeNode(ie),from:_e})}catch{qr(e.removed,{attribute:null,from:_e})}if(_e.removeAttribute(ie),ie==="is"&&!W[ie])if(Me||Ie)try{nt(_e)}catch{}else try{_e.setAttribute(ie,"")}catch{}},Wt=function(ie){var _e,Pe;if(Je)ie="<remove></remove>"+ie;else{var rt=hc(ie,/^[\r\n\t ]+/);Pe=rt&&rt[0]}Ot==="application/xhtml+xml"&&qt===Dt&&(ie='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+ie+"</body></html>");var Xt=O?O.createHTML(ie):ie;if(qt===Dt)try{_e=new E().parseFromString(Xt,Ot)}catch{}if(!_e||!_e.documentElement){_e=x.createDocument(qt,"template",null);try{_e.documentElement.innerHTML=ri?q:Xt}catch{}}var It=_e.body||_e.documentElement;return ie&&Pe&&It.insertBefore(n.createTextNode(Pe),It.childNodes[0]||null),qt===Dt?V.call(_e,qe?"html":"body")[0]:qe?_e.documentElement:It},Jt=function(ie){return L.call(ie.ownerDocument||ie,ie,c.SHOW_ELEMENT|c.SHOW_COMMENT|c.SHOW_TEXT|c.SHOW_PROCESSING_INSTRUCTION|c.SHOW_CDATA_SECTION,null,!1)},Vt=function(ie){return ie instanceof g&&(typeof ie.nodeName!="string"||typeof ie.textContent!="string"||typeof ie.removeChild!="function"||!(ie.attributes instanceof m)||typeof ie.removeAttribute!="function"||typeof ie.setAttribute!="function"||typeof ie.namespaceURI!="string"||typeof ie.insertBefore!="function"||typeof ie.hasChildNodes!="function")},ft=function(ie){return fn(o)==="object"?ie instanceof o:ie&&fn(ie)==="object"&&typeof ie.nodeType=="number"&&typeof ie.nodeName=="string"},Ze=function(ie,_e,Pe){M[ie]&&qg(M[ie],function(rt){rt.call(e,_e,Pe,$)})},_i=function(ie){var _e;if(Ze("beforeSanitizeElements",ie,null),Vt(ie)||zt(/[\u0080-\uFFFF]/,ie.nodeName))return nt(ie),!0;var Pe=N(ie.nodeName);if(Ze("uponSanitizeElement",ie,{tagName:Pe,allowedTags:ne}),ie.hasChildNodes()&&!ft(ie.firstElementChild)&&(!ft(ie.content)||!ft(ie.content.firstElementChild))&&zt(/<[/\w]/g,ie.innerHTML)&&zt(/<[/\w]/g,ie.textContent)||Pe==="select"&&zt(/<template/i,ie.innerHTML)||ie.nodeType===7||We&&ie.nodeType===8&&zt(/<[/\w]/g,ie.data))return nt(ie),!0;if(!ne[Pe]||Ee[Pe]){if(!Ee[Pe]&&Cn(Pe)&&(ce.tagNameCheck instanceof RegExp&&zt(ce.tagNameCheck,Pe)||ce.tagNameCheck instanceof Function&&ce.tagNameCheck(Pe)))return!1;if(ye&&!be[Pe]){var rt=S(ie)||ie.parentNode,Xt=k(ie)||ie.childNodes;if(Xt&&rt)for(var It=Xt.length,xt=It-1;xt>=0;--xt){var Si=v(Xt[xt],!0);Si.__removalCount=(ie.__removalCount||0)+1,rt.insertBefore(Si,b(ie))}}return nt(ie),!0}return ie instanceof l&&!si(ie)||(Pe==="noscript"||Pe==="noembed"||Pe==="noframes")&&zt(/<\/no(script|embed|frames)/i,ie.innerHTML)?(nt(ie),!0):(De&&ie.nodeType===3&&(_e=ie.textContent,_e=Vi(_e,U," "),_e=Vi(_e,P," "),_e=Vi(_e,te," "),ie.textContent!==_e&&(qr(e.removed,{element:ie.cloneNode()}),ie.textContent=_e)),Ze("afterSanitizeElements",ie,null),!1)},Mi=function(ie,_e,Pe){if(xe&&(_e==="id"||_e==="name")&&(Pe in n||Pe in ue))return!1;if(!(Re&&!fe[_e]&&zt(j,_e))){if(!(ke&&zt(G,_e))){if(!W[_e]||fe[_e]){if(!(Cn(ie)&&(ce.tagNameCheck instanceof RegExp&&zt(ce.tagNameCheck,ie)||ce.tagNameCheck instanceof Function&&ce.tagNameCheck(ie))&&(ce.attributeNameCheck instanceof RegExp&&zt(ce.attributeNameCheck,_e)||ce.attributeNameCheck instanceof Function&&ce.attributeNameCheck(_e))||_e==="is"&&ce.allowCustomizedBuiltInElements&&(ce.tagNameCheck instanceof RegExp&&zt(ce.tagNameCheck,Pe)||ce.tagNameCheck instanceof Function&&ce.tagNameCheck(Pe))))return!1}else if(!ze[_e]){if(!zt(X,Vi(Pe,J,""))){if(!((_e==="src"||_e==="xlink:href"||_e==="href")&&ie!=="script"&&Fg(Pe,"data:")===0&&Ve[ie])){if(!(de&&!zt(ee,Vi(Pe,J,"")))){if(Pe)return!1}}}}}}return!0},Cn=function(ie){return ie!=="annotation-xml"&&hc(ie,Q)},ys=function(ie){var _e,Pe,rt,Xt;Ze("beforeSanitizeAttributes",ie,null);var It=ie.attributes;if(!(!It||Vt(ie))){var xt={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:W};for(Xt=It.length;Xt--;){_e=It[Xt];var Si=_e,Tt=Si.name,Tr=Si.namespaceURI;if(Pe=Tt==="value"?_e.value:Ug(_e.value),rt=N(Tt),xt.attrName=rt,xt.attrValue=Pe,xt.keepAttr=!0,xt.forceKeepAttr=void 0,Ze("uponSanitizeAttribute",ie,xt),Pe=xt.attrValue,!xt.forceKeepAttr&&(ai(Tt,ie),!!xt.keepAttr)){if(!Te&&zt(/\/>/i,Pe)){ai(Tt,ie);continue}De&&(Pe=Vi(Pe,U," "),Pe=Vi(Pe,P," "),Pe=Vi(Pe,te," "));var bs=N(ie.nodeName);if(Mi(bs,rt,Pe)){if(se&&(rt==="id"||rt==="name")&&(ai(Tt,ie),Pe=oe+Pe),We&&zt(/((--!?|])>)|<\/(style|script|title|xmp|textarea|noscript|iframe|noembed|noframes)/i,Pe)){ai(Tt,ie);continue}if(O&&fn(C)==="object"&&typeof C.getAttributeType=="function"&&!Tr)switch(C.getAttributeType(bs,rt)){case"TrustedHTML":{Pe=O.createHTML(Pe);break}case"TrustedScriptURL":{Pe=O.createScriptURL(Pe);break}}try{Tr?ie.setAttributeNS(Tr,Tt,Pe):ie.setAttribute(Tt,Pe),Vt(ie)?nt(ie):dc(e.removed)}catch{}}}}Ze("afterSanitizeAttributes",ie,null)}},Yi=function Ne(ie){var _e,Pe=Jt(ie);for(Ze("beforeSanitizeShadowDOM",ie,null);_e=Pe.nextNode();)Ze("uponSanitizeShadowNode",_e,null),_i(_e),ys(_e),_e.content instanceof s&&Ne(_e.content);Ze("afterSanitizeShadowDOM",ie,null)};return e.sanitize=function(Ne){var ie=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},_e,Pe,rt,Xt,It;if(ri=!Ne,ri&&(Ne="<!-->"),typeof Ne!="string"&&!ft(Ne))if(typeof Ne.toString=="function"){if(Ne=Ne.toString(),typeof Ne!="string")throw po("dirty is not a string, aborting")}else throw po("toString is not a function");if(!e.isSupported){if(fn(r.toStaticHTML)==="object"||typeof r.toStaticHTML=="function"){if(typeof Ne=="string")return r.toStaticHTML(Ne);if(ft(Ne))return r.toStaticHTML(Ne.outerHTML)}return Ne}if(ct||Xe(ie),e.removed=[],typeof Ne=="string"&&(pe=!1),pe){if(Ne.nodeName){var xt=N(Ne.nodeName);if(!ne[xt]||Ee[xt])throw po("root node is forbidden and cannot be sanitized in-place")}}else if(Ne instanceof o)_e=Wt("<!---->"),Pe=_e.ownerDocument.importNode(Ne,!0),Pe.nodeType===1&&Pe.nodeName==="BODY"||Pe.nodeName==="HTML"?_e=Pe:_e.appendChild(Pe);else{if(!Me&&!De&&!qe&&Ne.indexOf("<")===-1)return O&&Ae?O.createHTML(Ne):Ne;if(_e=Wt(Ne),!_e)return Me?null:Ae?q:""}_e&&Je&&nt(_e.firstChild);for(var Si=Jt(pe?Ne:_e);rt=Si.nextNode();)rt.nodeType===3&&rt===Xt||(_i(rt),ys(rt),rt.content instanceof s&&Yi(rt.content),Xt=rt);if(Xt=null,pe)return Ne;if(Me){if(Ie)for(It=_.call(_e.ownerDocument);_e.firstChild;)It.appendChild(_e.firstChild);else It=_e;return(W.shadowroot||W.shadowrootmod)&&(It=I.call(i,It,!0)),It}var Tt=qe?_e.outerHTML:_e.innerHTML;return qe&&ne["!doctype"]&&_e.ownerDocument&&_e.ownerDocument.doctype&&_e.ownerDocument.doctype.name&&zt($g,_e.ownerDocument.doctype.name)&&(Tt="<!DOCTYPE "+_e.ownerDocument.doctype.name+`>
|
|
3
|
+
`+Tt),De&&(Tt=Vi(Tt,U," "),Tt=Vi(Tt,P," "),Tt=Vi(Tt,te," ")),O&&Ae?O.createHTML(Tt):Tt},e.setConfig=function(Ne){Xe(Ne),ct=!0},e.clearConfig=function(){$=null,ct=!1},e.isValidAttribute=function(Ne,ie,_e){$||Xe({});var Pe=N(Ne),rt=N(ie);return Mi(Pe,rt,_e)},e.addHook=function(Ne,ie){typeof ie=="function"&&(M[Ne]=M[Ne]||[],qr(M[Ne],ie))},e.removeHook=function(Ne){if(M[Ne])return dc(M[Ne])},e.removeHooks=function(Ne){M[Ne]&&(M[Ne]=[])},e.removeAllHooks=function(){M={}},e}var n1=M0();function r1(r,e){const i=r.hooks??{};let n;for(n in i){const s=i[n];s!==void 0&&e.addHook(n,s)}}function s1(){return n1()}function us(r={},e=s1){const i=e();r1(r,i);const n=function(s,a){const o=a.value;if(a.oldValue===o)return;const l=`${o}`,c=a.arg,d=r.namedConfigurations,m=r.default??{};if(d&&c!==void 0){s.innerHTML=i.sanitize(l,d[c]??m);return}s.innerHTML=i.sanitize(l,m)};return{mounted:n,updated:n}}const a1={class:"th-filter-wrapper",ref:"filterRef"},o1={key:1,class:"list-content-wrapper"},l1={class:"btn-wrapper"},vc=t.defineComponent({__name:"ThFilter",props:{modelValue:{},list:{default:()=>[]},multiple:{type:Boolean,default:!1},tableWidth:{}},emits:["update:model-value","confirm"],setup(r,{emit:e}){const i=us(),{t:n}=Ue.useI18n(),s=r,a=e,o=t.computed(()=>s.list.some(O=>{var q;return(q=O.children)==null?void 0:q.length})),l=t.computed(()=>s.list.map(O=>{const q=(O.children||[]).map(R=>({label:R.label,value:R.value}));return{label:O.label,value:O.value,children:o.value?q:void 0}})),c=t.ref(!1);t.watch(()=>s.modelValue,O=>{s.multiple?d.value=O:E.value=O});const d=t.ref([]),m=O=>{d.value=O},g=t.ref([]),E=t.ref(null),C=O=>{E.value===O?E.value=null:E.value=O,v()},w=()=>{d.value=[],g.value=[],E.value=null,v()},v=()=>{let O=null;s.multiple?o.value?O=g.value:O=d.value:O=E.value,a("update:model-value",O),c.value=!0,t.nextTick(()=>{a("confirm"),c.value=!1})},b=t.computed(()=>d.value.length||g.value.length||E.value||s.modelValue),k=t.ref(null),S=async O=>{var x,L;const q=O.target.parentElement.parentElement;await t.nextTick();const R=q.querySelector("input");R.click(),await t.nextTick(),(x=R.change)==null||x.call(R,R),await t.nextTick(),(L=k.value)==null||L.$forceUpdate(),g.value=JSON.parse(JSON.stringify(g.value))},D=({data:O})=>t.h("span",{onclick:S},O.label);return(O,q)=>{const R=t.resolveComponent("ElCascaderPanel");return t.openBlock(),t.createElementBlock("div",a1,[t.createElementVNode("span",null,[t.renderSlot(O.$slots,"default")]),r.multiple?(t.openBlock(),t.createBlock(t.unref(A.OPopover),{key:0,visible:c.value,position:"bottom",wrapClass:"th-filter-popover",trigger:"click",anchor:!1},{target:t.withCtx(()=>[t.createElementVNode("div",{class:t.normalizeClass(["filter-wrapper",b.value&&"has-checked"])},[t.createVNode(t.unref(A.OIcon),{class:"filter-icon"},{default:t.withCtx(()=>[t.createVNode(t.unref(uc))]),_:1})],2)]),default:t.withCtx(()=>[o.value?(t.openBlock(),t.createElementBlock("div",o1,[t.createVNode(R,{ref_key:"aref",ref:k,expandTrigger:"hover",renderLabel:D,modelValue:g.value,"onUpdate:modelValue":q[1]||(q[1]=x=>g.value=x),style:{width:"fit-content"},options:l.value,props:{multiple:!0,expandTrigger:"hover"}},null,8,["modelValue","options"])])):(t.openBlock(),t.createBlock(t.unref(A.OScroller),{key:0,class:"content-wrapper","show-type":"hover","disabled-x":""},{default:t.withCtx(()=>[t.createVNode(t.unref(A.OCheckboxGroup),{direction:"v",onChange:m,modelValue:d.value,"onUpdate:modelValue":q[0]||(q[0]=x=>d.value=x)},{default:t.withCtx(()=>[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(l.value,x=>(t.openBlock(),t.createBlock(t.unref(A.OCheckbox),{key:x.value,value:x.value},{default:t.withCtx(()=>[t.withDirectives(t.createElementVNode("span",null,null,512),[[t.unref(i),x.label]])]),_:2},1032,["value"]))),128))]),_:1},8,["modelValue"])]),_:1})),t.createVNode(t.unref(A.ODivider)),t.createElementVNode("div",l1,[t.createVNode(t.unref(A.OLink),{onClick:w},{default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(t.unref(n)("common.reset")),1)]),_:1}),t.createVNode(t.unref(A.OLink),{onClick:v},{default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(t.unref(n)("common.confirm")),1)]),_:1})])]),_:1},8,["visible"])):(t.openBlock(),t.createBlock(t.unref(A.ODropdown),{key:1,optionPosition:"bottom",optionWrapClass:"th-filter-dropdown",modelValue:E.value,"onUpdate:modelValue":q[3]||(q[3]=x=>E.value=x)},{dropdown:t.withCtx(()=>[l.value.length?(t.openBlock(),t.createBlock(t.unref(A.OScroller),{key:0,"disabled-x":"",style:{"max-height":"300px"},"show-type":"always"},{default:t.withCtx(()=>[t.createVNode(t.unref(A.ODropdownItem),{style:t.normalizeStyle({"--table-width":r.tableWidth}),class:t.normalizeClass([{"is-active":r.modelValue===""}]),value:"''",label:t.unref(n)("common.all"),onClick:q[2]||(q[2]=x=>C(""))},null,8,["style","class","label"]),(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(l.value,x=>(t.openBlock(),t.createBlock(t.unref(A.ODropdownItem),{style:t.normalizeStyle({"--table-width":r.tableWidth}),class:t.normalizeClass([{"is-active":x.value===r.modelValue}]),key:x.value,value:x.value,onClick:L=>C(x.value)},{default:t.withCtx(()=>[t.withDirectives(t.createElementVNode("span",null,null,512),[[t.unref(i),x.label]])]),_:2},1032,["style","class","value","onClick"]))),128))]),_:1})):t.createCommentVNode("",!0),l.value.length?t.createCommentVNode("",!0):t.renderSlot(O.$slots,"empty",{key:1})]),default:t.withCtx(()=>[t.createElementVNode("div",{class:t.normalizeClass(["filter-wrapper",b.value&&"has-checked"])},[t.createVNode(t.unref(A.OIcon),{class:"filter-icon"},{default:t.withCtx(()=>[t.createVNode(t.unref(uc))]),_:1})],2)]),_:3},8,["modelValue"]))],512)}}});var sa=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function fr(r){return r&&r.__esModule&&Object.prototype.hasOwnProperty.call(r,"default")?r.default:r}function u1(r){if(Object.prototype.hasOwnProperty.call(r,"__esModule"))return r;var e=r.default;if(typeof e=="function"){var i=function n(){return this instanceof n?Reflect.construct(e,arguments,this.constructor):e.apply(this,arguments)};i.prototype=e.prototype}else i={};return Object.defineProperty(i,"__esModule",{value:!0}),Object.keys(r).forEach(function(n){var s=Object.getOwnPropertyDescriptor(r,n);Object.defineProperty(i,n,s.get?s:{enumerable:!0,get:function(){return r[n]}})}),i}var ea={exports:{}},c1=ea.exports,yc;function d1(){return yc||(yc=1,(function(r,e){(function(i,n){r.exports=n()})(c1,(function(){var i=1e3,n=6e4,s=36e5,a="millisecond",o="second",l="minute",c="hour",d="day",m="week",g="month",E="quarter",C="year",w="date",v="Invalid Date",b=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,k=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,S={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(U){var P=["th","st","nd","rd"],te=U%100;return"["+U+(P[(te-20)%10]||P[te]||P[0])+"]"}},D=function(U,P,te){var j=String(U);return!j||j.length>=P?U:""+Array(P+1-j.length).join(te)+U},O={s:D,z:function(U){var P=-U.utcOffset(),te=Math.abs(P),j=Math.floor(te/60),G=te%60;return(P<=0?"+":"-")+D(j,2,"0")+":"+D(G,2,"0")},m:function U(P,te){if(P.date()<te.date())return-U(te,P);var j=12*(te.year()-P.year())+(te.month()-P.month()),G=P.clone().add(j,g),ee=te-G<0,J=P.clone().add(j+(ee?-1:1),g);return+(-(j+(te-G)/(ee?G-J:J-G))||0)},a:function(U){return U<0?Math.ceil(U)||0:Math.floor(U)},p:function(U){return{M:g,y:C,w:m,d,D:w,h:c,m:l,s:o,ms:a,Q:E}[U]||String(U||"").toLowerCase().replace(/s$/,"")},u:function(U){return U===void 0}},q="en",R={};R[q]=S;var x="$isDayjsObject",L=function(U){return U instanceof z||!(!U||!U[x])},_=function U(P,te,j){var G;if(!P)return q;if(typeof P=="string"){var ee=P.toLowerCase();R[ee]&&(G=ee),te&&(R[ee]=te,G=ee);var J=P.split("-");if(!G&&J.length>1)return U(J[0])}else{var Q=P.name;R[Q]=P,G=Q}return!j&&G&&(q=G),G||!j&&q},V=function(U,P){if(L(U))return U.clone();var te=typeof P=="object"?P:{};return te.date=U,te.args=arguments,new z(te)},I=O;I.l=_,I.i=L,I.w=function(U,P){return V(U,{locale:P.$L,utc:P.$u,x:P.$x,$offset:P.$offset})};var z=(function(){function U(te){this.$L=_(te.locale,null,!0),this.parse(te),this.$x=this.$x||te.x||{},this[x]=!0}var P=U.prototype;return P.parse=function(te){this.$d=(function(j){var G=j.date,ee=j.utc;if(G===null)return new Date(NaN);if(I.u(G))return new Date;if(G instanceof Date)return new Date(G);if(typeof G=="string"&&!/Z$/i.test(G)){var J=G.match(b);if(J){var Q=J[2]-1||0,X=(J[7]||"0").substring(0,3);return ee?new Date(Date.UTC(J[1],Q,J[3]||1,J[4]||0,J[5]||0,J[6]||0,X)):new Date(J[1],Q,J[3]||1,J[4]||0,J[5]||0,J[6]||0,X)}}return new Date(G)})(te),this.init()},P.init=function(){var te=this.$d;this.$y=te.getFullYear(),this.$M=te.getMonth(),this.$D=te.getDate(),this.$W=te.getDay(),this.$H=te.getHours(),this.$m=te.getMinutes(),this.$s=te.getSeconds(),this.$ms=te.getMilliseconds()},P.$utils=function(){return I},P.isValid=function(){return this.$d.toString()!==v},P.isSame=function(te,j){var G=V(te);return this.startOf(j)<=G&&G<=this.endOf(j)},P.isAfter=function(te,j){return V(te)<this.startOf(j)},P.isBefore=function(te,j){return this.endOf(j)<V(te)},P.$g=function(te,j,G){return I.u(te)?this[j]:this.set(G,te)},P.unix=function(){return Math.floor(this.valueOf()/1e3)},P.valueOf=function(){return this.$d.getTime()},P.startOf=function(te,j){var G=this,ee=!!I.u(j)||j,J=I.p(te),Q=function(fe,ke){var Re=I.w(G.$u?Date.UTC(G.$y,ke,fe):new Date(G.$y,ke,fe),G);return ee?Re:Re.endOf(d)},X=function(fe,ke){return I.w(G.toDate()[fe].apply(G.toDate("s"),(ee?[0,0,0,0]:[23,59,59,999]).slice(ke)),G)},ne=this.$W,ve=this.$M,W=this.$D,he="set"+(this.$u?"UTC":"");switch(J){case C:return ee?Q(1,0):Q(31,11);case g:return ee?Q(1,ve):Q(0,ve+1);case m:var ce=this.$locale().weekStart||0,Ee=(ne<ce?ne+7:ne)-ce;return Q(ee?W-Ee:W+(6-Ee),ve);case d:case w:return X(he+"Hours",0);case c:return X(he+"Minutes",1);case l:return X(he+"Seconds",2);case o:return X(he+"Milliseconds",3);default:return this.clone()}},P.endOf=function(te){return this.startOf(te,!1)},P.$set=function(te,j){var G,ee=I.p(te),J="set"+(this.$u?"UTC":""),Q=(G={},G[d]=J+"Date",G[w]=J+"Date",G[g]=J+"Month",G[C]=J+"FullYear",G[c]=J+"Hours",G[l]=J+"Minutes",G[o]=J+"Seconds",G[a]=J+"Milliseconds",G)[ee],X=ee===d?this.$D+(j-this.$W):j;if(ee===g||ee===C){var ne=this.clone().set(w,1);ne.$d[Q](X),ne.init(),this.$d=ne.set(w,Math.min(this.$D,ne.daysInMonth())).$d}else Q&&this.$d[Q](X);return this.init(),this},P.set=function(te,j){return this.clone().$set(te,j)},P.get=function(te){return this[I.p(te)]()},P.add=function(te,j){var G,ee=this;te=Number(te);var J=I.p(j),Q=function(ve){var W=V(ee);return I.w(W.date(W.date()+Math.round(ve*te)),ee)};if(J===g)return this.set(g,this.$M+te);if(J===C)return this.set(C,this.$y+te);if(J===d)return Q(1);if(J===m)return Q(7);var X=(G={},G[l]=n,G[c]=s,G[o]=i,G)[J]||1,ne=this.$d.getTime()+te*X;return I.w(ne,this)},P.subtract=function(te,j){return this.add(-1*te,j)},P.format=function(te){var j=this,G=this.$locale();if(!this.isValid())return G.invalidDate||v;var ee=te||"YYYY-MM-DDTHH:mm:ssZ",J=I.z(this),Q=this.$H,X=this.$m,ne=this.$M,ve=G.weekdays,W=G.months,he=G.meridiem,ce=function(ke,Re,de,Te){return ke&&(ke[Re]||ke(j,ee))||de[Re].slice(0,Te)},Ee=function(ke){return I.s(Q%12||12,ke,"0")},fe=he||function(ke,Re,de){var Te=ke<12?"AM":"PM";return de?Te.toLowerCase():Te};return ee.replace(k,(function(ke,Re){return Re||(function(de){switch(de){case"YY":return String(j.$y).slice(-2);case"YYYY":return I.s(j.$y,4,"0");case"M":return ne+1;case"MM":return I.s(ne+1,2,"0");case"MMM":return ce(G.monthsShort,ne,W,3);case"MMMM":return ce(W,ne);case"D":return j.$D;case"DD":return I.s(j.$D,2,"0");case"d":return String(j.$W);case"dd":return ce(G.weekdaysMin,j.$W,ve,2);case"ddd":return ce(G.weekdaysShort,j.$W,ve,3);case"dddd":return ve[j.$W];case"H":return String(Q);case"HH":return I.s(Q,2,"0");case"h":return Ee(1);case"hh":return Ee(2);case"a":return fe(Q,X,!0);case"A":return fe(Q,X,!1);case"m":return String(X);case"mm":return I.s(X,2,"0");case"s":return String(j.$s);case"ss":return I.s(j.$s,2,"0");case"SSS":return I.s(j.$ms,3,"0");case"Z":return J}return null})(ke)||J.replace(":","")}))},P.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},P.diff=function(te,j,G){var ee,J=this,Q=I.p(j),X=V(te),ne=(X.utcOffset()-this.utcOffset())*n,ve=this-X,W=function(){return I.m(J,X)};switch(Q){case C:ee=W()/12;break;case g:ee=W();break;case E:ee=W()/3;break;case m:ee=(ve-ne)/6048e5;break;case d:ee=(ve-ne)/864e5;break;case c:ee=ve/s;break;case l:ee=ve/n;break;case o:ee=ve/i;break;default:ee=ve}return G?ee:I.a(ee)},P.daysInMonth=function(){return this.endOf(g).$D},P.$locale=function(){return R[this.$L]},P.locale=function(te,j){if(!te)return this.$L;var G=this.clone(),ee=_(te,j,!0);return ee&&(G.$L=ee),G},P.clone=function(){return I.w(this.$d,this)},P.toDate=function(){return new Date(this.valueOf())},P.toJSON=function(){return this.isValid()?this.toISOString():null},P.toISOString=function(){return this.$d.toISOString()},P.toString=function(){return this.$d.toUTCString()},U})(),M=z.prototype;return V.prototype=M,[["$ms",a],["$s",o],["$m",l],["$H",c],["$W",d],["$M",g],["$y",C],["$D",w]].forEach((function(U){M[U[1]]=function(P){return this.$g(P,U[0],U[1])}})),V.extend=function(U,P){return U.$i||(U(P,z,V),U.$i=!0),V},V.locale=_,V.isDayjs=L,V.unix=function(U){return V(1e3*U)},V.en=R[q],V.Ls=R,V.p={},V}))})(ea)),ea.exports}var h1=d1();const Se=fr(h1),dt=(r=new Date,e="YYYY/MM/DD")=>{let i=r;return i||(i=void 0),Se(new Date(i)).isValid()?Se(new Date(i)).format(e):i},f1=(r,e,i="label",n="value")=>{const s=e.find(a=>a[n]===r);return(s==null?void 0:s[i])||r},p1=r=>{const e=/\d+/g,i=r.match(e)||"";return parseInt(i[0])},Vn=r=>{const e=r.split(":");if(e.length>3||!e.length)return 0;let i=0,n=1;for(;e.length>0;){const s=e.pop();i+=parseInt(s)*n,n*=60}return i},bo=r=>r<0?"Invalid number":r>=10?`${r}`:`0${r}`,bc=r=>{if(r>1440*60)return"Invalid date";const e=Math.floor(r/60/60),i=Math.floor((r-e*60*60)/60),n=r%60;return`${bo(e)}:${bo(i)}:${bo(n)}`},Xr=r=>{const e=r.split(":"),i=e[e.length-3]?parseInt(e[e.length-3]):0,n=parseInt(e[e.length-2]),s=parseFloat(e[e.length-1]);return i*60*60+n*60+s},m1=r=>{const e=Math.floor(r/3600),i=Math.floor((r-e*3600)/60),n=Math.floor(r-e*3600-i*60);return`${e?`${e.toString().padStart(2,"0")}:`:""}${i.toString().padStart(2,"0")}:${n.toString().padStart(2,"0")}`},yn=()=>{const{t:r,locale:e}=Ue.useI18n(),i=t.computed(()=>[{label:r("meeting.meetingTypeAll"),value:Fe.ALL,icon:gg},{label:r("meeting.meetingTypeMeet"),value:Fe.MEETING,icon:I0,color:ho.meeting,zIndex:3},{label:r("meeting.meetingTypeEvents"),value:Fe.EVENTS,icon:V0,color:ho.events,zIndex:2},{label:r("meeting.meetingTypeSummit"),value:Fe.SUMMIT,icon:N0,color:ho.summit,zIndex:1}]),n=t.computed(()=>[{label:r("meeting.day0"),value:pn,max:7},{label:r("meeting.week0"),value:mn,max:2},{label:r("meeting.month0"),value:tn,max:1}]),s=t.computed(()=>[{label:r("meeting.day"),value:pn,max:7},{label:r("meeting.week"),value:mn,max:2},{label:r("meeting.month"),value:tn,max:1}]),a=t.computed(()=>[r("meeting.sunday"),r("meeting.monday"),r("meeting.tuesday"),r("meeting.wednesday"),r("meeting.thursday"),r("meeting.friday"),r("meeting.saturday")]),o=t.computed(()=>{const g=[];for(let E=1;E<=7;E++){const C=E%7;g.push({value:C,label:a.value[C]})}return g});return{t:r,locale:e,meetingTabs:i,cycleTypeOptions0:n,cycleTypeOptions:s,weekDay:a,intervalWeekOptions:o,getPointStr:(g,E)=>g===mn?E.sort((C,w)=>{const v=o.value.findIndex(k=>k.value===C||k.value.toString()===C),b=o.value.findIndex(k=>k.value===w||k.value.toString()===w);return v-b}).map(C=>{const w=o.value.find(v=>v.value===C||v.value.toString()===C);return(w==null?void 0:w.label)||String(C)}).join(r("meeting.cycleSplit")):g===tn?E.join(r("meeting.cycleSplit")):"",getConfig:(g,E)=>{let C=g;const w=i.value.find(v=>v.value===C);return(w==null?void 0:w[E])||""},getPlatformLabel:g=>{switch(g){case"WELINK":return"WeLink";case"ZOOM":return"Zoom";case"TENCENT":return e.value==="zh"?"腾讯会议":"Tencent";default:return g}},getWeekFromDate:g=>a.value[Se(g).day()]}},cs=t.defineComponent({__name:"TooltipText",props:{lines:{},width:{},type:{default:""},size:{default:14}},setup(r){const e=t.ref(null),i=t.ref(!0),n=r,s=t.useSlots();let a=null,o=null;const l=()=>{if(!A.isClient)return;const E=e.value;if(E){if(n.lines&&n.lines>1){const C=E.offsetHeight,w=E.style.display;E.style.display="block";const v=E.scrollHeight;E.style.display=w,v&&C&&(i.value=v>C+1);return}i.value=E.scrollWidth>E.offsetWidth+1||E.scrollHeight>E.offsetHeight+1}},c=()=>{o!==null&&cancelAnimationFrame(o),o=requestAnimationFrame(l)};t.onMounted(()=>{l(),!(!A.isClient||!e.value)&&(a=new ResizeObserver(()=>l()),a.observe(e.value),window.addEventListener("resize",c))}),t.onUnmounted(()=>{a==null||a.disconnect(),o!==null&&cancelAnimationFrame(o),window.removeEventListener("resize",c)}),t.watch(()=>[n.lines,n.width],()=>{A.isClient&&requestAnimationFrame(l)});const d=E=>{const C=E.children??"";return Array.isArray(C)?C.map(w=>d(w)).join(""):String(C)},m=t.computed(()=>{var C;return(((C=s.default)==null?void 0:C.call(s))||[]).map(w=>d(w)).join(`
|
|
4
|
+
`)}),g=t.computed(()=>({width:Number.isNaN(Number(n.width))?n.width:`${n.width}px`}));return(E,C)=>(t.openBlock(),t.createElementBlock("div",{class:"tooltip-text-wrapper",style:t.normalizeStyle(g.value)},[t.createVNode(t.unref(A.OPopover),{anchor:"",disabled:!i.value,adjustMinWidth:!1,adjustWidth:!0},{target:t.withCtx(()=>[t.createElementVNode("div",{class:t.normalizeClass(["tooltip-text",r.type,i.value&&"ellipsis",r.lines&&r.lines>1&&"multi-lines"]),ref_key:"contentRef",ref:e,style:t.normalizeStyle(`--lines: ${r.lines};`)},[t.renderSlot(E.$slots,"default")],6)]),default:t.withCtx(()=>[t.createElementVNode("div",{class:t.normalizeClass(["popup-box2",`fz-${r.size}`])},t.toDisplayString(m.value),3)]),_:3},8,["disabled"])],4))}}),g1={class:"o-meeting-detail"},v1={class:"label"},y1={key:2},b1={key:3,class:"value"},C1={key:0,class:"extra"},T1={class:"value-text"},A1={class:"label"},Cc="|",is=t.defineComponent({__name:"OMeetingDetail",props:{data:{},from:{},show:{type:Boolean},page:{}},setup(r,{expose:e}){const i=r,{t:n,getPlatformLabel:s}=yn(),{locale:a}=Ue.useI18n(),o=t.computed(()=>a.value==="en"),l=t.computed(()=>[{label:n("meeting.meetingDetail"),key:"agenda",ellipsis:!0},{label:n("meeting.meetingCreator"),key:"sponsor"},{label:n("meeting.meetingDate2"),key:"timeRange",extra:"date"},{label:n("meeting.meetingId"),key:"mid"},{label:n("meeting.meetingPlatform"),key:"platform"},{label:n("meeting.meetingLink"),key:"join_url",isLink:!0},{label:n("meeting.meetingEtherpad"),key:"etherpad",isLink:!0},{label:n("meeting.meetingReplay"),key:"replay_url",isLink:!0}].slice(0,i.from==="my"?7:8)),c=t.computed(()=>{var b;const v=!!((b=i.data.live_url)!=null&&b.length);return[{label:n("meeting.activityDetail2"),key:"agenda",ellipsis:!0},{label:n("meeting.startDate"),key:"start_date_time"},{label:n("meeting.endDate"),key:"end_date_time"},{label:n("meeting.registrationDeadline"),key:"register_end_date"},{label:n(v?"meeting.livePlatform":"meeting.activityAddress"),key:v?"live_url":"address"},{label:n("meeting.activityDetailUrl"),key:"content_url",isLink:!0},{label:n("meeting.activityApprover"),key:"approver"},{label:n("meeting.reviewNotesLabel"),key:"approve_record",isRecord:!0}].slice(0,i.from==="home"?5:8)}),d=t.computed(()=>{var b;const v=!!((b=i.data.live_url)!=null&&b.length);return[{label:n("meeting.activityType"),key:"activity_type",isType:!0},{label:n(v?"meeting.livePlatform":"meeting.activityAddress"),key:v?"live_url":"address"},{label:n("meeting.startDate"),key:"start_date_time"},{label:n("meeting.endDate"),key:"end_date_time"},{label:n("meeting.registrationDeadline"),key:"register_end_date"},{label:n("meeting.registrationUrl"),key:"register_url",isLink:!0},{label:n("meeting.activityDetailUrl"),key:"content_url",isLink:!0},{label:n("meeting.activityApprover"),key:"approver"},{label:n("meeting.reviewNotesLabel"),key:"approve_record",isRecord:!0}]}),m=v=>{const b=i.data[v];return v==="register_end_date"&&b?dt(b,"YYYY/MM/DD HH:mm"):v==="date"&&b?i.data.is_cycle?"":dt(b):b},g=t.computed(()=>i.data.type===Fe.EVENTS?i.page===Fe.APPROVAL?d.value:c.value:i.data.type===Fe.SUMMIT?c.value:l.value),E=t.ref([]),C=t.ref({[Fe.ALL]:n("meeting.meetingTopic"),[Fe.MEETING]:n("meeting.meetingTopic"),[Fe.EVENTS]:n("meeting.eventsTitle"),[Fe.APPROVAL]:n("meeting.eventsTitle"),[Fe.SUMMIT]:n("meeting.summitTitle")});return e({copyInfo:()=>{try{const v=o.value?": ":":";let b=`${C.value[i.data.type]??n("meeting.meetingTopic")}${v}${i.data.topic||i.data.name||i.data.title}
|
|
5
|
+
`;return b+=[...E.value].reduce((k,S)=>S.textContent?`${k}${S.textContent?S.textContent.replace(Cc,v):""}
|
|
6
|
+
`:k,""),navigator.clipboard.writeText(b),Promise.resolve()}catch(v){return Promise.reject(v)}}}),(v,b)=>(t.openBlock(),t.createElementBlock("div",g1,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(g.value,(k,S)=>{var D,O,q;return t.openBlock(),t.createElementBlock("div",{ref_for:!0,ref_key:"domRef",ref:E,class:t.normalizeClass(["label-item",{"record-item":k.isRecord&&((D=m(k.key))==null?void 0:D.length),"link-item":k.isLink,"is-empty":!((O=m(k.key))!=null&&O.length),[`label-item_${r.data.id}`]:!0,[`type_${r.data.type}`]:!0,"is-en":o.value}]),key:S},[m(k.key)&&!k.isRecord?(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[t.createElementVNode("span",v1,t.toDisplayString(k.label),1),t.createElementVNode("span",{class:"split-mark"},t.toDisplayString(Cc)),k.ellipsis?(t.openBlock(),t.createBlock(cs,{key:0,lines:3},{default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(m(k.key)||"-"),1)]),_:2},1024)):k.isLink?(t.openBlock(),t.createBlock(t.unref(A.OLink),{key:1,target:"_blank",class:"value",color:"primary","hover-underline":"",href:m(k.key)},{default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(m(k.key)),1)]),_:2},1032,["href"])):k.key==="platform"?(t.openBlock(),t.createElementBlock("span",y1,t.toDisplayString(t.unref(s)(m(k.key))),1)):(t.openBlock(),t.createElementBlock("span",b1,[k.extra&&m(k.extra)?(t.openBlock(),t.createElementBlock("i",C1,t.toDisplayString(m(k.extra))+" ",1)):t.createCommentVNode("",!0),t.createElementVNode("span",T1,t.toDisplayString(m(k.key)||"-"),1)]))],64)):t.createCommentVNode("",!0),k.isRecord&&((q=m(k.key))!=null&&q.length)?(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[t.createElementVNode("span",A1,t.toDisplayString(k.label),1),t.createElementVNode("div",null,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(m(k.key),R=>(t.openBlock(),t.createElementBlock("p",{key:R.create_time,class:"value"},t.toDisplayString(R.reason)+" "+t.toDisplayString(t.unref(dt)(R.create_time,"YYYY/MM/DD HH:mm:ss"))+" "+t.toDisplayString(R.action===1?t.unref(n)("meeting.approveReview"):t.unref(n)("meeting.rejectReview")),1))),128))])],64)):t.createCommentVNode("",!0)],2)}),128))]))}}),E1={version:"1.1",xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"};function x1(r,e){return t.openBlock(),t.createElementBlock("svg",E1,[...e[0]||(e[0]=[t.createElementVNode("path",{opacity:"0.8",fill:"#000",d:"M8.313 5.002h1.414c0.068-0.256 0.302-0.445 0.58-0.445h7.464c0.331 0 0.6 0.269 0.6 0.6v10.132c0 0.331-0.269 0.6-0.6 0.6h-1.455c-0.387 0-0.7 0.313-0.7 0.7s0.313 0.7 0.7 0.7h1.455c1.104 0 2-0.895 2-2v-10.132c0-1.105-0.895-2-2-2h-7.464c-1.052 0-1.915 0.813-1.994 1.845zM10.303 6.102c0.192 0 0.375 0.079 0.508 0.218l3.695 3.891c0.086 0.091 0.146 0.202 0.174 0.321 0.027 0.074 0.042 0.155 0.042 0.238 0 0.062-0.008 0.122-0.023 0.178v7.833c0 1.105-0.895 2-2 2h-7.479c-1.105 0-2-0.895-2-2v-10.68c0-1.105 0.895-2 2-2h5.084zM9.527 9.512l-0.042-2.010h-4.266c-0.331 0-0.6 0.269-0.6 0.6v10.68c0 0.331 0.269 0.6 0.6 0.6h7.479c0.331 0 0.6-0.269 0.6-0.6l-0.001-7.311h-1.77c-1.089 0-1.977-0.87-2-1.959zM10.905 8.453l0.021 1.030c0.007 0.326 0.273 0.588 0.6 0.588h0.915l-1.536-1.617zM11.506 13.554c0 0.276-0.224 0.5-0.5 0.5h-4.98c-0.276 0-0.5-0.224-0.5-0.5s0.224-0.5 0.5-0.5h4.98c0.276 0 0.5 0.224 0.5 0.5zM10.315 15.554c0 0.276-0.224 0.5-0.5 0.5h-3.793c-0.276 0-0.5-0.224-0.5-0.5s0.224-0.5 0.5-0.5h3.793c0.276 0 0.5 0.224 0.5 0.5zM9 17.554c0 0.276-0.224 0.5-0.5 0.5h-2.493c-0.276 0-0.5-0.224-0.5-0.5s0.224-0.5 0.5-0.5h2.493c0.276 0 0.5 0.224 0.5 0.5z"},null,-1)])])}const Ml={name:"meeting-icon-copy",render:x1},k1={version:"1.1",xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"};function _1(r,e){return t.openBlock(),t.createElementBlock("svg",k1,[...e[0]||(e[0]=[t.createElementVNode("path",{fill:"currentColor",d:"M9.246 5.764c-0.251 0.251-0.271 0.644-0.063 0.918l0.063 0.072 5.016 5.016c0.1 0.1 0.115 0.254 0.043 0.37l-0.043 0.054-5.062 5.062c-0.273 0.273-0.273 0.717 0 0.99 0.251 0.251 0.644 0.271 0.918 0.063l0.072-0.063 5.062-5.062c0.629-0.629 0.662-1.628 0.099-2.296l-0.099-0.108-5.016-5.016c-0.273-0.273-0.717-0.273-0.99 0z"},null,-1)])])}const Gr={name:"components-icon-chevron-right",render:_1},S1={class:"meet-title-left"},w1={class:"meet-title"},D1={class:"text"},B1={class:"item-title-text"},V1={key:0,class:"tag-wrapper"},I1={class:"start-time"},N1={class:"btn-wrapper"},O1={class:"calendar-info"},L0=t.defineComponent({__name:"OMeetingCalendarList",props:{list:{default:()=>[]},groupType:{},disableFormat:{type:Boolean},replayPath:{}},setup(r){const{activityTypeMap:e}=wa(),i=r,{t:n,locale:s,getConfig:a,getPointStr:o}=yn(),l=t.ref([]),c=A.useMessage(null),d=async v=>{await l.value[v].copyInfo(),c.success({content:n("common.copySuccess")})},m=t.ref([]),g=t.computed(()=>({SIG_GROUP:`${i.groupType===pi.GROUP?n("meeting.groups"):n("meeting.sigs")}: `,NEW_DATE:n("meeting.latestMeeting"),EMPTY_TEXT:n("meeting.meetingEmptyText"),LEARN_MORE:n("common.seeMore"),JOIN_MEETING:n("meeting.joinMeeting"),SIGN:n("meeting.sign"),DETAILS:n("meeting.detail")})),E=t.ref();let C=null;t.watch([()=>i.list,()=>A.isClient],()=>{i.list.length===1?m.value=[i.list[0].id]:m.value=[],A.isClient&&t.nextTick(()=>{var v;C?C.disconnect():C=new ResizeObserver(b=>{for(let k of b){const{height:S}=k.contentRect;k.target.classList.remove("hidden-divider"),S>=30&&k.target.classList.add("hidden-divider")}}),(v=E.value)==null||v.forEach(b=>{C.observe(b)})})});const w=t.computed(()=>i.list.map(v=>{var J,Q;const b=v.type;let k="",S="",D="",O=!1;if(b!==Fe.MEETING){let X=(J=e.value.get(v.activity_type))==null?void 0:J.label;const ne=v.start_date&&(v.start_date===v.end_date||!v.end_date);v.start_date&&(k=i.disableFormat?v.start_date:dt(v.start_date)),ne?v.start&&(k+=`${k?" ":""}${v.start}`,v.end&&(k+=`${k?" - ":""}${v.end}`)):(v.start&&(k+=`${k?" ":""}${v.start}`),v.end_date&&(k+=`${k?" - ":""}${i.disableFormat?v.end_date:dt(v.end_date)}`,v.end&&(k+=`${k?" ":""}${v.end}`))),v.start_date&&(S=i.disableFormat?v.start_date:dt(v.start_date)),v.start&&(S+=`${S?" ":""}${v.start}`),v.end_date&&(D=i.disableFormat?v.end_date:dt(v.end_date)),v.end&&(D+=`${D?" ":""}${v.end}`);const ve=`${v.end_date||v.start_date} ${v.end||v.start||""}`;return Se(ve).isValid()&&(O=Se().isAfter(Se(ve))),{...v,activity_type:X,dateRange:k,start_date_time:S,end_date_time:D,isExpired:O}}const{is_cycle:q,date:R,start:x,end:L,cycle_start_date:_,cycle_end_date:V,cycle_start:I,cycle_end:z,cycle_type:M,cycle_interval:U,cycle_point:P}=v;k=i.disableFormat?R:dt(R),x&&L?k+=`${k?" ":""}${x} - ${L}`:(x||L)&&(k+=`${k?" ":""}${x||L}`),q&&(k=`${i.disableFormat?_:dt(_)} - ${i.disableFormat?V:dt(V)}`);let te="";x&&L?te=`${x} - ${L}`:(x&&(te=x),L&&(te=L));let j=null,G=!1;const ee=((Q=v.obs_data)==null?void 0:Q.filter(X=>X.text_video_url))||[];if(q){let X="";M===pn&&(X=n("meeting.cycleDay")),M===mn&&(U>1?X=n("meeting.cycleWeek.other",[o(M,P),U]):X=n("meeting.cycleWeek.one",[o(M,P)])),M===tn&&(X=n("meeting.cycleMonth",[o(M,P)])),te=n("meeting.cycleMeetingText2",{startDate:dt(_),endDate:dt(V),startTime:I,endTime:z,cycleType:X}),G=ee.some(ne=>{var ve;return ne.sub_id===((ve=v.cycle_sub.find(W=>W.date===R))==null?void 0:ve.sub_id)})}else G=ee.length>0;return G&&i.replayPath!==null&&(j=`${location.origin}/${s.value}/${i.replayPath}/${v.group_name}/${v.mid}/${R}`),{...v,dateRange:k,timeRange:te,replay_url:j,isExpired:Se().isAfter(Se(`${v.date} ${v.end||v.cycle_end}`))}}));return(v,b)=>{var k,S;return t.openBlock(),t.createElementBlock("div",{class:t.normalizeClass(["o-meeting-calendar-list",(k=w.value)!=null&&k.length?"":"is-empty"])},[(S=w.value)!=null&&S.length?(t.openBlock(),t.createBlock(t.unref(A.OCollapse),{key:1,modelValue:m.value,"onUpdate:modelValue":b[0]||(b[0]=D=>m.value=D),style:{"--collapse-padding":"0"}},{default:t.withCtx(()=>[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(w.value,(D,O)=>(t.openBlock(),t.createBlock(t.unref(A.OCollapseItem),{key:D.id,value:D.id,class:t.normalizeClass({"is-expired":D.isExpired})},{title:t.withCtx(()=>[t.createElementVNode("div",S1,[t.createElementVNode("div",w1,[t.createVNode(t.unref(A.OIcon),{style:t.normalizeStyle({backgroundColor:`${t.unref(a)(D.type,"color")}`})},{default:t.withCtx(()=>[(t.openBlock(),t.createBlock(t.resolveDynamicComponent(t.unref(a)(D.type,"icon"))))]),_:2},1032,["style"]),t.createElementVNode("div",D1,[t.createVNode(cs,null,{default:t.withCtx(()=>[t.createElementVNode("span",B1,t.toDisplayString(D.topic||D.name||D.title),1)]),_:2},1024)]),D.is_cycle?(t.openBlock(),t.createElementBlock("div",V1,[t.createVNode(t.unref(A.OTag),{color:"primary",variant:"outline"},{default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(t.unref(n)("meeting.cycle")),1)]),_:1})])):t.createCommentVNode("",!0)]),t.createElementVNode("div",{class:"meet-info",ref_for:!0,ref_key:"meetInfoRef",ref:E},[t.createElementVNode("span",I1,[t.createElementVNode("span",null,t.toDisplayString(D.dateRange),1)]),D.group_name||D.activity_type?(t.openBlock(),t.createBlock(t.unref(A.ODivider),{key:0,direction:"v"})):t.createCommentVNode("",!0),t.createElementVNode("div",null,[D.group_name?(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[t.createTextVNode(t.toDisplayString(g.value.SIG_GROUP)+" "+t.toDisplayString(D.group_name),1)],64)):t.createCommentVNode("",!0),D.activity_type?(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[t.createTextVNode(t.toDisplayString(D.activity_type),1)],64)):t.createCommentVNode("",!0)])],512),t.createElementVNode("div",N1,[D.url?(t.openBlock(),t.createBlock(t.unref(A.OButton),{key:0,variant:"text",href:D.url,target:"_blank",class:"jump-detail-link"},{suffix:t.withCtx(()=>[t.createVNode(t.unref(A.OIcon),null,{default:t.withCtx(()=>[t.createVNode(t.unref(Gr))]),_:1})]),default:t.withCtx(()=>[t.createElementVNode("span",null,t.toDisplayString(g.value.LEARN_MORE),1)]),_:1},8,["href"])):t.createCommentVNode("",!0),D.join_url&&!D.isExpired?(t.openBlock(),t.createBlock(t.unref(A.OButton),{key:1,variant:"text",href:D.join_url,target:"_blank",class:"jump-detail-link"},{suffix:t.withCtx(()=>[t.createVNode(t.unref(A.OIcon),null,{default:t.withCtx(()=>[t.createVNode(t.unref(Gr))]),_:1})]),default:t.withCtx(()=>[t.createElementVNode("span",null,t.toDisplayString(g.value.JOIN_MEETING),1)]),_:1},8,["href"])):t.createCommentVNode("",!0),D.content_url?(t.openBlock(),t.createBlock(t.unref(A.OButton),{key:2,variant:"text",href:D.content_url,target:"_blank",class:"jump-detail-link"},{suffix:t.withCtx(()=>[t.createVNode(t.unref(A.OIcon),null,{default:t.withCtx(()=>[t.createVNode(t.unref(Gr))]),_:1})]),default:t.withCtx(()=>[t.createElementVNode("span",null,t.toDisplayString(g.value.DETAILS),1)]),_:1},8,["href"])):t.createCommentVNode("",!0),D.register_url&&!D.isExpired?(t.openBlock(),t.createBlock(t.unref(A.OButton),{key:3,variant:"text",href:D.register_url,target:"_blank",class:"jump-detail-link"},{suffix:t.withCtx(()=>[t.createVNode(t.unref(A.OIcon),null,{default:t.withCtx(()=>[t.createVNode(t.unref(Gr))]),_:1})]),default:t.withCtx(()=>[t.createElementVNode("span",null,t.toDisplayString(g.value.SIGN),1)]),_:1},8,["href"])):t.createCommentVNode("",!0)])]),t.createVNode(t.unref(A.OIcon),{onClick:t.withModifiers(()=>d(O),["stop"]),class:"copy-icon"},{default:t.withCtx(()=>[t.createVNode(t.unref(Ml))]),_:1},8,["onClick"])]),default:t.withCtx(()=>[t.createElementVNode("div",O1,[t.createVNode(is,{show:m.value.includes(D.id),data:D,ref_for:!0,ref:q=>l.value[O]=q,from:"home"},null,8,["show","data"])])]),_:2},1032,["value","class"]))),128))]),_:1},8,["modelValue"])):t.renderSlot(v.$slots,"empty",{key:0})],2)}}}),R0="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAoAAAAIwCAYAAAAWB9pWAABjVklEQVR4Ae3gAZAkSZIkSRKLqpm7R0REZmZmVlVVVVV3d3d3d/fMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMdHd3d3dXV1VVVVVmZkZGRIS7m5kKz0xmV3d1d3dPz8zMzMxMorjqqquuuuqqq6666v8TxFVXXXXVVVddddVV/58grrrqqquuuuqqq676/wRx1VVXXXXVVVddddX/J4irrrrqqquuuuqqq/4/QVx11VVXXXXVVVdd9f8J4qqrrrrqqquuuuqq/08QV1111VVXXXXVVVf9f4K46qqrrrrqqquuuur/E8RVV1111VVXXXXVVf+fIK666qqrrrrqqquu+v8EcdVVV1111VVXXXXV/yeIq6666qqrrrrqqqv+P0FcddVVV1111VVXXfX/CeKqq6666qqrrrrqqv9PEFddddVVV1111VVX/X+CuOqqq6666qqrrrrq/xPEVVddddVVV1111VX/nyCuuuqqq6666qqrrvr/BHHVVVddddVVV1111f8niKuuuuqqq6666qqr/j9BXHXVVVddddVVV131/wniqquuuuqqq6666qr/TxBXXXXVVVddddVVV/1/grjqqquuuuqqq6666v8TxFVXXXXVVVddddVV/58grrrqqquuuuqqq676/wRx1VVXXXXVVVddddX/J4irrrrqqquuuuqqq/4/QVx11VVXXXXVVVdd9f8J4qqrrrrqqquuuuqq/08QV1111VVXXXXVVVf9f4K46qqrrrrqqquuuur/E8RVV1111VVXXXXVVf+fIK666qqrrrrqqquu+v8EcdVVV1111VVXXXXV/yeIq6666qqrrrrqqqv+P0FcddVVV1111VVXXfX/CeKqq6666qqrrrrqqv9PEFddddVVV1111VVX/X+CuOqqq6666qqrrrrq/xPEVVddddVVV1111VX/nyCuuuqqq6666qqrrvr/BHHVVVddddVVV1111f8niKuuuuqqq6666qqr/j9BXHXVVVddddVVV131/wniqquuuuqqq6666qr/TxBXXXXVVVddddVVV/1/grjqqquuuuqqq6666v8TxFVXXXXVVVddddVV/58grrrqqquuuuqqq676/wRx1VVXXXXVVVddddX/J4irrrrqqquuuuqqq/4/QVx11VVXXXXVVVdd9f8J4qqrrrrqqquuuuqq/08QV1111VVXXXXVVVf9f4K46qqrrrrqqquuuur/E8RVV1111VVXXXXVVf+fIK666qqrrrrqqquu+v8EcdVVV1111VVXXXXV/yeIq6666n+Nr/rG73zox3zo+z6Nq6666qqrrvq3Q1x11VX/a3zV13/n+ztcs8Vvf/xHvM8TuOqqq6666qp/PcRVV131v8bXfP13vWkqXxHA+I/3Nspvf/b7vM+Kq6666qqrrnrRIa666qr/Nb7qG7/z9bFfnecQP/0xH/Y+f81VV1111VVXvWgQV1111f8aX/V13/baRLw2z8Xinq7xsx/xEe93F1ddddVVV131wiGuuuqq/zW+8hu+/eFC784LYPzHexvltz/7fd5nxVVXXXXVVVc9f4irrrrqf42v+7rvuGEKPpAXwuKeGvrdj/zg930cV1111VVXXfW8EFddddX/Gt/yLd+ycTTVT+RFYHHP3iK++7Pf531WXHXVVVddddWzIa666qr/NT77sz87jp25+TP5VzD+472N8tuf/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f/dnJvx/iP8Bnf8u3bGyxveGcgquuuuqqq6666qqr/sMpah6wf/TZH/RBR/z7IP4dvuVbvqVrrW0dSh1XXXXVVVddddVVV/2n27THUsrBB33QB4382yD+DT77sz87FjffvLk41Jyrrrrqqquuuuqqq/7LLTe9Wt5+++Fnf/ZnJ/86iH+lr/zKH130/XKj6zpx1VVXXXXVVVddddV/m3EcPQyLo4/92Hdc8qJDvIg++7M/ux570IO22jBUrrrqqquuuuqqq676H6P0/XTpGc84+OzP/uyJfxniX6Zv+ZZvWYzjfMFVV1111VVXXXXVVf9jdd1q+UEf9EFLwLxgiBfit37rt+pf//WtW10Xhauuuuqqq6666qqr/scbx2wv/dIPPnid13mdiecP8XzY1rd+67cuDkuZc9VVV1111VVXXXXV/zqbra0+8AM/cCnJPCfEc/mWb/mW7uio37RbcNVVV1111VVXXXXV/1pSyY2N4fCDPuiDRp4N8Wz67G/5lsU1bWvGVVddddVVV1111VX/Z9xXDtaf/UEftAQMIIAf/dEfLffcM2we1r3CVVddddVVV1111VX/52xOO+266/rDd3zHd2z67M/+rvn112/Ojo4OxVVXXXXVVVddddVV/2dtbGz67rsP1/qqr/qu41x11VVXXXXVVVdd9f8F+uJv+ZZjXHXVVVddddVVV131/wX62q/9/h2uuuqqq6666qqrrvr/An3t137/DlddddVVV1111VVX/X+BvuM7vmObq6666qqrrrrqqqv+v0Bf8h3fsc1VV1111VVXXXXVVf9foG/4hh/d4qqrrrrqqquuuuqq/y/QN3zDN2xx1VVXXXXVVVddddX/F+jLvvd7N7nqqquuuuqqq6666v8L9GVf9r2bXHXVVVddddVVV131/wX6lm/5lg2uuuqqq6666qqrrvr/An3lj/7ogquuuuqqq6666qqr/r9AX/mVP7rgqquuuuqqq6666qr/L9B3fdd3zbnqqquuuuqqq6666v8L9Nnf9V1zrrrqqquuuuqqq676/wJ97df+4oyrrrrqqquuuuqqq/6/QF/7tV8746qrrrrqqquuuuqq/y/QZ//oj/ZcddVVV1111VVXXfX/Bfrsz/7snquuuuqqq6666qqr/r9A3/It39Jx1VVXXXXVVVddddX/F+hbvuVbOq666qqrrrrqqquu+v8CffZnf3blqquuuuqqq6666qr/L9CP/uiPFq666qqrrrrqqquu+v8C/eiP/mjhqquuuuqqq6666qr/L9Bnf/ZnB1ddddVVV1111VVX/X+BPvuzPzu46qqrrrrqqquuuur/C2RbXHXVVVddddVVV131/wUCxFVXXXXVVVddddVV/18grrrqqquuuuqqq676/wRx1VVXXXXVVVddddX/J4irrrrqqquuuuqqq/4/QVx11VVXXXXVVVdd9f8J4qqrrrrqqquuuuqq/08QV1111VVXXXXVVVf9f4K46qqrrrrqqquuuur/E8RVV1111VVXXXXVVf+fIK666qqrrrrqqquu+v8EcdVVV1111VVXXXXV/yeIq6666qqrrrrqqqv+P0FcddVVV1111VVXXfX/CeKqq6666qqrrrrqqv9PEFddddVVV1111VVX/X+CuOqqq6666qqrrrrq/xPEVVddddVVV1111VX/nyCuuuqqq6666qqrrvr/BHHVVVddddVVV1111f8niKuuuuqqq6666qqr/j9BXHXVVVddddVVV131/wniqquuuuqqq6666qr/TxBXXXXVVVddddVVV/1/grjqqquuuuqqq6666v8TxFVXXXXVVVddddVV/58grrrqqquuuuqqq676/wRx1VVXXXXVVVddddX/J4irrrrqqquuuuqqq/4/QVx11VVXXXXVVVdd9f8J4qqrrrrqqquuuuqq/08QV1111VVXXXXVVVf9f4K46qqrrrrqqquuuur/E8RVV1111VVXXXXVVf+fIK666qqrrrrqqquu+v8EcdVVV1111VVXXXXV/yeIq6666qqrrrrqqqv+P0FcddVVV1111VVXXfX/CeKqq6666qqrrrrqqv9PEFddddVVV1111VVX/X+CuOqqq6666qqrrrrq/xPEVVddddVVV1111VX/nyCuuuqqq6666qqrrvr/BHHVVVddddVVV1111f8niKuuuuqqq6666qqr/j9BXHXVVVddddVVV131/wniqquuuuqqq6666qr/TxBXXXXVVVddddVVV/1/grjqqquuuuqqq6666v8TxFVXXXXVVVddddVV/58grrrqqquuuuqqq676/wRx1VVXXXXVVVddddX/J4irrrrqqquuuuqqq/4/QVx11VVXXXXVVVdd9f8J4qqrrrrqqquuuuqq/08QV1111VVXXXXVVVf9f4K46qqrrrrqqquuuur/E8RVV1111VVXXXXVVf+fIK666qqrrrrqqquu+v8EcdVVV1111VVXXXXV/yeIq6666qqrrrrqqqv+P0FcddVVV1111VVXXfX/Cf8IBEyADNBEKx8AAAAASUVORK5CYII=",P1={key:0,class:"o-meeting-calendar-desc"},M1={class:"calendar-body"},L1={class:"calender-header-left"},R1={class:"left-title"},q1={class:"month-date"},F1={class:"right-title"},U1=["onClick"],z1={class:"day-box"},H1={class:"icon-box"},j1={class:"detail-list"},X1={class:"current-day"},G1={class:"right-title"},Q1={class:"title-list"},Y1="2021-01-01",Tc=t.defineComponent({__name:"OMeetingCalendar",props:{getDateListRequest:{},getMeetingListRequest:{},getSummitListRequest:{default:async()=>[]},getSummitDatesRequest:{},getEventsListRequest:{default:async()=>[]},getEventsDatesRequest:{},hiddenEvents:{type:Boolean,default:!1},hiddenSummit:{type:Boolean,default:!1},groupType:{default:pi.SIG},groups:{default:()=>[]},disableFormat:{type:Boolean},emptyImg:{},emptyText:{},showDesc:{type:Boolean,default:!1},replayPath:{default:"video"}},emits:["create"],setup(r,{expose:e,emit:i}){const n=r,{t:s,locale:a,meetingTabs:o,getConfig:l}=yn(),c=t.computed(()=>a.value===Ue.Locales.EN),d=t.ref([]),m=t.ref([]),g=t.ref([]),E=t.ref([]),C=t.ref([]),w=t.ref([]),v=t.ref(Fe.ALL),b=t.computed(()=>{let de=o.value;return n.hiddenEvents&&(de=de.filter(Te=>Te.value!==Fe.EVENTS)),n.hiddenSummit&&(de=de.filter(Te=>Te.value!==Fe.SUMMIT)),de.filter(Te=>Te.value!==Fe.ALL).length===1?[]:de});t.watch(()=>b.value,()=>{var de;v.value=((de=b.value[0])==null?void 0:de.value)??Fe.MEETING});const k=t.ref(),S=t.ref("407px"),D=t.ref(!1),O=t.ref(""),q=t.ref(!1),R=t.ref(""),x=async de=>{if(n.getSummitListRequest){m.value=[];const Te=await n.getSummitListRequest(de);m.value=(Te||[]).map(De=>({...De,type:Fe.SUMMIT}))}else m.value=[]},L=async de=>{if(n.getEventsListRequest){E.value=[];const Te=await n.getEventsListRequest(de);E.value=(Te||[]).map(De=>({...De,type:Fe.EVENTS}))}else E.value=[]},_=t.ref([!1,!1,!1]),V=t.computed(()=>_.value.every(de=>!!de)),I=async de=>{n.getDateListRequest&&n.getDateListRequest(de,R.value||"").then(Te=>{d.value=Te}).finally(()=>{_.value[0]=!0}),n.getEventsDatesRequest&&n.getEventsDatesRequest(de).then(Te=>{C.value=Te}).finally(()=>{_.value[1]=!0}),n.getSummitDatesRequest&&n.getSummitDatesRequest(de).then(Te=>{g.value=Te}).finally(()=>{_.value[2]=!0})},z=async de=>{if(n.getMeetingListRequest&&de.date)try{const Te=await n.getMeetingListRequest(de.date,R.value,"");w.value=Te.map(De=>({...De,time:`${De.start}-${De.end}`,type:Fe.MEETING,date:De.date||de.date})).sort((De,We)=>{var qe,ct;return parseInt((qe=De.start||De.cycle_start)==null?void 0:qe.replace(":",""))-parseInt(We.end||((ct=We.cycle_end)==null?void 0:ct.replace(":","")))})}catch{w.value=[]}finally{x(de.date),L(de.date)}},M=t.computed(()=>[...w.value,...E.value,...m.value].filter(de=>v.value===Fe.ALL?!0:de.type===v.value)),U=async de=>{const Te=Se(de).format("YYYY-MM-DD");O.value=Te,I(Te),z({date:Te,type:v.value})},P=t.computed(()=>V.value?[...new Set([...d.value,...g.value,...C.value])].flat().sort((de,Te)=>Se(de).isAfter(Se(Te))?1:-1):[]),te=t.ref(""),j=t.computed(()=>{if(te.value)return te.value;const de=P.value;if(!de.length)return null;const Te=Se().format("YYYY-MM-DD");let De=0,We=de.length-1;for(;De<=We;){const qe=De+We>>1;de[qe]<Te?De=qe+1:We=qe-1}return dt(De<de.length?de[De]:de[de.length-1])}),G=wt.useDebounceFn((de,Te)=>{if(q.value){q.value=!1;return}if(new Date(de).getTime()/1e3<1610380800){Te==null||Te.stopPropagation();return}U(de)},300);t.watch(()=>j.value,()=>{var de;j.value?(te.value=j.value,(de=k.value)==null||de.pickDay(Se(j.value)),G(j.value)):G(dt())},{immediate:!0});const ee=(de,Te)=>{if(dt(Te)===dt(Y1)&&de==="prev-month"){D.value=!0;return}D.value=!1,k.value.selectDate(de),G(dt(k.value.selectedDay))},J=()=>{t.nextTick(()=>{const de=dt(O.value,"YYYY-MM-DD");I(de),z({date:de,type:v.value})})},Q=de=>de.replace(/^0+(?=\d)/,""),X=de=>{new MutationObserver(function(){S.value=`${de.offsetHeight-2}px`}).observe(de,{childList:!0,subtree:!0,characterData:!0})},ne=async()=>{const de=document.querySelector(".calendar-body .el-calendar__body");de&&(X(de),S.value=`${de.offsetHeight-2}px`)},ve=t.ref(null);let W=null;const he=wt.useDebounceFn(()=>{const de=ve.value;if(!de||!A.isClient||n.hiddenSummit||n.hiddenEvents)return;const Te=de.querySelector(".o-tab");if(!Te)return;const De=Te.querySelector(".o-tab-navs-container");if(!De)return;const We=De.getBoundingClientRect().width;if(!We)return;const qe=c.value?430:330;Te.classList.toggle("hide-icons",We<qe)},120);t.onMounted(()=>{ne(),t.nextTick(he),A.isClient&&typeof ResizeObserver<"u"&&ve.value&&(W=new ResizeObserver(()=>he()),W.observe(ve.value))}),t.onBeforeUnmount(()=>{W==null||W.disconnect(),W=null}),t.watch(()=>b.value,()=>t.nextTick(he));const ce=t.watch(()=>P.value.length,()=>{A.isClient&&!O.value&&t.nextTick(()=>{const de=document.querySelector(".is-today .out-box");de&&(q.value=!0,de.click(),ce())})}),Ee=de=>c.value?de.split(" ").reverse().join(" "):de,fe=(de,Te)=>de===Fe.MEETING?[Fe.ALL,Fe.MEETING].includes(v.value)&&d.value.includes(Te):de===Fe.SUMMIT?[Fe.ALL,Fe.SUMMIT].includes(v.value)&&g.value.includes(Te):de===Fe.EVENTS?[Fe.ALL,Fe.EVENTS].includes(v.value)&&C.value.includes(Te):!1,ke=i;e({refresh:U});const Re=()=>{ke("create")};return(de,Te)=>(t.openBlock(),t.createElementBlock("div",{ref_key:"rootRef",ref:ve,class:"o-meeting-calendar"},[r.showDesc?(t.openBlock(),t.createElementBlock("div",P1,[t.createElementVNode("span",null,t.toDisplayString(r.groupType===t.unref(pi).GROUP?t.unref(s)("meeting.meetingDescGroup"):t.unref(s)("meeting.meetingDesc")),1),t.createVNode(t.unref(A.OButton),{color:"primary",variant:"solid",round:"pill",onClick:Re},{default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(t.unref(s)("meeting.meetingCreate")),1)]),_:1})])):t.createCommentVNode("",!0),t.createElementVNode("div",M1,[t.createVNode(t.unref(tt.ElCalendar),{ref_key:"calendar",ref:k,class:"calender"},{header:t.withCtx(({date:De})=>{var We;return[t.createElementVNode("div",L1,[t.createElementVNode("div",R1,[t.createVNode(t.unref(A.OIcon),{onClick:qe=>ee("prev-month",De)},{default:t.withCtx(()=>[t.createVNode(t.unref(A.OIconChevronLeft),{class:t.normalizeClass({disable:D.value})},null,8,["class"])]),_:1},8,["onClick"]),t.createElementVNode("span",q1,t.toDisplayString(Ee(De)),1),t.createVNode(t.unref(A.OIcon),{onClick:qe=>ee("next-month",De)},{default:t.withCtx(()=>[t.createVNode(t.unref(A.OIconChevronRight))]),_:1},8,["onClick"])]),((We=r.groups)==null?void 0:We.length)>0?(t.openBlock(),t.createBlock(t.unref(A.OSelect),{key:0,modelValue:R.value,"onUpdate:modelValue":Te[0]||(Te[0]=qe=>R.value=qe),placeholder:t.unref(s)(r.groupType===t.unref(pi).GROUP?"meeting.allGroups":"meeting.allSigs"),clearable:"",onChange:J},{default:t.withCtx(()=>[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(r.groups,qe=>(t.openBlock(),t.createBlock(t.unref(A.OOption),{value:qe,key:qe},{default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(qe),1)]),_:2},1032,["value"]))),128))]),_:1},8,["modelValue","placeholder"])):t.createCommentVNode("",!0)]),t.createElementVNode("div",F1,[t.createElementVNode("span",null,t.toDisplayString(t.unref(s)("meeting.latestMeeting"))+" ",1),t.createElementVNode("span",null,t.toDisplayString(t.unref(dt)(t.unref(Se)(j.value))),1)])]}),"date-cell":t.withCtx(({data:De})=>[t.createElementVNode("div",{class:t.normalizeClass(["out-box",{"has-calender":P.value.includes(De.day)}]),onClick:We=>t.unref(G)(De.day,We)},[t.createElementVNode("div",z1,[t.createElementVNode("p",{class:t.normalizeClass([De.isSelected?"is-selected":"","date-calender"])},t.toDisplayString(Q(De.day.split("-").at(-1)||"")),3),t.createElementVNode("div",H1,[fe(t.unref(Fe).MEETING,De.day)?(t.openBlock(),t.createBlock(t.unref(A.OIcon),{key:0,class:"meeting",style:t.normalizeStyle({zIndex:t.unref(l)(t.unref(Fe).MEETING,"zIndex"),backgroundColor:t.unref(l)(t.unref(Fe).MEETING,"color")})},{default:t.withCtx(()=>[t.createVNode(t.unref(I0))]),_:1},8,["style"])):t.createCommentVNode("",!0),fe(t.unref(Fe).EVENTS,De.day)?(t.openBlock(),t.createBlock(t.unref(A.OIcon),{key:1,class:"events",style:t.normalizeStyle({zIndex:t.unref(l)(t.unref(Fe).EVENTS,"zIndex"),backgroundColor:t.unref(l)(t.unref(Fe).EVENTS,"color")})},{default:t.withCtx(()=>[t.createVNode(t.unref(V0))]),_:1},8,["style"])):t.createCommentVNode("",!0),fe(t.unref(Fe).SUMMIT,De.day)?(t.openBlock(),t.createBlock(t.unref(A.OIcon),{key:2,class:"summit",style:t.normalizeStyle({zIndex:t.unref(l)(t.unref(Fe).SUMMIT,"zIndex"),backgroundColor:t.unref(l)(t.unref(Fe).SUMMIT,"color")})},{default:t.withCtx(()=>[t.createVNode(t.unref(N0))]),_:1},8,["style"])):t.createCommentVNode("",!0)])])],10,U1)]),_:1},512),t.createElementVNode("div",j1,[t.createElementVNode("div",X1,[t.createTextVNode(t.toDisplayString(t.unref(s)("meeting.latestMeeting"))+" ",1),t.createElementVNode("span",null,t.toDisplayString(t.unref(dt)(t.unref(Se)(j.value))),1)]),t.createElementVNode("div",G1,[t.createElementVNode("div",Q1,[t.createVNode(t.unref(A.OSelect),{modelValue:R.value,"onUpdate:modelValue":Te[1]||(Te[1]=De=>R.value=De),placeholder:t.unref(s)(r.groupType===t.unref(pi).GROUP?"meeting.allGroups":"meeting.allSigs"),clearable:"",onChange:J},{default:t.withCtx(()=>[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(r.groups,De=>(t.openBlock(),t.createBlock(t.unref(A.OOption),{value:De,key:De},{default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(De),1)]),_:2},1032,["value"]))),128))]),_:1},8,["modelValue","placeholder"]),t.createVNode(t.unref(A.OTab),{modelValue:v.value,"onUpdate:modelValue":Te[2]||(Te[2]=De=>v.value=De),line:!1,"max-show":9999},{default:t.withCtx(()=>[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(b.value,De=>(t.openBlock(),t.createBlock(t.unref(A.OTabPane),{key:De.value,value:De.value},{nav:t.withCtx(()=>[t.createVNode(t.unref(A.OIcon),null,{default:t.withCtx(()=>[(t.openBlock(),t.createBlock(t.resolveDynamicComponent(De.icon)))]),_:2},1024),t.createTextVNode(" "+t.toDisplayString(De.label),1)]),_:2},1032,["value"]))),128))]),_:1},8,["modelValue"])])]),t.createElementVNode("div",null,[t.createVNode(t.unref(A.OScroller),{class:"meeting-list","show-type":"hover",size:"small",style:t.normalizeStyle({"--height":S.value})},{default:t.withCtx(()=>[t.createVNode(L0,{list:M.value,groupType:r.groupType,disableFormat:r.disableFormat,replayPath:r.replayPath},{empty:t.withCtx(()=>[t.renderSlot(de.$slots,"empty",{},()=>[t.createVNode(t.unref(A.OResult),{class:"empty-result"},{image:t.withCtx(()=>[t.createVNode(t.unref(A.OFigure),{class:"img",src:r.emptyImg??t.unref(R0)},null,8,["src"])]),description:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(r.emptyText??t.unref(s)("meeting.meetingEmptyText")),1)]),_:1})])]),_:3},8,["list","groupType","disableFormat","replayPath"])]),_:3},8,["style"])])])])],512))}}),K1={version:"1.1",xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32",viewBox:"0 0 32 32"};function W1(r,e){return t.openBlock(),t.createElementBlock("svg",K1,[...e[0]||(e[0]=[t.createElementVNode("path",{opacity:"0.8",fill:"#000",d:"M16 0.371c1.623 0 3.214 0.248 4.731 0.729 0.59 0.187 0.916 0.817 0.729 1.406s-0.817 0.916-1.406 0.729c-1.299-0.412-2.662-0.624-4.054-0.624-7.394 0-13.389 5.994-13.389 13.389s5.994 13.389 13.389 13.389c7.394 0 13.389-5.994 13.389-13.389 0-4.287-2.027-8.235-5.402-10.747-0.496-0.369-0.599-1.071-0.23-1.567s1.071-0.599 1.567-0.23c3.937 2.931 6.305 7.541 6.305 12.544 0 8.632-6.997 15.629-15.629 15.629s-15.629-6.997-15.629-15.629c0-8.632 6.997-15.629 15.629-15.629zM16 22.816c1.002 0 1.814 0.812 1.814 1.814s-0.812 1.814-1.814 1.814c-1.002 0-1.814-0.812-1.814-1.814s0.812-1.814 1.814-1.814zM16.349 6.831c3.423 0 6.198 2.775 6.198 6.198 0 3.086-2.268 5.689-5.196 6.114-0.085 0.020-0.255 0.278-0.302 0.479 0 0-0.004 0.031-0.012 0.094v1.317c0 0.619-0.501 1.12-1.12 1.12-0.567 0-1.036-0.421-1.11-0.968 0 0-0.003-0.051-0.010-0.152v-1.317c0-1.154 0.814-2.461 2.133-2.77 1.929-0.283 3.378-1.946 3.378-3.916 0-2.186-1.772-3.958-3.958-3.958s-3.958 1.772-3.958 3.958c0 0.619-0.501 1.12-1.12 1.12s-1.12-0.501-1.12-1.12c0-3.423 2.775-6.198 6.198-6.198z"},null,-1)])])}const Ac={name:"meeting-icon-help",render:W1},J1={version:"1.1",xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32",viewBox:"0 0 32 32"};function Z1(r,e){return t.openBlock(),t.createElementBlock("svg",J1,[...e[0]||(e[0]=[t.createElementVNode("path",{opacity:"0.6",fill:"#000",d:"M16.050 0.559c2.61 0 5.13 0.646 7.377 1.862 0.544 0.294 0.746 0.974 0.452 1.518s-0.974 0.746-1.518 0.452c-1.922-1.040-4.075-1.592-6.31-1.592-7.334 0-13.28 5.946-13.28 13.28s5.946 13.28 13.28 13.28c7.334 0 13.28-5.946 13.28-13.28 0-3.3-1.207-6.409-3.355-8.824-0.411-0.462-0.37-1.17 0.092-1.581s1.17-0.37 1.581 0.092c2.51 2.821 3.922 6.459 3.922 10.313 0 8.571-6.949 15.52-15.52 15.52s-15.52-6.949-15.52-15.52c0-8.571 6.949-15.52 15.52-15.52zM16.024 11.822c0.567 0.002 1.034 0.425 1.106 0.972l0.010 0.152-0.040 10.822c-0.002 0.619-0.506 1.118-1.124 1.116-0.567-0.002-1.034-0.425-1.106-0.972l-0.010-0.152 0.040-10.822c0.002-0.619 0.506-1.118 1.124-1.116zM16 7.232c1.001 0 1.813 0.812 1.813 1.813s-0.812 1.813-1.813 1.813c-1.001 0-1.813-0.812-1.813-1.813s0.812-1.813 1.813-1.813z"},null,-1)])])}const Ec={name:"meeting-icon-tip",render:Z1},$1=t.defineComponent({__name:"OMeetingCalendarSelector",props:{modelValue:{default:()=>[]},multiple:{type:Boolean,default:!1}},emits:["update:modelValue"],setup(r,{emit:e}){const{t:i}=Ue.useI18n(),n=r,s=e,a=()=>{let v=[];for(let b=1;b<=31;b++)v.push(b);return v},o=t.computed(()=>a()),l=t.ref([]),c=t.ref([]),d=t.ref(null),m=()=>{l.value=[...n.modelValue],c.value=[...n.modelValue]};t.watchEffect(()=>{m()});const g=()=>{s("update:modelValue",c.value),d.value&&(d.value.expanded=!1)},E=()=>{m(),d.value&&(d.value.expanded=!1)},C=v=>{if(n.multiple){const b=c.value.indexOf(v);b===-1?c.value.push(v):c.value.splice(b,1),c.value.sort()}else c.value=[v],g()},w=v=>{n.multiple?C(v):c.value=[],g()};return(v,b)=>(t.openBlock(),t.createElementBlock("div",{class:t.normalizeClass(["o-meeting-calendar-selector",!r.multiple&&"is-single"])},[t.createVNode(t.unref(tt.ElSelect),{ref_key:"selectorRef",ref:d,"popper-class":"o-meeting-calendar-selector-popper",placeholder:t.unref(i)("meeting.selectRepeatDate"),size:"large",multiple:"",collapseTags:"",maxCollapseTags:3,modelValue:l.value,onRemoveTag:w},t.createSlots({default:t.withCtx(()=>[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(o.value,k=>(t.openBlock(),t.createBlock(t.unref(tt.ElOption),{key:k,label:k,value:k,onClick:S=>C(k),class:t.normalizeClass(c.value.includes(k)&&"is-checked")},null,8,["label","value","onClick","class"]))),128))]),_:2},[r.multiple?{name:"footer",fn:t.withCtx(()=>[t.createVNode(t.unref(A.OButton),{round:"pill",color:"primary",variant:"outline",onClick:g},{default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(t.unref(i)("common.confirm")),1)]),_:1}),t.createVNode(t.unref(A.OButton),{variant:"text",onClick:E},{default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(t.unref(i)("common.cancel")),1)]),_:1})]),key:"0"}:void 0]),1032,["placeholder","modelValue"])],2))}}),e2={class:"o-meeting-form"},t2={key:1,class:"label-wrapper"},i2={class:"o-meeting-form-popover-content etherpad"},n2={class:"repeat-config-wrapper"},r2={class:"repeat-config"},s2={class:"repeat-config-item"},a2={class:"time-select-wrapper"},o2={key:1},l2={key:1,class:"switch-wrapper"},u2={class:"switch-text"},c2={key:0},d2={key:2,class:"switch-wrapper"},h2={class:"switch-text"},f2={key:1,class:"label-wrapper"},p2={class:"o-meeting-form-popover-content"},m2=["href"],g2={key:0,class:"form-btns"},xc=t.defineComponent({__name:"OMeetingForm",props:{data:{},subId:{},createMeetingRequest:{},editMeetingRequest:{},editSubMeetingRequest:{},getPlatformsRequest:{},getGroupsRequest:{},showBtns:{type:Boolean,default:!0},groupType:{default:pi.SIG},confirmText:{},labelMap:{},privateContactEmail:{default:""},enablePrivate:{type:Boolean,default:!1}},emits:["confirm","cancel"],setup(r,{expose:e,emit:i}){const{t:n,locale:s,cycleTypeOptions0:a,intervalWeekOptions:o,getPlatformLabel:l}=yn(),c=r,d=A.useMessage(null),m=a,g=o,E=t.computed(()=>Object.keys((c==null?void 0:c.data)||{}).length>0),C=t.computed(()=>!!c.subId),w=t.computed(()=>f1(b.value.cycle_type,m.value,"max")),v={is_record:!0,agenda:"",email_list:"",platform:"WELINK",topic:"",group_name:"",etherpad:"",date:"",date_range:[],start:"",end:"",time:"",is_cycle:!1,cycle_interval:1,cycle_type:pn,cycle_point:[],is_private:!1},b=t.ref(Object.assign({},v)),k=t.ref(null),S=t.ref(!1),D=t.ref(!1),O=t.computed(()=>({topic:[{required:!0,message:n("meeting.enterMeetingName")},{validator:J=>{if(J.length>128)return{type:"danger",message:n("meeting.meetingNameTooLong")}}}],agenda:[{validator:J=>{if(J.length>4096)return{type:"danger",message:n("meeting.meetingAgendaTooLong")}}}],group_name:[{required:!0,message:c.groupType===pi.GROUP?n("meeting.selectGroup"):n("meeting.selectSig")}],etherpad:[{required:!0,message:n("meeting.enterEtherpad")}],date:[{required:!0,message:n("meeting.selectDate")}],platform:[{required:!0,message:n("meeting.selectPlatform")}],time:[{validator:J=>{var Ee;const{is_cycle:Q,cycle_type:X,cycle_interval:ne,cycle_point:ve,date:W,date_range:he}=b.value;if(Q){const fe=n("meeting.finishMeetingConfig");if(X===pn&&!ne)return{type:"danger",message:fe};if(X===mn&&(!ne||!(ve!=null&&ve.length)))return{type:"danger",message:fe};if(X===tn&&(!ne||!(ve!=null&&ve.length)))return{type:"danger",message:fe};if(!(he!=null&&he.length))return{type:"danger",message:n("meeting.selectMeetingDate")};const ke=n("meeting.invalidMeetingDuration");let Re=he[0];const de=he[1];if(X===mn){const Te=new Set;for(;!Se(Re).isAfter(Se(de));)Te.add(Se(Re).day()),Re=Se(Re).add(1,"day").format("YYYY-MM-DD");if(ve.every(De=>!Te.has(De)))return{type:"danger",message:ke}}if(X===tn){const Te=new Set;for(;!Se(Re).isAfter(Se(de));)Te.add(Se(Re).date()),Re=Se(Re).add(1,"day").format("YYYY-MM-DD");if(ve.every(De=>!Te.has(De)))return{type:"danger",message:ke}}}else if(!W)return{type:"danger",message:n("meeting.selectMeetingDate")};if(!((Ee=J==null?void 0:J.trim())!=null&&Ee.length))return{type:"danger",message:n("meeting.selectMeetingTime")};const ce=J.split("-").map(fe=>fe.split(":").map(Number));if(ce[0][0]>ce[1][0]||ce[0][0]===ce[1][0]&&ce[0][1]>=ce[1][1])return{type:"danger",message:n("meeting.endTimeAfterStartTime")};if(!b.value.is_cycle&&b.value.date&&b.value.start){const fe=`${b.value.date} ${b.value.start}`;if(Se(fe).isBefore(Se()))return{type:"danger",message:n("meeting.startTimeBeforeEndTime")}}},triggers:["blur","change"]}],email_list:[{validator:J=>{if(E.value)return{};const Q=J.replaceAll(" ","").replaceAll(",",";")||"";if(Q.length){if(Q.length>1020)return{type:"danger",message:n("meeting.emailTooLong")};const X=Q.split(";")||[];if(X.some(ne=>!O0.test(ne)))return{type:"danger",message:n("meeting.emailInvalid")};if(X.some(ne=>ne.length>50))return{type:"danger",message:n("meeting.singleEmailTooLong")};if(X.length>20)return{type:"danger",message:n("meeting.emailCountTooLong")}}},triggers:["blur","change"]}]})),q=t.ref([]),R=async()=>{if(!c.getGroupsRequest)return;const J=await c.getGroupsRequest();q.value=J.map(Q=>({...Q,label:Q.group_name,value:Q.group_name})),c.data&&j(b.value.group_name)},x=t.ref([]),L=async()=>{if(!c.getPlatformsRequest)return;const J=await c.getPlatformsRequest();x.value=J.map(Q=>({label:l(Q),value:Q})),c.data||(b.value.platform=x.value[0].value)},_=i,V=()=>{if(!c.data)return{};const{start:J,end:Q,is_cycle:X,cycle_start_date:ne,cycle_end_date:ve,cycle_point:W,cycle_interval:he,cycle_start:ce,cycle_end:Ee,is_private:fe}=c.data;return{...c.data,is_private:fe??!1,time:`${J}-${Q}`,...X?{date_range:[ne,ve],cycle_point:(W==null?void 0:W.map(ke=>parseInt(ke)))||[],cycle_interval:he||1,time:`${ce}-${Ee}`,start:ce,end:Ee}:{}}};t.watch([()=>c.data,()=>q.value],([J])=>{var Q;if(J){const X=V(),ne=((Q=X==null?void 0:X.cycle_sub)==null?void 0:Q.find(ke=>ke.sub_id===c.subId))||{},{mid:ve,date:W,start:he,end:ce,sub_id:Ee}=ne;Object.assign(b.value,X,C.value?{is_cycle:!1,mid:ve,date:W,start:he,end:ce,sub_id:Ee}:{});const fe=q.value.find(ke=>ke.value===b.value.group_name);S.value=(fe==null?void 0:fe.private_enable)??!1}else{const X=Se().format("YYYY-MM-DD"),ne=Se().format("HH:mm");let ve="",W="";const he=Vn(ne);if(he<=Vn("08:00"))ve="08:00",W="09:00";else if(Vn("22:15")<=he)ve="08:00",W="09:00";else{let[Ee,fe]=ne.split(":").map(Number);fe>=45?(Ee++,fe=0):fe=(Math.floor(fe/15)+1)*15,ve=bc(Ee*60+fe).slice(3),W=bc(Ee*60+fe+60).slice(3)}const ce=[Se().format("YYYY-MM-DD"),Se().add(1,"month").format("YYYY-MM-DD")];Object.assign(b.value,{date:X,start:ve,end:W,time:`${ve}-${W}`,date_range:ce})}},{immediate:!0,deep:!0});const I=()=>{var J,Q,X,ne;b.value=Object.assign({},v),(Q=(J=k.value)==null?void 0:J.clearValidate)==null||Q.call(J),(ne=(X=k.value)==null?void 0:X.resetFields)==null||ne.call(X),_("cancel")},z=()=>{if(b.value.is_private)b.value.is_cycle=!1,b.value.email_list="",U();else{const J=q.value.find(Q=>Q.value===b.value.group_name);b.value.email_list=(J==null?void 0:J.email_list)||""}},M=()=>{b.value.cycle_point=[],b.value.cycle_interval=1},U=()=>{var J;b.value.platform=((J=x.value.find(Q=>Q.value.toLowerCase()==="welink"))==null?void 0:J.value)||"WeLink"},{lePadV:P}=Et.useScreen(),te=async()=>{var Q;let J=E.value?n("meeting.editSuccess"):n("meeting.createSuccess");try{D.value=!0;const X=await k.value.validate();if(!X||X.some(Ae=>!!Ae))return;const{topic:ne,etherpad:ve,group_name:W,platform:he,date:ce,start:Ee,end:fe,agenda:ke,is_record:Re,is_cycle:de,date_range:Te,cycle_type:De,cycle_interval:We,cycle_point:qe,is_private:ct}=b.value;let Je={topic:ne,etherpad:ve,agenda:ke,is_record:Re,group_name:W,platform:he,is_cycle:de,is_private:ct},Me;if(de?(Je={...Je,cycle_interval:We,cycle_type:De,cycle_start_date:(Te==null?void 0:Te[0])||"",cycle_end_date:(Te==null?void 0:Te[1])||"",cycle_start:Ee,cycle_end:fe},De!==pn&&(Je={...Je,cycle_point:qe.join(",")})):Je={...Je,date:(ce==null?void 0:ce.split(" ")[0])||"",start:Ee,end:fe},E.value)if(C.value){const{mid:Ae,sub_id:xe}=b.value,{date:se,start:oe,end:ye}=Je;Me=await(c==null?void 0:c.editSubMeetingRequest(xe,{mid:Ae,date:se,start:oe,end:ye,is_notify:!0}))}else{const{email_list:Ae,platform:xe,group_name:se,etherpad:oe,...ye}=Je;Me=await(c==null?void 0:c.editMeetingRequest((Q=c.data)==null?void 0:Q.id,{...ye,is_notify:!0}))}else Me=await(c==null?void 0:c.createMeetingRequest({...Je,email_list:b.value.email_list.replaceAll(" ","")}));if(typeof Me=="boolean"&&!Me)return;const Ie=n("meeting.meetingHandleSuccess",[b.value.topic,J]);d.success({content:Ie}),_("confirm")}finally{D.value=!1}};t.onMounted(()=>{R(),L()});const j=J=>{const Q=q.value.find(X=>X.value===J);S.value=c.enablePrivate&&((Q==null?void 0:Q.private_enable)??!1),E.value||(b.value.etherpad=(Q==null?void 0:Q.etherpad)||"",b.value.email_list=(Q==null?void 0:Q.email_list)||"")},G=J=>J.getTime()<Date.now()-1440*60*1e3,ee=()=>{b.value.start&&b.value.end?b.value.time=`${b.value.start}-${b.value.end}`:b.value.time=""};return e({confirm:te}),(J,Q)=>(t.openBlock(),t.createElementBlock("div",e2,[t.createVNode(t.unref(A.OForm),{model:b.value,ref_key:"formRef",ref:k,"has-required":"",layout:t.unref(P)?"v":"h",class:"form-wrapper"},{default:t.withCtx(()=>{var X,ne,ve,W,he,ce,Ee;return[t.createVNode(t.unref(A.OFormItem),{rules:O.value.topic,label:((X=r.labelMap)==null?void 0:X.topic)??t.unref(n)("meeting.meetingName"),field:"topic"},{default:t.withCtx(()=>[t.createVNode(t.unref(A.OInput),{disabled:C.value,size:"large",placeholder:t.unref(n)("meeting.enterMeetingName"),style:{width:"100%"},modelValue:b.value.topic,"onUpdate:modelValue":Q[0]||(Q[0]=fe=>b.value.topic=fe)},null,8,["disabled","placeholder","modelValue"])]),_:1},8,["rules","label"]),t.createVNode(t.unref(A.OFormItem),{rules:O.value.group_name,label:((ne=r.labelMap)==null?void 0:ne.group_name)??(r.groupType===t.unref(pi).GROUP?t.unref(n)("meeting.meetingGroup"):t.unref(n)("meeting.meetingSig")),field:"group_name"},{default:t.withCtx(()=>[t.createVNode(t.unref(A.OSelect),{disabled:E.value,placeholder:r.groupType===t.unref(pi).GROUP?t.unref(n)("meeting.selectGroup"):t.unref(n)("meeting.selectSig"),size:"large",style:{width:"100%"},modelValue:b.value.group_name,"onUpdate:modelValue":Q[1]||(Q[1]=fe=>b.value.group_name=fe),onChange:j},{default:t.withCtx(()=>[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(q.value,fe=>(t.openBlock(),t.createBlock(t.unref(A.OOption),{key:fe.value,value:fe.value},{default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(fe.label),1)]),_:2},1032,["value"]))),128))]),_:1},8,["disabled","placeholder","modelValue"])]),_:1},8,["rules","label"]),b.value.group_name?(t.openBlock(),t.createBlock(t.unref(A.OFormItem),{key:0,rules:O.value.etherpad,label:"Etherpad",field:"etherpad"},{label:t.withCtx(()=>{var fe;return[(fe=r.labelMap)!=null&&fe.etherpad?(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[t.createTextVNode(t.toDisplayString(r.labelMap.etherpad),1)],64)):(t.openBlock(),t.createElementBlock("div",t2,[t.createElementVNode("span",null,t.toDisplayString(t.unref(n)("meeting.etherpad"))+" ",1),t.createVNode(t.unref(A.OPopover),null,{target:t.withCtx(()=>[t.createVNode(t.unref(A.OIcon),null,{default:t.withCtx(()=>[t.createVNode(t.unref(Ac))]),_:1})]),default:t.withCtx(()=>[t.createElementVNode("div",i2,t.toDisplayString(t.unref(n)("meeting.etherpadDesc")),1)]),_:1})]))]}),default:t.withCtx(()=>[t.createVNode(t.unref(A.OInput),{disabled:E.value,size:"large",placeholder:t.unref(n)("meeting.enterEtherpad"),style:{width:"100%"},modelValue:b.value.etherpad,"onUpdate:modelValue":Q[2]||(Q[2]=fe=>b.value.etherpad=fe)},null,8,["disabled","placeholder","modelValue"])]),_:1},8,["rules"])):t.createCommentVNode("",!0),S.value?(t.openBlock(),t.createBlock(t.unref(A.OFormItem),{key:1,label:((ve=r.labelMap)==null?void 0:ve.is_private)??t.unref(n)("meeting.meetingType"),required:"",field:"is_private"},{default:t.withCtx(()=>[t.createVNode(t.unref(A.ORadioGroup),{modelValue:b.value.is_private,"onUpdate:modelValue":Q[3]||(Q[3]=fe=>b.value.is_private=fe),onChange:z,disabled:E.value},{default:t.withCtx(()=>[t.createVNode(t.unref(A.ORadio),{value:!1},{default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(t.unref(n)("meeting.public")),1)]),_:1}),t.createVNode(t.unref(A.ORadio),{value:!0},{default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(t.unref(n)("meeting.private")),1)]),_:1})]),_:1},8,["modelValue","disabled"])]),_:1},8,["label"])):t.createCommentVNode("",!0),t.createVNode(t.unref(A.OFormItem),{label:((W=r.labelMap)==null?void 0:W.time)??t.unref(n)("meeting.meetingTime"),field:"time",rules:O.value.time,class:"repeat-row",required:""},{default:t.withCtx(()=>{var fe,ke,Re;return[t.createElementVNode("div",n2,[C.value?t.createCommentVNode("",!0):(t.openBlock(),t.createBlock(t.unref(A.OFormItem),{key:0,field:"repeat",class:"repeat-radio-item"},{default:t.withCtx(()=>[t.createVNode(t.unref(A.ORadioGroup),{modelValue:b.value.is_cycle,"onUpdate:modelValue":Q[4]||(Q[4]=de=>b.value.is_cycle=de),onChange:U,disabled:E.value||b.value.is_private},{default:t.withCtx(()=>[t.createVNode(t.unref(A.ORadio),{value:!1},{default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(t.unref(n)("meeting.nonRepeat")),1)]),_:1}),t.createVNode(t.unref(A.ORadio),{value:!0},{default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(t.unref(n)("meeting.isRepeat")),1)]),_:1})]),_:1},8,["modelValue","disabled"])]),_:1})),t.createElementVNode("div",r2,[b.value.is_cycle?(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[t.createVNode(t.unref(A.OFormItem),{label:t.unref(n)("meeting.every"),class:"full-width-item"},{default:t.withCtx(()=>[t.createElementVNode("div",s2,[b.value.cycle_type!==t.unref(tn)?(t.openBlock(),t.createBlock(t.unref(A.OFormItem),{key:0},{default:t.withCtx(()=>[t.createVNode(t.unref(tt.ElInputNumber),{size:"large",modelValue:b.value.cycle_interval,"onUpdate:modelValue":Q[5]||(Q[5]=de=>b.value.cycle_interval=de),min:1,max:w.value},null,8,["modelValue","max"])]),_:1})):t.createCommentVNode("",!0),t.createVNode(t.unref(A.OFormItem),null,{default:t.withCtx(()=>[t.createVNode(t.unref(A.OSelect),{size:"large",modelValue:b.value.cycle_type,"onUpdate:modelValue":Q[6]||(Q[6]=de=>b.value.cycle_type=de),class:"interval-select",optionWrapClass:"o-meeting-form-interval-select-options",onChange:M},{default:t.withCtx(()=>[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(t.unref(m),de=>(t.openBlock(),t.createBlock(t.unref(A.OOption),{key:de.value,value:de.value,label:de.label},null,8,["value","label"]))),128))]),_:1},8,["modelValue"])]),_:1})])]),_:1},8,["label"]),b.value.cycle_type!==t.unref(pn)?(t.openBlock(),t.createBlock(t.unref(A.OFormItem),{key:0,label:((fe=r.labelMap)==null?void 0:fe.cycle_point)??t.unref(n)("meeting.in"),field:"cycle_point",class:"point-item"},{default:t.withCtx(()=>[b.value.cycle_type===t.unref(mn)?(t.openBlock(),t.createBlock(t.unref(A.OSelect),{key:0,size:"large",multiple:"",modelValue:b.value.cycle_point,"onUpdate:modelValue":Q[7]||(Q[7]=de=>b.value.cycle_point=de),placeholder:t.unref(n)("meeting.selectRepeatDate"),"max-tag-count":1},{default:t.withCtx(()=>[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(t.unref(g),de=>(t.openBlock(),t.createBlock(t.unref(A.OOption),{key:de.value,value:de.value,label:de.label},null,8,["value","label"]))),128))]),_:1},8,["modelValue","placeholder"])):t.createCommentVNode("",!0),b.value.cycle_type===t.unref(tn)?(t.openBlock(),t.createBlock($1,{key:1,modelValue:b.value.cycle_point,"onUpdate:modelValue":Q[8]||(Q[8]=de=>b.value.cycle_point=de)},null,8,["modelValue"])):t.createCommentVNode("",!0)]),_:1},8,["label"])):t.createCommentVNode("",!0),t.createVNode(t.unref(A.OFormItem),{label:((ke=r.labelMap)==null?void 0:ke.date_range)??t.unref(n)("meeting.meetingDuration"),field:"date_range"},{default:t.withCtx(()=>[t.createVNode(t.unref(tt.ElDatePicker),{size:"large",modelValue:b.value.date_range,"onUpdate:modelValue":Q[9]||(Q[9]=de=>b.value.date_range=de),"start-placeholder":t.unref(n)("meeting.startDate"),"end-placeholder":t.unref(n)("meeting.endDate"),style:{width:"100%"},"value-format":"YYYY-MM-DD","disabled-date":G,clearable:!1,type:"daterange","popper-class":"o-meeting-form-date-picker-popper"},null,8,["modelValue","start-placeholder","end-placeholder"])]),_:1},8,["label"])],64)):(t.openBlock(),t.createBlock(t.unref(A.OFormItem),{key:1,label:((Re=r.labelMap)==null?void 0:Re.date)??t.unref(n)("meeting.meetingDate"),field:"date"},{default:t.withCtx(()=>[t.createVNode(t.unref(tt.ElDatePicker),{"popper-class":"o-meeting-form-date-picker-popper",size:"large",modelValue:b.value.date,"onUpdate:modelValue":Q[10]||(Q[10]=de=>b.value.date=de),placeholder:t.unref(n)("meeting.selectDate"),style:{width:"100%"},"value-format":"YYYY-MM-DD","disabled-date":G,clearable:!1},null,8,["modelValue","placeholder"])]),_:1},8,["label"])),t.createVNode(t.unref(A.OFormItem),{label:t.unref(n)("meeting.meetingTime")},{default:t.withCtx(()=>[t.createElementVNode("div",a2,[t.createVNode(t.unref(A.OFormItem),{field:"start"},{default:t.withCtx(()=>[t.createVNode(t.unref(tt.ElTimeSelect),{"popper-class":"meeting-form-time-popover",step:"00:15",start:"08:00",end:"22:45",placeholder:t.unref(n)("meeting.startTime"),modelValue:b.value.start,"onUpdate:modelValue":Q[11]||(Q[11]=de=>b.value.start=de),size:"large",clearable:!1,onChange:ee},null,8,["placeholder","modelValue"])]),_:1}),Q[18]||(Q[18]=t.createElementVNode("span",null,"-",-1)),t.createVNode(t.unref(A.OFormItem),{field:"end"},{default:t.withCtx(()=>[t.createVNode(t.unref(tt.ElTimeSelect),{"popper-class":"meeting-form-time-popover",step:"00:15",start:"08:00",end:"22:45",placeholder:t.unref(n)("meeting.endTime"),modelValue:b.value.end,"onUpdate:modelValue":Q[12]||(Q[12]=de=>b.value.end=de),size:"large",clearable:!1,onChange:ee},null,8,["placeholder","modelValue"])]),_:1}),t.createVNode(t.unref(A.OIconTime))])]),_:1},8,["label"])])])]}),_:1},8,["label","rules"]),t.createVNode(t.unref(A.OFormItem),{label:((he=r.labelMap)==null?void 0:he.platform)??t.unref(n)("meeting.meetingPlatform"),field:"platform",rules:O.value.platform,class:"platform-item"},{default:t.withCtx(()=>[r.data?(t.openBlock(),t.createElementBlock("span",o2,t.toDisplayString(t.unref(l)(b.value.platform)),1)):(t.openBlock(),t.createBlock(t.unref(A.ORadioGroup),{key:0,modelValue:b.value.platform,"onUpdate:modelValue":Q[13]||(Q[13]=fe=>b.value.platform=fe),disabled:b.value.is_cycle||b.value.is_private},{default:t.withCtx(()=>[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(x.value,fe=>(t.openBlock(),t.createBlock(t.unref(A.ORadio),{key:fe.value,value:fe.value},{default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(t.unref(l)(fe.label)),1)]),_:2},1032,["value"]))),128))]),_:1},8,["modelValue","disabled"]))]),_:1},8,["label","rules"]),t.createVNode(t.unref(A.OFormItem),{field:"agenda",label:((ce=r.labelMap)==null?void 0:ce.agenda)??t.unref(n)("meeting.meetingAgenda"),rules:O.value.genda},{default:t.withCtx(()=>[t.createVNode(t.unref(A.OTextarea),{disabled:C.value,size:"large",placeholder:t.unref(n)("meeting.enterMeetingAgenda"),style:{width:"100%"},rows:4,modelValue:b.value.agenda,"onUpdate:modelValue":Q[14]||(Q[14]=fe=>b.value.agenda=fe)},null,8,["disabled","placeholder","modelValue"])]),_:1},8,["label","rules"]),t.createVNode(t.unref(A.OFormItem),{label:((Ee=r.labelMap)==null?void 0:Ee.is_record)??t.unref(n)("meeting.meetingRecord"),field:"is_record",class:"record-item full-width-item"},{default:t.withCtx(()=>[t.unref(P)?(t.openBlock(),t.createBlock(t.unref(A.OSwitch),{key:0,modelValue:b.value.is_record,"onUpdate:modelValue":Q[15]||(Q[15]=fe=>b.value.is_record=fe),disabled:C.value},null,8,["modelValue","disabled"])):(t.openBlock(),t.createElementBlock("div",l2,[t.createVNode(t.unref(A.OSwitch),{modelValue:b.value.is_record,"onUpdate:modelValue":Q[16]||(Q[16]=fe=>b.value.is_record=fe),disabled:C.value},null,8,["modelValue","disabled"]),t.createElementVNode("div",u2,[t.createVNode(t.unref(A.OIcon),null,{default:t.withCtx(()=>[t.createVNode(t.unref(Ec))]),_:1}),t.createElementVNode("div",null,[b.value.is_private?(t.openBlock(),t.createElementBlock("span",c2,t.toDisplayString(t.unref(n)("meeting.privateRecordDesc",[b.value.platform,r.privateContactEmail])),1)):(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[t.createElementVNode("span",null,t.toDisplayString(t.unref(n)("meeting.meetingRecordDesc1")),1),Q[19]||(Q[19]=t.createElementVNode("br",null,null,-1)),t.createElementVNode("span",null,t.toDisplayString(t.unref(n)("meeting.meetingRecordDesc2")),1)],64))])])]))]),_:1},8,["label"]),t.unref(P)?(t.openBlock(),t.createElementBlock("div",d2,[t.createElementVNode("div",h2,[t.createVNode(t.unref(A.OIcon),null,{default:t.withCtx(()=>[t.createVNode(t.unref(Ec))]),_:1}),t.createElementVNode("div",null,[t.createElementVNode("span",null,t.toDisplayString(t.unref(n)("meeting.meetingRecordDesc1")),1),Q[20]||(Q[20]=t.createElementVNode("br",null,null,-1)),t.createElementVNode("span",null,t.toDisplayString(t.unref(n)("meeting.meetingRecordDesc2")),1)])])])):t.createCommentVNode("",!0),t.createVNode(t.unref(A.OFormItem),{field:"email_list",rules:O.value.email_list},{label:t.withCtx(()=>{var fe;return[(fe=r.labelMap)!=null&&fe.email_list?(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[t.createTextVNode(t.toDisplayString(r.labelMap.email_list),1)],64)):(t.openBlock(),t.createElementBlock("div",f2,[t.createElementVNode("span",null,t.toDisplayString(t.unref(n)("meeting.meetingEmail"))+" ",1),t.createVNode(t.unref(A.OPopover),null,{target:t.withCtx(()=>[t.createVNode(t.unref(A.OIcon),null,{default:t.withCtx(()=>[t.createVNode(t.unref(Ac))]),_:1})]),default:t.withCtx(()=>[t.createElementVNode("div",p2,[t.createTextVNode(t.toDisplayString(t.unref(n)("meeting.meetingEmailDesc"))+" ",1),t.createElementVNode("a",{class:"link-text",href:`/${t.unref(s)}/sig`},t.toDisplayString(t.unref(n)("meeting.sigGroupEmail")),9,m2)])]),_:1})]))]}),default:t.withCtx(()=>[t.createVNode(t.unref(A.OTextarea),{disabled:E.value,size:"large",placeholder:b.value.is_private?t.unref(n)("meeting.privateEnterEmail"):t.unref(n)("meeting.enterEmail"),style:{width:"100%"},rows:4,modelValue:b.value.email_list,"onUpdate:modelValue":Q[17]||(Q[17]=fe=>b.value.email_list=fe)},null,8,["disabled","placeholder","modelValue"])]),_:1},8,["rules"])]}),_:1},8,["model","layout"]),r.showBtns?(t.openBlock(),t.createElementBlock("div",g2,[t.createVNode(t.unref(A.OButton),{color:"primary",variant:"solid",size:"large",onClick:te,loading:D.value},{default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(E.value?t.unref(n)("common.save"):r.confirmText||t.unref(n)("meeting.create")),1)]),_:1},8,["loading"]),t.createVNode(t.unref(A.OButton),{color:"primary",variant:"outline",size:"large",onClick:I},{default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(t.unref(n)("common.cancel")),1)]),_:1})])):t.createCommentVNode("",!0)]))}}),v2={version:"1.1",xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"};function y2(r,e){return t.openBlock(),t.createElementBlock("svg",v2,[...e[0]||(e[0]=[t.createElementVNode("path",{fill:"#0071f3",d:"M9.669 4.029l-0.034-0.034c0-0.48 0.377-0.857 0.857-0.857s0.857 0.377 0.857 0.857l-0.034 0.034h-1.646zM12.669 7.526l-0.034-0.034c0-0.48 0.377-0.857 0.857-0.857s0.857 0.377 0.857 0.857l-0.034 0.034h-1.646zM6.669 8.52l-0.034-0.034c0-0.48 0.377-0.857 0.857-0.857s0.857 0.377 0.857 0.857l-0.034 0.034h-1.646zM15.669 9.531l-0.034-0.034c0-0.48 0.377-0.857 0.857-0.857s0.857 0.377 0.857 0.857l-0.034 0.034h-1.646zM3.669 11.023l-0.034-0.034c0-0.48 0.377-0.857 0.857-0.857s0.857 0.377 0.857 0.857l-0.034 0.034h-1.646zM18.669 11.777l-0.034-0.034c0-0.48 0.377-0.857 0.857-0.857s0.857 0.377 0.857 0.857l-0.034 0.034h-1.646zM20.349 13.234l-0.034-0.034h-1.646l-0.034 0.034c0 0.48 0.377 0.857 0.857 0.857s0.857-0.377 0.857-0.857zM5.349 13.989l-0.034-0.034h-1.646l-0.034 0.034c0 0.48 0.377 0.857 0.857 0.857s0.857-0.377 0.857-0.857zM17.349 15.497l-0.034-0.034h-1.646l-0.034 0.034c0 0.48 0.377 0.857 0.857 0.857s0.857-0.377 0.857-0.857zM8.349 16.474l-0.034-0.034h-1.646l-0.034 0.034c0 0.48 0.377 0.857 0.857 0.857s0.857-0.377 0.857-0.857zM14.349 17.486l-0.034-0.034h-1.646l-0.034 0.034c0 0.48 0.377 0.857 0.857 0.857s0.857-0.377 0.857-0.857zM11.349 20.486l-0.034-0.034h-1.646l-0.034 0.034c0 0.48 0.377 0.857 0.857 0.857s0.857-0.377 0.857-0.857z"},null,-1),t.createElementVNode("path",{fill:"none",stroke:"#0071f3","stroke-linejoin":"round","stroke-linecap":"round","stroke-miterlimit":"4","stroke-width":"1.71",d:"M4.491 10.989v3M7.491 8.486v7.989M10.491 3.994v16.491M13.491 7.491v9.994M16.491 9.497v6M19.491 11.743v1.491"},null,-1),t.createElementVNode("path",{fill:"#0071f3",d:"M22.491 12.994c0.274 0 0.497-0.223 0.497-0.497s-0.223-0.497-0.497-0.497c-0.274 0-0.497 0.223-0.497 0.497s0.223 0.497 0.497 0.497zM1.491 12.994c0.274 0 0.497-0.223 0.497-0.497s-0.223-0.497-0.497-0.497c-0.274 0-0.497 0.223-0.497 0.497s0.223 0.497 0.497 0.497z"},null,-1)])])}const b2={name:"meeting-icon-playing",render:y2},C2={version:"1.1",xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32",viewBox:"0 0 32 32"};function T2(r,e){return t.openBlock(),t.createElementBlock("svg",C2,[...e[0]||(e[0]=[t.createElementVNode("path",{d:"M23.399 22.031l0.116 0.099 3.68 3.672c0.365 0.364 0.365 0.955 0.001 1.32-0.328 0.328-0.839 0.361-1.204 0.1l-0.116-0.099-3.68-3.672c-0.365-0.364-0.365-0.955-0.001-1.32 0.328-0.328 0.839-0.361 1.204-0.1zM14.428 4.605c5.465 0 9.897 4.431 9.897 9.897s-4.431 9.897-9.897 9.897c-5.465 0-9.897-4.431-9.897-9.897s4.431-9.897 9.897-9.897zM14.428 6.472c-4.435 0-8.031 3.595-8.031 8.031s3.595 8.031 8.031 8.031c4.435 0 8.031-3.595 8.031-8.031s-3.595-8.031-8.031-8.031z"},null,-1)])])}const A2={name:"components-icon-search",render:T2},E2={version:"1.1",xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"};function x2(r,e){return t.openBlock(),t.createElementBlock("svg",E2,[...e[0]||(e[0]=[t.createElementVNode("path",{fill:"currentColor",d:"M5.759 8.873c0.251-0.251 0.644-0.271 0.918-0.063l0.072 0.063 5.016 5.016c0.1 0.1 0.254 0.115 0.37 0.043l0.054-0.043 5.062-5.062c0.273-0.273 0.717-0.273 0.99 0 0.251 0.251 0.271 0.644 0.063 0.918l-0.063 0.072-5.062 5.062c-0.629 0.629-1.628 0.662-2.296 0.099l-0.108-0.099-5.016-5.016c-0.273-0.273-0.273-0.717 0-0.99z"},null,-1)])])}const ns={name:"components-icon-chevron-down",render:x2},k2={version:"1.1",xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"};function _2(r,e){return t.openBlock(),t.createElementBlock("svg",k2,[...e[0]||(e[0]=[t.createElementVNode("path",{fill:"currentColor",d:"M5.759 15.127c0.251 0.251 0.644 0.271 0.918 0.063l0.072-0.063 5.016-5.016c0.1-0.1 0.254-0.115 0.37-0.043l0.054 0.043 5.062 5.062c0.273 0.273 0.717 0.273 0.99 0 0.251-0.251 0.271-0.644 0.063-0.918l-0.063-0.072-5.062-5.062c-0.629-0.629-1.628-0.662-2.296-0.099l-0.108 0.099-5.016 5.016c-0.273 0.273-0.273 0.717 0 0.99z"},null,-1)])])}const S2={name:"components-icon-chevron-up",render:_2},w2={version:"1.1",xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"};function D2(r,e){return t.openBlock(),t.createElementBlock("svg",w2,[...e[0]||(e[0]=[t.createElementVNode("path",{fill:"currentColor",d:"M18.528 5.472c0.246 0.246 0.271 0.63 0.074 0.903l-0.074 0.087-5.54 5.538 0.006 0.006-0.989 0.989-0.006-0.006-5.538 5.54c-0.273 0.273-0.717 0.273-0.99 0-0.246-0.246-0.271-0.63-0.074-0.903l0.074-0.087 5.538-5.539-5.538-5.538-0.074-0.087c-0.197-0.274-0.172-0.657 0.074-0.903s0.63-0.271 0.903-0.074l0.087 0.074 5.538 5.539 5.539-5.539c0.273-0.273 0.717-0.273 0.99 0zM14.551 13.561l3.978 3.978 0.074 0.087c0.197 0.274 0.172 0.657-0.074 0.903s-0.63 0.271-0.903 0.074l-0.087-0.074-3.978-3.978c-0.273-0.273-0.273-0.717 0-0.99v0c0.273-0.273 0.717-0.273 0.99 0z"},null,-1)])])}const Da={name:"components-icon-close",render:D2},B2={version:"1.1",xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"};function V2(r,e){return t.openBlock(),t.createElementBlock("svg",B2,[...e[0]||(e[0]=[t.createElementVNode("path",{d:"M3.42 6.060c0-2.52 2.040-4.575 4.575-4.575 2.52 0 4.575 2.055 4.575 4.575s-2.055 4.575-4.575 4.575c-2.535 0-4.575-2.055-4.575-4.575zM15.015 10.47c0-1.8 1.455-3.27 3.255-3.27 1.815 0 3.27 1.47 3.27 3.27s-1.455 3.27-3.27 3.27c-1.8 0-3.255-1.47-3.255-3.27zM4.56 12.915h6.855c2.535 0 4.575 2.055 4.575 4.575 0 0.255-0.015 0.51-0.060 0.75-0.36 2.16-2.235 3.825-4.515 3.825h-6.855c-2.52 0-4.575-2.055-4.575-4.575s2.055-4.575 4.575-4.575zM17.595 17.49c0-0.75-0.135-1.455-0.375-2.115h3.51c1.8 0 3.255 1.455 3.255 3.255s-1.455 3.27-3.255 3.27h-4.995c1.155-1.125 1.86-2.685 1.86-4.41z"},null,-1)])])}const I2={name:"meeting-icon-speaker",render:V2},N2={class:"o-meeting-playback-subtitles"},O2={class:"search-captions"},P2={key:0,class:"suffix-box"},M2={class:"right-handle"},L2=["onClick"],R2={class:"info"},q2={class:"num"},F2={class:"speaker"},U2={class:"start-time"},z2={class:"text"},H2={key:1},j2=t.defineComponent({__name:"OMeetingPlaybackSubtitles",props:{captions:{default:()=>[]},instance:{},trackIdx:{}},setup(r){const e=us(),i=r,{t:n}=Ue.useI18n(),s=t.computed(()=>i.trackIdx),a=t.ref(),o=t.ref(!1),l=()=>{o.value=!0},c=wt.useDebounceFn(()=>{o.value=!1},3e3);t.watch(()=>o.value,M=>{M&&c()});const d=t.ref([]);t.watch(()=>i.captions,()=>{d.value=i.captions||[],t.nextTick(()=>{var M;a.value&&((M=a.value)==null||M.scrollTo({top:0,behavior:"smooth"}))})},{immediate:!0,deep:!0});const m=M=>`00:${M.split(".")[0]}`.slice(-8),g=M=>{const U=M.split(":"),P=U[U.length-3]?parseInt(U[U.length-3]):0,te=parseInt(U[U.length-2]),j=parseFloat(U[U.length-1]);return P*60*60+te*60+j};t.onMounted(()=>{var M;a.value=document.querySelector("#captionsScrollDom > .o-scroller-container"),(M=a.value)==null||M.addEventListener("wheel",l)}),t.watch(()=>d.value,()=>{var M;a.value=document.querySelector("#captionsScrollDom > .o-scroller-container"),(M=a.value)==null||M.addEventListener("wheel",l)});const E=t.ref(0),C=()=>{},w=M=>{const U=i.instance;if(!U)return;const P=g(M);U.currentTime(P)},v=t.ref(""),b=t.ref(0),k=t.ref(0),S=t.ref([]),D=n("common.all"),O=t.computed(()=>[...new Set(i.captions.map(M=>M.speakerLabel).sort().reverse())]);t.watch(()=>s.value,()=>{var U,P;if(o.value&&v.value)return;const M=(U=a.value)==null?void 0:U.querySelectorAll(".captions-item")[s.value-1];(P=a.value)==null||P.scrollTo({top:(M==null?void 0:M.offsetTop)-16,behavior:"smooth"})}),t.onUnmounted(()=>{a.value&&a.value.removeEventListener("wheel",l)});const q=(M,U)=>{var ee,J,Q,X,ne,ve;const P=document.getElementsByClassName("light-keyword")[M-1],te=document.getElementsByClassName("light-keyword")[M-U];te==null||te.classList.remove("light-keyword-active"),P==null||P.classList.add("light-keyword-active");const j=P.offsetTop+P.offsetHeight<((ee=a.value)==null?void 0:ee.scrollTop),G=P.offsetTop>((J=a.value)==null?void 0:J.offsetHeight)+((Q=a.value)==null?void 0:Q.scrollTop);(j||G)&&((ve=a.value)==null||ve.scrollTo({top:(ne=(X=P.parentElement)==null?void 0:X.parentElement)==null?void 0:ne.offsetTop,behavior:"smooth"}))},R=()=>{!b.value||k.value===1||(k.value--,q(k.value,0))},x=M=>{M!=null&&M.shiftKey||!b.value||k.value===b.value||(k.value++,q(k.value,2))},L=M=>{d.value=i.captions.filter(U=>S.value.includes(U.speakerLabel)).map(U=>({...U,contentHtml:M?U.contentHtml.replaceAll(M,`<span class="light-keyword">${M}</span>`):U.contentHtml})),t.nextTick(()=>{var P;const U=document.getElementsByClassName("light-keyword");b.value=U.length,b.value?x():(P=a.value)==null||P.scrollTo({top:0,behavior:"smooth"})})},_=wt.useDebounceFn(L,300);t.watch(()=>v.value,M=>{k.value=0,_(M)}),t.watch(()=>O.value,M=>{S.value=M},{immediate:!0});const V=t.ref(!1),I=t.ref(!1),z=M=>{I.value=!1,M?S.value=O.value:S.value=[]};return t.watch(()=>S.value,M=>{M.length===0?(V.value=!1,I.value=!1):M.length===O.value.length?(V.value=!0,I.value=!1):I.value=!0,_(v.value)},{deep:!0}),(M,U)=>(t.openBlock(),t.createElementBlock("div",N2,[t.createElementVNode("div",O2,[t.createVNode(t.unref(A.OInput),{modelValue:v.value,"onUpdate:modelValue":U[1]||(U[1]=P=>v.value=P),onKeydown:[t.withKeys(x,["enter"]),t.withKeys(t.withModifiers(R,["shift","stop"]),["enter"])],placeholder:t.unref(n)("meeting.searchSubtitlePlaceholder"),size:"large",class:"input-captions"},{prefix:t.withCtx(()=>[t.createVNode(t.unref(A.OIcon),null,{default:t.withCtx(()=>[t.createVNode(t.unref(A2))]),_:1})]),suffix:t.withCtx(()=>[v.value?(t.openBlock(),t.createElementBlock("div",P2,[t.createElementVNode("span",null,t.toDisplayString(k.value)+"/"+t.toDisplayString(b.value),1),t.createVNode(t.unref(A.OIcon),{onClick:R},{default:t.withCtx(()=>[t.createVNode(t.unref(S2))]),_:1}),t.createVNode(t.unref(A.OIcon),{onClick:x},{default:t.withCtx(()=>[t.createVNode(t.unref(ns))]),_:1}),t.createVNode(t.unref(A.ODivider),{direction:"v"}),t.createVNode(t.unref(A.OIcon),{class:"hover-close",onClick:U[0]||(U[0]=P=>v.value="")},{default:t.withCtx(()=>[t.createVNode(t.unref(Da))]),_:1})])):t.createCommentVNode("",!0)]),_:1},8,["modelValue","onKeydown","placeholder"]),t.createElementVNode("div",M2,[t.createVNode(t.unref(tt.ElSelect),{multiple:"",modelValue:S.value,"onUpdate:modelValue":U[3]||(U[3]=P=>S.value=P),"popper-class":"speakers-selector-popper",class:"speakers-selector",placement:"bottom"},{prefix:t.withCtx(()=>[t.createVNode(t.unref(A.OIcon),null,{default:t.withCtx(()=>[t.createVNode(t.unref(I2))]),_:1})]),header:t.withCtx(()=>[t.createVNode(t.unref(tt.ElCheckbox),{modelValue:V.value,"onUpdate:modelValue":U[2]||(U[2]=P=>V.value=P),indeterminate:I.value,onChange:z},{default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(t.unref(D)),1)]),_:1},8,["modelValue","indeterminate"])]),default:t.withCtx(()=>[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(O.value,P=>(t.openBlock(),t.createBlock(t.unref(tt.ElOption),{key:P,label:P,value:P},{default:t.withCtx(()=>[t.createVNode(t.unref(tt.ElCheckbox),{"model-value":S.value.includes(P)},{default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(P),1)]),_:2},1032,["model-value"])]),_:2},1032,["label","value"]))),128))]),_:1},8,["modelValue"])])]),t.createVNode(t.unref(A.OTab),{modelValue:E.value,"onUpdate:modelValue":U[4]||(U[4]=P=>E.value=P),variant:"text",class:"captions-tab",onChange:C,"max-show":9999},{default:t.withCtx(()=>[t.createVNode(t.unref(A.OTabPane),{value:0,label:t.unref(n)("meeting.audioToText")},{default:t.withCtx(()=>[d.value.length?(t.openBlock(),t.createBlock(t.unref(A.OScroller),{key:0,id:"captionsScrollDom",class:"captions-scroller","show-type":"hover",size:"small","disabled-x":""},{default:t.withCtx(()=>[t.createVNode(t.unref(A.ORow),{gap:"0 8px",wrap:"wrap"},{default:t.withCtx(()=>[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(d.value,(P,te)=>(t.openBlock(),t.createBlock(t.unref(A.OCol),{flex:"0 0 100%",key:te},{default:t.withCtx(()=>[t.createElementVNode("div",{class:t.normalizeClass(["captions-item",{"captions-item-active":s.value===te+1}]),onClick:j=>w(P.start_time)},[t.createElementVNode("div",R2,[t.createElementVNode("div",q2,t.toDisplayString(P.speakerIdx),1),t.createElementVNode("div",F2,t.toDisplayString(P.speakerLabel),1),t.createElementVNode("div",U2,t.toDisplayString(m(P.start_time)),1),s.value===te+1?(t.openBlock(),t.createBlock(t.unref(A.OIcon),{key:0,class:"playing initial-fill"},{default:t.withCtx(()=>[t.createVNode(t.unref(b2))]),_:1})):t.createCommentVNode("",!0)]),t.withDirectives(t.createElementVNode("div",z2,null,512),[[t.unref(e),P.contentHtml]])],10,L2)]),_:2},1024))),128))]),_:1})]),_:1})):(t.openBlock(),t.createElementBlock("div",H2,[t.renderSlot(M.$slots,"empty")]))]),_:3},8,["label"])]),_:3},8,["modelValue"])]))}});var Co,kc;function Ba(){if(kc)return Co;kc=1;var r;return typeof window<"u"?r=window:typeof sa<"u"?r=sa:typeof self<"u"?r=self:r={},Co=r,Co}var X2=Ba();const K=fr(X2),G2={},Q2=Object.freeze(Object.defineProperty({__proto__:null,default:G2},Symbol.toStringTag,{value:"Module"})),Y2=u1(Q2);var To,_c;function q0(){if(_c)return To;_c=1;var r=typeof sa<"u"?sa:typeof window<"u"?window:{},e=Y2,i;return typeof document<"u"?i=document:(i=r["__GLOBAL_DOCUMENT_CACHE@4"],i||(i=r["__GLOBAL_DOCUMENT_CACHE@4"]=e)),To=i,To}var K2=q0();const we=fr(K2);var Us={exports:{}},Ao={exports:{}},Sc;function W2(){return Sc||(Sc=1,(function(r){function e(){return r.exports=e=Object.assign?Object.assign.bind():function(i){for(var n=1;n<arguments.length;n++){var s=arguments[n];for(var a in s)({}).hasOwnProperty.call(s,a)&&(i[a]=s[a])}return i},r.exports.__esModule=!0,r.exports.default=r.exports,e.apply(null,arguments)}r.exports=e,r.exports.__esModule=!0,r.exports.default=r.exports})(Ao)),Ao.exports}var Eo,wc;function J2(){if(wc)return Eo;wc=1,Eo=e;var r=Object.prototype.toString;function e(i){if(!i)return!1;var n=r.call(i);return n==="[object Function]"||typeof i=="function"&&n!=="[object RegExp]"||typeof window<"u"&&(i===window.setTimeout||i===window.alert||i===window.confirm||i===window.prompt)}return Eo}var xo,Dc;function Z2(){if(Dc)return xo;Dc=1;function r(s,a){var o=typeof Symbol<"u"&&s[Symbol.iterator]||s["@@iterator"];if(o)return(o=o.call(s)).next.bind(o);if(Array.isArray(s)||(o=e(s))||a){o&&(s=o);var l=0;return function(){return l>=s.length?{done:!0}:{done:!1,value:s[l++]}}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
7
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function e(s,a){if(s){if(typeof s=="string")return i(s,a);var o=Object.prototype.toString.call(s).slice(8,-1);if(o==="Object"&&s.constructor&&(o=s.constructor.name),o==="Map"||o==="Set")return Array.from(s);if(o==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o))return i(s,a)}}function i(s,a){(a==null||a>s.length)&&(a=s.length);for(var o=0,l=new Array(a);o<a;o++)l[o]=s[o];return l}var n=(function(){function s(){this.typeToInterceptorsMap_=new Map,this.enabled_=!1}var a=s.prototype;return a.getIsEnabled=function(){return this.enabled_},a.enable=function(){this.enabled_=!0},a.disable=function(){this.enabled_=!1},a.reset=function(){this.typeToInterceptorsMap_=new Map,this.enabled_=!1},a.addInterceptor=function(l,c){this.typeToInterceptorsMap_.has(l)||this.typeToInterceptorsMap_.set(l,new Set);var d=this.typeToInterceptorsMap_.get(l);return d.has(c)?!1:(d.add(c),!0)},a.removeInterceptor=function(l,c){var d=this.typeToInterceptorsMap_.get(l);return d&&d.has(c)?(d.delete(c),!0):!1},a.clearInterceptorsByType=function(l){var c=this.typeToInterceptorsMap_.get(l);return c?(this.typeToInterceptorsMap_.delete(l),this.typeToInterceptorsMap_.set(l,new Set),!0):!1},a.clear=function(){return this.typeToInterceptorsMap_.size?(this.typeToInterceptorsMap_=new Map,!0):!1},a.getForType=function(l){return this.typeToInterceptorsMap_.get(l)||new Set},a.execute=function(l,c){for(var d=this.getForType(l),m=r(d),g;!(g=m()).done;){var E=g.value;try{c=E(c)}catch{}}return c},s})();return xo=n,xo}var ko,Bc;function $2(){if(Bc)return ko;Bc=1;var r=(function(){function i(){this.maxAttempts_=1,this.delayFactor_=.1,this.fuzzFactor_=.1,this.initialDelay_=1e3,this.enabled_=!1}var n=i.prototype;return n.getIsEnabled=function(){return this.enabled_},n.enable=function(){this.enabled_=!0},n.disable=function(){this.enabled_=!1},n.reset=function(){this.maxAttempts_=1,this.delayFactor_=.1,this.fuzzFactor_=.1,this.initialDelay_=1e3,this.enabled_=!1},n.getMaxAttempts=function(){return this.maxAttempts_},n.setMaxAttempts=function(a){this.maxAttempts_=a},n.getDelayFactor=function(){return this.delayFactor_},n.setDelayFactor=function(a){this.delayFactor_=a},n.getFuzzFactor=function(){return this.fuzzFactor_},n.setFuzzFactor=function(a){this.fuzzFactor_=a},n.getInitialDelay=function(){return this.initialDelay_},n.setInitialDelay=function(a){this.initialDelay_=a},n.createRetry=function(a){var o=a===void 0?{}:a,l=o.maxAttempts,c=o.delayFactor,d=o.fuzzFactor,m=o.initialDelay;return new e({maxAttempts:l||this.maxAttempts_,delayFactor:c||this.delayFactor_,fuzzFactor:d||this.fuzzFactor_,initialDelay:m||this.initialDelay_})},i})(),e=(function(){function i(s){this.maxAttempts_=s.maxAttempts,this.delayFactor_=s.delayFactor,this.fuzzFactor_=s.fuzzFactor,this.currentDelay_=s.initialDelay,this.currentAttempt_=1}var n=i.prototype;return n.moveToNextAttempt=function(){this.currentAttempt_++;var a=this.currentDelay_*this.delayFactor_;this.currentDelay_=this.currentDelay_+a},n.shouldRetry=function(){return this.currentAttempt_<this.maxAttempts_},n.getCurrentDelay=function(){return this.currentDelay_},n.getCurrentMinPossibleDelay=function(){return(1-this.fuzzFactor_)*this.currentDelay_},n.getCurrentMaxPossibleDelay=function(){return(1+this.fuzzFactor_)*this.currentDelay_},n.getCurrentFuzzedDelay=function(){var a=this.getCurrentMinPossibleDelay(),o=this.getCurrentMaxPossibleDelay();return a+Math.random()*(o-a)},i})();return ko=r,ko}var _o,Vc;function ev(){if(Vc)return _o;Vc=1;var r=Ba(),e=function(s,a){return a===void 0&&(a=!1),function(o,l,c){if(o){s(o);return}if(l.statusCode>=400&&l.statusCode<=599){var d=c;if(a)if(r.TextDecoder){var m=i(l.headers&&l.headers["content-type"]);try{d=new TextDecoder(m).decode(c)}catch{}}else d=String.fromCharCode.apply(null,new Uint8Array(c));s({cause:d});return}s(null,c)}};function i(n){return n===void 0&&(n=""),n.toLowerCase().split(";").reduce(function(s,a){var o=a.split("="),l=o[0],c=o[1];return l.trim()==="charset"?c.trim():s},"utf-8")}return _o=e,_o}var Ic;function tv(){if(Ic)return Us.exports;Ic=1;var r=Ba(),e=W2(),i=J2(),n=Z2(),s=$2();d.httpHandler=ev(),d.requestInterceptorsStorage=new n,d.responseInterceptorsStorage=new n,d.retryManager=new s;/**
|
|
8
|
+
* @license
|
|
9
|
+
* slighly modified parse-headers 2.0.2 <https://github.com/kesla/parse-headers/>
|
|
10
|
+
* Copyright (c) 2014 David Björklund
|
|
11
|
+
* Available under the MIT license
|
|
12
|
+
* <https://github.com/kesla/parse-headers/blob/master/LICENCE>
|
|
13
|
+
*/var a=function(w){var v={};return w&&w.trim().split(`
|
|
14
|
+
`).forEach(function(b){var k=b.indexOf(":"),S=b.slice(0,k).trim().toLowerCase(),D=b.slice(k+1).trim();typeof v[S]>"u"?v[S]=D:Array.isArray(v[S])?v[S].push(D):v[S]=[v[S],D]}),v};Us.exports=d,Us.exports.default=d,d.XMLHttpRequest=r.XMLHttpRequest||E,d.XDomainRequest="withCredentials"in new d.XMLHttpRequest?d.XMLHttpRequest:r.XDomainRequest,o(["get","put","post","patch","head","delete"],function(C){d[C==="delete"?"del":C]=function(w,v,b){return v=c(w,v,b),v.method=C.toUpperCase(),m(v)}});function o(C,w){for(var v=0;v<C.length;v++)w(C[v])}function l(C){for(var w in C)if(C.hasOwnProperty(w))return!1;return!0}function c(C,w,v){var b=C;return i(w)?(v=w,typeof C=="string"&&(b={uri:C})):b=e({},w,{uri:C}),b.callback=v,b}function d(C,w,v){return w=c(C,w,v),m(w)}function m(C){if(typeof C.callback>"u")throw new Error("callback argument missing");if(C.requestType&&d.requestInterceptorsStorage.getIsEnabled()){var w={uri:C.uri||C.url,headers:C.headers||{},body:C.body,metadata:C.metadata||{},retry:C.retry,timeout:C.timeout},v=d.requestInterceptorsStorage.execute(C.requestType,w);C.uri=v.uri,C.headers=v.headers,C.body=v.body,C.metadata=v.metadata,C.retry=v.retry,C.timeout=v.timeout}var b=!1,k=function(G,ee,J){b||(b=!0,C.callback(G,ee,J))};function S(){R.readyState===4&&!d.responseInterceptorsStorage.getIsEnabled()&&setTimeout(q,0)}function D(){var j=void 0;if(R.response?j=R.response:j=R.responseText||g(R),U)try{j=JSON.parse(j)}catch{}return j}function O(j){if(clearTimeout(P),clearTimeout(C.retryTimeout),j instanceof Error||(j=new Error(""+(j||"Unknown XMLHttpRequest Error"))),j.statusCode=0,!L&&d.retryManager.getIsEnabled()&&C.retry&&C.retry.shouldRetry()){C.retryTimeout=setTimeout(function(){C.retry.moveToNextAttempt(),C.xhr=R,m(C)},C.retry.getCurrentFuzzedDelay());return}if(C.requestType&&d.responseInterceptorsStorage.getIsEnabled()){var G={headers:te.headers||{},body:te.body,responseUrl:R.responseURL,responseType:R.responseType},ee=d.responseInterceptorsStorage.execute(C.requestType,G);te.body=ee.body,te.headers=ee.headers}return k(j,te)}function q(){if(!L){var j;clearTimeout(P),clearTimeout(C.retryTimeout),C.useXDR&&R.status===void 0?j=200:j=R.status===1223?204:R.status;var G=te,ee=null;if(j!==0?(G={body:D(),statusCode:j,method:V,headers:{},url:_,rawRequest:R},R.getAllResponseHeaders&&(G.headers=a(R.getAllResponseHeaders()))):ee=new Error("Internal XMLHttpRequest Error"),C.requestType&&d.responseInterceptorsStorage.getIsEnabled()){var J={headers:G.headers||{},body:G.body,responseUrl:R.responseURL,responseType:R.responseType},Q=d.responseInterceptorsStorage.execute(C.requestType,J);G.body=Q.body,G.headers=Q.headers}return k(ee,G,G.body)}}var R=C.xhr||null;R||(C.cors||C.useXDR?R=new d.XDomainRequest:R=new d.XMLHttpRequest);var x,L,_=R.url=C.uri||C.url,V=R.method=C.method||"GET",I=C.body||C.data,z=R.headers=C.headers||{},M=!!C.sync,U=!1,P,te={body:void 0,headers:{},statusCode:0,method:V,url:_,rawRequest:R};if("json"in C&&C.json!==!1&&(U=!0,z.accept||z.Accept||(z.Accept="application/json"),V!=="GET"&&V!=="HEAD"&&(z["content-type"]||z["Content-Type"]||(z["Content-Type"]="application/json"),I=JSON.stringify(C.json===!0?I:C.json))),R.onreadystatechange=S,R.onload=q,R.onerror=O,R.onprogress=function(){},R.onabort=function(){L=!0,clearTimeout(C.retryTimeout)},R.ontimeout=O,R.open(V,_,!M,C.username,C.password),M||(R.withCredentials=!!C.withCredentials),!M&&C.timeout>0&&(P=setTimeout(function(){if(!L){L=!0,R.abort("timeout");var j=new Error("XMLHttpRequest timeout");j.code="ETIMEDOUT",O(j)}},C.timeout)),R.setRequestHeader)for(x in z)z.hasOwnProperty(x)&&R.setRequestHeader(x,z[x]);else if(C.headers&&!l(C.headers))throw new Error("Headers cannot be set on an XDomainRequest object");return"responseType"in C&&(R.responseType=C.responseType),"beforeSend"in C&&typeof C.beforeSend=="function"&&C.beforeSend(R),R.send(I||null),R}function g(C){try{if(C.responseType==="document")return C.responseXML;var w=C.responseXML&&C.responseXML.documentElement.nodeName==="parsererror";if(C.responseType===""&&!w)return C.responseXML}catch{}return null}function E(){}return Us.exports}var iv=tv();const F0=fr(iv);var So={exports:{}},wo,Nc;function nv(){if(Nc)return wo;Nc=1;var r=q0(),e=Object.create||(function(){function _(){}return function(V){if(arguments.length!==1)throw new Error("Object.create shim only accepts one parameter.");return _.prototype=V,new _}})();function i(_,V){this.name="ParsingError",this.code=_.code,this.message=V||_.message}i.prototype=e(Error.prototype),i.prototype.constructor=i,i.Errors={BadSignature:{code:0,message:"Malformed WebVTT signature."},BadTimeStamp:{code:1,message:"Malformed time stamp."}};function n(_){function V(z,M,U,P){return(z|0)*3600+(M|0)*60+(U|0)+(P|0)/1e3}var I=_.match(/^(\d+):(\d{1,2})(:\d{1,2})?\.(\d{3})/);return I?I[3]?V(I[1],I[2],I[3].replace(":",""),I[4]):I[1]>59?V(I[1],I[2],0,I[4]):V(0,I[1],I[2],I[4]):null}function s(){this.values=e(null)}s.prototype={set:function(_,V){!this.get(_)&&V!==""&&(this.values[_]=V)},get:function(_,V,I){return I?this.has(_)?this.values[_]:V[I]:this.has(_)?this.values[_]:V},has:function(_){return _ in this.values},alt:function(_,V,I){for(var z=0;z<I.length;++z)if(V===I[z]){this.set(_,V);break}},integer:function(_,V){/^-?\d+$/.test(V)&&this.set(_,parseInt(V,10))},percent:function(_,V){return V.match(/^([\d]{1,3})(\.[\d]*)?%$/)&&(V=parseFloat(V),V>=0&&V<=100)?(this.set(_,V),!0):!1}};function a(_,V,I,z){var M=z?_.split(z):[_];for(var U in M)if(typeof M[U]=="string"){var P=M[U].split(I);if(P.length===2){var te=P[0].trim(),j=P[1].trim();V(te,j)}}}function o(_,V,I){var z=_;function M(){var te=n(_);if(te===null)throw new i(i.Errors.BadTimeStamp,"Malformed timestamp: "+z);return _=_.replace(/^[^\sa-zA-Z-]+/,""),te}function U(te,j){var G=new s;a(te,function(ee,J){switch(ee){case"region":for(var Q=I.length-1;Q>=0;Q--)if(I[Q].id===J){G.set(ee,I[Q].region);break}break;case"vertical":G.alt(ee,J,["rl","lr"]);break;case"line":var X=J.split(","),ne=X[0];G.integer(ee,ne),G.percent(ee,ne)&&G.set("snapToLines",!1),G.alt(ee,ne,["auto"]),X.length===2&&G.alt("lineAlign",X[1],["start","center","end"]);break;case"position":X=J.split(","),G.percent(ee,X[0]),X.length===2&&G.alt("positionAlign",X[1],["start","center","end"]);break;case"size":G.percent(ee,J);break;case"align":G.alt(ee,J,["start","center","end","left","right"]);break}},/:/,/\s/),j.region=G.get("region",null),j.vertical=G.get("vertical","");try{j.line=G.get("line","auto")}catch{}j.lineAlign=G.get("lineAlign","start"),j.snapToLines=G.get("snapToLines",!0),j.size=G.get("size",100);try{j.align=G.get("align","center")}catch{j.align=G.get("align","middle")}try{j.position=G.get("position","auto")}catch{j.position=G.get("position",{start:0,left:0,center:50,middle:50,end:100,right:100},j.align)}j.positionAlign=G.get("positionAlign",{start:"start",left:"start",center:"center",middle:"center",end:"end",right:"end"},j.align)}function P(){_=_.replace(/^\s+/,"")}if(P(),V.startTime=M(),P(),_.substr(0,3)!=="-->")throw new i(i.Errors.BadTimeStamp,"Malformed time stamp (time stamps must be separated by '-->'): "+z);_=_.substr(3),P(),V.endTime=M(),P(),U(_,V)}var l=r.createElement&&r.createElement("textarea"),c={c:"span",i:"i",b:"b",u:"u",ruby:"ruby",rt:"rt",v:"span",lang:"span"},d={white:"rgba(255,255,255,1)",lime:"rgba(0,255,0,1)",cyan:"rgba(0,255,255,1)",red:"rgba(255,0,0,1)",yellow:"rgba(255,255,0,1)",magenta:"rgba(255,0,255,1)",blue:"rgba(0,0,255,1)",black:"rgba(0,0,0,1)"},m={v:"title",lang:"lang"},g={rt:"ruby"};function E(_,V){function I(){if(!V)return null;function ne(W){return V=V.substr(W.length),W}var ve=V.match(/^([^<]*)(<[^>]*>?)?/);return ne(ve[1]?ve[1]:ve[2])}function z(ne){return l.innerHTML=ne,ne=l.textContent,l.textContent="",ne}function M(ne,ve){return!g[ve.localName]||g[ve.localName]===ne.localName}function U(ne,ve){var W=c[ne];if(!W)return null;var he=_.document.createElement(W),ce=m[ne];return ce&&ve&&(he[ce]=ve.trim()),he}for(var P=_.document.createElement("div"),te=P,j,G=[];(j=I())!==null;){if(j[0]==="<"){if(j[1]==="/"){G.length&&G[G.length-1]===j.substr(2).replace(">","")&&(G.pop(),te=te.parentNode);continue}var ee=n(j.substr(1,j.length-2)),J;if(ee){J=_.document.createProcessingInstruction("timestamp",ee),te.appendChild(J);continue}var Q=j.match(/^<([^.\s/0-9>]+)(\.[^\s\\>]+)?([^>\\]+)?(\\?)>?$/);if(!Q||(J=U(Q[1],Q[3]),!J)||!M(te,J))continue;if(Q[2]){var X=Q[2].split(".");X.forEach(function(ne){var ve=/^bg_/.test(ne),W=ve?ne.slice(3):ne;if(d.hasOwnProperty(W)){var he=ve?"background-color":"color",ce=d[W];J.style[he]=ce}}),J.className=X.join(" ")}G.push(Q[1]),te.appendChild(J),te=J;continue}te.appendChild(_.document.createTextNode(z(j)))}return P}var C=[[1470,1470],[1472,1472],[1475,1475],[1478,1478],[1488,1514],[1520,1524],[1544,1544],[1547,1547],[1549,1549],[1563,1563],[1566,1610],[1645,1647],[1649,1749],[1765,1766],[1774,1775],[1786,1805],[1807,1808],[1810,1839],[1869,1957],[1969,1969],[1984,2026],[2036,2037],[2042,2042],[2048,2069],[2074,2074],[2084,2084],[2088,2088],[2096,2110],[2112,2136],[2142,2142],[2208,2208],[2210,2220],[8207,8207],[64285,64285],[64287,64296],[64298,64310],[64312,64316],[64318,64318],[64320,64321],[64323,64324],[64326,64449],[64467,64829],[64848,64911],[64914,64967],[65008,65020],[65136,65140],[65142,65276],[67584,67589],[67592,67592],[67594,67637],[67639,67640],[67644,67644],[67647,67669],[67671,67679],[67840,67867],[67872,67897],[67903,67903],[67968,68023],[68030,68031],[68096,68096],[68112,68115],[68117,68119],[68121,68147],[68160,68167],[68176,68184],[68192,68223],[68352,68405],[68416,68437],[68440,68466],[68472,68479],[68608,68680],[126464,126467],[126469,126495],[126497,126498],[126500,126500],[126503,126503],[126505,126514],[126516,126519],[126521,126521],[126523,126523],[126530,126530],[126535,126535],[126537,126537],[126539,126539],[126541,126543],[126545,126546],[126548,126548],[126551,126551],[126553,126553],[126555,126555],[126557,126557],[126559,126559],[126561,126562],[126564,126564],[126567,126570],[126572,126578],[126580,126583],[126585,126588],[126590,126590],[126592,126601],[126603,126619],[126625,126627],[126629,126633],[126635,126651],[1114109,1114109]];function w(_){for(var V=0;V<C.length;V++){var I=C[V];if(_>=I[0]&&_<=I[1])return!0}return!1}function v(_){var V=[],I="",z;if(!_||!_.childNodes)return"ltr";function M(te,j){for(var G=j.childNodes.length-1;G>=0;G--)te.push(j.childNodes[G])}function U(te){if(!te||!te.length)return null;var j=te.pop(),G=j.textContent||j.innerText;if(G){var ee=G.match(/^.*(\n|\r)/);return ee?(te.length=0,ee[0]):G}if(j.tagName==="ruby")return U(te);if(j.childNodes)return M(te,j),U(te)}for(M(V,_);I=U(V);)for(var P=0;P<I.length;P++)if(z=I.charCodeAt(P),w(z))return"rtl";return"ltr"}function b(_){if(typeof _.line=="number"&&(_.snapToLines||_.line>=0&&_.line<=100))return _.line;if(!_.track||!_.track.textTrackList||!_.track.textTrackList.mediaElement)return-1;for(var V=_.track,I=V.textTrackList,z=0,M=0;M<I.length&&I[M]!==V;M++)I[M].mode==="showing"&&z++;return++z*-1}function k(){}k.prototype.applyStyles=function(_,V){V=V||this.div;for(var I in _)_.hasOwnProperty(I)&&(V.style[I]=_[I])},k.prototype.formatStyle=function(_,V){return _===0?0:_+V};function S(_,V,I){k.call(this),this.cue=V,this.cueDiv=E(_,V.text);var z={color:"rgba(255, 255, 255, 1)",backgroundColor:"rgba(0, 0, 0, 0.8)",position:"relative",left:0,right:0,top:0,bottom:0,display:"inline",writingMode:V.vertical===""?"horizontal-tb":V.vertical==="lr"?"vertical-lr":"vertical-rl",unicodeBidi:"plaintext"};this.applyStyles(z,this.cueDiv),this.div=_.document.createElement("div"),z={direction:v(this.cueDiv),writingMode:V.vertical===""?"horizontal-tb":V.vertical==="lr"?"vertical-lr":"vertical-rl",unicodeBidi:"plaintext",textAlign:V.align==="middle"?"center":V.align,font:I.font,whiteSpace:"pre-line",position:"absolute"},this.applyStyles(z),this.div.appendChild(this.cueDiv);var M=0;switch(V.positionAlign){case"start":case"line-left":M=V.position;break;case"center":M=V.position-V.size/2;break;case"end":case"line-right":M=V.position-V.size;break}V.vertical===""?this.applyStyles({left:this.formatStyle(M,"%"),width:this.formatStyle(V.size,"%")}):this.applyStyles({top:this.formatStyle(M,"%"),height:this.formatStyle(V.size,"%")}),this.move=function(U){this.applyStyles({top:this.formatStyle(U.top,"px"),bottom:this.formatStyle(U.bottom,"px"),left:this.formatStyle(U.left,"px"),right:this.formatStyle(U.right,"px"),height:this.formatStyle(U.height,"px"),width:this.formatStyle(U.width,"px")})}}S.prototype=e(k.prototype),S.prototype.constructor=S;function D(_){var V,I,z,M;if(_.div){I=_.div.offsetHeight,z=_.div.offsetWidth,M=_.div.offsetTop;var U=(U=_.div.childNodes)&&(U=U[0])&&U.getClientRects&&U.getClientRects();_=_.div.getBoundingClientRect(),V=U?Math.max(U[0]&&U[0].height||0,_.height/U.length):0}this.left=_.left,this.right=_.right,this.top=_.top||M,this.height=_.height||I,this.bottom=_.bottom||M+(_.height||I),this.width=_.width||z,this.lineHeight=V!==void 0?V:_.lineHeight}D.prototype.move=function(_,V){switch(V=V!==void 0?V:this.lineHeight,_){case"+x":this.left+=V,this.right+=V;break;case"-x":this.left-=V,this.right-=V;break;case"+y":this.top+=V,this.bottom+=V;break;case"-y":this.top-=V,this.bottom-=V;break}},D.prototype.overlaps=function(_){return this.left<_.right&&this.right>_.left&&this.top<_.bottom&&this.bottom>_.top},D.prototype.overlapsAny=function(_){for(var V=0;V<_.length;V++)if(this.overlaps(_[V]))return!0;return!1},D.prototype.within=function(_){return this.top>=_.top&&this.bottom<=_.bottom&&this.left>=_.left&&this.right<=_.right},D.prototype.overlapsOppositeAxis=function(_,V){switch(V){case"+x":return this.left<_.left;case"-x":return this.right>_.right;case"+y":return this.top<_.top;case"-y":return this.bottom>_.bottom}},D.prototype.intersectPercentage=function(_){var V=Math.max(0,Math.min(this.right,_.right)-Math.max(this.left,_.left)),I=Math.max(0,Math.min(this.bottom,_.bottom)-Math.max(this.top,_.top)),z=V*I;return z/(this.height*this.width)},D.prototype.toCSSCompatValues=function(_){return{top:this.top-_.top,bottom:_.bottom-this.bottom,left:this.left-_.left,right:_.right-this.right,height:this.height,width:this.width}},D.getSimpleBoxPosition=function(_){var V=_.div?_.div.offsetHeight:_.tagName?_.offsetHeight:0,I=_.div?_.div.offsetWidth:_.tagName?_.offsetWidth:0,z=_.div?_.div.offsetTop:_.tagName?_.offsetTop:0;_=_.div?_.div.getBoundingClientRect():_.tagName?_.getBoundingClientRect():_;var M={left:_.left,right:_.right,top:_.top||z,height:_.height||V,bottom:_.bottom||z+(_.height||V),width:_.width||I};return M};function O(_,V,I,z){function M(W,he){for(var ce,Ee=new D(W),fe=1,ke=0;ke<he.length;ke++){for(;W.overlapsOppositeAxis(I,he[ke])||W.within(I)&&W.overlapsAny(z);)W.move(he[ke]);if(W.within(I))return W;var Re=W.intersectPercentage(I);fe>Re&&(ce=new D(W),fe=Re),W=new D(Ee)}return ce||Ee}var U=new D(V),P=V.cue,te=b(P),j=[];if(P.snapToLines){var G;switch(P.vertical){case"":j=["+y","-y"],G="height";break;case"rl":j=["+x","-x"],G="width";break;case"lr":j=["-x","+x"],G="width";break}var ee=U.lineHeight,J=ee*Math.round(te),Q=I[G]+ee,X=j[0];Math.abs(J)>Q&&(J=J<0?-1:1,J*=Math.ceil(Q/ee)*ee),te<0&&(J+=P.vertical===""?I.height:I.width,j=j.reverse()),U.move(X,J)}else{var ne=U.lineHeight/I.height*100;switch(P.lineAlign){case"center":te-=ne/2;break;case"end":te-=ne;break}switch(P.vertical){case"":V.applyStyles({top:V.formatStyle(te,"%")});break;case"rl":V.applyStyles({left:V.formatStyle(te,"%")});break;case"lr":V.applyStyles({right:V.formatStyle(te,"%")});break}j=["+y","-x","+x","-y"],U=new D(V)}var ve=M(U,j);V.move(ve.toCSSCompatValues(I))}function q(){}q.StringDecoder=function(){return{decode:function(_){if(!_)return"";if(typeof _!="string")throw new Error("Error - expected string data.");return decodeURIComponent(encodeURIComponent(_))}}},q.convertCueToDOMTree=function(_,V){return!_||!V?null:E(_,V)};var R=.05,x="sans-serif",L="1.5%";return q.processCues=function(_,V,I){if(!_||!V||!I)return null;for(;I.firstChild;)I.removeChild(I.firstChild);var z=_.document.createElement("div");z.style.position="absolute",z.style.left="0",z.style.right="0",z.style.top="0",z.style.bottom="0",z.style.margin=L,I.appendChild(z);function M(ee){for(var J=0;J<ee.length;J++)if(ee[J].hasBeenReset||!ee[J].displayState)return!0;return!1}if(!M(V)){for(var U=0;U<V.length;U++)z.appendChild(V[U].displayState);return}var P=[],te=D.getSimpleBoxPosition(z),j=Math.round(te.height*R*100)/100,G={font:j+"px "+x};(function(){for(var ee,J,Q=0;Q<V.length;Q++)J=V[Q],ee=new S(_,J,G),z.appendChild(ee.div),O(_,ee,te,P),J.displayState=ee.div,P.push(D.getSimpleBoxPosition(ee))})()},q.Parser=function(_,V,I){I||(I=V,V={}),V||(V={}),this.window=_,this.vttjs=V,this.state="INITIAL",this.buffer="",this.decoder=I||new TextDecoder("utf8"),this.regionList=[]},q.Parser.prototype={reportOrThrowError:function(_){if(_ instanceof i)this.onparsingerror&&this.onparsingerror(_);else throw _},parse:function(_){var V=this;_&&(V.buffer+=V.decoder.decode(_,{stream:!0}));function I(){for(var ee=V.buffer,J=0;J<ee.length&&ee[J]!=="\r"&&ee[J]!==`
|
|
15
|
+
`;)++J;var Q=ee.substr(0,J);return ee[J]==="\r"&&++J,ee[J]===`
|
|
16
|
+
`&&++J,V.buffer=ee.substr(J),Q}function z(ee){var J=new s;if(a(ee,function(X,ne){switch(X){case"id":J.set(X,ne);break;case"width":J.percent(X,ne);break;case"lines":J.integer(X,ne);break;case"regionanchor":case"viewportanchor":var ve=ne.split(",");if(ve.length!==2)break;var W=new s;if(W.percent("x",ve[0]),W.percent("y",ve[1]),!W.has("x")||!W.has("y"))break;J.set(X+"X",W.get("x")),J.set(X+"Y",W.get("y"));break;case"scroll":J.alt(X,ne,["up"]);break}},/=/,/\s/),J.has("id")){var Q=new(V.vttjs.VTTRegion||V.window.VTTRegion);Q.width=J.get("width",100),Q.lines=J.get("lines",3),Q.regionAnchorX=J.get("regionanchorX",0),Q.regionAnchorY=J.get("regionanchorY",100),Q.viewportAnchorX=J.get("viewportanchorX",0),Q.viewportAnchorY=J.get("viewportanchorY",100),Q.scroll=J.get("scroll",""),V.onregion&&V.onregion(Q),V.regionList.push({id:J.get("id"),region:Q})}}function M(ee){var J=new s;a(ee,function(Q,X){switch(Q){case"MPEGT":J.integer(Q+"S",X);break;case"LOCA":J.set(Q+"L",n(X));break}},/[^\d]:/,/,/),V.ontimestampmap&&V.ontimestampmap({MPEGTS:J.get("MPEGTS"),LOCAL:J.get("LOCAL")})}function U(ee){ee.match(/X-TIMESTAMP-MAP/)?a(ee,function(J,Q){switch(J){case"X-TIMESTAMP-MAP":M(Q);break}},/=/):a(ee,function(J,Q){switch(J){case"Region":z(Q);break}},/:/)}try{var P;if(V.state==="INITIAL"){if(!/\r\n|\n/.test(V.buffer))return this;P=I();var te=P.match(/^WEBVTT([ \t].*)?$/);if(!te||!te[0])throw new i(i.Errors.BadSignature);V.state="HEADER"}for(var j=!1;V.buffer;){if(!/\r\n|\n/.test(V.buffer))return this;switch(j?j=!1:P=I(),V.state){case"HEADER":/:/.test(P)?U(P):P||(V.state="ID");continue;case"NOTE":P||(V.state="ID");continue;case"ID":if(/^NOTE($|[ \t])/.test(P)){V.state="NOTE";break}if(!P)continue;V.cue=new(V.vttjs.VTTCue||V.window.VTTCue)(0,0,"");try{V.cue.align="center"}catch{V.cue.align="middle"}if(V.state="CUE",P.indexOf("-->")===-1){V.cue.id=P;continue}case"CUE":try{o(P,V.cue,V.regionList)}catch(ee){V.reportOrThrowError(ee),V.cue=null,V.state="BADCUE";continue}V.state="CUETEXT";continue;case"CUETEXT":var G=P.indexOf("-->")!==-1;if(!P||G&&(j=!0)){V.oncue&&V.oncue(V.cue),V.cue=null,V.state="ID";continue}V.cue.text&&(V.cue.text+=`
|
|
17
|
+
`),V.cue.text+=P.replace(/\u2028/g,`
|
|
18
|
+
`).replace(/u2029/g,`
|
|
19
|
+
`);continue;case"BADCUE":P||(V.state="ID");continue}}}catch(ee){V.reportOrThrowError(ee),V.state==="CUETEXT"&&V.cue&&V.oncue&&V.oncue(V.cue),V.cue=null,V.state=V.state==="INITIAL"?"BADWEBVTT":"BADCUE"}return this},flush:function(){var _=this;try{if(_.buffer+=_.decoder.decode(),(_.cue||_.state==="HEADER")&&(_.buffer+=`
|
|
20
|
+
|
|
21
|
+
`,_.parse()),_.state==="INITIAL")throw new i(i.Errors.BadSignature)}catch(V){_.reportOrThrowError(V)}return _.onflush&&_.onflush(),this}},wo=q,wo}var Do,Oc;function rv(){if(Oc)return Do;Oc=1;var r="auto",e={"":1,lr:1,rl:1},i={start:1,center:1,end:1,left:1,right:1,auto:1,"line-left":1,"line-right":1};function n(o){if(typeof o!="string")return!1;var l=e[o.toLowerCase()];return l?o.toLowerCase():!1}function s(o){if(typeof o!="string")return!1;var l=i[o.toLowerCase()];return l?o.toLowerCase():!1}function a(o,l,c){this.hasBeenReset=!1;var d="",m=!1,g=o,E=l,C=c,w=null,v="",b=!0,k="auto",S="start",D="auto",O="auto",q=100,R="center";Object.defineProperties(this,{id:{enumerable:!0,get:function(){return d},set:function(x){d=""+x}},pauseOnExit:{enumerable:!0,get:function(){return m},set:function(x){m=!!x}},startTime:{enumerable:!0,get:function(){return g},set:function(x){if(typeof x!="number")throw new TypeError("Start time must be set to a number.");g=x,this.hasBeenReset=!0}},endTime:{enumerable:!0,get:function(){return E},set:function(x){if(typeof x!="number")throw new TypeError("End time must be set to a number.");E=x,this.hasBeenReset=!0}},text:{enumerable:!0,get:function(){return C},set:function(x){C=""+x,this.hasBeenReset=!0}},region:{enumerable:!0,get:function(){return w},set:function(x){w=x,this.hasBeenReset=!0}},vertical:{enumerable:!0,get:function(){return v},set:function(x){var L=n(x);if(L===!1)throw new SyntaxError("Vertical: an invalid or illegal direction string was specified.");v=L,this.hasBeenReset=!0}},snapToLines:{enumerable:!0,get:function(){return b},set:function(x){b=!!x,this.hasBeenReset=!0}},line:{enumerable:!0,get:function(){return k},set:function(x){if(typeof x!="number"&&x!==r)throw new SyntaxError("Line: an invalid number or illegal string was specified.");k=x,this.hasBeenReset=!0}},lineAlign:{enumerable:!0,get:function(){return S},set:function(x){var L=s(x);L?(S=L,this.hasBeenReset=!0):console.warn("lineAlign: an invalid or illegal string was specified.")}},position:{enumerable:!0,get:function(){return D},set:function(x){if(x<0||x>100)throw new Error("Position must be between 0 and 100.");D=x,this.hasBeenReset=!0}},positionAlign:{enumerable:!0,get:function(){return O},set:function(x){var L=s(x);L?(O=L,this.hasBeenReset=!0):console.warn("positionAlign: an invalid or illegal string was specified.")}},size:{enumerable:!0,get:function(){return q},set:function(x){if(x<0||x>100)throw new Error("Size must be between 0 and 100.");q=x,this.hasBeenReset=!0}},align:{enumerable:!0,get:function(){return R},set:function(x){var L=s(x);if(!L)throw new SyntaxError("align: an invalid or illegal alignment string was specified.");R=L,this.hasBeenReset=!0}}}),this.displayState=void 0}return a.prototype.getCueAsHTML=function(){return WebVTT.convertCueToDOMTree(window,this.text)},Do=a,Do}var Bo,Pc;function sv(){if(Pc)return Bo;Pc=1;var r={"":!0,up:!0};function e(s){if(typeof s!="string")return!1;var a=r[s.toLowerCase()];return a?s.toLowerCase():!1}function i(s){return typeof s=="number"&&s>=0&&s<=100}function n(){var s=100,a=3,o=0,l=100,c=0,d=100,m="";Object.defineProperties(this,{width:{enumerable:!0,get:function(){return s},set:function(g){if(!i(g))throw new Error("Width must be between 0 and 100.");s=g}},lines:{enumerable:!0,get:function(){return a},set:function(g){if(typeof g!="number")throw new TypeError("Lines must be set to a number.");a=g}},regionAnchorY:{enumerable:!0,get:function(){return l},set:function(g){if(!i(g))throw new Error("RegionAnchorX must be between 0 and 100.");l=g}},regionAnchorX:{enumerable:!0,get:function(){return o},set:function(g){if(!i(g))throw new Error("RegionAnchorY must be between 0 and 100.");o=g}},viewportAnchorY:{enumerable:!0,get:function(){return d},set:function(g){if(!i(g))throw new Error("ViewportAnchorY must be between 0 and 100.");d=g}},viewportAnchorX:{enumerable:!0,get:function(){return c},set:function(g){if(!i(g))throw new Error("ViewportAnchorX must be between 0 and 100.");c=g}},scroll:{enumerable:!0,get:function(){return m},set:function(g){var E=e(g);E===!1?console.warn("Scroll: an invalid or illegal string was specified."):m=E}}})}return Bo=n,Bo}var Mc;function av(){if(Mc)return So.exports;Mc=1;var r=Ba(),e=So.exports={WebVTT:nv(),VTTCue:rv(),VTTRegion:sv()};r.vttjs=e,r.WebVTT=e.WebVTT;var i=e.VTTCue,n=e.VTTRegion,s=r.VTTCue,a=r.VTTRegion;return e.shim=function(){r.VTTCue=i,r.VTTRegion=n},e.restore=function(){r.VTTCue=s,r.VTTRegion=a},r.VTTCue||e.shim(),So.exports}var ov=av();const Lc=fr(ov);function _t(){return _t=Object.assign?Object.assign.bind():function(r){for(var e=1;e<arguments.length;e++){var i=arguments[e];for(var n in i)({}).hasOwnProperty.call(i,n)&&(r[n]=i[n])}return r},_t.apply(null,arguments)}var Rc="https://example.com",Va=function(e,i){if(/^[a-z]+:/i.test(i))return i;/^data:/.test(e)&&(e=K.location&&K.location.href||"");var n=/^\/\//.test(e),s=!K.location&&!/\/\//i.test(e);e=new K.URL(e,K.location||Rc);var a=new URL(i,e);return s?a.href.slice(Rc.length):n?a.href.slice(a.protocol.length):a.href},Ll=(function(){function r(){this.listeners={}}var e=r.prototype;return e.on=function(n,s){this.listeners[n]||(this.listeners[n]=[]),this.listeners[n].push(s)},e.off=function(n,s){if(!this.listeners[n])return!1;var a=this.listeners[n].indexOf(s);return this.listeners[n]=this.listeners[n].slice(0),this.listeners[n].splice(a,1),a>-1},e.trigger=function(n){var s=this.listeners[n];if(s)if(arguments.length===2)for(var a=s.length,o=0;o<a;++o)s[o].call(this,arguments[1]);else for(var l=Array.prototype.slice.call(arguments,1),c=s.length,d=0;d<c;++d)s[d].apply(this,l)},e.dispose=function(){this.listeners={}},e.pipe=function(n){this.on("data",function(s){n.push(s)})},r})(),lv=function(e){return K.atob?K.atob(e):Buffer.from(e,"base64").toString("binary")};function U0(r){for(var e=lv(r),i=new Uint8Array(e.length),n=0;n<e.length;n++)i[n]=e.charCodeAt(n);return i}/*! @name m3u8-parser @version 7.2.0 @license Apache-2.0 */class uv extends Ll{constructor(){super(),this.buffer=""}push(e){let i;for(this.buffer+=e,i=this.buffer.indexOf(`
|
|
22
|
+
`);i>-1;i=this.buffer.indexOf(`
|
|
23
|
+
`))this.trigger("data",this.buffer.substring(0,i)),this.buffer=this.buffer.substring(i+1)}}const cv=" ",Vo=function(r){const e=/([0-9.]*)?@?([0-9.]*)?/.exec(r||""),i={};return e[1]&&(i.length=parseInt(e[1],10)),e[2]&&(i.offset=parseInt(e[2],10)),i},dv=function(){const i="(?:"+"[^=]*"+")=(?:"+'"[^"]*"|[^,]*'+")";return new RegExp("(?:^|,)("+i+")")},$t=function(r){const e={};if(!r)return e;const i=r.split(dv());let n=i.length,s;for(;n--;)i[n]!==""&&(s=/([^=]*)=(.*)/.exec(i[n]).slice(1),s[0]=s[0].replace(/^\s+|\s+$/g,""),s[1]=s[1].replace(/^\s+|\s+$/g,""),s[1]=s[1].replace(/^['"](.*)['"]$/g,"$1"),e[s[0]]=s[1]);return e},qc=r=>{const e=r.split("x"),i={};return e[0]&&(i.width=parseInt(e[0],10)),e[1]&&(i.height=parseInt(e[1],10)),i};class hv extends Ll{constructor(){super(),this.customParsers=[],this.tagMappers=[]}push(e){let i,n;if(e=e.trim(),e.length===0)return;if(e[0]!=="#"){this.trigger("data",{type:"uri",uri:e});return}this.tagMappers.reduce((a,o)=>{const l=o(e);return l===e?a:a.concat([l])},[e]).forEach(a=>{for(let o=0;o<this.customParsers.length;o++)if(this.customParsers[o].call(this,a))return;if(a.indexOf("#EXT")!==0){this.trigger("data",{type:"comment",text:a.slice(1)});return}if(a=a.replace("\r",""),i=/^#EXTM3U/.exec(a),i){this.trigger("data",{type:"tag",tagType:"m3u"});return}if(i=/^#EXTINF:([0-9\.]*)?,?(.*)?$/.exec(a),i){n={type:"tag",tagType:"inf"},i[1]&&(n.duration=parseFloat(i[1])),i[2]&&(n.title=i[2]),this.trigger("data",n);return}if(i=/^#EXT-X-TARGETDURATION:([0-9.]*)?/.exec(a),i){n={type:"tag",tagType:"targetduration"},i[1]&&(n.duration=parseInt(i[1],10)),this.trigger("data",n);return}if(i=/^#EXT-X-VERSION:([0-9.]*)?/.exec(a),i){n={type:"tag",tagType:"version"},i[1]&&(n.version=parseInt(i[1],10)),this.trigger("data",n);return}if(i=/^#EXT-X-MEDIA-SEQUENCE:(\-?[0-9.]*)?/.exec(a),i){n={type:"tag",tagType:"media-sequence"},i[1]&&(n.number=parseInt(i[1],10)),this.trigger("data",n);return}if(i=/^#EXT-X-DISCONTINUITY-SEQUENCE:(\-?[0-9.]*)?/.exec(a),i){n={type:"tag",tagType:"discontinuity-sequence"},i[1]&&(n.number=parseInt(i[1],10)),this.trigger("data",n);return}if(i=/^#EXT-X-PLAYLIST-TYPE:(.*)?$/.exec(a),i){n={type:"tag",tagType:"playlist-type"},i[1]&&(n.playlistType=i[1]),this.trigger("data",n);return}if(i=/^#EXT-X-BYTERANGE:(.*)?$/.exec(a),i){n=_t(Vo(i[1]),{type:"tag",tagType:"byterange"}),this.trigger("data",n);return}if(i=/^#EXT-X-ALLOW-CACHE:(YES|NO)?/.exec(a),i){n={type:"tag",tagType:"allow-cache"},i[1]&&(n.allowed=!/NO/.test(i[1])),this.trigger("data",n);return}if(i=/^#EXT-X-MAP:(.*)$/.exec(a),i){if(n={type:"tag",tagType:"map"},i[1]){const o=$t(i[1]);o.URI&&(n.uri=o.URI),o.BYTERANGE&&(n.byterange=Vo(o.BYTERANGE))}this.trigger("data",n);return}if(i=/^#EXT-X-STREAM-INF:(.*)$/.exec(a),i){n={type:"tag",tagType:"stream-inf"},i[1]&&(n.attributes=$t(i[1]),n.attributes.RESOLUTION&&(n.attributes.RESOLUTION=qc(n.attributes.RESOLUTION)),n.attributes.BANDWIDTH&&(n.attributes.BANDWIDTH=parseInt(n.attributes.BANDWIDTH,10)),n.attributes["FRAME-RATE"]&&(n.attributes["FRAME-RATE"]=parseFloat(n.attributes["FRAME-RATE"])),n.attributes["PROGRAM-ID"]&&(n.attributes["PROGRAM-ID"]=parseInt(n.attributes["PROGRAM-ID"],10))),this.trigger("data",n);return}if(i=/^#EXT-X-MEDIA:(.*)$/.exec(a),i){n={type:"tag",tagType:"media"},i[1]&&(n.attributes=$t(i[1])),this.trigger("data",n);return}if(i=/^#EXT-X-ENDLIST/.exec(a),i){this.trigger("data",{type:"tag",tagType:"endlist"});return}if(i=/^#EXT-X-DISCONTINUITY/.exec(a),i){this.trigger("data",{type:"tag",tagType:"discontinuity"});return}if(i=/^#EXT-X-PROGRAM-DATE-TIME:(.*)$/.exec(a),i){n={type:"tag",tagType:"program-date-time"},i[1]&&(n.dateTimeString=i[1],n.dateTimeObject=new Date(i[1])),this.trigger("data",n);return}if(i=/^#EXT-X-KEY:(.*)$/.exec(a),i){n={type:"tag",tagType:"key"},i[1]&&(n.attributes=$t(i[1]),n.attributes.IV&&(n.attributes.IV.substring(0,2).toLowerCase()==="0x"&&(n.attributes.IV=n.attributes.IV.substring(2)),n.attributes.IV=n.attributes.IV.match(/.{8}/g),n.attributes.IV[0]=parseInt(n.attributes.IV[0],16),n.attributes.IV[1]=parseInt(n.attributes.IV[1],16),n.attributes.IV[2]=parseInt(n.attributes.IV[2],16),n.attributes.IV[3]=parseInt(n.attributes.IV[3],16),n.attributes.IV=new Uint32Array(n.attributes.IV))),this.trigger("data",n);return}if(i=/^#EXT-X-START:(.*)$/.exec(a),i){n={type:"tag",tagType:"start"},i[1]&&(n.attributes=$t(i[1]),n.attributes["TIME-OFFSET"]=parseFloat(n.attributes["TIME-OFFSET"]),n.attributes.PRECISE=/YES/.test(n.attributes.PRECISE)),this.trigger("data",n);return}if(i=/^#EXT-X-CUE-OUT-CONT:(.*)?$/.exec(a),i){n={type:"tag",tagType:"cue-out-cont"},i[1]?n.data=i[1]:n.data="",this.trigger("data",n);return}if(i=/^#EXT-X-CUE-OUT:(.*)?$/.exec(a),i){n={type:"tag",tagType:"cue-out"},i[1]?n.data=i[1]:n.data="",this.trigger("data",n);return}if(i=/^#EXT-X-CUE-IN:?(.*)?$/.exec(a),i){n={type:"tag",tagType:"cue-in"},i[1]?n.data=i[1]:n.data="",this.trigger("data",n);return}if(i=/^#EXT-X-SKIP:(.*)$/.exec(a),i&&i[1]){n={type:"tag",tagType:"skip"},n.attributes=$t(i[1]),n.attributes.hasOwnProperty("SKIPPED-SEGMENTS")&&(n.attributes["SKIPPED-SEGMENTS"]=parseInt(n.attributes["SKIPPED-SEGMENTS"],10)),n.attributes.hasOwnProperty("RECENTLY-REMOVED-DATERANGES")&&(n.attributes["RECENTLY-REMOVED-DATERANGES"]=n.attributes["RECENTLY-REMOVED-DATERANGES"].split(cv)),this.trigger("data",n);return}if(i=/^#EXT-X-PART:(.*)$/.exec(a),i&&i[1]){n={type:"tag",tagType:"part"},n.attributes=$t(i[1]),["DURATION"].forEach(function(o){n.attributes.hasOwnProperty(o)&&(n.attributes[o]=parseFloat(n.attributes[o]))}),["INDEPENDENT","GAP"].forEach(function(o){n.attributes.hasOwnProperty(o)&&(n.attributes[o]=/YES/.test(n.attributes[o]))}),n.attributes.hasOwnProperty("BYTERANGE")&&(n.attributes.byterange=Vo(n.attributes.BYTERANGE)),this.trigger("data",n);return}if(i=/^#EXT-X-SERVER-CONTROL:(.*)$/.exec(a),i&&i[1]){n={type:"tag",tagType:"server-control"},n.attributes=$t(i[1]),["CAN-SKIP-UNTIL","PART-HOLD-BACK","HOLD-BACK"].forEach(function(o){n.attributes.hasOwnProperty(o)&&(n.attributes[o]=parseFloat(n.attributes[o]))}),["CAN-SKIP-DATERANGES","CAN-BLOCK-RELOAD"].forEach(function(o){n.attributes.hasOwnProperty(o)&&(n.attributes[o]=/YES/.test(n.attributes[o]))}),this.trigger("data",n);return}if(i=/^#EXT-X-PART-INF:(.*)$/.exec(a),i&&i[1]){n={type:"tag",tagType:"part-inf"},n.attributes=$t(i[1]),["PART-TARGET"].forEach(function(o){n.attributes.hasOwnProperty(o)&&(n.attributes[o]=parseFloat(n.attributes[o]))}),this.trigger("data",n);return}if(i=/^#EXT-X-PRELOAD-HINT:(.*)$/.exec(a),i&&i[1]){n={type:"tag",tagType:"preload-hint"},n.attributes=$t(i[1]),["BYTERANGE-START","BYTERANGE-LENGTH"].forEach(function(o){if(n.attributes.hasOwnProperty(o)){n.attributes[o]=parseInt(n.attributes[o],10);const l=o==="BYTERANGE-LENGTH"?"length":"offset";n.attributes.byterange=n.attributes.byterange||{},n.attributes.byterange[l]=n.attributes[o],delete n.attributes[o]}}),this.trigger("data",n);return}if(i=/^#EXT-X-RENDITION-REPORT:(.*)$/.exec(a),i&&i[1]){n={type:"tag",tagType:"rendition-report"},n.attributes=$t(i[1]),["LAST-MSN","LAST-PART"].forEach(function(o){n.attributes.hasOwnProperty(o)&&(n.attributes[o]=parseInt(n.attributes[o],10))}),this.trigger("data",n);return}if(i=/^#EXT-X-DATERANGE:(.*)$/.exec(a),i&&i[1]){n={type:"tag",tagType:"daterange"},n.attributes=$t(i[1]),["ID","CLASS"].forEach(function(l){n.attributes.hasOwnProperty(l)&&(n.attributes[l]=String(n.attributes[l]))}),["START-DATE","END-DATE"].forEach(function(l){n.attributes.hasOwnProperty(l)&&(n.attributes[l]=new Date(n.attributes[l]))}),["DURATION","PLANNED-DURATION"].forEach(function(l){n.attributes.hasOwnProperty(l)&&(n.attributes[l]=parseFloat(n.attributes[l]))}),["END-ON-NEXT"].forEach(function(l){n.attributes.hasOwnProperty(l)&&(n.attributes[l]=/YES/i.test(n.attributes[l]))}),["SCTE35-CMD"," SCTE35-OUT","SCTE35-IN"].forEach(function(l){n.attributes.hasOwnProperty(l)&&(n.attributes[l]=n.attributes[l].toString(16))});const o=/^X-([A-Z]+-)+[A-Z]+$/;for(const l in n.attributes){if(!o.test(l))continue;const c=/[0-9A-Fa-f]{6}/g.test(n.attributes[l]),d=/^\d+(\.\d+)?$/.test(n.attributes[l]);n.attributes[l]=c?n.attributes[l].toString(16):d?parseFloat(n.attributes[l]):String(n.attributes[l])}this.trigger("data",n);return}if(i=/^#EXT-X-INDEPENDENT-SEGMENTS/.exec(a),i){this.trigger("data",{type:"tag",tagType:"independent-segments"});return}if(i=/^#EXT-X-I-FRAMES-ONLY/.exec(a),i){this.trigger("data",{type:"tag",tagType:"i-frames-only"});return}if(i=/^#EXT-X-CONTENT-STEERING:(.*)$/.exec(a),i){n={type:"tag",tagType:"content-steering"},n.attributes=$t(i[1]),this.trigger("data",n);return}if(i=/^#EXT-X-I-FRAME-STREAM-INF:(.*)$/.exec(a),i){n={type:"tag",tagType:"i-frame-playlist"},n.attributes=$t(i[1]),n.attributes.URI&&(n.uri=n.attributes.URI),n.attributes.BANDWIDTH&&(n.attributes.BANDWIDTH=parseInt(n.attributes.BANDWIDTH,10)),n.attributes.RESOLUTION&&(n.attributes.RESOLUTION=qc(n.attributes.RESOLUTION)),n.attributes["AVERAGE-BANDWIDTH"]&&(n.attributes["AVERAGE-BANDWIDTH"]=parseInt(n.attributes["AVERAGE-BANDWIDTH"],10)),n.attributes["FRAME-RATE"]&&(n.attributes["FRAME-RATE"]=parseFloat(n.attributes["FRAME-RATE"])),this.trigger("data",n);return}if(i=/^#EXT-X-DEFINE:(.*)$/.exec(a),i){n={type:"tag",tagType:"define"},n.attributes=$t(i[1]),this.trigger("data",n);return}this.trigger("data",{type:"tag",data:a.slice(4)})})}addParser({expression:e,customType:i,dataParser:n,segment:s}){typeof n!="function"&&(n=a=>a),this.customParsers.push(a=>{if(e.exec(a))return this.trigger("data",{type:"custom",data:n(a),customType:i,segment:s}),!0})}addTagMapper({expression:e,map:i}){const n=s=>e.test(s)?i(s):s;this.tagMappers.push(n)}}const fv=r=>r.toLowerCase().replace(/-(\w)/g,e=>e[1].toUpperCase()),ln=function(r){const e={};return Object.keys(r).forEach(function(i){e[fv(i)]=r[i]}),e},Io=function(r){const{serverControl:e,targetDuration:i,partTargetDuration:n}=r;if(!e)return;const s="#EXT-X-SERVER-CONTROL",a="holdBack",o="partHoldBack",l=i&&i*3,c=n&&n*2;i&&!e.hasOwnProperty(a)&&(e[a]=l,this.trigger("info",{message:`${s} defaulting HOLD-BACK to targetDuration * 3 (${l}).`})),l&&e[a]<l&&(this.trigger("warn",{message:`${s} clamping HOLD-BACK (${e[a]}) to targetDuration * 3 (${l})`}),e[a]=l),n&&!e.hasOwnProperty(o)&&(e[o]=n*3,this.trigger("info",{message:`${s} defaulting PART-HOLD-BACK to partTargetDuration * 3 (${e[o]}).`})),n&&e[o]<c&&(this.trigger("warn",{message:`${s} clamping PART-HOLD-BACK (${e[o]}) to partTargetDuration * 2 (${c}).`}),e[o]=c)};class pv extends Ll{constructor(e={}){super(),this.lineStream=new uv,this.parseStream=new hv,this.lineStream.pipe(this.parseStream),this.mainDefinitions=e.mainDefinitions||{},this.params=new URL(e.uri,"https://a.com").searchParams,this.lastProgramDateTime=null;const i=this,n=[];let s={},a,o,l=!1;const c=function(){},d={AUDIO:{},VIDEO:{},"CLOSED-CAPTIONS":{},SUBTITLES:{}},m="urn:uuid:edef8ba9-79d6-4ace-a3c8-27dcd51d21ed";let g=0;this.manifest={allowCache:!0,discontinuityStarts:[],dateRanges:[],iFramePlaylists:[],segments:[]};let E=0,C=0;const w={};this.on("end",()=>{s.uri||!s.parts&&!s.preloadHints||(!s.map&&a&&(s.map=a),!s.key&&o&&(s.key=o),!s.timeline&&typeof g=="number"&&(s.timeline=g),this.manifest.preloadSegment=s)}),this.parseStream.on("data",function(v){let b,k;if(i.manifest.definitions){for(const S in i.manifest.definitions)if(v.uri&&(v.uri=v.uri.replace(`{$${S}}`,i.manifest.definitions[S])),v.attributes)for(const D in v.attributes)typeof v.attributes[D]=="string"&&(v.attributes[D]=v.attributes[D].replace(`{$${S}}`,i.manifest.definitions[S]))}({tag(){({version(){v.version&&(this.manifest.version=v.version)},"allow-cache"(){this.manifest.allowCache=v.allowed,"allowed"in v||(this.trigger("info",{message:"defaulting allowCache to YES"}),this.manifest.allowCache=!0)},byterange(){const S={};"length"in v&&(s.byterange=S,S.length=v.length,"offset"in v||(v.offset=E)),"offset"in v&&(s.byterange=S,S.offset=v.offset),E=S.offset+S.length},endlist(){this.manifest.endList=!0},inf(){"mediaSequence"in this.manifest||(this.manifest.mediaSequence=0,this.trigger("info",{message:"defaulting media sequence to zero"})),"discontinuitySequence"in this.manifest||(this.manifest.discontinuitySequence=0,this.trigger("info",{message:"defaulting discontinuity sequence to zero"})),v.title&&(s.title=v.title),v.duration>0&&(s.duration=v.duration),v.duration===0&&(s.duration=.01,this.trigger("info",{message:"updating zero segment duration to a small value"})),this.manifest.segments=n},key(){if(!v.attributes){this.trigger("warn",{message:"ignoring key declaration without attribute list"});return}if(v.attributes.METHOD==="NONE"){o=null;return}if(!v.attributes.URI){this.trigger("warn",{message:"ignoring key declaration without URI"});return}if(v.attributes.KEYFORMAT==="com.apple.streamingkeydelivery"){this.manifest.contentProtection=this.manifest.contentProtection||{},this.manifest.contentProtection["com.apple.fps.1_0"]={attributes:v.attributes};return}if(v.attributes.KEYFORMAT==="com.microsoft.playready"){this.manifest.contentProtection=this.manifest.contentProtection||{},this.manifest.contentProtection["com.microsoft.playready"]={uri:v.attributes.URI};return}if(v.attributes.KEYFORMAT===m){if(["SAMPLE-AES","SAMPLE-AES-CTR","SAMPLE-AES-CENC"].indexOf(v.attributes.METHOD)===-1){this.trigger("warn",{message:"invalid key method provided for Widevine"});return}if(v.attributes.METHOD==="SAMPLE-AES-CENC"&&this.trigger("warn",{message:"SAMPLE-AES-CENC is deprecated, please use SAMPLE-AES-CTR instead"}),v.attributes.URI.substring(0,23)!=="data:text/plain;base64,"){this.trigger("warn",{message:"invalid key URI provided for Widevine"});return}if(!(v.attributes.KEYID&&v.attributes.KEYID.substring(0,2)==="0x")){this.trigger("warn",{message:"invalid key ID provided for Widevine"});return}this.manifest.contentProtection=this.manifest.contentProtection||{},this.manifest.contentProtection["com.widevine.alpha"]={attributes:{schemeIdUri:v.attributes.KEYFORMAT,keyId:v.attributes.KEYID.substring(2)},pssh:U0(v.attributes.URI.split(",")[1])};return}v.attributes.METHOD||this.trigger("warn",{message:"defaulting key method to AES-128"}),o={method:v.attributes.METHOD||"AES-128",uri:v.attributes.URI},typeof v.attributes.IV<"u"&&(o.iv=v.attributes.IV)},"media-sequence"(){if(!isFinite(v.number)){this.trigger("warn",{message:"ignoring invalid media sequence: "+v.number});return}this.manifest.mediaSequence=v.number},"discontinuity-sequence"(){if(!isFinite(v.number)){this.trigger("warn",{message:"ignoring invalid discontinuity sequence: "+v.number});return}this.manifest.discontinuitySequence=v.number,g=v.number},"playlist-type"(){if(!/VOD|EVENT/.test(v.playlistType)){this.trigger("warn",{message:"ignoring unknown playlist type: "+v.playlist});return}this.manifest.playlistType=v.playlistType},map(){a={},v.uri&&(a.uri=v.uri),v.byterange&&(a.byterange=v.byterange),o&&(a.key=o)},"stream-inf"(){if(this.manifest.playlists=n,this.manifest.mediaGroups=this.manifest.mediaGroups||d,!v.attributes){this.trigger("warn",{message:"ignoring empty stream-inf attributes"});return}s.attributes||(s.attributes={}),_t(s.attributes,v.attributes)},media(){if(this.manifest.mediaGroups=this.manifest.mediaGroups||d,!(v.attributes&&v.attributes.TYPE&&v.attributes["GROUP-ID"]&&v.attributes.NAME)){this.trigger("warn",{message:"ignoring incomplete or missing media group"});return}const S=this.manifest.mediaGroups[v.attributes.TYPE];S[v.attributes["GROUP-ID"]]=S[v.attributes["GROUP-ID"]]||{},b=S[v.attributes["GROUP-ID"]],k={default:/yes/i.test(v.attributes.DEFAULT)},k.default?k.autoselect=!0:k.autoselect=/yes/i.test(v.attributes.AUTOSELECT),v.attributes.LANGUAGE&&(k.language=v.attributes.LANGUAGE),v.attributes.URI&&(k.uri=v.attributes.URI),v.attributes["INSTREAM-ID"]&&(k.instreamId=v.attributes["INSTREAM-ID"]),v.attributes.CHARACTERISTICS&&(k.characteristics=v.attributes.CHARACTERISTICS),v.attributes.FORCED&&(k.forced=/yes/i.test(v.attributes.FORCED)),b[v.attributes.NAME]=k},discontinuity(){g+=1,s.discontinuity=!0,this.manifest.discontinuityStarts.push(n.length)},"program-date-time"(){typeof this.manifest.dateTimeString>"u"&&(this.manifest.dateTimeString=v.dateTimeString,this.manifest.dateTimeObject=v.dateTimeObject),s.dateTimeString=v.dateTimeString,s.dateTimeObject=v.dateTimeObject;const{lastProgramDateTime:S}=this;this.lastProgramDateTime=new Date(v.dateTimeString).getTime(),S===null&&this.manifest.segments.reduceRight((D,O)=>(O.programDateTime=D-O.duration*1e3,O.programDateTime),this.lastProgramDateTime)},targetduration(){if(!isFinite(v.duration)||v.duration<0){this.trigger("warn",{message:"ignoring invalid target duration: "+v.duration});return}this.manifest.targetDuration=v.duration,Io.call(this,this.manifest)},start(){if(!v.attributes||isNaN(v.attributes["TIME-OFFSET"])){this.trigger("warn",{message:"ignoring start declaration without appropriate attribute list"});return}this.manifest.start={timeOffset:v.attributes["TIME-OFFSET"],precise:v.attributes.PRECISE}},"cue-out"(){s.cueOut=v.data},"cue-out-cont"(){s.cueOutCont=v.data},"cue-in"(){s.cueIn=v.data},skip(){this.manifest.skip=ln(v.attributes),this.warnOnMissingAttributes_("#EXT-X-SKIP",v.attributes,["SKIPPED-SEGMENTS"])},part(){l=!0;const S=this.manifest.segments.length,D=ln(v.attributes);s.parts=s.parts||[],s.parts.push(D),D.byterange&&(D.byterange.hasOwnProperty("offset")||(D.byterange.offset=C),C=D.byterange.offset+D.byterange.length);const O=s.parts.length-1;this.warnOnMissingAttributes_(`#EXT-X-PART #${O} for segment #${S}`,v.attributes,["URI","DURATION"]),this.manifest.renditionReports&&this.manifest.renditionReports.forEach((q,R)=>{q.hasOwnProperty("lastPart")||this.trigger("warn",{message:`#EXT-X-RENDITION-REPORT #${R} lacks required attribute(s): LAST-PART`})})},"server-control"(){const S=this.manifest.serverControl=ln(v.attributes);S.hasOwnProperty("canBlockReload")||(S.canBlockReload=!1,this.trigger("info",{message:"#EXT-X-SERVER-CONTROL defaulting CAN-BLOCK-RELOAD to false"})),Io.call(this,this.manifest),S.canSkipDateranges&&!S.hasOwnProperty("canSkipUntil")&&this.trigger("warn",{message:"#EXT-X-SERVER-CONTROL lacks required attribute CAN-SKIP-UNTIL which is required when CAN-SKIP-DATERANGES is set"})},"preload-hint"(){const S=this.manifest.segments.length,D=ln(v.attributes),O=D.type&&D.type==="PART";s.preloadHints=s.preloadHints||[],s.preloadHints.push(D),D.byterange&&(D.byterange.hasOwnProperty("offset")||(D.byterange.offset=O?C:0,O&&(C=D.byterange.offset+D.byterange.length)));const q=s.preloadHints.length-1;if(this.warnOnMissingAttributes_(`#EXT-X-PRELOAD-HINT #${q} for segment #${S}`,v.attributes,["TYPE","URI"]),!!D.type)for(let R=0;R<s.preloadHints.length-1;R++){const x=s.preloadHints[R];x.type&&x.type===D.type&&this.trigger("warn",{message:`#EXT-X-PRELOAD-HINT #${q} for segment #${S} has the same TYPE ${D.type} as preload hint #${R}`})}},"rendition-report"(){const S=ln(v.attributes);this.manifest.renditionReports=this.manifest.renditionReports||[],this.manifest.renditionReports.push(S);const D=this.manifest.renditionReports.length-1,O=["LAST-MSN","URI"];l&&O.push("LAST-PART"),this.warnOnMissingAttributes_(`#EXT-X-RENDITION-REPORT #${D}`,v.attributes,O)},"part-inf"(){this.manifest.partInf=ln(v.attributes),this.warnOnMissingAttributes_("#EXT-X-PART-INF",v.attributes,["PART-TARGET"]),this.manifest.partInf.partTarget&&(this.manifest.partTargetDuration=this.manifest.partInf.partTarget),Io.call(this,this.manifest)},daterange(){this.manifest.dateRanges.push(ln(v.attributes));const S=this.manifest.dateRanges.length-1;this.warnOnMissingAttributes_(`#EXT-X-DATERANGE #${S}`,v.attributes,["ID","START-DATE"]);const D=this.manifest.dateRanges[S];D.endDate&&D.startDate&&new Date(D.endDate)<new Date(D.startDate)&&this.trigger("warn",{message:"EXT-X-DATERANGE END-DATE must be equal to or later than the value of the START-DATE"}),D.duration&&D.duration<0&&this.trigger("warn",{message:"EXT-X-DATERANGE DURATION must not be negative"}),D.plannedDuration&&D.plannedDuration<0&&this.trigger("warn",{message:"EXT-X-DATERANGE PLANNED-DURATION must not be negative"});const O=!!D.endOnNext;if(O&&!D.class&&this.trigger("warn",{message:"EXT-X-DATERANGE with an END-ON-NEXT=YES attribute must have a CLASS attribute"}),O&&(D.duration||D.endDate)&&this.trigger("warn",{message:"EXT-X-DATERANGE with an END-ON-NEXT=YES attribute must not contain DURATION or END-DATE attributes"}),D.duration&&D.endDate){const R=D.startDate.getTime()+D.duration*1e3;this.manifest.dateRanges[S].endDate=new Date(R)}if(!w[D.id])w[D.id]=D;else{for(const R in w[D.id])if(D[R]&&JSON.stringify(w[D.id][R])!==JSON.stringify(D[R])){this.trigger("warn",{message:"EXT-X-DATERANGE tags with the same ID in a playlist must have the same attributes values"});break}const q=this.manifest.dateRanges.findIndex(R=>R.id===D.id);this.manifest.dateRanges[q]=_t(this.manifest.dateRanges[q],D),w[D.id]=_t(w[D.id],D),this.manifest.dateRanges.pop()}},"independent-segments"(){this.manifest.independentSegments=!0},"i-frames-only"(){this.manifest.iFramesOnly=!0,this.requiredCompatibilityversion(this.manifest.version,4)},"content-steering"(){this.manifest.contentSteering=ln(v.attributes),this.warnOnMissingAttributes_("#EXT-X-CONTENT-STEERING",v.attributes,["SERVER-URI"])},define(){this.manifest.definitions=this.manifest.definitions||{};const S=(D,O)=>{if(D in this.manifest.definitions){this.trigger("error",{message:`EXT-X-DEFINE: Duplicate name ${D}`});return}this.manifest.definitions[D]=O};if("QUERYPARAM"in v.attributes){if("NAME"in v.attributes||"IMPORT"in v.attributes){this.trigger("error",{message:"EXT-X-DEFINE: Invalid attributes"});return}const D=this.params.get(v.attributes.QUERYPARAM);if(!D){this.trigger("error",{message:`EXT-X-DEFINE: No query param ${v.attributes.QUERYPARAM}`});return}S(v.attributes.QUERYPARAM,decodeURIComponent(D));return}if("NAME"in v.attributes){if("IMPORT"in v.attributes){this.trigger("error",{message:"EXT-X-DEFINE: Invalid attributes"});return}if(!("VALUE"in v.attributes)||typeof v.attributes.VALUE!="string"){this.trigger("error",{message:`EXT-X-DEFINE: No value for ${v.attributes.NAME}`});return}S(v.attributes.NAME,v.attributes.VALUE);return}if("IMPORT"in v.attributes){if(!this.mainDefinitions[v.attributes.IMPORT]){this.trigger("error",{message:`EXT-X-DEFINE: No value ${v.attributes.IMPORT} to import, or IMPORT used on main playlist`});return}S(v.attributes.IMPORT,this.mainDefinitions[v.attributes.IMPORT]);return}this.trigger("error",{message:"EXT-X-DEFINE: No attribute"})},"i-frame-playlist"(){this.manifest.iFramePlaylists.push({attributes:v.attributes,uri:v.uri,timeline:g}),this.warnOnMissingAttributes_("#EXT-X-I-FRAME-STREAM-INF",v.attributes,["BANDWIDTH","URI"])}}[v.tagType]||c).call(i)},uri(){s.uri=v.uri,n.push(s),this.manifest.targetDuration&&!("duration"in s)&&(this.trigger("warn",{message:"defaulting segment duration to the target duration"}),s.duration=this.manifest.targetDuration),o&&(s.key=o),s.timeline=g,a&&(s.map=a),C=0,this.lastProgramDateTime!==null&&(s.programDateTime=this.lastProgramDateTime,this.lastProgramDateTime+=s.duration*1e3),s={}},comment(){},custom(){v.segment?(s.custom=s.custom||{},s.custom[v.customType]=v.data):(this.manifest.custom=this.manifest.custom||{},this.manifest.custom[v.customType]=v.data)}})[v.type].call(i)})}requiredCompatibilityversion(e,i){(e<i||!e)&&this.trigger("warn",{message:`manifest must be at least version ${i}`})}warnOnMissingAttributes_(e,i,n){const s=[];n.forEach(function(a){i.hasOwnProperty(a)||s.push(a)}),s.length&&this.trigger("warn",{message:`${e} lacks required attribute(s): ${s.join(", ")}`})}push(e){this.lineStream.push(e)}end(){this.lineStream.push(`
|
|
24
|
+
`),this.manifest.dateRanges.length&&this.lastProgramDateTime===null&&this.trigger("warn",{message:"A playlist with EXT-X-DATERANGE tag must contain atleast one EXT-X-PROGRAM-DATE-TIME tag"}),this.lastProgramDateTime=null,this.trigger("end")}addParser(e){this.parseStream.addParser(e)}addTagMapper(e){this.parseStream.addTagMapper(e)}}var In={mp4:/^(av0?1|avc0?[1234]|vp0?9|flac|opus|mp3|mp4a|mp4v|stpp.ttml.im1t)/,webm:/^(vp0?[89]|av0?1|opus|vorbis)/,ogg:/^(vp0?[89]|theora|flac|opus|vorbis)/,video:/^(av0?1|avc0?[1234]|vp0?[89]|hvc1|hev1|theora|mp4v)/,audio:/^(mp4a|flac|vorbis|opus|ac-[34]|ec-3|alac|mp3|speex|aac)/,text:/^(stpp.ttml.im1t)/,muxerVideo:/^(avc0?1)/,muxerAudio:/^(mp4a)/,muxerText:/a^/},mv=["video","audio","text"],Fc=["Video","Audio","Text"],z0=function(e){return e&&e.replace(/avc1\.(\d+)\.(\d+)/i,function(i,n,s){var a=("00"+Number(n).toString(16)).slice(-2),o=("00"+Number(s).toString(16)).slice(-2);return"avc1."+a+"00"+o})},qi=function(e){e===void 0&&(e="");var i=e.split(","),n=[];return i.forEach(function(s){s=s.trim();var a;mv.forEach(function(o){var l=In[o].exec(s.toLowerCase());if(!(!l||l.length<=1)){a=o;var c=s.substring(0,l[1].length),d=s.replace(c,"");n.push({type:c,details:d,mediaType:o})}}),a||n.push({type:s,details:"",mediaType:"unknown"})}),n},gv=function(e,i){if(!e.mediaGroups.AUDIO||!i)return null;var n=e.mediaGroups.AUDIO[i];if(!n)return null;for(var s in n){var a=n[s];if(a.default&&a.playlists)return qi(a.playlists[0].attributes.CODECS)}return null},H0=function(e){return e===void 0&&(e=""),In.audio.test(e.trim().toLowerCase())},vv=function(e){return e===void 0&&(e=""),In.text.test(e.trim().toLowerCase())},rr=function(e){if(!(!e||typeof e!="string")){var i=e.toLowerCase().split(",").map(function(a){return z0(a.trim())}),n="video";i.length===1&&H0(i[0])?n="audio":i.length===1&&vv(i[0])&&(n="application");var s="mp4";return i.every(function(a){return In.mp4.test(a)})?s="mp4":i.every(function(a){return In.webm.test(a)})?s="webm":i.every(function(a){return In.ogg.test(a)})&&(s="ogg"),n+"/"+s+';codecs="'+e+'"'}},Wr=function(e,i){return e===void 0&&(e=""),i===void 0&&(i=!1),K.MediaSource&&K.MediaSource.isTypeSupported&&K.MediaSource.isTypeSupported(rr(e))||i&&K.ManagedMediaSource&&K.ManagedMediaSource.isTypeSupported&&K.ManagedMediaSource.isTypeSupported(rr(e))||!1},No=function(e){return e===void 0&&(e=""),e.toLowerCase().split(",").every(function(i){i=i.trim();for(var n=0;n<Fc.length;n++){var s=Fc[n];if(In["muxer"+s].test(i))return!0}return!1})},Uc="mp4a.40.2",yv="avc1.4d400d",bv=/^(audio|video|application)\/(x-|vnd\.apple\.)?mpegurl/i,Cv=/^application\/dash\+xml/i,j0=function(e){return bv.test(e)?"hls":Cv.test(e)?"dash":e==="application/vnd.videojs.vhs+json"?"vhs-json":null},Tv=function(e){return e.toString(2).length},Av=function(e){return Math.ceil(Tv(e)/8)},X0=function(e){return ArrayBuffer.isView==="function"?ArrayBuffer.isView(e):e&&e.buffer instanceof ArrayBuffer},Ev=function(e){return X0(e)},Ge=function(e){return e instanceof Uint8Array?e:(!Array.isArray(e)&&!Ev(e)&&!(e instanceof ArrayBuffer)&&(typeof e!="number"||typeof e=="number"&&e!==e?e=0:e=[e]),new Uint8Array(e&&e.buffer||e,e&&e.byteOffset||0,e&&e.byteLength||0))},Ht=K.BigInt||Number,nl=[Ht("0x1"),Ht("0x100"),Ht("0x10000"),Ht("0x1000000"),Ht("0x100000000"),Ht("0x10000000000"),Ht("0x1000000000000"),Ht("0x100000000000000"),Ht("0x10000000000000000")];(function(){var r=new Uint16Array([65484]),e=new Uint8Array(r.buffer,r.byteOffset,r.byteLength);return e[0]===255?"big":e[0]===204?"little":"unknown"})();var xv=function(e,i){var n=i===void 0?{}:i,s=n.signed,a=s===void 0?!1:s,o=n.le,l=o===void 0?!1:o;e=Ge(e);var c=l?"reduce":"reduceRight",d=e[c]?e[c]:Array.prototype[c],m=d.call(e,function(E,C,w){var v=l?w:Math.abs(w+1-e.length);return E+Ht(C)*nl[v]},Ht(0));if(a){var g=nl[e.length]/Ht(2)-Ht(1);m=Ht(m),m>g&&(m-=g,m-=g,m-=Ht(2))}return Number(m)},kv=function(e,i){var n={},s=n.le,a=s===void 0?!1:s;(typeof e!="bigint"&&typeof e!="number"||typeof e=="number"&&e!==e)&&(e=0),e=Ht(e);for(var o=Av(e),l=new Uint8Array(new ArrayBuffer(o)),c=0;c<o;c++){var d=a?c:Math.abs(c+1-l.length);l[d]=Number(e/nl[c]&Ht(255)),e<0&&(l[d]=Math.abs(~l[d]),l[d]-=c===0?1:2)}return l},G0=function(e,i){if(typeof e!="string"&&e&&typeof e.toString=="function"&&(e=e.toString()),typeof e!="string")return new Uint8Array;i||(e=unescape(encodeURIComponent(e)));for(var n=new Uint8Array(e.length),s=0;s<e.length;s++)n[s]=e.charCodeAt(s);return n},_v=function(){for(var e=arguments.length,i=new Array(e),n=0;n<e;n++)i[n]=arguments[n];if(i=i.filter(function(l){return l&&(l.byteLength||l.length)&&typeof l!="string"}),i.length<=1)return Ge(i[0]);var s=i.reduce(function(l,c,d){return l+(c.byteLength||c.length)},0),a=new Uint8Array(s),o=0;return i.forEach(function(l){l=Ge(l),a.set(l,o),o+=l.byteLength}),a},vt=function(e,i,n){var s=n===void 0?{}:n,a=s.offset,o=a===void 0?0:a,l=s.mask,c=l===void 0?[]:l;e=Ge(e),i=Ge(i);var d=i.every?i.every:Array.prototype.every;return i.length&&e.length-o>=i.length&&d.call(i,function(m,g){var E=c[g]?c[g]&e[o+g]:e[o+g];return m===E})},Sv=function(e,i,n){i.forEach(function(s){for(var a in e.mediaGroups[s])for(var o in e.mediaGroups[s][a]){var l=e.mediaGroups[s][a][o];n(l,s,a,o)}})},Fr={},Wi={},xn={},zc;function Ia(){if(zc)return xn;zc=1;function r(a,o,l){if(l===void 0&&(l=Array.prototype),a&&typeof l.find=="function")return l.find.call(a,o);for(var c=0;c<a.length;c++)if(Object.prototype.hasOwnProperty.call(a,c)){var d=a[c];if(o.call(void 0,d,c,a))return d}}function e(a,o){return o===void 0&&(o=Object),o&&typeof o.freeze=="function"?o.freeze(a):a}function i(a,o){if(a===null||typeof a!="object")throw new TypeError("target is not an object");for(var l in o)Object.prototype.hasOwnProperty.call(o,l)&&(a[l]=o[l]);return a}var n=e({HTML:"text/html",isHTML:function(a){return a===n.HTML},XML_APPLICATION:"application/xml",XML_TEXT:"text/xml",XML_XHTML_APPLICATION:"application/xhtml+xml",XML_SVG_IMAGE:"image/svg+xml"}),s=e({HTML:"http://www.w3.org/1999/xhtml",isHTML:function(a){return a===s.HTML},SVG:"http://www.w3.org/2000/svg",XML:"http://www.w3.org/XML/1998/namespace",XMLNS:"http://www.w3.org/2000/xmlns/"});return xn.assign=i,xn.find=r,xn.freeze=e,xn.MIME_TYPE=n,xn.NAMESPACE=s,xn}var Hc;function Q0(){if(Hc)return Wi;Hc=1;var r=Ia(),e=r.find,i=r.NAMESPACE;function n(B){return B!==""}function s(B){return B?B.split(/[\t\n\f\r ]+/).filter(n):[]}function a(B,N){return B.hasOwnProperty(N)||(B[N]=!0),B}function o(B){if(!B)return[];var N=s(B);return Object.keys(N.reduce(a,{}))}function l(B){return function(N){return B&&B.indexOf(N)!==-1}}function c(B,N){for(var $ in B)Object.prototype.hasOwnProperty.call(B,$)&&(N[$]=B[$])}function d(B,N){var $=B.prototype;if(!($ instanceof N)){let ue=function(){};ue.prototype=N.prototype,ue=new ue,c($,ue),B.prototype=$=ue}$.constructor!=B&&(typeof B!="function"&&console.error("unknown Class:"+B),$.constructor=B)}var m={},g=m.ELEMENT_NODE=1,E=m.ATTRIBUTE_NODE=2,C=m.TEXT_NODE=3,w=m.CDATA_SECTION_NODE=4,v=m.ENTITY_REFERENCE_NODE=5,b=m.ENTITY_NODE=6,k=m.PROCESSING_INSTRUCTION_NODE=7,S=m.COMMENT_NODE=8,D=m.DOCUMENT_NODE=9,O=m.DOCUMENT_TYPE_NODE=10,q=m.DOCUMENT_FRAGMENT_NODE=11,R=m.NOTATION_NODE=12,x={},L={};x.INDEX_SIZE_ERR=(L[1]="Index size error",1),x.DOMSTRING_SIZE_ERR=(L[2]="DOMString size error",2);var _=x.HIERARCHY_REQUEST_ERR=(L[3]="Hierarchy request error",3);x.WRONG_DOCUMENT_ERR=(L[4]="Wrong document",4);var V=x.INVALID_CHARACTER_ERR=(L[5]="Invalid character",5);x.NO_DATA_ALLOWED_ERR=(L[6]="No data allowed",6),x.NO_MODIFICATION_ALLOWED_ERR=(L[7]="No modification allowed",7);var I=x.NOT_FOUND_ERR=(L[8]="Not found",8);x.NOT_SUPPORTED_ERR=(L[9]="Not supported",9);var z=x.INUSE_ATTRIBUTE_ERR=(L[10]="Attribute in use",10);x.INVALID_STATE_ERR=(L[11]="Invalid state",11),x.SYNTAX_ERR=(L[12]="Syntax error",12),x.INVALID_MODIFICATION_ERR=(L[13]="Invalid modification",13),x.NAMESPACE_ERR=(L[14]="Invalid namespace",14),x.INVALID_ACCESS_ERR=(L[15]="Invalid access",15);function M(B,N){if(N instanceof Error)var $=N;else $=this,Error.call(this,L[B]),this.message=L[B],Error.captureStackTrace&&Error.captureStackTrace(this,M);return $.code=B,N&&(this.message=this.message+": "+N),$}M.prototype=Error.prototype,c(x,M);function U(){}U.prototype={length:0,item:function(B){return B>=0&&B<this.length?this[B]:null},toString:function(B,N){for(var $=[],ue=0;ue<this.length;ue++)Ft(this[ue],$,B,N);return $.join("")},filter:function(B){return Array.prototype.filter.call(this,B)},indexOf:function(B){return Array.prototype.indexOf.call(this,B)}};function P(B,N){this._node=B,this._refresh=N,te(this)}function te(B){var N=B._node._inc||B._node.ownerDocument._inc;if(B._inc!==N){var $=B._refresh(B._node);if(yi(B,"length",$.length),!B.$$length||$.length<B.$$length)for(var ue=$.length;ue in B;ue++)Object.prototype.hasOwnProperty.call(B,ue)&&delete B[ue];c($,B),B._inc=N}}P.prototype.item=function(B){return te(this),this[B]||null},d(P,U);function j(){}function G(B,N){for(var $=B.length;$--;)if(B[$]===N)return $}function ee(B,N,$,ue){if(ue?N[G(N,ue)]=$:N[N.length++]=$,B){$.ownerElement=B;var Be=B.ownerDocument;Be&&(ue&&ce(Be,B,ue),he(Be,B,$))}}function J(B,N,$){var ue=G(N,$);if(ue>=0){for(var Be=N.length-1;ue<Be;)N[ue]=N[++ue];if(N.length=Be,B){var Xe=B.ownerDocument;Xe&&(ce(Xe,B,$),$.ownerElement=null)}}else throw new M(I,new Error(B.tagName+"@"+$))}j.prototype={length:0,item:U.prototype.item,getNamedItem:function(B){for(var N=this.length;N--;){var $=this[N];if($.nodeName==B)return $}},setNamedItem:function(B){var N=B.ownerElement;if(N&&N!=this._ownerElement)throw new M(z);var $=this.getNamedItem(B.nodeName);return ee(this._ownerElement,this,B,$),$},setNamedItemNS:function(B){var N=B.ownerElement,$;if(N&&N!=this._ownerElement)throw new M(z);return $=this.getNamedItemNS(B.namespaceURI,B.localName),ee(this._ownerElement,this,B,$),$},removeNamedItem:function(B){var N=this.getNamedItem(B);return J(this._ownerElement,this,N),N},removeNamedItemNS:function(B,N){var $=this.getNamedItemNS(B,N);return J(this._ownerElement,this,$),$},getNamedItemNS:function(B,N){for(var $=this.length;$--;){var ue=this[$];if(ue.localName==N&&ue.namespaceURI==B)return ue}return null}};function Q(){}Q.prototype={hasFeature:function(B,N){return!0},createDocument:function(B,N,$){var ue=new W;if(ue.implementation=this,ue.childNodes=new U,ue.doctype=$||null,$&&ue.appendChild($),N){var Be=ue.createElementNS(B,N);ue.appendChild(Be)}return ue},createDocumentType:function(B,N,$){var ue=new He;return ue.name=B,ue.nodeName=B,ue.publicId=N||"",ue.systemId=$||"",ue}};function X(){}X.prototype={firstChild:null,lastChild:null,previousSibling:null,nextSibling:null,attributes:null,parentNode:null,childNodes:null,ownerDocument:null,nodeValue:null,namespaceURI:null,prefix:null,localName:null,insertBefore:function(B,N){return Ie(this,B,N)},replaceChild:function(B,N){Ie(this,B,N,Me),N&&this.removeChild(N)},removeChild:function(B){return fe(this,B)},appendChild:function(B){return this.insertBefore(B,null)},hasChildNodes:function(){return this.firstChild!=null},cloneNode:function(B){return Ot(this.ownerDocument||this,this,B)},normalize:function(){for(var B=this.firstChild;B;){var N=B.nextSibling;N&&N.nodeType==C&&B.nodeType==C?(this.removeChild(N),B.appendData(N.data)):(B.normalize(),B=N)}},isSupported:function(B,N){return this.ownerDocument.implementation.hasFeature(B,N)},hasAttributes:function(){return this.attributes.length>0},lookupPrefix:function(B){for(var N=this;N;){var $=N._nsMap;if($){for(var ue in $)if(Object.prototype.hasOwnProperty.call($,ue)&&$[ue]===B)return ue}N=N.nodeType==E?N.ownerDocument:N.parentNode}return null},lookupNamespaceURI:function(B){for(var N=this;N;){var $=N._nsMap;if($&&Object.prototype.hasOwnProperty.call($,B))return $[B];N=N.nodeType==E?N.ownerDocument:N.parentNode}return null},isDefaultNamespace:function(B){var N=this.lookupPrefix(B);return N==null}};function ne(B){return B=="<"&&"<"||B==">"&&">"||B=="&"&&"&"||B=='"'&&"""||"&#"+B.charCodeAt()+";"}c(m,X),c(m,X.prototype);function ve(B,N){if(N(B))return!0;if(B=B.firstChild)do if(ve(B,N))return!0;while(B=B.nextSibling)}function W(){this.ownerDocument=this}function he(B,N,$){B&&B._inc++;var ue=$.namespaceURI;ue===i.XMLNS&&(N._nsMap[$.prefix?$.localName:""]=$.value)}function ce(B,N,$,ue){B&&B._inc++;var Be=$.namespaceURI;Be===i.XMLNS&&delete N._nsMap[$.prefix?$.localName:""]}function Ee(B,N,$){if(B&&B._inc){B._inc++;var ue=N.childNodes;if($)ue[ue.length++]=$;else{for(var Be=N.firstChild,Xe=0;Be;)ue[Xe++]=Be,Be=Be.nextSibling;ue.length=Xe,delete ue[ue.length]}}}function fe(B,N){var $=N.previousSibling,ue=N.nextSibling;return $?$.nextSibling=ue:B.firstChild=ue,ue?ue.previousSibling=$:B.lastChild=$,N.parentNode=null,N.previousSibling=null,N.nextSibling=null,Ee(B.ownerDocument,B),N}function ke(B){return B&&(B.nodeType===X.DOCUMENT_NODE||B.nodeType===X.DOCUMENT_FRAGMENT_NODE||B.nodeType===X.ELEMENT_NODE)}function Re(B){return B&&(Te(B)||De(B)||de(B)||B.nodeType===X.DOCUMENT_FRAGMENT_NODE||B.nodeType===X.COMMENT_NODE||B.nodeType===X.PROCESSING_INSTRUCTION_NODE)}function de(B){return B&&B.nodeType===X.DOCUMENT_TYPE_NODE}function Te(B){return B&&B.nodeType===X.ELEMENT_NODE}function De(B){return B&&B.nodeType===X.TEXT_NODE}function We(B,N){var $=B.childNodes||[];if(e($,Te)||de(N))return!1;var ue=e($,de);return!(N&&ue&&$.indexOf(ue)>$.indexOf(N))}function qe(B,N){var $=B.childNodes||[];function ue(Xe){return Te(Xe)&&Xe!==N}if(e($,ue))return!1;var Be=e($,de);return!(N&&Be&&$.indexOf(Be)>$.indexOf(N))}function ct(B,N,$){if(!ke(B))throw new M(_,"Unexpected parent node type "+B.nodeType);if($&&$.parentNode!==B)throw new M(I,"child not in parent");if(!Re(N)||de(N)&&B.nodeType!==X.DOCUMENT_NODE)throw new M(_,"Unexpected node type "+N.nodeType+" for parent node type "+B.nodeType)}function Je(B,N,$){var ue=B.childNodes||[],Be=N.childNodes||[];if(N.nodeType===X.DOCUMENT_FRAGMENT_NODE){var Xe=Be.filter(Te);if(Xe.length>1||e(Be,De))throw new M(_,"More than one element or text in fragment");if(Xe.length===1&&!We(B,$))throw new M(_,"Element in fragment can not be inserted before doctype")}if(Te(N)&&!We(B,$))throw new M(_,"Only one element can be added and only after doctype");if(de(N)){if(e(ue,de))throw new M(_,"Only one doctype is allowed");var at=e(ue,Te);if($&&ue.indexOf(at)<ue.indexOf($))throw new M(_,"Doctype can only be inserted before an element");if(!$&&at)throw new M(_,"Doctype can not be appended since element is present")}}function Me(B,N,$){var ue=B.childNodes||[],Be=N.childNodes||[];if(N.nodeType===X.DOCUMENT_FRAGMENT_NODE){var Xe=Be.filter(Te);if(Xe.length>1||e(Be,De))throw new M(_,"More than one element or text in fragment");if(Xe.length===1&&!qe(B,$))throw new M(_,"Element in fragment can not be inserted before doctype")}if(Te(N)&&!qe(B,$))throw new M(_,"Only one element can be added and only after doctype");if(de(N)){if(e(ue,function(Kt){return de(Kt)&&Kt!==$}))throw new M(_,"Only one doctype is allowed");var at=e(ue,Te);if($&&ue.indexOf(at)<ue.indexOf($))throw new M(_,"Doctype can only be inserted before an element")}}function Ie(B,N,$,ue){ct(B,N,$),B.nodeType===X.DOCUMENT_NODE&&(ue||Je)(B,N,$);var Be=N.parentNode;if(Be&&Be.removeChild(N),N.nodeType===q){var Xe=N.firstChild;if(Xe==null)return N;var at=N.lastChild}else Xe=at=N;var Bt=$?$.previousSibling:B.lastChild;Xe.previousSibling=Bt,at.nextSibling=$,Bt?Bt.nextSibling=Xe:B.firstChild=Xe,$==null?B.lastChild=at:$.previousSibling=at;do{Xe.parentNode=B;var Kt=B.ownerDocument||B;Ae(Xe,Kt)}while(Xe!==at&&(Xe=Xe.nextSibling));return Ee(B.ownerDocument||B,B),N.nodeType==q&&(N.firstChild=N.lastChild=null),N}function Ae(B,N){if(B.ownerDocument!==N){if(B.ownerDocument=N,B.nodeType===g&&B.attributes)for(var $=0;$<B.attributes.length;$++){var ue=B.attributes.item($);ue&&(ue.ownerDocument=N)}for(var Be=B.firstChild;Be;)Ae(Be,N),Be=Be.nextSibling}}function xe(B,N){N.parentNode&&N.parentNode.removeChild(N),N.parentNode=B,N.previousSibling=B.lastChild,N.nextSibling=null,N.previousSibling?N.previousSibling.nextSibling=N:B.firstChild=N,B.lastChild=N,Ee(B.ownerDocument,B,N);var $=B.ownerDocument||B;return Ae(N,$),N}W.prototype={nodeName:"#document",nodeType:D,doctype:null,documentElement:null,_inc:1,insertBefore:function(B,N){if(B.nodeType==q){for(var $=B.firstChild;$;){var ue=$.nextSibling;this.insertBefore($,N),$=ue}return B}return Ie(this,B,N),Ae(B,this),this.documentElement===null&&B.nodeType===g&&(this.documentElement=B),B},removeChild:function(B){return this.documentElement==B&&(this.documentElement=null),fe(this,B)},replaceChild:function(B,N){Ie(this,B,N,Me),Ae(B,this),N&&this.removeChild(N),Te(B)&&(this.documentElement=B)},importNode:function(B,N){return vi(this,B,N)},getElementById:function(B){var N=null;return ve(this.documentElement,function($){if($.nodeType==g&&$.getAttribute("id")==B)return N=$,!0}),N},getElementsByClassName:function(B){var N=o(B);return new P(this,function($){var ue=[];return N.length>0&&ve($.documentElement,function(Be){if(Be!==$&&Be.nodeType===g){var Xe=Be.getAttribute("class");if(Xe){var at=B===Xe;if(!at){var Bt=o(Xe);at=N.every(l(Bt))}at&&ue.push(Be)}}}),ue})},createElement:function(B){var N=new se;N.ownerDocument=this,N.nodeName=B,N.tagName=B,N.localName=B,N.childNodes=new U;var $=N.attributes=new j;return $._ownerElement=N,N},createDocumentFragment:function(){var B=new gt;return B.ownerDocument=this,B.childNodes=new U,B},createTextNode:function(B){var N=new pe;return N.ownerDocument=this,N.appendData(B),N},createComment:function(B){var N=new le;return N.ownerDocument=this,N.appendData(B),N},createCDATASection:function(B){if(B.indexOf("]]>")!==-1)throw new M(V,'data contains "]]>"');var N=new be;return N.ownerDocument=this,N.appendData(B),N},createProcessingInstruction:function(B,N){var $=new st;return $.ownerDocument=this,$.tagName=$.nodeName=$.target=B,$.nodeValue=$.data=N,$},createAttribute:function(B){var N=new oe;return N.ownerDocument=this,N.name=B,N.nodeName=B,N.localName=B,N.specified=!0,N},createEntityReference:function(B){var N=new ze;return N.ownerDocument=this,N.nodeName=B,N},createElementNS:function(B,N){var $=new se,ue=N.split(":"),Be=$.attributes=new j;return $.childNodes=new U,$.ownerDocument=this,$.nodeName=N,$.tagName=N,$.namespaceURI=B,ue.length==2?($.prefix=ue[0],$.localName=ue[1]):$.localName=N,Be._ownerElement=$,$},createAttributeNS:function(B,N){var $=new oe,ue=N.split(":");return $.ownerDocument=this,$.nodeName=N,$.name=N,$.namespaceURI=B,$.specified=!0,ue.length==2?($.prefix=ue[0],$.localName=ue[1]):$.localName=N,$}},d(W,X);function se(){this._nsMap={}}se.prototype={nodeType:g,hasAttribute:function(B){return this.getAttributeNode(B)!=null},getAttribute:function(B){var N=this.getAttributeNode(B);return N&&N.value||""},getAttributeNode:function(B){return this.attributes.getNamedItem(B)},setAttribute:function(B,N){var $=this.ownerDocument.createAttribute(B);$.value=$.nodeValue=""+N,this.setAttributeNode($)},removeAttribute:function(B){var N=this.getAttributeNode(B);N&&this.removeAttributeNode(N)},appendChild:function(B){return B.nodeType===q?this.insertBefore(B,null):xe(this,B)},setAttributeNode:function(B){return this.attributes.setNamedItem(B)},setAttributeNodeNS:function(B){return this.attributes.setNamedItemNS(B)},removeAttributeNode:function(B){return this.attributes.removeNamedItem(B.nodeName)},removeAttributeNS:function(B,N){var $=this.getAttributeNodeNS(B,N);$&&this.removeAttributeNode($)},hasAttributeNS:function(B,N){return this.getAttributeNodeNS(B,N)!=null},getAttributeNS:function(B,N){var $=this.getAttributeNodeNS(B,N);return $&&$.value||""},setAttributeNS:function(B,N,$){var ue=this.ownerDocument.createAttributeNS(B,N);ue.value=ue.nodeValue=""+$,this.setAttributeNode(ue)},getAttributeNodeNS:function(B,N){return this.attributes.getNamedItemNS(B,N)},getElementsByTagName:function(B){return new P(this,function(N){var $=[];return ve(N,function(ue){ue!==N&&ue.nodeType==g&&(B==="*"||ue.tagName==B)&&$.push(ue)}),$})},getElementsByTagNameNS:function(B,N){return new P(this,function($){var ue=[];return ve($,function(Be){Be!==$&&Be.nodeType===g&&(B==="*"||Be.namespaceURI===B)&&(N==="*"||Be.localName==N)&&ue.push(Be)}),ue})}},W.prototype.getElementsByTagName=se.prototype.getElementsByTagName,W.prototype.getElementsByTagNameNS=se.prototype.getElementsByTagNameNS,d(se,X);function oe(){}oe.prototype.nodeType=E,d(oe,X);function ye(){}ye.prototype={data:"",substringData:function(B,N){return this.data.substring(B,B+N)},appendData:function(B){B=this.data+B,this.nodeValue=this.data=B,this.length=B.length},insertData:function(B,N){this.replaceData(B,0,N)},appendChild:function(B){throw new Error(L[_])},deleteData:function(B,N){this.replaceData(B,N,"")},replaceData:function(B,N,$){var ue=this.data.substring(0,B),Be=this.data.substring(B+N);$=ue+$+Be,this.nodeValue=this.data=$,this.length=$.length}},d(ye,X);function pe(){}pe.prototype={nodeName:"#text",nodeType:C,splitText:function(B){var N=this.data,$=N.substring(B);N=N.substring(0,B),this.data=this.nodeValue=N,this.length=N.length;var ue=this.ownerDocument.createTextNode($);return this.parentNode&&this.parentNode.insertBefore(ue,this.nextSibling),ue}},d(pe,ye);function le(){}le.prototype={nodeName:"#comment",nodeType:S},d(le,ye);function be(){}be.prototype={nodeName:"#cdata-section",nodeType:w},d(be,ye);function He(){}He.prototype.nodeType=O,d(He,X);function Ve(){}Ve.prototype.nodeType=R,d(Ve,X);function it(){}it.prototype.nodeType=b,d(it,X);function ze(){}ze.prototype.nodeType=v,d(ze,X);function gt(){}gt.prototype.nodeName="#document-fragment",gt.prototype.nodeType=q,d(gt,X);function st(){}st.prototype.nodeType=k,d(st,X);function Nt(){}Nt.prototype.serializeToString=function(B,N,$){return Dt.call(B,N,$)},X.prototype.toString=Dt;function Dt(B,N){var $=[],ue=this.nodeType==9&&this.documentElement||this,Be=ue.prefix,Xe=ue.namespaceURI;if(Xe&&Be==null){var Be=ue.lookupPrefix(Xe);if(Be==null)var at=[{namespace:Xe,prefix:null}]}return Ft(this,$,B,N,at),$.join("")}function qt(B,N,$){var ue=B.prefix||"",Be=B.namespaceURI;if(!Be||ue==="xml"&&Be===i.XML||Be===i.XMLNS)return!1;for(var Xe=$.length;Xe--;){var at=$[Xe];if(at.prefix===ue)return at.namespace!==Be}return!0}function ri(B,N,$){B.push(" ",N,'="',$.replace(/[<>&"\t\n\r]/g,ne),'"')}function Ft(B,N,$,ue,Be){if(Be||(Be=[]),ue)if(B=ue(B),B){if(typeof B=="string"){N.push(B);return}}else return;switch(B.nodeType){case g:var Xe=B.attributes,at=Xe.length,ft=B.firstChild,Bt=B.tagName;$=i.isHTML(B.namespaceURI)||$;var Kt=Bt;if(!$&&!B.prefix&&B.namespaceURI){for(var jt,Ut=0;Ut<Xe.length;Ut++)if(Xe.item(Ut).name==="xmlns"){jt=Xe.item(Ut).value;break}if(!jt)for(var si=Be.length-1;si>=0;si--){var nt=Be[si];if(nt.prefix===""&&nt.namespace===B.namespaceURI){jt=nt.namespace;break}}if(jt!==B.namespaceURI)for(var si=Be.length-1;si>=0;si--){var nt=Be[si];if(nt.namespace===B.namespaceURI){nt.prefix&&(Kt=nt.prefix+":"+Bt);break}}}N.push("<",Kt);for(var ai=0;ai<at;ai++){var Wt=Xe.item(ai);Wt.prefix=="xmlns"?Be.push({prefix:Wt.localName,namespace:Wt.value}):Wt.nodeName=="xmlns"&&Be.push({prefix:"",namespace:Wt.value})}for(var ai=0;ai<at;ai++){var Wt=Xe.item(ai);if(qt(Wt,$,Be)){var Jt=Wt.prefix||"",Vt=Wt.namespaceURI;ri(N,Jt?"xmlns:"+Jt:"xmlns",Vt),Be.push({prefix:Jt,namespace:Vt})}Ft(Wt,N,$,ue,Be)}if(Bt===Kt&&qt(B,$,Be)){var Jt=B.prefix||"",Vt=B.namespaceURI;ri(N,Jt?"xmlns:"+Jt:"xmlns",Vt),Be.push({prefix:Jt,namespace:Vt})}if(ft||$&&!/^(?:meta|link|img|br|hr|input)$/i.test(Bt)){if(N.push(">"),$&&/^script$/i.test(Bt))for(;ft;)ft.data?N.push(ft.data):Ft(ft,N,$,ue,Be.slice()),ft=ft.nextSibling;else for(;ft;)Ft(ft,N,$,ue,Be.slice()),ft=ft.nextSibling;N.push("</",Kt,">")}else N.push("/>");return;case D:case q:for(var ft=B.firstChild;ft;)Ft(ft,N,$,ue,Be.slice()),ft=ft.nextSibling;return;case E:return ri(N,B.name,B.value);case C:return N.push(B.data.replace(/[<&>]/g,ne));case w:return N.push("<![CDATA[",B.data.replace(/]]>/g,"]]]]><![CDATA[>"),"]]>");case S:return N.push("<!--",B.data,"-->");case O:var Ze=B.publicId,_i=B.systemId;if(N.push("<!DOCTYPE ",B.name),Ze)N.push(" PUBLIC ",Ze),_i&&_i!="."&&N.push(" ",_i),N.push(">");else if(_i&&_i!=".")N.push(" SYSTEM ",_i,">");else{var Mi=B.internalSubset;Mi&&N.push(" [",Mi,"]"),N.push(">")}return;case k:return N.push("<?",B.target," ",B.data,"?>");case v:return N.push("&",B.nodeName,";");default:N.push("??",B.nodeName)}}function vi(B,N,$){var ue;switch(N.nodeType){case g:ue=N.cloneNode(!1),ue.ownerDocument=B;case q:break;case E:$=!0;break}if(ue||(ue=N.cloneNode(!1)),ue.ownerDocument=B,ue.parentNode=null,$)for(var Be=N.firstChild;Be;)ue.appendChild(vi(B,Be,$)),Be=Be.nextSibling;return ue}function Ot(B,N,$){var ue=new N.constructor;for(var Be in N)if(Object.prototype.hasOwnProperty.call(N,Be)){var Xe=N[Be];typeof Xe!="object"&&Xe!=ue[Be]&&(ue[Be]=Xe)}switch(N.childNodes&&(ue.childNodes=new U),ue.ownerDocument=B,ue.nodeType){case g:var at=N.attributes,Bt=ue.attributes=new j,Kt=at.length;Bt._ownerElement=ue;for(var jt=0;jt<Kt;jt++)ue.setAttributeNode(Ot(B,at.item(jt),!0));break;case E:$=!0}if($)for(var Ut=N.firstChild;Ut;)ue.appendChild(Ot(B,Ut,$)),Ut=Ut.nextSibling;return ue}function yi(B,N,$){B[N]=$}try{if(Object.defineProperty){let B=function(N){switch(N.nodeType){case g:case q:var $=[];for(N=N.firstChild;N;)N.nodeType!==7&&N.nodeType!==8&&$.push(B(N)),N=N.nextSibling;return $.join("");default:return N.nodeValue}};Object.defineProperty(P.prototype,"length",{get:function(){return te(this),this.$$length}}),Object.defineProperty(X.prototype,"textContent",{get:function(){return B(this)},set:function(N){switch(this.nodeType){case g:case q:for(;this.firstChild;)this.removeChild(this.firstChild);(N||String(N))&&this.appendChild(this.ownerDocument.createTextNode(N));break;default:this.data=N,this.value=N,this.nodeValue=N}}}),yi=function(N,$,ue){N["$$"+$]=ue}}}catch{}return Wi.DocumentType=He,Wi.DOMException=M,Wi.DOMImplementation=Q,Wi.Element=se,Wi.Node=X,Wi.NodeList=U,Wi.XMLSerializer=Nt,Wi}var Ur={},Oo={},jc;function wv(){return jc||(jc=1,(function(r){var e=Ia().freeze;r.XML_ENTITIES=e({amp:"&",apos:"'",gt:">",lt:"<",quot:'"'}),r.HTML_ENTITIES=e({Aacute:"Á",aacute:"á",Abreve:"Ă",abreve:"ă",ac:"∾",acd:"∿",acE:"∾̳",Acirc:"Â",acirc:"â",acute:"´",Acy:"А",acy:"а",AElig:"Æ",aelig:"æ",af:"",Afr:"𝔄",afr:"𝔞",Agrave:"À",agrave:"à",alefsym:"ℵ",aleph:"ℵ",Alpha:"Α",alpha:"α",Amacr:"Ā",amacr:"ā",amalg:"⨿",AMP:"&",amp:"&",And:"⩓",and:"∧",andand:"⩕",andd:"⩜",andslope:"⩘",andv:"⩚",ang:"∠",ange:"⦤",angle:"∠",angmsd:"∡",angmsdaa:"⦨",angmsdab:"⦩",angmsdac:"⦪",angmsdad:"⦫",angmsdae:"⦬",angmsdaf:"⦭",angmsdag:"⦮",angmsdah:"⦯",angrt:"∟",angrtvb:"⊾",angrtvbd:"⦝",angsph:"∢",angst:"Å",angzarr:"⍼",Aogon:"Ą",aogon:"ą",Aopf:"𝔸",aopf:"𝕒",ap:"≈",apacir:"⩯",apE:"⩰",ape:"≊",apid:"≋",apos:"'",ApplyFunction:"",approx:"≈",approxeq:"≊",Aring:"Å",aring:"å",Ascr:"𝒜",ascr:"𝒶",Assign:"≔",ast:"*",asymp:"≈",asympeq:"≍",Atilde:"Ã",atilde:"ã",Auml:"Ä",auml:"ä",awconint:"∳",awint:"⨑",backcong:"≌",backepsilon:"϶",backprime:"‵",backsim:"∽",backsimeq:"⋍",Backslash:"∖",Barv:"⫧",barvee:"⊽",Barwed:"⌆",barwed:"⌅",barwedge:"⌅",bbrk:"⎵",bbrktbrk:"⎶",bcong:"≌",Bcy:"Б",bcy:"б",bdquo:"„",becaus:"∵",Because:"∵",because:"∵",bemptyv:"⦰",bepsi:"϶",bernou:"ℬ",Bernoullis:"ℬ",Beta:"Β",beta:"β",beth:"ℶ",between:"≬",Bfr:"𝔅",bfr:"𝔟",bigcap:"⋂",bigcirc:"◯",bigcup:"⋃",bigodot:"⨀",bigoplus:"⨁",bigotimes:"⨂",bigsqcup:"⨆",bigstar:"★",bigtriangledown:"▽",bigtriangleup:"△",biguplus:"⨄",bigvee:"⋁",bigwedge:"⋀",bkarow:"⤍",blacklozenge:"⧫",blacksquare:"▪",blacktriangle:"▴",blacktriangledown:"▾",blacktriangleleft:"◂",blacktriangleright:"▸",blank:"␣",blk12:"▒",blk14:"░",blk34:"▓",block:"█",bne:"=⃥",bnequiv:"≡⃥",bNot:"⫭",bnot:"⌐",Bopf:"𝔹",bopf:"𝕓",bot:"⊥",bottom:"⊥",bowtie:"⋈",boxbox:"⧉",boxDL:"╗",boxDl:"╖",boxdL:"╕",boxdl:"┐",boxDR:"╔",boxDr:"╓",boxdR:"╒",boxdr:"┌",boxH:"═",boxh:"─",boxHD:"╦",boxHd:"╤",boxhD:"╥",boxhd:"┬",boxHU:"╩",boxHu:"╧",boxhU:"╨",boxhu:"┴",boxminus:"⊟",boxplus:"⊞",boxtimes:"⊠",boxUL:"╝",boxUl:"╜",boxuL:"╛",boxul:"┘",boxUR:"╚",boxUr:"╙",boxuR:"╘",boxur:"└",boxV:"║",boxv:"│",boxVH:"╬",boxVh:"╫",boxvH:"╪",boxvh:"┼",boxVL:"╣",boxVl:"╢",boxvL:"╡",boxvl:"┤",boxVR:"╠",boxVr:"╟",boxvR:"╞",boxvr:"├",bprime:"‵",Breve:"˘",breve:"˘",brvbar:"¦",Bscr:"ℬ",bscr:"𝒷",bsemi:"⁏",bsim:"∽",bsime:"⋍",bsol:"\\",bsolb:"⧅",bsolhsub:"⟈",bull:"•",bullet:"•",bump:"≎",bumpE:"⪮",bumpe:"≏",Bumpeq:"≎",bumpeq:"≏",Cacute:"Ć",cacute:"ć",Cap:"⋒",cap:"∩",capand:"⩄",capbrcup:"⩉",capcap:"⩋",capcup:"⩇",capdot:"⩀",CapitalDifferentialD:"ⅅ",caps:"∩︀",caret:"⁁",caron:"ˇ",Cayleys:"ℭ",ccaps:"⩍",Ccaron:"Č",ccaron:"č",Ccedil:"Ç",ccedil:"ç",Ccirc:"Ĉ",ccirc:"ĉ",Cconint:"∰",ccups:"⩌",ccupssm:"⩐",Cdot:"Ċ",cdot:"ċ",cedil:"¸",Cedilla:"¸",cemptyv:"⦲",cent:"¢",CenterDot:"·",centerdot:"·",Cfr:"ℭ",cfr:"𝔠",CHcy:"Ч",chcy:"ч",check:"✓",checkmark:"✓",Chi:"Χ",chi:"χ",cir:"○",circ:"ˆ",circeq:"≗",circlearrowleft:"↺",circlearrowright:"↻",circledast:"⊛",circledcirc:"⊚",circleddash:"⊝",CircleDot:"⊙",circledR:"®",circledS:"Ⓢ",CircleMinus:"⊖",CirclePlus:"⊕",CircleTimes:"⊗",cirE:"⧃",cire:"≗",cirfnint:"⨐",cirmid:"⫯",cirscir:"⧂",ClockwiseContourIntegral:"∲",CloseCurlyDoubleQuote:"”",CloseCurlyQuote:"’",clubs:"♣",clubsuit:"♣",Colon:"∷",colon:":",Colone:"⩴",colone:"≔",coloneq:"≔",comma:",",commat:"@",comp:"∁",compfn:"∘",complement:"∁",complexes:"ℂ",cong:"≅",congdot:"⩭",Congruent:"≡",Conint:"∯",conint:"∮",ContourIntegral:"∮",Copf:"ℂ",copf:"𝕔",coprod:"∐",Coproduct:"∐",COPY:"©",copy:"©",copysr:"℗",CounterClockwiseContourIntegral:"∳",crarr:"↵",Cross:"⨯",cross:"✗",Cscr:"𝒞",cscr:"𝒸",csub:"⫏",csube:"⫑",csup:"⫐",csupe:"⫒",ctdot:"⋯",cudarrl:"⤸",cudarrr:"⤵",cuepr:"⋞",cuesc:"⋟",cularr:"↶",cularrp:"⤽",Cup:"⋓",cup:"∪",cupbrcap:"⩈",CupCap:"≍",cupcap:"⩆",cupcup:"⩊",cupdot:"⊍",cupor:"⩅",cups:"∪︀",curarr:"↷",curarrm:"⤼",curlyeqprec:"⋞",curlyeqsucc:"⋟",curlyvee:"⋎",curlywedge:"⋏",curren:"¤",curvearrowleft:"↶",curvearrowright:"↷",cuvee:"⋎",cuwed:"⋏",cwconint:"∲",cwint:"∱",cylcty:"⌭",Dagger:"‡",dagger:"†",daleth:"ℸ",Darr:"↡",dArr:"⇓",darr:"↓",dash:"‐",Dashv:"⫤",dashv:"⊣",dbkarow:"⤏",dblac:"˝",Dcaron:"Ď",dcaron:"ď",Dcy:"Д",dcy:"д",DD:"ⅅ",dd:"ⅆ",ddagger:"‡",ddarr:"⇊",DDotrahd:"⤑",ddotseq:"⩷",deg:"°",Del:"∇",Delta:"Δ",delta:"δ",demptyv:"⦱",dfisht:"⥿",Dfr:"𝔇",dfr:"𝔡",dHar:"⥥",dharl:"⇃",dharr:"⇂",DiacriticalAcute:"´",DiacriticalDot:"˙",DiacriticalDoubleAcute:"˝",DiacriticalGrave:"`",DiacriticalTilde:"˜",diam:"⋄",Diamond:"⋄",diamond:"⋄",diamondsuit:"♦",diams:"♦",die:"¨",DifferentialD:"ⅆ",digamma:"ϝ",disin:"⋲",div:"÷",divide:"÷",divideontimes:"⋇",divonx:"⋇",DJcy:"Ђ",djcy:"ђ",dlcorn:"⌞",dlcrop:"⌍",dollar:"$",Dopf:"𝔻",dopf:"𝕕",Dot:"¨",dot:"˙",DotDot:"⃜",doteq:"≐",doteqdot:"≑",DotEqual:"≐",dotminus:"∸",dotplus:"∔",dotsquare:"⊡",doublebarwedge:"⌆",DoubleContourIntegral:"∯",DoubleDot:"¨",DoubleDownArrow:"⇓",DoubleLeftArrow:"⇐",DoubleLeftRightArrow:"⇔",DoubleLeftTee:"⫤",DoubleLongLeftArrow:"⟸",DoubleLongLeftRightArrow:"⟺",DoubleLongRightArrow:"⟹",DoubleRightArrow:"⇒",DoubleRightTee:"⊨",DoubleUpArrow:"⇑",DoubleUpDownArrow:"⇕",DoubleVerticalBar:"∥",DownArrow:"↓",Downarrow:"⇓",downarrow:"↓",DownArrowBar:"⤓",DownArrowUpArrow:"⇵",DownBreve:"̑",downdownarrows:"⇊",downharpoonleft:"⇃",downharpoonright:"⇂",DownLeftRightVector:"⥐",DownLeftTeeVector:"⥞",DownLeftVector:"↽",DownLeftVectorBar:"⥖",DownRightTeeVector:"⥟",DownRightVector:"⇁",DownRightVectorBar:"⥗",DownTee:"⊤",DownTeeArrow:"↧",drbkarow:"⤐",drcorn:"⌟",drcrop:"⌌",Dscr:"𝒟",dscr:"𝒹",DScy:"Ѕ",dscy:"ѕ",dsol:"⧶",Dstrok:"Đ",dstrok:"đ",dtdot:"⋱",dtri:"▿",dtrif:"▾",duarr:"⇵",duhar:"⥯",dwangle:"⦦",DZcy:"Џ",dzcy:"џ",dzigrarr:"⟿",Eacute:"É",eacute:"é",easter:"⩮",Ecaron:"Ě",ecaron:"ě",ecir:"≖",Ecirc:"Ê",ecirc:"ê",ecolon:"≕",Ecy:"Э",ecy:"э",eDDot:"⩷",Edot:"Ė",eDot:"≑",edot:"ė",ee:"ⅇ",efDot:"≒",Efr:"𝔈",efr:"𝔢",eg:"⪚",Egrave:"È",egrave:"è",egs:"⪖",egsdot:"⪘",el:"⪙",Element:"∈",elinters:"⏧",ell:"ℓ",els:"⪕",elsdot:"⪗",Emacr:"Ē",emacr:"ē",empty:"∅",emptyset:"∅",EmptySmallSquare:"◻",emptyv:"∅",EmptyVerySmallSquare:"▫",emsp:" ",emsp13:" ",emsp14:" ",ENG:"Ŋ",eng:"ŋ",ensp:" ",Eogon:"Ę",eogon:"ę",Eopf:"𝔼",eopf:"𝕖",epar:"⋕",eparsl:"⧣",eplus:"⩱",epsi:"ε",Epsilon:"Ε",epsilon:"ε",epsiv:"ϵ",eqcirc:"≖",eqcolon:"≕",eqsim:"≂",eqslantgtr:"⪖",eqslantless:"⪕",Equal:"⩵",equals:"=",EqualTilde:"≂",equest:"≟",Equilibrium:"⇌",equiv:"≡",equivDD:"⩸",eqvparsl:"⧥",erarr:"⥱",erDot:"≓",Escr:"ℰ",escr:"ℯ",esdot:"≐",Esim:"⩳",esim:"≂",Eta:"Η",eta:"η",ETH:"Ð",eth:"ð",Euml:"Ë",euml:"ë",euro:"€",excl:"!",exist:"∃",Exists:"∃",expectation:"ℰ",ExponentialE:"ⅇ",exponentiale:"ⅇ",fallingdotseq:"≒",Fcy:"Ф",fcy:"ф",female:"♀",ffilig:"ffi",fflig:"ff",ffllig:"ffl",Ffr:"𝔉",ffr:"𝔣",filig:"fi",FilledSmallSquare:"◼",FilledVerySmallSquare:"▪",fjlig:"fj",flat:"♭",fllig:"fl",fltns:"▱",fnof:"ƒ",Fopf:"𝔽",fopf:"𝕗",ForAll:"∀",forall:"∀",fork:"⋔",forkv:"⫙",Fouriertrf:"ℱ",fpartint:"⨍",frac12:"½",frac13:"⅓",frac14:"¼",frac15:"⅕",frac16:"⅙",frac18:"⅛",frac23:"⅔",frac25:"⅖",frac34:"¾",frac35:"⅗",frac38:"⅜",frac45:"⅘",frac56:"⅚",frac58:"⅝",frac78:"⅞",frasl:"⁄",frown:"⌢",Fscr:"ℱ",fscr:"𝒻",gacute:"ǵ",Gamma:"Γ",gamma:"γ",Gammad:"Ϝ",gammad:"ϝ",gap:"⪆",Gbreve:"Ğ",gbreve:"ğ",Gcedil:"Ģ",Gcirc:"Ĝ",gcirc:"ĝ",Gcy:"Г",gcy:"г",Gdot:"Ġ",gdot:"ġ",gE:"≧",ge:"≥",gEl:"⪌",gel:"⋛",geq:"≥",geqq:"≧",geqslant:"⩾",ges:"⩾",gescc:"⪩",gesdot:"⪀",gesdoto:"⪂",gesdotol:"⪄",gesl:"⋛︀",gesles:"⪔",Gfr:"𝔊",gfr:"𝔤",Gg:"⋙",gg:"≫",ggg:"⋙",gimel:"ℷ",GJcy:"Ѓ",gjcy:"ѓ",gl:"≷",gla:"⪥",glE:"⪒",glj:"⪤",gnap:"⪊",gnapprox:"⪊",gnE:"≩",gne:"⪈",gneq:"⪈",gneqq:"≩",gnsim:"⋧",Gopf:"𝔾",gopf:"𝕘",grave:"`",GreaterEqual:"≥",GreaterEqualLess:"⋛",GreaterFullEqual:"≧",GreaterGreater:"⪢",GreaterLess:"≷",GreaterSlantEqual:"⩾",GreaterTilde:"≳",Gscr:"𝒢",gscr:"ℊ",gsim:"≳",gsime:"⪎",gsiml:"⪐",Gt:"≫",GT:">",gt:">",gtcc:"⪧",gtcir:"⩺",gtdot:"⋗",gtlPar:"⦕",gtquest:"⩼",gtrapprox:"⪆",gtrarr:"⥸",gtrdot:"⋗",gtreqless:"⋛",gtreqqless:"⪌",gtrless:"≷",gtrsim:"≳",gvertneqq:"≩︀",gvnE:"≩︀",Hacek:"ˇ",hairsp:" ",half:"½",hamilt:"ℋ",HARDcy:"Ъ",hardcy:"ъ",hArr:"⇔",harr:"↔",harrcir:"⥈",harrw:"↭",Hat:"^",hbar:"ℏ",Hcirc:"Ĥ",hcirc:"ĥ",hearts:"♥",heartsuit:"♥",hellip:"…",hercon:"⊹",Hfr:"ℌ",hfr:"𝔥",HilbertSpace:"ℋ",hksearow:"⤥",hkswarow:"⤦",hoarr:"⇿",homtht:"∻",hookleftarrow:"↩",hookrightarrow:"↪",Hopf:"ℍ",hopf:"𝕙",horbar:"―",HorizontalLine:"─",Hscr:"ℋ",hscr:"𝒽",hslash:"ℏ",Hstrok:"Ħ",hstrok:"ħ",HumpDownHump:"≎",HumpEqual:"≏",hybull:"⁃",hyphen:"‐",Iacute:"Í",iacute:"í",ic:"",Icirc:"Î",icirc:"î",Icy:"И",icy:"и",Idot:"İ",IEcy:"Е",iecy:"е",iexcl:"¡",iff:"⇔",Ifr:"ℑ",ifr:"𝔦",Igrave:"Ì",igrave:"ì",ii:"ⅈ",iiiint:"⨌",iiint:"∭",iinfin:"⧜",iiota:"℩",IJlig:"IJ",ijlig:"ij",Im:"ℑ",Imacr:"Ī",imacr:"ī",image:"ℑ",ImaginaryI:"ⅈ",imagline:"ℐ",imagpart:"ℑ",imath:"ı",imof:"⊷",imped:"Ƶ",Implies:"⇒",in:"∈",incare:"℅",infin:"∞",infintie:"⧝",inodot:"ı",Int:"∬",int:"∫",intcal:"⊺",integers:"ℤ",Integral:"∫",intercal:"⊺",Intersection:"⋂",intlarhk:"⨗",intprod:"⨼",InvisibleComma:"",InvisibleTimes:"",IOcy:"Ё",iocy:"ё",Iogon:"Į",iogon:"į",Iopf:"𝕀",iopf:"𝕚",Iota:"Ι",iota:"ι",iprod:"⨼",iquest:"¿",Iscr:"ℐ",iscr:"𝒾",isin:"∈",isindot:"⋵",isinE:"⋹",isins:"⋴",isinsv:"⋳",isinv:"∈",it:"",Itilde:"Ĩ",itilde:"ĩ",Iukcy:"І",iukcy:"і",Iuml:"Ï",iuml:"ï",Jcirc:"Ĵ",jcirc:"ĵ",Jcy:"Й",jcy:"й",Jfr:"𝔍",jfr:"𝔧",jmath:"ȷ",Jopf:"𝕁",jopf:"𝕛",Jscr:"𝒥",jscr:"𝒿",Jsercy:"Ј",jsercy:"ј",Jukcy:"Є",jukcy:"є",Kappa:"Κ",kappa:"κ",kappav:"ϰ",Kcedil:"Ķ",kcedil:"ķ",Kcy:"К",kcy:"к",Kfr:"𝔎",kfr:"𝔨",kgreen:"ĸ",KHcy:"Х",khcy:"х",KJcy:"Ќ",kjcy:"ќ",Kopf:"𝕂",kopf:"𝕜",Kscr:"𝒦",kscr:"𝓀",lAarr:"⇚",Lacute:"Ĺ",lacute:"ĺ",laemptyv:"⦴",lagran:"ℒ",Lambda:"Λ",lambda:"λ",Lang:"⟪",lang:"⟨",langd:"⦑",langle:"⟨",lap:"⪅",Laplacetrf:"ℒ",laquo:"«",Larr:"↞",lArr:"⇐",larr:"←",larrb:"⇤",larrbfs:"⤟",larrfs:"⤝",larrhk:"↩",larrlp:"↫",larrpl:"⤹",larrsim:"⥳",larrtl:"↢",lat:"⪫",lAtail:"⤛",latail:"⤙",late:"⪭",lates:"⪭︀",lBarr:"⤎",lbarr:"⤌",lbbrk:"❲",lbrace:"{",lbrack:"[",lbrke:"⦋",lbrksld:"⦏",lbrkslu:"⦍",Lcaron:"Ľ",lcaron:"ľ",Lcedil:"Ļ",lcedil:"ļ",lceil:"⌈",lcub:"{",Lcy:"Л",lcy:"л",ldca:"⤶",ldquo:"“",ldquor:"„",ldrdhar:"⥧",ldrushar:"⥋",ldsh:"↲",lE:"≦",le:"≤",LeftAngleBracket:"⟨",LeftArrow:"←",Leftarrow:"⇐",leftarrow:"←",LeftArrowBar:"⇤",LeftArrowRightArrow:"⇆",leftarrowtail:"↢",LeftCeiling:"⌈",LeftDoubleBracket:"⟦",LeftDownTeeVector:"⥡",LeftDownVector:"⇃",LeftDownVectorBar:"⥙",LeftFloor:"⌊",leftharpoondown:"↽",leftharpoonup:"↼",leftleftarrows:"⇇",LeftRightArrow:"↔",Leftrightarrow:"⇔",leftrightarrow:"↔",leftrightarrows:"⇆",leftrightharpoons:"⇋",leftrightsquigarrow:"↭",LeftRightVector:"⥎",LeftTee:"⊣",LeftTeeArrow:"↤",LeftTeeVector:"⥚",leftthreetimes:"⋋",LeftTriangle:"⊲",LeftTriangleBar:"⧏",LeftTriangleEqual:"⊴",LeftUpDownVector:"⥑",LeftUpTeeVector:"⥠",LeftUpVector:"↿",LeftUpVectorBar:"⥘",LeftVector:"↼",LeftVectorBar:"⥒",lEg:"⪋",leg:"⋚",leq:"≤",leqq:"≦",leqslant:"⩽",les:"⩽",lescc:"⪨",lesdot:"⩿",lesdoto:"⪁",lesdotor:"⪃",lesg:"⋚︀",lesges:"⪓",lessapprox:"⪅",lessdot:"⋖",lesseqgtr:"⋚",lesseqqgtr:"⪋",LessEqualGreater:"⋚",LessFullEqual:"≦",LessGreater:"≶",lessgtr:"≶",LessLess:"⪡",lesssim:"≲",LessSlantEqual:"⩽",LessTilde:"≲",lfisht:"⥼",lfloor:"⌊",Lfr:"𝔏",lfr:"𝔩",lg:"≶",lgE:"⪑",lHar:"⥢",lhard:"↽",lharu:"↼",lharul:"⥪",lhblk:"▄",LJcy:"Љ",ljcy:"љ",Ll:"⋘",ll:"≪",llarr:"⇇",llcorner:"⌞",Lleftarrow:"⇚",llhard:"⥫",lltri:"◺",Lmidot:"Ŀ",lmidot:"ŀ",lmoust:"⎰",lmoustache:"⎰",lnap:"⪉",lnapprox:"⪉",lnE:"≨",lne:"⪇",lneq:"⪇",lneqq:"≨",lnsim:"⋦",loang:"⟬",loarr:"⇽",lobrk:"⟦",LongLeftArrow:"⟵",Longleftarrow:"⟸",longleftarrow:"⟵",LongLeftRightArrow:"⟷",Longleftrightarrow:"⟺",longleftrightarrow:"⟷",longmapsto:"⟼",LongRightArrow:"⟶",Longrightarrow:"⟹",longrightarrow:"⟶",looparrowleft:"↫",looparrowright:"↬",lopar:"⦅",Lopf:"𝕃",lopf:"𝕝",loplus:"⨭",lotimes:"⨴",lowast:"∗",lowbar:"_",LowerLeftArrow:"↙",LowerRightArrow:"↘",loz:"◊",lozenge:"◊",lozf:"⧫",lpar:"(",lparlt:"⦓",lrarr:"⇆",lrcorner:"⌟",lrhar:"⇋",lrhard:"⥭",lrm:"",lrtri:"⊿",lsaquo:"‹",Lscr:"ℒ",lscr:"𝓁",Lsh:"↰",lsh:"↰",lsim:"≲",lsime:"⪍",lsimg:"⪏",lsqb:"[",lsquo:"‘",lsquor:"‚",Lstrok:"Ł",lstrok:"ł",Lt:"≪",LT:"<",lt:"<",ltcc:"⪦",ltcir:"⩹",ltdot:"⋖",lthree:"⋋",ltimes:"⋉",ltlarr:"⥶",ltquest:"⩻",ltri:"◃",ltrie:"⊴",ltrif:"◂",ltrPar:"⦖",lurdshar:"⥊",luruhar:"⥦",lvertneqq:"≨︀",lvnE:"≨︀",macr:"¯",male:"♂",malt:"✠",maltese:"✠",Map:"⤅",map:"↦",mapsto:"↦",mapstodown:"↧",mapstoleft:"↤",mapstoup:"↥",marker:"▮",mcomma:"⨩",Mcy:"М",mcy:"м",mdash:"—",mDDot:"∺",measuredangle:"∡",MediumSpace:" ",Mellintrf:"ℳ",Mfr:"𝔐",mfr:"𝔪",mho:"℧",micro:"µ",mid:"∣",midast:"*",midcir:"⫰",middot:"·",minus:"−",minusb:"⊟",minusd:"∸",minusdu:"⨪",MinusPlus:"∓",mlcp:"⫛",mldr:"…",mnplus:"∓",models:"⊧",Mopf:"𝕄",mopf:"𝕞",mp:"∓",Mscr:"ℳ",mscr:"𝓂",mstpos:"∾",Mu:"Μ",mu:"μ",multimap:"⊸",mumap:"⊸",nabla:"∇",Nacute:"Ń",nacute:"ń",nang:"∠⃒",nap:"≉",napE:"⩰̸",napid:"≋̸",napos:"ʼn",napprox:"≉",natur:"♮",natural:"♮",naturals:"ℕ",nbsp:" ",nbump:"≎̸",nbumpe:"≏̸",ncap:"⩃",Ncaron:"Ň",ncaron:"ň",Ncedil:"Ņ",ncedil:"ņ",ncong:"≇",ncongdot:"⩭̸",ncup:"⩂",Ncy:"Н",ncy:"н",ndash:"–",ne:"≠",nearhk:"⤤",neArr:"⇗",nearr:"↗",nearrow:"↗",nedot:"≐̸",NegativeMediumSpace:"",NegativeThickSpace:"",NegativeThinSpace:"",NegativeVeryThinSpace:"",nequiv:"≢",nesear:"⤨",nesim:"≂̸",NestedGreaterGreater:"≫",NestedLessLess:"≪",NewLine:`
|
|
25
|
+
`,nexist:"∄",nexists:"∄",Nfr:"𝔑",nfr:"𝔫",ngE:"≧̸",nge:"≱",ngeq:"≱",ngeqq:"≧̸",ngeqslant:"⩾̸",nges:"⩾̸",nGg:"⋙̸",ngsim:"≵",nGt:"≫⃒",ngt:"≯",ngtr:"≯",nGtv:"≫̸",nhArr:"⇎",nharr:"↮",nhpar:"⫲",ni:"∋",nis:"⋼",nisd:"⋺",niv:"∋",NJcy:"Њ",njcy:"њ",nlArr:"⇍",nlarr:"↚",nldr:"‥",nlE:"≦̸",nle:"≰",nLeftarrow:"⇍",nleftarrow:"↚",nLeftrightarrow:"⇎",nleftrightarrow:"↮",nleq:"≰",nleqq:"≦̸",nleqslant:"⩽̸",nles:"⩽̸",nless:"≮",nLl:"⋘̸",nlsim:"≴",nLt:"≪⃒",nlt:"≮",nltri:"⋪",nltrie:"⋬",nLtv:"≪̸",nmid:"∤",NoBreak:"",NonBreakingSpace:" ",Nopf:"ℕ",nopf:"𝕟",Not:"⫬",not:"¬",NotCongruent:"≢",NotCupCap:"≭",NotDoubleVerticalBar:"∦",NotElement:"∉",NotEqual:"≠",NotEqualTilde:"≂̸",NotExists:"∄",NotGreater:"≯",NotGreaterEqual:"≱",NotGreaterFullEqual:"≧̸",NotGreaterGreater:"≫̸",NotGreaterLess:"≹",NotGreaterSlantEqual:"⩾̸",NotGreaterTilde:"≵",NotHumpDownHump:"≎̸",NotHumpEqual:"≏̸",notin:"∉",notindot:"⋵̸",notinE:"⋹̸",notinva:"∉",notinvb:"⋷",notinvc:"⋶",NotLeftTriangle:"⋪",NotLeftTriangleBar:"⧏̸",NotLeftTriangleEqual:"⋬",NotLess:"≮",NotLessEqual:"≰",NotLessGreater:"≸",NotLessLess:"≪̸",NotLessSlantEqual:"⩽̸",NotLessTilde:"≴",NotNestedGreaterGreater:"⪢̸",NotNestedLessLess:"⪡̸",notni:"∌",notniva:"∌",notnivb:"⋾",notnivc:"⋽",NotPrecedes:"⊀",NotPrecedesEqual:"⪯̸",NotPrecedesSlantEqual:"⋠",NotReverseElement:"∌",NotRightTriangle:"⋫",NotRightTriangleBar:"⧐̸",NotRightTriangleEqual:"⋭",NotSquareSubset:"⊏̸",NotSquareSubsetEqual:"⋢",NotSquareSuperset:"⊐̸",NotSquareSupersetEqual:"⋣",NotSubset:"⊂⃒",NotSubsetEqual:"⊈",NotSucceeds:"⊁",NotSucceedsEqual:"⪰̸",NotSucceedsSlantEqual:"⋡",NotSucceedsTilde:"≿̸",NotSuperset:"⊃⃒",NotSupersetEqual:"⊉",NotTilde:"≁",NotTildeEqual:"≄",NotTildeFullEqual:"≇",NotTildeTilde:"≉",NotVerticalBar:"∤",npar:"∦",nparallel:"∦",nparsl:"⫽⃥",npart:"∂̸",npolint:"⨔",npr:"⊀",nprcue:"⋠",npre:"⪯̸",nprec:"⊀",npreceq:"⪯̸",nrArr:"⇏",nrarr:"↛",nrarrc:"⤳̸",nrarrw:"↝̸",nRightarrow:"⇏",nrightarrow:"↛",nrtri:"⋫",nrtrie:"⋭",nsc:"⊁",nsccue:"⋡",nsce:"⪰̸",Nscr:"𝒩",nscr:"𝓃",nshortmid:"∤",nshortparallel:"∦",nsim:"≁",nsime:"≄",nsimeq:"≄",nsmid:"∤",nspar:"∦",nsqsube:"⋢",nsqsupe:"⋣",nsub:"⊄",nsubE:"⫅̸",nsube:"⊈",nsubset:"⊂⃒",nsubseteq:"⊈",nsubseteqq:"⫅̸",nsucc:"⊁",nsucceq:"⪰̸",nsup:"⊅",nsupE:"⫆̸",nsupe:"⊉",nsupset:"⊃⃒",nsupseteq:"⊉",nsupseteqq:"⫆̸",ntgl:"≹",Ntilde:"Ñ",ntilde:"ñ",ntlg:"≸",ntriangleleft:"⋪",ntrianglelefteq:"⋬",ntriangleright:"⋫",ntrianglerighteq:"⋭",Nu:"Ν",nu:"ν",num:"#",numero:"№",numsp:" ",nvap:"≍⃒",nVDash:"⊯",nVdash:"⊮",nvDash:"⊭",nvdash:"⊬",nvge:"≥⃒",nvgt:">⃒",nvHarr:"⤄",nvinfin:"⧞",nvlArr:"⤂",nvle:"≤⃒",nvlt:"<⃒",nvltrie:"⊴⃒",nvrArr:"⤃",nvrtrie:"⊵⃒",nvsim:"∼⃒",nwarhk:"⤣",nwArr:"⇖",nwarr:"↖",nwarrow:"↖",nwnear:"⤧",Oacute:"Ó",oacute:"ó",oast:"⊛",ocir:"⊚",Ocirc:"Ô",ocirc:"ô",Ocy:"О",ocy:"о",odash:"⊝",Odblac:"Ő",odblac:"ő",odiv:"⨸",odot:"⊙",odsold:"⦼",OElig:"Œ",oelig:"œ",ofcir:"⦿",Ofr:"𝔒",ofr:"𝔬",ogon:"˛",Ograve:"Ò",ograve:"ò",ogt:"⧁",ohbar:"⦵",ohm:"Ω",oint:"∮",olarr:"↺",olcir:"⦾",olcross:"⦻",oline:"‾",olt:"⧀",Omacr:"Ō",omacr:"ō",Omega:"Ω",omega:"ω",Omicron:"Ο",omicron:"ο",omid:"⦶",ominus:"⊖",Oopf:"𝕆",oopf:"𝕠",opar:"⦷",OpenCurlyDoubleQuote:"“",OpenCurlyQuote:"‘",operp:"⦹",oplus:"⊕",Or:"⩔",or:"∨",orarr:"↻",ord:"⩝",order:"ℴ",orderof:"ℴ",ordf:"ª",ordm:"º",origof:"⊶",oror:"⩖",orslope:"⩗",orv:"⩛",oS:"Ⓢ",Oscr:"𝒪",oscr:"ℴ",Oslash:"Ø",oslash:"ø",osol:"⊘",Otilde:"Õ",otilde:"õ",Otimes:"⨷",otimes:"⊗",otimesas:"⨶",Ouml:"Ö",ouml:"ö",ovbar:"⌽",OverBar:"‾",OverBrace:"⏞",OverBracket:"⎴",OverParenthesis:"⏜",par:"∥",para:"¶",parallel:"∥",parsim:"⫳",parsl:"⫽",part:"∂",PartialD:"∂",Pcy:"П",pcy:"п",percnt:"%",period:".",permil:"‰",perp:"⊥",pertenk:"‱",Pfr:"𝔓",pfr:"𝔭",Phi:"Φ",phi:"φ",phiv:"ϕ",phmmat:"ℳ",phone:"☎",Pi:"Π",pi:"π",pitchfork:"⋔",piv:"ϖ",planck:"ℏ",planckh:"ℎ",plankv:"ℏ",plus:"+",plusacir:"⨣",plusb:"⊞",pluscir:"⨢",plusdo:"∔",plusdu:"⨥",pluse:"⩲",PlusMinus:"±",plusmn:"±",plussim:"⨦",plustwo:"⨧",pm:"±",Poincareplane:"ℌ",pointint:"⨕",Popf:"ℙ",popf:"𝕡",pound:"£",Pr:"⪻",pr:"≺",prap:"⪷",prcue:"≼",prE:"⪳",pre:"⪯",prec:"≺",precapprox:"⪷",preccurlyeq:"≼",Precedes:"≺",PrecedesEqual:"⪯",PrecedesSlantEqual:"≼",PrecedesTilde:"≾",preceq:"⪯",precnapprox:"⪹",precneqq:"⪵",precnsim:"⋨",precsim:"≾",Prime:"″",prime:"′",primes:"ℙ",prnap:"⪹",prnE:"⪵",prnsim:"⋨",prod:"∏",Product:"∏",profalar:"⌮",profline:"⌒",profsurf:"⌓",prop:"∝",Proportion:"∷",Proportional:"∝",propto:"∝",prsim:"≾",prurel:"⊰",Pscr:"𝒫",pscr:"𝓅",Psi:"Ψ",psi:"ψ",puncsp:" ",Qfr:"𝔔",qfr:"𝔮",qint:"⨌",Qopf:"ℚ",qopf:"𝕢",qprime:"⁗",Qscr:"𝒬",qscr:"𝓆",quaternions:"ℍ",quatint:"⨖",quest:"?",questeq:"≟",QUOT:'"',quot:'"',rAarr:"⇛",race:"∽̱",Racute:"Ŕ",racute:"ŕ",radic:"√",raemptyv:"⦳",Rang:"⟫",rang:"⟩",rangd:"⦒",range:"⦥",rangle:"⟩",raquo:"»",Rarr:"↠",rArr:"⇒",rarr:"→",rarrap:"⥵",rarrb:"⇥",rarrbfs:"⤠",rarrc:"⤳",rarrfs:"⤞",rarrhk:"↪",rarrlp:"↬",rarrpl:"⥅",rarrsim:"⥴",Rarrtl:"⤖",rarrtl:"↣",rarrw:"↝",rAtail:"⤜",ratail:"⤚",ratio:"∶",rationals:"ℚ",RBarr:"⤐",rBarr:"⤏",rbarr:"⤍",rbbrk:"❳",rbrace:"}",rbrack:"]",rbrke:"⦌",rbrksld:"⦎",rbrkslu:"⦐",Rcaron:"Ř",rcaron:"ř",Rcedil:"Ŗ",rcedil:"ŗ",rceil:"⌉",rcub:"}",Rcy:"Р",rcy:"р",rdca:"⤷",rdldhar:"⥩",rdquo:"”",rdquor:"”",rdsh:"↳",Re:"ℜ",real:"ℜ",realine:"ℛ",realpart:"ℜ",reals:"ℝ",rect:"▭",REG:"®",reg:"®",ReverseElement:"∋",ReverseEquilibrium:"⇋",ReverseUpEquilibrium:"⥯",rfisht:"⥽",rfloor:"⌋",Rfr:"ℜ",rfr:"𝔯",rHar:"⥤",rhard:"⇁",rharu:"⇀",rharul:"⥬",Rho:"Ρ",rho:"ρ",rhov:"ϱ",RightAngleBracket:"⟩",RightArrow:"→",Rightarrow:"⇒",rightarrow:"→",RightArrowBar:"⇥",RightArrowLeftArrow:"⇄",rightarrowtail:"↣",RightCeiling:"⌉",RightDoubleBracket:"⟧",RightDownTeeVector:"⥝",RightDownVector:"⇂",RightDownVectorBar:"⥕",RightFloor:"⌋",rightharpoondown:"⇁",rightharpoonup:"⇀",rightleftarrows:"⇄",rightleftharpoons:"⇌",rightrightarrows:"⇉",rightsquigarrow:"↝",RightTee:"⊢",RightTeeArrow:"↦",RightTeeVector:"⥛",rightthreetimes:"⋌",RightTriangle:"⊳",RightTriangleBar:"⧐",RightTriangleEqual:"⊵",RightUpDownVector:"⥏",RightUpTeeVector:"⥜",RightUpVector:"↾",RightUpVectorBar:"⥔",RightVector:"⇀",RightVectorBar:"⥓",ring:"˚",risingdotseq:"≓",rlarr:"⇄",rlhar:"⇌",rlm:"",rmoust:"⎱",rmoustache:"⎱",rnmid:"⫮",roang:"⟭",roarr:"⇾",robrk:"⟧",ropar:"⦆",Ropf:"ℝ",ropf:"𝕣",roplus:"⨮",rotimes:"⨵",RoundImplies:"⥰",rpar:")",rpargt:"⦔",rppolint:"⨒",rrarr:"⇉",Rrightarrow:"⇛",rsaquo:"›",Rscr:"ℛ",rscr:"𝓇",Rsh:"↱",rsh:"↱",rsqb:"]",rsquo:"’",rsquor:"’",rthree:"⋌",rtimes:"⋊",rtri:"▹",rtrie:"⊵",rtrif:"▸",rtriltri:"⧎",RuleDelayed:"⧴",ruluhar:"⥨",rx:"℞",Sacute:"Ś",sacute:"ś",sbquo:"‚",Sc:"⪼",sc:"≻",scap:"⪸",Scaron:"Š",scaron:"š",sccue:"≽",scE:"⪴",sce:"⪰",Scedil:"Ş",scedil:"ş",Scirc:"Ŝ",scirc:"ŝ",scnap:"⪺",scnE:"⪶",scnsim:"⋩",scpolint:"⨓",scsim:"≿",Scy:"С",scy:"с",sdot:"⋅",sdotb:"⊡",sdote:"⩦",searhk:"⤥",seArr:"⇘",searr:"↘",searrow:"↘",sect:"§",semi:";",seswar:"⤩",setminus:"∖",setmn:"∖",sext:"✶",Sfr:"𝔖",sfr:"𝔰",sfrown:"⌢",sharp:"♯",SHCHcy:"Щ",shchcy:"щ",SHcy:"Ш",shcy:"ш",ShortDownArrow:"↓",ShortLeftArrow:"←",shortmid:"∣",shortparallel:"∥",ShortRightArrow:"→",ShortUpArrow:"↑",shy:"",Sigma:"Σ",sigma:"σ",sigmaf:"ς",sigmav:"ς",sim:"∼",simdot:"⩪",sime:"≃",simeq:"≃",simg:"⪞",simgE:"⪠",siml:"⪝",simlE:"⪟",simne:"≆",simplus:"⨤",simrarr:"⥲",slarr:"←",SmallCircle:"∘",smallsetminus:"∖",smashp:"⨳",smeparsl:"⧤",smid:"∣",smile:"⌣",smt:"⪪",smte:"⪬",smtes:"⪬︀",SOFTcy:"Ь",softcy:"ь",sol:"/",solb:"⧄",solbar:"⌿",Sopf:"𝕊",sopf:"𝕤",spades:"♠",spadesuit:"♠",spar:"∥",sqcap:"⊓",sqcaps:"⊓︀",sqcup:"⊔",sqcups:"⊔︀",Sqrt:"√",sqsub:"⊏",sqsube:"⊑",sqsubset:"⊏",sqsubseteq:"⊑",sqsup:"⊐",sqsupe:"⊒",sqsupset:"⊐",sqsupseteq:"⊒",squ:"□",Square:"□",square:"□",SquareIntersection:"⊓",SquareSubset:"⊏",SquareSubsetEqual:"⊑",SquareSuperset:"⊐",SquareSupersetEqual:"⊒",SquareUnion:"⊔",squarf:"▪",squf:"▪",srarr:"→",Sscr:"𝒮",sscr:"𝓈",ssetmn:"∖",ssmile:"⌣",sstarf:"⋆",Star:"⋆",star:"☆",starf:"★",straightepsilon:"ϵ",straightphi:"ϕ",strns:"¯",Sub:"⋐",sub:"⊂",subdot:"⪽",subE:"⫅",sube:"⊆",subedot:"⫃",submult:"⫁",subnE:"⫋",subne:"⊊",subplus:"⪿",subrarr:"⥹",Subset:"⋐",subset:"⊂",subseteq:"⊆",subseteqq:"⫅",SubsetEqual:"⊆",subsetneq:"⊊",subsetneqq:"⫋",subsim:"⫇",subsub:"⫕",subsup:"⫓",succ:"≻",succapprox:"⪸",succcurlyeq:"≽",Succeeds:"≻",SucceedsEqual:"⪰",SucceedsSlantEqual:"≽",SucceedsTilde:"≿",succeq:"⪰",succnapprox:"⪺",succneqq:"⪶",succnsim:"⋩",succsim:"≿",SuchThat:"∋",Sum:"∑",sum:"∑",sung:"♪",Sup:"⋑",sup:"⊃",sup1:"¹",sup2:"²",sup3:"³",supdot:"⪾",supdsub:"⫘",supE:"⫆",supe:"⊇",supedot:"⫄",Superset:"⊃",SupersetEqual:"⊇",suphsol:"⟉",suphsub:"⫗",suplarr:"⥻",supmult:"⫂",supnE:"⫌",supne:"⊋",supplus:"⫀",Supset:"⋑",supset:"⊃",supseteq:"⊇",supseteqq:"⫆",supsetneq:"⊋",supsetneqq:"⫌",supsim:"⫈",supsub:"⫔",supsup:"⫖",swarhk:"⤦",swArr:"⇙",swarr:"↙",swarrow:"↙",swnwar:"⤪",szlig:"ß",Tab:" ",target:"⌖",Tau:"Τ",tau:"τ",tbrk:"⎴",Tcaron:"Ť",tcaron:"ť",Tcedil:"Ţ",tcedil:"ţ",Tcy:"Т",tcy:"т",tdot:"⃛",telrec:"⌕",Tfr:"𝔗",tfr:"𝔱",there4:"∴",Therefore:"∴",therefore:"∴",Theta:"Θ",theta:"θ",thetasym:"ϑ",thetav:"ϑ",thickapprox:"≈",thicksim:"∼",ThickSpace:" ",thinsp:" ",ThinSpace:" ",thkap:"≈",thksim:"∼",THORN:"Þ",thorn:"þ",Tilde:"∼",tilde:"˜",TildeEqual:"≃",TildeFullEqual:"≅",TildeTilde:"≈",times:"×",timesb:"⊠",timesbar:"⨱",timesd:"⨰",tint:"∭",toea:"⤨",top:"⊤",topbot:"⌶",topcir:"⫱",Topf:"𝕋",topf:"𝕥",topfork:"⫚",tosa:"⤩",tprime:"‴",TRADE:"™",trade:"™",triangle:"▵",triangledown:"▿",triangleleft:"◃",trianglelefteq:"⊴",triangleq:"≜",triangleright:"▹",trianglerighteq:"⊵",tridot:"◬",trie:"≜",triminus:"⨺",TripleDot:"⃛",triplus:"⨹",trisb:"⧍",tritime:"⨻",trpezium:"⏢",Tscr:"𝒯",tscr:"𝓉",TScy:"Ц",tscy:"ц",TSHcy:"Ћ",tshcy:"ћ",Tstrok:"Ŧ",tstrok:"ŧ",twixt:"≬",twoheadleftarrow:"↞",twoheadrightarrow:"↠",Uacute:"Ú",uacute:"ú",Uarr:"↟",uArr:"⇑",uarr:"↑",Uarrocir:"⥉",Ubrcy:"Ў",ubrcy:"ў",Ubreve:"Ŭ",ubreve:"ŭ",Ucirc:"Û",ucirc:"û",Ucy:"У",ucy:"у",udarr:"⇅",Udblac:"Ű",udblac:"ű",udhar:"⥮",ufisht:"⥾",Ufr:"𝔘",ufr:"𝔲",Ugrave:"Ù",ugrave:"ù",uHar:"⥣",uharl:"↿",uharr:"↾",uhblk:"▀",ulcorn:"⌜",ulcorner:"⌜",ulcrop:"⌏",ultri:"◸",Umacr:"Ū",umacr:"ū",uml:"¨",UnderBar:"_",UnderBrace:"⏟",UnderBracket:"⎵",UnderParenthesis:"⏝",Union:"⋃",UnionPlus:"⊎",Uogon:"Ų",uogon:"ų",Uopf:"𝕌",uopf:"𝕦",UpArrow:"↑",Uparrow:"⇑",uparrow:"↑",UpArrowBar:"⤒",UpArrowDownArrow:"⇅",UpDownArrow:"↕",Updownarrow:"⇕",updownarrow:"↕",UpEquilibrium:"⥮",upharpoonleft:"↿",upharpoonright:"↾",uplus:"⊎",UpperLeftArrow:"↖",UpperRightArrow:"↗",Upsi:"ϒ",upsi:"υ",upsih:"ϒ",Upsilon:"Υ",upsilon:"υ",UpTee:"⊥",UpTeeArrow:"↥",upuparrows:"⇈",urcorn:"⌝",urcorner:"⌝",urcrop:"⌎",Uring:"Ů",uring:"ů",urtri:"◹",Uscr:"𝒰",uscr:"𝓊",utdot:"⋰",Utilde:"Ũ",utilde:"ũ",utri:"▵",utrif:"▴",uuarr:"⇈",Uuml:"Ü",uuml:"ü",uwangle:"⦧",vangrt:"⦜",varepsilon:"ϵ",varkappa:"ϰ",varnothing:"∅",varphi:"ϕ",varpi:"ϖ",varpropto:"∝",vArr:"⇕",varr:"↕",varrho:"ϱ",varsigma:"ς",varsubsetneq:"⊊︀",varsubsetneqq:"⫋︀",varsupsetneq:"⊋︀",varsupsetneqq:"⫌︀",vartheta:"ϑ",vartriangleleft:"⊲",vartriangleright:"⊳",Vbar:"⫫",vBar:"⫨",vBarv:"⫩",Vcy:"В",vcy:"в",VDash:"⊫",Vdash:"⊩",vDash:"⊨",vdash:"⊢",Vdashl:"⫦",Vee:"⋁",vee:"∨",veebar:"⊻",veeeq:"≚",vellip:"⋮",Verbar:"‖",verbar:"|",Vert:"‖",vert:"|",VerticalBar:"∣",VerticalLine:"|",VerticalSeparator:"❘",VerticalTilde:"≀",VeryThinSpace:" ",Vfr:"𝔙",vfr:"𝔳",vltri:"⊲",vnsub:"⊂⃒",vnsup:"⊃⃒",Vopf:"𝕍",vopf:"𝕧",vprop:"∝",vrtri:"⊳",Vscr:"𝒱",vscr:"𝓋",vsubnE:"⫋︀",vsubne:"⊊︀",vsupnE:"⫌︀",vsupne:"⊋︀",Vvdash:"⊪",vzigzag:"⦚",Wcirc:"Ŵ",wcirc:"ŵ",wedbar:"⩟",Wedge:"⋀",wedge:"∧",wedgeq:"≙",weierp:"℘",Wfr:"𝔚",wfr:"𝔴",Wopf:"𝕎",wopf:"𝕨",wp:"℘",wr:"≀",wreath:"≀",Wscr:"𝒲",wscr:"𝓌",xcap:"⋂",xcirc:"◯",xcup:"⋃",xdtri:"▽",Xfr:"𝔛",xfr:"𝔵",xhArr:"⟺",xharr:"⟷",Xi:"Ξ",xi:"ξ",xlArr:"⟸",xlarr:"⟵",xmap:"⟼",xnis:"⋻",xodot:"⨀",Xopf:"𝕏",xopf:"𝕩",xoplus:"⨁",xotime:"⨂",xrArr:"⟹",xrarr:"⟶",Xscr:"𝒳",xscr:"𝓍",xsqcup:"⨆",xuplus:"⨄",xutri:"△",xvee:"⋁",xwedge:"⋀",Yacute:"Ý",yacute:"ý",YAcy:"Я",yacy:"я",Ycirc:"Ŷ",ycirc:"ŷ",Ycy:"Ы",ycy:"ы",yen:"¥",Yfr:"𝔜",yfr:"𝔶",YIcy:"Ї",yicy:"ї",Yopf:"𝕐",yopf:"𝕪",Yscr:"𝒴",yscr:"𝓎",YUcy:"Ю",yucy:"ю",Yuml:"Ÿ",yuml:"ÿ",Zacute:"Ź",zacute:"ź",Zcaron:"Ž",zcaron:"ž",Zcy:"З",zcy:"з",Zdot:"Ż",zdot:"ż",zeetrf:"ℨ",ZeroWidthSpace:"",Zeta:"Ζ",zeta:"ζ",Zfr:"ℨ",zfr:"𝔷",ZHcy:"Ж",zhcy:"ж",zigrarr:"⇝",Zopf:"ℤ",zopf:"𝕫",Zscr:"𝒵",zscr:"𝓏",zwj:"",zwnj:""}),r.entityMap=r.HTML_ENTITIES})(Oo)),Oo}var zs={},Xc;function Dv(){if(Xc)return zs;Xc=1;var r=Ia().NAMESPACE,e=/[A-Z_a-z\xC0-\xD6\xD8-\xF6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]/,i=new RegExp("[\\-\\.0-9"+e.source.slice(1,-1)+"\\u00B7\\u0300-\\u036F\\u203F-\\u2040]"),n=new RegExp("^"+e.source+i.source+"*(?::"+e.source+i.source+"*)?$"),s=0,a=1,o=2,l=3,c=4,d=5,m=6,g=7;function E(_,V){this.message=_,this.locator=V,Error.captureStackTrace&&Error.captureStackTrace(this,E)}E.prototype=new Error,E.prototype.name=E.name;function C(){}C.prototype={parse:function(_,V,I){var z=this.domBuilder;z.startDocument(),O(V,V={}),w(_,V,I,z,this.errorHandler),z.endDocument()}};function w(_,V,I,z,M){function U(Ae){if(Ae>65535){Ae-=65536;var xe=55296+(Ae>>10),se=56320+(Ae&1023);return String.fromCharCode(xe,se)}else return String.fromCharCode(Ae)}function P(Ae){var xe=Ae.slice(1,-1);return Object.hasOwnProperty.call(I,xe)?I[xe]:xe.charAt(0)==="#"?U(parseInt(xe.substr(1).replace("x","0x"))):(M.error("entity not found:"+Ae),Ae)}function te(Ae){if(Ae>ve){var xe=_.substring(ve,Ae).replace(/&#?\w+;/g,P);Q&&j(ve),z.characters(xe,0,Ae-ve),ve=Ae}}function j(Ae,xe){for(;Ae>=ee&&(xe=J.exec(_));)G=xe.index,ee=G+xe[0].length,Q.lineNumber++;Q.columnNumber=Ae-G+1}for(var G=0,ee=0,J=/.*(?:\r\n?|\n)|.*$/g,Q=z.locator,X=[{currentNSMap:V}],ne={},ve=0;;){try{var W=_.indexOf("<",ve);if(W<0){if(!_.substr(ve).match(/^\s*$/)){var he=z.doc,ce=he.createTextNode(_.substr(ve));he.appendChild(ce),z.currentElement=ce}return}switch(W>ve&&te(W),_.charAt(W+1)){case"/":var qe=_.indexOf(">",W+3),Ee=_.substring(W+2,qe).replace(/[ \t\n\r]+$/g,""),fe=X.pop();qe<0?(Ee=_.substring(W+2).replace(/[\s<].*/,""),M.error("end tag name: "+Ee+" is not complete:"+fe.tagName),qe=W+1+Ee.length):Ee.match(/\s</)&&(Ee=Ee.replace(/[\s<].*/,""),M.error("end tag name: "+Ee+" maybe not complete"),qe=W+1+Ee.length);var ke=fe.localNSMap,Re=fe.tagName==Ee,de=Re||fe.tagName&&fe.tagName.toLowerCase()==Ee.toLowerCase();if(de){if(z.endElement(fe.uri,fe.localName,Ee),ke)for(var Te in ke)Object.prototype.hasOwnProperty.call(ke,Te)&&z.endPrefixMapping(Te);Re||M.fatalError("end tag name: "+Ee+" is not match the current start tagName:"+fe.tagName)}else X.push(fe);qe++;break;case"?":Q&&j(W),qe=R(_,W,z);break;case"!":Q&&j(W),qe=q(_,W,z,M);break;default:Q&&j(W);var De=new x,We=X[X.length-1].currentNSMap,qe=b(_,W,De,We,P,M),ct=De.length;if(!De.closed&&D(_,qe,De.tagName,ne)&&(De.closed=!0,I.nbsp||M.warning("unclosed xml attribute")),Q&&ct){for(var Je=v(Q,{}),Me=0;Me<ct;Me++){var Ie=De[Me];j(Ie.offset),Ie.locator=v(Q,{})}z.locator=Je,k(De,z,We)&&X.push(De),z.locator=Q}else k(De,z,We)&&X.push(De);r.isHTML(De.uri)&&!De.closed?qe=S(_,qe,De.tagName,P,z):qe++}}catch(Ae){if(Ae instanceof E)throw Ae;M.error("element parse error: "+Ae),qe=-1}qe>ve?ve=qe:te(Math.max(W,ve)+1)}}function v(_,V){return V.lineNumber=_.lineNumber,V.columnNumber=_.columnNumber,V}function b(_,V,I,z,M,U){function P(Q,X,ne){I.attributeNames.hasOwnProperty(Q)&&U.fatalError("Attribute "+Q+" redefined"),I.addValue(Q,X.replace(/[\t\n\r]/g," ").replace(/&#?\w+;/g,M),ne)}for(var te,j,G=++V,ee=s;;){var J=_.charAt(G);switch(J){case"=":if(ee===a)te=_.slice(V,G),ee=l;else if(ee===o)ee=l;else throw new Error("attribute equal must after attrName");break;case"'":case'"':if(ee===l||ee===a)if(ee===a&&(U.warning('attribute value must after "="'),te=_.slice(V,G)),V=G+1,G=_.indexOf(J,V),G>0)j=_.slice(V,G),P(te,j,V-1),ee=d;else throw new Error("attribute value no end '"+J+"' match");else if(ee==c)j=_.slice(V,G),P(te,j,V),U.warning('attribute "'+te+'" missed start quot('+J+")!!"),V=G+1,ee=d;else throw new Error('attribute value must after "="');break;case"/":switch(ee){case s:I.setTagName(_.slice(V,G));case d:case m:case g:ee=g,I.closed=!0;case c:case a:break;case o:I.closed=!0;break;default:throw new Error("attribute invalid close char('/')")}break;case"":return U.error("unexpected end of input"),ee==s&&I.setTagName(_.slice(V,G)),G;case">":switch(ee){case s:I.setTagName(_.slice(V,G));case d:case m:case g:break;case c:case a:j=_.slice(V,G),j.slice(-1)==="/"&&(I.closed=!0,j=j.slice(0,-1));case o:ee===o&&(j=te),ee==c?(U.warning('attribute "'+j+'" missed quot(")!'),P(te,j,V)):((!r.isHTML(z[""])||!j.match(/^(?:disabled|checked|selected)$/i))&&U.warning('attribute "'+j+'" missed value!! "'+j+'" instead!!'),P(j,j,V));break;case l:throw new Error("attribute value missed!!")}return G;case"":J=" ";default:if(J<=" ")switch(ee){case s:I.setTagName(_.slice(V,G)),ee=m;break;case a:te=_.slice(V,G),ee=o;break;case c:var j=_.slice(V,G);U.warning('attribute "'+j+'" missed quot(")!!'),P(te,j,V);case d:ee=m;break}else switch(ee){case o:I.tagName,(!r.isHTML(z[""])||!te.match(/^(?:disabled|checked|selected)$/i))&&U.warning('attribute "'+te+'" missed value!! "'+te+'" instead2!!'),P(te,te,V),V=G,ee=a;break;case d:U.warning('attribute space is required"'+te+'"!!');case m:ee=a,V=G;break;case l:ee=c,V=G;break;case g:throw new Error("elements closed character '/' and '>' must be connected to")}}G++}}function k(_,V,I){for(var z=_.tagName,M=null,J=_.length;J--;){var U=_[J],P=U.qName,te=U.value,Q=P.indexOf(":");if(Q>0)var j=U.prefix=P.slice(0,Q),G=P.slice(Q+1),ee=j==="xmlns"&&G;else G=P,j=null,ee=P==="xmlns"&&"";U.localName=G,ee!==!1&&(M==null&&(M={},O(I,I={})),I[ee]=M[ee]=te,U.uri=r.XMLNS,V.startPrefixMapping(ee,te))}for(var J=_.length;J--;){U=_[J];var j=U.prefix;j&&(j==="xml"&&(U.uri=r.XML),j!=="xmlns"&&(U.uri=I[j||""]))}var Q=z.indexOf(":");Q>0?(j=_.prefix=z.slice(0,Q),G=_.localName=z.slice(Q+1)):(j=null,G=_.localName=z);var X=_.uri=I[j||""];if(V.startElement(X,G,z,_),_.closed){if(V.endElement(X,G,z),M)for(j in M)Object.prototype.hasOwnProperty.call(M,j)&&V.endPrefixMapping(j)}else return _.currentNSMap=I,_.localNSMap=M,!0}function S(_,V,I,z,M){if(/^(?:script|textarea)$/i.test(I)){var U=_.indexOf("</"+I+">",V),P=_.substring(V+1,U);if(/[&<]/.test(P))return/^script$/i.test(I)?(M.characters(P,0,P.length),U):(P=P.replace(/&#?\w+;/g,z),M.characters(P,0,P.length),U)}return V+1}function D(_,V,I,z){var M=z[I];return M==null&&(M=_.lastIndexOf("</"+I+">"),M<V&&(M=_.lastIndexOf("</"+I)),z[I]=M),M<V}function O(_,V){for(var I in _)Object.prototype.hasOwnProperty.call(_,I)&&(V[I]=_[I])}function q(_,V,I,z){var M=_.charAt(V+2);switch(M){case"-":if(_.charAt(V+3)==="-"){var U=_.indexOf("-->",V+4);return U>V?(I.comment(_,V+4,U-V-4),U+3):(z.error("Unclosed comment"),-1)}else return-1;default:if(_.substr(V+3,6)=="CDATA["){var U=_.indexOf("]]>",V+9);return I.startCDATA(),I.characters(_,V+9,U-V-9),I.endCDATA(),U+3}var P=L(_,V),te=P.length;if(te>1&&/!doctype/i.test(P[0][0])){var j=P[1][0],G=!1,ee=!1;te>3&&(/^public$/i.test(P[2][0])?(G=P[3][0],ee=te>4&&P[4][0]):/^system$/i.test(P[2][0])&&(ee=P[3][0]));var J=P[te-1];return I.startDTD(j,G,ee),I.endDTD(),J.index+J[0].length}}return-1}function R(_,V,I){var z=_.indexOf("?>",V);if(z){var M=_.substring(V,z).match(/^<\?(\S*)\s*([\s\S]*?)$/);return M?(M[0].length,I.processingInstruction(M[1],M[2]),z+2):-1}return-1}function x(){this.attributeNames={}}x.prototype={setTagName:function(_){if(!n.test(_))throw new Error("invalid tagName:"+_);this.tagName=_},addValue:function(_,V,I){if(!n.test(_))throw new Error("invalid attribute:"+_);this.attributeNames[_]=this.length,this[this.length++]={qName:_,value:V,offset:I}},length:0,getLocalName:function(_){return this[_].localName},getLocator:function(_){return this[_].locator},getQName:function(_){return this[_].qName},getURI:function(_){return this[_].uri},getValue:function(_){return this[_].value}};function L(_,V){var I,z=[],M=/'[^']+'|"[^"]+"|[^\s<>\/=]+=?|(\/?\s*>|<)/g;for(M.lastIndex=V,M.exec(_);I=M.exec(_);)if(z.push(I),I[1])return z}return zs.XMLReader=C,zs.ParseError=E,zs}var Gc;function Bv(){if(Gc)return Ur;Gc=1;var r=Ia(),e=Q0(),i=wv(),n=Dv(),s=e.DOMImplementation,a=r.NAMESPACE,o=n.ParseError,l=n.XMLReader;function c(b){return b.replace(/\r[\n\u0085]/g,`
|
|
26
|
+
`).replace(/[\r\u0085\u2028]/g,`
|
|
27
|
+
`)}function d(b){this.options=b||{locator:{}}}d.prototype.parseFromString=function(b,k){var S=this.options,D=new l,O=S.domBuilder||new g,q=S.errorHandler,R=S.locator,x=S.xmlns||{},L=/\/x?html?$/.test(k),_=L?i.HTML_ENTITIES:i.XML_ENTITIES;R&&O.setDocumentLocator(R),D.errorHandler=m(q,O,R),D.domBuilder=S.domBuilder||O,L&&(x[""]=a.HTML),x.xml=x.xml||a.XML;var V=S.normalizeLineEndings||c;return b&&typeof b=="string"?D.parse(V(b),x,_):D.errorHandler.error("invalid doc source"),O.doc};function m(b,k,S){if(!b){if(k instanceof g)return k;b=k}var D={},O=b instanceof Function;S=S||{};function q(R){var x=b[R];!x&&O&&(x=b.length==2?function(L){b(R,L)}:b),D[R]=x&&function(L){x("[xmldom "+R+"] "+L+C(S))}||function(){}}return q("warning"),q("error"),q("fatalError"),D}function g(){this.cdata=!1}function E(b,k){k.lineNumber=b.lineNumber,k.columnNumber=b.columnNumber}g.prototype={startDocument:function(){this.doc=new s().createDocument(null,null,null),this.locator&&(this.doc.documentURI=this.locator.systemId)},startElement:function(b,k,S,D){var O=this.doc,q=O.createElementNS(b,S||k),R=D.length;v(this,q),this.currentElement=q,this.locator&&E(this.locator,q);for(var x=0;x<R;x++){var b=D.getURI(x),L=D.getValue(x),S=D.getQName(x),_=O.createAttributeNS(b,S);this.locator&&E(D.getLocator(x),_),_.value=_.nodeValue=L,q.setAttributeNode(_)}},endElement:function(b,k,S){var D=this.currentElement;D.tagName,this.currentElement=D.parentNode},startPrefixMapping:function(b,k){},endPrefixMapping:function(b){},processingInstruction:function(b,k){var S=this.doc.createProcessingInstruction(b,k);this.locator&&E(this.locator,S),v(this,S)},ignorableWhitespace:function(b,k,S){},characters:function(b,k,S){if(b=w.apply(this,arguments),b){if(this.cdata)var D=this.doc.createCDATASection(b);else var D=this.doc.createTextNode(b);this.currentElement?this.currentElement.appendChild(D):/^\s*$/.test(b)&&this.doc.appendChild(D),this.locator&&E(this.locator,D)}},skippedEntity:function(b){},endDocument:function(){this.doc.normalize()},setDocumentLocator:function(b){(this.locator=b)&&(b.lineNumber=0)},comment:function(b,k,S){b=w.apply(this,arguments);var D=this.doc.createComment(b);this.locator&&E(this.locator,D),v(this,D)},startCDATA:function(){this.cdata=!0},endCDATA:function(){this.cdata=!1},startDTD:function(b,k,S){var D=this.doc.implementation;if(D&&D.createDocumentType){var O=D.createDocumentType(b,k,S);this.locator&&E(this.locator,O),v(this,O),this.doc.doctype=O}},warning:function(b){console.warn("[xmldom warning] "+b,C(this.locator))},error:function(b){console.error("[xmldom error] "+b,C(this.locator))},fatalError:function(b){throw new o(b,this.locator)}};function C(b){if(b)return`
|
|
28
|
+
@`+(b.systemId||"")+"#[line:"+b.lineNumber+",col:"+b.columnNumber+"]"}function w(b,k,S){return typeof b=="string"?b.substr(k,S):b.length>=k+S||k?new java.lang.String(b,k,S)+"":b}"endDTD,startEntity,endEntity,attributeDecl,elementDecl,externalEntityDecl,internalEntityDecl,resolveEntity,getExternalSubset,notationDecl,unparsedEntityDecl".replace(/\w+/g,function(b){g.prototype[b]=function(){return null}});function v(b,k){b.currentElement?b.currentElement.appendChild(k):b.doc.appendChild(k)}return Ur.__DOMHandler=g,Ur.normalizeLineEndings=c,Ur.DOMParser=d,Ur}var Qc;function Vv(){if(Qc)return Fr;Qc=1;var r=Q0();return Fr.DOMImplementation=r.DOMImplementation,Fr.XMLSerializer=r.XMLSerializer,Fr.DOMParser=Bv().DOMParser,Fr}var Iv=Vv();/*! @name mpd-parser @version 1.3.1 @license Apache-2.0 */const Yc=r=>!!r&&typeof r=="object",Lt=(...r)=>r.reduce((e,i)=>(typeof i!="object"||Object.keys(i).forEach(n=>{Array.isArray(e[n])&&Array.isArray(i[n])?e[n]=e[n].concat(i[n]):Yc(e[n])&&Yc(i[n])?e[n]=Lt(e[n],i[n]):e[n]=i[n]}),e),{}),Y0=r=>Object.keys(r).map(e=>r[e]),Nv=(r,e)=>{const i=[];for(let n=r;n<e;n++)i.push(n);return i},sr=r=>r.reduce((e,i)=>e.concat(i),[]),K0=r=>{if(!r.length)return[];const e=[];for(let i=0;i<r.length;i++)e.push(r[i]);return e},Ov=(r,e)=>r.reduce((i,n,s)=>(n[e]&&i.push(s),i),[]),Pv=(r,e)=>Y0(r.reduce((i,n)=>(n.forEach(s=>{i[e(s)]=s}),i),{}));var ar={INVALID_NUMBER_OF_PERIOD:"INVALID_NUMBER_OF_PERIOD",DASH_EMPTY_MANIFEST:"DASH_EMPTY_MANIFEST",DASH_INVALID_XML:"DASH_INVALID_XML",NO_BASE_URL:"NO_BASE_URL",SEGMENT_TIME_UNSPECIFIED:"SEGMENT_TIME_UNSPECIFIED",UNSUPPORTED_UTC_TIMING_SCHEME:"UNSUPPORTED_UTC_TIMING_SCHEME"};const rs=({baseUrl:r="",source:e="",range:i="",indexRange:n=""})=>{const s={uri:e,resolvedUri:Va(r||"",e)};if(i||n){const o=(i||n).split("-");let l=K.BigInt?K.BigInt(o[0]):parseInt(o[0],10),c=K.BigInt?K.BigInt(o[1]):parseInt(o[1],10);l<Number.MAX_SAFE_INTEGER&&typeof l=="bigint"&&(l=Number(l)),c<Number.MAX_SAFE_INTEGER&&typeof c=="bigint"&&(c=Number(c));let d;typeof c=="bigint"||typeof l=="bigint"?d=K.BigInt(c)-K.BigInt(l)+K.BigInt(1):d=c-l+1,typeof d=="bigint"&&d<Number.MAX_SAFE_INTEGER&&(d=Number(d)),s.byterange={length:d,offset:l}}return s},Mv=r=>{let e;return typeof r.offset=="bigint"||typeof r.length=="bigint"?e=K.BigInt(r.offset)+K.BigInt(r.length)-K.BigInt(1):e=r.offset+r.length-1,`${r.offset}-${e}`},Kc=r=>(r&&typeof r!="number"&&(r=parseInt(r,10)),isNaN(r)?null:r),Lv={static(r){const{duration:e,timescale:i=1,sourceDuration:n,periodDuration:s}=r,a=Kc(r.endNumber),o=e/i;return typeof a=="number"?{start:0,end:a}:typeof s=="number"?{start:0,end:s/o}:{start:0,end:n/o}},dynamic(r){const{NOW:e,clientOffset:i,availabilityStartTime:n,timescale:s=1,duration:a,periodStart:o=0,minimumUpdatePeriod:l=0,timeShiftBufferDepth:c=1/0}=r,d=Kc(r.endNumber),m=(e+i)/1e3,g=n+o,C=m+l-g,w=Math.ceil(C*s/a),v=Math.floor((m-g-c)*s/a),b=Math.floor((m-g)*s/a);return{start:Math.max(0,v),end:typeof d=="number"?d:Math.min(w,b)}}},Rv=r=>e=>{const{duration:i,timescale:n=1,periodStart:s,startNumber:a=1}=r;return{number:a+e,duration:i/n,timeline:s,time:e*i}},Rl=r=>{const{type:e,duration:i,timescale:n=1,periodDuration:s,sourceDuration:a}=r,{start:o,end:l}=Lv[e](r),c=Nv(o,l).map(Rv(r));if(e==="static"){const d=c.length-1,m=typeof s=="number"?s:a;c[d].duration=m-i/n*d}return c},W0=r=>{const{baseUrl:e,initialization:i={},sourceDuration:n,indexRange:s="",periodStart:a,presentationTime:o,number:l=0,duration:c}=r;if(!e)throw new Error(ar.NO_BASE_URL);const d=rs({baseUrl:e,source:i.sourceURL,range:i.range}),m=rs({baseUrl:e,source:e,indexRange:s});if(m.map=d,c){const g=Rl(r);g.length&&(m.duration=g[0].duration,m.timeline=g[0].timeline)}else n&&(m.duration=n,m.timeline=a);return m.presentationTime=o||a,m.number=l,[m]},ql=(r,e,i)=>{const n=r.sidx.map?r.sidx.map:null,s=r.sidx.duration,a=r.timeline||0,o=r.sidx.byterange,l=o.offset+o.length,c=e.timescale,d=e.references.filter(b=>b.referenceType!==1),m=[],g=r.endList?"static":"dynamic",E=r.sidx.timeline;let C=E,w=r.mediaSequence||0,v;typeof e.firstOffset=="bigint"?v=K.BigInt(l)+e.firstOffset:v=l+e.firstOffset;for(let b=0;b<d.length;b++){const k=e.references[b],S=k.referencedSize,D=k.subsegmentDuration;let O;typeof v=="bigint"?O=v+K.BigInt(S)-K.BigInt(1):O=v+S-1;const q=`${v}-${O}`,x=W0({baseUrl:i,timescale:c,timeline:a,periodStart:E,presentationTime:C,number:w,duration:D,sourceDuration:s,indexRange:q,type:g})[0];n&&(x.map=n),m.push(x),typeof v=="bigint"?v+=K.BigInt(S):v+=S,C+=D/c,w++}return r.segments=m,r},qv=["AUDIO","SUBTITLES"],Fv=1/60,J0=r=>Pv(r,({timeline:e})=>e).sort((e,i)=>e.timeline>i.timeline?1:-1),Uv=(r,e)=>{for(let i=0;i<r.length;i++)if(r[i].attributes.NAME===e)return r[i];return null},Wc=r=>{let e=[];return Sv(r,qv,(i,n,s,a)=>{e=e.concat(i.playlists||[])}),e},Jc=({playlist:r,mediaSequence:e})=>{r.mediaSequence=e,r.segments.forEach((i,n)=>{i.number=r.mediaSequence+n})},zv=({oldPlaylists:r,newPlaylists:e,timelineStarts:i})=>{e.forEach(n=>{n.discontinuitySequence=i.findIndex(function({timeline:c}){return c===n.timeline});const s=Uv(r,n.attributes.NAME);if(!s||n.sidx)return;const a=n.segments[0],o=s.segments.findIndex(function(c){return Math.abs(c.presentationTime-a.presentationTime)<Fv});if(o===-1){Jc({playlist:n,mediaSequence:s.mediaSequence+s.segments.length}),n.segments[0].discontinuity=!0,n.discontinuityStarts.unshift(0),(!s.segments.length&&n.timeline>s.timeline||s.segments.length&&n.timeline>s.segments[s.segments.length-1].timeline)&&n.discontinuitySequence--;return}s.segments[o].discontinuity&&!a.discontinuity&&(a.discontinuity=!0,n.discontinuityStarts.unshift(0),n.discontinuitySequence--),Jc({playlist:n,mediaSequence:s.segments[o].number})})},Hv=({oldManifest:r,newManifest:e})=>{const i=r.playlists.concat(Wc(r)),n=e.playlists.concat(Wc(e));return e.timelineStarts=J0([r.timelineStarts,e.timelineStarts]),zv({oldPlaylists:i,newPlaylists:n,timelineStarts:e.timelineStarts}),e},Na=r=>r&&r.uri+"-"+Mv(r.byterange),Po=r=>{const e=r.reduce(function(n,s){return n[s.attributes.baseUrl]||(n[s.attributes.baseUrl]=[]),n[s.attributes.baseUrl].push(s),n},{});let i=[];return Object.values(e).forEach(n=>{const s=Y0(n.reduce((a,o)=>{const l=o.attributes.id+(o.attributes.lang||"");return a[l]?(o.segments&&(o.segments[0]&&(o.segments[0].discontinuity=!0),a[l].segments.push(...o.segments)),o.attributes.contentProtection&&(a[l].attributes.contentProtection=o.attributes.contentProtection)):(a[l]=o,a[l].attributes.timelineStarts=[]),a[l].attributes.timelineStarts.push({start:o.attributes.periodStart,timeline:o.attributes.periodStart}),a},{}));i=i.concat(s)}),i.map(n=>(n.discontinuityStarts=Ov(n.segments||[],"discontinuity"),n))},Fl=(r,e)=>{const i=Na(r.sidx),n=i&&e[i]&&e[i].sidx;return n&&ql(r,n,r.sidx.resolvedUri),r},jv=(r,e={})=>{if(!Object.keys(e).length)return r;for(const i in r)r[i]=Fl(r[i],e);return r},Xv=({attributes:r,segments:e,sidx:i,mediaSequence:n,discontinuitySequence:s,discontinuityStarts:a},o)=>{const l={attributes:{NAME:r.id,BANDWIDTH:r.bandwidth,CODECS:r.codecs,"PROGRAM-ID":1},uri:"",endList:r.type==="static",timeline:r.periodStart,resolvedUri:r.baseUrl||"",targetDuration:r.duration,discontinuitySequence:s,discontinuityStarts:a,timelineStarts:r.timelineStarts,mediaSequence:n,segments:e};return r.contentProtection&&(l.contentProtection=r.contentProtection),r.serviceLocation&&(l.attributes.serviceLocation=r.serviceLocation),i&&(l.sidx=i),o&&(l.attributes.AUDIO="audio",l.attributes.SUBTITLES="subs"),l},Gv=({attributes:r,segments:e,mediaSequence:i,discontinuityStarts:n,discontinuitySequence:s})=>{typeof e>"u"&&(e=[{uri:r.baseUrl,timeline:r.periodStart,resolvedUri:r.baseUrl||"",duration:r.sourceDuration,number:0}],r.duration=r.sourceDuration);const a={NAME:r.id,BANDWIDTH:r.bandwidth,"PROGRAM-ID":1};r.codecs&&(a.CODECS=r.codecs);const o={attributes:a,uri:"",endList:r.type==="static",timeline:r.periodStart,resolvedUri:r.baseUrl||"",targetDuration:r.duration,timelineStarts:r.timelineStarts,discontinuityStarts:n,discontinuitySequence:s,mediaSequence:i,segments:e};return r.serviceLocation&&(o.attributes.serviceLocation=r.serviceLocation),o},Qv=(r,e={},i=!1)=>{let n;const s=r.reduce((a,o)=>{const l=o.attributes.role&&o.attributes.role.value||"",c=o.attributes.lang||"";let d=o.attributes.label||"main";if(c&&!o.attributes.label){const g=l?` (${l})`:"";d=`${o.attributes.lang}${g}`}a[d]||(a[d]={language:c,autoselect:!0,default:l==="main",playlists:[],uri:""});const m=Fl(Xv(o,i),e);return a[d].playlists.push(m),typeof n>"u"&&l==="main"&&(n=o,n.default=!0),a},{});if(!n){const a=Object.keys(s)[0];s[a].default=!0}return s},Yv=(r,e={})=>r.reduce((i,n)=>{const s=n.attributes.label||n.attributes.lang||"text",a=n.attributes.lang||"und";return i[s]||(i[s]={language:a,default:!1,autoselect:!1,playlists:[],uri:""}),i[s].playlists.push(Fl(Gv(n),e)),i},{}),Kv=r=>r.reduce((e,i)=>(i&&i.forEach(n=>{const{channel:s,language:a}=n;e[a]={autoselect:!1,default:!1,instreamId:s,language:a},n.hasOwnProperty("aspectRatio")&&(e[a].aspectRatio=n.aspectRatio),n.hasOwnProperty("easyReader")&&(e[a].easyReader=n.easyReader),n.hasOwnProperty("3D")&&(e[a]["3D"]=n["3D"])}),e),{}),Wv=({attributes:r,segments:e,sidx:i,discontinuityStarts:n})=>{const s={attributes:{NAME:r.id,AUDIO:"audio",SUBTITLES:"subs",RESOLUTION:{width:r.width,height:r.height},CODECS:r.codecs,BANDWIDTH:r.bandwidth,"PROGRAM-ID":1},uri:"",endList:r.type==="static",timeline:r.periodStart,resolvedUri:r.baseUrl||"",targetDuration:r.duration,discontinuityStarts:n,timelineStarts:r.timelineStarts,segments:e};return r.frameRate&&(s.attributes["FRAME-RATE"]=r.frameRate),r.contentProtection&&(s.contentProtection=r.contentProtection),r.serviceLocation&&(s.attributes.serviceLocation=r.serviceLocation),i&&(s.sidx=i),s},Jv=({attributes:r})=>r.mimeType==="video/mp4"||r.mimeType==="video/webm"||r.contentType==="video",Zv=({attributes:r})=>r.mimeType==="audio/mp4"||r.mimeType==="audio/webm"||r.contentType==="audio",$v=({attributes:r})=>r.mimeType==="text/vtt"||r.contentType==="text",ey=(r,e)=>{r.forEach(i=>{i.mediaSequence=0,i.discontinuitySequence=e.findIndex(function({timeline:n}){return n===i.timeline}),i.segments&&i.segments.forEach((n,s)=>{n.number=s})})},Zc=r=>r?Object.keys(r).reduce((e,i)=>{const n=r[i];return e.concat(n.playlists)},[]):[],ty=({dashPlaylists:r,locations:e,contentSteering:i,sidxMapping:n={},previousManifest:s,eventStream:a})=>{if(!r.length)return{};const{sourceDuration:o,type:l,suggestedPresentationDelay:c,minimumUpdatePeriod:d}=r[0].attributes,m=Po(r.filter(Jv)).map(Wv),g=Po(r.filter(Zv)),E=Po(r.filter($v)),C=r.map(O=>O.attributes.captionServices).filter(Boolean),w={allowCache:!0,discontinuityStarts:[],segments:[],endList:!0,mediaGroups:{AUDIO:{},VIDEO:{},"CLOSED-CAPTIONS":{},SUBTITLES:{}},uri:"",duration:o,playlists:jv(m,n)};d>=0&&(w.minimumUpdatePeriod=d*1e3),e&&(w.locations=e),i&&(w.contentSteering=i),l==="dynamic"&&(w.suggestedPresentationDelay=c),a&&a.length>0&&(w.eventStream=a);const v=w.playlists.length===0,b=g.length?Qv(g,n,v):null,k=E.length?Yv(E,n):null,S=m.concat(Zc(b),Zc(k)),D=S.map(({timelineStarts:O})=>O);return w.timelineStarts=J0(D),ey(S,w.timelineStarts),b&&(w.mediaGroups.AUDIO.audio=b),k&&(w.mediaGroups.SUBTITLES.subs=k),C.length&&(w.mediaGroups["CLOSED-CAPTIONS"].cc=Kv(C)),s?Hv({oldManifest:s,newManifest:w}):w},iy=(r,e,i)=>{const{NOW:n,clientOffset:s,availabilityStartTime:a,timescale:o=1,periodStart:l=0,minimumUpdatePeriod:c=0}=r,d=(n+s)/1e3,m=a+l,E=d+c-m;return Math.ceil((E*o-e)/i)},Z0=(r,e)=>{const{type:i,minimumUpdatePeriod:n=0,media:s="",sourceDuration:a,timescale:o=1,startNumber:l=1,periodStart:c}=r,d=[];let m=-1;for(let g=0;g<e.length;g++){const E=e[g],C=E.d,w=E.r||0,v=E.t||0;m<0&&(m=v),v&&v>m&&(m=v);let b;if(w<0){const D=g+1;D===e.length?i==="dynamic"&&n>0&&s.indexOf("$Number$")>0?b=iy(r,m,C):b=(a*o-m)/C:b=(e[D].t-m)/C}else b=w+1;const k=l+d.length+b;let S=l+d.length;for(;S<k;)d.push({number:S,duration:C/o,time:m,timeline:c}),m+=C,S++}return d},ny=/\$([A-z]*)(?:(%0)([0-9]+)d)?\$/g,ry=r=>(e,i,n,s)=>{if(e==="$$")return"$";if(typeof r[i]>"u")return e;const a=""+r[i];return i==="RepresentationID"||(n?s=parseInt(s,10):s=1,a.length>=s)?a:`${new Array(s-a.length+1).join("0")}${a}`},$c=(r,e)=>r.replace(ny,ry(e)),sy=(r,e)=>!r.duration&&!e?[{number:r.startNumber||1,duration:r.sourceDuration,time:0,timeline:r.periodStart}]:r.duration?Rl(r):Z0(r,e),ay=(r,e)=>{const i={RepresentationID:r.id,Bandwidth:r.bandwidth||0},{initialization:n={sourceURL:"",range:""}}=r,s=rs({baseUrl:r.baseUrl,source:$c(n.sourceURL,i),range:n.range});return sy(r,e).map(o=>{i.Number=o.number,i.Time=o.time;const l=$c(r.media||"",i),c=r.timescale||1,d=r.presentationTimeOffset||0,m=r.periodStart+(o.time-d)/c;return{uri:l,timeline:o.timeline,duration:o.duration,resolvedUri:Va(r.baseUrl||"",l),map:s,number:o.number,presentationTime:m}})},oy=(r,e)=>{const{baseUrl:i,initialization:n={}}=r,s=rs({baseUrl:i,source:n.sourceURL,range:n.range}),a=rs({baseUrl:i,source:e.media,range:e.mediaRange});return a.map=s,a},ly=(r,e)=>{const{duration:i,segmentUrls:n=[],periodStart:s}=r;if(!i&&!e||i&&e)throw new Error(ar.SEGMENT_TIME_UNSPECIFIED);const a=n.map(c=>oy(r,c));let o;return i&&(o=Rl(r)),e&&(o=Z0(r,e)),o.map((c,d)=>{if(a[d]){const m=a[d],g=r.timescale||1,E=r.presentationTimeOffset||0;return m.timeline=c.timeline,m.duration=c.duration,m.number=c.number,m.presentationTime=s+(c.time-E)/g,m}}).filter(c=>c)},uy=({attributes:r,segmentInfo:e})=>{let i,n;e.template?(n=ay,i=Lt(r,e.template)):e.base?(n=W0,i=Lt(r,e.base)):e.list&&(n=ly,i=Lt(r,e.list));const s={attributes:r};if(!n)return s;const a=n(i,e.segmentTimeline);if(i.duration){const{duration:o,timescale:l=1}=i;i.duration=o/l}else a.length?i.duration=a.reduce((o,l)=>Math.max(o,Math.ceil(l.duration)),0):i.duration=0;return s.attributes=i,s.segments=a,e.base&&i.indexRange&&(s.sidx=a[0],s.segments=[]),s},cy=r=>r.map(uy),yt=(r,e)=>K0(r.childNodes).filter(({tagName:i})=>i===e),ds=r=>r.textContent.trim(),dy=r=>parseFloat(r.split("/").reduce((e,i)=>e/i)),Hn=r=>{const l=/P(?:(\d*)Y)?(?:(\d*)M)?(?:(\d*)D)?(?:T(?:(\d*)H)?(?:(\d*)M)?(?:([\d.]*)S)?)?/.exec(r);if(!l)return 0;const[c,d,m,g,E,C]=l.slice(1);return parseFloat(c||0)*31536e3+parseFloat(d||0)*2592e3+parseFloat(m||0)*86400+parseFloat(g||0)*3600+parseFloat(E||0)*60+parseFloat(C||0)},hy=r=>(/^\d+-\d+-\d+T\d+:\d+:\d+(\.\d+)?$/.test(r)&&(r+="Z"),Date.parse(r)),ed={mediaPresentationDuration(r){return Hn(r)},availabilityStartTime(r){return hy(r)/1e3},minimumUpdatePeriod(r){return Hn(r)},suggestedPresentationDelay(r){return Hn(r)},type(r){return r},timeShiftBufferDepth(r){return Hn(r)},start(r){return Hn(r)},width(r){return parseInt(r,10)},height(r){return parseInt(r,10)},bandwidth(r){return parseInt(r,10)},frameRate(r){return dy(r)},startNumber(r){return parseInt(r,10)},timescale(r){return parseInt(r,10)},presentationTimeOffset(r){return parseInt(r,10)},duration(r){const e=parseInt(r,10);return isNaN(e)?Hn(r):e},d(r){return parseInt(r,10)},t(r){return parseInt(r,10)},r(r){return parseInt(r,10)},presentationTime(r){return parseInt(r,10)},DEFAULT(r){return r}},St=r=>r&&r.attributes?K0(r.attributes).reduce((e,i)=>{const n=ed[i.name]||ed.DEFAULT;return e[i.name]=n(i.value),e},{}):{},fy={"urn:uuid:1077efec-c0b2-4d02-ace3-3c1e52e2fb4b":"org.w3.clearkey","urn:uuid:edef8ba9-79d6-4ace-a3c8-27dcd51d21ed":"com.widevine.alpha","urn:uuid:9a04f079-9840-4286-ab92-e65be0885f95":"com.microsoft.playready","urn:uuid:f239e769-efa3-4850-9c16-a903c6932efb":"com.adobe.primetime","urn:mpeg:dash:mp4protection:2011":"mp4protection"},Oa=(r,e)=>e.length?sr(r.map(function(i){return e.map(function(n){const s=ds(n),a=Va(i.baseUrl,s),o=Lt(St(n),{baseUrl:a});return a!==s&&!o.serviceLocation&&i.serviceLocation&&(o.serviceLocation=i.serviceLocation),o})})):r,Ul=r=>{const e=yt(r,"SegmentTemplate")[0],i=yt(r,"SegmentList")[0],n=i&&yt(i,"SegmentURL").map(g=>Lt({tag:"SegmentURL"},St(g))),s=yt(r,"SegmentBase")[0],a=i||e,o=a&&yt(a,"SegmentTimeline")[0],l=i||s||e,c=l&&yt(l,"Initialization")[0],d=e&&St(e);d&&c?d.initialization=c&&St(c):d&&d.initialization&&(d.initialization={sourceURL:d.initialization});const m={template:d,segmentTimeline:o&&yt(o,"S").map(g=>St(g)),list:i&&Lt(St(i),{segmentUrls:n,initialization:St(c)}),base:s&&Lt(St(s),{initialization:St(c)})};return Object.keys(m).forEach(g=>{m[g]||delete m[g]}),m},py=(r,e,i)=>n=>{const s=yt(n,"BaseURL"),a=Oa(e,s),o=Lt(r,St(n)),l=Ul(n);return a.map(c=>({segmentInfo:Lt(i,l),attributes:Lt(o,c)}))},my=r=>r.reduce((e,i)=>{const n=St(i);n.schemeIdUri&&(n.schemeIdUri=n.schemeIdUri.toLowerCase());const s=fy[n.schemeIdUri];if(s){e[s]={attributes:n};const a=yt(i,"cenc:pssh")[0];if(a){const o=ds(a);e[s].pssh=o&&U0(o)}}return e},{}),gy=r=>{if(r.schemeIdUri==="urn:scte:dash:cc:cea-608:2015")return(typeof r.value!="string"?[]:r.value.split(";")).map(i=>{let n,s;return s=i,/^CC\d=/.test(i)?[n,s]=i.split("="):/^CC\d$/.test(i)&&(n=i),{channel:n,language:s}});if(r.schemeIdUri==="urn:scte:dash:cc:cea-708:2015")return(typeof r.value!="string"?[]:r.value.split(";")).map(i=>{const n={channel:void 0,language:void 0,aspectRatio:1,easyReader:0,"3D":0};if(/=/.test(i)){const[s,a=""]=i.split("=");n.channel=s,n.language=i,a.split(",").forEach(o=>{const[l,c]=o.split(":");l==="lang"?n.language=c:l==="er"?n.easyReader=Number(c):l==="war"?n.aspectRatio=Number(c):l==="3D"&&(n["3D"]=Number(c))})}else n.language=i;return n.channel&&(n.channel="SERVICE"+n.channel),n})},vy=r=>sr(yt(r.node,"EventStream").map(e=>{const i=St(e),n=i.schemeIdUri;return yt(e,"Event").map(s=>{const a=St(s),o=a.presentationTime||0,l=i.timescale||1,c=a.duration||0,d=o/l+r.attributes.start;return{schemeIdUri:n,value:i.value,id:a.id,start:d,end:d+c/l,messageData:ds(s)||a.messageData,contentEncoding:i.contentEncoding,presentationTimeOffset:i.presentationTimeOffset||0}})})),yy=(r,e,i)=>n=>{const s=St(n),a=Oa(e,yt(n,"BaseURL")),o=yt(n,"Role")[0],l={role:St(o)};let c=Lt(r,s,l);const d=yt(n,"Accessibility")[0],m=gy(St(d));m&&(c=Lt(c,{captionServices:m}));const g=yt(n,"Label")[0];if(g&&g.childNodes.length){const b=g.childNodes[0].nodeValue.trim();c=Lt(c,{label:b})}const E=my(yt(n,"ContentProtection"));Object.keys(E).length&&(c=Lt(c,{contentProtection:E}));const C=Ul(n),w=yt(n,"Representation"),v=Lt(i,C);return sr(w.map(py(c,a,v)))},by=(r,e)=>(i,n)=>{const s=Oa(e,yt(i.node,"BaseURL")),a=Lt(r,{periodStart:i.attributes.start});typeof i.attributes.duration=="number"&&(a.periodDuration=i.attributes.duration);const o=yt(i.node,"AdaptationSet"),l=Ul(i.node);return sr(o.map(yy(a,s,l)))},Cy=(r,e)=>{if(r.length>1&&e({type:"warn",message:"The MPD manifest should contain no more than one ContentSteering tag"}),!r.length)return null;const i=Lt({serverURL:ds(r[0])},St(r[0]));return i.queryBeforeStart=i.queryBeforeStart==="true",i},Ty=({attributes:r,priorPeriodAttributes:e,mpdType:i})=>typeof r.start=="number"?r.start:e&&typeof e.start=="number"&&typeof e.duration=="number"?e.start+e.duration:!e&&i==="static"?0:null,Ay=(r,e={})=>{const{manifestUri:i="",NOW:n=Date.now(),clientOffset:s=0,eventHandler:a=function(){}}=e,o=yt(r,"Period");if(!o.length)throw new Error(ar.INVALID_NUMBER_OF_PERIOD);const l=yt(r,"Location"),c=St(r),d=Oa([{baseUrl:i}],yt(r,"BaseURL")),m=yt(r,"ContentSteering");c.type=c.type||"static",c.sourceDuration=c.mediaPresentationDuration||0,c.NOW=n,c.clientOffset=s,l.length&&(c.locations=l.map(ds));const g=[];return o.forEach((E,C)=>{const w=St(E),v=g[C-1];w.start=Ty({attributes:w,priorPeriodAttributes:v?v.attributes:null,mpdType:c.type}),g.push({node:E,attributes:w})}),{locations:c.locations,contentSteeringInfo:Cy(m,a),representationInfo:sr(g.map(by(c,d))),eventStream:sr(g.map(vy))}},$0=r=>{if(r==="")throw new Error(ar.DASH_EMPTY_MANIFEST);const e=new Iv.DOMParser;let i,n;try{i=e.parseFromString(r,"application/xml"),n=i&&i.documentElement.tagName==="MPD"?i.documentElement:null}catch{}if(!n||n&&n.getElementsByTagName("parsererror").length>0)throw new Error(ar.DASH_INVALID_XML);return n},Ey=r=>{const e=yt(r,"UTCTiming")[0];if(!e)return null;const i=St(e);switch(i.schemeIdUri){case"urn:mpeg:dash:utc:http-head:2014":case"urn:mpeg:dash:utc:http-head:2012":i.method="HEAD";break;case"urn:mpeg:dash:utc:http-xsdate:2014":case"urn:mpeg:dash:utc:http-iso:2014":case"urn:mpeg:dash:utc:http-xsdate:2012":case"urn:mpeg:dash:utc:http-iso:2012":i.method="GET";break;case"urn:mpeg:dash:utc:direct:2014":case"urn:mpeg:dash:utc:direct:2012":i.method="DIRECT",i.value=Date.parse(i.value);break;case"urn:mpeg:dash:utc:http-ntp:2014":case"urn:mpeg:dash:utc:ntp:2014":case"urn:mpeg:dash:utc:sntp:2014":default:throw new Error(ar.UNSUPPORTED_UTC_TIMING_SCHEME)}return i},xy=(r,e={})=>{const i=Ay($0(r),e),n=cy(i.representationInfo);return ty({dashPlaylists:n,locations:i.locations,contentSteering:i.contentSteeringInfo,sidxMapping:e.sidxMapping,previousManifest:e.previousManifest,eventStream:i.eventStream})},ky=r=>Ey($0(r));var Mo,td;function _y(){if(td)return Mo;td=1;var r=Math.pow(2,32),e=function(i){var n=new DataView(i.buffer,i.byteOffset,i.byteLength),s;return n.getBigUint64?(s=n.getBigUint64(0),s<Number.MAX_SAFE_INTEGER?Number(s):s):n.getUint32(0)*r+n.getUint32(4)};return Mo={getUint64:e,MAX_UINT32:r},Mo}var Lo,id;function Sy(){if(id)return Lo;id=1;var r=_y().getUint64,e=function(i){var n=new DataView(i.buffer,i.byteOffset,i.byteLength),s={version:i[0],flags:new Uint8Array(i.subarray(1,4)),references:[],referenceId:n.getUint32(4),timescale:n.getUint32(8)},a=12;s.version===0?(s.earliestPresentationTime=n.getUint32(a),s.firstOffset=n.getUint32(a+4),a+=8):(s.earliestPresentationTime=r(i.subarray(a)),s.firstOffset=r(i.subarray(a+8)),a+=16),a+=2;var o=n.getUint16(a);for(a+=2;o>0;a+=12,o--)s.references.push({referenceType:(i[a]&128)>>>7,referencedSize:n.getUint32(a)&2147483647,subsegmentDuration:n.getUint32(a+4),startsWithSap:!!(i[a+8]&128),sapType:(i[a+8]&112)>>>4,sapDeltaTime:n.getUint32(a+8)&268435455});return s};return Lo=e,Lo}var wy=Sy();const Dy=fr(wy);var By=Ge([73,68,51]),Vy=function(e,i){i===void 0&&(i=0),e=Ge(e);var n=e[i+5],s=e[i+6]<<21|e[i+7]<<14|e[i+8]<<7|e[i+9],a=(n&16)>>4;return a?s+20:s+10},Qr=function r(e,i){return i===void 0&&(i=0),e=Ge(e),e.length-i<10||!vt(e,By,{offset:i})?i:(i+=Vy(e,i),r(e,i))},nd=function(e){return typeof e=="string"?G0(e):e},Iy=function(e){return Array.isArray(e)?e.map(function(i){return nd(i)}):[nd(e)]},Ny=function r(e,i,n){n===void 0&&(n=!1),i=Iy(i),e=Ge(e);var s=[];if(!i.length)return s;for(var a=0;a<e.length;){var o=(e[a]<<24|e[a+1]<<16|e[a+2]<<8|e[a+3])>>>0,l=e.subarray(a+4,a+8);if(o===0)break;var c=a+o;if(c>e.length){if(n)break;c=e.length}var d=e.subarray(a+8,c);vt(l,i[0])&&(i.length===1?s.push(d):s.push.apply(s,r(d,i.slice(1),n))),a=c}return s},Hs={EBML:Ge([26,69,223,163]),DocType:Ge([66,130]),Segment:Ge([24,83,128,103]),SegmentInfo:Ge([21,73,169,102]),Tracks:Ge([22,84,174,107]),Track:Ge([174]),TrackNumber:Ge([215]),DefaultDuration:Ge([35,227,131]),TrackEntry:Ge([174]),TrackType:Ge([131]),FlagDefault:Ge([136]),CodecID:Ge([134]),CodecPrivate:Ge([99,162]),VideoTrack:Ge([224]),AudioTrack:Ge([225]),Cluster:Ge([31,67,182,117]),Timestamp:Ge([231]),TimestampScale:Ge([42,215,177]),BlockGroup:Ge([160]),BlockDuration:Ge([155]),Block:Ge([161]),SimpleBlock:Ge([163])},rl=[128,64,32,16,8,4,2,1],Oy=function(e){for(var i=1,n=0;n<rl.length&&!(e&rl[n]);n++)i++;return i},aa=function(e,i,n,s){n===void 0&&(n=!0),s===void 0&&(s=!1);var a=Oy(e[i]),o=e.subarray(i,i+a);return n&&(o=Array.prototype.slice.call(e,i,i+a),o[0]^=rl[a-1]),{length:a,value:xv(o,{signed:s}),bytes:o}},rd=function r(e){return typeof e=="string"?e.match(/.{1,2}/g).map(function(i){return r(i)}):typeof e=="number"?kv(e):e},Py=function(e){return Array.isArray(e)?e.map(function(i){return rd(i)}):[rd(e)]},My=function r(e,i,n){if(n>=i.length)return i.length;var s=aa(i,n,!1);if(vt(e.bytes,s.bytes))return n;var a=aa(i,n+s.length);return r(e,i,n+a.length+a.value+s.length)},sd=function r(e,i){i=Py(i),e=Ge(e);var n=[];if(!i.length)return n;for(var s=0;s<e.length;){var a=aa(e,s,!1),o=aa(e,s+a.length),l=s+a.length+o.length;o.value===127&&(o.value=My(a,e,l),o.value!==e.length&&(o.value-=l));var c=l+o.value>e.length?e.length:l+o.value,d=e.subarray(l,c);vt(i[0],a.bytes)&&(i.length===1?n.push(d):n=n.concat(r(d,i.slice(1))));var m=a.length+o.length+d.length;s+=m}return n},Ly=Ge([0,0,0,1]),Ry=Ge([0,0,1]),qy=Ge([0,0,3]),Fy=function(e){for(var i=[],n=1;n<e.length-2;)vt(e.subarray(n,n+3),qy)&&(i.push(n+2),n++),n++;if(i.length===0)return e;var s=e.length-i.length,a=new Uint8Array(s),o=0;for(n=0;n<s;o++,n++)o===i[0]&&(o++,i.shift()),a[n]=e[o];return a},eh=function(e,i,n,s){e=Ge(e),n=[].concat(n);for(var a=0,o,l=0;a<e.length&&(l<s||o);){var c=void 0;if(vt(e.subarray(a),Ly)?c=4:vt(e.subarray(a),Ry)&&(c=3),!c){a++;continue}if(l++,o)return Fy(e.subarray(o,a));var d=void 0;i==="h264"?d=e[a+c]&31:i==="h265"&&(d=e[a+c]>>1&63),n.indexOf(d)!==-1&&(o=a+c),a+=c+(i==="h264"?1:2)}return e.subarray(0,0)},Uy=function(e,i,n){return eh(e,"h264",i,n)},zy=function(e,i,n){return eh(e,"h265",i,n)},ei={webm:Ge([119,101,98,109]),matroska:Ge([109,97,116,114,111,115,107,97]),flac:Ge([102,76,97,67]),ogg:Ge([79,103,103,83]),ac3:Ge([11,119]),riff:Ge([82,73,70,70]),avi:Ge([65,86,73]),wav:Ge([87,65,86,69]),"3gp":Ge([102,116,121,112,51,103]),mp4:Ge([102,116,121,112]),fmp4:Ge([115,116,121,112]),mov:Ge([102,116,121,112,113,116]),moov:Ge([109,111,111,118]),moof:Ge([109,111,111,102])},or={aac:function(e){var i=Qr(e);return vt(e,[255,16],{offset:i,mask:[255,22]})},mp3:function(e){var i=Qr(e);return vt(e,[255,2],{offset:i,mask:[255,6]})},webm:function(e){var i=sd(e,[Hs.EBML,Hs.DocType])[0];return vt(i,ei.webm)},mkv:function(e){var i=sd(e,[Hs.EBML,Hs.DocType])[0];return vt(i,ei.matroska)},mp4:function(e){if(or["3gp"](e)||or.mov(e))return!1;if(vt(e,ei.mp4,{offset:4})||vt(e,ei.fmp4,{offset:4})||vt(e,ei.moof,{offset:4})||vt(e,ei.moov,{offset:4}))return!0},mov:function(e){return vt(e,ei.mov,{offset:4})},"3gp":function(e){return vt(e,ei["3gp"],{offset:4})},ac3:function(e){var i=Qr(e);return vt(e,ei.ac3,{offset:i})},ts:function(e){if(e.length<189&&e.length>=1)return e[0]===71;for(var i=0;i+188<e.length&&i<188;){if(e[i]===71&&e[i+188]===71)return!0;i+=1}return!1},flac:function(e){var i=Qr(e);return vt(e,ei.flac,{offset:i})},ogg:function(e){return vt(e,ei.ogg)},avi:function(e){return vt(e,ei.riff)&&vt(e,ei.avi,{offset:8})},wav:function(e){return vt(e,ei.riff)&&vt(e,ei.wav,{offset:8})},h264:function(e){return Uy(e,7,3).length},h265:function(e){return zy(e,[32,33],3).length}},sl=Object.keys(or).filter(function(r){return r!=="ts"&&r!=="h264"&&r!=="h265"}).concat(["ts","h264","h265"]);sl.forEach(function(r){var e=or[r];or[r]=function(i){return e(Ge(i))}});var Hy=or,zl=function(e){e=Ge(e);for(var i=0;i<sl.length;i++){var n=sl[i];if(Hy[n](e))return n}return""},jy=function(e){return Ny(e,["moof"]).length>0},Ro,ad;function Xy(){if(ad)return Ro;ad=1;var r=9e4,e,i,n,s,a,o,l;return e=function(c){return c*r},i=function(c,d){return c*d},n=function(c){return c/r},s=function(c,d){return c/d},a=function(c,d){return e(s(c,d))},o=function(c,d){return i(n(c),d)},l=function(c,d,m){return n(m?c:c-d)},Ro={ONE_SECOND_IN_TS:r,secondsToVideoTs:e,secondsToAudioTs:i,videoTsToSeconds:n,audioTsToSeconds:s,audioTsToVideoTs:a,videoTsToAudioTs:o,metadataTsToSeconds:l},Ro}var Dn=Xy();/**
|
|
29
|
+
* @license
|
|
30
|
+
* Video.js 8.23.7 <http://videojs.com/>
|
|
31
|
+
* Copyright 2010-present Video.js contributors
|
|
32
|
+
* Available under Apache License Version 2.0
|
|
33
|
+
* <https://github.com/videojs/video.js/blob/main/LICENSE>
|
|
34
|
+
*
|
|
35
|
+
* Includes vtt.js <https://github.com/mozilla/vtt.js>
|
|
36
|
+
* Available under Apache License Version 2.0
|
|
37
|
+
* <https://github.com/mozilla/vtt.js/blob/main/LICENSE>
|
|
38
|
+
*/var al="8.23.7";const $i={},gn=function(r,e){return $i[r]=$i[r]||[],e&&($i[r]=$i[r].concat(e)),$i[r]},Gy=function(r,e){gn(r,e)},th=function(r,e){const i=gn(r).indexOf(e);return i<=-1?!1:($i[r]=$i[r].slice(),$i[r].splice(i,1),!0)},Qy=function(r,e){gn(r,[].concat(e).map(i=>{const n=(...s)=>(th(r,n),i(...s));return n}))},oa={prefixed:!0},ta=[["requestFullscreen","exitFullscreen","fullscreenElement","fullscreenEnabled","fullscreenchange","fullscreenerror","fullscreen"],["webkitRequestFullscreen","webkitExitFullscreen","webkitFullscreenElement","webkitFullscreenEnabled","webkitfullscreenchange","webkitfullscreenerror","-webkit-full-screen"]],od=ta[0];let Yr;for(let r=0;r<ta.length;r++)if(ta[r][1]in we){Yr=ta[r];break}if(Yr){for(let r=0;r<Yr.length;r++)oa[od[r]]=Yr[r];oa.prefixed=Yr[0]!==od[0]}let oi=[];const Yy=(r,e,i)=>(n,s,a)=>{const o=e.levels[s],l=new RegExp(`^(${o})$`);let c=r;if(n!=="log"&&a.unshift(n.toUpperCase()+":"),i&&(c=`%c${r}`,a.unshift(i)),a.unshift(c+":"),oi){oi.push([].concat(a));const m=oi.length-1e3;oi.splice(0,m>0?m:0)}if(!K.console)return;let d=K.console[n];!d&&n==="debug"&&(d=K.console.info||K.console.log),!(!d||!o||!l.test(n))&&d[Array.isArray(a)?"apply":"call"](K.console,a)};function ol(r,e=":",i=""){let n="info",s;function a(...o){s("log",n,o)}return s=Yy(r,a,i),a.createLogger=(o,l,c)=>{const d=l!==void 0?l:e,m=c!==void 0?c:i,g=`${r} ${d} ${o}`;return ol(g,d,m)},a.createNewLogger=(o,l,c)=>ol(o,l,c),a.levels={all:"debug|log|warn|error",off:"",debug:"debug|log|warn|error",info:"log|warn|error",warn:"warn|error",error:"error",DEFAULT:n},a.level=o=>{if(typeof o=="string"){if(!a.levels.hasOwnProperty(o))throw new Error(`"${o}" in not a valid log level`);n=o}return n},a.history=()=>oi?[].concat(oi):[],a.history.filter=o=>(oi||[]).filter(l=>new RegExp(`.*${o}.*`).test(l[0])),a.history.clear=()=>{oi&&(oi.length=0)},a.history.disable=()=>{oi!==null&&(oi.length=0,oi=null)},a.history.enable=()=>{oi===null&&(oi=[])},a.error=(...o)=>s("error",n,o),a.warn=(...o)=>s("warn",n,o),a.debug=(...o)=>s("debug",n,o),a}const et=ol("VIDEOJS"),ih=et.createLogger,Ky=Object.prototype.toString,nh=function(r){return Xi(r)?Object.keys(r):[]};function Kn(r,e){nh(r).forEach(i=>e(r[i],i))}function rh(r,e,i=0){return nh(r).reduce((n,s)=>e(n,r[s],s),i)}function Xi(r){return!!r&&typeof r=="object"}function lr(r){return Xi(r)&&Ky.call(r)==="[object Object]"&&r.constructor===Object}function ht(...r){const e={};return r.forEach(i=>{i&&Kn(i,(n,s)=>{if(!lr(n)){e[s]=n;return}lr(e[s])||(e[s]={}),e[s]=ht(e[s],n)})}),e}function sh(r={}){const e=[];for(const i in r)if(r.hasOwnProperty(i)){const n=r[i];e.push(n)}return e}function Pa(r,e,i,n=!0){const s=o=>Object.defineProperty(r,e,{value:o,enumerable:!0,writable:!0}),a={configurable:!0,enumerable:!0,get(){const o=i();return s(o),o}};return n&&(a.set=s),Object.defineProperty(r,e,a)}var Wy=Object.freeze({__proto__:null,each:Kn,reduce:rh,isObject:Xi,isPlain:lr,merge:ht,values:sh,defineLazyProperty:Pa});let Hl=!1,ah=null,Oi=!1,oh,lh=!1,Wn=!1,Jn=!1,Gi=!1,jl=null,Ma=null;const Jy=!!(K.cast&&K.cast.framework&&K.cast.framework.CastReceiverContext);let uh=null,la=!1,La=!1,ua=!1,Ra=!1,ca=!1,da=!1,ha=!1;const ss=!!(pr()&&("ontouchstart"in K||K.navigator.maxTouchPoints||K.DocumentTouch&&K.document instanceof K.DocumentTouch)),un=K.navigator&&K.navigator.userAgentData;un&&un.platform&&un.brands&&(Oi=un.platform==="Android",Wn=!!un.brands.find(r=>r.brand==="Microsoft Edge"),Jn=!!un.brands.find(r=>r.brand==="Chromium"),Gi=!Wn&&Jn,jl=Ma=(un.brands.find(r=>r.brand==="Chromium")||{}).version||null,La=un.platform==="Windows");if(!Jn){const r=K.navigator&&K.navigator.userAgent||"";Hl=/iPod/i.test(r),ah=(function(){const e=r.match(/OS (\d+)_/i);return e&&e[1]?e[1]:null})(),Oi=/Android/i.test(r),oh=(function(){const e=r.match(/Android (\d+)(?:\.(\d+))?(?:\.(\d+))*/i);if(!e)return null;const i=e[1]&&parseFloat(e[1]),n=e[2]&&parseFloat(e[2]);return i&&n?parseFloat(e[1]+"."+e[2]):i||null})(),lh=/Firefox/i.test(r),Wn=/Edg/i.test(r),Jn=/Chrome/i.test(r)||/CriOS/i.test(r),Gi=!Wn&&Jn,jl=Ma=(function(){const e=r.match(/(Chrome|CriOS)\/(\d+)/);return e&&e[2]?parseFloat(e[2]):null})(),uh=(function(){const e=/MSIE\s(\d+)\.\d/.exec(r);let i=e&&parseFloat(e[1]);return!i&&/Trident\/7.0/i.test(r)&&/rv:11.0/.test(r)&&(i=11),i})(),ca=/Tizen/i.test(r),da=/Web0S/i.test(r),ha=ca||da,la=/Safari/i.test(r)&&!Gi&&!Oi&&!Wn&&!ha,La=/Windows/i.test(r),ua=/iPad/i.test(r)||la&&ss&&!/iPhone/i.test(r),Ra=/iPhone/i.test(r)&&!ua}const Gt=Ra||ua||Hl,qa=(la||Gt)&&!Gi;var ch=Object.freeze({__proto__:null,get IS_IPOD(){return Hl},get IOS_VERSION(){return ah},get IS_ANDROID(){return Oi},get ANDROID_VERSION(){return oh},get IS_FIREFOX(){return lh},get IS_EDGE(){return Wn},get IS_CHROMIUM(){return Jn},get IS_CHROME(){return Gi},get CHROMIUM_VERSION(){return jl},get CHROME_VERSION(){return Ma},IS_CHROMECAST_RECEIVER:Jy,get IE_VERSION(){return uh},get IS_SAFARI(){return la},get IS_WINDOWS(){return La},get IS_IPAD(){return ua},get IS_IPHONE(){return Ra},get IS_TIZEN(){return ca},get IS_WEBOS(){return da},get IS_SMART_TV(){return ha},TOUCH_ENABLED:ss,IS_IOS:Gt,IS_ANY_SAFARI:qa});function ld(r){return typeof r=="string"&&!!r.trim()}function Zy(r){if(r.indexOf(" ")>=0)throw new Error("class has illegal whitespace characters")}function pr(){return we===K.document}function mr(r){return Xi(r)&&r.nodeType===1}function dh(){try{return K.parent!==K.self}catch{return!0}}function hh(r){return function(e,i){if(!ld(e))return we[r](null);ld(i)&&(i=we.querySelector(i));const n=mr(i)?i:we;return n[r]&&n[r](e)}}function Qe(r="div",e={},i={},n){const s=we.createElement(r);return Object.getOwnPropertyNames(e).forEach(function(a){const o=e[a];a==="textContent"?bn(s,o):(s[a]!==o||a==="tabIndex")&&(s[a]=o)}),Object.getOwnPropertyNames(i).forEach(function(a){s.setAttribute(a,i[a])}),n&&Xl(s,n),s}function bn(r,e){return typeof r.textContent>"u"?r.innerText=e:r.textContent=e,r}function ll(r,e){e.firstChild?e.insertBefore(r,e.firstChild):e.appendChild(r)}function Jr(r,e){return Zy(e),r.classList.contains(e)}function Nn(r,...e){return r.classList.add(...e.reduce((i,n)=>i.concat(n.split(/\s+/)),[])),r}function Fa(r,...e){return r?(r.classList.remove(...e.reduce((i,n)=>i.concat(n.split(/\s+/)),[])),r):(et.warn("removeClass was called with an element that doesn't exist"),null)}function fh(r,e,i){return typeof i=="function"&&(i=i(r,e)),typeof i!="boolean"&&(i=void 0),e.split(/\s+/).forEach(n=>r.classList.toggle(n,i)),r}function ph(r,e){Object.getOwnPropertyNames(e).forEach(function(i){const n=e[i];n===null||typeof n>"u"||n===!1?r.removeAttribute(i):r.setAttribute(i,n===!0?"":n)})}function dn(r){const e={},i=["autoplay","controls","playsinline","loop","muted","default","defaultMuted"];if(r&&r.attributes&&r.attributes.length>0){const n=r.attributes;for(let s=n.length-1;s>=0;s--){const a=n[s].name;let o=n[s].value;i.includes(a)&&(o=o!==null),e[a]=o}}return e}function mh(r,e){return r.getAttribute(e)}function ur(r,e,i){r.setAttribute(e,i)}function Ua(r,e){r.removeAttribute(e)}function gh(){we.body.focus(),we.onselectstart=function(){return!1}}function vh(){we.onselectstart=function(){return!0}}function cr(r){if(r&&r.getBoundingClientRect&&r.parentNode){const e=r.getBoundingClientRect(),i={};return["bottom","height","left","right","top","width"].forEach(n=>{e[n]!==void 0&&(i[n]=e[n])}),i.height||(i.height=parseFloat(dr(r,"height"))),i.width||(i.width=parseFloat(dr(r,"width"))),i}}function as(r){if(!r||r&&!r.offsetParent)return{left:0,top:0,width:0,height:0};const e=r.offsetWidth,i=r.offsetHeight;let n=0,s=0;for(;r.offsetParent&&r!==we[oa.fullscreenElement];)n+=r.offsetLeft,s+=r.offsetTop,r=r.offsetParent;return{left:n,top:s,width:e,height:i}}function za(r,e){const i={x:0,y:0};if(Gt){let m=r;for(;m&&m.nodeName.toLowerCase()!=="html";){const g=dr(m,"transform");if(/^matrix/.test(g)){const E=g.slice(7,-1).split(/,\s/).map(Number);i.x+=E[4],i.y+=E[5]}else if(/^matrix3d/.test(g)){const E=g.slice(9,-1).split(/,\s/).map(Number);i.x+=E[12],i.y+=E[13]}if(m.assignedSlot&&m.assignedSlot.parentElement&&K.WebKitCSSMatrix){const E=K.getComputedStyle(m.assignedSlot.parentElement).transform,C=new K.WebKitCSSMatrix(E);i.x+=C.m41,i.y+=C.m42}m=m.parentNode||m.host}}const n={},s=as(e.target),a=as(r),o=a.width,l=a.height;let c=e.offsetY-(a.top-s.top),d=e.offsetX-(a.left-s.left);return e.changedTouches&&(d=e.changedTouches[0].pageX-a.left,c=e.changedTouches[0].pageY+a.top,Gt&&(d-=i.x,c-=i.y)),n.y=1-Math.max(0,Math.min(1,c/l)),n.x=Math.max(0,Math.min(1,d/o)),n}function yh(r){return Xi(r)&&r.nodeType===3}function Ha(r){for(;r.firstChild;)r.removeChild(r.firstChild);return r}function bh(r){return typeof r=="function"&&(r=r()),(Array.isArray(r)?r:[r]).map(e=>{if(typeof e=="function"&&(e=e()),mr(e)||yh(e))return e;if(typeof e=="string"&&/\S/.test(e))return we.createTextNode(e)}).filter(e=>e)}function Xl(r,e){return bh(e).forEach(i=>r.appendChild(i)),r}function Ch(r,e){return Xl(Ha(r),e)}function os(r){return r.button===void 0&&r.buttons===void 0||r.button===0&&r.buttons===void 0||r.type==="mouseup"&&r.button===0&&r.buttons===0||r.type==="mousedown"&&r.button===0&&r.buttons===0?!0:!(r.button!==0||r.buttons!==1)}const vn=hh("querySelector"),Th=hh("querySelectorAll");function dr(r,e){if(!r||!e)return"";if(typeof K.getComputedStyle=="function"){let i;try{i=K.getComputedStyle(r)}catch{return""}return i?i.getPropertyValue(e)||i[e]:""}return""}function Ah(r){[...we.styleSheets].forEach(e=>{try{const i=[...e.cssRules].map(s=>s.cssText).join(""),n=we.createElement("style");n.textContent=i,r.document.head.appendChild(n)}catch{const n=we.createElement("link");n.rel="stylesheet",n.type=e.type,n.media=e.media.mediaText,n.href=e.href,r.document.head.appendChild(n)}})}var Eh=Object.freeze({__proto__:null,isReal:pr,isEl:mr,isInFrame:dh,createEl:Qe,textContent:bn,prependTo:ll,hasClass:Jr,addClass:Nn,removeClass:Fa,toggleClass:fh,setAttributes:ph,getAttributes:dn,getAttribute:mh,setAttribute:ur,removeAttribute:Ua,blockTextSelection:gh,unblockTextSelection:vh,getBoundingClientRect:cr,findPosition:as,getPointerPosition:za,isTextNode:yh,emptyEl:Ha,normalizeContent:bh,appendContent:Xl,insertContent:Ch,isSingleLeftClick:os,$:vn,$$:Th,computedStyle:dr,copyStyleSheetsToWindow:Ah});let xh=!1,ul;const $y=function(){if(ul.options.autoSetup===!1)return;const r=Array.prototype.slice.call(we.getElementsByTagName("video")),e=Array.prototype.slice.call(we.getElementsByTagName("audio")),i=Array.prototype.slice.call(we.getElementsByTagName("video-js")),n=r.concat(e,i);if(n&&n.length>0)for(let s=0,a=n.length;s<a;s++){const o=n[s];if(o&&o.getAttribute)o.player===void 0&&o.getAttribute("data-setup")!==null&&ul(o);else{cl(1);break}}else xh||cl(1)};function cl(r,e){pr()&&(e&&(ul=e),K.setTimeout($y,r))}function dl(){xh=!0,K.removeEventListener("load",dl)}pr()&&(we.readyState==="complete"?dl():K.addEventListener("load",dl));const kh=function(r){const e=we.createElement("style");return e.className=r,e},_h=function(r,e){r.styleSheet?r.styleSheet.cssText=e:r.textContent=e};var ii=new WeakMap;const e3=3;let t3=e3;function Ei(){return t3++}function ud(r,e){if(!ii.has(r))return;const i=ii.get(r);i.handlers[e].length===0&&(delete i.handlers[e],r.removeEventListener?r.removeEventListener(e,i.dispatcher,!1):r.detachEvent&&r.detachEvent("on"+e,i.dispatcher)),Object.getOwnPropertyNames(i.handlers).length<=0&&(delete i.handlers,delete i.dispatcher,delete i.disabled),Object.getOwnPropertyNames(i).length===0&&ii.delete(r)}function Gl(r,e,i,n){i.forEach(function(s){r(e,s,n)})}function ja(r){if(r.fixed_)return r;function e(){return!0}function i(){return!1}if(!r||!r.isPropagationStopped||!r.isImmediatePropagationStopped){const n=r||K.event;r={};const s=["layerX","layerY","keyLocation","path","webkitMovementX","webkitMovementY","mozPressure","mozInputSource"];for(const a in n)s.includes(a)||a==="returnValue"&&n.preventDefault||(r[a]=n[a]);if(r.target||(r.target=r.srcElement||we),r.relatedTarget||(r.relatedTarget=r.fromElement===r.target?r.toElement:r.fromElement),r.preventDefault=function(){n.preventDefault&&n.preventDefault(),r.returnValue=!1,n.returnValue=!1,r.defaultPrevented=!0},r.defaultPrevented=!1,r.stopPropagation=function(){n.stopPropagation&&n.stopPropagation(),r.cancelBubble=!0,n.cancelBubble=!0,r.isPropagationStopped=e},r.isPropagationStopped=i,r.stopImmediatePropagation=function(){n.stopImmediatePropagation&&n.stopImmediatePropagation(),r.isImmediatePropagationStopped=e,r.stopPropagation()},r.isImmediatePropagationStopped=i,r.clientX!==null&&r.clientX!==void 0){const a=we.documentElement,o=we.body;r.pageX=r.clientX+(a&&a.scrollLeft||o&&o.scrollLeft||0)-(a&&a.clientLeft||o&&o.clientLeft||0),r.pageY=r.clientY+(a&&a.scrollTop||o&&o.scrollTop||0)-(a&&a.clientTop||o&&o.clientTop||0)}r.which=r.charCode||r.keyCode,r.button!==null&&r.button!==void 0&&(r.button=r.button&1?0:r.button&4?1:r.button&2?2:0)}return r.fixed_=!0,r}let js;const i3=function(){if(typeof js!="boolean"){js=!1;try{const r=Object.defineProperty({},"passive",{get(){js=!0}});K.addEventListener("test",null,r),K.removeEventListener("test",null,r)}catch{}}return js},n3=["touchstart","touchmove"];function mi(r,e,i){if(Array.isArray(e))return Gl(mi,r,e,i);ii.has(r)||ii.set(r,{});const n=ii.get(r);if(n.handlers||(n.handlers={}),n.handlers[e]||(n.handlers[e]=[]),i.guid||(i.guid=Ei()),n.handlers[e].push(i),n.dispatcher||(n.disabled=!1,n.dispatcher=function(s,a){if(n.disabled)return;s=ja(s);const o=n.handlers[s.type];if(o){const l=o.slice(0);for(let c=0,d=l.length;c<d&&!s.isImmediatePropagationStopped();c++)try{l[c].call(r,s,a)}catch(m){et.error(m)}}}),n.handlers[e].length===1)if(r.addEventListener){let s=!1;i3()&&n3.indexOf(e)>-1&&(s={passive:!0}),r.addEventListener(e,n.dispatcher,s)}else r.attachEvent&&r.attachEvent("on"+e,n.dispatcher)}function Qt(r,e,i){if(!ii.has(r))return;const n=ii.get(r);if(!n.handlers)return;if(Array.isArray(e))return Gl(Qt,r,e,i);const s=function(o,l){n.handlers[l]=[],ud(o,l)};if(e===void 0){for(const o in n.handlers)Object.prototype.hasOwnProperty.call(n.handlers||{},o)&&s(r,o);return}const a=n.handlers[e];if(a){if(!i){s(r,e);return}if(i.guid)for(let o=0;o<a.length;o++)a[o].guid===i.guid&&a.splice(o--,1);ud(r,e)}}function gr(r,e,i){const n=ii.has(r)?ii.get(r):{},s=r.parentNode||r.ownerDocument;if(typeof e=="string"?e={type:e,target:r}:e.target||(e.target=r),e=ja(e),n.dispatcher&&n.dispatcher.call(r,e,i),s&&!e.isPropagationStopped()&&e.bubbles===!0)gr.call(null,s,e,i);else if(!s&&!e.defaultPrevented&&e.target&&e.target[e.type]){ii.has(e.target)||ii.set(e.target,{});const a=ii.get(e.target);e.target[e.type]&&(a.disabled=!0,typeof e.target[e.type]=="function"&&e.target[e.type](),a.disabled=!1)}return!e.defaultPrevented}function Xa(r,e,i){if(Array.isArray(e))return Gl(Xa,r,e,i);const n=function(){Qt(r,e,n),i.apply(this,arguments)};n.guid=i.guid=i.guid||Ei(),mi(r,e,n)}function Ql(r,e,i){const n=function(){Qt(r,e,n),i.apply(this,arguments)};n.guid=i.guid=i.guid||Ei(),mi(r,e,n)}var r3=Object.freeze({__proto__:null,fixEvent:ja,on:mi,off:Qt,trigger:gr,one:Xa,any:Ql});const xi=30,pt=function(r,e,i){e.guid||(e.guid=Ei());const n=e.bind(r);return n.guid=i?i+"_"+e.guid:e.guid,n},Qi=function(r,e){let i=K.performance.now();return function(...s){const a=K.performance.now();a-i>=e&&(r(...s),i=a)}},Sh=function(r,e,i,n=K){let s;const a=()=>{n.clearTimeout(s),s=null},o=function(){const l=this,c=arguments;let d=function(){s=null,d=null,i||r.apply(l,c)};!s&&i&&r.apply(l,c),n.clearTimeout(s),s=n.setTimeout(d,e)};return o.cancel=a,o};var s3=Object.freeze({__proto__:null,UPDATE_REFRESH_INTERVAL:xi,bind_:pt,throttle:Qi,debounce:Sh});let zr;class gi{on(e,i){const n=this.addEventListener;this.addEventListener=()=>{},mi(this,e,i),this.addEventListener=n}off(e,i){Qt(this,e,i)}one(e,i){const n=this.addEventListener;this.addEventListener=()=>{},Xa(this,e,i),this.addEventListener=n}any(e,i){const n=this.addEventListener;this.addEventListener=()=>{},Ql(this,e,i),this.addEventListener=n}trigger(e){const i=e.type||e;typeof e=="string"&&(e={type:i}),e=ja(e),this.allowedEvents_[i]&&this["on"+i]&&this["on"+i](e),gr(this,e)}queueTrigger(e){zr||(zr=new Map);const i=e.type||e;let n=zr.get(this);n||(n=new Map,zr.set(this,n));const s=n.get(i);n.delete(i),K.clearTimeout(s);const a=K.setTimeout(()=>{n.delete(i),n.size===0&&(n=null,zr.delete(this)),this.trigger(e)},0);n.set(i,a)}}gi.prototype.allowedEvents_={};gi.prototype.addEventListener=gi.prototype.on;gi.prototype.removeEventListener=gi.prototype.off;gi.prototype.dispatchEvent=gi.prototype.trigger;const Ga=r=>typeof r.name=="function"?r.name():typeof r.name=="string"?r.name:r.name_?r.name_:r.constructor&&r.constructor.name?r.constructor.name:typeof r,nn=r=>r instanceof gi||!!r.eventBusEl_&&["on","one","off","trigger"].every(e=>typeof r[e]=="function"),a3=(r,e)=>{nn(r)?e():(r.eventedCallbacks||(r.eventedCallbacks=[]),r.eventedCallbacks.push(e))},hl=r=>typeof r=="string"&&/\S/.test(r)||Array.isArray(r)&&!!r.length,fa=(r,e,i)=>{if(!r||!r.nodeName&&!nn(r))throw new Error(`Invalid target for ${Ga(e)}#${i}; must be a DOM node or evented object.`)},wh=(r,e,i)=>{if(!hl(r))throw new Error(`Invalid event type for ${Ga(e)}#${i}; must be a non-empty string or array.`)},Dh=(r,e,i)=>{if(typeof r!="function")throw new Error(`Invalid listener for ${Ga(e)}#${i}; must be a function.`)},qo=(r,e,i)=>{const n=e.length<3||e[0]===r||e[0]===r.eventBusEl_;let s,a,o;return n?(s=r.eventBusEl_,e.length>=3&&e.shift(),[a,o]=e):(s=e[0],a=e[1],o=e[2]),fa(s,r,i),wh(a,r,i),Dh(o,r,i),o=pt(r,o),{isTargetingSelf:n,target:s,type:a,listener:o}},kn=(r,e,i,n)=>{fa(r,r,e),r.nodeName?r3[e](r,i,n):r[e](i,n)},o3={on(...r){const{isTargetingSelf:e,target:i,type:n,listener:s}=qo(this,r,"on");if(kn(i,"on",n,s),!e){const a=()=>this.off(i,n,s);a.guid=s.guid;const o=()=>this.off("dispose",a);o.guid=s.guid,kn(this,"on","dispose",a),kn(i,"on","dispose",o)}},one(...r){const{isTargetingSelf:e,target:i,type:n,listener:s}=qo(this,r,"one");if(e)kn(i,"one",n,s);else{const a=(...o)=>{this.off(i,n,a),s.apply(null,o)};a.guid=s.guid,kn(i,"one",n,a)}},any(...r){const{isTargetingSelf:e,target:i,type:n,listener:s}=qo(this,r,"any");if(e)kn(i,"any",n,s);else{const a=(...o)=>{this.off(i,n,a),s.apply(null,o)};a.guid=s.guid,kn(i,"any",n,a)}},off(r,e,i){if(!r||hl(r))Qt(this.eventBusEl_,r,e);else{const n=r,s=e;fa(n,this,"off"),wh(s,this,"off"),Dh(i,this,"off"),i=pt(this,i),this.off("dispose",i),n.nodeName?(Qt(n,s,i),Qt(n,"dispose",i)):nn(n)&&(n.off(s,i),n.off("dispose",i))}},trigger(r,e){fa(this.eventBusEl_,this,"trigger");const i=r&&typeof r!="string"?r.type:r;if(!hl(i))throw new Error(`Invalid event type for ${Ga(this)}#trigger; must be a non-empty string or object with a type key that has a non-empty value.`);return gr(this.eventBusEl_,r,e)}};function Yl(r,e={}){const{eventBusKey:i}=e;if(i){if(!r[i].nodeName)throw new Error(`The eventBusKey "${i}" does not refer to an element.`);r.eventBusEl_=r[i]}else r.eventBusEl_=Qe("span",{className:"vjs-event-bus"});return Object.assign(r,o3),r.eventedCallbacks&&r.eventedCallbacks.forEach(n=>{n()}),r.on("dispose",()=>{r.off(),[r,r.el_,r.eventBusEl_].forEach(function(n){n&&ii.has(n)&&ii.delete(n)}),K.setTimeout(()=>{r.eventBusEl_=null},0)}),r}const l3={state:{},setState(r){typeof r=="function"&&(r=r());let e;return Kn(r,(i,n)=>{this.state[n]!==i&&(e=e||{},e[n]={from:this.state[n],to:i}),this.state[n]=i}),e&&nn(this)&&this.trigger({changes:e,type:"statechanged"}),e}};function Bh(r,e){return Object.assign(r,l3),r.state=Object.assign({},r.state,e),typeof r.handleStateChanged=="function"&&nn(r)&&r.on("statechanged",r.handleStateChanged),r}const Zr=function(r){return typeof r!="string"?r:r.replace(/./,e=>e.toLowerCase())},At=function(r){return typeof r!="string"?r:r.replace(/./,e=>e.toUpperCase())},Vh=function(r,e){return At(r)===At(e)};var u3=Object.freeze({__proto__:null,toLowerCase:Zr,toTitleCase:At,titleCaseEquals:Vh});class ge{constructor(e,i,n){if(!e&&this.play?this.player_=e=this:this.player_=e,this.isDisposed_=!1,this.parentComponent_=null,this.options_=ht({},this.options_),i=this.options_=ht(this.options_,i),this.id_=i.id||i.el&&i.el.id,!this.id_){const s=e&&e.id&&e.id()||"no_player";this.id_=`${s}_component_${Ei()}`}this.name_=i.name||null,i.el?this.el_=i.el:i.createEl!==!1&&(this.el_=this.createEl()),i.className&&this.el_&&i.className.split(" ").forEach(s=>this.addClass(s)),["on","off","one","any","trigger"].forEach(s=>{this[s]=void 0}),i.evented!==!1&&(Yl(this,{eventBusKey:this.el_?"el_":null}),this.handleLanguagechange=this.handleLanguagechange.bind(this),this.on(this.player_,"languagechange",this.handleLanguagechange)),Bh(this,this.constructor.defaultState),this.children_=[],this.childIndex_={},this.childNameIndex_={},this.setTimeoutIds_=new Set,this.setIntervalIds_=new Set,this.rafIds_=new Set,this.namedRafs_=new Map,this.clearingTimersOnDispose_=!1,i.initChildren!==!1&&this.initChildren(),this.ready(n),i.reportTouchActivity!==!1&&this.enableTouchActivity()}dispose(e={}){if(!this.isDisposed_){if(this.readyQueue_&&(this.readyQueue_.length=0),this.trigger({type:"dispose",bubbles:!1}),this.isDisposed_=!0,this.children_)for(let i=this.children_.length-1;i>=0;i--)this.children_[i].dispose&&this.children_[i].dispose();this.children_=null,this.childIndex_=null,this.childNameIndex_=null,this.parentComponent_=null,this.el_&&(this.el_.parentNode&&(e.restoreEl?this.el_.parentNode.replaceChild(e.restoreEl,this.el_):this.el_.parentNode.removeChild(this.el_)),this.el_=null),this.player_=null}}isDisposed(){return!!this.isDisposed_}player(){return this.player_}options(e){return e?(this.options_=ht(this.options_,e),this.options_):this.options_}el(){return this.el_}createEl(e,i,n){return Qe(e,i,n)}localize(e,i,n=e){const s=this.player_.language&&this.player_.language(),a=this.player_.languages&&this.player_.languages(),o=a&&a[s],l=s&&s.split("-")[0],c=a&&a[l];let d=n;return o&&o[e]?d=o[e]:c&&c[e]&&(d=c[e]),i&&(d=d.replace(/\{(\d+)\}/g,function(m,g){const E=i[g-1];let C=E;return typeof E>"u"&&(C=m),C})),d}handleLanguagechange(){}contentEl(){return this.contentEl_||this.el_}id(){return this.id_}name(){return this.name_}children(){return this.children_}getChildById(e){return this.childIndex_[e]}getChild(e){if(e)return this.childNameIndex_[e]}getDescendant(...e){e=e.reduce((n,s)=>n.concat(s),[]);let i=this;for(let n=0;n<e.length;n++)if(i=i.getChild(e[n]),!i||!i.getChild)return;return i}setIcon(e,i=this.el()){if(!this.player_.options_.experimentalSvgIcons)return;const n="http://www.w3.org/2000/svg",s=Qe("span",{className:"vjs-icon-placeholder vjs-svg-icon"},{"aria-hidden":"true"}),a=we.createElementNS(n,"svg");a.setAttributeNS(null,"viewBox","0 0 512 512");const o=we.createElementNS(n,"use");return a.appendChild(o),o.setAttributeNS(null,"href",`#vjs-icon-${e}`),s.appendChild(a),this.iconIsSet_?i.replaceChild(s,i.querySelector(".vjs-icon-placeholder")):i.appendChild(s),this.iconIsSet_=!0,s}addChild(e,i={},n=this.children_.length){let s,a;if(typeof e=="string"){a=At(e);const o=i.componentClass||a;i.name=a;const l=ge.getComponent(o);if(!l)throw new Error(`Component ${o} does not exist`);if(typeof l!="function")return null;s=new l(this.player_||this,i)}else s=e;if(s.parentComponent_&&s.parentComponent_.removeChild(s),this.children_.splice(n,0,s),s.parentComponent_=this,typeof s.id=="function"&&(this.childIndex_[s.id()]=s),a=a||s.name&&At(s.name()),a&&(this.childNameIndex_[a]=s,this.childNameIndex_[Zr(a)]=s),typeof s.el=="function"&&s.el()){let o=null;this.children_[n+1]&&(this.children_[n+1].el_?o=this.children_[n+1].el_:mr(this.children_[n+1])&&(o=this.children_[n+1])),this.contentEl().insertBefore(s.el(),o)}return s}removeChild(e){if(typeof e=="string"&&(e=this.getChild(e)),!e||!this.children_)return;let i=!1;for(let s=this.children_.length-1;s>=0;s--)if(this.children_[s]===e){i=!0,this.children_.splice(s,1);break}if(!i)return;e.parentComponent_=null,this.childIndex_[e.id()]=null,this.childNameIndex_[At(e.name())]=null,this.childNameIndex_[Zr(e.name())]=null;const n=e.el();n&&n.parentNode===this.contentEl()&&this.contentEl().removeChild(e.el())}initChildren(){const e=this.options_.children;if(e){const i=this.options_,n=o=>{const l=o.name;let c=o.opts;if(i[l]!==void 0&&(c=i[l]),c===!1)return;c===!0&&(c={}),c.playerOptions=this.options_.playerOptions;const d=this.addChild(l,c);d&&(this[l]=d)};let s;const a=ge.getComponent("Tech");Array.isArray(e)?s=e:s=Object.keys(e),s.concat(Object.keys(this.options_).filter(function(o){return!s.some(function(l){return typeof l=="string"?o===l:o===l.name})})).map(o=>{let l,c;return typeof o=="string"?(l=o,c=e[l]||this.options_[l]||{}):(l=o.name,c=o),{name:l,opts:c}}).filter(o=>{const l=ge.getComponent(o.opts.componentClass||At(o.name));return l&&!a.isTech(l)}).forEach(n)}}buildCSSClass(){return""}ready(e,i=!1){if(e){if(!this.isReady_){this.readyQueue_=this.readyQueue_||[],this.readyQueue_.push(e);return}i?e.call(this):this.setTimeout(e,1)}}triggerReady(){this.isReady_=!0,this.setTimeout(function(){const e=this.readyQueue_;this.readyQueue_=[],e&&e.length>0&&e.forEach(function(i){i.call(this)},this),this.trigger("ready")},1)}$(e,i){return vn(e,i||this.contentEl())}$$(e,i){return Th(e,i||this.contentEl())}hasClass(e){return Jr(this.el_,e)}addClass(...e){Nn(this.el_,...e)}removeClass(...e){Fa(this.el_,...e)}toggleClass(e,i){fh(this.el_,e,i)}show(){this.removeClass("vjs-hidden")}hide(){this.addClass("vjs-hidden")}lockShowing(){this.addClass("vjs-lock-showing")}unlockShowing(){this.removeClass("vjs-lock-showing")}getAttribute(e){return mh(this.el_,e)}setAttribute(e,i){ur(this.el_,e,i)}removeAttribute(e){Ua(this.el_,e)}width(e,i){return this.dimension("width",e,i)}height(e,i){return this.dimension("height",e,i)}dimensions(e,i){this.width(e,!0),this.height(i)}dimension(e,i,n){if(i!==void 0){(i===null||i!==i)&&(i=0),(""+i).indexOf("%")!==-1||(""+i).indexOf("px")!==-1?this.el_.style[e]=i:i==="auto"?this.el_.style[e]="":this.el_.style[e]=i+"px",n||this.trigger("componentresize");return}if(!this.el_)return 0;const s=this.el_.style[e],a=s.indexOf("px");return parseInt(a!==-1?s.slice(0,a):this.el_["offset"+At(e)],10)}currentDimension(e){let i=0;if(e!=="width"&&e!=="height")throw new Error("currentDimension only accepts width or height value");if(i=dr(this.el_,e),i=parseFloat(i),i===0||isNaN(i)){const n=`offset${At(e)}`;i=this.el_[n]}return i}currentDimensions(){return{width:this.currentDimension("width"),height:this.currentDimension("height")}}currentWidth(){return this.currentDimension("width")}currentHeight(){return this.currentDimension("height")}getPositions(){const e=this.el_.getBoundingClientRect(),i={x:e.x,y:e.y,width:e.width,height:e.height,top:e.top,right:e.right,bottom:e.bottom,left:e.left},n={x:e.left+e.width/2,y:e.top+e.height/2,width:0,height:0,top:e.top+e.height/2,right:e.left+e.width/2,bottom:e.top+e.height/2,left:e.left+e.width/2};return{boundingClientRect:i,center:n}}focus(){this.el_.focus()}blur(){this.el_.blur()}handleKeyDown(e){this.player_&&(e.key!=="Tab"&&!(this.player_.options_.playerOptions.spatialNavigation&&this.player_.options_.playerOptions.spatialNavigation.enabled)&&e.stopPropagation(),this.player_.handleKeyDown(e))}handleKeyPress(e){this.handleKeyDown(e)}emitTapEvents(){let e=0,i=null;const n=10,s=200;let a;this.on("touchstart",function(l){l.touches.length===1&&(i={pageX:l.touches[0].pageX,pageY:l.touches[0].pageY},e=K.performance.now(),a=!0)}),this.on("touchmove",function(l){if(l.touches.length>1)a=!1;else if(i){const c=l.touches[0].pageX-i.pageX,d=l.touches[0].pageY-i.pageY;Math.sqrt(c*c+d*d)>n&&(a=!1)}});const o=function(){a=!1};this.on("touchleave",o),this.on("touchcancel",o),this.on("touchend",function(l){i=null,a===!0&&K.performance.now()-e<s&&(l.preventDefault(),this.trigger("tap"))})}enableTouchActivity(){if(!this.player()||!this.player().reportUserActivity)return;const e=pt(this.player(),this.player().reportUserActivity);let i;this.on("touchstart",function(){e(),this.clearInterval(i),i=this.setInterval(e,250)});const n=function(s){e(),this.clearInterval(i)};this.on("touchmove",e),this.on("touchend",n),this.on("touchcancel",n)}setTimeout(e,i){var n;return e=pt(this,e),this.clearTimersOnDispose_(),n=K.setTimeout(()=>{this.setTimeoutIds_.has(n)&&this.setTimeoutIds_.delete(n),e()},i),this.setTimeoutIds_.add(n),n}clearTimeout(e){return this.setTimeoutIds_.has(e)&&(this.setTimeoutIds_.delete(e),K.clearTimeout(e)),e}setInterval(e,i){e=pt(this,e),this.clearTimersOnDispose_();const n=K.setInterval(e,i);return this.setIntervalIds_.add(n),n}clearInterval(e){return this.setIntervalIds_.has(e)&&(this.setIntervalIds_.delete(e),K.clearInterval(e)),e}requestAnimationFrame(e){this.clearTimersOnDispose_();var i;return e=pt(this,e),i=K.requestAnimationFrame(()=>{this.rafIds_.has(i)&&this.rafIds_.delete(i),e()}),this.rafIds_.add(i),i}requestNamedAnimationFrame(e,i){this.namedRafs_.has(e)&&this.cancelNamedAnimationFrame(e),this.clearTimersOnDispose_(),i=pt(this,i);const n=this.requestAnimationFrame(()=>{i(),this.namedRafs_.has(e)&&this.namedRafs_.delete(e)});return this.namedRafs_.set(e,n),e}cancelNamedAnimationFrame(e){this.namedRafs_.has(e)&&(this.cancelAnimationFrame(this.namedRafs_.get(e)),this.namedRafs_.delete(e))}cancelAnimationFrame(e){return this.rafIds_.has(e)&&(this.rafIds_.delete(e),K.cancelAnimationFrame(e)),e}clearTimersOnDispose_(){this.clearingTimersOnDispose_||(this.clearingTimersOnDispose_=!0,this.one("dispose",()=>{[["namedRafs_","cancelNamedAnimationFrame"],["rafIds_","cancelAnimationFrame"],["setTimeoutIds_","clearTimeout"],["setIntervalIds_","clearInterval"]].forEach(([e,i])=>{this[e].forEach((n,s)=>this[i](s))}),this.clearingTimersOnDispose_=!1}))}getIsDisabled(){return!!this.el_.disabled}getIsExpresslyInert(){return this.el_.inert&&!this.el_.ownerDocument.documentElement.inert}getIsFocusable(e){return(e||this.el_).tabIndex>=0&&!(this.getIsDisabled()||this.getIsExpresslyInert())}getIsAvailableToBeFocused(e){function i(a){const o=K.getComputedStyle(a,null),l=o.getPropertyValue("visibility");return o.getPropertyValue("display")!=="none"&&!["hidden","collapse"].includes(l)}function n(a){return!(!i(a.parentElement)||!i(a)||a.style.opacity==="0"||K.getComputedStyle(a).height==="0px"||K.getComputedStyle(a).width==="0px")}function s(a){if(a.offsetWidth+a.offsetHeight+a.getBoundingClientRect().height+a.getBoundingClientRect().width===0)return!1;const o={x:a.getBoundingClientRect().left+a.offsetWidth/2,y:a.getBoundingClientRect().top+a.offsetHeight/2};if(o.x<0||o.x>(we.documentElement.clientWidth||K.innerWidth)||o.y<0||o.y>(we.documentElement.clientHeight||K.innerHeight))return!1;let l=we.elementFromPoint(o.x,o.y);for(;l;){if(l===a)return!0;if(l.parentNode)l=l.parentNode;else return!1}}return e||(e=this.el()),!!(s(e)&&n(e)&&(!e.parentElement||e.tabIndex>=0))}static registerComponent(e,i){if(typeof e!="string"||!e)throw new Error(`Illegal component name, "${e}"; must be a non-empty string.`);const n=ge.getComponent("Tech"),s=n&&n.isTech(i),a=ge===i||ge.prototype.isPrototypeOf(i.prototype);if(s||!a){let l;throw s?l="techs must be registered using Tech.registerTech()":l="must be a Component subclass",new Error(`Illegal component, "${e}"; ${l}.`)}e=At(e),ge.components_||(ge.components_={});const o=ge.getComponent("Player");if(e==="Player"&&o&&o.players){const l=o.players,c=Object.keys(l);if(l&&c.length>0){for(let d=0;d<c.length;d++)if(l[c[d]]!==null)throw new Error("Can not register Player component after player has been created.")}}return ge.components_[e]=i,ge.components_[Zr(e)]=i,i}static getComponent(e){if(!(!e||!ge.components_))return ge.components_[e]}}ge.registerComponent("Component",ge);function c3(r,e,i){if(typeof e!="number"||e<0||e>i)throw new Error(`Failed to execute '${r}' on 'TimeRanges': The index provided (${e}) is non-numeric or out of bounds (0-${i}).`)}function cd(r,e,i,n){return c3(r,n,i.length-1),i[n][e]}function Fo(r){let e;return r===void 0||r.length===0?e={length:0,start(){throw new Error("This TimeRanges object is empty")},end(){throw new Error("This TimeRanges object is empty")}}:e={length:r.length,start:cd.bind(null,"start",0,r),end:cd.bind(null,"end",1,r)},K.Symbol&&K.Symbol.iterator&&(e[K.Symbol.iterator]=()=>(r||[]).values()),e}function Ni(r,e){return Array.isArray(r)?Fo(r):r===void 0||e===void 0?Fo():Fo([[r,e]])}const Ih=function(r,e){r=r<0?0:r;let i=Math.floor(r%60),n=Math.floor(r/60%60),s=Math.floor(r/3600);const a=Math.floor(e/60%60),o=Math.floor(e/3600);return(isNaN(r)||r===1/0)&&(s=n=i="-"),s=s>0||o>0?s+":":"",n=((s||a>=10)&&n<10?"0"+n:n)+":",i=i<10?"0"+i:i,s+n+i};let Kl=Ih;function Nh(r){Kl=r}function Oh(){Kl=Ih}function Rn(r,e=r){return Kl(r,e)}var d3=Object.freeze({__proto__:null,createTimeRanges:Ni,createTimeRange:Ni,setFormatTime:Nh,resetFormatTime:Oh,formatTime:Rn});function Ph(r,e){let i=0,n,s;if(!e)return 0;(!r||!r.length)&&(r=Ni(0,0));for(let a=0;a<r.length;a++)n=r.start(a),s=r.end(a),s>e&&(s=e),i+=s-n;return i/e}function Ct(r){if(r instanceof Ct)return r;typeof r=="number"?this.code=r:typeof r=="string"?this.message=r:Xi(r)&&(typeof r.code=="number"&&(this.code=r.code),Object.assign(this,r)),this.message||(this.message=Ct.defaultMessages[this.code]||"")}Ct.prototype.code=0;Ct.prototype.message="";Ct.prototype.status=null;Ct.prototype.metadata=null;Ct.errorTypes=["MEDIA_ERR_CUSTOM","MEDIA_ERR_ABORTED","MEDIA_ERR_NETWORK","MEDIA_ERR_DECODE","MEDIA_ERR_SRC_NOT_SUPPORTED","MEDIA_ERR_ENCRYPTED"];Ct.defaultMessages={1:"You aborted the media playback",2:"A network error caused the media download to fail part-way.",3:"The media playback was aborted due to a corruption problem or because the media used features your browser did not support.",4:"The media could not be loaded, either because the server or network failed or because the format is not supported.",5:"The media is encrypted and we do not have the keys to decrypt it."};Ct.MEDIA_ERR_CUSTOM=0;Ct.prototype.MEDIA_ERR_CUSTOM=0;Ct.MEDIA_ERR_ABORTED=1;Ct.prototype.MEDIA_ERR_ABORTED=1;Ct.MEDIA_ERR_NETWORK=2;Ct.prototype.MEDIA_ERR_NETWORK=2;Ct.MEDIA_ERR_DECODE=3;Ct.prototype.MEDIA_ERR_DECODE=3;Ct.MEDIA_ERR_SRC_NOT_SUPPORTED=4;Ct.prototype.MEDIA_ERR_SRC_NOT_SUPPORTED=4;Ct.MEDIA_ERR_ENCRYPTED=5;Ct.prototype.MEDIA_ERR_ENCRYPTED=5;function $r(r){return r!=null&&typeof r.then=="function"}function Ui(r){$r(r)&&r.then(null,e=>{})}const fl=function(r){return["kind","label","language","id","inBandMetadataTrackDispatchType","mode","src"].reduce((i,n,s)=>(r[n]&&(i[n]=r[n]),i),{cues:r.cues&&Array.prototype.map.call(r.cues,function(i){return{startTime:i.startTime,endTime:i.endTime,text:i.text,id:i.id}})})},h3=function(r){const e=r.$$("track"),i=Array.prototype.map.call(e,s=>s.track);return Array.prototype.map.call(e,function(s){const a=fl(s.track);return s.src&&(a.src=s.src),a}).concat(Array.prototype.filter.call(r.textTracks(),function(s){return i.indexOf(s)===-1}).map(fl))},f3=function(r,e){return r.forEach(function(i){const n=e.addRemoteTextTrack(i).track;!i.src&&i.cues&&i.cues.forEach(s=>n.addCue(s))}),e.textTracks()};var pl={textTracksToJson:h3,jsonToTextTracks:f3,trackToJson:fl};const Uo="vjs-modal-dialog";class vr extends ge{constructor(e,i){super(e,i),this.handleKeyDown_=n=>this.handleKeyDown(n),this.close_=n=>this.close(n),this.opened_=this.hasBeenOpened_=this.hasBeenFilled_=!1,this.closeable(!this.options_.uncloseable),this.content(this.options_.content),this.contentEl_=Qe("div",{className:`${Uo}-content`},{role:"document"}),this.descEl_=Qe("p",{className:`${Uo}-description vjs-control-text`,id:this.el().getAttribute("aria-describedby")}),bn(this.descEl_,this.description()),this.el_.appendChild(this.descEl_),this.el_.appendChild(this.contentEl_)}createEl(){return super.createEl("div",{className:this.buildCSSClass(),tabIndex:-1},{"aria-describedby":`${this.id()}_description`,"aria-hidden":"true","aria-label":this.label(),role:"dialog","aria-live":"polite"})}dispose(){this.contentEl_=null,this.descEl_=null,this.previouslyActiveEl_=null,super.dispose()}buildCSSClass(){return`${Uo} vjs-hidden ${super.buildCSSClass()}`}label(){return this.localize(this.options_.label||"Modal Window")}description(){let e=this.options_.description||this.localize("This is a modal window.");return this.closeable()&&(e+=" "+this.localize("This modal can be closed by pressing the Escape key or activating the close button.")),e}open(){if(this.opened_){this.options_.fillAlways&&this.fill();return}const e=this.player();this.trigger("beforemodalopen"),this.opened_=!0,(this.options_.fillAlways||!this.hasBeenOpened_&&!this.hasBeenFilled_)&&this.fill(),this.wasPlaying_=!e.paused(),this.options_.pauseOnOpen&&this.wasPlaying_&&e.pause(),this.on("keydown",this.handleKeyDown_),this.hadControls_=e.controls(),e.controls(!1),this.show(),this.conditionalFocus_(),this.el().setAttribute("aria-hidden","false"),this.trigger("modalopen"),this.hasBeenOpened_=!0}opened(e){return typeof e=="boolean"&&this[e?"open":"close"](),this.opened_}close(){if(!this.opened_)return;const e=this.player();this.trigger("beforemodalclose"),this.opened_=!1,this.wasPlaying_&&this.options_.pauseOnOpen&&e.play(),this.off("keydown",this.handleKeyDown_),this.hadControls_&&e.controls(!0),this.hide(),this.el().setAttribute("aria-hidden","true"),this.trigger({type:"modalclose",bubbles:!0}),this.conditionalBlur_(),this.options_.temporary&&this.dispose()}closeable(e){if(typeof e=="boolean"){const i=this.closeable_=!!e;let n=this.getChild("closeButton");if(i&&!n){const s=this.contentEl_;this.contentEl_=this.el_,n=this.addChild("closeButton",{controlText:"Close Modal Dialog"}),this.contentEl_=s,this.on(n,"close",this.close_)}!i&&n&&(this.off(n,"close",this.close_),this.removeChild(n),n.dispose())}return this.closeable_}fill(){this.fillWith(this.content())}fillWith(e){const i=this.contentEl(),n=i.parentNode,s=i.nextSibling;this.trigger("beforemodalfill"),this.hasBeenFilled_=!0,n.removeChild(i),this.empty(),Ch(i,e),this.trigger("modalfill"),s?n.insertBefore(i,s):n.appendChild(i);const a=this.getChild("closeButton");a&&n.appendChild(a.el_),this.trigger("aftermodalfill")}empty(){this.trigger("beforemodalempty"),Ha(this.contentEl()),this.trigger("modalempty")}content(e){return typeof e<"u"&&(this.content_=e),this.content_}conditionalFocus_(){const e=we.activeElement,i=this.player_.el_;this.previouslyActiveEl_=null,(i.contains(e)||i===e)&&(this.previouslyActiveEl_=e,this.focus())}conditionalBlur_(){this.previouslyActiveEl_&&(this.previouslyActiveEl_.focus(),this.previouslyActiveEl_=null)}handleKeyDown(e){if(this.trigger({type:"modalKeydown",originalEvent:e,target:this,bubbles:!0}),e.stopPropagation(),e.key==="Escape"&&this.closeable()){e.preventDefault(),this.close();return}if(e.key!=="Tab")return;const i=this.focusableEls_(),n=this.el_.querySelector(":focus");let s;for(let a=0;a<i.length;a++)if(n===i[a]){s=a;break}we.activeElement===this.el_&&(s=0),e.shiftKey&&s===0?(i[i.length-1].focus(),e.preventDefault()):!e.shiftKey&&s===i.length-1&&(i[0].focus(),e.preventDefault())}focusableEls_(){const e=this.el_.querySelectorAll("*");return Array.prototype.filter.call(e,i=>(i instanceof K.HTMLAnchorElement||i instanceof K.HTMLAreaElement)&&i.hasAttribute("href")||(i instanceof K.HTMLInputElement||i instanceof K.HTMLSelectElement||i instanceof K.HTMLTextAreaElement||i instanceof K.HTMLButtonElement)&&!i.hasAttribute("disabled")||i instanceof K.HTMLIFrameElement||i instanceof K.HTMLObjectElement||i instanceof K.HTMLEmbedElement||i.hasAttribute("tabindex")&&i.getAttribute("tabindex")!==-1||i.hasAttribute("contenteditable"))}}vr.prototype.options_={pauseOnOpen:!0,temporary:!0};ge.registerComponent("ModalDialog",vr);class qn extends gi{constructor(e=[]){super(),this.tracks_=[];for(let i=0;i<e.length;i++)this.addTrack(e[i])}get length(){return this.tracks_.length}addTrack(e){const i=this.tracks_.length;""+i in this||Object.defineProperty(this,i,{get(){return this.tracks_[i]}}),this.tracks_.indexOf(e)===-1&&(this.tracks_.push(e),this.trigger({track:e,type:"addtrack",target:this})),e.labelchange_=()=>{this.trigger({track:e,type:"labelchange",target:this})},nn(e)&&e.addEventListener("labelchange",e.labelchange_)}removeTrack(e){let i;for(let n=0,s=this.length;n<s;n++)if(this[n]===e){i=this[n],i.off&&i.off(),this.tracks_.splice(n,1);break}i&&this.trigger({track:i,type:"removetrack",target:this})}getTrackById(e){let i=null;for(let n=0,s=this.length;n<s;n++){const a=this[n];if(a.id===e){i=a;break}}return i}}qn.prototype.allowedEvents_={change:"change",addtrack:"addtrack",removetrack:"removetrack",labelchange:"labelchange"};for(const r in qn.prototype.allowedEvents_)qn.prototype["on"+r]=null;const zo=function(r,e){for(let i=0;i<r.length;i++)!Object.keys(r[i]).length||e.id===r[i].id||(r[i].enabled=!1)};class Mh extends qn{constructor(e=[]){for(let i=e.length-1;i>=0;i--)if(e[i].enabled){zo(e,e[i]);break}super(e),this.changing_=!1}addTrack(e){e.enabled&&zo(this,e),super.addTrack(e),e.addEventListener&&(e.enabledChange_=()=>{this.changing_||(this.changing_=!0,zo(this,e),this.changing_=!1,this.trigger("change"))},e.addEventListener("enabledchange",e.enabledChange_))}removeTrack(e){super.removeTrack(e),e.removeEventListener&&e.enabledChange_&&(e.removeEventListener("enabledchange",e.enabledChange_),e.enabledChange_=null)}}const Ho=function(r,e){for(let i=0;i<r.length;i++)!Object.keys(r[i]).length||e.id===r[i].id||(r[i].selected=!1)};class Lh extends qn{constructor(e=[]){for(let i=e.length-1;i>=0;i--)if(e[i].selected){Ho(e,e[i]);break}super(e),this.changing_=!1,Object.defineProperty(this,"selectedIndex",{get(){for(let i=0;i<this.length;i++)if(this[i].selected)return i;return-1},set(){}})}addTrack(e){e.selected&&Ho(this,e),super.addTrack(e),e.addEventListener&&(e.selectedChange_=()=>{this.changing_||(this.changing_=!0,Ho(this,e),this.changing_=!1,this.trigger("change"))},e.addEventListener("selectedchange",e.selectedChange_))}removeTrack(e){super.removeTrack(e),e.removeEventListener&&e.selectedChange_&&(e.removeEventListener("selectedchange",e.selectedChange_),e.selectedChange_=null)}}class Wl extends qn{addTrack(e){super.addTrack(e),this.queueChange_||(this.queueChange_=()=>this.queueTrigger("change")),this.triggerSelectedlanguagechange||(this.triggerSelectedlanguagechange_=()=>this.trigger("selectedlanguagechange")),e.addEventListener("modechange",this.queueChange_),["metadata","chapters"].indexOf(e.kind)===-1&&e.addEventListener("modechange",this.triggerSelectedlanguagechange_)}removeTrack(e){super.removeTrack(e),e.removeEventListener&&(this.queueChange_&&e.removeEventListener("modechange",this.queueChange_),this.selectedlanguagechange_&&e.removeEventListener("modechange",this.triggerSelectedlanguagechange_))}toJSON(){return this.tracks_.map(e=>e.toJSON())}}class p3{constructor(e=[]){this.trackElements_=[],Object.defineProperty(this,"length",{get(){return this.trackElements_.length}});for(let i=0,n=e.length;i<n;i++)this.addTrackElement_(e[i])}addTrackElement_(e){const i=this.trackElements_.length;""+i in this||Object.defineProperty(this,i,{get(){return this.trackElements_[i]}}),this.trackElements_.indexOf(e)===-1&&this.trackElements_.push(e)}getTrackElementByTrack_(e){let i;for(let n=0,s=this.trackElements_.length;n<s;n++)if(e===this.trackElements_[n].track){i=this.trackElements_[n];break}return i}removeTrackElement_(e){for(let i=0,n=this.trackElements_.length;i<n;i++)if(e===this.trackElements_[i]){this.trackElements_[i].track&&typeof this.trackElements_[i].track.off=="function"&&this.trackElements_[i].track.off(),typeof this.trackElements_[i].off=="function"&&this.trackElements_[i].off(),this.trackElements_.splice(i,1);break}}}class pa{constructor(e){pa.prototype.setCues_.call(this,e),Object.defineProperty(this,"length",{get(){return this.length_}})}setCues_(e){const i=this.length||0;let n=0;const s=e.length;this.cues_=e,this.length_=e.length;const a=function(o){""+o in this||Object.defineProperty(this,""+o,{get(){return this.cues_[o]}})};if(i<s)for(n=i;n<s;n++)a.call(this,n)}getCueById(e){let i=null;for(let n=0,s=this.length;n<s;n++){const a=this[n];if(a.id===e){i=a;break}}return i}}const m3={alternative:"alternative",captions:"captions",main:"main",sign:"sign",subtitles:"subtitles",commentary:"commentary"},g3={alternative:"alternative",descriptions:"descriptions",main:"main","main-desc":"main-desc",translation:"translation",commentary:"commentary"},v3={subtitles:"subtitles",captions:"captions",descriptions:"descriptions",chapters:"chapters",metadata:"metadata"},dd={disabled:"disabled",hidden:"hidden",showing:"showing"};class Jl extends gi{constructor(e={}){super();const i={id:e.id||"vjs_track_"+Ei(),kind:e.kind||"",language:e.language||""};let n=e.label||"";for(const s in i)Object.defineProperty(this,s,{get(){return i[s]},set(){}});Object.defineProperty(this,"label",{get(){return n},set(s){s!==n&&(n=s,this.trigger("labelchange"))}})}}const Zl=function(r){return new URL(r,we.baseURI)},Rh=function(r){return new URL(r,we.baseURI).href},$l=function(r){if(typeof r=="string"){const i=r.split("?")[0].replace(/\/+$/,"").match(/\.([^.\/]+)$/);return i?i[1].toLowerCase():""}return""},Qa=function(r,e=K.location){return Zl(r).origin!==e.origin};var y3=Object.freeze({__proto__:null,parseUrl:Zl,getAbsoluteURL:Rh,getFileExtension:$l,isCrossOrigin:Qa});const hd=function(r,e){const i=new K.WebVTT.Parser(K,K.vttjs,K.WebVTT.StringDecoder()),n=[];i.oncue=function(s){e.addCue(s)},i.onparsingerror=function(s){n.push(s)},i.onflush=function(){e.trigger({type:"loadeddata",target:e})},i.parse(r),n.length>0&&(K.console&&K.console.groupCollapsed&&K.console.groupCollapsed(`Text Track parsing errors for ${e.src}`),n.forEach(s=>et.error(s)),K.console&&K.console.groupEnd&&K.console.groupEnd()),i.flush()},fd=function(r,e){const i={uri:r},n=Qa(r);n&&(i.cors=n);const s=e.tech_.crossOrigin()==="use-credentials";s&&(i.withCredentials=s),F0(i,pt(this,function(a,o,l){if(a)return et.error(a,o);e.loaded_=!0,typeof K.WebVTT!="function"?e.tech_&&e.tech_.any(["vttjsloaded","vttjserror"],c=>{if(c.type==="vttjserror"){et.error(`vttjs failed to load, stopping trying to process ${e.src}`);return}return hd(l,e)}):hd(l,e)}))};class hs extends Jl{constructor(e={}){if(!e.tech)throw new Error("A tech was not provided.");const i=ht(e,{kind:v3[e.kind]||"subtitles",language:e.language||e.srclang||""});let n=dd[i.mode]||"disabled";const s=i.default;(i.kind==="metadata"||i.kind==="chapters")&&(n="hidden"),super(i),this.tech_=i.tech,this.cues_=[],this.activeCues_=[],this.preload_=this.tech_.preloadTextTracks!==!1;const a=new pa(this.cues_),o=new pa(this.activeCues_);let l=!1;this.timeupdateHandler=pt(this,function(d={}){if(!this.tech_.isDisposed()){if(!this.tech_.isReady_){d.type!=="timeupdate"&&(this.rvf_=this.tech_.requestVideoFrameCallback(this.timeupdateHandler));return}this.activeCues=this.activeCues,l&&(this.trigger("cuechange"),l=!1),d.type!=="timeupdate"&&(this.rvf_=this.tech_.requestVideoFrameCallback(this.timeupdateHandler))}});const c=()=>{this.stopTracking()};this.tech_.one("dispose",c),n!=="disabled"&&this.startTracking(),Object.defineProperties(this,{default:{get(){return s},set(){}},mode:{get(){return n},set(d){dd[d]&&n!==d&&(n=d,!this.preload_&&n!=="disabled"&&this.cues.length===0&&fd(this.src,this),this.stopTracking(),n!=="disabled"&&this.startTracking(),this.trigger("modechange"))}},cues:{get(){return this.loaded_?a:null},set(){}},activeCues:{get(){if(!this.loaded_)return null;if(this.cues.length===0)return o;const d=this.tech_.currentTime(),m=[];for(let g=0,E=this.cues.length;g<E;g++){const C=this.cues[g];C.startTime<=d&&C.endTime>=d&&m.push(C)}if(l=!1,m.length!==this.activeCues_.length)l=!0;else for(let g=0;g<m.length;g++)this.activeCues_.indexOf(m[g])===-1&&(l=!0);return this.activeCues_=m,o.setCues_(this.activeCues_),o},set(){}}}),i.src?(this.src=i.src,this.preload_||(this.loaded_=!0),(this.preload_||i.kind!=="subtitles"&&i.kind!=="captions")&&fd(this.src,this)):this.loaded_=!0}startTracking(){this.rvf_=this.tech_.requestVideoFrameCallback(this.timeupdateHandler),this.tech_.on("timeupdate",this.timeupdateHandler)}stopTracking(){this.rvf_&&(this.tech_.cancelVideoFrameCallback(this.rvf_),this.rvf_=void 0),this.tech_.off("timeupdate",this.timeupdateHandler)}addCue(e){let i=e;if(!("getCueAsHTML"in i)){i=new K.vttjs.VTTCue(e.startTime,e.endTime,e.text);for(const s in e)s in i||(i[s]=e[s]);i.id=e.id,i.originalCue_=e}const n=this.tech_.textTracks();for(let s=0;s<n.length;s++)n[s]!==this&&n[s].removeCue(i);this.cues_.push(i),this.cues.setCues_(this.cues_)}toJSON(){return pl.trackToJson(this)}removeCue(e){let i=this.cues_.length;for(;i--;){const n=this.cues_[i];if(n===e||n.originalCue_&&n.originalCue_===e){this.cues_.splice(i,1),this.cues.setCues_(this.cues_);break}}}}hs.prototype.allowedEvents_={cuechange:"cuechange"};class qh extends Jl{constructor(e={}){const i=ht(e,{kind:g3[e.kind]||""});super(i);let n=!1;Object.defineProperty(this,"enabled",{get(){return n},set(s){typeof s!="boolean"||s===n||(n=s,this.trigger("enabledchange"))}}),i.enabled&&(this.enabled=i.enabled),this.loaded_=!0}}class Fh extends Jl{constructor(e={}){const i=ht(e,{kind:m3[e.kind]||""});super(i);let n=!1;Object.defineProperty(this,"selected",{get(){return n},set(s){typeof s!="boolean"||s===n||(n=s,this.trigger("selectedchange"))}}),i.selected&&(this.selected=i.selected)}}class rn extends gi{constructor(e={}){super();let i;const n=new hs(e);this.kind=n.kind,this.src=n.src,this.srclang=n.language,this.label=n.label,this.default=n.default,Object.defineProperties(this,{readyState:{get(){return i}},track:{get(){return n}}}),i=rn.NONE,n.addEventListener("loadeddata",()=>{i=rn.LOADED,this.trigger({type:"load",target:this})})}}rn.prototype.allowedEvents_={load:"load"};rn.NONE=0;rn.LOADING=1;rn.LOADED=2;rn.ERROR=3;const Ci={audio:{ListClass:Mh,TrackClass:qh,capitalName:"Audio"},video:{ListClass:Lh,TrackClass:Fh,capitalName:"Video"},text:{ListClass:Wl,TrackClass:hs,capitalName:"Text"}};Object.keys(Ci).forEach(function(r){Ci[r].getterName=`${r}Tracks`,Ci[r].privateName=`${r}Tracks_`});const hr={remoteText:{ListClass:Wl,TrackClass:hs,capitalName:"RemoteText",getterName:"remoteTextTracks",privateName:"remoteTextTracks_"},remoteTextEl:{ListClass:p3,TrackClass:rn,capitalName:"RemoteTextTrackEls",getterName:"remoteTextTrackEls",privateName:"remoteTextTrackEls_"}},ti=Object.assign({},Ci,hr);hr.names=Object.keys(hr);Ci.names=Object.keys(Ci);ti.names=[].concat(hr.names).concat(Ci.names);function b3(r,e,i,n,s={}){const a=r.textTracks();s.kind=e,i&&(s.label=i),n&&(s.language=n),s.tech=r;const o=new ti.text.TrackClass(s);return a.addTrack(o),o}class Ye extends ge{constructor(e={},i=function(){}){e.reportTouchActivity=!1,super(null,e,i),this.onDurationChange_=n=>this.onDurationChange(n),this.trackProgress_=n=>this.trackProgress(n),this.trackCurrentTime_=n=>this.trackCurrentTime(n),this.stopTrackingCurrentTime_=n=>this.stopTrackingCurrentTime(n),this.disposeSourceHandler_=n=>this.disposeSourceHandler(n),this.queuedHanders_=new Set,this.hasStarted_=!1,this.on("playing",function(){this.hasStarted_=!0}),this.on("loadstart",function(){this.hasStarted_=!1}),ti.names.forEach(n=>{const s=ti[n];e&&e[s.getterName]&&(this[s.privateName]=e[s.getterName])}),this.featuresProgressEvents||this.manualProgressOn(),this.featuresTimeupdateEvents||this.manualTimeUpdatesOn(),["Text","Audio","Video"].forEach(n=>{e[`native${n}Tracks`]===!1&&(this[`featuresNative${n}Tracks`]=!1)}),e.nativeCaptions===!1||e.nativeTextTracks===!1?this.featuresNativeTextTracks=!1:(e.nativeCaptions===!0||e.nativeTextTracks===!0)&&(this.featuresNativeTextTracks=!0),this.featuresNativeTextTracks||this.emulateTextTracks(),this.preloadTextTracks=e.preloadTextTracks!==!1,this.autoRemoteTextTracks_=new ti.text.ListClass,this.initTrackListeners(),e.nativeControlsForTouch||this.emitTapEvents(),this.constructor&&(this.name_=this.constructor.name||"Unknown Tech")}triggerSourceset(e){this.isReady_||this.one("ready",()=>this.setTimeout(()=>this.triggerSourceset(e),1)),this.trigger({src:e,type:"sourceset"})}manualProgressOn(){this.on("durationchange",this.onDurationChange_),this.manualProgress=!0,this.one("ready",this.trackProgress_)}manualProgressOff(){this.manualProgress=!1,this.stopTrackingProgress(),this.off("durationchange",this.onDurationChange_)}trackProgress(e){this.stopTrackingProgress(),this.progressInterval=this.setInterval(pt(this,function(){const i=this.bufferedPercent();this.bufferedPercent_!==i&&this.trigger("progress"),this.bufferedPercent_=i,i===1&&this.stopTrackingProgress()}),500)}onDurationChange(e){this.duration_=this.duration()}buffered(){return Ni(0,0)}bufferedPercent(){return Ph(this.buffered(),this.duration_)}stopTrackingProgress(){this.clearInterval(this.progressInterval)}manualTimeUpdatesOn(){this.manualTimeUpdates=!0,this.on("play",this.trackCurrentTime_),this.on("pause",this.stopTrackingCurrentTime_)}manualTimeUpdatesOff(){this.manualTimeUpdates=!1,this.stopTrackingCurrentTime(),this.off("play",this.trackCurrentTime_),this.off("pause",this.stopTrackingCurrentTime_)}trackCurrentTime(){this.currentTimeInterval&&this.stopTrackingCurrentTime(),this.currentTimeInterval=this.setInterval(function(){this.trigger({type:"timeupdate",target:this,manuallyTriggered:!0})},250)}stopTrackingCurrentTime(){this.clearInterval(this.currentTimeInterval),this.trigger({type:"timeupdate",target:this,manuallyTriggered:!0})}dispose(){this.clearTracks(Ci.names),this.manualProgress&&this.manualProgressOff(),this.manualTimeUpdates&&this.manualTimeUpdatesOff(),super.dispose()}clearTracks(e){e=[].concat(e),e.forEach(i=>{const n=this[`${i}Tracks`]()||[];let s=n.length;for(;s--;){const a=n[s];i==="text"&&this.removeRemoteTextTrack(a),n.removeTrack(a)}})}cleanupAutoTextTracks(){const e=this.autoRemoteTextTracks_||[];let i=e.length;for(;i--;){const n=e[i];this.removeRemoteTextTrack(n)}}reset(){}crossOrigin(){}setCrossOrigin(){}error(e){return e!==void 0&&(this.error_=new Ct(e),this.trigger("error")),this.error_}played(){return this.hasStarted_?Ni(0,0):Ni()}play(){}setScrubbing(e){}scrubbing(){}setCurrentTime(e){this.manualTimeUpdates&&this.trigger({type:"timeupdate",target:this,manuallyTriggered:!0})}initTrackListeners(){Ci.names.forEach(e=>{const i=Ci[e],n=()=>{this.trigger(`${e}trackchange`)},s=this[i.getterName]();s.addEventListener("removetrack",n),s.addEventListener("addtrack",n),this.on("dispose",()=>{s.removeEventListener("removetrack",n),s.removeEventListener("addtrack",n)})})}addWebVttScript_(){if(!K.WebVTT)if(we.body.contains(this.el())){if(!this.options_["vtt.js"]&&lr(Lc)&&Object.keys(Lc).length>0){this.trigger("vttjsloaded");return}const e=we.createElement("script");e.src=this.options_["vtt.js"]||"https://vjs.zencdn.net/vttjs/0.14.1/vtt.min.js",e.onload=()=>{this.trigger("vttjsloaded")},e.onerror=()=>{this.trigger("vttjserror")},this.on("dispose",()=>{e.onload=null,e.onerror=null}),K.WebVTT=!0,this.el().parentNode.appendChild(e)}else this.ready(this.addWebVttScript_)}emulateTextTracks(){const e=this.textTracks(),i=this.remoteTextTracks(),n=l=>e.addTrack(l.track),s=l=>e.removeTrack(l.track);i.on("addtrack",n),i.on("removetrack",s),this.addWebVttScript_();const a=()=>this.trigger("texttrackchange"),o=()=>{a();for(let l=0;l<e.length;l++){const c=e[l];c.removeEventListener("cuechange",a),c.mode==="showing"&&c.addEventListener("cuechange",a)}};o(),e.addEventListener("change",o),e.addEventListener("addtrack",o),e.addEventListener("removetrack",o),this.on("dispose",function(){i.off("addtrack",n),i.off("removetrack",s),e.removeEventListener("change",o),e.removeEventListener("addtrack",o),e.removeEventListener("removetrack",o);for(let l=0;l<e.length;l++)e[l].removeEventListener("cuechange",a)})}addTextTrack(e,i,n){if(!e)throw new Error("TextTrack kind is required but was not provided");return b3(this,e,i,n)}createRemoteTextTrack(e){const i=ht(e,{tech:this});return new hr.remoteTextEl.TrackClass(i)}addRemoteTextTrack(e={},i){const n=this.createRemoteTextTrack(e);return typeof i!="boolean"&&(i=!1),this.remoteTextTrackEls().addTrackElement_(n),this.remoteTextTracks().addTrack(n.track),i===!1&&this.ready(()=>this.autoRemoteTextTracks_.addTrack(n.track)),n}removeRemoteTextTrack(e){const i=this.remoteTextTrackEls().getTrackElementByTrack_(e);this.remoteTextTrackEls().removeTrackElement_(i),this.remoteTextTracks().removeTrack(e),this.autoRemoteTextTracks_.removeTrack(e)}getVideoPlaybackQuality(){return{}}requestPictureInPicture(){return Promise.reject()}disablePictureInPicture(){return!0}setDisablePictureInPicture(){}requestVideoFrameCallback(e){const i=Ei();return!this.isReady_||this.paused()?(this.queuedHanders_.add(i),this.one("playing",()=>{this.queuedHanders_.has(i)&&(this.queuedHanders_.delete(i),e())})):this.requestNamedAnimationFrame(i,e),i}cancelVideoFrameCallback(e){this.queuedHanders_.has(e)?this.queuedHanders_.delete(e):this.cancelNamedAnimationFrame(e)}setPoster(){}playsinline(){}setPlaysinline(){}overrideNativeAudioTracks(e){}overrideNativeVideoTracks(e){}canPlayType(e){return""}static canPlayType(e){return""}static canPlaySource(e,i){return Ye.canPlayType(e.type)}static isTech(e){return e.prototype instanceof Ye||e instanceof Ye||e===Ye}static registerTech(e,i){if(Ye.techs_||(Ye.techs_={}),!Ye.isTech(i))throw new Error(`Tech ${e} must be a Tech`);if(!Ye.canPlayType)throw new Error("Techs must have a static canPlayType method on them");if(!Ye.canPlaySource)throw new Error("Techs must have a static canPlaySource method on them");return e=At(e),Ye.techs_[e]=i,Ye.techs_[Zr(e)]=i,e!=="Tech"&&Ye.defaultTechOrder_.push(e),i}static getTech(e){if(e){if(Ye.techs_&&Ye.techs_[e])return Ye.techs_[e];if(e=At(e),K&&K.videojs&&K.videojs[e])return et.warn(`The ${e} tech was added to the videojs object when it should be registered using videojs.registerTech(name, tech)`),K.videojs[e]}}}ti.names.forEach(function(r){const e=ti[r];Ye.prototype[e.getterName]=function(){return this[e.privateName]=this[e.privateName]||new e.ListClass,this[e.privateName]}});Ye.prototype.featuresVolumeControl=!0;Ye.prototype.featuresMuteControl=!0;Ye.prototype.featuresFullscreenResize=!1;Ye.prototype.featuresPlaybackRate=!1;Ye.prototype.featuresProgressEvents=!1;Ye.prototype.featuresSourceset=!1;Ye.prototype.featuresTimeupdateEvents=!1;Ye.prototype.featuresNativeTextTracks=!1;Ye.prototype.featuresVideoFrameCallback=!1;Ye.withSourceHandlers=function(r){r.registerSourceHandler=function(i,n){let s=r.sourceHandlers;s||(s=r.sourceHandlers=[]),n===void 0&&(n=s.length),s.splice(n,0,i)},r.canPlayType=function(i){const n=r.sourceHandlers||[];let s;for(let a=0;a<n.length;a++)if(s=n[a].canPlayType(i),s)return s;return""},r.selectSourceHandler=function(i,n){const s=r.sourceHandlers||[];let a;for(let o=0;o<s.length;o++)if(a=s[o].canHandleSource(i,n),a)return s[o];return null},r.canPlaySource=function(i,n){const s=r.selectSourceHandler(i,n);return s?s.canHandleSource(i,n):""},["seekable","seeking","duration"].forEach(function(i){const n=this[i];typeof n=="function"&&(this[i]=function(){return this.sourceHandler_&&this.sourceHandler_[i]?this.sourceHandler_[i].apply(this.sourceHandler_,arguments):n.apply(this,arguments)})},r.prototype),r.prototype.setSource=function(i){let n=r.selectSourceHandler(i,this.options_);n||(r.nativeSourceHandler?n=r.nativeSourceHandler:et.error("No source handler found for the current source.")),this.disposeSourceHandler(),this.off("dispose",this.disposeSourceHandler_),n!==r.nativeSourceHandler&&(this.currentSource_=i),this.sourceHandler_=n.handleSource(i,this,this.options_),this.one("dispose",this.disposeSourceHandler_)},r.prototype.disposeSourceHandler=function(){this.currentSource_&&(this.clearTracks(["audio","video"]),this.currentSource_=null),this.cleanupAutoTextTracks(),this.sourceHandler_&&(this.sourceHandler_.dispose&&this.sourceHandler_.dispose(),this.sourceHandler_=null)}};ge.registerComponent("Tech",Ye);Ye.registerTech("Tech",Ye);Ye.defaultTechOrder_=[];const On={},ma={},ga={};function C3(r,e){On[r]=On[r]||[],On[r].push(e)}function T3(r,e,i){r.setTimeout(()=>_n(e,On[e.type],i,r),1)}function A3(r,e){r.forEach(i=>i.setTech&&i.setTech(e))}function E3(r,e,i){return r.reduceRight(eu(i),e[i]())}function x3(r,e,i,n){return e[i](r.reduce(eu(i),n))}function pd(r,e,i,n=null){const s="call"+At(i),a=r.reduce(eu(s),n),o=a===ga,l=o?null:e[i](a);return S3(r,i,l,o),l}const k3={buffered:1,currentTime:1,duration:1,muted:1,played:1,paused:1,seekable:1,volume:1,ended:1},_3={setCurrentTime:1,setMuted:1,setVolume:1},md={play:1,pause:1};function eu(r){return(e,i)=>e===ga?ga:i[r]?i[r](e):e}function S3(r,e,i,n){for(let s=r.length-1;s>=0;s--){const a=r[s];a[e]&&a[e](n,i)}}function w3(r){ma.hasOwnProperty(r.id())&&delete ma[r.id()]}function D3(r,e){const i=ma[r.id()];let n=null;if(i==null)return n=e(r),ma[r.id()]=[[e,n]],n;for(let s=0;s<i.length;s++){const[a,o]=i[s];a===e&&(n=o)}return n===null&&(n=e(r),i.push([e,n])),n}function _n(r={},e=[],i,n,s=[],a=!1){const[o,...l]=e;if(typeof o=="string")_n(r,On[o],i,n,s,a);else if(o){const c=D3(n,o);if(!c.setSource)return s.push(c),_n(r,l,i,n,s,a);c.setSource(Object.assign({},r),function(d,m){if(d)return _n(r,l,i,n,s,a);s.push(c),_n(m,r.type===m.type?l:On[m.type],i,n,s,a)})}else l.length?_n(r,l,i,n,s,a):a?i(r,s):_n(r,On["*"],i,n,s,!0)}const B3={opus:"video/ogg",ogv:"video/ogg",mp4:"video/mp4",mov:"video/mp4",m4v:"video/mp4",mkv:"video/x-matroska",m4a:"audio/mp4",mp3:"audio/mpeg",aac:"audio/aac",caf:"audio/x-caf",flac:"audio/flac",oga:"audio/ogg",wav:"audio/wav",m3u8:"application/x-mpegURL",mpd:"application/dash+xml",jpg:"image/jpeg",jpeg:"image/jpeg",gif:"image/gif",png:"image/png",svg:"image/svg+xml",webp:"image/webp"},va=function(r=""){const e=$l(r);return B3[e.toLowerCase()]||""},V3=(r,e)=>{if(!e)return"";if(r.cache_.source.src===e&&r.cache_.source.type)return r.cache_.source.type;const i=r.cache_.sources.filter(s=>s.src===e);if(i.length)return i[0].type;const n=r.$$("source");for(let s=0;s<n.length;s++){const a=n[s];if(a.type&&a.src&&a.src===e)return a.type}return va(e)},Uh=function(r){if(Array.isArray(r)){let e=[];r.forEach(function(i){i=Uh(i),Array.isArray(i)?e=e.concat(i):Xi(i)&&e.push(i)}),r=e}else typeof r=="string"&&r.trim()?r=[gd({src:r})]:Xi(r)&&typeof r.src=="string"&&r.src&&r.src.trim()?r=[gd(r)]:r=[];return r};function gd(r){if(!r.type){const e=va(r.src);e&&(r.type=e)}return r}var I3=`<svg xmlns="http://www.w3.org/2000/svg">
|
|
39
|
+
<defs>
|
|
40
|
+
<symbol viewBox="0 0 48 48" id="vjs-icon-play">
|
|
41
|
+
<path d="M16 10v28l22-14z"></path>
|
|
42
|
+
</symbol>
|
|
43
|
+
<symbol viewBox="0 0 48 48" id="vjs-icon-pause">
|
|
44
|
+
<path d="M12 38h8V10h-8v28zm16-28v28h8V10h-8z"></path>
|
|
45
|
+
</symbol>
|
|
46
|
+
<symbol viewBox="0 0 48 48" id="vjs-icon-audio">
|
|
47
|
+
<path d="M24 2C14.06 2 6 10.06 6 20v14c0 3.31 2.69 6 6 6h6V24h-8v-4c0-7.73 6.27-14 14-14s14 6.27 14 14v4h-8v16h6c3.31 0 6-2.69 6-6V20c0-9.94-8.06-18-18-18z"></path>
|
|
48
|
+
</symbol>
|
|
49
|
+
<symbol viewBox="0 0 48 48" id="vjs-icon-captions">
|
|
50
|
+
<path d="M38 8H10c-2.21 0-4 1.79-4 4v24c0 2.21 1.79 4 4 4h28c2.21 0 4-1.79 4-4V12c0-2.21-1.79-4-4-4zM22 22h-3v-1h-4v6h4v-1h3v2a2 2 0 0 1-2 2h-6a2 2 0 0 1-2-2v-8a2 2 0 0 1 2-2h6a2 2 0 0 1 2 2v2zm14 0h-3v-1h-4v6h4v-1h3v2a2 2 0 0 1-2 2h-6a2 2 0 0 1-2-2v-8a2 2 0 0 1 2-2h6a2 2 0 0 1 2 2v2z"></path>
|
|
51
|
+
</symbol>
|
|
52
|
+
<symbol viewBox="0 0 48 48" id="vjs-icon-subtitles">
|
|
53
|
+
<path d="M40 8H8c-2.21 0-4 1.79-4 4v24c0 2.21 1.79 4 4 4h32c2.21 0 4-1.79 4-4V12c0-2.21-1.79-4-4-4zM8 24h8v4H8v-4zm20 12H8v-4h20v4zm12 0h-8v-4h8v4zm0-8H20v-4h20v4z"></path>
|
|
54
|
+
</symbol>
|
|
55
|
+
<symbol viewBox="0 0 48 48" id="vjs-icon-fullscreen-enter">
|
|
56
|
+
<path d="M14 28h-4v10h10v-4h-6v-6zm-4-8h4v-6h6v-4H10v10zm24 14h-6v4h10V28h-4v6zm-6-24v4h6v6h4V10H28z"></path>
|
|
57
|
+
</symbol>
|
|
58
|
+
<symbol viewBox="0 0 48 48" id="vjs-icon-fullscreen-exit">
|
|
59
|
+
<path d="M10 32h6v6h4V28H10v4zm6-16h-6v4h10V10h-4v6zm12 22h4v-6h6v-4H28v10zm4-22v-6h-4v10h10v-4h-6z"></path>
|
|
60
|
+
</symbol>
|
|
61
|
+
<symbol viewBox="0 0 48 48" id="vjs-icon-play-circle">
|
|
62
|
+
<path d="M20 33l12-9-12-9v18zm4-29C12.95 4 4 12.95 4 24s8.95 20 20 20 20-8.95 20-20S35.05 4 24 4zm0 36c-8.82 0-16-7.18-16-16S15.18 8 24 8s16 7.18 16 16-7.18 16-16 16z"></path>
|
|
63
|
+
</symbol>
|
|
64
|
+
<symbol viewBox="0 0 48 48" id="vjs-icon-volume-mute">
|
|
65
|
+
<path d="M33 24c0-3.53-2.04-6.58-5-8.05v4.42l4.91 4.91c.06-.42.09-.85.09-1.28zm5 0c0 1.88-.41 3.65-1.08 5.28l3.03 3.03C41.25 29.82 42 27 42 24c0-8.56-5.99-15.72-14-17.54v4.13c5.78 1.72 10 7.07 10 13.41zM8.55 6L6 8.55 15.45 18H6v12h8l10 10V26.55l8.51 8.51c-1.34 1.03-2.85 1.86-4.51 2.36v4.13a17.94 17.94 0 0 0 7.37-3.62L39.45 42 42 39.45l-18-18L8.55 6zM24 8l-4.18 4.18L24 16.36V8z"></path>
|
|
66
|
+
</symbol>
|
|
67
|
+
<symbol viewBox="0 0 48 48" id="vjs-icon-volume-low">
|
|
68
|
+
<path d="M14 18v12h8l10 10V8L22 18h-8z"></path>
|
|
69
|
+
</symbol>
|
|
70
|
+
<symbol viewBox="0 0 48 48" id="vjs-icon-volume-medium">
|
|
71
|
+
<path d="M37 24c0-3.53-2.04-6.58-5-8.05v16.11c2.96-1.48 5-4.53 5-8.06zm-27-6v12h8l10 10V8L18 18h-8z"></path>
|
|
72
|
+
</symbol>
|
|
73
|
+
<symbol viewBox="0 0 48 48" id="vjs-icon-volume-high">
|
|
74
|
+
<path d="M6 18v12h8l10 10V8L14 18H6zm27 6c0-3.53-2.04-6.58-5-8.05v16.11c2.96-1.48 5-4.53 5-8.06zM28 6.46v4.13c5.78 1.72 10 7.07 10 13.41s-4.22 11.69-10 13.41v4.13c8.01-1.82 14-8.97 14-17.54S36.01 8.28 28 6.46z"></path>
|
|
75
|
+
</symbol>
|
|
76
|
+
<symbol viewBox="0 0 48 48" id="vjs-icon-spinner">
|
|
77
|
+
<path d="M18.8 21l9.53-16.51C26.94 4.18 25.49 4 24 4c-4.8 0-9.19 1.69-12.64 4.51l7.33 12.69.11-.2zm24.28-3c-1.84-5.85-6.3-10.52-11.99-12.68L23.77 18h19.31zm.52 2H28.62l.58 1 9.53 16.5C41.99 33.94 44 29.21 44 24c0-1.37-.14-2.71-.4-4zm-26.53 4l-7.8-13.5C6.01 14.06 4 18.79 4 24c0 1.37.14 2.71.4 4h14.98l-2.31-4zM4.92 30c1.84 5.85 6.3 10.52 11.99 12.68L24.23 30H4.92zm22.54 0l-7.8 13.51c1.4.31 2.85.49 4.34.49 4.8 0 9.19-1.69 12.64-4.51L29.31 26.8 27.46 30z"></path>
|
|
78
|
+
</symbol>
|
|
79
|
+
<symbol viewBox="0 0 24 24" id="vjs-icon-hd">
|
|
80
|
+
<path d="M19 3H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-8 12H9.5v-2h-2v2H6V9h1.5v2.5h2V9H11v6zm2-6h4c.55 0 1 .45 1 1v4c0 .55-.45 1-1 1h-4V9zm1.5 4.5h2v-3h-2v3z"></path>
|
|
81
|
+
</symbol>
|
|
82
|
+
<symbol viewBox="0 0 48 48" id="vjs-icon-chapters">
|
|
83
|
+
<path d="M6 26h4v-4H6v4zm0 8h4v-4H6v4zm0-16h4v-4H6v4zm8 8h28v-4H14v4zm0 8h28v-4H14v4zm0-20v4h28v-4H14z"></path>
|
|
84
|
+
</symbol>
|
|
85
|
+
<symbol viewBox="0 0 40 40" id="vjs-icon-downloading">
|
|
86
|
+
<path d="M18.208 36.875q-3.208-.292-5.979-1.729-2.771-1.438-4.812-3.729-2.042-2.292-3.188-5.229-1.146-2.938-1.146-6.23 0-6.583 4.334-11.416 4.333-4.834 10.833-5.5v3.166q-5.167.75-8.583 4.646Q6.25 14.75 6.25 19.958q0 5.209 3.396 9.104 3.396 3.896 8.562 4.646zM20 28.417L11.542 20l2.083-2.083 4.917 4.916v-11.25h2.916v11.25l4.875-4.916L28.417 20zm1.792 8.458v-3.167q1.833-.25 3.541-.958 1.709-.708 3.167-1.875l2.333 2.292q-1.958 1.583-4.25 2.541-2.291.959-4.791 1.167zm6.791-27.792q-1.541-1.125-3.25-1.854-1.708-.729-3.541-1.021V3.042q2.5.25 4.77 1.208 2.271.958 4.271 2.5zm4.584 21.584l-2.25-2.25q1.166-1.5 1.854-3.209.687-1.708.937-3.541h3.209q-.292 2.5-1.229 4.791-.938 2.292-2.521 4.209zm.541-12.417q-.291-1.833-.958-3.562-.667-1.73-1.833-3.188l2.375-2.208q1.541 1.916 2.458 4.208.917 2.292 1.167 4.75z"></path>
|
|
87
|
+
</symbol>
|
|
88
|
+
<symbol viewBox="0 0 48 48" id="vjs-icon-file-download">
|
|
89
|
+
<path d="M10.8 40.55q-1.35 0-2.375-1T7.4 37.15v-7.7h3.4v7.7h26.35v-7.7h3.4v7.7q0 1.4-1 2.4t-2.4 1zM24 32.1L13.9 22.05l2.45-2.45 5.95 5.95V7.15h3.4v18.4l5.95-5.95 2.45 2.45z"></path>
|
|
90
|
+
</symbol>
|
|
91
|
+
<symbol viewBox="0 0 48 48" id="vjs-icon-file-download-done">
|
|
92
|
+
<path d="M9.8 40.5v-3.45h28.4v3.45zm9.2-9.05L7.4 19.85l2.45-2.35L19 26.65l19.2-19.2 2.4 2.4z"></path>
|
|
93
|
+
</symbol>
|
|
94
|
+
<symbol viewBox="0 0 48 48" id="vjs-icon-file-download-off">
|
|
95
|
+
<path d="M4.9 4.75L43.25 43.1 41 45.3l-4.75-4.75q-.05.05-.075.025-.025-.025-.075-.025H10.8q-1.35 0-2.375-1T7.4 37.15v-7.7h3.4v7.7h22.05l-7-7-1.85 1.8L13.9 21.9l1.85-1.85L2.7 7zm26.75 14.7l2.45 2.45-3.75 3.8-2.45-2.5zM25.7 7.15V21.1l-3.4-3.45V7.15z"></path>
|
|
96
|
+
</symbol>
|
|
97
|
+
<symbol viewBox="0 0 48 48" id="vjs-icon-share">
|
|
98
|
+
<path d="M36 32.17c-1.52 0-2.89.59-3.93 1.54L17.82 25.4c.11-.45.18-.92.18-1.4s-.07-.95-.18-1.4l14.1-8.23c1.07 1 2.5 1.62 4.08 1.62 3.31 0 6-2.69 6-6s-2.69-6-6-6-6 2.69-6 6c0 .48.07.95.18 1.4l-14.1 8.23c-1.07-1-2.5-1.62-4.08-1.62-3.31 0-6 2.69-6 6s2.69 6 6 6c1.58 0 3.01-.62 4.08-1.62l14.25 8.31c-.1.42-.16.86-.16 1.31A5.83 5.83 0 1 0 36 32.17z"></path>
|
|
99
|
+
</symbol>
|
|
100
|
+
<symbol viewBox="0 0 48 48" id="vjs-icon-cog">
|
|
101
|
+
<path d="M38.86 25.95c.08-.64.14-1.29.14-1.95s-.06-1.31-.14-1.95l4.23-3.31c.38-.3.49-.84.24-1.28l-4-6.93c-.25-.43-.77-.61-1.22-.43l-4.98 2.01c-1.03-.79-2.16-1.46-3.38-1.97L29 4.84c-.09-.47-.5-.84-1-.84h-8c-.5 0-.91.37-.99.84l-.75 5.3a14.8 14.8 0 0 0-3.38 1.97L9.9 10.1a1 1 0 0 0-1.22.43l-4 6.93c-.25.43-.14.97.24 1.28l4.22 3.31C9.06 22.69 9 23.34 9 24s.06 1.31.14 1.95l-4.22 3.31c-.38.3-.49.84-.24 1.28l4 6.93c.25.43.77.61 1.22.43l4.98-2.01c1.03.79 2.16 1.46 3.38 1.97l.75 5.3c.08.47.49.84.99.84h8c.5 0 .91-.37.99-.84l.75-5.3a14.8 14.8 0 0 0 3.38-1.97l4.98 2.01a1 1 0 0 0 1.22-.43l4-6.93c.25-.43.14-.97-.24-1.28l-4.22-3.31zM24 31c-3.87 0-7-3.13-7-7s3.13-7 7-7 7 3.13 7 7-3.13 7-7 7z"></path>
|
|
102
|
+
</symbol>
|
|
103
|
+
<symbol viewBox="0 0 48 48" id="vjs-icon-square">
|
|
104
|
+
<path d="M36 8H12c-2.21 0-4 1.79-4 4v24c0 2.21 1.79 4 4 4h24c2.21 0 4-1.79 4-4V12c0-2.21-1.79-4-4-4zm0 28H12V12h24v24z"></path>
|
|
105
|
+
</symbol>
|
|
106
|
+
<symbol viewBox="0 0 48 48" id="vjs-icon-circle">
|
|
107
|
+
<circle cx="24" cy="24" r="20"></circle>
|
|
108
|
+
</symbol>
|
|
109
|
+
<symbol viewBox="0 0 48 48" id="vjs-icon-circle-outline">
|
|
110
|
+
<path d="M24 4C12.95 4 4 12.95 4 24s8.95 20 20 20 20-8.95 20-20S35.05 4 24 4zm0 36c-8.82 0-16-7.18-16-16S15.18 8 24 8s16 7.18 16 16-7.18 16-16 16z"></path>
|
|
111
|
+
</symbol>
|
|
112
|
+
<symbol viewBox="0 0 48 48" id="vjs-icon-circle-inner-circle">
|
|
113
|
+
<path d="M24 4C12.97 4 4 12.97 4 24s8.97 20 20 20 20-8.97 20-20S35.03 4 24 4zm0 36c-8.82 0-16-7.18-16-16S15.18 8 24 8s16 7.18 16 16-7.18 16-16 16zm6-16c0 3.31-2.69 6-6 6s-6-2.69-6-6 2.69-6 6-6 6 2.69 6 6z"></path>
|
|
114
|
+
</symbol>
|
|
115
|
+
<symbol viewBox="0 0 48 48" id="vjs-icon-cancel">
|
|
116
|
+
<path d="M24 4C12.95 4 4 12.95 4 24s8.95 20 20 20 20-8.95 20-20S35.05 4 24 4zm10 27.17L31.17 34 24 26.83 16.83 34 14 31.17 21.17 24 14 16.83 16.83 14 24 21.17 31.17 14 34 16.83 26.83 24 34 31.17z"></path>
|
|
117
|
+
</symbol>
|
|
118
|
+
<symbol viewBox="0 0 48 48" id="vjs-icon-replay">
|
|
119
|
+
<path d="M24 10V2L14 12l10 10v-8c6.63 0 12 5.37 12 12s-5.37 12-12 12-12-5.37-12-12H8c0 8.84 7.16 16 16 16s16-7.16 16-16-7.16-16-16-16z"></path>
|
|
120
|
+
</symbol>
|
|
121
|
+
<symbol viewBox="0 0 48 48" id="vjs-icon-repeat">
|
|
122
|
+
<path d="M14 14h20v6l8-8-8-8v6H10v12h4v-8zm20 20H14v-6l-8 8 8 8v-6h24V26h-4v8z"></path>
|
|
123
|
+
</symbol>
|
|
124
|
+
<symbol viewBox="0 96 48 48" id="vjs-icon-replay-5">
|
|
125
|
+
<path d="M17.689 98l-8.697 8.696 8.697 8.697 2.486-2.485-4.32-4.319h1.302c4.93 0 9.071 1.722 12.424 5.165 3.352 3.443 5.029 7.638 5.029 12.584h3.55c0-2.958-.553-5.73-1.658-8.313-1.104-2.583-2.622-4.841-4.555-6.774-1.932-1.932-4.19-3.45-6.773-4.555-2.584-1.104-5.355-1.657-8.313-1.657H15.5l4.615-4.615zm-8.08 21.659v13.861h11.357v5.008H9.609V143h12.7c.834 0 1.55-.298 2.146-.894.596-.597.895-1.31.895-2.145v-7.781c0-.835-.299-1.55-.895-2.147a2.929 2.929 0 0 0-2.147-.894h-8.227v-5.096H25.35v-4.384z"></path>
|
|
126
|
+
</symbol>
|
|
127
|
+
<symbol viewBox="0 96 48 48" id="vjs-icon-replay-10">
|
|
128
|
+
<path d="M42.315 125.63c0-4.997-1.694-9.235-5.08-12.713-3.388-3.479-7.571-5.218-12.552-5.218h-1.315l4.363 4.363-2.51 2.51-8.787-8.786L25.221 97l2.45 2.45-4.662 4.663h1.375c2.988 0 5.788.557 8.397 1.673 2.61 1.116 4.892 2.65 6.844 4.602 1.953 1.953 3.487 4.234 4.602 6.844 1.116 2.61 1.674 5.41 1.674 8.398zM8.183 142v-19.657H3.176V117.8h9.643V142zm13.63 0c-1.156 0-2.127-.393-2.912-1.178-.778-.778-1.168-1.746-1.168-2.902v-16.04c0-1.156.393-2.127 1.178-2.912.779-.779 1.746-1.168 2.902-1.168h7.696c1.156 0 2.126.392 2.911 1.177.779.78 1.168 1.747 1.168 2.903v16.04c0 1.156-.392 2.127-1.177 2.912-.779.779-1.746 1.168-2.902 1.168zm.556-4.636h6.583v-15.02H22.37z"></path>
|
|
129
|
+
</symbol>
|
|
130
|
+
<symbol viewBox="0 96 48 48" id="vjs-icon-replay-30">
|
|
131
|
+
<path d="M26.047 97l-8.733 8.732 8.733 8.733 2.496-2.494-4.336-4.338h1.307c4.95 0 9.108 1.73 12.474 5.187 3.367 3.458 5.051 7.668 5.051 12.635h3.565c0-2.97-.556-5.751-1.665-8.346-1.109-2.594-2.633-4.862-4.574-6.802-1.94-1.941-4.208-3.466-6.803-4.575-2.594-1.109-5.375-1.664-8.345-1.664H23.85l4.634-4.634zM2.555 117.531v4.688h10.297v5.25H5.873v4.687h6.979v5.156H2.555V142H13.36c1.061 0 1.95-.395 2.668-1.186.718-.79 1.076-1.772 1.076-2.94v-16.218c0-1.168-.358-2.149-1.076-2.94-.717-.79-1.607-1.185-2.668-1.185zm22.482.14c-1.149 0-2.11.39-2.885 1.165-.78.78-1.172 1.744-1.172 2.893v15.943c0 1.149.388 2.11 1.163 2.885.78.78 1.745 1.172 2.894 1.172h7.649c1.148 0 2.11-.388 2.884-1.163.78-.78 1.17-1.745 1.17-2.894v-15.943c0-1.15-.386-2.111-1.16-2.885-.78-.78-1.746-1.172-2.894-1.172zm.553 4.518h6.545v14.93H25.59z"></path>
|
|
132
|
+
</symbol>
|
|
133
|
+
<symbol viewBox="0 96 48 48" id="vjs-icon-forward-5">
|
|
134
|
+
<path d="M29.508 97l-2.431 2.43 4.625 4.625h-1.364c-2.965 0-5.742.554-8.332 1.66-2.589 1.107-4.851 2.629-6.788 4.566-1.937 1.937-3.458 4.2-4.565 6.788-1.107 2.59-1.66 5.367-1.66 8.331h3.557c0-4.957 1.68-9.16 5.04-12.611 3.36-3.45 7.51-5.177 12.451-5.177h1.304l-4.326 4.33 2.49 2.49 8.715-8.716zm-9.783 21.61v13.89h11.382v5.018H19.725V142h12.727a2.93 2.93 0 0 0 2.15-.896 2.93 2.93 0 0 0 .896-2.15v-7.798c0-.837-.299-1.554-.896-2.152a2.93 2.93 0 0 0-2.15-.896h-8.245V123h11.29v-4.392z"></path>
|
|
135
|
+
</symbol>
|
|
136
|
+
<symbol viewBox="0 96 48 48" id="vjs-icon-forward-10">
|
|
137
|
+
<path d="M23.119 97l-2.386 2.383 4.538 4.538h-1.339c-2.908 0-5.633.543-8.173 1.63-2.54 1.085-4.76 2.577-6.66 4.478-1.9 1.9-3.392 4.12-4.478 6.66-1.085 2.54-1.629 5.264-1.629 8.172h3.49c0-4.863 1.648-8.986 4.944-12.372 3.297-3.385 7.368-5.078 12.216-5.078h1.279l-4.245 4.247 2.443 2.442 8.55-8.55zm-9.52 21.45v4.42h4.871V142h4.513v-23.55zm18.136 0c-1.125 0-2.066.377-2.824 1.135-.764.764-1.148 1.709-1.148 2.834v15.612c0 1.124.38 2.066 1.139 2.824.764.764 1.708 1.145 2.833 1.145h7.489c1.125 0 2.066-.378 2.824-1.136.764-.764 1.145-1.709 1.145-2.833v-15.612c0-1.125-.378-2.067-1.136-2.825-.764-.764-1.708-1.145-2.833-1.145zm.54 4.42h6.408v14.617h-6.407z"></path>
|
|
138
|
+
</symbol>
|
|
139
|
+
<symbol viewBox="0 96 48 48" id="vjs-icon-forward-30">
|
|
140
|
+
<path d="M25.549 97l-2.437 2.434 4.634 4.635H26.38c-2.97 0-5.753.555-8.347 1.664-2.594 1.109-4.861 2.633-6.802 4.574-1.94 1.94-3.465 4.207-4.574 6.802-1.109 2.594-1.664 5.377-1.664 8.347h3.565c0-4.967 1.683-9.178 5.05-12.636 3.366-3.458 7.525-5.187 12.475-5.187h1.307l-4.335 4.338 2.495 2.494 8.732-8.732zm-11.553 20.53v4.689h10.297v5.249h-6.978v4.688h6.978v5.156H13.996V142h10.808c1.06 0 1.948-.395 2.666-1.186.718-.79 1.077-1.771 1.077-2.94v-16.217c0-1.169-.36-2.15-1.077-2.94-.718-.79-1.605-1.186-2.666-1.186zm21.174.168c-1.149 0-2.11.389-2.884 1.163-.78.78-1.172 1.745-1.172 2.894v15.942c0 1.15.388 2.11 1.162 2.885.78.78 1.745 1.17 2.894 1.17h7.649c1.149 0 2.11-.386 2.885-1.16.78-.78 1.17-1.746 1.17-2.895v-15.942c0-1.15-.387-2.11-1.161-2.885-.78-.78-1.745-1.172-2.894-1.172zm.552 4.516h6.542v14.931h-6.542z"></path>
|
|
141
|
+
</symbol>
|
|
142
|
+
<symbol viewBox="0 0 512 512" id="vjs-icon-audio-description">
|
|
143
|
+
<g fill-rule="evenodd"><path d="M227.29 381.351V162.993c50.38-1.017 89.108-3.028 117.631 17.126 27.374 19.342 48.734 56.965 44.89 105.325-4.067 51.155-41.335 94.139-89.776 98.475-24.085 2.155-71.972 0-71.972 0s-.84-1.352-.773-2.568m48.755-54.804c31.43 1.26 53.208-16.633 56.495-45.386 4.403-38.51-21.188-63.552-58.041-60.796v103.612c-.036 1.466.575 2.22 1.546 2.57"></path><path d="M383.78 381.328c13.336 3.71 17.387-11.06 23.215-21.408 12.722-22.571 22.294-51.594 22.445-84.774.221-47.594-18.343-82.517-35.6-106.182h-8.51c-.587 3.874 2.226 7.315 3.865 10.276 13.166 23.762 25.367 56.553 25.54 94.194.2 43.176-14.162 79.278-30.955 107.894"></path><path d="M425.154 381.328c13.336 3.71 17.384-11.061 23.215-21.408 12.721-22.571 22.291-51.594 22.445-84.774.221-47.594-18.343-82.517-35.6-106.182h-8.511c-.586 3.874 2.226 7.315 3.866 10.276 13.166 23.762 25.367 56.553 25.54 94.194.2 43.176-14.162 79.278-30.955 107.894"></path><path d="M466.26 381.328c13.337 3.71 17.385-11.061 23.216-21.408 12.722-22.571 22.292-51.594 22.445-84.774.221-47.594-18.343-82.517-35.6-106.182h-8.51c-.587 3.874 2.225 7.315 3.865 10.276 13.166 23.762 25.367 56.553 25.54 94.194.2 43.176-14.162 79.278-30.955 107.894M4.477 383.005H72.58l18.573-28.484 64.169-.135s.065 19.413.065 28.62h48.756V160.307h-58.816c-5.653 9.537-140.85 222.697-140.85 222.697zm152.667-145.282v71.158l-40.453-.27 40.453-70.888z"></path></g>
|
|
144
|
+
</symbol>
|
|
145
|
+
<symbol viewBox="0 0 48 48" id="vjs-icon-next-item">
|
|
146
|
+
<path d="M12 36l17-12-17-12v24zm20-24v24h4V12h-4z"></path>
|
|
147
|
+
</symbol>
|
|
148
|
+
<symbol viewBox="0 0 48 48" id="vjs-icon-previous-item">
|
|
149
|
+
<path d="M12 12h4v24h-4zm7 12l17 12V12z"></path>
|
|
150
|
+
</symbol>
|
|
151
|
+
<symbol viewBox="0 0 48 48" id="vjs-icon-shuffle">
|
|
152
|
+
<path d="M21.17 18.34L10.83 8 8 10.83l10.34 10.34 2.83-2.83zM29 8l4.09 4.09L8 37.17 10.83 40l25.09-25.09L40 19V8H29zm.66 18.83l-2.83 2.83 6.26 6.26L29 40h11V29l-4.09 4.09-6.25-6.26z"></path>
|
|
153
|
+
</symbol>
|
|
154
|
+
<symbol viewBox="0 0 48 48" id="vjs-icon-cast">
|
|
155
|
+
<path d="M42 6H6c-2.21 0-4 1.79-4 4v6h4v-6h36v28H28v4h14c2.21 0 4-1.79 4-4V10c0-2.21-1.79-4-4-4zM2 36v6h6c0-3.31-2.69-6-6-6zm0-8v4c5.52 0 10 4.48 10 10h4c0-7.73-6.27-14-14-14zm0-8v4c9.94 0 18 8.06 18 18h4c0-12.15-9.85-22-22-22z"></path>
|
|
156
|
+
</symbol>
|
|
157
|
+
<symbol viewBox="0 0 48 48" id="vjs-icon-picture-in-picture-enter">
|
|
158
|
+
<path d="M38 22H22v11.99h16V22zm8 16V9.96C46 7.76 44.2 6 42 6H6C3.8 6 2 7.76 2 9.96V38c0 2.2 1.8 4 4 4h36c2.2 0 4-1.8 4-4zm-4 .04H6V9.94h36v28.1z"></path>
|
|
159
|
+
</symbol>
|
|
160
|
+
<symbol viewBox="0 0 22 18" id="vjs-icon-picture-in-picture-exit">
|
|
161
|
+
<path d="M18 4H4v10h14V4zm4 12V1.98C22 .88 21.1 0 20 0H2C.9 0 0 .88 0 1.98V16c0 1.1.9 2 2 2h18c1.1 0 2-.9 2-2zm-2 .02H2V1.97h18v14.05z"></path>
|
|
162
|
+
<path fill="none" d="M-1-3h24v24H-1z"></path>
|
|
163
|
+
</symbol>
|
|
164
|
+
<symbol viewBox="0 0 1792 1792" id="vjs-icon-facebook">
|
|
165
|
+
<path d="M1343 12v264h-157q-86 0-116 36t-30 108v189h293l-39 296h-254v759H734V905H479V609h255V391q0-186 104-288.5T1115 0q147 0 228 12z"></path>
|
|
166
|
+
</symbol>
|
|
167
|
+
<symbol viewBox="0 0 1792 1792" id="vjs-icon-linkedin">
|
|
168
|
+
<path d="M477 625v991H147V625h330zm21-306q1 73-50.5 122T312 490h-2q-82 0-132-49t-50-122q0-74 51.5-122.5T314 148t133 48.5T498 319zm1166 729v568h-329v-530q0-105-40.5-164.5T1168 862q-63 0-105.5 34.5T999 982q-11 30-11 81v553H659q2-399 2-647t-1-296l-1-48h329v144h-2q20-32 41-56t56.5-52 87-43.5T1285 602q171 0 275 113.5t104 332.5z"></path>
|
|
169
|
+
</symbol>
|
|
170
|
+
<symbol viewBox="0 0 1200 1227" id="vjs-icon-twitter">
|
|
171
|
+
<path d="M714.163 519.284L1160.89 0H1055.03L667.137 450.887L357.328 0H0L468.492 681.821L0 1226.37H105.866L515.491 750.218L842.672 1226.37H1200L714.137 519.284H714.163ZM569.165 687.828L521.697 619.934L144.011 79.6944H306.615L611.412 515.685L658.88 583.579L1055.08 1150.3H892.476L569.165 687.854V687.828Z"/>
|
|
172
|
+
</symbol>
|
|
173
|
+
<symbol viewBox="0 0 1792 1792" id="vjs-icon-tumblr">
|
|
174
|
+
<path d="M1328 1329l80 237q-23 35-111 66t-177 32q-104 2-190.5-26T787 1564t-95-106-55.5-120-16.5-118V676H452V461q72-26 129-69.5t91-90 58-102 34-99T779 12q1-5 4.5-8.5T791 0h244v424h333v252h-334v518q0 30 6.5 56t22.5 52.5 49.5 41.5 81.5 14q78-2 134-29z"></path>
|
|
175
|
+
</symbol>
|
|
176
|
+
<symbol viewBox="0 0 1792 1792" id="vjs-icon-pinterest">
|
|
177
|
+
<path d="M1664 896q0 209-103 385.5T1281.5 1561 896 1664q-111 0-218-32 59-93 78-164 9-34 54-211 20 39 73 67.5t114 28.5q121 0 216-68.5t147-188.5 52-270q0-114-59.5-214T1180 449t-255-63q-105 0-196 29t-154.5 77-109 110.5-67 129.5T377 866q0 104 40 183t117 111q30 12 38-20 2-7 8-31t8-30q6-23-11-43-51-61-51-151 0-151 104.5-259.5T904 517q151 0 235.5 82t84.5 213q0 170-68.5 289T980 1220q-61 0-98-43.5T859 1072q8-35 26.5-93.5t30-103T927 800q0-50-27-83t-77-33q-62 0-105 57t-43 142q0 73 25 122l-99 418q-17 70-13 177-206-91-333-281T128 896q0-209 103-385.5T510.5 231 896 128t385.5 103T1561 510.5 1664 896z"></path>
|
|
178
|
+
</symbol>
|
|
179
|
+
</defs>
|
|
180
|
+
</svg>`;const vd=ca?10009:da?461:8,jn={codes:{play:415,pause:19,ff:417,rw:412,back:vd},names:{415:"play",19:"pause",417:"ff",412:"rw",[vd]:"back"},isEventKey(r,e){return e=e.toLowerCase(),!!(this.names[r.keyCode]&&this.names[r.keyCode]===e)},getEventName(r){if(this.names[r.keyCode])return this.names[r.keyCode];if(this.codes[r.code]){const e=this.codes[r.code];return this.names[e]}return null}},yd=5;class N3 extends gi{constructor(e){super(),this.player_=e,this.focusableComponents=[],this.isListening_=!1,this.isPaused_=!1,this.onKeyDown_=this.onKeyDown_.bind(this),this.lastFocusedComponent_=null}start(){this.isListening_||(this.player_.on("keydown",this.onKeyDown_),this.player_.on("modalKeydown",this.onKeyDown_),this.player_.on("loadedmetadata",()=>{this.focus(this.updateFocusableComponents()[0])}),this.player_.on("modalclose",()=>{this.refocusComponent()}),this.player_.on("focusin",this.handlePlayerFocus_.bind(this)),this.player_.on("focusout",this.handlePlayerBlur_.bind(this)),this.isListening_=!0,this.player_.errorDisplay&&this.player_.errorDisplay.on("aftermodalfill",()=>{this.updateFocusableComponents(),this.focusableComponents.length&&(this.focusableComponents.length>1?this.focusableComponents[1].focus():this.focusableComponents[0].focus())}))}stop(){this.player_.off("keydown",this.onKeyDown_),this.isListening_=!1}onKeyDown_(e){const i=e.originalEvent?e.originalEvent:e;if(["ArrowLeft","ArrowRight","ArrowUp","ArrowDown"].includes(i.key)){if(this.isPaused_)return;i.preventDefault();const n=i.key.substring(5).toLowerCase();this.move(n)}else if(jn.isEventKey(i,"play")||jn.isEventKey(i,"pause")||jn.isEventKey(i,"ff")||jn.isEventKey(i,"rw")){i.preventDefault();const n=jn.getEventName(i);this.performMediaAction_(n)}else jn.isEventKey(i,"Back")&&e.target&&typeof e.target.closeable=="function"&&e.target.closeable()&&(i.preventDefault(),e.target.close())}performMediaAction_(e){if(this.player_)switch(e){case"play":this.player_.paused()&&this.player_.play();break;case"pause":this.player_.paused()||this.player_.pause();break;case"ff":this.userSeek_(this.player_.currentTime()+yd);break;case"rw":this.userSeek_(this.player_.currentTime()-yd);break}}userSeek_(e){this.player_.liveTracker&&this.player_.liveTracker.isLive()&&this.player_.liveTracker.nextSeekedFromUser(),this.player_.currentTime(e)}pause(){this.isPaused_=!0}resume(){this.isPaused_=!1}handlePlayerBlur_(e){const i=e.relatedTarget;let n=null;const s=this.getCurrentComponent(e.target);i&&(n=!!i.closest(".video-js"),i.classList.contains("vjs-text-track-settings")&&!this.isPaused_&&this.searchForTrackSelect_()),(!e.currentTarget.contains(e.relatedTarget)&&!n||!i)&&(s&&s.name()==="CloseButton"?this.refocusComponent():(this.pause(),s&&s.el()&&(this.lastFocusedComponent_=s)))}handlePlayerFocus_(){this.getCurrentComponent()&&this.getCurrentComponent().getIsFocusable()&&this.resume()}updateFocusableComponents(){const e=this.player_,i=[];function n(s){for(const a of s)a.hasOwnProperty("el_")&&a.getIsFocusable()&&a.getIsAvailableToBeFocused(a.el())&&i.push(a),a.hasOwnProperty("children_")&&a.children_.length>0&&n(a.children_)}return e.children_.forEach(s=>{if(s.hasOwnProperty("el_"))if(s.getIsFocusable&&s.getIsAvailableToBeFocused&&s.getIsFocusable()&&s.getIsAvailableToBeFocused(s.el())){i.push(s);return}else s.hasOwnProperty("children_")&&s.children_.length>0?n(s.children_):s.hasOwnProperty("items")&&s.items.length>0?n(s.items):this.findSuitableDOMChild(s)&&i.push(s);if(s.name_==="ErrorDisplay"&&s.opened_){const a=s.el_.querySelector(".vjs-errors-ok-button-container");a&&a.querySelectorAll("button").forEach((l,c)=>{i.push({name:()=>"ModalButton"+(c+1),el:()=>l,getPositions:()=>{const d=l.getBoundingClientRect(),m={x:d.x,y:d.y,width:d.width,height:d.height,top:d.top,right:d.right,bottom:d.bottom,left:d.left},g={x:d.left+d.width/2,y:d.top+d.height/2,width:0,height:0,top:d.top+d.height/2,right:d.left+d.width/2,bottom:d.top+d.height/2,left:d.left+d.width/2};return{boundingClientRect:m,center:g}},getIsAvailableToBeFocused:()=>!0,getIsFocusable:d=>!0,focus:()=>l.focus()})})}}),this.focusableComponents=i,this.focusableComponents}findSuitableDOMChild(e){function i(n){if(e.getIsFocusable(n)&&e.getIsAvailableToBeFocused(n))return n;for(let s=0;s<n.children.length;s++){const a=n.children[s],o=i(a);if(o)return o}return null}return e.el()?i(e.el()):null}getCurrentComponent(e){this.updateFocusableComponents();const i=e||document.activeElement;if(this.focusableComponents.length){for(const n of this.focusableComponents)if(n.el()===i)return n}}add(e){const i=[...this.focusableComponents];e.hasOwnProperty("el_")&&e.getIsFocusable()&&e.getIsAvailableToBeFocused(e.el())&&i.push(e),this.focusableComponents=i,this.trigger({type:"focusableComponentsChanged",focusableComponents:this.focusableComponents})}remove(e){for(let i=0;i<this.focusableComponents.length;i++)if(this.focusableComponents[i].name()===e.name()){this.focusableComponents.splice(i,1),this.trigger({type:"focusableComponentsChanged",focusableComponents:this.focusableComponents});return}}clear(){this.focusableComponents.length>0&&(this.focusableComponents=[],this.trigger({type:"focusableComponentsChanged",focusableComponents:this.focusableComponents}))}move(e){const i=this.getCurrentComponent();if(!i)return;const n=i.getPositions(),s=this.focusableComponents.filter(o=>o!==i&&this.isInDirection_(n.boundingClientRect,o.getPositions().boundingClientRect,e)),a=this.findBestCandidate_(n.center,s,e);a?this.focus(a):this.trigger({type:"endOfFocusableComponents",direction:e,focusedComponent:i})}findBestCandidate_(e,i,n){let s=1/0,a=null;for(const o of i){const l=o.getPositions().center,c=this.calculateDistance_(e,l,n);c<s&&(s=c,a=o)}return a}isInDirection_(e,i,n){switch(n){case"right":return i.left>=e.right;case"left":return i.right<=e.left;case"down":return i.top>=e.bottom;case"up":return i.bottom<=e.top;default:return!1}}refocusComponent(){if(this.lastFocusedComponent_){this.player_.userActive()||this.player_.userActive(!0),this.updateFocusableComponents();for(let e=0;e<this.focusableComponents.length;e++)if(this.focusableComponents[e].name()===this.lastFocusedComponent_.name()){this.focus(this.focusableComponents[e]);return}}else this.focus(this.updateFocusableComponents()[0])}focus(e){typeof e=="object"&&(e.getIsAvailableToBeFocused(e.el())?e.focus():this.findSuitableDOMChild(e)&&this.findSuitableDOMChild(e).focus())}calculateDistance_(e,i,n){const s=Math.abs(e.x-i.x),a=Math.abs(e.y-i.y);let o;switch(n){case"right":case"left":o=s+a*100;break;case"up":o=a*2+s*.5;break;case"down":o=a*5+s;break;default:o=s+a}return o}searchForTrackSelect_(){const e=this;for(const i of e.updateFocusableComponents())if(i.constructor.name==="TextTrackSelect"){e.focus(i);break}}}class O3 extends ge{constructor(e,i,n){const s=ht({createEl:!1},i);if(super(e,s,n),!i.playerOptions.sources||i.playerOptions.sources.length===0)for(let a=0,o=i.playerOptions.techOrder;a<o.length;a++){const l=At(o[a]);let c=Ye.getTech(l);if(l||(c=ge.getComponent(l)),c&&c.isSupported()){e.loadTech_(l);break}}else e.src(i.playerOptions.sources)}}ge.registerComponent("MediaLoader",O3);class Ya extends ge{constructor(e,i){super(e,i),this.options_.controlText&&this.controlText(this.options_.controlText),this.handleMouseOver_=n=>this.handleMouseOver(n),this.handleMouseOut_=n=>this.handleMouseOut(n),this.handleClick_=n=>this.handleClick(n),this.handleKeyDown_=n=>this.handleKeyDown(n),this.emitTapEvents(),this.enable()}createEl(e="div",i={},n={}){i=Object.assign({className:this.buildCSSClass(),tabIndex:0},i),e==="button"&&et.error(`Creating a ClickableComponent with an HTML element of ${e} is not supported; use a Button instead.`),n=Object.assign({role:"button"},n),this.tabIndex_=i.tabIndex;const s=Qe(e,i,n);return this.player_.options_.experimentalSvgIcons||s.appendChild(Qe("span",{className:"vjs-icon-placeholder"},{"aria-hidden":!0})),this.createControlTextEl(s),s}dispose(){this.controlTextEl_=null,super.dispose()}createControlTextEl(e){return this.controlTextEl_=Qe("span",{className:"vjs-control-text"},{"aria-live":"polite"}),e&&e.appendChild(this.controlTextEl_),this.controlText(this.controlText_,e),this.controlTextEl_}controlText(e,i=this.el()){if(e===void 0)return this.controlText_||"Need Text";const n=this.localize(e);this.controlText_=e,bn(this.controlTextEl_,n),!this.nonIconControl&&!this.player_.options_.noUITitleAttributes&&i.setAttribute("title",n)}buildCSSClass(){return`vjs-control vjs-button ${super.buildCSSClass()}`}enable(){this.enabled_||(this.enabled_=!0,this.removeClass("vjs-disabled"),this.el_.setAttribute("aria-disabled","false"),typeof this.tabIndex_<"u"&&this.el_.setAttribute("tabIndex",this.tabIndex_),this.on(["tap","click"],this.handleClick_),this.on("keydown",this.handleKeyDown_))}disable(){this.enabled_=!1,this.addClass("vjs-disabled"),this.el_.setAttribute("aria-disabled","true"),typeof this.tabIndex_<"u"&&this.el_.removeAttribute("tabIndex"),this.off("mouseover",this.handleMouseOver_),this.off("mouseout",this.handleMouseOut_),this.off(["tap","click"],this.handleClick_),this.off("keydown",this.handleKeyDown_)}handleLanguagechange(){this.controlText(this.controlText_)}handleClick(e){this.options_.clickHandler&&this.options_.clickHandler.call(this,arguments)}handleKeyDown(e){e.key===" "||e.key==="Enter"?(e.preventDefault(),e.stopPropagation(),this.trigger("click")):super.handleKeyDown(e)}}ge.registerComponent("ClickableComponent",Ya);class ml extends Ya{constructor(e,i){super(e,i),this.update(),this.update_=n=>this.update(n),e.on("posterchange",this.update_)}dispose(){this.player().off("posterchange",this.update_),super.dispose()}createEl(){return Qe("div",{className:"vjs-poster"})}crossOrigin(e){if(typeof e>"u")return this.$("img")?this.$("img").crossOrigin:this.player_.tech_&&this.player_.tech_.isReady_?this.player_.crossOrigin():this.player_.options_.crossOrigin||this.player_.options_.crossorigin||null;if(e!==null&&e!=="anonymous"&&e!=="use-credentials"){this.player_.log.warn(`crossOrigin must be null, "anonymous" or "use-credentials", given "${e}"`);return}this.$("img")&&(this.$("img").crossOrigin=e)}update(e){const i=this.player().poster();this.setSrc(i),i?this.show():this.hide()}setSrc(e){if(!e){this.el_.textContent="";return}this.$("img")||this.el_.appendChild(Qe("picture",{className:"vjs-poster",tabIndex:-1},{},Qe("img",{loading:"lazy",crossOrigin:this.crossOrigin()},{alt:""}))),this.$("img").src=e}handleClick(e){this.player_.controls()&&(this.player_.tech(!0)&&this.player_.tech(!0).focus(),this.player_.paused()?Ui(this.player_.play()):this.player_.pause())}}ml.prototype.crossorigin=ml.prototype.crossOrigin;ge.registerComponent("PosterImage",ml);const bi="#222",bd="#ccc",P3={monospace:"monospace",sansSerif:"sans-serif",serif:"serif",monospaceSansSerif:'"Andale Mono", "Lucida Console", monospace',monospaceSerif:'"Courier New", monospace',proportionalSansSerif:"sans-serif",proportionalSerif:"serif",casual:'"Comic Sans MS", Impact, fantasy',script:'"Monotype Corsiva", cursive',smallcaps:'"Andale Mono", "Lucida Console", monospace, sans-serif'};function jo(r,e){let i;if(r.length===4)i=r[1]+r[1]+r[2]+r[2]+r[3]+r[3];else if(r.length===7)i=r.slice(1);else throw new Error("Invalid color code provided, "+r+"; must be formatted as e.g. #f0e or #f604e2.");return"rgba("+parseInt(i.slice(0,2),16)+","+parseInt(i.slice(2,4),16)+","+parseInt(i.slice(4,6),16)+","+e+")"}function Ri(r,e,i){try{r.style[e]=i}catch{return}}function Cd(r){return r?`${r}px`:""}class M3 extends ge{constructor(e,i,n){super(e,i,n);const s=o=>this.updateDisplay(o),a=o=>{this.updateDisplayOverlay(),this.updateDisplay(o)};e.on("loadstart",o=>this.toggleDisplay(o)),e.on("useractive",s),e.on("userinactive",s),e.on("texttrackchange",s),e.on("loadedmetadata",o=>{this.updateDisplayOverlay(),this.preselectTrack(o)}),e.ready(pt(this,function(){if(e.tech_&&e.tech_.featuresNativeTextTracks){this.hide();return}e.on("fullscreenchange",a),e.on("playerresize",a);const o=K.screen.orientation||K,l=K.screen.orientation?"change":"orientationchange";o.addEventListener(l,a),e.on("dispose",()=>o.removeEventListener(l,a));const c=this.options_.playerOptions.tracks||[];for(let d=0;d<c.length;d++)this.player_.addRemoteTextTrack(c[d],!0);this.preselectTrack()}))}preselectTrack(){const e={captions:1,subtitles:1},i=this.player_.textTracks(),n=this.player_.cache_.selectedLanguage;let s,a,o;for(let l=0;l<i.length;l++){const c=i[l];n&&n.enabled&&n.language&&n.language===c.language&&c.kind in e?c.kind===n.kind?o=c:o||(o=c):n&&!n.enabled?(o=null,s=null,a=null):c.default&&(c.kind==="descriptions"&&!s?s=c:c.kind in e&&!a&&(a=c))}o?o.mode="showing":a?a.mode="showing":s&&(s.mode="showing")}toggleDisplay(){this.player_.tech_&&this.player_.tech_.featuresNativeTextTracks?this.hide():this.show()}createEl(){return super.createEl("div",{className:"vjs-text-track-display"},{translate:"yes","aria-live":"off","aria-atomic":"true"})}clearDisplay(){typeof K.WebVTT=="function"&&K.WebVTT.processCues(K,[],this.el_)}updateDisplay(){const e=this.player_.textTracks(),i=this.options_.allowMultipleShowingTracks;if(this.clearDisplay(),i){const o=[];for(let l=0;l<e.length;++l){const c=e[l];c.mode==="showing"&&o.push(c)}this.updateForTrack(o);return}let n=null,s=null,a=e.length;for(;a--;){const o=e[a];o.mode==="showing"&&(o.kind==="descriptions"?n=o:s=o)}if(s?(this.getAttribute("aria-live")!=="off"&&this.setAttribute("aria-live","off"),this.updateForTrack(s)):n&&(this.getAttribute("aria-live")!=="assertive"&&this.setAttribute("aria-live","assertive"),this.updateForTrack(n)),!(K.CSS!==void 0&&K.CSS.supports("inset","10px"))){const o=this.el_,l=o.querySelectorAll(".vjs-text-track-cue"),c=this.player_.controlBar.el_.getBoundingClientRect().height,d=this.player_.el_.getBoundingClientRect().height;o.style="",Ri(o,"position","relative"),Ri(o,"height",d-c+"px"),Ri(o,"top","unset"),ha?Ri(o,"bottom",d+"px"):Ri(o,"bottom","0px"),l.length>0&&l.forEach(m=>{if(m.style.inset){const g=m.style.inset.split(" ");g.length===3&&Object.assign(m.style,{top:g[0],right:g[1],bottom:g[2],left:"unset"})}})}}updateDisplayOverlay(){if(!this.player_.videoHeight()||!(K.CSS!==void 0&&K.CSS.supports("inset-inline: 10px")))return;const e=this.player_.currentWidth(),i=this.player_.currentHeight(),n=e/i,s=this.player_.videoWidth()/this.player_.videoHeight();let a=0,o=0;Math.abs(n-s)>.1&&(n>s?a=Math.round((e-i*s)/2):o=Math.round((i-e/s)/2)),Ri(this.el_,"insetInline",Cd(a)),Ri(this.el_,"insetBlock",Cd(o))}updateDisplayState(e){const i=this.player_.textTrackSettings.getValues(),n=e.activeCues;let s=n.length;for(;s--;){const a=n[s];if(!a)continue;const o=a.displayState;if(i.color&&(o.firstChild.style.color=i.color),i.textOpacity&&Ri(o.firstChild,"color",jo(i.color||"#fff",i.textOpacity)),i.backgroundColor&&(o.firstChild.style.backgroundColor=i.backgroundColor),i.backgroundOpacity&&Ri(o.firstChild,"backgroundColor",jo(i.backgroundColor||"#000",i.backgroundOpacity)),i.windowColor&&(i.windowOpacity?Ri(o,"backgroundColor",jo(i.windowColor,i.windowOpacity)):o.style.backgroundColor=i.windowColor),i.edgeStyle&&(i.edgeStyle==="dropshadow"?o.firstChild.style.textShadow=`2px 2px 3px ${bi}, 2px 2px 4px ${bi}, 2px 2px 5px ${bi}`:i.edgeStyle==="raised"?o.firstChild.style.textShadow=`1px 1px ${bi}, 2px 2px ${bi}, 3px 3px ${bi}`:i.edgeStyle==="depressed"?o.firstChild.style.textShadow=`1px 1px ${bd}, 0 1px ${bd}, -1px -1px ${bi}, 0 -1px ${bi}`:i.edgeStyle==="uniform"&&(o.firstChild.style.textShadow=`0 0 4px ${bi}, 0 0 4px ${bi}, 0 0 4px ${bi}, 0 0 4px ${bi}`)),i.fontPercent&&i.fontPercent!==1){const l=K.parseFloat(o.style.fontSize);o.style.fontSize=l*i.fontPercent+"px",o.style.height="auto",o.style.top="auto"}i.fontFamily&&i.fontFamily!=="default"&&(i.fontFamily==="small-caps"?o.firstChild.style.fontVariant="small-caps":o.firstChild.style.fontFamily=P3[i.fontFamily])}}updateForTrack(e){if(Array.isArray(e)||(e=[e]),typeof K.WebVTT!="function"||e.every(n=>!n.activeCues))return;const i=[];for(let n=0;n<e.length;++n){const s=e[n];for(let a=0;a<s.activeCues.length;++a)i.push(s.activeCues[a])}K.WebVTT.processCues(K,i,this.el_);for(let n=0;n<e.length;++n){const s=e[n];for(let a=0;a<s.activeCues.length;++a){const o=s.activeCues[a].displayState;Nn(o,"vjs-text-track-cue","vjs-text-track-cue-"+(s.language?s.language:n)),s.language&&ur(o,"lang",s.language)}this.player_.textTrackSettings&&this.updateDisplayState(s)}}}ge.registerComponent("TextTrackDisplay",M3);class L3 extends ge{createEl(){const e=this.player_.isAudio(),i=this.localize(e?"Audio Player":"Video Player"),n=Qe("span",{className:"vjs-control-text",textContent:this.localize("{1} is loading.",[i])}),s=super.createEl("div",{className:"vjs-loading-spinner",dir:"ltr"});return s.appendChild(n),s}handleLanguagechange(){this.$(".vjs-control-text").textContent=this.localize("{1} is loading.",[this.player_.isAudio()?"Audio Player":"Video Player"])}}ge.registerComponent("LoadingSpinner",L3);class Yt extends Ya{createEl(e,i={},n={}){e="button",i=Object.assign({className:this.buildCSSClass()},i),n=Object.assign({type:"button"},n);const s=Qe(e,i,n);return this.player_.options_.experimentalSvgIcons||s.appendChild(Qe("span",{className:"vjs-icon-placeholder"},{"aria-hidden":!0})),this.createControlTextEl(s),s}addChild(e,i={}){const n=this.constructor.name;return et.warn(`Adding an actionable (user controllable) child to a Button (${n}) is not supported; use a ClickableComponent instead.`),ge.prototype.addChild.call(this,e,i)}enable(){super.enable(),this.el_.removeAttribute("disabled")}disable(){super.disable(),this.el_.setAttribute("disabled","disabled")}handleKeyDown(e){if(e.key===" "||e.key==="Enter"){e.stopPropagation();return}super.handleKeyDown(e)}}ge.registerComponent("Button",Yt);class zh extends Yt{constructor(e,i){super(e,i),this.mouseused_=!1,this.setIcon("play"),this.on("mousedown",n=>this.handleMouseDown(n))}buildCSSClass(){return"vjs-big-play-button"}handleClick(e){const i=this.player_.play();if(e.type==="tap"||this.mouseused_&&"clientX"in e&&"clientY"in e){Ui(i),this.player_.tech(!0)&&this.player_.tech(!0).focus();return}const n=this.player_.getChild("controlBar"),s=n&&n.getChild("playToggle");if(!s){this.player_.tech(!0).focus();return}const a=()=>s.focus();$r(i)?i.then(a,()=>{}):this.setTimeout(a,1)}handleKeyDown(e){this.mouseused_=!1,super.handleKeyDown(e)}handleMouseDown(e){this.mouseused_=!0}}zh.prototype.controlText_="Play Video";ge.registerComponent("BigPlayButton",zh);class R3 extends Yt{constructor(e,i){super(e,i),this.setIcon("cancel"),this.controlText(i&&i.controlText||this.localize("Close"))}buildCSSClass(){return`vjs-close-button ${super.buildCSSClass()}`}handleClick(e){this.trigger({type:"close",bubbles:!1})}handleKeyDown(e){e.key==="Escape"?(e.preventDefault(),e.stopPropagation(),this.trigger("click")):super.handleKeyDown(e)}}ge.registerComponent("CloseButton",R3);class Hh extends Yt{constructor(e,i={}){super(e,i),i.replay=i.replay===void 0||i.replay,this.setIcon("play"),this.on(e,"play",n=>this.handlePlay(n)),this.on(e,"pause",n=>this.handlePause(n)),i.replay&&this.on(e,"ended",n=>this.handleEnded(n))}buildCSSClass(){return`vjs-play-control ${super.buildCSSClass()}`}handleClick(e){this.player_.paused()?Ui(this.player_.play()):this.player_.pause()}handleSeeked(e){this.removeClass("vjs-ended"),this.player_.paused()?this.handlePause(e):this.handlePlay(e)}handlePlay(e){this.removeClass("vjs-ended","vjs-paused"),this.addClass("vjs-playing"),this.setIcon("pause"),this.controlText("Pause")}handlePause(e){this.removeClass("vjs-playing"),this.addClass("vjs-paused"),this.setIcon("play"),this.controlText("Play")}handleEnded(e){this.removeClass("vjs-playing"),this.addClass("vjs-ended"),this.setIcon("replay"),this.controlText("Replay"),this.one(this.player_,"seeked",i=>this.handleSeeked(i))}}Hh.prototype.controlText_="Play";ge.registerComponent("PlayToggle",Hh);class yr extends ge{constructor(e,i){super(e,i),this.on(e,["timeupdate","ended","seeking"],n=>this.update(n)),this.updateTextNode_()}createEl(){const e=this.buildCSSClass(),i=super.createEl("div",{className:`${e} vjs-time-control vjs-control`}),n=Qe("span",{className:"vjs-control-text",textContent:`${this.localize(this.labelText_)} `},{role:"presentation"});return i.appendChild(n),this.contentEl_=Qe("span",{className:`${e}-display`},{role:"presentation"}),i.appendChild(this.contentEl_),i}dispose(){this.contentEl_=null,this.textNode_=null,super.dispose()}update(e){!this.player_.options_.enableSmoothSeeking&&e.type==="seeking"||this.updateContent(e)}updateTextNode_(e=0){e=Rn(e),this.formattedTime_!==e&&(this.formattedTime_=e,this.requestNamedAnimationFrame("TimeDisplay#updateTextNode_",()=>{if(!this.contentEl_)return;let i=this.textNode_;i&&this.contentEl_.firstChild!==i&&(i=null,et.warn("TimeDisplay#updateTextnode_: Prevented replacement of text node element since it was no longer a child of this node. Appending a new node instead.")),this.textNode_=we.createTextNode(this.formattedTime_),this.textNode_&&(i?this.contentEl_.replaceChild(this.textNode_,i):this.contentEl_.appendChild(this.textNode_))}))}updateContent(e){}}yr.prototype.labelText_="Time";yr.prototype.controlText_="Time";ge.registerComponent("TimeDisplay",yr);class tu extends yr{buildCSSClass(){return"vjs-current-time"}updateContent(e){let i;this.player_.ended()?i=this.player_.duration():e&&e.target&&typeof e.target.pendingSeekTime=="function"&&e.target.pendingSeekTime()!==null?i=e.target.pendingSeekTime():i=this.player_.scrubbing()?this.player_.getCache().currentTime:this.player_.currentTime(),this.updateTextNode_(i)}}tu.prototype.labelText_="Current Time";tu.prototype.controlText_="Current Time";ge.registerComponent("CurrentTimeDisplay",tu);class iu extends yr{constructor(e,i){super(e,i);const n=s=>this.updateContent(s);this.on(e,"durationchange",n),this.on(e,"loadstart",n),this.on(e,"loadedmetadata",n)}buildCSSClass(){return"vjs-duration"}updateContent(e){const i=this.player_.duration();this.updateTextNode_(i)}}iu.prototype.labelText_="Duration";iu.prototype.controlText_="Duration";ge.registerComponent("DurationDisplay",iu);class q3 extends ge{createEl(){const e=super.createEl("div",{className:"vjs-time-control vjs-time-divider"},{"aria-hidden":!0}),i=super.createEl("div"),n=super.createEl("span",{textContent:"/"});return i.appendChild(n),e.appendChild(i),e}}ge.registerComponent("TimeDivider",q3);class nu extends yr{constructor(e,i){super(e,i),this.on(e,"durationchange",n=>this.updateContent(n))}buildCSSClass(){return"vjs-remaining-time"}createEl(){const e=super.createEl();return this.options_.displayNegative!==!1&&e.insertBefore(Qe("span",{},{"aria-hidden":!0},"-"),this.contentEl_),e}updateContent(e){if(typeof this.player_.duration()!="number")return;let i;this.player_.ended()?i=0:this.player_.remainingTimeDisplay?i=this.player_.remainingTimeDisplay():i=this.player_.remainingTime(),this.updateTextNode_(i)}}nu.prototype.labelText_="Remaining Time";nu.prototype.controlText_="Remaining Time";ge.registerComponent("RemainingTimeDisplay",nu);class F3 extends ge{constructor(e,i){super(e,i),this.updateShowing(),this.on(this.player(),"durationchange",n=>this.updateShowing(n))}createEl(){const e=super.createEl("div",{className:"vjs-live-control vjs-control"});return this.contentEl_=Qe("div",{className:"vjs-live-display"},{"aria-live":"off"}),this.contentEl_.appendChild(Qe("span",{className:"vjs-control-text",textContent:`${this.localize("Stream Type")} `})),this.contentEl_.appendChild(we.createTextNode(this.localize("LIVE"))),e.appendChild(this.contentEl_),e}dispose(){this.contentEl_=null,super.dispose()}updateShowing(e){this.player().duration()===1/0?this.show():this.hide()}}ge.registerComponent("LiveDisplay",F3);class jh extends Yt{constructor(e,i){super(e,i),this.updateLiveEdgeStatus(),this.player_.liveTracker&&(this.updateLiveEdgeStatusHandler_=n=>this.updateLiveEdgeStatus(n),this.on(this.player_.liveTracker,"liveedgechange",this.updateLiveEdgeStatusHandler_))}createEl(){const e=super.createEl("button",{className:"vjs-seek-to-live-control vjs-control"});return this.setIcon("circle",e),this.textEl_=Qe("span",{className:"vjs-seek-to-live-text",textContent:this.localize("LIVE")},{"aria-hidden":"true"}),e.appendChild(this.textEl_),e}updateLiveEdgeStatus(){!this.player_.liveTracker||this.player_.liveTracker.atLiveEdge()?(this.setAttribute("aria-disabled",!0),this.addClass("vjs-at-live-edge"),this.controlText("Seek to live, currently playing live")):(this.setAttribute("aria-disabled",!1),this.removeClass("vjs-at-live-edge"),this.controlText("Seek to live, currently behind live"))}handleClick(){this.player_.liveTracker.seekToLiveEdge()}dispose(){this.player_.liveTracker&&this.off(this.player_.liveTracker,"liveedgechange",this.updateLiveEdgeStatusHandler_),this.textEl_=null,super.dispose()}}jh.prototype.controlText_="Seek to live, currently playing live";ge.registerComponent("SeekToLive",jh);function fs(r,e,i){return r=Number(r),Math.min(i,Math.max(e,isNaN(r)?e:r))}var U3=Object.freeze({__proto__:null,clamp:fs});class ru extends ge{constructor(e,i){super(e,i),this.handleMouseDown_=n=>this.handleMouseDown(n),this.handleMouseUp_=n=>this.handleMouseUp(n),this.handleKeyDown_=n=>this.handleKeyDown(n),this.handleClick_=n=>this.handleClick(n),this.handleMouseMove_=n=>this.handleMouseMove(n),this.update_=n=>this.update(n),this.bar=this.getChild(this.options_.barName),this.vertical(!!this.options_.vertical),this.enable()}enabled(){return this.enabled_}enable(){this.enabled()||(this.on("mousedown",this.handleMouseDown_),this.on("touchstart",this.handleMouseDown_),this.on("keydown",this.handleKeyDown_),this.on("click",this.handleClick_),this.on(this.player_,"controlsvisible",this.update),this.playerEvent&&this.on(this.player_,this.playerEvent,this.update),this.removeClass("disabled"),this.setAttribute("tabindex",0),this.enabled_=!0)}disable(){if(!this.enabled())return;const e=this.bar.el_.ownerDocument;this.off("mousedown",this.handleMouseDown_),this.off("touchstart",this.handleMouseDown_),this.off("keydown",this.handleKeyDown_),this.off("click",this.handleClick_),this.off(this.player_,"controlsvisible",this.update_),this.off(e,"mousemove",this.handleMouseMove_),this.off(e,"mouseup",this.handleMouseUp_),this.off(e,"touchmove",this.handleMouseMove_),this.off(e,"touchend",this.handleMouseUp_),this.removeAttribute("tabindex"),this.addClass("disabled"),this.playerEvent&&this.off(this.player_,this.playerEvent,this.update),this.enabled_=!1}createEl(e,i={},n={}){return i.className=i.className+" vjs-slider",i=Object.assign({tabIndex:0},i),n=Object.assign({role:"slider","aria-valuenow":0,"aria-valuemin":0,"aria-valuemax":100},n),super.createEl(e,i,n)}handleMouseDown(e){const i=this.bar.el_.ownerDocument;e.type==="mousedown"&&e.preventDefault(),e.type==="touchstart"&&!Gi&&e.preventDefault(),gh(),this.addClass("vjs-sliding"),this.trigger("slideractive"),this.on(i,"mousemove",this.handleMouseMove_),this.on(i,"mouseup",this.handleMouseUp_),this.on(i,"touchmove",this.handleMouseMove_),this.on(i,"touchend",this.handleMouseUp_),this.handleMouseMove(e,!0)}handleMouseMove(e){}handleMouseUp(e){const i=this.bar.el_.ownerDocument;vh(),this.removeClass("vjs-sliding"),this.trigger("sliderinactive"),this.off(i,"mousemove",this.handleMouseMove_),this.off(i,"mouseup",this.handleMouseUp_),this.off(i,"touchmove",this.handleMouseMove_),this.off(i,"touchend",this.handleMouseUp_),this.update()}update(){if(!this.el_||!this.bar)return;const e=this.getProgress();return e===this.progress_||(this.progress_=e,this.requestNamedAnimationFrame("Slider#update",()=>{const i=this.vertical()?"height":"width";this.bar.el().style[i]=(e*100).toFixed(2)+"%"})),e}getProgress(){return Number(fs(this.getPercent(),0,1).toFixed(4))}calculateDistance(e){const i=za(this.el_,e);return this.vertical()?i.y:i.x}handleKeyDown(e){const i=this.options_.playerOptions.spatialNavigation,n=i&&i.enabled,s=i&&i.horizontalSeek;n?s&&e.key==="ArrowLeft"||!s&&e.key==="ArrowDown"?(e.preventDefault(),e.stopPropagation(),this.stepBack()):s&&e.key==="ArrowRight"||!s&&e.key==="ArrowUp"?(e.preventDefault(),e.stopPropagation(),this.stepForward()):(this.pendingSeekTime()&&(this.pendingSeekTime(null),this.userSeek_(this.player_.currentTime())),super.handleKeyDown(e)):e.key==="ArrowLeft"||e.key==="ArrowDown"?(e.preventDefault(),e.stopPropagation(),this.stepBack()):e.key==="ArrowUp"||e.key==="ArrowRight"?(e.preventDefault(),e.stopPropagation(),this.stepForward()):super.handleKeyDown(e)}handleClick(e){e.stopPropagation(),e.preventDefault()}vertical(e){if(e===void 0)return this.vertical_||!1;this.vertical_=!!e,this.vertical_?this.addClass("vjs-slider-vertical"):this.addClass("vjs-slider-horizontal")}}ge.registerComponent("Slider",ru);const Xo=(r,e)=>fs(r/e*100,0,100).toFixed(2)+"%";class z3 extends ge{constructor(e,i){super(e,i),this.partEls_=[],this.on(e,"progress",n=>this.update(n))}createEl(){const e=super.createEl("div",{className:"vjs-load-progress"}),i=Qe("span",{className:"vjs-control-text"}),n=Qe("span",{textContent:this.localize("Loaded")}),s=we.createTextNode(": ");return this.percentageEl_=Qe("span",{className:"vjs-control-text-loaded-percentage",textContent:"0%"}),e.appendChild(i),i.appendChild(n),i.appendChild(s),i.appendChild(this.percentageEl_),e}dispose(){this.partEls_=null,this.percentageEl_=null,super.dispose()}update(e){this.requestNamedAnimationFrame("LoadProgressBar#update",()=>{const i=this.player_.liveTracker,n=this.player_.buffered(),s=i&&i.isLive()?i.seekableEnd():this.player_.duration(),a=this.player_.bufferedEnd(),o=this.partEls_,l=Xo(a,s);this.percent_!==l&&(this.el_.style.width=l,bn(this.percentageEl_,l),this.percent_=l);for(let c=0;c<n.length;c++){const d=n.start(c),m=n.end(c);let g=o[c];g||(g=this.el_.appendChild(Qe()),o[c]=g),!(g.dataset.start===d&&g.dataset.end===m)&&(g.dataset.start=d,g.dataset.end=m,g.style.left=Xo(d,a),g.style.width=Xo(m-d,a))}for(let c=o.length;c>n.length;c--)this.el_.removeChild(o[c-1]);o.length=n.length})}}ge.registerComponent("LoadProgressBar",z3);class H3 extends ge{constructor(e,i){super(e,i),this.update=Qi(pt(this,this.update),xi)}createEl(){return super.createEl("div",{className:"vjs-time-tooltip"},{"aria-hidden":"true"})}update(e,i,n){const s=as(this.el_),a=cr(this.player_.el()),o=e.width*i;if(!a||!s)return;let l=e.left-a.left+o,c=e.width-o+(a.right-e.right);c||(c=e.width-o,l=o);let d=s.width/2;l<d?d+=d-l:c<d&&(d=c),d<0?d=0:d>s.width&&(d=s.width),d=Math.round(d),this.el_.style.right=`-${d}px`,this.write(n)}write(e){bn(this.el_,e)}updateTime(e,i,n,s){this.requestNamedAnimationFrame("TimeTooltip#updateTime",()=>{let a;const o=this.player_.duration();if(this.player_.liveTracker&&this.player_.liveTracker.isLive()){const l=this.player_.liveTracker.liveWindow(),c=l-i*l;a=(c<1?"":"-")+Rn(c,l)}else a=Rn(n,o);this.update(e,i,a),s&&s()})}}ge.registerComponent("TimeTooltip",H3);class su extends ge{constructor(e,i){super(e,i),this.setIcon("circle"),this.update=Qi(pt(this,this.update),xi)}createEl(){return super.createEl("div",{className:"vjs-play-progress vjs-slider-bar"},{"aria-hidden":"true"})}update(e,i,n){const s=this.getChild("timeTooltip");if(!s)return;const a=n&&n.target&&typeof n.target.pendingSeekTime=="function"?n.target.pendingSeekTime():this.player_.scrubbing()?this.player_.getCache().currentTime:this.player_.currentTime();s.updateTime(e,i,a)}}su.prototype.options_={children:[]};!Gt&&!Oi&&su.prototype.options_.children.push("timeTooltip");ge.registerComponent("PlayProgressBar",su);class Xh extends ge{constructor(e,i){super(e,i),this.update=Qi(pt(this,this.update),xi)}createEl(){return super.createEl("div",{className:"vjs-mouse-display"})}update(e,i){const n=i*this.player_.duration();this.getChild("timeTooltip").updateTime(e,i,n,()=>{this.el_.style.left=`${e.width*i}px`})}}Xh.prototype.options_={children:["timeTooltip"]};ge.registerComponent("MouseTimeDisplay",Xh);class Ka extends ru{constructor(e,i){i=ht(Ka.prototype.options_,i),i.children=[...i.children];const n=e.options_.disableSeekWhileScrubbingOnMobile&&(Gt||Oi)||e.options_.disableSeekWhileScrubbingOnSTV;(!Gt&&!Oi||n)&&i.children.splice(1,0,"mouseTimeDisplay"),super(e,i),this.shouldDisableSeekWhileScrubbing_=n,this.pendingSeekTime_=null,this.setEventHandlers_()}setEventHandlers_(){this.update_=pt(this,this.update),this.update=Qi(this.update_,xi),this.on(this.player_,["durationchange","timeupdate"],this.update),this.on(this.player_,["ended"],this.update_),this.player_.liveTracker&&this.on(this.player_.liveTracker,"liveedgechange",this.update),this.updateInterval=null,this.enableIntervalHandler_=e=>this.enableInterval_(e),this.disableIntervalHandler_=e=>this.disableInterval_(e),this.on(this.player_,["playing"],this.enableIntervalHandler_),this.on(this.player_,["ended","pause","waiting"],this.disableIntervalHandler_),"hidden"in we&&"visibilityState"in we&&this.on(we,"visibilitychange",this.toggleVisibility_)}toggleVisibility_(e){we.visibilityState==="hidden"?(this.cancelNamedAnimationFrame("SeekBar#update"),this.cancelNamedAnimationFrame("Slider#update"),this.disableInterval_(e)):(!this.player_.ended()&&!this.player_.paused()&&this.enableInterval_(),this.update())}enableInterval_(){this.updateInterval||(this.updateInterval=this.setInterval(this.update,xi))}disableInterval_(e){this.player_.liveTracker&&this.player_.liveTracker.isLive()&&e&&e.type!=="ended"||this.updateInterval&&(this.clearInterval(this.updateInterval),this.updateInterval=null)}createEl(){return super.createEl("div",{className:"vjs-progress-holder"},{"aria-label":this.localize("Progress Bar")})}update(e){if(we.visibilityState==="hidden")return;const i=super.update();return this.requestNamedAnimationFrame("SeekBar#update",()=>{const n=this.player_.ended()?this.player_.duration():this.getCurrentTime_(),s=this.player_.liveTracker;let a=this.player_.duration();s&&s.isLive()&&(a=this.player_.liveTracker.liveCurrentTime()),this.percent_!==i&&(this.el_.setAttribute("aria-valuenow",(i*100).toFixed(2)),this.percent_=i),(this.currentTime_!==n||this.duration_!==a)&&(this.el_.setAttribute("aria-valuetext",this.localize("progress bar timing: currentTime={1} duration={2}",[Rn(n,a),Rn(a,a)],"{1} of {2}")),this.currentTime_=n,this.duration_=a),this.bar&&this.bar.update(cr(this.el()),this.getProgress(),e)}),i}userSeek_(e){this.player_.liveTracker&&this.player_.liveTracker.isLive()&&this.player_.liveTracker.nextSeekedFromUser(),this.player_.currentTime(e)}getCurrentTime_(){return this.player_.scrubbing()?this.player_.getCache().currentTime:this.player_.currentTime()}pendingSeekTime(e){if(e!==void 0)if(e!==null){const i=this.player_.duration();this.pendingSeekTime_=Math.max(0,Math.min(e,i))}else this.pendingSeekTime_=null;return this.pendingSeekTime_}getPercent(){if(this.pendingSeekTime()!==null)return this.pendingSeekTime()/this.player_.duration();const e=this.getCurrentTime_();let i;const n=this.player_.liveTracker;return n&&n.isLive()?(i=(e-n.seekableStart())/n.liveWindow(),n.atLiveEdge()&&(i=1)):i=e/this.player_.duration(),i}handleMouseDown(e){os(e)&&(e.stopPropagation(),this.videoWasPlaying=!this.player_.paused(),this.shouldDisableSeekWhileScrubbing_||this.player_.pause(),super.handleMouseDown(e))}handleMouseMove(e,i=!1){if(!os(e)||isNaN(this.player_.duration()))return;!i&&!this.player_.scrubbing()&&this.player_.scrubbing(!0);let n;const s=this.calculateDistance(e),a=this.player_.liveTracker;if(!a||!a.isLive())n=s*this.player_.duration(),n===this.player_.duration()&&(n=n-.1);else{if(s>=.99){a.seekToLiveEdge();return}const o=a.seekableStart(),l=a.liveCurrentTime();if(n=o+s*a.liveWindow(),n>=l&&(n=l),n<=o&&(n=o+.1),n===1/0)return}this.shouldDisableSeekWhileScrubbing_?this.pendingSeekTime(n):this.userSeek_(n),this.player_.options_.enableSmoothSeeking&&this.update()}enable(){super.enable();const e=this.getChild("mouseTimeDisplay");e&&e.show()}disable(){super.disable();const e=this.getChild("mouseTimeDisplay");e&&e.hide()}handleMouseUp(e){super.handleMouseUp(e),e&&e.stopPropagation(),this.player_.scrubbing(!1),this.pendingSeekTime()!==null&&(this.userSeek_(this.pendingSeekTime()),this.pendingSeekTime(null)),this.player_.trigger({type:"timeupdate",target:this,manuallyTriggered:!0}),this.videoWasPlaying?Ui(this.player_.play()):this.update_()}handlePendingSeek_(e){this.player_.paused()||this.player_.pause();const i=this.pendingSeekTime()!==null?this.pendingSeekTime():this.player_.currentTime();this.pendingSeekTime(i+e),this.player_.trigger({type:"timeupdate",target:this,manuallyTriggered:!0})}stepForward(){this.shouldDisableSeekWhileScrubbing_?this.handlePendingSeek_(this.options().stepSeconds):this.userSeek_(this.player_.currentTime()+this.options().stepSeconds)}stepBack(){this.shouldDisableSeekWhileScrubbing_?this.handlePendingSeek_(-this.options().stepSeconds):this.userSeek_(this.player_.currentTime()-this.options().stepSeconds)}handleAction(e){this.pendingSeekTime()!==null&&(this.userSeek_(this.pendingSeekTime()),this.pendingSeekTime(null)),this.player_.paused()?this.player_.play():this.player_.pause()}handleKeyDown(e){const i=this.player_.liveTracker;if(e.key===" "||e.key==="Enter")e.preventDefault(),e.stopPropagation(),this.handleAction(e);else if(e.key==="Home")e.preventDefault(),e.stopPropagation(),this.userSeek_(0);else if(e.key==="End")e.preventDefault(),e.stopPropagation(),i&&i.isLive()?this.userSeek_(i.liveCurrentTime()):this.userSeek_(this.player_.duration());else if(/^[0-9]$/.test(e.key)){e.preventDefault(),e.stopPropagation();const n=parseInt(e.key,10)*.1;i&&i.isLive()?this.userSeek_(i.seekableStart()+i.liveWindow()*n):this.userSeek_(this.player_.duration()*n)}else e.key==="PageDown"?(e.preventDefault(),e.stopPropagation(),this.userSeek_(this.player_.currentTime()-this.options().stepSeconds*this.options().pageMultiplier)):e.key==="PageUp"?(e.preventDefault(),e.stopPropagation(),this.userSeek_(this.player_.currentTime()+this.options().stepSeconds*this.options().pageMultiplier)):super.handleKeyDown(e)}dispose(){this.disableInterval_(),this.off(this.player_,["durationchange","timeupdate"],this.update),this.off(this.player_,["ended"],this.update_),this.player_.liveTracker&&this.off(this.player_.liveTracker,"liveedgechange",this.update),this.off(this.player_,["playing"],this.enableIntervalHandler_),this.off(this.player_,["ended","pause","waiting"],this.disableIntervalHandler_),"hidden"in we&&"visibilityState"in we&&this.off(we,"visibilitychange",this.toggleVisibility_),super.dispose()}}Ka.prototype.options_={children:["loadProgressBar","playProgressBar"],barName:"playProgressBar",stepSeconds:5,pageMultiplier:12};ge.registerComponent("SeekBar",Ka);class Gh extends ge{constructor(e,i){super(e,i),this.handleMouseMove=Qi(pt(this,this.handleMouseMove),xi),this.throttledHandleMouseSeek=Qi(pt(this,this.handleMouseSeek),xi),this.handleMouseUpHandler_=n=>this.handleMouseUp(n),this.handleMouseDownHandler_=n=>this.handleMouseDown(n),this.enable()}createEl(){return super.createEl("div",{className:"vjs-progress-control vjs-control"})}handleMouseMove(e){const i=this.getChild("seekBar");if(!i)return;const n=i.getChild("playProgressBar"),s=i.getChild("mouseTimeDisplay");if(!n&&!s)return;const a=i.el(),o=as(a);let l=za(a,e).x;l=fs(l,0,1),s&&s.update(o,l),n&&n.update(o,i.getProgress())}handleMouseSeek(e){const i=this.getChild("seekBar");i&&i.handleMouseMove(e)}enabled(){return this.enabled_}disable(){if(this.children().forEach(e=>e.disable&&e.disable()),!!this.enabled()&&(this.off(["mousedown","touchstart"],this.handleMouseDownHandler_),this.off(this.el_,["mousemove","touchmove"],this.handleMouseMove),this.removeListenersAddedOnMousedownAndTouchstart(),this.addClass("disabled"),this.enabled_=!1,this.player_.scrubbing())){const e=this.getChild("seekBar");this.player_.scrubbing(!1),e.videoWasPlaying&&Ui(this.player_.play())}}enable(){this.children().forEach(e=>e.enable&&e.enable()),!this.enabled()&&(this.on(["mousedown","touchstart"],this.handleMouseDownHandler_),this.on(this.el_,["mousemove","touchmove"],this.handleMouseMove),this.removeClass("disabled"),this.enabled_=!0)}removeListenersAddedOnMousedownAndTouchstart(){const e=this.el_.ownerDocument;this.off(e,"mousemove",this.throttledHandleMouseSeek),this.off(e,"touchmove",this.throttledHandleMouseSeek),this.off(e,"mouseup",this.handleMouseUpHandler_),this.off(e,"touchend",this.handleMouseUpHandler_)}handleMouseDown(e){const i=this.el_.ownerDocument,n=this.getChild("seekBar");n&&n.handleMouseDown(e),this.on(i,"mousemove",this.throttledHandleMouseSeek),this.on(i,"touchmove",this.throttledHandleMouseSeek),this.on(i,"mouseup",this.handleMouseUpHandler_),this.on(i,"touchend",this.handleMouseUpHandler_)}handleMouseUp(e){const i=this.getChild("seekBar");i&&i.handleMouseUp(e),this.removeListenersAddedOnMousedownAndTouchstart()}}Gh.prototype.options_={children:["seekBar"]};ge.registerComponent("ProgressControl",Gh);class Qh extends Yt{constructor(e,i){super(e,i),this.setIcon("picture-in-picture-enter"),this.on(e,["enterpictureinpicture","leavepictureinpicture"],n=>this.handlePictureInPictureChange(n)),this.on(e,["disablepictureinpicturechanged","loadedmetadata"],n=>this.handlePictureInPictureEnabledChange(n)),this.on(e,["loadedmetadata","audioonlymodechange","audiopostermodechange"],()=>this.handlePictureInPictureAudioModeChange()),this.disable()}buildCSSClass(){return`vjs-picture-in-picture-control vjs-hidden ${super.buildCSSClass()}`}handlePictureInPictureAudioModeChange(){if(!(this.player_.currentType().substring(0,5)==="audio"||this.player_.audioPosterMode()||this.player_.audioOnlyMode())){this.show();return}this.player_.isInPictureInPicture()&&this.player_.exitPictureInPicture(),this.hide()}handlePictureInPictureEnabledChange(){we.pictureInPictureEnabled&&this.player_.disablePictureInPicture()===!1||this.player_.options_.enableDocumentPictureInPicture&&"documentPictureInPicture"in K?this.enable():this.disable()}handlePictureInPictureChange(e){this.player_.isInPictureInPicture()?(this.setIcon("picture-in-picture-exit"),this.controlText("Exit Picture-in-Picture")):(this.setIcon("picture-in-picture-enter"),this.controlText("Picture-in-Picture")),this.handlePictureInPictureEnabledChange()}handleClick(e){this.player_.isInPictureInPicture()?this.player_.exitPictureInPicture():this.player_.requestPictureInPicture()}show(){typeof we.exitPictureInPicture=="function"&&super.show()}}Qh.prototype.controlText_="Picture-in-Picture";ge.registerComponent("PictureInPictureToggle",Qh);class Yh extends Yt{constructor(e,i){super(e,i),this.setIcon("fullscreen-enter"),this.on(e,"fullscreenchange",n=>this.handleFullscreenChange(n)),we[e.fsApi_.fullscreenEnabled]===!1&&this.disable()}buildCSSClass(){return`vjs-fullscreen-control ${super.buildCSSClass()}`}handleFullscreenChange(e){this.player_.isFullscreen()?(this.controlText("Exit Fullscreen"),this.setIcon("fullscreen-exit")):(this.controlText("Fullscreen"),this.setIcon("fullscreen-enter"))}handleClick(e){this.player_.isFullscreen()?this.player_.exitFullscreen():this.player_.requestFullscreen()}}Yh.prototype.controlText_="Fullscreen";ge.registerComponent("FullscreenToggle",Yh);const j3=function(r,e){e.tech_&&!e.tech_.featuresVolumeControl&&r.addClass("vjs-hidden"),r.on(e,"loadstart",function(){e.tech_.featuresVolumeControl?r.removeClass("vjs-hidden"):r.addClass("vjs-hidden")})};class X3 extends ge{createEl(){const e=super.createEl("div",{className:"vjs-volume-level"});return this.setIcon("circle",e),e.appendChild(super.createEl("span",{className:"vjs-control-text"})),e}}ge.registerComponent("VolumeLevel",X3);class G3 extends ge{constructor(e,i){super(e,i),this.update=Qi(pt(this,this.update),xi)}createEl(){return super.createEl("div",{className:"vjs-volume-tooltip"},{"aria-hidden":"true"})}update(e,i,n,s){if(!n){const a=cr(this.el_),o=cr(this.player_.el()),l=e.width*i;if(!o||!a)return;const c=e.left-o.left+l,d=e.width-l+(o.right-e.right);let m=a.width/2;c<m?m+=m-c:d<m&&(m=d),m<0?m=0:m>a.width&&(m=a.width),this.el_.style.right=`-${m}px`}this.write(`${s}%`)}write(e){bn(this.el_,e)}updateVolume(e,i,n,s,a){this.requestNamedAnimationFrame("VolumeLevelTooltip#updateVolume",()=>{this.update(e,i,n,s.toFixed(0)),a&&a()})}}ge.registerComponent("VolumeLevelTooltip",G3);class Kh extends ge{constructor(e,i){super(e,i),this.update=Qi(pt(this,this.update),xi)}createEl(){return super.createEl("div",{className:"vjs-mouse-display"})}update(e,i,n){const s=100*i;this.getChild("volumeLevelTooltip").updateVolume(e,i,n,s,()=>{n?this.el_.style.bottom=`${e.height*i}px`:this.el_.style.left=`${e.width*i}px`})}}Kh.prototype.options_={children:["volumeLevelTooltip"]};ge.registerComponent("MouseVolumeLevelDisplay",Kh);class Wa extends ru{constructor(e,i){super(e,i),this.on("slideractive",n=>this.updateLastVolume_(n)),this.on(e,"volumechange",n=>this.updateARIAAttributes(n)),e.ready(()=>this.updateARIAAttributes())}createEl(){return super.createEl("div",{className:"vjs-volume-bar vjs-slider-bar"},{"aria-label":this.localize("Volume Level"),"aria-live":"polite"})}handleMouseDown(e){os(e)&&super.handleMouseDown(e)}handleMouseMove(e){const i=this.getChild("mouseVolumeLevelDisplay");if(i){const n=this.el(),s=cr(n),a=this.vertical();let o=za(n,e);o=a?o.y:o.x,o=fs(o,0,1),i.update(s,o,a)}os(e)&&(this.checkMuted(),this.player_.volume(this.calculateDistance(e)))}checkMuted(){this.player_.muted()&&this.player_.muted(!1)}getPercent(){return this.player_.muted()?0:this.player_.volume()}stepForward(){this.checkMuted(),this.player_.volume(this.player_.volume()+.1)}stepBack(){this.checkMuted(),this.player_.volume(this.player_.volume()-.1)}updateARIAAttributes(e){const i=this.player_.muted()?0:this.volumeAsPercentage_();this.el_.setAttribute("aria-valuenow",i),this.el_.setAttribute("aria-valuetext",i+"%")}volumeAsPercentage_(){return Math.round(this.player_.volume()*100)}updateLastVolume_(){const e=this.player_.volume();this.one("sliderinactive",()=>{this.player_.volume()===0&&this.player_.lastVolume_(e)})}}Wa.prototype.options_={children:["volumeLevel"],barName:"volumeLevel"};!Gt&&!Oi&&Wa.prototype.options_.children.splice(0,0,"mouseVolumeLevelDisplay");Wa.prototype.playerEvent="volumechange";ge.registerComponent("VolumeBar",Wa);class Wh extends ge{constructor(e,i={}){i.vertical=i.vertical||!1,(typeof i.volumeBar>"u"||lr(i.volumeBar))&&(i.volumeBar=i.volumeBar||{},i.volumeBar.vertical=i.vertical),super(e,i),j3(this,e),this.throttledHandleMouseMove=Qi(pt(this,this.handleMouseMove),xi),this.handleMouseUpHandler_=n=>this.handleMouseUp(n),this.on("mousedown",n=>this.handleMouseDown(n)),this.on("touchstart",n=>this.handleMouseDown(n)),this.on("mousemove",n=>this.handleMouseMove(n)),this.on(this.volumeBar,["focus","slideractive"],()=>{this.volumeBar.addClass("vjs-slider-active"),this.addClass("vjs-slider-active"),this.trigger("slideractive")}),this.on(this.volumeBar,["blur","sliderinactive"],()=>{this.volumeBar.removeClass("vjs-slider-active"),this.removeClass("vjs-slider-active"),this.trigger("sliderinactive")})}createEl(){let e="vjs-volume-horizontal";return this.options_.vertical&&(e="vjs-volume-vertical"),super.createEl("div",{className:`vjs-volume-control vjs-control ${e}`})}handleMouseDown(e){const i=this.el_.ownerDocument;this.on(i,"mousemove",this.throttledHandleMouseMove),this.on(i,"touchmove",this.throttledHandleMouseMove),this.on(i,"mouseup",this.handleMouseUpHandler_),this.on(i,"touchend",this.handleMouseUpHandler_)}handleMouseUp(e){const i=this.el_.ownerDocument;this.off(i,"mousemove",this.throttledHandleMouseMove),this.off(i,"touchmove",this.throttledHandleMouseMove),this.off(i,"mouseup",this.handleMouseUpHandler_),this.off(i,"touchend",this.handleMouseUpHandler_)}handleMouseMove(e){this.volumeBar.handleMouseMove(e)}}Wh.prototype.options_={children:["volumeBar"]};ge.registerComponent("VolumeControl",Wh);const Q3=function(r,e){e.tech_&&!e.tech_.featuresMuteControl&&r.addClass("vjs-hidden"),r.on(e,"loadstart",function(){e.tech_.featuresMuteControl?r.removeClass("vjs-hidden"):r.addClass("vjs-hidden")})};class Jh extends Yt{constructor(e,i){super(e,i),Q3(this,e),this.on(e,["loadstart","volumechange"],n=>this.update(n))}buildCSSClass(){return`vjs-mute-control ${super.buildCSSClass()}`}handleClick(e){const i=this.player_.volume(),n=this.player_.lastVolume_();if(i===0){const s=n<.1?.1:n;this.player_.volume(s),this.player_.muted(!1)}else this.player_.muted(!this.player_.muted())}update(e){this.updateIcon_(),this.updateControlText_()}updateIcon_(){const e=this.player_.volume();let i=3;this.setIcon("volume-high"),Gt&&this.player_.tech_&&this.player_.tech_.el_&&this.player_.muted(this.player_.tech_.el_.muted),e===0||this.player_.muted()?(this.setIcon("volume-mute"),i=0):e<.33?(this.setIcon("volume-low"),i=1):e<.67&&(this.setIcon("volume-medium"),i=2),Fa(this.el_,[0,1,2,3].reduce((n,s)=>n+`${s?" ":""}vjs-vol-${s}`,"")),Nn(this.el_,`vjs-vol-${i}`)}updateControlText_(){const i=this.player_.muted()||this.player_.volume()===0?"Unmute":"Mute";this.controlText()!==i&&this.controlText(i)}}Jh.prototype.controlText_="Mute";ge.registerComponent("MuteToggle",Jh);class Zh extends ge{constructor(e,i={}){typeof i.inline<"u"?i.inline=i.inline:i.inline=!0,(typeof i.volumeControl>"u"||lr(i.volumeControl))&&(i.volumeControl=i.volumeControl||{},i.volumeControl.vertical=!i.inline),super(e,i),this.handleKeyPressHandler_=n=>this.handleKeyPress(n),this.on(e,["loadstart"],n=>this.volumePanelState_(n)),this.on(this.muteToggle,"keyup",n=>this.handleKeyPress(n)),this.on(this.volumeControl,"keyup",n=>this.handleVolumeControlKeyUp(n)),this.on("keydown",n=>this.handleKeyPress(n)),this.on("mouseover",n=>this.handleMouseOver(n)),this.on("mouseout",n=>this.handleMouseOut(n)),this.on(this.volumeControl,["slideractive"],this.sliderActive_),this.on(this.volumeControl,["sliderinactive"],this.sliderInactive_)}sliderActive_(){this.addClass("vjs-slider-active")}sliderInactive_(){this.removeClass("vjs-slider-active")}volumePanelState_(){this.volumeControl.hasClass("vjs-hidden")&&this.muteToggle.hasClass("vjs-hidden")&&this.addClass("vjs-hidden"),this.volumeControl.hasClass("vjs-hidden")&&!this.muteToggle.hasClass("vjs-hidden")&&this.addClass("vjs-mute-toggle-only")}createEl(){let e="vjs-volume-panel-horizontal";return this.options_.inline||(e="vjs-volume-panel-vertical"),super.createEl("div",{className:`vjs-volume-panel vjs-control ${e}`})}dispose(){this.handleMouseOut(),super.dispose()}handleVolumeControlKeyUp(e){e.key==="Escape"&&this.muteToggle.focus()}handleMouseOver(e){this.addClass("vjs-hover"),mi(we,"keyup",this.handleKeyPressHandler_)}handleMouseOut(e){this.removeClass("vjs-hover"),Qt(we,"keyup",this.handleKeyPressHandler_)}handleKeyPress(e){e.key==="Escape"&&this.handleMouseOut()}}Zh.prototype.options_={children:["muteToggle","volumeControl"]};ge.registerComponent("VolumePanel",Zh);class $h extends Yt{constructor(e,i){super(e,i),this.validOptions=[5,10,30],this.skipTime=this.getSkipForwardTime(),this.skipTime&&this.validOptions.includes(this.skipTime)?(this.setIcon(`forward-${this.skipTime}`),this.controlText(this.localize("Skip forward {1} seconds",[this.skipTime.toLocaleString(e.language())])),this.show()):this.hide()}getSkipForwardTime(){const e=this.options_.playerOptions;return e.controlBar&&e.controlBar.skipButtons&&e.controlBar.skipButtons.forward}buildCSSClass(){return`vjs-skip-forward-${this.getSkipForwardTime()} ${super.buildCSSClass()}`}handleClick(e){if(isNaN(this.player_.duration()))return;const i=this.player_.currentTime(),n=this.player_.liveTracker,s=n&&n.isLive()?n.seekableEnd():this.player_.duration();let a;i+this.skipTime<=s?a=i+this.skipTime:a=s,this.player_.currentTime(a)}handleLanguagechange(){this.controlText(this.localize("Skip forward {1} seconds",[this.skipTime]))}}$h.prototype.controlText_="Skip Forward";ge.registerComponent("SkipForward",$h);class ef extends Yt{constructor(e,i){super(e,i),this.validOptions=[5,10,30],this.skipTime=this.getSkipBackwardTime(),this.skipTime&&this.validOptions.includes(this.skipTime)?(this.setIcon(`replay-${this.skipTime}`),this.controlText(this.localize("Skip backward {1} seconds",[this.skipTime.toLocaleString(e.language())])),this.show()):this.hide()}getSkipBackwardTime(){const e=this.options_.playerOptions;return e.controlBar&&e.controlBar.skipButtons&&e.controlBar.skipButtons.backward}buildCSSClass(){return`vjs-skip-backward-${this.getSkipBackwardTime()} ${super.buildCSSClass()}`}handleClick(e){const i=this.player_.currentTime(),n=this.player_.liveTracker,s=n&&n.isLive()&&n.seekableStart();let a;s&&i-this.skipTime<=s?a=s:i>=this.skipTime?a=i-this.skipTime:a=0,this.player_.currentTime(a)}handleLanguagechange(){this.controlText(this.localize("Skip backward {1} seconds",[this.skipTime]))}}ef.prototype.controlText_="Skip Backward";ge.registerComponent("SkipBackward",ef);class tf extends ge{constructor(e,i){super(e,i),i&&(this.menuButton_=i.menuButton),this.focusedChild_=-1,this.on("keydown",n=>this.handleKeyDown(n)),this.boundHandleBlur_=n=>this.handleBlur(n),this.boundHandleTapClick_=n=>this.handleTapClick(n)}addEventListenerForItem(e){e instanceof ge&&(this.on(e,"blur",this.boundHandleBlur_),this.on(e,["tap","click"],this.boundHandleTapClick_))}removeEventListenerForItem(e){e instanceof ge&&(this.off(e,"blur",this.boundHandleBlur_),this.off(e,["tap","click"],this.boundHandleTapClick_))}removeChild(e){typeof e=="string"&&(e=this.getChild(e)),this.removeEventListenerForItem(e),super.removeChild(e)}addItem(e){const i=this.addChild(e);i&&this.addEventListenerForItem(i)}createEl(){const e=this.options_.contentElType||"ul";this.contentEl_=Qe(e,{className:"vjs-menu-content"}),this.contentEl_.setAttribute("role","menu");const i=super.createEl("div",{append:this.contentEl_,className:"vjs-menu"});return i.appendChild(this.contentEl_),mi(i,"click",function(n){n.preventDefault(),n.stopImmediatePropagation()}),i}dispose(){this.contentEl_=null,this.boundHandleBlur_=null,this.boundHandleTapClick_=null,super.dispose()}handleBlur(e){const i=e.relatedTarget||we.activeElement;if(!this.children().some(n=>n.el()===i)){const n=this.menuButton_;n&&n.buttonPressed_&&i!==n.el().firstChild&&n.unpressButton()}}handleTapClick(e){if(this.menuButton_){this.menuButton_.unpressButton();const i=this.children();if(!Array.isArray(i))return;const n=i.filter(s=>s.el()===e.target)[0];if(!n)return;n.name()!=="CaptionSettingsMenuItem"&&this.menuButton_.focus()}}handleKeyDown(e){e.key==="ArrowLeft"||e.key==="ArrowDown"?(e.preventDefault(),e.stopPropagation(),this.stepForward()):(e.key==="ArrowRight"||e.key==="ArrowUp")&&(e.preventDefault(),e.stopPropagation(),this.stepBack())}stepForward(){let e=0;this.focusedChild_!==void 0&&(e=this.focusedChild_+1),this.focus(e)}stepBack(){let e=0;this.focusedChild_!==void 0&&(e=this.focusedChild_-1),this.focus(e)}focus(e=0){const i=this.children().slice();i.length&&i[0].hasClass("vjs-menu-title")&&i.shift(),i.length>0&&(e<0?e=0:e>=i.length&&(e=i.length-1),this.focusedChild_=e,i[e].el_.focus())}}ge.registerComponent("Menu",tf);class au extends ge{constructor(e,i={}){super(e,i),this.menuButton_=new Yt(e,i),this.menuButton_.controlText(this.controlText_),this.menuButton_.el_.setAttribute("aria-haspopup","true");const n=Yt.prototype.buildCSSClass();this.menuButton_.el_.className=this.buildCSSClass()+" "+n,this.menuButton_.removeClass("vjs-control"),this.addChild(this.menuButton_),this.update(),this.enabled_=!0;const s=a=>this.handleClick(a);this.handleMenuKeyUp_=a=>this.handleMenuKeyUp(a),this.on(this.menuButton_,"tap",s),this.on(this.menuButton_,"click",s),this.on(this.menuButton_,"keydown",a=>this.handleKeyDown(a)),this.on(this.menuButton_,"mouseenter",()=>{this.addClass("vjs-hover"),this.menu.show(),mi(we,"keyup",this.handleMenuKeyUp_)}),this.on("mouseleave",a=>this.handleMouseLeave(a)),this.on("keydown",a=>this.handleSubmenuKeyDown(a))}update(){const e=this.createMenu();this.menu&&(this.menu.dispose(),this.removeChild(this.menu)),this.menu=e,this.addChild(e),this.buttonPressed_=!1,this.menuButton_.el_.setAttribute("aria-expanded","false"),this.items&&this.items.length<=this.hideThreshold_?(this.hide(),this.menu.contentEl_.removeAttribute("role")):(this.show(),this.menu.contentEl_.setAttribute("role","menu"))}createMenu(){const e=new tf(this.player_,{menuButton:this});if(this.hideThreshold_=0,this.options_.title){const i=Qe("li",{className:"vjs-menu-title",textContent:At(this.options_.title),tabIndex:-1}),n=new ge(this.player_,{el:i});e.addItem(n)}if(this.items=this.createItems(),this.items)for(let i=0;i<this.items.length;i++)e.addItem(this.items[i]);return e}createItems(){}createEl(){return super.createEl("div",{className:this.buildWrapperCSSClass()},{})}setIcon(e){return super.setIcon(e,this.menuButton_.el_)}buildWrapperCSSClass(){let e="vjs-menu-button";this.options_.inline===!0?e+="-inline":e+="-popup";const i=Yt.prototype.buildCSSClass();return`vjs-menu-button ${e} ${i} ${super.buildCSSClass()}`}buildCSSClass(){let e="vjs-menu-button";return this.options_.inline===!0?e+="-inline":e+="-popup",`vjs-menu-button ${e} ${super.buildCSSClass()}`}controlText(e,i=this.menuButton_.el()){return this.menuButton_.controlText(e,i)}dispose(){this.handleMouseLeave(),super.dispose()}handleClick(e){this.buttonPressed_?this.unpressButton():this.pressButton()}handleMouseLeave(e){this.removeClass("vjs-hover"),Qt(we,"keyup",this.handleMenuKeyUp_)}focus(){this.menuButton_.focus()}blur(){this.menuButton_.blur()}handleKeyDown(e){e.key==="Escape"||e.key==="Tab"?(this.buttonPressed_&&this.unpressButton(),!e.key==="Tab"&&(e.preventDefault(),this.menuButton_.focus())):(e.key==="Up"||e.key==="Down"&&!(this.player_.options_.playerOptions.spatialNavigation&&this.player_.options_.playerOptions.spatialNavigation.enabled))&&(this.buttonPressed_||(e.preventDefault(),this.pressButton()))}handleMenuKeyUp(e){(e.key==="Escape"||e.key==="Tab")&&this.removeClass("vjs-hover")}handleSubmenuKeyPress(e){this.handleSubmenuKeyDown(e)}handleSubmenuKeyDown(e){(e.key==="Escape"||e.key==="Tab")&&(this.buttonPressed_&&this.unpressButton(),!e.key==="Tab"&&(e.preventDefault(),this.menuButton_.focus()))}pressButton(){if(this.enabled_){if(this.buttonPressed_=!0,this.menu.show(),this.menu.lockShowing(),this.menuButton_.el_.setAttribute("aria-expanded","true"),Gt&&dh())return;this.menu.focus()}}unpressButton(){this.enabled_&&(this.buttonPressed_=!1,this.menu.unlockShowing(),this.menu.hide(),this.menuButton_.el_.setAttribute("aria-expanded","false"))}disable(){this.unpressButton(),this.enabled_=!1,this.addClass("vjs-disabled"),this.menuButton_.disable()}enable(){this.enabled_=!0,this.removeClass("vjs-disabled"),this.menuButton_.enable()}}ge.registerComponent("MenuButton",au);class ou extends au{constructor(e,i){const n=i.tracks;if(super(e,i),this.items.length<=1&&this.hide(),!n)return;const s=pt(this,this.update);n.addEventListener("removetrack",s),n.addEventListener("addtrack",s),n.addEventListener("labelchange",s),this.player_.on("ready",s),this.player_.on("dispose",function(){n.removeEventListener("removetrack",s),n.removeEventListener("addtrack",s),n.removeEventListener("labelchange",s)})}}ge.registerComponent("TrackButton",ou);class ps extends Ya{constructor(e,i){super(e,i),this.selectable=i.selectable,this.isSelected_=i.selected||!1,this.multiSelectable=i.multiSelectable,this.selected(this.isSelected_),this.selectable?this.multiSelectable?this.el_.setAttribute("role","menuitemcheckbox"):this.el_.setAttribute("role","menuitemradio"):this.el_.setAttribute("role","menuitem")}createEl(e,i,n){this.nonIconControl=!0;const s=super.createEl("li",Object.assign({className:"vjs-menu-item",tabIndex:-1},i),n),a=Qe("span",{className:"vjs-menu-item-text",textContent:this.localize(this.options_.label)});return this.player_.options_.experimentalSvgIcons?s.appendChild(a):s.replaceChild(a,s.querySelector(".vjs-icon-placeholder")),s}handleKeyDown(e){["Tab","Escape","ArrowUp","ArrowLeft","ArrowRight","ArrowDown"].includes(e.key)||super.handleKeyDown(e)}handleClick(e){this.selected(!0)}selected(e){this.selectable&&(e?(this.addClass("vjs-selected"),this.el_.setAttribute("aria-checked","true"),this.controlText(", selected"),this.isSelected_=!0):(this.removeClass("vjs-selected"),this.el_.setAttribute("aria-checked","false"),this.controlText(""),this.isSelected_=!1))}}ge.registerComponent("MenuItem",ps);class ms extends ps{constructor(e,i){const n=i.track,s=e.textTracks();i.label=n.label||n.language||"Unknown",i.selected=n.mode==="showing",super(e,i),this.track=n,this.kinds=(i.kinds||[i.kind||this.track.kind]).filter(Boolean);const a=(...l)=>{this.handleTracksChange.apply(this,l)},o=(...l)=>{this.handleSelectedLanguageChange.apply(this,l)};if(e.on(["loadstart","texttrackchange"],a),s.addEventListener("change",a),s.addEventListener("selectedlanguagechange",o),this.on("dispose",function(){e.off(["loadstart","texttrackchange"],a),s.removeEventListener("change",a),s.removeEventListener("selectedlanguagechange",o)}),s.onchange===void 0){let l;this.on(["tap","click"],function(){if(typeof K.Event!="object")try{l=new K.Event("change")}catch{}l||(l=we.createEvent("Event"),l.initEvent("change",!0,!0)),s.dispatchEvent(l)})}this.handleTracksChange()}handleClick(e){const i=this.track,n=this.player_.textTracks();if(super.handleClick(e),!!n)for(let s=0;s<n.length;s++){const a=n[s];this.kinds.indexOf(a.kind)!==-1&&(a===i?a.mode!=="showing"&&(a.mode="showing"):a.mode!=="disabled"&&(a.mode="disabled"))}}handleTracksChange(e){const i=this.track.mode==="showing";i!==this.isSelected_&&this.selected(i)}handleSelectedLanguageChange(e){if(this.track.mode==="showing"){const i=this.player_.cache_.selectedLanguage;if(i&&i.enabled&&i.language===this.track.language&&i.kind!==this.track.kind)return;this.player_.cache_.selectedLanguage={enabled:!0,language:this.track.language,kind:this.track.kind}}}dispose(){this.track=null,super.dispose()}}ge.registerComponent("TextTrackMenuItem",ms);class nf extends ms{constructor(e,i){i.track={player:e,kind:i.kind,kinds:i.kinds,default:!1,mode:"disabled"},i.kinds||(i.kinds=[i.kind]),i.label?i.track.label=i.label:i.track.label=i.kinds.join(" and ")+" off",i.selectable=!0,i.multiSelectable=!1,super(e,i)}handleTracksChange(e){const i=this.player().textTracks();let n=!0;for(let s=0,a=i.length;s<a;s++){const o=i[s];if(this.options_.kinds.indexOf(o.kind)>-1&&o.mode==="showing"){n=!1;break}}n!==this.isSelected_&&this.selected(n)}handleSelectedLanguageChange(e){const i=this.player().textTracks();let n=!0;for(let s=0,a=i.length;s<a;s++){const o=i[s];if(["captions","descriptions","subtitles"].indexOf(o.kind)>-1&&o.mode==="showing"){n=!1;break}}n&&(this.player_.cache_.selectedLanguage={enabled:!1})}handleLanguagechange(){this.$(".vjs-menu-item-text").textContent=this.player_.localize(this.options_.label),super.handleLanguagechange()}}ge.registerComponent("OffTextTrackMenuItem",nf);class br extends ou{constructor(e,i={}){i.tracks=e.textTracks(),super(e,i)}createItems(e=[],i=ms){let n;this.label_&&(n=`${this.label_} off`),e.push(new nf(this.player_,{kinds:this.kinds_,kind:this.kind_,label:n})),this.hideThreshold_+=1;const s=this.player_.textTracks();Array.isArray(this.kinds_)||(this.kinds_=[this.kind_]);for(let a=0;a<s.length;a++){const o=s[a];if(this.kinds_.indexOf(o.kind)>-1){const l=new i(this.player_,{track:o,kinds:this.kinds_,kind:this.kind_,selectable:!0,multiSelectable:!1});l.addClass(`vjs-${o.kind}-menu-item`),e.push(l)}}return e}}ge.registerComponent("TextTrackButton",br);class rf extends ps{constructor(e,i){const n=i.track,s=i.cue,a=e.currentTime();i.selectable=!0,i.multiSelectable=!1,i.label=s.text,i.selected=s.startTime<=a&&a<s.endTime,super(e,i),this.track=n,this.cue=s}handleClick(e){super.handleClick(),this.player_.currentTime(this.cue.startTime)}}ge.registerComponent("ChaptersTrackMenuItem",rf);class lu extends br{constructor(e,i,n){super(e,i,n),this.setIcon("chapters"),this.selectCurrentItem_=()=>{this.items.forEach(s=>{s.selected(this.track_.activeCues[0]===s.cue)})}}buildCSSClass(){return`vjs-chapters-button ${super.buildCSSClass()}`}buildWrapperCSSClass(){return`vjs-chapters-button ${super.buildWrapperCSSClass()}`}update(e){if(e&&e.track&&e.track.kind!=="chapters")return;const i=this.findChaptersTrack();i!==this.track_?(this.setTrack(i),super.update()):(!this.items||i&&i.cues&&i.cues.length!==this.items.length)&&super.update()}setTrack(e){if(this.track_!==e){if(this.updateHandler_||(this.updateHandler_=this.update.bind(this)),this.track_){const i=this.player_.remoteTextTrackEls().getTrackElementByTrack_(this.track_);i&&i.removeEventListener("load",this.updateHandler_),this.track_.removeEventListener("cuechange",this.selectCurrentItem_),this.track_=null}if(this.track_=e,this.track_){this.track_.mode="hidden";const i=this.player_.remoteTextTrackEls().getTrackElementByTrack_(this.track_);i&&i.addEventListener("load",this.updateHandler_),this.track_.addEventListener("cuechange",this.selectCurrentItem_)}}}findChaptersTrack(){const e=this.player_.textTracks()||[];for(let i=e.length-1;i>=0;i--){const n=e[i];if(n.kind===this.kind_)return n}}getMenuCaption(){return this.track_&&this.track_.label?this.track_.label:this.localize(At(this.kind_))}createMenu(){return this.options_.title=this.getMenuCaption(),super.createMenu()}createItems(){const e=[];if(!this.track_)return e;const i=this.track_.cues;if(!i)return e;for(let n=0,s=i.length;n<s;n++){const a=i[n],o=new rf(this.player_,{track:this.track_,cue:a});e.push(o)}return e}}lu.prototype.kind_="chapters";lu.prototype.controlText_="Chapters";ge.registerComponent("ChaptersButton",lu);class uu extends br{constructor(e,i,n){super(e,i,n),this.setIcon("audio-description");const s=e.textTracks(),a=pt(this,this.handleTracksChange);s.addEventListener("change",a),this.on("dispose",function(){s.removeEventListener("change",a)})}handleTracksChange(e){const i=this.player().textTracks();let n=!1;for(let s=0,a=i.length;s<a;s++){const o=i[s];if(o.kind!==this.kind_&&o.mode==="showing"){n=!0;break}}n?this.disable():this.enable()}buildCSSClass(){return`vjs-descriptions-button ${super.buildCSSClass()}`}buildWrapperCSSClass(){return`vjs-descriptions-button ${super.buildWrapperCSSClass()}`}}uu.prototype.kind_="descriptions";uu.prototype.controlText_="Descriptions";ge.registerComponent("DescriptionsButton",uu);class cu extends br{constructor(e,i,n){super(e,i,n),this.setIcon("subtitles")}buildCSSClass(){return`vjs-subtitles-button ${super.buildCSSClass()}`}buildWrapperCSSClass(){return`vjs-subtitles-button ${super.buildWrapperCSSClass()}`}}cu.prototype.kind_="subtitles";cu.prototype.controlText_="Subtitles";ge.registerComponent("SubtitlesButton",cu);class du extends ms{constructor(e,i){i.track={player:e,kind:i.kind,label:i.kind+" settings",selectable:!1,default:!1,mode:"disabled"},i.selectable=!1,i.name="CaptionSettingsMenuItem",super(e,i),this.addClass("vjs-texttrack-settings"),this.controlText(", opens "+i.kind+" settings dialog")}handleClick(e){this.player().getChild("textTrackSettings").open()}handleLanguagechange(){this.$(".vjs-menu-item-text").textContent=this.player_.localize(this.options_.kind+" settings"),super.handleLanguagechange()}}ge.registerComponent("CaptionSettingsMenuItem",du);class hu extends br{constructor(e,i,n){super(e,i,n),this.setIcon("captions")}buildCSSClass(){return`vjs-captions-button ${super.buildCSSClass()}`}buildWrapperCSSClass(){return`vjs-captions-button ${super.buildWrapperCSSClass()}`}createItems(){const e=[];return!(this.player().tech_&&this.player().tech_.featuresNativeTextTracks)&&this.player().getChild("textTrackSettings")&&(e.push(new du(this.player_,{kind:this.kind_})),this.hideThreshold_+=1),super.createItems(e)}}hu.prototype.kind_="captions";hu.prototype.controlText_="Captions";ge.registerComponent("CaptionsButton",hu);class sf extends ms{createEl(e,i,n){const s=super.createEl(e,i,n),a=s.querySelector(".vjs-menu-item-text");return this.options_.track.kind==="captions"&&(this.player_.options_.experimentalSvgIcons?this.setIcon("captions",s):a.appendChild(Qe("span",{className:"vjs-icon-placeholder"},{"aria-hidden":!0})),a.appendChild(Qe("span",{className:"vjs-control-text",textContent:` ${this.localize("Captions")}`}))),s}}ge.registerComponent("SubsCapsMenuItem",sf);class fu extends br{constructor(e,i={}){super(e,i),this.label_="subtitles",this.setIcon("subtitles"),["en","en-us","en-ca","fr-ca"].indexOf(this.player_.language_)>-1&&(this.label_="captions",this.setIcon("captions")),this.menuButton_.controlText(At(this.label_))}buildCSSClass(){return`vjs-subs-caps-button ${super.buildCSSClass()}`}buildWrapperCSSClass(){return`vjs-subs-caps-button ${super.buildWrapperCSSClass()}`}createItems(){let e=[];return!(this.player().tech_&&this.player().tech_.featuresNativeTextTracks)&&this.player().getChild("textTrackSettings")&&(e.push(new du(this.player_,{kind:this.label_})),this.hideThreshold_+=1),e=super.createItems(e,sf),e}}fu.prototype.kinds_=["captions","subtitles"];fu.prototype.controlText_="Subtitles";ge.registerComponent("SubsCapsButton",fu);class af extends ps{constructor(e,i){const n=i.track,s=e.audioTracks();i.label=n.label||n.language||"Unknown",i.selected=n.enabled,super(e,i),this.track=n,this.addClass(`vjs-${n.kind}-menu-item`);const a=(...o)=>{this.handleTracksChange.apply(this,o)};s.addEventListener("change",a),this.on("dispose",()=>{s.removeEventListener("change",a)})}createEl(e,i,n){const s=super.createEl(e,i,n),a=s.querySelector(".vjs-menu-item-text");return["main-desc","descriptions"].indexOf(this.options_.track.kind)>=0&&(a.appendChild(Qe("span",{className:"vjs-icon-placeholder"},{"aria-hidden":!0})),a.appendChild(Qe("span",{className:"vjs-control-text",textContent:" "+this.localize("Descriptions")}))),s}handleClick(e){if(super.handleClick(e),this.track.enabled=!0,this.player_.tech_.featuresNativeAudioTracks){const i=this.player_.audioTracks();for(let n=0;n<i.length;n++){const s=i[n];s!==this.track&&(s.enabled=s===this.track)}}}handleTracksChange(e){this.selected(this.track.enabled)}}ge.registerComponent("AudioTrackMenuItem",af);class of extends ou{constructor(e,i={}){i.tracks=e.audioTracks(),super(e,i),this.setIcon("audio")}buildCSSClass(){return`vjs-audio-button ${super.buildCSSClass()}`}buildWrapperCSSClass(){return`vjs-audio-button ${super.buildWrapperCSSClass()}`}createItems(e=[]){this.hideThreshold_=1;const i=this.player_.audioTracks();for(let n=0;n<i.length;n++){const s=i[n];e.push(new af(this.player_,{track:s,selectable:!0,multiSelectable:!1}))}return e}}of.prototype.controlText_="Audio Track";ge.registerComponent("AudioTrackButton",of);class pu extends ps{constructor(e,i){const n=i.rate,s=parseFloat(n,10);i.label=n,i.selected=s===e.playbackRate(),i.selectable=!0,i.multiSelectable=!1,super(e,i),this.label=n,this.rate=s,this.on(e,"ratechange",a=>this.update(a))}handleClick(e){super.handleClick(),this.player().playbackRate(this.rate)}update(e){this.selected(this.player().playbackRate()===this.rate)}}pu.prototype.contentElType="button";ge.registerComponent("PlaybackRateMenuItem",pu);class lf extends au{constructor(e,i){super(e,i),this.menuButton_.el_.setAttribute("aria-describedby",this.labelElId_),this.updateVisibility(),this.updateLabel(),this.on(e,"loadstart",n=>this.updateVisibility(n)),this.on(e,"ratechange",n=>this.updateLabel(n)),this.on(e,"playbackrateschange",n=>this.handlePlaybackRateschange(n))}createEl(){const e=super.createEl();return this.labelElId_="vjs-playback-rate-value-label-"+this.id_,this.labelEl_=Qe("div",{className:"vjs-playback-rate-value",id:this.labelElId_,textContent:"1x"}),e.appendChild(this.labelEl_),e}dispose(){this.labelEl_=null,super.dispose()}buildCSSClass(){return`vjs-playback-rate ${super.buildCSSClass()}`}buildWrapperCSSClass(){return`vjs-playback-rate ${super.buildWrapperCSSClass()}`}createItems(){const e=this.playbackRates(),i=[];for(let n=e.length-1;n>=0;n--)i.push(new pu(this.player(),{rate:e[n]+"x"}));return i}handlePlaybackRateschange(e){this.update()}playbackRates(){const e=this.player();return e.playbackRates&&e.playbackRates()||[]}playbackRateSupported(){return this.player().tech_&&this.player().tech_.featuresPlaybackRate&&this.playbackRates()&&this.playbackRates().length>0}updateVisibility(e){this.playbackRateSupported()?this.removeClass("vjs-hidden"):this.addClass("vjs-hidden")}updateLabel(e){this.playbackRateSupported()&&(this.labelEl_.textContent=this.player().playbackRate()+"x")}}lf.prototype.controlText_="Playback Rate";ge.registerComponent("PlaybackRateMenuButton",lf);class uf extends ge{buildCSSClass(){return`vjs-spacer ${super.buildCSSClass()}`}createEl(e="div",i={},n={}){return i.className||(i.className=this.buildCSSClass()),super.createEl(e,i,n)}}ge.registerComponent("Spacer",uf);class Y3 extends uf{buildCSSClass(){return`vjs-custom-control-spacer ${super.buildCSSClass()}`}createEl(){return super.createEl("div",{className:this.buildCSSClass(),textContent:" "})}}ge.registerComponent("CustomControlSpacer",Y3);class cf extends ge{createEl(){return super.createEl("div",{className:"vjs-control-bar",dir:"ltr"})}}cf.prototype.options_={children:["playToggle","skipBackward","skipForward","volumePanel","currentTimeDisplay","timeDivider","durationDisplay","progressControl","liveDisplay","seekToLive","remainingTimeDisplay","customControlSpacer","playbackRateMenuButton","chaptersButton","descriptionsButton","subsCapsButton","audioTrackButton","pictureInPictureToggle","fullscreenToggle"]};ge.registerComponent("ControlBar",cf);class df extends vr{constructor(e,i){super(e,i),this.on(e,"error",n=>{this.open(n)})}buildCSSClass(){return`vjs-error-display ${super.buildCSSClass()}`}content(){const e=this.player().error();return e?this.localize(e.message):""}}df.prototype.options_=Object.assign({},vr.prototype.options_,{pauseOnOpen:!1,fillAlways:!0,temporary:!1,uncloseable:!0});ge.registerComponent("ErrorDisplay",df);class hf extends ge{constructor(e,i={}){super(e,i),this.el_.setAttribute("aria-labelledby",this.selectLabelledbyIds)}createEl(){return this.selectLabelledbyIds=[this.options_.legendId,this.options_.labelId].join(" ").trim(),Qe("select",{id:this.options_.id},{},this.options_.SelectOptions.map(i=>{const n=(this.options_.labelId?this.options_.labelId:`vjs-track-option-${Ei()}`)+"-"+i[1].replace(/\W+/g,""),s=Qe("option",{id:n,value:this.localize(i[0]),textContent:this.localize(i[1])});return s.setAttribute("aria-labelledby",`${this.selectLabelledbyIds} ${n}`),s}))}}ge.registerComponent("TextTrackSelect",hf);class Pn extends ge{constructor(e,i={}){super(e,i);const n=Qe("legend",{textContent:this.localize(this.options_.legendText),id:this.options_.legendId});this.el().appendChild(n);const s=this.options_.selects;for(const a of s){const o=this.options_.selectConfigs[a],l=o.className,c=o.id.replace("%s",this.options_.id_);let d=null;const m=`vjs_select_${Ei()}`;if(this.options_.type==="colors"){d=Qe("span",{className:l});const E=Qe("label",{id:c,className:"vjs-label",textContent:this.localize(o.label)});E.setAttribute("for",m),d.appendChild(E)}const g=new hf(e,{SelectOptions:o.options,legendId:this.options_.legendId,id:m,labelId:c});this.addChild(g),this.options_.type==="colors"&&(d.appendChild(g.el()),this.el().appendChild(d))}}createEl(){return Qe("fieldset",{className:this.options_.className})}}ge.registerComponent("TextTrackFieldset",Pn);class ff extends ge{constructor(e,i={}){super(e,i);const n=this.options_.textTrackComponentid,s=new Pn(e,{id_:n,legendId:`captions-text-legend-${n}`,legendText:this.localize("Text"),className:"vjs-fg vjs-track-setting",selects:this.options_.fieldSets[0],selectConfigs:this.options_.selectConfigs,type:"colors"});this.addChild(s);const a=new Pn(e,{id_:n,legendId:`captions-background-${n}`,legendText:this.localize("Text Background"),className:"vjs-bg vjs-track-setting",selects:this.options_.fieldSets[1],selectConfigs:this.options_.selectConfigs,type:"colors"});this.addChild(a);const o=new Pn(e,{id_:n,legendId:`captions-window-${n}`,legendText:this.localize("Caption Area Background"),className:"vjs-window vjs-track-setting",selects:this.options_.fieldSets[2],selectConfigs:this.options_.selectConfigs,type:"colors"});this.addChild(o)}createEl(){return Qe("div",{className:"vjs-track-settings-colors"})}}ge.registerComponent("TextTrackSettingsColors",ff);class pf extends ge{constructor(e,i={}){super(e,i);const n=this.options_.textTrackComponentid,s=new Pn(e,{id_:n,legendId:`captions-font-size-${n}`,legendText:"Font Size",className:"vjs-font-percent vjs-track-setting",selects:this.options_.fieldSets[0],selectConfigs:this.options_.selectConfigs,type:"font"});this.addChild(s);const a=new Pn(e,{id_:n,legendId:`captions-edge-style-${n}`,legendText:this.localize("Text Edge Style"),className:"vjs-edge-style vjs-track-setting",selects:this.options_.fieldSets[1],selectConfigs:this.options_.selectConfigs,type:"font"});this.addChild(a);const o=new Pn(e,{id_:n,legendId:`captions-font-family-${n}`,legendText:this.localize("Font Family"),className:"vjs-font-family vjs-track-setting",selects:this.options_.fieldSets[2],selectConfigs:this.options_.selectConfigs,type:"font"});this.addChild(o)}createEl(){return Qe("div",{className:"vjs-track-settings-font"})}}ge.registerComponent("TextTrackSettingsFont",pf);class mf extends ge{constructor(e,i={}){super(e,i);const n=new Yt(e,{controlText:this.localize("restore all settings to the default values"),className:"vjs-default-button"});n.el().classList.remove("vjs-control","vjs-button"),n.el().textContent=this.localize("Reset"),this.addChild(n);const s=this.localize("Done"),a=new Yt(e,{controlText:s,className:"vjs-done-button"});a.el().classList.remove("vjs-control","vjs-button"),a.el().textContent=s,this.addChild(a)}createEl(){return Qe("div",{className:"vjs-track-settings-controls"})}}ge.registerComponent("TrackSettingsControls",mf);const Go="vjs-text-track-settings",Td=["#000","Black"],Ad=["#00F","Blue"],Ed=["#0FF","Cyan"],xd=["#0F0","Green"],kd=["#F0F","Magenta"],_d=["#F00","Red"],Sd=["#FFF","White"],wd=["#FF0","Yellow"],Qo=["1","Opaque"],Yo=["0.5","Semi-Transparent"],Dd=["0","Transparent"],hn={backgroundColor:{selector:".vjs-bg-color > select",id:"captions-background-color-%s",label:"Color",options:[Td,Sd,_d,xd,Ad,wd,kd,Ed],className:"vjs-bg-color"},backgroundOpacity:{selector:".vjs-bg-opacity > select",id:"captions-background-opacity-%s",label:"Opacity",options:[Qo,Yo,Dd],className:"vjs-bg-opacity vjs-opacity"},color:{selector:".vjs-text-color > select",id:"captions-foreground-color-%s",label:"Color",options:[Sd,Td,_d,xd,Ad,wd,kd,Ed],className:"vjs-text-color"},edgeStyle:{selector:".vjs-edge-style > select",id:"",label:"Text Edge Style",options:[["none","None"],["raised","Raised"],["depressed","Depressed"],["uniform","Uniform"],["dropshadow","Drop shadow"]]},fontFamily:{selector:".vjs-font-family > select",id:"",label:"Font Family",options:[["proportionalSansSerif","Proportional Sans-Serif"],["monospaceSansSerif","Monospace Sans-Serif"],["proportionalSerif","Proportional Serif"],["monospaceSerif","Monospace Serif"],["casual","Casual"],["script","Script"],["small-caps","Small Caps"]]},fontPercent:{selector:".vjs-font-percent > select",id:"",label:"Font Size",options:[["0.50","50%"],["0.75","75%"],["1.00","100%"],["1.25","125%"],["1.50","150%"],["1.75","175%"],["2.00","200%"],["3.00","300%"],["4.00","400%"]],default:2,parser:r=>r==="1.00"?null:Number(r)},textOpacity:{selector:".vjs-text-opacity > select",id:"captions-foreground-opacity-%s",label:"Opacity",options:[Qo,Yo],className:"vjs-text-opacity vjs-opacity"},windowColor:{selector:".vjs-window-color > select",id:"captions-window-color-%s",label:"Color",className:"vjs-window-color"},windowOpacity:{selector:".vjs-window-opacity > select",id:"captions-window-opacity-%s",label:"Opacity",options:[Dd,Yo,Qo],className:"vjs-window-opacity vjs-opacity"}};hn.windowColor.options=hn.backgroundColor.options;function gf(r,e){if(e&&(r=e(r)),r&&r!=="none")return r}function K3(r,e){const i=r.options[r.options.selectedIndex].value;return gf(i,e)}function W3(r,e,i){if(e){for(let n=0;n<r.options.length;n++)if(gf(r.options[n].value,i)===e){r.selectedIndex=n;break}}}class J3 extends vr{constructor(e,i){i.temporary=!1,super(e,i),this.updateDisplay=this.updateDisplay.bind(this),this.fill(),this.hasBeenOpened_=this.hasBeenFilled_=!0,this.renderModalComponents(e),this.endDialog=Qe("p",{className:"vjs-control-text",textContent:this.localize("End of dialog window.")}),this.el().appendChild(this.endDialog),this.setDefaults(),i.persistTextTrackSettings===void 0&&(this.options_.persistTextTrackSettings=this.options_.playerOptions.persistTextTrackSettings),this.bindFunctionsToSelectsAndButtons(),this.options_.persistTextTrackSettings&&this.restoreSettings()}renderModalComponents(e){const i=new ff(e,{textTrackComponentid:this.id_,selectConfigs:hn,fieldSets:[["color","textOpacity"],["backgroundColor","backgroundOpacity"],["windowColor","windowOpacity"]]});this.addChild(i);const n=new pf(e,{textTrackComponentid:this.id_,selectConfigs:hn,fieldSets:[["fontPercent"],["edgeStyle"],["fontFamily"]]});this.addChild(n);const s=new mf(e);this.addChild(s)}bindFunctionsToSelectsAndButtons(){this.on(this.$(".vjs-done-button"),["click","tap"],()=>{this.saveSettings(),this.close()}),this.on(this.$(".vjs-default-button"),["click","tap"],()=>{this.setDefaults(),this.updateDisplay()}),Kn(hn,e=>{this.on(this.$(e.selector),"change",this.updateDisplay)})}dispose(){this.endDialog=null,super.dispose()}label(){return this.localize("Caption Settings Dialog")}description(){return this.localize("Beginning of dialog window. Escape will cancel and close the window.")}buildCSSClass(){return super.buildCSSClass()+" vjs-text-track-settings"}getValues(){return rh(hn,(e,i,n)=>{const s=K3(this.$(i.selector),i.parser);return s!==void 0&&(e[n]=s),e},{})}setValues(e){Kn(hn,(i,n)=>{W3(this.$(i.selector),e[n],i.parser)})}setDefaults(){Kn(hn,e=>{const i=e.hasOwnProperty("default")?e.default:0;this.$(e.selector).selectedIndex=i})}restoreSettings(){let e;try{e=JSON.parse(K.localStorage.getItem(Go))}catch(i){et.warn(i)}e&&this.setValues(e)}saveSettings(){if(!this.options_.persistTextTrackSettings)return;const e=this.getValues();try{Object.keys(e).length?K.localStorage.setItem(Go,JSON.stringify(e)):K.localStorage.removeItem(Go)}catch(i){et.warn(i)}}updateDisplay(){const e=this.player_.getChild("textTrackDisplay");e&&e.updateDisplay()}handleLanguagechange(){this.fill(),this.renderModalComponents(this.player_),this.bindFunctionsToSelectsAndButtons()}}ge.registerComponent("TextTrackSettings",J3);class Z3 extends ge{constructor(e,i){let n=i.ResizeObserver||K.ResizeObserver;i.ResizeObserver===null&&(n=!1);const s=ht({createEl:!n,reportTouchActivity:!1},i);super(e,s),this.ResizeObserver=i.ResizeObserver||K.ResizeObserver,this.loadListener_=null,this.resizeObserver_=null,this.debouncedHandler_=Sh(()=>{this.resizeHandler()},100,!1,this),n?(this.resizeObserver_=new this.ResizeObserver(this.debouncedHandler_),this.resizeObserver_.observe(e.el())):(this.loadListener_=()=>{if(!this.el_||!this.el_.contentWindow)return;const a=this.debouncedHandler_;let o=this.unloadListener_=function(){Qt(this,"resize",a),Qt(this,"unload",o),o=null};mi(this.el_.contentWindow,"unload",o),mi(this.el_.contentWindow,"resize",a)},this.one("load",this.loadListener_))}createEl(){return super.createEl("iframe",{className:"vjs-resize-manager",tabIndex:-1,title:this.localize("No content")},{"aria-hidden":"true"})}resizeHandler(){!this.player_||!this.player_.trigger||this.player_.trigger("playerresize")}dispose(){this.debouncedHandler_&&this.debouncedHandler_.cancel(),this.resizeObserver_&&(this.player_.el()&&this.resizeObserver_.unobserve(this.player_.el()),this.resizeObserver_.disconnect()),this.loadListener_&&this.off("load",this.loadListener_),this.el_&&this.el_.contentWindow&&this.unloadListener_&&this.unloadListener_.call(this.el_.contentWindow),this.ResizeObserver=null,this.resizeObserver=null,this.debouncedHandler_=null,this.loadListener_=null,super.dispose()}}ge.registerComponent("ResizeManager",Z3);const $3={trackingThreshold:20,liveTolerance:15};class e4 extends ge{constructor(e,i){const n=ht($3,i,{createEl:!1});super(e,n),this.trackLiveHandler_=()=>this.trackLive_(),this.handlePlay_=s=>this.handlePlay(s),this.handleFirstTimeupdate_=s=>this.handleFirstTimeupdate(s),this.handleSeeked_=s=>this.handleSeeked(s),this.seekToLiveEdge_=s=>this.seekToLiveEdge(s),this.reset_(),this.on(this.player_,"durationchange",s=>this.handleDurationchange(s)),this.on(this.player_,"canplay",()=>this.toggleTracking())}trackLive_(){const e=this.player_.seekable();if(!e||!e.length)return;const i=Number(K.performance.now().toFixed(4)),n=this.lastTime_===-1?0:(i-this.lastTime_)/1e3;this.lastTime_=i,this.pastSeekEnd_=this.pastSeekEnd()+n;const s=this.liveCurrentTime(),a=this.player_.currentTime();let o=this.player_.paused()||this.seekedBehindLive_||Math.abs(s-a)>this.options_.liveTolerance;(!this.timeupdateSeen_||s===1/0)&&(o=!1),o!==this.behindLiveEdge_&&(this.behindLiveEdge_=o,this.trigger("liveedgechange"))}handleDurationchange(){this.toggleTracking()}toggleTracking(){this.player_.duration()===1/0&&this.liveWindow()>=this.options_.trackingThreshold?(this.player_.options_.liveui&&this.player_.addClass("vjs-liveui"),this.startTracking()):(this.player_.removeClass("vjs-liveui"),this.stopTracking())}startTracking(){this.isTracking()||(this.timeupdateSeen_||(this.timeupdateSeen_=this.player_.hasStarted()),this.trackingInterval_=this.setInterval(this.trackLiveHandler_,xi),this.trackLive_(),this.on(this.player_,["play","pause"],this.trackLiveHandler_),this.timeupdateSeen_?this.on(this.player_,"seeked",this.handleSeeked_):(this.one(this.player_,"play",this.handlePlay_),this.one(this.player_,"timeupdate",this.handleFirstTimeupdate_)))}handleFirstTimeupdate(){this.timeupdateSeen_=!0,this.on(this.player_,"seeked",this.handleSeeked_)}handleSeeked(){const e=Math.abs(this.liveCurrentTime()-this.player_.currentTime());this.seekedBehindLive_=this.nextSeekedFromUser_&&e>2,this.nextSeekedFromUser_=!1,this.trackLive_()}handlePlay(){this.one(this.player_,"timeupdate",this.seekToLiveEdge_)}reset_(){this.lastTime_=-1,this.pastSeekEnd_=0,this.lastSeekEnd_=-1,this.behindLiveEdge_=!0,this.timeupdateSeen_=!1,this.seekedBehindLive_=!1,this.nextSeekedFromUser_=!1,this.clearInterval(this.trackingInterval_),this.trackingInterval_=null,this.off(this.player_,["play","pause"],this.trackLiveHandler_),this.off(this.player_,"seeked",this.handleSeeked_),this.off(this.player_,"play",this.handlePlay_),this.off(this.player_,"timeupdate",this.handleFirstTimeupdate_),this.off(this.player_,"timeupdate",this.seekToLiveEdge_)}nextSeekedFromUser(){this.nextSeekedFromUser_=!0}stopTracking(){this.isTracking()&&(this.reset_(),this.trigger("liveedgechange"))}seekableEnd(){const e=this.player_.seekable(),i=[];let n=e?e.length:0;for(;n--;)i.push(e.end(n));return i.length?i.sort()[i.length-1]:1/0}seekableStart(){const e=this.player_.seekable(),i=[];let n=e?e.length:0;for(;n--;)i.push(e.start(n));return i.length?i.sort()[0]:0}liveWindow(){const e=this.liveCurrentTime();return e===1/0?0:e-this.seekableStart()}isLive(){return this.isTracking()}atLiveEdge(){return!this.behindLiveEdge()}liveCurrentTime(){return this.pastSeekEnd()+this.seekableEnd()}pastSeekEnd(){const e=this.seekableEnd();return this.lastSeekEnd_!==-1&&e!==this.lastSeekEnd_&&(this.pastSeekEnd_=0),this.lastSeekEnd_=e,this.pastSeekEnd_}behindLiveEdge(){return this.behindLiveEdge_}isTracking(){return typeof this.trackingInterval_=="number"}seekToLiveEdge(){this.seekedBehindLive_=!1,!this.atLiveEdge()&&(this.nextSeekedFromUser_=!1,this.player_.currentTime(this.liveCurrentTime()))}dispose(){this.stopTracking(),super.dispose()}}ge.registerComponent("LiveTracker",e4);class t4 extends ge{constructor(e,i){super(e,i),this.on("statechanged",n=>this.updateDom_()),this.updateDom_()}createEl(){return this.els={title:Qe("div",{className:"vjs-title-bar-title",id:`vjs-title-bar-title-${Ei()}`}),description:Qe("div",{className:"vjs-title-bar-description",id:`vjs-title-bar-description-${Ei()}`})},Qe("div",{className:"vjs-title-bar"},{},sh(this.els))}updateDom_(){const e=this.player_.tech_,i=e&&e.el_,n={title:"aria-labelledby",description:"aria-describedby"};["title","description"].forEach(s=>{const a=this.state[s],o=this.els[s],l=n[s];Ha(o),a&&bn(o,a),i&&(i.removeAttribute(l),a&&i.setAttribute(l,o.id))}),this.state.title||this.state.description?this.show():this.hide()}update(e){this.setState(e)}dispose(){const e=this.player_.tech_,i=e&&e.el_;i&&(i.removeAttribute("aria-labelledby"),i.removeAttribute("aria-describedby")),super.dispose(),this.els=null}}ge.registerComponent("TitleBar",t4);const i4={initialDisplay:4e3,position:[],takeFocus:!1};class n4 extends Yt{constructor(e,i){i=ht(i4,i),super(e,i),this.controlText(i.controlText),this.hide(),this.on(this.player_,["useractive","userinactive"],n=>{this.removeClass("force-display")})}buildCSSClass(){return`vjs-transient-button focus-visible ${this.options_.position.map(e=>`vjs-${e}`).join(" ")}`}createEl(){const e=Qe("button",{},{type:"button",class:this.buildCSSClass()},Qe("span"));return this.controlTextEl_=e.querySelector("span"),e}show(){super.show(),this.addClass("force-display"),this.options_.takeFocus&&this.el().focus({preventScroll:!0}),this.forceDisplayTimeout=this.player_.setTimeout(()=>{this.removeClass("force-display")},this.options_.initialDisplay)}hide(){this.removeClass("force-display"),super.hide()}dispose(){this.player_.clearTimeout(this.forceDisplayTimeout),super.dispose()}}ge.registerComponent("TransientButton",n4);const gl=r=>{const e=r.el();if(e.hasAttribute("src"))return r.triggerSourceset(e.src),!0;const i=r.$$("source"),n=[];let s="";if(!i.length)return!1;for(let a=0;a<i.length;a++){const o=i[a].src;o&&n.indexOf(o)===-1&&n.push(o)}return n.length?(n.length===1&&(s=n[0]),r.triggerSourceset(s),!0):!1},r4=Object.defineProperty({},"innerHTML",{get(){return this.cloneNode(!0).innerHTML},set(r){const e=we.createElement(this.nodeName.toLowerCase());e.innerHTML=r;const i=we.createDocumentFragment();for(;e.childNodes.length;)i.appendChild(e.childNodes[0]);return this.innerText="",K.Element.prototype.appendChild.call(this,i),this.innerHTML}}),vf=(r,e)=>{let i={};for(let n=0;n<r.length&&(i=Object.getOwnPropertyDescriptor(r[n],e),!(i&&i.set&&i.get));n++);return i.enumerable=!0,i.configurable=!0,i},s4=r=>vf([r.el(),K.HTMLMediaElement.prototype,K.Element.prototype,r4],"innerHTML"),Bd=function(r){const e=r.el();if(e.resetSourceWatch_)return;const i={},n=s4(r),s=a=>(...o)=>{const l=a.apply(e,o);return gl(r),l};["append","appendChild","insertAdjacentHTML"].forEach(a=>{e[a]&&(i[a]=e[a],e[a]=s(i[a]))}),Object.defineProperty(e,"innerHTML",ht(n,{set:s(n.set)})),e.resetSourceWatch_=()=>{e.resetSourceWatch_=null,Object.keys(i).forEach(a=>{e[a]=i[a]}),Object.defineProperty(e,"innerHTML",n)},r.one("sourceset",e.resetSourceWatch_)},a4=Object.defineProperty({},"src",{get(){return this.hasAttribute("src")?Rh(K.Element.prototype.getAttribute.call(this,"src")):""},set(r){return K.Element.prototype.setAttribute.call(this,"src",r),r}}),o4=r=>vf([r.el(),K.HTMLMediaElement.prototype,a4],"src"),l4=function(r){if(!r.featuresSourceset)return;const e=r.el();if(e.resetSourceset_)return;const i=o4(r),n=e.setAttribute,s=e.load;Object.defineProperty(e,"src",ht(i,{set:a=>{const o=i.set.call(e,a);return r.triggerSourceset(e.src),o}})),e.setAttribute=(a,o)=>{const l=n.call(e,a,o);return/src/i.test(a)&&r.triggerSourceset(e.src),l},e.load=()=>{const a=s.call(e);return gl(r)||(r.triggerSourceset(""),Bd(r)),a},e.currentSrc?r.triggerSourceset(e.currentSrc):gl(r)||Bd(r),e.resetSourceset_=()=>{e.resetSourceset_=null,e.load=s,e.setAttribute=n,Object.defineProperty(e,"src",i),e.resetSourceWatch_&&e.resetSourceWatch_()}};class Le extends Ye{constructor(e,i){super(e,i);const n=e.source;let s=!1;if(this.featuresVideoFrameCallback=this.featuresVideoFrameCallback&&this.el_.tagName==="VIDEO",n&&(this.el_.currentSrc!==n.src||e.tag&&e.tag.initNetworkState_===3)?this.setSource(n):this.handleLateInit_(this.el_),e.enableSourceset&&this.setupSourcesetHandling_(),this.isScrubbing_=!1,this.el_.hasChildNodes()){const a=this.el_.childNodes;let o=a.length;const l=[];for(;o--;){const c=a[o];c.nodeName.toLowerCase()==="track"&&(this.featuresNativeTextTracks?(this.remoteTextTrackEls().addTrackElement_(c),this.remoteTextTracks().addTrack(c.track),this.textTracks().addTrack(c.track),!s&&!this.el_.hasAttribute("crossorigin")&&Qa(c.src)&&(s=!0)):l.push(c))}for(let c=0;c<l.length;c++)this.el_.removeChild(l[c])}this.proxyNativeTracks_(),this.featuresNativeTextTracks&&s&&et.warn(`Text Tracks are being loaded from another origin but the crossorigin attribute isn't used.
|
|
181
|
+
This may prevent text tracks from loading.`),this.restoreMetadataTracksInIOSNativePlayer_(),(ss||Ra)&&e.nativeControlsForTouch===!0&&this.setControls(!0),this.proxyWebkitFullscreen_(),this.triggerReady()}dispose(){this.el_&&this.el_.resetSourceset_&&this.el_.resetSourceset_(),Le.disposeMediaElement(this.el_),this.options_=null,super.dispose()}setupSourcesetHandling_(){l4(this)}restoreMetadataTracksInIOSNativePlayer_(){const e=this.textTracks();let i;const n=()=>{i=[];for(let a=0;a<e.length;a++){const o=e[a];o.kind==="metadata"&&i.push({track:o,storedMode:o.mode})}};n(),e.addEventListener("change",n),this.on("dispose",()=>e.removeEventListener("change",n));const s=()=>{for(let a=0;a<i.length;a++){const o=i[a];o.track.mode==="disabled"&&o.track.mode!==o.storedMode&&(o.track.mode=o.storedMode)}e.removeEventListener("change",s)};this.on("webkitbeginfullscreen",()=>{e.removeEventListener("change",n),e.removeEventListener("change",s),e.addEventListener("change",s)}),this.on("webkitendfullscreen",()=>{e.removeEventListener("change",n),e.addEventListener("change",n),e.removeEventListener("change",s)})}overrideNative_(e,i){if(i!==this[`featuresNative${e}Tracks`])return;const n=e.toLowerCase();this[`${n}TracksListeners_`]&&Object.keys(this[`${n}TracksListeners_`]).forEach(s=>{this.el()[`${n}Tracks`].removeEventListener(s,this[`${n}TracksListeners_`][s])}),this[`featuresNative${e}Tracks`]=!i,this[`${n}TracksListeners_`]=null,this.proxyNativeTracksForType_(n)}overrideNativeAudioTracks(e){this.overrideNative_("Audio",e)}overrideNativeVideoTracks(e){this.overrideNative_("Video",e)}proxyNativeTracksForType_(e){const i=Ci[e],n=this.el()[i.getterName],s=this[i.getterName]();if(!this[`featuresNative${i.capitalName}Tracks`]||!n||!n.addEventListener)return;const a={change:l=>{const c={type:"change",target:s,currentTarget:s,srcElement:s};s.trigger(c),e==="text"&&this[hr.remoteText.getterName]().trigger(c)},addtrack(l){s.addTrack(l.track)},removetrack(l){s.removeTrack(l.track)}},o=function(){const l=[];for(let c=0;c<s.length;c++){let d=!1;for(let m=0;m<n.length;m++)if(n[m]===s[c]){d=!0;break}d||l.push(s[c])}for(;l.length;)s.removeTrack(l.shift())};this[i.getterName+"Listeners_"]=a,Object.keys(a).forEach(l=>{const c=a[l];n.addEventListener(l,c),this.on("dispose",d=>n.removeEventListener(l,c))}),this.on("loadstart",o),this.on("dispose",l=>this.off("loadstart",o))}proxyNativeTracks_(){Ci.names.forEach(e=>{this.proxyNativeTracksForType_(e)})}createEl(){let e=this.options_.tag;if(!e||!(this.options_.playerElIngest||this.movingMediaElementInDOM)){if(e){const n=e.cloneNode(!0);e.parentNode&&e.parentNode.insertBefore(n,e),Le.disposeMediaElement(e),e=n}else{e=we.createElement("video");const n=this.options_.tag&&dn(this.options_.tag),s=ht({},n);(!ss||this.options_.nativeControlsForTouch!==!0)&&delete s.controls,ph(e,Object.assign(s,{id:this.options_.techId,class:"vjs-tech"}))}e.playerId=this.options_.playerId}typeof this.options_.preload<"u"&&ur(e,"preload",this.options_.preload),this.options_.disablePictureInPicture!==void 0&&(e.disablePictureInPicture=this.options_.disablePictureInPicture);const i=["loop","muted","playsinline","autoplay"];for(let n=0;n<i.length;n++){const s=i[n],a=this.options_[s];typeof a<"u"&&(a?ur(e,s,s):Ua(e,s),e[s]=a)}return e}handleLateInit_(e){if(e.networkState===0||e.networkState===3)return;if(e.readyState===0){let n=!1;const s=function(){n=!0};this.on("loadstart",s);const a=function(){n||this.trigger("loadstart")};this.on("loadedmetadata",a),this.ready(function(){this.off("loadstart",s),this.off("loadedmetadata",a),n||this.trigger("loadstart")});return}const i=["loadstart"];i.push("loadedmetadata"),e.readyState>=2&&i.push("loadeddata"),e.readyState>=3&&i.push("canplay"),e.readyState>=4&&i.push("canplaythrough"),this.ready(function(){i.forEach(function(n){this.trigger(n)},this)})}setScrubbing(e){this.isScrubbing_=e}scrubbing(){return this.isScrubbing_}setCurrentTime(e){try{this.isScrubbing_&&this.el_.fastSeek&&qa?this.el_.fastSeek(e):this.el_.currentTime=e}catch(i){et(i,"Video is not ready. (Video.js)")}}duration(){if(this.el_.duration===1/0&&Oi&&Gi&&this.el_.currentTime===0){const e=()=>{this.el_.currentTime>0&&(this.el_.duration===1/0&&this.trigger("durationchange"),this.off("timeupdate",e))};return this.on("timeupdate",e),NaN}return this.el_.duration||NaN}width(){return this.el_.offsetWidth}height(){return this.el_.offsetHeight}proxyWebkitFullscreen_(){if(!("webkitDisplayingFullscreen"in this.el_))return;const e=function(){this.trigger("fullscreenchange",{isFullscreen:!1}),this.el_.controls&&!this.options_.nativeControlsForTouch&&this.controls()&&(this.el_.controls=!1)},i=function(){"webkitPresentationMode"in this.el_&&this.el_.webkitPresentationMode!=="picture-in-picture"&&(this.one("webkitendfullscreen",e),this.trigger("fullscreenchange",{isFullscreen:!0,nativeIOSFullscreen:!0}))};this.on("webkitbeginfullscreen",i),this.on("dispose",()=>{this.off("webkitbeginfullscreen",i),this.off("webkitendfullscreen",e)})}supportsFullScreen(){return typeof this.el_.webkitEnterFullScreen=="function"}enterFullScreen(){const e=this.el_;if(e.paused&&e.networkState<=e.HAVE_METADATA)Ui(this.el_.play()),this.setTimeout(function(){e.pause();try{e.webkitEnterFullScreen()}catch(i){this.trigger("fullscreenerror",i)}},0);else try{e.webkitEnterFullScreen()}catch(i){this.trigger("fullscreenerror",i)}}exitFullScreen(){if(!this.el_.webkitDisplayingFullscreen){this.trigger("fullscreenerror",new Error("The video is not fullscreen"));return}this.el_.webkitExitFullScreen()}requestPictureInPicture(){return this.el_.requestPictureInPicture()}requestVideoFrameCallback(e){return this.featuresVideoFrameCallback&&!this.el_.webkitKeys?this.el_.requestVideoFrameCallback(e):super.requestVideoFrameCallback(e)}cancelVideoFrameCallback(e){this.featuresVideoFrameCallback&&!this.el_.webkitKeys?this.el_.cancelVideoFrameCallback(e):super.cancelVideoFrameCallback(e)}src(e){if(e===void 0)return this.el_.src;this.setSrc(e)}addSourceElement(e,i){if(!e)return et.error("Invalid source URL."),!1;const n={src:e};i&&(n.type=i);const s=Qe("source",{},n);return this.el_.appendChild(s),!0}removeSourceElement(e){if(!e)return et.error("Source URL is required to remove the source element."),!1;const i=this.el_.querySelectorAll("source");for(const n of i)if(n.src===e)return this.el_.removeChild(n),!0;return et.warn(`No matching source element found with src: ${e}`),!1}reset(){Le.resetMediaElement(this.el_)}currentSrc(){return this.currentSource_?this.currentSource_.src:this.el_.currentSrc}setControls(e){this.el_.controls=!!e}addTextTrack(e,i,n){return this.featuresNativeTextTracks?this.el_.addTextTrack(e,i,n):super.addTextTrack(e,i,n)}createRemoteTextTrack(e){if(!this.featuresNativeTextTracks)return super.createRemoteTextTrack(e);const i=we.createElement("track");return e.kind&&(i.kind=e.kind),e.label&&(i.label=e.label),(e.language||e.srclang)&&(i.srclang=e.language||e.srclang),e.default&&(i.default=e.default),e.id&&(i.id=e.id),e.src&&(i.src=e.src),i}addRemoteTextTrack(e,i){const n=super.addRemoteTextTrack(e,i);return this.featuresNativeTextTracks&&this.el().appendChild(n),n}removeRemoteTextTrack(e){if(super.removeRemoteTextTrack(e),this.featuresNativeTextTracks){const i=this.$$("track");let n=i.length;for(;n--;)(e===i[n]||e===i[n].track)&&this.el().removeChild(i[n])}}getVideoPlaybackQuality(){if(typeof this.el().getVideoPlaybackQuality=="function")return this.el().getVideoPlaybackQuality();const e={};return typeof this.el().webkitDroppedFrameCount<"u"&&typeof this.el().webkitDecodedFrameCount<"u"&&(e.droppedVideoFrames=this.el().webkitDroppedFrameCount,e.totalVideoFrames=this.el().webkitDecodedFrameCount),K.performance&&(e.creationTime=K.performance.now()),e}}Pa(Le,"TEST_VID",function(){if(!pr())return;const r=we.createElement("video"),e=we.createElement("track");return e.kind="captions",e.srclang="en",e.label="English",r.appendChild(e),r});Le.isSupported=function(){try{Le.TEST_VID.volume=.5}catch{return!1}return!!(Le.TEST_VID&&Le.TEST_VID.canPlayType)};Le.canPlayType=function(r){return Le.TEST_VID.canPlayType(r)};Le.canPlaySource=function(r,e){return Le.canPlayType(r.type)};Le.canControlVolume=function(){try{const r=Le.TEST_VID.volume;Le.TEST_VID.volume=r/2+.1;const e=r!==Le.TEST_VID.volume;return e&&Gt?(K.setTimeout(()=>{Le&&Le.prototype&&(Le.prototype.featuresVolumeControl=r!==Le.TEST_VID.volume)}),!1):e}catch{return!1}};Le.canMuteVolume=function(){try{const r=Le.TEST_VID.muted;return Le.TEST_VID.muted=!r,Le.TEST_VID.muted?ur(Le.TEST_VID,"muted","muted"):Ua(Le.TEST_VID,"muted","muted"),r!==Le.TEST_VID.muted}catch{return!1}};Le.canControlPlaybackRate=function(){if(Oi&&Gi&&Ma<58)return!1;try{const r=Le.TEST_VID.playbackRate;return Le.TEST_VID.playbackRate=r/2+.1,r!==Le.TEST_VID.playbackRate}catch{return!1}};Le.canOverrideAttributes=function(){try{const r=()=>{};Object.defineProperty(we.createElement("video"),"src",{get:r,set:r}),Object.defineProperty(we.createElement("audio"),"src",{get:r,set:r}),Object.defineProperty(we.createElement("video"),"innerHTML",{get:r,set:r}),Object.defineProperty(we.createElement("audio"),"innerHTML",{get:r,set:r})}catch{return!1}return!0};Le.supportsNativeTextTracks=function(){return qa||Gt&&Gi};Le.supportsNativeVideoTracks=function(){return!!(Le.TEST_VID&&Le.TEST_VID.videoTracks)};Le.supportsNativeAudioTracks=function(){return!!(Le.TEST_VID&&Le.TEST_VID.audioTracks)};Le.Events=["loadstart","suspend","abort","error","emptied","stalled","loadedmetadata","loadeddata","canplay","canplaythrough","playing","waiting","seeking","seeked","ended","durationchange","timeupdate","progress","play","pause","ratechange","resize","volumechange"];[["featuresMuteControl","canMuteVolume"],["featuresPlaybackRate","canControlPlaybackRate"],["featuresSourceset","canOverrideAttributes"],["featuresNativeTextTracks","supportsNativeTextTracks"],["featuresNativeVideoTracks","supportsNativeVideoTracks"],["featuresNativeAudioTracks","supportsNativeAudioTracks"]].forEach(function([r,e]){Pa(Le.prototype,r,()=>Le[e](),!0)});Le.prototype.featuresVolumeControl=Le.canControlVolume();Le.prototype.movingMediaElementInDOM=!Gt;Le.prototype.featuresFullscreenResize=!0;Le.prototype.featuresProgressEvents=!0;Le.prototype.featuresTimeupdateEvents=!0;Le.prototype.featuresVideoFrameCallback=!!(Le.TEST_VID&&Le.TEST_VID.requestVideoFrameCallback);Le.disposeMediaElement=function(r){if(r){for(r.parentNode&&r.parentNode.removeChild(r);r.hasChildNodes();)r.removeChild(r.firstChild);r.removeAttribute("src"),typeof r.load=="function"&&(function(){try{r.load()}catch{}})()}};Le.resetMediaElement=function(r){if(!r)return;const e=r.querySelectorAll("source");let i=e.length;for(;i--;)r.removeChild(e[i]);r.removeAttribute("src"),typeof r.load=="function"&&(function(){try{r.load()}catch{}})()};["muted","defaultMuted","autoplay","controls","loop","playsinline"].forEach(function(r){Le.prototype[r]=function(){return this.el_[r]||this.el_.hasAttribute(r)}});["muted","defaultMuted","autoplay","loop","playsinline"].forEach(function(r){Le.prototype["set"+At(r)]=function(e){this.el_[r]=e,e?this.el_.setAttribute(r,r):this.el_.removeAttribute(r)}});["paused","currentTime","buffered","volume","poster","preload","error","seeking","seekable","ended","playbackRate","defaultPlaybackRate","disablePictureInPicture","played","networkState","readyState","videoWidth","videoHeight","crossOrigin"].forEach(function(r){Le.prototype[r]=function(){return this.el_[r]}});["volume","src","poster","preload","playbackRate","defaultPlaybackRate","disablePictureInPicture","crossOrigin"].forEach(function(r){Le.prototype["set"+At(r)]=function(e){this.el_[r]=e}});["pause","load","play"].forEach(function(r){Le.prototype[r]=function(){return this.el_[r]()}});Ye.withSourceHandlers(Le);Le.nativeSourceHandler={};Le.nativeSourceHandler.canPlayType=function(r){try{return Le.TEST_VID.canPlayType(r)}catch{return""}};Le.nativeSourceHandler.canHandleSource=function(r,e){if(r.type)return Le.nativeSourceHandler.canPlayType(r.type);if(r.src){const i=$l(r.src);return Le.nativeSourceHandler.canPlayType(`video/${i}`)}return""};Le.nativeSourceHandler.handleSource=function(r,e,i){e.setSrc(r.src)};Le.nativeSourceHandler.dispose=function(){};Le.registerSourceHandler(Le.nativeSourceHandler);Ye.registerTech("Html5",Le);const yf=["progress","abort","suspend","emptied","stalled","loadedmetadata","loadeddata","timeupdate","resize","volumechange","texttrackchange"],Ko={canplay:"CanPlay",canplaythrough:"CanPlayThrough",playing:"Playing",seeked:"Seeked"},vl=["tiny","xsmall","small","medium","large","xlarge","huge"],ia={};vl.forEach(r=>{const e=r.charAt(0)==="x"?`x-${r.substring(1)}`:r;ia[r]=`vjs-layout-${e}`});const u4={tiny:210,xsmall:320,small:425,medium:768,large:1440,xlarge:2560,huge:1/0};class ot extends ge{constructor(e,i,n){if(e.id=e.id||i.id||`vjs_video_${Ei()}`,i=Object.assign(ot.getTagSettings(e),i),i.initChildren=!1,i.createEl=!1,i.evented=!1,i.reportTouchActivity=!1,!i.language){const o=e.closest("[lang]");o&&(i.language=o.getAttribute("lang"))}if(super(null,i,n),this.boundDocumentFullscreenChange_=o=>this.documentFullscreenChange_(o),this.boundFullWindowOnEscKey_=o=>this.fullWindowOnEscKey(o),this.boundUpdateStyleEl_=o=>this.updateStyleEl_(o),this.boundApplyInitTime_=o=>this.applyInitTime_(o),this.boundUpdateCurrentBreakpoint_=o=>this.updateCurrentBreakpoint_(o),this.boundHandleTechClick_=o=>this.handleTechClick_(o),this.boundHandleTechDoubleClick_=o=>this.handleTechDoubleClick_(o),this.boundHandleTechTouchStart_=o=>this.handleTechTouchStart_(o),this.boundHandleTechTouchMove_=o=>this.handleTechTouchMove_(o),this.boundHandleTechTouchEnd_=o=>this.handleTechTouchEnd_(o),this.boundHandleTechTap_=o=>this.handleTechTap_(o),this.boundUpdatePlayerHeightOnAudioOnlyMode_=o=>this.updatePlayerHeightOnAudioOnlyMode_(o),this.isFullscreen_=!1,this.log=ih(this.id_),this.fsApi_=oa,this.isPosterFromTech_=!1,this.queuedCallbacks_=[],this.isReady_=!1,this.hasStarted_=!1,this.userActive_=!1,this.debugEnabled_=!1,this.audioOnlyMode_=!1,this.audioPosterMode_=!1,this.audioOnlyCache_={controlBarHeight:null,playerHeight:null,hiddenChildren:[]},!this.options_||!this.options_.techOrder||!this.options_.techOrder.length)throw new Error("No techOrder specified. Did you overwrite videojs.options instead of just changing the properties you want to override?");if(this.tag=e,this.tagAttributes=e&&dn(e),this.language(this.options_.language),i.languages){const o={};Object.getOwnPropertyNames(i.languages).forEach(function(l){o[l.toLowerCase()]=i.languages[l]}),this.languages_=o}else this.languages_=ot.prototype.options_.languages;this.resetCache_(),this.poster_=i.poster||"",this.controls_=!!i.controls,e.controls=!1,e.removeAttribute("controls"),this.changingSrc_=!1,this.playCallbacks_=[],this.playTerminatedQueue_=[],e.hasAttribute("autoplay")?this.autoplay(!0):this.autoplay(this.options_.autoplay),i.plugins&&Object.keys(i.plugins).forEach(o=>{if(typeof this[o]!="function")throw new Error(`plugin "${o}" does not exist`)}),this.scrubbing_=!1,this.el_=this.createEl(),Yl(this,{eventBusKey:"el_"}),this.fsApi_.requestFullscreen&&(mi(we,this.fsApi_.fullscreenchange,this.boundDocumentFullscreenChange_),this.on(this.fsApi_.fullscreenchange,this.boundDocumentFullscreenChange_)),this.fluid_&&this.on(["playerreset","resize"],this.boundUpdateStyleEl_);const s=ht(this.options_);if(i.plugins&&Object.keys(i.plugins).forEach(o=>{this[o](i.plugins[o])}),i.debug&&this.debug(!0),this.options_.playerOptions=s,this.middleware_=[],this.playbackRates(i.playbackRates),i.experimentalSvgIcons){const l=new K.DOMParser().parseFromString(I3,"image/svg+xml");if(l.querySelector("parsererror"))et.warn("Failed to load SVG Icons. Falling back to Font Icons."),this.options_.experimentalSvgIcons=null;else{const d=l.documentElement;d.style.display="none",this.el_.appendChild(d),this.addClass("vjs-svg-icons-enabled")}}this.initChildren(),this.isAudio(e.nodeName.toLowerCase()==="audio"),this.controls()?this.addClass("vjs-controls-enabled"):this.addClass("vjs-controls-disabled"),this.el_.setAttribute("role","region"),this.isAudio()?this.el_.setAttribute("aria-label",this.localize("Audio Player")):this.el_.setAttribute("aria-label",this.localize("Video Player")),this.isAudio()&&this.addClass("vjs-audio"),i.spatialNavigation&&i.spatialNavigation.enabled&&(this.spatialNavigation=new N3(this),this.addClass("vjs-spatial-navigation-enabled")),ss&&this.addClass("vjs-touch-enabled"),Gt||this.addClass("vjs-workinghover"),ot.players[this.id_]=this;const a=al.split(".")[0];this.addClass(`vjs-v${a}`),this.userActive(!0),this.reportUserActivity(),this.one("play",o=>this.listenForUserActivity_(o)),this.on("keydown",o=>this.handleKeyDown(o)),this.on("languagechange",o=>this.handleLanguagechange(o)),this.breakpoints(this.options_.breakpoints),this.responsive(this.options_.responsive),this.on("ready",()=>{this.audioPosterMode(this.options_.audioPosterMode),this.audioOnlyMode(this.options_.audioOnlyMode)})}dispose(){this.trigger("dispose"),this.off("dispose"),Qt(we,this.fsApi_.fullscreenchange,this.boundDocumentFullscreenChange_),Qt(we,"keydown",this.boundFullWindowOnEscKey_),this.styleEl_&&this.styleEl_.parentNode&&(this.styleEl_.parentNode.removeChild(this.styleEl_),this.styleEl_=null),ot.players[this.id_]=null,this.tag&&this.tag.player&&(this.tag.player=null),this.el_&&this.el_.player&&(this.el_.player=null),this.tech_&&(this.tech_.dispose(),this.isPosterFromTech_=!1,this.poster_=""),this.playerElIngest_&&(this.playerElIngest_=null),this.tag&&(this.tag=null),w3(this),ti.names.forEach(e=>{const i=ti[e],n=this[i.getterName]();n&&n.off&&n.off()}),super.dispose({restoreEl:this.options_.restoreEl})}createEl(){let e=this.tag,i,n=this.playerElIngest_=e.parentNode&&e.parentNode.hasAttribute&&e.parentNode.hasAttribute("data-vjs-player");const s=this.tag.tagName.toLowerCase()==="video-js";n?i=this.el_=e.parentNode:s||(i=this.el_=super.createEl("div"));const a=dn(e);if(s){for(i=this.el_=e,e=this.tag=we.createElement("video");i.children.length;)e.appendChild(i.firstChild);Jr(i,"video-js")||Nn(i,"video-js"),i.appendChild(e),n=this.playerElIngest_=i,Object.keys(i).forEach(c=>{try{e[c]=i[c]}catch{}})}e.setAttribute("tabindex","-1"),a.tabindex="-1",Gi&&La&&(e.setAttribute("role","application"),a.role="application"),e.removeAttribute("width"),e.removeAttribute("height"),"width"in a&&delete a.width,"height"in a&&delete a.height,Object.getOwnPropertyNames(a).forEach(function(c){s&&c==="class"||i.setAttribute(c,a[c]),s&&e.setAttribute(c,a[c])}),e.playerId=e.id,e.id+="_html5_api",e.className="vjs-tech",e.player=i.player=this,this.addClass("vjs-paused");const o=["IS_SMART_TV","IS_TIZEN","IS_WEBOS","IS_ANDROID","IS_IPAD","IS_IPHONE","IS_CHROMECAST_RECEIVER"].filter(c=>ch[c]).map(c=>"vjs-device-"+c.substring(3).toLowerCase().replace(/\_/g,"-"));if(this.addClass(...o),K.VIDEOJS_NO_DYNAMIC_STYLE!==!0){this.styleEl_=kh("vjs-styles-dimensions");const c=vn(".vjs-styles-defaults"),d=vn("head");d.insertBefore(this.styleEl_,c?c.nextSibling:d.firstChild)}this.fill_=!1,this.fluid_=!1,this.width(this.options_.width),this.height(this.options_.height),this.fill(this.options_.fill),this.fluid(this.options_.fluid),this.aspectRatio(this.options_.aspectRatio),this.crossOrigin(this.options_.crossOrigin||this.options_.crossorigin);const l=e.getElementsByTagName("a");for(let c=0;c<l.length;c++){const d=l.item(c);Nn(d,"vjs-hidden"),d.setAttribute("hidden","hidden")}return e.initNetworkState_=e.networkState,e.parentNode&&!n&&e.parentNode.insertBefore(i,e),ll(e,i),this.children_.unshift(e),this.el_.setAttribute("lang",this.language_),this.el_.setAttribute("translate","no"),this.el_=i,i}crossOrigin(e){if(typeof e>"u")return this.techGet_("crossOrigin");if(e!==null&&e!=="anonymous"&&e!=="use-credentials"){et.warn(`crossOrigin must be null, "anonymous" or "use-credentials", given "${e}"`);return}this.techCall_("setCrossOrigin",e),this.posterImage&&this.posterImage.crossOrigin(e)}width(e){return this.dimension("width",e)}height(e){return this.dimension("height",e)}dimension(e,i){const n=e+"_";if(i===void 0)return this[n]||0;if(i===""||i==="auto"){this[n]=void 0,this.updateStyleEl_();return}const s=parseFloat(i);if(isNaN(s)){et.error(`Improper value "${i}" supplied for for ${e}`);return}this[n]=s,this.updateStyleEl_()}fluid(e){if(e===void 0)return!!this.fluid_;this.fluid_=!!e,nn(this)&&this.off(["playerreset","resize"],this.boundUpdateStyleEl_),e?(this.addClass("vjs-fluid"),this.fill(!1),a3(this,()=>{this.on(["playerreset","resize"],this.boundUpdateStyleEl_)})):this.removeClass("vjs-fluid"),this.updateStyleEl_()}fill(e){if(e===void 0)return!!this.fill_;this.fill_=!!e,e?(this.addClass("vjs-fill"),this.fluid(!1)):this.removeClass("vjs-fill")}aspectRatio(e){if(e===void 0)return this.aspectRatio_;if(!/^\d+\:\d+$/.test(e))throw new Error("Improper value supplied for aspect ratio. The format should be width:height, for example 16:9.");this.aspectRatio_=e,this.fluid(!0),this.updateStyleEl_()}updateStyleEl_(){if(K.VIDEOJS_NO_DYNAMIC_STYLE===!0){const l=typeof this.width_=="number"?this.width_:this.options_.width,c=typeof this.height_=="number"?this.height_:this.options_.height,d=this.tech_&&this.tech_.el();d&&(l>=0&&(d.width=l),c>=0&&(d.height=c));return}let e,i,n,s;this.aspectRatio_!==void 0&&this.aspectRatio_!=="auto"?n=this.aspectRatio_:this.videoWidth()>0?n=this.videoWidth()+":"+this.videoHeight():n="16:9";const a=n.split(":"),o=a[1]/a[0];this.width_!==void 0?e=this.width_:this.height_!==void 0?e=this.height_/o:e=this.videoWidth()||300,this.height_!==void 0?i=this.height_:i=e*o,/^[^a-zA-Z]/.test(this.id())?s="dimensions-"+this.id():s=this.id()+"-dimensions",this.addClass(s),_h(this.styleEl_,`
|
|
182
|
+
.${s} {
|
|
183
|
+
width: ${e}px;
|
|
184
|
+
height: ${i}px;
|
|
185
|
+
}
|
|
186
|
+
|
|
187
|
+
.${s}.vjs-fluid:not(.vjs-audio-only-mode) {
|
|
188
|
+
padding-top: ${o*100}%;
|
|
189
|
+
}
|
|
190
|
+
`)}loadTech_(e,i){this.tech_&&this.unloadTech_();const n=At(e),s=e.charAt(0).toLowerCase()+e.slice(1);n!=="Html5"&&this.tag&&(Ye.getTech("Html5").disposeMediaElement(this.tag),this.tag.player=null,this.tag=null),this.techName_=n,this.isReady_=!1;let a=this.autoplay();(typeof this.autoplay()=="string"||this.autoplay()===!0&&this.options_.normalizeAutoplay)&&(a=!1);const o={source:i,autoplay:a,nativeControlsForTouch:this.options_.nativeControlsForTouch,playerId:this.id(),techId:`${this.id()}_${s}_api`,playsinline:this.options_.playsinline,preload:this.options_.preload,loop:this.options_.loop,disablePictureInPicture:this.options_.disablePictureInPicture,muted:this.options_.muted,poster:this.poster(),language:this.language(),playerElIngest:this.playerElIngest_||!1,"vtt.js":this.options_["vtt.js"],canOverridePoster:!!this.options_.techCanOverridePoster,enableSourceset:this.options_.enableSourceset};ti.names.forEach(c=>{const d=ti[c];o[d.getterName]=this[d.privateName]}),Object.assign(o,this.options_[n]),Object.assign(o,this.options_[s]),Object.assign(o,this.options_[e.toLowerCase()]),this.tag&&(o.tag=this.tag),i&&i.src===this.cache_.src&&this.cache_.currentTime>0&&(o.startTime=this.cache_.currentTime);const l=Ye.getTech(e);if(!l)throw new Error(`No Tech named '${n}' exists! '${n}' should be registered using videojs.registerTech()'`);this.tech_=new l(o),this.tech_.ready(pt(this,this.handleTechReady_),!0),pl.jsonToTextTracks(this.textTracksJson_||[],this.tech_),yf.forEach(c=>{this.on(this.tech_,c,d=>this[`handleTech${At(c)}_`](d))}),Object.keys(Ko).forEach(c=>{this.on(this.tech_,c,d=>{if(this.tech_.playbackRate()===0&&this.tech_.seeking()){this.queuedCallbacks_.push({callback:this[`handleTech${Ko[c]}_`].bind(this),event:d});return}this[`handleTech${Ko[c]}_`](d)})}),this.on(this.tech_,"loadstart",c=>this.handleTechLoadStart_(c)),this.on(this.tech_,"sourceset",c=>this.handleTechSourceset_(c)),this.on(this.tech_,"waiting",c=>this.handleTechWaiting_(c)),this.on(this.tech_,"ended",c=>this.handleTechEnded_(c)),this.on(this.tech_,"seeking",c=>this.handleTechSeeking_(c)),this.on(this.tech_,"play",c=>this.handleTechPlay_(c)),this.on(this.tech_,"pause",c=>this.handleTechPause_(c)),this.on(this.tech_,"durationchange",c=>this.handleTechDurationChange_(c)),this.on(this.tech_,"fullscreenchange",(c,d)=>this.handleTechFullscreenChange_(c,d)),this.on(this.tech_,"fullscreenerror",(c,d)=>this.handleTechFullscreenError_(c,d)),this.on(this.tech_,"enterpictureinpicture",c=>this.handleTechEnterPictureInPicture_(c)),this.on(this.tech_,"leavepictureinpicture",c=>this.handleTechLeavePictureInPicture_(c)),this.on(this.tech_,"error",c=>this.handleTechError_(c)),this.on(this.tech_,"posterchange",c=>this.handleTechPosterChange_(c)),this.on(this.tech_,"textdata",c=>this.handleTechTextData_(c)),this.on(this.tech_,"ratechange",c=>this.handleTechRateChange_(c)),this.on(this.tech_,"loadedmetadata",this.boundUpdateStyleEl_),this.usingNativeControls(this.techGet_("controls")),this.controls()&&!this.usingNativeControls()&&this.addTechControlsListeners_(),this.tech_.el().parentNode!==this.el()&&(n!=="Html5"||!this.tag)&&ll(this.tech_.el(),this.el()),this.tag&&(this.tag.player=null,this.tag=null)}unloadTech_(){ti.names.forEach(e=>{const i=ti[e];this[i.privateName]=this[i.getterName]()}),this.textTracksJson_=pl.textTracksToJson(this.tech_),this.isReady_=!1,this.tech_.dispose(),this.tech_=!1,this.isPosterFromTech_&&(this.poster_="",this.trigger("posterchange")),this.isPosterFromTech_=!1}tech(e){return e===void 0&&et.warn(`Using the tech directly can be dangerous. I hope you know what you're doing.
|
|
191
|
+
See https://github.com/videojs/video.js/issues/2617 for more info.
|
|
192
|
+
`),this.tech_}version(){return{"video.js":al}}addTechControlsListeners_(){this.removeTechControlsListeners_(),this.on(this.tech_,"click",this.boundHandleTechClick_),this.on(this.tech_,"dblclick",this.boundHandleTechDoubleClick_),this.on(this.tech_,"touchstart",this.boundHandleTechTouchStart_),this.on(this.tech_,"touchmove",this.boundHandleTechTouchMove_),this.on(this.tech_,"touchend",this.boundHandleTechTouchEnd_),this.on(this.tech_,"tap",this.boundHandleTechTap_)}removeTechControlsListeners_(){this.off(this.tech_,"tap",this.boundHandleTechTap_),this.off(this.tech_,"touchstart",this.boundHandleTechTouchStart_),this.off(this.tech_,"touchmove",this.boundHandleTechTouchMove_),this.off(this.tech_,"touchend",this.boundHandleTechTouchEnd_),this.off(this.tech_,"click",this.boundHandleTechClick_),this.off(this.tech_,"dblclick",this.boundHandleTechDoubleClick_)}handleTechReady_(){this.triggerReady(),this.cache_.volume&&this.techCall_("setVolume",this.cache_.volume),this.handleTechPosterChange_(),this.handleTechDurationChange_()}handleTechLoadStart_(){this.removeClass("vjs-ended","vjs-seeking"),this.error(null),this.handleTechDurationChange_(),this.paused()?(this.hasStarted(!1),this.trigger("loadstart")):this.trigger("loadstart"),this.manualAutoplay_(this.autoplay()===!0&&this.options_.normalizeAutoplay?"play":this.autoplay())}manualAutoplay_(e){if(!this.tech_||typeof e!="string")return;const i=()=>{const s=this.muted();this.muted(!0);const a=()=>{this.muted(s)};this.playTerminatedQueue_.push(a);const o=this.play();if($r(o))return o.catch(l=>{throw a(),new Error(`Rejection at manualAutoplay. Restoring muted value. ${l||""}`)})};let n;if(e==="any"&&!this.muted()?(n=this.play(),$r(n)&&(n=n.catch(i))):e==="muted"&&!this.muted()?n=i():n=this.play(),!!$r(n))return n.then(()=>{this.trigger({type:"autoplay-success",autoplay:e})}).catch(()=>{this.trigger({type:"autoplay-failure",autoplay:e})})}updateSourceCaches_(e=""){let i=e,n="";typeof i!="string"&&(i=e.src,n=e.type),this.cache_.source=this.cache_.source||{},this.cache_.sources=this.cache_.sources||[],i&&!n&&(n=V3(this,i)),this.cache_.source=ht({},e,{src:i,type:n});const s=this.cache_.sources.filter(c=>c.src&&c.src===i),a=[],o=this.$$("source"),l=[];for(let c=0;c<o.length;c++){const d=dn(o[c]);a.push(d),d.src&&d.src===i&&l.push(d.src)}l.length&&!s.length?this.cache_.sources=a:s.length||(this.cache_.sources=[this.cache_.source]),this.cache_.src=i}handleTechSourceset_(e){if(!this.changingSrc_){let i=a=>this.updateSourceCaches_(a);const n=this.currentSource().src,s=e.src;n&&!/^blob:/.test(n)&&/^blob:/.test(s)&&(!this.lastSource_||this.lastSource_.tech!==s&&this.lastSource_.player!==n)&&(i=()=>{}),i(s),e.src||this.tech_.any(["sourceset","loadstart"],a=>{if(a.type==="sourceset")return;const o=this.techGet_("currentSrc");this.lastSource_.tech=o,this.updateSourceCaches_(o)})}this.lastSource_={player:this.currentSource().src,tech:e.src},this.trigger({src:e.src,type:"sourceset"})}hasStarted(e){if(e===void 0)return this.hasStarted_;e!==this.hasStarted_&&(this.hasStarted_=e,this.hasStarted_?this.addClass("vjs-has-started"):this.removeClass("vjs-has-started"))}handleTechPlay_(){this.removeClass("vjs-ended","vjs-paused"),this.addClass("vjs-playing"),this.hasStarted(!0),this.trigger("play")}handleTechRateChange_(){this.tech_.playbackRate()>0&&this.cache_.lastPlaybackRate===0&&(this.queuedCallbacks_.forEach(e=>e.callback(e.event)),this.queuedCallbacks_=[]),this.cache_.lastPlaybackRate=this.tech_.playbackRate(),this.trigger("ratechange")}handleTechWaiting_(){this.addClass("vjs-waiting"),this.trigger("waiting");const e=this.currentTime(),i=()=>{e!==this.currentTime()&&(this.removeClass("vjs-waiting"),this.off("timeupdate",i))};this.on("timeupdate",i)}handleTechCanPlay_(){this.removeClass("vjs-waiting"),this.trigger("canplay")}handleTechCanPlayThrough_(){this.removeClass("vjs-waiting"),this.trigger("canplaythrough")}handleTechPlaying_(){this.removeClass("vjs-waiting"),this.trigger("playing")}handleTechSeeking_(){this.addClass("vjs-seeking"),this.trigger("seeking")}handleTechSeeked_(){this.removeClass("vjs-seeking","vjs-ended"),this.trigger("seeked")}handleTechPause_(){this.removeClass("vjs-playing"),this.addClass("vjs-paused"),this.trigger("pause")}handleTechEnded_(){this.addClass("vjs-ended"),this.removeClass("vjs-waiting"),this.options_.loop?(this.currentTime(0),this.play()):this.paused()||this.pause(),this.trigger("ended")}handleTechDurationChange_(){this.duration(this.techGet_("duration"))}handleTechClick_(e){this.controls_&&(this.options_===void 0||this.options_.userActions===void 0||this.options_.userActions.click===void 0||this.options_.userActions.click!==!1)&&(this.options_!==void 0&&this.options_.userActions!==void 0&&typeof this.options_.userActions.click=="function"?this.options_.userActions.click.call(this,e):this.paused()?Ui(this.play()):this.pause())}handleTechDoubleClick_(e){if(!this.controls_)return;Array.prototype.some.call(this.$$(".vjs-control-bar, .vjs-modal-dialog"),n=>n.contains(e.target))||(this.options_===void 0||this.options_.userActions===void 0||this.options_.userActions.doubleClick===void 0||this.options_.userActions.doubleClick!==!1)&&(this.options_!==void 0&&this.options_.userActions!==void 0&&typeof this.options_.userActions.doubleClick=="function"?this.options_.userActions.doubleClick.call(this,e):this.isInPictureInPicture()&&!we.pictureInPictureElement?this.exitPictureInPicture():this.isFullscreen()?this.exitFullscreen():this.requestFullscreen())}handleTechTap_(){this.userActive(!this.userActive())}handleTechTouchStart_(){this.userWasActive=this.userActive()}handleTechTouchMove_(){this.userWasActive&&this.reportUserActivity()}handleTechTouchEnd_(e){e.cancelable&&e.preventDefault()}toggleFullscreenClass_(){this.isFullscreen()?this.addClass("vjs-fullscreen"):this.removeClass("vjs-fullscreen")}documentFullscreenChange_(e){const i=e.target.player;if(i&&i!==this)return;const n=this.el();let s=we[this.fsApi_.fullscreenElement]===n;!s&&n.matches&&(s=n.matches(":"+this.fsApi_.fullscreen)),this.isFullscreen(s)}handleTechFullscreenChange_(e,i){i&&(i.nativeIOSFullscreen&&(this.addClass("vjs-ios-native-fs"),this.tech_.one("webkitendfullscreen",()=>{this.removeClass("vjs-ios-native-fs")})),this.isFullscreen(i.isFullscreen))}handleTechFullscreenError_(e,i){this.trigger("fullscreenerror",i)}togglePictureInPictureClass_(){this.isInPictureInPicture()?this.addClass("vjs-picture-in-picture"):this.removeClass("vjs-picture-in-picture")}handleTechEnterPictureInPicture_(e){this.isInPictureInPicture(!0)}handleTechLeavePictureInPicture_(e){this.isInPictureInPicture(!1)}handleTechError_(){const e=this.tech_.error();e&&this.error(e)}handleTechTextData_(){let e=null;arguments.length>1&&(e=arguments[1]),this.trigger("textdata",e)}getCache(){return this.cache_}resetCache_(){this.cache_={currentTime:0,initTime:0,inactivityTimeout:this.options_.inactivityTimeout,duration:NaN,lastVolume:1,lastPlaybackRate:this.defaultPlaybackRate(),media:null,src:"",source:{},sources:[],playbackRates:[],volume:1}}techCall_(e,i){this.ready(function(){if(e in _3)return x3(this.middleware_,this.tech_,e,i);if(e in md)return pd(this.middleware_,this.tech_,e,i);try{this.tech_&&this.tech_[e](i)}catch(n){throw et(n),n}},!0)}techGet_(e){if(!(!this.tech_||!this.tech_.isReady_)){if(e in k3)return E3(this.middleware_,this.tech_,e);if(e in md)return pd(this.middleware_,this.tech_,e);try{return this.tech_[e]()}catch(i){throw this.tech_[e]===void 0?(et(`Video.js: ${e} method not defined for ${this.techName_} playback technology.`,i),i):i.name==="TypeError"?(et(`Video.js: ${e} unavailable on ${this.techName_} playback technology element.`,i),this.tech_.isReady_=!1,i):(et(i),i)}}}play(){return new Promise(e=>{this.play_(e)})}play_(e=Ui){this.playCallbacks_.push(e);const i=!!(!this.changingSrc_&&(this.src()||this.currentSrc())),n=!!(qa||Gt);if(this.waitToPlay_&&(this.off(["ready","loadstart"],this.waitToPlay_),this.waitToPlay_=null),!this.isReady_||!i){this.waitToPlay_=o=>{this.play_()},this.one(["ready","loadstart"],this.waitToPlay_),!i&&n&&this.load();return}const s=this.techGet_("play");n&&this.hasClass("vjs-ended")&&this.resetProgressBar_(),s===null?this.runPlayTerminatedQueue_():this.runPlayCallbacks_(s)}runPlayTerminatedQueue_(){const e=this.playTerminatedQueue_.slice(0);this.playTerminatedQueue_=[],e.forEach(function(i){i()})}runPlayCallbacks_(e){const i=this.playCallbacks_.slice(0);this.playCallbacks_=[],this.playTerminatedQueue_=[],i.forEach(function(n){n(e)})}pause(){this.techCall_("pause")}paused(){return this.techGet_("paused")!==!1}played(){return this.techGet_("played")||Ni(0,0)}scrubbing(e){if(typeof e>"u")return this.scrubbing_;this.scrubbing_=!!e,this.techCall_("setScrubbing",this.scrubbing_),e?this.addClass("vjs-scrubbing"):this.removeClass("vjs-scrubbing")}currentTime(e){if(e===void 0)return this.cache_.currentTime=this.techGet_("currentTime")||0,this.cache_.currentTime;if(e<0&&(e=0),!this.isReady_||this.changingSrc_||!this.tech_||!this.tech_.isReady_){this.cache_.initTime=e,this.off("canplay",this.boundApplyInitTime_),this.one("canplay",this.boundApplyInitTime_);return}this.techCall_("setCurrentTime",e),this.cache_.initTime=0,isFinite(e)&&(this.cache_.currentTime=Number(e))}applyInitTime_(){this.currentTime(this.cache_.initTime)}duration(e){if(e===void 0)return this.cache_.duration!==void 0?this.cache_.duration:NaN;e=parseFloat(e),e<0&&(e=1/0),e!==this.cache_.duration&&(this.cache_.duration=e,e===1/0?this.addClass("vjs-live"):this.removeClass("vjs-live"),isNaN(e)||this.trigger("durationchange"))}remainingTime(){return this.duration()-this.currentTime()}remainingTimeDisplay(){return Math.floor(this.duration())-Math.floor(this.currentTime())}buffered(){let e=this.techGet_("buffered");return(!e||!e.length)&&(e=Ni(0,0)),e}seekable(){let e=this.techGet_("seekable");return(!e||!e.length)&&(e=Ni(0,0)),e}seeking(){return this.techGet_("seeking")}ended(){return this.techGet_("ended")}networkState(){return this.techGet_("networkState")}readyState(){return this.techGet_("readyState")}bufferedPercent(){return Ph(this.buffered(),this.duration())}bufferedEnd(){const e=this.buffered(),i=this.duration();let n=e.end(e.length-1);return n>i&&(n=i),n}volume(e){let i;if(e!==void 0){i=Math.max(0,Math.min(1,e)),this.cache_.volume=i,this.techCall_("setVolume",i),i>0&&this.lastVolume_(i);return}return i=parseFloat(this.techGet_("volume")),isNaN(i)?1:i}muted(e){if(e!==void 0){this.techCall_("setMuted",e);return}return this.techGet_("muted")||!1}defaultMuted(e){return e!==void 0&&this.techCall_("setDefaultMuted",e),this.techGet_("defaultMuted")||!1}lastVolume_(e){if(e!==void 0&&e!==0){this.cache_.lastVolume=e;return}return this.cache_.lastVolume}supportsFullScreen(){return this.techGet_("supportsFullScreen")||!1}isFullscreen(e){if(e!==void 0){const i=this.isFullscreen_;this.isFullscreen_=!!e,this.isFullscreen_!==i&&this.fsApi_.prefixed&&this.trigger("fullscreenchange"),this.toggleFullscreenClass_();return}return this.isFullscreen_}requestFullscreen(e){this.isInPictureInPicture()&&this.exitPictureInPicture();const i=this;return new Promise((n,s)=>{function a(){i.off("fullscreenerror",l),i.off("fullscreenchange",o)}function o(){a(),n()}function l(d,m){a(),s(m)}i.one("fullscreenchange",o),i.one("fullscreenerror",l);const c=i.requestFullscreenHelper_(e);c&&(c.then(a,a),c.then(n,s))})}requestFullscreenHelper_(e){let i;if(this.fsApi_.prefixed||(i=this.options_.fullscreen&&this.options_.fullscreen.options||{},e!==void 0&&(i=e)),this.fsApi_.requestFullscreen){const n=this.el_[this.fsApi_.requestFullscreen](i);return n&&n.then(()=>this.isFullscreen(!0),()=>this.isFullscreen(!1)),n}else this.tech_.supportsFullScreen()&&!this.options_.preferFullWindow?this.techCall_("enterFullScreen"):this.enterFullWindow()}exitFullscreen(){const e=this;return new Promise((i,n)=>{function s(){e.off("fullscreenerror",o),e.off("fullscreenchange",a)}function a(){s(),i()}function o(c,d){s(),n(d)}e.one("fullscreenchange",a),e.one("fullscreenerror",o);const l=e.exitFullscreenHelper_();l&&(l.then(s,s),l.then(i,n))})}exitFullscreenHelper_(){if(this.fsApi_.requestFullscreen){const e=we[this.fsApi_.exitFullscreen]();return e&&Ui(e.then(()=>this.isFullscreen(!1))),e}else this.tech_.supportsFullScreen()&&!this.options_.preferFullWindow?this.techCall_("exitFullScreen"):this.exitFullWindow()}enterFullWindow(){this.isFullscreen(!0),this.isFullWindow=!0,this.docOrigOverflow=we.documentElement.style.overflow,mi(we,"keydown",this.boundFullWindowOnEscKey_),we.documentElement.style.overflow="hidden",Nn(we.body,"vjs-full-window"),this.trigger("enterFullWindow")}fullWindowOnEscKey(e){e.key==="Escape"&&this.isFullscreen()===!0&&(this.isFullWindow?this.exitFullWindow():this.exitFullscreen())}exitFullWindow(){this.isFullscreen(!1),this.isFullWindow=!1,Qt(we,"keydown",this.boundFullWindowOnEscKey_),we.documentElement.style.overflow=this.docOrigOverflow,Fa(we.body,"vjs-full-window"),this.trigger("exitFullWindow")}disablePictureInPicture(e){if(e===void 0)return this.techGet_("disablePictureInPicture");this.techCall_("setDisablePictureInPicture",e),this.options_.disablePictureInPicture=e,this.trigger("disablepictureinpicturechanged")}isInPictureInPicture(e){if(e!==void 0){this.isInPictureInPicture_=!!e,this.togglePictureInPictureClass_();return}return!!this.isInPictureInPicture_}requestPictureInPicture(){if(this.options_.enableDocumentPictureInPicture&&K.documentPictureInPicture){const e=we.createElement(this.el().tagName);return e.classList=this.el().classList,e.classList.add("vjs-pip-container"),this.posterImage&&e.appendChild(this.posterImage.el().cloneNode(!0)),this.titleBar&&e.appendChild(this.titleBar.el().cloneNode(!0)),e.appendChild(Qe("p",{className:"vjs-pip-text"},{},this.localize("Playing in picture-in-picture"))),K.documentPictureInPicture.requestWindow({width:this.videoWidth(),height:this.videoHeight()}).then(i=>(Ah(i),this.el_.parentNode.insertBefore(e,this.el_),i.document.body.appendChild(this.el_),i.document.body.classList.add("vjs-pip-window"),this.player_.isInPictureInPicture(!0),this.player_.trigger({type:"enterpictureinpicture",pipWindow:i}),i.addEventListener("pagehide",n=>{const s=n.target.querySelector(".video-js");e.parentNode.replaceChild(s,e),this.player_.isInPictureInPicture(!1),this.player_.trigger("leavepictureinpicture")}),i))}return"pictureInPictureEnabled"in we&&this.disablePictureInPicture()===!1?this.techGet_("requestPictureInPicture"):Promise.reject("No PiP mode is available")}exitPictureInPicture(){if(K.documentPictureInPicture&&K.documentPictureInPicture.window)return K.documentPictureInPicture.window.close(),Promise.resolve();if("pictureInPictureEnabled"in we)return we.exitPictureInPicture()}handleKeyDown(e){const{userActions:i}=this.options_;!i||!i.hotkeys||(s=>{const a=s.tagName.toLowerCase();if(s.isContentEditable)return!0;const o=["button","checkbox","hidden","radio","reset","submit"];return a==="input"?o.indexOf(s.type)===-1:["textarea"].indexOf(a)!==-1})(this.el_.ownerDocument.activeElement)||(typeof i.hotkeys=="function"?i.hotkeys.call(this,e):this.handleHotkeys(e))}handleHotkeys(e){const i=this.options_.userActions?this.options_.userActions.hotkeys:{},{fullscreenKey:n=o=>e.key.toLowerCase()==="f",muteKey:s=o=>e.key.toLowerCase()==="m",playPauseKey:a=o=>e.key.toLowerCase()==="k"||e.key.toLowerCase()===" "}=i;if(n.call(this,e)){e.preventDefault(),e.stopPropagation();const o=ge.getComponent("FullscreenToggle");we[this.fsApi_.fullscreenEnabled]!==!1&&o.prototype.handleClick.call(this,e)}else s.call(this,e)?(e.preventDefault(),e.stopPropagation(),ge.getComponent("MuteToggle").prototype.handleClick.call(this,e)):a.call(this,e)&&(e.preventDefault(),e.stopPropagation(),ge.getComponent("PlayToggle").prototype.handleClick.call(this,e))}canPlayType(e){let i;for(let n=0,s=this.options_.techOrder;n<s.length;n++){const a=s[n];let o=Ye.getTech(a);if(o||(o=ge.getComponent(a)),!o){et.error(`The "${a}" tech is undefined. Skipped browser support check for that tech.`);continue}if(o.isSupported()&&(i=o.canPlayType(e),i))return i}return""}selectSource(e){const i=this.options_.techOrder.map(l=>[l,Ye.getTech(l)]).filter(([l,c])=>c?c.isSupported():(et.error(`The "${l}" tech is undefined. Skipped browser support check for that tech.`),!1)),n=function(l,c,d){let m;return l.some(g=>c.some(E=>{if(m=d(g,E),m)return!0})),m};let s;const a=l=>(c,d)=>l(d,c),o=([l,c],d)=>{if(c.canPlaySource(d,this.options_[l.toLowerCase()]))return{source:d,tech:l}};return this.options_.sourceOrder?s=n(e,i,a(o)):s=n(i,e,o),s||!1}handleSrc_(e,i){if(typeof e>"u")return this.cache_.src||"";this.resetRetryOnError_&&this.resetRetryOnError_();const n=Uh(e);if(!n.length){this.setTimeout(function(){this.error({code:4,message:this.options_.notSupportedMessage})},0);return}if(this.changingSrc_=!0,i||(this.cache_.sources=n),this.updateSourceCaches_(n[0]),T3(this,n[0],(s,a)=>{if(this.middleware_=a,i||(this.cache_.sources=n),this.updateSourceCaches_(s),this.src_(s)){if(n.length>1)return this.handleSrc_(n.slice(1));this.changingSrc_=!1,this.setTimeout(function(){this.error({code:4,message:this.options_.notSupportedMessage})},0),this.triggerReady();return}A3(a,this.tech_)}),n.length>1){const s=()=>{this.error(null),this.handleSrc_(n.slice(1),!0)},a=()=>{this.off("error",s)};this.one("error",s),this.one("playing",a),this.resetRetryOnError_=()=>{this.off("error",s),this.off("playing",a)}}}src(e){return this.handleSrc_(e,!1)}src_(e){const i=this.selectSource([e]);return i?Vh(i.tech,this.techName_)?(this.ready(function(){this.tech_.constructor.prototype.hasOwnProperty("setSource")?this.techCall_("setSource",e):this.techCall_("src",e.src),this.changingSrc_=!1},!0),!1):(this.changingSrc_=!0,this.loadTech_(i.tech,i.source),this.tech_.ready(()=>{this.changingSrc_=!1}),!1):!0}addSourceElement(e,i){return this.tech_?this.tech_.addSourceElement(e,i):!1}removeSourceElement(e){return this.tech_?this.tech_.removeSourceElement(e):!1}load(){if(this.tech_&&this.tech_.vhs){this.src(this.currentSource());return}this.techCall_("load")}reset(){if(this.paused())this.doReset_();else{const e=this.play();Ui(e.then(()=>this.doReset_()))}}doReset_(){this.tech_&&this.tech_.clearTracks("text"),this.removeClass("vjs-playing"),this.addClass("vjs-paused"),this.resetCache_(),this.poster(""),this.loadTech_(this.options_.techOrder[0],null),this.techCall_("reset"),this.resetControlBarUI_(),this.error(null),this.titleBar&&this.titleBar.update({title:void 0,description:void 0}),nn(this)&&this.trigger("playerreset")}resetControlBarUI_(){this.resetProgressBar_(),this.resetPlaybackRate_(),this.resetVolumeBar_()}resetProgressBar_(){this.currentTime(0);const{currentTimeDisplay:e,durationDisplay:i,progressControl:n,remainingTimeDisplay:s}=this.controlBar||{},{seekBar:a}=n||{};e&&e.updateContent(),i&&i.updateContent(),s&&s.updateContent(),a&&(a.update(),a.loadProgressBar&&a.loadProgressBar.update())}resetPlaybackRate_(){this.playbackRate(this.defaultPlaybackRate()),this.handleTechRateChange_()}resetVolumeBar_(){this.volume(1),this.trigger("volumechange")}currentSources(){const e=this.currentSource(),i=[];return Object.keys(e).length!==0&&i.push(e),this.cache_.sources||i}currentSource(){return this.cache_.source||{}}currentSrc(){return this.currentSource()&&this.currentSource().src||""}currentType(){return this.currentSource()&&this.currentSource().type||""}preload(e){if(e!==void 0){this.techCall_("setPreload",e),this.options_.preload=e;return}return this.techGet_("preload")}autoplay(e){if(e===void 0)return this.options_.autoplay||!1;let i;typeof e=="string"&&/(any|play|muted)/.test(e)||e===!0&&this.options_.normalizeAutoplay?(this.options_.autoplay=e,this.manualAutoplay_(typeof e=="string"?e:"play"),i=!1):e?this.options_.autoplay=!0:this.options_.autoplay=!1,i=typeof i>"u"?this.options_.autoplay:i,this.tech_&&this.techCall_("setAutoplay",i)}playsinline(e){return e!==void 0&&(this.techCall_("setPlaysinline",e),this.options_.playsinline=e),this.techGet_("playsinline")}loop(e){if(e!==void 0){this.techCall_("setLoop",e),this.options_.loop=e;return}return this.techGet_("loop")}poster(e){if(e===void 0)return this.poster_;e||(e=""),e!==this.poster_&&(this.poster_=e,this.techCall_("setPoster",e),this.isPosterFromTech_=!1,this.trigger("posterchange"))}handleTechPosterChange_(){if((!this.poster_||this.options_.techCanOverridePoster)&&this.tech_&&this.tech_.poster){const e=this.tech_.poster()||"";e!==this.poster_&&(this.poster_=e,this.isPosterFromTech_=!0,this.trigger("posterchange"))}}controls(e){if(e===void 0)return!!this.controls_;e=!!e,this.controls_!==e&&(this.controls_=e,this.usingNativeControls()&&this.techCall_("setControls",e),this.controls_?(this.removeClass("vjs-controls-disabled"),this.addClass("vjs-controls-enabled"),this.trigger("controlsenabled"),this.usingNativeControls()||this.addTechControlsListeners_()):(this.removeClass("vjs-controls-enabled"),this.addClass("vjs-controls-disabled"),this.trigger("controlsdisabled"),this.usingNativeControls()||this.removeTechControlsListeners_()))}usingNativeControls(e){if(e===void 0)return!!this.usingNativeControls_;e=!!e,this.usingNativeControls_!==e&&(this.usingNativeControls_=e,this.usingNativeControls_?(this.addClass("vjs-using-native-controls"),this.trigger("usingnativecontrols")):(this.removeClass("vjs-using-native-controls"),this.trigger("usingcustomcontrols")))}error(e){if(e===void 0)return this.error_||null;if(gn("beforeerror").forEach(i=>{const n=i(this,e);if(!(Xi(n)&&!Array.isArray(n)||typeof n=="string"||typeof n=="number"||n===null)){this.log.error("please return a value that MediaError expects in beforeerror hooks");return}e=n}),this.options_.suppressNotSupportedError&&e&&e.code===4){const i=function(){this.error(e)};this.options_.suppressNotSupportedError=!1,this.any(["click","touchstart"],i),this.one("loadstart",function(){this.off(["click","touchstart"],i)});return}if(e===null){this.error_=null,this.removeClass("vjs-error"),this.errorDisplay&&this.errorDisplay.close();return}this.error_=new Ct(e),this.addClass("vjs-error"),et.error(`(CODE:${this.error_.code} ${Ct.errorTypes[this.error_.code]})`,this.error_.message,this.error_),this.trigger("error"),gn("error").forEach(i=>i(this,this.error_))}reportUserActivity(e){this.userActivity_=!0}userActive(e){if(e===void 0)return this.userActive_;if(e=!!e,e!==this.userActive_){if(this.userActive_=e,this.userActive_){this.userActivity_=!0,this.removeClass("vjs-user-inactive"),this.addClass("vjs-user-active"),this.trigger("useractive");return}this.tech_&&this.tech_.one("mousemove",function(i){i.stopPropagation(),i.preventDefault()}),this.userActivity_=!1,this.removeClass("vjs-user-active"),this.addClass("vjs-user-inactive"),this.trigger("userinactive")}}listenForUserActivity_(){let e,i,n;const s=pt(this,this.reportUserActivity),a=function(g){(g.screenX!==i||g.screenY!==n)&&(i=g.screenX,n=g.screenY,s())},o=function(){s(),this.clearInterval(e),e=this.setInterval(s,250)},l=function(g){s(),this.clearInterval(e)};this.on("mousedown",o),this.on("mousemove",a),this.on("mouseup",l),this.on("mouseleave",l);const c=this.getChild("controlBar");c&&!Gt&&!Oi&&(c.on("mouseenter",function(g){this.player().options_.inactivityTimeout!==0&&(this.player().cache_.inactivityTimeout=this.player().options_.inactivityTimeout),this.player().options_.inactivityTimeout=0}),c.on("mouseleave",function(g){this.player().options_.inactivityTimeout=this.player().cache_.inactivityTimeout})),this.on("keydown",s),this.on("keyup",s);let d;const m=function(){if(!this.userActivity_)return;this.userActivity_=!1,this.userActive(!0),this.clearTimeout(d);const g=this.options_.inactivityTimeout;g<=0||(d=this.setTimeout(function(){this.userActivity_||this.userActive(!1)},g))};this.setInterval(m,250)}playbackRate(e){if(e!==void 0){this.techCall_("setPlaybackRate",e);return}return this.tech_&&this.tech_.featuresPlaybackRate?this.cache_.lastPlaybackRate||this.techGet_("playbackRate"):1}defaultPlaybackRate(e){return e!==void 0?this.techCall_("setDefaultPlaybackRate",e):this.tech_&&this.tech_.featuresPlaybackRate?this.techGet_("defaultPlaybackRate"):1}isAudio(e){if(e!==void 0){this.isAudio_=!!e;return}return!!this.isAudio_}updatePlayerHeightOnAudioOnlyMode_(){const e=this.getChild("ControlBar");!e||this.audioOnlyCache_.controlBarHeight===e.currentHeight()||(this.audioOnlyCache_.controlBarHeight=e.currentHeight(),this.height(this.audioOnlyCache_.controlBarHeight))}enableAudioOnlyUI_(){this.addClass("vjs-audio-only-mode");const e=this.children(),i=this.getChild("ControlBar"),n=i&&i.currentHeight();e.forEach(s=>{s!==i&&s.el_&&!s.hasClass("vjs-hidden")&&(s.hide(),this.audioOnlyCache_.hiddenChildren.push(s))}),this.audioOnlyCache_.playerHeight=this.currentHeight(),this.audioOnlyCache_.controlBarHeight=n,this.on("playerresize",this.boundUpdatePlayerHeightOnAudioOnlyMode_),this.height(n),this.trigger("audioonlymodechange")}disableAudioOnlyUI_(){this.removeClass("vjs-audio-only-mode"),this.off("playerresize",this.boundUpdatePlayerHeightOnAudioOnlyMode_),this.audioOnlyCache_.hiddenChildren.forEach(e=>e.show()),this.height(this.audioOnlyCache_.playerHeight),this.trigger("audioonlymodechange")}audioOnlyMode(e){if(typeof e!="boolean"||e===this.audioOnlyMode_)return this.audioOnlyMode_;if(this.audioOnlyMode_=e,e){const i=[];return this.isInPictureInPicture()&&i.push(this.exitPictureInPicture()),this.isFullscreen()&&i.push(this.exitFullscreen()),this.audioPosterMode()&&i.push(this.audioPosterMode(!1)),Promise.all(i).then(()=>this.enableAudioOnlyUI_())}return Promise.resolve().then(()=>this.disableAudioOnlyUI_())}enablePosterModeUI_(){(this.tech_&&this.tech_).hide(),this.addClass("vjs-audio-poster-mode"),this.trigger("audiopostermodechange")}disablePosterModeUI_(){(this.tech_&&this.tech_).show(),this.removeClass("vjs-audio-poster-mode"),this.trigger("audiopostermodechange")}audioPosterMode(e){return typeof e!="boolean"||e===this.audioPosterMode_?this.audioPosterMode_:(this.audioPosterMode_=e,e?this.audioOnlyMode()?this.audioOnlyMode(!1).then(()=>{this.enablePosterModeUI_()}):Promise.resolve().then(()=>{this.enablePosterModeUI_()}):Promise.resolve().then(()=>{this.disablePosterModeUI_()}))}addTextTrack(e,i,n){if(this.tech_)return this.tech_.addTextTrack(e,i,n)}addRemoteTextTrack(e,i){if(this.tech_)return this.tech_.addRemoteTextTrack(e,i)}removeRemoteTextTrack(e={}){let{track:i}=e;if(i||(i=e),this.tech_)return this.tech_.removeRemoteTextTrack(i)}getVideoPlaybackQuality(){return this.techGet_("getVideoPlaybackQuality")}videoWidth(){return this.tech_&&this.tech_.videoWidth&&this.tech_.videoWidth()||0}videoHeight(){return this.tech_&&this.tech_.videoHeight&&this.tech_.videoHeight()||0}language(e){if(e===void 0)return this.language_;this.language_!==String(e).toLowerCase()&&(this.language_=String(e).toLowerCase(),nn(this)&&this.trigger("languagechange"))}languages(){return ht(ot.prototype.options_.languages,this.languages_)}toJSON(){const e=ht(this.options_),i=e.tracks;e.tracks=[];for(let n=0;n<i.length;n++){let s=i[n];s=ht(s),s.player=void 0,e.tracks[n]=s}return e}createModal(e,i){i=i||{},i.content=e||"";const n=new vr(this,i);return this.addChild(n),n.on("dispose",()=>{this.removeChild(n)}),n.open(),n}updateCurrentBreakpoint_(){if(!this.responsive())return;const e=this.currentBreakpoint(),i=this.currentWidth();for(let n=0;n<vl.length;n++){const s=vl[n],a=this.breakpoints_[s];if(i<=a){if(e===s)return;e&&this.removeClass(ia[e]),this.addClass(ia[s]),this.breakpoint_=s;break}}}removeCurrentBreakpoint_(){const e=this.currentBreakpointClass();this.breakpoint_="",e&&this.removeClass(e)}breakpoints(e){return e===void 0?Object.assign(this.breakpoints_):(this.breakpoint_="",this.breakpoints_=Object.assign({},u4,e),this.updateCurrentBreakpoint_(),Object.assign(this.breakpoints_))}responsive(e){if(e===void 0)return this.responsive_;e=!!e;const i=this.responsive_;if(e!==i)return this.responsive_=e,e?(this.on("playerresize",this.boundUpdateCurrentBreakpoint_),this.updateCurrentBreakpoint_()):(this.off("playerresize",this.boundUpdateCurrentBreakpoint_),this.removeCurrentBreakpoint_()),e}currentBreakpoint(){return this.breakpoint_}currentBreakpointClass(){return ia[this.breakpoint_]||""}loadMedia(e,i){if(!e||typeof e!="object")return;const n=this.crossOrigin();this.reset(),this.cache_.media=ht(e);const{artist:s,artwork:a,description:o,poster:l,src:c,textTracks:d,title:m}=this.cache_.media;!a&&l&&(this.cache_.media.artwork=[{src:l,type:va(l)}]),n&&this.crossOrigin(n),c&&this.src(c),l&&this.poster(l),Array.isArray(d)&&d.forEach(g=>this.addRemoteTextTrack(g,!1)),this.titleBar&&this.titleBar.update({title:m,description:o||s||""}),this.ready(i)}getMedia(){if(!this.cache_.media){const e=this.poster(),i=this.currentSources(),n=Array.prototype.map.call(this.remoteTextTracks(),a=>({kind:a.kind,label:a.label,language:a.language,src:a.src})),s={src:i,textTracks:n};return e&&(s.poster=e,s.artwork=[{src:s.poster,type:va(s.poster)}]),s}return ht(this.cache_.media)}static getTagSettings(e){const i={sources:[],tracks:[]},n=dn(e),s=n["data-setup"];if(Jr(e,"vjs-fill")&&(n.fill=!0),Jr(e,"vjs-fluid")&&(n.fluid=!0),s!==null)try{Object.assign(n,JSON.parse(s||"{}"))}catch(a){et.error("data-setup",a)}if(Object.assign(i,n),e.hasChildNodes()){const a=e.childNodes;for(let o=0,l=a.length;o<l;o++){const c=a[o],d=c.nodeName.toLowerCase();d==="source"?i.sources.push(dn(c)):d==="track"&&i.tracks.push(dn(c))}}return i}debug(e){if(e===void 0)return this.debugEnabled_;e?(this.trigger("debugon"),this.previousLogLevel_=this.log.level,this.log.level("debug"),this.debugEnabled_=!0):(this.trigger("debugoff"),this.log.level(this.previousLogLevel_),this.previousLogLevel_=void 0,this.debugEnabled_=!1)}playbackRates(e){if(e===void 0)return this.cache_.playbackRates;Array.isArray(e)&&e.every(i=>typeof i=="number")&&(this.cache_.playbackRates=e,this.trigger("playbackrateschange"))}}ot.prototype.videoTracks=()=>{};ot.prototype.audioTracks=()=>{};ot.prototype.textTracks=()=>{};ot.prototype.remoteTextTracks=()=>{};ot.prototype.remoteTextTrackEls=()=>{};ti.names.forEach(function(r){const e=ti[r];ot.prototype[e.getterName]=function(){return this.tech_?this.tech_[e.getterName]():(this[e.privateName]=this[e.privateName]||new e.ListClass,this[e.privateName])}});ot.prototype.crossorigin=ot.prototype.crossOrigin;ot.players={};const Hr=K.navigator;ot.prototype.options_={techOrder:Ye.defaultTechOrder_,html5:{},enableSourceset:!0,inactivityTimeout:2e3,playbackRates:[],liveui:!1,children:["mediaLoader","posterImage","titleBar","textTrackDisplay","loadingSpinner","bigPlayButton","liveTracker","controlBar","errorDisplay","textTrackSettings","resizeManager"],language:Hr&&(Hr.languages&&Hr.languages[0]||Hr.userLanguage||Hr.language)||"en",languages:{},notSupportedMessage:"No compatible source was found for this media.",normalizeAutoplay:!1,fullscreen:{options:{navigationUI:"hide"}},breakpoints:{},responsive:!1,audioOnlyMode:!1,audioPosterMode:!1,spatialNavigation:{enabled:!1,horizontalSeek:!1},enableSmoothSeeking:!1,disableSeekWhileScrubbingOnMobile:!1,disableSeekWhileScrubbingOnSTV:!1};yf.forEach(function(r){ot.prototype[`handleTech${At(r)}_`]=function(){return this.trigger(r)}});ge.registerComponent("Player",ot);const ya="plugin",Zn="activePlugins_",Gn={},ba=r=>Gn.hasOwnProperty(r),na=r=>ba(r)?Gn[r]:void 0,bf=(r,e)=>{r[Zn]=r[Zn]||{},r[Zn][e]=!0},Ca=(r,e,i)=>{const n=(i?"before":"")+"pluginsetup";r.trigger(n,e),r.trigger(n+":"+e.name,e)},c4=function(r,e){const i=function(){Ca(this,{name:r,plugin:e,instance:null},!0);const n=e.apply(this,arguments);return bf(this,r),Ca(this,{name:r,plugin:e,instance:n}),n};return Object.keys(e).forEach(function(n){i[n]=e[n]}),i},Vd=(r,e)=>(e.prototype.name=r,function(...i){Ca(this,{name:r,plugin:e,instance:null},!0);const n=new e(this,...i);return this[r]=()=>n,Ca(this,n.getEventHash()),n});class ci{constructor(e){if(this.constructor===ci)throw new Error("Plugin must be sub-classed; not directly instantiated.");this.player=e,this.log||(this.log=this.player.log.createLogger(this.name)),Yl(this),delete this.trigger,Bh(this,this.constructor.defaultState),bf(e,this.name),this.dispose=this.dispose.bind(this),e.on("dispose",this.dispose)}version(){return this.constructor.VERSION}getEventHash(e={}){return e.name=this.name,e.plugin=this.constructor,e.instance=this,e}trigger(e,i={}){return gr(this.eventBusEl_,e,this.getEventHash(i))}handleStateChanged(e){}dispose(){const{name:e,player:i}=this;this.trigger("dispose"),this.off(),i.off("dispose",this.dispose),i[Zn][e]=!1,this.player=this.state=null,i[e]=Vd(e,Gn[e])}static isBasic(e){const i=typeof e=="string"?na(e):e;return typeof i=="function"&&!ci.prototype.isPrototypeOf(i.prototype)}static registerPlugin(e,i){if(typeof e!="string")throw new Error(`Illegal plugin name, "${e}", must be a string, was ${typeof e}.`);if(ba(e))et.warn(`A plugin named "${e}" already exists. You may want to avoid re-registering plugins!`);else if(ot.prototype.hasOwnProperty(e))throw new Error(`Illegal plugin name, "${e}", cannot share a name with an existing player method!`);if(typeof i!="function")throw new Error(`Illegal plugin for "${e}", must be a function, was ${typeof i}.`);return Gn[e]=i,e!==ya&&(ci.isBasic(i)?ot.prototype[e]=c4(e,i):ot.prototype[e]=Vd(e,i)),i}static deregisterPlugin(e){if(e===ya)throw new Error("Cannot de-register base plugin.");ba(e)&&(delete Gn[e],delete ot.prototype[e])}static getPlugins(e=Object.keys(Gn)){let i;return e.forEach(n=>{const s=na(n);s&&(i=i||{},i[n]=s)}),i}static getPluginVersion(e){const i=na(e);return i&&i.VERSION||""}}ci.getPlugin=na;ci.BASE_PLUGIN_NAME=ya;ci.registerPlugin(ya,ci);ot.prototype.usingPlugin=function(r){return!!this[Zn]&&this[Zn][r]===!0};ot.prototype.hasPlugin=function(r){return!!ba(r)};function d4(r,e){let i=!1;return function(...n){return i||et.warn(r),i=!0,e.apply(this,n)}}function Pi(r,e,i,n){return d4(`${e} is deprecated and will be removed in ${r}.0; please use ${i} instead.`,n)}var h4={NetworkBadStatus:"networkbadstatus",NetworkRequestFailed:"networkrequestfailed",NetworkRequestAborted:"networkrequestaborted",NetworkRequestTimeout:"networkrequesttimeout",NetworkBodyParserFailed:"networkbodyparserfailed",StreamingHlsPlaylistParserError:"streaminghlsplaylistparsererror",StreamingDashManifestParserError:"streamingdashmanifestparsererror",StreamingContentSteeringParserError:"streamingcontentsteeringparsererror",StreamingVttParserError:"streamingvttparsererror",StreamingFailedToSelectNextSegment:"streamingfailedtoselectnextsegment",StreamingFailedToDecryptSegment:"streamingfailedtodecryptsegment",StreamingFailedToTransmuxSegment:"streamingfailedtotransmuxsegment",StreamingFailedToAppendSegment:"streamingfailedtoappendsegment",StreamingCodecsChangeError:"streamingcodecschangeerror"};const Cf=r=>r.indexOf("#")===0?r.slice(1):r;function ae(r,e,i){let n=ae.getPlayer(r);if(n)return e&&et.warn(`Player "${r}" is already initialised. Options will not be applied.`),i&&n.ready(i),n;const s=typeof r=="string"?vn("#"+Cf(r)):r;if(!mr(s))throw new TypeError("The element or ID supplied is not valid. (videojs)");const o=("getRootNode"in s?s.getRootNode()instanceof K.ShadowRoot:!1)?s.getRootNode():s.ownerDocument.body;(!s.ownerDocument.defaultView||!o.contains(s))&&et.warn("The element supplied is not included in the DOM"),e=e||{},e.restoreEl===!0&&(e.restoreEl=(s.parentNode&&s.parentNode.hasAttribute&&s.parentNode.hasAttribute("data-vjs-player")?s.parentNode:s).cloneNode(!0)),gn("beforesetup").forEach(c=>{const d=c(s,ht(e));if(!Xi(d)||Array.isArray(d)){et.error("please return an object in beforesetup hooks");return}e=ht(e,d)});const l=ge.getComponent("Player");return n=new l(s,e,i),gn("setup").forEach(c=>c(n)),n}ae.hooks_=$i;ae.hooks=gn;ae.hook=Gy;ae.hookOnce=Qy;ae.removeHook=th;if(K.VIDEOJS_NO_DYNAMIC_STYLE!==!0&&pr()){let r=vn(".vjs-styles-defaults");if(!r){r=kh("vjs-styles-defaults");const e=vn("head");e&&e.insertBefore(r,e.firstChild),_h(r,`
|
|
193
|
+
.video-js {
|
|
194
|
+
width: 300px;
|
|
195
|
+
height: 150px;
|
|
196
|
+
}
|
|
197
|
+
|
|
198
|
+
.vjs-fluid:not(.vjs-audio-only-mode) {
|
|
199
|
+
padding-top: 56.25%
|
|
200
|
+
}
|
|
201
|
+
`)}}cl(1,ae);ae.VERSION=al;ae.options=ot.prototype.options_;ae.getPlayers=()=>ot.players;ae.getPlayer=r=>{const e=ot.players;let i;if(typeof r=="string"){const n=Cf(r),s=e[n];if(s)return s;i=vn("#"+n)}else i=r;if(mr(i)){const{player:n,playerId:s}=i;if(n||e[s])return n||e[s]}};ae.getAllPlayers=()=>Object.keys(ot.players).map(r=>ot.players[r]).filter(Boolean);ae.players=ot.players;ae.getComponent=ge.getComponent;ae.registerComponent=(r,e)=>(Ye.isTech(e)&&et.warn(`The ${r} tech was registered as a component. It should instead be registered using videojs.registerTech(name, tech)`),ge.registerComponent.call(ge,r,e));ae.getTech=Ye.getTech;ae.registerTech=Ye.registerTech;ae.use=C3;Object.defineProperty(ae,"middleware",{value:{},writeable:!1,enumerable:!0});Object.defineProperty(ae.middleware,"TERMINATOR",{value:ga,writeable:!1,enumerable:!0});ae.browser=ch;ae.obj=Wy;ae.mergeOptions=Pi(9,"videojs.mergeOptions","videojs.obj.merge",ht);ae.defineLazyProperty=Pi(9,"videojs.defineLazyProperty","videojs.obj.defineLazyProperty",Pa);ae.bind=Pi(9,"videojs.bind","native Function.prototype.bind",pt);ae.registerPlugin=ci.registerPlugin;ae.deregisterPlugin=ci.deregisterPlugin;ae.plugin=(r,e)=>(et.warn("videojs.plugin() is deprecated; use videojs.registerPlugin() instead"),ci.registerPlugin(r,e));ae.getPlugins=ci.getPlugins;ae.getPlugin=ci.getPlugin;ae.getPluginVersion=ci.getPluginVersion;ae.addLanguage=function(r,e){return r=(""+r).toLowerCase(),ae.options.languages=ht(ae.options.languages,{[r]:e}),ae.options.languages[r]};ae.log=et;ae.createLogger=ih;ae.time=d3;ae.createTimeRange=Pi(9,"videojs.createTimeRange","videojs.time.createTimeRanges",Ni);ae.createTimeRanges=Pi(9,"videojs.createTimeRanges","videojs.time.createTimeRanges",Ni);ae.formatTime=Pi(9,"videojs.formatTime","videojs.time.formatTime",Rn);ae.setFormatTime=Pi(9,"videojs.setFormatTime","videojs.time.setFormatTime",Nh);ae.resetFormatTime=Pi(9,"videojs.resetFormatTime","videojs.time.resetFormatTime",Oh);ae.parseUrl=Pi(9,"videojs.parseUrl","videojs.url.parseUrl",Zl);ae.isCrossOrigin=Pi(9,"videojs.isCrossOrigin","videojs.url.isCrossOrigin",Qa);ae.EventTarget=gi;ae.any=Ql;ae.on=mi;ae.one=Xa;ae.off=Qt;ae.trigger=gr;ae.xhr=F0;ae.TrackList=qn;ae.TextTrack=hs;ae.TextTrackList=Wl;ae.AudioTrack=qh;ae.AudioTrackList=Mh;ae.VideoTrack=Fh;ae.VideoTrackList=Lh;["isEl","isTextNode","createEl","hasClass","addClass","removeClass","toggleClass","setAttributes","getAttributes","emptyEl","appendContent","insertContent"].forEach(r=>{ae[r]=function(){return et.warn(`videojs.${r}() is deprecated; use videojs.dom.${r}() instead`),Eh[r].apply(null,arguments)}});ae.computedStyle=Pi(9,"videojs.computedStyle","videojs.dom.computedStyle",dr);ae.dom=Eh;ae.fn=s3;ae.num=U3;ae.str=u3;ae.url=y3;ae.Error=h4;/*! @name videojs-contrib-quality-levels @version 4.1.0 @license Apache-2.0 */class f4{constructor(e){let i=this;return i.id=e.id,i.label=i.id,i.width=e.width,i.height=e.height,i.bitrate=e.bandwidth,i.frameRate=e.frameRate,i.enabled_=e.enabled,Object.defineProperty(i,"enabled",{get(){return i.enabled_()},set(n){i.enabled_(n)}}),i}}class Ta extends ae.EventTarget{constructor(){super();let e=this;return e.levels_=[],e.selectedIndex_=-1,Object.defineProperty(e,"selectedIndex",{get(){return e.selectedIndex_}}),Object.defineProperty(e,"length",{get(){return e.levels_.length}}),e[Symbol.iterator]=()=>e.levels_.values(),e}addQualityLevel(e){let i=this.getQualityLevelById(e.id);if(i)return i;const n=this.levels_.length;return i=new f4(e),""+n in this||Object.defineProperty(this,n,{get(){return this.levels_[n]}}),this.levels_.push(i),this.trigger({qualityLevel:i,type:"addqualitylevel"}),i}removeQualityLevel(e){let i=null;for(let n=0,s=this.length;n<s;n++)if(this[n]===e){i=this.levels_.splice(n,1)[0],this.selectedIndex_===n?this.selectedIndex_=-1:this.selectedIndex_>n&&this.selectedIndex_--;break}return i&&this.trigger({qualityLevel:e,type:"removequalitylevel"}),i}getQualityLevelById(e){for(let i=0,n=this.length;i<n;i++){const s=this[i];if(s.id===e)return s}return null}dispose(){this.selectedIndex_=-1,this.levels_.length=0}}Ta.prototype.allowedEvents_={change:"change",addqualitylevel:"addqualitylevel",removequalitylevel:"removequalitylevel"};for(const r in Ta.prototype.allowedEvents_)Ta.prototype["on"+r]=null;var Tf="4.1.0";const p4=function(r,e){const i=r.qualityLevels,n=new Ta,s=function(){n.dispose(),r.qualityLevels=i,r.off("dispose",s)};return r.on("dispose",s),r.qualityLevels=()=>n,r.qualityLevels.VERSION=Tf,n},Af=function(r){return p4(this,ae.obj.merge({},r))};ae.registerPlugin("qualityLevels",Af);Af.VERSION=Tf;/*! @name @videojs/http-streaming @version 3.17.3 @license Apache-2.0 */const li=Va,Aa=(r,e)=>e&&e.responseURL&&r!==e.responseURL?e.responseURL:r,ki=r=>ae.log.debug?ae.log.debug.bind(ae,"VHS:",`${r} >`):function(){};function lt(...r){const e=ae.obj||ae;return(e.merge||e.mergeOptions).apply(e,r)}function Rt(...r){const e=ae.time||ae;return(e.createTimeRanges||e.createTimeRanges).apply(e,r)}function m4(r){if(r.length===0)return"Buffered Ranges are empty";let e=`Buffered Ranges:
|
|
202
|
+
`;for(let i=0;i<r.length;i++){const n=r.start(i),s=r.end(i);e+=`${n} --> ${s}. Duration (${s-n})
|
|
203
|
+
`}return e}const zi=1/30,Hi=zi*3,Ef=function(r,e){const i=[];let n;if(r&&r.length)for(n=0;n<r.length;n++)e(r.start(n),r.end(n))&&i.push([r.start(n),r.end(n)]);return Rt(i)},Qn=function(r,e){return Ef(r,function(i,n){return i-Hi<=e&&n+Hi>=e})},Xs=function(r,e){return Ef(r,function(i){return i-zi>=e})},g4=function(r){if(r.length<2)return Rt();const e=[];for(let i=1;i<r.length;i++){const n=r.end(i-1),s=r.start(i);e.push([n,s])}return Rt(e)},v4=function(r,e){let i=null,n=null,s=0;const a=[],o=[];if(!r||!r.length||!e||!e.length)return Rt();let l=r.length;for(;l--;)a.push({time:r.start(l),type:"start"}),a.push({time:r.end(l),type:"end"});for(l=e.length;l--;)a.push({time:e.start(l),type:"start"}),a.push({time:e.end(l),type:"end"});for(a.sort(function(c,d){return c.time-d.time}),l=0;l<a.length;l++)a[l].type==="start"?(s++,s===2&&(i=a[l].time)):a[l].type==="end"&&(s--,s===1&&(n=a[l].time)),i!==null&&n!==null&&(o.push([i,n]),i=null,n=null);return Rt(o)},xf=r=>{const e=[];if(!r||!r.length)return"";for(let i=0;i<r.length;i++)e.push(r.start(i)+" => "+r.end(i));return e.join(", ")},y4=function(r,e,i=1){return((r.length?r.end(r.length-1):0)-e)/i},Bn=r=>{const e=[];for(let i=0;i<r.length;i++)e.push({start:r.start(i),end:r.end(i)});return e},b4=function(r,e){if(r===e)return!1;if(!r&&e||!e&&r||r.length!==e.length)return!0;for(let i=0;i<r.length;i++)if(r.start(i)!==e.start(i)||r.end(i)!==e.end(i))return!0;return!1},Wo=function(r){if(!(!r||!r.length||!r.end))return r.end(r.length-1)},mu=function(r,e){let i=0;if(!r||!r.length)return i;for(let n=0;n<r.length;n++){const s=r.start(n),a=r.end(n);if(!(e>a)){if(e>s&&e<=a){i+=a-e;continue}i+=a-s}}return i},gu=(r,e)=>{if(!e.preload)return e.duration;let i=0;return(e.parts||[]).forEach(function(n){i+=n.duration}),(e.preloadHints||[]).forEach(function(n){n.type==="PART"&&(i+=r.partTargetDuration)}),i},yl=r=>(r.segments||[]).reduce((e,i,n)=>(i.parts?i.parts.forEach(function(s,a){e.push({duration:s.duration,segmentIndex:n,partIndex:a,part:s,segment:i})}):e.push({duration:i.duration,segmentIndex:n,partIndex:null,segment:i,part:null}),e),[]),kf=r=>{const e=r.segments&&r.segments.length&&r.segments[r.segments.length-1];return e&&e.parts||[]},_f=({preloadSegment:r})=>{if(!r)return;const{parts:e,preloadHints:i}=r;let n=(i||[]).reduce((s,a)=>s+(a.type==="PART"?1:0),0);return n+=e&&e.length?e.length:0,n},Sf=(r,e)=>{if(e.endList)return 0;if(r&&r.suggestedPresentationDelay)return r.suggestedPresentationDelay;const i=kf(e).length>0;return i&&e.serverControl&&e.serverControl.partHoldBack?e.serverControl.partHoldBack:i&&e.partTargetDuration?e.partTargetDuration*3:e.serverControl&&e.serverControl.holdBack?e.serverControl.holdBack:e.targetDuration?e.targetDuration*3:0},C4=function(r,e){let i=0,n=e-r.mediaSequence,s=r.segments[n];if(s){if(typeof s.start<"u")return{result:s.start,precise:!0};if(typeof s.end<"u")return{result:s.end-s.duration,precise:!0}}for(;n--;){if(s=r.segments[n],typeof s.end<"u")return{result:i+s.end,precise:!0};if(i+=gu(r,s),typeof s.start<"u")return{result:i+s.start,precise:!0}}return{result:i,precise:!1}},T4=function(r,e){let i=0,n,s=e-r.mediaSequence;for(;s<r.segments.length;s++){if(n=r.segments[s],typeof n.start<"u")return{result:n.start-i,precise:!0};if(i+=gu(r,n),typeof n.end<"u")return{result:n.end-i,precise:!0}}return{result:-1,precise:!1}},wf=function(r,e,i){if(typeof e>"u"&&(e=r.mediaSequence+r.segments.length),e<r.mediaSequence)return 0;const n=C4(r,e);if(n.precise)return n.result;const s=T4(r,e);return s.precise?s.result:n.result+i},Df=function(r,e,i){if(!r)return 0;if(typeof i!="number"&&(i=0),typeof e>"u"){if(r.totalDuration)return r.totalDuration;if(!r.endList)return K.Infinity}return wf(r,e,i)},es=function({defaultDuration:r,durationList:e,startIndex:i,endIndex:n}){let s=0;if(i>n&&([i,n]=[n,i]),i<0){for(let a=i;a<Math.min(0,n);a++)s+=r;i=0}for(let a=i;a<n;a++)s+=e[a].duration;return s},Bf=function(r,e,i,n){if(!r||!r.segments)return null;if(r.endList)return Df(r);if(e===null)return null;e=e||0;let s=wf(r,r.mediaSequence+r.segments.length,e);return i&&(n=typeof n=="number"?n:Sf(null,r),s-=n),Math.max(0,s)},A4=function(r,e,i){const s=e||0;let a=Bf(r,e,!0,i);return a===null?Rt():(a<s&&(a=s),Rt(s,a))},E4=function({playlist:r,currentTime:e,startingSegmentIndex:i,startingPartIndex:n,startTime:s,exactManifestTimings:a}){let o=e-s;const l=yl(r);let c=0;for(let d=0;d<l.length;d++){const m=l[d];if(i===m.segmentIndex&&!(typeof n=="number"&&typeof m.partIndex=="number"&&n!==m.partIndex)){c=d;break}}if(o<0){if(c>0)for(let d=c-1;d>=0;d--){const m=l[d];if(o+=m.duration,a){if(o<0)continue}else if(o+zi<=0)continue;return{partIndex:m.partIndex,segmentIndex:m.segmentIndex,startTime:s-es({defaultDuration:r.targetDuration,durationList:l,startIndex:c,endIndex:d})}}return{partIndex:l[0]&&l[0].partIndex||null,segmentIndex:l[0]&&l[0].segmentIndex||0,startTime:e}}if(c<0){for(let d=c;d<0;d++)if(o-=r.targetDuration,o<0)return{partIndex:l[0]&&l[0].partIndex||null,segmentIndex:l[0]&&l[0].segmentIndex||0,startTime:e};c=0}for(let d=c;d<l.length;d++){const m=l[d];o-=m.duration;const g=m.duration>zi,E=o===0,C=g&&o+zi>=0;if(!((E||C)&&d!==l.length-1)){if(a){if(o>0)continue}else if(o-zi>=0)continue;return{partIndex:m.partIndex,segmentIndex:m.segmentIndex,startTime:s+es({defaultDuration:r.targetDuration,durationList:l,startIndex:c,endIndex:d})}}}return{segmentIndex:l[l.length-1].segmentIndex,partIndex:l[l.length-1].partIndex,startTime:e}},Vf=function(r){return r.excludeUntil&&r.excludeUntil>Date.now()},vu=function(r){return r.excludeUntil&&r.excludeUntil===1/0},Ja=function(r){const e=Vf(r);return!r.disabled&&!e},x4=function(r){return r.disabled},k4=function(r){for(let e=0;e<r.segments.length;e++)if(r.segments[e].key)return!0;return!1},If=function(r,e){return e.attributes&&e.attributes[r]},_4=function(r,e,i,n=0){return If("BANDWIDTH",i)?(r*i.attributes.BANDWIDTH-n*8)/e:NaN},bl=(r,e)=>{if(r.playlists.length===1)return!0;const i=e.attributes.BANDWIDTH||Number.MAX_VALUE;return r.playlists.filter(n=>Ja(n)?(n.attributes.BANDWIDTH||0)<i:!1).length===0},yu=(r,e)=>!r&&!e||!r&&e||r&&!e?!1:!!(r===e||r.id&&e.id&&r.id===e.id||r.resolvedUri&&e.resolvedUri&&r.resolvedUri===e.resolvedUri||r.uri&&e.uri&&r.uri===e.uri),Id=function(r,e){const i=r&&r.mediaGroups&&r.mediaGroups.AUDIO||{};let n=!1;for(const s in i){for(const a in i[s])if(n=e(i[s][a]),n)break;if(n)break}return!!n},gs=r=>{if(!r||!r.playlists||!r.playlists.length)return Id(r,i=>i.playlists&&i.playlists.length||i.uri);for(let e=0;e<r.playlists.length;e++){const i=r.playlists[e],n=i.attributes&&i.attributes.CODECS;if(!(n&&n.split(",").every(a=>H0(a))||Id(r,a=>yu(i,a))))return!1}return!0};var ui={liveEdgeDelay:Sf,duration:Df,seekable:A4,getMediaInfoForTime:E4,isEnabled:Ja,isDisabled:x4,isExcluded:Vf,isIncompatible:vu,playlistEnd:Bf,isAes:k4,hasAttribute:If,estimateSegmentRequestTime:_4,isLowestEnabledRendition:bl,isAudioOnly:gs,playlistMatch:yu,segmentDurationWithParts:gu};const{log:Nf}=ae,$n=(r,e)=>`${r}-${e}`,Of=(r,e,i)=>`placeholder-uri-${r}-${e}-${i}`,S4=({onwarn:r,oninfo:e,manifestString:i,customTagParsers:n=[],customTagMappers:s=[],llhls:a})=>{const o=new pv;r&&o.on("warn",r),e&&o.on("info",e),n.forEach(d=>o.addParser(d)),s.forEach(d=>o.addTagMapper(d)),o.push(i),o.end();const l=o.manifest;if(a||(["preloadSegment","skip","serverControl","renditionReports","partInf","partTargetDuration"].forEach(function(d){l.hasOwnProperty(d)&&delete l[d]}),l.segments&&l.segments.forEach(function(d){["parts","preloadHints"].forEach(function(m){d.hasOwnProperty(m)&&delete d[m]})})),!l.targetDuration){let d=10;l.segments&&l.segments.length&&(d=l.segments.reduce((m,g)=>Math.max(m,g.duration),0)),r&&r({message:`manifest has no targetDuration defaulting to ${d}`}),l.targetDuration=d}const c=kf(l);if(c.length&&!l.partTargetDuration){const d=c.reduce((m,g)=>Math.max(m,g.duration),0);r&&(r({message:`manifest has no partTargetDuration defaulting to ${d}`}),Nf.error("LL-HLS manifest has parts but lacks required #EXT-X-PART-INF:PART-TARGET value. See https://datatracker.ietf.org/doc/html/draft-pantos-hls-rfc8216bis-09#section-4.4.3.7. Playback is not guaranteed.")),l.partTargetDuration=d}return l},Cr=(r,e)=>{r.mediaGroups&&["AUDIO","SUBTITLES"].forEach(i=>{if(r.mediaGroups[i])for(const n in r.mediaGroups[i])for(const s in r.mediaGroups[i][n]){const a=r.mediaGroups[i][n][s];e(a,i,n,s)}})},Pf=({playlist:r,uri:e,id:i})=>{r.id=i,r.playlistErrors_=0,e&&(r.uri=e),r.attributes=r.attributes||{}},w4=r=>{let e=r.playlists.length;for(;e--;){const i=r.playlists[e];Pf({playlist:i,id:$n(e,i.uri)}),i.resolvedUri=li(r.uri,i.uri),r.playlists[i.id]=i,r.playlists[i.uri]=i,i.attributes.BANDWIDTH||Nf.warn("Invalid playlist STREAM-INF detected. Missing BANDWIDTH attribute.")}},D4=r=>{Cr(r,e=>{e.uri&&(e.resolvedUri=li(r.uri,e.uri))})},B4=(r,e)=>{const i=$n(0,e),n={mediaGroups:{AUDIO:{},VIDEO:{},"CLOSED-CAPTIONS":{},SUBTITLES:{}},uri:K.location.href,resolvedUri:K.location.href,playlists:[{uri:e,id:i,resolvedUri:e,attributes:{}}]};return n.playlists[i]=n.playlists[0],n.playlists[e]=n.playlists[0],n},Mf=(r,e,i=Of)=>{r.uri=e;for(let s=0;s<r.playlists.length;s++)if(!r.playlists[s].uri){const a=`placeholder-uri-${s}`;r.playlists[s].uri=a}const n=gs(r);Cr(r,(s,a,o,l)=>{if(!s.playlists||!s.playlists.length){if(n&&a==="AUDIO"&&!s.uri)for(let c=0;c<r.playlists.length;c++){const d=r.playlists[c];if(d.attributes&&d.attributes.AUDIO&&d.attributes.AUDIO===o)return}s.playlists=[_t({},s)]}s.playlists.forEach(function(c,d){const m=i(a,o,l,c),g=$n(d,m);c.uri?c.resolvedUri=c.resolvedUri||li(r.uri,c.uri):(c.uri=d===0?m:g,c.resolvedUri=c.uri),c.id=c.id||g,c.attributes=c.attributes||{},r.playlists[c.id]=c,r.playlists[c.uri]=c})}),w4(r),D4(r)};class Nd{constructor(){this.offset_=null,this.pendingDateRanges_=new Map,this.processedDateRanges_=new Map}setOffset(e=[]){if(this.offset_!==null||!e.length)return;const[i]=e;i.programDateTime!==void 0&&(this.offset_=i.programDateTime/1e3)}setPendingDateRanges(e=[]){if(!e.length)return;const[i]=e,n=i.startDate.getTime();this.trimProcessedDateRanges_(n),this.pendingDateRanges_=e.reduce((s,a)=>(s.set(a.id,a),s),new Map)}processDateRange(e){this.pendingDateRanges_.delete(e.id),this.processedDateRanges_.set(e.id,e)}getDateRangesToProcess(){if(this.offset_===null)return[];const e={},i=[];this.pendingDateRanges_.forEach((n,s)=>{if(!this.processedDateRanges_.has(s)&&(n.startTime=n.startDate.getTime()/1e3-this.offset_,n.processDateRange=()=>this.processDateRange(n),i.push(n),!!n.class))if(e[n.class]){const a=e[n.class].push(n);n.classListIndex=a-1}else e[n.class]=[n],n.classListIndex=0});for(const n of i){const s=e[n.class]||[];n.endDate?n.endTime=n.endDate.getTime()/1e3-this.offset_:n.endOnNext&&s[n.classListIndex+1]?n.endTime=s[n.classListIndex+1].startTime:n.duration?n.endTime=n.startTime+n.duration:n.plannedDuration?n.endTime=n.startTime+n.plannedDuration:n.endTime=n.startTime}return i}trimProcessedDateRanges_(e){new Map(this.processedDateRanges_).forEach((n,s)=>{n.startDate.getTime()<e&&this.processedDateRanges_.delete(s)})}}const Lf=22,Mn=({requestType:r,request:e,error:i,parseFailure:n})=>{const s=e.status<200||e.status>299,a=e.status>=400&&e.status<=499,o={uri:e.uri,requestType:r},l=s&&!a||n;if(i&&a)o.error=_t({},i),o.errorType=ae.Error.NetworkRequestFailed;else if(e.aborted)o.errorType=ae.Error.NetworkRequestAborted;else if(e.timedout)o.errorType=ae.Error.NetworkRequestTimeout;else if(l){const c=n?ae.Error.NetworkBodyParserFailed:ae.Error.NetworkBadStatus;o.errorType=c,o.status=e.status,o.headers=e.headers}return o},V4=ki("CodecUtils"),Rf=function(r){const e=r.attributes||{};if(e.CODECS)return qi(e.CODECS)},qf=(r,e)=>{const i=e.attributes||{};return r&&r.mediaGroups&&r.mediaGroups.AUDIO&&i.AUDIO&&r.mediaGroups.AUDIO[i.AUDIO]},I4=(r,e)=>{if(!qf(r,e))return!0;const i=e.attributes||{},n=r.mediaGroups.AUDIO[i.AUDIO];for(const s in n)if(!n[s].uri&&!n[s].playlists)return!0;return!1},ls=function(r){const e={};return r.forEach(({mediaType:i,type:n,details:s})=>{e[i]=e[i]||[],e[i].push(z0(`${n}${s}`))}),Object.keys(e).forEach(function(i){if(e[i].length>1){V4(`multiple ${i} codecs found as attributes: ${e[i].join(", ")}. Setting playlist codecs to null so that we wait for mux.js to probe segments for real codecs.`),e[i]=null;return}e[i]=e[i][0]}),e},Od=function(r){let e=0;return r.audio&&e++,r.video&&e++,e},ts=function(r,e){const i=e.attributes||{},n=ls(Rf(e)||[]);if(qf(r,e)&&!n.audio&&!I4(r,e)){const s=ls(gv(r,i.AUDIO)||[]);s.audio&&(n.audio=s.audio)}return n},{EventTarget:N4}=ae,O4=(r,e)=>{if(e.endList||!e.serverControl)return r;const i={};if(e.serverControl.canBlockReload){const{preloadSegment:n}=e;let s=e.mediaSequence+e.segments.length;if(n){const a=n.parts||[],o=_f(e)-1;o>-1&&o!==a.length-1&&(i._HLS_part=o),(o>-1||a.length)&&s--}i._HLS_msn=s}if(e.serverControl&&e.serverControl.canSkipUntil&&(i._HLS_skip=e.serverControl.canSkipDateranges?"v2":"YES"),Object.keys(i).length){const n=new K.URL(r);["_HLS_skip","_HLS_msn","_HLS_part"].forEach(function(s){i.hasOwnProperty(s)&&n.searchParams.set(s,i[s])}),r=n.toString()}return r},P4=(r,e)=>{if(!r)return e;const i=lt(r,e);if(r.preloadHints&&!e.preloadHints&&delete i.preloadHints,r.parts&&!e.parts)delete i.parts;else if(r.parts&&e.parts)for(let n=0;n<e.parts.length;n++)r.parts&&r.parts[n]&&(i.parts[n]=lt(r.parts[n],e.parts[n]));return!r.skipped&&e.skipped&&(i.skipped=!1),r.preload&&!e.preload&&(i.preload=!1),i},M4=(r,e,i)=>{const n=r.slice(),s=e.slice();i=i||0;const a=[];let o;for(let l=0;l<s.length;l++){const c=n[l+i],d=s[l];c?(o=c.map||o,a.push(P4(c,d))):(o&&!d.map&&(d.map=o),a.push(d))}return a},Ff=(r,e)=>{!r.resolvedUri&&r.uri&&(r.resolvedUri=li(e,r.uri)),r.key&&!r.key.resolvedUri&&(r.key.resolvedUri=li(e,r.key.uri)),r.map&&!r.map.resolvedUri&&(r.map.resolvedUri=li(e,r.map.uri)),r.map&&r.map.key&&!r.map.key.resolvedUri&&(r.map.key.resolvedUri=li(e,r.map.key.uri)),r.parts&&r.parts.length&&r.parts.forEach(i=>{i.resolvedUri||(i.resolvedUri=li(e,i.uri))}),r.preloadHints&&r.preloadHints.length&&r.preloadHints.forEach(i=>{i.resolvedUri||(i.resolvedUri=li(e,i.uri))})},Uf=function(r){const e=r.segments||[],i=r.preloadSegment;if(i&&i.parts&&i.parts.length){if(i.preloadHints){for(let n=0;n<i.preloadHints.length;n++)if(i.preloadHints[n].type==="MAP")return e}i.duration=r.targetDuration,i.preload=!0,e.push(i)}return e},zf=(r,e)=>r===e||r.segments&&e.segments&&r.segments.length===e.segments.length&&r.endList===e.endList&&r.mediaSequence===e.mediaSequence&&r.preloadSegment===e.preloadSegment,Cl=(r,e,i=zf)=>{const n=lt(r,{}),s=n.playlists[e.id];if(!s||i(s,e))return null;e.segments=Uf(e);const a=lt(s,e);if(a.preloadSegment&&!e.preloadSegment&&delete a.preloadSegment,s.segments){if(e.skip){e.segments=e.segments||[];for(let o=0;o<e.skip.skippedSegments;o++)e.segments.unshift({skipped:!0})}a.segments=M4(s.segments,e.segments,e.mediaSequence-s.mediaSequence)}a.segments.forEach(o=>{Ff(o,a.resolvedUri)});for(let o=0;o<n.playlists.length;o++)n.playlists[o].id===e.id&&(n.playlists[o]=a);return n.playlists[e.id]=a,n.playlists[e.uri]=a,Cr(r,(o,l,c,d)=>{if(o.playlists)for(let m=0;m<o.playlists.length;m++)e.id===o.playlists[m].id&&(o.playlists[m]=a)}),n},Tl=(r,e)=>{const i=r.segments||[],n=i[i.length-1],s=n&&n.parts&&n.parts[n.parts.length-1],a=s&&s.duration||n&&n.duration;return e&&a?a*1e3:(r.partTargetDuration||r.targetDuration||10)*500},Pd=(r,e,i)=>{if(!r)return;const n=[];return r.forEach(s=>{if(!s.attributes)return;const{BANDWIDTH:a,RESOLUTION:o,CODECS:l}=s.attributes;n.push({id:s.id,bandwidth:a,resolution:o,codecs:l})}),{type:e,isLive:i,renditions:n}};class Yn extends N4{constructor(e,i,n={}){if(super(),!e)throw new Error("A non-empty playlist URL or object is required");this.logger_=ki("PlaylistLoader");const{withCredentials:s=!1}=n;this.src=e,this.vhs_=i,this.withCredentials=s,this.addDateRangesToTextTrack_=n.addDateRangesToTextTrack;const a=i.options_;this.customTagParsers=a&&a.customTagParsers||[],this.customTagMappers=a&&a.customTagMappers||[],this.llhls=a&&a.llhls,this.dateRangesStorage_=new Nd,this.state="HAVE_NOTHING",this.handleMediaupdatetimeout_=this.handleMediaupdatetimeout_.bind(this),this.on("mediaupdatetimeout",this.handleMediaupdatetimeout_),this.on("loadedplaylist",this.handleLoadedPlaylist_.bind(this))}handleLoadedPlaylist_(){const e=this.media();if(!e)return;this.dateRangesStorage_.setOffset(e.segments),this.dateRangesStorage_.setPendingDateRanges(e.dateRanges);const i=this.dateRangesStorage_.getDateRangesToProcess();!i.length||!this.addDateRangesToTextTrack_||this.addDateRangesToTextTrack_(i)}handleMediaupdatetimeout_(){if(this.state!=="HAVE_METADATA")return;const e=this.media();let i=li(this.main.uri,e.uri);this.llhls&&(i=O4(i,e)),this.state="HAVE_CURRENT_METADATA",this.request=this.vhs_.xhr({uri:i,withCredentials:this.withCredentials,requestType:"hls-playlist"},(n,s)=>{if(this.request){if(n)return this.playlistRequestError(this.request,this.media(),"HAVE_METADATA");this.haveMetadata({playlistString:this.request.responseText,url:this.media().uri,id:this.media().id})}})}playlistRequestError(e,i,n){const{uri:s,id:a}=i;this.request=null,n&&(this.state=n),this.error={playlist:this.main.playlists[a],status:e.status,message:`HLS playlist request error at URL: ${s}.`,responseText:e.responseText,code:e.status>=500?4:2,metadata:Mn({requestType:e.requestType,request:e,error:e.error})},this.trigger("error")}parseManifest_({url:e,manifestString:i}){try{const n=S4({onwarn:({message:s})=>this.logger_(`m3u8-parser warn for ${e}: ${s}`),oninfo:({message:s})=>this.logger_(`m3u8-parser info for ${e}: ${s}`),manifestString:i,customTagParsers:this.customTagParsers,customTagMappers:this.customTagMappers,llhls:this.llhls});return!n.playlists||!n.playlists.length||this.excludeAudioOnlyVariants(n.playlists),n}catch(n){this.error=n,this.error.metadata={errorType:ae.Error.StreamingHlsPlaylistParserError,error:n}}}excludeAudioOnlyVariants(e){const i=n=>{const s=n.attributes||{},{width:a,height:o}=s.RESOLUTION||{};if(a&&o)return!0;const l=Rf(n)||[];return!!ls(l).video};e.some(i)&&e.forEach(n=>{i(n)||(n.excludeUntil=1/0)})}haveMetadata({playlistString:e,playlistObject:i,url:n,id:s}){this.request=null,this.state="HAVE_METADATA";const a={playlistInfo:{type:"media",uri:n}};this.trigger({type:"playlistparsestart",metadata:a});const o=i||this.parseManifest_({url:n,manifestString:e});o.lastRequest=Date.now(),Pf({playlist:o,uri:n,id:s});const l=Cl(this.main,o);this.targetDuration=o.partTargetDuration||o.targetDuration,this.pendingMedia_=null,l?(this.main=l,this.media_=this.main.playlists[s]):this.trigger("playlistunchanged"),this.updateMediaUpdateTimeout_(Tl(this.media(),!!l)),a.parsedPlaylist=Pd(this.main.playlists,a.playlistInfo.type,!this.media_.endList),this.trigger({type:"playlistparsecomplete",metadata:a}),this.trigger("loadedplaylist")}dispose(){this.trigger("dispose"),this.stopRequest(),K.clearTimeout(this.mediaUpdateTimeout),K.clearTimeout(this.finalRenditionTimeout),this.dateRangesStorage_=new Nd,this.off()}stopRequest(){if(this.request){const e=this.request;this.request=null,e.onreadystatechange=null,e.abort()}}media(e,i){if(!e)return this.media_;if(this.state==="HAVE_NOTHING")throw new Error("Cannot switch media playlist from "+this.state);if(typeof e=="string"){if(!this.main.playlists[e])throw new Error("Unknown playlist URI: "+e);e=this.main.playlists[e]}if(K.clearTimeout(this.finalRenditionTimeout),i){const l=(e.partTargetDuration||e.targetDuration)/2*1e3||5e3;this.finalRenditionTimeout=K.setTimeout(this.media.bind(this,e,!1),l);return}const n=this.state,s=!this.media_||e.id!==this.media_.id,a=this.main.playlists[e.id];if(a&&a.endList||e.endList&&e.segments.length){this.request&&(this.request.onreadystatechange=null,this.request.abort(),this.request=null),this.state="HAVE_METADATA",this.media_=e,s&&(this.trigger("mediachanging"),n==="HAVE_MAIN_MANIFEST"?this.trigger("loadedmetadata"):this.trigger("mediachange"));return}if(this.updateMediaUpdateTimeout_(Tl(e,!0)),!s)return;if(this.state="SWITCHING_MEDIA",this.request){if(e.resolvedUri===this.request.url)return;this.request.onreadystatechange=null,this.request.abort(),this.request=null}this.media_&&this.trigger("mediachanging"),this.pendingMedia_=e;const o={playlistInfo:{type:"media",uri:e.uri}};this.trigger({type:"playlistrequeststart",metadata:o}),this.request=this.vhs_.xhr({uri:e.resolvedUri,withCredentials:this.withCredentials,requestType:"hls-playlist"},(l,c)=>{if(this.request){if(e.lastRequest=Date.now(),e.resolvedUri=Aa(e.resolvedUri,c),l)return this.playlistRequestError(this.request,e,n);this.trigger({type:"playlistrequestcomplete",metadata:o}),this.haveMetadata({playlistString:c.responseText,url:e.uri,id:e.id}),n==="HAVE_MAIN_MANIFEST"?this.trigger("loadedmetadata"):this.trigger("mediachange")}})}pause(){this.mediaUpdateTimeout&&(K.clearTimeout(this.mediaUpdateTimeout),this.mediaUpdateTimeout=null),this.stopRequest(),this.state==="HAVE_NOTHING"&&(this.started=!1),this.state==="SWITCHING_MEDIA"?this.media_?this.state="HAVE_METADATA":this.state="HAVE_MAIN_MANIFEST":this.state==="HAVE_CURRENT_METADATA"&&(this.state="HAVE_METADATA")}load(e){this.mediaUpdateTimeout&&(K.clearTimeout(this.mediaUpdateTimeout),this.mediaUpdateTimeout=null);const i=this.media();if(e){const n=i?(i.partTargetDuration||i.targetDuration)/2*1e3:5e3;this.mediaUpdateTimeout=K.setTimeout(()=>{this.mediaUpdateTimeout=null,this.load()},n);return}if(!this.started){this.start();return}i&&!i.endList?this.trigger("mediaupdatetimeout"):this.trigger("loadedplaylist")}updateMediaUpdateTimeout_(e){this.mediaUpdateTimeout&&(K.clearTimeout(this.mediaUpdateTimeout),this.mediaUpdateTimeout=null),!(!this.media()||this.media().endList)&&(this.mediaUpdateTimeout=K.setTimeout(()=>{this.mediaUpdateTimeout=null,this.trigger("mediaupdatetimeout"),this.updateMediaUpdateTimeout_(e)},e))}start(){if(this.started=!0,typeof this.src=="object"){this.src.uri||(this.src.uri=K.location.href),this.src.resolvedUri=this.src.uri,setTimeout(()=>{this.setupInitialPlaylist(this.src)},0);return}const e={playlistInfo:{type:"multivariant",uri:this.src}};this.trigger({type:"playlistrequeststart",metadata:e}),this.request=this.vhs_.xhr({uri:this.src,withCredentials:this.withCredentials,requestType:"hls-playlist"},(i,n)=>{if(!this.request)return;if(this.request=null,i)return this.error={status:n.status,message:`HLS playlist request error at URL: ${this.src}.`,responseText:n.responseText,code:2,metadata:Mn({requestType:n.requestType,request:n,error:i})},this.state==="HAVE_NOTHING"&&(this.started=!1),this.trigger("error");this.trigger({type:"playlistrequestcomplete",metadata:e}),this.src=Aa(this.src,n),this.trigger({type:"playlistparsestart",metadata:e});const s=this.parseManifest_({manifestString:n.responseText,url:this.src});e.parsedPlaylist=Pd(s.playlists,e.playlistInfo.type,!1),this.trigger({type:"playlistparsecomplete",metadata:e}),this.setupInitialPlaylist(s)})}srcUri(){return typeof this.src=="string"?this.src:this.src.uri}setupInitialPlaylist(e){if(this.state="HAVE_MAIN_MANIFEST",e.playlists){this.main=e,Mf(this.main,this.srcUri()),e.playlists.forEach(n=>{n.segments=Uf(n),n.segments.forEach(s=>{Ff(s,n.resolvedUri)})}),this.trigger("loadedplaylist"),this.request||this.media(this.main.playlists[0]);return}const i=this.srcUri()||K.location.href;this.main=B4(e,i),this.haveMetadata({playlistObject:e,url:i,id:this.main.playlists[0].id}),this.trigger("loadedmetadata")}updateOrDeleteClone(e,i){const n=this.main,s=e.ID;let a=n.playlists.length;for(;a--;){const o=n.playlists[a];if(o.attributes["PATHWAY-ID"]===s){const l=o.resolvedUri,c=o.id;if(i){const d=this.createCloneURI_(o.resolvedUri,e),m=$n(s,d),g=this.createCloneAttributes_(s,o.attributes),E=this.createClonePlaylist_(o,m,e,g);n.playlists[a]=E,n.playlists[m]=E,n.playlists[d]=E}else n.playlists.splice(a,1);delete n.playlists[c],delete n.playlists[l]}}this.updateOrDeleteCloneMedia(e,i)}updateOrDeleteCloneMedia(e,i){const n=this.main,s=e.ID;["AUDIO","SUBTITLES","CLOSED-CAPTIONS"].forEach(a=>{if(!(!n.mediaGroups[a]||!n.mediaGroups[a][s])){for(const o in n.mediaGroups[a])if(o===s){for(const l in n.mediaGroups[a][o])n.mediaGroups[a][o][l].playlists.forEach((d,m)=>{const g=n.playlists[d.id],E=g.id,C=g.resolvedUri;delete n.playlists[E],delete n.playlists[C]});delete n.mediaGroups[a][o]}}}),i&&this.createClonedMediaGroups_(e)}addClonePathway(e,i={}){const n=this.main,s=n.playlists.length,a=this.createCloneURI_(i.resolvedUri,e),o=$n(e.ID,a),l=this.createCloneAttributes_(e.ID,i.attributes),c=this.createClonePlaylist_(i,o,e,l);n.playlists[s]=c,n.playlists[o]=c,n.playlists[a]=c,this.createClonedMediaGroups_(e)}createClonedMediaGroups_(e){const i=e.ID,n=e["BASE-ID"],s=this.main;["AUDIO","SUBTITLES","CLOSED-CAPTIONS"].forEach(a=>{if(!(!s.mediaGroups[a]||s.mediaGroups[a][i]))for(const o in s.mediaGroups[a]){if(o===n)s.mediaGroups[a][i]={};else continue;for(const l in s.mediaGroups[a][o]){const c=s.mediaGroups[a][o][l];s.mediaGroups[a][i][l]=_t({},c);const d=s.mediaGroups[a][i][l],m=this.createCloneURI_(c.resolvedUri,e);d.resolvedUri=m,d.uri=m,d.playlists=[],c.playlists.forEach((g,E)=>{const C=s.playlists[g.id],w=Of(a,i,l),v=$n(i,w);if(C&&!s.playlists[v]){const b=this.createClonePlaylist_(C,v,e),k=b.resolvedUri;s.playlists[v]=b,s.playlists[k]=b}d.playlists[E]=this.createClonePlaylist_(g,v,e)})}}})}createClonePlaylist_(e,i,n,s){const a=this.createCloneURI_(e.resolvedUri,n),o={resolvedUri:a,uri:a,id:i};return e.segments&&(o.segments=[]),s&&(o.attributes=s),lt(e,o)}createCloneURI_(e,i){const n=new URL(e);n.hostname=i["URI-REPLACEMENT"].HOST;const s=i["URI-REPLACEMENT"].PARAMS;for(const a of Object.keys(s))n.searchParams.set(a,s[a]);return n.href}createCloneAttributes_(e,i){const n={"PATHWAY-ID":e};return["AUDIO","SUBTITLES","CLOSED-CAPTIONS"].forEach(s=>{i[s]&&(n[s]=e)}),n}getKeyIdSet(e){const i=new Set;if(!e||!e.contentProtection)return i;for(const n in e.contentProtection)if(e.contentProtection[n]&&e.contentProtection[n].attributes&&e.contentProtection[n].attributes.keyId){const s=e.contentProtection[n].attributes.keyId;i.add(s.toLowerCase())}return i}}const Al=function(r,e,i,n){const s=r.responseType==="arraybuffer"?r.response:r.responseText;!e&&s&&(r.responseTime=Date.now(),r.roundTripTime=r.responseTime-r.requestTime,r.bytesReceived=s.byteLength||s.length,r.bandwidth||(r.bandwidth=Math.floor(r.bytesReceived/r.roundTripTime*8*1e3))),i.headers&&(r.responseHeaders=i.headers),e&&e.code==="ETIMEDOUT"&&(r.timedout=!0),!e&&!r.aborted&&i.statusCode!==200&&i.statusCode!==206&&i.statusCode!==0&&(e=new Error("XHR Failed with a response of: "+(r&&(s||r.responseText)))),n(e,r)},L4=(r,e)=>{if(!r||!r.size)return;let i=e;return r.forEach(n=>{i=n(i)}),i},R4=(r,e,i,n)=>{!r||!r.size||r.forEach(s=>{s(e,i,n)})},Hf=function(){const r=function e(i,n){i=lt({timeout:45e3},i);const s=e.beforeRequest||ae.Vhs.xhr.beforeRequest,a=e._requestCallbackSet||ae.Vhs.xhr._requestCallbackSet||new Set,o=e._responseCallbackSet||ae.Vhs.xhr._responseCallbackSet;s&&typeof s=="function"&&(ae.log.warn("beforeRequest is deprecated, use onRequest instead."),a.add(s));const l=ae.Vhs.xhr.original===!0?ae.xhr:ae.Vhs.xhr,c=L4(a,i);a.delete(s);const d=l(c||i,function(g,E){return R4(o,d,g,E),Al(d,g,E,n)}),m=d.abort;return d.abort=function(){return d.aborted=!0,m.apply(d,arguments)},d.uri=i.uri,d.requestType=i.requestType,d.requestTime=Date.now(),d};return r.original=!0,r},q4=function(r){let e;const i=r.offset;return typeof r.offset=="bigint"||typeof r.length=="bigint"?e=K.BigInt(r.offset)+K.BigInt(r.length)-K.BigInt(1):e=r.offset+r.length-1,"bytes="+i+"-"+e},El=function(r){const e={};return r.byterange&&(e.Range=q4(r.byterange)),e},F4=function(r,e){return r.start(e)+"-"+r.end(e)},U4=function(r,e){const i=r.toString(16);return"00".substring(0,2-i.length)+i+(e%2?" ":"")},z4=function(r){return r>=32&&r<126?String.fromCharCode(r):"."},jf=function(r){const e={};return Object.keys(r).forEach(i=>{const n=r[i];X0(n)?e[i]={bytes:n.buffer,byteOffset:n.byteOffset,byteLength:n.byteLength}:e[i]=n}),e},Ea=function(r){const e=r.byterange||{length:1/0,offset:0};return[e.length,e.offset,r.resolvedUri].join(",")},Xf=function(r){return r.resolvedUri},Gf=r=>{const e=Array.prototype.slice.call(r),i=16;let n="",s,a;for(let o=0;o<e.length/i;o++)s=e.slice(o*i,o*i+i).map(U4).join(""),a=e.slice(o*i,o*i+i).map(z4).join(""),n+=s+" "+a+`
|
|
204
|
+
`;return n},H4=({bytes:r})=>Gf(r),j4=r=>{let e="",i;for(i=0;i<r.length;i++)e+=F4(r,i)+" ";return e};var X4=Object.freeze({__proto__:null,createTransferableMessage:jf,initSegmentId:Ea,segmentKeyId:Xf,hexDump:Gf,tagDump:H4,textRanges:j4});const Qf=.25,G4=(r,e)=>{if(!e.dateTimeObject)return null;const i=e.videoTimingInfo.transmuxerPrependedSeconds,s=e.videoTimingInfo.transmuxedPresentationStart+i,a=r-s;return new Date(e.dateTimeObject.getTime()+a*1e3)},Q4=r=>r.transmuxedPresentationEnd-r.transmuxedPresentationStart-r.transmuxerPrependedSeconds,Y4=(r,e)=>{let i;try{i=new Date(r)}catch{return null}if(!e||!e.segments||e.segments.length===0)return null;let n=e.segments[0];if(i<new Date(n.dateTimeObject))return null;for(let c=0;c<e.segments.length-1;c++){n=e.segments[c];const d=new Date(e.segments[c+1].dateTimeObject);if(i<d)break}const s=e.segments[e.segments.length-1],a=s.dateTimeObject,o=s.videoTimingInfo?Q4(s.videoTimingInfo):s.duration+s.duration*Qf,l=new Date(a.getTime()+o*1e3);return i>l?null:(i>new Date(a)&&(n=s),{segment:n,estimatedStart:n.videoTimingInfo?n.videoTimingInfo.transmuxedPresentationStart:ui.duration(e,e.mediaSequence+e.segments.indexOf(n)),type:n.videoTimingInfo?"accurate":"estimate"})},K4=(r,e)=>{if(!e||!e.segments||e.segments.length===0)return null;let i=0,n;for(let a=0;a<e.segments.length&&(n=e.segments[a],i=n.videoTimingInfo?n.videoTimingInfo.transmuxedPresentationEnd:i+n.duration,!(r<=i));a++);const s=e.segments[e.segments.length-1];if(s.videoTimingInfo&&s.videoTimingInfo.transmuxedPresentationEnd<r)return null;if(r>i){if(r>i+s.duration*Qf)return null;n=s}return{segment:n,estimatedStart:n.videoTimingInfo?n.videoTimingInfo.transmuxedPresentationStart:i-n.duration,type:n.videoTimingInfo?"accurate":"estimate"}},W4=(r,e)=>{let i,n;try{i=new Date(r),n=new Date(e)}catch{}const s=i.getTime();return(n.getTime()-s)/1e3},J4=r=>{if(!r.segments||r.segments.length===0)return!1;for(let e=0;e<r.segments.length;e++)if(!r.segments[e].dateTimeObject)return!1;return!0},Z4=({playlist:r,time:e=void 0,callback:i})=>{if(!i)throw new Error("getProgramTime: callback must be provided");if(!r||e===void 0)return i({message:"getProgramTime: playlist and time must be provided"});const n=K4(e,r);if(!n)return i({message:"valid programTime was not found"});if(n.type==="estimate")return i({message:"Accurate programTime could not be determined. Please seek to e.seekTime and try again",seekTime:n.estimatedStart});const s={mediaSeconds:e},a=G4(e,n.segment);return a&&(s.programDateTime=a.toISOString()),i(null,s)},Yf=({programTime:r,playlist:e,retryCount:i=2,seekTo:n,pauseAfterSeek:s=!0,tech:a,callback:o})=>{if(!o)throw new Error("seekToProgramTime: callback must be provided");if(typeof r>"u"||!e||!n)return o({message:"seekToProgramTime: programTime, seekTo and playlist must be provided"});if(!e.endList&&!a.hasStarted_)return o({message:"player must be playing a live stream to start buffering"});if(!J4(e))return o({message:"programDateTime tags must be provided in the manifest "+e.resolvedUri});const l=Y4(r,e);if(!l)return o({message:`${r} was not found in the stream`});const c=l.segment,d=W4(c.dateTimeObject,r);if(l.type==="estimate"){if(i===0)return o({message:`${r} is not buffered yet. Try again`});n(l.estimatedStart+d),a.one("seeked",()=>{Yf({programTime:r,playlist:e,retryCount:i-1,seekTo:n,pauseAfterSeek:s,tech:a,callback:o})});return}const m=c.start+d,g=()=>o(null,a.currentTime());a.one("seeked",g),s&&a.pause(),n(m)},Jo=(r,e)=>{if(r.readyState===4)return e()},$4=(r,e,i,n)=>{let s=[],a,o=!1;const l=function(g,E,C,w){return E.abort(),o=!0,i(g,E,C,w)},c=function(g,E){if(o)return;if(g)return g.metadata=Mn({requestType:n,request:E,error:g}),l(g,E,"",s);const C=E.responseText.substring(s&&s.byteLength||0,E.responseText.length);if(s=_v(s,G0(C,!0)),a=a||Qr(s),s.length<10||a&&s.length<a+2)return Jo(E,()=>l(g,E,"",s));const w=zl(s);return w==="ts"&&s.length<188?Jo(E,()=>l(g,E,"",s)):!w&&s.length<376?Jo(E,()=>l(g,E,"",s)):l(null,E,w,s)},m=e({uri:r,beforeSend(g){g.overrideMimeType("text/plain; charset=x-user-defined"),g.addEventListener("progress",function({total:E,loaded:C}){return Al(g,null,{statusCode:g.status},c)})}},function(g,E){return Al(m,g,E,c)});return m},{EventTarget:e8}=ae,Md=function(r,e){if(!zf(r,e)||r.sidx&&e.sidx&&(r.sidx.offset!==e.sidx.offset||r.sidx.length!==e.sidx.length))return!1;if(!r.sidx&&e.sidx||r.sidx&&!e.sidx||r.segments&&!e.segments||!r.segments&&e.segments)return!1;if(!r.segments&&!e.segments)return!0;for(let i=0;i<r.segments.length;i++){const n=r.segments[i],s=e.segments[i];if(n.uri!==s.uri)return!1;if(!n.byterange&&!s.byterange)continue;const a=n.byterange,o=s.byterange;if(a&&!o||!a&&o||a.offset!==o.offset||a.length!==o.length)return!1}return!0},t8=(r,e,i,n)=>{const s=n.attributes.NAME||i;return`placeholder-uri-${r}-${e}-${s}`},i8=({mainXml:r,srcUrl:e,clientOffset:i,sidxMapping:n,previousManifest:s})=>{const a=xy(r,{manifestUri:e,clientOffset:i,sidxMapping:n,previousManifest:s});return Mf(a,e,t8),a},n8=(r,e)=>{Cr(r,(i,n,s,a)=>{(!e.mediaGroups[n][s]||!(a in e.mediaGroups[n][s]))&&delete r.mediaGroups[n][s][a]})},r8=(r,e,i)=>{let n=!0,s=lt(r,{duration:e.duration,minimumUpdatePeriod:e.minimumUpdatePeriod,timelineStarts:e.timelineStarts});for(let a=0;a<e.playlists.length;a++){const o=e.playlists[a];if(o.sidx){const c=Na(o.sidx);i&&i[c]&&i[c].sidx&&ql(o,i[c].sidx,o.sidx.resolvedUri)}const l=Cl(s,o,Md);l&&(s=l,n=!1)}return Cr(e,(a,o,l,c)=>{if(a.playlists&&a.playlists.length){const d=a.playlists[0].id,m=Cl(s,a.playlists[0],Md);m&&(s=m,c in s.mediaGroups[o][l]||(s.mediaGroups[o][l][c]=a),s.mediaGroups[o][l][c].playlists[0]=s.playlists[d],n=!1)}}),n8(s,e),e.minimumUpdatePeriod!==r.minimumUpdatePeriod&&(n=!1),n?null:s},s8=(r,e)=>(!r.map&&!e.map||!!(r.map&&e.map&&r.map.byterange.offset===e.map.byterange.offset&&r.map.byterange.length===e.map.byterange.length))&&r.uri===e.uri&&r.byterange.offset===e.byterange.offset&&r.byterange.length===e.byterange.length,Ld=(r,e)=>{const i={};for(const n in r){const a=r[n].sidx;if(a){const o=Na(a);if(!e[o])break;const l=e[o].sidxInfo;s8(l,a)&&(i[o]=e[o])}}return i},a8=(r,e)=>{let n=Ld(r.playlists,e);return Cr(r,(s,a,o,l)=>{if(s.playlists&&s.playlists.length){const c=s.playlists;n=lt(n,Ld(c,e))}}),n};class xl extends e8{constructor(e,i,n={},s){super(),this.isPaused_=!0,this.mainPlaylistLoader_=s||this,s||(this.isMain_=!0);const{withCredentials:a=!1}=n;if(this.vhs_=i,this.withCredentials=a,this.addMetadataToTextTrack=n.addMetadataToTextTrack,!e)throw new Error("A non-empty playlist URL or object is required");this.on("minimumUpdatePeriod",()=>{this.refreshXml_()}),this.on("mediaupdatetimeout",()=>{this.refreshMedia_(this.media().id)}),this.state="HAVE_NOTHING",this.loadedPlaylists_={},this.logger_=ki("DashPlaylistLoader"),this.isMain_?(this.mainPlaylistLoader_.srcUrl=e,this.mainPlaylistLoader_.sidxMapping_={}):this.childPlaylist_=e}get isPaused(){return this.isPaused_}requestErrored_(e,i,n){if(!this.request)return!0;if(this.request=null,e)return this.error=typeof e=="object"&&!(e instanceof Error)?e:{status:i.status,message:"DASH request error at URL: "+i.uri,response:i.response,code:2,metadata:e.metadata},n&&(this.state=n),this.trigger("error"),!0}addSidxSegments_(e,i,n){const s=e.sidx&&Na(e.sidx);if(!e.sidx||!s||this.mainPlaylistLoader_.sidxMapping_[s]){K.clearTimeout(this.mediaRequest_),this.mediaRequest_=K.setTimeout(()=>n(!1),0);return}const a=Aa(e.sidx.resolvedUri),o=(c,d)=>{if(this.requestErrored_(c,d,i))return;const m=this.mainPlaylistLoader_.sidxMapping_,{requestType:g}=d;let E;try{E=Dy(Ge(d.response).subarray(8))}catch(C){C.metadata=Mn({requestType:g,request:d,parseFailure:!0}),this.requestErrored_(C,d,i);return}return m[s]={sidxInfo:e.sidx,sidx:E},ql(e,E,e.sidx.resolvedUri),n(!0)},l="dash-sidx";this.request=$4(a,this.vhs_.xhr,(c,d,m,g)=>{if(c)return o(c,d);if(!m||m!=="mp4"){const w=m||"unknown";return o({status:d.status,message:`Unsupported ${w} container type for sidx segment at URL: ${a}`,response:"",playlist:e,internal:!0,playlistExclusionDuration:1/0,code:2},d)}const{offset:E,length:C}=e.sidx.byterange;if(g.length>=C+E)return o(c,{response:g.subarray(E,E+C),status:d.status,uri:d.uri});this.request=this.vhs_.xhr({uri:a,responseType:"arraybuffer",requestType:"dash-sidx",headers:El({byterange:e.sidx.byterange})},o)},l)}dispose(){this.isPaused_=!0,this.trigger("dispose"),this.stopRequest(),this.loadedPlaylists_={},K.clearTimeout(this.minimumUpdatePeriodTimeout_),K.clearTimeout(this.mediaRequest_),K.clearTimeout(this.mediaUpdateTimeout),this.mediaUpdateTimeout=null,this.mediaRequest_=null,this.minimumUpdatePeriodTimeout_=null,this.mainPlaylistLoader_.createMupOnMedia_&&(this.off("loadedmetadata",this.mainPlaylistLoader_.createMupOnMedia_),this.mainPlaylistLoader_.createMupOnMedia_=null),this.off()}hasPendingRequest(){return this.request||this.mediaRequest_}stopRequest(){if(this.request){const e=this.request;this.request=null,e.onreadystatechange=null,e.abort()}}media(e){if(!e)return this.media_;if(this.state==="HAVE_NOTHING")throw new Error("Cannot switch media playlist from "+this.state);const i=this.state;if(typeof e=="string"){if(!this.mainPlaylistLoader_.main.playlists[e])throw new Error("Unknown playlist URI: "+e);e=this.mainPlaylistLoader_.main.playlists[e]}const n=!this.media_||e.id!==this.media_.id;if(n&&this.loadedPlaylists_[e.id]&&this.loadedPlaylists_[e.id].endList){this.state="HAVE_METADATA",this.media_=e,n&&(this.trigger("mediachanging"),this.trigger("mediachange"));return}n&&(this.media_&&this.trigger("mediachanging"),this.addSidxSegments_(e,i,s=>{this.haveMetadata({startingState:i,playlist:e})}))}haveMetadata({startingState:e,playlist:i}){this.state="HAVE_METADATA",this.loadedPlaylists_[i.id]=i,K.clearTimeout(this.mediaRequest_),this.mediaRequest_=null,this.refreshMedia_(i.id),e==="HAVE_MAIN_MANIFEST"?this.trigger("loadedmetadata"):this.trigger("mediachange")}pause(){this.isPaused_=!0,this.mainPlaylistLoader_.createMupOnMedia_&&(this.off("loadedmetadata",this.mainPlaylistLoader_.createMupOnMedia_),this.mainPlaylistLoader_.createMupOnMedia_=null),this.stopRequest(),K.clearTimeout(this.mediaUpdateTimeout),this.mediaUpdateTimeout=null,this.isMain_&&(K.clearTimeout(this.mainPlaylistLoader_.minimumUpdatePeriodTimeout_),this.mainPlaylistLoader_.minimumUpdatePeriodTimeout_=null),this.state==="HAVE_NOTHING"&&(this.started=!1)}load(e){this.isPaused_=!1,K.clearTimeout(this.mediaUpdateTimeout),this.mediaUpdateTimeout=null;const i=this.media();if(e){const n=i?i.targetDuration/2*1e3:5e3;this.mediaUpdateTimeout=K.setTimeout(()=>this.load(),n);return}if(!this.started){this.start();return}i&&!i.endList?(this.isMain_&&!this.minimumUpdatePeriodTimeout_&&(this.trigger("minimumUpdatePeriod"),this.updateMinimumUpdatePeriodTimeout_()),this.trigger("mediaupdatetimeout")):this.trigger("loadedplaylist")}start(){if(this.started=!0,!this.isMain_){K.clearTimeout(this.mediaRequest_),this.mediaRequest_=K.setTimeout(()=>this.haveMain_(),0);return}this.requestMain_((e,i)=>{this.haveMain_(),!this.hasPendingRequest()&&!this.media_&&this.media(this.mainPlaylistLoader_.main.playlists[0])})}requestMain_(e){const i={manifestInfo:{uri:this.mainPlaylistLoader_.srcUrl}};this.trigger({type:"manifestrequeststart",metadata:i}),this.request=this.vhs_.xhr({uri:this.mainPlaylistLoader_.srcUrl,withCredentials:this.withCredentials,requestType:"dash-manifest"},(n,s)=>{if(n){const{requestType:o}=s;n.metadata=Mn({requestType:o,request:s,error:n})}if(this.requestErrored_(n,s)){this.state==="HAVE_NOTHING"&&(this.started=!1);return}this.trigger({type:"manifestrequestcomplete",metadata:i});const a=s.responseText!==this.mainPlaylistLoader_.mainXml_;if(this.mainPlaylistLoader_.mainXml_=s.responseText,s.responseHeaders&&s.responseHeaders.date?this.mainLoaded_=Date.parse(s.responseHeaders.date):this.mainLoaded_=Date.now(),this.mainPlaylistLoader_.srcUrl=Aa(this.mainPlaylistLoader_.srcUrl,s),a){this.handleMain_(),this.syncClientServerClock_(()=>e(s,a));return}return e(s,a)})}syncClientServerClock_(e){const i=ky(this.mainPlaylistLoader_.mainXml_);if(i===null)return this.mainPlaylistLoader_.clientOffset_=this.mainLoaded_-Date.now(),e();if(i.method==="DIRECT")return this.mainPlaylistLoader_.clientOffset_=i.value-Date.now(),e();this.request=this.vhs_.xhr({uri:li(this.mainPlaylistLoader_.srcUrl,i.value),method:i.method,withCredentials:this.withCredentials,requestType:"dash-clock-sync"},(n,s)=>{if(!this.request)return;if(n){const{requestType:o}=s;return this.error.metadata=Mn({requestType:o,request:s,error:n}),this.mainPlaylistLoader_.clientOffset_=this.mainLoaded_-Date.now(),e()}let a;i.method==="HEAD"?!s.responseHeaders||!s.responseHeaders.date?a=this.mainLoaded_:a=Date.parse(s.responseHeaders.date):a=Date.parse(s.responseText),this.mainPlaylistLoader_.clientOffset_=a-Date.now(),e()})}haveMain_(){this.state="HAVE_MAIN_MANIFEST",this.isMain_?this.trigger("loadedplaylist"):this.media_||this.media(this.childPlaylist_)}handleMain_(){K.clearTimeout(this.mediaRequest_),this.mediaRequest_=null;const e=this.mainPlaylistLoader_.main,i={manifestInfo:{uri:this.mainPlaylistLoader_.srcUrl}};this.trigger({type:"manifestparsestart",metadata:i});let n;try{n=i8({mainXml:this.mainPlaylistLoader_.mainXml_,srcUrl:this.mainPlaylistLoader_.srcUrl,clientOffset:this.mainPlaylistLoader_.clientOffset_,sidxMapping:this.mainPlaylistLoader_.sidxMapping_,previousManifest:e})}catch(a){this.error=a,this.error.metadata={errorType:ae.Error.StreamingDashManifestParserError,error:a},this.trigger("error")}e&&(n=r8(e,n,this.mainPlaylistLoader_.sidxMapping_)),this.mainPlaylistLoader_.main=n||e;const s=this.mainPlaylistLoader_.main.locations&&this.mainPlaylistLoader_.main.locations[0];if(s&&s!==this.mainPlaylistLoader_.srcUrl&&(this.mainPlaylistLoader_.srcUrl=s),(!e||n&&n.minimumUpdatePeriod!==e.minimumUpdatePeriod)&&this.updateMinimumUpdatePeriodTimeout_(),this.addEventStreamToMetadataTrack_(n),n){const{duration:a,endList:o}=n,l=[];n.playlists.forEach(d=>{l.push({id:d.id,bandwidth:d.attributes.BANDWIDTH,resolution:d.attributes.RESOLUTION,codecs:d.attributes.CODECS})});const c={duration:a,isLive:!o,renditions:l};i.parsedManifest=c,this.trigger({type:"manifestparsecomplete",metadata:i})}return!!n}updateMinimumUpdatePeriodTimeout_(){const e=this.mainPlaylistLoader_;e.createMupOnMedia_&&(e.off("loadedmetadata",e.createMupOnMedia_),e.createMupOnMedia_=null),e.minimumUpdatePeriodTimeout_&&(K.clearTimeout(e.minimumUpdatePeriodTimeout_),e.minimumUpdatePeriodTimeout_=null);let i=e.main&&e.main.minimumUpdatePeriod;if(i===0&&(e.media()?i=e.media().targetDuration*1e3:(e.createMupOnMedia_=e.updateMinimumUpdatePeriodTimeout_,e.one("loadedmetadata",e.createMupOnMedia_))),typeof i!="number"||i<=0){i<0&&this.logger_(`found invalid minimumUpdatePeriod of ${i}, not setting a timeout`);return}this.createMUPTimeout_(i)}createMUPTimeout_(e){const i=this.mainPlaylistLoader_;i.minimumUpdatePeriodTimeout_=K.setTimeout(()=>{i.minimumUpdatePeriodTimeout_=null,i.trigger("minimumUpdatePeriod"),i.createMUPTimeout_(e)},e)}refreshXml_(){this.requestMain_((e,i)=>{i&&(this.media_&&(this.media_=this.mainPlaylistLoader_.main.playlists[this.media_.id]),this.mainPlaylistLoader_.sidxMapping_=a8(this.mainPlaylistLoader_.main,this.mainPlaylistLoader_.sidxMapping_),this.addSidxSegments_(this.media(),this.state,n=>{this.refreshMedia_(this.media().id)}))})}refreshMedia_(e){if(!e)throw new Error("refreshMedia_ must take a media id");this.media_&&this.isMain_&&this.handleMain_();const i=this.mainPlaylistLoader_.main.playlists,n=!this.media_||this.media_!==i[e];if(n?this.media_=i[e]:this.trigger("playlistunchanged"),!this.mediaUpdateTimeout){const s=()=>{this.media().endList||(this.mediaUpdateTimeout=K.setTimeout(()=>{this.trigger("mediaupdatetimeout"),s()},Tl(this.media(),!!n)))};s()}this.trigger("loadedplaylist")}addEventStreamToMetadataTrack_(e){if(e&&this.mainPlaylistLoader_.main.eventStream){const i=this.mainPlaylistLoader_.main.eventStream.map(n=>({cueTime:n.start,frames:[{data:n.messageData}]}));this.addMetadataToTextTrack("EventStream",i,this.mainPlaylistLoader_.main.duration)}}getKeyIdSet(e){if(e.contentProtection){const i=new Set;for(const n in e.contentProtection){const s=e.contentProtection[n].attributes["cenc:default_KID"];s&&i.add(s.replace(/-/g,"").toLowerCase())}return i}}}var Mt={GOAL_BUFFER_LENGTH:30,MAX_GOAL_BUFFER_LENGTH:60,BACK_BUFFER_LENGTH:30,GOAL_BUFFER_LENGTH_RATE:1,INITIAL_BANDWIDTH:4194304,BANDWIDTH_VARIANCE:1.2,BUFFER_LOW_WATER_LINE:0,MAX_BUFFER_LOW_WATER_LINE:30,EXPERIMENTAL_MAX_BUFFER_LOW_WATER_LINE:16,BUFFER_LOW_WATER_LINE_RATE:1,BUFFER_HIGH_WATER_LINE:30};const o8=r=>{const e=new Uint8Array(new ArrayBuffer(r.length));for(let i=0;i<r.length;i++)e[i]=r.charCodeAt(i);return e.buffer},Kf=function(r){return r.on=r.addEventListener,r.off=r.removeEventListener,r},l8=function(r){try{return URL.createObjectURL(new Blob([r],{type:"application/javascript"}))}catch{const i=new BlobBuilder;return i.append(r),URL.createObjectURL(i.getBlob())}},Wf=function(r){return function(){const e=l8(r),i=Kf(new Worker(e));i.objURL=e;const n=i.terminate;return i.on=i.addEventListener,i.off=i.removeEventListener,i.terminate=function(){return URL.revokeObjectURL(e),n.call(this)},i}},Jf=function(r){return`var browserWorkerPolyFill = ${Kf.toString()};
|
|
205
|
+
browserWorkerPolyFill(self);
|
|
206
|
+
`+r},Zf=function(r){return r.toString().replace(/^function.+?{/,"").slice(0,-1)},u8=Jf(Zf(function(){var r=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},e=function(){this.init=function(){var u={};this.on=function(h,p){u[h]||(u[h]=[]),u[h]=u[h].concat(p)},this.off=function(h,p){var f;return u[h]?(f=u[h].indexOf(p),u[h]=u[h].slice(),u[h].splice(f,1),f>-1):!1},this.trigger=function(h){var p,f,y,T;if(p=u[h],!!p)if(arguments.length===2)for(y=p.length,f=0;f<y;++f)p[f].call(this,arguments[1]);else{for(T=[],f=arguments.length,f=1;f<arguments.length;++f)T.push(arguments[f]);for(y=p.length,f=0;f<y;++f)p[f].apply(this,T)}},this.dispose=function(){u={}}}};e.prototype.pipe=function(u){return this.on("data",function(h){u.push(h)}),this.on("done",function(h){u.flush(h)}),this.on("partialdone",function(h){u.partialFlush(h)}),this.on("endedtimeline",function(h){u.endTimeline(h)}),this.on("reset",function(h){u.reset(h)}),u},e.prototype.push=function(u){this.trigger("data",u)},e.prototype.flush=function(u){this.trigger("done",u)},e.prototype.partialFlush=function(u){this.trigger("partialdone",u)},e.prototype.endTimeline=function(u){this.trigger("endedtimeline",u)},e.prototype.reset=function(u){this.trigger("reset",u)};var i=e,n=Math.pow(2,32),s=function(u){var h=new DataView(u.buffer,u.byteOffset,u.byteLength),p;return h.getBigUint64?(p=h.getBigUint64(0),p<Number.MAX_SAFE_INTEGER?Number(p):p):h.getUint32(0)*n+h.getUint32(4)},a={getUint64:s,MAX_UINT32:n},o=a.MAX_UINT32,l,c,d,m,g,E,C,w,v,b,k,S,D,O,q,R,x,L,_,V,I,z,M,U,P,te,j,G,ee,J,Q,X,ne,ve,W,he;(function(){var u;if(M={avc1:[],avcC:[],btrt:[],dinf:[],dref:[],esds:[],ftyp:[],hdlr:[],mdat:[],mdhd:[],mdia:[],mfhd:[],minf:[],moof:[],moov:[],mp4a:[],mvex:[],mvhd:[],pasp:[],sdtp:[],smhd:[],stbl:[],stco:[],stsc:[],stsd:[],stsz:[],stts:[],styp:[],tfdt:[],tfhd:[],traf:[],trak:[],trun:[],trex:[],tkhd:[],vmhd:[]},!(typeof Uint8Array>"u")){for(u in M)M.hasOwnProperty(u)&&(M[u]=[u.charCodeAt(0),u.charCodeAt(1),u.charCodeAt(2),u.charCodeAt(3)]);U=new Uint8Array([105,115,111,109]),te=new Uint8Array([97,118,99,49]),P=new Uint8Array([0,0,0,1]),j=new Uint8Array([0,0,0,0,0,0,0,0,118,105,100,101,0,0,0,0,0,0,0,0,0,0,0,0,86,105,100,101,111,72,97,110,100,108,101,114,0]),G=new Uint8Array([0,0,0,0,0,0,0,0,115,111,117,110,0,0,0,0,0,0,0,0,0,0,0,0,83,111,117,110,100,72,97,110,100,108,101,114,0]),ee={video:j,audio:G},X=new Uint8Array([0,0,0,0,0,0,0,1,0,0,0,12,117,114,108,32,0,0,0,1]),Q=new Uint8Array([0,0,0,0,0,0,0,0]),ne=new Uint8Array([0,0,0,0,0,0,0,0]),ve=ne,W=new Uint8Array([0,0,0,0,0,0,0,0,0,0,0,0]),he=ne,J=new Uint8Array([0,0,0,1,0,0,0,0,0,0,0,0])}})(),l=function(u){var h=[],p=0,f,y,T;for(f=1;f<arguments.length;f++)h.push(arguments[f]);for(f=h.length;f--;)p+=h[f].byteLength;for(y=new Uint8Array(p+8),T=new DataView(y.buffer,y.byteOffset,y.byteLength),T.setUint32(0,y.byteLength),y.set(u,4),f=0,p=8;f<h.length;f++)y.set(h[f],p),p+=h[f].byteLength;return y},c=function(){return l(M.dinf,l(M.dref,X))},d=function(u){return l(M.esds,new Uint8Array([0,0,0,0,3,25,0,0,0,4,17,64,21,0,6,0,0,0,218,192,0,0,218,192,5,2,u.audioobjecttype<<3|u.samplingfrequencyindex>>>1,u.samplingfrequencyindex<<7|u.channelcount<<3,6,1,2]))},m=function(){return l(M.ftyp,U,P,U,te)},R=function(u){return l(M.hdlr,ee[u])},g=function(u){return l(M.mdat,u)},q=function(u){var h=new Uint8Array([0,0,0,0,0,0,0,2,0,0,0,3,0,1,95,144,u.duration>>>24&255,u.duration>>>16&255,u.duration>>>8&255,u.duration&255,85,196,0,0]);return u.samplerate&&(h[12]=u.samplerate>>>24&255,h[13]=u.samplerate>>>16&255,h[14]=u.samplerate>>>8&255,h[15]=u.samplerate&255),l(M.mdhd,h)},O=function(u){return l(M.mdia,q(u),R(u.type),C(u))},E=function(u){return l(M.mfhd,new Uint8Array([0,0,0,0,(u&4278190080)>>24,(u&16711680)>>16,(u&65280)>>8,u&255]))},C=function(u){return l(M.minf,u.type==="video"?l(M.vmhd,J):l(M.smhd,Q),c(),L(u))},w=function(u,h){for(var p=[],f=h.length;f--;)p[f]=V(h[f]);return l.apply(null,[M.moof,E(u)].concat(p))},v=function(u){for(var h=u.length,p=[];h--;)p[h]=S(u[h]);return l.apply(null,[M.moov,k(4294967295)].concat(p).concat(b(u)))},b=function(u){for(var h=u.length,p=[];h--;)p[h]=I(u[h]);return l.apply(null,[M.mvex].concat(p))},k=function(u){var h=new Uint8Array([0,0,0,0,0,0,0,1,0,0,0,2,0,1,95,144,(u&4278190080)>>24,(u&16711680)>>16,(u&65280)>>8,u&255,0,1,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,64,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,255,255,255,255]);return l(M.mvhd,h)},x=function(u){var h=u.samples||[],p=new Uint8Array(4+h.length),f,y;for(y=0;y<h.length;y++)f=h[y].flags,p[y+4]=f.dependsOn<<4|f.isDependedOn<<2|f.hasRedundancy;return l(M.sdtp,p)},L=function(u){return l(M.stbl,_(u),l(M.stts,he),l(M.stsc,ve),l(M.stsz,W),l(M.stco,ne))},(function(){var u,h;_=function(p){return l(M.stsd,new Uint8Array([0,0,0,0,0,0,0,1]),p.type==="video"?u(p):h(p))},u=function(p){var f=p.sps||[],y=p.pps||[],T=[],F=[],H,Y;for(H=0;H<f.length;H++)T.push((f[H].byteLength&65280)>>>8),T.push(f[H].byteLength&255),T=T.concat(Array.prototype.slice.call(f[H]));for(H=0;H<y.length;H++)F.push((y[H].byteLength&65280)>>>8),F.push(y[H].byteLength&255),F=F.concat(Array.prototype.slice.call(y[H]));if(Y=[M.avc1,new Uint8Array([0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,(p.width&65280)>>8,p.width&255,(p.height&65280)>>8,p.height&255,0,72,0,0,0,72,0,0,0,0,0,0,0,1,19,118,105,100,101,111,106,115,45,99,111,110,116,114,105,98,45,104,108,115,0,0,0,0,0,0,0,0,0,0,0,0,0,24,17,17]),l(M.avcC,new Uint8Array([1,p.profileIdc,p.profileCompatibility,p.levelIdc,255].concat([f.length],T,[y.length],F))),l(M.btrt,new Uint8Array([0,28,156,128,0,45,198,192,0,45,198,192]))],p.sarRatio){var Z=p.sarRatio[0],re=p.sarRatio[1];Y.push(l(M.pasp,new Uint8Array([(Z&4278190080)>>24,(Z&16711680)>>16,(Z&65280)>>8,Z&255,(re&4278190080)>>24,(re&16711680)>>16,(re&65280)>>8,re&255])))}return l.apply(null,Y)},h=function(p){return l(M.mp4a,new Uint8Array([0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,(p.channelcount&65280)>>8,p.channelcount&255,(p.samplesize&65280)>>8,p.samplesize&255,0,0,0,0,(p.samplerate&65280)>>8,p.samplerate&255,0,0]),d(p))}})(),D=function(u){var h=new Uint8Array([0,0,0,7,0,0,0,0,0,0,0,0,(u.id&4278190080)>>24,(u.id&16711680)>>16,(u.id&65280)>>8,u.id&255,0,0,0,0,(u.duration&4278190080)>>24,(u.duration&16711680)>>16,(u.duration&65280)>>8,u.duration&255,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,64,0,0,0,(u.width&65280)>>8,u.width&255,0,0,(u.height&65280)>>8,u.height&255,0,0]);return l(M.tkhd,h)},V=function(u){var h,p,f,y,T,F,H;return h=l(M.tfhd,new Uint8Array([0,0,0,58,(u.id&4278190080)>>24,(u.id&16711680)>>16,(u.id&65280)>>8,u.id&255,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0])),F=Math.floor(u.baseMediaDecodeTime/o),H=Math.floor(u.baseMediaDecodeTime%o),p=l(M.tfdt,new Uint8Array([1,0,0,0,F>>>24&255,F>>>16&255,F>>>8&255,F&255,H>>>24&255,H>>>16&255,H>>>8&255,H&255])),T=92,u.type==="audio"?(f=z(u,T),l(M.traf,h,p,f)):(y=x(u),f=z(u,y.length+T),l(M.traf,h,p,f,y))},S=function(u){return u.duration=u.duration||4294967295,l(M.trak,D(u),O(u))},I=function(u){var h=new Uint8Array([0,0,0,0,(u.id&4278190080)>>24,(u.id&16711680)>>16,(u.id&65280)>>8,u.id&255,0,0,0,1,0,0,0,0,0,0,0,0,0,1,0,1]);return u.type!=="video"&&(h[h.length-1]=0),l(M.trex,h)},(function(){var u,h,p;p=function(f,y){var T=0,F=0,H=0,Y=0;return f.length&&(f[0].duration!==void 0&&(T=1),f[0].size!==void 0&&(F=2),f[0].flags!==void 0&&(H=4),f[0].compositionTimeOffset!==void 0&&(Y=8)),[0,0,T|F|H|Y,1,(f.length&4278190080)>>>24,(f.length&16711680)>>>16,(f.length&65280)>>>8,f.length&255,(y&4278190080)>>>24,(y&16711680)>>>16,(y&65280)>>>8,y&255]},h=function(f,y){var T,F,H,Y,Z,re;for(Y=f.samples||[],y+=20+16*Y.length,H=p(Y,y),F=new Uint8Array(H.length+Y.length*16),F.set(H),T=H.length,re=0;re<Y.length;re++)Z=Y[re],F[T++]=(Z.duration&4278190080)>>>24,F[T++]=(Z.duration&16711680)>>>16,F[T++]=(Z.duration&65280)>>>8,F[T++]=Z.duration&255,F[T++]=(Z.size&4278190080)>>>24,F[T++]=(Z.size&16711680)>>>16,F[T++]=(Z.size&65280)>>>8,F[T++]=Z.size&255,F[T++]=Z.flags.isLeading<<2|Z.flags.dependsOn,F[T++]=Z.flags.isDependedOn<<6|Z.flags.hasRedundancy<<4|Z.flags.paddingValue<<1|Z.flags.isNonSyncSample,F[T++]=Z.flags.degradationPriority&61440,F[T++]=Z.flags.degradationPriority&15,F[T++]=(Z.compositionTimeOffset&4278190080)>>>24,F[T++]=(Z.compositionTimeOffset&16711680)>>>16,F[T++]=(Z.compositionTimeOffset&65280)>>>8,F[T++]=Z.compositionTimeOffset&255;return l(M.trun,F)},u=function(f,y){var T,F,H,Y,Z,re;for(Y=f.samples||[],y+=20+8*Y.length,H=p(Y,y),T=new Uint8Array(H.length+Y.length*8),T.set(H),F=H.length,re=0;re<Y.length;re++)Z=Y[re],T[F++]=(Z.duration&4278190080)>>>24,T[F++]=(Z.duration&16711680)>>>16,T[F++]=(Z.duration&65280)>>>8,T[F++]=Z.duration&255,T[F++]=(Z.size&4278190080)>>>24,T[F++]=(Z.size&16711680)>>>16,T[F++]=(Z.size&65280)>>>8,T[F++]=Z.size&255;return l(M.trun,T)},z=function(f,y){return f.type==="audio"?u(f,y):h(f,y)}})();var ce={ftyp:m,mdat:g,moof:w,moov:v,initSegment:function(u){var h=m(),p=v(u),f;return f=new Uint8Array(h.byteLength+p.byteLength),f.set(h),f.set(p,h.byteLength),f}},Ee=function(u){var h,p,f=[],y=[];for(y.byteLength=0,y.nalCount=0,y.duration=0,f.byteLength=0,h=0;h<u.length;h++)p=u[h],p.nalUnitType==="access_unit_delimiter_rbsp"?(f.length&&(f.duration=p.dts-f.dts,y.byteLength+=f.byteLength,y.nalCount+=f.length,y.duration+=f.duration,y.push(f)),f=[p],f.byteLength=p.data.byteLength,f.pts=p.pts,f.dts=p.dts):(p.nalUnitType==="slice_layer_without_partitioning_rbsp_idr"&&(f.keyFrame=!0),f.duration=p.dts-f.dts,f.byteLength+=p.data.byteLength,f.push(p));return y.length&&(!f.duration||f.duration<=0)&&(f.duration=y[y.length-1].duration),y.byteLength+=f.byteLength,y.nalCount+=f.length,y.duration+=f.duration,y.push(f),y},fe=function(u){var h,p,f=[],y=[];for(f.byteLength=0,f.nalCount=0,f.duration=0,f.pts=u[0].pts,f.dts=u[0].dts,y.byteLength=0,y.nalCount=0,y.duration=0,y.pts=u[0].pts,y.dts=u[0].dts,h=0;h<u.length;h++)p=u[h],p.keyFrame?(f.length&&(y.push(f),y.byteLength+=f.byteLength,y.nalCount+=f.nalCount,y.duration+=f.duration),f=[p],f.nalCount=p.length,f.byteLength=p.byteLength,f.pts=p.pts,f.dts=p.dts,f.duration=p.duration):(f.duration+=p.duration,f.nalCount+=p.length,f.byteLength+=p.byteLength,f.push(p));return y.length&&f.duration<=0&&(f.duration=y[y.length-1].duration),y.byteLength+=f.byteLength,y.nalCount+=f.nalCount,y.duration+=f.duration,y.push(f),y},ke=function(u){var h;return!u[0][0].keyFrame&&u.length>1&&(h=u.shift(),u.byteLength-=h.byteLength,u.nalCount-=h.nalCount,u[0][0].dts=h.dts,u[0][0].pts=h.pts,u[0][0].duration+=h.duration),u},Re=function(){return{size:0,flags:{isLeading:0,dependsOn:1,isDependedOn:0,hasRedundancy:0,degradationPriority:0,isNonSyncSample:1}}},de=function(u,h){var p=Re();return p.dataOffset=h,p.compositionTimeOffset=u.pts-u.dts,p.duration=u.duration,p.size=4*u.length,p.size+=u.byteLength,u.keyFrame&&(p.flags.dependsOn=2,p.flags.isNonSyncSample=0),p},Te=function(u,h){var p,f,y,T,F,H=h||0,Y=[];for(p=0;p<u.length;p++)for(T=u[p],f=0;f<T.length;f++)F=T[f],y=de(F,H),H+=y.size,Y.push(y);return Y},De=function(u){var h,p,f,y,T,F,H=0,Y=u.byteLength,Z=u.nalCount,re=Y+4*Z,me=new Uint8Array(re),Oe=new DataView(me.buffer);for(h=0;h<u.length;h++)for(y=u[h],p=0;p<y.length;p++)for(T=y[p],f=0;f<T.length;f++)F=T[f],Oe.setUint32(H,F.data.byteLength),H+=4,me.set(F.data,H),H+=F.data.byteLength;return me},We=function(u,h){var p,f=h||0,y=[];return p=de(u,f),y.push(p),y},qe=function(u){var h,p,f=0,y=u.byteLength,T=u.length,F=y+4*T,H=new Uint8Array(F),Y=new DataView(H.buffer);for(h=0;h<u.length;h++)p=u[h],Y.setUint32(f,p.data.byteLength),f+=4,H.set(p.data,f),f+=p.data.byteLength;return H},ct={groupNalsIntoFrames:Ee,groupFramesIntoGops:fe,extendFirstKeyFrame:ke,generateSampleTable:Te,concatenateNalData:De,generateSampleTableForFrame:We,concatenateNalDataForFrame:qe},Je=[33,16,5,32,164,27],Me=[33,65,108,84,1,2,4,8,168,2,4,8,17,191,252],Ie=function(u){for(var h=[];u--;)h.push(0);return h},Ae=function(u){return Object.keys(u).reduce(function(h,p){return h[p]=new Uint8Array(u[p].reduce(function(f,y){return f.concat(y)},[])),h},{})},xe,se=function(){if(!xe){var u={96e3:[Je,[227,64],Ie(154),[56]],88200:[Je,[231],Ie(170),[56]],64e3:[Je,[248,192],Ie(240),[56]],48e3:[Je,[255,192],Ie(268),[55,148,128],Ie(54),[112]],44100:[Je,[255,192],Ie(268),[55,163,128],Ie(84),[112]],32e3:[Je,[255,192],Ie(268),[55,234],Ie(226),[112]],24e3:[Je,[255,192],Ie(268),[55,255,128],Ie(268),[111,112],Ie(126),[224]],16e3:[Je,[255,192],Ie(268),[55,255,128],Ie(268),[111,255],Ie(269),[223,108],Ie(195),[1,192]],12e3:[Me,Ie(268),[3,127,248],Ie(268),[6,255,240],Ie(268),[13,255,224],Ie(268),[27,253,128],Ie(259),[56]],11025:[Me,Ie(268),[3,127,248],Ie(268),[6,255,240],Ie(268),[13,255,224],Ie(268),[27,255,192],Ie(268),[55,175,128],Ie(108),[112]],8e3:[Me,Ie(268),[3,121,16],Ie(47),[7]]};xe=Ae(u)}return xe},oe=9e4,ye,pe,le,be,He,Ve,it;ye=function(u){return u*oe},pe=function(u,h){return u*h},le=function(u){return u/oe},be=function(u,h){return u/h},He=function(u,h){return ye(be(u,h))},Ve=function(u,h){return pe(le(u),h)},it=function(u,h,p){return le(p?u:u-h)};var ze={ONE_SECOND_IN_TS:oe,secondsToVideoTs:ye,secondsToAudioTs:pe,videoTsToSeconds:le,audioTsToSeconds:be,audioTsToVideoTs:He,videoTsToAudioTs:Ve,metadataTsToSeconds:it},gt=se,st=ze,Nt=function(u){var h,p,f=0;for(h=0;h<u.length;h++)p=u[h],f+=p.data.byteLength;return f},Dt=function(u,h,p,f){var y,T=0,F=0,H=0,Y=0,Z,re,me;if(h.length&&(y=st.audioTsToVideoTs(u.baseMediaDecodeTime,u.samplerate),T=Math.ceil(st.ONE_SECOND_IN_TS/(u.samplerate/1024)),p&&f&&(F=y-Math.max(p,f),H=Math.floor(F/T),Y=H*T),!(H<1||Y>st.ONE_SECOND_IN_TS/2))){for(Z=gt()[u.samplerate],Z||(Z=h[0].data),re=0;re<H;re++)me=h[0],h.splice(0,0,{data:Z,dts:me.dts-T,pts:me.pts-T});return u.baseMediaDecodeTime-=Math.floor(st.videoTsToAudioTs(Y,u.samplerate)),Y}},qt=function(u,h,p){return h.minSegmentDts>=p?u:(h.minSegmentDts=1/0,u.filter(function(f){return f.dts>=p?(h.minSegmentDts=Math.min(h.minSegmentDts,f.dts),h.minSegmentPts=h.minSegmentDts,!0):!1}))},ri=function(u){var h,p,f=[];for(h=0;h<u.length;h++)p=u[h],f.push({size:p.data.byteLength,duration:1024});return f},Ft=function(u){var h,p,f=0,y=new Uint8Array(Nt(u));for(h=0;h<u.length;h++)p=u[h],y.set(p.data,f),f+=p.data.byteLength;return y},vi={prefixWithSilence:Dt,trimAdtsFramesByEarliestDts:qt,generateSampleTable:ri,concatenateFrameData:Ft},Ot=ze.ONE_SECOND_IN_TS,yi=function(u,h){typeof h.pts=="number"&&(u.timelineStartInfo.pts===void 0&&(u.timelineStartInfo.pts=h.pts),u.minSegmentPts===void 0?u.minSegmentPts=h.pts:u.minSegmentPts=Math.min(u.minSegmentPts,h.pts),u.maxSegmentPts===void 0?u.maxSegmentPts=h.pts:u.maxSegmentPts=Math.max(u.maxSegmentPts,h.pts)),typeof h.dts=="number"&&(u.timelineStartInfo.dts===void 0&&(u.timelineStartInfo.dts=h.dts),u.minSegmentDts===void 0?u.minSegmentDts=h.dts:u.minSegmentDts=Math.min(u.minSegmentDts,h.dts),u.maxSegmentDts===void 0?u.maxSegmentDts=h.dts:u.maxSegmentDts=Math.max(u.maxSegmentDts,h.dts))},B=function(u){delete u.minSegmentDts,delete u.maxSegmentDts,delete u.minSegmentPts,delete u.maxSegmentPts},N=function(u,h){var p,f,y=u.minSegmentDts;return h||(y-=u.timelineStartInfo.dts),p=u.timelineStartInfo.baseMediaDecodeTime,p+=y,p=Math.max(0,p),u.type==="audio"&&(f=u.samplerate/Ot,p*=f,p=Math.floor(p)),p},$={clearDtsInfo:B,calculateTrackBaseMediaDecodeTime:N,collectDtsInfo:yi},ue=4,Be=128,Xe=function(u){for(var h=0,p={payloadType:-1,payloadSize:0},f=0,y=0;h<u.byteLength&&u[h]!==Be;){for(;u[h]===255;)f+=255,h++;for(f+=u[h++];u[h]===255;)y+=255,h++;if(y+=u[h++],!p.payload&&f===ue){var T=String.fromCharCode(u[h+3],u[h+4],u[h+5],u[h+6]);if(T==="GA94"){p.payloadType=f,p.payloadSize=y,p.payload=u.subarray(h,h+y);break}else p.payload=void 0}h+=y,f=0,y=0}return p},at=function(u){return u.payload[0]!==181||(u.payload[1]<<8|u.payload[2])!==49||String.fromCharCode(u.payload[3],u.payload[4],u.payload[5],u.payload[6])!=="GA94"||u.payload[7]!==3?null:u.payload.subarray(8,u.payload.length-1)},Bt=function(u,h){var p=[],f,y,T,F;if(!(h[0]&64))return p;for(y=h[0]&31,f=0;f<y;f++)T=f*3,F={type:h[T+2]&3,pts:u},h[T+2]&4&&(F.ccData=h[T+3]<<8|h[T+4],p.push(F));return p},Kt=function(u){for(var h=u.byteLength,p=[],f=1,y,T;f<h-2;)u[f]===0&&u[f+1]===0&&u[f+2]===3?(p.push(f+2),f+=2):f++;if(p.length===0)return u;y=h-p.length,T=new Uint8Array(y);var F=0;for(f=0;f<y;F++,f++)F===p[0]&&(F++,p.shift()),T[f]=u[F];return T},jt={parseSei:Xe,parseUserData:at,parseCaptionPackets:Bt,discardEmulationPreventionBytes:Kt,USER_DATA_REGISTERED_ITU_T_T35:ue},Ut=i,si=jt,nt=function(u){u=u||{},nt.prototype.init.call(this),this.parse708captions_=typeof u.parse708captions=="boolean"?u.parse708captions:!0,this.captionPackets_=[],this.ccStreams_=[new Ne(0,0),new Ne(0,1),new Ne(1,0),new Ne(1,1)],this.parse708captions_&&(this.cc708Stream_=new Ze({captionServices:u.captionServices})),this.reset(),this.ccStreams_.forEach(function(h){h.on("data",this.trigger.bind(this,"data")),h.on("partialdone",this.trigger.bind(this,"partialdone")),h.on("done",this.trigger.bind(this,"done"))},this),this.parse708captions_&&(this.cc708Stream_.on("data",this.trigger.bind(this,"data")),this.cc708Stream_.on("partialdone",this.trigger.bind(this,"partialdone")),this.cc708Stream_.on("done",this.trigger.bind(this,"done")))};nt.prototype=new Ut,nt.prototype.push=function(u){var h,p,f;if(u.nalUnitType==="sei_rbsp"&&(h=si.parseSei(u.escapedRBSP),!!h.payload&&h.payloadType===si.USER_DATA_REGISTERED_ITU_T_T35&&(p=si.parseUserData(h),!!p))){if(u.dts<this.latestDts_){this.ignoreNextEqualDts_=!0;return}else if(u.dts===this.latestDts_&&this.ignoreNextEqualDts_){this.numSameDts_--,this.numSameDts_||(this.ignoreNextEqualDts_=!1);return}f=si.parseCaptionPackets(u.pts,p),this.captionPackets_=this.captionPackets_.concat(f),this.latestDts_!==u.dts&&(this.numSameDts_=0),this.numSameDts_++,this.latestDts_=u.dts}},nt.prototype.flushCCStreams=function(u){this.ccStreams_.forEach(function(h){return u==="flush"?h.flush():h.partialFlush()},this)},nt.prototype.flushStream=function(u){if(!this.captionPackets_.length){this.flushCCStreams(u);return}this.captionPackets_.forEach(function(h,p){h.presortIndex=p}),this.captionPackets_.sort(function(h,p){return h.pts===p.pts?h.presortIndex-p.presortIndex:h.pts-p.pts}),this.captionPackets_.forEach(function(h){h.type<2?this.dispatchCea608Packet(h):this.dispatchCea708Packet(h)},this),this.captionPackets_.length=0,this.flushCCStreams(u)},nt.prototype.flush=function(){return this.flushStream("flush")},nt.prototype.partialFlush=function(){return this.flushStream("partialFlush")},nt.prototype.reset=function(){this.latestDts_=null,this.ignoreNextEqualDts_=!1,this.numSameDts_=0,this.activeCea608Channel_=[null,null],this.ccStreams_.forEach(function(u){u.reset()})},nt.prototype.dispatchCea608Packet=function(u){this.setsTextOrXDSActive(u)?this.activeCea608Channel_[u.type]=null:this.setsChannel1Active(u)?this.activeCea608Channel_[u.type]=0:this.setsChannel2Active(u)&&(this.activeCea608Channel_[u.type]=1),this.activeCea608Channel_[u.type]!==null&&this.ccStreams_[(u.type<<1)+this.activeCea608Channel_[u.type]].push(u)},nt.prototype.setsChannel1Active=function(u){return(u.ccData&30720)===4096},nt.prototype.setsChannel2Active=function(u){return(u.ccData&30720)===6144},nt.prototype.setsTextOrXDSActive=function(u){return(u.ccData&28928)===256||(u.ccData&30974)===4138||(u.ccData&30974)===6186},nt.prototype.dispatchCea708Packet=function(u){this.parse708captions_&&this.cc708Stream_.push(u)};var ai={127:9834,4128:32,4129:160,4133:8230,4138:352,4140:338,4144:9608,4145:8216,4146:8217,4147:8220,4148:8221,4149:8226,4153:8482,4154:353,4156:339,4157:8480,4159:376,4214:8539,4215:8540,4216:8541,4217:8542,4218:9168,4219:9124,4220:9123,4221:9135,4222:9126,4223:9121,4256:12600},Wt=function(u){var h=ai[u]||u;return u&4096&&u===h?"":String.fromCharCode(h)},Jt=function(u){return 32<=u&&u<=127||160<=u&&u<=255},Vt=function(u){this.windowNum=u,this.reset()};Vt.prototype.reset=function(){this.clearText(),this.pendingNewLine=!1,this.winAttr={},this.penAttr={},this.penLoc={},this.penColor={},this.visible=0,this.rowLock=0,this.columnLock=0,this.priority=0,this.relativePositioning=0,this.anchorVertical=0,this.anchorHorizontal=0,this.anchorPoint=0,this.rowCount=1,this.virtualRowCount=this.rowCount+1,this.columnCount=41,this.windowStyle=0,this.penStyle=0},Vt.prototype.getText=function(){return this.rows.join(`
|
|
207
|
+
`)},Vt.prototype.clearText=function(){this.rows=[""],this.rowIdx=0},Vt.prototype.newLine=function(u){for(this.rows.length>=this.virtualRowCount&&typeof this.beforeRowOverflow=="function"&&this.beforeRowOverflow(u),this.rows.length>0&&(this.rows.push(""),this.rowIdx++);this.rows.length>this.virtualRowCount;)this.rows.shift(),this.rowIdx--},Vt.prototype.isEmpty=function(){return this.rows.length===0?!0:this.rows.length===1?this.rows[0]==="":!1},Vt.prototype.addText=function(u){this.rows[this.rowIdx]+=u},Vt.prototype.backspace=function(){if(!this.isEmpty()){var u=this.rows[this.rowIdx];this.rows[this.rowIdx]=u.substr(0,u.length-1)}};var ft=function(u,h,p){this.serviceNum=u,this.text="",this.currentWindow=new Vt(-1),this.windows=[],this.stream=p,typeof h=="string"&&this.createTextDecoder(h)};ft.prototype.init=function(u,h){this.startPts=u;for(var p=0;p<8;p++)this.windows[p]=new Vt(p),typeof h=="function"&&(this.windows[p].beforeRowOverflow=h)},ft.prototype.setCurrentWindow=function(u){this.currentWindow=this.windows[u]},ft.prototype.createTextDecoder=function(u){if(typeof TextDecoder>"u")this.stream.trigger("log",{level:"warn",message:"The `encoding` option is unsupported without TextDecoder support"});else try{this.textDecoder_=new TextDecoder(u)}catch(h){this.stream.trigger("log",{level:"warn",message:"TextDecoder could not be created with "+u+" encoding. "+h})}};var Ze=function(u){u=u||{},Ze.prototype.init.call(this);var h=this,p=u.captionServices||{},f={},y;Object.keys(p).forEach(T=>{y=p[T],/^SERVICE/.test(T)&&(f[T]=y.encoding)}),this.serviceEncodings=f,this.current708Packet=null,this.services={},this.push=function(T){T.type===3?(h.new708Packet(),h.add708Bytes(T)):(h.current708Packet===null&&h.new708Packet(),h.add708Bytes(T))}};Ze.prototype=new Ut,Ze.prototype.new708Packet=function(){this.current708Packet!==null&&this.push708Packet(),this.current708Packet={data:[],ptsVals:[]}},Ze.prototype.add708Bytes=function(u){var h=u.ccData,p=h>>>8,f=h&255;this.current708Packet.ptsVals.push(u.pts),this.current708Packet.data.push(p),this.current708Packet.data.push(f)},Ze.prototype.push708Packet=function(){var u=this.current708Packet,h=u.data,p=null,f=null,y=0,T=h[y++];for(u.seq=T>>6,u.sizeCode=T&63;y<h.length;y++)T=h[y++],p=T>>5,f=T&31,p===7&&f>0&&(T=h[y++],p=T),this.pushServiceBlock(p,y,f),f>0&&(y+=f-1)},Ze.prototype.pushServiceBlock=function(u,h,p){var f,y=h,T=this.current708Packet.data,F=this.services[u];for(F||(F=this.initService(u,y));y<h+p&&y<T.length;y++)f=T[y],Jt(f)?y=this.handleText(y,F):f===24?y=this.multiByteCharacter(y,F):f===16?y=this.extendedCommands(y,F):128<=f&&f<=135?y=this.setCurrentWindow(y,F):152<=f&&f<=159?y=this.defineWindow(y,F):f===136?y=this.clearWindows(y,F):f===140?y=this.deleteWindows(y,F):f===137?y=this.displayWindows(y,F):f===138?y=this.hideWindows(y,F):f===139?y=this.toggleWindows(y,F):f===151?y=this.setWindowAttributes(y,F):f===144?y=this.setPenAttributes(y,F):f===145?y=this.setPenColor(y,F):f===146?y=this.setPenLocation(y,F):f===143?F=this.reset(y,F):f===8?F.currentWindow.backspace():f===12?F.currentWindow.clearText():f===13?F.currentWindow.pendingNewLine=!0:f===14?F.currentWindow.clearText():f===141&&y++},Ze.prototype.extendedCommands=function(u,h){var p=this.current708Packet.data,f=p[++u];return Jt(f)&&(u=this.handleText(u,h,{isExtended:!0})),u},Ze.prototype.getPts=function(u){return this.current708Packet.ptsVals[Math.floor(u/2)]},Ze.prototype.initService=function(u,h){var f="SERVICE"+u,p=this,f,y;return f in this.serviceEncodings&&(y=this.serviceEncodings[f]),this.services[u]=new ft(u,y,p),this.services[u].init(this.getPts(h),function(T){p.flushDisplayed(T,p.services[u])}),this.services[u]},Ze.prototype.handleText=function(u,h,p){var f=p&&p.isExtended,y=p&&p.isMultiByte,T=this.current708Packet.data,F=f?4096:0,H=T[u],Y=T[u+1],Z=h.currentWindow,re,me;function Oe(Ce){return Ce.map(je=>("0"+(je&255).toString(16)).slice(-2)).join("")}if(y?(me=[H,Y],u++):me=[H],h.textDecoder_&&!f)re=h.textDecoder_.decode(new Uint8Array(me));else if(y){const Ce=Oe(me);re=String.fromCharCode(parseInt(Ce,16))}else re=Wt(F|H);return Z.pendingNewLine&&!Z.isEmpty()&&Z.newLine(this.getPts(u)),Z.pendingNewLine=!1,Z.addText(re),u},Ze.prototype.multiByteCharacter=function(u,h){var p=this.current708Packet.data,f=p[u+1],y=p[u+2];return Jt(f)&&Jt(y)&&(u=this.handleText(++u,h,{isMultiByte:!0})),u},Ze.prototype.setCurrentWindow=function(u,h){var p=this.current708Packet.data,f=p[u],y=f&7;return h.setCurrentWindow(y),u},Ze.prototype.defineWindow=function(u,h){var p=this.current708Packet.data,f=p[u],y=f&7;h.setCurrentWindow(y);var T=h.currentWindow;return f=p[++u],T.visible=(f&32)>>5,T.rowLock=(f&16)>>4,T.columnLock=(f&8)>>3,T.priority=f&7,f=p[++u],T.relativePositioning=(f&128)>>7,T.anchorVertical=f&127,f=p[++u],T.anchorHorizontal=f,f=p[++u],T.anchorPoint=(f&240)>>4,T.rowCount=f&15,f=p[++u],T.columnCount=f&63,f=p[++u],T.windowStyle=(f&56)>>3,T.penStyle=f&7,T.virtualRowCount=T.rowCount+1,u},Ze.prototype.setWindowAttributes=function(u,h){var p=this.current708Packet.data,f=p[u],y=h.currentWindow.winAttr;return f=p[++u],y.fillOpacity=(f&192)>>6,y.fillRed=(f&48)>>4,y.fillGreen=(f&12)>>2,y.fillBlue=f&3,f=p[++u],y.borderType=(f&192)>>6,y.borderRed=(f&48)>>4,y.borderGreen=(f&12)>>2,y.borderBlue=f&3,f=p[++u],y.borderType+=(f&128)>>5,y.wordWrap=(f&64)>>6,y.printDirection=(f&48)>>4,y.scrollDirection=(f&12)>>2,y.justify=f&3,f=p[++u],y.effectSpeed=(f&240)>>4,y.effectDirection=(f&12)>>2,y.displayEffect=f&3,u},Ze.prototype.flushDisplayed=function(u,h){for(var p=[],f=0;f<8;f++)h.windows[f].visible&&!h.windows[f].isEmpty()&&p.push(h.windows[f].getText());h.endPts=u,h.text=p.join(`
|
|
208
|
+
|
|
209
|
+
`),this.pushCaption(h),h.startPts=u},Ze.prototype.pushCaption=function(u){u.text!==""&&(this.trigger("data",{startPts:u.startPts,endPts:u.endPts,text:u.text,stream:"cc708_"+u.serviceNum}),u.text="",u.startPts=u.endPts)},Ze.prototype.displayWindows=function(u,h){var p=this.current708Packet.data,f=p[++u],y=this.getPts(u);this.flushDisplayed(y,h);for(var T=0;T<8;T++)f&1<<T&&(h.windows[T].visible=1);return u},Ze.prototype.hideWindows=function(u,h){var p=this.current708Packet.data,f=p[++u],y=this.getPts(u);this.flushDisplayed(y,h);for(var T=0;T<8;T++)f&1<<T&&(h.windows[T].visible=0);return u},Ze.prototype.toggleWindows=function(u,h){var p=this.current708Packet.data,f=p[++u],y=this.getPts(u);this.flushDisplayed(y,h);for(var T=0;T<8;T++)f&1<<T&&(h.windows[T].visible^=1);return u},Ze.prototype.clearWindows=function(u,h){var p=this.current708Packet.data,f=p[++u],y=this.getPts(u);this.flushDisplayed(y,h);for(var T=0;T<8;T++)f&1<<T&&h.windows[T].clearText();return u},Ze.prototype.deleteWindows=function(u,h){var p=this.current708Packet.data,f=p[++u],y=this.getPts(u);this.flushDisplayed(y,h);for(var T=0;T<8;T++)f&1<<T&&h.windows[T].reset();return u},Ze.prototype.setPenAttributes=function(u,h){var p=this.current708Packet.data,f=p[u],y=h.currentWindow.penAttr;return f=p[++u],y.textTag=(f&240)>>4,y.offset=(f&12)>>2,y.penSize=f&3,f=p[++u],y.italics=(f&128)>>7,y.underline=(f&64)>>6,y.edgeType=(f&56)>>3,y.fontStyle=f&7,u},Ze.prototype.setPenColor=function(u,h){var p=this.current708Packet.data,f=p[u],y=h.currentWindow.penColor;return f=p[++u],y.fgOpacity=(f&192)>>6,y.fgRed=(f&48)>>4,y.fgGreen=(f&12)>>2,y.fgBlue=f&3,f=p[++u],y.bgOpacity=(f&192)>>6,y.bgRed=(f&48)>>4,y.bgGreen=(f&12)>>2,y.bgBlue=f&3,f=p[++u],y.edgeRed=(f&48)>>4,y.edgeGreen=(f&12)>>2,y.edgeBlue=f&3,u},Ze.prototype.setPenLocation=function(u,h){var p=this.current708Packet.data,f=p[u],y=h.currentWindow.penLoc;return h.currentWindow.pendingNewLine=!0,f=p[++u],y.row=f&15,f=p[++u],y.column=f&63,u},Ze.prototype.reset=function(u,h){var p=this.getPts(u);return this.flushDisplayed(p,h),this.initService(h.serviceNum,u)};var _i={42:225,92:233,94:237,95:243,96:250,123:231,124:247,125:209,126:241,127:9608,304:174,305:176,306:189,307:191,308:8482,309:162,310:163,311:9834,312:224,313:160,314:232,315:226,316:234,317:238,318:244,319:251,544:193,545:201,546:211,547:218,548:220,549:252,550:8216,551:161,552:42,553:39,554:8212,555:169,556:8480,557:8226,558:8220,559:8221,560:192,561:194,562:199,563:200,564:202,565:203,566:235,567:206,568:207,569:239,570:212,571:217,572:249,573:219,574:171,575:187,800:195,801:227,802:205,803:204,804:236,805:210,806:242,807:213,808:245,809:123,810:125,811:92,812:94,813:95,814:124,815:126,816:196,817:228,818:214,819:246,820:223,821:165,822:164,823:9474,824:197,825:229,826:216,827:248,828:9484,829:9488,830:9492,831:9496},Mi=function(u){return u===null?"":(u=_i[u]||u,String.fromCharCode(u))},Cn=14,ys=[4352,4384,4608,4640,5376,5408,5632,5664,5888,5920,4096,4864,4896,5120,5152],Yi=function(){for(var u=[],h=Cn+1;h--;)u.push({text:"",indent:0,offset:0});return u},Ne=function(u,h){Ne.prototype.init.call(this),this.field_=u||0,this.dataChannel_=h||0,this.name_="CC"+((this.field_<<1|this.dataChannel_)+1),this.setConstants(),this.reset(),this.push=function(p){var f,y,T,F,H;if(f=p.ccData&32639,f===this.lastControlCode_){this.lastControlCode_=null;return}if((f&61440)===4096?this.lastControlCode_=f:f!==this.PADDING_&&(this.lastControlCode_=null),T=f>>>8,F=f&255,f!==this.PADDING_)if(f===this.RESUME_CAPTION_LOADING_)this.mode_="popOn";else if(f===this.END_OF_CAPTION_)this.mode_="popOn",this.clearFormatting(p.pts),this.flushDisplayed(p.pts),y=this.displayed_,this.displayed_=this.nonDisplayed_,this.nonDisplayed_=y,this.startPts_=p.pts;else if(f===this.ROLL_UP_2_ROWS_)this.rollUpRows_=2,this.setRollUp(p.pts);else if(f===this.ROLL_UP_3_ROWS_)this.rollUpRows_=3,this.setRollUp(p.pts);else if(f===this.ROLL_UP_4_ROWS_)this.rollUpRows_=4,this.setRollUp(p.pts);else if(f===this.CARRIAGE_RETURN_)this.clearFormatting(p.pts),this.flushDisplayed(p.pts),this.shiftRowsUp_(),this.startPts_=p.pts;else if(f===this.BACKSPACE_)this.mode_==="popOn"?this.nonDisplayed_[this.row_].text=this.nonDisplayed_[this.row_].text.slice(0,-1):this.displayed_[this.row_].text=this.displayed_[this.row_].text.slice(0,-1);else if(f===this.ERASE_DISPLAYED_MEMORY_)this.flushDisplayed(p.pts),this.displayed_=Yi();else if(f===this.ERASE_NON_DISPLAYED_MEMORY_)this.nonDisplayed_=Yi();else if(f===this.RESUME_DIRECT_CAPTIONING_)this.mode_!=="paintOn"&&(this.flushDisplayed(p.pts),this.displayed_=Yi()),this.mode_="paintOn",this.startPts_=p.pts;else if(this.isSpecialCharacter(T,F))T=(T&3)<<8,H=Mi(T|F),this[this.mode_](p.pts,H),this.column_++;else if(this.isExtCharacter(T,F))this.mode_==="popOn"?this.nonDisplayed_[this.row_].text=this.nonDisplayed_[this.row_].text.slice(0,-1):this.displayed_[this.row_].text=this.displayed_[this.row_].text.slice(0,-1),T=(T&3)<<8,H=Mi(T|F),this[this.mode_](p.pts,H),this.column_++;else if(this.isMidRowCode(T,F))this.clearFormatting(p.pts),this[this.mode_](p.pts," "),this.column_++,(F&14)===14&&this.addFormatting(p.pts,["i"]),(F&1)===1&&this.addFormatting(p.pts,["u"]);else if(this.isOffsetControlCode(T,F)){const Z=F&3;this.nonDisplayed_[this.row_].offset=Z,this.column_+=Z}else if(this.isPAC(T,F)){var Y=ys.indexOf(f&7968);if(this.mode_==="rollUp"&&(Y-this.rollUpRows_+1<0&&(Y=this.rollUpRows_-1),this.setRollUp(p.pts,Y)),Y!==this.row_&&Y>=0&&Y<=14&&(this.clearFormatting(p.pts),this.row_=Y),F&1&&this.formatting_.indexOf("u")===-1&&this.addFormatting(p.pts,["u"]),(f&16)===16){const Z=(f&14)>>1;this.column_=Z*4,this.nonDisplayed_[this.row_].indent+=Z}this.isColorPAC(F)&&(F&14)===14&&this.addFormatting(p.pts,["i"])}else this.isNormalChar(T)&&(F===0&&(F=null),H=Mi(T),H+=Mi(F),this[this.mode_](p.pts,H),this.column_+=H.length)}};Ne.prototype=new Ut,Ne.prototype.flushDisplayed=function(u){const h=f=>{this.trigger("log",{level:"warn",message:"Skipping a malformed 608 caption at index "+f+"."})},p=[];this.displayed_.forEach((f,y)=>{if(f&&f.text&&f.text.length){try{f.text=f.text.trim()}catch{h(y)}f.text.length&&p.push({text:f.text,line:y+1,position:10+Math.min(70,f.indent*10)+f.offset*2.5})}else f==null&&h(y)}),p.length&&this.trigger("data",{startPts:this.startPts_,endPts:u,content:p,stream:this.name_})},Ne.prototype.reset=function(){this.mode_="popOn",this.topRow_=0,this.startPts_=0,this.displayed_=Yi(),this.nonDisplayed_=Yi(),this.lastControlCode_=null,this.column_=0,this.row_=Cn,this.rollUpRows_=2,this.formatting_=[]},Ne.prototype.setConstants=function(){this.dataChannel_===0?(this.BASE_=16,this.EXT_=17,this.CONTROL_=(20|this.field_)<<8,this.OFFSET_=23):this.dataChannel_===1&&(this.BASE_=24,this.EXT_=25,this.CONTROL_=(28|this.field_)<<8,this.OFFSET_=31),this.PADDING_=0,this.RESUME_CAPTION_LOADING_=this.CONTROL_|32,this.END_OF_CAPTION_=this.CONTROL_|47,this.ROLL_UP_2_ROWS_=this.CONTROL_|37,this.ROLL_UP_3_ROWS_=this.CONTROL_|38,this.ROLL_UP_4_ROWS_=this.CONTROL_|39,this.CARRIAGE_RETURN_=this.CONTROL_|45,this.RESUME_DIRECT_CAPTIONING_=this.CONTROL_|41,this.BACKSPACE_=this.CONTROL_|33,this.ERASE_DISPLAYED_MEMORY_=this.CONTROL_|44,this.ERASE_NON_DISPLAYED_MEMORY_=this.CONTROL_|46},Ne.prototype.isSpecialCharacter=function(u,h){return u===this.EXT_&&h>=48&&h<=63},Ne.prototype.isExtCharacter=function(u,h){return(u===this.EXT_+1||u===this.EXT_+2)&&h>=32&&h<=63},Ne.prototype.isMidRowCode=function(u,h){return u===this.EXT_&&h>=32&&h<=47},Ne.prototype.isOffsetControlCode=function(u,h){return u===this.OFFSET_&&h>=33&&h<=35},Ne.prototype.isPAC=function(u,h){return u>=this.BASE_&&u<this.BASE_+8&&h>=64&&h<=127},Ne.prototype.isColorPAC=function(u){return u>=64&&u<=79||u>=96&&u<=127},Ne.prototype.isNormalChar=function(u){return u>=32&&u<=127},Ne.prototype.setRollUp=function(u,h){if(this.mode_!=="rollUp"&&(this.row_=Cn,this.mode_="rollUp",this.flushDisplayed(u),this.nonDisplayed_=Yi(),this.displayed_=Yi()),h!==void 0&&h!==this.row_)for(var p=0;p<this.rollUpRows_;p++)this.displayed_[h-p]=this.displayed_[this.row_-p],this.displayed_[this.row_-p]={text:"",indent:0,offset:0};h===void 0&&(h=this.row_),this.topRow_=h-this.rollUpRows_+1},Ne.prototype.addFormatting=function(u,h){this.formatting_=this.formatting_.concat(h);var p=h.reduce(function(f,y){return f+"<"+y+">"},"");this[this.mode_](u,p)},Ne.prototype.clearFormatting=function(u){if(this.formatting_.length){var h=this.formatting_.reverse().reduce(function(p,f){return p+"</"+f+">"},"");this.formatting_=[],this[this.mode_](u,h)}},Ne.prototype.popOn=function(u,h){var p=this.nonDisplayed_[this.row_].text;p+=h,this.nonDisplayed_[this.row_].text=p},Ne.prototype.rollUp=function(u,h){var p=this.displayed_[this.row_].text;p+=h,this.displayed_[this.row_].text=p},Ne.prototype.shiftRowsUp_=function(){var u;for(u=0;u<this.topRow_;u++)this.displayed_[u]={text:"",indent:0,offset:0};for(u=this.row_+1;u<Cn+1;u++)this.displayed_[u]={text:"",indent:0,offset:0};for(u=this.topRow_;u<this.row_;u++)this.displayed_[u]=this.displayed_[u+1];this.displayed_[this.row_]={text:"",indent:0,offset:0}},Ne.prototype.paintOn=function(u,h){var p=this.displayed_[this.row_].text;p+=h,this.displayed_[this.row_].text=p};var ie={CaptionStream:nt,Cea608Stream:Ne,Cea708Stream:Ze},_e={H264_STREAM_TYPE:27,ADTS_STREAM_TYPE:15,METADATA_STREAM_TYPE:21},Pe=i,rt=8589934592,Xt=4294967296,It="shared",xt=function(u,h){var p=1;for(u>h&&(p=-1);Math.abs(h-u)>Xt;)u+=p*rt;return u},Si=function(u){var h,p;Si.prototype.init.call(this),this.type_=u||It,this.push=function(f){if(f.type==="metadata"){this.trigger("data",f);return}this.type_!==It&&f.type!==this.type_||(p===void 0&&(p=f.dts),f.dts=xt(f.dts,p),f.pts=xt(f.pts,p),h=f.dts,this.trigger("data",f))},this.flush=function(){p=h,this.trigger("done")},this.endTimeline=function(){this.flush(),this.trigger("endedtimeline")},this.discontinuity=function(){p=void 0,h=void 0},this.reset=function(){this.discontinuity(),this.trigger("reset")}};Si.prototype=new Pe;var Tt={TimestampRolloverStream:Si,handleRollover:xt},Tr=(u,h,p)=>{if(!u)return-1;for(var f=p;f<u.length;f++)if(u[f]===h)return f;return-1},bs={typedArrayIndexOf:Tr},Ar=bs.typedArrayIndexOf,Cs={Utf8:3},Tu=function(u,h,p){var f,y="";for(f=h;f<p;f++)y+="%"+("00"+u[f].toString(16)).slice(-2);return y},Er=function(u,h,p){return decodeURIComponent(Tu(u,h,p))},xr=function(u,h,p){return unescape(Tu(u,h,p))},kr=function(u){return u[0]<<21|u[1]<<14|u[2]<<7|u[3]},_r={APIC:function(u){var h=1,p,f,y="-->";u.data[0]===Cs.Utf8&&(p=Ar(u.data,0,h),!(p<0)&&(u.mimeType=xr(u.data,h,p),h=p+1,u.pictureType=u.data[h],h++,f=Ar(u.data,0,h),!(f<0)&&(u.description=Er(u.data,h,f),h=f+1,u.mimeType===y?u.url=xr(u.data,h,u.data.length):u.pictureData=u.data.subarray(h,u.data.length))))},"T*":function(u){u.data[0]===Cs.Utf8&&(u.value=Er(u.data,1,u.data.length).replace(/\0*$/,""),u.values=u.value.split("\0"))},TXXX:function(u){var h;u.data[0]===Cs.Utf8&&(h=Ar(u.data,0,1),h!==-1&&(u.description=Er(u.data,1,h),u.value=Er(u.data,h+1,u.data.length).replace(/\0*$/,""),u.data=u.value))},"W*":function(u){u.url=xr(u.data,0,u.data.length).replace(/\0.*$/,"")},WXXX:function(u){var h;u.data[0]===Cs.Utf8&&(h=Ar(u.data,0,1),h!==-1&&(u.description=Er(u.data,1,h),u.url=xr(u.data,h+1,u.data.length).replace(/\0.*$/,"")))},PRIV:function(u){var h;for(h=0;h<u.data.length;h++)if(u.data[h]===0){u.owner=xr(u.data,0,h);break}u.privateData=u.data.subarray(h+1),u.data=u.privateData}},Ip=function(u){var h,p,f=10,y=0,T=[];if(!(u.length<10||u[0]!==73||u[1]!==68||u[2]!==51)){y=kr(u.subarray(6,10)),y+=10;var F=u[5]&64;F&&(f+=4,f+=kr(u.subarray(10,14)),y-=kr(u.subarray(16,20)));do{if(h=kr(u.subarray(f+4,f+8)),h<1)break;p=String.fromCharCode(u[f],u[f+1],u[f+2],u[f+3]);var H={id:p,data:u.subarray(f+10,f+h+10)};H.key=H.id,_r[H.id]?_r[H.id](H):H.id[0]==="T"?_r["T*"](H):H.id[0]==="W"&&_r["W*"](H),T.push(H),f+=10,f+=h}while(f<y);return T}},Au={parseId3Frames:Ip,parseSyncSafeInteger:kr,frameParsers:_r},Np=i,Op=_e,sn=Au,Ts;Ts=function(u){var h={descriptor:u&&u.descriptor},p=0,f=[],y=0,T;if(Ts.prototype.init.call(this),this.dispatchType=Op.METADATA_STREAM_TYPE.toString(16),h.descriptor)for(T=0;T<h.descriptor.length;T++)this.dispatchType+=("00"+h.descriptor[T].toString(16)).slice(-2);this.push=function(F){var H,Y,Z,re,me,Oe;if(F.type==="timed-metadata"){if(F.dataAlignmentIndicator&&(y=0,f.length=0),f.length===0&&(F.data.length<10||F.data[0]!==73||F.data[1]!==68||F.data[2]!==51)){this.trigger("log",{level:"warn",message:"Skipping unrecognized metadata packet"});return}if(f.push(F),y+=F.data.byteLength,f.length===1&&(p=sn.parseSyncSafeInteger(F.data.subarray(6,10)),p+=10),!(y<p)){for(H={data:new Uint8Array(p),frames:[],pts:f[0].pts,dts:f[0].dts},me=0;me<p;)H.data.set(f[0].data.subarray(0,p-me),me),me+=f[0].data.byteLength,y-=f[0].data.byteLength,f.shift();Y=10,H.data[5]&64&&(Y+=4,Y+=sn.parseSyncSafeInteger(H.data.subarray(10,14)),p-=sn.parseSyncSafeInteger(H.data.subarray(16,20)));do{if(Z=sn.parseSyncSafeInteger(H.data.subarray(Y+4,Y+8)),Z<1){this.trigger("log",{level:"warn",message:"Malformed ID3 frame encountered. Skipping remaining metadata parsing."});break}if(Oe=String.fromCharCode(H.data[Y],H.data[Y+1],H.data[Y+2],H.data[Y+3]),re={id:Oe,data:H.data.subarray(Y+10,Y+Z+10)},re.key=re.id,sn.frameParsers[re.id]?sn.frameParsers[re.id](re):re.id[0]==="T"?sn.frameParsers["T*"](re):re.id[0]==="W"&&sn.frameParsers["W*"](re),re.owner==="com.apple.streaming.transportStreamTimestamp"){var Ce=re.data,je=(Ce[3]&1)<<30|Ce[4]<<22|Ce[5]<<14|Ce[6]<<6|Ce[7]>>>2;je*=4,je+=Ce[7]&3,re.timeStamp=je,H.pts===void 0&&H.dts===void 0&&(H.pts=re.timeStamp,H.dts=re.timeStamp),this.trigger("timestamp",re)}H.frames.push(re),Y+=10,Y+=Z}while(Y<p);this.trigger("data",H)}}}},Ts.prototype=new Np;var Pp=Ts,Za=i,$a=ie,wi=_e,Mp=Tt.TimestampRolloverStream,As,Sr,Es,Fn=188,eo=71;As=function(){var u=new Uint8Array(Fn),h=0;As.prototype.init.call(this),this.push=function(p){var f=0,y=Fn,T;for(h?(T=new Uint8Array(p.byteLength+h),T.set(u.subarray(0,h)),T.set(p,h),h=0):T=p;y<T.byteLength;){if(T[f]===eo&&T[y]===eo){this.trigger("data",T.subarray(f,y)),f+=Fn,y+=Fn;continue}f++,y++}f<T.byteLength&&(u.set(T.subarray(f),0),h=T.byteLength-f)},this.flush=function(){h===Fn&&u[0]===eo&&(this.trigger("data",u),h=0),this.trigger("done")},this.endTimeline=function(){this.flush(),this.trigger("endedtimeline")},this.reset=function(){h=0,this.trigger("reset")}},As.prototype=new Za,Sr=function(){var u,h,p,f;Sr.prototype.init.call(this),f=this,this.packetsWaitingForPmt=[],this.programMapTable=void 0,u=function(y,T){var F=0;T.payloadUnitStartIndicator&&(F+=y[F]+1),T.type==="pat"?h(y.subarray(F),T):p(y.subarray(F),T)},h=function(y,T){T.section_number=y[7],T.last_section_number=y[8],f.pmtPid=(y[10]&31)<<8|y[11],T.pmtPid=f.pmtPid},p=function(y,T){var F,H,Y,Z;if(y[5]&1){for(f.programMapTable={video:null,audio:null,"timed-metadata":{}},F=(y[1]&15)<<8|y[2],H=3+F-4,Y=(y[10]&15)<<8|y[11],Z=12+Y;Z<H;){var re=y[Z],me=(y[Z+1]&31)<<8|y[Z+2];re===wi.H264_STREAM_TYPE&&f.programMapTable.video===null?f.programMapTable.video=me:re===wi.ADTS_STREAM_TYPE&&f.programMapTable.audio===null?f.programMapTable.audio=me:re===wi.METADATA_STREAM_TYPE&&(f.programMapTable["timed-metadata"][me]=re),Z+=((y[Z+3]&15)<<8|y[Z+4])+5}T.programMapTable=f.programMapTable}},this.push=function(y){var T={},F=4;if(T.payloadUnitStartIndicator=!!(y[1]&64),T.pid=y[1]&31,T.pid<<=8,T.pid|=y[2],(y[3]&48)>>>4>1&&(F+=y[F]+1),T.pid===0)T.type="pat",u(y.subarray(F),T),this.trigger("data",T);else if(T.pid===this.pmtPid)for(T.type="pmt",u(y.subarray(F),T),this.trigger("data",T);this.packetsWaitingForPmt.length;)this.processPes_.apply(this,this.packetsWaitingForPmt.shift());else this.programMapTable===void 0?this.packetsWaitingForPmt.push([y,F,T]):this.processPes_(y,F,T)},this.processPes_=function(y,T,F){F.pid===this.programMapTable.video?F.streamType=wi.H264_STREAM_TYPE:F.pid===this.programMapTable.audio?F.streamType=wi.ADTS_STREAM_TYPE:F.streamType=this.programMapTable["timed-metadata"][F.pid],F.type="pes",F.data=y.subarray(T),this.trigger("data",F)}},Sr.prototype=new Za,Sr.STREAM_TYPES={h264:27,adts:15},Es=function(){var u=this,h=!1,p={data:[],size:0},f={data:[],size:0},y={data:[],size:0},T,F=function(Y,Z){var re;const me=Y[0]<<16|Y[1]<<8|Y[2];Z.data=new Uint8Array,me===1&&(Z.packetLength=6+(Y[4]<<8|Y[5]),Z.dataAlignmentIndicator=(Y[6]&4)!==0,re=Y[7],re&192&&(Z.pts=(Y[9]&14)<<27|(Y[10]&255)<<20|(Y[11]&254)<<12|(Y[12]&255)<<5|(Y[13]&254)>>>3,Z.pts*=4,Z.pts+=(Y[13]&6)>>>1,Z.dts=Z.pts,re&64&&(Z.dts=(Y[14]&14)<<27|(Y[15]&255)<<20|(Y[16]&254)<<12|(Y[17]&255)<<5|(Y[18]&254)>>>3,Z.dts*=4,Z.dts+=(Y[18]&6)>>>1)),Z.data=Y.subarray(9+Y[8]))},H=function(Y,Z,re){var me=new Uint8Array(Y.size),Oe={type:Z},Ce=0,je=0,Ke=!1,Pt;if(!(!Y.data.length||Y.size<9)){for(Oe.trackId=Y.data[0].pid,Ce=0;Ce<Y.data.length;Ce++)Pt=Y.data[Ce],me.set(Pt.data,je),je+=Pt.data.byteLength;F(me,Oe),Ke=Z==="video"||Oe.packetLength<=Y.size,(re||Ke)&&(Y.size=0,Y.data.length=0),Ke&&u.trigger("data",Oe)}};Es.prototype.init.call(this),this.push=function(Y){({pat:function(){},pes:function(){var Z,re;switch(Y.streamType){case wi.H264_STREAM_TYPE:Z=p,re="video";break;case wi.ADTS_STREAM_TYPE:Z=f,re="audio";break;case wi.METADATA_STREAM_TYPE:Z=y,re="timed-metadata";break;default:return}Y.payloadUnitStartIndicator&&H(Z,re,!0),Z.data.push(Y),Z.size+=Y.data.byteLength},pmt:function(){var Z={type:"metadata",tracks:[]};T=Y.programMapTable,T.video!==null&&Z.tracks.push({timelineStartInfo:{baseMediaDecodeTime:0},id:+T.video,codec:"avc",type:"video"}),T.audio!==null&&Z.tracks.push({timelineStartInfo:{baseMediaDecodeTime:0},id:+T.audio,codec:"adts",type:"audio"}),h=!0,u.trigger("data",Z)}})[Y.type]()},this.reset=function(){p.size=0,p.data.length=0,f.size=0,f.data.length=0,this.trigger("reset")},this.flushStreams_=function(){H(p,"video"),H(f,"audio"),H(y,"timed-metadata")},this.flush=function(){if(!h&&T){var Y={type:"metadata",tracks:[]};T.video!==null&&Y.tracks.push({timelineStartInfo:{baseMediaDecodeTime:0},id:+T.video,codec:"avc",type:"video"}),T.audio!==null&&Y.tracks.push({timelineStartInfo:{baseMediaDecodeTime:0},id:+T.audio,codec:"adts",type:"audio"}),u.trigger("data",Y)}h=!1,this.flushStreams_(),this.trigger("done")}},Es.prototype=new Za;var Eu={PAT_PID:0,MP2T_PACKET_LENGTH:Fn,TransportPacketStream:As,TransportParseStream:Sr,ElementaryStream:Es,TimestampRolloverStream:Mp,CaptionStream:$a.CaptionStream,Cea608Stream:$a.Cea608Stream,Cea708Stream:$a.Cea708Stream,MetadataStream:Pp};for(var to in wi)wi.hasOwnProperty(to)&&(Eu[to]=wi[to]);var Lp=Eu,Rp=i,qp=ze.ONE_SECOND_IN_TS,xs,xu=[96e3,88200,64e3,48e3,44100,32e3,24e3,22050,16e3,12e3,11025,8e3,7350];xs=function(u){var h,p=0;xs.prototype.init.call(this),this.skipWarn_=function(f,y){this.trigger("log",{level:"warn",message:`adts skiping bytes ${f} to ${y} in frame ${p} outside syncword`})},this.push=function(f){var y=0,T,F,H,Y,Z;if(u||(p=0),f.type==="audio"){h&&h.length?(H=h,h=new Uint8Array(H.byteLength+f.data.byteLength),h.set(H),h.set(f.data,H.byteLength)):h=f.data;for(var re;y+7<h.length;){if(h[y]!==255||(h[y+1]&246)!==240){typeof re!="number"&&(re=y),y++;continue}if(typeof re=="number"&&(this.skipWarn_(re,y),re=null),F=(~h[y+1]&1)*2,T=(h[y+3]&3)<<11|h[y+4]<<3|(h[y+5]&224)>>5,Y=((h[y+6]&3)+1)*1024,Z=Y*qp/xu[(h[y+2]&60)>>>2],h.byteLength-y<T)break;this.trigger("data",{pts:f.pts+p*Z,dts:f.dts+p*Z,sampleCount:Y,audioobjecttype:(h[y+2]>>>6&3)+1,channelcount:(h[y+2]&1)<<2|(h[y+3]&192)>>>6,samplerate:xu[(h[y+2]&60)>>>2],samplingfrequencyindex:(h[y+2]&60)>>>2,samplesize:16,data:h.subarray(y+7+F,y+T)}),p++,y+=T}typeof re=="number"&&(this.skipWarn_(re,y),re=null),h=h.subarray(y)}},this.flush=function(){p=0,this.trigger("done")},this.reset=function(){h=void 0,this.trigger("reset")},this.endTimeline=function(){h=void 0,this.trigger("endedtimeline")}},xs.prototype=new Rp;var Fp=xs,ku;ku=function(u){var h=u.byteLength,p=0,f=0;this.length=function(){return 8*h},this.bitsAvailable=function(){return 8*h+f},this.loadWord=function(){var y=u.byteLength-h,T=new Uint8Array(4),F=Math.min(4,h);if(F===0)throw new Error("no bytes available");T.set(u.subarray(y,y+F)),p=new DataView(T.buffer).getUint32(0),f=F*8,h-=F},this.skipBits=function(y){var T;f>y?(p<<=y,f-=y):(y-=f,T=Math.floor(y/8),y-=T*8,h-=T,this.loadWord(),p<<=y,f-=y)},this.readBits=function(y){var T=Math.min(f,y),F=p>>>32-T;return f-=T,f>0?p<<=T:h>0&&this.loadWord(),T=y-T,T>0?F<<T|this.readBits(T):F},this.skipLeadingZeros=function(){var y;for(y=0;y<f;++y)if((p&2147483648>>>y)!==0)return p<<=y,f-=y,y;return this.loadWord(),y+this.skipLeadingZeros()},this.skipUnsignedExpGolomb=function(){this.skipBits(1+this.skipLeadingZeros())},this.skipExpGolomb=function(){this.skipBits(1+this.skipLeadingZeros())},this.readUnsignedExpGolomb=function(){var y=this.skipLeadingZeros();return this.readBits(y+1)-1},this.readExpGolomb=function(){var y=this.readUnsignedExpGolomb();return 1&y?1+y>>>1:-1*(y>>>1)},this.readBoolean=function(){return this.readBits(1)===1},this.readUnsignedByte=function(){return this.readBits(8)},this.loadWord()};var Up=ku,_u=i,zp=Up,ks,_s,Su;_s=function(){var u=0,h,p;_s.prototype.init.call(this),this.push=function(f){var y;p?(y=new Uint8Array(p.byteLength+f.data.byteLength),y.set(p),y.set(f.data,p.byteLength),p=y):p=f.data;for(var T=p.byteLength;u<T-3;u++)if(p[u+2]===1){h=u+5;break}for(;h<T;)switch(p[h]){case 0:if(p[h-1]!==0){h+=2;break}else if(p[h-2]!==0){h++;break}u+3!==h-2&&this.trigger("data",p.subarray(u+3,h-2));do h++;while(p[h]!==1&&h<T);u=h-2,h+=3;break;case 1:if(p[h-1]!==0||p[h-2]!==0){h+=3;break}this.trigger("data",p.subarray(u+3,h-2)),u=h-2,h+=3;break;default:h+=3;break}p=p.subarray(u),h-=u,u=0},this.reset=function(){p=null,u=0,this.trigger("reset")},this.flush=function(){p&&p.byteLength>3&&this.trigger("data",p.subarray(u+3)),p=null,u=0,this.trigger("done")},this.endTimeline=function(){this.flush(),this.trigger("endedtimeline")}},_s.prototype=new _u,Su={100:!0,110:!0,122:!0,244:!0,44:!0,83:!0,86:!0,118:!0,128:!0,138:!0,139:!0,134:!0},ks=function(){var u=new _s,h,p,f,y,T,F,H;ks.prototype.init.call(this),h=this,this.push=function(Y){Y.type==="video"&&(p=Y.trackId,f=Y.pts,y=Y.dts,u.push(Y))},u.on("data",function(Y){var Z={trackId:p,pts:f,dts:y,data:Y,nalUnitTypeCode:Y[0]&31};switch(Z.nalUnitTypeCode){case 5:Z.nalUnitType="slice_layer_without_partitioning_rbsp_idr";break;case 6:Z.nalUnitType="sei_rbsp",Z.escapedRBSP=T(Y.subarray(1));break;case 7:Z.nalUnitType="seq_parameter_set_rbsp",Z.escapedRBSP=T(Y.subarray(1)),Z.config=F(Z.escapedRBSP);break;case 8:Z.nalUnitType="pic_parameter_set_rbsp";break;case 9:Z.nalUnitType="access_unit_delimiter_rbsp";break}h.trigger("data",Z)}),u.on("done",function(){h.trigger("done")}),u.on("partialdone",function(){h.trigger("partialdone")}),u.on("reset",function(){h.trigger("reset")}),u.on("endedtimeline",function(){h.trigger("endedtimeline")}),this.flush=function(){u.flush()},this.partialFlush=function(){u.partialFlush()},this.reset=function(){u.reset()},this.endTimeline=function(){u.endTimeline()},H=function(Y,Z){var re=8,me=8,Oe,Ce;for(Oe=0;Oe<Y;Oe++)me!==0&&(Ce=Z.readExpGolomb(),me=(re+Ce+256)%256),re=me===0?re:me},T=function(Y){for(var Z=Y.byteLength,re=[],me=1,Oe,Ce;me<Z-2;)Y[me]===0&&Y[me+1]===0&&Y[me+2]===3?(re.push(me+2),me+=2):me++;if(re.length===0)return Y;Oe=Z-re.length,Ce=new Uint8Array(Oe);var je=0;for(me=0;me<Oe;je++,me++)je===re[0]&&(je++,re.shift()),Ce[me]=Y[je];return Ce},F=function(Y){var Z=0,re=0,me=0,Oe=0,Ce,je,Ke,Pt,di,on,Or,Pr,Mr,Lr,Rs,mt=[1,1],Rr,Bi;if(Ce=new zp(Y),je=Ce.readUnsignedByte(),Pt=Ce.readUnsignedByte(),Ke=Ce.readUnsignedByte(),Ce.skipUnsignedExpGolomb(),Su[je]&&(di=Ce.readUnsignedExpGolomb(),di===3&&Ce.skipBits(1),Ce.skipUnsignedExpGolomb(),Ce.skipUnsignedExpGolomb(),Ce.skipBits(1),Ce.readBoolean()))for(Rs=di!==3?8:12,Bi=0;Bi<Rs;Bi++)Ce.readBoolean()&&(Bi<6?H(16,Ce):H(64,Ce));if(Ce.skipUnsignedExpGolomb(),on=Ce.readUnsignedExpGolomb(),on===0)Ce.readUnsignedExpGolomb();else if(on===1)for(Ce.skipBits(1),Ce.skipExpGolomb(),Ce.skipExpGolomb(),Or=Ce.readUnsignedExpGolomb(),Bi=0;Bi<Or;Bi++)Ce.skipExpGolomb();if(Ce.skipUnsignedExpGolomb(),Ce.skipBits(1),Pr=Ce.readUnsignedExpGolomb(),Mr=Ce.readUnsignedExpGolomb(),Lr=Ce.readBits(1),Lr===0&&Ce.skipBits(1),Ce.skipBits(1),Ce.readBoolean()&&(Z=Ce.readUnsignedExpGolomb(),re=Ce.readUnsignedExpGolomb(),me=Ce.readUnsignedExpGolomb(),Oe=Ce.readUnsignedExpGolomb()),Ce.readBoolean()&&Ce.readBoolean()){switch(Rr=Ce.readUnsignedByte(),Rr){case 1:mt=[1,1];break;case 2:mt=[12,11];break;case 3:mt=[10,11];break;case 4:mt=[16,11];break;case 5:mt=[40,33];break;case 6:mt=[24,11];break;case 7:mt=[20,11];break;case 8:mt=[32,11];break;case 9:mt=[80,33];break;case 10:mt=[18,11];break;case 11:mt=[15,11];break;case 12:mt=[64,33];break;case 13:mt=[160,99];break;case 14:mt=[4,3];break;case 15:mt=[3,2];break;case 16:mt=[2,1];break;case 255:{mt=[Ce.readUnsignedByte()<<8|Ce.readUnsignedByte(),Ce.readUnsignedByte()<<8|Ce.readUnsignedByte()];break}}mt&&mt[0]/mt[1]}return{profileIdc:je,levelIdc:Ke,profileCompatibility:Pt,width:(Pr+1)*16-Z*2-re*2,height:(2-Lr)*(Mr+1)*16-me*2-Oe*2,sarRatio:mt}}},ks.prototype=new _u;var Hp={H264Stream:ks},jp=[96e3,88200,64e3,48e3,44100,32e3,24e3,22050,16e3,12e3,11025,8e3,7350],wu=function(u,h){var p=u[h+6]<<21|u[h+7]<<14|u[h+8]<<7|u[h+9],f=u[h+5],y=(f&16)>>4;return p=p>=0?p:0,y?p+20:p+10},Du=function(u,h){return u.length-h<10||u[h]!==73||u[h+1]!==68||u[h+2]!==51?h:(h+=wu(u,h),Du(u,h))},Xp=function(u){var h=Du(u,0);return u.length>=h+2&&(u[h]&255)===255&&(u[h+1]&240)===240&&(u[h+1]&22)===16},Bu=function(u){return u[0]<<21|u[1]<<14|u[2]<<7|u[3]},Gp=function(u,h,p){var f,y="";for(f=h;f<p;f++)y+="%"+("00"+u[f].toString(16)).slice(-2);return y},Qp=function(u,h,p){return unescape(Gp(u,h,p))},Yp=function(u,h){var p=(u[h+5]&224)>>5,f=u[h+4]<<3,y=u[h+3]&6144;return y|f|p},Kp=function(u,h){return u[h]===73&&u[h+1]===68&&u[h+2]===51?"timed-metadata":u[h]&!0&&(u[h+1]&240)===240?"audio":null},Wp=function(u){for(var h=0;h+5<u.length;){if(u[h]!==255||(u[h+1]&246)!==240){h++;continue}return jp[(u[h+2]&60)>>>2]}return null},Jp=function(u){var h,p,f,y;h=10,u[5]&64&&(h+=4,h+=Bu(u.subarray(10,14)));do{if(p=Bu(u.subarray(h+4,h+8)),p<1)return null;if(y=String.fromCharCode(u[h],u[h+1],u[h+2],u[h+3]),y==="PRIV"){f=u.subarray(h+10,h+p+10);for(var T=0;T<f.byteLength;T++)if(f[T]===0){var F=Qp(f,0,T);if(F==="com.apple.streaming.transportStreamTimestamp"){var H=f.subarray(T+1),Y=(H[3]&1)<<30|H[4]<<22|H[5]<<14|H[6]<<6|H[7]>>>2;return Y*=4,Y+=H[7]&3,Y}break}}h+=10,h+=p}while(h<u.byteLength);return null},io={isLikelyAacData:Xp,parseId3TagSize:wu,parseAdtsSize:Yp,parseType:Kp,parseSampleRate:Wp,parseAacTimestamp:Jp},Zp=i,Vu=io,Ss;Ss=function(){var u=new Uint8Array,h=0;Ss.prototype.init.call(this),this.setTimestamp=function(p){h=p},this.push=function(p){var f=0,y=0,T,F,H,Y;for(u.length?(Y=u.length,u=new Uint8Array(p.byteLength+Y),u.set(u.subarray(0,Y)),u.set(p,Y)):u=p;u.length-y>=3;){if(u[y]===73&&u[y+1]===68&&u[y+2]===51){if(u.length-y<10||(f=Vu.parseId3TagSize(u,y),y+f>u.length))break;F={type:"timed-metadata",data:u.subarray(y,y+f)},this.trigger("data",F),y+=f;continue}else if((u[y]&255)===255&&(u[y+1]&240)===240){if(u.length-y<7||(f=Vu.parseAdtsSize(u,y),y+f>u.length))break;H={type:"audio",data:u.subarray(y,y+f),pts:h,dts:h},this.trigger("data",H),y+=f;continue}y++}T=u.length-y,T>0?u=u.subarray(y):u=new Uint8Array},this.reset=function(){u=new Uint8Array,this.trigger("reset")},this.endTimeline=function(){u=new Uint8Array,this.trigger("endedtimeline")}},Ss.prototype=new Zp;var $p=Ss,em=["audioobjecttype","channelcount","samplerate","samplingfrequencyindex","samplesize"],tm=em,im=["width","height","profileIdc","levelIdc","profileCompatibility","sarRatio"],nm=im,ws=i,wr=ce,Dr=ct,Ds=vi,Di=$,Ki=Lp,Bs=ze,Iu=Fp,rm=Hp.H264Stream,sm=$p,am=io.isLikelyAacData,om=ze.ONE_SECOND_IN_TS,Nu=tm,Ou=nm,Vs,Br,Is,Tn,lm=function(u,h){h.stream=u,this.trigger("log",h)},Pu=function(u,h){for(var p=Object.keys(h),f=0;f<p.length;f++){var y=p[f];y==="headOfPipeline"||!h[y].on||h[y].on("log",lm.bind(u,y))}},Mu=function(u,h){var p;if(u.length!==h.length)return!1;for(p=0;p<u.length;p++)if(u[p]!==h[p])return!1;return!0},Lu=function(u,h,p,f,y,T){var F=p-h,H=f-h,Y=y-p;return{start:{dts:u,pts:u+F},end:{dts:u+H,pts:u+Y},prependedContentDuration:T,baseMediaDecodeTime:u}};Br=function(u,h){var p=[],f,y=0,T=0,F=1/0;h=h||{},f=h.firstSequenceNumber||0,Br.prototype.init.call(this),this.push=function(H){Di.collectDtsInfo(u,H),u&&Nu.forEach(function(Y){u[Y]=H[Y]}),p.push(H)},this.setEarliestDts=function(H){y=H},this.setVideoBaseMediaDecodeTime=function(H){F=H},this.setAudioAppendStart=function(H){T=H},this.flush=function(){var H,Y,Z,re,me,Oe,Ce;if(p.length===0){this.trigger("done","AudioSegmentStream");return}H=Ds.trimAdtsFramesByEarliestDts(p,u,y),u.baseMediaDecodeTime=Di.calculateTrackBaseMediaDecodeTime(u,h.keepOriginalTimestamps),Ce=Ds.prefixWithSilence(u,H,T,F),u.samples=Ds.generateSampleTable(H),Z=wr.mdat(Ds.concatenateFrameData(H)),p=[],Y=wr.moof(f,[u]),re=new Uint8Array(Y.byteLength+Z.byteLength),f++,re.set(Y),re.set(Z,Y.byteLength),Di.clearDtsInfo(u),me=Math.ceil(om*1024/u.samplerate),H.length&&(Oe=H.length*me,this.trigger("segmentTimingInfo",Lu(Bs.audioTsToVideoTs(u.baseMediaDecodeTime,u.samplerate),H[0].dts,H[0].pts,H[0].dts+Oe,H[0].pts+Oe,Ce||0)),this.trigger("timingInfo",{start:H[0].pts,end:H[0].pts+Oe})),this.trigger("data",{track:u,boxes:re}),this.trigger("done","AudioSegmentStream")},this.reset=function(){Di.clearDtsInfo(u),p=[],this.trigger("reset")}},Br.prototype=new ws,Vs=function(u,h){var p,f=[],y=[],T,F;h=h||{},p=h.firstSequenceNumber||0,Vs.prototype.init.call(this),delete u.minPTS,this.gopCache_=[],this.push=function(H){Di.collectDtsInfo(u,H),H.nalUnitType==="seq_parameter_set_rbsp"&&!T&&(T=H.config,u.sps=[H.data],Ou.forEach(function(Y){u[Y]=T[Y]},this)),H.nalUnitType==="pic_parameter_set_rbsp"&&!F&&(F=H.data,u.pps=[H.data]),f.push(H)},this.flush=function(){for(var H,Y,Z,re,me,Oe,Ce=0,je,Ke;f.length&&f[0].nalUnitType!=="access_unit_delimiter_rbsp";)f.shift();if(f.length===0){this.resetStream_(),this.trigger("done","VideoSegmentStream");return}if(H=Dr.groupNalsIntoFrames(f),Z=Dr.groupFramesIntoGops(H),Z[0][0].keyFrame||(Y=this.getGopForFusion_(f[0],u),Y?(Ce=Y.duration,Z.unshift(Y),Z.byteLength+=Y.byteLength,Z.nalCount+=Y.nalCount,Z.pts=Y.pts,Z.dts=Y.dts,Z.duration+=Y.duration):Z=Dr.extendFirstKeyFrame(Z)),y.length){var Pt;if(h.alignGopsAtEnd?Pt=this.alignGopsAtEnd_(Z):Pt=this.alignGopsAtStart_(Z),!Pt){this.gopCache_.unshift({gop:Z.pop(),pps:u.pps,sps:u.sps}),this.gopCache_.length=Math.min(6,this.gopCache_.length),f=[],this.resetStream_(),this.trigger("done","VideoSegmentStream");return}Di.clearDtsInfo(u),Z=Pt}Di.collectDtsInfo(u,Z),u.samples=Dr.generateSampleTable(Z),me=wr.mdat(Dr.concatenateNalData(Z)),u.baseMediaDecodeTime=Di.calculateTrackBaseMediaDecodeTime(u,h.keepOriginalTimestamps),this.trigger("processedGopsInfo",Z.map(function(di){return{pts:di.pts,dts:di.dts,byteLength:di.byteLength}})),je=Z[0],Ke=Z[Z.length-1],this.trigger("segmentTimingInfo",Lu(u.baseMediaDecodeTime,je.dts,je.pts,Ke.dts+Ke.duration,Ke.pts+Ke.duration,Ce)),this.trigger("timingInfo",{start:Z[0].pts,end:Z[Z.length-1].pts+Z[Z.length-1].duration}),this.gopCache_.unshift({gop:Z.pop(),pps:u.pps,sps:u.sps}),this.gopCache_.length=Math.min(6,this.gopCache_.length),f=[],this.trigger("baseMediaDecodeTime",u.baseMediaDecodeTime),this.trigger("timelineStartInfo",u.timelineStartInfo),re=wr.moof(p,[u]),Oe=new Uint8Array(re.byteLength+me.byteLength),p++,Oe.set(re),Oe.set(me,re.byteLength),this.trigger("data",{track:u,boxes:Oe}),this.resetStream_(),this.trigger("done","VideoSegmentStream")},this.reset=function(){this.resetStream_(),f=[],this.gopCache_.length=0,y.length=0,this.trigger("reset")},this.resetStream_=function(){Di.clearDtsInfo(u),T=void 0,F=void 0},this.getGopForFusion_=function(H){var Y=45e3,Z=1/0,re,me,Oe,Ce,je;for(je=0;je<this.gopCache_.length;je++)Ce=this.gopCache_[je],Oe=Ce.gop,!(!(u.pps&&Mu(u.pps[0],Ce.pps[0]))||!(u.sps&&Mu(u.sps[0],Ce.sps[0])))&&(Oe.dts<u.timelineStartInfo.dts||(re=H.dts-Oe.dts-Oe.duration,re>=-1e4&&re<=Y&&(!me||Z>re)&&(me=Ce,Z=re)));return me?me.gop:null},this.alignGopsAtStart_=function(H){var Y,Z,re,me,Oe,Ce,je,Ke;for(Oe=H.byteLength,Ce=H.nalCount,je=H.duration,Y=Z=0;Y<y.length&&Z<H.length&&(re=y[Y],me=H[Z],re.pts!==me.pts);){if(me.pts>re.pts){Y++;continue}Z++,Oe-=me.byteLength,Ce-=me.nalCount,je-=me.duration}return Z===0?H:Z===H.length?null:(Ke=H.slice(Z),Ke.byteLength=Oe,Ke.duration=je,Ke.nalCount=Ce,Ke.pts=Ke[0].pts,Ke.dts=Ke[0].dts,Ke)},this.alignGopsAtEnd_=function(H){var Y,Z,re,me,Oe,Ce;for(Y=y.length-1,Z=H.length-1,Oe=null,Ce=!1;Y>=0&&Z>=0;){if(re=y[Y],me=H[Z],re.pts===me.pts){Ce=!0;break}if(re.pts>me.pts){Y--;continue}Y===y.length-1&&(Oe=Z),Z--}if(!Ce&&Oe===null)return null;var je;if(Ce?je=Z:je=Oe,je===0)return H;var Ke=H.slice(je),Pt=Ke.reduce(function(di,on){return di.byteLength+=on.byteLength,di.duration+=on.duration,di.nalCount+=on.nalCount,di},{byteLength:0,duration:0,nalCount:0});return Ke.byteLength=Pt.byteLength,Ke.duration=Pt.duration,Ke.nalCount=Pt.nalCount,Ke.pts=Ke[0].pts,Ke.dts=Ke[0].dts,Ke},this.alignGopsWith=function(H){y=H}},Vs.prototype=new ws,Tn=function(u,h){this.numberOfTracks=0,this.metadataStream=h,u=u||{},typeof u.remux<"u"?this.remuxTracks=!!u.remux:this.remuxTracks=!0,typeof u.keepOriginalTimestamps=="boolean"?this.keepOriginalTimestamps=u.keepOriginalTimestamps:this.keepOriginalTimestamps=!1,this.pendingTracks=[],this.videoTrack=null,this.pendingBoxes=[],this.pendingCaptions=[],this.pendingMetadata=[],this.pendingBytes=0,this.emittedTracks=0,Tn.prototype.init.call(this),this.push=function(p){if(p.content||p.text)return this.pendingCaptions.push(p);if(p.frames)return this.pendingMetadata.push(p);this.pendingTracks.push(p.track),this.pendingBytes+=p.boxes.byteLength,p.track.type==="video"&&(this.videoTrack=p.track,this.pendingBoxes.push(p.boxes)),p.track.type==="audio"&&(this.audioTrack=p.track,this.pendingBoxes.unshift(p.boxes))}},Tn.prototype=new ws,Tn.prototype.flush=function(u){var h=0,p={captions:[],captionStreams:{},metadata:[],info:{}},f,y,T,F=0,H;if(this.pendingTracks.length<this.numberOfTracks){if(u!=="VideoSegmentStream"&&u!=="AudioSegmentStream")return;if(this.remuxTracks)return;if(this.pendingTracks.length===0){this.emittedTracks++,this.emittedTracks>=this.numberOfTracks&&(this.trigger("done"),this.emittedTracks=0);return}}if(this.videoTrack?(F=this.videoTrack.timelineStartInfo.pts,Ou.forEach(function(Y){p.info[Y]=this.videoTrack[Y]},this)):this.audioTrack&&(F=this.audioTrack.timelineStartInfo.pts,Nu.forEach(function(Y){p.info[Y]=this.audioTrack[Y]},this)),this.videoTrack||this.audioTrack){for(this.pendingTracks.length===1?p.type=this.pendingTracks[0].type:p.type="combined",this.emittedTracks+=this.pendingTracks.length,T=wr.initSegment(this.pendingTracks),p.initSegment=new Uint8Array(T.byteLength),p.initSegment.set(T),p.data=new Uint8Array(this.pendingBytes),H=0;H<this.pendingBoxes.length;H++)p.data.set(this.pendingBoxes[H],h),h+=this.pendingBoxes[H].byteLength;for(H=0;H<this.pendingCaptions.length;H++)f=this.pendingCaptions[H],f.startTime=Bs.metadataTsToSeconds(f.startPts,F,this.keepOriginalTimestamps),f.endTime=Bs.metadataTsToSeconds(f.endPts,F,this.keepOriginalTimestamps),p.captionStreams[f.stream]=!0,p.captions.push(f);for(H=0;H<this.pendingMetadata.length;H++)y=this.pendingMetadata[H],y.cueTime=Bs.metadataTsToSeconds(y.pts,F,this.keepOriginalTimestamps),p.metadata.push(y);for(p.metadata.dispatchType=this.metadataStream.dispatchType,this.pendingTracks.length=0,this.videoTrack=null,this.pendingBoxes.length=0,this.pendingCaptions.length=0,this.pendingBytes=0,this.pendingMetadata.length=0,this.trigger("data",p),H=0;H<p.captions.length;H++)f=p.captions[H],this.trigger("caption",f);for(H=0;H<p.metadata.length;H++)y=p.metadata[H],this.trigger("id3Frame",y)}this.emittedTracks>=this.numberOfTracks&&(this.trigger("done"),this.emittedTracks=0)},Tn.prototype.setRemux=function(u){this.remuxTracks=u},Is=function(u){var h=this,p=!0,f,y;Is.prototype.init.call(this),u=u||{},this.baseMediaDecodeTime=u.baseMediaDecodeTime||0,this.transmuxPipeline_={},this.setupAacPipeline=function(){var T={};this.transmuxPipeline_=T,T.type="aac",T.metadataStream=new Ki.MetadataStream,T.aacStream=new sm,T.audioTimestampRolloverStream=new Ki.TimestampRolloverStream("audio"),T.timedMetadataTimestampRolloverStream=new Ki.TimestampRolloverStream("timed-metadata"),T.adtsStream=new Iu,T.coalesceStream=new Tn(u,T.metadataStream),T.headOfPipeline=T.aacStream,T.aacStream.pipe(T.audioTimestampRolloverStream).pipe(T.adtsStream),T.aacStream.pipe(T.timedMetadataTimestampRolloverStream).pipe(T.metadataStream).pipe(T.coalesceStream),T.metadataStream.on("timestamp",function(F){T.aacStream.setTimestamp(F.timeStamp)}),T.aacStream.on("data",function(F){F.type!=="timed-metadata"&&F.type!=="audio"||T.audioSegmentStream||(y=y||{timelineStartInfo:{baseMediaDecodeTime:h.baseMediaDecodeTime},codec:"adts",type:"audio"},T.coalesceStream.numberOfTracks++,T.audioSegmentStream=new Br(y,u),T.audioSegmentStream.on("log",h.getLogTrigger_("audioSegmentStream")),T.audioSegmentStream.on("timingInfo",h.trigger.bind(h,"audioTimingInfo")),T.adtsStream.pipe(T.audioSegmentStream).pipe(T.coalesceStream),h.trigger("trackinfo",{hasAudio:!!y,hasVideo:!!f}))}),T.coalesceStream.on("data",this.trigger.bind(this,"data")),T.coalesceStream.on("done",this.trigger.bind(this,"done")),Pu(this,T)},this.setupTsPipeline=function(){var T={};this.transmuxPipeline_=T,T.type="ts",T.metadataStream=new Ki.MetadataStream,T.packetStream=new Ki.TransportPacketStream,T.parseStream=new Ki.TransportParseStream,T.elementaryStream=new Ki.ElementaryStream,T.timestampRolloverStream=new Ki.TimestampRolloverStream,T.adtsStream=new Iu,T.h264Stream=new rm,T.captionStream=new Ki.CaptionStream(u),T.coalesceStream=new Tn(u,T.metadataStream),T.headOfPipeline=T.packetStream,T.packetStream.pipe(T.parseStream).pipe(T.elementaryStream).pipe(T.timestampRolloverStream),T.timestampRolloverStream.pipe(T.h264Stream),T.timestampRolloverStream.pipe(T.adtsStream),T.timestampRolloverStream.pipe(T.metadataStream).pipe(T.coalesceStream),T.h264Stream.pipe(T.captionStream).pipe(T.coalesceStream),T.elementaryStream.on("data",function(F){var H;if(F.type==="metadata"){for(H=F.tracks.length;H--;)!f&&F.tracks[H].type==="video"?(f=F.tracks[H],f.timelineStartInfo.baseMediaDecodeTime=h.baseMediaDecodeTime):!y&&F.tracks[H].type==="audio"&&(y=F.tracks[H],y.timelineStartInfo.baseMediaDecodeTime=h.baseMediaDecodeTime);f&&!T.videoSegmentStream&&(T.coalesceStream.numberOfTracks++,T.videoSegmentStream=new Vs(f,u),T.videoSegmentStream.on("log",h.getLogTrigger_("videoSegmentStream")),T.videoSegmentStream.on("timelineStartInfo",function(Y){y&&!u.keepOriginalTimestamps&&(y.timelineStartInfo=Y,T.audioSegmentStream.setEarliestDts(Y.dts-h.baseMediaDecodeTime))}),T.videoSegmentStream.on("processedGopsInfo",h.trigger.bind(h,"gopInfo")),T.videoSegmentStream.on("segmentTimingInfo",h.trigger.bind(h,"videoSegmentTimingInfo")),T.videoSegmentStream.on("baseMediaDecodeTime",function(Y){y&&T.audioSegmentStream.setVideoBaseMediaDecodeTime(Y)}),T.videoSegmentStream.on("timingInfo",h.trigger.bind(h,"videoTimingInfo")),T.h264Stream.pipe(T.videoSegmentStream).pipe(T.coalesceStream)),y&&!T.audioSegmentStream&&(T.coalesceStream.numberOfTracks++,T.audioSegmentStream=new Br(y,u),T.audioSegmentStream.on("log",h.getLogTrigger_("audioSegmentStream")),T.audioSegmentStream.on("timingInfo",h.trigger.bind(h,"audioTimingInfo")),T.audioSegmentStream.on("segmentTimingInfo",h.trigger.bind(h,"audioSegmentTimingInfo")),T.adtsStream.pipe(T.audioSegmentStream).pipe(T.coalesceStream)),h.trigger("trackinfo",{hasAudio:!!y,hasVideo:!!f})}}),T.coalesceStream.on("data",this.trigger.bind(this,"data")),T.coalesceStream.on("id3Frame",function(F){F.dispatchType=T.metadataStream.dispatchType,h.trigger("id3Frame",F)}),T.coalesceStream.on("caption",this.trigger.bind(this,"caption")),T.coalesceStream.on("done",this.trigger.bind(this,"done")),Pu(this,T)},this.setBaseMediaDecodeTime=function(T){var F=this.transmuxPipeline_;u.keepOriginalTimestamps||(this.baseMediaDecodeTime=T),y&&(y.timelineStartInfo.dts=void 0,y.timelineStartInfo.pts=void 0,Di.clearDtsInfo(y),F.audioTimestampRolloverStream&&F.audioTimestampRolloverStream.discontinuity()),f&&(F.videoSegmentStream&&(F.videoSegmentStream.gopCache_=[]),f.timelineStartInfo.dts=void 0,f.timelineStartInfo.pts=void 0,Di.clearDtsInfo(f),F.captionStream.reset()),F.timestampRolloverStream&&F.timestampRolloverStream.discontinuity()},this.setAudioAppendStart=function(T){y&&this.transmuxPipeline_.audioSegmentStream.setAudioAppendStart(T)},this.setRemux=function(T){var F=this.transmuxPipeline_;u.remux=T,F&&F.coalesceStream&&F.coalesceStream.setRemux(T)},this.alignGopsWith=function(T){f&&this.transmuxPipeline_.videoSegmentStream&&this.transmuxPipeline_.videoSegmentStream.alignGopsWith(T)},this.getLogTrigger_=function(T){var F=this;return function(H){H.stream=T,F.trigger("log",H)}},this.push=function(T){if(p){var F=am(T);F&&this.transmuxPipeline_.type!=="aac"?this.setupAacPipeline():!F&&this.transmuxPipeline_.type!=="ts"&&this.setupTsPipeline(),p=!1}this.transmuxPipeline_.headOfPipeline.push(T)},this.flush=function(){p=!0,this.transmuxPipeline_.headOfPipeline.flush()},this.endTimeline=function(){this.transmuxPipeline_.headOfPipeline.endTimeline()},this.reset=function(){this.transmuxPipeline_.headOfPipeline&&this.transmuxPipeline_.headOfPipeline.reset()},this.resetCaptions=function(){this.transmuxPipeline_.captionStream&&this.transmuxPipeline_.captionStream.reset()}},Is.prototype=new ws;var um={Transmuxer:Is},cm=function(u){return u>>>0},dm=function(u){return("00"+u.toString(16)).slice(-2)},Ns={toUnsigned:cm,toHexString:dm},hm=function(u){var h="";return h+=String.fromCharCode(u[0]),h+=String.fromCharCode(u[1]),h+=String.fromCharCode(u[2]),h+=String.fromCharCode(u[3]),h},Ru=hm,fm=Ns.toUnsigned,pm=Ru,qu=function(u,h){var p=[],f,y,T,F,H;if(!h.length)return null;for(f=0;f<u.byteLength;)y=fm(u[f]<<24|u[f+1]<<16|u[f+2]<<8|u[f+3]),T=pm(u.subarray(f+4,f+8)),F=y>1?f+y:u.byteLength,T===h[0]&&(h.length===1?p.push(u.subarray(f+8,F)):(H=qu(u.subarray(f+8,F),h.slice(1)),H.length&&(p=p.concat(H)))),f=F;return p},no=qu,mm=Ns.toUnsigned,gm=a.getUint64,vm=function(u){var h={version:u[0],flags:new Uint8Array(u.subarray(1,4))};return h.version===1?h.baseMediaDecodeTime=gm(u.subarray(4)):h.baseMediaDecodeTime=mm(u[4]<<24|u[5]<<16|u[6]<<8|u[7]),h},ro=vm,ym=function(u){var h=new DataView(u.buffer,u.byteOffset,u.byteLength),p={version:u[0],flags:new Uint8Array(u.subarray(1,4)),trackId:h.getUint32(4)},f=p.flags[2]&1,y=p.flags[2]&2,T=p.flags[2]&8,F=p.flags[2]&16,H=p.flags[2]&32,Y=p.flags[0]&65536,Z=p.flags[0]&131072,re;return re=8,f&&(re+=4,p.baseDataOffset=h.getUint32(12),re+=4),y&&(p.sampleDescriptionIndex=h.getUint32(re),re+=4),T&&(p.defaultSampleDuration=h.getUint32(re),re+=4),F&&(p.defaultSampleSize=h.getUint32(re),re+=4),H&&(p.defaultSampleFlags=h.getUint32(re)),Y&&(p.durationIsEmpty=!0),!f&&Z&&(p.baseDataOffsetIsMoof=!0),p},Fu=ym,bm=function(u){return{isLeading:(u[0]&12)>>>2,dependsOn:u[0]&3,isDependedOn:(u[1]&192)>>>6,hasRedundancy:(u[1]&48)>>>4,paddingValue:(u[1]&14)>>>1,isNonSyncSample:u[1]&1,degradationPriority:u[2]<<8|u[3]}},Cm=bm,Uu=Cm,Tm=function(u){var h={version:u[0],flags:new Uint8Array(u.subarray(1,4)),samples:[]},p=new DataView(u.buffer,u.byteOffset,u.byteLength),f=h.flags[2]&1,y=h.flags[2]&4,T=h.flags[1]&1,F=h.flags[1]&2,H=h.flags[1]&4,Y=h.flags[1]&8,Z=p.getUint32(4),re=8,me;for(f&&(h.dataOffset=p.getInt32(re),re+=4),y&&Z&&(me={flags:Uu(u.subarray(re,re+4))},re+=4,T&&(me.duration=p.getUint32(re),re+=4),F&&(me.size=p.getUint32(re),re+=4),Y&&(h.version===1?me.compositionTimeOffset=p.getInt32(re):me.compositionTimeOffset=p.getUint32(re),re+=4),h.samples.push(me),Z--);Z--;)me={},T&&(me.duration=p.getUint32(re),re+=4),F&&(me.size=p.getUint32(re),re+=4),H&&(me.flags=Uu(u.subarray(re,re+4)),re+=4),Y&&(h.version===1?me.compositionTimeOffset=p.getInt32(re):me.compositionTimeOffset=p.getUint32(re),re+=4),h.samples.push(me);return h},zu=Tm,Hu={tfdt:ro,trun:zu},ju={parseTfdt:Hu.tfdt,parseTrun:Hu.trun},Am=function(u){for(var h=0,p=String.fromCharCode(u[h]),f="";p!=="\0";)f+=p,h++,p=String.fromCharCode(u[h]);return f+=p,f},Em={uint8ToCString:Am},Os=Em.uint8ToCString,xm=a.getUint64,km=function(u){var h=4,p=u[0],f,y,T,F,H,Y,Z,re;if(p===0){f=Os(u.subarray(h)),h+=f.length,y=Os(u.subarray(h)),h+=y.length;var me=new DataView(u.buffer);T=me.getUint32(h),h+=4,H=me.getUint32(h),h+=4,Y=me.getUint32(h),h+=4,Z=me.getUint32(h),h+=4}else if(p===1){var me=new DataView(u.buffer);T=me.getUint32(h),h+=4,F=xm(u.subarray(h)),h+=8,Y=me.getUint32(h),h+=4,Z=me.getUint32(h),h+=4,f=Os(u.subarray(h)),h+=f.length,y=Os(u.subarray(h)),h+=y.length}re=new Uint8Array(u.subarray(h,u.byteLength));var Oe={scheme_id_uri:f,value:y,timescale:T||1,presentation_time:F,presentation_time_delta:H,event_duration:Y,id:Z,message_data:re};return Sm(p,Oe)?Oe:void 0},_m=function(u,h,p,f){return u||u===0?u/h:f+p/h},Sm=function(u,h){var p=h.scheme_id_uri!=="\0",f=u===0&&Xu(h.presentation_time_delta)&&p,y=u===1&&Xu(h.presentation_time)&&p;return!(u>1)&&f||y},Xu=function(u){return u!==void 0||u!==null},wm={parseEmsgBox:km,scaleTime:_m},Vr;typeof window<"u"?Vr=window:typeof r<"u"?Vr=r:typeof self<"u"?Vr=self:Vr={};var Gu=Vr,Ps=Ns.toUnsigned,Ir=Ns.toHexString,kt=no,Un=Ru,so=wm,Dm=Fu,Bm=zu,Vm=ro,Im=a.getUint64,Qu,Yu,Ku,Wu,Ju,ao,Zu,oo=Gu,Nm=Au.parseId3Frames;Qu=function(u){var h={},p=kt(u,["moov","trak"]);return p.reduce(function(f,y){var T,F,H,Y,Z;return T=kt(y,["tkhd"])[0],!T||(F=T[0],H=F===0?12:20,Y=Ps(T[H]<<24|T[H+1]<<16|T[H+2]<<8|T[H+3]),Z=kt(y,["mdia","mdhd"])[0],!Z)?null:(F=Z[0],H=F===0?12:20,f[Y]=Ps(Z[H]<<24|Z[H+1]<<16|Z[H+2]<<8|Z[H+3]),f)},h)},Yu=function(u,h){var p;p=kt(h,["moof","traf"]);var f=p.reduce(function(y,T){var F=kt(T,["tfhd"])[0],H=Ps(F[4]<<24|F[5]<<16|F[6]<<8|F[7]),Y=u[H]||9e4,Z=kt(T,["tfdt"])[0],re=new DataView(Z.buffer,Z.byteOffset,Z.byteLength),me;Z[0]===1?me=Im(Z.subarray(4,12)):me=re.getUint32(4);let Oe;return typeof me=="bigint"?Oe=me/oo.BigInt(Y):typeof me=="number"&&!isNaN(me)&&(Oe=me/Y),Oe<Number.MAX_SAFE_INTEGER&&(Oe=Number(Oe)),Oe<y&&(y=Oe),y},1/0);return typeof f=="bigint"||isFinite(f)?f:0},Ku=function(u,h){var p=kt(h,["moof","traf"]),f=0,y=0,T;if(p&&p.length){var F=kt(p[0],["tfhd"])[0],H=kt(p[0],["trun"])[0],Y=kt(p[0],["tfdt"])[0];if(F){var Z=Dm(F);T=Z.trackId}if(Y){var re=Vm(Y);f=re.baseMediaDecodeTime}if(H){var me=Bm(H);me.samples&&me.samples.length&&(y=me.samples[0].compositionTimeOffset||0)}}var Oe=u[T]||9e4;typeof f=="bigint"&&(y=oo.BigInt(y),Oe=oo.BigInt(Oe));var Ce=(f+y)/Oe;return typeof Ce=="bigint"&&Ce<Number.MAX_SAFE_INTEGER&&(Ce=Number(Ce)),Ce},Wu=function(u){var h=kt(u,["moov","trak"]),p=[];return h.forEach(function(f){var y=kt(f,["mdia","hdlr"]),T=kt(f,["tkhd"]);y.forEach(function(F,H){var Y=Un(F.subarray(8,12)),Z=T[H],re,me,Oe;Y==="vide"&&(re=new DataView(Z.buffer,Z.byteOffset,Z.byteLength),me=re.getUint8(0),Oe=me===0?re.getUint32(12):re.getUint32(20),p.push(Oe))})}),p},ao=function(u){var h=u[0],p=h===0?12:20;return Ps(u[p]<<24|u[p+1]<<16|u[p+2]<<8|u[p+3])},Ju=function(u){var h=kt(u,["moov","trak"]),p=[];return h.forEach(function(f){var y={},T=kt(f,["tkhd"])[0],F,H;T&&(F=new DataView(T.buffer,T.byteOffset,T.byteLength),H=F.getUint8(0),y.id=H===0?F.getUint32(12):F.getUint32(20));var Y=kt(f,["mdia","hdlr"])[0];if(Y){var Z=Un(Y.subarray(8,12));Z==="vide"?y.type="video":Z==="soun"?y.type="audio":y.type=Z}var re=kt(f,["mdia","minf","stbl","stsd"])[0];if(re){var me=re.subarray(8);y.codec=Un(me.subarray(4,8));var Oe=kt(me,[y.codec])[0],Ce,je;Oe&&(/^[asm]vc[1-9]$/i.test(y.codec)?(Ce=Oe.subarray(78),je=Un(Ce.subarray(4,8)),je==="avcC"&&Ce.length>11?(y.codec+=".",y.codec+=Ir(Ce[9]),y.codec+=Ir(Ce[10]),y.codec+=Ir(Ce[11])):y.codec="avc1.4d400d"):/^mp4[a,v]$/i.test(y.codec)?(Ce=Oe.subarray(28),je=Un(Ce.subarray(4,8)),je==="esds"&&Ce.length>20&&Ce[19]!==0?(y.codec+="."+Ir(Ce[19]),y.codec+="."+Ir(Ce[20]>>>2&63).replace(/^0/,"")):y.codec="mp4a.40.2"):y.codec=y.codec.toLowerCase())}var Ke=kt(f,["mdia","mdhd"])[0];Ke&&(y.timescale=ao(Ke)),p.push(y)}),p},Zu=function(u,h=0){var p=kt(u,["emsg"]);return p.map(f=>{var y=so.parseEmsgBox(new Uint8Array(f)),T=Nm(y.message_data);return{cueTime:so.scaleTime(y.presentation_time,y.timescale,y.presentation_time_delta,h),duration:so.scaleTime(y.event_duration,y.timescale),frames:T}})};var Nr={findBox:kt,parseType:Un,timescale:Qu,startTime:Yu,compositionStartTime:Ku,videoTrackIds:Wu,tracks:Ju,getTimescaleFromMediaHeader:ao,getEmsgID3:Zu};const{parseTrun:Om}=ju,{findBox:$u}=Nr;var ec=Gu,Pm=function(u){var h=$u(u,["moof","traf"]),p=$u(u,["mdat"]),f=[];return p.forEach(function(y,T){var F=h[T];f.push({mdat:y,traf:F})}),f},Mm=function(u,h,p){var f=h,y=p.defaultSampleDuration||0,T=p.defaultSampleSize||0,F=p.trackId,H=[];return u.forEach(function(Y){var Z=Om(Y),re=Z.samples;re.forEach(function(me){me.duration===void 0&&(me.duration=y),me.size===void 0&&(me.size=T),me.trackId=F,me.dts=f,me.compositionTimeOffset===void 0&&(me.compositionTimeOffset=0),typeof f=="bigint"?(me.pts=f+ec.BigInt(me.compositionTimeOffset),f+=ec.BigInt(me.duration)):(me.pts=f+me.compositionTimeOffset,f+=me.duration)}),H=H.concat(re)}),H},tc={getMdatTrafPairs:Pm,parseSamples:Mm},Lm=jt.discardEmulationPreventionBytes,Rm=ie.CaptionStream,lo=no,qm=ro,Fm=Fu,{getMdatTrafPairs:Um,parseSamples:zm}=tc,Hm=function(u,h){for(var p=u,f=0;f<h.length;f++){var y=h[f];if(p<y.size)return y;p-=y.size}return null},jm=function(u,h,p){var f=new DataView(u.buffer,u.byteOffset,u.byteLength),y={logs:[],seiNals:[]},T,F,H,Y;for(F=0;F+4<u.length;F+=H)if(H=f.getUint32(F),F+=4,!(H<=0))switch(u[F]&31){case 6:var Z=u.subarray(F+1,F+1+H),re=Hm(F,h);if(T={nalUnitType:"sei_rbsp",size:H,data:Z,escapedRBSP:Lm(Z),trackId:p},re)T.pts=re.pts,T.dts=re.dts,Y=re;else if(Y)T.pts=Y.pts,T.dts=Y.dts;else{y.logs.push({level:"warn",message:"We've encountered a nal unit without data at "+F+" for trackId "+p+". See mux.js#223."});break}y.seiNals.push(T);break}return y},Xm=function(u,h){var p={},f=Um(u);return f.forEach(function(y){var T=y.mdat,F=y.traf,H=lo(F,["tfhd"]),Y=Fm(H[0]),Z=Y.trackId,re=lo(F,["tfdt"]),me=re.length>0?qm(re[0]).baseMediaDecodeTime:0,Oe=lo(F,["trun"]),Ce,je;h===Z&&Oe.length>0&&(Ce=zm(Oe,me,Y),je=jm(T,Ce,Z),p[Z]||(p[Z]={seiNals:[],logs:[]}),p[Z].seiNals=p[Z].seiNals.concat(je.seiNals),p[Z].logs=p[Z].logs.concat(je.logs))}),p},Gm=function(u,h,p){var f;if(h===null)return null;f=Xm(u,h);var y=f[h]||{};return{seiNals:y.seiNals,logs:y.logs,timescale:p}},Qm=function(){var u=!1,h,p,f,y,T,F;this.isInitialized=function(){return u},this.init=function(H){h=new Rm,u=!0,F=H?H.isPartial:!1,h.on("data",function(Y){Y.startTime=Y.startPts/y,Y.endTime=Y.endPts/y,T.captions.push(Y),T.captionStreams[Y.stream]=!0}),h.on("log",function(Y){T.logs.push(Y)})},this.isNewInit=function(H,Y){return H&&H.length===0||Y&&typeof Y=="object"&&Object.keys(Y).length===0?!1:f!==H[0]||y!==Y[f]},this.parse=function(H,Y,Z){var re;if(this.isInitialized()){if(!Y||!Z)return null;if(this.isNewInit(Y,Z))f=Y[0],y=Z[f];else if(f===null||!y)return p.push(H),null}else return null;for(;p.length>0;){var me=p.shift();this.parse(me,Y,Z)}return re=Gm(H,f,y),re&&re.logs&&(T.logs=T.logs.concat(re.logs)),re===null||!re.seiNals?T.logs.length?{logs:T.logs,captions:[],captionStreams:[]}:null:(this.pushNals(re.seiNals),this.flushStream(),T)},this.pushNals=function(H){if(!this.isInitialized()||!H||H.length===0)return null;H.forEach(function(Y){h.push(Y)})},this.flushStream=function(){if(!this.isInitialized())return null;F?h.partialFlush():h.flush()},this.clearParsedCaptions=function(){T.captions=[],T.captionStreams={},T.logs=[]},this.resetCaptionStream=function(){if(!this.isInitialized())return null;h.reset()},this.clearAllCaptions=function(){this.clearParsedCaptions(),this.resetCaptionStream()},this.reset=function(){p=[],f=null,y=null,T?this.clearParsedCaptions():T={captions:[],captionStreams:{},logs:[]},this.resetCaptionStream()},this.reset()},Ym=Qm;const{parseTfdt:Km}=ju,an=no,{getTimescaleFromMediaHeader:Wm}=Nr,{parseSamples:Jm,getMdatTrafPairs:Zm}=tc;var ic=function(){let u=9e4;this.init=function(h){const p=an(h,["moov","trak","mdia","mdhd"])[0];p&&(u=Wm(p))},this.parseSegment=function(h){const p=[],f=Zm(h);let y=0;return f.forEach(function(T){const F=T.mdat,H=T.traf,Y=an(H,["tfdt"])[0],Z=an(H,["tfhd"])[0],re=an(H,["trun"]);if(Y&&(y=Km(Y).baseMediaDecodeTime),re.length&&Z){const me=Jm(re,y,Z);let Oe=0;me.forEach(function(Ce){const je="utf-8",Ke=new TextDecoder(je),Pt=F.slice(Oe,Oe+Ce.size);if(an(Pt,["vtte"])[0]){Oe+=Ce.size;return}an(Pt,["vttc"]).forEach(function(Or){const Pr=an(Or,["payl"])[0],Mr=an(Or,["sttg"])[0],Lr=Ce.pts/u,Rs=(Ce.pts+Ce.duration)/u;let mt,Rr;if(Pr)try{mt=Ke.decode(Pr)}catch(Bi){console.error(Bi)}if(Mr)try{Rr=Ke.decode(Mr)}catch(Bi){console.error(Bi)}Ce.duration&&mt&&p.push({cueText:mt,start:Lr,end:Rs,settings:Rr})}),Oe+=Ce.size})}}),p}},uo=_e,nc=function(u){var h=u[1]&31;return h<<=8,h|=u[2],h},Ms=function(u){return!!(u[1]&64)},Ls=function(u){var h=0;return(u[3]&48)>>>4>1&&(h+=u[4]+1),h},$m=function(u,h){var p=nc(u);return p===0?"pat":p===h?"pmt":h?"pes":null},eg=function(u){var h=Ms(u),p=4+Ls(u);return h&&(p+=u[p]+1),(u[p+10]&31)<<8|u[p+11]},tg=function(u){var h={},p=Ms(u),f=4+Ls(u);if(p&&(f+=u[f]+1),!!(u[f+5]&1)){var y,T,F;y=(u[f+1]&15)<<8|u[f+2],T=3+y-4,F=(u[f+10]&15)<<8|u[f+11];for(var H=12+F;H<T;){var Y=f+H;h[(u[Y+1]&31)<<8|u[Y+2]]=u[Y],H+=((u[Y+3]&15)<<8|u[Y+4])+5}return h}},ig=function(u,h){var p=nc(u),f=h[p];switch(f){case uo.H264_STREAM_TYPE:return"video";case uo.ADTS_STREAM_TYPE:return"audio";case uo.METADATA_STREAM_TYPE:return"timed-metadata";default:return null}},ng=function(u){var h=Ms(u);if(!h)return null;var p=4+Ls(u);if(p>=u.byteLength)return null;var f=null,y;return y=u[p+7],y&192&&(f={},f.pts=(u[p+9]&14)<<27|(u[p+10]&255)<<20|(u[p+11]&254)<<12|(u[p+12]&255)<<5|(u[p+13]&254)>>>3,f.pts*=4,f.pts+=(u[p+13]&6)>>>1,f.dts=f.pts,y&64&&(f.dts=(u[p+14]&14)<<27|(u[p+15]&255)<<20|(u[p+16]&254)<<12|(u[p+17]&255)<<5|(u[p+18]&254)>>>3,f.dts*=4,f.dts+=(u[p+18]&6)>>>1)),f},co=function(u){switch(u){case 5:return"slice_layer_without_partitioning_rbsp_idr";case 6:return"sei_rbsp";case 7:return"seq_parameter_set_rbsp";case 8:return"pic_parameter_set_rbsp";case 9:return"access_unit_delimiter_rbsp";default:return null}},rg=function(u){for(var h=4+Ls(u),p=u.subarray(h),f=0,y=0,T=!1,F;y<p.byteLength-3;y++)if(p[y+2]===1){f=y+5;break}for(;f<p.byteLength;)switch(p[f]){case 0:if(p[f-1]!==0){f+=2;break}else if(p[f-2]!==0){f++;break}y+3!==f-2&&(F=co(p[y+3]&31),F==="slice_layer_without_partitioning_rbsp_idr"&&(T=!0));do f++;while(p[f]!==1&&f<p.length);y=f-2,f+=3;break;case 1:if(p[f-1]!==0||p[f-2]!==0){f+=3;break}F=co(p[y+3]&31),F==="slice_layer_without_partitioning_rbsp_idr"&&(T=!0),y=f-2,f+=3;break;default:f+=3;break}return p=p.subarray(y),f-=y,y=0,p&&p.byteLength>3&&(F=co(p[y+3]&31),F==="slice_layer_without_partitioning_rbsp_idr"&&(T=!0)),T},sg={parseType:$m,parsePat:eg,parsePmt:tg,parsePayloadUnitStartIndicator:Ms,parsePesType:ig,parsePesTime:ng,videoPacketContainsKeyFrame:rg},rc=_e,zn=Tt.handleRollover,ut={};ut.ts=sg,ut.aac=io;var An=ze.ONE_SECOND_IN_TS,Zt=188,Li=71,ag=function(u,h){for(var p=0,f=Zt,y,T;f<u.byteLength;){if(u[p]===Li&&u[f]===Li){switch(y=u.subarray(p,f),T=ut.ts.parseType(y,h.pid),T){case"pat":h.pid=ut.ts.parsePat(y);break;case"pmt":var F=ut.ts.parsePmt(y);h.table=h.table||{},Object.keys(F).forEach(function(H){h.table[H]=F[H]});break}p+=Zt,f+=Zt;continue}p++,f++}},sc=function(u,h,p){for(var f=0,y=Zt,T,F,H,Y,Z,re=!1;y<=u.byteLength;){if(u[f]===Li&&(u[y]===Li||y===u.byteLength)){switch(T=u.subarray(f,y),F=ut.ts.parseType(T,h.pid),F){case"pes":H=ut.ts.parsePesType(T,h.table),Y=ut.ts.parsePayloadUnitStartIndicator(T),H==="audio"&&Y&&(Z=ut.ts.parsePesTime(T),Z&&(Z.type="audio",p.audio.push(Z),re=!0));break}if(re)break;f+=Zt,y+=Zt;continue}f++,y++}for(y=u.byteLength,f=y-Zt,re=!1;f>=0;){if(u[f]===Li&&(u[y]===Li||y===u.byteLength)){switch(T=u.subarray(f,y),F=ut.ts.parseType(T,h.pid),F){case"pes":H=ut.ts.parsePesType(T,h.table),Y=ut.ts.parsePayloadUnitStartIndicator(T),H==="audio"&&Y&&(Z=ut.ts.parsePesTime(T),Z&&(Z.type="audio",p.audio.push(Z),re=!0));break}if(re)break;f-=Zt,y-=Zt;continue}f--,y--}},og=function(u,h,p){for(var f=0,y=Zt,T,F,H,Y,Z,re,me,Oe,Ce=!1,je={data:[],size:0};y<u.byteLength;){if(u[f]===Li&&u[y]===Li){switch(T=u.subarray(f,y),F=ut.ts.parseType(T,h.pid),F){case"pes":if(H=ut.ts.parsePesType(T,h.table),Y=ut.ts.parsePayloadUnitStartIndicator(T),H==="video"&&(Y&&!Ce&&(Z=ut.ts.parsePesTime(T),Z&&(Z.type="video",p.video.push(Z),Ce=!0)),!p.firstKeyFrame)){if(Y&&je.size!==0){for(re=new Uint8Array(je.size),me=0;je.data.length;)Oe=je.data.shift(),re.set(Oe,me),me+=Oe.byteLength;if(ut.ts.videoPacketContainsKeyFrame(re)){var Ke=ut.ts.parsePesTime(re);Ke?(p.firstKeyFrame=Ke,p.firstKeyFrame.type="video"):console.warn("Failed to extract PTS/DTS from PES at first keyframe. This could be an unusual TS segment, or else mux.js did not parse your TS segment correctly. If you know your TS segments do contain PTS/DTS on keyframes please file a bug report! You can try ffprobe to double check for yourself.")}je.size=0}je.data.push(T),je.size+=T.byteLength}break}if(Ce&&p.firstKeyFrame)break;f+=Zt,y+=Zt;continue}f++,y++}for(y=u.byteLength,f=y-Zt,Ce=!1;f>=0;){if(u[f]===Li&&u[y]===Li){switch(T=u.subarray(f,y),F=ut.ts.parseType(T,h.pid),F){case"pes":H=ut.ts.parsePesType(T,h.table),Y=ut.ts.parsePayloadUnitStartIndicator(T),H==="video"&&Y&&(Z=ut.ts.parsePesTime(T),Z&&(Z.type="video",p.video.push(Z),Ce=!0));break}if(Ce)break;f-=Zt,y-=Zt;continue}f--,y--}},lg=function(u,h){if(u.audio&&u.audio.length){var p=h;(typeof p>"u"||isNaN(p))&&(p=u.audio[0].dts),u.audio.forEach(function(T){T.dts=zn(T.dts,p),T.pts=zn(T.pts,p),T.dtsTime=T.dts/An,T.ptsTime=T.pts/An})}if(u.video&&u.video.length){var f=h;if((typeof f>"u"||isNaN(f))&&(f=u.video[0].dts),u.video.forEach(function(T){T.dts=zn(T.dts,f),T.pts=zn(T.pts,f),T.dtsTime=T.dts/An,T.ptsTime=T.pts/An}),u.firstKeyFrame){var y=u.firstKeyFrame;y.dts=zn(y.dts,f),y.pts=zn(y.pts,f),y.dtsTime=y.dts/An,y.ptsTime=y.pts/An}}},ug=function(u){for(var h=!1,p=0,f=null,y=null,T=0,F=0,H;u.length-F>=3;){var Y=ut.aac.parseType(u,F);switch(Y){case"timed-metadata":if(u.length-F<10){h=!0;break}if(T=ut.aac.parseId3TagSize(u,F),T>u.length){h=!0;break}y===null&&(H=u.subarray(F,F+T),y=ut.aac.parseAacTimestamp(H)),F+=T;break;case"audio":if(u.length-F<7){h=!0;break}if(T=ut.aac.parseAdtsSize(u,F),T>u.length){h=!0;break}f===null&&(H=u.subarray(F,F+T),f=ut.aac.parseSampleRate(H)),p++,F+=T;break;default:F++;break}if(h)return null}if(f===null||y===null)return null;var Z=An/f,re={audio:[{type:"audio",dts:y,pts:y},{type:"audio",dts:y+p*1024*Z,pts:y+p*1024*Z}]};return re},cg=function(u){var h={pid:null,table:null},p={};ag(u,h);for(var f in h.table)if(h.table.hasOwnProperty(f)){var y=h.table[f];switch(y){case rc.H264_STREAM_TYPE:p.video=[],og(u,h,p),p.video.length===0&&delete p.video;break;case rc.ADTS_STREAM_TYPE:p.audio=[],sc(u,h,p),p.audio.length===0&&delete p.audio;break}}return p},dg=function(u,h){var p=ut.aac.isLikelyAacData(u),f;return p?f=ug(u):f=cg(u),!f||!f.audio&&!f.video?null:(lg(f,h),f)},hg={inspect:dg,parseAudioPes_:sc};const fg=function(u,h){h.on("data",function(p){const f=p.initSegment;p.initSegment={data:f.buffer,byteOffset:f.byteOffset,byteLength:f.byteLength};const y=p.data;p.data=y.buffer,u.postMessage({action:"data",segment:p,byteOffset:y.byteOffset,byteLength:y.byteLength},[p.data])}),h.on("done",function(p){u.postMessage({action:"done"})}),h.on("gopInfo",function(p){u.postMessage({action:"gopInfo",gopInfo:p})}),h.on("videoSegmentTimingInfo",function(p){const f={start:{decode:ze.videoTsToSeconds(p.start.dts),presentation:ze.videoTsToSeconds(p.start.pts)},end:{decode:ze.videoTsToSeconds(p.end.dts),presentation:ze.videoTsToSeconds(p.end.pts)},baseMediaDecodeTime:ze.videoTsToSeconds(p.baseMediaDecodeTime)};p.prependedContentDuration&&(f.prependedContentDuration=ze.videoTsToSeconds(p.prependedContentDuration)),u.postMessage({action:"videoSegmentTimingInfo",videoSegmentTimingInfo:f})}),h.on("audioSegmentTimingInfo",function(p){const f={start:{decode:ze.videoTsToSeconds(p.start.dts),presentation:ze.videoTsToSeconds(p.start.pts)},end:{decode:ze.videoTsToSeconds(p.end.dts),presentation:ze.videoTsToSeconds(p.end.pts)},baseMediaDecodeTime:ze.videoTsToSeconds(p.baseMediaDecodeTime)};p.prependedContentDuration&&(f.prependedContentDuration=ze.videoTsToSeconds(p.prependedContentDuration)),u.postMessage({action:"audioSegmentTimingInfo",audioSegmentTimingInfo:f})}),h.on("id3Frame",function(p){u.postMessage({action:"id3Frame",id3Frame:p})}),h.on("caption",function(p){u.postMessage({action:"caption",caption:p})}),h.on("trackinfo",function(p){u.postMessage({action:"trackinfo",trackInfo:p})}),h.on("audioTimingInfo",function(p){u.postMessage({action:"audioTimingInfo",audioTimingInfo:{start:ze.videoTsToSeconds(p.start),end:ze.videoTsToSeconds(p.end)}})}),h.on("videoTimingInfo",function(p){u.postMessage({action:"videoTimingInfo",videoTimingInfo:{start:ze.videoTsToSeconds(p.start),end:ze.videoTsToSeconds(p.end)}})}),h.on("log",function(p){u.postMessage({action:"log",log:p})})};class ac{constructor(h,p){this.options=p||{},this.self=h,this.init()}init(){this.transmuxer&&this.transmuxer.dispose(),this.transmuxer=new um.Transmuxer(this.options),fg(this.self,this.transmuxer)}pushMp4Captions(h){this.captionParser||(this.captionParser=new Ym,this.captionParser.init());const p=new Uint8Array(h.data,h.byteOffset,h.byteLength),f=this.captionParser.parse(p,h.trackIds,h.timescales);this.self.postMessage({action:"mp4Captions",captions:f&&f.captions||[],logs:f&&f.logs||[],data:p.buffer},[p.buffer])}initMp4WebVttParser(h){this.webVttParser||(this.webVttParser=new ic);const p=new Uint8Array(h.data,h.byteOffset,h.byteLength);this.webVttParser.init(p)}getMp4WebVttText(h){this.webVttParser||(this.webVttParser=new ic);const p=new Uint8Array(h.data,h.byteOffset,h.byteLength),f=this.webVttParser.parseSegment(p);this.self.postMessage({action:"getMp4WebVttText",mp4VttCues:f||[],data:p.buffer},[p.buffer])}probeMp4StartTime({timescales:h,data:p}){const f=Nr.startTime(h,p);this.self.postMessage({action:"probeMp4StartTime",startTime:f,data:p},[p.buffer])}probeMp4Tracks({data:h}){const p=Nr.tracks(h);this.self.postMessage({action:"probeMp4Tracks",tracks:p,data:h},[h.buffer])}probeEmsgID3({data:h,offset:p}){const f=Nr.getEmsgID3(h,p);this.self.postMessage({action:"probeEmsgID3",id3Frames:f,emsgData:h},[h.buffer])}probeTs({data:h,baseStartTime:p}){const f=typeof p=="number"&&!isNaN(p)?p*ze.ONE_SECOND_IN_TS:void 0,y=hg.inspect(h,f);let T=null;y&&(T={hasVideo:y.video&&y.video.length===2||!1,hasAudio:y.audio&&y.audio.length===2||!1},T.hasVideo&&(T.videoStart=y.video[0].ptsTime),T.hasAudio&&(T.audioStart=y.audio[0].ptsTime)),this.self.postMessage({action:"probeTs",result:T,data:h},[h.buffer])}clearAllMp4Captions(){this.captionParser&&this.captionParser.clearAllCaptions()}clearParsedMp4Captions(){this.captionParser&&this.captionParser.clearParsedCaptions()}push(h){const p=new Uint8Array(h.data,h.byteOffset,h.byteLength);this.transmuxer.push(p)}reset(){this.transmuxer.reset()}setTimestampOffset(h){const p=h.timestampOffset||0;this.transmuxer.setBaseMediaDecodeTime(Math.round(ze.secondsToVideoTs(p)))}setAudioAppendStart(h){this.transmuxer.setAudioAppendStart(Math.ceil(ze.secondsToVideoTs(h.appendStart)))}setRemux(h){this.transmuxer.setRemux(h.remux)}flush(h){this.transmuxer.flush(),self.postMessage({action:"done",type:"transmuxed"})}endTimeline(){this.transmuxer.endTimeline(),self.postMessage({action:"endedtimeline",type:"transmuxed"})}alignGopsWith(h){this.transmuxer.alignGopsWith(h.gopsToAlignWith.slice())}}self.onmessage=function(u){if(u.data.action==="init"&&u.data.options){this.messageHandlers=new ac(self,u.data.options);return}this.messageHandlers||(this.messageHandlers=new ac(self)),u.data&&u.data.action&&u.data.action!=="init"&&this.messageHandlers[u.data.action]&&this.messageHandlers[u.data.action](u.data)}}));var c8=Wf(u8);const d8=(r,e,i)=>{const{type:n,initSegment:s,captions:a,captionStreams:o,metadata:l,videoFrameDtsTime:c,videoFramePtsTime:d}=r.data.segment;e.buffer.push({captions:a,captionStreams:o,metadata:l});const m=r.data.segment.boxes||{data:r.data.segment.data},g={type:n,data:new Uint8Array(m.data,m.data.byteOffset,m.data.byteLength),initSegment:new Uint8Array(s.data,s.byteOffset,s.byteLength)};typeof c<"u"&&(g.videoFrameDtsTime=c),typeof d<"u"&&(g.videoFramePtsTime=d),i(g)},h8=({transmuxedData:r,callback:e})=>{r.buffer=[],e(r)},f8=(r,e)=>{e.gopInfo=r.data.gopInfo},$f=r=>{const{transmuxer:e,bytes:i,audioAppendStart:n,gopsToAlignWith:s,remux:a,onData:o,onTrackInfo:l,onAudioTimingInfo:c,onVideoTimingInfo:d,onVideoSegmentTimingInfo:m,onAudioSegmentTimingInfo:g,onId3:E,onCaptions:C,onDone:w,onEndedTimeline:v,onTransmuxerLog:b,isEndOfTimeline:k,segment:S,triggerSegmentEventFn:D}=r,O={buffer:[]};let q=k;const R=L=>{e.currentTransmux===r&&(L.data.action==="data"&&d8(L,O,o),L.data.action==="trackinfo"&&l(L.data.trackInfo),L.data.action==="gopInfo"&&f8(L,O),L.data.action==="audioTimingInfo"&&c(L.data.audioTimingInfo),L.data.action==="videoTimingInfo"&&d(L.data.videoTimingInfo),L.data.action==="videoSegmentTimingInfo"&&m(L.data.videoSegmentTimingInfo),L.data.action==="audioSegmentTimingInfo"&&g(L.data.audioSegmentTimingInfo),L.data.action==="id3Frame"&&E([L.data.id3Frame],L.data.id3Frame.dispatchType),L.data.action==="caption"&&C(L.data.caption),L.data.action==="endedtimeline"&&(q=!1,v()),L.data.action==="log"&&b(L.data.log),L.data.type==="transmuxed"&&(q||(e.onmessage=null,h8({transmuxedData:O,callback:w}),ep(e))))},x=()=>{const L={message:"Received an error message from the transmuxer worker",metadata:{errorType:ae.Error.StreamingFailedToTransmuxSegment,segmentInfo:Sn({segment:S})}};w(null,L)};if(e.onmessage=R,e.onerror=x,n&&e.postMessage({action:"setAudioAppendStart",appendStart:n}),Array.isArray(s)&&e.postMessage({action:"alignGopsWith",gopsToAlignWith:s}),typeof a<"u"&&e.postMessage({action:"setRemux",remux:a}),i.byteLength){const L=i instanceof ArrayBuffer?i:i.buffer,_=i instanceof ArrayBuffer?0:i.byteOffset;D({type:"segmenttransmuxingstart",segment:S}),e.postMessage({action:"push",data:L,byteOffset:_,byteLength:i.byteLength},[L])}k&&e.postMessage({action:"endTimeline"}),e.postMessage({action:"flush"})},ep=r=>{r.currentTransmux=null,r.transmuxQueue.length&&(r.currentTransmux=r.transmuxQueue.shift(),typeof r.currentTransmux=="function"?r.currentTransmux():$f(r.currentTransmux))},Rd=(r,e)=>{r.postMessage({action:e}),ep(r)},tp=(r,e)=>{if(!e.currentTransmux){e.currentTransmux=r,Rd(e,r);return}e.transmuxQueue.push(Rd.bind(null,e,r))},p8=r=>{tp("reset",r)},m8=r=>{tp("endTimeline",r)},ip=r=>{if(!r.transmuxer.currentTransmux){r.transmuxer.currentTransmux=r,$f(r);return}r.transmuxer.transmuxQueue.push(r)},g8=r=>{const e=new c8;e.currentTransmux=null,e.transmuxQueue=[];const i=e.terminate;return e.terminate=()=>(e.currentTransmux=null,e.transmuxQueue.length=0,i.call(e)),e.postMessage({action:"init",options:r}),e};var Zo={reset:p8,endTimeline:m8,transmux:ip,createTransmuxer:g8};const er=function(r){const e=r.transmuxer,i=r.endAction||r.action,n=r.callback,s=_t({},r,{endAction:null,transmuxer:null,callback:null}),a=o=>{o.data.action===i&&(e.removeEventListener("message",a),o.data.data&&(o.data.data=new Uint8Array(o.data.data,r.byteOffset||0,r.byteLength||o.data.data.byteLength),r.data&&(r.data=o.data.data)),n(o.data))};if(e.addEventListener("message",a),r.data){const o=r.data instanceof ArrayBuffer;s.byteOffset=o?0:r.data.byteOffset,s.byteLength=r.data.byteLength;const l=[o?r.data:r.data.buffer];e.postMessage(s,l)}else e.postMessage(s)},ji={FAILURE:2,TIMEOUT:-101,ABORTED:-102},np="wvtt",kl=r=>{r.forEach(e=>{e.abort()})},v8=r=>({bandwidth:r.bandwidth,bytesReceived:r.bytesReceived||0,roundTripTime:r.roundTripTime||0}),y8=r=>{const e=r.target,n={bandwidth:1/0,bytesReceived:0,roundTripTime:Date.now()-e.requestTime||0};return n.bytesReceived=r.loaded,n.bandwidth=Math.floor(n.bytesReceived/n.roundTripTime*8*1e3),n},bu=(r,e)=>{const{requestType:i}=e,n=Mn({requestType:i,request:e,error:r});return e.timedout?{status:e.status,message:"HLS request timed-out at URL: "+e.uri,code:ji.TIMEOUT,xhr:e,metadata:n}:e.aborted?{status:e.status,message:"HLS request aborted at URL: "+e.uri,code:ji.ABORTED,xhr:e,metadata:n}:r?{status:e.status,message:"HLS request errored at URL: "+e.uri,code:ji.FAILURE,xhr:e,metadata:n}:e.responseType==="arraybuffer"&&e.response.byteLength===0?{status:e.status,message:"Empty HLS response at URL: "+e.uri,code:ji.FAILURE,xhr:e,metadata:n}:null},qd=(r,e,i,n)=>(s,a)=>{const o=a.response,l=bu(s,a);if(l)return i(l,r);if(o.byteLength!==16)return i({status:a.status,message:"Invalid HLS key at URL: "+a.uri,code:ji.FAILURE,xhr:a},r);const c=new DataView(o),d=new Uint32Array([c.getUint32(0),c.getUint32(4),c.getUint32(8),c.getUint32(12)]);for(let g=0;g<e.length;g++)e[g].bytes=d;const m={uri:a.uri};return n({type:"segmentkeyloadcomplete",segment:r,keyInfo:m}),i(null,r)},b8=(r,e)=>{e===np&&r.transmuxer.postMessage({action:"initMp4WebVttParser",data:r.map.bytes})},C8=(r,e,i)=>{e===np&&er({action:"getMp4WebVttText",data:r.bytes,transmuxer:r.transmuxer,callback:({data:n,mp4VttCues:s})=>{r.bytes=n,i(null,r,{mp4VttCues:s})}})},rp=(r,e)=>{const i=zl(r.map.bytes);if(i!=="mp4"){const n=r.map.resolvedUri||r.map.uri,s=i||"unknown";return e({internal:!0,message:`Found unsupported ${s} container for initialization segment at URL: ${n}`,code:ji.FAILURE,metadata:{mediaType:s}})}er({action:"probeMp4Tracks",data:r.map.bytes,transmuxer:r.transmuxer,callback:({tracks:n,data:s})=>(r.map.bytes=s,n.forEach(function(a){r.map.tracks=r.map.tracks||{},!r.map.tracks[a.type]&&(r.map.tracks[a.type]=a,typeof a.id=="number"&&a.timescale&&(r.map.timescales=r.map.timescales||{},r.map.timescales[a.id]=a.timescale),a.type==="text"&&b8(r,a.codec))}),e(null))})},T8=({segment:r,finishProcessingFn:e,triggerSegmentEventFn:i})=>(n,s)=>{const a=bu(n,s);if(a)return e(a,r);const o=new Uint8Array(s.response);if(i({type:"segmentloaded",segment:r}),r.map.key)return r.map.encryptedBytes=o,e(null,r);r.map.bytes=o,rp(r,function(l){if(l)return l.xhr=s,l.status=s.status,e(l,r);e(null,r)})},A8=({segment:r,finishProcessingFn:e,responseType:i,triggerSegmentEventFn:n})=>(s,a)=>{const o=bu(s,a);if(o)return e(o,r);n({type:"segmentloaded",segment:r});const l=i==="arraybuffer"||!a.responseText?a.response:o8(a.responseText.substring(r.lastReachedChar||0));return r.stats=v8(a),r.key?r.encryptedBytes=new Uint8Array(l):r.bytes=new Uint8Array(l),e(null,r)},E8=({segment:r,bytes:e,trackInfoFn:i,timingInfoFn:n,videoSegmentTimingInfoFn:s,audioSegmentTimingInfoFn:a,id3Fn:o,captionsFn:l,isEndOfTimeline:c,endedTimelineFn:d,dataFn:m,doneFn:g,onTransmuxerLog:E,triggerSegmentEventFn:C})=>{const w=r.map&&r.map.tracks||{},v=!!(w.audio&&w.video);let b=n.bind(null,r,"audio","start");const k=n.bind(null,r,"audio","end");let S=n.bind(null,r,"video","start");const D=n.bind(null,r,"video","end"),O=()=>ip({bytes:e,transmuxer:r.transmuxer,audioAppendStart:r.audioAppendStart,gopsToAlignWith:r.gopsToAlignWith,remux:v,onData:q=>{q.type=q.type==="combined"?"video":q.type,m(r,q)},onTrackInfo:q=>{i&&(v&&(q.isMuxed=!0),i(r,q))},onAudioTimingInfo:q=>{b&&typeof q.start<"u"&&(b(q.start),b=null),k&&typeof q.end<"u"&&k(q.end)},onVideoTimingInfo:q=>{S&&typeof q.start<"u"&&(S(q.start),S=null),D&&typeof q.end<"u"&&D(q.end)},onVideoSegmentTimingInfo:q=>{const R={pts:{start:q.start.presentation,end:q.end.presentation},dts:{start:q.start.decode,end:q.end.decode}};C({type:"segmenttransmuxingtiminginfoavailable",segment:r,timingInfo:R}),s(q)},onAudioSegmentTimingInfo:q=>{const R={pts:{start:q.start.pts,end:q.end.pts},dts:{start:q.start.dts,end:q.end.dts}};C({type:"segmenttransmuxingtiminginfoavailable",segment:r,timingInfo:R}),a(q)},onId3:(q,R)=>{o(r,q,R)},onCaptions:q=>{l(r,[q])},isEndOfTimeline:c,onEndedTimeline:()=>{d()},onTransmuxerLog:E,onDone:(q,R)=>{g&&(q.type=q.type==="combined"?"video":q.type,C({type:"segmenttransmuxingcomplete",segment:r}),g(R,r,q))},segment:r,triggerSegmentEventFn:C});er({action:"probeTs",transmuxer:r.transmuxer,data:e,baseStartTime:r.baseStartTime,callback:q=>{r.bytes=e=q.data;const R=q.result;R&&(i(r,{hasAudio:R.hasAudio,hasVideo:R.hasVideo,isMuxed:v}),i=null),O()}})},sp=({segment:r,bytes:e,trackInfoFn:i,timingInfoFn:n,videoSegmentTimingInfoFn:s,audioSegmentTimingInfoFn:a,id3Fn:o,captionsFn:l,isEndOfTimeline:c,endedTimelineFn:d,dataFn:m,doneFn:g,onTransmuxerLog:E,triggerSegmentEventFn:C})=>{let w=new Uint8Array(e);if(jy(w)){r.isFmp4=!0;const{tracks:v}=r.map;if(v.text&&(!v.audio||!v.video)){m(r,{data:w,type:"text"}),C8(r,v.text.codec,g);return}const k={isFmp4:!0,hasVideo:!!v.video,hasAudio:!!v.audio};v.audio&&v.audio.codec&&v.audio.codec!=="enca"&&(k.audioCodec=v.audio.codec),v.video&&v.video.codec&&v.video.codec!=="encv"&&(k.videoCodec=v.video.codec),v.video&&v.audio&&(k.isMuxed=!0),i(r,k);const S=(D,O)=>{m(r,{data:w,type:k.hasAudio&&!k.isMuxed?"audio":"video"}),O&&O.length&&o(r,O),D&&D.length&&l(r,D),g(null,r,{})};er({action:"probeMp4StartTime",timescales:r.map.timescales,data:w,transmuxer:r.transmuxer,callback:({data:D,startTime:O})=>{e=D.buffer,r.bytes=w=D,k.hasAudio&&!k.isMuxed&&n(r,"audio","start",O),k.hasVideo&&n(r,"video","start",O),er({action:"probeEmsgID3",data:w,transmuxer:r.transmuxer,offset:O,callback:({emsgData:q,id3Frames:R})=>{if(e=q.buffer,r.bytes=w=q,!v.video||!q.byteLength||!r.transmuxer){S(void 0,R);return}er({action:"pushMp4Captions",endAction:"mp4Captions",transmuxer:r.transmuxer,data:w,timescales:r.map.timescales,trackIds:[v.video.id],callback:x=>{e=x.data.buffer,r.bytes=w=x.data,x.logs.forEach(function(L){E(lt(L,{stream:"mp4CaptionParser"}))}),S(x.captions,R)}})}})}});return}if(!r.transmuxer){g(null,r,{});return}if(typeof r.container>"u"&&(r.container=zl(w)),r.container!=="ts"&&r.container!=="aac"){i(r,{hasAudio:!1,hasVideo:!1}),g(null,r,{});return}E8({segment:r,bytes:e,trackInfoFn:i,timingInfoFn:n,videoSegmentTimingInfoFn:s,audioSegmentTimingInfoFn:a,id3Fn:o,captionsFn:l,isEndOfTimeline:c,endedTimelineFn:d,dataFn:m,doneFn:g,onTransmuxerLog:E,triggerSegmentEventFn:C})},ap=function({id:r,key:e,encryptedBytes:i,decryptionWorker:n,segment:s,doneFn:a},o){const l=d=>{if(d.data.source===r){n.removeEventListener("message",l);const m=d.data.decrypted;o(new Uint8Array(m.bytes,m.byteOffset,m.byteLength))}};n.onerror=()=>{const d="An error occurred in the decryption worker",m=Sn({segment:s}),g={message:d,metadata:{error:new Error(d),errorType:ae.Error.StreamingFailedToDecryptSegment,segmentInfo:m,keyInfo:{uri:s.key.resolvedUri||s.map.key.resolvedUri}}};a(g,s)},n.addEventListener("message",l);let c;e.bytes.slice?c=e.bytes.slice():c=new Uint32Array(Array.prototype.slice.call(e.bytes)),n.postMessage(jf({source:r,encrypted:i,key:c,iv:e.iv}),[i.buffer,c.buffer])},x8=({decryptionWorker:r,segment:e,trackInfoFn:i,timingInfoFn:n,videoSegmentTimingInfoFn:s,audioSegmentTimingInfoFn:a,id3Fn:o,captionsFn:l,isEndOfTimeline:c,endedTimelineFn:d,dataFn:m,doneFn:g,onTransmuxerLog:E,triggerSegmentEventFn:C})=>{C({type:"segmentdecryptionstart"}),ap({id:e.requestId,key:e.key,encryptedBytes:e.encryptedBytes,decryptionWorker:r,segment:e,doneFn:g},w=>{e.bytes=w,C({type:"segmentdecryptioncomplete",segment:e}),sp({segment:e,bytes:e.bytes,trackInfoFn:i,timingInfoFn:n,videoSegmentTimingInfoFn:s,audioSegmentTimingInfoFn:a,id3Fn:o,captionsFn:l,isEndOfTimeline:c,endedTimelineFn:d,dataFn:m,doneFn:g,onTransmuxerLog:E,triggerSegmentEventFn:C})})},k8=({activeXhrs:r,decryptionWorker:e,trackInfoFn:i,timingInfoFn:n,videoSegmentTimingInfoFn:s,audioSegmentTimingInfoFn:a,id3Fn:o,captionsFn:l,isEndOfTimeline:c,endedTimelineFn:d,dataFn:m,doneFn:g,onTransmuxerLog:E,triggerSegmentEventFn:C})=>{let w=0,v=!1;return(b,k)=>{if(!v){if(b)return v=!0,kl(r),g(b,k);if(w+=1,w===r.length){const S=function(){if(k.encryptedBytes)return x8({decryptionWorker:e,segment:k,trackInfoFn:i,timingInfoFn:n,videoSegmentTimingInfoFn:s,audioSegmentTimingInfoFn:a,id3Fn:o,captionsFn:l,isEndOfTimeline:c,endedTimelineFn:d,dataFn:m,doneFn:g,onTransmuxerLog:E,triggerSegmentEventFn:C});sp({segment:k,bytes:k.bytes,trackInfoFn:i,timingInfoFn:n,videoSegmentTimingInfoFn:s,audioSegmentTimingInfoFn:a,id3Fn:o,captionsFn:l,isEndOfTimeline:c,endedTimelineFn:d,dataFn:m,doneFn:g,onTransmuxerLog:E,triggerSegmentEventFn:C})};if(k.endOfAllRequests=Date.now(),k.map&&k.map.encryptedBytes&&!k.map.bytes)return C({type:"segmentdecryptionstart",segment:k}),ap({decryptionWorker:e,id:k.requestId+"-init",encryptedBytes:k.map.encryptedBytes,key:k.map.key,segment:k,doneFn:g},D=>{k.map.bytes=D,C({type:"segmentdecryptioncomplete",segment:k}),rp(k,O=>{if(O)return kl(r),g(O,k);S()})});S()}}}},_8=({loadendState:r,abortFn:e})=>i=>{i.target.aborted&&e&&!r.calledAbortFn&&(e(),r.calledAbortFn=!0)},S8=({segment:r,progressFn:e,trackInfoFn:i,timingInfoFn:n,videoSegmentTimingInfoFn:s,audioSegmentTimingInfoFn:a,id3Fn:o,captionsFn:l,isEndOfTimeline:c,endedTimelineFn:d,dataFn:m})=>g=>{if(!g.target.aborted)return r.stats=lt(r.stats,y8(g)),!r.stats.firstBytesReceivedAt&&r.stats.bytesReceived&&(r.stats.firstBytesReceivedAt=Date.now()),e(g,r)},w8=({xhr:r,xhrOptions:e,decryptionWorker:i,segment:n,abortFn:s,progressFn:a,trackInfoFn:o,timingInfoFn:l,videoSegmentTimingInfoFn:c,audioSegmentTimingInfoFn:d,id3Fn:m,captionsFn:g,isEndOfTimeline:E,endedTimelineFn:C,dataFn:w,doneFn:v,onTransmuxerLog:b,triggerSegmentEventFn:k})=>{const S=[],D=k8({activeXhrs:S,decryptionWorker:i,trackInfoFn:o,timingInfoFn:l,videoSegmentTimingInfoFn:c,audioSegmentTimingInfoFn:d,id3Fn:m,captionsFn:g,isEndOfTimeline:E,endedTimelineFn:C,dataFn:w,doneFn:v,onTransmuxerLog:b,triggerSegmentEventFn:k});if(n.key&&!n.key.bytes){const L=[n.key];n.map&&!n.map.bytes&&n.map.key&&n.map.key.resolvedUri===n.key.resolvedUri&&L.push(n.map.key);const _=lt(e,{uri:n.key.resolvedUri,responseType:"arraybuffer",requestType:"segment-key"}),V=qd(n,L,D,k),I={uri:n.key.resolvedUri};k({type:"segmentkeyloadstart",segment:n,keyInfo:I});const z=r(_,V);S.push(z)}if(n.map&&!n.map.bytes){if(n.map.key&&(!n.key||n.key.resolvedUri!==n.map.key.resolvedUri)){const z=lt(e,{uri:n.map.key.resolvedUri,responseType:"arraybuffer",requestType:"segment-key"}),M=qd(n,[n.map.key],D,k),U={uri:n.map.key.resolvedUri};k({type:"segmentkeyloadstart",segment:n,keyInfo:U});const P=r(z,M);S.push(P)}const _=lt(e,{uri:n.map.resolvedUri,responseType:"arraybuffer",headers:El(n.map),requestType:"segment-media-initialization"}),V=T8({segment:n,finishProcessingFn:D,triggerSegmentEventFn:k});k({type:"segmentloadstart",segment:n});const I=r(_,V);S.push(I)}const O=lt(e,{uri:n.part&&n.part.resolvedUri||n.resolvedUri,responseType:"arraybuffer",headers:El(n),requestType:"segment"}),q=A8({segment:n,finishProcessingFn:D,responseType:O.responseType,triggerSegmentEventFn:k});k({type:"segmentloadstart",segment:n});const R=r(O,q);R.addEventListener("progress",S8({segment:n,progressFn:a,trackInfoFn:o,timingInfoFn:l,videoSegmentTimingInfoFn:c,audioSegmentTimingInfoFn:d,id3Fn:m,captionsFn:g,isEndOfTimeline:E,endedTimelineFn:C,dataFn:w})),S.push(R);const x={};return S.forEach(L=>{L.addEventListener("loadend",_8({loadendState:x,abortFn:s}))}),()=>kl(S)},Gs=ki("PlaylistSelector"),Fd=function(r){if(!r||!r.playlist)return;const e=r.playlist;return JSON.stringify({id:e.id,bandwidth:r.bandwidth,width:r.width,height:r.height,codecs:e.attributes&&e.attributes.CODECS||""})},tr=function(r,e){if(!r)return"";const i=K.getComputedStyle(r);return i?i[e]:""},ir=function(r,e){const i=r.slice();r.sort(function(n,s){const a=e(n,s);return a===0?i.indexOf(n)-i.indexOf(s):a})},Cu=function(r,e){let i,n;return r.attributes.BANDWIDTH&&(i=r.attributes.BANDWIDTH),i=i||K.Number.MAX_VALUE,e.attributes.BANDWIDTH&&(n=e.attributes.BANDWIDTH),n=n||K.Number.MAX_VALUE,i-n},D8=function(r,e){let i,n;return r.attributes.RESOLUTION&&r.attributes.RESOLUTION.width&&(i=r.attributes.RESOLUTION.width),i=i||K.Number.MAX_VALUE,e.attributes.RESOLUTION&&e.attributes.RESOLUTION.width&&(n=e.attributes.RESOLUTION.width),n=n||K.Number.MAX_VALUE,i===n&&r.attributes.BANDWIDTH&&e.attributes.BANDWIDTH?r.attributes.BANDWIDTH-e.attributes.BANDWIDTH:i-n};let op=function(r){const{main:e,bandwidth:i,playerWidth:n,playerHeight:s,playerObjectFit:a,limitRenditionByPlayerDimensions:o,playlistController:l}=r;if(!e)return;const c={bandwidth:i,width:n,height:s,limitRenditionByPlayerDimensions:o};let d=e.playlists;ui.isAudioOnly(e)&&(d=l.getAudioTrackPlaylists_(),c.audioOnly=!0);let m=d.map(x=>{let L;const _=x.attributes&&x.attributes.RESOLUTION&&x.attributes.RESOLUTION.width,V=x.attributes&&x.attributes.RESOLUTION&&x.attributes.RESOLUTION.height;return L=x.attributes&&x.attributes.BANDWIDTH,L=L||K.Number.MAX_VALUE,{bandwidth:L,width:_,height:V,playlist:x}});ir(m,(x,L)=>x.bandwidth-L.bandwidth),m=m.filter(x=>!ui.isIncompatible(x.playlist));let g=m.filter(x=>ui.isEnabled(x.playlist));g.length||(g=m.filter(x=>!ui.isDisabled(x.playlist)));const E=g.filter(x=>x.bandwidth*Mt.BANDWIDTH_VARIANCE<i);let C=E[E.length-1];const w=E.filter(x=>x.bandwidth===C.bandwidth)[0];if(o===!1){const x=w||g[0]||m[0];if(x&&x.playlist){let L="sortedPlaylistReps";return w&&(L="bandwidthBestRep"),g[0]&&(L="enabledPlaylistReps"),Gs(`choosing ${Fd(x)} using ${L} with options`,c),x.playlist}return Gs("could not choose a playlist with options",c),null}const v=E.filter(x=>x.width&&x.height);ir(v,(x,L)=>x.width-L.width);const b=v.filter(x=>x.width===n&&x.height===s);C=b[b.length-1];const k=b.filter(x=>x.bandwidth===C.bandwidth)[0];let S,D,O;k||(S=v.filter(x=>a==="cover"?x.width>n&&x.height>s:x.width>n||x.height>s),D=S.filter(x=>x.width===S[0].width&&x.height===S[0].height),C=D[D.length-1],O=D.filter(x=>x.bandwidth===C.bandwidth)[0]);let q;if(l.leastPixelDiffSelector){const x=v.map(L=>(L.pixelDiff=Math.abs(L.width-n)+Math.abs(L.height-s),L));ir(x,(L,_)=>L.pixelDiff===_.pixelDiff?_.bandwidth-L.bandwidth:L.pixelDiff-_.pixelDiff),q=x[0]}const R=q||O||k||w||g[0]||m[0];if(R&&R.playlist){let x="sortedPlaylistReps";return q?x="leastPixelDiffRep":O?x="resolutionPlusOneRep":k?x="resolutionBestRep":w?x="bandwidthBestRep":g[0]&&(x="enabledPlaylistReps"),Gs(`choosing ${Fd(R)} using ${x} with options`,c),R.playlist}return Gs("could not choose a playlist with options",c),null};const Ud=function(){let r=this.useDevicePixelRatio&&K.devicePixelRatio||1;return isNaN(this.customPixelRatio)||(r=this.customPixelRatio),op({main:this.playlists.main,bandwidth:this.systemBandwidth,playerWidth:parseInt(tr(this.tech_.el(),"width"),10)*r,playerHeight:parseInt(tr(this.tech_.el(),"height"),10)*r,playerObjectFit:this.usePlayerObjectFit?tr(this.tech_.el(),"objectFit"):"",limitRenditionByPlayerDimensions:this.limitRenditionByPlayerDimensions,playlistController:this.playlistController_})},B8=function(r){let e=-1,i=-1;if(r<0||r>1)throw new Error("Moving average bandwidth decay must be between 0 and 1.");return function(){let n=this.useDevicePixelRatio&&K.devicePixelRatio||1;return isNaN(this.customPixelRatio)||(n=this.customPixelRatio),e<0&&(e=this.systemBandwidth,i=this.systemBandwidth),this.systemBandwidth>0&&this.systemBandwidth!==i&&(e=r*this.systemBandwidth+(1-r)*e,i=this.systemBandwidth),op({main:this.playlists.main,bandwidth:e,playerWidth:parseInt(tr(this.tech_.el(),"width"),10)*n,playerHeight:parseInt(tr(this.tech_.el(),"height"),10)*n,playerObjectFit:this.usePlayerObjectFit?tr(this.tech_.el(),"objectFit"):"",limitRenditionByPlayerDimensions:this.limitRenditionByPlayerDimensions,playlistController:this.playlistController_})}},V8=function(r){const{main:e,currentTime:i,bandwidth:n,duration:s,segmentDuration:a,timeUntilRebuffer:o,currentTimeline:l,syncController:c}=r,d=e.playlists.filter(w=>!ui.isIncompatible(w));let m=d.filter(ui.isEnabled);m.length||(m=d.filter(w=>!ui.isDisabled(w)));const E=m.filter(ui.hasAttribute.bind(null,"BANDWIDTH")).map(w=>{const b=c.getSyncPoint(w,s,l,i)?1:2,S=ui.estimateSegmentRequestTime(a,n,w)*b-o;return{playlist:w,rebufferingImpact:S}}),C=E.filter(w=>w.rebufferingImpact<=0);return ir(C,(w,v)=>Cu(v.playlist,w.playlist)),C.length?C[0]:(ir(E,(w,v)=>w.rebufferingImpact-v.rebufferingImpact),E[0]||null)},I8=function(){const r=this.playlists.main.playlists.filter(ui.isEnabled);return ir(r,(i,n)=>Cu(i,n)),r.filter(i=>!!ts(this.playlists.main,i).video)[0]||null},N8=r=>{let e=0,i;return r.bytes&&(i=new Uint8Array(r.bytes),r.segments.forEach(n=>{i.set(n,e),e+=n.byteLength})),i};function lp(r){try{return new URL(r).pathname.split("/").slice(-2).join("/")}catch{return""}}const O8=function(r,e,i){if(!r[i]){e.trigger({type:"usage",name:"vhs-608"});let n=i;/^cc708_/.test(i)&&(n="SERVICE"+i.split("_")[1]);const s=e.textTracks().getTrackById(n);if(s)r[i]=s;else{const a=e.options_.vhs&&e.options_.vhs.captionServices||{};let o=i,l=i,c=!1;const d=a[n];d&&(o=d.label,l=d.language,c=d.default),r[i]=e.addRemoteTextTrack({kind:"captions",id:n,default:c,label:o,language:l},!1).track}}},P8=function({inbandTextTracks:r,captionArray:e,timestampOffset:i}){if(!e)return;const n=K.WebKitDataCue||K.VTTCue;e.forEach(s=>{const a=s.stream;s.content?s.content.forEach(o=>{const l=new n(s.startTime+i,s.endTime+i,o.text);l.line=o.line,l.align="left",l.position=o.position,l.positionAlign="line-left",r[a].addCue(l)}):r[a].addCue(new n(s.startTime+i,s.endTime+i,s.text))})},M8=function(r){Object.defineProperties(r.frame,{id:{get(){return ae.log.warn("cue.frame.id is deprecated. Use cue.value.key instead."),r.value.key}},value:{get(){return ae.log.warn("cue.frame.value is deprecated. Use cue.value.data instead."),r.value.data}},privateData:{get(){return ae.log.warn("cue.frame.privateData is deprecated. Use cue.value.data instead."),r.value.data}}})},L8=({inbandTextTracks:r,metadataArray:e,timestampOffset:i,videoDuration:n})=>{if(!e)return;const s=K.WebKitDataCue||K.VTTCue,a=r.metadataTrack_;if(!a||(e.forEach(m=>{const g=m.cueTime+i;typeof g!="number"||K.isNaN(g)||g<0||!(g<1/0)||!m.frames||!m.frames.length||m.frames.forEach(E=>{const C=new s(g,g,E.value||E.url||E.data||"");C.frame=E,C.value=E,M8(C),a.addCue(C)})}),!a.cues||!a.cues.length))return;const o=a.cues,l=[];for(let m=0;m<o.length;m++)o[m]&&l.push(o[m]);const c=l.reduce((m,g)=>{const E=m[g.startTime]||[];return E.push(g),m[g.startTime]=E,m},{}),d=Object.keys(c).sort((m,g)=>Number(m)-Number(g));d.forEach((m,g)=>{const E=c[m],C=isFinite(n)?n:m,w=Number(d[g+1])||C;E.forEach(v=>{v.endTime=w})})},R8={id:"ID",class:"CLASS",startDate:"START-DATE",duration:"DURATION",endDate:"END-DATE",endOnNext:"END-ON-NEXT",plannedDuration:"PLANNED-DURATION",scte35Out:"SCTE35-OUT",scte35In:"SCTE35-IN"},q8=new Set(["id","class","startDate","duration","endDate","endOnNext","startTime","endTime","processDateRange"]),F8=({inbandTextTracks:r,dateRanges:e})=>{const i=r.metadataTrack_;if(!i)return;const n=K.WebKitDataCue||K.VTTCue;e.forEach(s=>{for(const a of Object.keys(s)){if(q8.has(a))continue;const o=new n(s.startTime,s.endTime,"");o.id=s.id,o.type="com.apple.quicktime.HLS",o.value={key:R8[a],data:s[a]},(a==="scte35Out"||a==="scte35In")&&(o.value.data=new Uint8Array(o.value.data.match(/[\da-f]{2}/gi)).buffer),i.addCue(o)}s.processDateRange()})},zd=(r,e,i)=>{r.metadataTrack_||(r.metadataTrack_=i.addRemoteTextTrack({kind:"metadata",label:"Timed Metadata"},!1).track,ae.browser.IS_ANY_SAFARI||(r.metadataTrack_.inBandMetadataTrackDispatchType=e))},Kr=function(r,e,i){let n,s;if(i&&i.cues)for(n=i.cues.length;n--;)s=i.cues[n],s.startTime>=r&&s.endTime<=e&&i.removeCue(s)},U8=function(r){const e=r.cues;if(!e)return;const i={};for(let n=e.length-1;n>=0;n--){const s=e[n],a=`${s.startTime}-${s.endTime}-${s.text}`;i[a]?r.removeCue(s):i[a]=s}},z8=(r,e,i)=>{if(typeof e>"u"||e===null||!r.length)return[];const n=Math.ceil((e-i+3)*Dn.ONE_SECOND_IN_TS);let s;for(s=0;s<r.length&&!(r[s].pts>n);s++);return r.slice(s)},H8=(r,e,i)=>{if(!e.length)return r;if(i)return e.slice();const n=e[0].pts;let s=0;for(s;s<r.length&&!(r[s].pts>=n);s++);return r.slice(0,s).concat(e)},j8=(r,e,i,n)=>{const s=Math.ceil((e-n)*Dn.ONE_SECOND_IN_TS),a=Math.ceil((i-n)*Dn.ONE_SECOND_IN_TS),o=r.slice();let l=r.length;for(;l--&&!(r[l].pts<=a););if(l===-1)return o;let c=l+1;for(;c--&&!(r[c].pts<=s););return c=Math.max(c,0),o.splice(c,l-c+1),o},X8=function(r,e){if(!r&&!e||!r&&e||r&&!e)return!1;if(r===e)return!0;const i=Object.keys(r).sort(),n=Object.keys(e).sort();if(i.length!==n.length)return!1;for(let s=0;s<i.length;s++){const a=i[s];if(a!==n[s]||r[a]!==e[a])return!1}return!0},G8=function(r,e,i){e=e||[];const n=[];let s=0;for(let a=0;a<e.length;a++){const o=e[a];if(r===o.timeline&&(n.push(a),s+=o.duration,s>i))return a}return n.length===0?0:n[n.length-1]},jr=1,Q8=500,Hd=r=>typeof r=="number"&&isFinite(r),Qs=1/60,Y8=(r,e,i)=>r!=="main"||!e||!i?null:!i.hasAudio&&!i.hasVideo?"Neither audio nor video found in segment.":e.hasVideo&&!i.hasVideo?"Only audio found in segment when we expected video. We can't switch to audio only from a stream that had video. To get rid of this message, please add codec information to the manifest.":!e.hasVideo&&i.hasVideo?"Video found in segment when we expected only audio. We can't switch to a stream with video from an audio only stream. To get rid of this message, please add codec information to the manifest.":null,K8=(r,e,i)=>{let n=e-Mt.BACK_BUFFER_LENGTH;r.length&&(n=Math.max(n,r.start(0)));const s=e-i;return Math.min(s,n)},Xn=r=>{const{startOfSegment:e,duration:i,segment:n,part:s,playlist:{mediaSequence:a,id:o,segments:l=[]},mediaIndex:c,partIndex:d,timeline:m}=r,g=l.length-1;let E="mediaIndex/partIndex increment";r.getMediaInfoForTime?E=`getMediaInfoForTime (${r.getMediaInfoForTime})`:r.isSyncRequest&&(E="getSyncSegmentCandidate (isSyncRequest)"),r.independent&&(E+=` with independent ${r.independent}`);const C=typeof d=="number",w=r.segment.uri?"segment":"pre-segment",v=C?_f({preloadSegment:n})-1:0;return`${w} [${a+c}/${a+g}]`+(C?` part [${d}/${v}]`:"")+` segment start/end [${n.start} => ${n.end}]`+(C?` part start/end [${s.start} => ${s.end}]`:"")+` startOfSegment [${e}] duration [${i}] timeline [${m}] selected by [${E}] playlist [${o}]`},jd=r=>`${r}TimingInfo`,W8=({segmentTimeline:r,currentTimeline:e,startOfSegment:i,buffered:n,overrideCheck:s})=>!s&&r===e?null:r<e?i:n.length?n.end(n.length-1):i,_l=({timelineChangeController:r,currentTimeline:e,segmentTimeline:i,loaderType:n,audioDisabled:s})=>{if(e===i)return!1;if(n==="audio"){const a=r.lastTimelineChange({type:"main"});return!a||a.to!==i}if(n==="main"&&s){const a=r.pendingTimelineChange({type:"audio"});return!(a&&a.to===i)}return!1},J8=r=>{if(!r)return!1;const e=r.pendingTimelineChange({type:"audio"}),i=r.pendingTimelineChange({type:"main"}),n=e&&i,s=n&&e.to!==i.to;return!!(n&&e.from!==-1&&i.from!==-1&&s)},Z8=r=>{const e=r.timelineChangeController_.pendingTimelineChange({type:"audio"}),i=r.timelineChangeController_.pendingTimelineChange({type:"main"});return e&&i&&e.to<i.to},cn=r=>{const e=r.pendingSegment_;if(!e)return;if(_l({timelineChangeController:r.timelineChangeController_,currentTimeline:r.currentTimeline_,segmentTimeline:e.timeline,loaderType:r.loaderType_,audioDisabled:r.audioDisabled_})&&J8(r.timelineChangeController_)){if(Z8(r)){r.timelineChangeController_.trigger("audioTimelineBehind");return}r.timelineChangeController_.trigger("fixBadTimelineChange")}},$8=r=>{let e=0;return["video","audio"].forEach(function(i){const n=r[`${i}TimingInfo`];if(!n)return;const{start:s,end:a}=n;let o;typeof s=="bigint"||typeof a=="bigint"?o=K.BigInt(a)-K.BigInt(s):typeof s=="number"&&typeof a=="number"&&(o=a-s),typeof o<"u"&&o>e&&(e=o)}),typeof e=="bigint"&&e<Number.MAX_SAFE_INTEGER&&(e=Number(e)),e},Xd=({segmentDuration:r,maxDuration:e})=>r?Math.round(r)>e+zi:!1,eb=(r,e)=>{if(e!=="hls")return null;const i=$8({audioTimingInfo:r.audioTimingInfo,videoTimingInfo:r.videoTimingInfo});if(!i)return null;const n=r.playlist.targetDuration,s=Xd({segmentDuration:i,maxDuration:n*2}),a=Xd({segmentDuration:i,maxDuration:n}),o=`Segment with index ${r.mediaIndex} from playlist ${r.playlist.id} has a duration of ${i} when the reported duration is ${r.duration} and the target duration is ${n}. For HLS content, a duration in excess of the target duration may result in playback issues. See the HLS specification section on EXT-X-TARGETDURATION for more details: https://tools.ietf.org/html/draft-pantos-http-live-streaming-23#section-4.3.3.1`;return s||a?{severity:s?"warn":"info",message:o}:null},Sn=({type:r,segment:e})=>{if(!e)return;const i=!!(e.key||e.map&&e.map.ke),n=!!(e.map&&!e.map.bytes),s=e.startOfSegment===void 0?e.start:e.startOfSegment;return{type:r||e.type,uri:e.resolvedUri||e.uri,start:s,duration:e.duration,isEncrypted:i,isMediaInitialization:n}};class Sl extends ae.EventTarget{constructor(e,i={}){if(super(),!e)throw new TypeError("Initialization settings are required");if(typeof e.currentTime!="function")throw new TypeError("No currentTime getter specified");if(!e.mediaSource)throw new TypeError("No MediaSource specified");this.bandwidth=e.bandwidth,this.throughput={rate:0,count:0},this.roundTrip=NaN,this.resetStats_(),this.mediaIndex=null,this.partIndex=null,this.hasPlayed_=e.hasPlayed,this.currentTime_=e.currentTime,this.seekable_=e.seekable,this.seeking_=e.seeking,this.duration_=e.duration,this.mediaSource_=e.mediaSource,this.vhs_=e.vhs,this.loaderType_=e.loaderType,this.currentMediaInfo_=void 0,this.startingMediaInfo_=void 0,this.segmentMetadataTrack_=e.segmentMetadataTrack,this.goalBufferLength_=e.goalBufferLength,this.sourceType_=e.sourceType,this.sourceUpdater_=e.sourceUpdater,this.inbandTextTracks_=e.inbandTextTracks,this.state_="INIT",this.timelineChangeController_=e.timelineChangeController,this.shouldSaveSegmentTimingInfo_=!0,this.parse708captions_=e.parse708captions,this.useDtsForTimestampOffset_=e.useDtsForTimestampOffset,this.captionServices_=e.captionServices,this.exactManifestTimings=e.exactManifestTimings,this.addMetadataToTextTrack=e.addMetadataToTextTrack,this.checkBufferTimeout_=null,this.error_=void 0,this.currentTimeline_=-1,this.shouldForceTimestampOffsetAfterResync_=!1,this.pendingSegment_=null,this.xhrOptions_=null,this.pendingSegments_=[],this.audioDisabled_=!1,this.isPendingTimestampOffset_=!1,this.gopBuffer_=[],this.timeMapping_=0,this.safeAppend_=!1,this.appendInitSegment_={audio:!0,video:!0},this.playlistOfLastInitSegment_={audio:null,video:null},this.callQueue_=[],this.loadQueue_=[],this.metadataQueue_={id3:[],caption:[]},this.waitingOnRemove_=!1,this.quotaExceededErrorRetryTimeout_=null,this.activeInitSegmentId_=null,this.initSegments_={},this.cacheEncryptionKeys_=e.cacheEncryptionKeys,this.keyCache_={},this.decrypter_=e.decrypter,this.syncController_=e.syncController,this.syncPoint_={segmentIndex:0,time:0},this.transmuxer_=this.createTransmuxer_(),this.triggerSyncInfoUpdate_=()=>this.trigger("syncinfoupdate"),this.syncController_.on("syncinfoupdate",this.triggerSyncInfoUpdate_),this.mediaSource_.addEventListener("sourceopen",()=>{this.isEndOfStream_()||(this.ended_=!1)}),this.fetchAtBuffer_=!1,this.logger_=ki(`SegmentLoader[${this.loaderType_}]`),Object.defineProperty(this,"state",{get(){return this.state_},set(n){n!==this.state_&&(this.logger_(`${this.state_} -> ${n}`),this.state_=n,this.trigger("statechange"))}}),this.sourceUpdater_.on("ready",()=>{this.hasEnoughInfoToAppend_()?this.processCallQueue_():cn(this)}),this.sourceUpdater_.on("codecschange",n=>{this.trigger(_t({type:"codecschange"},n))}),this.loaderType_==="main"&&this.timelineChangeController_.on("pendingtimelinechange",()=>{this.hasEnoughInfoToAppend_()?this.processCallQueue_():cn(this)}),this.loaderType_==="audio"&&this.timelineChangeController_.on("timelinechange",n=>{this.trigger(_t({type:"timelinechange"},n)),this.hasEnoughInfoToLoad_()?this.processLoadQueue_():cn(this),this.hasEnoughInfoToAppend_()?this.processCallQueue_():cn(this)})}get mediaSequenceSync_(){return this.syncController_.getMediaSequenceSync(this.loaderType_)}createTransmuxer_(){return Zo.createTransmuxer({remux:!1,alignGopsAtEnd:this.safeAppend_,keepOriginalTimestamps:!0,parse708captions:this.parse708captions_,captionServices:this.captionServices_})}resetStats_(){this.mediaBytesTransferred=0,this.mediaRequests=0,this.mediaRequestsAborted=0,this.mediaRequestsTimedout=0,this.mediaRequestsErrored=0,this.mediaTransferDuration=0,this.mediaSecondsLoaded=0,this.mediaAppends=0}dispose(){this.trigger("dispose"),this.state="DISPOSED",this.pause(),this.abort_(),this.transmuxer_&&this.transmuxer_.terminate(),this.resetStats_(),this.checkBufferTimeout_&&K.clearTimeout(this.checkBufferTimeout_),this.syncController_&&this.triggerSyncInfoUpdate_&&this.syncController_.off("syncinfoupdate",this.triggerSyncInfoUpdate_),this.off()}setAudio(e){this.audioDisabled_=!e,e?this.appendInitSegment_.audio=!0:this.sourceUpdater_.removeAudio(0,this.duration_())}abort(){if(this.state!=="WAITING"){this.pendingSegment_&&(this.pendingSegment_=null),this.timelineChangeController_.clearPendingTimelineChange(this.loaderType_);return}this.abort_(),this.state="READY",this.paused()||this.monitorBuffer_()}abort_(){this.pendingSegment_&&this.pendingSegment_.abortRequests&&this.pendingSegment_.abortRequests(),this.pendingSegment_=null,this.callQueue_=[],this.loadQueue_=[],this.metadataQueue_.id3=[],this.metadataQueue_.caption=[],this.timelineChangeController_.clearPendingTimelineChange(this.loaderType_),this.waitingOnRemove_=!1,K.clearTimeout(this.quotaExceededErrorRetryTimeout_),this.quotaExceededErrorRetryTimeout_=null}checkForAbort_(e){return this.state==="APPENDING"&&!this.pendingSegment_?(this.state="READY",!0):!this.pendingSegment_||this.pendingSegment_.requestId!==e}error(e){return typeof e<"u"&&(this.logger_("error occurred:",e),this.error_=e),this.pendingSegment_=null,this.error_}endOfStream(){this.ended_=!0,this.transmuxer_&&Zo.reset(this.transmuxer_),this.gopBuffer_.length=0,this.pause(),this.trigger("ended")}buffered_(){const e=this.getMediaInfo_();if(!this.sourceUpdater_||!e)return Rt();if(this.loaderType_==="main"){const{hasAudio:i,hasVideo:n,isMuxed:s}=e;if(n&&i&&!this.audioDisabled_&&!s)return this.sourceUpdater_.buffered();if(n)return this.sourceUpdater_.videoBuffered()}return this.sourceUpdater_.audioBuffered()}initSegmentForMap(e,i=!1){if(!e)return null;const n=Ea(e);let s=this.initSegments_[n];return i&&!s&&e.bytes&&(this.initSegments_[n]=s={resolvedUri:e.resolvedUri,byterange:e.byterange,bytes:e.bytes,tracks:e.tracks,timescales:e.timescales}),s||e}segmentKey(e,i=!1){if(!e)return null;const n=Xf(e);let s=this.keyCache_[n];this.cacheEncryptionKeys_&&i&&!s&&e.bytes&&(this.keyCache_[n]=s={resolvedUri:e.resolvedUri,bytes:e.bytes});const a={resolvedUri:(s||e).resolvedUri};return s&&(a.bytes=s.bytes),a}couldBeginLoading_(){return this.playlist_&&!this.paused()}load(){if(this.monitorBuffer_(),!!this.playlist_){if(this.state==="INIT"&&this.couldBeginLoading_())return this.init_();!this.couldBeginLoading_()||this.state!=="READY"&&this.state!=="INIT"||(this.state="READY")}}init_(){return this.state="READY",this.resetEverything(),this.monitorBuffer_()}playlist(e,i={}){if(!e||this.playlist_&&this.playlist_.endList&&e.endList&&this.playlist_.uri===e.uri)return;const n=this.playlist_,s=this.pendingSegment_;this.playlist_=e,this.xhrOptions_=i,this.state==="INIT"&&(e.syncInfo={mediaSequence:e.mediaSequence,time:0},this.loaderType_==="main"&&this.syncController_.setDateTimeMappingForStart(e));let a=null;if(n&&(n.id?a=n.id:n.uri&&(a=n.uri)),this.logger_(`playlist update [${a} => ${e.id||e.uri}]`),this.mediaSequenceSync_&&(this.mediaSequenceSync_.update(e,this.currentTime_()),this.logger_(`Playlist update:
|
|
210
|
+
currentTime: ${this.currentTime_()}
|
|
211
|
+
bufferedEnd: ${Wo(this.buffered_())}
|
|
212
|
+
`,this.mediaSequenceSync_.diagnostics)),this.trigger("syncinfoupdate"),this.state==="INIT"&&this.couldBeginLoading_())return this.init_();if(!n||n.uri!==e.uri){this.mediaIndex!==null&&(!e.endList&&typeof e.partTargetDuration=="number"?this.resetLoader():this.resyncLoader()),this.currentMediaInfo_=void 0,this.trigger("playlistupdate");return}const o=e.mediaSequence-n.mediaSequence;if(this.logger_(`live window shift [${o}]`),this.mediaIndex!==null)if(this.mediaIndex-=o,this.mediaIndex<0)this.mediaIndex=null,this.partIndex=null;else{const l=this.playlist_.segments[this.mediaIndex];if(this.partIndex&&(!l.parts||!l.parts.length||!l.parts[this.partIndex])){const c=this.mediaIndex;this.logger_(`currently processing part (index ${this.partIndex}) no longer exists.`),this.resetLoader(),this.mediaIndex=c}}s&&(s.mediaIndex-=o,s.mediaIndex<0?(s.mediaIndex=null,s.partIndex=null):(s.mediaIndex>=0&&(s.segment=e.segments[s.mediaIndex]),s.partIndex>=0&&s.segment.parts&&(s.part=s.segment.parts[s.partIndex]))),this.syncController_.saveExpiredSegmentInfo(n,e)}pause(){this.checkBufferTimeout_&&(K.clearTimeout(this.checkBufferTimeout_),this.checkBufferTimeout_=null)}paused(){return this.checkBufferTimeout_===null}resetEverything(e){this.ended_=!1,this.activeInitSegmentId_=null,this.appendInitSegment_={audio:!0,video:!0},this.resetLoader(),this.remove(0,1/0,e),this.transmuxer_&&(this.transmuxer_.postMessage({action:"clearAllMp4Captions"}),this.transmuxer_.postMessage({action:"reset"}))}resetLoader(){this.fetchAtBuffer_=!1,this.mediaSequenceSync_&&this.mediaSequenceSync_.resetAppendedStatus(),this.resyncLoader()}resyncLoader(){this.transmuxer_&&Zo.reset(this.transmuxer_),this.mediaIndex=null,this.partIndex=null,this.syncPoint_=null,this.isPendingTimestampOffset_=!1;const e=this.currentMediaInfo_&&this.currentMediaInfo_.isFmp4;this.sourceType_==="hls"&&!e&&(this.shouldForceTimestampOffsetAfterResync_=!0),this.callQueue_=[],this.loadQueue_=[],this.metadataQueue_.id3=[],this.metadataQueue_.caption=[],this.abort(),this.transmuxer_&&this.transmuxer_.postMessage({action:"clearParsedMp4Captions"})}remove(e,i,n=()=>{},s=!1){if(i===1/0&&(i=this.duration_()),i<=e){this.logger_("skipping remove because end ${end} is <= start ${start}");return}if(!this.sourceUpdater_||!this.getMediaInfo_()){this.logger_("skipping remove because no source updater or starting media info");return}let a=1;const o=()=>{a--,a===0&&n()};(s||!this.audioDisabled_)&&(a++,this.sourceUpdater_.removeAudio(e,i,o)),(s||this.loaderType_==="main")&&(this.gopBuffer_=j8(this.gopBuffer_,e,i,this.timeMapping_),a++,this.sourceUpdater_.removeVideo(e,i,o));for(const l in this.inbandTextTracks_)Kr(e,i,this.inbandTextTracks_[l]);Kr(e,i,this.segmentMetadataTrack_),o()}monitorBuffer_(){this.checkBufferTimeout_&&K.clearTimeout(this.checkBufferTimeout_),this.checkBufferTimeout_=K.setTimeout(this.monitorBufferTick_.bind(this),1)}monitorBufferTick_(){this.state==="READY"&&this.fillBuffer_(),this.checkBufferTimeout_&&K.clearTimeout(this.checkBufferTimeout_),this.checkBufferTimeout_=K.setTimeout(this.monitorBufferTick_.bind(this),Q8)}fillBuffer_(){if(this.sourceUpdater_.updating())return;const e=this.chooseNextRequest_();if(!e)return;const i={segmentInfo:Sn({type:this.loaderType_,segment:e})};this.trigger({type:"segmentselected",metadata:i}),typeof e.timestampOffset=="number"&&(this.isPendingTimestampOffset_=!1,this.timelineChangeController_.pendingTimelineChange({type:this.loaderType_,from:this.currentTimeline_,to:e.timeline})),this.loadSegment_(e)}isEndOfStream_(e=this.mediaIndex,i=this.playlist_,n=this.partIndex){if(!i||!this.mediaSource_)return!1;const s=typeof e=="number"&&i.segments[e],a=e+1===i.segments.length,o=!s||!s.parts||n+1===s.parts.length;return i.endList&&this.mediaSource_.readyState==="open"&&a&&o}chooseNextRequest_(){const e=this.buffered_(),i=Wo(e)||0,n=mu(e,this.currentTime_()),s=!this.hasPlayed_()&&n>=1,a=n>=this.goalBufferLength_(),o=this.playlist_.segments;if(!o.length||s||a)return null;this.syncPoint_=this.syncPoint_||this.syncController_.getSyncPoint(this.playlist_,this.duration_(),this.currentTimeline_,this.currentTime_(),this.loaderType_);const l={partIndex:null,mediaIndex:null,startOfSegment:null,playlist:this.playlist_,isSyncRequest:!this.syncPoint_};if(l.isSyncRequest)l.mediaIndex=G8(this.currentTimeline_,o,i),this.logger_(`choose next request. Can not find sync point. Fallback to media Index: ${l.mediaIndex}`);else if(this.mediaIndex!==null){const E=o[this.mediaIndex],C=typeof this.partIndex=="number"?this.partIndex:-1;l.startOfSegment=E.end?E.end:i,E.parts&&E.parts[C+1]?(l.mediaIndex=this.mediaIndex,l.partIndex=C+1):l.mediaIndex=this.mediaIndex+1}else{let E,C,w;const v=this.fetchAtBuffer_?i:this.currentTime_();if(this.mediaSequenceSync_&&this.logger_(`chooseNextRequest_ request after Quality Switch:
|
|
213
|
+
For TargetTime: ${v}.
|
|
214
|
+
CurrentTime: ${this.currentTime_()}
|
|
215
|
+
BufferedEnd: ${i}
|
|
216
|
+
Fetch At Buffer: ${this.fetchAtBuffer_}
|
|
217
|
+
`,this.mediaSequenceSync_.diagnostics),this.mediaSequenceSync_&&this.mediaSequenceSync_.isReliable){const b=this.getSyncInfoFromMediaSequenceSync_(v);if(!b){const k="No sync info found while using media sequence sync";return this.error({message:k,metadata:{errorType:ae.Error.StreamingFailedToSelectNextSegment,error:new Error(k)}}),this.logger_("chooseNextRequest_ - no sync info found using media sequence sync"),null}this.logger_(`chooseNextRequest_ mediaSequence syncInfo (${b.start} --> ${b.end})`),E=b.segmentIndex,C=b.partIndex,w=b.start}else{this.logger_("chooseNextRequest_ - fallback to a regular segment selection algorithm, based on a syncPoint.");const b=ui.getMediaInfoForTime({exactManifestTimings:this.exactManifestTimings,playlist:this.playlist_,currentTime:v,startingPartIndex:this.syncPoint_.partIndex,startingSegmentIndex:this.syncPoint_.segmentIndex,startTime:this.syncPoint_.time});E=b.segmentIndex,C=b.partIndex,w=b.startTime}l.getMediaInfoForTime=this.fetchAtBuffer_?`bufferedEnd ${v}`:`currentTime ${v}`,l.mediaIndex=E,l.startOfSegment=w,l.partIndex=C,this.logger_(`choose next request. Playlist switched and we have a sync point. Media Index: ${l.mediaIndex} `)}const c=o[l.mediaIndex];let d=c&&typeof l.partIndex=="number"&&c.parts&&c.parts[l.partIndex];if(!c||typeof l.partIndex=="number"&&!d)return null;typeof l.partIndex!="number"&&c.parts&&(l.partIndex=0,d=c.parts[0]);const m=this.vhs_.playlists&&this.vhs_.playlists.main&&this.vhs_.playlists.main.independentSegments||this.playlist_.independentSegments;if(!n&&d&&!m&&!d.independent)if(l.partIndex===0){const E=o[l.mediaIndex-1],C=E.parts&&E.parts.length&&E.parts[E.parts.length-1];C&&C.independent&&(l.mediaIndex-=1,l.partIndex=E.parts.length-1,l.independent="previous segment")}else c.parts[l.partIndex-1].independent&&(l.partIndex-=1,l.independent="previous part");const g=this.mediaSource_&&this.mediaSource_.readyState==="ended";return l.mediaIndex>=o.length-1&&g&&!this.seeking_()?null:(this.shouldForceTimestampOffsetAfterResync_&&(this.shouldForceTimestampOffsetAfterResync_=!1,l.forceTimestampOffset=!0,this.logger_("choose next request. Force timestamp offset after loader resync")),this.generateSegmentInfo_(l))}getSyncInfoFromMediaSequenceSync_(e){if(!this.mediaSequenceSync_)return null;const i=Math.max(e,this.mediaSequenceSync_.start);e!==i&&this.logger_(`getSyncInfoFromMediaSequenceSync_. Pulled target time from ${e} to ${i}`);const n=this.mediaSequenceSync_.getSyncInfoForTime(i);if(!n)return null;if(!n.isAppended)return n;const s=this.mediaSequenceSync_.getSyncInfoForTime(n.end);return s?(s.isAppended&&this.logger_("getSyncInfoFromMediaSequenceSync_: We encounter unexpected scenario where next media sequence sync info is also appended!"),s):null}generateSegmentInfo_(e){const{independent:i,playlist:n,mediaIndex:s,startOfSegment:a,isSyncRequest:o,partIndex:l,forceTimestampOffset:c,getMediaInfoForTime:d}=e,m=n.segments[s],g=typeof l=="number"&&m.parts[l],E={requestId:"segment-loader-"+Math.random(),uri:g&&g.resolvedUri||m.resolvedUri,mediaIndex:s,partIndex:g?l:null,isSyncRequest:o,startOfSegment:a,playlist:n,bytes:null,encryptedBytes:null,timestampOffset:null,timeline:m.timeline,duration:g&&g.duration||m.duration,segment:m,part:g,byteLength:0,transmuxer:this.transmuxer_,getMediaInfoForTime:d,independent:i},C=typeof c<"u"?c:this.isPendingTimestampOffset_;E.timestampOffset=this.timestampOffsetForSegment_({segmentTimeline:m.timeline,currentTimeline:this.currentTimeline_,startOfSegment:a,buffered:this.buffered_(),overrideCheck:C});const w=Wo(this.sourceUpdater_.audioBuffered());return typeof w=="number"&&(E.audioAppendStart=w-this.sourceUpdater_.audioTimestampOffset()),this.sourceUpdater_.videoBuffered().length&&(E.gopsToAlignWith=z8(this.gopBuffer_,this.currentTime_()-this.sourceUpdater_.videoTimestampOffset(),this.timeMapping_)),E}timestampOffsetForSegment_(e){return W8(e)}earlyAbortWhenNeeded_(e){if(this.vhs_.tech_.paused()||!this.xhrOptions_.timeout||!this.playlist_.attributes.BANDWIDTH||Date.now()-(e.firstBytesReceivedAt||Date.now())<1e3)return;const i=this.currentTime_(),n=e.bandwidth,s=this.pendingSegment_.duration,a=ui.estimateSegmentRequestTime(s,n,this.playlist_,e.bytesReceived),o=y4(this.buffered_(),i,this.vhs_.tech_.playbackRate())-1;if(a<=o)return;const l=V8({main:this.vhs_.playlists.main,currentTime:i,bandwidth:n,duration:this.duration_(),segmentDuration:s,timeUntilRebuffer:o,currentTimeline:this.currentTimeline_,syncController:this.syncController_});if(!l)return;const d=a-o-l.rebufferingImpact;let m=.5;o<=zi&&(m=1),!(!l.playlist||l.playlist.uri===this.playlist_.uri||d<m)&&(this.bandwidth=l.playlist.attributes.BANDWIDTH*Mt.BANDWIDTH_VARIANCE+1,this.trigger("earlyabort"))}handleAbort_(e){this.logger_(`Aborting ${Xn(e)}`),this.mediaRequestsAborted+=1}handleProgress_(e,i){this.earlyAbortWhenNeeded_(i.stats),!this.checkForAbort_(i.requestId)&&this.trigger("progress")}handleTrackInfo_(e,i){const{hasAudio:n,hasVideo:s}=i,a={segmentInfo:Sn({type:this.loaderType_,segment:e}),trackInfo:{hasAudio:n,hasVideo:s}};this.trigger({type:"segmenttransmuxingtrackinfoavailable",metadata:a}),this.earlyAbortWhenNeeded_(e.stats),!this.checkForAbort_(e.requestId)&&(this.checkForIllegalMediaSwitch(i)||(i=i||{},X8(this.currentMediaInfo_,i)||(this.appendInitSegment_={audio:!0,video:!0},this.startingMediaInfo_=i,this.currentMediaInfo_=i,this.logger_("trackinfo update",i),this.trigger("trackinfo")),!this.checkForAbort_(e.requestId)&&(this.pendingSegment_.trackInfo=i,this.hasEnoughInfoToAppend_()?this.processCallQueue_():cn(this))))}handleTimingInfo_(e,i,n,s){if(this.earlyAbortWhenNeeded_(e.stats),this.checkForAbort_(e.requestId))return;const a=this.pendingSegment_,o=jd(i);a[o]=a[o]||{},a[o][n]=s,this.logger_(`timinginfo: ${i} - ${n} - ${s}`),this.hasEnoughInfoToAppend_()?this.processCallQueue_():cn(this)}handleCaptions_(e,i){if(this.earlyAbortWhenNeeded_(e.stats),this.checkForAbort_(e.requestId))return;if(i.length===0){this.logger_("SegmentLoader received no captions from a caption event");return}if(!this.pendingSegment_.hasAppendedData_){this.metadataQueue_.caption.push(this.handleCaptions_.bind(this,e,i));return}const s=this.sourceUpdater_.videoTimestampOffset()===null?this.sourceUpdater_.audioTimestampOffset():this.sourceUpdater_.videoTimestampOffset(),a={};i.forEach(o=>{a[o.stream]=a[o.stream]||{startTime:1/0,captions:[],endTime:0};const l=a[o.stream];l.startTime=Math.min(l.startTime,o.startTime+s),l.endTime=Math.max(l.endTime,o.endTime+s),l.captions.push(o)}),Object.keys(a).forEach(o=>{const{startTime:l,endTime:c,captions:d}=a[o],m=this.inbandTextTracks_;this.logger_(`adding cues from ${l} -> ${c} for ${o}`),O8(m,this.vhs_.tech_,o),Kr(l,c,m[o]),P8({captionArray:d,inbandTextTracks:m,timestampOffset:s})}),this.transmuxer_&&this.transmuxer_.postMessage({action:"clearParsedMp4Captions"})}handleId3_(e,i,n){if(this.earlyAbortWhenNeeded_(e.stats),this.checkForAbort_(e.requestId))return;if(!this.pendingSegment_.hasAppendedData_){this.metadataQueue_.id3.push(this.handleId3_.bind(this,e,i,n));return}this.addMetadataToTextTrack(n,i,this.duration_())}processMetadataQueue_(){this.metadataQueue_.id3.forEach(e=>e()),this.metadataQueue_.caption.forEach(e=>e()),this.metadataQueue_.id3=[],this.metadataQueue_.caption=[]}processCallQueue_(){const e=this.callQueue_;this.callQueue_=[],e.forEach(i=>i())}processLoadQueue_(){const e=this.loadQueue_;this.loadQueue_=[],e.forEach(i=>i())}hasEnoughInfoToLoad_(){if(this.loaderType_!=="audio")return!0;const e=this.pendingSegment_;return e?this.getCurrentMediaInfo_()?!_l({timelineChangeController:this.timelineChangeController_,currentTimeline:this.currentTimeline_,segmentTimeline:e.timeline,loaderType:this.loaderType_,audioDisabled:this.audioDisabled_}):!0:!1}getCurrentMediaInfo_(e=this.pendingSegment_){return e&&e.trackInfo||this.currentMediaInfo_}getMediaInfo_(e=this.pendingSegment_){return this.getCurrentMediaInfo_(e)||this.startingMediaInfo_}getPendingSegmentPlaylist(){return this.pendingSegment_?this.pendingSegment_.playlist:null}hasEnoughInfoToAppend_(){if(!this.sourceUpdater_.ready()||this.waitingOnRemove_||this.quotaExceededErrorRetryTimeout_)return!1;const e=this.pendingSegment_,i=this.getCurrentMediaInfo_();if(!e||!i)return!1;const{hasAudio:n,hasVideo:s,isMuxed:a}=i;return!(s&&!e.videoTimingInfo||n&&!this.audioDisabled_&&!a&&!e.audioTimingInfo||_l({timelineChangeController:this.timelineChangeController_,currentTimeline:this.currentTimeline_,segmentTimeline:e.timeline,loaderType:this.loaderType_,audioDisabled:this.audioDisabled_}))}handleData_(e,i){if(this.earlyAbortWhenNeeded_(e.stats),this.checkForAbort_(e.requestId))return;if(this.callQueue_.length||!this.hasEnoughInfoToAppend_()){cn(this),this.callQueue_.push(this.handleData_.bind(this,e,i));return}const n=this.pendingSegment_;if(this.setTimeMapping_(n.timeline),this.updateMediaSecondsLoaded_(n.part||n.segment),this.mediaSource_.readyState!=="closed"){if(e.map&&(e.map=this.initSegmentForMap(e.map,!0),n.segment.map=e.map),e.key&&this.segmentKey(e.key,!0),n.isFmp4=e.isFmp4,n.timingInfo=n.timingInfo||{},n.isFmp4)this.trigger("fmp4"),n.timingInfo.start=n[jd(i.type)].start;else{const s=this.getCurrentMediaInfo_(),a=this.loaderType_==="main"&&s&&s.hasVideo;let o;a&&(o=n.videoTimingInfo.start),n.timingInfo.start=this.trueSegmentStart_({currentStart:n.timingInfo.start,playlist:n.playlist,mediaIndex:n.mediaIndex,currentVideoTimestampOffset:this.sourceUpdater_.videoTimestampOffset(),useVideoTimingInfo:a,firstVideoFrameTimeForData:o,videoTimingInfo:n.videoTimingInfo,audioTimingInfo:n.audioTimingInfo})}if(this.updateAppendInitSegmentStatus(n,i.type),this.updateSourceBufferTimestampOffset_(n),n.isSyncRequest){this.updateTimingInfoEnd_(n),this.syncController_.saveSegmentTimingInfo({segmentInfo:n,shouldSaveTimelineMapping:this.loaderType_==="main"});const s=this.chooseNextRequest_();if(s.mediaIndex!==n.mediaIndex||s.partIndex!==n.partIndex){this.logger_("sync segment was incorrect, not appending");return}this.logger_("sync segment was correct, appending")}n.hasAppendedData_=!0,this.processMetadataQueue_(),this.appendData_(n,i)}}updateAppendInitSegmentStatus(e,i){this.loaderType_==="main"&&typeof e.timestampOffset=="number"&&!e.changedTimestampOffset&&(this.appendInitSegment_={audio:!0,video:!0}),this.playlistOfLastInitSegment_[i]!==e.playlist&&(this.appendInitSegment_[i]=!0)}getInitSegmentAndUpdateState_({type:e,initSegment:i,map:n,playlist:s}){if(n){const a=Ea(n);if(this.activeInitSegmentId_===a)return null;i=this.initSegmentForMap(n,!0).bytes,this.activeInitSegmentId_=a}return i&&this.appendInitSegment_[e]?(this.playlistOfLastInitSegment_[e]=s,this.appendInitSegment_[e]=!1,this.activeInitSegmentId_=null,i):null}handleQuotaExceededError_({segmentInfo:e,type:i,bytes:n},s){const a=this.sourceUpdater_.audioBuffered(),o=this.sourceUpdater_.videoBuffered();a.length>1&&this.logger_("On QUOTA_EXCEEDED_ERR, found gaps in the audio buffer: "+Bn(a).join(", ")),o.length>1&&this.logger_("On QUOTA_EXCEEDED_ERR, found gaps in the video buffer: "+Bn(o).join(", "));const l=a.length?a.start(0):0,c=a.length?a.end(a.length-1):0,d=o.length?o.start(0):0,m=o.length?o.end(o.length-1):0;if(c-l<=jr&&m-d<=jr){this.logger_(`On QUOTA_EXCEEDED_ERR, single segment too large to append to buffer, triggering an error. Appended byte length: ${n.byteLength}, audio buffer: ${Bn(a).join(", ")}, video buffer: ${Bn(o).join(", ")}, `),this.error({message:"Quota exceeded error with append of a single segment of content",excludeUntil:1/0}),this.trigger("error");return}this.waitingOnRemove_=!0,this.callQueue_.push(this.appendToSourceBuffer_.bind(this,{segmentInfo:e,type:i,bytes:n}));const E=this.currentTime_()-jr;this.logger_(`On QUOTA_EXCEEDED_ERR, removing audio/video from 0 to ${E}`),this.remove(0,E,()=>{this.logger_(`On QUOTA_EXCEEDED_ERR, retrying append in ${jr}s`),this.waitingOnRemove_=!1,this.quotaExceededErrorRetryTimeout_=K.setTimeout(()=>{this.logger_("On QUOTA_EXCEEDED_ERR, re-processing call queue"),this.quotaExceededErrorRetryTimeout_=null,this.processCallQueue_()},jr*1e3)},!0)}handleAppendError_({segmentInfo:e,type:i,bytes:n},s){if(s){if(s.code===Lf){this.handleQuotaExceededError_({segmentInfo:e,type:i,bytes:n});return}this.logger_("Received non QUOTA_EXCEEDED_ERR on append",s),this.error({message:`${i} append of ${n.length}b failed for segment #${e.mediaIndex} in playlist ${e.playlist.id}`,metadata:{errorType:ae.Error.StreamingFailedToAppendSegment}}),this.trigger("appenderror")}}appendToSourceBuffer_({segmentInfo:e,type:i,initSegment:n,data:s,bytes:a}){if(!a){const l=[s];let c=s.byteLength;n&&(l.unshift(n),c+=n.byteLength),a=N8({bytes:c,segments:l})}const o={segmentInfo:Sn({type:this.loaderType_,segment:e})};this.trigger({type:"segmentappendstart",metadata:o}),this.sourceUpdater_.appendBuffer({segmentInfo:e,type:i,bytes:a},this.handleAppendError_.bind(this,{segmentInfo:e,type:i,bytes:a}))}handleSegmentTimingInfo_(e,i,n){if(!this.pendingSegment_||i!==this.pendingSegment_.requestId)return;const s=this.pendingSegment_.segment,a=`${e}TimingInfo`;s[a]||(s[a]={}),s[a].transmuxerPrependedSeconds=n.prependedContentDuration||0,s[a].transmuxedPresentationStart=n.start.presentation,s[a].transmuxedDecodeStart=n.start.decode,s[a].transmuxedPresentationEnd=n.end.presentation,s[a].transmuxedDecodeEnd=n.end.decode,s[a].baseMediaDecodeTime=n.baseMediaDecodeTime}appendData_(e,i){const{type:n,data:s}=i;if(!s||!s.byteLength||n==="audio"&&this.audioDisabled_)return;const a=this.getInitSegmentAndUpdateState_({type:n,initSegment:i.initSegment,playlist:e.playlist,map:e.isFmp4?e.segment.map:null});this.appendToSourceBuffer_({segmentInfo:e,type:n,initSegment:a,data:s})}loadSegment_(e){if(this.state="WAITING",this.pendingSegment_=e,this.trimBackBuffer_(e),typeof e.timestampOffset=="number"&&this.transmuxer_&&this.transmuxer_.postMessage({action:"clearAllMp4Captions"}),!this.hasEnoughInfoToLoad_()){cn(this),this.loadQueue_.push(()=>{const i=_t({},e,{forceTimestampOffset:!0});_t(e,this.generateSegmentInfo_(i)),this.isPendingTimestampOffset_=!1,this.updateTransmuxerAndRequestSegment_(e)});return}this.updateTransmuxerAndRequestSegment_(e)}updateTransmuxerAndRequestSegment_(e){this.shouldUpdateTransmuxerTimestampOffset_(e.timestampOffset)&&(this.gopBuffer_.length=0,e.gopsToAlignWith=[],this.timeMapping_=0,this.transmuxer_.postMessage({action:"reset"}),this.transmuxer_.postMessage({action:"setTimestampOffset",timestampOffset:e.timestampOffset}));const i=this.createSimplifiedSegmentObj_(e),n=this.isEndOfStream_(e.mediaIndex,e.playlist,e.partIndex),s=this.mediaIndex!==null,a=e.timeline!==this.currentTimeline_&&e.timeline>0,o=n||s&&a;this.logger_(`Requesting
|
|
218
|
+
${lp(e.uri)}
|
|
219
|
+
${Xn(e)}`),i.map&&!i.map.bytes&&(this.logger_("going to request init segment."),this.appendInitSegment_={video:!0,audio:!0}),e.abortRequests=w8({xhr:this.vhs_.xhr,xhrOptions:this.xhrOptions_,decryptionWorker:this.decrypter_,segment:i,abortFn:this.handleAbort_.bind(this,e),progressFn:this.handleProgress_.bind(this),trackInfoFn:this.handleTrackInfo_.bind(this),timingInfoFn:this.handleTimingInfo_.bind(this),videoSegmentTimingInfoFn:this.handleSegmentTimingInfo_.bind(this,"video",e.requestId),audioSegmentTimingInfoFn:this.handleSegmentTimingInfo_.bind(this,"audio",e.requestId),captionsFn:this.handleCaptions_.bind(this),isEndOfTimeline:o,endedTimelineFn:()=>{this.logger_("received endedtimeline callback")},id3Fn:this.handleId3_.bind(this),dataFn:this.handleData_.bind(this),doneFn:this.segmentRequestFinished_.bind(this),onTransmuxerLog:({message:l,level:c,stream:d})=>{this.logger_(`${Xn(e)} logged from transmuxer stream ${d} as a ${c}: ${l}`)},triggerSegmentEventFn:({type:l,segment:c,keyInfo:d,trackInfo:m,timingInfo:g})=>{const C={segmentInfo:Sn({segment:c})};d&&(C.keyInfo=d),m&&(C.trackInfo=m),g&&(C.timingInfo=g),this.trigger({type:l,metadata:C})}})}trimBackBuffer_(e){const i=K8(this.seekable_(),this.currentTime_(),this.playlist_.targetDuration||10);i>0&&this.remove(0,i)}createSimplifiedSegmentObj_(e){const i=e.segment,n=e.part,s=e.segment.key||e.segment.map&&e.segment.map.key,a=e.segment.map&&!e.segment.map.bytes,o={resolvedUri:n?n.resolvedUri:i.resolvedUri,byterange:n?n.byterange:i.byterange,requestId:e.requestId,transmuxer:e.transmuxer,audioAppendStart:e.audioAppendStart,gopsToAlignWith:e.gopsToAlignWith,part:e.part,type:this.loaderType_,start:e.startOfSegment,duration:e.duration,isEncrypted:s,isMediaInitialization:a},l=e.playlist.segments[e.mediaIndex-1];if(l&&l.timeline===i.timeline&&(l.videoTimingInfo?o.baseStartTime=l.videoTimingInfo.transmuxedDecodeEnd:l.audioTimingInfo&&(o.baseStartTime=l.audioTimingInfo.transmuxedDecodeEnd)),i.key){const c=i.key.iv||new Uint32Array([0,0,0,e.mediaIndex+e.playlist.mediaSequence]);o.key=this.segmentKey(i.key),o.key.iv=c}return i.map&&(o.map=this.initSegmentForMap(i.map)),o}saveTransferStats_(e){this.mediaRequests+=1,e&&(this.mediaBytesTransferred+=e.bytesReceived,this.mediaTransferDuration+=e.roundTripTime)}saveBandwidthRelatedStats_(e,i){if(this.pendingSegment_.byteLength=i.bytesReceived,e<Qs){this.logger_(`Ignoring segment's bandwidth because its duration of ${e} is less than the min to record ${Qs}`);return}const n={bandwidthInfo:{from:this.bandwidth,to:i.bandwidth}};this.trigger({type:"bandwidthupdated",metadata:n}),this.bandwidth=i.bandwidth,this.roundTrip=i.roundTripTime}handleTimeout_(){this.mediaRequestsTimedout+=1,this.bandwidth=1,this.roundTrip=NaN,this.trigger("bandwidthupdate"),this.trigger("timeout")}segmentRequestFinished_(e,i,n){if(this.callQueue_.length){this.callQueue_.push(this.segmentRequestFinished_.bind(this,e,i,n));return}if(this.saveTransferStats_(i.stats),!this.pendingSegment_||i.requestId!==this.pendingSegment_.requestId)return;if(e){if(this.pendingSegment_=null,this.state="READY",e.code===ji.ABORTED)return;if(this.pause(),e.code===ji.TIMEOUT){this.handleTimeout_();return}this.mediaRequestsErrored+=1,this.error(e),this.trigger("error");return}const s=this.pendingSegment_;this.saveBandwidthRelatedStats_(s.duration,i.stats),s.endOfAllRequests=i.endOfAllRequests,n.gopInfo&&(this.gopBuffer_=H8(this.gopBuffer_,n.gopInfo,this.safeAppend_)),this.state="APPENDING",this.trigger("appending"),this.waitForAppendsToComplete_(s)}setTimeMapping_(e){const i=this.syncController_.mappingForTimeline(e);i!==null&&(this.timeMapping_=i)}updateMediaSecondsLoaded_(e){typeof e.start=="number"&&typeof e.end=="number"?this.mediaSecondsLoaded+=e.end-e.start:this.mediaSecondsLoaded+=e.duration}shouldUpdateTransmuxerTimestampOffset_(e){return e===null?!1:this.loaderType_==="main"&&e!==this.sourceUpdater_.videoTimestampOffset()||!this.audioDisabled_&&e!==this.sourceUpdater_.audioTimestampOffset()}trueSegmentStart_({currentStart:e,playlist:i,mediaIndex:n,firstVideoFrameTimeForData:s,currentVideoTimestampOffset:a,useVideoTimingInfo:o,videoTimingInfo:l,audioTimingInfo:c}){if(typeof e<"u")return e;if(!o)return c.start;const d=i.segments[n-1];return n===0||!d||typeof d.start>"u"||d.end!==s+a?s:l.start}waitForAppendsToComplete_(e){const i=this.getCurrentMediaInfo_(e);if(!i){this.error({message:"No starting media returned, likely due to an unsupported media format.",playlistExclusionDuration:1/0}),this.trigger("error");return}const{hasAudio:n,hasVideo:s,isMuxed:a}=i,o=this.loaderType_==="main"&&s,l=!this.audioDisabled_&&n&&!a;if(e.waitingOnAppends=0,!e.hasAppendedData_){!e.timingInfo&&typeof e.timestampOffset=="number"&&(this.isPendingTimestampOffset_=!0),e.timingInfo={start:0},e.waitingOnAppends++,this.isPendingTimestampOffset_||(this.updateSourceBufferTimestampOffset_(e),this.processMetadataQueue_()),this.checkAppendsDone_(e);return}o&&e.waitingOnAppends++,l&&e.waitingOnAppends++,o&&this.sourceUpdater_.videoQueueCallback(this.checkAppendsDone_.bind(this,e)),l&&this.sourceUpdater_.audioQueueCallback(this.checkAppendsDone_.bind(this,e))}checkAppendsDone_(e){this.checkForAbort_(e.requestId)||(e.waitingOnAppends--,e.waitingOnAppends===0&&this.handleAppendsDone_())}checkForIllegalMediaSwitch(e){const i=Y8(this.loaderType_,this.getCurrentMediaInfo_(),e);return i?(this.error({message:i,playlistExclusionDuration:1/0}),this.trigger("error"),!0):!1}updateSourceBufferTimestampOffset_(e){if(e.timestampOffset===null||typeof e.timingInfo.start!="number"||e.changedTimestampOffset||this.loaderType_!=="main")return;let i=!1;e.timestampOffset-=this.getSegmentStartTimeForTimestampOffsetCalculation_({videoTimingInfo:e.segment.videoTimingInfo,audioTimingInfo:e.segment.audioTimingInfo,timingInfo:e.timingInfo}),e.changedTimestampOffset=!0,e.timestampOffset!==this.sourceUpdater_.videoTimestampOffset()&&(this.sourceUpdater_.videoTimestampOffset(e.timestampOffset),i=!0),e.timestampOffset!==this.sourceUpdater_.audioTimestampOffset()&&(this.sourceUpdater_.audioTimestampOffset(e.timestampOffset),i=!0),i&&this.trigger("timestampoffset")}getSegmentStartTimeForTimestampOffsetCalculation_({videoTimingInfo:e,audioTimingInfo:i,timingInfo:n}){return this.useDtsForTimestampOffset_?e&&typeof e.transmuxedDecodeStart=="number"?e.transmuxedDecodeStart:i&&typeof i.transmuxedDecodeStart=="number"?i.transmuxedDecodeStart:n.start:n.start}updateTimingInfoEnd_(e){e.timingInfo=e.timingInfo||{};const i=this.getMediaInfo_(),s=this.loaderType_==="main"&&i&&i.hasVideo&&e.videoTimingInfo?e.videoTimingInfo:e.audioTimingInfo;s&&(e.timingInfo.end=typeof s.end=="number"?s.end:s.start+e.duration)}handleAppendsDone_(){if(this.pendingSegment_){const c={segmentInfo:Sn({type:this.loaderType_,segment:this.pendingSegment_})};this.trigger({type:"appendsdone",metadata:c})}if(!this.pendingSegment_){this.state="READY",this.paused()||this.monitorBuffer_();return}const e=this.pendingSegment_;e.part&&e.part.syncInfo?e.part.syncInfo.markAppended():e.segment.syncInfo&&e.segment.syncInfo.markAppended(),this.updateTimingInfoEnd_(e),this.shouldSaveSegmentTimingInfo_&&this.syncController_.saveSegmentTimingInfo({segmentInfo:e,shouldSaveTimelineMapping:this.loaderType_==="main"});const i=eb(e,this.sourceType_);if(i&&(i.severity==="warn"?ae.log.warn(i.message):this.logger_(i.message)),this.recordThroughput_(e),this.pendingSegment_=null,this.state="READY",e.isSyncRequest&&(this.trigger("syncinfoupdate"),!e.hasAppendedData_)){this.logger_(`Throwing away un-appended sync request ${Xn(e)}`);return}this.logger_(`Appended ${Xn(e)}`),this.addSegmentMetadataCue_(e),this.fetchAtBuffer_=!0,this.currentTimeline_!==e.timeline&&(this.timelineChangeController_.lastTimelineChange({type:this.loaderType_,from:this.currentTimeline_,to:e.timeline}),this.loaderType_==="main"&&!this.audioDisabled_&&this.timelineChangeController_.lastTimelineChange({type:"audio",from:this.currentTimeline_,to:e.timeline})),this.currentTimeline_=e.timeline,this.trigger("syncinfoupdate");const n=e.segment,s=e.part,a=n.end&&this.currentTime_()-n.end>e.playlist.targetDuration*3,o=s&&s.end&&this.currentTime_()-s.end>e.playlist.partTargetDuration*3;if(a||o){this.logger_(`bad ${a?"segment":"part"} ${Xn(e)}`),this.resetEverything();return}this.mediaIndex!==null&&this.trigger("bandwidthupdate"),this.trigger("progress"),this.mediaIndex=e.mediaIndex,this.partIndex=e.partIndex,this.isEndOfStream_(e.mediaIndex,e.playlist,e.partIndex)&&this.endOfStream(),this.trigger("appended"),e.hasAppendedData_&&this.mediaAppends++,this.paused()||this.monitorBuffer_()}recordThroughput_(e){if(e.duration<Qs){this.logger_(`Ignoring segment's throughput because its duration of ${e.duration} is less than the min to record ${Qs}`);return}const i=this.throughput.rate,n=Date.now()-e.endOfAllRequests+1,s=Math.floor(e.byteLength/n*8*1e3);this.throughput.rate+=(s-i)/++this.throughput.count}addSegmentMetadataCue_(e){if(!this.segmentMetadataTrack_)return;const i=e.segment,n=i.start,s=i.end;if(!Hd(n)||!Hd(s))return;Kr(n,s,this.segmentMetadataTrack_);const a=K.WebKitDataCue||K.VTTCue,o={custom:i.custom,dateTimeObject:i.dateTimeObject,dateTimeString:i.dateTimeString,programDateTime:i.programDateTime,bandwidth:e.playlist.attributes.BANDWIDTH,resolution:e.playlist.attributes.RESOLUTION,codecs:e.playlist.attributes.CODECS,byteLength:e.byteLength,uri:e.uri,timeline:e.timeline,playlist:e.playlist.id,start:n,end:s},l=JSON.stringify(o),c=new a(n,s,l);c.value=o,this.segmentMetadataTrack_.addCue(c)}}function en(){}const up=function(r){return typeof r!="string"?r:r.replace(/./,e=>e.toUpperCase())},tb=["video","audio"],wl=(r,e)=>{const i=e[`${r}Buffer`];return i&&i.updating||e.queuePending[r]},ib=(r,e)=>{for(let i=0;i<e.length;i++){const n=e[i];if(n.type==="mediaSource")return null;if(n.type===r)return i}return null},nr=(r,e)=>{if(e.queue.length===0)return;let i=0,n=e.queue[i];if(n.type==="mediaSource"){!e.updating()&&e.mediaSource.readyState!=="closed"&&(e.queue.shift(),n.action(e),n.doneFn&&n.doneFn(),nr("audio",e),nr("video",e));return}if(r!=="mediaSource"&&!(!e.ready()||e.mediaSource.readyState==="closed"||wl(r,e))){if(n.type!==r){if(i=ib(r,e.queue),i===null)return;n=e.queue[i]}if(e.queue.splice(i,1),e.queuePending[r]=n,n.action(r,e),!n.doneFn){e.queuePending[r]=null,nr(r,e);return}}},cp=(r,e)=>{const i=e[`${r}Buffer`],n=up(r);i&&(i.removeEventListener("updateend",e[`on${n}UpdateEnd_`]),i.removeEventListener("error",e[`on${n}Error_`]),e.codecs[r]=null,e[`${r}Buffer`]=null)},Fi=(r,e)=>r&&e&&Array.prototype.indexOf.call(r.sourceBuffers,e)!==-1,hi={appendBuffer:(r,e,i)=>(n,s)=>{const a=s[`${n}Buffer`];if(Fi(s.mediaSource,a)){s.logger_(`Appending segment ${e.mediaIndex}'s ${r.length} bytes to ${n}Buffer`);try{a.appendBuffer(r)}catch(o){s.logger_(`Error with code ${o.code} `+(o.code===Lf?"(QUOTA_EXCEEDED_ERR) ":"")+`when appending segment ${e.mediaIndex} to ${n}Buffer`),s.queuePending[n]=null,i(o)}}},remove:(r,e)=>(i,n)=>{const s=n[`${i}Buffer`];if(Fi(n.mediaSource,s)){n.logger_(`Removing ${r} to ${e} from ${i}Buffer`);try{s.remove(r,e)}catch{n.logger_(`Remove ${r} to ${e} from ${i}Buffer failed`)}}},timestampOffset:r=>(e,i)=>{const n=i[`${e}Buffer`];Fi(i.mediaSource,n)&&(i.logger_(`Setting ${e}timestampOffset to ${r}`),n.timestampOffset=r)},callback:r=>(e,i)=>{r()},endOfStream:r=>e=>{if(e.mediaSource.readyState==="open"){e.logger_(`Calling mediaSource endOfStream(${r||""})`);try{e.mediaSource.endOfStream(r)}catch(i){ae.log.warn("Failed to call media source endOfStream",i)}}},duration:r=>e=>{e.logger_(`Setting mediaSource duration to ${r}`);try{e.mediaSource.duration=r}catch(i){ae.log.warn("Failed to set media source duration",i)}},abort:()=>(r,e)=>{if(e.mediaSource.readyState!=="open")return;const i=e[`${r}Buffer`];if(Fi(e.mediaSource,i)){e.logger_(`calling abort on ${r}Buffer`);try{i.abort()}catch(n){ae.log.warn(`Failed to abort on ${r}Buffer`,n)}}},addSourceBuffer:(r,e)=>i=>{const n=up(r),s=rr(e);i.logger_(`Adding ${r}Buffer with codec ${e} to mediaSource`);const a=i.mediaSource.addSourceBuffer(s);a.addEventListener("updateend",i[`on${n}UpdateEnd_`]),a.addEventListener("error",i[`on${n}Error_`]),i.codecs[r]=e,i[`${r}Buffer`]=a},removeSourceBuffer:r=>e=>{const i=e[`${r}Buffer`];if(cp(r,e),!!Fi(e.mediaSource,i)){e.logger_(`Removing ${r}Buffer with codec ${e.codecs[r]} from mediaSource`);try{e.mediaSource.removeSourceBuffer(i)}catch(n){ae.log.warn(`Failed to removeSourceBuffer ${r}Buffer`,n)}}},changeType:r=>(e,i)=>{const n=i[`${e}Buffer`],s=rr(r);if(!Fi(i.mediaSource,n))return;const a=r.substring(0,r.indexOf(".")),o=i.codecs[e];if(o.substring(0,o.indexOf("."))===a)return;const c={codecsChangeInfo:{from:o,to:r}};i.trigger({type:"codecschange",metadata:c}),i.logger_(`changing ${e}Buffer codec from ${o} to ${r}`);try{n.changeType(s),i.codecs[e]=r}catch(d){c.errorType=ae.Error.StreamingCodecsChangeError,c.error=d,d.metadata=c,i.error_=d,i.trigger("error"),ae.log.warn(`Failed to changeType on ${e}Buffer`,d)}}},fi=({type:r,sourceUpdater:e,action:i,doneFn:n,name:s})=>{e.queue.push({type:r,action:i,doneFn:n,name:s}),nr(r,e)},Gd=(r,e)=>i=>{const n=e[`${r}Buffered`](),s=m4(n);if(e.logger_(`received "updateend" event for ${r} Source Buffer: `,s),e.queuePending[r]){const a=e.queuePending[r].doneFn;e.queuePending[r]=null,a&&a(e[`${r}Error_`])}nr(r,e)};class dp extends ae.EventTarget{constructor(e){super(),this.mediaSource=e,this.sourceopenListener_=()=>nr("mediaSource",this),this.mediaSource.addEventListener("sourceopen",this.sourceopenListener_),this.logger_=ki("SourceUpdater"),this.audioTimestampOffset_=0,this.videoTimestampOffset_=0,this.queue=[],this.queuePending={audio:null,video:null},this.delayedAudioAppendQueue_=[],this.videoAppendQueued_=!1,this.codecs={},this.onVideoUpdateEnd_=Gd("video",this),this.onAudioUpdateEnd_=Gd("audio",this),this.onVideoError_=i=>{this.videoError_=i},this.onAudioError_=i=>{this.audioError_=i},this.createdSourceBuffers_=!1,this.initializedEme_=!1,this.triggeredReady_=!1}initializedEme(){this.initializedEme_=!0,this.triggerReady()}hasCreatedSourceBuffers(){return this.createdSourceBuffers_}hasInitializedAnyEme(){return this.initializedEme_}ready(){return this.hasCreatedSourceBuffers()&&this.hasInitializedAnyEme()}createSourceBuffers(e){this.hasCreatedSourceBuffers()||(this.addOrChangeSourceBuffers(e),this.createdSourceBuffers_=!0,this.trigger("createdsourcebuffers"),this.triggerReady())}triggerReady(){this.ready()&&!this.triggeredReady_&&(this.triggeredReady_=!0,this.trigger("ready"))}addSourceBuffer(e,i){fi({type:"mediaSource",sourceUpdater:this,action:hi.addSourceBuffer(e,i),name:"addSourceBuffer"})}abort(e){fi({type:e,sourceUpdater:this,action:hi.abort(e),name:"abort"})}removeSourceBuffer(e){if(!this.canRemoveSourceBuffer()){ae.log.error("removeSourceBuffer is not supported!");return}fi({type:"mediaSource",sourceUpdater:this,action:hi.removeSourceBuffer(e),name:"removeSourceBuffer"})}canRemoveSourceBuffer(){return!ae.browser.IS_FIREFOX&&K.MediaSource&&K.MediaSource.prototype&&typeof K.MediaSource.prototype.removeSourceBuffer=="function"}static canChangeType(){return K.SourceBuffer&&K.SourceBuffer.prototype&&typeof K.SourceBuffer.prototype.changeType=="function"}canChangeType(){return this.constructor.canChangeType()}changeType(e,i){if(!this.canChangeType()){ae.log.error("changeType is not supported!");return}fi({type:e,sourceUpdater:this,action:hi.changeType(i),name:"changeType"})}addOrChangeSourceBuffers(e){if(!e||typeof e!="object"||Object.keys(e).length===0)throw new Error("Cannot addOrChangeSourceBuffers to undefined codecs");Object.keys(e).forEach(i=>{const n=e[i];if(!this.hasCreatedSourceBuffers())return this.addSourceBuffer(i,n);this.canChangeType()&&this.changeType(i,n)})}appendBuffer(e,i){const{segmentInfo:n,type:s,bytes:a}=e;if(this.processedAppend_=!0,s==="audio"&&this.videoBuffer&&!this.videoAppendQueued_){this.delayedAudioAppendQueue_.push([e,i]),this.logger_(`delayed audio append of ${a.length} until video append`);return}const o=i;if(fi({type:s,sourceUpdater:this,action:hi.appendBuffer(a,n||{mediaIndex:-1},o),doneFn:i,name:"appendBuffer"}),s==="video"){if(this.videoAppendQueued_=!0,!this.delayedAudioAppendQueue_.length)return;const l=this.delayedAudioAppendQueue_.slice();this.logger_(`queuing delayed audio ${l.length} appendBuffers`),this.delayedAudioAppendQueue_.length=0,l.forEach(c=>{this.appendBuffer.apply(this,c)})}}audioBuffered(){return Fi(this.mediaSource,this.audioBuffer)&&this.audioBuffer.buffered?this.audioBuffer.buffered:Rt()}videoBuffered(){return Fi(this.mediaSource,this.videoBuffer)&&this.videoBuffer.buffered?this.videoBuffer.buffered:Rt()}buffered(){const e=Fi(this.mediaSource,this.videoBuffer)?this.videoBuffer:null,i=Fi(this.mediaSource,this.audioBuffer)?this.audioBuffer:null;return i&&!e?this.audioBuffered():e&&!i?this.videoBuffered():v4(this.audioBuffered(),this.videoBuffered())}setDuration(e,i=en){fi({type:"mediaSource",sourceUpdater:this,action:hi.duration(e),name:"duration",doneFn:i})}endOfStream(e=null,i=en){typeof e!="string"&&(e=void 0),fi({type:"mediaSource",sourceUpdater:this,action:hi.endOfStream(e),name:"endOfStream",doneFn:i})}removeAudio(e,i,n=en){if(!this.audioBuffered().length||this.audioBuffered().end(0)===0){n();return}fi({type:"audio",sourceUpdater:this,action:hi.remove(e,i),doneFn:n,name:"remove"})}removeVideo(e,i,n=en){if(!this.videoBuffered().length||this.videoBuffered().end(0)===0){n();return}fi({type:"video",sourceUpdater:this,action:hi.remove(e,i),doneFn:n,name:"remove"})}updating(){return!!(wl("audio",this)||wl("video",this))}audioTimestampOffset(e){return typeof e<"u"&&this.audioBuffer&&this.audioTimestampOffset_!==e&&(fi({type:"audio",sourceUpdater:this,action:hi.timestampOffset(e),name:"timestampOffset"}),this.audioTimestampOffset_=e),this.audioTimestampOffset_}videoTimestampOffset(e){return typeof e<"u"&&this.videoBuffer&&this.videoTimestampOffset_!==e&&(fi({type:"video",sourceUpdater:this,action:hi.timestampOffset(e),name:"timestampOffset"}),this.videoTimestampOffset_=e),this.videoTimestampOffset_}audioQueueCallback(e){this.audioBuffer&&fi({type:"audio",sourceUpdater:this,action:hi.callback(e),name:"callback"})}videoQueueCallback(e){this.videoBuffer&&fi({type:"video",sourceUpdater:this,action:hi.callback(e),name:"callback"})}dispose(){this.trigger("dispose"),tb.forEach(e=>{this.abort(e),this.canRemoveSourceBuffer()?this.removeSourceBuffer(e):this[`${e}QueueCallback`](()=>cp(e,this))}),this.videoAppendQueued_=!1,this.delayedAudioAppendQueue_.length=0,this.sourceopenListener_&&this.mediaSource.removeEventListener("sourceopen",this.sourceopenListener_),this.off()}}const Qd=r=>decodeURIComponent(escape(String.fromCharCode.apply(null,r))),nb=r=>{const e=new Uint8Array(r);return Array.from(e).map(i=>i.toString(16).padStart(2,"0")).join("")},Yd=new Uint8Array(`
|
|
220
|
+
|
|
221
|
+
`.split("").map(r=>r.charCodeAt(0)));class rb extends Error{constructor(){super("Trying to parse received VTT cues, but there is no WebVTT. Make sure vtt.js is loaded.")}}class sb extends Sl{constructor(e,i={}){super(e,i),this.mediaSource_=null,this.subtitlesTrack_=null,this.featuresNativeTextTracks_=e.featuresNativeTextTracks,this.loadVttJs=e.loadVttJs,this.shouldSaveSegmentTimingInfo_=!1}buffered_(){if(!this.subtitlesTrack_||!this.subtitlesTrack_.cues||!this.subtitlesTrack_.cues.length)return Rt();const e=this.subtitlesTrack_.cues,i=e[0].startTime,n=e[e.length-1].startTime;return Rt([[i,n]])}initSegmentForMap(e,i=!1){if(!e)return null;const n=Ea(e);let s=this.initSegments_[n];if(i&&!s&&e.bytes){const a=Yd.byteLength+e.bytes.byteLength,o=new Uint8Array(a);o.set(e.bytes),o.set(Yd,e.bytes.byteLength),this.initSegments_[n]=s={resolvedUri:e.resolvedUri,byterange:e.byterange,bytes:o}}return s||e}couldBeginLoading_(){return this.playlist_&&this.subtitlesTrack_&&!this.paused()}init_(){return this.state="READY",this.resetEverything(),this.monitorBuffer_()}track(e){return typeof e>"u"?this.subtitlesTrack_:(this.subtitlesTrack_=e,this.state==="INIT"&&this.couldBeginLoading_()&&this.init_(),this.subtitlesTrack_)}remove(e,i){Kr(e,i,this.subtitlesTrack_)}fillBuffer_(){const e=this.chooseNextRequest_();if(e){if(this.syncController_.timestampOffsetForTimeline(e.timeline)===null){const i=()=>{this.state="READY",this.paused()||this.monitorBuffer_()};this.syncController_.one("timestampoffset",i),this.state="WAITING_ON_TIMELINE";return}this.loadSegment_(e)}}timestampOffsetForSegment_(){return null}chooseNextRequest_(){return this.skipEmptySegments_(super.chooseNextRequest_())}skipEmptySegments_(e){for(;e&&e.segment.empty;){if(e.mediaIndex+1>=e.playlist.segments.length){e=null;break}e=this.generateSegmentInfo_({playlist:e.playlist,mediaIndex:e.mediaIndex+1,startOfSegment:e.startOfSegment+e.duration,isSyncRequest:e.isSyncRequest})}return e}stopForError(e){this.error(e),this.state="READY",this.pause(),this.trigger("error")}segmentRequestFinished_(e,i,n){if(!this.subtitlesTrack_){this.state="READY";return}if(this.saveTransferStats_(i.stats),!this.pendingSegment_){this.state="READY",this.mediaRequestsAborted+=1;return}if(e){e.code===ji.TIMEOUT&&this.handleTimeout_(),e.code===ji.ABORTED?this.mediaRequestsAborted+=1:this.mediaRequestsErrored+=1,this.stopForError(e);return}const s=this.pendingSegment_,a=n.mp4VttCues&&n.mp4VttCues.length;a&&(s.mp4VttCues=n.mp4VttCues),this.saveBandwidthRelatedStats_(s.duration,i.stats),i.key&&this.segmentKey(i.key,!0),this.state="APPENDING",this.trigger("appending");const o=s.segment;if(o.map&&(o.map.bytes=i.map.bytes),s.bytes=i.bytes,typeof K.WebVTT!="function"&&typeof this.loadVttJs=="function"){this.state="WAITING_ON_VTTJS",this.loadVttJs().then(()=>this.segmentRequestFinished_(e,i,n),()=>this.stopForError({message:"Error loading vtt.js"}));return}o.requested=!0;try{this.parseVTTCues_(s)}catch(l){this.stopForError({message:l.message,metadata:{errorType:ae.Error.StreamingVttParserError,error:l}});return}if(a||this.updateTimeMapping_(s,this.syncController_.timelines[s.timeline],this.playlist_),s.cues.length?s.timingInfo={start:s.cues[0].startTime,end:s.cues[s.cues.length-1].endTime}:s.timingInfo={start:s.startOfSegment,end:s.startOfSegment+s.duration},s.isSyncRequest){this.trigger("syncinfoupdate"),this.pendingSegment_=null,this.state="READY";return}s.byteLength=s.bytes.byteLength,this.mediaSecondsLoaded+=o.duration,s.cues.forEach(l=>{this.subtitlesTrack_.addCue(this.featuresNativeTextTracks_?new K.VTTCue(l.startTime,l.endTime,l.text):l)}),U8(this.subtitlesTrack_),this.handleAppendsDone_()}handleData_(e,i){const n=e&&e.type==="vtt",s=i&&i.type==="text";n&&s&&super.handleData_(e,i)}updateTimingInfoEnd_(){}parseMp4VttCues_(e){const i=this.sourceUpdater_.videoTimestampOffset()===null?this.sourceUpdater_.audioTimestampOffset():this.sourceUpdater_.videoTimestampOffset();e.mp4VttCues.forEach(n=>{const s=n.start+i,a=n.end+i,o=new K.VTTCue(s,a,n.cueText);n.settings&&n.settings.split(" ").forEach(l=>{const c=l.split(":"),d=c[0],m=c[1];o[d]=isNaN(m)?m:Number(m)}),e.cues.push(o)})}parseVTTCues_(e){let i,n=!1;if(typeof K.WebVTT!="function")throw new rb;if(e.cues=[],e.timestampmap={MPEGTS:0,LOCAL:0},e.mp4VttCues){this.parseMp4VttCues_(e);return}typeof K.TextDecoder=="function"?i=new K.TextDecoder("utf8"):(i=K.WebVTT.StringDecoder(),n=!0);const s=new K.WebVTT.Parser(K,K.vttjs,i);if(s.oncue=e.cues.push.bind(e.cues),s.ontimestampmap=o=>{e.timestampmap=o},s.onparsingerror=o=>{ae.log.warn("Error encountered when parsing cues: "+o.message)},e.segment.map){let o=e.segment.map.bytes;n&&(o=Qd(o)),s.parse(o)}let a=e.bytes;n&&(a=Qd(a)),s.parse(a),s.flush()}updateTimeMapping_(e,i,n){const s=e.segment;if(!i)return;if(!e.cues.length){s.empty=!0;return}const{MPEGTS:a,LOCAL:o}=e.timestampmap,c=a/Dn.ONE_SECOND_IN_TS-o+i.mapping;if(e.cues.forEach(d=>{const m=d.endTime-d.startTime,g=this.handleRollover_(d.startTime+c,i.time);d.startTime=Math.max(g,0),d.endTime=Math.max(g+m,0)}),!n.syncInfo){const d=e.cues[0].startTime,m=e.cues[e.cues.length-1].startTime;n.syncInfo={mediaSequence:n.mediaSequence+e.mediaIndex,time:Math.min(d,m-s.duration)}}}handleRollover_(e,i){if(i===null)return e;let n=e*Dn.ONE_SECOND_IN_TS;const s=i*Dn.ONE_SECOND_IN_TS;let a;for(s<n?a=-8589934592:a=8589934592;Math.abs(n-s)>4294967296;)n+=a;return n/Dn.ONE_SECOND_IN_TS}}const ab=function(r,e){const i=r.cues;for(let n=0;n<i.length;n++){const s=i[n];if(e>=s.adStartTime&&e<=s.adEndTime)return s}return null},ob=function(r,e,i=0){if(!r.segments)return;let n=i,s;for(let a=0;a<r.segments.length;a++){const o=r.segments[a];if(s||(s=ab(e,n+o.duration/2)),s){if("cueIn"in o){s.endTime=n,s.adEndTime=n,n+=o.duration,s=null;continue}if(n<s.endTime){n+=o.duration;continue}s.endTime+=o.duration}else if("cueOut"in o&&(s=new K.VTTCue(n,n+o.duration,o.cueOut),s.adStartTime=n,s.adEndTime=n+parseFloat(o.cueOut),e.addCue(s)),"cueOutCont"in o){const[l,c]=o.cueOutCont.split("/").map(parseFloat);s=new K.VTTCue(n,n+o.duration,""),s.adStartTime=n-l,s.adEndTime=s.adStartTime+c,e.addCue(s)}n+=o.duration}};class Kd{constructor({start:e,end:i,segmentIndex:n,partIndex:s=null,appended:a=!1}){this.start_=e,this.end_=i,this.segmentIndex_=n,this.partIndex_=s,this.appended_=a}isInRange(e){return e>=this.start&&e<this.end}markAppended(){this.appended_=!0}resetAppendedStatus(){this.appended_=!1}get isAppended(){return this.appended_}get start(){return this.start_}get end(){return this.end_}get segmentIndex(){return this.segmentIndex_}get partIndex(){return this.partIndex_}}class lb{constructor(e,i=[]){this.segmentSyncInfo_=e,this.partsSyncInfo_=i}get segmentSyncInfo(){return this.segmentSyncInfo_}get partsSyncInfo(){return this.partsSyncInfo_}get hasPartsSyncInfo(){return this.partsSyncInfo_.length>0}resetAppendStatus(){this.segmentSyncInfo_.resetAppendedStatus(),this.partsSyncInfo_.forEach(e=>e.resetAppendedStatus())}}class hp{constructor(){this.storage_=new Map,this.diagnostics_="",this.isReliable_=!1,this.start_=-1/0,this.end_=1/0}get start(){return this.start_}get end(){return this.end_}get diagnostics(){return this.diagnostics_}get isReliable(){return this.isReliable_}resetAppendedStatus(){this.storage_.forEach(e=>e.resetAppendStatus())}update(e,i){const{mediaSequence:n,segments:s}=e;if(this.isReliable_=this.isReliablePlaylist_(n,s),!!this.isReliable_)return this.updateStorage_(s,n,this.calculateBaseTime_(n,s,i))}getSyncInfoForTime(e){for(const{segmentSyncInfo:i,partsSyncInfo:n}of this.storage_.values())if(n.length){for(const s of n)if(s.isInRange(e))return s}else if(i.isInRange(e))return i;return null}getSyncInfoForMediaSequence(e){return this.storage_.get(e)}updateStorage_(e,i,n){const s=new Map;let a=`
|
|
222
|
+
`,o=n,l=i;this.start_=o,e.forEach((c,d)=>{const m=this.storage_.get(l),g=o,E=g+c.duration,C=!!(m&&m.segmentSyncInfo&&m.segmentSyncInfo.isAppended),w=new Kd({start:g,end:E,appended:C,segmentIndex:d});c.syncInfo=w;let v=o;const b=(c.parts||[]).map((k,S)=>{const D=v,O=v+k.duration,q=!!(m&&m.partsSyncInfo&&m.partsSyncInfo[S]&&m.partsSyncInfo[S].isAppended),R=new Kd({start:D,end:O,appended:q,segmentIndex:d,partIndex:S});return v=O,a+=`Media Sequence: ${l}.${S} | Range: ${D} --> ${O} | Appended: ${q}
|
|
223
|
+
`,k.syncInfo=R,R});s.set(l,new lb(w,b)),a+=`${lp(c.resolvedUri)} | Media Sequence: ${l} | Range: ${g} --> ${E} | Appended: ${C}
|
|
224
|
+
`,l++,o=E}),this.end_=o,this.storage_=s,this.diagnostics_=a}calculateBaseTime_(e,i,n){if(!this.storage_.size)return 0;if(this.storage_.has(e))return this.storage_.get(e).segmentSyncInfo.start;const s=Math.min(...this.storage_.keys());if(e<s){const a=s-e;let o=this.storage_.get(s).segmentSyncInfo.start;for(let l=0;l<a;l++){const c=i[l];o-=c.duration}return o}return n}isReliablePlaylist_(e,i){return e!=null&&Array.isArray(i)&&i.length}}class Wd extends hp{constructor(e){super(),this.parent_=e}calculateBaseTime_(e,i,n){if(!this.storage_.size){const s=this.parent_.getSyncInfoForMediaSequence(e);return s?s.segmentSyncInfo.start:0}return super.calculateBaseTime_(e,i,n)}}const ub=86400,$o=[{name:"VOD",run:(r,e,i,n,s)=>i!==1/0?{time:0,segmentIndex:0,partIndex:null}:null},{name:"MediaSequence",run:(r,e,i,n,s,a)=>{const o=r.getMediaSequenceSync(a);if(!o||!o.isReliable)return null;const l=o.getSyncInfoForTime(s);return l?{time:l.start,partIndex:l.partIndex,segmentIndex:l.segmentIndex}:null}},{name:"ProgramDateTime",run:(r,e,i,n,s)=>{if(!Object.keys(r.timelineToDatetimeMappings).length)return null;let a=null,o=null;const l=yl(e);s=s||0;for(let c=0;c<l.length;c++){const d=e.endList||s===0?c:l.length-(c+1),m=l[d],g=m.segment,E=r.timelineToDatetimeMappings[g.timeline];if(!E||!g.dateTimeObject)continue;let w=g.dateTimeObject.getTime()/1e3+E;if(g.parts&&typeof m.partIndex=="number")for(let b=0;b<m.partIndex;b++)w+=g.parts[b].duration;const v=Math.abs(s-w);if(o!==null&&(v===0||o<v))break;o=v,a={time:w,segmentIndex:m.segmentIndex,partIndex:m.partIndex}}return a}},{name:"Segment",run:(r,e,i,n,s)=>{let a=null,o=null;s=s||0;const l=yl(e);for(let c=0;c<l.length;c++){const d=e.endList||s===0?c:l.length-(c+1),m=l[d],g=m.segment,E=m.part&&m.part.start||g&&g.start;if(g.timeline===n&&typeof E<"u"){const C=Math.abs(s-E);if(o!==null&&o<C)break;(!a||o===null||o>=C)&&(o=C,a={time:E,segmentIndex:m.segmentIndex,partIndex:m.partIndex})}}return a}},{name:"Discontinuity",run:(r,e,i,n,s)=>{let a=null;if(s=s||0,e.discontinuityStarts&&e.discontinuityStarts.length){let o=null;for(let l=0;l<e.discontinuityStarts.length;l++){const c=e.discontinuityStarts[l],d=e.discontinuitySequence+l+1,m=r.discontinuities[d];if(m){const g=Math.abs(s-m.time);if(o!==null&&o<g)break;(!a||o===null||o>=g)&&(o=g,a={time:m.time,segmentIndex:c,partIndex:null})}}}return a}},{name:"Playlist",run:(r,e,i,n,s)=>e.syncInfo?{time:e.syncInfo.time,segmentIndex:e.syncInfo.mediaSequence-e.mediaSequence,partIndex:null}:null}];class cb extends ae.EventTarget{constructor(e={}){super(),this.timelines=[],this.discontinuities=[],this.timelineToDatetimeMappings={};const i=new hp,n=new Wd(i),s=new Wd(i);this.mediaSequenceStorage_={main:i,audio:n,vtt:s},this.logger_=ki("SyncController")}getMediaSequenceSync(e){return this.mediaSequenceStorage_[e]||null}getSyncPoint(e,i,n,s,a){if(i!==1/0)return $o.find(({name:c})=>c==="VOD").run(this,e,i);const o=this.runStrategies_(e,i,n,s,a);if(!o.length)return null;for(const l of o){const{syncPoint:c,strategy:d}=l,{segmentIndex:m,time:g}=c;if(m<0)continue;const E=e.segments[m],C=g,w=C+E.duration;if(this.logger_(`Strategy: ${d}. Current time: ${s}. selected segment: ${m}. Time: [${C} -> ${w}]}`),s>=C&&s<w)return this.logger_("Found sync point with exact match: ",c),c}return this.selectSyncPoint_(o,{key:"time",value:s})}getExpiredTime(e,i){if(!e||!e.segments)return null;const n=this.runStrategies_(e,i,e.discontinuitySequence,0);if(!n.length)return null;const s=this.selectSyncPoint_(n,{key:"segmentIndex",value:0});return s.segmentIndex>0&&(s.time*=-1),Math.abs(s.time+es({defaultDuration:e.targetDuration,durationList:e.segments,startIndex:s.segmentIndex,endIndex:0}))}runStrategies_(e,i,n,s,a){const o=[];for(let l=0;l<$o.length;l++){const c=$o[l],d=c.run(this,e,i,n,s,a);d&&(d.strategy=c.name,o.push({strategy:c.name,syncPoint:d}))}return o}selectSyncPoint_(e,i){let n=e[0].syncPoint,s=Math.abs(e[0].syncPoint[i.key]-i.value),a=e[0].strategy;for(let o=1;o<e.length;o++){const l=Math.abs(e[o].syncPoint[i.key]-i.value);l<s&&(s=l,n=e[o].syncPoint,a=e[o].strategy)}return this.logger_(`syncPoint for [${i.key}: ${i.value}] chosen with strategy [${a}]: [time:${n.time}, segmentIndex:${n.segmentIndex}`+(typeof n.partIndex=="number"?`,partIndex:${n.partIndex}`:"")+"]"),n}saveExpiredSegmentInfo(e,i){const n=i.mediaSequence-e.mediaSequence;if(n>ub){ae.log.warn(`Not saving expired segment info. Media sequence gap ${n} is too large.`);return}for(let s=n-1;s>=0;s--){const a=e.segments[s];if(a&&typeof a.start<"u"){i.syncInfo={mediaSequence:e.mediaSequence+s,time:a.start},this.logger_(`playlist refresh sync: [time:${i.syncInfo.time}, mediaSequence: ${i.syncInfo.mediaSequence}]`),this.trigger("syncinfoupdate");break}}}setDateTimeMappingForStart(e){if(this.timelineToDatetimeMappings={},e.segments&&e.segments.length&&e.segments[0].dateTimeObject){const i=e.segments[0],n=i.dateTimeObject.getTime()/1e3;this.timelineToDatetimeMappings[i.timeline]=-n}}saveSegmentTimingInfo({segmentInfo:e,shouldSaveTimelineMapping:i}){const n=this.calculateSegmentTimeMapping_(e,e.timingInfo,i),s=e.segment;n&&(this.saveDiscontinuitySyncInfo_(e),e.playlist.syncInfo||(e.playlist.syncInfo={mediaSequence:e.playlist.mediaSequence+e.mediaIndex,time:s.start}));const a=s.dateTimeObject;s.discontinuity&&i&&a&&(this.timelineToDatetimeMappings[s.timeline]=-(a.getTime()/1e3))}timestampOffsetForTimeline(e){return typeof this.timelines[e]>"u"?null:this.timelines[e].time}mappingForTimeline(e){return typeof this.timelines[e]>"u"?null:this.timelines[e].mapping}calculateSegmentTimeMapping_(e,i,n){const s=e.segment,a=e.part;let o=this.timelines[e.timeline],l,c;if(typeof e.timestampOffset=="number")o={time:e.startOfSegment,mapping:e.startOfSegment-i.start},n&&(this.timelines[e.timeline]=o,this.trigger("timestampoffset"),this.logger_(`time mapping for timeline ${e.timeline}: [time: ${o.time}] [mapping: ${o.mapping}]`)),l=e.startOfSegment,c=i.end+o.mapping;else if(o)l=i.start+o.mapping,c=i.end+o.mapping;else return!1;return a&&(a.start=l,a.end=c),(!s.start||l<s.start)&&(s.start=l),s.end=c,!0}saveDiscontinuitySyncInfo_(e){const i=e.playlist,n=e.segment;if(n.discontinuity)this.discontinuities[n.timeline]={time:n.start,accuracy:0};else if(i.discontinuityStarts&&i.discontinuityStarts.length)for(let s=0;s<i.discontinuityStarts.length;s++){const a=i.discontinuityStarts[s],o=i.discontinuitySequence+s+1,l=a-e.mediaIndex,c=Math.abs(l);if(!this.discontinuities[o]||this.discontinuities[o].accuracy>c){let d;l<0?d=n.start-es({defaultDuration:i.targetDuration,durationList:i.segments,startIndex:e.mediaIndex,endIndex:a}):d=n.end+es({defaultDuration:i.targetDuration,durationList:i.segments,startIndex:e.mediaIndex+1,endIndex:a}),this.discontinuities[o]={time:d,accuracy:c}}}}dispose(){this.trigger("dispose"),this.off()}}class db extends ae.EventTarget{constructor(){super(),this.pendingTimelineChanges_={},this.lastTimelineChanges_={}}clearPendingTimelineChange(e){this.pendingTimelineChanges_[e]=null,this.trigger("pendingtimelinechange")}pendingTimelineChange({type:e,from:i,to:n}){return typeof i=="number"&&typeof n=="number"&&(this.pendingTimelineChanges_[e]={type:e,from:i,to:n},this.trigger("pendingtimelinechange")),this.pendingTimelineChanges_[e]}lastTimelineChange({type:e,from:i,to:n}){if(typeof i=="number"&&typeof n=="number"){this.lastTimelineChanges_[e]={type:e,from:i,to:n},delete this.pendingTimelineChanges_[e];const s={timelineChangeInfo:{from:i,to:n}};this.trigger({type:"timelinechange",metadata:s})}return this.lastTimelineChanges_[e]}dispose(){this.trigger("dispose"),this.pendingTimelineChanges_={},this.lastTimelineChanges_={},this.off()}}const hb=Jf(Zf(function(){var r=(function(){function v(){this.listeners={}}var b=v.prototype;return b.on=function(S,D){this.listeners[S]||(this.listeners[S]=[]),this.listeners[S].push(D)},b.off=function(S,D){if(!this.listeners[S])return!1;var O=this.listeners[S].indexOf(D);return this.listeners[S]=this.listeners[S].slice(0),this.listeners[S].splice(O,1),O>-1},b.trigger=function(S){var D=this.listeners[S];if(D)if(arguments.length===2)for(var O=D.length,q=0;q<O;++q)D[q].call(this,arguments[1]);else for(var R=Array.prototype.slice.call(arguments,1),x=D.length,L=0;L<x;++L)D[L].apply(this,R)},b.dispose=function(){this.listeners={}},b.pipe=function(S){this.on("data",function(D){S.push(D)})},v})();/*! @name pkcs7 @version 1.0.4 @license Apache-2.0 */function e(v){return v.subarray(0,v.byteLength-v[v.byteLength-1])}/*! @name aes-decrypter @version 4.0.2 @license Apache-2.0 */const i=function(){const v=[[[],[],[],[],[]],[[],[],[],[],[]]],b=v[0],k=v[1],S=b[4],D=k[4];let O,q,R;const x=[],L=[];let _,V,I,z,M,U;for(O=0;O<256;O++)L[(x[O]=O<<1^(O>>7)*283)^O]=O;for(q=R=0;!S[q];q^=_||1,R=L[R]||1)for(z=R^R<<1^R<<2^R<<3^R<<4,z=z>>8^z&255^99,S[q]=z,D[z]=q,I=x[V=x[_=x[q]]],U=I*16843009^V*65537^_*257^q*16843008,M=x[z]*257^z*16843008,O=0;O<4;O++)b[O][q]=M=M<<24^M>>>8,k[O][z]=U=U<<24^U>>>8;for(O=0;O<5;O++)b[O]=b[O].slice(0),k[O]=k[O].slice(0);return v};let n=null;class s{constructor(b){n||(n=i()),this._tables=[[n[0][0].slice(),n[0][1].slice(),n[0][2].slice(),n[0][3].slice(),n[0][4].slice()],[n[1][0].slice(),n[1][1].slice(),n[1][2].slice(),n[1][3].slice(),n[1][4].slice()]];let k,S,D;const O=this._tables[0][4],q=this._tables[1],R=b.length;let x=1;if(R!==4&&R!==6&&R!==8)throw new Error("Invalid aes key size");const L=b.slice(0),_=[];for(this._key=[L,_],k=R;k<4*R+28;k++)D=L[k-1],(k%R===0||R===8&&k%R===4)&&(D=O[D>>>24]<<24^O[D>>16&255]<<16^O[D>>8&255]<<8^O[D&255],k%R===0&&(D=D<<8^D>>>24^x<<24,x=x<<1^(x>>7)*283)),L[k]=L[k-R]^D;for(S=0;k;S++,k--)D=L[S&3?k:k-4],k<=4||S<4?_[S]=D:_[S]=q[0][O[D>>>24]]^q[1][O[D>>16&255]]^q[2][O[D>>8&255]]^q[3][O[D&255]]}decrypt(b,k,S,D,O,q){const R=this._key[1];let x=b^R[0],L=D^R[1],_=S^R[2],V=k^R[3],I,z,M;const U=R.length/4-2;let P,te=4;const j=this._tables[1],G=j[0],ee=j[1],J=j[2],Q=j[3],X=j[4];for(P=0;P<U;P++)I=G[x>>>24]^ee[L>>16&255]^J[_>>8&255]^Q[V&255]^R[te],z=G[L>>>24]^ee[_>>16&255]^J[V>>8&255]^Q[x&255]^R[te+1],M=G[_>>>24]^ee[V>>16&255]^J[x>>8&255]^Q[L&255]^R[te+2],V=G[V>>>24]^ee[x>>16&255]^J[L>>8&255]^Q[_&255]^R[te+3],te+=4,x=I,L=z,_=M;for(P=0;P<4;P++)O[(3&-P)+q]=X[x>>>24]<<24^X[L>>16&255]<<16^X[_>>8&255]<<8^X[V&255]^R[te++],I=x,x=L,L=_,_=V,V=I}}class a extends r{constructor(){super(r),this.jobs=[],this.delay=1,this.timeout_=null}processJob_(){this.jobs.shift()(),this.jobs.length?this.timeout_=setTimeout(this.processJob_.bind(this),this.delay):this.timeout_=null}push(b){this.jobs.push(b),this.timeout_||(this.timeout_=setTimeout(this.processJob_.bind(this),this.delay))}}const o=function(v){return v<<24|(v&65280)<<8|(v&16711680)>>8|v>>>24},l=function(v,b,k){const S=new Int32Array(v.buffer,v.byteOffset,v.byteLength>>2),D=new s(Array.prototype.slice.call(b)),O=new Uint8Array(v.byteLength),q=new Int32Array(O.buffer);let R,x,L,_,V,I,z,M,U;for(R=k[0],x=k[1],L=k[2],_=k[3],U=0;U<S.length;U+=4)V=o(S[U]),I=o(S[U+1]),z=o(S[U+2]),M=o(S[U+3]),D.decrypt(V,I,z,M,q,U),q[U]=o(q[U]^R),q[U+1]=o(q[U+1]^x),q[U+2]=o(q[U+2]^L),q[U+3]=o(q[U+3]^_),R=V,x=I,L=z,_=M;return O};class c{constructor(b,k,S,D){const O=c.STEP,q=new Int32Array(b.buffer),R=new Uint8Array(b.byteLength);let x=0;for(this.asyncStream_=new a,this.asyncStream_.push(this.decryptChunk_(q.subarray(x,x+O),k,S,R)),x=O;x<q.length;x+=O)S=new Uint32Array([o(q[x-4]),o(q[x-3]),o(q[x-2]),o(q[x-1])]),this.asyncStream_.push(this.decryptChunk_(q.subarray(x,x+O),k,S,R));this.asyncStream_.push(function(){D(null,e(R))})}static get STEP(){return 32e3}decryptChunk_(b,k,S,D){return function(){const O=l(b,k,S);D.set(O,b.byteOffset)}}}var d=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},m;typeof window<"u"?m=window:typeof d<"u"?m=d:typeof self<"u"?m=self:m={};var g=m,E=function(b){return ArrayBuffer.isView==="function"?ArrayBuffer.isView(b):b&&b.buffer instanceof ArrayBuffer},C=g.BigInt||Number;C("0x1"),C("0x100"),C("0x10000"),C("0x1000000"),C("0x100000000"),C("0x10000000000"),C("0x1000000000000"),C("0x100000000000000"),C("0x10000000000000000"),(function(){var v=new Uint16Array([65484]),b=new Uint8Array(v.buffer,v.byteOffset,v.byteLength);return b[0]===255?"big":b[0]===204?"little":"unknown"})();const w=function(v){const b={};return Object.keys(v).forEach(k=>{const S=v[k];E(S)?b[k]={bytes:S.buffer,byteOffset:S.byteOffset,byteLength:S.byteLength}:b[k]=S}),b};self.onmessage=function(v){const b=v.data,k=new Uint8Array(b.encrypted.bytes,b.encrypted.byteOffset,b.encrypted.byteLength),S=new Uint32Array(b.key.bytes,b.key.byteOffset,b.key.byteLength/4),D=new Uint32Array(b.iv.bytes,b.iv.byteOffset,b.iv.byteLength/4);new c(k,S,D,function(O,q){self.postMessage(w({source:b.source,decrypted:q}),[q.buffer])})}}));var fb=Wf(hb);const pb=r=>{let e=r.default?"main":"alternative";return r.characteristics&&r.characteristics.indexOf("public.accessibility.describes-video")>=0&&(e="main-desc"),e},fp=(r,e)=>{r.abort(),r.pause(),e&&e.activePlaylistLoader&&(e.activePlaylistLoader.pause(),e.activePlaylistLoader=null)},Dl=(r,e)=>{e.activePlaylistLoader=r,r.load()},mb=(r,e)=>()=>{const{segmentLoaders:{[r]:i,main:n},mediaTypes:{[r]:s}}=e,a=s.activeTrack(),o=s.getActiveGroup(),l=s.activePlaylistLoader,c=s.lastGroup_;if(!(o&&c&&o.id===c.id)&&(s.lastGroup_=o,s.lastTrack_=a,fp(i,s),!(!o||o.isMainPlaylist))){if(!o.playlistLoader){l&&n.resetEverything();return}i.resyncLoader(),Dl(o.playlistLoader,s)}},gb=(r,e)=>()=>{const{segmentLoaders:{[r]:i},mediaTypes:{[r]:n}}=e;n.lastGroup_=null,i.abort(),i.pause()},vb=(r,e)=>()=>{const{mainPlaylistLoader:i,segmentLoaders:{[r]:n,main:s},mediaTypes:{[r]:a}}=e,o=a.activeTrack(),l=a.getActiveGroup(),c=a.activePlaylistLoader,d=a.lastTrack_;if(!(d&&o&&d.id===o.id)&&(a.lastGroup_=l,a.lastTrack_=o,fp(n,a),!!l)){if(l.isMainPlaylist){if(!o||!d||o.id===d.id)return;const m=e.vhs.playlistController_,g=m.selectPlaylist();if(m.media()===g)return;a.logger_(`track change. Switching main audio from ${d.id} to ${o.id}`),i.pause(),s.resetEverything(),m.fastQualityChange_(g);return}if(r==="AUDIO"){if(!l.playlistLoader){s.setAudio(!0),s.resetEverything();return}n.setAudio(!0),s.setAudio(!1)}if(c===l.playlistLoader){Dl(l.playlistLoader,a);return}n.track&&n.track(o),n.resetEverything(),Dl(l.playlistLoader,a)}},xa={AUDIO:(r,e)=>()=>{const{mediaTypes:{[r]:i},excludePlaylist:n}=e,s=i.activeTrack(),a=i.activeGroup(),o=(a.filter(c=>c.default)[0]||a[0]).id,l=i.tracks[o];if(s===l){n({error:{message:"Problem encountered loading the default audio track."}});return}ae.log.warn("Problem encountered loading the alternate audio track.Switching back to default.");for(const c in i.tracks)i.tracks[c].enabled=i.tracks[c]===l;i.onTrackChanged()},SUBTITLES:(r,e)=>()=>{const{mediaTypes:{[r]:i}}=e;ae.log.warn("Problem encountered loading the subtitle track.Disabling subtitle track.");const n=i.activeTrack();n&&(n.mode="disabled"),i.onTrackChanged()}},Jd={AUDIO:(r,e,i)=>{if(!e)return;const{tech:n,requestOptions:s,segmentLoaders:{[r]:a}}=i;e.on("loadedmetadata",()=>{const o=e.media();a.playlist(o,s),(!n.paused()||o.endList&&n.preload()!=="none")&&a.load()}),e.on("loadedplaylist",()=>{a.playlist(e.media(),s),n.paused()||a.load()}),e.on("error",xa[r](r,i))},SUBTITLES:(r,e,i)=>{const{tech:n,requestOptions:s,segmentLoaders:{[r]:a},mediaTypes:{[r]:o}}=i;e.on("loadedmetadata",()=>{const l=e.media();a.playlist(l,s),a.track(o.activeTrack()),(!n.paused()||l.endList&&n.preload()!=="none")&&a.load()}),e.on("loadedplaylist",()=>{a.playlist(e.media(),s),n.paused()||a.load()}),e.on("error",xa[r](r,i))}},yb={AUDIO:(r,e)=>{const{vhs:i,sourceType:n,segmentLoaders:{[r]:s},requestOptions:a,main:{mediaGroups:o},mediaTypes:{[r]:{groups:l,tracks:c,logger_:d}},mainPlaylistLoader:m}=e,g=gs(m.main);(!o[r]||Object.keys(o[r]).length===0)&&(o[r]={main:{default:{default:!0}}},g&&(o[r].main.default.playlists=m.main.playlists));for(const E in o[r]){l[E]||(l[E]=[]);for(const C in o[r][E]){let w=o[r][E][C],v;if(g?(d(`AUDIO group '${E}' label '${C}' is a main playlist`),w.isMainPlaylist=!0,v=null):n==="vhs-json"&&w.playlists?v=new Yn(w.playlists[0],i,a):w.resolvedUri?v=new Yn(w.resolvedUri,i,a):w.playlists&&n==="dash"?v=new xl(w.playlists[0],i,a,m):v=null,w=lt({id:C,playlistLoader:v},w),Jd[r](r,w.playlistLoader,e),l[E].push(w),typeof c[C]>"u"){const b=new ae.AudioTrack({id:C,kind:pb(w),enabled:!1,language:w.language,default:w.default,label:C});c[C]=b}}}s.on("error",xa[r](r,e))},SUBTITLES:(r,e)=>{const{tech:i,vhs:n,sourceType:s,segmentLoaders:{[r]:a},requestOptions:o,main:{mediaGroups:l},mediaTypes:{[r]:{groups:c,tracks:d}},mainPlaylistLoader:m}=e;for(const g in l[r]){c[g]||(c[g]=[]);for(const E in l[r][g]){if(!n.options_.useForcedSubtitles&&l[r][g][E].forced)continue;let C=l[r][g][E],w;if(s==="hls")w=new Yn(C.resolvedUri,n,o);else if(s==="dash"){if(!C.playlists.filter(b=>b.excludeUntil!==1/0).length)return;w=new xl(C.playlists[0],n,o,m)}else s==="vhs-json"&&(w=new Yn(C.playlists?C.playlists[0]:C.resolvedUri,n,o));if(C=lt({id:E,playlistLoader:w},C),Jd[r](r,C.playlistLoader,e),c[g].push(C),typeof d[E]>"u"){const v=i.addRemoteTextTrack({id:E,kind:"subtitles",default:C.default&&C.autoselect,language:C.language,label:E},!1).track;d[E]=v}}}a.on("error",xa[r](r,e))},"CLOSED-CAPTIONS":(r,e)=>{const{tech:i,main:{mediaGroups:n},mediaTypes:{[r]:{groups:s,tracks:a}}}=e;for(const o in n[r]){s[o]||(s[o]=[]);for(const l in n[r][o]){const c=n[r][o][l];if(!/^(?:CC|SERVICE)/.test(c.instreamId))continue;const d=i.options_.vhs&&i.options_.vhs.captionServices||{};let m={label:l,language:c.language,instreamId:c.instreamId,default:c.default&&c.autoselect};if(d[m.instreamId]&&(m=lt(m,d[m.instreamId])),m.default===void 0&&delete m.default,s[o].push(lt({id:l},c)),typeof a[l]>"u"){const g=i.addRemoteTextTrack({id:m.instreamId,kind:"captions",default:m.default,language:m.language,label:m.label},!1).track;a[l]=g}}}}},pp=(r,e)=>{for(let i=0;i<r.length;i++)if(yu(e,r[i])||r[i].playlists&&pp(r[i].playlists,e))return!0;return!1},bb=(r,e)=>i=>{const{mainPlaylistLoader:n,mediaTypes:{[r]:{groups:s}}}=e,a=n.media();if(!a)return null;let o=null;a.attributes[r]&&(o=s[a.attributes[r]]);const l=Object.keys(s);if(!o)if(r==="AUDIO"&&l.length>1&&gs(e.main))for(let c=0;c<l.length;c++){const d=s[l[c]];if(pp(d,a)){o=d;break}}else s.main?o=s.main:l.length===1&&(o=s[l[0]]);return typeof i>"u"?o:i===null||!o?null:o.filter(c=>c.id===i.id)[0]||null},Cb={AUDIO:(r,e)=>()=>{const{mediaTypes:{[r]:{tracks:i}}}=e;for(const n in i)if(i[n].enabled)return i[n];return null},SUBTITLES:(r,e)=>()=>{const{mediaTypes:{[r]:{tracks:i}}}=e;for(const n in i)if(i[n].mode==="showing"||i[n].mode==="hidden")return i[n];return null}},Tb=(r,{mediaTypes:e})=>()=>{const i=e[r].activeTrack();return i?e[r].activeGroup(i):null},Ab=r=>{["AUDIO","SUBTITLES","CLOSED-CAPTIONS"].forEach(d=>{yb[d](d,r)});const{mediaTypes:e,mainPlaylistLoader:i,tech:n,vhs:s,segmentLoaders:{["AUDIO"]:a,main:o}}=r;["AUDIO","SUBTITLES"].forEach(d=>{e[d].activeGroup=bb(d,r),e[d].activeTrack=Cb[d](d,r),e[d].onGroupChanged=mb(d,r),e[d].onGroupChanging=gb(d,r),e[d].onTrackChanged=vb(d,r),e[d].getActiveGroup=Tb(d,r)});const l=e.AUDIO.activeGroup();if(l){const d=(l.filter(g=>g.default)[0]||l[0]).id;e.AUDIO.tracks[d].enabled=!0,e.AUDIO.onGroupChanged(),e.AUDIO.onTrackChanged(),e.AUDIO.getActiveGroup().playlistLoader?(o.setAudio(!1),a.setAudio(!0)):o.setAudio(!0)}i.on("mediachange",()=>{["AUDIO","SUBTITLES"].forEach(d=>e[d].onGroupChanged())}),i.on("mediachanging",()=>{["AUDIO","SUBTITLES"].forEach(d=>e[d].onGroupChanging())});const c=()=>{e.AUDIO.onTrackChanged(),n.trigger({type:"usage",name:"vhs-audio-change"})};n.audioTracks().addEventListener("change",c),n.remoteTextTracks().addEventListener("change",e.SUBTITLES.onTrackChanged),s.on("dispose",()=>{n.audioTracks().removeEventListener("change",c),n.remoteTextTracks().removeEventListener("change",e.SUBTITLES.onTrackChanged)}),n.clearTracks("audio");for(const d in e.AUDIO.tracks)n.audioTracks().addTrack(e.AUDIO.tracks[d])},Eb=()=>{const r={};return["AUDIO","SUBTITLES","CLOSED-CAPTIONS"].forEach(e=>{r[e]={groups:{},tracks:{},activePlaylistLoader:null,activeGroup:en,activeTrack:en,getActiveGroup:en,onGroupChanged:en,onTrackChanged:en,lastTrack_:null,logger_:ki(`MediaGroups[${e}]`)}}),r};class Zd{constructor(){this.priority_=[],this.pathwayClones_=new Map}set version(e){e===1&&(this.version_=e)}set ttl(e){this.ttl_=e||300}set reloadUri(e){e&&(this.reloadUri_=li(this.reloadUri_,e))}set priority(e){e&&e.length&&(this.priority_=e)}set pathwayClones(e){e&&e.length&&(this.pathwayClones_=new Map(e.map(i=>[i.ID,i])))}get version(){return this.version_}get ttl(){return this.ttl_}get reloadUri(){return this.reloadUri_}get priority(){return this.priority_}get pathwayClones(){return this.pathwayClones_}}class xb extends ae.EventTarget{constructor(e,i){super(),this.currentPathway=null,this.defaultPathway=null,this.queryBeforeStart=!1,this.availablePathways_=new Set,this.steeringManifest=new Zd,this.proxyServerUrl_=null,this.manifestType_=null,this.ttlTimeout_=null,this.request_=null,this.currentPathwayClones=new Map,this.nextPathwayClones=new Map,this.excludedSteeringManifestURLs=new Set,this.logger_=ki("Content Steering"),this.xhr_=e,this.getBandwidth_=i}assignTagProperties(e,i){this.manifestType_=i.serverUri?"HLS":"DASH";const n=i.serverUri||i.serverURL;if(!n){this.logger_(`steering manifest URL is ${n}, cannot request steering manifest.`),this.trigger("error");return}if(n.startsWith("data:")){this.decodeDataUriManifest_(n.substring(n.indexOf(",")+1));return}this.steeringManifest.reloadUri=li(e,n),this.defaultPathway=i.pathwayId||i.defaultServiceLocation,this.queryBeforeStart=i.queryBeforeStart,this.proxyServerUrl_=i.proxyServerURL,this.defaultPathway&&!this.queryBeforeStart&&this.trigger("content-steering")}requestSteeringManifest(e){const i=this.steeringManifest.reloadUri;if(!i)return;const n=e?i:this.getRequestURI(i);if(!n){this.logger_("No valid content steering manifest URIs. Stopping content steering."),this.trigger("error"),this.dispose();return}const s={contentSteeringInfo:{uri:n}};this.trigger({type:"contentsteeringloadstart",metadata:s}),this.request_=this.xhr_({uri:n,requestType:"content-steering-manifest"},(a,o)=>{if(a){if(o.status===410){this.logger_(`manifest request 410 ${a}.`),this.logger_(`There will be no more content steering requests to ${n} this session.`),this.excludedSteeringManifestURLs.add(n);return}if(o.status===429){const d=o.responseHeaders["retry-after"];this.logger_(`manifest request 429 ${a}.`),this.logger_(`content steering will retry in ${d} seconds.`),this.startTTLTimeout_(parseInt(d,10));return}this.logger_(`manifest failed to load ${a}.`),this.startTTLTimeout_();return}this.trigger({type:"contentsteeringloadcomplete",metadata:s});let l;try{l=JSON.parse(this.request_.responseText)}catch(d){const m={errorType:ae.Error.StreamingContentSteeringParserError,error:d};this.trigger({type:"error",metadata:m})}this.assignSteeringProperties_(l);const c={contentSteeringInfo:s.contentSteeringInfo,contentSteeringManifest:{version:this.steeringManifest.version,reloadUri:this.steeringManifest.reloadUri,priority:this.steeringManifest.priority}};this.trigger({type:"contentsteeringparsed",metadata:c}),this.startTTLTimeout_()})}setProxyServerUrl_(e){const i=new K.URL(e),n=new K.URL(this.proxyServerUrl_);return n.searchParams.set("url",encodeURI(i.toString())),this.setSteeringParams_(n.toString())}decodeDataUriManifest_(e){const i=JSON.parse(K.atob(e));this.assignSteeringProperties_(i)}setSteeringParams_(e){const i=new K.URL(e),n=this.getPathway(),s=this.getBandwidth_();if(n){const a=`_${this.manifestType_}_pathway`;i.searchParams.set(a,n)}if(s){const a=`_${this.manifestType_}_throughput`;i.searchParams.set(a,s)}return i.toString()}assignSteeringProperties_(e){if(this.steeringManifest.version=e.VERSION,!this.steeringManifest.version){this.logger_(`manifest version is ${e.VERSION}, which is not supported.`),this.trigger("error");return}this.steeringManifest.ttl=e.TTL,this.steeringManifest.reloadUri=e["RELOAD-URI"],this.steeringManifest.priority=e["PATHWAY-PRIORITY"]||e["SERVICE-LOCATION-PRIORITY"],this.steeringManifest.pathwayClones=e["PATHWAY-CLONES"],this.nextPathwayClones=this.steeringManifest.pathwayClones,this.availablePathways_.size||(this.logger_("There are no available pathways for content steering. Ending content steering."),this.trigger("error"),this.dispose());const n=(s=>{for(const a of s)if(this.availablePathways_.has(a))return a;return[...this.availablePathways_][0]})(this.steeringManifest.priority);this.currentPathway!==n&&(this.currentPathway=n,this.trigger("content-steering"))}getPathway(){return this.currentPathway||this.defaultPathway}getRequestURI(e){if(!e)return null;const i=s=>this.excludedSteeringManifestURLs.has(s);if(this.proxyServerUrl_){const s=this.setProxyServerUrl_(e);if(!i(s))return s}const n=this.setSteeringParams_(e);return i(n)?null:n}startTTLTimeout_(e=this.steeringManifest.ttl){const i=e*1e3;this.ttlTimeout_=K.setTimeout(()=>{this.requestSteeringManifest()},i)}clearTTLTimeout_(){K.clearTimeout(this.ttlTimeout_),this.ttlTimeout_=null}abort(){this.request_&&this.request_.abort(),this.request_=null}dispose(){this.off("content-steering"),this.off("error"),this.abort(),this.clearTTLTimeout_(),this.currentPathway=null,this.defaultPathway=null,this.queryBeforeStart=null,this.proxyServerUrl_=null,this.manifestType_=null,this.ttlTimeout_=null,this.request_=null,this.excludedSteeringManifestURLs=new Set,this.availablePathways_=new Set,this.steeringManifest=new Zd}addAvailablePathway(e){e&&this.availablePathways_.add(e)}clearAvailablePathways(){this.availablePathways_.clear()}excludePathway(e){return this.availablePathways_.delete(e)}didDASHTagChange(e,i){return!i&&this.steeringManifest.reloadUri||i&&(li(e,i.serverURL)!==this.steeringManifest.reloadUri||i.defaultServiceLocation!==this.defaultPathway||i.queryBeforeStart!==this.queryBeforeStart||i.proxyServerURL!==this.proxyServerUrl_)}getAvailablePathways(){return this.availablePathways_}}const kb=(r,e)=>{let i=null;return(...n)=>{clearTimeout(i),i=setTimeout(()=>{r.apply(null,n)},e)}},_b=10;let Ji;const Sb=["mediaRequests","mediaRequestsAborted","mediaRequestsTimedout","mediaRequestsErrored","mediaTransferDuration","mediaBytesTransferred","mediaAppends"],wb=function(r){return this.audioSegmentLoader_[r]+this.mainSegmentLoader_[r]},Db=function({currentPlaylist:r,buffered:e,currentTime:i,nextPlaylist:n,bufferLowWaterLine:s,bufferHighWaterLine:a,duration:o,bufferBasedABR:l,log:c}){if(!n)return ae.log.warn("We received no playlist to switch to. Please check your stream."),!1;const d=`allowing switch ${r&&r.id||"null"} -> ${n.id}`;if(!r)return c(`${d} as current playlist is not set`),!0;if(n.id===r.id)return!1;const m=!!Qn(e,i).length;if(!r.endList)return!m&&typeof r.partTargetDuration=="number"?(c(`not ${d} as current playlist is live llhls, but currentTime isn't in buffered.`),!1):(c(`${d} as current playlist is live`),!0);const g=mu(e,i),E=l?Mt.EXPERIMENTAL_MAX_BUFFER_LOW_WATER_LINE:Mt.MAX_BUFFER_LOW_WATER_LINE;if(o<E)return c(`${d} as duration < max low water line (${o} < ${E})`),!0;const C=n.attributes.BANDWIDTH,w=r.attributes.BANDWIDTH;if(C<w&&(!l||g<a)){let v=`${d} as next bandwidth < current bandwidth (${C} < ${w})`;return l&&(v+=` and forwardBuffer < bufferHighWaterLine (${g} < ${a})`),c(v),!0}if((!l||C>w)&&g>=s){let v=`${d} as forwardBuffer >= bufferLowWaterLine (${g} >= ${s})`;return l&&(v+=` and next bandwidth > current bandwidth (${C} > ${w})`),c(v),!0}return c(`not ${d} as no switching criteria met`),!1};class Bb extends ae.EventTarget{constructor(e){super(),this.fastQualityChange_=kb(this.fastQualityChange_.bind(this),100);const{src:i,withCredentials:n,tech:s,bandwidth:a,externVhs:o,useCueTags:l,playlistExclusionDuration:c,enableLowInitialPlaylist:d,sourceType:m,cacheEncryptionKeys:g,bufferBasedABR:E,leastPixelDiffSelector:C,captionServices:w,experimentalUseMMS:v}=e;if(!i)throw new Error("A non-empty playlist URL or JSON manifest string is required");let{maxPlaylistRetries:b}=e;(b===null||typeof b>"u")&&(b=1/0),Ji=o,this.bufferBasedABR=!!E,this.leastPixelDiffSelector=!!C,this.withCredentials=n,this.tech_=s,this.vhs_=s.vhs,this.player_=e.player_,this.sourceType_=m,this.useCueTags_=l,this.playlistExclusionDuration=c,this.maxPlaylistRetries=b,this.enableLowInitialPlaylist=d,this.usingManagedMediaSource_=!1,this.useCueTags_&&(this.cueTagsTrack_=this.tech_.addTextTrack("metadata","ad-cues"),this.cueTagsTrack_.inBandMetadataTrackDispatchType=""),this.requestOptions_={withCredentials:n,maxPlaylistRetries:b,timeout:null},this.on("error",this.pauseLoading),this.mediaTypes_=Eb(),v&&K.ManagedMediaSource?(this.tech_.el_.disableRemotePlayback=!0,this.mediaSource=new K.ManagedMediaSource,this.usingManagedMediaSource_=!0,ae.log("Using ManagedMediaSource")):K.MediaSource&&(this.mediaSource=new K.MediaSource),this.handleDurationChange_=this.handleDurationChange_.bind(this),this.handleSourceOpen_=this.handleSourceOpen_.bind(this),this.handleSourceEnded_=this.handleSourceEnded_.bind(this),this.load=this.load.bind(this),this.pause=this.pause.bind(this),this.mediaSource.addEventListener("durationchange",this.handleDurationChange_),this.mediaSource.addEventListener("sourceopen",this.handleSourceOpen_),this.mediaSource.addEventListener("sourceended",this.handleSourceEnded_),this.mediaSource.addEventListener("startstreaming",this.load),this.mediaSource.addEventListener("endstreaming",this.pause),this.seekable_=Rt(),this.hasPlayed_=!1,this.syncController_=new cb(e),this.segmentMetadataTrack_=s.addRemoteTextTrack({kind:"metadata",label:"segment-metadata"},!1).track,this.segmentMetadataTrack_.mode="hidden",this.decrypter_=new fb,this.sourceUpdater_=new dp(this.mediaSource),this.inbandTextTracks_={},this.timelineChangeController_=new db,this.keyStatusMap_=new Map;const k={vhs:this.vhs_,parse708captions:e.parse708captions,useDtsForTimestampOffset:e.useDtsForTimestampOffset,captionServices:w,mediaSource:this.mediaSource,currentTime:this.tech_.currentTime.bind(this.tech_),seekable:()=>this.seekable(),seeking:()=>this.tech_.seeking(),duration:()=>this.duration(),hasPlayed:()=>this.hasPlayed_,goalBufferLength:()=>this.goalBufferLength(),bandwidth:a,syncController:this.syncController_,decrypter:this.decrypter_,sourceType:this.sourceType_,inbandTextTracks:this.inbandTextTracks_,cacheEncryptionKeys:g,sourceUpdater:this.sourceUpdater_,timelineChangeController:this.timelineChangeController_,exactManifestTimings:e.exactManifestTimings,addMetadataToTextTrack:this.addMetadataToTextTrack.bind(this)};this.mainPlaylistLoader_=this.sourceType_==="dash"?new xl(i,this.vhs_,lt(this.requestOptions_,{addMetadataToTextTrack:this.addMetadataToTextTrack.bind(this)})):new Yn(i,this.vhs_,lt(this.requestOptions_,{addDateRangesToTextTrack:this.addDateRangesToTextTrack_.bind(this)})),this.setupMainPlaylistLoaderListeners_(),this.mainSegmentLoader_=new Sl(lt(k,{segmentMetadataTrack:this.segmentMetadataTrack_,loaderType:"main"}),e),this.audioSegmentLoader_=new Sl(lt(k,{loaderType:"audio"}),e),this.subtitleSegmentLoader_=new sb(lt(k,{loaderType:"vtt",featuresNativeTextTracks:this.tech_.featuresNativeTextTracks,loadVttJs:()=>new Promise((O,q)=>{function R(){s.off("vttjserror",x),O()}function x(){s.off("vttjsloaded",R),q()}s.one("vttjsloaded",R),s.one("vttjserror",x),s.addWebVttScript_()})}),e);const S=()=>this.mainSegmentLoader_.bandwidth;this.contentSteeringController_=new xb(this.vhs_.xhr,S),this.setupSegmentLoaderListeners_(),this.bufferBasedABR&&(this.mainPlaylistLoader_.one("loadedplaylist",()=>this.startABRTimer_()),this.tech_.on("pause",()=>this.stopABRTimer_()),this.tech_.on("play",()=>this.startABRTimer_())),Sb.forEach(O=>{this[O+"_"]=wb.bind(this,O)}),this.logger_=ki("pc"),this.triggeredFmp4Usage=!1,this.tech_.preload()==="none"?(this.loadOnPlay_=()=>{this.loadOnPlay_=null,this.mainPlaylistLoader_.load()},this.tech_.one("play",this.loadOnPlay_)):this.mainPlaylistLoader_.load(),this.timeToLoadedData__=-1,this.mainAppendsToLoadedData__=-1,this.audioAppendsToLoadedData__=-1;const D=this.tech_.preload()==="none"?"play":"loadstart";this.tech_.one(D,()=>{const O=Date.now();this.tech_.one("loadeddata",()=>{this.timeToLoadedData__=Date.now()-O,this.mainAppendsToLoadedData__=this.mainSegmentLoader_.mediaAppends,this.audioAppendsToLoadedData__=this.audioSegmentLoader_.mediaAppends})})}mainAppendsToLoadedData_(){return this.mainAppendsToLoadedData__}audioAppendsToLoadedData_(){return this.audioAppendsToLoadedData__}appendsToLoadedData_(){const e=this.mainAppendsToLoadedData_(),i=this.audioAppendsToLoadedData_();return e===-1||i===-1?-1:e+i}timeToLoadedData_(){return this.timeToLoadedData__}checkABR_(e="abr"){const i=this.selectPlaylist();i&&this.shouldSwitchToMedia_(i)&&this.switchMedia_(i,e)}switchMedia_(e,i,n){const s=this.media(),a=s&&(s.id||s.uri),o=e&&(e.id||e.uri);if(a&&a!==o){this.logger_(`switch media ${a} -> ${o} from ${i}`);const l={renditionInfo:{id:o,bandwidth:e.attributes.BANDWIDTH,resolution:e.attributes.RESOLUTION,codecs:e.attributes.CODECS},cause:i};this.trigger({type:"renditionselected",metadata:l}),this.tech_.trigger({type:"usage",name:`vhs-rendition-change-${i}`})}this.mainPlaylistLoader_.media(e,n)}switchMediaForDASHContentSteering_(){["AUDIO","SUBTITLES","CLOSED-CAPTIONS"].forEach(e=>{const i=this.mediaTypes_[e],n=i?i.activeGroup():null,s=this.contentSteeringController_.getPathway();if(n&&s){const o=(n.length?n[0].playlists:n.playlists).filter(l=>l.attributes.serviceLocation===s);o.length&&this.mediaTypes_[e].activePlaylistLoader.media(o[0])}})}startABRTimer_(){this.stopABRTimer_(),this.abrTimer_=K.setInterval(()=>this.checkABR_(),250)}stopABRTimer_(){this.tech_.scrubbing&&this.tech_.scrubbing()||(K.clearInterval(this.abrTimer_),this.abrTimer_=null)}getAudioTrackPlaylists_(){const e=this.main(),i=e&&e.playlists||[];if(!e||!e.mediaGroups||!e.mediaGroups.AUDIO)return i;const n=e.mediaGroups.AUDIO,s=Object.keys(n);let a;if(Object.keys(this.mediaTypes_.AUDIO.groups).length)a=this.mediaTypes_.AUDIO.activeTrack();else{const l=n.main||s.length&&n[s[0]];for(const c in l)if(l[c].default){a={label:c};break}}if(!a)return i;const o=[];for(const l in n)if(n[l][a.label]){const c=n[l][a.label];if(c.playlists&&c.playlists.length)o.push.apply(o,c.playlists);else if(c.uri)o.push(c);else if(e.playlists.length)for(let d=0;d<e.playlists.length;d++){const m=e.playlists[d];m.attributes&&m.attributes.AUDIO&&m.attributes.AUDIO===l&&o.push(m)}}return o.length?o:i}setupMainPlaylistLoaderListeners_(){this.mainPlaylistLoader_.on("loadedmetadata",()=>{const i=this.mainPlaylistLoader_.media(),n=i.targetDuration*1.5*1e3;bl(this.mainPlaylistLoader_.main,this.mainPlaylistLoader_.media())?this.requestOptions_.timeout=0:this.requestOptions_.timeout=n,i.endList&&this.tech_.preload()!=="none"&&(this.mainSegmentLoader_.playlist(i,this.requestOptions_),this.mainSegmentLoader_.load()),Ab({sourceType:this.sourceType_,segmentLoaders:{AUDIO:this.audioSegmentLoader_,SUBTITLES:this.subtitleSegmentLoader_,main:this.mainSegmentLoader_},tech:this.tech_,requestOptions:this.requestOptions_,mainPlaylistLoader:this.mainPlaylistLoader_,vhs:this.vhs_,main:this.main(),mediaTypes:this.mediaTypes_,excludePlaylist:this.excludePlaylist.bind(this)}),this.triggerPresenceUsage_(this.main(),i),this.setupFirstPlay(),!this.mediaTypes_.AUDIO.activePlaylistLoader||this.mediaTypes_.AUDIO.activePlaylistLoader.media()?this.trigger("selectedinitialmedia"):this.mediaTypes_.AUDIO.activePlaylistLoader.one("loadedmetadata",()=>{this.trigger("selectedinitialmedia")})}),this.mainPlaylistLoader_.on("loadedplaylist",()=>{this.loadOnPlay_&&this.tech_.off("play",this.loadOnPlay_);let i=this.mainPlaylistLoader_.media();if(!i){this.attachContentSteeringListeners_(),this.initContentSteeringController_(),this.excludeUnsupportedVariants_();let n;if(this.enableLowInitialPlaylist&&(n=this.selectInitialPlaylist()),n||(n=this.selectPlaylist()),!n||!this.shouldSwitchToMedia_(n)||(this.initialMedia_=n,this.switchMedia_(this.initialMedia_,"initial"),!(this.sourceType_==="vhs-json"&&this.initialMedia_.segments)))return;i=this.initialMedia_}this.handleUpdatedMediaPlaylist(i)}),this.mainPlaylistLoader_.on("error",()=>{const i=this.mainPlaylistLoader_.error;this.excludePlaylist({playlistToExclude:i.playlist,error:i})}),this.mainPlaylistLoader_.on("mediachanging",()=>{this.mainSegmentLoader_.abort(),this.mainSegmentLoader_.pause()}),this.mainPlaylistLoader_.on("mediachange",()=>{const i=this.mainPlaylistLoader_.media(),n=i.targetDuration*1.5*1e3;bl(this.mainPlaylistLoader_.main,this.mainPlaylistLoader_.media())?this.requestOptions_.timeout=0:this.requestOptions_.timeout=n,this.sourceType_==="dash"&&this.mainPlaylistLoader_.isPaused&&this.mainPlaylistLoader_.load(),this.mainSegmentLoader_.pause(),this.mainSegmentLoader_.playlist(i,this.requestOptions_),this.waitingForFastQualityPlaylistReceived_?this.runFastQualitySwitch_():this.mainSegmentLoader_.load(),this.tech_.trigger({type:"mediachange",bubbles:!0})}),this.mainPlaylistLoader_.on("playlistunchanged",()=>{const i=this.mainPlaylistLoader_.media();if(i.lastExcludeReason_==="playlist-unchanged")return;this.stuckAtPlaylistEnd_(i)&&(this.excludePlaylist({error:{message:"Playlist no longer updating.",reason:"playlist-unchanged"}}),this.tech_.trigger("playliststuck"))}),this.mainPlaylistLoader_.on("renditiondisabled",()=>{this.tech_.trigger({type:"usage",name:"vhs-rendition-disabled"})}),this.mainPlaylistLoader_.on("renditionenabled",()=>{this.tech_.trigger({type:"usage",name:"vhs-rendition-enabled"})}),["manifestrequeststart","manifestrequestcomplete","manifestparsestart","manifestparsecomplete","playlistrequeststart","playlistrequestcomplete","playlistparsestart","playlistparsecomplete","renditiondisabled","renditionenabled"].forEach(i=>{this.mainPlaylistLoader_.on(i,n=>{this.player_.trigger(_t({},n))})})}handleUpdatedMediaPlaylist(e){this.useCueTags_&&this.updateAdCues_(e),this.mainSegmentLoader_.pause(),this.mainSegmentLoader_.playlist(e,this.requestOptions_),this.waitingForFastQualityPlaylistReceived_&&this.runFastQualitySwitch_(),this.updateDuration(!e.endList),this.tech_.paused()||(this.mainSegmentLoader_.load(),this.audioSegmentLoader_&&this.audioSegmentLoader_.load())}triggerPresenceUsage_(e,i){const n=e.mediaGroups||{};let s=!0;const a=Object.keys(n.AUDIO);for(const o in n.AUDIO)for(const l in n.AUDIO[o])n.AUDIO[o][l].uri||(s=!1);s&&this.tech_.trigger({type:"usage",name:"vhs-demuxed"}),Object.keys(n.SUBTITLES).length&&this.tech_.trigger({type:"usage",name:"vhs-webvtt"}),Ji.Playlist.isAes(i)&&this.tech_.trigger({type:"usage",name:"vhs-aes"}),a.length&&Object.keys(n.AUDIO[a[0]]).length>1&&this.tech_.trigger({type:"usage",name:"vhs-alternate-audio"}),this.useCueTags_&&this.tech_.trigger({type:"usage",name:"vhs-playlist-cue-tags"})}shouldSwitchToMedia_(e){const i=this.mainPlaylistLoader_.media()||this.mainPlaylistLoader_.pendingMedia_,n=this.tech_.currentTime(),s=this.bufferLowWaterLine(),a=this.bufferHighWaterLine(),o=this.tech_.buffered();return Db({buffered:o,currentTime:n,currentPlaylist:i,nextPlaylist:e,bufferLowWaterLine:s,bufferHighWaterLine:a,duration:this.duration(),bufferBasedABR:this.bufferBasedABR,log:this.logger_})}setupSegmentLoaderListeners_(){this.mainSegmentLoader_.on("bandwidthupdate",()=>{this.checkABR_("bandwidthupdate"),this.tech_.trigger("bandwidthupdate")}),this.mainSegmentLoader_.on("timeout",()=>{this.bufferBasedABR&&this.mainSegmentLoader_.load()}),this.bufferBasedABR||this.mainSegmentLoader_.on("progress",()=>{this.trigger("progress")}),this.mainSegmentLoader_.on("error",()=>{const n=this.mainSegmentLoader_.error();this.excludePlaylist({playlistToExclude:n.playlist,error:n})}),this.mainSegmentLoader_.on("appenderror",()=>{this.error=this.mainSegmentLoader_.error_,this.trigger("error")}),this.mainSegmentLoader_.on("syncinfoupdate",()=>{this.onSyncInfoUpdate_()}),this.mainSegmentLoader_.on("timestampoffset",()=>{this.tech_.trigger({type:"usage",name:"vhs-timestamp-offset"})}),this.audioSegmentLoader_.on("syncinfoupdate",()=>{this.onSyncInfoUpdate_()}),this.audioSegmentLoader_.on("appenderror",()=>{this.error=this.audioSegmentLoader_.error_,this.trigger("error")}),this.mainSegmentLoader_.on("ended",()=>{this.logger_("main segment loader ended"),this.onEndOfStream()}),this.timelineChangeController_.on("audioTimelineBehind",()=>{const n=this.audioSegmentLoader_.pendingSegment_;if(!n||!n.segment||!n.segment.syncInfo)return;const s=n.segment.syncInfo.end+.01;this.tech_.setCurrentTime(s)}),this.timelineChangeController_.on("fixBadTimelineChange",()=>{this.logger_("Fix bad timeline change. Restarting al segment loaders..."),this.mainSegmentLoader_.pause(),this.mainSegmentLoader_.resetEverything(),this.mediaTypes_.AUDIO.activePlaylistLoader&&(this.audioSegmentLoader_.pause(),this.audioSegmentLoader_.resetEverything()),this.mediaTypes_.SUBTITLES.activePlaylistLoader&&(this.subtitleSegmentLoader_.pause(),this.subtitleSegmentLoader_.resetEverything()),this.load()}),this.mainSegmentLoader_.on("earlyabort",n=>{this.bufferBasedABR||(this.delegateLoaders_("all",["abort"]),this.excludePlaylist({error:{message:"Aborted early because there isn't enough bandwidth to complete the request without rebuffering."},playlistExclusionDuration:_b}))});const e=()=>{if(!this.sourceUpdater_.hasCreatedSourceBuffers())return this.tryToCreateSourceBuffers_();const n=this.getCodecsOrExclude_();n&&this.sourceUpdater_.addOrChangeSourceBuffers(n)};this.mainSegmentLoader_.on("trackinfo",e),this.audioSegmentLoader_.on("trackinfo",e),this.mainSegmentLoader_.on("fmp4",()=>{this.triggeredFmp4Usage||(this.tech_.trigger({type:"usage",name:"vhs-fmp4"}),this.triggeredFmp4Usage=!0)}),this.audioSegmentLoader_.on("fmp4",()=>{this.triggeredFmp4Usage||(this.tech_.trigger({type:"usage",name:"vhs-fmp4"}),this.triggeredFmp4Usage=!0)}),this.audioSegmentLoader_.on("ended",()=>{this.logger_("audioSegmentLoader ended"),this.onEndOfStream()}),["segmentselected","segmentloadstart","segmentloaded","segmentkeyloadstart","segmentkeyloadcomplete","segmentdecryptionstart","segmentdecryptioncomplete","segmenttransmuxingstart","segmenttransmuxingcomplete","segmenttransmuxingtrackinfoavailable","segmenttransmuxingtiminginfoavailable","segmentappendstart","appendsdone","bandwidthupdated","timelinechange","codecschange"].forEach(n=>{this.mainSegmentLoader_.on(n,s=>{this.player_.trigger(_t({},s))}),this.audioSegmentLoader_.on(n,s=>{this.player_.trigger(_t({},s))}),this.subtitleSegmentLoader_.on(n,s=>{this.player_.trigger(_t({},s))})})}mediaSecondsLoaded_(){return Math.max(this.audioSegmentLoader_.mediaSecondsLoaded+this.mainSegmentLoader_.mediaSecondsLoaded)}load(){this.mainSegmentLoader_.load(),this.mediaTypes_.AUDIO.activePlaylistLoader&&this.audioSegmentLoader_.load(),this.mediaTypes_.SUBTITLES.activePlaylistLoader&&this.subtitleSegmentLoader_.load()}pause(){this.mainSegmentLoader_.pause(),this.mediaTypes_.AUDIO.activePlaylistLoader&&this.audioSegmentLoader_.pause(),this.mediaTypes_.SUBTITLES.activePlaylistLoader&&this.subtitleSegmentLoader_.pause()}fastQualityChange_(e=this.selectPlaylist()){if(e&&e===this.mainPlaylistLoader_.media()){this.logger_("skipping fastQualityChange because new media is same as old");return}this.switchMedia_(e,"fast-quality"),this.waitingForFastQualityPlaylistReceived_=!0}runFastQualitySwitch_(){this.waitingForFastQualityPlaylistReceived_=!1,this.mainSegmentLoader_.pause(),this.mainSegmentLoader_.resetEverything(),this.mediaTypes_.AUDIO.activePlaylistLoader&&(this.audioSegmentLoader_.pause(),this.audioSegmentLoader_.resetEverything()),this.mediaTypes_.SUBTITLES.activePlaylistLoader&&(this.subtitleSegmentLoader_.pause(),this.subtitleSegmentLoader_.resetEverything()),this.load()}play(){if(this.setupFirstPlay())return;this.tech_.ended()&&this.tech_.setCurrentTime(0),this.hasPlayed_&&this.load();const e=this.tech_.seekable();if(this.tech_.duration()===1/0&&this.tech_.currentTime()<e.start(0))return this.tech_.setCurrentTime(e.end(e.length-1))}setupFirstPlay(){const e=this.mainPlaylistLoader_.media();if(!e||this.tech_.paused()||this.hasPlayed_)return!1;if(!e.endList||e.start){const i=this.seekable();if(!i.length)return!1;const n=i.end(0);let s=n;if(e.start){const a=e.start.timeOffset;if(a<0){const o=this.mainPlaylistLoader_.main,l=Ji.Playlist.liveEdgeDelay(o,e),c=n+l;s=Math.max(Math.min(c+a,n),i.start(0))}else s=Math.min(n,a)}this.trigger("firstplay"),this.tech_.setCurrentTime(s)}return this.hasPlayed_=!0,this.load(),!0}handleSourceOpen_(){if(this.tryToCreateSourceBuffers_(),this.tech_.autoplay()){const e=this.tech_.play();typeof e<"u"&&typeof e.then=="function"&&e.then(null,i=>{})}this.trigger("sourceopen")}handleSourceEnded_(){if(!this.inbandTextTracks_.metadataTrack_)return;const e=this.inbandTextTracks_.metadataTrack_.cues;if(!e||!e.length)return;const i=this.duration();e[e.length-1].endTime=isNaN(i)||Math.abs(i)===1/0?Number.MAX_VALUE:i}handleDurationChange_(){this.tech_.trigger("durationchange")}onEndOfStream(){let e=this.mainSegmentLoader_.ended_;if(this.mediaTypes_.AUDIO.activePlaylistLoader){const i=this.mainSegmentLoader_.getCurrentMediaInfo_();!i||i.hasVideo?e=e&&this.audioSegmentLoader_.ended_:e=this.audioSegmentLoader_.ended_}e&&(this.stopABRTimer_(),this.sourceUpdater_.endOfStream())}stuckAtPlaylistEnd_(e){if(!this.seekable().length)return!1;const n=this.syncController_.getExpiredTime(e,this.duration());if(n===null)return!1;const s=Ji.Playlist.playlistEnd(e,n),a=this.tech_.currentTime(),o=this.tech_.buffered();if(!o.length)return s-a<=Hi;const l=o.end(o.length-1);return l-a<=Hi&&s-l<=Hi}excludePlaylist({playlistToExclude:e=this.mainPlaylistLoader_.media(),error:i={},playlistExclusionDuration:n}){if(e=e||this.mainPlaylistLoader_.media(),n=n||i.playlistExclusionDuration||this.playlistExclusionDuration,!e){this.error=i,this.mediaSource.readyState!=="open"?this.trigger("error"):this.sourceUpdater_.endOfStream("network");return}e.playlistErrors_++;const s=this.mainPlaylistLoader_.main.playlists,a=s.filter(Ja),o=a.length===1&&a[0]===e;if(s.length===1&&n!==1/0)return ae.log.warn(`Problem encountered with playlist ${e.id}. Trying again since it is the only playlist.`),this.tech_.trigger("retryplaylist"),this.mainPlaylistLoader_.load(o);if(o){if(this.main().contentSteering){const w=this.pathwayAttribute_(e),v=this.contentSteeringController_.steeringManifest.ttl*1e3;this.contentSteeringController_.excludePathway(w),this.excludeThenChangePathway_(),setTimeout(()=>{this.contentSteeringController_.addAvailablePathway(w)},v);return}let C=!1;s.forEach(w=>{if(w===e)return;const v=w.excludeUntil;typeof v<"u"&&v!==1/0&&(C=!0,delete w.excludeUntil)}),C&&(ae.log.warn("Removing other playlists from the exclusion list because the last rendition is about to be excluded."),this.tech_.trigger("retryplaylist"))}let l;e.playlistErrors_>this.maxPlaylistRetries?l=1/0:l=Date.now()+n*1e3,e.excludeUntil=l,i.reason&&(e.lastExcludeReason_=i.reason),this.tech_.trigger("excludeplaylist"),this.tech_.trigger({type:"usage",name:"vhs-rendition-excluded"});const c=this.selectPlaylist();if(!c){this.error="Playback cannot continue. No available working or supported playlists.",this.trigger("error");return}const d=i.internal?this.logger_:ae.log.warn,m=i.message?" "+i.message:"";d(`${i.internal?"Internal problem":"Problem"} encountered with playlist ${e.id}.${m} Switching to playlist ${c.id}.`),c.attributes.AUDIO!==e.attributes.AUDIO&&this.delegateLoaders_("audio",["abort","pause"]),c.attributes.SUBTITLES!==e.attributes.SUBTITLES&&this.delegateLoaders_("subtitle",["abort","pause"]),this.delegateLoaders_("main",["abort","pause"]);const g=c.targetDuration/2*1e3||5*1e3,E=typeof c.lastRequest=="number"&&Date.now()-c.lastRequest<=g;return this.switchMedia_(c,"exclude",o||E)}pauseLoading(){this.delegateLoaders_("all",["abort","pause"]),this.stopABRTimer_()}delegateLoaders_(e,i){const n=[],s=e==="all";(s||e==="main")&&n.push(this.mainPlaylistLoader_);const a=[];(s||e==="audio")&&a.push("AUDIO"),(s||e==="subtitle")&&(a.push("CLOSED-CAPTIONS"),a.push("SUBTITLES")),a.forEach(o=>{const l=this.mediaTypes_[o]&&this.mediaTypes_[o].activePlaylistLoader;l&&n.push(l)}),["main","audio","subtitle"].forEach(o=>{const l=this[`${o}SegmentLoader_`];l&&(e===o||e==="all")&&n.push(l)}),n.forEach(o=>i.forEach(l=>{typeof o[l]=="function"&&o[l]()}))}setCurrentTime(e){const i=Qn(this.tech_.buffered(),e);if(!(this.mainPlaylistLoader_&&this.mainPlaylistLoader_.media())||!this.mainPlaylistLoader_.media().segments)return 0;if(i&&i.length)return e;this.mainSegmentLoader_.pause(),this.mainSegmentLoader_.resetEverything(),this.mediaTypes_.AUDIO.activePlaylistLoader&&(this.audioSegmentLoader_.pause(),this.audioSegmentLoader_.resetEverything()),this.mediaTypes_.SUBTITLES.activePlaylistLoader&&(this.subtitleSegmentLoader_.pause(),this.subtitleSegmentLoader_.resetEverything()),this.load()}duration(){if(!this.mainPlaylistLoader_)return 0;const e=this.mainPlaylistLoader_.media();return e?e.endList?this.mediaSource?this.mediaSource.duration:Ji.Playlist.duration(e):1/0:0}seekable(){return this.seekable_}getSeekableRange_(e,i){const n=e.media();if(!n)return null;const s=this.syncController_.getMediaSequenceSync(i);if(s&&s.isReliable){const l=s.start,c=s.end;if(!isFinite(l)||!isFinite(c))return null;const d=Ji.Playlist.liveEdgeDelay(this.mainPlaylistLoader_.main,n),m=Math.max(l,c-d);return Rt([[l,m]])}const a=this.syncController_.getExpiredTime(n,this.duration());if(a===null)return null;const o=Ji.Playlist.seekable(n,a,Ji.Playlist.liveEdgeDelay(this.mainPlaylistLoader_.main,n));return o.length?o:null}computeFinalSeekable_(e,i){if(!i)return e;const n=e.start(0),s=e.end(0),a=i.start(0),o=i.end(0);return a>s||n>o?e:Rt([[Math.max(n,a),Math.min(s,o)]])}onSyncInfoUpdate_(){if(!this.mainPlaylistLoader_)return;const e=this.getSeekableRange_(this.mainPlaylistLoader_,"main");if(!e)return;let i;if(this.mediaTypes_.AUDIO.activePlaylistLoader&&(i=this.getSeekableRange_(this.mediaTypes_.AUDIO.activePlaylistLoader,"audio"),!i))return;const n=this.seekable_;if(this.seekable_=this.computeFinalSeekable_(e,i),!this.seekable_||n&&n.length&&this.seekable_.length&&n.start(0)===this.seekable_.start(0)&&n.end(0)===this.seekable_.end(0))return;this.logger_(`seekable updated [${xf(this.seekable_)}]`);const s={seekableRanges:this.seekable_};this.trigger({type:"seekablerangeschanged",metadata:s}),this.tech_.trigger("seekablechanged")}updateDuration(e){if(this.updateDuration_&&(this.mediaSource.removeEventListener("sourceopen",this.updateDuration_),this.updateDuration_=null),this.mediaSource.readyState!=="open"){this.updateDuration_=this.updateDuration.bind(this,e),this.mediaSource.addEventListener("sourceopen",this.updateDuration_);return}if(e){const s=this.seekable();if(!s.length)return;(isNaN(this.mediaSource.duration)||this.mediaSource.duration<s.end(s.length-1))&&this.sourceUpdater_.setDuration(s.end(s.length-1));return}const i=this.tech_.buffered();let n=Ji.Playlist.duration(this.mainPlaylistLoader_.media());i.length>0&&(n=Math.max(n,i.end(i.length-1))),this.mediaSource.duration!==n&&this.sourceUpdater_.setDuration(n)}dispose(){this.trigger("dispose"),this.decrypter_.terminate(),this.mainPlaylistLoader_.dispose(),this.mainSegmentLoader_.dispose(),this.contentSteeringController_.dispose(),this.keyStatusMap_.clear(),this.loadOnPlay_&&this.tech_.off("play",this.loadOnPlay_),["AUDIO","SUBTITLES"].forEach(e=>{const i=this.mediaTypes_[e].groups;for(const n in i)i[n].forEach(s=>{s.playlistLoader&&s.playlistLoader.dispose()})}),this.audioSegmentLoader_.dispose(),this.subtitleSegmentLoader_.dispose(),this.sourceUpdater_.dispose(),this.timelineChangeController_.dispose(),this.stopABRTimer_(),this.updateDuration_&&this.mediaSource.removeEventListener("sourceopen",this.updateDuration_),this.mediaSource.removeEventListener("durationchange",this.handleDurationChange_),this.mediaSource.removeEventListener("sourceopen",this.handleSourceOpen_),this.mediaSource.removeEventListener("sourceended",this.handleSourceEnded_),this.off()}main(){return this.mainPlaylistLoader_.main}media(){return this.mainPlaylistLoader_.media()||this.initialMedia_}areMediaTypesKnown_(){const e=!!this.mediaTypes_.AUDIO.activePlaylistLoader,i=!!this.mainSegmentLoader_.getCurrentMediaInfo_(),n=e?!!this.audioSegmentLoader_.getCurrentMediaInfo_():!0;return!(!i||!n)}getCodecsOrExclude_(){const e={main:this.mainSegmentLoader_.getCurrentMediaInfo_()||{},audio:this.audioSegmentLoader_.getCurrentMediaInfo_()||{}},i=this.mainSegmentLoader_.getPendingSegmentPlaylist()||this.media();e.video=e.main;const n=ts(this.main(),i),s={},a=!!this.mediaTypes_.AUDIO.activePlaylistLoader;if(e.main.hasVideo&&(s.video=n.video||e.main.videoCodec||yv),e.main.isMuxed&&(s.video+=`,${n.audio||e.main.audioCodec||Uc}`),(e.main.hasAudio&&!e.main.isMuxed||e.audio.hasAudio||a)&&(s.audio=n.audio||e.main.audioCodec||e.audio.audioCodec||Uc,e.audio.isFmp4=e.main.hasAudio&&!e.main.isMuxed?e.main.isFmp4:e.audio.isFmp4),!s.audio&&!s.video){this.excludePlaylist({playlistToExclude:i,error:{message:"Could not determine codecs for playlist."},playlistExclusionDuration:1/0});return}const o=(d,m)=>d?Wr(m,this.usingManagedMediaSource_):No(m),l={};let c;if(["video","audio"].forEach(function(d){if(s.hasOwnProperty(d)&&!o(e[d].isFmp4,s[d])){const m=e[d].isFmp4?"browser":"muxer";l[m]=l[m]||[],l[m].push(s[d]),d==="audio"&&(c=m)}}),a&&c&&i.attributes.AUDIO){const d=i.attributes.AUDIO;this.main().playlists.forEach(m=>{(m.attributes&&m.attributes.AUDIO)===d&&m!==i&&(m.excludeUntil=1/0)}),this.logger_(`excluding audio group ${d} as ${c} does not support codec(s): "${s.audio}"`)}if(Object.keys(l).length){const d=Object.keys(l).reduce((m,g)=>(m&&(m+=", "),m+=`${g} does not support codec(s): "${l[g].join(",")}"`,m),"")+".";this.excludePlaylist({playlistToExclude:i,error:{internal:!0,message:d},playlistExclusionDuration:1/0});return}if(this.sourceUpdater_.hasCreatedSourceBuffers()&&!this.sourceUpdater_.canChangeType()){const d=[];if(["video","audio"].forEach(m=>{const g=(qi(this.sourceUpdater_.codecs[m]||"")[0]||{}).type,E=(qi(s[m]||"")[0]||{}).type;g&&E&&g.toLowerCase()!==E.toLowerCase()&&d.push(`"${this.sourceUpdater_.codecs[m]}" -> "${s[m]}"`)}),d.length){this.excludePlaylist({playlistToExclude:i,error:{message:`Codec switching not supported: ${d.join(", ")}.`,internal:!0},playlistExclusionDuration:1/0});return}}return s}tryToCreateSourceBuffers_(){if(this.mediaSource.readyState!=="open"||this.sourceUpdater_.hasCreatedSourceBuffers()||!this.areMediaTypesKnown_())return;const e=this.getCodecsOrExclude_();if(!e)return;this.sourceUpdater_.createSourceBuffers(e);const i=[e.video,e.audio].filter(Boolean).join(",");this.excludeIncompatibleVariants_(i)}excludeUnsupportedVariants_(){const e=this.main().playlists,i=[];Object.keys(e).forEach(n=>{const s=e[n];if(i.indexOf(s.id)!==-1)return;i.push(s.id);const a=ts(this.main,s),o=[];a.audio&&!No(a.audio)&&!Wr(a.audio,this.usingManagedMediaSource_)&&o.push(`audio codec ${a.audio}`),a.video&&!No(a.video)&&!Wr(a.video,this.usingManagedMediaSource_)&&o.push(`video codec ${a.video}`),a.text&&a.text==="stpp.ttml.im1t"&&o.push(`text codec ${a.text}`),o.length&&(s.excludeUntil=1/0,this.logger_(`excluding ${s.id} for unsupported: ${o.join(", ")}`))})}excludeIncompatibleVariants_(e){const i=[],n=this.main().playlists,s=ls(qi(e)),a=Od(s),o=s.video&&qi(s.video)[0]||null,l=s.audio&&qi(s.audio)[0]||null;Object.keys(n).forEach(c=>{const d=n[c];if(i.indexOf(d.id)!==-1||d.excludeUntil===1/0)return;i.push(d.id);const m=[],g=ts(this.mainPlaylistLoader_.main,d),E=Od(g);if(!(!g.audio&&!g.video)){if(E!==a&&m.push(`codec count "${E}" !== "${a}"`),!this.sourceUpdater_.canChangeType()){const C=g.video&&qi(g.video)[0]||null,w=g.audio&&qi(g.audio)[0]||null;C&&o&&C.type.toLowerCase()!==o.type.toLowerCase()&&m.push(`video codec "${C.type}" !== "${o.type}"`),w&&l&&w.type.toLowerCase()!==l.type.toLowerCase()&&m.push(`audio codec "${w.type}" !== "${l.type}"`)}m.length&&(d.excludeUntil=1/0,this.logger_(`excluding ${d.id}: ${m.join(" && ")}`))}})}updateAdCues_(e){let i=0;const n=this.seekable();n.length&&(i=n.start(0)),ob(e,this.cueTagsTrack_,i)}goalBufferLength(){const e=this.tech_.currentTime(),i=Mt.GOAL_BUFFER_LENGTH,n=Mt.GOAL_BUFFER_LENGTH_RATE,s=Math.max(i,Mt.MAX_GOAL_BUFFER_LENGTH);return Math.min(i+e*n,s)}bufferLowWaterLine(){const e=this.tech_.currentTime(),i=Mt.BUFFER_LOW_WATER_LINE,n=Mt.BUFFER_LOW_WATER_LINE_RATE,s=Math.max(i,Mt.MAX_BUFFER_LOW_WATER_LINE),a=Math.max(i,Mt.EXPERIMENTAL_MAX_BUFFER_LOW_WATER_LINE);return Math.min(i+e*n,this.bufferBasedABR?a:s)}bufferHighWaterLine(){return Mt.BUFFER_HIGH_WATER_LINE}addDateRangesToTextTrack_(e){zd(this.inbandTextTracks_,"com.apple.streaming",this.tech_),F8({inbandTextTracks:this.inbandTextTracks_,dateRanges:e})}addMetadataToTextTrack(e,i,n){const s=this.sourceUpdater_.videoBuffer?this.sourceUpdater_.videoTimestampOffset():this.sourceUpdater_.audioTimestampOffset();zd(this.inbandTextTracks_,e,this.tech_),L8({inbandTextTracks:this.inbandTextTracks_,metadataArray:i,timestampOffset:s,videoDuration:n})}pathwayAttribute_(e){return e.attributes["PATHWAY-ID"]||e.attributes.serviceLocation}initContentSteeringController_(){const e=this.main();if(e.contentSteering){for(const i of e.playlists)this.contentSteeringController_.addAvailablePathway(this.pathwayAttribute_(i));if(this.contentSteeringController_.assignTagProperties(e.uri,e.contentSteering),this.contentSteeringController_.queryBeforeStart){this.contentSteeringController_.requestSteeringManifest(!0);return}this.tech_.one("canplay",()=>{this.contentSteeringController_.requestSteeringManifest()})}}resetContentSteeringController_(){this.contentSteeringController_.clearAvailablePathways(),this.contentSteeringController_.dispose(),this.initContentSteeringController_()}attachContentSteeringListeners_(){this.contentSteeringController_.on("content-steering",this.excludeThenChangePathway_.bind(this)),["contentsteeringloadstart","contentsteeringloadcomplete","contentsteeringparsed"].forEach(i=>{this.contentSteeringController_.on(i,n=>{this.trigger(_t({},n))})}),this.sourceType_==="dash"&&this.mainPlaylistLoader_.on("loadedplaylist",()=>{const i=this.main();(this.contentSteeringController_.didDASHTagChange(i.uri,i.contentSteering)||(()=>{const a=this.contentSteeringController_.getAvailablePathways(),o=[];for(const l of i.playlists){const c=l.attributes.serviceLocation;if(c&&(o.push(c),!a.has(c)))return!0}return!!(!o.length&&a.size)})())&&this.resetContentSteeringController_()})}excludeThenChangePathway_(){const e=this.contentSteeringController_.getPathway();if(!e)return;this.handlePathwayClones_();const n=this.main().playlists,s=new Set;let a=!1;Object.keys(n).forEach(o=>{const l=n[o],c=this.pathwayAttribute_(l),d=c&&e!==c;l.excludeUntil===1/0&&l.lastExcludeReason_==="content-steering"&&!d&&(delete l.excludeUntil,delete l.lastExcludeReason_,a=!0);const g=!l.excludeUntil&&l.excludeUntil!==1/0;!s.has(l.id)&&d&&g&&(s.add(l.id),l.excludeUntil=1/0,l.lastExcludeReason_="content-steering",this.logger_(`excluding ${l.id} for ${l.lastExcludeReason_}`))}),this.contentSteeringController_.manifestType_==="DASH"&&Object.keys(this.mediaTypes_).forEach(o=>{const l=this.mediaTypes_[o];if(l.activePlaylistLoader){const c=l.activePlaylistLoader.media_;c&&c.attributes.serviceLocation!==e&&(a=!0)}}),a&&this.changeSegmentPathway_()}handlePathwayClones_(){const i=this.main().playlists,n=this.contentSteeringController_.currentPathwayClones,s=this.contentSteeringController_.nextPathwayClones;if(n&&n.size||s&&s.size){for(const[o,l]of n.entries())s.get(o)||(this.mainPlaylistLoader_.updateOrDeleteClone(l),this.contentSteeringController_.excludePathway(o));for(const[o,l]of s.entries()){const c=n.get(o);if(!c){i.filter(m=>m.attributes["PATHWAY-ID"]===l["BASE-ID"]).forEach(m=>{this.mainPlaylistLoader_.addClonePathway(l,m)}),this.contentSteeringController_.addAvailablePathway(o);continue}this.equalPathwayClones_(c,l)||(this.mainPlaylistLoader_.updateOrDeleteClone(l,!0),this.contentSteeringController_.addAvailablePathway(o))}this.contentSteeringController_.currentPathwayClones=new Map(JSON.parse(JSON.stringify([...s])))}}equalPathwayClones_(e,i){if(e["BASE-ID"]!==i["BASE-ID"]||e.ID!==i.ID||e["URI-REPLACEMENT"].HOST!==i["URI-REPLACEMENT"].HOST)return!1;const n=e["URI-REPLACEMENT"].PARAMS,s=i["URI-REPLACEMENT"].PARAMS;for(const a in n)if(n[a]!==s[a])return!1;for(const a in s)if(n[a]!==s[a])return!1;return!0}changeSegmentPathway_(){const e=this.selectPlaylist();this.pauseLoading(),this.contentSteeringController_.manifestType_==="DASH"&&this.switchMediaForDASHContentSteering_(),this.switchMedia_(e,"content-steering")}excludeNonUsablePlaylistsByKeyId_(){if(!this.mainPlaylistLoader_||!this.mainPlaylistLoader_.main)return;let e=0;const i="non-usable";this.mainPlaylistLoader_.main.playlists.forEach(n=>{const s=this.mainPlaylistLoader_.getKeyIdSet(n);!s||!s.size||s.forEach(a=>{const o="usable",l=this.keyStatusMap_.has(a)&&this.keyStatusMap_.get(a)===o,c=n.lastExcludeReason_===i&&n.excludeUntil===1/0;l?l&&c&&(delete n.excludeUntil,delete n.lastExcludeReason_,this.logger_(`enabling playlist ${n.id} because key ID ${a} is ${o}`)):(n.excludeUntil!==1/0&&n.lastExcludeReason_!==i&&(n.excludeUntil=1/0,n.lastExcludeReason_=i,this.logger_(`excluding playlist ${n.id} because the key ID ${a} doesn't exist in the keyStatusMap or is not ${o}`)),e++)})}),e>=this.mainPlaylistLoader_.main.playlists.length&&this.mainPlaylistLoader_.main.playlists.forEach(n=>{const s=n&&n.attributes&&n.attributes.RESOLUTION&&n.attributes.RESOLUTION.height<720,a=n.excludeUntil===1/0&&n.lastExcludeReason_===i;s&&a&&(delete n.excludeUntil,ae.log.warn(`enabling non-HD playlist ${n.id} because all playlists were excluded due to ${i} key IDs`))})}addKeyStatus_(e,i){const a=(typeof e=="string"?e:nb(e)).slice(0,32).toLowerCase();this.logger_(`KeyStatus '${i}' with key ID ${a} added to the keyStatusMap`),this.keyStatusMap_.set(a,i)}updatePlaylistByKeyStatus(e,i){this.addKeyStatus_(e,i),this.waitingForFastQualityPlaylistReceived_||this.excludeNonUsableThenChangePlaylist_(),this.mainPlaylistLoader_.off("loadedplaylist",this.excludeNonUsableThenChangePlaylist_.bind(this)),this.mainPlaylistLoader_.on("loadedplaylist",this.excludeNonUsableThenChangePlaylist_.bind(this))}excludeNonUsableThenChangePlaylist_(){this.excludeNonUsablePlaylistsByKeyId_(),this.fastQualityChange_()}}const Vb=(r,e,i)=>n=>{const s=r.main.playlists[e],a=vu(s),o=Ja(s);if(typeof n>"u")return o;n?delete s.disabled:s.disabled=!0;const l={renditionInfo:{id:e,bandwidth:s.attributes.BANDWIDTH,resolution:s.attributes.RESOLUTION,codecs:s.attributes.CODECS},cause:"fast-quality"};return n!==o&&!a&&(n?(i(s),r.trigger({type:"renditionenabled",metadata:l})):r.trigger({type:"renditiondisabled",metadata:l})),n};class Ib{constructor(e,i,n){const{playlistController_:s}=e,a=s.fastQualityChange_.bind(s);if(i.attributes){const o=i.attributes.RESOLUTION;this.width=o&&o.width,this.height=o&&o.height,this.bandwidth=i.attributes.BANDWIDTH,this.frameRate=i.attributes["FRAME-RATE"]}this.codecs=ts(s.main(),i),this.playlist=i,this.id=n,this.enabled=Vb(e.playlists,i.id,a)}}const Nb=function(r){r.representations=()=>{const e=r.playlistController_.main(),i=gs(e)?r.playlistController_.getAudioTrackPlaylists_():e.playlists;return i?i.filter(n=>!vu(n)).map((n,s)=>new Ib(r,n,n.id)):[]}},$d=["seeking","seeked","pause","playing","error"];class Ob extends ae.EventTarget{constructor(e){super(),this.playlistController_=e.playlistController,this.tech_=e.tech,this.seekable=e.seekable,this.allowSeeksWithinUnsafeLiveWindow=e.allowSeeksWithinUnsafeLiveWindow,this.liveRangeSafeTimeDelta=e.liveRangeSafeTimeDelta,this.media=e.media,this.playedRanges_=[],this.consecutiveUpdates=0,this.lastRecordedTime=null,this.checkCurrentTimeTimeout_=null,this.logger_=ki("PlaybackWatcher"),this.logger_("initialize");const i=()=>this.monitorCurrentTime_(),n=()=>this.monitorCurrentTime_(),s=()=>this.techWaiting_(),a=()=>this.resetTimeUpdate_(),o=this.playlistController_,l=["main","subtitle","audio"],c={};l.forEach(m=>{c[m]={reset:()=>this.resetSegmentDownloads_(m),updateend:()=>this.checkSegmentDownloads_(m)},o[`${m}SegmentLoader_`].on("appendsdone",c[m].updateend),o[`${m}SegmentLoader_`].on("playlistupdate",c[m].reset),this.tech_.on(["seeked","seeking"],c[m].reset)});const d=m=>{["main","audio"].forEach(g=>{o[`${g}SegmentLoader_`][m]("appended",this.seekingAppendCheck_)})};this.seekingAppendCheck_=()=>{this.fixesBadSeeks_()&&(this.consecutiveUpdates=0,this.lastRecordedTime=this.tech_.currentTime(),d("off"))},this.clearSeekingAppendCheck_=()=>d("off"),this.watchForBadSeeking_=()=>{this.clearSeekingAppendCheck_(),d("on")},this.tech_.on("seeked",this.clearSeekingAppendCheck_),this.tech_.on("seeking",this.watchForBadSeeking_),this.tech_.on("waiting",s),this.tech_.on($d,a),this.tech_.on("canplay",n),this.tech_.one("play",i),this.dispose=()=>{this.clearSeekingAppendCheck_(),this.logger_("dispose"),this.tech_.off("waiting",s),this.tech_.off($d,a),this.tech_.off("canplay",n),this.tech_.off("play",i),this.tech_.off("seeking",this.watchForBadSeeking_),this.tech_.off("seeked",this.clearSeekingAppendCheck_),l.forEach(m=>{o[`${m}SegmentLoader_`].off("appendsdone",c[m].updateend),o[`${m}SegmentLoader_`].off("playlistupdate",c[m].reset),this.tech_.off(["seeked","seeking"],c[m].reset)}),this.checkCurrentTimeTimeout_&&K.clearTimeout(this.checkCurrentTimeTimeout_),this.resetTimeUpdate_()}}monitorCurrentTime_(){this.checkCurrentTime_(),this.checkCurrentTimeTimeout_&&K.clearTimeout(this.checkCurrentTimeTimeout_),this.checkCurrentTimeTimeout_=K.setTimeout(this.monitorCurrentTime_.bind(this),250)}resetSegmentDownloads_(e){const i=this.playlistController_[`${e}SegmentLoader_`];this[`${e}StalledDownloads_`]>0&&this.logger_(`resetting possible stalled download count for ${e} loader`),this[`${e}StalledDownloads_`]=0,this[`${e}Buffered_`]=i.buffered_()}checkSegmentDownloads_(e){const i=this.playlistController_,n=i[`${e}SegmentLoader_`],s=n.buffered_(),a=b4(this[`${e}Buffered_`],s);if(this[`${e}Buffered_`]=s,a){const o={bufferedRanges:s};i.trigger({type:"bufferedrangeschanged",metadata:o}),this.resetSegmentDownloads_(e);return}this[`${e}StalledDownloads_`]++,this.logger_(`found #${this[`${e}StalledDownloads_`]} ${e} appends that did not increase buffer (possible stalled download)`,{playlistId:n.playlist_&&n.playlist_.id,buffered:Bn(s)}),!(this[`${e}StalledDownloads_`]<10)&&(this.logger_(`${e} loader stalled download exclusion`),this.resetSegmentDownloads_(e),this.tech_.trigger({type:"usage",name:`vhs-${e}-download-exclusion`}),e!=="subtitle"&&i.excludePlaylist({error:{message:`Excessive ${e} segment downloading detected.`},playlistExclusionDuration:1/0}))}checkCurrentTime_(){if(this.tech_.paused()||this.tech_.seeking())return;const e=this.tech_.currentTime(),i=this.tech_.buffered();if(this.lastRecordedTime===e&&(!i.length||e+Hi>=i.end(i.length-1)))return this.techWaiting_();if(this.consecutiveUpdates>=5&&e===this.lastRecordedTime)this.consecutiveUpdates++,this.waiting_();else if(e===this.lastRecordedTime)this.consecutiveUpdates++;else{this.playedRanges_.push(Rt([this.lastRecordedTime,e]));const n={playedRanges:this.playedRanges_};this.playlistController_.trigger({type:"playedrangeschanged",metadata:n}),this.consecutiveUpdates=0,this.lastRecordedTime=e}}resetTimeUpdate_(){this.consecutiveUpdates=0}fixesBadSeeks_(){if(!this.tech_.seeking())return!1;const i=this.seekable(),n=this.tech_.currentTime(),s=this.afterSeekableWindow_(i,n,this.media(),this.allowSeeksWithinUnsafeLiveWindow);let a;if(s&&(a=i.end(i.length-1)),this.beforeSeekableWindow_(i,n)){const w=i.start(0);a=w+(w===i.end(0)?0:Hi)}if(typeof a<"u")return this.logger_(`Trying to seek outside of seekable at time ${n} with seekable range ${xf(i)}. Seeking to ${a}.`),this.tech_.setCurrentTime(a),!0;const o=this.playlistController_.sourceUpdater_,l=this.tech_.buffered(),c=o.audioBuffer?o.audioBuffered():null,d=o.videoBuffer?o.videoBuffered():null,m=this.media(),g=m.partTargetDuration?m.partTargetDuration:(m.targetDuration-zi)*2,E=[c,d];for(let w=0;w<E.length;w++){if(!E[w])continue;if(mu(E[w],n)<g)return!1}const C=Xs(l,n);return C.length===0?!1:(a=C.start(0)+Hi,this.logger_(`Buffered region starts (${C.start(0)}) just beyond seek point (${n}). Seeking to ${a}.`),this.tech_.setCurrentTime(a),!0)}waiting_(){if(this.techWaiting_())return;const e=this.tech_.currentTime(),i=this.tech_.buffered(),n=Qn(i,e);if(n.length&&e+3<=n.end(0)){this.resetTimeUpdate_(),this.tech_.setCurrentTime(e),this.logger_(`Stopped at ${e} while inside a buffered region [${n.start(0)} -> ${n.end(0)}]. Attempting to resume playback by seeking to the current time.`),this.tech_.trigger({type:"usage",name:"vhs-unknown-waiting"});return}}techWaiting_(){const e=this.seekable(),i=this.tech_.currentTime();if(this.tech_.seeking())return!0;if(this.beforeSeekableWindow_(e,i)){const l=e.end(e.length-1);return this.logger_(`Fell out of live window at time ${i}. Seeking to live point (seekable end) ${l}`),this.resetTimeUpdate_(),this.tech_.setCurrentTime(l),this.tech_.trigger({type:"usage",name:"vhs-live-resync"}),!0}const n=this.tech_.vhs.playlistController_.sourceUpdater_,s=this.tech_.buffered();if(this.videoUnderflow_({audioBuffered:n.audioBuffered(),videoBuffered:n.videoBuffered(),currentTime:i}))return this.resetTimeUpdate_(),this.tech_.setCurrentTime(i),this.tech_.trigger({type:"usage",name:"vhs-video-underflow"}),!0;const o=Xs(s,i);return o.length>0?(this.logger_(`Stopped at ${i} and seeking to ${o.start(0)}`),this.resetTimeUpdate_(),this.skipTheGap_(i),!0):!1}afterSeekableWindow_(e,i,n,s=!1){if(!e.length)return!1;let a=e.end(e.length-1)+Hi;const o=!n.endList,l=typeof n.partTargetDuration=="number";return o&&(l||s)&&(a=e.end(e.length-1)+n.targetDuration*3),i>a}beforeSeekableWindow_(e,i){return!!(e.length&&e.start(0)>0&&i<e.start(0)-this.liveRangeSafeTimeDelta)}videoUnderflow_({videoBuffered:e,audioBuffered:i,currentTime:n}){if(!e)return;let s;if(e.length&&i.length){const a=Qn(e,n-3),o=Qn(e,n),l=Qn(i,n);l.length&&!o.length&&a.length&&(s={start:a.end(0),end:l.end(0)})}else Xs(e,n).length||(s=this.gapFromVideoUnderflow_(e,n));return s?(this.logger_(`Encountered a gap in video from ${s.start} to ${s.end}. Seeking to current time ${n}`),!0):!1}skipTheGap_(e){const i=this.tech_.buffered(),n=this.tech_.currentTime(),s=Xs(i,n);if(this.resetTimeUpdate_(),s.length===0||n!==e)return;this.logger_("skipTheGap_:","currentTime:",n,"scheduled currentTime:",e,"nextRange start:",s.start(0)),this.tech_.setCurrentTime(s.start(0)+zi);const a={gapInfo:{from:n,to:s.start(0)}};this.playlistController_.trigger({type:"gapjumped",metadata:a}),this.tech_.trigger({type:"usage",name:"vhs-gap-skip"})}gapFromVideoUnderflow_(e,i){const n=g4(e);for(let s=0;s<n.length;s++){const a=n.start(s),o=n.end(s);if(i-a<4&&i-a>2)return{start:a,end:o}}return null}}const Pb={errorInterval:30,getSource(r){const i=this.tech({IWillNotUseThisInPlugins:!0}).currentSource_||this.currentSource();return r(i)}},mp=function(r,e){let i=0,n=0;const s=lt(Pb,e);r.ready(()=>{r.trigger({type:"usage",name:"vhs-error-reload-initialized"})});const a=function(){n&&r.currentTime(n)},o=function(m){m!=null&&(n=r.duration()!==1/0&&r.currentTime()||0,r.one("loadedmetadata",a),r.src(m),r.trigger({type:"usage",name:"vhs-error-reload"}),r.play())},l=function(){if(Date.now()-i<s.errorInterval*1e3){r.trigger({type:"usage",name:"vhs-error-reload-canceled"});return}if(!s.getSource||typeof s.getSource!="function"){ae.log.error("ERROR: reloadSourceOnError - The option getSource must be a function!");return}return i=Date.now(),s.getSource.call(r,o)},c=function(){r.off("loadedmetadata",a),r.off("error",l),r.off("dispose",c)},d=function(m){c(),mp(r,m)};r.on("error",l),r.on("dispose",c),r.reloadSourceOnError=d},Mb=function(r){mp(this,r)};var gp="3.17.3",Lb="7.1.0",Rb="1.3.1",qb="7.2.0",Fb="4.0.2";const bt={PlaylistLoader:Yn,Playlist:ui,utils:X4,STANDARD_PLAYLIST_SELECTOR:Ud,INITIAL_PLAYLIST_SELECTOR:I8,lastBandwidthSelector:Ud,movingAverageBandwidthSelector:B8,comparePlaylistBandwidth:Cu,comparePlaylistResolution:D8,xhr:Hf()};Object.keys(Mt).forEach(r=>{Object.defineProperty(bt,r,{get(){return ae.log.warn(`using Vhs.${r} is UNSAFE be sure you know what you are doing`),Mt[r]},set(e){if(ae.log.warn(`using Vhs.${r} is UNSAFE be sure you know what you are doing`),typeof e!="number"||e<0){ae.log.warn(`value of Vhs.${r} must be greater than or equal to 0`);return}Mt[r]=e}})});const vp="videojs-vhs",yp=function(r,e){const i=e.media();let n=-1;for(let s=0;s<r.length;s++)if(r[s].id===i.id){n=s;break}r.selectedIndex_=n,r.trigger({selectedIndex:n,type:"change"})},Ub=function(r,e){e.representations().forEach(i=>{r.addQualityLevel(i)}),yp(r,e.playlists)};bt.canPlaySource=function(){return ae.log.warn("VHS is no longer a tech. Please remove it from your player's techOrder.")};const zb=(r,e,i)=>{if(!r)return r;let n={};e&&e.attributes&&e.attributes.CODECS&&(n=ls(qi(e.attributes.CODECS))),i&&i.attributes&&i.attributes.CODECS&&(n.audio=i.attributes.CODECS);const s=rr(n.video),a=rr(n.audio),o={};for(const l in r)o[l]={},a&&(o[l].audioContentType=a),s&&(o[l].videoContentType=s),e.contentProtection&&e.contentProtection[l]&&e.contentProtection[l].pssh&&(o[l].pssh=e.contentProtection[l].pssh),typeof r[l]=="string"&&(o[l].url=r[l]);return lt(r,o)},Hb=(r,e)=>r.reduce((i,n)=>{if(!n.contentProtection)return i;const s=e.reduce((a,o)=>{const l=n.contentProtection[o];return l&&l.pssh&&(a[o]={pssh:l.pssh}),a},{});return Object.keys(s).length&&i.push(s),i},[]),jb=({player:r,sourceKeySystems:e,audioMedia:i,mainPlaylists:n})=>{if(!r.eme.initializeMediaKeys)return Promise.resolve();const s=i?n.concat([i]):n,a=Hb(s,Object.keys(e)),o=[],l=[];return a.forEach(c=>{l.push(new Promise((d,m)=>{r.tech_.one("keysessioncreated",d)})),o.push(new Promise((d,m)=>{r.eme.initializeMediaKeys({keySystems:c},g=>{if(g){m(g);return}d()})}))}),Promise.race([Promise.all(o),Promise.race(l)])},Xb=({player:r,sourceKeySystems:e,media:i,audioMedia:n})=>{const s=zb(e,i,n);return s?(r.currentSource().keySystems=s,s&&!r.eme?(ae.log.warn("DRM encrypted source cannot be decrypted without a DRM plugin"),!1):!0):!1},bp=()=>{if(!K.localStorage)return null;const r=K.localStorage.getItem(vp);if(!r)return null;try{return JSON.parse(r)}catch{return null}},Gb=r=>{if(!K.localStorage)return!1;let e=bp();e=e?lt(e,r):r;try{K.localStorage.setItem(vp,JSON.stringify(e))}catch{return!1}return e},Qb=r=>r.toLowerCase().indexOf("data:application/vnd.videojs.vhs+json,")===0?JSON.parse(r.substring(r.indexOf(",")+1)):r,Cp=(r,e)=>{r._requestCallbackSet||(r._requestCallbackSet=new Set),r._requestCallbackSet.add(e)},Tp=(r,e)=>{r._responseCallbackSet||(r._responseCallbackSet=new Set),r._responseCallbackSet.add(e)},Ap=(r,e)=>{r._requestCallbackSet&&(r._requestCallbackSet.delete(e),r._requestCallbackSet.size||delete r._requestCallbackSet)},Ep=(r,e)=>{r._responseCallbackSet&&(r._responseCallbackSet.delete(e),r._responseCallbackSet.size||delete r._responseCallbackSet)};bt.supportsNativeHls=(function(){if(!we||!we.createElement)return!1;const r=we.createElement("video");return ae.getTech("Html5").isSupported()?["application/vnd.apple.mpegurl","audio/mpegurl","audio/x-mpegurl","application/x-mpegurl","video/x-mpegurl","video/mpegurl","application/mpegurl"].some(function(i){return/maybe|probably/i.test(r.canPlayType(i))}):!1})();bt.supportsNativeDash=(function(){return!we||!we.createElement||!ae.getTech("Html5").isSupported()?!1:/maybe|probably/i.test(we.createElement("video").canPlayType("application/dash+xml"))})();bt.supportsTypeNatively=r=>r==="hls"?bt.supportsNativeHls:r==="dash"?bt.supportsNativeDash:!1;bt.isSupported=function(){return ae.log.warn("VHS is no longer a tech. Please remove it from your player's techOrder.")};bt.xhr.onRequest=function(r){Cp(bt.xhr,r)};bt.xhr.onResponse=function(r){Tp(bt.xhr,r)};bt.xhr.offRequest=function(r){Ap(bt.xhr,r)};bt.xhr.offResponse=function(r){Ep(bt.xhr,r)};const Yb=ae.getComponent("Component");class xp extends Yb{constructor(e,i,n){if(super(i,n.vhs),typeof n.initialBandwidth=="number"&&(this.options_.bandwidth=n.initialBandwidth),this.logger_=ki("VhsHandler"),i.options_&&i.options_.playerId){const s=ae.getPlayer(i.options_.playerId);this.player_=s}if(this.tech_=i,this.source_=e,this.stats={},this.ignoreNextSeekingEvent_=!1,this.setOptions_(),this.options_.overrideNative&&i.overrideNativeAudioTracks&&i.overrideNativeVideoTracks)i.overrideNativeAudioTracks(!0),i.overrideNativeVideoTracks(!0);else if(this.options_.overrideNative&&(i.featuresNativeVideoTracks||i.featuresNativeAudioTracks))throw new Error("Overriding native VHS requires emulated tracks. See https://git.io/vMpjB");this.on(we,["fullscreenchange","webkitfullscreenchange","mozfullscreenchange","MSFullscreenChange"],s=>{const a=we.fullscreenElement||we.webkitFullscreenElement||we.mozFullScreenElement||we.msFullscreenElement;a&&a.contains(this.tech_.el())?this.playlistController_.fastQualityChange_():this.playlistController_.checkABR_()}),this.on(this.tech_,"seeking",function(){if(this.ignoreNextSeekingEvent_){this.ignoreNextSeekingEvent_=!1;return}this.setCurrentTime(this.tech_.currentTime())}),this.on(this.tech_,"error",function(){this.tech_.error()&&this.playlistController_&&this.playlistController_.pauseLoading()}),this.on(this.tech_,"play",this.play)}setOptions_(e={}){if(this.options_=lt(this.options_,e),this.options_.withCredentials=this.options_.withCredentials||!1,this.options_.limitRenditionByPlayerDimensions=this.options_.limitRenditionByPlayerDimensions!==!1,this.options_.useDevicePixelRatio=this.options_.useDevicePixelRatio||!1,this.options_.usePlayerObjectFit=this.options_.usePlayerObjectFit||!1,this.options_.useBandwidthFromLocalStorage=typeof this.source_.useBandwidthFromLocalStorage<"u"?this.source_.useBandwidthFromLocalStorage:this.options_.useBandwidthFromLocalStorage||!1,this.options_.useForcedSubtitles=this.options_.useForcedSubtitles||!1,this.options_.useNetworkInformationApi=typeof this.options_.useNetworkInformationApi<"u"?this.options_.useNetworkInformationApi:!0,this.options_.useDtsForTimestampOffset=this.options_.useDtsForTimestampOffset||!1,this.options_.customTagParsers=this.options_.customTagParsers||[],this.options_.customTagMappers=this.options_.customTagMappers||[],this.options_.cacheEncryptionKeys=this.options_.cacheEncryptionKeys||!1,this.options_.llhls=this.options_.llhls!==!1,this.options_.bufferBasedABR=this.options_.bufferBasedABR||!1,typeof this.options_.playlistExclusionDuration!="number"&&(this.options_.playlistExclusionDuration=60),typeof this.options_.bandwidth!="number"&&this.options_.useBandwidthFromLocalStorage){const n=bp();n&&n.bandwidth&&(this.options_.bandwidth=n.bandwidth,this.tech_.trigger({type:"usage",name:"vhs-bandwidth-from-local-storage"})),n&&n.throughput&&(this.options_.throughput=n.throughput,this.tech_.trigger({type:"usage",name:"vhs-throughput-from-local-storage"}))}typeof this.options_.bandwidth!="number"&&(this.options_.bandwidth=Mt.INITIAL_BANDWIDTH),this.options_.enableLowInitialPlaylist=this.options_.enableLowInitialPlaylist&&this.options_.bandwidth===Mt.INITIAL_BANDWIDTH,["withCredentials","useDevicePixelRatio","usePlayerObjectFit","customPixelRatio","limitRenditionByPlayerDimensions","bandwidth","customTagParsers","customTagMappers","cacheEncryptionKeys","playlistSelector","initialPlaylistSelector","bufferBasedABR","liveRangeSafeTimeDelta","llhls","useForcedSubtitles","useNetworkInformationApi","useDtsForTimestampOffset","exactManifestTimings","leastPixelDiffSelector"].forEach(n=>{typeof this.source_[n]<"u"&&(this.options_[n]=this.source_[n])}),this.limitRenditionByPlayerDimensions=this.options_.limitRenditionByPlayerDimensions,this.useDevicePixelRatio=this.options_.useDevicePixelRatio,this.usePlayerObjectFit=this.options_.usePlayerObjectFit;const i=this.options_.customPixelRatio;typeof i=="number"&&i>=0&&(this.customPixelRatio=i)}setOptions(e={}){this.setOptions_(e)}src(e,i){if(!e)return;this.setOptions_(),this.options_.src=Qb(this.source_.src),this.options_.tech=this.tech_,this.options_.externVhs=bt,this.options_.sourceType=j0(i),this.options_.seekTo=a=>{this.tech_.setCurrentTime(a)},this.options_.player_=this.player_,this.playlistController_=new Bb(this.options_);const n=lt({liveRangeSafeTimeDelta:Hi},this.options_,{seekable:()=>this.seekable(),media:()=>this.playlistController_.media(),playlistController:this.playlistController_});this.playbackWatcher_=new Ob(n),this.attachStreamingEventListeners_(),this.playlistController_.on("error",()=>{const a=ae.players[this.tech_.options_.playerId];let o=this.playlistController_.error;typeof o=="object"&&!o.code?o.code=3:typeof o=="string"&&(o={message:o,code:3}),a.error(o)});const s=this.options_.bufferBasedABR?bt.movingAverageBandwidthSelector(.55):bt.STANDARD_PLAYLIST_SELECTOR;this.playlistController_.selectPlaylist=this.selectPlaylist?this.selectPlaylist.bind(this):s.bind(this),this.playlistController_.selectInitialPlaylist=bt.INITIAL_PLAYLIST_SELECTOR.bind(this),this.playlists=this.playlistController_.mainPlaylistLoader_,this.mediaSource=this.playlistController_.mediaSource,Object.defineProperties(this,{selectPlaylist:{get(){return this.playlistController_.selectPlaylist},set(a){this.playlistController_.selectPlaylist=a.bind(this)}},throughput:{get(){return this.playlistController_.mainSegmentLoader_.throughput.rate},set(a){this.playlistController_.mainSegmentLoader_.throughput.rate=a,this.playlistController_.mainSegmentLoader_.throughput.count=1}},bandwidth:{get(){let a=this.playlistController_.mainSegmentLoader_.bandwidth;const o=K.navigator.connection||K.navigator.mozConnection||K.navigator.webkitConnection,l=1e7;if(this.options_.useNetworkInformationApi&&o){const c=o.downlink*1e3*1e3;c>=l&&a>=l?a=Math.max(a,c):a=c}return a},set(a){this.playlistController_.mainSegmentLoader_.bandwidth=a,this.playlistController_.mainSegmentLoader_.throughput={rate:0,count:0}}},systemBandwidth:{get(){const a=1/(this.bandwidth||1);let o;return this.throughput>0?o=1/this.throughput:o=0,Math.floor(1/(a+o))},set(){ae.log.error('The "systemBandwidth" property is read-only')}}}),this.options_.bandwidth&&(this.bandwidth=this.options_.bandwidth),this.options_.throughput&&(this.throughput=this.options_.throughput),Object.defineProperties(this.stats,{bandwidth:{get:()=>this.bandwidth||0,enumerable:!0},mediaRequests:{get:()=>this.playlistController_.mediaRequests_()||0,enumerable:!0},mediaRequestsAborted:{get:()=>this.playlistController_.mediaRequestsAborted_()||0,enumerable:!0},mediaRequestsTimedout:{get:()=>this.playlistController_.mediaRequestsTimedout_()||0,enumerable:!0},mediaRequestsErrored:{get:()=>this.playlistController_.mediaRequestsErrored_()||0,enumerable:!0},mediaTransferDuration:{get:()=>this.playlistController_.mediaTransferDuration_()||0,enumerable:!0},mediaBytesTransferred:{get:()=>this.playlistController_.mediaBytesTransferred_()||0,enumerable:!0},mediaSecondsLoaded:{get:()=>this.playlistController_.mediaSecondsLoaded_()||0,enumerable:!0},mediaAppends:{get:()=>this.playlistController_.mediaAppends_()||0,enumerable:!0},mainAppendsToLoadedData:{get:()=>this.playlistController_.mainAppendsToLoadedData_()||0,enumerable:!0},audioAppendsToLoadedData:{get:()=>this.playlistController_.audioAppendsToLoadedData_()||0,enumerable:!0},appendsToLoadedData:{get:()=>this.playlistController_.appendsToLoadedData_()||0,enumerable:!0},timeToLoadedData:{get:()=>this.playlistController_.timeToLoadedData_()||0,enumerable:!0},buffered:{get:()=>Bn(this.tech_.buffered()),enumerable:!0},currentTime:{get:()=>this.tech_.currentTime(),enumerable:!0},currentSource:{get:()=>this.tech_.currentSource_,enumerable:!0},currentTech:{get:()=>this.tech_.name_,enumerable:!0},duration:{get:()=>this.tech_.duration(),enumerable:!0},main:{get:()=>this.playlists.main,enumerable:!0},playerDimensions:{get:()=>this.tech_.currentDimensions(),enumerable:!0},seekable:{get:()=>Bn(this.tech_.seekable()),enumerable:!0},timestamp:{get:()=>Date.now(),enumerable:!0},videoPlaybackQuality:{get:()=>this.tech_.getVideoPlaybackQuality(),enumerable:!0}}),this.tech_.one("canplay",this.playlistController_.setupFirstPlay.bind(this.playlistController_)),this.tech_.on("bandwidthupdate",()=>{this.options_.useBandwidthFromLocalStorage&&Gb({bandwidth:this.bandwidth,throughput:Math.round(this.throughput)})}),this.playlistController_.on("selectedinitialmedia",()=>{Nb(this)}),this.playlistController_.sourceUpdater_.on("createdsourcebuffers",()=>{this.setupEme_()}),this.on(this.playlistController_,"progress",function(){this.tech_.trigger("progress")}),this.on(this.playlistController_,"firstplay",function(){this.ignoreNextSeekingEvent_=!0}),this.setupQualityLevels_(),this.tech_.el()&&(this.mediaSourceUrl_=K.URL.createObjectURL(this.playlistController_.mediaSource),(ae.browser.IS_ANY_SAFARI||ae.browser.IS_IOS)&&this.options_.overrideNative&&this.options_.sourceType==="hls"&&typeof this.tech_.addSourceElement=="function"?(this.tech_.addSourceElement(this.mediaSourceUrl_),this.tech_.addSourceElement(this.source_.src)):this.tech_.src(this.mediaSourceUrl_))}createKeySessions_(){const e=this.playlistController_.mediaTypes_.AUDIO.activePlaylistLoader;this.logger_("waiting for EME key session creation"),jb({player:this.player_,sourceKeySystems:this.source_.keySystems,audioMedia:e&&e.media(),mainPlaylists:this.playlists.main.playlists}).then(()=>{this.logger_("created EME key session"),this.playlistController_.sourceUpdater_.initializedEme()}).catch(i=>{this.logger_("error while creating EME key session",i),this.player_.error({message:"Failed to initialize media keys for EME",code:3})})}handleWaitingForKey_(){this.logger_("waitingforkey fired, attempting to create any new key sessions"),this.createKeySessions_()}setupEme_(){const e=this.playlistController_.mediaTypes_.AUDIO.activePlaylistLoader,i=Xb({player:this.player_,sourceKeySystems:this.source_.keySystems,media:this.playlists.media(),audioMedia:e&&e.media()});if(this.player_.tech_.on("keystatuschange",n=>{this.playlistController_.updatePlaylistByKeyStatus(n.keyId,n.status)}),this.handleWaitingForKey_=this.handleWaitingForKey_.bind(this),this.player_.tech_.on("waitingforkey",this.handleWaitingForKey_),!i){this.playlistController_.sourceUpdater_.initializedEme();return}this.createKeySessions_()}setupQualityLevels_(){const e=ae.players[this.tech_.options_.playerId];!e||!e.qualityLevels||this.qualityLevels_||(this.qualityLevels_=e.qualityLevels(),this.playlistController_.on("selectedinitialmedia",()=>{Ub(this.qualityLevels_,this)}),this.playlists.on("mediachange",()=>{yp(this.qualityLevels_,this.playlists)}))}static version(){return{"@videojs/http-streaming":gp,"mux.js":Lb,"mpd-parser":Rb,"m3u8-parser":qb,"aes-decrypter":Fb}}version(){return this.constructor.version()}canChangeType(){return dp.canChangeType()}play(){this.playlistController_.play()}setCurrentTime(e){this.playlistController_.setCurrentTime(e)}duration(){return this.playlistController_.duration()}seekable(){return this.playlistController_.seekable()}dispose(){this.playbackWatcher_&&this.playbackWatcher_.dispose(),this.playlistController_&&this.playlistController_.dispose(),this.qualityLevels_&&this.qualityLevels_.dispose(),this.tech_&&this.tech_.vhs&&delete this.tech_.vhs,this.mediaSourceUrl_&&K.URL.revokeObjectURL&&(K.URL.revokeObjectURL(this.mediaSourceUrl_),this.mediaSourceUrl_=null),this.tech_&&this.tech_.off("waitingforkey",this.handleWaitingForKey_),super.dispose()}convertToProgramTime(e,i){return Z4({playlist:this.playlistController_.media(),time:e,callback:i})}seekToProgramTime(e,i,n=!0,s=2){return Yf({programTime:e,playlist:this.playlistController_.media(),retryCount:s,pauseAfterSeek:n,seekTo:this.options_.seekTo,tech:this.options_.tech,callback:i})}setupXhrHooks_(){this.xhr.onRequest=e=>{Cp(this.xhr,e)},this.xhr.onResponse=e=>{Tp(this.xhr,e)},this.xhr.offRequest=e=>{Ap(this.xhr,e)},this.xhr.offResponse=e=>{Ep(this.xhr,e)},this.player_.trigger("xhr-hooks-ready")}attachStreamingEventListeners_(){const e=["seekablerangeschanged","bufferedrangeschanged","contentsteeringloadstart","contentsteeringloadcomplete","contentsteeringparsed"],i=["gapjumped","playedrangeschanged"];e.forEach(n=>{this.playlistController_.on(n,s=>{this.player_.trigger(_t({},s))})}),i.forEach(n=>{this.playbackWatcher_.on(n,s=>{this.player_.trigger(_t({},s))})})}}const ka={name:"videojs-http-streaming",VERSION:gp,canHandleSource(r,e={}){const i=lt(ae.options,e);return!i.vhs.experimentalUseMMS&&!Wr("avc1.4d400d,mp4a.40.2",!1)?!1:ka.canPlayType(r.type,i)},handleSource(r,e,i={}){const n=lt(ae.options,i);return e.vhs=new xp(r,e,n),e.vhs.xhr=Hf(),e.vhs.setupXhrHooks_(),e.vhs.src(r.src,r.type),e.vhs},canPlayType(r,e){const i=j0(r);if(!i)return"";const n=ka.getOverrideNative(e);return!bt.supportsTypeNatively(i)||n?"maybe":""},getOverrideNative(r={}){const{vhs:e={}}=r,i=!(ae.browser.IS_ANY_SAFARI||ae.browser.IS_IOS),{overrideNative:n=i}=e;return n}},Kb=()=>Wr("avc1.4d400d,mp4a.40.2",!0);Kb()&&ae.getTech("Html5").registerSourceHandler(ka,0);ae.VhsHandler=xp;ae.VhsSourceHandler=ka;ae.Vhs=bt;ae.use||ae.registerComponent("Vhs",bt);ae.options.vhs=ae.options.vhs||{};(!ae.getPlugin||!ae.getPlugin("reloadSourceOnError"))&&ae.registerPlugin("reloadSourceOnError",Mb);const Wb="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAB4AAAAQ4AQMAAADSHVMAAAAAAXNSR0IB2cksfwAAAAlwSFlzAAALEwAACxMBAJqcGAAAAANQTFRFAAAAp3o92gAAAAF0Uk5TAEDm2GYAAASYSURBVHic7c8BDQAgDMAw7t80Lk5SVgXbnM/M64BtDesa1jWsa1jXsK5hXcO6hnUN6xrWNaxrWNewrmFdw7qGdQ3rGtY1rGtY17CuYV3DuoZ1Desa1jWsa1jXsK5hXcO6hnUN6xrWNaxrWNewrmFdw7qGdQ3rGtY1rGtY17CuYV3DuoZ1Desa1jWsa1jXsK5hXcO6hnUN6xrWNaxrWNewrmFdw7qGdQ3rGtY1rGtY17CuYV3DuoZ1Desa1jWsa1jXsK5hXcO6hnUN6xrWNaxrWNewrmFdw7qGdQ3rGtY1rGtY17CuYV3DuoZ1Desa1jWsa1jXsK5hXcO6hnUN6xrWNaxrWNewrmFdw7qGdQ3rGtY1rGtY17CuYV3DuoZ1Desa1jWsa1jXsK5hXcO6hnUN6xrWNaxrWNewrmFdw7qGdQ3rGtY1rGtY17CuYV3DuoZ1Desa1jWsa1jXsK5hXcO6hnUN6xrWNaxrWNewrmFdw7qGdQ3rGtY1rGtY17CuYV3DuoZ1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hnUN6xrWNay7Fz0EOVPDeGwAAAAASUVORK5CYII=",Jb={class:"o-meeting-playback-video"},Zb={key:0,class:"poster-title"},$b=t.defineComponent({__name:"OMeetingPlaybackVideo",props:{src:{default:""},vtt:{default:""},captions:{default:()=>[]},poster:{},posterTitle:{},instance:{},trackIdx:{}},emits:["getDuration","getInstance","setTrackIdx"],setup(r,{expose:e,emit:i}){const n=r,s=t.ref(),a=t.ref(),o=t.ref(),l=i,c=t.ref(!1),d=()=>{c.value=!1},m=(v,b=!1)=>{var D,O;const k=n.instance;if(!k)return;const S=(D=v.activeCues)==null?void 0:D[0];if(s.value&&clearInterval(s.value),S){S.text=((O=S==null?void 0:S.text)==null?void 0:O.replace(/\[(SPEAKER_)\d+]: /g,""))||"";const q=S.text.split(`
|
|
225
|
+
`),R=q.length,x=S.endTime-S.startTime,L=parseFloat((x/R).toFixed(3));let _=0;if(b){const z=(k.currentTime()-S.startTime)/(S.endTime-S.startTime);for(;(_+1)/R<z;)_++}_<R?S.text=q.length?q[_]:S==null?void 0:S.text:S.text=q.length?q[0]:S==null?void 0:S.text;let V=L*1e3;const I=()=>{s.value=setInterval(()=>{v.mode="hidden",_++,_>q.length-1?clearInterval(s.value):_===q.length-1?(S.text=q[_],clearInterval(s.value),V=L*(R-_)*1e3,I()):S.text=q[_],v.mode="showing"},V)};I()}},g=t.ref([]);t.watch(()=>g.value,v=>{const b=n.instance;if(b){const k=b.textTracks();for(let S=0;S<k.length;S++)k[S].kind==="subtitles"&&(m(k[S],!0),k[S].mode=v.length?"showing":"hidden")}},{deep:!0});const E=t.ref(!1),C=t.ref("init"),w=async()=>{if(!n.src)return;const v=ae("playerId",{controls:!0,autoplay:!1,preload:"auto",fluid:!0,poster:n.poster||Wb,playbackRates:[.5,.75,1,1.25,1.5,2],controlBar:{skipButtons:{backward:5,forward:5},children:{playToggle:!0,SkipBackward:{backward:5},skipForward:{forward:5},currentTimeDisplay:!0,timeDivider:!0,durationDisplay:!0,progressControl:!0,PlaybackRateMenuButton:!0,volumePanel:{inline:!1},FullscreenToggle:!0}}});l("getInstance",v),v.src(n.src),v.addRemoteTextTrack({kind:"subtitles",src:n.vtt,srclang:"zh",label:"中文",default:!1}),E.value=!0;class b extends ae.getComponent("Button"){constructor(D,O){super(D,O),this.addClass("vjs-subtitle-toggle-button","vjs-subtitle-hidden"),this.controlText("Toggle Subtitles")}buildCSSClass(){return`vjs-subtitle-toggle-button ${super.buildCSSClass()}`}handleClick(){const D=this.player().textTracks();for(let O=0;O<D.length;O++)D[O].kind==="subtitles"&&(m(D[O],!0),D[O].mode=D[O].mode==="showing"?"hidden":"showing",D[O].mode==="showing"?(this.removeClass("vjs-subtitle-hidden"),this.addClass("vjs-subtitle-showing")):(this.removeClass("vjs-subtitle-showing"),this.addClass("vjs-subtitle-hidden")))}}n.vtt&&(ae.registerComponent("SubtitleToggleButton",b),v.controlBar.children_.some(S=>S.name_==="SubtitleToggleButton")||v.controlBar.addChild("SubtitleToggleButton",{},8)),(v==null?void 0:v.textTracks().tracks_).forEach(S=>{S==null||S.addEventListener("cuechange",()=>{m(S)})}),v.on("play",()=>{C.value="playing"}),v.on("timeupdate",()=>{const S=v.currentTime()||0,D=n.captions.findIndex(O=>Xr(O.start_time)>S);l("setTrackIdx",D)}),v.one("loadedmetadata",()=>{l("getDuration",v.duration())}),t.nextTick(()=>{const S=document.getElementsByClassName("o-meeting-playback-video")[0];a.value=S.offsetHeight}),o.value=v};return t.onMounted(()=>{w(),document.addEventListener("click",d)}),t.watch(()=>n.src,()=>{w()}),t.onUnmounted(()=>{var v;(v=n==null?void 0:n.instance)==null||v.dispose(),document.removeEventListener("click",d)}),e({changeTime:v=>{var b;(b=o.value)==null||b.currentTime(v)}}),(v,b)=>(t.openBlock(),t.createElementBlock("div",Jb,[t.createElementVNode("div",{class:t.normalizeClass(["video-placeholder",{loaded:E.value,"no-poster":!r.poster,[C.value]:!0}])},[b[0]||(b[0]=t.createElementVNode("video",{class:"video-js",id:"playerId"},null,-1)),r.posterTitle?(t.openBlock(),t.createElementBlock("div",Zb,t.toDisplayString(r.posterTitle),1)):t.createCommentVNode("",!0)],2)]))}}),e7={class:"o-meeting-playback"},t7={class:"video-header"},i7={class:"video-title"},n7={class:"video-content"},r7={class:"info-wrapper"},s7={key:0,class:"base-info"},a7={class:"info-item"},o7={class:"info-item"},l7={class:"info-item"},u7={class:"info-item"},c7={key:1,class:"subject-list"},d7={class:"subject-title"},h7={key:0,class:"subject-progress"},f7=["data-start","data-end"],p7=168,e0=t.defineComponent({__name:"OMeetingPlayback",props:{dates:{default:()=>[]},detail:{default:()=>({})},data:{default:()=>({})},dev:{type:Boolean}},emits:["change-date"],setup(r,{emit:e}){const i=r,n=e,{t:s}=Ue.useI18n(),a=t.ref(null),o=he=>{a.value=he},l=t.ref(0),c=he=>{l.value=he},d=t.ref([]),m=async he=>{const Ee=await(await fetch(he)).json();d.value=(Ee.segments||[]).map(fe=>{const ke=p1(fe.speaker);return{...fe,contentHtml:fe.content,speakerIdx:ke,speakerLabel:`${s("meeting.speaker")}${ke}`}})},g=t.ref([]),E=he=>Eg[he%6],C=t.ref(0),w=he=>{C.value=he},v=t.ref(),b=t.ref(""),k=t.ref([0,0]);function S(he,ce){const Ee=ce.getBoundingClientRect(),ke=(he.clientX-Ee.left)/Ee.width;return k.value[1]=`${ce.offsetTop+ce.parentElement.offsetTop}px`,k.value[0]=`${ke*100}%`,ke*C.value}const D=he=>{let ce=he;for(;ce&&ce.className!=="subject-progress";)ce=ce.parentElement;return ce},O=he=>{let ce=D(he.target);ce&&(b.value=m1(S(he,ce)))},q=()=>{b.value=""},R=he=>{var Ee;let ce=D(he.target);ce&&((Ee=v.value)==null||Ee.changeTime(S(he,ce)))},x=async he=>{const Ee=await(await fetch(he)).json();i.dev?g.value=[...Ee||[],...Ee||[],...Ee||[]].map(fe=>({...fe,startTimeNumber:Xr(fe.startTime),endTimeNumber:Xr(fe.endTime)})):g.value=(Ee||[]).map(fe=>({...fe,startTimeNumber:Xr(fe.startTime),endTimeNumber:Xr(fe.endTime)}))},L=t.ref("info"),_=t.computed(()=>{const he=[{label:s("meeting.baseInfo"),value:"info"}];return g.value.length&&he.push({label:s("meeting.subject"),value:"subject"}),he}),V=()=>{i.data&&(i.data.textJson&&m(i.data.textJson),i.data.topicJson&&x(i.data.topicJson))};t.watchEffect(()=>{V()});const I=he=>{n("change-date",he)},z=t.ref(null),M=t.ref("auto");let U=null,P=null;const te=()=>{z.value&&(M.value=`${z.value.offsetHeight}px`)},j=()=>{cancelAnimationFrame(P),P=requestAnimationFrame(te)},G=t.ref(null),ee=t.ref(!1),J=()=>{const he=G.value;he&&(ee.value=he.offsetHeight>p7)};let Q=null,X=null;const ne=()=>{cancelAnimationFrame(Q),Q=requestAnimationFrame(J)};t.watch(L,()=>{t.nextTick(J)}),t.onMounted(()=>{z.value&&(U=new ResizeObserver(j),U.observe(z.value),te()),G.value&&(X=new ResizeObserver(ne),X.observe(G.value),J())}),t.onUnmounted(()=>{cancelAnimationFrame(P),U==null||U.disconnect(),cancelAnimationFrame(Q),X==null||X.disconnect()});const ve=t.ref(!1),W=()=>{ve.value=!ve.value};return(he,ce)=>{var Ee,fe;return t.openBlock(),t.createElementBlock("div",e7,[t.createElementVNode("div",{class:"left-card card-wrapper",ref_key:"leftRef",ref:z},[t.createElementVNode("div",t7,[t.createElementVNode("div",i7,[t.createVNode(cs,{lines:2},{default:t.withCtx(()=>{var ke,Re;return[t.createTextVNode(t.toDisplayString((ke=r.detail)==null?void 0:ke.topic)+"("+t.toDisplayString((Re=r.detail)==null?void 0:Re.date)+")",1)]}),_:1})]),(Ee=r.dates)!=null&&Ee.length?(t.openBlock(),t.createBlock(t.unref(A.OSelect),{key:0,size:"large",clearable:!1,"model-value":(fe=r.detail)==null?void 0:fe.date,placeholder:t.unref(s)("meeting.selectDate"),onChange:I},{default:t.withCtx(()=>[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(r.dates,ke=>(t.openBlock(),t.createBlock(t.unref(A.OOption),{key:ke,value:ke,label:ke},null,8,["value","label"]))),128))]),_:1},8,["model-value","placeholder"])):t.createCommentVNode("",!0)]),t.createElementVNode("div",n7,[r.data?(t.openBlock(),t.createBlock($b,{key:0,ref_key:"playerRef",ref:v,src:r.data.video,vtt:r.data.textVtt,poster:r.data.poster,captions:d.value,onGetDuration:w,instance:a.value,onGetInstance:o,trackIdx:l.value,onSetTrackIdx:c},null,8,["src","vtt","poster","captions","instance","trackIdx"])):t.createCommentVNode("",!0)]),t.createElementVNode("div",r7,[t.createVNode(t.unref(A.OTab),{modelValue:L.value,"onUpdate:modelValue":ce[0]||(ce[0]=ke=>L.value=ke),"max-show":9999},{default:t.withCtx(()=>[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(_.value,ke=>(t.openBlock(),t.createBlock(t.unref(A.OTabPane),{key:ke.value,value:ke.value,label:ke.label},null,8,["value","label"]))),128))]),_:1},8,["modelValue"]),t.createVNode(t.unref(A.OScroller),{class:t.normalizeClass(["tab-content",`tab-content-${L.value}`,ve.value?"is-expanded":"",ee.value?"is-collapsible":""]),"show-type":"hover"},{default:t.withCtx(()=>{var ke;return[t.createElementVNode("div",{class:"tab-content-inner",ref_key:"contentRef",ref:G},[L.value===_.value[0].value?(t.openBlock(),t.createElementBlock("div",s7,[t.createElementVNode("div",a7,[t.createElementVNode("span",null,t.toDisplayString(t.unref(s)("meeting.item1")),1),t.createElementVNode("span",null,t.toDisplayString(r.detail.sponsor),1)]),t.createElementVNode("div",o7,[t.createElementVNode("span",null,t.toDisplayString(t.unref(s)("meeting.item2")),1),t.createElementVNode("span",null,t.toDisplayString(r.detail.groupName),1)]),t.createElementVNode("div",l7,[t.createElementVNode("span",null,t.toDisplayString(t.unref(s)("meeting.item3")),1),t.createElementVNode("span",null,t.toDisplayString(r.detail.date)+" "+t.toDisplayString(r.detail.start)+"~"+t.toDisplayString(r.detail.end),1)]),t.createElementVNode("div",u7,[t.createElementVNode("span",null,t.toDisplayString(t.unref(s)("meeting.item4")),1),t.createElementVNode("span",null,t.toDisplayString(r.detail.agenda||"-"),1)])])):t.createCommentVNode("",!0),L.value===((ke=_.value[1])==null?void 0:ke.value)?(t.openBlock(),t.createElementBlock("div",c7,[b.value?(t.openBlock(),t.createElementBlock("div",{key:0,class:"mouse-current-time",style:t.normalizeStyle({top:k.value[1],left:k.value[0]})},t.toDisplayString(b.value),5)):t.createCommentVNode("",!0),(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(g.value,(Re,de)=>(t.openBlock(),t.createElementBlock("div",{class:"subject-item",key:Re.title},[t.createElementVNode("div",d7,t.toDisplayString(Re.title),1),C.value?(t.openBlock(),t.createElementBlock("div",h7,[t.createElementVNode("div",{class:"subject-progress-item",onClick:R,onMousemove:O,onMouseleave:q,"data-start":Re.startTime,"data-end":Re.endTime,style:t.normalizeStyle({"--start":(Re.startTimeNumber<0?0:Re.startTimeNumber)/C.value,"--end":(Re.endTimeNumber>C.value?C.value:Re.endTimeNumber)/C.value,background:E(de)})},null,44,f7)])):t.createCommentVNode("",!0)]))),128))])):t.createCommentVNode("",!0)],512),t.createElementVNode("span",{class:"more-btn",onClick:W},[t.createElementVNode("span",null,t.toDisplayString(ve.value?t.unref(s)("common.collapse"):t.unref(s)("common.viewMore")),1),t.createVNode(t.unref(A.OIcon),null,{default:t.withCtx(()=>[t.createVNode(t.unref(A.OIconChevronDown))]),_:1})])]}),_:1},8,["class"])])],512),t.createElementVNode("div",{class:"right-card card-wrapper",style:t.normalizeStyle({height:M.value})},[t.createVNode(j2,{captions:d.value,trackIdx:l.value,instance:a.value},{empty:t.withCtx(()=>[t.renderSlot(he.$slots,"empty")]),_:3},8,["captions","trackIdx","instance"])],4)])}}}),m7={version:"1.1",xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"};function g7(r,e){return t.openBlock(),t.createElementBlock("svg",m7,[...e[0]||(e[0]=[t.createElementVNode("path",{d:"M12.032 2.355c1.632 0 3.205 0.404 4.611 1.166 0.34 0.182 0.466 0.609 0.281 0.949s-0.609 0.463-0.949 0.281c-1.201-0.65-2.546-0.996-3.943-0.996-4.585 0-8.3 3.715-8.3 8.297 0 4.588 3.715 8.303 8.3 8.303s8.3-3.715 8.3-8.303c0-2.063-0.753-4.002-2.098-5.514-0.258-0.287-0.231-0.732 0.059-0.984 0.287-0.258 0.729-0.234 0.987 0.053 1.57 1.764 2.452 4.037 2.452 6.445 0 5.361-4.342 9.703-9.7 9.703s-9.7-4.342-9.7-9.703c0-5.355 4.342-9.697 9.7-9.697zM10.866 7.658c0-0.627 0.507-1.131 1.134-1.131s1.134 0.504 1.134 1.131c0 0.627-0.507 1.131-1.134 1.131s-1.134-0.504-1.134-1.131zM12.706 10.002c-0.044-0.346-0.337-0.609-0.691-0.609-0.387 0-0.7 0.311-0.703 0.697l-0.023 6.762 0.006 0.1c0.044 0.34 0.337 0.603 0.691 0.603 0.387 0.006 0.7-0.311 0.703-0.697l0.023-6.762-0.006-0.094z"},null,-1)])])}const v7={name:"components-icon-tips",render:g7},y7={class:"o-sig-meeting-aside"},b7={class:"month"},C7={class:"days"},T7=["onClick"],A7={class:"day-d"},E7={class:"day-c"},x7={class:"arrow-wrapper"},Ys=1,k7=t.defineComponent({__name:"OMeetingSigAside",props:{data:{},current:{},total:{},active:{},meetingDates:{},eventsDates:{}},emits:["click-date","change-month"],setup(r,{emit:e}){const{getConfig:i}=yn(),n=r,s=e,a=g=>{s("click-date",g)},o=g=>{n.current+g>=n.total||n.current+g<0||s("change-month",g)},l=t.ref(null),c=()=>{var v,b;const g=((b=(v=l.value)==null?void 0:v.getContainerEl)==null?void 0:b.call(v))??null;if(!g)return!1;const E=g.querySelector(".day-item.active");if(!E)return!1;const C=g.getBoundingClientRect(),w=E.getBoundingClientRect();return g.scrollTop+=w.top-C.top,!0};let d=!1;const m=t.watch([()=>n.active,()=>n.data],()=>{d||!n.active||t.nextTick(()=>{d||c()&&(d=!0,m())})},{immediate:!0,flush:"post"});return(g,E)=>(t.openBlock(),t.createElementBlock("div",y7,[t.createVNode(t.unref(A.OScroller),{ref_key:"scrollerRef",ref:l,class:"month-wrapper","show-type":"hover",size:"small"},{default:t.withCtx(()=>[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(r.data,(C,w)=>(t.openBlock(),t.createElementBlock(t.Fragment,{key:w},[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(C,v=>(t.openBlock(),t.createElementBlock("div",{key:v.month,class:"month-item"},[t.createElementVNode("div",b7,t.toDisplayString(v.month.replace(/-/g,"/")),1),t.createElementVNode("div",C7,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(v.days,b=>(t.openBlock(),t.createElementBlock("div",{class:t.normalizeClass(["day-item",r.active===`${v.month}-${b}`&&"active"]),key:b,onClick:k=>a(`${v.month}-${b}`)},[t.createElementVNode("div",A7,t.toDisplayString(b),1),t.createElementVNode("div",E7,[r.meetingDates.includes(`${v.month}-${b}`)?(t.openBlock(),t.createBlock(t.unref(A.OIcon),{key:0,style:t.normalizeStyle({zIndex:t.unref(i)(t.unref(Fe).MEETING,"zIndex"),backgroundColor:t.unref(i)(t.unref(Fe).MEETING,"color")})},{default:t.withCtx(()=>[(t.openBlock(),t.createBlock(t.resolveDynamicComponent(t.unref(i)(t.unref(Fe).MEETING,"icon"))))]),_:1},8,["style"])):t.createCommentVNode("",!0),r.eventsDates.includes(`${v.month}-${b}`)?(t.openBlock(),t.createBlock(t.unref(A.OIcon),{key:1,style:t.normalizeStyle({zIndex:t.unref(i)(t.unref(Fe).EVENTS,"zIndex"),backgroundColor:t.unref(i)(t.unref(Fe).EVENTS,"color")})},{default:t.withCtx(()=>[(t.openBlock(),t.createBlock(t.resolveDynamicComponent(t.unref(i)(t.unref(Fe).EVENTS,"icon"))))]),_:1},8,["style"])):t.createCommentVNode("",!0)])],10,T7))),128))])]))),128))],64))),128))]),_:1},512),t.createElementVNode("div",x7,[t.createVNode(t.unref(A.OIcon),{onClick:E[0]||(E[0]=C=>o(0-Ys)),class:t.normalizeClass(r.current-Ys<0&&"disabled")},{default:t.withCtx(()=>[t.createVNode(t.unref(A.OIconArrowLeft))]),_:1},8,["class"]),t.createVNode(t.unref(A.OIcon),{onClick:E[1]||(E[1]=C=>o(Ys)),class:t.normalizeClass(r.current+Ys>=r.total&&"disabled")},{default:t.withCtx(()=>[t.createVNode(t.unref(A.OIconArrowRight))]),_:1},8,["class"])])]))}}),_7={key:0,class:"meeting-card-header"},S7={key:0,class:"header-left"},w7={key:1,class:"phone-filter-wrapper"},D7={class:"date-select"},B7={class:"meeting-card-content"},t0=t.defineComponent({__name:"OMeetingSigCalendar",props:{sigName:{},getMeetingListRequest:{},getDateListRequest:{},getEventsListRequest:{},emptyImg:{},emptyText:{},replayPath:{default:"video"}},setup(r){const e=r,{t:i,locale:n,meetingTabs:s}=yn(),a=t.computed(()=>n.value===Ue.Locales.EN),{lePadV:o}=Et.useScreen(),l=t.ref(""),c=t.ref(!1),d=t.ref([]),m=t.computed(()=>o.value?100:5),g=t.ref(""),E=t.ref([]),C=t.ref([]),w=t.ref([]),v=t.ref(-1),b=j=>{S(j)},k=j=>{S(j)},S=async j=>{if(e.getMeetingListRequest)try{c.value=!0,l.value=Se(j).format("YYYY-MM-DD");const G=await e.getMeetingListRequest(l.value,e.sigName);d.value=G.map(ee=>({...ee,time:`${ee.start}-${ee.end}`,date:ee.date||l.value,type:Fe.MEETING}))}finally{c.value=!1}},D=async()=>{e.getDateListRequest&&(E.value=await e.getDateListRequest()),e.getEventsListRequest&&(w.value=(await e.getEventsListRequest(l.value,e.sigName)).map(j=>({...j,type:Fe.EVENTS})),C.value=(w.value||[]).map(j=>j.dates||[]).flat())},O=t.ref(Fe.ALL),q=()=>{D()},R=j=>{const G=Se(j).format("YYYY-MM-DD");return[G.slice(0,7),G.slice(8,10)]},x=t.computed(()=>{let j;return O.value===Fe.ALL?j=[...E.value||[],...C.value]:O.value===Fe.MEETING?j=E.value||[]:O.value===Fe.EVENTS?j=C.value||[]:j=[],[...new Set(j)].sort((G,ee)=>Se(G).isAfter(Se(ee))?1:-1).map(G=>Se(G).format("YYYY-MM-DD"))}),L=()=>{let j=x.value.find(G=>G===Se().format("YYYY-MM-DD"));j||(j=x.value.find(G=>!Se().isAfter(Se(G)))||[...x.value].reverse().find(G=>!Se(G).isAfter(Se()))),g.value=j};t.watch(()=>x.value,j=>{j.length&&(L(),t.nextTick(()=>{S(g.value)}))});const _=t.computed(()=>{const j=x.value.reduce((G,ee)=>{var X;const[J,Q]=R(ee);return G[J]={days:[...((X=G[J])==null?void 0:X.days)||[],Q]},G},{});return Object.keys(j).map(G=>{var J,Q;let ee=[];return(Q=(J=j[G])==null?void 0:J.days)==null||Q.map(X=>{ee.push({month:G,day:X})}),ee})}),V=t.computed(()=>_.value.map(j=>{const G=j.reduce((ee,J)=>(ee[J.month]=ee[J.month]||[],ee[J.month].push(J.day),ee),{});return Object.keys(G).map(ee=>({month:ee,days:G[ee]||[]}))})),I=()=>{_.value.length?(v.value=_.value.findIndex(j=>j.some(G=>g.value===`${G.month}-${G.day}`)),v.value===-1&&(v.value=_.value.findIndex(j=>j.some(G=>g.value.includes(G.month))))):v.value=-1};t.watch([()=>_.value,()=>g.value],()=>{I()},{deep:!0});const z=j=>{v.value+=j},M=t.ref(null);let U=null;const P=wt.useDebounceFn(()=>{const j=M.value;if(!j||!A.isClient)return;const G=j.querySelector(".meeting-card-header .o-tab");if(!G)return;const ee=G.querySelector(".o-tab-navs-container");if(!ee)return;const J=ee.getBoundingClientRect().width;if(!J)return;const Q=a.value?130:120;G.classList.toggle("hide-icons",J<Q)},120);t.onMounted(()=>{D(),t.nextTick(P),A.isClient&&typeof ResizeObserver<"u"&&M.value&&(U=new ResizeObserver(()=>P()),U.observe(M.value))}),t.onBeforeUnmount(()=>{U==null||U.disconnect(),U=null}),t.watch(()=>s.value,()=>t.nextTick(P));const te=t.computed(()=>{let j;return O.value===Fe.ALL?j=[...d.value||[],...w.value]:O.value===Fe.MEETING?j=d.value||[]:O.value===Fe.EVENTS?j=w.value||[]:j=[],j});return(j,G)=>(t.openBlock(),t.createElementBlock("div",{ref_key:"rootRef",ref:M,class:"o-sig-meeting-calendar",style:{"--height":400}},[t.unref(o)?t.createCommentVNode("",!0):(t.openBlock(),t.createElementBlock("div",_7,[g.value?(t.openBlock(),t.createElementBlock("div",S7,[t.createElementVNode("span",null,t.toDisplayString(t.unref(i)("meeting.latestMeeting")),1),t.createElementVNode("span",null,t.toDisplayString(t.unref(Se)(g.value).format("YYYY/MM/DD")),1),t.createVNode(t.unref(A.OPopover),null,{target:t.withCtx(()=>[t.createVNode(t.unref(A.OIcon),{class:"tips"},{default:t.withCtx(()=>[t.createVNode(t.unref(v7))]),_:1})]),default:t.withCtx(()=>[t.createElementVNode("div",null,[t.createElementVNode("p",null,t.toDisplayString(t.unref(i)("meeting.detailHalfYearMeetings")),1)])]),_:1})])):t.createCommentVNode("",!0),t.createVNode(t.unref(A.OTab),{modelValue:O.value,"onUpdate:modelValue":G[0]||(G[0]=ee=>O.value=ee),onChange:q,line:!1,"max-show":9999,class:t.normalizeClass({"full-width":!g.value})},{default:t.withCtx(()=>[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(t.unref(s).slice(0,-1),ee=>(t.openBlock(),t.createBlock(t.unref(A.OTabPane),{key:ee.value,value:ee.value},{nav:t.withCtx(()=>[t.createVNode(t.unref(A.OIcon),null,{default:t.withCtx(()=>[(t.openBlock(),t.createBlock(t.resolveDynamicComponent(ee.icon)))]),_:2},1024),t.createTextVNode(" "+t.toDisplayString(ee.label),1)]),_:2},1032,["value"]))),128))]),_:1},8,["modelValue","class"])])),t.unref(o)?(t.openBlock(),t.createElementBlock("div",w7,[t.createElementVNode("div",D7,[t.createVNode(t.unref(A.OSelect),{modelValue:l.value,"onUpdate:modelValue":G[1]||(G[1]=ee=>l.value=ee),onChange:k},{default:t.withCtx(()=>[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(x.value,ee=>(t.openBlock(),t.createBlock(t.unref(A.OOption),{key:ee,value:ee,label:t.unref(dt)(ee)},null,8,["value","label"]))),128))]),_:1},8,["modelValue"])]),t.createElementVNode("div",null,[t.createVNode(t.unref(A.OTab),{modelValue:O.value,"onUpdate:modelValue":G[2]||(G[2]=ee=>O.value=ee),onChange:q,line:!1,"max-show":9999},{default:t.withCtx(()=>[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(t.unref(s).slice(0,-1),ee=>(t.openBlock(),t.createBlock(t.unref(A.OTabPane),{key:ee.value,value:ee.value},{nav:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(ee.label),1)]),_:2},1032,["value"]))),128))]),_:1},8,["modelValue"])])])):t.createCommentVNode("",!0),t.createVNode(t.unref(A.ODivider),{class:"meeting-divider"}),t.createElementVNode("div",B7,[!t.unref(o)&&v.value!==-1?(t.openBlock(),t.createBlock(k7,{key:0,data:V.value.slice(v.value,v.value+1),meetingDates:O.value!==t.unref(Fe).EVENTS?E.value:[],eventsDates:O.value!==t.unref(Fe).MEETING?C.value:[],onClickDate:b,onChangeMonth:z,current:v.value,total:V.value.length,active:l.value},null,8,["data","meetingDates","eventsDates","current","total","active"])):t.createCommentVNode("",!0),t.createVNode(t.unref(A.OScroller),{class:"list-content","show-type":"hover",size:"small"},{default:t.withCtx(()=>[t.createVNode(L0,{replayPath:r.replayPath,list:te.value,rows:m.value},{empty:t.withCtx(()=>[t.renderSlot(j.$slots,"empty",{},()=>[t.createVNode(t.unref(A.OResult),{class:"empty-result"},{image:t.withCtx(()=>[t.createVNode(t.unref(A.OFigure),{class:"img",src:r.emptyImg??t.unref(R0)},null,8,["src"])]),description:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(r.emptyText??t.unref(i)("meeting.meetingEmptyText")),1)]),_:1})])]),_:3},8,["replayPath","list","rows"])]),_:3})])],512))}}),V7={class:"o-my-meeting-calendar"},I7={class:"meeting-list"},N7={class:"list-calendar-mb"},O7={class:"list-calendar"},P7=["onClick"],M7={class:"date-cell-text"},L7={class:"list-body"},R7=["id"],q7={class:"item-header"},F7={class:"item-header-left"},U7={class:"header-info"},z7={class:"meeting-title"},H7={key:0},j7={class:"title-wrapper"},X7={class:"title-text"},G7={key:1,class:"tag-wrapper"},Q7={key:2,class:"tag-wrapper"},Y7={class:"meeting-info"},K7={key:0,class:"item-header-right"},W7={class:"meeting-detail"},J7={key:0,class:"meeting-btn"},Z7={key:0,class:"load-text"},$7={class:"dialog-content"},i0=t.defineComponent({__name:"OMeetingMyCalendar",props:{cancelSubMeetingRequest:{},deleteMeetingRequest:{},getMeetingListRequest:{},groupType:{default:pi.SIG}},emits:["edit"],setup(r,{emit:e}){const i=A.useMessage(null),n=t.ref(!1),s=t.ref(1),a=t.ref(50),o=t.ref(null),l=t.ref([]),c=t.ref([]),d=t.computed(()=>o.value===null||c.value.length<o.value),m=t.ref(!1),{t:g,locale:E,getPointStr:C,getConfig:w,getWeekFromDate:v}=yn(),b=t.computed(()=>E.value===Ue.Locales.EN),k=r,S=t.ref(!1),{isPhone:D}=Et.useScreen(),O=t.ref([]),q=e,R=t.ref(!1),x=t.ref(!1),L=async()=>{if(k.getMeetingListRequest&&!R.value)try{if(o.value!==null&&o.value>0&&(s.value-1)*a.value>o.value)return;if(!d.value&&D.value){qe("next-month");return}n.value=!0,R.value=!0;const se=await k.getMeetingListRequest({page:s.value,size:a.value,order_by:"date",order_type:"asc",month:Se(Te.value).format("YYYY-MM")}),oe=(se.data||[]).map(ye=>{var ri,Ft,vi;const{is_cycle:pe,date:le,start:be,end:He,cycle_sub:Ve,cycle_start_date:it,cycle_end_date:ze,cycle_start:gt,cycle_end:st,cycle_type:Nt,cycle_interval:Dt,cycle_point:qt}=ye;if(pe){let Ot="",yi="";Nt===pn&&(yi=g("meeting.cycleDay")),Nt===mn&&(Dt>1?yi=g("meeting.cycleWeek.other",[C(Nt,qt),Dt]):yi=g("meeting.cycleWeek.one",[C(Nt,qt)])),Nt===tn&&(yi=g("meeting.cycleMonth",[C(Nt,qt)])),Ot=g("meeting.cycleMeetingText2",{startDate:it,endDate:ze,startTime:gt,endTime:st,cycleType:yi});const B=((ri=ye.obs_data)==null?void 0:ri.filter(N=>N.text_video_url))||[];return Ve.filter(N=>Se(N.date).isBefore(Se(Te.value).add(1,"month").format("YYYY-MM-01"))&&!Se(N.date).isBefore(Se(Te.value).format("YYYY-MM-01"))).map(({id:N,...$})=>({...ye,...$,timeRange:Ot,dateRange:`${$.start}-${$.end}`,hasObsData:B.find(ue=>ue.sub_id===$.sub_id),time:`${$.start}-${$.end}`,isExpired:Se(`${$.date} ${$.start}`).isBefore(Se())}))}return[{...ye,dateRange:`${be} - ${He}`,timeRange:`${be} - ${He}`,hasObsData:!!((vi=(Ft=ye.obs_data)==null?void 0:Ft.filter(Ot=>Ot.text_video_url))!=null&&vi.length),time:`${be}-${He}`,isExpired:Se(`${le} ${be}`).isBefore(Se())}]}).flat().filter(ye=>ye.date.slice(0,7)===dt(Te.value,"YYYY-MM-DD").slice(0,7));m.value?(c.value=se.data||[],l.value=oe):s.value===1&&!D.value?(c.value=se.data||[],l.value=oe):(c.value=[...c.value,...se.data||[]],l.value=[...l.value,...oe]),l.value.sort((ye,pe)=>ye.date===pe.date?Vn(ye.start)>Vn(pe.start)?1:-1:Se(ye.date).isAfter(Se(pe.date))?1:-1),o.value=(se==null?void 0:se.total)||0,t.nextTick(()=>{De(),Je.value&&!D.value&&M()})}finally{n.value=!1,R.value=!1,x.value=!1,m.value=!1}},_=wt.useDebounceFn(()=>{d.value&&(D.value||(x.value=!0,s.value++,L()))},200),V=wt.useDebounceFn(()=>{if(!d.value||!D.value)return;const se=window.scrollY||window.pageYOffset,oe=window.innerHeight;document.documentElement.scrollHeight-(se+oe)<=300&&!R.value&&(x.value=!0,s.value++,L())},200),I=se=>{const oe=l.value.filter(ye=>ye.date===se);return oe.length&&oe.every(ye=>ye.is_delete)},z=se=>{const oe=se.target;if(!oe)return;const ye=oe.scrollTop,pe=oe.scrollHeight,le=oe.clientHeight;ye+le>=pe&&_()},M=()=>{Je.value.getContainerEl().addEventListener("scroll",z)},U=t.ref({}),P=(se,oe)=>{se&&oe&&(U.value[oe]=se)},te=async se=>{await U.value[se].copyInfo(),i.success({content:g("common.copySuccess")})},j=t.ref(!1),G=t.ref(null),ee=se=>{q("edit",se,"whole")},J=se=>{G.value=se,j.value=!0},Q=async()=>{if(k.deleteMeetingRequest&&G.value)try{S.value=!0;const se=await k.deleteMeetingRequest(G.value.id);if(typeof se=="boolean"&&!se)return;j.value=!1,i.success({content:`${g("meeting.meetingCancel",[G.value.topic])}`}),m.value=!0,L()}finally{S.value=!1}},X=t.ref(!1),ne=t.ref(""),ve=t.ref(null),W=[{label:g("meeting.meetingSingle"),value:"single"},{label:g("meeting.meetingCycle"),value:"whole"}],he=t.ref("single"),ce=(se,oe)=>{se.is_cycle?(ve.value=se,ne.value=oe,X.value=!0):oe==="cancel"?J(se):ee(se)},Ee=()=>{X.value=!1,ve.value=null,ne.value="",he.value="single"},fe=async()=>{const se=ve.value;if(se)if(ne.value==="cancel")try{let oe;if(S.value=!0,he.value==="single"&&se.is_cycle){if(!k.cancelSubMeetingRequest)return;oe=await k.cancelSubMeetingRequest(se.sub_id)}else{if(!k.deleteMeetingRequest)return;oe=await k.deleteMeetingRequest(se.id)}if(typeof oe=="boolean"&&!oe)return;i.success({content:`${g("meeting.meetingCancel",[se.topic])}`}),Ee(),m.value=!0,L()}finally{S.value=!1}else q("edit",se,he.value),Ee()},ke=t.ref(),Re=t.computed(()=>[...new Set(l.value.map(se=>se.date))].sort((se,oe)=>Se(se).isBefore(Se(oe))?-1:1)),de=t.computed(()=>[...new Set(l.value.filter(se=>!se.isExpired&&!se.is_delete).map(se=>se.date))].sort((se,oe)=>Se(se).isBefore(Se(oe))?-1:1)),Te=t.ref(),De=()=>{var ye;const se=de.value.find(pe=>!Se(pe).isBefore(Se(new Date).format("YYYY-MM-DD")));se?Te.value=se:Te.value||(Te.value=Se().format("YYYY-MM-DD")),(ye=ke.value)==null||ye.pickDay(Se(Te.value)),Te.value=Se(Te.value).format("YYYY-MM-DD");const oe=l.value.find(pe=>pe.date===Te.value&&!pe.isExpired&&!pe.is_delete);oe&&(O.value=[oe.sub_id||oe.id])},We=(se,oe)=>{var ye;(!oe||!((ye=se.target)!=null&&ye.className.includes("date-cell-text")))&&(se.stopPropagation(),se.preventDefault())},qe=se=>{ke.value&&(s.value=1,o.value=null,window.scrollTo({top:0,behavior:"smooth"}),ke.value.selectDate(se),m.value=!0,t.nextTick(()=>{Te.value=Se(ke.value.selectedDay).format("YYYY-MM-DD"),L()}))},ct=t.computed(()=>l.value.reduce((se,oe)=>{if(se.length){const ye=se.at(-1);return(ye==null?void 0:ye.date)===oe.date?ye.list.push(oe):se.push({date:oe.date,list:[oe]}),se}else return[{date:oe.date,list:[oe]}]},[])),Je=t.ref();t.watch(()=>Te.value,()=>{Me(Te.value)});const Me=se=>{var pe,le,be;const oe=Se(se).format("YYYY-MM-DD"),ye=document.querySelector(`#group-title-${oe}`);ye&&(D.value?window.scrollTo({top:(((pe=ye.parentElement)==null?void 0:pe.offsetTop)||0)-52,behavior:"smooth"}):(be=Je.value)==null||be.scrollTo({top:((le=ye.parentElement)==null?void 0:le.offsetTop)||0,behavior:"smooth"}))};t.onMounted(()=>{L(),window.addEventListener("scroll",V),window.addEventListener("resize",V)}),t.onUnmounted(()=>{var oe;window.removeEventListener("scroll",V),window.removeEventListener("resize",V);const se=(oe=Je.value)==null?void 0:oe.getContainerEl();se==null||se.removeEventListener("scroll",z)});const Ie=se=>{const oe=Se(se||void 0);return b.value?oe.format("MMMM YYYY"):oe.format("YYYY MM月")},Ae=t.computed(()=>[{id:"confirm",color:"primary",label:g("common.confirm"),variant:"solid",size:"large",round:"pill",loading:S.value,onClick:()=>{fe()}},{id:"cancel",color:"primary",label:g("common.cancel"),variant:"outline",size:"large",round:"pill",onClick:()=>{Ee()}}]),xe=t.computed(()=>[{id:"confirm",color:"primary",label:g("common.confirm"),variant:"solid",size:"large",round:"pill",loading:S.value,onClick:()=>{Q()}},{id:"cancel",color:"primary",label:g("common.cancel"),variant:"outline",size:"large",round:"pill",onClick:()=>{j.value=!1}}]);return(se,oe)=>(t.openBlock(),t.createElementBlock("div",V7,[t.createElementVNode("div",I7,[t.createElementVNode("div",N7,[t.createElementVNode("span",null,t.toDisplayString(Ie(Te.value)),1),t.createElementVNode("span",null,[t.createVNode(t.unref(A.OIcon),{onClick:oe[0]||(oe[0]=ye=>qe("prev-month"))},{default:t.withCtx(()=>[t.createVNode(t.unref(A.OIconChevronLeft))]),_:1}),t.createVNode(t.unref(A.OIcon),{onClick:oe[1]||(oe[1]=ye=>qe("next-month"))},{default:t.withCtx(()=>[t.createVNode(t.unref(A.OIconChevronRight))]),_:1})])]),t.createElementVNode("div",O7,[t.createVNode(t.unref(tt.ElCalendar),{ref_key:"calendarRef",ref:ke,modelValue:Te.value,"onUpdate:modelValue":oe[4]||(oe[4]=ye=>Te.value=ye)},{header:t.withCtx(()=>[t.createElementVNode("span",null,t.toDisplayString(Ie(Te.value)),1),t.createElementVNode("div",null,[t.createVNode(t.unref(A.OIcon),{onClick:oe[2]||(oe[2]=ye=>qe("prev-month"))},{default:t.withCtx(()=>[t.createVNode(t.unref(A.OIconChevronLeft))]),_:1}),t.createVNode(t.unref(A.OIcon),{onClick:oe[3]||(oe[3]=ye=>qe("next-month"))},{default:t.withCtx(()=>[t.createVNode(t.unref(A.OIconChevronRight))]),_:1})])]),"date-cell":t.withCtx(({data:ye})=>[t.createElementVNode("div",{onClick:pe=>We(pe,Re.value.includes(ye.day)),class:t.normalizeClass({"date-cell":!0,"is-selected":ye.isSelected,"is-today":t.unref(dt)(ye.day)===t.unref(dt)(),clickable:Re.value.includes(ye.day),expired:t.unref(Se)(t.unref(dt)()).isAfter(t.unref(Se)(ye.day)),"all-deleted":I(ye.day)}),style:t.normalizeStyle({"--dot-bg":`${t.unref(w)(t.unref(Fe).MEETING,"color")}`})},[t.createElementVNode("div",M7,t.toDisplayString(Number(ye.day.split("-")[2])),1)],14,P7)]),_:1},8,["modelValue"])]),t.createElementVNode("div",{class:t.normalizeClass(["list-wrapper",l.value.length?"":"is-empty"])},[l.value.length?(t.openBlock(),t.createBlock(t.unref(A.OScroller),{key:0,ref_key:"scrollerRef",ref:Je,onScrollend:t.unref(_),class:"scroller-container","show-type":"hover"},{default:t.withCtx(()=>[t.createElementVNode("div",L7,[t.createVNode(t.unref(A.OCollapse),{modelValue:O.value,"onUpdate:modelValue":oe[7]||(oe[7]=ye=>O.value=ye),accordion:t.unref(D)},{default:t.withCtx(()=>[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(ct.value,(ye,pe)=>(t.openBlock(),t.createElementBlock(t.Fragment,{key:ye.date},[pe===0?(t.openBlock(),t.createElementBlock("div",{key:0,class:"list-month-change prev-month",onClick:oe[5]||(oe[5]=le=>qe("prev-month"))},[t.createVNode(t.unref(A.OIcon),null,{default:t.withCtx(()=>[t.createVNode(t.unref(A.OIconArrowLeft))]),_:1}),t.createElementVNode("span",null,t.toDisplayString(t.unref(g)("meeting.preMonth")),1)])):t.createCommentVNode("",!0),t.createElementVNode("div",{class:t.normalizeClass(["group-item",pe===ct.value.length-1&&"last-item"])},[t.createElementVNode("div",{class:t.normalizeClass({"group-bar":!0,"is-active":t.unref(Se)(Te.value).format("YYYY-MM-DD")===ye.date,"is-end":ye.list.every(le=>le.isExpired)})},[...oe[11]||(oe[11]=[t.createElementVNode("div",{class:"group-bar-line"},null,-1),t.createElementVNode("div",{class:"group-bar-dot"},null,-1)])],2),t.createElementVNode("div",{class:t.normalizeClass({"group-title":!0,"is-end":ye.list.every(le=>le.isExpired)}),id:`group-title-${t.unref(Se)(new Date(ye.date)).format("YYYY-MM-DD")}`},t.toDisplayString(t.unref(Se)(ye.date).format("MM/DD"))+" "+t.toDisplayString(t.unref(v)(ye.date)),11,R7),(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(ye.list,(le,be)=>(t.openBlock(),t.createBlock(t.unref(A.OCollapseItem),{key:le.sub_id||le.id,value:le.sub_id||le.id,class:t.normalizeClass({"last-item":pe===ct.value.length-1&&be===ye.list.length-1,"is-delete":le.is_delete,"is-end":le.isExpired})},{title:t.withCtx(()=>[t.createElementVNode("div",q7,[t.createElementVNode("div",F7,[t.createElementVNode("div",{class:"meeting-icon",style:t.normalizeStyle({backgroundColor:`${le.is_delete?"var(--o-color-info4)":t.unref(w)(t.unref(Fe).MEETING,"color")}`})},[t.createVNode(t.unref(A.OIcon),null,{default:t.withCtx(()=>[(t.openBlock(),t.createBlock(t.resolveDynamicComponent(t.unref(w)(t.unref(Fe).MEETING,"icon"))))]),_:1})],4),t.createElementVNode("div",U7,[t.createElementVNode("div",z7,[le.is_delete?(t.openBlock(),t.createElementBlock("div",H7,t.toDisplayString(t.unref(g)("meeting.meetingCancelled")),1)):t.createCommentVNode("",!0),t.createElementVNode("div",j7,[t.createElementVNode("div",X7,[t.createVNode(cs,null,{default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(le.topic),1)]),_:2},1024)])]),le.is_cycle?(t.openBlock(),t.createElementBlock("div",G7,[t.createVNode(t.unref(A.OTag),{color:"primary",variant:"outline"},{default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(t.unref(g)("meeting.cycle")),1)]),_:1})])):t.createCommentVNode("",!0),le.is_private?(t.openBlock(),t.createElementBlock("div",Q7,[t.createVNode(t.unref(A.OTag),{color:"primary",class:"private-tag",variant:"outline"},{default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(t.unref(g)("meeting.privateTag")),1)]),_:1})])):t.createCommentVNode("",!0)]),t.createElementVNode("div",Y7,[t.createElementVNode("span",null,t.toDisplayString(le.dateRange),1),t.createVNode(t.unref(A.ODivider),{direction:"v"}),t.createElementVNode("span",null,t.toDisplayString(r.groupType===t.unref(pi).GROUP?t.unref(g)("meeting.groups"):t.unref(g)("meeting.sigs"))+": "+t.toDisplayString(le.group_name),1)])])]),le.is_delete?t.createCommentVNode("",!0):(t.openBlock(),t.createElementBlock("div",K7,[le.isExpired?(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[le.etherpad?(t.openBlock(),t.createBlock(t.unref(A.OLink),{key:0,"hover-underline":!1,target:"_blank",href:le.etherpad},{suffix:t.withCtx(()=>[t.createVNode(t.unref(A.OIcon),null,{default:t.withCtx(()=>[t.createVNode(t.unref(A.OIconChevronRight))]),_:1})]),default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(t.unref(g)("meeting.meetingSummary"))+" ",1)]),_:1},8,["href"])):t.createCommentVNode("",!0),le.hasObsData?(t.openBlock(),t.createBlock(t.unref(A.OLink),{key:1,"hover-underline":!1,target:"_blank",href:`/${t.unref(E)}/video/${le.group_name}/${le.mid}/${le.date}`},{suffix:t.withCtx(()=>[t.createVNode(t.unref(A.OIcon),null,{default:t.withCtx(()=>[t.createVNode(t.unref(A.OIconChevronRight))]),_:1})]),default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(t.unref(g)("meeting.viewRecord"))+" ",1)]),_:1},8,["href"])):t.createCommentVNode("",!0)],64)):(t.openBlock(),t.createBlock(t.unref(A.OLink),{key:0,"hover-underline":!1,target:"_blank",href:le.join_url,rel:"noopener noreferrer"},{suffix:t.withCtx(()=>[t.createVNode(t.unref(A.OIcon),null,{default:t.withCtx(()=>[t.createVNode(t.unref(A.OIconChevronRight))]),_:1})]),default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(t.unref(g)("meeting.joinMeeting"))+" ",1)]),_:1},8,["href"]))]))]),t.createVNode(t.unref(A.OIcon),{onClick:t.withModifiers(()=>te(le.sub_id||le.id),["stop"]),class:"copy-icon"},{default:t.withCtx(()=>[t.createVNode(t.unref(Ml))]),_:1},8,["onClick"])]),default:t.withCtx(()=>[t.createElementVNode("div",W7,[t.createVNode(is,{show:O.value.includes(le.sub_id||le.id),data:le,ref_for:!0,ref:He=>P(He,le.sub_id||le.id),from:"my"},null,8,["show","data"]),!le.isExpired&&!le.is_delete?(t.openBlock(),t.createElementBlock("div",J7,[t.createVNode(t.unref(A.OButton),{color:"normal",variant:"text",onClick:He=>ce(le,"edit")},{default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(t.unref(g)("meeting.editMeeting")),1)]),_:1},8,["onClick"]),t.createVNode(t.unref(A.OButton),{color:"normal",variant:"text",onClick:He=>ce(le,"cancel")},{default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(t.unref(g)("meeting.cancelMeeting")),1)]),_:1},8,["onClick"])])):t.createCommentVNode("",!0)])]),_:2},1032,["value","class"]))),128)),oe[12]||(oe[12]=t.createElementVNode("div",{class:"height-placeholder"},null,-1))],2),pe===ct.value.length-1?(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[x.value?(t.openBlock(),t.createElementBlock("div",Z7,t.toDisplayString(t.unref(g)("common.loading")),1)):t.createCommentVNode("",!0),t.createElementVNode("div",{class:"list-month-change next-month",onClick:oe[6]||(oe[6]=le=>qe("next-month"))},[t.createVNode(t.unref(A.OIcon),null,{default:t.withCtx(()=>[t.createVNode(t.unref(A.OIconArrowRight))]),_:1}),t.createElementVNode("span",null,t.toDisplayString(t.unref(g)("meeting.nextMonth")),1)])],64)):t.createCommentVNode("",!0)],64))),128))]),_:1},8,["modelValue","accordion"])])]),_:1},8,["onScrollend"])):n.value?t.createCommentVNode("",!0):t.renderSlot(se.$slots,"empty",{key:1})],2),t.createVNode(t.unref(A.ODialog),{class:"handle-wrapper-dialog",visible:X.value,"onUpdate:visible":oe[9]||(oe[9]=ye=>X.value=ye),"main-class":"handle-dialog",onClose:Ee,actions:Ae.value},{header:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(t.unref(g)("meeting.meetingHandleText",[ne.value==="edit"?t.unref(g)("meeting.edit"):t.unref(g)("meeting.cancel")])),1)]),default:t.withCtx(()=>[t.createVNode(t.unref(A.ORadioGroup),{modelValue:he.value,"onUpdate:modelValue":oe[8]||(oe[8]=ye=>he.value=ye)},{default:t.withCtx(()=>[(t.openBlock(),t.createElementBlock(t.Fragment,null,t.renderList(W,ye=>t.createVNode(t.unref(A.ORadio),{value:ye.value,key:ye.value},{default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(ye.label),1)]),_:2},1032,["value"])),64))]),_:1},8,["modelValue"])]),_:1},8,["visible","actions"]),t.createVNode(t.unref(A.ODialog),{visible:j.value,"onUpdate:visible":oe[10]||(oe[10]=ye=>j.value=ye),"main-class":"cancel-dialog",actions:xe.value},{header:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(t.unref(g)("meeting.confirmCancel")),1)]),default:t.withCtx(()=>{var ye;return[t.createElementVNode("div",$7,t.toDisplayString(t.unref(g)("meeting.confirmCancelDesc",[(ye=G.value)==null?void 0:ye.topic])),1)]}),_:1},8,["visible","actions"])])]))}}),eC=Object.assign(Tc,{install(r){r.component("OMeetingCalendar",Tc)}}),tC=Object.assign(xc,{install(r){r.component("OMeetingForm",xc)}}),iC=Object.assign(e0,{install(r){r.component("OMeetingPlayback",e0)}}),nC=Object.assign(t0,{install(r){r.component("OMeetingSigCalendar",t0)}}),rC=Object.assign(i0,{install(r){r.component("OMeetingMyCalendar",i0)}}),sC={class:"o-activity-table"},aC={key:0,class:"table-wrapper"},oC={class:"expand-detail"},lC={class:"sort-btn"},uC={class:"activity-btn"},cC={key:0,class:"pagination-wrapper"},dC={key:1,class:"collapse-wrapper"},hC={class:"title-top"},fC={class:"act-title"},pC={class:"act-sponsor"},mC={class:"sponsor"},gC={class:"activity-btn"},vC={class:"activity-detail"},yC={key:0,class:"pagination"},bC={class:"dialog-content"},CC={class:"dialog-content"},n0=t.defineComponent({__name:"OActivityApproval",props:{getTableDataRequest:{},applicantList:{},cancelActivityRequest:{},deleteActivityRequest:{},approveActivityRequest:{},rejectActivityRequest:{},getActivityDetailRequest:{}},setup(r){const{t:e,locale:i}=Ue.useI18n(),n=t.computed(()=>i.value==="zh"),{approvalStatusMap:s,statusMap:a,activityTypeMap:o}=wa(),l=A.useMessage(null),{isPhone:c,lePadV:d}=Et.useScreen(),m=r,g=t.reactive({page:1,size:10,status:"",is_delete:0,search:"",sponsor:"",order_by:""}),E=t.ref([]),C=t.computed(()=>m.applicantList.map(Me=>({value:Me,label:Me}))),w=()=>{g.sponsor=E.value.join(",")},v=t.ref("desc"),b=()=>{v.value=v.value==="asc"?"desc":"asc",g.order_by=v.value},k=t.ref(),S=t.computed(()=>{const Me=[];return s.value.forEach(Ie=>{Me.push(Ie)}),Me.slice(1)}),D=()=>{g.status=k.value,k.value==="cancel"?g.is_delete=1:g.is_delete=0},O=t.ref([]),q=t.ref(0),R=[10,20,30,40],x=async()=>{const{page:Me,size:Ie,status:Ae,sponsor:xe,order_by:se,search:oe,is_delete:ye}=g;let pe={page:Me,size:Ie,sponsor:xe,order_by:se,search:oe};if(Ae!=="all"&&Ae!==""&&(pe.is_delete=ye),Ae==="cancel"?pe.status="":pe.status=Ae,!m.getTableDataRequest)return;const le=await m.getTableDataRequest(pe);O.value=(le.data||[]).map(be=>{var st;const{start_date:He,end_date:Ve,start:it,end:ze,activity_type:gt}=be;return[{...be,time:`${He}-${ze}`,start_date_time:`${He} ${it}`,end_date_time:`${Ve} ${ze}`,type:Fe.EVENTS,dateRange:`${He} ${it}-${Ve} ${ze}`,activity_type:(st=o.value.get(gt))==null?void 0:st.label}]}).flat(),q.value=le.total},L=Me=>{Me.pageSize!==g.size?g.page=1:g.page=Me.page,g.size=Me.pageSize,x()},_=t.ref({reason:""}),V=t.ref(),I=t.ref(!1),z=t.ref(null),M=t.ref(""),U=t.ref(0),P=t.ref(!1),te=t.ref({reason:[{required:!0,message:e("meeting.enterReviewNotes")}]}),j=async()=>{var Me,Ie,Ae,xe;if(!(!m.approveActivityRequest||!m.rejectActivityRequest))try{I.value=!0;const se=await((Me=V.value)==null?void 0:Me.validate());if(!se||se.some(oe=>!!oe)){I.value=!1;return}U.value===1?await m.approveActivityRequest((Ie=z.value)==null?void 0:Ie.id,_.value):await m.rejectActivityRequest((Ae=z.value)==null?void 0:Ae.id,_.value),x(),G(),l.success({content:e("meeting.reviewSuccess",[(xe=z.value)==null?void 0:xe.title])})}finally{P.value=!1,I.value=!1}},G=()=>{P.value=!1,J.value=!1,I.value=!1,_.value.reason=""},ee=async()=>{var Me;if(m.deleteActivityRequest&&m.cancelActivityRequest)try{I.value=!0,ne.value===1?await m.cancelActivityRequest(z.value.id,_.value):await m.deleteActivityRequest(z.value.id,_.value),x(),G(),l.success({content:e("meeting.activityActionSuccess",[(Me=z.value)==null?void 0:Me.title,X.value])})}finally{I.value=!1,J.value=!1}},J=t.ref(!1),Q=t.ref(""),X=t.ref(""),ne=t.ref(0),ve=Me=>{Q.value=e("meeting.deleteActivity"),X.value=e("meeting.deleteActivity").toLowerCase(),z.value=Me,ne.value=0,J.value=!0},W=Me=>{Q.value=e("meeting.cancelActivity"),X.value=e("common.cancel").toLowerCase(),z.value=Me,ne.value=1,J.value=!0},he=Me=>{z.value=Me,M.value=e("meeting.approveReview"),U.value=1,P.value=!0},ce=Me=>{z.value=Me,M.value=e("meeting.rejectReview"),U.value=0,P.value=!0},Ee=t.ref([]),fe=t.ref([]),ke=Me=>{const Ie=Me.toString();if(!m.getActivityDetailRequest)return;Ee.value.includes(Ie)||(Ee.value.push(Ie),m.getActivityDetailRequest(Ie).then(xe=>{var se;(se=O.value)==null||se.forEach(oe=>{oe.id===xe.id&&(oe.approve_record=xe.approve_record,oe.approver=xe.approver)})}));const Ae=fe.value.indexOf(Ie);fe.value.includes(Ie)?fe.value.splice(Ae,1):fe.value.push(Ie)},Re=Me=>{ke(Me.id)},de=Me=>Me.id.toString(),Te=t.ref([]),De=Me=>{Me.length&&Me.forEach(Ie=>{ke(Ie)})},We=t.ref({}),qe=(Me,Ie)=>{Me&&Ie&&(We.value[Ie]=Me)};t.onMounted(()=>{x()}),t.watch(()=>[g.status,g.sponsor,g.order_by,g.search,g.is_delete],()=>{x()},{deep:!0});const ct=t.computed(()=>[{id:"confirm",loading:I.value,color:"primary",variant:d.value?"text":"solid",round:"pill",size:"large",label:e("meeting.confirmBtn"),onClick:()=>{ee()}},{id:"cancel",color:"primary",variant:d.value?"text":"outline",round:"pill",size:"large",label:e("meeting.cancelBtn"),onClick:()=>{G()}}]),Je=t.computed(()=>[{id:"confirm",loading:I.value,color:"primary",variant:d.value?"text":"solid",round:"pill",size:"large",label:e("meeting.confirmBtn"),onClick:()=>{j()}},{id:"cancel",color:"primary",variant:d.value?"text":"outline",round:"pill",size:"large",label:e("meeting.cancelBtn"),onClick:()=>{G()}}]);return(Me,Ie)=>(t.openBlock(),t.createElementBlock("div",sC,[t.unref(c)?(t.openBlock(),t.createElementBlock("div",dC,[t.createVNode(t.unref(A.OCollapse),{modelValue:Te.value,"onUpdate:modelValue":Ie[2]||(Ie[2]=Ae=>Te.value=Ae),accordion:t.unref(c),onChange:De},{default:t.withCtx(()=>[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(O.value,Ae=>{var xe;return t.openBlock(),t.createElementBlock(t.Fragment,{key:Ae.id},[t.createElementVNode("div",hC,[t.createElementVNode("p",fC,t.toDisplayString(Ae.title),1),Ae.is_delete!==1?(t.openBlock(),t.createBlock(t.unref(A.OTag),{key:0,color:"primary",variant:"outline",class:t.normalizeClass([`tag-${(xe=t.unref(a).get(Ae.status))==null?void 0:xe.id}`])},{default:t.withCtx(()=>{var se;return[t.createTextVNode(t.toDisplayString((se=t.unref(a).get(Ae.status))==null?void 0:se.text),1)]}),_:2},1032,["class"])):(t.openBlock(),t.createBlock(t.unref(A.OTag),{key:1,color:"primary",variant:"outline",class:"tag-cancel"},{default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(t.unref(e)("meeting.statusCanceled")),1)]),_:1}))]),t.createVNode(t.unref(A.OCollapseItem),{value:Ae.id},{title:t.withCtx(()=>[t.createElementVNode("div",pC,[t.createElementVNode("p",mC,t.toDisplayString(Ae.sponsor),1),t.createElementVNode("p",null,t.toDisplayString(t.unref(tt.dayjs)(Ae.create_time).format("YYYY/MM/DD HH:mm:ss")),1)]),t.createElementVNode("div",gC,[Ae.status===7||Ae.is_delete?(t.openBlock(),t.createBlock(t.unref(A.OLink),{key:0,color:"danger",variant:"text",onClick:t.withModifiers(se=>ve(Ae),["stop"])},{default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(t.unref(e)("meeting.deleteActivity")),1)]),_:1},8,["onClick"])):t.createCommentVNode("",!0),(Ae.status===3||Ae.status===4)&&Ae.is_delete!==1?(t.openBlock(),t.createBlock(t.unref(A.OLink),{key:1,color:"danger",variant:"text",onClick:t.withModifiers(se=>W(Ae),["stop"])},{default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(t.unref(e)("meeting.cancelActivity")),1)]),_:1},8,["onClick"])):t.createCommentVNode("",!0),Ae.status===2?(t.openBlock(),t.createBlock(t.unref(A.OLink),{key:2,color:"primary",variant:"text",onClick:t.withModifiers(se=>he(Ae),["stop"])},{default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(t.unref(e)("meeting.approve")),1)]),_:1},8,["onClick"])):t.createCommentVNode("",!0),Ae.status===2?(t.openBlock(),t.createBlock(t.unref(A.OLink),{key:3,color:"primary",variant:"text",onClick:t.withModifiers(se=>ce(Ae),["stop"])},{default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(t.unref(e)("meeting.reject")),1)]),_:1},8,["onClick"])):t.createCommentVNode("",!0)])]),default:t.withCtx(()=>[t.createElementVNode("div",vC,[t.createVNode(is,{show:Te.value.includes(Ae.id),data:Ae,ref_for:!0,ref:se=>qe(se,Ae.id),page:t.unref(Fe).APPROVAL},null,8,["show","data","page"])])]),_:2},1032,["value"])],64)}),128))]),_:1},8,["modelValue","accordion"]),q.value>R[0]?(t.openBlock(),t.createElementBlock("div",yC,[t.createVNode(t.unref(A.OPagination),{total:q.value,page:g.page,"page-size":g.size,"page-sizes":R,layout:["total","jumper","pager","pagesize"],"show-more":!1,simple:!0,onChange:L},null,8,["total","page","page-size"])])):t.createCommentVNode("",!0)])):(t.openBlock(),t.createElementBlock("div",aC,[t.createVNode(t.unref(tt.ElTable),{data:O.value,onExpandChange:Re,"row-key":de,"expand-row-keys":fe.value},{default:t.withCtx(()=>[t.createVNode(t.unref(tt.ElTableColumn),{type:"expand"},{default:t.withCtx(Ae=>[t.createElementVNode("div",oC,[t.createVNode(is,{data:Ae.row,page:t.unref(Fe).APPROVAL,show:""},null,8,["data","page"])])]),_:1}),t.createVNode(t.unref(tt.ElTableColumn),{label:t.unref(e)("meeting.activityName"),prop:"title"},null,8,["label"]),t.createVNode(t.unref(tt.ElTableColumn),{prop:"sponsor"},{header:t.withCtx(()=>[t.createVNode(vc,{modelValue:E.value,"onUpdate:modelValue":Ie[0]||(Ie[0]=Ae=>E.value=Ae),onConfirm:w,list:C.value,multiple:!0},{empty:t.withCtx(()=>[t.renderSlot(Me.$slots,"filter-empty")]),default:t.withCtx(()=>[t.createTextVNode(" "+t.toDisplayString(t.unref(e)("meeting.applicant")),1)]),_:3},8,["modelValue","list"])]),_:3}),t.createVNode(t.unref(tt.ElTableColumn),{prop:"create_time"},{header:t.withCtx(()=>[t.createElementVNode("div",{class:"sort-time",onClick:b},[t.createElementVNode("span",null,t.toDisplayString(t.unref(e)("meeting.submissionTime")),1),t.createElementVNode("div",lC,[t.createElementVNode("div",{class:t.normalizeClass(["sort-asc sort-item",{active:v.value==="asc"}])},null,2),t.createElementVNode("div",{class:t.normalizeClass(["sort-desc sort-item",{active:v.value==="desc"}])},null,2)])])]),default:t.withCtx(Ae=>[t.createTextVNode(t.toDisplayString(t.unref(tt.dayjs)(Ae.row.create_time).format("YYYY/MM/DD HH:mm:ss")),1)]),_:1}),t.createVNode(t.unref(tt.ElTableColumn),{prop:"status",width:"90px"},{header:t.withCtx(()=>[t.createVNode(vc,{modelValue:k.value,"onUpdate:modelValue":Ie[1]||(Ie[1]=Ae=>k.value=Ae),onConfirm:D,list:S.value},{empty:t.withCtx(()=>[t.renderSlot(Me.$slots,"filter-empty")]),default:t.withCtx(()=>[t.createTextVNode(" "+t.toDisplayString(t.unref(e)("meeting.status")),1)]),_:3},8,["modelValue","list"])]),default:t.withCtx(Ae=>{var xe;return[Ae.row.is_delete!==1?(t.openBlock(),t.createBlock(t.unref(A.OTag),{key:0,color:"primary",variant:"outline",class:t.normalizeClass([`tag-${(xe=t.unref(a).get(Ae.row.status))==null?void 0:xe.id}`])},{default:t.withCtx(()=>{var se;return[t.createTextVNode(t.toDisplayString((se=t.unref(a).get(Ae.row.status))==null?void 0:se.text),1)]}),_:2},1032,["class"])):(t.openBlock(),t.createBlock(t.unref(A.OTag),{key:1,color:"primary",variant:"outline",class:"tag-cancel"},{default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(t.unref(e)("meeting.statusCanceled")),1)]),_:1}))]}),_:3}),t.createVNode(t.unref(tt.ElTableColumn),{label:t.unref(e)("meeting.action")},{default:t.withCtx(Ae=>[t.createElementVNode("div",uC,[Ae.row.status===7||Ae.row.is_delete?(t.openBlock(),t.createBlock(t.unref(A.OLink),{key:0,color:"danger",onClick:xe=>ve(Ae.row)},{default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(t.unref(e)("meeting.deleteActivity")),1)]),_:1},8,["onClick"])):t.createCommentVNode("",!0),(Ae.row.status===3||Ae.row.status===4)&&Ae.row.is_delete!==1?(t.openBlock(),t.createBlock(t.unref(A.OLink),{key:1,color:"danger",onClick:xe=>W(Ae.row)},{default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(t.unref(e)("meeting.cancelActivity")),1)]),_:1},8,["onClick"])):t.createCommentVNode("",!0),Ae.row.status===2?(t.openBlock(),t.createBlock(t.unref(A.OLink),{key:2,color:"primary",onClick:xe=>he(Ae.row)},{default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(t.unref(e)("meeting.approve")),1)]),_:1},8,["onClick"])):t.createCommentVNode("",!0),Ae.row.status===2?(t.openBlock(),t.createBlock(t.unref(A.OLink),{key:3,color:"primary",onClick:xe=>ce(Ae.row)},{default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(t.unref(e)("meeting.reject")),1)]),_:1},8,["onClick"])):t.createCommentVNode("",!0)])]),_:1},8,["label"])]),_:3},8,["data","expand-row-keys"]),q.value>R[0]?(t.openBlock(),t.createElementBlock("div",cC,[t.createVNode(t.unref(A.OPagination),{total:q.value,page:g.page,"page-size":g.size,"page-sizes":R,layout:["total","jumper","pager","pagesize"],"show-more":!1,onChange:L},null,8,["total","page","page-size"])])):t.createCommentVNode("",!0)])),t.createVNode(t.unref(A.ODialog),{visible:P.value,"onUpdate:visible":Ie[4]||(Ie[4]=Ae=>P.value=Ae),"phone-half-full":t.unref(d),"main-class":"handle-dialog-approval review-dialog",actions:Je.value},{header:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(M.value),1)]),default:t.withCtx(()=>[t.createElementVNode("div",bC,[t.createVNode(t.unref(A.OForm),{model:_.value,ref_key:"formRef",ref:V,"has-required":"",layout:"v",class:"form-wrapper"},{default:t.withCtx(()=>[t.createVNode(t.unref(A.OFormItem),{rules:te.value.reason,label:`${t.unref(e)("meeting.reviewNotesLabel")}${n.value?":":": "}`,field:"reason"},{default:t.withCtx(()=>[t.createVNode(t.unref(A.OTextarea),{size:"large",placeholder:t.unref(e)("meeting.enterReviewNotes"),rows:4,resize:"none","max-length":1e3,"input-on-outlimit":!1,modelValue:_.value.reason,"onUpdate:modelValue":Ie[3]||(Ie[3]=Ae=>_.value.reason=Ae)},null,8,["placeholder","modelValue"])]),_:1},8,["rules","label"])]),_:1},8,["model"])])]),_:1},8,["visible","phone-half-full","actions"]),t.createVNode(t.unref(A.ODialog),{visible:J.value,"onUpdate:visible":Ie[5]||(Ie[5]=Ae=>J.value=Ae),"phone-half-full":t.unref(d),"main-class":"handle-dialog-approval cancel-dialog",actions:ct.value},{header:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(Q.value),1)]),default:t.withCtx(()=>{var Ae,xe;return[t.createElementVNode("div",CC,t.toDisplayString(ne.value===1?t.unref(e)("meeting.confirmCancelActivity",[(Ae=z.value)==null?void 0:Ae.title]):t.unref(e)("meeting.confirmDeleteActivity",[(xe=z.value)==null?void 0:xe.title])),1)]}),_:1},8,["visible","phone-half-full","actions"])]))}}),TC={class:"o-my-activity-calendar"},AC={class:"activity-list"},EC={key:0,class:"list-calendar-mb"},xC={class:"left-calendar"},kC=["onClick"],_C={class:"date-cell-text"},SC={class:"right-meeting"},wC={class:"list-body"},DC=["id"],BC={class:"item-header-left"},VC={class:"header-info"},IC={class:"act-title"},NC={class:"title-text"},OC={class:"act-info"},PC={class:"date-range"},MC={key:0,class:"item-header-right"},LC={class:"activity-detail"},RC={key:0,class:"activity-btn"},qC={key:0,class:"load-text"},FC={class:"dialog-content"},UC={class:"dialog-content"},zC=t.defineComponent({__name:"OActivityMyCalendar",props:{getListRequest:{},revokeActivityRequest:{},deleteActivityRequest:{},editActivityRequest:{},getActivityDetailRequest:{}},emits:["edit"],setup(r,{emit:e}){const{t:i,locale:n}=Ue.useI18n(),s=t.computed(()=>n.value===Ue.Locales.ZH),{statusMap:a,activityTypeMap:o}=wa(),{getConfig:l}=yn(),c=pe=>{const le=Se(pe||new Date);return s.value?le.format("YYYY MM月"):le.format("MMMM YYYY")},d=A.useMessage(null),{isPhone:m}=Et.useScreen(),g=r,E=e,C=t.ref([]),w=t.ref([]),v=t.ref(1),b=t.ref(50),k=t.ref(null),S=t.ref(!1),D=t.ref([]),O=t.ref(!1),q=t.ref(!1),R=t.computed(()=>k.value===null||w.value.length<k.value),x=async()=>{if(g.getListRequest&&!O.value)try{if(k.value!==null&&k.value>0&&(v.value-1)*b.value>k.value)return;if(!R.value&&m.value){J("next-month");return}O.value=!0;const pe=await g.getListRequest({page:v.value,size:b.value,start_date:P.value}),le=(pe.data||[]).map(be=>{const{start_date:He,end_date:Ve,start:it,end:ze}=be;return[{...be,time:`${He}-${ze}`,start_date_time:`${He} ${it}`,end_date_time:`${Ve} ${ze}`,type:Fe.EVENTS,dateRange:`${He} ${it}-${Ve} ${ze}`,isExpired:Se(`${He} ${it}`).isBefore(Se())}]}).flat().filter(be=>be.start_date.slice(0,7)===dt(P.value,"YYYY-MM-DD").slice(0,7));S.value?(w.value=pe.data||[],C.value=le):v.value===1&&!m.value?(w.value=pe.data||[],C.value=le):(w.value=[...w.value,...pe.data||[]],C.value=[...C.value,...le]),C.value.sort((be,He)=>be.start_date===He.start_date?Vn(be.start)>Vn(He.start)?1:-1:Se(be.start_date).isAfter(Se(He.start_date))?1:-1),k.value=(pe==null?void 0:pe.total)||0,t.nextTick(()=>{G(),W.value&&!m.value&&M()})}finally{O.value=!1,q.value=!1,S.value=!1}},L=t.ref([]),_=pe=>{g.getActivityDetailRequest&&(L.value.includes(pe)||(L.value.push(pe),g.getActivityDetailRequest(pe).then(le=>{var be;(be=C.value)==null||be.forEach(He=>{He.id===le.id&&(He.approve_record=le.approve_record)})})))},V=pe=>{pe.length&&pe.forEach(le=>{_(le)})},I=pe=>{const le=C.value.filter(be=>be.start_date===pe);return le.length&&le.every(be=>be.status===3||be.status===4)},z=pe=>{const le=pe.target;if(!le)return;const be=le.scrollTop,He=le.scrollHeight,Ve=le.clientHeight;be+Ve>=He&&ce()},M=()=>{W.value.getContainerEl().addEventListener("scroll",z)},U=t.ref(),P=t.ref(Se().format("YYYY-MM-DD")),te=t.computed(()=>[...new Set(C.value.map(pe=>pe.start_date))].sort((pe,le)=>Se(pe).isBefore(Se(le))?-1:1)),j=t.computed(()=>[...new Set(C.value.filter(pe=>!pe.isExpired&&!pe.is_delete).map(pe=>pe.start_date))].sort((pe,le)=>Se(pe).isBefore(Se(le))?-1:1)),G=()=>{var be;const pe=j.value.find(He=>!Se(He).isBefore(Se(new Date).format("YYYY-MM-DD")));pe?P.value=pe:P.value||(P.value=Se().format("YYYY-MM-DD")),(be=U.value)==null||be.pickDay(Se(P.value)),P.value=Se(P.value).format("YYYY-MM-DD");const le=C.value.find(He=>He.start_date===P.value&&!He.isExpired&&!He.is_delete);le&&(_(le.id),D.value=[le.id])},ee=(pe,le)=>{var be;(!le||!((be=pe.target)!=null&&be.className.includes("date-cell-text")))&&(pe.stopPropagation(),pe.preventDefault())},J=pe=>{U.value&&(v.value=1,k.value=null,L.value=[],window.scrollTo({top:0,behavior:"smooth"}),U.value.selectDate(pe),S.value=!0,t.nextTick(()=>{P.value=Se(U.value.selectedDay).format("YYYY-MM-DD"),x()}))},Q=t.computed(()=>C.value.reduce((pe,le)=>{if(pe.length){const be=pe.at(-1);return(be==null?void 0:be.start_date)===le.start_date?be==null||be.list.push(le):pe.push({start_date:le.start_date,list:[le]}),pe}else return[{start_date:le.start_date,list:[le]}]},[])),X=t.ref({}),ne=(pe,le)=>{pe&&le&&(X.value[le]=pe)},ve=async pe=>{await X.value[pe].copyInfo(),d.success({content:i("common.copySuccess")})},W=t.ref(),he=pe=>{var He,Ve,it;const le=Se(pe).format("YYYY-MM-DD"),be=document.querySelector(`#group-title-${le}`);be&&(m.value?window.scrollTo({top:(((He=be.parentElement)==null?void 0:He.offsetTop)||0)-52,behavior:"smooth"}):(it=W.value)==null||it.scrollTo({top:((Ve=be.parentElement)==null?void 0:Ve.offsetTop)||0,behavior:"smooth"}))};t.watch(()=>P.value,()=>{he(P.value)});const ce=wt.useDebounceFn(()=>{R.value&&(m.value||(q.value=!0,v.value++,x()))},200),Ee=t.ref(!1),fe=t.ref(null),ke=t.ref(!1),Re=pe=>{fe.value=pe,ke.value=!0},de=()=>{var pe;g.revokeActivityRequest&&fe.value&&(Ee.value=!0,g.revokeActivityRequest((pe=fe.value)==null?void 0:pe.id).then(le=>{var be;typeof le=="boolean"&&!le||(d.success({content:i("meeting.revokeActivitySuccess",[(be=fe.value)==null?void 0:be.title])}),S.value=!0,x())}).finally(()=>{ke.value=!1,Ee.value=!1}))},Te=()=>{ke.value=!1},De=pe=>{E("edit",pe)},We=pe=>{if(!g.editActivityRequest)return;const{title:le,start_date:be,end_date:He,register_end_date:Ve,activity_type:it,synopsis:ze,register_url:gt,content_url:st,address:Nt,start:Dt,end:qt,approver:ri}=pe;let Ft={title:le,start_date:be,end_date:He,register_end_date:Ve,activity_type:it,synopsis:ze,register_url:gt,content_url:st,address:Nt,start:Dt,end:qt,approver:ri,is_publish:"true"};g.editActivityRequest(pe.id,Ft).then(vi=>{typeof vi=="boolean"&&!vi||(d.success({content:i("meeting.submitReviewSuccess",[pe.title])}),S.value=!0,x())})},qe=t.ref(!1),ct=pe=>{fe.value=pe,qe.value=!0},Je=()=>{var pe;g.deleteActivityRequest&&(Ee.value=!0,g.deleteActivityRequest((pe=fe.value)==null?void 0:pe.id).then(le=>{var be;typeof le=="boolean"&&!le||(d.success({content:i("meeting.deleteActivitySuccess",[(be=fe.value)==null?void 0:be.title])}),S.value=!0,x())}).finally(()=>{qe.value=!1,Ee.value=!1}))},Me=()=>{qe.value=!1},Ie=t.ref(),Ae=t.ref(0),xe=()=>{var pe;Ae.value=((pe=Ie.value)==null?void 0:pe.clientHeight)||0},se=wt.useDebounceFn(()=>{if(!R.value||!m.value)return;const pe=window.scrollY||window.pageYOffset,le=window.innerHeight;document.documentElement.scrollHeight-(pe+le)<=300&&!O.value&&(q.value=!0,v.value++,x())},200);t.onMounted(()=>{x(),window.addEventListener("scroll",se),window.addEventListener("resize",se),xe(),window.addEventListener("resize",xe)}),t.onUnmounted(()=>{var le;window.removeEventListener("scroll",se),window.removeEventListener("resize",se),window.removeEventListener("resize",xe);const pe=(le=W.value)==null?void 0:le.getContainerEl();pe==null||pe.removeEventListener("scroll",z)});const oe=t.computed(()=>[{id:"confirm",loading:Ee.value,color:"primary",variant:"outline",round:"pill",size:"large",label:i("meeting.confirmBtn"),onClick:()=>{de()}},{id:"cancel",color:"primary",variant:"solid",round:"pill",size:"large",label:i("meeting.cancelBtn"),onClick:()=>{Te()}}]),ye=t.computed(()=>[{id:"confirm",loading:Ee.value,color:"primary",variant:"outline",round:"pill",size:"large",label:i("meeting.confirmBtn"),onClick:()=>{Je()}},{id:"cancel",color:"primary",variant:"solid",round:"pill",size:"large",label:i("meeting.cancelBtn"),onClick:()=>{Me()}}]);return(pe,le)=>(t.openBlock(),t.createElementBlock(t.Fragment,null,[t.createElementVNode("div",TC,[t.createElementVNode("div",AC,[t.unref(m)?(t.openBlock(),t.createElementBlock("div",EC,[t.createElementVNode("span",null,t.toDisplayString(c(P.value)),1),t.createElementVNode("span",null,[t.createVNode(t.unref(A.OIcon),{onClick:le[0]||(le[0]=be=>J("prev-month"))},{default:t.withCtx(()=>[t.createVNode(t.unref(A.OIconChevronLeft))]),_:1}),t.createVNode(t.unref(A.OIcon),{onClick:le[1]||(le[1]=be=>J("next-month"))},{default:t.withCtx(()=>[t.createVNode(t.unref(A.OIconChevronRight))]),_:1})])])):t.createCommentVNode("",!0),t.createElementVNode("div",xC,[t.createVNode(t.unref(tt.ElCalendar),{ref_key:"calendarRef",ref:U,modelValue:P.value,"onUpdate:modelValue":le[4]||(le[4]=be=>P.value=be)},{header:t.withCtx(()=>[t.createElementVNode("span",null,t.toDisplayString(c(P.value)),1),t.createElementVNode("div",null,[t.createVNode(t.unref(A.OIcon),{onClick:le[2]||(le[2]=be=>J("prev-month"))},{default:t.withCtx(()=>[t.createVNode(t.unref(A.OIconChevronLeft))]),_:1}),t.createVNode(t.unref(A.OIcon),{onClick:le[3]||(le[3]=be=>J("next-month"))},{default:t.withCtx(()=>[t.createVNode(t.unref(A.OIconChevronRight))]),_:1})])]),"date-cell":t.withCtx(({data:be})=>[t.createElementVNode("div",{onClick:He=>ee(He,te.value.includes(be.day)),class:t.normalizeClass({"date-cell":!0,"is-selected":be.isSelected,"is-today":t.unref(dt)(be.day)===t.unref(dt)(),clickable:te.value.includes(be.day),approved:I(be.day)}),style:t.normalizeStyle({"--dot-bg":`${t.unref(l)(t.unref(Fe).EVENTS,"color")}`})},[t.createElementVNode("div",_C,t.toDisplayString(Number(be.day.split("-")[2])),1)],14,kC)]),_:1},8,["modelValue"])]),t.createElementVNode("div",SC,[C.value.length?(t.openBlock(),t.createBlock(t.unref(A.OScroller),{key:0,ref_key:"scrollerRef",ref:W,onScrollend:t.unref(ce),style:t.normalizeStyle({"--header-height":Ae.value}),"show-type":"hover",class:"scroller-container"},{default:t.withCtx(()=>[t.createElementVNode("div",wC,[t.createVNode(t.unref(A.OCollapse),{modelValue:D.value,"onUpdate:modelValue":le[7]||(le[7]=be=>D.value=be),accordion:t.unref(m),onChange:V},{default:t.withCtx(()=>[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(Q.value,(be,He)=>(t.openBlock(),t.createElementBlock(t.Fragment,{key:be.start_date},[He===0?(t.openBlock(),t.createElementBlock("div",{key:0,class:"list-month-change prev-month",onClick:le[5]||(le[5]=Ve=>J("prev-month"))},[t.createVNode(t.unref(A.OIcon),null,{default:t.withCtx(()=>[t.createVNode(t.unref(A.OIconArrowLeft))]),_:1}),t.createElementVNode("span",null,t.toDisplayString(t.unref(i)("meeting.preMonth")),1)])):t.createCommentVNode("",!0),t.createElementVNode("div",{class:t.normalizeClass(["act-item",He===Q.value.length-1&&"last-item"])},[t.createElementVNode("div",{class:t.normalizeClass({"act-bar":!0,"is-active":t.unref(Se)(P.value).format("YYYY-MM-DD")===be.start_date,"is-end":be.list.every(Ve=>Ve.isExpired),approved:be.list.every(Ve=>Ve.status===3||Ve.status===4)})},[...le[10]||(le[10]=[t.createElementVNode("div",{class:"act-bar-line"},null,-1),t.createElementVNode("div",{class:"act-bar-dot"},null,-1)])],2),t.createElementVNode("div",{class:t.normalizeClass({"group-title":!0,"is-end":be.list.every(Ve=>Ve.isExpired)}),id:`group-title-${t.unref(Se)(new Date(be.start_date)).format("YYYY-MM-DD")}`},t.toDisplayString(t.unref(Se)(be.start_date).format("MM/DD")),11,DC),(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(be.list,(Ve,it)=>(t.openBlock(),t.createBlock(t.unref(A.OCollapseItem),{key:Ve.sub_id||Ve.id,value:Ve.sub_id||Ve.id,class:t.normalizeClass({"last-item":He===Q.value.length-1&&it===be.list.length-1,"is-delete":Ve.is_delete,"is-end":Ve.isExpired})},{title:t.withCtx(()=>{var ze,gt;return[t.createElementVNode("div",BC,[t.createElementVNode("div",{class:"act-icon",style:t.normalizeStyle({backgroundColor:`${Ve.is_delete?"var(--o-color-info4)":t.unref(l)(t.unref(Fe).EVENTS,"color")}`})},[t.createVNode(t.unref(A.OIcon),null,{default:t.withCtx(()=>[(t.openBlock(),t.createBlock(t.resolveDynamicComponent(t.unref(l)(t.unref(Fe).EVENTS,"icon"))))]),_:1})],4),t.createElementVNode("div",VC,[t.createElementVNode("div",IC,[t.createElementVNode("div",NC,t.toDisplayString(Ve.title),1),t.createVNode(t.unref(A.OTag),{color:"primary",variant:"outline",class:t.normalizeClass([`tag-${Ve.is_delete?"delete":(ze=t.unref(a).get(Ve.status))==null?void 0:ze.id}`])},{default:t.withCtx(()=>{var st;return[t.createTextVNode(t.toDisplayString(Ve.is_delete===1?t.unref(i)("meeting.statusCanceled"):(st=t.unref(a).get(Ve.status))==null?void 0:st.text),1)]}),_:2},1032,["class"])]),t.createElementVNode("div",OC,[t.createElementVNode("span",PC,t.toDisplayString(Ve.dateRange),1),t.createVNode(t.unref(A.ODivider),{direction:"v"}),t.createElementVNode("span",null,t.toDisplayString((gt=t.unref(o).get(Ve.activity_type))==null?void 0:gt.label),1)])])]),Ve.content_url&&!Ve.is_delete&&[3,4,5,6].includes(Ve.status)?(t.openBlock(),t.createElementBlock("div",MC,[Ve.content_url?(t.openBlock(),t.createBlock(t.unref(A.OLink),{key:0,"hover-underline":!1,href:Ve.content_url,target:"_blank",rel:"noopener noreferrer"},{suffix:t.withCtx(()=>[t.createVNode(t.unref(A.OIcon),null,{default:t.withCtx(()=>[t.createVNode(t.unref(A.OIconChevronRight))]),_:1})]),default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(t.unref(i)("meeting.activityDetail"))+" ",1)]),_:1},8,["href"])):t.createCommentVNode("",!0),Ve.register_url&&(Ve.status===3||Ve.status===4||Ve.status===2&&Ve.update_activity_id&&new Date(Ve.register_end_date).getTime()>new Date().getTime())?(t.openBlock(),t.createBlock(t.unref(A.OLink),{key:1,"hover-underline":!1,href:Ve.register_url,target:"_blank",rel:"noopener noreferrer"},{suffix:t.withCtx(()=>[t.createVNode(t.unref(A.OIcon),null,{default:t.withCtx(()=>[t.createVNode(t.unref(A.OIconChevronRight))]),_:1})]),default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(t.unref(i)("meeting.registerNow"))+" ",1)]),_:1},8,["href"])):t.createCommentVNode("",!0)])):t.createCommentVNode("",!0),t.createVNode(t.unref(A.OIcon),{onClick:t.withModifiers(()=>ve(it),["stop"]),class:"copy-icon"},{default:t.withCtx(()=>[t.createVNode(t.unref(Ml))]),_:1},8,["onClick"])]}),default:t.withCtx(()=>[t.createElementVNode("div",LC,[t.createVNode(is,{show:D.value.includes(Ve.id),data:Ve,ref_for:!0,ref:ze=>ne(ze,Ve.id)},null,8,["show","data"]),!Ve.isExpired&&!Ve.is_delete?(t.openBlock(),t.createElementBlock("div",RC,[Ve.status===2?(t.openBlock(),t.createBlock(t.unref(A.OButton),{key:0,variant:"text",onClick:ze=>Re(Ve)},{default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(t.unref(i)("meeting.withdrawReview")),1)]),_:1},8,["onClick"])):t.createCommentVNode("",!0),Ve.status===1||Ve.status===3||Ve.status===4||Ve.status===7?(t.openBlock(),t.createBlock(t.unref(A.OButton),{key:1,variant:"text",onClick:ze=>De(Ve)},{default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(t.unref(i)("meeting.modifyActivity")),1)]),_:1},8,["onClick"])):t.createCommentVNode("",!0),Ve.status===1||Ve.status===7?(t.openBlock(),t.createBlock(t.unref(A.OButton),{key:2,variant:"text",onClick:ze=>ct(Ve)},{default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(t.unref(i)("meeting.deleteActivity")),1)]),_:1},8,["onClick"])):t.createCommentVNode("",!0),Ve.status===1||Ve.status===7?(t.openBlock(),t.createBlock(t.unref(A.OButton),{key:3,variant:"text",onClick:ze=>We(Ve)},{default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(t.unref(i)("meeting.submitReview")),1)]),_:1},8,["onClick"])):t.createCommentVNode("",!0)])):t.createCommentVNode("",!0)])]),_:2},1032,["value","class"]))),128)),le[11]||(le[11]=t.createElementVNode("div",{class:"height-placeholder"},null,-1))],2),He===Q.value.length-1?(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[q.value?(t.openBlock(),t.createElementBlock("div",qC,t.toDisplayString(t.unref(i)("meeting.loading")),1)):t.createCommentVNode("",!0),t.createElementVNode("div",{class:"list-month-change next-month",onClick:le[6]||(le[6]=Ve=>J("next-month"))},[t.createVNode(t.unref(A.OIcon),null,{default:t.withCtx(()=>[t.createVNode(t.unref(A.OIconArrowRight))]),_:1}),t.createElementVNode("span",null,t.toDisplayString(t.unref(i)("meeting.nextMonth")),1)])],64)):t.createCommentVNode("",!0)],64))),128))]),_:1},8,["modelValue","accordion"])])]),_:1},8,["onScrollend","style"])):t.renderSlot(pe.$slots,"empty",{key:1})])])]),t.createVNode(t.unref(A.ODialog),{visible:ke.value,"onUpdate:visible":le[8]||(le[8]=be=>ke.value=be),"main-class":"handle-dialog-active",actions:oe.value},{header:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(t.unref(i)("meeting.withdrawReview")),1)]),default:t.withCtx(()=>{var be;return[t.createElementVNode("div",FC,t.toDisplayString(t.unref(i)("meeting.confirmRevokeActivity",[(be=fe.value)==null?void 0:be.title])),1)]}),_:1},8,["visible","actions"]),t.createVNode(t.unref(A.ODialog),{visible:qe.value,"onUpdate:visible":le[9]||(le[9]=be=>qe.value=be),"main-class":"handle-dialog-active",actions:ye.value},{header:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(t.unref(i)("meeting.deleteActivity")),1)]),default:t.withCtx(()=>{var be;return[t.createElementVNode("div",UC,t.toDisplayString(t.unref(i)("meeting.confirmDeleteActivity",[(be=fe.value)==null?void 0:be.title])),1)]}),_:1},8,["visible","actions"])],64))}}),HC=Object.assign(lc,{install(r){r.component("OActivityForm",lc)}}),jC=Object.assign(n0,{install(r){r.component("OActivityApproval",n0)}}),kp=Object.assign(zC,{install(r){r.component("OActivityMyCalendar",kp)}}),XC=t.defineComponent({__name:"ContentWrapper",props:{verticalPadding:{type:[Boolean,String,Array],default:void 0}},setup(r){const e=Symbol("default"),i=r,n=t.computed(()=>i.verticalPadding?A.isBoolean(i.verticalPadding)?e:A.isString(i.verticalPadding)?i.verticalPadding:i.verticalPadding[0]:0),s=t.computed(()=>i.verticalPadding?A.isBoolean(i.verticalPadding)?e:A.isString(i.verticalPadding)?i.verticalPadding:A.isUndefined(i.verticalPadding[1])?i.verticalPadding[0]:i.verticalPadding[1]:0);return(a,o)=>(t.openBlock(),t.createElementBlock("div",{class:"content-wrapper",style:t.normalizeStyle({"--content-wrapper-vertical-paddingTop":n.value===t.unref(e)?void 0:n.value,"--content-wrapper-vertical-paddingBottom":s.value===t.unref(e)?void 0:s.value})},[t.renderSlot(a.$slots,"default",{},void 0,!0)],4))}}),Ln=Ue._export_sfc(XC,[["__scopeId","data-v-9e217f8f"]]),GC={class:"banner-content"},QC=["src"],YC={key:4,class:"banner-opts"},KC=t.defineComponent({__name:"OBannerContent",props:{info:{},size:{},contentJustifyCenter:{type:Boolean},isPhone:{type:Boolean},isLight:{type:Boolean}},emits:["click"],setup(r,{emit:e}){const i=e,n=(s,a)=>{s&&!a&&(window.open(s),i("click",s))};return(s,a)=>(t.openBlock(),t.createBlock(t.unref(A.OFigure),{class:t.normalizeClass(["banner-bg",{"with-sticky-bg":r.info.withStickyBg,"cursor-pointer":r.info.href&&!r.info.btn}]),src:r.info.bg,style:t.normalizeStyle({"--pad-offset":r.info.pad_offset}),onClick:a[0]||(a[0]=o=>n(r.info.href,r.info.btn))},{default:t.withCtx(()=>[t.createVNode(Ln,{class:t.normalizeClass(["banner-wrapper",["banner-wrapper",r.contentJustifyCenter?"content-center":""]])},{default:t.withCtx(()=>[t.createElementVNode("div",GC,[!r.isPhone&&r.info.attach?(t.openBlock(),t.createElementBlock("img",{key:0,src:r.info.attach,class:"banner-attach"},null,8,QC)):t.createCommentVNode("",!0),r.info.title?(t.openBlock(),t.createElementBlock("div",{key:1,class:t.normalizeClass({"banner-title":!0,"text-dark":r.info.text_theme==="dark"})},t.toDisplayString(r.info.title),3)):t.createCommentVNode("",!0),r.info.subtitle?(t.openBlock(),t.createElementBlock("div",{key:2,class:t.normalizeClass({"banner-subtitle":!0,"text-dark":r.info.text_theme==="dark"})},t.toDisplayString(r.info.subtitle),3)):t.createCommentVNode("",!0),r.info.bg_text?(t.openBlock(),t.createElementBlock("div",{key:3,class:"banner-text",style:t.normalizeStyle({backgroundImage:`url(${r.info.bg_text})`,"--pc-width":r.info.pc_text_width,"--pc-height":r.info.pc_text_height,"--pad-width":r.info.pad_text_width,"--pad-height":r.info.pad_text_height})},null,4)):t.createCommentVNode("",!0),r.info.btn?(t.openBlock(),t.createElementBlock("div",YC,[t.createVNode(t.unref(A.OButton),{href:r.info.href,target:"_blank",variant:"solid",color:"primary",size:r.size==="tiny"?void 0:r.size},{default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(r.info.btn),1)]),_:1},8,["href","size"])])):t.createCommentVNode("",!0)])]),_:1},8,["class"])]),_:1},8,["src","class","style"]))}}),_a=Ue._export_sfc(KC,[["__scopeId","data-v-1904d05a"]]),vs=()=>{const r=t.inject(Ue.configProviderInjectKey);return{theme:r==null?void 0:r.theme,isLight:t.computed(()=>(r==null?void 0:r.theme)==="light"),isDark:t.computed(()=>(r==null?void 0:r.theme)==="dark")}},WC={key:0,class:"content-height"},JC={key:0},ZC={key:1,class:"content-height"},$C={key:2,class:"content-height"},eT=t.defineComponent({__name:"OBanner",props:{options:{},size:{},contentJustifyCenter:{type:Boolean},autoPlay:{type:Boolean}},emits:["click"],setup(r,{emit:e}){const i=r,n=e,{isLight:s}=vs(),{isPhone:a}=Et.useScreen(),o=t.computed(()=>{if(i.options)return Array.isArray(i.options)?i.options.length===1?i.options[0]:void 0:i.options}),l=t.computed(()=>{if(!(!Array.isArray(i.options)||i.options.length<=1))return i.options});return(c,d)=>(t.openBlock(),t.createElementBlock("div",{class:t.normalizeClass(["home-banner",r.size])},[o.value?(t.openBlock(),t.createElementBlock("div",WC,[r.size==="tiny"?(t.openBlock(),t.createElementBlock("div",JC,t.toDisplayString(o.value.title),1)):t.unref(a)?(t.openBlock(),t.createBlock(Ln,{key:2,class:"banner-wrapper"},{default:t.withCtx(()=>[t.createVNode(t.unref(A.OFigure),{class:"banner-bg",src:o.value.bg,fit:"cover"},null,8,["src"])]),_:1})):(t.openBlock(),t.createBlock(_a,{key:1,info:o.value,size:r.size,"content-justify-center":r.contentJustifyCenter,"is-phone":t.unref(a),"is-light":t.unref(s),onClick:d[0]||(d[0]=m=>n("click",m))},null,8,["info","size","content-justify-center","is-phone","is-light"]))])):l.value?(t.openBlock(),t.createElementBlock("div",ZC,[t.unref(a)?(t.openBlock(),t.createBlock(t.unref(A.OCarousel),{key:1,class:"banner-carousel",effect:"gallery","indicator-click":"",arrow:"never","auto-play":r.autoPlay},{default:t.withCtx(()=>[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(l.value,(m,g)=>(t.openBlock(),t.createBlock(t.unref(A.OCarouselItem),{key:g,class:t.normalizeClass(["banner-item",`banner-item${g}`])},{default:t.withCtx(()=>[t.createVNode(Ln,{class:"banner-wrapper"},{default:t.withCtx(()=>[t.createVNode(t.unref(A.OFigure),{class:"banner-bg",src:m.bg,onClick:E=>n("click",m.href)},null,8,["src","onClick"])]),_:2},1024)]),_:2},1032,["class"]))),128))]),_:1},8,["auto-play"])):(t.openBlock(),t.createBlock(t.unref(A.OCarousel),{key:0,class:"banner-carousel",effect:"toggle","active-class":"current-slide","indicator-click":"","auto-play":r.autoPlay},{default:t.withCtx(()=>[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(l.value,(m,g)=>(t.openBlock(),t.createBlock(t.unref(A.OCarouselItem),{key:g,class:t.normalizeClass(["banner-item",`banner-item${g}`])},{default:t.withCtx(()=>[t.createVNode(_a,{info:m,size:r.size,"content-justify-center":r.contentJustifyCenter,"is-phone":t.unref(a),"is-light":t.unref(s),onClick:d[1]||(d[1]=E=>n("click",E))},null,8,["info","size","content-justify-center","is-phone","is-light"])]),_:2},1032,["class"]))),128))]),_:1},8,["auto-play"]))])):(t.openBlock(),t.createElementBlock("div",$C,[...d[2]||(d[2]=[t.createElementVNode("p",null,"No data.",-1)])]))],2))}}),r0=Ue._export_sfc(eT,[["__scopeId","data-v-8cfcc7ff"]]),tT=Object.assign(r0,{install(r){r.component("OBanner",r0)}}),iT=Object.assign(_a,{install(r){r.component("OBannerContent",_a)}}),nT={locale:"zh-CN","common.more":"更多","common.empty":"暂无数据","common.loading":"加载中...","common.checkAll":"全选","common.filter":"筛选","common.confirm":"确认","common.reset":"重置","common.search":"搜索","pagination.goto":"前往","pagination.page":"页","pagination.countPerPage":"条/页","pagination.total":"共 {0} 条","upload.buttonLabel":"点击上传","upload.drag":"点击或拖拽文件到此处上传","upload.dragHover":"释放文件并开始上传","upload.retry":"点击重试","upload.delete":"删除","upload.preview":"预览","upload.edit":"编辑","upload.loading":"上传中","upload.failed":"上传失败","upload.download":"下载文件","select.cancel":"取消","select.confirm":"确定","input.limit":"<b>{0}</b>/{1}","table.filterEmptyOption":"空","table.filterPlaceholder":"请输入搜索内容","timePicker.time":"时间","timePicker.selectTime":"选择时间","timePicker.placeholder":"请选择时间","timePicker.now":"此刻","timePicker.startTime":"开始时间","timePicker.endTime":"结束时间","datePicker.date":"日期","datePicker.time":"时间","datePicker.selectDate":"选择日期","datePicker.selectTime":"选择时间","datePicker.placeholder":"请选择日期","datePicker.yearPlaceholder":"请选择年份","datePicker.monthPlaceholder":"请选择月份","datePicker.today":"今天","datePicker.year":"年","datePicker.yearUnit":"年","datePicker.monthUnit":"月","datePicker.dayUnit":"日","datePicker.weekdays.0":"日","datePicker.weekdays.1":"一","datePicker.weekdays.2":"二","datePicker.weekdays.3":"三","datePicker.weekdays.4":"四","datePicker.weekdays.5":"五","datePicker.weekdays.6":"六","datePicker.months.0":"一月","datePicker.months.1":"二月","datePicker.months.2":"三月","datePicker.months.3":"四月","datePicker.months.4":"五月","datePicker.months.5":"六月","datePicker.months.6":"七月","datePicker.months.7":"八月","datePicker.months.8":"九月","datePicker.months.9":"十月","datePicker.months.10":"十一月","datePicker.months.11":"十二月","datePicker.monthsShort.0":"01月","datePicker.monthsShort.1":"02月","datePicker.monthsShort.2":"03月","datePicker.monthsShort.3":"04月","datePicker.monthsShort.4":"05月","datePicker.monthsShort.5":"06月","datePicker.monthsShort.6":"07月","datePicker.monthsShort.7":"08月","datePicker.monthsShort.8":"09月","datePicker.monthsShort.9":"10月","datePicker.monthsShort.10":"11月","datePicker.monthsShort.11":"12月","dateRangePicker.placeholderStart":"开始日期","dateRangePicker.placeholderEnd":"结束日期","dateRangePicker.selectRange":"选择日期范围"},rT={locale:"en-US","common.more":"more","common.empty":"No Data","common.loading":"Loading...","common.checkAll":"Check All","common.filter":"Filter","common.confirm":"Confirm","common.reset":"Reset","common.search":"Search","pagination.goto":"Go to","pagination.page":"Page","pagination.countPerPage":"/page","pagination.total":"Total: {0}","upload.buttonLabel":"Upload","upload.drag":"Click or drag file to this area to upload","upload.dragHover":"Release to upload","upload.retry":"Click to retry","upload.delete":"Delete","upload.preview":"Preview","upload.edit":"Edit","upload.loading":"Uploading","upload.failed":"Upload failed","upload.download":"Download the file","select.cancel":"Cancel","select.confirm":"Ok","input.limit":"<b>{0}</b>/{1}","table.filterEmptyOption":"empty","table.filterPlaceholder":"Enter keywords","timePicker.time":"time","timePicker.selectTime":"Select time","timePicker.placeholder":"Select time","timePicker.now":"Now","timePicker.startTime":"Start Time","timePicker.endTime":"End Time","datePicker.date":"Date","datePicker.time":"Time","datePicker.selectDate":"Select date","datePicker.selectTime":"Select Time","datePicker.placeholder":"Select date","datePicker.yearPlaceholder":"Select year","datePicker.monthPlaceholder":"Select month","datePicker.today":"Today","datePicker.year":"","datePicker.yearUnit":"","datePicker.monthUnit":"","datePicker.dayUnit":"","datePicker.weekdays.0":"Su","datePicker.weekdays.1":"Mo","datePicker.weekdays.2":"Tu","datePicker.weekdays.3":"We","datePicker.weekdays.4":"Th","datePicker.weekdays.5":"Fr","datePicker.weekdays.6":"Sa","datePicker.months.0":"January","datePicker.months.1":"February","datePicker.months.2":"March","datePicker.months.3":"April","datePicker.months.4":"May","datePicker.months.5":"June","datePicker.months.6":"July","datePicker.months.7":"August","datePicker.months.8":"September","datePicker.months.9":"October","datePicker.months.10":"November","datePicker.months.11":"December","datePicker.monthsShort.0":"Jan","datePicker.monthsShort.1":"Feb","datePicker.monthsShort.2":"Mar","datePicker.monthsShort.3":"Apr","datePicker.monthsShort.4":"May","datePicker.monthsShort.5":"Jun","datePicker.monthsShort.6":"Jul","datePicker.monthsShort.7":"Aug","datePicker.monthsShort.8":"Sep","datePicker.monthsShort.9":"Oct","datePicker.monthsShort.10":"Nov","datePicker.monthsShort.11":"Dec","dateRangePicker.placeholderStart":"Start date","dateRangePicker.placeholderEnd":"End date","dateRangePicker.selectRange":"Select date range"},s0=t.defineComponent({__name:"OPlusConfigProvider",props:{locale:{default:"zh"},theme:{default:"light"}},setup(r){const e=r,i=t.reactive({locale:t.computed(()=>e.locale),theme:t.computed(()=>e.theme)});return t.provide(Ue.configProviderInjectKey,i),(n,s)=>(t.openBlock(),t.createBlock(t.unref(A.OConfigProvider),{locale:r.locale==="zh"?t.unref(nT):t.unref(rT)},{default:t.withCtx(()=>[t.renderSlot(n.$slots,"default")]),_:3},8,["locale"]))}}),sT=Object.assign(s0,{install(r){r.component("OPlusConfigProvider",s0)}}),aT={class:"cookie-notice-content"},oT=["type"],lT={class:"cookie-title"},uT={style:{transform:"rotate(180deg)"},xmlns:"http://www.w3.org/2000/svg",version:"1.1",width:"24",height:"24",viewBox:"0 0 24 24"},cT={class:"cookie-zh-title",style:{"margin-top":"0"}},dT=["href"],hT={key:1,class:"cookie-en-title"},fT={key:0,class:"cookie-en-content"},pT={class:"cookie-en-desc"},mT=["href"],gT={class:"cookie-notice-right"},vT={class:"cookie-dlg-title"},yT={class:"cookie-dlg-content"},bT={class:"content-item"},CT={class:"item-header"},TT={class:"item-title"},AT={class:"item-extra"},ET={class:"item-detail"},xT={class:"content-item"},kT={class:"item-header"},_T={class:"item-title"},ST={class:"item-extra"},wT={class:"item-detail"},DT="0",a0="1",BT="2",Ks="3",VT="agreed-cookiepolicy-zh",IT="agreed-cookiepolicy-en",NT=t.defineComponent({__name:"OCookieNotice",props:{visible:{type:Boolean},community:{},detailUrl:{},wrapper:{},cookieDomain:{}},emits:["update:visible"],setup(r,{expose:e,emit:i}){const n=r,s=i,{lePadV:a,leLaptop:o,isPhone:l}=Et.useScreen(),{locale:c,t:d}=Ue.useI18n(),m=t.computed(()=>c.value==="zh"),g=t.ref(),E=t.computed(()=>g.value?!!getComputedStyle(g.value).getPropertyValue("--grid-content-width"):!1),C=t.computed(()=>m.value?VT:IT),w=t.ref(!1),v=wt.useVModel(n,"visible",s,{defaultValue:!1}),b=z=>{const M=document.cookie.split(";").find(U=>U.split("=")[0].trim()===encodeURIComponent(z));return M?decodeURIComponent(M.split("=")[1]):null},k=(z,M,U,P)=>{const te=`; max-age=${U*24*60*60}`;document.cookie=`${encodeURIComponent(z)}=${encodeURIComponent(M)}${te}; path=/; domain=${P}`},S=(z,M)=>{document.cookie=`${encodeURIComponent(z)}=; expires=Thu, 01 Jan 1970 00:00:00 GMT; path=/; domain=${M}`},D=z=>{typeof z=="boolean"?v.value=z:v.value=!v.value,t.nextTick(()=>{!v.value&&m.value&&b(C.value)!==Ks&&k(C.value,Ks,180,n.cookieDomain??location.hostname)})},O=t.ref(!1),q=z=>{typeof z=="boolean"?O.value=z:O.value=!O.value},R=()=>m.value?b(C.value)!==Ks:(b(C.value)??"0")===DT,x=()=>m.value?b(C.value)===Ks:b(C.value)===a0;t.onMounted(()=>{R()&&D(!0)}),t.watch(c,()=>{D(R())});const L=()=>{w.value=!0,S(C.value,n.cookieDomain??location.hostname),k(C.value,a0,180,n.cookieDomain??location.hostname),D(!1)},_=()=>{w.value=!1,S(C.value,n.cookieDomain??location.hostname),k(C.value,BT,180,n.cookieDomain??location.hostname),D(!1)},V=t.computed(()=>l.value?[{id:"save",label:d("cookie.saveSetting"),variant:"text",onClick:()=>{w.value?L():_(),q(!1)}},{id:"allowAll",label:d("cookie.acceptAll"),variant:"text",onClick:()=>{w.value=!0,L(),q(!1)}}]:[{id:"save",color:"primary",label:d("cookie.saveSetting"),variant:"outline",size:"medium",round:"pill",onClick:()=>{w.value?L():_(),q(!1)}},{id:"allowAll",color:"primary",label:d("cookie.acceptAll"),variant:"outline",size:"medium",round:"pill",onClick:()=>{w.value=!0,L(),q(!1)}}]),I=z=>{z&&(w.value=x())};return e({check(){x()===v.value&&D()}}),(z,M)=>(t.openBlock(),t.createBlock(Ue._sfc_main,null,{default:t.withCtx(()=>[(t.openBlock(),t.createBlock(t.Teleport,{to:r.wrapper||"#app"},[t.unref(v)?(t.openBlock(),t.createElementBlock("div",{key:0,ref_key:"cookieNoticeRef",ref:g,class:"cookie-notice"},[t.createElementVNode("div",aT,[t.createElementVNode("div",{type:t.unref(c),class:t.normalizeClass({"cookie-notice-wrap-grid":E.value,"cookie-notice-wrap":!E.value})},[t.createElementVNode("div",lT,[m.value?(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[t.createVNode(t.unref(A.OIcon),{style:{display:"inline-block","font-size":"24px","margin-right":"4px"}},{default:t.withCtx(()=>[(t.openBlock(),t.createElementBlock("svg",uT,[...M[4]||(M[4]=[t.createElementVNode("path",{fill:"var(--o-color-primary1)",d:"M21 12c0 4.971-4.029 9-9 9s-9-4.029-9-9c0-4.971 4.029-9 9-9s9 4.029 9 9z"},null,-1),t.createElementVNode("path",{fill:"#fff",d:"M12 9.4c0.552 0 1-0.448 1-1s-0.448-1-1-1c-0.552 0-1 0.448-1 1s0.448 1 1 1zM12.492 10.943c-0.042-0.233-0.246-0.41-0.492-0.41-0.276 0-0.5 0.224-0.5 0.5v5.5l0.008 0.090c0.042 0.233 0.246 0.41 0.492 0.41 0.276 0 0.5-0.224 0.5-0.5v-5.5l-0.008-0.090z"},null,-1)])]))]),_:1}),t.createElementVNode("p",cT,[t.createTextVNode(t.toDisplayString(t.unref(d)("cookie.desc"))+" ",1),t.createElementVNode("a",{href:r.detailUrl,target:"_blank",rel:"noopener noreferrer"},t.toDisplayString(t.unref(d)("cookie.about")),9,dT)])],64)):(t.openBlock(),t.createElementBlock("p",hT,t.toDisplayString(t.unref(d)("cookie.title",[r.community])),1)),t.createVNode(t.unref(A.OIcon),{class:"cookie-notice-close",onClick:M[0]||(M[0]=U=>D(!1))},{default:t.withCtx(()=>[t.createVNode(t.unref(A.OIconClose))]),_:1})]),m.value?t.createCommentVNode("",!0):(t.openBlock(),t.createElementBlock("div",fT,[t.createElementVNode("p",pT,[t.createTextVNode(t.toDisplayString(t.unref(d)("cookie.desc"))+" ",1),t.createElementVNode("a",{href:r.detailUrl,target:"_blank",rel:"noopener noreferrer"},t.toDisplayString(t.unref(d)("cookie.about")),9,mT),M[5]||(M[5]=t.createTextVNode(". ",-1))]),t.createElementVNode("div",gT,[t.createVNode(t.unref(A.OButton),{round:"pill",variant:"outline",color:"primary",onClick:L},{default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(t.unref(d)("cookie.acceptAll")),1)]),_:1}),t.createVNode(t.unref(A.OButton),{round:"pill",variant:"outline",color:"primary",onClick:_},{default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(t.unref(d)("cookie.rejectAll")),1)]),_:1}),t.createVNode(t.unref(A.OButton),{round:"pill",variant:"outline",color:"primary",onClick:M[1]||(M[1]=U=>q(!0))},{default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(t.unref(d)("cookie.manage")),1)]),_:1})])]))],10,oT)]),t.createVNode(t.unref(A.ODialog),{visible:O.value,"onUpdate:visible":M[3]||(M[3]=U=>O.value=U),size:t.unref(o)?"medium":"large","phone-half-full":t.unref(a),"main-class":E.value?"o-cookie-notice-dlg-main":"",class:"cookie-dlg",actions:V.value,onChange:I,style:{"--dlg-radius":"4px"}},{header:t.withCtx(()=>[t.createElementVNode("span",vT,t.toDisplayString(t.unref(d)("cookie.manage")),1)]),default:t.withCtx(()=>[t.createElementVNode("div",yT,[t.createElementVNode("div",bT,[t.createElementVNode("div",CT,[t.createElementVNode("span",TT,t.toDisplayString(t.unref(d)("cookie.necessaryCookie")),1),t.createElementVNode("span",AT,t.toDisplayString(t.unref(d)("cookie.alwaysOn")),1)]),t.createElementVNode("div",ET,t.toDisplayString(t.unref(d)("cookie.necessaryCookieDetail")),1)]),t.createElementVNode("div",xT,[t.createElementVNode("div",kT,[t.createElementVNode("span",_T,t.toDisplayString(t.unref(d)("cookie.analyticalCookie")),1),t.createElementVNode("span",ST,[t.createVNode(t.unref(A.OSwitch),{modelValue:w.value,"onUpdate:modelValue":M[2]||(M[2]=U=>w.value=U)},null,8,["modelValue"])])]),t.createElementVNode("div",wT,t.toDisplayString(t.unref(d)("cookie.analyticalCookieDetail")),1)])])]),_:1},8,["visible","size","phone-half-full","main-class","actions"])],512)):t.createCommentVNode("",!0)],8,["to"]))]),_:1}))}}),o0=Ue._export_sfc(NT,[["__scopeId","data-v-f4e92a4b"]]),OT=Object.assign(o0,{install(r){r.component("OCookieNotice",o0)}}),PT="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAYAAAAHQCAYAAACoSb1IAAAAAXNSR0IArs4c6QAAIABJREFUeF7sXQd4VMXafmfO2c2mElLooSO9NykW1Kuiol4VsJdfQRGsYLtYYkEQpFdRmqgEUFRAERt2UUFFBAKhlwBJILQkmy1n/uc72dUQUrac3ewm8z1PLt7knCnvzJl35puvMISfKADMAOhfk+u/ewLgAFIANALgLKNb9MwRALsB5AHYAEAAsAFwALAD0MIPEtliiYBEQCLgPQLM+1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RliBgE4AlMNpCOjsCchdQXLx9KBj/CxElHHoMJF/6QojtTg1jMzMzt3V2vOzxRwcCNgFExzzYWnQABEpKSty1fvGswnDJUWoF7HCo6plZWT0+7QDDtYfQARCwCaADTKI9hOhAQAaGFX+782QG/vZR3EF3qIyN79UrY2N0aGxr0dkRsAmgs68Ae/yWIvDZZ1vTYuKdLzCw8QdGBhMBnGMvU9gNeb0yZJpru9kIHHcEbAI47lNgK9CREFizZo3Sf8iQkYKrb6mMPA07AUkAQmAfQLPzc73LO9KY7bG0XwRsAmi/c2drHqUIrN+8OTXJEXOP0+m6uq6uNqRlmAAqieiOvBzvk1Gquq1WJ0PAJoBONuH2cCOPgNwFDBs1ZriuB1erxLxBIwhASBrwCyGWFuRl3Rx5LewebAQaR8AmgMYxsq+wEWg2Ams2bXL0c8VdqilsmeBC49ysJwDgmYLczOubLdC+wUYgAgjYBBABUG2RNgISgeLiXV0Egs8qKjur3hYgdNOk3xXme+2EcPYSiQoEbAKIimmwleiICMiI4G++2dmTC74UjE/UVM0M6sF/5edljumI47XH1P4QsAmg/c2ZrXH7QoB2767uUlm35zImaALn/B8Fednz2tcQbG07KgL/D5aAIvoYlW57AAAAAElFTkSuQmCC",LT=["src"],RT=t.defineComponent({__name:"OEmpty",props:{description:{default:""},img:{default:void 0}},setup(r){const e=r,{isDark:i}=vs(),{t:n}=Ue.useI18n(),s=t.computed(()=>e.img||(i.value?MT:PT));return(a,o)=>(t.openBlock(),t.createBlock(t.unref(A.OResult),{class:"o-empty",description:e.description||t.unref(n)("common.empty")},{image:t.withCtx(()=>[t.renderSlot(a.$slots,"image",{},()=>[t.createElementVNode("img",{class:"empty-image",alt:"empty",src:s.value},null,8,LT)],!0)]),_:3},8,["description"]))}}),Bl=Ue._export_sfc(RT,[["__scopeId","data-v-b1d492a5"]]),qT=Object.assign(Bl,{install(r){r.component("OEmpty",Bl)}}),FT={viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",width:"24.000000",height:"24.000000",fill:"none",customFrame:"#000000"};function UT(r,e){return t.openBlock(),t.createElementBlock("svg",FT,[...e[0]||(e[0]=[t.createElementVNode("rect",{id:"峰会",width:"24.000000",height:"24.000000",x:"0.000000",y:"0.000000"},null,-1),t.createElementVNode("path",{id:"矢量 425",d:"M8.36719 4.75439L8.36523 4.75537L8.36523 4.75537C7.63184 5.05518 6.93555 5.44629 6.27734 5.9292C6.00098 6.13184 5.94238 6.5083 6.14551 6.78516C6.34766 7.06201 6.72461 7.11963 7.00098 6.91699C7.61035 6.47119 8.25391 6.11475 8.93262 5.84766C9.05371 5.7998 9.17676 5.75488 9.30078 5.71289C9.73242 5.56641 10.1699 5.45752 10.6143 5.38672C10.6191 5.38574 10.624 5.38525 10.6289 5.38428L10.6289 5.38428C11.0439 5.31836 11.4639 5.28564 11.8896 5.28564C12.3193 5.28564 12.7451 5.31934 13.1641 5.38672L13.165 5.38672C13.6084 5.45752 14.0459 5.56641 14.4775 5.71289C14.6016 5.75488 14.7246 5.7998 14.8457 5.84766C15.5254 6.11475 16.1689 6.47119 16.7773 6.91699C17.0537 7.11963 17.4307 7.06201 17.6328 6.78516C17.8359 6.5083 17.7783 6.13184 17.501 5.9292C16.8418 5.4458 16.1455 5.0542 15.4111 4.75439C15.2334 4.68213 15.0537 4.61475 14.8711 4.55273C14.376 4.38477 13.873 4.25977 13.3643 4.17773C12.8789 4.09961 12.3877 4.06055 11.8896 4.06055C11.3916 4.06055 10.8994 4.09961 10.4141 4.17773L10.4141 4.17773C9.90527 4.25977 9.40332 4.38477 8.90723 4.55273C8.72559 4.61475 8.54492 4.68213 8.36719 4.75439L8.36719 4.75439ZM20.377 14.2979L20.377 13.4229C20.377 13.0801 20.1074 12.8105 19.7646 12.8105C19.4219 12.8105 19.1523 13.0801 19.1523 13.4229L19.1523 14.2979C19.1523 14.334 19.1455 14.3677 19.1328 14.3984L19.1328 14.3989C19.1074 14.4243 19.0215 14.5283 18.9902 14.5415C18.96 14.5542 18.9258 14.5605 18.8896 14.5605L4.88965 14.5605C4.85352 14.5605 4.82031 14.5542 4.78906 14.5415C4.76367 14.5156 4.65918 14.4297 4.64648 14.3989C4.63379 14.3677 4.62695 14.3345 4.62695 14.2979L4.62695 9.04785C4.62695 9.01172 4.63379 8.97803 4.64648 8.94727C4.67188 8.92188 4.75781 8.81738 4.78906 8.80469L4.78906 8.80469C4.82031 8.79199 4.85352 8.78564 4.88965 8.78564L18.8896 8.78564C18.9258 8.78564 18.96 8.79199 18.9902 8.80469C19.0166 8.83057 19.1201 8.9165 19.1328 8.94727C19.1455 8.97803 19.1523 9.01172 19.1523 9.04785L19.1523 11.6729C19.1523 12.0161 19.4219 12.2856 19.7646 12.2856C20.1074 12.2856 20.377 12.0161 20.377 11.6729L20.377 9.04785C20.377 8.94141 20.3662 8.83691 20.3447 8.73535L20.3447 8.73438L20.3447 8.73389C20.3252 8.64355 20.2969 8.55518 20.2598 8.46875C20.2236 8.3833 20.1807 8.30225 20.1299 8.22559C20.0752 8.14355 20.0127 8.06738 19.9414 7.99609C19.8701 7.92529 19.7939 7.8623 19.7119 7.80811C19.6357 7.75732 19.5547 7.71387 19.4688 7.67773C19.3828 7.64111 19.2939 7.61328 19.2041 7.59375C19.1016 7.57178 18.9971 7.56055 18.8896 7.56055L4.88965 7.56055C4.78418 7.56055 4.68066 7.57129 4.5791 7.59277L4.5791 7.59277C4.57812 7.59326 4.57715 7.59326 4.57617 7.59375L4.5752 7.59375C4.48535 7.61328 4.39746 7.64111 4.31055 7.67773C4.22461 7.71387 4.14355 7.75732 4.06738 7.80811C3.98535 7.8623 3.90918 7.92529 3.83789 7.99609C3.7666 8.06738 3.7041 8.14355 3.64941 8.22559C3.64941 8.22656 3.64844 8.22705 3.64844 8.22803C3.59863 8.30371 3.55566 8.38379 3.51953 8.46875C3.48242 8.55518 3.45508 8.64355 3.43555 8.73389C3.41309 8.83643 3.40234 8.94092 3.40234 9.04785L3.40234 14.2979C3.40234 14.4053 3.41309 14.5098 3.43555 14.6123C3.45508 14.7021 3.48242 14.7905 3.51953 14.8774C3.55566 14.9629 3.59961 15.0439 3.64941 15.1201C3.7041 15.2021 3.7666 15.2788 3.83789 15.3501C3.90918 15.4209 3.98535 15.4834 4.06738 15.5381C4.14355 15.5889 4.22461 15.6323 4.31055 15.6685C4.39746 15.7051 4.48535 15.7329 4.5752 15.7524C4.67773 15.7744 4.78223 15.7856 4.88965 15.7856L18.8896 15.7856C18.9971 15.7856 19.1016 15.7744 19.2041 15.7524C19.2939 15.7329 19.3828 15.7051 19.4688 15.6685C19.5547 15.6318 19.6357 15.5889 19.7119 15.5381C19.7939 15.4834 19.8701 15.4209 19.9414 15.3501C20.0127 15.2788 20.0752 15.2021 20.1299 15.1201C20.1807 15.0439 20.2236 14.9629 20.2598 14.8774C20.2969 14.7905 20.3252 14.7021 20.3447 14.6123C20.3662 14.5098 20.377 14.4053 20.377 14.2979ZM14.8291 16.3438L14.8291 16.3438C14.9189 16.3633 15.0078 16.3911 15.0938 16.4277C15.1797 16.4639 15.2607 16.5073 15.3369 16.5581C15.4189 16.6123 15.4951 16.6753 15.5664 16.7461C15.6377 16.8174 15.7002 16.8936 15.7549 16.9756C15.8057 17.0522 15.8486 17.1328 15.8848 17.2188C15.9219 17.3052 15.9502 17.3936 15.9697 17.4839C15.9912 17.5864 16.002 17.6909 16.002 17.7979C16.002 17.9053 15.9912 18.0098 15.9697 18.1123C15.9502 18.2021 15.9219 18.2905 15.8848 18.3774C15.8486 18.4629 15.8057 18.5439 15.7549 18.6201C15.7002 18.7021 15.6377 18.7788 15.5664 18.8501C15.4951 18.9209 15.4189 18.9834 15.3369 19.0381C15.2607 19.0889 15.1797 19.1318 15.0938 19.1685C15.0078 19.2051 14.9189 19.2329 14.8291 19.2524C14.7266 19.2744 14.6221 19.2856 14.5146 19.2856L9.26465 19.2856C9.1582 19.2856 9.05273 19.2744 8.9502 19.2524C8.86035 19.2329 8.77246 19.2051 8.68555 19.1685C8.59961 19.1318 8.51855 19.0889 8.44238 19.0381C8.36035 18.9834 8.28418 18.9209 8.21289 18.8501C8.1416 18.7788 8.0791 18.7021 8.02441 18.6201C7.97461 18.5439 7.93066 18.4629 7.89453 18.3774C7.85742 18.2905 7.83008 18.2021 7.81055 18.1123C7.78809 18.0098 7.77734 17.9053 7.77734 17.7979C7.77734 17.6909 7.78809 17.5864 7.81055 17.4839C7.83008 17.3936 7.85742 17.3052 7.89453 17.2188C7.93066 17.1328 7.97461 17.0522 8.02441 16.9756C8.0791 16.8936 8.1416 16.8174 8.21289 16.7461C8.28418 16.6753 8.36035 16.6123 8.44238 16.5581C8.51855 16.5073 8.59961 16.4639 8.68555 16.4277C8.77246 16.3911 8.86035 16.3633 8.9502 16.3438C9.05273 16.3218 9.1582 16.3105 9.26465 16.3105L14.5146 16.3105C14.6221 16.3105 14.7266 16.3218 14.8291 16.3438ZM9.2666 17.5352L14.5166 17.5352C14.5527 17.5352 14.5859 17.5415 14.6172 17.5547C14.6426 17.5801 14.7471 17.666 14.7598 17.6973C14.7725 17.728 14.7793 17.7617 14.7793 17.7979C14.7793 17.834 14.7725 17.8677 14.7598 17.8984C14.7344 17.9243 14.6484 18.0283 14.6172 18.041C14.5859 18.0542 14.5527 18.0605 14.5166 18.0605L9.2666 18.0605C9.23047 18.0605 9.19629 18.0542 9.16602 18.041C9.13965 18.0156 9.03613 17.9297 9.02344 17.8984C9.01074 17.8677 9.00391 17.834 9.00391 17.7979C9.00391 17.7617 9.01074 17.728 9.02344 17.6973C9.04883 17.6714 9.13477 17.5674 9.16602 17.5547C9.19629 17.5415 9.23047 17.5352 9.2666 17.5352Z",fill:"rgb(255,255,255)","fill-rule":"evenodd"},null,-1)])])}const zT={name:"events-icon-summit",render:UT},HT={viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",width:"24.000000",height:"24.000000",fill:"none",customFrame:"#000000"};function jT(r,e){return t.openBlock(),t.createElementBlock("svg",HT,[...e[0]||(e[0]=[t.createElementVNode("rect",{id:"活动",width:"24.000000",height:"24.000000",x:"0.000000",y:"0.000000"},null,-1),t.createElementVNode("path",{id:"矢量 426",d:"M18.3065 11.0924L17.7206 11.6295C17.455 11.8722 17.4384 12.2711 17.6806 12.5362C17.9237 12.8009 18.3221 12.8185 18.5868 12.5758L19.1737 12.0387L20.0418 11.2433C20.1746 11.1217 20.2811 10.9859 20.3631 10.8365C20.4256 10.7198 20.4735 10.5948 20.5057 10.4615C20.5369 10.3316 20.5516 10.2017 20.5496 10.0723C20.5467 9.92 20.5213 9.76765 20.4725 9.61531C20.4237 9.46345 20.3553 9.32478 20.2684 9.19978C20.1942 9.09333 20.1063 8.99665 20.0057 8.90925C19.9012 8.81989 19.7899 8.74616 19.6698 8.68854C19.5165 8.61481 19.3504 8.56744 19.1717 8.54645L15.3212 8.09185C15.2997 8.08355 15.2119 8.05572 15.1923 8.04156C15.1777 8.02398 15.1142 7.9566 15.1044 7.93511L13.4697 4.43751C13.3945 4.27638 13.2978 4.13477 13.1816 4.0127L13.1816 4.0127C13.0898 3.91797 12.9853 3.83496 12.8691 3.76416C12.7549 3.69531 12.6367 3.64209 12.5137 3.60498L12.5137 3.60498C12.3682 3.56104 12.2168 3.53906 12.0586 3.53906C11.8994 3.53906 11.7481 3.56104 11.6025 3.60498L11.6025 3.60498C11.4795 3.64209 11.3613 3.69531 11.2471 3.76416C11.1309 3.83496 11.0264 3.91797 10.9356 4.0127C10.8184 4.13477 10.7217 4.27589 10.6465 4.43751L9.01178 7.93511C8.99713 7.95269 8.94342 8.0274 8.92389 8.04156C8.90241 8.04986 8.81843 8.08892 8.79499 8.09185L4.94448 8.54645C4.76577 8.56744 4.59976 8.61481 4.44644 8.68854L4.44644 8.68854C4.32731 8.74616 4.215 8.81989 4.11149 8.90925C4.00993 8.99665 3.92204 9.09333 3.8488 9.19978C3.76091 9.32478 3.69353 9.46345 3.64373 9.61531C3.5949 9.76765 3.56951 9.92 3.56658 10.0723C3.56463 10.2017 3.57927 10.3316 3.61052 10.4615C3.64275 10.5948 3.6906 10.7198 3.75407 10.8365C3.83513 10.9859 3.94157 11.1217 4.07438 11.2433L6.90635 13.837C6.91807 13.8566 6.97374 13.9313 6.98155 13.9542C6.98155 13.9606 6.98252 13.9713 6.98448 13.9845L6.98448 13.986C6.98838 14.0226 6.99327 14.0763 6.98936 14.0939L6.2384 17.8488C6.20324 18.0241 6.19738 18.196 6.21985 18.3635C6.23645 18.4948 6.2716 18.6232 6.32434 18.7497C6.37512 18.8727 6.43957 18.986 6.51671 19.0891C6.60851 19.2106 6.71788 19.3181 6.84679 19.4118C6.97471 19.5061 7.11045 19.5778 7.254 19.6281C7.37607 19.6711 7.50302 19.698 7.63583 19.7097C7.77157 19.7209 7.90438 19.7155 8.03524 19.6926L8.03524 19.6926C8.20223 19.6628 8.36336 19.6047 8.52058 19.5183L11.9248 17.6369C11.9473 17.631 12.0342 17.6022 12.0586 17.6022C12.0801 17.6081 12.1709 17.6252 12.1914 17.6369L15.5117 19.4719C15.6718 19.5603 15.8368 19.6189 16.0068 19.6481L16.0077 19.6481C16.1396 19.6706 16.2743 19.675 16.412 19.6618C16.5468 19.6491 16.6747 19.6203 16.7968 19.5754C16.9423 19.5222 17.079 19.447 17.2079 19.3488C17.3368 19.2512 17.4462 19.1394 17.537 19.0139C17.6132 18.9079 17.6747 18.7917 17.7235 18.6662C17.7733 18.5368 17.8046 18.4055 17.8182 18.2722C17.8368 18.1008 17.8241 17.926 17.7821 17.7482L16.3495 11.7125C16.2665 11.3629 15.9267 11.1534 15.5771 11.2359C15.2275 11.3189 15.0175 11.6593 15.1005 12.0089L16.5331 18.0446C16.5468 18.1027 16.5458 18.155 16.5292 18.2023C16.5116 18.2492 16.4794 18.2907 16.4325 18.3268C16.3847 18.363 16.3359 18.383 16.286 18.3864C16.2362 18.3903 16.1855 18.3776 16.1327 18.3488L12.8115 16.5133C12.6943 16.4489 12.5732 16.4001 12.4473 16.3678L12.4473 16.3678C12.3223 16.3351 12.1924 16.319 12.0586 16.319C11.9238 16.319 11.794 16.3351 11.669 16.3678C11.543 16.4001 11.4219 16.4489 11.3047 16.5133L7.8995 18.3952C7.84872 18.4235 7.79794 18.4362 7.74911 18.4328C7.69931 18.4299 7.65146 18.4108 7.60458 18.3762C7.55673 18.342 7.52451 18.3015 7.50693 18.2556C7.48837 18.2097 7.48545 18.1579 7.49716 18.1003L8.24813 14.3453C8.27449 14.2116 8.28426 14.0792 8.27644 13.9474C8.26863 13.816 8.24324 13.6852 8.20125 13.5558C8.15926 13.4259 8.10262 13.3058 8.03036 13.1949C7.95907 13.0841 7.87313 12.983 7.77255 12.8907L4.94155 10.297C4.89761 10.2569 4.87026 10.213 4.85757 10.1651C4.84487 10.1173 4.8478 10.0655 4.86538 10.0094C4.88393 9.95369 4.91128 9.90975 4.94936 9.8785C4.98842 9.84676 5.03628 9.82771 5.09487 9.82088L8.94538 9.36628C9.07916 9.35066 9.20709 9.31892 9.32916 9.27155C9.45025 9.22419 9.56646 9.16071 9.67583 9.0821C9.7852 9.003 9.8809 8.91315 9.96391 8.81256C10.0479 8.71198 10.1172 8.60065 10.1748 8.47858L11.8086 4.98097C11.834 4.92824 11.8672 4.88869 11.9082 4.86183C11.9502 4.83546 12 4.82228 12.0586 4.82228C12.1162 4.82228 12.166 4.83546 12.208 4.86183C12.25 4.88869 12.2822 4.92824 12.3076 4.98097L13.9414 8.47858C13.999 8.60065 14.0693 8.71198 14.1523 8.81256C14.2353 8.91315 14.332 9.003 14.4414 9.0821C14.5507 9.16071 14.666 9.22419 14.7871 9.27155C14.9091 9.31892 15.0371 9.35066 15.1708 9.36628L19.0213 9.82088C19.0799 9.82771 19.1278 9.84676 19.1668 9.8785C19.2049 9.90975 19.2333 9.95369 19.2508 10.0094C19.2694 10.0655 19.2713 10.1173 19.2586 10.1651C19.2459 10.213 19.2186 10.2569 19.1747 10.297L18.3065 11.0924ZM9.31256 13.2311L7.93856 11.8561C7.68368 11.6017 7.68368 11.2027 7.93856 10.9483C8.19246 10.6944 8.59187 10.6944 8.84577 10.9483L10.2207 12.3233C10.4746 12.5777 10.4746 12.9772 10.2207 13.2311C9.96586 13.485 9.56743 13.485 9.31256 13.2311Z",fill:"rgb(255,255,255)","fill-rule":"evenodd"},null,-1)])])}const XT={name:"events-icon-events",render:jT},GT={viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",width:"24.000000",height:"24.000000",fill:"none",customFrame:"#000000"};function QT(r,e){return t.openBlock(),t.createElementBlock("svg",GT,[...e[0]||(e[0]=[t.createElementVNode("rect",{id:"高校 & 比赛",width:"24.000000",height:"24.000000",x:"0.000000",y:"0.000000"},null,-1),t.createElementVNode("path",{id:"矢量 578",d:"M3.05078 7.51904L11.6914 4.13965C11.8086 4.09424 11.9219 4.07178 12.0391 4.07178C12.1523 4.07178 12.2695 4.09473 12.3867 4.14062L20.9609 7.51953C21.0625 7.55957 21.1523 7.61328 21.2305 7.67969C21.2969 7.73779 21.3555 7.80566 21.4062 7.88379C21.5078 8.03857 21.5586 8.20898 21.5625 8.39502C21.5625 8.58057 21.5156 8.75195 21.418 8.9082C21.3125 9.07861 21.1641 9.20264 20.9766 9.28076L19.457 9.91309L19.457 12.2915C19.457 12.6558 19.168 12.9419 18.8047 12.9419C18.4414 12.9419 18.1562 12.6558 18.1562 12.292L18.1562 10.4531L16.0742 11.3188L16.0742 14.7134C16.2852 14.897 16.418 15.1675 16.418 15.4692C16.418 16.0215 15.9688 16.4692 15.418 16.4692C14.8672 16.4692 14.418 16.0215 14.418 15.4692C14.418 15.1626 14.5547 14.8887 14.7734 14.7051L14.7734 11.8589L12.4023 12.8442C12.2852 12.8926 12.1641 12.917 12.0391 12.917C11.9141 12.9175 11.793 12.8936 11.6758 12.8452L5.63281 10.354L5.61328 17.6836C5.61328 17.7285 5.62109 17.771 5.63281 17.8101C5.65234 17.854 5.67969 17.894 5.71484 17.9307C5.75 17.9658 5.78906 17.9917 5.83203 18.0088C5.87109 18.0259 5.91797 18.0342 5.96484 18.0342L17.7812 18.0342C17.832 18.0342 17.875 18.0254 17.918 18.0083C17.957 17.9912 17.9961 17.9658 18.0312 17.9316C18.0625 17.8975 18.0898 17.8599 18.1055 17.8184C18.125 17.7773 18.1328 17.7324 18.1328 17.6841L18.1328 14.1411C18.1328 13.7773 18.418 13.4912 18.7812 13.4912C19.1445 13.4912 19.4336 13.7773 19.4336 14.1411L19.4336 17.6841C19.4336 17.8032 19.418 17.9194 19.3945 18.0332C19.375 18.1333 19.3438 18.231 19.3008 18.3267C19.2188 18.5239 19.1016 18.6987 18.9492 18.8511C18.8711 18.9297 18.7852 18.9995 18.6953 19.0596C18.6094 19.1157 18.5195 19.1641 18.4258 19.2041C18.3281 19.2446 18.2305 19.2759 18.1328 19.2974L18.1328 19.2974C18.0156 19.3218 17.9023 19.334 17.7812 19.334L5.96484 19.334C5.84375 19.334 5.73047 19.3218 5.61719 19.2979C5.51562 19.2759 5.41797 19.2446 5.32031 19.2036C5.12109 19.1201 4.94922 19.002 4.79688 18.8501C4.64453 18.6978 4.52734 18.5225 4.44141 18.3252C4.35547 18.1196 4.3125 17.9048 4.3125 17.6797L4.33594 9.81836L3.03125 9.28174C2.84375 9.2041 2.69531 9.08008 2.58984 8.90967C2.54297 8.83496 2.50781 8.75684 2.48438 8.67578C2.45703 8.58643 2.44531 8.49268 2.44531 8.39502C2.44531 8.29736 2.46094 8.20361 2.48828 8.11475C2.51562 8.03369 2.55078 7.95654 2.59766 7.8833C2.65234 7.80469 2.71094 7.73682 2.77734 7.67871C2.85547 7.61182 2.94922 7.55859 3.05078 7.51904ZM18.5547 8.87891L15.457 10.1665L11.5 8.05322C11.1758 7.88184 10.7891 7.99951 10.6172 8.32031C10.4492 8.6416 10.5664 9.02832 10.8867 9.19971L13.9062 10.8115L12.0352 11.5884L5.23438 8.78271L4.33594 8.41211L12.0352 5.40039L19.6797 8.41211L18.5547 8.87891Z",fill:"rgb(255,254.745,254.745)","fill-rule":"evenodd"},null,-1)])])}const YT={name:"events-icon-competition",render:QT},KT={viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",width:"24.000000",height:"24.000000",fill:"none",customFrame:"#000000"};function WT(r,e){return t.openBlock(),t.createElementBlock("svg",KT,[...e[0]||(e[0]=[t.createElementVNode("rect",{id:"版本发布计划",width:"24.000000",height:"24.000000",x:"0.000000",y:"0.000000"},null,-1),t.createElementVNode("path",{id:"矢量 579",d:"M8.94922 6.90332L8.94922 6.3335C8.94922 6.23779 8.95703 6.14404 8.97656 6.05225L8.97656 6.05225C8.99609 5.97119 9.01953 5.89209 9.05469 5.81396C9.08594 5.7373 9.125 5.66455 9.17188 5.59619C9.21875 5.52246 9.27734 5.4541 9.33984 5.39062C9.40234 5.32715 9.47266 5.271 9.54297 5.22217L9.54297 5.22217L9.54297 5.22217C9.61328 5.17676 9.6875 5.1377 9.76172 5.10498C9.83984 5.07227 9.91797 5.04688 10 5.02979L10 5.02979C10.0938 5.00977 10.1875 5 10.2812 5L18.668 5C18.7617 5 18.8555 5.00977 18.9492 5.02979L18.9492 5.02979C19.0273 5.04688 19.1094 5.07227 19.1875 5.10498C19.2617 5.1377 19.3359 5.17676 19.4023 5.22217C19.4766 5.271 19.5469 5.32715 19.6094 5.39062C19.6719 5.4541 19.7305 5.52246 19.7773 5.59619L19.7773 5.59619C19.8242 5.66455 19.8633 5.7373 19.8945 5.81396C19.9297 5.89209 19.9531 5.97119 19.9688 6.05225C19.9883 6.14404 20 6.23779 20 6.3335L20 12.2441C20 12.3398 19.9883 12.4336 19.9688 12.5249C19.9531 12.606 19.9297 12.6855 19.8945 12.7632C19.8633 12.8403 19.8242 12.9131 19.7773 12.9814C19.7305 13.0547 19.6719 13.123 19.6094 13.187C19.5469 13.2505 19.4766 13.3066 19.4023 13.3555C19.3359 13.4009 19.2617 13.4399 19.1875 13.4722C19.1094 13.5054 19.0273 13.5303 18.9492 13.5479C18.8555 13.5674 18.7617 13.5771 18.668 13.5771L18.3906 13.5771C18.0664 13.5771 17.8125 13.3232 17.8125 13C17.8125 12.6768 18.0664 12.4229 18.3906 12.4229L18.668 12.4229C18.6914 12.4229 18.7734 12.3789 18.793 12.3701C18.8086 12.353 18.8359 12.2651 18.8438 12.2441L18.8438 6.3335C18.8438 6.30859 18.8008 6.22803 18.793 6.20703C18.7773 6.18945 18.6875 6.16357 18.668 6.15479L10.2812 6.15479C10.2578 6.15479 10.1758 6.19824 10.1562 6.20703C10.1367 6.22461 10.1133 6.3125 10.1016 6.3335L10.1016 6.90332C10.1016 7.22656 9.84766 7.48047 9.52734 7.48047C9.20312 7.48047 8.94922 7.22656 8.94922 6.90332ZM6.47266 9.39307L6.47266 9.21973C6.47266 9.12402 6.48438 9.03027 6.50391 8.93896C6.51953 8.85791 6.54688 8.77832 6.57812 8.70068C6.61328 8.62354 6.65234 8.55127 6.69531 8.48242C6.74609 8.40918 6.80078 8.34082 6.86328 8.27734C6.92969 8.21338 6.99609 8.15723 7.07031 8.10889C7.13672 8.06299 7.21094 8.02441 7.28906 7.9917C7.36719 7.9585 7.44531 7.93359 7.52734 7.91602C7.61719 7.89648 7.71094 7.88672 7.80859 7.88672L16.1914 7.88672C16.2891 7.88672 16.3828 7.89648 16.4727 7.91602C16.5547 7.93359 16.6328 7.9585 16.7109 7.9917C16.7891 8.02441 16.8594 8.06299 16.9297 8.1084C17.0039 8.15723 17.0703 8.21338 17.1367 8.27734C17.1992 8.34082 17.2539 8.40918 17.3047 8.48242C17.3477 8.55127 17.3867 8.62354 17.4219 8.70068C17.4531 8.77832 17.4805 8.85791 17.4961 8.93896C17.5156 9.03027 17.5273 9.12402 17.5273 9.21973L17.5273 15.1304C17.5273 15.2266 17.5156 15.3198 17.4961 15.4116C17.4805 15.4927 17.4531 15.5718 17.4219 15.6499C17.3867 15.7266 17.3477 15.7993 17.3047 15.8682C17.2539 15.9414 17.1992 16.0098 17.1367 16.0732C17.0703 16.1367 17.0039 16.1929 16.9297 16.2417C16.8633 16.2871 16.7891 16.3262 16.7109 16.3589C16.6328 16.3916 16.5547 16.417 16.4727 16.4346C16.3828 16.4541 16.2891 16.4639 16.1914 16.4639L15.8789 16.4639C15.5547 16.4639 15.3008 16.21 15.3008 15.8867C15.3008 15.5635 15.5547 15.3091 15.8789 15.3091L16.1914 15.3091C16.2188 15.3091 16.2969 15.2656 16.3203 15.2568C16.3359 15.2393 16.3633 15.1519 16.3711 15.1304L16.3711 9.21973C16.3711 9.19531 16.3281 9.11475 16.3203 9.09375C16.3008 9.07617 16.2148 9.0498 16.1914 9.04102L7.80859 9.04102C7.78125 9.04102 7.70312 9.08496 7.67969 9.09375C7.66406 9.11084 7.63672 9.19873 7.62891 9.21973L7.62891 9.39307C7.62891 9.71631 7.375 9.97021 7.05078 9.97021C6.72656 9.97021 6.47266 9.71631 6.47266 9.39307ZM14 10.3901C13.9062 10.3706 13.8125 10.3608 13.7188 10.3608L5.33203 10.3608C5.23828 10.3608 5.14453 10.3706 5.05078 10.3901L5.05078 10.3901C4.97266 10.4077 4.89062 10.4331 4.8125 10.4658C4.73828 10.4985 4.66406 10.5376 4.59766 10.583L4.59766 10.583L4.59766 10.583C4.52344 10.6318 4.45312 10.688 4.39062 10.7515C4.32812 10.8149 4.26953 10.8833 4.22266 10.957C4.17578 11.0254 4.13672 11.0981 4.10547 11.1748C4.07031 11.2529 4.04688 11.332 4.03125 11.4131L4.03125 11.4131C4.01172 11.5049 4 11.5981 4 11.6943L4 17.605C4 17.7007 4.01172 17.7944 4.03125 17.8857C4.04688 17.9668 4.07031 18.0464 4.10547 18.124C4.13672 18.2012 4.17578 18.2739 4.22266 18.3423C4.26953 18.4155 4.32812 18.4839 4.39062 18.5479C4.45312 18.6113 4.52344 18.6675 4.59766 18.7163C4.66406 18.7617 4.73828 18.8008 4.8125 18.833C4.89062 18.8662 4.97266 18.8911 5.05078 18.9087L5.05078 18.9087C5.14453 18.9282 5.23828 18.938 5.33203 18.938L13.7188 18.938C13.8125 18.938 13.9062 18.9282 14 18.9087C14.082 18.8911 14.1602 18.8662 14.2383 18.833C14.3125 18.8008 14.3867 18.7617 14.457 18.7163C14.5273 18.6675 14.5977 18.6113 14.6602 18.5479C14.7227 18.4839 14.7812 18.4155 14.8281 18.3423C14.875 18.2739 14.9141 18.2012 14.9453 18.124C14.9805 18.0464 15.0039 17.9668 15.0234 17.8857C15.043 17.7944 15.0508 17.7007 15.0508 17.605L15.0508 11.6943C15.0508 11.5981 15.043 11.5049 15.0234 11.4131C15.0039 11.332 14.9805 11.2529 14.9453 11.1748C14.9141 11.0981 14.875 11.0254 14.8281 10.957C14.7812 10.8833 14.7227 10.8149 14.6602 10.7515C14.5977 10.688 14.5273 10.6318 14.457 10.583C14.3867 10.5376 14.3125 10.4985 14.2383 10.4658C14.1602 10.4331 14.082 10.4077 14 10.3901ZM5.33203 11.5156L13.7188 11.5156C13.7383 11.5244 13.8281 11.5503 13.8438 11.5679C13.8516 11.5889 13.8984 11.6694 13.8984 11.6943L13.8984 17.605C13.8867 17.626 13.8633 17.7139 13.8438 17.731C13.8242 17.7397 13.7422 17.7837 13.7188 17.7837L5.33203 17.7837C5.3125 17.7749 5.22266 17.7485 5.20703 17.731C5.19922 17.71 5.15625 17.6294 5.15625 17.605L5.15625 11.6943C5.16406 11.6733 5.19141 11.5854 5.20703 11.5679C5.22266 11.5503 5.3125 11.5244 5.33203 11.5156ZM11 12.7754C10.8086 12.5776 10.5 12.5742 10.3008 12.7676C10.1055 12.9614 10.1016 13.2695 10.293 13.4678L11 14.1875L8.36719 14.1875C8.08984 14.1875 7.87109 14.4053 7.87109 14.6826C7.87109 14.9595 8.08984 15.1772 8.36719 15.1772L10.9414 15.1772L10.2969 15.8286C10.1016 16.0254 10.1016 16.3335 10.3008 16.5283C10.4961 16.7236 10.8047 16.7222 11 16.5254L12.5039 15.0078C12.6172 14.8926 12.6758 14.7769 12.6758 14.6611C12.6758 14.5459 12.6172 14.4297 12.5039 14.3135L11 12.7754ZM7.39453 13.6792L7.39453 15.9336C7.39453 16.2109 7.17969 16.4287 6.90234 16.4287C6.625 16.4287 6.40625 16.2109 6.40625 15.9336L6.40625 13.6792C6.40625 13.4019 6.625 13.1841 6.90234 13.1841C7.17969 13.1841 7.39453 13.4019 7.39453 13.6792Z",fill:"rgb(255,255,255)","fill-rule":"evenodd"},null,-1)])])}const JT={name:"events-icon-release",render:WT},ZT={summit:"--o-orange-6",events:"--o-cyan-6",competition:"--o-blue-6",release:"--o-purple-6"},$T={events:XT,competition:YT,release:JT,summit:zT},Ws={上海:"https://infrastructure-website.osinfra.cn/picture/city/shanghai.jpg",北京:"https://infrastructure-website.osinfra.cn/picture/city/beijing.jpg",南京:"https://infrastructure-website.osinfra.cn/picture/city/nanjing.jpg",天津:"https://infrastructure-website.osinfra.cn/picture/city/tianjin.jpg",成都:"https://infrastructure-website.osinfra.cn/picture/city/chengdu.jpg",无锡:"https://infrastructure-website.osinfra.cn/picture/city/wuxi.jpg",杭州:"https://infrastructure-website.osinfra.cn/picture/city/hangzhou.jpg",深圳:["https://infrastructure-website.osinfra.cn/picture/city/shenzhen1.jpg","https://infrastructure-website.osinfra.cn/picture/city/shenzhen2.jpg"],苏州:"https://infrastructure-website.osinfra.cn/picture/city/suzhou.jpg",西安:"https://infrastructure-website.osinfra.cn/picture/city/xian.jpg",郑州:"https://infrastructure-website.osinfra.cn/picture/city/zhengzhou.jpg",武汉:"https://infrastructure-website.osinfra.cn/picture/city/wuhan.jpg"},e5="https://infrastructure-website.osinfra.cn/picture/city/default-cover.jpg",t5={class:"o-events-calendar"},i5={key:0,class:"month-list"},n5={class:"collapse-header"},r5={class:"collapse-title"},s5={key:0,class:"collapse-desc"},a5={key:0,class:"month-content month-content-span"},o5={key:0,class:"event-location"},l5={class:"event-name"},u5={key:1},c5={key:0,class:"month-content-row"},d5={class:"month-name"},h5={class:"event-name"},f5={class:"event-location"},p5={class:"event-name"},m5={class:"event-location"},g5={key:1,class:"month-content month-content-column"},v5={class:"event-location"},y5={class:"event-name"},b5={key:1},l0=t.defineComponent({__name:"OEventsCalendar",props:{data:{default:()=>[]}},setup(r){const e=us(),{lePadV:i}=Et.useScreen(),n=r,s=["JAN","FEB","MAR","Apr","May","JUN","Jul","Aug","Sep","Oct","Nov","Dec"],a=t.ref([]);t.watch([()=>n.data,()=>i.value],()=>{var g;n.data.length?i.value?a.value=[(g=n.data[0])==null?void 0:g.name]:a.value=n.data.map(E=>E.name):a.value=[]},{immediate:!0});const o=g=>{const E=g.split("/");return parseInt(E[1],10)},l=g=>{const E=new Array(12).fill(0),C=[];return g.forEach((w,v)=>{const[b,k]=Array.isArray(w.date)?[o(w.date[0]),o(w.date[1])]:[o(w.date),o(w.date)];let S=0;for(let O=b-1;O<k;O++)S=Math.max(S,E[O]);const D=S+1;for(let O=b-1;O<k;O++)E[O]=D;C.push({event:w,row:D,eventIndex:v,start:b,end:k})}),C},c=g=>{const E=Array.from({length:12},()=>[]);return g.forEach(C=>{const w=Array.isArray(C.date)?o(C.date[0]):o(C.date);E[w-1].push(C)}),E},d=g=>{const E=g.color||ZT[g.type];return E!=null&&E.startsWith("--")?`var(${E})`:E},m=g=>g.icon?g.icon:$T[g.type];return(g,E)=>(t.openBlock(),t.createElementBlock("div",t5,[t.unref(i)?t.createCommentVNode("",!0):(t.openBlock(),t.createElementBlock("div",i5,[(t.openBlock(),t.createElementBlock(t.Fragment,null,t.renderList(s,C=>t.createElementVNode("div",{class:"month-header",key:C},t.toDisplayString(C),1)),64))])),t.createVNode(t.unref(A.OCollapse),{modelValue:a.value,"onUpdate:modelValue":E[0]||(E[0]=C=>a.value=C)},{default:t.withCtx(()=>[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(r.data,(C,w)=>(t.openBlock(),t.createBlock(t.unref(A.OCollapseItem),{key:w,value:C.name},{title:t.withCtx(()=>[t.createElementVNode("div",n5,[t.createElementVNode("div",r5,[t.createElementVNode("div",{class:"title-icon",style:t.normalizeStyle({"--bg-color":d(C)})},[t.createVNode(t.unref(A.OIcon),null,{default:t.withCtx(()=>[(t.openBlock(),t.createBlock(t.resolveDynamicComponent(m(C))))]),_:2},1024)],4),t.createElementVNode("span",null,t.toDisplayString(C.name),1)]),C.desc?(t.openBlock(),t.createElementBlock("div",s5,[t.withDirectives(t.createElementVNode("div",null,null,512),[[t.unref(e),C.desc]])])):t.createCommentVNode("",!0)])]),default:t.withCtx(()=>[C.isSpanMonth?(t.openBlock(),t.createElementBlock("div",a5,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(l(C.data),({event:v,row:b,eventIndex:k,start:S,end:D})=>(t.openBlock(),t.createElementBlock("div",{key:k,class:t.normalizeClass(["event-item",{"event-item-center":v.align==="center","has-link":v.link}]),style:t.normalizeStyle({gridColumn:`${S} / ${D+1}`,gridRow:b,"--bg-color":d(C)||void 0})},[v.location?(t.openBlock(),t.createElementBlock("div",o5,t.toDisplayString(v.location),1)):t.createCommentVNode("",!0),t.createElementVNode("div",l5,[v.link?(t.openBlock(),t.createBlock(t.unref(A.OLink),t.mergeProps({key:0,href:v.link,target:"_blank"},{ref_for:!0},v.linkProps||{}),{default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(v.name),1)]),_:2},1040,["href"])):(t.openBlock(),t.createElementBlock("span",u5,t.toDisplayString(v.name),1))])],6))),128))])):(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[t.unref(i)?(t.openBlock(),t.createElementBlock("div",c5,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(c(C.data),(v,b)=>(t.openBlock(),t.createElementBlock("div",{key:b,class:t.normalizeClass(["month-row",{"empty-month":v.length===0}])},[t.createElementVNode("div",d5,t.toDisplayString(s[b]),1),(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(v,(k,S)=>(t.openBlock(),t.createElementBlock("div",{key:S,class:t.normalizeClass(["event-item",k.link?"has-link":""]),style:t.normalizeStyle({"--bd-color":d(C)||void 0})},[k.link?(t.openBlock(),t.createBlock(t.unref(A.OLink),{key:0,href:k.link,target:"_blank"},{default:t.withCtx(()=>[t.createElementVNode("div",null,[t.createElementVNode("div",h5,[t.createElementVNode("span",null,t.toDisplayString(k.name),1)]),t.createElementVNode("div",f5,t.toDisplayString(k.location),1)]),t.createVNode(t.unref(A.OIcon),null,{default:t.withCtx(()=>[t.createVNode(t.unref(A.OIconChevronRight))]),_:1})]),_:2},1032,["href"])):(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[t.createElementVNode("div",p5,t.toDisplayString(k.name),1),t.createElementVNode("div",m5,t.toDisplayString(k.location),1)],64))],6))),128))],2))),128))])):(t.openBlock(),t.createElementBlock("div",g5,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(c(C.data),(v,b)=>(t.openBlock(),t.createElementBlock("div",{key:b,class:"month-column"},[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(v,(k,S)=>(t.openBlock(),t.createElementBlock("div",{key:S,class:t.normalizeClass(["event-item",k.link?"has-link":""]),style:t.normalizeStyle({"--bg-color":d(C)||void 0})},[t.createElementVNode("div",v5,t.toDisplayString(k.location),1),t.createElementVNode("div",y5,[k.link?(t.openBlock(),t.createBlock(t.unref(A.OLink),{key:0,href:k.link,target:"_blank"},{suffix:t.withCtx(()=>[t.createVNode(t.unref(A.OIcon),null,{default:t.withCtx(()=>[t.createVNode(t.unref(A.OIconChevronRight))]),_:1})]),default:t.withCtx(()=>[t.createElementVNode("span",null,t.toDisplayString(k.name),1)]),_:2},1032,["href"])):(t.openBlock(),t.createElementBlock("span",b5,t.toDisplayString(k.name),1))])],6))),128))]))),128))]))],64))]),_:2},1032,["value"]))),128))]),_:1},8,["modelValue"])]))}});var Zi=(r=>(r.FINISH="finish",r.ING="ing",r.ALL="",r))(Zi||{});const Js=(r,e)=>new Date(r).getTime()>new Date(e).getTime(),C5={class:"o-events-list"},T5={class:"filter-slot-wrapper"},A5={class:"filter-wrapper"},E5={class:"filter-left"},x5={class:"list-content"},k5={class:"tags-wrapper"},_5={class:"event-name"},S5={class:"event-desc"},w5={class:"event-date"},D5={key:0,class:"event-location"},u0=t.defineComponent({__name:"OEventsList",props:{data:{default:()=>[]},page:{},pageSize:{},total:{}},emits:["search"],setup(r,{emit:e}){const{t:i}=Ue.useI18n(),{lePadV:n}=Et.useScreen(),s=r,a=[{label:i("events.statusAll"),value:Zi.ALL},{label:i("events.statusIng"),value:Zi.ING},{label:i("events.statusFinish"),value:Zi.FINISH}],o=e,l=t.ref(Zi.ALL),c=t.ref(""),d=t.ref(""),m=(w={})=>{o("search",Object.assign({page:s.page,pageSize:s.pageSize,status:l.value,keyword:d.value},w))},g=()=>{m()},E=()=>{d.value=c.value,m()},C=t.computed(()=>s.data.map(w=>{let v=w.startDate,b=w.endDate,k=Se(w.date).format("YYYY/MM/DD");if(v&&b){const S=Se().format("YYYY-01-01");Js(S,v)&&(v=S);const D=Se().format("YYYY-12-31");Js(b,D)&&(b=D),k=`${Se(v).format("YYYY/MM/DD")}-${Se(b).format("MM/DD")}`}return{...w,startDate:v,endDate:b,dateStr:k,status:Js(new Date,w.date||w.endDate)?Zi.FINISH:Zi.ING}}).sort((w,v)=>Js(w.date||w.endDate,v.date||v.endDate)?-1:1).map(w=>{var k,S,D;const v=(D=(S=(k=w.city)==null?void 0:k.replace("市",""))==null?void 0:S.replace("中国",""))==null?void 0:D.replaceAll(" ","");let b=null;return Array.isArray(Ws[v])?b=Ws[v][w.name.length%Ws[v].length]:b=Ws[v],b||(b=e5),{...w,cover:b}}));return(w,v)=>(t.openBlock(),t.createElementBlock("div",C5,[t.createElementVNode("div",T5,[t.renderSlot(w.$slots,"filter",{},()=>[t.createElementVNode("div",A5,[t.createElementVNode("div",E5,[t.createElementVNode("span",null,t.toDisplayString(t.unref(i)("events.status")),1),t.createVNode(t.unref(A.ORadioGroup),{modelValue:l.value,"onUpdate:modelValue":v[0]||(v[0]=b=>l.value=b),style:{"--radio-group-gap":"8px"},onChange:g},{default:t.withCtx(()=>[(t.openBlock(),t.createElementBlock(t.Fragment,null,t.renderList(a,b=>t.createVNode(t.unref(A.ORadio),{key:b.value,value:b.value},{radio:t.withCtx(({checked:k})=>[t.createVNode(t.unref(A.OToggle),{checked:k},{default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(b.label),1)]),_:2},1032,["checked"])]),_:2},1032,["value"])),64))]),_:1},8,["modelValue"])]),t.createVNode(t.unref(A.OInput),{size:"large",modelValue:c.value,"onUpdate:modelValue":v[1]||(v[1]=b=>c.value=b),placeholder:t.unref(i)("events.searchPlaceholder"),onPressEnter:E,onClear:E,clearable:""},{prefix:t.withCtx(()=>[t.createVNode(t.unref(A.OIcon),{class:"input-icon"},{default:t.withCtx(()=>[t.createVNode(t.unref(A.OIconSearch))]),_:1})]),_:1},8,["modelValue","placeholder"])])])]),t.createElementVNode("div",x5,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(C.value,b=>(t.openBlock(),t.createBlock(t.unref(A.OCard),{key:b.name,cover:b.cover,href:b.link},{default:t.withCtx(()=>{var k;return[t.createElementVNode("div",k5,[(k=b.tags)!=null&&k.length?(t.openBlock(!0),t.createElementBlock(t.Fragment,{key:0},t.renderList(b.tags,S=>(t.openBlock(),t.createBlock(t.unref(A.OTag),{key:S.title,size:"medium"},t.createSlots({default:t.withCtx(()=>[t.createElementVNode("span",null,t.toDisplayString(S.title),1)]),_:2},[S.icon?{name:"icon",fn:t.withCtx(()=>[(t.openBlock(),t.createBlock(t.resolveDynamicComponent(S.icon)))]),key:"0"}:void 0]),1024))),128)):t.createCommentVNode("",!0),t.createVNode(t.unref(A.OTag),{class:"event-status"},{default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(b.status===t.unref(Zi).ING?t.unref(i)("events.statusIng"):t.unref(i)("events.statusFinish")),1)]),_:2},1024)]),t.createElementVNode("div",_5,t.toDisplayString(b.name),1),t.createElementVNode("div",S5,[t.createElementVNode("div",w5,t.toDisplayString(b.dateStr),1),t.createVNode(t.unref(A.ODivider),{direction:"v"}),b.city?(t.openBlock(),t.createElementBlock("div",D5,t.toDisplayString(b.city),1)):t.createCommentVNode("",!0)])]}),_:2},1032,["cover","href"]))),128))]),C.value.length?t.createCommentVNode("",!0):t.renderSlot(w.$slots,"empty",{key:0}),r.total>8?(t.openBlock(),t.createBlock(t.unref(A.OPagination),{key:1,page:r.page,simple:t.unref(n),"show-total":!0,pageSize:r.pageSize,total:r.total,onChange:m,pageSizes:[4,12,24,36,48]},null,8,["page","simple","pageSize","total"])):t.createCommentVNode("",!0)]))}}),B5={version:"1.1",xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"};function V5(r,e){return t.openBlock(),t.createElementBlock("svg",B5,[...e[0]||(e[0]=[t.createElementVNode("path",{fill:"#1da9ff",d:"M20.4 5.95c0.27-0.27 0.71-0.27 0.99 0 0.24 0.25 0.27 0.63 0.070 0.91l-0.070 0.080-10.5 10.47c-0.53 0.53-1.36 0.56-1.93 0.1l-0.11-0.1-5.23-5.2c-0.28-0.28-0.28-0.72-0.010-0.99 0.25-0.25 0.63-0.28 0.91-0.080l0.080 0.070 5.24 5.21c0.010 0.010 0.030 0.010 0.040 0.010l0.030-0.010 10.49-10.47z"},null,-1)])])}const I5={name:"events-icon-checked",render:V5},N5={class:"o-events-apply"},O5={class:"events-apply-grid"},P5={class:"timeline-number"},M5={class:"number-circle"},L5={class:"step-title"},R5={class:"step-idx"},q5={class:"step-desc"},F5={key:0},U5={class:"desc-list-wrapper"},z5={key:0,class:"desc-list-title"},H5={class:"desc-list-content"},j5={class:"desc-list-item-title"},X5={class:"desc-list-item-desc"},c0=t.defineComponent({__name:"OEventsApply",props:{steps:{}},setup(r){const{isDark:e}=vs(),i=us();return(n,s)=>(t.openBlock(),t.createElementBlock("div",N5,[t.createElementVNode("div",O5,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(r.steps,(a,o)=>(t.openBlock(),t.createElementBlock(t.Fragment,{key:o},[t.createElementVNode("div",P5,[t.createElementVNode("div",M5,t.toDisplayString(o+1),1)]),t.createElementVNode("div",{class:t.normalizeClass(["step-item",`step-${o+1} ${t.unref(e)?"is-dark":""}`]),style:{}},[t.createElementVNode("div",L5,[t.createElementVNode("div",R5,t.toDisplayString(o+1),1),t.createElementVNode("span",null,t.toDisplayString(a.title),1)]),t.createElementVNode("div",q5,[a.desc?t.withDirectives((t.openBlock(),t.createElementBlock("div",F5,null,512)),[[t.unref(i),a.desc]]):t.createCommentVNode("",!0),t.renderSlot(n.$slots,`step${o+1}`),t.createElementVNode("div",U5,[a.listTitle?(t.openBlock(),t.createElementBlock("div",z5,t.toDisplayString(a.listTitle),1)):t.createCommentVNode("",!0),t.createElementVNode("div",H5,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(a.list,(l,c)=>(t.openBlock(),t.createElementBlock("div",{class:"desc-list-item",key:c},[t.createElementVNode("div",j5,[t.createVNode(t.unref(A.OIcon),null,{default:t.withCtx(()=>[t.createVNode(t.unref(I5))]),_:1}),t.createElementVNode("span",null,t.toDisplayString(l.title),1)]),t.createElementVNode("div",X5,t.toDisplayString(l.desc),1)]))),128))])])]),a.img?(t.openBlock(),t.createElementBlock("div",{key:0,class:"img-wrapper",style:t.normalizeStyle({backgroundImage:`url(${a.img})`})},null,4)):t.createCommentVNode("",!0),a.imgPhone?(t.openBlock(),t.createElementBlock("div",{key:1,class:"img-wrapper-phone",style:t.normalizeStyle({backgroundImage:`url(${a.imgPhone})`})},null,4)):t.createCommentVNode("",!0)],2)],64))),128))])]))}}),G5=Object.assign(l0,{install(r){r.component("OEventsCalendar",l0)}}),Q5=Object.assign(u0,{install(r){r.component("OEventsList",u0)}}),Y5=Object.assign(c0,{install(r){r.component("OEventsApply",c0)}}),K5={class:"o-feedback-doc"},W5={class:"o-feedback-title"},J5={class:"o-feedback-doc-title"},Z5={key:1,class:"o-feedback-input-wrap"},$5={key:2,class:"o-feedback-doc-btn-box"},e6={key:3,class:"o-feedback-doc-submit"},t6=t.defineComponent({__name:"OFeedbackDocContent",props:t.mergeModels({hideClose:{type:Boolean,default:!1},disableTip:{type:Boolean},submitData:{},submitIssue:{}},{efficiency:{default:0},efficiencyModifiers:{},accuracy:{default:0},accuracyModifiers:{},completeness:{default:0},completenessModifiers:{},usability:{default:0},usabilityModifiers:{},feedback:{default:""},feedbackModifiers:{}}),emits:t.mergeModels(["change","close","submit"],["update:efficiency","update:accuracy","update:completeness","update:usability","update:feedback"]),setup(r,{emit:e}){const i=A.useMessage(null),{lePadV:n}=Et.useScreen(),{locale:s,t:a}=Ue.useI18n(),o=r,l=t.useModel(r,"efficiency"),c=t.useModel(r,"accuracy"),d=t.useModel(r,"completeness"),m=t.useModel(r,"usability"),g=t.useModel(r,"feedback"),E=e,C=t.reactive([{key:"efficiency",name:{zh:"获取效率",en:"Retrieval efficiency"},value:l,isChange:!1},{key:"accuracy",name:{zh:"正确性",en:"Accuracy"},value:c,isChange:!1},{key:"completeness",name:{zh:"完整性",en:"Completeness"},value:d,isChange:!1},{key:"usability",name:{zh:"易理解",en:"Comprehensibility"},value:m,isChange:!1}]),w=t.computed(()=>C.every(q=>q.value>0)&&C.some(q=>q.value>0&&q.value<=3)),v=t.computed(()=>C.some(q=>q.value===0)),b=()=>{E("close")},k=q=>{q.isChange=!0,E("change")},S=()=>{E("close"),C.forEach(q=>{q.value=0,q.isChange=!1})},D=t.ref(!1),O=async q=>{if(D.value)return;D.value=!0;const R={feedbackPageUrl:window.location.href,efficiency:l.value,accuracy:c.value,completeness:d.value,usability:m.value,feedback:g.value};E("submit",R);try{q==="issue"&&o.submitIssue?await o.submitIssue(R)?S():o.disableTip||i.danger(a("feedback.submitFailed")):o.submitData&&(await o.submitData(R)?(o.disableTip||i.success(a("feedback.submitSuccess")),S()):o.disableTip||i.danger(a("feedback.submitFailed")))}catch{o.disableTip||i.danger(a("feedback.submitFailed"))}finally{D.value=!1}};return(q,R)=>(t.openBlock(),t.createElementBlock("div",K5,[r.hideClose?t.createCommentVNode("",!0):(t.openBlock(),t.createBlock(t.unref(A.OIcon),{key:0,class:"o-feedback-icon-close",onClick:b},{default:t.withCtx(()=>[t.createVNode(t.unref(Da))]),_:1})),t.createElementVNode("div",W5,t.toDisplayString(t.unref(a)("feedback.docRating")),1),t.createElementVNode("div",{class:t.normalizeClass(["o-feedback-star-wrap",{en:t.unref(s)!=="zh"}])},[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(C,x=>(t.openBlock(),t.createElementBlock("div",{key:x.key,class:"o-feedback-star-line"},[t.createElementVNode("div",J5,t.toDisplayString(x.name[t.unref(s)]),1),t.createVNode(t.unref(A.ORate),{modelValue:x.value,"onUpdate:modelValue":L=>x.value=L,class:t.normalizeClass(["o-feedback-doc-rate",{en:t.unref(s)!=="zh"}]),size:t.unref(n)?"large":"medium",count:5,color:"primary",onChange:L=>k(x)},null,8,["modelValue","onUpdate:modelValue","class","size","onChange"])]))),128))],2),w.value?(t.openBlock(),t.createElementBlock("div",Z5,[t.createVNode(t.unref(A.OTextarea),{modelValue:g.value,"onUpdate:modelValue":R[0]||(R[0]=x=>g.value=x),class:"o-feedback-input","max-length":200,resize:"none",placeholder:t.unref(a)("feedback.placeholder")},null,8,["modelValue","placeholder"])])):t.createCommentVNode("",!0),t.unref(n)?(t.openBlock(),t.createElementBlock("div",$5,[w.value?(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[t.createVNode(t.unref(A.OButton),{color:"normal",variant:"text",size:"large",onClick:R[1]||(R[1]=x=>O("issue"))},{default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(t.unref(a)("feedback.submitIssue")),1)]),_:1}),t.createVNode(t.unref(A.ODivider),{class:"divider-btn",direction:"v"}),t.createVNode(t.unref(A.OButton),{color:"normal",variant:"text",size:"large",onClick:R[2]||(R[2]=x=>O("directly"))},{default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(t.unref(a)("feedback.submitDirectly")),1)]),_:1})],64)):(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[t.createVNode(t.unref(A.OButton),{color:"normal",variant:"text",size:"large",onClick:b},{default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(t.unref(a)("feedback.cancel")),1)]),_:1}),t.createVNode(t.unref(A.ODivider),{class:"divider-btn",direction:"v"}),t.createVNode(t.unref(A.OButton),{color:"normal",variant:"text",size:"large",disabled:v.value,onClick:R[3]||(R[3]=x=>O("directly"))},{default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(t.unref(a)("feedback.submit")),1)]),_:1},8,["disabled"])],64))])):(t.openBlock(),t.createElementBlock("div",e6,[w.value?(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[t.createVNode(t.unref(A.OLink),{color:"primary","hover-underline":!1,onClick:R[4]||(R[4]=x=>O("directly"))},{default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(t.unref(a)("feedback.submitDirectly")),1)]),_:1}),t.createVNode(t.unref(A.OLink),{color:"primary","hover-underline":!1,onClick:R[5]||(R[5]=x=>O("issue"))},{default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(t.unref(a)("feedback.submitIssue")),1)]),_:1})],64)):(t.openBlock(),t.createBlock(t.unref(A.OLink),{key:1,color:"primary","hover-underline":!1,disabled:v.value,onClick:R[6]||(R[6]=x=>O("directly"))},{default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(t.unref(a)("feedback.submit")),1)]),_:1},8,["disabled"]))]))]))}}),Sa=Ue._export_sfc(t6,[["__scopeId","data-v-65aea2b5"]]),i6=t.defineComponent({__name:"OFeedbackDocPopup",props:t.mergeModels({visible:{type:Boolean,default:!1},wrapper:{},target:{default:null},autoHide:{type:Boolean,default:!0},position:{default:"lt"},disableTip:{type:Boolean},offset:{default:24},submitData:{},submitIssue:{}},{efficiency:{default:0},efficiencyModifiers:{},accuracy:{default:0},accuracyModifiers:{},completeness:{default:0},completenessModifiers:{},usability:{default:0},usabilityModifiers:{},feedback:{default:""},feedbackModifiers:{}}),emits:t.mergeModels(["change","close"],["update:efficiency","update:accuracy","update:completeness","update:usability","update:feedback"]),setup(r,{emit:e}){const i=e,n=t.useModel(r,"efficiency"),s=t.useModel(r,"accuracy"),a=t.useModel(r,"completeness"),o=t.useModel(r,"usability"),l=t.useModel(r,"feedback"),{locale:c}=Ue.useI18n();return(d,m)=>(t.openBlock(),t.createBlock(t.unref(A.OPopup),{visible:r.visible,target:r.target,"auto-hide":r.autoHide,offset:r.offset,wrapper:r.wrapper,position:r.position,trigger:"hover",style:t.normalizeStyle({"--popup-radius":"var(--o-radius-xs)","--popup-shadow":"var(--o-shadow-2)","--popup-bg-color":"var(--o-color-fill2)","--popup-padding":"12px","--popup-min-width":t.unref(c)!=="zh"?"296px":"240px"})},{default:t.withCtx(()=>[t.createVNode(Sa,{efficiency:n.value,"onUpdate:efficiency":m[0]||(m[0]=g=>n.value=g),accuracy:s.value,"onUpdate:accuracy":m[1]||(m[1]=g=>s.value=g),completeness:a.value,"onUpdate:completeness":m[2]||(m[2]=g=>a.value=g),usability:o.value,"onUpdate:usability":m[3]||(m[3]=g=>o.value=g),feedback:l.value,"onUpdate:feedback":m[4]||(m[4]=g=>l.value=g),"disable-tip":r.disableTip,"submit-data":r.submitData,"submit-issue":r.submitIssue,onChange:m[5]||(m[5]=g=>i("change")),onClose:m[6]||(m[6]=g=>i("close"))},null,8,["efficiency","accuracy","completeness","usability","feedback","disable-tip","submit-data","submit-issue"])]),_:1},8,["visible","target","auto-hide","offset","wrapper","position","style"]))}}),Vl=Ue._export_sfc(i6,[["__scopeId","data-v-e70ea0e4"]]),Il=t.defineComponent({__name:"OFeedbackDocDialog",props:t.mergeModels({disableTip:{type:Boolean},submitData:{type:Function},submitIssue:{type:Function}},{visible:{type:Boolean,default:!1},visibleModifiers:{},efficiency:{default:0},efficiencyModifiers:{},accuracy:{default:0},accuracyModifiers:{},completeness:{default:0},completenessModifiers:{},usability:{default:0},usabilityModifiers:{},feedback:{default:""},feedbackModifiers:{}}),emits:t.mergeModels(["change","close"],["update:visible","update:efficiency","update:accuracy","update:completeness","update:usability","update:feedback"]),setup(r,{emit:e}){const i=e,{isPhone:n}=Et.useScreen(),s=t.useModel(r,"visible"),a=t.useModel(r,"efficiency"),o=t.useModel(r,"accuracy"),l=t.useModel(r,"completeness"),c=t.useModel(r,"usability"),d=t.useModel(r,"feedback"),m=g=>{g||i("close")};return(g,E)=>(t.openBlock(),t.createBlock(t.unref(A.ODialog),{visible:s.value,"onUpdate:visible":E[7]||(E[7]=C=>s.value=C),size:"small","phone-half-full":!0,scroller:!1,style:t.normalizeStyle({"--dlg-width":t.unref(n)?"100%":"424px","--dlg-radius":t.unref(n)?"var(--o-radius-xs) var(--o-radius-xs) 0 0":"var(--o-radius-xs)"}),onChange:m},{default:t.withCtx(()=>[t.createVNode(Sa,{efficiency:a.value,"onUpdate:efficiency":E[0]||(E[0]=C=>a.value=C),accuracy:o.value,"onUpdate:accuracy":E[1]||(E[1]=C=>o.value=C),completeness:l.value,"onUpdate:completeness":E[2]||(E[2]=C=>l.value=C),usability:c.value,"onUpdate:usability":E[3]||(E[3]=C=>c.value=C),feedback:d.value,"onUpdate:feedback":E[4]||(E[4]=C=>d.value=C),"hide-close":!0,"disable-tip":r.disableTip,"submit-data":r.submitData,"submit-issue":r.submitIssue,onChange:E[5]||(E[5]=C=>i("change")),onClose:E[6]||(E[6]=C=>i("close"))},null,8,["efficiency","accuracy","completeness","usability","feedback","disable-tip","submit-data","submit-issue"])]),_:1},8,["visible","style"]))}}),n6={version:"1.1",xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"};function r6(r,e){return t.openBlock(),t.createElementBlock("svg",n6,[...e[0]||(e[0]=[t.createElementVNode("path",{opacity:"0.8",fill:"currentColor",d:"M12 2.3c5.357 0 9.7 4.343 9.7 9.7 0 2.436-0.902 4.732-2.502 6.503-1.827 2.021-4.419 3.197-7.198 3.197-5.357 0-9.7-4.343-9.7-9.7s4.343-9.7 9.7-9.7zM12 3.7c-4.584 0-8.3 3.716-8.3 8.3s3.716 8.3 8.3 8.3c2.379 0 4.595-1.005 6.159-2.736 1.37-1.515 2.141-3.479 2.141-5.564 0-4.584-3.716-8.3-8.3-8.3zM17.326 13.329c0.342 0.18 0.474 0.603 0.294 0.945-1.082 2.057-3.236 3.374-5.626 3.374-2.378 0-4.524-1.305-5.611-3.346-0.182-0.341-0.052-0.765 0.289-0.947s0.765-0.052 0.947 0.289c0.845 1.587 2.517 2.604 4.375 2.604 1.867 0 3.546-1.027 4.387-2.626 0.18-0.342 0.603-0.474 0.945-0.294zM7.25 8c0.69 0 1.25 0.56 1.25 1.25s-0.56 1.25-1.25 1.25c-0.69 0-1.25-0.56-1.25-1.25s0.56-1.25 1.25-1.25zM16.75 8c0.69 0 1.25 0.56 1.25 1.25s-0.56 1.25-1.25 1.25c-0.69 0-1.25-0.56-1.25-1.25s0.56-1.25 1.25-1.25z"},null,-1)])])}const s6={name:"components-icon-smile",render:r6},a6=t.defineComponent({__name:"OFeedbackDoc",props:t.mergeModels({wrapper:{},target:{},position:{},disableTip:{type:Boolean},offset:{},submitData:{type:Function},submitIssue:{type:Function}},{efficiency:{default:0},efficiencyModifiers:{},accuracy:{default:0},accuracyModifiers:{},completeness:{default:0},completenessModifiers:{},usability:{default:0},usabilityModifiers:{},feedback:{default:""},feedbackModifiers:{}}),emits:["update:efficiency","update:accuracy","update:completeness","update:usability","update:feedback"],setup(r){const e=t.useModel(r,"efficiency"),i=t.useModel(r,"accuracy"),n=t.useModel(r,"completeness"),s=t.useModel(r,"usability"),a=t.useModel(r,"feedback"),{lePadV:o}=Et.useScreen(),l=t.ref(),c=t.ref(!1),d=t.ref(!1),m=t.ref(!0);let g;const E=()=>{o.value||(clearTimeout(g),d.value=!0)},C=()=>{o.value||m.value&&(clearTimeout(g),g=setTimeout(()=>{d.value=!1},300))},w=()=>{c.value=!1,d.value=!1,m.value=!0,e.value=0,i.value=0,n.value=0,s.value=0,a.value=""},v=()=>{m.value=!1},b=()=>{o.value&&(c.value=!0)};return(k,S)=>(t.openBlock(),t.createElementBlock("div",{id:"o-feedback-doc-wrap",class:"o-feedback-doc-wrap",onMouseenter:E,onMouseleave:C},[t.renderSlot(k.$slots,"default",{},()=>[t.createVNode(t.unref(A.OIcon),{ref_key:"feedbackRef",ref:l,class:"o-feedback-icon-smile",onClick:b},{default:t.withCtx(()=>[t.createVNode(t.unref(s6))]),_:1},512)],!0),t.unref(o)?(t.openBlock(),t.createBlock(Il,{key:0,visible:c.value,"onUpdate:visible":S[0]||(S[0]=D=>c.value=D),efficiency:e.value,"onUpdate:efficiency":S[1]||(S[1]=D=>e.value=D),accuracy:i.value,"onUpdate:accuracy":S[2]||(S[2]=D=>i.value=D),completeness:n.value,"onUpdate:completeness":S[3]||(S[3]=D=>n.value=D),usability:s.value,"onUpdate:usability":S[4]||(S[4]=D=>s.value=D),feedback:a.value,"onUpdate:feedback":S[5]||(S[5]=D=>a.value=D),"disable-tip":r.disableTip,"submit-data":r.submitData,"submit-issue":r.submitIssue,onChange:v,onClose:w},null,8,["visible","efficiency","accuracy","completeness","usability","feedback","disable-tip","submit-data","submit-issue"])):(t.openBlock(),t.createBlock(Vl,{key:1,efficiency:e.value,"onUpdate:efficiency":S[6]||(S[6]=D=>e.value=D),accuracy:i.value,"onUpdate:accuracy":S[7]||(S[7]=D=>i.value=D),completeness:n.value,"onUpdate:completeness":S[8]||(S[8]=D=>n.value=D),usability:s.value,"onUpdate:usability":S[9]||(S[9]=D=>s.value=D),feedback:a.value,"onUpdate:feedback":S[10]||(S[10]=D=>a.value=D),visible:d.value,target:r.target||l.value,"auto-hide":m.value,wrapper:r.wrapper||"#o-feedback-doc-wrap",position:r.position,"disable-tip":r.disableTip,offset:r.offset,"submit-data":r.submitData,"submit-issue":r.submitIssue,onChange:v,onClose:w},null,8,["efficiency","accuracy","completeness","usability","feedback","visible","target","auto-hide","wrapper","position","disable-tip","offset","submit-data","submit-issue"]))],32))}}),d0=Ue._export_sfc(a6,[["__scopeId","data-v-12fab110"]]),o6=Object.assign(d0,{install(r){r.component("OFeedbackDoc",d0)}}),l6=Object.assign(Sa,{install(r){r.component("OFeedbackDocContent",Sa)}}),u6=Object.assign(Il,{install(r){r.component("OFeedbackDocDialog",Il)}}),c6=Object.assign(Vl,{install(r){r.component("OFeedbackDocPopup",Vl)}}),d6={key:0,class:"atom"},h6={class:"atom-text"},f6=["href"],p6=["src"],m6={key:0,class:"quick-nav"},g6={class:"category-title"},v6={class:"navs"},y6=["href"],b6={key:0,class:"friendship-link"},C6={class:"friendship-link-title"},T6={class:"friendship-link-box"},A6=["href"],E6={key:0,class:"footer-logo"},x6=["src"],k6=["src"],_6=["href"],S6={key:1,class:"footer-option"},w6={class:"footer-option-item"},D6=["href"],B6={class:"license"},V6={class:"copyright"},I6={class:"filing"},N6=["href"],O6=["src"],P6={key:2,class:"footer-right"},M6={key:0,class:"code-box"},L6=["src"],R6={class:"code-layer"},q6=["src"],F6={class:"txt"},U6={class:"app-footer-pc"},z6={key:0,class:"footer-left"},H6=["href"],j6=["src"],X6={key:0,class:"footer-right"},G6=["href"],Q6={class:"app-footer-mb"},Y6={key:0,class:"links"},K6=["href"],W6={class:"copyright"},J6={key:0,class:"approval"},Z6=["href"],$6=["src"],eA=t.defineComponent({__name:"OFooter",props:{simple:{default:!1},atom:{default:void 0},lang:{default:void 0},quickNav:{default:void 0},friendshipLink:{default:void 0},footerLogo:{default:void 0},footerOption:{default:void 0},qrcode:{default:void 0},footerBg:{default:void 0}},setup(r){const e=r;return(i,n)=>(t.openBlock(),t.createElementBlock("div",{class:t.normalizeClass([e.simple?"app-footer-simple":"app-footer"])},[e.simple?(t.openBlock(),t.createBlock(Ln,{key:1},{default:t.withCtx(()=>[t.createElementVNode("div",U6,[i.$slots.left||e.footerOption?t.renderSlot(i.$slots,"left",{key:0},()=>[e.footerOption?(t.openBlock(),t.createElementBlock("div",z6,[t.createElementVNode("span",null,t.toDisplayString(e.footerOption[e.lang].copyright),1),t.createElementVNode("a",{class:"approval",href:e.footerOption[e.lang].beianLink,target:"_blank",rel:"noopener noreferrer"},t.toDisplayString(e.footerOption[e.lang].beianInfo1),9,H6),t.createElementVNode("img",{class:"police-img",src:e.footerOption[e.lang].policeIcon},null,8,j6),t.createElementVNode("span",null,t.toDisplayString(e.footerOption[e.lang].beianInfo2),1)])):t.createCommentVNode("",!0)],!0):t.createCommentVNode("",!0),i.$slots.right||e.footerOption?t.renderSlot(i.$slots,"right",{key:1},()=>[e.footerOption?(t.openBlock(),t.createElementBlock("div",X6,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.footerOption[e.lang].link,(s,a)=>(t.openBlock(),t.createElementBlock(t.Fragment,{key:s.url},[t.createElementVNode("a",{target:"_blank",href:s.url,class:"link"},t.toDisplayString(s.name),9,G6),a!==e.footerOption[e.lang].link.length-1?(t.openBlock(),t.createBlock(t.unref(A.ODivider),{key:0,direction:"v"})):t.createCommentVNode("",!0)],64))),128))])):t.createCommentVNode("",!0)],!0):t.createCommentVNode("",!0)]),t.createElementVNode("div",Q6,[i.$slots.right||e.footerOption?t.renderSlot(i.$slots,"right",{key:0},()=>[e.footerOption?(t.openBlock(),t.createElementBlock("div",Y6,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.footerOption[e.lang].link,(s,a)=>(t.openBlock(),t.createElementBlock(t.Fragment,{key:s.url},[t.createElementVNode("a",{target:"_blank",href:s.url,class:"link"},t.toDisplayString(s.name),9,K6),a!==e.footerOption[e.lang].link.length-1?(t.openBlock(),t.createBlock(t.unref(A.ODivider),{key:0,direction:"v"})):t.createCommentVNode("",!0)],64))),128))])):t.createCommentVNode("",!0)],!0):t.createCommentVNode("",!0),t.renderSlot(i.$slots,"copyright",{},()=>[t.createElementVNode("div",W6,t.toDisplayString(e.footerOption[e.lang].copyright),1)],!0),i.$slots.left||e.footerOption?t.renderSlot(i.$slots,"left",{key:1},()=>[e.footerOption?(t.openBlock(),t.createElementBlock("div",J6,[t.createElementVNode("a",{href:e.footerOption[e.lang].beianLink,target:"_blank",rel:"noopener noreferrer"},t.toDisplayString(e.footerOption[e.lang].beianInfo1),9,Z6),t.createElementVNode("img",{class:"police-img",src:e.footerOption[e.lang].policeIcon},null,8,$6),t.createElementVNode("span",null,t.toDisplayString(e.footerOption[e.lang].beianInfo2),1)])):t.createCommentVNode("",!0)],!0):t.createCommentVNode("",!0)])]),_:3})):(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[i.$slots.atom||e.atom?(t.openBlock(),t.createBlock(Ln,{key:0},{default:t.withCtx(()=>[t.renderSlot(i.$slots,"atom",{},()=>{var s,a,o;return[e.atom?(t.openBlock(),t.createElementBlock("div",d6,[t.createElementVNode("p",h6,t.toDisplayString((s=e.atom[e.lang])==null?void 0:s.title),1),t.createElementVNode("a",{href:(a=e.atom[e.lang])==null?void 0:a.href,target:"_blank"},[t.createElementVNode("img",{src:(o=e.atom[e.lang])==null?void 0:o.img,class:"atom-logo",alt:""},null,8,p6)],8,f6)])):t.createCommentVNode("",!0),t.createVNode(t.unref(A.ODivider),{class:"atom-divider"})]},!0)]),_:3})):t.createCommentVNode("",!0),t.createElementVNode("div",{class:"footer-content",style:t.normalizeStyle({backgroundImage:`url(${e.footerBg})`})},[t.createVNode(Ln,null,{default:t.withCtx(()=>[i.$slots.quickNav||e.quickNav?t.renderSlot(i.$slots,"quickNav",{key:0},()=>[e.quickNav?(t.openBlock(),t.createElementBlock("div",m6,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.quickNav[e.lang],s=>(t.openBlock(),t.createElementBlock("div",{key:s.title,class:"category"},[t.createElementVNode("div",g6,t.toDisplayString(s.title),1),t.createElementVNode("ul",v6,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(s.list,a=>(t.openBlock(),t.createElementBlock("li",{key:a.title,class:"nav"},[t.createElementVNode("a",{href:a.link,target:"_blank",rel:"noopener noreferrer"},t.toDisplayString(a.title),9,y6)]))),128))])]))),128))])):t.createCommentVNode("",!0)],!0):t.createCommentVNode("",!0),i.$slots.friendshipLink||e.friendshipLink?t.renderSlot(i.$slots,"friendshipLink",{key:1},()=>[e.friendshipLink?(t.openBlock(),t.createElementBlock("div",b6,[t.createElementVNode("div",C6,t.toDisplayString(e.friendshipLink.title[e.lang]),1),t.createElementVNode("div",T6,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.friendshipLink.link[e.lang],s=>(t.openBlock(),t.createElementBlock("a",{href:s.link,key:s.link,target:"_blank"},t.toDisplayString(s.title),9,A6))),128))])])):t.createCommentVNode("",!0)],!0):t.createCommentVNode("",!0),t.renderSlot(i.$slots,"footer",{},()=>[t.createElementVNode("div",{class:t.normalizeClass(["inner",{"inner-en":e.lang==="en"}])},[e.footerLogo?(t.openBlock(),t.createElementBlock("div",E6,[t.createElementVNode("img",{class:"show-pc",src:e.footerLogo.logo,alt:""},null,8,x6),t.createElementVNode("img",{class:"show-mo",src:e.footerLogo.logoMb,alt:""},null,8,k6),t.createElementVNode("p",null,[t.createElementVNode("a",{class:"email",href:`mailto:${e.footerLogo.email}`,target:"_blank"},t.toDisplayString(e.footerLogo.email),9,_6)])])):t.createCommentVNode("",!0),e.footerOption?(t.openBlock(),t.createElementBlock("div",S6,[t.createElementVNode("div",w6,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.footerOption[e.lang].link,(s,a)=>(t.openBlock(),t.createElementBlock(t.Fragment,{key:s.url},[t.createElementVNode("a",{target:"_blank",href:s.url},t.toDisplayString(s.name),9,D6),a!==e.footerOption[e.lang].link.length-1?(t.openBlock(),t.createBlock(t.unref(A.ODivider),{key:0,style:{"--o-divider-bd-color":"var(--o-color-info3-inverse)","--o-divider-label-gap":"0 8px"},direction:"v"})):t.createCommentVNode("",!0)],64))),128))]),t.createElementVNode("p",B6,[t.createElementVNode("span",null,t.toDisplayString(e.footerOption[e.lang].licenseText),1),t.createTextVNode(" "+t.toDisplayString(e.footerOption[e.lang].licenseInfo),1)]),t.createElementVNode("div",V6,[t.createElementVNode("p",null,t.toDisplayString(e.footerOption[e.lang].copyright),1),t.createElementVNode("div",I6,[t.createElementVNode("a",{href:e.footerOption[e.lang].beianLink,target:"_blank"},t.toDisplayString(e.footerOption[e.lang].beianInfo1),9,N6),t.createElementVNode("img",{src:e.footerOption[e.lang].policeIcon,class:"filing-img"},null,8,O6),t.createElementVNode("p",null,t.toDisplayString(e.footerOption[e.lang].beianInfo2),1)])])])):t.createCommentVNode("",!0),e.qrcode?(t.openBlock(),t.createElementBlock("div",P6,[e.lang==="zh"?(t.openBlock(),t.createElementBlock("div",M6,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.qrcode,(s,a)=>(t.openBlock(),t.createElementBlock("div",{key:a,class:"code-pop"},[t.createElementVNode("img",{src:s.img,class:"code-img",alt:""},null,8,L6),t.createElementVNode("div",R6,[t.createElementVNode("img",{src:s.code,alt:""},null,8,q6),t.createElementVNode("p",F6,t.toDisplayString(s.label),1)])]))),128))])):t.createCommentVNode("",!0)])):t.createCommentVNode("",!0)],2)],!0)]),_:3})],4)],64))],2))}}),h0=Ue._export_sfc(eA,[["__scopeId","data-v-a9088eaf"]]),tA=Object.assign(h0,{install(r){r.component("OFooter",h0)}}),iA={version:"1.1",xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"};function nA(r,e){return t.openBlock(),t.createElementBlock("svg",iA,[...e[0]||(e[0]=[t.createElementVNode("path",{fill:"currentColor",d:"M9.461 11.616l4.719-3.932c0.212-0.177 0.527-0.148 0.704 0.064 0.075 0.090 0.116 0.203 0.116 0.32v7.865c0 0.276-0.224 0.5-0.5 0.5-0.117 0-0.23-0.041-0.32-0.116l-4.719-3.932c-0.212-0.177-0.241-0.492-0.064-0.704 0.019-0.023 0.041-0.045 0.064-0.064z"},null,-1)])])}const _p={name:"components-icon-caret-left",render:nA},rA={version:"1.1",xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"};function sA(r,e){return t.openBlock(),t.createElementBlock("svg",rA,[...e[0]||(e[0]=[t.createElementVNode("path",{fill:"currentColor",d:"M14.539 11.616l-4.719-3.932c-0.212-0.177-0.527-0.148-0.704 0.064-0.075 0.090-0.116 0.203-0.116 0.32v7.865c0 0.276 0.224 0.5 0.5 0.5 0.117 0 0.23-0.041 0.32-0.116l4.719-3.932c0.212-0.177 0.241-0.492 0.064-0.704-0.019-0.023-0.041-0.045-0.064-0.064z"},null,-1)])])}const Sp={name:"components-icon-caret-right",render:sA},aA={class:"header-nav-wrap"},oA={key:0,class:"left-icon"},lA=["onMouseenter","onMouseleave"],uA=["id"],cA={class:"nav-text"},dA=["id","onClick"],hA={class:"nav-text"},fA={key:1,class:"right-icon"},pA=t.defineComponent({__name:"HeaderNav",props:{navData:{},community:{},activeIndex:{},hoverId:{}},emits:["handle-mouseenter","handle-mouseleave","handle-click","nav-layout"],setup(r,{emit:e}){const i=e,n=r,s=t.ref(),a=t.ref(),o=t.ref(),l=t.ref(!1),c=t.ref(!1),d=t.ref(),m=wt.useDebounceFn((x,L)=>{d.value=x==null?void 0:x.id,L==="mouseenter"&&i("handle-mouseenter",x),L==="mouseleave"&&(d.value="",i("handle-mouseleave",x))},100),g=x=>{i("handle-click",x)},E=()=>{c.value=!0,t.nextTick(()=>{s.value.scrollTo({left:s.value.clientWidth,behavior:"smooth"})})},C=()=>{s.value.scrollTo({left:0,behavior:"smooth"}),c.value=!1},w=()=>{var x,L;((x=s.value)==null?void 0:x.clientWidth)<((L=a.value)==null?void 0:L.clientWidth)?(l.value||i("nav-layout",!0),setTimeout(()=>{l.value=!0},200)):(l.value&&i("nav-layout",!1),setTimeout(()=>{l.value=!1},200))},v=t.inject("navFirstHoverTime"),b=t.inject("navStepCount"),k=t.inject("increNavStepCount"),S=t.inject("updateNavFirstHoverTime"),D=t.inject("clearNavHandleTrace"),O=()=>D==null?void 0:D(),q=x=>(S==null||S(),k==null||k(),{event:"hover",properties:{module:"navigation",level1:x,target:x}}),R=x=>({properties:{module:"navigation",level1:x.label,target:x.label,...b&&{steps:b.value},url:x.href,...(v==null?void 0:v.value)&&{duration:Date.now()-v.value}}});return t.onMounted(()=>{window.addEventListener("resize",w),t.nextTick(()=>{w(),o.value=setTimeout(()=>{w()},1e3)})}),t.onUnmounted(()=>{window.removeEventListener("resize",w),clearTimeout(o.value)}),(x,L)=>{var V;const _=t.resolveDirective("analytics");return t.openBlock(),t.createElementBlock("div",aA,[t.createElementVNode("div",{class:t.normalizeClass(["header-nav",{"header-nav-scroll":c.value}])},[c.value?(t.openBlock(),t.createElementBlock("div",oA,[t.createVNode(t.unref(A.OIcon),{onClick:C},{default:t.withCtx(()=>[t.createVNode(t.unref(_p))]),_:1})])):t.createCommentVNode("",!0),t.createElementVNode("div",{ref_key:"navRef",ref:s,class:t.normalizeClass(["o-nav",{"o-nav-scroll":c.value||!l.value}])},[t.createElementVNode("ul",{ref_key:"navListRef",ref:a,class:t.normalizeClass(["o-nav-list",[(V=n.community)==null?void 0:V.toLowerCase()]]),onMouseenter:O},[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(r.navData,(I,z)=>{var M,U;return t.withDirectives((t.openBlock(),t.createElementBlock("li",{key:I.id,class:t.normalizeClass({"is-selected":d.value===I.id||n.hoverId===I.id,"is-active":n.activeIndex===z||n.activeIndex===I.id,"is-disabled":I==null?void 0:I.disabled}),onMouseenter:P=>t.unref(m)(I,"mouseenter"),onMouseleave:P=>t.unref(m)(I,"mouseleave")},[(M=I==null?void 0:I.children)!=null&&M.length?(t.openBlock(),t.createElementBlock("div",{key:0,id:"tour_headerNav_"+I.id,class:"nav-item"},[t.createElementVNode("span",cA,t.toDisplayString(I.label),1)],8,uA)):(t.openBlock(),t.createElementBlock("div",{key:1,id:"tour_headerNav_"+I.id,class:"nav-item item-other",onClick:P=>g(I)},[t.createElementVNode("span",hA,t.toDisplayString(I.label),1),I.tag?(t.openBlock(),t.createBlock(t.unref(A.OTag),{key:0,color:"danger",size:"small",class:t.normalizeClass(["content-tag",`tag-${(U=I==null?void 0:I.tag)==null?void 0:U.toLowerCase()}`])},{default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(I.tag),1)]),_:2},1032,["class"])):t.createCommentVNode("",!0)],8,dA))],42,lA)),[[_,()=>q(I.label),"mouseenter"],[_,()=>R(I)]])}),128))],34)],2),l.value&&!c.value?(t.openBlock(),t.createElementBlock("div",fA,[t.createVNode(t.unref(A.OIcon),{onClick:E},{default:t.withCtx(()=>[t.createVNode(t.unref(Sp))]),_:1})])):t.createCommentVNode("",!0)],2)])}}}),mA=Ue._export_sfc(pA,[["__scopeId","data-v-00cffd0d"]]),gA={class:"header-content-nav"},vA={class:"nav-sub-content"},yA={class:"content-left"},bA={class:"content-label"},CA={class:"content-container"},TA=["href","target"],AA={class:"popover-shortcut"},EA={key:0,class:"desc-container"},xA={class:"popover-item-desc"},kA={key:0,class:"split-line"},_A={key:1,class:"content-right"},SA={class:"content-label"},wA=["href","target"],DA={class:"popover-shortcut"},BA=["href","target"],VA=["src"],IA={class:"review-content"},NA={class:"popover-shortcut"},OA={class:"popover-shortcut"},PA=t.defineComponent({__name:"HeaderContent",props:{itemData:{},itemVisible:{type:Boolean},community:{},bgLeft:{},bgRight:{},hoverIndex:{}},emits:["handle-mouseenter-sub","handle-mouseleave-sub"],setup(r,{emit:e}){const i=e,n=r,{locale:s,t:a}=Ue.useI18n(),{theme:o,isDark:l}=vs(),c=t.ref(!1),d=()=>{var x;i("handle-mouseenter-sub",(x=n.itemData)==null?void 0:x.id),c.value=!0},m=()=>{i("handle-mouseleave-sub",""),c.value=!1},g=t.ref(!1),E=x=>{if(!x||!x.target)return;const L=x.target;g.value=L.clientHeight<L.scrollHeight},C=t.ref(!1),w=x=>{if(!x||!x.target)return;const L=x.target;C.value=L.clientHeight<L.scrollHeight},v=t.inject("hoveringNavLiName"),b=t.inject("closeNavPanel"),k=()=>{b==null||b(),c.value=!1},S=t.inject("navFirstHoverTime"),D=t.inject("navStepCount"),O=(x,L)=>({properties:{module:"navigation",level1:(v==null?void 0:v.value)??"",level2:x.label,level3:L.label,target:L.label,url:x.href,...D&&{steps:D.value},...(S==null?void 0:S.value)&&{duration:Date.now()-S.value}}}),q=x=>({properties:{module:"navigation",level1:(v==null?void 0:v.value)??"",level2:a("header.quickLink"),level3:x.label,target:x.label,url:x.href,...D&&{steps:D.value},...(S==null?void 0:S.value)&&{duration:Date.now()-S.value}}}),R=(x,L)=>L||(x!=null&&x.startsWith("http")?"_blank":"_self");return(x,L)=>{var V,I,z;const _=t.resolveDirective("analytics");return t.openBlock(),t.createElementBlock("div",{onMouseenter:d,onMouseleave:m},[(n.itemVisible||c.value)&&((I=(V=n.itemData)==null?void 0:V.children)!=null&&I.length)?(t.openBlock(),t.createElementBlock("div",{key:0,class:t.normalizeClass(["nav-content",[(z=n.community)==null?void 0:z.toLowerCase(),n.hoverIndex,t.unref(o),`${n.hoverIndex}-${t.unref(s)}`]])},[t.createElementVNode("div",{class:"nav-background-left",style:t.normalizeStyle({backgroundImage:`url(${n.bgLeft})`})},null,4),t.createElementVNode("div",{class:"nav-background-right",style:t.normalizeStyle({backgroundImage:`url(${n.bgRight})`})},null,4),t.createElementVNode("div",gA,[t.createVNode(t.unref(A.OScroller),{class:"nav-scroller","show-type":"always",size:"small","disabled-y":""},{default:t.withCtx(()=>{var M,U,P,te,j,G,ee,J;return[t.createElementVNode("div",vA,[t.createElementVNode("div",yA,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList((M=n.itemData)==null?void 0:M.children,(Q,X)=>(t.openBlock(),t.createElementBlock("div",{class:"item-sub",key:X},[t.createElementVNode("span",bA,t.toDisplayString(Q.label),1),t.createElementVNode("div",CA,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(Q.children,ne=>{var ve;return t.openBlock(),t.createElementBlock("div",{key:ne.label,class:t.normalizeClass(["content-item",{"content-item-disabled":ne==null?void 0:ne.disabled}])},[t.withDirectives((t.openBlock(),t.createElementBlock("a",{href:ne.href,target:R(ne.href,ne==null?void 0:ne.target),rel:"noopener noreferrer",class:"item-label",onClick:k},[C.value?(t.openBlock(),t.createBlock(t.unref(A.OPopover),{key:0,trigger:"hover",position:"bottom","adjust-min-width":!1,"adjust-width":!1},{target:t.withCtx(()=>[t.createElementVNode("p",{class:"item-name",onMouseenter:L[0]||(L[0]=W=>w(W))},t.toDisplayString(ne.label),33)]),default:t.withCtx(()=>[t.createElementVNode("p",AA,t.toDisplayString(ne.label),1)]),_:2},1024)):(t.openBlock(),t.createElementBlock("p",{key:1,class:"item-name",onMouseenter:L[1]||(L[1]=W=>w(W))},t.toDisplayString(ne.label),33)),ne.icon?(t.openBlock(),t.createBlock(t.unref(A.OIcon),{key:2},{default:t.withCtx(()=>[(t.openBlock(),t.createBlock(t.resolveDynamicComponent(ne.icon)))]),_:2},1024)):t.createCommentVNode("",!0),ne.tag?(t.openBlock(),t.createBlock(t.unref(A.OTag),{key:3,color:"danger",size:"small",class:t.normalizeClass(["content-tag",`tag-${(ve=ne==null?void 0:ne.tag)==null?void 0:ve.toLowerCase()}`])},{default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(ne.tag),1)]),_:2},1032,["class"])):t.createCommentVNode("",!0)],8,TA)),[[_,()=>O(Q,ne)]]),ne.description?(t.openBlock(),t.createElementBlock("div",EA,[g.value?(t.openBlock(),t.createBlock(t.unref(A.OPopover),{key:0,trigger:"hover",position:"bottom","adjust-min-width":!1,"adjust-width":!1},{target:t.withCtx(()=>[t.createElementVNode("p",{class:t.normalizeClass(["item-desc",[`item-desc-line-${ne==null?void 0:ne.line}`]]),onMouseenter:L[2]||(L[2]=W=>E(W))},t.toDisplayString(ne.description),35)]),default:t.withCtx(()=>[t.createElementVNode("p",xA,t.toDisplayString(ne.description),1)]),_:2},1024)):(t.openBlock(),t.createElementBlock("p",{key:1,class:t.normalizeClass(["item-desc",[`item-desc-line-${ne==null?void 0:ne.line}`]]),onMouseenter:L[3]||(L[3]=W=>E(W))},t.toDisplayString(ne.description),35))])):t.createCommentVNode("",!0)],2)}),128))])]))),128))]),(P=(U=n.itemData)==null?void 0:U.shortcut)!=null&&P.length?(t.openBlock(),t.createElementBlock("div",kA)):t.createCommentVNode("",!0),(j=(te=n.itemData)==null?void 0:te.shortcut)!=null&&j.length?(t.openBlock(),t.createElementBlock("div",_A,[t.createElementVNode("span",SA,t.toDisplayString(t.unref(a)("header.quickLink")),1),(G=n.itemData)!=null&&G.withPicture?(t.openBlock(!0),t.createElementBlock(t.Fragment,{key:1},t.renderList((J=n.itemData)==null?void 0:J.shortcut,Q=>t.withDirectives((t.openBlock(),t.createElementBlock("a",{key:Q.label,href:Q.href,target:R(Q.href,Q==null?void 0:Q.target),rel:"noopener noreferrer",class:"review",onClick:k},[t.createElementVNode("img",{src:t.unref(l)&&(Q!=null&&Q.pictureDark)?Q==null?void 0:Q.pictureDark:Q.picture,class:"review-picture"},null,8,VA),t.createElementVNode("div",IA,[g.value?(t.openBlock(),t.createBlock(t.unref(A.OPopover),{key:0,trigger:"hover",position:"bottom","adjust-min-width":!1,"adjust-width":!1},{target:t.withCtx(()=>[t.createElementVNode("p",{class:"review-label",onMouseenter:L[6]||(L[6]=X=>E(X))},t.toDisplayString(Q.label),33)]),default:t.withCtx(()=>[t.createElementVNode("p",NA,t.toDisplayString(Q.label),1)]),_:2},1024)):(t.openBlock(),t.createElementBlock("p",{key:1,class:"review-label",onMouseenter:L[7]||(L[7]=X=>E(X))},t.toDisplayString(Q.label),33)),C.value?(t.openBlock(),t.createBlock(t.unref(A.OPopover),{key:2,trigger:"hover",position:"bottom","adjust-min-width":!1,"adjust-width":!1},{target:t.withCtx(()=>[t.createElementVNode("div",{class:"review-property",onMouseenter:L[8]||(L[8]=X=>w(X))},t.toDisplayString(Q.remark),33)]),default:t.withCtx(()=>[t.createElementVNode("div",OA,t.toDisplayString(Q.remark),1)]),_:2},1024)):(t.openBlock(),t.createElementBlock("div",{key:3,class:"review-property",onMouseenter:L[9]||(L[9]=X=>w(X))},t.toDisplayString(Q.remark),33))])],8,BA)),[[_,()=>q(Q)]])),128)):(t.openBlock(!0),t.createElementBlock(t.Fragment,{key:0},t.renderList((ee=n.itemData)==null?void 0:ee.shortcut,Q=>(t.openBlock(),t.createElementBlock("div",{key:Q.label,class:"shortcut"},[t.withDirectives((t.openBlock(),t.createElementBlock("a",{href:Q.href,target:R(Q.href,Q==null?void 0:Q.target),rel:"noopener noreferrer",class:"shortcut-link",onClick:k},[g.value?(t.openBlock(),t.createBlock(t.unref(A.OPopover),{key:0,trigger:"hover",position:"bottom","adjust-min-width":!1,"adjust-width":!1},{target:t.withCtx(()=>[t.createElementVNode("p",{class:"shortcut-title",onMouseenter:L[4]||(L[4]=X=>E(X))},t.toDisplayString(Q.label),33)]),default:t.withCtx(()=>[t.createElementVNode("p",DA,t.toDisplayString(Q.label),1)]),_:2},1024)):(t.openBlock(),t.createElementBlock("p",{key:1,class:"shortcut-title",onMouseenter:L[5]||(L[5]=X=>E(X))},t.toDisplayString(Q.label),33)),Q.icon?(t.openBlock(),t.createBlock(t.unref(A.OIcon),{key:2},{default:t.withCtx(()=>[(t.openBlock(),t.createBlock(t.resolveDynamicComponent(Q.icon)))]),_:2},1024)):t.createCommentVNode("",!0)],8,wA)),[[_,()=>q(Q)]])]))),128))])):t.createCommentVNode("",!0)])]}),_:1})])],2)):t.createCommentVNode("",!0)],32)}}}),MA=Ue._export_sfc(PA,[["__scopeId","data-v-b3e261fa"]]),LA={class:"header-nav-wrap"},RA={key:0,class:"left-icon"},qA=["id","onMouseenter","onMouseleave"],FA=["id","onClick"],UA={class:"nav-text"},zA=["id","href","target","rel"],HA={class:"nav-text"},jA={key:2,class:"nav-item"},XA={class:"nav-text"},GA={class:"dropdown-wrapper"},QA={class:"dropdown-body"},YA=["onClick"],KA=["href","target","rel"],WA={key:1,class:"right-icon"},JA=t.defineComponent({__name:"HeaderFlatten",props:{navData:{},community:{},activeIndex:{},hoverId:{}},emits:["handle-mouseenter","handle-mouseleave","handle-click"],setup(r,{emit:e}){const i=e,n=r,s=t.ref(),a=wt.useDebounceFn((O,q)=>{s.value=O==null?void 0:O.id,q==="mouseenter"&&i("handle-mouseenter",O),q==="mouseleave"&&(s.value="",i("handle-mouseleave",O))},100),o=O=>{i("handle-click",O)},l=t.ref(),c=t.ref(),d=t.ref(),m=t.ref(!1),g=t.ref(!1),E=()=>{g.value=!0,t.nextTick(()=>{l.value.scrollTo({left:l.value.clientWidth,behavior:"smooth"})})},C=()=>{l.value.scrollTo({left:0,behavior:"smooth"}),g.value=!1},w=()=>{var O,q;((O=l.value)==null?void 0:O.clientWidth)<((q=c.value)==null?void 0:q.clientWidth)?m.value=!0:m.value=!1};let v=0,b=0;const k=O=>{const q=Date.now()-v,R=b+1;if(v=0,b=0,O._path){const x={};return O._path.forEach((L,_)=>{x[`level${_+1}`]=L}),{properties:{module:"navigation",timeUsed:q,steps:R,...x}}}},S=O=>{if(b++,!v)return v=Date.now(),{event:"hover",properties:{module:"navigation",target:O.label}}},D=()=>{v=0,b=0};return t.onMounted(()=>{window.addEventListener("resize",w),t.nextTick(()=>{w(),d.value=setTimeout(()=>{w()},1e3)})}),t.onUnmounted(()=>{window.removeEventListener("resize",w),clearTimeout(d.value)}),(O,q)=>{const R=t.resolveDirective("analytics");return t.openBlock(),t.createElementBlock("nav",LA,[t.createElementVNode("div",{class:t.normalizeClass(["header-nav",{"header-nav-scroll":g.value}])},[g.value?(t.openBlock(),t.createElementBlock("div",RA,[t.createVNode(t.unref(A.OIcon),{onClick:C},{default:t.withCtx(()=>[t.createVNode(t.unref(_p))]),_:1})])):t.createCommentVNode("",!0),t.createElementVNode("div",{ref_key:"navRef",ref:l,class:t.normalizeClass(["o-nav",{"o-nav-scroll":g.value||!m.value}])},[t.createElementVNode("ul",{ref_key:"navListRef",ref:c,class:"nav-list",onMouseleave:D},[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(r.navData,(x,L)=>{var _,V,I;return t.withDirectives((t.openBlock(),t.createElementBlock("li",{key:x.id,id:x.id,class:t.normalizeClass(["nav-item-li",{"is-selected":s.value===x.id||n.hoverId===x.id,"is-active":n.activeIndex===L||n.activeIndex===x.id,"is-disabled":x==null?void 0:x.disabled}]),onMouseenter:z=>t.unref(a)(x,"mouseenter"),onMouseleave:z=>t.unref(a)(x,"mouseleave")},[!x.href&&!((_=x.children)!=null&&_.length)?(t.openBlock(),t.createElementBlock("div",{key:0,id:"tour_headerNav_"+x.id,class:"nav-item",onClick:z=>o(x)},[t.createElementVNode("span",UA,t.toDisplayString(x.label),1),x.tag?(t.openBlock(),t.createBlock(t.unref(A.OTag),{key:0,color:"danger",size:"small",round:"pill",class:t.normalizeClass(`tag-${(V=x==null?void 0:x.tag)==null?void 0:V.toLowerCase()}`)},{default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(x.tag),1)]),_:2},1032,["class"])):t.createCommentVNode("",!0)],8,FA)):!((I=x.children)!=null&&I.length)&&x.href?(t.openBlock(),t.createElementBlock("a",{key:1,id:"tour_headerNav_"+x.id,class:"nav-item nav-item-link",href:x.href,target:(x==null?void 0:x.target)||"_self",rel:x.href.startsWith("http")?"noopener noreferrer":""},[t.createElementVNode("span",HA,t.toDisplayString(x.label),1)],8,zA)):(t.openBlock(),t.createElementBlock("div",jA,[t.createElementVNode("span",XA,t.toDisplayString(x.label),1),t.createElementVNode("div",GA,[t.createElementVNode("div",QA,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(x.children,(z,M)=>{var U,P;return t.openBlock(),t.createElementBlock("div",{key:M},[z.href?t.withDirectives((t.openBlock(),t.createElementBlock("div",{key:1,class:t.normalizeClass(["dropdown-item",{"dropdown-item-disabled":z==null?void 0:z.disabled}])},[t.createElementVNode("a",{href:z.href,class:"dropdown-link",target:(z==null?void 0:z.target)||"_self",rel:z.href.startsWith("http")?"noopener noreferrer":""},[t.createElementVNode("span",null,t.toDisplayString(z.label),1),z.icon?(t.openBlock(),t.createBlock(t.unref(A.OIcon),{key:0},{default:t.withCtx(()=>[(t.openBlock(),t.createBlock(t.resolveDynamicComponent(z.icon)))]),_:2},1024)):t.createCommentVNode("",!0),z.tag?(t.openBlock(),t.createBlock(t.unref(A.OTag),{key:1,color:"danger",size:"small",round:"pill",class:t.normalizeClass(`tag-${(P=z==null?void 0:z.tag)==null?void 0:P.toLowerCase()}`)},{default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(z.tag),1)]),_:2},1032,["class"])):t.createCommentVNode("",!0)],8,KA)],2)),[[R,()=>k(z)]]):(t.openBlock(),t.createElementBlock("div",{key:0,class:t.normalizeClass(["dropdown-item",{"dropdown-item-disabled":z==null?void 0:z.disabled}]),onClick:te=>o(z)},[t.createElementVNode("span",null,t.toDisplayString(z.label),1),z.tag?(t.openBlock(),t.createBlock(t.unref(A.OTag),{key:0,color:"danger",size:"small",round:"pill",class:t.normalizeClass(`tag-${(U=z==null?void 0:z.tag)==null?void 0:U.toLowerCase()}`)},{default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(z.tag),1)]),_:2},1032,["class"])):t.createCommentVNode("",!0)],10,YA))])}),128))])])]))],42,qA)),[[R,()=>S(x),"mouseenter"]])}),128))],544)],2),m.value&&!g.value?(t.openBlock(),t.createElementBlock("div",WA,[t.createVNode(t.unref(A.OIcon),{onClick:E},{default:t.withCtx(()=>[t.createVNode(t.unref(Sp))]),_:1})])):t.createCommentVNode("",!0)],2)])}}}),ZA=Ue._export_sfc(JA,[["__scopeId","data-v-a4e11dfd"]]),$A={class:"header"},e9={class:"header-content"},t9=["src"],i9={key:0,class:"header-nav-top"},n9={key:1,class:"header-nav-flatten"},r9={key:2,class:"header-toolbar"},s9=t.defineComponent({__name:"OHeader",props:{logo:{},community:{},navData:{},bgLeft:{},bgRight:{},activeIndex:{},codeData:{},langData:{},isSimpleHeader:{type:Boolean},headerTitle:{},isFlatten:{type:Boolean,default:!1}},emits:["go-home","handle-click","nav-layout"],setup(r,{emit:e}){const i=e,n=r,s=t.ref(),a=t.ref(),o=t.ref(),l=t.ref(!1),c=t.computed(()=>{var I;return(I=o.value)==null?void 0:I.label});t.provide("hoveringNavLiName",c);const d=t.ref(null),m=t.ref(),g=t.ref({x:0,y:0});let E=null;const C=()=>{d.value!==null&&(clearTimeout(d.value),d.value=null),w()},w=()=>{E&&(document.removeEventListener("mousemove",E),E=null)},v=(I,z,M,U,P,te,j,G)=>{const ee=(I-P)*(U-te)-(M-P)*(z-te),J=(I-j)*(te-G)-(P-j)*(z-G),Q=(I-M)*(G-U)-(j-M)*(z-U),X=ee<0||J<0||Q<0,ne=ee>0||J>0||Q>0;return!(X&&ne)},b=(I=!0)=>{C();const z={...g.value},M=()=>{d.value=window.setTimeout(()=>{w(),l.value=!1,d.value=null},100)};if(I&&m.value&&l.value){const U=m.value.getBoundingClientRect();E=P=>{const te=P.clientX,j=P.clientY;if(te>=U.left&&te<=U.right&&j>=U.top&&j<=U.bottom){C();return}v(te,j,z.x,z.y,U.left,U.top,U.right,U.top)?(d.value!==null&&clearTimeout(d.value),M()):(C(),l.value=!1)},document.addEventListener("mousemove",E)}M()},k=I=>{g.value={x:I.clientX,y:I.clientY}},S=I=>{i("nav-layout",I)},D=()=>{i("go-home")},O=I=>{var z;C(),o.value=I,s.value=I.id,(z=I==null?void 0:I.children)!=null&&z.length&&(l.value=!0)},q=()=>{b(!0)},R=I=>{i("handle-click",I)},x=I=>{C(),a.value=I},L=I=>{a.value=I,b(!1)},_=t.ref(0),V=t.ref(0);return t.provide("navStepCount",t.readonly(V)),t.provide("navFirstHoverTime",t.readonly(_)),t.provide("increNavStepCount",()=>{V.value++}),t.provide("updateNavFirstHoverTime",()=>{_.value||(_.value=Date.now())}),t.provide("clearNavHandleTrace",()=>{V.value=0,_.value=0}),t.provide("closeNavPanel",()=>{C(),l.value=!1}),t.onUnmounted(()=>{C()}),(I,z)=>(t.openBlock(),t.createElementBlock("div",$A,[t.createElementVNode("div",{class:"header-wrap",onMousemove:k},[t.createElementVNode("div",e9,[t.createElementVNode("div",{class:"header-logo",onClick:D},[t.renderSlot(I.$slots,"logo",{},()=>[n.logo?(t.openBlock(),t.createElementBlock("img",{key:0,class:"logo",alt:"logo",src:n.logo},null,8,t9)):t.createCommentVNode("",!0)],!0)]),n.isFlatten?t.createCommentVNode("",!0):(t.openBlock(),t.createElementBlock("div",i9,[t.renderSlot(I.$slots,"nav",{},()=>[n.navData?(t.openBlock(),t.createBlock(mA,{key:0,"nav-data":n.navData,hoverId:a.value,"active-index":n.activeIndex,community:n.community,onHandleMouseenter:O,onHandleMouseleave:q,onHandleClick:R,onNavLayout:S},null,8,["nav-data","hoverId","active-index","community"])):t.createCommentVNode("",!0)],!0)])),n.isFlatten?(t.openBlock(),t.createElementBlock("div",n9,[t.renderSlot(I.$slots,"nav",{},()=>[n.navData?(t.openBlock(),t.createBlock(ZA,{key:0,"nav-data":n.navData,hoverId:a.value,"active-index":n.activeIndex,onHandleMouseenter:O,onHandleMouseleave:q,onHandleClick:R,onNavLayout:S},null,8,["nav-data","hoverId","active-index"])):t.createCommentVNode("",!0)],!0)])):t.createCommentVNode("",!0),I.$slots.toolbar?(t.openBlock(),t.createElementBlock("div",r9,[t.renderSlot(I.$slots,"toolbar",{},void 0,!0)])):t.createCommentVNode("",!0)])],32),n.isFlatten?t.createCommentVNode("",!0):(t.openBlock(),t.createElementBlock("div",{key:0,ref_key:"contentRef",ref:m,class:"header-nav-content",onMousemove:k},[t.createVNode(MA,{itemData:o.value,"item-visible":l.value,"bg-left":n.bgLeft,"bg-right":n.bgRight,community:n.community,"hover-index":s.value,onHandleMouseenterSub:x,onHandleMouseleaveSub:L},null,8,["itemData","item-visible","bg-left","bg-right","community","hover-index"])],544))]))}}),f0=Ue._export_sfc(s9,[["__scopeId","data-v-8cae5712"]]);var wn=(r=>(r.NAV="nav",r.CODE="code",r.LANG="lang",r))(wn||{});const a9={class:"o-nav"},o9={class:"o-nav-list"},l9=["onClick"],u9={class:"header-tool"},c9={key:2,class:"other-tool"},d9={key:0,class:"nav-aside-wrapper"},h9=["value"],f9={class:"content-label"},p9={class:"container-mobile"},m9=["onClick"],g9={class:"item-label"},v9={class:"desc-container"},y9={class:"item-desc"},b9=["onClick"],C9={class:"item-label"},T9={key:1,class:"nav-aside-wrapper"},A9=["onClick"],E9=t.defineComponent({__name:"HeaderNavMobile",props:{menuShow:{type:Boolean,default:!1},navData:{default:()=>[]},codeData:{},langData:{},activeIndex:{},community:{}},emits:["on-click","lang-click","handle-click"],setup(r,{emit:e}){const i=e,n=r,s=t.ref(""),a=t.ref(),o=(d,m)=>{var g;m===wn.NAV?(g=d==null?void 0:d.children)!=null&&g.length?(s.value=d.id,a.value=d):i("handle-click",d):m===wn.CODE?(s.value=m,a.value=n.codeData):m===wn.LANG&&(s.value=m,a.value=n.langData)},l=(d,m)=>{window.open(d,m||"_self"),i("on-click")},c=d=>{"href"in d?l(d.href,d==null?void 0:d.target):i("lang-click",d)};return t.watch(()=>n.activeIndex,d=>{var g;const m=n.navData.find((E,C)=>E.id===d||C===d);s.value=m?m.id:(g=n.navData[0])==null?void 0:g.id,a.value=m||n.navData[0]},{immediate:!0}),t.watch(()=>[n.navData,n.codeData,n.langData],()=>{var d;if(s.value===wn.CODE)a.value=n.codeData;else if(s.value===wn.LANG)a.value=n.langData;else{const m=n.navData.find((g,E)=>g.id===n.activeIndex||E===n.activeIndex);s.value=m?m.id:(d=n.navData[0])==null?void 0:d.id,a.value=m||n.navData[0]}},{deep:!0}),(d,m)=>{var g,E,C,w,v;return t.openBlock(),t.createElementBlock("div",{class:t.normalizeClass(["header-nav",{active:r.menuShow}])},[t.createElementVNode("div",a9,[t.createElementVNode("ul",o9,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(r.navData,b=>(t.openBlock(),t.createElementBlock("li",{key:b.id,class:t.normalizeClass({active:s.value===b.id,"is-disabled":b==null?void 0:b.disabled})},[t.createElementVNode("span",{class:"text-label",onClick:k=>o(b,"nav")},t.toDisplayString(b.label),9,l9)],2))),128))]),t.createElementVNode("div",u9,[(g=r.codeData)!=null&&g.label?(t.openBlock(),t.createElementBlock("div",{key:0,class:t.normalizeClass(["header-tool-item",{active:s.value==="code"}]),onClick:m[0]||(m[0]=b=>o(null,"code"))},t.toDisplayString(r.codeData.label),3)):t.createCommentVNode("",!0),(E=r.langData)!=null&&E.label?(t.openBlock(),t.createElementBlock("div",{key:1,class:t.normalizeClass(["header-tool-item",{active:s.value==="lang"}]),onClick:m[1]||(m[1]=b=>o(null,"lang"))},t.toDisplayString(r.langData.label),3)):t.createCommentVNode("",!0),d.$slots.tool?(t.openBlock(),t.createElementBlock("div",c9,[t.renderSlot(d.$slots,"tool",{},void 0,!0)])):t.createCommentVNode("",!0)])]),(w=(C=a.value)==null?void 0:C.children)!=null&&w.length?(t.openBlock(),t.createElementBlock("div",{key:0,class:t.normalizeClass(["nav-aside",[(v=n.community)==null?void 0:v.toLowerCase()]])},[s.value!=="code"&&s.value!=="lang"?(t.openBlock(),t.createElementBlock("ul",d9,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(a.value.children,b=>{var k;return t.openBlock(),t.createElementBlock("li",{value:b.label,key:b.label,class:"nav-aside-content"},[b!=null&&b.children?(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[t.createElementVNode("p",f9,t.toDisplayString(b.label),1),t.createElementVNode("div",p9,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(b==null?void 0:b.children,S=>{var D;return t.openBlock(),t.createElementBlock("div",{key:S.label,class:t.normalizeClass(["content-container-mobile",{"content-item-disabled":S==null?void 0:S.disabled}])},[t.createElementVNode("a",{onClick:O=>l(S.href,S==null?void 0:S.target),rel:"noopener noreferrer",class:"content-subtitle"},[t.createElementVNode("span",g9,t.toDisplayString(S.label),1),S.icon?(t.openBlock(),t.createBlock(t.unref(A.OIcon),{key:0},{default:t.withCtx(()=>[(t.openBlock(),t.createBlock(t.resolveDynamicComponent(S.icon),{class:"icon"}))]),_:2},1024)):t.createCommentVNode("",!0),S.tag?(t.openBlock(),t.createBlock(t.unref(A.OTag),{key:1,color:"danger",size:"small",class:t.normalizeClass(["content-tag",`tag-${(D=S==null?void 0:S.tag)==null?void 0:D.toLowerCase()}`])},{default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(S.tag),1)]),_:2},1032,["class"])):t.createCommentVNode("",!0)],8,m9),t.createElementVNode("div",v9,[t.createElementVNode("p",y9,t.toDisplayString(S.description),1)])],2)}),128))])],64)):(t.openBlock(),t.createElementBlock("a",{key:1,onClick:S=>l(b.href,b==null?void 0:b.target),rel:"noopener noreferrer",class:"content-subtitle item-not-children"},[t.createElementVNode("span",C9,t.toDisplayString(b.label),1),b.icon?(t.openBlock(),t.createBlock(t.unref(A.OIcon),{key:0},{default:t.withCtx(()=>[(t.openBlock(),t.createBlock(t.resolveDynamicComponent(b.icon),{class:"icon"}))]),_:2},1024)):t.createCommentVNode("",!0),b.tag?(t.openBlock(),t.createBlock(t.unref(A.OTag),{key:1,color:"danger",size:"small",class:t.normalizeClass(`tag-${(k=b==null?void 0:b.tag)==null?void 0:k.toLowerCase()}`)},{default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(b.tag),1)]),_:2},1032,["class"])):t.createCommentVNode("",!0)],8,b9))],8,h9)}),128))])):(t.openBlock(),t.createElementBlock("div",T9,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(a.value.children,b=>(t.openBlock(),t.createElementBlock("a",{key:b.label,onClick:k=>c(b),class:"source-code-item"},[t.createElementVNode("span",null,t.toDisplayString(b.label),1),b.icon?(t.openBlock(),t.createBlock(t.unref(A.OIcon),{key:0},{default:t.withCtx(()=>[(t.openBlock(),t.createBlock(t.resolveDynamicComponent(b.icon),{class:"icon"}))]),_:2},1024)):t.createCommentVNode("",!0)],8,A9))),128))]))],2)):t.createCommentVNode("",!0)],2)}}}),x9=Ue._export_sfc(E9,[["__scopeId","data-v-69771293"]]),k9={version:"1.1",xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"};function _9(r,e){return t.openBlock(),t.createElementBlock("svg",k9,[...e[0]||(e[0]=[t.createElementVNode("path",{fill:"currentColor",d:"M3.8 5h16.4c0.442 0 0.8 0.359 0.8 0.8s-0.358 0.8-0.8 0.8h-16.4c-0.442 0-0.8-0.358-0.8-0.8s0.358-0.8 0.8-0.8zM3.8 11h16.4c0.442 0 0.8 0.359 0.8 0.8s-0.358 0.8-0.8 0.8h-16.4c-0.442 0-0.8-0.358-0.8-0.8s0.358-0.8 0.8-0.8zM3.8 17h16.4c0.442 0 0.8 0.358 0.8 0.8s-0.358 0.8-0.8 0.8h-16.4c-0.442 0-0.8-0.359-0.8-0.8s0.358-0.8 0.8-0.8z"},null,-1)])])}const S9={name:"components-icon-header-menu",render:_9},w9={class:"header"},D9={class:"header-box"},B9={key:0,class:"header-simple"},V9={class:"simple-header-left"},I9={key:0,class:"header-title"},N9={key:0,class:"simple-header-right"},O9={class:"header-left"},P9={class:"header-center"},M9=["src"],L9={class:"header-right"},R9=t.defineComponent({__name:"OHeaderMobile",props:{logo:{},community:{},navData:{},bgLeft:{},bgRight:{},activeIndex:{},codeData:{},langData:{},isSimpleHeader:{type:Boolean},headerTitle:{},isFlatten:{type:Boolean}},emits:["go-back","lang-click","go-home","handle-click"],setup(r,{emit:e}){const i=e,n=r,s=()=>{i("go-back")},a=()=>{i("go-home")},o=t.ref(!1),l=()=>{setTimeout(()=>{o.value=!o.value},200)},c=()=>{l()},d=g=>{i("handle-click",g),l()},m=g=>{i("lang-click",g),l()};return(g,E)=>(t.openBlock(),t.createElementBlock("div",w9,[t.createElementVNode("div",D9,[t.createVNode(Ln,{class:"header-wrap"},{default:t.withCtx(()=>[r.isSimpleHeader?(t.openBlock(),t.createElementBlock("div",B9,[t.createElementVNode("div",V9,[t.createVNode(t.unref(A.OIcon),{onClick:s},{default:t.withCtx(()=>[t.createVNode(t.unref(A.OIconArrowLeft))]),_:1}),r.headerTitle?(t.openBlock(),t.createElementBlock("div",I9,t.toDisplayString(r.headerTitle),1)):t.createCommentVNode("",!0)]),g.$slots.rightConfig?(t.openBlock(),t.createElementBlock("div",N9,[t.renderSlot(g.$slots,"rightConfig",{},void 0,!0)])):t.createCommentVNode("",!0)])):(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[t.createElementVNode("div",O9,[t.createVNode(t.unref(A.OIcon),{onClick:l},{default:t.withCtx(()=>[o.value?(t.openBlock(),t.createBlock(t.unref(Da),{key:1})):(t.openBlock(),t.createBlock(t.unref(S9),{key:0}))]),_:1})]),t.createElementVNode("div",P9,[t.createElementVNode("div",{class:"header-logo",onClick:a},[t.renderSlot(g.$slots,"logo",{},()=>[n.logo?(t.openBlock(),t.createElementBlock("img",{key:0,class:"logo",alt:"logo",src:n.logo},null,8,M9)):t.createCommentVNode("",!0)],!0)])]),t.createElementVNode("div",L9,[t.renderSlot(g.$slots,"toolbar",{},void 0,!0)])],64))]),_:3})]),t.createElementVNode("div",{class:t.normalizeClass(["header-content-mb",{"header-content-active":o.value}])},[t.createVNode(x9,{ref:"mobileNav","nav-data":r.navData,"code-data":r.codeData,"lang-data":r.langData,"menu-show":o.value,community:n.community,"active-index":r.activeIndex,onHandleClick:d,onOnClick:c,onLangClick:m},{tool:t.withCtx(()=>[t.renderSlot(g.$slots,"tool",{},void 0,!0)]),_:3},8,["nav-data","code-data","lang-data","menu-show","community","active-index"])],2)]))}}),p0=Ue._export_sfc(R9,[["__scopeId","data-v-0a2d44bb"]]),q9=Object.assign(f0,{install(r){r.component("OHeader",f0)}}),F9=Object.assign(p0,{install(r){r.component("OHeaderMobile",p0)}}),U9={version:"1.1",xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"};function z9(r,e){return t.openBlock(),t.createElementBlock("svg",U9,[...e[0]||(e[0]=[t.createElementVNode("path",{fill:"currentColor",d:"M12.066 3.3c4.775 0.035 8.634 3.917 8.634 8.7s-3.859 8.664-8.633 8.699c-0.024 0.003-0.049 0.004-0.073 0.004-0.019 0-0.038-0.001-0.057-0.003l-0.005-0c-4.774-0.036-8.633-3.918-8.633-8.7s3.859-8.664 8.634-8.7h0.005c0.022-0.002 0.045-0.003 0.067-0.003 0.020 0 0.040 0.001 0.060 0.003zM4.733 11.3h2.589c0.021-0.33 0.058-0.658 0.109-0.984 0.045-0.288 0.103-0.573 0.172-0.857 0.096-0.393 0.213-0.778 0.352-1.155 0.146-0.398 0.317-0.787 0.511-1.168 0.171-0.336 0.36-0.661 0.564-0.975 0.239-0.366 0.501-0.718 0.785-1.055 0.028-0.033 0.056-0.066 0.084-0.099-2.793 0.837-4.882 3.302-5.167 6.293zM4.733 12.7c0.284 2.991 2.374 5.456 5.167 6.293l-0.084-0.099c-0.284-0.337-0.546-0.689-0.785-1.055-0.205-0.314-0.393-0.639-0.564-0.975-0.195-0.38-0.365-0.77-0.511-1.168-0.139-0.377-0.256-0.762-0.352-1.155-0.069-0.284-0.126-0.57-0.172-0.857-0.052-0.326-0.088-0.654-0.109-0.984h-2.589zM8.726 12.7c0.020 0.274 0.053 0.547 0.097 0.817 0.038 0.232 0.085 0.464 0.141 0.693 0.171 0.702 0.42 1.374 0.749 2.017 0.147 0.288 0.309 0.567 0.484 0.837 0.21 0.322 0.439 0.631 0.689 0.927 0.242 0.287 0.5 0.558 0.774 0.812l0.071 0.065q0.132 0.121 0.27 0.237 0.137-0.116 0.27-0.237l0.071-0.065c0.273-0.254 0.531-0.525 0.774-0.812 0.25-0.296 0.479-0.605 0.689-0.927 0.175-0.27 0.337-0.549 0.484-0.837 0.329-0.643 0.578-1.316 0.749-2.017 0.056-0.23 0.103-0.461 0.141-0.693 0.044-0.27 0.077-0.543 0.097-0.817h-6.548zM15.274 11.3c-0.020-0.274-0.053-0.547-0.097-0.817-0.038-0.233-0.085-0.464-0.141-0.694-0.082-0.34-0.184-0.673-0.304-0.999-0.128-0.347-0.276-0.687-0.445-1.018-0.147-0.288-0.309-0.567-0.484-0.837-0.209-0.322-0.439-0.631-0.689-0.927-0.242-0.287-0.501-0.558-0.774-0.813l-0.071-0.065q-0.132-0.121-0.27-0.237-0.137 0.116-0.27 0.237l-0.071 0.065c-0.273 0.254-0.531 0.525-0.774 0.813-0.25 0.296-0.479 0.605-0.689 0.927-0.176 0.27-0.337 0.549-0.484 0.837-0.169 0.332-0.318 0.671-0.445 1.018-0.12 0.326-0.221 0.659-0.304 0.999-0.056 0.23-0.103 0.461-0.141 0.694-0.044 0.27-0.077 0.543-0.097 0.817h6.548zM16.677 11.3h2.589c-0.284-2.991-2.374-5.456-5.167-6.293l0.084 0.099c0.284 0.337 0.546 0.689 0.785 1.055 0.205 0.314 0.393 0.639 0.564 0.975 0.195 0.381 0.365 0.77 0.511 1.168 0.139 0.377 0.256 0.762 0.351 1.155 0.069 0.284 0.126 0.57 0.172 0.857 0.051 0.326 0.088 0.654 0.109 0.984zM16.677 12.7c-0.021 0.33-0.058 0.658-0.109 0.984-0.045 0.288-0.103 0.573-0.172 0.857-0.096 0.393-0.213 0.778-0.351 1.155-0.147 0.398-0.317 0.788-0.511 1.168-0.171 0.336-0.36 0.661-0.564 0.975-0.239 0.366-0.501 0.718-0.785 1.055l-0.084 0.099c2.793-0.838 4.882-3.302 5.167-6.293h-2.589z"},null,-1)])])}const H9={name:"components-icon-locale",render:z9},j9={class:"info-wrap"},X9=["onClick"],G9=t.defineComponent({__name:"OHeaderLanguageSwitcher",props:{options:{type:Array,default(){return[{id:"zh",label:"简体中文",simple:"中"},{id:"en",label:"English",simple:"EN"}]}},type:{type:String,default:"auto"},auto:{type:Boolean,default:!0},disabled:{type:Boolean,default:!1},itemRadius:{type:Number,default:4}},emits:["change"],setup(r,{emit:e}){const i=r,{changeLocale:n,locale:s}=Et.useLocale(),{lePadV:a}=Et.useScreen(),o=t.computed(()=>s.value),l=e,c=g=>{i.auto&&n(),l("change",g)},d=(g,E)=>{const C=i.options.find(v=>v.id===g);if(C)return E?C.simple:C.label;const w=i.options[0];return E?w.simple:w.label},m=t.computed(()=>i.type==="common"||i.type==="auto"&&!a.value);return(g,E)=>m.value?(t.openBlock(),t.createElementBlock("div",{key:0,class:t.normalizeClass([r.options.length<=1?"hide-lang":"header-lang",r.disabled?"is-disabled":""])},[t.createVNode(t.unref(A.ODropdown),{trigger:"hover",optionPosition:"bottom","option-width-mode":"auto",optionWrapClass:{"is-disabled":r.disabled}},{dropdown:t.withCtx(()=>[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(r.options,C=>(t.openBlock(),t.createBlock(t.unref(A.ODropdownItem),{onClick:w=>c(C),key:C.id,class:t.normalizeClass({"is-active":o.value===C.id}),style:t.normalizeStyle({"--dropdown-item-radius":`${r.itemRadius}px`})},{default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(d(C.id)),1)]),_:2},1032,["onClick","class","style"]))),128))]),default:t.withCtx(()=>[t.createElementVNode("div",j9,[t.createVNode(t.unref(A.OIcon),{class:"icon"},{default:t.withCtx(()=>[t.createVNode(t.unref(H9)),t.createElementVNode("div",{class:t.normalizeClass(["locale-tag",{"is-en":o.value==="en"}])},t.toDisplayString(d(o.value,!0)),3)]),_:1})])]),_:1},8,["optionWrapClass"])],2)):(t.openBlock(),t.createElementBlock("div",{key:1,class:t.normalizeClass([r.options.length<=1?"hide-lang":"mobile-change-language",r.disabled?"is-disabled":""])},[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(r.options,(C,w)=>(t.openBlock(),t.createElementBlock(t.Fragment,{key:C.id},[w!==0?(t.openBlock(),t.createBlock(t.unref(A.ODivider),{key:0,direction:"v"})):t.createCommentVNode("",!0),t.createElementVNode("span",{class:t.normalizeClass({active:o.value===C.id}),onClick:t.withModifiers(v=>c(C),["stop"])},t.toDisplayString(d(C.id,!0)),11,X9)],64))),128))],2))}}),m0=Ue._export_sfc(G9,[["__scopeId","data-v-2620f484"]]),Q9=Object.assign(m0,{install(r){r.component("OHeaderLanguageSwitcher",m0)}});function Y9(r){const e=t.ref(""),i=t.ref(null),n=t.ref(""),s=t.ref(!1);let a=null;const o=b=>{var D,O,q,R;const k=(D=r.allowedImageTypes)==null?void 0:D.value,S=k&&k.length>0?k.includes(b.type):(O=b.type)==null?void 0:O.startsWith("image/");return!b.type||!S?((q=r.onValidationError)==null||q.call(r,"type",b),!1):r.maxImageSize.value>0&&b.size>r.maxImageSize.value?((R=r.onValidationError)==null||R.call(r,"size",b),!1):!0},l=()=>{if(e.value)try{URL.revokeObjectURL(e.value)}catch{}e.value="",i.value=null,n.value="",s.value=!1,a=null},c=b=>{if(!b){i.value||l();return}if(n.value!==b){if(e.value&&e.value.startsWith("blob:"))try{URL.revokeObjectURL(e.value)}catch{}n.value=b,e.value=b,i.value=null}},d=b=>{var S,D;if(!o(b))return;l(),i.value=b,e.value=URL.createObjectURL(b),(S=r.onUploadStart)==null||S.call(r,b);const k=(D=r.uploadImage)==null?void 0:D.value;k&&(s.value=!0,a=Promise.resolve().then(()=>k(b)).then(O=>{var q;O&&i.value===b&&(n.value=O,(q=r.onUploadSuccess)==null||q.call(r,O,b))}).catch(O=>{var q;(q=r.onUploadError)==null||q.call(r,O,b)}).finally(()=>{s.value=!1}))},m=b=>{var S;const k=(S=b.clipboardData)==null?void 0:S.items;if(k)for(let D=0;D<k.length;D++){const O=k[D];if(O.type.startsWith("image/")){const q=O.getAsFile();q&&d(q);break}}},g=b=>{b.preventDefault(),b.stopPropagation()},E=b=>{var S,D;b.preventDefault(),b.stopPropagation();const k=(D=(S=b.dataTransfer)==null?void 0:S.files)==null?void 0:D[0];k&&k.type.startsWith("image/")&&d(k)},C=b=>{var D;const k=b.target,S=(D=k.files)==null?void 0:D[0];S&&d(S),k&&(k.value="")},w=b=>{b&&(b.value="",b.click())},v=()=>a??Promise.resolve();return t.onBeforeUnmount(l),{previewUrl:e,file:i,uploadedUrl:n,isUploading:s,onPaste:m,onDrop:E,onDragOver:g,onFileChange:C,pickFile:w,handleImageFile:d,reset:l,setExternalUrl:c,awaitUpload:v}}const K9={version:"1.1",xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"};function W9(r,e){return t.openBlock(),t.createElementBlock("svg",K9,[...e[0]||(e[0]=[t.createElementVNode("path",{fill:"currentColor",d:"M10.819 3.459c-4.099 0-7.423 3.323-7.423 7.423s3.323 7.423 7.423 7.423c4.099 0 7.423-3.323 7.423-7.423s-3.323-7.423-7.423-7.423zM10.82 4.853c3.326 0 6.023 2.696 6.023 6.023s-2.696 6.023-6.023 6.023c-3.326 0-6.023-2.696-6.023-6.023s2.696-6.023 6.023-6.023zM17.549 16.53c-0.274-0.197-0.657-0.171-0.903 0.075-0.273 0.274-0.273 0.717 0.001 0.99l2.76 2.754 0.087 0.074c0.274 0.197 0.657 0.171 0.903-0.075 0.273-0.274 0.273-0.717-0.001-0.99l-2.76-2.754-0.087-0.074z"},null,-1)])])}const wp={name:"components-icon-header-search",render:W9},J9={version:"1.1",xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"};function Z9(r,e){return t.openBlock(),t.createElementBlock("svg",J9,[...e[0]||(e[0]=[t.createElementVNode("path",{opacity:"0.8",d:"M19.724 4.238c1.105 0 2 0.895 2 2v6.772c0 0.387-0.313 0.7-0.7 0.7s-0.7-0.313-0.7-0.7v-0.816l-3.544 3.84c-0.248 0.268-0.661 0.301-0.948 0.075l-4.13-3.256-3.925 3.843c-0.249 0.243-0.632 0.264-0.904 0.064l-0.086-0.075c-0.27-0.276-0.266-0.72 0.011-0.99l4.365-4.273c0.251-0.246 0.647-0.267 0.923-0.050l4.104 3.235 4.134-4.478v-3.892c0-0.331-0.269-0.6-0.6-0.6h-15.45c-0.331 0-0.6 0.269-0.6 0.6v11.501c0 0.331 0.269 0.6 0.6 0.6h9.781c0.387 0 0.7 0.313 0.7 0.7s-0.313 0.7-0.7 0.7h-9.781c-1.105 0-2-0.895-2-2v-11.501c0-1.105 0.895-2 2-2h15.45zM9.532 8.878c0-0.695-0.579-1.259-1.294-1.259s-1.294 0.564-1.294 1.259c0 0.695 0.579 1.259 1.294 1.259s1.294-0.564 1.294-1.259zM16.561 18.645c-0.195-0.195-0.195-0.512 0-0.707l2.090-2.090c0.010-0.011 0.020-0.021 0.030-0.030l0.001-0.001c0.195-0.195 0.512-0.195 0.707 0l2.121 2.121c0.195 0.195 0.195 0.512 0 0.707s-0.512 0.195-0.707 0l-1.284-1.284v3.57c0 0.276-0.224 0.5-0.5 0.5s-0.5-0.224-0.5-0.5v-3.538l-1.251 1.251c-0.174 0.174-0.443 0.193-0.638 0.058l-0.069-0.058z"},null,-1)])])}const $9={name:"components-icon-image-upload",render:Z9},eE={version:"1.1",xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"};function tE(r,e){return t.openBlock(),t.createElementBlock("svg",eE,[...e[0]||(e[0]=[t.createElementVNode("path",{fill:"#6f6f75",d:"M22.5 12c0 5.799-4.701 10.5-10.5 10.5s-10.5-4.701-10.5-10.5c0-5.799 4.701-10.5 10.5-10.5s10.5 4.701 10.5 10.5z"},null,-1),t.createElementVNode("path",{fill:"#ffffff",d:"M15.3 7.631c0.274-0.197 0.657-0.172 0.903 0.074 0.273 0.273 0.273 0.717 0 0.99l-3.259 3.259 3.259 3.259c0.273 0.273 0.273 0.717 0 0.99-0.246 0.246-0.63 0.271-0.903 0.074l-0.087-0.074-3.259-3.259-3.259 3.259-0.087 0.074c-0.274 0.197-0.657 0.172-0.903-0.074-0.273-0.273-0.273-0.717 0-0.99l3.259-3.259-3.259-3.259c-0.273-0.273-0.273-0.717 0-0.99 0.246-0.246 0.63-0.271 0.903-0.074l0.087 0.074 3.259 3.259 3.259-3.259 0.087-0.074z"},null,-1)])])}const Nl={name:"components-icon-delete-hover",render:tE},iE={version:"1.1",xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"};function nE(r,e){return t.openBlock(),t.createElementBlock("svg",iE,[...e[0]||(e[0]=[t.createElementVNode("path",{fill:"currentColor",d:"M3.398 10.877c0-4.099 3.323-7.423 7.423-7.423s7.423 3.323 7.423 7.423c0 4.099-3.323 7.423-7.423 7.423s-7.423-3.323-7.423-7.423zM16.774 10.877c0-3.326-2.657-6.023-5.935-6.023s-5.935 2.696-5.935 6.023c0 3.326 2.657 6.023 5.935 6.023s5.935-2.696 5.935-6.023zM11.499 13.369c0 0.365-0.296 0.661-0.661 0.661s-0.661-0.296-0.661-0.661v-1.821h-1.775c-0.371 0-0.671-0.3-0.671-0.671s0.3-0.671 0.671-0.671h1.775v-1.821c0-0.365 0.296-0.661 0.661-0.661s0.661 0.296 0.661 0.661v1.821h1.775c0.371 0 0.671 0.3 0.671 0.671s-0.3 0.671-0.671 0.671h-1.775v1.821zM16.579 16.598c0.242-0.246 0.62-0.271 0.89-0.075l0.086 0.074 2.72 2.754c0.27 0.273 0.27 0.716 0.001 0.99-0.242 0.246-0.62 0.271-0.89 0.075l-0.086-0.074-2.72-2.754c-0.27-0.273-0.27-0.716-0.001-0.99z"},null,-1)])])}const g0={name:"components-icon-image-zoomin",render:nE},rE={class:"o-search-image-input-row"},sE={key:0,class:"o-search-image-input-thumb"},aE={key:0,class:"o-search-image-input-preview"},oE={class:"o-search-image-input-preview-wrapper"},lE={class:"o-search-image-input-preview-zoom"},uE=["accept"],cE=t.defineComponent({__name:"SearchImageInput",props:{modelValue:{default:""},imageUrl:{default:""},placeholder:{},imagePlaceholder:{},size:{default:"medium"},enableImageSearch:{type:Boolean,default:!1},uploadImage:{},maxImageSize:{default:10*1024*1024},imageUploadTooltip:{},expanded:{type:Boolean,default:!0},clearable:{type:Boolean,default:!0},showSuffix:{type:Boolean,default:!0},inlineThumbnail:{type:Boolean,default:!1},preview:{type:Boolean,default:!0},disabled:{type:Boolean,default:!1},allowedImageTypes:{default:()=>["image/jpeg","image/png","image/gif","image/webp"]}},emits:["update:modelValue","update:imageUrl","focus","blur","enter","clear","image-clear","image-upload-start","image-upload-success","image-upload-error","image-validate-error","preview-change"],setup(r,{expose:e,emit:i}){const n=r,s=i,{t:a}=Ue.useI18n(),o=t.computed(()=>n.uploadImage),l=t.computed(()=>n.maxImageSize),c=t.computed(()=>n.allowedImageTypes),d=t.computed(()=>(n.allowedImageTypes??[]).join(",")),m=Y9({uploadImage:o,maxImageSize:l,allowedImageTypes:c,onUploadStart:I=>s("image-upload-start",I),onUploadSuccess:(I,z)=>{s("update:imageUrl",I),s("image-upload-success",I,z)},onUploadError:(I,z)=>s("image-upload-error",I,z),onValidationError:(I,z)=>s("image-validate-error",I,z)}),g=t.ref(),E=t.ref(),C=t.ref(null),w=t.computed({get:()=>n.modelValue,set:I=>s("update:modelValue",I)});t.watch(()=>n.imageUrl,I=>{m.setExternalUrl(I)},{immediate:!0});const v=t.computed(()=>!!m.previewUrl.value),b=t.computed(()=>v.value?n.imagePlaceholder??a("search.extendedPlaceholder"):n.placeholder??a("search.placeholder")),k=()=>{w.value="",v.value&&S(),s("clear")},S=()=>{m.reset(),s("update:imageUrl",""),s("image-clear")},D=()=>{m.pickFile(g.value),t.nextTick(()=>{var I,z;return(z=(I=E.value)==null?void 0:I.focus)==null?void 0:z.call(I)})},O=I=>{m.onFileChange(I),t.nextTick(()=>{var z,M;return(M=(z=E.value)==null?void 0:z.focus)==null?void 0:M.call(z)})},q=I=>{n.enableImageSearch&&m.onPaste(I)},R=I=>{n.enableImageSearch&&m.onDragOver(I)},x=I=>{n.enableImageSearch&&m.onDrop(I)},L=I=>{s("preview-change",I)},_=t.computed(()=>!!w.value||v.value);return e({focus:()=>{var I,z;return(z=(I=E.value)==null?void 0:I.focus)==null?void 0:z.call(I)},blur:()=>{var I,z;return(z=(I=E.value)==null?void 0:I.blur)==null?void 0:z.call(I)},awaitUpload:()=>m.awaitUpload(),getUploadedUrl:()=>m.uploadedUrl.value,getIsUploading:()=>m.isUploading.value,resetImage:()=>{m.reset(),s("update:imageUrl","")}}),(I,z)=>(t.openBlock(),t.createElementBlock("div",{class:t.normalizeClass(["o-search-image-input",{"has-image":v.value,"is-expanded":r.expanded&&v.value}]),onDragover:R,onDrop:x},[t.createElementVNode("div",rE,[t.createVNode(t.unref(A.OInput),{ref_key:"inputRef",ref:E,modelValue:w.value,"onUpdate:modelValue":z[3]||(z[3]=M=>w.value=M),placeholder:b.value,size:r.size,disabled:r.disabled,class:"o-search-image-input-input",onPressEnter:z[4]||(z[4]=M=>s("enter")),onFocus:z[5]||(z[5]=M=>s("focus",M)),onBlur:z[6]||(z[6]=M=>s("blur",M)),onPaste:q},t.createSlots({prefix:t.withCtx(()=>[t.renderSlot(I.$slots,"prefix",{},()=>[t.createVNode(t.unref(A.OIcon),{class:"o-search-image-input-icon"},{default:t.withCtx(()=>[t.createVNode(t.unref(wp))]),_:1})],!0),r.inlineThumbnail&&v.value?(t.openBlock(),t.createElementBlock("div",sE,[t.createVNode(t.unref(A.OFigure),{src:t.unref(m).previewUrl.value,alt:"",class:"o-search-image-input-thumb-figure"},null,8,["src"]),t.createElementVNode("div",{class:"o-search-image-input-thumb-zoom",onMousedown:z[0]||(z[0]=t.withModifiers(()=>{},["prevent"]))},[t.createVNode(t.unref(A.OIcon),{class:"o-search-image-input-thumb-zoom-icon"},{default:t.withCtx(()=>[t.createVNode(t.unref(g0))]),_:1})],32),t.createVNode(t.unref(A.OIcon),{class:"o-search-image-input-thumb-remove",onMousedown:z[1]||(z[1]=t.withModifiers(()=>{},["prevent"])),onClick:t.withModifiers(S,["stop"])},{default:t.withCtx(()=>[t.createVNode(t.unref(Nl))]),_:1})])):t.createCommentVNode("",!0)]),_:2},[r.showSuffix?{name:"suffix",fn:t.withCtx(()=>[t.renderSlot(I.$slots,"suffix",{hasValue:_.value},()=>[r.enableImageSearch?(t.openBlock(),t.createElementBlock("span",{key:0,ref_key:"uploadBtnRef",ref:C,class:"o-search-image-input-upload-btn"},[t.createVNode(t.unref(A.OIcon),{class:"o-search-image-input-icon upload",onClick:t.withModifiers(D,["stop"])},{default:t.withCtx(()=>[t.createVNode(t.unref($9))]),_:1})],512)):t.createCommentVNode("",!0),r.enableImageSearch&&C.value?(t.openBlock(),t.createBlock(t.unref(A.OPopover),{key:1,trigger:"hover",position:"bottom",target:C.value,"body-class":"o-search-image-input-tooltip"},{default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(r.imageUploadTooltip??t.unref(a)("search.imageUploadTooltip")),1)]),_:1},8,["target"])):t.createCommentVNode("",!0),r.clearable&&_.value?(t.openBlock(),t.createBlock(t.unref(A.OIcon),{key:2,class:"o-search-image-input-icon close",onMousedown:z[2]||(z[2]=t.withModifiers(()=>{},["prevent"])),onClick:t.withModifiers(k,["stop"])},{default:t.withCtx(()=>[t.createVNode(t.unref(Da))]),_:1})):t.createCommentVNode("",!0)],!0)]),key:"0"}:void 0]),1032,["modelValue","placeholder","size","disabled"])]),r.expanded&&v.value?(t.openBlock(),t.createElementBlock("div",aE,[t.renderSlot(I.$slots,"preview",{previewUrl:t.unref(m).previewUrl.value,remove:S},()=>[t.createElementVNode("div",oE,[t.createVNode(t.unref(A.OFigure),{src:t.unref(m).previewUrl.value,preview:r.preview,alt:"",class:"o-search-image-input-preview-figure",onPreview:L},null,8,["src","preview"]),t.createElementVNode("div",lE,[t.createVNode(t.unref(A.OIcon),{class:"o-search-image-input-preview-zoom-icon"},{default:t.withCtx(()=>[t.createVNode(t.unref(g0))]),_:1})]),t.createVNode(t.unref(A.OIcon),{class:"o-search-image-input-preview-remove",onClick:t.withModifiers(S,["stop"])},{default:t.withCtx(()=>[t.createVNode(t.unref(Nl))]),_:1})])],!0)])):t.createCommentVNode("",!0),r.enableImageSearch?(t.openBlock(),t.createElementBlock("input",{key:1,ref_key:"fileInputRef",ref:g,type:"file",accept:d.value,class:"o-search-image-input-file",onChange:O},null,40,uE)):t.createCommentVNode("",!0)],34))}}),Dp=Ue._export_sfc(cE,[["__scopeId","data-v-cbdc0409"]]),dE={version:"1.1",xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"};function hE(r,e){return t.openBlock(),t.createElementBlock("svg",dE,[...e[0]||(e[0]=[t.createStaticVNode('<path opacity="0.8" fill="currentColor" d="M5.616 4.34c0.368 0 0.674 0.265 0.738 0.615l0.012 0.135v14.968c0 0.213 0.148 0.391 0.347 0.438l0.103 0.012h10.719c0.213 0 0.391-0.148 0.438-0.347l0.012-0.103v-11.712c0-0.414 0.336-0.75 0.75-0.75 0.368 0 0.674 0.265 0.738 0.615l0.012 0.135v11.712c0 1.010-0.767 1.84-1.751 1.94l-0.199 0.010h-10.719c-1.010 0-1.84-0.767-1.94-1.751l-0.010-0.199v-14.968c0-0.414 0.336-0.75 0.75-0.75z"></path><path opacity="0.8" fill="currentColor" d="M20.19 4.34c0.414 0 0.75 0.336 0.75 0.75 0 0.368-0.265 0.674-0.615 0.738l-0.135 0.012h-16.333c-0.414 0-0.75-0.336-0.75-0.75 0-0.368 0.265-0.674 0.615-0.738l0.135-0.012h16.333z"></path><path opacity="0.8" fill="currentColor" d="M14.256 1.936c0.414 0 0.75 0.336 0.75 0.75 0 0.368-0.265 0.674-0.615 0.738l-0.135 0.012h-4.535c-0.414 0-0.75-0.336-0.75-0.75 0-0.368 0.265-0.674 0.615-0.738l0.135-0.012h4.535z"></path><path opacity="0.8" fill="currentColor" d="M10.096 9.419c0.368 0 0.674 0.265 0.738 0.615l0.012 0.135v6.484c0 0.414-0.336 0.75-0.75 0.75-0.368 0-0.674-0.265-0.738-0.615l-0.012-0.135v-6.484c0-0.414 0.336-0.75 0.75-0.75z"></path><path opacity="0.8" fill="currentColor" d="M14.596 9.419c0.368 0 0.674 0.265 0.738 0.615l0.012 0.135v6.484c0 0.414-0.336 0.75-0.75 0.75-0.368 0-0.674-0.265-0.738-0.615l-0.012-0.135v-6.484c0-0.414 0.336-0.75 0.75-0.75z"></path>',5)])])}const fE={name:"components-icon-delete",render:hE},pE={version:"1.1",xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"};function mE(r,e){return t.openBlock(),t.createElementBlock("svg",pE,[...e[0]||(e[0]=[t.createElementVNode("path",{opacity:"0.8",fill:"currentColor",d:"M17.947 4.273c-1.676-1.292-3.752-2.023-5.948-2.023-5.385 0-9.75 4.365-9.75 9.75s4.365 9.75 9.75 9.75c4.032 0 7.604-2.47 9.066-6.156 0.153-0.385-0.035-0.821-0.42-0.974s-0.821 0.036-0.974 0.42c-1.237 3.119-4.26 5.209-7.672 5.209-4.556 0-8.25-3.694-8.25-8.25s3.694-8.25 8.25-8.25c1.837 0 3.574 0.604 4.983 1.673l-1.305 1.556c-0.077 0.092-0.021 0.232 0.098 0.246l4.873 0.539c0.106 0.012 0.191-0.088 0.16-0.191l-1.377-4.706c-0.034-0.115-0.182-0.146-0.259-0.054l-1.226 1.461z"},null,-1)])])}const gE={name:"components-icon-refresh",render:mE},vE=/[.*+?^${}()|[\]\\]/g;function yE(r,e){const i=(e||"").trim();if(!i)return[{text:r,match:!1}];const n=i.replace(vE,"\\$&"),s=new RegExp(n,"gi"),a=[];let o=0,l;for(;(l=s.exec(r))!==null;){if(l.index===s.lastIndex){s.lastIndex++;continue}l.index>o&&a.push({text:r.slice(o,l.index),match:!1}),a.push({text:l[0],match:!0}),o=l.index+l[0].length}return o<r.length&&a.push({text:r.slice(o),match:!1}),a}const bE={class:"o-search-highlight-text"},CE=t.defineComponent({__name:"HighlightText",props:{text:{},keyword:{},enabled:{type:Boolean,default:!0}},setup(r){const e=r,i=t.computed(()=>!e.enabled||!e.keyword?[{text:e.text,match:!1}]:yE(e.text,e.keyword));return(n,s)=>(t.openBlock(),t.createElementBlock("span",bE,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(i.value,(a,o)=>(t.openBlock(),t.createElementBlock("span",{key:o,class:t.normalizeClass({"is-match":a.match})},t.toDisplayString(a.text),3))),128))]))}}),v0=Ue._export_sfc(CE,[["__scopeId","data-v-2a99e23c"]]),TE={class:"o-search-panel"},AE={key:0,class:"o-search-panel-section o-search-panel-onestep"},EE={class:"o-search-panel-section-title onestep"},xE=["onClick"],kE={key:0,class:"o-search-panel-onestep-tag"},_E={key:1,class:"o-search-panel-divider"},SE={key:2,class:"o-search-panel-section o-search-panel-suggest"},wE={class:"o-search-panel-section-title suggest"},DE=["onClick"],BE={key:1,class:"o-search-panel-no-data"},VE={key:3,class:"o-search-panel-divider"},IE={key:4,class:"o-search-panel-section o-search-panel-recommend"},NE=["onClick"],OE={key:5,class:"o-search-panel-divider"},PE={key:6,class:"o-search-panel-section o-search-panel-history"},ME={class:"o-search-panel-common-header"},LE={class:"o-search-panel-section-title"},RE=["onClick"],qE={class:"o-search-panel-history-row-text"},FE={key:1,class:"o-search-panel-history-list"},UE=["onClick"],zE={class:"o-search-panel-history-text"},HE={key:7,class:"o-search-panel-divider"},jE={key:8,class:"o-search-panel-section o-search-panel-hot"},XE={class:"o-search-panel-common-header"},GE={class:"o-search-panel-section-title"},QE={class:"o-search-panel-hot-list"},YE=["onClick"],KE=t.defineComponent({__name:"SearchPanel",props:{keyword:{default:""},onestepItems:{default:()=>[]},onestepTitle:{},suggestItems:{default:()=>[]},suggestTitle:{},recommendItems:{default:()=>[]},historyItems:{default:()=>[]},historyTitle:{},hotItems:{default:()=>[]},hotTitle:{},noDataText:{},highlightKeyword:{type:Boolean,default:!0},hideOnKeyword:{type:Boolean,default:!1},showSuggestEmpty:{type:Boolean,default:!1},isDark:{type:Boolean,default:!1},historyLayout:{default:"chips"}},emits:["onestep-click","suggest-click","recommend-click","history-click","hot-click","history-remove","history-clear","hot-refresh"],setup(r,{emit:e}){const i=r,n=e,{t:s}=Ue.useI18n(),a=t.computed(()=>{var v;return!!((v=i.keyword)!=null&&v.trim())}),o=t.computed(()=>a.value&&i.onestepItems.length>0),l=t.computed(()=>a.value&&(i.suggestItems.length>0||i.showSuggestEmpty)),c=t.computed(()=>!a.value&&i.recommendItems.length>0),d=t.computed(()=>(!i.hideOnKeyword||!a.value)&&i.historyItems.length>0),m=t.computed(()=>(!i.hideOnKeyword||!a.value)&&i.hotItems.length>0),g=t.computed(()=>o.value&&l.value),E=t.computed(()=>l.value&&c.value),C=t.computed(()=>c.value&&d.value),w=t.computed(()=>d.value&&m.value);return(v,b)=>(t.openBlock(),t.createElementBlock("div",TE,[o.value?(t.openBlock(),t.createElementBlock("div",AE,[t.renderSlot(v.$slots,"onestep-header",{items:r.onestepItems},()=>[t.createElementVNode("div",EE,t.toDisplayString(r.onestepTitle??t.unref(s)("search.onestep")),1)],!0),t.renderSlot(v.$slots,"onestep-content",{items:r.onestepItems,keyword:r.keyword},()=>[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(r.onestepItems,k=>(t.openBlock(),t.createElementBlock("div",{key:k.key+(k.path??""),class:"o-search-panel-item o-search-panel-onestep-item",onClick:S=>n("onestep-click",k)},[t.createVNode(v0,{text:k.key,keyword:r.keyword,enabled:r.highlightKeyword},null,8,["text","keyword","enabled"]),k.type?(t.openBlock(),t.createElementBlock("span",kE,t.toDisplayString(k.type),1)):t.createCommentVNode("",!0)],8,xE))),128))],!0)])):t.createCommentVNode("",!0),g.value?(t.openBlock(),t.createElementBlock("div",_E)):t.createCommentVNode("",!0),l.value?(t.openBlock(),t.createElementBlock("div",SE,[t.renderSlot(v.$slots,"suggest-header",{items:r.suggestItems},()=>[t.createElementVNode("div",wE,t.toDisplayString(r.suggestTitle??t.unref(s)("search.suggest")),1)],!0),t.renderSlot(v.$slots,"suggest-content",{items:r.suggestItems,keyword:r.keyword},()=>[r.suggestItems.length?(t.openBlock(!0),t.createElementBlock(t.Fragment,{key:0},t.renderList(r.suggestItems,k=>(t.openBlock(),t.createElementBlock("div",{key:k.key,class:"o-search-panel-item",onClick:S=>n("suggest-click",k)},[t.createVNode(v0,{text:k.key,keyword:r.keyword,enabled:r.highlightKeyword},null,8,["text","keyword","enabled"])],8,DE))),128)):(t.openBlock(),t.createElementBlock("div",BE,t.toDisplayString(r.noDataText??t.unref(s)("search.noData")),1))],!0)])):t.createCommentVNode("",!0),E.value?(t.openBlock(),t.createElementBlock("div",VE)):t.createCommentVNode("",!0),c.value?(t.openBlock(),t.createElementBlock("div",IE,[t.renderSlot(v.$slots,"recommend-header",{items:r.recommendItems},void 0,!0),t.renderSlot(v.$slots,"recommend-content",{items:r.recommendItems},()=>[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(r.recommendItems,k=>(t.openBlock(),t.createElementBlock("div",{key:k,class:"o-search-panel-recommend-item",onClick:S=>n("recommend-click",k)},t.toDisplayString(k),9,NE))),128))],!0)])):t.createCommentVNode("",!0),C.value?(t.openBlock(),t.createElementBlock("div",OE)):t.createCommentVNode("",!0),d.value?(t.openBlock(),t.createElementBlock("div",PE,[t.renderSlot(v.$slots,"history-header",{items:r.historyItems},()=>[t.createElementVNode("div",ME,[t.createElementVNode("span",LE,t.toDisplayString(r.historyTitle??t.unref(s)("search.history")),1),r.historyLayout!=="list"?(t.openBlock(),t.createBlock(t.unref(A.OIcon),{key:0,class:"o-search-panel-icon",onClick:b[0]||(b[0]=t.withModifiers(k=>n("history-clear"),["stop"]))},{default:t.withCtx(()=>[t.createVNode(t.unref(fE))]),_:1})):t.createCommentVNode("",!0)])],!0),t.renderSlot(v.$slots,"history-content",{items:r.historyItems},()=>[r.historyLayout==="list"?(t.openBlock(!0),t.createElementBlock(t.Fragment,{key:0},t.renderList(r.historyItems,k=>(t.openBlock(),t.createElementBlock("div",{key:k,class:"o-search-panel-history-row",onClick:S=>n("history-click",k)},[t.createElementVNode("span",qE,t.toDisplayString(k),1)],8,RE))),128)):(t.openBlock(),t.createElementBlock("div",FE,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(r.historyItems,k=>(t.openBlock(),t.createElementBlock("div",{key:k,class:t.normalizeClass(["o-search-panel-history-item",{"is-dark":r.isDark}]),onClick:S=>n("history-click",k)},[t.createElementVNode("span",zE,t.toDisplayString(k),1),t.createVNode(t.unref(A.OIcon),{class:"o-search-panel-history-remove",onClick:t.withModifiers(S=>n("history-remove",k),["stop"])},{default:t.withCtx(()=>[t.createVNode(t.unref(Nl))]),_:1},8,["onClick"])],10,UE))),128))]))],!0)])):t.createCommentVNode("",!0),w.value?(t.openBlock(),t.createElementBlock("div",HE)):t.createCommentVNode("",!0),m.value?(t.openBlock(),t.createElementBlock("div",jE,[t.renderSlot(v.$slots,"hot-header",{items:r.hotItems},()=>[t.createElementVNode("div",XE,[t.createElementVNode("div",GE,t.toDisplayString(r.hotTitle??t.unref(s)("search.hot")),1),t.createVNode(t.unref(A.OIcon),{class:"o-search-panel-icon",onClick:b[1]||(b[1]=t.withModifiers(k=>n("hot-refresh"),["stop"]))},{default:t.withCtx(()=>[t.createVNode(t.unref(gE))]),_:1})])],!0),t.renderSlot(v.$slots,"hot-content",{items:r.hotItems},()=>[t.createElementVNode("div",QE,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(r.hotItems,k=>(t.openBlock(),t.createElementBlock("div",{key:k,class:"o-search-panel-hot-item",onClick:S=>n("hot-click",k)},t.toDisplayString(k),9,YE))),128))])],!0)])):t.createCommentVNode("",!0)]))}}),Bp=Ue._export_sfc(KE,[["__scopeId","data-v-872f0035"]]);function Vp(r){const{initial:e,storageKey:i,storeHistory:n,maxHistoryCount:s,onChange:a}=r,o=t.ref([...e.value]),l=()=>{if(!(!n.value||typeof localStorage>"u"))try{o.value.length?localStorage.setItem(i.value,JSON.stringify(o.value)):localStorage.removeItem(i.value)}catch{}},c=C=>{o.value=C,l(),a==null||a(o.value)},d=()=>{if(!(!n.value||typeof localStorage>"u"))try{const C=localStorage.getItem(i.value);if(!C)return;const w=JSON.parse(C);if(Array.isArray(w)&&w.length){const v=Array.from(new Set([...w,...o.value]));o.value=v.slice(0,s.value),a==null||a(o.value)}}catch{}},m=C=>{const w=C==null?void 0:C.trim();if(!w)return;const v=[w,...o.value.filter(b=>b!==w)];v.length>s.value&&(v.length=s.value),c(v)},g=C=>{c(o.value.filter(w=>w!==C))},E=()=>{c([])};return t.watch(e,C=>{C!==o.value&&(o.value=[...C])}),t.onMounted(d),{items:o,push:m,remove:g,clearAll:E}}const WE={version:"1.1",xmlns:"http://www.w3.org/2000/svg",width:"36",height:"32",viewBox:"0 0 36 32"};function JE(r,e){return t.openBlock(),t.createElementBlock("svg",WE,[...e[0]||(e[0]=[t.createElementVNode("path",{fill:"currentColor",d:"M5.886 19.111l10.672 10.677c0.46 0.524 0.44 1.322-0.060 1.822s-1.298 0.52-1.822 0.060l-0.064-0.060-12.498-12.498h3.772zM14.613 0.391c0.521-0.521 1.365-0.521 1.886 0 0.5 0.5 0.52 1.298 0.060 1.822l-0.060 0.064-12.391 12.391h29.67c0.71 0 1.291 0.555 1.331 1.255l0.002 0.078c0 0.71-0.555 1.291-1.255 1.331l-0.078 0.002h-31.816c-0.472 0-0.924-0.187-1.257-0.521-0.671-0.671-0.694-1.745-0.067-2.443l0.067-0.071 13.908-13.908z"},null,-1)])])}const ZE={name:"components-icon-header-back",render:JE},$E={key:0,class:"o-header-search-drawer"},ex=".o-layer",tx=t.defineComponent({__name:"OHeaderSearch",props:{modelValue:{default:""},placeholder:{},expandedPlaceholder:{},expandDirection:{default:"left"},clearable:{type:Boolean,default:!0},historyItems:{default:()=>[]},maxHistoryCount:{default:6},storeHistory:{type:Boolean,default:!1},historyTitle:{},storageKey:{default:"search-history"},hotItems:{default:()=>[]},hotTitle:{},recommendItems:{default:()=>[]},searchUrl:{},searchUrlOpenBlank:{type:Boolean,default:!0},searchTextMobile:{},imagePlaceholder:{},enableImageSearch:{type:Boolean,default:!1},imageUrl:{default:""},uploadImage:{},maxImageSize:{default:10*1024*1024},imageUploadTooltip:{},suggestItems:{default:()=>[]},onestepItems:{default:()=>[]},suggestTitle:{},onestepTitle:{},noDataText:{},highlightKeyword:{type:Boolean,default:!0},debounce:{default:300},autoSaveHistory:{type:Boolean,default:!0},showSuggestEmpty:{type:Boolean,default:!0},allowedImageTypes:{},mobile:{type:Boolean},simple:{type:Boolean,default:!1}},emits:["update:modelValue","update:historyItems","update:imageUrl","focus","blur","input","clear","search","recommend-click","onestep-click","history-click","hot-click","hot-refresh","delete-history","delete-history-item","image-upload-start","image-upload-success","image-upload-error","image-validate-error"],setup(r,{expose:e,emit:i}){const n=r,s=i,{lePadV:a}=Et.useScreen(),{t:o}=Ue.useI18n(),l=t.computed(()=>n.mobile===!0||a.value),c=t.ref(null),d=t.ref(),m=t.ref(!1),g=t.ref(!1),E=t.ref(""),C=t.computed(()=>!!n.imageUrl||g.value),w=t.ref(!1),v=t.computed({get:()=>n.modelValue,set:W=>s("update:modelValue",W)}),b=t.toRef(n,"historyItems"),k=t.toRef(n,"storageKey"),S=t.toRef(n,"storeHistory"),D=t.toRef(n,"maxHistoryCount"),O=Vp({initial:b,storageKey:k,storeHistory:S,maxHistoryCount:D,onChange:W=>s("update:historyItems",W)}),q=t.computed(()=>n.imageUrl?n.imagePlaceholder??o("search.extendedPlaceholder"):m.value&&n.enableImageSearch?n.imagePlaceholder??o("search.imagePlaceholder"):m.value?n.expandedPlaceholder??o("search.expandedPlaceholder"):n.placeholder??o("search.placeholder")),R=wt.useDebounceFn(W=>s("input",W),()=>n.debounce);t.watch(v,W=>R(W)),wt.onClickOutside(c,()=>{l.value||w.value||L()},{ignore:[ex]});const x=()=>{m.value=!0},L=()=>{l.value||(m.value=!1)},_=()=>{x(),s("focus")},V=()=>{s("blur")},I=async W=>{var Ee,fe,ke,Re,de,Te,De,We;(fe=(Ee=d.value)==null?void 0:Ee.getIsUploading)!=null&&fe.call(Ee)&&await((Re=(ke=d.value).awaitUpload)==null?void 0:Re.call(ke));const he=W!==void 0?W.trim():v.value.trim(),ce=E.value||((Te=(de=d.value)==null?void 0:de.getUploadedUrl)==null?void 0:Te.call(de))||n.imageUrl;if(!(!he&&!ce)&&(n.autoSaveHistory&&he&&O.push(he),s("search",{keyword:he,imageUrl:ce||void 0}),(We=(De=d.value)==null?void 0:De.blur)==null||We.call(De),m.value=!1,n.searchUrl)){const qe=new URLSearchParams;he&&qe.set("q",he),ce&&qe.set("imageUrl",ce);const ct=n.searchUrl.includes("?")?"&":"?",Je=`${n.searchUrl}${ct}${qe.toString()}`;typeof window<"u"&&window.open(Je,n.searchUrlOpenBlank?"_blank":"_self",n.searchUrlOpenBlank?"noopener,noreferrer":"")}},z=()=>{var W,he;v.value="",s("clear"),(he=(W=d.value)==null?void 0:W.focus)==null||he.call(W)},M=W=>{s("recommend-click",W),v.value=W.key,I(W.key??"")},U=W=>{s("recommend-click",W),I(W)},P=W=>{s("onestep-click",W),W.path&&typeof window<"u"&&window.open(W.path,"_blank","noopener,noreferrer")},te=W=>{s("history-click",W),I(W)},j=W=>{s("hot-click",W),I(W)},G=W=>{O.remove(W),s("delete-history-item",W)},ee=()=>{const W=[...O.items.value];O.clearAll(),s("delete-history",W)},J=()=>{v.value="",g.value=!1,s("update:imageUrl",""),m.value=!1},Q=W=>{g.value=!0,E.value="",s("image-upload-start",W)},X=(W,he)=>{E.value=W,s("update:imageUrl",W),s("image-upload-success",W,he)},ne=()=>{g.value=!1,E.value="",s("update:imageUrl","")},ve=t.computed(()=>!(!m.value||C.value));return e({focus:()=>{var W,he;return(he=(W=d.value)==null?void 0:W.focus)==null?void 0:he.call(W)},blur:()=>{var W,he;return(he=(W=d.value)==null?void 0:W.blur)==null?void 0:he.call(W)},open:x,close:L,search:I}),(W,he)=>(t.openBlock(),t.createElementBlock("div",{class:t.normalizeClass(["o-header-search",{"is-mobile-mode":l.value,"is-simple":n.simple&&!l.value}])},[t.createElementVNode("div",{ref_key:"wrapperRef",ref:c,class:t.normalizeClass(["o-header-search-pos",{"is-pc":!l.value,"is-mobile":l.value,"is-simple":n.simple&&!l.value,"is-left":r.expandDirection==="left","is-right":r.expandDirection==="right","is-focus":m.value}])},[t.createElementVNode("div",{class:t.normalizeClass(["o-header-search-row",{"is-focus":m.value}])},[l.value&&m.value?(t.openBlock(),t.createBlock(t.unref(A.OIcon),{key:0,class:"o-header-search-back-icon",onClick:J},{default:t.withCtx(()=>[t.createVNode(t.unref(ZE))]),_:1})):t.createCommentVNode("",!0),t.createVNode(Dp,{ref_key:"inputRef",ref:d,modelValue:v.value,"onUpdate:modelValue":he[0]||(he[0]=ce=>v.value=ce),"image-url":r.imageUrl,placeholder:q.value,"enable-image-search":r.enableImageSearch,"upload-image":r.uploadImage,"max-image-size":r.maxImageSize,"image-upload-tooltip":r.imageUploadTooltip,clearable:r.clearable&&m.value,expanded:m.value&&C.value,"allowed-image-types":r.allowedImageTypes,size:"medium",class:t.normalizeClass(["o-header-search-input",{"is-collapsed":!m.value}]),"onUpdate:imageUrl":he[1]||(he[1]=ce=>s("update:imageUrl",ce)),onFocus:_,onBlur:V,onEnter:I,onClear:z,onImageClear:ne,onImageUploadStart:Q,onImageUploadSuccess:X,onImageUploadError:he[2]||(he[2]=(ce,Ee)=>s("image-upload-error",ce,Ee)),onImageValidateError:he[3]||(he[3]=(ce,Ee)=>s("image-validate-error",ce,Ee)),onPreviewChange:he[4]||(he[4]=ce=>{w.value=ce})},t.createSlots({prefix:t.withCtx(()=>[t.renderSlot(W.$slots,"input-prefix",{},void 0,!0)]),suffix:t.withCtx(ce=>[t.renderSlot(W.$slots,"input-suffix",t.normalizeProps(t.guardReactiveProps(ce)),void 0,!0)]),_:2},[W.$slots["image-preview"]?{name:"preview",fn:t.withCtx(ce=>[t.renderSlot(W.$slots,"image-preview",t.normalizeProps(t.guardReactiveProps(ce)),void 0,!0)]),key:"0"}:void 0]),1032,["modelValue","image-url","placeholder","enable-image-search","upload-image","max-image-size","image-upload-tooltip","clearable","expanded","allowed-image-types","class"]),l.value&&m.value?(t.openBlock(),t.createElementBlock("span",{key:1,class:"o-header-search-text",onClick:he[5]||(he[5]=()=>I())},t.toDisplayString(r.searchTextMobile??t.unref(o)("search")),1)):t.createCommentVNode("",!0)],2),t.createVNode(t.Transition,{name:"o-header-search-drawer"},{default:t.withCtx(()=>[ve.value?(t.openBlock(),t.createElementBlock("div",$E,[t.renderSlot(W.$slots,"drawer",{recommendItems:r.recommendItems,historyItems:t.unref(O).items.value,hotItems:r.hotItems,suggestItems:r.suggestItems,onestepItems:r.onestepItems,keyword:r.modelValue},()=>[t.createVNode(Bp,{keyword:r.modelValue,"onestep-items":r.onestepItems,"onestep-title":r.onestepTitle,"suggest-items":r.suggestItems,"suggest-title":r.suggestTitle,"recommend-items":r.recommendItems,"history-items":t.unref(O).items.value,"history-title":r.historyTitle,"hot-items":r.hotItems,"hot-title":r.hotTitle,"no-data-text":r.noDataText,"highlight-keyword":r.highlightKeyword,"hide-on-keyword":!0,"show-suggest-empty":r.showSuggestEmpty,onOnestepClick:P,onSuggestClick:M,onRecommendClick:U,onHistoryClick:te,onHistoryRemove:G,onHistoryClear:ee,onHotClick:j,onHotRefresh:he[6]||(he[6]=ce=>s("hot-refresh"))},t.createSlots({_:2},[W.$slots["recommend-header"]?{name:"recommend-header",fn:t.withCtx(ce=>[t.renderSlot(W.$slots,"recommend-header",t.normalizeProps(t.guardReactiveProps(ce)),void 0,!0)]),key:"0"}:void 0,W.$slots["recommend-content"]?{name:"recommend-content",fn:t.withCtx(ce=>[t.renderSlot(W.$slots,"recommend-content",t.normalizeProps(t.guardReactiveProps(ce)),void 0,!0)]),key:"1"}:void 0,W.$slots["onestep-header"]?{name:"onestep-header",fn:t.withCtx(ce=>[t.renderSlot(W.$slots,"onestep-header",t.normalizeProps(t.guardReactiveProps(ce)),void 0,!0)]),key:"2"}:void 0,W.$slots["onestep-content"]?{name:"onestep-content",fn:t.withCtx(ce=>[t.renderSlot(W.$slots,"onestep-content",t.normalizeProps(t.guardReactiveProps(ce)),void 0,!0)]),key:"3"}:void 0,W.$slots["suggest-header"]?{name:"suggest-header",fn:t.withCtx(ce=>[t.renderSlot(W.$slots,"suggest-header",t.normalizeProps(t.guardReactiveProps(ce)),void 0,!0)]),key:"4"}:void 0,W.$slots["suggest-content"]?{name:"suggest-content",fn:t.withCtx(ce=>[t.renderSlot(W.$slots,"suggest-content",t.normalizeProps(t.guardReactiveProps(ce)),void 0,!0)]),key:"5"}:void 0,W.$slots["history-header"]?{name:"history-header",fn:t.withCtx(ce=>[t.renderSlot(W.$slots,"history-header",t.normalizeProps(t.guardReactiveProps(ce)),void 0,!0)]),key:"6"}:void 0,W.$slots["history-content"]?{name:"history-content",fn:t.withCtx(ce=>[t.renderSlot(W.$slots,"history-content",t.normalizeProps(t.guardReactiveProps(ce)),void 0,!0)]),key:"7"}:void 0,W.$slots["hot-header"]?{name:"hot-header",fn:t.withCtx(ce=>[t.renderSlot(W.$slots,"hot-header",t.normalizeProps(t.guardReactiveProps(ce)),void 0,!0)]),key:"8"}:void 0,W.$slots["hot-content"]?{name:"hot-content",fn:t.withCtx(ce=>[t.renderSlot(W.$slots,"hot-content",t.normalizeProps(t.guardReactiveProps(ce)),void 0,!0)]),key:"9"}:void 0]),1032,["keyword","onestep-items","onestep-title","suggest-items","suggest-title","recommend-items","history-items","history-title","hot-items","hot-title","no-data-text","highlight-keyword","show-suggest-empty"])],!0)])):t.createCommentVNode("",!0)]),_:3})],2),l.value||n.simple?(t.openBlock(),t.createBlock(t.unref(A.OIcon),{key:0,class:"o-header-search-mobile-icon",onClick:x},{default:t.withCtx(()=>[t.createVNode(t.unref(wp))]),_:1})):t.createCommentVNode("",!0)],2))}}),y0=Ue._export_sfc(tx,[["__scopeId","data-v-426c3515"]]),ix=Object.assign(y0,{install(r){r.component("OHeaderSearch",y0)}}),nx={class:"source-code"},rx={class:"title"},sx={class:"info-wrap hover-icon-rotate"},ax={class:"title"},ox=t.defineComponent({__name:"OHeaderSourceCode",props:{title:{},options:{},href:{},target:{},icon:{},justify:{default:"center"},itemRadius:{default:4}},setup(r){const e=s=>{window.open(s.href,s.target?s.target:"_blank")},i=t.ref(!1),n=s=>{i.value=s};return(s,a)=>(t.openBlock(),t.createElementBlock("div",nx,[r.href?(t.openBlock(),t.createElementBlock("div",{key:0,class:"info-wrap",onClick:a[0]||(a[0]=o=>e({href:r.href,target:r.target}))},[t.createElementVNode("span",rx,t.toDisplayString(r.title),1),r.icon?(t.openBlock(),t.createBlock(t.unref(A.OIcon),{key:0},{default:t.withCtx(()=>[(t.openBlock(),t.createBlock(t.resolveDynamicComponent(r.icon),{class:"icon"}))]),_:1})):t.createCommentVNode("",!0)])):(t.openBlock(),t.createBlock(t.unref(A.ODropdown),{key:1,trigger:"hover",optionPosition:"bottom","option-wrap-class":"dropdown","option-width-mode":"auto",class:t.normalizeClass({"dropdown-active":i.value}),onVisibleChange:n},{dropdown:t.withCtx(()=>[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(r.options,o=>(t.openBlock(),t.createBlock(t.unref(A.ODropdownItem),{onClick:l=>e(o),key:o.href,style:t.normalizeStyle({"--dropdown-item-justify":r.justify,"--dropdown-item-radius":`${r.itemRadius}px`})},{default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(o.label)+" ",1),o.icon?(t.openBlock(),t.createBlock(t.unref(A.OIcon),{key:0},{default:t.withCtx(()=>[(t.openBlock(),t.createBlock(t.resolveDynamicComponent(o.icon),{class:"icon"}))]),_:2},1024)):t.createCommentVNode("",!0)]),_:2},1032,["onClick","style"]))),128))]),default:t.withCtx(()=>[t.createElementVNode("div",sx,[t.createElementVNode("span",ax,t.toDisplayString(r.title),1),t.createVNode(t.unref(A.OIcon),{class:"icon"},{default:t.withCtx(()=>[t.createVNode(t.unref(ns))]),_:1})])]),_:1},8,["class"]))]))}}),b0=Ue._export_sfc(ox,[["__scopeId","data-v-4c72b8c0"]]),lx=Object.assign(b0,{install(r){r.component("OHeaderSourceCode",b0)}}),ux={version:"1.1",xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"};function cx(r,e){return t.openBlock(),t.createElementBlock("svg",ux,[...e[0]||(e[0]=[t.createElementVNode("path",{fill:"currentColor",d:"M12 1.992c0.387 0 0.7 0.313 0.7 0.7v1.2c0 0.387-0.313 0.7-0.7 0.7s-0.7-0.313-0.7-0.7v-1.2c0-0.387 0.313-0.7 0.7-0.7zM6.769 6.747c-0.273 0.273-0.717 0.273-0.99 0l-0.849-0.849c-0.137-0.137-0.205-0.316-0.205-0.495s0.068-0.358 0.205-0.495c0.273-0.273 0.717-0.273 0.99 0l0.849 0.849c0.136 0.137 0.205 0.316 0.205 0.495s-0.068 0.358-0.205 0.495zM18.192 6.747c-0.273 0.273-0.717 0.273-0.99 0-0.137-0.137-0.205-0.316-0.205-0.495s0.068-0.358 0.205-0.495l0.849-0.849c0.273-0.273 0.717-0.273 0.99 0 0.137 0.137 0.205 0.316 0.205 0.495s-0.068 0.358-0.205 0.495l-0.849 0.849zM5.3 12c0-3.7 3-6.7 6.7-6.7s6.7 3 6.7 6.7-3 6.7-6.7 6.7c-3.7 0-6.7-3-6.7-6.7zM17.3 12c0-2.927-2.373-5.3-5.3-5.3s-5.3 2.373-5.3 5.3c0 2.927 2.373 5.3 5.3 5.3s5.3-2.373 5.3-5.3zM4.594 11.969c0 0.387-0.313 0.7-0.7 0.7h-1.2c-0.387 0-0.7-0.313-0.7-0.7s0.313-0.7 0.7-0.7h1.2c0.386 0 0.7 0.313 0.7 0.7zM21.977 11.999c0 0.387-0.314 0.7-0.7 0.7h-1.2c-0.387 0-0.7-0.313-0.7-0.7s0.313-0.7 0.7-0.7h1.2c0.387 0 0.7 0.313 0.7 0.7zM5.921 19.060c-0.273 0.273-0.717 0.273-0.99 0-0.137-0.137-0.205-0.316-0.205-0.495s0.068-0.358 0.205-0.495l0.849-0.849c0.273-0.273 0.717-0.273 0.99 0 0.137 0.137 0.205 0.316 0.205 0.495s-0.068 0.358-0.205 0.495l-0.849 0.849zM19.041 19.060c-0.273 0.273-0.717 0.273-0.99 0l-0.849-0.849c-0.137-0.137-0.205-0.316-0.205-0.495s0.068-0.358 0.205-0.495c0.273-0.273 0.717-0.273 0.99 0l0.849 0.849c0.137 0.137 0.205 0.316 0.205 0.495s-0.068 0.358-0.205 0.495zM11.971 19.376c0.387 0 0.7 0.313 0.7 0.7v1.2c0 0.387-0.313 0.7-0.7 0.7s-0.7-0.313-0.7-0.7v-1.2c0-0.387 0.313-0.7 0.7-0.7z"},null,-1)])])}const dx={name:"components-icon-sun",render:cx},hx={version:"1.1",xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"};function fx(r,e){return t.openBlock(),t.createElementBlock("svg",hx,[...e[0]||(e[0]=[t.createElementVNode("path",{fill:"currentColor",d:"M12 2.3c5.357 0 9.7 4.343 9.7 9.7s-4.343 9.7-9.7 9.7c-4.651 0-8.622-3.298-9.515-7.806-0.101-0.509 0.369-0.948 0.87-0.812 0.531 0.144 1.082 0.218 1.645 0.218 3.479 0 6.3-2.82 6.3-6.3 0-1.276-0.379-2.494-1.079-3.527-0.291-0.43-0.029-1.016 0.486-1.086 0.425-0.057 0.857-0.086 1.293-0.086zM12 3.7l-0.042 0.001 0.058 0.121c0.402 0.887 0.634 1.85 0.677 2.845l0.007 0.333c0 4.253-3.447 7.7-7.7 7.7-0.229 0-0.457-0.010-0.682-0.030l-0.186-0.021 0.076 0.218c1.147 3.123 4.102 5.321 7.528 5.429l0.264 0.004c4.584 0 8.3-3.716 8.3-8.3s-3.716-8.3-8.3-8.3z"},null,-1)])])}const px={name:"components-icon-moon",render:fx},mx={class:"o-theme-switcher"},gx={key:1,class:"o-theme-switcher-mobile"},vx=t.defineComponent({__name:"OHeaderTheme",props:{theme:{default:"light"},type:{default:"auto"},lightValue:{default:"light"},darkValue:{default:"dark"},disabled:{type:Boolean,default:!1}},emits:["update:theme","change"],setup(r,{emit:e}){const i=r,n=e,{lePadV:s}=Et.useScreen(),a=t.computed({get(){return i.theme},set(c){n("update:theme",c),n("change",c)}}),o=t.computed(()=>i.type==="common"||i.type==="auto"&&!s.value),l=()=>{i.disabled||(a.value=a.value===i.lightValue?i.darkValue:i.lightValue)};return(c,d)=>(t.openBlock(),t.createElementBlock("div",mx,[o.value?(t.openBlock(),t.createElementBlock("div",{key:0,class:t.normalizeClass(["o-theme-switcher-common",{disabled:r.disabled}]),onClick:l},[t.createVNode(t.unref(A.OIcon),{class:"o-theme-icon"},{default:t.withCtx(()=>[a.value===r.lightValue?(t.openBlock(),t.createBlock(t.unref(px),{key:0})):(t.openBlock(),t.createBlock(t.unref(dx),{key:1}))]),_:1})],2)):(t.openBlock(),t.createElementBlock("div",gx,[t.createVNode(t.unref(A.OSwitch),{modelValue:a.value,"onUpdate:modelValue":d[0]||(d[0]=m=>a.value=m),class:"o-theme-switch","checked-value":r.lightValue,"unchecked-value":r.darkValue,disabled:r.disabled},{inactive:t.withCtx(()=>[t.createVNode(t.unref(A.OIconMoon))]),active:t.withCtx(()=>[t.createVNode(t.unref(A.OIconSun))]),off:t.withCtx(()=>[t.createVNode(t.unref(A.OIconSun))]),on:t.withCtx(()=>[t.createVNode(t.unref(A.OIconMoon))]),_:1},8,["modelValue","checked-value","unchecked-value","disabled"])]))]))}}),C0=Ue._export_sfc(vx,[["__scopeId","data-v-a8461f7a"]]),yx=Object.assign(C0,{install(r){r.component("OHeaderTheme",C0)}}),bx=["src"],Cx=t.defineComponent({__name:"AppAvatar",props:{avatar:{type:String,default:""},name:{type:String,default:"",required:!0},size:{type:String,default:"medium"},customSize:{type:Number,default:20},variant:{type:String,default:"round"}},setup(r){const e=r,i=["#058EF0","#FA7305","#03B5A5"],n=t.computed(()=>{var a;return(a=e.name)==null?void 0:a.charAt(0).toUpperCase()}),s=t.computed(()=>{var l;const a={"background-color":"",width:e.customSize+"px",height:e.customSize+"px","font-size":"20px"};a["background-color"]=e.name?i[((l=e.name)==null?void 0:l.length)%i.length]:"transparent";let o=0;return e.customSize?o=Number(e.customSize):o={mini:16,small:24,medium:40,large:64}[e.size],a.height=`${o}px`,a.width=`${o}px`,a["font-size"]=`${o/2}px`,a});return(a,o)=>r.avatar&&!r.avatar.includes("gitcode")?(t.openBlock(),t.createElementBlock("img",{key:0,src:r.avatar,class:t.normalizeClass(["img-avatar",r.variant]),style:t.normalizeStyle(s.value),alt:""},null,14,bx)):(t.openBlock(),t.createElementBlock("div",{key:1,class:t.normalizeClass(["word-avatar",r.variant]),style:t.normalizeStyle(s.value)},t.toDisplayString(n.value),7))}}),Tx=Ue._export_sfc(Cx,[["__scopeId","data-v-9aaf13f3"]]),Ax={version:"1.1",xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32",viewBox:"0 0 32 32"};function Ex(r,e){return t.openBlock(),t.createElementBlock("svg",Ax,[...e[0]||(e[0]=[t.createElementVNode("path",{fill:"currentColor",d:"M9.412 10.332c0 2.188 1.066 4.127 2.708 5.326-4.858 1.582-8.364 6.052-8.364 11.328 0 0.515 0.418 0.933 0.933 0.933s0.933-0.418 0.933-0.933c0-5.465 4.487-9.922 10.092-10.070 0.095 0.004 0.191 0.006 0.288 0.006 3.639 0 6.59-2.95 6.59-6.59s-2.951-6.59-6.59-6.59-6.59 2.95-6.59 6.59zM16.088 15.049c-0.028-0.003-0.057-0.004-0.087-0.004-0.061 0-0.122 0-0.183 0.001-2.524-0.096-4.541-2.172-4.541-4.72 0-2.608 2.115-4.723 4.723-4.723s4.723 2.115 4.723 4.723c0 2.579-2.067 4.676-4.635 4.722zM21.784 16.465c3.945 2.064 6.463 6.077 6.463 10.528 0 0.515-0.418 0.933-0.933 0.933s-0.933-0.418-0.933-0.933c0-3.744-2.123-7.127-5.462-8.874-0.457-0.239-0.633-0.803-0.394-1.26s0.803-0.633 1.26-0.394z"},null,-1)])])}const xx={name:"components-icon-avatar-line",render:Ex},kx={class:"header-user"},_x={key:0,class:"user-info"},Sx={class:"info-wrap hover-icon-rotate"},wx={key:0,class:"user-account"},Dx={key:1},Bx=t.defineComponent({__name:"OHeaderUser",props:{token:{},lang:{},noticeTotal:{},userInfo:{},options:{},customSize:{default:20},simple:{type:Boolean,default:!1},itemRadius:{default:4}},emits:["login","logout"],setup(r,{emit:e}){const{lePadV:i}=Et.useScreen(),n=e,s=()=>{n("login")},a=o=>{o!=null&&o.logout?n("logout"):window.open(o.url,o.target)};return(o,l)=>(t.openBlock(),t.createElementBlock("div",kx,[r.token?t.createCommentVNode("",!0):(t.openBlock(),t.createBlock(t.unref(A.OIcon),{key:0,onClick:s,class:"avatar-icon"},{default:t.withCtx(()=>[t.createVNode(t.unref(xx))]),_:1})),t.createVNode(t.Transition,{name:"header-user-zoom-in"},{default:t.withCtx(()=>[r.token?(t.openBlock(),t.createElementBlock("div",_x,[t.createVNode(t.unref(A.ODropdown),{trigger:t.unref(i)?"click":"hover",optionWidthMode:"auto",optionPosition:t.unref(i)?"br":"bottom","option-wrap-class":`user-dropdown ${r.lang==="en"?"is-en":""}`},{dropdown:t.withCtx(()=>[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(r.options,c=>(t.openBlock(),t.createBlock(t.unref(A.ODropdownItem),{key:c.label,onClick:d=>a(c),style:t.normalizeStyle({"--dropdown-item-radius":`${r.itemRadius}px`})},{default:t.withCtx(()=>[c!=null&&c.total?(t.openBlock(),t.createBlock(t.unref(A.OBadge),{key:0,value:c.total,color:"danger",class:t.normalizeClass(["header-message message",{"notice-not":!c.total}])},{default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(c.label),1)]),_:2},1032,["value","class"])):(t.openBlock(),t.createElementBlock("span",Dx,t.toDisplayString(c.label),1))]),_:2},1032,["onClick","style"]))),128))]),default:t.withCtx(()=>{var c,d,m;return[t.createElementVNode("div",Sx,[t.createVNode(t.unref(A.OBadge),{value:r.noticeTotal,dot:!0,color:"danger",class:t.normalizeClass(["header-message user-avatar",{"notice-not":!r.noticeTotal}])},{default:t.withCtx(()=>{var g,E;return[t.createVNode(Tx,{avatar:(g=r.userInfo)==null?void 0:g.photo,name:(E=r.userInfo)==null?void 0:E.username,"custom-size":r.customSize},null,8,["avatar","name","custom-size"])]}),_:1},8,["value","class"]),!r.simple&&!t.unref(i)&&((c=r.userInfo)!=null&&c.username)?(t.openBlock(),t.createElementBlock("p",wx,t.toDisplayString((d=r.userInfo)==null?void 0:d.username),1)):t.createCommentVNode("",!0),!r.simple&&!t.unref(i)&&((m=r.userInfo)!=null&&m.username)?(t.openBlock(),t.createBlock(t.unref(A.OIcon),{key:1,class:"icon"},{default:t.withCtx(()=>[t.createVNode(t.unref(ns))]),_:1})):t.createCommentVNode("",!0)])]}),_:1},8,["trigger","optionPosition","option-wrap-class"])])):t.createCommentVNode("",!0)]),_:1})]))}}),T0=Ue._export_sfc(Bx,[["__scopeId","data-v-67498511"]]),Vx=Object.assign(T0,{install(r){r.component("OHeaderUser",T0)}});function Ix(r,e="span",i="svg-icon"){return t.defineComponent({render(){const n=t.resolveDirective("dompurify-html");return t.withDirectives(t.h(e,{class:i}),[[n,r]])}})}const Nx={class:"o-search-input-box"},Ox={key:0,class:"o-search-input-dropdown"},Px={key:0,class:"o-search-input-suggest-list-row"},Mx={class:"o-search-input-suggest-list-label"},Lx={class:"o-search-input-suggest-list"},Rx=["onClick"],qx={key:0},Fx=t.defineComponent({__name:"OSearchInput",props:{modelValue:{default:""},imageUrl:{default:""},size:{default:"large"},placeholder:{},imagePlaceholder:{},enableImageSearch:{type:Boolean,default:!1},uploadImage:{},maxImageSize:{default:10*1024*1024},imageUploadTooltip:{},allowedImageTypes:{},suggestItems:{default:()=>[]},onestepItems:{default:()=>[]},suggestTitle:{},onestepTitle:{},noDataText:{},showSuggestEmpty:{type:Boolean,default:!0},highlightKeyword:{type:Boolean,default:!0},debounce:{default:300},enableHistory:{type:Boolean,default:!0},historyItems:{default:()=>[]},maxHistoryCount:{default:6},storeHistory:{type:Boolean,default:!1},storageKey:{default:"search-history"},historyTitle:{},autoSaveHistory:{type:Boolean,default:!0},hotItems:{default:()=>[]},hotTitle:{},suggestList:{default:()=>[]},suggestListLabel:{},clearable:{type:Boolean,default:!0},closeOnSearch:{type:Boolean,default:!0},closeOnClickOutside:{type:Boolean,default:!0},openOnFocus:{type:Boolean,default:!0},alwaysInlineThumbnail:{type:Boolean}},emits:["update:modelValue","update:imageUrl","update:historyItems","focus","blur","input","clear","search","recommend-click","onestep-click","history-click","hot-click","suggest-list-click","delete-history","delete-history-item","image-upload-start","image-upload-success","image-upload-error","image-validate-error"],setup(r,{expose:e,emit:i}){const n=r,s=i,{t:a}=Ue.useI18n();function o(X){const ne=[],ve=/<em>(.*?)<\/em>/g;let W=0,he;for(;(he=ve.exec(X))!==null;)he.index>W&&ne.push({text:X.slice(W,he.index),em:!1}),ne.push({text:he[1],em:!0}),W=he.index+he[0].length;return W<X.length&&ne.push({text:X.slice(W),em:!1}),ne}const l=t.ref(),c=t.ref(null),d=t.computed({get:()=>n.modelValue,set:X=>s("update:modelValue",X)}),m=t.ref(!1),g=t.ref(!1),E=t.ref(!1),C=t.ref(!1),w=t.computed(()=>{if(!m.value||n.imageUrl||C.value)return!1;const X=!!d.value&&(n.suggestItems.length>0||n.onestepItems.length>0||n.showSuggestEmpty),ne=n.enableHistory&&D.items.value.length>0&&!d.value,ve=n.hotItems.length>0&&!d.value;return!!(X||n.openOnFocus&&(ne||ve))}),v=t.toRef(n,"historyItems"),b=t.toRef(n,"storageKey"),k=t.toRef(n,"storeHistory"),S=t.toRef(n,"maxHistoryCount"),D=Vp({initial:v,storageKey:b,storeHistory:k,maxHistoryCount:S,onChange:X=>s("update:historyItems",X)});let O=!1;const q=wt.useDebounceFn(X=>{if(O){O=!1;return}s("input",X)},()=>n.debounce);t.watch(d,X=>{q(X)}),wt.onClickOutside(c,()=>{n.closeOnClickOutside&&(g.value||E.value||(m.value=!1))});const R=()=>{m.value=!0,s("focus")},x=()=>{s("blur")},L=async X=>{var W,he,ce,Ee,fe,ke;(he=(W=l.value)==null?void 0:W.getIsUploading)!=null&&he.call(W)&&await((Ee=(ce=l.value).awaitUpload)==null?void 0:Ee.call(ce));const ne=X!==void 0?X.trim():d.value.trim(),ve=((ke=(fe=l.value)==null?void 0:fe.getUploadedUrl)==null?void 0:ke.call(fe))||n.imageUrl;!ne&&!ve||(n.autoSaveHistory&&ne&&D.push(ne),n.closeOnSearch&&(m.value=!1),s("search",{keyword:ne,imageUrl:ve||void 0}))},_=()=>{d.value="",s("clear")},V=X=>{s("recommend-click",X),O=!0,d.value=X.key,L(X.key??"")},I=X=>{if(s("onestep-click",X),X.path){const ne=X.path;typeof window<"u"&&window.open(ne,"_blank","noopener,noreferrer")}},z=X=>{s("history-click",X),L(X)},M=X=>{s("hot-click",X),L(X)},U=X=>{D.remove(X),s("delete-history-item",X)},P=()=>{const X=[...D.items.value];D.clearAll(),s("delete-history",X)},te=X=>{const ne=X.replace(/<[^>]+>/g,"");s("suggest-list-click",ne),O=!0,d.value=ne,L(ne)},j=X=>{g.value=X,X||(E.value=!0,setTimeout(()=>{E.value=!1},100))},G=t.computed(()=>!!n.imageUrl&&(n.alwaysInlineThumbnail||!m.value)),ee=X=>{C.value=!0,s("image-upload-start",X)},J=(X,ne)=>{C.value=!1,s("image-upload-success",X,ne)},Q=()=>{C.value=!1,s("update:imageUrl","")};return e({focus:()=>{var X,ne;return(ne=(X=l.value)==null?void 0:X.focus)==null?void 0:ne.call(X)},blur:()=>{var X,ne;return(ne=(X=l.value)==null?void 0:X.blur)==null?void 0:ne.call(X)},search:L,saveHistory:X=>D.push(X??d.value)}),(X,ne)=>{var ve;return t.openBlock(),t.createElementBlock("div",{ref_key:"wrapperRef",ref:c,class:t.normalizeClass(["o-search-input",{"is-focus":m.value}])},[t.createElementVNode("div",Nx,[t.createVNode(Dp,{ref_key:"inputRef",ref:l,modelValue:d.value,"onUpdate:modelValue":ne[0]||(ne[0]=W=>d.value=W),"image-url":r.imageUrl,placeholder:r.placeholder,"image-placeholder":r.imagePlaceholder,size:r.size,"enable-image-search":r.enableImageSearch,"upload-image":r.uploadImage,"max-image-size":r.maxImageSize,"image-upload-tooltip":r.imageUploadTooltip,"allowed-image-types":r.allowedImageTypes,expanded:m.value&&!n.alwaysInlineThumbnail,"inline-thumbnail":G.value,clearable:r.clearable,class:"o-search-input-field","onUpdate:imageUrl":ne[1]||(ne[1]=W=>s("update:imageUrl",W)),onFocus:R,onBlur:x,onEnter:L,onClear:_,onImageClear:Q,onImageUploadStart:ee,onImageUploadSuccess:J,onImageUploadError:ne[2]||(ne[2]=(W,he)=>s("image-upload-error",W,he)),onImageValidateError:ne[3]||(ne[3]=(W,he)=>s("image-validate-error",W,he)),onPreviewChange:j},t.createSlots({prefix:t.withCtx(()=>[t.renderSlot(X.$slots,"input-prefix",{},void 0,!0)]),suffix:t.withCtx(W=>[t.renderSlot(X.$slots,"input-suffix",t.normalizeProps(t.guardReactiveProps(W)),void 0,!0)]),_:2},[X.$slots["image-preview"]?{name:"preview",fn:t.withCtx(W=>[t.renderSlot(X.$slots,"image-preview",t.normalizeProps(t.guardReactiveProps(W)),void 0,!0)]),key:"0"}:void 0]),1032,["modelValue","image-url","placeholder","image-placeholder","size","enable-image-search","upload-image","max-image-size","image-upload-tooltip","allowed-image-types","expanded","inline-thumbnail","clearable"]),t.createVNode(t.Transition,{name:"o-search-input-dropdown"},{default:t.withCtx(()=>[w.value?(t.openBlock(),t.createElementBlock("div",Ox,[t.renderSlot(X.$slots,"dropdown",{keyword:r.modelValue},()=>[t.createVNode(Bp,{keyword:r.modelValue,"onestep-items":r.onestepItems,"onestep-title":r.onestepTitle,"suggest-items":r.suggestItems,"suggest-title":r.suggestTitle,"history-items":r.enableHistory?t.unref(D).items.value:[],"history-title":r.historyTitle,"hot-items":r.hotItems,"hot-title":r.hotTitle,"no-data-text":r.noDataText,"highlight-keyword":r.highlightKeyword,"hide-on-keyword":!0,"show-suggest-empty":r.showSuggestEmpty,"history-layout":"list",onOnestepClick:I,onSuggestClick:V,onHistoryClick:z,onHistoryRemove:U,onHistoryClear:P,onHotClick:M},t.createSlots({_:2},[X.$slots["onestep-header"]?{name:"onestep-header",fn:t.withCtx(W=>[t.renderSlot(X.$slots,"onestep-header",t.normalizeProps(t.guardReactiveProps(W)),void 0,!0)]),key:"0"}:void 0,X.$slots["onestep-content"]?{name:"onestep-content",fn:t.withCtx(W=>[t.renderSlot(X.$slots,"onestep-content",t.normalizeProps(t.guardReactiveProps(W)),void 0,!0)]),key:"1"}:void 0,X.$slots["suggest-header"]?{name:"suggest-header",fn:t.withCtx(W=>[t.renderSlot(X.$slots,"suggest-header",t.normalizeProps(t.guardReactiveProps(W)),void 0,!0)]),key:"2"}:void 0,X.$slots["suggest-content"]?{name:"suggest-content",fn:t.withCtx(W=>[t.renderSlot(X.$slots,"suggest-content",t.normalizeProps(t.guardReactiveProps(W)),void 0,!0)]),key:"3"}:void 0,X.$slots["history-header"]?{name:"history-header",fn:t.withCtx(W=>[t.renderSlot(X.$slots,"history-header",t.normalizeProps(t.guardReactiveProps(W)),void 0,!0)]),key:"4"}:void 0,X.$slots["history-content"]?{name:"history-content",fn:t.withCtx(W=>[t.renderSlot(X.$slots,"history-content",t.normalizeProps(t.guardReactiveProps(W)),void 0,!0)]),key:"5"}:void 0]),1032,["keyword","onestep-items","onestep-title","suggest-items","suggest-title","history-items","history-title","hot-items","hot-title","no-data-text","highlight-keyword","show-suggest-empty"])],!0)])):t.createCommentVNode("",!0)]),_:3})]),(ve=r.suggestList)!=null&&ve.length?(t.openBlock(),t.createElementBlock("div",Px,[t.renderSlot(X.$slots,"suggest-list",{items:r.suggestList},()=>[t.createElementVNode("span",Mx,t.toDisplayString(r.suggestListLabel??t.unref(a)("search.suggestListLabel")),1),t.createElementVNode("ul",Lx,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(r.suggestList,(W,he)=>(t.openBlock(),t.createElementBlock("li",{key:W+he,class:"o-search-input-suggest-list-item",onClick:ce=>te(W)},[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(o(W),ce=>(t.openBlock(),t.createElementBlock(t.Fragment,{key:ce.text+String(ce.em)},[ce.em?(t.openBlock(),t.createElementBlock("em",qx,t.toDisplayString(ce.text),1)):(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[t.createTextVNode(t.toDisplayString(ce.text),1)],64))],64))),128))],8,Rx))),128))])],!0)])):t.createCommentVNode("",!0)],2)}}}),A0=Ue._export_sfc(Fx,[["__scopeId","data-v-18e8aec0"]]),Ux=Object.assign(A0,{install(r){r.component("OSearchInput",A0)}}),zx={class:"section-wrapper"},Hx={key:1,class:"section-title"},jx={key:2,class:"section-subtitle"},Xx={key:1,class:"section-body"},Gx={key:2,class:"section-footer"},Qx=t.defineComponent({__name:"OSection",props:{title:{default:void 0},subtitle:{default:void 0},full:{type:Boolean,default:!1},headerJustifyCenter:{type:Boolean,default:!0},footer:{default:void 0},footerHref:{default:void 0}},setup(r){const e=r;return(i,n)=>(t.openBlock(),t.createElementBlock("div",{class:t.normalizeClass(["app-section",{"is-full":e.full}])},[t.createElementVNode("div",zx,[t.renderSlot(i.$slots,"main",{},()=>[i.$slots.header||e.title||e.subtitle?(t.openBlock(),t.createElementBlock("div",{key:0,class:t.normalizeClass(["section-header",{"is-left":!e.headerJustifyCenter}])},[t.renderSlot(i.$slots,"header",{},()=>[t.unref(A.isArray)(e.title)?(t.openBlock(!0),t.createElementBlock(t.Fragment,{key:0},t.renderList(e.title,s=>(t.openBlock(),t.createElementBlock("h2",{key:s,class:"section-title"},t.toDisplayString(s),1))),128)):i.$slots.title||e.title?(t.openBlock(),t.createElementBlock("h2",Hx,[t.renderSlot(i.$slots,"title",{},()=>[t.createTextVNode(t.toDisplayString(e.title),1)],!0)])):t.createCommentVNode("",!0),i.$slots.subtitle||e.subtitle?(t.openBlock(),t.createElementBlock("p",jx,[t.renderSlot(i.$slots,"subtitle",{},()=>[t.createTextVNode(t.toDisplayString(e.subtitle),1)],!0)])):t.createCommentVNode("",!0)],!0)],2)):t.createCommentVNode("",!0),i.$slots.default?(t.openBlock(),t.createElementBlock("div",Xx,[t.renderSlot(i.$slots,"default",{},void 0,!0)])):t.createCommentVNode("",!0),i.$slots.footer||e.footer?(t.openBlock(),t.createElementBlock("div",Gx,[t.renderSlot(i.$slots,"footer",{},()=>[t.createVNode(t.unref(A.OLink),{href:e.footerHref,target:"_blank"},{suffix:t.withCtx(()=>[t.createVNode(t.unref(A.OIcon),{class:"footer-icon"},{default:t.withCtx(()=>[t.createVNode(t.unref(Gr))]),_:1})]),default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(e.footer)+" ",1)]),_:1},8,["href"])],!0)])):t.createCommentVNode("",!0)],!0)])],2))}}),E0=Ue._export_sfc(Qx,[["__scopeId","data-v-dae37748"]]),Yx=Object.assign(E0,{install(r){r.component("OSection",E0)}}),Kx={viewBox:"0 0 32 31.0303",xmlns:"http://www.w3.org/2000/svg",width:"32",height:"31.0303"};function Wx(r,e){return t.openBlock(),t.createElementBlock("svg",Kx,[...e[0]||(e[0]=[t.createElementVNode("rect",{width:"32",height:"31.0303",fill:"transparent"},null,-1),t.createElementVNode("path",{d:"M14.9413 28.8319C12.436 28.5468 9.72062 27.4817 8.05541 26.1465C7.11029 25.3964 5.5501 23.6862 4.96503 22.7861C3.1798 20.0258 2.45971 16.6053 2.99978 13.4999C3.52485 10.5146 4.755 8.17428 6.93027 6.04401C10.7107 2.33855 16.7565 1.16841 21.6021 3.20866C23.1923 3.88374 24.7225 4.82886 25.3526 5.51895C26.5827 6.88412 26.1327 9.1044 24.4825 9.9295C23.7774 10.2745 22.4722 10.2895 21.9621 9.9595C21.4521 9.62946 20.987 8.72935 20.867 7.81424C20.807 7.37918 20.732 7.01914 20.717 7.01914C20.687 7.01914 20.3119 7.22916 19.8919 7.46919C18.5117 8.27929 18.1067 8.39931 15.9914 8.53433C14.8813 8.59433 13.6511 8.69935 13.2761 8.75935C12.586 8.84937 11.7459 8.72935 10.4107 8.3093L9.70562 8.08427L9.73562 9.53945C9.75062 10.9496 9.73562 11.0246 9.13555 12.2698C8.35545 13.89 8.07041 14.8651 7.95040 16.3053C7.66536 19.7707 9.55560 22.3511 13.141 23.3712C15.4663 24.0313 19.3068 23.8962 21.3921 23.0711C23.3873 22.276 25.1425 20.4308 25.1425 19.1106C25.1425 18.5706 24.4525 17.8805 23.7024 17.7005C23.3873 17.6105 22.1872 17.5054 21.047 17.4604C18.6317 17.3554 16.9515 17.1304 16.4865 16.8304C16.0214 16.5303 15.7814 15.6902 15.9914 15.0601C16.2014 14.4001 16.5315 14.115 17.5066 13.755C18.1667 13.4999 18.6467 13.4549 20.567 13.4549C24.6475 13.4549 26.5677 13.965 28.0679 15.4652C29.7931 17.2054 29.9731 19.8457 28.518 22.186C26.3727 25.6215 23.8374 27.5867 20.402 28.4718C19.2468 28.7869 16.1864 28.9819 14.9413 28.8319Z",fill:"rgb(214,34,64)","fill-rule":"nonzero"},null,-1)])])}const Ol={name:"sig-icon-atomgit",render:Wx},Jx={version:"1.1",xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"};function Zx(r,e){return t.openBlock(),t.createElementBlock("svg",Jx,[...e[0]||(e[0]=[t.createElementVNode("path",{d:"M4.627 18.137l0.019-0.063 0.088-0.274 0.023-0.065 0.024-0.067 0.037-0.101 0.078-0.197 0.050-0.118 0.034-0.078 0.076-0.165 0.065-0.133 0.066-0.13 0.059-0.11 0.059-0.107 0.088-0.151 0.078-0.129 0.065-0.103 0.038-0.059 0.077-0.115 0.080-0.115 0.080-0.111c0.091-0.124 0.186-0.245 0.285-0.364l0.101-0.119 0.109-0.122 0.11-0.119c0.090-0.095 0.182-0.188 0.277-0.279l0.101-0.095 0.095-0.086 0.066-0.058 0.005-0.001 0.142-0.122c0.055-0.046 0.112-0.091 0.169-0.136l0.087-0.067 0.182-0.134 0.13-0.091 0.093-0.063 0.092-0.061 0.128-0.080 0.076-0.046 0.077-0.046 0.142-0.081 0.008-0.003 0.017-0.011 0.064-0.034 0.125-0.065 0.108-0.055 0.112-0.054 0.121-0.057 0.098-0.043 0.115-0.049 0.168-0.068 0.102-0.039 0.181-0.064c0.749-0.258 1.537-0.4 2.342-0.416l0.245-0.002c2.566-0.043 4.627-2.138 4.627-4.708 0-2.601-2.108-4.709-4.709-4.709s-4.709 2.108-4.709 4.709c0 1.498 0.704 2.878 1.875 3.761l0.079 0.058 0.314 0.226-0.366 0.125c-0.257 0.088-0.51 0.188-0.757 0.299l-0.249 0.117-0.203 0.103-0.178 0.096-0.152 0.086-0.184 0.11-0.138 0.086-0.126 0.082-0.096 0.064-0.053 0.037c-0.117 0.081-0.232 0.165-0.345 0.252-0.062 0.047-0.122 0.095-0.182 0.144l-0.080 0.066-0.11 0.093-0.080 0.070-0.115 0.104-0.061 0.056c-0.049 0.045-0.096 0.091-0.144 0.137l-0.123 0.122-0.162 0.169c-0.082 0.087-0.161 0.176-0.239 0.267l-0.061 0.072-0.131 0.16-0.109 0.138-0.139 0.187c-0.040 0.056-0.081 0.112-0.12 0.169-0.034 0.049-0.067 0.098-0.099 0.146l-0.063 0.097-0.061 0.097-0.059 0.096-0.031 0.052-0.058 0.098-0.085 0.149-0.056 0.104c-0.052 0.096-0.101 0.193-0.149 0.29l-0.115 0.244-0.032 0.072c-0.092 0.211-0.176 0.425-0.252 0.642l-0.023 0.068-0.058 0.178-0.053 0.173-0.038 0.136-0.045 0.173-0.015 0.059-0.017 0.071c-0.012 0.051-0.023 0.101-0.035 0.152l-0.029 0.136-0.032 0.172-0.018 0.107-0.025 0.164-0.017 0.127-0.019 0.161-0.012 0.114-0.013 0.142-0.008 0.113-0.007 0.103-0.010 0.213-0.005 0.167v0.117c0 0.264 0.205 0.481 0.459 0.5l0.037 0.002 0.037-0.001c0.263-0.016 0.47-0.235 0.47-0.5 0-0.090 0.002-0.179 0.005-0.269l0.006-0.135 0.006-0.102 0.008-0.101c0.009-0.112 0.019-0.223 0.033-0.333l0.023-0.176 0.024-0.154 0.022-0.122 0.023-0.12c0.013-0.064 0.026-0.128 0.041-0.192l0.029-0.125 0.024-0.097 0.010 0.002-0.010-0.005 0.064-0.232zM15.5 12.875c-0.137 0.206-0.082 0.484 0.125 0.621 0.001 0.001 0.001 0.001 0.002 0.002l0.308 0.203c0.039 0.023 0.068 0.041 0.088 0.053 2.167 1.333 3.581 3.692 3.655 6.328l0.002 0.109 0.001 0.107c0 0.277 0.224 0.501 0.501 0.501s0.501-0.224 0.501-0.501c0-2.954-1.488-5.639-3.864-7.225-0.024-0.016-0.061-0.040-0.109-0.071l-0.561-0.293c-0.227-0.119-0.507-0.047-0.649 0.166zM12 4.202c2.047 0 3.707 1.66 3.707 3.707s-1.66 3.707-3.707 3.707c-2.047 0-3.707-1.66-3.707-3.707s1.66-3.707 3.707-3.707z"},null,-1)])])}const $x={name:"sig-icon-user",render:Zx},ek={version:"1.1",xmlns:"http://www.w3.org/2000/svg",width:"23",height:"24",viewBox:"0 0 23 24"};function tk(r,e){return t.openBlock(),t.createElementBlock("svg",ek,[...e[0]||(e[0]=[t.createElementVNode("path",{fill:"currentColor",d:"M19.878 6.203l-0-0c-0.058-0.052-0.121-0.099-0.19-0.139l-4.679-2.741c-0.088-0.052-0.179-0.090-0.274-0.116s-0.193-0.039-0.295-0.039c-0.204-0-0.394 0.051-0.57 0.153l-2.35 1.368-2.35-1.368c-0.088-0.051-0.18-0.090-0.275-0.115v0c-0.095-0.026-0.193-0.038-0.295-0.038s-0.2 0.013-0.295 0.039-0.186 0.065-0.274 0.116l-4.679 2.741c-0.069 0.040-0.132 0.087-0.19 0.139v0c-0.053 0.048-0.101 0.102-0.145 0.16-0.043 0.057-0.080 0.118-0.11 0.181-0.032 0.067-0.058 0.136-0.077 0.209-0.037 0.142-0.046 0.286-0.027 0.432 0.020 0.151 0.068 0.293 0.145 0.425 0.049 0.084 0.107 0.159 0.173 0.226s0.141 0.125 0.225 0.175l1.221 0.725-1.249 0.727c-0.089 0.052-0.168 0.113-0.237 0.183v0c-0.069 0.071-0.129 0.151-0.18 0.24-0.075 0.133-0.121 0.276-0.138 0.427-0.016 0.146-0.005 0.29 0.035 0.431s0.105 0.271 0.194 0.387c0.093 0.121 0.207 0.218 0.34 0.293l1.845 1.038v3.956c0 0.138 0.017 0.272 0.052 0.401s0.087 0.253 0.156 0.373c0.069 0.12 0.152 0.226 0.246 0.321h0c0.095 0.094 0.202 0.175 0.322 0.244l4.8 2.742c0.118 0.068 0.241 0.118 0.368 0.152l0.001 0c0.127 0.034 0.259 0.051 0.396 0.051s0.268-0.017 0.396-0.051c0.127-0.034 0.25-0.085 0.369-0.152l2.608-1.49c0.327-0.187 0.437-0.59 0.25-0.917s-0.59-0.437-0.917-0.25l-2.034 1.162v-5.74l1.504 0.893c0.174 0.103 0.361 0.156 0.563 0.158s0.391-0.046 0.567-0.145l1.691-0.951v3.2c0 0.076-0.033 0.133-0.099 0.171l-0.313 0.179c-0.327 0.187-0.437 0.59-0.25 0.917s0.59 0.437 0.917 0.25l0.312-0.178c0.12-0.069 0.228-0.15 0.322-0.244s0.177-0.201 0.246-0.321c0.069-0.12 0.121-0.244 0.156-0.373s0.052-0.263 0.052-0.401v-3.956l1.845-1.038c0.070-0.039 0.134-0.084 0.192-0.136 0.054-0.047 0.103-0.1 0.148-0.157 0.090-0.116 0.155-0.245 0.194-0.387s0.051-0.285 0.035-0.431c-0.017-0.151-0.063-0.294-0.138-0.427-0.1-0.179-0.239-0.32-0.417-0.423l-1.248-0.727 1.221-0.725c0.167-0.099 0.3-0.233 0.398-0.401 0.077-0.132 0.126-0.274 0.145-0.425 0.019-0.146 0.010-0.29-0.027-0.432-0.019-0.073-0.045-0.143-0.077-0.209-0.031-0.063-0.067-0.123-0.11-0.181-0.044-0.058-0.092-0.112-0.145-0.16zM17.143 7.962l-4.287-2.495 1.582-0.921 4.258 2.494-1.553 0.922zM11.52 6.244l4.3 2.503-4.3 2.553-4.3-2.553 4.3-2.503zM10.184 5.467l-4.287 2.495-1.552-0.922 4.258-2.494 1.582 0.921zM5.89 9.521l4.313 2.561-1.439 0.854-4.446-2.5 1.572-0.915zM12.836 12.081l4.313-2.561 1.572 0.915-4.446 2.5-1.439-0.854zM6.523 16.417v-3.2l1.691 0.951c0.176 0.099 0.365 0.147 0.567 0.145s0.39-0.055 0.563-0.158l1.504-0.893v5.74l-4.226-2.414c-0.066-0.038-0.099-0.095-0.099-0.171z"},null,-1)])])}const ik={name:"sig-sig-space",render:tk},nk={class:"o-sig-item"},rk={class:"o-sig-item-header"},sk={class:"o-sig-link"},ak=["title"],ok={key:0},lk={key:1,class:"o-sig-repo"},uk={class:"o-sig-repo-label"},ck={class:"o-sig-bottom"},dk={class:"o-sig-meta"},hk={class:"o-sig-meta-text"},fk={class:"o-sig-popup-content"},pk={class:"o-sig-meta"},mk={class:"o-sig-meta-text"},gk={class:"o-sig-popup-content"},vk=t.defineComponent({__name:"OSigItem",props:{sig:{},locale:{},mobile:{type:Boolean},activeRepo:{}},emits:["to-sig-detail"],setup(r,{emit:e}){const i=e,{t:n}=Ue.useI18n(),s=(a,o)=>a===(o??0)-1?"":"、";return(a,o)=>(t.openBlock(),t.createElementBlock("div",nk,[t.createElementVNode("div",rk,[t.createElementVNode("span",{class:"o-sig-name",onClick:o[0]||(o[0]=l=>i("to-sig-detail",r.sig.name))},t.toDisplayString(r.sig.name),1),t.createVNode(t.unref(A.OTag),{variant:"outline",class:"o-sig-type-tag"},{default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString((r.locale==="zh"?r.sig.feature_zh:r.sig.feature_en)||t.unref(n)("sig.other")),1)]),_:1})]),t.createElementVNode("div",sk,[t.createVNode(t.unref(A.OLink),{href:`https://atomgit.com/${r.sig.atomgitUrl}`,target:"_blank"},{default:t.withCtx(()=>[t.createVNode(t.unref(A.OIcon),{class:"o-sig-source-icon"},{default:t.withCtx(()=>[t.createVNode(t.unref(Ol))]),_:1})]),_:1},8,["href"]),t.createVNode(t.unref(A.ODivider),{direction:"v"}),t.createVNode(t.unref(A.OLink),{class:"mail-link",color:"primary",href:`mailto:${r.sig.mailing_list}`,target:"_blank"},{default:t.withCtx(()=>[t.createVNode(cs,null,{default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(r.sig.mailing_list),1)]),_:1})]),_:1},8,["href"]),r.sig.subscribeUrl?(t.openBlock(),t.createBlock(t.unref(A.OButton),{key:0,size:"medium",color:"primary",round:"pill",href:r.sig.subscribeUrl,target:"_blank"},{default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(t.unref(n)("sig.subscribe")),1)]),_:1},8,["href"])):t.createCommentVNode("",!0)]),t.createElementVNode("div",{title:r.activeRepo?"":r.sig.description,class:"o-sig-description"},[r.activeRepo?(t.openBlock(),t.createElementBlock("div",lk,[t.createElementVNode("div",uk,t.toDisplayString(t.unref(n)("sig.repo"))+":",1),t.createVNode(t.unref(A.OLink),{color:"primary",href:`https://atomgit.com/${r.activeRepo}`,target:"_blank"},{default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(r.activeRepo),1)]),_:1},8,["href"])])):(t.openBlock(),t.createElementBlock("div",ok,t.toDisplayString(r.sig.description),1))],8,ak),t.createElementVNode("div",ck,[t.createElementVNode("div",dk,[t.createVNode(t.unref(A.OIcon),null,{default:t.withCtx(()=>[t.createVNode(t.unref(ik))]),_:1}),t.createVNode(t.unref(A.OPopover),{position:"top",trigger:"hover","wrap-class":"o-sig-popup-repos"},{target:t.withCtx(()=>{var l;return[t.createElementVNode("p",hk,t.toDisplayString(t.unref(n)("sig.repo"))+" "+t.toDisplayString((l=r.sig.repositories)==null?void 0:l.length),1)]}),default:t.withCtx(()=>[t.createElementVNode("div",fk,[t.createVNode(t.unref(A.OScroller),{showType:"always",size:"small"},{default:t.withCtx(()=>[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(r.sig.repositories,(l,c)=>(t.openBlock(),t.createBlock(t.unref(A.OLink),{key:l,class:"o-sig-popup-item",color:"primary",href:`https://atomgit.com/${l}`,target:"_blank"},{default:t.withCtx(()=>{var d;return[t.createTextVNode(t.toDisplayString(l+s(c,(d=r.sig.repositories)==null?void 0:d.length)),1)]}),_:2},1032,["href"]))),128))]),_:1})])]),_:1})]),t.createVNode(t.unref(A.ODivider),{direction:"v"}),t.createElementVNode("div",pk,[t.createVNode(t.unref(A.OIcon),null,{default:t.withCtx(()=>[t.createVNode(t.unref($x))]),_:1}),t.createVNode(t.unref(A.OPopover),{position:"top",trigger:"hover","wrap-class":"o-sig-popup-maintainers"},{target:t.withCtx(()=>{var l;return[t.createElementVNode("p",mk,"Maintainer "+t.toDisplayString((l=r.sig.maintainer_info)==null?void 0:l.length),1)]}),default:t.withCtx(()=>[t.createElementVNode("div",gk,[t.createVNode(t.unref(A.OScroller),{showType:"always",size:"small"},{default:t.withCtx(()=>[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(r.sig.maintainer_info,(l,c)=>(t.openBlock(),t.createBlock(t.unref(A.OLink),{key:l.gitee_id,class:"o-sig-popup-item",color:"primary",href:l.email?`mailto:${l.email}`:void 0,target:"_blank"},{default:t.withCtx(()=>{var d;return[t.createTextVNode(t.toDisplayString(l.gitee_id+s(c,(d=r.sig.maintainer_info)==null?void 0:d.length)),1)]}),_:2},1032,["href"]))),128))]),_:1})])]),_:1})])])]))}}),yk={version:"1.1",xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"};function bk(r,e){return t.openBlock(),t.createElementBlock("svg",yk,[...e[0]||(e[0]=[t.createElementVNode("path",{d:"M17.549 16.523l0.087 0.074 2.76 2.754c0.274 0.273 0.274 0.716 0.001 0.99-0.246 0.246-0.629 0.271-0.903 0.075l-0.087-0.074-2.76-2.754c-0.274-0.273-0.274-0.716-0.001-0.99 0.246-0.246 0.629-0.271 0.903-0.075zM10.821 3.454c4.099 0 7.423 3.323 7.423 7.423s-3.323 7.423-7.423 7.423c-4.099 0-7.423-3.323-7.423-7.423s3.323-7.423 7.423-7.423zM10.821 4.854c-3.326 0-6.023 2.696-6.023 6.023s2.696 6.023 6.023 6.023c3.326 0 6.023-2.696 6.023-6.023s-2.696-6.023-6.023-6.023z"},null,-1)])])}const Ck={name:"sig-icon-search",render:bk},Tk={version:"1.1",xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 24 24"};function Ak(r,e){return t.openBlock(),t.createElementBlock("svg",Tk,[...e[0]||(e[0]=[t.createElementVNode("path",{fill:"currentColor",d:"M18.295 3.2c0.895 0 1.605 0.748 1.605 1.653 0 0.309-0.084 0.612-0.242 0.874l-0.085 0.127-1.476 1.999c-0.23 0.311-0.668 0.377-0.979 0.147-0.283-0.209-0.363-0.59-0.203-0.891l0.055-0.088 1.476-1.999c0.034-0.046 0.054-0.106 0.054-0.169 0-0.123-0.070-0.217-0.153-0.245l-0.052-0.008h-12.59c-0.039 0-0.078 0.014-0.112 0.042-0.087 0.071-0.116 0.206-0.074 0.317l0.034 0.063 5.010 6.783c0.181 0.246 0.292 0.537 0.32 0.842l0.007 0.153 0.018 4.918c0 0.066 0.022 0.126 0.057 0.172l0.039 0.040 1.816 1.43c0.034 0.027 0.072 0.040 0.11 0.040 0.088-0 0.171-0.074 0.197-0.184l0.008-0.070-0.024-6.336c-0.001-0.311 0.083-0.616 0.242-0.879l0.086-0.128 2.149-2.909c0.23-0.311 0.668-0.377 0.979-0.147 0.283 0.209 0.363 0.59 0.203 0.891l-0.055 0.088-2.149 2.909c-0.023 0.031-0.039 0.068-0.048 0.108l-0.006 0.062 0.024 6.336c0.003 0.905-0.704 1.656-1.599 1.659-0.305 0.001-0.602-0.087-0.857-0.251l-0.124-0.089-1.816-1.43c-0.353-0.278-0.575-0.691-0.621-1.138l-0.009-0.169-0.018-4.918c-0-0.042-0.009-0.082-0.025-0.118l-0.029-0.050-5.010-6.783c-0.527-0.714-0.406-1.734 0.278-2.295 0.243-0.199 0.536-0.321 0.844-0.351l0.155-0.008h12.59z"},null,-1)])])}const Ek={name:"sig-icon-filter",render:Ak},xk={class:"o-sig-list"},kk={key:0,class:"o-sig-filter-type"},_k={class:"o-sig-filter-title"},Sk={class:"o-sig-filter-select-box"},wk={key:0,class:"o-sig-search-data"},Dk={key:0,class:"o-sig-search-label"},Bk=["onClick"],Vk=["title"],Ik={key:2,class:"o-sig-no-result"},Nk={key:2,class:"o-sig-filter-btn"},Ok={class:"o-sig-filter-text"},Pk={key:0,class:"o-sig-filter-result-tip"},Mk={key:0},Lk={class:"o-sig-num"},Rk={key:0,class:"o-sig-num"},qk={key:1},Fk={class:"o-sig-num"},Uk={key:3,class:"o-sig-loading"},zk={key:4,class:"o-sig-pagination"},Hk={class:"o-sig-dialog-title"},jk={class:"o-sig-dialog-body"},Xk={class:"o-sig-filter-title"},Gk={class:"o-sig-dialog-btn"},x0=10,k0=t.defineComponent({__name:"OSigList",props:{sigLandscape:{default:()=>[]},sigList:{default:()=>[]},searchFn:{}},emits:["to-sig-detail"],setup(r,{emit:e}){const i=us(),{locale:n,t:s}=Ue.useI18n(),a=t.computed(()=>n.value),{isLaptop:o,isPadH:l,lePadV:c}=Et.useScreen(),d=[10,20,30],m=r,g=e,E=t.ref({pageSize:x0,page:1}),C=()=>{E.value.page=1,E.value.pageSize=x0},w=t.ref([]),v=t.ref(""),b=t.ref([]),k=t.ref([]),S=t.ref([]),D=()=>{b.value=m.sigLandscape.map(({created_at:oe,...ye})=>ye);const xe=new Set,se=[];for(const oe of b.value)oe.feature_zh&&!xe.has(oe.feature_zh)&&(xe.add(oe.feature_zh),se.push({value:oe.feature_en??"",label:{zh:oe.feature_zh,en:oe.feature_en}}));se.push({value:"other",label:{zh:"其他",en:"Other"}}),se.unshift({value:"all",label:{zh:"全部",en:"All"}}),k.value=se},O=()=>{const xe=new Map(b.value.map(se=>[se.sig_name,se]));S.value=w.value.map(se=>({...se,...xe.get(se.name)??{}}))},q=()=>{w.value=[...m.sigList].sort((xe,se)=>xe.name.localeCompare(se.name)),D(),O()},R=t.ref("all"),x=t.ref(s("sig.searchSig")),L=[{label:s("sig.all"),value:"all",placeholder:s("sig.searchSig")},{label:s("sig.sigGroup"),value:"sig",placeholder:s("sig.searchSigName")},{label:s("sig.repo"),value:"repos",placeholder:s("sig.searchSigRepo")},{label:s("sig.maintainerEn"),value:"maintainer",placeholder:s("sig.searchSigMaintainer")}],_=xe=>{var oe;const se=String(xe);x.value=((oe=L.find(ye=>ye.value===se))==null?void 0:oe.placeholder)??"",ee.value=se,P()},V=xe=>{if(!xe)return[];const se=new Set;return xe.filter(oe=>se.has(oe.name)?!1:(se.add(oe.name),!0))},I=t.ref(""),z=t.ref(!1),M=t.ref([]),U=(xe,se)=>{const oe=pe=>V(pe).sort((le,be)=>be.socre-le.socre).slice(0,3),ye=[{id:"sig",label:s("sig.sigGroup"),list:oe(xe["name.keyword"])},{id:"repos",label:s("sig.repo"),list:oe(xe.repos)},{id:"maintainer",label:s("sig.maintainerEn"),list:oe(xe.giteeIds)}];return se==="all"?ye:ye.filter(pe=>pe.id===se)},P=()=>{if(!m.searchFn)return;M.value=[];const xe={keyword:I.value,keywordType:R.value};m.searchFn(xe).then(se=>{M.value=U(se,R.value);const oe=I.value;if(oe){const ye=oe.replace(/[.*+?^${}()|[\]\\]/g,"\\$&"),pe=new RegExp(`(${ye})`,"gi");M.value=M.value.map(le=>({...le,list:le.list.map(be=>({...be,name:be.name.replace(/<[^>]+>/g,"").replace(pe,'<span class="highlight-text">$1</span>')}))}))}}).catch(()=>{M.value=U({},R.value)})},te=xe=>{I.value=xe,C(),P()},j=wt.useDebounceFn(te,300),G=t.computed({get:()=>I.value.trim(),set:xe=>j(xe)}),ee=t.ref("all"),J=t.ref(""),Q=()=>{I.value&&(z.value=!1,ee.value=R.value,J.value=I.value)},X=xe=>(xe==null?void 0:xe.replace(/<[^>]+>/g,""))??"",ne=xe=>{I.value=X(xe),z.value=!1,ee.value=R.value,J.value=I.value},ve=()=>{I.value="",J.value=""},W=t.ref();wt.onClickOutside(W,()=>{z.value=!1});const he=xe=>g("to-sig-detail",xe);t.watch(()=>I.value,xe=>{z.value=!!xe,xe||(J.value=xe)});const ce=t.ref([]),Ee=t.ref([]),fe=t.ref([]),ke=t.ref(!1),Re=t.ref("all"),de=t.ref("all"),Te=(xe,se)=>!!xe&&xe.toLowerCase().includes(se);t.watch(()=>[Re.value,ee.value,J.value,E.value.page,E.value.pageSize,S.value],([xe,se,oe,ye,pe,le])=>{if(!le.length)return;const be=(oe??"").toLowerCase(),He=xe==="all"?le:le.filter(it=>xe==="other"?!it.feature_en:it.feature_en===xe);let Ve=He;be&&se&&(Ve=He.filter(it=>{var ze,gt;return!!((se==="sig"||se==="all")&&(Te(it.name,be)||Te(it.description,be))||(se==="repos"||se==="all")&&(ze=it.repositories)!=null&&ze.some(st=>st==null?void 0:st.toLowerCase().includes(be))||(se==="maintainer"||se==="all")&&(gt=it.maintainer_info)!=null&>.some(st=>Te(st.name,be)||Te(st.gitee_id,be)))})),be&&(Ve=[...Ve].sort((it,ze)=>{const gt=it.name.toLowerCase().includes(be),st=ze.name.toLowerCase().includes(be);return gt===st?0:gt?-1:1})),Ee.value=Ve,ce.value=c.value?Ve.slice(0,ye*pe):Ve.slice((ye-1)*pe,ye*pe)},{immediate:!0});const De=t.computed(()=>o.value?"24px 24px":l.value?"16px 16px":c.value?"0 12px":"32px 32px"),We=xe=>{C(),ke.value=!1,xe&&t.nextTick(()=>{Re.value="all"})},qe=()=>{fe.value=Ee.value.slice(0,E.value.page*E.value.pageSize),E.value.page++},ct=()=>{Re.value="all",ke.value=!1},Je=()=>{C(),ke.value=!1,Re.value=de.value},Me=t.ref(null),Ie=()=>{c.value&&t.nextTick(()=>{var pe;const xe=document.documentElement.scrollTop||document.body.scrollTop,se=document.body.scrollHeight,oe=document.documentElement.clientHeight||document.body.clientHeight,ye=((pe=Me.value)==null?void 0:pe.clientHeight)??0;xe+oe+ye>=se&&fe.value.length<Ee.value.length&&qe()})},Ae=wt.useThrottleFn(Ie,300);return t.onMounted(()=>{q(),Me.value=document.querySelector("#app > .footer"),window.addEventListener("scroll",Ae)}),t.onUnmounted(()=>{window.removeEventListener("scroll",Ae)}),(xe,se)=>(t.openBlock(),t.createElementBlock(t.Fragment,null,[t.createElementVNode("div",xk,[t.createElementVNode("div",{class:t.normalizeClass(["o-sig-filter-box",`o-sig-filter-box-${a.value}`])},[t.unref(c)?t.createCommentVNode("",!0):(t.openBlock(),t.createElementBlock("div",kk,[t.createElementVNode("p",_k,t.toDisplayString(t.unref(s)("sig.type")),1),t.createVNode(t.unref(A.ORadioGroup),{modelValue:Re.value,"onUpdate:modelValue":se[0]||(se[0]=oe=>Re.value=oe)},{default:t.withCtx(()=>[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(k.value,oe=>(t.openBlock(),t.createBlock(t.unref(A.ORadio),{key:oe.value,value:oe.value},{radio:t.withCtx(({checked:ye})=>[t.createVNode(t.unref(A.OToggle),{class:t.normalizeClass(["o-sig-tag-normal",{active:ye}]),checked:ye,onClick:pe=>We(ye)},{default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(oe.label[a.value]),1)]),_:2},1032,["class","checked","onClick"])]),_:2},1032,["value"]))),128))]),_:1},8,["modelValue"])])),t.unref(c)?t.createCommentVNode("",!0):(t.openBlock(),t.createBlock(t.unref(A.ODivider),{key:1,direction:"h"})),t.createElementVNode("div",Sk,[t.createElementVNode("div",{ref_key:"panelRef",ref:W,class:t.normalizeClass(["o-sig-filter-select",{"o-sig-filter-select-focus":z.value}])},[t.createVNode(t.unref(A.OSelect),{modelValue:R.value,"onUpdate:modelValue":se[1]||(se[1]=oe=>R.value=oe),size:"large",trigger:"click",variant:"outline",onChange:_},{default:t.withCtx(()=>[(t.openBlock(),t.createElementBlock(t.Fragment,null,t.renderList(L,oe=>t.createVNode(t.unref(A.OOption),{key:oe.value,label:oe.label,value:oe.value},null,8,["label","value"])),64))]),_:1},8,["modelValue"]),t.createVNode(t.unref(A.OInput),{modelValue:G.value,"onUpdate:modelValue":se[2]||(se[2]=oe=>G.value=oe),size:"large",clearable:"",placeholder:x.value,onFocusCapture:se[3]||(se[3]=oe=>z.value=!0),onPressEnter:Q,onClear:ve},{prefix:t.withCtx(()=>[t.createVNode(t.unref(A.OIcon),null,{default:t.withCtx(()=>[t.createVNode(t.unref(Ck))]),_:1})]),_:1},8,["modelValue","placeholder"]),z.value&&I.value?(t.openBlock(),t.createElementBlock("div",wk,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(M.value,oe=>(t.openBlock(),t.createElementBlock("div",{key:oe.id,class:"o-sig-search-group"},[R.value==="all"?(t.openBlock(),t.createElementBlock("p",Dk,t.toDisplayString(oe.label),1)):t.createCommentVNode("",!0),oe.list.length?(t.openBlock(!0),t.createElementBlock(t.Fragment,{key:1},t.renderList(oe.list,ye=>(t.openBlock(),t.createElementBlock("div",{key:ye.name,class:"o-sig-search-item",onClick:t.withModifiers(pe=>ne(ye==null?void 0:ye.name),["stop"])},[t.withDirectives(t.createElementVNode("span",{title:X(ye==null?void 0:ye.name),class:"o-sig-search-title"},null,8,Vk),[[t.unref(i),ye==null?void 0:ye.name]])],8,Bk))),128)):(t.openBlock(),t.createElementBlock("p",Ik,t.toDisplayString(t.unref(s)("sig.noResult")),1))]))),128))])):t.createCommentVNode("",!0)],2)]),t.unref(c)?(t.openBlock(),t.createElementBlock("div",Nk,[t.createVNode(t.unref(A.OButton),{variant:"text",color:"normal",class:"o-sig-select-btn",onClick:se[4]||(se[4]=oe=>ke.value=!0)},{default:t.withCtx(()=>[t.createVNode(t.unref(A.OIcon),null,{default:t.withCtx(()=>[t.createVNode(t.unref(Ek))]),_:1}),t.createElementVNode("span",Ok,t.toDisplayString(t.unref(s)("sig.filter")),1)]),_:1})])):t.createCommentVNode("",!0)],2),Re.value!=="all"||J.value?(t.openBlock(),t.createElementBlock("div",Pk,[I.value?(t.openBlock(),t.createElementBlock("div",Mk,[t.createElementVNode("span",null,t.toDisplayString(t.unref(s)("sig.filterResultTip1")),1),t.createElementVNode("span",Lk,t.toDisplayString(Ee.value.length),1),t.createElementVNode("span",null,t.toDisplayString(t.unref(s)("sig.filterResultTip2")),1),a.value==="zh"?(t.openBlock(),t.createElementBlock("span",Rk,t.toDisplayString(I.value),1)):t.createCommentVNode("",!0),t.createElementVNode("span",null,t.toDisplayString(t.unref(s)("sig.filterResultTip3")),1)])):(t.openBlock(),t.createElementBlock("div",qk,[t.createElementVNode("span",null,t.toDisplayString(t.unref(s)("sig.filterResultTip4")),1),t.createElementVNode("span",Fk,t.toDisplayString(Ee.value.length),1),t.createElementVNode("span",null,t.toDisplayString(t.unref(s)("sig.filterResultTip5")),1)]))])):t.createCommentVNode("",!0),ce.value.length?(t.openBlock(),t.createBlock(t.unref(A.ORow),{key:1,gap:De.value,wrap:"wrap",class:t.normalizeClass(["o-sig-card-list",{"o-sig-card-list-tip":Re.value!=="all"||J.value}])},{default:t.withCtx(()=>[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(ce.value,oe=>(t.openBlock(),t.createBlock(t.unref(A.OCol),{key:oe.name,flex:t.unref(c)?"0 0 100%":"0 0 50%"},{default:t.withCtx(()=>[t.createVNode(vk,{sig:oe,locale:a.value,mobile:t.unref(c),"active-repo":v.value,onToSigDetail:he},null,8,["sig","locale","mobile","active-repo"])]),_:2},1032,["flex"]))),128))]),_:1},8,["gap","class"])):(t.openBlock(),t.createBlock(Bl,{key:2,style:{"margin-top":"40px","--result-image-width":"140px","--result-image-height":"170px"}})),t.unref(c)&&fe.value.length&&fe.value.length<Ee.value.length?(t.openBlock(),t.createElementBlock("p",Uk,t.toDisplayString(t.unref(s)("sig.loading")),1)):t.createCommentVNode("",!0),Ee.value.length>d[0]?(t.openBlock(),t.createElementBlock("div",zk,[t.createVNode(t.unref(A.OPagination),{page:E.value.page,"onUpdate:page":se[5]||(se[5]=oe=>E.value.page=oe),"page-size":E.value.pageSize,"onUpdate:pageSize":se[6]||(se[6]=oe=>E.value.pageSize=oe),layout:["total","pagesize","pager","jumper"],total:Ee.value.length,"page-sizes":d,"show-more":!0},null,8,["page","page-size","total"])])):t.createCommentVNode("",!0)]),t.createVNode(t.unref(A.ODialog),{visible:ke.value,"onUpdate:visible":se[8]||(se[8]=oe=>ke.value=oe),"phone-half-full":t.unref(c),scrollbar:{showType:"always",size:"small"},size:"medium",style:{"--dlg-radius":"4px 4px 0 0"},class:"o-sig-filter-dialog"},{header:t.withCtx(()=>[t.createElementVNode("span",Hk,t.toDisplayString(t.unref(s)("sig.type")),1)]),default:t.withCtx(()=>[t.createElementVNode("div",jk,[t.createElementVNode("p",Xk,t.toDisplayString(t.unref(s)("sig.type")),1),t.createVNode(t.unref(A.ORadioGroup),{modelValue:de.value,"onUpdate:modelValue":se[7]||(se[7]=oe=>de.value=oe),style:{gap:"8px 8px"}},{default:t.withCtx(()=>[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(k.value,oe=>(t.openBlock(),t.createBlock(t.unref(A.ORadio),{key:oe.value,value:oe.value},{radio:t.withCtx(({checked:ye})=>[t.createVNode(t.unref(A.OToggle),{class:t.normalizeClass({active:ye}),checked:ye,style:{"--toggle-size":"28px","--toggle-padding":"6px 16px","--toggle-radius":"4px"}},{default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(oe.label[a.value]),1)]),_:2},1032,["class","checked"])]),_:2},1032,["value"]))),128))]),_:1},8,["modelValue"])]),t.createElementVNode("div",Gk,[t.createVNode(t.unref(A.OButton),{color:"normal",variant:"text",size:"large",onClick:ct},{default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(t.unref(s)("common.reset")),1)]),_:1}),t.createVNode(t.unref(A.ODivider),{class:"o-sig-dialog-divider",direction:"v"}),t.createVNode(t.unref(A.OButton),{color:"normal",variant:"text",size:"large",onClick:Je},{default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(t.unref(s)("common.confirm2")),1)]),_:1})])]),_:1},8,["visible","phone-half-full"])],64))}}),Qk="https://atomgit.com/openeuler/community/tree/master/sig/",Yk={version:"1.1",xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"};function Kk(r,e){return t.openBlock(),t.createElementBlock("svg",Yk,[...e[0]||(e[0]=[t.createElementVNode("path",{fill:"currentColor",d:"M11.664 3.425c0.387 0 0.7 0.313 0.7 0.7s-0.313 0.7-0.7 0.7h-6.474c-0.331 0-0.6 0.269-0.6 0.6v0 13.374c0 0.331 0.269 0.6 0.6 0.6v0h13.624c0.331 0 0.6-0.269 0.6-0.6v0-6.227c0-0.387 0.313-0.7 0.7-0.7s0.7 0.313 0.7 0.7v0 6.227c0 1.105-0.895 2-2 2v0h-13.624c-1.105 0-2-0.895-2-2v0-13.374c0-1.105 0.895-2 2-2v0h6.474zM18.815 3.422c1.105 0 2 0.895 2 2v0 3.95c0 0.387-0.313 0.7-0.7 0.7s-0.7-0.313-0.7-0.7v-3.515l-4.932 4.887c-0.126 0.125-0.301 0.203-0.493 0.203-0.387 0-0.7-0.313-0.7-0.7 0-0.194 0.079-0.37 0.207-0.497l4.974-4.929-3.606 0.001c-0.387 0-0.7-0.313-0.7-0.7s0.313-0.7 0.7-0.7v0h3.95z"},null,-1)])])}const Pl={name:"components-icon-outlink",render:Kk},Wk={class:"o-sig-detail-name-box"},Jk={class:"o-sig-detail-name"},Zk={class:"o-sig-detail-info-content"},$k={class:"o-sig-detail-description"},e_=t.defineComponent({__name:"OSigDetailInfoCard",props:{sigName:{default:""},giteeAddress:{default:""},description:{default:""},bg:{default:""}},setup(r){const e=r,{t:i}=Ue.useI18n(),n=t.computed(()=>e.bg?{backgroundImage:`url(${e.bg})`}:{});return(s,a)=>(t.openBlock(),t.createElementBlock("div",{class:"o-sig-detail-info-card",style:t.normalizeStyle(n.value)},[t.createElementVNode("div",Wk,[t.createElementVNode("span",Jk,t.toDisplayString(r.sigName),1),t.createVNode(t.unref(A.ODivider),{direction:"v"}),t.createVNode(t.unref(A.OLink),{color:"primary",href:r.giteeAddress,target:"_blank",class:"o-sig-detail-more-gitee"},{default:t.withCtx(()=>[t.createElementVNode("span",null,t.toDisplayString(t.unref(i)("sig.giteeMore")),1),t.createVNode(t.unref(A.OIcon),null,{default:t.withCtx(()=>[t.createVNode(t.unref(Pl))]),_:1})]),_:1},8,["href"])]),t.createElementVNode("div",Zk,[t.createElementVNode("div",$k,t.toDisplayString(r.description),1)])],4))}}),_0=t.defineComponent({__name:"WordAvatar",props:{name:{type:String,default:"",required:!0},size:{type:String,default:"medium"},customSize:{type:Number,default:0},variant:{type:String,default:"round"}},setup(r){const e=r,i=["#058EF0","#FA7305","#03B5A5"],n=t.computed(()=>{var a;return(a=e.name)==null?void 0:a.charAt(0).toUpperCase()}),s=t.computed(()=>{var l;const a={"background-color":"",width:"40px",height:"40px","font-size":"20px"};a["background-color"]=e.name?i[((l=e.name)==null?void 0:l.length)%i.length]:"transparent";let o=0;return e.customSize?o=Number(e.customSize):o={mini:16,small:24,medium:40,large:64}[e.size],a.height=`${o}px`,a.width=`${o}px`,a["font-size"]=`${o/2}px`,a});return(a,o)=>(t.openBlock(),t.createElementBlock("div",{class:t.normalizeClass(["o-sig-detail-word-avatar",`o-sig-detail-word-avatar-${r.variant}`]),style:t.normalizeStyle(s.value)},t.toDisplayString(n.value),7))}}),t_={version:"1.1",xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"};function i_(r,e){return t.openBlock(),t.createElementBlock("svg",t_,[...e[0]||(e[0]=[t.createElementVNode("path",{fill:"#c71d23",d:"M12 24c-6.628 0-12-5.372-12-12s5.372-12 12-12c6.628 0 12 5.372 12 12s-5.372 12-12 12zM18.074 10.667h-6.814c-0.327 0-0.593 0.265-0.593 0.592l-0.001 1.481c0 0.327 0.265 0.592 0.593 0.592h4.149c0.327 0 0.592 0.265 0.592 0.593v0 0.296c0 0.982-0.796 1.778-1.777 1.778h-5.63c-0.327 0-0.593-0.265-0.593-0.593v-5.63c0-0.982 0.796-1.777 1.778-1.777h8.295c0.327 0 0.593-0.265 0.593-0.592l0.002-1.481c0-0.327-0.265-0.593-0.593-0.593 0 0 0 0 0 0l-8.296 0.001c-2.455 0-4.445 1.99-4.445 4.445v8.296c0 0.327 0.266 0.592 0.593 0.592h8.74c2.209 0 4-1.791 4-4v-3.407c0-0.327-0.265-0.592-0.592-0.592v0z"},null,-1)])])}const S0={name:"sig-icon-gitee",render:i_},n_={version:"1.1",xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32",viewBox:"0 0 32 32"};function r_(r,e){return t.openBlock(),t.createElementBlock("svg",n_,[...e[0]||(e[0]=[t.createElementVNode("path",{d:"M26.307 5.012c1.473 0 2.667 1.194 2.667 2.667v7.321c0 0.515-0.418 0.933-0.933 0.933s-0.933-0.418-0.933-0.933l-0.001-6.998-9.461 7.829c-0.998 0.826-2.445 0.815-3.431-0.026l-9.466-8.075v16.67c0 0.442 0.358 0.8 0.8 0.8h20.758c0.442 0 0.8-0.358 0.8-0.8v-5.395c0-0.515 0.418-0.933 0.933-0.933s0.933 0.418 0.933 0.933v5.395c0 1.473-1.194 2.667-2.667 2.667h-20.758c-1.473 0-2.667-1.194-2.667-2.667v-16.721c0-1.473 1.194-2.667 2.667-2.667h20.758zM25.535 6.877h-18.909l8.8 7.507c0.296 0.252 0.73 0.255 1.029 0.008l9.080-7.514z"},null,-1)])])}const w0={name:"sig-icon-mail",render:r_},s_=r=>{if(!r||typeof r!="string")return"unknown";const e=r.trim().toLowerCase();return/^(https?:\/\/)?(www\.)?gitee\.com\//.test(e)?"gitee":/^(https?:\/\/)?(www\.)?atomgit\.com\//.test(e)?"atomgit":"unknown"},a_={class:"o-sig-detail-member"},o_={class:"o-sig-detail-core o-sig-floor-title"},l_={class:"o-sig-detail-member-box"},u_={key:0,class:"o-sig-detail-member-title"},c_={class:"o-sig-detail-info"},d_={class:"o-sig-detail-member-id"},h_={class:"o-sig-detail-member-name"},f_={class:"o-sig-detail-member-info-right"},p_=["href"],m_=["href"],g_={key:1,class:"o-sig-detail-more-btn"},v_={key:2,class:"o-sig-detail-member-title o-sig-detail-committer-title"},y_={class:"o-sig-detail-info"},b_={class:"o-sig-detail-member-id"},C_={class:"o-sig-detail-member-name"},T_={class:"o-sig-detail-member-info-right"},A_=["href"],E_=["href"],x_={key:3,class:"o-sig-detail-more-btn"},k_=t.defineComponent({__name:"OSigMember",props:{maintainerList:{default:()=>[]},committerList:{default:()=>[]}},setup(r){const e=r,{t:i}=Ue.useI18n(),{isPhone:n,isPadH:s,isPadV:a,leLaptop:o}=Et.useScreen(),{isDark:l}=vs(),c=t.computed(()=>s.value?18:a.value?12:n.value?6:12),d=t.computed(()=>s.value?3:a.value?2:1),m=t.computed(()=>Math.min(e.maintainerList.length,c.value)),g=t.computed(()=>{const q=d.value,R=Math.ceil(m.value/q)*q;return Math.min(e.committerList.length,Math.max(0,c.value-R))}),E=t.ref(!1),C=()=>{E.value=!E.value},w=t.computed(()=>E.value?e.maintainerList:e.maintainerList.slice(0,m.value)),v=t.computed(()=>{const q=d.value;if(q<=1)return 0;const R=w.value.length%q;return R===0?0:q-R}),b=t.ref(!1),k=()=>{b.value=!b.value},S=t.computed(()=>b.value?e.committerList:e.committerList.slice(0,g.value)),D=t.computed(()=>{const q=d.value;if(q<=1)return 0;const R=S.value.length%q;return R===0?0:q-R}),O=q=>{const R=s_(q);return R==="gitee"?"gitee":R==="atomgit"?"atomgit":""};return(q,R)=>(t.openBlock(),t.createElementBlock("div",a_,[t.createElementVNode("p",o_,t.toDisplayString(t.unref(i)("sig.sigCore",{num:r.maintainerList.length+r.committerList.length})),1),t.createElementVNode("div",l_,[r.maintainerList.length?(t.openBlock(),t.createElementBlock("div",u_,t.toDisplayString(t.unref(i)("sig.sigMaintainer",{num:r.maintainerList.length})),1)):t.createCommentVNode("",!0),t.createElementVNode("div",{class:t.normalizeClass(["o-sig-detail-member-list",{"o-sig-detail-member-list-all":E.value||r.maintainerList.length<=c.value,"o-sig-detail-member-list-dark":t.unref(l)}]),style:t.normalizeStyle({"--o-sig-detail-member-columns":d.value})},[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(w.value,(x,L)=>(t.openBlock(),t.createElementBlock("div",{key:x.gitee_id,class:"o-sig-detail-member-info"},[t.createElementVNode("div",{class:t.normalizeClass(["o-sig-detail-member-info-left",{"o-sig-detail-member-info-id":!x.name}])},[t.createVNode(_0,{name:x.user_login,size:"medium","custom-size":t.unref(o)?32:0},null,8,["name","custom-size"]),t.createElementVNode("div",c_,[t.createElementVNode("div",d_,t.toDisplayString(x.user_login),1),t.createElementVNode("div",h_,t.toDisplayString(x.name),1)])],2),t.createElementVNode("div",f_,[t.createElementVNode("a",{href:x.user_homepage_url,target:"_blank",rel:"noopener noreferrer"},[t.createVNode(t.unref(A.OIcon),null,{default:t.withCtx(()=>[O(x.user_homepage_url)==="gitee"?(t.openBlock(),t.createBlock(t.unref(S0),{key:0})):O(x.user_homepage_url)==="atomgit"?(t.openBlock(),t.createBlock(t.unref(Ol),{key:1})):t.createCommentVNode("",!0)]),_:2},1024)],8,p_),t.createElementVNode("a",{class:t.normalizeClass(x.email?"":"hidden-link"),href:`mailto:${x.email}`},[t.createVNode(t.unref(A.OIcon),null,{default:t.withCtx(()=>[t.createVNode(t.unref(w0))]),_:1})],10,m_)])]))),128)),(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(v.value,x=>(t.openBlock(),t.createElementBlock("div",{key:`maintainer-fill-${x}`,class:"o-sig-detail-member-placeholder"}))),128))],6),r.maintainerList.length>c.value?(t.openBlock(),t.createElementBlock("div",g_,[t.createElementVNode("div",{class:"o-sig-detail-view-all",onClick:C},[t.createElementVNode("span",null,t.toDisplayString(E.value?t.unref(i)("common.collapse"):t.unref(i)("sig.viewAll")),1),t.createVNode(t.unref(A.OIcon),{class:t.normalizeClass({"o-sig-detail-reversal":E.value})},{default:t.withCtx(()=>[t.createVNode(t.unref(ns))]),_:1},8,["class"])])])):t.createCommentVNode("",!0),r.committerList.length?(t.openBlock(),t.createElementBlock("div",v_,t.toDisplayString(t.unref(i)("sig.sigCommitter",{num:r.committerList.length})),1)):t.createCommentVNode("",!0),t.createElementVNode("div",{class:t.normalizeClass(["o-sig-detail-member-list",{"o-sig-detail-member-list-all":b.value||r.committerList.length<=g.value,"o-sig-detail-member-list-dark":t.unref(l)}]),style:t.normalizeStyle({"--o-sig-detail-member-columns":d.value})},[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(S.value,x=>(t.openBlock(),t.createElementBlock("div",{key:x.gitee_id,class:"o-sig-detail-member-info"},[t.createElementVNode("div",{class:t.normalizeClass(["o-sig-detail-member-info-left",{"o-sig-detail-member-info-id":!x.name}])},[t.createVNode(_0,{name:x.user_login,size:"medium","custom-size":t.unref(o)?32:0},null,8,["name","custom-size"]),t.createElementVNode("div",y_,[t.createElementVNode("div",b_,t.toDisplayString(x.user_login),1),t.createElementVNode("div",C_,t.toDisplayString(x.name),1)])],2),t.createElementVNode("div",T_,[t.createElementVNode("a",{href:x.user_homepage_url,target:"_blank",rel:"noopener noreferrer"},[t.createVNode(t.unref(A.OIcon),null,{default:t.withCtx(()=>[O(x.user_homepage_url)==="gitee"?(t.openBlock(),t.createBlock(t.unref(S0),{key:0})):O(x.user_homepage_url)==="atomgit"?(t.openBlock(),t.createBlock(t.unref(Ol),{key:1})):t.createCommentVNode("",!0)]),_:2},1024)],8,A_),t.createElementVNode("a",{class:t.normalizeClass(x.email?"":"hidden-link"),href:`mailto:${x.email}`},[t.createVNode(t.unref(A.OIcon),null,{default:t.withCtx(()=>[t.createVNode(t.unref(w0))]),_:1})],10,E_)])]))),128)),(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(D.value,x=>(t.openBlock(),t.createElementBlock("div",{key:`committer-fill-${x}`,class:"o-sig-detail-member-placeholder"}))),128))],6),r.committerList.length>g.value?(t.openBlock(),t.createElementBlock("div",x_,[t.createElementVNode("div",{class:"o-sig-detail-view-all",onClick:k},[t.createElementVNode("span",null,t.toDisplayString(b.value?t.unref(i)("common.collapse"):t.unref(i)("sig.viewAll")),1),t.createVNode(t.unref(A.OIcon),{class:t.normalizeClass({"o-sig-detail-reversal":b.value})},{default:t.withCtx(()=>[t.createVNode(t.unref(ns))]),_:1},8,["class"])])])):t.createCommentVNode("",!0)])]))}}),__={id:"repositories",class:"o-sig-detail-repo"},S_={class:"o-sig-detail-repo-title o-sig-floor-title"},w_={key:1},D_={key:0,class:"o-sig-detail-pagination"},B_=t.defineComponent({__name:"OSigRepo",props:{repositories:{default:()=>[]}},setup(r){const e=r,{t:i,locale:n}=Ue.useI18n(),{lePadV:s}=Et.useScreen(),a=t.ref(1),o=t.ref(10),l=t.ref({}),c=t.computed(()=>e.repositories.filter(C=>{var w,v,b,k,S;return!((w=l.value.repo)!=null&&w.length&&!l.value.repo.includes(C.repo)||(v=l.value.maintainers)!=null&&v.length&&!((b=C.maintainers)!=null&&b.some(D=>l.value.maintainers.includes(D.user_login)))||(k=l.value.committers)!=null&&k.length&&!((S=C.committers)!=null&&S.some(D=>l.value.committers.includes(D.user_login))))})),d=t.computed(()=>s.value?c.value.slice(0,a.value*o.value):c.value.length>o.value?c.value.slice((a.value-1)*o.value,a.value*o.value):c.value);t.watch(()=>e.repositories,()=>{l.value={},a.value=1});const m=C=>{C&&(l.value={...l.value,[C.key]:C.newVal},a.value=1)},g=(C,w)=>{const v=new Set;return C.forEach(b=>(b[w]||[]).forEach(k=>k.user_login&&v.add(k.user_login))),[...v].map(b=>({label:b,value:b}))},E=t.computed(()=>[{key:"repo",label:i("sig.repositoryName"),width:"20%",filter:{optionsFn:()=>e.repositories.map(C=>({label:C.repo,value:C.repo})),multiple:!1}},{key:"maintainers",label:i("sig.maintainerEn"),width:"48%",filter:{optionsFn:()=>g(e.repositories,"maintainers"),multiple:!1}},{key:"committers",label:i("sig.committer"),width:"22%",filter:{optionsFn:()=>g(e.repositories,"committers"),multiple:!1}}]);return(C,w)=>(t.openBlock(),t.createElementBlock("div",__,[t.createElementVNode("h2",S_,t.toDisplayString(t.unref(i)("sig.repoList",{count:c.value.length})),1),t.createVNode(t.unref(A.ODataTable),{class:"o-sig-detail-repo-table",columns:E.value,size:"small",border:"row-frame",data:d.value,"row-key":"repo",onConditionUpdate:m},{td_repo:t.withCtx(({row:v})=>[t.createVNode(t.unref(A.OLink),{target:"_blank",rel:"noopener noreferrer",href:`https://atomgit.com/${v.repo}`},{default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(v.repo),1)]),_:2},1032,["href"])]),td_maintainers:t.withCtx(({row:v})=>[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(v.maintainers,(b,k)=>(t.openBlock(),t.createBlock(t.unref(A.OLink),{key:b.user_login,target:"_blank",rel:"noopener noreferrer",href:b.user_homepage_url},{default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(b.user_login)+" ",1),t.withDirectives(t.createElementVNode("span",null,t.toDisplayString(t.unref(n)==="zh"?"、":", "),513),[[t.vShow,k!==v.maintainers.length-1]])]),_:2},1032,["href"]))),128))]),td_committers:t.withCtx(({row:v})=>{var b;return[(b=v.committers)!=null&&b.length?(t.openBlock(!0),t.createElementBlock(t.Fragment,{key:0},t.renderList(v.committers,(k,S)=>(t.openBlock(),t.createBlock(t.unref(A.OLink),{key:k.user_login,target:"_blank",rel:"noopener noreferrer",href:k.user_homepage_url},{default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(k.user_login)+" ",1),t.withDirectives(t.createElementVNode("span",null,t.toDisplayString(t.unref(n)==="zh"?"、":", "),513),[[t.vShow,S!==v.committers.length-1]])]),_:2},1032,["href"]))),128)):(t.openBlock(),t.createElementBlock("span",w_,"-"))]}),_:1},8,["columns","data"]),c.value.length>o.value?(t.openBlock(),t.createElementBlock("div",D_,[t.createVNode(t.unref(A.OPagination),{page:a.value,"onUpdate:page":w[0]||(w[0]=v=>a.value=v),"page-size":o.value,"onUpdate:pageSize":w[1]||(w[1]=v=>o.value=v),layout:["total","pagesize","pager","jumper"],total:c.value.length,"page-sizes":[10,20,30,40],"show-more":!0,simple:t.unref(s)},null,8,["page","page-size","total","simple"])])):t.createCommentVNode("",!0)]))}}),V_={version:"1.1",xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"};function I_(r,e){return t.openBlock(),t.createElementBlock("svg",V_,[...e[0]||(e[0]=[t.createElementVNode("path",{fill:"currentColor",d:"M18.534 5.029c0.935 0 1.693 0.758 1.693 1.693v4.647c0 0.327-0.265 0.592-0.592 0.592s-0.592-0.265-0.592-0.592l-0-4.443-6.007 4.97c-0.634 0.524-1.552 0.517-2.178-0.016l-6.010-5.127 0.001 10.583c0 0.28 0.227 0.508 0.508 0.508h13.177c0.28 0 0.508-0.227 0.508-0.508v-3.425c0-0.327 0.265-0.592 0.592-0.592s0.592 0.265 0.592 0.592v3.425c0 0.935-0.758 1.693-1.693 1.693h-13.177c-0.935 0-1.693-0.758-1.693-1.693v-10.614c0-0.935 0.758-1.693 1.693-1.693h13.177zM18.045 6.213h-12.004l5.586 4.765c0.188 0.16 0.463 0.162 0.653 0.005l5.765-4.77z"},null,-1)])])}const D0={name:"components-icon-notice",render:I_},N_={version:"1.1",xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"};function O_(r,e){return t.openBlock(),t.createElementBlock("svg",N_,[...e[0]||(e[0]=[t.createElementVNode("path",{d:"M12.697 3v1.301h6.299c0.123 0 0.242 0.012 0.359 0.039 0.104 0.020 0.205 0.055 0.303 0.094 0.098 0.043 0.191 0.094 0.279 0.148 0.094 0.063 0.18 0.137 0.262 0.215 0.080 0.082 0.152 0.172 0.215 0.266 0.059 0.086 0.107 0.18 0.148 0.277 0.043 0.098 0.074 0.199 0.096 0.301q0.039 0.176 0.039 0.359v5.418c0 0.391-0.309 0.699-0.701 0.699-0.391 0-0.699-0.309-0.699-0.699v-5.418c0-0.039-0.008-0.078-0.021-0.113-0.016-0.035-0.135-0.133-0.164-0.164-0.035-0.016-0.072-0.023-0.115-0.023h-14c-0.041 0-0.078 0.008-0.115 0.023-0.035 0.016-0.133 0.133-0.162 0.164-0.014 0.035-0.021 0.074-0.021 0.113v10c0 0.043 0.008 0.082 0.021 0.117v0c0.016 0.035 0.133 0.133 0.162 0.16 0.037 0.016 0.074 0.024 0.115 0.024h14c0.043 0 0.080-0.008 0.115-0.024 0.035-0.012 0.135-0.133 0.164-0.16 0.014-0.035 0.021-0.074 0.021-0.117v-2.215c0-0.391 0.309-0.699 0.699-0.699 0.393 0 0.701 0.309 0.701 0.699v2.215c0 0.125-0.014 0.242-0.039 0.359-0.021 0.102-0.053 0.203-0.096 0.305-0.041 0.098-0.090 0.188-0.148 0.277-0.063 0.094-0.135 0.18-0.215 0.262-0.082 0.082-0.168 0.152-0.264 0.215-0.086 0.059-0.18 0.105-0.277 0.148s-0.199 0.074-0.303 0.098c-0.117 0.023-0.236 0.035-0.359 0.035h-0.33l1.816 1.816c0.277 0.277 0.277 0.715 0 0.988-0.277 0.277-0.713 0.277-0.99 0l-2.805-2.805h-9.381l-2.805 2.805c-0.277 0.277-0.713 0.277-0.99 0-0.277-0.273-0.277-0.711 0-0.988l1.814-1.816h-0.33q-0.182 0-0.355-0.035h-0.002c-0.103-0.024-0.205-0.055-0.303-0.098-0.1-0.039-0.191-0.090-0.279-0.148-0.094-0.063-0.182-0.133-0.262-0.215-0.082-0.082-0.152-0.168-0.215-0.262q-0.088-0.133-0.148-0.277c-0.043-0.102-0.074-0.203-0.098-0.305-0.025-0.117-0.037-0.234-0.037-0.359v-10q0-0.184 0.037-0.359v0 0c0.023-0.102 0.055-0.203 0.098-0.301 0.041-0.098 0.090-0.191 0.148-0.277 0.063-0.094 0.133-0.184 0.215-0.266 0.080-0.078 0.168-0.152 0.262-0.215 0.088-0.055 0.18-0.105 0.279-0.148 0.098-0.039 0.199-0.074 0.303-0.094v0q0.002 0 0.004-0.004v0q0.172-0.035 0.354-0.035h6.301v-1.301c0-0.391 0.309-0.699 0.699-0.699 0.393 0 0.701 0.309 0.701 0.699zM17.502 9.488l-3.463 3.555c-0.147 0.129-0.359 0.223-0.551 0.211-0.193-0.016-0.354-0.094-0.479-0.242l-2.549-2.941-2.932 3.387c-0.258 0.297-0.691 0.328-0.988 0.070-0.295-0.254-0.326-0.687-0.070-0.984l3.461-4c0.127-0.148 0.287-0.227 0.479-0.242 0.193-0.012 0.363 0.043 0.51 0.168l2.649 3.051 2.93-3.008c0.273-0.281 0.709-0.285 0.99-0.012s0.287 0.707 0.014 0.988z"},null,-1)])])}const P_={name:"components-icon-working",render:O_},M_={class:"o-sig-detail-contribute"},L_={class:"o-sig-floor-title"},R_={class:"o-sig-detail-contribute-title"},q_={class:"o-sig-detail-contribute-desc"},F_={class:"o-sig-detail-contribute-input-filter"},U_={class:"o-sig-detail-contribute-user-type"},z_={class:"o-sig-detail-contribute-user-type-label"},H_={class:"o-sig-detail-contribute-cell"},j_={class:"o-sig-detail-contribute-data"},X_=t.defineComponent({__name:"OSigUserContribute",props:{sig:{default:""},getDataRequest:{type:Function,default:void 0}},setup(r){const e=r,{t:i,locale:n}=Ue.useI18n(),s=t.computed(()=>n.value==="en"),{isPhone:a,lePadV:o}=Et.useScreen(),l=(M,U,P)=>{var te;return(te=U.find(j=>j.value===M))==null?void 0:te[P]},c=[{label:"Maintainer",value:"maintainer",color:"rgb(0, 98, 220)"},{label:"Committer",value:"committer",color:"rgb(240, 188, 0)"},{label:"Contributor",value:"contributor",color:"rgb(0, 167, 179)"}],d=t.ref(c.map(M=>M.value)),m=M=>l(M,c,"color"),g=t.ref("pr"),E=[{label:i("sig.PRS"),value:"pr",alias:"PR"},{label:i("sig.ISSUES"),value:"issue",alias:"Issue"},{label:i("sig.COMMENTS"),value:"comment",alias:"Comment"}],C=t.ref(""),w=[{label:i("sig.ALL"),value:""},{label:i("sig.commentNormal"),value:"normal"},{label:i("sig.commentCommand"),value:"command"}],v=t.computed(()=>l(g.value,E,"alias")),b=t.ref([new Date(new Date().getFullYear(),0,1),new Date]),k=t.ref([]),S=()=>{C.value="",D()},D=async()=>{var U;if(!e.getDataRequest)return;q.value=1;const M={contributeType:g.value,sig:e.sig,community:"TODO",comment_type:C.value};((U=b.value)==null?void 0:U.length)===2&&Object.assign(M,{start:b.value[0].getTime(),end:b.value[1].getTime()}),k.value=await e.getDataRequest(M)||[]},O=t.computed(()=>k.value.length===0?0:Math.max(...k.value.map(M=>M.contribute))),q=t.ref(1),R=t.ref(10),x=[10,15,30,50],L=t.ref(""),_=wt.refDebounced(L,400),V=()=>{q.value=1},I=t.computed(()=>{let M=k.value;if(d.value.length&&(M=M.filter(U=>d.value.includes(U.usertype))),L.value){const U=_.value;M=M.filter(P=>P.user_login.toLowerCase().includes(U))}return M}),z=t.computed(()=>{const M=(q.value-1)*R.value;return I.value.slice(M,M+R.value)});return t.onMounted(()=>{D()}),(M,U)=>(t.openBlock(),t.createElementBlock("div",M_,[t.createElementVNode("div",L_,[t.createElementVNode("div",R_,t.toDisplayString(t.unref(i)("sig.contributeTitle")),1),t.createElementVNode("div",q_,t.toDisplayString(t.unref(i)("sig.contributeSubTitle",[r.sig])),1)]),t.createVNode(t.unref(A.OCard),null,{default:t.withCtx(()=>[t.createVNode(t.unref(A.OForm),{layout:t.unref(a)?"v":"h",class:t.normalizeClass(s.value?"is-en":"")},{default:t.withCtx(()=>[t.createVNode(t.unref(A.OFormItem),{label:t.unref(i)("sig.METRIC"),field:"contributeType"},{default:t.withCtx(()=>[t.createVNode(t.unref(A.ORadioGroup),{modelValue:g.value,"onUpdate:modelValue":U[0]||(U[0]=P=>g.value=P),onChange:S},{default:t.withCtx(()=>[(t.openBlock(),t.createElementBlock(t.Fragment,null,t.renderList(E,P=>t.createVNode(t.unref(A.ORadio),{key:P.value,value:P.value},{radio:t.withCtx(({checked:te})=>[t.createVNode(t.unref(A.OToggle),{checked:te},{default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(P.label),1)]),_:2},1032,["checked"])]),_:2},1032,["value"])),64))]),_:1},8,["modelValue"])]),_:1},8,["label"]),g.value==="comment"?(t.openBlock(),t.createBlock(t.unref(A.OFormItem),{key:0,label:"",field:"commentType"},{default:t.withCtx(()=>[t.createVNode(t.unref(A.ORadioGroup),{modelValue:C.value,"onUpdate:modelValue":U[1]||(U[1]=P=>C.value=P),onChange:D},{default:t.withCtx(()=>[(t.openBlock(),t.createElementBlock(t.Fragment,null,t.renderList(w,P=>t.createVNode(t.unref(A.ORadio),{key:P.value,value:P.value},{default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(P.label),1)]),_:2},1032,["value"])),64))]),_:1},8,["modelValue"])]),_:1})):t.createCommentVNode("",!0),t.createVNode(t.unref(A.OFormItem),{label:t.unref(i)("sig.TIMERANGE"),field:"dateRange"},{default:t.withCtx(()=>[t.createVNode(t.unref(tt.ElDatePicker),{modelValue:b.value,"onUpdate:modelValue":U[2]||(U[2]=P=>b.value=P),type:"daterange","range-separator":"-","start-placeholder":t.unref(i)("sig.startDate"),"end-placeholder":t.unref(i)("sig.endDate"),onChange:D},null,8,["modelValue","start-placeholder","end-placeholder"])]),_:1},8,["label"])]),_:1},8,["layout","class"])]),_:1}),t.createVNode(t.unref(A.OCard),null,{default:t.withCtx(()=>[t.createElementVNode("div",F_,[t.createVNode(t.unref(A.OInput),{modelValue:L.value,"onUpdate:modelValue":U[3]||(U[3]=P=>L.value=P),placeholder:t.unref(i)("sig.contributePlaceholder"),onInput:V},{prefix:t.withCtx(()=>[t.createVNode(t.unref(A.OIcon),null,{default:t.withCtx(()=>[t.createVNode(t.unref(A.OIconSearch))]),_:1})]),_:1},8,["modelValue","placeholder"]),t.createVNode(t.unref(A.OCheckboxGroup),{modelValue:d.value,"onUpdate:modelValue":U[4]||(U[4]=P=>d.value=P)},{default:t.withCtx(()=>[(t.openBlock(),t.createElementBlock(t.Fragment,null,t.renderList(c,P=>t.createVNode(t.unref(A.OCheckbox),{key:P.value,value:P.value},{checkbox:t.withCtx(({checked:te})=>[t.createElementVNode("div",U_,[t.createElementVNode("div",{class:"o-sig-detail-contribute-dot",style:t.normalizeStyle({backgroundColor:te?P.color:"rgb(204, 204, 204)"})},null,4),t.createElementVNode("p",z_,t.toDisplayString(P.label),1)])]),_:2},1032,["value"])),64))]),_:1},8,["modelValue"])]),t.createVNode(t.unref(tt.ElTable),{data:z.value,"header-cell-style":{backgroundColor:"rgb(232, 232, 235)",color:"#000",fontWeight:"500"}},{default:t.withCtx(()=>[t.createVNode(t.unref(tt.ElTableColumn),{label:t.unref(i)("sig.NUMBER"),width:"60"},{default:t.withCtx(({$index:P})=>[t.createElementVNode("span",null,t.toDisplayString(P+1),1)]),_:1},8,["label"]),t.createVNode(t.unref(tt.ElTableColumn),{label:"GitCode ID",width:"180"},{default:t.withCtx(({row:P})=>[t.createVNode(t.unref(A.OLink),{class:"user-id-link",color:"primary",target:"_blank",rel:"noopener noreferrer",href:P.userLink},{icon:t.withCtx(()=>[t.createElementVNode("div",{class:"o-sig-detail-contribute-dot",style:t.normalizeStyle({backgroundColor:m(P.usertype)})},null,4)]),default:t.withCtx(()=>[t.createTextVNode(" "+t.toDisplayString(P.user_login),1)]),_:2},1032,["href"])]),_:1}),t.createVNode(t.unref(tt.ElTableColumn),{label:v.value},{default:t.withCtx(({row:P})=>[t.createElementVNode("div",H_,[t.createElementVNode("span",j_,t.toDisplayString(P.contribute),1),P.contribute>0?(t.openBlock(),t.createBlock(t.unref(tt.ElProgress),{key:0,"show-text":!1,color:m(P.usertype),percentage:Math.floor(P.contribute*100/O.value)},null,8,["color","percentage"])):t.createCommentVNode("",!0)])]),_:1},8,["label"])]),_:1},8,["data"])]),_:1}),I.value.length?(t.openBlock(),t.createBlock(t.unref(A.OPagination),{key:0,total:I.value.length,"page-sizes":x,page:q.value,"onUpdate:page":U[5]||(U[5]=P=>q.value=P),"page-size":R.value,"onUpdate:pageSize":U[6]||(U[6]=P=>R.value=P),"show-total":"",simple:t.unref(o)},null,8,["total","page","page-size","simple"])):t.createCommentVNode("",!0)]))}}),G_={class:"o-sig-detail"},Q_={class:"o-sig-detail-content"},Y_={class:"o-sig-detail-floor"},K_={class:"o-sig-detail-meeting o-sig-detail-floor-item"},W_={class:"o-sig-detail-meeting-detail"},J_={class:"o-sig-detail-title o-sig-floor-title"},Z_={class:"o-sig-detail-meeting-card"},$_={class:"o-sig-detail-info-item"},eS={class:"o-sig-detail-title-top"},tS={class:"o-sig-detail-text"},iS={class:"o-sig-detail-tip"},nS={class:"o-sig-detail-email-link"},rS={class:"o-sig-detail-title-top"},sS={class:"o-sig-detail-text"},aS={key:0,class:"o-sig-detail-discuss-link"},oS={class:"o-sig-detail-title-top"},lS={class:"o-sig-detail-text"},uS={key:0,class:"o-sig-detail-floor-item"},cS={class:"o-sig-detail-floor-item"},dS={class:"o-sig-detail-floor-item"},B0=t.defineComponent({__name:"OSigDetail",props:{sigName:{default:""},sigDetail:{default:void 0},repositories:{default:()=>[]},headerBg:{default:""},getContributeData:{}},setup(r){const e=r,{t:i}=Ue.useI18n(),n=t.computed(()=>e.sigDetail),s=t.computed(()=>{var o;return((o=e.sigDetail)==null?void 0:o.maintainer_info)||[]}),a=t.computed(()=>{var o;return((o=e.sigDetail)==null?void 0:o.committer_info)||[]});return t.onMounted(()=>{t.nextTick(()=>{setTimeout(()=>{const o=window.location.hash?document.querySelector(window.location.hash).offsetTop:0;window.scrollTo({top:o,behavior:"smooth"})},300)})}),(o,l)=>{var c,d,m,g,E,C;return t.openBlock(),t.createElementBlock("div",G_,[t.createVNode(e_,{description:(c=n.value)==null?void 0:c.description,"sig-name":e.sigName,"gitee-address":`${t.unref(Qk)}${e.sigName}`,bg:r.headerBg},null,8,["description","sig-name","gitee-address","bg"]),t.createElementVNode("div",Q_,[t.createVNode(k_,{"maintainer-list":s.value,"committer-list":a.value},null,8,["maintainer-list","committer-list"]),t.createElementVNode("div",Y_,[t.createElementVNode("div",K_,[t.createElementVNode("div",W_,[t.createElementVNode("p",J_,t.toDisplayString(t.unref(i)("sig.sigMettingActive")),1),t.createElementVNode("div",Z_,[t.createElementVNode("div",$_,[t.createElementVNode("div",eS,[t.createVNode(t.unref(A.OIcon),null,{default:t.withCtx(()=>[t.createVNode(t.unref(P_))]),_:1}),t.createElementVNode("p",tS,t.toDisplayString(t.unref(i)("sig.workMeeting")),1),(d=n.value)!=null&&d.etherpadUrl?(t.openBlock(),t.createBlock(t.unref(A.OLink),{key:0,href:(m=n.value)==null?void 0:m.etherpadUrl,target:"_blank",color:"primary"},{suffix:t.withCtx(()=>[t.createVNode(t.unref(A.OIcon),null,{default:t.withCtx(()=>[t.createVNode(t.unref(Pl))]),_:1})]),default:t.withCtx(()=>[t.createTextVNode(" "+t.toDisplayString(t.unref(i)("sig.meetingSummary")),1)]),_:1},8,["href"])):t.createCommentVNode("",!0)]),t.createElementVNode("p",iS,t.toDisplayString(t.unref(i)("sig.sigMeetingIntro")),1)]),t.createElementVNode("div",nS,[t.createElementVNode("div",rS,[t.createVNode(t.unref(A.OIcon),null,{default:t.withCtx(()=>[t.createVNode(t.unref(D0))]),_:1}),t.createElementVNode("p",sS,t.toDisplayString(t.unref(i)("sig.mailList")),1)]),t.createVNode(t.unref(A.OLink),{color:"primary",href:`mailto:${(g=n.value)==null?void 0:g.mailing_list}`,target:"_blank",class:"o-sig-detail-icon-link"},{default:t.withCtx(()=>{var w;return[t.createTextVNode(t.toDisplayString((w=n.value)==null?void 0:w.mailing_list),1)]}),_:1},8,["href"]),(E=n.value)!=null&&E.subscribeUrl?(t.openBlock(),t.createBlock(t.unref(A.OButton),{key:0,round:"pill",color:"primary",href:(C=n.value)==null?void 0:C.subscribeUrl,target:"_blank",size:"medium"},{suffix:t.withCtx(()=>[t.createVNode(t.unref(A.OIcon),null,{default:t.withCtx(()=>[t.createVNode(t.unref(Pl))]),_:1})]),default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(t.unref(i)("sig.subscribe"))+" ",1)]),_:1},8,["href"])):t.createCommentVNode("",!0)]),n.value.discuss_url?(t.openBlock(),t.createElementBlock("div",aS,[t.createElementVNode("div",oS,[t.createVNode(t.unref(A.OIcon),null,{default:t.withCtx(()=>[t.createVNode(t.unref(D0))]),_:1}),t.createElementVNode("p",lS,t.toDisplayString(t.unref(i)("sig.forum")),1)]),t.createVNode(t.unref(A.OLink),{color:"primary",href:n.value.discuss_url,target:"_blank",class:"o-sig-detail-icon-link"},{default:t.withCtx(()=>{var w;return[t.createTextVNode(t.toDisplayString((w=n.value)==null?void 0:w.mailing_list),1)]}),_:1},8,["href"])])):t.createCommentVNode("",!0)])])]),o.$slots.meeting?(t.openBlock(),t.createElementBlock("div",uS,[t.renderSlot(o.$slots,"meeting")])):t.createCommentVNode("",!0),t.createElementVNode("div",cS,[t.createVNode(B_,{repositories:r.repositories},null,8,["repositories"])]),t.createElementVNode("div",dS,[t.createVNode(X_,{sig:r.sigName,"get-data-request":r.getContributeData},null,8,["sig","get-data-request"])])])])])}}}),hS=Object.assign(k0,{install(r){r.component("OSigList",k0)}}),fS=Object.assign(B0,{install(r){r.component("OSigDetail",B0)}});exports.OElCookieNotice=Ue.OElCookieNotice;exports.CalendarDataType=Fe;exports.EventsStatusT=Zi;exports.MeetingGroupType=pi;exports.NavType=wn;exports.OActivityApproval=jC;exports.OActivityForm=HC;exports.OActivityMyCalendar=kp;exports.OBanner=tT;exports.OBannerContent=iT;exports.OCookieNotice=OT;exports.OEmpty=qT;exports.OEventsApply=Y5;exports.OEventsCalendar=G5;exports.OEventsList=Q5;exports.OFeedbackDoc=o6;exports.OFeedbackDocContent=l6;exports.OFeedbackDocDialog=u6;exports.OFeedbackDocPopup=c6;exports.OFooter=tA;exports.OHeader=q9;exports.OHeaderLanguageSwitcher=Q9;exports.OHeaderMobile=F9;exports.OHeaderSearch=ix;exports.OHeaderSourceCode=lx;exports.OHeaderTheme=yx;exports.OHeaderUser=Vx;exports.OMeetingCalendar=eC;exports.OMeetingForm=tC;exports.OMeetingMyCalendar=rC;exports.OMeetingPlayback=iC;exports.OMeetingSigCalendar=nC;exports.OPlusConfigProvider=sT;exports.OSearchInput=Ux;exports.OSection=Yx;exports.OSigDetail=fS;exports.OSigList=hS;exports.createSvgIcon=Ix;
|