@hopeplayer/core 1.1.0 → 1.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/HopePlayerElement.d.ts +4 -0
- package/dist/HopePlayerElement.d.ts.map +1 -1
- package/dist/chunks/accessibility-CehDBG3h.js +380 -0
- package/dist/chunks/accessibility-CehDBG3h.js.map +1 -0
- package/dist/chunks/{ads-BZYADoen.js → ads-KH9oCkc0.js} +2 -2
- package/dist/chunks/{ads-BZYADoen.js.map → ads-KH9oCkc0.js.map} +1 -1
- package/dist/chunks/{cast-BGgfNj37.js → cast-CdzZu2dW.js} +2 -2
- package/dist/chunks/{cast-BGgfNj37.js.map → cast-CdzZu2dW.js.map} +1 -1
- package/dist/chunks/history-DqPUjPvi.js +144 -0
- package/dist/chunks/history-DqPUjPvi.js.map +1 -0
- package/dist/chunks/{markers-u2bpLu30.js → markers-DO9EWMbY.js} +2 -2
- package/dist/chunks/{markers-u2bpLu30.js.map → markers-DO9EWMbY.js.map} +1 -1
- package/dist/chunks/{player-B_e_Nnvb.js → player-CP2Wu92g.js} +461 -321
- package/dist/chunks/player-CP2Wu92g.js.map +1 -0
- package/dist/chunks/{playlist-ClnEXcRy.js → playlist-Bn7dNo1J.js} +2 -2
- package/dist/chunks/{playlist-ClnEXcRy.js.map → playlist-Bn7dNo1J.js.map} +1 -1
- package/dist/chunks/{redirectScreen-DZwpVYWk.js → redirectScreen-DjaFCzlz.js} +2 -2
- package/dist/chunks/{redirectScreen-DZwpVYWk.js.map → redirectScreen-DjaFCzlz.js.map} +1 -1
- package/dist/chunks/{rewardedUnlock-DoRVfTlV.js → rewardedUnlock-dyhvvClS.js} +2 -2
- package/dist/chunks/{rewardedUnlock-DoRVfTlV.js.map → rewardedUnlock-dyhvvClS.js.map} +1 -1
- package/dist/chunks/{segments-DERcwNUG.js → segments-BbEd55qs.js} +2 -2
- package/dist/chunks/{segments-DERcwNUG.js.map → segments-BbEd55qs.js.map} +1 -1
- package/dist/chunks/{skipSegments-XjblXCGo.js → skipSegments-B3Yt8Tbj.js} +2 -2
- package/dist/chunks/{skipSegments-XjblXCGo.js.map → skipSegments-B3Yt8Tbj.js.map} +1 -1
- package/dist/chunks/{spriteThumbnails-y_JaE9LE.js → spriteThumbnails-DfxQcAuZ.js} +2 -2
- package/dist/chunks/{spriteThumbnails-y_JaE9LE.js.map → spriteThumbnails-DfxQcAuZ.js.map} +1 -1
- package/dist/chunks/{story-UpOGg7Ch.js → story-9l716qFL.js} +2 -2
- package/dist/chunks/{story-UpOGg7Ch.js.map → story-9l716qFL.js.map} +1 -1
- package/dist/controls/SettingsMenu.d.ts +19 -5
- package/dist/controls/SettingsMenu.d.ts.map +1 -1
- package/dist/hope-player.js +1 -1
- package/dist/i18n/locales/en.d.ts.map +1 -1
- package/dist/i18n/locales/tr.d.ts.map +1 -1
- package/dist/i18n/types.d.ts +34 -0
- package/dist/i18n/types.d.ts.map +1 -1
- package/dist/plugins/accessibility/Accessibility.d.ts +75 -0
- package/dist/plugins/accessibility/Accessibility.d.ts.map +1 -0
- package/dist/plugins/accessibility/colorBlind.d.ts +6 -0
- package/dist/plugins/accessibility/colorBlind.d.ts.map +1 -0
- package/dist/plugins/accessibility/index.d.ts +6 -0
- package/dist/plugins/accessibility/index.d.ts.map +1 -0
- package/dist/plugins/history/PlaybackHistory.d.ts +51 -0
- package/dist/plugins/history/PlaybackHistory.d.ts.map +1 -0
- package/dist/plugins/history/index.d.ts +6 -0
- package/dist/plugins/history/index.d.ts.map +1 -0
- package/dist/types/index.d.ts +75 -0
- package/dist/types/index.d.ts.map +1 -1
- package/package.json +1 -1
- package/dist/chunks/player-B_e_Nnvb.js.map +0 -1
|
@@ -1,28 +1,28 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
3
|
-
var s = (n, t, e) =>
|
|
4
|
-
const Ne = '/*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-border-style:solid;--tw-gradient-position:initial;--tw-gradient-from:#0000;--tw-gradient-via:#0000;--tw-gradient-to:#0000;--tw-gradient-stops:initial;--tw-gradient-via-stops:initial;--tw-gradient-from-position:0%;--tw-gradient-via-position:50%;--tw-gradient-to-position:100%;--tw-leading:initial;--tw-font-weight:initial;--tw-ordinal:initial;--tw-slashed-zero:initial;--tw-numeric-figure:initial;--tw-numeric-spacing:initial;--tw-numeric-fraction:initial;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--tw-blur:initial;--tw-brightness:initial;--tw-contrast:initial;--tw-grayscale:initial;--tw-hue-rotate:initial;--tw-invert:initial;--tw-opacity:initial;--tw-saturate:initial;--tw-sepia:initial;--tw-drop-shadow:initial;--tw-drop-shadow-color:initial;--tw-drop-shadow-alpha:100%;--tw-drop-shadow-size:initial;--tw-duration:initial}}}@layer theme{:root,:host{--hp-font-sans:-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";--hp-font-mono:ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;--hp-color-black:#000;--hp-color-white:#fff;--hp-spacing:.25rem;--hp-container-xs:20rem;--hp-text-xs:.75rem;--hp-text-xs--line-height:calc(1 / .75);--hp-text-sm:.875rem;--hp-text-sm--line-height:calc(1.25 / .875);--hp-text-base:1rem;--hp-text-base--line-height: 1.5 ;--hp-text-lg:1.125rem;--hp-text-lg--line-height:calc(1.75 / 1.125);--hp-text-xl:1.25rem;--hp-text-xl--line-height:calc(1.75 / 1.25);--hp-text-2xl:1.5rem;--hp-text-2xl--line-height:calc(2 / 1.5);--hp-font-weight-medium:500;--hp-font-weight-semibold:600;--hp-radius-lg:.5rem;--hp-animate-spin:spin 1s linear infinite;--hp-aspect-video:16 / 9;--hp-default-transition-duration:.15s;--hp-default-transition-timing-function:cubic-bezier(.4, 0, .2, 1);--hp-default-font-family:var(--hp-font-sans);--hp-default-mono-font-family:var(--hp-font-mono);--hp-color-accent:#fff;--hp-color-on-accent:#0a0a0a;--hp-color-surface:#0a0a0a;--hp-color-surface-elev:#1a1a1a;--hp-color-on-surface:#fff;--hp-color-on-surface-muted:#a3a3a3}}@layer base{*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;-moz-tab-size:4;tab-size:4;line-height:1.5;font-family:var(--hp-default-font-family,-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");font-feature-settings:var(--hp-default-font-feature-settings,normal);font-variation-settings:var(--hp-default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--hp-default-mono-font-family,ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);font-feature-settings:var(--hp-default-mono-font-feature-settings,normal);font-variation-settings:var(--hp-default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring:where(:not(iframe)){outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab,red,red)){::placeholder{color:color-mix(in oklab,currentcolor 50%,transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){-webkit-appearance:button;-moz-appearance:button;appearance:button}::file-selector-button{-webkit-appearance:button;-moz-appearance:button;appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}@layer components;@layer utilities{.hp\\:pointer-events-auto{pointer-events:auto}.hp\\:pointer-events-none{pointer-events:none}.hp\\:absolute{position:absolute}.hp\\:relative{position:relative}.hp\\:sticky{position:sticky}.hp\\:inset-0{top:0;right:0;bottom:0;left:0}.hp\\:inset-x-0{inset-inline:0}.hp\\:inset-y-0{inset-block:0}.hp\\:top-0{top:0}.hp\\:top-1{top:var(--hp-spacing)}.hp\\:top-1\\/2{top:50%}.hp\\:right-0{right:0}.hp\\:right-1{right:var(--hp-spacing)}.hp\\:right-2{right:calc(var(--hp-spacing) * 2)}.hp\\:bottom-0{bottom:0}.hp\\:bottom-full{bottom:100%}.hp\\:left-1\\/2{left:50%}.hp\\:z-10{z-index:10}.hp\\:z-20{z-index:20}.hp\\:z-30{z-index:30}.hp\\:z-40{z-index:40}.hp\\:m-0{margin:0}.hp\\:my-1{margin-block:var(--hp-spacing)}.hp\\:mt-0\\.5{margin-top:calc(var(--hp-spacing) * .5)}.hp\\:mt-1{margin-top:var(--hp-spacing)}.hp\\:mt-2{margin-top:calc(var(--hp-spacing) * 2)}.hp\\:mt-8{margin-top:calc(var(--hp-spacing) * 8)}.hp\\:mb-1{margin-bottom:var(--hp-spacing)}.hp\\:mb-2{margin-bottom:calc(var(--hp-spacing) * 2)}.hp\\:mb-16{margin-bottom:calc(var(--hp-spacing) * 16)}.hp\\:ml-1{margin-left:var(--hp-spacing)}.hp\\:block{display:block}.hp\\:flex{display:flex}.hp\\:hidden{display:none}.hp\\:inline-block{display:inline-block}.hp\\:aspect-\\[9\\/16\\]{aspect-ratio:9/16}.hp\\:aspect-video{aspect-ratio:var(--hp-aspect-video)}.hp\\:h-0\\.5{height:calc(var(--hp-spacing) * .5)}.hp\\:h-1{height:var(--hp-spacing)}.hp\\:h-1\\/3{height:33.3333%}.hp\\:h-3{height:calc(var(--hp-spacing) * 3)}.hp\\:h-6{height:calc(var(--hp-spacing) * 6)}.hp\\:h-7{height:calc(var(--hp-spacing) * 7)}.hp\\:h-8{height:calc(var(--hp-spacing) * 8)}.hp\\:h-9{height:calc(var(--hp-spacing) * 9)}.hp\\:h-10{height:calc(var(--hp-spacing) * 10)}.hp\\:h-16{height:calc(var(--hp-spacing) * 16)}.hp\\:h-20{height:calc(var(--hp-spacing) * 20)}.hp\\:h-\\[var\\(--hp-ctrl-btn-size\\)\\]{height:var(--hp-ctrl-btn-size)}.hp\\:h-\\[var\\(--hp-seek-hit-h\\)\\]{height:var(--hp-seek-hit-h)}.hp\\:h-\\[var\\(--hp-seek-track-h\\)\\]{height:var(--hp-seek-track-h)}.hp\\:h-full{height:100%}.hp\\:max-h-64{max-height:calc(var(--hp-spacing) * 64)}.hp\\:max-h-80{max-height:calc(var(--hp-spacing) * 80)}.hp\\:w-0{width:0}.hp\\:w-0\\.5{width:calc(var(--hp-spacing) * .5)}.hp\\:w-1{width:var(--hp-spacing)}.hp\\:w-1\\.5{width:calc(var(--hp-spacing) * 1.5)}.hp\\:w-3{width:calc(var(--hp-spacing) * 3)}.hp\\:w-6{width:calc(var(--hp-spacing) * 6)}.hp\\:w-7{width:calc(var(--hp-spacing) * 7)}.hp\\:w-8{width:calc(var(--hp-spacing) * 8)}.hp\\:w-9{width:calc(var(--hp-spacing) * 9)}.hp\\:w-10{width:calc(var(--hp-spacing) * 10)}.hp\\:w-14{width:calc(var(--hp-spacing) * 14)}.hp\\:w-16{width:calc(var(--hp-spacing) * 16)}.hp\\:w-48{width:calc(var(--hp-spacing) * 48)}.hp\\:w-72{width:calc(var(--hp-spacing) * 72)}.hp\\:w-\\[var\\(--hp-ctrl-btn-size\\)\\]{width:var(--hp-ctrl-btn-size)}.hp\\:w-full{width:100%}.hp\\:max-w-\\[80\\%\\]{max-width:80%}.hp\\:max-w-\\[85\\%\\]{max-width:85%}.hp\\:max-w-full{max-width:100%}.hp\\:max-w-xs{max-width:var(--hp-container-xs)}.hp\\:min-w-0{min-width:0}.hp\\:flex-1{flex:1}.hp\\:flex-shrink-0,.hp\\:shrink-0{flex-shrink:0}.hp\\:animate-spin{animation:var(--hp-animate-spin)}.hp\\:cursor-pointer{cursor:pointer}.hp\\:touch-none{touch-action:none}.hp\\:list-none{list-style-type:none}.hp\\:flex-col{flex-direction:column}.hp\\:flex-wrap{flex-wrap:wrap}.hp\\:items-center{align-items:center}.hp\\:items-end{align-items:flex-end}.hp\\:justify-between{justify-content:space-between}.hp\\:justify-center{justify-content:center}.hp\\:gap-0\\.5{gap:calc(var(--hp-spacing) * .5)}.hp\\:gap-1{gap:var(--hp-spacing)}.hp\\:gap-1\\.5{gap:calc(var(--hp-spacing) * 1.5)}.hp\\:gap-2{gap:calc(var(--hp-spacing) * 2)}.hp\\:gap-3{gap:calc(var(--hp-spacing) * 3)}.hp\\:self-end{align-self:flex-end}.hp\\:truncate{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.hp\\:overflow-hidden{overflow:hidden}.hp\\:overflow-y-auto{overflow-y:auto}.hp\\:rounded{border-radius:.25rem}.hp\\:rounded-full{border-radius:3.40282e38px}.hp\\:rounded-lg{border-radius:var(--hp-radius-lg)}.hp\\:border{border-style:var(--tw-border-style);border-width:1px}.hp\\:border-0{border-style:var(--tw-border-style);border-width:0}.hp\\:border-2{border-style:var(--tw-border-style);border-width:2px}.hp\\:border-\\[3px\\]{border-style:var(--tw-border-style);border-width:3px}.hp\\:border-t{border-top-style:var(--tw-border-style);border-top-width:1px}.hp\\:border-on-surface\\/10{border-color:var(--hp-color-on-surface)}@supports (color:color-mix(in lab,red,red)){.hp\\:border-on-surface\\/10{border-color:color-mix(in oklab,var(--hp-color-on-surface) 10%,transparent)}}.hp\\:border-on-surface\\/20{border-color:var(--hp-color-on-surface)}@supports (color:color-mix(in lab,red,red)){.hp\\:border-on-surface\\/20{border-color:color-mix(in oklab,var(--hp-color-on-surface) 20%,transparent)}}.hp\\:border-on-surface\\/30{border-color:var(--hp-color-on-surface)}@supports (color:color-mix(in lab,red,red)){.hp\\:border-on-surface\\/30{border-color:color-mix(in oklab,var(--hp-color-on-surface) 30%,transparent)}}.hp\\:border-t-accent{border-top-color:var(--hp-color-accent)}.hp\\:bg-accent,.hp\\:bg-accent\\/15{background-color:var(--hp-color-accent)}@supports (color:color-mix(in lab,red,red)){.hp\\:bg-accent\\/15{background-color:color-mix(in oklab,var(--hp-color-accent) 15%,transparent)}}.hp\\:bg-black,.hp\\:bg-black\\/30{background-color:var(--hp-color-black)}@supports (color:color-mix(in lab,red,red)){.hp\\:bg-black\\/30{background-color:color-mix(in oklab,var(--hp-color-black) 30%,transparent)}}.hp\\:bg-black\\/40{background-color:var(--hp-color-black)}@supports (color:color-mix(in lab,red,red)){.hp\\:bg-black\\/40{background-color:color-mix(in oklab,var(--hp-color-black) 40%,transparent)}}.hp\\:bg-black\\/60{background-color:var(--hp-color-black)}@supports (color:color-mix(in lab,red,red)){.hp\\:bg-black\\/60{background-color:color-mix(in oklab,var(--hp-color-black) 60%,transparent)}}.hp\\:bg-black\\/70{background-color:var(--hp-color-black)}@supports (color:color-mix(in lab,red,red)){.hp\\:bg-black\\/70{background-color:color-mix(in oklab,var(--hp-color-black) 70%,transparent)}}.hp\\:bg-black\\/85{background-color:var(--hp-color-black)}@supports (color:color-mix(in lab,red,red)){.hp\\:bg-black\\/85{background-color:color-mix(in oklab,var(--hp-color-black) 85%,transparent)}}.hp\\:bg-on-surface,.hp\\:bg-on-surface\\/20{background-color:var(--hp-color-on-surface)}@supports (color:color-mix(in lab,red,red)){.hp\\:bg-on-surface\\/20{background-color:color-mix(in oklab,var(--hp-color-on-surface) 20%,transparent)}}.hp\\:bg-on-surface\\/25{background-color:var(--hp-color-on-surface)}@supports (color:color-mix(in lab,red,red)){.hp\\:bg-on-surface\\/25{background-color:color-mix(in oklab,var(--hp-color-on-surface) 25%,transparent)}}.hp\\:bg-on-surface\\/40{background-color:var(--hp-color-on-surface)}@supports (color:color-mix(in lab,red,red)){.hp\\:bg-on-surface\\/40{background-color:color-mix(in oklab,var(--hp-color-on-surface) 40%,transparent)}}.hp\\:bg-surface{background-color:var(--hp-color-surface)}.hp\\:bg-surface-elev{background-color:var(--hp-color-surface-elev)}.hp\\:bg-transparent{background-color:#0000}.hp\\:bg-white,.hp\\:bg-white\\/15{background-color:var(--hp-color-white)}@supports (color:color-mix(in lab,red,red)){.hp\\:bg-white\\/15{background-color:color-mix(in oklab,var(--hp-color-white) 15%,transparent)}}.hp\\:bg-white\\/30{background-color:var(--hp-color-white)}@supports (color:color-mix(in lab,red,red)){.hp\\:bg-white\\/30{background-color:color-mix(in oklab,var(--hp-color-white) 30%,transparent)}}.hp\\:bg-white\\/40{background-color:var(--hp-color-white)}@supports (color:color-mix(in lab,red,red)){.hp\\:bg-white\\/40{background-color:color-mix(in oklab,var(--hp-color-white) 40%,transparent)}}.hp\\:bg-gradient-to-t{--tw-gradient-position:to top in oklab;background-image:linear-gradient(var(--tw-gradient-stops))}.hp\\:from-black\\/80{--tw-gradient-from:var(--hp-color-black)}@supports (color:color-mix(in lab,red,red)){.hp\\:from-black\\/80{--tw-gradient-from:color-mix(in oklab, var(--hp-color-black) 80%, transparent)}}.hp\\:from-black\\/80{--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.hp\\:to-transparent{--tw-gradient-to:transparent;--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.hp\\:bg-cover{background-size:cover}.hp\\:bg-center{background-position:50%}.hp\\:object-cover{object-fit:cover}.hp\\:p-0{padding:0}.hp\\:p-1\\.5{padding:calc(var(--hp-spacing) * 1.5)}.hp\\:p-2{padding:calc(var(--hp-spacing) * 2)}.hp\\:p-3{padding:calc(var(--hp-spacing) * 3)}.hp\\:p-4{padding:calc(var(--hp-spacing) * 4)}.hp\\:px-1{padding-inline:var(--hp-spacing)}.hp\\:px-1\\.5{padding-inline:calc(var(--hp-spacing) * 1.5)}.hp\\:px-2{padding-inline:calc(var(--hp-spacing) * 2)}.hp\\:px-3{padding-inline:calc(var(--hp-spacing) * 3)}.hp\\:px-4{padding-inline:calc(var(--hp-spacing) * 4)}.hp\\:py-1{padding-block:var(--hp-spacing)}.hp\\:py-1\\.5{padding-block:calc(var(--hp-spacing) * 1.5)}.hp\\:py-2{padding-block:calc(var(--hp-spacing) * 2)}.hp\\:pt-6{padding-top:calc(var(--hp-spacing) * 6)}.hp\\:pb-2{padding-bottom:calc(var(--hp-spacing) * 2)}.hp\\:text-center{text-align:center}.hp\\:text-left{text-align:left}.hp\\:font-mono{font-family:var(--hp-font-mono)}.hp\\:text-2xl{font-size:var(--hp-text-2xl);line-height:var(--tw-leading,var(--hp-text-2xl--line-height))}.hp\\:text-base{font-size:var(--hp-text-base);line-height:var(--tw-leading,var(--hp-text-base--line-height))}.hp\\:text-lg{font-size:var(--hp-text-lg);line-height:var(--tw-leading,var(--hp-text-lg--line-height))}.hp\\:text-sm{font-size:var(--hp-text-sm);line-height:var(--tw-leading,var(--hp-text-sm--line-height))}.hp\\:text-xl{font-size:var(--hp-text-xl);line-height:var(--tw-leading,var(--hp-text-xl--line-height))}.hp\\:text-xs{font-size:var(--hp-text-xs);line-height:var(--tw-leading,var(--hp-text-xs--line-height))}.hp\\:text-\\[length\\:var\\(--hp-ctrl-icon-size\\)\\]{font-size:var(--hp-ctrl-icon-size)}.hp\\:leading-none{--tw-leading:1;line-height:1}.hp\\:font-medium{--tw-font-weight:var(--hp-font-weight-medium);font-weight:var(--hp-font-weight-medium)}.hp\\:font-semibold{--tw-font-weight:var(--hp-font-weight-semibold);font-weight:var(--hp-font-weight-semibold)}.hp\\:whitespace-nowrap{white-space:nowrap}.hp\\:text-accent{color:var(--hp-color-accent)}.hp\\:text-on-accent{color:var(--hp-color-on-accent)}.hp\\:text-on-surface{color:var(--hp-color-on-surface)}.hp\\:text-on-surface-muted{color:var(--hp-color-on-surface-muted)}.hp\\:text-white{color:var(--hp-color-white)}.hp\\:tabular-nums{--tw-numeric-spacing:tabular-nums;font-variant-numeric:var(--tw-ordinal,) var(--tw-slashed-zero,) var(--tw-numeric-figure,) var(--tw-numeric-spacing,) var(--tw-numeric-fraction,)}.hp\\:underline{text-decoration-line:underline}.hp\\:opacity-0{opacity:0}.hp\\:opacity-60{opacity:.6}.hp\\:opacity-70{opacity:.7}.hp\\:opacity-80{opacity:.8}.hp\\:opacity-90{opacity:.9}.hp\\:shadow-lg{--tw-shadow:0 10px 15px -3px var(--tw-shadow-color,#0000001a), 0 4px 6px -4px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.hp\\:shadow-xl{--tw-shadow:0 20px 25px -5px var(--tw-shadow-color,#0000001a), 0 8px 10px -6px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.hp\\:drop-shadow{--tw-drop-shadow-size:drop-shadow(0 1px 2px var(--tw-drop-shadow-color,#0000001a)) drop-shadow(0 1px 1px var(--tw-drop-shadow-color,#0000000f));--tw-drop-shadow:drop-shadow(0 1px 2px #0000001a) drop-shadow(0 1px 1px #0000000f);filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.hp\\:transition-\\[height\\]{transition-property:height;transition-timing-function:var(--tw-ease,var(--hp-default-transition-timing-function));transition-duration:var(--tw-duration,var(--hp-default-transition-duration))}.hp\\:transition-opacity{transition-property:opacity;transition-timing-function:var(--tw-ease,var(--hp-default-transition-timing-function));transition-duration:var(--tw-duration,var(--hp-default-transition-duration))}.hp\\:transition-transform{transition-property:transform,translate,scale,rotate;transition-timing-function:var(--tw-ease,var(--hp-default-transition-timing-function));transition-duration:var(--tw-duration,var(--hp-default-transition-duration))}.hp\\:duration-100{--tw-duration:.1s;transition-duration:.1s}.hp\\:duration-150{--tw-duration:.15s;transition-duration:.15s}.hp\\:duration-200{--tw-duration:.2s;transition-duration:.2s}.hp\\:duration-300{--tw-duration:.3s;transition-duration:.3s}.hp\\:will-change-\\[opacity\\]{will-change:opacity}.hp\\:select-none{-webkit-user-select:none;user-select:none}@media(hover:hover){.hp\\:group-hover\\:h-\\[var\\(--hp-seek-track-h-hover\\)\\]:is(:where(.hp\\:group):hover *){height:var(--hp-seek-track-h-hover)}.hp\\:hover\\:bg-on-surface\\/5:hover{background-color:var(--hp-color-on-surface)}@supports (color:color-mix(in lab,red,red)){.hp\\:hover\\:bg-on-surface\\/5:hover{background-color:color-mix(in oklab,var(--hp-color-on-surface) 5%,transparent)}}.hp\\:hover\\:bg-on-surface\\/10:hover{background-color:var(--hp-color-on-surface)}@supports (color:color-mix(in lab,red,red)){.hp\\:hover\\:bg-on-surface\\/10:hover{background-color:color-mix(in oklab,var(--hp-color-on-surface) 10%,transparent)}}.hp\\:hover\\:opacity-80:hover{opacity:.8}}.hp\\:data-\\[active\\=true\\]\\:bg-accent\\/15[data-active=true]{background-color:var(--hp-color-accent)}@supports (color:color-mix(in lab,red,red)){.hp\\:data-\\[active\\=true\\]\\:bg-accent\\/15[data-active=true]{background-color:color-mix(in oklab,var(--hp-color-accent) 15%,transparent)}}.hp\\:data-\\[active\\=true\\]\\:text-on-surface[data-active=true]{color:var(--hp-color-on-surface)}}.hp-icon{font-variant:normal;text-transform:none;speak:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-family:hope-icons;font-style:normal;font-weight:400;line-height:1}.hp-icon-airplay:before{content:""}.hp-icon-cast-connected:before{content:""}.hp-icon-cast:before{content:""}.hp-icon-check:before{content:""}.hp-icon-chevron-left:before{content:""}.hp-icon-close:before{content:""}.hp-icon-fullscreen-enter:before{content:""}.hp-icon-fullscreen-exit:before{content:""}.hp-icon-grid:before{content:""}.hp-icon-loop:before{content:""}.hp-icon-pause:before{content:""}.hp-icon-pip:before{content:""}.hp-icon-play:before{content:""}.hp-icon-settings:before{content:""}.hp-icon-skip-back:before{content:""}.hp-icon-skip-forward:before{content:""}.hp-icon-volume-high:before{content:""}.hp-icon-volume-low:before{content:""}.hp-icon-volume-muted:before{content:""}.hp-icon-warning:before{content:""}:host{--hp-radius:8px;--hp-chip-bg:#ffffff14;--hp-chip-bg-hover:#ffffff2e;--hp-chip-bg-active:#ffffff42;--hp-chip-border:#ffffff29;--hp-chip-border-hover:#ffffff4d;--hp-chip-blur:14px;--hp-chip-shadow:0 4px 18px #00000047, inset 0 1px 0 #ffffff12;--hp-chip-radius:10px;--hp-chip-text:var(--hp-color-on-surface,#fff);--hp-chrome-scrim:linear-gradient(to top, #00000080 0%, #0000003d 50%, #0000 100%);--hp-chrome-scrim-height:min(150px, 45%);--hp-chip-backdrop-brightness:.78;--hp-ctrl-shadow:drop-shadow(0 1px 1.5px #0000008c);--hp-panel-bg:#ffffffb8;--hp-panel-blur:26px;--hp-panel-border:#0f11171a;--hp-panel-text:#15171c;--hp-panel-text-muted:#5b6270;--hp-panel-text-shadow:none;--hp-ctrl-btn-size:32px;--hp-ctrl-icon-size:16px;--hp-seek-hit-h:16px;--hp-seek-track-h:4px;--hp-seek-track-h-hover:6px;--hp-seek-thumb-size:12px;--hp-tooltip-bg:#ffffffe6;--hp-tooltip-text:#15171c;--hp-tooltip-key-bg:#0f11171a;--hp-tooltip-key-text:#15171c;--hp-caption-font-size:16px;--hp-caption-bg:#000000bf;--hp-caption-text:#fff;--hp-caption-radius:4px;background:var(--hp-color-surface,#0a0a0a);width:100%;color:var(--hp-color-on-surface,#fff);border-radius:var(--hp-radius);font-family:system-ui,-apple-system,sans-serif;line-height:1;display:block}.hp-chip{background:var(--hp-chip-bg);border:1px solid var(--hp-chip-border);border-radius:var(--hp-chip-radius);-webkit-backdrop-filter:blur(var(--hp-chip-blur)) saturate(160%);box-shadow:var(--hp-chip-shadow);color:var(--hp-chip-text);transition:background-color .16s,border-color .16s,box-shadow .16s,transform .12s}.hp-chip:hover{background:var(--hp-chip-bg-hover);border-color:var(--hp-chip-border-hover)}button.hp-chip:active{background:var(--hp-chip-bg-active);transform:scale(.94)}.hp-chip:focus-visible{outline:2px solid var(--hp-color-accent,#fff);outline-offset:2px}.hp-chip-panel,.hp-chip-panel:hover{background:var(--hp-panel-bg);border-color:var(--hp-panel-border);-webkit-backdrop-filter:blur(var(--hp-panel-blur)) saturate(160%);text-shadow:var(--hp-panel-text-shadow,none)}.hp-chip-panel{--hp-color-on-surface:var(--hp-panel-text);--hp-color-on-surface-muted:var(--hp-panel-text-muted);color:var(--hp-panel-text)}.hp-tooltip{background:var(--hp-tooltip-bg);color:var(--hp-tooltip-text);border-radius:calc(var(--hp-radius) * .75);-webkit-backdrop-filter:blur(12px)saturate(160%);font-weight:500;box-shadow:0 4px 14px #00000059}.hp-tooltip-key{background:var(--hp-tooltip-key-bg);min-width:16px;height:16px;color:var(--hp-tooltip-key-text);text-transform:uppercase;border-radius:4px;justify-content:center;align-items:center;padding:0 4px;font-size:10px;font-weight:700;line-height:16px;display:inline-flex}.hp-group{background:var(--hp-chip-bg);border:1px solid var(--hp-chip-border);-webkit-backdrop-filter:blur(var(--hp-chip-blur)) saturate(160%) brightness(var(--hp-chip-backdrop-brightness,1));box-shadow:var(--hp-chip-shadow);border-radius:9999px}.hp-group-left{position:relative}.hp-loading-ring{border-radius:inherit;pointer-events:none;opacity:0;filter:drop-shadow(0 0 3px var(--hp-color-accent,#fff));transition:opacity .22s;position:absolute;top:-1px;right:-1px;bottom:-1px;left:-1px}@supports (color:color-mix(in lab,red,red)){.hp-loading-ring{filter:drop-shadow(0 0 3px color-mix(in srgb,var(--hp-color-accent,#fff) 70%,transparent))}}.hp-loading-ring-mask{border-radius:inherit;-webkit-mask-composite:xor;padding:2px;position:absolute;top:0;right:0;bottom:0;left:0;overflow:hidden;-webkit-mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);-webkit-mask-composite:xor,source-over;mask:linear-gradient(#000 0 0) content-box exclude,linear-gradient(#000 0 0)}.hp-loading-ring-mask>span{aspect-ratio:1;background:conic-gradient(from 0deg,transparent 0deg 150deg,var(--hp-color-accent,#fff) 260deg,var(--hp-color-accent,#fff) 340deg,transparent 360deg);width:max(100%,160px);position:absolute;top:50%;left:50%;translate:-50% -50%}@supports (color:color-mix(in lab,red,red)){.hp-loading-ring-mask>span{background:conic-gradient(from 0deg,transparent 0deg 150deg,color-mix(in srgb,var(--hp-color-accent,#fff) 30%,transparent) 260deg,var(--hp-color-accent,#fff) 340deg,transparent 360deg)}}.hp-loading-ring-mask>span{animation:1.1s linear infinite paused hp-loading-ring-spin}.hp-group-left[data-loading]>.hp-loading-ring{opacity:1}.hp-group-left[data-loading]>.hp-loading-ring .hp-loading-ring-mask>span{animation-play-state:running}@keyframes hp-loading-ring-spin{to{rotate:360deg}}@media(prefers-reduced-motion:reduce){.hp-loading-ring-mask>span{background:var(--hp-color-accent,#fff);animation:none}.hp-group-left[data-loading]>.hp-loading-ring{animation:1.6s ease-in-out infinite hp-loading-ring-pulse}}@keyframes hp-loading-ring-pulse{50%{opacity:.35}}.hp-center-play>.hp-chip{-webkit-backdrop-filter:blur(var(--hp-chip-blur)) saturate(160%) brightness(var(--hp-chip-backdrop-brightness,1))}.hp-group .hp-icon,.hp-group [part=time-display],.hp-group .hp-live-badge,.hp-group [part=live-clock],.hp-group .hp-skip-num,.hp-center-play .hp-icon{filter:var(--hp-ctrl-shadow,none)}.hp-chrome:before{content:"";height:var(--hp-chrome-scrim-height);background:var(--hp-chrome-scrim);pointer-events:none;position:absolute;bottom:0;left:0;right:0}.video-area[data-compact]>.hp-chrome:after{content:"";background:var(--hp-chrome-scrim);opacity:.7;pointer-events:none;height:min(90px,30%);position:absolute;top:0;left:0;right:0;transform:scaleY(-1)}.hp-group button.hp-chip{box-shadow:none;-webkit-backdrop-filter:none;background:0 0;border-color:#0000}.hp-group button.hp-chip:hover{background:var(--hp-chip-bg-hover)}.hp-group button.hp-chip:active{background:var(--hp-chip-bg-active)}:host([data-theme=glass-dark]),:host([data-theme=neo-dark]),:host([data-theme=mono]){--hp-panel-bg:#0a0a0e8c;--hp-panel-border:#ffffff1a;--hp-panel-text:#fff;--hp-panel-text-muted:#a3a3a3;--hp-panel-text-shadow:0 1px 3px #000000a6;--hp-tooltip-bg:#0a0a0aeb;--hp-tooltip-text:#fff;--hp-tooltip-key-bg:#ffffff2e;--hp-tooltip-key-text:#fff}:host([data-theme=glass-dark]){--hp-chip-bg:#0a0a0e73;--hp-chip-bg-hover:#0a0a0e9e;--hp-chip-bg-active:#0a0a0ebf;--hp-chip-border:#ffffff14;--hp-chip-border-hover:#ffffff29;--hp-chip-shadow:0 4px 18px #0006, inset 0 1px 0 #ffffff0a;--hp-panel-bg:#08080cb8;--hp-chip-backdrop-brightness:1}:host([data-theme=neo-dark]){--hp-chip-bg:#24242a;--hp-chip-bg-hover:#2a2a31;--hp-chip-bg-active:#1e1e23;--hp-chip-border:transparent;--hp-chip-border-hover:transparent;--hp-chip-blur:0px;--hp-chip-shadow:5px 5px 10px #00000080, -4px -4px 9px #ffffff09;--hp-chip-radius:12px;--hp-color-surface:#1b1b20;--hp-panel-bg:#1e1e23;--hp-panel-text-shadow:none;--hp-chrome-scrim:none;--hp-chip-backdrop-brightness:1;--hp-ctrl-shadow:none}:host([data-theme=neo-dark]) button.hp-chip:active{box-shadow:inset 3px 3px 6px #00000080,inset -2px -2px 5px #ffffff08}:host([data-theme=mono]){--hp-chip-bg:#ffffff0a;--hp-chip-bg-hover:#ffffff1a;--hp-chip-border:#ffffff14;--hp-chip-border-hover:#ffffff24;--hp-chip-blur:0px;--hp-chip-shadow:none;--hp-panel-bg:#0a0a0aeb;--hp-panel-text-shadow:none}@media(pointer:coarse){:host{--hp-ctrl-btn-size:40px;--hp-ctrl-icon-size:18px;--hp-seek-hit-h:22px;--hp-seek-track-h:5px;--hp-seek-track-h-hover:7px;--hp-seek-thumb-size:14px;--hp-caption-font-size:19px}}:host(:is(:fullscreen,:-webkit-full-screen)){--hp-ctrl-btn-size:44px;--hp-ctrl-icon-size:20px;--hp-seek-hit-h:26px;--hp-seek-track-h:6px;--hp-seek-track-h-hover:8px;--hp-seek-thumb-size:18px;--hp-caption-font-size:22px}:host(:is(:fullscreen,:-webkit-full-screen)) [part=control-bar]{padding:28px 20px 18px}.video-area{width:100%;aspect-ratio:var(--hp-aspect-ratio,16 / 9);border-radius:var(--hp-radius);background:var(--hp-color-surface,#0a0a0a);position:relative;overflow:hidden}.video-area[data-compact]{--hp-caption-font-size:13px}.video-area[data-story]{aspect-ratio:9/16;max-width:49.5vh;max-height:88vh;margin:0 auto}:host(:is(:fullscreen,:-webkit-full-screen)){background:#000;border-radius:0}:host(:is(:fullscreen,:-webkit-full-screen)) .hp-root{height:100%}:host(:is(:fullscreen,:-webkit-full-screen)) .video-area{aspect-ratio:auto;background:#000;border-radius:0;width:100%;height:100%}:host(:is(:fullscreen,:-webkit-full-screen)) .video-area[data-story]{aspect-ratio:9/16;width:auto;max-width:100%;height:100%;max-height:none;margin:0 auto}.media-layer{position:absolute;top:0;right:0;bottom:0;left:0}.media-layer video{object-fit:contain;background:#000;width:100%;height:100%}.hp-center-x{transform:translate(-50%)}.hp-center-y{transform:translateY(-50%)}.hp-chip-panel[data-drop]{margin-top:8px;margin-bottom:0;top:100%;bottom:auto}.hp-top-bar{pointer-events:none;display:flex;position:absolute;top:8px;right:8px}.hp-top-bar>*{pointer-events:auto}.hp-story-list-btn{top:calc(8px + var(--hp-ctrl-btn-size) + 18px);right:12px}:host([data-cursor-hidden]),:host([data-cursor-hidden]) *{cursor:none!important}.hp-unmute-badge{z-index:25;background:var(--hp-tooltip-bg);color:var(--hp-tooltip-text);-webkit-backdrop-filter:blur(12px)saturate(160%);font:inherit;cursor:pointer;border:0;border-radius:9999px;align-items:center;gap:6px;padding:6px 12px 6px 10px;font-size:13px;font-weight:600;display:none;position:absolute;top:10px;left:10px;box-shadow:0 4px 14px #00000059}@media(hover:none)and (pointer:coarse){.hp-volume{display:none!important}.hp-unmute-badge[data-visible]{display:inline-flex}}.hp-error-screen{z-index:30;background:var(--hp-color-surface);justify-content:center;align-items:center;padding:12px;display:none;position:absolute;top:0;right:0;bottom:0;left:0}@supports (color:color-mix(in lab,red,red)){.hp-error-screen{background:color-mix(in srgb,var(--hp-color-surface) 94%,transparent)}}.hp-error-screen{-webkit-backdrop-filter:blur(16px)saturate(140%);color:var(--hp-color-on-surface);text-align:center;container-type:size}.hp-error-screen[data-visible]{animation:.22s hp-error-in;display:flex}@keyframes hp-error-in{0%{opacity:0}}.hp-error-card{flex-direction:column;align-items:center;gap:10px;max-width:340px;display:flex}.hp-error-icon{border:1px solid var(--hp-color-on-surface);border-radius:9999px;place-items:center;width:48px;height:48px;display:grid}@supports (color:color-mix(in lab,red,red)){.hp-error-icon{border:1px solid color-mix(in srgb,var(--hp-color-on-surface) 18%,transparent)}}.hp-error-icon{background:var(--hp-color-on-surface)}@supports (color:color-mix(in lab,red,red)){.hp-error-icon{background:color-mix(in srgb,var(--hp-color-on-surface) 8%,transparent)}}.hp-error-icon{margin-bottom:2px;font-size:22px}.hp-error-message{margin:0;font-size:14px;font-weight:600;line-height:1.45}.hp-error-code{color:var(--hp-color-on-surface-muted);font-variant-numeric:tabular-nums;margin:-4px 0 0;font-size:12px}.hp-error-retry{border:1px solid var(--hp-chip-border);background:var(--hp-chip-bg);color:var(--hp-color-on-surface);font:inherit;cursor:pointer;border-radius:9999px;align-items:center;gap:6px;margin-top:6px;padding:7px 14px 7px 12px;font-size:13px;font-weight:600;transition:background-color .15s,border-color .15s;display:inline-flex}.hp-error-retry:hover{background:var(--hp-chip-bg-hover);border-color:var(--hp-chip-border-hover)}.hp-error-retry:focus-visible{outline:2px solid var(--hp-color-accent);outline-offset:2px}@container (max-height:240px){.hp-error-card{gap:6px}.hp-error-icon{width:36px;height:36px;margin-bottom:0;font-size:16px}.hp-error-message{font-size:13px}.hp-error-code{margin-top:-2px;font-size:11px}.hp-error-retry{margin-top:2px;padding:5px 12px 5px 10px;font-size:12px}}.hp-context-menu,.hp-stats,.hp-debug{border:1px solid var(--hp-panel-border);background:var(--hp-panel-bg);-webkit-backdrop-filter:blur(var(--hp-panel-blur)) saturate(160%);color:var(--hp-panel-text);text-shadow:var(--hp-panel-text-shadow,none);border-radius:10px;position:absolute;box-shadow:0 8px 28px #00000059}.hp-context-menu{z-index:40;min-width:200px;padding:4px;font-size:13px;display:none}.hp-context-menu[data-open]{animation:.12s hp-context-menu-in;display:block}@keyframes hp-context-menu-in{0%{opacity:0;transform:scale(.97)}}.hp-context-menu-item{width:100%;color:inherit;font:inherit;text-align:left;cursor:pointer;background:0 0;border:0;border-radius:6px;justify-content:space-between;align-items:center;gap:16px;padding:8px 10px;display:flex}.hp-context-menu-item[data-info]{cursor:default;font-weight:600}button.hp-context-menu-item:hover,button.hp-context-menu-item:focus-visible{background:var(--hp-panel-text)}@supports (color:color-mix(in lab,red,red)){button.hp-context-menu-item:hover,button.hp-context-menu-item:focus-visible{background:color-mix(in srgb,var(--hp-panel-text) 10%,transparent)}}button.hp-context-menu-item:hover,button.hp-context-menu-item:focus-visible{outline:none}.hp-context-menu-item+.hp-context-menu-item{margin-top:2px}.hp-context-menu-meta{color:var(--hp-panel-text-muted);font-variant-numeric:tabular-nums;font-weight:500}.hp-stats{z-index:28;width:min(360px,100% - 20px);max-height:calc(100% - 20px);padding:8px 12px 10px;font-size:11.5px;top:10px;left:10px;overflow:auto}.hp-stats-header{justify-content:space-between;align-items:center;margin-bottom:6px;font-size:12px;font-weight:700;display:flex}.hp-stats-close{color:inherit;cursor:pointer;background:0 0;border:0;border-radius:9999px;padding:4px;display:inline-flex}.hp-stats-close:hover{background:var(--hp-panel-text)}@supports (color:color-mix(in lab,red,red)){.hp-stats-close:hover{background:color-mix(in srgb,var(--hp-panel-text) 12%,transparent)}}.hp-stats-body{grid-template-columns:auto 1fr;gap:3px 12px;margin:0;display:grid}.hp-stats-body dt{color:var(--hp-panel-text-muted);white-space:nowrap}.hp-stats-body dd{text-overflow:ellipsis;white-space:nowrap;font-variant-numeric:tabular-nums;margin:0;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;overflow:hidden}.hp-seek-fb{z-index:8;border:1px solid var(--hp-chip-border);background:var(--hp-chip-bg);-webkit-backdrop-filter:blur(var(--hp-chip-blur)) saturate(160%);box-shadow:var(--hp-chip-shadow);color:var(--hp-chip-text);pointer-events:none;opacity:0;border-radius:9999px;align-items:center;gap:10px;padding:12px 20px 12px 16px;transition:opacity .18s,translate .22s cubic-bezier(.2,.8,.2,1);display:flex;position:absolute;top:50%}.hp-seek-fb[data-side=forward]{right:7%;translate:14px -50%}.hp-seek-fb[data-side=back]{flex-direction:row-reverse;padding:12px 16px 12px 20px;left:7%;translate:-14px -50%}.hp-seek-fb[data-visible]{opacity:1;translate:0 -50%}.hp-seek-fb-chevrons{display:flex}.hp-seek-fb-chevrons svg{fill:currentColor;opacity:.25;width:16px;height:16px;margin:0 -3px;animation:.9s ease-in-out infinite hp-seek-fb-chevron}.hp-seek-fb[data-side=back] .hp-seek-fb-chevrons{transform:scaleX(-1)}.hp-seek-fb-chevrons svg:nth-child(2){animation-delay:.15s}.hp-seek-fb-chevrons svg:nth-child(3){animation-delay:.3s}@keyframes hp-seek-fb-chevron{0%,to{opacity:.25}40%{opacity:1}}.hp-seek-fb-value{white-space:nowrap;align-items:baseline;gap:3px;display:flex}.hp-seek-fb-num{font-variant-numeric:tabular-nums;font-size:20px;font-weight:700;line-height:1;display:inline-block}.hp-seek-fb-unit{opacity:.75;font-size:12px;font-weight:600}.hp-seek-fb-bump{animation:.26s cubic-bezier(.2,.8,.2,1) hp-seek-fb-bump}@keyframes hp-seek-fb-bump{0%{transform:scale(1.25)}to{transform:scale(1)}}.video-area[data-compact] .hp-seek-fb{padding:8px 12px}.video-area[data-compact] .hp-seek-fb[data-side=forward]{right:4%}.video-area[data-compact] .hp-seek-fb[data-side=back]{padding:8px 12px;left:4%}.video-area[data-compact] .hp-seek-fb-chevrons{display:none}.video-area[data-compact] .hp-seek-fb-num{font-size:16px}.hp-sr-only{clip-path:inset(50%);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}@media(prefers-reduced-motion:reduce){.hp-seek-fb,.hp-seek-fb-chevrons svg,.hp-seek-fb-bump{transition:none;animation:none}.hp-seek-fb-chevrons svg{opacity:.8}}.hp-skip-btn{position:relative}.hp-skip-btn>.hp-icon{font-size:calc(var(--hp-ctrl-icon-size) * 1.45)}.hp-skip-num{padding-top:calc(var(--hp-ctrl-icon-size) * .14);font-size:calc(var(--hp-ctrl-icon-size) * .56);letter-spacing:-.02em;font-variant-numeric:tabular-nums;pointer-events:none;justify-content:center;align-items:center;font-weight:700;line-height:1;display:flex;position:absolute;top:0;right:0;bottom:0;left:0}.hp-skip-num[data-long]{font-size:calc(var(--hp-ctrl-icon-size) * .42)}.hp-skip-btn:disabled{opacity:.4;cursor:default}.hp-center-play>.hp-chip{z-index:7;position:relative}.video-area[data-center-play-shifted] .hp-center-play>.hp-chip{width:var(--hp-center-play-size);height:var(--hp-center-play-size);translate:var(--hp-center-play-shift-x,0px) var(--hp-center-play-shift)}.video-area[data-pause-ad-ready]>:is(.media-layer,.hp-chrome,.hp-center-play,.hp-caption-layer,.hp-error-screen,.hp-mini-progress){right:var(--hp-pause-ad-w,0px);transition:right .38s cubic-bezier(.2,.8,.2,1),opacity .2s}.video-area[data-pause-ad] .media-layer video{object-fit:cover}.hp-pause-ad{z-index:25;width:var(--hp-pause-ad-panel-w,332px);box-sizing:border-box;background:var(--hp-color-surface,#0a0a0a);color:var(--hp-color-on-surface,#fff);visibility:hidden;flex-direction:column;justify-content:center;gap:10px;padding:12px 16px;transition:transform .38s cubic-bezier(.2,.8,.2,1),visibility 0s linear .38s;display:flex;position:absolute;top:0;bottom:0;right:0;transform:translate(100%)}.hp-pause-ad[data-open]{visibility:visible;transition:transform .38s cubic-bezier(.2,.8,.2,1);transform:none}.hp-pause-ad-header{justify-content:space-between;align-items:center;gap:8px;display:flex}.hp-pause-ad-label{color:var(--hp-color-on-surface-muted,#ffffffb3);font-size:13px;font-weight:600}.hp-pause-ad-close{width:28px;height:28px;color:var(--hp-color-on-surface,#fff);cursor:pointer;background:0 0;border:0;border-radius:9999px;justify-content:center;align-items:center;padding:0;transition:background-color .15s;display:inline-flex}.hp-pause-ad-close:hover{background:var(--hp-chip-bg-hover)}.hp-pause-ad-body{border-radius:8px;justify-content:center;display:flex;overflow:hidden}.hp-pause-ad-resume{border:1px solid var(--hp-chip-border);background:var(--hp-chip-bg);color:var(--hp-color-on-surface,#fff);font:inherit;cursor:pointer;border-radius:9999px;align-self:stretch;padding:9px 14px;font-size:13px;font-weight:600;transition:background-color .15s,border-color .15s}.hp-pause-ad-resume:hover{background:var(--hp-chip-bg-hover);border-color:var(--hp-chip-border-hover)}.hp-pause-ad-close:focus-visible,.hp-pause-ad-resume:focus-visible{outline:2px solid var(--hp-color-accent);outline-offset:2px}@media(prefers-reduced-motion:reduce){.video-area[data-pause-ad-ready]>:is(.media-layer,.hp-chrome,.hp-center-play,.hp-caption-layer,.hp-error-screen,.hp-mini-progress),.hp-pause-ad,.hp-pause-ad[data-open]{transition:none}}.hp-seek-thumb{width:var(--hp-seek-thumb-size);height:var(--hp-seek-thumb-size);background:var(--hp-color-accent);will-change:translate,scale;pointer-events:none;z-index:2;border-radius:9999px;transition:scale .15s;position:absolute;left:0;scale:.5}.hp-seekbar:hover .hp-seek-thumb,.hp-seekbar:active .hp-seek-thumb,.hp-seekbar:focus-visible .hp-seek-thumb{scale:1}.hp-seekbar[data-no-duration] .hp-seek-thumb{display:none}.hp-seek-hover-dot{width:var(--hp-seek-track-h-hover);height:var(--hp-seek-track-h-hover);background:var(--hp-color-on-surface);opacity:0;pointer-events:none;z-index:1;border-radius:9999px;transition:opacity .12s;position:absolute;top:50%;left:0;box-shadow:0 0 0 1px #00000073}.hp-seek-hover-dot[data-visible]{opacity:.9}.hp-mini-progress{z-index:6;pointer-events:none;background:var(--hp-color-on-surface);height:1px;position:absolute;bottom:0;left:0;right:0}@supports (color:color-mix(in lab,red,red)){.hp-mini-progress{background:color-mix(in srgb,var(--hp-color-on-surface) 25%,transparent)}}.hp-mini-progress{opacity:0;transition:opacity .2s}.hp-mini-progress[data-visible]:not([data-disabled]){opacity:1}.hp-mini-progress-fill{transform-origin:0;will-change:transform;position:absolute;top:0;right:0;bottom:0;left:0;transform:scaleX(0)}.hp-mini-progress-buffered{background:var(--hp-color-on-surface)}@supports (color:color-mix(in lab,red,red)){.hp-mini-progress-buffered{background:color-mix(in srgb,var(--hp-color-on-surface) 40%,transparent)}}.hp-mini-progress-played{background:var(--hp-color-accent)}.hp-seek-time{border-radius:calc(var(--hp-radius) * .75);background:var(--hp-tooltip-bg);color:var(--hp-tooltip-text);-webkit-backdrop-filter:blur(12px)saturate(160%);font-variant-numeric:tabular-nums;white-space:nowrap;pointer-events:none;visibility:hidden;z-index:20;padding:3px 7px;font-size:12px;font-weight:500;position:absolute;bottom:calc(100% + 8px);left:0;box-shadow:0 4px 14px #00000059}.hp-seek-time[data-visible]{visibility:visible}.hp-sprite-tooltip{pointer-events:none;visibility:hidden;z-index:20;flex-direction:column;align-items:center;gap:4px;display:flex;position:absolute;bottom:calc(100% + 8px);left:0}.hp-sprite-tooltip[data-visible]{visibility:visible}.hp-sprite-image{border-radius:calc(var(--hp-radius) * .75);border:2px solid var(--hp-color-on-surface)}@supports (color:color-mix(in lab,red,red)){.hp-sprite-image{border:2px solid color-mix(in srgb,var(--hp-color-on-surface) 85%,transparent)}}.hp-sprite-image{background-color:#000;background-repeat:no-repeat;box-shadow:0 4px 14px #00000059}.hp-sprite-time{background:var(--hp-tooltip-bg);color:var(--hp-tooltip-text);font-variant-numeric:tabular-nums;white-space:nowrap;border-radius:4px;padding:2px 6px;font-size:12px}.hp-live-badge{height:var(--hp-ctrl-btn-size);color:var(--hp-color-on-surface);font:inherit;letter-spacing:.04em;white-space:nowrap;cursor:pointer;background:0 0;border:0;border-radius:9999px;align-items:center;gap:6px;padding:0 8px;font-size:12px;font-weight:600;display:inline-flex}.hp-live-badge:hover{background:var(--hp-chip-bg-hover)}.hp-live-badge:focus-visible,[part=time-display]:focus-visible{outline:2px solid var(--hp-color-accent,#fff);outline-offset:2px}.hp-live-dot{background:var(--hp-live-color,red);border-radius:50%;width:8px;height:8px;transition:background-color .16s}.hp-live-badge[data-behind]{color:var(--hp-color-on-surface-muted)}.hp-live-badge[data-behind] .hp-live-dot{background:var(--hp-color-on-surface)}@supports (color:color-mix(in lab,red,red)){.hp-live-badge[data-behind] .hp-live-dot{background:color-mix(in srgb,var(--hp-color-on-surface) 45%,transparent)}}.hp-chapters{pointer-events:none;inset-inline:0;align-items:center;gap:2px;display:flex;position:absolute;top:0;bottom:0}.hp-chapter{min-width:1px;height:var(--hp-seek-track-h);background:var(--hp-color-on-surface);border-radius:1px;position:relative;overflow:hidden}@supports (color:color-mix(in lab,red,red)){.hp-chapter{background:color-mix(in srgb,var(--hp-color-on-surface) 25%,transparent)}}.hp-chapter{transition:height .15s}.hp-seekbar:hover .hp-chapter{height:var(--hp-seek-track-h-hover)}.hp-seekbar .hp-chapter[data-hover]{height:calc(var(--hp-seek-track-h-hover) * 1.6)}.hp-chapter-fill{transform-origin:0;will-change:transform;position:absolute;top:0;right:0;bottom:0;left:0;transform:scaleX(0)}.hp-chapter-buffered{background:var(--hp-color-on-surface)}@supports (color:color-mix(in lab,red,red)){.hp-chapter-buffered{background:color-mix(in srgb,var(--hp-color-on-surface) 40%,transparent)}}.hp-chapter-played{background:var(--hp-color-accent)}.hp-chapter-tooltip{background:var(--hp-tooltip-bg);max-width:240px;color:var(--hp-tooltip-text);border-radius:calc(var(--hp-radius) * .75);-webkit-backdrop-filter:blur(12px)saturate(160%);text-align:center;pointer-events:none;white-space:nowrap;visibility:hidden;z-index:40;flex-direction:column;align-items:center;gap:2px;padding:4px 8px;font-size:12px;line-height:1.3;display:flex;position:absolute;bottom:calc(100% + 6px);left:0;box-shadow:0 4px 14px #00000059}.hp-chapter-tooltip[data-visible]{visibility:visible}.hp-chapter-tooltip-title{text-overflow:ellipsis;max-width:100%;font-weight:600;overflow:hidden}.hp-chapter-tooltip-time{opacity:.75;font-variant-numeric:tabular-nums}:host([data-sticky]){z-index:2147483000;border-radius:var(--hp-radius);box-shadow:0 8px 28px #00000073;width:min(360px,92vw)!important;aspect-ratio:var(--hp-aspect-ratio,16 / 9)!important;position:fixed!important}:host([data-sticky][data-sticky-corner=br]){inset:auto 16px 16px auto}:host([data-sticky][data-sticky-corner=bl]){inset:auto auto 16px 16px}:host([data-sticky][data-sticky-corner=tr]){inset:16px 16px auto auto}:host([data-sticky][data-sticky-corner=tl]){inset:16px auto auto 16px}.hp-caption-layer{z-index:5;pointer-events:none;position:absolute;top:0;right:0;bottom:0;left:0}.hp-caption-bubble{background:var(--hp-caption-bg);width:max-content;max-width:86%;color:var(--hp-caption-text);border-radius:var(--hp-caption-radius);font-size:calc(var(--hp-caption-font-size) * var(--hp-caption-size-multiplier,1));text-align:center;white-space:pre-line;cursor:grab;pointer-events:auto;touch-action:none;-webkit-user-select:none;user-select:none;padding:.3em .6em;line-height:1.4;transition:transform .24s cubic-bezier(.25,.8,.25,1);display:none;position:absolute;bottom:0;left:50%;transform:translate(-50%)}.hp-caption-bubble.hp-caption-visible{display:inline-block}.hp-caption-bubble.hp-caption-dragging,.hp-caption-bubble.hp-caption-no-transition{transition:none}.hp-caption-bubble.hp-caption-dragging{cursor:grabbing}[part=ad-layer][data-nonlinear]{top:auto;bottom:var(--hp-nonlinear-ad-offset,72px);height:var(--hp-nonlinear-ad-height,33%);pointer-events:none}[part=ad-layer][data-nonlinear] *{pointer-events:none}[part=ad-layer][data-nonlinear] :is(iframe,img,a,button){pointer-events:auto}.hp-debug{--hp-panel-text:#f1f1f4;--hp-panel-text-muted:#f1f1f49e;--hp-panel-border:#ffffff1f;text-shadow:none;z-index:30;background:#0e0e12f2;flex-direction:column;min-width:0;font-size:12px;line-height:1.45;display:flex;top:8px;right:8px;bottom:8px;left:8px;overflow:hidden}.hp-debug:focus{outline:none}.hp-debug-header{border-bottom:1px solid var(--hp-panel-border);flex-shrink:0;justify-content:space-between;align-items:center;gap:8px;padding:8px 8px 8px 12px;display:flex}.hp-debug-title{white-space:nowrap;align-items:center;gap:8px;min-width:0;font-size:13px;font-weight:700;display:flex}.hp-debug-count{font-variant-numeric:tabular-nums;background:#f8717138;border-radius:9999px;padding:1px 7px;font-size:11px}.hp-debug-count:empty{display:none}.hp-debug-actions{flex-shrink:0;align-items:center;gap:4px;display:flex}.hp-debug-btn{border:1px solid var(--hp-panel-border);color:inherit;font:inherit;cursor:pointer;background:0 0;border-radius:9999px;padding:4px 10px;font-size:11.5px}.hp-debug-btn:hover:not(:disabled){background:var(--hp-panel-text)}@supports (color:color-mix(in lab,red,red)){.hp-debug-btn:hover:not(:disabled){background:color-mix(in srgb,var(--hp-panel-text) 12%,transparent)}}.hp-debug-btn:disabled{opacity:.45;cursor:default}.hp-debug-list{overscroll-behavior:contain;flex:1;min-height:0;margin:0;padding:6px 12px 10px;list-style:none;overflow:hidden auto}.hp-debug-row{border-left:2px solid var(--hp-panel-text);padding:8px 0 8px 10px}@supports (color:color-mix(in lab,red,red)){.hp-debug-row{border-left:2px solid color-mix(in srgb,var(--hp-panel-text) 25%,transparent)}}.hp-debug-row{min-width:0}.hp-debug-row+.hp-debug-row{margin-top:6px}.hp-debug-row[data-fatal]{border-left-color:#f87171}.hp-debug-row-head{flex-wrap:wrap;align-items:center;gap:6px;margin-bottom:2px;display:flex}.hp-debug-time{color:var(--hp-panel-text-muted);font-variant-numeric:tabular-nums;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace}.hp-debug-source,.hp-debug-fatal{background:var(--hp-panel-text);border-radius:9999px;padding:1px 7px;font-size:10.5px;font-weight:600}@supports (color:color-mix(in lab,red,red)){.hp-debug-source,.hp-debug-fatal{background:color-mix(in srgb,var(--hp-panel-text) 12%,transparent)}}.hp-debug-source[data-source=ads]{background:#f5c4513d}.hp-debug-source[data-source=stream],.hp-debug-source[data-source=media]{background:#60a5fa3d}.hp-debug-fatal{background:#f8717147}.hp-debug-message{overflow-wrap:anywhere;font-weight:600}.hp-debug-repeat{color:var(--hp-panel-text-muted);font-weight:500}.hp-debug-details{grid-template-columns:max-content minmax(0,1fr);gap:1px 10px;margin:4px 0 0;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:11px;display:grid}.hp-debug-details dt{color:var(--hp-panel-text-muted)}.hp-debug-details dd{overflow-wrap:anywhere;min-width:0;margin:0}.hp-debug-empty{color:var(--hp-panel-text-muted);margin:auto;padding:16px}.hp-debug-empty[hidden]{display:none}.hp-ad-return{z-index:25;color:#fff;cursor:pointer;-webkit-tap-highlight-color:transparent;background:#0e0e12d1;border:1px solid #ffffff40;border-radius:999px;padding:10px 16px;font:600 14px/1.2 system-ui,-apple-system,sans-serif;animation:.2s ease-out hp-ad-return-in;position:absolute;bottom:64px;right:12px}@keyframes hp-ad-return-in{0%{opacity:0;transform:translateY(6px)}}:host([data-audio]) .hp-center-play{display:none}.hp-audio{z-index:1;text-align:left;pointer-events:none;color:#fff;background:linear-gradient(160deg,#2a1f2b,#0c0c10);background:radial-gradient(80% 90% at 20% 10%,var(--hp-color-accent,#e5484d),transparent 70%),linear-gradient(160deg,#1d1d24,#0c0c10);position:absolute;top:0;right:0;bottom:0;left:0;overflow:hidden}@supports (color:color-mix(in lab,red,red)){.hp-audio{background:radial-gradient(80% 90% at 20% 10%,color-mix(in srgb,var(--hp-color-accent,#e5484d) 38%,transparent),transparent 70%),linear-gradient(160deg,#1d1d24,#0c0c10)}}.hp-audio-backdrop{position:absolute;top:-8%;right:-8%;bottom:-8%;left:-8%}.hp-audio-backdrop img{object-fit:cover;filter:blur(28px)saturate(1.3)brightness(.55);width:100%;height:100%;transform:scale(1.08)}.hp-audio:not([data-cover]) .hp-audio-backdrop,.hp-audio:not([data-cover]) .hp-audio-sleeve img{display:none}.hp-audio-meta{z-index:3;text-shadow:0 1px 6px #0009;line-height:1.25;display:none;position:absolute;top:12px;left:14px;right:64px}.hp-audio[data-meta] .hp-audio-meta{display:block}.hp-audio-title{white-space:nowrap;text-overflow:ellipsis;font-size:15px;font-weight:700;overflow:hidden}.hp-audio-artist{opacity:.8;white-space:nowrap;text-overflow:ellipsis;margin-top:2px;font-size:12.5px;overflow:hidden}.hp-audio-area{inset:0 0 var(--hp-audio-bottom-space,66px) 0;justify-content:center;align-items:center;display:flex;position:absolute}.hp-audio[data-meta] .hp-audio-area{top:44px}.hp-audio-deck{height:var(--hp-deck-h,0px);flex:none;align-items:center;display:flex;position:relative}.hp-audio[data-position=left] .hp-audio-deck{flex-direction:row-reverse}.hp-audio-sleeve{z-index:2;width:var(--hp-deck-h,0px);height:var(--hp-deck-h,0px);background:radial-gradient(70% 70% at 30% 25%,#e5484d,#0000 75%),#26262d;background:radial-gradient(70% 70% at 30% 25%,var(--hp-color-accent,#e5484d),transparent 75%),#26262d;border-radius:6px;flex:none;position:relative;overflow:hidden}@supports (color:color-mix(in lab,red,red)){.hp-audio-sleeve{background:radial-gradient(70% 70% at 30% 25%,color-mix(in srgb,var(--hp-color-accent,#e5484d) 70%,#fff 0%),transparent 75%),#26262d}}.hp-audio-sleeve{box-shadow:0 18px 40px -12px #000000bf,0 0 0 1px #ffffff14}.hp-audio-sleeve img{object-fit:cover;width:100%;height:100%;display:block}.hp-audio-sleeve[hidden],.hp-vinyl[hidden],.hp-tonearm-holder[hidden]{display:none}.hp-vinyl{z-index:1;width:calc(var(--hp-deck-h,0px) * .96);height:calc(var(--hp-deck-h,0px) * .96);pointer-events:auto;touch-action:none;-webkit-tap-highlight-color:transparent;filter:drop-shadow(0 14px 26px #0009);border-radius:50%;outline:none;flex:none;transition:margin .45s cubic-bezier(.2,.8,.2,1);position:relative}.hp-audio[data-position=right] .hp-vinyl{margin-left:calc(var(--hp-deck-h) * -.56)}.hp-audio[data-position=left] .hp-vinyl{margin-right:calc(var(--hp-deck-h) * -.56)}.hp-audio[data-position=right][data-playing] .hp-vinyl{margin-left:calc(var(--hp-deck-h) * -.46)}.hp-audio[data-position=left][data-playing] .hp-vinyl{margin-right:calc(var(--hp-deck-h) * -.46)}.hp-audio:not([data-laid-out]) .hp-vinyl{transition:none}.hp-vinyl[data-scratch]:not([data-live]){cursor:grab}.hp-audio[data-scratching] .hp-vinyl{cursor:grabbing}.hp-vinyl:focus-visible{box-shadow:0 0 0 3px #ffffffb3;box-shadow:0 0 0 3px var(--hp-color-accent,#e5484d)}@supports (color:color-mix(in lab,red,red)){.hp-vinyl:focus-visible{box-shadow:0 0 0 3px color-mix(in srgb,var(--hp-color-accent,#e5484d) 80%,transparent)}}.hp-vinyl-disc{will-change:transform;position:absolute;top:0;right:0;bottom:0;left:0}.hp-vinyl-disc svg,.hp-tonearm svg{width:100%;height:100%;display:block}.hp-vinyl-sheen{pointer-events:none;background:conic-gradient(from 200deg,#0000,#ffffff21 22deg,#0000 48deg,#0000 180deg,#ffffff17 205deg,#0000 232deg);border-radius:50%;position:absolute;top:0;right:0;bottom:0;left:0;-webkit-mask:radial-gradient(circle,#0000 0 35%,#000 36% 99%,#0000 100%);mask:radial-gradient(circle,#0000 0 35%,#000 36% 99%,#0000 100%)}.hp-tonearm-holder{pointer-events:none;position:absolute;top:0;right:0;bottom:0;left:0}.hp-audio[data-position=left] .hp-tonearm-holder{transform:scaleX(-1)}.hp-tonearm{transform-origin:70% 11%;filter:drop-shadow(0 6px 8px #00000080);width:46%;height:92%;transition:transform .6s cubic-bezier(.3,.7,.2,1);position:absolute;top:-6%;right:-14%;transform:rotate(-26deg)}.hp-audio[data-playing] .hp-tonearm{transform:rotate(0)}@media(prefers-reduced-motion:reduce){.hp-vinyl,.hp-tonearm{transition:none}}.hp-audio[data-short][data-meta] .hp-audio-meta{display:none}.hp-audio[data-short][data-meta] .hp-audio-area{top:6px}[part=ad-layer][data-audio-ad]{background:0 0}[part=ad-layer][data-audio-ad] video{opacity:0}.hp-audio:after{content:"";pointer-events:none;z-index:2;background:linear-gradient(#0000,#00000047 45%,#0000009e);height:min(140px,45%);position:absolute;bottom:0;left:0;right:0}:host([data-audio-compact]) .video-area{aspect-ratio:auto;height:var(--hp-audio-bar-height,84px);overflow:visible}:host([data-audio-compact]) .hp-audio{border-radius:var(--hp-radius);background:linear-gradient(120deg,#24242c,#141418);background:linear-gradient(120deg,var(--hp-color-accent,#e5484d),transparent 60%),var(--hp-color-surface,#141418)}@supports (color:color-mix(in lab,red,red)){:host([data-audio-compact]) .hp-audio{background:linear-gradient(120deg,color-mix(in srgb,var(--hp-color-accent,#e5484d) 16%,transparent),transparent 60%),var(--hp-color-surface,#141418)}}:host([data-audio-compact]) .hp-audio>*,:host([data-audio-compact]) .hp-audio:after,:host([data-audio-compact]) .hp-caption-layer,:host([data-audio-compact]) .hp-loading-spinner,:host([data-audio-compact]) .hp-chrome:before,:host([data-audio-compact]) .hp-chrome:after{display:none}.hp-bar-meta{min-width:0;color:var(--hp-color-on-surface,#fff);pointer-events:none;align-items:center;gap:10px;padding:0 6px;display:flex}.hp-bar-meta[data-empty] .hp-bar-text{display:none}.hp-bar-text{flex-direction:column;min-width:0;line-height:1.25;display:flex}.hp-bar-title{white-space:nowrap;text-overflow:ellipsis;font-size:13px;font-weight:700;overflow:hidden}.hp-bar-sub{opacity:.72;white-space:nowrap;text-overflow:ellipsis;font-size:11.5px;overflow:hidden}.hp-bar-sub:empty{display:none}.hp-bar-eq{flex:none;align-items:flex-end;gap:2px;width:14px;height:14px;display:inline-flex}.hp-bar-eq i{background:var(--hp-color-accent,#fff);border-radius:1px;flex:1;height:30%;transition:height .2s}.hp-bar-meta[data-playing] .hp-bar-eq i{animation:.9s ease-in-out infinite alternate hp-bar-eq}.hp-bar-meta[data-playing] .hp-bar-eq i:nth-child(2){animation-duration:.7s;animation-delay:-.3s}.hp-bar-meta[data-playing] .hp-bar-eq i:nth-child(3){animation-duration:1.1s;animation-delay:-.6s}@keyframes hp-bar-eq{0%{height:25%}to{height:100%}}@media(prefers-reduced-motion:reduce){.hp-bar-meta[data-playing] .hp-bar-eq i{height:70%;animation:none}}.hp-lock{vertical-align:-2px;display:inline-block}.hp-rw-button{color:#fff;cursor:pointer;pointer-events:auto;-webkit-tap-highlight-color:transparent;background:#0c0c10b8;border:1px solid #ffffff38;border-radius:999px;align-items:center;gap:6px;padding:7px 12px;font:600 12.5px/1 system-ui,-apple-system,sans-serif;display:inline-flex;position:absolute;top:12px;left:12px;box-shadow:0 6px 18px -8px #000000b3}.hp-rw-button:hover{background:#0c0c10e0}.hp-rw-button[hidden]{display:none}.hp-rw-button .hp-lock{color:var(--hp-color-accent,#fff)}.hp-rw-dialog{z-index:45;color:#fff;text-align:center;background:#0000009e;justify-content:center;align-items:center;padding:12px;animation:.18s ease-out hp-rw-fade;display:flex;position:absolute;top:0;right:0;bottom:0;left:0}.hp-rw-card{background:#14141af5;border:1px solid #ffffff24;border-radius:14px;width:min(360px,100%);max-height:100%;padding:18px 18px 16px;overflow:auto;box-shadow:0 20px 50px -20px #000c}.hp-rw-icon{color:var(--hp-color-accent,#fff);background:#ffffff14;border-radius:50%;padding:9px;display:inline-flex}.hp-rw-icon .hp-lock{width:18px;height:18px}.hp-rw-title{margin-top:10px;font-size:15px;font-weight:700}.hp-rw-text{opacity:.82;margin-top:6px;font-size:13px;line-height:1.45}.hp-rw-actions{justify-content:center;gap:8px;margin-top:14px;display:flex}.hp-rw-actions:empty{display:none}.hp-rw-btn{color:#fff;cursor:pointer;background:0 0;border:1px solid #fff3;border-radius:999px;padding:8px 14px;font:600 13px/1 system-ui,-apple-system,sans-serif}.hp-rw-btn-primary{background:var(--hp-color-accent,#fff);color:var(--hp-color-on-accent,#0a0a0a);border-color:#0000}.hp-rw-spinner{border:2px solid #ffffff40;border-top-color:#fff;border-radius:50%;width:22px;height:22px;margin:4px auto 0;animation:.8s linear infinite hp-rw-spin}.hp-rw-toast{z-index:45;color:#fff;pointer-events:none;background:#0c0c10d9;border-radius:999px;padding:8px 14px;font:600 13px/1 system-ui,-apple-system,sans-serif;animation:.2s ease-out hp-rw-fade;position:absolute;top:12px;left:50%;transform:translate(-50%)}@keyframes hp-rw-fade{0%{opacity:0}}@keyframes hp-rw-spin{to{transform:rotate(360deg)}}.hp-settings-panel [data-locked],.hp-chip-panel [data-locked]{opacity:.85}.hp-sponsor-logo{z-index:21;width:var(--hp-sponsor-logo-w,96px);color:#fff;filter:drop-shadow(0 2px 6px #0000008c);flex-direction:column;align-items:center;gap:4px;text-decoration:none;transition:opacity .25s,right .35s cubic-bezier(.2,.8,.2,1),bottom .35s cubic-bezier(.2,.8,.2,1);animation:.4s ease-out hp-rw-fade;display:flex;position:absolute}.hp-sponsor-logo[data-position=top-left]{top:12px;left:12px}.hp-sponsor-logo[data-position=top-right]{top:12px;right:var(--hp-sponsor-avoid-right,12px)}.hp-sponsor-logo[data-position=bottom-left]{bottom:var(--hp-sponsor-avoid-bottom,76px);left:12px}.hp-sponsor-logo[data-position=bottom-right]{bottom:var(--hp-sponsor-avoid-bottom,76px);right:12px}.video-area[data-chrome-hidden] .hp-sponsor-logo[data-position=top-right]{right:12px}.video-area[data-chrome-hidden] .hp-sponsor-logo[data-position=bottom-left],.video-area[data-chrome-hidden] .hp-sponsor-logo[data-position=bottom-right]{bottom:12px}.hp-sponsor-logo img{width:100%;height:auto;display:block}.hp-sponsor-label{text-align:center;white-space:nowrap;text-overflow:ellipsis;letter-spacing:.08em;text-transform:uppercase;opacity:.85;max-width:100%;font:600 10px/1 system-ui,-apple-system,sans-serif;overflow:hidden}.video-area:has(.hp-rw-button:not([hidden])) .hp-sponsor-logo[data-position=top-left]{top:52px}.hp-sponsor-intro{z-index:22;color:#fff;pointer-events:none;background:#0c0c10d1;border-radius:999px;align-items:center;gap:10px;max-width:calc(100% - 32px);padding:8px 16px 8px 8px;font:600 14px/1.2 system-ui,-apple-system,sans-serif;transition:opacity .35s,transform .35s;animation:.45s cubic-bezier(.2,.8,.2,1) hp-sponsor-in;display:flex;position:absolute;bottom:84px;left:50%;transform:translate(-50%);box-shadow:0 12px 30px -12px #000c}.hp-sponsor-intro[data-leaving]{opacity:0;transform:translate(-50%,8px)}.hp-sponsor-intro img{border-radius:6px;width:auto;max-width:96px;height:28px}.hp-sponsor-intro span{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}@keyframes hp-sponsor-in{0%{opacity:0;transform:translate(-50%,12px)scale(.96)}}:host([data-sponsor-hidden]) .hp-sponsor-logo,:host([data-sponsor-hidden]) .hp-sponsor-intro{display:none}.hp-adtrigger{z-index:26;box-sizing:border-box;pointer-events:none;justify-content:center;align-items:center;padding:12px;display:none;position:absolute;top:0;right:0;bottom:0;left:0}.hp-adtrigger[data-open]{animation:.3s ease-out hp-adtrigger-in;display:flex}.hp-adtrigger[data-backdrop]{pointer-events:auto;background:#0000009e}.hp-adtrigger[data-layout=full]{padding:0}.hp-adtrigger[data-layout=none]{justify-content:flex-start;align-items:flex-start;padding:0}.hp-adtrigger[data-layout=none] .hp-adtrigger-frame{position:static}.hp-adtrigger[data-layout=top]{align-items:flex-start}.hp-adtrigger[data-layout=bottom]{align-items:flex-end;padding-bottom:72px}.hp-adtrigger[data-layout=top-left]{justify-content:flex-start;align-items:flex-start}.hp-adtrigger[data-layout=top-right]{justify-content:flex-end;align-items:flex-start}.hp-adtrigger[data-layout=bottom-left]{justify-content:flex-start;align-items:flex-end;padding-bottom:72px}.hp-adtrigger[data-layout=bottom-right]{justify-content:flex-end;align-items:flex-end;padding-bottom:72px}.hp-adtrigger-frame{pointer-events:auto;max-width:100%;max-height:100%;position:relative}.hp-adtrigger[data-layout=full] .hp-adtrigger-frame{width:100%;height:100%}.hp-adtrigger-frame[data-sized]{width:min(var(--hp-adtrigger-w),100%);height:min(var(--hp-adtrigger-h),100%)}.hp-adtrigger[data-layout=full] ::slotted(*),.hp-adtrigger-frame[data-sized] ::slotted(*){width:100%;height:100%;display:block}.hp-adtrigger-label{z-index:1;color:#fff;letter-spacing:.08em;text-transform:uppercase;pointer-events:none;background:#000000a8;border-radius:4px;padding:3px 7px;font:600 10px/1 system-ui,-apple-system,sans-serif;position:absolute;top:8px;left:8px}.hp-adtrigger-close{z-index:2;color:#fff;cursor:pointer;background:#000000b8;border:0;border-radius:999px;place-items:center;width:30px;height:30px;padding:0;display:grid;position:absolute;top:6px;right:6px}.hp-adtrigger-close[hidden]{display:none}.hp-adtrigger-close:focus-visible{outline:2px solid var(--hp-color-accent,#fff);outline-offset:2px}.hp-cast-overlay{z-index:12;color:#fff;text-align:center;pointer-events:none;background:radial-gradient(#14141adb,#060609f5);flex-direction:column;justify-content:center;align-items:center;gap:10px;padding:16px;font:600 15px/1.3 system-ui,-apple-system,sans-serif;display:none;position:absolute;top:0;right:0;bottom:0;left:0}.hp-cast-overlay[data-open]{display:flex}.hp-cast-overlay .hp-icon{color:var(--hp-color-accent,#fff);font-size:44px}.hp-cast-overlay-ad{background:#ffffff24;border-radius:999px;padding:4px 10px;font-size:12px;font-weight:600;display:none}.hp-cast-overlay[data-break] .hp-cast-overlay-ad{display:inline-block}.video-area[data-casting] video{visibility:hidden}[part=cast-button][data-connecting] .hp-icon{animation:1s ease-in-out infinite hp-cast-pulse}@keyframes hp-cast-pulse{50%{opacity:.35}}@keyframes hp-adtrigger-in{0%{opacity:0}}@media(prefers-reduced-motion:reduce){.hp-sponsor-intro,.hp-rw-dialog,.hp-rw-toast{animation:none}}@media(hover:none)and (pointer:coarse){.video-area:has(.hp-unmute-badge[data-visible]) .hp-rw-button,.video-area:has(.hp-unmute-badge[data-visible]) .hp-sponsor-logo[data-position=top-left]{top:52px}.video-area:has(.hp-unmute-badge[data-visible]):has(.hp-rw-button:not([hidden])) .hp-sponsor-logo[data-position=top-left]{top:92px}}.video-area[data-compact] .hp-rw-icon{display:none}.video-area[data-compact] .hp-rw-card{padding:12px 14px}.video-area[data-compact] .hp-rw-title{margin-top:0;font-size:14px}.video-area[data-compact] .hp-rw-text{font-size:12px;line-height:1.4}.video-area[data-compact] .hp-rw-actions{margin-top:10px}.hp-sponsor-logo[data-compact]{width:min(var(--hp-sponsor-logo-w,96px),48px);gap:2px}.hp-sponsor-logo[data-compact] .hp-sponsor-label{font-size:8.5px}:host([data-sponsor-intro]) .hp-sponsor-logo{pointer-events:none;opacity:0!important}.hp-redirect-thumb{aspect-ratio:16/9;background:#111;border-radius:8px;flex:none;display:block;position:relative;overflow:hidden}.hp-redirect-thumb img{object-fit:cover;width:100%;height:100%;transition:transform .3s;position:absolute;top:0;right:0;bottom:0;left:0}.hp-redirect-ring{filter:drop-shadow(0 2px 6px #0009);width:44px;height:44px;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)rotate(-90deg)}.hp-redirect-ring-track{fill:#00000073;stroke:#ffffff47;stroke-width:3px}.hp-redirect-ring-bar{fill:none;stroke:var(--hp-color-accent,#fff);stroke-width:3px;stroke-linecap:round;transition:stroke-dashoffset .3s linear}.hp-redirect-play{color:#fff;font-size:18px;line-height:1;position:absolute;top:50%;left:50%;transform:translate(-45%,-50%)}.hp-redirect-duration{color:#fff;background:#000000c7;border-radius:4px;padding:1px 5px;font:600 10px/1.4 system-ui,-apple-system,sans-serif;position:absolute;bottom:5px;right:5px}.hp-redirect-label{color:var(--hp-color-accent,#fff);letter-spacing:.1em;text-transform:uppercase;font:700 10px/1.2 system-ui,-apple-system,sans-serif}.hp-redirect-title{-webkit-line-clamp:2;-webkit-box-orient:vertical;font:600 13px/1.3 system-ui,-apple-system,sans-serif;display:-webkit-box;overflow:hidden}.hp-redirect-sub{white-space:nowrap;text-overflow:ellipsis;opacity:.7;font:500 11px/1.3 system-ui,-apple-system,sans-serif;overflow:hidden}.hp-redirect-card{z-index:24;color:#fff;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);background:#0e0e12e6;border-radius:12px;align-items:stretch;width:min(340px,100% - 24px);transition:bottom .25s,top .25s;animation:.35s cubic-bezier(.2,.8,.2,1) hp-redirect-in;display:flex;position:absolute;box-shadow:0 16px 36px -14px #000000d9}.hp-redirect-card[data-position=bottom-right]{bottom:76px;right:12px}.hp-redirect-card[data-position=bottom-left]{bottom:76px;left:12px}.hp-redirect-card[data-position=top-right]{top:12px;right:12px}.hp-redirect-card[data-position=top-left]{top:12px;left:12px}.video-area[data-chrome-hidden] .hp-redirect-card[data-position^=bottom]{bottom:12px}.hp-redirect-card-main{min-width:0;color:inherit;text-align:left;cursor:pointer;background:0 0;border:0;border-radius:12px;flex:1;align-items:center;gap:10px;padding:8px;display:flex}.hp-redirect-card-main .hp-redirect-thumb{width:42%}.hp-redirect-card-main:hover .hp-redirect-thumb img{transform:scale(1.04)}.hp-redirect-text{flex-direction:column;gap:3px;min-width:0;padding-right:22px;display:flex}.hp-redirect-close{color:#fff;cursor:pointer;background:#ffffff1f;border:0;border-radius:999px;place-items:center;width:24px;height:24px;padding:0;font-size:13px;display:grid;position:absolute;top:6px;right:6px}.hp-redirect-close:hover{background:#ffffff3d}.hp-redirect-card-main:focus-visible,.hp-redirect-close:focus-visible,.hp-redirect-poster:focus-visible,.hp-redirect-btn:focus-visible{outline:2px solid var(--hp-color-accent,#fff);outline-offset:2px}.video-area[data-compact] .hp-redirect-card{width:min(260px,100% - 16px)}.video-area[data-compact] .hp-redirect-card[data-position^=bottom]{bottom:56px}.video-area[data-compact][data-chrome-hidden] .hp-redirect-card[data-position^=bottom]{bottom:8px}.video-area[data-compact] .hp-redirect-card .hp-redirect-sub{display:none}.video-area[data-compact] .hp-redirect-card .hp-redirect-ring{width:34px;height:34px}.hp-redirect-screen{z-index:30;color:#fff;text-align:center;background:#060609e6;justify-content:center;align-items:center;padding:16px;animation:.3s ease-out hp-redirect-fade;display:flex;position:absolute;top:0;right:0;bottom:0;left:0;overflow:hidden}.hp-redirect-bg{object-fit:cover;opacity:.35;filter:blur(18px)saturate(1.2);width:calc(100% + 40px);height:calc(100% + 40px);position:absolute;top:-20px;right:-20px;bottom:-20px;left:-20px}.hp-redirect-panel{flex-direction:column;align-items:center;gap:8px;width:min(420px,100%);display:flex;position:relative}.hp-redirect-poster{cursor:pointer;background:0 0;border:0;border-radius:10px;width:min(320px,70%);padding:0;box-shadow:0 18px 40px -16px #000000e6}.hp-redirect-poster .hp-redirect-thumb{border-radius:10px;width:100%}.hp-redirect-poster .hp-redirect-ring{width:64px;height:64px}.hp-redirect-poster .hp-redirect-play{font-size:24px}.hp-redirect-screen .hp-redirect-title{font-size:16px}.hp-redirect-counter{opacity:.75;font:500 12px/1.4 system-ui,-apple-system,sans-serif}.hp-redirect-actions{gap:8px;margin-top:4px;display:flex}.hp-redirect-btn{color:#fff;cursor:pointer;background:#ffffff24;border:0;border-radius:999px;padding:7px 16px;font:600 13px/1 system-ui,-apple-system,sans-serif}.hp-redirect-btn:hover{background:#ffffff3d}.hp-redirect-btn-primary,.hp-redirect-btn-primary:hover{background:var(--hp-color-accent,#fff);color:var(--hp-color-on-accent,#000)}.video-area[data-compact] .hp-redirect-poster{width:min(200px,55%)}.video-area[data-compact] .hp-redirect-screen .hp-redirect-sub,.video-area[data-compact] .hp-redirect-counter{display:none}.hp-redirect-suggestions{z-index:30;background:#060609eb;grid-template-columns:repeat(auto-fill,minmax(160px,1fr));align-content:center;gap:12px;padding:16px;display:grid;position:absolute;top:0;right:0;bottom:0;left:0;overflow-y:auto}.hp-redirect-suggestion{color:#fff;flex-direction:column;gap:6px;text-decoration:none;display:flex}.hp-redirect-suggestion .hp-redirect-play{opacity:0;font-size:22px;transition:opacity .2s}.hp-redirect-suggestion:hover .hp-redirect-play,.hp-redirect-suggestion:focus-visible .hp-redirect-play{opacity:1}.hp-redirect-suggestion:hover .hp-redirect-thumb,.hp-redirect-suggestion:focus-visible .hp-redirect-thumb{outline:2px solid var(--hp-color-accent,#fff)}@keyframes hp-redirect-in{0%{opacity:0;transform:translateY(10px)scale(.97)}}@keyframes hp-redirect-fade{0%{opacity:0}}@media(prefers-reduced-motion:reduce){.hp-redirect-card,.hp-redirect-screen{animation:none}}.hp-skip-segment{z-index:23;color:#fff;letter-spacing:.01em;cursor:pointer;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);background:#0e0e12b8;border:1px solid #ffffff8c;border-radius:8px;align-items:center;gap:8px;padding:10px 16px;font:600 14px/1.2 system-ui,-apple-system,sans-serif;transition:opacity .25s,bottom .25s,background-color .15s;animation:.3s cubic-bezier(.2,.8,.2,1) hp-redirect-in;display:inline-flex;position:absolute;overflow:hidden;box-shadow:0 10px 28px -12px #000c}.hp-skip-segment:hover{color:#111;background:#ffffffeb}.hp-skip-segment:focus-visible{outline:2px solid var(--hp-color-accent,#fff);outline-offset:2px}.hp-skip-segment>*{position:relative}.hp-skip-segment-icon{font-size:16px}.hp-skip-segment[data-auto]:before{content:"";transform-origin:0;transform:scaleX(var(--hp-skip-progress,0));background:#ffffff38;transition:transform .25s linear;position:absolute;top:0;right:0;bottom:0;left:0}.hp-skip-segment[data-position=bottom-right]{bottom:76px;right:16px}.hp-skip-segment[data-position=bottom-left]{bottom:76px;left:16px}.hp-skip-segment[data-position=top-right]{top:16px;right:16px}.hp-skip-segment[data-position=top-left]{top:16px;left:16px}.video-area[data-chrome-hidden] .hp-skip-segment[data-position^=bottom]{bottom:16px}.video-area[data-chrome-hidden] .hp-skip-segment[data-faded]{opacity:0;pointer-events:none}.video-area[data-compact] .hp-skip-segment{padding:7px 12px;font-size:12px}.video-area[data-compact] .hp-skip-segment[data-position^=bottom]{bottom:56px}.video-area[data-compact][data-chrome-hidden] .hp-skip-segment[data-position^=bottom]{bottom:10px}@media(prefers-reduced-motion:reduce){.hp-skip-segment{animation:none}}.hp-quality-badge{background:var(--hp-quality-badge-bg,var(--hp-color-accent,#fff));color:var(--hp-quality-badge-color,var(--hp-color-on-accent,#0a0a0a));letter-spacing:.02em;pointer-events:none;border-radius:3px;padding:0 2px;font:800 8px/1.3 system-ui,-apple-system,sans-serif;position:absolute;top:1px;right:-5px;box-shadow:0 1px 3px #00000073}.hp-quality-badge[hidden]{display:none}.video-area[data-compact] .hp-quality-badge{font-size:7px;top:0}.hp-quality-badge[data-low]{color:#0a0a0a;background:#ffffffb3}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-gradient-position{syntax:"*";inherits:false}@property --tw-gradient-from{syntax:"<color>";inherits:false;initial-value:#0000}@property --tw-gradient-via{syntax:"<color>";inherits:false;initial-value:#0000}@property --tw-gradient-to{syntax:"<color>";inherits:false;initial-value:#0000}@property --tw-gradient-stops{syntax:"*";inherits:false}@property --tw-gradient-via-stops{syntax:"*";inherits:false}@property --tw-gradient-from-position{syntax:"<length-percentage>";inherits:false;initial-value:0%}@property --tw-gradient-via-position{syntax:"<length-percentage>";inherits:false;initial-value:50%}@property --tw-gradient-to-position{syntax:"<length-percentage>";inherits:false;initial-value:100%}@property --tw-leading{syntax:"*";inherits:false}@property --tw-font-weight{syntax:"*";inherits:false}@property --tw-ordinal{syntax:"*";inherits:false}@property --tw-slashed-zero{syntax:"*";inherits:false}@property --tw-numeric-figure{syntax:"*";inherits:false}@property --tw-numeric-spacing{syntax:"*";inherits:false}@property --tw-numeric-fraction{syntax:"*";inherits:false}@property --tw-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:"*";inherits:false}@property --tw-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:"*";inherits:false}@property --tw-inset-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:"*";inherits:false}@property --tw-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:"*";inherits:false}@property --tw-inset-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:"*";inherits:false}@property --tw-ring-offset-width{syntax:"<length>";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:"*";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-blur{syntax:"*";inherits:false}@property --tw-brightness{syntax:"*";inherits:false}@property --tw-contrast{syntax:"*";inherits:false}@property --tw-grayscale{syntax:"*";inherits:false}@property --tw-hue-rotate{syntax:"*";inherits:false}@property --tw-invert{syntax:"*";inherits:false}@property --tw-opacity{syntax:"*";inherits:false}@property --tw-saturate{syntax:"*";inherits:false}@property --tw-sepia{syntax:"*";inherits:false}@property --tw-drop-shadow{syntax:"*";inherits:false}@property --tw-drop-shadow-color{syntax:"*";inherits:false}@property --tw-drop-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-drop-shadow-size{syntax:"*";inherits:false}@property --tw-duration{syntax:"*";inherits:false}@keyframes spin{to{transform:rotate(360deg)}}';
|
|
5
|
-
function
|
|
1
|
+
var Fe = Object.defineProperty;
|
|
2
|
+
var Ie = (n, t, e) => t in n ? Fe(n, t, { enumerable: !0, configurable: !0, writable: !0, value: e }) : n[t] = e;
|
|
3
|
+
var s = (n, t, e) => Ie(n, typeof t != "symbol" ? t + "" : t, e);
|
|
4
|
+
const De = '/*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-border-style:solid;--tw-gradient-position:initial;--tw-gradient-from:#0000;--tw-gradient-via:#0000;--tw-gradient-to:#0000;--tw-gradient-stops:initial;--tw-gradient-via-stops:initial;--tw-gradient-from-position:0%;--tw-gradient-via-position:50%;--tw-gradient-to-position:100%;--tw-leading:initial;--tw-font-weight:initial;--tw-ordinal:initial;--tw-slashed-zero:initial;--tw-numeric-figure:initial;--tw-numeric-spacing:initial;--tw-numeric-fraction:initial;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--tw-blur:initial;--tw-brightness:initial;--tw-contrast:initial;--tw-grayscale:initial;--tw-hue-rotate:initial;--tw-invert:initial;--tw-opacity:initial;--tw-saturate:initial;--tw-sepia:initial;--tw-drop-shadow:initial;--tw-drop-shadow-color:initial;--tw-drop-shadow-alpha:100%;--tw-drop-shadow-size:initial;--tw-duration:initial}}}@layer theme{:root,:host{--hp-font-sans:-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";--hp-font-mono:ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;--hp-color-black:#000;--hp-color-white:#fff;--hp-spacing:.25rem;--hp-container-xs:20rem;--hp-text-xs:.75rem;--hp-text-xs--line-height:calc(1 / .75);--hp-text-sm:.875rem;--hp-text-sm--line-height:calc(1.25 / .875);--hp-text-base:1rem;--hp-text-base--line-height: 1.5 ;--hp-text-lg:1.125rem;--hp-text-lg--line-height:calc(1.75 / 1.125);--hp-text-xl:1.25rem;--hp-text-xl--line-height:calc(1.75 / 1.25);--hp-text-2xl:1.5rem;--hp-text-2xl--line-height:calc(2 / 1.5);--hp-font-weight-medium:500;--hp-font-weight-semibold:600;--hp-radius-lg:.5rem;--hp-animate-spin:spin 1s linear infinite;--hp-aspect-video:16 / 9;--hp-default-transition-duration:.15s;--hp-default-transition-timing-function:cubic-bezier(.4, 0, .2, 1);--hp-default-font-family:var(--hp-font-sans);--hp-default-mono-font-family:var(--hp-font-mono);--hp-color-accent:#fff;--hp-color-on-accent:#0a0a0a;--hp-color-surface:#0a0a0a;--hp-color-surface-elev:#1a1a1a;--hp-color-on-surface:#fff;--hp-color-on-surface-muted:#a3a3a3}}@layer base{*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;-moz-tab-size:4;tab-size:4;line-height:1.5;font-family:var(--hp-default-font-family,-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");font-feature-settings:var(--hp-default-font-feature-settings,normal);font-variation-settings:var(--hp-default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--hp-default-mono-font-family,ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);font-feature-settings:var(--hp-default-mono-font-feature-settings,normal);font-variation-settings:var(--hp-default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring:where(:not(iframe)){outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab,red,red)){::placeholder{color:color-mix(in oklab,currentcolor 50%,transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){-webkit-appearance:button;-moz-appearance:button;appearance:button}::file-selector-button{-webkit-appearance:button;-moz-appearance:button;appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}@layer components;@layer utilities{.hp\\:pointer-events-auto{pointer-events:auto}.hp\\:pointer-events-none{pointer-events:none}.hp\\:absolute{position:absolute}.hp\\:relative{position:relative}.hp\\:sticky{position:sticky}.hp\\:inset-0{top:0;right:0;bottom:0;left:0}.hp\\:inset-x-0{inset-inline:0}.hp\\:inset-y-0{inset-block:0}.hp\\:top-0{top:0}.hp\\:top-1{top:var(--hp-spacing)}.hp\\:top-1\\/2{top:50%}.hp\\:right-0{right:0}.hp\\:right-1{right:var(--hp-spacing)}.hp\\:right-2{right:calc(var(--hp-spacing) * 2)}.hp\\:bottom-0{bottom:0}.hp\\:bottom-full{bottom:100%}.hp\\:left-1\\/2{left:50%}.hp\\:z-10{z-index:10}.hp\\:z-20{z-index:20}.hp\\:z-30{z-index:30}.hp\\:z-40{z-index:40}.hp\\:m-0{margin:0}.hp\\:my-1{margin-block:var(--hp-spacing)}.hp\\:mt-0\\.5{margin-top:calc(var(--hp-spacing) * .5)}.hp\\:mt-1{margin-top:var(--hp-spacing)}.hp\\:mt-2{margin-top:calc(var(--hp-spacing) * 2)}.hp\\:mt-8{margin-top:calc(var(--hp-spacing) * 8)}.hp\\:mb-1{margin-bottom:var(--hp-spacing)}.hp\\:mb-2{margin-bottom:calc(var(--hp-spacing) * 2)}.hp\\:mb-16{margin-bottom:calc(var(--hp-spacing) * 16)}.hp\\:ml-1{margin-left:var(--hp-spacing)}.hp\\:block{display:block}.hp\\:flex{display:flex}.hp\\:hidden{display:none}.hp\\:inline-block{display:inline-block}.hp\\:aspect-\\[9\\/16\\]{aspect-ratio:9/16}.hp\\:aspect-video{aspect-ratio:var(--hp-aspect-video)}.hp\\:h-0\\.5{height:calc(var(--hp-spacing) * .5)}.hp\\:h-1{height:var(--hp-spacing)}.hp\\:h-1\\/3{height:33.3333%}.hp\\:h-3{height:calc(var(--hp-spacing) * 3)}.hp\\:h-6{height:calc(var(--hp-spacing) * 6)}.hp\\:h-7{height:calc(var(--hp-spacing) * 7)}.hp\\:h-8{height:calc(var(--hp-spacing) * 8)}.hp\\:h-9{height:calc(var(--hp-spacing) * 9)}.hp\\:h-10{height:calc(var(--hp-spacing) * 10)}.hp\\:h-16{height:calc(var(--hp-spacing) * 16)}.hp\\:h-20{height:calc(var(--hp-spacing) * 20)}.hp\\:h-\\[var\\(--hp-ctrl-btn-size\\)\\]{height:var(--hp-ctrl-btn-size)}.hp\\:h-\\[var\\(--hp-seek-hit-h\\)\\]{height:var(--hp-seek-hit-h)}.hp\\:h-\\[var\\(--hp-seek-track-h\\)\\]{height:var(--hp-seek-track-h)}.hp\\:h-full{height:100%}.hp\\:max-h-64{max-height:calc(var(--hp-spacing) * 64)}.hp\\:max-h-80{max-height:calc(var(--hp-spacing) * 80)}.hp\\:w-0{width:0}.hp\\:w-0\\.5{width:calc(var(--hp-spacing) * .5)}.hp\\:w-1{width:var(--hp-spacing)}.hp\\:w-1\\.5{width:calc(var(--hp-spacing) * 1.5)}.hp\\:w-3{width:calc(var(--hp-spacing) * 3)}.hp\\:w-6{width:calc(var(--hp-spacing) * 6)}.hp\\:w-7{width:calc(var(--hp-spacing) * 7)}.hp\\:w-8{width:calc(var(--hp-spacing) * 8)}.hp\\:w-9{width:calc(var(--hp-spacing) * 9)}.hp\\:w-10{width:calc(var(--hp-spacing) * 10)}.hp\\:w-14{width:calc(var(--hp-spacing) * 14)}.hp\\:w-16{width:calc(var(--hp-spacing) * 16)}.hp\\:w-48{width:calc(var(--hp-spacing) * 48)}.hp\\:w-72{width:calc(var(--hp-spacing) * 72)}.hp\\:w-\\[var\\(--hp-ctrl-btn-size\\)\\]{width:var(--hp-ctrl-btn-size)}.hp\\:w-full{width:100%}.hp\\:max-w-\\[80\\%\\]{max-width:80%}.hp\\:max-w-\\[85\\%\\]{max-width:85%}.hp\\:max-w-full{max-width:100%}.hp\\:max-w-xs{max-width:var(--hp-container-xs)}.hp\\:min-w-0{min-width:0}.hp\\:flex-1{flex:1}.hp\\:flex-shrink-0,.hp\\:shrink-0{flex-shrink:0}.hp\\:animate-spin{animation:var(--hp-animate-spin)}.hp\\:cursor-pointer{cursor:pointer}.hp\\:touch-none{touch-action:none}.hp\\:list-none{list-style-type:none}.hp\\:flex-col{flex-direction:column}.hp\\:flex-wrap{flex-wrap:wrap}.hp\\:items-center{align-items:center}.hp\\:items-end{align-items:flex-end}.hp\\:justify-between{justify-content:space-between}.hp\\:justify-center{justify-content:center}.hp\\:gap-0\\.5{gap:calc(var(--hp-spacing) * .5)}.hp\\:gap-1{gap:var(--hp-spacing)}.hp\\:gap-1\\.5{gap:calc(var(--hp-spacing) * 1.5)}.hp\\:gap-2{gap:calc(var(--hp-spacing) * 2)}.hp\\:gap-3{gap:calc(var(--hp-spacing) * 3)}.hp\\:self-end{align-self:flex-end}.hp\\:truncate{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.hp\\:overflow-hidden{overflow:hidden}.hp\\:overflow-y-auto{overflow-y:auto}.hp\\:rounded{border-radius:.25rem}.hp\\:rounded-full{border-radius:3.40282e38px}.hp\\:rounded-lg{border-radius:var(--hp-radius-lg)}.hp\\:border{border-style:var(--tw-border-style);border-width:1px}.hp\\:border-0{border-style:var(--tw-border-style);border-width:0}.hp\\:border-2{border-style:var(--tw-border-style);border-width:2px}.hp\\:border-\\[3px\\]{border-style:var(--tw-border-style);border-width:3px}.hp\\:border-t{border-top-style:var(--tw-border-style);border-top-width:1px}.hp\\:border-on-surface\\/10{border-color:var(--hp-color-on-surface)}@supports (color:color-mix(in lab,red,red)){.hp\\:border-on-surface\\/10{border-color:color-mix(in oklab,var(--hp-color-on-surface) 10%,transparent)}}.hp\\:border-on-surface\\/20{border-color:var(--hp-color-on-surface)}@supports (color:color-mix(in lab,red,red)){.hp\\:border-on-surface\\/20{border-color:color-mix(in oklab,var(--hp-color-on-surface) 20%,transparent)}}.hp\\:border-on-surface\\/30{border-color:var(--hp-color-on-surface)}@supports (color:color-mix(in lab,red,red)){.hp\\:border-on-surface\\/30{border-color:color-mix(in oklab,var(--hp-color-on-surface) 30%,transparent)}}.hp\\:border-t-accent{border-top-color:var(--hp-color-accent)}.hp\\:bg-accent,.hp\\:bg-accent\\/15{background-color:var(--hp-color-accent)}@supports (color:color-mix(in lab,red,red)){.hp\\:bg-accent\\/15{background-color:color-mix(in oklab,var(--hp-color-accent) 15%,transparent)}}.hp\\:bg-black,.hp\\:bg-black\\/30{background-color:var(--hp-color-black)}@supports (color:color-mix(in lab,red,red)){.hp\\:bg-black\\/30{background-color:color-mix(in oklab,var(--hp-color-black) 30%,transparent)}}.hp\\:bg-black\\/40{background-color:var(--hp-color-black)}@supports (color:color-mix(in lab,red,red)){.hp\\:bg-black\\/40{background-color:color-mix(in oklab,var(--hp-color-black) 40%,transparent)}}.hp\\:bg-black\\/60{background-color:var(--hp-color-black)}@supports (color:color-mix(in lab,red,red)){.hp\\:bg-black\\/60{background-color:color-mix(in oklab,var(--hp-color-black) 60%,transparent)}}.hp\\:bg-black\\/70{background-color:var(--hp-color-black)}@supports (color:color-mix(in lab,red,red)){.hp\\:bg-black\\/70{background-color:color-mix(in oklab,var(--hp-color-black) 70%,transparent)}}.hp\\:bg-black\\/85{background-color:var(--hp-color-black)}@supports (color:color-mix(in lab,red,red)){.hp\\:bg-black\\/85{background-color:color-mix(in oklab,var(--hp-color-black) 85%,transparent)}}.hp\\:bg-on-surface,.hp\\:bg-on-surface\\/20{background-color:var(--hp-color-on-surface)}@supports (color:color-mix(in lab,red,red)){.hp\\:bg-on-surface\\/20{background-color:color-mix(in oklab,var(--hp-color-on-surface) 20%,transparent)}}.hp\\:bg-on-surface\\/25{background-color:var(--hp-color-on-surface)}@supports (color:color-mix(in lab,red,red)){.hp\\:bg-on-surface\\/25{background-color:color-mix(in oklab,var(--hp-color-on-surface) 25%,transparent)}}.hp\\:bg-on-surface\\/40{background-color:var(--hp-color-on-surface)}@supports (color:color-mix(in lab,red,red)){.hp\\:bg-on-surface\\/40{background-color:color-mix(in oklab,var(--hp-color-on-surface) 40%,transparent)}}.hp\\:bg-surface{background-color:var(--hp-color-surface)}.hp\\:bg-surface-elev{background-color:var(--hp-color-surface-elev)}.hp\\:bg-transparent{background-color:#0000}.hp\\:bg-white,.hp\\:bg-white\\/15{background-color:var(--hp-color-white)}@supports (color:color-mix(in lab,red,red)){.hp\\:bg-white\\/15{background-color:color-mix(in oklab,var(--hp-color-white) 15%,transparent)}}.hp\\:bg-white\\/30{background-color:var(--hp-color-white)}@supports (color:color-mix(in lab,red,red)){.hp\\:bg-white\\/30{background-color:color-mix(in oklab,var(--hp-color-white) 30%,transparent)}}.hp\\:bg-white\\/40{background-color:var(--hp-color-white)}@supports (color:color-mix(in lab,red,red)){.hp\\:bg-white\\/40{background-color:color-mix(in oklab,var(--hp-color-white) 40%,transparent)}}.hp\\:bg-gradient-to-t{--tw-gradient-position:to top in oklab;background-image:linear-gradient(var(--tw-gradient-stops))}.hp\\:from-black\\/80{--tw-gradient-from:var(--hp-color-black)}@supports (color:color-mix(in lab,red,red)){.hp\\:from-black\\/80{--tw-gradient-from:color-mix(in oklab, var(--hp-color-black) 80%, transparent)}}.hp\\:from-black\\/80{--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.hp\\:to-transparent{--tw-gradient-to:transparent;--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.hp\\:bg-cover{background-size:cover}.hp\\:bg-center{background-position:50%}.hp\\:object-cover{object-fit:cover}.hp\\:p-0{padding:0}.hp\\:p-1\\.5{padding:calc(var(--hp-spacing) * 1.5)}.hp\\:p-2{padding:calc(var(--hp-spacing) * 2)}.hp\\:p-3{padding:calc(var(--hp-spacing) * 3)}.hp\\:p-4{padding:calc(var(--hp-spacing) * 4)}.hp\\:px-1{padding-inline:var(--hp-spacing)}.hp\\:px-1\\.5{padding-inline:calc(var(--hp-spacing) * 1.5)}.hp\\:px-2{padding-inline:calc(var(--hp-spacing) * 2)}.hp\\:px-3{padding-inline:calc(var(--hp-spacing) * 3)}.hp\\:px-4{padding-inline:calc(var(--hp-spacing) * 4)}.hp\\:py-1{padding-block:var(--hp-spacing)}.hp\\:py-1\\.5{padding-block:calc(var(--hp-spacing) * 1.5)}.hp\\:py-2{padding-block:calc(var(--hp-spacing) * 2)}.hp\\:pt-6{padding-top:calc(var(--hp-spacing) * 6)}.hp\\:pb-2{padding-bottom:calc(var(--hp-spacing) * 2)}.hp\\:text-center{text-align:center}.hp\\:text-left{text-align:left}.hp\\:font-mono{font-family:var(--hp-font-mono)}.hp\\:text-2xl{font-size:var(--hp-text-2xl);line-height:var(--tw-leading,var(--hp-text-2xl--line-height))}.hp\\:text-base{font-size:var(--hp-text-base);line-height:var(--tw-leading,var(--hp-text-base--line-height))}.hp\\:text-lg{font-size:var(--hp-text-lg);line-height:var(--tw-leading,var(--hp-text-lg--line-height))}.hp\\:text-sm{font-size:var(--hp-text-sm);line-height:var(--tw-leading,var(--hp-text-sm--line-height))}.hp\\:text-xl{font-size:var(--hp-text-xl);line-height:var(--tw-leading,var(--hp-text-xl--line-height))}.hp\\:text-xs{font-size:var(--hp-text-xs);line-height:var(--tw-leading,var(--hp-text-xs--line-height))}.hp\\:text-\\[length\\:var\\(--hp-ctrl-icon-size\\)\\]{font-size:var(--hp-ctrl-icon-size)}.hp\\:leading-none{--tw-leading:1;line-height:1}.hp\\:font-medium{--tw-font-weight:var(--hp-font-weight-medium);font-weight:var(--hp-font-weight-medium)}.hp\\:font-semibold{--tw-font-weight:var(--hp-font-weight-semibold);font-weight:var(--hp-font-weight-semibold)}.hp\\:whitespace-nowrap{white-space:nowrap}.hp\\:text-accent{color:var(--hp-color-accent)}.hp\\:text-on-accent{color:var(--hp-color-on-accent)}.hp\\:text-on-surface{color:var(--hp-color-on-surface)}.hp\\:text-on-surface-muted{color:var(--hp-color-on-surface-muted)}.hp\\:text-white{color:var(--hp-color-white)}.hp\\:tabular-nums{--tw-numeric-spacing:tabular-nums;font-variant-numeric:var(--tw-ordinal,) var(--tw-slashed-zero,) var(--tw-numeric-figure,) var(--tw-numeric-spacing,) var(--tw-numeric-fraction,)}.hp\\:underline{text-decoration-line:underline}.hp\\:opacity-0{opacity:0}.hp\\:opacity-60{opacity:.6}.hp\\:opacity-70{opacity:.7}.hp\\:opacity-80{opacity:.8}.hp\\:opacity-90{opacity:.9}.hp\\:shadow-lg{--tw-shadow:0 10px 15px -3px var(--tw-shadow-color,#0000001a), 0 4px 6px -4px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.hp\\:shadow-xl{--tw-shadow:0 20px 25px -5px var(--tw-shadow-color,#0000001a), 0 8px 10px -6px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.hp\\:drop-shadow{--tw-drop-shadow-size:drop-shadow(0 1px 2px var(--tw-drop-shadow-color,#0000001a)) drop-shadow(0 1px 1px var(--tw-drop-shadow-color,#0000000f));--tw-drop-shadow:drop-shadow(0 1px 2px #0000001a) drop-shadow(0 1px 1px #0000000f);filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.hp\\:transition-\\[height\\]{transition-property:height;transition-timing-function:var(--tw-ease,var(--hp-default-transition-timing-function));transition-duration:var(--tw-duration,var(--hp-default-transition-duration))}.hp\\:transition-opacity{transition-property:opacity;transition-timing-function:var(--tw-ease,var(--hp-default-transition-timing-function));transition-duration:var(--tw-duration,var(--hp-default-transition-duration))}.hp\\:transition-transform{transition-property:transform,translate,scale,rotate;transition-timing-function:var(--tw-ease,var(--hp-default-transition-timing-function));transition-duration:var(--tw-duration,var(--hp-default-transition-duration))}.hp\\:duration-100{--tw-duration:.1s;transition-duration:.1s}.hp\\:duration-150{--tw-duration:.15s;transition-duration:.15s}.hp\\:duration-200{--tw-duration:.2s;transition-duration:.2s}.hp\\:duration-300{--tw-duration:.3s;transition-duration:.3s}.hp\\:will-change-\\[opacity\\]{will-change:opacity}.hp\\:select-none{-webkit-user-select:none;user-select:none}@media(hover:hover){.hp\\:group-hover\\:h-\\[var\\(--hp-seek-track-h-hover\\)\\]:is(:where(.hp\\:group):hover *){height:var(--hp-seek-track-h-hover)}.hp\\:hover\\:bg-on-surface\\/5:hover{background-color:var(--hp-color-on-surface)}@supports (color:color-mix(in lab,red,red)){.hp\\:hover\\:bg-on-surface\\/5:hover{background-color:color-mix(in oklab,var(--hp-color-on-surface) 5%,transparent)}}.hp\\:hover\\:bg-on-surface\\/10:hover{background-color:var(--hp-color-on-surface)}@supports (color:color-mix(in lab,red,red)){.hp\\:hover\\:bg-on-surface\\/10:hover{background-color:color-mix(in oklab,var(--hp-color-on-surface) 10%,transparent)}}.hp\\:hover\\:opacity-80:hover{opacity:.8}}.hp\\:data-\\[active\\=true\\]\\:bg-accent\\/15[data-active=true]{background-color:var(--hp-color-accent)}@supports (color:color-mix(in lab,red,red)){.hp\\:data-\\[active\\=true\\]\\:bg-accent\\/15[data-active=true]{background-color:color-mix(in oklab,var(--hp-color-accent) 15%,transparent)}}.hp\\:data-\\[active\\=true\\]\\:text-on-surface[data-active=true]{color:var(--hp-color-on-surface)}}.hp-icon{font-variant:normal;text-transform:none;speak:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-family:hope-icons;font-style:normal;font-weight:400;line-height:1}.hp-icon-airplay:before{content:""}.hp-icon-cast-connected:before{content:""}.hp-icon-cast:before{content:""}.hp-icon-check:before{content:""}.hp-icon-chevron-left:before{content:""}.hp-icon-close:before{content:""}.hp-icon-fullscreen-enter:before{content:""}.hp-icon-fullscreen-exit:before{content:""}.hp-icon-grid:before{content:""}.hp-icon-loop:before{content:""}.hp-icon-pause:before{content:""}.hp-icon-pip:before{content:""}.hp-icon-play:before{content:""}.hp-icon-settings:before{content:""}.hp-icon-skip-back:before{content:""}.hp-icon-skip-forward:before{content:""}.hp-icon-volume-high:before{content:""}.hp-icon-volume-low:before{content:""}.hp-icon-volume-muted:before{content:""}.hp-icon-warning:before{content:""}:host{--hp-radius:8px;--hp-chip-bg:#ffffff14;--hp-chip-bg-hover:#ffffff2e;--hp-chip-bg-active:#ffffff42;--hp-chip-border:#ffffff29;--hp-chip-border-hover:#ffffff4d;--hp-chip-blur:14px;--hp-chip-shadow:0 4px 18px #00000047, inset 0 1px 0 #ffffff12;--hp-chip-radius:10px;--hp-chip-text:var(--hp-color-on-surface,#fff);--hp-chrome-scrim:linear-gradient(to top, #00000080 0%, #0000003d 50%, #0000 100%);--hp-chrome-scrim-height:min(150px, 45%);--hp-chip-backdrop-brightness:.78;--hp-ctrl-shadow:drop-shadow(0 1px 1.5px #0000008c);--hp-panel-bg:#ffffffb8;--hp-panel-blur:26px;--hp-panel-border:#0f11171a;--hp-panel-text:#15171c;--hp-panel-text-muted:#5b6270;--hp-panel-text-shadow:none;--hp-ctrl-btn-size:32px;--hp-ctrl-icon-size:16px;--hp-seek-hit-h:16px;--hp-seek-track-h:4px;--hp-seek-track-h-hover:6px;--hp-seek-thumb-size:12px;--hp-tooltip-bg:#ffffffe6;--hp-tooltip-text:#15171c;--hp-tooltip-key-bg:#0f11171a;--hp-tooltip-key-text:#15171c;--hp-caption-font-size:16px;--hp-caption-bg:#000000bf;--hp-caption-text:#fff;--hp-caption-radius:4px;background:var(--hp-color-surface,#0a0a0a);width:100%;color:var(--hp-color-on-surface,#fff);border-radius:var(--hp-radius);font-family:system-ui,-apple-system,sans-serif;line-height:1;display:block}.hp-chip{background:var(--hp-chip-bg);border:1px solid var(--hp-chip-border);border-radius:var(--hp-chip-radius);-webkit-backdrop-filter:blur(var(--hp-chip-blur)) saturate(160%);box-shadow:var(--hp-chip-shadow);color:var(--hp-chip-text);transition:background-color .16s,border-color .16s,box-shadow .16s,transform .12s}.hp-chip:hover{background:var(--hp-chip-bg-hover);border-color:var(--hp-chip-border-hover)}button.hp-chip:active{background:var(--hp-chip-bg-active);transform:scale(.94)}.hp-chip:focus-visible{outline:2px solid var(--hp-color-accent,#fff);outline-offset:2px}.hp-chip-panel,.hp-chip-panel:hover{background:var(--hp-panel-bg);border-color:var(--hp-panel-border);-webkit-backdrop-filter:blur(var(--hp-panel-blur)) saturate(160%);text-shadow:var(--hp-panel-text-shadow,none)}.hp-chip-panel{--hp-color-on-surface:var(--hp-panel-text);--hp-color-on-surface-muted:var(--hp-panel-text-muted);color:var(--hp-panel-text)}.hp-tooltip{background:var(--hp-tooltip-bg);color:var(--hp-tooltip-text);border-radius:calc(var(--hp-radius) * .75);-webkit-backdrop-filter:blur(12px)saturate(160%);font-weight:500;box-shadow:0 4px 14px #00000059}.hp-tooltip-key{background:var(--hp-tooltip-key-bg);min-width:16px;height:16px;color:var(--hp-tooltip-key-text);text-transform:uppercase;border-radius:4px;justify-content:center;align-items:center;padding:0 4px;font-size:10px;font-weight:700;line-height:16px;display:inline-flex}.hp-group{background:var(--hp-chip-bg);border:1px solid var(--hp-chip-border);-webkit-backdrop-filter:blur(var(--hp-chip-blur)) saturate(160%) brightness(var(--hp-chip-backdrop-brightness,1));box-shadow:var(--hp-chip-shadow);border-radius:9999px}.hp-group-left{position:relative}.hp-loading-ring{border-radius:inherit;pointer-events:none;opacity:0;filter:drop-shadow(0 0 3px var(--hp-color-accent,#fff));transition:opacity .22s;position:absolute;top:-1px;right:-1px;bottom:-1px;left:-1px}@supports (color:color-mix(in lab,red,red)){.hp-loading-ring{filter:drop-shadow(0 0 3px color-mix(in srgb,var(--hp-color-accent,#fff) 70%,transparent))}}.hp-loading-ring-mask{border-radius:inherit;-webkit-mask-composite:xor;padding:2px;position:absolute;top:0;right:0;bottom:0;left:0;overflow:hidden;-webkit-mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);-webkit-mask-composite:xor,source-over;mask:linear-gradient(#000 0 0) content-box exclude,linear-gradient(#000 0 0)}.hp-loading-ring-mask>span{aspect-ratio:1;background:conic-gradient(from 0deg,transparent 0deg 150deg,var(--hp-color-accent,#fff) 260deg,var(--hp-color-accent,#fff) 340deg,transparent 360deg);width:max(100%,160px);position:absolute;top:50%;left:50%;translate:-50% -50%}@supports (color:color-mix(in lab,red,red)){.hp-loading-ring-mask>span{background:conic-gradient(from 0deg,transparent 0deg 150deg,color-mix(in srgb,var(--hp-color-accent,#fff) 30%,transparent) 260deg,var(--hp-color-accent,#fff) 340deg,transparent 360deg)}}.hp-loading-ring-mask>span{animation:1.1s linear infinite paused hp-loading-ring-spin}.hp-group-left[data-loading]>.hp-loading-ring{opacity:1}.hp-group-left[data-loading]>.hp-loading-ring .hp-loading-ring-mask>span{animation-play-state:running}@keyframes hp-loading-ring-spin{to{rotate:360deg}}@media(prefers-reduced-motion:reduce){.hp-loading-ring-mask>span{background:var(--hp-color-accent,#fff);animation:none}.hp-group-left[data-loading]>.hp-loading-ring{animation:1.6s ease-in-out infinite hp-loading-ring-pulse}}@keyframes hp-loading-ring-pulse{50%{opacity:.35}}.hp-center-play>.hp-chip{-webkit-backdrop-filter:blur(var(--hp-chip-blur)) saturate(160%) brightness(var(--hp-chip-backdrop-brightness,1))}.hp-group .hp-icon,.hp-group [part=time-display],.hp-group .hp-live-badge,.hp-group [part=live-clock],.hp-group .hp-skip-num,.hp-center-play .hp-icon{filter:var(--hp-ctrl-shadow,none)}.hp-chrome:before{content:"";height:var(--hp-chrome-scrim-height);background:var(--hp-chrome-scrim);pointer-events:none;position:absolute;bottom:0;left:0;right:0}.video-area[data-compact]>.hp-chrome:after{content:"";background:var(--hp-chrome-scrim);opacity:.7;pointer-events:none;height:min(90px,30%);position:absolute;top:0;left:0;right:0;transform:scaleY(-1)}.hp-group button.hp-chip{box-shadow:none;-webkit-backdrop-filter:none;background:0 0;border-color:#0000}.hp-group button.hp-chip:hover{background:var(--hp-chip-bg-hover)}.hp-group button.hp-chip:active{background:var(--hp-chip-bg-active)}:host([data-theme=glass-dark]),:host([data-theme=neo-dark]),:host([data-theme=mono]){--hp-panel-bg:#0a0a0e8c;--hp-panel-border:#ffffff1a;--hp-panel-text:#fff;--hp-panel-text-muted:#a3a3a3;--hp-panel-text-shadow:0 1px 3px #000000a6;--hp-tooltip-bg:#0a0a0aeb;--hp-tooltip-text:#fff;--hp-tooltip-key-bg:#ffffff2e;--hp-tooltip-key-text:#fff}:host([data-theme=glass-dark]){--hp-chip-bg:#0a0a0e73;--hp-chip-bg-hover:#0a0a0e9e;--hp-chip-bg-active:#0a0a0ebf;--hp-chip-border:#ffffff14;--hp-chip-border-hover:#ffffff29;--hp-chip-shadow:0 4px 18px #0006, inset 0 1px 0 #ffffff0a;--hp-panel-bg:#08080cb8;--hp-chip-backdrop-brightness:1}:host([data-theme=neo-dark]){--hp-chip-bg:#24242a;--hp-chip-bg-hover:#2a2a31;--hp-chip-bg-active:#1e1e23;--hp-chip-border:transparent;--hp-chip-border-hover:transparent;--hp-chip-blur:0px;--hp-chip-shadow:5px 5px 10px #00000080, -4px -4px 9px #ffffff09;--hp-chip-radius:12px;--hp-color-surface:#1b1b20;--hp-panel-bg:#1e1e23;--hp-panel-text-shadow:none;--hp-chrome-scrim:none;--hp-chip-backdrop-brightness:1;--hp-ctrl-shadow:none}:host([data-theme=neo-dark]) button.hp-chip:active{box-shadow:inset 3px 3px 6px #00000080,inset -2px -2px 5px #ffffff08}:host([data-theme=mono]){--hp-chip-bg:#ffffff0a;--hp-chip-bg-hover:#ffffff1a;--hp-chip-border:#ffffff14;--hp-chip-border-hover:#ffffff24;--hp-chip-blur:0px;--hp-chip-shadow:none;--hp-panel-bg:#0a0a0aeb;--hp-panel-text-shadow:none}@media(pointer:coarse){:host{--hp-ctrl-btn-size:40px;--hp-ctrl-icon-size:18px;--hp-seek-hit-h:22px;--hp-seek-track-h:5px;--hp-seek-track-h-hover:7px;--hp-seek-thumb-size:14px;--hp-caption-font-size:19px}}:host(:is(:fullscreen,:-webkit-full-screen)){--hp-ctrl-btn-size:44px;--hp-ctrl-icon-size:20px;--hp-seek-hit-h:26px;--hp-seek-track-h:6px;--hp-seek-track-h-hover:8px;--hp-seek-thumb-size:18px;--hp-caption-font-size:22px}:host(:is(:fullscreen,:-webkit-full-screen)) [part=control-bar]{padding:28px 20px 18px}.video-area{width:100%;aspect-ratio:var(--hp-aspect-ratio,16 / 9);border-radius:var(--hp-radius);background:var(--hp-color-surface,#0a0a0a);position:relative;overflow:hidden}.video-area[data-compact]{--hp-caption-font-size:13px}.video-area[data-story]{aspect-ratio:9/16;max-width:49.5vh;max-height:88vh;margin:0 auto}:host(:is(:fullscreen,:-webkit-full-screen)){background:#000;border-radius:0}:host(:is(:fullscreen,:-webkit-full-screen)) .hp-root{height:100%}:host(:is(:fullscreen,:-webkit-full-screen)) .video-area{aspect-ratio:auto;background:#000;border-radius:0;width:100%;height:100%}:host(:is(:fullscreen,:-webkit-full-screen)) .video-area[data-story]{aspect-ratio:9/16;width:auto;max-width:100%;height:100%;max-height:none;margin:0 auto}.media-layer{position:absolute;top:0;right:0;bottom:0;left:0}.media-layer video{object-fit:contain;background:#000;width:100%;height:100%}.hp-center-x{transform:translate(-50%)}.hp-center-y{transform:translateY(-50%)}.hp-chip-panel[data-drop]{margin-top:8px;margin-bottom:0;top:100%;bottom:auto}.hp-top-bar{pointer-events:none;display:flex;position:absolute;top:8px;right:8px}.hp-top-bar>*{pointer-events:auto}.hp-story-list-btn{top:calc(8px + var(--hp-ctrl-btn-size) + 18px);right:12px}:host([data-cursor-hidden]),:host([data-cursor-hidden]) *{cursor:none!important}.hp-unmute-badge{z-index:25;background:var(--hp-tooltip-bg);color:var(--hp-tooltip-text);-webkit-backdrop-filter:blur(12px)saturate(160%);font:inherit;cursor:pointer;border:0;border-radius:9999px;align-items:center;gap:6px;padding:6px 12px 6px 10px;font-size:13px;font-weight:600;display:none;position:absolute;top:10px;left:10px;box-shadow:0 4px 14px #00000059}@media(hover:none)and (pointer:coarse){.hp-volume{display:none!important}.hp-unmute-badge[data-visible]{display:inline-flex}}.hp-error-screen{z-index:30;background:var(--hp-color-surface);justify-content:center;align-items:center;padding:12px;display:none;position:absolute;top:0;right:0;bottom:0;left:0}@supports (color:color-mix(in lab,red,red)){.hp-error-screen{background:color-mix(in srgb,var(--hp-color-surface) 94%,transparent)}}.hp-error-screen{-webkit-backdrop-filter:blur(16px)saturate(140%);color:var(--hp-color-on-surface);text-align:center;container-type:size}.hp-error-screen[data-visible]{animation:.22s hp-error-in;display:flex}@keyframes hp-error-in{0%{opacity:0}}.hp-error-card{flex-direction:column;align-items:center;gap:10px;max-width:340px;display:flex}.hp-error-icon{border:1px solid var(--hp-color-on-surface);border-radius:9999px;place-items:center;width:48px;height:48px;display:grid}@supports (color:color-mix(in lab,red,red)){.hp-error-icon{border:1px solid color-mix(in srgb,var(--hp-color-on-surface) 18%,transparent)}}.hp-error-icon{background:var(--hp-color-on-surface)}@supports (color:color-mix(in lab,red,red)){.hp-error-icon{background:color-mix(in srgb,var(--hp-color-on-surface) 8%,transparent)}}.hp-error-icon{margin-bottom:2px;font-size:22px}.hp-error-message{margin:0;font-size:14px;font-weight:600;line-height:1.45}.hp-error-code{color:var(--hp-color-on-surface-muted);font-variant-numeric:tabular-nums;margin:-4px 0 0;font-size:12px}.hp-error-retry{border:1px solid var(--hp-chip-border);background:var(--hp-chip-bg);color:var(--hp-color-on-surface);font:inherit;cursor:pointer;border-radius:9999px;align-items:center;gap:6px;margin-top:6px;padding:7px 14px 7px 12px;font-size:13px;font-weight:600;transition:background-color .15s,border-color .15s;display:inline-flex}.hp-error-retry:hover{background:var(--hp-chip-bg-hover);border-color:var(--hp-chip-border-hover)}.hp-error-retry:focus-visible{outline:2px solid var(--hp-color-accent);outline-offset:2px}@container (max-height:240px){.hp-error-card{gap:6px}.hp-error-icon{width:36px;height:36px;margin-bottom:0;font-size:16px}.hp-error-message{font-size:13px}.hp-error-code{margin-top:-2px;font-size:11px}.hp-error-retry{margin-top:2px;padding:5px 12px 5px 10px;font-size:12px}}.hp-context-menu,.hp-stats,.hp-debug{border:1px solid var(--hp-panel-border);background:var(--hp-panel-bg);-webkit-backdrop-filter:blur(var(--hp-panel-blur)) saturate(160%);color:var(--hp-panel-text);text-shadow:var(--hp-panel-text-shadow,none);border-radius:10px;position:absolute;box-shadow:0 8px 28px #00000059}.hp-context-menu{z-index:40;min-width:200px;padding:4px;font-size:13px;display:none}.hp-context-menu[data-open]{animation:.12s hp-context-menu-in;display:block}@keyframes hp-context-menu-in{0%{opacity:0;transform:scale(.97)}}.hp-context-menu-item{width:100%;color:inherit;font:inherit;text-align:left;cursor:pointer;background:0 0;border:0;border-radius:6px;justify-content:space-between;align-items:center;gap:16px;padding:8px 10px;display:flex}.hp-context-menu-item[data-info]{cursor:default;font-weight:600}button.hp-context-menu-item:hover,button.hp-context-menu-item:focus-visible{background:var(--hp-panel-text)}@supports (color:color-mix(in lab,red,red)){button.hp-context-menu-item:hover,button.hp-context-menu-item:focus-visible{background:color-mix(in srgb,var(--hp-panel-text) 10%,transparent)}}button.hp-context-menu-item:hover,button.hp-context-menu-item:focus-visible{outline:none}.hp-context-menu-item+.hp-context-menu-item{margin-top:2px}.hp-context-menu-meta{color:var(--hp-panel-text-muted);font-variant-numeric:tabular-nums;font-weight:500}.hp-stats{z-index:28;width:min(360px,100% - 20px);max-height:calc(100% - 20px);padding:8px 12px 10px;font-size:11.5px;top:10px;left:10px;overflow:auto}.hp-stats-header{justify-content:space-between;align-items:center;margin-bottom:6px;font-size:12px;font-weight:700;display:flex}.hp-stats-close{color:inherit;cursor:pointer;background:0 0;border:0;border-radius:9999px;padding:4px;display:inline-flex}.hp-stats-close:hover{background:var(--hp-panel-text)}@supports (color:color-mix(in lab,red,red)){.hp-stats-close:hover{background:color-mix(in srgb,var(--hp-panel-text) 12%,transparent)}}.hp-stats-body{grid-template-columns:auto 1fr;gap:3px 12px;margin:0;display:grid}.hp-stats-body dt{color:var(--hp-panel-text-muted);white-space:nowrap}.hp-stats-body dd{text-overflow:ellipsis;white-space:nowrap;font-variant-numeric:tabular-nums;margin:0;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;overflow:hidden}.hp-seek-fb{z-index:8;border:1px solid var(--hp-chip-border);background:var(--hp-chip-bg);-webkit-backdrop-filter:blur(var(--hp-chip-blur)) saturate(160%);box-shadow:var(--hp-chip-shadow);color:var(--hp-chip-text);pointer-events:none;opacity:0;border-radius:9999px;align-items:center;gap:10px;padding:12px 20px 12px 16px;transition:opacity .18s,translate .22s cubic-bezier(.2,.8,.2,1);display:flex;position:absolute;top:50%}.hp-seek-fb[data-side=forward]{right:7%;translate:14px -50%}.hp-seek-fb[data-side=back]{flex-direction:row-reverse;padding:12px 16px 12px 20px;left:7%;translate:-14px -50%}.hp-seek-fb[data-visible]{opacity:1;translate:0 -50%}.hp-seek-fb-chevrons{display:flex}.hp-seek-fb-chevrons svg{fill:currentColor;opacity:.25;width:16px;height:16px;margin:0 -3px;animation:.9s ease-in-out infinite hp-seek-fb-chevron}.hp-seek-fb[data-side=back] .hp-seek-fb-chevrons{transform:scaleX(-1)}.hp-seek-fb-chevrons svg:nth-child(2){animation-delay:.15s}.hp-seek-fb-chevrons svg:nth-child(3){animation-delay:.3s}@keyframes hp-seek-fb-chevron{0%,to{opacity:.25}40%{opacity:1}}.hp-seek-fb-value{white-space:nowrap;align-items:baseline;gap:3px;display:flex}.hp-seek-fb-num{font-variant-numeric:tabular-nums;font-size:20px;font-weight:700;line-height:1;display:inline-block}.hp-seek-fb-unit{opacity:.75;font-size:12px;font-weight:600}.hp-seek-fb-bump{animation:.26s cubic-bezier(.2,.8,.2,1) hp-seek-fb-bump}@keyframes hp-seek-fb-bump{0%{transform:scale(1.25)}to{transform:scale(1)}}.video-area[data-compact] .hp-seek-fb{padding:8px 12px}.video-area[data-compact] .hp-seek-fb[data-side=forward]{right:4%}.video-area[data-compact] .hp-seek-fb[data-side=back]{padding:8px 12px;left:4%}.video-area[data-compact] .hp-seek-fb-chevrons{display:none}.video-area[data-compact] .hp-seek-fb-num{font-size:16px}.hp-sr-only{clip-path:inset(50%);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}@media(prefers-reduced-motion:reduce){.hp-seek-fb,.hp-seek-fb-chevrons svg,.hp-seek-fb-bump{transition:none;animation:none}.hp-seek-fb-chevrons svg{opacity:.8}}.hp-skip-btn{position:relative}.hp-skip-btn>.hp-icon{font-size:calc(var(--hp-ctrl-icon-size) * 1.45)}.hp-skip-num{padding-top:calc(var(--hp-ctrl-icon-size) * .14);font-size:calc(var(--hp-ctrl-icon-size) * .56);letter-spacing:-.02em;font-variant-numeric:tabular-nums;pointer-events:none;justify-content:center;align-items:center;font-weight:700;line-height:1;display:flex;position:absolute;top:0;right:0;bottom:0;left:0}.hp-skip-num[data-long]{font-size:calc(var(--hp-ctrl-icon-size) * .42)}.hp-skip-btn:disabled{opacity:.4;cursor:default}.hp-center-play>.hp-chip{z-index:7;position:relative}.video-area[data-center-play-shifted] .hp-center-play>.hp-chip{width:var(--hp-center-play-size);height:var(--hp-center-play-size);translate:var(--hp-center-play-shift-x,0px) var(--hp-center-play-shift)}.video-area[data-pause-ad-ready]>:is(.media-layer,.hp-chrome,.hp-center-play,.hp-caption-layer,.hp-error-screen,.hp-mini-progress){right:var(--hp-pause-ad-w,0px);transition:right .38s cubic-bezier(.2,.8,.2,1),opacity .2s}.video-area[data-pause-ad] .media-layer video{object-fit:cover}.hp-pause-ad{z-index:25;width:var(--hp-pause-ad-panel-w,332px);box-sizing:border-box;background:var(--hp-color-surface,#0a0a0a);color:var(--hp-color-on-surface,#fff);visibility:hidden;flex-direction:column;justify-content:center;gap:10px;padding:12px 16px;transition:transform .38s cubic-bezier(.2,.8,.2,1),visibility 0s linear .38s;display:flex;position:absolute;top:0;bottom:0;right:0;transform:translate(100%)}.hp-pause-ad[data-open]{visibility:visible;transition:transform .38s cubic-bezier(.2,.8,.2,1);transform:none}.hp-pause-ad-header{justify-content:space-between;align-items:center;gap:8px;display:flex}.hp-pause-ad-label{color:var(--hp-color-on-surface-muted,#ffffffb3);font-size:13px;font-weight:600}.hp-pause-ad-close{width:28px;height:28px;color:var(--hp-color-on-surface,#fff);cursor:pointer;background:0 0;border:0;border-radius:9999px;justify-content:center;align-items:center;padding:0;transition:background-color .15s;display:inline-flex}.hp-pause-ad-close:hover{background:var(--hp-chip-bg-hover)}.hp-pause-ad-body{border-radius:8px;justify-content:center;display:flex;overflow:hidden}.hp-pause-ad-resume{border:1px solid var(--hp-chip-border);background:var(--hp-chip-bg);color:var(--hp-color-on-surface,#fff);font:inherit;cursor:pointer;border-radius:9999px;align-self:stretch;padding:9px 14px;font-size:13px;font-weight:600;transition:background-color .15s,border-color .15s}.hp-pause-ad-resume:hover{background:var(--hp-chip-bg-hover);border-color:var(--hp-chip-border-hover)}.hp-pause-ad-close:focus-visible,.hp-pause-ad-resume:focus-visible{outline:2px solid var(--hp-color-accent);outline-offset:2px}@media(prefers-reduced-motion:reduce){.video-area[data-pause-ad-ready]>:is(.media-layer,.hp-chrome,.hp-center-play,.hp-caption-layer,.hp-error-screen,.hp-mini-progress),.hp-pause-ad,.hp-pause-ad[data-open]{transition:none}}.hp-seek-thumb{width:var(--hp-seek-thumb-size);height:var(--hp-seek-thumb-size);background:var(--hp-color-accent);will-change:translate,scale;pointer-events:none;z-index:2;border-radius:9999px;transition:scale .15s;position:absolute;left:0;scale:.5}.hp-seekbar:hover .hp-seek-thumb,.hp-seekbar:active .hp-seek-thumb,.hp-seekbar:focus-visible .hp-seek-thumb{scale:1}.hp-seekbar[data-no-duration] .hp-seek-thumb{display:none}.hp-seek-hover-dot{width:var(--hp-seek-track-h-hover);height:var(--hp-seek-track-h-hover);background:var(--hp-color-on-surface);opacity:0;pointer-events:none;z-index:1;border-radius:9999px;transition:opacity .12s;position:absolute;top:50%;left:0;box-shadow:0 0 0 1px #00000073}.hp-seek-hover-dot[data-visible]{opacity:.9}.hp-mini-progress{z-index:6;pointer-events:none;background:var(--hp-color-on-surface);height:1px;position:absolute;bottom:0;left:0;right:0}@supports (color:color-mix(in lab,red,red)){.hp-mini-progress{background:color-mix(in srgb,var(--hp-color-on-surface) 25%,transparent)}}.hp-mini-progress{opacity:0;transition:opacity .2s}.hp-mini-progress[data-visible]:not([data-disabled]){opacity:1}.hp-mini-progress-fill{transform-origin:0;will-change:transform;position:absolute;top:0;right:0;bottom:0;left:0;transform:scaleX(0)}.hp-mini-progress-buffered{background:var(--hp-color-on-surface)}@supports (color:color-mix(in lab,red,red)){.hp-mini-progress-buffered{background:color-mix(in srgb,var(--hp-color-on-surface) 40%,transparent)}}.hp-mini-progress-played{background:var(--hp-color-accent)}.hp-seek-time{border-radius:calc(var(--hp-radius) * .75);background:var(--hp-tooltip-bg);color:var(--hp-tooltip-text);-webkit-backdrop-filter:blur(12px)saturate(160%);font-variant-numeric:tabular-nums;white-space:nowrap;pointer-events:none;visibility:hidden;z-index:20;padding:3px 7px;font-size:12px;font-weight:500;position:absolute;bottom:calc(100% + 8px);left:0;box-shadow:0 4px 14px #00000059}.hp-seek-time[data-visible]{visibility:visible}.hp-sprite-tooltip{pointer-events:none;visibility:hidden;z-index:20;flex-direction:column;align-items:center;gap:4px;display:flex;position:absolute;bottom:calc(100% + 8px);left:0}.hp-sprite-tooltip[data-visible]{visibility:visible}.hp-sprite-image{border-radius:calc(var(--hp-radius) * .75);border:2px solid var(--hp-color-on-surface)}@supports (color:color-mix(in lab,red,red)){.hp-sprite-image{border:2px solid color-mix(in srgb,var(--hp-color-on-surface) 85%,transparent)}}.hp-sprite-image{background-color:#000;background-repeat:no-repeat;box-shadow:0 4px 14px #00000059}.hp-sprite-time{background:var(--hp-tooltip-bg);color:var(--hp-tooltip-text);font-variant-numeric:tabular-nums;white-space:nowrap;border-radius:4px;padding:2px 6px;font-size:12px}.hp-live-badge{height:var(--hp-ctrl-btn-size);color:var(--hp-color-on-surface);font:inherit;letter-spacing:.04em;white-space:nowrap;cursor:pointer;background:0 0;border:0;border-radius:9999px;align-items:center;gap:6px;padding:0 8px;font-size:12px;font-weight:600;display:inline-flex}.hp-live-badge:hover{background:var(--hp-chip-bg-hover)}.hp-live-badge:focus-visible,[part=time-display]:focus-visible{outline:2px solid var(--hp-color-accent,#fff);outline-offset:2px}.hp-live-dot{background:var(--hp-live-color,red);border-radius:50%;width:8px;height:8px;transition:background-color .16s}.hp-live-badge[data-behind]{color:var(--hp-color-on-surface-muted)}.hp-live-badge[data-behind] .hp-live-dot{background:var(--hp-color-on-surface)}@supports (color:color-mix(in lab,red,red)){.hp-live-badge[data-behind] .hp-live-dot{background:color-mix(in srgb,var(--hp-color-on-surface) 45%,transparent)}}.hp-chapters{pointer-events:none;inset-inline:0;align-items:center;gap:2px;display:flex;position:absolute;top:0;bottom:0}.hp-chapter{min-width:1px;height:var(--hp-seek-track-h);background:var(--hp-color-on-surface);border-radius:1px;position:relative;overflow:hidden}@supports (color:color-mix(in lab,red,red)){.hp-chapter{background:color-mix(in srgb,var(--hp-color-on-surface) 25%,transparent)}}.hp-chapter{transition:height .15s}.hp-seekbar:hover .hp-chapter{height:var(--hp-seek-track-h-hover)}.hp-seekbar .hp-chapter[data-hover]{height:calc(var(--hp-seek-track-h-hover) * 1.6)}.hp-chapter-fill{transform-origin:0;will-change:transform;position:absolute;top:0;right:0;bottom:0;left:0;transform:scaleX(0)}.hp-chapter-buffered{background:var(--hp-color-on-surface)}@supports (color:color-mix(in lab,red,red)){.hp-chapter-buffered{background:color-mix(in srgb,var(--hp-color-on-surface) 40%,transparent)}}.hp-chapter-played{background:var(--hp-color-accent)}.hp-chapter-tooltip{background:var(--hp-tooltip-bg);max-width:240px;color:var(--hp-tooltip-text);border-radius:calc(var(--hp-radius) * .75);-webkit-backdrop-filter:blur(12px)saturate(160%);text-align:center;pointer-events:none;white-space:nowrap;visibility:hidden;z-index:40;flex-direction:column;align-items:center;gap:2px;padding:4px 8px;font-size:12px;line-height:1.3;display:flex;position:absolute;bottom:calc(100% + 6px);left:0;box-shadow:0 4px 14px #00000059}.hp-chapter-tooltip[data-visible]{visibility:visible}.hp-chapter-tooltip-title{text-overflow:ellipsis;max-width:100%;font-weight:600;overflow:hidden}.hp-chapter-tooltip-time{opacity:.75;font-variant-numeric:tabular-nums}:host([data-sticky]){z-index:2147483000;border-radius:var(--hp-radius);box-shadow:0 8px 28px #00000073;width:min(360px,92vw)!important;aspect-ratio:var(--hp-aspect-ratio,16 / 9)!important;position:fixed!important}:host([data-sticky][data-sticky-corner=br]){inset:auto 16px 16px auto}:host([data-sticky][data-sticky-corner=bl]){inset:auto auto 16px 16px}:host([data-sticky][data-sticky-corner=tr]){inset:16px 16px auto auto}:host([data-sticky][data-sticky-corner=tl]){inset:16px auto auto 16px}.hp-caption-layer{z-index:5;pointer-events:none;position:absolute;top:0;right:0;bottom:0;left:0}.hp-caption-bubble{background:var(--hp-caption-bg);width:max-content;max-width:86%;color:var(--hp-caption-text);border-radius:var(--hp-caption-radius);font-size:calc(var(--hp-caption-font-size) * var(--hp-caption-size-multiplier,1));text-align:center;white-space:pre-line;cursor:grab;pointer-events:auto;touch-action:none;-webkit-user-select:none;user-select:none;padding:.3em .6em;line-height:1.4;transition:transform .24s cubic-bezier(.25,.8,.25,1);display:none;position:absolute;bottom:0;left:50%;transform:translate(-50%)}.hp-caption-bubble.hp-caption-visible{display:inline-block}.hp-caption-bubble.hp-caption-dragging,.hp-caption-bubble.hp-caption-no-transition{transition:none}.hp-caption-bubble.hp-caption-dragging{cursor:grabbing}[part=ad-layer][data-nonlinear]{top:auto;bottom:var(--hp-nonlinear-ad-offset,72px);height:var(--hp-nonlinear-ad-height,33%);pointer-events:none}[part=ad-layer][data-nonlinear] *{pointer-events:none}[part=ad-layer][data-nonlinear] :is(iframe,img,a,button){pointer-events:auto}.hp-debug{--hp-panel-text:#f1f1f4;--hp-panel-text-muted:#f1f1f49e;--hp-panel-border:#ffffff1f;text-shadow:none;z-index:30;background:#0e0e12f2;flex-direction:column;min-width:0;font-size:12px;line-height:1.45;display:flex;top:8px;right:8px;bottom:8px;left:8px;overflow:hidden}.hp-debug:focus{outline:none}.hp-debug-header{border-bottom:1px solid var(--hp-panel-border);flex-shrink:0;justify-content:space-between;align-items:center;gap:8px;padding:8px 8px 8px 12px;display:flex}.hp-debug-title{white-space:nowrap;align-items:center;gap:8px;min-width:0;font-size:13px;font-weight:700;display:flex}.hp-debug-count{font-variant-numeric:tabular-nums;background:#f8717138;border-radius:9999px;padding:1px 7px;font-size:11px}.hp-debug-count:empty{display:none}.hp-debug-actions{flex-shrink:0;align-items:center;gap:4px;display:flex}.hp-debug-btn{border:1px solid var(--hp-panel-border);color:inherit;font:inherit;cursor:pointer;background:0 0;border-radius:9999px;padding:4px 10px;font-size:11.5px}.hp-debug-btn:hover:not(:disabled){background:var(--hp-panel-text)}@supports (color:color-mix(in lab,red,red)){.hp-debug-btn:hover:not(:disabled){background:color-mix(in srgb,var(--hp-panel-text) 12%,transparent)}}.hp-debug-btn:disabled{opacity:.45;cursor:default}.hp-debug-list{overscroll-behavior:contain;flex:1;min-height:0;margin:0;padding:6px 12px 10px;list-style:none;overflow:hidden auto}.hp-debug-row{border-left:2px solid var(--hp-panel-text);padding:8px 0 8px 10px}@supports (color:color-mix(in lab,red,red)){.hp-debug-row{border-left:2px solid color-mix(in srgb,var(--hp-panel-text) 25%,transparent)}}.hp-debug-row{min-width:0}.hp-debug-row+.hp-debug-row{margin-top:6px}.hp-debug-row[data-fatal]{border-left-color:#f87171}.hp-debug-row-head{flex-wrap:wrap;align-items:center;gap:6px;margin-bottom:2px;display:flex}.hp-debug-time{color:var(--hp-panel-text-muted);font-variant-numeric:tabular-nums;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace}.hp-debug-source,.hp-debug-fatal{background:var(--hp-panel-text);border-radius:9999px;padding:1px 7px;font-size:10.5px;font-weight:600}@supports (color:color-mix(in lab,red,red)){.hp-debug-source,.hp-debug-fatal{background:color-mix(in srgb,var(--hp-panel-text) 12%,transparent)}}.hp-debug-source[data-source=ads]{background:#f5c4513d}.hp-debug-source[data-source=stream],.hp-debug-source[data-source=media]{background:#60a5fa3d}.hp-debug-fatal{background:#f8717147}.hp-debug-message{overflow-wrap:anywhere;font-weight:600}.hp-debug-repeat{color:var(--hp-panel-text-muted);font-weight:500}.hp-debug-details{grid-template-columns:max-content minmax(0,1fr);gap:1px 10px;margin:4px 0 0;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:11px;display:grid}.hp-debug-details dt{color:var(--hp-panel-text-muted)}.hp-debug-details dd{overflow-wrap:anywhere;min-width:0;margin:0}.hp-debug-empty{color:var(--hp-panel-text-muted);margin:auto;padding:16px}.hp-debug-empty[hidden]{display:none}.hp-ad-return{z-index:25;color:#fff;cursor:pointer;-webkit-tap-highlight-color:transparent;background:#0e0e12d1;border:1px solid #ffffff40;border-radius:999px;padding:10px 16px;font:600 14px/1.2 system-ui,-apple-system,sans-serif;animation:.2s ease-out hp-ad-return-in;position:absolute;bottom:64px;right:12px}@keyframes hp-ad-return-in{0%{opacity:0;transform:translateY(6px)}}:host([data-audio]) .hp-center-play{display:none}.hp-audio{z-index:1;text-align:left;pointer-events:none;color:#fff;background:linear-gradient(160deg,#2a1f2b,#0c0c10);background:radial-gradient(80% 90% at 20% 10%,var(--hp-color-accent,#e5484d),transparent 70%),linear-gradient(160deg,#1d1d24,#0c0c10);position:absolute;top:0;right:0;bottom:0;left:0;overflow:hidden}@supports (color:color-mix(in lab,red,red)){.hp-audio{background:radial-gradient(80% 90% at 20% 10%,color-mix(in srgb,var(--hp-color-accent,#e5484d) 38%,transparent),transparent 70%),linear-gradient(160deg,#1d1d24,#0c0c10)}}.hp-audio-backdrop{position:absolute;top:-8%;right:-8%;bottom:-8%;left:-8%}.hp-audio-backdrop img{object-fit:cover;filter:blur(28px)saturate(1.3)brightness(.55);width:100%;height:100%;transform:scale(1.08)}.hp-audio:not([data-cover]) .hp-audio-backdrop,.hp-audio:not([data-cover]) .hp-audio-sleeve img{display:none}.hp-audio-meta{z-index:3;text-shadow:0 1px 6px #0009;line-height:1.25;display:none;position:absolute;top:12px;left:14px;right:64px}.hp-audio[data-meta] .hp-audio-meta{display:block}.hp-audio-title{white-space:nowrap;text-overflow:ellipsis;font-size:15px;font-weight:700;overflow:hidden}.hp-audio-artist{opacity:.8;white-space:nowrap;text-overflow:ellipsis;margin-top:2px;font-size:12.5px;overflow:hidden}.hp-audio-area{inset:0 0 var(--hp-audio-bottom-space,66px) 0;justify-content:center;align-items:center;display:flex;position:absolute}.hp-audio[data-meta] .hp-audio-area{top:44px}.hp-audio-deck{height:var(--hp-deck-h,0px);flex:none;align-items:center;display:flex;position:relative}.hp-audio[data-position=left] .hp-audio-deck{flex-direction:row-reverse}.hp-audio-sleeve{z-index:2;width:var(--hp-deck-h,0px);height:var(--hp-deck-h,0px);background:radial-gradient(70% 70% at 30% 25%,#e5484d,#0000 75%),#26262d;background:radial-gradient(70% 70% at 30% 25%,var(--hp-color-accent,#e5484d),transparent 75%),#26262d;border-radius:6px;flex:none;position:relative;overflow:hidden}@supports (color:color-mix(in lab,red,red)){.hp-audio-sleeve{background:radial-gradient(70% 70% at 30% 25%,color-mix(in srgb,var(--hp-color-accent,#e5484d) 70%,#fff 0%),transparent 75%),#26262d}}.hp-audio-sleeve{box-shadow:0 18px 40px -12px #000000bf,0 0 0 1px #ffffff14}.hp-audio-sleeve img{object-fit:cover;width:100%;height:100%;display:block}.hp-audio-sleeve[hidden],.hp-vinyl[hidden],.hp-tonearm-holder[hidden]{display:none}.hp-vinyl{z-index:1;width:calc(var(--hp-deck-h,0px) * .96);height:calc(var(--hp-deck-h,0px) * .96);pointer-events:auto;touch-action:none;-webkit-tap-highlight-color:transparent;filter:drop-shadow(0 14px 26px #0009);border-radius:50%;outline:none;flex:none;transition:margin .45s cubic-bezier(.2,.8,.2,1);position:relative}.hp-audio[data-position=right] .hp-vinyl{margin-left:calc(var(--hp-deck-h) * -.56)}.hp-audio[data-position=left] .hp-vinyl{margin-right:calc(var(--hp-deck-h) * -.56)}.hp-audio[data-position=right][data-playing] .hp-vinyl{margin-left:calc(var(--hp-deck-h) * -.46)}.hp-audio[data-position=left][data-playing] .hp-vinyl{margin-right:calc(var(--hp-deck-h) * -.46)}.hp-audio:not([data-laid-out]) .hp-vinyl{transition:none}.hp-vinyl[data-scratch]:not([data-live]){cursor:grab}.hp-audio[data-scratching] .hp-vinyl{cursor:grabbing}.hp-vinyl:focus-visible{box-shadow:0 0 0 3px #ffffffb3;box-shadow:0 0 0 3px var(--hp-color-accent,#e5484d)}@supports (color:color-mix(in lab,red,red)){.hp-vinyl:focus-visible{box-shadow:0 0 0 3px color-mix(in srgb,var(--hp-color-accent,#e5484d) 80%,transparent)}}.hp-vinyl-disc{will-change:transform;position:absolute;top:0;right:0;bottom:0;left:0}.hp-vinyl-disc svg,.hp-tonearm svg{width:100%;height:100%;display:block}.hp-vinyl-sheen{pointer-events:none;background:conic-gradient(from 200deg,#0000,#ffffff21 22deg,#0000 48deg,#0000 180deg,#ffffff17 205deg,#0000 232deg);border-radius:50%;position:absolute;top:0;right:0;bottom:0;left:0;-webkit-mask:radial-gradient(circle,#0000 0 35%,#000 36% 99%,#0000 100%);mask:radial-gradient(circle,#0000 0 35%,#000 36% 99%,#0000 100%)}.hp-tonearm-holder{pointer-events:none;position:absolute;top:0;right:0;bottom:0;left:0}.hp-audio[data-position=left] .hp-tonearm-holder{transform:scaleX(-1)}.hp-tonearm{transform-origin:70% 11%;filter:drop-shadow(0 6px 8px #00000080);width:46%;height:92%;transition:transform .6s cubic-bezier(.3,.7,.2,1);position:absolute;top:-6%;right:-14%;transform:rotate(-26deg)}.hp-audio[data-playing] .hp-tonearm{transform:rotate(0)}@media(prefers-reduced-motion:reduce){.hp-vinyl,.hp-tonearm{transition:none}}.hp-audio[data-short][data-meta] .hp-audio-meta{display:none}.hp-audio[data-short][data-meta] .hp-audio-area{top:6px}[part=ad-layer][data-audio-ad]{background:0 0}[part=ad-layer][data-audio-ad] video{opacity:0}.hp-audio:after{content:"";pointer-events:none;z-index:2;background:linear-gradient(#0000,#00000047 45%,#0000009e);height:min(140px,45%);position:absolute;bottom:0;left:0;right:0}:host([data-audio-compact]) .video-area{aspect-ratio:auto;height:var(--hp-audio-bar-height,84px);overflow:visible}:host([data-audio-compact]) .hp-audio{border-radius:var(--hp-radius);background:linear-gradient(120deg,#24242c,#141418);background:linear-gradient(120deg,var(--hp-color-accent,#e5484d),transparent 60%),var(--hp-color-surface,#141418)}@supports (color:color-mix(in lab,red,red)){:host([data-audio-compact]) .hp-audio{background:linear-gradient(120deg,color-mix(in srgb,var(--hp-color-accent,#e5484d) 16%,transparent),transparent 60%),var(--hp-color-surface,#141418)}}:host([data-audio-compact]) .hp-audio>*,:host([data-audio-compact]) .hp-audio:after,:host([data-audio-compact]) .hp-caption-layer,:host([data-audio-compact]) .hp-loading-spinner,:host([data-audio-compact]) .hp-chrome:before,:host([data-audio-compact]) .hp-chrome:after{display:none}.hp-bar-meta{min-width:0;color:var(--hp-color-on-surface,#fff);pointer-events:none;align-items:center;gap:10px;padding:0 6px;display:flex}.hp-bar-meta[data-empty] .hp-bar-text{display:none}.hp-bar-text{flex-direction:column;min-width:0;line-height:1.25;display:flex}.hp-bar-title{white-space:nowrap;text-overflow:ellipsis;font-size:13px;font-weight:700;overflow:hidden}.hp-bar-sub{opacity:.72;white-space:nowrap;text-overflow:ellipsis;font-size:11.5px;overflow:hidden}.hp-bar-sub:empty{display:none}.hp-bar-eq{flex:none;align-items:flex-end;gap:2px;width:14px;height:14px;display:inline-flex}.hp-bar-eq i{background:var(--hp-color-accent,#fff);border-radius:1px;flex:1;height:30%;transition:height .2s}.hp-bar-meta[data-playing] .hp-bar-eq i{animation:.9s ease-in-out infinite alternate hp-bar-eq}.hp-bar-meta[data-playing] .hp-bar-eq i:nth-child(2){animation-duration:.7s;animation-delay:-.3s}.hp-bar-meta[data-playing] .hp-bar-eq i:nth-child(3){animation-duration:1.1s;animation-delay:-.6s}@keyframes hp-bar-eq{0%{height:25%}to{height:100%}}@media(prefers-reduced-motion:reduce){.hp-bar-meta[data-playing] .hp-bar-eq i{height:70%;animation:none}}.hp-lock{vertical-align:-2px;display:inline-block}.hp-rw-button{color:#fff;cursor:pointer;pointer-events:auto;-webkit-tap-highlight-color:transparent;background:#0c0c10b8;border:1px solid #ffffff38;border-radius:999px;align-items:center;gap:6px;padding:7px 12px;font:600 12.5px/1 system-ui,-apple-system,sans-serif;display:inline-flex;position:absolute;top:12px;left:12px;box-shadow:0 6px 18px -8px #000000b3}.hp-rw-button:hover{background:#0c0c10e0}.hp-rw-button[hidden]{display:none}.hp-rw-button .hp-lock{color:var(--hp-color-accent,#fff)}.hp-rw-dialog{z-index:45;color:#fff;text-align:center;background:#0000009e;justify-content:center;align-items:center;padding:12px;animation:.18s ease-out hp-rw-fade;display:flex;position:absolute;top:0;right:0;bottom:0;left:0}.hp-rw-card{background:#14141af5;border:1px solid #ffffff24;border-radius:14px;width:min(360px,100%);max-height:100%;padding:18px 18px 16px;overflow:auto;box-shadow:0 20px 50px -20px #000c}.hp-rw-icon{color:var(--hp-color-accent,#fff);background:#ffffff14;border-radius:50%;padding:9px;display:inline-flex}.hp-rw-icon .hp-lock{width:18px;height:18px}.hp-rw-title{margin-top:10px;font-size:15px;font-weight:700}.hp-rw-text{opacity:.82;margin-top:6px;font-size:13px;line-height:1.45}.hp-rw-actions{justify-content:center;gap:8px;margin-top:14px;display:flex}.hp-rw-actions:empty{display:none}.hp-rw-btn{color:#fff;cursor:pointer;background:0 0;border:1px solid #fff3;border-radius:999px;padding:8px 14px;font:600 13px/1 system-ui,-apple-system,sans-serif}.hp-rw-btn-primary{background:var(--hp-color-accent,#fff);color:var(--hp-color-on-accent,#0a0a0a);border-color:#0000}.hp-rw-spinner{border:2px solid #ffffff40;border-top-color:#fff;border-radius:50%;width:22px;height:22px;margin:4px auto 0;animation:.8s linear infinite hp-rw-spin}.hp-rw-toast{z-index:45;color:#fff;pointer-events:none;background:#0c0c10d9;border-radius:999px;padding:8px 14px;font:600 13px/1 system-ui,-apple-system,sans-serif;animation:.2s ease-out hp-rw-fade;position:absolute;top:12px;left:50%;transform:translate(-50%)}@keyframes hp-rw-fade{0%{opacity:0}}@keyframes hp-rw-spin{to{transform:rotate(360deg)}}.hp-settings-panel [data-locked],.hp-chip-panel [data-locked]{opacity:.85}.hp-sponsor-logo{z-index:21;width:var(--hp-sponsor-logo-w,96px);color:#fff;filter:drop-shadow(0 2px 6px #0000008c);flex-direction:column;align-items:center;gap:4px;text-decoration:none;transition:opacity .25s,right .35s cubic-bezier(.2,.8,.2,1),bottom .35s cubic-bezier(.2,.8,.2,1);animation:.4s ease-out hp-rw-fade;display:flex;position:absolute}.hp-sponsor-logo[data-position=top-left]{top:12px;left:12px}.hp-sponsor-logo[data-position=top-right]{top:12px;right:var(--hp-sponsor-avoid-right,12px)}.hp-sponsor-logo[data-position=bottom-left]{bottom:var(--hp-sponsor-avoid-bottom,76px);left:12px}.hp-sponsor-logo[data-position=bottom-right]{bottom:var(--hp-sponsor-avoid-bottom,76px);right:12px}.video-area[data-chrome-hidden] .hp-sponsor-logo[data-position=top-right]{right:12px}.video-area[data-chrome-hidden] .hp-sponsor-logo[data-position=bottom-left],.video-area[data-chrome-hidden] .hp-sponsor-logo[data-position=bottom-right]{bottom:12px}.hp-sponsor-logo img{width:100%;height:auto;display:block}.hp-sponsor-label{text-align:center;white-space:nowrap;text-overflow:ellipsis;letter-spacing:.08em;text-transform:uppercase;opacity:.85;max-width:100%;font:600 10px/1 system-ui,-apple-system,sans-serif;overflow:hidden}.video-area:has(.hp-rw-button:not([hidden])) .hp-sponsor-logo[data-position=top-left]{top:52px}.hp-sponsor-intro{z-index:22;color:#fff;pointer-events:none;background:#0c0c10d1;border-radius:999px;align-items:center;gap:10px;max-width:calc(100% - 32px);padding:8px 16px 8px 8px;font:600 14px/1.2 system-ui,-apple-system,sans-serif;transition:opacity .35s,transform .35s;animation:.45s cubic-bezier(.2,.8,.2,1) hp-sponsor-in;display:flex;position:absolute;bottom:84px;left:50%;transform:translate(-50%);box-shadow:0 12px 30px -12px #000c}.hp-sponsor-intro[data-leaving]{opacity:0;transform:translate(-50%,8px)}.hp-sponsor-intro img{border-radius:6px;width:auto;max-width:96px;height:28px}.hp-sponsor-intro span{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}@keyframes hp-sponsor-in{0%{opacity:0;transform:translate(-50%,12px)scale(.96)}}:host([data-sponsor-hidden]) .hp-sponsor-logo,:host([data-sponsor-hidden]) .hp-sponsor-intro{display:none}.hp-adtrigger{z-index:26;box-sizing:border-box;pointer-events:none;justify-content:center;align-items:center;padding:12px;display:none;position:absolute;top:0;right:0;bottom:0;left:0}.hp-adtrigger[data-open]{animation:.3s ease-out hp-adtrigger-in;display:flex}.hp-adtrigger[data-backdrop]{pointer-events:auto;background:#0000009e}.hp-adtrigger[data-layout=full]{padding:0}.hp-adtrigger[data-layout=none]{justify-content:flex-start;align-items:flex-start;padding:0}.hp-adtrigger[data-layout=none] .hp-adtrigger-frame{position:static}.hp-adtrigger[data-layout=top]{align-items:flex-start}.hp-adtrigger[data-layout=bottom]{align-items:flex-end;padding-bottom:72px}.hp-adtrigger[data-layout=top-left]{justify-content:flex-start;align-items:flex-start}.hp-adtrigger[data-layout=top-right]{justify-content:flex-end;align-items:flex-start}.hp-adtrigger[data-layout=bottom-left]{justify-content:flex-start;align-items:flex-end;padding-bottom:72px}.hp-adtrigger[data-layout=bottom-right]{justify-content:flex-end;align-items:flex-end;padding-bottom:72px}.hp-adtrigger-frame{pointer-events:auto;max-width:100%;max-height:100%;position:relative}.hp-adtrigger[data-layout=full] .hp-adtrigger-frame{width:100%;height:100%}.hp-adtrigger-frame[data-sized]{width:min(var(--hp-adtrigger-w),100%);height:min(var(--hp-adtrigger-h),100%)}.hp-adtrigger[data-layout=full] ::slotted(*),.hp-adtrigger-frame[data-sized] ::slotted(*){width:100%;height:100%;display:block}.hp-adtrigger-label{z-index:1;color:#fff;letter-spacing:.08em;text-transform:uppercase;pointer-events:none;background:#000000a8;border-radius:4px;padding:3px 7px;font:600 10px/1 system-ui,-apple-system,sans-serif;position:absolute;top:8px;left:8px}.hp-adtrigger-close{z-index:2;color:#fff;cursor:pointer;background:#000000b8;border:0;border-radius:999px;place-items:center;width:30px;height:30px;padding:0;display:grid;position:absolute;top:6px;right:6px}.hp-adtrigger-close[hidden]{display:none}.hp-adtrigger-close:focus-visible{outline:2px solid var(--hp-color-accent,#fff);outline-offset:2px}.hp-cast-overlay{z-index:12;color:#fff;text-align:center;pointer-events:none;background:radial-gradient(#14141adb,#060609f5);flex-direction:column;justify-content:center;align-items:center;gap:10px;padding:16px;font:600 15px/1.3 system-ui,-apple-system,sans-serif;display:none;position:absolute;top:0;right:0;bottom:0;left:0}.hp-cast-overlay[data-open]{display:flex}.hp-cast-overlay .hp-icon{color:var(--hp-color-accent,#fff);font-size:44px}.hp-cast-overlay-ad{background:#ffffff24;border-radius:999px;padding:4px 10px;font-size:12px;font-weight:600;display:none}.hp-cast-overlay[data-break] .hp-cast-overlay-ad{display:inline-block}.video-area[data-casting] video{visibility:hidden}[part=cast-button][data-connecting] .hp-icon{animation:1s ease-in-out infinite hp-cast-pulse}@keyframes hp-cast-pulse{50%{opacity:.35}}@keyframes hp-adtrigger-in{0%{opacity:0}}@media(prefers-reduced-motion:reduce){.hp-sponsor-intro,.hp-rw-dialog,.hp-rw-toast{animation:none}}@media(hover:none)and (pointer:coarse){.video-area:has(.hp-unmute-badge[data-visible]) .hp-rw-button,.video-area:has(.hp-unmute-badge[data-visible]) .hp-sponsor-logo[data-position=top-left]{top:52px}.video-area:has(.hp-unmute-badge[data-visible]):has(.hp-rw-button:not([hidden])) .hp-sponsor-logo[data-position=top-left]{top:92px}}.video-area[data-compact] .hp-rw-icon{display:none}.video-area[data-compact] .hp-rw-card{padding:12px 14px}.video-area[data-compact] .hp-rw-title{margin-top:0;font-size:14px}.video-area[data-compact] .hp-rw-text{font-size:12px;line-height:1.4}.video-area[data-compact] .hp-rw-actions{margin-top:10px}.hp-sponsor-logo[data-compact]{width:min(var(--hp-sponsor-logo-w,96px),48px);gap:2px}.hp-sponsor-logo[data-compact] .hp-sponsor-label{font-size:8.5px}:host([data-sponsor-intro]) .hp-sponsor-logo{pointer-events:none;opacity:0!important}.hp-redirect-thumb{aspect-ratio:16/9;background:#111;border-radius:8px;flex:none;display:block;position:relative;overflow:hidden}.hp-redirect-thumb img{object-fit:cover;width:100%;height:100%;transition:transform .3s;position:absolute;top:0;right:0;bottom:0;left:0}.hp-redirect-ring{filter:drop-shadow(0 2px 6px #0009);width:44px;height:44px;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)rotate(-90deg)}.hp-redirect-ring-track{fill:#00000073;stroke:#ffffff47;stroke-width:3px}.hp-redirect-ring-bar{fill:none;stroke:var(--hp-color-accent,#fff);stroke-width:3px;stroke-linecap:round;transition:stroke-dashoffset .3s linear}.hp-redirect-play{color:#fff;font-size:18px;line-height:1;position:absolute;top:50%;left:50%;transform:translate(-45%,-50%)}.hp-redirect-duration{color:#fff;background:#000000c7;border-radius:4px;padding:1px 5px;font:600 10px/1.4 system-ui,-apple-system,sans-serif;position:absolute;bottom:5px;right:5px}.hp-redirect-label{color:var(--hp-color-accent,#fff);letter-spacing:.1em;text-transform:uppercase;font:700 10px/1.2 system-ui,-apple-system,sans-serif}.hp-redirect-title{-webkit-line-clamp:2;-webkit-box-orient:vertical;font:600 13px/1.3 system-ui,-apple-system,sans-serif;display:-webkit-box;overflow:hidden}.hp-redirect-sub{white-space:nowrap;text-overflow:ellipsis;opacity:.7;font:500 11px/1.3 system-ui,-apple-system,sans-serif;overflow:hidden}.hp-redirect-card{z-index:24;color:#fff;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);background:#0e0e12e6;border-radius:12px;align-items:stretch;width:min(340px,100% - 24px);transition:bottom .25s,top .25s;animation:.35s cubic-bezier(.2,.8,.2,1) hp-redirect-in;display:flex;position:absolute;box-shadow:0 16px 36px -14px #000000d9}.hp-redirect-card[data-position=bottom-right]{bottom:76px;right:12px}.hp-redirect-card[data-position=bottom-left]{bottom:76px;left:12px}.hp-redirect-card[data-position=top-right]{top:12px;right:12px}.hp-redirect-card[data-position=top-left]{top:12px;left:12px}.video-area[data-chrome-hidden] .hp-redirect-card[data-position^=bottom]{bottom:12px}.hp-redirect-card-main{min-width:0;color:inherit;text-align:left;cursor:pointer;background:0 0;border:0;border-radius:12px;flex:1;align-items:center;gap:10px;padding:8px;display:flex}.hp-redirect-card-main .hp-redirect-thumb{width:42%}.hp-redirect-card-main:hover .hp-redirect-thumb img{transform:scale(1.04)}.hp-redirect-text{flex-direction:column;gap:3px;min-width:0;padding-right:22px;display:flex}.hp-redirect-close{color:#fff;cursor:pointer;background:#ffffff1f;border:0;border-radius:999px;place-items:center;width:24px;height:24px;padding:0;font-size:13px;display:grid;position:absolute;top:6px;right:6px}.hp-redirect-close:hover{background:#ffffff3d}.hp-redirect-card-main:focus-visible,.hp-redirect-close:focus-visible,.hp-redirect-poster:focus-visible,.hp-redirect-btn:focus-visible{outline:2px solid var(--hp-color-accent,#fff);outline-offset:2px}.video-area[data-compact] .hp-redirect-card{width:min(260px,100% - 16px)}.video-area[data-compact] .hp-redirect-card[data-position^=bottom]{bottom:56px}.video-area[data-compact][data-chrome-hidden] .hp-redirect-card[data-position^=bottom]{bottom:8px}.video-area[data-compact] .hp-redirect-card .hp-redirect-sub{display:none}.video-area[data-compact] .hp-redirect-card .hp-redirect-ring{width:34px;height:34px}.hp-redirect-screen{z-index:30;color:#fff;text-align:center;background:#060609e6;justify-content:center;align-items:center;padding:16px;animation:.3s ease-out hp-redirect-fade;display:flex;position:absolute;top:0;right:0;bottom:0;left:0;overflow:hidden}.hp-redirect-bg{object-fit:cover;opacity:.35;filter:blur(18px)saturate(1.2);width:calc(100% + 40px);height:calc(100% + 40px);position:absolute;top:-20px;right:-20px;bottom:-20px;left:-20px}.hp-redirect-panel{flex-direction:column;align-items:center;gap:8px;width:min(420px,100%);display:flex;position:relative}.hp-redirect-poster{cursor:pointer;background:0 0;border:0;border-radius:10px;width:min(320px,70%);padding:0;box-shadow:0 18px 40px -16px #000000e6}.hp-redirect-poster .hp-redirect-thumb{border-radius:10px;width:100%}.hp-redirect-poster .hp-redirect-ring{width:64px;height:64px}.hp-redirect-poster .hp-redirect-play{font-size:24px}.hp-redirect-screen .hp-redirect-title{font-size:16px}.hp-redirect-counter{opacity:.75;font:500 12px/1.4 system-ui,-apple-system,sans-serif}.hp-redirect-actions{gap:8px;margin-top:4px;display:flex}.hp-redirect-btn{color:#fff;cursor:pointer;background:#ffffff24;border:0;border-radius:999px;padding:7px 16px;font:600 13px/1 system-ui,-apple-system,sans-serif}.hp-redirect-btn:hover{background:#ffffff3d}.hp-redirect-btn-primary,.hp-redirect-btn-primary:hover{background:var(--hp-color-accent,#fff);color:var(--hp-color-on-accent,#000)}.video-area[data-compact] .hp-redirect-poster{width:min(200px,55%)}.video-area[data-compact] .hp-redirect-screen .hp-redirect-sub,.video-area[data-compact] .hp-redirect-counter{display:none}.hp-redirect-suggestions{z-index:30;background:#060609eb;grid-template-columns:repeat(auto-fill,minmax(160px,1fr));align-content:center;gap:12px;padding:16px;display:grid;position:absolute;top:0;right:0;bottom:0;left:0;overflow-y:auto}.hp-redirect-suggestion{color:#fff;flex-direction:column;gap:6px;text-decoration:none;display:flex}.hp-redirect-suggestion .hp-redirect-play{opacity:0;font-size:22px;transition:opacity .2s}.hp-redirect-suggestion:hover .hp-redirect-play,.hp-redirect-suggestion:focus-visible .hp-redirect-play{opacity:1}.hp-redirect-suggestion:hover .hp-redirect-thumb,.hp-redirect-suggestion:focus-visible .hp-redirect-thumb{outline:2px solid var(--hp-color-accent,#fff)}@keyframes hp-redirect-in{0%{opacity:0;transform:translateY(10px)scale(.97)}}@keyframes hp-redirect-fade{0%{opacity:0}}@media(prefers-reduced-motion:reduce){.hp-redirect-card,.hp-redirect-screen{animation:none}}.hp-skip-segment{z-index:23;color:#fff;letter-spacing:.01em;cursor:pointer;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);background:#0e0e12b8;border:1px solid #ffffff8c;border-radius:8px;align-items:center;gap:8px;padding:10px 16px;font:600 14px/1.2 system-ui,-apple-system,sans-serif;transition:opacity .25s,bottom .25s,background-color .15s;animation:.3s cubic-bezier(.2,.8,.2,1) hp-redirect-in;display:inline-flex;position:absolute;overflow:hidden;box-shadow:0 10px 28px -12px #000c}.hp-skip-segment:hover{color:#111;background:#ffffffeb}.hp-skip-segment:focus-visible{outline:2px solid var(--hp-color-accent,#fff);outline-offset:2px}.hp-skip-segment>*{position:relative}.hp-skip-segment-icon{font-size:16px}.hp-skip-segment[data-auto]:before{content:"";transform-origin:0;transform:scaleX(var(--hp-skip-progress,0));background:#ffffff38;transition:transform .25s linear;position:absolute;top:0;right:0;bottom:0;left:0}.hp-skip-segment[data-position=bottom-right]{bottom:76px;right:16px}.hp-skip-segment[data-position=bottom-left]{bottom:76px;left:16px}.hp-skip-segment[data-position=top-right]{top:16px;right:16px}.hp-skip-segment[data-position=top-left]{top:16px;left:16px}.video-area[data-chrome-hidden] .hp-skip-segment[data-position^=bottom]{bottom:16px}.video-area[data-chrome-hidden] .hp-skip-segment[data-faded]{opacity:0;pointer-events:none}.video-area[data-compact] .hp-skip-segment{padding:7px 12px;font-size:12px}.video-area[data-compact] .hp-skip-segment[data-position^=bottom]{bottom:56px}.video-area[data-compact][data-chrome-hidden] .hp-skip-segment[data-position^=bottom]{bottom:10px}@media(prefers-reduced-motion:reduce){.hp-skip-segment{animation:none}}.hp-quality-badge{background:var(--hp-quality-badge-bg,var(--hp-color-accent,#fff));color:var(--hp-quality-badge-color,var(--hp-color-on-accent,#0a0a0a));letter-spacing:.02em;pointer-events:none;border-radius:3px;padding:0 2px;font:800 8px/1.3 system-ui,-apple-system,sans-serif;position:absolute;top:1px;right:-5px;box-shadow:0 1px 3px #00000073}.hp-quality-badge[hidden]{display:none}.video-area[data-compact] .hp-quality-badge{font-size:7px;top:0}.hp-quality-badge[data-low]{color:#0a0a0a;background:#ffffffb3}.hp-chevron-forward{font-size:11px;display:inline-block;transform:rotate(180deg)}:host([data-large-controls]){--hp-ctrl-btn-size:48px;--hp-ctrl-icon-size:22px;--hp-seek-hit-h:30px;--hp-seek-track-h:8px;--hp-seek-track-h-hover:10px;--hp-seek-thumb-size:20px;--hp-caption-font-size:24px}:host([data-large-controls]) .video-area[data-compact]{--hp-caption-font-size:17px}:host([data-zoomed]) video{cursor:grab}:host([data-zoomed]) video:active{cursor:grabbing}.hp-shortcuts{z-index:40;background:#0000008c;place-items:center;padding:12px;animation:.2s hp-redirect-fade;display:grid;position:absolute;top:0;right:0;bottom:0;left:0}.hp-shortcuts-box{color:#fff;background:#0e0e12f0;border-radius:12px;width:min(420px,100%);max-height:100%;padding:14px 16px 16px;font:400 13px/1.4 system-ui,-apple-system,sans-serif;overflow-y:auto;box-shadow:0 18px 40px -14px #000000e6}.hp-shortcuts-head{justify-content:space-between;align-items:center;margin-bottom:10px;display:flex}.hp-shortcuts-head h2{margin:0;font-size:15px;font-weight:700}.hp-shortcuts-close{color:#fff;cursor:pointer;background:#ffffff1f;border:0;border-radius:999px;place-items:center;width:30px;height:30px;padding:0;font-size:13px;display:grid}.hp-shortcuts-close:hover{background:#ffffff3d}.hp-shortcuts-close:focus-visible{outline:2px solid var(--hp-color-accent,#fff);outline-offset:2px}.hp-shortcuts-list{grid-template-columns:auto 1fr;align-items:center;gap:8px 14px;margin:0;display:grid}.hp-shortcuts-list dt{white-space:nowrap;flex-wrap:wrap;align-items:center;gap:4px;margin:0;display:flex}.hp-shortcuts-list dd{color:#ffffffd1;margin:0}.hp-shortcuts-list kbd{text-align:center;background:#ffffff14;border:1px solid #ffffff47;border-bottom-width:2px;border-radius:5px;min-width:22px;padding:2px 6px;font:600 11.5px/1.4 ui-monospace,SFMono-Regular,Menlo,monospace}.video-area[data-compact] .hp-shortcuts-box{padding:10px 12px 12px;font-size:12px}@media(prefers-reduced-motion:reduce){.hp-shortcuts{animation:none}}.hp-history-notice{z-index:23;color:#fff;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);background:#0e0e12d1;border-radius:999px;align-items:center;gap:12px;max-width:calc(100% - 32px);padding:8px 8px 8px 14px;font:500 13px/1.3 system-ui,-apple-system,sans-serif;transition:bottom .25s;animation:.3s cubic-bezier(.2,.8,.2,1) hp-redirect-in;display:inline-flex;position:absolute;bottom:76px;left:16px;box-shadow:0 10px 28px -12px #000c}.video-area[data-chrome-hidden] .hp-history-notice{bottom:16px}.hp-history-restart{background:var(--hp-color-accent,#fff);color:var(--hp-color-on-accent,#0a0a0a);cursor:pointer;border:0;border-radius:999px;flex-shrink:0;padding:6px 12px;font:600 12.5px/1.2 system-ui,-apple-system,sans-serif}.hp-history-restart:focus-visible{outline:2px solid var(--hp-color-accent,#fff);outline-offset:2px}.video-area[data-compact] .hp-history-notice{gap:8px;padding:6px 6px 6px 10px;font-size:11.5px;bottom:56px;left:8px}.video-area[data-compact][data-chrome-hidden] .hp-history-notice{bottom:10px}@media(prefers-reduced-motion:reduce){.hp-history-notice{animation:none}}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-gradient-position{syntax:"*";inherits:false}@property --tw-gradient-from{syntax:"<color>";inherits:false;initial-value:#0000}@property --tw-gradient-via{syntax:"<color>";inherits:false;initial-value:#0000}@property --tw-gradient-to{syntax:"<color>";inherits:false;initial-value:#0000}@property --tw-gradient-stops{syntax:"*";inherits:false}@property --tw-gradient-via-stops{syntax:"*";inherits:false}@property --tw-gradient-from-position{syntax:"<length-percentage>";inherits:false;initial-value:0%}@property --tw-gradient-via-position{syntax:"<length-percentage>";inherits:false;initial-value:50%}@property --tw-gradient-to-position{syntax:"<length-percentage>";inherits:false;initial-value:100%}@property --tw-leading{syntax:"*";inherits:false}@property --tw-font-weight{syntax:"*";inherits:false}@property --tw-ordinal{syntax:"*";inherits:false}@property --tw-slashed-zero{syntax:"*";inherits:false}@property --tw-numeric-figure{syntax:"*";inherits:false}@property --tw-numeric-spacing{syntax:"*";inherits:false}@property --tw-numeric-fraction{syntax:"*";inherits:false}@property --tw-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:"*";inherits:false}@property --tw-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:"*";inherits:false}@property --tw-inset-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:"*";inherits:false}@property --tw-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:"*";inherits:false}@property --tw-inset-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:"*";inherits:false}@property --tw-ring-offset-width{syntax:"<length>";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:"*";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-blur{syntax:"*";inherits:false}@property --tw-brightness{syntax:"*";inherits:false}@property --tw-contrast{syntax:"*";inherits:false}@property --tw-grayscale{syntax:"*";inherits:false}@property --tw-hue-rotate{syntax:"*";inherits:false}@property --tw-invert{syntax:"*";inherits:false}@property --tw-opacity{syntax:"*";inherits:false}@property --tw-saturate{syntax:"*";inherits:false}@property --tw-sepia{syntax:"*";inherits:false}@property --tw-drop-shadow{syntax:"*";inherits:false}@property --tw-drop-shadow-color{syntax:"*";inherits:false}@property --tw-drop-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-drop-shadow-size{syntax:"*";inherits:false}@property --tw-duration{syntax:"*";inherits:false}@keyframes spin{to{transform:rotate(360deg)}}';
|
|
5
|
+
function ee(n) {
|
|
6
6
|
return !!n && /MediaSinkAudio/i.test(n.message || "");
|
|
7
7
|
}
|
|
8
|
-
function
|
|
9
|
-
return !!n.error && !
|
|
8
|
+
function He(n) {
|
|
9
|
+
return !!n.error && !ee(n.error);
|
|
10
10
|
}
|
|
11
|
-
function
|
|
11
|
+
function ie() {
|
|
12
12
|
if (typeof navigator > "u") return !1;
|
|
13
13
|
const n = navigator.userAgent, t = /iP(hone|od|ad)/.test(n) || navigator.platform === "MacIntel" && navigator.maxTouchPoints > 1, e = /^((?!chrome|chromium|android|crios|fxios|edg|opr).)*safari/i.test(n);
|
|
14
14
|
return t || e;
|
|
15
15
|
}
|
|
16
|
-
function
|
|
16
|
+
function re() {
|
|
17
17
|
const n = window;
|
|
18
18
|
return typeof n.MediaSource < "u" || typeof n.ManagedMediaSource < "u";
|
|
19
19
|
}
|
|
20
|
-
function
|
|
20
|
+
function Ce(n, t) {
|
|
21
21
|
var i;
|
|
22
22
|
const e = (i = t == null ? void 0 : t.split(";")[0]) == null ? void 0 : i.trim().toLowerCase();
|
|
23
23
|
return e === "application/vnd.apple.mpegurl" || e === "application/x-mpegurl" || /\.m3u8(?:$|[?#])/i.test(n) ? "hls" : e === "video/mp4" || /\.mp4(?:$|[?#])/i.test(n) ? "mp4" : "unknown";
|
|
24
24
|
}
|
|
25
|
-
class
|
|
25
|
+
class Ge {
|
|
26
26
|
constructor(t, e) {
|
|
27
27
|
s(this, "hls", null);
|
|
28
28
|
s(this, "video");
|
|
@@ -43,11 +43,11 @@ class Fe {
|
|
|
43
43
|
}
|
|
44
44
|
/** Bu kaynak zaten yüklü ve hatasız mı — aynı kaynak için yeniden yükleme (başa sarma) gerekmez. */
|
|
45
45
|
isLoaded(t, e) {
|
|
46
|
-
return !!this.last && this.last.src === t && this.last.type === e && !
|
|
46
|
+
return !!this.last && this.last.src === t && this.last.type === e && !He(this.video) && this.video.readyState > 0;
|
|
47
47
|
}
|
|
48
48
|
async load(t, e) {
|
|
49
49
|
this.last = { src: t, type: e }, this.destroy(), this.video.pause();
|
|
50
|
-
const i =
|
|
50
|
+
const i = Ce(t, e);
|
|
51
51
|
if (this.callbacks.onLevelsChanged([], -1), this.callbacks.onAudioTracksChanged([], -1), this.streamTextTracks.clear(), this.callbacks.onTextTracksFound([]), i !== "hls") {
|
|
52
52
|
this.engineInfo = { engine: "native" }, this.video.src = t;
|
|
53
53
|
return;
|
|
@@ -57,8 +57,8 @@ class Fe {
|
|
|
57
57
|
this.loadNativeHls(t, "option");
|
|
58
58
|
return;
|
|
59
59
|
}
|
|
60
|
-
if (r !== "hls.js" && o && (
|
|
61
|
-
this.loadNativeHls(t,
|
|
60
|
+
if (r !== "hls.js" && o && (ie() || !re())) {
|
|
61
|
+
this.loadNativeHls(t, ie() ? "apple-native" : "no-mse");
|
|
62
62
|
return;
|
|
63
63
|
}
|
|
64
64
|
await this.attachHlsJs(t);
|
|
@@ -83,7 +83,7 @@ class Fe {
|
|
|
83
83
|
* İlk metadata'dan önce kod 4 gelirse ve MSE varsa hls.js'e geç.
|
|
84
84
|
*/
|
|
85
85
|
probeNativeHls(t) {
|
|
86
|
-
if (!
|
|
86
|
+
if (!re() || this.engineInfo.reason === "hlsjs-failed" || this.engineInfo.reason === "option") return;
|
|
87
87
|
const e = () => r(), i = () => {
|
|
88
88
|
var a, l;
|
|
89
89
|
const o = ((a = this.video.error) == null ? void 0 : a.code) === 4;
|
|
@@ -119,16 +119,16 @@ class Fe {
|
|
|
119
119
|
this.hls = r, this.engineInfo = { engine: "hls.js", build: e };
|
|
120
120
|
let o = !1, a = !1;
|
|
121
121
|
r.on(i.Events.ERROR, (d, p) => {
|
|
122
|
-
var f, v,
|
|
122
|
+
var f, v, x, k, w, C;
|
|
123
123
|
if (this.hls === r) {
|
|
124
|
-
const
|
|
125
|
-
(
|
|
124
|
+
const E = p;
|
|
125
|
+
(C = (w = this.callbacks).onStreamError) == null || C.call(w, {
|
|
126
126
|
type: String(p.type),
|
|
127
127
|
details: String(p.details),
|
|
128
128
|
fatal: !!p.fatal,
|
|
129
|
-
url:
|
|
130
|
-
httpStatus: (
|
|
131
|
-
reason:
|
|
129
|
+
url: E.url ?? ((f = E.frag) == null ? void 0 : f.url) ?? ((v = E.context) == null ? void 0 : v.url),
|
|
130
|
+
httpStatus: (x = E.response) == null ? void 0 : x.code,
|
|
131
|
+
reason: E.reason ?? ((k = E.error) == null ? void 0 : k.message)
|
|
132
132
|
});
|
|
133
133
|
}
|
|
134
134
|
if (!p.fatal || this.hls !== r) return;
|
|
@@ -153,8 +153,8 @@ class Fe {
|
|
|
153
153
|
r.on(i.Events.AUDIO_TRACKS_UPDATED, () => this.callbacks.onAudioTracksChanged(h(), r.audioTrack)), r.on(i.Events.AUDIO_TRACK_SWITCHED, (d, p) => this.callbacks.onAudioTracksChanged(h(), p.id)), r.on(i.Events.NON_NATIVE_TEXT_TRACKS_FOUND, (d, p) => {
|
|
154
154
|
var g;
|
|
155
155
|
for (const f of p.tracks) {
|
|
156
|
-
const v = f.subtitleTrack,
|
|
157
|
-
this.streamTextTracks.set(
|
|
156
|
+
const v = f.subtitleTrack, x = v ? `sub:${v.id}` : `cc:${f._id ?? f.label}`, k = f.kind === "captions" ? "captions" : "subtitles";
|
|
157
|
+
this.streamTextTracks.set(x, { id: x, kind: k, label: f.label, lang: (v == null ? void 0 : v.lang) ?? ((g = f.closedCaptions) == null ? void 0 : g.lang) ?? "" });
|
|
158
158
|
}
|
|
159
159
|
this.callbacks.onTextTracksFound([...this.streamTextTracks.values()]);
|
|
160
160
|
}), r.on(i.Events.CUES_PARSED, (d, p) => {
|
|
@@ -214,7 +214,7 @@ class Fe {
|
|
|
214
214
|
(t = this.nativeHlsProbe) == null || t.call(this), (e = this.nativeAudioCleanup) == null || e.call(this), this.hls && (this.hls.destroy(), this.hls = null);
|
|
215
215
|
}
|
|
216
216
|
}
|
|
217
|
-
const
|
|
217
|
+
const X = {
|
|
218
218
|
mp4: "video/mp4",
|
|
219
219
|
m4v: "video/mp4",
|
|
220
220
|
webm: "video/webm",
|
|
@@ -227,22 +227,22 @@ const $ = {
|
|
|
227
227
|
wav: "audio/wav",
|
|
228
228
|
flac: "audio/flac"
|
|
229
229
|
};
|
|
230
|
-
function
|
|
230
|
+
function Se(n) {
|
|
231
231
|
var r, o;
|
|
232
|
-
const t =
|
|
232
|
+
const t = Ce(n.src, n.type);
|
|
233
233
|
if (t !== "unknown") return t;
|
|
234
234
|
const e = (o = (r = n.type) == null ? void 0 : r.split(";")[0]) == null ? void 0 : o.trim().toLowerCase();
|
|
235
235
|
if (e) {
|
|
236
|
-
const a = Object.keys(
|
|
236
|
+
const a = Object.keys(X).find((l) => X[l] === e);
|
|
237
237
|
if (a) return a;
|
|
238
238
|
}
|
|
239
239
|
const i = /\.([a-z0-9]{2,5})(?:$|[?#])/i.exec(n.src);
|
|
240
240
|
return i ? i[1].toLowerCase() : "other";
|
|
241
241
|
}
|
|
242
|
-
function
|
|
242
|
+
function qe(n, t) {
|
|
243
243
|
const e = [];
|
|
244
244
|
for (const r of n) {
|
|
245
|
-
const o =
|
|
245
|
+
const o = Se(r), a = e.find((l) => l.format === o);
|
|
246
246
|
a ? a.sources.push(r) : e.push({ format: o, sources: [r] });
|
|
247
247
|
}
|
|
248
248
|
if (!(t != null && t.length)) return e;
|
|
@@ -252,31 +252,31 @@ function De(n, t) {
|
|
|
252
252
|
};
|
|
253
253
|
return e.sort((r, o) => i(r.format) - i(o.format));
|
|
254
254
|
}
|
|
255
|
-
function
|
|
255
|
+
function Ve(n, t) {
|
|
256
256
|
var i;
|
|
257
257
|
if (n.format === "hls") {
|
|
258
258
|
const r = window;
|
|
259
259
|
return !(typeof r.MediaSource < "u" || typeof r.ManagedMediaSource < "u") && t.canPlayType("application/vnd.apple.mpegurl") === "";
|
|
260
260
|
}
|
|
261
|
-
const e = ((i = n.sources.find((r) => r.type)) == null ? void 0 : i.type) ??
|
|
261
|
+
const e = ((i = n.sources.find((r) => r.type)) == null ? void 0 : i.type) ?? X[n.format];
|
|
262
262
|
return !!e && t.canPlayType(e) === "";
|
|
263
263
|
}
|
|
264
|
-
function
|
|
264
|
+
function R(n) {
|
|
265
265
|
if (!Number.isFinite(n) || n < 0) return "0:00";
|
|
266
266
|
const t = Math.floor(n), e = Math.floor(t / 3600), i = Math.floor(t % 3600 / 60), r = t % 60, o = e > 0 ? String(i).padStart(2, "0") : String(i), a = String(r).padStart(2, "0");
|
|
267
267
|
return e > 0 ? `${e}:${o}:${a}` : `${o}:${a}`;
|
|
268
268
|
}
|
|
269
|
-
const
|
|
270
|
-
function
|
|
269
|
+
const se = 0.05;
|
|
270
|
+
function K(n, t) {
|
|
271
271
|
const e = n.duration;
|
|
272
|
-
return !Number.isFinite(e) || e <=
|
|
272
|
+
return !Number.isFinite(e) || e <= se * 2 ? t : Math.min(t, e - se);
|
|
273
273
|
}
|
|
274
|
-
function
|
|
274
|
+
function Te(n, t) {
|
|
275
275
|
const e = n.seekable.length ? n.seekable.start(0) : 0, i = Number.isFinite(n.duration) ? n.duration : n.seekable.length ? n.seekable.end(n.seekable.length - 1) : n.currentTime;
|
|
276
|
-
n.currentTime =
|
|
276
|
+
n.currentTime = K(n, Math.max(e, Math.min(i, n.currentTime + t)));
|
|
277
277
|
}
|
|
278
|
-
const
|
|
279
|
-
class
|
|
278
|
+
const Ue = 10, _e = 1;
|
|
279
|
+
class Ke {
|
|
280
280
|
constructor(t, e) {
|
|
281
281
|
s(this, "el");
|
|
282
282
|
s(this, "trackEl");
|
|
@@ -305,7 +305,7 @@ class qe {
|
|
|
305
305
|
return;
|
|
306
306
|
}
|
|
307
307
|
const r = e.start + i * (e.end - e.start);
|
|
308
|
-
this.hoverTimeEl.textContent = e.live ? `-${
|
|
308
|
+
this.hoverTimeEl.textContent = e.live ? `-${R(e.end - r)}` : R(r), this.hoverTimeEl.setAttribute("data-visible", "");
|
|
309
309
|
const o = this.hoverTimeEl.offsetWidth, a = Math.min(Math.max(this.layoutXAtClientX(t.clientX) - o / 2, 0), Math.max(this.trackWidth - o, 0));
|
|
310
310
|
this.hoverTimeEl.style.transform = `translateX(${a}px)`;
|
|
311
311
|
});
|
|
@@ -328,7 +328,7 @@ class qe {
|
|
|
328
328
|
s(this, "onKeyDown", (t) => {
|
|
329
329
|
var i, r;
|
|
330
330
|
const e = this.timeline();
|
|
331
|
-
e && (t.key === "ArrowRight" ? (this.video.currentTime =
|
|
331
|
+
e && (t.key === "ArrowRight" ? (this.video.currentTime = K(this.video, Math.min(e.end, this.video.currentTime + this.keyboardStep)), (i = this.onKeyboardSeek) == null || i.call(this, this.keyboardStep), t.preventDefault()) : t.key === "ArrowLeft" && (this.video.currentTime = Math.max(e.start, this.video.currentTime - this.keyboardStep), (r = this.onKeyboardSeek) == null || r.call(this, -this.keyboardStep), t.preventDefault()));
|
|
332
332
|
});
|
|
333
333
|
s(this, "startLoop", () => {
|
|
334
334
|
if (this.rafId !== null) return;
|
|
@@ -378,7 +378,7 @@ class qe {
|
|
|
378
378
|
const { seekable: e } = this.video;
|
|
379
379
|
if (!e.length) return null;
|
|
380
380
|
const i = e.start(0), r = e.end(e.length - 1);
|
|
381
|
-
return r - i >=
|
|
381
|
+
return r - i >= Ue ? { start: i, end: r, live: !0 } : null;
|
|
382
382
|
}
|
|
383
383
|
/** Kendi zamanını gösteren plugin'ler (sprite/segments) varsayılan hover zamanını gizler — keyed set. */
|
|
384
384
|
suppressHoverTime(t, e) {
|
|
@@ -448,7 +448,7 @@ class qe {
|
|
|
448
448
|
const e = this.timeline();
|
|
449
449
|
if (!e) return;
|
|
450
450
|
const i = e.start + t * (e.end - e.start);
|
|
451
|
-
this.video.currentTime = e.live ? Math.min(i, e.end -
|
|
451
|
+
this.video.currentTime = e.live ? Math.min(i, e.end - _e) : K(this.video, i), this.render();
|
|
452
452
|
}
|
|
453
453
|
/** 0–1 arası oranda, seek bar üzerine ince bir işaret çizgisi ekler (ör. loop A/B noktaları). */
|
|
454
454
|
addMarker(t, e = "") {
|
|
@@ -466,15 +466,15 @@ class qe {
|
|
|
466
466
|
this.rafId !== null && cancelAnimationFrame(this.rafId), this.resizeObserver.disconnect(), this.el.removeEventListener("pointermove", this.onHoverMove), this.el.removeEventListener("pointerleave", this.onHoverLeave), this.video.removeEventListener("play", this.startLoop), this.video.removeEventListener("pause", this.stopLoop), this.video.removeEventListener("ended", this.stopLoop), this.video.removeEventListener("timeupdate", this.render), this.video.removeEventListener("progress", this.render), this.video.removeEventListener("loadedmetadata", this.render), this.clearMarkers(), (t = this.chaptersEl) == null || t.remove();
|
|
467
467
|
}
|
|
468
468
|
}
|
|
469
|
-
function
|
|
469
|
+
function z(n, t = "") {
|
|
470
470
|
const e = document.createElement("i");
|
|
471
471
|
return e.className = `hp-icon hp-icon-${n}${t ? ` ${t}` : ""}`, e.setAttribute("aria-hidden", "true"), e;
|
|
472
472
|
}
|
|
473
|
-
function
|
|
473
|
+
function H(n, t) {
|
|
474
474
|
n.className = n.className.replace(/hp-icon-[\w-]+/, `hp-icon-${t}`);
|
|
475
475
|
}
|
|
476
|
-
const
|
|
477
|
-
class
|
|
476
|
+
const q = 0.05, je = 150;
|
|
477
|
+
class $e {
|
|
478
478
|
constructor(t, e, i) {
|
|
479
479
|
s(this, "el");
|
|
480
480
|
/** Dokunmatikte ses butonu gizli; sessiz oynarken görünen "Sesi aç" rozeti (chrome dışında monte edilir, otomatik gizlenmez). */
|
|
@@ -495,15 +495,15 @@ class _e {
|
|
|
495
495
|
s(this, "scheduleHide", () => {
|
|
496
496
|
this.hideTimer && clearTimeout(this.hideTimer), this.hideTimer = setTimeout(() => {
|
|
497
497
|
this.hideTimer = null, this.slider.style.opacity = "0", this.slider.style.pointerEvents = "none";
|
|
498
|
-
},
|
|
498
|
+
}, je);
|
|
499
499
|
});
|
|
500
500
|
s(this, "onWheel", (t) => {
|
|
501
501
|
if (t.preventDefault(), this.adHooks.isAdActive()) {
|
|
502
502
|
const r = this.adHooks.getVolume();
|
|
503
|
-
this.adHooks.setVolume(Math.min(1, Math.max(0, r + (t.deltaY < 0 ?
|
|
503
|
+
this.adHooks.setVolume(Math.min(1, Math.max(0, r + (t.deltaY < 0 ? q : -q)))), this.render();
|
|
504
504
|
return;
|
|
505
505
|
}
|
|
506
|
-
const e = this.video.muted ? 0 : this.video.volume, i = Math.min(1, Math.max(0, e + (t.deltaY < 0 ?
|
|
506
|
+
const e = this.video.muted ? 0 : this.video.volume, i = Math.min(1, Math.max(0, e + (t.deltaY < 0 ? q : -q)));
|
|
507
507
|
this.video.volume = i, this.video.muted = i === 0;
|
|
508
508
|
});
|
|
509
509
|
s(this, "onToggleMute", () => {
|
|
@@ -541,11 +541,11 @@ class _e {
|
|
|
541
541
|
const e = t === 0 ? this.labels.unmute : this.labels.mute;
|
|
542
542
|
this.button.setAttribute("aria-label", e);
|
|
543
543
|
const i = this.adHooks.isAdActive() || !this.video.paused;
|
|
544
|
-
this.unmuteBadge.toggleAttribute("data-visible", t === 0 && i), this.unmuteText.textContent = this.labels.unmute, t === 0 ?
|
|
544
|
+
this.unmuteBadge.toggleAttribute("data-visible", t === 0 && i), this.unmuteText.textContent = this.labels.unmute, t === 0 ? H(this.iconEl, "volume-muted") : t < 0.5 ? H(this.iconEl, "volume-low") : H(this.iconEl, "volume-high");
|
|
545
545
|
});
|
|
546
|
-
this.video = t, this.labels = e, this.adHooks = i, this.el = document.createElement("div"), this.el.className = "hp-volume hp:relative hp:flex hp:items-center", this.unmuteBadge = document.createElement("button"), this.unmuteBadge.type = "button", this.unmuteBadge.className = "hp-unmute-badge", this.unmuteBadge.setAttribute("part", "unmute-badge"), this.unmuteBadge.appendChild(
|
|
546
|
+
this.video = t, this.labels = e, this.adHooks = i, this.el = document.createElement("div"), this.el.className = "hp-volume hp:relative hp:flex hp:items-center", this.unmuteBadge = document.createElement("button"), this.unmuteBadge.type = "button", this.unmuteBadge.className = "hp-unmute-badge", this.unmuteBadge.setAttribute("part", "unmute-badge"), this.unmuteBadge.appendChild(z("volume-muted", "hp:text-base")), this.unmuteText = document.createElement("span"), this.unmuteText.textContent = e.unmute, this.unmuteBadge.appendChild(this.unmuteText), this.unmuteBadge.addEventListener("pointerdown", (o) => o.stopPropagation()), this.unmuteBadge.addEventListener("click", (o) => {
|
|
547
547
|
o.stopPropagation(), this.unmute();
|
|
548
|
-
}), this.button = document.createElement("button"), this.button.type = "button", this.button.setAttribute("part", "volume-button"), this.button.className = "hp-chip hp:flex hp:items-center hp:justify-center hp:w-[var(--hp-ctrl-btn-size)] hp:h-[var(--hp-ctrl-btn-size)] hp:cursor-pointer", this.button.setAttribute("aria-label", e.mute), this.button.dataset.shortcut = "M", this.iconEl =
|
|
548
|
+
}), this.button = document.createElement("button"), this.button.type = "button", this.button.setAttribute("part", "volume-button"), this.button.className = "hp-chip hp:flex hp:items-center hp:justify-center hp:w-[var(--hp-ctrl-btn-size)] hp:h-[var(--hp-ctrl-btn-size)] hp:cursor-pointer", this.button.setAttribute("aria-label", e.mute), this.button.dataset.shortcut = "M", this.iconEl = z("volume-high", "hp:text-[length:var(--hp-ctrl-icon-size)]"), this.button.appendChild(this.iconEl), this.el.appendChild(this.button), this.slider = document.createElement("div"), this.slider.setAttribute("part", "volume-slider"), this.slider.className = "hp-chip hp:absolute hp:bottom-full hp:left-1/2 hp-center-x hp:mb-2 hp:w-7 hp:h-20 hp:rounded-full hp:cursor-pointer hp:flex hp:items-end hp:justify-center hp:p-1.5 hp:pointer-events-none hp:transition-opacity hp:duration-150 hp:will-change-[opacity]", this.slider.style.opacity = "0", this.slider.style.borderRadius = "9999px", this.slider.setAttribute("role", "slider"), this.slider.setAttribute("tabindex", "0"), this.slider.setAttribute("aria-label", e.volume), this.slider.setAttribute("aria-orientation", "vertical"), this.slider.setAttribute("aria-valuemin", "0"), this.slider.setAttribute("aria-valuemax", "100");
|
|
549
549
|
const r = document.createElement("div");
|
|
550
550
|
r.className = "hp:relative hp:w-1.5 hp:h-full hp:rounded-full hp:bg-on-surface/25 hp:overflow-hidden", this.slider.appendChild(r), this.sliderFill = document.createElement("div"), this.sliderFill.className = "hp:absolute hp:inset-x-0 hp:bottom-0 hp:bg-accent", r.appendChild(this.sliderFill), this.el.appendChild(this.slider), this.button.addEventListener("click", this.onToggleMute), this.slider.addEventListener("pointerdown", this.onSliderPointerDown), this.slider.addEventListener("keydown", this.onSliderKeyDown), this.el.addEventListener("mouseenter", this.openNow), this.el.addEventListener("mouseleave", this.scheduleHide), this.el.addEventListener("focusin", this.openNow), this.el.addEventListener("focusout", this.scheduleHide), this.el.addEventListener("wheel", this.onWheel, { passive: !1 }), t.addEventListener("volumechange", this.render), t.addEventListener("play", this.render), t.addEventListener("pause", this.render), this.render();
|
|
551
551
|
}
|
|
@@ -577,18 +577,25 @@ class _e {
|
|
|
577
577
|
this.hideTimer && clearTimeout(this.hideTimer), this.el.removeEventListener("mouseenter", this.openNow), this.el.removeEventListener("mouseleave", this.scheduleHide), this.el.removeEventListener("focusin", this.openNow), this.el.removeEventListener("focusout", this.scheduleHide), this.el.removeEventListener("wheel", this.onWheel), this.video.removeEventListener("volumechange", this.render), this.video.removeEventListener("play", this.render), this.video.removeEventListener("pause", this.render), this.unmuteBadge.remove();
|
|
578
578
|
}
|
|
579
579
|
}
|
|
580
|
-
const
|
|
581
|
-
function
|
|
580
|
+
const Qe = '<svg class="hp-lock" viewBox="0 0 24 24" width="14" height="14" aria-hidden="true"><path fill="currentColor" d="M12 2a5 5 0 0 0-5 5v3H6a2 2 0 0 0-2 2v8a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2v-8a2 2 0 0 0-2-2h-1V7a5 5 0 0 0-5-5Zm-3 8V7a3 3 0 1 1 6 0v3H9Z"/></svg>', $ = 8, O = 8, oe = 100, V = 256;
|
|
581
|
+
function We(n) {
|
|
582
|
+
return n.replace(/[&<>"']/g, (t) => `&#${t.charCodeAt(0)};`);
|
|
583
|
+
}
|
|
584
|
+
function Xe(n, t) {
|
|
582
585
|
if (!n || !t) return null;
|
|
583
586
|
const e = Math.min(n, t), i = Math.max(n, t);
|
|
584
|
-
return e >= 4e3 || i >= 7600 ? "8K" : e >= 2e3 || i >= 3800 ? "4K" : e >= 1400 || i >= 2500 ? "2K" : e >= 700 || i >= 1260 ? "HD" : String(
|
|
587
|
+
return e >= 4e3 || i >= 7600 ? "8K" : e >= 2e3 || i >= 3800 ? "4K" : e >= 1400 || i >= 2500 ? "2K" : e >= 700 || i >= 1260 ? "HD" : String(Ye.reduce((r, o) => Math.abs(o - e) < Math.abs(r - e) ? o : r));
|
|
585
588
|
}
|
|
586
|
-
const
|
|
587
|
-
class
|
|
589
|
+
const Ye = [144, 240, 360, 480, 540, 576];
|
|
590
|
+
class Je {
|
|
588
591
|
constructor(t, e, i) {
|
|
589
592
|
s(this, "el");
|
|
590
593
|
s(this, "button");
|
|
591
594
|
s(this, "badge");
|
|
595
|
+
s(this, "quickSlot");
|
|
596
|
+
/** Paneli en son açan hızlı erişim butonu — aynı butona tekrar basınca kapatmak için. */
|
|
597
|
+
s(this, "quickOwner", null);
|
|
598
|
+
s(this, "quickObserver");
|
|
592
599
|
s(this, "badgeEnabled", !0);
|
|
593
600
|
s(this, "panel");
|
|
594
601
|
s(this, "video");
|
|
@@ -612,7 +619,7 @@ class Qe {
|
|
|
612
619
|
* kısa kenar sayılır (1080×1920 → HD). Ses modu / görüntüsüz kaynakta rozet yok.
|
|
613
620
|
*/
|
|
614
621
|
s(this, "updateBadge", () => {
|
|
615
|
-
const t = this.badgeEnabled ?
|
|
622
|
+
const t = this.badgeEnabled ? Xe(this.video.videoWidth, this.video.videoHeight) : null;
|
|
616
623
|
this.badge.textContent = t ?? "", this.badge.hidden = !t, t ? this.badge.setAttribute("data-quality", t) : this.badge.removeAttribute("data-quality"), this.badge.toggleAttribute("data-low", !!t && /^\d+$/.test(t));
|
|
617
624
|
});
|
|
618
625
|
/**
|
|
@@ -630,25 +637,51 @@ class Qe {
|
|
|
630
637
|
}
|
|
631
638
|
const e = t.getBoundingClientRect(), i = this.button.getBoundingClientRect(), r = this.el.getBoundingClientRect(), o = !!this.el.closest(".hp-top-bar");
|
|
632
639
|
this.panel.toggleAttribute("data-drop", o), Object.assign(this.panel.style, { top: "", bottom: "", marginTop: "", marginBottom: "" });
|
|
633
|
-
const a = this.panel.scrollHeight, l = (o ? e.bottom - i.bottom : i.top - e.top) -
|
|
634
|
-
if (a <= l || l >=
|
|
635
|
-
this.panel.style.maxHeight = `${Math.min(
|
|
640
|
+
const a = this.panel.scrollHeight, l = (o ? e.bottom - i.bottom : i.top - e.top) - $ - O;
|
|
641
|
+
if (a <= l || l >= oe) {
|
|
642
|
+
this.panel.style.maxHeight = `${Math.min(V, l)}px`;
|
|
636
643
|
return;
|
|
637
644
|
}
|
|
638
|
-
this.panel.style.maxHeight = `${Math.min(
|
|
645
|
+
this.panel.style.maxHeight = `${Math.min(V, e.height - 2 * O)}px`, o ? Object.assign(this.panel.style, { top: `${e.top + O - r.top}px`, marginTop: "0" }) : Object.assign(this.panel.style, { bottom: `${r.bottom - (e.bottom - O)}px`, marginBottom: "0" });
|
|
639
646
|
});
|
|
640
647
|
s(this, "onDocumentClick", (t) => {
|
|
641
648
|
this.open && !t.composedPath().includes(this.el) && this.close();
|
|
642
649
|
});
|
|
650
|
+
/** İç içe alt menüde geri dönülecek üst menüler (en üstteki = açık olanın bir üstü). */
|
|
651
|
+
s(this, "submenuStack", []);
|
|
643
652
|
s(this, "backToCaptionSettings", () => {
|
|
644
653
|
this.currentPanel = "captions-settings", this.renderCaptionSettings();
|
|
645
654
|
});
|
|
646
|
-
this.video = t, this.playbackRates = e, this.labels = i, this.activeQualityLabel = i.autoQuality, this.activeCaptionLabel = i.captionsOff, this.el = document.createElement("div"), this.el.className = "hp:relative", this.button = document.createElement("button"), this.button.type = "button", this.button.setAttribute("aria-label", i.settings), this.button.className = "hp-chip hp:flex hp:items-center hp:justify-center hp:w-[var(--hp-ctrl-btn-size)] hp:h-[var(--hp-ctrl-btn-size)] hp:cursor-pointer", this.button.appendChild(
|
|
647
|
-
for (const
|
|
648
|
-
this.panel = document.createElement("div"), this.panel.className = "hp-chip hp-chip-panel hp:hidden hp:absolute hp:bottom-full hp:right-0 hp:mb-2 hp:w-48 hp:max-h-64 hp:overflow-y-auto hp:text-sm hp:py-1", this.panelObserver = new MutationObserver(this.fitToPlayer), this.panelObserver.observe(this.panel, { childList: !0 })
|
|
649
|
-
|
|
655
|
+
this.video = t, this.playbackRates = e, this.labels = i, this.activeQualityLabel = i.autoQuality, this.activeCaptionLabel = i.captionsOff, this.el = document.createElement("div"), this.el.className = "hp:relative", this.button = document.createElement("button"), this.button.type = "button", this.button.setAttribute("aria-label", i.settings), this.button.className = "hp-chip hp:flex hp:items-center hp:justify-center hp:w-[var(--hp-ctrl-btn-size)] hp:h-[var(--hp-ctrl-btn-size)] hp:cursor-pointer", this.button.appendChild(z("settings", "hp:text-[length:var(--hp-ctrl-icon-size)]")), this.badge = document.createElement("span"), this.badge.className = "hp-quality-badge", this.badge.setAttribute("part", "quality-badge"), this.badge.setAttribute("aria-hidden", "true"), this.badge.hidden = !0;
|
|
656
|
+
for (const o of ["resize", "loadedmetadata", "emptied"]) t.addEventListener(o, this.updateBadge);
|
|
657
|
+
this.panel = document.createElement("div"), this.panel.className = "hp-chip hp-chip-panel hp:hidden hp:absolute hp:bottom-full hp:right-0 hp:mb-2 hp:w-48 hp:max-h-64 hp:overflow-y-auto hp:text-sm hp:py-1", this.panelObserver = new MutationObserver(this.fitToPlayer), this.panelObserver.observe(this.panel, { childList: !0 });
|
|
658
|
+
const r = document.createElement("span");
|
|
659
|
+
r.className = "hp:relative hp:flex", r.appendChild(this.button), r.appendChild(this.badge), this.quickSlot = document.createElement("span"), this.quickSlot.className = "hp-quick-slot hp:flex hp:items-center hp:gap-1", this.quickSlot.hidden = !0, this.quickObserver = new MutationObserver(() => {
|
|
660
|
+
this.quickSlot.hidden = this.quickSlot.childElementCount === 0, this.quickOwner && !this.quickOwner.isConnected && (this.quickOwner = null);
|
|
661
|
+
}), this.quickObserver.observe(this.quickSlot, { childList: !0 }), this.el.className = "hp:relative hp:flex hp:items-center hp:gap-1", this.el.append(r, this.quickSlot, this.panel), this.button.addEventListener("click", (o) => {
|
|
662
|
+
o.stopPropagation(), this.toggle();
|
|
650
663
|
}), document.addEventListener("click", this.onDocumentClick, !0), this.renderMain();
|
|
651
664
|
}
|
|
665
|
+
/**
|
|
666
|
+
* Ayarlar butonunun sağına hızlı erişim butonu ekler; `def` verilen alt menüyü doğrudan açar (aynı butona tekrar
|
|
667
|
+
* basınca kapanır). `parents`: alt menüdeki "geri" satırının döneceği üst menüler. Kaldırmak için `btn.remove()`.
|
|
668
|
+
*/
|
|
669
|
+
addQuickButton(t, e, i = () => []) {
|
|
670
|
+
t.addEventListener("click", (r) => {
|
|
671
|
+
r.stopPropagation();
|
|
672
|
+
const o = e();
|
|
673
|
+
if (this.open && this.currentPanel === `custom:${o.key}` && this.quickOwner === t) {
|
|
674
|
+
this.close();
|
|
675
|
+
return;
|
|
676
|
+
}
|
|
677
|
+
this.openSubmenu(o, i()), this.quickOwner = t;
|
|
678
|
+
}), this.quickSlot.appendChild(t);
|
|
679
|
+
}
|
|
680
|
+
/** Menüyü doğrudan bir alt menüde açar (hızlı erişim butonları için). */
|
|
681
|
+
openSubmenu(t, e = []) {
|
|
682
|
+
var i;
|
|
683
|
+
this.open || (this.open = !0, this.panel.classList.remove("hp:hidden"), (i = this.onOpenChange) == null || i.call(this, !0)), this.currentPanel = `custom:${t.key}`, this.renderSubmenu(t, e), this.fitToPlayer();
|
|
684
|
+
}
|
|
652
685
|
/** `options.qualityBadge` — false ise rozet hiç gösterilmez. */
|
|
653
686
|
setQualityBadgeEnabled(t) {
|
|
654
687
|
this.badgeEnabled = t, this.updateBadge();
|
|
@@ -695,8 +728,8 @@ class Qe {
|
|
|
695
728
|
fitToViewport() {
|
|
696
729
|
const t = this.button.getBoundingClientRect();
|
|
697
730
|
Object.assign(this.panel.style, { top: "", bottom: "", marginTop: "", marginBottom: "" });
|
|
698
|
-
const e = this.panel.scrollHeight, i = t.top -
|
|
699
|
-
this.panel.toggleAttribute("data-drop", o), this.panel.style.maxHeight = `${Math.max(
|
|
731
|
+
const e = this.panel.scrollHeight, i = t.top - $ - O, r = window.innerHeight - t.bottom - $ - O, o = i < Math.min(e, V) && r > i;
|
|
732
|
+
this.panel.toggleAttribute("data-drop", o), this.panel.style.maxHeight = `${Math.max(oe, Math.min(V, o ? r : i))}px`;
|
|
700
733
|
}
|
|
701
734
|
/** Düzen değişince (ör. kompakt ↔ normal) açık menüyü kapat — eski konumunda asılı kalmasın. */
|
|
702
735
|
closeMenu() {
|
|
@@ -704,7 +737,7 @@ class Qe {
|
|
|
704
737
|
}
|
|
705
738
|
close() {
|
|
706
739
|
var t;
|
|
707
|
-
this.open = !1, this.panel.classList.add("hp:hidden"), (t = this.onOpenChange) == null || t.call(this, !1);
|
|
740
|
+
this.open = !1, this.quickOwner = null, this.panel.classList.add("hp:hidden"), (t = this.onOpenChange) == null || t.call(this, !1);
|
|
708
741
|
}
|
|
709
742
|
row(t, e, i) {
|
|
710
743
|
const r = document.createElement("button");
|
|
@@ -712,7 +745,7 @@ class Qe {
|
|
|
712
745
|
}
|
|
713
746
|
backRow(t, e) {
|
|
714
747
|
const i = document.createElement("button");
|
|
715
|
-
i.type = "button", i.className = "hp:flex hp:items-center hp:gap-2 hp:w-full hp:px-3 hp:py-2 hp:text-left hp:bg-transparent hp:border-0 hp:cursor-pointer hp:text-on-surface hp:font-medium hp:hover:bg-on-surface/10", i.appendChild(
|
|
748
|
+
i.type = "button", i.className = "hp:flex hp:items-center hp:gap-2 hp:w-full hp:px-3 hp:py-2 hp:text-left hp:bg-transparent hp:border-0 hp:cursor-pointer hp:text-on-surface hp:font-medium hp:hover:bg-on-surface/10", i.appendChild(z("chevron-left", "hp:text-sm"));
|
|
716
749
|
const r = document.createElement("span");
|
|
717
750
|
return r.textContent = t, i.appendChild(r), i.addEventListener("click", e), i;
|
|
718
751
|
}
|
|
@@ -759,14 +792,23 @@ class Qe {
|
|
|
759
792
|
);
|
|
760
793
|
}
|
|
761
794
|
}
|
|
762
|
-
renderSubmenu(t) {
|
|
763
|
-
this.panel.innerHTML = "", this.panel.appendChild(
|
|
764
|
-
|
|
765
|
-
|
|
766
|
-
this.
|
|
767
|
-
|
|
768
|
-
|
|
769
|
-
|
|
795
|
+
renderSubmenu(t, e = []) {
|
|
796
|
+
this.submenuStack = e, this.panel.innerHTML = "", this.panel.appendChild(
|
|
797
|
+
this.backRow(t.title, () => {
|
|
798
|
+
const i = e[e.length - 1];
|
|
799
|
+
i ? this.renderSubmenu(i, e.slice(0, -1)) : this.renderMain();
|
|
800
|
+
})
|
|
801
|
+
);
|
|
802
|
+
for (const i of t.getItems()) {
|
|
803
|
+
const r = i.children ? '<i class="hp-icon hp-icon-chevron-left hp-chevron-forward"></i>' : i.active ? '<i class="hp-icon hp-icon-check"></i>' : "", o = this.row(i.label, i.value !== void 0 ? We(i.value) + (i.children ? r : "") : r, () => {
|
|
804
|
+
if (i.children) {
|
|
805
|
+
this.renderSubmenu(i.children(), [...e, t]);
|
|
806
|
+
return;
|
|
807
|
+
}
|
|
808
|
+
i.onSelect(), i.keepOpen ? this.renderSubmenu(t, e) : this.close();
|
|
809
|
+
});
|
|
810
|
+
this.panel.appendChild(o);
|
|
811
|
+
}
|
|
770
812
|
}
|
|
771
813
|
renderSpeed() {
|
|
772
814
|
this.panel.innerHTML = "", this.panel.appendChild(this.backRow(this.labels.playbackSpeed, () => this.renderMain()));
|
|
@@ -780,7 +822,7 @@ class Qe {
|
|
|
780
822
|
renderQuality() {
|
|
781
823
|
this.panel.innerHTML = "", this.panel.appendChild(this.backRow(this.labels.quality, () => this.renderMain()));
|
|
782
824
|
for (const t of this.qualities) {
|
|
783
|
-
const e = t.label === this.activeQualityLabel, i = this.row(t.label, t.locked ?
|
|
825
|
+
const e = t.label === this.activeQualityLabel, i = this.row(t.label, t.locked ? Qe : e ? '<i class="hp-icon hp-icon-check"></i>' : "", () => {
|
|
784
826
|
t.onSelect(), this.close();
|
|
785
827
|
});
|
|
786
828
|
t.locked && i.setAttribute("data-locked", ""), this.panel.appendChild(i);
|
|
@@ -868,26 +910,26 @@ class Qe {
|
|
|
868
910
|
destroy() {
|
|
869
911
|
document.removeEventListener("click", this.onDocumentClick, !0);
|
|
870
912
|
for (const t of ["resize", "loadedmetadata", "emptied"]) this.video.removeEventListener(t, this.updateBadge);
|
|
871
|
-
this.panelObserver.disconnect();
|
|
913
|
+
this.panelObserver.disconnect(), this.quickObserver.disconnect();
|
|
872
914
|
}
|
|
873
915
|
}
|
|
874
|
-
const
|
|
875
|
-
function
|
|
876
|
-
const { btn: e } =
|
|
916
|
+
const Ze = 15, et = 480, tt = 150, ae = ["waiting", "seeking"], ne = ["playing", "canplay", "canplaythrough", "seeked", "pause", "error", "emptied"];
|
|
917
|
+
function le(n, t) {
|
|
918
|
+
const { btn: e } = D("", `skip-${n}`);
|
|
877
919
|
e.classList.add("hp-skip-btn"), e.setAttribute("part", t);
|
|
878
920
|
const i = document.createElement("span");
|
|
879
921
|
return i.className = "hp-skip-num", i.setAttribute("aria-hidden", "true"), e.appendChild(i), e.style.display = "none", { btn: e, num: i };
|
|
880
922
|
}
|
|
881
|
-
function
|
|
923
|
+
function N(n, t) {
|
|
882
924
|
n.setAttribute("aria-label", t);
|
|
883
925
|
}
|
|
884
|
-
function
|
|
926
|
+
function D(n, t, e) {
|
|
885
927
|
const i = document.createElement("button");
|
|
886
|
-
i.type = "button",
|
|
887
|
-
const r =
|
|
928
|
+
i.type = "button", N(i, n), e && (i.dataset.shortcut = e), i.className = "hp-chip hp:flex hp:items-center hp:justify-center hp:w-[var(--hp-ctrl-btn-size)] hp:h-[var(--hp-ctrl-btn-size)] hp:cursor-pointer hp:shrink-0";
|
|
929
|
+
const r = z(t, "hp:text-[length:var(--hp-ctrl-icon-size)]");
|
|
888
930
|
return i.appendChild(r), { btn: i, icon: r };
|
|
889
931
|
}
|
|
890
|
-
class
|
|
932
|
+
class it {
|
|
891
933
|
constructor(t, e, i, r) {
|
|
892
934
|
s(this, "el");
|
|
893
935
|
s(this, "seekBar");
|
|
@@ -944,7 +986,7 @@ class Je {
|
|
|
944
986
|
s(this, "renderPlayState", () => {
|
|
945
987
|
var e;
|
|
946
988
|
const t = this.callbacks.isAdActive() ? this.callbacks.adIsPaused() : this.video.paused && !this.pendingPlay;
|
|
947
|
-
|
|
989
|
+
H(this.playIcon, t ? "play" : "pause"), N(this.playButton, t ? this.labels.play : this.labels.pause), (e = this.barMetaEl) == null || e.toggleAttribute("data-playing", !t && !this.callbacks.isAdActive());
|
|
948
990
|
});
|
|
949
991
|
s(this, "renderTime", () => {
|
|
950
992
|
var r, o;
|
|
@@ -953,19 +995,19 @@ class Je {
|
|
|
953
995
|
const a = this.video.duration, l = this.video.currentTime;
|
|
954
996
|
if (this.showRemaining) {
|
|
955
997
|
const h = Number.isFinite(a) ? Math.floor(a) : 0, m = Math.max(0, h - Math.floor(l));
|
|
956
|
-
this.timeLabel.textContent = `-${
|
|
998
|
+
this.timeLabel.textContent = `-${R(m)} / ${R(a)}`;
|
|
957
999
|
} else
|
|
958
|
-
this.timeLabel.textContent = `${
|
|
1000
|
+
this.timeLabel.textContent = `${R(l)} / ${R(a)}`;
|
|
959
1001
|
return;
|
|
960
1002
|
}
|
|
961
|
-
const e = ((o = (r = this.callbacks).liveSyncPosition) == null ? void 0 : o.call(r)) ?? this.liveEdge(), i = e !== null && e - this.video.currentTime >
|
|
1003
|
+
const e = ((o = (r = this.callbacks).liveSyncPosition) == null ? void 0 : o.call(r)) ?? this.liveEdge(), i = e !== null && e - this.video.currentTime > Ze;
|
|
962
1004
|
this.liveBadge.toggleAttribute("data-behind", i);
|
|
963
1005
|
});
|
|
964
1006
|
/** Buffer bekleniyor (oynarken takılma ya da buffer'lanmamış bir yere atlama). */
|
|
965
1007
|
s(this, "onLoadingStart", (t) => {
|
|
966
1008
|
t.type === "seeking" && this.video.readyState >= HTMLMediaElement.HAVE_FUTURE_DATA || this.loadingTimer || this.loadingReasons.has("media") || (this.loadingTimer = setTimeout(() => {
|
|
967
1009
|
this.loadingTimer = null, this.setLoading("media", !0);
|
|
968
|
-
},
|
|
1010
|
+
}, tt));
|
|
969
1011
|
});
|
|
970
1012
|
s(this, "onLoadingEnd", (t) => {
|
|
971
1013
|
t.type === "seeked" && this.video.readyState < HTMLMediaElement.HAVE_FUTURE_DATA && !this.video.paused || (this.loadingTimer && clearTimeout(this.loadingTimer), this.loadingTimer = null, this.setLoading("media", !1));
|
|
@@ -976,7 +1018,7 @@ class Je {
|
|
|
976
1018
|
e === null && t == null || (this.video.currentTime = t ?? Math.max(0, e - 1), this.video.paused && this.video.play().catch(() => {
|
|
977
1019
|
}), this.renderTime());
|
|
978
1020
|
});
|
|
979
|
-
this.video = t, this.callbacks = i, this.labels = r, this.el = document.createElement("div"), this.el.setAttribute("part", "control-bar"), this.el.className = "hp:absolute hp:inset-x-0 hp:bottom-0 hp:flex hp:flex-col hp:gap-1 hp:px-3 hp:pb-2 hp:pt-6 hp:pointer-events-none hp:transition-opacity hp:duration-200", this.seekBar = new
|
|
1021
|
+
this.video = t, this.callbacks = i, this.labels = r, this.el = document.createElement("div"), this.el.setAttribute("part", "control-bar"), this.el.className = "hp:absolute hp:inset-x-0 hp:bottom-0 hp:flex hp:flex-col hp:gap-1 hp:px-3 hp:pb-2 hp:pt-6 hp:pointer-events-none hp:transition-opacity hp:duration-200", this.seekBar = new Ke(t, r), this.seekBar.el.classList.add("hp:pointer-events-auto"), this.el.appendChild(this.seekBar.el);
|
|
980
1022
|
const o = document.createElement("div");
|
|
981
1023
|
o.className = "hp:flex hp:items-center hp:gap-2", this.el.appendChild(o), this.bottomRow = o;
|
|
982
1024
|
const a = document.createElement("div");
|
|
@@ -985,20 +1027,20 @@ class Je {
|
|
|
985
1027
|
l.className = "hp-loading-ring", l.setAttribute("aria-hidden", "true");
|
|
986
1028
|
const h = document.createElement("span");
|
|
987
1029
|
h.className = "hp-loading-ring-mask", h.appendChild(document.createElement("span")), l.appendChild(h), a.appendChild(l);
|
|
988
|
-
const m =
|
|
989
|
-
this.playButton = m.btn, this.playIcon = m.icon, this.playButton.setAttribute("part", "play-pause-button"), this.playButton.addEventListener("click", () => this.togglePlay()), a.appendChild(this.playButton), this.skipBack =
|
|
1030
|
+
const m = D(r.play, "play", "K");
|
|
1031
|
+
this.playButton = m.btn, this.playIcon = m.icon, this.playButton.setAttribute("part", "play-pause-button"), this.playButton.addEventListener("click", () => this.togglePlay()), a.appendChild(this.playButton), this.skipBack = le("back", "skip-back-button"), this.skipBack.btn.addEventListener("click", () => this.skip(-(this.skipSeconds.back ?? 0))), this.skipForward = le("forward", "skip-forward-button"), this.skipForward.btn.addEventListener("click", () => this.skip(this.skipSeconds.forward ?? 0)), a.append(this.skipBack.btn, this.skipForward.btn), this.volumePanel = new $e(t, r, i.adVolume), a.appendChild(this.volumePanel.el), this.timeLabel = document.createElement("button"), this.timeLabel.type = "button", this.timeLabel.setAttribute("part", "time-display"), this.timeLabel.className = "hp:text-xs hp:text-on-surface hp:tabular-nums hp:whitespace-nowrap hp:px-1 hp:bg-transparent hp:border-0 hp:cursor-pointer hp:select-none hp:p-0 hp:hover:opacity-80 hp:transition-opacity hp:rounded", this.timeLabel.textContent = "0:00 / 0:00", this.timeLabel.addEventListener("click", this.onTimeClick), a.appendChild(this.timeLabel), this.adInfoEl = document.createElement("span"), this.adInfoEl.setAttribute("part", "ad-countdown"), this.adInfoEl.className = "hp:text-xs hp:text-on-surface hp:tabular-nums hp:whitespace-nowrap hp:px-1 hp:select-none", this.adInfoEl.setAttribute("aria-live", "off"), this.adInfoEl.style.display = "none", this.liveBadge = document.createElement("button"), this.liveBadge.type = "button", this.liveBadge.className = "hp-live-badge", this.liveBadge.setAttribute("part", "live-badge"), this.liveBadge.setAttribute("aria-label", r.goToLive);
|
|
990
1032
|
const d = document.createElement("span");
|
|
991
1033
|
d.className = "hp-live-dot", this.liveText = document.createElement("span"), this.liveText.textContent = r.live, this.liveBadge.append(d, this.liveText), this.liveBadge.style.display = "none", this.liveBadge.addEventListener("click", this.goToLive), a.appendChild(this.liveBadge), a.appendChild(this.adInfoEl);
|
|
992
1034
|
const p = document.createElement("div");
|
|
993
1035
|
p.className = "hp:flex-1 hp:min-w-0", o.appendChild(p), this.spacerEl = p;
|
|
994
1036
|
const g = document.createElement("div");
|
|
995
|
-
g.className = "hp-group hp:flex hp:items-center hp:gap-1 hp:px-1.5 hp:py-1 hp:shrink-0 hp:pointer-events-auto", o.appendChild(g), this.rightGroup = g, this.settingsMenu = new
|
|
996
|
-
const f =
|
|
1037
|
+
g.className = "hp-group hp:flex hp:items-center hp:gap-1 hp:px-1.5 hp:py-1 hp:shrink-0 hp:pointer-events-auto", o.appendChild(g), this.rightGroup = g, this.settingsMenu = new Je(t, e, r), g.appendChild(this.settingsMenu.el), this.extraButtonAnchor = this.settingsMenu.el, this.row = g;
|
|
1038
|
+
const f = D(r.pip, "pip");
|
|
997
1039
|
this.pipButton = f.btn, this.pipButton.addEventListener("click", () => this.togglePip()), document.pictureInPictureEnabled || (this.pipButton.style.display = "none"), g.appendChild(this.pipButton);
|
|
998
|
-
const v =
|
|
1040
|
+
const v = D(r.fullscreenEnter, "fullscreen-enter", "F");
|
|
999
1041
|
this.fullscreenButton = v.btn, this.fullscreenIcon = v.icon, this.fullscreenButton.addEventListener("click", () => this.toggleFullscreen()), g.appendChild(this.fullscreenButton), this.topEl = document.createElement("div"), this.topEl.className = "hp-top-bar", this.topEl.setAttribute("part", "top-bar"), this.fullscreenSlot = document.createElement("div"), this.fullscreenSlot.className = "hp-group hp:items-center hp:px-1.5 hp:py-1 hp:shrink-0 hp:pointer-events-auto", this.fullscreenSlot.style.display = "none", o.appendChild(this.fullscreenSlot), this.resizeObserver = new ResizeObserver(() => this.updateLayout()), this.resizeObserver.observe(this.el), t.addEventListener("play", this.renderPlayState), t.addEventListener("pause", this.renderPlayState), t.addEventListener("timeupdate", this.renderTime), t.addEventListener("loadedmetadata", this.renderTime), t.addEventListener("durationchange", this.renderTime), t.addEventListener("progress", this.renderTime), t.addEventListener("emptied", this.renderTime);
|
|
1000
|
-
for (const
|
|
1001
|
-
for (const
|
|
1042
|
+
for (const x of ae) t.addEventListener(x, this.onLoadingStart);
|
|
1043
|
+
for (const x of ne) t.addEventListener(x, this.onLoadingEnd);
|
|
1002
1044
|
this.renderPlayState(), this.renderTime();
|
|
1003
1045
|
}
|
|
1004
1046
|
/** Player genişliğine göre normal / kompakt (mobil) düzen arasında geçiş — yalnızca eşik geçilince DOM taşınır. */
|
|
@@ -1006,7 +1048,7 @@ class Je {
|
|
|
1006
1048
|
var i;
|
|
1007
1049
|
const t = this.el.getBoundingClientRect().width;
|
|
1008
1050
|
if (t === 0) return;
|
|
1009
|
-
const e = !this.forceInline && t <
|
|
1051
|
+
const e = !this.forceInline && t < et;
|
|
1010
1052
|
e !== this.compact && (this.compact = e, this.settingsMenu.closeMenu(), this.el.toggleAttribute("data-compact", e), (i = this.el.closest(".video-area")) == null || i.toggleAttribute("data-compact", e), e ? (this.fullscreenSlot.appendChild(this.fullscreenButton), this.fullscreenSlot.style.display = this.adMode || this.audioMode ? "none" : "flex", this.topEl.appendChild(this.rightGroup)) : (this.rightGroup.appendChild(this.fullscreenButton), this.bottomRow.insertBefore(this.rightGroup, this.fullscreenSlot), this.fullscreenSlot.style.display = "none"));
|
|
1011
1053
|
}
|
|
1012
1054
|
/**
|
|
@@ -1030,7 +1072,7 @@ class Je {
|
|
|
1030
1072
|
this.audioMode = t, this.fullscreenButton.style.display = t ? "none" : "", this.compact && (this.fullscreenSlot.style.display = t || this.adMode ? "none" : "flex"), this.pipButton.style.display = t || !document.pictureInPictureEnabled ? "none" : "";
|
|
1031
1073
|
}
|
|
1032
1074
|
setFullscreenState(t) {
|
|
1033
|
-
|
|
1075
|
+
H(this.fullscreenIcon, t ? "fullscreen-exit" : "fullscreen-enter"), N(this.fullscreenButton, t ? this.labels.fullscreenExit : this.labels.fullscreenEnter);
|
|
1034
1076
|
}
|
|
1035
1077
|
/** Dil sonradan değişince (`options.locale`/`labels`) statik (reaktif olarak yeniden render edilmeyen) etiketleri tazeler. */
|
|
1036
1078
|
/** Geri/ileri sarma butonları — `null` süre o butonu gizler. */
|
|
@@ -1043,16 +1085,16 @@ class Je {
|
|
|
1043
1085
|
}
|
|
1044
1086
|
renderSkipButtons() {
|
|
1045
1087
|
const t = (e, i, r) => {
|
|
1046
|
-
e.btn.style.display = i === null || this.adMode ? "none" : "", i !== null && (e.num.textContent = String(i), e.num.toggleAttribute("data-long", String(i).length > 2),
|
|
1088
|
+
e.btn.style.display = i === null || this.adMode ? "none" : "", i !== null && (e.num.textContent = String(i), e.num.toggleAttribute("data-long", String(i).length > 2), N(e.btn, r(i)));
|
|
1047
1089
|
};
|
|
1048
1090
|
t(this.skipBack, this.skipSeconds.back, this.labels.skipBack), t(this.skipForward, this.skipSeconds.forward, this.labels.skipForward);
|
|
1049
1091
|
}
|
|
1050
1092
|
skip(t) {
|
|
1051
1093
|
var e;
|
|
1052
|
-
!t || !this.seekingEnabled || (
|
|
1094
|
+
!t || !this.seekingEnabled || (Te(this.video, t), (e = this.onSkip) == null || e.call(this, t));
|
|
1053
1095
|
}
|
|
1054
1096
|
refreshLabels() {
|
|
1055
|
-
this.renderPlayState(), this.renderSkipButtons(),
|
|
1097
|
+
this.renderPlayState(), this.renderSkipButtons(), N(this.pipButton, this.labels.pip), N(this.liveBadge, this.labels.goToLive), this.liveText.textContent = this.labels.live, this.setFullscreenState(this.callbacks.isFullscreen()), this.seekBar.refreshLabels(), this.volumePanel.refreshLabels(), this.settingsMenu.refreshLabels();
|
|
1056
1098
|
}
|
|
1057
1099
|
/** Reklam modu: seek bar, süre ve sağ grup gizlenir; oynat/duraklat + ses kalır. */
|
|
1058
1100
|
setAdMode(t) {
|
|
@@ -1068,7 +1110,7 @@ class Je {
|
|
|
1068
1110
|
this.adInfoEl.style.display = "none", this.adInfoEl.textContent = "";
|
|
1069
1111
|
return;
|
|
1070
1112
|
}
|
|
1071
|
-
const e = t.total > 1 ? ` ${t.position}/${t.total}` : "", i = t.remaining >= 0 ? ` · ${
|
|
1113
|
+
const e = t.total > 1 ? ` ${t.position}/${t.total}` : "", i = t.remaining >= 0 ? ` · ${R(Math.ceil(t.remaining))}` : "";
|
|
1072
1114
|
this.adInfoEl.textContent = `${this.labels.adLabel}${e}${i}`, this.adInfoEl.style.display = "";
|
|
1073
1115
|
}
|
|
1074
1116
|
/** `AdsController`'ın IMA'nın KENDİ UI'ı üzerinden (ör. reklam video'suna tıklama) gelen PAUSED/RESUMED event'leri için — oynat/duraklat ikonunu tazeler. */
|
|
@@ -1083,7 +1125,7 @@ class Je {
|
|
|
1083
1125
|
}
|
|
1084
1126
|
/** Plugin'lerin (loop-section vb.) kontrol çubuğuna kendi butonlarını eklemesi için — ayarlar menüsünden önce yerleştirilir. */
|
|
1085
1127
|
addButton(t, e, i) {
|
|
1086
|
-
const { btn: r, icon: o } =
|
|
1128
|
+
const { btn: r, icon: o } = D(t, e);
|
|
1087
1129
|
return r.addEventListener("click", i), this.row.insertBefore(r, this.extraButtonAnchor), { btn: r, icon: o };
|
|
1088
1130
|
}
|
|
1089
1131
|
toggleTimeMode() {
|
|
@@ -1143,16 +1185,16 @@ class Je {
|
|
|
1143
1185
|
}
|
|
1144
1186
|
destroy() {
|
|
1145
1187
|
this.timeLabel.removeEventListener("click", this.onTimeClick), this.video.removeEventListener("play", this.renderPlayState), this.video.removeEventListener("pause", this.renderPlayState), this.video.removeEventListener("timeupdate", this.renderTime), this.video.removeEventListener("loadedmetadata", this.renderTime), this.video.removeEventListener("durationchange", this.renderTime), this.video.removeEventListener("progress", this.renderTime), this.video.removeEventListener("emptied", this.renderTime);
|
|
1146
|
-
for (const t of
|
|
1147
|
-
for (const t of
|
|
1188
|
+
for (const t of ae) this.video.removeEventListener(t, this.onLoadingStart);
|
|
1189
|
+
for (const t of ne) this.video.removeEventListener(t, this.onLoadingEnd);
|
|
1148
1190
|
this.loadingTimer && clearTimeout(this.loadingTimer), this.resizeObserver.disconnect(), this.topEl.remove(), this.seekBar.destroy(), this.settingsMenu.destroy();
|
|
1149
1191
|
}
|
|
1150
1192
|
}
|
|
1151
|
-
const
|
|
1152
|
-
function
|
|
1193
|
+
const rt = 450, st = 60, he = 8, Q = 6, ot = /* @__PURE__ */ new Set(["seek-bar", "time-display"]);
|
|
1194
|
+
function at() {
|
|
1153
1195
|
return typeof window.matchMedia != "function" || window.matchMedia("(hover: hover)").matches;
|
|
1154
1196
|
}
|
|
1155
|
-
class
|
|
1197
|
+
class nt {
|
|
1156
1198
|
constructor(t) {
|
|
1157
1199
|
s(this, "el");
|
|
1158
1200
|
s(this, "labelEl");
|
|
@@ -1206,18 +1248,18 @@ class rt {
|
|
|
1206
1248
|
const e = t, i = (o = e == null ? void 0 : e.closest) == null ? void 0 : o.call(e, 'button[aria-label], [role="slider"][aria-label]');
|
|
1207
1249
|
if (!i) return null;
|
|
1208
1250
|
const r = i.getAttribute("part");
|
|
1209
|
-
return r &&
|
|
1251
|
+
return r && ot.has(r) || i.offsetParent === null && i !== document.activeElement ? null : i;
|
|
1210
1252
|
}
|
|
1211
1253
|
scheduleShow(t) {
|
|
1212
1254
|
this.hideTimer && (clearTimeout(this.hideTimer), this.hideTimer = null), this.showTimer && clearTimeout(this.showTimer), this.pendingTarget = t, this.showTimer = setTimeout(() => {
|
|
1213
1255
|
this.showTimer = null, this.pendingTarget = null, this.show(t);
|
|
1214
|
-
},
|
|
1256
|
+
}, rt);
|
|
1215
1257
|
}
|
|
1216
1258
|
scheduleHide() {
|
|
1217
|
-
this.showTimer && (clearTimeout(this.showTimer), this.showTimer = null), this.pendingTarget = null, this.hideTimer && clearTimeout(this.hideTimer), this.hideTimer = setTimeout(() => this.hideNow(),
|
|
1259
|
+
this.showTimer && (clearTimeout(this.showTimer), this.showTimer = null), this.pendingTarget = null, this.hideTimer && clearTimeout(this.hideTimer), this.hideTimer = setTimeout(() => this.hideNow(), st);
|
|
1218
1260
|
}
|
|
1219
1261
|
show(t) {
|
|
1220
|
-
if (!
|
|
1262
|
+
if (!at()) return;
|
|
1221
1263
|
const e = t.getAttribute("aria-label");
|
|
1222
1264
|
if (!e) return;
|
|
1223
1265
|
this.currentTarget = t, this.labelEl.textContent = e;
|
|
@@ -1229,14 +1271,14 @@ class rt {
|
|
|
1229
1271
|
}
|
|
1230
1272
|
position(t) {
|
|
1231
1273
|
const e = this.mountEl.getBoundingClientRect(), i = t.getBoundingClientRect(), r = this.el.getBoundingClientRect();
|
|
1232
|
-
let o = i.top - e.top - r.height -
|
|
1233
|
-
o <
|
|
1274
|
+
let o = i.top - e.top - r.height - he;
|
|
1275
|
+
o < Q && (o = i.bottom - e.top + he);
|
|
1234
1276
|
let a = i.left - e.left + i.width / 2 - r.width / 2;
|
|
1235
|
-
const l = e.width - r.width -
|
|
1236
|
-
a = Math.max(
|
|
1277
|
+
const l = e.width - r.width - Q;
|
|
1278
|
+
a = Math.max(Q, Math.min(a, l)), this.el.style.top = `${o}px`, this.el.style.left = `${a}px`;
|
|
1237
1279
|
}
|
|
1238
1280
|
}
|
|
1239
|
-
class
|
|
1281
|
+
class lt {
|
|
1240
1282
|
constructor(t, e, i) {
|
|
1241
1283
|
s(this, "host");
|
|
1242
1284
|
s(this, "video");
|
|
@@ -1264,7 +1306,7 @@ class st {
|
|
|
1264
1306
|
break;
|
|
1265
1307
|
case "ArrowRight":
|
|
1266
1308
|
case "l":
|
|
1267
|
-
Number.isFinite(i) && (this.video.currentTime =
|
|
1309
|
+
Number.isFinite(i) && (this.video.currentTime = K(this.video, Math.min(i, this.video.currentTime + this.seekStep)), (o = this.onSeek) == null || o.call(this, this.seekStep)), t.preventDefault();
|
|
1268
1310
|
break;
|
|
1269
1311
|
case "ArrowLeft":
|
|
1270
1312
|
case "j":
|
|
@@ -1290,7 +1332,7 @@ class st {
|
|
|
1290
1332
|
this.host.removeEventListener("keydown", this.onKeyDown);
|
|
1291
1333
|
}
|
|
1292
1334
|
}
|
|
1293
|
-
class
|
|
1335
|
+
class ht {
|
|
1294
1336
|
constructor(t) {
|
|
1295
1337
|
s(this, "el");
|
|
1296
1338
|
s(this, "video");
|
|
@@ -1302,8 +1344,8 @@ class ot {
|
|
|
1302
1344
|
this.video.removeEventListener("waiting", this.show), this.video.removeEventListener("playing", this.hide), this.video.removeEventListener("canplay", this.hide), this.video.removeEventListener("pause", this.hide);
|
|
1303
1345
|
}
|
|
1304
1346
|
}
|
|
1305
|
-
const
|
|
1306
|
-
class
|
|
1347
|
+
const pt = '<svg viewBox="0 0 24 24" width="14" height="14" fill="none" stroke="currentColor" stroke-width="2.2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M20 11a8 8 0 1 0-2.3 5.7"/><path d="M20 4v7h-7"/></svg>';
|
|
1348
|
+
class dt {
|
|
1307
1349
|
constructor(t, e) {
|
|
1308
1350
|
s(this, "el");
|
|
1309
1351
|
s(this, "video");
|
|
@@ -1319,13 +1361,13 @@ class nt {
|
|
|
1319
1361
|
/** showStreamError ile açılan hatanın kodu (video.error yokken). */
|
|
1320
1362
|
s(this, "streamErrorCode", 0);
|
|
1321
1363
|
s(this, "show", () => {
|
|
1322
|
-
!this.video.getAttribute("src") && !this.video.querySelector("source") ||
|
|
1364
|
+
!this.video.getAttribute("src") && !this.video.querySelector("source") || ee(this.video.error) || this.shouldShow() && this.open();
|
|
1323
1365
|
});
|
|
1324
1366
|
this.video = t, this.labels = e, this.el = document.createElement("div"), this.el.setAttribute("part", "error-screen"), this.el.setAttribute("role", "alert"), this.el.className = "hp-error-screen";
|
|
1325
1367
|
const i = document.createElement("div");
|
|
1326
1368
|
i.className = "hp-error-card";
|
|
1327
1369
|
const r = document.createElement("div");
|
|
1328
|
-
r.className = "hp-error-icon", r.appendChild(
|
|
1370
|
+
r.className = "hp-error-icon", r.appendChild(z("warning")), i.appendChild(r), this.messageEl = document.createElement("p"), this.messageEl.className = "hp-error-message", i.appendChild(this.messageEl), this.codeEl = document.createElement("p"), this.codeEl.className = "hp-error-code", i.appendChild(this.codeEl), this.retryBtn = document.createElement("button"), this.retryBtn.type = "button", this.retryBtn.className = "hp-error-retry", this.retryBtn.innerHTML = pt, this.retryText = document.createElement("span"), this.retryText.textContent = e.retry, this.retryBtn.appendChild(this.retryText), this.retryBtn.addEventListener("click", () => {
|
|
1329
1371
|
var o;
|
|
1330
1372
|
this.dismiss(), (o = this.onRetry) == null || o.call(this);
|
|
1331
1373
|
}), i.appendChild(this.retryBtn), this.el.appendChild(i), t.addEventListener("error", this.show);
|
|
@@ -1379,38 +1421,38 @@ class nt {
|
|
|
1379
1421
|
this.video.removeEventListener("error", this.show);
|
|
1380
1422
|
}
|
|
1381
1423
|
}
|
|
1382
|
-
const
|
|
1383
|
-
function
|
|
1384
|
-
return
|
|
1424
|
+
const Y = /* @__PURE__ */ new WeakMap(), Ae = /* @__PURE__ */ new WeakSet(), j = /* @__PURE__ */ new WeakMap();
|
|
1425
|
+
function ct(n) {
|
|
1426
|
+
return Ae.has(n);
|
|
1385
1427
|
}
|
|
1386
|
-
function
|
|
1387
|
-
let o =
|
|
1388
|
-
o ||
|
|
1428
|
+
function Le(n, t, e, i, r) {
|
|
1429
|
+
let o = Y.get(n);
|
|
1430
|
+
o || Y.set(n, o = /* @__PURE__ */ new Map());
|
|
1389
1431
|
const a = `${t}\0${e}\0${i}\0${r}`;
|
|
1390
1432
|
let l = o.get(a);
|
|
1391
|
-
return l || (l = n.addTextTrack(e, i, r),
|
|
1433
|
+
return l || (l = n.addTextTrack(e, i, r), Ae.add(l), o.set(a, l)), l;
|
|
1392
1434
|
}
|
|
1393
|
-
function
|
|
1394
|
-
for (const [e, i] of
|
|
1435
|
+
function Pe(n, t) {
|
|
1436
|
+
for (const [e, i] of Y.get(n) ?? [])
|
|
1395
1437
|
if (e.startsWith(`${t}\0`)) {
|
|
1396
1438
|
i.mode = "hidden";
|
|
1397
1439
|
for (const r of Array.from(i.cues ?? [])) i.removeCue(r);
|
|
1398
1440
|
i.mode = "disabled";
|
|
1399
1441
|
}
|
|
1400
1442
|
}
|
|
1401
|
-
function
|
|
1402
|
-
|
|
1403
|
-
const e =
|
|
1443
|
+
function ut(n, t) {
|
|
1444
|
+
Me(n);
|
|
1445
|
+
const e = j.get(n), i = [];
|
|
1404
1446
|
for (const r of t) {
|
|
1405
|
-
const o =
|
|
1406
|
-
o.mode = r.default ? "hidden" : "disabled", i.push({ label: r.label, track: o }),
|
|
1447
|
+
const o = Le(n, "options", "subtitles", r.label, r.srclang);
|
|
1448
|
+
o.mode = r.default ? "hidden" : "disabled", i.push({ label: r.label, track: o }), gt(n, o, r.src, e);
|
|
1407
1449
|
}
|
|
1408
1450
|
return i;
|
|
1409
1451
|
}
|
|
1410
|
-
function
|
|
1411
|
-
|
|
1452
|
+
function Me(n) {
|
|
1453
|
+
j.set(n, (j.get(n) ?? 0) + 1), Pe(n, "options");
|
|
1412
1454
|
}
|
|
1413
|
-
function
|
|
1455
|
+
function mt(n, t) {
|
|
1414
1456
|
let e = null;
|
|
1415
1457
|
for (const { label: i, track: r } of n) {
|
|
1416
1458
|
const o = i === t;
|
|
@@ -1418,7 +1460,7 @@ function pt(n, t) {
|
|
|
1418
1460
|
}
|
|
1419
1461
|
return e;
|
|
1420
1462
|
}
|
|
1421
|
-
async function
|
|
1463
|
+
async function gt(n, t, e, i) {
|
|
1422
1464
|
let r;
|
|
1423
1465
|
try {
|
|
1424
1466
|
const o = await fetch(e);
|
|
@@ -1428,32 +1470,32 @@ async function dt(n, t, e, i) {
|
|
|
1428
1470
|
console.warn("[HopePlayer] altyazı yüklenemedi:", e, o), n.dispatchEvent(new CustomEvent("hp-internal:subtitle-error", { detail: { src: e, message: String(o) } }));
|
|
1429
1471
|
return;
|
|
1430
1472
|
}
|
|
1431
|
-
if (!(
|
|
1432
|
-
for (const o of
|
|
1473
|
+
if (!(j.get(n) !== i || typeof VTTCue != "function"))
|
|
1474
|
+
for (const o of bt(r)) {
|
|
1433
1475
|
const a = new VTTCue(o.start, o.end, o.text);
|
|
1434
|
-
|
|
1476
|
+
vt(a, o.settings), t.addCue(a);
|
|
1435
1477
|
}
|
|
1436
1478
|
}
|
|
1437
|
-
const
|
|
1438
|
-
function
|
|
1479
|
+
const pe = "(?:\\d+:)?\\d{1,2}:\\d{2}(?:[.,]\\d{1,3})?", ft = new RegExp(`^(${pe})\\s+-->\\s+(${pe})(.*)$`);
|
|
1480
|
+
function de(n) {
|
|
1439
1481
|
return n.replace(",", ".").split(":").reduce((t, e) => t * 60 + Number(e), 0);
|
|
1440
1482
|
}
|
|
1441
|
-
function
|
|
1483
|
+
function bt(n) {
|
|
1442
1484
|
const t = [], e = n.replace(/^/, "").replace(/\r\n?/g, `
|
|
1443
1485
|
`).split(/\n{2,}/);
|
|
1444
1486
|
for (const i of e) {
|
|
1445
1487
|
const r = i.split(`
|
|
1446
1488
|
`), o = r.findIndex((h) => h.includes("-->"));
|
|
1447
1489
|
if (o < 0) continue;
|
|
1448
|
-
const a =
|
|
1490
|
+
const a = ft.exec(r[o].trim());
|
|
1449
1491
|
if (!a) continue;
|
|
1450
1492
|
const l = r.slice(o + 1).join(`
|
|
1451
1493
|
`);
|
|
1452
|
-
l.trim() && t.push({ start:
|
|
1494
|
+
l.trim() && t.push({ start: de(a[1]), end: de(a[2]), settings: a[3].trim(), text: l });
|
|
1453
1495
|
}
|
|
1454
1496
|
return t;
|
|
1455
1497
|
}
|
|
1456
|
-
function
|
|
1498
|
+
function vt(n, t) {
|
|
1457
1499
|
for (const e of t.split(/\s+/)) {
|
|
1458
1500
|
const [i, r] = e.split(":");
|
|
1459
1501
|
if (!i || !r) continue;
|
|
@@ -1464,35 +1506,35 @@ function mt(n, t) {
|
|
|
1464
1506
|
}
|
|
1465
1507
|
}
|
|
1466
1508
|
}
|
|
1467
|
-
const
|
|
1509
|
+
const _ = 6, yt = 20, xt = 14, kt = 6, wt = 10, Et = 3, Be = "hope-caption-row", Re = "hope-caption-font-size", ce = "hope-caption-bg-color", ue = "hope-caption-text-color", Ct = {
|
|
1468
1510
|
small: 0.78,
|
|
1469
1511
|
normal: 1,
|
|
1470
1512
|
large: 1.35
|
|
1471
|
-
},
|
|
1513
|
+
}, me = [
|
|
1472
1514
|
"rgba(0, 0, 0, 0.75)",
|
|
1473
1515
|
"rgba(0, 0, 0, 0)",
|
|
1474
1516
|
"rgba(255, 255, 255, 0.85)",
|
|
1475
1517
|
"rgba(183, 28, 28, 0.8)",
|
|
1476
1518
|
"rgba(13, 71, 161, 0.8)",
|
|
1477
1519
|
"rgba(27, 94, 32, 0.8)"
|
|
1478
|
-
],
|
|
1479
|
-
function
|
|
1520
|
+
], ge = ["#ffffff", "#000000", "#ffeb3b", "#ff5252", "#18ffff", "#69f0ae"];
|
|
1521
|
+
function St() {
|
|
1480
1522
|
try {
|
|
1481
|
-
const n = window.localStorage.getItem(
|
|
1482
|
-
return Number.isFinite(t) && t >= 0 && t <
|
|
1523
|
+
const n = window.localStorage.getItem(Be), t = n === null ? 0 : Number(n);
|
|
1524
|
+
return Number.isFinite(t) && t >= 0 && t < _ ? t : 0;
|
|
1483
1525
|
} catch {
|
|
1484
1526
|
return 0;
|
|
1485
1527
|
}
|
|
1486
1528
|
}
|
|
1487
|
-
function
|
|
1529
|
+
function Tt() {
|
|
1488
1530
|
try {
|
|
1489
|
-
const n = window.localStorage.getItem(
|
|
1531
|
+
const n = window.localStorage.getItem(Re);
|
|
1490
1532
|
return n === "small" || n === "normal" || n === "large" ? n : "normal";
|
|
1491
1533
|
} catch {
|
|
1492
1534
|
return "normal";
|
|
1493
1535
|
}
|
|
1494
1536
|
}
|
|
1495
|
-
function
|
|
1537
|
+
function fe(n, t) {
|
|
1496
1538
|
const e = t[0] ?? "";
|
|
1497
1539
|
try {
|
|
1498
1540
|
const i = window.localStorage.getItem(n);
|
|
@@ -1501,7 +1543,7 @@ function ue(n, t) {
|
|
|
1501
1543
|
return e;
|
|
1502
1544
|
}
|
|
1503
1545
|
}
|
|
1504
|
-
class
|
|
1546
|
+
class G {
|
|
1505
1547
|
constructor(t, e, i, r) {
|
|
1506
1548
|
s(this, "layerEl");
|
|
1507
1549
|
s(this, "bubbleEl");
|
|
@@ -1509,10 +1551,10 @@ class F {
|
|
|
1509
1551
|
s(this, "seekBarEl");
|
|
1510
1552
|
s(this, "labels");
|
|
1511
1553
|
s(this, "activeTrack", null);
|
|
1512
|
-
s(this, "fontSize",
|
|
1513
|
-
s(this, "bgColor",
|
|
1514
|
-
s(this, "textColor", ue
|
|
1515
|
-
s(this, "rowIndex",
|
|
1554
|
+
s(this, "fontSize", Tt());
|
|
1555
|
+
s(this, "bgColor", fe(ce, me));
|
|
1556
|
+
s(this, "textColor", fe(ue, ge));
|
|
1557
|
+
s(this, "rowIndex", St());
|
|
1516
1558
|
s(this, "dragging", !1);
|
|
1517
1559
|
/** Kontrol çubuğu görünür mü — görünürken altyazı seek bar'ın üstünde, değilken en altta. */
|
|
1518
1560
|
s(this, "chromeVisible", !0);
|
|
@@ -1541,7 +1583,7 @@ class F {
|
|
|
1541
1583
|
t.button !== 0 && t.pointerType === "mouse" || (t.preventDefault(), this.dragging = !0, this.dragMoved = !1, this.dragStartClientY = t.clientY, this.dragStartBottomPx = this.pxForRow(this.rowIndex), this.bubbleEl.setPointerCapture(t.pointerId), this.bubbleEl.classList.add("hp-caption-dragging"), this.bubbleEl.addEventListener("pointermove", this.onPointerMove), this.bubbleEl.addEventListener("pointerup", this.onPointerUp), this.bubbleEl.addEventListener("pointercancel", this.onPointerUp));
|
|
1542
1584
|
});
|
|
1543
1585
|
s(this, "onPointerMove", (t) => {
|
|
1544
|
-
this.dragging && (this.pendingDeltaPx = t.clientY - this.dragStartClientY, Math.abs(this.pendingDeltaPx) >
|
|
1586
|
+
this.dragging && (this.pendingDeltaPx = t.clientY - this.dragStartClientY, Math.abs(this.pendingDeltaPx) > Et && (this.dragMoved = !0), this.rafId === null && (this.rafId = requestAnimationFrame(this.applyPendingDrag)));
|
|
1545
1587
|
});
|
|
1546
1588
|
s(this, "applyPendingDrag", () => {
|
|
1547
1589
|
if (this.rafId = null, !this.dragging) return;
|
|
@@ -1550,7 +1592,7 @@ class F {
|
|
|
1550
1592
|
});
|
|
1551
1593
|
s(this, "onPointerUp", (t) => {
|
|
1552
1594
|
if (!this.dragging || (this.dragging = !1, this.bubbleEl.releasePointerCapture(t.pointerId), this.bubbleEl.removeEventListener("pointermove", this.onPointerMove), this.bubbleEl.removeEventListener("pointerup", this.onPointerUp), this.bubbleEl.removeEventListener("pointercancel", this.onPointerUp), this.rafId !== null && (cancelAnimationFrame(this.rafId), this.rafId = null), this.bubbleEl.classList.remove("hp-caption-dragging"), !this.dragMoved)) return;
|
|
1553
|
-
const { min: e, max: i } = this.bounds(), r = Math.min(i, Math.max(e, this.dragStartBottomPx - this.pendingDeltaPx)), o = i > e ? (r - e) / (i - e) : 0, a = Math.round(o * (
|
|
1595
|
+
const { min: e, max: i } = this.bounds(), r = Math.min(i, Math.max(e, this.dragStartBottomPx - this.pendingDeltaPx)), o = i > e ? (r - e) / (i - e) : 0, a = Math.round(o * (_ - 1));
|
|
1554
1596
|
this.setRowIndex(a, !0);
|
|
1555
1597
|
});
|
|
1556
1598
|
this.videoArea = e, this.seekBarEl = i, this.labels = r, this.layerEl = document.createElement("div"), this.layerEl.className = "hp-caption-layer", this.layerEl.setAttribute("part", "caption-layer"), this.bubbleEl = document.createElement("div"), this.bubbleEl.className = "hp-caption-bubble", this.bubbleEl.setAttribute("part", "caption-bubble"), this.bubbleEl.setAttribute("role", "note"), this.bubbleEl.setAttribute("aria-label", r.captionDragHandle), this.bubbleEl.tabIndex = -1, this.applyFontSizeVar(), this.bubbleEl.style.setProperty("--hp-caption-bg", this.bgColor), this.bubbleEl.style.setProperty("--hp-caption-text", this.textColor), this.layerEl.appendChild(this.bubbleEl), this.bubbleEl.addEventListener("pointerdown", this.onPointerDown), this.resizeObserver = new ResizeObserver(() => this.recomputePosition()), this.resizeObserver.observe(this.videoArea), this.recomputePosition();
|
|
@@ -1565,7 +1607,7 @@ class F {
|
|
|
1565
1607
|
setFontSize(t) {
|
|
1566
1608
|
this.fontSize = t, this.applyFontSizeVar(), this.recomputePosition();
|
|
1567
1609
|
try {
|
|
1568
|
-
window.localStorage.setItem(
|
|
1610
|
+
window.localStorage.setItem(Re, t);
|
|
1569
1611
|
} catch {
|
|
1570
1612
|
}
|
|
1571
1613
|
}
|
|
@@ -1575,7 +1617,7 @@ class F {
|
|
|
1575
1617
|
setBgColor(t) {
|
|
1576
1618
|
this.bgColor = t, this.bubbleEl.style.setProperty("--hp-caption-bg", t);
|
|
1577
1619
|
try {
|
|
1578
|
-
window.localStorage.setItem(
|
|
1620
|
+
window.localStorage.setItem(ce, t);
|
|
1579
1621
|
} catch {
|
|
1580
1622
|
}
|
|
1581
1623
|
}
|
|
@@ -1585,7 +1627,7 @@ class F {
|
|
|
1585
1627
|
setTextColor(t) {
|
|
1586
1628
|
this.textColor = t, this.bubbleEl.style.setProperty("--hp-caption-text", t);
|
|
1587
1629
|
try {
|
|
1588
|
-
window.localStorage.setItem(
|
|
1630
|
+
window.localStorage.setItem(ue, t);
|
|
1589
1631
|
} catch {
|
|
1590
1632
|
}
|
|
1591
1633
|
}
|
|
@@ -1598,14 +1640,14 @@ class F {
|
|
|
1598
1640
|
this.labels = t, this.bubbleEl.setAttribute("aria-label", t.captionDragHandle);
|
|
1599
1641
|
}
|
|
1600
1642
|
applyFontSizeVar() {
|
|
1601
|
-
this.bubbleEl.style.setProperty("--hp-caption-size-multiplier", String(
|
|
1643
|
+
this.bubbleEl.style.setProperty("--hp-caption-size-multiplier", String(Ct[this.fontSize]));
|
|
1602
1644
|
}
|
|
1603
1645
|
bounds() {
|
|
1604
|
-
const t = this.videoArea.getBoundingClientRect(), e = this.seekBarEl.getBoundingClientRect(), r = (this.bubbleEl.getBoundingClientRect().height || 32) +
|
|
1646
|
+
const t = this.videoArea.getBoundingClientRect(), e = this.seekBarEl.getBoundingClientRect(), r = (this.bubbleEl.getBoundingClientRect().height || 32) + yt, o = Math.max(wt, Math.round(t.height * 0.04)), a = this.chromeVisible && e.height > 0 ? Math.max(0, Math.round(t.bottom - e.top + (this.videoArea.hasAttribute("data-compact") ? kt : xt))) : o, l = Math.max(a, Math.round(t.height - r));
|
|
1605
1647
|
return { min: a, max: l };
|
|
1606
1648
|
}
|
|
1607
1649
|
pxForRow(t) {
|
|
1608
|
-
const { min: e, max: i } = this.bounds(), r = t / (
|
|
1650
|
+
const { min: e, max: i } = this.bounds(), r = t / (_ - 1);
|
|
1609
1651
|
return Math.round(e + r * (i - e));
|
|
1610
1652
|
}
|
|
1611
1653
|
/**
|
|
@@ -1624,11 +1666,11 @@ class F {
|
|
|
1624
1666
|
}
|
|
1625
1667
|
/** FLIP: bottom anında yazılır, yalnızca transform animasyonlanır — bottom'u animasyonlamak bırakınca zıplatıyordu. */
|
|
1626
1668
|
setRowIndex(t, e) {
|
|
1627
|
-
this.rowIndex = Math.min(
|
|
1669
|
+
this.rowIndex = Math.min(_ - 1, Math.max(0, t));
|
|
1628
1670
|
const i = this.pxForRow(this.rowIndex), r = this.visualBottomPx();
|
|
1629
1671
|
e && Math.abs(r - i) > 0.5 ? (this.bubbleEl.classList.add("hp-caption-no-transition"), this.bubbleEl.style.bottom = `${i}px`, this.bubbleEl.style.transform = `translateX(-50%) translateY(${i - r}px)`, this.bubbleEl.offsetHeight, this.bubbleEl.classList.remove("hp-caption-no-transition"), this.bubbleEl.style.transform = "translateX(-50%)") : (this.bubbleEl.classList.add("hp-caption-no-transition"), this.bubbleEl.style.transform = "translateX(-50%)", this.bubbleEl.style.bottom = `${i}px`, this.bubbleEl.offsetHeight, this.bubbleEl.classList.remove("hp-caption-no-transition"));
|
|
1630
1672
|
try {
|
|
1631
|
-
window.localStorage.setItem(
|
|
1673
|
+
window.localStorage.setItem(Be, String(this.rowIndex));
|
|
1632
1674
|
} catch {
|
|
1633
1675
|
}
|
|
1634
1676
|
}
|
|
@@ -1644,8 +1686,8 @@ class F {
|
|
|
1644
1686
|
this.activeTrack && this.activeTrack.removeEventListener("cuechange", this.onCueChange), this.resizeObserver.disconnect(), this.rafId !== null && cancelAnimationFrame(this.rafId), this.bubbleEl.removeEventListener("pointerdown", this.onPointerDown);
|
|
1645
1687
|
}
|
|
1646
1688
|
}
|
|
1647
|
-
s(
|
|
1648
|
-
class
|
|
1689
|
+
s(G, "BG_COLOR_PRESETS", me), s(G, "TEXT_COLOR_PRESETS", ge);
|
|
1690
|
+
class At {
|
|
1649
1691
|
constructor(t) {
|
|
1650
1692
|
s(this, "el");
|
|
1651
1693
|
s(this, "bufferedEl");
|
|
@@ -1684,8 +1726,8 @@ class Et {
|
|
|
1684
1726
|
this.rafId !== null && cancelAnimationFrame(this.rafId), this.rafId = null;
|
|
1685
1727
|
}
|
|
1686
1728
|
}
|
|
1687
|
-
const
|
|
1688
|
-
class
|
|
1729
|
+
const Lt = 1e3, Pt = 800, Mt = '<svg viewBox="0 0 24 24" aria-hidden="true"><path d="M9.3 5.3a1.2 1.2 0 0 1 1.7 0l5.8 5.8a1.2 1.2 0 0 1 0 1.8l-5.8 5.8a1.2 1.2 0 0 1-1.7-1.7l4.9-5-4.9-5a1.2 1.2 0 0 1 0-1.7z"/></svg>';
|
|
1730
|
+
class Bt {
|
|
1689
1731
|
constructor(t) {
|
|
1690
1732
|
s(this, "el");
|
|
1691
1733
|
s(this, "valueEl");
|
|
@@ -1696,7 +1738,7 @@ class At {
|
|
|
1696
1738
|
s(this, "hideTimer", null);
|
|
1697
1739
|
this.labels = t, this.el = document.createElement("div"), this.el.className = "hp-seek-fb", this.el.setAttribute("part", "seek-feedback");
|
|
1698
1740
|
const e = document.createElement("span");
|
|
1699
|
-
e.className = "hp-seek-fb-chevrons", e.innerHTML =
|
|
1741
|
+
e.className = "hp-seek-fb-chevrons", e.innerHTML = Mt.repeat(3);
|
|
1700
1742
|
const i = document.createElement("span");
|
|
1701
1743
|
i.className = "hp-seek-fb-value", this.valueEl = document.createElement("span"), this.valueEl.className = "hp-seek-fb-num", this.unitEl = document.createElement("span"), this.unitEl.className = "hp-seek-fb-unit", i.append(this.valueEl, this.unitEl), this.liveEl = document.createElement("span"), this.liveEl.className = "hp-sr-only", this.liveEl.setAttribute("aria-live", "polite"), this.el.append(e, i, this.liveEl);
|
|
1702
1744
|
}
|
|
@@ -1704,17 +1746,17 @@ class At {
|
|
|
1704
1746
|
show(t) {
|
|
1705
1747
|
if (!t) return;
|
|
1706
1748
|
const e = Date.now(), i = Math.sign(t) === Math.sign(this.total);
|
|
1707
|
-
this.total = i && e - this.lastAt <
|
|
1749
|
+
this.total = i && e - this.lastAt < Lt ? this.total + t : t, this.lastAt = e;
|
|
1708
1750
|
const r = Math.round(Math.abs(this.total) * 10) / 10, o = this.total > 0;
|
|
1709
1751
|
this.el.dataset.side = o ? "forward" : "back", this.valueEl.textContent = `${o ? "+" : "−"}${r}`, this.unitEl.textContent = this.labels.secondsShort, this.liveEl.textContent = (o ? this.labels.skipForward : this.labels.skipBack)(r), this.valueEl.classList.remove("hp-seek-fb-bump"), this.valueEl.offsetWidth, this.valueEl.classList.add("hp-seek-fb-bump"), this.el.setAttribute("data-visible", ""), this.hideTimer && clearTimeout(this.hideTimer), this.hideTimer = setTimeout(() => {
|
|
1710
1752
|
this.el.removeAttribute("data-visible"), this.total = 0;
|
|
1711
|
-
},
|
|
1753
|
+
}, Pt);
|
|
1712
1754
|
}
|
|
1713
1755
|
destroy() {
|
|
1714
1756
|
this.hideTimer && clearTimeout(this.hideTimer), this.el.remove();
|
|
1715
1757
|
}
|
|
1716
1758
|
}
|
|
1717
|
-
class
|
|
1759
|
+
class Rt {
|
|
1718
1760
|
constructor(t) {
|
|
1719
1761
|
s(this, "el");
|
|
1720
1762
|
s(this, "open", !1);
|
|
@@ -1756,8 +1798,8 @@ class Lt {
|
|
|
1756
1798
|
this.close(), this.el.remove();
|
|
1757
1799
|
}
|
|
1758
1800
|
}
|
|
1759
|
-
const
|
|
1760
|
-
class
|
|
1801
|
+
const zt = 3e3, be = 200;
|
|
1802
|
+
class Ot {
|
|
1761
1803
|
constructor() {
|
|
1762
1804
|
s(this, "list", []);
|
|
1763
1805
|
/** Kayıt eklenince / temizlenince (açık panel canlı güncellenir). */
|
|
@@ -1769,11 +1811,11 @@ class Mt {
|
|
|
1769
1811
|
add(t) {
|
|
1770
1812
|
var r, o;
|
|
1771
1813
|
const e = Date.now(), i = this.list[this.list.length - 1];
|
|
1772
|
-
if (i && e - i.time <
|
|
1814
|
+
if (i && e - i.time < zt && i.source === t.source && i.message === t.message && JSON.stringify(i.details ?? {}) === JSON.stringify(t.details ?? {})) {
|
|
1773
1815
|
i.count = (i.count ?? 1) + 1, i.time = e, (r = this.onChange) == null || r.call(this);
|
|
1774
1816
|
return;
|
|
1775
1817
|
}
|
|
1776
|
-
this.list.push({ time: e, ...t }), this.list.length >
|
|
1818
|
+
this.list.push({ time: e, ...t }), this.list.length > be && this.list.splice(0, this.list.length - be), (o = this.onChange) == null || o.call(this);
|
|
1777
1819
|
}
|
|
1778
1820
|
clear() {
|
|
1779
1821
|
var t;
|
|
@@ -1788,13 +1830,13 @@ class Mt {
|
|
|
1788
1830
|
`);
|
|
1789
1831
|
}
|
|
1790
1832
|
}
|
|
1791
|
-
const
|
|
1792
|
-
function
|
|
1793
|
-
if (typeof document > "u" || document.getElementById(
|
|
1833
|
+
const Nt = '@font-face{font-family:hope-icons;src:url(data:font/woff2;base64,d09GMgABAAAAAAuMAAsAAAAAIuAAAAs8AAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHFQGYACEegq1PK4ZATYCJANUCywABCAFhC4HggobTB4jESaVTgwydRbGzrR7EFKamp4EGD6+83WPOlVtFufKNoQP3FMw3+XD4QURPF85y/cFhm57sFsyDKE9ixwGQaUcQJ7ZIC+eQ8xnVOhGN8/3btY0zAxpnZKEriMToI4M0DphaJ13gQpdD9QMOzX/XVPOfcV/T/yaqq5tmHwMC1LiMW2M97StYfS0oH8OXi4E3rrH67vHaIoxiv5vLbUMRfxFY8K64ExmZwJ7cxtC3H3Z4wmC7KsikMCsgIVilHUVpsLGnRG+BsOtHVjBqsXBGhPUj7waBFAsZD3OLrsNDoOOU49i7NXwYEMF0upy6klW9QrzCLyK6kIBISd7TPlNbsMH2UWOB3YPX/k/VLkKHHwXdk4HHN81AV7PyHrl9fbrzJe/2aE7EfbuAD7gAjOKRcnF1Qnn4sb8TEgVL8FjD7p7D4Gst92GDB+rvSsQHFw8/Pl/8/IUKKLQlCjTQSdddNNDLwYkBxtcgltRaCDDBQQywIEMraPIAHiQAT5kQA4yIA8Z2kSRAShCBijIAA0ZUIIMKEMGdEAGdEIGdEEGdEMG9EAG9EIWgYG53XcDuAzUNaDHLMu7Exx8Y+LmFQ0Gny4D48WP8/C2nFvbdSu+yqveXpKqPK/CiEccUV4+iZ0pm2EUkqiKDXcd9PfPrB0YfnXh4qqKcW16GxGVhuMH0vYtGw6G4nLSKt1wP87cA1qLcsuOQt/4kLgbH1yC3vhqwo0fPBEd49tvjynxwTeL9NHc+M03BdRkMFrEDZxQ1HNsByFJ3d2k8dokTtujRGBuSgXmoZmNiDmoN5iwpLJ5J0Tr41F3pErSxE5r7YjXSQQscVd8q5terDHDs8Q8PgHLMj5LRBqlokk06lyJCkQ1ojKL8GTJbp+pRqUoUU3YINumkliJTsEUYbtUoiPRaLAIFK1z5cVTJ2ReUwR8/dQIb8cIaoW8a8qZCqJqhSxKWynJ4ylmWJAAS2N8Otkda/XeYRjsFyhj0rDRyoBBQSSChuwAMUpBS7oUr8QQgwZPTvyG6TaD70XE080iPLU+2UK0IxcuwsaqY13JWdvYED0erfTCAq89174mlFHPyjRL7uUwQdC6Trpcd+b0iOi29xiWL3InU0LkCsvsy6G9BA4lMzQOpQ8PBCjHTWhMMNGKKnOOoWJYhYrB2moLyoq2bngiCJQZM8R5IkifCJQ5goTQ5HlFwrAehhLUAupcD9ProQQUUUSfV2trx63V4WRIncdt+rjVIUUU0ecBYyrGYKuWLlNNAvfGvXUfXmTL52uuru/v7+ubca6k1O9vacwfGBgcXDDtrFSq1uzpaVl2zK5t1us1m8YES1N7ZGmJ1aCgJyYqtEUo6tqiYiGb1g02x7EmzTWBADFed7EHi/aCejQCJkJqXAo9F9IGgrPA18xCDZFjbGvRpqFhTCs+G8h5j++UWiY24kRj5t/5hLBemwd0qqZHf6ydh5oGW72xM1nxScV3a7RaScghJ5eiSkooPGUSol8PCjVLIA5YN0o9FVFaL3Y+a5idfc3M9VzXQ7dbJm7EYA4/tfK6bnB72X+HHeq71KJGf+n1/ua0g+3iSDY1Rn86/LDOC2c3NZeOeT1xWrvD+vlTXsJdzevs0NxhrrGpuSnhG3V7eG32QPcvb+iu61Tczs57l6Tb/uRmmtisNR96nzl3acMykuhQDOtjLCwhLIZZTFNjQ1RMTmDZxxKqFmU+GWGZhqOamghT+dB+JEnY6jEnjRraqlppEURabryN0YjkbUH5d5/AImVJfjkqY2Sn8jZJln/DPVimfaBMjqzXywJpN92LJHBqDKJ2REqL4L6B334DTt0UEimLqqpSfk+EBMoUVY0yKvz+b0YHUfpzE7MryTECgsHCr/9mtJFAPdD7v9agSRd4z9+LZRKKYRwLERmnLBt4vdmKpmEzFW2FXSB57eqpxzLFa9sNCvrqlNMDq31Vk3U1wsHWtoynt7uIK9EZc55RXHDa0dJjYzSKO25OG1+Hek2oHOjv57Gs4XctpvERXksqjMoi1kf0WCKUhRJaKpLSojFGBTvmr+cAB8u9BUbg1hXAO7Aei/KSJuspYpoeJuOkIrYLlMWixCYR2mwiYf3BSw8ZjtTv+eBg34Yj4zwZMPhOuCZsGzL8aKjs/qT2kxIV4efwKGow6iEEYWLzRoOq4vUKHTw74pnhoULdXpQQERAUSEixevMJnP54oFgsrgpQADMQgApOUbyMIFu4KKhCZ786rHvsvk9CtU2QTHrzETr4glMVFgNBBTRMx3JaVq71YATjOeUtwy4lF4erT6zOjdtleCvy6eMVAVuCALlfH9TIpauae+OT19779i7rrrfvvXYy3tu8qvR9zgffi6DDZnFfY3dda7EZqz7OfQ/05CSEdqvFkl5wJS1WzjSIrIvSmSB4uobXi8SjYDWTfWs2N+wjEBLfcG72lGQzKlY8RNTz4JudugpTpdutHXnbbDC80urqbLt8AtQFfs5ndVAZKvG4dK58zsDBNQ1Go8Uc/OTutMVoxA2rONFF39W5PCVDyuRs2WuBXMG3y6Zjca/1GGTSjrjdlQ2MdkXHf5KKh5DeEejunpjIZlJXXZXKZCcmursDjjzP8+4T+H8zL4jbQvuber5I5Ml85vxv6XXvC47pY+lz/LbI2svPdN2d//zIoTcnCh+LNDz218iT+SNd2CAk+oTTbnLNazuv99/CbMJRi8GGbIZhv8KZC8QlZLRwXAz87zmSf3Lkr8caIo8VTrx56Mjn+bu7zly+j2zjz6WPTTte8L4ubT4/M0/yiS96mvaHtokLufN60kEjqHR+g7ExRfM7IWiudeCmQrPCWcBwZQUzp0QpU+HkGOg8inUOqzXjcj515Lrrg/6cucK25SQU3kFzLui//rojar0rY7U6dLh4loZn51vrSkrq1shzN9OPLGN91Zvqvls6z84Oo0yEBNtZp3kFkJ6SwcnBdKYgrNSuHe88dNFFs6G/v7W2toT5+UGt6e9mbvZ60UNPvT8av1N1VnFclVO9Mz76fuNVHAU4jc5yTJ6PGofMXTW3tPSjw9Lxehm0nEUHpfeQrm/inU5vLd4EcHxjvCusBINKuCv+sr3XjiH0epKpwtHCVNLjhRCXb9LrY9BEWIpPMWJKS4Sl+TQjlYWuFyGxMXcUoaib2Qj0oPxPgDSZbf8PtH+XP2QjtNvhUiCPydpxiZww7i6Jln9eLhz3rJw/7mlpjbtUknHfyim72iT7QvsX+VG2W/x/MvRGmD2FuzDfVzgFll/mfyLnINPvBJsOuOzhIzrX/lrQDgCXjr81h721f5E/ZDtQ4FiCwL88AVl9f2z9f2k3JsdtggBWdvg1P88BlJ0NbVhSF++qQYVL0jiH/JyAd2OhG6aeZR18NOOQQ7EQFE1WH1vTy3FcxCsiGC60wKGDm8DFsN3Us3wUfALehByG70GR8Od30kzITu9wlEB6TVjewHZR5YKIPM8X5OIJxf1814GHcQSErBgacfqiPHtgNsIMteKVkCFGEmkogObKMaeHujbLv3Slqe05JAGSpxFUvPWA1YmUXNlqueFXD2SF326+sIjKnZTpkaLk4goDzZUf7UY4x5l1gDFDOF5GWsJuzTjkRRHN6Jn8PQVAYxXXIC95UNv6jCytBhZazV0F8GHPhBVHXPHEl5zkpSBFUaKlJGXpkE7pkm7pkV4xYiUgf1TlFNVto6Ow1IQImqEZZcuO9QL9v/LrnDOhjGCKP+hQgZ25MRadAVACMuTt7LSvnkd2fDOKTWmcoiswTJVGfRx6VpLZoy3zsn2SJ9U1js/JUL6o3CzPHbsWpPPWLeZZkS6rSZm2Y2imQjw2D+/1AAAAAA==) format("woff2");font-weight:400;font-style:normal;font-display:block}', ve = "hope-player-icon-font";
|
|
1834
|
+
function Ft() {
|
|
1835
|
+
if (typeof document > "u" || document.getElementById(ve)) return;
|
|
1794
1836
|
const n = document.createElement("style");
|
|
1795
|
-
n.id =
|
|
1837
|
+
n.id = ve, n.textContent = Nt, document.head.appendChild(n);
|
|
1796
1838
|
}
|
|
1797
|
-
function
|
|
1839
|
+
function It() {
|
|
1798
1840
|
var i;
|
|
1799
1841
|
const t = (i = window.adTaxonomy) == null ? void 0 : i.keyValues;
|
|
1800
1842
|
if (!t || typeof t != "object") return "";
|
|
@@ -1803,7 +1845,7 @@ function zt() {
|
|
|
1803
1845
|
o == null || o === "" || e.push(`${r}=${o}`);
|
|
1804
1846
|
return e.join("&");
|
|
1805
1847
|
}
|
|
1806
|
-
function
|
|
1848
|
+
function W(n, t = {}) {
|
|
1807
1849
|
const e = encodeURIComponent(document.referrer || window.location.href), i = encodeURIComponent(window.location.href), r = Date.now();
|
|
1808
1850
|
let o = n;
|
|
1809
1851
|
const a = {
|
|
@@ -1825,7 +1867,7 @@ function K(n, t = {}) {
|
|
|
1825
1867
|
if (l.pathname.includes("/vmap/")) return n;
|
|
1826
1868
|
const m = [];
|
|
1827
1869
|
t.includeRefreshCount && m.push(`adrefreshCount=${t.adRefreshCount ?? 0}`);
|
|
1828
|
-
const d =
|
|
1870
|
+
const d = It();
|
|
1829
1871
|
if (d && m.push(d), m.length) {
|
|
1830
1872
|
const p = l.searchParams.get("cust_params");
|
|
1831
1873
|
l.searchParams.set("cust_params", p ? `${p}&${m.join("&")}` : m.join("&"));
|
|
@@ -1835,7 +1877,7 @@ function K(n, t = {}) {
|
|
|
1835
1877
|
return o;
|
|
1836
1878
|
}
|
|
1837
1879
|
}
|
|
1838
|
-
function
|
|
1880
|
+
function J(n) {
|
|
1839
1881
|
const t = {};
|
|
1840
1882
|
if (!n) return t;
|
|
1841
1883
|
const e = typeof n == "string" ? [...new URLSearchParams(n.trim().replace(/^\?/, "")).entries()].map(([i, r]) => [i, r.split(",")]) : Object.entries(n);
|
|
@@ -1845,8 +1887,8 @@ function W(n) {
|
|
|
1845
1887
|
}
|
|
1846
1888
|
return t;
|
|
1847
1889
|
}
|
|
1848
|
-
function
|
|
1849
|
-
const e = Object.entries(
|
|
1890
|
+
function Dt(n, t) {
|
|
1891
|
+
const e = Object.entries(J(t)).filter(([i]) => !i.startsWith("hb_")).map(([i, r]) => `${encodeURIComponent(i)}=${r.map(encodeURIComponent).join(",")}`);
|
|
1850
1892
|
if (!e.length) return n;
|
|
1851
1893
|
try {
|
|
1852
1894
|
const i = new URL(n), r = new Set(e.map((a) => a.slice(0, a.indexOf("=")))), o = (i.searchParams.get("cust_params") ?? "").split("&").filter((a) => a && !r.has(a.split("=")[0]));
|
|
@@ -1855,7 +1897,7 @@ function Ot(n, t) {
|
|
|
1855
1897
|
return n;
|
|
1856
1898
|
}
|
|
1857
1899
|
}
|
|
1858
|
-
const
|
|
1900
|
+
const ze = {
|
|
1859
1901
|
play: "Oynat",
|
|
1860
1902
|
pause: "Duraklat",
|
|
1861
1903
|
mute: "Sessize al",
|
|
@@ -1950,6 +1992,36 @@ const Me = {
|
|
|
1950
1992
|
skipRecap: "Özeti atla",
|
|
1951
1993
|
skipCredits: "Jeneriği atla",
|
|
1952
1994
|
skipSegment: "Atla",
|
|
1995
|
+
a11yMenu: "Erişilebilirlik",
|
|
1996
|
+
a11yZoom: "Yakınlaştırma",
|
|
1997
|
+
a11yFilter: "Görüntü filtresi",
|
|
1998
|
+
a11yFilterNone: "Doğal",
|
|
1999
|
+
a11yFilterGrayscale: "Siyah-beyaz",
|
|
2000
|
+
a11yFilterDaylight: "Gün ışığı",
|
|
2001
|
+
a11yFilterNight: "Gece ışığı",
|
|
2002
|
+
a11yFilterContrast: "Yüksek kontrast",
|
|
2003
|
+
a11yFilterProtanopia: "Kırmızı körlüğü",
|
|
2004
|
+
a11yFilterDeuteranopia: "Yeşil körlüğü",
|
|
2005
|
+
a11yFilterTritanopia: "Mavi körlüğü",
|
|
2006
|
+
a11yMono: "Mono ses",
|
|
2007
|
+
a11yBoost: "Ses güçlendirme",
|
|
2008
|
+
a11yLargeControls: "Büyük kontroller",
|
|
2009
|
+
a11yShortcuts: "Klavye kısayolları",
|
|
2010
|
+
a11yOn: "Açık",
|
|
2011
|
+
a11yOff: "Kapalı",
|
|
2012
|
+
a11yUnavailable: "Kullanılamaz",
|
|
2013
|
+
a11yZoomReset: "Yakınlaştırmayı sıfırla",
|
|
2014
|
+
a11yClose: "Kapat",
|
|
2015
|
+
a11yKeyPlay: "Oynat / duraklat",
|
|
2016
|
+
a11yKeySeek: (n) => `${n} sn geri / ileri`,
|
|
2017
|
+
a11yKeyVolume: "Sesi aç / kıs",
|
|
2018
|
+
a11yKeyMute: "Sesi kapat / aç",
|
|
2019
|
+
a11yKeyFullscreen: "Tam ekran",
|
|
2020
|
+
a11yKeyZoom: "Yakınlaştır / uzaklaştır, sıfırla",
|
|
2021
|
+
a11yKeyPan: "Yakınlaştırılmış görüntüde gezin",
|
|
2022
|
+
a11yKeyShortcuts: "Bu listeyi aç / kapat",
|
|
2023
|
+
historyResumed: (n) => `Kaldığınız yerden devam: ${n}`,
|
|
2024
|
+
historyRestart: "Baştan başla",
|
|
1953
2025
|
qrResumeTitle: "Devam etmek için kodu telefonunuzla okutun",
|
|
1954
2026
|
qrResumeDontShowAgain: "Bir daha gösterme",
|
|
1955
2027
|
qrResumeContinue: "Devam Et",
|
|
@@ -1979,7 +2051,7 @@ const Me = {
|
|
|
1979
2051
|
liveClock: "Canlı saat",
|
|
1980
2052
|
live: "CANLI",
|
|
1981
2053
|
goToLive: "Canlıya git"
|
|
1982
|
-
},
|
|
2054
|
+
}, Ht = {
|
|
1983
2055
|
play: "Play",
|
|
1984
2056
|
pause: "Pause",
|
|
1985
2057
|
mute: "Mute",
|
|
@@ -2073,6 +2145,36 @@ const Me = {
|
|
|
2073
2145
|
skipRecap: "Skip recap",
|
|
2074
2146
|
skipCredits: "Skip credits",
|
|
2075
2147
|
skipSegment: "Skip",
|
|
2148
|
+
a11yMenu: "Accessibility",
|
|
2149
|
+
a11yZoom: "Zoom",
|
|
2150
|
+
a11yFilter: "Picture filter",
|
|
2151
|
+
a11yFilterNone: "Natural",
|
|
2152
|
+
a11yFilterGrayscale: "Black and white",
|
|
2153
|
+
a11yFilterDaylight: "Daylight",
|
|
2154
|
+
a11yFilterNight: "Night light",
|
|
2155
|
+
a11yFilterContrast: "High contrast",
|
|
2156
|
+
a11yFilterProtanopia: "Red-blind",
|
|
2157
|
+
a11yFilterDeuteranopia: "Green-blind",
|
|
2158
|
+
a11yFilterTritanopia: "Blue-blind",
|
|
2159
|
+
a11yMono: "Mono audio",
|
|
2160
|
+
a11yBoost: "Volume boost",
|
|
2161
|
+
a11yLargeControls: "Large controls",
|
|
2162
|
+
a11yShortcuts: "Keyboard shortcuts",
|
|
2163
|
+
a11yOn: "On",
|
|
2164
|
+
a11yOff: "Off",
|
|
2165
|
+
a11yUnavailable: "Unavailable",
|
|
2166
|
+
a11yZoomReset: "Reset zoom",
|
|
2167
|
+
a11yClose: "Close",
|
|
2168
|
+
a11yKeyPlay: "Play / pause",
|
|
2169
|
+
a11yKeySeek: (n) => `Back / forward ${n} s`,
|
|
2170
|
+
a11yKeyVolume: "Volume up / down",
|
|
2171
|
+
a11yKeyMute: "Mute / unmute",
|
|
2172
|
+
a11yKeyFullscreen: "Fullscreen",
|
|
2173
|
+
a11yKeyZoom: "Zoom in / out, reset",
|
|
2174
|
+
a11yKeyPan: "Move around the zoomed picture",
|
|
2175
|
+
a11yKeyShortcuts: "Open / close this list",
|
|
2176
|
+
historyResumed: (n) => `Resumed at ${n}`,
|
|
2177
|
+
historyRestart: "Start over",
|
|
2076
2178
|
redirectNowPlaying: "Now playing...",
|
|
2077
2179
|
qrResumeTitle: "Scan to continue watching on your phone",
|
|
2078
2180
|
qrResumeDontShowAgain: "Don't show again",
|
|
@@ -2103,19 +2205,19 @@ const Me = {
|
|
|
2103
2205
|
liveClock: "Live clock",
|
|
2104
2206
|
live: "LIVE",
|
|
2105
2207
|
goToLive: "Go to live"
|
|
2106
|
-
},
|
|
2107
|
-
function
|
|
2108
|
-
return { ...
|
|
2208
|
+
}, Gt = { tr: ze, en: Ht };
|
|
2209
|
+
function Oe(n, t) {
|
|
2210
|
+
return { ...Gt[n ?? "tr"] ?? ze, ...t };
|
|
2109
2211
|
}
|
|
2110
|
-
function
|
|
2111
|
-
Object.assign(n,
|
|
2212
|
+
function qt(n, t, e) {
|
|
2213
|
+
Object.assign(n, Oe(t, e));
|
|
2112
2214
|
}
|
|
2113
|
-
const
|
|
2114
|
-
function
|
|
2215
|
+
const Z = 8e3;
|
|
2216
|
+
function Vt(n) {
|
|
2115
2217
|
var t;
|
|
2116
2218
|
return (t = n.live) != null && t.scte35 && !n.adTagPreroll && !n.adTagVmap ? !1 : !!(n.adTagPreroll || n.adTagVmap);
|
|
2117
2219
|
}
|
|
2118
|
-
class
|
|
2220
|
+
class Ut {
|
|
2119
2221
|
constructor(t) {
|
|
2120
2222
|
/** Kapı kurulu (preroll bekleniyor) mu. */
|
|
2121
2223
|
s(this, "armed", !1);
|
|
@@ -2123,7 +2225,7 @@ class Ht {
|
|
|
2123
2225
|
s(this, "playIntent", !1);
|
|
2124
2226
|
/** Kapının kendi pause() çağrısının ürettiği 'pause' olayı yutulsun. */
|
|
2125
2227
|
s(this, "swallowNextPause", !1);
|
|
2126
|
-
s(this, "timeoutMs",
|
|
2228
|
+
s(this, "timeoutMs", Z);
|
|
2127
2229
|
s(this, "timer", null);
|
|
2128
2230
|
/** İlk oynatma isteği (reklam plugin'i bekleyen preroll'u başlatır). */
|
|
2129
2231
|
s(this, "onPlayIntent", null);
|
|
@@ -2149,7 +2251,7 @@ class Ht {
|
|
|
2149
2251
|
get hasPlayIntent() {
|
|
2150
2252
|
return this.playIntent;
|
|
2151
2253
|
}
|
|
2152
|
-
arm(t =
|
|
2254
|
+
arm(t = Z) {
|
|
2153
2255
|
this.clearTimer(), this.armed = !0, this.playIntent = !1, this.timeoutMs = t;
|
|
2154
2256
|
}
|
|
2155
2257
|
/**
|
|
@@ -2186,24 +2288,24 @@ class Ht {
|
|
|
2186
2288
|
this.timer && clearTimeout(this.timer), this.timer = null;
|
|
2187
2289
|
}
|
|
2188
2290
|
}
|
|
2189
|
-
const
|
|
2291
|
+
const _t = [
|
|
2190
2292
|
"https://imasdk.googleapis.com",
|
|
2191
2293
|
"https://pubads.g.doubleclick.net",
|
|
2192
2294
|
"https://securepubads.g.doubleclick.net",
|
|
2193
2295
|
"https://pagead2.googlesyndication.com"
|
|
2194
2296
|
];
|
|
2195
|
-
let
|
|
2196
|
-
function
|
|
2197
|
-
if (!(
|
|
2198
|
-
|
|
2199
|
-
for (const n of
|
|
2297
|
+
let ye = !1;
|
|
2298
|
+
function Kt() {
|
|
2299
|
+
if (!(ye || typeof document > "u")) {
|
|
2300
|
+
ye = !0;
|
|
2301
|
+
for (const n of _t) {
|
|
2200
2302
|
if (document.head.querySelector(`link[rel="preconnect"][href="${n}"]`)) continue;
|
|
2201
2303
|
const t = document.createElement("link");
|
|
2202
2304
|
t.rel = "preconnect", t.href = n, document.head.appendChild(t);
|
|
2203
2305
|
}
|
|
2204
2306
|
}
|
|
2205
2307
|
}
|
|
2206
|
-
const
|
|
2308
|
+
const jt = [0.5, 0.75, 1, 1.25, 1.5, 2], xe = 1200, $t = 3e3, ke = 5e3, Qt = 10, we = 10, Wt = 5, Ee = "stream-audio", U = "1.2.1", Xt = {
|
|
2207
2309
|
hls: "application/x-mpegurl",
|
|
2208
2310
|
mp4: "video/mp4",
|
|
2209
2311
|
webm: "video/webm",
|
|
@@ -2213,7 +2315,7 @@ const qt = [0.5, 0.75, 1, 1.25, 1.5, 2], be = 1200, Ut = 3e3, ve = 5e3, _t = 10,
|
|
|
2213
2315
|
ogg: "audio/ogg",
|
|
2214
2316
|
wav: "audio/wav",
|
|
2215
2317
|
flac: "audio/flac"
|
|
2216
|
-
},
|
|
2318
|
+
}, Yt = (
|
|
2217
2319
|
/* html */
|
|
2218
2320
|
`
|
|
2219
2321
|
<div class="video-area">
|
|
@@ -2224,13 +2326,13 @@ const qt = [0.5, 0.75, 1, 1.25, 1.5, 2], be = 1200, Ut = 3e3, ve = 5e3, _t = 10,
|
|
|
2224
2326
|
</div>
|
|
2225
2327
|
`
|
|
2226
2328
|
);
|
|
2227
|
-
function
|
|
2329
|
+
function Jt(n) {
|
|
2228
2330
|
if (typeof n == "number") return Number.isFinite(n) && n > 0 ? String(n) : null;
|
|
2229
2331
|
if (typeof n != "string") return null;
|
|
2230
2332
|
const t = n.trim().match(/^(\d+(?:\.\d+)?)\s*(?:[:/]\s*(\d+(?:\.\d+)?))?$/);
|
|
2231
2333
|
return !t || Number(t[1]) <= 0 || t[2] !== void 0 && Number(t[2]) <= 0 ? null : t[2] !== void 0 ? `${t[1]} / ${t[2]}` : t[1];
|
|
2232
2334
|
}
|
|
2233
|
-
class
|
|
2335
|
+
class Ne extends HTMLElement {
|
|
2234
2336
|
constructor() {
|
|
2235
2337
|
super();
|
|
2236
2338
|
s(this, "root");
|
|
@@ -2269,7 +2371,7 @@ class Re extends HTMLElement {
|
|
|
2269
2371
|
/** options.debug — sağ tık menüsündeki "Hata ayıklama" girişini açar. */
|
|
2270
2372
|
s(this, "debugEnabled", !1);
|
|
2271
2373
|
/** Player'ın tüm hataları (medya, yayın, reklam, altyazı) — her zaman tutulur; bkz. `errorLog`. */
|
|
2272
|
-
s(this, "log", new
|
|
2374
|
+
s(this, "log", new Ot());
|
|
2273
2375
|
/** Son basılan işaretçi türü — sağ tık menüsü yalnızca fareyle (dokunmatikte uzun basma gesture'a ait). */
|
|
2274
2376
|
s(this, "lastPointerType", "mouse");
|
|
2275
2377
|
/** options.tapGestures kuruluysa (plugins/tap-gestures). */
|
|
@@ -2315,6 +2417,10 @@ class Re extends HTMLElement {
|
|
|
2315
2417
|
s(this, "redirectKey", "");
|
|
2316
2418
|
s(this, "skipSegments", null);
|
|
2317
2419
|
s(this, "skipSegmentsKey", "");
|
|
2420
|
+
s(this, "accessibility", null);
|
|
2421
|
+
s(this, "accessibilityKey", "");
|
|
2422
|
+
s(this, "playbackHistory", null);
|
|
2423
|
+
s(this, "historyKey", "");
|
|
2318
2424
|
s(this, "qrResume", null);
|
|
2319
2425
|
s(this, "pauseAd", null);
|
|
2320
2426
|
s(this, "adTriggers", null);
|
|
@@ -2367,19 +2473,19 @@ class Re extends HTMLElement {
|
|
|
2367
2473
|
s(this, "hideTimer", null);
|
|
2368
2474
|
s(this, "cursorTimer", null);
|
|
2369
2475
|
/** null = imleç hiç gizlenmez (options.cursorHideDelayMs: false). */
|
|
2370
|
-
s(this, "cursorHideDelayMs",
|
|
2476
|
+
s(this, "cursorHideDelayMs", ke);
|
|
2371
2477
|
/** Fare kontrollerin (buton/seek bar) üzerinde mi — üzerindeyken otomatik gizlenmez; videonun üstünde hareketsizse gizlenir. */
|
|
2372
2478
|
s(this, "pointerOverControls", !1);
|
|
2373
2479
|
/** Kalite menüsünde şu an HLS seviyeleri mi var (kaynak değişince temizlemek için). */
|
|
2374
2480
|
s(this, "hlsQualitiesShown", !1);
|
|
2375
2481
|
/** Son uygulanan options.showRemainingTime — bkz. applyOptions. */
|
|
2376
2482
|
s(this, "appliedShowRemaining");
|
|
2377
|
-
s(this, "autoHideDelayMs",
|
|
2483
|
+
s(this, "autoHideDelayMs", xe);
|
|
2378
2484
|
s(this, "tapCandidate", !1);
|
|
2379
2485
|
s(this, "tapStartX", 0);
|
|
2380
2486
|
s(this, "tapStartY", 0);
|
|
2381
2487
|
/** Tüm UI'ın paylaştığı tek, mutable sözlük — dil değişince referans değil alanlar güncellenir. */
|
|
2382
|
-
s(this, "i18n",
|
|
2488
|
+
s(this, "i18n", Oe("tr"));
|
|
2383
2489
|
/** IMA SDK'nın kendi ad-UI dili (skip butonu/sayaç metni) de aynı dili takip etsin diye — bkz. plugins/ads/AdsController. */
|
|
2384
2490
|
s(this, "localeCode", "tr");
|
|
2385
2491
|
s(this, "onMediaError", () => {
|
|
@@ -2390,7 +2496,7 @@ class Re extends HTMLElement {
|
|
|
2390
2496
|
source: "media",
|
|
2391
2497
|
message: e.message || i[e.code] || `MediaError ${e.code}`,
|
|
2392
2498
|
// Ses aygıtı yok (Firefox): video sessiz oynamaya devam ediyor — kayda düşer ama ölümcül değil.
|
|
2393
|
-
fatal: !
|
|
2499
|
+
fatal: !ee(e),
|
|
2394
2500
|
details: { code: e.code, name: i[e.code], src: r && !r.startsWith("blob:") ? r : r ? "MediaSource (hls.js)" : void 0 }
|
|
2395
2501
|
});
|
|
2396
2502
|
});
|
|
@@ -2405,7 +2511,7 @@ class Re extends HTMLElement {
|
|
|
2405
2511
|
s(this, "onContextMenu", (e) => {
|
|
2406
2512
|
const i = this.contextMenuConfig;
|
|
2407
2513
|
!i || this.lastPointerType !== "mouse" || (e.preventDefault(), this.contextMenu.show(e.clientX, e.clientY, [
|
|
2408
|
-
{ label: "HopeCorePlayer", meta: `v${
|
|
2514
|
+
{ label: "HopeCorePlayer", meta: `v${U}` },
|
|
2409
2515
|
...i.stats ? [{ label: this.i18n.statsTitle, onSelect: () => void this.toggleStats(!0) }] : [],
|
|
2410
2516
|
// Yalnızca debug açıkken ve kayıtlı bir hata varsa.
|
|
2411
2517
|
...this.debugEnabled && this.log.entries.length ? [{ label: this.i18n.debugTitle, meta: String(this.log.entries.length), onSelect: () => void this.showDebugLog() }] : []
|
|
@@ -2414,14 +2520,14 @@ class Re extends HTMLElement {
|
|
|
2414
2520
|
s(this, "onStreamTextTracks", (e) => {
|
|
2415
2521
|
const i = this.streamTracks.filter((r) => r.id.startsWith("native:"));
|
|
2416
2522
|
if (!e.length)
|
|
2417
|
-
|
|
2523
|
+
Pe(this.videoEl, "stream"), this.streamCueKeys.clear(), this.streamTracks = i;
|
|
2418
2524
|
else {
|
|
2419
2525
|
const r = new Set([...this.optionTracks, ...i].map((o) => o.label));
|
|
2420
2526
|
this.streamTracks = [
|
|
2421
2527
|
...i,
|
|
2422
2528
|
...e.map((o) => {
|
|
2423
2529
|
const a = this.uniqueLabel(this.streamTrackLabel(o.label, o.lang) || o.id, o.kind === "captions" ? "CC" : o.lang || o.kind, r);
|
|
2424
|
-
return { id: o.id, label: a, track:
|
|
2530
|
+
return { id: o.id, label: a, track: Le(this.videoEl, "stream", o.kind, a, o.lang) };
|
|
2425
2531
|
})
|
|
2426
2532
|
];
|
|
2427
2533
|
}
|
|
@@ -2440,7 +2546,7 @@ class Re extends HTMLElement {
|
|
|
2440
2546
|
});
|
|
2441
2547
|
/** Tarayıcının kendi (native HLS) altyazı izleri — bizim havuz izlerimiz ve metadata izleri hariç. */
|
|
2442
2548
|
s(this, "onNativeTextTracksChanged", () => {
|
|
2443
|
-
const e = Array.from(this.videoEl.textTracks).filter((a) => (a.kind === "subtitles" || a.kind === "captions") && !
|
|
2549
|
+
const e = Array.from(this.videoEl.textTracks).filter((a) => (a.kind === "subtitles" || a.kind === "captions") && !ct(a)), i = this.streamTracks.some((a) => a.id.startsWith("native:"));
|
|
2444
2550
|
if (!e.length && !i) return;
|
|
2445
2551
|
const r = this.streamTracks.filter((a) => !a.id.startsWith("native:")), o = new Set([...this.optionTracks, ...r].map((a) => a.label));
|
|
2446
2552
|
this.streamTracks = [
|
|
@@ -2457,11 +2563,11 @@ class Re extends HTMLElement {
|
|
|
2457
2563
|
this.streamAudio = { tracks: e, active: i };
|
|
2458
2564
|
const r = this.controlBar.settingsMenu, o = /* @__PURE__ */ new Set(), a = new Map(e.map((l) => [l.index, this.uniqueLabel(this.streamTrackLabel(l.label, l.lang), String(l.index + 1), o)]));
|
|
2459
2565
|
if (e.length <= 1) {
|
|
2460
|
-
r.unregisterSubmenu(
|
|
2566
|
+
r.unregisterSubmenu(Ee);
|
|
2461
2567
|
return;
|
|
2462
2568
|
}
|
|
2463
2569
|
r.registerSubmenu({
|
|
2464
|
-
key:
|
|
2570
|
+
key: Ee,
|
|
2465
2571
|
title: this.i18n.audioTrack,
|
|
2466
2572
|
getValueLabel: () => a.get(i) ?? "",
|
|
2467
2573
|
getItems: () => e.map((l) => ({ label: a.get(l.index), active: l.index === i, onSelect: () => this.sourceManager.setAudioTrack(l.index) }))
|
|
@@ -2530,7 +2636,7 @@ class Re extends HTMLElement {
|
|
|
2530
2636
|
if (!i && Date.now() - this.lastTouchEndAt < 800) return;
|
|
2531
2637
|
i && (this.lastTouchEndAt = Date.now());
|
|
2532
2638
|
const r = i ? e.changedTouches[0] : e;
|
|
2533
|
-
if (r && Math.hypot(r.clientX - this.tapStartX, r.clientY - this.tapStartY) >
|
|
2639
|
+
if (r && Math.hypot(r.clientX - this.tapStartX, r.clientY - this.tapStartY) > Qt) {
|
|
2534
2640
|
i && !this.isChromeBlocked && this.scheduleAutoHide();
|
|
2535
2641
|
return;
|
|
2536
2642
|
}
|
|
@@ -2556,21 +2662,21 @@ class Re extends HTMLElement {
|
|
|
2556
2662
|
s(this, "scheduleAutoHide", () => {
|
|
2557
2663
|
this.showChrome(), this.hideTimer && clearTimeout(this.hideTimer), !(this.videoEl.paused || this.loadingActive) && (this.audioMode || (this.hideTimer = setTimeout(() => {
|
|
2558
2664
|
this.audioMode || this.videoEl.paused || this.loadingActive || this.pointerOverControls || this.controlBar.settingsMenu.isOpen || this.setChromeOpacity("0");
|
|
2559
|
-
}, this.lastPointerType === "mouse" ? this.autoHideDelayMs : Math.max(this.autoHideDelayMs,
|
|
2665
|
+
}, this.lastPointerType === "mouse" ? this.autoHideDelayMs : Math.max(this.autoHideDelayMs, $t))));
|
|
2560
2666
|
});
|
|
2561
|
-
|
|
2667
|
+
Ft(), this.root = this.attachShadow({ mode: "open" });
|
|
2562
2668
|
const e = document.createElement("style");
|
|
2563
|
-
e.textContent =
|
|
2669
|
+
e.textContent = De, this.root.appendChild(e);
|
|
2564
2670
|
const i = document.createElement("div");
|
|
2565
|
-
i.className = "hp-root", i.innerHTML =
|
|
2671
|
+
i.className = "hp-root", i.innerHTML = Yt, this.root.appendChild(i), this.videoArea = this.root.querySelector(".video-area"), this.videoEl = this.root.querySelector("video"), this.adLayerEl = this.root.querySelector('[part="ad-layer"]'), this.instanceKey = `hp-${Math.random().toString(36).slice(2, 10)}`, this.prerollGate = new Ut(this.videoEl), this.prerollGate.onWaitChange = (o) => this.onPrerollWaitChange(o), this.videoEl.addEventListener("error", this.onMediaError), this.videoEl.addEventListener("hp-internal:subtitle-error", this.onSubtitleError), this.loadingSpinner = new ht(this.videoEl), this.root.querySelector(".media-layer").appendChild(this.loadingSpinner.el), this.errorScreen = new dt(this.videoEl, this.i18n), this.errorScreen.setOnRetry(() => void this.retrySource()), this.errorScreen.setOnShown(({ code: o, message: a }) => this.dispatchEvent(new CustomEvent("hp:error", { detail: { message: a, code: o } }))), this.videoArea.appendChild(this.errorScreen.el), this.centerPlayButton = document.createElement("button"), this.centerPlayButton.type = "button", this.centerPlayButton.setAttribute("part", "center-play-button"), this.centerPlayButton.setAttribute("aria-label", this.i18n.play), this.centerPlayButton.className = "hp-center-play hp:absolute hp:inset-0 hp:flex hp:items-center hp:justify-center hp:bg-transparent hp:border-0 hp:cursor-pointer hp:text-on-surface hp:transition-opacity";
|
|
2566
2672
|
const r = document.createElement("span");
|
|
2567
|
-
r.className = "hp-chip hp:flex hp:items-center hp:justify-center hp:w-16 hp:h-16", r.style.borderRadius = "9999px", r.appendChild(
|
|
2673
|
+
r.className = "hp-chip hp:flex hp:items-center hp:justify-center hp:w-16 hp:h-16", r.style.borderRadius = "9999px", r.appendChild(z("play", "hp:text-2xl")), this.centerPlayButton.appendChild(r), this.centerPlayButton.addEventListener("click", (o) => {
|
|
2568
2674
|
var d;
|
|
2569
2675
|
const a = () => {
|
|
2570
2676
|
this.videoEl.paused && this.videoEl.play();
|
|
2571
2677
|
}, l = this.lastPointerType === "pen" ? "pen" : this.lastPointerType === "touch" ? "touch" : null, m = o.composedPath().includes(r) ? a : () => this.onBackgroundTap(l ?? "mouse", a);
|
|
2572
2678
|
l && ((d = this.tapGestures) != null && d.handleTap(o.clientX, l, m)) || m();
|
|
2573
|
-
}), this.videoArea.appendChild(this.centerPlayButton), this.centerPlayObserver = new ResizeObserver(() => requestAnimationFrame(() => this.layoutCenterPlay())), this.centerPlayObserver.observe(this.videoArea), this.chromeEl = document.createElement("div"), this.chromeEl.className = "hp-chrome hp:absolute hp:inset-0 hp:z-20 hp:pointer-events-none", this.videoArea.appendChild(this.chromeEl), this.sourceManager = new
|
|
2679
|
+
}), this.videoArea.appendChild(this.centerPlayButton), this.centerPlayObserver = new ResizeObserver(() => requestAnimationFrame(() => this.layoutCenterPlay())), this.centerPlayObserver.observe(this.videoArea), this.chromeEl = document.createElement("div"), this.chromeEl.className = "hp-chrome hp:absolute hp:inset-0 hp:z-20 hp:pointer-events-none", this.videoArea.appendChild(this.chromeEl), this.sourceManager = new Ge(this.videoEl, {
|
|
2574
2680
|
onLevelsChanged: this.onHlsLevelsChanged,
|
|
2575
2681
|
onAudioTracksChanged: this.onStreamAudioTracks,
|
|
2576
2682
|
onTextTracksFound: this.onStreamTextTracks,
|
|
@@ -2585,9 +2691,9 @@ class Re extends HTMLElement {
|
|
|
2585
2691
|
fatal: o.fatal,
|
|
2586
2692
|
details: { url: o.url, httpStatus: o.httpStatus, reason: o.reason, engine: "hls.js" }
|
|
2587
2693
|
})
|
|
2588
|
-
}), this.errorScreen.setShouldShow(() => !this.sourceManager.isRecovering() && !this.tryNextSourceGroup()), this.controlBar = new
|
|
2694
|
+
}), this.errorScreen.setShouldShow(() => !this.sourceManager.isRecovering() && !this.tryNextSourceGroup()), this.controlBar = new it(
|
|
2589
2695
|
this.videoEl,
|
|
2590
|
-
|
|
2696
|
+
jt,
|
|
2591
2697
|
{
|
|
2592
2698
|
onRequestFullscreen: () => this.requestFullscreenCompat(),
|
|
2593
2699
|
liveSyncPosition: () => {
|
|
@@ -2625,11 +2731,11 @@ class Re extends HTMLElement {
|
|
|
2625
2731
|
}
|
|
2626
2732
|
},
|
|
2627
2733
|
this.i18n
|
|
2628
|
-
), this.chromeEl.appendChild(this.controlBar.el), this.chromeEl.appendChild(this.controlBar.topEl), this.videoArea.appendChild(this.controlBar.volumePanel.unmuteBadge), this.captionRenderer = new
|
|
2734
|
+
), this.chromeEl.appendChild(this.controlBar.el), this.chromeEl.appendChild(this.controlBar.topEl), this.videoArea.appendChild(this.controlBar.volumePanel.unmuteBadge), this.captionRenderer = new G(this.videoEl, this.videoArea, this.controlBar.seekBar.el, this.i18n), this.videoArea.appendChild(this.captionRenderer.layerEl), this.keyboard = new lt(
|
|
2629
2735
|
this,
|
|
2630
2736
|
this.videoEl,
|
|
2631
2737
|
() => this.isFullscreenActive() ? this.exitFullscreenCompat() : this.requestFullscreenCompat()
|
|
2632
|
-
), this.tooltip = new
|
|
2738
|
+
), this.tooltip = new nt(this.videoArea), this.contextMenu = new Rt(this.videoArea), this.seekFeedback = new Bt(this.i18n), this.videoArea.appendChild(this.seekFeedback.el), this.controlBar.onSkip = (o) => this.seekFeedback.show(o), this.keyboard.onSeek = (o) => this.seekFeedback.show(o), this.keyboard.interceptTogglePlay = () => this.cancelPrerollWait(), this.controlBar.seekBar.onKeyboardSeek = (o) => this.seekFeedback.show(o), this.blockChrome("boot");
|
|
2633
2739
|
}
|
|
2634
2740
|
static get observedAttributes() {
|
|
2635
2741
|
return ["src", "poster", "autoplay", "muted", "loop", "theme", "locale"];
|
|
@@ -2647,8 +2753,8 @@ class Re extends HTMLElement {
|
|
|
2647
2753
|
});
|
|
2648
2754
|
}
|
|
2649
2755
|
disconnectedCallback() {
|
|
2650
|
-
var e, i, r, o, a, l, h, m, d, p, g, f, v,
|
|
2651
|
-
(e = this.centerPlayObserver) == null || e.disconnect(), this.showCursor(), (i = this.miniProgress) == null || i.destroy(), this.miniProgress = null, this.videoEl.removeEventListener("play", this.onPlay), this.videoEl.removeEventListener("pause", this.onPause), this.videoEl.removeEventListener("ended", this.onEnded), this.videoEl.removeEventListener("ratechange", this.onRateChange), this.removeEventListener("pointermove", this.onPointerMove), this.removeEventListener("pointerleave", this.onPointerLeave), this.removeEventListener("pointerdown", this.onPointerDownFocus), this.controlBar.settingsMenu.onOpenChange = null, document.removeEventListener("fullscreenchange", this.onFullscreenChange), document.removeEventListener("webkitfullscreenchange", this.onFullscreenChange), this.videoEl.removeEventListener("webkitbeginfullscreen", this.onFullscreenChange), this.videoEl.removeEventListener("webkitendfullscreen", this.onFullscreenChange), this.removeEventListener("contextmenu", this.onContextMenu), this.removeEventListener("pointerdown", this.onPointerTypeTrack, !0), this.videoEl.textTracks.removeEventListener("addtrack", this.onNativeTextTracksChanged), this.videoEl.textTracks.removeEventListener("removetrack", this.onNativeTextTracksChanged), this.videoEl.removeEventListener("mousedown", this.onVideoPressStart), this.videoEl.removeEventListener("mouseup", this.onVideoPressEnd), this.videoEl.removeEventListener("mouseleave", this.onVideoPressCancel), this.videoEl.removeEventListener("touchstart", this.onVideoPressStart), this.videoEl.removeEventListener("touchend", this.onVideoPressEnd), this.videoEl.removeEventListener("touchcancel", this.onVideoPressCancel), this.controlBar.destroy(), this.captionRenderer.destroy(), this.keyboard.destroy(), this.tooltip.destroy(), this.loadingSpinner.destroy(), this.errorScreen.destroy(), this.seekFeedback.destroy(), this.contextMenu.destroy(), (r = this.statsPanel) == null || r.destroy(), (o = this.debugPanel) == null || o.destroy(), this.videoEl.removeEventListener("error", this.onMediaError), this.videoEl.removeEventListener("hp-internal:subtitle-error", this.onSubtitleError), (a = this.tapGestures) == null || a.destroy(), this.sourceManager.destroy(), (l = this.adsController) == null || l.destroy(), (h = this.gestureControls) == null || h.destroy(), (m = this.loopSection) == null || m.destroy(), (d = this.audioStage) == null || d.destroy(), this.audioStage = null, (p = this.rewardedUnlock) == null || p.destroy(), this.rewardedUnlock = null, (g = this.sponsorship) == null || g.destroy(), this.sponsorship = null, (f = this.adTriggers) == null || f.destroy(), this.adTriggers = null, (v = this.castController) == null || v.destroy(), this.castController = null, (
|
|
2756
|
+
var e, i, r, o, a, l, h, m, d, p, g, f, v, x, k, w, C, E, S, T, A, y, P, L, c, u, b, M, B, F, I;
|
|
2757
|
+
(e = this.centerPlayObserver) == null || e.disconnect(), this.showCursor(), (i = this.miniProgress) == null || i.destroy(), this.miniProgress = null, this.videoEl.removeEventListener("play", this.onPlay), this.videoEl.removeEventListener("pause", this.onPause), this.videoEl.removeEventListener("ended", this.onEnded), this.videoEl.removeEventListener("ratechange", this.onRateChange), this.removeEventListener("pointermove", this.onPointerMove), this.removeEventListener("pointerleave", this.onPointerLeave), this.removeEventListener("pointerdown", this.onPointerDownFocus), this.controlBar.settingsMenu.onOpenChange = null, document.removeEventListener("fullscreenchange", this.onFullscreenChange), document.removeEventListener("webkitfullscreenchange", this.onFullscreenChange), this.videoEl.removeEventListener("webkitbeginfullscreen", this.onFullscreenChange), this.videoEl.removeEventListener("webkitendfullscreen", this.onFullscreenChange), this.removeEventListener("contextmenu", this.onContextMenu), this.removeEventListener("pointerdown", this.onPointerTypeTrack, !0), this.videoEl.textTracks.removeEventListener("addtrack", this.onNativeTextTracksChanged), this.videoEl.textTracks.removeEventListener("removetrack", this.onNativeTextTracksChanged), this.videoEl.removeEventListener("mousedown", this.onVideoPressStart), this.videoEl.removeEventListener("mouseup", this.onVideoPressEnd), this.videoEl.removeEventListener("mouseleave", this.onVideoPressCancel), this.videoEl.removeEventListener("touchstart", this.onVideoPressStart), this.videoEl.removeEventListener("touchend", this.onVideoPressEnd), this.videoEl.removeEventListener("touchcancel", this.onVideoPressCancel), this.controlBar.destroy(), this.captionRenderer.destroy(), this.keyboard.destroy(), this.tooltip.destroy(), this.loadingSpinner.destroy(), this.errorScreen.destroy(), this.seekFeedback.destroy(), this.contextMenu.destroy(), (r = this.statsPanel) == null || r.destroy(), (o = this.debugPanel) == null || o.destroy(), this.videoEl.removeEventListener("error", this.onMediaError), this.videoEl.removeEventListener("hp-internal:subtitle-error", this.onSubtitleError), (a = this.tapGestures) == null || a.destroy(), this.sourceManager.destroy(), (l = this.adsController) == null || l.destroy(), (h = this.gestureControls) == null || h.destroy(), (m = this.loopSection) == null || m.destroy(), (d = this.audioStage) == null || d.destroy(), this.audioStage = null, (p = this.rewardedUnlock) == null || p.destroy(), this.rewardedUnlock = null, (g = this.sponsorship) == null || g.destroy(), this.sponsorship = null, (f = this.adTriggers) == null || f.destroy(), this.adTriggers = null, (v = this.castController) == null || v.destroy(), this.castController = null, (x = this.inViewAutoplay) == null || x.destroy(), (k = this.unregisterSticky) == null || k.call(this), (w = this.playlistRunner) == null || w.destroy(), (C = this.hopeStory) == null || C.destroy(), (E = this.markProgress) == null || E.destroy(), (S = this.segments) == null || S.destroy(), (T = this.spriteThumbnails) == null || T.destroy(), (A = this.countdownScreen) == null || A.destroy(), (y = this.geoChecker) == null || y.destroy(), (P = this.redirectScreen) == null || P.destroy(), (L = this.skipSegments) == null || L.destroy(), this.skipSegments = null, this.skipSegmentsKey = "", (c = this.accessibility) == null || c.destroy(), this.accessibility = null, this.accessibilityKey = "", (u = this.playbackHistory) == null || u.destroy(), this.playbackHistory = null, this.historyKey = "", (b = this.qrResume) == null || b.destroy(), (M = this.pauseAd) == null || M.destroy(), this.pauseAd = null, (B = this.dubbing) == null || B.destroy(), (F = this.liveWallClock) == null || F.destroy(), (I = this.daiController) == null || I.destroy(), this.prerollGate.release(!1), this.hideTimer && clearTimeout(this.hideTimer), this.bootGraceTimer && clearTimeout(this.bootGraceTimer), this.lastSynced = null;
|
|
2652
2758
|
}
|
|
2653
2759
|
/** Reklam/consent-farkında plugin'lerin (gesture/sticky/in-view-autoplay) ortak sorgusu. */
|
|
2654
2760
|
isAdPlaying() {
|
|
@@ -2681,7 +2787,7 @@ class Re extends HTMLElement {
|
|
|
2681
2787
|
async showDebugLog() {
|
|
2682
2788
|
if (!this.debugPanel) {
|
|
2683
2789
|
const { installDebugPanel: e } = await import("./debugPanel-Bnc_7GOn.js");
|
|
2684
|
-
this.debugPanel ?? (this.debugPanel = e({ containerEl: this.videoArea, i18n: this.i18n, log: this.log, version:
|
|
2790
|
+
this.debugPanel ?? (this.debugPanel = e({ containerEl: this.videoArea, i18n: this.i18n, log: this.log, version: U }));
|
|
2685
2791
|
}
|
|
2686
2792
|
this.debugPanel.show();
|
|
2687
2793
|
}
|
|
@@ -2702,7 +2808,7 @@ class Re extends HTMLElement {
|
|
|
2702
2808
|
videoEl: this.videoEl,
|
|
2703
2809
|
containerEl: this.videoArea,
|
|
2704
2810
|
i18n: this.i18n,
|
|
2705
|
-
version:
|
|
2811
|
+
version: U,
|
|
2706
2812
|
getEngine: () => this.sourceManager.engine,
|
|
2707
2813
|
getHls: () => this.sourceManager.hlsInstance
|
|
2708
2814
|
}));
|
|
@@ -2760,23 +2866,23 @@ class Re extends HTMLElement {
|
|
|
2760
2866
|
})), this.pluginApplyRun;
|
|
2761
2867
|
}
|
|
2762
2868
|
async applyOptions(e) {
|
|
2763
|
-
var a, l, h, m, d, p, g, f, v,
|
|
2764
|
-
e.poster && (this.videoEl.poster = e.poster), this.casting || (this.videoEl.autoplay = !!e.autoplay), this.videoEl.muted = !!e.muted, this.videoEl.loop = !!e.loop, this.videoEl.preload = e.preload ?? "metadata", this.videoEl.playsInline = !0, this.videoEl.setAttribute("webkit-playsinline", ""), this.autoHideDelayMs = e.autoHideDelayMs ??
|
|
2765
|
-
const i = e.keyboardSeekStep && e.keyboardSeekStep > 0 ? e.keyboardSeekStep :
|
|
2869
|
+
var a, l, h, m, d, p, g, f, v, x, k, w, C, E, S, T, A, y, P, L, c, u;
|
|
2870
|
+
e.poster && (this.videoEl.poster = e.poster), this.casting || (this.videoEl.autoplay = !!e.autoplay), this.videoEl.muted = !!e.muted, this.videoEl.loop = !!e.loop, this.videoEl.preload = e.preload ?? "metadata", this.videoEl.playsInline = !0, this.videoEl.setAttribute("webkit-playsinline", ""), this.autoHideDelayMs = e.autoHideDelayMs ?? xe, this.tapToPlay = e.tapToPlay ?? "auto", this.cursorHideDelayMs = e.cursorHideDelayMs === !1 ? null : e.cursorHideDelayMs ?? ke, this.cursorHideDelayMs === null && this.showCursor(), this.controlBar.settingsMenu.setQualityBadgeEnabled(e.qualityBadge !== !1), e.miniProgress && !this.miniProgress ? (this.miniProgress = new At(this.videoEl), this.videoArea.appendChild(this.miniProgress.el), this.updateMiniProgress()) : !e.miniProgress && this.miniProgress && (this.miniProgress.destroy(), this.miniProgress = null), this.debugEnabled = !!e.debug, this.debugEnabled || (a = this.debugPanel) == null || a.hide(), this.contextMenuConfig = e.contextMenu === !1 ? null : { stats: typeof e.contextMenu == "object" && e.contextMenu.stats === !0 }, this.contextMenuConfig || this.contextMenu.close();
|
|
2871
|
+
const i = e.keyboardSeekStep && e.keyboardSeekStep > 0 ? e.keyboardSeekStep : Wt;
|
|
2766
2872
|
this.keyboard.seekStep = i, this.controlBar.seekBar.keyboardStep = i;
|
|
2767
2873
|
const r = e.skipButtons === !0 ? {} : e.skipButtons || null;
|
|
2768
2874
|
this.controlBar.setSkipButtons(
|
|
2769
|
-
r && r.back !== !1 ? r.back ??
|
|
2770
|
-
r && r.forward !== !1 ? r.forward ??
|
|
2875
|
+
r && r.back !== !1 ? r.back ?? we : null,
|
|
2876
|
+
r && r.forward !== !1 ? r.forward ?? we : null
|
|
2771
2877
|
), e.showRemainingTime !== void 0 && e.showRemainingTime !== this.appliedShowRemaining && (this.appliedShowRemaining = e.showRemainingTime, this.controlBar.setShowRemaining(e.showRemainingTime));
|
|
2772
|
-
const o =
|
|
2773
|
-
o ? this.style.setProperty("--hp-aspect-ratio", o) : this.style.removeProperty("--hp-aspect-ratio"), e.theme ? this.setAttribute("data-theme", e.theme) : this.removeAttribute("data-theme"), this.localeCode = e.locale ?? "tr",
|
|
2878
|
+
const o = Jt(e.aspectRatio);
|
|
2879
|
+
o ? this.style.setProperty("--hp-aspect-ratio", o) : this.style.removeProperty("--hp-aspect-ratio"), e.theme ? this.setAttribute("data-theme", e.theme) : this.removeAttribute("data-theme"), this.localeCode = e.locale ?? "tr", qt(this.i18n, e.locale, e.labels), this.centerPlayButton.setAttribute("aria-label", this.i18n.play), this.controlBar.refreshLabels(), this.captionRenderer.refreshLabels(this.i18n), this.captionTrackActive && this.controlBar.settingsMenu.setCaptionAppearance(this.buildCaptionAppearance()), this.errorScreen.refreshLabels(), (l = this.playlistRunner) == null || l.refreshLabels(), (h = this.hopeStory) == null || h.refreshLabels(), (m = this.countdownScreen) == null || m.refreshLabels(), (d = this.geoChecker) == null || d.refreshLabels(), (p = this.redirectScreen) == null || p.refreshLabels(), (g = this.skipSegments) == null || g.refreshLabels(), (f = this.accessibility) == null || f.refreshLabels(), (v = this.playbackHistory) == null || v.refreshLabels(), (x = this.qrResume) == null || x.refreshLabels(), (k = this.pauseAd) == null || k.refreshLabels(), (w = this.castController) == null || w.refreshLabels(), (C = this.dubbing) == null || C.refreshLabels(), this.onStreamAudioTracks(this.streamAudio.tracks, this.streamAudio.active), (E = this.statsPanel) == null || E.refreshLabels(), (S = this.debugPanel) == null || S.refreshLabels(), (T = this.liveWallClock) == null || T.refreshLabels(), (A = this.loopSection) == null || A.refreshLabels(), (y = this.audioStage) == null || y.refreshLabels(), (P = this.rewardedUnlock) == null || P.refreshLabels(), (L = this.markProgress) == null || L.refreshLabels(), (u = (c = this.unregisterSticky) == null ? void 0 : c.refreshLabels) == null || u.call(c), this.bootResolved && await this.queuePluginApply(e);
|
|
2774
2880
|
}
|
|
2775
2881
|
/** applyOptions'ın asenkron kısmı — yalnızca queuePluginApply üzerinden, sırayla çalışır. */
|
|
2776
2882
|
async applyPluginsAndPlayback(e) {
|
|
2777
2883
|
if (e.ads && !this.adsController) {
|
|
2778
2884
|
const r = e.ads === !0 ? {} : e.ads;
|
|
2779
|
-
|
|
2885
|
+
Vt(r) && !this.prerollGate.isArmed && this.prerollGate.arm(r.prerollTimeoutMs ?? Z), Kt(), e.countdownScreen || this.installAdsOnce(e);
|
|
2780
2886
|
}
|
|
2781
2887
|
await this.applyAudioMode(e);
|
|
2782
2888
|
const i = () => ({
|
|
@@ -2800,13 +2906,13 @@ class Re extends HTMLElement {
|
|
|
2800
2906
|
}))) : await this.initPlayback(e);
|
|
2801
2907
|
}
|
|
2802
2908
|
async initPlayback(e) {
|
|
2803
|
-
var
|
|
2909
|
+
var f, v, x, k, w, C, E, S, T, A, y, P, L;
|
|
2804
2910
|
this.sourceManager.configure(e.hls), this.errorScreen.dismiss(), await this.applyRewardedUnlock(e);
|
|
2805
|
-
const i = (
|
|
2806
|
-
this.sourceGroups =
|
|
2911
|
+
const i = (f = e.sources) != null && f.length ? e.sources : e.src ? [{ src: e.src, label: this.i18n.autoQuality }] : [];
|
|
2912
|
+
this.sourceGroups = qe(i, e.sourcePriority);
|
|
2807
2913
|
const r = (c) => this.sourceManager.isLoaded(c.src, c.type) && !this.isSourceLocked(c), o = this.sourceGroups.findIndex((c) => c.sources.some(r));
|
|
2808
2914
|
this.activeGroup = o !== -1 ? o : this.firstPlayableGroup();
|
|
2809
|
-
const a = ((
|
|
2915
|
+
const a = ((v = this.sourceGroups[this.activeGroup]) == null ? void 0 : v.sources) ?? [];
|
|
2810
2916
|
this.currentSources = a, this.fallbackPending = !1;
|
|
2811
2917
|
const h = a.find(r) ?? this.pickInitialSource(a);
|
|
2812
2918
|
if (h && !this.sourceManager.isLoaded(h.src, h.type) && (a.length <= 1 && (this.controlBar.setQualities([], ""), this.hlsQualitiesShown = !1), await this.sourceManager.load(h.src, h.type), e.autoplay && this.videoEl.play().catch(() => {
|
|
@@ -2824,7 +2930,7 @@ class Re extends HTMLElement {
|
|
|
2824
2930
|
videoEl: this.videoEl,
|
|
2825
2931
|
seekBarEl: this.controlBar.seekBar.el,
|
|
2826
2932
|
markers: this.controlBar.seekBar,
|
|
2827
|
-
addControlButton: (b,
|
|
2933
|
+
addControlButton: (b, M, B) => this.controlBar.addButton(b, M, B),
|
|
2828
2934
|
i18n: this.i18n
|
|
2829
2935
|
},
|
|
2830
2936
|
c
|
|
@@ -2853,7 +2959,7 @@ class Re extends HTMLElement {
|
|
|
2853
2959
|
);
|
|
2854
2960
|
}
|
|
2855
2961
|
if (e.playlist && !this.playlistRunner) {
|
|
2856
|
-
const { installPlaylist: c } = await import("./playlist-
|
|
2962
|
+
const { installPlaylist: c } = await import("./playlist-Bn7dNo1J.js");
|
|
2857
2963
|
this.playlistRunner = c(
|
|
2858
2964
|
{
|
|
2859
2965
|
videoEl: this.videoEl,
|
|
@@ -2873,7 +2979,7 @@ class Re extends HTMLElement {
|
|
|
2873
2979
|
);
|
|
2874
2980
|
}
|
|
2875
2981
|
if (e.story && !this.hopeStory) {
|
|
2876
|
-
const { installStory: c } = await import("./story-
|
|
2982
|
+
const { installStory: c } = await import("./story-9l716qFL.js");
|
|
2877
2983
|
this.hopeStory = c(
|
|
2878
2984
|
{
|
|
2879
2985
|
videoEl: this.videoEl,
|
|
@@ -2894,7 +3000,7 @@ class Re extends HTMLElement {
|
|
|
2894
3000
|
);
|
|
2895
3001
|
}
|
|
2896
3002
|
if (e.markers && !this.markProgress) {
|
|
2897
|
-
const { installMarkers: c } = await import("./markers-
|
|
3003
|
+
const { installMarkers: c } = await import("./markers-DO9EWMbY.js");
|
|
2898
3004
|
this.markProgress = c(
|
|
2899
3005
|
{
|
|
2900
3006
|
videoEl: this.videoEl,
|
|
@@ -2905,12 +3011,12 @@ class Re extends HTMLElement {
|
|
|
2905
3011
|
e.markers
|
|
2906
3012
|
);
|
|
2907
3013
|
}
|
|
2908
|
-
if ((
|
|
2909
|
-
const { installSegments: c } = await import("./segments-
|
|
3014
|
+
if ((x = e.segments) != null && x.length && !this.segments) {
|
|
3015
|
+
const { installSegments: c } = await import("./segments-BbEd55qs.js");
|
|
2910
3016
|
this.segments = c({ videoEl: this.videoEl, seekBar: this.controlBar.seekBar }, e.segments);
|
|
2911
3017
|
}
|
|
2912
3018
|
if (e.spriteThumbnails && !this.spriteThumbnails) {
|
|
2913
|
-
const { installSpriteThumbnails: c } = await import("./spriteThumbnails-
|
|
3019
|
+
const { installSpriteThumbnails: c } = await import("./spriteThumbnails-DfxQcAuZ.js");
|
|
2914
3020
|
this.spriteThumbnails = c(
|
|
2915
3021
|
{
|
|
2916
3022
|
videoEl: this.videoEl,
|
|
@@ -2921,21 +3027,55 @@ class Re extends HTMLElement {
|
|
|
2921
3027
|
);
|
|
2922
3028
|
}
|
|
2923
3029
|
const m = e.redirectScreen ? JSON.stringify(e.redirectScreen) : "";
|
|
2924
|
-
if (m !== this.redirectKey && (this.redirectKey = m, (
|
|
2925
|
-
const { installRedirectScreen: c } = await import("./redirectScreen-
|
|
3030
|
+
if (m !== this.redirectKey && (this.redirectKey = m, (k = this.redirectScreen) == null || k.destroy(), this.redirectScreen = null, e.redirectScreen)) {
|
|
3031
|
+
const { installRedirectScreen: c } = await import("./redirectScreen-DjaFCzlz.js");
|
|
2926
3032
|
this.redirectScreen = c(
|
|
2927
3033
|
{ hostEl: this, videoEl: this.videoEl, overlayContainerEl: this.videoArea, isAdActive: () => this.isAdPlaying(), i18n: this.i18n },
|
|
2928
3034
|
e.redirectScreen
|
|
2929
3035
|
);
|
|
2930
3036
|
}
|
|
2931
|
-
const d =
|
|
2932
|
-
if (d !== this.
|
|
2933
|
-
const {
|
|
2934
|
-
this.
|
|
3037
|
+
const d = e.accessibility ? JSON.stringify(e.accessibility) : "";
|
|
3038
|
+
if (d !== this.accessibilityKey && (this.accessibilityKey = d, (w = this.accessibility) == null || w.destroy(), this.accessibility = null, e.accessibility)) {
|
|
3039
|
+
const { installAccessibility: c } = await import("./accessibility-CehDBG3h.js");
|
|
3040
|
+
this.accessibilityKey === d && (this.accessibility = c(
|
|
3041
|
+
{
|
|
3042
|
+
hostEl: this,
|
|
3043
|
+
videoEl: this.videoEl,
|
|
3044
|
+
videoAreaEl: this.videoArea,
|
|
3045
|
+
i18n: this.i18n,
|
|
3046
|
+
registerSubmenu: (u) => this.controlBar.settingsMenu.registerSubmenu(u),
|
|
3047
|
+
unregisterSubmenu: (u) => this.controlBar.settingsMenu.unregisterSubmenu(u),
|
|
3048
|
+
addQuickButton: (u, b, M) => this.controlBar.settingsMenu.addQuickButton(u, b, M),
|
|
3049
|
+
seekStep: () => this.keyboard.seekStep
|
|
3050
|
+
},
|
|
3051
|
+
e.accessibility === !0 ? {} : e.accessibility
|
|
3052
|
+
));
|
|
3053
|
+
}
|
|
3054
|
+
const p = (C = e.skipSegments) != null && C.length ? JSON.stringify(e.skipSegments) : "";
|
|
3055
|
+
if (p !== this.skipSegmentsKey && (this.skipSegmentsKey = p, (E = this.skipSegments) == null || E.destroy(), this.skipSegments = null, (S = e.skipSegments) != null && S.length)) {
|
|
3056
|
+
const { installSkipSegments: c } = await import("./skipSegments-B3Yt8Tbj.js");
|
|
3057
|
+
this.skipSegmentsKey === p && (this.skipSegments = c(
|
|
2935
3058
|
{ hostEl: this, videoEl: this.videoEl, overlayContainerEl: this.videoArea, isAdActive: () => this.isAdPlaying(), i18n: this.i18n },
|
|
2936
3059
|
e.skipSegments
|
|
2937
3060
|
));
|
|
2938
3061
|
}
|
|
3062
|
+
const g = e.history ? JSON.stringify(e.history) : "";
|
|
3063
|
+
if (g !== this.historyKey && (this.historyKey = g, (T = this.playbackHistory) == null || T.destroy(), this.playbackHistory = null, e.history)) {
|
|
3064
|
+
const c = e.qrResume ? e.qrResume.paramName ?? "vtime" : null, u = !!c && new URL(location.href).searchParams.has(c), { installHistory: b } = await import("./history-DqPUjPvi.js");
|
|
3065
|
+
this.historyKey === g && (this.playbackHistory = b(
|
|
3066
|
+
{
|
|
3067
|
+
hostEl: this,
|
|
3068
|
+
videoEl: this.videoEl,
|
|
3069
|
+
overlayContainerEl: this.videoArea,
|
|
3070
|
+
i18n: this.i18n,
|
|
3071
|
+
currentSrc: () => this.sourceManager.currentSrc,
|
|
3072
|
+
isAdActive: () => this.isAdPlaying(),
|
|
3073
|
+
mutedRequested: () => !!this._options.muted,
|
|
3074
|
+
linkTimePresent: u
|
|
3075
|
+
},
|
|
3076
|
+
e.history === !0 ? {} : e.history
|
|
3077
|
+
));
|
|
3078
|
+
}
|
|
2939
3079
|
if (e.qrResume && !this.qrResume) {
|
|
2940
3080
|
const { installQrResume: c } = await import("./qrResume-DXwD3oSA.js");
|
|
2941
3081
|
this.qrResume = c({ videoEl: this.videoEl, overlayContainerEl: this.videoArea, i18n: this.i18n }, e.qrResume);
|
|
@@ -2954,7 +3094,7 @@ class Re extends HTMLElement {
|
|
|
2954
3094
|
{
|
|
2955
3095
|
areaEl: this.videoArea,
|
|
2956
3096
|
seekBy: (u) => {
|
|
2957
|
-
this.controlBar.seekBar.el.style.pointerEvents !== "none" && (
|
|
3097
|
+
this.controlBar.seekBar.el.style.pointerEvents !== "none" && (Te(this.videoEl, u), this.seekFeedback.show(u));
|
|
2958
3098
|
},
|
|
2959
3099
|
togglePlay: () => this.videoEl.paused ? void this.videoEl.play().catch(() => {
|
|
2960
3100
|
}) : this.videoEl.pause(),
|
|
@@ -2970,7 +3110,7 @@ class Re extends HTMLElement {
|
|
|
2970
3110
|
const { DEFAULT_TAP_GESTURES: c } = await import("./tapGestures-DrC42DiI.js");
|
|
2971
3111
|
this.tapGestures.setGestures(e.tapGestures === !0 ? c : e.tapGestures || []);
|
|
2972
3112
|
}
|
|
2973
|
-
if ((
|
|
3113
|
+
if ((A = e.pauseAd) != null && A.adUnitPath && !this.pauseAd) {
|
|
2974
3114
|
const { installPauseAd: c } = await import("./pauseAd-BQQe21X4.js");
|
|
2975
3115
|
this.pauseAd = c(
|
|
2976
3116
|
{ videoEl: this.videoEl, hostEl: this, videoArea: this.videoArea, i18n: this.i18n, isBlocked: () => this.isChromeBlocked },
|
|
@@ -2999,11 +3139,11 @@ class Re extends HTMLElement {
|
|
|
2999
3139
|
addControlElement: (b) => this.controlBar.addElement(b),
|
|
3000
3140
|
i18n: this.i18n,
|
|
3001
3141
|
getPlayingDate: () => {
|
|
3002
|
-
var
|
|
3003
|
-
const b = (
|
|
3142
|
+
var F, I, te;
|
|
3143
|
+
const b = (F = this.sourceManager.hlsInstance) == null ? void 0 : F.playingDate;
|
|
3004
3144
|
if (b) return b;
|
|
3005
|
-
const
|
|
3006
|
-
return Number.isFinite(
|
|
3145
|
+
const M = (te = (I = this.videoEl).getStartDate) == null ? void 0 : te.call(I), B = (M == null ? void 0 : M.getTime()) ?? NaN;
|
|
3146
|
+
return Number.isFinite(B) && B > 0 ? new Date(B + this.videoEl.currentTime * 1e3) : null;
|
|
3007
3147
|
}
|
|
3008
3148
|
},
|
|
3009
3149
|
c
|
|
@@ -3023,7 +3163,7 @@ class Re extends HTMLElement {
|
|
|
3023
3163
|
e.dai
|
|
3024
3164
|
);
|
|
3025
3165
|
}
|
|
3026
|
-
(
|
|
3166
|
+
(y = e.subtitles) != null && y.length ? this.optionTracks = ut(this.videoEl, e.subtitles) : (Me(this.videoEl), this.optionTracks = []), this.rebuildCaptions(((L = (P = e.subtitles) == null ? void 0 : P.find((c) => c.default)) == null ? void 0 : L.label) ?? null);
|
|
3027
3167
|
}
|
|
3028
3168
|
/** Altyazı menüsünü `options.subtitles` + yayın izlerinden kurar; `activeLabel` varsa onu seçer. */
|
|
3029
3169
|
rebuildCaptions(e) {
|
|
@@ -3033,7 +3173,7 @@ class Re extends HTMLElement {
|
|
|
3033
3173
|
}
|
|
3034
3174
|
const i = (o) => {
|
|
3035
3175
|
var l;
|
|
3036
|
-
const a =
|
|
3176
|
+
const a = mt(this.subtitleTracks, o);
|
|
3037
3177
|
this.activeCaptionLabel = a ? o : null, this.sourceManager.selectTextTrack(((l = this.streamTracks.find((h) => h.label === o)) == null ? void 0 : l.id) ?? null), this.captionRenderer.setActiveTrack(a), this.captionTrackActive = a !== null, this.controlBar.settingsMenu.setActiveCaption(a ? o : this.i18n.captionsOff), this.controlBar.settingsMenu.setCaptionAppearance(a !== null ? this.buildCaptionAppearance() : null);
|
|
3038
3178
|
};
|
|
3039
3179
|
this.selectCaption = i;
|
|
@@ -3081,14 +3221,14 @@ class Re extends HTMLElement {
|
|
|
3081
3221
|
})),
|
|
3082
3222
|
bgColorLabel: this.i18n.captionBgColor,
|
|
3083
3223
|
getBgColorOptions: () => i(
|
|
3084
|
-
|
|
3224
|
+
G.BG_COLOR_PRESETS,
|
|
3085
3225
|
() => this.captionRenderer.getBgColor(),
|
|
3086
3226
|
(r) => this.captionRenderer.setBgColor(r),
|
|
3087
3227
|
this.i18n.captionBgColor
|
|
3088
3228
|
),
|
|
3089
3229
|
textColorLabel: this.i18n.captionTextColor,
|
|
3090
3230
|
getTextColorOptions: () => i(
|
|
3091
|
-
|
|
3231
|
+
G.TEXT_COLOR_PRESETS,
|
|
3092
3232
|
() => this.captionRenderer.getTextColor(),
|
|
3093
3233
|
(r) => this.captionRenderer.setTextColor(r),
|
|
3094
3234
|
this.i18n.captionTextColor
|
|
@@ -3168,7 +3308,7 @@ class Re extends HTMLElement {
|
|
|
3168
3308
|
if (this.rewardedUnlock)
|
|
3169
3309
|
this.rewardedUnlock.update(i);
|
|
3170
3310
|
else {
|
|
3171
|
-
const { installRewardedUnlock: r } = await import("./rewardedUnlock-
|
|
3311
|
+
const { installRewardedUnlock: r } = await import("./rewardedUnlock-dyhvvClS.js");
|
|
3172
3312
|
this.rewardedUnlock ?? (this.rewardedUnlock = r(
|
|
3173
3313
|
{
|
|
3174
3314
|
hostEl: this,
|
|
@@ -3209,7 +3349,7 @@ class Re extends HTMLElement {
|
|
|
3209
3349
|
if (this.castController)
|
|
3210
3350
|
this.castController.update(i);
|
|
3211
3351
|
else {
|
|
3212
|
-
const { installCast: o } = await import("./cast-
|
|
3352
|
+
const { installCast: o } = await import("./cast-CdzZu2dW.js");
|
|
3213
3353
|
this.castController ?? (this.castController = o(
|
|
3214
3354
|
{
|
|
3215
3355
|
hostEl: this,
|
|
@@ -3233,35 +3373,35 @@ class Re extends HTMLElement {
|
|
|
3233
3373
|
}
|
|
3234
3374
|
/** TV'ye gönderilecek içerik: o an çalan kaynak (ya da `cast.source`), başlık / kapak, altyazılar, reklam tag'leri. */
|
|
3235
3375
|
castMedia() {
|
|
3236
|
-
var
|
|
3376
|
+
var C, E, S, T, A;
|
|
3237
3377
|
const e = this._options, i = e.cast ?? {}, r = this.sourceManager.currentSrc;
|
|
3238
3378
|
if (!r) return null;
|
|
3239
|
-
const o = (
|
|
3240
|
-
const
|
|
3241
|
-
return
|
|
3242
|
-
},
|
|
3243
|
-
vmap: i.ads.vmap ?
|
|
3244
|
-
preroll:
|
|
3245
|
-
midroll:
|
|
3379
|
+
const o = (C = this.currentSources.find((y) => y.src === r)) == null ? void 0 : C.type, a = typeof i.source == "function" ? i.source({ src: r, type: o }) : i.source ?? { src: r, type: o }, l = typeof a == "string" ? { src: a, type: void 0 } : a, h = (y) => new URL(y, document.baseURI).href, m = Se({ src: l.src, type: l.type }), d = typeof e.audio == "object" ? e.audio : null, p = ((E = i.metadata) == null ? void 0 : E.image) ?? (d == null ? void 0 : d.cover) ?? e.poster, g = typeof e.ads == "object" ? e.ads : null, f = g == null ? void 0 : g.prebid, v = f == null ? void 0 : f.custParams, x = f ? { ...J(f.custParams), ...J((S = f.midroll) == null ? void 0 : S.custParams) } : void 0, k = (y, P) => {
|
|
3380
|
+
const L = Array.isArray(y) ? y[0] : y;
|
|
3381
|
+
return L ? Dt(W(L), P) : void 0;
|
|
3382
|
+
}, w = i.ads === !1 ? null : typeof i.ads == "object" ? {
|
|
3383
|
+
vmap: i.ads.vmap ? W(i.ads.vmap) : void 0,
|
|
3384
|
+
preroll: k(i.ads.preroll),
|
|
3385
|
+
midroll: k(i.ads.midroll),
|
|
3246
3386
|
midrollIntervalSeconds: i.ads.midrollIntervalSeconds,
|
|
3247
|
-
postroll:
|
|
3387
|
+
postroll: k(i.ads.postroll)
|
|
3248
3388
|
} : g ? {
|
|
3249
|
-
vmap: g.adTagVmap ?
|
|
3250
|
-
preroll:
|
|
3251
|
-
midroll:
|
|
3389
|
+
vmap: g.adTagVmap ? W(g.adTagVmap) : void 0,
|
|
3390
|
+
preroll: k(g.adTagPreroll, v),
|
|
3391
|
+
midroll: k(g.adTagMidroll, x),
|
|
3252
3392
|
midrollIntervalSeconds: g.midrollIntervalSeconds,
|
|
3253
|
-
postroll:
|
|
3393
|
+
postroll: k(g.adTagPostroll)
|
|
3254
3394
|
} : null;
|
|
3255
3395
|
return {
|
|
3256
3396
|
src: h(l.src),
|
|
3257
|
-
contentType: l.type ||
|
|
3397
|
+
contentType: l.type || Xt[m] || "video/mp4",
|
|
3258
3398
|
live: this.videoEl.duration === 1 / 0,
|
|
3259
3399
|
title: ((T = i.metadata) == null ? void 0 : T.title) ?? (d == null ? void 0 : d.title),
|
|
3260
|
-
subtitle: ((
|
|
3400
|
+
subtitle: ((A = i.metadata) == null ? void 0 : A.subtitle) ?? (d == null ? void 0 : d.artist),
|
|
3261
3401
|
image: p ? h(p) : void 0,
|
|
3262
3402
|
music: !!e.audio,
|
|
3263
|
-
subtitles: (e.subtitles ?? []).map((
|
|
3264
|
-
ads:
|
|
3403
|
+
subtitles: (e.subtitles ?? []).map((y) => ({ src: h(y.src), label: y.label, lang: y.srclang, default: y.default })),
|
|
3404
|
+
ads: w && (w.vmap || w.preroll || w.midroll || w.postroll) ? w : null
|
|
3265
3405
|
};
|
|
3266
3406
|
}
|
|
3267
3407
|
async applyAdTriggers(e) {
|
|
@@ -3326,7 +3466,7 @@ class Re extends HTMLElement {
|
|
|
3326
3466
|
var i;
|
|
3327
3467
|
for (let r = e; r < this.sourceGroups.length; r++) {
|
|
3328
3468
|
const o = this.sourceGroups[r];
|
|
3329
|
-
if (!
|
|
3469
|
+
if (!Ve(o, this.videoEl)) {
|
|
3330
3470
|
if (r > e) {
|
|
3331
3471
|
const a = this.sourceGroups[e].format;
|
|
3332
3472
|
this.dispatchEvent(new CustomEvent("hp:sourcefallback", { detail: { from: a, to: o.format, code: 4, skipped: !0 } }));
|
|
@@ -3540,7 +3680,7 @@ class Re extends HTMLElement {
|
|
|
3540
3680
|
if (!this.adsInstall) {
|
|
3541
3681
|
const i = e.ads === !0 ? {} : e.ads;
|
|
3542
3682
|
this.adsInstall = (async () => {
|
|
3543
|
-
const { installAds: r } = await import("./ads-
|
|
3683
|
+
const { installAds: r } = await import("./ads-KH9oCkc0.js");
|
|
3544
3684
|
this.adsController = await r(
|
|
3545
3685
|
{
|
|
3546
3686
|
videoEl: this.videoEl,
|
|
@@ -3597,19 +3737,19 @@ class Re extends HTMLElement {
|
|
|
3597
3737
|
}
|
|
3598
3738
|
}
|
|
3599
3739
|
/** Paket sürümü (ör. "1.0.4"). */
|
|
3600
|
-
s(
|
|
3601
|
-
typeof window < "u" && !customElements.get("hope-player") && customElements.define("hope-player",
|
|
3740
|
+
s(Ne, "version", U);
|
|
3741
|
+
typeof window < "u" && !customElements.get("hope-player") && customElements.define("hope-player", Ne);
|
|
3602
3742
|
export {
|
|
3603
|
-
|
|
3604
|
-
|
|
3605
|
-
|
|
3606
|
-
|
|
3607
|
-
|
|
3608
|
-
|
|
3609
|
-
|
|
3610
|
-
|
|
3611
|
-
|
|
3612
|
-
|
|
3613
|
-
|
|
3743
|
+
U as H,
|
|
3744
|
+
Qe as L,
|
|
3745
|
+
Ne as a,
|
|
3746
|
+
z as c,
|
|
3747
|
+
R as f,
|
|
3748
|
+
W as g,
|
|
3749
|
+
ee as i,
|
|
3750
|
+
Dt as m,
|
|
3751
|
+
H as s,
|
|
3752
|
+
J as t,
|
|
3753
|
+
K as v
|
|
3614
3754
|
};
|
|
3615
|
-
//# sourceMappingURL=player-
|
|
3755
|
+
//# sourceMappingURL=player-CP2Wu92g.js.map
|