mixdashboards 1.0.95 → 1.0.97

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.
Files changed (369) hide show
  1. package/dist/AgActionsRenderer.vue_vue_type_script_setup_true_lang-CJoNU7fs.js +139 -0
  2. package/dist/AgActionsRenderer.vue_vue_type_script_setup_true_lang-Cojc_jSG.cjs +1 -0
  3. package/dist/{BaseComponent-CIst2h8G.cjs → BaseComponent-C42zZPAg.cjs} +1 -1
  4. package/dist/{BaseComponent-CDynr4Wh.js → BaseComponent-D7kfvQid.js} +3 -3
  5. package/dist/{EChartComponentBase-vS3I7IAs.js → EChartComponentBase-CrdwK43r.js} +2 -2
  6. package/dist/{EChartComponentBase-COpfXxIp.cjs → EChartComponentBase-pfIekVB2.cjs} +1 -1
  7. package/dist/{EmergencyPlanPanel-pImR2o3P.js → EmergencyPlanPanel-CS1QmwbK.js} +1 -1
  8. package/dist/{EmergencyPlanPanel-C8P0GI7X.cjs → EmergencyPlanPanel-CjLGAAbP.cjs} +1 -1
  9. package/dist/{HistoryPlanDialog-CJt9WdEo.js → HistoryPlanDialog-B1wtkugg.js} +1 -1
  10. package/dist/{HistoryPlanDialog-CTBHiL33.cjs → HistoryPlanDialog-jhNV_Oqc.cjs} +1 -1
  11. package/dist/{MixiotAppDetailPage-BlcjJEvU.js → MixiotAppDetailPage-BiZoXtfI.js} +1 -1
  12. package/dist/{MixiotAppDetailPage-Sh5uWfZQ.cjs → MixiotAppDetailPage-CrJRBNfc.cjs} +1 -1
  13. package/dist/{MonitoringMap-Db5Evmst.cjs → MonitoringMap-Btz8PiVj.cjs} +1 -1
  14. package/dist/{MonitoringMap-Tm3_uHk4.js → MonitoringMap-Dzb6SdgR.js} +2 -2
  15. package/dist/{UniverSheet-CnA6FQC4.cjs → UniverSheet-DHfcCwtp.cjs} +1 -1
  16. package/dist/{UniverSheet-BQ80juz0.js → UniverSheet-DuL-rk5s.js} +2 -2
  17. package/dist/{accelerationChart-Bv6urq3Z.js → accelerationChart-B04m3kGz.js} +2 -2
  18. package/dist/{accelerationChart-CVWR4I6j.cjs → accelerationChart-DrJ_eq7I.cjs} +1 -1
  19. package/dist/{actionItem-Db9YTPOf.cjs → actionItem-Zm6EHUHY.cjs} +1 -1
  20. package/dist/{actionItem-eYAPDWJd.js → actionItem-e-PLFmgU.js} +2 -2
  21. package/dist/{alarmLevelChart-1UVCVoqR.js → alarmLevelChart-DdgByLdg.js} +2 -2
  22. package/dist/{alarmLevelChart-spD1sxSo.cjs → alarmLevelChart-Vu7rFfmM.cjs} +1 -1
  23. package/dist/{alertTable-D3vceqRf.cjs → alertTable-C4NnDMYg.cjs} +1 -1
  24. package/dist/{alertTable-Cq-bm31Z.js → alertTable-C5z7ILNj.js} +2 -2
  25. package/dist/{aliasObjectSelectorDemo-CqL71xrB.cjs → aliasObjectSelectorDemo-BoN6KxiC.cjs} +1 -1
  26. package/dist/{aliasObjectSelectorDemo-OMLXF6zO.js → aliasObjectSelectorDemo-C1vc4Qe6.js} +1 -1
  27. package/dist/{annualRainfallChart-D5jvzBdF.cjs → annualRainfallChart-BdFRM0vA.cjs} +1 -1
  28. package/dist/{annualRainfallChart-Bh51Y8J0.js → annualRainfallChart-Cte3Faau.js} +2 -2
  29. package/dist/{aqi-DDvUmbmk.js → aqi-BixnVgn2.js} +9 -9
  30. package/dist/{aqi-6DGC3Omw.cjs → aqi-Cgb3Vwad.cjs} +1 -1
  31. package/dist/{aqiIndass-Dm7Ak1t1.cjs → aqiIndass-Cs9Ihmtw.cjs} +1 -1
  32. package/dist/{aqiIndass-DwJPngho.js → aqiIndass-DgtV1bOL.js} +15 -15
  33. package/dist/{areaDeformCurve-EEudvN8P.cjs → areaDeformCurve-DUTOFO7B.cjs} +1 -1
  34. package/dist/{areaDeformCurve-DaVqM10Q.js → areaDeformCurve-tiJ0tblV.js} +2 -2
  35. package/dist/{arrayCard-BuhSczlA.js → arrayCard-BhMc72ZG.js} +2 -2
  36. package/dist/{arrayCard-CvNWzdkW.cjs → arrayCard-DkZVKQGQ.cjs} +1 -1
  37. package/dist/{audio-D90BXHEx.js → audio-DGJ648Nc.js} +2 -2
  38. package/dist/{audio-BS2BkAD6.cjs → audio-O6bMgHJQ.cjs} +1 -1
  39. package/dist/{bar-DMn6jdR5.js → bar-CEUnNrnA.js} +2 -2
  40. package/dist/{bar-Zfi2zEac.cjs → bar-D1DpfKwR.cjs} +1 -1
  41. package/dist/basicShapeToolbox-COWozQbc.cjs +1 -0
  42. package/dist/{basicShapeToolbox-IpvEWS3m.js → basicShapeToolbox-DuNotFN_.js} +3 -3
  43. package/dist/{bmp-nZQprsKY.cjs → bmp-BdA3u_nP.cjs} +1 -1
  44. package/dist/{bmp-BynLW8Wd.js → bmp-D_qPtSuK.js} +2 -2
  45. package/dist/{box-Dz4r4YYF.js → box-Bny02hiJ.js} +2 -2
  46. package/dist/{box-CSruteex.cjs → box-DDZH_UNM.cjs} +1 -1
  47. package/dist/{chartConfigPanel-DBF3Wx4F.cjs → chartConfigPanel-B9S6EiKT.cjs} +1 -1
  48. package/dist/{chartConfigPanel-f44Qtke-.js → chartConfigPanel-DvzAeXQE.js} +1 -1
  49. package/dist/{circleBar-CO3o8ByN.cjs → circleBar-C-p-P2K3.cjs} +1 -1
  50. package/dist/{circleBar-CtPFr6JX.js → circleBar-ISuDghgH.js} +8 -8
  51. package/dist/{clock-BRzseKic.cjs → clock-BAZ7gHGS.cjs} +1 -1
  52. package/dist/{clock-CchPRNtc.js → clock-o-g0Qpa7.js} +2 -2
  53. package/dist/{clt-BDhAtdJx.js → clt-CVEtdnpX.js} +2 -2
  54. package/dist/{clt-BLpQ1x4t.cjs → clt-DPq4dqmh.cjs} +1 -1
  55. package/dist/{cmc-twJ1AgHU.js → cmc-4m3QyBlX.js} +2 -2
  56. package/dist/{cmc-CvRgThhq.cjs → cmc-B-wg04Ri.cjs} +1 -1
  57. package/dist/{cmp-CO5hLZ1v.js → cmp-DD8sRmv_.js} +11 -11
  58. package/dist/{cmp-B0NosMZN.cjs → cmp-W-8LSAIe.cjs} +1 -1
  59. package/dist/{conclusionCard-B-ekbdhn.cjs → conclusionCard-BrrCOKf2.cjs} +1 -1
  60. package/dist/{conclusionCard-B6pdcA-3.js → conclusionCard-mbP-mRcJ.js} +2 -2
  61. package/dist/controlList-BrZys8D6.js +757 -0
  62. package/dist/controlList-DlqgQ510.cjs +1 -0
  63. package/dist/controlRecordList-B-lHEslj.cjs +1 -0
  64. package/dist/controlRecordList-BfQU3BYg.js +295 -0
  65. package/dist/{controlRecordListAPP-C7MUibBb.js → controlRecordListAPP-CV33yLCF.js} +2 -2
  66. package/dist/{controlRecordListAPP-BdT7UR3c.cjs → controlRecordListAPP-DbSRJUMy.cjs} +1 -1
  67. package/dist/crd-D8-JrYYm.cjs +1 -0
  68. package/dist/{crd-fmbrjZD7.js → crd-DpjRg2wi.js} +52 -50
  69. package/dist/{ctrBtn-W4abaB3U.cjs → ctrBtn-CKhVuncE.cjs} +1 -1
  70. package/dist/{ctrBtn-Dq6mpOsY.js → ctrBtn-DVnTSpMy.js} +3 -3
  71. package/dist/{ctrSet-xd_zIoJ2.cjs → ctrSet-D3HJgviN.cjs} +1 -1
  72. package/dist/{ctrSet-Br_MBjO-.js → ctrSet-DgMrl4yM.js} +3 -3
  73. package/dist/{ctrSwitch-CwPnRe4L.cjs → ctrSwitch-CLQPCuk8.cjs} +1 -1
  74. package/dist/{ctrSwitch-DTzUrEE_.js → ctrSwitch-CabBqoqJ.js} +3 -3
  75. package/dist/{dataManagement-BhEwqXHV.cjs → dataManagement-CmBsCjjz.cjs} +1 -1
  76. package/dist/{dataManagement-C49vYp12.js → dataManagement-DiJg7jlN.js} +2 -2
  77. package/dist/{dataReport-DSDd8eie.js → dataReport-BRKlDrnT.js} +2 -2
  78. package/dist/{dataReport-DYBqw0YQ.cjs → dataReport-C58Z1WyN.cjs} +1 -1
  79. package/dist/{dataTable-D2qgTxpB.js → dataTable-D9pJzwtQ.js} +1 -1
  80. package/dist/{dataTable-Cy-086YO.cjs → dataTable-n4TQYX4v.cjs} +1 -1
  81. package/dist/{datetime-COKFm9L5.js → datetime-B-KYzzjs.js} +2 -2
  82. package/dist/{datetime-DFUVJb4S.cjs → datetime-Cp-aTjx9.cjs} +1 -1
  83. package/dist/{deepClusterSlipSurface-DJzALgcB.js → deepClusterSlipSurface-Cb6AKo_u.js} +5 -5
  84. package/dist/{deepClusterSlipSurface-BPISTQcX.cjs → deepClusterSlipSurface-Cs4au-D7.cjs} +1 -1
  85. package/dist/{deepDataMatrix-w0cfO2B_.js → deepDataMatrix-D18UbgVg.js} +2 -2
  86. package/dist/{deepDataMatrix-Bi3g_bKW.cjs → deepDataMatrix-edH7pl5I.cjs} +1 -1
  87. package/dist/{deepDisplacement3D-C1ttX8aE.js → deepDisplacement3D-C_ezOVqs.js} +2 -2
  88. package/dist/{deepDisplacement3D-CIyaSi0I.cjs → deepDisplacement3D-CjUFL7gl.cjs} +1 -1
  89. package/dist/{deepDisplacementChart-CI7DxjHz.js → deepDisplacementChart-BNVKT9M5.js} +3 -3
  90. package/dist/{deepDisplacementChart-C2iv9NHz.cjs → deepDisplacementChart-COdOOjQT.cjs} +1 -1
  91. package/dist/{deepDisplacementChart-Dk_rmKnV.js → deepDisplacementChart-DlFZBsHh.js} +2 -2
  92. package/dist/{deepDisplacementChart-CYstKBTy.cjs → deepDisplacementChart-Tfqj9khW.cjs} +1 -1
  93. package/dist/{deepDisplacementView-CIffZ686.js → deepDisplacementView-BcYMcimK.js} +1 -1
  94. package/dist/{deepDisplacementView-Dq4b2RbZ.cjs → deepDisplacementView-C5dr_KFf.cjs} +1 -1
  95. package/dist/{deepNodeTemperatureChart-OVbfuoz6.cjs → deepNodeTemperatureChart-CyjWwmRb.cjs} +1 -1
  96. package/dist/{deepNodeTemperatureChart-C2gt2VNw.js → deepNodeTemperatureChart-DZLc9z6n.js} +5 -5
  97. package/dist/{deepTangentAngleChart-DqtJDwQf.js → deepTangentAngleChart-DsyFhBgJ.js} +6 -6
  98. package/dist/{deepTangentAngleChart-C-NNLv4_.cjs → deepTangentAngleChart-a41v2DRO.cjs} +1 -1
  99. package/dist/{deepTemperatureField-BsxBNJ-G.cjs → deepTemperatureField-BKwbER4Z.cjs} +1 -1
  100. package/dist/{deepTemperatureField-BeQX4h51.js → deepTemperatureField-CTtxBHkt.js} +7 -7
  101. package/dist/{deepTrendChart-Dk-eTMyG.cjs → deepTrendChart-B7T-ykiy.cjs} +1 -1
  102. package/dist/{deepTrendChart-sxOxHlRy.js → deepTrendChart-DCJmZ38j.js} +5 -5
  103. package/dist/{deviceOnlineStatus-J3R8H1RD.cjs → deviceOnlineStatus-DJLS5d8V.cjs} +1 -1
  104. package/dist/{deviceOnlineStatus-CKijwYuq.js → deviceOnlineStatus-vvs3IjoT.js} +2 -2
  105. package/dist/{deviceStatus-CnfzQ719.js → deviceStatus-8Y7fqV7j.js} +2 -2
  106. package/dist/{deviceStatus-Bt1e3XlG.cjs → deviceStatus-fsvw50YY.cjs} +1 -1
  107. package/dist/{displacementDataTable-B5thhB6W.cjs → displacementDataTable-CAj6C6ug.cjs} +1 -1
  108. package/dist/{displacementDataTable-CbGeB6cZ.js → displacementDataTable-zCrCdDAk.js} +2 -2
  109. package/dist/{displacementTrajectoryChart-B1p6RdoR.cjs → displacementTrajectoryChart-BArbCJTS.cjs} +1 -1
  110. package/dist/{displacementTrajectoryChart-D6BsvUrc.js → displacementTrajectoryChart-iL4iRKZ2.js} +2 -2
  111. package/dist/{displacementTrendChart-B0GB0r8C.cjs → displacementTrendChart-B_5KOzmg.cjs} +1 -1
  112. package/dist/{displacementTrendChart-D0mhffyM.js → displacementTrendChart-jI9s1jqc.js} +2 -2
  113. package/dist/{dxf-ChDppNsq.cjs → dxf-EOLYvUtK.cjs} +1 -1
  114. package/dist/{dxf-BSWNRcSp.js → dxf-Wr__XlMC.js} +2 -2
  115. package/dist/{dzc-j07WTq_9.js → dzc-BWDvHjPU.js} +12 -12
  116. package/dist/{dzc-CjI1wBLb.cjs → dzc-D8XN73z2.cjs} +1 -1
  117. package/dist/{emergencyPlan-CJljT67A.cjs → emergencyPlan-CI9EkZfn.cjs} +1 -1
  118. package/dist/{emergencyPlan-DWXloQOJ.js → emergencyPlan-DVQEu9zg.js} +3 -3
  119. package/dist/{evn-C85HtXrl.cjs → evn-2U-jKoDM.cjs} +1 -1
  120. package/dist/{evn-DVXNLw3K.js → evn-CkEHDEjn.js} +2 -2
  121. package/dist/{evolutionChart-CiSJ0zjN.js → evolutionChart-DAh8Gy4-.js} +3 -3
  122. package/dist/{evolutionChart-CzqdvPgf.cjs → evolutionChart-DxkVM36e.cjs} +1 -1
  123. package/dist/{fileViewer-AuP1BMOL.cjs → fileViewer-C8XZYud4.cjs} +1 -1
  124. package/dist/{fileViewer-BfvwEeaA.js → fileViewer-CR0Ldpe9.js} +2 -2
  125. package/dist/{filterBar-DxLYIinB.cjs → filterBar-CVm0E6_U.cjs} +1 -1
  126. package/dist/{filterBar-C6XiY3D6.js → filterBar-DWLGgMzl.js} +2 -2
  127. package/dist/{fireCombustionCurve-DZ0aQVHp.js → fireCombustionCurve-w50Ad5Qz.js} +3 -3
  128. package/dist/{fireCombustionCurve-8cJxPiAg.cjs → fireCombustionCurve-yQMkVsEM.cjs} +1 -1
  129. package/dist/{fireFilterBar-ZaI62_tT.cjs → fireFilterBar-DbmtTFOx.cjs} +1 -1
  130. package/dist/{fireFilterBar-BCnSNarb.js → fireFilterBar-Duk7OJ9Y.js} +2 -2
  131. package/dist/{fireHistoryTable-PZdwtN69.cjs → fireHistoryTable-BO6ej88t.cjs} +1 -1
  132. package/dist/{fireHistoryTable-BXC6ZYkJ.js → fireHistoryTable-DPBVjZiJ.js} +2 -2
  133. package/dist/{gag-CbkboK8w.cjs → gag-BMTle0iW.cjs} +1 -1
  134. package/dist/{gag--ZAXdXFK.js → gag-CSAmkyDD.js} +5 -5
  135. package/dist/{gasStationList-DvzI0A1r.js → gasStationList-CQgakcsg.js} +2 -2
  136. package/dist/{gasStationList-Cw7AH91B.cjs → gasStationList-DnQK3yKb.cjs} +1 -1
  137. package/dist/{geo3dViewer-mFrWGimz.cjs → geo3dViewer-BIlig7g_.cjs} +1 -1
  138. package/dist/{geo3dViewer-fK7PZCvz.js → geo3dViewer-mJDVY5cp.js} +3 -3
  139. package/dist/{glbModel-BgqZX5Vh.js → glbModel-BzxP8shl.js} +2 -2
  140. package/dist/{glbModel-iV3SV8Ig.cjs → glbModel-DnWXDJic.cjs} +1 -1
  141. package/dist/{globalObjectSelector-DKw1vigz.cjs → globalObjectSelector-Cp55ZFxL.cjs} +1 -1
  142. package/dist/{globalObjectSelector-EwvayNUM.js → globalObjectSelector-lYWLbEt8.js} +1 -1
  143. package/dist/{gnssFilterBar-Bh0x2hth.js → gnssFilterBar-4yJR6Hid.js} +2 -2
  144. package/dist/{gnssFilterBar-X7HKdDTm.cjs → gnssFilterBar-BcXsjKvN.cjs} +1 -1
  145. package/dist/{gnssHistoryTable-DgH6SjDn.cjs → gnssHistoryTable-CQhYzIkF.cjs} +1 -1
  146. package/dist/{gnssHistoryTable-CRnzvH_A.js → gnssHistoryTable-V6L8Mapo.js} +2 -2
  147. package/dist/{gnssMapView-Dw4_9_Mv.js → gnssMapView-B-uzWumH.js} +4 -4
  148. package/dist/{gnssMapView-WYpkFEvR.cjs → gnssMapView-CCJ_Y4o6.cjs} +2 -2
  149. package/dist/{gnssSectionProfile-DmQNxm5Z.js → gnssSectionProfile-B8Rt-CF9.js} +2 -2
  150. package/dist/{gnssSectionProfile-CkWQ6OJ5.cjs → gnssSectionProfile-B_8IErhJ.cjs} +1 -1
  151. package/dist/{gnssTimeSeriesChart-XHZlhMj6.js → gnssTimeSeriesChart-BaP9brVp.js} +2 -2
  152. package/dist/{gnssTimeSeriesChart-DQgAq0a7.cjs → gnssTimeSeriesChart-IF2Zzgya.cjs} +1 -1
  153. package/dist/{gnssXYTrajectory-CSo1u1n3.js → gnssXYTrajectory-BNXHdP5L.js} +2 -2
  154. package/dist/{gnssXYTrajectory-DGHeShyk.cjs → gnssXYTrajectory-DZXUOtdZ.cjs} +1 -1
  155. package/dist/{grd-CZkreEUN.js → grd-CRF5hQq3.js} +2 -2
  156. package/dist/{grd-v0lK1kF4.cjs → grd-q2JwG1LL.cjs} +1 -1
  157. package/dist/{grdIndass-BT0BFDGR.cjs → grdIndass-B_nXfqqR.cjs} +1 -1
  158. package/dist/{grdIndass-D6yoBQ17.js → grdIndass-C8DPNROD.js} +2 -2
  159. package/dist/{grg-DRWv1y-A.cjs → grg-DHuXQP_O.cjs} +1 -1
  160. package/dist/{grg-DckR9cWt.js → grg-M9MwBK9q.js} +6 -6
  161. package/dist/{gridview-BNsYOW5h.cjs → gridview-DLILP3no.cjs} +1 -1
  162. package/dist/{gridview-BeWxnPvt.js → gridview-DTqcftjZ.js} +2 -2
  163. package/dist/{groundwaterFilterBar-yRYOHhla.js → groundwaterFilterBar-DwrhRk_v.js} +2 -2
  164. package/dist/{groundwaterFilterBar-DlJ6qtXT.cjs → groundwaterFilterBar-zXbia-fX.cjs} +1 -1
  165. package/dist/{groundwaterProfileChart-DH4qqAPc.cjs → groundwaterProfileChart-DrdP76cd.cjs} +2 -2
  166. package/dist/{groundwaterProfileChart-Bt_O3O-n.js → groundwaterProfileChart-PjBzMvbw.js} +3 -3
  167. package/dist/{groundwaterTimeCurve-Ck0jjuL8.js → groundwaterTimeCurve-DInTJEEl.js} +3 -3
  168. package/dist/{groundwaterTimeCurve-BXMGUMmt.cjs → groundwaterTimeCurve-DYk42p1p.cjs} +1 -1
  169. package/dist/{groupCard-D0UsDuiC.js → groupCard-BrNzGFVs.js} +2 -2
  170. package/dist/{groupCard-B-IRFBAh.cjs → groupCard-CNuEYy3p.cjs} +1 -1
  171. package/dist/{headerBar-B1WEFdX3.cjs → headerBar-BEoo20so.cjs} +1 -1
  172. package/dist/{headerBar-D5Xt_cgG.js → headerBar-C5tkesYI.js} +2 -2
  173. package/dist/{history-DQBAOa1f.js → history-D_JkziAv.js} +1 -1
  174. package/dist/{history-CDhWtnKJ.cjs → history-b7zBiHDz.cjs} +1 -1
  175. package/dist/{index-dAR2gb1S.js → index-CaDDNmGU.js} +3725 -3636
  176. package/dist/index-PR_k3tQg.cjs +615 -0
  177. package/dist/{insarDeformChart-Ca-7OxkY.js → insarDeformChart-C5PiLbYU.js} +2 -2
  178. package/dist/{insarDeformChart-Cpj6erLV.cjs → insarDeformChart-DBXyVjKk.cjs} +1 -1
  179. package/dist/{insarImageViewer-B13fJI8O.cjs → insarImageViewer-B9-QQ_De.cjs} +1 -1
  180. package/dist/{insarImageViewer-DPl6v87T.js → insarImageViewer-BEeQiS6N.js} +2 -2
  181. package/dist/{kds-DOWMe1al.js → kds-BoR05GUP.js} +10 -10
  182. package/dist/{kds-BKeCFcf9.cjs → kds-JbCbEtJs.cjs} +1 -1
  183. package/dist/{kpiCard-qgFod_Ua.cjs → kpiCard-7v6bZGP2.cjs} +1 -1
  184. package/dist/{kpiCard-CCFRhtwi.js → kpiCard-BP-GnthE.js} +2 -2
  185. package/dist/{landslideMap-BQlFx7Cv.js → landslideMap-BMu2X2bN.js} +3 -3
  186. package/dist/{landslideMap-BzeioyHt.cjs → landslideMap-D59SrOZE.cjs} +1 -1
  187. package/dist/{landslideWarning-VULyaEXL.cjs → landslideWarning-C_hcQ1wr.cjs} +1 -1
  188. package/dist/{landslideWarning-M7D7Bl_l.js → landslideWarning-DeB2bNpu.js} +5 -5
  189. package/dist/{layerTabs-BlaGgxva.js → layerTabs-ByZZMwks.js} +2 -2
  190. package/dist/{layerTabs-DMUf84AC.cjs → layerTabs-C1XclQOC.cjs} +1 -1
  191. package/dist/{leaflet-src-ClJjz25G.js → leaflet-src-O0MJ0wU5.js} +1 -1
  192. package/dist/{leaflet-src-DV6okrEg.cjs → leaflet-src-w8JmXMPG.cjs} +1 -1
  193. package/dist/{lerc-CI8uTaV0.js → lerc-BSgE4FKp.js} +2 -2
  194. package/dist/{lerc-DgZ-wqgS.cjs → lerc-C0ekD7Me.cjs} +1 -1
  195. package/dist/{lin-B1h1vCEM.cjs → lin-DGOJIF6s.cjs} +1 -1
  196. package/dist/{lin-DoCO7YNv.js → lin-DGafw8zf.js} +11 -11
  197. package/dist/{linIndass-0AjC0BWn.cjs → linIndass-BERNb4X3.cjs} +1 -1
  198. package/dist/{linIndass-CBpi3PAZ.js → linIndass-BLAQz5op.js} +6 -6
  199. package/dist/{lst-Di4jQX13.cjs → lst-BbLp5U-f.cjs} +1 -1
  200. package/dist/{lst-DOQ0I-QM.js → lst-Cb1RdJ3D.js} +2 -2
  201. package/dist/{manualEntry-Cbkj0184.js → manualEntry-C3aJpT9g.js} +2 -2
  202. package/dist/{manualEntry-P8Nl97Qi.cjs → manualEntry-Ztj3fH3A.cjs} +1 -1
  203. package/dist/{mapBackground-DQ9_4u47.js → mapBackground-BPNim3nv.js} +3 -3
  204. package/dist/{mapBackground-B8qmaFhT.cjs → mapBackground-CzRZzD1O.cjs} +1 -1
  205. package/dist/mappingList-B6NYcjIa.js +790 -0
  206. package/dist/mappingList-B_FVwWfC.cjs +1 -0
  207. package/dist/{markdownViewer-CUD-sV4Y.cjs → markdownViewer-BPdAvoWW.cjs} +1 -1
  208. package/dist/{markdownViewer-DoNdzIKf.js → markdownViewer-CSMB8l93.js} +2 -2
  209. package/dist/materialFileUrl-BR6anfF2.cjs +1 -0
  210. package/dist/materialFileUrl-BUkIkwgp.js +108 -0
  211. package/dist/{mix-control-modal-Ckptw_rw.js → mix-control-modal-46dJ4X4L.js} +1 -1
  212. package/dist/{mix-control-modal-C_uKEO_a.cjs → mix-control-modal-oDAz2GZ_.cjs} +1 -1
  213. package/dist/{mixGrid-6zeicQ3c.cjs → mixGrid-1tOrywk7.cjs} +1 -1
  214. package/dist/{mixGrid-CTVvp9QF.js → mixGrid-F-d2hIht.js} +2 -2
  215. package/dist/mixdashboards.cjs +1 -1
  216. package/dist/mixdashboards.css +1 -1
  217. package/dist/mixdashboards.js +1 -1
  218. package/dist/{mjpegCamera-iTrVcLgw.cjs → mjpegCamera-Bzf9Zlb9.cjs} +1 -1
  219. package/dist/{mjpegCamera-Vcjc4TDv.js → mjpegCamera-CAR217Pv.js} +2 -2
  220. package/dist/{monitorAlert-C-4k1_jT.cjs → monitorAlert-BJtWNV53.cjs} +1 -1
  221. package/dist/{monitorAlert-Dr38wAgW.js → monitorAlert-CD2NRVzR.js} +2 -2
  222. package/dist/{monitorData-C1TidDg9.js → monitorData-CviwIANH.js} +2 -2
  223. package/dist/{monitorData-CZVyYd2r.cjs → monitorData-D2rrSoJh.cjs} +1 -1
  224. package/dist/{monitorSpeedChart-17C8sMrk.cjs → monitorSpeedChart-BUfGJsBO.cjs} +1 -1
  225. package/dist/{monitorSpeedChart-BcpBU8eq.js → monitorSpeedChart-DCMb9kVx.js} +1 -1
  226. package/dist/{mxa-CM0cQhnm.js → mxa-CAgh10Ux.js} +6 -6
  227. package/dist/{mxa-Bgnj8E8y.cjs → mxa-CTkUFkJB.cjs} +1 -1
  228. package/dist/{myValue-8ohRFr2E.js → myValue-BwWuUkn0.js} +2 -2
  229. package/dist/{myValue-BLbSXlWk.cjs → myValue-CTtwYm45.cjs} +1 -1
  230. package/dist/{myValueList-CHcuWTTH.cjs → myValueList-8goYepha.cjs} +1 -1
  231. package/dist/{myValueList-COjvkd2-.js → myValueList-D-EbIIcT.js} +2 -2
  232. package/dist/objectList-B6S5Vbt7.js +1824 -0
  233. package/dist/objectList-Dbkam4GS.cjs +1 -0
  234. package/dist/{objectListAPP-bzNJlVaA.js → objectListAPP-6EVjt25O.js} +3 -3
  235. package/dist/{objectListAPP-Dq8fHxp8.cjs → objectListAPP-BRDAVQcL.cjs} +1 -1
  236. package/dist/{percentBar-FUCfrT8V.js → percentBar-CXFGCu39.js} +9 -9
  237. package/dist/{percentBar-SFYgecHA.cjs → percentBar-CllO6t03.cjs} +1 -1
  238. package/dist/photo-Bm9bjJ5L.cjs +1 -0
  239. package/dist/{photo-TgHIe0Ch.js → photo-CISKz3py.js} +4 -4
  240. package/dist/{pie-C48Objcw.js → pie-B3nio1dC.js} +8 -8
  241. package/dist/{pie-BZ77ZyhE.cjs → pie-CsZff0UE.cjs} +1 -1
  242. package/dist/{placeholder-_psD4WXJ.cjs → placeholder-CPgwWlNB.cjs} +1 -1
  243. package/dist/{placeholder-CxNDI9H6.js → placeholder-q3O8Bva5.js} +1 -1
  244. package/dist/{pressBtn-B5Z00Ths.js → pressBtn-BSWda69G.js} +3 -3
  245. package/dist/{pressBtn-DPKQTc72.cjs → pressBtn-Bq1_wegh.cjs} +1 -1
  246. package/dist/{processTable-DHGOo7NC.cjs → processTable-BP4EKe75.cjs} +1 -1
  247. package/dist/{processTable-Dy8AKXfL.js → processTable-C9Q2jiVC.js} +2 -2
  248. package/dist/{progressBar-DAkhmQGk.cjs → progressBar-Bb9apofa.cjs} +1 -1
  249. package/dist/{progressBar-BsbB_lCn.js → progressBar-DGI1hKbd.js} +2 -2
  250. package/dist/{progressCircle-Bo6lG0y4.cjs → progressCircle-BRbfwnB-.cjs} +1 -1
  251. package/dist/{progressCircle-dtQ2Mr98.js → progressCircle-B_yHB1bZ.js} +2 -2
  252. package/dist/{qrcode-PDPXI73T.js → qrcode-B4O103tY.js} +308 -307
  253. package/dist/qrcode-CMYqHUmi.cjs +1 -0
  254. package/dist/{raceBar-CORYOqMg.cjs → raceBar-BBTSuU97.cjs} +1 -1
  255. package/dist/{raceBar-BuuLeY-X.js → raceBar-CJ4qBGhx.js} +6 -6
  256. package/dist/{rad-CNwy6iai.js → rad-DR-duEfw.js} +7 -7
  257. package/dist/{rad-BmQsBbVy.cjs → rad-np3W7CAD.cjs} +1 -1
  258. package/dist/{radarMapViewer-BADJdQo5.js → radarMapViewer-BVtJ2q6c.js} +2 -2
  259. package/dist/{radarMapViewer-CrMIxOBL.cjs → radarMapViewer-kbdzbDKP.cjs} +1 -1
  260. package/dist/{rainfallFilterBar-CiOm_zYw.js → rainfallFilterBar-CYpib1XL.js} +2 -2
  261. package/dist/{rainfallFilterBar-MmjGAJRF.cjs → rainfallFilterBar-DuZwhtKa.cjs} +1 -1
  262. package/dist/{rainfallTimeCurve-BAKEsUwe.js → rainfallTimeCurve-BT4rE2Vc.js} +3 -3
  263. package/dist/{rainfallTimeCurve-C2ysFIbv.cjs → rainfallTimeCurve-DYWpLoT1.cjs} +1 -1
  264. package/dist/{rangeLin-DBV9Ss9P.js → rangeLin-BBcJ9PnJ.js} +7 -7
  265. package/dist/{rangeLin-6kOG5U0P.cjs → rangeLin-ChaYkb8_.cjs} +1 -1
  266. package/dist/{realtimeEvolutionMap-C8Dsp61U.js → realtimeEvolutionMap-CJxCeMCD.js} +2 -2
  267. package/dist/{realtimeEvolutionMap-RVlodvbx.cjs → realtimeEvolutionMap-UFga_5-Z.cjs} +1 -1
  268. package/dist/{regionBar-CuD510qV.cjs → regionBar-CdvwMj9w.cjs} +1 -1
  269. package/dist/{regionBar-sPagXetw.js → regionBar-D2tQM5cu.js} +2 -2
  270. package/dist/{request-DtzGiXvj.cjs → request-CBFwthty.cjs} +1 -1
  271. package/dist/{request-Do8WJeMw.js → request-D0RrTUSz.js} +1 -1
  272. package/dist/{retainer1-C8Do2c08.cjs → retainer1-BGV2MuUp.cjs} +1 -1
  273. package/dist/{retainer1-CrZIpnRg.js → retainer1-YHosRvc1.js} +3 -3
  274. package/dist/{retainer2-BG9yfpJ5.cjs → retainer2-Un2rhmxB.cjs} +1 -1
  275. package/dist/{retainer2-0h4QPS_q.js → retainer2-Wvm3l39y.js} +3 -3
  276. package/dist/retainerRecordList-C_aduEsj.cjs +1 -0
  277. package/dist/retainerRecordList-CqOPgM_e.js +772 -0
  278. package/dist/{retainerRecordListAPP-DPcEWs2r.js → retainerRecordListAPP-CutsTHxC.js} +3 -3
  279. package/dist/{retainerRecordListAPP-DYifrv8O.cjs → retainerRecordListAPP-UOXVHQzs.cjs} +1 -1
  280. package/dist/{ringTopN-DqDVlrjM.js → ringTopN-BhDlEOCJ.js} +5 -5
  281. package/dist/{ringTopN-CrJ_d3bE.cjs → ringTopN-mA9LAgFN.cjs} +1 -1
  282. package/dist/{riskRegionTable-DP2yKg1m.js → riskRegionTable-CYTLnsH-.js} +2 -2
  283. package/dist/{riskRegionTable-DXn7fEY5.cjs → riskRegionTable-Cm9BsaWA.cjs} +1 -1
  284. package/dist/{sankey-Bu-SU7-2.cjs → sankey-BmvrkXRY.cjs} +1 -1
  285. package/dist/{sankey-CT3ba6e5.js → sankey-jU9Dscb_.js} +8 -8
  286. package/dist/{scd-DLEMda1z.js → scd-CGTKGaWO.js} +3 -3
  287. package/dist/{scd-B0uAZi1c.cjs → scd-TQcCDjoj.cjs} +1 -1
  288. package/dist/{sideMenu-NDBmswKS.js → sideMenu-CtdLmpLX.js} +2 -2
  289. package/dist/{sideMenu-D5CiGthZ.cjs → sideMenu-D4uEDc38.cjs} +1 -1
  290. package/dist/{slopeStability-DHEMnZQs.cjs → slopeStability-B-LzCvR7.cjs} +1 -1
  291. package/dist/{slopeStability-Bm83R1CK.js → slopeStability-H7iiOf5G.js} +2 -2
  292. package/dist/{speedCurve-COz1e5fR.cjs → speedCurve-BKMR6Z0r.cjs} +1 -1
  293. package/dist/{speedCurve-DMzIHREh.js → speedCurve-lgD_hG_W.js} +2 -2
  294. package/dist/{stackedBar-Co04v-nd.js → stackedBar-BJu9_GI7.js} +9 -9
  295. package/dist/{stackedBar-Cj1vVULH.cjs → stackedBar-D-goARDv.cjs} +1 -1
  296. package/dist/{stressFilterBar-CFgshgvm.js → stressFilterBar-BOsQJoK_.js} +2 -2
  297. package/dist/{stressFilterBar-wfAWtOIp.cjs → stressFilterBar-D6qiNCAj.cjs} +1 -1
  298. package/dist/{stressTimeCurve-CwMkdryb.js → stressTimeCurve-Bgxr5Wrf.js} +3 -3
  299. package/dist/{stressTimeCurve-BRvsiFhp.cjs → stressTimeCurve-BwZLKFHb.cjs} +1 -1
  300. package/dist/{swiper-DA6nGJfp.js → swiper-CRtoulGh.js} +2 -2
  301. package/dist/{swiper-CPMWAfwl.cjs → swiper-D82oGlpT.cjs} +1 -1
  302. package/dist/syncMixiotListConfig-CD0wWvPU.js +34192 -0
  303. package/dist/syncMixiotListConfig-Cpgnkkws.cjs +200 -0
  304. package/dist/tablemanList-10EHbXgv.cjs +1 -0
  305. package/dist/tablemanList-DmHYElUp.js +888 -0
  306. package/dist/terminalConfigList-D6NiHYBX.js +888 -0
  307. package/dist/terminalConfigList-cHJ-LVj5.cjs +1 -0
  308. package/dist/terminalList-BVovhzGU.cjs +1 -0
  309. package/dist/terminalList-CTBcP9xm.js +1046 -0
  310. package/dist/{terminalListAPP-Bj7pUZTy.cjs → terminalListAPP-Cwe2xdL6.cjs} +1 -1
  311. package/dist/{terminalListAPP-37PqyT3O.js → terminalListAPP-afa_Ibtw.js} +3 -3
  312. package/dist/{textbox-DG4Wr4Zt.js → textbox-BLANVfpn.js} +2 -2
  313. package/dist/{textbox-CawmOfBp.cjs → textbox-D1Qwf3d2.cjs} +1 -1
  314. package/dist/{timeQueryBar-CD-5fWy6.js → timeQueryBar-BHTy_h6G.js} +1 -1
  315. package/dist/{timeQueryBar-Bqc3rENc.cjs → timeQueryBar-CNbq5Bet.cjs} +1 -1
  316. package/dist/{timeSeries-CopKSs1l.cjs → timeSeries-CVz4_Q5W.cjs} +1 -1
  317. package/dist/{timeSeries-BzGYz4rY.js → timeSeries-DSzv8Sp2.js} +3 -3
  318. package/dist/{timeSeriesCurve-m0ics-PW.js → timeSeriesCurve-DSAYjkRU.js} +3 -3
  319. package/dist/{timeSeriesCurve-ejwsuDRh.cjs → timeSeriesCurve-yQo3qHHo.cjs} +1 -1
  320. package/dist/{toggleBtn-C-nuKRcD.js → toggleBtn-COE-GX9z.js} +9 -9
  321. package/dist/{toggleBtn-CSEv5acM.cjs → toggleBtn-CsetEz6X.cjs} +1 -1
  322. package/dist/{trajectoryConfigPanel-Cp-3rnXO.cjs → trajectoryConfigPanel-BS6SAfIu.cjs} +1 -1
  323. package/dist/{trajectoryConfigPanel-Af97dCSS.js → trajectoryConfigPanel-BzJcwd-3.js} +1 -1
  324. package/dist/{trajectoryScatter-De9UG6j1.js → trajectoryScatter-DSj9tCgT.js} +5 -5
  325. package/dist/{trajectoryScatter-BoTLmylA.cjs → trajectoryScatter-ftlV7dd0.cjs} +1 -1
  326. package/dist/{universalConfigPanel-Dit0ntD6.js → universalConfigPanel-BzY0yL6m.js} +1 -1
  327. package/dist/{universalConfigPanel-XvxA7QRD.cjs → universalConfigPanel-DjClEju7.cjs} +1 -1
  328. package/dist/{universalTable-Uu7dh0aG.cjs → universalTable-DPu429rn.cjs} +1 -1
  329. package/dist/{universalTable-BssOWAuT.js → universalTable-JvMM251F.js} +2 -2
  330. package/dist/{video-CJtGAYJU.cjs → video-BZbt1v0N.cjs} +10 -10
  331. package/dist/{video-Mbk0ZeLf.js → video-OJsr6jxT.js} +218 -191
  332. package/dist/{videoMonitor-DmL2qXe0.js → videoMonitor-BcfssQX4.js} +2 -2
  333. package/dist/{videoMonitor-B3pFfxQs.cjs → videoMonitor-DWNh0F6P.cjs} +1 -1
  334. package/dist/{vlu-D32xqnoV.js → vlu-BXyZcEQh.js} +2 -2
  335. package/dist/{vlu-XFWtxEvv.cjs → vlu-BrVly_o-.cjs} +1 -1
  336. package/dist/{warningOverview-COPwxqAR.js → warningOverview-C8qJNEFc.js} +3 -3
  337. package/dist/{warningOverview-DM5hXwpU.cjs → warningOverview-YqxTqkG6.cjs} +1 -1
  338. package/dist/{weather-B-KIS-ju.cjs → weather-Ba0ATW6-.cjs} +1 -1
  339. package/dist/{weather-CdxthMeR.js → weather-Drd-bMhZ.js} +2 -2
  340. package/dist/{windLin-FzPQoyak.cjs → windLin-5NXNHy9D.cjs} +1 -1
  341. package/dist/{windLin-BgUBtwgj.js → windLin-DFzNiUCz.js} +9 -9
  342. package/package.json +4 -4
  343. package/dist/basicShapeToolbox-XDdKQhh3.cjs +0 -1
  344. package/dist/controlList-Dnoaci0A.js +0 -831
  345. package/dist/controlList-dtqVlRpr.cjs +0 -1
  346. package/dist/controlRecordList-B9LUt_5C.cjs +0 -1
  347. package/dist/controlRecordList-D1Q7xLf4.js +0 -356
  348. package/dist/crd-BThv1Z-E.cjs +0 -1
  349. package/dist/index-5jeBLy74.cjs +0 -612
  350. package/dist/mappingList-C5Z35UKc.js +0 -874
  351. package/dist/mappingList-DPzBIPSp.cjs +0 -1
  352. package/dist/materialFileUrl-CubtnHeq.js +0 -108
  353. package/dist/materialFileUrl-DfPNm265.cjs +0 -1
  354. package/dist/objectList-C0VYvS35.js +0 -1949
  355. package/dist/objectList-YyLH8wsA.cjs +0 -1
  356. package/dist/photo-qUJBBWcl.cjs +0 -1
  357. package/dist/qrcode-e5STOK-h.cjs +0 -1
  358. package/dist/retainerRecordList-CRZXn8qs.js +0 -833
  359. package/dist/retainerRecordList-TfKyqBNI.cjs +0 -1
  360. package/dist/syncMixiotListConfig-CiyYjyPz.js +0 -259
  361. package/dist/syncMixiotListConfig-Dke6MCA9.cjs +0 -1
  362. package/dist/tablemanList-BOFkLUE6.cjs +0 -1
  363. package/dist/tablemanList-Cy40wppA.js +0 -954
  364. package/dist/terminalConfigList-BcHRePUS.js +0 -978
  365. package/dist/terminalConfigList-DCT3FbXq.cjs +0 -1
  366. package/dist/terminalList-BTyk3rSA.cjs +0 -1
  367. package/dist/terminalList-Czr6nBtS.js +0 -1163
  368. /package/dist/{vue-router-CRhRQNx-.cjs → useApi-DtucMc-S-CRhRQNx-.cjs} +0 -0
  369. /package/dist/{vue-router-ha66t1D5.js → useApi-DtucMc-S-ha66t1D5.js} +0 -0
