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AAA,aAAA9H,MAIA,SAAWsL,GACT,IAAM6L,EAAWtO,EAAK6N,GAAL9M,MAAiBuN,SAElC,OADIA,GAAU7L,EAAS6L,GAChBtO,EAAK6N,GAAL9M,MAAiBsO,WAAW5M,EACrC,GAAC,CAAAxD,IAAA,UAAA9H,MACD,WACE6I,EAAK6N,GAAL9M,MAAiB6D,SACnB,KAtBC,IAAAgK,CAsBA,CApFc,CAASU,EAAAA,IAAahQ,EAAjCyO,GAAW,aAmBIwB,EAAAA,EAAAA,M","sources":["webpack://pcloud-js/./node_modules/@vidstack/react/prod/chunks/vidstack-Dj0oEz46.js"],"sourcesContent":["\"use client\"\n\nimport { peek, listenEvent, effect, DOMEvent, isString, camelToKebabCase, isUndefined, isFunction } from './vidstack-CNjv_Zem.js';\nimport { QualitySymbol, RAFLoop, TextTrack, TextTrackSymbol, ListSymbol, IS_CHROME, coerceToError, loadScript, VideoProvider, isHLSSupported, preconnect } from './vidstack-WyKbSRm0.js';\nimport 'react';\nimport '@floating-ui/dom';\n\nconst toDOMEventType = (type) => camelToKebabCase(type);\nclass HLSController {\n #video;\n #ctx;\n #instance = null;\n #stopLiveSync = null;\n config = {};\n #callbacks = /* @__PURE__ */ new Set();\n get instance() {\n return this.#instance;\n }\n constructor(video, ctx) {\n this.#video = video;\n this.#ctx = ctx;\n }\n setup(ctor) {\n const { streamType } = this.#ctx.$state;\n const isLive = peek(streamType).includes(\"live\"), isLiveLowLatency = peek(streamType).includes(\"ll-\");\n this.#instance = new ctor({\n lowLatencyMode: isLiveLowLatency,\n backBufferLength: isLiveLowLatency ? 4 : isLive ? 8 : void 0,\n renderTextTracksNatively: false,\n ...this.config\n });\n const dispatcher = this.#dispatchHLSEvent.bind(this);\n for (const event of Object.values(ctor.Events)) this.#instance.on(event, dispatcher);\n this.#instance.on(ctor.Events.ERROR, this.#onError.bind(this));\n for (const callback of this.#callbacks) callback(this.#instance);\n this.#ctx.player.dispatch(\"hls-instance\", {\n detail: this.#instance\n });\n this.#instance.attachMedia(this.#video);\n this.#instance.on(ctor.Events.AUDIO_TRACK_SWITCHED, this.#onAudioSwitch.bind(this));\n this.#instance.on(ctor.Events.LEVEL_SWITCHED, this.#onLevelSwitched.bind(this));\n this.#instance.on(ctor.Events.LEVEL_LOADED, this.#onLevelLoaded.bind(this));\n this.#instance.on(ctor.Events.LEVEL_UPDATED, this.#onLevelUpdated.bind(this));\n this.#instance.on(ctor.Events.NON_NATIVE_TEXT_TRACKS_FOUND, this.#onTracksFound.bind(this));\n this.#instance.on(ctor.Events.CUES_PARSED, this.#onCuesParsed.bind(this));\n this.#ctx.qualities[QualitySymbol.enableAuto] = this.#enableAutoQuality.bind(this);\n listenEvent(this.#ctx.qualities, \"change\", this.#onUserQualityChange.bind(this));\n listenEvent(this.#ctx.audioTracks, \"change\", this.#onUserAudioChange.bind(this));\n this.#stopLiveSync = effect(this.#liveSync.bind(this));\n }\n #createDOMEvent(type, data) {\n return new DOMEvent(toDOMEventType(type), { detail: data });\n }\n #liveSync() {\n if (!this.#ctx.$state.live()) return;\n const raf = new RAFLoop(this.#liveSyncPosition.bind(this));\n raf.start();\n return raf.stop.bind(raf);\n }\n #liveSyncPosition() {\n this.#ctx.$state.liveSyncPosition.set(this.#instance?.liveSyncPosition ?? Infinity);\n }\n #dispatchHLSEvent(type, data) {\n this.#ctx.player?.dispatch(this.#createDOMEvent(type, data));\n }\n #onTracksFound(eventType, data) {\n const event = this.#createDOMEvent(eventType, data);\n let currentTrack = -1;\n for (let i = 0; i < data.tracks.length; i++) {\n const nonNativeTrack = data.tracks[i], init = nonNativeTrack.subtitleTrack ?? nonNativeTrack.closedCaptions, track = new TextTrack({\n id: `hls-${nonNativeTrack.kind}-${i}`,\n src: init?.url,\n label: nonNativeTrack.label,\n language: init?.lang,\n kind: nonNativeTrack.kind,\n default: nonNativeTrack.default\n });\n track[TextTrackSymbol.readyState] = 2;\n track[TextTrackSymbol.onModeChange] = () => {\n if (track.mode === \"showing\") {\n this.#instance.subtitleTrack = i;\n currentTrack = i;\n } else if (currentTrack === i) {\n this.#instance.subtitleTrack = -1;\n currentTrack = -1;\n }\n };\n this.#ctx.textTracks.add(track, event);\n }\n }\n #onCuesParsed(eventType, data) {\n const index = this.#instance?.subtitleTrack, track = this.#ctx.textTracks.getById(`hls-${data.type}-${index}`);\n if (!track) return;\n const event = this.#createDOMEvent(eventType, data);\n for (const cue of data.cues) {\n cue.positionAlign = \"auto\";\n track.addCue(cue, event);\n }\n }\n #onAudioSwitch(eventType, data) {\n const track = this.#ctx.audioTracks[data.id];\n if (track) {\n const trigger = this.#createDOMEvent(eventType, data);\n this.#ctx.audioTracks[ListSymbol.select](track, true, trigger);\n }\n }\n #onLevelSwitched(eventType, data) {\n const quality = this.#ctx.qualities[data.level];\n if (quality) {\n const trigger = this.#createDOMEvent(eventType, data);\n this.#ctx.qualities[ListSymbol.select](quality, true, trigger);\n }\n }\n #onLevelUpdated(eventType, data) {\n if (data.details.totalduration > 0) {\n this.#ctx.$state.inferredLiveDVRWindow.set(data.details.totalduration);\n }\n }\n #onLevelLoaded(eventType, data) {\n if (this.#ctx.$state.canPlay()) return;\n const { type, live, totalduration: duration, targetduration } = data.details, trigger = this.#createDOMEvent(eventType, data);\n this.#ctx.notify(\n \"stream-type-change\",\n live ? type === \"EVENT\" && Number.isFinite(duration) && targetduration >= 10 ? \"live:dvr\" : \"live\" : \"on-demand\",\n trigger\n );\n this.#ctx.notify(\"duration-change\", duration, trigger);\n const media = this.#instance.media;\n if (this.#instance.currentLevel === -1) {\n this.#ctx.qualities[QualitySymbol.setAuto](true, trigger);\n }\n for (const remoteTrack of this.#instance.audioTracks) {\n const localTrack = {\n id: remoteTrack.id.toString(),\n label: remoteTrack.name,\n language: remoteTrack.lang || \"\",\n kind: \"main\"\n };\n this.#ctx.audioTracks[ListSymbol.add](localTrack, trigger);\n }\n for (const level of this.#instance.levels) {\n const videoQuality = {\n id: level.id?.toString() ?? level.height + \"p\",\n width: level.width,\n height: level.height,\n codec: level.codecSet,\n bitrate: level.bitrate\n };\n this.#ctx.qualities[ListSymbol.add](videoQuality, trigger);\n }\n media.dispatchEvent(new DOMEvent(\"canplay\", { trigger }));\n }\n #onError(eventType, data) {\n if (data.fatal) {\n switch (data.type) {\n case \"mediaError\":\n this.#instance?.recoverMediaError();\n break;\n default:\n this.#onFatalError(data.error);\n break;\n }\n }\n }\n #onFatalError(error) {\n this.#ctx.notify(\"error\", {\n message: error.message,\n code: 1,\n error\n });\n }\n #enableAutoQuality() {\n if (this.#instance) this.#instance.currentLevel = -1;\n }\n #onUserQualityChange() {\n const { qualities } = this.#ctx;\n if (!this.#instance || qualities.auto) return;\n this.#instance[qualities.switch + \"Level\"] = qualities.selectedIndex;\n if (IS_CHROME) {\n this.#video.currentTime = this.#video.currentTime;\n }\n }\n #onUserAudioChange() {\n const { audioTracks } = this.#ctx;\n if (this.#instance && this.#instance.audioTrack !== audioTracks.selectedIndex) {\n this.#instance.audioTrack = audioTracks.selectedIndex;\n }\n }\n onInstance(callback) {\n this.#callbacks.add(callback);\n return () => this.#callbacks.delete(callback);\n }\n loadSource(src) {\n if (!isString(src.src)) return;\n this.#instance?.loadSource(src.src);\n }\n destroy() {\n this.#instance?.destroy();\n this.#instance = null;\n this.#stopLiveSync?.();\n this.#stopLiveSync = null;\n }\n}\n\nclass HLSLibLoader {\n #lib;\n #ctx;\n #callback;\n constructor(lib, ctx, callback) {\n this.#lib = lib;\n this.#ctx = ctx;\n this.#callback = callback;\n this.#startLoading();\n }\n async #startLoading() {\n const callbacks = {\n onLoadStart: this.#onLoadStart.bind(this),\n onLoaded: this.#onLoaded.bind(this),\n onLoadError: this.#onLoadError.bind(this)\n };\n let ctor = await loadHLSScript(this.#lib, callbacks);\n if (isUndefined(ctor) && !isString(this.#lib)) ctor = await importHLS(this.#lib, callbacks);\n if (!ctor) return null;\n if (!ctor.isSupported()) {\n const message = \"[vidstack] `hls.js` is not supported in this environment\";\n this.#ctx.player.dispatch(new DOMEvent(\"hls-unsupported\"));\n this.#ctx.notify(\"error\", { message, code: 4 });\n return null;\n }\n return ctor;\n }\n #onLoadStart() {\n this.#ctx.player.dispatch(new DOMEvent(\"hls-lib-load-start\"));\n }\n #onLoaded(ctor) {\n this.#ctx.player.dispatch(\n new DOMEvent(\"hls-lib-loaded\", {\n detail: ctor\n })\n );\n this.#callback(ctor);\n }\n #onLoadError(e) {\n const error = coerceToError(e);\n this.#ctx.player.dispatch(\n new DOMEvent(\"hls-lib-load-error\", {\n detail: error\n })\n );\n this.#ctx.notify(\"error\", {\n message: error.message,\n code: 4,\n error\n });\n }\n}\nasync function importHLS(loader, callbacks = {}) {\n if (isUndefined(loader)) return void 0;\n callbacks.onLoadStart?.();\n if (loader.prototype && loader.prototype !== Function) {\n callbacks.onLoaded?.(loader);\n return loader;\n }\n try {\n const ctor = (await loader())?.default;\n if (ctor && !!ctor.isSupported) {\n callbacks.onLoaded?.(ctor);\n } else {\n throw Error(\n false ? \"[vidstack] failed importing `hls.js`. Dynamic import returned invalid constructor.\" : \"\"\n );\n }\n return ctor;\n } catch (err) {\n callbacks.onLoadError?.(err);\n }\n return void 0;\n}\nasync function loadHLSScript(src, callbacks = {}) {\n if (!isString(src)) return void 0;\n callbacks.onLoadStart?.();\n try {\n await loadScript(src);\n if (!isFunction(window.Hls)) {\n throw Error(\n false ? \"[vidstack] failed loading `hls.js`. Could not find a valid `Hls` constructor on window\" : \"\"\n );\n }\n const ctor = window.Hls;\n callbacks.onLoaded?.(ctor);\n return ctor;\n } catch (err) {\n callbacks.onLoadError?.(err);\n }\n return void 0;\n}\n\nconst JS_DELIVR_CDN = \"https://cdn.jsdelivr.net\";\nclass HLSProvider extends VideoProvider {\n $$PROVIDER_TYPE = \"HLS\";\n #ctor = null;\n #controller = new HLSController(this.video, this.ctx);\n /**\n * The `hls.js` constructor.\n */\n get ctor() {\n return this.#ctor;\n }\n /**\n * The current `hls.js` instance.\n */\n get instance() {\n return this.#controller.instance;\n }\n /**\n * Whether `hls.js` is supported in this environment.\n */\n static supported = isHLSSupported();\n get type() {\n return \"hls\";\n }\n get canLiveSync() {\n return true;\n }\n #library = `${JS_DELIVR_CDN}/npm/hls.js@^1.5.0/dist/hls${\".min.js\"}`;\n /**\n * The `hls.js` configuration object.\n *\n * @see {@link https://github.com/video-dev/hls.js/blob/master/docs/API.md#fine-tuning}\n */\n get config() {\n return this.#controller.config;\n }\n set config(config) {\n this.#controller.config = config;\n }\n /**\n * The `hls.js` constructor (supports dynamic imports) or a URL of where it can be found.\n *\n * @defaultValue `https://cdn.jsdelivr.net/npm/hls.js@^1.0.0/dist/hls.min.js`\n */\n get library() {\n return this.#library;\n }\n set library(library) {\n this.#library = library;\n }\n preconnect() {\n if (!isString(this.#library)) return;\n preconnect(this.#library);\n }\n setup() {\n super.setup();\n new HLSLibLoader(this.#library, this.ctx, (ctor) => {\n this.#ctor = ctor;\n this.#controller.setup(ctor);\n this.ctx.notify(\"provider-setup\", this);\n const src = peek(this.ctx.$state.source);\n if (src) this.loadSource(src);\n });\n }\n async loadSource(src, preload) {\n if (!isString(src.src)) {\n this.removeSource();\n return;\n }\n this.media.preload = preload || \"\";\n this.appendSource(src, \"application/x-mpegurl\");\n this.#controller.loadSource(src);\n this.currentSrc = src;\n }\n /**\n * The given callback is invoked when a new `hls.js` instance is created and right before it's\n * attached to media.\n */\n onInstance(callback) {\n const instance = this.#controller.instance;\n if (instance) callback(instance);\n return this.#controller.onInstance(callback);\n }\n destroy() {\n this.#controller.destroy();\n }\n}\n\nexport { HLSProvider };\n"],"names":["_typeof","o","Symbol","iterator","constructor","prototype","_regeneratorRuntime","e","t","r","Object","n","hasOwnProperty","defineProperty","value","i","a","c","asyncIterator","u","toStringTag","define","enumerable","configurable","writable","wrap","Generator","create","Context","makeInvokeMethod","tryCatch","type","arg","call","h","l","f","s","y","GeneratorFunction","GeneratorFunctionPrototype","p","d","getPrototypeOf","v","values","g","defineIteratorMethods","forEach","_invoke","AsyncIterator","invoke","resolve","__await","then","callInvokeWithMethodAndArg","Error","done","method","delegate","maybeInvokeDelegate","sent","_sent","dispatchException","abrupt","TypeError","resultName","next","nextLoc","pushTryEntry","tryLoc","catchLoc","finallyLoc","afterLoc","tryEntries","push","resetTryEntry","completion","reset","isNaN","length","displayName","isGeneratorFunction","name","mark","setPrototypeOf","__proto__","awrap","async","Promise","keys","reverse","pop","prev","charAt","slice","stop","rval","handle","complete","finish","delegateYield","_callSuper","_getPrototypeOf","ReferenceError","_assertThisInitialized","_possibleConstructorReturn","_isNativeReflectConstruct","Reflect","construct","apply","Boolean","valueOf","_get","get","bind","_superPropBase","getOwnPropertyDescriptor","arguments","_setPrototypeOf","asyncGeneratorStep","_asyncToGenerator","_next","_throw","_createForOfIteratorHelper","Array","isArray","_arrayLikeToArray","toString","from","test","_unsupportedIterableToArray","_n","F","ownKeys","getOwnPropertySymbols","filter","_classCallCheck","_defineProperties","_toPropertyKey","key","_createClass","_classPrivateMethodInitSpec","_checkPrivateRedeclaration","add","_defineProperty","toPrimitive","String","Number","_toPrimitive","_classPrivateFieldInitSpec","set","has","_classPrivateFieldSet","_assertClassBrand","_classPrivateFieldGet","toDOMEventType","camelToKebabCase","_video","WeakMap","_ctx","_instance","_stopLiveSync","_callbacks","_HLSController_brand","WeakSet","HLSController","video","ctx","Set","this","ctor","streamType","$state","isLive","peek","includes","isLiveLowLatency","getOwnPropertyDescriptors","defineProperties","_objectSpread","lowLatencyMode","backBufferLength","renderTextTracksNatively","config","dispatcher","_dispatchHLSEvent","_i","_Object$values","Events","event","on","ERROR","_onError","_step","_iterator","callback","err","player","dispatch","detail","attachMedia","AUDIO_TRACK_SWITCHED","_onAudioSwitch","LEVEL_SWITCHED","_onLevelSwitched","LEVEL_LOADED","_onLevelLoaded","LEVEL_UPDATED","_onLevelUpdated","NON_NATIVE_TEXT_TRACKS_FOUND","_onTracksFound","CUES_PARSED","_onCuesParsed","qualities","QualitySymbol","enableAuto","_enableAutoQuality","listenEvent","_onUserQualityChange","audioTracks","_onUserAudioChange","effect","_liveSync","_this","src","_classPrivateFieldGet2","isString","loadSource","_classPrivateFieldGet3","_classPrivateFieldGet4","destroy","_createDOMEvent","data","DOMEvent","live","raf","RAFLoop","_liveSyncPosition","start","_classPrivateFieldGet5","_classPrivateFieldGet6","liveSyncPosition","Infinity","_classPrivateFieldGet7","eventType","_this4","currentTrack","_loop","_nonNativeTrack$subti","nonNativeTrack","tracks","init","subtitleTrack","closedCaptions","track","TextTrack","id","concat","kind","url","label","language","lang","default","TextTrackSymbol","readyState","onModeChange","mode","textTracks","_classPrivateFieldGet8","index","getById","_step2","_iterator2","cues","cue","positionAlign","addCue","trigger","ListSymbol","select","quality","level","details","totalduration","inferredLiveDVRWindow","canPlay","_data$details","duration","targetduration","notify","isFinite","media","currentLevel","setAuto","_step3","_iterator3","remoteTrack","localTrack","_step4","_iterator4","levels","_level$id$toString","_level$id","videoQuality","height","width","codec","codecSet","bitrate","dispatchEvent","_classPrivateFieldGet9","fatal","recoverMediaError","_onFatalError","error","message","code","auto","selectedIndex","IS_CHROME","currentTime","audioTrack","_lib","_ctx2","_callback","_HLSLibLoader_brand","HLSLibLoader","lib","_startLoading","_startLoading2","_callee4","callbacks","_context4","onLoadStart","_onLoadStart","onLoaded","_onLoaded","onLoadError","_onLoadError","loadHLSScript","isUndefined","importHLS","isSupported","coerceToError","_x","_importHLS","_callee2","loader","_callbacks$onLoadStar","_callbacks$onLoaded","_yield$loader","_callbacks$onLoaded2","_callbacks$onLoadErro","_args2","_context2","undefined","Function","t1","t0","t2","t3","_x2","_loadHLSScript","_callee3","_callbacks$onLoadStar2","_callbacks$onLoaded3","_callbacks$onLoadErro2","_args3","_context3","loadScript","isFunction","window","Hls","_ctor","_controller","_library","HLSProvider","_VideoProvider","_this2","_len","args","_key","_inherits","instance","library","preconnect","_this3","setup","source","_loadSource","_callee","preload","_context","removeSource","appendSource","currentSrc","_x3","_x4","onInstance","VideoProvider","isHLSSupported"],"sourceRoot":""}