@mux/mux-player 1.1.2 → 1.1.3-canary.0-8dbfb52
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +427 -0
- package/dist/cjs.json +1 -0
- package/dist/esm.json +1 -0
- package/dist/iife.json +1 -0
- package/dist/index.cjs.js +1 -1
- package/dist/index.mjs +1 -1
- package/dist/module.json +1 -0
- package/dist/mux-player.js +4 -4
- package/dist/mux-player.mjs +4 -4
- package/package.json +9 -5
- package/LICENSE +0 -9
package/dist/esm.json
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"inputs":{"../../shared/polyfills/index.js":{"bytes":1440,"imports":[]},"lang/en.json":{"bytes":42,"imports":[]},"src/utils.ts":{"bytes":2729,"imports":[{"path":"lang/en.json","kind":"import-statement"}]},"src/helpers.ts":{"bytes":5571,"imports":[{"path":"src/utils.ts","kind":"import-statement"}]},"src/logger.ts":{"bytes":688,"imports":[{"path":"src/utils.ts","kind":"import-statement"},{"path":"src/helpers.ts","kind":"import-statement"}]},"src/video-api.ts":{"bytes":10967,"imports":[{"path":"../../shared/polyfills/index.js","kind":"import-statement"},{"path":"src/logger.ts","kind":"import-statement"},{"path":"src/utils.ts","kind":"import-statement"}]},"src/html.ts":{"bytes":7913,"imports":[]},"src/media-chrome/time-display.ts":{"bytes":3357,"imports":[{"path":"../../shared/polyfills/index.js","kind":"import-statement"}]},"src/media-theme-mux/styles.css":{"bytes":5328,"imports":[]},"src/media-theme-mux/icons/airplay.svg":{"bytes":315,"imports":[]},"src/media-theme-mux/icons/captions-off.svg":{"bytes":1783,"imports":[]},"src/media-theme-mux/icons/captions-on.svg":{"bytes":1418,"imports":[]},"src/media-theme-mux/icons/cast-enter.svg":{"bytes":384,"imports":[]},"src/media-theme-mux/icons/cast-exit.svg":{"bytes":458,"imports":[]},"src/media-theme-mux/icons/fullscreen-enter.svg":{"bytes":519,"imports":[]},"src/media-theme-mux/icons/fullscreen-exit.svg":{"bytes":418,"imports":[]},"src/media-theme-mux/icons/pause.svg":{"bytes":252,"imports":[]},"src/media-theme-mux/icons/pip-enter.svg":{"bytes":259,"imports":[]},"src/media-theme-mux/icons/pip-exit.svg":{"bytes":258,"imports":[]},"src/media-theme-mux/icons/play.svg":{"bytes":176,"imports":[]},"src/media-theme-mux/icons/seek-backward.svg":{"bytes":307,"imports":[]},"src/media-theme-mux/icons/seek-forward.svg":{"bytes":305,"imports":[]},"src/media-theme-mux/icons/volume-high.svg":{"bytes":436,"imports":[]},"src/media-theme-mux/icons/volume-low.svg":{"bytes":330,"imports":[]},"src/media-theme-mux/icons/volume-medium.svg":{"bytes":333,"imports":[]},"src/media-theme-mux/icons/volume-off.svg":{"bytes":737,"imports":[]},"src/media-theme-mux/icons.ts":{"bytes":2075,"imports":[{"path":"src/html.ts","kind":"import-statement"},{"path":"src/media-theme-mux/icons/airplay.svg","kind":"import-statement"},{"path":"src/media-theme-mux/icons/captions-off.svg","kind":"import-statement"},{"path":"src/media-theme-mux/icons/captions-on.svg","kind":"import-statement"},{"path":"src/media-theme-mux/icons/cast-enter.svg","kind":"import-statement"},{"path":"src/media-theme-mux/icons/cast-exit.svg","kind":"import-statement"},{"path":"src/media-theme-mux/icons/fullscreen-enter.svg","kind":"import-statement"},{"path":"src/media-theme-mux/icons/fullscreen-exit.svg","kind":"import-statement"},{"path":"src/media-theme-mux/icons/pause.svg","kind":"import-statement"},{"path":"src/media-theme-mux/icons/pip-enter.svg","kind":"import-statement"},{"path":"src/media-theme-mux/icons/pip-exit.svg","kind":"import-statement"},{"path":"src/media-theme-mux/icons/play.svg","kind":"import-statement"},{"path":"src/media-theme-mux/icons/seek-backward.svg","kind":"import-statement"},{"path":"src/media-theme-mux/icons/seek-forward.svg","kind":"import-statement"},{"path":"src/media-theme-mux/icons/volume-high.svg","kind":"import-statement"},{"path":"src/media-theme-mux/icons/volume-low.svg","kind":"import-statement"},{"path":"src/media-theme-mux/icons/volume-medium.svg","kind":"import-statement"},{"path":"src/media-theme-mux/icons/volume-off.svg","kind":"import-statement"}]},"src/media-theme-mux/media-theme-mux.ts":{"bytes":18092,"imports":[{"path":"../../shared/polyfills/index.js","kind":"import-statement"},{"path":"src/html.ts","kind":"import-statement"},{"path":"src/media-chrome/time-display.ts","kind":"import-statement"},{"path":"src/media-theme-mux/styles.css","kind":"import-statement"},{"path":"src/media-theme-mux/icons.ts","kind":"import-statement"}]},"src/media-chrome/dialog.ts":{"bytes":6023,"imports":[{"path":"../../shared/polyfills/index.js","kind":"import-statement"}]},"src/dialog.ts":{"bytes":1254,"imports":[{"path":"../../shared/polyfills/index.js","kind":"import-statement"},{"path":"src/media-chrome/dialog.ts","kind":"import-statement"}]},"src/styles.css":{"bytes":6123,"imports":[]},"src/template.ts":{"bytes":5812,"imports":[{"path":"src/media-theme-mux/media-theme-mux.ts","kind":"import-statement"},{"path":"src/dialog.ts","kind":"import-statement"},{"path":"src/helpers.ts","kind":"import-statement"},{"path":"src/html.ts","kind":"import-statement"},{"path":"src/styles.css","kind":"import-statement"},{"path":"src/utils.ts","kind":"import-statement"}]},"src/errors.ts":{"bytes":6023,"imports":[{"path":"lang/en.json","kind":"import-statement"},{"path":"src/utils.ts","kind":"import-statement"}]},"src/index.ts":{"bytes":33583,"imports":[{"path":"../../shared/polyfills/index.js","kind":"import-statement"},{"path":"src/video-api.ts","kind":"import-statement"},{"path":"src/helpers.ts","kind":"import-statement"},{"path":"src/template.ts","kind":"import-statement"},{"path":"src/html.ts","kind":"import-statement"},{"path":"src/errors.ts","kind":"import-statement"},{"path":"src/utils.ts","kind":"import-statement"},{"path":"src/logger.ts","kind":"import-statement"}]}},"outputs":{"dist/index.mjs":{"imports":[],"exports":["MediaError","default","getVideoAttribute"],"entryPoint":"src/index.ts","inputs":{"../../shared/polyfills/index.js":{"bytesInOutput":762},"src/index.ts":{"bytesInOutput":15914},"src/video-api.ts":{"bytesInOutput":4515},"lang/en.json":{"bytesInOutput":24},"src/utils.ts":{"bytesInOutput":1140},"src/helpers.ts":{"bytesInOutput":2340},"src/logger.ts":{"bytesInOutput":278},"src/media-theme-mux/media-theme-mux.ts":{"bytesInOutput":9858},"src/html.ts":{"bytesInOutput":2803},"src/media-chrome/time-display.ts":{"bytesInOutput":2220},"src/media-theme-mux/styles.css":{"bytesInOutput":5338},"src/media-theme-mux/icons/airplay.svg":{"bytesInOutput":325},"src/media-theme-mux/icons/captions-off.svg":{"bytesInOutput":1793},"src/media-theme-mux/icons/captions-on.svg":{"bytesInOutput":1428},"src/media-theme-mux/icons/cast-enter.svg":{"bytesInOutput":394},"src/media-theme-mux/icons/cast-exit.svg":{"bytesInOutput":468},"src/media-theme-mux/icons/fullscreen-enter.svg":{"bytesInOutput":529},"src/media-theme-mux/icons/fullscreen-exit.svg":{"bytesInOutput":428},"src/media-theme-mux/icons/pause.svg":{"bytesInOutput":262},"src/media-theme-mux/icons/pip-enter.svg":{"bytesInOutput":269},"src/media-theme-mux/icons/pip-exit.svg":{"bytesInOutput":268},"src/media-theme-mux/icons/play.svg":{"bytesInOutput":186},"src/media-theme-mux/icons/seek-backward.svg":{"bytesInOutput":317},"src/media-theme-mux/icons/seek-forward.svg":{"bytesInOutput":315},"src/media-theme-mux/icons/volume-high.svg":{"bytesInOutput":446},"src/media-theme-mux/icons/volume-low.svg":{"bytesInOutput":340},"src/media-theme-mux/icons/volume-medium.svg":{"bytesInOutput":343},"src/media-theme-mux/icons/volume-off.svg":{"bytesInOutput":747},"src/media-theme-mux/icons.ts":{"bytesInOutput":227},"src/media-chrome/dialog.ts":{"bytesInOutput":3802},"src/dialog.ts":{"bytesInOutput":968},"src/styles.css":{"bytesInOutput":6136},"src/template.ts":{"bytesInOutput":4540},"src/errors.ts":{"bytesInOutput":3098}},"bytes":73278}}}
|
package/dist/iife.json
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"inputs":{"../../shared/polyfills/index.js":{"bytes":1440,"imports":[]},"../../node_modules/media-chrome/dist/constants.js":{"bytes":5007,"imports":[]},"../../node_modules/media-chrome/dist/labels/labels.js":{"bytes":1053,"imports":[]},"../../node_modules/media-chrome/dist/utils/time.js":{"bytes":1768,"imports":[]},"../../node_modules/media-chrome/dist/utils/server-safe-globals.js":{"bytes":713,"imports":[]},"../../node_modules/media-chrome/dist/utils/defineCustomElement.js":{"bytes":274,"imports":[{"path":"../../node_modules/media-chrome/dist/utils/server-safe-globals.js","kind":"import-statement"}]},"../../node_modules/media-chrome/dist/media-chrome-button.js":{"bytes":5811,"imports":[{"path":"../../node_modules/media-chrome/dist/constants.js","kind":"import-statement"},{"path":"../../node_modules/media-chrome/dist/utils/defineCustomElement.js","kind":"import-statement"},{"path":"../../node_modules/media-chrome/dist/utils/server-safe-globals.js","kind":"import-statement"}]},"../../node_modules/media-chrome/dist/media-airplay-button.js":{"bytes":1536,"imports":[{"path":"../../node_modules/media-chrome/dist/media-chrome-button.js","kind":"import-statement"},{"path":"../../node_modules/media-chrome/dist/utils/defineCustomElement.js","kind":"import-statement"},{"path":"../../node_modules/media-chrome/dist/utils/server-safe-globals.js","kind":"import-statement"},{"path":"../../node_modules/media-chrome/dist/constants.js","kind":"import-statement"},{"path":"../../node_modules/media-chrome/dist/labels/labels.js","kind":"import-statement"}]},"../../node_modules/media-chrome/dist/media-cast-button.js":{"bytes":3412,"imports":[{"path":"../../node_modules/media-chrome/dist/media-chrome-button.js","kind":"import-statement"},{"path":"../../node_modules/media-chrome/dist/utils/defineCustomElement.js","kind":"import-statement"},{"path":"../../node_modules/media-chrome/dist/utils/server-safe-globals.js","kind":"import-statement"},{"path":"../../node_modules/media-chrome/dist/constants.js","kind":"import-statement"},{"path":"../../node_modules/media-chrome/dist/labels/labels.js","kind":"import-statement"}]},"../../node_modules/media-chrome/dist/utils/element-utils.js":{"bytes":1579,"imports":[]},"../../node_modules/media-chrome/dist/media-gesture-receiver.js":{"bytes":4629,"imports":[{"path":"../../node_modules/media-chrome/dist/constants.js","kind":"import-statement"},{"path":"../../node_modules/media-chrome/dist/utils/defineCustomElement.js","kind":"import-statement"},{"path":"../../node_modules/media-chrome/dist/utils/element-utils.js","kind":"import-statement"},{"path":"../../node_modules/media-chrome/dist/utils/server-safe-globals.js","kind":"import-statement"}]},"../../node_modules/media-chrome/dist/media-container.js":{"bytes":9359,"imports":[{"path":"../../node_modules/media-chrome/dist/utils/defineCustomElement.js","kind":"import-statement"},{"path":"../../node_modules/media-chrome/dist/utils/server-safe-globals.js","kind":"import-statement"},{"path":"../../node_modules/media-chrome/dist/constants.js","kind":"import-statement"},{"path":"../../node_modules/media-chrome/dist/labels/labels.js","kind":"import-statement"},{"path":"../../node_modules/media-chrome/dist/media-gesture-receiver.js","kind":"import-statement"}]},"../../node_modules/media-chrome/dist/utils/attribute-token-list.js":{"bytes":3008,"imports":[]},"../../node_modules/media-chrome/dist/utils/fullscreenApi.js":{"bytes":713,"imports":[{"path":"../../node_modules/media-chrome/dist/utils/server-safe-globals.js","kind":"import-statement"}]},"../../node_modules/media-chrome/dist/utils/stringUtils.js":{"bytes":435,"imports":[]},"../../node_modules/media-chrome/dist/utils/captions.js":{"bytes":4558,"imports":[{"path":"../../node_modules/media-chrome/dist/constants.js","kind":"import-statement"}]},"../../node_modules/media-chrome/dist/media-controller.js":{"bytes":34760,"imports":[{"path":"../../node_modules/media-chrome/dist/media-container.js","kind":"import-statement"},{"path":"../../node_modules/media-chrome/dist/utils/defineCustomElement.js","kind":"import-statement"},{"path":"../../node_modules/media-chrome/dist/utils/server-safe-globals.js","kind":"import-statement"},{"path":"../../node_modules/media-chrome/dist/utils/attribute-token-list.js","kind":"import-statement"},{"path":"../../node_modules/media-chrome/dist/utils/fullscreenApi.js","kind":"import-statement"},{"path":"../../node_modules/media-chrome/dist/utils/stringUtils.js","kind":"import-statement"},{"path":"../../node_modules/media-chrome/dist/utils/element-utils.js","kind":"import-statement"},{"path":"../../node_modules/media-chrome/dist/utils/captions.js","kind":"import-statement"},{"path":"../../node_modules/media-chrome/dist/constants.js","kind":"import-statement"},{"path":"../../node_modules/media-chrome/dist/utils/captions.js","kind":"import-statement"}]},"../../node_modules/media-chrome/dist/media-chrome-range.js":{"bytes":9844,"imports":[{"path":"../../node_modules/media-chrome/dist/constants.js","kind":"import-statement"},{"path":"../../node_modules/media-chrome/dist/utils/defineCustomElement.js","kind":"import-statement"},{"path":"../../node_modules/media-chrome/dist/utils/server-safe-globals.js","kind":"import-statement"},{"path":"../../node_modules/media-chrome/dist/utils/element-utils.js","kind":"import-statement"}]},"../../node_modules/media-chrome/dist/media-control-bar.js":{"bytes":2481,"imports":[{"path":"../../node_modules/media-chrome/dist/constants.js","kind":"import-statement"},{"path":"../../node_modules/media-chrome/dist/utils/defineCustomElement.js","kind":"import-statement"},{"path":"../../node_modules/media-chrome/dist/utils/server-safe-globals.js","kind":"import-statement"}]},"../../node_modules/media-chrome/dist/media-text-display.js":{"bytes":2983,"imports":[{"path":"../../node_modules/media-chrome/dist/constants.js","kind":"import-statement"},{"path":"../../node_modules/media-chrome/dist/utils/defineCustomElement.js","kind":"import-statement"},{"path":"../../node_modules/media-chrome/dist/utils/server-safe-globals.js","kind":"import-statement"}]},"../../node_modules/media-chrome/dist/media-current-time-display.js":{"bytes":856,"imports":[{"path":"../../node_modules/media-chrome/dist/media-text-display.js","kind":"import-statement"},{"path":"../../node_modules/media-chrome/dist/utils/defineCustomElement.js","kind":"import-statement"},{"path":"../../node_modules/media-chrome/dist/utils/time.js","kind":"import-statement"},{"path":"../../node_modules/media-chrome/dist/constants.js","kind":"import-statement"}]},"../../node_modules/media-chrome/dist/media-duration-display.js":{"bytes":827,"imports":[{"path":"../../node_modules/media-chrome/dist/media-text-display.js","kind":"import-statement"},{"path":"../../node_modules/media-chrome/dist/utils/defineCustomElement.js","kind":"import-statement"},{"path":"../../node_modules/media-chrome/dist/utils/time.js","kind":"import-statement"},{"path":"../../node_modules/media-chrome/dist/constants.js","kind":"import-statement"}]},"../../node_modules/media-chrome/dist/media-time-display.js":{"bytes":3986,"imports":[{"path":"../../node_modules/media-chrome/dist/media-text-display.js","kind":"import-statement"},{"path":"../../node_modules/media-chrome/dist/utils/defineCustomElement.js","kind":"import-statement"},{"path":"../../node_modules/media-chrome/dist/utils/time.js","kind":"import-statement"},{"path":"../../node_modules/media-chrome/dist/constants.js","kind":"import-statement"},{"path":"../../node_modules/media-chrome/dist/labels/labels.js","kind":"import-statement"}]},"../../node_modules/media-chrome/dist/media-captions-button.js":{"bytes":5412,"imports":[{"path":"../../node_modules/media-chrome/dist/media-chrome-button.js","kind":"import-statement"},{"path":"../../node_modules/media-chrome/dist/utils/defineCustomElement.js","kind":"import-statement"},{"path":"../../node_modules/media-chrome/dist/utils/server-safe-globals.js","kind":"import-statement"},{"path":"../../node_modules/media-chrome/dist/constants.js","kind":"import-statement"},{"path":"../../node_modules/media-chrome/dist/labels/labels.js","kind":"import-statement"},{"path":"../../node_modules/media-chrome/dist/utils/captions.js","kind":"import-statement"}]},"../../node_modules/media-chrome/dist/media-seek-forward-button.js":{"bytes":2842,"imports":[{"path":"../../node_modules/media-chrome/dist/media-chrome-button.js","kind":"import-statement"},{"path":"../../node_modules/media-chrome/dist/utils/defineCustomElement.js","kind":"import-statement"},{"path":"../../node_modules/media-chrome/dist/utils/server-safe-globals.js","kind":"import-statement"},{"path":"../../node_modules/media-chrome/dist/constants.js","kind":"import-statement"},{"path":"../../node_modules/media-chrome/dist/labels/labels.js","kind":"import-statement"},{"path":"../../node_modules/media-chrome/dist/utils/element-utils.js","kind":"import-statement"}]},"../../node_modules/media-chrome/dist/media-fullscreen-button.js":{"bytes":2732,"imports":[{"path":"../../node_modules/media-chrome/dist/media-chrome-button.js","kind":"import-statement"},{"path":"../../node_modules/media-chrome/dist/utils/defineCustomElement.js","kind":"import-statement"},{"path":"../../node_modules/media-chrome/dist/utils/server-safe-globals.js","kind":"import-statement"},{"path":"../../node_modules/media-chrome/dist/constants.js","kind":"import-statement"},{"path":"../../node_modules/media-chrome/dist/labels/labels.js","kind":"import-statement"}]},"../../node_modules/media-chrome/dist/media-mute-button.js":{"bytes":3580,"imports":[{"path":"../../node_modules/media-chrome/dist/media-chrome-button.js","kind":"import-statement"},{"path":"../../node_modules/media-chrome/dist/utils/defineCustomElement.js","kind":"import-statement"},{"path":"../../node_modules/media-chrome/dist/utils/server-safe-globals.js","kind":"import-statement"},{"path":"../../node_modules/media-chrome/dist/constants.js","kind":"import-statement"},{"path":"../../node_modules/media-chrome/dist/labels/labels.js","kind":"import-statement"}]},"../../node_modules/media-chrome/dist/media-pip-button.js":{"bytes":2328,"imports":[{"path":"../../node_modules/media-chrome/dist/media-chrome-button.js","kind":"import-statement"},{"path":"../../node_modules/media-chrome/dist/utils/defineCustomElement.js","kind":"import-statement"},{"path":"../../node_modules/media-chrome/dist/utils/server-safe-globals.js","kind":"import-statement"},{"path":"../../node_modules/media-chrome/dist/constants.js","kind":"import-statement"},{"path":"../../node_modules/media-chrome/dist/labels/labels.js","kind":"import-statement"}]},"../../node_modules/media-chrome/dist/media-play-button.js":{"bytes":2283,"imports":[{"path":"../../node_modules/media-chrome/dist/media-chrome-button.js","kind":"import-statement"},{"path":"../../node_modules/media-chrome/dist/utils/server-safe-globals.js","kind":"import-statement"},{"path":"../../node_modules/media-chrome/dist/utils/defineCustomElement.js","kind":"import-statement"},{"path":"../../node_modules/media-chrome/dist/constants.js","kind":"import-statement"},{"path":"../../node_modules/media-chrome/dist/labels/labels.js","kind":"import-statement"}]},"../../node_modules/media-chrome/dist/media-playback-rate-button.js":{"bytes":2372,"imports":[{"path":"../../node_modules/media-chrome/dist/media-chrome-button.js","kind":"import-statement"},{"path":"../../node_modules/media-chrome/dist/utils/defineCustomElement.js","kind":"import-statement"},{"path":"../../node_modules/media-chrome/dist/utils/server-safe-globals.js","kind":"import-statement"},{"path":"../../node_modules/media-chrome/dist/constants.js","kind":"import-statement"},{"path":"../../node_modules/media-chrome/dist/labels/labels.js","kind":"import-statement"}]},"../../node_modules/media-chrome/dist/media-poster-image.js":{"bytes":2152,"imports":[{"path":"../../node_modules/media-chrome/dist/utils/defineCustomElement.js","kind":"import-statement"},{"path":"../../node_modules/media-chrome/dist/utils/server-safe-globals.js","kind":"import-statement"},{"path":"../../node_modules/media-chrome/dist/constants.js","kind":"import-statement"}]},"../../node_modules/media-chrome/dist/media-time-range.js":{"bytes":15580,"imports":[{"path":"../../node_modules/media-chrome/dist/media-chrome-range.js","kind":"import-statement"},{"path":"../../node_modules/media-chrome/dist/utils/defineCustomElement.js","kind":"import-statement"},{"path":"../../node_modules/media-chrome/dist/utils/server-safe-globals.js","kind":"import-statement"},{"path":"../../node_modules/media-chrome/dist/constants.js","kind":"import-statement"},{"path":"../../node_modules/media-chrome/dist/labels/labels.js","kind":"import-statement"},{"path":"../../node_modules/media-chrome/dist/utils/time.js","kind":"import-statement"},{"path":"../../node_modules/media-chrome/dist/utils/element-utils.js","kind":"import-statement"}]},"../../node_modules/media-chrome/dist/media-progress-range.js":{"bytes":487,"imports":[{"path":"../../node_modules/media-chrome/dist/media-time-range.js","kind":"import-statement"},{"path":"../../node_modules/media-chrome/dist/utils/defineCustomElement.js","kind":"import-statement"}]},"../../node_modules/media-chrome/dist/media-seek-backward-button.js":{"bytes":2824,"imports":[{"path":"../../node_modules/media-chrome/dist/media-chrome-button.js","kind":"import-statement"},{"path":"../../node_modules/media-chrome/dist/utils/defineCustomElement.js","kind":"import-statement"},{"path":"../../node_modules/media-chrome/dist/utils/server-safe-globals.js","kind":"import-statement"},{"path":"../../node_modules/media-chrome/dist/constants.js","kind":"import-statement"},{"path":"../../node_modules/media-chrome/dist/labels/labels.js","kind":"import-statement"},{"path":"../../node_modules/media-chrome/dist/utils/element-utils.js","kind":"import-statement"}]},"../../node_modules/media-chrome/dist/media-preview-time-display.js":{"bytes":878,"imports":[{"path":"../../node_modules/media-chrome/dist/media-text-display.js","kind":"import-statement"},{"path":"../../node_modules/media-chrome/dist/utils/defineCustomElement.js","kind":"import-statement"},{"path":"../../node_modules/media-chrome/dist/utils/time.js","kind":"import-statement"},{"path":"../../node_modules/media-chrome/dist/constants.js","kind":"import-statement"}]},"../../node_modules/media-chrome/dist/media-preview-thumbnail.js":{"bytes":4464,"imports":[{"path":"../../node_modules/media-chrome/dist/utils/server-safe-globals.js","kind":"import-statement"},{"path":"../../node_modules/media-chrome/dist/utils/defineCustomElement.js","kind":"import-statement"},{"path":"../../node_modules/media-chrome/dist/constants.js","kind":"import-statement"},{"path":"../../node_modules/media-chrome/dist/utils/element-utils.js","kind":"import-statement"}]},"../../node_modules/media-chrome/dist/media-loading-indicator.js":{"bytes":4615,"imports":[{"path":"../../node_modules/media-chrome/dist/constants.js","kind":"import-statement"},{"path":"../../node_modules/media-chrome/dist/labels/labels.js","kind":"import-statement"},{"path":"../../node_modules/media-chrome/dist/utils/defineCustomElement.js","kind":"import-statement"},{"path":"../../node_modules/media-chrome/dist/utils/server-safe-globals.js","kind":"import-statement"}]},"../../node_modules/media-chrome/dist/media-title-element.js":{"bytes":648,"imports":[{"path":"../../node_modules/media-chrome/dist/utils/defineCustomElement.js","kind":"import-statement"},{"path":"../../node_modules/media-chrome/dist/utils/server-safe-globals.js","kind":"import-statement"}]},"../../node_modules/media-chrome/dist/media-volume-range.js":{"bytes":2078,"imports":[{"path":"../../node_modules/media-chrome/dist/utils/server-safe-globals.js","kind":"import-statement"},{"path":"../../node_modules/media-chrome/dist/media-chrome-range.js","kind":"import-statement"},{"path":"../../node_modules/media-chrome/dist/utils/defineCustomElement.js","kind":"import-statement"},{"path":"../../node_modules/media-chrome/dist/constants.js","kind":"import-statement"},{"path":"../../node_modules/media-chrome/dist/labels/labels.js","kind":"import-statement"}]},"../../node_modules/media-chrome/dist/themes/media-theme.js":{"bytes":1163,"imports":[{"path":"../../node_modules/media-chrome/dist/utils/defineCustomElement.js","kind":"import-statement"},{"path":"../../node_modules/media-chrome/dist/utils/server-safe-globals.js","kind":"import-statement"}]},"../../node_modules/media-chrome/dist/index.js":{"bytes":2964,"imports":[{"path":"../../node_modules/media-chrome/dist/constants.js","kind":"import-statement"},{"path":"../../node_modules/media-chrome/dist/labels/labels.js","kind":"import-statement"},{"path":"../../node_modules/media-chrome/dist/utils/time.js","kind":"import-statement"},{"path":"../../node_modules/media-chrome/dist/media-airplay-button.js","kind":"import-statement"},{"path":"../../node_modules/media-chrome/dist/media-cast-button.js","kind":"import-statement"},{"path":"../../node_modules/media-chrome/dist/media-chrome-button.js","kind":"import-statement"},{"path":"../../node_modules/media-chrome/dist/media-gesture-receiver.js","kind":"import-statement"},{"path":"../../node_modules/media-chrome/dist/media-controller.js","kind":"import-statement"},{"path":"../../node_modules/media-chrome/dist/media-chrome-range.js","kind":"import-statement"},{"path":"../../node_modules/media-chrome/dist/media-control-bar.js","kind":"import-statement"},{"path":"../../node_modules/media-chrome/dist/media-current-time-display.js","kind":"import-statement"},{"path":"../../node_modules/media-chrome/dist/media-duration-display.js","kind":"import-statement"},{"path":"../../node_modules/media-chrome/dist/media-time-display.js","kind":"import-statement"},{"path":"../../node_modules/media-chrome/dist/media-captions-button.js","kind":"import-statement"},{"path":"../../node_modules/media-chrome/dist/media-seek-forward-button.js","kind":"import-statement"},{"path":"../../node_modules/media-chrome/dist/media-fullscreen-button.js","kind":"import-statement"},{"path":"../../node_modules/media-chrome/dist/media-mute-button.js","kind":"import-statement"},{"path":"../../node_modules/media-chrome/dist/media-pip-button.js","kind":"import-statement"},{"path":"../../node_modules/media-chrome/dist/media-play-button.js","kind":"import-statement"},{"path":"../../node_modules/media-chrome/dist/media-playback-rate-button.js","kind":"import-statement"},{"path":"../../node_modules/media-chrome/dist/media-poster-image.js","kind":"import-statement"},{"path":"../../node_modules/media-chrome/dist/media-progress-range.js","kind":"import-statement"},{"path":"../../node_modules/media-chrome/dist/media-seek-backward-button.js","kind":"import-statement"},{"path":"../../node_modules/media-chrome/dist/media-preview-time-display.js","kind":"import-statement"},{"path":"../../node_modules/media-chrome/dist/media-preview-thumbnail.js","kind":"import-statement"},{"path":"../../node_modules/media-chrome/dist/media-time-range.js","kind":"import-statement"},{"path":"../../node_modules/media-chrome/dist/media-loading-indicator.js","kind":"import-statement"},{"path":"../../node_modules/media-chrome/dist/media-title-element.js","kind":"import-statement"},{"path":"../../node_modules/media-chrome/dist/media-volume-range.js","kind":"import-statement"},{"path":"../../node_modules/media-chrome/dist/themes/media-theme.js","kind":"import-statement"},{"path":"../../node_modules/media-chrome/dist/utils/server-safe-globals.js","kind":"import-statement"}]},"../../node_modules/mux-embed/dist/mux.js":{"bytes":105451,"imports":[]},"../../node_modules/hls.js/dist/hls.js":{"bytes":1036845,"imports":[]},"../playback-core/dist/index.mjs":{"bytes":9635,"imports":[{"path":"../../node_modules/mux-embed/dist/mux.js","kind":"import-statement"},{"path":"../../node_modules/hls.js/dist/hls.js","kind":"import-statement"},{"path":"../../node_modules/hls.js/dist/hls.js","kind":"import-statement"},{"path":"../../node_modules/hls.js/dist/hls.js","kind":"import-statement"}]},"../mux-video/dist/index.mjs":{"bytes":21205,"imports":[{"path":"../playback-core/dist/index.mjs","kind":"import-statement"}]},"lang/en.json":{"bytes":42,"imports":[]},"src/utils.ts":{"bytes":2729,"imports":[{"path":"lang/en.json","kind":"import-statement"}]},"src/helpers.ts":{"bytes":5571,"imports":[{"path":"src/utils.ts","kind":"import-statement"},{"path":"../playback-core/dist/index.mjs","kind":"import-statement"}]},"src/logger.ts":{"bytes":688,"imports":[{"path":"src/utils.ts","kind":"import-statement"},{"path":"src/helpers.ts","kind":"import-statement"}]},"src/video-api.ts":{"bytes":10967,"imports":[{"path":"../../shared/polyfills/index.js","kind":"import-statement"},{"path":"../mux-video/dist/index.mjs","kind":"import-statement"},{"path":"src/logger.ts","kind":"import-statement"},{"path":"src/utils.ts","kind":"import-statement"}]},"../../node_modules/@github/template-parts/lib/template-string-parser.js":{"bytes":1639,"imports":[]},"../../node_modules/@github/template-parts/lib/attribute-template-part.js":{"bytes":1840,"imports":[]},"../../node_modules/@github/template-parts/lib/node-template-part.js":{"bytes":1087,"imports":[]},"../../node_modules/@github/template-parts/lib/processors.js":{"bytes":1222,"imports":[{"path":"../../node_modules/@github/template-parts/lib/attribute-template-part.js","kind":"import-statement"}]},"../../node_modules/@github/template-parts/lib/template-instance.js":{"bytes":3068,"imports":[{"path":"../../node_modules/@github/template-parts/lib/template-string-parser.js","kind":"import-statement"},{"path":"../../node_modules/@github/template-parts/lib/attribute-template-part.js","kind":"import-statement"},{"path":"../../node_modules/@github/template-parts/lib/node-template-part.js","kind":"import-statement"},{"path":"../../node_modules/@github/template-parts/lib/processors.js","kind":"import-statement"}]},"../../node_modules/@github/template-parts/lib/index.js":{"bytes":452,"imports":[{"path":"../../node_modules/@github/template-parts/lib/template-instance.js","kind":"import-statement"},{"path":"../../node_modules/@github/template-parts/lib/template-string-parser.js","kind":"import-statement"},{"path":"../../node_modules/@github/template-parts/lib/attribute-template-part.js","kind":"import-statement"},{"path":"../../node_modules/@github/template-parts/lib/node-template-part.js","kind":"import-statement"},{"path":"../../node_modules/@github/template-parts/lib/processors.js","kind":"import-statement"}]},"src/html.ts":{"bytes":7913,"imports":[{"path":"../../node_modules/@github/template-parts/lib/index.js","kind":"import-statement"}]},"src/media-chrome/time-display.ts":{"bytes":3357,"imports":[{"path":"../../shared/polyfills/index.js","kind":"import-statement"}]},"src/media-theme-mux/styles.css":{"bytes":5328,"imports":[]},"src/media-theme-mux/icons/airplay.svg":{"bytes":315,"imports":[]},"src/media-theme-mux/icons/captions-off.svg":{"bytes":1783,"imports":[]},"src/media-theme-mux/icons/captions-on.svg":{"bytes":1418,"imports":[]},"src/media-theme-mux/icons/cast-enter.svg":{"bytes":384,"imports":[]},"src/media-theme-mux/icons/cast-exit.svg":{"bytes":458,"imports":[]},"src/media-theme-mux/icons/fullscreen-enter.svg":{"bytes":519,"imports":[]},"src/media-theme-mux/icons/fullscreen-exit.svg":{"bytes":418,"imports":[]},"src/media-theme-mux/icons/pause.svg":{"bytes":252,"imports":[]},"src/media-theme-mux/icons/pip-enter.svg":{"bytes":259,"imports":[]},"src/media-theme-mux/icons/pip-exit.svg":{"bytes":258,"imports":[]},"src/media-theme-mux/icons/play.svg":{"bytes":176,"imports":[]},"src/media-theme-mux/icons/seek-backward.svg":{"bytes":307,"imports":[]},"src/media-theme-mux/icons/seek-forward.svg":{"bytes":305,"imports":[]},"src/media-theme-mux/icons/volume-high.svg":{"bytes":436,"imports":[]},"src/media-theme-mux/icons/volume-low.svg":{"bytes":330,"imports":[]},"src/media-theme-mux/icons/volume-medium.svg":{"bytes":333,"imports":[]},"src/media-theme-mux/icons/volume-off.svg":{"bytes":737,"imports":[]},"src/media-theme-mux/icons.ts":{"bytes":2075,"imports":[{"path":"src/html.ts","kind":"import-statement"},{"path":"src/media-theme-mux/icons/airplay.svg","kind":"import-statement"},{"path":"src/media-theme-mux/icons/captions-off.svg","kind":"import-statement"},{"path":"src/media-theme-mux/icons/captions-on.svg","kind":"import-statement"},{"path":"src/media-theme-mux/icons/cast-enter.svg","kind":"import-statement"},{"path":"src/media-theme-mux/icons/cast-exit.svg","kind":"import-statement"},{"path":"src/media-theme-mux/icons/fullscreen-enter.svg","kind":"import-statement"},{"path":"src/media-theme-mux/icons/fullscreen-exit.svg","kind":"import-statement"},{"path":"src/media-theme-mux/icons/pause.svg","kind":"import-statement"},{"path":"src/media-theme-mux/icons/pip-enter.svg","kind":"import-statement"},{"path":"src/media-theme-mux/icons/pip-exit.svg","kind":"import-statement"},{"path":"src/media-theme-mux/icons/play.svg","kind":"import-statement"},{"path":"src/media-theme-mux/icons/seek-backward.svg","kind":"import-statement"},{"path":"src/media-theme-mux/icons/seek-forward.svg","kind":"import-statement"},{"path":"src/media-theme-mux/icons/volume-high.svg","kind":"import-statement"},{"path":"src/media-theme-mux/icons/volume-low.svg","kind":"import-statement"},{"path":"src/media-theme-mux/icons/volume-medium.svg","kind":"import-statement"},{"path":"src/media-theme-mux/icons/volume-off.svg","kind":"import-statement"}]},"src/media-theme-mux/media-theme-mux.ts":{"bytes":18092,"imports":[{"path":"../../shared/polyfills/index.js","kind":"import-statement"},{"path":"../../node_modules/media-chrome/dist/index.js","kind":"import-statement"},{"path":"src/html.ts","kind":"import-statement"},{"path":"src/media-chrome/time-display.ts","kind":"import-statement"},{"path":"src/media-theme-mux/styles.css","kind":"import-statement"},{"path":"src/media-theme-mux/icons.ts","kind":"import-statement"},{"path":"../playback-core/dist/index.mjs","kind":"import-statement"}]},"src/media-chrome/dialog.ts":{"bytes":6023,"imports":[{"path":"../../shared/polyfills/index.js","kind":"import-statement"}]},"src/dialog.ts":{"bytes":1254,"imports":[{"path":"../../shared/polyfills/index.js","kind":"import-statement"},{"path":"src/media-chrome/dialog.ts","kind":"import-statement"}]},"src/styles.css":{"bytes":6123,"imports":[]},"src/template.ts":{"bytes":5812,"imports":[{"path":"src/media-theme-mux/media-theme-mux.ts","kind":"import-statement"},{"path":"src/dialog.ts","kind":"import-statement"},{"path":"src/helpers.ts","kind":"import-statement"},{"path":"src/html.ts","kind":"import-statement"},{"path":"src/styles.css","kind":"import-statement"},{"path":"src/utils.ts","kind":"import-statement"},{"path":"../playback-core/dist/index.mjs","kind":"import-statement"}]},"src/errors.ts":{"bytes":6023,"imports":[{"path":"../mux-video/dist/index.mjs","kind":"import-statement"},{"path":"lang/en.json","kind":"import-statement"},{"path":"src/utils.ts","kind":"import-statement"}]},"src/index.ts":{"bytes":33583,"imports":[{"path":"../../shared/polyfills/index.js","kind":"import-statement"},{"path":"../../node_modules/media-chrome/dist/index.js","kind":"import-statement"},{"path":"../mux-video/dist/index.mjs","kind":"import-statement"},{"path":"../playback-core/dist/index.mjs","kind":"import-statement"},{"path":"src/video-api.ts","kind":"import-statement"},{"path":"src/helpers.ts","kind":"import-statement"},{"path":"src/template.ts","kind":"import-statement"},{"path":"src/html.ts","kind":"import-statement"},{"path":"src/errors.ts","kind":"import-statement"},{"path":"src/utils.ts","kind":"import-statement"},{"path":"src/logger.ts","kind":"import-statement"}]}},"outputs":{"dist/mux-player.js":{"imports":[],"exports":[],"entryPoint":"src/index.ts","inputs":{"../../node_modules/mux-embed/dist/mux.js":{"bytesInOutput":105685},"../../node_modules/hls.js/dist/hls.js":{"bytesInOutput":374115},"../../shared/polyfills/index.js":{"bytesInOutput":767},"../../node_modules/media-chrome/dist/constants.js":{"bytesInOutput":3808},"../../node_modules/media-chrome/dist/labels/labels.js":{"bytesInOutput":774},"../../node_modules/media-chrome/dist/utils/time.js":{"bytesInOutput":738},"../../node_modules/media-chrome/dist/utils/server-safe-globals.js":{"bytesInOutput":394},"../../node_modules/media-chrome/dist/utils/defineCustomElement.js":{"bytesInOutput":88},"../../node_modules/media-chrome/dist/media-chrome-button.js":{"bytesInOutput":3428},"../../node_modules/media-chrome/dist/media-airplay-button.js":{"bytesInOutput":803},"../../node_modules/media-chrome/dist/media-cast-button.js":{"bytesInOutput":2324},"../../node_modules/media-chrome/dist/utils/element-utils.js":{"bytesInOutput":652},"../../node_modules/media-chrome/dist/media-gesture-receiver.js":{"bytesInOutput":2192},"../../node_modules/media-chrome/dist/media-container.js":{"bytesInOutput":6077},"../../node_modules/media-chrome/dist/utils/attribute-token-list.js":{"bytesInOutput":1518},"../../node_modules/media-chrome/dist/utils/fullscreenApi.js":{"bytesInOutput":455},"../../node_modules/media-chrome/dist/utils/stringUtils.js":{"bytesInOutput":145},"../../node_modules/media-chrome/dist/utils/captions.js":{"bytesInOutput":1905},"../../node_modules/media-chrome/dist/media-controller.js":{"bytesInOutput":16581},"../../node_modules/media-chrome/dist/media-chrome-range.js":{"bytesInOutput":7335},"../../node_modules/media-chrome/dist/media-control-bar.js":{"bytesInOutput":1232},"../../node_modules/media-chrome/dist/media-text-display.js":{"bytesInOutput":1727},"../../node_modules/media-chrome/dist/media-current-time-display.js":{"bytesInOutput":280},"../../node_modules/media-chrome/dist/media-duration-display.js":{"bytesInOutput":268},"../../node_modules/media-chrome/dist/media-time-display.js":{"bytesInOutput":1867},"../../node_modules/media-chrome/dist/media-captions-button.js":{"bytesInOutput":3952},"../../node_modules/media-chrome/dist/media-seek-forward-button.js":{"bytesInOutput":1338},"../../node_modules/media-chrome/dist/media-fullscreen-button.js":{"bytesInOutput":1562},"../../node_modules/media-chrome/dist/media-mute-button.js":{"bytesInOutput":2419},"../../node_modules/media-chrome/dist/media-pip-button.js":{"bytesInOutput":1291},"../../node_modules/media-chrome/dist/media-play-button.js":{"bytesInOutput":1241},"../../node_modules/media-chrome/dist/media-playback-rate-button.js":{"bytesInOutput":1090},"../../node_modules/media-chrome/dist/media-poster-image.js":{"bytesInOutput":1332},"../../node_modules/media-chrome/dist/media-time-range.js":{"bytesInOutput":9401},"../../node_modules/media-chrome/dist/media-progress-range.js":{"bytesInOutput":177},"../../node_modules/media-chrome/dist/media-seek-backward-button.js":{"bytesInOutput":1339},"../../node_modules/media-chrome/dist/media-preview-time-display.js":{"bytesInOutput":291},"../../node_modules/media-chrome/dist/media-preview-thumbnail.js":{"bytesInOutput":2116},"../../node_modules/media-chrome/dist/media-loading-indicator.js":{"bytesInOutput":2667},"../../node_modules/media-chrome/dist/media-title-element.js":{"bytesInOutput":279},"../../node_modules/media-chrome/dist/media-volume-range.js":{"bytesInOutput":921},"../../node_modules/media-chrome/dist/themes/media-theme.js":{"bytesInOutput":579},"../../node_modules/media-chrome/dist/index.js":{"bytesInOutput":332},"../playback-core/dist/index.mjs":{"bytesInOutput":9384},"../mux-video/dist/index.mjs":{"bytesInOutput":21067},"lang/en.json":{"bytesInOutput":25},"src/utils.ts":{"bytesInOutput":1145},"src/helpers.ts":{"bytesInOutput":2342},"src/logger.ts":{"bytesInOutput":282},"src/video-api.ts":{"bytesInOutput":4497},"../../node_modules/@github/template-parts/lib/template-string-parser.js":{"bytesInOutput":538},"../../node_modules/@github/template-parts/lib/attribute-template-part.js":{"bytesInOutput":1075},"../../node_modules/@github/template-parts/lib/node-template-part.js":{"bytesInOutput":500},"../../node_modules/@github/template-parts/lib/processors.js":{"bytesInOutput":393},"../../node_modules/@github/template-parts/lib/template-instance.js":{"bytesInOutput":1120},"../../node_modules/@github/template-parts/lib/index.js":{"bytesInOutput":0},"src/html.ts":{"bytesInOutput":2673},"src/media-chrome/time-display.ts":{"bytesInOutput":2232},"src/media-theme-mux/styles.css":{"bytesInOutput":5338},"src/media-theme-mux/icons/airplay.svg":{"bytesInOutput":325},"src/media-theme-mux/icons/captions-off.svg":{"bytesInOutput":1793},"src/media-theme-mux/icons/captions-on.svg":{"bytesInOutput":1428},"src/media-theme-mux/icons/cast-enter.svg":{"bytesInOutput":394},"src/media-theme-mux/icons/cast-exit.svg":{"bytesInOutput":468},"src/media-theme-mux/icons/fullscreen-enter.svg":{"bytesInOutput":529},"src/media-theme-mux/icons/fullscreen-exit.svg":{"bytesInOutput":428},"src/media-theme-mux/icons/pause.svg":{"bytesInOutput":262},"src/media-theme-mux/icons/pip-enter.svg":{"bytesInOutput":269},"src/media-theme-mux/icons/pip-exit.svg":{"bytesInOutput":268},"src/media-theme-mux/icons/play.svg":{"bytesInOutput":186},"src/media-theme-mux/icons/seek-backward.svg":{"bytesInOutput":317},"src/media-theme-mux/icons/seek-forward.svg":{"bytesInOutput":315},"src/media-theme-mux/icons/volume-high.svg":{"bytesInOutput":446},"src/media-theme-mux/icons/volume-low.svg":{"bytesInOutput":340},"src/media-theme-mux/icons/volume-medium.svg":{"bytesInOutput":343},"src/media-theme-mux/icons/volume-off.svg":{"bytesInOutput":747},"src/media-theme-mux/icons.ts":{"bytesInOutput":244},"src/media-theme-mux/media-theme-mux.ts":{"bytesInOutput":9910},"src/media-chrome/dialog.ts":{"bytesInOutput":3817},"src/dialog.ts":{"bytesInOutput":972},"src/styles.css":{"bytesInOutput":6136},"src/template.ts":{"bytesInOutput":4425},"src/errors.ts":{"bytesInOutput":3079},"src/index.ts":{"bytesInOutput":15894}},"bytes":674391}}}
|
package/dist/index.cjs.js
CHANGED
|
@@ -722,7 +722,7 @@ svg, img, ::slotted(svg), ::slotted(img) {
|
|
|
722
722
|
}
|
|
723
723
|
</style>
|
|
724
724
|
<slot></slot>
|
|
725
|
-
`;var fa=class extends u.HTMLElement{constructor(){super(),this.attachShadow({mode:"open"}),this.shadowRoot.appendChild(hn.content.cloneNode(!0))}};p("media-title-bar",fa);var Fs=100,Ks=t=>{var i;if(t.getAttribute(o.MEDIA_MUTED)!=null)return 0;let a=+((i=t.getAttribute(o.MEDIA_VOLUME))!=null?i:1);return Math.round(a*t.range.max)},Ys=({value:t,max:i})=>`${Math.round(t/i*100)}%`,ga=class extends ut{static get observedAttributes(){return[...super.observedAttributes,o.MEDIA_VOLUME,o.MEDIA_MUTED,o.MEDIA_VOLUME_UNAVAILABLE]}constructor(){super(),this.range.max=Fs,this.range.addEventListener("input",()=>{let e=this.range.value/this.range.max,a=new u.CustomEvent(h.MEDIA_VOLUME_REQUEST,{composed:!0,bubbles:!0,detail:e});this.dispatchEvent(a)})}connectedCallback(){this.range.setAttribute("aria-label",N.VOLUME()),super.connectedCallback()}attributeChangedCallback(i,e,a){if(i===o.MEDIA_VOLUME||i===o.MEDIA_MUTED){let r=Ks(this);this.range.value=r,this.range.setAttribute("aria-valuetext",Ys(this.range)),this.updateBar()}super.attributeChangedCallback(i,e,a)}};p("media-volume-range",ga);var Gs=Object.defineProperty,Zs=(t,i,e)=>i in t?Gs(t,i,{enumerable:!0,configurable:!0,writable:!0,value:e}):t[i]=e,Qs=(t,i,e)=>(Zs(t,typeof i!="symbol"?i+"":i,e),e),bt=class extends u.HTMLElement{constructor(){super(),this.attachShadow({mode:"open"})}connectedCallback(){this.render()}render(){this.shadowRoot.textContent="";let i=d.createElement("template");i.innerHTML=this.constructor.template,this.shadowRoot.append(i.content.cloneNode(!0))}get mediaController(){return this.shadowRoot.querySelector("media-controller")}};Qs(bt,"template","");p("media-theme",bt);var va=bt;var Aa=class extends ct{};u.customElements.get("media-chrome")||u.customElements.define("media-chrome",Aa);var _a=class extends ct{constructor(){super(),console.warn("MediaChrome: <media-container> is deprecated. Use <media-controller>.")}};u.customElements.get("media-container")||u.customElements.define("media-container",_a);var v=Fo(require("@mux/mux-video")),D=require("@mux/playback-core");var Sn=require("@mux/mux-video");var qs="en",ye={code:qs};var pn="en";function A(t,i=!0){var r,n;let e=i&&(n=(r=ye)==null?void 0:r[t])!=null?n:t,a=i?ye.code:pn;return new ya(e,a)}var ya=class{constructor(i,e=(a=>(a=ye.code)!=null?a:pn)()){this.message=i,this.locale=e}format(i){return this.message.replace(/\{(\w+)\}/g,(e,a)=>{var r;return(r=i[a])!=null?r:""})}toString(){return this.message}};function bn(t){let i="";return Object.entries(t).forEach(([e,a])=>{a!=null&&(i+=`${zs(e)}: ${a}; `)}),i?i.trim():void 0}function zs(t){return t.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()}function En(t){return t.replace(/[-_]([a-z])/g,(i,e)=>e.toUpperCase())}function Te(t){if(t==null)return;let i=+t;return Number.isNaN(i)?void 0:i}function ti(t){let i=js(t).toString();return i?"?"+i:""}function js(t){let i={};for(let e in t)t[e]!=null&&(i[e]=t[e]);return new URLSearchParams(i)}function Et(t){let i=(t!=null?t:"").split(".")[1];if(!i)return{};let e=i.replace(/-/g,"+").replace(/_/g,"/"),a=decodeURIComponent(atob(e).split("").map(function(r){return"%"+("00"+r.charCodeAt(0).toString(16)).slice(-2)}).join(""));return JSON.parse(a)}var Ta=(t,i)=>!t||!i?!1:t.contains(i)?!0:Ta(t,i.getRootNode().host);var ft=require("@mux/playback-core");var Ia="mux.com",Xs=()=>{try{return"1.1.
|
|
725
|
+
`;var fa=class extends u.HTMLElement{constructor(){super(),this.attachShadow({mode:"open"}),this.shadowRoot.appendChild(hn.content.cloneNode(!0))}};p("media-title-bar",fa);var Fs=100,Ks=t=>{var i;if(t.getAttribute(o.MEDIA_MUTED)!=null)return 0;let a=+((i=t.getAttribute(o.MEDIA_VOLUME))!=null?i:1);return Math.round(a*t.range.max)},Ys=({value:t,max:i})=>`${Math.round(t/i*100)}%`,ga=class extends ut{static get observedAttributes(){return[...super.observedAttributes,o.MEDIA_VOLUME,o.MEDIA_MUTED,o.MEDIA_VOLUME_UNAVAILABLE]}constructor(){super(),this.range.max=Fs,this.range.addEventListener("input",()=>{let e=this.range.value/this.range.max,a=new u.CustomEvent(h.MEDIA_VOLUME_REQUEST,{composed:!0,bubbles:!0,detail:e});this.dispatchEvent(a)})}connectedCallback(){this.range.setAttribute("aria-label",N.VOLUME()),super.connectedCallback()}attributeChangedCallback(i,e,a){if(i===o.MEDIA_VOLUME||i===o.MEDIA_MUTED){let r=Ks(this);this.range.value=r,this.range.setAttribute("aria-valuetext",Ys(this.range)),this.updateBar()}super.attributeChangedCallback(i,e,a)}};p("media-volume-range",ga);var Gs=Object.defineProperty,Zs=(t,i,e)=>i in t?Gs(t,i,{enumerable:!0,configurable:!0,writable:!0,value:e}):t[i]=e,Qs=(t,i,e)=>(Zs(t,typeof i!="symbol"?i+"":i,e),e),bt=class extends u.HTMLElement{constructor(){super(),this.attachShadow({mode:"open"})}connectedCallback(){this.render()}render(){this.shadowRoot.textContent="";let i=d.createElement("template");i.innerHTML=this.constructor.template,this.shadowRoot.append(i.content.cloneNode(!0))}get mediaController(){return this.shadowRoot.querySelector("media-controller")}};Qs(bt,"template","");p("media-theme",bt);var va=bt;var Aa=class extends ct{};u.customElements.get("media-chrome")||u.customElements.define("media-chrome",Aa);var _a=class extends ct{constructor(){super(),console.warn("MediaChrome: <media-container> is deprecated. Use <media-controller>.")}};u.customElements.get("media-container")||u.customElements.define("media-container",_a);var v=Fo(require("@mux/mux-video")),D=require("@mux/playback-core");var Sn=require("@mux/mux-video");var qs="en",ye={code:qs};var pn="en";function A(t,i=!0){var r,n;let e=i&&(n=(r=ye)==null?void 0:r[t])!=null?n:t,a=i?ye.code:pn;return new ya(e,a)}var ya=class{constructor(i,e=(a=>(a=ye.code)!=null?a:pn)()){this.message=i,this.locale=e}format(i){return this.message.replace(/\{(\w+)\}/g,(e,a)=>{var r;return(r=i[a])!=null?r:""})}toString(){return this.message}};function bn(t){let i="";return Object.entries(t).forEach(([e,a])=>{a!=null&&(i+=`${zs(e)}: ${a}; `)}),i?i.trim():void 0}function zs(t){return t.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()}function En(t){return t.replace(/[-_]([a-z])/g,(i,e)=>e.toUpperCase())}function Te(t){if(t==null)return;let i=+t;return Number.isNaN(i)?void 0:i}function ti(t){let i=js(t).toString();return i?"?"+i:""}function js(t){let i={};for(let e in t)t[e]!=null&&(i[e]=t[e]);return new URLSearchParams(i)}function Et(t){let i=(t!=null?t:"").split(".")[1];if(!i)return{};let e=i.replace(/-/g,"+").replace(/_/g,"/"),a=decodeURIComponent(atob(e).split("").map(function(r){return"%"+("00"+r.charCodeAt(0).toString(16)).slice(-2)}).join(""));return JSON.parse(a)}var Ta=(t,i)=>!t||!i?!1:t.contains(i)?!0:Ta(t,i.getRootNode().host);var ft=require("@mux/playback-core");var Ia="mux.com",Xs=()=>{try{return"1.1.3"}catch{}return"UNKNOWN"},Js=Xs(),ai=()=>Js,Ma=(t,{token:i,domain:e=Ia}={})=>`https://stream.${e}/${t}.m3u8${ti(!!i?{token:i}:{redundant_streams:!0})}`,vn=(t,{token:i,thumbnailTime:e,domain:a=Ia}={})=>{let r=i==null?e:void 0;return`https://image.${a}/${t}/thumbnail.jpg${ti({token:i,time:r})}`},An=(t,{token:i,domain:e=Ia}={})=>`https://image.${e}/${t}/storyboard.vtt${ti({token:i})}`;function Sa(t){if(t&&/^media-theme-[\w-]+$/.test(t))return t}var el={crossorigin:"crossOrigin",playsinline:"playsInline"};function _n(t){var i;return(i=el[t])!=null?i:En(t)}var yn=t=>{var e,a;let{media:i}=t;return(a=(e=i==null?void 0:i._hls)==null?void 0:e.liveSyncPosition)!=null?a:i!=null&&i.seekable.length?i==null?void 0:i.seekable.end(i.seekable.length-1):void 0},ka=t=>{let i=yn(t);if(i==null){console.warn("attempting to seek to live but cannot determine live edge time!");return}t.currentTime=i},tl=1,il=5,fn=3,gn=.5,Tn=t=>{var n;let{streamType:i}=t,e=yn(t),a=(n=t.media)==null?void 0:n.currentTime;if(e==null||a==null)return!1;let r=e-a;return i===ft.StreamTypes.LL_LIVE||i===ft.StreamTypes.LL_DVR?r<=tl*(fn+gn):i===ft.StreamTypes.LIVE||i===ft.StreamTypes.DVR?r<=il*(fn+gn):!1},Ie,Me,V,ii=class{constructor(i,e){T(this,Ie,void 0);T(this,Me,void 0);T(this,V,[]);B(this,Ie,i),B(this,Me,e)}[Symbol.iterator](){return g(this,V).values()}get length(){return g(this,V).length}get value(){var i;return(i=g(this,V).join(" "))!=null?i:""}set value(i){var e;i!==this.value&&(B(this,V,[]),this.add(...(e=i==null?void 0:i.split(" "))!=null?e:[]))}toString(){return this.value}item(i){return g(this,V)[i]}values(){return g(this,V).values()}keys(){return g(this,V).keys()}forEach(i){g(this,V).forEach(i)}add(...i){var e,a;i.forEach(r=>{this.contains(r)||g(this,V).push(r)}),!(this.value===""&&!((e=g(this,Ie))!=null&&e.hasAttribute(`${g(this,Me)}`)))&&((a=g(this,Ie))==null||a.setAttribute(`${g(this,Me)}`,`${this.value}`))}remove(...i){var e;i.forEach(a=>{g(this,V).splice(g(this,V).indexOf(a),1)}),(e=g(this,Ie))==null||e.setAttribute(`${g(this,Me)}`,`${this.value}`)}contains(i){return g(this,V).includes(i)}toggle(i,e){return typeof e!="undefined"?e?(this.add(i),!0):(this.remove(i),!1):this.contains(i)?(this.remove(i),!1):(this.add(i),!0)}replace(i,e){this.remove(i),this.add(e)}};Ie=new WeakMap,Me=new WeakMap,V=new WeakMap;var In=`[mux-player ${ai()}]`;function Se(...t){console.warn(In,...t)}function X(...t){console.error(In,...t)}function ri(t){var e;let i=(e=t.message)!=null?e:"";if(t.file){let a="https://github.com/muxinc/elements/blob/main/errors/";i+=` ${A("Read more: ")}
|
|
726
726
|
${a}${t.file}`}Se(i)}var $={AUTOPLAY:"autoplay",CROSSORIGIN:"crossorigin",LOOP:"loop",MUTED:"muted",PLAYSINLINE:"playsinline",PRELOAD:"preload"},ke={VOLUME:"volume",PLAYBACKRATE:"playbackrate",MUTED:"muted"},al=Object.freeze({length:0,start(t){let i=t>>>0;if(i>=this.length)throw new DOMException(`Failed to execute 'start' on 'TimeRanges': The index provided (${i}) is greater than or equal to the maximum bound (${this.length}).`);return 0},end(t){let i=t>>>0;if(i>=this.length)throw new DOMException(`Failed to execute 'end' on 'TimeRanges': The index provided (${i}) is greater than or equal to the maximum bound (${this.length}).`);return 0}}),rl=Sn.VideoEvents.filter(t=>t!=="error"),nl=Object.values($).filter(t=>![$.PLAYSINLINE].includes(t)),ol=Object.values(ke);function kn(t){t.querySelectorAll(":scope > track").forEach(i=>{var e;(e=t.media)==null||e.append(i.cloneNode())}),rl.forEach(i=>{var e;(e=t.media)==null||e.addEventListener(i,a=>{t.dispatchEvent(new Event(a.type))})})}var La=class extends M.HTMLElement{static get observedAttributes(){return[...nl,...ol]}constructor(){super(),this.querySelectorAll(":scope > track").forEach(a=>{var r;(r=this.media)==null||r.append(a.cloneNode())});let i=a=>{for(let r of a)r.type==="childList"&&(r.removedNodes.forEach(n=>{var l,c;let s=(l=this.media)==null?void 0:l.querySelector(`track[src="${n.src}"]`);s&&((c=this.media)==null||c.removeChild(s))}),r.addedNodes.forEach(n=>{var s;(s=this.media)==null||s.append(n.cloneNode())}))};new MutationObserver(i).observe(this,{childList:!0,subtree:!0})}attributeChangedCallback(i,e,a){switch(i){case ke.MUTED:{this.media&&(this.media.muted=a!=null,this.media.defaultMuted=a!=null);return}case ke.VOLUME:{let r=+a;this.media&&!Number.isNaN(r)&&(this.media.volume=r);return}case ke.PLAYBACKRATE:{let r=+a;this.media&&!Number.isNaN(r)&&(this.media.playbackRate=r,this.media.defaultPlaybackRate=r);return}}}play(){var i,e;return(e=(i=this.media)==null?void 0:i.play())!=null?e:Promise.reject()}pause(){var i;(i=this.media)==null||i.pause()}requestCast(i){var e;return(e=this.media)==null?void 0:e.requestCast(i)}get media(){var i;return(i=this.shadowRoot)==null?void 0:i.querySelector("mux-video")}get paused(){var i,e;return(e=(i=this.media)==null?void 0:i.paused)!=null?e:!0}get duration(){var i,e;return(e=(i=this.media)==null?void 0:i.duration)!=null?e:NaN}get ended(){var i,e;return(e=(i=this.media)==null?void 0:i.ended)!=null?e:!1}get buffered(){var i,e;return(e=(i=this.media)==null?void 0:i.buffered)!=null?e:al}get readyState(){var i,e;return(e=(i=this.media)==null?void 0:i.readyState)!=null?e:0}get videoWidth(){var i,e;return(e=(i=this.media)==null?void 0:i.videoWidth)!=null?e:0}get videoHeight(){var i,e;return(e=(i=this.media)==null?void 0:i.videoHeight)!=null?e:0}get currentTime(){var i,e;return(e=(i=this.media)==null?void 0:i.currentTime)!=null?e:0}set currentTime(i){this.media&&(this.media.currentTime=Number(i))}get volume(){var i,e;return(e=(i=this.media)==null?void 0:i.volume)!=null?e:1}set volume(i){this.media&&(this.media.volume=Number(i))}get playbackRate(){var i,e;return(e=(i=this.media)==null?void 0:i.playbackRate)!=null?e:1}set playbackRate(i){this.media&&(this.media.playbackRate=Number(i))}get defaultPlaybackRate(){var i;return(i=Te(this.getAttribute(ke.PLAYBACKRATE)))!=null?i:1}set defaultPlaybackRate(i){i!=null?this.setAttribute(ke.PLAYBACKRATE,`${i}`):this.removeAttribute(ke.PLAYBACKRATE)}get crossOrigin(){return gt(this,$.CROSSORIGIN)}set crossOrigin(i){this.setAttribute($.CROSSORIGIN,`${i}`)}get autoplay(){return gt(this,$.AUTOPLAY)!=null}set autoplay(i){i?this.setAttribute($.AUTOPLAY,typeof i=="string"?i:""):this.removeAttribute($.AUTOPLAY)}get loop(){return gt(this,$.LOOP)!=null}set loop(i){i?this.setAttribute($.LOOP,""):this.removeAttribute($.LOOP)}get muted(){var i,e;return(e=(i=this.media)==null?void 0:i.muted)!=null?e:!1}set muted(i){this.media&&(this.media.muted=Boolean(i))}get defaultMuted(){return gt(this,$.MUTED)!=null}set defaultMuted(i){i?this.setAttribute($.MUTED,""):this.removeAttribute($.MUTED)}get playsInline(){return gt(this,$.PLAYSINLINE)!=null}set playsInline(i){X("playsInline is set to true by default and is not currently supported as a setter.")}get preload(){return this.media?this.media.preload:this.getAttribute("preload")}set preload(i){["","none","metadata","auto"].includes(i)?this.setAttribute($.PRELOAD,i):this.removeAttribute($.PRELOAD)}};function gt(t,i){return t.media?t.media.getAttribute(i):t.getAttribute(i)}var Ca=La;var ni=new Map;function oi(t){if(ni.has(t))return ni.get(t);let i=t.length,e=0,a=0,r=0,n=[];for(let s=0;s<i;s+=1){let l=t[s],c=t[s+1],m=t[s-1];l==="{"&&c==="{"&&m!=="\\"?(r+=1,r===1&&(a=s),s+=1):l==="}"&&c==="}"&&m!=="\\"&&r&&(r-=1,r===0&&(a>e&&(n.push(Object.freeze({type:"string",start:e,end:a,value:t.slice(e,a)})),e=a),n.push(Object.freeze({type:"part",start:a,end:s+2,value:t.slice(e+2,s).trim()})),s+=1,e=s+1))}return e<i&&n.push(Object.freeze({type:"string",start:e,end:i,value:t.slice(e,i)})),ni.set(t,Object.freeze(n)),ni.get(t)}var Le=new WeakMap,Ln=new WeakMap,q=class{constructor(i,e){this.expression=e,Le.set(this,i),i.updateParent("")}get attributeName(){return Le.get(this).attr.name}get attributeNamespace(){return Le.get(this).attr.namespaceURI}get value(){return Ln.get(this)}set value(i){Ln.set(this,i||""),Le.get(this).updateParent(i)}get element(){return Le.get(this).element}get booleanValue(){return Le.get(this).booleanValue}set booleanValue(i){Le.get(this).booleanValue=i}},vt=class{constructor(i,e){this.element=i,this.attr=e,this.partList=[]}get booleanValue(){return this.element.hasAttributeNS(this.attr.namespaceURI,this.attr.name)}set booleanValue(i){if(this.partList.length!==1)throw new DOMException("Operation not supported","NotSupportedError");this.partList[0].value=i?"":null}append(i){this.partList.push(i)}updateParent(i){if(this.partList.length===1&&i===null)this.element.removeAttributeNS(this.attr.namespaceURI,this.attr.name);else{let e=this.partList.map(a=>typeof a=="string"?a:a.value).join("");this.element.setAttributeNS(this.attr.namespaceURI,this.attr.name,e)}}};var be=new WeakMap,J=class{constructor(i,e){this.expression=e,be.set(this,[i]),i.textContent=""}get value(){return be.get(this).map(i=>i.textContent).join("")}set value(i){this.replace(i)}get previousSibling(){return be.get(this)[0].previousSibling}get nextSibling(){return be.get(this)[be.get(this).length-1].nextSibling}replace(...i){let e=i.map(a=>typeof a=="string"?new Text(a):a);e.length||e.push(new Text("")),be.get(this)[0].before(...e);for(let a of be.get(this))a.remove();be.set(this,e)}};function At(t){return{processCallback(i,e,a){var r;if(!(typeof a!="object"||!a)){for(let n of e)if(n.expression in a){let s=(r=a[n.expression])!==null&&r!==void 0?r:"";t(n,s)}}}}}function wa(t,i){t.value=String(i)}function Cn(t,i){return typeof i=="boolean"&&t instanceof q&&typeof t.element[t.attributeName]=="boolean"?(t.booleanValue=i,!0):!1}var Da=At(wa),sl=At((t,i)=>{Cn(t,i)||wa(t,i)});function*ll(t){let i=t.ownerDocument.createTreeWalker(t,NodeFilter.SHOW_TEXT|NodeFilter.SHOW_ELEMENT,null,!1),e;for(;e=i.nextNode();)if(e instanceof Element&&e.hasAttributes())for(let a=0;a<e.attributes.length;a+=1){let r=e.attributes.item(a);if(r&&r.value.includes("{{")){let n=new vt(e,r);for(let s of oi(r.value))if(s.type==="string")n.append(s.value);else{let l=new q(n,s.value);n.append(l),yield l}}}else if(e instanceof Text&&e.textContent&&e.textContent.includes("{{")){let a=oi(e.textContent);for(let r=0;r<a.length;r+=1){let n=a[r];n.end<e.textContent.length&&e.splitText(n.end),n.type==="part"&&(yield new J(e,n.value));break}}}var si=new WeakMap,li=new WeakMap,se=class extends DocumentFragment{constructor(i,e,a=Da){var r,n;super(),Object.getPrototypeOf(this)!==se.prototype&&Object.setPrototypeOf(this,se.prototype),this.appendChild(i.content.cloneNode(!0)),li.set(this,Array.from(ll(this))),si.set(this,a),(n=(r=si.get(this)).createCallback)===null||n===void 0||n.call(r,this,li.get(this),e),si.get(this).processCallback(this,li.get(this),e)}update(i){si.get(this).processCallback(this,li.get(this),i)}};var _t=new WeakMap,yt=class{constructor(i,e){this.element=i;this.type=e;this.element.addEventListener(this.type,this);let a=_t.get(this.element);a&&a.set(this.type,this)}set(i){if(typeof i=="function")this.handleEvent=i.bind(this.element);else if(typeof i=="object"&&typeof i.handleEvent=="function")this.handleEvent=i.handleEvent.bind(i);else{this.element.removeEventListener(this.type,this);let e=_t.get(this.element);e&&e.delete(this.type)}}static for(i){_t.has(i.element)||_t.set(i.element,new Map);let e=i.attributeName.slice(2),a=_t.get(i.element);return a&&a.has(e)?a.get(e):new yt(i.element,e)}};function dl(t,i){return t instanceof q&&t.attributeName.startsWith("on")?(yt.for(t).set(i),t.element.removeAttributeNS(t.attributeNamespace,t.attributeName),!0):!1}function cl(t,i){return i instanceof Tt&&t instanceof J?(i.renderInto(t),!0):!1}function ul(t,i){return i instanceof DocumentFragment&&t instanceof J?(i.childNodes.length&&t.replace(...i.childNodes),!0):!1}function ml(t,i){if(t instanceof q){let e=t.attributeNamespace,a=t.element.getAttributeNS(e,t.attributeName);return String(i)!==a&&(t.value=String(i)),!0}return t.value=String(i),!0}function hl(t,i){if(typeof i=="boolean"&&t instanceof q){let e=t.attributeNamespace,a=t.element.hasAttributeNS(e,t.attributeName);return i!==a&&(t.booleanValue=i),!0}return!1}function pl(t,i){return i===!1&&t instanceof J?(t.replace(""),!0):!1}function bl(t,i){hl(t,i)||dl(t,i)||pl(t,i)||cl(t,i)||ul(t,i)||ml(t,i)}var xa=new WeakMap,wn=new WeakMap,Dn=new WeakMap,Tt=class{constructor(i,e,a){this.strings=i;this.values=e;this.processor=a}get template(){if(xa.has(this.strings))return xa.get(this.strings);{let i=document.createElement("template"),e=this.strings.length-1;return i.innerHTML=this.strings.reduce((a,r,n)=>a+r+(n<e?`{{ ${n} }}`:""),""),xa.set(this.strings,i),i}}renderInto(i){let e=this.template;if(wn.get(i)!==e){wn.set(i,e);let r=new se(e,this.values,this.processor);Dn.set(i,r),i instanceof J?i.replace(...r.children):i.appendChild(r);return}let a=Dn.get(i);a&&a.update(this.values)}},xn=new Map,El=At(bl);function f(t,...i){let e=[""],a=[],r,n=!1,s=(l,c=[])=>{e[e.length-1]=e[e.length-1]+l[0],c.forEach((m,E)=>{(r=m==null?void 0:m.$static$)!==void 0?(r.forEach(y=>{s(y.strings,y.values)}),e[e.length-1]=e[e.length-1]+l[E+1],n=!0):(a.push(m),e.push(l[E+1]))})};if(s(t,i),n){let l=e.join("$$html$$");t=xn.get(l),t===void 0&&(e.raw=e,xn.set(l,t=e)),i=a}return new Tt(t,i,El)}function di(t,i){t.renderInto(i)}function R(t,i){let e=document.createElement("template");return e.innerHTML=t,new se(e,i)}var Ra=(...t)=>({$static$:t.map(i=>i instanceof Tt?i:/\w-/.test(i)?{strings:[i]}:{strings:[]})});var Pn=`
|
|
727
727
|
:host {
|
|
728
728
|
cursor: pointer;
|
package/dist/index.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
var et=(e,a,t)=>{if(!a.has(e))throw TypeError("Cannot "+t)};var d=(e,a,t)=>(et(e,a,"read from private field"),t?t.call(e):a.get(e)),h=(e,a,t)=>{if(a.has(e))throw TypeError("Cannot add the same private member more than once");a instanceof WeakSet?a.add(e):a.set(e,t)},A=(e,a,t,r)=>(et(e,a,"write to private field"),r?r.call(e,t):a.set(e,t),t);var p=(e,a,t)=>(et(e,a,"access private method"),t);var ie=class{addEventListener(){}removeEventListener(){}dispatchEvent(a){return!0}};if(typeof DocumentFragment=="undefined"){class e extends ie{}globalThis.DocumentFragment=e}var ge=class extends ie{},tt=class extends ie{},li={get(e){},define(e,a,t){},upgrade(e){},whenDefined(e){return Promise.resolve(ge)}},fe,at=class{constructor(a,t={}){h(this,fe,void 0);A(this,fe,t==null?void 0:t.detail)}get detail(){return d(this,fe)}initCustomEvent(){}};fe=new WeakMap;function di(e,a){return new ge}var Bt={document:{createElement:di},DocumentFragment,customElements:li,CustomEvent:at,EventTarget:ie,HTMLElement:ge,HTMLVideoElement:tt},Kt=typeof window=="undefined"||typeof globalThis.customElements=="undefined",g=Kt?Bt:globalThis,S=Kt?Bt.document:globalThis.document;import{MediaController as hr}from"media-chrome";import br,{MediaError as gt,Attributes as u}from"@mux/mux-video";import{StreamTypes as B,PlaybackTypes as Ye,addTextTrack as pr,removeTextTrack as gr}from"@mux/playback-core";import{VideoEvents as vi}from"@mux/mux-video";var mi="en",W={code:mi};var Ut="en";function c(e,a=!0){var i,n;let t=a&&(n=(i=W)==null?void 0:i[e])!=null?n:e,r=a?W.code:Ut;return new it(t,r)}var it=class{constructor(a,t=(r=>(r=W.code)!=null?r:Ut)()){this.message=a,this.locale=t}format(a){return this.message.replace(/\{(\w+)\}/g,(t,r)=>{var i;return(i=a[r])!=null?i:""})}toString(){return this.message}};function Ft(e){let a="";return Object.entries(e).forEach(([t,r])=>{r!=null&&(a+=`${ci(t)}: ${r}; `)}),a?a.trim():void 0}function ci(e){return e.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()}function Yt(e){return e.replace(/[-_]([a-z])/g,(a,t)=>t.toUpperCase())}function z(e){if(e==null)return;let a=+e;return Number.isNaN(a)?void 0:a}function Ce(e){let a=ui(e).toString();return a?"?"+a:""}function ui(e){let a={};for(let t in e)e[t]!=null&&(a[t]=e[t]);return new URLSearchParams(a)}function ve(e){let a=(e!=null?e:"").split(".")[1];if(!a)return{};let t=a.replace(/-/g,"+").replace(/_/g,"/"),r=decodeURIComponent(atob(t).split("").map(function(i){return"%"+("00"+i.charCodeAt(0).toString(16)).slice(-2)}).join(""));return JSON.parse(r)}var rt=(e,a)=>!e||!a?!1:e.contains(a)?!0:rt(e,a.getRootNode().host);import{StreamTypes as Me}from"@mux/playback-core";var nt="mux.com",hi=()=>{try{return"1.1.
|
|
1
|
+
var et=(e,a,t)=>{if(!a.has(e))throw TypeError("Cannot "+t)};var d=(e,a,t)=>(et(e,a,"read from private field"),t?t.call(e):a.get(e)),h=(e,a,t)=>{if(a.has(e))throw TypeError("Cannot add the same private member more than once");a instanceof WeakSet?a.add(e):a.set(e,t)},A=(e,a,t,r)=>(et(e,a,"write to private field"),r?r.call(e,t):a.set(e,t),t);var p=(e,a,t)=>(et(e,a,"access private method"),t);var ie=class{addEventListener(){}removeEventListener(){}dispatchEvent(a){return!0}};if(typeof DocumentFragment=="undefined"){class e extends ie{}globalThis.DocumentFragment=e}var ge=class extends ie{},tt=class extends ie{},li={get(e){},define(e,a,t){},upgrade(e){},whenDefined(e){return Promise.resolve(ge)}},fe,at=class{constructor(a,t={}){h(this,fe,void 0);A(this,fe,t==null?void 0:t.detail)}get detail(){return d(this,fe)}initCustomEvent(){}};fe=new WeakMap;function di(e,a){return new ge}var Bt={document:{createElement:di},DocumentFragment,customElements:li,CustomEvent:at,EventTarget:ie,HTMLElement:ge,HTMLVideoElement:tt},Kt=typeof window=="undefined"||typeof globalThis.customElements=="undefined",g=Kt?Bt:globalThis,S=Kt?Bt.document:globalThis.document;import{MediaController as hr}from"media-chrome";import br,{MediaError as gt,Attributes as u}from"@mux/mux-video";import{StreamTypes as B,PlaybackTypes as Ye,addTextTrack as pr,removeTextTrack as gr}from"@mux/playback-core";import{VideoEvents as vi}from"@mux/mux-video";var mi="en",W={code:mi};var Ut="en";function c(e,a=!0){var i,n;let t=a&&(n=(i=W)==null?void 0:i[e])!=null?n:e,r=a?W.code:Ut;return new it(t,r)}var it=class{constructor(a,t=(r=>(r=W.code)!=null?r:Ut)()){this.message=a,this.locale=t}format(a){return this.message.replace(/\{(\w+)\}/g,(t,r)=>{var i;return(i=a[r])!=null?i:""})}toString(){return this.message}};function Ft(e){let a="";return Object.entries(e).forEach(([t,r])=>{r!=null&&(a+=`${ci(t)}: ${r}; `)}),a?a.trim():void 0}function ci(e){return e.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()}function Yt(e){return e.replace(/[-_]([a-z])/g,(a,t)=>t.toUpperCase())}function z(e){if(e==null)return;let a=+e;return Number.isNaN(a)?void 0:a}function Ce(e){let a=ui(e).toString();return a?"?"+a:""}function ui(e){let a={};for(let t in e)e[t]!=null&&(a[t]=e[t]);return new URLSearchParams(a)}function ve(e){let a=(e!=null?e:"").split(".")[1];if(!a)return{};let t=a.replace(/-/g,"+").replace(/_/g,"/"),r=decodeURIComponent(atob(t).split("").map(function(i){return"%"+("00"+i.charCodeAt(0).toString(16)).slice(-2)}).join(""));return JSON.parse(r)}var rt=(e,a)=>!e||!a?!1:e.contains(a)?!0:rt(e,a.getRootNode().host);import{StreamTypes as Me}from"@mux/playback-core";var nt="mux.com",hi=()=>{try{return"1.1.3"}catch{}return"UNKNOWN"},bi=hi(),Re=()=>bi,ot=(e,{token:a,domain:t=nt}={})=>`https://stream.${t}/${e}.m3u8${Ce(!!a?{token:a}:{redundant_streams:!0})}`,zt=(e,{token:a,thumbnailTime:t,domain:r=nt}={})=>{let i=a==null?t:void 0;return`https://image.${r}/${e}/thumbnail.jpg${Ce({token:a,time:i})}`},qt=(e,{token:a,domain:t=nt}={})=>`https://image.${t}/${e}/storyboard.vtt${Ce({token:a})}`;function st(e){if(e&&/^media-theme-[\w-]+$/.test(e))return e}var pi={crossorigin:"crossOrigin",playsinline:"playsInline"};function jt(e){var a;return(a=pi[e])!=null?a:Yt(e)}var Gt=e=>{var t,r;let{media:a}=e;return(r=(t=a==null?void 0:a._hls)==null?void 0:t.liveSyncPosition)!=null?r:a!=null&&a.seekable.length?a==null?void 0:a.seekable.end(a.seekable.length-1):void 0},lt=e=>{let a=Gt(e);if(a==null){console.warn("attempting to seek to live but cannot determine live edge time!");return}e.currentTime=a},gi=1,fi=5,Zt=3,Wt=.5,Xt=e=>{var n;let{streamType:a}=e,t=Gt(e),r=(n=e.media)==null?void 0:n.currentTime;if(t==null||r==null)return!1;let i=t-r;return a===Me.LL_LIVE||a===Me.LL_DVR?i<=gi*(Zt+Wt):a===Me.LIVE||a===Me.DVR?i<=fi*(Zt+Wt):!1},q,j,x,Pe=class{constructor(a,t){h(this,q,void 0);h(this,j,void 0);h(this,x,[]);A(this,q,a),A(this,j,t)}[Symbol.iterator](){return d(this,x).values()}get length(){return d(this,x).length}get value(){var a;return(a=d(this,x).join(" "))!=null?a:""}set value(a){var t;a!==this.value&&(A(this,x,[]),this.add(...(t=a==null?void 0:a.split(" "))!=null?t:[]))}toString(){return this.value}item(a){return d(this,x)[a]}values(){return d(this,x).values()}keys(){return d(this,x).keys()}forEach(a){d(this,x).forEach(a)}add(...a){var t,r;a.forEach(i=>{this.contains(i)||d(this,x).push(i)}),!(this.value===""&&!((t=d(this,q))!=null&&t.hasAttribute(`${d(this,j)}`)))&&((r=d(this,q))==null||r.setAttribute(`${d(this,j)}`,`${this.value}`))}remove(...a){var t;a.forEach(r=>{d(this,x).splice(d(this,x).indexOf(r),1)}),(t=d(this,q))==null||t.setAttribute(`${d(this,j)}`,`${this.value}`)}contains(a){return d(this,x).includes(a)}toggle(a,t){return typeof t!="undefined"?t?(this.add(a),!0):(this.remove(a),!1):this.contains(a)?(this.remove(a),!1):(this.add(a),!0)}replace(a,t){this.remove(a),this.add(t)}};q=new WeakMap,j=new WeakMap,x=new WeakMap;var Jt=`[mux-player ${Re()}]`;function G(...e){console.warn(Jt,...e)}function O(...e){console.error(Jt,...e)}function Ie(e){var t;let a=(t=e.message)!=null?t:"";if(e.file){let r="https://github.com/muxinc/elements/blob/main/errors/";a+=` ${c("Read more: ")}
|
|
2
2
|
${r}${e.file}`}G(a)}var T={AUTOPLAY:"autoplay",CROSSORIGIN:"crossorigin",LOOP:"loop",MUTED:"muted",PLAYSINLINE:"playsinline",PRELOAD:"preload"},X={VOLUME:"volume",PLAYBACKRATE:"playbackrate",MUTED:"muted"},yi=Object.freeze({length:0,start(e){let a=e>>>0;if(a>=this.length)throw new DOMException(`Failed to execute 'start' on 'TimeRanges': The index provided (${a}) is greater than or equal to the maximum bound (${this.length}).`);return 0},end(e){let a=e>>>0;if(a>=this.length)throw new DOMException(`Failed to execute 'end' on 'TimeRanges': The index provided (${a}) is greater than or equal to the maximum bound (${this.length}).`);return 0}}),ki=vi.filter(e=>e!=="error"),Ei=Object.values(T).filter(e=>![T.PLAYSINLINE].includes(e)),Ti=Object.values(X);function ea(e){e.querySelectorAll(":scope > track").forEach(a=>{var t;(t=e.media)==null||t.append(a.cloneNode())}),ki.forEach(a=>{var t;(t=e.media)==null||t.addEventListener(a,r=>{e.dispatchEvent(new Event(r.type))})})}var dt=class extends g.HTMLElement{static get observedAttributes(){return[...Ei,...Ti]}constructor(){super(),this.querySelectorAll(":scope > track").forEach(r=>{var i;(i=this.media)==null||i.append(r.cloneNode())});let a=r=>{for(let i of r)i.type==="childList"&&(i.removedNodes.forEach(n=>{var m,b;let o=(m=this.media)==null?void 0:m.querySelector(`track[src="${n.src}"]`);o&&((b=this.media)==null||b.removeChild(o))}),i.addedNodes.forEach(n=>{var o;(o=this.media)==null||o.append(n.cloneNode())}))};new MutationObserver(a).observe(this,{childList:!0,subtree:!0})}attributeChangedCallback(a,t,r){switch(a){case X.MUTED:{this.media&&(this.media.muted=r!=null,this.media.defaultMuted=r!=null);return}case X.VOLUME:{let i=+r;this.media&&!Number.isNaN(i)&&(this.media.volume=i);return}case X.PLAYBACKRATE:{let i=+r;this.media&&!Number.isNaN(i)&&(this.media.playbackRate=i,this.media.defaultPlaybackRate=i);return}}}play(){var a,t;return(t=(a=this.media)==null?void 0:a.play())!=null?t:Promise.reject()}pause(){var a;(a=this.media)==null||a.pause()}requestCast(a){var t;return(t=this.media)==null?void 0:t.requestCast(a)}get media(){var a;return(a=this.shadowRoot)==null?void 0:a.querySelector("mux-video")}get paused(){var a,t;return(t=(a=this.media)==null?void 0:a.paused)!=null?t:!0}get duration(){var a,t;return(t=(a=this.media)==null?void 0:a.duration)!=null?t:NaN}get ended(){var a,t;return(t=(a=this.media)==null?void 0:a.ended)!=null?t:!1}get buffered(){var a,t;return(t=(a=this.media)==null?void 0:a.buffered)!=null?t:yi}get readyState(){var a,t;return(t=(a=this.media)==null?void 0:a.readyState)!=null?t:0}get videoWidth(){var a,t;return(t=(a=this.media)==null?void 0:a.videoWidth)!=null?t:0}get videoHeight(){var a,t;return(t=(a=this.media)==null?void 0:a.videoHeight)!=null?t:0}get currentTime(){var a,t;return(t=(a=this.media)==null?void 0:a.currentTime)!=null?t:0}set currentTime(a){this.media&&(this.media.currentTime=Number(a))}get volume(){var a,t;return(t=(a=this.media)==null?void 0:a.volume)!=null?t:1}set volume(a){this.media&&(this.media.volume=Number(a))}get playbackRate(){var a,t;return(t=(a=this.media)==null?void 0:a.playbackRate)!=null?t:1}set playbackRate(a){this.media&&(this.media.playbackRate=Number(a))}get defaultPlaybackRate(){var a;return(a=z(this.getAttribute(X.PLAYBACKRATE)))!=null?a:1}set defaultPlaybackRate(a){a!=null?this.setAttribute(X.PLAYBACKRATE,`${a}`):this.removeAttribute(X.PLAYBACKRATE)}get crossOrigin(){return ye(this,T.CROSSORIGIN)}set crossOrigin(a){this.setAttribute(T.CROSSORIGIN,`${a}`)}get autoplay(){return ye(this,T.AUTOPLAY)!=null}set autoplay(a){a?this.setAttribute(T.AUTOPLAY,typeof a=="string"?a:""):this.removeAttribute(T.AUTOPLAY)}get loop(){return ye(this,T.LOOP)!=null}set loop(a){a?this.setAttribute(T.LOOP,""):this.removeAttribute(T.LOOP)}get muted(){var a,t;return(t=(a=this.media)==null?void 0:a.muted)!=null?t:!1}set muted(a){this.media&&(this.media.muted=Boolean(a))}get defaultMuted(){return ye(this,T.MUTED)!=null}set defaultMuted(a){a?this.setAttribute(T.MUTED,""):this.removeAttribute(T.MUTED)}get playsInline(){return ye(this,T.PLAYSINLINE)!=null}set playsInline(a){O("playsInline is set to true by default and is not currently supported as a setter.")}get preload(){return this.media?this.media.preload:this.getAttribute("preload")}set preload(a){["","none","metadata","auto"].includes(a)?this.setAttribute(T.PRELOAD,a):this.removeAttribute(T.PRELOAD)}};function ye(e,a){return e.media?e.media.getAttribute(a):e.getAttribute(a)}var mt=dt;import{MediaTheme as Xi}from"media-chrome";import{TemplateInstance as ra,NodeTemplatePart as De,createProcessor as Ai,AttributeTemplatePart as ut}from"@github/template-parts";var ke=new WeakMap,Ee=class{constructor(a,t){this.element=a;this.type=t;this.element.addEventListener(this.type,this);let r=ke.get(this.element);r&&r.set(this.type,this)}set(a){if(typeof a=="function")this.handleEvent=a.bind(this.element);else if(typeof a=="object"&&typeof a.handleEvent=="function")this.handleEvent=a.handleEvent.bind(a);else{this.element.removeEventListener(this.type,this);let t=ke.get(this.element);t&&t.delete(this.type)}}static for(a){ke.has(a.element)||ke.set(a.element,new Map);let t=a.attributeName.slice(2),r=ke.get(a.element);return r&&r.has(t)?r.get(t):new Ee(a.element,t)}};function xi(e,a){return e instanceof ut&&e.attributeName.startsWith("on")?(Ee.for(e).set(a),e.element.removeAttributeNS(e.attributeNamespace,e.attributeName),!0):!1}function wi(e,a){return a instanceof Te&&e instanceof De?(a.renderInto(e),!0):!1}function Li(e,a){return a instanceof DocumentFragment&&e instanceof De?(a.childNodes.length&&e.replace(...a.childNodes),!0):!1}function $i(e,a){if(e instanceof ut){let t=e.attributeNamespace,r=e.element.getAttributeNS(t,e.attributeName);return String(a)!==r&&(e.value=String(a)),!0}return e.value=String(a),!0}function Si(e,a){if(typeof a=="boolean"&&e instanceof ut){let t=e.attributeNamespace,r=e.element.hasAttributeNS(t,e.attributeName);return a!==r&&(e.booleanValue=a),!0}return!1}function Oi(e,a){return a===!1&&e instanceof De?(e.replace(""),!0):!1}function Ci(e,a){Si(e,a)||xi(e,a)||Oi(e,a)||wi(e,a)||Li(e,a)||$i(e,a)}var ct=new WeakMap,ta=new WeakMap,aa=new WeakMap,Te=class{constructor(a,t,r){this.strings=a;this.values=t;this.processor=r}get template(){if(ct.has(this.strings))return ct.get(this.strings);{let a=document.createElement("template"),t=this.strings.length-1;return a.innerHTML=this.strings.reduce((r,i,n)=>r+i+(n<t?`{{ ${n} }}`:""),""),ct.set(this.strings,a),a}}renderInto(a){let t=this.template;if(ta.get(a)!==t){ta.set(a,t);let i=new ra(t,this.values,this.processor);aa.set(a,i),a instanceof De?a.replace(...i.children):a.appendChild(i);return}let r=aa.get(a);r&&r.update(this.values)}},ia=new Map,Mi=Ai(Ci);function l(e,...a){let t=[""],r=[],i,n=!1,o=(m,b=[])=>{t[t.length-1]=t[t.length-1]+m[0],b.forEach((f,v)=>{(i=f==null?void 0:f.$static$)!==void 0?(i.forEach($=>{o($.strings,$.values)}),t[t.length-1]=t[t.length-1]+m[v+1],n=!0):(r.push(f),t.push(m[v+1]))})};if(o(e,a),n){let m=t.join("$$html$$");e=ia.get(m),e===void 0&&(t.raw=t,ia.set(m,e=t)),a=r}return new Te(e,a,Mi)}function _e(e,a){e.renderInto(a)}function y(e,a){let t=document.createElement("template");return t.innerHTML=e,new ra(t,a)}var ht=(...e)=>({$static$:e.map(a=>a instanceof Te?a:/\w-/.test(a)?{strings:[a]}:{strings:[]})});var oa=`
|
|
3
3
|
:host {
|
|
4
4
|
cursor: pointer;
|
package/dist/module.json
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"inputs":{"../../shared/polyfills/index.js":{"bytes":1440,"imports":[]},"../../node_modules/media-chrome/dist/constants.js":{"bytes":5007,"imports":[]},"../../node_modules/media-chrome/dist/labels/labels.js":{"bytes":1053,"imports":[]},"../../node_modules/media-chrome/dist/utils/time.js":{"bytes":1768,"imports":[]},"../../node_modules/media-chrome/dist/utils/server-safe-globals.js":{"bytes":713,"imports":[]},"../../node_modules/media-chrome/dist/utils/defineCustomElement.js":{"bytes":274,"imports":[{"path":"../../node_modules/media-chrome/dist/utils/server-safe-globals.js","kind":"import-statement"}]},"../../node_modules/media-chrome/dist/media-chrome-button.js":{"bytes":5811,"imports":[{"path":"../../node_modules/media-chrome/dist/constants.js","kind":"import-statement"},{"path":"../../node_modules/media-chrome/dist/utils/defineCustomElement.js","kind":"import-statement"},{"path":"../../node_modules/media-chrome/dist/utils/server-safe-globals.js","kind":"import-statement"}]},"../../node_modules/media-chrome/dist/media-airplay-button.js":{"bytes":1536,"imports":[{"path":"../../node_modules/media-chrome/dist/media-chrome-button.js","kind":"import-statement"},{"path":"../../node_modules/media-chrome/dist/utils/defineCustomElement.js","kind":"import-statement"},{"path":"../../node_modules/media-chrome/dist/utils/server-safe-globals.js","kind":"import-statement"},{"path":"../../node_modules/media-chrome/dist/constants.js","kind":"import-statement"},{"path":"../../node_modules/media-chrome/dist/labels/labels.js","kind":"import-statement"}]},"../../node_modules/media-chrome/dist/media-cast-button.js":{"bytes":3412,"imports":[{"path":"../../node_modules/media-chrome/dist/media-chrome-button.js","kind":"import-statement"},{"path":"../../node_modules/media-chrome/dist/utils/defineCustomElement.js","kind":"import-statement"},{"path":"../../node_modules/media-chrome/dist/utils/server-safe-globals.js","kind":"import-statement"},{"path":"../../node_modules/media-chrome/dist/constants.js","kind":"import-statement"},{"path":"../../node_modules/media-chrome/dist/labels/labels.js","kind":"import-statement"}]},"../../node_modules/media-chrome/dist/utils/element-utils.js":{"bytes":1579,"imports":[]},"../../node_modules/media-chrome/dist/media-gesture-receiver.js":{"bytes":4629,"imports":[{"path":"../../node_modules/media-chrome/dist/constants.js","kind":"import-statement"},{"path":"../../node_modules/media-chrome/dist/utils/defineCustomElement.js","kind":"import-statement"},{"path":"../../node_modules/media-chrome/dist/utils/element-utils.js","kind":"import-statement"},{"path":"../../node_modules/media-chrome/dist/utils/server-safe-globals.js","kind":"import-statement"}]},"../../node_modules/media-chrome/dist/media-container.js":{"bytes":9359,"imports":[{"path":"../../node_modules/media-chrome/dist/utils/defineCustomElement.js","kind":"import-statement"},{"path":"../../node_modules/media-chrome/dist/utils/server-safe-globals.js","kind":"import-statement"},{"path":"../../node_modules/media-chrome/dist/constants.js","kind":"import-statement"},{"path":"../../node_modules/media-chrome/dist/labels/labels.js","kind":"import-statement"},{"path":"../../node_modules/media-chrome/dist/media-gesture-receiver.js","kind":"import-statement"}]},"../../node_modules/media-chrome/dist/utils/attribute-token-list.js":{"bytes":3008,"imports":[]},"../../node_modules/media-chrome/dist/utils/fullscreenApi.js":{"bytes":713,"imports":[{"path":"../../node_modules/media-chrome/dist/utils/server-safe-globals.js","kind":"import-statement"}]},"../../node_modules/media-chrome/dist/utils/stringUtils.js":{"bytes":435,"imports":[]},"../../node_modules/media-chrome/dist/utils/captions.js":{"bytes":4558,"imports":[{"path":"../../node_modules/media-chrome/dist/constants.js","kind":"import-statement"}]},"../../node_modules/media-chrome/dist/media-controller.js":{"bytes":34760,"imports":[{"path":"../../node_modules/media-chrome/dist/media-container.js","kind":"import-statement"},{"path":"../../node_modules/media-chrome/dist/utils/defineCustomElement.js","kind":"import-statement"},{"path":"../../node_modules/media-chrome/dist/utils/server-safe-globals.js","kind":"import-statement"},{"path":"../../node_modules/media-chrome/dist/utils/attribute-token-list.js","kind":"import-statement"},{"path":"../../node_modules/media-chrome/dist/utils/fullscreenApi.js","kind":"import-statement"},{"path":"../../node_modules/media-chrome/dist/utils/stringUtils.js","kind":"import-statement"},{"path":"../../node_modules/media-chrome/dist/utils/element-utils.js","kind":"import-statement"},{"path":"../../node_modules/media-chrome/dist/utils/captions.js","kind":"import-statement"},{"path":"../../node_modules/media-chrome/dist/constants.js","kind":"import-statement"},{"path":"../../node_modules/media-chrome/dist/utils/captions.js","kind":"import-statement"}]},"../../node_modules/media-chrome/dist/media-chrome-range.js":{"bytes":9844,"imports":[{"path":"../../node_modules/media-chrome/dist/constants.js","kind":"import-statement"},{"path":"../../node_modules/media-chrome/dist/utils/defineCustomElement.js","kind":"import-statement"},{"path":"../../node_modules/media-chrome/dist/utils/server-safe-globals.js","kind":"import-statement"},{"path":"../../node_modules/media-chrome/dist/utils/element-utils.js","kind":"import-statement"}]},"../../node_modules/media-chrome/dist/media-control-bar.js":{"bytes":2481,"imports":[{"path":"../../node_modules/media-chrome/dist/constants.js","kind":"import-statement"},{"path":"../../node_modules/media-chrome/dist/utils/defineCustomElement.js","kind":"import-statement"},{"path":"../../node_modules/media-chrome/dist/utils/server-safe-globals.js","kind":"import-statement"}]},"../../node_modules/media-chrome/dist/media-text-display.js":{"bytes":2983,"imports":[{"path":"../../node_modules/media-chrome/dist/constants.js","kind":"import-statement"},{"path":"../../node_modules/media-chrome/dist/utils/defineCustomElement.js","kind":"import-statement"},{"path":"../../node_modules/media-chrome/dist/utils/server-safe-globals.js","kind":"import-statement"}]},"../../node_modules/media-chrome/dist/media-current-time-display.js":{"bytes":856,"imports":[{"path":"../../node_modules/media-chrome/dist/media-text-display.js","kind":"import-statement"},{"path":"../../node_modules/media-chrome/dist/utils/defineCustomElement.js","kind":"import-statement"},{"path":"../../node_modules/media-chrome/dist/utils/time.js","kind":"import-statement"},{"path":"../../node_modules/media-chrome/dist/constants.js","kind":"import-statement"}]},"../../node_modules/media-chrome/dist/media-duration-display.js":{"bytes":827,"imports":[{"path":"../../node_modules/media-chrome/dist/media-text-display.js","kind":"import-statement"},{"path":"../../node_modules/media-chrome/dist/utils/defineCustomElement.js","kind":"import-statement"},{"path":"../../node_modules/media-chrome/dist/utils/time.js","kind":"import-statement"},{"path":"../../node_modules/media-chrome/dist/constants.js","kind":"import-statement"}]},"../../node_modules/media-chrome/dist/media-time-display.js":{"bytes":3986,"imports":[{"path":"../../node_modules/media-chrome/dist/media-text-display.js","kind":"import-statement"},{"path":"../../node_modules/media-chrome/dist/utils/defineCustomElement.js","kind":"import-statement"},{"path":"../../node_modules/media-chrome/dist/utils/time.js","kind":"import-statement"},{"path":"../../node_modules/media-chrome/dist/constants.js","kind":"import-statement"},{"path":"../../node_modules/media-chrome/dist/labels/labels.js","kind":"import-statement"}]},"../../node_modules/media-chrome/dist/media-captions-button.js":{"bytes":5412,"imports":[{"path":"../../node_modules/media-chrome/dist/media-chrome-button.js","kind":"import-statement"},{"path":"../../node_modules/media-chrome/dist/utils/defineCustomElement.js","kind":"import-statement"},{"path":"../../node_modules/media-chrome/dist/utils/server-safe-globals.js","kind":"import-statement"},{"path":"../../node_modules/media-chrome/dist/constants.js","kind":"import-statement"},{"path":"../../node_modules/media-chrome/dist/labels/labels.js","kind":"import-statement"},{"path":"../../node_modules/media-chrome/dist/utils/captions.js","kind":"import-statement"}]},"../../node_modules/media-chrome/dist/media-seek-forward-button.js":{"bytes":2842,"imports":[{"path":"../../node_modules/media-chrome/dist/media-chrome-button.js","kind":"import-statement"},{"path":"../../node_modules/media-chrome/dist/utils/defineCustomElement.js","kind":"import-statement"},{"path":"../../node_modules/media-chrome/dist/utils/server-safe-globals.js","kind":"import-statement"},{"path":"../../node_modules/media-chrome/dist/constants.js","kind":"import-statement"},{"path":"../../node_modules/media-chrome/dist/labels/labels.js","kind":"import-statement"},{"path":"../../node_modules/media-chrome/dist/utils/element-utils.js","kind":"import-statement"}]},"../../node_modules/media-chrome/dist/media-fullscreen-button.js":{"bytes":2732,"imports":[{"path":"../../node_modules/media-chrome/dist/media-chrome-button.js","kind":"import-statement"},{"path":"../../node_modules/media-chrome/dist/utils/defineCustomElement.js","kind":"import-statement"},{"path":"../../node_modules/media-chrome/dist/utils/server-safe-globals.js","kind":"import-statement"},{"path":"../../node_modules/media-chrome/dist/constants.js","kind":"import-statement"},{"path":"../../node_modules/media-chrome/dist/labels/labels.js","kind":"import-statement"}]},"../../node_modules/media-chrome/dist/media-mute-button.js":{"bytes":3580,"imports":[{"path":"../../node_modules/media-chrome/dist/media-chrome-button.js","kind":"import-statement"},{"path":"../../node_modules/media-chrome/dist/utils/defineCustomElement.js","kind":"import-statement"},{"path":"../../node_modules/media-chrome/dist/utils/server-safe-globals.js","kind":"import-statement"},{"path":"../../node_modules/media-chrome/dist/constants.js","kind":"import-statement"},{"path":"../../node_modules/media-chrome/dist/labels/labels.js","kind":"import-statement"}]},"../../node_modules/media-chrome/dist/media-pip-button.js":{"bytes":2328,"imports":[{"path":"../../node_modules/media-chrome/dist/media-chrome-button.js","kind":"import-statement"},{"path":"../../node_modules/media-chrome/dist/utils/defineCustomElement.js","kind":"import-statement"},{"path":"../../node_modules/media-chrome/dist/utils/server-safe-globals.js","kind":"import-statement"},{"path":"../../node_modules/media-chrome/dist/constants.js","kind":"import-statement"},{"path":"../../node_modules/media-chrome/dist/labels/labels.js","kind":"import-statement"}]},"../../node_modules/media-chrome/dist/media-play-button.js":{"bytes":2283,"imports":[{"path":"../../node_modules/media-chrome/dist/media-chrome-button.js","kind":"import-statement"},{"path":"../../node_modules/media-chrome/dist/utils/server-safe-globals.js","kind":"import-statement"},{"path":"../../node_modules/media-chrome/dist/utils/defineCustomElement.js","kind":"import-statement"},{"path":"../../node_modules/media-chrome/dist/constants.js","kind":"import-statement"},{"path":"../../node_modules/media-chrome/dist/labels/labels.js","kind":"import-statement"}]},"../../node_modules/media-chrome/dist/media-playback-rate-button.js":{"bytes":2372,"imports":[{"path":"../../node_modules/media-chrome/dist/media-chrome-button.js","kind":"import-statement"},{"path":"../../node_modules/media-chrome/dist/utils/defineCustomElement.js","kind":"import-statement"},{"path":"../../node_modules/media-chrome/dist/utils/server-safe-globals.js","kind":"import-statement"},{"path":"../../node_modules/media-chrome/dist/constants.js","kind":"import-statement"},{"path":"../../node_modules/media-chrome/dist/labels/labels.js","kind":"import-statement"}]},"../../node_modules/media-chrome/dist/media-poster-image.js":{"bytes":2152,"imports":[{"path":"../../node_modules/media-chrome/dist/utils/defineCustomElement.js","kind":"import-statement"},{"path":"../../node_modules/media-chrome/dist/utils/server-safe-globals.js","kind":"import-statement"},{"path":"../../node_modules/media-chrome/dist/constants.js","kind":"import-statement"}]},"../../node_modules/media-chrome/dist/media-time-range.js":{"bytes":15580,"imports":[{"path":"../../node_modules/media-chrome/dist/media-chrome-range.js","kind":"import-statement"},{"path":"../../node_modules/media-chrome/dist/utils/defineCustomElement.js","kind":"import-statement"},{"path":"../../node_modules/media-chrome/dist/utils/server-safe-globals.js","kind":"import-statement"},{"path":"../../node_modules/media-chrome/dist/constants.js","kind":"import-statement"},{"path":"../../node_modules/media-chrome/dist/labels/labels.js","kind":"import-statement"},{"path":"../../node_modules/media-chrome/dist/utils/time.js","kind":"import-statement"},{"path":"../../node_modules/media-chrome/dist/utils/element-utils.js","kind":"import-statement"}]},"../../node_modules/media-chrome/dist/media-progress-range.js":{"bytes":487,"imports":[{"path":"../../node_modules/media-chrome/dist/media-time-range.js","kind":"import-statement"},{"path":"../../node_modules/media-chrome/dist/utils/defineCustomElement.js","kind":"import-statement"}]},"../../node_modules/media-chrome/dist/media-seek-backward-button.js":{"bytes":2824,"imports":[{"path":"../../node_modules/media-chrome/dist/media-chrome-button.js","kind":"import-statement"},{"path":"../../node_modules/media-chrome/dist/utils/defineCustomElement.js","kind":"import-statement"},{"path":"../../node_modules/media-chrome/dist/utils/server-safe-globals.js","kind":"import-statement"},{"path":"../../node_modules/media-chrome/dist/constants.js","kind":"import-statement"},{"path":"../../node_modules/media-chrome/dist/labels/labels.js","kind":"import-statement"},{"path":"../../node_modules/media-chrome/dist/utils/element-utils.js","kind":"import-statement"}]},"../../node_modules/media-chrome/dist/media-preview-time-display.js":{"bytes":878,"imports":[{"path":"../../node_modules/media-chrome/dist/media-text-display.js","kind":"import-statement"},{"path":"../../node_modules/media-chrome/dist/utils/defineCustomElement.js","kind":"import-statement"},{"path":"../../node_modules/media-chrome/dist/utils/time.js","kind":"import-statement"},{"path":"../../node_modules/media-chrome/dist/constants.js","kind":"import-statement"}]},"../../node_modules/media-chrome/dist/media-preview-thumbnail.js":{"bytes":4464,"imports":[{"path":"../../node_modules/media-chrome/dist/utils/server-safe-globals.js","kind":"import-statement"},{"path":"../../node_modules/media-chrome/dist/utils/defineCustomElement.js","kind":"import-statement"},{"path":"../../node_modules/media-chrome/dist/constants.js","kind":"import-statement"},{"path":"../../node_modules/media-chrome/dist/utils/element-utils.js","kind":"import-statement"}]},"../../node_modules/media-chrome/dist/media-loading-indicator.js":{"bytes":4615,"imports":[{"path":"../../node_modules/media-chrome/dist/constants.js","kind":"import-statement"},{"path":"../../node_modules/media-chrome/dist/labels/labels.js","kind":"import-statement"},{"path":"../../node_modules/media-chrome/dist/utils/defineCustomElement.js","kind":"import-statement"},{"path":"../../node_modules/media-chrome/dist/utils/server-safe-globals.js","kind":"import-statement"}]},"../../node_modules/media-chrome/dist/media-title-element.js":{"bytes":648,"imports":[{"path":"../../node_modules/media-chrome/dist/utils/defineCustomElement.js","kind":"import-statement"},{"path":"../../node_modules/media-chrome/dist/utils/server-safe-globals.js","kind":"import-statement"}]},"../../node_modules/media-chrome/dist/media-volume-range.js":{"bytes":2078,"imports":[{"path":"../../node_modules/media-chrome/dist/utils/server-safe-globals.js","kind":"import-statement"},{"path":"../../node_modules/media-chrome/dist/media-chrome-range.js","kind":"import-statement"},{"path":"../../node_modules/media-chrome/dist/utils/defineCustomElement.js","kind":"import-statement"},{"path":"../../node_modules/media-chrome/dist/constants.js","kind":"import-statement"},{"path":"../../node_modules/media-chrome/dist/labels/labels.js","kind":"import-statement"}]},"../../node_modules/media-chrome/dist/themes/media-theme.js":{"bytes":1163,"imports":[{"path":"../../node_modules/media-chrome/dist/utils/defineCustomElement.js","kind":"import-statement"},{"path":"../../node_modules/media-chrome/dist/utils/server-safe-globals.js","kind":"import-statement"}]},"../../node_modules/media-chrome/dist/index.js":{"bytes":2964,"imports":[{"path":"../../node_modules/media-chrome/dist/constants.js","kind":"import-statement"},{"path":"../../node_modules/media-chrome/dist/labels/labels.js","kind":"import-statement"},{"path":"../../node_modules/media-chrome/dist/utils/time.js","kind":"import-statement"},{"path":"../../node_modules/media-chrome/dist/media-airplay-button.js","kind":"import-statement"},{"path":"../../node_modules/media-chrome/dist/media-cast-button.js","kind":"import-statement"},{"path":"../../node_modules/media-chrome/dist/media-chrome-button.js","kind":"import-statement"},{"path":"../../node_modules/media-chrome/dist/media-gesture-receiver.js","kind":"import-statement"},{"path":"../../node_modules/media-chrome/dist/media-controller.js","kind":"import-statement"},{"path":"../../node_modules/media-chrome/dist/media-chrome-range.js","kind":"import-statement"},{"path":"../../node_modules/media-chrome/dist/media-control-bar.js","kind":"import-statement"},{"path":"../../node_modules/media-chrome/dist/media-current-time-display.js","kind":"import-statement"},{"path":"../../node_modules/media-chrome/dist/media-duration-display.js","kind":"import-statement"},{"path":"../../node_modules/media-chrome/dist/media-time-display.js","kind":"import-statement"},{"path":"../../node_modules/media-chrome/dist/media-captions-button.js","kind":"import-statement"},{"path":"../../node_modules/media-chrome/dist/media-seek-forward-button.js","kind":"import-statement"},{"path":"../../node_modules/media-chrome/dist/media-fullscreen-button.js","kind":"import-statement"},{"path":"../../node_modules/media-chrome/dist/media-mute-button.js","kind":"import-statement"},{"path":"../../node_modules/media-chrome/dist/media-pip-button.js","kind":"import-statement"},{"path":"../../node_modules/media-chrome/dist/media-play-button.js","kind":"import-statement"},{"path":"../../node_modules/media-chrome/dist/media-playback-rate-button.js","kind":"import-statement"},{"path":"../../node_modules/media-chrome/dist/media-poster-image.js","kind":"import-statement"},{"path":"../../node_modules/media-chrome/dist/media-progress-range.js","kind":"import-statement"},{"path":"../../node_modules/media-chrome/dist/media-seek-backward-button.js","kind":"import-statement"},{"path":"../../node_modules/media-chrome/dist/media-preview-time-display.js","kind":"import-statement"},{"path":"../../node_modules/media-chrome/dist/media-preview-thumbnail.js","kind":"import-statement"},{"path":"../../node_modules/media-chrome/dist/media-time-range.js","kind":"import-statement"},{"path":"../../node_modules/media-chrome/dist/media-loading-indicator.js","kind":"import-statement"},{"path":"../../node_modules/media-chrome/dist/media-title-element.js","kind":"import-statement"},{"path":"../../node_modules/media-chrome/dist/media-volume-range.js","kind":"import-statement"},{"path":"../../node_modules/media-chrome/dist/themes/media-theme.js","kind":"import-statement"},{"path":"../../node_modules/media-chrome/dist/utils/server-safe-globals.js","kind":"import-statement"}]},"../../node_modules/mux-embed/dist/mux.js":{"bytes":105451,"imports":[]},"../../node_modules/hls.js/dist/hls.js":{"bytes":1036845,"imports":[]},"../playback-core/dist/index.mjs":{"bytes":9635,"imports":[{"path":"../../node_modules/mux-embed/dist/mux.js","kind":"import-statement"},{"path":"../../node_modules/hls.js/dist/hls.js","kind":"import-statement"},{"path":"../../node_modules/hls.js/dist/hls.js","kind":"import-statement"},{"path":"../../node_modules/hls.js/dist/hls.js","kind":"import-statement"}]},"../mux-video/dist/index.mjs":{"bytes":21205,"imports":[{"path":"../playback-core/dist/index.mjs","kind":"import-statement"}]},"lang/en.json":{"bytes":42,"imports":[]},"src/utils.ts":{"bytes":2729,"imports":[{"path":"lang/en.json","kind":"import-statement"}]},"src/helpers.ts":{"bytes":5571,"imports":[{"path":"src/utils.ts","kind":"import-statement"},{"path":"../playback-core/dist/index.mjs","kind":"import-statement"}]},"src/logger.ts":{"bytes":688,"imports":[{"path":"src/utils.ts","kind":"import-statement"},{"path":"src/helpers.ts","kind":"import-statement"}]},"src/video-api.ts":{"bytes":10967,"imports":[{"path":"../../shared/polyfills/index.js","kind":"import-statement"},{"path":"../mux-video/dist/index.mjs","kind":"import-statement"},{"path":"src/logger.ts","kind":"import-statement"},{"path":"src/utils.ts","kind":"import-statement"}]},"../../node_modules/@github/template-parts/lib/template-string-parser.js":{"bytes":1639,"imports":[]},"../../node_modules/@github/template-parts/lib/attribute-template-part.js":{"bytes":1840,"imports":[]},"../../node_modules/@github/template-parts/lib/node-template-part.js":{"bytes":1087,"imports":[]},"../../node_modules/@github/template-parts/lib/processors.js":{"bytes":1222,"imports":[{"path":"../../node_modules/@github/template-parts/lib/attribute-template-part.js","kind":"import-statement"}]},"../../node_modules/@github/template-parts/lib/template-instance.js":{"bytes":3068,"imports":[{"path":"../../node_modules/@github/template-parts/lib/template-string-parser.js","kind":"import-statement"},{"path":"../../node_modules/@github/template-parts/lib/attribute-template-part.js","kind":"import-statement"},{"path":"../../node_modules/@github/template-parts/lib/node-template-part.js","kind":"import-statement"},{"path":"../../node_modules/@github/template-parts/lib/processors.js","kind":"import-statement"}]},"../../node_modules/@github/template-parts/lib/index.js":{"bytes":452,"imports":[{"path":"../../node_modules/@github/template-parts/lib/template-instance.js","kind":"import-statement"},{"path":"../../node_modules/@github/template-parts/lib/template-string-parser.js","kind":"import-statement"},{"path":"../../node_modules/@github/template-parts/lib/attribute-template-part.js","kind":"import-statement"},{"path":"../../node_modules/@github/template-parts/lib/node-template-part.js","kind":"import-statement"},{"path":"../../node_modules/@github/template-parts/lib/processors.js","kind":"import-statement"}]},"src/html.ts":{"bytes":7913,"imports":[{"path":"../../node_modules/@github/template-parts/lib/index.js","kind":"import-statement"}]},"src/media-chrome/time-display.ts":{"bytes":3357,"imports":[{"path":"../../shared/polyfills/index.js","kind":"import-statement"}]},"src/media-theme-mux/styles.css":{"bytes":5328,"imports":[]},"src/media-theme-mux/icons/airplay.svg":{"bytes":315,"imports":[]},"src/media-theme-mux/icons/captions-off.svg":{"bytes":1783,"imports":[]},"src/media-theme-mux/icons/captions-on.svg":{"bytes":1418,"imports":[]},"src/media-theme-mux/icons/cast-enter.svg":{"bytes":384,"imports":[]},"src/media-theme-mux/icons/cast-exit.svg":{"bytes":458,"imports":[]},"src/media-theme-mux/icons/fullscreen-enter.svg":{"bytes":519,"imports":[]},"src/media-theme-mux/icons/fullscreen-exit.svg":{"bytes":418,"imports":[]},"src/media-theme-mux/icons/pause.svg":{"bytes":252,"imports":[]},"src/media-theme-mux/icons/pip-enter.svg":{"bytes":259,"imports":[]},"src/media-theme-mux/icons/pip-exit.svg":{"bytes":258,"imports":[]},"src/media-theme-mux/icons/play.svg":{"bytes":176,"imports":[]},"src/media-theme-mux/icons/seek-backward.svg":{"bytes":307,"imports":[]},"src/media-theme-mux/icons/seek-forward.svg":{"bytes":305,"imports":[]},"src/media-theme-mux/icons/volume-high.svg":{"bytes":436,"imports":[]},"src/media-theme-mux/icons/volume-low.svg":{"bytes":330,"imports":[]},"src/media-theme-mux/icons/volume-medium.svg":{"bytes":333,"imports":[]},"src/media-theme-mux/icons/volume-off.svg":{"bytes":737,"imports":[]},"src/media-theme-mux/icons.ts":{"bytes":2075,"imports":[{"path":"src/html.ts","kind":"import-statement"},{"path":"src/media-theme-mux/icons/airplay.svg","kind":"import-statement"},{"path":"src/media-theme-mux/icons/captions-off.svg","kind":"import-statement"},{"path":"src/media-theme-mux/icons/captions-on.svg","kind":"import-statement"},{"path":"src/media-theme-mux/icons/cast-enter.svg","kind":"import-statement"},{"path":"src/media-theme-mux/icons/cast-exit.svg","kind":"import-statement"},{"path":"src/media-theme-mux/icons/fullscreen-enter.svg","kind":"import-statement"},{"path":"src/media-theme-mux/icons/fullscreen-exit.svg","kind":"import-statement"},{"path":"src/media-theme-mux/icons/pause.svg","kind":"import-statement"},{"path":"src/media-theme-mux/icons/pip-enter.svg","kind":"import-statement"},{"path":"src/media-theme-mux/icons/pip-exit.svg","kind":"import-statement"},{"path":"src/media-theme-mux/icons/play.svg","kind":"import-statement"},{"path":"src/media-theme-mux/icons/seek-backward.svg","kind":"import-statement"},{"path":"src/media-theme-mux/icons/seek-forward.svg","kind":"import-statement"},{"path":"src/media-theme-mux/icons/volume-high.svg","kind":"import-statement"},{"path":"src/media-theme-mux/icons/volume-low.svg","kind":"import-statement"},{"path":"src/media-theme-mux/icons/volume-medium.svg","kind":"import-statement"},{"path":"src/media-theme-mux/icons/volume-off.svg","kind":"import-statement"}]},"src/media-theme-mux/media-theme-mux.ts":{"bytes":18092,"imports":[{"path":"../../shared/polyfills/index.js","kind":"import-statement"},{"path":"../../node_modules/media-chrome/dist/index.js","kind":"import-statement"},{"path":"src/html.ts","kind":"import-statement"},{"path":"src/media-chrome/time-display.ts","kind":"import-statement"},{"path":"src/media-theme-mux/styles.css","kind":"import-statement"},{"path":"src/media-theme-mux/icons.ts","kind":"import-statement"},{"path":"../playback-core/dist/index.mjs","kind":"import-statement"}]},"src/media-chrome/dialog.ts":{"bytes":6023,"imports":[{"path":"../../shared/polyfills/index.js","kind":"import-statement"}]},"src/dialog.ts":{"bytes":1254,"imports":[{"path":"../../shared/polyfills/index.js","kind":"import-statement"},{"path":"src/media-chrome/dialog.ts","kind":"import-statement"}]},"src/styles.css":{"bytes":6123,"imports":[]},"src/template.ts":{"bytes":5812,"imports":[{"path":"src/media-theme-mux/media-theme-mux.ts","kind":"import-statement"},{"path":"src/dialog.ts","kind":"import-statement"},{"path":"src/helpers.ts","kind":"import-statement"},{"path":"src/html.ts","kind":"import-statement"},{"path":"src/styles.css","kind":"import-statement"},{"path":"src/utils.ts","kind":"import-statement"},{"path":"../playback-core/dist/index.mjs","kind":"import-statement"}]},"src/errors.ts":{"bytes":6023,"imports":[{"path":"../mux-video/dist/index.mjs","kind":"import-statement"},{"path":"lang/en.json","kind":"import-statement"},{"path":"src/utils.ts","kind":"import-statement"}]},"src/index.ts":{"bytes":33583,"imports":[{"path":"../../shared/polyfills/index.js","kind":"import-statement"},{"path":"../../node_modules/media-chrome/dist/index.js","kind":"import-statement"},{"path":"../mux-video/dist/index.mjs","kind":"import-statement"},{"path":"../playback-core/dist/index.mjs","kind":"import-statement"},{"path":"src/video-api.ts","kind":"import-statement"},{"path":"src/helpers.ts","kind":"import-statement"},{"path":"src/template.ts","kind":"import-statement"},{"path":"src/html.ts","kind":"import-statement"},{"path":"src/errors.ts","kind":"import-statement"},{"path":"src/utils.ts","kind":"import-statement"},{"path":"src/logger.ts","kind":"import-statement"}]}},"outputs":{"dist/mux-player.mjs":{"imports":[],"exports":["MediaError","default","getVideoAttribute"],"entryPoint":"src/index.ts","inputs":{"../../node_modules/mux-embed/dist/mux.js":{"bytesInOutput":105685},"../../node_modules/hls.js/dist/hls.js":{"bytesInOutput":374115},"../../shared/polyfills/index.js":{"bytesInOutput":767},"../../node_modules/media-chrome/dist/constants.js":{"bytesInOutput":3808},"../../node_modules/media-chrome/dist/labels/labels.js":{"bytesInOutput":774},"../../node_modules/media-chrome/dist/utils/time.js":{"bytesInOutput":738},"../../node_modules/media-chrome/dist/utils/server-safe-globals.js":{"bytesInOutput":394},"../../node_modules/media-chrome/dist/utils/defineCustomElement.js":{"bytesInOutput":88},"../../node_modules/media-chrome/dist/media-chrome-button.js":{"bytesInOutput":3428},"../../node_modules/media-chrome/dist/media-airplay-button.js":{"bytesInOutput":803},"../../node_modules/media-chrome/dist/media-cast-button.js":{"bytesInOutput":2324},"../../node_modules/media-chrome/dist/utils/element-utils.js":{"bytesInOutput":652},"../../node_modules/media-chrome/dist/media-gesture-receiver.js":{"bytesInOutput":2192},"../../node_modules/media-chrome/dist/media-container.js":{"bytesInOutput":6077},"../../node_modules/media-chrome/dist/utils/attribute-token-list.js":{"bytesInOutput":1518},"../../node_modules/media-chrome/dist/utils/fullscreenApi.js":{"bytesInOutput":455},"../../node_modules/media-chrome/dist/utils/stringUtils.js":{"bytesInOutput":145},"../../node_modules/media-chrome/dist/utils/captions.js":{"bytesInOutput":1905},"../../node_modules/media-chrome/dist/media-controller.js":{"bytesInOutput":16581},"../../node_modules/media-chrome/dist/media-chrome-range.js":{"bytesInOutput":7335},"../../node_modules/media-chrome/dist/media-control-bar.js":{"bytesInOutput":1232},"../../node_modules/media-chrome/dist/media-text-display.js":{"bytesInOutput":1727},"../../node_modules/media-chrome/dist/media-current-time-display.js":{"bytesInOutput":280},"../../node_modules/media-chrome/dist/media-duration-display.js":{"bytesInOutput":268},"../../node_modules/media-chrome/dist/media-time-display.js":{"bytesInOutput":1867},"../../node_modules/media-chrome/dist/media-captions-button.js":{"bytesInOutput":3952},"../../node_modules/media-chrome/dist/media-seek-forward-button.js":{"bytesInOutput":1338},"../../node_modules/media-chrome/dist/media-fullscreen-button.js":{"bytesInOutput":1562},"../../node_modules/media-chrome/dist/media-mute-button.js":{"bytesInOutput":2419},"../../node_modules/media-chrome/dist/media-pip-button.js":{"bytesInOutput":1291},"../../node_modules/media-chrome/dist/media-play-button.js":{"bytesInOutput":1241},"../../node_modules/media-chrome/dist/media-playback-rate-button.js":{"bytesInOutput":1090},"../../node_modules/media-chrome/dist/media-poster-image.js":{"bytesInOutput":1332},"../../node_modules/media-chrome/dist/media-time-range.js":{"bytesInOutput":9401},"../../node_modules/media-chrome/dist/media-progress-range.js":{"bytesInOutput":177},"../../node_modules/media-chrome/dist/media-seek-backward-button.js":{"bytesInOutput":1339},"../../node_modules/media-chrome/dist/media-preview-time-display.js":{"bytesInOutput":291},"../../node_modules/media-chrome/dist/media-preview-thumbnail.js":{"bytesInOutput":2116},"../../node_modules/media-chrome/dist/media-loading-indicator.js":{"bytesInOutput":2667},"../../node_modules/media-chrome/dist/media-title-element.js":{"bytesInOutput":279},"../../node_modules/media-chrome/dist/media-volume-range.js":{"bytesInOutput":921},"../../node_modules/media-chrome/dist/themes/media-theme.js":{"bytesInOutput":579},"../../node_modules/media-chrome/dist/index.js":{"bytesInOutput":332},"../playback-core/dist/index.mjs":{"bytesInOutput":9384},"../mux-video/dist/index.mjs":{"bytesInOutput":21067},"lang/en.json":{"bytesInOutput":25},"src/utils.ts":{"bytesInOutput":1145},"src/helpers.ts":{"bytesInOutput":2342},"src/logger.ts":{"bytesInOutput":282},"src/video-api.ts":{"bytesInOutput":4497},"../../node_modules/@github/template-parts/lib/template-string-parser.js":{"bytesInOutput":538},"../../node_modules/@github/template-parts/lib/attribute-template-part.js":{"bytesInOutput":1075},"../../node_modules/@github/template-parts/lib/node-template-part.js":{"bytesInOutput":500},"../../node_modules/@github/template-parts/lib/processors.js":{"bytesInOutput":393},"../../node_modules/@github/template-parts/lib/template-instance.js":{"bytesInOutput":1120},"../../node_modules/@github/template-parts/lib/index.js":{"bytesInOutput":0},"src/html.ts":{"bytesInOutput":2673},"src/media-chrome/time-display.ts":{"bytesInOutput":2232},"src/media-theme-mux/styles.css":{"bytesInOutput":5338},"src/media-theme-mux/icons/airplay.svg":{"bytesInOutput":325},"src/media-theme-mux/icons/captions-off.svg":{"bytesInOutput":1793},"src/media-theme-mux/icons/captions-on.svg":{"bytesInOutput":1428},"src/media-theme-mux/icons/cast-enter.svg":{"bytesInOutput":394},"src/media-theme-mux/icons/cast-exit.svg":{"bytesInOutput":468},"src/media-theme-mux/icons/fullscreen-enter.svg":{"bytesInOutput":529},"src/media-theme-mux/icons/fullscreen-exit.svg":{"bytesInOutput":428},"src/media-theme-mux/icons/pause.svg":{"bytesInOutput":262},"src/media-theme-mux/icons/pip-enter.svg":{"bytesInOutput":269},"src/media-theme-mux/icons/pip-exit.svg":{"bytesInOutput":268},"src/media-theme-mux/icons/play.svg":{"bytesInOutput":186},"src/media-theme-mux/icons/seek-backward.svg":{"bytesInOutput":317},"src/media-theme-mux/icons/seek-forward.svg":{"bytesInOutput":315},"src/media-theme-mux/icons/volume-high.svg":{"bytesInOutput":446},"src/media-theme-mux/icons/volume-low.svg":{"bytesInOutput":340},"src/media-theme-mux/icons/volume-medium.svg":{"bytesInOutput":343},"src/media-theme-mux/icons/volume-off.svg":{"bytesInOutput":747},"src/media-theme-mux/icons.ts":{"bytesInOutput":244},"src/media-theme-mux/media-theme-mux.ts":{"bytesInOutput":9910},"src/media-chrome/dialog.ts":{"bytesInOutput":3817},"src/dialog.ts":{"bytesInOutput":972},"src/styles.css":{"bytesInOutput":6136},"src/template.ts":{"bytesInOutput":4425},"src/errors.ts":{"bytesInOutput":3079},"src/index.ts":{"bytesInOutput":15894}},"bytes":674430}}}
|