@zeniai/web-cockpit-ui 1.14.91-dev → 1.14.91-dev-betaRR0
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/assets/ACHDetailsPage-B6sY0jN6-Dv_4G1XI.js +21 -0
- package/dist/assets/{AIPerformancePage-BWK9fXrz-DKsZ1mo0.js → AIPerformancePage-BWK9fXrz-tS1FxKid.js} +2 -2
- package/dist/assets/{AccountInfoPage-DfT5DDiZ-fWZyYCg5.js → AccountInfoPage-DfT5DDiZ-CV2_yTPc.js} +3 -3
- package/dist/assets/{AccountInfoPageContent-nUi26Aww-BYypek4H.js → AccountInfoPageContent-nUi26Aww-CUuk_20a.js} +11 -11
- package/dist/assets/{AccountLockedInfoModal-BROj4bmE-BVM1T1YI.js → AccountLockedInfoModal-BROj4bmE-Cfoe0YA9.js} +5 -5
- package/dist/assets/{AccountReconDetailsDrawerPage-C-3FFCQZ-sRbxt9OR.js → AccountReconDetailsDrawerPage-C-3FFCQZ-CxBX6qm4.js} +7 -7
- package/dist/assets/{AccountRow-BM2kGWyR-T6iB2hx_.js → AccountRow-BM2kGWyR-CJCg6x0x.js} +10 -10
- package/dist/assets/{AccountsPromoCardStack-CNCG5uPJ-CVvmiGCx.js → AccountsPromoCardStack-CNCG5uPJ-m2eUaU2L.js} +5 -5
- package/dist/assets/AddAddressForCardDrawer-BuAtFO1w-B9URXppK.js +6 -0
- package/dist/assets/{AddToWalletPage-DyrcWdBZ-CvPiU8kF.js → AddToWalletPage-DyrcWdBZ--nr8n_4Z.js} +17 -17
- package/dist/assets/{AgingReportsPage-CmluxKG3-A44UbSFN.js → AgingReportsPage-CmluxKG3-BApj252U.js} +7 -7
- package/dist/assets/{AllUserItems-CVZZU-J3-TfKbUj2d.js → AllUserItems-CVZZU-J3-COeMV7u0.js} +6 -6
- package/dist/assets/{ApAgingDetailPage-CoNxqskm-DFDFQfze.js → ApAgingDetailPage-CoNxqskm-0EjHKnBi.js} +1 -1
- package/dist/assets/{AppBasePage-CTGNzUtN-DSfPwIJw.js → AppBasePage-CTGNzUtN-BfaGtOzk.js} +4 -4
- package/dist/assets/{AppDrawerContent-59dQVUxu-C64nAWzc.js → AppDrawerContent-59dQVUxu-BnKh28FR.js} +1 -1
- package/dist/assets/{ApprovalRulesSettingsPage-XEW5sdNg-BbhudnSk.js → ApprovalRulesSettingsPage-XEW5sdNg-LVlVZSHT.js} +1 -1
- package/dist/assets/{ArAgingChart-D3Ym4gVE-BqVBnPwY.js → ArAgingChart-D3Ym4gVE-DsJpAb8n.js} +4 -4
- package/dist/assets/{ArAgingDetailPage-BLEJSLJJ-DwMAtZnW.js → ArAgingDetailPage-BLEJSLJJ-DBAkqt03.js} +1 -1
- package/dist/assets/{AttachmentView-DSP80cjm-UNIl1Ai8.js → AttachmentView-DSP80cjm-D7w4ZtT4.js} +7 -7
- package/dist/assets/{BankAccountSection-DRrNcA79-hP-Vs5m_.js → BankAccountSection-DRrNcA79-D0y5RgB_.js} +5 -5
- package/dist/assets/{BankAccountWarningSection-Ub-gsfhE-CrMug0PW.js → BankAccountWarningSection-Ub-gsfhE-pvCiKI7-.js} +9 -9
- package/dist/assets/{BankConnectionsSettingsPage-BcTtJTbg-algC_RED.js → BankConnectionsSettingsPage-BcTtJTbg-ehD3_4Dh.js} +9 -9
- package/dist/assets/{BillDetailPage-D7AQyxwr-Cr5mMjBH.js → BillDetailPage-D7AQyxwr-e7SQTUJW.js} +2 -2
- package/dist/assets/{BillPayApprovalRuleDetailPage-BQWGENO8-OS81cubl.js → BillPayApprovalRuleDetailPage-BQWGENO8-qq4pmey1.js} +1 -1
- package/dist/assets/{BillPayApprovalRulesPage-BbA1Nwqe-BwMbtGVn.js → BillPayApprovalRulesPage-BbA1Nwqe-3MsdZySS.js} +1 -1
- package/dist/assets/{BillPayPromoPage-DSTS_vBW-BNfdixF0.js → BillPayPromoPage-DSTS_vBW-Ce9u0nsw.js} +4 -4
- package/dist/assets/{BillPaySetUpPage-CvlVPVCA-C-Yq8DpY.js → BillPaySetUpPage-CvlVPVCA-CCbbdiQc.js} +1 -1
- package/dist/assets/{BillingSettingsPage-nKpHtd4C-Bnbrb4t9.js → BillingSettingsPage-nKpHtd4C-DLiPc2FT.js} +2 -2
- package/dist/assets/{BillsBulkReviewDrawerPage-DNHAoceL-Dw8wGAVZ.js → BillsBulkReviewDrawerPage-DNHAoceL-CthJ8Dd6.js} +1 -1
- package/dist/assets/{BoxItem-Bjv3WNXO-DVhc5wWw.js → BoxItem-Bjv3WNXO-d_9opxkd.js} +1 -1
- package/dist/assets/{BusinessVerificationPage-Bj4D9bX2-BIO97DuN.js → BusinessVerificationPage-Bj4D9bX2-DWX5ckwL.js} +7 -7
- package/dist/assets/CardNumberSubText-BYY-Inxd-VoZJjuBC.js +21 -0
- package/dist/assets/{CashbackDetailPage-D9UiTqp9-zR6MfAmm.js → CashbackDetailPage-D9UiTqp9-9Lz5t64N.js} +14 -14
- package/dist/assets/{ChargeCardDetailPage-C5EdiIyl-DLQH13JM.js → ChargeCardDetailPage-C5EdiIyl-C4UWTuR2.js} +24 -24
- package/dist/assets/{ChargeCardListPage-DZwz1qoD-C4LK4t_r.js → ChargeCardListPage-DZwz1qoD-B146-EXW.js} +14 -14
- package/dist/assets/{ChargeCardListTable-D5B05Z1F-BFq9lu6-.js → ChargeCardListTable-D5B05Z1F-BBBvhTcZ.js} +13 -13
- package/dist/assets/{ChargeCardPromoPage-CDJMtGJb-BonChypf.js → ChargeCardPromoPage-CDJMtGJb-3FYfKocS.js} +10 -10
- package/dist/assets/{ChargeCardSetupPage-CVV24gS9-Bz9Vbd0f.js → ChargeCardSetupPage-CVV24gS9-BSJi9V_M.js} +3 -3
- package/dist/assets/{ChargeCardStatementsPage-CmjBoi5e-CP137h_S.js → ChargeCardStatementsPage-CmjBoi5e-maH5VKYN.js} +3 -3
- package/dist/assets/{CheckDepositDrawerPage-CYOhT5Qz-Ctri9wNN.js → CheckDepositDrawerPage-CYOhT5Qz-KAp7o68o.js} +10 -10
- package/dist/assets/{CollapsableReportTable-hL_Ycouc-B8J7Q_nq.js → CollapsableReportTable-hL_Ycouc-CWDILu02.js} +32 -32
- package/dist/assets/{CompanyOfficerDetailsSection-DR_6TlQa-eD8A7jcO.js → CompanyOfficerDetailsSection-DR_6TlQa-CaPRdQzP.js} +1 -1
- package/dist/assets/{CompanyPassportCard-B4chn7-Q-D5SPmBv_.js → CompanyPassportCard-B4chn7-Q-DdxULjSC.js} +1 -1
- package/dist/assets/{CompanyPassportPage-oT9HnnPQ-SX0lC40Z.js → CompanyPassportPage-oT9HnnPQ-Ca6G5119.js} +1 -1
- package/dist/assets/{CompleteProfile-BgH4v76Z-8UAVvvgt.js → CompleteProfile-BgH4v76Z-J-mh56N2.js} +1 -1
- package/dist/assets/ConfettiBurst-Cl6jHJ8H-C9SoFqPe.js +1 -0
- package/dist/assets/{CreateOrEditVendorPage-CW-u7pJU-p324jU3k.js → CreateOrEditVendorPage-CW-u7pJU-Bzg24rp1.js} +1 -1
- package/dist/assets/{CreditCardPaymentDrawerPage-D30M7ol4-DoXJ5bDN.js → CreditCardPaymentDrawerPage-D30M7ol4-CwaBYQLR.js} +101 -101
- package/dist/assets/{CurrencySelectField-DOCEstMc-DZU689ma.js → CurrencySelectField-DOCEstMc-BkHxR5HA.js} +3 -3
- package/dist/assets/{CustomerOnboardingActivationPage-DMPNjFL_-ku4Vuy0S.js → CustomerOnboardingActivationPage-DMPNjFL_-TbnD-4OG.js} +5 -5
- package/dist/assets/CustomerOnboardingContainerPage-SmOFmXBW-zEIEcSQa.js +1 -0
- package/dist/assets/{CustomerOnboardingDetailPageSkeleton-CBYo4VQn-Dn7fU-s8.js → CustomerOnboardingDetailPageSkeleton-CBYo4VQn-BujXWuJC.js} +8 -8
- package/dist/assets/{CustomerOnboardingNoStepsPage-EBVRCYfJ-CfvYqECa.js → CustomerOnboardingNoStepsPage-EBVRCYfJ-xtPONz37.js} +3 -3
- package/dist/assets/{CustomerOnboardingPage-TJK6s-LM-BKRL2lJB.js → CustomerOnboardingPage-TJK6s-LM-CsM-rW7t.js} +1 -1
- package/dist/assets/CustomerOnboardingProductSuitePage-lNIP5gSu-D8leFJAq.js +202 -0
- package/dist/assets/{Dashboard-WiE9IRrh-Cv0kOt8p.js → Dashboard-WiE9IRrh-D3xuAsNG.js} +14 -14
- package/dist/assets/{DashboardReportPage-BKHl_IVD-C4Ea2qys.js → DashboardReportPage-BKHl_IVD-CMH5dEgW.js} +11 -11
- package/dist/assets/DashboardSidebarBackgroundAnimation-B1mJObim-DaBPsyhD.js +12 -0
- package/dist/assets/{DepositAccTransactionItem-C8tChaJS-DUssbHtI.js → DepositAccTransactionItem-C8tChaJS-_jmc_rYW.js} +1 -1
- package/dist/assets/DepositAccTransactionListPage-B6px7upV-CQ8W1uho.js +66 -0
- package/dist/assets/DomesticWireDetailsPage-BFQJmzYm-DdIUFkni.js +21 -0
- package/dist/assets/{DownloadOverlay-DB-qx46O-j8z4pSob.js → DownloadOverlay-DB-qx46O-BzRX_iWf.js} +1 -1
- package/dist/assets/{DrawerPage-Bha9ElcW-B8Be3mMf.js → DrawerPage-Bha9ElcW-B91lWMHe.js} +6 -6
- package/dist/assets/{EditPeoplePage-B6QD5Vld-jl0Ywq6s.js → EditPeoplePage-B6QD5Vld-DKZ4nB8f.js} +1 -1
- package/dist/assets/{EditReimbursementDetailPage-EplOf2mP-0BJtsB6D.js → EditReimbursementDetailPage-EplOf2mP-u2YMFjY5.js} +1 -1
- package/dist/assets/{EntityDetailPage-5Cu1qehd-DbU14HUf.js → EntityDetailPage-5Cu1qehd-DEcgoDIq.js} +1 -1
- package/dist/assets/{EntitySummarySection-D6z6-dM7-CxR6H9p6.js → EntitySummarySection-D6z6-dM7-C8vqyJE6.js} +2 -2
- package/dist/assets/{ExpenseAutomationOverviewPage-DkoxczRc-Nhh5EsPg.js → ExpenseAutomationOverviewPage-DkoxczRc-BFmIjbbK.js} +15 -15
- package/dist/assets/{ExpenseAutomationPage-Na3XKgcg-v_T_dNPC.js → ExpenseAutomationPage-Na3XKgcg-BOy-W5HC.js} +1 -1
- package/dist/assets/{ExpressPayPage-DWGl_gml-BK4q9z9-.js → ExpressPayPage-DWGl_gml-BoP5Cs2z.js} +12 -12
- package/dist/assets/{FeaturePreviewPage-BgkpUPMm-CjuE-Vy6.js → FeaturePreviewPage-BgkpUPMm--0g5n3S4.js} +3 -3
- package/dist/assets/{FollowStepsSection-64oy2OLD-mYi4qCkY.js → FollowStepsSection-64oy2OLD-D3h0tFyq.js} +7 -7
- package/dist/assets/{GlobalReviewListPage-DHfTyj2C-jQOPvWvS.js → GlobalReviewListPage-DHfTyj2C-RnZ7xNb7.js} +12 -12
- package/dist/assets/{InformationCardStack-Dw3lhl2I-7einUDdd.js → InformationCardStack-Dw3lhl2I-i5Npg5-3.js} +1 -1
- package/dist/assets/{InsightsCardStack-BiEswY1Z-B0ppu_rT.js → InsightsCardStack-BiEswY1Z-DYRJcEae.js} +9 -9
- package/dist/assets/{InsightsSection-DvqCilqy-J94KiGaL.js → InsightsSection-DvqCilqy-BsxjZx3R.js} +3 -3
- package/dist/assets/{IntegrationsSettingsPage-DzVYf5ff-EFzWzTcS.js → IntegrationsSettingsPage-DzVYf5ff-Qz_64-AR.js} +2 -2
- package/dist/assets/{InternationalWireSwiftDetailsPage-DTHcuQsH-DCnTBpNn.js → InternationalWireSwiftDetailsPage-DTHcuQsH-LkhNT71n.js} +11 -11
- package/dist/assets/{InternationalWireVerificationPage-BzyRqd-m-CtMekcQE.js → InternationalWireVerificationPage-BzyRqd-m-Bs1sKcFl.js} +7 -7
- package/dist/assets/{InviteFormPage-CaJB3ss1-BX5i7EqT.js → InviteFormPage-CaJB3ss1-DDpF9vZd.js} +17 -17
- package/dist/assets/{InvitePageListView-8Ltt8tHx-CtYoDyrk.js → InvitePageListView-8Ltt8tHx-BVYRRTTO.js} +1 -1
- package/dist/assets/{InvitePeoplePage-A7oKAD7M-BQc_PdIV.js → InvitePeoplePage-A7oKAD7M-0hQ58v_R.js} +2 -2
- package/dist/assets/{InvoiceUploadSection-DomquLut-e92SA0tf.js → InvoiceUploadSection-DomquLut-C6XQxVf3.js} +5 -5
- package/dist/assets/{IssueChargeCardPage-DtIQ1Buk-DjM4t17X.js → IssueChargeCardPage-DtIQ1Buk-DVoIaqMD.js} +1 -1
- package/dist/assets/{LabeledAddressValue-B_9lh-_a-DIizmhzb.js → LabeledAddressValue-B_9lh-_a-BQeLvRQa.js} +2 -2
- package/dist/assets/{LabeledAddressValueField-CC7T3qZQ-m9gvzhHo.js → LabeledAddressValueField-CC7T3qZQ-CjYkOklE.js} +2 -2
- package/dist/assets/LabeledControlledCheckBoxField-CeMM7Ci3-DVaYpdZO.js +16 -0
- package/dist/assets/{LabeledCreatableSingleSelectField-DKD0oEl8-gq-eDRMt.js → LabeledCreatableSingleSelectField-DKD0oEl8-Cyxj1Kus.js} +3 -3
- package/dist/assets/{LabeledDocumentField-Dy3jwAiL-49YAoImC.js → LabeledDocumentField-Dy3jwAiL-XoHwubm3.js} +3 -3
- package/dist/assets/{LabeledDropDownFormattedTextField-DDzM3r6s-ECrfBFdw.js → LabeledDropDownFormattedTextField-DDzM3r6s-Wztx4Tcl.js} +1 -1
- package/dist/assets/{LabeledText-axaAGyUS-Dng_AeMD.js → LabeledText-axaAGyUS-BpEJBxD4.js} +2 -2
- package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-UlGND56Y-Bns3vXLL.js → LabeledUserSingleSelectWithSubtitlesField-UlGND56Y-CeEZ7NWG.js} +17 -17
- package/dist/assets/{LabeledZeniRolesDropDownField-dpz7g9jK-BS9FUIQq.js → LabeledZeniRolesDropDownField-dpz7g9jK-1OORssNe.js} +9 -9
- package/dist/assets/{LinkJETransactionPage-CJniqVcu-DlmRVmek.js → LinkJETransactionPage-CJniqVcu-BUqqOVZ3.js} +3 -3
- package/dist/assets/{LockCardPage-CjO8cr2a-_f0132IP.js → LockCardPage-CjO8cr2a-B7T-NUky.js} +12 -12
- package/dist/assets/{LowBalancePopup-DVS-w3b7-DP0lgN2T.js → LowBalancePopup-DVS-w3b7-CXJHrLHV.js} +2 -2
- package/dist/assets/MagicLinkACHDetailsPage-CUHMKmcj-DbWiJSy4.js +1 -0
- package/dist/assets/MagicLinkDomesticWireDetailsPage-Dnc7OzKQ-S_MOFfkp.js +1 -0
- package/dist/assets/MagicLinkInternationalWireDetailsPage-sBpQkYwP-B_hpFhv2.js +1 -0
- package/dist/assets/{MagicLinkSuccessPage-DAAoq3iT-c3oKtr_f.js → MagicLinkSuccessPage-DAAoq3iT-C_Yyw67d.js} +6 -6
- package/dist/assets/MagicLinkTitleSection-FMRBLlRJ-BJi3iHKO.js +17 -0
- package/dist/assets/MailingDetailsSection-CiJ5JLA6-Dh-rh1lg.js +21 -0
- package/dist/assets/Menu-wpP8R1br-CAapPWSw.js +17 -0
- package/dist/assets/{MyBankConnectionsSettingsPage-DIIFgnkE-CogNLqVY.js → MyBankConnectionsSettingsPage-DIIFgnkE-BP3xfm53.js} +2 -2
- package/dist/assets/{MyPendingActivationChargeCardListPage-Di_KYRgS-DRNBLhDG.js → MyPendingActivationChargeCardListPage-Di_KYRgS-Ci2uuBdO.js} +1 -1
- package/dist/assets/{MyProfileSettingsPage-m6vaeGgZ-chnTYzOu.js → MyProfileSettingsPage-m6vaeGgZ-CzB44LiA.js} +4 -4
- package/dist/assets/{NavBarWithPicker-C_qO8mgD-DUpFfabv.js → NavBarWithPicker-C_qO8mgD-BWszQoIE.js} +4 -4
- package/dist/assets/{NavigationArrow-BXYIj6Wz-DziJLhPd.js → NavigationArrow-BXYIj6Wz-B7qUUnjS.js} +8 -8
- package/dist/assets/{NavigationDots-BvKSgdgh-LQiuRx4x.js → NavigationDots-BvKSgdgh-BXw04_O_.js} +4 -4
- package/dist/assets/{NewGlobalMerchantPage-Dc3xEoiZ-C2aDiu95.js → NewGlobalMerchantPage-Dc3xEoiZ-DB34-Ax1.js} +2 -2
- package/dist/assets/NoDataChart-C5ZP32zB-CMBnBikM.js +26 -0
- package/dist/assets/NoDataTable-BnBYE8p_-D99JCqJE.js +8 -0
- package/dist/assets/{NotFoundPage-CZ25GWwU-BIBXUzqs.js → NotFoundPage-CZ25GWwU-Bhr9smJg.js} +4 -4
- package/dist/assets/{NotificationSettingsPage-DHvgj7Hu-D3suXG--.js → NotificationSettingsPage-DHvgj7Hu-D70wdxPy.js} +3 -3
- package/dist/assets/{NotificationsListConfig-BBLSv0sd-C4KCM8pw.js → NotificationsListConfig-BBLSv0sd-D3pDalXG.js} +1 -1
- package/dist/assets/{NotificationsPage-CGVEC-Zc-C8fq9c_9.js → NotificationsPage-CGVEC-Zc-aEkue81y.js} +14 -14
- package/dist/assets/{OpExByVendorPage-D55JZne--D9xmj7rz.js → OpExByVendorPage-D55JZne--BA2gN_9D.js} +6 -6
- package/dist/assets/{OverlayContainerPage-Daz3A7cI-D6qPPmeQ.js → OverlayContainerPage-Daz3A7cI-B2pRyPAw.js} +1 -1
- package/dist/assets/{PandLWithForecastPage-fVmttEKP-D6Evs_k0.js → PandLWithForecastPage-fVmttEKP-Cpmbp3qS.js} +11 -11
- package/dist/assets/{PaymentAccountSetupBillingAddressSection-BiU8tQnm-4Kl9uXwr.js → PaymentAccountSetupBillingAddressSection-BiU8tQnm-_fnUz-j3.js} +5 -5
- package/dist/assets/{PeoplePage-QuuuX2AS-CUwuNLCQ.js → PeoplePage-QuuuX2AS-BJIGfeNN.js} +12 -12
- package/dist/assets/Preview-m-FcrQ0s.js +1 -0
- package/dist/assets/{ProductsCarousel-zdZkfaiY-CKycG9Wt.js → ProductsCarousel-zdZkfaiY-9riU76fC.js} +3 -3
- package/dist/assets/{PromoBaseCards-flFtcbIg-iLyc6jwq.js → PromoBaseCards-flFtcbIg-hQ-cGzbT.js} +1 -1
- package/dist/assets/{QBOConnectionDialog-DNB2C1vQ-B6h7mZJt.js → QBOConnectionDialog-DNB2C1vQ-B-m0Orif.js} +2 -2
- package/dist/assets/{QBOSetupSection-B59etoGz-Dx4Hkrje.js → QBOSetupSection-B59etoGz-BjsJ5dP9.js} +1 -1
- package/dist/assets/{ReimbursementApprovalRuleDetailPage-D7do3o0A-DaR0xdJA.js → ReimbursementApprovalRuleDetailPage-D7do3o0A-ZSNYROgC.js} +1 -1
- package/dist/assets/{ReimbursementApprovalRulesPage-BJ6GewQ2-D7efVmkv.js → ReimbursementApprovalRulesPage-BJ6GewQ2-cn7dx9_x.js} +1 -1
- package/dist/assets/{ReimbursementDetailPage-DKAtYSOy-C-uqjyM_.js → ReimbursementDetailPage-DKAtYSOy-rPi_28qO.js} +1 -1
- package/dist/assets/{ReimbursementPromoPage-DKcSHlHp-XcrUKScH.js → ReimbursementPromoPage-DKcSHlHp-B-x2_K1K.js} +9 -9
- package/dist/assets/{ReimbursementSetUpPage-Y1e_hna--rh2VyUST.js → ReimbursementSetUpPage-Y1e_hna--CWaIrVmZ.js} +5 -5
- package/dist/assets/{ReimbursementsBulkReviewDrawerPage-fgz8s4w9-CzZAxGly.js → ReimbursementsBulkReviewDrawerPage-fgz8s4w9-BgzjXAGE.js} +1 -1
- package/dist/assets/{ReloadCard-DjtdPHq5-BoSxtWCb.js → ReloadCard-DjtdPHq5-qE-nJEXk.js} +3 -3
- package/dist/assets/{ReportTableViewSelector-C8e6IEWt-BJN3fro7.js → ReportTableViewSelector-C8e6IEWt--jlW7QpR.js} +1 -1
- package/dist/assets/{ReportsPage-BIe0eDLC-D5ygJVqP.js → ReportsPage-BIe0eDLC-Cn2-db9t.js} +3 -3
- package/dist/assets/{RevenueChart-Cc0XrxLL-BB6kfchw.js → RevenueChart-Cc0XrxLL-RTOUbgfW.js} +30 -30
- package/dist/assets/{ReviewDetailsPage-CU1AYWgR--SOiatSS.js → ReviewDetailsPage-CU1AYWgR-BCcFVvxj.js} +17 -17
- package/dist/assets/{ReviewOverlay-CruJ9O84-BdMFQyaH.js → ReviewOverlay-CruJ9O84-CVyRQtbr.js} +1 -1
- package/dist/assets/{RoleWithToolTip-fC3byzzv-DteZC2-q.js → RoleWithToolTip-fC3byzzv-Da5EXkAB.js} +6 -6
- package/dist/assets/{ScheduleDetailsFixedAssetsPage-CE3tUYhk-Aj3mnuFr.js → ScheduleDetailsFixedAssetsPage-CE3tUYhk-NtG2QTRz.js} +3 -3
- package/dist/assets/{ScheduleDetailsPage-BhAqJ1Of-BNYzMpaE.js → ScheduleDetailsPage-BhAqJ1Of-D1IstsCs.js} +3 -3
- package/dist/assets/{ScheduleSequenceTable-NSt1juSD-BtySotUK.js → ScheduleSequenceTable-NSt1juSD-BKLbxQMq.js} +21 -21
- package/dist/assets/{ScreenRoutes-Ofrn7XPK.js → ScreenRoutes-CWkpMCjL.js} +75 -75
- package/dist/assets/SetUpAccountSection-C1EnJv1V-Cvu34ipQ.js +378 -0
- package/dist/assets/{SignIn-BhIof_Cm-Stp0fHNQ.js → SignIn-BhIof_Cm-DeDZlCNC.js} +1 -1
- package/dist/assets/SignInScreen-Cihieu4J.js +1 -0
- package/dist/assets/{SpendManagementListViewPage-BEWNNX_Z-Qf8TDCkQ.js → SpendManagementListViewPage-BEWNNX_Z-j_tiMoWb.js} +4 -4
- package/dist/assets/{SpendManagementPerTabPage-Vs1Eoxgd-DGhcXeqs.js → SpendManagementPerTabPage-Vs1Eoxgd-DfGQnSHO.js} +20 -20
- package/dist/assets/{SpendManagementSection-C38Zpi1z-Hvu4v5m7.js → SpendManagementSection-C38Zpi1z-B-GaQ2j9.js} +10 -10
- package/dist/assets/{StatementItem-bHInVThd-BfGU3kqj.js → StatementItem-bHInVThd-CsJa48J1.js} +2 -2
- package/dist/assets/{StatementsPage-CGQhmaXx-CVtkQqM2.js → StatementsPage-CGQhmaXx-CawRkQvA.js} +1 -1
- package/dist/assets/{StatusSwitcher-7fiKLb5g-cQtYU__8.js → StatusSwitcher-7fiKLb5g-B_2JeKNK.js} +1 -1
- package/dist/assets/{SubTabSwitcher-9AnfZiNy-CobTdTqd.js → SubTabSwitcher-9AnfZiNy-vCnU7WF-.js} +3 -3
- package/dist/assets/{SummaryCard-DOycYLs1-BLeRuOD7.js → SummaryCard-DOycYLs1-CaQB1fqx.js} +1 -1
- package/dist/assets/{TaskManagementPage-CehyMnY0-BwJtO-U4.js → TaskManagementPage-CehyMnY0-Cue4tauF.js} +10 -10
- package/dist/assets/{TimeRangeSwitcher-Dq2FEgFR-DmMi5La_.js → TimeRangeSwitcher-Dq2FEgFR-D3AQaZI-.js} +11 -11
- package/dist/assets/{TimeframeSwitcher-By3xz_-m-1CBF6COV.js → TimeframeSwitcher-By3xz_-m-Bv71ZHom.js} +6 -6
- package/dist/assets/{TimeframeSwitcherWithToggle-a3fmbzNR-B9R7QlVw.js → TimeframeSwitcherWithToggle-a3fmbzNR-DZx2FqjJ.js} +3 -3
- package/dist/assets/{TopExCard-GEQpp_KY-74e79UYx.js → TopExCard-GEQpp_KY-BIUWKmJn.js} +4 -4
- package/dist/assets/{TopExDetailPage-hid1dQYl-WgHXC6hE.js → TopExDetailPage-hid1dQYl-vzpcxnkQ.js} +9 -9
- package/dist/assets/{TransactionDetailPage-CX4JW9WM-DyZTJ1bq.js → TransactionDetailPage-CX4JW9WM-BshlnJb5.js} +3 -3
- package/dist/assets/{TransactionList-BixeXh4Y-Il163hc_.js → TransactionList-BixeXh4Y-DpKuzYhu.js} +13 -13
- package/dist/assets/{TransactionListBig-CGMMJQBd-KQNhkGbE.js → TransactionListBig-CGMMJQBd-CPWLJgiW.js} +7 -7
- package/dist/assets/{TransactionListPage-CBVUTX4y-DWsla1LN.js → TransactionListPage-CBVUTX4y-CTzBsfwd.js} +5 -5
- package/dist/assets/{TransactionVendorDetailPage-CEbHH_0r-CS6QQqEG.js → TransactionVendorDetailPage-CEbHH_0r-B2rNZ7e8.js} +4 -4
- package/dist/assets/{TransferDrawerPage-BFd7uQnF-AGu3EQB7.js → TransferDrawerPage-BFd7uQnF-BDnFaRJN.js} +32 -32
- package/dist/assets/{TreasuryOverviewPage-Bd58hOy8-P3TIcDYG.js → TreasuryOverviewPage-Bd58hOy8-COabKjkh.js} +28 -28
- package/dist/assets/{TreasuryPromoPage-BvArufHi-B6OSOn5z.js → TreasuryPromoPage-BvArufHi-mIhWyHJJ.js} +6 -6
- package/dist/assets/{TreasuryStatementsPage-YLCEBbRh-BeAedV0-.js → TreasuryStatementsPage-YLCEBbRh-Hb92GX1G.js} +1 -1
- package/dist/assets/{TreasuryTaxLetterPage-D_6mgQqi-CO3HXioV.js → TreasuryTaxLetterPage-D_6mgQqi-YEx3tems.js} +1 -1
- package/dist/assets/{TrendChart-D3dT6hUb-CRyvw86n.js → TrendChart-D3dT6hUb-BmrIV_Lt.js} +3 -3
- package/dist/assets/{TrendWithTransactions-Gj-u5KXi-CpckXM1N.js → TrendWithTransactions-Gj-u5KXi-_cLHr6Sd.js} +1 -1
- package/dist/assets/{UncategorizedAccountsMappingPage-B3eRYolj-D-Jwo7-l.js → UncategorizedAccountsMappingPage-B3eRYolj-BupHpvxs.js} +3 -3
- package/dist/assets/{UnitIntegrationPage-DpjR9hUu-BIdCIf5k.js → UnitIntegrationPage-DpjR9hUu-Bkk7bekK.js} +4 -4
- package/dist/assets/UploadAdditionalDocumentOverlay-COtszXUY-DeW-OEQ-.js +38 -0
- package/dist/assets/Vendor2FAPopup-C85mhuSb-Ci-aokF3.js +1 -0
- package/dist/assets/VendorACHDetailsPage-DeexeWpV-PyPL7qy9.js +1 -0
- package/dist/assets/{VendorDetailPage-BrbKfsL4-BYuDBwtU.js → VendorDetailPage-BrbKfsL4-C5yq1wZE.js} +86 -86
- package/dist/assets/VendorDomesticWireDetailsPage-DBChSKlR-DfQ9uMtB.js +1 -0
- package/dist/assets/{VendorFiling1099EditablePage-DgBLn3fd-DyXTQ39Q.js → VendorFiling1099EditablePage-DgBLn3fd-yxfQxsgz.js} +32 -32
- package/dist/assets/{VendorFirstReviewPage-jc7-OExI-CcNlKzIr.js → VendorFirstReviewPage-jc7-OExI-CXLfVnQg.js} +58 -58
- package/dist/assets/{VendorInternationalWireDetailsPage-c6isgwH2-CfXEdhbK.js → VendorInternationalWireDetailsPage-c6isgwH2-rWvjTHMm.js} +7 -7
- package/dist/assets/VendorInternationalWireSwiftDetailsPage-CywCx8-0-toI88yyC.js +1 -0
- package/dist/assets/{VendorsAccountsSection--VfdAF3H-aooc9xax.js → VendorsAccountsSection--VfdAF3H-C0MWVdaQ.js} +2 -2
- package/dist/assets/{VerifyDevice-CaifjdR8-CqDImdvA.js → VerifyDevice-CaifjdR8-oDnQadr1.js} +1 -1
- package/dist/assets/VideoPlayer-BVR9LPmm-C0OY9hGQ.js +78 -0
- package/dist/assets/{VideoPopup-BEXc8o78-CxvDyO3n.js → VideoPopup-BEXc8o78-BfKdRFKO.js} +5 -5
- package/dist/assets/{WarningsDrawerPage-CboqfxzC-BsdL63Q1.js → WarningsDrawerPage-CboqfxzC-Df6JGLWB.js} +4 -4
- package/dist/assets/{ZeniAccountDetailPage-Dujj0-XC-Bs0_mCxO.js → ZeniAccountDetailPage-Dujj0-XC-D3Dn9J7C.js} +21 -21
- package/dist/assets/{ZeniAccountListViewPage--SMJDGvC-B9VB-g9k.js → ZeniAccountListViewPage--SMJDGvC-D8iSNbC5.js} +1 -1
- package/dist/assets/ZeniAccountNavBarPieces-DqLJVQ5t-CpI_x0eJ.js +14 -0
- package/dist/assets/{ZeniAccountPromoPage-BVjJvWsA-D_izrQ3u.js → ZeniAccountPromoPage-BVjJvWsA-eagcbJWN.js} +6 -6
- package/dist/assets/{ZeniAccountSetupPage-Dvxst8RT-Dw_0q67c.js → ZeniAccountSetupPage-Dvxst8RT-RZ48F_0V.js} +1 -1
- package/dist/assets/{ZeniCopyright-B88k3pkr-D_GBhPtz.js → ZeniCopyright-B88k3pkr-CwZenhhP.js} +1 -1
- package/dist/assets/ZeniTransferAmountSlider-1DS0MsTI-DcvYtFGr.js +63 -0
- package/dist/assets/add-to-wallet-DgdBD8_G-B14A9z81.js +1 -0
- package/dist/assets/{analytics-CHPpxU3b.js → analytics-C6L7hlHG.js} +1 -1
- package/dist/assets/analyticsHelper-DKc66BYi.js +1 -0
- package/dist/assets/{analyticsHelper-DmujELNG-B2_5NV-p.js → analyticsHelper-DmujELNG-ClL2XzYx.js} +1 -1
- package/dist/assets/arrow-south-east-round-PEovUgvH-4-pP5pik.js +1 -0
- package/dist/assets/auto-transfer-rule-mbafm5D3-D30iL0YR.js +1 -0
- package/dist/assets/{chartTypes-DRiSljvE-CN4L62GH.js → chartTypes-DRiSljvE-CrLsLRjf.js} +1 -1
- package/dist/assets/{commonDimensions-BDftm0gJ-DyUDFvZC.js → commonDimensions-BDftm0gJ-Bk927TMF.js} +1 -1
- package/dist/assets/constants-B1dh_xIn.js +1 -0
- package/dist/assets/core-CadaPWsO.js +62 -0
- package/dist/assets/{dash.all.min-Bzta_mrR.js → dash.all.min-BwAm2K21.js} +1 -1
- package/dist/assets/{detailCommon-BGgE4mE3-D-w4kHC7.js → detailCommon-BGgE4mE3-BEh9p6sH.js} +3 -3
- package/dist/assets/{downloadPdf-DCQ9vVZs-Be80rXL-.js → downloadPdf-DCQ9vVZs-DnysTBvz.js} +1 -1
- package/dist/assets/empty-BVIRhP6J.js +1 -0
- package/dist/assets/empty-Co20hejg.js +1 -0
- package/dist/assets/epic-IoIkBJiH.js +2 -0
- package/dist/assets/gift-box-Cmt9OgIZ-B8pnTsjV.js +1 -0
- package/dist/assets/graphic-no-data-l-DU4J8fDt-CgpIivOh.js +1 -0
- package/dist/assets/graphic-no-data-net-burn-l-CzmycA0m-Bbm3dmZD.js +1 -0
- package/dist/assets/handshake-BPg58FML-BttIiMDC.js +1 -0
- package/dist/assets/{hls-SyH7Grr1.js → hls-DifHSkbp.js} +1 -1
- package/dist/assets/{index-BiiqfeFx.js → index-4dPdvww9.js} +1 -1
- package/dist/assets/index-6sWe2DhR.js +1 -0
- package/dist/assets/{index-DJLrbf0F.js → index-CiMyMhgu.js} +98 -98
- package/dist/assets/index-CnYBBjVQ.js +1 -0
- package/dist/assets/{index-BG_bOyH4.js → index-DBJcoW1J.js} +3 -3
- package/dist/assets/index-sRtT3LWH.js +1 -0
- package/dist/assets/index-sbaC-tND.js +1 -0
- package/dist/assets/{lexical-dZFDzIA1.js → lexical-DEI4_j9X.js} +1 -1
- package/dist/assets/{liveblocks-C2I4vRCJ.js → liveblocks-D92pTRaw.js} +28 -20
- package/dist/assets/lottie-Dv5hJ5mA.js +9 -0
- package/dist/assets/{mapLoadingInProgressToTreeNode-CXP8ZZTG-DkaL-N2A.js → mapLoadingInProgressToTreeNode-CXP8ZZTG-vSJ6j19m.js} +1 -1
- package/dist/assets/{mapSectionWithAcOnlyToTreeNode-BZSP-VcP-BuUbTOqM.js → mapSectionWithAcOnlyToTreeNode-BZSP-VcP-CrMDUoxM.js} +1 -1
- package/dist/assets/{mapSpacerToTreeNode-Bc1S_1ej-BOT7FVTB.js → mapSpacerToTreeNode-Bc1S_1ej-BemzQbL5.js} +1 -1
- package/dist/assets/{mapTimeframeBalancesToTreeNode-ClgcHX26-Cs9gyyXd.js → mapTimeframeBalancesToTreeNode-ClgcHX26-Bi0tXnM_.js} +1 -1
- package/dist/assets/{mapTimeframeBalancesToTreeNode-Cwp98PMa-tz5P0V5W.js → mapTimeframeBalancesToTreeNode-Cwp98PMa-DQxUPxNn.js} +1 -1
- package/dist/assets/{mapTimeframeHeaderLoadingInProgressToTreeNode-BmDRXfMV-Bmf8af15.js → mapTimeframeHeaderLoadingInProgressToTreeNode-BmDRXfMV-FlWaHbgN.js} +1 -1
- package/dist/assets/mui-D2MqZYRi.js +17 -0
- package/dist/assets/page-detail-CWX5S47F-CycRTeYU.js +1 -0
- package/dist/assets/radio-default-CiSgisfh-C3-g-fgb.js +1 -0
- package/dist/assets/{react-D9gRIIQJ.js → react-B3z6gyiL.js} +2 -2
- package/dist/assets/react-Bbwv1dSd.js +17 -0
- package/dist/assets/{react-CurU10nF.js → react-BnUDmuTB.js} +3 -3
- package/dist/assets/{react-B2Dtpj08.js → react-Bv_vNAf8.js} +2 -2
- package/dist/assets/{react-C5CamjHm.js → react-CSxJXI_i.js} +2 -2
- package/dist/assets/{react-BuuImry8.js → react-CeQlQsdb.js} +1 -1
- package/dist/assets/{react-KsUvriAa.js → react-D2dXMlhh.js} +2 -2
- package/dist/assets/{react-PdDuKQQV.js → react-UOVhoe0Z.js} +1 -1
- package/dist/assets/recharts-t7V-Kaqf.js +73 -0
- package/dist/assets/sentry-DMKAGVXl.js +515 -0
- package/dist/assets/shield-DOlUxcFf-DKC5YbXI.js +1 -0
- package/dist/assets/{toCOABalancesWithID--oEGymMJ-DrPkDPTu.js → toCOABalancesWithID--oEGymMJ-DIxvxTaj.js} +1 -1
- package/dist/assets/toChartData-CavJzP6f-Bu_YRbEM.js +1 -0
- package/dist/assets/transaction-placeholder-CpOwZAMG-BdGoUwcv.js +1 -0
- package/dist/assets/{uploadAttachment-BuVCsq0Q-BB-5S1Qg.js → uploadAttachment-BuVCsq0Q-C2wm0oAH.js} +7 -7
- package/dist/assets/{uploadReceipts-CPw64UYa-DU-gRzOR.js → uploadReceipts-CPw64UYa-BgNLcFfw.js} +1 -1
- package/dist/assets/url-CnqqWgIy.js +1 -0
- package/dist/assets/{url-RUB1rBsd.js → url-DsW1BPwo.js} +1 -1
- package/dist/assets/useLongPress-GCK2COYQ-DVYx_Wdi.js +1 -0
- package/dist/assets/usp-line-BBd1wKwW-D20AQITY.js +1 -0
- package/dist/assets/{utils-DUsHM-Uc.js → utils-BWiizB9D.js} +19 -19
- package/dist/assets/{zeni-epic-state-CQt4n3Xe.js → zeni-epic-state-DjAFCaxy.js} +34 -34
- package/dist/index.html +1 -1
- package/package.json +2 -2
- package/dist/assets/ACHDetailsPage-B6sY0jN6-B0gf8H4B.js +0 -21
- package/dist/assets/AddAddressForCardDrawer-BuAtFO1w-BFBt3SFQ.js +0 -6
- package/dist/assets/CardNumberSubText-BYY-Inxd-BdlFsn4_.js +0 -21
- package/dist/assets/ConfettiBurst-Cl6jHJ8H-LC2meCe-.js +0 -1
- package/dist/assets/CustomerOnboardingContainerPage-SmOFmXBW-DTgF2r26.js +0 -1
- package/dist/assets/CustomerOnboardingProductSuitePage-lNIP5gSu-PR2itKHa.js +0 -202
- package/dist/assets/DashboardSidebarBackgroundAnimation-B1mJObim-BrrhB9xn.js +0 -12
- package/dist/assets/DepositAccTransactionListPage-B6px7upV-CeIhvwtb.js +0 -66
- package/dist/assets/DomesticWireDetailsPage-BFQJmzYm-RX-JpFy3.js +0 -21
- package/dist/assets/LabeledControlledCheckBoxField-CeMM7Ci3-mZLzoQGL.js +0 -16
- package/dist/assets/MagicLinkACHDetailsPage-CUHMKmcj-B4JK6Tsk.js +0 -1
- package/dist/assets/MagicLinkDomesticWireDetailsPage-Dnc7OzKQ-CjkHVZHo.js +0 -1
- package/dist/assets/MagicLinkInternationalWireDetailsPage-sBpQkYwP-BFgoRuDp.js +0 -1
- package/dist/assets/MagicLinkTitleSection-FMRBLlRJ-BOWrScDm.js +0 -17
- package/dist/assets/MailingDetailsSection-CiJ5JLA6-DddwOxAo.js +0 -21
- package/dist/assets/Menu-wpP8R1br-CxnIQs8p.js +0 -17
- package/dist/assets/NoDataChart-C5ZP32zB-Co6FSXzL.js +0 -26
- package/dist/assets/NoDataTable-BnBYE8p_-CiELOEE2.js +0 -8
- package/dist/assets/Preview-D0lKYz6_.js +0 -1
- package/dist/assets/SetUpAccountSection-C1EnJv1V-nWkvB51T.js +0 -378
- package/dist/assets/SignInScreen-ApNcuhAj.js +0 -1
- package/dist/assets/UploadAdditionalDocumentOverlay-COtszXUY-DBj80beJ.js +0 -38
- package/dist/assets/Vendor2FAPopup-C85mhuSb-SCWhQlz7.js +0 -1
- package/dist/assets/VendorACHDetailsPage-DeexeWpV-CvETHK8j.js +0 -1
- package/dist/assets/VendorDomesticWireDetailsPage-DBChSKlR-4iWeRYsC.js +0 -1
- package/dist/assets/VendorInternationalWireSwiftDetailsPage-CywCx8-0-BWyYdePs.js +0 -1
- package/dist/assets/VideoPlayer-BVR9LPmm-Cf1X7mgb.js +0 -78
- package/dist/assets/ZeniAccountNavBarPieces-DqLJVQ5t-B6EqVL37.js +0 -14
- package/dist/assets/ZeniTransferAmountSlider-1DS0MsTI-D_vM8ORb.js +0 -63
- package/dist/assets/add-to-wallet-DgdBD8_G-DvwlYBb0.js +0 -1
- package/dist/assets/analyticsHelper-D88-Oppk.js +0 -1
- package/dist/assets/arrow-south-east-round-PEovUgvH-D9klpzRU.js +0 -1
- package/dist/assets/auto-transfer-rule-mbafm5D3-CHCjFoIN.js +0 -1
- package/dist/assets/constants-B4Ak6U9p.js +0 -1
- package/dist/assets/core-CA3j8Axi.js +0 -77
- package/dist/assets/empty-CrPfQgao.js +0 -1
- package/dist/assets/empty-Dn000SHy.js +0 -1
- package/dist/assets/epic-C_I3d-Sx.js +0 -2
- package/dist/assets/gift-box-Cmt9OgIZ-eSACml6z.js +0 -1
- package/dist/assets/graphic-no-data-l-DU4J8fDt-BzIPOWHn.js +0 -1
- package/dist/assets/graphic-no-data-net-burn-l-CzmycA0m-CtBcTNoa.js +0 -1
- package/dist/assets/handshake-BPg58FML-DvA7MfJg.js +0 -1
- package/dist/assets/index-BWZriWwb.js +0 -1
- package/dist/assets/index-C-ypGNlB.js +0 -1
- package/dist/assets/index-C4-PHmb9.js +0 -1
- package/dist/assets/index-C5fdNIhc.js +0 -1
- package/dist/assets/lottie-B7mXQ-R-.js +0 -9
- package/dist/assets/mui-DpJXlk4t.js +0 -25
- package/dist/assets/page-detail-CWX5S47F-Byx36A1h.js +0 -1
- package/dist/assets/radio-default-CiSgisfh-HcY1qXLg.js +0 -1
- package/dist/assets/react-B7zczQTC.js +0 -17
- package/dist/assets/recharts-BGdJnVo5.js +0 -73
- package/dist/assets/sentry-BA4piVNf.js +0 -500
- package/dist/assets/shield-DOlUxcFf-DciCHlJY.js +0 -1
- package/dist/assets/toChartData-CavJzP6f-B2iIF7nP.js +0 -1
- package/dist/assets/transaction-placeholder-CpOwZAMG-2yCTNaDx.js +0 -1
- package/dist/assets/url-Bq2XNMnM.js +0 -1
- package/dist/assets/useLongPress-GCK2COYQ-Ch-mrcwO.js +0 -1
- package/dist/assets/usp-line-BBd1wKwW-BZdA9pHf.js +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{d as v,p as H}from"./sentry-DMKAGVXl.js";import{B as T}from"./zeni-epic-state-DjAFCaxy.js";import{p as X,j as z,q as K,s as j,t as V,u as W,v as Y,w as D}from"./utils-BWiizB9D.js";import{r as J}from"./url-DsW1BPwo.js";(function(){try{var a=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},s=new a.Error().stack;s&&(a._sentryDebugIds=a._sentryDebugIds||{},a._sentryDebugIds[s]="5b73048f-d9b2-46da-a842-0f135b09de7a",a._sentryDebugIdIdentifier="sentry-dbid-5b73048f-d9b2-46da-a842-0f135b09de7a")}catch{}})();var w={},C={exports:{}},E={},P;function B(){return P||(P=1,function(a){a.fetch=m(v.fetch)&&m(v.ReadableStream),a.writableStream=m(v.WritableStream),a.abortController=m(v.AbortController);var s;function p(){if(s!==void 0)return s;if(v.XMLHttpRequest){s=new v.XMLHttpRequest;try{s.open("GET",v.XDomainRequest?"/":"https://example.com")}catch{s=null}}else s=null;return s}function l(f){var o=p();if(!o)return!1;try{return o.responseType=f,o.responseType===f}catch{}return!1}a.arraybuffer=a.fetch||l("arraybuffer"),a.msstream=!a.fetch&&l("ms-stream"),a.mozchunkedarraybuffer=!a.fetch&&l("moz-chunked-arraybuffer"),a.overrideMimeType=a.fetch||(p()?m(p().overrideMimeType):!1);function m(f){return typeof f=="function"}s=null}(E)),E}var g={},R={exports:{}},I;function F(){return I||(I=1,function(a,s){s=a.exports=X(),s.Stream=s,s.Readable=s,s.Writable=z(),s.Duplex=K(),s.Transform=j(),s.PassThrough=V(),s.finished=W(),s.pipeline=Y()}(R,R.exports)),R.exports}var M;function G(){if(M)return g;M=1;var a=B(),s=D(),p=F(),l=g.readyStates={UNSENT:0,OPENED:1,HEADERS_RECEIVED:2,LOADING:3,DONE:4},m=g.IncomingMessage=function(f,o,n,c){var t=this;if(p.Readable.call(t),t._mode=n,t.headers={},t.rawHeaders=[],t.trailers={},t.rawTrailers=[],t.on("end",function(){H.nextTick(function(){t.emit("close")})}),n==="fetch"){let b=function(){r.read().then(function(d){if(!t._destroyed){if(c(d.done),d.done){t.push(null);return}t.push(T.from(d.value)),b()}}).catch(function(d){c(!0),t._destroyed||t.emit("error",d)})};if(t._fetchResponse=o,t.url=o.url,t.statusCode=o.status,t.statusMessage=o.statusText,o.headers.forEach(function(d,u){t.headers[u.toLowerCase()]=d,t.rawHeaders.push(u,d)}),a.writableStream){var e=new WritableStream({write:function(d){return c(!1),new Promise(function(u,_){t._destroyed?_():t.push(T.from(d))?u():t._resumeFetch=u})},close:function(){c(!0),t._destroyed||t.push(null)},abort:function(d){c(!0),t._destroyed||t.emit("error",d)}});try{o.body.pipeTo(e).catch(function(d){c(!0),t._destroyed||t.emit("error",d)});return}catch{}}var r=o.body.getReader();b()}else{t._xhr=f,t._pos=0,t.url=f.responseURL,t.statusCode=f.status,t.statusMessage=f.statusText;var i=f.getAllResponseHeaders().split(/\r?\n/);if(i.forEach(function(b){var d=b.match(/^([^:]+):\s*(.*)/);if(d){var u=d[1].toLowerCase();u==="set-cookie"?(t.headers[u]===void 0&&(t.headers[u]=[]),t.headers[u].push(d[2])):t.headers[u]!==void 0?t.headers[u]+=", "+d[2]:t.headers[u]=d[2],t.rawHeaders.push(d[1],d[2])}}),t._charset="x-user-defined",!a.overrideMimeType){var h=t.rawHeaders["mime-type"];if(h){var y=h.match(/;\s*charset=([^;])(;|$)/);y&&(t._charset=y[1].toLowerCase())}t._charset||(t._charset="utf-8")}}};return s(m,p.Readable),m.prototype._read=function(){var f=this,o=f._resumeFetch;o&&(f._resumeFetch=null,o())},m.prototype._onXHRProgress=function(f){var o=this,n=o._xhr,c=null;switch(o._mode){case"text":if(c=n.responseText,c.length>o._pos){var t=c.substr(o._pos);if(o._charset==="x-user-defined"){for(var e=T.alloc(t.length),r=0;r<t.length;r++)e[r]=t.charCodeAt(r)&255;o.push(e)}else o.push(t,o._charset);o._pos=c.length}break;case"arraybuffer":if(n.readyState!==l.DONE||!n.response)break;c=n.response,o.push(T.from(new Uint8Array(c)));break;case"moz-chunked-arraybuffer":if(c=n.response,n.readyState!==l.LOADING||!c)break;o.push(T.from(new Uint8Array(c)));break;case"ms-stream":if(c=n.response,n.readyState!==l.LOADING)break;var i=new v.MSStreamReader;i.onprogress=function(){i.result.byteLength>o._pos&&(o.push(T.from(new Uint8Array(i.result.slice(o._pos)))),o._pos=i.result.byteLength)},i.onload=function(){f(!0),o.push(null)},i.readAsArrayBuffer(c);break}o._xhr.readyState===l.DONE&&o._mode!=="ms-stream"&&(f(!0),o.push(null))},g}var N;function Q(){if(N)return C.exports;N=1;var a=B(),s=D(),p=G(),l=F(),m=p.IncomingMessage,f=p.readyStates;function o(e,r){return a.fetch&&r?"fetch":a.mozchunkedarraybuffer?"moz-chunked-arraybuffer":a.msstream?"ms-stream":a.arraybuffer&&e?"arraybuffer":"text"}var n=C.exports=function(e){var r=this;l.Writable.call(r),r._opts=e,r._body=[],r._headers={},e.auth&&r.setHeader("Authorization","Basic "+T.from(e.auth).toString("base64")),Object.keys(e.headers).forEach(function(y){r.setHeader(y,e.headers[y])});var i,h=!0;if(e.mode==="disable-fetch"||"requestTimeout"in e&&!a.abortController)h=!1,i=!0;else if(e.mode==="prefer-streaming")i=!1;else if(e.mode==="allow-wrong-content-type")i=!a.overrideMimeType;else if(!e.mode||e.mode==="default"||e.mode==="prefer-fast")i=!0;else throw new Error("Invalid value for opts.mode");r._mode=o(i,h),r._fetchTimer=null,r._socketTimeout=null,r._socketTimer=null,r.on("finish",function(){r._onFinish()})};s(n,l.Writable),n.prototype.setHeader=function(e,r){var i=this,h=e.toLowerCase();t.indexOf(h)===-1&&(i._headers[h]={name:e,value:r})},n.prototype.getHeader=function(e){var r=this._headers[e.toLowerCase()];return r?r.value:null},n.prototype.removeHeader=function(e){var r=this;delete r._headers[e.toLowerCase()]},n.prototype._onFinish=function(){var e=this;if(!e._destroyed){var r=e._opts;"timeout"in r&&r.timeout!==0&&e.setTimeout(r.timeout);var i=e._headers,h=null;r.method!=="GET"&&r.method!=="HEAD"&&(h=new Blob(e._body,{type:(i["content-type"]||{}).value||""}));var y=[];if(Object.keys(i).forEach(function(_){var O=i[_].name,q=i[_].value;Array.isArray(q)?q.forEach(function(x){y.push([O,x])}):y.push([O,q])}),e._mode==="fetch"){var b=null;if(a.abortController){var d=new AbortController;b=d.signal,e._fetchAbortController=d,"requestTimeout"in r&&r.requestTimeout!==0&&(e._fetchTimer=v.setTimeout(function(){e.emit("requestTimeout"),e._fetchAbortController&&e._fetchAbortController.abort()},r.requestTimeout))}v.fetch(e._opts.url,{method:e._opts.method,headers:y,body:h||void 0,mode:"cors",credentials:r.withCredentials?"include":"same-origin",signal:b}).then(function(_){e._fetchResponse=_,e._resetTimers(!1),e._connect()},function(_){e._resetTimers(!0),e._destroyed||e.emit("error",_)})}else{var u=e._xhr=new v.XMLHttpRequest;try{u.open(e._opts.method,e._opts.url,!0)}catch(_){H.nextTick(function(){e.emit("error",_)});return}"responseType"in u&&(u.responseType=e._mode),"withCredentials"in u&&(u.withCredentials=!!r.withCredentials),e._mode==="text"&&"overrideMimeType"in u&&u.overrideMimeType("text/plain; charset=x-user-defined"),"requestTimeout"in r&&(u.timeout=r.requestTimeout,u.ontimeout=function(){e.emit("requestTimeout")}),y.forEach(function(_){u.setRequestHeader(_[0],_[1])}),e._response=null,u.onreadystatechange=function(){switch(u.readyState){case f.LOADING:case f.DONE:e._onXHRProgress();break}},e._mode==="moz-chunked-arraybuffer"&&(u.onprogress=function(){e._onXHRProgress()}),u.onerror=function(){e._destroyed||(e._resetTimers(!0),e.emit("error",new Error("XHR error")))};try{u.send(h)}catch(_){H.nextTick(function(){e.emit("error",_)});return}}}};function c(e){try{var r=e.status;return r!==null&&r!==0}catch{return!1}}n.prototype._onXHRProgress=function(){var e=this;e._resetTimers(!1),!(!c(e._xhr)||e._destroyed)&&(e._response||e._connect(),e._response._onXHRProgress(e._resetTimers.bind(e)))},n.prototype._connect=function(){var e=this;e._destroyed||(e._response=new m(e._xhr,e._fetchResponse,e._mode,e._resetTimers.bind(e)),e._response.on("error",function(r){e.emit("error",r)}),e.emit("response",e._response))},n.prototype._write=function(e,r,i){var h=this;h._body.push(e),i()},n.prototype._resetTimers=function(e){var r=this;v.clearTimeout(r._socketTimer),r._socketTimer=null,e?(v.clearTimeout(r._fetchTimer),r._fetchTimer=null):r._socketTimeout&&(r._socketTimer=v.setTimeout(function(){r.emit("timeout")},r._socketTimeout))},n.prototype.abort=n.prototype.destroy=function(e){var r=this;r._destroyed=!0,r._resetTimers(!0),r._response&&(r._response._destroyed=!0),r._xhr?r._xhr.abort():r._fetchAbortController&&r._fetchAbortController.abort(),e&&r.emit("error",e)},n.prototype.end=function(e,r,i){var h=this;typeof e=="function"&&(i=e,e=void 0),l.Writable.prototype.end.call(h,e,r,i)},n.prototype.setTimeout=function(e,r){var i=this;r&&i.once("timeout",r),i._socketTimeout=e,i._resetTimers(!1)},n.prototype.flushHeaders=function(){},n.prototype.setNoDelay=function(){},n.prototype.setSocketKeepAlive=function(){};var t=["accept-charset","accept-encoding","access-control-request-headers","access-control-request-method","connection","content-length","cookie","cookie2","date","dnt","expect","host","keep-alive","origin","referer","te","trailer","transfer-encoding","upgrade","via"];return C.exports}var S,L;function Z(){if(L)return S;L=1,S=s;var a=Object.prototype.hasOwnProperty;function s(){for(var p={},l=0;l<arguments.length;l++){var m=arguments[l];for(var f in m)a.call(m,f)&&(p[f]=m[f])}return p}return S}var A,k;function $(){return k||(k=1,A={100:"Continue",101:"Switching Protocols",102:"Processing",200:"OK",201:"Created",202:"Accepted",203:"Non-Authoritative Information",204:"No Content",205:"Reset Content",206:"Partial Content",207:"Multi-Status",208:"Already Reported",226:"IM Used",300:"Multiple Choices",301:"Moved Permanently",302:"Found",303:"See Other",304:"Not Modified",305:"Use Proxy",307:"Temporary Redirect",308:"Permanent Redirect",400:"Bad Request",401:"Unauthorized",402:"Payment Required",403:"Forbidden",404:"Not Found",405:"Method Not Allowed",406:"Not Acceptable",407:"Proxy Authentication Required",408:"Request Timeout",409:"Conflict",410:"Gone",411:"Length Required",412:"Precondition Failed",413:"Payload Too Large",414:"URI Too Long",415:"Unsupported Media Type",416:"Range Not Satisfiable",417:"Expectation Failed",418:"I'm a teapot",421:"Misdirected Request",422:"Unprocessable Entity",423:"Locked",424:"Failed Dependency",425:"Unordered Collection",426:"Upgrade Required",428:"Precondition Required",429:"Too Many Requests",431:"Request Header Fields Too Large",451:"Unavailable For Legal Reasons",500:"Internal Server Error",501:"Not Implemented",502:"Bad Gateway",503:"Service Unavailable",504:"Gateway Timeout",505:"HTTP Version Not Supported",506:"Variant Also Negotiates",507:"Insufficient Storage",508:"Loop Detected",509:"Bandwidth Limit Exceeded",510:"Not Extended",511:"Network Authentication Required"}),A}var U;function ne(){return U||(U=1,function(a){var s=Q(),p=G(),l=Z(),m=$(),f=J(),o=a;o.request=function(n,c){typeof n=="string"?n=f.parse(n):n=l(n);var t=v.location.protocol.search(/^https?:$/)===-1?"http:":"",e=n.protocol||t,r=n.hostname||n.host,i=n.port,h=n.path||"/";r&&r.indexOf(":")!==-1&&(r="["+r+"]"),n.url=(r?e+"//"+r:"")+(i?":"+i:"")+h,n.method=(n.method||"GET").toUpperCase(),n.headers=n.headers||{};var y=new s(n);return c&&y.on("response",c),y},o.get=function(c,t){var e=o.request(c,t);return e.end(),e},o.ClientRequest=s,o.IncomingMessage=p.IncomingMessage,o.Agent=function(){},o.Agent.defaultMaxSockets=4,o.globalAgent=new o.Agent,o.STATUS_CODES=m,o.METHODS=["CHECKOUT","CONNECT","COPY","DELETE","GET","HEAD","LOCK","M-SEARCH","MERGE","MKACTIVITY","MKCOL","MOVE","NOTIFY","OPTIONS","PATCH","POST","PROPFIND","PROPPATCH","PURGE","PUT","REPORT","SEARCH","SUBSCRIBE","TRACE","UNLOCK","UNSUBSCRIBE"]}(w)),w}export{ne as a,F as r};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{S as an,a as rn}from"./core-CA3j8Axi.js";import{g as Za}from"./mui-DpJXlk4t.js";import{H as hf}from"./hls-SyH7Grr1.js";import{C as kn,M as mf}from"./mixin-BPAPQfSE.js";(function(){try{var t=typeof window<"u"?window:typeof Za<"u"?Za:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},e=new t.Error().stack;e&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[e]="c7e127be-d90a-44ac-aced-ac06f61da6f4",t._sentryDebugIdIdentifier="sentry-dbid-c7e127be-d90a-44ac-aced-ac06f61da6f4")}catch{}})();var pf=Object.create,em=Object.defineProperty,vf=Object.getOwnPropertyDescriptor,ff=Object.getOwnPropertyNames,Ef=Object.getPrototypeOf,_f=Object.prototype.hasOwnProperty,tm=function(t,e){return function(){return t&&(e=t(t=0)),e}},We=function(t,e){return function(){return e||t((e={exports:{}}).exports,e),e.exports}},bf=function(t,e,i,a){if(e&&typeof e=="object"||typeof e=="function")for(var r=ff(e),n=0,s=r.length,o;n<s;n++)o=r[n],!_f.call(t,o)&&o!==i&&em(t,o,{get:(function(l){return e[l]}).bind(null,o),enumerable:!(a=vf(e,o))||a.enumerable});return t},ot=function(t,e,i){return i=t!=null?pf(Ef(t)):{},bf(!t||!t.__esModule?em(i,"default",{value:t,enumerable:!0}):i,t)},Yt=We(function(t,e){var i;typeof window<"u"?i=window:typeof Za<"u"?i=Za:typeof self<"u"?i=self:i={},e.exports=i});function aa(t,e){return e!=null&&typeof Symbol<"u"&&e[Symbol.hasInstance]?!!e[Symbol.hasInstance](t):aa(t,e)}var ra=tm(function(){ra()});function im(t){"@swc/helpers - typeof";return t&&typeof Symbol<"u"&&t.constructor===Symbol?"symbol":typeof t}var am=tm(function(){}),rm=We(function(t,e){var i=Array.prototype.slice;e.exports=a;function a(r,n){for(("length"in r)||(r=[r]),r=i.call(r);r.length;){var s=r.shift(),o=n(s);if(o)return o;s.childNodes&&s.childNodes.length&&(r=i.call(s.childNodes).concat(r))}}}),gf=We(function(t,e){ra(),e.exports=i;function i(a,r){if(!aa(this,i))return new i(a,r);this.data=a,this.nodeValue=a,this.length=a.length,this.ownerDocument=r||null}i.prototype.nodeType=8,i.prototype.nodeName="#comment",i.prototype.toString=function(){return"[object Comment]"}}),yf=We(function(t,e){ra(),e.exports=i;function i(a,r){if(!aa(this,i))return new i(a);this.data=a||"",this.length=this.data.length,this.ownerDocument=r||null}i.prototype.type="DOMTextNode",i.prototype.nodeType=3,i.prototype.nodeName="#text",i.prototype.toString=function(){return this.data},i.prototype.replaceData=function(a,r,n){var s=this.data,o=s.substring(0,a),l=s.substring(a+r,s.length);this.data=o+n+l,this.length=this.data.length}}),nm=We(function(t,e){e.exports=i;function i(a){var r=this,n=a.type;a.target||(a.target=r),r.listeners||(r.listeners={});var s=r.listeners[n];if(s)return s.forEach(function(o){a.currentTarget=r,typeof o=="function"?o(a):o.handleEvent(a)});r.parentNode&&r.parentNode.dispatchEvent(a)}}),sm=We(function(t,e){e.exports=i;function i(a,r){var n=this;n.listeners||(n.listeners={}),n.listeners[a]||(n.listeners[a]=[]),n.listeners[a].indexOf(r)===-1&&n.listeners[a].push(r)}}),om=We(function(t,e){e.exports=i;function i(a,r){var n=this;if(n.listeners&&n.listeners[a]){var s=n.listeners[a],o=s.indexOf(r);o!==-1&&s.splice(o,1)}}}),Tf=We(function(t,e){am(),e.exports=a;var i=["area","base","br","col","embed","hr","img","input","keygen","link","menuitem","meta","param","source","track","wbr"];function a(h){switch(h.nodeType){case 3:return m(h.data);case 8:return"<!--"+h.data+"-->";default:return r(h)}}function r(h){var u=[],v=h.tagName;return h.namespaceURI==="http://www.w3.org/1999/xhtml"&&(v=v.toLowerCase()),u.push("<"+v+d(h)+o(h)),i.indexOf(v)>-1?u.push(" />"):(u.push(">"),h.childNodes.length?u.push.apply(u,h.childNodes.map(a)):h.textContent||h.innerText?u.push(m(h.textContent||h.innerText)):h.innerHTML&&u.push(h.innerHTML),u.push("</"+v+">")),u.join("")}function n(h,u){var v=im(h[u]);return u==="style"&&Object.keys(h.style).length>0?!0:h.hasOwnProperty(u)&&(v==="string"||v==="boolean"||v==="number")&&u!=="nodeName"&&u!=="className"&&u!=="tagName"&&u!=="textContent"&&u!=="innerText"&&u!=="namespaceURI"&&u!=="innerHTML"}function s(h){if(typeof h=="string")return h;var u="";return Object.keys(h).forEach(function(v){var E=h[v];v=v.replace(/[A-Z]/g,function(g){return"-"+g.toLowerCase()}),u+=v+":"+E+";"}),u}function o(h){var u=h.dataset,v=[];for(var E in u)v.push({name:"data-"+E,value:u[E]});return v.length?l(v):""}function l(h){var u=[];return h.forEach(function(v){var E=v.name,g=v.value;E==="style"&&(g=s(g)),u.push(E+'="'+p(g)+'"')}),u.length?" "+u.join(" "):""}function d(h){var u=[];for(var v in h)n(h,v)&&u.push({name:v,value:h[v]});for(var E in h._attributes)for(var g in h._attributes[E]){var y=h._attributes[E][g],T=(y.prefix?y.prefix+":":"")+g;u.push({name:T,value:y.value})}return h.className&&u.push({name:"class",value:h.className}),u.length?l(u):""}function m(h){var u="";return typeof h=="string"?u=h:h&&(u=h.toString()),u.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">")}function p(h){return m(h).replace(/"/g,""")}}),lm=We(function(t,e){ra();var i=rm(),a=nm(),r=sm(),n=om(),s=Tf(),o="http://www.w3.org/1999/xhtml";e.exports=l;function l(d,m,p){if(!aa(this,l))return new l(d);var h=p===void 0?o:p||null;this.tagName=h===o?String(d).toUpperCase():d,this.nodeName=this.tagName,this.className="",this.dataset={},this.childNodes=[],this.parentNode=null,this.style={},this.ownerDocument=m||null,this.namespaceURI=h,this._attributes={},this.tagName==="INPUT"&&(this.type="text")}l.prototype.type="DOMElement",l.prototype.nodeType=1,l.prototype.appendChild=function(d){return d.parentNode&&d.parentNode.removeChild(d),this.childNodes.push(d),d.parentNode=this,d},l.prototype.replaceChild=function(d,m){d.parentNode&&d.parentNode.removeChild(d);var p=this.childNodes.indexOf(m);return m.parentNode=null,this.childNodes[p]=d,d.parentNode=this,m},l.prototype.removeChild=function(d){var m=this.childNodes.indexOf(d);return this.childNodes.splice(m,1),d.parentNode=null,d},l.prototype.insertBefore=function(d,m){d.parentNode&&d.parentNode.removeChild(d);var p=m==null?-1:this.childNodes.indexOf(m);return p>-1?this.childNodes.splice(p,0,d):this.childNodes.push(d),d.parentNode=this,d},l.prototype.setAttributeNS=function(d,m,p){var h=null,u=m,v=m.indexOf(":");if(v>-1&&(h=m.substr(0,v),u=m.substr(v+1)),this.tagName==="INPUT"&&m==="type")this.type=p;else{var E=this._attributes[d]||(this._attributes[d]={});E[u]={value:p,prefix:h}}},l.prototype.getAttributeNS=function(d,m){var p=this._attributes[d],h=p&&p[m]&&p[m].value;return this.tagName==="INPUT"&&m==="type"?this.type:typeof h!="string"?null:h},l.prototype.removeAttributeNS=function(d,m){var p=this._attributes[d];p&&delete p[m]},l.prototype.hasAttributeNS=function(d,m){var p=this._attributes[d];return!!p&&m in p},l.prototype.setAttribute=function(d,m){return this.setAttributeNS(null,d,m)},l.prototype.getAttribute=function(d){return this.getAttributeNS(null,d)},l.prototype.removeAttribute=function(d){return this.removeAttributeNS(null,d)},l.prototype.hasAttribute=function(d){return this.hasAttributeNS(null,d)},l.prototype.removeEventListener=n,l.prototype.addEventListener=r,l.prototype.dispatchEvent=a,l.prototype.focus=function(){},l.prototype.toString=function(){return s(this)},l.prototype.getElementsByClassName=function(d){var m=d.split(" "),p=[];return i(this,function(h){if(h.nodeType===1){var u=h.className||"",v=u.split(" ");m.every(function(E){return v.indexOf(E)!==-1})&&p.push(h)}}),p},l.prototype.getElementsByTagName=function(d){d=d.toLowerCase();var m=[];return i(this.childNodes,function(p){p.nodeType===1&&(d==="*"||p.tagName.toLowerCase()===d)&&m.push(p)}),m},l.prototype.contains=function(d){return i(this,function(m){return d===m})||!1}}),Af=We(function(t,e){ra();var i=lm();e.exports=a;function a(r){if(!aa(this,a))return new a;this.childNodes=[],this.parentNode=null,this.ownerDocument=r||null}a.prototype.type="DocumentFragment",a.prototype.nodeType=11,a.prototype.nodeName="#document-fragment",a.prototype.appendChild=i.prototype.appendChild,a.prototype.replaceChild=i.prototype.replaceChild,a.prototype.removeChild=i.prototype.removeChild,a.prototype.toString=function(){return this.childNodes.map(function(r){return String(r)}).join("")}}),kf=We(function(t,e){e.exports=i;function i(a){}i.prototype.initEvent=function(a,r,n){this.type=a,this.bubbles=r,this.cancelable=n},i.prototype.preventDefault=function(){}}),Sf=We(function(t,e){ra();var i=rm(),a=gf(),r=yf(),n=lm(),s=Af(),o=kf(),l=nm(),d=sm(),m=om();e.exports=p;function p(){if(!aa(this,p))return new p;this.head=this.createElement("head"),this.body=this.createElement("body"),this.documentElement=this.createElement("html"),this.documentElement.appendChild(this.head),this.documentElement.appendChild(this.body),this.childNodes=[this.documentElement],this.nodeType=9}var h=p.prototype;h.createTextNode=function(u){return new r(u,this)},h.createElementNS=function(u,v){var E=u===null?null:String(u);return new n(v,this,E)},h.createElement=function(u){return new n(u,this)},h.createDocumentFragment=function(){return new s(this)},h.createEvent=function(u){return new o(u)},h.createComment=function(u){return new a(u,this)},h.getElementById=function(u){u=String(u);var v=i(this.childNodes,function(E){if(String(E.id)===u)return E});return v||null},h.getElementsByClassName=n.prototype.getElementsByClassName,h.getElementsByTagName=n.prototype.getElementsByTagName,h.contains=n.prototype.contains,h.removeEventListener=m,h.addEventListener=d,h.dispatchEvent=l}),wf=We(function(t,e){var i=Sf();e.exports=new i}),dm=We(function(t,e){var i=typeof Za<"u"?Za:typeof window<"u"?window:{},a=wf(),r;typeof document<"u"?r=document:(r=i["__GLOBAL_DOCUMENT_CACHE@4"],r||(r=i["__GLOBAL_DOCUMENT_CACHE@4"]=a)),e.exports=r});function If(t){if(Array.isArray(t))return t}function Rf(t,e){var i=t==null?null:typeof Symbol<"u"&&t[Symbol.iterator]||t["@@iterator"];if(i!=null){var a=[],r=!0,n=!1,s,o;try{for(i=i.call(t);!(r=(s=i.next()).done)&&(a.push(s.value),!(e&&a.length===e));r=!0);}catch(l){n=!0,o=l}finally{try{!r&&i.return!=null&&i.return()}finally{if(n)throw o}}return a}}function Cf(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
1
|
+
import{b as Za,S as an,a as rn}from"./sentry-DMKAGVXl.js";import{H as hf}from"./hls-DifHSkbp.js";import{C as kn,M as mf}from"./mixin-BPAPQfSE.js";(function(){try{var t=typeof window<"u"?window:typeof Za<"u"?Za:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},e=new t.Error().stack;e&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[e]="88069d55-ef6b-4d98-8a50-7e7c10965a21",t._sentryDebugIdIdentifier="sentry-dbid-88069d55-ef6b-4d98-8a50-7e7c10965a21")}catch{}})();var pf=Object.create,em=Object.defineProperty,vf=Object.getOwnPropertyDescriptor,ff=Object.getOwnPropertyNames,Ef=Object.getPrototypeOf,_f=Object.prototype.hasOwnProperty,tm=function(t,e){return function(){return t&&(e=t(t=0)),e}},We=function(t,e){return function(){return e||t((e={exports:{}}).exports,e),e.exports}},bf=function(t,e,i,a){if(e&&typeof e=="object"||typeof e=="function")for(var r=ff(e),n=0,s=r.length,o;n<s;n++)o=r[n],!_f.call(t,o)&&o!==i&&em(t,o,{get:(function(l){return e[l]}).bind(null,o),enumerable:!(a=vf(e,o))||a.enumerable});return t},ot=function(t,e,i){return i=t!=null?pf(Ef(t)):{},bf(!t||!t.__esModule?em(i,"default",{value:t,enumerable:!0}):i,t)},Yt=We(function(t,e){var i;typeof window<"u"?i=window:typeof Za<"u"?i=Za:typeof self<"u"?i=self:i={},e.exports=i});function aa(t,e){return e!=null&&typeof Symbol<"u"&&e[Symbol.hasInstance]?!!e[Symbol.hasInstance](t):aa(t,e)}var ra=tm(function(){ra()});function im(t){"@swc/helpers - typeof";return t&&typeof Symbol<"u"&&t.constructor===Symbol?"symbol":typeof t}var am=tm(function(){}),rm=We(function(t,e){var i=Array.prototype.slice;e.exports=a;function a(r,n){for(("length"in r)||(r=[r]),r=i.call(r);r.length;){var s=r.shift(),o=n(s);if(o)return o;s.childNodes&&s.childNodes.length&&(r=i.call(s.childNodes).concat(r))}}}),gf=We(function(t,e){ra(),e.exports=i;function i(a,r){if(!aa(this,i))return new i(a,r);this.data=a,this.nodeValue=a,this.length=a.length,this.ownerDocument=r||null}i.prototype.nodeType=8,i.prototype.nodeName="#comment",i.prototype.toString=function(){return"[object Comment]"}}),yf=We(function(t,e){ra(),e.exports=i;function i(a,r){if(!aa(this,i))return new i(a);this.data=a||"",this.length=this.data.length,this.ownerDocument=r||null}i.prototype.type="DOMTextNode",i.prototype.nodeType=3,i.prototype.nodeName="#text",i.prototype.toString=function(){return this.data},i.prototype.replaceData=function(a,r,n){var s=this.data,o=s.substring(0,a),l=s.substring(a+r,s.length);this.data=o+n+l,this.length=this.data.length}}),nm=We(function(t,e){e.exports=i;function i(a){var r=this,n=a.type;a.target||(a.target=r),r.listeners||(r.listeners={});var s=r.listeners[n];if(s)return s.forEach(function(o){a.currentTarget=r,typeof o=="function"?o(a):o.handleEvent(a)});r.parentNode&&r.parentNode.dispatchEvent(a)}}),sm=We(function(t,e){e.exports=i;function i(a,r){var n=this;n.listeners||(n.listeners={}),n.listeners[a]||(n.listeners[a]=[]),n.listeners[a].indexOf(r)===-1&&n.listeners[a].push(r)}}),om=We(function(t,e){e.exports=i;function i(a,r){var n=this;if(n.listeners&&n.listeners[a]){var s=n.listeners[a],o=s.indexOf(r);o!==-1&&s.splice(o,1)}}}),Tf=We(function(t,e){am(),e.exports=a;var i=["area","base","br","col","embed","hr","img","input","keygen","link","menuitem","meta","param","source","track","wbr"];function a(h){switch(h.nodeType){case 3:return m(h.data);case 8:return"<!--"+h.data+"-->";default:return r(h)}}function r(h){var u=[],v=h.tagName;return h.namespaceURI==="http://www.w3.org/1999/xhtml"&&(v=v.toLowerCase()),u.push("<"+v+d(h)+o(h)),i.indexOf(v)>-1?u.push(" />"):(u.push(">"),h.childNodes.length?u.push.apply(u,h.childNodes.map(a)):h.textContent||h.innerText?u.push(m(h.textContent||h.innerText)):h.innerHTML&&u.push(h.innerHTML),u.push("</"+v+">")),u.join("")}function n(h,u){var v=im(h[u]);return u==="style"&&Object.keys(h.style).length>0?!0:h.hasOwnProperty(u)&&(v==="string"||v==="boolean"||v==="number")&&u!=="nodeName"&&u!=="className"&&u!=="tagName"&&u!=="textContent"&&u!=="innerText"&&u!=="namespaceURI"&&u!=="innerHTML"}function s(h){if(typeof h=="string")return h;var u="";return Object.keys(h).forEach(function(v){var E=h[v];v=v.replace(/[A-Z]/g,function(g){return"-"+g.toLowerCase()}),u+=v+":"+E+";"}),u}function o(h){var u=h.dataset,v=[];for(var E in u)v.push({name:"data-"+E,value:u[E]});return v.length?l(v):""}function l(h){var u=[];return h.forEach(function(v){var E=v.name,g=v.value;E==="style"&&(g=s(g)),u.push(E+'="'+p(g)+'"')}),u.length?" "+u.join(" "):""}function d(h){var u=[];for(var v in h)n(h,v)&&u.push({name:v,value:h[v]});for(var E in h._attributes)for(var g in h._attributes[E]){var y=h._attributes[E][g],T=(y.prefix?y.prefix+":":"")+g;u.push({name:T,value:y.value})}return h.className&&u.push({name:"class",value:h.className}),u.length?l(u):""}function m(h){var u="";return typeof h=="string"?u=h:h&&(u=h.toString()),u.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">")}function p(h){return m(h).replace(/"/g,""")}}),lm=We(function(t,e){ra();var i=rm(),a=nm(),r=sm(),n=om(),s=Tf(),o="http://www.w3.org/1999/xhtml";e.exports=l;function l(d,m,p){if(!aa(this,l))return new l(d);var h=p===void 0?o:p||null;this.tagName=h===o?String(d).toUpperCase():d,this.nodeName=this.tagName,this.className="",this.dataset={},this.childNodes=[],this.parentNode=null,this.style={},this.ownerDocument=m||null,this.namespaceURI=h,this._attributes={},this.tagName==="INPUT"&&(this.type="text")}l.prototype.type="DOMElement",l.prototype.nodeType=1,l.prototype.appendChild=function(d){return d.parentNode&&d.parentNode.removeChild(d),this.childNodes.push(d),d.parentNode=this,d},l.prototype.replaceChild=function(d,m){d.parentNode&&d.parentNode.removeChild(d);var p=this.childNodes.indexOf(m);return m.parentNode=null,this.childNodes[p]=d,d.parentNode=this,m},l.prototype.removeChild=function(d){var m=this.childNodes.indexOf(d);return this.childNodes.splice(m,1),d.parentNode=null,d},l.prototype.insertBefore=function(d,m){d.parentNode&&d.parentNode.removeChild(d);var p=m==null?-1:this.childNodes.indexOf(m);return p>-1?this.childNodes.splice(p,0,d):this.childNodes.push(d),d.parentNode=this,d},l.prototype.setAttributeNS=function(d,m,p){var h=null,u=m,v=m.indexOf(":");if(v>-1&&(h=m.substr(0,v),u=m.substr(v+1)),this.tagName==="INPUT"&&m==="type")this.type=p;else{var E=this._attributes[d]||(this._attributes[d]={});E[u]={value:p,prefix:h}}},l.prototype.getAttributeNS=function(d,m){var p=this._attributes[d],h=p&&p[m]&&p[m].value;return this.tagName==="INPUT"&&m==="type"?this.type:typeof h!="string"?null:h},l.prototype.removeAttributeNS=function(d,m){var p=this._attributes[d];p&&delete p[m]},l.prototype.hasAttributeNS=function(d,m){var p=this._attributes[d];return!!p&&m in p},l.prototype.setAttribute=function(d,m){return this.setAttributeNS(null,d,m)},l.prototype.getAttribute=function(d){return this.getAttributeNS(null,d)},l.prototype.removeAttribute=function(d){return this.removeAttributeNS(null,d)},l.prototype.hasAttribute=function(d){return this.hasAttributeNS(null,d)},l.prototype.removeEventListener=n,l.prototype.addEventListener=r,l.prototype.dispatchEvent=a,l.prototype.focus=function(){},l.prototype.toString=function(){return s(this)},l.prototype.getElementsByClassName=function(d){var m=d.split(" "),p=[];return i(this,function(h){if(h.nodeType===1){var u=h.className||"",v=u.split(" ");m.every(function(E){return v.indexOf(E)!==-1})&&p.push(h)}}),p},l.prototype.getElementsByTagName=function(d){d=d.toLowerCase();var m=[];return i(this.childNodes,function(p){p.nodeType===1&&(d==="*"||p.tagName.toLowerCase()===d)&&m.push(p)}),m},l.prototype.contains=function(d){return i(this,function(m){return d===m})||!1}}),Af=We(function(t,e){ra();var i=lm();e.exports=a;function a(r){if(!aa(this,a))return new a;this.childNodes=[],this.parentNode=null,this.ownerDocument=r||null}a.prototype.type="DocumentFragment",a.prototype.nodeType=11,a.prototype.nodeName="#document-fragment",a.prototype.appendChild=i.prototype.appendChild,a.prototype.replaceChild=i.prototype.replaceChild,a.prototype.removeChild=i.prototype.removeChild,a.prototype.toString=function(){return this.childNodes.map(function(r){return String(r)}).join("")}}),kf=We(function(t,e){e.exports=i;function i(a){}i.prototype.initEvent=function(a,r,n){this.type=a,this.bubbles=r,this.cancelable=n},i.prototype.preventDefault=function(){}}),Sf=We(function(t,e){ra();var i=rm(),a=gf(),r=yf(),n=lm(),s=Af(),o=kf(),l=nm(),d=sm(),m=om();e.exports=p;function p(){if(!aa(this,p))return new p;this.head=this.createElement("head"),this.body=this.createElement("body"),this.documentElement=this.createElement("html"),this.documentElement.appendChild(this.head),this.documentElement.appendChild(this.body),this.childNodes=[this.documentElement],this.nodeType=9}var h=p.prototype;h.createTextNode=function(u){return new r(u,this)},h.createElementNS=function(u,v){var E=u===null?null:String(u);return new n(v,this,E)},h.createElement=function(u){return new n(u,this)},h.createDocumentFragment=function(){return new s(this)},h.createEvent=function(u){return new o(u)},h.createComment=function(u){return new a(u,this)},h.getElementById=function(u){u=String(u);var v=i(this.childNodes,function(E){if(String(E.id)===u)return E});return v||null},h.getElementsByClassName=n.prototype.getElementsByClassName,h.getElementsByTagName=n.prototype.getElementsByTagName,h.contains=n.prototype.contains,h.removeEventListener=m,h.addEventListener=d,h.dispatchEvent=l}),wf=We(function(t,e){var i=Sf();e.exports=new i}),dm=We(function(t,e){var i=typeof Za<"u"?Za:typeof window<"u"?window:{},a=wf(),r;typeof document<"u"?r=document:(r=i["__GLOBAL_DOCUMENT_CACHE@4"],r||(r=i["__GLOBAL_DOCUMENT_CACHE@4"]=a)),e.exports=r});function If(t){if(Array.isArray(t))return t}function Rf(t,e){var i=t==null?null:typeof Symbol<"u"&&t[Symbol.iterator]||t["@@iterator"];if(i!=null){var a=[],r=!0,n=!1,s,o;try{for(i=i.call(t);!(r=(s=i.next()).done)&&(a.push(s.value),!(e&&a.length===e));r=!0);}catch(l){n=!0,o=l}finally{try{!r&&i.return!=null&&i.return()}finally{if(n)throw o}}return a}}function Cf(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
2
2
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function yl(t,e){(e==null||e>t.length)&&(e=t.length);for(var i=0,a=new Array(e);i<e;i++)a[i]=t[i];return a}function um(t,e){if(t){if(typeof t=="string")return yl(t,e);var i=Object.prototype.toString.call(t).slice(8,-1);if(i==="Object"&&t.constructor&&(i=t.constructor.name),i==="Map"||i==="Set")return Array.from(i);if(i==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i))return yl(t,e)}}function ai(t,e){return If(t)||Rf(t,e)||um(t,e)||Cf()}var Yr=ot(Yt()),gc=ot(Yt()),Lf=ot(Yt()),Df={now:function(){var t=Lf.default.performance,e=t&&t.timing,i=e&&e.navigationStart,a=typeof i=="number"&&typeof t.now=="function"?i+t.now():Date.now();return Math.round(a)}},Re=Df,nn=function(){var t,e,i;if(typeof((t=gc.default.crypto)===null||t===void 0?void 0:t.getRandomValues)=="function"){i=new Uint8Array(32),gc.default.crypto.getRandomValues(i);for(var a=0;a<32;a++)i[a]=i[a]%16}else{i=[];for(var r=0;r<32;r++)i[r]=Math.random()*16|0}var n=0;e="xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,function(l){var d=l==="x"?i[n]:i[n]&3|8;return n++,d.toString(16)});var s=Re.now(),o=s?.toString(16).substring(3);return o?e.substring(0,28)+o:e},cm=function(){return("000000"+(Math.random()*Math.pow(36,6)<<0).toString(36)).slice(-6)},ht=function(t){if(t&&typeof t.nodeName<"u")return t.muxId||(t.muxId=cm()),t.muxId;var e;try{e=document.querySelector(t)}catch{}return e&&!e.muxId&&(e.muxId=t),e?.muxId||t},Xs=function(t){var e;t&&typeof t.nodeName<"u"?(e=t,t=ht(e)):e=document.querySelector(t);var i=e&&e.nodeName?e.nodeName.toLowerCase():"";return[e,t,i]};function Mf(t){if(Array.isArray(t))return yl(t)}function xf(t){if(typeof Symbol<"u"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function Of(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
|
|
3
3
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function mt(t){return Mf(t)||xf(t)||um(t)||Of()}var Wi={TRACE:0,DEBUG:1,INFO:2,WARN:3,ERROR:4},Nf=function(t){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:3,i,a,r,n,s,o=[console,t],l=(i=console.trace).bind.apply(i,mt(o)),d=(a=console.info).bind.apply(a,mt(o)),m=(r=console.debug).bind.apply(r,mt(o)),p=(n=console.warn).bind.apply(n,mt(o)),h=(s=console.error).bind.apply(s,mt(o)),u=e;return{trace:function(){for(var v=arguments.length,E=new Array(v),g=0;g<v;g++)E[g]=arguments[g];if(!(u>Wi.TRACE))return l.apply(void 0,mt(E))},debug:function(){for(var v=arguments.length,E=new Array(v),g=0;g<v;g++)E[g]=arguments[g];if(!(u>Wi.DEBUG))return m.apply(void 0,mt(E))},info:function(){for(var v=arguments.length,E=new Array(v),g=0;g<v;g++)E[g]=arguments[g];if(!(u>Wi.INFO))return d.apply(void 0,mt(E))},warn:function(){for(var v=arguments.length,E=new Array(v),g=0;g<v;g++)E[g]=arguments[g];if(!(u>Wi.WARN))return p.apply(void 0,mt(E))},error:function(){for(var v=arguments.length,E=new Array(v),g=0;g<v;g++)E[g]=arguments[g];if(!(u>Wi.ERROR))return h.apply(void 0,mt(E))},get level(){return u},set level(v){v!==this.level&&(u=v??e)}}},ee=Nf("[mux]"),jo=ot(Yt());function Tl(){var t=jo.default.doNotTrack||jo.default.navigator&&jo.default.navigator.doNotTrack;return t==="1"}function P(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}ra();function Ae(t,e){if(!aa(t,e))throw new TypeError("Cannot call a class as a function")}function Pf(t,e){for(var i=0;i<e.length;i++){var a=e[i];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(t,a.key,a)}}function Gt(t,e,i){return e&&Pf(t.prototype,e),t}function w(t,e,i){return e in t?Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i,t}function Xa(t){return Xa=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},Xa(t)}function Uf(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&(t=Xa(t),t!==null););return t}function Vn(t,e,i){return typeof Reflect<"u"&&Reflect.get?Vn=Reflect.get:Vn=function(a,r,n){var s=Uf(a,r);if(s){var o=Object.getOwnPropertyDescriptor(s,r);return o.get?o.get.call(n||a):o.value}},Vn(t,e,i||t)}function Al(t,e){return Al=Object.setPrototypeOf||function(i,a){return i.__proto__=a,i},Al(t,e)}function $f(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Al(t,e)}function Hf(t,e){if(t==null)return{};var i={},a=Object.keys(t),r,n;for(n=0;n<a.length;n++)r=a[n],!(e.indexOf(r)>=0)&&(i[r]=t[r]);return i}function Bf(t,e){if(t==null)return{};var i=Hf(t,e),a,r;if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);for(r=0;r<n.length;r++)a=n[r],!(e.indexOf(a)>=0)&&Object.prototype.propertyIsEnumerable.call(t,a)&&(i[a]=t[a])}return i}function Wf(){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}}am();function Ff(t,e){return e&&(im(e)==="object"||typeof e=="function")?e:P(t)}function Kf(t){var e=Wf();return function(){var i=Xa(t),a;if(e){var r=Xa(this).constructor;a=Reflect.construct(i,arguments,r)}else a=i.apply(this,arguments);return Ff(this,a)}}var _t=function(t){return sn(t)[0]},sn=function(t){if(typeof t!="string"||t==="")return["localhost"];var e=/^(([^:\/?#]+):)?(\/\/([^\/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?/,i=t.match(e)||[],a=i[4],r;return a&&(r=(a.match(/[^\.]+\.[^\.]+$/)||[])[0]),[a,r]},Zo=ot(Yt()),Vf={exists:function(){var t=Zo.default.performance,e=t&&t.timing;return e!==void 0},domContentLoadedEventEnd:function(){var t=Zo.default.performance,e=t&&t.timing;return e&&e.domContentLoadedEventEnd},navigationStart:function(){var t=Zo.default.performance,e=t&&t.timing;return e&&e.navigationStart}},Js=Vf;function Te(t,e,i){i=i===void 0?1:i,t[e]=t[e]||0,t[e]+=i}function eo(t){for(var e=1;e<arguments.length;e++){var i=arguments[e]!=null?arguments[e]:{},a=Object.keys(i);typeof Object.getOwnPropertySymbols=="function"&&(a=a.concat(Object.getOwnPropertySymbols(i).filter(function(r){return Object.getOwnPropertyDescriptor(i,r).enumerable}))),a.forEach(function(r){w(t,r,i[r])})}return t}function qf(t,e){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(t);i.push.apply(i,a)}return i}function $d(t,e){return e=e??{},Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):qf(Object(e)).forEach(function(i){Object.defineProperty(t,i,Object.getOwnPropertyDescriptor(e,i))}),t}var Yf=["x-cdn","content-type"],hm=["x-request-id","cf-ray","x-amz-cf-id","x-akamai-request-id"],Gf=Yf.concat(hm);function Hd(t){t=t||"";var e={},i=t.trim().split(/[\r\n]+/);return i.forEach(function(a){if(a){var r=a.split(": "),n=r.shift();n&&(Gf.indexOf(n.toLowerCase())>=0||n.toLowerCase().indexOf("x-litix-")===0)&&(e[n]=r.join(": "))}}),e}function to(t){if(t){var e=hm.find(function(i){return t[i]!==void 0});return e?t[e]:void 0}}var Qf=function(t){var e={};for(var i in t){var a=t[i],r=a["DATA-ID"].search("io.litix.data.");if(r!==-1){var n=a["DATA-ID"].replace("io.litix.data.","");e[n]=a.VALUE}}return e},mm=Qf,Sn=function(t){if(!t)return{};var e=Js.navigationStart(),i=t.loading,a=i?i.start:t.trequest,r=i?i.first:t.tfirst,n=i?i.end:t.tload;return{bytesLoaded:t.total,requestStart:Math.round(e+a),responseStart:Math.round(e+r),responseEnd:Math.round(e+n)}},cr=function(t){if(!(!t||typeof t.getAllResponseHeaders!="function"))return Hd(t.getAllResponseHeaders())},zf=function(t,e,i){var a=arguments.length>4?arguments[4]:void 0,r=t.log,n=t.utils.secondsToMs,s=function(g){var y=parseInt(a.version),T;return y===1&&g.programDateTime!==null&&(T=g.programDateTime),y===0&&g.pdt!==null&&(T=g.pdt),T};if(!Js.exists()){r.warn("performance timing not supported. Not tracking HLS.js.");return}var o=function(g,y){return t.emit(e,g,y)},l=function(g,y){var T=y.levels,_=y.audioTracks,S=y.url,C=y.stats,N=y.networkDetails,$=y.sessionData,G={},J={};T.forEach(function(he,Pe){G[Pe]={width:he.width,height:he.height,bitrate:he.bitrate,attrs:he.attrs}}),_.forEach(function(he,Pe){J[Pe]={name:he.name,language:he.lang,bitrate:he.bitrate}});var K=Sn(C),U=K.bytesLoaded,Me=K.requestStart,Fe=K.responseStart,Ke=K.responseEnd;o("requestcompleted",$d(eo({},mm($)),{request_event_type:g,request_bytes_loaded:U,request_start:Me,request_response_start:Fe,request_response_end:Ke,request_type:"manifest",request_hostname:_t(S),request_response_headers:cr(N),request_rendition_lists:{media:G,audio:J,video:{}}}))};i.on(a.Events.MANIFEST_LOADED,l);var d=function(g,y){var T=y.details,_=y.level,S=y.networkDetails,C=y.stats,N=Sn(C),$=N.bytesLoaded,G=N.requestStart,J=N.responseStart,K=N.responseEnd,U=T.fragments[T.fragments.length-1],Me=s(U)+n(U.duration);o("requestcompleted",{request_event_type:g,request_bytes_loaded:$,request_start:G,request_response_start:J,request_response_end:K,request_current_level:_,request_type:"manifest",request_hostname:_t(T.url),request_response_headers:cr(S),video_holdback:T.holdBack&&n(T.holdBack),video_part_holdback:T.partHoldBack&&n(T.partHoldBack),video_part_target_duration:T.partTarget&&n(T.partTarget),video_target_duration:T.targetduration&&n(T.targetduration),video_source_is_live:T.live,player_manifest_newest_program_time:isNaN(Me)?void 0:Me})};i.on(a.Events.LEVEL_LOADED,d);var m=function(g,y){var T=y.details,_=y.networkDetails,S=y.stats,C=Sn(S),N=C.bytesLoaded,$=C.requestStart,G=C.responseStart,J=C.responseEnd;o("requestcompleted",{request_event_type:g,request_bytes_loaded:N,request_start:$,request_response_start:G,request_response_end:J,request_type:"manifest",request_hostname:_t(T.url),request_response_headers:cr(_)})};i.on(a.Events.AUDIO_TRACK_LOADED,m);var p=function(g,y){var T=y.stats,_=y.networkDetails,S=y.frag;T=T||S.stats;var C=Sn(T),N=C.bytesLoaded,$=C.requestStart,G=C.responseStart,J=C.responseEnd,K=_?cr(_):void 0,U={request_event_type:g,request_bytes_loaded:N,request_start:$,request_response_start:G,request_response_end:J,request_hostname:_?_t(_.responseURL):void 0,request_id:K?to(K):void 0,request_response_headers:K,request_media_duration:S.duration,request_url:_?.responseURL};S.type==="main"?(U.request_type="media",U.request_current_level=S.level,U.request_video_width=(i.levels[S.level]||{}).width,U.request_video_height=(i.levels[S.level]||{}).height,U.request_labeled_bitrate=(i.levels[S.level]||{}).bitrate):U.request_type=S.type,o("requestcompleted",U)};i.on(a.Events.FRAG_LOADED,p);var h=function(g,y){var T=y.frag,_=T.start,S=s(T),C={currentFragmentPDT:S,currentFragmentStart:n(_)};o("fragmentchange",C)};i.on(a.Events.FRAG_CHANGED,h);var u=function(g,y){var T=y.type,_=y.details,S=y.response,C=y.fatal,N=y.frag,$=y.networkDetails,G=N?.url||y.url||"",J=$?cr($):void 0;if((_===a.ErrorDetails.MANIFEST_LOAD_ERROR||_===a.ErrorDetails.MANIFEST_LOAD_TIMEOUT||_===a.ErrorDetails.FRAG_LOAD_ERROR||_===a.ErrorDetails.FRAG_LOAD_TIMEOUT||_===a.ErrorDetails.LEVEL_LOAD_ERROR||_===a.ErrorDetails.LEVEL_LOAD_TIMEOUT||_===a.ErrorDetails.AUDIO_TRACK_LOAD_ERROR||_===a.ErrorDetails.AUDIO_TRACK_LOAD_TIMEOUT||_===a.ErrorDetails.SUBTITLE_LOAD_ERROR||_===a.ErrorDetails.SUBTITLE_LOAD_TIMEOUT||_===a.ErrorDetails.KEY_LOAD_ERROR||_===a.ErrorDetails.KEY_LOAD_TIMEOUT)&&o("requestfailed",{request_error:_,request_url:G,request_hostname:_t(G),request_id:J?to(J):void 0,request_type:_===a.ErrorDetails.FRAG_LOAD_ERROR||_===a.ErrorDetails.FRAG_LOAD_TIMEOUT?"media":_===a.ErrorDetails.AUDIO_TRACK_LOAD_ERROR||_===a.ErrorDetails.AUDIO_TRACK_LOAD_TIMEOUT?"audio":_===a.ErrorDetails.SUBTITLE_LOAD_ERROR||_===a.ErrorDetails.SUBTITLE_LOAD_TIMEOUT?"subtitle":_===a.ErrorDetails.KEY_LOAD_ERROR||_===a.ErrorDetails.KEY_LOAD_TIMEOUT?"encryption":"manifest",request_error_code:S?.code,request_error_text:S?.text}),C){var K,U="".concat(G?"url: ".concat(G,`
|
|
4
4
|
`):"")+"".concat(S&&(S.code||S.text)?"response: ".concat(S.code,", ").concat(S.text,`
|
|
@@ -19,7 +19,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
19
19
|
*
|
|
20
20
|
* Copyright 2006, 2015 Klaus Hartl & Fagner Brack
|
|
21
21
|
* Released under the MIT license
|
|
22
|
-
*/var B=hf,te={VIDEO:"video",THUMBNAIL:"thumbnail",STORYBOARD:"storyboard",DRM:"drm"},x={NOT_AN_ERROR:0,NETWORK_OFFLINE:2000002,NETWORK_UNKNOWN_ERROR:2e6,NETWORK_NO_STATUS:2000001,NETWORK_INVALID_URL:24e5,NETWORK_NOT_FOUND:2404e3,NETWORK_NOT_READY:2412e3,NETWORK_GENERIC_SERVER_FAIL:25e5,NETWORK_TOKEN_MISSING:2403201,NETWORK_TOKEN_MALFORMED:2412202,NETWORK_TOKEN_EXPIRED:2403210,NETWORK_TOKEN_AUD_MISSING:2403221,NETWORK_TOKEN_AUD_MISMATCH:2403222,NETWORK_TOKEN_SUB_MISMATCH:2403232,ENCRYPTED_ERROR:5e6,ENCRYPTED_UNSUPPORTED_KEY_SYSTEM:5000001,ENCRYPTED_GENERATE_REQUEST_FAILED:5000002,ENCRYPTED_UPDATE_LICENSE_FAILED:5000003,ENCRYPTED_UPDATE_SERVER_CERT_FAILED:5000004,ENCRYPTED_CDM_ERROR:5000005,ENCRYPTED_OUTPUT_RESTRICTED:5000006,ENCRYPTED_MISSING_TOKEN:5000002},Lo=t=>t===te.VIDEO?"playback":t,ci=class Ar extends Error{constructor(e,i=Ar.MEDIA_ERR_CUSTOM,a,r){var n;super(e),this.name="MediaError",this.code=i,this.context=r,this.fatal=a??(i>=Ar.MEDIA_ERR_NETWORK&&i<=Ar.MEDIA_ERR_ENCRYPTED),this.message||(this.message=(n=Ar.defaultMessages[this.code])!=null?n:"")}};ci.MEDIA_ERR_ABORTED=1,ci.MEDIA_ERR_NETWORK=2,ci.MEDIA_ERR_DECODE=3,ci.MEDIA_ERR_SRC_NOT_SUPPORTED=4,ci.MEDIA_ERR_ENCRYPTED=5,ci.MEDIA_ERR_CUSTOM=100,ci.defaultMessages={1:"You aborted the media playback",2:"A network error caused the media download to fail.",3:"A media error caused playback to be aborted. The media could be corrupt or your browser does not support this format.",4:"An unsupported error occurred. The server or network failed, or your browser does not support this format.",5:"The media is encrypted and there are no keys to decrypt it."};var R=ci,N_=t=>t==null,Fd=(t,e)=>N_(e)?!1:t in e,Sl={ANY:"any",MUTED:"muted"},Q={ON_DEMAND:"on-demand",LIVE:"live",UNKNOWN:"unknown"},Wt={MSE:"mse",NATIVE:"native"},kr={HEADER:"header",QUERY:"query",NONE:"none"},io=Object.values(kr),ti={M3U8:"application/vnd.apple.mpegurl",MP4:"video/mp4"},Ic={HLS:ti.M3U8};[...Object.values(ti)];var MA={upTo720p:"720p",upTo1080p:"1080p",upTo1440p:"1440p",upTo2160p:"2160p"},xA={noLessThan480p:"480p",noLessThan540p:"540p",noLessThan720p:"720p",noLessThan1080p:"1080p",noLessThan1440p:"1440p",noLessThan2160p:"2160p"},OA={DESCENDING:"desc"},P_="en",wl={code:P_},fe=(t,e,i,a,r=t)=>{r.addEventListener(e,i,a),t.addEventListener("teardown",()=>{r.removeEventListener(e,i)},{once:!0})};function U_(t,e,i){e&&i>e&&(i=e);for(let a=0;a<t.length;a++)if(t.start(a)<=i&&t.end(a)>=i)return!0;return!1}var Kd=t=>{let e=t.indexOf("?");if(e<0)return[t];let i=t.slice(0,e),a=t.slice(e);return[i,a]},Do=t=>{let{type:e}=t;if(e){let i=e.toUpperCase();return Fd(i,Ic)?Ic[i]:e}return $_(t)},Am=t=>t==="VOD"?Q.ON_DEMAND:Q.LIVE,km=t=>t==="EVENT"?Number.POSITIVE_INFINITY:t==="VOD"?Number.NaN:0,$_=t=>{let{src:e}=t;if(!e)return"";let i="";try{i=new URL(e).pathname}catch{console.error("invalid url")}let a=i.lastIndexOf(".");if(a<0)return B_(t)?ti.M3U8:"";let r=i.slice(a+1).toUpperCase();return Fd(r,ti)?ti[r]:""},H_="mux.com",B_=({src:t,customDomain:e=H_})=>{let i;try{i=new URL(`${t}`)}catch{return!1}let a=i.protocol==="https:",r=i.hostname===`stream.${e}`.toLowerCase(),n=i.pathname.split("/"),s=n.length===2,o=!(n!=null&&n[1].includes("."));return a&&r&&s&&o},Fa=t=>{let e=(t??"").split(".")[1];if(e)try{let i=e.replace(/-/g,"+").replace(/_/g,"/"),a=decodeURIComponent(atob(i).split("").map(function(r){return"%"+("00"+r.charCodeAt(0).toString(16)).slice(-2)}).join(""));return JSON.parse(a)}catch{return}},W_=({exp:t},e=Date.now())=>!t||t*1e3<e,F_=({sub:t},e)=>t!==e,K_=({aud:t},e)=>!t,V_=({aud:t},e)=>t!==e,Sm="en";function D(t,e=!0){var i,a;let r=e&&(a=(i=wl)==null?void 0:i[t])!=null?a:t,n=e?wl.code:Sm;return new q_(r,n)}var q_=class{constructor(t,e=(i=>(i=wl)!=null?i:Sm)()){this.message=t,this.locale=e}format(t){return this.message.replace(/\{(\w+)\}/g,(e,i)=>{var a;return(a=t[i])!=null?a:""})}toString(){return this.message}},Y_=Object.values(Sl),Rc=t=>typeof t=="boolean"||typeof t=="string"&&Y_.includes(t),G_=(t,e,i)=>{let{autoplay:a}=t,r=!1,n=!1,s=Rc(a)?a:!!a,o=()=>{r||fe(e,"playing",()=>{r=!0},{once:!0})};if(o(),fe(e,"loadstart",()=>{r=!1,o(),il(e,s)},{once:!0}),fe(e,"loadstart",()=>{i||(t.streamType&&t.streamType!==Q.UNKNOWN?n=t.streamType===Q.LIVE:n=!Number.isFinite(e.duration)),il(e,s)},{once:!0}),i&&i.once(B.Events.LEVEL_LOADED,(l,d)=>{var m;t.streamType&&t.streamType!==Q.UNKNOWN?n=t.streamType===Q.LIVE:n=(m=d.details.live)!=null?m:!1}),!s){let l=()=>{!n||Number.isFinite(t.startTime)||(i!=null&&i.liveSyncPosition?e.currentTime=i.liveSyncPosition:Number.isFinite(e.seekable.end(0))&&(e.currentTime=e.seekable.end(0)))};i&&fe(e,"play",()=>{e.preload==="metadata"?i.once(B.Events.LEVEL_UPDATED,l):l()},{once:!0})}return l=>{r||(s=Rc(l)?l:!!l,il(e,s))}},il=(t,e)=>{if(!e)return;let i=t.muted,a=()=>t.muted=i;switch(e){case Sl.ANY:t.play().catch(()=>{t.muted=!0,t.play().catch(a)});break;case Sl.MUTED:t.muted=!0,t.play().catch(a);break;default:t.play().catch(()=>{});break}},Q_=({preload:t,src:e},i,a)=>{let r=p=>{p!=null&&["","none","metadata","auto"].includes(p)?i.setAttribute("preload",p):i.removeAttribute("preload")};if(!a)return r(t),r;let n=!1,s=!1,o=a.config.maxBufferLength,l=a.config.maxBufferSize,d=p=>{r(p);let h=p??i.preload;s||h==="none"||(h==="metadata"?(a.config.maxBufferLength=1,a.config.maxBufferSize=1):(a.config.maxBufferLength=o,a.config.maxBufferSize=l),m())},m=()=>{!n&&e&&(n=!0,a.loadSource(e))};return fe(i,"play",()=>{s=!0,a.config.maxBufferLength=o,a.config.maxBufferSize=l,m()},{once:!0}),d(t),d};function z_(t,e){var i;if(!("videoTracks"in t))return;let a=new WeakMap;e.on(B.Events.MANIFEST_PARSED,function(l,d){o();let m=t.addVideoTrack("main");m.selected=!0;for(let[p,h]of d.levels.entries()){let u=m.addRendition(h.url[0],h.width,h.height,h.videoCodec,h.bitrate);a.set(h,`${p}`),u.id=`${p}`}}),e.on(B.Events.AUDIO_TRACKS_UPDATED,function(l,d){s();for(let m of d.audioTracks){let p=m.default?"main":"alternative",h=t.addAudioTrack(p,m.name,m.lang);h.id=`${m.id}`,m.default&&(h.enabled=!0)}}),t.audioTracks.addEventListener("change",()=>{var l;let d=+((l=[...t.audioTracks].find(p=>p.enabled))==null?void 0:l.id),m=e.audioTracks.map(p=>p.id);d!=e.audioTrack&&m.includes(d)&&(e.audioTrack=d)}),e.on(B.Events.LEVELS_UPDATED,function(l,d){var m;let p=t.videoTracks[(m=t.videoTracks.selectedIndex)!=null?m:0];if(!p)return;let h=d.levels.map(u=>a.get(u));for(let u of t.videoRenditions)u.id&&!h.includes(u.id)&&p.removeRendition(u)});let r=l=>{let d=l.target.selectedIndex;d!=e.nextLevel&&(e.nextLevel=d)};(i=t.videoRenditions)==null||i.addEventListener("change",r);let n=()=>{for(let l of t.videoTracks)t.removeVideoTrack(l)},s=()=>{for(let l of t.audioTracks)t.removeAudioTrack(l)},o=()=>{n(),s()};e.once(B.Events.DESTROYING,o)}var al=t=>"time"in t?t.time:t.startTime;function j_(t,e){e.on(B.Events.NON_NATIVE_TEXT_TRACKS_FOUND,(r,{tracks:n})=>{n.forEach(s=>{var o,l;let d=(o=s.subtitleTrack)!=null?o:s.closedCaptions,m=e.subtitleTracks.findIndex(({lang:h,name:u,type:v})=>h==d?.lang&&u===s.label&&v.toLowerCase()===s.kind),p=((l=s._id)!=null?l:s.default)?"default":`${s.kind}${m}`;Vd(t,s.kind,s.label,d?.lang,p,s.default)})});let i=()=>{if(!e.subtitleTracks.length)return;let r=Array.from(t.textTracks).find(o=>o.id&&o.mode==="showing"&&["subtitles","captions"].includes(o.kind));if(!r)return;let n=e.subtitleTracks[e.subtitleTrack],s=n?n.default?"default":`${e.subtitleTracks[e.subtitleTrack].type.toLowerCase()}${e.subtitleTrack}`:void 0;if(e.subtitleTrack<0||r?.id!==s){let o=e.subtitleTracks.findIndex(({lang:l,name:d,type:m,default:p})=>r.id==="default"&&p||l==r.language&&d===r.label&&m.toLowerCase()===r.kind);e.subtitleTrack=o}r?.id===s&&r.cues&&Array.from(r.cues).forEach(o=>{r.addCue(o)})};t.textTracks.addEventListener("change",i),e.on(B.Events.CUES_PARSED,(r,{track:n,cues:s})=>{let o=t.textTracks.getTrackById(n);if(!o)return;let l=o.mode==="disabled";l&&(o.mode="hidden"),s.forEach(d=>{var m;(m=o.cues)!=null&&m.getCueById(d.id)||o.addCue(d)}),l&&(o.mode="disabled")}),e.once(B.Events.DESTROYING,()=>{t.textTracks.removeEventListener("change",i),t.querySelectorAll("track[data-removeondestroy]").forEach(r=>{r.remove()})});let a=()=>{Array.from(t.textTracks).forEach(r=>{var n,s;if(!["subtitles","caption"].includes(r.kind)&&(r.label==="thumbnails"||r.kind==="chapters")){if(!((n=r.cues)!=null&&n.length)){let o="track";r.kind&&(o+=`[kind="${r.kind}"]`),r.label&&(o+=`[label="${r.label}"]`);let l=t.querySelector(o),d=(s=l?.getAttribute("src"))!=null?s:"";l?.removeAttribute("src"),setTimeout(()=>{l?.setAttribute("src",d)},0)}r.mode!=="hidden"&&(r.mode="hidden")}})};e.once(B.Events.MANIFEST_LOADED,a),e.once(B.Events.MEDIA_ATTACHED,a)}function Vd(t,e,i,a,r,n){let s=document.createElement("track");return s.kind=e,s.label=i,a&&(s.srclang=a),r&&(s.id=r),n&&(s.default=!0),s.track.mode=["subtitles","captions"].includes(e)?"disabled":"hidden",s.setAttribute("data-removeondestroy",""),t.append(s),s.track}function Z_(t,e){let i=Array.prototype.find.call(t.querySelectorAll("track"),a=>a.track===e);i?.remove()}function yn(t,e,i){var a;return(a=Array.from(t.querySelectorAll("track")).find(r=>r.track.label===e&&r.track.kind===i))==null?void 0:a.track}async function wm(t,e,i,a){let r=yn(t,i,a);return r||(r=Vd(t,a,i),r.mode="hidden",await new Promise(n=>setTimeout(()=>n(void 0),0))),r.mode!=="hidden"&&(r.mode="hidden"),[...e].sort((n,s)=>al(s)-al(n)).forEach(n=>{var s,o;let l=n.value,d=al(n);if("endTime"in n&&n.endTime!=null)r?.addCue(new VTTCue(d,n.endTime,a==="chapters"?l:JSON.stringify(l??null)));else{let m=Array.prototype.findIndex.call(r?.cues,v=>v.startTime>=d),p=(s=r?.cues)==null?void 0:s[m],h=p?p.startTime:Number.isFinite(t.duration)?t.duration:Number.MAX_SAFE_INTEGER,u=(o=r?.cues)==null?void 0:o[m-1];u&&(u.endTime=d),r?.addCue(new VTTCue(d,h,a==="chapters"?l:JSON.stringify(l??null)))}}),t.textTracks.dispatchEvent(new Event("change",{bubbles:!0,composed:!0})),r}var qd="cuepoints",Im=Object.freeze({label:qd});async function Rm(t,e,i=Im){return wm(t,e,i.label,"metadata")}var Il=t=>({time:t.startTime,value:JSON.parse(t.text)});function X_(t,e={label:qd}){let i=yn(t,e.label,"metadata");return i!=null&&i.cues?Array.from(i.cues,a=>Il(a)):[]}function Cm(t,e={label:qd}){var i,a;let r=yn(t,e.label,"metadata");if(!((i=r?.activeCues)!=null&&i.length))return;if(r.activeCues.length===1)return Il(r.activeCues[0]);let{currentTime:n}=t,s=Array.prototype.find.call((a=r.activeCues)!=null?a:[],({startTime:o,endTime:l})=>o<=n&&l>n);return Il(s||r.activeCues[0])}async function J_(t,e=Im){return new Promise(i=>{fe(t,"loadstart",async()=>{let a=await Rm(t,[],e);fe(t,"cuechange",()=>{let r=Cm(t);if(r){let n=new CustomEvent("cuepointchange",{composed:!0,bubbles:!0,detail:r});t.dispatchEvent(n)}},{},a),i(a)})})}var Yd="chapters",Lm=Object.freeze({label:Yd}),Rl=t=>({startTime:t.startTime,endTime:t.endTime,value:t.text});async function Dm(t,e,i=Lm){return wm(t,e,i.label,"chapters")}function eb(t,e={label:Yd}){var i;let a=yn(t,e.label,"chapters");return(i=a?.cues)!=null&&i.length?Array.from(a.cues,r=>Rl(r)):[]}function Mm(t,e={label:Yd}){var i,a;let r=yn(t,e.label,"chapters");if(!((i=r?.activeCues)!=null&&i.length))return;if(r.activeCues.length===1)return Rl(r.activeCues[0]);let{currentTime:n}=t,s=Array.prototype.find.call((a=r.activeCues)!=null?a:[],({startTime:o,endTime:l})=>o<=n&&l>n);return Rl(s||r.activeCues[0])}async function tb(t,e=Lm){return new Promise(i=>{fe(t,"loadstart",async()=>{let a=await Dm(t,[],e);fe(t,"cuechange",()=>{let r=Mm(t);if(r){let n=new CustomEvent("chapterchange",{composed:!0,bubbles:!0,detail:r});t.dispatchEvent(n)}},{},a),i(a)})})}function ib(t,e){if(e){let i=e.playingDate;if(i!=null)return new Date(i.getTime()-t.currentTime*1e3)}return typeof t.getStartDate=="function"?t.getStartDate():new Date(NaN)}function ab(t,e){if(e&&e.playingDate)return e.playingDate;if(typeof t.getStartDate=="function"){let i=t.getStartDate();return new Date(i.getTime()+t.currentTime*1e3)}return new Date(NaN)}var Qr={VIDEO:"v",THUMBNAIL:"t",STORYBOARD:"s",DRM:"d"},rb=t=>{if(t===te.VIDEO)return Qr.VIDEO;if(t===te.DRM)return Qr.DRM},nb=(t,e)=>{var i,a;let r=Lo(t),n=`${r}Token`;return(i=e.tokens)!=null&&i[r]?(a=e.tokens)==null?void 0:a[r]:Fd(n,e)?e[n]:void 0},ao=(t,e,i,a,r=!1,n=!(s=>(s=globalThis.navigator)==null?void 0:s.onLine)())=>{var s,o;if(n){let y=D("Your device appears to be offline",r),T,_=R.MEDIA_ERR_NETWORK,S=new R(y,_,!1,T);return S.errorCategory=e,S.muxCode=x.NETWORK_OFFLINE,S.data=t,S}let l="status"in t?t.status:t.code,d=Date.now(),m=R.MEDIA_ERR_NETWORK;if(l===200)return;let p=Lo(e),h=nb(e,i),u=rb(e),[v]=Kd((s=i.playbackId)!=null?s:"");if(!l||!v)return;let E=Fa(h);if(h&&!E){let y=D("The {tokenNamePrefix}-token provided is invalid or malformed.",r).format({tokenNamePrefix:p}),T=D("Compact JWT string: {token}",r).format({token:h}),_=new R(y,m,!0,T);return _.errorCategory=e,_.muxCode=x.NETWORK_TOKEN_MALFORMED,_.data=t,_}if(l>=500){let y=new R("",m,a??!0);return y.errorCategory=e,y.muxCode=x.NETWORK_UNKNOWN_ERROR,y}if(l===403)if(E){if(W_(E,d)){let y={timeStyle:"medium",dateStyle:"medium"},T=D("The video’s secured {tokenNamePrefix}-token has expired.",r).format({tokenNamePrefix:p}),_=D("Expired at: {expiredDate}. Current time: {currentDate}.",r).format({expiredDate:new Intl.DateTimeFormat("en",y).format((o=E.exp)!=null?o:0*1e3),currentDate:new Intl.DateTimeFormat("en",y).format(d)}),S=new R(T,m,!0,_);return S.errorCategory=e,S.muxCode=x.NETWORK_TOKEN_EXPIRED,S.data=t,S}if(F_(E,v)){let y=D("The video’s playback ID does not match the one encoded in the {tokenNamePrefix}-token.",r).format({tokenNamePrefix:p}),T=D("Specified playback ID: {playbackId} and the playback ID encoded in the {tokenNamePrefix}-token: {tokenPlaybackId}",r).format({tokenNamePrefix:p,playbackId:v,tokenPlaybackId:E.sub}),_=new R(y,m,!0,T);return _.errorCategory=e,_.muxCode=x.NETWORK_TOKEN_SUB_MISMATCH,_.data=t,_}if(K_(E)){let y=D("The {tokenNamePrefix}-token is formatted with incorrect information.",r).format({tokenNamePrefix:p}),T=D("The {tokenNamePrefix}-token has no aud value. aud value should be {expectedAud}.",r).format({tokenNamePrefix:p,expectedAud:u}),_=new R(y,m,!0,T);return _.errorCategory=e,_.muxCode=x.NETWORK_TOKEN_AUD_MISSING,_.data=t,_}if(V_(E,u)){let y=D("The {tokenNamePrefix}-token is formatted with incorrect information.",r).format({tokenNamePrefix:p}),T=D("The {tokenNamePrefix}-token has an incorrect aud value: {aud}. aud value should be {expectedAud}.",r).format({tokenNamePrefix:p,expectedAud:u,aud:E.aud}),_=new R(y,m,!0,T);return _.errorCategory=e,_.muxCode=x.NETWORK_TOKEN_AUD_MISMATCH,_.data=t,_}}else{let y=D("Authorization error trying to access this {category} URL. If this is a signed URL, you might need to provide a {tokenNamePrefix}-token.",r).format({tokenNamePrefix:p,category:e}),T=D("Specified playback ID: {playbackId}",r).format({playbackId:v}),_=new R(y,m,a??!0,T);return _.errorCategory=e,_.muxCode=x.NETWORK_TOKEN_MISSING,_.data=t,_}if(l===412){let y=D("This playback-id may belong to a live stream that is not currently active or an asset that is not ready.",r),T=D("Specified playback ID: {playbackId}",r).format({playbackId:v}),_=new R(y,m,a??!0,T);return _.errorCategory=e,_.muxCode=x.NETWORK_NOT_READY,_.streamType=i.streamType===Q.LIVE?"live":i.streamType===Q.ON_DEMAND?"on-demand":"unknown",_.data=t,_}if(l===404){let y=D("This URL or playback-id does not exist. You may have used an Asset ID or an ID from a different resource.",r),T=D("Specified playback ID: {playbackId}",r).format({playbackId:v}),_=new R(y,m,a??!0,T);return _.errorCategory=e,_.muxCode=x.NETWORK_NOT_FOUND,_.data=t,_}if(l===400){let y=D("The URL or playback-id was invalid. You may have used an invalid value as a playback-id."),T=D("Specified playback ID: {playbackId}",r).format({playbackId:v}),_=new R(y,m,a??!0,T);return _.errorCategory=e,_.muxCode=x.NETWORK_INVALID_URL,_.data=t,_}let g=new R("",m,a??!0);return g.errorCategory=e,g.muxCode=x.NETWORK_UNKNOWN_ERROR,g.data=t,g},Cc=B.DefaultConfig.capLevelController,sb={"720p":921600,"1080p":2073600,"1440p":4194304,"2160p":8294400};function ob(t){let e=t.toLowerCase().trim();return sb[e]}var Cl=class Sr extends Cc{constructor(e){super(e)}static setMaxAutoResolution(e,i){i?Sr.maxAutoResolution.set(e,i):Sr.maxAutoResolution.delete(e)}getMaxAutoResolution(){var e;let i=this.hls;return(e=Sr.maxAutoResolution.get(i))!=null?e:void 0}get levels(){var e;return(e=this.hls.levels)!=null?e:[]}getValidLevels(e){return this.levels.filter((i,a)=>this.isLevelAllowed(i)&&a<=e)}getMaxLevelCapped(e){let i=this.getValidLevels(e),a=this.getMaxAutoResolution();if(!a)return super.getMaxLevel(e);let r=ob(a);if(!r)return super.getMaxLevel(e);let n=i.filter(l=>l.width*l.height<=r),s=n.findIndex(l=>l.width*l.height===r);if(s!==-1){let l=n[s];return i.findIndex(d=>d===l)}if(n.length===0)return 0;let o=n[n.length-1];return i.findIndex(l=>l===o)}getMaxLevel(e){if(this.getMaxAutoResolution()!==void 0)return this.getMaxLevelCapped(e);let i=super.getMaxLevel(e),a=this.getValidLevels(e);if(!a[i])return i;let r=Math.min(a[i].width,a[i].height),n=Sr.minMaxResolution;return r>=n?i:Cc.getMaxLevelByMediaSize(a,n*(16/9),n)}};Cl.minMaxResolution=720,Cl.maxAutoResolution=new WeakMap;var lb=Cl,rl=lb,qn={FAIRPLAY:"fairplay",PLAYREADY:"playready",WIDEVINE:"widevine"},db=t=>{if(t.includes("fps"))return qn.FAIRPLAY;if(t.includes("playready"))return qn.PLAYREADY;if(t.includes("widevine"))return qn.WIDEVINE},ub=t=>{let e=t.split(`
|
|
22
|
+
*/var B=hf,te={VIDEO:"video",THUMBNAIL:"thumbnail",STORYBOARD:"storyboard",DRM:"drm"},x={NOT_AN_ERROR:0,NETWORK_OFFLINE:2000002,NETWORK_UNKNOWN_ERROR:2e6,NETWORK_NO_STATUS:2000001,NETWORK_INVALID_URL:24e5,NETWORK_NOT_FOUND:2404e3,NETWORK_NOT_READY:2412e3,NETWORK_GENERIC_SERVER_FAIL:25e5,NETWORK_TOKEN_MISSING:2403201,NETWORK_TOKEN_MALFORMED:2412202,NETWORK_TOKEN_EXPIRED:2403210,NETWORK_TOKEN_AUD_MISSING:2403221,NETWORK_TOKEN_AUD_MISMATCH:2403222,NETWORK_TOKEN_SUB_MISMATCH:2403232,ENCRYPTED_ERROR:5e6,ENCRYPTED_UNSUPPORTED_KEY_SYSTEM:5000001,ENCRYPTED_GENERATE_REQUEST_FAILED:5000002,ENCRYPTED_UPDATE_LICENSE_FAILED:5000003,ENCRYPTED_UPDATE_SERVER_CERT_FAILED:5000004,ENCRYPTED_CDM_ERROR:5000005,ENCRYPTED_OUTPUT_RESTRICTED:5000006,ENCRYPTED_MISSING_TOKEN:5000002},Lo=t=>t===te.VIDEO?"playback":t,ci=class Ar extends Error{constructor(e,i=Ar.MEDIA_ERR_CUSTOM,a,r){var n;super(e),this.name="MediaError",this.code=i,this.context=r,this.fatal=a??(i>=Ar.MEDIA_ERR_NETWORK&&i<=Ar.MEDIA_ERR_ENCRYPTED),this.message||(this.message=(n=Ar.defaultMessages[this.code])!=null?n:"")}};ci.MEDIA_ERR_ABORTED=1,ci.MEDIA_ERR_NETWORK=2,ci.MEDIA_ERR_DECODE=3,ci.MEDIA_ERR_SRC_NOT_SUPPORTED=4,ci.MEDIA_ERR_ENCRYPTED=5,ci.MEDIA_ERR_CUSTOM=100,ci.defaultMessages={1:"You aborted the media playback",2:"A network error caused the media download to fail.",3:"A media error caused playback to be aborted. The media could be corrupt or your browser does not support this format.",4:"An unsupported error occurred. The server or network failed, or your browser does not support this format.",5:"The media is encrypted and there are no keys to decrypt it."};var R=ci,N_=t=>t==null,Fd=(t,e)=>N_(e)?!1:t in e,Sl={ANY:"any",MUTED:"muted"},Q={ON_DEMAND:"on-demand",LIVE:"live",UNKNOWN:"unknown"},Wt={MSE:"mse",NATIVE:"native"},kr={HEADER:"header",QUERY:"query",NONE:"none"},io=Object.values(kr),ti={M3U8:"application/vnd.apple.mpegurl",MP4:"video/mp4"},Ic={HLS:ti.M3U8};[...Object.values(ti)];var DA={upTo720p:"720p",upTo1080p:"1080p",upTo1440p:"1440p",upTo2160p:"2160p"},MA={noLessThan480p:"480p",noLessThan540p:"540p",noLessThan720p:"720p",noLessThan1080p:"1080p",noLessThan1440p:"1440p",noLessThan2160p:"2160p"},xA={DESCENDING:"desc"},P_="en",wl={code:P_},fe=(t,e,i,a,r=t)=>{r.addEventListener(e,i,a),t.addEventListener("teardown",()=>{r.removeEventListener(e,i)},{once:!0})};function U_(t,e,i){e&&i>e&&(i=e);for(let a=0;a<t.length;a++)if(t.start(a)<=i&&t.end(a)>=i)return!0;return!1}var Kd=t=>{let e=t.indexOf("?");if(e<0)return[t];let i=t.slice(0,e),a=t.slice(e);return[i,a]},Do=t=>{let{type:e}=t;if(e){let i=e.toUpperCase();return Fd(i,Ic)?Ic[i]:e}return $_(t)},Am=t=>t==="VOD"?Q.ON_DEMAND:Q.LIVE,km=t=>t==="EVENT"?Number.POSITIVE_INFINITY:t==="VOD"?Number.NaN:0,$_=t=>{let{src:e}=t;if(!e)return"";let i="";try{i=new URL(e).pathname}catch{console.error("invalid url")}let a=i.lastIndexOf(".");if(a<0)return B_(t)?ti.M3U8:"";let r=i.slice(a+1).toUpperCase();return Fd(r,ti)?ti[r]:""},H_="mux.com",B_=({src:t,customDomain:e=H_})=>{let i;try{i=new URL(`${t}`)}catch{return!1}let a=i.protocol==="https:",r=i.hostname===`stream.${e}`.toLowerCase(),n=i.pathname.split("/"),s=n.length===2,o=!(n!=null&&n[1].includes("."));return a&&r&&s&&o},Fa=t=>{let e=(t??"").split(".")[1];if(e)try{let i=e.replace(/-/g,"+").replace(/_/g,"/"),a=decodeURIComponent(atob(i).split("").map(function(r){return"%"+("00"+r.charCodeAt(0).toString(16)).slice(-2)}).join(""));return JSON.parse(a)}catch{return}},W_=({exp:t},e=Date.now())=>!t||t*1e3<e,F_=({sub:t},e)=>t!==e,K_=({aud:t},e)=>!t,V_=({aud:t},e)=>t!==e,Sm="en";function D(t,e=!0){var i,a;let r=e&&(a=(i=wl)==null?void 0:i[t])!=null?a:t,n=e?wl.code:Sm;return new q_(r,n)}var q_=class{constructor(t,e=(i=>(i=wl)!=null?i:Sm)()){this.message=t,this.locale=e}format(t){return this.message.replace(/\{(\w+)\}/g,(e,i)=>{var a;return(a=t[i])!=null?a:""})}toString(){return this.message}},Y_=Object.values(Sl),Rc=t=>typeof t=="boolean"||typeof t=="string"&&Y_.includes(t),G_=(t,e,i)=>{let{autoplay:a}=t,r=!1,n=!1,s=Rc(a)?a:!!a,o=()=>{r||fe(e,"playing",()=>{r=!0},{once:!0})};if(o(),fe(e,"loadstart",()=>{r=!1,o(),il(e,s)},{once:!0}),fe(e,"loadstart",()=>{i||(t.streamType&&t.streamType!==Q.UNKNOWN?n=t.streamType===Q.LIVE:n=!Number.isFinite(e.duration)),il(e,s)},{once:!0}),i&&i.once(B.Events.LEVEL_LOADED,(l,d)=>{var m;t.streamType&&t.streamType!==Q.UNKNOWN?n=t.streamType===Q.LIVE:n=(m=d.details.live)!=null?m:!1}),!s){let l=()=>{!n||Number.isFinite(t.startTime)||(i!=null&&i.liveSyncPosition?e.currentTime=i.liveSyncPosition:Number.isFinite(e.seekable.end(0))&&(e.currentTime=e.seekable.end(0)))};i&&fe(e,"play",()=>{e.preload==="metadata"?i.once(B.Events.LEVEL_UPDATED,l):l()},{once:!0})}return l=>{r||(s=Rc(l)?l:!!l,il(e,s))}},il=(t,e)=>{if(!e)return;let i=t.muted,a=()=>t.muted=i;switch(e){case Sl.ANY:t.play().catch(()=>{t.muted=!0,t.play().catch(a)});break;case Sl.MUTED:t.muted=!0,t.play().catch(a);break;default:t.play().catch(()=>{});break}},Q_=({preload:t,src:e},i,a)=>{let r=p=>{p!=null&&["","none","metadata","auto"].includes(p)?i.setAttribute("preload",p):i.removeAttribute("preload")};if(!a)return r(t),r;let n=!1,s=!1,o=a.config.maxBufferLength,l=a.config.maxBufferSize,d=p=>{r(p);let h=p??i.preload;s||h==="none"||(h==="metadata"?(a.config.maxBufferLength=1,a.config.maxBufferSize=1):(a.config.maxBufferLength=o,a.config.maxBufferSize=l),m())},m=()=>{!n&&e&&(n=!0,a.loadSource(e))};return fe(i,"play",()=>{s=!0,a.config.maxBufferLength=o,a.config.maxBufferSize=l,m()},{once:!0}),d(t),d};function z_(t,e){var i;if(!("videoTracks"in t))return;let a=new WeakMap;e.on(B.Events.MANIFEST_PARSED,function(l,d){o();let m=t.addVideoTrack("main");m.selected=!0;for(let[p,h]of d.levels.entries()){let u=m.addRendition(h.url[0],h.width,h.height,h.videoCodec,h.bitrate);a.set(h,`${p}`),u.id=`${p}`}}),e.on(B.Events.AUDIO_TRACKS_UPDATED,function(l,d){s();for(let m of d.audioTracks){let p=m.default?"main":"alternative",h=t.addAudioTrack(p,m.name,m.lang);h.id=`${m.id}`,m.default&&(h.enabled=!0)}}),t.audioTracks.addEventListener("change",()=>{var l;let d=+((l=[...t.audioTracks].find(p=>p.enabled))==null?void 0:l.id),m=e.audioTracks.map(p=>p.id);d!=e.audioTrack&&m.includes(d)&&(e.audioTrack=d)}),e.on(B.Events.LEVELS_UPDATED,function(l,d){var m;let p=t.videoTracks[(m=t.videoTracks.selectedIndex)!=null?m:0];if(!p)return;let h=d.levels.map(u=>a.get(u));for(let u of t.videoRenditions)u.id&&!h.includes(u.id)&&p.removeRendition(u)});let r=l=>{let d=l.target.selectedIndex;d!=e.nextLevel&&(e.nextLevel=d)};(i=t.videoRenditions)==null||i.addEventListener("change",r);let n=()=>{for(let l of t.videoTracks)t.removeVideoTrack(l)},s=()=>{for(let l of t.audioTracks)t.removeAudioTrack(l)},o=()=>{n(),s()};e.once(B.Events.DESTROYING,o)}var al=t=>"time"in t?t.time:t.startTime;function j_(t,e){e.on(B.Events.NON_NATIVE_TEXT_TRACKS_FOUND,(r,{tracks:n})=>{n.forEach(s=>{var o,l;let d=(o=s.subtitleTrack)!=null?o:s.closedCaptions,m=e.subtitleTracks.findIndex(({lang:h,name:u,type:v})=>h==d?.lang&&u===s.label&&v.toLowerCase()===s.kind),p=((l=s._id)!=null?l:s.default)?"default":`${s.kind}${m}`;Vd(t,s.kind,s.label,d?.lang,p,s.default)})});let i=()=>{if(!e.subtitleTracks.length)return;let r=Array.from(t.textTracks).find(o=>o.id&&o.mode==="showing"&&["subtitles","captions"].includes(o.kind));if(!r)return;let n=e.subtitleTracks[e.subtitleTrack],s=n?n.default?"default":`${e.subtitleTracks[e.subtitleTrack].type.toLowerCase()}${e.subtitleTrack}`:void 0;if(e.subtitleTrack<0||r?.id!==s){let o=e.subtitleTracks.findIndex(({lang:l,name:d,type:m,default:p})=>r.id==="default"&&p||l==r.language&&d===r.label&&m.toLowerCase()===r.kind);e.subtitleTrack=o}r?.id===s&&r.cues&&Array.from(r.cues).forEach(o=>{r.addCue(o)})};t.textTracks.addEventListener("change",i),e.on(B.Events.CUES_PARSED,(r,{track:n,cues:s})=>{let o=t.textTracks.getTrackById(n);if(!o)return;let l=o.mode==="disabled";l&&(o.mode="hidden"),s.forEach(d=>{var m;(m=o.cues)!=null&&m.getCueById(d.id)||o.addCue(d)}),l&&(o.mode="disabled")}),e.once(B.Events.DESTROYING,()=>{t.textTracks.removeEventListener("change",i),t.querySelectorAll("track[data-removeondestroy]").forEach(r=>{r.remove()})});let a=()=>{Array.from(t.textTracks).forEach(r=>{var n,s;if(!["subtitles","caption"].includes(r.kind)&&(r.label==="thumbnails"||r.kind==="chapters")){if(!((n=r.cues)!=null&&n.length)){let o="track";r.kind&&(o+=`[kind="${r.kind}"]`),r.label&&(o+=`[label="${r.label}"]`);let l=t.querySelector(o),d=(s=l?.getAttribute("src"))!=null?s:"";l?.removeAttribute("src"),setTimeout(()=>{l?.setAttribute("src",d)},0)}r.mode!=="hidden"&&(r.mode="hidden")}})};e.once(B.Events.MANIFEST_LOADED,a),e.once(B.Events.MEDIA_ATTACHED,a)}function Vd(t,e,i,a,r,n){let s=document.createElement("track");return s.kind=e,s.label=i,a&&(s.srclang=a),r&&(s.id=r),n&&(s.default=!0),s.track.mode=["subtitles","captions"].includes(e)?"disabled":"hidden",s.setAttribute("data-removeondestroy",""),t.append(s),s.track}function Z_(t,e){let i=Array.prototype.find.call(t.querySelectorAll("track"),a=>a.track===e);i?.remove()}function yn(t,e,i){var a;return(a=Array.from(t.querySelectorAll("track")).find(r=>r.track.label===e&&r.track.kind===i))==null?void 0:a.track}async function wm(t,e,i,a){let r=yn(t,i,a);return r||(r=Vd(t,a,i),r.mode="hidden",await new Promise(n=>setTimeout(()=>n(void 0),0))),r.mode!=="hidden"&&(r.mode="hidden"),[...e].sort((n,s)=>al(s)-al(n)).forEach(n=>{var s,o;let l=n.value,d=al(n);if("endTime"in n&&n.endTime!=null)r?.addCue(new VTTCue(d,n.endTime,a==="chapters"?l:JSON.stringify(l??null)));else{let m=Array.prototype.findIndex.call(r?.cues,v=>v.startTime>=d),p=(s=r?.cues)==null?void 0:s[m],h=p?p.startTime:Number.isFinite(t.duration)?t.duration:Number.MAX_SAFE_INTEGER,u=(o=r?.cues)==null?void 0:o[m-1];u&&(u.endTime=d),r?.addCue(new VTTCue(d,h,a==="chapters"?l:JSON.stringify(l??null)))}}),t.textTracks.dispatchEvent(new Event("change",{bubbles:!0,composed:!0})),r}var qd="cuepoints",Im=Object.freeze({label:qd});async function Rm(t,e,i=Im){return wm(t,e,i.label,"metadata")}var Il=t=>({time:t.startTime,value:JSON.parse(t.text)});function X_(t,e={label:qd}){let i=yn(t,e.label,"metadata");return i!=null&&i.cues?Array.from(i.cues,a=>Il(a)):[]}function Cm(t,e={label:qd}){var i,a;let r=yn(t,e.label,"metadata");if(!((i=r?.activeCues)!=null&&i.length))return;if(r.activeCues.length===1)return Il(r.activeCues[0]);let{currentTime:n}=t,s=Array.prototype.find.call((a=r.activeCues)!=null?a:[],({startTime:o,endTime:l})=>o<=n&&l>n);return Il(s||r.activeCues[0])}async function J_(t,e=Im){return new Promise(i=>{fe(t,"loadstart",async()=>{let a=await Rm(t,[],e);fe(t,"cuechange",()=>{let r=Cm(t);if(r){let n=new CustomEvent("cuepointchange",{composed:!0,bubbles:!0,detail:r});t.dispatchEvent(n)}},{},a),i(a)})})}var Yd="chapters",Lm=Object.freeze({label:Yd}),Rl=t=>({startTime:t.startTime,endTime:t.endTime,value:t.text});async function Dm(t,e,i=Lm){return wm(t,e,i.label,"chapters")}function eb(t,e={label:Yd}){var i;let a=yn(t,e.label,"chapters");return(i=a?.cues)!=null&&i.length?Array.from(a.cues,r=>Rl(r)):[]}function Mm(t,e={label:Yd}){var i,a;let r=yn(t,e.label,"chapters");if(!((i=r?.activeCues)!=null&&i.length))return;if(r.activeCues.length===1)return Rl(r.activeCues[0]);let{currentTime:n}=t,s=Array.prototype.find.call((a=r.activeCues)!=null?a:[],({startTime:o,endTime:l})=>o<=n&&l>n);return Rl(s||r.activeCues[0])}async function tb(t,e=Lm){return new Promise(i=>{fe(t,"loadstart",async()=>{let a=await Dm(t,[],e);fe(t,"cuechange",()=>{let r=Mm(t);if(r){let n=new CustomEvent("chapterchange",{composed:!0,bubbles:!0,detail:r});t.dispatchEvent(n)}},{},a),i(a)})})}function ib(t,e){if(e){let i=e.playingDate;if(i!=null)return new Date(i.getTime()-t.currentTime*1e3)}return typeof t.getStartDate=="function"?t.getStartDate():new Date(NaN)}function ab(t,e){if(e&&e.playingDate)return e.playingDate;if(typeof t.getStartDate=="function"){let i=t.getStartDate();return new Date(i.getTime()+t.currentTime*1e3)}return new Date(NaN)}var Qr={VIDEO:"v",THUMBNAIL:"t",STORYBOARD:"s",DRM:"d"},rb=t=>{if(t===te.VIDEO)return Qr.VIDEO;if(t===te.DRM)return Qr.DRM},nb=(t,e)=>{var i,a;let r=Lo(t),n=`${r}Token`;return(i=e.tokens)!=null&&i[r]?(a=e.tokens)==null?void 0:a[r]:Fd(n,e)?e[n]:void 0},ao=(t,e,i,a,r=!1,n=!(s=>(s=globalThis.navigator)==null?void 0:s.onLine)())=>{var s,o;if(n){let y=D("Your device appears to be offline",r),T,_=R.MEDIA_ERR_NETWORK,S=new R(y,_,!1,T);return S.errorCategory=e,S.muxCode=x.NETWORK_OFFLINE,S.data=t,S}let l="status"in t?t.status:t.code,d=Date.now(),m=R.MEDIA_ERR_NETWORK;if(l===200)return;let p=Lo(e),h=nb(e,i),u=rb(e),[v]=Kd((s=i.playbackId)!=null?s:"");if(!l||!v)return;let E=Fa(h);if(h&&!E){let y=D("The {tokenNamePrefix}-token provided is invalid or malformed.",r).format({tokenNamePrefix:p}),T=D("Compact JWT string: {token}",r).format({token:h}),_=new R(y,m,!0,T);return _.errorCategory=e,_.muxCode=x.NETWORK_TOKEN_MALFORMED,_.data=t,_}if(l>=500){let y=new R("",m,a??!0);return y.errorCategory=e,y.muxCode=x.NETWORK_UNKNOWN_ERROR,y}if(l===403)if(E){if(W_(E,d)){let y={timeStyle:"medium",dateStyle:"medium"},T=D("The video’s secured {tokenNamePrefix}-token has expired.",r).format({tokenNamePrefix:p}),_=D("Expired at: {expiredDate}. Current time: {currentDate}.",r).format({expiredDate:new Intl.DateTimeFormat("en",y).format((o=E.exp)!=null?o:0*1e3),currentDate:new Intl.DateTimeFormat("en",y).format(d)}),S=new R(T,m,!0,_);return S.errorCategory=e,S.muxCode=x.NETWORK_TOKEN_EXPIRED,S.data=t,S}if(F_(E,v)){let y=D("The video’s playback ID does not match the one encoded in the {tokenNamePrefix}-token.",r).format({tokenNamePrefix:p}),T=D("Specified playback ID: {playbackId} and the playback ID encoded in the {tokenNamePrefix}-token: {tokenPlaybackId}",r).format({tokenNamePrefix:p,playbackId:v,tokenPlaybackId:E.sub}),_=new R(y,m,!0,T);return _.errorCategory=e,_.muxCode=x.NETWORK_TOKEN_SUB_MISMATCH,_.data=t,_}if(K_(E)){let y=D("The {tokenNamePrefix}-token is formatted with incorrect information.",r).format({tokenNamePrefix:p}),T=D("The {tokenNamePrefix}-token has no aud value. aud value should be {expectedAud}.",r).format({tokenNamePrefix:p,expectedAud:u}),_=new R(y,m,!0,T);return _.errorCategory=e,_.muxCode=x.NETWORK_TOKEN_AUD_MISSING,_.data=t,_}if(V_(E,u)){let y=D("The {tokenNamePrefix}-token is formatted with incorrect information.",r).format({tokenNamePrefix:p}),T=D("The {tokenNamePrefix}-token has an incorrect aud value: {aud}. aud value should be {expectedAud}.",r).format({tokenNamePrefix:p,expectedAud:u,aud:E.aud}),_=new R(y,m,!0,T);return _.errorCategory=e,_.muxCode=x.NETWORK_TOKEN_AUD_MISMATCH,_.data=t,_}}else{let y=D("Authorization error trying to access this {category} URL. If this is a signed URL, you might need to provide a {tokenNamePrefix}-token.",r).format({tokenNamePrefix:p,category:e}),T=D("Specified playback ID: {playbackId}",r).format({playbackId:v}),_=new R(y,m,a??!0,T);return _.errorCategory=e,_.muxCode=x.NETWORK_TOKEN_MISSING,_.data=t,_}if(l===412){let y=D("This playback-id may belong to a live stream that is not currently active or an asset that is not ready.",r),T=D("Specified playback ID: {playbackId}",r).format({playbackId:v}),_=new R(y,m,a??!0,T);return _.errorCategory=e,_.muxCode=x.NETWORK_NOT_READY,_.streamType=i.streamType===Q.LIVE?"live":i.streamType===Q.ON_DEMAND?"on-demand":"unknown",_.data=t,_}if(l===404){let y=D("This URL or playback-id does not exist. You may have used an Asset ID or an ID from a different resource.",r),T=D("Specified playback ID: {playbackId}",r).format({playbackId:v}),_=new R(y,m,a??!0,T);return _.errorCategory=e,_.muxCode=x.NETWORK_NOT_FOUND,_.data=t,_}if(l===400){let y=D("The URL or playback-id was invalid. You may have used an invalid value as a playback-id."),T=D("Specified playback ID: {playbackId}",r).format({playbackId:v}),_=new R(y,m,a??!0,T);return _.errorCategory=e,_.muxCode=x.NETWORK_INVALID_URL,_.data=t,_}let g=new R("",m,a??!0);return g.errorCategory=e,g.muxCode=x.NETWORK_UNKNOWN_ERROR,g.data=t,g},Cc=B.DefaultConfig.capLevelController,sb={"720p":921600,"1080p":2073600,"1440p":4194304,"2160p":8294400};function ob(t){let e=t.toLowerCase().trim();return sb[e]}var Cl=class Sr extends Cc{constructor(e){super(e)}static setMaxAutoResolution(e,i){i?Sr.maxAutoResolution.set(e,i):Sr.maxAutoResolution.delete(e)}getMaxAutoResolution(){var e;let i=this.hls;return(e=Sr.maxAutoResolution.get(i))!=null?e:void 0}get levels(){var e;return(e=this.hls.levels)!=null?e:[]}getValidLevels(e){return this.levels.filter((i,a)=>this.isLevelAllowed(i)&&a<=e)}getMaxLevelCapped(e){let i=this.getValidLevels(e),a=this.getMaxAutoResolution();if(!a)return super.getMaxLevel(e);let r=ob(a);if(!r)return super.getMaxLevel(e);let n=i.filter(l=>l.width*l.height<=r),s=n.findIndex(l=>l.width*l.height===r);if(s!==-1){let l=n[s];return i.findIndex(d=>d===l)}if(n.length===0)return 0;let o=n[n.length-1];return i.findIndex(l=>l===o)}getMaxLevel(e){if(this.getMaxAutoResolution()!==void 0)return this.getMaxLevelCapped(e);let i=super.getMaxLevel(e),a=this.getValidLevels(e);if(!a[i])return i;let r=Math.min(a[i].width,a[i].height),n=Sr.minMaxResolution;return r>=n?i:Cc.getMaxLevelByMediaSize(a,n*(16/9),n)}};Cl.minMaxResolution=720,Cl.maxAutoResolution=new WeakMap;var lb=Cl,rl=lb,qn={FAIRPLAY:"fairplay",PLAYREADY:"playready",WIDEVINE:"widevine"},db=t=>{if(t.includes("fps"))return qn.FAIRPLAY;if(t.includes("playready"))return qn.PLAYREADY;if(t.includes("widevine"))return qn.WIDEVINE},ub=t=>{let e=t.split(`
|
|
23
23
|
`).find((i,a,r)=>a&&r[a-1].startsWith("#EXT-X-STREAM-INF"));return fetch(e).then(i=>i.status!==200?Promise.reject(i):i.text())},cb=t=>{let e=t.split(`
|
|
24
24
|
`).filter(a=>a.startsWith("#EXT-X-SESSION-DATA"));if(!e.length)return{};let i={};for(let a of e){let r=mb(a),n=r["DATA-ID"];n&&(i[n]={...r})}return{sessionData:i}},hb=/([A-Z0-9-]+)="?(.*?)"?(?:,|$)/g;function mb(t){let e=[...t.matchAll(hb)];return Object.fromEntries(e.map(([,i,a])=>[i,a]))}var pb=t=>{var e,i,a;let r=t.split(`
|
|
25
25
|
`),n=(i=((e=r.find(d=>d.startsWith("#EXT-X-PLAYLIST-TYPE")))!=null?e:"").split(":")[1])==null?void 0:i.trim(),s=Am(n),o=km(n),l;if(s===Q.LIVE){let d=r.find(m=>m.startsWith("#EXT-X-PART-INF"));if(d)l=+d.split(":")[1].split("=")[1]*2;else{let m=r.find(h=>h.startsWith("#EXT-X-TARGETDURATION")),p=(a=m?.split(":"))==null?void 0:a[1];l=+(p??6)*3}}return{streamType:s,targetLiveWindow:o,liveEdgeStartOffset:l}},vb=async(t,e)=>{if(e===ti.MP4)return{streamType:Q.ON_DEMAND,targetLiveWindow:Number.NaN,liveEdgeStartOffset:void 0,sessionData:void 0};if(e===ti.M3U8){let i=await fetch(t);if(!i.ok)return Promise.reject(i);let a=await i.text(),r=await ub(a);return{...cb(a),...pb(r)}}return console.error(`Media type ${e} is an unrecognized or unsupported type for src ${t}.`),{streamType:void 0,targetLiveWindow:void 0,liveEdgeStartOffset:void 0,sessionData:void 0}},fb=async(t,e,i=Do({src:t}))=>{var a,r,n,s;let{streamType:o,targetLiveWindow:l,liveEdgeStartOffset:d,sessionData:m}=await vb(t,i),p=m?.["com.apple.hls.chapters"];(p!=null&&p.URI||p!=null&&p.VALUE.toLocaleLowerCase().startsWith("http"))&&Gd((a=p.URI)!=null?a:p.VALUE,e),((r=de.get(e))!=null?r:{}).liveEdgeStartOffset=d,((n=de.get(e))!=null?n:{}).targetLiveWindow=l,e.dispatchEvent(new CustomEvent("targetlivewindowchange",{composed:!0,bubbles:!0})),((s=de.get(e))!=null?s:{}).streamType=o,e.dispatchEvent(new CustomEvent("streamtypechange",{composed:!0,bubbles:!0}))},Gd=async(t,e)=>{var i,a;try{let r=await fetch(t);if(!r.ok)throw new Error(`Failed to fetch Mux metadata: ${r.status} ${r.statusText}`);let n=await r.json(),s={};if(!((i=n?.[0])!=null&&i.metadata))return;for(let l of n[0].metadata)l.key&&l.value&&(s[l.key]=l.value);((a=de.get(e))!=null?a:{}).metadata=s;let o=new CustomEvent("muxmetadata");e.dispatchEvent(o)}catch(r){console.error(r)}},Eb=t=>{var e;let i=t.type,a=Am(i),r=km(i),n,s=!!((e=t.partList)!=null&&e.length);return a===Q.LIVE&&(n=s?t.partTarget*2:t.targetduration*3),{streamType:a,targetLiveWindow:r,liveEdgeStartOffset:n,lowLatency:s}},_b=(t,e,i)=>{var a,r,n,s,o,l,d,m;let{streamType:p,targetLiveWindow:h,liveEdgeStartOffset:u,lowLatency:v}=Eb(t);if(p===Q.LIVE){v?(i.config.backBufferLength=(a=i.userConfig.backBufferLength)!=null?a:4,i.config.maxFragLookUpTolerance=(r=i.userConfig.maxFragLookUpTolerance)!=null?r:.001,i.config.abrBandWidthUpFactor=(n=i.userConfig.abrBandWidthUpFactor)!=null?n:i.config.abrBandWidthFactor):i.config.backBufferLength=(s=i.userConfig.backBufferLength)!=null?s:8;let E=Object.freeze({get length(){return e.seekable.length},start(g){return e.seekable.start(g)},end(g){var y;return g>this.length||g<0||Number.isFinite(e.duration)?e.seekable.end(g):(y=i.liveSyncPosition)!=null?y:e.seekable.end(g)}});((o=de.get(e))!=null?o:{}).seekable=E}((l=de.get(e))!=null?l:{}).liveEdgeStartOffset=u,((d=de.get(e))!=null?d:{}).targetLiveWindow=h,e.dispatchEvent(new CustomEvent("targetlivewindowchange",{composed:!0,bubbles:!0})),((m=de.get(e))!=null?m:{}).streamType=p,e.dispatchEvent(new CustomEvent("streamtypechange",{composed:!0,bubbles:!0}))},Lc,Dc,xm=(Dc=(Lc=globalThis?.navigator)==null?void 0:Lc.userAgent)!=null?Dc:"",Mc,xc,Oc,bb=(Oc=(xc=(Mc=globalThis?.navigator)==null?void 0:Mc.userAgentData)==null?void 0:xc.platform)!=null?Oc:"",gb=xm.toLowerCase().includes("android")||["x11","android"].some(t=>bb.toLowerCase().includes(t)),yb=t=>/^((?!chrome|android).)*safari/i.test(xm)&&!!t.canPlayType("application/vnd.apple.mpegurl"),de=new WeakMap,ii="mux.com",Nc,Pc,Om=(Pc=(Nc=B).isSupported)==null?void 0:Pc.call(Nc),Tb=t=>gb||!yb(t),Qd=()=>{if(typeof window<"u")return Wd.utils.now()},Ab=Wd.utils.generateUUID,Ll=({playbackId:t,customDomain:e=ii,maxResolution:i,minResolution:a,renditionOrder:r,programStartTime:n,programEndTime:s,assetStartTime:o,assetEndTime:l,playbackToken:d,tokens:{playback:m=d}={},extraSourceParams:p={}}={})=>{if(!t)return;let[h,u=""]=Kd(t),v=new URL(`https://stream.${e}/${h}.m3u8${u}`);return m||v.searchParams.has("token")?(v.searchParams.forEach((E,g)=>{g!="token"&&v.searchParams.delete(g)}),m&&v.searchParams.set("token",m)):(i&&v.searchParams.set("max_resolution",i),a&&(v.searchParams.set("min_resolution",a),i&&+i.slice(0,-1)<+a.slice(0,-1)&&console.error("minResolution must be <= maxResolution","minResolution",a,"maxResolution",i)),r&&v.searchParams.set("rendition_order",r),n&&v.searchParams.set("program_start_time",`${n}`),s&&v.searchParams.set("program_end_time",`${s}`),o&&v.searchParams.set("asset_start_time",`${o}`),l&&v.searchParams.set("asset_end_time",`${l}`),Object.entries(p).forEach(([E,g])=>{g!=null&&v.searchParams.set(E,g)})),v.toString()},Mo=t=>{if(!t)return;let[e]=t.split("?");return e||void 0},zd=t=>{if(!t||!t.startsWith("https://stream."))return;let[e]=new URL(t).pathname.slice(1).split(/\.m3u8|\//);return e||void 0},kb=t=>{var e,i,a;return(e=t?.metadata)!=null&&e.video_id?t.metadata.video_id:Fm(t)&&(a=(i=Mo(t.playbackId))!=null?i:zd(t.src))!=null?a:t.src},Nm=t=>{var e;return(e=de.get(t))==null?void 0:e.error},Sb=t=>{var e;return(e=de.get(t))==null?void 0:e.metadata},Dl=t=>{var e,i;return(i=(e=de.get(t))==null?void 0:e.streamType)!=null?i:Q.UNKNOWN},wb=t=>{var e,i;return(i=(e=de.get(t))==null?void 0:e.targetLiveWindow)!=null?i:Number.NaN},jd=t=>{var e,i;return(i=(e=de.get(t))==null?void 0:e.seekable)!=null?i:t.seekable},Ib=t=>{var e;let i=(e=de.get(t))==null?void 0:e.liveEdgeStartOffset;if(typeof i!="number")return Number.NaN;let a=jd(t);return a.length?a.end(a.length-1)-i:Number.NaN},Zd=.034,Rb=(t,e,i=Zd)=>Math.abs(t-e)<=i,Pm=(t,e,i=Zd)=>t>e||Rb(t,e,i),Cb=(t,e=Zd)=>t.paused&&Pm(t.currentTime,t.duration,e),Um=(t,e)=>{var i,a,r;if(!e||!t.buffered.length)return;if(t.readyState>2)return!1;let n=e.currentLevel>=0?(a=(i=e.levels)==null?void 0:i[e.currentLevel])==null?void 0:a.details:(r=e.levels.find(p=>!!p.details))==null?void 0:r.details;if(!n||n.live)return;let{fragments:s}=n;if(!(s!=null&&s.length))return;if(t.currentTime<t.duration-(n.targetduration+.5))return!1;let o=s[s.length-1];if(t.currentTime<=o.start)return!1;let l=o.start+o.duration/2,d=t.buffered.start(t.buffered.length-1),m=t.buffered.end(t.buffered.length-1);return l>d&&l<m},$m=(t,e)=>t.ended||t.loop?t.ended:e&&Um(t,e)?!0:Cb(t),Lb=(t,e,i)=>{Hm(e,i,t);let{metadata:a={}}=t,{view_session_id:r=Ab()}=a,n=kb(t);a.view_session_id=r,a.video_id=n,t.metadata=a;let s=m=>{var p;(p=e.mux)==null||p.emit("hb",{view_drm_type:m})};t.drmTypeCb=s,de.set(e,{retryCount:0});let o=Db(t,e),l=Q_(t,e,o);t!=null&&t.muxDataKeepSession&&e!=null&&e.mux&&!e.mux.deleted?o&&e.mux.addHLSJS({hlsjs:o,Hls:o?B:void 0}):Ub(t,e,o),$b(t,e,o),J_(e),tb(e);let d=G_(t,e,o);return{engine:o,setAutoplay:d,setPreload:l}},Hm=(t,e,i)=>{let a=e?.engine;t!=null&&t.mux&&!t.mux.deleted&&(i!=null&&i.muxDataKeepSession?a&&t.mux.removeHLSJS():(t.mux.destroy(),delete t.mux)),a&&(a.detachMedia(),a.destroy()),t&&(t.hasAttribute("src")&&(t.removeAttribute("src"),t.load()),t.removeEventListener("error",Vm),t.removeEventListener("error",Ml),t.removeEventListener("durationchange",Km),de.delete(t),t.dispatchEvent(new Event("teardown")))};function Bm(t,e){var i;let a=Do(t);if(a!==ti.M3U8)return!0;let r=!a||((i=e.canPlayType(a))!=null?i:!0),{preferPlayback:n}=t,s=n===Wt.MSE,o=n===Wt.NATIVE,l=Om&&(s||Tb(e));return r&&(o||!l)}var Db=(t,e)=>{let{debug:i,streamType:a,startTime:r=-1,metadata:n,preferCmcd:s,_hlsConfig:o={},maxAutoResolution:l}=t,d=Do(t)===ti.M3U8,m=Bm(t,e);if(d&&!m&&Om){let p={backBufferLength:30,renderTextTracksNatively:!1,liveDurationInfinity:!0,capLevelToPlayerSize:!0,capLevelOnFPSDrop:!0},h=Mb(a),u=xb(t),v=[kr.QUERY,kr.HEADER].includes(s)?{useHeaders:s===kr.HEADER,sessionId:n?.view_session_id,contentId:n?.video_id}:void 0,E=o.capLevelToPlayerSize==null?{capLevelController:rl}:{},g=new B({debug:i,startPosition:r,cmcd:v,xhrSetup:(y,T)=>{var _,S;if(s&&s!==kr.QUERY)return;let C=new URL(T);if(!C.searchParams.has("CMCD"))return;let N=((S=(_=C.searchParams.get("CMCD"))==null?void 0:_.split(","))!=null?S:[]).filter($=>$.startsWith("sid")||$.startsWith("cid")).join(",");C.searchParams.set("CMCD",N),y.open("GET",C)},...E,...p,...h,...u,...o});return E.capLevelController===rl&&l!==void 0&&rl.setMaxAutoResolution(g,l),g.on(B.Events.MANIFEST_PARSED,async function(y,T){var _,S;let C=(_=T.sessionData)==null?void 0:_["com.apple.hls.chapters"];(C!=null&&C.URI||C!=null&&C.VALUE.toLocaleLowerCase().startsWith("http"))&&Gd((S=C?.URI)!=null?S:C?.VALUE,e)}),g}},Mb=t=>t===Q.LIVE?{backBufferLength:8}:{},xb=t=>{let{tokens:{drm:e}={},playbackId:i,drmTypeCb:a}=t,r=Mo(i);return!e||!r?{}:{emeEnabled:!0,drmSystems:{"com.apple.fps":{licenseUrl:Yn(t,"fairplay"),serverCertificateUrl:Wm(t,"fairplay")},"com.widevine.alpha":{licenseUrl:Yn(t,"widevine")},"com.microsoft.playready":{licenseUrl:Yn(t,"playready")}},requestMediaKeySystemAccessFunc:(n,s)=>(n==="com.widevine.alpha"&&(s=[...s.map(o=>{var l;let d=(l=o.videoCapabilities)==null?void 0:l.map(m=>({...m,robustness:"HW_SECURE_ALL"}));return{...o,videoCapabilities:d}}),...s]),navigator.requestMediaKeySystemAccess(n,s).then(o=>{let l=db(n);return a?.(l),o}))}},Ob=async t=>{let e=await fetch(t);return e.status!==200?Promise.reject(e):await e.arrayBuffer()},Nb=async(t,e)=>{let i=await fetch(e,{method:"POST",headers:{"Content-type":"application/octet-stream"},body:t});if(i.status!==200)return Promise.reject(i);let a=await i.arrayBuffer();return new Uint8Array(a)},Pb=(t,e)=>{let i=async n=>{let s=await navigator.requestMediaKeySystemAccess("com.apple.fps",[{initDataTypes:[n],videoCapabilities:[{contentType:"application/vnd.apple.mpegurl",robustness:""}],distinctiveIdentifier:"not-allowed",persistentState:"not-allowed",sessionTypes:["temporary"]}]).then(l=>{var d;return(d=t.drmTypeCb)==null||d.call(t,qn.FAIRPLAY),l}).catch(()=>{let l=D("Cannot play DRM-protected content with current security configuration on this browser. Try playing in another browser."),d=new R(l,R.MEDIA_ERR_ENCRYPTED,!0);d.errorCategory=te.DRM,d.muxCode=x.ENCRYPTED_UNSUPPORTED_KEY_SYSTEM,Ze(e,d)});if(!s)return;let o=await s.createMediaKeys();try{let l=await Ob(Wm(t,"fairplay")).catch(d=>{if(d instanceof Response){let m=ao(d,te.DRM,t);return console.error("mediaError",m?.message,m?.context),m?Promise.reject(m):Promise.reject(new Error("Unexpected error in app cert request"))}return Promise.reject(d)});await o.setServerCertificate(l).catch(()=>{let d=D("Your server certificate failed when attempting to set it. This may be an issue with a no longer valid certificate."),m=new R(d,R.MEDIA_ERR_ENCRYPTED,!0);return m.errorCategory=te.DRM,m.muxCode=x.ENCRYPTED_UPDATE_SERVER_CERT_FAILED,Promise.reject(m)})}catch(l){Ze(e,l);return}await e.setMediaKeys(o)},a=n=>{let s;if(n==="internal-error"){let o=D("The DRM Content Decryption Module system had an internal failure. Try reloading the page, upading your browser, or playing in another browser.");s=new R(o,R.MEDIA_ERR_ENCRYPTED,!0),s.errorCategory=te.DRM,s.muxCode=x.ENCRYPTED_CDM_ERROR}else if(n==="output-restricted"||n==="output-downscaled"){let o=D("DRM playback is being attempted in an environment that is not sufficiently secure. User may see black screen.");s=new R(o,R.MEDIA_ERR_ENCRYPTED,!1),s.errorCategory=te.DRM,s.muxCode=x.ENCRYPTED_OUTPUT_RESTRICTED}s&&Ze(e,s)},r=async(n,s)=>{let o=e.mediaKeys.createSession(),l=()=>{o.keyStatuses.forEach(m=>a(m))},d=async m=>{let p=m.message;try{let h=await Nb(p,Yn(t,"fairplay"));try{await o.update(h)}catch{let u=D("Failed to update DRM license. This may be an issue with the player or your protected content."),v=new R(u,R.MEDIA_ERR_ENCRYPTED,!0);v.errorCategory=te.DRM,v.muxCode=x.ENCRYPTED_UPDATE_LICENSE_FAILED,Ze(e,v)}}catch(h){if(h instanceof Response){let u=ao(h,te.DRM,t);if(console.error("mediaError",u?.message,u?.context),u){Ze(e,u);return}console.error("Unexpected error in license key request",h);return}console.error(h)}};o.addEventListener("keystatuseschange",l),o.addEventListener("message",d),e.addEventListener("teardown",()=>{o.removeEventListener("keystatuseschange",l),o.removeEventListener("message",d),o.close()},{once:!0}),await o.generateRequest(n,s).catch(m=>{console.error("Failed to generate license request",m);let p=D("Failed to generate a DRM license request. This may be an issue with the player or your protected content."),h=new R(p,R.MEDIA_ERR_ENCRYPTED,!0);return h.errorCategory=te.DRM,h.muxCode=x.ENCRYPTED_GENERATE_REQUEST_FAILED,Promise.reject(h)})};fe(e,"encrypted",async n=>{try{let s=n.initDataType;if(s!=="skd"){console.error(`Received unexpected initialization data type "${s}"`);return}e.mediaKeys||await i(s);let o=n.initData;if(o==null){console.error(`Could not start encrypted playback due to missing initData in ${n.type} event`);return}await r(s,o)}catch(s){Ze(e,s);return}})},Yn=({playbackId:t,tokens:{drm:e}={},customDomain:i=ii},a)=>{let r=Mo(t);return`https://license.${i.toLocaleLowerCase().endsWith(ii)?i:ii}/license/${a}/${r}?token=${e}`},Wm=({playbackId:t,tokens:{drm:e}={},customDomain:i=ii},a)=>{let r=Mo(t);return`https://license.${i.toLocaleLowerCase().endsWith(ii)?i:ii}/appcert/${a}/${r}?token=${e}`},Fm=({playbackId:t,src:e,customDomain:i})=>{if(t)return!0;if(typeof e!="string")return!1;let a=window?.location.href,r=new URL(e,a).hostname.toLocaleLowerCase();return r.includes(ii)||!!i&&r.includes(i.toLocaleLowerCase())},Ub=(t,e,i)=>{var a;let{envKey:r,disableTracking:n,muxDataSDK:s=Wd,muxDataSDKOptions:o={}}=t,l=Fm(t);if(!n&&(r||l)){let{playerInitTime:d,playerSoftwareName:m,playerSoftwareVersion:p,beaconCollectionDomain:h,debug:u,disableCookies:v}=t,E={...t.metadata,video_title:((a=t?.metadata)==null?void 0:a.video_title)||void 0},g=y=>typeof y.player_error_code=="string"?!1:typeof t.errorTranslator=="function"?t.errorTranslator(y):y;s.monitor(e,{debug:u,beaconCollectionDomain:h,hlsjs:i,Hls:i?B:void 0,automaticErrorTracking:!1,errorTranslator:g,disableCookies:v,...o,data:{...r?{env_key:r}:{},player_software_name:m,player_software:m,player_software_version:p,player_init_time:d,...E}})}},$b=(t,e,i)=>{var a,r;let n=Bm(t,e),{src:s,customDomain:o=ii}=t,l=()=>{e.ended||t.disablePseudoEnded||!$m(e,i)||(Um(e,i)?e.currentTime=e.buffered.end(e.buffered.length-1):e.dispatchEvent(new Event("ended")))},d,m,p=()=>{let h=jd(e),u,v;h.length>0&&(u=h.start(0),v=h.end(0)),(m!==v||d!==u)&&e.dispatchEvent(new CustomEvent("seekablechange",{composed:!0})),d=u,m=v};if(fe(e,"durationchange",p),e&&n){let h=Do(t);if(typeof s=="string"){if(s.endsWith(".mp4")&&s.includes(o)){let E=zd(s),g=new URL(`https://stream.${o}/${E}/metadata.json`);Gd(g.toString(),e)}let u=()=>{if(Dl(e)!==Q.LIVE||Number.isFinite(e.duration))return;let E=setInterval(p,1e3);e.addEventListener("teardown",()=>{clearInterval(E)},{once:!0}),fe(e,"durationchange",()=>{Number.isFinite(e.duration)&&clearInterval(E)})},v=async()=>fb(s,e,h).then(u).catch(E=>{if(E instanceof Response){let g=ao(E,te.VIDEO,t);if(g){Ze(e,g);return}}});if(e.preload==="none"){let E=()=>{v(),e.removeEventListener("loadedmetadata",g)},g=()=>{v(),e.removeEventListener("play",E)};fe(e,"play",E,{once:!0}),fe(e,"loadedmetadata",g,{once:!0})}else v();(a=t.tokens)!=null&&a.drm?Pb(t,e):fe(e,"encrypted",()=>{let E=D("Attempting to play DRM-protected content without providing a DRM token."),g=new R(E,R.MEDIA_ERR_ENCRYPTED,!0);g.errorCategory=te.DRM,g.muxCode=x.ENCRYPTED_MISSING_TOKEN,Ze(e,g)},{once:!0}),e.setAttribute("src",s),t.startTime&&(((r=de.get(e))!=null?r:{}).startTime=t.startTime,e.addEventListener("durationchange",Km,{once:!0}))}else e.removeAttribute("src");e.addEventListener("error",Vm),e.addEventListener("error",Ml),e.addEventListener("emptied",()=>{e.querySelectorAll("track[data-removeondestroy]").forEach(u=>{u.remove()})},{once:!0}),fe(e,"pause",l),fe(e,"seeked",l),fe(e,"play",()=>{e.ended||Pm(e.currentTime,e.duration)&&(e.currentTime=e.seekable.length?e.seekable.start(0):0)})}else i&&s?(i.once(B.Events.LEVEL_LOADED,(h,u)=>{_b(u.details,e,i),p(),Dl(e)===Q.LIVE&&!Number.isFinite(e.duration)&&(i.on(B.Events.LEVEL_UPDATED,p),fe(e,"durationchange",()=>{Number.isFinite(e.duration)&&i.off(B.Events.LEVELS_UPDATED,p)}))}),i.on(B.Events.ERROR,(h,u)=>{var v,E;let g=Hb(u,t);if(g.muxCode===x.NETWORK_NOT_READY){let y=(v=de.get(e))!=null?v:{},T=(E=y.retryCount)!=null?E:0;if(T<6){let _=T===0?5e3:6e4,S=new R(`Retrying in ${_/1e3} seconds...`,g.code,g.fatal);Object.assign(S,g),Ze(e,S),setTimeout(()=>{y.retryCount=T+1,u.details==="manifestLoadError"&&u.url&&i.loadSource(u.url)},_);return}else{y.retryCount=0;let _=new R('Try again later or <a href="#" onclick="window.location.reload(); return false;" style="color: #4a90e2;">click here to retry</a>',g.code,g.fatal);Object.assign(_,g),Ze(e,_);return}}Ze(e,g)}),i.on(B.Events.MANIFEST_LOADED,()=>{let h=de.get(e);h&&h.error&&(h.error=null,h.retryCount=0,e.dispatchEvent(new Event("emptied")),e.dispatchEvent(new Event("loadstart")))}),e.addEventListener("error",Ml),fe(e,"waiting",l),z_(t,i),j_(e,i),i.attachMedia(e)):console.error("It looks like the video you're trying to play will not work on this system! If possible, try upgrading to the newest versions of your browser or software.")};function Km(t){var e;let i=t.target,a=(e=de.get(i))==null?void 0:e.startTime;if(a&&U_(i.seekable,i.duration,a)){let r=i.preload==="auto";r&&(i.preload="none"),i.currentTime=a,r&&(i.preload="auto")}}async function Vm(t){if(!t.isTrusted)return;t.stopImmediatePropagation();let e=t.target;if(!(e!=null&&e.error))return;let{message:i,code:a}=e.error,r=new R(i,a);if(e.src&&a===R.MEDIA_ERR_SRC_NOT_SUPPORTED&&e.readyState===HTMLMediaElement.HAVE_NOTHING){setTimeout(()=>{var n;let s=(n=Nm(e))!=null?n:e.error;s?.code===R.MEDIA_ERR_SRC_NOT_SUPPORTED&&Ze(e,r)},500);return}if(e.src&&(a!==R.MEDIA_ERR_DECODE||a!==void 0))try{let{status:n}=await fetch(e.src);r.data={response:{code:n}}}catch{}Ze(e,r)}function Ze(t,e){var i;e.fatal&&(((i=de.get(t))!=null?i:{}).error=e,t.dispatchEvent(new CustomEvent("error",{detail:e})))}function Ml(t){var e,i;if(!(t instanceof CustomEvent)||!(t.detail instanceof R))return;let a=t.target,r=t.detail;!r||!r.fatal||(((e=de.get(a))!=null?e:{}).error=r,(i=a.mux)==null||i.emit("error",{player_error_code:r.code,player_error_message:r.message,player_error_context:r.context}))}var Hb=(t,e)=>{var i,a,r;t.fatal?console.error("getErrorFromHlsErrorData()",t):e.debug&&console.warn("getErrorFromHlsErrorData() (non-fatal)",t);let n={[B.ErrorTypes.NETWORK_ERROR]:R.MEDIA_ERR_NETWORK,[B.ErrorTypes.MEDIA_ERROR]:R.MEDIA_ERR_DECODE,[B.ErrorTypes.KEY_SYSTEM_ERROR]:R.MEDIA_ERR_ENCRYPTED},s=m=>[B.ErrorDetails.KEY_SYSTEM_LICENSE_REQUEST_FAILED,B.ErrorDetails.KEY_SYSTEM_SERVER_CERTIFICATE_REQUEST_FAILED].includes(m.details)?R.MEDIA_ERR_NETWORK:n[m.type],o=m=>{if(m.type===B.ErrorTypes.KEY_SYSTEM_ERROR)return te.DRM;if(m.type===B.ErrorTypes.NETWORK_ERROR)return te.VIDEO},l,d=s(t);if(d===R.MEDIA_ERR_NETWORK&&t.response){let m=(i=o(t))!=null?i:te.VIDEO;l=(a=ao(t.response,m,e,t.fatal))!=null?a:new R("",d,t.fatal)}else if(d===R.MEDIA_ERR_ENCRYPTED)if(t.details===B.ErrorDetails.KEY_SYSTEM_NO_CONFIGURED_LICENSE){let m=D("Attempting to play DRM-protected content without providing a DRM token.");l=new R(m,R.MEDIA_ERR_ENCRYPTED,t.fatal),l.errorCategory=te.DRM,l.muxCode=x.ENCRYPTED_MISSING_TOKEN}else if(t.details===B.ErrorDetails.KEY_SYSTEM_NO_ACCESS){let m=D("Cannot play DRM-protected content with current security configuration on this browser. Try playing in another browser.");l=new R(m,R.MEDIA_ERR_ENCRYPTED,t.fatal),l.errorCategory=te.DRM,l.muxCode=x.ENCRYPTED_UNSUPPORTED_KEY_SYSTEM}else if(t.details===B.ErrorDetails.KEY_SYSTEM_NO_SESSION){let m=D("Failed to generate a DRM license request. This may be an issue with the player or your protected content.");l=new R(m,R.MEDIA_ERR_ENCRYPTED,!0),l.errorCategory=te.DRM,l.muxCode=x.ENCRYPTED_GENERATE_REQUEST_FAILED}else if(t.details===B.ErrorDetails.KEY_SYSTEM_SESSION_UPDATE_FAILED){let m=D("Failed to update DRM license. This may be an issue with the player or your protected content.");l=new R(m,R.MEDIA_ERR_ENCRYPTED,t.fatal),l.errorCategory=te.DRM,l.muxCode=x.ENCRYPTED_UPDATE_LICENSE_FAILED}else if(t.details===B.ErrorDetails.KEY_SYSTEM_SERVER_CERTIFICATE_UPDATE_FAILED){let m=D("Your server certificate failed when attempting to set it. This may be an issue with a no longer valid certificate.");l=new R(m,R.MEDIA_ERR_ENCRYPTED,t.fatal),l.errorCategory=te.DRM,l.muxCode=x.ENCRYPTED_UPDATE_SERVER_CERT_FAILED}else if(t.details===B.ErrorDetails.KEY_SYSTEM_STATUS_INTERNAL_ERROR){let m=D("The DRM Content Decryption Module system had an internal failure. Try reloading the page, upading your browser, or playing in another browser.");l=new R(m,R.MEDIA_ERR_ENCRYPTED,t.fatal),l.errorCategory=te.DRM,l.muxCode=x.ENCRYPTED_CDM_ERROR}else if(t.details===B.ErrorDetails.KEY_SYSTEM_STATUS_OUTPUT_RESTRICTED){let m=D("DRM playback is being attempted in an environment that is not sufficiently secure. User may see black screen.");l=new R(m,R.MEDIA_ERR_ENCRYPTED,!1),l.errorCategory=te.DRM,l.muxCode=x.ENCRYPTED_OUTPUT_RESTRICTED}else l=new R(t.error.message,R.MEDIA_ERR_ENCRYPTED,t.fatal),l.errorCategory=te.DRM,l.muxCode=x.ENCRYPTED_ERROR;else l=new R("",d,t.fatal);return l.context||(l.context=`${t.url?`url: ${t.url}
|
|
@@ -3307,4 +3307,4 @@ media-poster-image:not([src]):not([placeholdersrc]) {
|
|
|
3307
3307
|
>`:""}
|
|
3308
3308
|
</p>`:""}
|
|
3309
3309
|
`}return zT(t)};function jT(t){var e,i;let a=t.theme;if(a){let r=(i=(e=t.getRootNode())==null?void 0:e.getElementById)==null?void 0:i.call(e,a);if(r&&r instanceof HTMLTemplateElement)return r;a.startsWith("media-theme-")||(a=`media-theme-${a}`);let n=Bt.customElements.get(a);if(n!=null&&n.template)return n.template}}function ZT(t){var e;let i=(e=t.mediaController)==null?void 0:e.querySelector("media-time-display");return i&&getComputedStyle(i).getPropertyValue("--media-duration-display-display").trim()==="none"}function Kh(t){let e=t.videoTitle?{video_title:t.videoTitle}:{};return t.getAttributeNames().filter(i=>i.startsWith("metadata-")).reduce((i,a)=>{let r=t.getAttribute(a);return r!==null&&(i[a.replace(/^metadata-/,"").replace(/-/g,"_")]=r),i},e)}var XT=Object.values(b),JT=Object.values(Zt),eA=Object.values(A),Vh=Gv(),qh="mux-player",Yh={isDialogOpen:!1},tA={redundant_streams:!0},Qs,zs,js,Hi,Zs,ja,le,_i,ef,Ud,Bi,Gh,Qh,zh,jh,iA=class extends Uh{constructor(){super(),Et(this,le),Et(this,Qs),Et(this,zs,!1),Et(this,js,{}),Et(this,Hi,!0),Et(this,Zs,new bT(this,"hotkeys")),Et(this,ja,{...Yh,onCloseErrorDialog:t=>{var e;((e=t.composedPath()[0])==null?void 0:e.localName)==="media-error-dialog"&&Ee(this,le,Ud).call(this,{isDialogOpen:!1})},onFocusInErrorDialog:t=>{var e;((e=t.composedPath()[0])==null?void 0:e.localName)==="media-error-dialog"&&(qv(this,Ro.activeElement)||t.preventDefault())}}),qt(this,Qs,Qd()),this.attachShadow({mode:"open"}),Ee(this,le,ef).call(this),this.isConnected&&Ee(this,le,_i).call(this)}static get NAME(){return qh}static get VERSION(){return Vh}static get observedAttributes(){var t;return[...(t=Uh.observedAttributes)!=null?t:[],...JT,...XT,...eA]}get mediaTheme(){var t;return(t=this.shadowRoot)==null?void 0:t.querySelector("media-theme")}get mediaController(){var t,e;return(e=(t=this.mediaTheme)==null?void 0:t.shadowRoot)==null?void 0:e.querySelector("media-controller")}connectedCallback(){let t=this.media;t&&(t.metadata=Kh(this))}attributeChangedCallback(t,e,i){switch(Ee(this,le,_i).call(this),super.attributeChangedCallback(t,e,i),t){case A.HOTKEYS:z(this,Zs).value=i;break;case A.THUMBNAIL_TIME:{i!=null&&this.tokens.thumbnail&&Jt(D("Use of thumbnail-time with thumbnail-token is currently unsupported. Ignore thumbnail-time.").toString());break}case A.THUMBNAIL_TOKEN:{if(i){let a=Fa(i);if(a){let{aud:r}=a,n=Qr.THUMBNAIL;r!==n&&Jt(D("The {tokenNamePrefix}-token has an incorrect aud value: {aud}. aud value should be {expectedAud}.").format({aud:r,expectedAud:n,tokenNamePrefix:"thumbnail"}))}}break}case A.STORYBOARD_TOKEN:{if(i){let a=Fa(i);if(a){let{aud:r}=a,n=Qr.STORYBOARD;r!==n&&Jt(D("The {tokenNamePrefix}-token has an incorrect aud value: {aud}. aud value should be {expectedAud}.").format({aud:r,expectedAud:n,tokenNamePrefix:"storyboard"}))}}break}case A.DRM_TOKEN:{if(i){let a=Fa(i);if(a){let{aud:r}=a,n=Qr.DRM;r!==n&&Jt(D("The {tokenNamePrefix}-token has an incorrect aud value: {aud}. aud value should be {expectedAud}.").format({aud:r,expectedAud:n,tokenNamePrefix:"drm"}))}}break}case b.PLAYBACK_ID:{i!=null&&i.includes("?token")&&nt(D("The specificed playback ID {playbackId} contains a token which must be provided via the playback-token attribute.").format({playbackId:i}));break}case b.STREAM_TYPE:{i&&![Q.LIVE,Q.ON_DEMAND,Q.UNKNOWN].includes(i)?["ll-live","live:dvr","ll-live:dvr"].includes(this.streamType)?this.targetLiveWindow=i.includes("dvr")?Number.POSITIVE_INFINITY:0:zv({file:"invalid-stream-type.md",message:D("Invalid stream-type value supplied: `{streamType}`. Please provide stream-type as either: `on-demand` or `live`").format({streamType:this.streamType})}):i===Q.LIVE?this.getAttribute(A.TARGET_LIVE_WINDOW)==null&&(this.targetLiveWindow=0):this.targetLiveWindow=Number.NaN;break}case A.FULLSCREEN_ELEMENT:{if(i!=null||i!==e){let a=Ro.getElementById(i),r=a?.querySelector("mux-player");this.mediaController&&a&&r&&(this.mediaController.fullscreenElement=a)}break}}[b.PLAYBACK_ID,Zt.SRC,A.PLAYBACK_TOKEN].includes(t)&&e!==i&&qt(this,ja,{...z(this,ja),...Yh}),Ee(this,le,Bi).call(this,{[_T(t)]:i})}async requestFullscreen(t){var e;if(!(!this.mediaController||this.mediaController.hasAttribute(c.MEDIA_IS_FULLSCREEN)))return(e=this.mediaController)==null||e.dispatchEvent(new Bt.CustomEvent(I.MEDIA_ENTER_FULLSCREEN_REQUEST,{composed:!0,bubbles:!0})),new Promise((i,a)=>{var r;(r=this.mediaController)==null||r.addEventListener(ri.MEDIA_IS_FULLSCREEN,()=>i(),{once:!0})})}async exitFullscreen(){var t;if(!(!this.mediaController||!this.mediaController.hasAttribute(c.MEDIA_IS_FULLSCREEN)))return(t=this.mediaController)==null||t.dispatchEvent(new Bt.CustomEvent(I.MEDIA_EXIT_FULLSCREEN_REQUEST,{composed:!0,bubbles:!0})),new Promise((e,i)=>{var a;(a=this.mediaController)==null||a.addEventListener(ri.MEDIA_IS_FULLSCREEN,()=>e(),{once:!0})})}get preferCmcd(){var t;return(t=this.getAttribute(b.PREFER_CMCD))!=null?t:void 0}set preferCmcd(t){t!==this.preferCmcd&&(t?io.includes(t)?this.setAttribute(b.PREFER_CMCD,t):Jt(`Invalid value for preferCmcd. Must be one of ${io.join()}`):this.removeAttribute(b.PREFER_CMCD))}get hasPlayed(){var t,e;return(e=(t=this.mediaController)==null?void 0:t.hasAttribute(c.MEDIA_HAS_PLAYED))!=null?e:!1}get inLiveWindow(){var t;return(t=this.mediaController)==null?void 0:t.hasAttribute(c.MEDIA_TIME_IS_LIVE)}get _hls(){var t;return(t=this.media)==null?void 0:t._hls}get mux(){var t;return(t=this.media)==null?void 0:t.mux}get theme(){var t;return(t=this.getAttribute(A.THEME))!=null?t:GT}set theme(t){this.setAttribute(A.THEME,`${t}`)}get themeProps(){let t=this.mediaTheme;if(!t)return;let e={};for(let i of t.getAttributeNames()){if(Pd.includes(i))continue;let a=t.getAttribute(i);e[Kv(i)]=a===""?!0:a}return e}set themeProps(t){var e,i;Ee(this,le,_i).call(this);let a={...this.themeProps,...t};for(let r in a){if(Pd.includes(r))continue;let n=t?.[r];typeof n=="boolean"||n==null?(e=this.mediaTheme)==null||e.toggleAttribute(Od(r),!!n):(i=this.mediaTheme)==null||i.setAttribute(Od(r),n)}}get playbackId(){var t;return(t=this.getAttribute(b.PLAYBACK_ID))!=null?t:void 0}set playbackId(t){t?this.setAttribute(b.PLAYBACK_ID,t):this.removeAttribute(b.PLAYBACK_ID)}get src(){var t,e;return this.playbackId?(t=Di(this,Zt.SRC))!=null?t:void 0:(e=this.getAttribute(Zt.SRC))!=null?e:void 0}set src(t){t?this.setAttribute(Zt.SRC,t):this.removeAttribute(Zt.SRC)}get poster(){var t;let e=this.getAttribute(Zt.POSTER);if(e!=null)return e;let{tokens:i}=this;if(i.playback&&!i.thumbnail){Jt("Missing expected thumbnail token. No poster image will be shown");return}if(this.playbackId&&!this.audio)return vT(this.playbackId,{customDomain:this.customDomain,thumbnailTime:(t=this.thumbnailTime)!=null?t:this.startTime,programTime:this.programStartTime,token:i.thumbnail})}set poster(t){t||t===""?this.setAttribute(Zt.POSTER,t):this.removeAttribute(Zt.POSTER)}get storyboardSrc(){var t;return(t=this.getAttribute(A.STORYBOARD_SRC))!=null?t:void 0}set storyboardSrc(t){t?this.setAttribute(A.STORYBOARD_SRC,t):this.removeAttribute(A.STORYBOARD_SRC)}get storyboard(){let{tokens:t}=this;if(this.storyboardSrc&&!t.storyboard)return this.storyboardSrc;if(!(this.audio||!this.playbackId||!this.streamType||[Q.LIVE,Q.UNKNOWN].includes(this.streamType)||t.playback&&!t.storyboard))return fT(this.playbackId,{customDomain:this.customDomain,token:t.storyboard,programStartTime:this.programStartTime,programEndTime:this.programEndTime})}get audio(){return this.hasAttribute(A.AUDIO)}set audio(t){if(!t){this.removeAttribute(A.AUDIO);return}this.setAttribute(A.AUDIO,"")}get hotkeys(){return z(this,Zs)}get nohotkeys(){return this.hasAttribute(A.NOHOTKEYS)}set nohotkeys(t){if(!t){this.removeAttribute(A.NOHOTKEYS);return}this.setAttribute(A.NOHOTKEYS,"")}get thumbnailTime(){return ze(this.getAttribute(A.THUMBNAIL_TIME))}set thumbnailTime(t){this.setAttribute(A.THUMBNAIL_TIME,`${t}`)}get videoTitle(){var t,e;return(e=(t=this.getAttribute(A.VIDEO_TITLE))!=null?t:this.getAttribute(A.TITLE))!=null?e:""}set videoTitle(t){t!==this.videoTitle&&(t?this.setAttribute(A.VIDEO_TITLE,t):this.removeAttribute(A.VIDEO_TITLE))}get placeholder(){var t;return(t=Di(this,A.PLACEHOLDER))!=null?t:""}set placeholder(t){this.setAttribute(A.PLACEHOLDER,`${t}`)}get primaryColor(){var t,e;let i=this.getAttribute(A.PRIMARY_COLOR);if(i!=null||this.mediaTheme&&(i=(e=(t=Bt.getComputedStyle(this.mediaTheme))==null?void 0:t.getPropertyValue("--_primary-color"))==null?void 0:e.trim(),i))return i}set primaryColor(t){this.setAttribute(A.PRIMARY_COLOR,`${t}`)}get secondaryColor(){var t,e;let i=this.getAttribute(A.SECONDARY_COLOR);if(i!=null||this.mediaTheme&&(i=(e=(t=Bt.getComputedStyle(this.mediaTheme))==null?void 0:t.getPropertyValue("--_secondary-color"))==null?void 0:e.trim(),i))return i}set secondaryColor(t){this.setAttribute(A.SECONDARY_COLOR,`${t}`)}get accentColor(){var t,e;let i=this.getAttribute(A.ACCENT_COLOR);if(i!=null||this.mediaTheme&&(i=(e=(t=Bt.getComputedStyle(this.mediaTheme))==null?void 0:t.getPropertyValue("--_accent-color"))==null?void 0:e.trim(),i))return i}set accentColor(t){this.setAttribute(A.ACCENT_COLOR,`${t}`)}get defaultShowRemainingTime(){return this.hasAttribute(A.DEFAULT_SHOW_REMAINING_TIME)}set defaultShowRemainingTime(t){t?this.setAttribute(A.DEFAULT_SHOW_REMAINING_TIME,""):this.removeAttribute(A.DEFAULT_SHOW_REMAINING_TIME)}get playbackRates(){if(this.hasAttribute(A.PLAYBACK_RATES))return this.getAttribute(A.PLAYBACK_RATES).trim().split(/\s*,?\s+/).map(t=>Number(t)).filter(t=>!Number.isNaN(t)).sort((t,e)=>t-e)}set playbackRates(t){if(!t){this.removeAttribute(A.PLAYBACK_RATES);return}this.setAttribute(A.PLAYBACK_RATES,t.join(" "))}get forwardSeekOffset(){var t;return(t=ze(this.getAttribute(A.FORWARD_SEEK_OFFSET)))!=null?t:10}set forwardSeekOffset(t){this.setAttribute(A.FORWARD_SEEK_OFFSET,`${t}`)}get backwardSeekOffset(){var t;return(t=ze(this.getAttribute(A.BACKWARD_SEEK_OFFSET)))!=null?t:10}set backwardSeekOffset(t){this.setAttribute(A.BACKWARD_SEEK_OFFSET,`${t}`)}get defaultHiddenCaptions(){return this.hasAttribute(A.DEFAULT_HIDDEN_CAPTIONS)}set defaultHiddenCaptions(t){t?this.setAttribute(A.DEFAULT_HIDDEN_CAPTIONS,""):this.removeAttribute(A.DEFAULT_HIDDEN_CAPTIONS)}get defaultDuration(){return ze(this.getAttribute(A.DEFAULT_DURATION))}set defaultDuration(t){t==null?this.removeAttribute(A.DEFAULT_DURATION):this.setAttribute(A.DEFAULT_DURATION,`${t}`)}get playerInitTime(){return this.hasAttribute(b.PLAYER_INIT_TIME)?ze(this.getAttribute(b.PLAYER_INIT_TIME)):z(this,Qs)}set playerInitTime(t){t!=this.playerInitTime&&(t==null?this.removeAttribute(b.PLAYER_INIT_TIME):this.setAttribute(b.PLAYER_INIT_TIME,`${+t}`))}get playerSoftwareName(){var t;return(t=this.getAttribute(b.PLAYER_SOFTWARE_NAME))!=null?t:qh}get playerSoftwareVersion(){var t;return(t=this.getAttribute(b.PLAYER_SOFTWARE_VERSION))!=null?t:Vh}get beaconCollectionDomain(){var t;return(t=this.getAttribute(b.BEACON_COLLECTION_DOMAIN))!=null?t:void 0}set beaconCollectionDomain(t){t!==this.beaconCollectionDomain&&(t?this.setAttribute(b.BEACON_COLLECTION_DOMAIN,t):this.removeAttribute(b.BEACON_COLLECTION_DOMAIN))}get maxResolution(){var t;return(t=this.getAttribute(b.MAX_RESOLUTION))!=null?t:void 0}set maxResolution(t){t!==this.maxResolution&&(t?this.setAttribute(b.MAX_RESOLUTION,t):this.removeAttribute(b.MAX_RESOLUTION))}get minResolution(){var t;return(t=this.getAttribute(b.MIN_RESOLUTION))!=null?t:void 0}set minResolution(t){t!==this.minResolution&&(t?this.setAttribute(b.MIN_RESOLUTION,t):this.removeAttribute(b.MIN_RESOLUTION))}get maxAutoResolution(){var t;return(t=this.getAttribute(b.MAX_AUTO_RESOLUTION))!=null?t:void 0}set maxAutoResolution(t){t==null?this.removeAttribute(b.MAX_AUTO_RESOLUTION):this.setAttribute(b.MAX_AUTO_RESOLUTION,t)}get renditionOrder(){var t;return(t=this.getAttribute(b.RENDITION_ORDER))!=null?t:void 0}set renditionOrder(t){t!==this.renditionOrder&&(t?this.setAttribute(b.RENDITION_ORDER,t):this.removeAttribute(b.RENDITION_ORDER))}get programStartTime(){return ze(this.getAttribute(b.PROGRAM_START_TIME))}set programStartTime(t){t==null?this.removeAttribute(b.PROGRAM_START_TIME):this.setAttribute(b.PROGRAM_START_TIME,`${t}`)}get programEndTime(){return ze(this.getAttribute(b.PROGRAM_END_TIME))}set programEndTime(t){t==null?this.removeAttribute(b.PROGRAM_END_TIME):this.setAttribute(b.PROGRAM_END_TIME,`${t}`)}get assetStartTime(){return ze(this.getAttribute(b.ASSET_START_TIME))}set assetStartTime(t){t==null?this.removeAttribute(b.ASSET_START_TIME):this.setAttribute(b.ASSET_START_TIME,`${t}`)}get assetEndTime(){return ze(this.getAttribute(b.ASSET_END_TIME))}set assetEndTime(t){t==null?this.removeAttribute(b.ASSET_END_TIME):this.setAttribute(b.ASSET_END_TIME,`${t}`)}get extraSourceParams(){return this.hasAttribute(A.EXTRA_SOURCE_PARAMS)?[...new URLSearchParams(this.getAttribute(A.EXTRA_SOURCE_PARAMS)).entries()].reduce((t,[e,i])=>(t[e]=i,t),{}):tA}set extraSourceParams(t){t==null?this.removeAttribute(A.EXTRA_SOURCE_PARAMS):this.setAttribute(A.EXTRA_SOURCE_PARAMS,new URLSearchParams(t).toString())}get customDomain(){var t;return(t=this.getAttribute(b.CUSTOM_DOMAIN))!=null?t:void 0}set customDomain(t){t!==this.customDomain&&(t?this.setAttribute(b.CUSTOM_DOMAIN,t):this.removeAttribute(b.CUSTOM_DOMAIN))}get envKey(){var t;return(t=Di(this,b.ENV_KEY))!=null?t:void 0}set envKey(t){this.setAttribute(b.ENV_KEY,`${t}`)}get noVolumePref(){return this.hasAttribute(A.NO_VOLUME_PREF)}set noVolumePref(t){t?this.setAttribute(A.NO_VOLUME_PREF,""):this.removeAttribute(A.NO_VOLUME_PREF)}get noMutedPref(){return this.hasAttribute(A.NO_MUTED_PREF)}set noMutedPref(t){t?this.setAttribute(A.NO_MUTED_PREF,""):this.removeAttribute(A.NO_MUTED_PREF)}get debug(){return Di(this,b.DEBUG)!=null}set debug(t){t?this.setAttribute(b.DEBUG,""):this.removeAttribute(b.DEBUG)}get disableTracking(){return Di(this,b.DISABLE_TRACKING)!=null}set disableTracking(t){this.toggleAttribute(b.DISABLE_TRACKING,!!t)}get disableCookies(){return Di(this,b.DISABLE_COOKIES)!=null}set disableCookies(t){t?this.setAttribute(b.DISABLE_COOKIES,""):this.removeAttribute(b.DISABLE_COOKIES)}get streamType(){var t,e,i;return(i=(e=this.getAttribute(b.STREAM_TYPE))!=null?e:(t=this.media)==null?void 0:t.streamType)!=null?i:Q.UNKNOWN}set streamType(t){this.setAttribute(b.STREAM_TYPE,`${t}`)}get defaultStreamType(){var t,e,i;return(i=(e=this.getAttribute(A.DEFAULT_STREAM_TYPE))!=null?e:(t=this.mediaController)==null?void 0:t.getAttribute(A.DEFAULT_STREAM_TYPE))!=null?i:Q.ON_DEMAND}set defaultStreamType(t){t?this.setAttribute(A.DEFAULT_STREAM_TYPE,t):this.removeAttribute(A.DEFAULT_STREAM_TYPE)}get targetLiveWindow(){var t,e;return this.hasAttribute(A.TARGET_LIVE_WINDOW)?+this.getAttribute(A.TARGET_LIVE_WINDOW):(e=(t=this.media)==null?void 0:t.targetLiveWindow)!=null?e:Number.NaN}set targetLiveWindow(t){t==this.targetLiveWindow||Number.isNaN(t)&&Number.isNaN(this.targetLiveWindow)||(t==null?this.removeAttribute(A.TARGET_LIVE_WINDOW):this.setAttribute(A.TARGET_LIVE_WINDOW,`${+t}`))}get liveEdgeStart(){var t;return(t=this.media)==null?void 0:t.liveEdgeStart}get startTime(){return ze(Di(this,b.START_TIME))}set startTime(t){this.setAttribute(b.START_TIME,`${t}`)}get preferPlayback(){let t=this.getAttribute(b.PREFER_PLAYBACK);if(t===Wt.MSE||t===Wt.NATIVE)return t}set preferPlayback(t){t!==this.preferPlayback&&(t===Wt.MSE||t===Wt.NATIVE?this.setAttribute(b.PREFER_PLAYBACK,t):this.removeAttribute(b.PREFER_PLAYBACK))}get metadata(){var t;return(t=this.media)==null?void 0:t.metadata}set metadata(t){if(Ee(this,le,_i).call(this),!this.media){nt("underlying media element missing when trying to set metadata. metadata will not be set.");return}this.media.metadata={...Kh(this),...t}}get _hlsConfig(){var t;return(t=this.media)==null?void 0:t._hlsConfig}set _hlsConfig(t){if(Ee(this,le,_i).call(this),!this.media){nt("underlying media element missing when trying to set _hlsConfig. _hlsConfig will not be set.");return}this.media._hlsConfig=t}async addCuePoints(t){var e;if(Ee(this,le,_i).call(this),!this.media){nt("underlying media element missing when trying to addCuePoints. cuePoints will not be added.");return}return(e=this.media)==null?void 0:e.addCuePoints(t)}get activeCuePoint(){var t;return(t=this.media)==null?void 0:t.activeCuePoint}get cuePoints(){var t,e;return(e=(t=this.media)==null?void 0:t.cuePoints)!=null?e:[]}addChapters(t){var e;if(Ee(this,le,_i).call(this),!this.media){nt("underlying media element missing when trying to addChapters. chapters will not be added.");return}return(e=this.media)==null?void 0:e.addChapters(t)}get activeChapter(){var t;return(t=this.media)==null?void 0:t.activeChapter}get chapters(){var t,e;return(e=(t=this.media)==null?void 0:t.chapters)!=null?e:[]}getStartDate(){var t;return(t=this.media)==null?void 0:t.getStartDate()}get currentPdt(){var t;return(t=this.media)==null?void 0:t.currentPdt}get tokens(){let t=this.getAttribute(A.PLAYBACK_TOKEN),e=this.getAttribute(A.DRM_TOKEN),i=this.getAttribute(A.THUMBNAIL_TOKEN),a=this.getAttribute(A.STORYBOARD_TOKEN);return{...z(this,js),...t!=null?{playback:t}:{},...e!=null?{drm:e}:{},...i!=null?{thumbnail:i}:{},...a!=null?{storyboard:a}:{}}}set tokens(t){qt(this,js,t??{})}get playbackToken(){var t;return(t=this.getAttribute(A.PLAYBACK_TOKEN))!=null?t:void 0}set playbackToken(t){this.setAttribute(A.PLAYBACK_TOKEN,`${t}`)}get drmToken(){var t;return(t=this.getAttribute(A.DRM_TOKEN))!=null?t:void 0}set drmToken(t){this.setAttribute(A.DRM_TOKEN,`${t}`)}get thumbnailToken(){var t;return(t=this.getAttribute(A.THUMBNAIL_TOKEN))!=null?t:void 0}set thumbnailToken(t){this.setAttribute(A.THUMBNAIL_TOKEN,`${t}`)}get storyboardToken(){var t;return(t=this.getAttribute(A.STORYBOARD_TOKEN))!=null?t:void 0}set storyboardToken(t){this.setAttribute(A.STORYBOARD_TOKEN,`${t}`)}addTextTrack(t,e,i,a){var r;let n=(r=this.media)==null?void 0:r.nativeEl;if(n)return Vd(n,t,e,i,a)}removeTextTrack(t){var e;let i=(e=this.media)==null?void 0:e.nativeEl;if(i)return Z_(i,t)}get textTracks(){var t;return(t=this.media)==null?void 0:t.textTracks}get castReceiver(){var t;return(t=this.getAttribute(A.CAST_RECEIVER))!=null?t:void 0}set castReceiver(t){t!==this.castReceiver&&(t?this.setAttribute(A.CAST_RECEIVER,t):this.removeAttribute(A.CAST_RECEIVER))}get castCustomData(){var t;return(t=this.media)==null?void 0:t.castCustomData}set castCustomData(t){if(!this.media){nt("underlying media element missing when trying to set castCustomData. castCustomData will not be set.");return}this.media.castCustomData=t}get noTooltips(){return this.hasAttribute(A.NO_TOOLTIPS)}set noTooltips(t){if(!t){this.removeAttribute(A.NO_TOOLTIPS);return}this.setAttribute(A.NO_TOOLTIPS,"")}get proudlyDisplayMuxBadge(){return this.hasAttribute(A.PROUDLY_DISPLAY_MUX_BADGE)}set proudlyDisplayMuxBadge(t){t?this.setAttribute(A.PROUDLY_DISPLAY_MUX_BADGE,""):this.removeAttribute(A.PROUDLY_DISPLAY_MUX_BADGE)}};Qs=new WeakMap,zs=new WeakMap,js=new WeakMap,Hi=new WeakMap,Zs=new WeakMap,ja=new WeakMap,le=new WeakSet,_i=function(){var t,e,i,a;if(!z(this,zs)){qt(this,zs,!0),Ee(this,le,Bi).call(this);try{if(customElements.upgrade(this.mediaTheme),!(this.mediaTheme instanceof Bt.HTMLElement))throw""}catch{nt("<media-theme> failed to upgrade!")}try{customElements.upgrade(this.media)}catch{nt("underlying media element failed to upgrade!")}try{if(customElements.upgrade(this.mediaController),!(this.mediaController instanceof y0))throw""}catch{nt("<media-controller> failed to upgrade!")}Ee(this,le,Gh).call(this),Ee(this,le,Qh).call(this),Ee(this,le,zh).call(this),qt(this,Hi,(e=(t=this.mediaController)==null?void 0:t.hasAttribute(M.USER_INACTIVE))!=null?e:!0),Ee(this,le,jh).call(this),(i=this.media)==null||i.addEventListener("streamtypechange",()=>Ee(this,le,Bi).call(this)),(a=this.media)==null||a.addEventListener("loadstart",()=>Ee(this,le,Bi).call(this))}},ef=function(){var t,e;try{(t=window?.CSS)==null||t.registerProperty({name:"--media-primary-color",syntax:"<color>",inherits:!0}),(e=window?.CSS)==null||e.registerProperty({name:"--media-secondary-color",syntax:"<color>",inherits:!0})}catch{}},Ud=function(t){Object.assign(z(this,ja),t),Ee(this,le,Bi).call(this)},Bi=function(t={}){NT(UT(QT(this,{...z(this,ja),...t})),this.shadowRoot)},Gh=function(){let t=e=>{var i,a;if(!(e!=null&&e.startsWith("theme-")))return;let r=e.replace(/^theme-/,"");if(Pd.includes(r))return;let n=this.getAttribute(e);n!=null?(i=this.mediaTheme)==null||i.setAttribute(r,n):(a=this.mediaTheme)==null||a.removeAttribute(r)};new MutationObserver(e=>{for(let{attributeName:i}of e)t(i)}).observe(this,{attributes:!0}),this.getAttributeNames().forEach(t)},Qh=function(){let t=e=>{var i;let a=(i=this.media)==null?void 0:i.error;if(!(a instanceof R)){let{message:n,code:s}=a??{};a=new R(n,s)}if(!(a!=null&&a.fatal)){Jt(a),a.data&&Jt(`${a.name} data:`,a.data);return}let r=Bh(a);r.message&&zv(r),nt(a),a.data&&nt(`${a.name} data:`,a.data),Ee(this,le,Ud).call(this,{isDialogOpen:!0})};this.addEventListener("error",t),this.media&&(this.media.errorTranslator=(e={})=>{var i,a,r;if(!(((i=this.media)==null?void 0:i.error)instanceof R))return e;let n=Bh((a=this.media)==null?void 0:a.error);return{player_error_code:(r=this.media)==null?void 0:r.error.code,player_error_message:n.message?String(n.message):e.player_error_message,player_error_context:n.context?String(n.context):e.player_error_context}})},zh=function(){var t,e,i,a;let r=()=>Ee(this,le,Bi).call(this);(e=(t=this.media)==null?void 0:t.textTracks)==null||e.addEventListener("addtrack",r),(a=(i=this.media)==null?void 0:i.textTracks)==null||a.addEventListener("removetrack",r)},jh=function(){var t,e;if(!/Firefox/i.test(navigator.userAgent))return;let i,a=new WeakMap,r=()=>this.streamType===Q.LIVE&&!this.secondaryColor&&this.offsetWidth>=800,n=(l,d,m=!1)=>{r()||Array.from(l&&l.activeCues||[]).forEach(p=>{if(!(!p.snapToLines||p.line<-5||p.line>=0&&p.line<10))if(!d||this.paused){let h=p.text.split(`
|
|
3310
|
-
`).length,u=-3;this.streamType===Q.LIVE&&(u=-2);let v=u-h;if(p.line===v&&!m)return;a.has(p)||a.set(p,p.line),p.line=v}else setTimeout(()=>{p.line=a.get(p)||"auto"},500)})},s=()=>{var l,d;n(i,(d=(l=this.mediaController)==null?void 0:l.hasAttribute(M.USER_INACTIVE))!=null?d:!1)},o=()=>{var l,d;let m=Array.from(((d=(l=this.mediaController)==null?void 0:l.media)==null?void 0:d.textTracks)||[]).filter(p=>["subtitles","captions"].includes(p.kind)&&p.mode==="showing")[0];m!==i&&i?.removeEventListener("cuechange",s),i=m,i?.addEventListener("cuechange",s),n(i,z(this,Hi))};o(),(t=this.textTracks)==null||t.addEventListener("change",o),(e=this.textTracks)==null||e.addEventListener("addtrack",o),this.addEventListener("userinactivechange",()=>{var l,d;let m=(d=(l=this.mediaController)==null?void 0:l.hasAttribute(M.USER_INACTIVE))!=null?d:!0;z(this,Hi)!==m&&(qt(this,Hi,m),n(i,z(this,Hi)))})};function Di(t,e){return t.media?t.media.getAttribute(e):t.getAttribute(e)}var Zh=iA,tf=class{addEventListener(){}removeEventListener(){}dispatchEvent(t){return!0}};if(typeof DocumentFragment>"u"){class t extends tf{}globalThis.DocumentFragment=t}var aA=class extends tf{},rA={get(t){},define(t,e,i){},getName(t){return null},upgrade(t){},whenDefined(t){return Promise.resolve(aA)}},nA={customElements:rA},sA=typeof window>"u"||typeof globalThis.customElements>"u",gl=sA?nA:globalThis;gl.customElements.get("mux-player")||(gl.customElements.define("mux-player",Zh),gl.MuxPlayerElement=Zh);var af=parseInt(an.version)>=19,Xh={className:"class",classname:"class",htmlFor:"for",crossOrigin:"crossorigin",viewBox:"viewBox",playsInline:"playsinline",autoPlay:"autoplay",playbackRate:"playbackrate"},oA=t=>t==null,lA=(t,e)=>oA(e)?!1:t in e,dA=t=>t.replace(/[A-Z]/g,e=>`-${e.toLowerCase()}`),uA=(t,e)=>{if(!(!af&&typeof e=="boolean"&&!e)){if(lA(t,Xh))return Xh[t];if(typeof e<"u")return/[A-Z]/.test(t)?dA(t):t}},cA=(t,e)=>!af&&typeof t=="boolean"?"":t,hA=(t={})=>{let{ref:e,...i}=t;return Object.entries(i).reduce((a,[r,n])=>{let s=uA(r,n);if(!s)return a;let o=cA(n);return a[s]=o,a},{})};function Jh(t,e){if(typeof t=="function")return t(e);t!=null&&(t.current=e)}function mA(...t){return e=>{let i=!1,a=t.map(r=>{let n=Jh(r,e);return!i&&typeof n=="function"&&(i=!0),n});if(i)return()=>{for(let r=0;r<a.length;r++){let n=a[r];typeof n=="function"?n():Jh(t[r],null)}}}}function pA(...t){return rn.useCallback(mA(...t),t)}var vA=Object.prototype.hasOwnProperty,fA=(t,e)=>{if(Object.is(t,e))return!0;if(typeof t!="object"||t===null||typeof e!="object"||e===null)return!1;if(Array.isArray(t))return!Array.isArray(e)||t.length!==e.length?!1:t.some((r,n)=>e[n]===r);let i=Object.keys(t),a=Object.keys(e);if(i.length!==a.length)return!1;for(let r=0;r<i.length;r++)if(!vA.call(e,i[r])||!Object.is(t[i[r]],e[i[r]]))return!1;return!0},rf=(t,e,i)=>!fA(e,t[i]),EA=(t,e,i)=>{t[i]=e},_A=(t,e,i,a=EA,r=rf)=>rn.useEffect(()=>{let n=i?.current;n&&r(n,e,t)&&a(n,e,t)},[i?.current,e]),St=_A,bA=()=>{try{return"3.10.2"}catch{}return"UNKNOWN"},gA=bA(),yA=()=>gA,ne=(t,e,i)=>rn.useEffect(()=>{let a=e?.current;if(!a||!i)return;let r=t,n=i;return a.addEventListener(r,n),()=>{a.removeEventListener(r,n)}},[e?.current,i,t]),TA=an.forwardRef(({children:t,...e},i)=>an.createElement("mux-player",{suppressHydrationWarning:!0,...hA(e),ref:i},t)),AA=(t,e)=>{let{onAbort:i,onCanPlay:a,onCanPlayThrough:r,onEmptied:n,onLoadStart:s,onLoadedData:o,onLoadedMetadata:l,onProgress:d,onDurationChange:m,onVolumeChange:p,onRateChange:h,onResize:u,onWaiting:v,onPlay:E,onPlaying:g,onTimeUpdate:y,onPause:T,onSeeking:_,onSeeked:S,onStalled:C,onSuspend:N,onEnded:$,onError:G,onCuePointChange:J,onChapterChange:K,metadata:U,tokens:Me,paused:Fe,playbackId:Ke,playbackRates:he,currentTime:Pe,themeProps:yt,extraSourceParams:Ue,castCustomData:dt,_hlsConfig:Ve,...ke}=e;return St("tokens",Me,t),St("playbackId",Ke,t),St("playbackRates",he,t),St("metadata",U,t),St("extraSourceParams",Ue,t),St("_hlsConfig",Ve,t),St("themeProps",yt,t),St("castCustomData",dt,t),St("paused",Fe,t,(xe,Je)=>{Je!=null&&(Je?xe.pause():xe.play())},(xe,Je,na)=>xe.hasAttribute("autoplay")&&!xe.hasPlayed?!1:rf(xe,Je,na)),St("currentTime",Pe,t,(xe,Je)=>{Je!=null&&(xe.currentTime=Je)}),ne("abort",t,i),ne("canplay",t,a),ne("canplaythrough",t,r),ne("emptied",t,n),ne("loadstart",t,s),ne("loadeddata",t,o),ne("loadedmetadata",t,l),ne("progress",t,d),ne("durationchange",t,m),ne("volumechange",t,p),ne("ratechange",t,h),ne("resize",t,u),ne("waiting",t,v),ne("play",t,E),ne("playing",t,g),ne("timeupdate",t,y),ne("pause",t,T),ne("seeking",t,_),ne("seeked",t,S),ne("stalled",t,C),ne("suspend",t,N),ne("ended",t,$),ne("error",t,G),ne("cuepointchange",t,J),ne("chapterchange",t,K),[ke]},kA=yA(),SA="mux-player-react",wA=an.forwardRef((t,e)=>{var i;let a=rn.useRef(null),r=pA(a,e),[n]=AA(a,t),[s]=rn.useState((i=t.playerInitTime)!=null?i:Qd());return an.createElement(TA,{ref:r,defaultHiddenCaptions:t.defaultHiddenCaptions,playerSoftwareName:SA,playerSoftwareVersion:kA,playerInitTime:s,...n})}),
|
|
3310
|
+
`).length,u=-3;this.streamType===Q.LIVE&&(u=-2);let v=u-h;if(p.line===v&&!m)return;a.has(p)||a.set(p,p.line),p.line=v}else setTimeout(()=>{p.line=a.get(p)||"auto"},500)})},s=()=>{var l,d;n(i,(d=(l=this.mediaController)==null?void 0:l.hasAttribute(M.USER_INACTIVE))!=null?d:!1)},o=()=>{var l,d;let m=Array.from(((d=(l=this.mediaController)==null?void 0:l.media)==null?void 0:d.textTracks)||[]).filter(p=>["subtitles","captions"].includes(p.kind)&&p.mode==="showing")[0];m!==i&&i?.removeEventListener("cuechange",s),i=m,i?.addEventListener("cuechange",s),n(i,z(this,Hi))};o(),(t=this.textTracks)==null||t.addEventListener("change",o),(e=this.textTracks)==null||e.addEventListener("addtrack",o),this.addEventListener("userinactivechange",()=>{var l,d;let m=(d=(l=this.mediaController)==null?void 0:l.hasAttribute(M.USER_INACTIVE))!=null?d:!0;z(this,Hi)!==m&&(qt(this,Hi,m),n(i,z(this,Hi)))})};function Di(t,e){return t.media?t.media.getAttribute(e):t.getAttribute(e)}var Zh=iA,tf=class{addEventListener(){}removeEventListener(){}dispatchEvent(t){return!0}};if(typeof DocumentFragment>"u"){class t extends tf{}globalThis.DocumentFragment=t}var aA=class extends tf{},rA={get(t){},define(t,e,i){},getName(t){return null},upgrade(t){},whenDefined(t){return Promise.resolve(aA)}},nA={customElements:rA},sA=typeof window>"u"||typeof globalThis.customElements>"u",gl=sA?nA:globalThis;gl.customElements.get("mux-player")||(gl.customElements.define("mux-player",Zh),gl.MuxPlayerElement=Zh);var af=parseInt(an.version)>=19,Xh={className:"class",classname:"class",htmlFor:"for",crossOrigin:"crossorigin",viewBox:"viewBox",playsInline:"playsinline",autoPlay:"autoplay",playbackRate:"playbackrate"},oA=t=>t==null,lA=(t,e)=>oA(e)?!1:t in e,dA=t=>t.replace(/[A-Z]/g,e=>`-${e.toLowerCase()}`),uA=(t,e)=>{if(!(!af&&typeof e=="boolean"&&!e)){if(lA(t,Xh))return Xh[t];if(typeof e<"u")return/[A-Z]/.test(t)?dA(t):t}},cA=(t,e)=>!af&&typeof t=="boolean"?"":t,hA=(t={})=>{let{ref:e,...i}=t;return Object.entries(i).reduce((a,[r,n])=>{let s=uA(r,n);if(!s)return a;let o=cA(n);return a[s]=o,a},{})};function Jh(t,e){if(typeof t=="function")return t(e);t!=null&&(t.current=e)}function mA(...t){return e=>{let i=!1,a=t.map(r=>{let n=Jh(r,e);return!i&&typeof n=="function"&&(i=!0),n});if(i)return()=>{for(let r=0;r<a.length;r++){let n=a[r];typeof n=="function"?n():Jh(t[r],null)}}}}function pA(...t){return rn.useCallback(mA(...t),t)}var vA=Object.prototype.hasOwnProperty,fA=(t,e)=>{if(Object.is(t,e))return!0;if(typeof t!="object"||t===null||typeof e!="object"||e===null)return!1;if(Array.isArray(t))return!Array.isArray(e)||t.length!==e.length?!1:t.some((r,n)=>e[n]===r);let i=Object.keys(t),a=Object.keys(e);if(i.length!==a.length)return!1;for(let r=0;r<i.length;r++)if(!vA.call(e,i[r])||!Object.is(t[i[r]],e[i[r]]))return!1;return!0},rf=(t,e,i)=>!fA(e,t[i]),EA=(t,e,i)=>{t[i]=e},_A=(t,e,i,a=EA,r=rf)=>rn.useEffect(()=>{let n=i?.current;n&&r(n,e,t)&&a(n,e,t)},[i?.current,e]),St=_A,bA=()=>{try{return"3.10.2"}catch{}return"UNKNOWN"},gA=bA(),yA=()=>gA,ne=(t,e,i)=>rn.useEffect(()=>{let a=e?.current;if(!a||!i)return;let r=t,n=i;return a.addEventListener(r,n),()=>{a.removeEventListener(r,n)}},[e?.current,i,t]),TA=an.forwardRef(({children:t,...e},i)=>an.createElement("mux-player",{suppressHydrationWarning:!0,...hA(e),ref:i},t)),AA=(t,e)=>{let{onAbort:i,onCanPlay:a,onCanPlayThrough:r,onEmptied:n,onLoadStart:s,onLoadedData:o,onLoadedMetadata:l,onProgress:d,onDurationChange:m,onVolumeChange:p,onRateChange:h,onResize:u,onWaiting:v,onPlay:E,onPlaying:g,onTimeUpdate:y,onPause:T,onSeeking:_,onSeeked:S,onStalled:C,onSuspend:N,onEnded:$,onError:G,onCuePointChange:J,onChapterChange:K,metadata:U,tokens:Me,paused:Fe,playbackId:Ke,playbackRates:he,currentTime:Pe,themeProps:yt,extraSourceParams:Ue,castCustomData:dt,_hlsConfig:Ve,...ke}=e;return St("tokens",Me,t),St("playbackId",Ke,t),St("playbackRates",he,t),St("metadata",U,t),St("extraSourceParams",Ue,t),St("_hlsConfig",Ve,t),St("themeProps",yt,t),St("castCustomData",dt,t),St("paused",Fe,t,(xe,Je)=>{Je!=null&&(Je?xe.pause():xe.play())},(xe,Je,na)=>xe.hasAttribute("autoplay")&&!xe.hasPlayed?!1:rf(xe,Je,na)),St("currentTime",Pe,t,(xe,Je)=>{Je!=null&&(xe.currentTime=Je)}),ne("abort",t,i),ne("canplay",t,a),ne("canplaythrough",t,r),ne("emptied",t,n),ne("loadstart",t,s),ne("loadeddata",t,o),ne("loadedmetadata",t,l),ne("progress",t,d),ne("durationchange",t,m),ne("volumechange",t,p),ne("ratechange",t,h),ne("resize",t,u),ne("waiting",t,v),ne("play",t,E),ne("playing",t,g),ne("timeupdate",t,y),ne("pause",t,T),ne("seeking",t,_),ne("seeked",t,S),ne("stalled",t,C),ne("suspend",t,N),ne("ended",t,$),ne("error",t,G),ne("cuepointchange",t,J),ne("chapterchange",t,K),[ke]},kA=yA(),SA="mux-player-react",wA=an.forwardRef((t,e)=>{var i;let a=rn.useRef(null),r=pA(a,e),[n]=AA(a,t),[s]=rn.useState((i=t.playerInitTime)!=null?i:Qd());return an.createElement(TA,{ref:r,defaultHiddenCaptions:t.defaultHiddenCaptions,playerSoftwareName:SA,playerSoftwareVersion:kA,playerInitTime:s,...n})}),GA=wA;export{DA as MaxResolution,R as MediaError,MA as MinResolution,xA as RenditionOrder,GA as default,Qd as generatePlayerInitTime,SA as playerSoftwareName,kA as playerSoftwareVersion};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{g as i}from"./sentry-DMKAGVXl.js";import{a}from"./index-CnYBBjVQ.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="99894710-9332-4b0a-9d36-2f288e58219b",e._sentryDebugIdIdentifier="sentry-dbid-99894710-9332-4b0a-9d36-2f288e58219b")}catch{}})();function d(e,t){for(var n=0;n<t.length;n++){const r=t[n];if(typeof r!="string"&&!Array.isArray(r)){for(const o in r)if(o!=="default"&&!(o in e)){const f=Object.getOwnPropertyDescriptor(r,o);f&&Object.defineProperty(e,o,f.get?f:{enumerable:!0,get:()=>r[o]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}var s=a();const l=i(s),g=d({__proto__:null,default:l},[s]);export{g as i};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import"./sentry-DMKAGVXl.js";import{a as l}from"./index-CnYBBjVQ.js";import{r as c}from"./url-DsW1BPwo.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},r=new e.Error().stack;r&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[r]="dfc4177d-4bc4-49dd-a084-95de747684b3",e._sentryDebugIdIdentifier="sentry-dbid-dfc4177d-4bc4-49dd-a084-95de747684b3")}catch{}})();var d={exports:{}},u;function y(){return u||(u=1,function(e){var r=l(),f=c(),o=e.exports;for(var n in r)r.hasOwnProperty(n)&&(o[n]=r[n]);o.request=function(t,i){return t=s(t),r.request.call(this,t,i)},o.get=function(t,i){return t=s(t),r.get.call(this,t,i)};function s(t){if(typeof t=="string"&&(t=f.parse(t)),t.protocol||(t.protocol="https:"),t.protocol!=="https:")throw new Error('Protocol "'+t.protocol+'" not supported. Expected "https:"');return t}}(d)),d.exports}export{y as r};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import"./core-CA3j8Axi.js";(function(){try{var j=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},Ke=new j.Error().stack;Ke&&(j._sentryDebugIds=j._sentryDebugIds||{},j._sentryDebugIds[Ke]="49250869-6748-405b-81ce-80638a7413f0",j._sentryDebugIdIdentifier="sentry-dbid-49250869-6748-405b-81ce-80638a7413f0")}catch{}})();var c={},Oi;function Sl(){if(Oi)return c;Oi=1;let j={},Ke={},Oe={},$e={},Kt={},Me={},$t={},Ut={},Ue={},Ve={},oe={},Vt={},Yt={},Hn={},Gn={},Jn={},Xn={},qn={},jn={},Qn={},dt={},Zn={},bn={},er={},tr={},nr={},rr={},ir={},lr={},sr={},Ht={},Gt={},or={},ur={},fr={};function y(n){throw Error(`Minified Lexical error #${n}; visit https://lexical.dev/docs/error?code=${n} for the full message or use the non-minified dev environment for full errors and additional helpful warnings.`)}let ie=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",Pi=ie&&"documentMode"in document?document.documentMode:null,F=ie&&/Mac|iPod|iPhone|iPad/.test(navigator.platform),me=ie&&/^(?!.*Seamonkey)(?=.*Firefox).*/i.test(navigator.userAgent),ht=ie&&"InputEvent"in window&&!Pi?"getTargetRanges"in new window.InputEvent("input"):!1,Jt=ie&&/Version\/[\d.]+.*Safari/.test(navigator.userAgent),Xt=ie&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream,Ai=ie&&/^(?=.*Chrome).*/i.test(navigator.userAgent),qt=ie&&/AppleWebKit\/[\d.]+/.test(navigator.userAgent)&&!Ai,at=Jt||Xt||qt?" ":"",Ii=me?" ":at,Li=/^[^A-Za-z\u00c0-\u00d6\u00d8-\u00f6\u00f8-\u02b8\u0300-\u0590\u0800-\u1fff\u200e\u2c00-\ufb1c\ufe00-\ufe6f\ufefd-\uffff]*[\u0591-\u07ff\ufb1d-\ufdfd\ufe70-\ufefc]/,Ri=/^[^\u0591-\u07ff\ufb1d-\ufdfd\ufe70-\ufefc]*[A-Za-z\u00c0-\u00d6\u00d8-\u00f6\u00f8-\u02b8\u0300-\u0590\u0800-\u1fff\u200e\u2c00-\ufb1c\ufe00-\ufe6f\ufefd-\uffff]/,ve={bold:1,code:16,highlight:128,italic:2,strikethrough:4,subscript:32,superscript:64,underline:8},Fi={directionless:1,unmergeable:2},dr={center:2,end:6,justify:4,left:1,right:3,start:5},Bi={2:"center",6:"end",4:"justify",1:"left",3:"right",5:"start"},Wi={normal:0,segmented:2,token:1},zi={0:"normal",2:"segmented",1:"token"},jt=!1,Qt=0;function Ki(n){Qt=n.timeStamp}function Zt(n,e,t){return e.__lexicalLineBreak===n||n[`__lexicalKey_${t._key}`]!==void 0}function $i(n){return n.getEditorState().read(()=>{let e=N();return e!==null?e.clone():null})}function hr(n,e,t){jt=!0;let r=100<performance.now()-Qt;try{V(n,()=>{let i=N()||$i(n);var l=new Map,s=n.getRootElement(),o=n._editorState,u=n._blockCursorElement;let f=!1,_="";for(var a=0;a<e.length;a++){var d=e[a],h=d.type,p=d.target,m=He(p,o);if(!(m===null&&p!==s||E(m))){if(h==="characterData"){if(d=r&&x(m))e:{d=i,h=p;var T=m;if(C(d)){var S=d.anchor.getNode();if(S.is(T)&&d.format!==S.getFormat()){d=!1;break e}}d=h.nodeType===3&&T.isAttached()}d&&(T=Z(n._window),h=d=null,T!==null&&T.anchorNode===p&&(d=T.anchorOffset,h=T.focusOffset),p=p.nodeValue,p!==null&&ln(m,p,d,h,!1))}else if(h==="childList"){for(f=!0,h=d.addedNodes,T=0;T<h.length;T++){S=h[T];var D=yr(S),Y=S.parentNode;Y==null||S===u||D!==null||S.nodeName==="BR"&&Zt(S,Y,n)||(me&&(D=S.innerText||S.nodeValue)&&(_+=D),Y.removeChild(S))}if(d=d.removedNodes,h=d.length,0<h){for(T=0,S=0;S<h;S++)Y=d[S],(Y.nodeName==="BR"&&Zt(Y,p,n)||u===Y)&&(p.appendChild(Y),T++);h!==T&&(p===s&&(m=o._nodeMap.get("root")),l.set(p,m))}}}}if(0<l.size)for(let[ce,ge]of l)if(g(ge))for(l=ge.getChildrenKeys(),s=ce.firstChild,o=0;o<l.length;o++)u=n.getElementByKey(l[o]),u!==null&&(s==null?(ce.appendChild(u),s=u):s!==u&&ce.replaceChild(u,s),s=s.nextSibling);else x(ge)&&ge.markDirty();if(l=t.takeRecords(),0<l.length){for(s=0;s<l.length;s++)for(u=l[s],o=u.addedNodes,u=u.target,a=0;a<o.length;a++)m=o[a],p=m.parentNode,p==null||m.nodeName!=="BR"||Zt(m,u,n)||p.removeChild(m);t.takeRecords()}i!==null&&(f&&(i.dirty=!0,fe(i)),me&&Sr(n)&&i.insertRawText(_))})}finally{jt=!1}}function ar(n){let e=n._observer;if(e!==null){let t=e.takeRecords();hr(n,t,e)}}function _r(n){Qt===0&&vt(n).addEventListener("textInput",Ki,!0),n._observer=new MutationObserver((e,t)=>{hr(n,e,t)})}let Ui=1,Vi=typeof queueMicrotask=="function"?queueMicrotask:n=>{Promise.resolve().then(n)};function bt(n){let e=document.activeElement;if(e===null)return!1;let t=e.nodeName;return E(He(n))&&(t==="INPUT"||t==="TEXTAREA"||e.contentEditable==="true"&&e.__lexicalEditor==null)}function Ye(n,e,t){let r=n.getRootElement();try{return r!==null&&r.contains(e)&&r.contains(t)&&e!==null&&!bt(e)&&en(e)===n}catch{return!1}}function en(n){for(;n!=null;){let e=n.__lexicalEditor;if(e!=null)return e;n=yt(n)}return null}function tn(n){return n.isToken()||n.isSegmented()}function _t(n){for(;n!=null;){if(n.nodeType===3)return n;n=n.firstChild}return null}function cr(n,e,t){return e=ve[e],n&e&&(t===null||(t&e)===0)?n^e:t===null||t&e?n|e:n}function gr(n){return x(n)||lt(n)||E(n)}function pr(n,e){if(e!=null)n.__key=e;else{W(),99<rt&&y(14),e=w();var t=ee(),r=""+Ui++;t._nodeMap.set(r,n),g(n)?e._dirtyElements.set(r,!0):e._dirtyLeaves.add(r),e._cloneNotNeeded.add(r),e._dirtyType=1,n.__key=r}}function xe(n){var e=n.getParent();if(e!==null){let i=n.getWritable();e=e.getWritable();var t=n.getPreviousSibling();if(n=n.getNextSibling(),t===null)if(n!==null){var r=n.getWritable();e.__first=n.__key,r.__prev=null}else e.__first=null;else{if(r=t.getWritable(),n!==null){let l=n.getWritable();l.__prev=r.__key,r.__next=l.__key}else r.__next=null;i.__prev=null}n===null?t!==null?(n=t.getWritable(),e.__last=t.__key,n.__next=null):e.__last=null:(n=n.getWritable(),t!==null?(t=t.getWritable(),t.__next=n.__key,n.__prev=t.__key):n.__prev=null,i.__next=null),e.__size--,i.__parent=null}}function ct(n){99<rt&&y(14);var e=n.getLatest(),t=e.__parent,r=ee();let i=w(),l=r._nodeMap;if(r=i._dirtyElements,t!==null)e:for(;t!==null;){if(r.has(t))break e;let s=l.get(t);if(s===void 0)break;r.set(t,!1),t=s.__parent}e=e.__key,i._dirtyType=1,g(n)?r.set(e,!0):i._dirtyLeaves.add(e)}function I(n){W();var e=w();let t=e._compositionKey;n!==t&&(e._compositionKey=n,t!==null&&(e=M(t),e!==null&&e.getWritable()),n!==null&&(n=M(n),n!==null&&n.getWritable()))}function ue(){return Le()?null:w()._compositionKey}function M(n,e){return n=(e||ee())._nodeMap.get(n),n===void 0?null:n}function yr(n,e){let t=w();return n=n[`__lexicalKey_${t._key}`],n!==void 0?M(n,e):null}function He(n,e){for(;n!=null;){let t=yr(n,e);if(t!==null)return t;n=yt(n)}return null}function mr(n){let e=Object.assign({},n._decorators);return n._pendingDecorators=e}function vr(n){return n.read(()=>Q().getTextContent())}function Yi(n,e){V(n,()=>{var t=ee();if(!t.isEmpty())if(e==="root")Q().markDirty();else{t=t._nodeMap;for(let[,r]of t)r.markDirty()}},n._pendingEditorState===null?{tag:"history-merge"}:void 0)}function Q(){return ee()._nodeMap.get("root")}function fe(n){W();let e=ee();n!==null&&(n.dirty=!0,n._cachedNodes=null),e._selection=n}function Pe(n){var e=w(),t;e:{for(t=n;t!=null;){let r=t[`__lexicalKey_${e._key}`];if(r!==void 0){t=r;break e}t=yt(t)}t=null}return t===null?(e=e.getRootElement(),n===e?M("root"):null):M(t)}function xr(n){return/[\uD800-\uDBFF][\uDC00-\uDFFF]/g.test(n)}function nn(n){let e=[];for(;n!==null;)e.push(n),n=n._parentEditor;return e}function Tr(){return Math.random().toString(36).replace(/[^a-z]+/g,"").substr(0,5)}function rn(n,e,t){if(e=Z(e._window),e!==null){var r=e.anchorNode,{anchorOffset:i,focusOffset:l}=e;if(r!==null&&(e=r.nodeType===3?r.nodeValue:null,r=He(r),e!==null&&x(r))){if(r.canContainTabs()){var s=e.includes(" ");if(t&&0<t.length&&s){s=t.length;let o=i+s-1,u=e.slice(0,o);e=e.slice(o,e.length),e=`${u}${t}${e}`,i+=s,l+=s}}e===at&&t&&(s=t.length,e=t,l=i=s),e!==null&&ln(r,e,i,l,n)}}}function ln(n,e,t,r,i){let l=n;if(l.isAttached()&&(i||!l.isDirty())){var s=l.isComposing();if(n=e,(s||i)&&e[e.length-1]===at&&(n=e.slice(0,-1)),e=l.getTextContent(),i||n!==e)if(n==="")if(I(null),Jt||Xt||qt)l.remove();else{let f=w();setTimeout(()=>{f.update(()=>{l.isAttached()&&l.remove()})},20)}else{i=l.getParent(),e=nt();var o=ue(),u=l.getKey();l.isToken()||o!==null&&u===o&&!s||i!==null&&C(e)&&!i.canInsertTextBefore()&&e.anchor.offset===0?l.markDirty():(s=N(),C(s)&&t!==null&&r!==null&&(s.setTextNodeRange(l,t,l,r),l.isSegmented()&&(t=l.getTextContent(),t=L(t),l.replace(t),l=t)),l.setTextContent(n))}}}function Hi(n,e){if(e.isSegmented())return!0;if(!n.isCollapsed())return!1;n=n.anchor.offset;let t=e.getParentOrThrow(),r=e.isToken();return n===0?((n=!e.canInsertTextBefore()||!t.canInsertTextBefore()||r)||(e=e.getPreviousSibling(),n=(x(e)||g(e)&&e.isInline())&&!e.canInsertTextAfter()),n):n===e.getTextContentSize()?!e.canInsertTextAfter()||!t.canInsertTextAfter()||r:!1}function Ge(n,e){var t=n[e];return typeof t=="string"?(t=t.split(" "),n[e]=t):t}function sn(n,e,t,r,i){t.size!==0&&(t=r.__key,e=e.get(r.__type),e===void 0&&y(33),r=e.klass,e=n.get(r),e===void 0&&(e=new Map,n.set(r,e)),n=e.get(t),r=n==="destroyed"&&i==="created",(n===void 0||r)&&e.set(t,r?"updated":i))}function Cr(n,e,t){let r=n.getParent(),i=t;return r!==null&&(e&&t===0?(i=n.getIndexWithinParent(),n=r):e||t!==n.getChildrenSize()||(i=n.getIndexWithinParent()+1,n=r)),n.getChildAtIndex(e?i-1:i)}function on(n,e){var t=n.offset;return n.type==="element"?(n=n.getNode(),Cr(n,e,t)):(n=n.getNode(),e&&t===0||!e&&t===n.getTextContentSize()?(t=e?n.getPreviousSibling():n.getNextSibling(),t===null?Cr(n.getParentOrThrow(),e,n.getIndexWithinParent()+(e?0:1)):t):null)}function Sr(n){return n=(n=vt(n).event)&&n.inputType,n==="insertFromPaste"||n==="insertFromPasteAsQuotation"}function gt(n){return!U(n)&&!n.isLastChild()&&!n.isInline()}function pt(n,e){return n=n._keyToDOMMap.get(e),n===void 0&&y(75),n}function yt(n){return n=n.assignedSlot||n.parentElement,n!==null&&n.nodeType===11?n.host:n}function Gi(n,e=0){if(e!==0&&y(1),e=N(),!C(e)||!g(n))return e;let{anchor:t,focus:r}=e,i=t.getNode(),l=r.getNode();return mt(i,n)&&t.set(n.__key,0,"element"),mt(l,n)&&r.set(n.__key,0,"element"),e}function mt(n,e){for(n=n.getParent();n!==null;){if(n.is(e))return!0;n=n.getParent()}return!1}function vt(n){return n=n._window,n===null&&y(78),n}function Nr(n){for(n=n.getParentOrThrow();n!==null&&!q(n);)n=n.getParentOrThrow();return n}function q(n){return U(n)||g(n)&&n.isShadowRoot()}function Er(n){return n=n.constructor.clone(n),pr(n,null),n}function xt(n){var e=w();let t=n.constructor.getType();return e=e._nodes.get(t),e===void 0&&y(97),e=e.replace,e!==null?(e=e(n),e instanceof n.constructor||y(98),e):n}function un(n,e){n=n.getParent(),!U(n)||g(e)||E(e)||y(99)}function fn(n){return(E(n)||g(n)&&!n.canBeEmpty())&&!n.isInline()}function dn(n,e,t){t.style.removeProperty("caret-color"),e._blockCursorElement=null,e=n.parentElement,e!==null&&e.removeChild(n)}function Z(n){return ie?(n||window).getSelection():null}function kr(n,e){let t=n.getChildAtIndex(e);t==null&&(t=n),q(n)&&y(102);let r=s=>{const o=s.getParentOrThrow(),u=q(o),f=s!==t||u?Er(s):s;if(u)return s.insertAfter(f),[s,f,f];const[_,a,d]=r(o);return s=s.getNextSiblings(),d.append(f,...s),[_,a,f]},[i,l]=r(t);return[i,l]}function Tt(n,e){for(;n!==Q()&&n!=null;){if(e(n))return n;n=n.getParent()}return null}function Ji(n){let e=[],t=[n];for(;0<t.length;){let r=t.pop();r===void 0&&y(112),g(r)&&t.unshift(...r.getChildren()),r!==n&&e.push(r)}return e}function wr(n,e,t,r,i){for(n=n.getFirstChild();n!==null;){let l=n.__key;n!==void 0&&n.__parent===e&&(g(n)&&wr(n,l,t,r,i),t.has(l)||i.delete(l),r.delete(l)),n=n.isAttached()?n.getNextSibling():null}}function Xi(n,e,t,r){n=n._nodeMap,e=e._nodeMap;for(let i of t){let l=e.get(i);l===void 0||l.isAttached()||(n.has(i)||t.delete(i),e.delete(i))}for(let[i]of r)t=e.get(i),t===void 0||t.isAttached()||(g(t)&&wr(t,i,n,e,r),n.has(i)||r.delete(i),e.delete(i))}function Dr(n,e){let t=n.__mode,r=n.__format;n=n.__style;let i=e.__mode,l=e.__format;return e=e.__style,(t===null||t===i)&&(r===null||r===l)&&(n===null||n===e)}function Or(n,e){let t=n.mergeWithSibling(e),r=w()._normalizedNodes;return r.add(n.__key),r.add(e.__key),t}function Mr(n){if(n.__text===""&&n.isSimpleText()&&!n.isUnmergeable())n.remove();else{for(var e;(e=n.getPreviousSibling())!==null&&x(e)&&e.isSimpleText()&&!e.isUnmergeable();)if(e.__text==="")e.remove();else{Dr(e,n)&&(n=Or(e,n));break}for(var t;(t=n.getNextSibling())!==null&&x(t)&&t.isSimpleText()&&!t.isUnmergeable();)if(t.__text==="")t.remove();else{Dr(n,t)&&Or(n,t);break}}}function Pr(n){return Ar(n.anchor),Ar(n.focus),n}function Ar(n){for(;n.type==="element";){var e=n.getNode(),t=n.offset;if(t===e.getChildrenSize()?(e=e.getChildAtIndex(t-1),t=!0):(e=e.getChildAtIndex(t),t=!1),x(e)){n.set(e.__key,t?e.getTextContentSize():0,"text");break}else if(!g(e))break;n.set(e.__key,t?e.getChildrenSize():0,"element")}}let O="",B="",le="",de,R,Je,Ir=!1,hn=!1,Ct,St=null,an,_n,Te,he,cn,Xe;function Nt(n,e){let t=Te.get(n);if(e!==null){let r=mn(n);r.parentNode===e&&e.removeChild(r)}he.has(n)||R._keyToDOMMap.delete(n),g(t)&&(n=kt(t,Te),gn(n,0,n.length-1,null)),t!==void 0&&sn(Xe,Je,Ct,t,"destroyed")}function gn(n,e,t,r){for(;e<=t;++e){let i=n[e];i!==void 0&&Nt(i,r)}}function Ce(n,e){n.setProperty("text-align",e)}function Lr(n,e){var t=de.theme.indent;if(typeof t=="string"){let r=n.classList.contains(t);0<e&&!r?n.classList.add(t):1>e&&r&&n.classList.remove(t)}t=getComputedStyle(n).getPropertyValue("--lexical-indent-base-value")||"40px",n.style.setProperty("padding-inline-start",e===0?"":`calc(${e} * ${t})`)}function Rr(n,e){n=n.style,e===0?Ce(n,""):e===1?Ce(n,"left"):e===2?Ce(n,"center"):e===3?Ce(n,"right"):e===4?Ce(n,"justify"):e===5?Ce(n,"start"):e===6&&Ce(n,"end")}function Et(n,e,t){let r=he.get(n);r===void 0&&y(60);let i=r.createDOM(de,R);var l=R._keyToDOMMap;if(i["__lexicalKey_"+R._key]=n,l.set(n,i),x(r)?i.setAttribute("data-lexical-text","true"):E(r)&&i.setAttribute("data-lexical-decorator","true"),g(r)){if(n=r.__indent,l=r.__size,n!==0&&Lr(i,n),l!==0){--l,n=kt(r,he);var s=B;B="",pn(n,r,0,l,i,null),Wr(r,i),B=s}n=r.__format,n!==0&&Rr(i,n),r.isInline()||Br(null,r,i),gt(r)&&(O+=`
|
|
1
|
+
import"./sentry-DMKAGVXl.js";(function(){try{var j=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},Ke=new j.Error().stack;Ke&&(j._sentryDebugIds=j._sentryDebugIds||{},j._sentryDebugIds[Ke]="db515c42-1b62-473f-879c-96bbe6896659",j._sentryDebugIdIdentifier="sentry-dbid-db515c42-1b62-473f-879c-96bbe6896659")}catch{}})();var c={},Oi;function Sl(){if(Oi)return c;Oi=1;let j={},Ke={},Oe={},$e={},Kt={},Me={},$t={},Ut={},Ue={},Ve={},oe={},Vt={},Yt={},Hn={},Gn={},Jn={},Xn={},qn={},jn={},Qn={},dt={},Zn={},bn={},er={},tr={},nr={},rr={},ir={},lr={},sr={},Ht={},Gt={},or={},ur={},fr={};function y(n){throw Error(`Minified Lexical error #${n}; visit https://lexical.dev/docs/error?code=${n} for the full message or use the non-minified dev environment for full errors and additional helpful warnings.`)}let ie=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",Pi=ie&&"documentMode"in document?document.documentMode:null,F=ie&&/Mac|iPod|iPhone|iPad/.test(navigator.platform),me=ie&&/^(?!.*Seamonkey)(?=.*Firefox).*/i.test(navigator.userAgent),ht=ie&&"InputEvent"in window&&!Pi?"getTargetRanges"in new window.InputEvent("input"):!1,Jt=ie&&/Version\/[\d.]+.*Safari/.test(navigator.userAgent),Xt=ie&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream,Ai=ie&&/^(?=.*Chrome).*/i.test(navigator.userAgent),qt=ie&&/AppleWebKit\/[\d.]+/.test(navigator.userAgent)&&!Ai,at=Jt||Xt||qt?" ":"",Ii=me?" ":at,Li=/^[^A-Za-z\u00c0-\u00d6\u00d8-\u00f6\u00f8-\u02b8\u0300-\u0590\u0800-\u1fff\u200e\u2c00-\ufb1c\ufe00-\ufe6f\ufefd-\uffff]*[\u0591-\u07ff\ufb1d-\ufdfd\ufe70-\ufefc]/,Ri=/^[^\u0591-\u07ff\ufb1d-\ufdfd\ufe70-\ufefc]*[A-Za-z\u00c0-\u00d6\u00d8-\u00f6\u00f8-\u02b8\u0300-\u0590\u0800-\u1fff\u200e\u2c00-\ufb1c\ufe00-\ufe6f\ufefd-\uffff]/,ve={bold:1,code:16,highlight:128,italic:2,strikethrough:4,subscript:32,superscript:64,underline:8},Fi={directionless:1,unmergeable:2},dr={center:2,end:6,justify:4,left:1,right:3,start:5},Bi={2:"center",6:"end",4:"justify",1:"left",3:"right",5:"start"},Wi={normal:0,segmented:2,token:1},zi={0:"normal",2:"segmented",1:"token"},jt=!1,Qt=0;function Ki(n){Qt=n.timeStamp}function Zt(n,e,t){return e.__lexicalLineBreak===n||n[`__lexicalKey_${t._key}`]!==void 0}function $i(n){return n.getEditorState().read(()=>{let e=N();return e!==null?e.clone():null})}function hr(n,e,t){jt=!0;let r=100<performance.now()-Qt;try{V(n,()=>{let i=N()||$i(n);var l=new Map,s=n.getRootElement(),o=n._editorState,u=n._blockCursorElement;let f=!1,_="";for(var a=0;a<e.length;a++){var d=e[a],h=d.type,p=d.target,m=He(p,o);if(!(m===null&&p!==s||E(m))){if(h==="characterData"){if(d=r&&x(m))e:{d=i,h=p;var T=m;if(C(d)){var S=d.anchor.getNode();if(S.is(T)&&d.format!==S.getFormat()){d=!1;break e}}d=h.nodeType===3&&T.isAttached()}d&&(T=Z(n._window),h=d=null,T!==null&&T.anchorNode===p&&(d=T.anchorOffset,h=T.focusOffset),p=p.nodeValue,p!==null&&ln(m,p,d,h,!1))}else if(h==="childList"){for(f=!0,h=d.addedNodes,T=0;T<h.length;T++){S=h[T];var D=yr(S),Y=S.parentNode;Y==null||S===u||D!==null||S.nodeName==="BR"&&Zt(S,Y,n)||(me&&(D=S.innerText||S.nodeValue)&&(_+=D),Y.removeChild(S))}if(d=d.removedNodes,h=d.length,0<h){for(T=0,S=0;S<h;S++)Y=d[S],(Y.nodeName==="BR"&&Zt(Y,p,n)||u===Y)&&(p.appendChild(Y),T++);h!==T&&(p===s&&(m=o._nodeMap.get("root")),l.set(p,m))}}}}if(0<l.size)for(let[ce,ge]of l)if(g(ge))for(l=ge.getChildrenKeys(),s=ce.firstChild,o=0;o<l.length;o++)u=n.getElementByKey(l[o]),u!==null&&(s==null?(ce.appendChild(u),s=u):s!==u&&ce.replaceChild(u,s),s=s.nextSibling);else x(ge)&&ge.markDirty();if(l=t.takeRecords(),0<l.length){for(s=0;s<l.length;s++)for(u=l[s],o=u.addedNodes,u=u.target,a=0;a<o.length;a++)m=o[a],p=m.parentNode,p==null||m.nodeName!=="BR"||Zt(m,u,n)||p.removeChild(m);t.takeRecords()}i!==null&&(f&&(i.dirty=!0,fe(i)),me&&Sr(n)&&i.insertRawText(_))})}finally{jt=!1}}function ar(n){let e=n._observer;if(e!==null){let t=e.takeRecords();hr(n,t,e)}}function _r(n){Qt===0&&vt(n).addEventListener("textInput",Ki,!0),n._observer=new MutationObserver((e,t)=>{hr(n,e,t)})}let Ui=1,Vi=typeof queueMicrotask=="function"?queueMicrotask:n=>{Promise.resolve().then(n)};function bt(n){let e=document.activeElement;if(e===null)return!1;let t=e.nodeName;return E(He(n))&&(t==="INPUT"||t==="TEXTAREA"||e.contentEditable==="true"&&e.__lexicalEditor==null)}function Ye(n,e,t){let r=n.getRootElement();try{return r!==null&&r.contains(e)&&r.contains(t)&&e!==null&&!bt(e)&&en(e)===n}catch{return!1}}function en(n){for(;n!=null;){let e=n.__lexicalEditor;if(e!=null)return e;n=yt(n)}return null}function tn(n){return n.isToken()||n.isSegmented()}function _t(n){for(;n!=null;){if(n.nodeType===3)return n;n=n.firstChild}return null}function cr(n,e,t){return e=ve[e],n&e&&(t===null||(t&e)===0)?n^e:t===null||t&e?n|e:n}function gr(n){return x(n)||lt(n)||E(n)}function pr(n,e){if(e!=null)n.__key=e;else{W(),99<rt&&y(14),e=w();var t=ee(),r=""+Ui++;t._nodeMap.set(r,n),g(n)?e._dirtyElements.set(r,!0):e._dirtyLeaves.add(r),e._cloneNotNeeded.add(r),e._dirtyType=1,n.__key=r}}function xe(n){var e=n.getParent();if(e!==null){let i=n.getWritable();e=e.getWritable();var t=n.getPreviousSibling();if(n=n.getNextSibling(),t===null)if(n!==null){var r=n.getWritable();e.__first=n.__key,r.__prev=null}else e.__first=null;else{if(r=t.getWritable(),n!==null){let l=n.getWritable();l.__prev=r.__key,r.__next=l.__key}else r.__next=null;i.__prev=null}n===null?t!==null?(n=t.getWritable(),e.__last=t.__key,n.__next=null):e.__last=null:(n=n.getWritable(),t!==null?(t=t.getWritable(),t.__next=n.__key,n.__prev=t.__key):n.__prev=null,i.__next=null),e.__size--,i.__parent=null}}function ct(n){99<rt&&y(14);var e=n.getLatest(),t=e.__parent,r=ee();let i=w(),l=r._nodeMap;if(r=i._dirtyElements,t!==null)e:for(;t!==null;){if(r.has(t))break e;let s=l.get(t);if(s===void 0)break;r.set(t,!1),t=s.__parent}e=e.__key,i._dirtyType=1,g(n)?r.set(e,!0):i._dirtyLeaves.add(e)}function I(n){W();var e=w();let t=e._compositionKey;n!==t&&(e._compositionKey=n,t!==null&&(e=M(t),e!==null&&e.getWritable()),n!==null&&(n=M(n),n!==null&&n.getWritable()))}function ue(){return Le()?null:w()._compositionKey}function M(n,e){return n=(e||ee())._nodeMap.get(n),n===void 0?null:n}function yr(n,e){let t=w();return n=n[`__lexicalKey_${t._key}`],n!==void 0?M(n,e):null}function He(n,e){for(;n!=null;){let t=yr(n,e);if(t!==null)return t;n=yt(n)}return null}function mr(n){let e=Object.assign({},n._decorators);return n._pendingDecorators=e}function vr(n){return n.read(()=>Q().getTextContent())}function Yi(n,e){V(n,()=>{var t=ee();if(!t.isEmpty())if(e==="root")Q().markDirty();else{t=t._nodeMap;for(let[,r]of t)r.markDirty()}},n._pendingEditorState===null?{tag:"history-merge"}:void 0)}function Q(){return ee()._nodeMap.get("root")}function fe(n){W();let e=ee();n!==null&&(n.dirty=!0,n._cachedNodes=null),e._selection=n}function Pe(n){var e=w(),t;e:{for(t=n;t!=null;){let r=t[`__lexicalKey_${e._key}`];if(r!==void 0){t=r;break e}t=yt(t)}t=null}return t===null?(e=e.getRootElement(),n===e?M("root"):null):M(t)}function xr(n){return/[\uD800-\uDBFF][\uDC00-\uDFFF]/g.test(n)}function nn(n){let e=[];for(;n!==null;)e.push(n),n=n._parentEditor;return e}function Tr(){return Math.random().toString(36).replace(/[^a-z]+/g,"").substr(0,5)}function rn(n,e,t){if(e=Z(e._window),e!==null){var r=e.anchorNode,{anchorOffset:i,focusOffset:l}=e;if(r!==null&&(e=r.nodeType===3?r.nodeValue:null,r=He(r),e!==null&&x(r))){if(r.canContainTabs()){var s=e.includes(" ");if(t&&0<t.length&&s){s=t.length;let o=i+s-1,u=e.slice(0,o);e=e.slice(o,e.length),e=`${u}${t}${e}`,i+=s,l+=s}}e===at&&t&&(s=t.length,e=t,l=i=s),e!==null&&ln(r,e,i,l,n)}}}function ln(n,e,t,r,i){let l=n;if(l.isAttached()&&(i||!l.isDirty())){var s=l.isComposing();if(n=e,(s||i)&&e[e.length-1]===at&&(n=e.slice(0,-1)),e=l.getTextContent(),i||n!==e)if(n==="")if(I(null),Jt||Xt||qt)l.remove();else{let f=w();setTimeout(()=>{f.update(()=>{l.isAttached()&&l.remove()})},20)}else{i=l.getParent(),e=nt();var o=ue(),u=l.getKey();l.isToken()||o!==null&&u===o&&!s||i!==null&&C(e)&&!i.canInsertTextBefore()&&e.anchor.offset===0?l.markDirty():(s=N(),C(s)&&t!==null&&r!==null&&(s.setTextNodeRange(l,t,l,r),l.isSegmented()&&(t=l.getTextContent(),t=L(t),l.replace(t),l=t)),l.setTextContent(n))}}}function Hi(n,e){if(e.isSegmented())return!0;if(!n.isCollapsed())return!1;n=n.anchor.offset;let t=e.getParentOrThrow(),r=e.isToken();return n===0?((n=!e.canInsertTextBefore()||!t.canInsertTextBefore()||r)||(e=e.getPreviousSibling(),n=(x(e)||g(e)&&e.isInline())&&!e.canInsertTextAfter()),n):n===e.getTextContentSize()?!e.canInsertTextAfter()||!t.canInsertTextAfter()||r:!1}function Ge(n,e){var t=n[e];return typeof t=="string"?(t=t.split(" "),n[e]=t):t}function sn(n,e,t,r,i){t.size!==0&&(t=r.__key,e=e.get(r.__type),e===void 0&&y(33),r=e.klass,e=n.get(r),e===void 0&&(e=new Map,n.set(r,e)),n=e.get(t),r=n==="destroyed"&&i==="created",(n===void 0||r)&&e.set(t,r?"updated":i))}function Cr(n,e,t){let r=n.getParent(),i=t;return r!==null&&(e&&t===0?(i=n.getIndexWithinParent(),n=r):e||t!==n.getChildrenSize()||(i=n.getIndexWithinParent()+1,n=r)),n.getChildAtIndex(e?i-1:i)}function on(n,e){var t=n.offset;return n.type==="element"?(n=n.getNode(),Cr(n,e,t)):(n=n.getNode(),e&&t===0||!e&&t===n.getTextContentSize()?(t=e?n.getPreviousSibling():n.getNextSibling(),t===null?Cr(n.getParentOrThrow(),e,n.getIndexWithinParent()+(e?0:1)):t):null)}function Sr(n){return n=(n=vt(n).event)&&n.inputType,n==="insertFromPaste"||n==="insertFromPasteAsQuotation"}function gt(n){return!U(n)&&!n.isLastChild()&&!n.isInline()}function pt(n,e){return n=n._keyToDOMMap.get(e),n===void 0&&y(75),n}function yt(n){return n=n.assignedSlot||n.parentElement,n!==null&&n.nodeType===11?n.host:n}function Gi(n,e=0){if(e!==0&&y(1),e=N(),!C(e)||!g(n))return e;let{anchor:t,focus:r}=e,i=t.getNode(),l=r.getNode();return mt(i,n)&&t.set(n.__key,0,"element"),mt(l,n)&&r.set(n.__key,0,"element"),e}function mt(n,e){for(n=n.getParent();n!==null;){if(n.is(e))return!0;n=n.getParent()}return!1}function vt(n){return n=n._window,n===null&&y(78),n}function Nr(n){for(n=n.getParentOrThrow();n!==null&&!q(n);)n=n.getParentOrThrow();return n}function q(n){return U(n)||g(n)&&n.isShadowRoot()}function Er(n){return n=n.constructor.clone(n),pr(n,null),n}function xt(n){var e=w();let t=n.constructor.getType();return e=e._nodes.get(t),e===void 0&&y(97),e=e.replace,e!==null?(e=e(n),e instanceof n.constructor||y(98),e):n}function un(n,e){n=n.getParent(),!U(n)||g(e)||E(e)||y(99)}function fn(n){return(E(n)||g(n)&&!n.canBeEmpty())&&!n.isInline()}function dn(n,e,t){t.style.removeProperty("caret-color"),e._blockCursorElement=null,e=n.parentElement,e!==null&&e.removeChild(n)}function Z(n){return ie?(n||window).getSelection():null}function kr(n,e){let t=n.getChildAtIndex(e);t==null&&(t=n),q(n)&&y(102);let r=s=>{const o=s.getParentOrThrow(),u=q(o),f=s!==t||u?Er(s):s;if(u)return s.insertAfter(f),[s,f,f];const[_,a,d]=r(o);return s=s.getNextSiblings(),d.append(f,...s),[_,a,f]},[i,l]=r(t);return[i,l]}function Tt(n,e){for(;n!==Q()&&n!=null;){if(e(n))return n;n=n.getParent()}return null}function Ji(n){let e=[],t=[n];for(;0<t.length;){let r=t.pop();r===void 0&&y(112),g(r)&&t.unshift(...r.getChildren()),r!==n&&e.push(r)}return e}function wr(n,e,t,r,i){for(n=n.getFirstChild();n!==null;){let l=n.__key;n!==void 0&&n.__parent===e&&(g(n)&&wr(n,l,t,r,i),t.has(l)||i.delete(l),r.delete(l)),n=n.isAttached()?n.getNextSibling():null}}function Xi(n,e,t,r){n=n._nodeMap,e=e._nodeMap;for(let i of t){let l=e.get(i);l===void 0||l.isAttached()||(n.has(i)||t.delete(i),e.delete(i))}for(let[i]of r)t=e.get(i),t===void 0||t.isAttached()||(g(t)&&wr(t,i,n,e,r),n.has(i)||r.delete(i),e.delete(i))}function Dr(n,e){let t=n.__mode,r=n.__format;n=n.__style;let i=e.__mode,l=e.__format;return e=e.__style,(t===null||t===i)&&(r===null||r===l)&&(n===null||n===e)}function Or(n,e){let t=n.mergeWithSibling(e),r=w()._normalizedNodes;return r.add(n.__key),r.add(e.__key),t}function Mr(n){if(n.__text===""&&n.isSimpleText()&&!n.isUnmergeable())n.remove();else{for(var e;(e=n.getPreviousSibling())!==null&&x(e)&&e.isSimpleText()&&!e.isUnmergeable();)if(e.__text==="")e.remove();else{Dr(e,n)&&(n=Or(e,n));break}for(var t;(t=n.getNextSibling())!==null&&x(t)&&t.isSimpleText()&&!t.isUnmergeable();)if(t.__text==="")t.remove();else{Dr(n,t)&&Or(n,t);break}}}function Pr(n){return Ar(n.anchor),Ar(n.focus),n}function Ar(n){for(;n.type==="element";){var e=n.getNode(),t=n.offset;if(t===e.getChildrenSize()?(e=e.getChildAtIndex(t-1),t=!0):(e=e.getChildAtIndex(t),t=!1),x(e)){n.set(e.__key,t?e.getTextContentSize():0,"text");break}else if(!g(e))break;n.set(e.__key,t?e.getChildrenSize():0,"element")}}let O="",B="",le="",de,R,Je,Ir=!1,hn=!1,Ct,St=null,an,_n,Te,he,cn,Xe;function Nt(n,e){let t=Te.get(n);if(e!==null){let r=mn(n);r.parentNode===e&&e.removeChild(r)}he.has(n)||R._keyToDOMMap.delete(n),g(t)&&(n=kt(t,Te),gn(n,0,n.length-1,null)),t!==void 0&&sn(Xe,Je,Ct,t,"destroyed")}function gn(n,e,t,r){for(;e<=t;++e){let i=n[e];i!==void 0&&Nt(i,r)}}function Ce(n,e){n.setProperty("text-align",e)}function Lr(n,e){var t=de.theme.indent;if(typeof t=="string"){let r=n.classList.contains(t);0<e&&!r?n.classList.add(t):1>e&&r&&n.classList.remove(t)}t=getComputedStyle(n).getPropertyValue("--lexical-indent-base-value")||"40px",n.style.setProperty("padding-inline-start",e===0?"":`calc(${e} * ${t})`)}function Rr(n,e){n=n.style,e===0?Ce(n,""):e===1?Ce(n,"left"):e===2?Ce(n,"center"):e===3?Ce(n,"right"):e===4?Ce(n,"justify"):e===5?Ce(n,"start"):e===6&&Ce(n,"end")}function Et(n,e,t){let r=he.get(n);r===void 0&&y(60);let i=r.createDOM(de,R);var l=R._keyToDOMMap;if(i["__lexicalKey_"+R._key]=n,l.set(n,i),x(r)?i.setAttribute("data-lexical-text","true"):E(r)&&i.setAttribute("data-lexical-decorator","true"),g(r)){if(n=r.__indent,l=r.__size,n!==0&&Lr(i,n),l!==0){--l,n=kt(r,he);var s=B;B="",pn(n,r,0,l,i,null),Wr(r,i),B=s}n=r.__format,n!==0&&Rr(i,n),r.isInline()||Br(null,r,i),gt(r)&&(O+=`
|
|
2
2
|
|
|
3
3
|
`,le+=`
|
|
4
4
|
|