@@ -10,7 +10,7 @@ var cr = Math.pow, hr = (a, e, t) => e in a ? go(a, e, { enumerable: !0, configu
10
10
  vo.call(e, t) && hr(a, t, e[t]);
11
11
  return a;
12
12
  }, gr = (a, e) => mo(a, po(e));
13
- var ui = (a, e, t) => new Promise((i, s) => {
13
+ var di = (a, e, t) => new Promise((i, s) => {
14
14
  var r = (u) => {
15
15
  try {
16
16
  o(t.next(u));
@@ -26,9 +26,9 @@ var ui = (a, e, t) => new Promise((i, s) => {
26
26
  }, o = (u) => u.done ? i(u.value) : Promise.resolve(u.value).then(r, n);
27
27
  o((t = t.apply(a, e)).next());
28
28
  });
29
- import { defineComponent as Eo, ref as Pt, computed as mr, onMounted as yo, onBeforeUnmount as xo, openBlock as Ye, createElementBlock as ze, normalizeStyle as So, unref as Wt, createElementVNode as ke, normalizeClass as To, toDisplayString as Ot, createCommentVNode as ht, withDirectives as Ao, withKeys as Lo, vModelText as Io, renderSlot as Ro, nextTick as pr } from "vue";
30
- import { B as bo } from "./BaseComponent-CDynr4Wh.js";
31
- import { j as Do, u as Co, h as Po, i as Oo, a as ko, F as wo, _ as Mo } from "./index-dAR2gb1S.js";
29
+ import { defineComponent as Eo, ref as Pt, computed as mr, onMounted as yo, onBeforeUnmount as xo, openBlock as Ye, createElementBlock as ze, normalizeStyle as So, unref as Yt, createElementVNode as ke, normalizeClass as To, toDisplayString as Ot, createCommentVNode as ht, withDirectives as Ao, withKeys as Lo, vModelText as Io, renderSlot as Ro, nextTick as pr } from "vue";
30
+ import { B as bo } from "./BaseComponent-D7kfvQid.js";
31
+ import { j as Do, u as Co, h as Po, i as Oo, a as ko, F as wo, _ as Mo } from "./index-CaDDNmGU.js";
32
32
  import { ElMessage as Ze } from "element-plus";
33
33
  import { A as Fo, D as Bo } from "./ele-vdo-icon-DcWebTR5.js";
34
34
  var qi = { exports: {} }, _r;
@@ -216,8 +216,8 @@ function No() {
216
216
  if (ne) {
217
217
  try {
218
218
  oe = W(Z);
219
- } catch (li) {
220
- Ct = !1, be = li;
219
+ } catch (ui) {
220
+ Ct = !1, be = ui;
221
221
  }
222
222
  if (j === oe) {
223
223
  ee(j, J());
@@ -258,11 +258,11 @@ function No() {
258
258
  }, B.prototype._eachEntry = function(W, Z) {
259
259
  var ne = this._instanceConstructor, oe = ne.resolve;
260
260
  if (oe === U) {
261
- var be = void 0, Ct = void 0, li = !1;
261
+ var be = void 0, Ct = void 0, ui = !1;
262
262
  try {
263
263
  be = W.then;
264
264
  } catch (zi) {
265
- li = !0, Ct = zi;
265
+ ui = !0, Ct = zi;
266
266
  }
267
267
  if (be === F && W._state !== $)
268
268
  this._settledAt(W._state, Z, W._result);
@@ -270,7 +270,7 @@ function No() {
270
270
  this._remaining--, this._result[Z] = W;
271
271
  else if (ne === Be) {
272
272
  var Yi = new ne(V);
273
- li ? ee(Yi, Ct) : de(Yi, W, be), this._willSettleAt(Yi, Z);
273
+ ui ? ee(Yi, Ct) : de(Yi, W, be), this._willSettleAt(Yi, Z);
274
274
  } else
275
275
  this._willSettleAt(new ne(function(zi) {
276
276
  return zi(W);
@@ -301,19 +301,19 @@ function No() {
301
301
  return Z(new TypeError("You must pass an array to race."));
302
302
  });
303
303
  }
304
- function ni(B) {
304
+ function ai(B) {
305
305
  var j = this, W = new j(V);
306
306
  return ee(W, B), W;
307
307
  }
308
308
  function At() {
309
309
  throw new TypeError("You must pass a resolver function as the first argument to the promise constructor");
310
310
  }
311
- function ai() {
311
+ function oi() {
312
312
  throw new TypeError("Failed to construct 'Promise': Please use the 'new' operator, this object constructor cannot be called as a function.");
313
313
  }
314
314
  var Be = (function() {
315
315
  function B(j) {
316
- this[G] = Ue(), this._result = this._state = void 0, this._subscribers = [], V !== j && (typeof j != "function" && At(), this instanceof B ? _e(this, j) : ai());
316
+ this[G] = Ue(), this._result = this._state = void 0, this._subscribers = [], V !== j && (typeof j != "function" && At(), this instanceof B ? _e(this, j) : oi());
317
317
  }
318
318
  return B.prototype.catch = function(W) {
319
319
  return this.then(null, W);
@@ -330,8 +330,8 @@ function No() {
330
330
  }) : Z.then(W, W);
331
331
  }, B;
332
332
  })();
333
- Be.prototype.then = F, Be.all = pt, Be.race = dt, Be.resolve = U, Be.reject = ni, Be._setScheduler = v, Be._setAsap = _, Be._asap = p;
334
- function oi() {
333
+ Be.prototype.then = F, Be.all = pt, Be.race = dt, Be.resolve = U, Be.reject = ai, Be._setScheduler = v, Be._setAsap = _, Be._asap = p;
334
+ function li() {
335
335
  var B = void 0;
336
336
  if (typeof u.g != "undefined")
337
337
  B = u.g;
@@ -355,7 +355,7 @@ function No() {
355
355
  }
356
356
  B.Promise = Be;
357
357
  }
358
- return Be.polyfill = oi, Be.Promise = Be, Be;
358
+ return Be.polyfill = li, Be.Promise = Be, Be;
359
359
  }));
360
360
  })
361
361
  ),
@@ -6134,7 +6134,7 @@ function zo(a, e, t) {
6134
6134
  i[r] = Er(r, a, t);
6135
6135
  });
6136
6136
  try {
6137
- i.log(`Debug logs enabled for "${e}" in hls.js version 1.6.15`);
6137
+ i.log(`Debug logs enabled for "${e}" in hls.js version 1.6.16`);
6138
6138
  } catch (r) {
6139
6139
  return xs();
6140
6140
  }
@@ -6673,7 +6673,7 @@ function sl(a) {
6673
6673
  case "avc3":
6674
6674
  case "avc4": {
6675
6675
  const u = ae(t, ["avcC"])[0];
6676
- u && u.length > 3 && (s += "." + hi(u[1]) + hi(u[2]) + hi(u[3]), r = di(o === "avc1" ? "dva1" : "dvav", t));
6676
+ u && u.length > 3 && (s += "." + ci(u[1]) + ci(u[2]) + ci(u[3]), r = hi(o === "avc1" ? "dva1" : "dvav", t));
6677
6677
  break;
6678
6678
  }
6679
6679
  case "mp4a": {
@@ -6689,7 +6689,7 @@ function sl(a) {
6689
6689
  d = Ji(l, d);
6690
6690
  const c = l[d++];
6691
6691
  if (c === 64)
6692
- s += "." + hi(c);
6692
+ s += "." + ci(c);
6693
6693
  else
6694
6694
  break;
6695
6695
  if (d += 12, l[d++] !== 5)
@@ -6714,7 +6714,7 @@ function sl(a) {
6714
6714
  }
6715
6715
  s += p;
6716
6716
  }
6717
- r = di(o == "hev1" ? "dvhe" : "dvh1", t);
6717
+ r = hi(o == "hev1" ? "dvhe" : "dvh1", t);
6718
6718
  break;
6719
6719
  }
6720
6720
  case "dvh1":
@@ -6722,7 +6722,7 @@ function sl(a) {
6722
6722
  case "dvav":
6723
6723
  case "dva1":
6724
6724
  case "dav1": {
6725
- s = di(s, t) || s;
6725
+ s = hi(s, t) || s;
6726
6726
  break;
6727
6727
  }
6728
6728
  case "vp09": {
@@ -6737,7 +6737,7 @@ function sl(a) {
6737
6737
  const u = ae(t, ["av1C"])[0];
6738
6738
  if (u && u.length > 2) {
6739
6739
  const l = u[1] >>> 5, d = u[1] & 31, h = u[2] >>> 7 ? "H" : "M", c = (u[2] & 64) >> 6, g = (u[2] & 32) >> 5, f = l === 2 && c ? g ? 12 : 10 : c ? 10 : 8, m = (u[2] & 16) >> 4, p = (u[2] & 8) >> 3, v = (u[2] & 4) >> 2, _ = u[2] & 3;
6740
- s += "." + l + "." + rt(d) + h + "." + rt(f) + "." + m + "." + p + v + _ + "." + rt(1) + "." + rt(1) + "." + rt(1) + "." + 0, r = di("dav1", t);
6740
+ s += "." + l + "." + rt(d) + h + "." + rt(f) + "." + m + "." + p + v + _ + "." + rt(1) + "." + rt(1) + "." + rt(1) + "." + 0, r = hi("dav1", t);
6741
6741
  }
6742
6742
  break;
6743
6743
  }
@@ -6748,7 +6748,7 @@ function sl(a) {
6748
6748
  supplemental: r
6749
6749
  };
6750
6750
  }
6751
- function di(a, e) {
6751
+ function hi(a, e) {
6752
6752
  const t = ae(e, ["dvvC"]), i = t.length ? t[0] : ae(e, ["dvcC"])[0];
6753
6753
  if (i) {
6754
6754
  const s = i[2] >> 1 & 127, r = i[2] << 5 & 32 | i[3] >> 3 & 31;
@@ -6767,7 +6767,7 @@ function Ji(a, e) {
6767
6767
  ;
6768
6768
  return e;
6769
6769
  }
6770
- function hi(a) {
6770
+ function ci(a) {
6771
6771
  return ("0" + a.toString(16).toUpperCase()).slice(-2);
6772
6772
  }
6773
6773
  function rt(a) {
@@ -7156,7 +7156,7 @@ function gl(a) {
7156
7156
  size: e
7157
7157
  });
7158
7158
  }
7159
- const Yn = () => /\(Windows.+Firefox\//i.test(navigator.userAgent), jt = {
7159
+ const Yn = () => /\(Windows.+Firefox\//i.test(navigator.userAgent), Ht = {
7160
7160
  audio: {
7161
7161
  a3ds: 1,
7162
7162
  "ac-3": 0.95,
@@ -7236,32 +7236,32 @@ const Yn = () => /\(Windows.+Firefox\//i.test(navigator.userAgent), jt = {
7236
7236
  }
7237
7237
  };
7238
7238
  function Vs(a, e) {
7239
- const t = jt[e];
7239
+ const t = Ht[e];
7240
7240
  return !!t && !!t[a.slice(0, 4)];
7241
7241
  }
7242
- function Zt(a, e, t = !0) {
7242
+ function Jt(a, e, t = !0) {
7243
7243
  return !a.split(",").some((i) => !js(i, e, t));
7244
7244
  }
7245
7245
  function js(a, e, t = !0) {
7246
7246
  var i;
7247
7247
  const s = St(t);
7248
- return (i = s == null ? void 0 : s.isTypeSupported(Jt(a, e))) != null ? i : !1;
7248
+ return (i = s == null ? void 0 : s.isTypeSupported(ei(a, e))) != null ? i : !1;
7249
7249
  }
7250
- function Jt(a, e) {
7250
+ function ei(a, e) {
7251
7251
  return `${e}/mp4;codecs=${a}`;
7252
7252
  }
7253
7253
  function Ar(a) {
7254
7254
  if (a) {
7255
7255
  const e = a.substring(0, 4);
7256
- return jt.video[e];
7256
+ return Ht.video[e];
7257
7257
  }
7258
7258
  return 2;
7259
7259
  }
7260
7260
  function ki(a) {
7261
7261
  const e = Yn();
7262
7262
  return a.split(",").reduce((t, i) => {
7263
- const r = e && ji(i) ? 9 : jt.video[i];
7264
- return r ? (r * 2 + t) / (t ? 3 : 2) : (jt.audio[i] + t) / (t ? 2 : 1);
7263
+ const r = e && ji(i) ? 9 : Ht.video[i];
7264
+ return r ? (r * 2 + t) / (t ? 3 : 2) : (Ht.audio[i] + t) / (t ? 2 : 1);
7265
7265
  }, 0);
7266
7266
  }
7267
7267
  const es = {};
@@ -7436,7 +7436,7 @@ function Tl(a) {
7436
7436
  const t = (e = a.videoCodec) == null ? void 0 : e.split(","), i = Qn(a), s = a.width || 640, r = a.height || 480, n = a.frameRate || 30, o = a.videoRange.toLowerCase();
7437
7437
  return t ? t.map((u) => {
7438
7438
  const l = {
7439
- contentType: Jt(El(u), "video"),
7439
+ contentType: ei(El(u), "video"),
7440
7440
  width: s,
7441
7441
  height: r,
7442
7442
  bitrate: i,
@@ -7456,7 +7456,7 @@ function Al(a, e, t) {
7456
7456
  const c = parseFloat(h.channels || "");
7457
7457
  s.forEach((g) => {
7458
7458
  const f = {
7459
- contentType: Jt(g, "audio"),
7459
+ contentType: ei(g, "audio"),
7460
7460
  bitrate: t ? Ll(g, r) : r
7461
7461
  };
7462
7462
  c && (f.channels = "" + c), d.push(f);
@@ -7521,7 +7521,7 @@ class br {
7521
7521
  return this.msn !== void 0 && t.searchParams.set("_HLS_msn", this.msn.toString()), this.part !== void 0 && t.searchParams.set("_HLS_part", this.part.toString()), this.skip && t.searchParams.set("_HLS_skip", this.skip), t.href;
7522
7522
  }
7523
7523
  }
7524
- class ei {
7524
+ class ti {
7525
7525
  constructor(e) {
7526
7526
  if (this._attrs = void 0, this.audioCodec = void 0, this.bitrate = void 0, this.codecSet = void 0, this.url = void 0, this.frameRate = void 0, this.height = void 0, this.id = void 0, this.name = void 0, this.supplemental = void 0, this.videoCodec = void 0, this.width = void 0, this.details = void 0, this.fragmentError = 0, this.loadError = 0, this.loaded = void 0, this.realBitrate = 0, this.supportedPromise = void 0, this.supportedResult = void 0, this._avgBitrate = 0, this._audioGroups = void 0, this._subtitleGroups = void 0, this._urlId = 0, this.url = [e.url], this._attrs = [e.attrs], this.bitrate = e.bitrate, e.details && (this.details = e.details), this.id = e.id || 0, this.name = e.name, this.width = e.width || 0, this.height = e.height || 0, this.frameRate = e.attrs.optionalFloat("FRAME-RATE", 0), this._avgBitrate = e.attrs.decimalInteger("AVERAGE-BANDWIDTH"), this.audioCodec = e.audioCodec, this.videoCodec = e.videoCodec, this.codecSet = [e.videoCodec, e.audioCodec].filter((i) => !!i).map((i) => i.substring(0, 4)).join(","), "supplemental" in e) {
7527
7527
  var t;
@@ -8379,7 +8379,7 @@ class Kl extends Xe {
8379
8379
  return;
8380
8380
  case M.FRAG_PARSING_ERROR:
8381
8381
  if ((i = t.frag) != null && i.gap) {
8382
- t.errorAction = $t();
8382
+ t.errorAction = Gt();
8383
8383
  return;
8384
8384
  }
8385
8385
  // falls through
@@ -8441,10 +8441,10 @@ class Kl extends Xe {
8441
8441
  case M.BUFFER_STALLED_ERROR:
8442
8442
  case M.BUFFER_SEEK_OVER_HOLE:
8443
8443
  case M.BUFFER_NUDGE_ON_STALL:
8444
- t.errorAction = $t();
8444
+ t.errorAction = Gt();
8445
8445
  return;
8446
8446
  }
8447
- t.type === Q.KEY_SYSTEM_ERROR && (t.levelRetry = !1, t.errorAction = $t());
8447
+ t.type === Q.KEY_SYSTEM_ERROR && (t.levelRetry = !1, t.errorAction = Gt());
8448
8448
  }
8449
8449
  getPlaylistRetryOrSwitchAction(e, t) {
8450
8450
  const i = this.hls, s = kr(i.config.playlistLoadPolicy, e), r = this.playlistError++;
@@ -8597,7 +8597,7 @@ class Kl extends Xe {
8597
8597
  }
8598
8598
  }
8599
8599
  }
8600
- function $t(a) {
8600
+ function Gt(a) {
8601
8601
  const e = {
8602
8602
  action: we.DoNothing,
8603
8603
  flags: Ve.None
@@ -8717,7 +8717,7 @@ class Vl {
8717
8717
  return;
8718
8718
  const l = t[o], d = n || u.partial === !0;
8719
8719
  r.range[o] = this.getBufferedTimes(i, e.part, d, l);
8720
- }), r.loaded = null, Object.keys(r.range).length ? (this.bufferedEnd(r, i), ci(r) || this.removeParts(i.sn - 1, i.type)) : this.removeFragment(r.body);
8720
+ }), r.loaded = null, Object.keys(r.range).length ? (this.bufferedEnd(r, i), fi(r) || this.removeParts(i.sn - 1, i.type)) : this.removeFragment(r.body);
8721
8721
  }
8722
8722
  bufferedEnd(e, t) {
8723
8723
  e.buffered = !0, (e.body.endList = t.endList || e.body.endList) && (this.endListFragments[e.body.type] = e);
@@ -8772,16 +8772,16 @@ class Vl {
8772
8772
  } = this;
8773
8773
  return Object.keys(u).forEach((l) => {
8774
8774
  const d = u[l];
8775
- d && ci(d) && (s = d.body.start - o, r = d.body.end + o, e >= s && e <= r && (i = Math.min(e - s, r - e), n <= i && (t = d.body, n = i)));
8775
+ d && fi(d) && (s = d.body.start - o, r = d.body.end + o, e >= s && e <= r && (i = Math.min(e - s, r - e), n <= i && (t = d.body, n = i)));
8776
8776
  }), t;
8777
8777
  }
8778
8778
  isEndListAppended(e) {
8779
8779
  const t = this.endListFragments[e];
8780
- return t !== void 0 && (t.buffered || ci(t));
8780
+ return t !== void 0 && (t.buffered || fi(t));
8781
8781
  }
8782
8782
  getState(e) {
8783
8783
  const t = wt(e), i = this.fragments[t];
8784
- return i ? i.buffered ? ci(i) ? Ie.PARTIAL : Ie.OK : Ie.APPENDING : Ie.NOT_LOADED;
8784
+ return i ? i.buffered ? fi(i) ? Ie.PARTIAL : Ie.OK : Ie.APPENDING : Ie.NOT_LOADED;
8785
8785
  }
8786
8786
  isTimeBuffered(e, t, i) {
8787
8787
  let s, r;
@@ -8876,7 +8876,7 @@ class Vl {
8876
8876
  t && t.forEach((i) => i.clearElementaryStreamInfo());
8877
8877
  }
8878
8878
  }
8879
- function ci(a) {
8879
+ function fi(a) {
8880
8880
  var e, t, i;
8881
8881
  return a.buffered && !!(a.body.gap || (e = a.range.video) != null && e.partial || (t = a.range.audio) != null && t.partial || (i = a.range.audiovideo) != null && i.partial);
8882
8882
  }
@@ -9381,14 +9381,14 @@ class sa extends Xe {
9381
9381
  }
9382
9382
  class Ys {
9383
9383
  constructor(e, t, i, s = 0, r = -1, n = !1) {
9384
- this.level = void 0, this.sn = void 0, this.part = void 0, this.id = void 0, this.size = void 0, this.partial = void 0, this.transmuxing = fi(), this.buffering = {
9385
- audio: fi(),
9386
- video: fi(),
9387
- audiovideo: fi()
9384
+ this.level = void 0, this.sn = void 0, this.part = void 0, this.id = void 0, this.size = void 0, this.partial = void 0, this.transmuxing = gi(), this.buffering = {
9385
+ audio: gi(),
9386
+ video: gi(),
9387
+ audiovideo: gi()
9388
9388
  }, this.level = e, this.sn = t, this.id = i, this.size = s, this.part = r, this.partial = n;
9389
9389
  }
9390
9390
  }
9391
- function fi() {
9391
+ function gi() {
9392
9392
  return {
9393
9393
  start: 0,
9394
9394
  executeStart: 0,
@@ -9803,7 +9803,7 @@ function Ui(a, e) {
9803
9803
  function Vr(a, e) {
9804
9804
  return !a && !e ? !0 : !a || !e ? !1 : Ui(a, e);
9805
9805
  }
9806
- function Gt(a) {
9806
+ function Kt(a) {
9807
9807
  return a === "AES-128" || a === "AES-256" || a === "AES-256-CTR";
9808
9808
  }
9809
9809
  function zs(a) {
@@ -9882,7 +9882,7 @@ function ts(a) {
9882
9882
  return Fe.CLEARKEY;
9883
9883
  }
9884
9884
  }
9885
- function zt(a) {
9885
+ function qt(a) {
9886
9886
  const {
9887
9887
  drmSystems: e,
9888
9888
  widevineLicenseUrl: t
@@ -9956,14 +9956,14 @@ class xt {
9956
9956
  return new DataView(i.buffer, 12, 4).setUint32(0, t), Mt[e] = i, i;
9957
9957
  }
9958
9958
  constructor(e, t, i, s = [1], r = null, n) {
9959
- this.uri = void 0, this.method = void 0, this.keyFormat = void 0, this.keyFormatVersions = void 0, this.encrypted = void 0, this.isCommonEncryption = void 0, this.iv = null, this.key = null, this.keyId = null, this.pssh = null, this.method = e, this.uri = t, this.keyFormat = i, this.keyFormatVersions = s, this.iv = r, this.encrypted = e ? e !== "NONE" : !1, this.isCommonEncryption = this.encrypted && !Gt(e), n != null && n.startsWith("0x") && (this.keyId = new Uint8Array(Bn(n)));
9959
+ this.uri = void 0, this.method = void 0, this.keyFormat = void 0, this.keyFormatVersions = void 0, this.encrypted = void 0, this.isCommonEncryption = void 0, this.iv = null, this.key = null, this.keyId = null, this.pssh = null, this.method = e, this.uri = t, this.keyFormat = i, this.keyFormatVersions = s, this.iv = r, this.encrypted = e ? e !== "NONE" : !1, this.isCommonEncryption = this.encrypted && !Kt(e), n != null && n.startsWith("0x") && (this.keyId = new Uint8Array(Bn(n)));
9960
9960
  }
9961
9961
  matches(e) {
9962
9962
  return e.uri === this.uri && e.method === this.method && e.encrypted === this.encrypted && e.keyFormat === this.keyFormat && Ui(e.keyFormatVersions, this.keyFormatVersions) && Vr(e.iv, this.iv) && Vr(e.keyId, this.keyId);
9963
9963
  }
9964
9964
  isSupported() {
9965
9965
  if (this.method) {
9966
- if (Gt(this.method) || this.method === "NONE")
9966
+ if (Kt(this.method) || this.method === "NONE")
9967
9967
  return !0;
9968
9968
  if (this.keyFormat === "identity")
9969
9969
  return this.method === "SAMPLE-AES";
@@ -9980,7 +9980,7 @@ class xt {
9980
9980
  getDecryptData(e, t) {
9981
9981
  if (!this.encrypted || !this.uri)
9982
9982
  return null;
9983
- if (Gt(this.method)) {
9983
+ if (Kt(this.method)) {
9984
9984
  let r = this.iv;
9985
9985
  return r || (typeof e != "number" && (ce.warn(`missing IV for initialization segment with method="${this.method}" - compliance issue`), e = 0), r = du(e)), new xt(this.method, this.uri, "identity", this.keyFormatVersions, r);
9986
9986
  }
@@ -10645,7 +10645,7 @@ function Eu(a, e) {
10645
10645
  function sn(a) {
10646
10646
  return a.replace(/\?[^?]*$/, "");
10647
10647
  }
10648
- function qt(a, e) {
10648
+ function Xt(a, e) {
10649
10649
  for (let i = 0, s = a.length; i < s; i++) {
10650
10650
  var t;
10651
10651
  if (((t = a[i]) == null ? void 0 : t.cc) === e)
@@ -10672,7 +10672,7 @@ function xu(a, e) {
10672
10672
  function va(a, e) {
10673
10673
  if (!yu(e, a))
10674
10674
  return;
10675
- const t = Math.min(e.endCC, a.endCC), i = qt(e.fragments, t), s = qt(a.fragments, t);
10675
+ const t = Math.min(e.endCC, a.endCC), i = Xt(e.fragments, t), s = Xt(a.fragments, t);
10676
10676
  if (!i || !s)
10677
10677
  return;
10678
10678
  ce.log(`Aligning playlist at start of dicontinuity sequence ${t}`);
@@ -10687,7 +10687,7 @@ function Gi(a, e) {
10687
10687
  return;
10688
10688
  let s, r;
10689
10689
  const n = Math.min(e.endCC, a.endCC);
10690
- e.startCC < n && a.startCC < n && (s = qt(i, n), r = qt(t, n)), (!s || !r) && (s = i[Math.floor(i.length / 2)], r = qt(t, s.cc) || t[Math.floor(t.length / 2)]);
10690
+ e.startCC < n && a.startCC < n && (s = Xt(i, n), r = Xt(t, n)), (!s || !r) && (s = i[Math.floor(i.length / 2)], r = Xt(t, s.cc) || t[Math.floor(t.length / 2)]);
10691
10691
  const o = s.programDateTime, u = r.programDateTime;
10692
10692
  if (!o || !u)
10693
10693
  return;
@@ -10942,7 +10942,7 @@ class Xs extends sa {
10942
10942
  frag: r,
10943
10943
  payload: n
10944
10944
  } = i, o = r.decryptdata;
10945
- if (n && n.byteLength > 0 && o != null && o.key && o.iv && Gt(o.method)) {
10945
+ if (n && n.byteLength > 0 && o != null && o.key && o.iv && Kt(o.method)) {
10946
10946
  const u = self.performance.now();
10947
10947
  return this.decrypter.decrypt(new Uint8Array(n), o.key.buffer, o.iv.buffer, zs(o.method)).catch((l) => {
10948
10948
  throw s.trigger(S.ERROR, {
@@ -11233,6 +11233,20 @@ class Xs extends sa {
11233
11233
  let i;
11234
11234
  return e ? i = Math.max(8 * t.maxBufferSize / e, t.maxBufferLength) : i = t.maxBufferLength, Math.min(i, t.maxMaxBufferLength);
11235
11235
  }
11236
+ exceedsMaxBuffer(e, t, i) {
11237
+ const s = e.nextStart;
11238
+ if (s && i.start > s) {
11239
+ const r = e.buffered;
11240
+ if (r) {
11241
+ let n = e.len;
11242
+ const o = e.bufferedIndex;
11243
+ for (let u = r.length - 1; u > o; u--)
11244
+ r[u].start < i.start && (n += r[u].end - r[u].start);
11245
+ return n >= t;
11246
+ }
11247
+ }
11248
+ return !1;
11249
+ }
11236
11250
  reduceMaxBufferLength(e, t) {
11237
11251
  const i = this.config, s = Math.max(Math.min(e - t, i.maxBufferLength), t), r = Math.max(e - t * 3, i.maxMaxBufferLength / 2, s);
11238
11252
  return r >= s ? (i.maxMaxBufferLength = r, this.warn(`Reduce max buffer length to ${r}s`), !0) : !1;
@@ -11247,7 +11261,7 @@ class Xs extends sa {
11247
11261
  return null;
11248
11262
  const {
11249
11263
  config: r
11250
- } = this, n = i[0].start, o = r.lowLatencyMode && !!t.partList;
11264
+ } = this, n = t.fragmentStart, o = r.lowLatencyMode && !!t.partList;
11251
11265
  let u = null;
11252
11266
  if (t.live) {
11253
11267
  const h = r.initialLiveManifestSize;
@@ -11256,8 +11270,9 @@ class Xs extends sa {
11256
11270
  if (!t.PTSKnown && !this.startFragRequested && this.startPosition === -1 || e < n) {
11257
11271
  var l;
11258
11272
  o && !this.loadingParts && (this.log("LL-Part loading ON for initial live fragment"), this.loadingParts = !0), u = this.getInitialLiveFragment(t);
11259
- const c = this.hls.startPosition, g = this.hls.liveSyncPosition, f = u ? (c !== -1 && c >= n ? c : g) || u.start : e;
11260
- this.log(`Setting startPosition to ${f} to match start frag at live edge. mainStart: ${c} liveSyncPosition: ${g} frag.start: ${(l = u) == null ? void 0 : l.start}`), this.startPosition = this.nextLoadPosition = f;
11273
+ const c = this.config.startPosition, g = this.hls.startPosition, f = this.hls.liveSyncPosition, m = ((l = u) == null ? void 0 : l.start) || 0;
11274
+ let p, v;
11275
+ g !== -1 && g >= n ? (p = g, v = g === c ? "config" : "next load start") : f !== null ? (p = f, v = "live edge") : (p = e, v = "buffer pos"), p < m && (p = m, v = "live frag start"), p < n && (p = n, v = "playlist start"), (this.startPosition != p || this.nextLoadPosition != p) && (this.log(`Setting startPosition to ${p.toFixed(3)} ${g === -1 ? "" : `(from ${c}) `}based on ${v}. live edge: ${f} live frag start: ${m.toFixed(3)} playlist start: ${n.toFixed(3)} buffer pos: ${e}`), this.startPosition = this.nextLoadPosition = p);
11261
11276
  }
11262
11277
  } else e <= n && (u = i[0]);
11263
11278
  if (!u) {
@@ -11272,8 +11287,10 @@ class Xs extends sa {
11272
11287
  return this.mapToInitFragWhenRequired(d);
11273
11288
  }
11274
11289
  isLoopLoading(e, t) {
11290
+ if (this.nextLoadPosition <= t)
11291
+ return !1;
11275
11292
  const i = this.fragmentTracker.getState(e);
11276
- return (i === Ie.OK || i === Ie.PARTIAL && !!e.gap) && this.nextLoadPosition > t;
11293
+ return i === Ie.OK || i === Ie.PARTIAL && !!e.gap;
11277
11294
  }
11278
11295
  getNextFragmentLoopLoading(e, t, i, s, r) {
11279
11296
  let n = null;
@@ -11350,7 +11367,7 @@ class Xs extends sa {
11350
11367
  const t = e.fragments, i = this.fragPrevious;
11351
11368
  let s = null;
11352
11369
  if (i) {
11353
- if (e.hasProgramDateTime && (this.log(`Live playlist, switching playlist, load frag with same PDT: ${i.programDateTime}`), s = Nl(t, i.endProgramDateTime, this.config.maxFragLookUpTolerance)), !s) {
11370
+ if (e.hasProgramDateTime && (s = Nl(t, i.endProgramDateTime, this.config.maxFragLookUpTolerance), s && this.log(`Live playlist, switching playlist, load frag with same PDT: ${i.programDateTime}`)), !s) {
11354
11371
  const r = i.sn + 1;
11355
11372
  if (r >= e.startSN && r <= e.endSN) {
11356
11373
  const n = t[r - e.startSN];
@@ -11736,12 +11753,12 @@ function Au() {
11736
11753
  })(rs)), rs.exports;
11737
11754
  }
11738
11755
  var Lu = Au(), Qs = /* @__PURE__ */ Xo(Lu);
11739
- const ti = "1.6.15", Ht = {};
11756
+ const ii = "1.6.16", Wt = {};
11740
11757
  function Iu() {
11741
11758
  return typeof __HLS_WORKER_BUNDLE__ == "function";
11742
11759
  }
11743
11760
  function Ru() {
11744
- const a = Ht[ti];
11761
+ const a = Wt[ii];
11745
11762
  if (a)
11746
11763
  return a.clientCount++, a;
11747
11764
  const e = new self.Blob([`var exports={};var module={exports:exports};function define(f){f()};define.amd=true;(${__HLS_WORKER_BUNDLE__.toString()})(true);`], {
@@ -11751,10 +11768,10 @@ function Ru() {
11751
11768
  objectURL: t,
11752
11769
  clientCount: 1
11753
11770
  };
11754
- return Ht[ti] = s, s;
11771
+ return Wt[ii] = s, s;
11755
11772
  }
11756
11773
  function bu(a) {
11757
- const e = Ht[a];
11774
+ const e = Wt[a];
11758
11775
  if (e)
11759
11776
  return e.clientCount++, e;
11760
11777
  const t = new self.URL(a, self.location.href).href, s = {
@@ -11762,16 +11779,16 @@ function bu(a) {
11762
11779
  scriptURL: t,
11763
11780
  clientCount: 1
11764
11781
  };
11765
- return Ht[a] = s, s;
11782
+ return Wt[a] = s, s;
11766
11783
  }
11767
11784
  function Du(a) {
11768
- const e = Ht[a || ti];
11785
+ const e = Wt[a || ii];
11769
11786
  if (e && e.clientCount-- === 1) {
11770
11787
  const {
11771
11788
  worker: i,
11772
11789
  objectURL: s
11773
11790
  } = e;
11774
- delete Ht[a || ti], s && self.URL.revokeObjectURL(s), i.terminate();
11791
+ delete Wt[a || ii], s && self.URL.revokeObjectURL(s), i.terminate();
11775
11792
  }
11776
11793
  }
11777
11794
  function ya(a, e) {
@@ -11784,7 +11801,7 @@ function Hi(a, e) {
11784
11801
  let t = 0;
11785
11802
  return t = (a[e] & 127) << 21, t |= (a[e + 1] & 127) << 14, t |= (a[e + 2] & 127) << 7, t |= a[e + 3] & 127, t;
11786
11803
  }
11787
- function ii(a, e) {
11804
+ function si(a, e) {
11788
11805
  const t = e;
11789
11806
  let i = 0;
11790
11807
  for (; Zs(a, e); ) {
@@ -12012,19 +12029,19 @@ function Hu(a) {
12012
12029
  data: a.subarray(i, i + t)
12013
12030
  };
12014
12031
  }
12015
- const gi = 10, Wu = 10;
12032
+ const mi = 10, Wu = 10;
12016
12033
  function Ia(a) {
12017
12034
  let e = 0;
12018
12035
  const t = [];
12019
12036
  for (; Zs(a, e); ) {
12020
12037
  const i = Hi(a, e + 6);
12021
- a[e + 5] >> 6 & 1 && (e += gi), e += gi;
12038
+ a[e + 5] >> 6 & 1 && (e += mi), e += mi;
12022
12039
  const s = e + i;
12023
12040
  for (; e + Wu < s; ) {
12024
12041
  const r = Hu(a.subarray(e)), n = ju(r);
12025
- n && t.push(n), e += r.size + gi;
12042
+ n && t.push(n), e += r.size + mi;
12026
12043
  }
12027
- ya(a, e) && (e += gi);
12044
+ ya(a, e) && (e += mi);
12028
12045
  }
12029
12046
  return t;
12030
12047
  }
@@ -12089,7 +12106,7 @@ class tr {
12089
12106
  // feed incoming data to the front of the parsing pipeline
12090
12107
  demux(e, t) {
12091
12108
  this.cachedData && (e = qe(this.cachedData, e), this.cachedData = null);
12092
- let i = ii(e, 0), s = i ? i.length : 0, r;
12109
+ let i = si(e, 0), s = i ? i.length : 0, r;
12093
12110
  const n = this._audioTrack, o = this._id3Track, u = i ? er(i) : void 0, l = e.length;
12094
12111
  for ((this.basePTS === null || this.frameIndex === 0 && Y(u)) && (this.basePTS = zu(u, t, this.initPTS), this.lastPTS = this.basePTS), this.lastPTS === null && (this.lastPTS = this.basePTS), i && i.length > 0 && o.samples.push({
12095
12112
  pts: this.lastPTS,
@@ -12101,7 +12118,7 @@ class tr {
12101
12118
  if (this.canParse(e, s)) {
12102
12119
  const d = this.appendFrame(n, e, s);
12103
12120
  d ? (this.frameIndex++, this.lastPTS = d.sample.pts, s += d.length, r = s) : s = l;
12104
- } else Mu(e, s) ? (i = ii(e, s), o.samples.push({
12121
+ } else Mu(e, s) ? (i = si(e, s), o.samples.push({
12105
12122
  pts: this.lastPTS,
12106
12123
  dts: this.lastPTS,
12107
12124
  data: i,
@@ -12142,7 +12159,7 @@ const zu = (a, e, t) => {
12142
12159
  const i = t ? t.baseTime * 9e4 / t.timescale : 0;
12143
12160
  return e * 9e4 + i;
12144
12161
  };
12145
- let mi = null;
12162
+ let pi = null;
12146
12163
  const qu = [32, 64, 96, 128, 160, 192, 224, 256, 288, 320, 352, 384, 416, 448, 32, 48, 56, 64, 80, 96, 112, 128, 160, 192, 224, 256, 320, 384, 32, 40, 48, 56, 64, 80, 96, 112, 128, 160, 192, 224, 256, 320, 32, 48, 56, 64, 80, 96, 112, 128, 144, 160, 176, 192, 224, 256, 8, 16, 24, 32, 40, 48, 56, 64, 80, 96, 112, 128, 144, 160], Xu = [44100, 48e3, 32e3, 22050, 24e3, 16e3, 11025, 12e3, 8e3], Qu = [
12147
12164
  // MPEG 2.5
12148
12165
  [
@@ -12219,11 +12236,11 @@ function Da(a, e) {
12219
12236
  const t = a[e + 1] >> 3 & 3, i = a[e + 1] >> 1 & 3, s = a[e + 2] >> 4 & 15, r = a[e + 2] >> 2 & 3;
12220
12237
  if (t !== 1 && s !== 0 && s !== 15 && r !== 3) {
12221
12238
  const n = a[e + 2] >> 1 & 1, o = a[e + 3] >> 6, u = t === 3 ? 3 - i : i === 3 ? 3 : 4, l = qu[u * 14 + s - 1] * 1e3, h = Xu[(t === 3 ? 0 : t === 2 ? 1 : 2) * 3 + r], c = o === 3 ? 1 : 2, g = Qu[t][i], f = Zu[i], m = g * 8 * f, p = Math.floor(g * l / h + n) * f;
12222
- if (mi === null) {
12239
+ if (pi === null) {
12223
12240
  const E = (navigator.userAgent || "").match(/Chrome\/(\d+)/i);
12224
- mi = E ? parseInt(E[1]) : 0;
12241
+ pi = E ? parseInt(E[1]) : 0;
12225
12242
  }
12226
- return mi && mi <= 87 && i === 2 && l >= 224e3 && o === 0 && (a[e + 3] = a[e + 3] | 128), {
12243
+ return pi && pi <= 87 && i === 2 && l >= 224e3 && o === 0 && (a[e + 3] = a[e + 3] | 128), {
12227
12244
  sampleRate: h,
12228
12245
  channelCount: c,
12229
12246
  frameLength: p,
@@ -12273,7 +12290,7 @@ class ed extends tr {
12273
12290
  static probe(e, t) {
12274
12291
  if (!e)
12275
12292
  return !1;
12276
- const i = ii(e, 0);
12293
+ const i = si(e, 0);
12277
12294
  let s = (i == null ? void 0 : i.length) || 0;
12278
12295
  if (Pa(e, s))
12279
12296
  return !1;
@@ -12337,7 +12354,7 @@ class td extends tr {
12337
12354
  static probe(e) {
12338
12355
  if (!e)
12339
12356
  return !1;
12340
- const t = ii(e, 0);
12357
+ const t = si(e, 0);
12341
12358
  if (!t)
12342
12359
  return !1;
12343
12360
  const i = t.length;
@@ -12382,7 +12399,7 @@ class id extends tr {
12382
12399
  static probe(e) {
12383
12400
  if (!e)
12384
12401
  return !1;
12385
- const t = ii(e, 0);
12402
+ const t = si(e, 0);
12386
12403
  let i = (t == null ? void 0 : t.length) || 0;
12387
12404
  if (t && e[i] === 11 && e[i + 1] === 119 && er(t) !== void 0 && // check the bsid to confirm ac-3 or ec-3 (not mp3)
12388
12405
  Oa(e, i) <= 16)
@@ -12662,7 +12679,7 @@ class wa {
12662
12679
  return e.naluState = r, o;
12663
12680
  }
12664
12681
  }
12665
- class Xt {
12682
+ class Qt {
12666
12683
  constructor(e) {
12667
12684
  this.data = void 0, this.bytesAvailable = void 0, this.word = void 0, this.bitsAvailable = void 0, this.data = e, this.bytesAvailable = e.byteLength, this.word = 0, this.bitsAvailable = 0;
12668
12685
  }
@@ -12804,7 +12821,7 @@ class ad extends wa {
12804
12821
  return e[t] & 31;
12805
12822
  }
12806
12823
  readSliceType(e) {
12807
- const t = new Xt(e);
12824
+ const t = new Qt(e);
12808
12825
  return t.readUByte(), t.readUEG(), t.readUEG();
12809
12826
  }
12810
12827
  /**
@@ -12827,7 +12844,7 @@ class ad extends wa {
12827
12844
  * associated video frames.
12828
12845
  */
12829
12846
  readSPS(e) {
12830
- const t = new Xt(e);
12847
+ const t = new Qt(e);
12831
12848
  let i = 0, s = 0, r = 0, n = 0, o, u, l;
12832
12849
  const d = t.readUByte.bind(t), h = t.readBits.bind(t), c = t.readUEG.bind(t), g = t.readBoolean.bind(t), f = t.skipBits.bind(t), m = t.skipEG.bind(t), p = t.skipUEG.bind(t), v = this.skipScalingList.bind(this);
12833
12850
  d();
@@ -13014,7 +13031,7 @@ class od extends wa {
13014
13031
  super.pushAccessUnit(e, t), this.initVPS && (this.initVPS = null);
13015
13032
  }
13016
13033
  readVPS(e) {
13017
- const t = new Xt(e);
13034
+ const t = new Qt(e);
13018
13035
  t.readUByte(), t.readUByte(), t.readBits(4), t.skipBits(2), t.readBits(6);
13019
13036
  const i = t.readBits(3), s = t.readBoolean();
13020
13037
  return {
@@ -13023,7 +13040,7 @@ class od extends wa {
13023
13040
  };
13024
13041
  }
13025
13042
  readSPS(e) {
13026
- const t = new Xt(this.ebsp2rbsp(e));
13043
+ const t = new Qt(this.ebsp2rbsp(e));
13027
13044
  t.readUByte(), t.readUByte(), t.readBits(4);
13028
13045
  const i = t.readBits(3);
13029
13046
  t.readBoolean();
@@ -13095,19 +13112,19 @@ class od extends wa {
13095
13112
  Ae > 0 && Ae < 16 ? (K = pt[Ae - 1], H = dt[Ae - 1]) : Ae === 255 && (K = t.readBits(16), H = t.readBits(16));
13096
13113
  }
13097
13114
  if (t.readBoolean() && t.readBoolean(), t.readBoolean() && (t.readBits(3), t.readBoolean(), t.readBoolean() && (t.readUByte(), t.readUByte(), t.readUByte())), t.readBoolean() && (t.readUEG(), t.readUEG()), t.readBoolean(), t.readBoolean(), t.readBoolean(), se = t.readBoolean(), se && (t.skipUEG(), t.skipUEG(), t.skipUEG(), t.skipUEG()), t.readBoolean() && (J = t.readBits(32), X = t.readBits(32), t.readBoolean() && t.readUEG(), t.readBoolean())) {
13098
- const dt = t.readBoolean(), ni = t.readBoolean();
13115
+ const dt = t.readBoolean(), ai = t.readBoolean();
13099
13116
  let At = !1;
13100
- (dt || ni) && (At = t.readBoolean(), At && (t.readUByte(), t.readBits(5), t.readBoolean(), t.readBits(5)), t.readBits(4), t.readBits(4), At && t.readBits(4), t.readBits(5), t.readBits(5), t.readBits(5));
13101
- for (let ai = 0; ai <= i; ai++) {
13117
+ (dt || ai) && (At = t.readBoolean(), At && (t.readUByte(), t.readBits(5), t.readBoolean(), t.readBits(5)), t.readBits(4), t.readBits(4), At && t.readBits(4), t.readBits(5), t.readBits(5), t.readBits(5));
13118
+ for (let oi = 0; oi <= i; oi++) {
13102
13119
  q = t.readBoolean();
13103
13120
  const Be = q || t.readBoolean();
13104
- let oi = !1;
13105
- Be ? t.readEG() : oi = t.readBoolean();
13106
- const B = oi ? 1 : t.readUEG() + 1;
13121
+ let li = !1;
13122
+ Be ? t.readEG() : li = t.readBoolean();
13123
+ const B = li ? 1 : t.readUEG() + 1;
13107
13124
  if (dt)
13108
13125
  for (let j = 0; j < B; j++)
13109
13126
  t.readUEG(), t.readUEG(), At && (t.readUEG(), t.readUEG()), t.skipBits(1);
13110
- if (ni)
13127
+ if (ai)
13111
13128
  for (let j = 0; j < B; j++)
13112
13129
  t.readUEG(), t.readUEG(), At && (t.readUEG(), t.readUEG()), t.skipBits(1);
13113
13130
  }
@@ -13149,7 +13166,7 @@ class od extends wa {
13149
13166
  };
13150
13167
  }
13151
13168
  readPPS(e) {
13152
- const t = new Xt(this.ebsp2rbsp(e));
13169
+ const t = new Qt(this.ebsp2rbsp(e));
13153
13170
  t.readUByte(), t.readUByte(), t.skipUEG(), t.skipUEG(), t.skipBits(2), t.skipBits(3), t.skipBits(2), t.skipUEG(), t.skipUEG(), t.skipEG(), t.skipBits(2), t.readBoolean() && t.skipUEG(), t.skipEG(), t.skipEG(), t.skipBits(4);
13154
13171
  const s = t.readBoolean(), r = t.readBoolean();
13155
13172
  let n = 1;
@@ -14802,7 +14819,7 @@ function sr(a, e, t = 1, i = !1) {
14802
14819
  function hd(a, e, t = 1, i = !1) {
14803
14820
  return sr(a, e, 1 / t, i);
14804
14821
  }
14805
- function Yt(a, e = !1) {
14822
+ function zt(a, e = !1) {
14806
14823
  return sr(a, 1e3, 1 / Ma, e);
14807
14824
  }
14808
14825
  function cd(a, e = 1) {
@@ -14993,7 +15010,7 @@ class bi extends Xe {
14993
15010
  const x = m - f, y = x ? Math.round(x / (u - 1)) : g || e.inputTimeScale / 30;
14994
15011
  if (i) {
14995
15012
  const $ = f - E, K = $ > y, H = $ < -1;
14996
- if ((K || H) && (K ? this.warn(`${(e.segmentCodec || "").toUpperCase()}: ${Yt($, !0)} ms (${$}dts) hole between fragments detected at ${t.toFixed(3)}`) : this.warn(`${(e.segmentCodec || "").toUpperCase()}: ${Yt(-$, !0)} ms (${$}dts) overlapping between fragments detected at ${t.toFixed(3)}`), !H || E >= n[0].pts || Bt)) {
15013
+ if ((K || H) && (K ? this.warn(`${(e.segmentCodec || "").toUpperCase()}: ${zt($, !0)} ms (${$}dts) hole between fragments detected at ${t.toFixed(3)}`) : this.warn(`${(e.segmentCodec || "").toUpperCase()}: ${zt(-$, !0)} ms (${$}dts) overlapping between fragments detected at ${t.toFixed(3)}`), !H || E >= n[0].pts || Bt)) {
14997
15014
  f = E;
14998
15015
  const q = n[0].pts - $;
14999
15016
  if (K)
@@ -15008,7 +15025,7 @@ class bi extends Xe {
15008
15025
  }
15009
15026
  }
15010
15027
  }
15011
- this.log(`Video: Initial PTS/DTS adjusted: ${Yt(q, !0)}/${Yt(f, !0)}, delta: ${Yt($, !0)} ms`);
15028
+ this.log(`Video: Initial PTS/DTS adjusted: ${zt(q, !0)}/${zt(f, !0)}, delta: ${zt($, !0)} ms`);
15012
15029
  }
15013
15030
  }
15014
15031
  f = Math.max(0, f);
@@ -15328,7 +15345,7 @@ class vd extends Xe {
15328
15345
  if ((o = f) != null && o.length || (this.generateInitSegment(c), f = this.initData), !((u = f) != null && u.length))
15329
15346
  return this.warn("Failed to generate initSegment."), h;
15330
15347
  this.emitInitSegment && (g.tracks = this.initTracks, this.emitInitSegment = !1);
15331
- const m = ol(c, f, this), p = f.audio ? m[f.audio.id] : null, v = f.video ? m[f.video.id] : null, _ = pi(v, 1 / 0), E = pi(p, 1 / 0), x = pi(v, 0, !0), y = pi(p, 0, !0);
15348
+ const m = ol(c, f, this), p = f.audio ? m[f.audio.id] : null, v = f.video ? m[f.video.id] : null, _ = _i(v, 1 / 0), E = _i(p, 1 / 0), x = _i(v, 0, !0), y = _i(p, 0, !0);
15332
15349
  let T = r, A = 0;
15333
15350
  const L = p && (!v || !l && E < _ || l && l.trackId === f.audio.id), R = L ? p : v;
15334
15351
  if (R) {
@@ -15368,7 +15385,7 @@ class vd extends Xe {
15368
15385
  return h.initSegment = g, h.id3 = Fa(i, r, l, l), s.samples.length && (h.text = Ba(s, r, l)), h;
15369
15386
  }
15370
15387
  }
15371
- function pi(a, e, t = !1) {
15388
+ function _i(a, e, t = !1) {
15372
15389
  return (a == null ? void 0 : a.start) !== void 0 ? (a.start + (t ? a.duration : 0)) / a.timescale : e;
15373
15390
  }
15374
15391
  function Ed(a, e, t, i) {
@@ -15434,7 +15451,7 @@ class hn {
15434
15451
  duration: _,
15435
15452
  initSegmentData: E
15436
15453
  } = u, x = yd(n, t);
15437
- if (x && Gt(x.method)) {
15454
+ if (x && Kt(x.method)) {
15438
15455
  const L = this.getDecrypter(), R = zs(x.method);
15439
15456
  if (L.isSync()) {
15440
15457
  let I = L.softwareDecrypt(n, x.key.buffer, x.iv.buffer, R);
@@ -15465,7 +15482,7 @@ class hn {
15465
15482
  }
15466
15483
  (d || h || f || y) && this.resetInitSegment(E, m, p, _, t), (d || f || y) && this.resetInitialTimestamp(v), l || this.resetContiguity();
15467
15484
  const T = this.transmux(n, x, g, c, i);
15468
- this.asyncResult = si(T);
15485
+ this.asyncResult = ri(T);
15469
15486
  const A = this.currentTransmuxState;
15470
15487
  return A.contiguous = !0, A.discontinuity = !1, A.trackSwitch = !1, r.executeEnd = mt(), T;
15471
15488
  }
@@ -15497,7 +15514,7 @@ class hn {
15497
15514
  return this.asyncResult ? Promise.resolve(h) : h;
15498
15515
  }
15499
15516
  const d = u.flush(o);
15500
- return si(d) ? (this.asyncResult = !0, d.then((h) => (this.flushRemux(n, h, e), n))) : (this.flushRemux(n, d, e), this.asyncResult ? Promise.resolve(n) : n);
15517
+ return ri(d) ? (this.asyncResult = !0, d.then((h) => (this.flushRemux(n, h, e), n))) : (this.flushRemux(n, d, e), this.asyncResult ? Promise.resolve(n) : n);
15501
15518
  }
15502
15519
  flushRemux(e, t, i) {
15503
15520
  const {
@@ -15597,7 +15614,7 @@ const ls = (a) => ({
15597
15614
  remuxResult: {},
15598
15615
  chunkMeta: a
15599
15616
  });
15600
- function si(a) {
15617
+ function ri(a) {
15601
15618
  return "then" in a && a.then instanceof Function;
15602
15619
  }
15603
15620
  class xd {
@@ -15747,7 +15764,7 @@ class Na {
15747
15764
  }, e instanceof ArrayBuffer ? [e] : []);
15748
15765
  else if (f) {
15749
15766
  const D = f.push(e, p, l, I);
15750
- si(D) ? D.then((b) => {
15767
+ ri(D) ? D.then((b) => {
15751
15768
  this.handleTransmuxComplete(b);
15752
15769
  }).catch((b) => {
15753
15770
  this.transmuxerError(b, l, "transmuxer-interface push error");
@@ -15768,7 +15785,7 @@ class Na {
15768
15785
  });
15769
15786
  else if (i) {
15770
15787
  const s = i.flush(e);
15771
- si(s) ? s.then((r) => {
15788
+ ri(s) ? s.then((r) => {
15772
15789
  this.handleFlushResult(r, e);
15773
15790
  }).catch((r) => {
15774
15791
  this.transmuxerError(r, e, "transmuxer-interface flush error");
@@ -15965,6 +15982,8 @@ class Td extends Xs {
15965
15982
  this.bufferFlushed = !0;
15966
15983
  return;
15967
15984
  }
15985
+ if (this.exceedsMaxBuffer(d, c, v))
15986
+ return;
15968
15987
  let _ = ((e = this.mainFragLoading) == null ? void 0 : e.frag) || null;
15969
15988
  if (!this.audioOnly && this.startFragRequested && _ && Te(v) && !v.endList && (!u.live || !this.loadingParts && p < this.hls.liveSyncPosition) && (this.fragmentTracker.getState(_) === Ie.OK && (this.mainFragLoading = _ = null), _ && Te(_))) {
15970
15989
  if (v.start > _.end) {
@@ -15985,7 +16004,7 @@ class Td extends Xs {
15985
16004
  onAudioTracksUpdated(e, {
15986
16005
  audioTracks: t
15987
16006
  }) {
15988
- this.resetTransmuxer(), this.levels = t.map((i) => new ei(i));
16007
+ this.resetTransmuxer(), this.levels = t.map((i) => new ti(i));
15989
16008
  }
15990
16009
  onAudioTrackSwitching(e, t) {
15991
16010
  const i = !!t.url;
@@ -16488,11 +16507,11 @@ function Ua(a, e) {
16488
16507
  if (a.length !== e.length)
16489
16508
  return !1;
16490
16509
  for (let t = 0; t < a.length; t++)
16491
- if (!ri(a[t].attrs, e[t].attrs))
16510
+ if (!ni(a[t].attrs, e[t].attrs))
16492
16511
  return !1;
16493
16512
  return !0;
16494
16513
  }
16495
- function ri(a, e, t) {
16514
+ function ni(a, e, t) {
16496
16515
  const i = a["STABLE-RENDITION-ID"];
16497
16516
  return i && !t ? i === e["STABLE-RENDITION-ID"] : !(t || ["LANGUAGE", "NAME", "CHARACTERISTICS", "AUTOSELECT", "DEFAULT", "FORCED", "ASSOC-LANGUAGE"]).some((s) => a[s] !== e[s]);
16498
16517
  }
@@ -16677,12 +16696,12 @@ class Ad extends rr {
16677
16696
  }
16678
16697
  for (let l = 0; l < t.length; l++) {
16679
16698
  const d = t[l];
16680
- if (ri(e.attrs, d.attrs, ["LANGUAGE", "ASSOC-LANGUAGE", "CHARACTERISTICS"]))
16699
+ if (ni(e.attrs, d.attrs, ["LANGUAGE", "ASSOC-LANGUAGE", "CHARACTERISTICS"]))
16681
16700
  return l;
16682
16701
  }
16683
16702
  for (let l = 0; l < t.length; l++) {
16684
16703
  const d = t[l];
16685
- if (ri(e.attrs, d.attrs, ["LANGUAGE"]))
16704
+ if (ni(e.attrs, d.attrs, ["LANGUAGE"]))
16686
16705
  return l;
16687
16706
  }
16688
16707
  }
@@ -17220,9 +17239,9 @@ transfer tracks: ${me(s, (u, l) => u === "initSegment" ? void 0 : l)}}`), !Fn(s,
17220
17239
  if (A.code === DOMException.QUOTA_EXCEEDED_ERR || A.name == "QuotaExceededError" || "quota" in A)
17221
17240
  R.details = M.BUFFER_FULL_ERROR;
17222
17241
  else if (A.code === DOMException.INVALID_STATE_ERR && this.mediaSourceOpenOrEnded && !I)
17223
- R.errorAction = $t(!0);
17242
+ R.errorAction = Gt(!0);
17224
17243
  else if (A.name === $a && this.sourceBufferCount === 0)
17225
- R.errorAction = $t(!0);
17244
+ R.errorAction = Gt(!0);
17226
17245
  else {
17227
17246
  const D = ++this.appendErrors[r];
17228
17247
  this.warn(`Failed ${D}/${this.hls.config.appendErrorMaxRetry} times to append segment in "${r}" sourceBuffer (${I || "no media error"})`), (D >= this.hls.config.appendErrorMaxRetry || I) && (R.fatal = !0);
@@ -17546,7 +17565,7 @@ transfer tracks: ${me(s, (u, l) => u === "initSegment" ? void 0 : l)}}`), !Fn(s,
17546
17565
  getTrackCodec(e, t) {
17547
17566
  const i = e.supplemental;
17548
17567
  let s = e.codec;
17549
- i && (t === "video" || t === "audiovideo") && Zt(i, "video") && (s = _l(s, i));
17568
+ i && (t === "video" || t === "audiovideo") && Jt(i, "video") && (s = _l(s, i));
17550
17569
  const r = Li(s, e.levelCodec);
17551
17570
  return r ? t.slice(0, 5) === "audio" ? wi(r, this.appendSource) : r : "";
17552
17571
  }
@@ -18124,7 +18143,7 @@ function nh(a, e) {
18124
18143
  r.shift(), s.unshift("..");
18125
18144
  return s.join("/") + t.search + t.hash;
18126
18145
  }
18127
- const Ci = (a) => Math.round(a), Ms = (a, e) => Array.isArray(a) ? a.map((t) => Ms(t, e)) : a instanceof lt && typeof a.value == "string" ? new lt(Ms(a.value, e), a.params) : (e.baseUrl && (a = nh(a, e.baseUrl)), e.version === 1 ? encodeURIComponent(a) : a), _i = (a) => Ci(a / 100) * 100, ah = (a, e) => {
18146
+ const Ci = (a) => Math.round(a), Ms = (a, e) => Array.isArray(a) ? a.map((t) => Ms(t, e)) : a instanceof lt && typeof a.value == "string" ? new lt(Ms(a.value, e), a.params) : (e.baseUrl && (a = nh(a, e.baseUrl)), e.version === 1 ? encodeURIComponent(a) : a), vi = (a) => Ci(a / 100) * 100, ah = (a, e) => {
18128
18147
  let t = a;
18129
18148
  return e.version >= 2 && (a instanceof lt && typeof a.value == "string" ? t = new lt([a]) : typeof a == "string" && (t = [a])), Ms(t, e);
18130
18149
  }, oh = {
@@ -18139,15 +18158,15 @@ const Ci = (a) => Math.round(a), Ms = (a, e) => Array.isArray(a) ? a.map((t) =>
18139
18158
  /**
18140
18159
  * Buffer Length (milliseconds) rounded nearest 100ms
18141
18160
  */
18142
- bl: _i,
18161
+ bl: vi,
18143
18162
  /**
18144
18163
  * Deadline (milliseconds) rounded nearest 100ms
18145
18164
  */
18146
- dl: _i,
18165
+ dl: vi,
18147
18166
  /**
18148
18167
  * Measured Throughput (kbps) rounded nearest 100kbps
18149
18168
  */
18150
- mtp: _i,
18169
+ mtp: vi,
18151
18170
  /**
18152
18171
  * Next Object Request URL encoded
18153
18172
  */
@@ -18155,7 +18174,7 @@ const Ci = (a) => Math.round(a), Ms = (a, e) => Array.isArray(a) ? a.map((t) =>
18155
18174
  /**
18156
18175
  * Requested maximum throughput (kbps) rounded nearest 100kbps
18157
18176
  */
18158
- rtp: _i,
18177
+ rtp: vi,
18159
18178
  /**
18160
18179
  * Top Bitrate (kbps) rounded integer
18161
18180
  */
@@ -18599,7 +18618,7 @@ class Ih extends Xe {
18599
18618
  h["PATHWAY-ID"] = n;
18600
18619
  const c = h.AUDIO && `${h.AUDIO}_clone_${n}`, g = h.SUBTITLES && `${h.SUBTITLES}_clone_${n}`;
18601
18620
  c && (i[h.AUDIO] = c, h.AUDIO = c), g && (s[h.SUBTITLES] = g, h.SUBTITLES = g);
18602
- const f = Qa(d.uri, h["STABLE-VARIANT-ID"], "PER-VARIANT-URIS", u), m = new ei({
18621
+ const f = Qa(d.uri, h["STABLE-VARIANT-ID"], "PER-VARIANT-URIS", u), m = new ti({
18603
18622
  attrs: h,
18604
18623
  audioCodec: d.audioCodec,
18605
18624
  bitrate: d.bitrate,
@@ -18728,9 +18747,9 @@ function Qa(a, e, t, i) {
18728
18747
  l && u.searchParams.set(l, r[l]);
18729
18748
  }), u.href;
18730
18749
  }
18731
- class Kt extends Xe {
18750
+ class Vt extends Xe {
18732
18751
  constructor(e) {
18733
- super("eme", e.logger), this.hls = void 0, this.config = void 0, this.media = null, this.mediaResolved = void 0, this.keyFormatPromise = null, this.keySystemAccessPromises = {}, this._requestLicenseFailureCount = 0, this.mediaKeySessions = [], this.keyIdToKeySessionPromise = {}, this.mediaKeys = null, this.setMediaKeysQueue = Kt.CDMCleanupPromise ? [Kt.CDMCleanupPromise] : [], this.bannedKeyIds = {}, this.onMediaEncrypted = (t) => {
18752
+ super("eme", e.logger), this.hls = void 0, this.config = void 0, this.media = null, this.mediaResolved = void 0, this.keyFormatPromise = null, this.keySystemAccessPromises = {}, this._requestLicenseFailureCount = 0, this.mediaKeySessions = [], this.keyIdToKeySessionPromise = {}, this.mediaKeys = null, this.setMediaKeysQueue = Vt.CDMCleanupPromise ? [Vt.CDMCleanupPromise] : [], this.bannedKeyIds = {}, this.onMediaEncrypted = (t) => {
18734
18753
  const {
18735
18754
  initDataType: i,
18736
18755
  initData: s
@@ -18738,7 +18757,7 @@ class Kt extends Xe {
18738
18757
  if (this.debug(r), s !== null) {
18739
18758
  if (!this.keyFormatPromise) {
18740
18759
  let n = Object.keys(this.keySystemAccessPromises);
18741
- n.length || (n = zt(this.config));
18760
+ n.length || (n = qt(this.config));
18742
18761
  const o = n.map(ts).filter((u) => !!u);
18743
18762
  this.keyFormatPromise = this.getKeyFormatPromise(o);
18744
18763
  }
@@ -18890,7 +18909,7 @@ class Kt extends Xe {
18890
18909
  renewKeySession(e) {
18891
18910
  const t = e.decryptdata;
18892
18911
  if (t.pssh) {
18893
- const i = this.createMediaKeySessionContext(e), s = vi(t), r = "cenc";
18912
+ const i = this.createMediaKeySessionContext(e), s = Ei(t), r = "cenc";
18894
18913
  this.keyIdToKeySessionPromise[s] = this.generateRequestWithPreferredKeySession(i, r, t.pssh.buffer, "expired");
18895
18914
  } else
18896
18915
  this.warn("Could not renew expired session. Missing pssh initData.");
@@ -18932,7 +18951,7 @@ class Kt extends Xe {
18932
18951
  return this.keyFormatPromise || (this.log(`Selecting key-system from fragment (sn: ${e.sn} ${e.type}: ${e.level}) key formats ${t.join(", ")}`), this.keyFormatPromise = this.getKeyFormatPromise(t)), this.keyFormatPromise;
18933
18952
  }
18934
18953
  getKeyFormatPromise(e) {
18935
- const t = zt(this.config), i = e.map(Ri).filter((s) => !!s && t.indexOf(s) !== -1);
18954
+ const t = qt(this.config), i = e.map(Ri).filter((s) => !!s && t.indexOf(s) !== -1);
18936
18955
  return this.selectKeySystem(i);
18937
18956
  }
18938
18957
  getKeyStatus(e) {
@@ -18946,7 +18965,7 @@ class Kt extends Xe {
18946
18965
  }
18947
18966
  }
18948
18967
  loadKey(e) {
18949
- const t = e.keyInfo.decryptdata, i = vi(t), s = this.bannedKeyIds[i];
18968
+ const t = e.keyInfo.decryptdata, i = Ei(t), s = this.bannedKeyIds[i];
18950
18969
  if (s || this.getKeyStatus(t) === "internal-error") {
18951
18970
  const o = yn(s || "internal-error", t);
18952
18971
  return this.handleError(o, e.frag), Promise.reject(o);
@@ -18996,15 +19015,15 @@ class Kt extends Xe {
18996
19015
  });
18997
19016
  }
18998
19017
  getKeySystemForKeyPromise(e) {
18999
- const t = vi(e), i = this.keyIdToKeySessionPromise[t];
19018
+ const t = Ei(e), i = this.keyIdToKeySessionPromise[t];
19000
19019
  if (!i) {
19001
- const s = Ri(e.keyFormat), r = s ? [s] : zt(this.config);
19020
+ const s = Ri(e.keyFormat), r = s ? [s] : qt(this.config);
19002
19021
  return this.attemptKeySystemAccess(r);
19003
19022
  }
19004
19023
  return i;
19005
19024
  }
19006
19025
  getKeySystemSelectionPromise(e) {
19007
- if (e.length || (e = zt(this.config)), e.length === 0)
19026
+ if (e.length || (e = qt(this.config)), e.length === 0)
19008
19027
  throw new Ke({
19009
19028
  type: Q.KEY_SYSTEM_ERROR,
19010
19029
  details: M.KEY_SYSTEM_NO_CONFIGURED_LICENSE,
@@ -19045,7 +19064,7 @@ class Kt extends Xe {
19045
19064
  }
19046
19065
  if (i === null)
19047
19066
  return this.log(`Skipping key-session request for "${s}" (no initData)`), Promise.resolve(e);
19048
- const o = vi(e.decryptdata), u = e.decryptdata.uri;
19067
+ const o = Ei(e.decryptdata), u = e.decryptdata.uri;
19049
19068
  this.log(`Generating key-session request for "${s}" keyId: ${o} URI: ${u} (init data type: ${t} length: ${i.byteLength})`);
19050
19069
  const l = new Qs(), d = e._onmessage = (f) => {
19051
19070
  const m = e.mediaKeysSession;
@@ -19309,7 +19328,7 @@ class Kt extends Xe {
19309
19328
  const i = this.media, s = this.mediaKeySessions.slice();
19310
19329
  this.mediaKeySessions = [], this.mediaKeys = null, xt.clearKeyUriToKeyIdMap();
19311
19330
  const r = s.length;
19312
- Kt.CDMCleanupPromise = Promise.all(s.map((n) => this.removeSession(n)).concat((i == null || (e = i.setMediaKeys(null)) == null ? void 0 : e.catch((n) => {
19331
+ Vt.CDMCleanupPromise = Promise.all(s.map((n) => this.removeSession(n)).concat((i == null || (e = i.setMediaKeys(null)) == null ? void 0 : e.catch((n) => {
19313
19332
  this.log(`Could not clear media keys: ${n}`), this.hls && this.hls.trigger(S.ERROR, {
19314
19333
  type: Q.OTHER_ERROR,
19315
19334
  details: M.KEY_SYSTEM_DESTROY_MEDIA_KEYS_ERROR,
@@ -19376,8 +19395,8 @@ class Kt extends Xe {
19376
19395
  return Promise.resolve();
19377
19396
  }
19378
19397
  }
19379
- Kt.CDMCleanupPromise = void 0;
19380
- function vi(a) {
19398
+ Vt.CDMCleanupPromise = void 0;
19399
+ function Ei(a) {
19381
19400
  if (!a)
19382
19401
  throw new Error("Could not read keyId of undefined decryptdata");
19383
19402
  if (a.keyId === null)
@@ -19486,7 +19505,7 @@ function Ja(a, e) {
19486
19505
  }
19487
19506
  t === "disabled" && (a.mode = t);
19488
19507
  }
19489
- function Ut(a, e) {
19508
+ function $t(a, e) {
19490
19509
  const t = a.mode;
19491
19510
  if (t === "disabled" && (a.mode = "hidden"), a.cues)
19492
19511
  for (let i = a.cues.length; i--; )
@@ -19592,7 +19611,7 @@ class Ph extends rr {
19592
19611
  if (self.clearInterval(this.subtitlePollingInterval), this.useTextTrackPolling || i.textTracks.removeEventListener("change", this.asyncPollTrackChange), this.trackId > -1 && (this.queuedDefaultTrack = this.trackId), this.subtitleTrack = -1, this.media = null, s)
19593
19612
  return;
19594
19613
  Pi(i.textTracks).forEach((n) => {
19595
- Ut(n);
19614
+ $t(n);
19596
19615
  });
19597
19616
  }
19598
19617
  onManifestLoading() {
@@ -19666,12 +19685,12 @@ class Ph extends rr {
19666
19685
  if (e) {
19667
19686
  for (let s = 0; s < t.length; s++) {
19668
19687
  const r = t[s];
19669
- if (ri(e.attrs, r.attrs, ["LANGUAGE", "ASSOC-LANGUAGE", "CHARACTERISTICS"]))
19688
+ if (ni(e.attrs, r.attrs, ["LANGUAGE", "ASSOC-LANGUAGE", "CHARACTERISTICS"]))
19670
19689
  return s;
19671
19690
  }
19672
19691
  for (let s = 0; s < t.length; s++) {
19673
19692
  const r = t[s];
19674
- if (ri(e.attrs, r.attrs, ["LANGUAGE"]))
19693
+ if (ni(e.attrs, r.attrs, ["LANGUAGE"]))
19675
19694
  return s;
19676
19695
  }
19677
19696
  }
@@ -19825,18 +19844,18 @@ function Oh() {
19825
19844
  }
19826
19845
  }
19827
19846
  }
19828
- function Qt(a) {
19847
+ function Zt(a) {
19829
19848
  let e = 5381, t = a.length;
19830
19849
  for (; t; )
19831
19850
  e = e * 33 ^ a.charCodeAt(--t);
19832
19851
  return (e >>> 0).toString();
19833
19852
  }
19834
- const Vt = 0.025;
19853
+ const jt = 0.025;
19835
19854
  let Vi = /* @__PURE__ */ (function(a) {
19836
19855
  return a[a.Point = 0] = "Point", a[a.Range = 1] = "Range", a;
19837
19856
  })({});
19838
19857
  function kh(a, e, t) {
19839
- return `${a.identifier}-${t + 1}-${Qt(e)}`;
19858
+ return `${a.identifier}-${t + 1}-${Zt(e)}`;
19840
19859
  }
19841
19860
  class wh {
19842
19861
  constructor(e, t) {
@@ -19908,7 +19927,7 @@ class wh {
19908
19927
  }
19909
19928
  get appendInPlace() {
19910
19929
  return this.appendInPlaceStarted ? !0 : this.appendInPlaceDisabled ? !1 : !!(!this.cue.once && !this.cue.pre && // preroll starts at startPosition before startPosition is known (live)
19911
- this.startIsAligned && (isNaN(this.playoutLimit) && isNaN(this.resumeOffset) || this.resumeOffset && this.duration && Math.abs(this.resumeOffset - this.duration) < Vt));
19930
+ this.startIsAligned && (isNaN(this.playoutLimit) && isNaN(this.resumeOffset) || this.resumeOffset && this.duration && Math.abs(this.resumeOffset - this.duration) < jt));
19912
19931
  }
19913
19932
  set appendInPlace(e) {
19914
19933
  if (this.appendInPlaceStarted) {
@@ -19961,7 +19980,7 @@ class wh {
19961
19980
  }
19962
19981
  }
19963
19982
  function ds(a, e) {
19964
- return a - e.start < e.duration / 2 && !(Math.abs(a - (e.start + e.duration)) < Vt) ? e.start : e.start + e.duration;
19983
+ return a - e.start < e.duration / 2 && !(Math.abs(a - (e.start + e.duration)) < jt) ? e.start : e.start + e.duration;
19965
19984
  }
19966
19985
  function eo(a, e, t) {
19967
19986
  const i = new self.URL(a, t);
@@ -19975,7 +19994,7 @@ function hs(a, e) {
19975
19994
  function Mh(a) {
19976
19995
  return `["${a.identifier}" ${a.cue.pre ? "<pre>" : a.cue.post ? "<post>" : ""}${a.timelineStart.toFixed(2)}-${a.resumeTime.toFixed(2)}]`;
19977
19996
  }
19978
- function Nt(a) {
19997
+ function Ut(a) {
19979
19998
  const e = a.timelineStart, t = a.duration || 0;
19980
19999
  return `["${a.identifier}" ${e.toFixed(2)}-${(e + t).toFixed(2)}]`;
19981
20000
  }
@@ -20148,7 +20167,7 @@ class Fh {
20148
20167
  }
20149
20168
  toString() {
20150
20169
  var e;
20151
- return `HlsAssetPlayer: ${Nt(this.assetItem)} ${(e = this.hls) == null ? void 0 : e.sessionId} ${this.appendInPlace ? "append-in-place" : ""}`;
20170
+ return `HlsAssetPlayer: ${Ut(this.assetItem)} ${(e = this.hls) == null ? void 0 : e.sessionId} ${this.appendInPlace ? "append-in-place" : ""}`;
20152
20171
  }
20153
20172
  }
20154
20173
  const xn = 0.033;
@@ -20419,7 +20438,7 @@ class Bh extends Xe {
20419
20438
  }
20420
20439
  primaryCanResumeInPlaceAt(e, t) {
20421
20440
  const i = e.resumeTime, s = e.startTime + e.resumptionOffset;
20422
- return Math.abs(i - s) > Vt ? (this.log(`"${e.identifier}" resumption ${i} not aligned with estimated timeline end ${s}`), !1) : !Object.keys(t).some((n) => {
20441
+ return Math.abs(i - s) > jt ? (this.log(`"${e.identifier}" resumption ${i} not aligned with estimated timeline end ${s}`), !1) : !Object.keys(t).some((n) => {
20423
20442
  const o = t[n].details, u = o.edge;
20424
20443
  if (i >= u)
20425
20444
  return this.log(`"${e.identifier}" resumption ${i} past ${n} playlist end ${u}`), !1;
@@ -20427,7 +20446,7 @@ class Bh extends Xe {
20427
20446
  if (!l)
20428
20447
  return this.log(`"${e.identifier}" resumption ${i} does not align with any fragments in ${n} playlist (${o.fragStart}-${o.fragmentEnd})`), !0;
20429
20448
  const d = n === "audio" ? 0.175 : 0;
20430
- return Math.abs(l.start - i) < Vt + d || Math.abs(l.end - i) < Vt + d ? !1 : (this.log(`"${e.identifier}" resumption ${i} not aligned with ${n} fragment bounds (${l.start}-${l.end} sn: ${l.sn} cc: ${l.cc})`), !0);
20449
+ return Math.abs(l.start - i) < jt + d || Math.abs(l.end - i) < jt + d ? !1 : (this.log(`"${e.identifier}" resumption ${i} not aligned with ${n} fragment bounds (${l.start}-${l.end} sn: ${l.sn} cc: ${l.cc})`), !0);
20431
20450
  });
20432
20451
  }
20433
20452
  updateAssetDurations(e) {
@@ -20522,7 +20541,7 @@ function Sn(a) {
20522
20541
  a == null || (e = a.play()) == null || e.catch(() => {
20523
20542
  });
20524
20543
  }
20525
- function Ei(a, e) {
20544
+ function Nt(a, e) {
20526
20545
  return `[${a}] Advancing timeline position to ${e}`;
20527
20546
  }
20528
20547
  class Uh extends Xe {
@@ -20539,7 +20558,7 @@ class Uh extends Xe {
20539
20558
  if (Math.abs(s) < 1 / 7056e5)
20540
20559
  return;
20541
20560
  const n = s <= -0.01;
20542
- this.timelinePos = i, this.bufferedPos = i;
20561
+ this.timelinePos === -1 && !this.effectivePlayingItem && this.checkStart(), this.timelinePos = i, this.bufferedPos = i;
20543
20562
  const o = this.playingItem;
20544
20563
  if (!o) {
20545
20564
  this.checkBuffer();
@@ -20576,7 +20595,7 @@ class Uh extends Xe {
20576
20595
  const i = this.currentTime;
20577
20596
  if (i === void 0 || this.playbackDisabled)
20578
20597
  return;
20579
- if (i > this.timelinePos)
20598
+ if (this.timelinePos === -1 && !this.effectivePlayingItem && this.checkStart(), i > this.timelinePos)
20580
20599
  this.timelinePos = i, i > this.bufferedPos && this.checkBuffer();
20581
20600
  else
20582
20601
  return;
@@ -20614,7 +20633,7 @@ Schedule: ${u.map((m) => Je(m))} pos: ${this.timelinePos}`), d.length && this.lo
20614
20633
  try {
20615
20634
  m.timelineOffset = p;
20616
20635
  } catch (_) {
20617
- Math.abs(v) > Vt && this.warn(`${_} ("${m.assetId}" ${m.timelineOffset}->${p})`);
20636
+ Math.abs(v) > jt && this.warn(`${_} ("${m.assetId}" ${m.timelineOffset}->${p})`);
20618
20637
  }
20619
20638
  }
20620
20639
  }), h || s) {
@@ -21010,14 +21029,19 @@ Schedule: ${u.map((m) => Je(m))} pos: ${this.timelinePos}`), d.length && this.lo
21010
21029
  const i = this.timelinePos, s = this.effectivePlayingItem;
21011
21030
  if (i === -1) {
21012
21031
  const r = this.hls.startPosition;
21013
- if (this.log(Ei("checkStart", r)), this.timelinePos = r, t.length && t[0].cue.pre) {
21032
+ if (this.timelinePos = r, t.length === 0)
21033
+ this.setSchedulePosition(0);
21034
+ else if (t[0].cue.pre) {
21035
+ this.log(Nt("checkStart (preroll)", r));
21014
21036
  const n = e.findEventIndex(t[0].identifier);
21015
21037
  this.setSchedulePosition(n);
21016
21038
  } else if (r >= 0 || !this.primaryLive) {
21039
+ this.log(Nt("checkStart", r));
21017
21040
  const n = this.timelinePos = r > 0 ? r : 0, o = e.findItemIndexAtTime(n);
21018
21041
  this.setSchedulePosition(o);
21019
- }
21042
+ } else this.hls.liveSyncPosition === 0 ? this.setSchedulePosition(0) : this.log("[checkStart] waiting for live start");
21020
21043
  } else if (s && !this.playingItem) {
21044
+ this.log(Nt("checkStart (playing item)", s.start));
21021
21045
  const r = e.findItemIndex(s);
21022
21046
  this.setSchedulePosition(r);
21023
21047
  }
@@ -21044,7 +21068,7 @@ Schedule: ${u.map((m) => Je(m))} pos: ${this.timelinePos}`), d.length && this.lo
21044
21068
  return;
21045
21069
  }
21046
21070
  const u = e.resumeTime;
21047
- this.timelinePos < u && (this.log(Ei("advanceAfterAssetEnded", u)), this.timelinePos = u, e.appendInPlace && this.advanceInPlace(u), this.checkBuffer(this.bufferedPos < u)), this.setSchedulePosition(n);
21071
+ this.timelinePos < u && (this.log(Nt("advanceAfterAssetEnded", u)), this.timelinePos = u, e.appendInPlace && this.advanceInPlace(u), this.checkBuffer(this.bufferedPos < u)), this.setSchedulePosition(n);
21048
21072
  }
21049
21073
  }
21050
21074
  } else {
@@ -21078,7 +21102,7 @@ Schedule: ${u.map((m) => Je(m))} pos: ${this.timelinePos}`), d.length && this.lo
21078
21102
  if (g && c && (!this.eventItemsMatch(n, r) || t !== void 0 && c !== d.assetList[t].identifier)) {
21079
21103
  var u;
21080
21104
  const f = d.findAssetIndex(h);
21081
- if (this.log(`INTERSTITIAL_ASSET_ENDED ${f + 1}/${d.assetList.length} ${Nt(h)}`), this.endedAsset = h, this.playingAsset = null, this.hls.trigger(S.INTERSTITIAL_ASSET_ENDED, {
21105
+ if (this.log(`INTERSTITIAL_ASSET_ENDED ${f + 1}/${d.assetList.length} ${Ut(h)}`), this.endedAsset = h, this.playingAsset = null, this.hls.trigger(S.INTERSTITIAL_ASSET_ENDED, {
21082
21106
  asset: h,
21083
21107
  assetListIndex: f,
21084
21108
  event: d,
@@ -21174,7 +21198,7 @@ Schedule: ${u.map((m) => Je(m))} pos: ${this.timelinePos}`), d.length && this.lo
21174
21198
  var s, r;
21175
21199
  if (this.playingItem = e, this.playingAsset = this.endedAsset = null, this.waitingItem = this.endedItem = null, this.bufferedToItem(e), this.log(`resuming ${Je(e)}`), !((s = this.detachedData) != null && s.mediaSource)) {
21176
21200
  let o = this.timelinePos;
21177
- (o < e.start || o >= e.end) && (o = this.getPrimaryResumption(e, t), this.log(Ei("resumePrimary", o)), this.timelinePos = o), this.attachPrimary(o, e);
21201
+ (o < e.start || o >= e.end) && (o = this.getPrimaryResumption(e, t), this.log(Nt("resumePrimary", o)), this.timelinePos = o), this.attachPrimary(o, e);
21178
21202
  }
21179
21203
  if (!i)
21180
21204
  return;
@@ -21205,7 +21229,7 @@ Schedule: ${u.map((m) => Je(m))} pos: ${this.timelinePos}`), d.length && this.lo
21205
21229
  if (!s)
21206
21230
  return;
21207
21231
  const r = this.hls;
21208
- r.media ? this.checkBuffer() : (this.transferMediaTo(r, s), i && this.startLoadingPrimaryAt(e, i)), i || (this.log(Ei("attachPrimary", e)), this.timelinePos = e, this.startLoadingPrimaryAt(e, i));
21232
+ r.media ? this.checkBuffer() : (this.transferMediaTo(r, s), i && this.startLoadingPrimaryAt(e, i)), i || (this.log(Nt("attachPrimary", e)), this.timelinePos = e, this.startLoadingPrimaryAt(e, i));
21209
21233
  }
21210
21234
  startLoadingPrimaryAt(e, t) {
21211
21235
  var i;
@@ -21545,7 +21569,7 @@ Schedule: ${u.map((m) => Je(m))} pos: ${this.timelinePos}`), d.length && this.lo
21545
21569
  e.appendInPlace && (e.appendInPlaceStarted = !0, t.timelineStart && (c.timelineOffset = t.timelineStart));
21546
21570
  const g = c.cmcd;
21547
21571
  g != null && g.sessionId && g.contentId && (c.cmcd = fe({}, g, {
21548
- contentId: Qt(t.uri)
21572
+ contentId: Zt(t.uri)
21549
21573
  })), this.getAssetPlayer(h) && this.warn(`Duplicate date range identifier ${e} and asset ${h}`);
21550
21574
  const f = new Fh(this.HlsPlayerClass, c, e, t);
21551
21575
  this.playerQueue.push(f), e.assetList[i] = t;
@@ -21618,7 +21642,7 @@ Schedule: ${u.map((m) => Je(m))} pos: ${this.timelinePos}`), d.length && this.lo
21618
21642
  error: y
21619
21643
  };
21620
21644
  this.handleAssetItemError(T, e, this.schedule.findEventIndex(e.identifier), i, y.message);
21621
- }), this.log(`INTERSTITIAL_ASSET_PLAYER_CREATED ${Nt(t)}`), this.hls.trigger(S.INTERSTITIAL_ASSET_PLAYER_CREATED, {
21645
+ }), this.log(`INTERSTITIAL_ASSET_PLAYER_CREATED ${Ut(t)}`), this.hls.trigger(S.INTERSTITIAL_ASSET_PLAYER_CREATED, {
21622
21646
  asset: t,
21623
21647
  assetListIndex: i,
21624
21648
  event: e,
@@ -21660,7 +21684,7 @@ Schedule: ${u.map((m) => Je(m))} pos: ${this.timelinePos}`), d.length && this.lo
21660
21684
  assetItem: o,
21661
21685
  assetId: u
21662
21686
  } = e, l = n.assetList.length, d = this.playingAsset;
21663
- this.endedAsset = null, this.playingAsset = o, (!d || d.identifier !== u) && (d && (this.clearAssetPlayer(d.identifier, i[s]), delete d.error), this.log(`INTERSTITIAL_ASSET_STARTED ${t + 1}/${l} ${Nt(o)}`), this.hls.trigger(S.INTERSTITIAL_ASSET_STARTED, {
21687
+ this.endedAsset = null, this.playingAsset = o, (!d || d.identifier !== u) && (d && (this.clearAssetPlayer(d.identifier, i[s]), delete d.error), this.log(`INTERSTITIAL_ASSET_STARTED ${t + 1}/${l} ${Ut(o)}`), this.hls.trigger(S.INTERSTITIAL_ASSET_STARTED, {
21664
21688
  asset: o,
21665
21689
  assetListIndex: t,
21666
21690
  event: n,
@@ -21693,7 +21717,7 @@ Schedule: ${u.map((m) => Je(m))} pos: ${this.timelinePos}`), d.length && this.lo
21693
21717
  return;
21694
21718
  }
21695
21719
  if (h && !Fn(h, e.tracks)) {
21696
- const c = new Error(`Asset ${Nt(n)} SourceBuffer tracks ('${Object.keys(e.tracks)}') are not compatible with primary content tracks ('${Object.keys(h)}')`), g = {
21720
+ const c = new Error(`Asset ${Ut(n)} SourceBuffer tracks ('${Object.keys(e.tracks)}') are not compatible with primary content tracks ('${Object.keys(h)}')`), g = {
21697
21721
  fatal: !0,
21698
21722
  type: Q.OTHER_ERROR,
21699
21723
  details: M.INTERSTITIAL_ASSET_ITEM_ERROR,
@@ -21729,11 +21753,11 @@ Schedule: ${u.map((m) => Je(m))} pos: ${this.timelinePos}`), d.length && this.lo
21729
21753
  if (e.details === M.BUFFER_STALLED_ERROR)
21730
21754
  return;
21731
21755
  const n = t.assetList[s] || null;
21732
- if (this.warn(`INTERSTITIAL_ASSET_ERROR ${n && Nt(n)} ${e.error}`), !this.schedule)
21756
+ if (this.warn(`INTERSTITIAL_ASSET_ERROR ${n && Ut(n)} ${e.error}`), !this.schedule)
21733
21757
  return;
21734
21758
  const o = (n == null ? void 0 : n.identifier) || "", u = this.getAssetPlayerQueueIndex(o), l = this.playerQueue[u] || null, d = this.schedule.items, h = fe({}, e, {
21735
21759
  fatal: !1,
21736
- errorAction: $t(!0),
21760
+ errorAction: Gt(!0),
21737
21761
  asset: n,
21738
21762
  assetListIndex: s,
21739
21763
  event: t,
@@ -21916,11 +21940,11 @@ class $h extends Xs {
21916
21940
  subtitleTracks: t
21917
21941
  }) {
21918
21942
  if (this.levels && Ua(this.levels, t)) {
21919
- this.levels = t.map((i) => new ei(i));
21943
+ this.levels = t.map((i) => new ti(i));
21920
21944
  return;
21921
21945
  }
21922
21946
  this.tracksBuffered = [], this.levels = t.map((i) => {
21923
- const s = new ei(i);
21947
+ const s = new ti(i);
21924
21948
  return this.tracksBuffered[s.id] = [], s;
21925
21949
  }), this.fragmentTracker.removeFragmentsInRange(0, Number.POSITIVE_INFINITY, z.SUBTITLE), this.fragPrevious = null, this.mediaBuffer = null;
21926
21950
  }
@@ -21980,7 +22004,7 @@ class $h extends Xs {
21980
22004
  frag: t,
21981
22005
  payload: i
21982
22006
  } = e, s = t.decryptdata, r = this.hls;
21983
- if (!this.fragContextChanged(t) && i && i.byteLength > 0 && s != null && s.key && s.iv && Gt(s.method)) {
22007
+ if (!this.fragContextChanged(t) && i && i.byteLength > 0 && s != null && s.key && s.iv && Kt(s.method)) {
21984
22008
  const n = performance.now();
21985
22009
  this.decrypter.decrypt(new Uint8Array(i), s.key.buffer, s.iv.buffer, zs(s.method)).catch((o) => {
21986
22010
  throw r.trigger(S.ERROR, {
@@ -23205,7 +23229,7 @@ const sc = /\r\n|\n\r|\n|\r/g, fs = function(e, t, i = 0) {
23205
23229
  return t += 1e3 * i, t += 60 * 1e3 * s, t += 3600 * 1e3 * r, t;
23206
23230
  };
23207
23231
  function ur(a, e, t) {
23208
- return Qt(a.toString()) + Qt(e.toString()) + Qt(t);
23232
+ return Zt(a.toString()) + Zt(e.toString()) + Zt(t);
23209
23233
  }
23210
23234
  const nc = function(e, t, i) {
23211
23235
  let s = e[t], r = e[s.prevCC];
@@ -23508,7 +23532,7 @@ class cc {
23508
23532
  languageCode: n
23509
23533
  } = t[e], o = this.getExistingTrack(r, n);
23510
23534
  if (o)
23511
- i[e] = o, Ut(i[e]), Za(i[e], s);
23535
+ i[e] = o, $t(i[e]), Za(i[e], s);
23512
23536
  else {
23513
23537
  const u = this.createTextTrack("captions", r, n);
23514
23538
  u && (u[e] = !0, i[e] = u);
@@ -23547,7 +23571,7 @@ class cc {
23547
23571
  captionsTracks: s
23548
23572
  } = this;
23549
23573
  Object.keys(s).forEach((r) => {
23550
- Ut(s[r]), delete s[r];
23574
+ $t(s[r]), delete s[r];
23551
23575
  }), this.nonNativeCaptionsTracks = {};
23552
23576
  }
23553
23577
  onManifestLoading() {
@@ -23562,7 +23586,7 @@ class cc {
23562
23586
  const t = e.textTracks;
23563
23587
  if (t)
23564
23588
  for (let i = 0; i < t.length; i++)
23565
- Ut(t[i]);
23589
+ $t(t[i]);
23566
23590
  }
23567
23591
  onSubtitleTracksUpdated(e, t) {
23568
23592
  const i = t.subtitleTracks || [], s = i.some((r) => r.textCodec === gs);
@@ -23585,7 +23609,7 @@ class cc {
23585
23609
  h && (d = h);
23586
23610
  }
23587
23611
  if (d)
23588
- Ut(d);
23612
+ $t(d);
23589
23613
  else {
23590
23614
  const h = uo(u);
23591
23615
  d = this.createTextTrack(h, u.name, u.lang), d && (d.mode = "disabled");
@@ -23867,7 +23891,7 @@ class Pn {
23867
23891
  } = t.loadPolicy;
23868
23892
  this.context = e, this.config = t, this.callbacks = i, this.request = this.fetchSetup(e, r), self.clearTimeout(this.requestTimeout), t.timeout = u && Y(u) ? u : l, this.requestTimeout = self.setTimeout(() => {
23869
23893
  this.callbacks && (this.abortInternal(), this.callbacks.onTimeout(s, e, this.response));
23870
- }, t.timeout), (si(this.request) ? this.request.then(self.fetch) : self.fetch(this.request)).then((h) => {
23894
+ }, t.timeout), (ri(this.request) ? this.request.then(self.fetch) : self.fetch(this.request)).then((h) => {
23871
23895
  var c;
23872
23896
  this.response = this.loader = h;
23873
23897
  const g = Math.max(self.performance.now(), s.loading.start);
@@ -24383,7 +24407,7 @@ const Ac = {
24383
24407
  timelineController: cc,
24384
24408
  audioStreamController: Td,
24385
24409
  audioTrackController: Ad,
24386
- emeController: Kt,
24410
+ emeController: Vt,
24387
24411
  cmcdController: Ah,
24388
24412
  contentSteeringController: Ih,
24389
24413
  interstitialsController: Uh
@@ -24863,7 +24887,7 @@ class wc {
24863
24887
  t && this.updateDateRangeCues(t);
24864
24888
  }
24865
24889
  onMediaDetaching(e, t) {
24866
- this.media = null, !t.transferMedia && (this.id3Track && (this.removeCues && Ut(this.id3Track, this.onEventCueEnter), this.id3Track = null), this.dateRangeCuesAppended = {});
24890
+ this.media = null, !t.transferMedia && (this.id3Track && (this.removeCues && $t(this.id3Track, this.onEventCueEnter), this.id3Track = null), this.dateRangeCuesAppended = {});
24867
24891
  }
24868
24892
  onManifestLoading() {
24869
24893
  this.dateRangeCuesAppended = {};
@@ -25268,7 +25292,7 @@ class Fc extends rr {
25268
25292
  }), this.filterAndSortMediaOptions(s, t, o, u, l);
25269
25293
  }
25270
25294
  createLevel(e) {
25271
- const t = new ei(e), i = e.supplemental;
25295
+ const t = new ti(e), i = e.supplemental;
25272
25296
  if (i != null && i.videoCodec && !this.isVideoSupported(i.videoCodec)) {
25273
25297
  const s = new Error(`SUPPLEMENTAL-CODECS not supported "${i.videoCodec}"`);
25274
25298
  this.log(s.message), t.supportedResult = qn(s, []);
@@ -25276,10 +25300,10 @@ class Fc extends rr {
25276
25300
  return t;
25277
25301
  }
25278
25302
  isAudioSupported(e) {
25279
- return Zt(e, "audio", this.hls.config.preferManagedMediaSource);
25303
+ return Jt(e, "audio", this.hls.config.preferManagedMediaSource);
25280
25304
  }
25281
25305
  isVideoSupported(e) {
25282
- return Zt(e, "video", this.hls.config.preferManagedMediaSource);
25306
+ return Jt(e, "video", this.hls.config.preferManagedMediaSource);
25283
25307
  }
25284
25308
  filterAndSortMediaOptions(e, t, i, s, r) {
25285
25309
  var n;
@@ -25571,7 +25595,7 @@ function Bc() {
25571
25595
  if (!fo())
25572
25596
  return !1;
25573
25597
  const a = St();
25574
- return typeof (a == null ? void 0 : a.isTypeSupported) == "function" && (["avc1.42E01E,mp4a.40.2", "av01.0.01M.08", "vp09.00.50.08"].some((e) => a.isTypeSupported(Jt(e, "video"))) || ["mp4a.40.2", "fLaC"].some((e) => a.isTypeSupported(Jt(e, "audio"))));
25598
+ return typeof (a == null ? void 0 : a.isTypeSupported) == "function" && (["avc1.42E01E,mp4a.40.2", "av01.0.01M.08", "vp09.00.50.08"].some((e) => a.isTypeSupported(ei(e, "video"))) || ["mp4a.40.2", "fLaC"].some((e) => a.isTypeSupported(ei(e, "audio"))));
25575
25599
  }
25576
25600
  function Nc() {
25577
25601
  var a;
@@ -25704,7 +25728,7 @@ class $c extends Xs {
25704
25728
  }
25705
25729
  g = this.getNextFragmentLoopLoading(g, l, o, z.MAIN, h);
25706
25730
  }
25707
- g && (g.initSegment && !g.initSegment.data && !this.bitrateTest && (g = g.initSegment), this.loadFragment(g, n, c));
25731
+ g && (this.exceedsMaxBuffer(o, h, g) || (g.initSegment && !g.initSegment.data && !this.bitrateTest && (g = g.initSegment), this.loadFragment(g, n, c)));
25708
25732
  }
25709
25733
  loadFragment(e, t, i) {
25710
25734
  const s = this.fragmentTracker.getState(e);
@@ -25723,7 +25747,10 @@ class $c extends Xs {
25723
25747
  - and trigger a buffer flush
25724
25748
  */
25725
25749
  immediateLevelSwitch() {
25726
- this.abortCurrentFrag(), this.flushMainBuffer(0, Number.POSITIVE_INFINITY);
25750
+ if (this.abortCurrentFrag(), this.flushMainBuffer(0, Number.POSITIVE_INFINITY), this.altAudio !== 0) {
25751
+ var e;
25752
+ (((e = this.getLevelDetails()) == null ? void 0 : e.fragmentStart) || 0) > this.lastCurrentTime && super.flushMainBuffer(0, Number.POSITIVE_INFINITY, "audio");
25753
+ }
25727
25754
  }
25728
25755
  /**
25729
25756
  * try to switch ASAP without breaking video playback:
@@ -26359,7 +26386,7 @@ class Gc extends Xe {
26359
26386
  });
26360
26387
  }
26361
26388
  if (this.config.requireKeySystemAccessOnStart) {
26362
- const s = zt(this.config);
26389
+ const s = qt(this.config);
26363
26390
  if (s.length)
26364
26391
  return this.emeController.getKeySystemAccess(s);
26365
26392
  }
@@ -26737,7 +26764,7 @@ class Kc {
26737
26764
  } = _;
26738
26765
  for (let A = E.length; A--; ) {
26739
26766
  const L = E[A];
26740
- Zt(L, "audio", x) ? (_.audioCodec = y = y ? `${y},${L}` : L, jt.audio[y.substring(0, 4)] = 2, E.splice(A, 1)) : Zt(L, "video", x) && (_.videoCodec = T = T ? `${T},${L}` : L, jt.video[T.substring(0, 4)] = 2, E.splice(A, 1));
26767
+ Jt(L, "audio", x) ? (_.audioCodec = y = y ? `${y},${L}` : L, Ht.audio[y.substring(0, 4)] = 2, E.splice(A, 1)) : Jt(L, "video", x) && (_.videoCodec = T = T ? `${T},${L}` : L, Ht.video[T.substring(0, 4)] = 2, E.splice(A, 1));
26741
26768
  }
26742
26769
  }
26743
26770
  });
@@ -26959,7 +26986,7 @@ class tt {
26959
26986
  * Get the video-dev/hls.js package version.
26960
26987
  */
26961
26988
  static get version() {
26962
- return ti;
26989
+ return ii;
26963
26990
  }
26964
26991
  /**
26965
26992
  * Check if the required MediaSource Extensions are available.
@@ -27762,7 +27789,7 @@ const Vc = { class: "mix-body" }, jc = { class: "upload-content" }, Hc = {
27762
27789
  }, v = () => {
27763
27790
  var C;
27764
27791
  (C = u.value) == null || C.click();
27765
- }, _ = (C) => ui(null, null, function* () {
27792
+ }, _ = (C) => di(null, null, function* () {
27766
27793
  var O;
27767
27794
  if (!C.type.startsWith("video/")) {
27768
27795
  Ze.warning("请选择有效的视频文件");
@@ -27787,7 +27814,7 @@ const Vc = { class: "mix-body" }, jc = { class: "upload-content" }, Hc = {
27787
27814
  } finally {
27788
27815
  d.value = !1, u.value && (u.value.value = "");
27789
27816
  }
27790
- }), E = (C) => ui(null, null, function* () {
27817
+ }), E = (C) => di(null, null, function* () {
27791
27818
  var O;
27792
27819
  const k = (O = C.target.files) == null ? void 0 : O[0];
27793
27820
  k && (yield _(k));
@@ -27857,7 +27884,7 @@ const Vc = { class: "mix-body" }, jc = { class: "upload-content" }, Hc = {
27857
27884
  (O = t.conf) != null && O.options && (t.conf.options[C] || (t.conf.options[C] = { value: "", type: "string", label: "" }), t.conf.options[C].value = k);
27858
27885
  }, R = (C) => {
27859
27886
  C.preventDefault(), C.stopPropagation();
27860
- }, I = (C) => ui(null, null, function* () {
27887
+ }, I = (C) => di(null, null, function* () {
27861
27888
  var O, F;
27862
27889
  C.preventDefault(), C.stopPropagation();
27863
27890
  const k = (F = (O = C.dataTransfer) == null ? void 0 : O.files) == null ? void 0 : F[0];
@@ -27876,7 +27903,7 @@ const Vc = { class: "mix-body" }, jc = { class: "upload-content" }, Hc = {
27876
27903
  A();
27877
27904
  }), (C, k) => (Ye(), ze("div", {
27878
27905
  class: "mix-component",
27879
- style: So({ borderRadius: `${Wt(r).radiusSize}px` })
27906
+ style: So({ borderRadius: `${Yt(r).radiusSize}px` })
27880
27907
  }, [
27881
27908
  ke("div", Vc, [
27882
27909
  !n.value && f.value === "upload" ? (Ye(), ze("div", {
@@ -27952,10 +27979,10 @@ const Vc = { class: "mix-body" }, jc = { class: "upload-content" }, Hc = {
27952
27979
  ref_key: "videoRef",
27953
27980
  ref: l,
27954
27981
  src: n.value,
27955
- controls: Wt(r).controls,
27956
- autoplay: Wt(r).autoplay,
27957
- loop: Wt(r).loop,
27958
- muted: Wt(r).muted,
27982
+ controls: Yt(r).controls,
27983
+ autoplay: Yt(r).autoplay,
27984
+ loop: Yt(r).loop,
27985
+ muted: Yt(r).muted,
27959
27986
  onLoadedmetadata: b,
27960
27987
  onError: P,
27961
27988
  class: "video-element"