@das-fed/upf-ui 6.4.0-dev.170 → 6.4.0-dev.172

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 (664) hide show
  1. package/package.json +5 -5
  2. package/packages/business-components/ai-panel/{index-Bg_src1J.js → index-BybM3Q9u.js} +325 -325
  3. package/packages/business-components/ai-panel/index-BybM3Q9u.js.gz +0 -0
  4. package/packages/business-components/ai-panel/{index-CoN6WqdZ.js → index-CgWRv2Ge.js} +3 -3
  5. package/packages/business-components/ai-panel/index-CgWRv2Ge.js.gz +0 -0
  6. package/packages/business-components/ai-panel/{index-7IxWMQwA.js → index-CwdJKHy0.js} +2 -2
  7. package/packages/business-components/ai-panel/index-CwdJKHy0.js.gz +0 -0
  8. package/packages/business-components/ai-panel/index.js +1 -1
  9. package/packages/business-components/app-container/index.js +1 -1
  10. package/packages/business-components/app-container/index.js.gz +0 -0
  11. package/packages/business-components/area-phone-select/index.js +9 -9
  12. package/packages/business-components/area-phone-select/index.js.gz +0 -0
  13. package/packages/business-components/change-enterprises/index.js +3 -3
  14. package/packages/business-components/change-enterprises/index.js.gz +0 -0
  15. package/packages/business-components/change-pwd/index.js +3 -3
  16. package/packages/business-components/change-pwd/index.js.gz +0 -0
  17. package/packages/business-components/currency-page/index.js +6 -6
  18. package/packages/business-components/currency-page/index.js.gz +0 -0
  19. package/packages/business-components/device-panel/index.js +11318 -11314
  20. package/packages/business-components/device-panel/index.js.gz +0 -0
  21. package/packages/business-components/echarts/index.js +4717 -4716
  22. package/packages/business-components/echarts/index.js.gz +0 -0
  23. package/packages/business-components/export-button/index.js +2 -2
  24. package/packages/business-components/export-button/index.js.gz +0 -0
  25. package/packages/business-components/import-button/index.js +2 -2
  26. package/packages/business-components/import-button/index.js.gz +0 -0
  27. package/packages/business-components/layout-breadcrumb/index.js +4 -4
  28. package/packages/business-components/layout-breadcrumb/index.js.gz +0 -0
  29. package/packages/business-components/model-table-dialog/index.js +338 -338
  30. package/packages/business-components/model-table-dialog/index.js.gz +0 -0
  31. package/packages/business-components/payment/index.js +25 -25
  32. package/packages/business-components/payment/index.js.gz +0 -0
  33. package/packages/business-components/process-configuration/index.js +5 -5
  34. package/packages/business-components/process-configuration/index.js.gz +0 -0
  35. package/packages/business-components/process-form/index.js +656 -654
  36. package/packages/business-components/process-form/index.js.gz +0 -0
  37. package/packages/business-components/process-log/index.js +1 -1
  38. package/packages/business-components/process-log/index.js.gz +0 -0
  39. package/packages/business-components/process-search-form/index.js +520 -461
  40. package/packages/business-components/process-search-form/index.js.gz +0 -0
  41. package/packages/business-components/process-table/index.js +671 -612
  42. package/packages/business-components/process-table/index.js.gz +0 -0
  43. package/packages/business-components/upload-file/index.js +10 -10
  44. package/packages/business-components/upload-file/index.js.gz +0 -0
  45. package/packages/business-components/urgent-panel/index.js +780 -780
  46. package/packages/business-components/urgent-panel/index.js.gz +0 -0
  47. package/packages/business-components/user-org-dialog/index.js +265 -265
  48. package/packages/business-components/user-org-dialog/index.js.gz +0 -0
  49. package/packages/business-components/video-dialog/index.js +126 -126
  50. package/packages/business-components/video-dialog/index.js.gz +0 -0
  51. package/packages/components/alert/index.js +9 -9
  52. package/packages/components/alert/index.js.gz +0 -0
  53. package/packages/components/audio-video/index.js +24 -24
  54. package/packages/components/audio-video/index.js.gz +0 -0
  55. package/packages/components/autocomplete/index.js +46 -46
  56. package/packages/components/autocomplete/index.js.gz +0 -0
  57. package/packages/components/breadcrumb/index.js +5 -5
  58. package/packages/components/breadcrumb/index.js.gz +0 -0
  59. package/packages/components/button/index.js +1 -1
  60. package/packages/components/button/index.js.gz +0 -0
  61. package/packages/components/calendar/index.js +1 -1
  62. package/packages/components/calendar/index.js.gz +0 -0
  63. package/packages/components/cascader/index.js +21 -21
  64. package/packages/components/cascader/index.js.gz +0 -0
  65. package/packages/components/checkbox/index.js +1 -1
  66. package/packages/components/checkbox/index.js.gz +0 -0
  67. package/packages/components/collapse-panel/index.js +5 -5
  68. package/packages/components/collapse-panel/index.js.gz +0 -0
  69. package/packages/components/collapse-transition/index.js +2 -2
  70. package/packages/components/collapse-transition/index.js.gz +0 -0
  71. package/packages/components/collaspe/index.js +7 -7
  72. package/packages/components/collaspe/index.js.gz +0 -0
  73. package/packages/components/color-picker/index.js +1 -1
  74. package/packages/components/color-picker/index.js.gz +0 -0
  75. package/packages/components/custom-search-item/index.js +13 -13
  76. package/packages/components/custom-search-item/index.js.gz +0 -0
  77. package/packages/components/date-picker/index.js +5 -5
  78. package/packages/components/date-picker/index.js.gz +0 -0
  79. package/packages/components/dialog/index.js +17 -17
  80. package/packages/components/dialog/index.js.gz +0 -0
  81. package/packages/components/dimple-layout/index.js +2453 -2455
  82. package/packages/components/dimple-layout/index.js.gz +0 -0
  83. package/packages/components/drawer/index.js +20 -20
  84. package/packages/components/drawer/index.js.gz +0 -0
  85. package/packages/components/dropdown/index.js +1 -1
  86. package/packages/components/dropdown/index.js.gz +0 -0
  87. package/packages/components/edit-table/index.js +1230 -1173
  88. package/packages/components/edit-table/index.js.gz +0 -0
  89. package/packages/components/empty/index.js +17 -17
  90. package/packages/components/empty/index.js.gz +0 -0
  91. package/packages/components/error-overlay-model/index.js +6 -6
  92. package/packages/components/error-overlay-model/index.js.gz +0 -0
  93. package/packages/components/form/index.js +11 -11
  94. package/packages/components/form/index.js.gz +0 -0
  95. package/packages/components/form-item/index.js +1077 -1019
  96. package/packages/components/form-item/index.js.gz +0 -0
  97. package/packages/components/icon/index.js +1 -1
  98. package/packages/components/icon/index.js.gz +0 -0
  99. package/packages/components/image-upload/index.js +2 -2
  100. package/packages/components/image-upload/index.js.gz +0 -0
  101. package/packages/components/image-viewer/index.js +1 -1
  102. package/packages/components/image-viewer/index.js.gz +0 -0
  103. package/packages/components/input/index.js +95 -95
  104. package/packages/components/input/index.js.gz +0 -0
  105. package/packages/components/input-dialog-select/index.js +5 -5
  106. package/packages/components/input-dialog-select/index.js.gz +0 -0
  107. package/packages/components/input-number/index.js +10 -10
  108. package/packages/components/input-number/index.js.gz +0 -0
  109. package/packages/components/live-player/index.js +820 -820
  110. package/packages/components/live-player/index.js.gz +0 -0
  111. package/packages/components/loading/index.js +40 -40
  112. package/packages/components/loading/index.js.gz +0 -0
  113. package/packages/components/map/index.js +4 -4
  114. package/packages/components/map/index.js.gz +0 -0
  115. package/packages/components/menu-aside/index.js +1 -1
  116. package/packages/components/menu-aside/index.js.gz +0 -0
  117. package/packages/components/menu-header/index.js +12 -12
  118. package/packages/components/menu-header/index.js.gz +0 -0
  119. package/packages/components/overlay/index.js +89 -89
  120. package/packages/components/overlay/index.js.gz +0 -0
  121. package/packages/components/pagination/index.js +5 -5
  122. package/packages/components/pagination/index.js.gz +0 -0
  123. package/packages/components/popover/index.js +13 -13
  124. package/packages/components/popover/index.js.gz +0 -0
  125. package/packages/components/popup-mask/index.js +9 -9
  126. package/packages/components/popup-mask/index.js.gz +0 -0
  127. package/packages/components/preview/index.js +2 -2
  128. package/packages/components/preview/index.js.gz +0 -0
  129. package/packages/components/progress/index.js +3 -3
  130. package/packages/components/progress/index.js.gz +0 -0
  131. package/packages/components/radio/index.js +1 -1
  132. package/packages/components/radio/index.js.gz +0 -0
  133. package/packages/components/radio-tabs/index.js +6 -6
  134. package/packages/components/radio-tabs/index.js.gz +0 -0
  135. package/packages/components/rich-editor/index.js +12082 -12064
  136. package/packages/components/rich-editor/index.js.gz +0 -0
  137. package/packages/components/scrollbar/index.js +148 -148
  138. package/packages/components/scrollbar/index.js.gz +0 -0
  139. package/packages/components/search/index.js +3 -3
  140. package/packages/components/search/index.js.gz +0 -0
  141. package/packages/components/search-form/index.js +1 -1
  142. package/packages/components/search-form/index.js.gz +0 -0
  143. package/packages/components/select/index.js +45 -45
  144. package/packages/components/select/index.js.gz +0 -0
  145. package/packages/components/select-input/index.js +27 -27
  146. package/packages/components/select-input/index.js.gz +0 -0
  147. package/packages/components/select-list/index.js +5 -5
  148. package/packages/components/select-list/index.js.gz +0 -0
  149. package/packages/components/special-range-picker-month/index.js +7 -7
  150. package/packages/components/special-range-picker-month/index.js.gz +0 -0
  151. package/packages/components/special-range-picker-year/index.js +45 -45
  152. package/packages/components/special-range-picker-year/index.js.gz +0 -0
  153. package/packages/components/spin/index.js +5 -5
  154. package/packages/components/spin/index.js.gz +0 -0
  155. package/packages/components/split-panel/index.js +45 -45
  156. package/packages/components/split-panel/index.js.gz +0 -0
  157. package/packages/components/step/index.js +12 -12
  158. package/packages/components/step/index.js.gz +0 -0
  159. package/packages/components/steps/index.js +2 -2
  160. package/packages/components/switch/index.js +2 -2
  161. package/packages/components/switch/index.js.gz +0 -0
  162. package/packages/components/table/index.js +251 -251
  163. package/packages/components/table/index.js.gz +0 -0
  164. package/packages/components/tabs/index.js +94 -94
  165. package/packages/components/tabs/index.js.gz +0 -0
  166. package/packages/components/tag/index.js +12 -12
  167. package/packages/components/tag/index.js.gz +0 -0
  168. package/packages/components/text-tooltip/index.js +368 -368
  169. package/packages/components/text-tooltip/index.js.gz +0 -0
  170. package/packages/components/time-line/index.js +12 -12
  171. package/packages/components/time-line/index.js.gz +0 -0
  172. package/packages/components/tooltip/index.js +29 -29
  173. package/packages/components/tooltip/index.js.gz +0 -0
  174. package/packages/components/tree/index.js +1246 -1189
  175. package/packages/components/tree/index.js.gz +0 -0
  176. package/packages/components/tree-select/index.js +74 -74
  177. package/packages/components/tree-select/index.js.gz +0 -0
  178. package/packages/components/tree-table/index.js +122 -122
  179. package/packages/components/tree-table/index.js.gz +0 -0
  180. package/packages/components/tree-v2/index.js +1785 -1728
  181. package/packages/components/tree-v2/index.js.gz +0 -0
  182. package/packages/components/upload/index.js +7 -7
  183. package/packages/components/upload/index.js.gz +0 -0
  184. package/packages/components/virtual-tree/index.js +1 -1
  185. package/packages/components/virtual-tree/index.js.gz +0 -0
  186. package/packages/components/watermark/index.js +12 -12
  187. package/packages/icons/1-grids/index.js +2 -2
  188. package/packages/icons/1-grids/index.js.gz +0 -0
  189. package/packages/icons/4-grids/index.js +2 -2
  190. package/packages/icons/4-grids/index.js.gz +0 -0
  191. package/packages/icons/9-grids/index.js +2 -2
  192. package/packages/icons/9-grids/index.js.gz +0 -0
  193. package/packages/icons/add/index.js +2 -2
  194. package/packages/icons/add/index.js.gz +0 -0
  195. package/packages/icons/add-2/index.js +2 -2
  196. package/packages/icons/add-item/index.js +2 -2
  197. package/packages/icons/add-item/index.js.gz +0 -0
  198. package/packages/icons/addto/index.js +2 -2
  199. package/packages/icons/addto/index.js.gz +0 -0
  200. package/packages/icons/alarm/index.js +2 -2
  201. package/packages/icons/alarm/index.js.gz +0 -0
  202. package/packages/icons/arrow-first/index.js +2 -2
  203. package/packages/icons/arrow-first/index.js.gz +0 -0
  204. package/packages/icons/arrow-last/index.js +2 -2
  205. package/packages/icons/arrow-last/index.js.gz +0 -0
  206. package/packages/icons/audioing/index.js +2 -2
  207. package/packages/icons/audioing/index.js.gz +0 -0
  208. package/packages/icons/back/index.js +2 -2
  209. package/packages/icons/back/index.js.gz +0 -0
  210. package/packages/icons/bianjigongzuotai/index.js +2 -2
  211. package/packages/icons/bianjigongzuotai/index.js.gz +0 -0
  212. package/packages/icons/biaochi/index.js +2 -2
  213. package/packages/icons/biaochi/index.js.gz +0 -0
  214. package/packages/icons/bim/index.js +2 -2
  215. package/packages/icons/bim/index.js.gz +0 -0
  216. package/packages/icons/bobaoguanbi/index.js +2 -2
  217. package/packages/icons/bobaoguanbi/index.js.gz +0 -0
  218. package/packages/icons/bobaokaiqi/index.js +2 -2
  219. package/packages/icons/bobaokaiqi/index.js.gz +0 -0
  220. package/packages/icons/bold/index.js +2 -2
  221. package/packages/icons/bold/index.js.gz +0 -0
  222. package/packages/icons/camera/index.js +2 -2
  223. package/packages/icons/camera/index.js.gz +0 -0
  224. package/packages/icons/camera-2/index.js +2 -2
  225. package/packages/icons/camera-2/index.js.gz +0 -0
  226. package/packages/icons/camera-3/index.js +2 -2
  227. package/packages/icons/camera-3/index.js.gz +0 -0
  228. package/packages/icons/cancel-full-screen/index.js +2 -2
  229. package/packages/icons/cancel-full-screen/index.js.gz +0 -0
  230. package/packages/icons/cankaoneirong/index.js +2 -2
  231. package/packages/icons/cankaoneirong/index.js.gz +0 -0
  232. package/packages/icons/card/index.js +2 -2
  233. package/packages/icons/card/index.js.gz +0 -0
  234. package/packages/icons/card-view/index.js +2 -2
  235. package/packages/icons/card-view/index.js.gz +0 -0
  236. package/packages/icons/caret-bottom/index.js +2 -2
  237. package/packages/icons/caret-bottom/index.js.gz +0 -0
  238. package/packages/icons/caret-right/index.js +2 -2
  239. package/packages/icons/chakancelve/index.js +2 -2
  240. package/packages/icons/chakancelve/index.js.gz +0 -0
  241. package/packages/icons/change/index.js +2 -2
  242. package/packages/icons/change/index.js.gz +0 -0
  243. package/packages/icons/change-2/index.js +2 -2
  244. package/packages/icons/change-2/index.js.gz +0 -0
  245. package/packages/icons/change-3/index.js +2 -2
  246. package/packages/icons/change-3/index.js.gz +0 -0
  247. package/packages/icons/changetenant/index.js +2 -2
  248. package/packages/icons/changetenant/index.js.gz +0 -0
  249. package/packages/icons/chart/index.js +2 -2
  250. package/packages/icons/chart/index.js.gz +0 -0
  251. package/packages/icons/chaxunxiangqing/index.js +2 -2
  252. package/packages/icons/chaxunxiangqing/index.js.gz +0 -0
  253. package/packages/icons/check/index.js +2 -2
  254. package/packages/icons/check/index.js.gz +0 -0
  255. package/packages/icons/chuanglianjiang/index.js +2 -2
  256. package/packages/icons/chuanglianjiang/index.js.gz +0 -0
  257. package/packages/icons/chuangliansheng/index.js +2 -2
  258. package/packages/icons/chuangliansheng/index.js.gz +0 -0
  259. package/packages/icons/chuanglianting/index.js +2 -2
  260. package/packages/icons/chuanglianting/index.js.gz +0 -0
  261. package/packages/icons/chuizhiduiqi/index.js +2 -2
  262. package/packages/icons/chuizhiduiqi/index.js.gz +0 -0
  263. package/packages/icons/chuizhijunfen/index.js +2 -2
  264. package/packages/icons/chuizhijunfen/index.js.gz +0 -0
  265. package/packages/icons/close/index.js +2 -2
  266. package/packages/icons/close/index.js.gz +0 -0
  267. package/packages/icons/close-2/index.js +2 -2
  268. package/packages/icons/close-2/index.js.gz +0 -0
  269. package/packages/icons/closeaudio/index.js +2 -2
  270. package/packages/icons/closeaudio/index.js.gz +0 -0
  271. package/packages/icons/color/index.js +2 -2
  272. package/packages/icons/color/index.js.gz +0 -0
  273. package/packages/icons/copy/index.js +2 -2
  274. package/packages/icons/copy/index.js.gz +0 -0
  275. package/packages/icons/custom/index.js +2 -2
  276. package/packages/icons/custom/index.js.gz +0 -0
  277. package/packages/icons/daochu/index.js +2 -2
  278. package/packages/icons/daochu/index.js.gz +0 -0
  279. package/packages/icons/date/index.js +2 -2
  280. package/packages/icons/date/index.js.gz +0 -0
  281. package/packages/icons/decline/index.js +2 -2
  282. package/packages/icons/decline/index.js.gz +0 -0
  283. package/packages/icons/default-btn/index.js +2 -2
  284. package/packages/icons/default-btn/index.js.gz +0 -0
  285. package/packages/icons/default-point/index.js +2 -2
  286. package/packages/icons/default-point/index.js.gz +0 -0
  287. package/packages/icons/delete/index.js +2 -2
  288. package/packages/icons/delete/index.js.gz +0 -0
  289. package/packages/icons/delete-2/index.js +2 -2
  290. package/packages/icons/delete-2/index.js.gz +0 -0
  291. package/packages/icons/dengbijiesuo/index.js +2 -2
  292. package/packages/icons/dengbisuoding/index.js +2 -2
  293. package/packages/icons/dengdai/index.js +2 -2
  294. package/packages/icons/dengdai/index.js.gz +0 -0
  295. package/packages/icons/dianzan/index.js +2 -2
  296. package/packages/icons/dianzan/index.js.gz +0 -0
  297. package/packages/icons/dianzan-2/index.js +2 -2
  298. package/packages/icons/dianzan-2/index.js.gz +0 -0
  299. package/packages/icons/direction-control/index.js +2 -2
  300. package/packages/icons/direction-control/index.js.gz +0 -0
  301. package/packages/icons/ditu/index.js +2 -2
  302. package/packages/icons/ditu/index.js.gz +0 -0
  303. package/packages/icons/dizhixuanze/index.js +2 -2
  304. package/packages/icons/dizhixuanze/index.js.gz +0 -0
  305. package/packages/icons/double-arrow-left/index.js +2 -2
  306. package/packages/icons/double-arrow-left/index.js.gz +0 -0
  307. package/packages/icons/double-arrow-right/index.js +2 -2
  308. package/packages/icons/double-arrow-right/index.js.gz +0 -0
  309. package/packages/icons/down/index.js +2 -2
  310. package/packages/icons/down/index.js.gz +0 -0
  311. package/packages/icons/down-2/index.js +2 -2
  312. package/packages/icons/down-3/index.js +2 -2
  313. package/packages/icons/download/index.js +2 -2
  314. package/packages/icons/download/index.js.gz +0 -0
  315. package/packages/icons/drag/index.js +2 -2
  316. package/packages/icons/drag/index.js.gz +0 -0
  317. package/packages/icons/drawing/index.js +2 -2
  318. package/packages/icons/drawing/index.js.gz +0 -0
  319. package/packages/icons/edit/index.js +2 -2
  320. package/packages/icons/edit/index.js.gz +0 -0
  321. package/packages/icons/edit-1/index.js +2 -2
  322. package/packages/icons/edit-1/index.js.gz +0 -0
  323. package/packages/icons/edit-3/index.js +2 -2
  324. package/packages/icons/edit-3/index.js.gz +0 -0
  325. package/packages/icons/empty/index.js +2 -2
  326. package/packages/icons/empty/index.js.gz +0 -0
  327. package/packages/icons/enlarge/index.js +2 -2
  328. package/packages/icons/enlarge/index.js.gz +0 -0
  329. package/packages/icons/entry/index.js +2 -2
  330. package/packages/icons/entry/index.js.gz +0 -0
  331. package/packages/icons/exit/index.js +2 -2
  332. package/packages/icons/exit/index.js.gz +0 -0
  333. package/packages/icons/fabu/index.js +2 -2
  334. package/packages/icons/fabu/index.js.gz +0 -0
  335. package/packages/icons/fanhui/index.js +2 -2
  336. package/packages/icons/fanhui/index.js.gz +0 -0
  337. package/packages/icons/fasong/index.js +2 -2
  338. package/packages/icons/fasong/index.js.gz +0 -0
  339. package/packages/icons/filter-3/index.js +2 -2
  340. package/packages/icons/filter-3/index.js.gz +0 -0
  341. package/packages/icons/finish/index.js +2 -2
  342. package/packages/icons/finish/index.js.gz +0 -0
  343. package/packages/icons/fold/index.js +2 -2
  344. package/packages/icons/fold/index.js.gz +0 -0
  345. package/packages/icons/folder-quest/index.js +2 -2
  346. package/packages/icons/folder-quest/index.js.gz +0 -0
  347. package/packages/icons/form-tips/index.js +2 -2
  348. package/packages/icons/form-tips/index.js.gz +0 -0
  349. package/packages/icons/fresh/index.js +2 -2
  350. package/packages/icons/fresh/index.js.gz +0 -0
  351. package/packages/icons/full/index.js +2 -2
  352. package/packages/icons/full/index.js.gz +0 -0
  353. package/packages/icons/full-screen/index.js +2 -2
  354. package/packages/icons/full-screen/index.js.gz +0 -0
  355. package/packages/icons/fullscreen-2/index.js +2 -2
  356. package/packages/icons/fullscreen-2/index.js.gz +0 -0
  357. package/packages/icons/fuzhi/index.js +2 -2
  358. package/packages/icons/fuzhi/index.js.gz +0 -0
  359. package/packages/icons/fuzhineirong/index.js +2 -2
  360. package/packages/icons/fuzhineirong/index.js.gz +0 -0
  361. package/packages/icons/gaojin/index.js +2 -2
  362. package/packages/icons/gaojin/index.js.gz +0 -0
  363. package/packages/icons/gengduocaozuo/index.js +2 -2
  364. package/packages/icons/global/index.js +2 -2
  365. package/packages/icons/global/index.js.gz +0 -0
  366. package/packages/icons/gongzuotaiguanli/index.js +2 -2
  367. package/packages/icons/gongzuotaiguanli/index.js.gz +0 -0
  368. package/packages/icons/header-seach/index.js +2 -2
  369. package/packages/icons/header-seach/index.js.gz +0 -0
  370. package/packages/icons/header-setting/index.js +2 -2
  371. package/packages/icons/header-setting/index.js.gz +0 -0
  372. package/packages/icons/headersettings/index.js +2 -2
  373. package/packages/icons/headersettings/index.js.gz +0 -0
  374. package/packages/icons/hide/index.js +2 -2
  375. package/packages/icons/hide/index.js.gz +0 -0
  376. package/packages/icons/huabufuwei/index.js +2 -2
  377. package/packages/icons/huabufuwei/index.js.gz +0 -0
  378. package/packages/icons/huaxian/index.js +2 -2
  379. package/packages/icons/huaxian/index.js.gz +0 -0
  380. package/packages/icons/huida/index.js +2 -2
  381. package/packages/icons/huida/index.js.gz +0 -0
  382. package/packages/icons/huidaodibu/index.js +2 -2
  383. package/packages/icons/huidaodibu/index.js.gz +0 -0
  384. package/packages/icons/huifuchuchangshezhi/index.js +2 -2
  385. package/packages/icons/huifuchuchangshezhi/index.js.gz +0 -0
  386. package/packages/icons/hyperlinks/index.js +2 -2
  387. package/packages/icons/hyperlinks/index.js.gz +0 -0
  388. package/packages/icons/img/index.js +2 -2
  389. package/packages/icons/img/index.js.gz +0 -0
  390. package/packages/icons/input-close/index.js +2 -2
  391. package/packages/icons/input-close/index.js.gz +0 -0
  392. package/packages/icons/input-select/index.js +2 -2
  393. package/packages/icons/input-select/index.js.gz +0 -0
  394. package/packages/icons/intnet/index.js +2 -2
  395. package/packages/icons/intnet/index.js.gz +0 -0
  396. package/packages/icons/italic/index.js +2 -2
  397. package/packages/icons/italic/index.js.gz +0 -0
  398. package/packages/icons/jia-1/index.js +2 -2
  399. package/packages/icons/jia-1/index.js.gz +0 -0
  400. package/packages/icons/jian-1/index.js +2 -2
  401. package/packages/icons/jianshao-1/index.js +2 -2
  402. package/packages/icons/jinggao/index.js +2 -2
  403. package/packages/icons/jinggao/index.js.gz +0 -0
  404. package/packages/icons/jushangduiqi/index.js +2 -2
  405. package/packages/icons/jushangduiqi/index.js.gz +0 -0
  406. package/packages/icons/juxiaduiqi/index.js +2 -2
  407. package/packages/icons/juxiaduiqi/index.js.gz +0 -0
  408. package/packages/icons/juxinghuizhi/index.js +2 -2
  409. package/packages/icons/juxinghuizhi/index.js.gz +0 -0
  410. package/packages/icons/juyouduiqi/index.js +2 -2
  411. package/packages/icons/juyouduiqi/index.js.gz +0 -0
  412. package/packages/icons/juzuoduiqi/index.js +2 -2
  413. package/packages/icons/juzuoduiqi/index.js.gz +0 -0
  414. package/packages/icons/kaiguan/index.js +2 -2
  415. package/packages/icons/kaiguan/index.js.gz +0 -0
  416. package/packages/icons/kaimen/index.js +2 -2
  417. package/packages/icons/kaimen/index.js.gz +0 -0
  418. package/packages/icons/know/index.js +2 -2
  419. package/packages/icons/know/index.js.gz +0 -0
  420. package/packages/icons/knowed/index.js +2 -2
  421. package/packages/icons/knowed/index.js.gz +0 -0
  422. package/packages/icons/knowopen/index.js +2 -2
  423. package/packages/icons/knowopen/index.js.gz +0 -0
  424. package/packages/icons/layout-refresh/index.js +2 -2
  425. package/packages/icons/layout-refresh/index.js.gz +0 -0
  426. package/packages/icons/left/index.js +2 -2
  427. package/packages/icons/lianjie/index.js +2 -2
  428. package/packages/icons/lianjie/index.js.gz +0 -0
  429. package/packages/icons/link/index.js +2 -2
  430. package/packages/icons/link/index.js.gz +0 -0
  431. package/packages/icons/lishihuihua/index.js +2 -2
  432. package/packages/icons/lishihuihua/index.js.gz +0 -0
  433. package/packages/icons/list/index.js +2 -2
  434. package/packages/icons/list/index.js.gz +0 -0
  435. package/packages/icons/list-view/index.js +2 -2
  436. package/packages/icons/list-view/index.js.gz +0 -0
  437. package/packages/icons/load/index.js +2 -2
  438. package/packages/icons/load/index.js.gz +0 -0
  439. package/packages/icons/lock/index.js +2 -2
  440. package/packages/icons/lock/index.js.gz +0 -0
  441. package/packages/icons/marsh/index.js +2 -2
  442. package/packages/icons/me/index.js +2 -2
  443. package/packages/icons/me/index.js.gz +0 -0
  444. package/packages/icons/more/index.js +2 -2
  445. package/packages/icons/more/index.js.gz +0 -0
  446. package/packages/icons/more-2/index.js +2 -2
  447. package/packages/icons/more-btn/index.js +2 -2
  448. package/packages/icons/more-btn/index.js.gz +0 -0
  449. package/packages/icons/muted/index.js +2 -2
  450. package/packages/icons/muted/index.js.gz +0 -0
  451. package/packages/icons/notification-face/index.js +2 -2
  452. package/packages/icons/notification-face/index.js.gz +0 -0
  453. package/packages/icons/paiban/index.js +2 -2
  454. package/packages/icons/paiban/index.js.gz +0 -0
  455. package/packages/icons/password-lock/index.js +2 -2
  456. package/packages/icons/password-lock/index.js.gz +0 -0
  457. package/packages/icons/password-lock2/index.js +2 -2
  458. package/packages/icons/password-lock2/index.js.gz +0 -0
  459. package/packages/icons/pause/index.js +2 -2
  460. package/packages/icons/pause/index.js.gz +0 -0
  461. package/packages/icons/phone/index.js +2 -2
  462. package/packages/icons/phone/index.js.gz +0 -0
  463. package/packages/icons/pinglun/index.js +2 -2
  464. package/packages/icons/pinglun/index.js.gz +0 -0
  465. package/packages/icons/plan/index.js +2 -2
  466. package/packages/icons/plan/index.js.gz +0 -0
  467. package/packages/icons/play/index.js +2 -2
  468. package/packages/icons/play/index.js.gz +0 -0
  469. package/packages/icons/preview/index.js +2 -2
  470. package/packages/icons/preview/index.js.gz +0 -0
  471. package/packages/icons/preview-eye/index.js +2 -2
  472. package/packages/icons/preview-eye/index.js.gz +0 -0
  473. package/packages/icons/project-list/index.js +2 -2
  474. package/packages/icons/project-list/index.js.gz +0 -0
  475. package/packages/icons/project-tree/index.js +2 -2
  476. package/packages/icons/project-tree/index.js.gz +0 -0
  477. package/packages/icons/promptinformation-l/index.js +2 -2
  478. package/packages/icons/promptinformation-l/index.js.gz +0 -0
  479. package/packages/icons/qiehuangongzuotai/index.js +2 -2
  480. package/packages/icons/qiehuangongzuotai/index.js.gz +0 -0
  481. package/packages/icons/qingkong/index.js +2 -2
  482. package/packages/icons/qingkong/index.js.gz +0 -0
  483. package/packages/icons/quanping/index.js +2 -2
  484. package/packages/icons/quanping/index.js.gz +0 -0
  485. package/packages/icons/rate-all/index.js +2 -2
  486. package/packages/icons/rate-all/index.js.gz +0 -0
  487. package/packages/icons/rate-half/index.js +2 -2
  488. package/packages/icons/rate-half/index.js.gz +0 -0
  489. package/packages/icons/rate-none/index.js +2 -2
  490. package/packages/icons/rate-none/index.js.gz +0 -0
  491. package/packages/icons/recover/index.js +2 -2
  492. package/packages/icons/recover/index.js.gz +0 -0
  493. package/packages/icons/refresh/index.js +2 -2
  494. package/packages/icons/refresh/index.js.gz +0 -0
  495. package/packages/icons/reload/index.js +2 -2
  496. package/packages/icons/reload/index.js.gz +0 -0
  497. package/packages/icons/reset/index.js +2 -2
  498. package/packages/icons/reset/index.js.gz +0 -0
  499. package/packages/icons/right/index.js +2 -2
  500. package/packages/icons/right-3/index.js +2 -2
  501. package/packages/icons/right-3/index.js.gz +0 -0
  502. package/packages/icons/riqixuanze/index.js +2 -2
  503. package/packages/icons/riqixuanze/index.js.gz +0 -0
  504. package/packages/icons/rise/index.js +2 -2
  505. package/packages/icons/rise/index.js.gz +0 -0
  506. package/packages/icons/save/index.js +2 -2
  507. package/packages/icons/save/index.js.gz +0 -0
  508. package/packages/icons/screenshot/index.js +2 -2
  509. package/packages/icons/screenshot/index.js.gz +0 -0
  510. package/packages/icons/search/index.js +2 -2
  511. package/packages/icons/search/index.js.gz +0 -0
  512. package/packages/icons/select/index.js +2 -2
  513. package/packages/icons/select-confirm/index.js +2 -2
  514. package/packages/icons/select-confirm/index.js.gz +0 -0
  515. package/packages/icons/select2/index.js +2 -2
  516. package/packages/icons/set-up/index.js +2 -2
  517. package/packages/icons/set-up/index.js.gz +0 -0
  518. package/packages/icons/setting/index.js +2 -2
  519. package/packages/icons/setting/index.js.gz +0 -0
  520. package/packages/icons/shangchuan/index.js +2 -2
  521. package/packages/icons/shangchuan/index.js.gz +0 -0
  522. package/packages/icons/shebei/index.js +2 -2
  523. package/packages/icons/shebei/index.js.gz +0 -0
  524. package/packages/icons/shebeiqunzu/index.js +2 -2
  525. package/packages/icons/shebeiqunzu/index.js.gz +0 -0
  526. package/packages/icons/shendusikao/index.js +2 -2
  527. package/packages/icons/shendusikao/index.js.gz +0 -0
  528. package/packages/icons/sheweimoren/index.js +2 -2
  529. package/packages/icons/sheweimoren/index.js.gz +0 -0
  530. package/packages/icons/shisuan/index.js +2 -2
  531. package/packages/icons/shisuan/index.js.gz +0 -0
  532. package/packages/icons/shitu-kapian/index.js +2 -2
  533. package/packages/icons/shitu-kapian/index.js.gz +0 -0
  534. package/packages/icons/shitu-liebiao/index.js +2 -2
  535. package/packages/icons/shitu-map/index.js +2 -2
  536. package/packages/icons/shitu-map/index.js.gz +0 -0
  537. package/packages/icons/shortcut-keys/index.js +2 -2
  538. package/packages/icons/shortcut-keys/index.js.gz +0 -0
  539. package/packages/icons/shoudongzhihang/index.js +2 -2
  540. package/packages/icons/shoudongzhihang/index.js.gz +0 -0
  541. package/packages/icons/shouqiliangcemianban/index.js +2 -2
  542. package/packages/icons/shouqiyoucemianban/index.js +2 -2
  543. package/packages/icons/shouqiyoucemianban-1/index.js +2 -2
  544. package/packages/icons/shouqiyoucemianban-1/index.js.gz +0 -0
  545. package/packages/icons/shouqizuocemianban/index.js +2 -2
  546. package/packages/icons/shouqizuocemianban-1/index.js +2 -2
  547. package/packages/icons/shouqizuocemianban-1/index.js.gz +0 -0
  548. package/packages/icons/shouquan/index.js +2 -2
  549. package/packages/icons/shouquan/index.js.gz +0 -0
  550. package/packages/icons/show/index.js +2 -2
  551. package/packages/icons/show/index.js.gz +0 -0
  552. package/packages/icons/shrink/index.js +2 -2
  553. package/packages/icons/shrink/index.js.gz +0 -0
  554. package/packages/icons/shuaxin/index.js +2 -2
  555. package/packages/icons/shuaxin/index.js.gz +0 -0
  556. package/packages/icons/shuipingduiqi/index.js +2 -2
  557. package/packages/icons/shuipingduiqi/index.js.gz +0 -0
  558. package/packages/icons/shuipingjunfen/index.js +2 -2
  559. package/packages/icons/shuipingjunfen/index.js.gz +0 -0
  560. package/packages/icons/shuyoufanye/index.js +2 -2
  561. package/packages/icons/shuyoufanye/index.js.gz +0 -0
  562. package/packages/icons/shuzuofanye/index.js +2 -2
  563. package/packages/icons/shuzuofanye/index.js.gz +0 -0
  564. package/packages/icons/solid-filter/index.js +2 -2
  565. package/packages/icons/solid-filter/index.js.gz +0 -0
  566. package/packages/icons/start/index.js +2 -2
  567. package/packages/icons/start/index.js.gz +0 -0
  568. package/packages/icons/stop/index.js +2 -2
  569. package/packages/icons/stop/index.js.gz +0 -0
  570. package/packages/icons/structural-diagram/index.js +2 -2
  571. package/packages/icons/structural-diagram/index.js.gz +0 -0
  572. package/packages/icons/success/index.js +2 -2
  573. package/packages/icons/system/index.js +2 -2
  574. package/packages/icons/system/index.js.gz +0 -0
  575. package/packages/icons/table-header-search/index.js +2 -2
  576. package/packages/icons/table-header-search/index.js.gz +0 -0
  577. package/packages/icons/text/index.js +2 -2
  578. package/packages/icons/text/index.js.gz +0 -0
  579. package/packages/icons/tianjiaxinhuati/index.js +2 -2
  580. package/packages/icons/tianjiaxinhuati/index.js.gz +0 -0
  581. package/packages/icons/tick/index.js +2 -2
  582. package/packages/icons/tick/index.js.gz +0 -0
  583. package/packages/icons/tishixinxi/index.js +2 -2
  584. package/packages/icons/tishixinxi/index.js.gz +0 -0
  585. package/packages/icons/tongguo/index.js +2 -2
  586. package/packages/icons/tongguo/index.js.gz +0 -0
  587. package/packages/icons/tongzhi/index.js +2 -2
  588. package/packages/icons/tongzhi/index.js.gz +0 -0
  589. package/packages/icons/tubiaoku/index.js +2 -2
  590. package/packages/icons/tubiaoku/index.js.gz +0 -0
  591. package/packages/icons/tuichuquanping/index.js +2 -2
  592. package/packages/icons/tuichuquanping/index.js.gz +0 -0
  593. package/packages/icons/tuozhuai/index.js +2 -2
  594. package/packages/icons/tuozhuai/index.js.gz +0 -0
  595. package/packages/icons/underline/index.js +2 -2
  596. package/packages/icons/underline/index.js.gz +0 -0
  597. package/packages/icons/unflod/index.js +2 -2
  598. package/packages/icons/unflod/index.js.gz +0 -0
  599. package/packages/icons/unlock/index.js +2 -2
  600. package/packages/icons/unlock/index.js.gz +0 -0
  601. package/packages/icons/up/index.js +2 -2
  602. package/packages/icons/up/index.js.gz +0 -0
  603. package/packages/icons/up-2/index.js +2 -2
  604. package/packages/icons/up-2/index.js.gz +0 -0
  605. package/packages/icons/vauth/index.js +2 -2
  606. package/packages/icons/vauth/index.js.gz +0 -0
  607. package/packages/icons/view/index.js +2 -2
  608. package/packages/icons/view/index.js.gz +0 -0
  609. package/packages/icons/view-2/index.js +2 -2
  610. package/packages/icons/view-2/index.js.gz +0 -0
  611. package/packages/icons/volume/index.js +2 -2
  612. package/packages/icons/volume/index.js.gz +0 -0
  613. package/packages/icons/wangge/index.js +2 -2
  614. package/packages/icons/wangge/index.js.gz +0 -0
  615. package/packages/icons/wangge-1/index.js +2 -2
  616. package/packages/icons/wangge-1/index.js.gz +0 -0
  617. package/packages/icons/warning/index.js +2 -2
  618. package/packages/icons/warning/index.js.gz +0 -0
  619. package/packages/icons/warning-face/index.js +2 -2
  620. package/packages/icons/warning-face/index.js.gz +0 -0
  621. package/packages/icons/wendujiang/index.js +2 -2
  622. package/packages/icons/wendujiang/index.js.gz +0 -0
  623. package/packages/icons/wendusheng/index.js +2 -2
  624. package/packages/icons/wendusheng/index.js.gz +0 -0
  625. package/packages/icons/withdraw/index.js +2 -2
  626. package/packages/icons/withdraw/index.js.gz +0 -0
  627. package/packages/icons/xiala/index.js +2 -2
  628. package/packages/icons/xiazai/index.js +2 -2
  629. package/packages/icons/xiazai/index.js.gz +0 -0
  630. package/packages/icons/xinzengtongji/index.js +2 -2
  631. package/packages/icons/xinzengtongji/index.js.gz +0 -0
  632. package/packages/icons/xuanzhuanjiaodu/index.js +2 -2
  633. package/packages/icons/xuanzhuanjiaodu/index.js.gz +0 -0
  634. package/packages/icons/yidongduan/index.js +2 -2
  635. package/packages/icons/yidongduan/index.js.gz +0 -0
  636. package/packages/icons/yincang/index.js +2 -2
  637. package/packages/icons/yincang/index.js.gz +0 -0
  638. package/packages/icons/yingpian/index.js +2 -2
  639. package/packages/icons/yingpian/index.js.gz +0 -0
  640. package/packages/icons/yingyong/index.js +2 -2
  641. package/packages/icons/yingyong/index.js.gz +0 -0
  642. package/packages/icons/yitushoutu/index.js +2 -2
  643. package/packages/icons/yitushoutu/index.js.gz +0 -0
  644. package/packages/icons/yuanxinghuizhi/index.js +2 -2
  645. package/packages/icons/yuanxinghuizhi/index.js.gz +0 -0
  646. package/packages/icons/yulan-2/index.js +2 -2
  647. package/packages/icons/yulan-2/index.js.gz +0 -0
  648. package/packages/icons/yuyin/index.js +2 -2
  649. package/packages/icons/yuyin/index.js.gz +0 -0
  650. package/packages/icons/zhangaiwu/index.js +2 -2
  651. package/packages/icons/zhangaiwu/index.js.gz +0 -0
  652. package/packages/icons/zhizhen/index.js +2 -2
  653. package/packages/icons/zhizhen/index.js.gz +0 -0
  654. package/packages/icons/zhongxinshengcheng/index.js +2 -2
  655. package/packages/icons/zhongxinshengcheng/index.js.gz +0 -0
  656. package/packages/icons/zhuomianduan/index.js +2 -2
  657. package/packages/icons/zhuomianduan/index.js.gz +0 -0
  658. package/packages/icons/zidingyihuizhi/index.js +2 -2
  659. package/packages/icons/zidingyihuizhi/index.js.gz +0 -0
  660. package/packages/icons/zuobiao/index.js +2 -2
  661. package/packages/icons/zuobiao/index.js.gz +0 -0
  662. package/packages/business-components/ai-panel/index-7IxWMQwA.js.gz +0 -0
  663. package/packages/business-components/ai-panel/index-Bg_src1J.js.gz +0 -0
  664. package/packages/business-components/ai-panel/index-CoN6WqdZ.js.gz +0 -0
@@ -1,6 +1,6 @@
1
1
  import '@das-fed/upf-ui/packages/components/live-player/style.css';
2
- import { defineComponent as Yt, useCssVars as Jt, ref as Xe, toRefs as Zt, computed as ot, onMounted as $t, onBeforeUnmount as Qt, withDirectives as ei, createElementBlock as dt, openBlock as ut, unref as We, normalizeStyle as ti, renderSlot as ii, createTextVNode as ri, toDisplayString as ai } from "vue";
3
- import { withInstall as ni } from "@das-fed/upf-utils/with-install/index";
2
+ import { defineComponent as Yt, useCssVars as Jt, toRefs as Zt, computed as ot, ref as Xe, onMounted as $t, onBeforeUnmount as Qt, withDirectives as ei, openBlock as dt, createElementBlock as ut, unref as We, normalizeStyle as ti, renderSlot as ii, createTextVNode as ri, toDisplayString as ni } from "vue";
3
+ import { withInstall as ai } from "@das-fed/upf-utils/with-install/index";
4
4
  import { ElLoadingDirective as si } from "element-plus/es";
5
5
  import "element-plus/es/components/base/style/css";
6
6
  import "element-plus/es/components/loading/style/css";
@@ -27,8 +27,8 @@ var Tt = { exports: {} };
27
27
  }, O.t = function(U, B) {
28
28
  if (1 & B && (U = O(U)), 8 & B || 4 & B && typeof U == "object" && U && U.__esModule) return U;
29
29
  var m = /* @__PURE__ */ Object.create(null);
30
- if (O.r(m), Object.defineProperty(m, "default", { enumerable: !0, value: U }), 2 & B && typeof U != "string") for (var b in U) O.d(m, b, (function(v) {
31
- return U[v];
30
+ if (O.r(m), Object.defineProperty(m, "default", { enumerable: !0, value: U }), 2 & B && typeof U != "string") for (var b in U) O.d(m, b, (function(y) {
31
+ return U[y];
32
32
  }).bind(null, b));
33
33
  return m;
34
34
  }, O.n = function(U) {
@@ -45,25 +45,25 @@ var Tt = { exports: {} };
45
45
  var U = O(6), B = O.n(U), m = function() {
46
46
  function b() {
47
47
  }
48
- return b.e = function(v, f) {
49
- v && !b.FORCE_GLOBAL_TAG || (v = b.GLOBAL_TAG);
50
- var L = "[" + v + "] > " + f;
48
+ return b.e = function(y, f) {
49
+ y && !b.FORCE_GLOBAL_TAG || (y = b.GLOBAL_TAG);
50
+ var L = "[" + y + "] > " + f;
51
51
  b.ENABLE_CALLBACK && b.emitter.emit("log", "error", L), b.ENABLE_ERROR;
52
- }, b.i = function(v, f) {
53
- v && !b.FORCE_GLOBAL_TAG || (v = b.GLOBAL_TAG);
54
- var L = "[" + v + "] > " + f;
52
+ }, b.i = function(y, f) {
53
+ y && !b.FORCE_GLOBAL_TAG || (y = b.GLOBAL_TAG);
54
+ var L = "[" + y + "] > " + f;
55
55
  b.ENABLE_CALLBACK && b.emitter.emit("log", "info", L), b.ENABLE_INFO;
56
- }, b.w = function(v, f) {
57
- v && !b.FORCE_GLOBAL_TAG || (v = b.GLOBAL_TAG);
58
- var L = "[" + v + "] > " + f;
56
+ }, b.w = function(y, f) {
57
+ y && !b.FORCE_GLOBAL_TAG || (y = b.GLOBAL_TAG);
58
+ var L = "[" + y + "] > " + f;
59
59
  b.ENABLE_CALLBACK && b.emitter.emit("log", "warn", L), b.ENABLE_WARN;
60
- }, b.d = function(v, f) {
61
- v && !b.FORCE_GLOBAL_TAG || (v = b.GLOBAL_TAG);
62
- var L = "[" + v + "] > " + f;
60
+ }, b.d = function(y, f) {
61
+ y && !b.FORCE_GLOBAL_TAG || (y = b.GLOBAL_TAG);
62
+ var L = "[" + y + "] > " + f;
63
63
  b.ENABLE_CALLBACK && b.emitter.emit("log", "debug", L), b.ENABLE_DEBUG;
64
- }, b.v = function(v, f) {
65
- v && !b.FORCE_GLOBAL_TAG || (v = b.GLOBAL_TAG);
66
- var L = "[" + v + "] > " + f;
64
+ }, b.v = function(y, f) {
65
+ y && !b.FORCE_GLOBAL_TAG || (y = b.GLOBAL_TAG);
66
+ var L = "[" + y + "] > " + f;
67
67
  b.ENABLE_CALLBACK && b.emitter.emit("log", "verbose", L), b.ENABLE_VERBOSE;
68
68
  }, b;
69
69
  }();
@@ -79,44 +79,44 @@ var Tt = { exports: {} };
79
79
  return b;
80
80
  });
81
81
  var U = O(3), B = { kIdle: 0, kConnecting: 1, kBuffering: 2, kError: 3, kComplete: 4 }, m = { OK: "OK", EXCEPTION: "Exception", HTTP_STATUS_CODE_INVALID: "HttpStatusCodeInvalid", CONNECTING_TIMEOUT: "ConnectingTimeout", EARLY_EOF: "EarlyEof", UNRECOVERABLE_EARLY_EOF: "UnrecoverableEarlyEof" }, b = function() {
82
- function v(f) {
82
+ function y(f) {
83
83
  this._type = f || "undefined", this._status = B.kIdle, this._needStash = !1, this._onContentLengthKnown = null, this._onURLRedirect = null, this._onDataArrival = null, this._onError = null, this._onComplete = null;
84
84
  }
85
- return v.prototype.destroy = function() {
85
+ return y.prototype.destroy = function() {
86
86
  this._status = B.kIdle, this._onContentLengthKnown = null, this._onURLRedirect = null, this._onDataArrival = null, this._onError = null, this._onComplete = null;
87
- }, v.prototype.isWorking = function() {
87
+ }, y.prototype.isWorking = function() {
88
88
  return this._status === B.kConnecting || this._status === B.kBuffering;
89
- }, Object.defineProperty(v.prototype, "type", { get: function() {
89
+ }, Object.defineProperty(y.prototype, "type", { get: function() {
90
90
  return this._type;
91
- }, enumerable: !1, configurable: !0 }), Object.defineProperty(v.prototype, "status", { get: function() {
91
+ }, enumerable: !1, configurable: !0 }), Object.defineProperty(y.prototype, "status", { get: function() {
92
92
  return this._status;
93
- }, enumerable: !1, configurable: !0 }), Object.defineProperty(v.prototype, "needStashBuffer", { get: function() {
93
+ }, enumerable: !1, configurable: !0 }), Object.defineProperty(y.prototype, "needStashBuffer", { get: function() {
94
94
  return this._needStash;
95
- }, enumerable: !1, configurable: !0 }), Object.defineProperty(v.prototype, "onContentLengthKnown", { get: function() {
95
+ }, enumerable: !1, configurable: !0 }), Object.defineProperty(y.prototype, "onContentLengthKnown", { get: function() {
96
96
  return this._onContentLengthKnown;
97
97
  }, set: function(f) {
98
98
  this._onContentLengthKnown = f;
99
- }, enumerable: !1, configurable: !0 }), Object.defineProperty(v.prototype, "onURLRedirect", { get: function() {
99
+ }, enumerable: !1, configurable: !0 }), Object.defineProperty(y.prototype, "onURLRedirect", { get: function() {
100
100
  return this._onURLRedirect;
101
101
  }, set: function(f) {
102
102
  this._onURLRedirect = f;
103
- }, enumerable: !1, configurable: !0 }), Object.defineProperty(v.prototype, "onDataArrival", { get: function() {
103
+ }, enumerable: !1, configurable: !0 }), Object.defineProperty(y.prototype, "onDataArrival", { get: function() {
104
104
  return this._onDataArrival;
105
105
  }, set: function(f) {
106
106
  this._onDataArrival = f;
107
- }, enumerable: !1, configurable: !0 }), Object.defineProperty(v.prototype, "onError", { get: function() {
107
+ }, enumerable: !1, configurable: !0 }), Object.defineProperty(y.prototype, "onError", { get: function() {
108
108
  return this._onError;
109
109
  }, set: function(f) {
110
110
  this._onError = f;
111
- }, enumerable: !1, configurable: !0 }), Object.defineProperty(v.prototype, "onComplete", { get: function() {
111
+ }, enumerable: !1, configurable: !0 }), Object.defineProperty(y.prototype, "onComplete", { get: function() {
112
112
  return this._onComplete;
113
113
  }, set: function(f) {
114
114
  this._onComplete = f;
115
- }, enumerable: !1, configurable: !0 }), v.prototype.open = function(f, L) {
115
+ }, enumerable: !1, configurable: !0 }), y.prototype.open = function(f, L) {
116
116
  throw new U.c("Unimplemented abstract function!");
117
- }, v.prototype.abort = function() {
117
+ }, y.prototype.abort = function() {
118
118
  throw new U.c("Unimplemented abstract function!");
119
- }, v;
119
+ }, y;
120
120
  }();
121
121
  }, function(fe, Z, O) {
122
122
  O.d(Z, "d", function() {
@@ -124,7 +124,7 @@ var Tt = { exports: {} };
124
124
  }), O.d(Z, "a", function() {
125
125
  return b;
126
126
  }), O.d(Z, "b", function() {
127
- return v;
127
+ return y;
128
128
  }), O.d(Z, "c", function() {
129
129
  return f;
130
130
  });
@@ -157,7 +157,7 @@ var Tt = { exports: {} };
157
157
  return B(x, L), Object.defineProperty(x.prototype, "name", { get: function() {
158
158
  return "IllegalStateException";
159
159
  }, enumerable: !1, configurable: !0 }), x;
160
- }(m), v = function(L) {
160
+ }(m), y = function(L) {
161
161
  function x(C) {
162
162
  return L.call(this, C) || this;
163
163
  }
@@ -175,72 +175,72 @@ var Tt = { exports: {} };
175
175
  }, function(fe, Z, O) {
176
176
  var U = {};
177
177
  (function() {
178
- var B = self.navigator.userAgent.toLowerCase(), m = /(edge)\/([\w.]+)/.exec(B) || /(opr)[\/]([\w.]+)/.exec(B) || /(chrome)[ \/]([\w.]+)/.exec(B) || /(iemobile)[\/]([\w.]+)/.exec(B) || /(version)(applewebkit)[ \/]([\w.]+).*(safari)[ \/]([\w.]+)/.exec(B) || /(webkit)[ \/]([\w.]+).*(version)[ \/]([\w.]+).*(safari)[ \/]([\w.]+)/.exec(B) || /(webkit)[ \/]([\w.]+)/.exec(B) || /(opera)(?:.*version|)[ \/]([\w.]+)/.exec(B) || /(msie) ([\w.]+)/.exec(B) || B.indexOf("trident") >= 0 && /(rv)(?::| )([\w.]+)/.exec(B) || B.indexOf("compatible") < 0 && /(firefox)[ \/]([\w.]+)/.exec(B) || [], b = /(ipad)/.exec(B) || /(ipod)/.exec(B) || /(windows phone)/.exec(B) || /(iphone)/.exec(B) || /(kindle)/.exec(B) || /(android)/.exec(B) || /(windows)/.exec(B) || /(mac)/.exec(B) || /(linux)/.exec(B) || /(cros)/.exec(B) || [], v = { browser: m[5] || m[3] || m[1] || "", version: m[2] || m[4] || "0", majorVersion: m[4] || m[2] || "0", platform: b[0] || "" }, f = {};
179
- if (v.browser) {
180
- f[v.browser] = !0;
181
- var L = v.majorVersion.split(".");
182
- f.version = { major: parseInt(v.majorVersion, 10), string: v.version }, L.length > 1 && (f.version.minor = parseInt(L[1], 10)), L.length > 2 && (f.version.build = parseInt(L[2], 10));
178
+ var B = self.navigator.userAgent.toLowerCase(), m = /(edge)\/([\w.]+)/.exec(B) || /(opr)[\/]([\w.]+)/.exec(B) || /(chrome)[ \/]([\w.]+)/.exec(B) || /(iemobile)[\/]([\w.]+)/.exec(B) || /(version)(applewebkit)[ \/]([\w.]+).*(safari)[ \/]([\w.]+)/.exec(B) || /(webkit)[ \/]([\w.]+).*(version)[ \/]([\w.]+).*(safari)[ \/]([\w.]+)/.exec(B) || /(webkit)[ \/]([\w.]+)/.exec(B) || /(opera)(?:.*version|)[ \/]([\w.]+)/.exec(B) || /(msie) ([\w.]+)/.exec(B) || B.indexOf("trident") >= 0 && /(rv)(?::| )([\w.]+)/.exec(B) || B.indexOf("compatible") < 0 && /(firefox)[ \/]([\w.]+)/.exec(B) || [], b = /(ipad)/.exec(B) || /(ipod)/.exec(B) || /(windows phone)/.exec(B) || /(iphone)/.exec(B) || /(kindle)/.exec(B) || /(android)/.exec(B) || /(windows)/.exec(B) || /(mac)/.exec(B) || /(linux)/.exec(B) || /(cros)/.exec(B) || [], y = { browser: m[5] || m[3] || m[1] || "", version: m[2] || m[4] || "0", majorVersion: m[4] || m[2] || "0", platform: b[0] || "" }, f = {};
179
+ if (y.browser) {
180
+ f[y.browser] = !0;
181
+ var L = y.majorVersion.split(".");
182
+ f.version = { major: parseInt(y.majorVersion, 10), string: y.version }, L.length > 1 && (f.version.minor = parseInt(L[1], 10)), L.length > 2 && (f.version.build = parseInt(L[2], 10));
183
183
  }
184
- v.platform && (f[v.platform] = !0), (f.chrome || f.opr || f.safari) && (f.webkit = !0), (f.rv || f.iemobile) && (f.rv && delete f.rv, v.browser = "msie", f.msie = !0), f.edge && (delete f.edge, v.browser = "msedge", f.msedge = !0), f.opr && (v.browser = "opera", f.opera = !0), f.safari && f.android && (v.browser = "android", f.android = !0);
185
- for (var x in f.name = v.browser, f.platform = v.platform, U) U.hasOwnProperty(x) && delete U[x];
184
+ y.platform && (f[y.platform] = !0), (f.chrome || f.opr || f.safari) && (f.webkit = !0), (f.rv || f.iemobile) && (f.rv && delete f.rv, y.browser = "msie", f.msie = !0), f.edge && (delete f.edge, y.browser = "msedge", f.msedge = !0), f.opr && (y.browser = "opera", f.opera = !0), f.safari && f.android && (y.browser = "android", f.android = !0);
185
+ for (var x in f.name = y.browser, f.platform = y.platform, U) U.hasOwnProperty(x) && delete U[x];
186
186
  Object.assign(U, f);
187
187
  })(), Z.a = U;
188
188
  }, function(fe, Z, O) {
189
189
  Z.a = { OK: "OK", FORMAT_ERROR: "FormatError", FORMAT_UNSUPPORTED: "FormatUnsupported", CODEC_UNSUPPORTED: "CodecUnsupported" };
190
190
  }, function(fe, Z, O) {
191
- var U, B = typeof Reflect == "object" ? Reflect : null, m = B && typeof B.apply == "function" ? B.apply : function(y, G, T) {
192
- return Function.prototype.apply.call(y, G, T);
191
+ var U, B = typeof Reflect == "object" ? Reflect : null, m = B && typeof B.apply == "function" ? B.apply : function(v, G, T) {
192
+ return Function.prototype.apply.call(v, G, T);
193
193
  };
194
- U = B && typeof B.ownKeys == "function" ? B.ownKeys : Object.getOwnPropertySymbols ? function(y) {
195
- return Object.getOwnPropertyNames(y).concat(Object.getOwnPropertySymbols(y));
196
- } : function(y) {
197
- return Object.getOwnPropertyNames(y);
194
+ U = B && typeof B.ownKeys == "function" ? B.ownKeys : Object.getOwnPropertySymbols ? function(v) {
195
+ return Object.getOwnPropertyNames(v).concat(Object.getOwnPropertySymbols(v));
196
+ } : function(v) {
197
+ return Object.getOwnPropertyNames(v);
198
198
  };
199
- var b = Number.isNaN || function(y) {
200
- return y != y;
199
+ var b = Number.isNaN || function(v) {
200
+ return v != v;
201
201
  };
202
- function v() {
203
- v.init.call(this);
202
+ function y() {
203
+ y.init.call(this);
204
204
  }
205
- fe.exports = v, fe.exports.once = function(y, G) {
205
+ fe.exports = y, fe.exports.once = function(v, G) {
206
206
  return new Promise(function(T, l) {
207
207
  function u(c) {
208
- y.removeListener(G, _), l(c);
208
+ v.removeListener(G, _), l(c);
209
209
  }
210
210
  function _() {
211
- typeof y.removeListener == "function" && y.removeListener("error", u), T([].slice.call(arguments));
211
+ typeof v.removeListener == "function" && v.removeListener("error", u), T([].slice.call(arguments));
212
212
  }
213
- ae(y, G, _, { once: !0 }), G !== "error" && function(c, P, D) {
214
- typeof c.on == "function" && ae(c, "error", P, D);
215
- }(y, u, { once: !0 });
213
+ ne(v, G, _, { once: !0 }), G !== "error" && function(c, P, D) {
214
+ typeof c.on == "function" && ne(c, "error", P, D);
215
+ }(v, u, { once: !0 });
216
216
  });
217
- }, v.EventEmitter = v, v.prototype._events = void 0, v.prototype._eventsCount = 0, v.prototype._maxListeners = void 0;
217
+ }, y.EventEmitter = y, y.prototype._events = void 0, y.prototype._eventsCount = 0, y.prototype._maxListeners = void 0;
218
218
  var f = 10;
219
- function L(y) {
220
- if (typeof y != "function") throw new TypeError('The "listener" argument must be of type Function. Received type ' + typeof y);
219
+ function L(v) {
220
+ if (typeof v != "function") throw new TypeError('The "listener" argument must be of type Function. Received type ' + typeof v);
221
221
  }
222
- function x(y) {
223
- return y._maxListeners === void 0 ? v.defaultMaxListeners : y._maxListeners;
222
+ function x(v) {
223
+ return v._maxListeners === void 0 ? y.defaultMaxListeners : v._maxListeners;
224
224
  }
225
- function C(y, G, T, l) {
225
+ function C(v, G, T, l) {
226
226
  var u, _, c, P;
227
- if (L(T), (_ = y._events) === void 0 ? (_ = y._events = /* @__PURE__ */ Object.create(null), y._eventsCount = 0) : (_.newListener !== void 0 && (y.emit("newListener", G, T.listener ? T.listener : T), _ = y._events), c = _[G]), c === void 0) c = _[G] = T, ++y._eventsCount;
228
- else if (typeof c == "function" ? c = _[G] = l ? [T, c] : [c, T] : l ? c.unshift(T) : c.push(T), (u = x(y)) > 0 && c.length > u && !c.warned) {
227
+ if (L(T), (_ = v._events) === void 0 ? (_ = v._events = /* @__PURE__ */ Object.create(null), v._eventsCount = 0) : (_.newListener !== void 0 && (v.emit("newListener", G, T.listener ? T.listener : T), _ = v._events), c = _[G]), c === void 0) c = _[G] = T, ++v._eventsCount;
228
+ else if (typeof c == "function" ? c = _[G] = l ? [T, c] : [c, T] : l ? c.unshift(T) : c.push(T), (u = x(v)) > 0 && c.length > u && !c.warned) {
229
229
  c.warned = !0;
230
230
  var D = new Error("Possible EventEmitter memory leak detected. " + c.length + " " + String(G) + " listeners added. Use emitter.setMaxListeners() to increase limit");
231
- D.name = "MaxListenersExceededWarning", D.emitter = y, D.type = G, D.count = c.length, P = D;
231
+ D.name = "MaxListenersExceededWarning", D.emitter = v, D.type = G, D.count = c.length, P = D;
232
232
  }
233
- return y;
233
+ return v;
234
234
  }
235
235
  function V() {
236
236
  if (!this.fired) return this.target.removeListener(this.type, this.wrapFn), this.fired = !0, arguments.length === 0 ? this.listener.call(this.target) : this.listener.apply(this.target, arguments);
237
237
  }
238
- function H(y, G, T) {
239
- var l = { fired: !1, wrapFn: void 0, target: y, type: G, listener: T }, u = V.bind(l);
238
+ function H(v, G, T) {
239
+ var l = { fired: !1, wrapFn: void 0, target: v, type: G, listener: T }, u = V.bind(l);
240
240
  return u.listener = T, l.wrapFn = u, u;
241
241
  }
242
- function ue(y, G, T) {
243
- var l = y._events;
242
+ function ue(v, G, T) {
243
+ var l = v._events;
244
244
  if (l === void 0) return [];
245
245
  var u = l[G];
246
246
  return u === void 0 ? [] : typeof u == "function" ? T ? [u.listener || u] : [u] : T ? function(_) {
@@ -248,43 +248,43 @@ var Tt = { exports: {} };
248
248
  return c;
249
249
  }(u) : Y(u, u.length);
250
250
  }
251
- function se(y) {
251
+ function se(v) {
252
252
  var G = this._events;
253
253
  if (G !== void 0) {
254
- var T = G[y];
254
+ var T = G[v];
255
255
  if (typeof T == "function") return 1;
256
256
  if (T !== void 0) return T.length;
257
257
  }
258
258
  return 0;
259
259
  }
260
- function Y(y, G) {
261
- for (var T = new Array(G), l = 0; l < G; ++l) T[l] = y[l];
260
+ function Y(v, G) {
261
+ for (var T = new Array(G), l = 0; l < G; ++l) T[l] = v[l];
262
262
  return T;
263
263
  }
264
- function ae(y, G, T, l) {
265
- if (typeof y.on == "function") l.once ? y.once(G, T) : y.on(G, T);
264
+ function ne(v, G, T, l) {
265
+ if (typeof v.on == "function") l.once ? v.once(G, T) : v.on(G, T);
266
266
  else {
267
- if (typeof y.addEventListener != "function") throw new TypeError('The "emitter" argument must be of type EventEmitter. Received type ' + typeof y);
268
- y.addEventListener(G, function u(_) {
269
- l.once && y.removeEventListener(G, u), T(_);
267
+ if (typeof v.addEventListener != "function") throw new TypeError('The "emitter" argument must be of type EventEmitter. Received type ' + typeof v);
268
+ v.addEventListener(G, function u(_) {
269
+ l.once && v.removeEventListener(G, u), T(_);
270
270
  });
271
271
  }
272
272
  }
273
- Object.defineProperty(v, "defaultMaxListeners", { enumerable: !0, get: function() {
273
+ Object.defineProperty(y, "defaultMaxListeners", { enumerable: !0, get: function() {
274
274
  return f;
275
- }, set: function(y) {
276
- if (typeof y != "number" || y < 0 || b(y)) throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received ' + y + ".");
277
- f = y;
278
- } }), v.init = function() {
275
+ }, set: function(v) {
276
+ if (typeof v != "number" || v < 0 || b(v)) throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received ' + v + ".");
277
+ f = v;
278
+ } }), y.init = function() {
279
279
  this._events !== void 0 && this._events !== Object.getPrototypeOf(this)._events || (this._events = /* @__PURE__ */ Object.create(null), this._eventsCount = 0), this._maxListeners = this._maxListeners || void 0;
280
- }, v.prototype.setMaxListeners = function(y) {
281
- if (typeof y != "number" || y < 0 || b(y)) throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received ' + y + ".");
282
- return this._maxListeners = y, this;
283
- }, v.prototype.getMaxListeners = function() {
280
+ }, y.prototype.setMaxListeners = function(v) {
281
+ if (typeof v != "number" || v < 0 || b(v)) throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received ' + v + ".");
282
+ return this._maxListeners = v, this;
283
+ }, y.prototype.getMaxListeners = function() {
284
284
  return x(this);
285
- }, v.prototype.emit = function(y) {
285
+ }, y.prototype.emit = function(v) {
286
286
  for (var G = [], T = 1; T < arguments.length; T++) G.push(arguments[T]);
287
- var l = y === "error", u = this._events;
287
+ var l = v === "error", u = this._events;
288
288
  if (u !== void 0) l = l && u.error === void 0;
289
289
  else if (!l) return !1;
290
290
  if (l) {
@@ -293,7 +293,7 @@ var Tt = { exports: {} };
293
293
  var c = new Error("Unhandled error." + (_ ? " (" + _.message + ")" : ""));
294
294
  throw c.context = _, c;
295
295
  }
296
- var P = u[y];
296
+ var P = u[v];
297
297
  if (P === void 0) return !1;
298
298
  if (typeof P == "function") m(P, this, G);
299
299
  else {
@@ -301,19 +301,19 @@ var Tt = { exports: {} };
301
301
  for (T = 0; T < D; ++T) m(F[T], this, G);
302
302
  }
303
303
  return !0;
304
- }, v.prototype.addListener = function(y, G) {
305
- return C(this, y, G, !1);
306
- }, v.prototype.on = v.prototype.addListener, v.prototype.prependListener = function(y, G) {
307
- return C(this, y, G, !0);
308
- }, v.prototype.once = function(y, G) {
309
- return L(G), this.on(y, H(this, y, G)), this;
310
- }, v.prototype.prependOnceListener = function(y, G) {
311
- return L(G), this.prependListener(y, H(this, y, G)), this;
312
- }, v.prototype.removeListener = function(y, G) {
304
+ }, y.prototype.addListener = function(v, G) {
305
+ return C(this, v, G, !1);
306
+ }, y.prototype.on = y.prototype.addListener, y.prototype.prependListener = function(v, G) {
307
+ return C(this, v, G, !0);
308
+ }, y.prototype.once = function(v, G) {
309
+ return L(G), this.on(v, H(this, v, G)), this;
310
+ }, y.prototype.prependOnceListener = function(v, G) {
311
+ return L(G), this.prependListener(v, H(this, v, G)), this;
312
+ }, y.prototype.removeListener = function(v, G) {
313
313
  var T, l, u, _, c;
314
314
  if (L(G), (l = this._events) === void 0) return this;
315
- if ((T = l[y]) === void 0) return this;
316
- if (T === G || T.listener === G) --this._eventsCount == 0 ? this._events = /* @__PURE__ */ Object.create(null) : (delete l[y], l.removeListener && this.emit("removeListener", y, T.listener || G));
315
+ if ((T = l[v]) === void 0) return this;
316
+ if (T === G || T.listener === G) --this._eventsCount == 0 ? this._events = /* @__PURE__ */ Object.create(null) : (delete l[v], l.removeListener && this.emit("removeListener", v, T.listener || G));
317
317
  else if (typeof T != "function") {
318
318
  for (u = -1, _ = T.length - 1; _ >= 0; _--) if (T[_] === G || T[_].listener === G) {
319
319
  c = T[_].listener, u = _;
@@ -323,28 +323,28 @@ var Tt = { exports: {} };
323
323
  u === 0 ? T.shift() : function(P, D) {
324
324
  for (; D + 1 < P.length; D++) P[D] = P[D + 1];
325
325
  P.pop();
326
- }(T, u), T.length === 1 && (l[y] = T[0]), l.removeListener !== void 0 && this.emit("removeListener", y, c || G);
326
+ }(T, u), T.length === 1 && (l[v] = T[0]), l.removeListener !== void 0 && this.emit("removeListener", v, c || G);
327
327
  }
328
328
  return this;
329
- }, v.prototype.off = v.prototype.removeListener, v.prototype.removeAllListeners = function(y) {
329
+ }, y.prototype.off = y.prototype.removeListener, y.prototype.removeAllListeners = function(v) {
330
330
  var G, T, l;
331
331
  if ((T = this._events) === void 0) return this;
332
- if (T.removeListener === void 0) return arguments.length === 0 ? (this._events = /* @__PURE__ */ Object.create(null), this._eventsCount = 0) : T[y] !== void 0 && (--this._eventsCount == 0 ? this._events = /* @__PURE__ */ Object.create(null) : delete T[y]), this;
332
+ if (T.removeListener === void 0) return arguments.length === 0 ? (this._events = /* @__PURE__ */ Object.create(null), this._eventsCount = 0) : T[v] !== void 0 && (--this._eventsCount == 0 ? this._events = /* @__PURE__ */ Object.create(null) : delete T[v]), this;
333
333
  if (arguments.length === 0) {
334
334
  var u, _ = Object.keys(T);
335
335
  for (l = 0; l < _.length; ++l) (u = _[l]) !== "removeListener" && this.removeAllListeners(u);
336
336
  return this.removeAllListeners("removeListener"), this._events = /* @__PURE__ */ Object.create(null), this._eventsCount = 0, this;
337
337
  }
338
- if (typeof (G = T[y]) == "function") this.removeListener(y, G);
339
- else if (G !== void 0) for (l = G.length - 1; l >= 0; l--) this.removeListener(y, G[l]);
338
+ if (typeof (G = T[v]) == "function") this.removeListener(v, G);
339
+ else if (G !== void 0) for (l = G.length - 1; l >= 0; l--) this.removeListener(v, G[l]);
340
340
  return this;
341
- }, v.prototype.listeners = function(y) {
342
- return ue(this, y, !0);
343
- }, v.prototype.rawListeners = function(y) {
344
- return ue(this, y, !1);
345
- }, v.listenerCount = function(y, G) {
346
- return typeof y.listenerCount == "function" ? y.listenerCount(G) : se.call(y, G);
347
- }, v.prototype.listenerCount = se, v.prototype.eventNames = function() {
341
+ }, y.prototype.listeners = function(v) {
342
+ return ue(this, v, !0);
343
+ }, y.prototype.rawListeners = function(v) {
344
+ return ue(this, v, !1);
345
+ }, y.listenerCount = function(v, G) {
346
+ return typeof v.listenerCount == "function" ? v.listenerCount(G) : se.call(v, G);
347
+ }, y.prototype.listenerCount = se, y.prototype.eventNames = function() {
348
348
  return this._eventsCount > 0 ? U(this._events) : [];
349
349
  };
350
350
  }, function(fe, Z, O) {
@@ -357,25 +357,25 @@ var Tt = { exports: {} };
357
357
  }), O.d(Z, "c", function() {
358
358
  return b;
359
359
  });
360
- var U = function(v, f, L, x, C) {
361
- this.dts = v, this.pts = f, this.duration = L, this.originalDts = x, this.isSyncPoint = C, this.fileposition = null;
360
+ var U = function(y, f, L, x, C) {
361
+ this.dts = y, this.pts = f, this.duration = L, this.originalDts = x, this.isSyncPoint = C, this.fileposition = null;
362
362
  }, B = function() {
363
- function v() {
363
+ function y() {
364
364
  this.beginDts = 0, this.endDts = 0, this.beginPts = 0, this.endPts = 0, this.originalBeginDts = 0, this.originalEndDts = 0, this.syncPoints = [], this.firstSample = null, this.lastSample = null;
365
365
  }
366
- return v.prototype.appendSyncPoint = function(f) {
366
+ return y.prototype.appendSyncPoint = function(f) {
367
367
  f.isSyncPoint = !0, this.syncPoints.push(f);
368
- }, v;
368
+ }, y;
369
369
  }(), m = function() {
370
- function v() {
370
+ function y() {
371
371
  this._list = [];
372
372
  }
373
- return v.prototype.clear = function() {
373
+ return y.prototype.clear = function() {
374
374
  this._list = [];
375
- }, v.prototype.appendArray = function(f) {
375
+ }, y.prototype.appendArray = function(f) {
376
376
  var L = this._list;
377
377
  f.length !== 0 && (L.length > 0 && f[0].originalDts < L[L.length - 1].originalDts && this.clear(), Array.prototype.push.apply(L, f));
378
- }, v.prototype.getLastSyncPointBeforeDts = function(f) {
378
+ }, y.prototype.getLastSyncPointBeforeDts = function(f) {
379
379
  if (this._list.length == 0) return null;
380
380
  var L = this._list, x = 0, C = L.length - 1, V = 0, H = 0, ue = C;
381
381
  for (f < L[0].dts && (x = 0, H = ue + 1); H <= ue; ) {
@@ -386,20 +386,20 @@ var Tt = { exports: {} };
386
386
  L[V].dts < f ? H = V + 1 : ue = V - 1;
387
387
  }
388
388
  return this._list[x];
389
- }, v;
389
+ }, y;
390
390
  }(), b = function() {
391
- function v(f) {
391
+ function y(f) {
392
392
  this._type = f, this._list = [], this._lastAppendLocation = -1;
393
393
  }
394
- return Object.defineProperty(v.prototype, "type", { get: function() {
394
+ return Object.defineProperty(y.prototype, "type", { get: function() {
395
395
  return this._type;
396
- }, enumerable: !1, configurable: !0 }), Object.defineProperty(v.prototype, "length", { get: function() {
396
+ }, enumerable: !1, configurable: !0 }), Object.defineProperty(y.prototype, "length", { get: function() {
397
397
  return this._list.length;
398
- }, enumerable: !1, configurable: !0 }), v.prototype.isEmpty = function() {
398
+ }, enumerable: !1, configurable: !0 }), y.prototype.isEmpty = function() {
399
399
  return this._list.length === 0;
400
- }, v.prototype.clear = function() {
400
+ }, y.prototype.clear = function() {
401
401
  this._list = [], this._lastAppendLocation = -1;
402
- }, v.prototype._searchNearestSegmentBefore = function(f) {
402
+ }, y.prototype._searchNearestSegmentBefore = function(f) {
403
403
  var L = this._list;
404
404
  if (L.length === 0) return -2;
405
405
  var x = L.length - 1, C = 0, V = 0, H = x, ue = 0;
@@ -412,21 +412,21 @@ var Tt = { exports: {} };
412
412
  L[C].originalBeginDts < f ? V = C + 1 : H = C - 1;
413
413
  }
414
414
  return ue;
415
- }, v.prototype._searchNearestSegmentAfter = function(f) {
415
+ }, y.prototype._searchNearestSegmentAfter = function(f) {
416
416
  return this._searchNearestSegmentBefore(f) + 1;
417
- }, v.prototype.append = function(f) {
417
+ }, y.prototype.append = function(f) {
418
418
  var L = this._list, x = f, C = this._lastAppendLocation, V = 0;
419
419
  C !== -1 && C < L.length && x.originalBeginDts >= L[C].lastSample.originalDts && (C === L.length - 1 || C < L.length - 1 && x.originalBeginDts < L[C + 1].originalBeginDts) ? V = C + 1 : L.length > 0 && (V = this._searchNearestSegmentBefore(x.originalBeginDts) + 1), this._lastAppendLocation = V, this._list.splice(V, 0, x);
420
- }, v.prototype.getLastSegmentBefore = function(f) {
420
+ }, y.prototype.getLastSegmentBefore = function(f) {
421
421
  var L = this._searchNearestSegmentBefore(f);
422
422
  return L >= 0 ? this._list[L] : null;
423
- }, v.prototype.getLastSampleBefore = function(f) {
423
+ }, y.prototype.getLastSampleBefore = function(f) {
424
424
  var L = this.getLastSegmentBefore(f);
425
425
  return L != null ? L.lastSample : null;
426
- }, v.prototype.getLastSyncPointBefore = function(f) {
426
+ }, y.prototype.getLastSyncPointBefore = function(f) {
427
427
  for (var L = this._searchNearestSegmentBefore(f), x = this._list[L].syncPoints; x.length === 0 && L > 0; ) L--, x = this._list[L].syncPoints;
428
428
  return x.length > 0 ? x[x.length - 1] : null;
429
- }, v;
429
+ }, y;
430
430
  }();
431
431
  }, function(fe, Z, O) {
432
432
  var U = function() {
@@ -440,80 +440,80 @@ var Tt = { exports: {} };
440
440
  return this.hasKeyframesIndex === !0;
441
441
  }, B.prototype.getNearestKeyframe = function(m) {
442
442
  if (this.keyframesIndex == null) return null;
443
- var b = this.keyframesIndex, v = this._search(b.times, m);
444
- return { index: v, milliseconds: b.times[v], fileposition: b.filepositions[v] };
443
+ var b = this.keyframesIndex, y = this._search(b.times, m);
444
+ return { index: y, milliseconds: b.times[y], fileposition: b.filepositions[y] };
445
445
  }, B.prototype._search = function(m, b) {
446
- var v = 0, f = m.length - 1, L = 0, x = 0, C = f;
447
- for (b < m[0] && (v = 0, x = C + 1); x <= C; ) {
446
+ var y = 0, f = m.length - 1, L = 0, x = 0, C = f;
447
+ for (b < m[0] && (y = 0, x = C + 1); x <= C; ) {
448
448
  if ((L = x + Math.floor((C - x) / 2)) === f || b >= m[L] && b < m[L + 1]) {
449
- v = L;
449
+ y = L;
450
450
  break;
451
451
  }
452
452
  m[L] < b ? x = L + 1 : C = L - 1;
453
453
  }
454
- return v;
454
+ return y;
455
455
  }, B;
456
456
  }();
457
457
  Z.a = U;
458
458
  }, function(fe, Z, O) {
459
459
  var U = O(6), B = O.n(U), m = O(0), b = function() {
460
- function v() {
460
+ function y() {
461
461
  }
462
- return Object.defineProperty(v, "forceGlobalTag", { get: function() {
462
+ return Object.defineProperty(y, "forceGlobalTag", { get: function() {
463
463
  return m.a.FORCE_GLOBAL_TAG;
464
464
  }, set: function(f) {
465
- m.a.FORCE_GLOBAL_TAG = f, v._notifyChange();
466
- }, enumerable: !1, configurable: !0 }), Object.defineProperty(v, "globalTag", { get: function() {
465
+ m.a.FORCE_GLOBAL_TAG = f, y._notifyChange();
466
+ }, enumerable: !1, configurable: !0 }), Object.defineProperty(y, "globalTag", { get: function() {
467
467
  return m.a.GLOBAL_TAG;
468
468
  }, set: function(f) {
469
- m.a.GLOBAL_TAG = f, v._notifyChange();
470
- }, enumerable: !1, configurable: !0 }), Object.defineProperty(v, "enableAll", { get: function() {
469
+ m.a.GLOBAL_TAG = f, y._notifyChange();
470
+ }, enumerable: !1, configurable: !0 }), Object.defineProperty(y, "enableAll", { get: function() {
471
471
  return m.a.ENABLE_VERBOSE && m.a.ENABLE_DEBUG && m.a.ENABLE_INFO && m.a.ENABLE_WARN && m.a.ENABLE_ERROR;
472
472
  }, set: function(f) {
473
- m.a.ENABLE_VERBOSE = f, m.a.ENABLE_DEBUG = f, m.a.ENABLE_INFO = f, m.a.ENABLE_WARN = f, m.a.ENABLE_ERROR = f, v._notifyChange();
474
- }, enumerable: !1, configurable: !0 }), Object.defineProperty(v, "enableDebug", { get: function() {
473
+ m.a.ENABLE_VERBOSE = f, m.a.ENABLE_DEBUG = f, m.a.ENABLE_INFO = f, m.a.ENABLE_WARN = f, m.a.ENABLE_ERROR = f, y._notifyChange();
474
+ }, enumerable: !1, configurable: !0 }), Object.defineProperty(y, "enableDebug", { get: function() {
475
475
  return m.a.ENABLE_DEBUG;
476
476
  }, set: function(f) {
477
- m.a.ENABLE_DEBUG = f, v._notifyChange();
478
- }, enumerable: !1, configurable: !0 }), Object.defineProperty(v, "enableVerbose", { get: function() {
477
+ m.a.ENABLE_DEBUG = f, y._notifyChange();
478
+ }, enumerable: !1, configurable: !0 }), Object.defineProperty(y, "enableVerbose", { get: function() {
479
479
  return m.a.ENABLE_VERBOSE;
480
480
  }, set: function(f) {
481
- m.a.ENABLE_VERBOSE = f, v._notifyChange();
482
- }, enumerable: !1, configurable: !0 }), Object.defineProperty(v, "enableInfo", { get: function() {
481
+ m.a.ENABLE_VERBOSE = f, y._notifyChange();
482
+ }, enumerable: !1, configurable: !0 }), Object.defineProperty(y, "enableInfo", { get: function() {
483
483
  return m.a.ENABLE_INFO;
484
484
  }, set: function(f) {
485
- m.a.ENABLE_INFO = f, v._notifyChange();
486
- }, enumerable: !1, configurable: !0 }), Object.defineProperty(v, "enableWarn", { get: function() {
485
+ m.a.ENABLE_INFO = f, y._notifyChange();
486
+ }, enumerable: !1, configurable: !0 }), Object.defineProperty(y, "enableWarn", { get: function() {
487
487
  return m.a.ENABLE_WARN;
488
488
  }, set: function(f) {
489
- m.a.ENABLE_WARN = f, v._notifyChange();
490
- }, enumerable: !1, configurable: !0 }), Object.defineProperty(v, "enableError", { get: function() {
489
+ m.a.ENABLE_WARN = f, y._notifyChange();
490
+ }, enumerable: !1, configurable: !0 }), Object.defineProperty(y, "enableError", { get: function() {
491
491
  return m.a.ENABLE_ERROR;
492
492
  }, set: function(f) {
493
- m.a.ENABLE_ERROR = f, v._notifyChange();
494
- }, enumerable: !1, configurable: !0 }), v.getConfig = function() {
493
+ m.a.ENABLE_ERROR = f, y._notifyChange();
494
+ }, enumerable: !1, configurable: !0 }), y.getConfig = function() {
495
495
  return { globalTag: m.a.GLOBAL_TAG, forceGlobalTag: m.a.FORCE_GLOBAL_TAG, enableVerbose: m.a.ENABLE_VERBOSE, enableDebug: m.a.ENABLE_DEBUG, enableInfo: m.a.ENABLE_INFO, enableWarn: m.a.ENABLE_WARN, enableError: m.a.ENABLE_ERROR, enableCallback: m.a.ENABLE_CALLBACK };
496
- }, v.applyConfig = function(f) {
496
+ }, y.applyConfig = function(f) {
497
497
  m.a.GLOBAL_TAG = f.globalTag, m.a.FORCE_GLOBAL_TAG = f.forceGlobalTag, m.a.ENABLE_VERBOSE = f.enableVerbose, m.a.ENABLE_DEBUG = f.enableDebug, m.a.ENABLE_INFO = f.enableInfo, m.a.ENABLE_WARN = f.enableWarn, m.a.ENABLE_ERROR = f.enableError, m.a.ENABLE_CALLBACK = f.enableCallback;
498
- }, v._notifyChange = function() {
499
- var f = v.emitter;
498
+ }, y._notifyChange = function() {
499
+ var f = y.emitter;
500
500
  if (f.listenerCount("change") > 0) {
501
- var L = v.getConfig();
501
+ var L = y.getConfig();
502
502
  f.emit("change", L);
503
503
  }
504
- }, v.registerListener = function(f) {
505
- v.emitter.addListener("change", f);
506
- }, v.removeListener = function(f) {
507
- v.emitter.removeListener("change", f);
508
- }, v.addLogListener = function(f) {
509
- m.a.emitter.addListener("log", f), m.a.emitter.listenerCount("log") > 0 && (m.a.ENABLE_CALLBACK = !0, v._notifyChange());
510
- }, v.removeLogListener = function(f) {
511
- m.a.emitter.removeListener("log", f), m.a.emitter.listenerCount("log") === 0 && (m.a.ENABLE_CALLBACK = !1, v._notifyChange());
512
- }, v;
504
+ }, y.registerListener = function(f) {
505
+ y.emitter.addListener("change", f);
506
+ }, y.removeListener = function(f) {
507
+ y.emitter.removeListener("change", f);
508
+ }, y.addLogListener = function(f) {
509
+ m.a.emitter.addListener("log", f), m.a.emitter.listenerCount("log") > 0 && (m.a.ENABLE_CALLBACK = !0, y._notifyChange());
510
+ }, y.removeLogListener = function(f) {
511
+ m.a.emitter.removeListener("log", f), m.a.emitter.listenerCount("log") === 0 && (m.a.ENABLE_CALLBACK = !1, y._notifyChange());
512
+ }, y;
513
513
  }();
514
514
  b.emitter = new B.a(), Z.a = b;
515
515
  }, function(fe, Z, O) {
516
- var U = O(6), B = O.n(U), m = O(0), b = O(4), v = O(8);
516
+ var U = O(6), B = O.n(U), m = O(0), b = O(4), y = O(8);
517
517
  function f(r, t, i) {
518
518
  var e = r;
519
519
  if (t + i < e.length) {
@@ -523,7 +523,7 @@ var Tt = { exports: {} };
523
523
  return !1;
524
524
  }
525
525
  var L, x = function(r) {
526
- for (var t = [], i = r, e = 0, a = r.length; e < a; ) if (i[e] < 128) t.push(String.fromCharCode(i[e])), ++e;
526
+ for (var t = [], i = r, e = 0, n = r.length; e < n; ) if (i[e] < 128) t.push(String.fromCharCode(i[e])), ++e;
527
527
  else {
528
528
  if (!(i[e] < 192)) {
529
529
  if (i[e] < 224) {
@@ -551,92 +551,92 @@ var Tt = { exports: {} };
551
551
  function r() {
552
552
  }
553
553
  return r.parseScriptData = function(t, i, e) {
554
- var a = {};
554
+ var n = {};
555
555
  try {
556
- var s = r.parseValue(t, i, e), n = r.parseValue(t, i + s.size, e - s.size);
557
- a[s.data] = n.data;
556
+ var s = r.parseValue(t, i, e), a = r.parseValue(t, i + s.size, e - s.size);
557
+ n[s.data] = a.data;
558
558
  } catch (o) {
559
559
  m.a.e("AMF", o.toString());
560
560
  }
561
- return a;
561
+ return n;
562
562
  }, r.parseObject = function(t, i, e) {
563
563
  if (e < 3) throw new C.a("Data not enough when parse ScriptDataObject");
564
- var a = r.parseString(t, i, e), s = r.parseValue(t, i + a.size, e - a.size), n = s.objectEnd;
565
- return { data: { name: a.data, value: s.data }, size: a.size + s.size, objectEnd: n };
564
+ var n = r.parseString(t, i, e), s = r.parseValue(t, i + n.size, e - n.size), a = s.objectEnd;
565
+ return { data: { name: n.data, value: s.data }, size: n.size + s.size, objectEnd: a };
566
566
  }, r.parseVariable = function(t, i, e) {
567
567
  return r.parseObject(t, i, e);
568
568
  }, r.parseString = function(t, i, e) {
569
569
  if (e < 2) throw new C.a("Data not enough when parse String");
570
- var a = new DataView(t, i, e).getUint16(0, !V);
571
- return { data: a > 0 ? x(new Uint8Array(t, i + 2, a)) : "", size: 2 + a };
570
+ var n = new DataView(t, i, e).getUint16(0, !V);
571
+ return { data: n > 0 ? x(new Uint8Array(t, i + 2, n)) : "", size: 2 + n };
572
572
  }, r.parseLongString = function(t, i, e) {
573
573
  if (e < 4) throw new C.a("Data not enough when parse LongString");
574
- var a = new DataView(t, i, e).getUint32(0, !V);
575
- return { data: a > 0 ? x(new Uint8Array(t, i + 4, a)) : "", size: 4 + a };
574
+ var n = new DataView(t, i, e).getUint32(0, !V);
575
+ return { data: n > 0 ? x(new Uint8Array(t, i + 4, n)) : "", size: 4 + n };
576
576
  }, r.parseDate = function(t, i, e) {
577
577
  if (e < 10) throw new C.a("Data size invalid when parse Date");
578
- var a = new DataView(t, i, e), s = a.getFloat64(0, !V), n = a.getInt16(8, !V);
579
- return { data: new Date(s += 60 * n * 1e3), size: 10 };
578
+ var n = new DataView(t, i, e), s = n.getFloat64(0, !V), a = n.getInt16(8, !V);
579
+ return { data: new Date(s += 60 * a * 1e3), size: 10 };
580
580
  }, r.parseValue = function(t, i, e) {
581
581
  if (e < 1) throw new C.a("Data not enough when parse Value");
582
- var a, s = new DataView(t, i, e), n = 1, o = s.getUint8(0), p = !1;
582
+ var n, s = new DataView(t, i, e), a = 1, o = s.getUint8(0), p = !1;
583
583
  try {
584
584
  switch (o) {
585
585
  case 0:
586
- a = s.getFloat64(1, !V), n += 8;
586
+ n = s.getFloat64(1, !V), a += 8;
587
587
  break;
588
588
  case 1:
589
- a = !!s.getUint8(1), n += 1;
589
+ n = !!s.getUint8(1), a += 1;
590
590
  break;
591
591
  case 2:
592
592
  var g = r.parseString(t, i + 1, e - 1);
593
- a = g.data, n += g.size;
593
+ n = g.data, a += g.size;
594
594
  break;
595
595
  case 3:
596
- a = {};
596
+ n = {};
597
597
  var E = 0;
598
- for ((16777215 & s.getUint32(e - 4, !V)) == 9 && (E = 3); n < e - 4; ) {
599
- var A = r.parseObject(t, i + n, e - n - E);
598
+ for ((16777215 & s.getUint32(e - 4, !V)) == 9 && (E = 3); a < e - 4; ) {
599
+ var A = r.parseObject(t, i + a, e - a - E);
600
600
  if (A.objectEnd) break;
601
- a[A.data.name] = A.data.value, n += A.size;
601
+ n[A.data.name] = A.data.value, a += A.size;
602
602
  }
603
- n <= e - 3 && (16777215 & s.getUint32(n - 1, !V)) === 9 && (n += 3);
603
+ a <= e - 3 && (16777215 & s.getUint32(a - 1, !V)) === 9 && (a += 3);
604
604
  break;
605
605
  case 8:
606
- for (a = {}, n += 4, E = 0, (16777215 & s.getUint32(e - 4, !V)) == 9 && (E = 3); n < e - 8; ) {
607
- var S = r.parseVariable(t, i + n, e - n - E);
606
+ for (n = {}, a += 4, E = 0, (16777215 & s.getUint32(e - 4, !V)) == 9 && (E = 3); a < e - 8; ) {
607
+ var S = r.parseVariable(t, i + a, e - a - E);
608
608
  if (S.objectEnd) break;
609
- a[S.data.name] = S.data.value, n += S.size;
609
+ n[S.data.name] = S.data.value, a += S.size;
610
610
  }
611
- n <= e - 3 && (16777215 & s.getUint32(n - 1, !V)) === 9 && (n += 3);
611
+ a <= e - 3 && (16777215 & s.getUint32(a - 1, !V)) === 9 && (a += 3);
612
612
  break;
613
613
  case 9:
614
- a = void 0, n = 1, p = !0;
614
+ n = void 0, a = 1, p = !0;
615
615
  break;
616
616
  case 10:
617
- a = [];
617
+ n = [];
618
618
  var w = s.getUint32(1, !V);
619
- n += 4;
619
+ a += 4;
620
620
  for (var I = 0; I < w; I++) {
621
- var z = r.parseValue(t, i + n, e - n);
622
- a.push(z.data), n += z.size;
621
+ var z = r.parseValue(t, i + a, e - a);
622
+ n.push(z.data), a += z.size;
623
623
  }
624
624
  break;
625
625
  case 11:
626
626
  var N = r.parseDate(t, i + 1, e - 1);
627
- a = N.data, n += N.size;
627
+ n = N.data, a += N.size;
628
628
  break;
629
629
  case 12:
630
630
  var J = r.parseString(t, i + 1, e - 1);
631
- a = J.data, n += J.size;
631
+ n = J.data, a += J.size;
632
632
  break;
633
633
  default:
634
- n = e, m.a.w("AMF", "Unsupported AMF value type " + o);
634
+ a = e, m.a.w("AMF", "Unsupported AMF value type " + o);
635
635
  }
636
636
  } catch (W) {
637
637
  m.a.e("AMF", W.toString());
638
638
  }
639
- return { data: a, size: n, objectEnd: p };
639
+ return { data: n, size: a, objectEnd: p };
640
640
  }, r;
641
641
  }(), ue = function() {
642
642
  function r(t) {
@@ -657,10 +657,10 @@ var Tt = { exports: {} };
657
657
  }
658
658
  var e = this._current_word_bits_left ? this._current_word : 0;
659
659
  e >>>= 32 - this._current_word_bits_left;
660
- var a = t - this._current_word_bits_left;
660
+ var n = t - this._current_word_bits_left;
661
661
  this._fillCurrentWord();
662
- var s = Math.min(a, this._current_word_bits_left), n = this._current_word >>> 32 - s;
663
- return this._current_word <<= s, this._current_word_bits_left -= s, e = e << s | n;
662
+ var s = Math.min(n, this._current_word_bits_left), a = this._current_word >>> 32 - s;
663
+ return this._current_word <<= s, this._current_word_bits_left -= s, e = e << s | a;
664
664
  }, r.prototype.readBool = function() {
665
665
  return this.readBits(1) === 1;
666
666
  }, r.prototype.readByte = function() {
@@ -680,14 +680,14 @@ var Tt = { exports: {} };
680
680
  function r() {
681
681
  }
682
682
  return r._ebsp2rbsp = function(t) {
683
- for (var i = t, e = i.byteLength, a = new Uint8Array(e), s = 0, n = 0; n < e; n++) n >= 2 && i[n] === 3 && i[n - 1] === 0 && i[n - 2] === 0 || (a[s] = i[n], s++);
684
- return new Uint8Array(a.buffer, 0, s);
683
+ for (var i = t, e = i.byteLength, n = new Uint8Array(e), s = 0, a = 0; a < e; a++) a >= 2 && i[a] === 3 && i[a - 1] === 0 && i[a - 2] === 0 || (n[s] = i[a], s++);
684
+ return new Uint8Array(n.buffer, 0, s);
685
685
  }, r.parseSPS = function(t) {
686
- for (var i = t.subarray(1, 4), e = "avc1.", a = 0; a < 3; a++) {
687
- var s = i[a].toString(16);
686
+ for (var i = t.subarray(1, 4), e = "avc1.", n = 0; n < 3; n++) {
687
+ var s = i[n].toString(16);
688
688
  s.length < 2 && (s = "0" + s), e += s;
689
689
  }
690
- var n = r._ebsp2rbsp(t), o = new ue(n);
690
+ var a = r._ebsp2rbsp(t), o = new ue(a);
691
691
  o.readByte();
692
692
  var p = o.readByte();
693
693
  o.readByte();
@@ -707,9 +707,9 @@ var Tt = { exports: {} };
707
707
  o.readBits(1);
708
708
  var he = o.readUEG(), K = o.readUEG(), Q = o.readBits(1);
709
709
  Q === 0 && o.readBits(1), o.readBits(1);
710
- var _e = 0, te = 0, ne = 0, be = 0;
711
- o.readBool() && (_e = o.readUEG(), te = o.readUEG(), ne = o.readUEG(), be = o.readUEG());
712
- var Ae = 1, le = 1, ye = 0, Re = !0, ke = 0, Ne = 0;
710
+ var _e = 0, te = 0, ae = 0, be = 0;
711
+ o.readBool() && (_e = o.readUEG(), te = o.readUEG(), ae = o.readUEG(), be = o.readUEG());
712
+ var Ae = 1, le = 1, ve = 0, Re = !0, ke = 0, Ne = 0;
713
713
  if (o.readBool()) {
714
714
  if (o.readBool()) {
715
715
  var Pe = o.readByte();
@@ -717,7 +717,7 @@ var Tt = { exports: {} };
717
717
  }
718
718
  if (o.readBool() && o.readBool(), o.readBool() && (o.readBits(4), o.readBool() && o.readBits(24)), o.readBool() && (o.readUEG(), o.readUEG()), o.readBool()) {
719
719
  var Ge = o.readBits(32), je = o.readBits(32);
720
- Re = o.readBool(), ye = (ke = je) / (Ne = 2 * Ge);
720
+ Re = o.readBool(), ve = (ke = je) / (Ne = 2 * Ge);
721
721
  }
722
722
  }
723
723
  var Fe = 1;
@@ -725,11 +725,11 @@ var Tt = { exports: {} };
725
725
  var Ce = 0, ge = 0;
726
726
  S === 0 ? (Ce = 1, ge = 2 - Q) : (Ce = S === 3 ? 1 : 2, ge = (S === 1 ? 2 : 1) * (2 - Q));
727
727
  var xe = 16 * (he + 1), Ue = 16 * (K + 1) * (2 - Q);
728
- xe -= (_e + te) * Ce, Ue -= (ne + be) * ge;
728
+ xe -= (_e + te) * Ce, Ue -= (ae + be) * ge;
729
729
  var Je = Math.ceil(xe * Fe);
730
- return o.destroy(), o = null, { codec_mimetype: e, profile_idc: p, level_idc: g, profile_string: E, level_string: A, chroma_format_idc: S, bit_depth: I, bit_depth_luma: I, bit_depth_chroma: z, ref_frames: de, chroma_format: w, chroma_format_string: r.getChromaFormatString(w), frame_rate: { fixed: Re, fps: ye, fps_den: Ne, fps_num: ke }, sar_ratio: { width: Ae, height: le }, codec_size: { width: xe, height: Ue }, present_size: { width: Je, height: Ue } };
730
+ return o.destroy(), o = null, { codec_mimetype: e, profile_idc: p, level_idc: g, profile_string: E, level_string: A, chroma_format_idc: S, bit_depth: I, bit_depth_luma: I, bit_depth_chroma: z, ref_frames: de, chroma_format: w, chroma_format_string: r.getChromaFormatString(w), frame_rate: { fixed: Re, fps: ve, fps_den: Ne, fps_num: ke }, sar_ratio: { width: Ae, height: le }, codec_size: { width: xe, height: Ue }, present_size: { width: Je, height: Ue } };
731
731
  }, r._skipScalingList = function(t, i) {
732
- for (var e = 8, a = 8, s = 0; s < i; s++) a !== 0 && (a = (e + t.readSEG() + 256) % 256), e = a === 0 ? e : a;
732
+ for (var e = 8, n = 8, s = 0; s < i; s++) n !== 0 && (n = (e + t.readSEG() + 256) % 256), e = n === 0 ? e : n;
733
733
  }, r.getProfileString = function(t) {
734
734
  switch (t) {
735
735
  case 66:
@@ -763,27 +763,27 @@ var Tt = { exports: {} };
763
763
  return "Unknown";
764
764
  }
765
765
  }, r;
766
- }(), Y = O(5), ae = function() {
766
+ }(), Y = O(5), ne = function() {
767
767
  function r() {
768
768
  }
769
769
  return r._ebsp2rbsp = function(t) {
770
- for (var i = t, e = i.byteLength, a = new Uint8Array(e), s = 0, n = 0; n < e; n++) n >= 2 && i[n] === 3 && i[n - 1] === 0 && i[n - 2] === 0 || (a[s] = i[n], s++);
771
- return new Uint8Array(a.buffer, 0, s);
770
+ for (var i = t, e = i.byteLength, n = new Uint8Array(e), s = 0, a = 0; a < e; a++) a >= 2 && i[a] === 3 && i[a - 1] === 0 && i[a - 2] === 0 || (n[s] = i[a], s++);
771
+ return new Uint8Array(n.buffer, 0, s);
772
772
  }, r.parseVPS = function(t) {
773
773
  var i = r._ebsp2rbsp(t), e = new ue(i);
774
774
  return e.readByte(), e.readByte(), e.readBits(4), e.readBits(2), e.readBits(6), { num_temporal_layers: e.readBits(3) + 1, temporal_id_nested: e.readBool() };
775
775
  }, r.parseSPS = function(t) {
776
776
  var i = r._ebsp2rbsp(t), e = new ue(i);
777
777
  e.readByte(), e.readByte();
778
- for (var a = 0, s = 0, n = 0, o = 0, p = (e.readBits(4), e.readBits(3)), g = (e.readBool(), e.readBits(2)), E = e.readBool(), A = e.readBits(5), S = e.readByte(), w = e.readByte(), I = e.readByte(), z = e.readByte(), N = e.readByte(), J = e.readByte(), W = e.readByte(), q = e.readByte(), de = e.readByte(), he = e.readByte(), K = e.readByte(), Q = [], _e = [], te = 0; te < p; te++) Q.push(e.readBool()), _e.push(e.readBool());
778
+ for (var n = 0, s = 0, a = 0, o = 0, p = (e.readBits(4), e.readBits(3)), g = (e.readBool(), e.readBits(2)), E = e.readBool(), A = e.readBits(5), S = e.readByte(), w = e.readByte(), I = e.readByte(), z = e.readByte(), N = e.readByte(), J = e.readByte(), W = e.readByte(), q = e.readByte(), de = e.readByte(), he = e.readByte(), K = e.readByte(), Q = [], _e = [], te = 0; te < p; te++) Q.push(e.readBool()), _e.push(e.readBool());
779
779
  if (p > 0) for (te = p; te < 8; te++) e.readBits(2);
780
780
  for (te = 0; te < p; te++) Q[te] && (e.readByte(), e.readByte(), e.readByte(), e.readByte(), e.readByte(), e.readByte(), e.readByte(), e.readByte(), e.readByte(), e.readByte(), e.readByte()), _e[te] && e.readByte();
781
781
  e.readUEG();
782
- var ne = e.readUEG();
783
- ne == 3 && e.readBits(1);
782
+ var ae = e.readUEG();
783
+ ae == 3 && e.readBits(1);
784
784
  var be = e.readUEG(), Ae = e.readUEG();
785
- e.readBool() && (a += e.readUEG(), s += e.readUEG(), n += e.readUEG(), o += e.readUEG());
786
- var le = e.readUEG(), ye = e.readUEG(), Re = e.readUEG();
785
+ e.readBool() && (n += e.readUEG(), s += e.readUEG(), a += e.readUEG(), o += e.readUEG());
786
+ var le = e.readUEG(), ve = e.readUEG(), Re = e.readUEG();
787
787
  for (te = e.readBool() ? 0 : p; te <= p; te++) e.readUEG(), e.readUEG(), e.readUEG();
788
788
  if (e.readUEG(), e.readUEG(), e.readUEG(), e.readUEG(), e.readUEG(), e.readUEG(), e.readBool() && e.readBool()) for (var ke = 0; ke < 4; ke++) for (var Ne = 0; Ne < (ke === 3 ? 2 : 6); Ne++)
789
789
  if (e.readBool()) {
@@ -821,27 +821,27 @@ var Tt = { exports: {} };
821
821
  Ke > 0 && Ke <= 16 ? (He = [1, 12, 10, 16, 40, 24, 20, 32, 80, 18, 15, 64, 160, 4, 3, 2][Ke - 1], qe = [1, 11, 11, 11, 33, 11, 11, 11, 33, 11, 11, 33, 99, 3, 2, 1][Ke - 1]) : Ke === 255 && (He = e.readBits(16), qe = e.readBits(16));
822
822
  }
823
823
  if (e.readBool() && e.readBool(), e.readBool() && (e.readBits(3), e.readBool(), e.readBool() && (e.readByte(), e.readByte(), e.readByte())), e.readBool() && (e.readUEG(), e.readUEG()), e.readBool(), e.readBool(), e.readBool(), e.readBool() && (e.readUEG(), e.readUEG(), e.readUEG(), e.readUEG()), e.readBool() && (it = e.readBits(32), rt = e.readBits(32), e.readBool() && (e.readUEG(), e.readBool()))) {
824
- var at = !1, nt = !1, Ze = !1;
825
- for (at = e.readBool(), nt = e.readBool(), (at || nt) && ((Ze = e.readBool()) && (e.readByte(), e.readBits(5), e.readBool(), e.readBits(5)), e.readBits(4), e.readBits(4), Ze && e.readBits(4), e.readBits(5), e.readBits(5), e.readBits(5)), te = 0; te <= p; te++) {
824
+ var nt = !1, at = !1, Ze = !1;
825
+ for (nt = e.readBool(), at = e.readBool(), (nt || at) && ((Ze = e.readBool()) && (e.readByte(), e.readBits(5), e.readBool(), e.readBits(5)), e.readBits(4), e.readBits(4), Ze && e.readBits(4), e.readBits(5), e.readBits(5), e.readBits(5)), te = 0; te <= p; te++) {
826
826
  var gt = e.readBool();
827
827
  mt = gt;
828
- var vt = !1, st = 1;
829
- gt || (vt = e.readBool());
830
- var yt = !1;
831
- if (vt ? e.readSEG() : yt = e.readBool(), yt || (st = e.readUEG() + 1), at) for (ge = 0; ge < st; ge++) e.readUEG(), e.readUEG(), Ze && (e.readUEG(), e.readUEG());
832
- if (nt) for (ge = 0; ge < st; ge++) e.readUEG(), e.readUEG(), Ze && (e.readUEG(), e.readUEG());
828
+ var yt = !1, st = 1;
829
+ gt || (yt = e.readBool());
830
+ var vt = !1;
831
+ if (yt ? e.readSEG() : vt = e.readBool(), vt || (st = e.readUEG() + 1), nt) for (ge = 0; ge < st; ge++) e.readUEG(), e.readUEG(), Ze && (e.readUEG(), e.readUEG());
832
+ if (at) for (ge = 0; ge < st; ge++) e.readUEG(), e.readUEG(), Ze && (e.readUEG(), e.readUEG());
833
833
  }
834
834
  }
835
835
  e.readBool() && (e.readBool(), e.readBool(), e.readBool(), pt = e.readUEG(), e.readUEG(), e.readUEG(), e.readUEG(), e.readUEG());
836
836
  }
837
837
  e.readBool();
838
- var Xt = "hvc1." + A + ".1.L" + K + ".B0", bt = be - (a + s) * (ne === 1 || ne === 2 ? 2 : 1), St = Ae - (n + o) * (ne === 1 ? 2 : 1), Et = 1;
839
- return He !== 1 && qe !== 1 && (Et = He / qe), e.destroy(), e = null, { codec_mimetype: Xt, level_string: r.getLevelString(K), profile_idc: A, bit_depth: le + 8, ref_frames: 1, chroma_format: ne, chroma_format_string: r.getChromaFormatString(ne), general_level_idc: K, general_profile_space: g, general_tier_flag: E, general_profile_idc: A, general_profile_compatibility_flags_1: S, general_profile_compatibility_flags_2: w, general_profile_compatibility_flags_3: I, general_profile_compatibility_flags_4: z, general_constraint_indicator_flags_1: N, general_constraint_indicator_flags_2: J, general_constraint_indicator_flags_3: W, general_constraint_indicator_flags_4: q, general_constraint_indicator_flags_5: de, general_constraint_indicator_flags_6: he, min_spatial_segmentation_idc: pt, constant_frame_rate: 0, chroma_format_idc: ne, bit_depth_luma_minus8: le, bit_depth_chroma_minus8: ye, frame_rate: { fixed: mt, fps: rt / it, fps_den: it, fps_num: rt }, sar_ratio: { width: He, height: qe }, codec_size: { width: bt, height: St }, present_size: { width: bt * Et, height: St } };
838
+ var Xt = "hvc1." + A + ".1.L" + K + ".B0", bt = be - (n + s) * (ae === 1 || ae === 2 ? 2 : 1), St = Ae - (a + o) * (ae === 1 ? 2 : 1), Et = 1;
839
+ return He !== 1 && qe !== 1 && (Et = He / qe), e.destroy(), e = null, { codec_mimetype: Xt, level_string: r.getLevelString(K), profile_idc: A, bit_depth: le + 8, ref_frames: 1, chroma_format: ae, chroma_format_string: r.getChromaFormatString(ae), general_level_idc: K, general_profile_space: g, general_tier_flag: E, general_profile_idc: A, general_profile_compatibility_flags_1: S, general_profile_compatibility_flags_2: w, general_profile_compatibility_flags_3: I, general_profile_compatibility_flags_4: z, general_constraint_indicator_flags_1: N, general_constraint_indicator_flags_2: J, general_constraint_indicator_flags_3: W, general_constraint_indicator_flags_4: q, general_constraint_indicator_flags_5: de, general_constraint_indicator_flags_6: he, min_spatial_segmentation_idc: pt, constant_frame_rate: 0, chroma_format_idc: ae, bit_depth_luma_minus8: le, bit_depth_chroma_minus8: ve, frame_rate: { fixed: mt, fps: rt / it, fps_den: it, fps_num: rt }, sar_ratio: { width: He, height: qe }, codec_size: { width: bt, height: St }, present_size: { width: bt * Et, height: St } };
840
840
  }, r.parsePPS = function(t) {
841
841
  var i = r._ebsp2rbsp(t), e = new ue(i);
842
842
  e.readByte(), e.readByte(), e.readUEG(), e.readUEG(), e.readBool(), e.readBool(), e.readBits(3), e.readBool(), e.readBool(), e.readUEG(), e.readUEG(), e.readSEG(), e.readBool(), e.readBool(), e.readBool() && e.readUEG(), e.readSEG(), e.readSEG(), e.readBool(), e.readBool(), e.readBool(), e.readBool();
843
- var a = e.readBool(), s = e.readBool(), n = 1;
844
- return s && a ? n = 0 : s ? n = 3 : a && (n = 2), { parallelismType: n };
843
+ var n = e.readBool(), s = e.readBool(), a = 1;
844
+ return s && n ? a = 0 : s ? a = 3 : n && (a = 2), { parallelismType: a };
845
845
  }, r.getChromaFormatString = function(t) {
846
846
  switch (t) {
847
847
  case 0:
@@ -874,7 +874,7 @@ var Tt = { exports: {} };
874
874
  return (t / 30).toFixed(1);
875
875
  }, r;
876
876
  }();
877
- function y(r) {
877
+ function v(r) {
878
878
  return r.byteOffset % 2 == 0 && r.byteLength % 2 == 0;
879
879
  }
880
880
  function G(r) {
@@ -887,14 +887,14 @@ var Tt = { exports: {} };
887
887
  var l = function(r, t) {
888
888
  return r.byteLength === t.byteLength && (G(r) && G(t) ? function(i, e) {
889
889
  return T(new Uint32Array(i.buffer, i.byteOffset, i.byteLength / 4), new Uint32Array(e.buffer, e.byteOffset, e.byteLength / 4));
890
- }(r, t) : y(r) && y(t) ? function(i, e) {
890
+ }(r, t) : v(r) && v(t) ? function(i, e) {
891
891
  return T(new Uint16Array(i.buffer, i.byteOffset, i.byteLength / 2), new Uint16Array(e.buffer, e.byteOffset, e.byteLength / 2));
892
892
  }(r, t) : function(i, e) {
893
893
  return T(i, e);
894
894
  }(r, t));
895
895
  }, u, _ = function() {
896
896
  function r(t, i) {
897
- this.TAG = "FLVDemuxer", this._config = i, this._onError = null, this._onMediaInfo = null, this._onMetaDataArrived = null, this._onScriptDataArrived = null, this._onTrackMetadata = null, this._onDataAvailable = null, this._dataOffset = t.dataOffset, this._firstParse = !0, this._dispatch = !1, this._hasAudio = t.hasAudioTrack, this._hasVideo = t.hasVideoTrack, this._hasAudioFlagOverrided = !1, this._hasVideoFlagOverrided = !1, this._audioInitialMetadataDispatched = !1, this._videoInitialMetadataDispatched = !1, this._mediaInfo = new v.a(), this._mediaInfo.hasAudio = this._hasAudio, this._mediaInfo.hasVideo = this._hasVideo, this._metadata = null, this._audioMetadata = null, this._videoMetadata = null, this._naluLengthSize = 4, this._timestampBase = 0, this._timescale = 1e3, this._duration = 0, this._durationOverrided = !1, this._referenceFrameRate = { fixed: !0, fps: 23.976, fps_num: 23976, fps_den: 1e3 }, this._flvSoundRateTable = [5500, 11025, 22050, 44100, 48e3], this._mpegSamplingRates = [96e3, 88200, 64e3, 48e3, 44100, 32e3, 24e3, 22050, 16e3, 12e3, 11025, 8e3, 7350], this._mpegAudioV10SampleRateTable = [44100, 48e3, 32e3, 0], this._mpegAudioV20SampleRateTable = [22050, 24e3, 16e3, 0], this._mpegAudioV25SampleRateTable = [11025, 12e3, 8e3, 0], this._mpegAudioL1BitRateTable = [0, 32, 64, 96, 128, 160, 192, 224, 256, 288, 320, 352, 384, 416, 448, -1], this._mpegAudioL2BitRateTable = [0, 32, 48, 56, 64, 80, 96, 112, 128, 160, 192, 224, 256, 320, 384, -1], this._mpegAudioL3BitRateTable = [0, 32, 40, 48, 56, 64, 80, 96, 112, 128, 160, 192, 224, 256, 320, -1], this._videoTrack = { type: "video", id: 1, sequenceNumber: 0, samples: [], length: 0 }, this._audioTrack = { type: "audio", id: 2, sequenceNumber: 0, samples: [], length: 0 }, this._littleEndian = function() {
897
+ this.TAG = "FLVDemuxer", this._config = i, this._onError = null, this._onMediaInfo = null, this._onMetaDataArrived = null, this._onScriptDataArrived = null, this._onTrackMetadata = null, this._onDataAvailable = null, this._dataOffset = t.dataOffset, this._firstParse = !0, this._dispatch = !1, this._hasAudio = t.hasAudioTrack, this._hasVideo = t.hasVideoTrack, this._hasAudioFlagOverrided = !1, this._hasVideoFlagOverrided = !1, this._audioInitialMetadataDispatched = !1, this._videoInitialMetadataDispatched = !1, this._mediaInfo = new y.a(), this._mediaInfo.hasAudio = this._hasAudio, this._mediaInfo.hasVideo = this._hasVideo, this._metadata = null, this._audioMetadata = null, this._videoMetadata = null, this._naluLengthSize = 4, this._timestampBase = 0, this._timescale = 1e3, this._duration = 0, this._durationOverrided = !1, this._referenceFrameRate = { fixed: !0, fps: 23.976, fps_num: 23976, fps_den: 1e3 }, this._flvSoundRateTable = [5500, 11025, 22050, 44100, 48e3], this._mpegSamplingRates = [96e3, 88200, 64e3, 48e3, 44100, 32e3, 24e3, 22050, 16e3, 12e3, 11025, 8e3, 7350], this._mpegAudioV10SampleRateTable = [44100, 48e3, 32e3, 0], this._mpegAudioV20SampleRateTable = [22050, 24e3, 16e3, 0], this._mpegAudioV25SampleRateTable = [11025, 12e3, 8e3, 0], this._mpegAudioL1BitRateTable = [0, 32, 64, 96, 128, 160, 192, 224, 256, 288, 320, 352, 384, 416, 448, -1], this._mpegAudioL2BitRateTable = [0, 32, 48, 56, 64, 80, 96, 112, 128, 160, 192, 224, 256, 320, 384, -1], this._mpegAudioL3BitRateTable = [0, 32, 40, 48, 56, 64, 80, 96, 112, 128, 160, 192, 224, 256, 320, -1], this._videoTrack = { type: "video", id: 1, sequenceNumber: 0, samples: [], length: 0 }, this._audioTrack = { type: "audio", id: 2, sequenceNumber: 0, samples: [], length: 0 }, this._littleEndian = function() {
898
898
  var e = new ArrayBuffer(2);
899
899
  return new DataView(e).setInt16(0, 256, !0), new Int16Array(e)[0] === 256;
900
900
  }();
@@ -906,8 +906,8 @@ var Tt = { exports: {} };
906
906
  if (i.byteLength < 9) return { needMoreData: !0 };
907
907
  var e = { match: !1 };
908
908
  if (i[0] !== 70 || i[1] !== 76 || i[2] !== 86 || i[3] !== 1) return e;
909
- var a, s, n = (4 & i[4]) >>> 2 != 0, o = (1 & i[4]) != 0, p = (a = i)[s = 5] << 24 | a[s + 1] << 16 | a[s + 2] << 8 | a[s + 3];
910
- return p < 9 ? e : { match: !0, consumed: p, dataOffset: p, hasAudioTrack: n, hasVideoTrack: o };
909
+ var n, s, a = (4 & i[4]) >>> 2 != 0, o = (1 & i[4]) != 0, p = (n = i)[s = 5] << 24 | n[s + 1] << 16 | n[s + 2] << 8 | n[s + 3];
910
+ return p < 9 ? e : { match: !0, consumed: p, dataOffset: p, hasAudioTrack: a, hasVideoTrack: o };
911
911
  }, r.prototype.bindDataSource = function(t) {
912
912
  return t.onDataArrival = this.parseChunks.bind(this), this;
913
913
  }, Object.defineProperty(r.prototype, "onTrackMetadata", { get: function() {
@@ -947,27 +947,27 @@ var Tt = { exports: {} };
947
947
  }, enumerable: !1, configurable: !0 }), Object.defineProperty(r.prototype, "overridedHasVideo", { set: function(t) {
948
948
  this._hasVideoFlagOverrided = !0, this._hasVideo = t, this._mediaInfo.hasVideo = t;
949
949
  }, enumerable: !1, configurable: !0 }), r.prototype.resetMediaInfo = function() {
950
- this._mediaInfo = new v.a();
950
+ this._mediaInfo = new y.a();
951
951
  }, r.prototype._isInitialMetadataDispatched = function() {
952
952
  return this._hasAudio && this._hasVideo ? this._audioInitialMetadataDispatched && this._videoInitialMetadataDispatched : this._hasAudio && !this._hasVideo ? this._audioInitialMetadataDispatched : !(this._hasAudio || !this._hasVideo) && this._videoInitialMetadataDispatched;
953
953
  }, r.prototype.parseChunks = function(t, i) {
954
954
  if (!(this._onError && this._onMediaInfo && this._onTrackMetadata && this._onDataAvailable)) throw new C.a("Flv: onError & onMediaInfo & onTrackMetadata & onDataAvailable callback must be specified");
955
- var e = 0, a = this._littleEndian;
955
+ var e = 0, n = this._littleEndian;
956
956
  if (i === 0) {
957
957
  if (!(t.byteLength > 13)) return 0;
958
958
  e = r.probe(t).dataOffset;
959
959
  }
960
- for (this._firstParse && (this._firstParse = !1, i + e !== this._dataOffset && m.a.w(this.TAG, "First time parsing but chunk byteStart invalid!"), (s = new DataView(t, e)).getUint32(0, !a) !== 0 && m.a.w(this.TAG, "PrevTagSize0 !== 0 !!!"), e += 4); e < t.byteLength; ) {
960
+ for (this._firstParse && (this._firstParse = !1, i + e !== this._dataOffset && m.a.w(this.TAG, "First time parsing but chunk byteStart invalid!"), (s = new DataView(t, e)).getUint32(0, !n) !== 0 && m.a.w(this.TAG, "PrevTagSize0 !== 0 !!!"), e += 4); e < t.byteLength; ) {
961
961
  this._dispatch = !0;
962
962
  var s = new DataView(t, e);
963
963
  if (e + 11 + 4 > t.byteLength) break;
964
- var n = s.getUint8(0), o = 16777215 & s.getUint32(0, !a);
964
+ var a = s.getUint8(0), o = 16777215 & s.getUint32(0, !n);
965
965
  if (e + 11 + o + 4 > t.byteLength) break;
966
- if (n === 8 || n === 9 || n === 18) {
966
+ if (a === 8 || a === 9 || a === 18) {
967
967
  var p = s.getUint8(4), g = s.getUint8(5), E = s.getUint8(6) | g << 8 | p << 16 | s.getUint8(7) << 24;
968
- 16777215 & s.getUint32(7, !a) && m.a.w(this.TAG, "Meet tag which has StreamID != 0!");
968
+ 16777215 & s.getUint32(7, !n) && m.a.w(this.TAG, "Meet tag which has StreamID != 0!");
969
969
  var A = e + 11;
970
- switch (n) {
970
+ switch (a) {
971
971
  case 8:
972
972
  this._parseAudioData(t, A, o, E);
973
973
  break;
@@ -977,21 +977,21 @@ var Tt = { exports: {} };
977
977
  case 18:
978
978
  this._parseScriptData(t, A, o);
979
979
  }
980
- var S = s.getUint32(11 + o, !a);
980
+ var S = s.getUint32(11 + o, !n);
981
981
  S !== 11 + o && m.a.w(this.TAG, "Invalid PrevTagSize " + S), e += 11 + o + 4;
982
- } else m.a.w(this.TAG, "Unsupported tag type " + n + ", skipped"), e += 11 + o + 4;
982
+ } else m.a.w(this.TAG, "Unsupported tag type " + a + ", skipped"), e += 11 + o + 4;
983
983
  }
984
984
  return this._isInitialMetadataDispatched() && this._dispatch && (this._audioTrack.length || this._videoTrack.length) && this._onDataAvailable(this._audioTrack, this._videoTrack), e;
985
985
  }, r.prototype._parseScriptData = function(t, i, e) {
986
- var a = H.parseScriptData(t, i, e);
987
- if (a.hasOwnProperty("onMetaData")) {
988
- if (a.onMetaData == null || typeof a.onMetaData != "object") return void m.a.w(this.TAG, "Invalid onMetaData structure!");
989
- this._metadata && m.a.w(this.TAG, "Found another onMetaData tag!"), this._metadata = a;
986
+ var n = H.parseScriptData(t, i, e);
987
+ if (n.hasOwnProperty("onMetaData")) {
988
+ if (n.onMetaData == null || typeof n.onMetaData != "object") return void m.a.w(this.TAG, "Invalid onMetaData structure!");
989
+ this._metadata && m.a.w(this.TAG, "Found another onMetaData tag!"), this._metadata = n;
990
990
  var s = this._metadata.onMetaData;
991
991
  if (this._onMetaDataArrived && this._onMetaDataArrived(Object.assign({}, s)), typeof s.hasAudio == "boolean" && this._hasAudioFlagOverrided === !1 && (this._hasAudio = s.hasAudio, this._mediaInfo.hasAudio = this._hasAudio), typeof s.hasVideo == "boolean" && this._hasVideoFlagOverrided === !1 && (this._hasVideo = s.hasVideo, this._mediaInfo.hasVideo = this._hasVideo), typeof s.audiodatarate == "number" && (this._mediaInfo.audioDataRate = s.audiodatarate), typeof s.videodatarate == "number" && (this._mediaInfo.videoDataRate = s.videodatarate), typeof s.width == "number" && (this._mediaInfo.width = s.width), typeof s.height == "number" && (this._mediaInfo.height = s.height), typeof s.duration == "number") {
992
992
  if (!this._durationOverrided) {
993
- var n = Math.floor(s.duration * this._timescale);
994
- this._duration = n, this._mediaInfo.duration = n;
993
+ var a = Math.floor(s.duration * this._timescale);
994
+ this._duration = a, this._mediaInfo.duration = a;
995
995
  }
996
996
  } else this._mediaInfo.duration = 0;
997
997
  if (typeof s.framerate == "number") {
@@ -1008,24 +1008,24 @@ var Tt = { exports: {} };
1008
1008
  } else this._mediaInfo.hasKeyframesIndex = !1;
1009
1009
  this._dispatch = !1, this._mediaInfo.metadata = s, m.a.v(this.TAG, "Parsed onMetaData"), this._mediaInfo.isComplete() && this._onMediaInfo(this._mediaInfo);
1010
1010
  }
1011
- Object.keys(a).length > 0 && this._onScriptDataArrived && this._onScriptDataArrived(Object.assign({}, a));
1011
+ Object.keys(n).length > 0 && this._onScriptDataArrived && this._onScriptDataArrived(Object.assign({}, n));
1012
1012
  }, r.prototype._parseKeyframesIndex = function(t) {
1013
- for (var i = [], e = [], a = 1; a < t.times.length; a++) {
1014
- var s = this._timestampBase + Math.floor(1e3 * t.times[a]);
1015
- i.push(s), e.push(t.filepositions[a]);
1013
+ for (var i = [], e = [], n = 1; n < t.times.length; n++) {
1014
+ var s = this._timestampBase + Math.floor(1e3 * t.times[n]);
1015
+ i.push(s), e.push(t.filepositions[n]);
1016
1016
  }
1017
1017
  return { times: i, filepositions: e };
1018
- }, r.prototype._parseAudioData = function(t, i, e, a) {
1018
+ }, r.prototype._parseAudioData = function(t, i, e, n) {
1019
1019
  if (e <= 1) m.a.w(this.TAG, "Flv: Invalid audio packet, missing SoundData payload!");
1020
1020
  else if (this._hasAudioFlagOverrided !== !0 || this._hasAudio !== !1) {
1021
1021
  this._littleEndian;
1022
- var s = new DataView(t, i, e).getUint8(0), n = s >>> 4;
1023
- if (n === 2 || n === 10) {
1022
+ var s = new DataView(t, i, e).getUint8(0), a = s >>> 4;
1023
+ if (a === 2 || a === 10) {
1024
1024
  var o = 0, p = (12 & s) >>> 2;
1025
1025
  if (p >= 0 && p <= 4) {
1026
1026
  o = this._flvSoundRateTable[p];
1027
1027
  var g = 1 & s, E = this._audioMetadata, A = this._audioTrack;
1028
- if (E || (this._hasAudio === !1 && this._hasAudioFlagOverrided === !1 && (this._hasAudio = !0, this._mediaInfo.hasAudio = !0), (E = this._audioMetadata = {}).type = "audio", E.id = A.id, E.timescale = this._timescale, E.duration = this._duration, E.audioSampleRate = o, E.channelCount = g === 0 ? 1 : 2), n === 10) {
1028
+ if (E || (this._hasAudio === !1 && this._hasAudioFlagOverrided === !1 && (this._hasAudio = !0, this._mediaInfo.hasAudio = !0), (E = this._audioMetadata = {}).type = "audio", E.id = A.id, E.timescale = this._timescale, E.duration = this._duration, E.audioSampleRate = o, E.channelCount = g === 0 ? 1 : 2), a === 10) {
1029
1029
  var S = this._parseAACAudioData(t, i + 1, e - 1);
1030
1030
  if (S == null) return;
1031
1031
  if (S.packetType === 0) {
@@ -1036,10 +1036,10 @@ var Tt = { exports: {} };
1036
1036
  var w = S.data;
1037
1037
  E.audioSampleRate = w.samplingRate, E.channelCount = w.channelCount, E.codec = w.codec, E.originalCodec = w.originalCodec, E.config = w.config, E.refSampleDuration = 1024 / E.audioSampleRate * E.timescale, m.a.v(this.TAG, "Parsed AudioSpecificConfig"), this._isInitialMetadataDispatched() ? this._dispatch && (this._audioTrack.length || this._videoTrack.length) && this._onDataAvailable(this._audioTrack, this._videoTrack) : this._audioInitialMetadataDispatched = !0, this._dispatch = !1, this._onTrackMetadata("audio", E), (N = this._mediaInfo).audioCodec = E.originalCodec, N.audioSampleRate = E.audioSampleRate, N.audioChannelCount = E.channelCount, N.hasVideo ? N.videoCodec != null && (N.mimeType = 'video/x-flv; codecs="' + N.videoCodec + "," + N.audioCodec + '"') : N.mimeType = 'video/x-flv; codecs="' + N.audioCodec + '"', N.isComplete() && this._onMediaInfo(N);
1038
1038
  } else if (S.packetType === 1) {
1039
- var I = this._timestampBase + a, z = { unit: S.data, length: S.data.byteLength, dts: I, pts: I };
1039
+ var I = this._timestampBase + n, z = { unit: S.data, length: S.data.byteLength, dts: I, pts: I };
1040
1040
  A.samples.push(z), A.length += S.data.length;
1041
1041
  } else m.a.e(this.TAG, "Flv: Unsupported AAC data type " + S.packetType);
1042
- } else if (n === 2) {
1042
+ } else if (a === 2) {
1043
1043
  if (!E.codec) {
1044
1044
  var N;
1045
1045
  if ((w = this._parseMP3AudioData(t, i + 1, e - 1, !0)) == null) return;
@@ -1047,36 +1047,36 @@ var Tt = { exports: {} };
1047
1047
  }
1048
1048
  var J = this._parseMP3AudioData(t, i + 1, e - 1, !1);
1049
1049
  if (J == null) return;
1050
- I = this._timestampBase + a;
1050
+ I = this._timestampBase + n;
1051
1051
  var W = { unit: J, length: J.byteLength, dts: I, pts: I };
1052
1052
  A.samples.push(W), A.length += J.length;
1053
1053
  }
1054
1054
  } else this._onError(Y.a.FORMAT_ERROR, "Flv: Invalid audio sample rate idx: " + p);
1055
- } else this._onError(Y.a.CODEC_UNSUPPORTED, "Flv: Unsupported audio codec idx: " + n);
1055
+ } else this._onError(Y.a.CODEC_UNSUPPORTED, "Flv: Unsupported audio codec idx: " + a);
1056
1056
  }
1057
1057
  }, r.prototype._parseAACAudioData = function(t, i, e) {
1058
1058
  if (!(e <= 1)) {
1059
- var a = {}, s = new Uint8Array(t, i, e);
1060
- return a.packetType = s[0], s[0] === 0 ? a.data = this._parseAACAudioSpecificConfig(t, i + 1, e - 1) : a.data = s.subarray(1), a;
1059
+ var n = {}, s = new Uint8Array(t, i, e);
1060
+ return n.packetType = s[0], s[0] === 0 ? n.data = this._parseAACAudioSpecificConfig(t, i + 1, e - 1) : n.data = s.subarray(1), n;
1061
1061
  }
1062
1062
  m.a.w(this.TAG, "Flv: Invalid AAC packet, missing AACPacketType or/and Data!");
1063
1063
  }, r.prototype._parseAACAudioSpecificConfig = function(t, i, e) {
1064
- var a, s, n = new Uint8Array(t, i, e), o = null, p = 0, g = null;
1065
- if (p = a = n[0] >>> 3, (s = (7 & n[0]) << 1 | n[1] >>> 7) < 0 || s >= this._mpegSamplingRates.length) this._onError(Y.a.FORMAT_ERROR, "Flv: AAC invalid sampling frequency index!");
1064
+ var n, s, a = new Uint8Array(t, i, e), o = null, p = 0, g = null;
1065
+ if (p = n = a[0] >>> 3, (s = (7 & a[0]) << 1 | a[1] >>> 7) < 0 || s >= this._mpegSamplingRates.length) this._onError(Y.a.FORMAT_ERROR, "Flv: AAC invalid sampling frequency index!");
1066
1066
  else {
1067
- var E = this._mpegSamplingRates[s], A = (120 & n[1]) >>> 3;
1067
+ var E = this._mpegSamplingRates[s], A = (120 & a[1]) >>> 3;
1068
1068
  if (!(A < 0 || A >= 8)) {
1069
- p === 5 && (g = (7 & n[1]) << 1 | n[2] >>> 7, (124 & n[2]) >>> 2);
1069
+ p === 5 && (g = (7 & a[1]) << 1 | a[2] >>> 7, (124 & a[2]) >>> 2);
1070
1070
  var S = self.navigator.userAgent.toLowerCase();
1071
- return S.indexOf("firefox") !== -1 ? s >= 6 ? (p = 5, o = new Array(4), g = s - 3) : (p = 2, o = new Array(2), g = s) : S.indexOf("android") !== -1 ? (p = 2, o = new Array(2), g = s) : (p = 5, g = s, o = new Array(4), s >= 6 ? g = s - 3 : A === 1 && (p = 2, o = new Array(2), g = s)), o[0] = p << 3, o[0] |= (15 & s) >>> 1, o[1] = (15 & s) << 7, o[1] |= (15 & A) << 3, p === 5 && (o[1] |= (15 & g) >>> 1, o[2] = (1 & g) << 7, o[2] |= 8, o[3] = 0), { config: o, samplingRate: E, channelCount: A, codec: "mp4a.40." + p, originalCodec: "mp4a.40." + a };
1071
+ return S.indexOf("firefox") !== -1 ? s >= 6 ? (p = 5, o = new Array(4), g = s - 3) : (p = 2, o = new Array(2), g = s) : S.indexOf("android") !== -1 ? (p = 2, o = new Array(2), g = s) : (p = 5, g = s, o = new Array(4), s >= 6 ? g = s - 3 : A === 1 && (p = 2, o = new Array(2), g = s)), o[0] = p << 3, o[0] |= (15 & s) >>> 1, o[1] = (15 & s) << 7, o[1] |= (15 & A) << 3, p === 5 && (o[1] |= (15 & g) >>> 1, o[2] = (1 & g) << 7, o[2] |= 8, o[3] = 0), { config: o, samplingRate: E, channelCount: A, codec: "mp4a.40." + p, originalCodec: "mp4a.40." + n };
1072
1072
  }
1073
1073
  this._onError(Y.a.FORMAT_ERROR, "Flv: AAC invalid channel configuration");
1074
1074
  }
1075
- }, r.prototype._parseMP3AudioData = function(t, i, e, a) {
1075
+ }, r.prototype._parseMP3AudioData = function(t, i, e, n) {
1076
1076
  if (!(e < 4)) {
1077
1077
  this._littleEndian;
1078
- var s = new Uint8Array(t, i, e), n = null;
1079
- if (a) {
1078
+ var s = new Uint8Array(t, i, e), a = null;
1079
+ if (n) {
1080
1080
  if (s[0] !== 255) return;
1081
1081
  var o = s[1] >>> 3 & 3, p = (6 & s[1]) >> 1, g = (240 & s[2]) >>> 4, E = (12 & s[2]) >>> 2, A = (s[3] >>> 6 & 3) !== 3 ? 2 : 1, S = 0, w = 0;
1082
1082
  switch (o) {
@@ -1099,96 +1099,96 @@ var Tt = { exports: {} };
1099
1099
  case 3:
1100
1100
  g < this._mpegAudioL1BitRateTable.length && (w = this._mpegAudioL1BitRateTable[g]);
1101
1101
  }
1102
- n = { bitRate: w, samplingRate: S, channelCount: A, codec: "mp3", originalCodec: "mp3" };
1103
- } else n = s;
1104
- return n;
1102
+ a = { bitRate: w, samplingRate: S, channelCount: A, codec: "mp3", originalCodec: "mp3" };
1103
+ } else a = s;
1104
+ return a;
1105
1105
  }
1106
1106
  m.a.w(this.TAG, "Flv: Invalid MP3 packet, header missing!");
1107
- }, r.prototype._parseVideoData = function(t, i, e, a, s) {
1107
+ }, r.prototype._parseVideoData = function(t, i, e, n, s) {
1108
1108
  if (e <= 1) m.a.w(this.TAG, "Flv: Invalid video packet, missing VideoData payload!");
1109
1109
  else if (this._hasVideoFlagOverrided !== !0 || this._hasVideo !== !1) {
1110
- var n = new Uint8Array(t, i, e)[0], o = (112 & n) >>> 4;
1111
- if (128 & n) {
1112
- var p = 15 & n, g = String.fromCharCode.apply(String, new Uint8Array(t, i, e).slice(1, 5));
1110
+ var a = new Uint8Array(t, i, e)[0], o = (112 & a) >>> 4;
1111
+ if (128 & a) {
1112
+ var p = 15 & a, g = String.fromCharCode.apply(String, new Uint8Array(t, i, e).slice(1, 5));
1113
1113
  if (g !== "hvc1") return void this._onError(Y.a.CODEC_UNSUPPORTED, "Flv: Unsupported codec in video frame: " + g);
1114
- this._parseEnhancedHEVCVideoPacket(t, i + 5, e - 5, a, s, o, p);
1114
+ this._parseEnhancedHEVCVideoPacket(t, i + 5, e - 5, n, s, o, p);
1115
1115
  } else {
1116
- var E = 15 & n;
1117
- if (E === 7) this._parseAVCVideoPacket(t, i + 1, e - 1, a, s, o);
1116
+ var E = 15 & a;
1117
+ if (E === 7) this._parseAVCVideoPacket(t, i + 1, e - 1, n, s, o);
1118
1118
  else {
1119
1119
  if (E !== 12) return void this._onError(Y.a.CODEC_UNSUPPORTED, "Flv: Unsupported codec in video frame: " + E);
1120
- this._parseHEVCVideoPacket(t, i + 1, e - 1, a, s, o);
1120
+ this._parseHEVCVideoPacket(t, i + 1, e - 1, n, s, o);
1121
1121
  }
1122
1122
  }
1123
1123
  }
1124
- }, r.prototype._parseAVCVideoPacket = function(t, i, e, a, s, n) {
1124
+ }, r.prototype._parseAVCVideoPacket = function(t, i, e, n, s, a) {
1125
1125
  if (e < 4) m.a.w(this.TAG, "Flv: Invalid AVC packet, missing AVCPacketType or/and CompositionTime");
1126
1126
  else {
1127
1127
  var o = this._littleEndian, p = new DataView(t, i, e), g = p.getUint8(0), E = (16777215 & p.getUint32(0, !o)) << 8 >> 8;
1128
1128
  if (g === 0) this._parseAVCDecoderConfigurationRecord(t, i + 4, e - 4);
1129
- else if (g === 1) this._parseAVCVideoData(t, i + 4, e - 4, a, s, n, E);
1129
+ else if (g === 1) this._parseAVCVideoData(t, i + 4, e - 4, n, s, a, E);
1130
1130
  else if (g !== 2) return void this._onError(Y.a.FORMAT_ERROR, "Flv: Invalid video packet type " + g);
1131
1131
  }
1132
- }, r.prototype._parseHEVCVideoPacket = function(t, i, e, a, s, n) {
1132
+ }, r.prototype._parseHEVCVideoPacket = function(t, i, e, n, s, a) {
1133
1133
  if (e < 4) m.a.w(this.TAG, "Flv: Invalid HEVC packet, missing HEVCPacketType or/and CompositionTime");
1134
1134
  else {
1135
1135
  var o = this._littleEndian, p = new DataView(t, i, e), g = p.getUint8(0), E = (16777215 & p.getUint32(0, !o)) << 8 >> 8;
1136
1136
  if (g === 0) this._parseHEVCDecoderConfigurationRecord(t, i + 4, e - 4);
1137
- else if (g === 1) this._parseHEVCVideoData(t, i + 4, e - 4, a, s, n, E);
1137
+ else if (g === 1) this._parseHEVCVideoData(t, i + 4, e - 4, n, s, a, E);
1138
1138
  else if (g !== 2) return void this._onError(Y.a.FORMAT_ERROR, "Flv: Invalid video packet type " + g);
1139
1139
  }
1140
- }, r.prototype._parseEnhancedHEVCVideoPacket = function(t, i, e, a, s, n, o) {
1140
+ }, r.prototype._parseEnhancedHEVCVideoPacket = function(t, i, e, n, s, a, o) {
1141
1141
  if (e < 4) m.a.w(this.TAG, "Flv: Invalid HEVC packet, missing HEVCPacketType or/and CompositionTime");
1142
1142
  else {
1143
1143
  var p = this._littleEndian, g = new DataView(t, i, e);
1144
1144
  if (o === 0) this._parseHEVCDecoderConfigurationRecord(t, i, e);
1145
1145
  else if (o === 1) {
1146
1146
  var E = (4294967040 & g.getUint32(0, !p)) >> 8;
1147
- this._parseHEVCVideoData(t, i + 3, e - 3, a, s, n, E);
1148
- } else if (o === 3) this._parseHEVCVideoData(t, i, e, a, s, n, 0);
1147
+ this._parseHEVCVideoData(t, i + 3, e - 3, n, s, a, E);
1148
+ } else if (o === 3) this._parseHEVCVideoData(t, i, e, n, s, a, 0);
1149
1149
  else if (o !== 2) return void this._onError(Y.a.FORMAT_ERROR, "Flv: Invalid video packet type " + o);
1150
1150
  }
1151
1151
  }, r.prototype._parseAVCDecoderConfigurationRecord = function(t, i, e) {
1152
1152
  if (e < 7) m.a.w(this.TAG, "Flv: Invalid AVCDecoderConfigurationRecord, lack of data!");
1153
1153
  else {
1154
- var a = this._videoMetadata, s = this._videoTrack, n = this._littleEndian, o = new DataView(t, i, e);
1155
- if (a) {
1156
- if (a.avcc !== void 0) {
1154
+ var n = this._videoMetadata, s = this._videoTrack, a = this._littleEndian, o = new DataView(t, i, e);
1155
+ if (n) {
1156
+ if (n.avcc !== void 0) {
1157
1157
  var p = new Uint8Array(t, i, e);
1158
- if (l(p, a.avcc)) return;
1158
+ if (l(p, n.avcc)) return;
1159
1159
  m.a.w(this.TAG, "AVCDecoderConfigurationRecord has been changed, re-generate initialization segment");
1160
1160
  }
1161
- } else this._hasVideo === !1 && this._hasVideoFlagOverrided === !1 && (this._hasVideo = !0, this._mediaInfo.hasVideo = !0), (a = this._videoMetadata = {}).type = "video", a.id = s.id, a.timescale = this._timescale, a.duration = this._duration;
1161
+ } else this._hasVideo === !1 && this._hasVideoFlagOverrided === !1 && (this._hasVideo = !0, this._mediaInfo.hasVideo = !0), (n = this._videoMetadata = {}).type = "video", n.id = s.id, n.timescale = this._timescale, n.duration = this._duration;
1162
1162
  var g = o.getUint8(0), E = o.getUint8(1);
1163
1163
  if (o.getUint8(2), o.getUint8(3), g === 1 && E !== 0) if (this._naluLengthSize = 1 + (3 & o.getUint8(4)), this._naluLengthSize === 3 || this._naluLengthSize === 4) {
1164
1164
  var A = 31 & o.getUint8(5);
1165
1165
  if (A !== 0) {
1166
1166
  A > 1 && m.a.w(this.TAG, "Flv: Strange AVCDecoderConfigurationRecord: SPS Count = " + A);
1167
1167
  for (var S = 6, w = 0; w < A; w++) {
1168
- var I = o.getUint16(S, !n);
1168
+ var I = o.getUint16(S, !a);
1169
1169
  if (S += 2, I !== 0) {
1170
1170
  var z = new Uint8Array(t, i + S, I);
1171
1171
  S += I;
1172
1172
  var N = se.parseSPS(z);
1173
1173
  if (w === 0) {
1174
- a.codecWidth = N.codec_size.width, a.codecHeight = N.codec_size.height, a.presentWidth = N.present_size.width, a.presentHeight = N.present_size.height, a.profile = N.profile_string, a.level = N.level_string, a.bitDepth = N.bit_depth, a.chromaFormat = N.chroma_format, a.sarRatio = N.sar_ratio, a.frameRate = N.frame_rate, N.frame_rate.fixed !== !1 && N.frame_rate.fps_num !== 0 && N.frame_rate.fps_den !== 0 || (a.frameRate = this._referenceFrameRate);
1175
- var J = a.frameRate.fps_den, W = a.frameRate.fps_num;
1176
- a.refSampleDuration = a.timescale * (J / W);
1174
+ n.codecWidth = N.codec_size.width, n.codecHeight = N.codec_size.height, n.presentWidth = N.present_size.width, n.presentHeight = N.present_size.height, n.profile = N.profile_string, n.level = N.level_string, n.bitDepth = N.bit_depth, n.chromaFormat = N.chroma_format, n.sarRatio = N.sar_ratio, n.frameRate = N.frame_rate, N.frame_rate.fixed !== !1 && N.frame_rate.fps_num !== 0 && N.frame_rate.fps_den !== 0 || (n.frameRate = this._referenceFrameRate);
1175
+ var J = n.frameRate.fps_den, W = n.frameRate.fps_num;
1176
+ n.refSampleDuration = n.timescale * (J / W);
1177
1177
  for (var q = z.subarray(1, 4), de = "avc1.", he = 0; he < 3; he++) {
1178
1178
  var K = q[he].toString(16);
1179
1179
  K.length < 2 && (K = "0" + K), de += K;
1180
1180
  }
1181
- a.codec = de;
1181
+ n.codec = de;
1182
1182
  var Q = this._mediaInfo;
1183
- Q.width = a.codecWidth, Q.height = a.codecHeight, Q.fps = a.frameRate.fps, Q.profile = a.profile, Q.level = a.level, Q.refFrames = N.ref_frames, Q.chromaFormat = N.chroma_format_string, Q.sarNum = a.sarRatio.width, Q.sarDen = a.sarRatio.height, Q.videoCodec = de, Q.hasAudio ? Q.audioCodec != null && (Q.mimeType = 'video/x-flv; codecs="' + Q.videoCodec + "," + Q.audioCodec + '"') : Q.mimeType = 'video/x-flv; codecs="' + Q.videoCodec + '"', Q.isComplete() && this._onMediaInfo(Q);
1183
+ Q.width = n.codecWidth, Q.height = n.codecHeight, Q.fps = n.frameRate.fps, Q.profile = n.profile, Q.level = n.level, Q.refFrames = N.ref_frames, Q.chromaFormat = N.chroma_format_string, Q.sarNum = n.sarRatio.width, Q.sarDen = n.sarRatio.height, Q.videoCodec = de, Q.hasAudio ? Q.audioCodec != null && (Q.mimeType = 'video/x-flv; codecs="' + Q.videoCodec + "," + Q.audioCodec + '"') : Q.mimeType = 'video/x-flv; codecs="' + Q.videoCodec + '"', Q.isComplete() && this._onMediaInfo(Q);
1184
1184
  }
1185
1185
  }
1186
1186
  }
1187
1187
  var _e = o.getUint8(S);
1188
1188
  if (_e !== 0) {
1189
1189
  for (_e > 1 && m.a.w(this.TAG, "Flv: Strange AVCDecoderConfigurationRecord: PPS Count = " + _e), S++, w = 0; w < _e; w++)
1190
- I = o.getUint16(S, !n), S += 2, I !== 0 && (S += I);
1191
- a.avcc = new Uint8Array(e), a.avcc.set(new Uint8Array(t, i, e), 0), m.a.v(this.TAG, "Parsed AVCDecoderConfigurationRecord"), this._isInitialMetadataDispatched() ? this._dispatch && (this._audioTrack.length || this._videoTrack.length) && this._onDataAvailable(this._audioTrack, this._videoTrack) : this._videoInitialMetadataDispatched = !0, this._dispatch = !1, this._onTrackMetadata("video", a);
1190
+ I = o.getUint16(S, !a), S += 2, I !== 0 && (S += I);
1191
+ n.avcc = new Uint8Array(e), n.avcc.set(new Uint8Array(t, i, e), 0), m.a.v(this.TAG, "Parsed AVCDecoderConfigurationRecord"), this._isInitialMetadataDispatched() ? this._dispatch && (this._audioTrack.length || this._videoTrack.length) && this._onDataAvailable(this._audioTrack, this._videoTrack) : this._videoInitialMetadataDispatched = !0, this._dispatch = !1, this._onTrackMetadata("video", n);
1192
1192
  } else this._onError(Y.a.FORMAT_ERROR, "Flv: Invalid AVCDecoderConfigurationRecord: No PPS");
1193
1193
  } else this._onError(Y.a.FORMAT_ERROR, "Flv: Invalid AVCDecoderConfigurationRecord: No SPS");
1194
1194
  } else this._onError(Y.a.FORMAT_ERROR, "Flv: Strange NaluLengthSizeMinusOne: " + (this._naluLengthSize - 1));
@@ -1197,39 +1197,39 @@ var Tt = { exports: {} };
1197
1197
  }, r.prototype._parseHEVCDecoderConfigurationRecord = function(t, i, e) {
1198
1198
  if (e < 22) m.a.w(this.TAG, "Flv: Invalid HEVCDecoderConfigurationRecord, lack of data!");
1199
1199
  else {
1200
- var a = this._videoMetadata, s = this._videoTrack, n = this._littleEndian, o = new DataView(t, i, e);
1201
- if (a) {
1202
- if (a.hvcc !== void 0) {
1200
+ var n = this._videoMetadata, s = this._videoTrack, a = this._littleEndian, o = new DataView(t, i, e);
1201
+ if (n) {
1202
+ if (n.hvcc !== void 0) {
1203
1203
  var p = new Uint8Array(t, i, e);
1204
- if (l(p, a.hvcc)) return;
1204
+ if (l(p, n.hvcc)) return;
1205
1205
  m.a.w(this.TAG, "HEVCDecoderConfigurationRecord has been changed, re-generate initialization segment");
1206
1206
  }
1207
- } else this._hasVideo === !1 && this._hasVideoFlagOverrided === !1 && (this._hasVideo = !0, this._mediaInfo.hasVideo = !0), (a = this._videoMetadata = {}).type = "video", a.id = s.id, a.timescale = this._timescale, a.duration = this._duration;
1207
+ } else this._hasVideo === !1 && this._hasVideoFlagOverrided === !1 && (this._hasVideo = !0, this._mediaInfo.hasVideo = !0), (n = this._videoMetadata = {}).type = "video", n.id = s.id, n.timescale = this._timescale, n.duration = this._duration;
1208
1208
  var g = o.getUint8(0), E = 31 & o.getUint8(1);
1209
1209
  if (g === 1 && E !== 0) if (this._naluLengthSize = 1 + (3 & o.getUint8(21)), this._naluLengthSize === 3 || this._naluLengthSize === 4) {
1210
1210
  for (var A = o.getUint8(22), S = 0, w = 23; S < A; S++) {
1211
- var I = 63 & o.getUint8(w + 0), z = o.getUint16(w + 1, !n);
1211
+ var I = 63 & o.getUint8(w + 0), z = o.getUint16(w + 1, !a);
1212
1212
  w += 3;
1213
1213
  for (var N = 0; N < z; N++) {
1214
- var J = o.getUint16(w + 0, !n);
1214
+ var J = o.getUint16(w + 0, !a);
1215
1215
  if (N === 0) if (I === 33) {
1216
1216
  w += 2;
1217
- var W = new Uint8Array(t, i + w, J), q = ae.parseSPS(W);
1218
- a.codecWidth = q.codec_size.width, a.codecHeight = q.codec_size.height, a.presentWidth = q.present_size.width, a.presentHeight = q.present_size.height, a.profile = q.profile_string, a.level = q.level_string, a.bitDepth = q.bit_depth, a.chromaFormat = q.chroma_format, a.sarRatio = q.sar_ratio, a.frameRate = q.frame_rate, q.frame_rate.fixed !== !1 && q.frame_rate.fps_num !== 0 && q.frame_rate.fps_den !== 0 || (a.frameRate = this._referenceFrameRate);
1219
- var de = a.frameRate.fps_den, he = a.frameRate.fps_num;
1220
- a.refSampleDuration = a.timescale * (de / he), a.codec = q.codec_mimetype;
1217
+ var W = new Uint8Array(t, i + w, J), q = ne.parseSPS(W);
1218
+ n.codecWidth = q.codec_size.width, n.codecHeight = q.codec_size.height, n.presentWidth = q.present_size.width, n.presentHeight = q.present_size.height, n.profile = q.profile_string, n.level = q.level_string, n.bitDepth = q.bit_depth, n.chromaFormat = q.chroma_format, n.sarRatio = q.sar_ratio, n.frameRate = q.frame_rate, q.frame_rate.fixed !== !1 && q.frame_rate.fps_num !== 0 && q.frame_rate.fps_den !== 0 || (n.frameRate = this._referenceFrameRate);
1219
+ var de = n.frameRate.fps_den, he = n.frameRate.fps_num;
1220
+ n.refSampleDuration = n.timescale * (de / he), n.codec = q.codec_mimetype;
1221
1221
  var K = this._mediaInfo;
1222
- K.width = a.codecWidth, K.height = a.codecHeight, K.fps = a.frameRate.fps, K.profile = a.profile, K.level = a.level, K.refFrames = q.ref_frames, K.chromaFormat = q.chroma_format_string, K.sarNum = a.sarRatio.width, K.sarDen = a.sarRatio.height, K.videoCodec = q.codec_mimetype, K.hasAudio ? K.audioCodec != null && (K.mimeType = 'video/x-flv; codecs="' + K.videoCodec + "," + K.audioCodec + '"') : K.mimeType = 'video/x-flv; codecs="' + K.videoCodec + '"', K.isComplete() && this._onMediaInfo(K), w += J;
1222
+ K.width = n.codecWidth, K.height = n.codecHeight, K.fps = n.frameRate.fps, K.profile = n.profile, K.level = n.level, K.refFrames = q.ref_frames, K.chromaFormat = q.chroma_format_string, K.sarNum = n.sarRatio.width, K.sarDen = n.sarRatio.height, K.videoCodec = q.codec_mimetype, K.hasAudio ? K.audioCodec != null && (K.mimeType = 'video/x-flv; codecs="' + K.videoCodec + "," + K.audioCodec + '"') : K.mimeType = 'video/x-flv; codecs="' + K.videoCodec + '"', K.isComplete() && this._onMediaInfo(K), w += J;
1223
1223
  } else w += 2 + J;
1224
1224
  else w += 2 + J;
1225
1225
  }
1226
1226
  }
1227
- a.hvcc = new Uint8Array(e), a.hvcc.set(new Uint8Array(t, i, e), 0), m.a.v(this.TAG, "Parsed HEVCDecoderConfigurationRecord"), this._isInitialMetadataDispatched() ? this._dispatch && (this._audioTrack.length || this._videoTrack.length) && this._onDataAvailable(this._audioTrack, this._videoTrack) : this._videoInitialMetadataDispatched = !0, this._dispatch = !1, this._onTrackMetadata("video", a);
1227
+ n.hvcc = new Uint8Array(e), n.hvcc.set(new Uint8Array(t, i, e), 0), m.a.v(this.TAG, "Parsed HEVCDecoderConfigurationRecord"), this._isInitialMetadataDispatched() ? this._dispatch && (this._audioTrack.length || this._videoTrack.length) && this._onDataAvailable(this._audioTrack, this._videoTrack) : this._videoInitialMetadataDispatched = !0, this._dispatch = !1, this._onTrackMetadata("video", n);
1228
1228
  } else this._onError(Y.a.FORMAT_ERROR, "Flv: Strange NaluLengthSizeMinusOne: " + (this._naluLengthSize - 1));
1229
1229
  else this._onError(Y.a.FORMAT_ERROR, "Flv: Invalid HEVCDecoderConfigurationRecord");
1230
1230
  }
1231
- }, r.prototype._parseAVCVideoData = function(t, i, e, a, s, n, o) {
1232
- for (var p = this._littleEndian, g = new DataView(t, i, e), E = [], A = 0, S = 0, w = this._naluLengthSize, I = this._timestampBase + a, z = n === 1; S < e; ) {
1231
+ }, r.prototype._parseAVCVideoData = function(t, i, e, n, s, a, o) {
1232
+ for (var p = this._littleEndian, g = new DataView(t, i, e), E = [], A = 0, S = 0, w = this._naluLengthSize, I = this._timestampBase + n, z = a === 1; S < e; ) {
1233
1233
  if (S + 4 >= e) {
1234
1234
  m.a.w(this.TAG, "Malformed Nalu near timestamp " + I + ", offset = " + S + ", dataSize = " + e);
1235
1235
  break;
@@ -1245,8 +1245,8 @@ var Tt = { exports: {} };
1245
1245
  var de = this._videoTrack, he = { units: E, length: A, isKeyframe: z, dts: I, cts: o, pts: I + o };
1246
1246
  z && (he.fileposition = s), de.samples.push(he), de.length += A;
1247
1247
  }
1248
- }, r.prototype._parseHEVCVideoData = function(t, i, e, a, s, n, o) {
1249
- for (var p = this._littleEndian, g = new DataView(t, i, e), E = [], A = 0, S = 0, w = this._naluLengthSize, I = this._timestampBase + a, z = n === 1; S < e; ) {
1248
+ }, r.prototype._parseHEVCVideoData = function(t, i, e, n, s, a, o) {
1249
+ for (var p = this._littleEndian, g = new DataView(t, i, e), E = [], A = 0, S = 0, w = this._naluLengthSize, I = this._timestampBase + n, z = a === 1; S < e; ) {
1250
1250
  if (S + 4 >= e) {
1251
1251
  m.a.w(this.TAG, "Malformed Nalu near timestamp " + I + ", offset = " + S + ", dataSize = " + e);
1252
1252
  break;
@@ -1279,7 +1279,7 @@ var Tt = { exports: {} };
1279
1279
  this.pid_stream_type = {}, this.common_pids = { h264: void 0, h265: void 0, adts_aac: void 0, loas_aac: void 0, opus: void 0, ac3: void 0, mp3: void 0 }, this.pes_private_data_pids = {}, this.timed_id3_pids = {}, this.scte_35_pids = {}, this.smpte2038_pids = {};
1280
1280
  }, ee = function() {
1281
1281
  }, pe = function() {
1282
- }, ve = function() {
1282
+ }, ye = function() {
1283
1283
  this.slices = [], this.total_length = 0, this.expected_length = 0, this.file_position = 0;
1284
1284
  };
1285
1285
  (function(r) {
@@ -1296,32 +1296,32 @@ var Tt = { exports: {} };
1296
1296
  return r.prototype.findNextStartCodeOffset = function(t) {
1297
1297
  for (var i = t, e = this.data_; ; ) {
1298
1298
  if (i + 3 >= e.byteLength) return this.eof_flag_ = !0, e.byteLength;
1299
- var a = e[i + 0] << 24 | e[i + 1] << 16 | e[i + 2] << 8 | e[i + 3], s = e[i + 0] << 16 | e[i + 1] << 8 | e[i + 2];
1300
- if (a === 1 || s === 1) return i;
1299
+ var n = e[i + 0] << 24 | e[i + 1] << 16 | e[i + 2] << 8 | e[i + 3], s = e[i + 0] << 16 | e[i + 1] << 8 | e[i + 2];
1300
+ if (n === 1 || s === 1) return i;
1301
1301
  i++;
1302
1302
  }
1303
1303
  }, r.prototype.readNextNaluPayload = function() {
1304
1304
  for (var t = this.data_, i = null; i == null && !this.eof_flag_; ) {
1305
- var e = this.current_startcode_offset_, a = 31 & t[e += (t[e] << 24 | t[e + 1] << 16 | t[e + 2] << 8 | t[e + 3]) === 1 ? 4 : 3], s = (128 & t[e]) >>> 7, n = this.findNextStartCodeOffset(e);
1306
- if (this.current_startcode_offset_ = n, !(a >= D.kReserved0) && s === 0) {
1307
- var o = t.subarray(e, n);
1308
- (i = new h()).type = a, i.data = o;
1305
+ var e = this.current_startcode_offset_, n = 31 & t[e += (t[e] << 24 | t[e + 1] << 16 | t[e + 2] << 8 | t[e + 3]) === 1 ? 4 : 3], s = (128 & t[e]) >>> 7, a = this.findNextStartCodeOffset(e);
1306
+ if (this.current_startcode_offset_ = a, !(n >= D.kReserved0) && s === 0) {
1307
+ var o = t.subarray(e, a);
1308
+ (i = new h()).type = n, i.data = o;
1309
1309
  }
1310
1310
  }
1311
1311
  return i;
1312
1312
  }, r;
1313
1313
  }(), oe = function() {
1314
1314
  function r(t, i, e) {
1315
- var a = 8 + t.byteLength + 1 + 2 + i.byteLength, s = !1;
1316
- t[3] !== 66 && t[3] !== 77 && t[3] !== 88 && (s = !0, a += 4);
1317
- var n = this.data = new Uint8Array(a);
1318
- n[0] = 1, n[1] = t[1], n[2] = t[2], n[3] = t[3], n[4] = 255, n[5] = 225;
1315
+ var n = 8 + t.byteLength + 1 + 2 + i.byteLength, s = !1;
1316
+ t[3] !== 66 && t[3] !== 77 && t[3] !== 88 && (s = !0, n += 4);
1317
+ var a = this.data = new Uint8Array(n);
1318
+ a[0] = 1, a[1] = t[1], a[2] = t[2], a[3] = t[3], a[4] = 255, a[5] = 225;
1319
1319
  var o = t.byteLength;
1320
- n[6] = o >>> 8, n[7] = 255 & o;
1320
+ a[6] = o >>> 8, a[7] = 255 & o;
1321
1321
  var p = 8;
1322
- n.set(t, 8), n[p += o] = 1;
1322
+ a.set(t, 8), a[p += o] = 1;
1323
1323
  var g = i.byteLength;
1324
- n[p + 1] = g >>> 8, n[p + 2] = 255 & g, n.set(i, p + 3), p += 3 + g, s && (n[p] = 252 | e.chroma_format_idc, n[p + 1] = 248 | e.bit_depth_luma - 8, n[p + 2] = 248 | e.bit_depth_chroma - 8, n[p + 3] = 0, p += 4);
1324
+ a[p + 1] = g >>> 8, a[p + 2] = 255 & g, a.set(i, p + 3), p += 3 + g, s && (a[p] = 252 | e.chroma_format_idc, a[p + 1] = 248 | e.bit_depth_luma - 8, a[p + 2] = 248 | e.bit_depth_chroma - 8, a[p + 3] = 0, p += 4);
1325
1325
  }
1326
1326
  return r.prototype.getData = function() {
1327
1327
  return this.data;
@@ -1336,7 +1336,7 @@ var Tt = { exports: {} };
1336
1336
  return (me = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(i, e) {
1337
1337
  i.__proto__ = e;
1338
1338
  } || function(i, e) {
1339
- for (var a in e) e.hasOwnProperty(a) && (i[a] = e[a]);
1339
+ for (var n in e) e.hasOwnProperty(n) && (i[n] = e[n]);
1340
1340
  })(r, t);
1341
1341
  }, function(r, t) {
1342
1342
  function i() {
@@ -1361,15 +1361,15 @@ var Tt = { exports: {} };
1361
1361
  }
1362
1362
  }, r.prototype.readNextAACFrame = function() {
1363
1363
  for (var t = this.data_, i = null; i == null && !this.eof_flag_; ) {
1364
- var e = this.current_syncword_offset_, a = (8 & t[e + 1]) >>> 3, s = (6 & t[e + 1]) >>> 1, n = 1 & t[e + 1], o = (192 & t[e + 2]) >>> 6, p = (60 & t[e + 2]) >>> 2, g = (1 & t[e + 2]) << 2 | (192 & t[e + 3]) >>> 6, E = (3 & t[e + 3]) << 11 | t[e + 4] << 3 | (224 & t[e + 5]) >>> 5;
1364
+ var e = this.current_syncword_offset_, n = (8 & t[e + 1]) >>> 3, s = (6 & t[e + 1]) >>> 1, a = 1 & t[e + 1], o = (192 & t[e + 2]) >>> 6, p = (60 & t[e + 2]) >>> 2, g = (1 & t[e + 2]) << 2 | (192 & t[e + 3]) >>> 6, E = (3 & t[e + 3]) << 11 | t[e + 4] << 3 | (224 & t[e + 5]) >>> 5;
1365
1365
  if (t[e + 6], e + E > this.data_.byteLength) {
1366
1366
  this.eof_flag_ = !0, this.has_last_incomplete_data = !0;
1367
1367
  break;
1368
1368
  }
1369
- var A = n === 1 ? 7 : 9, S = E - A;
1369
+ var A = a === 1 ? 7 : 9, S = E - A;
1370
1370
  e += A;
1371
1371
  var w = this.findNextSyncwordOffset(e + S);
1372
- if (this.current_syncword_offset_ = w, (a === 0 || a === 1) && s === 0) {
1372
+ if (this.current_syncword_offset_ = w, (n === 0 || n === 1) && s === 0) {
1373
1373
  var I = t.subarray(e, e + S);
1374
1374
  (i = new M()).audio_object_type = o + 1, i.sampling_freq_index = p, i.sampling_frequency = De[p], i.channel_config = g, i.data = I;
1375
1375
  }
@@ -1391,72 +1391,72 @@ var Tt = { exports: {} };
1391
1391
  i++;
1392
1392
  }
1393
1393
  }, r.prototype.getLATMValue = function(t) {
1394
- for (var i = t.readBits(2), e = 0, a = 0; a <= i; a++) e <<= 8, e |= t.readByte();
1394
+ for (var i = t.readBits(2), e = 0, n = 0; n <= i; n++) e <<= 8, e |= t.readByte();
1395
1395
  return e;
1396
1396
  }, r.prototype.readNextAACFrame = function(t) {
1397
1397
  for (var i = this.data_, e = null; e == null && !this.eof_flag_; ) {
1398
- var a = this.current_syncword_offset_, s = (31 & i[a + 1]) << 8 | i[a + 2];
1399
- if (a + 3 + s >= this.data_.byteLength) {
1398
+ var n = this.current_syncword_offset_, s = (31 & i[n + 1]) << 8 | i[n + 2];
1399
+ if (n + 3 + s >= this.data_.byteLength) {
1400
1400
  this.eof_flag_ = !0, this.has_last_incomplete_data = !0;
1401
1401
  break;
1402
1402
  }
1403
- var n = new ue(i.subarray(a + 3, a + 3 + s)), o = null;
1404
- if (n.readBool()) {
1403
+ var a = new ue(i.subarray(n + 3, n + 3 + s)), o = null;
1404
+ if (a.readBool()) {
1405
1405
  if (t == null) {
1406
- m.a.w(this.TAG, "StreamMuxConfig Missing"), this.current_syncword_offset_ = this.findNextSyncwordOffset(a + 3 + s), n.destroy();
1406
+ m.a.w(this.TAG, "StreamMuxConfig Missing"), this.current_syncword_offset_ = this.findNextSyncwordOffset(n + 3 + s), a.destroy();
1407
1407
  continue;
1408
1408
  }
1409
1409
  o = t;
1410
1410
  } else {
1411
- var p = n.readBool();
1412
- if (p && n.readBool()) {
1413
- m.a.e(this.TAG, "audioMuxVersionA is Not Supported"), n.destroy();
1411
+ var p = a.readBool();
1412
+ if (p && a.readBool()) {
1413
+ m.a.e(this.TAG, "audioMuxVersionA is Not Supported"), a.destroy();
1414
1414
  break;
1415
1415
  }
1416
- if (p && this.getLATMValue(n), !n.readBool()) {
1417
- m.a.e(this.TAG, "allStreamsSameTimeFraming zero is Not Supported"), n.destroy();
1416
+ if (p && this.getLATMValue(a), !a.readBool()) {
1417
+ m.a.e(this.TAG, "allStreamsSameTimeFraming zero is Not Supported"), a.destroy();
1418
1418
  break;
1419
1419
  }
1420
- if (n.readBits(6) !== 0) {
1421
- m.a.e(this.TAG, "more than 2 numSubFrames Not Supported"), n.destroy();
1420
+ if (a.readBits(6) !== 0) {
1421
+ m.a.e(this.TAG, "more than 2 numSubFrames Not Supported"), a.destroy();
1422
1422
  break;
1423
1423
  }
1424
- if (n.readBits(4) !== 0) {
1425
- m.a.e(this.TAG, "more than 2 numProgram Not Supported"), n.destroy();
1424
+ if (a.readBits(4) !== 0) {
1425
+ m.a.e(this.TAG, "more than 2 numProgram Not Supported"), a.destroy();
1426
1426
  break;
1427
1427
  }
1428
- if (n.readBits(3) !== 0) {
1429
- m.a.e(this.TAG, "more than 2 numLayer Not Supported"), n.destroy();
1428
+ if (a.readBits(3) !== 0) {
1429
+ m.a.e(this.TAG, "more than 2 numLayer Not Supported"), a.destroy();
1430
1430
  break;
1431
1431
  }
1432
- var g = p ? this.getLATMValue(n) : 0, E = n.readBits(5);
1432
+ var g = p ? this.getLATMValue(a) : 0, E = a.readBits(5);
1433
1433
  g -= 5;
1434
- var A = n.readBits(4);
1434
+ var A = a.readBits(4);
1435
1435
  g -= 4;
1436
- var S = n.readBits(4);
1437
- g -= 4, n.readBits(3), (g -= 3) > 0 && n.readBits(g);
1438
- var w = n.readBits(3);
1436
+ var S = a.readBits(4);
1437
+ g -= 4, a.readBits(3), (g -= 3) > 0 && a.readBits(g);
1438
+ var w = a.readBits(3);
1439
1439
  if (w !== 0) {
1440
- m.a.e(this.TAG, "frameLengthType = " + w + ". Only frameLengthType = 0 Supported"), n.destroy();
1440
+ m.a.e(this.TAG, "frameLengthType = " + w + ". Only frameLengthType = 0 Supported"), a.destroy();
1441
1441
  break;
1442
1442
  }
1443
- n.readByte();
1444
- var I = n.readBool();
1445
- if (I) if (p) this.getLATMValue(n);
1443
+ a.readByte();
1444
+ var I = a.readBool();
1445
+ if (I) if (p) this.getLATMValue(a);
1446
1446
  else
1447
1447
  for (var z = 0; ; ) {
1448
1448
  z <<= 8;
1449
- var N = n.readBool();
1450
- if (z += n.readByte(), !N) break;
1449
+ var N = a.readBool();
1450
+ if (z += a.readByte(), !N) break;
1451
1451
  }
1452
- n.readBool() && n.readByte(), (o = new j()).audio_object_type = E, o.sampling_freq_index = A, o.sampling_frequency = De[o.sampling_freq_index], o.channel_config = S, o.other_data_present = I;
1452
+ a.readBool() && a.readByte(), (o = new j()).audio_object_type = E, o.sampling_freq_index = A, o.sampling_frequency = De[o.sampling_freq_index], o.channel_config = S, o.other_data_present = I;
1453
1453
  }
1454
1454
  for (var J = 0; ; ) {
1455
- var W = n.readByte();
1455
+ var W = a.readByte();
1456
1456
  if (J += W, W !== 255) break;
1457
1457
  }
1458
- for (var q = new Uint8Array(J), de = 0; de < J; de++) q[de] = n.readByte();
1459
- (e = new j()).audio_object_type = o.audio_object_type, e.sampling_freq_index = o.sampling_freq_index, e.sampling_frequency = De[o.sampling_freq_index], e.channel_config = o.channel_config, e.other_data_present = o.other_data_present, e.data = q, this.current_syncword_offset_ = this.findNextSyncwordOffset(a + 3 + s);
1458
+ for (var q = new Uint8Array(J), de = 0; de < J; de++) q[de] = a.readByte();
1459
+ (e = new j()).audio_object_type = o.audio_object_type, e.sampling_freq_index = o.sampling_freq_index, e.sampling_frequency = De[o.sampling_freq_index], e.channel_config = o.channel_config, e.other_data_present = o.other_data_present, e.data = q, this.current_syncword_offset_ = this.findNextSyncwordOffset(n + 3 + s);
1460
1460
  }
1461
1461
  return e;
1462
1462
  }, r.prototype.hasIncompleteData = function() {
@@ -1465,8 +1465,8 @@ var Tt = { exports: {} };
1465
1465
  return this.has_last_incomplete_data ? this.data_.subarray(this.current_syncword_offset_) : null;
1466
1466
  }, r;
1467
1467
  }(), re = function(r) {
1468
- var t = null, i = r.audio_object_type, e = r.audio_object_type, a = r.sampling_freq_index, s = r.channel_config, n = 0, o = navigator.userAgent.toLowerCase();
1469
- o.indexOf("firefox") !== -1 ? a >= 6 ? (e = 5, t = new Array(4), n = a - 3) : (e = 2, t = new Array(2), n = a) : o.indexOf("android") !== -1 ? (e = 2, t = new Array(2), n = a) : (e = 5, n = a, t = new Array(4), a >= 6 ? n = a - 3 : s === 1 && (e = 2, t = new Array(2), n = a)), t[0] = e << 3, t[0] |= (15 & a) >>> 1, t[1] = (15 & a) << 7, t[1] |= (15 & s) << 3, e === 5 && (t[1] |= (15 & n) >>> 1, t[2] = (1 & n) << 7, t[2] |= 8, t[3] = 0), this.config = t, this.sampling_rate = De[a], this.channel_count = s, this.codec_mimetype = "mp4a.40." + e, this.original_codec_mimetype = "mp4a.40." + i;
1468
+ var t = null, i = r.audio_object_type, e = r.audio_object_type, n = r.sampling_freq_index, s = r.channel_config, a = 0, o = navigator.userAgent.toLowerCase();
1469
+ o.indexOf("firefox") !== -1 ? n >= 6 ? (e = 5, t = new Array(4), a = n - 3) : (e = 2, t = new Array(2), a = n) : o.indexOf("android") !== -1 ? (e = 2, t = new Array(2), a = n) : (e = 5, a = n, t = new Array(4), n >= 6 ? a = n - 3 : s === 1 && (e = 2, t = new Array(2), a = n)), t[0] = e << 3, t[0] |= (15 & n) >>> 1, t[1] = (15 & n) << 7, t[1] |= (15 & s) << 3, e === 5 && (t[1] |= (15 & a) >>> 1, t[2] = (1 & a) << 7, t[2] |= 8, t[3] = 0), this.config = t, this.sampling_rate = De[n], this.channel_count = s, this.codec_mimetype = "mp4a.40." + e, this.original_codec_mimetype = "mp4a.40." + i;
1470
1470
  }, ce = function() {
1471
1471
  }, we = function() {
1472
1472
  };
@@ -1492,67 +1492,67 @@ var Tt = { exports: {} };
1492
1492
  if (e.out_of_network_indicator = r.readBool(), e.program_splice_flag = r.readBool(), e.duration_flag = r.readBool(), r.readBits(5), e.program_splice_flag) e.utc_splice_time = r.readBits(32);
1493
1493
  else {
1494
1494
  e.component_count = r.readBits(8), e.components = [];
1495
- for (var a = 0; a < e.component_count; a++) e.components.push(Qe(r));
1495
+ for (var n = 0; n < e.component_count; n++) e.components.push(Qe(r));
1496
1496
  }
1497
1497
  return e.duration_flag && (e.break_duration = Be(r)), e.unique_program_id = r.readBits(16), e.avail_num = r.readBits(8), e.avails_expected = r.readBits(8), e;
1498
1498
  }, tt = function(r, t, i, e) {
1499
1499
  return { descriptor_tag: r, descriptor_length: t, identifier: i, provider_avail_id: e.readBits(32) };
1500
1500
  }, wt = function(r, t, i, e) {
1501
- var a = e.readBits(8), s = e.readBits(3);
1501
+ var n = e.readBits(8), s = e.readBits(3);
1502
1502
  e.readBits(5);
1503
- for (var n = "", o = 0; o < s; o++) n += String.fromCharCode(e.readBits(8));
1504
- return { descriptor_tag: r, descriptor_length: t, identifier: i, preroll: a, dtmf_count: s, DTMF_char: n };
1503
+ for (var a = "", o = 0; o < s; o++) a += String.fromCharCode(e.readBits(8));
1504
+ return { descriptor_tag: r, descriptor_length: t, identifier: i, preroll: n, dtmf_count: s, DTMF_char: a };
1505
1505
  }, kt = function(r) {
1506
1506
  var t = r.readBits(8);
1507
1507
  return r.readBits(7), { component_tag: t, pts_offset: 4 * r.readBits(31) + r.readBits(2) };
1508
1508
  }, Lt = function(r, t, i, e) {
1509
- var a = e.readBits(32), s = e.readBool();
1509
+ var n = e.readBits(32), s = e.readBool();
1510
1510
  e.readBits(7);
1511
- var n = { descriptor_tag: r, descriptor_length: t, identifier: i, segmentation_event_id: a, segmentation_event_cancel_indicator: s };
1512
- if (s) return n;
1513
- if (n.program_segmentation_flag = e.readBool(), n.segmentation_duration_flag = e.readBool(), n.delivery_not_restricted_flag = e.readBool(), n.delivery_not_restricted_flag ? e.readBits(5) : (n.web_delivery_allowed_flag = e.readBool(), n.no_regional_blackout_flag = e.readBool(), n.archive_allowed_flag = e.readBool(), n.device_restrictions = e.readBits(2)), !n.program_segmentation_flag) {
1514
- n.component_count = e.readBits(8), n.components = [];
1515
- for (var o = 0; o < n.component_count; o++) n.components.push(kt(e));
1511
+ var a = { descriptor_tag: r, descriptor_length: t, identifier: i, segmentation_event_id: n, segmentation_event_cancel_indicator: s };
1512
+ if (s) return a;
1513
+ if (a.program_segmentation_flag = e.readBool(), a.segmentation_duration_flag = e.readBool(), a.delivery_not_restricted_flag = e.readBool(), a.delivery_not_restricted_flag ? e.readBits(5) : (a.web_delivery_allowed_flag = e.readBool(), a.no_regional_blackout_flag = e.readBool(), a.archive_allowed_flag = e.readBool(), a.device_restrictions = e.readBits(2)), !a.program_segmentation_flag) {
1514
+ a.component_count = e.readBits(8), a.components = [];
1515
+ for (var o = 0; o < a.component_count; o++) a.components.push(kt(e));
1516
1516
  }
1517
- n.segmentation_duration_flag && (n.segmentation_duration = e.readBits(40)), n.segmentation_upid_type = e.readBits(8), n.segmentation_upid_length = e.readBits(8);
1518
- var p = new Uint8Array(n.segmentation_upid_length);
1519
- for (o = 0; o < n.segmentation_upid_length; o++) p[o] = e.readBits(8);
1520
- return n.segmentation_upid = p.buffer, n.segmentation_type_id = e.readBits(8), n.segment_num = e.readBits(8), n.segments_expected = e.readBits(8), n.segmentation_type_id !== 52 && n.segmentation_type_id !== 54 && n.segmentation_type_id !== 56 && n.segmentation_type_id !== 58 || (n.sub_segment_num = e.readBits(8), n.sub_segments_expected = e.readBits(8)), n;
1517
+ a.segmentation_duration_flag && (a.segmentation_duration = e.readBits(40)), a.segmentation_upid_type = e.readBits(8), a.segmentation_upid_length = e.readBits(8);
1518
+ var p = new Uint8Array(a.segmentation_upid_length);
1519
+ for (o = 0; o < a.segmentation_upid_length; o++) p[o] = e.readBits(8);
1520
+ return a.segmentation_upid = p.buffer, a.segmentation_type_id = e.readBits(8), a.segment_num = e.readBits(8), a.segments_expected = e.readBits(8), a.segmentation_type_id !== 52 && a.segmentation_type_id !== 54 && a.segmentation_type_id !== 56 && a.segmentation_type_id !== 58 || (a.sub_segment_num = e.readBits(8), a.sub_segments_expected = e.readBits(8)), a;
1521
1521
  }, Dt = function(r, t, i, e) {
1522
1522
  return { descriptor_tag: r, descriptor_length: t, identifier: i, TAI_seconds: e.readBits(48), TAI_ns: e.readBits(32), UTC_offset: e.readBits(16) };
1523
1523
  }, Ct = function(r) {
1524
1524
  return { component_tag: r.readBits(8), ISO_code: String.fromCharCode(r.readBits(8), r.readBits(8), r.readBits(8)), Bit_Stream_Mode: r.readBits(3), Num_Channels: r.readBits(4), Full_Srvc_Audio: r.readBool() };
1525
1525
  }, Bt = function(r, t, i, e) {
1526
- for (var a = e.readBits(4), s = [], n = 0; n < a; n++) s.push(Ct(e));
1527
- return { descriptor_tag: r, descriptor_length: t, identifier: i, audio_count: a, components: s };
1526
+ for (var n = e.readBits(4), s = [], a = 0; a < n; a++) s.push(Ct(e));
1527
+ return { descriptor_tag: r, descriptor_length: t, identifier: i, audio_count: n, components: s };
1528
1528
  }, It = function(r) {
1529
- var t = new ue(r), i = t.readBits(8), e = t.readBool(), a = t.readBool();
1529
+ var t = new ue(r), i = t.readBits(8), e = t.readBool(), n = t.readBool();
1530
1530
  t.readBits(2);
1531
- var s = t.readBits(12), n = t.readBits(8), o = t.readBool(), p = t.readBits(6), g = 4 * t.readBits(31) + t.readBits(2), E = t.readBits(8), A = t.readBits(12), S = t.readBits(12), w = t.readBits(8), I = null;
1532
- w === Se.kSpliceNull ? I = {} : w === Se.kSpliceSchedule ? I = function(ne) {
1533
- for (var be = ne.readBits(8), Ae = [], le = 0; le < be; le++) Ae.push(et(ne));
1531
+ var s = t.readBits(12), a = t.readBits(8), o = t.readBool(), p = t.readBits(6), g = 4 * t.readBits(31) + t.readBits(2), E = t.readBits(8), A = t.readBits(12), S = t.readBits(12), w = t.readBits(8), I = null;
1532
+ w === Se.kSpliceNull ? I = {} : w === Se.kSpliceSchedule ? I = function(ae) {
1533
+ for (var be = ae.readBits(8), Ae = [], le = 0; le < be; le++) Ae.push(et(ae));
1534
1534
  return { splice_count: be, events: Ae };
1535
- }(t) : w === Se.kSpliceInsert ? I = function(ne) {
1536
- var be = ne.readBits(32), Ae = ne.readBool();
1537
- ne.readBits(7);
1535
+ }(t) : w === Se.kSpliceInsert ? I = function(ae) {
1536
+ var be = ae.readBits(32), Ae = ae.readBool();
1537
+ ae.readBits(7);
1538
1538
  var le = { splice_event_id: be, splice_event_cancel_indicator: Ae };
1539
1539
  if (Ae) return le;
1540
- if (le.out_of_network_indicator = ne.readBool(), le.program_splice_flag = ne.readBool(), le.duration_flag = ne.readBool(), le.splice_immediate_flag = ne.readBool(), ne.readBits(4), le.program_splice_flag && !le.splice_immediate_flag && (le.splice_time = Oe(ne)), !le.program_splice_flag) {
1541
- le.component_count = ne.readBits(8), le.components = [];
1542
- for (var ye = 0; ye < le.component_count; ye++) le.components.push($e(le.splice_immediate_flag, ne));
1543
- }
1544
- return le.duration_flag && (le.break_duration = Be(ne)), le.unique_program_id = ne.readBits(16), le.avail_num = ne.readBits(8), le.avails_expected = ne.readBits(8), le;
1545
- }(t) : w === Se.kTimeSignal ? I = function(ne) {
1546
- return { splice_time: Oe(ne) };
1547
- }(t) : w === Se.kBandwidthReservation ? I = {} : w === Se.kPrivateCommand ? I = function(ne, be) {
1548
- for (var Ae = String.fromCharCode(be.readBits(8), be.readBits(8), be.readBits(8), be.readBits(8)), le = new Uint8Array(ne - 4), ye = 0; ye < ne - 4; ye++) le[ye] = be.readBits(8);
1540
+ if (le.out_of_network_indicator = ae.readBool(), le.program_splice_flag = ae.readBool(), le.duration_flag = ae.readBool(), le.splice_immediate_flag = ae.readBool(), ae.readBits(4), le.program_splice_flag && !le.splice_immediate_flag && (le.splice_time = Oe(ae)), !le.program_splice_flag) {
1541
+ le.component_count = ae.readBits(8), le.components = [];
1542
+ for (var ve = 0; ve < le.component_count; ve++) le.components.push($e(le.splice_immediate_flag, ae));
1543
+ }
1544
+ return le.duration_flag && (le.break_duration = Be(ae)), le.unique_program_id = ae.readBits(16), le.avail_num = ae.readBits(8), le.avails_expected = ae.readBits(8), le;
1545
+ }(t) : w === Se.kTimeSignal ? I = function(ae) {
1546
+ return { splice_time: Oe(ae) };
1547
+ }(t) : w === Se.kBandwidthReservation ? I = {} : w === Se.kPrivateCommand ? I = function(ae, be) {
1548
+ for (var Ae = String.fromCharCode(be.readBits(8), be.readBits(8), be.readBits(8), be.readBits(8)), le = new Uint8Array(ae - 4), ve = 0; ve < ae - 4; ve++) le[ve] = be.readBits(8);
1549
1549
  return { identifier: Ae, private_data: le.buffer };
1550
1550
  }(S, t) : t.readBits(8 * S);
1551
1551
  for (var z = [], N = t.readBits(16), J = 0; J < N; ) {
1552
1552
  var W = t.readBits(8), q = t.readBits(8), de = String.fromCharCode(t.readBits(8), t.readBits(8), t.readBits(8), t.readBits(8));
1553
1553
  W === 0 ? z.push(tt(W, q, de, t)) : W === 1 ? z.push(wt(W, q, de, t)) : W === 2 ? z.push(Lt(W, q, de, t)) : W === 3 ? z.push(Dt(W, q, de, t)) : W === 4 ? z.push(Bt(W, q, de, t)) : t.readBits(8 * (q - 4)), J += 2 + q;
1554
1554
  }
1555
- var he = { table_id: i, section_syntax_indicator: e, private_indicator: a, section_length: s, protocol_version: n, encrypted_packet: o, encryption_algorithm: p, pts_adjustment: g, cw_index: E, tier: A, splice_command_length: S, splice_command_type: w, splice_command: I, descriptor_loop_length: N, splice_descriptors: z, E_CRC32: o ? t.readBits(32) : void 0, CRC32: t.readBits(32) };
1555
+ var he = { table_id: i, section_syntax_indicator: e, private_indicator: n, section_length: s, protocol_version: a, encrypted_packet: o, encryption_algorithm: p, pts_adjustment: g, cw_index: E, tier: A, splice_command_length: S, splice_command_type: w, splice_command: I, descriptor_loop_length: N, splice_descriptors: z, E_CRC32: o ? t.readBits(32) : void 0, CRC32: t.readBits(32) };
1556
1556
  if (w === Se.kSpliceInsert) {
1557
1557
  var K = I;
1558
1558
  if (K.splice_event_cancel_indicator) return { splice_command_type: w, detail: he, data: r };
@@ -1582,24 +1582,24 @@ var Tt = { exports: {} };
1582
1582
  return r.prototype.findNextStartCodeOffset = function(t) {
1583
1583
  for (var i = t, e = this.data_; ; ) {
1584
1584
  if (i + 3 >= e.byteLength) return this.eof_flag_ = !0, e.byteLength;
1585
- var a = e[i + 0] << 24 | e[i + 1] << 16 | e[i + 2] << 8 | e[i + 3], s = e[i + 0] << 16 | e[i + 1] << 8 | e[i + 2];
1586
- if (a === 1 || s === 1) return i;
1585
+ var n = e[i + 0] << 24 | e[i + 1] << 16 | e[i + 2] << 8 | e[i + 3], s = e[i + 0] << 16 | e[i + 1] << 8 | e[i + 2];
1586
+ if (n === 1 || s === 1) return i;
1587
1587
  i++;
1588
1588
  }
1589
1589
  }, r.prototype.readNextNaluPayload = function() {
1590
1590
  for (var t = this.data_, i = null; i == null && !this.eof_flag_; ) {
1591
- var e = this.current_startcode_offset_, a = t[e += (t[e] << 24 | t[e + 1] << 16 | t[e + 2] << 8 | t[e + 3]) === 1 ? 4 : 3] >> 1 & 63, s = (128 & t[e]) >>> 7, n = this.findNextStartCodeOffset(e);
1592
- if (this.current_startcode_offset_ = n, s === 0) {
1593
- var o = t.subarray(e, n);
1594
- (i = new Ot()).type = a, i.data = o;
1591
+ var e = this.current_startcode_offset_, n = t[e += (t[e] << 24 | t[e + 1] << 16 | t[e + 2] << 8 | t[e + 3]) === 1 ? 4 : 3] >> 1 & 63, s = (128 & t[e]) >>> 7, a = this.findNextStartCodeOffset(e);
1592
+ if (this.current_startcode_offset_ = a, s === 0) {
1593
+ var o = t.subarray(e, a);
1594
+ (i = new Ot()).type = n, i.data = o;
1595
1595
  }
1596
1596
  }
1597
1597
  return i;
1598
1598
  }, r;
1599
1599
  }(), xt = function() {
1600
- function r(t, i, e, a) {
1601
- var s = 23 + (5 + t.byteLength) + (5 + i.byteLength) + (5 + e.byteLength), n = this.data = new Uint8Array(s);
1602
- n[0] = 1, n[1] = (3 & a.general_profile_space) << 6 | (a.general_tier_flag ? 1 : 0) << 5 | 31 & a.general_profile_idc, n[2] = a.general_profile_compatibility_flags_1, n[3] = a.general_profile_compatibility_flags_2, n[4] = a.general_profile_compatibility_flags_3, n[5] = a.general_profile_compatibility_flags_4, n[6] = a.general_constraint_indicator_flags_1, n[7] = a.general_constraint_indicator_flags_2, n[8] = a.general_constraint_indicator_flags_3, n[9] = a.general_constraint_indicator_flags_4, n[10] = a.general_constraint_indicator_flags_5, n[11] = a.general_constraint_indicator_flags_6, n[12] = a.general_level_idc, n[13] = 240 | (3840 & a.min_spatial_segmentation_idc) >> 8, n[14] = 255 & a.min_spatial_segmentation_idc, n[15] = 252 | 3 & a.parallelismType, n[16] = 252 | 3 & a.chroma_format_idc, n[17] = 248 | 7 & a.bit_depth_luma_minus8, n[18] = 248 | 7 & a.bit_depth_chroma_minus8, n[19] = 0, n[20] = 0, n[21] = (3 & a.constant_frame_rate) << 6 | (7 & a.num_temporal_layers) << 3 | (a.temporal_id_nested ? 1 : 0) << 2 | 3, n[22] = 3, n[23] = 128 | Ee.kSliceVPS, n[24] = 0, n[25] = 1, n[26] = (65280 & t.byteLength) >> 8, n[27] = (255 & t.byteLength) >> 0, n.set(t, 28), n[23 + (5 + t.byteLength) + 0] = 128 | Ee.kSliceSPS, n[23 + (5 + t.byteLength) + 1] = 0, n[23 + (5 + t.byteLength) + 2] = 1, n[23 + (5 + t.byteLength) + 3] = (65280 & i.byteLength) >> 8, n[23 + (5 + t.byteLength) + 4] = (255 & i.byteLength) >> 0, n.set(i, 23 + (5 + t.byteLength) + 5), n[23 + (5 + t.byteLength + 5 + i.byteLength) + 0] = 128 | Ee.kSlicePPS, n[23 + (5 + t.byteLength + 5 + i.byteLength) + 1] = 0, n[23 + (5 + t.byteLength + 5 + i.byteLength) + 2] = 1, n[23 + (5 + t.byteLength + 5 + i.byteLength) + 3] = (65280 & e.byteLength) >> 8, n[23 + (5 + t.byteLength + 5 + i.byteLength) + 4] = (255 & e.byteLength) >> 0, n.set(e, 23 + (5 + t.byteLength + 5 + i.byteLength) + 5);
1600
+ function r(t, i, e, n) {
1601
+ var s = 23 + (5 + t.byteLength) + (5 + i.byteLength) + (5 + e.byteLength), a = this.data = new Uint8Array(s);
1602
+ a[0] = 1, a[1] = (3 & n.general_profile_space) << 6 | (n.general_tier_flag ? 1 : 0) << 5 | 31 & n.general_profile_idc, a[2] = n.general_profile_compatibility_flags_1, a[3] = n.general_profile_compatibility_flags_2, a[4] = n.general_profile_compatibility_flags_3, a[5] = n.general_profile_compatibility_flags_4, a[6] = n.general_constraint_indicator_flags_1, a[7] = n.general_constraint_indicator_flags_2, a[8] = n.general_constraint_indicator_flags_3, a[9] = n.general_constraint_indicator_flags_4, a[10] = n.general_constraint_indicator_flags_5, a[11] = n.general_constraint_indicator_flags_6, a[12] = n.general_level_idc, a[13] = 240 | (3840 & n.min_spatial_segmentation_idc) >> 8, a[14] = 255 & n.min_spatial_segmentation_idc, a[15] = 252 | 3 & n.parallelismType, a[16] = 252 | 3 & n.chroma_format_idc, a[17] = 248 | 7 & n.bit_depth_luma_minus8, a[18] = 248 | 7 & n.bit_depth_chroma_minus8, a[19] = 0, a[20] = 0, a[21] = (3 & n.constant_frame_rate) << 6 | (7 & n.num_temporal_layers) << 3 | (n.temporal_id_nested ? 1 : 0) << 2 | 3, a[22] = 3, a[23] = 128 | Ee.kSliceVPS, a[24] = 0, a[25] = 1, a[26] = (65280 & t.byteLength) >> 8, a[27] = (255 & t.byteLength) >> 0, a.set(t, 28), a[23 + (5 + t.byteLength) + 0] = 128 | Ee.kSliceSPS, a[23 + (5 + t.byteLength) + 1] = 0, a[23 + (5 + t.byteLength) + 2] = 1, a[23 + (5 + t.byteLength) + 3] = (65280 & i.byteLength) >> 8, a[23 + (5 + t.byteLength) + 4] = (255 & i.byteLength) >> 0, a.set(i, 23 + (5 + t.byteLength) + 5), a[23 + (5 + t.byteLength + 5 + i.byteLength) + 0] = 128 | Ee.kSlicePPS, a[23 + (5 + t.byteLength + 5 + i.byteLength) + 1] = 0, a[23 + (5 + t.byteLength + 5 + i.byteLength) + 2] = 1, a[23 + (5 + t.byteLength + 5 + i.byteLength) + 3] = (65280 & e.byteLength) >> 8, a[23 + (5 + t.byteLength + 5 + i.byteLength) + 4] = (255 & e.byteLength) >> 0, a.set(e, 23 + (5 + t.byteLength + 5 + i.byteLength) + 5);
1603
1603
  }
1604
1604
  return r.prototype.getData = function() {
1605
1605
  return this.data;
@@ -1619,7 +1619,7 @@ var Tt = { exports: {} };
1619
1619
  }
1620
1620
  }, r.prototype.readNextAC3Frame = function() {
1621
1621
  for (var t = this.data_, i = null; i == null && !this.eof_flag_; ) {
1622
- var e = this.current_syncword_offset_, a = t[e + 4] >> 6, s = [48e3, 44200, 33e3][a], n = 63 & t[e + 4], o = 2 * Ft[a][n];
1622
+ var e = this.current_syncword_offset_, n = t[e + 4] >> 6, s = [48e3, 44200, 33e3][n], a = 63 & t[e + 4], o = 2 * Ft[n][a];
1623
1623
  if (e + o > this.data_.byteLength) {
1624
1624
  this.eof_flag_ = !0, this.has_last_incomplete_data = !0;
1625
1625
  break;
@@ -1629,7 +1629,7 @@ var Tt = { exports: {} };
1629
1629
  var g = t[e + 5] >> 3, E = 7 & t[e + 5], A = t[e + 6] >> 5, S = 0;
1630
1630
  1 & A && A !== 1 && (S += 2), 4 & A && (S += 2), A === 2 && (S += 2);
1631
1631
  var w = (t[e + 6] << 8 | t[e + 7] << 0) >> 12 - S & 1, I = [2, 1, 2, 3, 3, 4, 4, 5][A] + w;
1632
- (i = new Gt()).sampling_frequency = s, i.channel_count = I, i.channel_mode = A, i.bit_stream_identification = g, i.low_frequency_effects_channel_on = w, i.bit_stream_mode = E, i.frame_size_code = n, i.data = t.subarray(e, e + o);
1632
+ (i = new Gt()).sampling_frequency = s, i.channel_count = I, i.channel_mode = A, i.bit_stream_identification = g, i.low_frequency_effects_channel_on = w, i.bit_stream_mode = E, i.frame_size_code = a, i.data = t.subarray(e, e + o);
1633
1633
  }
1634
1634
  return i;
1635
1635
  }, r.prototype.hasIncompleteData = function() {
@@ -1642,10 +1642,10 @@ var Tt = { exports: {} };
1642
1642
  t = [r.sampling_rate_code << 6 | r.bit_stream_identification << 1 | r.bit_stream_mode >> 2, (3 & r.bit_stream_mode) << 6 | r.channel_mode << 3 | r.low_frequency_effects_channel_on << 2 | r.frame_size_code >> 4, r.frame_size_code << 4 & 224], this.config = t, this.sampling_rate = r.sampling_frequency, this.bit_stream_identification = r.bit_stream_identification, this.bit_stream_mode = r.bit_stream_mode, this.low_frequency_effects_channel_on = r.low_frequency_effects_channel_on, this.channel_count = r.channel_count, this.channel_mode = r.channel_mode, this.codec_mimetype = "ac-3", this.original_codec_mimetype = "ac-3";
1643
1643
  }, zt = /* @__PURE__ */ function() {
1644
1644
  var r = function(t, i) {
1645
- return (r = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(e, a) {
1646
- e.__proto__ = a;
1647
- } || function(e, a) {
1648
- for (var s in a) a.hasOwnProperty(s) && (e[s] = a[s]);
1645
+ return (r = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(e, n) {
1646
+ e.__proto__ = n;
1647
+ } || function(e, n) {
1648
+ for (var s in n) n.hasOwnProperty(s) && (e[s] = n[s]);
1649
1649
  })(t, i);
1650
1650
  };
1651
1651
  return function(t, i) {
@@ -1656,130 +1656,130 @@ var Tt = { exports: {} };
1656
1656
  };
1657
1657
  }(), Ve = function() {
1658
1658
  return (Ve = Object.assign || function(r) {
1659
- for (var t, i = 1, e = arguments.length; i < e; i++) for (var a in t = arguments[i]) Object.prototype.hasOwnProperty.call(t, a) && (r[a] = t[a]);
1659
+ for (var t, i = 1, e = arguments.length; i < e; i++) for (var n in t = arguments[i]) Object.prototype.hasOwnProperty.call(t, n) && (r[n] = t[n]);
1660
1660
  return r;
1661
1661
  }).apply(this, arguments);
1662
1662
  }, lt = function(r) {
1663
1663
  function t(i, e) {
1664
- var a = r.call(this) || this;
1665
- return a.TAG = "TSDemuxer", a.first_parse_ = !0, a.media_info_ = new v.a(), a.timescale_ = 90, a.duration_ = 0, a.current_pmt_pid_ = -1, a.program_pmt_map_ = {}, a.pes_slice_queues_ = {}, a.section_slice_queues_ = {}, a.video_metadata_ = { vps: void 0, sps: void 0, pps: void 0, details: void 0 }, a.audio_metadata_ = { codec: void 0, audio_object_type: void 0, sampling_freq_index: void 0, sampling_frequency: void 0, channel_config: void 0 }, a.aac_last_sample_pts_ = void 0, a.aac_last_incomplete_data_ = null, a.has_video_ = !1, a.has_audio_ = !1, a.video_init_segment_dispatched_ = !1, a.audio_init_segment_dispatched_ = !1, a.video_metadata_changed_ = !1, a.audio_metadata_changed_ = !1, a.loas_previous_frame = null, a.video_track_ = { type: "video", id: 1, sequenceNumber: 0, samples: [], length: 0 }, a.audio_track_ = { type: "audio", id: 2, sequenceNumber: 0, samples: [], length: 0 }, a.ts_packet_size_ = i.ts_packet_size, a.sync_offset_ = i.sync_offset, a.config_ = e, a;
1664
+ var n = r.call(this) || this;
1665
+ return n.TAG = "TSDemuxer", n.first_parse_ = !0, n.media_info_ = new y.a(), n.timescale_ = 90, n.duration_ = 0, n.current_pmt_pid_ = -1, n.program_pmt_map_ = {}, n.pes_slice_queues_ = {}, n.section_slice_queues_ = {}, n.video_metadata_ = { vps: void 0, sps: void 0, pps: void 0, details: void 0 }, n.audio_metadata_ = { codec: void 0, audio_object_type: void 0, sampling_freq_index: void 0, sampling_frequency: void 0, channel_config: void 0 }, n.aac_last_sample_pts_ = void 0, n.aac_last_incomplete_data_ = null, n.has_video_ = !1, n.has_audio_ = !1, n.video_init_segment_dispatched_ = !1, n.audio_init_segment_dispatched_ = !1, n.video_metadata_changed_ = !1, n.audio_metadata_changed_ = !1, n.loas_previous_frame = null, n.video_track_ = { type: "video", id: 1, sequenceNumber: 0, samples: [], length: 0 }, n.audio_track_ = { type: "audio", id: 2, sequenceNumber: 0, samples: [], length: 0 }, n.ts_packet_size_ = i.ts_packet_size, n.sync_offset_ = i.sync_offset, n.config_ = e, n;
1666
1666
  }
1667
1667
  return zt(t, r), t.prototype.destroy = function() {
1668
1668
  this.media_info_ = null, this.pes_slice_queues_ = null, this.section_slice_queues_ = null, this.video_metadata_ = null, this.audio_metadata_ = null, this.aac_last_incomplete_data_ = null, this.video_track_ = null, this.audio_track_ = null, r.prototype.destroy.call(this);
1669
1669
  }, t.probe = function(i) {
1670
- var e = new Uint8Array(i), a = -1, s = 188;
1670
+ var e = new Uint8Array(i), n = -1, s = 188;
1671
1671
  if (e.byteLength <= 3 * s) return { needMoreData: !0 };
1672
- for (; a === -1; ) {
1673
- for (var n = Math.min(1e3, e.byteLength - 3 * s), o = 0; o < n; ) {
1672
+ for (; n === -1; ) {
1673
+ for (var a = Math.min(1e3, e.byteLength - 3 * s), o = 0; o < a; ) {
1674
1674
  if (e[o] === 71 && e[o + s] === 71 && e[o + 2 * s] === 71) {
1675
- a = o;
1675
+ n = o;
1676
1676
  break;
1677
1677
  }
1678
1678
  o++;
1679
1679
  }
1680
- if (a === -1) if (s === 188) s = 192;
1680
+ if (n === -1) if (s === 188) s = 192;
1681
1681
  else {
1682
1682
  if (s !== 192) break;
1683
1683
  s = 204;
1684
1684
  }
1685
1685
  }
1686
- return a === -1 ? { match: !1 } : (s === 192 && a >= 4 ? (m.a.v("TSDemuxer", "ts_packet_size = 192, m2ts mode"), a -= 4) : s === 204 && m.a.v("TSDemuxer", "ts_packet_size = 204, RS encoded MPEG2-TS stream"), { match: !0, consumed: 0, ts_packet_size: s, sync_offset: a });
1686
+ return n === -1 ? { match: !1 } : (s === 192 && n >= 4 ? (m.a.v("TSDemuxer", "ts_packet_size = 192, m2ts mode"), n -= 4) : s === 204 && m.a.v("TSDemuxer", "ts_packet_size = 204, RS encoded MPEG2-TS stream"), { match: !0, consumed: 0, ts_packet_size: s, sync_offset: n });
1687
1687
  }, t.prototype.bindDataSource = function(i) {
1688
1688
  return i.onDataArrival = this.parseChunks.bind(this), this;
1689
1689
  }, t.prototype.resetMediaInfo = function() {
1690
- this.media_info_ = new v.a();
1690
+ this.media_info_ = new y.a();
1691
1691
  }, t.prototype.parseChunks = function(i, e) {
1692
1692
  if (!(this.onError && this.onMediaInfo && this.onTrackMetadata && this.onDataAvailable)) throw new C.a("onError & onMediaInfo & onTrackMetadata & onDataAvailable callback must be specified");
1693
- var a = 0;
1694
- for (this.first_parse_ && (this.first_parse_ = !1, a = this.sync_offset_); a + this.ts_packet_size_ <= i.byteLength; ) {
1695
- var s = e + a;
1696
- this.ts_packet_size_ === 192 && (a += 4);
1697
- var n = new Uint8Array(i, a, 188), o = n[0];
1693
+ var n = 0;
1694
+ for (this.first_parse_ && (this.first_parse_ = !1, n = this.sync_offset_); n + this.ts_packet_size_ <= i.byteLength; ) {
1695
+ var s = e + n;
1696
+ this.ts_packet_size_ === 192 && (n += 4);
1697
+ var a = new Uint8Array(i, n, 188), o = a[0];
1698
1698
  if (o !== 71) {
1699
1699
  m.a.e(this.TAG, "sync_byte = " + o + ", not 0x47");
1700
1700
  break;
1701
1701
  }
1702
- var p = (64 & n[1]) >>> 6, g = (n[1], (31 & n[1]) << 8 | n[2]), E = (48 & n[3]) >>> 4, A = 15 & n[3], S = {}, w = 4;
1702
+ var p = (64 & a[1]) >>> 6, g = (a[1], (31 & a[1]) << 8 | a[2]), E = (48 & a[3]) >>> 4, A = 15 & a[3], S = {}, w = 4;
1703
1703
  if (E == 2 || E == 3) {
1704
- var I = n[4];
1704
+ var I = a[4];
1705
1705
  if (5 + I === 188) {
1706
- a += 188, this.ts_packet_size_ === 204 && (a += 16);
1706
+ n += 188, this.ts_packet_size_ === 204 && (n += 16);
1707
1707
  continue;
1708
1708
  }
1709
- I > 0 && (S = this.parseAdaptationField(i, a + 4, 1 + I)), w = 5 + I;
1709
+ I > 0 && (S = this.parseAdaptationField(i, n + 4, 1 + I)), w = 5 + I;
1710
1710
  }
1711
1711
  if (E == 1 || E == 3) {
1712
1712
  if (g === 0 || g === this.current_pmt_pid_ || this.pmt_ != null && this.pmt_.pid_stream_type[g] === u.kSCTE35) {
1713
1713
  var z = 188 - w;
1714
- this.handleSectionSlice(i, a + w, z, { pid: g, file_position: s, payload_unit_start_indicator: p, continuity_conunter: A, random_access_indicator: S.random_access_indicator });
1714
+ this.handleSectionSlice(i, n + w, z, { pid: g, file_position: s, payload_unit_start_indicator: p, continuity_conunter: A, random_access_indicator: S.random_access_indicator });
1715
1715
  } else if (this.pmt_ != null && this.pmt_.pid_stream_type[g] != null) {
1716
1716
  z = 188 - w;
1717
1717
  var N = this.pmt_.pid_stream_type[g];
1718
- g !== this.pmt_.common_pids.h264 && g !== this.pmt_.common_pids.h265 && g !== this.pmt_.common_pids.adts_aac && g !== this.pmt_.common_pids.loas_aac && g !== this.pmt_.common_pids.ac3 && g !== this.pmt_.common_pids.opus && g !== this.pmt_.common_pids.mp3 && this.pmt_.pes_private_data_pids[g] !== !0 && this.pmt_.timed_id3_pids[g] !== !0 || this.handlePESSlice(i, a + w, z, { pid: g, stream_type: N, file_position: s, payload_unit_start_indicator: p, continuity_conunter: A, random_access_indicator: S.random_access_indicator });
1718
+ g !== this.pmt_.common_pids.h264 && g !== this.pmt_.common_pids.h265 && g !== this.pmt_.common_pids.adts_aac && g !== this.pmt_.common_pids.loas_aac && g !== this.pmt_.common_pids.ac3 && g !== this.pmt_.common_pids.opus && g !== this.pmt_.common_pids.mp3 && this.pmt_.pes_private_data_pids[g] !== !0 && this.pmt_.timed_id3_pids[g] !== !0 || this.handlePESSlice(i, n + w, z, { pid: g, stream_type: N, file_position: s, payload_unit_start_indicator: p, continuity_conunter: A, random_access_indicator: S.random_access_indicator });
1719
1719
  }
1720
1720
  }
1721
- a += 188, this.ts_packet_size_ === 204 && (a += 16);
1722
- }
1723
- return this.dispatchAudioVideoMediaSegment(), a;
1724
- }, t.prototype.parseAdaptationField = function(i, e, a) {
1725
- var s = new Uint8Array(i, e, a), n = s[0];
1726
- return n > 0 ? n > 183 ? (m.a.w(this.TAG, "Illegal adaptation_field_length: " + n), {}) : { discontinuity_indicator: (128 & s[1]) >>> 7, random_access_indicator: (64 & s[1]) >>> 6, elementary_stream_priority_indicator: (32 & s[1]) >>> 5 } : {};
1727
- }, t.prototype.handleSectionSlice = function(i, e, a, s) {
1728
- var n = new Uint8Array(i, e, a), o = this.section_slice_queues_[s.pid];
1721
+ n += 188, this.ts_packet_size_ === 204 && (n += 16);
1722
+ }
1723
+ return this.dispatchAudioVideoMediaSegment(), n;
1724
+ }, t.prototype.parseAdaptationField = function(i, e, n) {
1725
+ var s = new Uint8Array(i, e, n), a = s[0];
1726
+ return a > 0 ? a > 183 ? (m.a.w(this.TAG, "Illegal adaptation_field_length: " + a), {}) : { discontinuity_indicator: (128 & s[1]) >>> 7, random_access_indicator: (64 & s[1]) >>> 6, elementary_stream_priority_indicator: (32 & s[1]) >>> 5 } : {};
1727
+ }, t.prototype.handleSectionSlice = function(i, e, n, s) {
1728
+ var a = new Uint8Array(i, e, n), o = this.section_slice_queues_[s.pid];
1729
1729
  if (s.payload_unit_start_indicator) {
1730
- var p = n[0];
1730
+ var p = a[0];
1731
1731
  if (o != null && o.total_length !== 0) {
1732
- var g = new Uint8Array(i, e + 1, Math.min(a, p));
1732
+ var g = new Uint8Array(i, e + 1, Math.min(n, p));
1733
1733
  o.slices.push(g), o.total_length += g.byteLength, o.total_length === o.expected_length ? this.emitSectionSlices(o, s) : this.clearSlices(o, s);
1734
1734
  }
1735
- for (var E = 1 + p; E < n.byteLength && n[E + 0] !== 255; ) {
1736
- var A = (15 & n[E + 1]) << 8 | n[E + 2];
1737
- this.section_slice_queues_[s.pid] = new ve(), (o = this.section_slice_queues_[s.pid]).expected_length = A + 3, o.file_position = s.file_position, o.random_access_indicator = s.random_access_indicator, g = new Uint8Array(i, e + E, Math.min(a - E, o.expected_length - o.total_length)), o.slices.push(g), o.total_length += g.byteLength, o.total_length === o.expected_length ? this.emitSectionSlices(o, s) : o.total_length >= o.expected_length && this.clearSlices(o, s), E += g.byteLength;
1735
+ for (var E = 1 + p; E < a.byteLength && a[E + 0] !== 255; ) {
1736
+ var A = (15 & a[E + 1]) << 8 | a[E + 2];
1737
+ this.section_slice_queues_[s.pid] = new ye(), (o = this.section_slice_queues_[s.pid]).expected_length = A + 3, o.file_position = s.file_position, o.random_access_indicator = s.random_access_indicator, g = new Uint8Array(i, e + E, Math.min(n - E, o.expected_length - o.total_length)), o.slices.push(g), o.total_length += g.byteLength, o.total_length === o.expected_length ? this.emitSectionSlices(o, s) : o.total_length >= o.expected_length && this.clearSlices(o, s), E += g.byteLength;
1738
1738
  }
1739
- } else o != null && o.total_length !== 0 && (g = new Uint8Array(i, e, Math.min(a, o.expected_length - o.total_length)), o.slices.push(g), o.total_length += g.byteLength, o.total_length === o.expected_length ? this.emitSectionSlices(o, s) : o.total_length >= o.expected_length && this.clearSlices(o, s));
1740
- }, t.prototype.handlePESSlice = function(i, e, a, s) {
1741
- var n = new Uint8Array(i, e, a), o = n[0] << 16 | n[1] << 8 | n[2], p = (n[3], n[4] << 8 | n[5]);
1739
+ } else o != null && o.total_length !== 0 && (g = new Uint8Array(i, e, Math.min(n, o.expected_length - o.total_length)), o.slices.push(g), o.total_length += g.byteLength, o.total_length === o.expected_length ? this.emitSectionSlices(o, s) : o.total_length >= o.expected_length && this.clearSlices(o, s));
1740
+ }, t.prototype.handlePESSlice = function(i, e, n, s) {
1741
+ var a = new Uint8Array(i, e, n), o = a[0] << 16 | a[1] << 8 | a[2], p = (a[3], a[4] << 8 | a[5]);
1742
1742
  if (s.payload_unit_start_indicator) {
1743
1743
  if (o !== 1) return void m.a.e(this.TAG, "handlePESSlice: packet_start_code_prefix should be 1 but with value " + o);
1744
1744
  var g = this.pes_slice_queues_[s.pid];
1745
- g && (g.expected_length === 0 || g.expected_length === g.total_length ? this.emitPESSlices(g, s) : this.clearSlices(g, s)), this.pes_slice_queues_[s.pid] = new ve(), this.pes_slice_queues_[s.pid].file_position = s.file_position, this.pes_slice_queues_[s.pid].random_access_indicator = s.random_access_indicator;
1745
+ g && (g.expected_length === 0 || g.expected_length === g.total_length ? this.emitPESSlices(g, s) : this.clearSlices(g, s)), this.pes_slice_queues_[s.pid] = new ye(), this.pes_slice_queues_[s.pid].file_position = s.file_position, this.pes_slice_queues_[s.pid].random_access_indicator = s.random_access_indicator;
1746
1746
  }
1747
1747
  if (this.pes_slice_queues_[s.pid] != null) {
1748
1748
  var E = this.pes_slice_queues_[s.pid];
1749
- E.slices.push(n), s.payload_unit_start_indicator && (E.expected_length = p === 0 ? 0 : p + 6), E.total_length += n.byteLength, E.expected_length > 0 && E.expected_length === E.total_length ? this.emitPESSlices(E, s) : E.expected_length > 0 && E.expected_length < E.total_length && this.clearSlices(E, s);
1749
+ E.slices.push(a), s.payload_unit_start_indicator && (E.expected_length = p === 0 ? 0 : p + 6), E.total_length += a.byteLength, E.expected_length > 0 && E.expected_length === E.total_length ? this.emitPESSlices(E, s) : E.expected_length > 0 && E.expected_length < E.total_length && this.clearSlices(E, s);
1750
1750
  }
1751
1751
  }, t.prototype.emitSectionSlices = function(i, e) {
1752
- for (var a = new Uint8Array(i.total_length), s = 0, n = 0; s < i.slices.length; s++) {
1752
+ for (var n = new Uint8Array(i.total_length), s = 0, a = 0; s < i.slices.length; s++) {
1753
1753
  var o = i.slices[s];
1754
- a.set(o, n), n += o.byteLength;
1754
+ n.set(o, a), a += o.byteLength;
1755
1755
  }
1756
1756
  i.slices = [], i.expected_length = -1, i.total_length = 0;
1757
1757
  var p = new pe();
1758
- p.pid = e.pid, p.data = a, p.file_position = i.file_position, p.random_access_indicator = i.random_access_indicator, this.parseSection(p);
1758
+ p.pid = e.pid, p.data = n, p.file_position = i.file_position, p.random_access_indicator = i.random_access_indicator, this.parseSection(p);
1759
1759
  }, t.prototype.emitPESSlices = function(i, e) {
1760
- for (var a = new Uint8Array(i.total_length), s = 0, n = 0; s < i.slices.length; s++) {
1760
+ for (var n = new Uint8Array(i.total_length), s = 0, a = 0; s < i.slices.length; s++) {
1761
1761
  var o = i.slices[s];
1762
- a.set(o, n), n += o.byteLength;
1762
+ n.set(o, a), a += o.byteLength;
1763
1763
  }
1764
1764
  i.slices = [], i.expected_length = -1, i.total_length = 0;
1765
1765
  var p = new ee();
1766
- p.pid = e.pid, p.data = a, p.stream_type = e.stream_type, p.file_position = i.file_position, p.random_access_indicator = i.random_access_indicator, this.parsePES(p);
1766
+ p.pid = e.pid, p.data = n, p.stream_type = e.stream_type, p.file_position = i.file_position, p.random_access_indicator = i.random_access_indicator, this.parsePES(p);
1767
1767
  }, t.prototype.clearSlices = function(i, e) {
1768
1768
  i.slices = [], i.expected_length = -1, i.total_length = 0;
1769
1769
  }, t.prototype.parseSection = function(i) {
1770
- var e = i.data, a = i.pid;
1771
- a === 0 ? this.parsePAT(e) : a === this.current_pmt_pid_ ? this.parsePMT(e) : this.pmt_ != null && this.pmt_.scte_35_pids[a] && this.parseSCTE35(e);
1770
+ var e = i.data, n = i.pid;
1771
+ n === 0 ? this.parsePAT(e) : n === this.current_pmt_pid_ ? this.parsePMT(e) : this.pmt_ != null && this.pmt_.scte_35_pids[n] && this.parseSCTE35(e);
1772
1772
  }, t.prototype.parsePES = function(i) {
1773
- var e = i.data, a = e[0] << 16 | e[1] << 8 | e[2], s = e[3], n = e[4] << 8 | e[5];
1774
- if (a === 1)
1773
+ var e = i.data, n = e[0] << 16 | e[1] << 8 | e[2], s = e[3], a = e[4] << 8 | e[5];
1774
+ if (n === 1)
1775
1775
  if (s !== 188 && s !== 190 && s !== 191 && s !== 240 && s !== 241 && s !== 255 && s !== 242 && s !== 248) {
1776
1776
  e[6];
1777
1777
  var o = (192 & e[7]) >>> 6, p = e[8], g = void 0, E = void 0;
1778
1778
  o !== 2 && o !== 3 || (g = 536870912 * (14 & e[9]) + 4194304 * (255 & e[10]) + 16384 * (254 & e[11]) + 128 * (255 & e[12]) + (254 & e[13]) / 2, E = o === 3 ? 536870912 * (14 & e[14]) + 4194304 * (255 & e[15]) + 16384 * (254 & e[16]) + 128 * (255 & e[17]) + (254 & e[18]) / 2 : g);
1779
1779
  var A = 9 + p, S = void 0;
1780
- if (n !== 0) {
1781
- if (n < 3 + p) return void m.a.v(this.TAG, "Malformed PES: PES_packet_length < 3 + PES_header_data_length");
1782
- S = n - 3 - p;
1780
+ if (a !== 0) {
1781
+ if (a < 3 + p) return void m.a.v(this.TAG, "Malformed PES: PES_packet_length < 3 + PES_header_data_length");
1782
+ S = a - 3 - p;
1783
1783
  } else S = e.byteLength - A;
1784
1784
  var w = e.subarray(A, A + S);
1785
1785
  switch (i.stream_type) {
@@ -1808,28 +1808,28 @@ var Tt = { exports: {} };
1808
1808
  case u.kH265:
1809
1809
  this.parseH265Payload(w, g, E, i.file_position, i.random_access_indicator);
1810
1810
  }
1811
- } else (s === 188 || s === 191 || s === 240 || s === 241 || s === 255 || s === 242 || s === 248) && i.stream_type === u.kPESPrivateData && (A = 6, S = void 0, S = n !== 0 ? n : e.byteLength - A, w = e.subarray(A, A + S), this.parsePESPrivateDataPayload(w, void 0, void 0, i.pid, s));
1812
- else m.a.e(this.TAG, "parsePES: packet_start_code_prefix should be 1 but with value " + a);
1811
+ } else (s === 188 || s === 191 || s === 240 || s === 241 || s === 255 || s === 242 || s === 248) && i.stream_type === u.kPESPrivateData && (A = 6, S = void 0, S = a !== 0 ? a : e.byteLength - A, w = e.subarray(A, A + S), this.parsePESPrivateDataPayload(w, void 0, void 0, i.pid, s));
1812
+ else m.a.e(this.TAG, "parsePES: packet_start_code_prefix should be 1 but with value " + n);
1813
1813
  }, t.prototype.parsePAT = function(i) {
1814
1814
  var e = i[0];
1815
1815
  if (e === 0) {
1816
- var a = (15 & i[1]) << 8 | i[2], s = (i[3], i[4], (62 & i[5]) >>> 1), n = 1 & i[5], o = i[6], p = (i[7], null);
1817
- if (n === 1 && o === 0) (p = new P()).version_number = s;
1816
+ var n = (15 & i[1]) << 8 | i[2], s = (i[3], i[4], (62 & i[5]) >>> 1), a = 1 & i[5], o = i[6], p = (i[7], null);
1817
+ if (a === 1 && o === 0) (p = new P()).version_number = s;
1818
1818
  else if ((p = this.pat_) == null) return;
1819
- for (var g = a - 5 - 4, E = -1, A = -1, S = 8; S < 8 + g; S += 4) {
1819
+ for (var g = n - 5 - 4, E = -1, A = -1, S = 8; S < 8 + g; S += 4) {
1820
1820
  var w = i[S] << 8 | i[S + 1], I = (31 & i[S + 2]) << 8 | i[S + 3];
1821
1821
  w === 0 ? p.network_pid = I : (p.program_pmt_pid[w] = I, E === -1 && (E = w), A === -1 && (A = I));
1822
1822
  }
1823
- n === 1 && o === 0 && (this.pat_ == null && m.a.v(this.TAG, "Parsed first PAT: " + JSON.stringify(p)), this.pat_ = p, this.current_program_ = E, this.current_pmt_pid_ = A);
1823
+ a === 1 && o === 0 && (this.pat_ == null && m.a.v(this.TAG, "Parsed first PAT: " + JSON.stringify(p)), this.pat_ = p, this.current_program_ = E, this.current_pmt_pid_ = A);
1824
1824
  } else m.a.e(this.TAG, "parsePAT: table_id " + e + " is not corresponded to PAT!");
1825
1825
  }, t.prototype.parsePMT = function(i) {
1826
1826
  var e = i[0];
1827
1827
  if (e === 2) {
1828
- var a = (15 & i[1]) << 8 | i[2], s = i[3] << 8 | i[4], n = (62 & i[5]) >>> 1, o = 1 & i[5], p = i[6], g = (i[7], null);
1829
- if (o === 1 && p === 0) (g = new F()).program_number = s, g.version_number = n, this.program_pmt_map_[s] = g;
1828
+ var n = (15 & i[1]) << 8 | i[2], s = i[3] << 8 | i[4], a = (62 & i[5]) >>> 1, o = 1 & i[5], p = i[6], g = (i[7], null);
1829
+ if (o === 1 && p === 0) (g = new F()).program_number = s, g.version_number = a, this.program_pmt_map_[s] = g;
1830
1830
  else if ((g = this.program_pmt_map_[s]) == null) return;
1831
1831
  i[8], i[9];
1832
- for (var E = (15 & i[10]) << 8 | i[11], A = 12 + E, S = a - 9 - E - 4, w = A; w < A + S; ) {
1832
+ for (var E = (15 & i[10]) << 8 | i[11], A = 12 + E, S = n - 9 - E - 4, w = A; w < A + S; ) {
1833
1833
  var I = i[w], z = (31 & i[w + 1]) << 8 | i[w + 2], N = (15 & i[w + 3]) << 8 | i[w + 4];
1834
1834
  g.pid_stream_type[z] = I;
1835
1835
  var J = g.common_pids.h264 || g.common_pids.h265, W = g.common_pids.adts_aac || g.common_pids.loas_aac || g.common_pids.ac3 || g.common_pids.opus || g.common_pids.mp3;
@@ -1851,8 +1851,8 @@ var Tt = { exports: {} };
1851
1851
  }
1852
1852
  q += 2 + he;
1853
1853
  }
1854
- var ne = i.subarray(w + 5, w + 5 + N);
1855
- this.dispatchPESPrivateDataDescriptor(z, I, ne);
1854
+ var ae = i.subarray(w + 5, w + 5 + N);
1855
+ this.dispatchPESPrivateDataDescriptor(z, I, ae);
1856
1856
  }
1857
1857
  } else I === u.kID3 ? g.timed_id3_pids[z] = !0 : I === u.kSCTE35 && (g.scte_35_pids[z] = !0);
1858
1858
  else g.common_pids.mp3 = z;
@@ -1868,36 +1868,36 @@ var Tt = { exports: {} };
1868
1868
  }, t.prototype.parseSCTE35 = function(i) {
1869
1869
  var e = It(i);
1870
1870
  if (e.pts != null) {
1871
- var a = Math.floor(e.pts / this.timescale_);
1872
- e.pts = a;
1871
+ var n = Math.floor(e.pts / this.timescale_);
1872
+ e.pts = n;
1873
1873
  } else e.nearest_pts = this.aac_last_sample_pts_;
1874
1874
  this.onSCTE35Metadata && this.onSCTE35Metadata(e);
1875
- }, t.prototype.parseH264Payload = function(i, e, a, s, n) {
1875
+ }, t.prototype.parseH264Payload = function(i, e, n, s, a) {
1876
1876
  for (var o = new X(i), p = null, g = [], E = 0, A = !1; (p = o.readNextNaluPayload()) != null; ) {
1877
1877
  var S = new R(p);
1878
1878
  if (S.type === D.kSliceSPS) {
1879
1879
  var w = se.parseSPS(p.data);
1880
1880
  this.video_init_segment_dispatched_ ? this.detectVideoMetadataChange(S, w) === !0 && (m.a.v(this.TAG, "H264: Critical h264 metadata has been changed, attempt to re-generate InitSegment"), this.video_metadata_changed_ = !0, this.video_metadata_ = { vps: void 0, sps: S, pps: void 0, details: w }) : (this.video_metadata_.sps = S, this.video_metadata_.details = w);
1881
- } else S.type === D.kSlicePPS ? this.video_init_segment_dispatched_ && !this.video_metadata_changed_ || (this.video_metadata_.pps = S, this.video_metadata_.sps && this.video_metadata_.pps && (this.video_metadata_changed_ && this.dispatchVideoMediaSegment(), this.dispatchVideoInitSegment())) : (S.type === D.kSliceIDR || S.type === D.kSliceNonIDR && n === 1) && (A = !0);
1881
+ } else S.type === D.kSlicePPS ? this.video_init_segment_dispatched_ && !this.video_metadata_changed_ || (this.video_metadata_.pps = S, this.video_metadata_.sps && this.video_metadata_.pps && (this.video_metadata_changed_ && this.dispatchVideoMediaSegment(), this.dispatchVideoInitSegment())) : (S.type === D.kSliceIDR || S.type === D.kSliceNonIDR && a === 1) && (A = !0);
1882
1882
  this.video_init_segment_dispatched_ && (g.push(S), E += S.data.byteLength);
1883
1883
  }
1884
- var I = Math.floor(e / this.timescale_), z = Math.floor(a / this.timescale_);
1884
+ var I = Math.floor(e / this.timescale_), z = Math.floor(n / this.timescale_);
1885
1885
  if (g.length) {
1886
1886
  var N = this.video_track_, J = { units: g, length: E, isKeyframe: A, dts: z, pts: I, cts: I - z, file_position: s };
1887
1887
  N.samples.push(J), N.length += E;
1888
1888
  }
1889
- }, t.prototype.parseH265Payload = function(i, e, a, s, n) {
1889
+ }, t.prototype.parseH265Payload = function(i, e, n, s, a) {
1890
1890
  for (var o = new Mt(i), p = null, g = [], E = 0, A = !1; (p = o.readNextNaluPayload()) != null; ) {
1891
1891
  var S = new Pt(p);
1892
1892
  if (S.type === Ee.kSliceVPS) {
1893
1893
  if (!this.video_init_segment_dispatched_) {
1894
- var w = ae.parseVPS(p.data);
1894
+ var w = ne.parseVPS(p.data);
1895
1895
  this.video_metadata_.vps = S, this.video_metadata_.details = Ve(Ve({}, this.video_metadata_.details), w);
1896
1896
  }
1897
- } else S.type === Ee.kSliceSPS ? (w = ae.parseSPS(p.data), this.video_init_segment_dispatched_ ? this.detectVideoMetadataChange(S, w) === !0 && (m.a.v(this.TAG, "H265: Critical h265 metadata has been changed, attempt to re-generate InitSegment"), this.video_metadata_changed_ = !0, this.video_metadata_ = { vps: void 0, sps: S, pps: void 0, details: w }) : (this.video_metadata_.sps = S, this.video_metadata_.details = Ve(Ve({}, this.video_metadata_.details), w))) : S.type === Ee.kSlicePPS ? (!this.video_init_segment_dispatched_ || this.video_metadata_changed_) && (w = ae.parsePPS(p.data), this.video_metadata_.pps = S, this.video_metadata_.details = Ve(Ve({}, this.video_metadata_.details), w), this.video_metadata_.vps && this.video_metadata_.sps && this.video_metadata_.pps && (this.video_metadata_changed_ && this.dispatchVideoMediaSegment(), this.dispatchVideoInitSegment())) : S.type !== Ee.kSliceIDR_W_RADL && S.type !== Ee.kSliceIDR_N_LP && S.type !== Ee.kSliceCRA_NUT || (A = !0);
1897
+ } else S.type === Ee.kSliceSPS ? (w = ne.parseSPS(p.data), this.video_init_segment_dispatched_ ? this.detectVideoMetadataChange(S, w) === !0 && (m.a.v(this.TAG, "H265: Critical h265 metadata has been changed, attempt to re-generate InitSegment"), this.video_metadata_changed_ = !0, this.video_metadata_ = { vps: void 0, sps: S, pps: void 0, details: w }) : (this.video_metadata_.sps = S, this.video_metadata_.details = Ve(Ve({}, this.video_metadata_.details), w))) : S.type === Ee.kSlicePPS ? (!this.video_init_segment_dispatched_ || this.video_metadata_changed_) && (w = ne.parsePPS(p.data), this.video_metadata_.pps = S, this.video_metadata_.details = Ve(Ve({}, this.video_metadata_.details), w), this.video_metadata_.vps && this.video_metadata_.sps && this.video_metadata_.pps && (this.video_metadata_changed_ && this.dispatchVideoMediaSegment(), this.dispatchVideoInitSegment())) : S.type !== Ee.kSliceIDR_W_RADL && S.type !== Ee.kSliceIDR_N_LP && S.type !== Ee.kSliceCRA_NUT || (A = !0);
1898
1898
  this.video_init_segment_dispatched_ && (g.push(S), E += S.data.byteLength);
1899
1899
  }
1900
- var I = Math.floor(e / this.timescale_), z = Math.floor(a / this.timescale_);
1900
+ var I = Math.floor(e / this.timescale_), z = Math.floor(n / this.timescale_);
1901
1901
  if (g.length) {
1902
1902
  var N = this.video_track_, J = { units: g, length: E, isKeyframe: A, dts: z, pts: I, cts: I - z, file_position: s };
1903
1903
  N.samples.push(J), N.length += E;
@@ -1905,8 +1905,8 @@ var Tt = { exports: {} };
1905
1905
  }, t.prototype.detectVideoMetadataChange = function(i, e) {
1906
1906
  if (e.codec_mimetype !== this.video_metadata_.details.codec_mimetype) return m.a.v(this.TAG, "Video: Codec mimeType changed from " + this.video_metadata_.details.codec_mimetype + " to " + e.codec_mimetype), !0;
1907
1907
  if (e.codec_size.width !== this.video_metadata_.details.codec_size.width || e.codec_size.height !== this.video_metadata_.details.codec_size.height) {
1908
- var a = this.video_metadata_.details.codec_size, s = e.codec_size;
1909
- return m.a.v(this.TAG, "Video: Coded Resolution changed from " + a.width + "x" + a.height + " to " + s.width + "x" + s.height), !0;
1908
+ var n = this.video_metadata_.details.codec_size, s = e.codec_size;
1909
+ return m.a.v(this.TAG, "Video: Coded Resolution changed from " + n.width + "x" + n.height + " to " + s.width + "x" + s.height), !0;
1910
1910
  }
1911
1911
  return e.present_size.width !== this.video_metadata_.details.present_size.width && (m.a.v(this.TAG, "Video: Present resolution width changed from " + this.video_metadata_.details.present_size.width + " to " + e.present_size.width), !0);
1912
1912
  }, t.prototype.isInitSegmentDispatched = function() {
@@ -1914,9 +1914,9 @@ var Tt = { exports: {} };
1914
1914
  }, t.prototype.dispatchVideoInitSegment = function() {
1915
1915
  var i = this.video_metadata_.details, e = { type: "video" };
1916
1916
  e.id = this.video_track_.id, e.timescale = 1e3, e.duration = this.duration_, e.codecWidth = i.codec_size.width, e.codecHeight = i.codec_size.height, e.presentWidth = i.present_size.width, e.presentHeight = i.present_size.height, e.profile = i.profile_string, e.level = i.level_string, e.bitDepth = i.bit_depth, e.chromaFormat = i.chroma_format, e.sarRatio = i.sar_ratio, e.frameRate = i.frame_rate;
1917
- var a = e.frameRate.fps_den, s = e.frameRate.fps_num;
1918
- if (e.refSampleDuration = a / s * 1e3, e.codec = i.codec_mimetype, this.video_metadata_.vps) {
1919
- var n = this.video_metadata_.vps.data.subarray(4), o = this.video_metadata_.sps.data.subarray(4), p = this.video_metadata_.pps.data.subarray(4), g = new xt(n, o, p, i);
1917
+ var n = e.frameRate.fps_den, s = e.frameRate.fps_num;
1918
+ if (e.refSampleDuration = n / s * 1e3, e.codec = i.codec_mimetype, this.video_metadata_.vps) {
1919
+ var a = this.video_metadata_.vps.data.subarray(4), o = this.video_metadata_.sps.data.subarray(4), p = this.video_metadata_.pps.data.subarray(4), g = new xt(a, o, p, i);
1920
1920
  e.hvcc = g.getData(), this.video_init_segment_dispatched_ == 0 && m.a.v(this.TAG, "Generated first HEVCDecoderConfigurationRecord for mimeType: " + e.codec);
1921
1921
  } else {
1922
1922
  o = this.video_metadata_.sps.data.subarray(4), p = this.video_metadata_.pps.data.subarray(4);
@@ -1935,20 +1935,20 @@ var Tt = { exports: {} };
1935
1935
  }, t.prototype.parseADTSAACPayload = function(i, e) {
1936
1936
  if (!this.has_video_ || this.video_init_segment_dispatched_) {
1937
1937
  if (this.aac_last_incomplete_data_) {
1938
- var a = new Uint8Array(i.byteLength + this.aac_last_incomplete_data_.byteLength);
1939
- a.set(this.aac_last_incomplete_data_, 0), a.set(i, this.aac_last_incomplete_data_.byteLength), i = a;
1938
+ var n = new Uint8Array(i.byteLength + this.aac_last_incomplete_data_.byteLength);
1939
+ n.set(this.aac_last_incomplete_data_, 0), n.set(i, this.aac_last_incomplete_data_.byteLength), i = n;
1940
1940
  }
1941
- var s, n;
1942
- if (e != null && (n = e / this.timescale_), this.audio_metadata_.codec === "aac") {
1943
- if (e == null && this.aac_last_sample_pts_ != null) s = 1024 / this.audio_metadata_.sampling_frequency * 1e3, n = this.aac_last_sample_pts_ + s;
1941
+ var s, a;
1942
+ if (e != null && (a = e / this.timescale_), this.audio_metadata_.codec === "aac") {
1943
+ if (e == null && this.aac_last_sample_pts_ != null) s = 1024 / this.audio_metadata_.sampling_frequency * 1e3, a = this.aac_last_sample_pts_ + s;
1944
1944
  else if (e == null) return void m.a.w(this.TAG, "AAC: Unknown pts");
1945
1945
  if (this.aac_last_incomplete_data_ && this.aac_last_sample_pts_) {
1946
1946
  s = 1024 / this.audio_metadata_.sampling_frequency * 1e3;
1947
1947
  var o = this.aac_last_sample_pts_ + s;
1948
- Math.abs(o - n) > 1 && (m.a.w(this.TAG, "AAC: Detected pts overlapped, expected: " + o + "ms, PES pts: " + n + "ms"), n = o);
1948
+ Math.abs(o - a) > 1 && (m.a.w(this.TAG, "AAC: Detected pts overlapped, expected: " + o + "ms, PES pts: " + a + "ms"), a = o);
1949
1949
  }
1950
1950
  }
1951
- for (var p, g = new $(i), E = null, A = n; (E = g.readNextAACFrame()) != null; ) {
1951
+ for (var p, g = new $(i), E = null, A = a; (E = g.readNextAACFrame()) != null; ) {
1952
1952
  s = 1024 / E.sampling_frequency * 1e3;
1953
1953
  var S = { codec: "aac", data: E };
1954
1954
  this.audio_init_segment_dispatched_ == 0 ? (this.audio_metadata_ = { codec: "aac", audio_object_type: E.audio_object_type, sampling_freq_index: E.sampling_freq_index, sampling_frequency: E.sampling_frequency, channel_config: E.channel_config }, this.dispatchAudioInitSegment(S)) : this.detectAudioMetadataChange(S) && (this.dispatchAudioMediaSegment(), this.dispatchAudioInitSegment(S)), p = A;
@@ -1958,66 +1958,66 @@ var Tt = { exports: {} };
1958
1958
  g.hasIncompleteData() && (this.aac_last_incomplete_data_ = g.getIncompleteData()), p && (this.aac_last_sample_pts_ = p);
1959
1959
  }
1960
1960
  }, t.prototype.parseLOASAACPayload = function(i, e) {
1961
- var a;
1961
+ var n;
1962
1962
  if (!this.has_video_ || this.video_init_segment_dispatched_) {
1963
1963
  if (this.aac_last_incomplete_data_) {
1964
1964
  var s = new Uint8Array(i.byteLength + this.aac_last_incomplete_data_.byteLength);
1965
1965
  s.set(this.aac_last_incomplete_data_, 0), s.set(i, this.aac_last_incomplete_data_.byteLength), i = s;
1966
1966
  }
1967
- var n, o;
1967
+ var a, o;
1968
1968
  if (e != null && (o = e / this.timescale_), this.audio_metadata_.codec === "aac") {
1969
- if (e == null && this.aac_last_sample_pts_ != null) n = 1024 / this.audio_metadata_.sampling_frequency * 1e3, o = this.aac_last_sample_pts_ + n;
1969
+ if (e == null && this.aac_last_sample_pts_ != null) a = 1024 / this.audio_metadata_.sampling_frequency * 1e3, o = this.aac_last_sample_pts_ + a;
1970
1970
  else if (e == null) return void m.a.w(this.TAG, "AAC: Unknown pts");
1971
1971
  if (this.aac_last_incomplete_data_ && this.aac_last_sample_pts_) {
1972
- n = 1024 / this.audio_metadata_.sampling_frequency * 1e3;
1973
- var p = this.aac_last_sample_pts_ + n;
1972
+ a = 1024 / this.audio_metadata_.sampling_frequency * 1e3;
1973
+ var p = this.aac_last_sample_pts_ + a;
1974
1974
  Math.abs(p - o) > 1 && (m.a.w(this.TAG, "AAC: Detected pts overlapped, expected: " + p + "ms, PES pts: " + o + "ms"), o = p);
1975
1975
  }
1976
1976
  }
1977
- for (var g, E = new ie(i), A = null, S = o; (A = E.readNextAACFrame((a = this.loas_previous_frame) !== null && a !== void 0 ? a : void 0)) != null; ) {
1978
- this.loas_previous_frame = A, n = 1024 / A.sampling_frequency * 1e3;
1977
+ for (var g, E = new ie(i), A = null, S = o; (A = E.readNextAACFrame((n = this.loas_previous_frame) !== null && n !== void 0 ? n : void 0)) != null; ) {
1978
+ this.loas_previous_frame = A, a = 1024 / A.sampling_frequency * 1e3;
1979
1979
  var w = { codec: "aac", data: A };
1980
1980
  this.audio_init_segment_dispatched_ == 0 ? (this.audio_metadata_ = { codec: "aac", audio_object_type: A.audio_object_type, sampling_freq_index: A.sampling_freq_index, sampling_frequency: A.sampling_frequency, channel_config: A.channel_config }, this.dispatchAudioInitSegment(w)) : this.detectAudioMetadataChange(w) && (this.dispatchAudioMediaSegment(), this.dispatchAudioInitSegment(w)), g = S;
1981
1981
  var I = Math.floor(S), z = { unit: A.data, length: A.data.byteLength, pts: I, dts: I };
1982
- this.audio_track_.samples.push(z), this.audio_track_.length += A.data.byteLength, S += n;
1982
+ this.audio_track_.samples.push(z), this.audio_track_.length += A.data.byteLength, S += a;
1983
1983
  }
1984
1984
  E.hasIncompleteData() && (this.aac_last_incomplete_data_ = E.getIncompleteData()), g && (this.aac_last_sample_pts_ = g);
1985
1985
  }
1986
1986
  }, t.prototype.parseAC3Payload = function(i, e) {
1987
1987
  if (!this.has_video_ || this.video_init_segment_dispatched_) {
1988
- var a, s;
1988
+ var n, s;
1989
1989
  if (e != null && (s = e / this.timescale_), this.audio_metadata_.codec === "ac-3") {
1990
- if (e == null && this.aac_last_sample_pts_ != null) a = 1536 / this.audio_metadata_.sampling_frequency * 1e3, s = this.aac_last_sample_pts_ + a;
1990
+ if (e == null && this.aac_last_sample_pts_ != null) n = 1536 / this.audio_metadata_.sampling_frequency * 1e3, s = this.aac_last_sample_pts_ + n;
1991
1991
  else if (e == null) return void m.a.w(this.TAG, "Opus: Unknown pts");
1992
1992
  }
1993
- for (var n, o = new Vt(i), p = null, g = s; (p = o.readNextAC3Frame()) != null; ) {
1994
- a = 1536 / p.sampling_frequency * 1e3;
1993
+ for (var a, o = new Vt(i), p = null, g = s; (p = o.readNextAC3Frame()) != null; ) {
1994
+ n = 1536 / p.sampling_frequency * 1e3;
1995
1995
  var E = { codec: "ac-3", data: p };
1996
- this.audio_init_segment_dispatched_ == 0 ? (this.audio_metadata_ = { codec: "ac-3", sampling_frequency: p.sampling_frequency, bit_stream_identification: p.bit_stream_identification, bit_stream_mode: p.bit_stream_mode, low_frequency_effects_channel_on: p.low_frequency_effects_channel_on, channel_mode: p.channel_mode }, this.dispatchAudioInitSegment(E)) : this.detectAudioMetadataChange(E) && (this.dispatchAudioMediaSegment(), this.dispatchAudioInitSegment(E)), n = g;
1996
+ this.audio_init_segment_dispatched_ == 0 ? (this.audio_metadata_ = { codec: "ac-3", sampling_frequency: p.sampling_frequency, bit_stream_identification: p.bit_stream_identification, bit_stream_mode: p.bit_stream_mode, low_frequency_effects_channel_on: p.low_frequency_effects_channel_on, channel_mode: p.channel_mode }, this.dispatchAudioInitSegment(E)) : this.detectAudioMetadataChange(E) && (this.dispatchAudioMediaSegment(), this.dispatchAudioInitSegment(E)), a = g;
1997
1997
  var A = Math.floor(g), S = { unit: p.data, length: p.data.byteLength, pts: A, dts: A };
1998
- this.audio_track_.samples.push(S), this.audio_track_.length += p.data.byteLength, g += a;
1998
+ this.audio_track_.samples.push(S), this.audio_track_.length += p.data.byteLength, g += n;
1999
1999
  }
2000
- n && (this.aac_last_sample_pts_ = n);
2000
+ a && (this.aac_last_sample_pts_ = a);
2001
2001
  }
2002
2002
  }, t.prototype.parseOpusPayload = function(i, e) {
2003
2003
  if (!this.has_video_ || this.video_init_segment_dispatched_) {
2004
- var a, s;
2004
+ var n, s;
2005
2005
  if (e != null && (s = e / this.timescale_), this.audio_metadata_.codec === "opus") {
2006
- if (e == null && this.aac_last_sample_pts_ != null) a = 20, s = this.aac_last_sample_pts_ + a;
2006
+ if (e == null && this.aac_last_sample_pts_ != null) n = 20, s = this.aac_last_sample_pts_ + n;
2007
2007
  else if (e == null) return void m.a.w(this.TAG, "Opus: Unknown pts");
2008
2008
  }
2009
- for (var n, o = s, p = 0; p < i.length; ) {
2010
- a = 20;
2009
+ for (var a, o = s, p = 0; p < i.length; ) {
2010
+ n = 20;
2011
2011
  for (var g = (16 & i[p + 1]) != 0, E = (8 & i[p + 1]) != 0, A = p + 2, S = 0; i[A] === 255; ) S += 255, A += 1;
2012
- S += i[A], A += 1, A += g ? 2 : 0, A += E ? 2 : 0, n = o;
2012
+ S += i[A], A += 1, A += g ? 2 : 0, A += E ? 2 : 0, a = o;
2013
2013
  var w = Math.floor(o), I = i.slice(A, A + S), z = { unit: I, length: I.byteLength, pts: w, dts: w };
2014
- this.audio_track_.samples.push(z), this.audio_track_.length += I.byteLength, o += a, p = A + S;
2014
+ this.audio_track_.samples.push(z), this.audio_track_.length += I.byteLength, o += n, p = A + S;
2015
2015
  }
2016
- n && (this.aac_last_sample_pts_ = n);
2016
+ a && (this.aac_last_sample_pts_ = a);
2017
2017
  }
2018
2018
  }, t.prototype.parseMP3Payload = function(i, e) {
2019
2019
  if (!this.has_video_ || this.video_init_segment_dispatched_) {
2020
- var a = [0, 32, 64, 96, 128, 160, 192, 224, 256, 288, 320, 352, 384, 416, 448, -1], s = [0, 32, 48, 56, 64, 80, 96, 112, 128, 160, 192, 224, 256, 320, 384, -1], n = [0, 32, 40, 48, 56, 64, 80, 96, 112, 128, 160, 192, 224, 256, 320, -1], o = i[1] >>> 3 & 3, p = (6 & i[1]) >> 1, g = (240 & i[2]) >>> 4, E = (12 & i[2]) >>> 2, A = (i[3] >>> 6 & 3) !== 3 ? 2 : 1, S = 0, w = 34;
2020
+ var n = [0, 32, 64, 96, 128, 160, 192, 224, 256, 288, 320, 352, 384, 416, 448, -1], s = [0, 32, 48, 56, 64, 80, 96, 112, 128, 160, 192, 224, 256, 320, 384, -1], a = [0, 32, 40, 48, 56, 64, 80, 96, 112, 128, 160, 192, 224, 256, 320, -1], o = i[1] >>> 3 & 3, p = (6 & i[1]) >> 1, g = (240 & i[2]) >>> 4, E = (12 & i[2]) >>> 2, A = (i[3] >>> 6 & 3) !== 3 ? 2 : 1, S = 0, w = 34;
2021
2021
  switch (o) {
2022
2022
  case 0:
2023
2023
  S = [11025, 12e3, 8e3, 0][E];
@@ -2030,13 +2030,13 @@ var Tt = { exports: {} };
2030
2030
  }
2031
2031
  switch (p) {
2032
2032
  case 1:
2033
- w = 34, g < n.length && n[g];
2033
+ w = 34, g < a.length && a[g];
2034
2034
  break;
2035
2035
  case 2:
2036
2036
  w = 33, g < s.length && s[g];
2037
2037
  break;
2038
2038
  case 3:
2039
- w = 32, g < a.length && a[g];
2039
+ w = 32, g < n.length && n[g];
2040
2040
  }
2041
2041
  var I = new Nt();
2042
2042
  I.object_type = w, I.sample_rate = S, I.channel_count = A, I.data = i;
@@ -2059,60 +2059,60 @@ var Tt = { exports: {} };
2059
2059
  if (e.channel_mode !== this.audio_metadata_.channel_mode) return m.a.v(this.TAG, "AC3: Channel Mode changed from " + this.audio_metadata_.channel_mode + " to " + e.channel_mode), !0;
2060
2060
  if (e.low_frequency_effects_channel_on !== this.audio_metadata_.low_frequency_effects_channel_on) return m.a.v(this.TAG, "AC3: Low Frequency Effects Channel On changed from " + this.audio_metadata_.low_frequency_effects_channel_on + " to " + e.low_frequency_effects_channel_on), !0;
2061
2061
  } else if (i.codec === "opus" && this.audio_metadata_.codec === "opus") {
2062
- if ((a = i.meta).sample_rate !== this.audio_metadata_.sample_rate) return m.a.v(this.TAG, "Opus: SamplingFrequencyIndex changed from " + this.audio_metadata_.sample_rate + " to " + a.sample_rate), !0;
2063
- if (a.channel_count !== this.audio_metadata_.channel_count) return m.a.v(this.TAG, "Opus: Channel count changed from " + this.audio_metadata_.channel_count + " to " + a.channel_count), !0;
2062
+ if ((n = i.meta).sample_rate !== this.audio_metadata_.sample_rate) return m.a.v(this.TAG, "Opus: SamplingFrequencyIndex changed from " + this.audio_metadata_.sample_rate + " to " + n.sample_rate), !0;
2063
+ if (n.channel_count !== this.audio_metadata_.channel_count) return m.a.v(this.TAG, "Opus: Channel count changed from " + this.audio_metadata_.channel_count + " to " + n.channel_count), !0;
2064
2064
  } else if (i.codec === "mp3" && this.audio_metadata_.codec === "mp3") {
2065
- var a;
2066
- if ((a = i.data).object_type !== this.audio_metadata_.object_type) return m.a.v(this.TAG, "MP3: AudioObjectType changed from " + this.audio_metadata_.object_type + " to " + a.object_type), !0;
2067
- if (a.sample_rate !== this.audio_metadata_.sample_rate) return m.a.v(this.TAG, "MP3: SamplingFrequencyIndex changed from " + this.audio_metadata_.sample_rate + " to " + a.sample_rate), !0;
2068
- if (a.channel_count !== this.audio_metadata_.channel_count) return m.a.v(this.TAG, "MP3: Channel count changed from " + this.audio_metadata_.channel_count + " to " + a.channel_count), !0;
2065
+ var n;
2066
+ if ((n = i.data).object_type !== this.audio_metadata_.object_type) return m.a.v(this.TAG, "MP3: AudioObjectType changed from " + this.audio_metadata_.object_type + " to " + n.object_type), !0;
2067
+ if (n.sample_rate !== this.audio_metadata_.sample_rate) return m.a.v(this.TAG, "MP3: SamplingFrequencyIndex changed from " + this.audio_metadata_.sample_rate + " to " + n.sample_rate), !0;
2068
+ if (n.channel_count !== this.audio_metadata_.channel_count) return m.a.v(this.TAG, "MP3: Channel count changed from " + this.audio_metadata_.channel_count + " to " + n.channel_count), !0;
2069
2069
  }
2070
2070
  return !1;
2071
2071
  }, t.prototype.dispatchAudioInitSegment = function(i) {
2072
2072
  var e = { type: "audio" };
2073
2073
  if (e.id = this.audio_track_.id, e.timescale = 1e3, e.duration = this.duration_, this.audio_metadata_.codec === "aac") {
2074
- var a = i.codec === "aac" ? i.data : null, s = new re(a);
2074
+ var n = i.codec === "aac" ? i.data : null, s = new re(n);
2075
2075
  e.audioSampleRate = s.sampling_rate, e.channelCount = s.channel_count, e.codec = s.codec_mimetype, e.originalCodec = s.original_codec_mimetype, e.config = s.config, e.refSampleDuration = 1024 / e.audioSampleRate * e.timescale;
2076
2076
  } else if (this.audio_metadata_.codec === "ac-3") {
2077
- var n = i.codec === "ac-3" ? i.data : null, o = new jt(n);
2077
+ var a = i.codec === "ac-3" ? i.data : null, o = new jt(a);
2078
2078
  e.audioSampleRate = o.sampling_rate, e.channelCount = o.channel_count, e.codec = o.codec_mimetype, e.originalCodec = o.original_codec_mimetype, e.config = o.config, e.refSampleDuration = 1536 / e.audioSampleRate * e.timescale;
2079
2079
  } else this.audio_metadata_.codec === "opus" ? (e.audioSampleRate = this.audio_metadata_.sample_rate, e.channelCount = this.audio_metadata_.channel_count, e.channelConfigCode = this.audio_metadata_.channel_config_code, e.codec = "opus", e.originalCodec = "opus", e.config = void 0, e.refSampleDuration = 20) : this.audio_metadata_.codec === "mp3" && (e.audioSampleRate = this.audio_metadata_.sample_rate, e.channelCount = this.audio_metadata_.channel_count, e.codec = "mp3", e.originalCodec = "mp3", e.config = void 0);
2080
2080
  this.audio_init_segment_dispatched_ == 0 && m.a.v(this.TAG, "Generated first AudioSpecificConfig for mimeType: " + e.codec), this.onTrackMetadata("audio", e), this.audio_init_segment_dispatched_ = !0, this.video_metadata_changed_ = !1;
2081
2081
  var p = this.media_info_;
2082
2082
  p.hasAudio = !0, p.audioCodec = e.originalCodec, p.audioSampleRate = e.audioSampleRate, p.audioChannelCount = e.channelCount, p.hasVideo && p.videoCodec ? p.mimeType = 'video/mp2t; codecs="' + p.videoCodec + "," + p.audioCodec + '"' : p.mimeType = 'video/mp2t; codecs="' + p.audioCodec + '"', p.isComplete() && this.onMediaInfo(p);
2083
- }, t.prototype.dispatchPESPrivateDataDescriptor = function(i, e, a) {
2083
+ }, t.prototype.dispatchPESPrivateDataDescriptor = function(i, e, n) {
2084
2084
  var s = new we();
2085
- s.pid = i, s.stream_type = e, s.descriptor = a, this.onPESPrivateDataDescriptor && this.onPESPrivateDataDescriptor(s);
2086
- }, t.prototype.parsePESPrivateDataPayload = function(i, e, a, s, n) {
2085
+ s.pid = i, s.stream_type = e, s.descriptor = n, this.onPESPrivateDataDescriptor && this.onPESPrivateDataDescriptor(s);
2086
+ }, t.prototype.parsePESPrivateDataPayload = function(i, e, n, s, a) {
2087
2087
  var o = new ce();
2088
- if (o.pid = s, o.stream_id = n, o.len = i.byteLength, o.data = i, e != null) {
2088
+ if (o.pid = s, o.stream_id = a, o.len = i.byteLength, o.data = i, e != null) {
2089
2089
  var p = Math.floor(e / this.timescale_);
2090
2090
  o.pts = p;
2091
2091
  } else o.nearest_pts = this.aac_last_sample_pts_;
2092
- if (a != null) {
2093
- var g = Math.floor(a / this.timescale_);
2092
+ if (n != null) {
2093
+ var g = Math.floor(n / this.timescale_);
2094
2094
  o.dts = g;
2095
2095
  }
2096
2096
  this.onPESPrivateData && this.onPESPrivateData(o);
2097
- }, t.prototype.parseTimedID3MetadataPayload = function(i, e, a, s, n) {
2097
+ }, t.prototype.parseTimedID3MetadataPayload = function(i, e, n, s, a) {
2098
2098
  var o = new ce();
2099
- if (o.pid = s, o.stream_id = n, o.len = i.byteLength, o.data = i, e != null) {
2099
+ if (o.pid = s, o.stream_id = a, o.len = i.byteLength, o.data = i, e != null) {
2100
2100
  var p = Math.floor(e / this.timescale_);
2101
2101
  o.pts = p;
2102
2102
  }
2103
- if (a != null) {
2104
- var g = Math.floor(a / this.timescale_);
2103
+ if (n != null) {
2104
+ var g = Math.floor(n / this.timescale_);
2105
2105
  o.dts = g;
2106
2106
  }
2107
2107
  this.onTimedID3Metadata && this.onTimedID3Metadata(o);
2108
- }, t.prototype.parseSMPTE2038MetadataPayload = function(i, e, a, s, n) {
2108
+ }, t.prototype.parseSMPTE2038MetadataPayload = function(i, e, n, s, a) {
2109
2109
  var o = new Ut();
2110
- if (o.pid = s, o.stream_id = n, o.len = i.byteLength, o.data = i, e != null) {
2110
+ if (o.pid = s, o.stream_id = a, o.len = i.byteLength, o.data = i, e != null) {
2111
2111
  var p = Math.floor(e / this.timescale_);
2112
2112
  o.pts = p;
2113
2113
  }
2114
- if (o.nearest_pts = this.aac_last_sample_pts_, a != null) {
2115
- var g = Math.floor(a / this.timescale_);
2114
+ if (o.nearest_pts = this.aac_last_sample_pts_, n != null) {
2115
+ var g = Math.floor(n / this.timescale_);
2116
2116
  o.dts = g;
2117
2117
  }
2118
2118
  o.ancillaries = function(E) {
@@ -2142,8 +2142,8 @@ var Tt = { exports: {} };
2142
2142
  }, t;
2143
2143
  }(c), Ht = function() {
2144
2144
  for (var r = 0, t = 0, i = arguments.length; t < i; t++) r += arguments[t].length;
2145
- var e = Array(r), a = 0;
2146
- for (t = 0; t < i; t++) for (var s = arguments[t], n = 0, o = s.length; n < o; n++, a++) e[a] = s[n];
2145
+ var e = Array(r), n = 0;
2146
+ for (t = 0; t < i; t++) for (var s = arguments[t], a = 0, o = s.length; a < o; a++, n++) e[n] = s[a];
2147
2147
  return e;
2148
2148
  }, _t = function() {
2149
2149
  function r() {
@@ -2153,24 +2153,24 @@ var Tt = { exports: {} };
2153
2153
  var i = r.constants = {};
2154
2154
  i.FTYP = new Uint8Array([105, 115, 111, 109, 0, 0, 0, 1, 105, 115, 111, 109, 97, 118, 99, 49]), i.STSD_PREFIX = new Uint8Array([0, 0, 0, 0, 0, 0, 0, 1]), i.STTS = new Uint8Array([0, 0, 0, 0, 0, 0, 0, 0]), i.STSC = i.STCO = i.STTS, i.STSZ = new Uint8Array([0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]), i.HDLR_VIDEO = new Uint8Array([0, 0, 0, 0, 0, 0, 0, 0, 118, 105, 100, 101, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 86, 105, 100, 101, 111, 72, 97, 110, 100, 108, 101, 114, 0]), i.HDLR_AUDIO = new Uint8Array([0, 0, 0, 0, 0, 0, 0, 0, 115, 111, 117, 110, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 83, 111, 117, 110, 100, 72, 97, 110, 100, 108, 101, 114, 0]), i.DREF = new Uint8Array([0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 12, 117, 114, 108, 32, 0, 0, 0, 1]), i.SMHD = new Uint8Array([0, 0, 0, 0, 0, 0, 0, 0]), i.VMHD = new Uint8Array([0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0]);
2155
2155
  }, r.box = function(t) {
2156
- for (var i = 8, e = null, a = Array.prototype.slice.call(arguments, 1), s = a.length, n = 0; n < s; n++) i += a[n].byteLength;
2156
+ for (var i = 8, e = null, n = Array.prototype.slice.call(arguments, 1), s = n.length, a = 0; a < s; a++) i += n[a].byteLength;
2157
2157
  (e = new Uint8Array(i))[0] = i >>> 24 & 255, e[1] = i >>> 16 & 255, e[2] = i >>> 8 & 255, e[3] = 255 & i, e.set(t, 4);
2158
2158
  var o = 8;
2159
- for (n = 0; n < s; n++) e.set(a[n], o), o += a[n].byteLength;
2159
+ for (a = 0; a < s; a++) e.set(n[a], o), o += n[a].byteLength;
2160
2160
  return e;
2161
2161
  }, r.generateInitSegment = function(t) {
2162
- var i = r.box(r.types.ftyp, r.constants.FTYP), e = r.moov(t), a = new Uint8Array(i.byteLength + e.byteLength);
2163
- return a.set(i, 0), a.set(e, i.byteLength), a;
2162
+ var i = r.box(r.types.ftyp, r.constants.FTYP), e = r.moov(t), n = new Uint8Array(i.byteLength + e.byteLength);
2163
+ return n.set(i, 0), n.set(e, i.byteLength), n;
2164
2164
  }, r.moov = function(t) {
2165
- var i = r.mvhd(t.timescale, t.duration), e = r.trak(t), a = r.mvex(t);
2166
- return r.box(r.types.moov, i, e, a);
2165
+ var i = r.mvhd(t.timescale, t.duration), e = r.trak(t), n = r.mvex(t);
2166
+ return r.box(r.types.moov, i, e, n);
2167
2167
  }, r.mvhd = function(t, i) {
2168
2168
  return r.box(r.types.mvhd, new Uint8Array([0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, t >>> 24 & 255, t >>> 16 & 255, t >>> 8 & 255, 255 & t, i >>> 24 & 255, i >>> 16 & 255, i >>> 8 & 255, 255 & i, 0, 1, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 64, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 255, 255, 255, 255]));
2169
2169
  }, r.trak = function(t) {
2170
2170
  return r.box(r.types.trak, r.tkhd(t), r.mdia(t));
2171
2171
  }, r.tkhd = function(t) {
2172
- var i = t.id, e = t.duration, a = t.presentWidth, s = t.presentHeight;
2173
- return r.box(r.types.tkhd, new Uint8Array([0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 0, i >>> 24 & 255, i >>> 16 & 255, i >>> 8 & 255, 255 & i, 0, 0, 0, 0, e >>> 24 & 255, e >>> 16 & 255, e >>> 8 & 255, 255 & e, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 64, 0, 0, 0, a >>> 8 & 255, 255 & a, 0, 0, s >>> 8 & 255, 255 & s, 0, 0]));
2172
+ var i = t.id, e = t.duration, n = t.presentWidth, s = t.presentHeight;
2173
+ return r.box(r.types.tkhd, new Uint8Array([0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 0, i >>> 24 & 255, i >>> 16 & 255, i >>> 8 & 255, 255 & i, 0, 0, 0, 0, e >>> 24 & 255, e >>> 16 & 255, e >>> 8 & 255, 255 & e, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 64, 0, 0, 0, n >>> 8 & 255, 255 & n, 0, 0, s >>> 8 & 255, 255 & s, 0, 0]));
2174
2174
  }, r.mdia = function(t) {
2175
2175
  return r.box(r.types.mdia, r.mdhd(t), r.hdlr(t), r.minf(t));
2176
2176
  }, r.mdhd = function(t) {
@@ -2189,23 +2189,23 @@ var Tt = { exports: {} };
2189
2189
  }, r.stsd = function(t) {
2190
2190
  return t.type === "audio" ? t.codec === "mp3" ? r.box(r.types.stsd, r.constants.STSD_PREFIX, r.mp3(t)) : t.codec === "ac-3" ? r.box(r.types.stsd, r.constants.STSD_PREFIX, r.ac3(t)) : t.codec === "opus" ? r.box(r.types.stsd, r.constants.STSD_PREFIX, r.Opus(t)) : r.box(r.types.stsd, r.constants.STSD_PREFIX, r.mp4a(t)) : t.type === "video" && t.codec.startsWith("hvc1") ? r.box(r.types.stsd, r.constants.STSD_PREFIX, r.hvc1(t)) : r.box(r.types.stsd, r.constants.STSD_PREFIX, r.avc1(t));
2191
2191
  }, r.mp3 = function(t) {
2192
- var i = t.channelCount, e = t.audioSampleRate, a = new Uint8Array([0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, i, 0, 16, 0, 0, 0, 0, e >>> 8 & 255, 255 & e, 0, 0]);
2193
- return r.box(r.types[".mp3"], a);
2192
+ var i = t.channelCount, e = t.audioSampleRate, n = new Uint8Array([0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, i, 0, 16, 0, 0, 0, 0, e >>> 8 & 255, 255 & e, 0, 0]);
2193
+ return r.box(r.types[".mp3"], n);
2194
2194
  }, r.mp4a = function(t) {
2195
- var i = t.channelCount, e = t.audioSampleRate, a = new Uint8Array([0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, i, 0, 16, 0, 0, 0, 0, e >>> 8 & 255, 255 & e, 0, 0]);
2196
- return r.box(r.types.mp4a, a, r.esds(t));
2195
+ var i = t.channelCount, e = t.audioSampleRate, n = new Uint8Array([0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, i, 0, 16, 0, 0, 0, 0, e >>> 8 & 255, 255 & e, 0, 0]);
2196
+ return r.box(r.types.mp4a, n, r.esds(t));
2197
2197
  }, r.ac3 = function(t) {
2198
- var i = t.channelCount, e = t.audioSampleRate, a = new Uint8Array([0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, i, 0, 16, 0, 0, 0, 0, e >>> 8 & 255, 255 & e, 0, 0]);
2199
- return r.box(r.types["ac-3"], a, r.box(r.types.dac3, new Uint8Array(t.config)));
2198
+ var i = t.channelCount, e = t.audioSampleRate, n = new Uint8Array([0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, i, 0, 16, 0, 0, 0, 0, e >>> 8 & 255, 255 & e, 0, 0]);
2199
+ return r.box(r.types["ac-3"], n, r.box(r.types.dac3, new Uint8Array(t.config)));
2200
2200
  }, r.esds = function(t) {
2201
- var i = t.config || [], e = i.length, a = new Uint8Array([0, 0, 0, 0, 3, 23 + e, 0, 1, 0, 4, 15 + e, 64, 21, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 5].concat([e]).concat(i).concat([6, 1, 2]));
2202
- return r.box(r.types.esds, a);
2201
+ var i = t.config || [], e = i.length, n = new Uint8Array([0, 0, 0, 0, 3, 23 + e, 0, 1, 0, 4, 15 + e, 64, 21, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 5].concat([e]).concat(i).concat([6, 1, 2]));
2202
+ return r.box(r.types.esds, n);
2203
2203
  }, r.Opus = function(t) {
2204
- var i = t.channelCount, e = t.audioSampleRate, a = new Uint8Array([0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, i, 0, 16, 0, 0, 0, 0, e >>> 8 & 255, 255 & e, 0, 0]);
2205
- return r.box(r.types.Opus, a, r.dOps(t));
2204
+ var i = t.channelCount, e = t.audioSampleRate, n = new Uint8Array([0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, i, 0, 16, 0, 0, 0, 0, e >>> 8 & 255, 255 & e, 0, 0]);
2205
+ return r.box(r.types.Opus, n, r.dOps(t));
2206
2206
  }, r.dOps = function(t) {
2207
- var i = t.channelCount, e = t.channelConfigCode, a = t.audioSampleRate;
2208
- if (t.config) return r.box(r.types.dOps, n);
2207
+ var i = t.channelCount, e = t.channelConfigCode, n = t.audioSampleRate;
2208
+ if (t.config) return r.box(r.types.dOps, a);
2209
2209
  var s = [];
2210
2210
  switch (e) {
2211
2211
  case 1:
@@ -2257,13 +2257,13 @@ var Tt = { exports: {} };
2257
2257
  case 136:
2258
2258
  s = [1, 1, 8, 0, 1, 2, 3, 4, 5, 6, 7];
2259
2259
  }
2260
- var n = new Uint8Array(Ht([0, i, 0, 0, a >>> 24 & 255, a >>> 17 & 255, a >>> 8 & 255, a >>> 0 & 255, 0, 0], s));
2261
- return r.box(r.types.dOps, n);
2260
+ var a = new Uint8Array(Ht([0, i, 0, 0, n >>> 24 & 255, n >>> 17 & 255, n >>> 8 & 255, n >>> 0 & 255, 0, 0], s));
2261
+ return r.box(r.types.dOps, a);
2262
2262
  }, r.avc1 = function(t) {
2263
- var i = t.avcc, e = t.codecWidth, a = t.codecHeight, s = new Uint8Array([0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, e >>> 8 & 255, 255 & e, a >>> 8 & 255, 255 & a, 0, 72, 0, 0, 0, 72, 0, 0, 0, 0, 0, 0, 0, 1, 10, 120, 113, 113, 47, 102, 108, 118, 46, 106, 115, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 24, 255, 255]);
2263
+ var i = t.avcc, e = t.codecWidth, n = t.codecHeight, s = new Uint8Array([0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, e >>> 8 & 255, 255 & e, n >>> 8 & 255, 255 & n, 0, 72, 0, 0, 0, 72, 0, 0, 0, 0, 0, 0, 0, 1, 10, 120, 113, 113, 47, 102, 108, 118, 46, 106, 115, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 24, 255, 255]);
2264
2264
  return r.box(r.types.avc1, s, r.box(r.types.avcC, i));
2265
2265
  }, r.hvc1 = function(t) {
2266
- var i = t.hvcc, e = t.codecWidth, a = t.codecHeight, s = new Uint8Array([0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, e >>> 8 & 255, 255 & e, a >>> 8 & 255, 255 & a, 0, 72, 0, 0, 0, 72, 0, 0, 0, 0, 0, 0, 0, 1, 10, 120, 113, 113, 47, 102, 108, 118, 46, 106, 115, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 24, 255, 255]);
2266
+ var i = t.hvcc, e = t.codecWidth, n = t.codecHeight, s = new Uint8Array([0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, e >>> 8 & 255, 255 & e, n >>> 8 & 255, 255 & n, 0, 72, 0, 0, 0, 72, 0, 0, 0, 0, 0, 0, 0, 1, 10, 120, 113, 113, 47, 102, 108, 118, 46, 106, 115, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 24, 255, 255]);
2267
2267
  return r.box(r.types.hvc1, s, r.box(r.types.hvcC, i));
2268
2268
  }, r.mvex = function(t) {
2269
2269
  return r.box(r.types.mvex, r.trex(t));
@@ -2276,22 +2276,22 @@ var Tt = { exports: {} };
2276
2276
  var i = new Uint8Array([0, 0, 0, 0, t >>> 24 & 255, t >>> 16 & 255, t >>> 8 & 255, 255 & t]);
2277
2277
  return r.box(r.types.mfhd, i);
2278
2278
  }, r.traf = function(t, i) {
2279
- var e = t.id, a = r.box(r.types.tfhd, new Uint8Array([0, 0, 0, 0, e >>> 24 & 255, e >>> 16 & 255, e >>> 8 & 255, 255 & e])), s = r.box(r.types.tfdt, new Uint8Array([0, 0, 0, 0, i >>> 24 & 255, i >>> 16 & 255, i >>> 8 & 255, 255 & i])), n = r.sdtp(t), o = r.trun(t, n.byteLength + 16 + 16 + 8 + 16 + 8 + 8);
2280
- return r.box(r.types.traf, a, s, o, n);
2279
+ var e = t.id, n = r.box(r.types.tfhd, new Uint8Array([0, 0, 0, 0, e >>> 24 & 255, e >>> 16 & 255, e >>> 8 & 255, 255 & e])), s = r.box(r.types.tfdt, new Uint8Array([0, 0, 0, 0, i >>> 24 & 255, i >>> 16 & 255, i >>> 8 & 255, 255 & i])), a = r.sdtp(t), o = r.trun(t, a.byteLength + 16 + 16 + 8 + 16 + 8 + 8);
2280
+ return r.box(r.types.traf, n, s, o, a);
2281
2281
  }, r.sdtp = function(t) {
2282
- for (var i = t.samples || [], e = i.length, a = new Uint8Array(4 + e), s = 0; s < e; s++) {
2283
- var n = i[s].flags;
2284
- a[s + 4] = n.isLeading << 6 | n.dependsOn << 4 | n.isDependedOn << 2 | n.hasRedundancy;
2282
+ for (var i = t.samples || [], e = i.length, n = new Uint8Array(4 + e), s = 0; s < e; s++) {
2283
+ var a = i[s].flags;
2284
+ n[s + 4] = a.isLeading << 6 | a.dependsOn << 4 | a.isDependedOn << 2 | a.hasRedundancy;
2285
2285
  }
2286
- return r.box(r.types.sdtp, a);
2286
+ return r.box(r.types.sdtp, n);
2287
2287
  }, r.trun = function(t, i) {
2288
- var e = t.samples || [], a = e.length, s = 12 + 16 * a, n = new Uint8Array(s);
2289
- i += 8 + s, n.set([0, 0, 15, 1, a >>> 24 & 255, a >>> 16 & 255, a >>> 8 & 255, 255 & a, i >>> 24 & 255, i >>> 16 & 255, i >>> 8 & 255, 255 & i], 0);
2290
- for (var o = 0; o < a; o++) {
2288
+ var e = t.samples || [], n = e.length, s = 12 + 16 * n, a = new Uint8Array(s);
2289
+ i += 8 + s, a.set([0, 0, 15, 1, n >>> 24 & 255, n >>> 16 & 255, n >>> 8 & 255, 255 & n, i >>> 24 & 255, i >>> 16 & 255, i >>> 8 & 255, 255 & i], 0);
2290
+ for (var o = 0; o < n; o++) {
2291
2291
  var p = e[o].duration, g = e[o].size, E = e[o].flags, A = e[o].cts;
2292
- n.set([p >>> 24 & 255, p >>> 16 & 255, p >>> 8 & 255, 255 & p, g >>> 24 & 255, g >>> 16 & 255, g >>> 8 & 255, 255 & g, E.isLeading << 2 | E.dependsOn, E.isDependedOn << 6 | E.hasRedundancy << 4 | E.isNonSync, 0, 0, A >>> 24 & 255, A >>> 16 & 255, A >>> 8 & 255, 255 & A], 12 + 16 * o);
2292
+ a.set([p >>> 24 & 255, p >>> 16 & 255, p >>> 8 & 255, 255 & p, g >>> 24 & 255, g >>> 16 & 255, g >>> 8 & 255, 255 & g, E.isLeading << 2 | E.dependsOn, E.isDependedOn << 6 | E.hasRedundancy << 4 | E.isNonSync, 0, 0, A >>> 24 & 255, A >>> 16 & 255, A >>> 8 & 255, 255 & A], 12 + 16 * o);
2293
2293
  }
2294
- return r.box(r.types.trun, n);
2294
+ return r.box(r.types.trun, a);
2295
2295
  }, r.mdat = function(t) {
2296
2296
  return r.box(r.types.mdat, t);
2297
2297
  }, r;
@@ -2339,14 +2339,14 @@ var Tt = { exports: {} };
2339
2339
  if (!this._onMediaSegment) throw new C.a("MP4Remuxer: onMediaSegment callback must be specificed!");
2340
2340
  this._dtsBaseInited || this._calculateDtsBase(t, i), i && this._remuxVideo(i), t && this._remuxAudio(t);
2341
2341
  }, r.prototype._onTrackMetadataReceived = function(t, i) {
2342
- var e = null, a = "mp4", s = i.codec;
2343
- if (t === "audio") this._audioMeta = i, i.codec === "mp3" && this._mp3UseMpegAudio ? (a = "mpeg", s = "", e = new Uint8Array()) : e = ze.generateInitSegment(i);
2342
+ var e = null, n = "mp4", s = i.codec;
2343
+ if (t === "audio") this._audioMeta = i, i.codec === "mp3" && this._mp3UseMpegAudio ? (n = "mpeg", s = "", e = new Uint8Array()) : e = ze.generateInitSegment(i);
2344
2344
  else {
2345
2345
  if (t !== "video") return;
2346
2346
  this._videoMeta = i, e = ze.generateInitSegment(i);
2347
2347
  }
2348
2348
  if (!this._onInitSegment) throw new C.a("MP4Remuxer: onInitSegment callback must be specified!");
2349
- this._onInitSegment(t, { type: t, data: e.buffer, codec: s, container: t + "/" + a, mediaDuration: i.duration });
2349
+ this._onInitSegment(t, { type: t, data: e.buffer, codec: s, container: t + "/" + n, mediaDuration: i.duration });
2350
2350
  }, r.prototype._calculateDtsBase = function(t, i) {
2351
2351
  this._dtsBaseInited || (t && t.samples && t.samples.length && (this._audioDtsBase = t.samples[0].dts), i && i.samples && i.samples.length && (this._videoDtsBase = i.samples[0].dts), this._dtsBase = Math.min(this._audioDtsBase, this._videoDtsBase), this._dtsBaseInited = !0);
2352
2352
  }, r.prototype.getTimestampBase = function() {
@@ -2354,14 +2354,14 @@ var Tt = { exports: {} };
2354
2354
  }, r.prototype.flushStashedSamples = function() {
2355
2355
  var t = this._videoStashedLastSample, i = this._audioStashedLastSample, e = { type: "video", id: 1, sequenceNumber: 0, samples: [], length: 0 };
2356
2356
  t != null && (e.samples.push(t), e.length = t.length);
2357
- var a = { type: "audio", id: 2, sequenceNumber: 0, samples: [], length: 0 };
2358
- i != null && (a.samples.push(i), a.length = i.length), this._videoStashedLastSample = null, this._audioStashedLastSample = null, this._remuxVideo(e, !0), this._remuxAudio(a, !0);
2357
+ var n = { type: "audio", id: 2, sequenceNumber: 0, samples: [], length: 0 };
2358
+ i != null && (n.samples.push(i), n.length = i.length), this._videoStashedLastSample = null, this._audioStashedLastSample = null, this._remuxVideo(e, !0), this._remuxAudio(n, !0);
2359
2359
  }, r.prototype._remuxAudio = function(t, i) {
2360
2360
  if (this._audioMeta != null) {
2361
- var e, a = t, s = a.samples, n = void 0, o = -1, p = this._audioMeta.refSampleDuration, g = this._audioMeta.codec === "mp3" && this._mp3UseMpegAudio, E = this._dtsBaseInited && this._audioNextDts === void 0, A = !1;
2361
+ var e, n = t, s = n.samples, a = void 0, o = -1, p = this._audioMeta.refSampleDuration, g = this._audioMeta.codec === "mp3" && this._mp3UseMpegAudio, E = this._dtsBaseInited && this._audioNextDts === void 0, A = !1;
2362
2362
  if (s && s.length !== 0 && (s.length !== 1 || i)) {
2363
2363
  var S = 0, w = null, I = 0;
2364
- g ? (S = 0, I = a.length) : (S = 8, I = 8 + a.length);
2364
+ g ? (S = 0, I = n.length) : (S = 8, I = 8 + n.length);
2365
2365
  var z = null;
2366
2366
  if (s.length > 1 && (I -= (z = s.pop()).length), this._audioStashedLastSample != null) {
2367
2367
  var N = this._audioStashedLastSample;
@@ -2369,17 +2369,17 @@ var Tt = { exports: {} };
2369
2369
  }
2370
2370
  z != null && (this._audioStashedLastSample = z);
2371
2371
  var J = s[0].dts - this._dtsBase;
2372
- if (this._audioNextDts) n = J - this._audioNextDts;
2373
- else if (this._audioSegmentInfoList.isEmpty()) n = 0, this._fillSilentAfterSeek && !this._videoSegmentInfoList.isEmpty() && this._audioMeta.originalCodec !== "mp3" && (A = !0);
2372
+ if (this._audioNextDts) a = J - this._audioNextDts;
2373
+ else if (this._audioSegmentInfoList.isEmpty()) a = 0, this._fillSilentAfterSeek && !this._videoSegmentInfoList.isEmpty() && this._audioMeta.originalCodec !== "mp3" && (A = !0);
2374
2374
  else {
2375
2375
  var W = this._audioSegmentInfoList.getLastSampleBefore(J);
2376
2376
  if (W != null) {
2377
2377
  var q = J - (W.originalDts + W.duration);
2378
- q <= 3 && (q = 0), n = J - (W.dts + W.duration + q);
2379
- } else n = 0;
2378
+ q <= 3 && (q = 0), a = J - (W.dts + W.duration + q);
2379
+ } else a = 0;
2380
2380
  }
2381
2381
  if (A) {
2382
- var de = J - n, he = this._videoSegmentInfoList.getLastSegmentBefore(J);
2382
+ var de = J - a, he = this._videoSegmentInfoList.getLastSegmentBefore(J);
2383
2383
  if (he != null && he.beginDts < de) {
2384
2384
  if (ke = ht.getSilentFrame(this._audioMeta.originalCodec, this._audioMeta.channelCount)) {
2385
2385
  var K = he.beginDts, Q = de - he.beginDts;
@@ -2388,55 +2388,55 @@ var Tt = { exports: {} };
2388
2388
  } else A = !1;
2389
2389
  }
2390
2390
  for (var _e = [], te = 0; te < s.length; te++) {
2391
- var ne = (N = s[te]).unit, be = N.dts - this._dtsBase, Ae = (K = be, !1), le = null, ye = 0;
2391
+ var ae = (N = s[te]).unit, be = N.dts - this._dtsBase, Ae = (K = be, !1), le = null, ve = 0;
2392
2392
  if (!(be < -1e-3)) {
2393
2393
  if (this._audioMeta.codec !== "mp3") {
2394
2394
  var Re = be;
2395
- if (this._audioNextDts && (Re = this._audioNextDts), (n = be - Re) <= -3 * p) {
2396
- m.a.w(this.TAG, "Dropping 1 audio frame (originalDts: " + be + " ms ,curRefDts: " + Re + " ms) due to dtsCorrection: " + n + " ms overlap.");
2395
+ if (this._audioNextDts && (Re = this._audioNextDts), (a = be - Re) <= -3 * p) {
2396
+ m.a.w(this.TAG, "Dropping 1 audio frame (originalDts: " + be + " ms ,curRefDts: " + Re + " ms) due to dtsCorrection: " + a + " ms overlap.");
2397
2397
  continue;
2398
2398
  }
2399
- if (n >= 3 * p && this._fillAudioTimestampGap && !b.a.safari) {
2399
+ if (a >= 3 * p && this._fillAudioTimestampGap && !b.a.safari) {
2400
2400
  Ae = !0;
2401
- var ke, Ne = Math.floor(n / p);
2401
+ var ke, Ne = Math.floor(a / p);
2402
2402
  m.a.w(this.TAG, `Large audio timestamp gap detected, may cause AV sync to drift. Silent frames will be generated to avoid unsync.
2403
- originalDts: ` + be + " ms, curRefDts: " + Re + " ms, dtsCorrection: " + Math.round(n) + " ms, generate: " + Ne + " frames"), K = Math.floor(Re), ye = Math.floor(Re + p) - K, (ke = ht.getSilentFrame(this._audioMeta.originalCodec, this._audioMeta.channelCount)) == null && (m.a.w(this.TAG, "Unable to generate silent frame for " + this._audioMeta.originalCodec + " with " + this._audioMeta.channelCount + " channels, repeat last frame"), ke = ne), le = [];
2403
+ originalDts: ` + be + " ms, curRefDts: " + Re + " ms, dtsCorrection: " + Math.round(a) + " ms, generate: " + Ne + " frames"), K = Math.floor(Re), ve = Math.floor(Re + p) - K, (ke = ht.getSilentFrame(this._audioMeta.originalCodec, this._audioMeta.channelCount)) == null && (m.a.w(this.TAG, "Unable to generate silent frame for " + this._audioMeta.originalCodec + " with " + this._audioMeta.channelCount + " channels, repeat last frame"), ke = ae), le = [];
2404
2404
  for (var Pe = 0; Pe < Ne; Pe++) {
2405
2405
  Re += p;
2406
2406
  var Ge = Math.floor(Re), je = Math.floor(Re + p) - Ge, Fe = { dts: Ge, pts: Ge, cts: 0, unit: ke, size: ke.byteLength, duration: je, originalDts: be, flags: { isLeading: 0, dependsOn: 1, isDependedOn: 0, hasRedundancy: 0 } };
2407
2407
  le.push(Fe), I += Fe.size;
2408
2408
  }
2409
2409
  this._audioNextDts = Re + p;
2410
- } else K = Math.floor(Re), ye = Math.floor(Re + p) - K, this._audioNextDts = Re + p;
2410
+ } else K = Math.floor(Re), ve = Math.floor(Re + p) - K, this._audioNextDts = Re + p;
2411
2411
  } else
2412
- K = be - n, te !== s.length - 1 ? ye = s[te + 1].dts - this._dtsBase - n - K : z != null ? ye = z.dts - this._dtsBase - n - K : ye = _e.length >= 1 ? _e[_e.length - 1].duration : Math.floor(p), this._audioNextDts = K + ye;
2413
- o === -1 && (o = K), _e.push({ dts: K, pts: K, cts: 0, unit: N.unit, size: N.unit.byteLength, duration: ye, originalDts: be, flags: { isLeading: 0, dependsOn: 1, isDependedOn: 0, hasRedundancy: 0 } }), Ae && _e.push.apply(_e, le);
2412
+ K = be - a, te !== s.length - 1 ? ve = s[te + 1].dts - this._dtsBase - a - K : z != null ? ve = z.dts - this._dtsBase - a - K : ve = _e.length >= 1 ? _e[_e.length - 1].duration : Math.floor(p), this._audioNextDts = K + ve;
2413
+ o === -1 && (o = K), _e.push({ dts: K, pts: K, cts: 0, unit: N.unit, size: N.unit.byteLength, duration: ve, originalDts: be, flags: { isLeading: 0, dependsOn: 1, isDependedOn: 0, hasRedundancy: 0 } }), Ae && _e.push.apply(_e, le);
2414
2414
  }
2415
2415
  }
2416
- if (_e.length === 0) return a.samples = [], void (a.length = 0);
2416
+ if (_e.length === 0) return n.samples = [], void (n.length = 0);
2417
2417
  for (g ? w = new Uint8Array(I) : ((w = new Uint8Array(I))[0] = I >>> 24 & 255, w[1] = I >>> 16 & 255, w[2] = I >>> 8 & 255, w[3] = 255 & I, w.set(ze.types.mdat, 4)), te = 0; te < _e.length; te++)
2418
- ne = _e[te].unit, w.set(ne, S), S += ne.byteLength;
2418
+ ae = _e[te].unit, w.set(ae, S), S += ae.byteLength;
2419
2419
  var Ce = _e[_e.length - 1];
2420
2420
  e = Ce.dts + Ce.duration;
2421
2421
  var ge = new Me.b();
2422
- ge.beginDts = o, ge.endDts = e, ge.beginPts = o, ge.endPts = e, ge.originalBeginDts = _e[0].originalDts, ge.originalEndDts = Ce.originalDts + Ce.duration, ge.firstSample = new Me.d(_e[0].dts, _e[0].pts, _e[0].duration, _e[0].originalDts, !1), ge.lastSample = new Me.d(Ce.dts, Ce.pts, Ce.duration, Ce.originalDts, !1), this._isLive || this._audioSegmentInfoList.append(ge), a.samples = _e, a.sequenceNumber++;
2422
+ ge.beginDts = o, ge.endDts = e, ge.beginPts = o, ge.endPts = e, ge.originalBeginDts = _e[0].originalDts, ge.originalEndDts = Ce.originalDts + Ce.duration, ge.firstSample = new Me.d(_e[0].dts, _e[0].pts, _e[0].duration, _e[0].originalDts, !1), ge.lastSample = new Me.d(Ce.dts, Ce.pts, Ce.duration, Ce.originalDts, !1), this._isLive || this._audioSegmentInfoList.append(ge), n.samples = _e, n.sequenceNumber++;
2423
2423
  var xe = null;
2424
- xe = g ? new Uint8Array() : ze.moof(a, o), a.samples = [], a.length = 0;
2424
+ xe = g ? new Uint8Array() : ze.moof(n, o), n.samples = [], n.length = 0;
2425
2425
  var Ue = { type: "audio", data: this._mergeBoxes(xe, w).buffer, sampleCount: _e.length, info: ge };
2426
2426
  g && E && (Ue.timestampOffset = o), this._onMediaSegment("audio", Ue);
2427
2427
  }
2428
2428
  }
2429
2429
  }, r.prototype._remuxVideo = function(t, i) {
2430
2430
  if (this._videoMeta != null) {
2431
- var e, a, s = t, n = s.samples, o = void 0, p = -1, g = -1;
2432
- if (n && n.length !== 0 && (n.length !== 1 || i)) {
2431
+ var e, n, s = t, a = s.samples, o = void 0, p = -1, g = -1;
2432
+ if (a && a.length !== 0 && (a.length !== 1 || i)) {
2433
2433
  var E = 8, A = null, S = 8 + t.length, w = null;
2434
- if (n.length > 1 && (S -= (w = n.pop()).length), this._videoStashedLastSample != null) {
2434
+ if (a.length > 1 && (S -= (w = a.pop()).length), this._videoStashedLastSample != null) {
2435
2435
  var I = this._videoStashedLastSample;
2436
- this._videoStashedLastSample = null, n.unshift(I), S += I.length;
2436
+ this._videoStashedLastSample = null, a.unshift(I), S += I.length;
2437
2437
  }
2438
2438
  w != null && (this._videoStashedLastSample = w);
2439
- var z = n[0].dts - this._dtsBase;
2439
+ var z = a[0].dts - this._dtsBase;
2440
2440
  if (this._videoNextDts) o = z - this._videoNextDts;
2441
2441
  else if (this._videoSegmentInfoList.isEmpty()) o = 0;
2442
2442
  else {
@@ -2446,22 +2446,22 @@ originalDts: ` + be + " ms, curRefDts: " + Re + " ms, dtsCorrection: " + Math.ro
2446
2446
  J <= 3 && (J = 0), o = z - (N.dts + N.duration + J);
2447
2447
  } else o = 0;
2448
2448
  }
2449
- for (var W = new Me.b(), q = [], de = 0; de < n.length; de++) {
2450
- var he = (I = n[de]).dts - this._dtsBase, K = I.isKeyframe, Q = he - o, _e = I.cts, te = Q + _e;
2449
+ for (var W = new Me.b(), q = [], de = 0; de < a.length; de++) {
2450
+ var he = (I = a[de]).dts - this._dtsBase, K = I.isKeyframe, Q = he - o, _e = I.cts, te = Q + _e;
2451
2451
  p === -1 && (p = Q, g = te);
2452
- var ne = 0;
2453
- if (de !== n.length - 1 ? ne = n[de + 1].dts - this._dtsBase - o - Q : w != null ? ne = w.dts - this._dtsBase - o - Q : ne = q.length >= 1 ? q[q.length - 1].duration : Math.floor(this._videoMeta.refSampleDuration), K) {
2454
- var be = new Me.d(Q, te, ne, I.dts, !0);
2452
+ var ae = 0;
2453
+ if (de !== a.length - 1 ? ae = a[de + 1].dts - this._dtsBase - o - Q : w != null ? ae = w.dts - this._dtsBase - o - Q : ae = q.length >= 1 ? q[q.length - 1].duration : Math.floor(this._videoMeta.refSampleDuration), K) {
2454
+ var be = new Me.d(Q, te, ae, I.dts, !0);
2455
2455
  be.fileposition = I.fileposition, W.appendSyncPoint(be);
2456
2456
  }
2457
- q.push({ dts: Q, pts: te, cts: _e, units: I.units, size: I.length, isKeyframe: K, duration: ne, originalDts: he, flags: { isLeading: 0, dependsOn: K ? 2 : 1, isDependedOn: K ? 1 : 0, hasRedundancy: 0, isNonSync: K ? 0 : 1 } });
2457
+ q.push({ dts: Q, pts: te, cts: _e, units: I.units, size: I.length, isKeyframe: K, duration: ae, originalDts: he, flags: { isLeading: 0, dependsOn: K ? 2 : 1, isDependedOn: K ? 1 : 0, hasRedundancy: 0, isNonSync: K ? 0 : 1 } });
2458
2458
  }
2459
2459
  for ((A = new Uint8Array(S))[0] = S >>> 24 & 255, A[1] = S >>> 16 & 255, A[2] = S >>> 8 & 255, A[3] = 255 & S, A.set(ze.types.mdat, 4), de = 0; de < q.length; de++) for (var Ae = q[de].units; Ae.length; ) {
2460
2460
  var le = Ae.shift().data;
2461
2461
  A.set(le, E), E += le.byteLength;
2462
2462
  }
2463
- var ye = q[q.length - 1];
2464
- if (e = ye.dts + ye.duration, a = ye.pts + ye.duration, this._videoNextDts = e, W.beginDts = p, W.endDts = e, W.beginPts = g, W.endPts = a, W.originalBeginDts = q[0].originalDts, W.originalEndDts = ye.originalDts + ye.duration, W.firstSample = new Me.d(q[0].dts, q[0].pts, q[0].duration, q[0].originalDts, q[0].isKeyframe), W.lastSample = new Me.d(ye.dts, ye.pts, ye.duration, ye.originalDts, ye.isKeyframe), this._isLive || this._videoSegmentInfoList.append(W), s.samples = q, s.sequenceNumber++, this._forceFirstIDR) {
2463
+ var ve = q[q.length - 1];
2464
+ if (e = ve.dts + ve.duration, n = ve.pts + ve.duration, this._videoNextDts = e, W.beginDts = p, W.endDts = e, W.beginPts = g, W.endPts = n, W.originalBeginDts = q[0].originalDts, W.originalEndDts = ve.originalDts + ve.duration, W.firstSample = new Me.d(q[0].dts, q[0].pts, q[0].duration, q[0].originalDts, q[0].isKeyframe), W.lastSample = new Me.d(ve.dts, ve.pts, ve.duration, ve.originalDts, ve.isKeyframe), this._isLive || this._videoSegmentInfoList.append(W), s.samples = q, s.sequenceNumber++, this._forceFirstIDR) {
2465
2465
  var Re = q[0].flags;
2466
2466
  Re.dependsOn = 2, Re.isNonSync = 0;
2467
2467
  }
@@ -2477,8 +2477,8 @@ originalDts: ` + be + " ms, curRefDts: " + Re + " ms, dtsCorrection: " + Math.ro
2477
2477
  function r(t, i) {
2478
2478
  this.TAG = "TransmuxingController", this._emitter = new B.a(), this._config = i, t.segments || (t.segments = [{ duration: t.duration, filesize: t.filesize, url: t.url }]), typeof t.cors != "boolean" && (t.cors = !0), typeof t.withCredentials != "boolean" && (t.withCredentials = !1), this._mediaDataSource = t, this._currentSegmentIndex = 0;
2479
2479
  var e = 0;
2480
- this._mediaDataSource.segments.forEach(function(a) {
2481
- a.timestampBase = e, e += a.duration, a.cors = t.cors, a.withCredentials = t.withCredentials, i.referrerPolicy && (a.referrerPolicy = i.referrerPolicy);
2480
+ this._mediaDataSource.segments.forEach(function(n) {
2481
+ n.timestampBase = e, e += n.duration, n.cors = t.cors, n.withCredentials = t.withCredentials, i.referrerPolicy && (n.referrerPolicy = i.referrerPolicy);
2482
2482
  }), isNaN(e) || this._mediaDataSource.duration === e || (this._mediaDataSource.duration = e), this._mediaInfo = null, this._demuxer = null, this._remuxer = null, this._ioctl = null, this._pendingSeekTime = null, this._pendingResolveSeekPoint = null, this._statisticsReporter = null;
2483
2483
  }
2484
2484
  return r.prototype.destroy = function() {
@@ -2491,8 +2491,8 @@ originalDts: ` + be + " ms, curRefDts: " + Re + " ms, dtsCorrection: " + Math.ro
2491
2491
  this._loadSegment(0), this._enableStatisticsReporter();
2492
2492
  }, r.prototype._loadSegment = function(t, i) {
2493
2493
  this._currentSegmentIndex = t;
2494
- var e = this._mediaDataSource.segments[t], a = this._ioctl = new qt.a(e, this._config, t);
2495
- a.onError = this._onIOException.bind(this), a.onSeeked = this._onIOSeeked.bind(this), a.onComplete = this._onIOComplete.bind(this), a.onRedirect = this._onIORedirect.bind(this), a.onRecoveredEarlyEof = this._onIORecoveredEarlyEof.bind(this), i ? this._demuxer.bindDataSource(this._ioctl) : a.onDataArrival = this._onInitChunkArrival.bind(this), a.open(i);
2494
+ var e = this._mediaDataSource.segments[t], n = this._ioctl = new qt.a(e, this._config, t);
2495
+ n.onError = this._onIOException.bind(this), n.onSeeked = this._onIOSeeked.bind(this), n.onComplete = this._onIOComplete.bind(this), n.onRedirect = this._onIORedirect.bind(this), n.onRecoveredEarlyEof = this._onIORecoveredEarlyEof.bind(this), i ? this._demuxer.bindDataSource(this._ioctl) : n.onDataArrival = this._onInitChunkArrival.bind(this), n.open(i);
2496
2496
  }, r.prototype.stop = function() {
2497
2497
  this._internalAbort(), this._disableStatisticsReporter();
2498
2498
  }, r.prototype._internalAbort = function() {
@@ -2508,31 +2508,31 @@ originalDts: ` + be + " ms, curRefDts: " + Re + " ms, dtsCorrection: " + Math.ro
2508
2508
  var e = this._mediaInfo.segments[i];
2509
2509
  if (e == null) this._pendingSeekTime = t;
2510
2510
  else {
2511
- var a = e.getNearestKeyframe(t);
2512
- this._remuxer.seek(a.milliseconds), this._ioctl.seek(a.fileposition), this._pendingResolveSeekPoint = a.milliseconds;
2511
+ var n = e.getNearestKeyframe(t);
2512
+ this._remuxer.seek(n.milliseconds), this._ioctl.seek(n.fileposition), this._pendingResolveSeekPoint = n.milliseconds;
2513
2513
  }
2514
2514
  } else {
2515
2515
  var s = this._mediaInfo.segments[i];
2516
- s == null ? (this._pendingSeekTime = t, this._internalAbort(), this._remuxer.seek(), this._remuxer.insertDiscontinuity(), this._loadSegment(i)) : (a = s.getNearestKeyframe(t), this._internalAbort(), this._remuxer.seek(t), this._remuxer.insertDiscontinuity(), this._demuxer.resetMediaInfo(), this._demuxer.timestampBase = this._mediaDataSource.segments[i].timestampBase, this._loadSegment(i, a.fileposition), this._pendingResolveSeekPoint = a.milliseconds, this._reportSegmentMediaInfo(i));
2516
+ s == null ? (this._pendingSeekTime = t, this._internalAbort(), this._remuxer.seek(), this._remuxer.insertDiscontinuity(), this._loadSegment(i)) : (n = s.getNearestKeyframe(t), this._internalAbort(), this._remuxer.seek(t), this._remuxer.insertDiscontinuity(), this._demuxer.resetMediaInfo(), this._demuxer.timestampBase = this._mediaDataSource.segments[i].timestampBase, this._loadSegment(i, n.fileposition), this._pendingResolveSeekPoint = n.milliseconds, this._reportSegmentMediaInfo(i));
2517
2517
  }
2518
2518
  this._enableStatisticsReporter();
2519
2519
  }
2520
2520
  }, r.prototype._searchSegmentIndexContains = function(t) {
2521
- for (var i = this._mediaDataSource.segments, e = i.length - 1, a = 0; a < i.length; a++) if (t < i[a].timestampBase) {
2522
- e = a - 1;
2521
+ for (var i = this._mediaDataSource.segments, e = i.length - 1, n = 0; n < i.length; n++) if (t < i[n].timestampBase) {
2522
+ e = n - 1;
2523
2523
  break;
2524
2524
  }
2525
2525
  return e;
2526
2526
  }, r.prototype._onInitChunkArrival = function(t, i) {
2527
- var e = this, a = 0;
2528
- if (i > 0) this._demuxer.bindDataSource(this._ioctl), this._demuxer.timestampBase = this._mediaDataSource.segments[this._currentSegmentIndex].timestampBase, a = this._demuxer.parseChunks(t, i);
2527
+ var e = this, n = 0;
2528
+ if (i > 0) this._demuxer.bindDataSource(this._ioctl), this._demuxer.timestampBase = this._mediaDataSource.segments[this._currentSegmentIndex].timestampBase, n = this._demuxer.parseChunks(t, i);
2529
2529
  else {
2530
2530
  var s = null;
2531
- (s = _.probe(t)).match && (this._setupFLVDemuxerRemuxer(s), a = this._demuxer.parseChunks(t, i)), s.match || s.needMoreData || (s = lt.probe(t)).match && (this._setupTSDemuxerRemuxer(s), a = this._demuxer.parseChunks(t, i)), s.match || s.needMoreData || (s = null, m.a.e(this.TAG, "Non MPEG-TS/FLV, Unsupported media type!"), Promise.resolve().then(function() {
2531
+ (s = _.probe(t)).match && (this._setupFLVDemuxerRemuxer(s), n = this._demuxer.parseChunks(t, i)), s.match || s.needMoreData || (s = lt.probe(t)).match && (this._setupTSDemuxerRemuxer(s), n = this._demuxer.parseChunks(t, i)), s.match || s.needMoreData || (s = null, m.a.e(this.TAG, "Non MPEG-TS/FLV, Unsupported media type!"), Promise.resolve().then(function() {
2532
2532
  e._internalAbort();
2533
2533
  }), this._emitter.emit(Le.a.DEMUX_ERROR, Y.a.FORMAT_UNSUPPORTED, "Non MPEG-TS/FLV, Unsupported media type!"));
2534
2534
  }
2535
- return a;
2535
+ return n;
2536
2536
  }, r.prototype._setupFLVDemuxerRemuxer = function(t) {
2537
2537
  this._demuxer = new _(t, this._config), this._remuxer || (this._remuxer = new ct(this._config));
2538
2538
  var i = this._mediaDataSource;
@@ -2542,11 +2542,11 @@ originalDts: ` + be + " ms, curRefDts: " + Re + " ms, dtsCorrection: " + Math.ro
2542
2542
  this._remuxer || (this._remuxer = new ct(this._config)), i.onError = this._onDemuxException.bind(this), i.onMediaInfo = this._onMediaInfo.bind(this), i.onMetaDataArrived = this._onMetaDataArrived.bind(this), i.onTimedID3Metadata = this._onTimedID3Metadata.bind(this), i.onSMPTE2038Metadata = this._onSMPTE2038Metadata.bind(this), i.onSCTE35Metadata = this._onSCTE35Metadata.bind(this), i.onPESPrivateDataDescriptor = this._onPESPrivateDataDescriptor.bind(this), i.onPESPrivateData = this._onPESPrivateData.bind(this), this._remuxer.bindDataSource(this._demuxer), this._demuxer.bindDataSource(this._ioctl), this._remuxer.onInitSegment = this._onRemuxerInitSegmentArrival.bind(this), this._remuxer.onMediaSegment = this._onRemuxerMediaSegmentArrival.bind(this);
2543
2543
  }, r.prototype._onMediaInfo = function(t) {
2544
2544
  var i = this;
2545
- this._mediaInfo == null && (this._mediaInfo = Object.assign({}, t), this._mediaInfo.keyframesIndex = null, this._mediaInfo.segments = [], this._mediaInfo.segmentCount = this._mediaDataSource.segments.length, Object.setPrototypeOf(this._mediaInfo, v.a.prototype));
2545
+ this._mediaInfo == null && (this._mediaInfo = Object.assign({}, t), this._mediaInfo.keyframesIndex = null, this._mediaInfo.segments = [], this._mediaInfo.segmentCount = this._mediaDataSource.segments.length, Object.setPrototypeOf(this._mediaInfo, y.a.prototype));
2546
2546
  var e = Object.assign({}, t);
2547
- Object.setPrototypeOf(e, v.a.prototype), this._mediaInfo.segments[this._currentSegmentIndex] = e, this._reportSegmentMediaInfo(this._currentSegmentIndex), this._pendingSeekTime != null && Promise.resolve().then(function() {
2548
- var a = i._pendingSeekTime;
2549
- i._pendingSeekTime = null, i.seek(a);
2547
+ Object.setPrototypeOf(e, y.a.prototype), this._mediaInfo.segments[this._currentSegmentIndex] = e, this._reportSegmentMediaInfo(this._currentSegmentIndex), this._pendingSeekTime != null && Promise.resolve().then(function() {
2548
+ var n = i._pendingSeekTime;
2549
+ i._pendingSeekTime = null, i.seek(n);
2550
2550
  });
2551
2551
  }, r.prototype._onMetaDataArrived = function(t) {
2552
2552
  this._emitter.emit(Le.a.METADATA_ARRIVED, t);
@@ -2584,8 +2584,8 @@ originalDts: ` + be + " ms, curRefDts: " + Re + " ms, dtsCorrection: " + Math.ro
2584
2584
  this._emitter.emit(Le.a.INIT_SEGMENT, t, i);
2585
2585
  }, r.prototype._onRemuxerMediaSegmentArrival = function(t, i) {
2586
2586
  if (this._pendingSeekTime == null && (this._emitter.emit(Le.a.MEDIA_SEGMENT, t, i), this._pendingResolveSeekPoint != null && t === "video")) {
2587
- var e = i.info.syncPoints, a = this._pendingResolveSeekPoint;
2588
- this._pendingResolveSeekPoint = null, b.a.safari && e.length > 0 && e[0].originalDts === a && (a = e[0].pts), this._emitter.emit(Le.a.RECOMMEND_SEEKPOINT, a);
2587
+ var e = i.info.syncPoints, n = this._pendingResolveSeekPoint;
2588
+ this._pendingResolveSeekPoint = null, b.a.safari && e.length > 0 && e[0].originalDts === n && (n = e[0].pts), this._emitter.emit(Le.a.RECOMMEND_SEEKPOINT, n);
2589
2589
  }
2590
2590
  }, r.prototype._enableStatisticsReporter = function() {
2591
2591
  this._statisticsReporter == null && (this._statisticsReporter = self.setInterval(this._reportStatisticsInfo.bind(this), this._config.statisticsInfoReportInterval));
@@ -2619,7 +2619,7 @@ originalDts: ` + be + " ms, curRefDts: " + Re + " ms, dtsCorrection: " + Math.ro
2619
2619
  var l = (this._now() - this._firstCheckpoint) / 1e3;
2620
2620
  return this._totalBytes / l / 1024;
2621
2621
  }, enumerable: !1, configurable: !0 }), T;
2622
- }(), b = O(2), v = O(4), f = O(3), L = (U = function(T, l) {
2622
+ }(), b = O(2), y = O(4), f = O(3), L = (U = function(T, l) {
2623
2623
  return (U = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(u, _) {
2624
2624
  u.__proto__ = _;
2625
2625
  } || function(u, _) {
@@ -2637,7 +2637,7 @@ originalDts: ` + be + " ms, curRefDts: " + Re + " ms, dtsCorrection: " + Math.ro
2637
2637
  }
2638
2638
  return L(l, T), l.isSupported = function() {
2639
2639
  try {
2640
- var u = v.a.msedge && v.a.version.minor >= 15048, _ = !v.a.msedge || u;
2640
+ var u = y.a.msedge && y.a.version.minor >= 15048, _ = !y.a.msedge || u;
2641
2641
  return self.fetch && self.ReadableStream && _;
2642
2642
  } catch {
2643
2643
  return !1;
@@ -2654,9 +2654,9 @@ originalDts: ` + be + " ms, curRefDts: " + Re + " ms, dtsCorrection: " + Math.ro
2654
2654
  var ee = D.headers;
2655
2655
  for (var pe in ee) ee.hasOwnProperty(pe) && F.append(pe, ee[pe]);
2656
2656
  }
2657
- var ve = { method: "GET", headers: F, mode: "cors", cache: "default", referrerPolicy: "no-referrer-when-downgrade" };
2657
+ var ye = { method: "GET", headers: F, mode: "cors", cache: "default", referrerPolicy: "no-referrer-when-downgrade" };
2658
2658
  if (typeof this._config.headers == "object") for (var pe in this._config.headers) F.append(pe, this._config.headers[pe]);
2659
- u.cors === !1 && (ve.mode = "same-origin"), u.withCredentials && (ve.credentials = "include"), u.referrerPolicy && (ve.referrerPolicy = u.referrerPolicy), self.AbortController && (this._abortController = new self.AbortController(), ve.signal = this._abortController.signal), this._status = b.c.kConnecting, self.fetch(D.url, ve).then(function(k) {
2659
+ u.cors === !1 && (ye.mode = "same-origin"), u.withCredentials && (ye.credentials = "include"), u.referrerPolicy && (ye.referrerPolicy = u.referrerPolicy), self.AbortController && (this._abortController = new self.AbortController(), ye.signal = this._abortController.signal), this._status = b.c.kConnecting, self.fetch(D.url, ye).then(function(k) {
2660
2660
  if (c._requestAbort) return c._status = b.c.kIdle, void k.body.cancel();
2661
2661
  if (k.ok && k.status >= 200 && k.status <= 299) {
2662
2662
  if (k.url !== D.url && c._onURLRedirect) {
@@ -2675,7 +2675,7 @@ originalDts: ` + be + " ms, curRefDts: " + Re + " ms, dtsCorrection: " + Math.ro
2675
2675
  }
2676
2676
  });
2677
2677
  }, l.prototype.abort = function() {
2678
- if (this._requestAbort = !0, (this._status !== b.c.kBuffering || !v.a.chrome) && this._abortController) try {
2678
+ if (this._requestAbort = !0, (this._status !== b.c.kBuffering || !y.a.chrome) && this._abortController) try {
2679
2679
  this._abortController.abort();
2680
2680
  } catch {
2681
2681
  }
@@ -2697,7 +2697,7 @@ originalDts: ` + be + " ms, curRefDts: " + Re + " ms, dtsCorrection: " + Math.ro
2697
2697
  }
2698
2698
  }).catch(function(c) {
2699
2699
  if (_._abortController && _._abortController.signal.aborted) _._status = b.c.kComplete;
2700
- else if (c.code !== 11 || !v.a.msedge) {
2700
+ else if (c.code !== 11 || !y.a.msedge) {
2701
2701
  _._status = b.c.kError;
2702
2702
  var P = 0, D = null;
2703
2703
  if (c.code !== 19 && c.message !== "network error" || !(_._contentLength === null || _._contentLength !== null && _._receivedLength < _._contentLength) ? (P = b.b.EXCEPTION, D = { code: c.code, msg: c.message }) : (P = b.b.EARLY_EOF, D = { code: c.code, msg: "Fetch stream meet Early-EOF" }), !_._onError) throw new f.d(D.msg);
@@ -2958,7 +2958,7 @@ originalDts: ` + be + " ms, curRefDts: " + Re + " ms, dtsCorrection: " + Math.ro
2958
2958
  if (!this._onError) throw new f.d(_.msg);
2959
2959
  this._onError(b.b.EXCEPTION, _);
2960
2960
  }, l;
2961
- }(b.a), ae = function() {
2961
+ }(b.a), ne = function() {
2962
2962
  function T(l) {
2963
2963
  this._zeroStart = l || !1;
2964
2964
  }
@@ -2972,7 +2972,7 @@ originalDts: ` + be + " ms, curRefDts: " + Re + " ms, dtsCorrection: " + Math.ro
2972
2972
  }, T.prototype.removeURLParameters = function(l) {
2973
2973
  return l;
2974
2974
  }, T;
2975
- }(), y = function() {
2975
+ }(), v = function() {
2976
2976
  function T(l, u) {
2977
2977
  this._startName = l, this._endName = u;
2978
2978
  }
@@ -3045,10 +3045,10 @@ originalDts: ` + be + " ms, curRefDts: " + Re + " ms, dtsCorrection: " + Math.ro
3045
3045
  return this._loader.type;
3046
3046
  }, enumerable: !1, configurable: !0 }), T.prototype._selectSeekHandler = function() {
3047
3047
  var l = this._config;
3048
- if (l.seekType === "range") this._seekHandler = new ae(this._config.rangeLoadZeroStart);
3048
+ if (l.seekType === "range") this._seekHandler = new ne(this._config.rangeLoadZeroStart);
3049
3049
  else if (l.seekType === "param") {
3050
3050
  var u = l.seekParamStart || "bstart", _ = l.seekParamEnd || "bend";
3051
- this._seekHandler = new y(u, _);
3051
+ this._seekHandler = new v(u, _);
3052
3052
  } else {
3053
3053
  if (l.seekType !== "custom") throw new f.b("Invalid seekType in config: " + l.seekType);
3054
3054
  if (typeof l.customSeekHandler != "function") throw new f.b("Custom seekType specified in config but invalid customSeekHandler!");
@@ -3127,7 +3127,7 @@ originalDts: ` + be + " ms, curRefDts: " + Re + " ms, dtsCorrection: " + Math.ro
3127
3127
  (ee = new Uint8Array(this._stashBuffer, 0, this._stashSize)).set(new Uint8Array(l), this._stashUsed), this._stashUsed += l.byteLength;
3128
3128
  else if (ee = new Uint8Array(this._stashBuffer, 0, this._bufferSize), this._stashUsed > 0) {
3129
3129
  var D = this._stashBuffer.slice(0, this._stashUsed);
3130
- (pe = this._dispatchChunks(D, this._stashByteStart)) < D.byteLength ? pe > 0 && (ve = new Uint8Array(D, pe), ee.set(ve, 0), this._stashUsed = ve.byteLength, this._stashByteStart += pe) : (this._stashUsed = 0, this._stashByteStart += pe), this._stashUsed + l.byteLength > this._bufferSize && (this._expandBuffer(this._stashUsed + l.byteLength), ee = new Uint8Array(this._stashBuffer, 0, this._bufferSize)), ee.set(new Uint8Array(l), this._stashUsed), this._stashUsed += l.byteLength;
3130
+ (pe = this._dispatchChunks(D, this._stashByteStart)) < D.byteLength ? pe > 0 && (ye = new Uint8Array(D, pe), ee.set(ye, 0), this._stashUsed = ye.byteLength, this._stashByteStart += pe) : (this._stashUsed = 0, this._stashByteStart += pe), this._stashUsed + l.byteLength > this._bufferSize && (this._expandBuffer(this._stashUsed + l.byteLength), ee = new Uint8Array(this._stashBuffer, 0, this._bufferSize)), ee.set(new Uint8Array(l), this._stashUsed), this._stashUsed += l.byteLength;
3131
3131
  } else
3132
3132
  (pe = this._dispatchChunks(l, u)) < l.byteLength && ((F = l.byteLength - pe) > this._bufferSize && (this._expandBuffer(F), ee = new Uint8Array(this._stashBuffer, 0, this._bufferSize)), ee.set(new Uint8Array(l, pe), 0), this._stashUsed += F, this._stashByteStart = u + pe);
3133
3133
  else if (this._stashUsed === 0) {
@@ -3136,8 +3136,8 @@ originalDts: ` + be + " ms, curRefDts: " + Re + " ms, dtsCorrection: " + Math.ro
3136
3136
  } else {
3137
3137
  var ee, pe;
3138
3138
  if (this._stashUsed + l.byteLength > this._bufferSize && this._expandBuffer(this._stashUsed + l.byteLength), (ee = new Uint8Array(this._stashBuffer, 0, this._bufferSize)).set(new Uint8Array(l), this._stashUsed), this._stashUsed += l.byteLength, (pe = this._dispatchChunks(this._stashBuffer.slice(0, this._stashUsed), this._stashByteStart)) < this._stashUsed && pe > 0) {
3139
- var ve = new Uint8Array(this._stashBuffer, pe);
3140
- ee.set(ve, 0);
3139
+ var ye = new Uint8Array(this._stashBuffer, pe);
3140
+ ee.set(ye, 0);
3141
3141
  }
3142
3142
  this._stashUsed -= pe, this._stashByteStart += pe;
3143
3143
  }
@@ -3188,8 +3188,8 @@ originalDts: ` + be + " ms, curRefDts: " + Re + " ms, dtsCorrection: " + Math.ro
3188
3188
  return m.__proto__ = b, m;
3189
3189
  }, Object.assign = Object.assign || function(m) {
3190
3190
  if (m == null) throw new TypeError("Cannot convert undefined or null to object");
3191
- for (var b = Object(m), v = 1; v < arguments.length; v++) {
3192
- var f = arguments[v];
3191
+ for (var b = Object(m), y = 1; y < arguments.length; y++) {
3192
+ var f = arguments[y];
3193
3193
  if (f != null) for (var L in f) f.hasOwnProperty(L) && (b[L] = f[L]);
3194
3194
  }
3195
3195
  return b;
@@ -3198,14 +3198,14 @@ originalDts: ` + be + " ms, curRefDts: " + Re + " ms, dtsCorrection: " + Math.ro
3198
3198
  }();
3199
3199
  U.install(), Z.a = U;
3200
3200
  }, function(fe, Z, O) {
3201
- function U(v) {
3201
+ function U(y) {
3202
3202
  var f = {};
3203
3203
  function L(C) {
3204
3204
  if (f[C]) return f[C].exports;
3205
3205
  var V = f[C] = { i: C, l: !1, exports: {} };
3206
- return v[C].call(V.exports, V, V.exports, L), V.l = !0, V.exports;
3206
+ return y[C].call(V.exports, V, V.exports, L), V.l = !0, V.exports;
3207
3207
  }
3208
- L.m = v, L.c = f, L.i = function(C) {
3208
+ L.m = y, L.c = f, L.i = function(C) {
3209
3209
  return C;
3210
3210
  }, L.d = function(C, V, H) {
3211
3211
  L.o(C, V) || Object.defineProperty(C, V, { configurable: !1, enumerable: !0, get: H });
@@ -3226,45 +3226,45 @@ originalDts: ` + be + " ms, curRefDts: " + Re + " ms, dtsCorrection: " + Math.ro
3226
3226
  var x = L(L.s = ENTRY_MODULE);
3227
3227
  return x.default || x;
3228
3228
  }
3229
- function B(v) {
3230
- return (v + "").replace(/[.?*+^$[\]\\(){}|-]/g, "\\$&");
3229
+ function B(y) {
3230
+ return (y + "").replace(/[.?*+^$[\]\\(){}|-]/g, "\\$&");
3231
3231
  }
3232
- function m(v, f, L) {
3232
+ function m(y, f, L) {
3233
3233
  var x = {};
3234
3234
  x[L] = [];
3235
3235
  var C = f.toString(), V = C.match(/^function\s?\w*\(\w+,\s*\w+,\s*(\w+)\)/);
3236
3236
  if (!V) return x;
3237
3237
  for (var H, ue = V[1], se = new RegExp("(\\\\n|\\W)" + B(ue) + "\\(\\s*(/\\*.*?\\*/)?\\s*.*?([\\.|\\-|\\+|\\w|/|@]+).*?\\)", "g"); H = se.exec(C); ) H[3] !== "dll-reference" && x[L].push(H[3]);
3238
- for (se = new RegExp("\\(" + B(ue) + '\\("(dll-reference\\s([\\.|\\-|\\+|\\w|/|@]+))"\\)\\)\\(\\s*(/\\*.*?\\*/)?\\s*.*?([\\.|\\-|\\+|\\w|/|@]+).*?\\)', "g"); H = se.exec(C); ) v[H[2]] || (x[L].push(H[1]), v[H[2]] = O(H[1]).m), x[H[2]] = x[H[2]] || [], x[H[2]].push(H[4]);
3239
- for (var Y, ae = Object.keys(x), y = 0; y < ae.length; y++) for (var G = 0; G < x[ae[y]].length; G++) Y = x[ae[y]][G], isNaN(1 * Y) || (x[ae[y]][G] = 1 * x[ae[y]][G]);
3238
+ for (se = new RegExp("\\(" + B(ue) + '\\("(dll-reference\\s([\\.|\\-|\\+|\\w|/|@]+))"\\)\\)\\(\\s*(/\\*.*?\\*/)?\\s*.*?([\\.|\\-|\\+|\\w|/|@]+).*?\\)', "g"); H = se.exec(C); ) y[H[2]] || (x[L].push(H[1]), y[H[2]] = O(H[1]).m), x[H[2]] = x[H[2]] || [], x[H[2]].push(H[4]);
3239
+ for (var Y, ne = Object.keys(x), v = 0; v < ne.length; v++) for (var G = 0; G < x[ne[v]].length; G++) Y = x[ne[v]][G], isNaN(1 * Y) || (x[ne[v]][G] = 1 * x[ne[v]][G]);
3240
3240
  return x;
3241
3241
  }
3242
- function b(v) {
3243
- return Object.keys(v).reduce(function(f, L) {
3244
- return f || v[L].length > 0;
3242
+ function b(y) {
3243
+ return Object.keys(y).reduce(function(f, L) {
3244
+ return f || y[L].length > 0;
3245
3245
  }, !1);
3246
3246
  }
3247
- fe.exports = function(v, f) {
3247
+ fe.exports = function(y, f) {
3248
3248
  f = f || {};
3249
3249
  var L = { main: O.m }, x = f.all ? { main: Object.keys(L.main) } : function(se, Y) {
3250
- for (var ae = { main: [Y] }, y = { main: [] }, G = { main: {} }; b(ae); ) for (var T = Object.keys(ae), l = 0; l < T.length; l++) {
3251
- var u = T[l], _ = ae[u].pop();
3250
+ for (var ne = { main: [Y] }, v = { main: [] }, G = { main: {} }; b(ne); ) for (var T = Object.keys(ne), l = 0; l < T.length; l++) {
3251
+ var u = T[l], _ = ne[u].pop();
3252
3252
  if (G[u] = G[u] || {}, !G[u][_] && se[u][_]) {
3253
- G[u][_] = !0, y[u] = y[u] || [], y[u].push(_);
3254
- for (var c = m(se, se[u][_], u), P = Object.keys(c), D = 0; D < P.length; D++) ae[P[D]] = ae[P[D]] || [], ae[P[D]] = ae[P[D]].concat(c[P[D]]);
3253
+ G[u][_] = !0, v[u] = v[u] || [], v[u].push(_);
3254
+ for (var c = m(se, se[u][_], u), P = Object.keys(c), D = 0; D < P.length; D++) ne[P[D]] = ne[P[D]] || [], ne[P[D]] = ne[P[D]].concat(c[P[D]]);
3255
3255
  }
3256
3256
  }
3257
- return y;
3258
- }(L, v), C = "";
3257
+ return v;
3258
+ }(L, y), C = "";
3259
3259
  Object.keys(x).filter(function(se) {
3260
3260
  return se !== "main";
3261
3261
  }).forEach(function(se) {
3262
3262
  for (var Y = 0; x[se][Y]; ) Y++;
3263
- x[se].push(Y), L[se][Y] = "(function(module, exports, __webpack_require__) { module.exports = __webpack_require__; })", C = C + "var " + se + " = (" + U.toString().replace("ENTRY_MODULE", JSON.stringify(Y)) + ")({" + x[se].map(function(ae) {
3264
- return JSON.stringify(ae) + ": " + L[se][ae].toString();
3263
+ x[se].push(Y), L[se][Y] = "(function(module, exports, __webpack_require__) { module.exports = __webpack_require__; })", C = C + "var " + se + " = (" + U.toString().replace("ENTRY_MODULE", JSON.stringify(Y)) + ")({" + x[se].map(function(ne) {
3264
+ return JSON.stringify(ne) + ": " + L[se][ne].toString();
3265
3265
  }).join(",") + `});
3266
3266
  `;
3267
- }), C = C + "new ((" + U.toString().replace("ENTRY_MODULE", JSON.stringify(v)) + ")({" + x.main.map(function(se) {
3267
+ }), C = C + "new ((" + U.toString().replace("ENTRY_MODULE", JSON.stringify(y)) + ")({" + x.main.map(function(se) {
3268
3268
  return JSON.stringify(se) + ": " + L.main[se].toString();
3269
3269
  }).join(",") + "}))(self);";
3270
3270
  var V = new window.Blob([C], { type: "text/javascript" });
@@ -3288,20 +3288,20 @@ originalDts: ` + be + " ms, curRefDts: " + Re + " ms, dtsCorrection: " + Math.ro
3288
3288
  function b(M) {
3289
3289
  return typeof M == "function";
3290
3290
  }
3291
- var v = Array.isArray ? Array.isArray : function(M) {
3291
+ var y = Array.isArray ? Array.isArray : function(M) {
3292
3292
  return Object.prototype.toString.call(M) === "[object Array]";
3293
3293
  }, f = 0, L = void 0, x = void 0, C = function(M, j) {
3294
- y[f] = M, y[f + 1] = j, (f += 2) === 2 && (x ? x(G) : c());
3294
+ v[f] = M, v[f + 1] = j, (f += 2) === 2 && (x ? x(G) : c());
3295
3295
  }, V = typeof window < "u" ? window : void 0, H = V || {}, ue = H.MutationObserver || H.WebKitMutationObserver, se = typeof self > "u" && U !== void 0 && {}.toString.call(U) === "[object process]", Y = typeof Uint8ClampedArray < "u" && typeof importScripts < "u" && typeof MessageChannel < "u";
3296
- function ae() {
3296
+ function ne() {
3297
3297
  var M = setTimeout;
3298
3298
  return function() {
3299
3299
  return M(G, 1);
3300
3300
  };
3301
3301
  }
3302
- var y = new Array(1e3);
3302
+ var v = new Array(1e3);
3303
3303
  function G() {
3304
- for (var M = 0; M < f; M += 2) (0, y[M])(y[M + 1]), y[M] = void 0, y[M + 1] = void 0;
3304
+ for (var M = 0; M < f; M += 2) (0, v[M])(v[M + 1]), v[M] = void 0, v[M + 1] = void 0;
3305
3305
  f = 0;
3306
3306
  }
3307
3307
  var T, l, u, _, c = void 0;
@@ -3320,7 +3320,7 @@ originalDts: ` + be + " ms, curRefDts: " + Re + " ms, dtsCorrection: " + Math.ro
3320
3320
  function D(M) {
3321
3321
  if (M && typeof M == "object" && M.constructor === this) return M;
3322
3322
  var j = new this(ee);
3323
- return ve(j, M), j;
3323
+ return ye(j, M), j;
3324
3324
  }
3325
3325
  se ? c = function() {
3326
3326
  return U.nextTick(G);
@@ -3333,18 +3333,18 @@ originalDts: ` + be + " ms, curRefDts: " + Re + " ms, dtsCorrection: " + Math.ro
3333
3333
  var M = Function("return this")().require("vertx");
3334
3334
  return (L = M.runOnLoop || M.runOnContext) !== void 0 ? function() {
3335
3335
  L(G);
3336
- } : ae();
3336
+ } : ne();
3337
3337
  } catch {
3338
- return ae();
3338
+ return ne();
3339
3339
  }
3340
- }() : ae();
3340
+ }() : ne();
3341
3341
  var F = Math.random().toString(36).substring(2);
3342
3342
  function ee() {
3343
3343
  }
3344
3344
  function pe(M, j, $) {
3345
3345
  j.constructor === M.constructor && $ === P && j.constructor.resolve === D ? function(ie, re) {
3346
3346
  re._state === 1 ? d(ie, re._result) : re._state === 2 ? h(ie, re._result) : R(re, void 0, function(ce) {
3347
- return ve(ie, ce);
3347
+ return ye(ie, ce);
3348
3348
  }, function(ce) {
3349
3349
  return h(ie, ce);
3350
3350
  });
@@ -3357,7 +3357,7 @@ originalDts: ` + be + " ms, curRefDts: " + Re + " ms, dtsCorrection: " + Math.ro
3357
3357
  return tt;
3358
3358
  }
3359
3359
  }(ce, re, function(Be) {
3360
- Ee || (Ee = !0, re !== Be ? ve(we, Be) : d(we, Be));
3360
+ Ee || (Ee = !0, re !== Be ? ye(we, Be) : d(we, Be));
3361
3361
  }, function(Be) {
3362
3362
  Ee || (Ee = !0, h(we, Be));
3363
3363
  }, we._label);
@@ -3365,7 +3365,7 @@ originalDts: ` + be + " ms, curRefDts: " + Re + " ms, dtsCorrection: " + Math.ro
3365
3365
  }, ie);
3366
3366
  }(M, j, $) : d(M, j);
3367
3367
  }
3368
- function ve(M, j) {
3368
+ function ye(M, j) {
3369
3369
  if (M === j) h(M, new TypeError("You cannot resolve a promise with itself"));
3370
3370
  else if (re = typeof (ie = j), ie === null || re !== "object" && re !== "function") d(M, j);
3371
3371
  else {
@@ -3409,7 +3409,7 @@ originalDts: ` + be + " ms, curRefDts: " + Re + " ms, dtsCorrection: " + Math.ro
3409
3409
  }
3410
3410
  if (j === ce) return void h(j, new TypeError("A promises callback cannot return that same promise."));
3411
3411
  } else ce = ie;
3412
- j._state !== void 0 || (re && Ee ? ve(j, ce) : Ee === !1 ? h(j, we) : M === 1 ? d(j, ce) : M === 2 && h(j, ce));
3412
+ j._state !== void 0 || (re && Ee ? ye(j, ce) : Ee === !1 ? h(j, we) : M === 1 ? d(j, ce) : M === 2 && h(j, ce));
3413
3413
  }
3414
3414
  var me = 0;
3415
3415
  function Se(M) {
@@ -3417,7 +3417,7 @@ originalDts: ` + be + " ms, curRefDts: " + Re + " ms, dtsCorrection: " + Math.ro
3417
3417
  }
3418
3418
  var De = function() {
3419
3419
  function M(j, $) {
3420
- this._instanceConstructor = j, this.promise = new j(ee), this.promise[F] || Se(this.promise), v($) ? (this.length = $.length, this._remaining = $.length, this._result = new Array(this.length), this.length === 0 ? d(this.promise, this._result) : (this.length = this.length || 0, this._enumerate($), this._remaining === 0 && d(this.promise, this._result))) : h(this.promise, new Error("Array Methods must be provided an Array"));
3420
+ this._instanceConstructor = j, this.promise = new j(ee), this.promise[F] || Se(this.promise), y($) ? (this.length = $.length, this._remaining = $.length, this._result = new Array(this.length), this.length === 0 ? d(this.promise, this._result) : (this.length = this.length || 0, this._enumerate($), this._remaining === 0 && d(this.promise, this._result))) : h(this.promise, new Error("Array Methods must be provided an Array"));
3421
3421
  }
3422
3422
  return M.prototype._enumerate = function(j) {
3423
3423
  for (var $ = 0; this._state === void 0 && $ < j.length; $++) this._eachEntry(j[$], $);
@@ -3457,7 +3457,7 @@ originalDts: ` + be + " ms, curRefDts: " + Re + " ms, dtsCorrection: " + Math.ro
3457
3457
  }(), this instanceof M ? function($, ie) {
3458
3458
  try {
3459
3459
  ie(function(re) {
3460
- ve($, re);
3460
+ ye($, re);
3461
3461
  }, function(re) {
3462
3462
  h($, re);
3463
3463
  });
@@ -3487,7 +3487,7 @@ originalDts: ` + be + " ms, curRefDts: " + Re + " ms, dtsCorrection: " + Math.ro
3487
3487
  return new De(this, M).promise;
3488
3488
  }, Te.race = function(M) {
3489
3489
  var j = this;
3490
- return v(M) ? new j(function($, ie) {
3490
+ return y(M) ? new j(function($, ie) {
3491
3491
  for (var re = M.length, ce = 0; ce < re; ce++) j.resolve(M[ce]).then($, ie);
3492
3492
  }) : new j(function($, ie) {
3493
3493
  return ie(new TypeError("You must pass an array to race."));
@@ -3529,7 +3529,7 @@ originalDts: ` + be + " ms, curRefDts: " + Re + " ms, dtsCorrection: " + Math.ro
3529
3529
  function b() {
3530
3530
  throw new Error("clearTimeout has not been defined");
3531
3531
  }
3532
- function v(Y) {
3532
+ function y(Y) {
3533
3533
  if (O === setTimeout) return setTimeout(Y, 0);
3534
3534
  if ((O === m || !O) && setTimeout) return O = setTimeout, setTimeout(Y, 0);
3535
3535
  try {
@@ -3560,36 +3560,36 @@ originalDts: ` + be + " ms, curRefDts: " + Re + " ms, dtsCorrection: " + Math.ro
3560
3560
  }
3561
3561
  function H() {
3562
3562
  if (!x) {
3563
- var Y = v(V);
3563
+ var Y = y(V);
3564
3564
  x = !0;
3565
- for (var ae = L.length; ae; ) {
3566
- for (f = L, L = []; ++C < ae; ) f && f[C].run();
3567
- C = -1, ae = L.length;
3565
+ for (var ne = L.length; ne; ) {
3566
+ for (f = L, L = []; ++C < ne; ) f && f[C].run();
3567
+ C = -1, ne = L.length;
3568
3568
  }
3569
- f = null, x = !1, function(y) {
3570
- if (U === clearTimeout) return clearTimeout(y);
3571
- if ((U === b || !U) && clearTimeout) return U = clearTimeout, clearTimeout(y);
3569
+ f = null, x = !1, function(v) {
3570
+ if (U === clearTimeout) return clearTimeout(v);
3571
+ if ((U === b || !U) && clearTimeout) return U = clearTimeout, clearTimeout(v);
3572
3572
  try {
3573
- U(y);
3573
+ U(v);
3574
3574
  } catch {
3575
3575
  try {
3576
- return U.call(null, y);
3576
+ return U.call(null, v);
3577
3577
  } catch {
3578
- return U.call(this, y);
3578
+ return U.call(this, v);
3579
3579
  }
3580
3580
  }
3581
3581
  }(Y);
3582
3582
  }
3583
3583
  }
3584
- function ue(Y, ae) {
3585
- this.fun = Y, this.array = ae;
3584
+ function ue(Y, ne) {
3585
+ this.fun = Y, this.array = ne;
3586
3586
  }
3587
3587
  function se() {
3588
3588
  }
3589
3589
  B.nextTick = function(Y) {
3590
- var ae = new Array(arguments.length - 1);
3591
- if (arguments.length > 1) for (var y = 1; y < arguments.length; y++) ae[y - 1] = arguments[y];
3592
- L.push(new ue(Y, ae)), L.length !== 1 || x || v(H);
3590
+ var ne = new Array(arguments.length - 1);
3591
+ if (arguments.length > 1) for (var v = 1; v < arguments.length; v++) ne[v - 1] = arguments[v];
3592
+ L.push(new ue(Y, ne)), L.length !== 1 || x || y(H);
3593
3593
  }, ue.prototype.run = function() {
3594
3594
  this.fun.apply(null, this.array);
3595
3595
  }, B.title = "browser", B.browser = !0, B.env = {}, B.argv = [], B.version = "", B.versions = {}, B.on = se, B.addListener = se, B.once = se, B.off = se, B.removeListener = se, B.removeAllListeners = se, B.emit = se, B.prependListener = se, B.prependOnceListener = se, B.listeners = function(Y) {
@@ -3617,78 +3617,78 @@ originalDts: ` + be + " ms, curRefDts: " + Re + " ms, dtsCorrection: " + Math.ro
3617
3617
  }, function(fe, Z, O) {
3618
3618
  O.r(Z);
3619
3619
  var U = O(9), B = O(12), m = O(10), b = O(1);
3620
- Z.default = function(v) {
3620
+ Z.default = function(y) {
3621
3621
  var f = null, L = (function(D, F) {
3622
- v.postMessage({ msg: "logcat_callback", data: { type: D, logcat: F } });
3622
+ y.postMessage({ msg: "logcat_callback", data: { type: D, logcat: F } });
3623
3623
  }).bind(this);
3624
3624
  function x(D, F) {
3625
3625
  var ee = { msg: b.a.INIT_SEGMENT, data: { type: D, data: F } };
3626
- v.postMessage(ee, [F.data]);
3626
+ y.postMessage(ee, [F.data]);
3627
3627
  }
3628
3628
  function C(D, F) {
3629
3629
  var ee = { msg: b.a.MEDIA_SEGMENT, data: { type: D, data: F } };
3630
- v.postMessage(ee, [F.data]);
3630
+ y.postMessage(ee, [F.data]);
3631
3631
  }
3632
3632
  function V() {
3633
3633
  var D = { msg: b.a.LOADING_COMPLETE };
3634
- v.postMessage(D);
3634
+ y.postMessage(D);
3635
3635
  }
3636
3636
  function H() {
3637
3637
  var D = { msg: b.a.RECOVERED_EARLY_EOF };
3638
- v.postMessage(D);
3638
+ y.postMessage(D);
3639
3639
  }
3640
3640
  function ue(D) {
3641
3641
  var F = { msg: b.a.MEDIA_INFO, data: D };
3642
- v.postMessage(F);
3642
+ y.postMessage(F);
3643
3643
  }
3644
3644
  function se(D) {
3645
3645
  var F = { msg: b.a.METADATA_ARRIVED, data: D };
3646
- v.postMessage(F);
3646
+ y.postMessage(F);
3647
3647
  }
3648
3648
  function Y(D) {
3649
3649
  var F = { msg: b.a.SCRIPTDATA_ARRIVED, data: D };
3650
- v.postMessage(F);
3650
+ y.postMessage(F);
3651
3651
  }
3652
- function ae(D) {
3652
+ function ne(D) {
3653
3653
  var F = { msg: b.a.TIMED_ID3_METADATA_ARRIVED, data: D };
3654
- v.postMessage(F);
3654
+ y.postMessage(F);
3655
3655
  }
3656
- function y(D) {
3656
+ function v(D) {
3657
3657
  var F = { msg: b.a.SMPTE2038_METADATA_ARRIVED, data: D };
3658
- v.postMessage(F);
3658
+ y.postMessage(F);
3659
3659
  }
3660
3660
  function G(D) {
3661
3661
  var F = { msg: b.a.SCTE35_METADATA_ARRIVED, data: D };
3662
- v.postMessage(F);
3662
+ y.postMessage(F);
3663
3663
  }
3664
3664
  function T(D) {
3665
3665
  var F = { msg: b.a.PES_PRIVATE_DATA_DESCRIPTOR, data: D };
3666
- v.postMessage(F);
3666
+ y.postMessage(F);
3667
3667
  }
3668
3668
  function l(D) {
3669
3669
  var F = { msg: b.a.PES_PRIVATE_DATA_ARRIVED, data: D };
3670
- v.postMessage(F);
3670
+ y.postMessage(F);
3671
3671
  }
3672
3672
  function u(D) {
3673
3673
  var F = { msg: b.a.STATISTICS_INFO, data: D };
3674
- v.postMessage(F);
3674
+ y.postMessage(F);
3675
3675
  }
3676
3676
  function _(D, F) {
3677
- v.postMessage({ msg: b.a.IO_ERROR, data: { type: D, info: F } });
3677
+ y.postMessage({ msg: b.a.IO_ERROR, data: { type: D, info: F } });
3678
3678
  }
3679
3679
  function c(D, F) {
3680
- v.postMessage({ msg: b.a.DEMUX_ERROR, data: { type: D, info: F } });
3680
+ y.postMessage({ msg: b.a.DEMUX_ERROR, data: { type: D, info: F } });
3681
3681
  }
3682
3682
  function P(D) {
3683
- v.postMessage({ msg: b.a.RECOMMEND_SEEKPOINT, data: D });
3683
+ y.postMessage({ msg: b.a.RECOMMEND_SEEKPOINT, data: D });
3684
3684
  }
3685
- B.a.install(), v.addEventListener("message", function(D) {
3685
+ B.a.install(), y.addEventListener("message", function(D) {
3686
3686
  switch (D.data.cmd) {
3687
3687
  case "init":
3688
- (f = new m.a(D.data.param[0], D.data.param[1])).on(b.a.IO_ERROR, _.bind(this)), f.on(b.a.DEMUX_ERROR, c.bind(this)), f.on(b.a.INIT_SEGMENT, x.bind(this)), f.on(b.a.MEDIA_SEGMENT, C.bind(this)), f.on(b.a.LOADING_COMPLETE, V.bind(this)), f.on(b.a.RECOVERED_EARLY_EOF, H.bind(this)), f.on(b.a.MEDIA_INFO, ue.bind(this)), f.on(b.a.METADATA_ARRIVED, se.bind(this)), f.on(b.a.SCRIPTDATA_ARRIVED, Y.bind(this)), f.on(b.a.TIMED_ID3_METADATA_ARRIVED, ae.bind(this)), f.on(b.a.SMPTE2038_METADATA_ARRIVED, y.bind(this)), f.on(b.a.SCTE35_METADATA_ARRIVED, G.bind(this)), f.on(b.a.PES_PRIVATE_DATA_DESCRIPTOR, T.bind(this)), f.on(b.a.PES_PRIVATE_DATA_ARRIVED, l.bind(this)), f.on(b.a.STATISTICS_INFO, u.bind(this)), f.on(b.a.RECOMMEND_SEEKPOINT, P.bind(this));
3688
+ (f = new m.a(D.data.param[0], D.data.param[1])).on(b.a.IO_ERROR, _.bind(this)), f.on(b.a.DEMUX_ERROR, c.bind(this)), f.on(b.a.INIT_SEGMENT, x.bind(this)), f.on(b.a.MEDIA_SEGMENT, C.bind(this)), f.on(b.a.LOADING_COMPLETE, V.bind(this)), f.on(b.a.RECOVERED_EARLY_EOF, H.bind(this)), f.on(b.a.MEDIA_INFO, ue.bind(this)), f.on(b.a.METADATA_ARRIVED, se.bind(this)), f.on(b.a.SCRIPTDATA_ARRIVED, Y.bind(this)), f.on(b.a.TIMED_ID3_METADATA_ARRIVED, ne.bind(this)), f.on(b.a.SMPTE2038_METADATA_ARRIVED, v.bind(this)), f.on(b.a.SCTE35_METADATA_ARRIVED, G.bind(this)), f.on(b.a.PES_PRIVATE_DATA_DESCRIPTOR, T.bind(this)), f.on(b.a.PES_PRIVATE_DATA_ARRIVED, l.bind(this)), f.on(b.a.STATISTICS_INFO, u.bind(this)), f.on(b.a.RECOMMEND_SEEKPOINT, P.bind(this));
3689
3689
  break;
3690
3690
  case "destroy":
3691
- f && (f.destroy(), f = null), v.postMessage({ msg: "destroyed" });
3691
+ f && (f.destroy(), f = null), y.postMessage({ msg: "destroyed" });
3692
3692
  break;
3693
3693
  case "start":
3694
3694
  f.start();
@@ -3717,7 +3717,7 @@ originalDts: ` + be + " ms, curRefDts: " + Re + " ms, dtsCorrection: " + Math.ro
3717
3717
  function b() {
3718
3718
  return Object.assign({}, m);
3719
3719
  }
3720
- var v = function() {
3720
+ var y = function() {
3721
3721
  function k() {
3722
3722
  }
3723
3723
  return k.supportMSEH264Playback = function() {
@@ -3738,17 +3738,17 @@ originalDts: ` + be + " ms, curRefDts: " + Re + " ms, dtsCorrection: " + Math.ro
3738
3738
  var d = { msePlayback: !1, mseLivePlayback: !1, mseH265Playback: !1, networkStreamIO: !1, networkLoaderName: "", nativeMP4H264Playback: !1, nativeMP4H265Playback: !1, nativeWebmVP8Playback: !1, nativeWebmVP9Playback: !1 };
3739
3739
  return d.msePlayback = k.supportMSEH264Playback(), d.networkStreamIO = k.supportNetworkStreamIO(), d.networkLoaderName = k.getNetworkLoaderTypeName(), d.mseLivePlayback = d.msePlayback && d.networkStreamIO, d.mseH265Playback = k.supportMSEH265Playback(), d.nativeMP4H264Playback = k.supportNativeMediaPlayback('video/mp4; codecs="avc1.42001E, mp4a.40.2"'), d.nativeMP4H265Playback = k.supportNativeMediaPlayback('video/mp4; codecs="hvc1.1.6.L93.B0"'), d.nativeWebmVP8Playback = k.supportNativeMediaPlayback('video/webm; codecs="vp8.0, vorbis"'), d.nativeWebmVP9Playback = k.supportNativeMediaPlayback('video/webm; codecs="vp9"'), d;
3740
3740
  }, k;
3741
- }(), f = O(2), L = O(6), x = O.n(L), C = O(0), V = O(4), H = { ERROR: "error", LOADING_COMPLETE: "loading_complete", RECOVERED_EARLY_EOF: "recovered_early_eof", MEDIA_INFO: "media_info", METADATA_ARRIVED: "metadata_arrived", SCRIPTDATA_ARRIVED: "scriptdata_arrived", TIMED_ID3_METADATA_ARRIVED: "timed_id3_metadata_arrived", SMPTE2038_METADATA_ARRIVED: "smpte2038_metadata_arrived", SCTE35_METADATA_ARRIVED: "scte35_metadata_arrived", PES_PRIVATE_DATA_DESCRIPTOR: "pes_private_data_descriptor", PES_PRIVATE_DATA_ARRIVED: "pes_private_data_arrived", STATISTICS_INFO: "statistics_info" }, ue = O(13), se = O.n(ue), Y = O(9), ae = O(10), y = O(1), G = O(8), T = function() {
3741
+ }(), f = O(2), L = O(6), x = O.n(L), C = O(0), V = O(4), H = { ERROR: "error", LOADING_COMPLETE: "loading_complete", RECOVERED_EARLY_EOF: "recovered_early_eof", MEDIA_INFO: "media_info", METADATA_ARRIVED: "metadata_arrived", SCRIPTDATA_ARRIVED: "scriptdata_arrived", TIMED_ID3_METADATA_ARRIVED: "timed_id3_metadata_arrived", SMPTE2038_METADATA_ARRIVED: "smpte2038_metadata_arrived", SCTE35_METADATA_ARRIVED: "scte35_metadata_arrived", PES_PRIVATE_DATA_DESCRIPTOR: "pes_private_data_descriptor", PES_PRIVATE_DATA_ARRIVED: "pes_private_data_arrived", STATISTICS_INFO: "statistics_info" }, ue = O(13), se = O.n(ue), Y = O(9), ne = O(10), v = O(1), G = O(8), T = function() {
3742
3742
  function k(d, h) {
3743
3743
  if (this.TAG = "Transmuxer", this._emitter = new x.a(), h.enableWorker && typeof Worker < "u") try {
3744
3744
  this._worker = se()(18), this._workerDestroying = !1, this._worker.addEventListener("message", this._onWorkerMessage.bind(this)), this._worker.postMessage({ cmd: "init", param: [d, h] }), this.e = { onLoggingConfigChanged: this._onLoggingConfigChanged.bind(this) }, Y.a.registerListener(this.e.onLoggingConfigChanged), this._worker.postMessage({ cmd: "logging_config", param: Y.a.getConfig() });
3745
3745
  } catch {
3746
- C.a.e(this.TAG, "Error while initialize transmuxing worker, fallback to inline transmuxing"), this._worker = null, this._controller = new ae.a(d, h);
3746
+ C.a.e(this.TAG, "Error while initialize transmuxing worker, fallback to inline transmuxing"), this._worker = null, this._controller = new ne.a(d, h);
3747
3747
  }
3748
- else this._controller = new ae.a(d, h);
3748
+ else this._controller = new ne.a(d, h);
3749
3749
  if (this._controller) {
3750
3750
  var R = this._controller;
3751
- R.on(y.a.IO_ERROR, this._onIOError.bind(this)), R.on(y.a.DEMUX_ERROR, this._onDemuxError.bind(this)), R.on(y.a.INIT_SEGMENT, this._onInitSegment.bind(this)), R.on(y.a.MEDIA_SEGMENT, this._onMediaSegment.bind(this)), R.on(y.a.LOADING_COMPLETE, this._onLoadingComplete.bind(this)), R.on(y.a.RECOVERED_EARLY_EOF, this._onRecoveredEarlyEof.bind(this)), R.on(y.a.MEDIA_INFO, this._onMediaInfo.bind(this)), R.on(y.a.METADATA_ARRIVED, this._onMetaDataArrived.bind(this)), R.on(y.a.SCRIPTDATA_ARRIVED, this._onScriptDataArrived.bind(this)), R.on(y.a.TIMED_ID3_METADATA_ARRIVED, this._onTimedID3MetadataArrived.bind(this)), R.on(y.a.SMPTE2038_METADATA_ARRIVED, this._onSMPTE2038MetadataArrived.bind(this)), R.on(y.a.SCTE35_METADATA_ARRIVED, this._onSCTE35MetadataArrived.bind(this)), R.on(y.a.PES_PRIVATE_DATA_DESCRIPTOR, this._onPESPrivateDataDescriptor.bind(this)), R.on(y.a.PES_PRIVATE_DATA_ARRIVED, this._onPESPrivateDataArrived.bind(this)), R.on(y.a.STATISTICS_INFO, this._onStatisticsInfo.bind(this)), R.on(y.a.RECOMMEND_SEEKPOINT, this._onRecommendSeekpoint.bind(this));
3751
+ R.on(v.a.IO_ERROR, this._onIOError.bind(this)), R.on(v.a.DEMUX_ERROR, this._onDemuxError.bind(this)), R.on(v.a.INIT_SEGMENT, this._onInitSegment.bind(this)), R.on(v.a.MEDIA_SEGMENT, this._onMediaSegment.bind(this)), R.on(v.a.LOADING_COMPLETE, this._onLoadingComplete.bind(this)), R.on(v.a.RECOVERED_EARLY_EOF, this._onRecoveredEarlyEof.bind(this)), R.on(v.a.MEDIA_INFO, this._onMediaInfo.bind(this)), R.on(v.a.METADATA_ARRIVED, this._onMetaDataArrived.bind(this)), R.on(v.a.SCRIPTDATA_ARRIVED, this._onScriptDataArrived.bind(this)), R.on(v.a.TIMED_ID3_METADATA_ARRIVED, this._onTimedID3MetadataArrived.bind(this)), R.on(v.a.SMPTE2038_METADATA_ARRIVED, this._onSMPTE2038MetadataArrived.bind(this)), R.on(v.a.SCTE35_METADATA_ARRIVED, this._onSCTE35MetadataArrived.bind(this)), R.on(v.a.PES_PRIVATE_DATA_DESCRIPTOR, this._onPESPrivateDataDescriptor.bind(this)), R.on(v.a.PES_PRIVATE_DATA_ARRIVED, this._onPESPrivateDataArrived.bind(this)), R.on(v.a.STATISTICS_INFO, this._onStatisticsInfo.bind(this)), R.on(v.a.RECOMMEND_SEEKPOINT, this._onRecommendSeekpoint.bind(this));
3752
3752
  }
3753
3753
  }
3754
3754
  return k.prototype.destroy = function() {
@@ -3772,82 +3772,82 @@ originalDts: ` + be + " ms, curRefDts: " + Re + " ms, dtsCorrection: " + Math.ro
3772
3772
  }, k.prototype._onInitSegment = function(d, h) {
3773
3773
  var R = this;
3774
3774
  Promise.resolve().then(function() {
3775
- R._emitter.emit(y.a.INIT_SEGMENT, d, h);
3775
+ R._emitter.emit(v.a.INIT_SEGMENT, d, h);
3776
3776
  });
3777
3777
  }, k.prototype._onMediaSegment = function(d, h) {
3778
3778
  var R = this;
3779
3779
  Promise.resolve().then(function() {
3780
- R._emitter.emit(y.a.MEDIA_SEGMENT, d, h);
3780
+ R._emitter.emit(v.a.MEDIA_SEGMENT, d, h);
3781
3781
  });
3782
3782
  }, k.prototype._onLoadingComplete = function() {
3783
3783
  var d = this;
3784
3784
  Promise.resolve().then(function() {
3785
- d._emitter.emit(y.a.LOADING_COMPLETE);
3785
+ d._emitter.emit(v.a.LOADING_COMPLETE);
3786
3786
  });
3787
3787
  }, k.prototype._onRecoveredEarlyEof = function() {
3788
3788
  var d = this;
3789
3789
  Promise.resolve().then(function() {
3790
- d._emitter.emit(y.a.RECOVERED_EARLY_EOF);
3790
+ d._emitter.emit(v.a.RECOVERED_EARLY_EOF);
3791
3791
  });
3792
3792
  }, k.prototype._onMediaInfo = function(d) {
3793
3793
  var h = this;
3794
3794
  Promise.resolve().then(function() {
3795
- h._emitter.emit(y.a.MEDIA_INFO, d);
3795
+ h._emitter.emit(v.a.MEDIA_INFO, d);
3796
3796
  });
3797
3797
  }, k.prototype._onMetaDataArrived = function(d) {
3798
3798
  var h = this;
3799
3799
  Promise.resolve().then(function() {
3800
- h._emitter.emit(y.a.METADATA_ARRIVED, d);
3800
+ h._emitter.emit(v.a.METADATA_ARRIVED, d);
3801
3801
  });
3802
3802
  }, k.prototype._onScriptDataArrived = function(d) {
3803
3803
  var h = this;
3804
3804
  Promise.resolve().then(function() {
3805
- h._emitter.emit(y.a.SCRIPTDATA_ARRIVED, d);
3805
+ h._emitter.emit(v.a.SCRIPTDATA_ARRIVED, d);
3806
3806
  });
3807
3807
  }, k.prototype._onTimedID3MetadataArrived = function(d) {
3808
3808
  var h = this;
3809
3809
  Promise.resolve().then(function() {
3810
- h._emitter.emit(y.a.TIMED_ID3_METADATA_ARRIVED, d);
3810
+ h._emitter.emit(v.a.TIMED_ID3_METADATA_ARRIVED, d);
3811
3811
  });
3812
3812
  }, k.prototype._onSMPTE2038MetadataArrived = function(d) {
3813
3813
  var h = this;
3814
3814
  Promise.resolve().then(function() {
3815
- h._emitter.emit(y.a.SMPTE2038_METADATA_ARRIVED, d);
3815
+ h._emitter.emit(v.a.SMPTE2038_METADATA_ARRIVED, d);
3816
3816
  });
3817
3817
  }, k.prototype._onSCTE35MetadataArrived = function(d) {
3818
3818
  var h = this;
3819
3819
  Promise.resolve().then(function() {
3820
- h._emitter.emit(y.a.SCTE35_METADATA_ARRIVED, d);
3820
+ h._emitter.emit(v.a.SCTE35_METADATA_ARRIVED, d);
3821
3821
  });
3822
3822
  }, k.prototype._onPESPrivateDataDescriptor = function(d) {
3823
3823
  var h = this;
3824
3824
  Promise.resolve().then(function() {
3825
- h._emitter.emit(y.a.PES_PRIVATE_DATA_DESCRIPTOR, d);
3825
+ h._emitter.emit(v.a.PES_PRIVATE_DATA_DESCRIPTOR, d);
3826
3826
  });
3827
3827
  }, k.prototype._onPESPrivateDataArrived = function(d) {
3828
3828
  var h = this;
3829
3829
  Promise.resolve().then(function() {
3830
- h._emitter.emit(y.a.PES_PRIVATE_DATA_ARRIVED, d);
3830
+ h._emitter.emit(v.a.PES_PRIVATE_DATA_ARRIVED, d);
3831
3831
  });
3832
3832
  }, k.prototype._onStatisticsInfo = function(d) {
3833
3833
  var h = this;
3834
3834
  Promise.resolve().then(function() {
3835
- h._emitter.emit(y.a.STATISTICS_INFO, d);
3835
+ h._emitter.emit(v.a.STATISTICS_INFO, d);
3836
3836
  });
3837
3837
  }, k.prototype._onIOError = function(d, h) {
3838
3838
  var R = this;
3839
3839
  Promise.resolve().then(function() {
3840
- R._emitter.emit(y.a.IO_ERROR, d, h);
3840
+ R._emitter.emit(v.a.IO_ERROR, d, h);
3841
3841
  });
3842
3842
  }, k.prototype._onDemuxError = function(d, h) {
3843
3843
  var R = this;
3844
3844
  Promise.resolve().then(function() {
3845
- R._emitter.emit(y.a.DEMUX_ERROR, d, h);
3845
+ R._emitter.emit(v.a.DEMUX_ERROR, d, h);
3846
3846
  });
3847
3847
  }, k.prototype._onRecommendSeekpoint = function(d) {
3848
3848
  var h = this;
3849
3849
  Promise.resolve().then(function() {
3850
- h._emitter.emit(y.a.RECOMMEND_SEEKPOINT, d);
3850
+ h._emitter.emit(v.a.RECOMMEND_SEEKPOINT, d);
3851
3851
  });
3852
3852
  }, k.prototype._onLoggingConfigChanged = function(d) {
3853
3853
  this._worker && this._worker.postMessage({ cmd: "logging_config", param: d });
@@ -3855,32 +3855,32 @@ originalDts: ` + be + " ms, curRefDts: " + Re + " ms, dtsCorrection: " + Math.ro
3855
3855
  var h = d.data, R = h.data;
3856
3856
  if (h.msg === "destroyed" || this._workerDestroying) return this._workerDestroying = !1, this._worker.terminate(), void (this._worker = null);
3857
3857
  switch (h.msg) {
3858
- case y.a.INIT_SEGMENT:
3859
- case y.a.MEDIA_SEGMENT:
3858
+ case v.a.INIT_SEGMENT:
3859
+ case v.a.MEDIA_SEGMENT:
3860
3860
  this._emitter.emit(h.msg, R.type, R.data);
3861
3861
  break;
3862
- case y.a.LOADING_COMPLETE:
3863
- case y.a.RECOVERED_EARLY_EOF:
3862
+ case v.a.LOADING_COMPLETE:
3863
+ case v.a.RECOVERED_EARLY_EOF:
3864
3864
  this._emitter.emit(h.msg);
3865
3865
  break;
3866
- case y.a.MEDIA_INFO:
3866
+ case v.a.MEDIA_INFO:
3867
3867
  Object.setPrototypeOf(R, G.a.prototype), this._emitter.emit(h.msg, R);
3868
3868
  break;
3869
- case y.a.METADATA_ARRIVED:
3870
- case y.a.SCRIPTDATA_ARRIVED:
3871
- case y.a.TIMED_ID3_METADATA_ARRIVED:
3872
- case y.a.SMPTE2038_METADATA_ARRIVED:
3873
- case y.a.SCTE35_METADATA_ARRIVED:
3874
- case y.a.PES_PRIVATE_DATA_DESCRIPTOR:
3875
- case y.a.PES_PRIVATE_DATA_ARRIVED:
3876
- case y.a.STATISTICS_INFO:
3869
+ case v.a.METADATA_ARRIVED:
3870
+ case v.a.SCRIPTDATA_ARRIVED:
3871
+ case v.a.TIMED_ID3_METADATA_ARRIVED:
3872
+ case v.a.SMPTE2038_METADATA_ARRIVED:
3873
+ case v.a.SCTE35_METADATA_ARRIVED:
3874
+ case v.a.PES_PRIVATE_DATA_DESCRIPTOR:
3875
+ case v.a.PES_PRIVATE_DATA_ARRIVED:
3876
+ case v.a.STATISTICS_INFO:
3877
3877
  this._emitter.emit(h.msg, R);
3878
3878
  break;
3879
- case y.a.IO_ERROR:
3880
- case y.a.DEMUX_ERROR:
3879
+ case v.a.IO_ERROR:
3880
+ case v.a.DEMUX_ERROR:
3881
3881
  this._emitter.emit(h.msg, R.type, R.info);
3882
3882
  break;
3883
- case y.a.RECOMMEND_SEEKPOINT:
3883
+ case v.a.RECOMMEND_SEEKPOINT:
3884
3884
  this._emitter.emit(h.msg, R);
3885
3885
  break;
3886
3886
  case "logcat_callback":
@@ -4090,40 +4090,40 @@ originalDts: ` + be + " ms, curRefDts: " + Re + " ms, dtsCorrection: " + Math.ro
4090
4090
  var d = this;
4091
4091
  if (!this._mediaElement) throw new _.a("HTMLMediaElement must be attached before load()!");
4092
4092
  if (this._transmuxer) throw new _.a("MSEPlayer.load() has been called, please call unload() first!");
4093
- this._hasPendingLoad || (this._config.deferLoadAfterSourceOpen && this._mseSourceOpened === !1 ? this._hasPendingLoad = !0 : (this._mediaElement.readyState > 0 && (this._requestSetTime = !0, this._mediaElement.currentTime = 0), this._transmuxer = new T(this._mediaDataSource, this._config), this._transmuxer.on(y.a.INIT_SEGMENT, function(h, R) {
4093
+ this._hasPendingLoad || (this._config.deferLoadAfterSourceOpen && this._mseSourceOpened === !1 ? this._hasPendingLoad = !0 : (this._mediaElement.readyState > 0 && (this._requestSetTime = !0, this._mediaElement.currentTime = 0), this._transmuxer = new T(this._mediaDataSource, this._config), this._transmuxer.on(v.a.INIT_SEGMENT, function(h, R) {
4094
4094
  d._msectl.appendInitSegment(R);
4095
- }), this._transmuxer.on(y.a.MEDIA_SEGMENT, function(h, R) {
4095
+ }), this._transmuxer.on(v.a.MEDIA_SEGMENT, function(h, R) {
4096
4096
  if (d._msectl.appendMediaSegment(R), d._config.lazyLoad && !d._config.isLive) {
4097
4097
  var X = d._mediaElement.currentTime;
4098
4098
  R.info.endDts >= 1e3 * (X + d._config.lazyLoadMaxDuration) && d._progressChecker == null && (C.a.v(d.TAG, "Maximum buffering duration exceeded, suspend transmuxing task"), d._suspendTransmuxer());
4099
4099
  }
4100
- }), this._transmuxer.on(y.a.LOADING_COMPLETE, function() {
4100
+ }), this._transmuxer.on(v.a.LOADING_COMPLETE, function() {
4101
4101
  d._msectl.endOfStream(), d._emitter.emit(H.LOADING_COMPLETE);
4102
- }), this._transmuxer.on(y.a.RECOVERED_EARLY_EOF, function() {
4102
+ }), this._transmuxer.on(v.a.RECOVERED_EARLY_EOF, function() {
4103
4103
  d._emitter.emit(H.RECOVERED_EARLY_EOF);
4104
- }), this._transmuxer.on(y.a.IO_ERROR, function(h, R) {
4104
+ }), this._transmuxer.on(v.a.IO_ERROR, function(h, R) {
4105
4105
  d._emitter.emit(H.ERROR, D.NETWORK_ERROR, h, R);
4106
- }), this._transmuxer.on(y.a.DEMUX_ERROR, function(h, R) {
4106
+ }), this._transmuxer.on(v.a.DEMUX_ERROR, function(h, R) {
4107
4107
  d._emitter.emit(H.ERROR, D.MEDIA_ERROR, h, { code: -1, msg: R });
4108
- }), this._transmuxer.on(y.a.MEDIA_INFO, function(h) {
4108
+ }), this._transmuxer.on(v.a.MEDIA_INFO, function(h) {
4109
4109
  d._mediaInfo = h, d._emitter.emit(H.MEDIA_INFO, Object.assign({}, h));
4110
- }), this._transmuxer.on(y.a.METADATA_ARRIVED, function(h) {
4110
+ }), this._transmuxer.on(v.a.METADATA_ARRIVED, function(h) {
4111
4111
  d._emitter.emit(H.METADATA_ARRIVED, h);
4112
- }), this._transmuxer.on(y.a.SCRIPTDATA_ARRIVED, function(h) {
4112
+ }), this._transmuxer.on(v.a.SCRIPTDATA_ARRIVED, function(h) {
4113
4113
  d._emitter.emit(H.SCRIPTDATA_ARRIVED, h);
4114
- }), this._transmuxer.on(y.a.TIMED_ID3_METADATA_ARRIVED, function(h) {
4114
+ }), this._transmuxer.on(v.a.TIMED_ID3_METADATA_ARRIVED, function(h) {
4115
4115
  d._emitter.emit(H.TIMED_ID3_METADATA_ARRIVED, h);
4116
- }), this._transmuxer.on(y.a.SMPTE2038_METADATA_ARRIVED, function(h) {
4116
+ }), this._transmuxer.on(v.a.SMPTE2038_METADATA_ARRIVED, function(h) {
4117
4117
  d._emitter.emit(H.SMPTE2038_METADATA_ARRIVED, h);
4118
- }), this._transmuxer.on(y.a.SCTE35_METADATA_ARRIVED, function(h) {
4118
+ }), this._transmuxer.on(v.a.SCTE35_METADATA_ARRIVED, function(h) {
4119
4119
  d._emitter.emit(H.SCTE35_METADATA_ARRIVED, h);
4120
- }), this._transmuxer.on(y.a.PES_PRIVATE_DATA_DESCRIPTOR, function(h) {
4120
+ }), this._transmuxer.on(v.a.PES_PRIVATE_DATA_DESCRIPTOR, function(h) {
4121
4121
  d._emitter.emit(H.PES_PRIVATE_DATA_DESCRIPTOR, h);
4122
- }), this._transmuxer.on(y.a.PES_PRIVATE_DATA_ARRIVED, function(h) {
4122
+ }), this._transmuxer.on(v.a.PES_PRIVATE_DATA_ARRIVED, function(h) {
4123
4123
  d._emitter.emit(H.PES_PRIVATE_DATA_ARRIVED, h);
4124
- }), this._transmuxer.on(y.a.STATISTICS_INFO, function(h) {
4124
+ }), this._transmuxer.on(v.a.STATISTICS_INFO, function(h) {
4125
4125
  d._statisticsInfo = d._fillStatisticsInfo(h), d._emitter.emit(H.STATISTICS_INFO, Object.assign({}, d._statisticsInfo));
4126
- }), this._transmuxer.on(y.a.RECOMMEND_SEEKPOINT, function(h) {
4126
+ }), this._transmuxer.on(v.a.RECOMMEND_SEEKPOINT, function(h) {
4127
4127
  d._mediaElement && !d._config.accurateSeek && (d._requestSetTime = !0, d._mediaElement.currentTime = h / 1e3);
4128
4128
  }), this._transmuxer.open()));
4129
4129
  }, k.prototype.unload = function() {
@@ -4322,7 +4322,7 @@ originalDts: ` + be + " ms, curRefDts: " + Re + " ms, dtsCorrection: " + Math.ro
4322
4322
  }, k;
4323
4323
  }();
4324
4324
  U.a.install();
4325
- var ve = { createPlayer: function(k, d) {
4325
+ var ye = { createPlayer: function(k, d) {
4326
4326
  var h = k;
4327
4327
  if (h == null || typeof h != "object") throw new _.b("MediaDataSource must be an javascript object!");
4328
4328
  if (!h.hasOwnProperty("type")) throw new _.b("MediaDataSource must has type field to indicate video file type!");
@@ -4336,13 +4336,13 @@ originalDts: ` + be + " ms, curRefDts: " + Re + " ms, dtsCorrection: " + Math.ro
4336
4336
  return new pe(h, d);
4337
4337
  }
4338
4338
  }, isSupported: function() {
4339
- return v.supportMSEH264Playback();
4339
+ return y.supportMSEH264Playback();
4340
4340
  }, getFeatureList: function() {
4341
- return v.getFeatureList();
4341
+ return y.getFeatureList();
4342
4342
  } };
4343
- ve.BaseLoader = f.a, ve.LoaderStatus = f.c, ve.LoaderErrors = f.b, ve.Events = H, ve.ErrorTypes = D, ve.ErrorDetails = F, ve.MSEPlayer = ee, ve.NativePlayer = pe, ve.LoggingControl = Y.a, Object.defineProperty(ve, "version", { enumerable: !0, get: function() {
4343
+ ye.BaseLoader = f.a, ye.LoaderStatus = f.c, ye.LoaderErrors = f.b, ye.Events = H, ye.ErrorTypes = D, ye.ErrorDetails = F, ye.MSEPlayer = ee, ye.NativePlayer = pe, ye.LoggingControl = Y.a, Object.defineProperty(ye, "version", { enumerable: !0, get: function() {
4344
4344
  return "1.7.3";
4345
- } }), Z.default = ve;
4345
+ } }), Z.default = ye;
4346
4346
  }]);
4347
4347
  });
4348
4348
  })(Tt);
@@ -4371,7 +4371,7 @@ const Rt = /* @__PURE__ */ di(ui), li = ["element-loading-text", "element-loadin
4371
4371
  fit: B,
4372
4372
  loadingText: m = At("加载中"),
4373
4373
  loading: b = !1,
4374
- error: v = !1,
4374
+ error: y = !1,
4375
4375
  errorText: f = At("das-ui-live-player-videoLoadFailedRetry")
4376
4376
  } = Zt(Z), L = ot(() => Z.src || ""), x = ot(() => {
4377
4377
  const l = L.value.split(".").pop() || void 0;
@@ -4387,37 +4387,37 @@ const Rt = /* @__PURE__ */ di(ui), li = ["element-loading-text", "element-loadin
4387
4387
  }, se = (l, u) => {
4388
4388
  Y();
4389
4389
  }, Y = () => {
4390
- V.value !== 0 && (V.value = V.value - 1, ae(), ue());
4391
- }, ae = () => {
4390
+ V.value !== 0 && (V.value = V.value - 1, ne(), ue());
4391
+ }, ne = () => {
4392
4392
  U && (U.pause(), U.unload(), U.detachMediaElement(), U.destroy(), U = null);
4393
4393
  };
4394
4394
  $t(() => {
4395
4395
  ue();
4396
4396
  }), Qt(() => {
4397
- ae();
4397
+ ne();
4398
4398
  }), Ye({
4399
4399
  video: H
4400
4400
  });
4401
- const y = Xe("el-icon-loading"), G = Xe("rgba(0, 0, 0, 0.8)"), T = () => {
4401
+ const v = Xe("el-icon-loading"), G = Xe("rgba(0, 0, 0, 0.8)"), T = () => {
4402
4402
  ue(), O("errorClick");
4403
4403
  };
4404
4404
  return (l, u) => {
4405
4405
  const _ = si;
4406
- return ei((ut(), dt("div", {
4406
+ return ei((dt(), ut("div", {
4407
4407
  class: "das-live-player",
4408
4408
  "element-loading-text": We(m),
4409
- "element-loading-spinner": y.value,
4409
+ "element-loading-spinner": v.value,
4410
4410
  "element-loading-background": G.value
4411
4411
  }, [
4412
- We(v) ? (ut(), dt("div", {
4412
+ We(y) ? (dt(), ut("div", {
4413
4413
  key: 1,
4414
4414
  class: "error",
4415
4415
  onClick: T
4416
4416
  }, [
4417
4417
  ii(l.$slots, "error", {}, () => [
4418
- ri(ai(We(f)), 1)
4418
+ ri(ni(We(f)), 1)
4419
4419
  ], !0)
4420
- ])) : (ut(), dt("video", {
4420
+ ])) : (dt(), ut("video", {
4421
4421
  key: 0,
4422
4422
  ref_key: "video",
4423
4423
  ref: H,
@@ -4445,7 +4445,7 @@ const Rt = /* @__PURE__ */ di(ui), li = ["element-loading-text", "element-loadin
4445
4445
  }
4446
4446
  };
4447
4447
  oi(fi);
4448
- const Si = ni(ci), Ei = () => Xe(null);
4448
+ const Si = ai(ci), Ei = () => Xe(null);
4449
4449
  export {
4450
4450
  Si as DasLivePlayer,
4451
4451
  Ei as getDasLivePlayerRef