@mottosports/motto-video-player 1.0.1-rc.74 → 1.0.1-rc.76

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/index.mjs CHANGED
@@ -25,600 +25,8 @@ function styleInject(css, { insertAt } = {}) {
25
25
  }
26
26
  }
27
27
 
28
- // src/index.css
29
- styleInject(`/*! tailwindcss v4.1.8 | MIT License | https://tailwindcss.com */
30
- @layer properties;
31
- @layer theme, base, components, utilities;
32
- @layer theme {
33
- :root,
34
- :host {
35
- --font-sans:
36
- ui-sans-serif,
37
- system-ui,
38
- sans-serif,
39
- "Apple Color Emoji",
40
- "Segoe UI Emoji",
41
- "Segoe UI Symbol",
42
- "Noto Color Emoji";
43
- --font-mono:
44
- ui-monospace,
45
- SFMono-Regular,
46
- Menlo,
47
- Monaco,
48
- Consolas,
49
- "Liberation Mono",
50
- "Courier New",
51
- monospace;
52
- --color-red-600: oklch(57.7% 0.245 27.325);
53
- --color-black: #000;
54
- --color-white: #fff;
55
- --spacing: 0.25rem;
56
- --text-xs: 0.75rem;
57
- --text-xs--line-height: calc(1 / 0.75);
58
- --text-sm: 0.875rem;
59
- --text-sm--line-height: calc(1.25 / 0.875);
60
- --text-base: 1rem;
61
- --text-base--line-height: calc(1.5 / 1);
62
- --text-lg: 1.125rem;
63
- --text-lg--line-height: calc(1.75 / 1.125);
64
- --text-xl: 1.25rem;
65
- --text-xl--line-height: calc(1.75 / 1.25);
66
- --text-2xl: 1.5rem;
67
- --text-2xl--line-height: calc(2 / 1.5);
68
- --text-5xl: 3rem;
69
- --text-5xl--line-height: 1;
70
- --font-weight-medium: 500;
71
- --font-weight-semibold: 600;
72
- --font-weight-bold: 700;
73
- --tracking-wide: 0.025em;
74
- --tracking-widest: 0.1em;
75
- --radius-md: 0.375rem;
76
- --radius-2xl: 1rem;
77
- --animate-spin: spin 1s linear infinite;
78
- --animate-pulse: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
79
- --aspect-video: 16 / 9;
80
- --default-transition-duration: 150ms;
81
- --default-transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
82
- --default-font-family: var(--font-sans);
83
- --default-mono-font-family: var(--font-mono);
84
- }
85
- }
86
- @layer base {
87
- *,
88
- ::after,
89
- ::before,
90
- ::backdrop,
91
- ::file-selector-button {
92
- box-sizing: border-box;
93
- margin: 0;
94
- padding: 0;
95
- border: 0 solid;
96
- }
97
- html,
98
- :host {
99
- line-height: 1.5;
100
- -webkit-text-size-adjust: 100%;
101
- tab-size: 4;
102
- font-family: var(--default-font-family, ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");
103
- font-feature-settings: var(--default-font-feature-settings, normal);
104
- font-variation-settings: var(--default-font-variation-settings, normal);
105
- -webkit-tap-highlight-color: transparent;
106
- }
107
- hr {
108
- height: 0;
109
- color: inherit;
110
- border-top-width: 1px;
111
- }
112
- abbr:where([title]) {
113
- -webkit-text-decoration: underline dotted;
114
- text-decoration: underline dotted;
115
- }
116
- h1,
117
- h2,
118
- h3,
119
- h4,
120
- h5,
121
- h6 {
122
- font-size: inherit;
123
- font-weight: inherit;
124
- }
125
- a {
126
- color: inherit;
127
- -webkit-text-decoration: inherit;
128
- text-decoration: inherit;
129
- }
130
- b,
131
- strong {
132
- font-weight: bolder;
133
- }
134
- code,
135
- kbd,
136
- samp,
137
- pre {
138
- font-family: var(--default-mono-font-family, ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);
139
- font-feature-settings: var(--default-mono-font-feature-settings, normal);
140
- font-variation-settings: var(--default-mono-font-variation-settings, normal);
141
- font-size: 1em;
142
- }
143
- small {
144
- font-size: 80%;
145
- }
146
- sub,
147
- sup {
148
- font-size: 75%;
149
- line-height: 0;
150
- position: relative;
151
- vertical-align: baseline;
152
- }
153
- sub {
154
- bottom: -0.25em;
155
- }
156
- sup {
157
- top: -0.5em;
158
- }
159
- table {
160
- text-indent: 0;
161
- border-color: inherit;
162
- border-collapse: collapse;
163
- }
164
- :-moz-focusring {
165
- outline: auto;
166
- }
167
- progress {
168
- vertical-align: baseline;
169
- }
170
- summary {
171
- display: list-item;
172
- }
173
- ol,
174
- ul,
175
- menu {
176
- list-style: none;
177
- }
178
- img,
179
- svg,
180
- video,
181
- canvas,
182
- audio,
183
- iframe,
184
- embed,
185
- object {
186
- display: block;
187
- vertical-align: middle;
188
- }
189
- img,
190
- video {
191
- max-width: 100%;
192
- height: auto;
193
- }
194
- button,
195
- input,
196
- select,
197
- optgroup,
198
- textarea,
199
- ::file-selector-button {
200
- font: inherit;
201
- font-feature-settings: inherit;
202
- font-variation-settings: inherit;
203
- letter-spacing: inherit;
204
- color: inherit;
205
- border-radius: 0;
206
- background-color: transparent;
207
- opacity: 1;
208
- }
209
- :where(select:is([multiple], [size])) optgroup {
210
- font-weight: bolder;
211
- }
212
- :where(select:is([multiple], [size])) optgroup option {
213
- padding-inline-start: 20px;
214
- }
215
- ::file-selector-button {
216
- margin-inline-end: 4px;
217
- }
218
- ::placeholder {
219
- opacity: 1;
220
- }
221
- @supports (not (-webkit-appearance: -apple-pay-button)) or (contain-intrinsic-size: 1px) {
222
- ::placeholder {
223
- color: currentcolor;
224
- @supports (color: color-mix(in lab, red, red)) {
225
- color: color-mix(in oklab, currentcolor 50%, transparent);
226
- }
227
- }
228
- }
229
- textarea {
230
- resize: vertical;
231
- }
232
- ::-webkit-search-decoration {
233
- -webkit-appearance: none;
234
- }
235
- ::-webkit-date-and-time-value {
236
- min-height: 1lh;
237
- text-align: inherit;
238
- }
239
- ::-webkit-datetime-edit {
240
- display: inline-flex;
241
- }
242
- ::-webkit-datetime-edit-fields-wrapper {
243
- padding: 0;
244
- }
245
- ::-webkit-datetime-edit,
246
- ::-webkit-datetime-edit-year-field,
247
- ::-webkit-datetime-edit-month-field,
248
- ::-webkit-datetime-edit-day-field,
249
- ::-webkit-datetime-edit-hour-field,
250
- ::-webkit-datetime-edit-minute-field,
251
- ::-webkit-datetime-edit-second-field,
252
- ::-webkit-datetime-edit-millisecond-field,
253
- ::-webkit-datetime-edit-meridiem-field {
254
- padding-block: 0;
255
- }
256
- :-moz-ui-invalid {
257
- box-shadow: none;
258
- }
259
- button,
260
- input:where([type=button], [type=reset], [type=submit]),
261
- ::file-selector-button {
262
- appearance: button;
263
- }
264
- ::-webkit-inner-spin-button,
265
- ::-webkit-outer-spin-button {
266
- height: auto;
267
- }
268
- [hidden]:where(:not([hidden=until-found])) {
269
- display: none !important;
270
- }
271
- }
272
- @layer utilities {
273
- .pointer-events-none {
274
- pointer-events: none;
275
- }
276
- .visible {
277
- visibility: visible;
278
- }
279
- .sr-only {
280
- position: absolute;
281
- width: 1px;
282
- height: 1px;
283
- padding: 0;
284
- margin: -1px;
285
- overflow: hidden;
286
- clip: rect(0, 0, 0, 0);
287
- white-space: nowrap;
288
- border-width: 0;
289
- }
290
- .absolute {
291
- position: absolute;
292
- }
293
- .fixed {
294
- position: fixed;
295
- }
296
- .relative {
297
- position: relative;
298
- }
299
- .static {
300
- position: static;
301
- }
302
- .inset-0 {
303
- inset: calc(var(--spacing) * 0);
304
- }
305
- .top-4 {
306
- top: calc(var(--spacing) * 4);
307
- }
308
- .right-0 {
309
- right: calc(var(--spacing) * 0);
310
- }
311
- .right-4 {
312
- right: calc(var(--spacing) * 4);
313
- }
314
- .bottom-0 {
315
- bottom: calc(var(--spacing) * 0);
316
- }
317
- .bottom-4 {
318
- bottom: calc(var(--spacing) * 4);
319
- }
320
- .left-0 {
321
- left: calc(var(--spacing) * 0);
322
- }
323
- .left-4 {
324
- left: calc(var(--spacing) * 4);
325
- }
326
- .z-10 {
327
- z-index: 10;
328
- }
329
- .z-20 {
330
- z-index: 20;
331
- }
332
- .z-50 {
333
- z-index: 50;
334
- }
335
- .container {
336
- width: 100%;
337
- @media (width >= 40rem) {
338
- max-width: 40rem;
339
- }
340
- @media (width >= 48rem) {
341
- max-width: 48rem;
342
- }
343
- @media (width >= 64rem) {
344
- max-width: 64rem;
345
- }
346
- @media (width >= 80rem) {
347
- max-width: 80rem;
348
- }
349
- @media (width >= 96rem) {
350
- max-width: 96rem;
351
- }
352
- }
353
- .m-6 {
354
- margin: calc(var(--spacing) * 6);
355
- }
356
- .mt-1 {
357
- margin-top: calc(var(--spacing) * 1);
358
- }
359
- .mt-3 {
360
- margin-top: calc(var(--spacing) * 3);
361
- }
362
- .mb-2 {
363
- margin-bottom: calc(var(--spacing) * 2);
364
- }
365
- .mb-6 {
366
- margin-bottom: calc(var(--spacing) * 6);
367
- }
368
- .flex {
369
- display: flex;
370
- }
371
- .grid {
372
- display: grid;
373
- }
374
- .aspect-video {
375
- aspect-ratio: var(--aspect-video);
376
- }
377
- .h-2 {
378
- height: calc(var(--spacing) * 2);
379
- }
380
- .h-12 {
381
- height: calc(var(--spacing) * 12);
382
- }
383
- .h-24 {
384
- height: calc(var(--spacing) * 24);
385
- }
386
- .h-full {
387
- height: 100%;
388
- }
389
- .w-2 {
390
- width: calc(var(--spacing) * 2);
391
- }
392
- .w-12 {
393
- width: calc(var(--spacing) * 12);
394
- }
395
- .w-24 {
396
- width: calc(var(--spacing) * 24);
397
- }
398
- .w-full {
399
- width: 100%;
400
- }
401
- .grow {
402
- flex-grow: 1;
403
- }
404
- .animate-pulse {
405
- animation: var(--animate-pulse);
406
- }
407
- .animate-spin {
408
- animation: var(--animate-spin);
409
- }
410
- .auto-cols-max {
411
- grid-auto-columns: max-content;
412
- }
413
- .grid-flow-col {
414
- grid-auto-flow: column;
415
- }
416
- .flex-col {
417
- flex-direction: column;
418
- }
419
- .items-center {
420
- align-items: center;
421
- }
422
- .justify-center {
423
- justify-content: center;
424
- }
425
- .justify-stretch {
426
- justify-content: stretch;
427
- }
428
- .gap-1 {
429
- gap: calc(var(--spacing) * 1);
430
- }
431
- .overflow-hidden {
432
- overflow: hidden;
433
- }
434
- .rounded-full {
435
- border-radius: calc(infinity * 1px);
436
- }
437
- .rounded-md {
438
- border-radius: var(--radius-md);
439
- }
440
- .bg-\\[\\#111111\\] {
441
- background-color: #111111;
442
- }
443
- .bg-\\[\\#151515\\] {
444
- background-color: #151515;
445
- }
446
- .bg-black {
447
- background-color: var(--color-black);
448
- }
449
- .bg-red-600 {
450
- background-color: var(--color-red-600);
451
- }
452
- .bg-transparent {
453
- background-color: transparent;
454
- }
455
- .bg-white {
456
- background-color: var(--color-white);
457
- }
458
- .bg-gradient-to-t {
459
- --tw-gradient-position: to top in oklab;
460
- background-image: linear-gradient(var(--tw-gradient-stops));
461
- }
462
- .from-black\\/70 {
463
- --tw-gradient-from: color-mix(in srgb, #000 70%, transparent);
464
- @supports (color: color-mix(in lab, red, red)) {
465
- --tw-gradient-from: color-mix(in oklab, var(--color-black) 70%, transparent);
466
- }
467
- --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));
468
- }
469
- .to-transparent {
470
- --tw-gradient-to: transparent;
471
- --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));
472
- }
473
- .bg-cover {
474
- background-size: cover;
475
- }
476
- .bg-center {
477
- background-position: center;
478
- }
479
- .bg-no-repeat {
480
- background-repeat: no-repeat;
481
- }
482
- .p-2 {
483
- padding: calc(var(--spacing) * 2);
484
- }
485
- .p-4 {
486
- padding: calc(var(--spacing) * 4);
487
- }
488
- .px-2 {
489
- padding-inline: calc(var(--spacing) * 2);
490
- }
491
- .px-4 {
492
- padding-inline: calc(var(--spacing) * 4);
493
- }
494
- .py-1 {
495
- padding-block: calc(var(--spacing) * 1);
496
- }
497
- .text-center {
498
- text-align: center;
499
- }
500
- .text-left {
501
- text-align: left;
502
- }
503
- .font-mono {
504
- font-family: var(--font-mono);
505
- }
506
- .text-2xl {
507
- font-size: var(--text-2xl);
508
- line-height: var(--tw-leading, var(--text-2xl--line-height));
509
- }
510
- .text-base {
511
- font-size: var(--text-base);
512
- line-height: var(--tw-leading, var(--text-base--line-height));
513
- }
514
- .text-lg {
515
- font-size: var(--text-lg);
516
- line-height: var(--tw-leading, var(--text-lg--line-height));
517
- }
518
- .text-sm {
519
- font-size: var(--text-sm);
520
- line-height: var(--tw-leading, var(--text-sm--line-height));
521
- }
522
- .text-xl {
523
- font-size: var(--text-xl);
524
- line-height: var(--tw-leading, var(--text-xl--line-height));
525
- }
526
- .text-xs {
527
- font-size: var(--text-xs);
528
- line-height: var(--tw-leading, var(--text-xs--line-height));
529
- }
530
- .text-\\[10px\\] {
531
- font-size: 10px;
532
- }
533
- .leading-none {
534
- --tw-leading: 1;
535
- line-height: 1;
536
- }
537
- .font-bold {
538
- --tw-font-weight: var(--font-weight-bold);
539
- font-weight: var(--font-weight-bold);
540
- }
541
- .font-medium {
542
- --tw-font-weight: var(--font-weight-medium);
543
- font-weight: var(--font-weight-medium);
544
- }
545
- .font-semibold {
546
- --tw-font-weight: var(--font-weight-semibold);
547
- font-weight: var(--font-weight-semibold);
548
- }
549
- .tracking-wide {
550
- --tw-tracking: var(--tracking-wide);
551
- letter-spacing: var(--tracking-wide);
552
- }
553
- .tracking-widest {
554
- --tw-tracking: var(--tracking-widest);
555
- letter-spacing: var(--tracking-widest);
556
- }
557
- .text-white {
558
- color: var(--color-white);
559
- }
560
- .uppercase {
561
- text-transform: uppercase;
562
- }
563
- .shadow-lg {
564
- --tw-shadow: 0 10px 15px -3px var(--tw-shadow-color, rgb(0 0 0 / 0.1)), 0 4px 6px -4px var(--tw-shadow-color, rgb(0 0 0 / 0.1));
565
- box-shadow:
566
- var(--tw-inset-shadow),
567
- var(--tw-inset-ring-shadow),
568
- var(--tw-ring-offset-shadow),
569
- var(--tw-ring-shadow),
570
- var(--tw-shadow);
571
- }
572
- .filter {
573
- 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,);
574
- }
575
- .md\\:gap-5 {
576
- @media (width >= 48rem) {
577
- gap: calc(var(--spacing) * 5);
578
- }
579
- }
580
- .md\\:rounded-2xl {
581
- @media (width >= 48rem) {
582
- border-radius: var(--radius-2xl);
583
- }
584
- }
585
- .md\\:rounded-2xl\\! {
586
- @media (width >= 48rem) {
587
- border-radius: var(--radius-2xl) !important;
588
- }
589
- }
590
- .md\\:text-5xl {
591
- @media (width >= 48rem) {
592
- font-size: var(--text-5xl);
593
- line-height: var(--tw-leading, var(--text-5xl--line-height));
594
- }
595
- }
596
- .md\\:text-base {
597
- @media (width >= 48rem) {
598
- font-size: var(--text-base);
599
- line-height: var(--tw-leading, var(--text-base--line-height));
600
- }
601
- }
602
- .md\\:text-sm {
603
- @media (width >= 48rem) {
604
- font-size: var(--text-sm);
605
- line-height: var(--tw-leading, var(--text-sm--line-height));
606
- }
607
- }
608
- .md\\:text-xl {
609
- @media (width >= 48rem) {
610
- font-size: var(--text-xl);
611
- line-height: var(--tw-leading, var(--text-xl--line-height));
612
- }
613
- }
614
- .md\\:text-xs {
615
- @media (width >= 48rem) {
616
- font-size: var(--text-xs);
617
- line-height: var(--tw-leading, var(--text-xs--line-height));
618
- }
619
- }
620
- }
621
- @layer components {
28
+ // src/styles.css
29
+ styleInject(`@layer components {
622
30
  video::-webkit-media-controls {
623
31
  display: none !important;
624
32
  }
@@ -688,8 +96,7 @@ styleInject(`/*! tailwindcss v4.1.8 | MIT License | https://tailwindcss.com */
688
96
  opacity: 0 !important;
689
97
  }
690
98
  .motto-video-container {
691
- position: relative;
692
- width: 100%;
99
+ @apply relative w-full;
693
100
  min-height: 300px;
694
101
  }
695
102
  @supports (aspect-ratio: 16/9) {
@@ -698,65 +105,16 @@ styleInject(`/*! tailwindcss v4.1.8 | MIT License | https://tailwindcss.com */
698
105
  }
699
106
  }
700
107
  .motto-video-responsive {
701
- position: absolute;
702
- top: calc(var(--spacing) * 0);
703
- left: calc(var(--spacing) * 0);
704
- height: 100%;
705
- width: 100%;
108
+ @apply absolute top-0 left-0 w-full h-full;
706
109
  }
707
110
  .motto-skip-button {
708
- position: absolute;
709
- top: calc(1/2 * 100%);
710
- z-index: 10;
711
- display: flex;
712
- height: calc(var(--spacing) * 16);
713
- width: calc(var(--spacing) * 16);
714
- --tw-translate-y: calc(calc(1/2 * 100%) * -1);
715
- translate: var(--tw-translate-x) var(--tw-translate-y);
716
- cursor: pointer;
717
- align-items: center;
718
- justify-content: center;
719
- border-radius: calc(infinity * 1px);
720
- border-style: var(--tw-border-style);
721
- border-width: 0px;
722
- background-color: color-mix(in srgb, #000 70%, transparent);
723
- @supports (color: color-mix(in lab, red, red)) {
724
- background-color: color-mix(in oklab, var(--color-black) 70%, transparent);
725
- }
726
- font-size: var(--text-2xl);
727
- line-height: var(--tw-leading, var(--text-2xl--line-height));
728
- color: var(--color-white);
729
- opacity: 80%;
730
- transition-property: all;
731
- transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));
732
- transition-duration: var(--tw-duration, var(--default-transition-duration));
733
- --tw-duration: 200ms;
734
- transition-duration: 200ms;
735
- &:hover {
736
- @media (hover: hover) {
737
- --tw-scale-x: 110%;
738
- --tw-scale-y: 110%;
739
- --tw-scale-z: 110%;
740
- scale: var(--tw-scale-x) var(--tw-scale-y);
741
- }
742
- }
743
- &:hover {
744
- @media (hover: hover) {
745
- opacity: 100%;
746
- }
747
- }
748
- &:active {
749
- --tw-scale-x: 95%;
750
- --tw-scale-y: 95%;
751
- --tw-scale-z: 95%;
752
- scale: var(--tw-scale-x) var(--tw-scale-y);
753
- }
111
+ @apply absolute top-1/2 -translate-y-1/2 bg-black/70 text-white border-0 rounded-full w-16 h-16 text-2xl cursor-pointer flex items-center justify-center transition-all duration-200 z-10 opacity-80 hover:opacity-100 hover:scale-110 active:scale-95;
754
112
  }
755
113
  .motto-skip-button-back {
756
- left: calc(var(--spacing) * 5);
114
+ @apply left-5;
757
115
  }
758
116
  .motto-skip-button-forward {
759
- right: calc(var(--spacing) * 5);
117
+ @apply right-5;
760
118
  }
761
119
  }
762
120
  .shaka-seek-bar-container {
@@ -1032,119 +390,6 @@ html[dir=rtl] .shaka-overflow-menu .shaka-overflow-button .material-svg-icon:fir
1032
390
  pointer-events: none !important;
1033
391
  display: none !important;
1034
392
  }
1035
- @property --tw-gradient-position { syntax: "*"; inherits: false; }
1036
- @property --tw-gradient-from { syntax: "<color>"; inherits: false; initial-value: #0000; }
1037
- @property --tw-gradient-via { syntax: "<color>"; inherits: false; initial-value: #0000; }
1038
- @property --tw-gradient-to { syntax: "<color>"; inherits: false; initial-value: #0000; }
1039
- @property --tw-gradient-stops { syntax: "*"; inherits: false; }
1040
- @property --tw-gradient-via-stops { syntax: "*"; inherits: false; }
1041
- @property --tw-gradient-from-position { syntax: "<length-percentage>"; inherits: false; initial-value: 0%; }
1042
- @property --tw-gradient-via-position { syntax: "<length-percentage>"; inherits: false; initial-value: 50%; }
1043
- @property --tw-gradient-to-position { syntax: "<length-percentage>"; inherits: false; initial-value: 100%; }
1044
- @property --tw-leading { syntax: "*"; inherits: false; }
1045
- @property --tw-font-weight { syntax: "*"; inherits: false; }
1046
- @property --tw-tracking { syntax: "*"; inherits: false; }
1047
- @property --tw-shadow { syntax: "*"; inherits: false; initial-value: 0 0 #0000; }
1048
- @property --tw-shadow-color { syntax: "*"; inherits: false; }
1049
- @property --tw-shadow-alpha { syntax: "<percentage>"; inherits: false; initial-value: 100%; }
1050
- @property --tw-inset-shadow { syntax: "*"; inherits: false; initial-value: 0 0 #0000; }
1051
- @property --tw-inset-shadow-color { syntax: "*"; inherits: false; }
1052
- @property --tw-inset-shadow-alpha { syntax: "<percentage>"; inherits: false; initial-value: 100%; }
1053
- @property --tw-ring-color { syntax: "*"; inherits: false; }
1054
- @property --tw-ring-shadow { syntax: "*"; inherits: false; initial-value: 0 0 #0000; }
1055
- @property --tw-inset-ring-color { syntax: "*"; inherits: false; }
1056
- @property --tw-inset-ring-shadow { syntax: "*"; inherits: false; initial-value: 0 0 #0000; }
1057
- @property --tw-ring-inset { syntax: "*"; inherits: false; }
1058
- @property --tw-ring-offset-width { syntax: "<length>"; inherits: false; initial-value: 0px; }
1059
- @property --tw-ring-offset-color { syntax: "*"; inherits: false; initial-value: #fff; }
1060
- @property --tw-ring-offset-shadow { syntax: "*"; inherits: false; initial-value: 0 0 #0000; }
1061
- @property --tw-blur { syntax: "*"; inherits: false; }
1062
- @property --tw-brightness { syntax: "*"; inherits: false; }
1063
- @property --tw-contrast { syntax: "*"; inherits: false; }
1064
- @property --tw-grayscale { syntax: "*"; inherits: false; }
1065
- @property --tw-hue-rotate { syntax: "*"; inherits: false; }
1066
- @property --tw-invert { syntax: "*"; inherits: false; }
1067
- @property --tw-opacity { syntax: "*"; inherits: false; }
1068
- @property --tw-saturate { syntax: "*"; inherits: false; }
1069
- @property --tw-sepia { syntax: "*"; inherits: false; }
1070
- @property --tw-drop-shadow { syntax: "*"; inherits: false; }
1071
- @property --tw-drop-shadow-color { syntax: "*"; inherits: false; }
1072
- @property --tw-drop-shadow-alpha { syntax: "<percentage>"; inherits: false; initial-value: 100%; }
1073
- @property --tw-drop-shadow-size { syntax: "*"; inherits: false; }
1074
- @property --tw-translate-x { syntax: "*"; inherits: false; initial-value: 0; }
1075
- @property --tw-translate-y { syntax: "*"; inherits: false; initial-value: 0; }
1076
- @property --tw-translate-z { syntax: "*"; inherits: false; initial-value: 0; }
1077
- @property --tw-border-style { syntax: "*"; inherits: false; initial-value: solid; }
1078
- @property --tw-duration { syntax: "*"; inherits: false; }
1079
- @property --tw-scale-x { syntax: "*"; inherits: false; initial-value: 1; }
1080
- @property --tw-scale-y { syntax: "*"; inherits: false; initial-value: 1; }
1081
- @property --tw-scale-z { syntax: "*"; inherits: false; initial-value: 1; }
1082
- @keyframes spin {
1083
- to {
1084
- transform: rotate(360deg);
1085
- }
1086
- }
1087
- @keyframes pulse {
1088
- 50% {
1089
- opacity: 0.5;
1090
- }
1091
- }
1092
- @layer properties {
1093
- @supports ((-webkit-hyphens: none) and (not (margin-trim: inline))) or ((-moz-orient: inline) and (not (color:rgb(from red r g b)))) {
1094
- *,
1095
- ::before,
1096
- ::after,
1097
- ::backdrop {
1098
- --tw-gradient-position: initial;
1099
- --tw-gradient-from: #0000;
1100
- --tw-gradient-via: #0000;
1101
- --tw-gradient-to: #0000;
1102
- --tw-gradient-stops: initial;
1103
- --tw-gradient-via-stops: initial;
1104
- --tw-gradient-from-position: 0%;
1105
- --tw-gradient-via-position: 50%;
1106
- --tw-gradient-to-position: 100%;
1107
- --tw-leading: initial;
1108
- --tw-font-weight: initial;
1109
- --tw-tracking: initial;
1110
- --tw-shadow: 0 0 #0000;
1111
- --tw-shadow-color: initial;
1112
- --tw-shadow-alpha: 100%;
1113
- --tw-inset-shadow: 0 0 #0000;
1114
- --tw-inset-shadow-color: initial;
1115
- --tw-inset-shadow-alpha: 100%;
1116
- --tw-ring-color: initial;
1117
- --tw-ring-shadow: 0 0 #0000;
1118
- --tw-inset-ring-color: initial;
1119
- --tw-inset-ring-shadow: 0 0 #0000;
1120
- --tw-ring-inset: initial;
1121
- --tw-ring-offset-width: 0px;
1122
- --tw-ring-offset-color: #fff;
1123
- --tw-ring-offset-shadow: 0 0 #0000;
1124
- --tw-blur: initial;
1125
- --tw-brightness: initial;
1126
- --tw-contrast: initial;
1127
- --tw-grayscale: initial;
1128
- --tw-hue-rotate: initial;
1129
- --tw-invert: initial;
1130
- --tw-opacity: initial;
1131
- --tw-saturate: initial;
1132
- --tw-sepia: initial;
1133
- --tw-drop-shadow: initial;
1134
- --tw-drop-shadow-color: initial;
1135
- --tw-drop-shadow-alpha: 100%;
1136
- --tw-drop-shadow-size: initial;
1137
- --tw-translate-x: 0;
1138
- --tw-translate-y: 0;
1139
- --tw-translate-z: 0;
1140
- --tw-border-style: solid;
1141
- --tw-duration: initial;
1142
- --tw-scale-x: 1;
1143
- --tw-scale-y: 1;
1144
- --tw-scale-z: 1;
1145
- }
1146
- }
1147
- }
1148
393
  `);
1149
394
 
1150
395
  // src/Player.tsx
@@ -1204,7 +449,7 @@ var supportsWidevinePersistentLicenses = () => {
1204
449
  import initShakaPlayerMux from "@mux/mux-data-shakaplayer";
1205
450
 
1206
451
  // package.json
1207
- var version = "1.0.1-rc.74";
452
+ var version = "1.0.1-rc.76";
1208
453
 
1209
454
  // src/utils/licenseCache.ts
1210
455
  var PERSISTENT_LICENSE_PREFIX = "motto_lic_";
@@ -1675,7 +920,11 @@ var useShakaPlayer = ({
1675
920
  return;
1676
921
  }
1677
922
  if (!hasAds && !hasSystem73) {
923
+ console.log("\u{1F4FA} [Shaka] Auto-loading manifest:", manifestUrl);
1678
924
  await player.load(manifestUrl);
925
+ console.log("\u2705 [Shaka] Manifest auto-loaded successfully");
926
+ } else {
927
+ console.log("\u23ED\uFE0F [Shaka] Skipping auto-load (hasAds:", hasAds, ", hasSystem73:", hasSystem73, ")");
1679
928
  }
1680
929
  onPlayerReady?.(player);
1681
930
  return player;
@@ -1694,17 +943,19 @@ var useShakaPlayer = ({
1694
943
  const loadManifest = useCallback(async () => {
1695
944
  const player = playerRef.current;
1696
945
  if (!player) {
1697
- console.warn("Cannot load manifest: player not initialized");
946
+ console.warn("\u26A0\uFE0F [Shaka] Cannot load manifest: player not initialized");
1698
947
  return;
1699
948
  }
1700
949
  try {
1701
950
  const manifestUrl = getManifestUrl();
951
+ console.log("\u{1F4FA} [Shaka] Loading manifest:", manifestUrl);
1702
952
  await player.load(manifestUrl);
953
+ console.log("\u2705 [Shaka] Manifest loaded successfully");
1703
954
  } catch (error) {
1704
955
  if (error?.code === 7e3) {
1705
956
  return;
1706
957
  }
1707
- console.error("Error loading manifest:", error);
958
+ console.error("\u274C [Shaka] Error loading manifest:", error);
1708
959
  onError?.(error);
1709
960
  throw error;
1710
961
  }
@@ -2736,8 +1987,8 @@ var useAdEvents = (playerRef, handlers) => {
2736
1987
 
2737
1988
  // src/components/Loading.tsx
2738
1989
  import { twMerge } from "tailwind-merge";
2739
- import { jsx as jsx4, jsxs as jsxs3 } from "react/jsx-runtime";
2740
- var Loading = ({ className }) => /* @__PURE__ */ jsxs3(
1990
+ import { jsx as jsx4 } from "react/jsx-runtime";
1991
+ var Loading = ({ className }) => /* @__PURE__ */ jsx4(
2741
1992
  "div",
2742
1993
  {
2743
1994
  className: twMerge(
@@ -2745,38 +1996,35 @@ var Loading = ({ className }) => /* @__PURE__ */ jsxs3(
2745
1996
  className
2746
1997
  ),
2747
1998
  role: "status",
2748
- children: [
2749
- /* @__PURE__ */ jsx4("div", { className: "shaka-spinner-container flex justify-center items-center", children: /* @__PURE__ */ jsx4(
2750
- "svg",
2751
- {
2752
- className: "shaka-spinner-svg animate-spin h-12 w-12",
2753
- viewBox: "0 0 64 64",
2754
- xmlns: "http://www.w3.org/2000/svg",
2755
- children: /* @__PURE__ */ jsx4(
2756
- "circle",
2757
- {
2758
- className: "shaka-spinner-path",
2759
- cx: "32",
2760
- cy: "32",
2761
- r: "28",
2762
- strokeWidth: "4",
2763
- strokeLinecap: "round",
2764
- stroke: "currentColor",
2765
- fill: "none",
2766
- strokeDasharray: "176",
2767
- strokeDashoffset: "120"
2768
- }
2769
- )
2770
- }
2771
- ) }),
2772
- /* @__PURE__ */ jsx4("span", { className: "sr-only", children: "Loading..." })
2773
- ]
1999
+ children: /* @__PURE__ */ jsx4("div", { className: " flex justify-center items-center", children: /* @__PURE__ */ jsx4(
2000
+ "svg",
2001
+ {
2002
+ className: "shaka-spinner-svg animate-spin h-12 w-12",
2003
+ viewBox: "0 0 64 64",
2004
+ xmlns: "http://www.w3.org/2000/svg",
2005
+ children: /* @__PURE__ */ jsx4(
2006
+ "circle",
2007
+ {
2008
+ className: "shaka-spinner-path",
2009
+ cx: "32",
2010
+ cy: "32",
2011
+ r: "28",
2012
+ strokeWidth: "4",
2013
+ strokeLinecap: "round",
2014
+ stroke: "currentColor",
2015
+ fill: "none",
2016
+ strokeDasharray: "176",
2017
+ strokeDashoffset: "120"
2018
+ }
2019
+ )
2020
+ }
2021
+ ) })
2774
2022
  }
2775
2023
  );
2776
2024
 
2777
2025
  // src/components/ErrorScreen.tsx
2778
- import { jsx as jsx5, jsxs as jsxs4 } from "react/jsx-runtime";
2779
- var ErrorScreen = ({ title, description }) => /* @__PURE__ */ jsx5("div", { className: "w-full h-full md:rounded-2xl! aspect-video bg-black", children: /* @__PURE__ */ jsxs4("div", { className: "bg-[#151515] text-white w-full h-full flex justify-stretch items-center", children: [
2026
+ import { jsx as jsx5, jsxs as jsxs3 } from "react/jsx-runtime";
2027
+ var ErrorScreen = ({ title, description }) => /* @__PURE__ */ jsx5("div", { className: "w-full h-full md:rounded-2xl! aspect-video bg-black flex", children: /* @__PURE__ */ jsxs3("div", { className: "bg-[#151515] text-white w-full h-full flex justify-center items-center", children: [
2780
2028
  /* @__PURE__ */ jsx5(
2781
2029
  "svg",
2782
2030
  {
@@ -2797,7 +2045,7 @@ var ErrorScreen = ({ title, description }) => /* @__PURE__ */ jsx5("div", { clas
2797
2045
  )
2798
2046
  }
2799
2047
  ),
2800
- /* @__PURE__ */ jsxs4("div", { children: [
2048
+ /* @__PURE__ */ jsxs3("div", { children: [
2801
2049
  /* @__PURE__ */ jsx5("h3", { className: "text-2xl mb-2", children: title || "Playback Error" }),
2802
2050
  /* @__PURE__ */ jsx5("div", { className: "text-lg", children: description || "Unable to play the video. Please try again later." })
2803
2051
  ] })
@@ -2808,7 +2056,7 @@ import { jsx as jsx6 } from "react/jsx-runtime";
2808
2056
  var Title = ({ title }) => /* @__PURE__ */ jsx6("div", { className: "absolute bottom-0 left-0 right-0 bg-gradient-to-t from-black/70 to-transparent p-4", children: /* @__PURE__ */ jsx6("h2", { className: "text-white text-xl font-semibold", children: title }) });
2809
2057
 
2810
2058
  // src/components/LiveBadge.tsx
2811
- import { jsx as jsx7, jsxs as jsxs5 } from "react/jsx-runtime";
2059
+ import { jsx as jsx7, jsxs as jsxs4 } from "react/jsx-runtime";
2812
2060
  var LiveBadge = ({
2813
2061
  isVisible,
2814
2062
  position = "top-right",
@@ -2840,7 +2088,7 @@ var LiveBadge = ({
2840
2088
  ${className}
2841
2089
  `,
2842
2090
  style,
2843
- children: /* @__PURE__ */ jsxs5("span", { className: "flex items-center gap-1", children: [
2091
+ children: /* @__PURE__ */ jsxs4("span", { className: "flex items-center gap-1", children: [
2844
2092
  /* @__PURE__ */ jsx7("span", { className: "w-2 h-2 bg-white rounded-full animate-pulse" }),
2845
2093
  text
2846
2094
  ] })
@@ -2848,1179 +2096,57 @@ var LiveBadge = ({
2848
2096
  );
2849
2097
  };
2850
2098
 
2851
- // src/styles.css
2852
- styleInject(`/*! tailwindcss v4.1.8 | MIT License | https://tailwindcss.com */
2853
- @layer properties;
2854
- @layer theme, base, components, utilities;
2855
- @layer theme {
2856
- :root,
2857
- :host {
2858
- --font-sans:
2859
- ui-sans-serif,
2860
- system-ui,
2861
- sans-serif,
2862
- "Apple Color Emoji",
2863
- "Segoe UI Emoji",
2864
- "Segoe UI Symbol",
2865
- "Noto Color Emoji";
2866
- --font-mono:
2867
- ui-monospace,
2868
- SFMono-Regular,
2869
- Menlo,
2870
- Monaco,
2871
- Consolas,
2872
- "Liberation Mono",
2873
- "Courier New",
2874
- monospace;
2875
- --color-red-600: oklch(57.7% 0.245 27.325);
2876
- --color-black: #000;
2877
- --color-white: #fff;
2878
- --spacing: 0.25rem;
2879
- --text-xs: 0.75rem;
2880
- --text-xs--line-height: calc(1 / 0.75);
2881
- --text-sm: 0.875rem;
2882
- --text-sm--line-height: calc(1.25 / 0.875);
2883
- --text-base: 1rem;
2884
- --text-base--line-height: calc(1.5 / 1);
2885
- --text-lg: 1.125rem;
2886
- --text-lg--line-height: calc(1.75 / 1.125);
2887
- --text-xl: 1.25rem;
2888
- --text-xl--line-height: calc(1.75 / 1.25);
2889
- --text-2xl: 1.5rem;
2890
- --text-2xl--line-height: calc(2 / 1.5);
2891
- --text-5xl: 3rem;
2892
- --text-5xl--line-height: 1;
2893
- --font-weight-medium: 500;
2894
- --font-weight-semibold: 600;
2895
- --font-weight-bold: 700;
2896
- --tracking-wide: 0.025em;
2897
- --tracking-widest: 0.1em;
2898
- --radius-md: 0.375rem;
2899
- --radius-2xl: 1rem;
2900
- --animate-spin: spin 1s linear infinite;
2901
- --animate-pulse: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
2902
- --aspect-video: 16 / 9;
2903
- --default-transition-duration: 150ms;
2904
- --default-transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
2905
- --default-font-family: var(--font-sans);
2906
- --default-mono-font-family: var(--font-mono);
2907
- }
2908
- }
2909
- @layer base {
2910
- *,
2911
- ::after,
2912
- ::before,
2913
- ::backdrop,
2914
- ::file-selector-button {
2915
- box-sizing: border-box;
2916
- margin: 0;
2917
- padding: 0;
2918
- border: 0 solid;
2919
- }
2920
- html,
2921
- :host {
2922
- line-height: 1.5;
2923
- -webkit-text-size-adjust: 100%;
2924
- tab-size: 4;
2925
- font-family: var(--default-font-family, ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");
2926
- font-feature-settings: var(--default-font-feature-settings, normal);
2927
- font-variation-settings: var(--default-font-variation-settings, normal);
2928
- -webkit-tap-highlight-color: transparent;
2929
- }
2930
- hr {
2931
- height: 0;
2932
- color: inherit;
2933
- border-top-width: 1px;
2934
- }
2935
- abbr:where([title]) {
2936
- -webkit-text-decoration: underline dotted;
2937
- text-decoration: underline dotted;
2938
- }
2939
- h1,
2940
- h2,
2941
- h3,
2942
- h4,
2943
- h5,
2944
- h6 {
2945
- font-size: inherit;
2946
- font-weight: inherit;
2947
- }
2948
- a {
2949
- color: inherit;
2950
- -webkit-text-decoration: inherit;
2951
- text-decoration: inherit;
2952
- }
2953
- b,
2954
- strong {
2955
- font-weight: bolder;
2956
- }
2957
- code,
2958
- kbd,
2959
- samp,
2960
- pre {
2961
- font-family: var(--default-mono-font-family, ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);
2962
- font-feature-settings: var(--default-mono-font-feature-settings, normal);
2963
- font-variation-settings: var(--default-mono-font-variation-settings, normal);
2964
- font-size: 1em;
2965
- }
2966
- small {
2967
- font-size: 80%;
2968
- }
2969
- sub,
2970
- sup {
2971
- font-size: 75%;
2972
- line-height: 0;
2973
- position: relative;
2974
- vertical-align: baseline;
2975
- }
2976
- sub {
2977
- bottom: -0.25em;
2978
- }
2979
- sup {
2980
- top: -0.5em;
2981
- }
2982
- table {
2983
- text-indent: 0;
2984
- border-color: inherit;
2985
- border-collapse: collapse;
2986
- }
2987
- :-moz-focusring {
2988
- outline: auto;
2989
- }
2990
- progress {
2991
- vertical-align: baseline;
2992
- }
2993
- summary {
2994
- display: list-item;
2995
- }
2996
- ol,
2997
- ul,
2998
- menu {
2999
- list-style: none;
3000
- }
3001
- img,
3002
- svg,
3003
- video,
3004
- canvas,
3005
- audio,
3006
- iframe,
3007
- embed,
3008
- object {
3009
- display: block;
3010
- vertical-align: middle;
3011
- }
3012
- img,
3013
- video {
3014
- max-width: 100%;
3015
- height: auto;
3016
- }
3017
- button,
3018
- input,
3019
- select,
3020
- optgroup,
3021
- textarea,
3022
- ::file-selector-button {
3023
- font: inherit;
3024
- font-feature-settings: inherit;
3025
- font-variation-settings: inherit;
3026
- letter-spacing: inherit;
3027
- color: inherit;
3028
- border-radius: 0;
3029
- background-color: transparent;
3030
- opacity: 1;
3031
- }
3032
- :where(select:is([multiple], [size])) optgroup {
3033
- font-weight: bolder;
3034
- }
3035
- :where(select:is([multiple], [size])) optgroup option {
3036
- padding-inline-start: 20px;
3037
- }
3038
- ::file-selector-button {
3039
- margin-inline-end: 4px;
3040
- }
3041
- ::placeholder {
3042
- opacity: 1;
2099
+ // src/Player.tsx
2100
+ import { twMerge as twMerge2 } from "tailwind-merge";
2101
+
2102
+ // src/utils/scriptLoader.ts
2103
+ var SCRIPT_CONFIGS = {
2104
+ ima: {
2105
+ src: "https://imasdk.googleapis.com/js/sdkloader/ima3.js",
2106
+ id: "ima-sdk",
2107
+ type: "text/javascript"
2108
+ },
2109
+ system73: {
2110
+ src: "//cdn.s73cloud.com/4/s73-sdk-shakaplayer.js",
2111
+ id: "system73-sdk",
2112
+ type: "application/javascript"
3043
2113
  }
3044
- @supports (not (-webkit-appearance: -apple-pay-button)) or (contain-intrinsic-size: 1px) {
3045
- ::placeholder {
3046
- color: currentcolor;
3047
- @supports (color: color-mix(in lab, red, red)) {
3048
- color: color-mix(in oklab, currentcolor 50%, transparent);
3049
- }
2114
+ };
2115
+ function loadScript(config) {
2116
+ return new Promise((resolve, reject) => {
2117
+ if (document.getElementById(config.id)) {
2118
+ resolve();
2119
+ return;
3050
2120
  }
2121
+ const script = document.createElement("script");
2122
+ script.id = config.id;
2123
+ script.src = config.src;
2124
+ script.type = config.type || "text/javascript";
2125
+ script.async = true;
2126
+ script.onload = () => resolve();
2127
+ script.onerror = () => reject(new Error(`Failed to load script: ${config.src}`));
2128
+ document.head.appendChild(script);
2129
+ });
2130
+ }
2131
+ function getRequiredScriptLoaders(needsIma, needsSystem73) {
2132
+ const loaders = [];
2133
+ if (needsIma) {
2134
+ loaders.push(loadScript(SCRIPT_CONFIGS.ima));
3051
2135
  }
3052
- textarea {
3053
- resize: vertical;
2136
+ if (needsSystem73) {
2137
+ loaders.push(loadScript(SCRIPT_CONFIGS.system73));
3054
2138
  }
3055
- ::-webkit-search-decoration {
3056
- -webkit-appearance: none;
2139
+ return loaders;
2140
+ }
2141
+ async function loadScripts(scriptLoaders) {
2142
+ if (scriptLoaders.length === 0) {
2143
+ return;
3057
2144
  }
3058
- ::-webkit-date-and-time-value {
3059
- min-height: 1lh;
3060
- text-align: inherit;
3061
- }
3062
- ::-webkit-datetime-edit {
3063
- display: inline-flex;
3064
- }
3065
- ::-webkit-datetime-edit-fields-wrapper {
3066
- padding: 0;
3067
- }
3068
- ::-webkit-datetime-edit,
3069
- ::-webkit-datetime-edit-year-field,
3070
- ::-webkit-datetime-edit-month-field,
3071
- ::-webkit-datetime-edit-day-field,
3072
- ::-webkit-datetime-edit-hour-field,
3073
- ::-webkit-datetime-edit-minute-field,
3074
- ::-webkit-datetime-edit-second-field,
3075
- ::-webkit-datetime-edit-millisecond-field,
3076
- ::-webkit-datetime-edit-meridiem-field {
3077
- padding-block: 0;
3078
- }
3079
- :-moz-ui-invalid {
3080
- box-shadow: none;
3081
- }
3082
- button,
3083
- input:where([type=button], [type=reset], [type=submit]),
3084
- ::file-selector-button {
3085
- appearance: button;
3086
- }
3087
- ::-webkit-inner-spin-button,
3088
- ::-webkit-outer-spin-button {
3089
- height: auto;
3090
- }
3091
- [hidden]:where(:not([hidden=until-found])) {
3092
- display: none !important;
3093
- }
3094
- }
3095
- @layer utilities {
3096
- .pointer-events-none {
3097
- pointer-events: none;
3098
- }
3099
- .visible {
3100
- visibility: visible;
3101
- }
3102
- .sr-only {
3103
- position: absolute;
3104
- width: 1px;
3105
- height: 1px;
3106
- padding: 0;
3107
- margin: -1px;
3108
- overflow: hidden;
3109
- clip: rect(0, 0, 0, 0);
3110
- white-space: nowrap;
3111
- border-width: 0;
3112
- }
3113
- .absolute {
3114
- position: absolute;
3115
- }
3116
- .fixed {
3117
- position: fixed;
3118
- }
3119
- .relative {
3120
- position: relative;
3121
- }
3122
- .static {
3123
- position: static;
3124
- }
3125
- .inset-0 {
3126
- inset: calc(var(--spacing) * 0);
3127
- }
3128
- .top-4 {
3129
- top: calc(var(--spacing) * 4);
3130
- }
3131
- .right-0 {
3132
- right: calc(var(--spacing) * 0);
3133
- }
3134
- .right-4 {
3135
- right: calc(var(--spacing) * 4);
3136
- }
3137
- .bottom-0 {
3138
- bottom: calc(var(--spacing) * 0);
3139
- }
3140
- .bottom-4 {
3141
- bottom: calc(var(--spacing) * 4);
3142
- }
3143
- .left-0 {
3144
- left: calc(var(--spacing) * 0);
3145
- }
3146
- .left-4 {
3147
- left: calc(var(--spacing) * 4);
3148
- }
3149
- .z-10 {
3150
- z-index: 10;
3151
- }
3152
- .z-20 {
3153
- z-index: 20;
3154
- }
3155
- .z-50 {
3156
- z-index: 50;
3157
- }
3158
- .container {
3159
- width: 100%;
3160
- @media (width >= 40rem) {
3161
- max-width: 40rem;
3162
- }
3163
- @media (width >= 48rem) {
3164
- max-width: 48rem;
3165
- }
3166
- @media (width >= 64rem) {
3167
- max-width: 64rem;
3168
- }
3169
- @media (width >= 80rem) {
3170
- max-width: 80rem;
3171
- }
3172
- @media (width >= 96rem) {
3173
- max-width: 96rem;
3174
- }
3175
- }
3176
- .m-6 {
3177
- margin: calc(var(--spacing) * 6);
3178
- }
3179
- .mt-1 {
3180
- margin-top: calc(var(--spacing) * 1);
3181
- }
3182
- .mt-3 {
3183
- margin-top: calc(var(--spacing) * 3);
3184
- }
3185
- .mb-2 {
3186
- margin-bottom: calc(var(--spacing) * 2);
3187
- }
3188
- .mb-6 {
3189
- margin-bottom: calc(var(--spacing) * 6);
3190
- }
3191
- .flex {
3192
- display: flex;
3193
- }
3194
- .grid {
3195
- display: grid;
3196
- }
3197
- .aspect-video {
3198
- aspect-ratio: var(--aspect-video);
3199
- }
3200
- .h-2 {
3201
- height: calc(var(--spacing) * 2);
3202
- }
3203
- .h-12 {
3204
- height: calc(var(--spacing) * 12);
3205
- }
3206
- .h-24 {
3207
- height: calc(var(--spacing) * 24);
3208
- }
3209
- .h-full {
3210
- height: 100%;
3211
- }
3212
- .w-2 {
3213
- width: calc(var(--spacing) * 2);
3214
- }
3215
- .w-12 {
3216
- width: calc(var(--spacing) * 12);
3217
- }
3218
- .w-24 {
3219
- width: calc(var(--spacing) * 24);
3220
- }
3221
- .w-full {
3222
- width: 100%;
3223
- }
3224
- .grow {
3225
- flex-grow: 1;
3226
- }
3227
- .animate-pulse {
3228
- animation: var(--animate-pulse);
3229
- }
3230
- .animate-spin {
3231
- animation: var(--animate-spin);
3232
- }
3233
- .auto-cols-max {
3234
- grid-auto-columns: max-content;
3235
- }
3236
- .grid-flow-col {
3237
- grid-auto-flow: column;
3238
- }
3239
- .flex-col {
3240
- flex-direction: column;
3241
- }
3242
- .items-center {
3243
- align-items: center;
3244
- }
3245
- .justify-center {
3246
- justify-content: center;
3247
- }
3248
- .justify-stretch {
3249
- justify-content: stretch;
3250
- }
3251
- .gap-1 {
3252
- gap: calc(var(--spacing) * 1);
3253
- }
3254
- .overflow-hidden {
3255
- overflow: hidden;
3256
- }
3257
- .rounded-full {
3258
- border-radius: calc(infinity * 1px);
3259
- }
3260
- .rounded-md {
3261
- border-radius: var(--radius-md);
3262
- }
3263
- .bg-\\[\\#111111\\] {
3264
- background-color: #111111;
3265
- }
3266
- .bg-\\[\\#151515\\] {
3267
- background-color: #151515;
3268
- }
3269
- .bg-black {
3270
- background-color: var(--color-black);
3271
- }
3272
- .bg-red-600 {
3273
- background-color: var(--color-red-600);
3274
- }
3275
- .bg-transparent {
3276
- background-color: transparent;
3277
- }
3278
- .bg-white {
3279
- background-color: var(--color-white);
3280
- }
3281
- .bg-gradient-to-t {
3282
- --tw-gradient-position: to top in oklab;
3283
- background-image: linear-gradient(var(--tw-gradient-stops));
3284
- }
3285
- .from-black\\/70 {
3286
- --tw-gradient-from: color-mix(in srgb, #000 70%, transparent);
3287
- @supports (color: color-mix(in lab, red, red)) {
3288
- --tw-gradient-from: color-mix(in oklab, var(--color-black) 70%, transparent);
3289
- }
3290
- --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));
3291
- }
3292
- .to-transparent {
3293
- --tw-gradient-to: transparent;
3294
- --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));
3295
- }
3296
- .bg-cover {
3297
- background-size: cover;
3298
- }
3299
- .bg-center {
3300
- background-position: center;
3301
- }
3302
- .bg-no-repeat {
3303
- background-repeat: no-repeat;
3304
- }
3305
- .p-2 {
3306
- padding: calc(var(--spacing) * 2);
3307
- }
3308
- .p-4 {
3309
- padding: calc(var(--spacing) * 4);
3310
- }
3311
- .px-2 {
3312
- padding-inline: calc(var(--spacing) * 2);
3313
- }
3314
- .px-4 {
3315
- padding-inline: calc(var(--spacing) * 4);
3316
- }
3317
- .py-1 {
3318
- padding-block: calc(var(--spacing) * 1);
3319
- }
3320
- .text-center {
3321
- text-align: center;
3322
- }
3323
- .text-left {
3324
- text-align: left;
3325
- }
3326
- .font-mono {
3327
- font-family: var(--font-mono);
3328
- }
3329
- .text-2xl {
3330
- font-size: var(--text-2xl);
3331
- line-height: var(--tw-leading, var(--text-2xl--line-height));
3332
- }
3333
- .text-base {
3334
- font-size: var(--text-base);
3335
- line-height: var(--tw-leading, var(--text-base--line-height));
3336
- }
3337
- .text-lg {
3338
- font-size: var(--text-lg);
3339
- line-height: var(--tw-leading, var(--text-lg--line-height));
3340
- }
3341
- .text-sm {
3342
- font-size: var(--text-sm);
3343
- line-height: var(--tw-leading, var(--text-sm--line-height));
3344
- }
3345
- .text-xl {
3346
- font-size: var(--text-xl);
3347
- line-height: var(--tw-leading, var(--text-xl--line-height));
3348
- }
3349
- .text-xs {
3350
- font-size: var(--text-xs);
3351
- line-height: var(--tw-leading, var(--text-xs--line-height));
3352
- }
3353
- .text-\\[10px\\] {
3354
- font-size: 10px;
3355
- }
3356
- .leading-none {
3357
- --tw-leading: 1;
3358
- line-height: 1;
3359
- }
3360
- .font-bold {
3361
- --tw-font-weight: var(--font-weight-bold);
3362
- font-weight: var(--font-weight-bold);
3363
- }
3364
- .font-medium {
3365
- --tw-font-weight: var(--font-weight-medium);
3366
- font-weight: var(--font-weight-medium);
3367
- }
3368
- .font-semibold {
3369
- --tw-font-weight: var(--font-weight-semibold);
3370
- font-weight: var(--font-weight-semibold);
3371
- }
3372
- .tracking-wide {
3373
- --tw-tracking: var(--tracking-wide);
3374
- letter-spacing: var(--tracking-wide);
3375
- }
3376
- .tracking-widest {
3377
- --tw-tracking: var(--tracking-widest);
3378
- letter-spacing: var(--tracking-widest);
3379
- }
3380
- .text-white {
3381
- color: var(--color-white);
3382
- }
3383
- .uppercase {
3384
- text-transform: uppercase;
3385
- }
3386
- .shadow-lg {
3387
- --tw-shadow: 0 10px 15px -3px var(--tw-shadow-color, rgb(0 0 0 / 0.1)), 0 4px 6px -4px var(--tw-shadow-color, rgb(0 0 0 / 0.1));
3388
- box-shadow:
3389
- var(--tw-inset-shadow),
3390
- var(--tw-inset-ring-shadow),
3391
- var(--tw-ring-offset-shadow),
3392
- var(--tw-ring-shadow),
3393
- var(--tw-shadow);
3394
- }
3395
- .filter {
3396
- 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,);
3397
- }
3398
- .md\\:gap-5 {
3399
- @media (width >= 48rem) {
3400
- gap: calc(var(--spacing) * 5);
3401
- }
3402
- }
3403
- .md\\:rounded-2xl {
3404
- @media (width >= 48rem) {
3405
- border-radius: var(--radius-2xl);
3406
- }
3407
- }
3408
- .md\\:rounded-2xl\\! {
3409
- @media (width >= 48rem) {
3410
- border-radius: var(--radius-2xl) !important;
3411
- }
3412
- }
3413
- .md\\:text-5xl {
3414
- @media (width >= 48rem) {
3415
- font-size: var(--text-5xl);
3416
- line-height: var(--tw-leading, var(--text-5xl--line-height));
3417
- }
3418
- }
3419
- .md\\:text-base {
3420
- @media (width >= 48rem) {
3421
- font-size: var(--text-base);
3422
- line-height: var(--tw-leading, var(--text-base--line-height));
3423
- }
3424
- }
3425
- .md\\:text-sm {
3426
- @media (width >= 48rem) {
3427
- font-size: var(--text-sm);
3428
- line-height: var(--tw-leading, var(--text-sm--line-height));
3429
- }
3430
- }
3431
- .md\\:text-xl {
3432
- @media (width >= 48rem) {
3433
- font-size: var(--text-xl);
3434
- line-height: var(--tw-leading, var(--text-xl--line-height));
3435
- }
3436
- }
3437
- .md\\:text-xs {
3438
- @media (width >= 48rem) {
3439
- font-size: var(--text-xs);
3440
- line-height: var(--tw-leading, var(--text-xs--line-height));
3441
- }
3442
- }
3443
- }
3444
- @layer components {
3445
- video::-webkit-media-controls {
3446
- display: none !important;
3447
- }
3448
- video::-webkit-media-controls-panel {
3449
- display: none !important;
3450
- }
3451
- video::-webkit-media-controls-play-button {
3452
- display: none !important;
3453
- }
3454
- video::-webkit-media-controls-timeline {
3455
- display: none !important;
3456
- }
3457
- video::-webkit-media-controls-current-time-display {
3458
- display: none !important;
3459
- }
3460
- video::-webkit-media-controls-time-remaining-display {
3461
- display: none !important;
3462
- }
3463
- video::-webkit-media-controls-mute-button {
3464
- display: none !important;
3465
- }
3466
- video::-webkit-media-controls-volume-slider {
3467
- display: none !important;
3468
- }
3469
- video::-webkit-media-controls-fullscreen-button {
3470
- display: none !important;
3471
- }
3472
- video::-webkit-media-controls-overlay-play-button {
3473
- display: none !important;
3474
- }
3475
- video::-moz-media-controls {
3476
- display: none !important;
3477
- }
3478
- video {
3479
- outline: none !important;
3480
- }
3481
- video[controls] {
3482
- -webkit-appearance: none !important;
3483
- appearance: none !important;
3484
- }
3485
- video::-webkit-media-controls-enclosure {
3486
- display: none !important;
3487
- }
3488
- video::-webkit-media-controls-start-playback-button {
3489
- display: none !important;
3490
- }
3491
- video[controls]::-webkit-media-controls,
3492
- video[controls]::-webkit-media-controls-panel,
3493
- video[controls]::-webkit-media-controls-play-button,
3494
- video[controls]::-webkit-media-controls-timeline,
3495
- video[controls]::-webkit-media-controls-current-time-display,
3496
- video[controls]::-webkit-media-controls-time-remaining-display,
3497
- video[controls]::-webkit-media-controls-mute-button,
3498
- video[controls]::-webkit-media-controls-volume-slider,
3499
- video[controls]::-webkit-media-controls-fullscreen-button,
3500
- video[controls]::-webkit-media-controls-overlay-play-button,
3501
- video[controls]::-webkit-media-controls-enclosure,
3502
- video[controls]::-webkit-media-controls-start-playback-button {
3503
- display: none !important;
3504
- visibility: hidden !important;
3505
- opacity: 0 !important;
3506
- pointer-events: none !important;
3507
- }
3508
- video[controls]::-moz-media-controls {
3509
- display: none !important;
3510
- visibility: hidden !important;
3511
- opacity: 0 !important;
3512
- }
3513
- .motto-video-container {
3514
- position: relative;
3515
- width: 100%;
3516
- min-height: 300px;
3517
- }
3518
- @supports (aspect-ratio: 16/9) {
3519
- .motto-video-container {
3520
- min-height: auto;
3521
- }
3522
- }
3523
- .motto-video-responsive {
3524
- position: absolute;
3525
- top: calc(var(--spacing) * 0);
3526
- left: calc(var(--spacing) * 0);
3527
- height: 100%;
3528
- width: 100%;
3529
- }
3530
- .motto-skip-button {
3531
- position: absolute;
3532
- top: calc(1/2 * 100%);
3533
- z-index: 10;
3534
- display: flex;
3535
- height: calc(var(--spacing) * 16);
3536
- width: calc(var(--spacing) * 16);
3537
- --tw-translate-y: calc(calc(1/2 * 100%) * -1);
3538
- translate: var(--tw-translate-x) var(--tw-translate-y);
3539
- cursor: pointer;
3540
- align-items: center;
3541
- justify-content: center;
3542
- border-radius: calc(infinity * 1px);
3543
- border-style: var(--tw-border-style);
3544
- border-width: 0px;
3545
- background-color: color-mix(in srgb, #000 70%, transparent);
3546
- @supports (color: color-mix(in lab, red, red)) {
3547
- background-color: color-mix(in oklab, var(--color-black) 70%, transparent);
3548
- }
3549
- font-size: var(--text-2xl);
3550
- line-height: var(--tw-leading, var(--text-2xl--line-height));
3551
- color: var(--color-white);
3552
- opacity: 80%;
3553
- transition-property: all;
3554
- transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));
3555
- transition-duration: var(--tw-duration, var(--default-transition-duration));
3556
- --tw-duration: 200ms;
3557
- transition-duration: 200ms;
3558
- &:hover {
3559
- @media (hover: hover) {
3560
- --tw-scale-x: 110%;
3561
- --tw-scale-y: 110%;
3562
- --tw-scale-z: 110%;
3563
- scale: var(--tw-scale-x) var(--tw-scale-y);
3564
- }
3565
- }
3566
- &:hover {
3567
- @media (hover: hover) {
3568
- opacity: 100%;
3569
- }
3570
- }
3571
- &:active {
3572
- --tw-scale-x: 95%;
3573
- --tw-scale-y: 95%;
3574
- --tw-scale-z: 95%;
3575
- scale: var(--tw-scale-x) var(--tw-scale-y);
3576
- }
3577
- }
3578
- .motto-skip-button-back {
3579
- left: calc(var(--spacing) * 5);
3580
- }
3581
- .motto-skip-button-forward {
3582
- right: calc(var(--spacing) * 5);
3583
- }
3584
- }
3585
- .shaka-seek-bar-container {
3586
- height: 6px !important;
3587
- width: 100% !important;
3588
- margin: 8px 0 !important;
3589
- border-radius: 4px !important;
3590
- position: relative !important;
3591
- border-top: none !important;
3592
- border-bottom: none !important;
3593
- box-shadow: none !important;
3594
- }
3595
- .shaka-seek-bar {
3596
- height: 6px !important;
3597
- width: 100% !important;
3598
- -webkit-appearance: none !important;
3599
- appearance: none !important;
3600
- background: transparent !important;
3601
- cursor: pointer !important;
3602
- border: none !important;
3603
- outline: none !important;
3604
- position: absolute !important;
3605
- top: 0 !important;
3606
- left: 0 !important;
3607
- border-radius: 4px !important;
3608
- }
3609
- .shaka-seek-bar::-webkit-slider-runnable-track {
3610
- height: 6px !important;
3611
- background: transparent !important;
3612
- border-radius: 4px !important;
3613
- border: none !important;
3614
- }
3615
- .shaka-seek-bar::-moz-range-track {
3616
- height: 6px !important;
3617
- background: transparent !important;
3618
- border-radius: 4px !important;
3619
- border: none !important;
3620
- }
3621
- .shaka-seek-bar::-webkit-slider-thumb {
3622
- -webkit-appearance: none !important;
3623
- appearance: none !important;
3624
- width: 16px !important;
3625
- height: 16px !important;
3626
- border-radius: 50% !important;
3627
- background: #ffffff !important;
3628
- cursor: pointer !important;
3629
- border: 2px solid #ffffff !important;
3630
- box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3) !important;
3631
- margin-top: -4px !important;
3632
- }
3633
- .shaka-seek-bar::-moz-range-thumb {
3634
- width: 16px !important;
3635
- height: 16px !important;
3636
- border-radius: 50% !important;
3637
- background: #ffffff !important;
3638
- cursor: pointer !important;
3639
- border: 2px solid #ffffff !important;
3640
- box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3) !important;
3641
- margin-top: -4px !important;
3642
- }
3643
- .motto-skip-back-button,
3644
- .motto-skip-forward-button,
3645
- .motto-native-skip-button {
3646
- background: transparent !important;
3647
- border: none !important;
3648
- padding: 4px !important;
3649
- margin: 0px !important;
3650
- cursor: pointer !important;
3651
- color: #ffffff !important;
3652
- transition: all 0.2s ease !important;
3653
- min-width: 32px !important;
3654
- height: 32px !important;
3655
- display: flex !important;
3656
- align-items: center !important;
3657
- justify-content: center !important;
3658
- border-radius: 4px !important;
3659
- width: 25px;
3660
- }
3661
- .motto-skip-back-button:hover,
3662
- .motto-skip-forward-button:hover,
3663
- .motto-native-skip-button:hover {
3664
- opacity: 0.8 !important;
3665
- background: transparent !important;
3666
- transform: scale(1.05) !important;
3667
- }
3668
- .motto-skip-back-button:active,
3669
- .motto-skip-forward-button:active,
3670
- .motto-native-skip-button:active {
3671
- transform: scale(0.95) !important;
3672
- }
3673
- .motto-skip-back-button svg,
3674
- .motto-skip-forward-button svg,
3675
- .motto-native-skip-button svg {
3676
- width: 24px !important;
3677
- height: 24px !important;
3678
- }
3679
- .shaka-spinner-svg {
3680
- color: white !important;
3681
- fill: white !important;
3682
- }
3683
- .shaka-spinner-path {
3684
- stroke: white !important;
3685
- fill: none !important;
3686
- }
3687
- .shaka-spinner-container {
3688
- color: white !important;
3689
- }
3690
- .shaka-buffering-spinner {
3691
- color: white !important;
3692
- fill: white !important;
3693
- }
3694
- .shaka-buffering-spinner svg {
3695
- color: white !important;
3696
- fill: white !important;
3697
- }
3698
- .shaka-buffering-spinner path {
3699
- stroke: white !important;
3700
- fill: none !important;
3701
- }
3702
- [data-shaka-player-container] .shaka-spinner,
3703
- [data-shaka-player-container] .spinner {
3704
- color: white !important;
3705
- border-color: white !important;
3706
- }
3707
- .material-icons.shaka-spinner {
3708
- color: white !important;
3709
- }
3710
- .shaka-controls-container .shaka-spinner,
3711
- .shaka-video-container .shaka-spinner {
3712
- color: white !important;
3713
- fill: white !important;
3714
- }
3715
- .shaka-controls-container .shaka-spinner svg,
3716
- .shaka-video-container .shaka-spinner svg {
3717
- color: white !important;
3718
- fill: white !important;
3719
- }
3720
- .shaka-controls-container .shaka-spinner path,
3721
- .shaka-video-container .shaka-spinner path {
3722
- stroke: white !important;
3723
- }
3724
- .motto-video-loading-overlay {
3725
- position: absolute;
3726
- top: 0;
3727
- left: 0;
3728
- width: 100%;
3729
- height: 100%;
3730
- background:
3731
- linear-gradient(
3732
- 135deg,
3733
- #1a1a1a 0%,
3734
- #2d2d2d 100%);
3735
- display: flex;
3736
- flex-direction: column;
3737
- align-items: center;
3738
- justify-content: center;
3739
- z-index: 10;
3740
- transition: opacity 0.3s ease;
3741
- }
3742
- .motto-video-loading-overlay.hidden {
3743
- opacity: 0;
3744
- pointer-events: none;
3745
- }
3746
- .motto-video-loading-content {
3747
- text-align: center;
3748
- color: white;
3749
- }
3750
- .motto-video-loading-icon {
3751
- width: 64px;
3752
- height: 64px;
3753
- margin-bottom: 16px;
3754
- opacity: 0.7;
3755
- }
3756
- .motto-video-loading-text {
3757
- font-size: 16px;
3758
- font-weight: 500;
3759
- margin-bottom: 8px;
3760
- }
3761
- .motto-video-loading-subtext {
3762
- font-size: 14px;
3763
- opacity: 0.7;
3764
- }
3765
- @keyframes pulse-live {
3766
- 0% {
3767
- opacity: 1;
3768
- transform: scale(1);
3769
- }
3770
- 50% {
3771
- opacity: 0.7;
3772
- transform: scale(1.1);
3773
- }
3774
- 100% {
3775
- opacity: 1;
3776
- transform: scale(1);
3777
- }
3778
- }
3779
- .shaka-play-button {
3780
- background: rgba(255, 255, 255, 0.1) !important;
3781
- border: none !important;
3782
- color: white !important;
3783
- padding: 10px !important;
3784
- border-radius: 100% !important;
3785
- transition: all 0.2s ease !important;
3786
- display: flex !important;
3787
- align-items: center !important;
3788
- justify-content: center !important;
3789
- min-width: 55px !important;
3790
- height: 55px !important;
3791
- }
3792
- .shaka-play-button-container {
3793
- background: transparent;
3794
- transition: all 0.2s ease !important;
3795
- }
3796
- .motto-video-container:not(.no-cursor) .shaka-play-button-container {
3797
- background: rgba(0, 0, 0, 0.3);
3798
- transition: all 0.s ease !important;
3799
- }
3800
- .shaka-play-button:hover {
3801
- background: rgba(255, 255, 255, 0.2) !important;
3802
- transform: scale(1.05) !important;
3803
- }
3804
- .shaka-play-button:active {
3805
- transform: scale(0.95) !important;
3806
- }
3807
- .shaka-play-button > * {
3808
- display: none !important;
3809
- }
3810
- .shaka-play-button::after {
3811
- content: "" !important;
3812
- width: 35px !important;
3813
- height: 35px !important;
3814
- background-image: url('data:image/svg+xml;charset=utf-8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="white"><path fill-rule="evenodd" d="M4.5 5.653c0-1.427 1.529-2.33 2.779-1.643l11.54 6.347c1.295.712 1.295 2.573 0 3.286L7.28 19.99c-1.25.687-2.779-.217-2.779-1.643V5.653Z" clip-rule="evenodd" /></svg>') !important;
3815
- background-repeat: no-repeat !important;
3816
- background-size: contain !important;
3817
- background-position: center !important;
3818
- display: block !important;
3819
- }
3820
- .shaka-play-button[aria-label*=Play]::after {
3821
- background-image: url('data:image/svg+xml;charset=utf-8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="white"><path fill-rule="evenodd" d="M4.5 5.653c0-1.427 1.529-2.33 2.779-1.643l11.54 6.347c1.295.712 1.295 2.573 0 3.286L7.28 19.99c-1.25.687-2.779-.217-2.779-1.643V5.653Z" clip-rule="evenodd" /></svg>') !important;
3822
- }
3823
- .shaka-play-button[aria-label*=Pause]::after {
3824
- background-image: url('data:image/svg+xml;charset=utf-8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="white"><path fill-rule="evenodd" d="M6.75 5.25a.75.75 0 0 1 .75-.75H9a.75.75 0 0 1 .75.75v13.5a.75.75 0 0 1-.75.75H7.5a.75.75 0 0 1-.75-.75V5.25Zm7.5 0A.75.75 0 0 1 15 4.5h1.5a.75.75 0 0 1 .75.75v13.5a.75.75 0 0 1-.75.75H15a.75.75 0 0 1-.75-.75V5.25Z" clip-rule="evenodd" /></svg>') !important;
3825
- }
3826
- .motto-video-container {
3827
- background: #111111;
3828
- }
3829
- .motto-video-container video {
3830
- width: 100% !important;
3831
- height: 100% !important;
3832
- margin-left: auto !important;
3833
- margin-right: auto !important;
3834
- }
3835
- html[dir=rtl] .shaka-controls-container,
3836
- html[dir=rtl] .shaka-bottom-controls,
3837
- html[dir=rtl] .shaka-controls-button-panel {
3838
- direction: ltr !important;
3839
- }
3840
- html[dir=rtl] .shaka-overflow-menu,
3841
- html[dir=rtl] .shaka-settings-menu {
3842
- direction: rtl !important;
3843
- text-align: right !important;
3844
- }
3845
- html[dir=rtl] .shaka-overflow-menu .shaka-overflow-button .material-svg-icon:not(:first-child) {
3846
- margin-right: 12px !important;
3847
- margin-left: 0 !important;
3848
- }
3849
- html[dir=rtl] .shaka-overflow-menu .shaka-overflow-button .material-svg-icon:first-child {
3850
- margin-right: 0 !important;
3851
- margin-left: 12px !important;
3852
- }
3853
- .shaka-hidden-fast-forward-container,
3854
- .shaka-hidden-rewind-container {
3855
- pointer-events: none !important;
3856
- display: none !important;
3857
- }
3858
- @property --tw-gradient-position { syntax: "*"; inherits: false; }
3859
- @property --tw-gradient-from { syntax: "<color>"; inherits: false; initial-value: #0000; }
3860
- @property --tw-gradient-via { syntax: "<color>"; inherits: false; initial-value: #0000; }
3861
- @property --tw-gradient-to { syntax: "<color>"; inherits: false; initial-value: #0000; }
3862
- @property --tw-gradient-stops { syntax: "*"; inherits: false; }
3863
- @property --tw-gradient-via-stops { syntax: "*"; inherits: false; }
3864
- @property --tw-gradient-from-position { syntax: "<length-percentage>"; inherits: false; initial-value: 0%; }
3865
- @property --tw-gradient-via-position { syntax: "<length-percentage>"; inherits: false; initial-value: 50%; }
3866
- @property --tw-gradient-to-position { syntax: "<length-percentage>"; inherits: false; initial-value: 100%; }
3867
- @property --tw-leading { syntax: "*"; inherits: false; }
3868
- @property --tw-font-weight { syntax: "*"; inherits: false; }
3869
- @property --tw-tracking { syntax: "*"; inherits: false; }
3870
- @property --tw-shadow { syntax: "*"; inherits: false; initial-value: 0 0 #0000; }
3871
- @property --tw-shadow-color { syntax: "*"; inherits: false; }
3872
- @property --tw-shadow-alpha { syntax: "<percentage>"; inherits: false; initial-value: 100%; }
3873
- @property --tw-inset-shadow { syntax: "*"; inherits: false; initial-value: 0 0 #0000; }
3874
- @property --tw-inset-shadow-color { syntax: "*"; inherits: false; }
3875
- @property --tw-inset-shadow-alpha { syntax: "<percentage>"; inherits: false; initial-value: 100%; }
3876
- @property --tw-ring-color { syntax: "*"; inherits: false; }
3877
- @property --tw-ring-shadow { syntax: "*"; inherits: false; initial-value: 0 0 #0000; }
3878
- @property --tw-inset-ring-color { syntax: "*"; inherits: false; }
3879
- @property --tw-inset-ring-shadow { syntax: "*"; inherits: false; initial-value: 0 0 #0000; }
3880
- @property --tw-ring-inset { syntax: "*"; inherits: false; }
3881
- @property --tw-ring-offset-width { syntax: "<length>"; inherits: false; initial-value: 0px; }
3882
- @property --tw-ring-offset-color { syntax: "*"; inherits: false; initial-value: #fff; }
3883
- @property --tw-ring-offset-shadow { syntax: "*"; inherits: false; initial-value: 0 0 #0000; }
3884
- @property --tw-blur { syntax: "*"; inherits: false; }
3885
- @property --tw-brightness { syntax: "*"; inherits: false; }
3886
- @property --tw-contrast { syntax: "*"; inherits: false; }
3887
- @property --tw-grayscale { syntax: "*"; inherits: false; }
3888
- @property --tw-hue-rotate { syntax: "*"; inherits: false; }
3889
- @property --tw-invert { syntax: "*"; inherits: false; }
3890
- @property --tw-opacity { syntax: "*"; inherits: false; }
3891
- @property --tw-saturate { syntax: "*"; inherits: false; }
3892
- @property --tw-sepia { syntax: "*"; inherits: false; }
3893
- @property --tw-drop-shadow { syntax: "*"; inherits: false; }
3894
- @property --tw-drop-shadow-color { syntax: "*"; inherits: false; }
3895
- @property --tw-drop-shadow-alpha { syntax: "<percentage>"; inherits: false; initial-value: 100%; }
3896
- @property --tw-drop-shadow-size { syntax: "*"; inherits: false; }
3897
- @property --tw-translate-x { syntax: "*"; inherits: false; initial-value: 0; }
3898
- @property --tw-translate-y { syntax: "*"; inherits: false; initial-value: 0; }
3899
- @property --tw-translate-z { syntax: "*"; inherits: false; initial-value: 0; }
3900
- @property --tw-border-style { syntax: "*"; inherits: false; initial-value: solid; }
3901
- @property --tw-duration { syntax: "*"; inherits: false; }
3902
- @property --tw-scale-x { syntax: "*"; inherits: false; initial-value: 1; }
3903
- @property --tw-scale-y { syntax: "*"; inherits: false; initial-value: 1; }
3904
- @property --tw-scale-z { syntax: "*"; inherits: false; initial-value: 1; }
3905
- @keyframes spin {
3906
- to {
3907
- transform: rotate(360deg);
3908
- }
3909
- }
3910
- @keyframes pulse {
3911
- 50% {
3912
- opacity: 0.5;
3913
- }
3914
- }
3915
- @layer properties {
3916
- @supports ((-webkit-hyphens: none) and (not (margin-trim: inline))) or ((-moz-orient: inline) and (not (color:rgb(from red r g b)))) {
3917
- *,
3918
- ::before,
3919
- ::after,
3920
- ::backdrop {
3921
- --tw-gradient-position: initial;
3922
- --tw-gradient-from: #0000;
3923
- --tw-gradient-via: #0000;
3924
- --tw-gradient-to: #0000;
3925
- --tw-gradient-stops: initial;
3926
- --tw-gradient-via-stops: initial;
3927
- --tw-gradient-from-position: 0%;
3928
- --tw-gradient-via-position: 50%;
3929
- --tw-gradient-to-position: 100%;
3930
- --tw-leading: initial;
3931
- --tw-font-weight: initial;
3932
- --tw-tracking: initial;
3933
- --tw-shadow: 0 0 #0000;
3934
- --tw-shadow-color: initial;
3935
- --tw-shadow-alpha: 100%;
3936
- --tw-inset-shadow: 0 0 #0000;
3937
- --tw-inset-shadow-color: initial;
3938
- --tw-inset-shadow-alpha: 100%;
3939
- --tw-ring-color: initial;
3940
- --tw-ring-shadow: 0 0 #0000;
3941
- --tw-inset-ring-color: initial;
3942
- --tw-inset-ring-shadow: 0 0 #0000;
3943
- --tw-ring-inset: initial;
3944
- --tw-ring-offset-width: 0px;
3945
- --tw-ring-offset-color: #fff;
3946
- --tw-ring-offset-shadow: 0 0 #0000;
3947
- --tw-blur: initial;
3948
- --tw-brightness: initial;
3949
- --tw-contrast: initial;
3950
- --tw-grayscale: initial;
3951
- --tw-hue-rotate: initial;
3952
- --tw-invert: initial;
3953
- --tw-opacity: initial;
3954
- --tw-saturate: initial;
3955
- --tw-sepia: initial;
3956
- --tw-drop-shadow: initial;
3957
- --tw-drop-shadow-color: initial;
3958
- --tw-drop-shadow-alpha: 100%;
3959
- --tw-drop-shadow-size: initial;
3960
- --tw-translate-x: 0;
3961
- --tw-translate-y: 0;
3962
- --tw-translate-z: 0;
3963
- --tw-border-style: solid;
3964
- --tw-duration: initial;
3965
- --tw-scale-x: 1;
3966
- --tw-scale-y: 1;
3967
- --tw-scale-z: 1;
3968
- }
3969
- }
3970
- }
3971
- `);
3972
-
3973
- // src/Player.tsx
3974
- import { twMerge as twMerge2 } from "tailwind-merge";
3975
-
3976
- // src/utils/scriptLoader.ts
3977
- var SCRIPT_CONFIGS = {
3978
- ima: {
3979
- src: "https://imasdk.googleapis.com/js/sdkloader/ima3.js",
3980
- id: "ima-sdk",
3981
- type: "text/javascript"
3982
- },
3983
- system73: {
3984
- src: "//cdn.s73cloud.com/4/s73-sdk-shakaplayer.js",
3985
- id: "system73-sdk",
3986
- type: "application/javascript"
3987
- }
3988
- };
3989
- function loadScript(config) {
3990
- return new Promise((resolve, reject) => {
3991
- if (document.getElementById(config.id)) {
3992
- resolve();
3993
- return;
3994
- }
3995
- const script = document.createElement("script");
3996
- script.id = config.id;
3997
- script.src = config.src;
3998
- script.type = config.type || "text/javascript";
3999
- script.async = true;
4000
- script.onload = () => resolve();
4001
- script.onerror = () => reject(new Error(`Failed to load script: ${config.src}`));
4002
- document.head.appendChild(script);
4003
- });
4004
- }
4005
- function getRequiredScriptLoaders(needsIma, needsSystem73) {
4006
- const loaders = [];
4007
- if (needsIma) {
4008
- loaders.push(loadScript(SCRIPT_CONFIGS.ima));
4009
- }
4010
- if (needsSystem73) {
4011
- loaders.push(loadScript(SCRIPT_CONFIGS.system73));
4012
- }
4013
- return loaders;
4014
- }
4015
- async function loadScripts(scriptLoaders) {
4016
- if (scriptLoaders.length === 0) {
4017
- return;
4018
- }
4019
- try {
4020
- await Promise.all(scriptLoaders);
4021
- } catch (error) {
4022
- console.error("Error loading scripts:", error);
4023
- throw error;
2145
+ try {
2146
+ await Promise.all(scriptLoaders);
2147
+ } catch (error) {
2148
+ console.error("Error loading scripts:", error);
2149
+ throw error;
4024
2150
  }
4025
2151
  }
4026
2152
  function waitForGlobal(globalName, timeout = 5e3) {
@@ -4047,7 +2173,7 @@ async function waitForGlobals(globalNames, timeout = 5e3) {
4047
2173
  }
4048
2174
 
4049
2175
  // src/Player.tsx
4050
- import { jsx as jsx8, jsxs as jsxs6 } from "react/jsx-runtime";
2176
+ import { jsx as jsx8, jsxs as jsxs5 } from "react/jsx-runtime";
4051
2177
  var Player = forwardRef(
4052
2178
  ({
4053
2179
  src,
@@ -4167,6 +2293,7 @@ var Player = forwardRef(
4167
2293
  if (!system73Config?.apiKey || !window.S73ShakaPlayerWrapper) {
4168
2294
  return null;
4169
2295
  }
2296
+ console.log("Initializing System73 SDK...");
4170
2297
  try {
4171
2298
  const s73Config = {
4172
2299
  apiKey: system73Config.apiKey,
@@ -4175,6 +2302,7 @@ var Player = forwardRef(
4175
2302
  };
4176
2303
  const wrapper = window.S73ShakaPlayerWrapper(s73Config, { shaka: shaka3 });
4177
2304
  wrapper.wrapPlayerConfig(playerConfig);
2305
+ console.log("System73 SDK initialized with config:", s73Config);
4178
2306
  return wrapper;
4179
2307
  } catch (error) {
4180
2308
  console.error("Error initializing System73 SDK:", error);
@@ -4256,31 +2384,48 @@ var Player = forwardRef(
4256
2384
  if (!video || !isScriptsLoaded) return;
4257
2385
  const initialize = async () => {
4258
2386
  try {
2387
+ console.log("\u{1F680} [Player] Starting initialization...");
4259
2388
  setIsInitialLoading(true);
4260
2389
  let system73Wrapper = null;
4261
2390
  if (system73Config?.apiKey && window.S73ShakaPlayerWrapper) {
2391
+ console.log("\u{1F4E6} [System73] Step 1: Initializing System73 wrapper with config");
4262
2392
  const playerConfig = { ...shakaConfig };
4263
2393
  system73Wrapper = initializeSystem73(playerConfig);
4264
2394
  if (system73Wrapper) {
4265
2395
  shakaConfig = playerConfig;
2396
+ console.log("\u2705 [System73] Step 1 complete: Wrapper created and config modified");
4266
2397
  }
4267
2398
  }
2399
+ console.log("\u{1F3AC} [Shaka] Step 2: Initializing Shaka Player (auto-load:", !system73Config?.apiKey && !imaConfig?.adTagUrl, ")");
4268
2400
  await initializePlayer(video);
2401
+ console.log("\u2705 [Shaka] Step 2 complete: Player initialized");
4269
2402
  if (system73Wrapper && playerRef.current) {
2403
+ console.log("\u{1F517} [System73] Step 3: Wrapping Shaka player with System73");
4270
2404
  system73Wrapper.wrapPlayer(playerRef.current);
2405
+ console.log("\u2705 [System73] Step 3 complete: Player wrapped");
4271
2406
  if (!imaConfig?.adTagUrl) {
2407
+ console.log("\u{1F4FA} [System73] Step 4: Loading manifest");
4272
2408
  await loadManifest();
2409
+ console.log("\u2705 [System73] Step 4 complete: Manifest loaded");
2410
+ } else {
2411
+ console.log("\u23ED\uFE0F [System73] Skipping manifest load - ads will handle it");
4273
2412
  }
4274
2413
  }
2414
+ console.log("\u{1F4CB} [Player] Setting up event listeners and quality tracking");
4275
2415
  setupEventListeners();
4276
2416
  const cleanupQuality = setupQualityTracking();
4277
2417
  configureQuality();
2418
+ console.log("\u{1F3A8} [UI] Initializing Shaka UI");
4278
2419
  await initializeUI();
2420
+ console.log("\u2705 [UI] UI initialized");
4279
2421
  if (imaConfig?.adTagUrl && window.google?.ima) {
2422
+ console.log("\u{1F4E2} [Ads] Initializing ads (will load manifest after VAST fetch)");
4280
2423
  await initializeAds();
2424
+ console.log("\u2705 [Ads] Ads initialized and manifest loaded");
4281
2425
  }
2426
+ console.log("\u2728 [Player] Initialization complete!");
4282
2427
  } catch (error) {
4283
- console.error("Error during player initialization:", error);
2428
+ console.error("\u274C [Player] Error during initialization:", error);
4284
2429
  handleMuxError(error);
4285
2430
  }
4286
2431
  };
@@ -4369,7 +2514,7 @@ var Player = forwardRef(
4369
2514
  const videoStyle = isResponsive ? {} : { width, height };
4370
2515
  const filteredVideoProps = { ...videoProps };
4371
2516
  delete filteredVideoProps.controls;
4372
- return /* @__PURE__ */ jsxs6(
2517
+ return /* @__PURE__ */ jsxs5(
4373
2518
  "div",
4374
2519
  {
4375
2520
  ref: containerRef,
@@ -4870,7 +3015,7 @@ var useMessages = (locale) => {
4870
3015
  var useMessages_default = useMessages;
4871
3016
 
4872
3017
  // src/Video.tsx
4873
- import { jsx as jsx9, jsxs as jsxs7 } from "react/jsx-runtime";
3018
+ import { jsx as jsx9, jsxs as jsxs6 } from "react/jsx-runtime";
4874
3019
  var Video = ({
4875
3020
  videoId,
4876
3021
  publicKey,
@@ -4928,7 +3073,7 @@ var Video = ({
4928
3073
  }
4929
3074
  const title = t(errorKey) || t("DEFAULT_ERROR");
4930
3075
  const description = t(`${errorKey}_DESCRIPTION`) || t("DEFAULT_ERROR_DESCRIPTION");
4931
- return /* @__PURE__ */ jsx9("div", { className: twMerge3("md:rounded-2xl overflow-hidden aspect-video", className), children: /* @__PURE__ */ jsxs7("div", { className: "relative w-full h-full", children: [
3076
+ return /* @__PURE__ */ jsx9("div", { className: twMerge3("md:rounded-2xl overflow-hidden aspect-video", className), children: /* @__PURE__ */ jsxs6("div", { className: "relative w-full h-full", children: [
4932
3077
  /* @__PURE__ */ jsx9(
4933
3078
  ErrorScreen,
4934
3079
  {
@@ -4940,7 +3085,7 @@ var Video = ({
4940
3085
  ] }) });
4941
3086
  }
4942
3087
  if (!activePlaylist || !activePlaylistHasUrl) {
4943
- return /* @__PURE__ */ jsx9("div", { className: twMerge3("md:rounded-2xl overflow-hidden aspect-video", className), children: /* @__PURE__ */ jsxs7("div", { className: "relative w-full h-full bg-[#151515]", children: [
3088
+ return /* @__PURE__ */ jsx9("div", { className: twMerge3("md:rounded-2xl overflow-hidden aspect-video", className), children: /* @__PURE__ */ jsxs6("div", { className: "relative w-full h-full bg-[#151515]", children: [
4944
3089
  /* @__PURE__ */ jsx9(Title, { title: video?.name || "" }),
4945
3090
  children
4946
3091
  ] }) });
@@ -4967,7 +3112,7 @@ var Video = ({
4967
3112
  import { useCallback as useCallback10, useEffect as useEffect8, useState as useState6 } from "react";
4968
3113
  import { twMerge as twMerge4 } from "tailwind-merge";
4969
3114
  import { useQuery as useQuery2 } from "@tanstack/react-query";
4970
- import { Fragment, jsx as jsx10, jsxs as jsxs8 } from "react/jsx-runtime";
3115
+ import { Fragment, jsx as jsx10, jsxs as jsxs7 } from "react/jsx-runtime";
4971
3116
  var Event = ({
4972
3117
  publicKey,
4973
3118
  eventId,
@@ -5119,7 +3264,7 @@ var Event = ({
5119
3264
  if (activePlaylist && activeVideoId && videosData) {
5120
3265
  const activeVideo = videosData.find((video) => video.id === activeVideoId);
5121
3266
  console.log("activeVideo?.ad?.adTagUrl", activeVideo?.ad?.adTagUrl);
5122
- return /* @__PURE__ */ jsxs8("div", { className: twMerge4("", className), children: [
3267
+ return /* @__PURE__ */ jsxs7("div", { className: twMerge4("", className), children: [
5123
3268
  /* @__PURE__ */ jsx10("div", { className: "relative w-full h-full", children: /* @__PURE__ */ jsx10(
5124
3269
  Player,
5125
3270
  {
@@ -5192,9 +3337,9 @@ function PreEvent({
5192
3337
  const minutes = Math.floor(remainingTime / 1e3 / 60) % 60;
5193
3338
  const hours = Math.floor(remainingTime / 1e3 / 60 / 60) % 24;
5194
3339
  const days = Math.floor(remainingTime / 1e3 / 60 / 60 / 24);
5195
- return /* @__PURE__ */ jsxs8("div", { className: "grid grid-flow-col gap-1 md:gap-5 text-center auto-cols-max", children: [
5196
- /* @__PURE__ */ jsxs8("div", { className: "flex flex-col p-2 bg-neutral rounded-box text-neutral-content", children: [
5197
- /* @__PURE__ */ jsx10("span", { className: "font-mono text-lg md:text-5xl leading-none", children: /* @__PURE__ */ jsx10(
3340
+ return /* @__PURE__ */ jsxs7("div", { className: "grid grid-flow-col gap-1 md:gap-5 text-center auto-cols-max", children: [
3341
+ /* @__PURE__ */ jsxs7("div", { className: "flex flex-col p-2 bg-neutral rounded-box text-neutral-content", children: [
3342
+ /* @__PURE__ */ jsx10("span", { className: "font-mono text-lg md:text-5xl", children: /* @__PURE__ */ jsx10(
5198
3343
  "span",
5199
3344
  {
5200
3345
  "aria-live": "polite",
@@ -5204,7 +3349,7 @@ function PreEvent({
5204
3349
  ) }),
5205
3350
  /* @__PURE__ */ jsx10("span", { className: "text-xs uppercase tracking-widest mt-1", children: t("DAYS") })
5206
3351
  ] }),
5207
- /* @__PURE__ */ jsxs8("div", { className: "flex flex-col p-2 bg-neutral rounded-box text-neutral-content", children: [
3352
+ /* @__PURE__ */ jsxs7("div", { className: "flex flex-col p-2 bg-neutral rounded-box text-neutral-content", children: [
5208
3353
  /* @__PURE__ */ jsx10("span", { className: "countdown font-mono text-lg md:text-5xl", children: /* @__PURE__ */ jsx10(
5209
3354
  "span",
5210
3355
  {
@@ -5216,7 +3361,7 @@ function PreEvent({
5216
3361
  ) }),
5217
3362
  /* @__PURE__ */ jsx10("span", { className: "text-xs uppercase tracking-widest mt-1", children: t("HOURS") })
5218
3363
  ] }),
5219
- /* @__PURE__ */ jsxs8("div", { className: "flex flex-col p-2 bg-neutral rounded-box text-neutral-content", children: [
3364
+ /* @__PURE__ */ jsxs7("div", { className: "flex flex-col p-2 bg-neutral rounded-box text-neutral-content", children: [
5220
3365
  /* @__PURE__ */ jsx10("span", { className: "countdown font-mono text-lg md:text-5xl", children: /* @__PURE__ */ jsx10(
5221
3366
  "span",
5222
3367
  {
@@ -5228,7 +3373,7 @@ function PreEvent({
5228
3373
  ) }),
5229
3374
  /* @__PURE__ */ jsx10("span", { className: "text-xs uppercase tracking-widest mt-1", children: t("MINUTES") })
5230
3375
  ] }),
5231
- /* @__PURE__ */ jsxs8("div", { className: "flex flex-col p-2 bg-neutral rounded-box text-neutral-content", children: [
3376
+ /* @__PURE__ */ jsxs7("div", { className: "flex flex-col p-2 bg-neutral rounded-box text-neutral-content", children: [
5232
3377
  /* @__PURE__ */ jsx10("span", { className: "countdown font-mono text-lg md:text-5xl", children: /* @__PURE__ */ jsx10(
5233
3378
  "span",
5234
3379
  {
@@ -5242,7 +3387,7 @@ function PreEvent({
5242
3387
  ] })
5243
3388
  ] });
5244
3389
  }, [remainingTime, shouldBeStarted, t]);
5245
- return /* @__PURE__ */ jsx10(Fragment, { children: event?.posterUrl ? /* @__PURE__ */ jsxs8(Fragment, { children: [
3390
+ return /* @__PURE__ */ jsx10(Fragment, { children: event?.posterUrl ? /* @__PURE__ */ jsxs7(Fragment, { children: [
5246
3391
  /* @__PURE__ */ jsx10(
5247
3392
  "div",
5248
3393
  {
@@ -5264,7 +3409,7 @@ function PreEvent({
5264
3409
  locale
5265
3410
  }
5266
3411
  )
5267
- ] }) : /* @__PURE__ */ jsxs8(Fragment, { children: [
3412
+ ] }) : /* @__PURE__ */ jsxs7(Fragment, { children: [
5268
3413
  /* @__PURE__ */ jsx10(
5269
3414
  "div",
5270
3415
  {
@@ -5293,9 +3438,9 @@ var TitleAndDescription = ({
5293
3438
  locale = "en",
5294
3439
  className
5295
3440
  }) => {
5296
- return /* @__PURE__ */ jsxs8("div", { className: twMerge4("mt-3 mb-6 m-event-details-ctn px-4 text-left w-full", className), children: [
3441
+ return /* @__PURE__ */ jsxs7("div", { className: twMerge4("mt-3 mb-6 m-event-details-ctn px-4 text-left w-full", className), children: [
5297
3442
  /* @__PURE__ */ jsx10("div", { className: "text-base md:text-xl m-event-title text-base-content font-medium", children: title }),
5298
- startTime ? /* @__PURE__ */ jsxs8("div", { className: "text-xs md:text-base text-base-content/70 m-event-start-time", children: [
3443
+ startTime ? /* @__PURE__ */ jsxs7("div", { className: "text-xs md:text-base text-base-content/70 m-event-start-time", children: [
5299
3444
  new Date(startTime || "").toLocaleDateString(locale || "default", {
5300
3445
  month: "long",
5301
3446
  year: "numeric",
@@ -5316,7 +3461,7 @@ var TitleAndDescription = ({
5316
3461
  import { useEffect as useEffect9, useState as useState7 } from "react";
5317
3462
  import { twMerge as twMerge5 } from "tailwind-merge";
5318
3463
  import { useQuery as useQuery3 } from "@tanstack/react-query";
5319
- import { Fragment as Fragment2, jsx as jsx11, jsxs as jsxs9 } from "react/jsx-runtime";
3464
+ import { Fragment as Fragment2, jsx as jsx11, jsxs as jsxs8 } from "react/jsx-runtime";
5320
3465
  var CreativeWork = ({
5321
3466
  publicKey,
5322
3467
  creativeWorkId,
@@ -5478,7 +3623,7 @@ var CreativeWork = ({
5478
3623
  }
5479
3624
  if (activeVideoId && activePlaylist && !loadingPlaylist) {
5480
3625
  const activeVideo = videosData?.find((video) => video.id === activeVideoId);
5481
- return /* @__PURE__ */ jsx11("div", { className: twMerge5("", className), children: /* @__PURE__ */ jsxs9("div", { className: "relative w-full h-full", children: [
3626
+ return /* @__PURE__ */ jsx11("div", { className: twMerge5("", className), children: /* @__PURE__ */ jsxs8("div", { className: "relative w-full h-full", children: [
5482
3627
  /* @__PURE__ */ jsx11(
5483
3628
  Player,
5484
3629
  {
@@ -5547,8 +3692,8 @@ function PreCreativeWork({
5547
3692
  const minutes = Math.floor(remainingTime / 1e3 / 60) % 60;
5548
3693
  const hours = Math.floor(remainingTime / 1e3 / 60 / 60) % 24;
5549
3694
  const days = Math.floor(remainingTime / 1e3 / 60 / 60 / 24);
5550
- return /* @__PURE__ */ jsxs9("div", { className: "grid grid-flow-col md:gap-5 gap-1 text-center auto-cols-max", children: [
5551
- /* @__PURE__ */ jsxs9("div", { className: "flex flex-col p-2 bg-neutral rounded-box text-neutral-content", children: [
3695
+ return /* @__PURE__ */ jsxs8("div", { className: "grid grid-flow-col md:gap-5 gap-1 text-center auto-cols-max", children: [
3696
+ /* @__PURE__ */ jsxs8("div", { className: "flex flex-col p-2 bg-neutral rounded-box text-neutral-content", children: [
5552
3697
  /* @__PURE__ */ jsx11("span", { className: "font-mono text-lg md:text-5xl", children: /* @__PURE__ */ jsx11(
5553
3698
  "span",
5554
3699
  {
@@ -5559,7 +3704,7 @@ function PreCreativeWork({
5559
3704
  ) }),
5560
3705
  /* @__PURE__ */ jsx11("span", { className: "text-xs uppercase tracking-widest mt-1", children: t("DAYS") })
5561
3706
  ] }),
5562
- /* @__PURE__ */ jsxs9("div", { className: "flex flex-col p-2 bg-neutral rounded-box text-neutral-content", children: [
3707
+ /* @__PURE__ */ jsxs8("div", { className: "flex flex-col p-2 bg-neutral rounded-box text-neutral-content", children: [
5563
3708
  /* @__PURE__ */ jsx11("span", { className: "countdown font-mono text-lg md:text-5xl", children: /* @__PURE__ */ jsx11(
5564
3709
  "span",
5565
3710
  {
@@ -5571,7 +3716,7 @@ function PreCreativeWork({
5571
3716
  ) }),
5572
3717
  /* @__PURE__ */ jsx11("span", { className: "text-xs uppercase tracking-widest mt-1", children: t("HOURS") })
5573
3718
  ] }),
5574
- /* @__PURE__ */ jsxs9("div", { className: "flex flex-col p-2 bg-neutral rounded-box text-neutral-content", children: [
3719
+ /* @__PURE__ */ jsxs8("div", { className: "flex flex-col p-2 bg-neutral rounded-box text-neutral-content", children: [
5575
3720
  /* @__PURE__ */ jsx11("span", { className: "countdown font-mono text-lg md:text-5xl", children: /* @__PURE__ */ jsx11(
5576
3721
  "span",
5577
3722
  {
@@ -5583,7 +3728,7 @@ function PreCreativeWork({
5583
3728
  ) }),
5584
3729
  /* @__PURE__ */ jsx11("span", { className: "text-xs uppercase tracking-widest mt-1", children: t("MINUTES") })
5585
3730
  ] }),
5586
- /* @__PURE__ */ jsxs9("div", { className: "flex flex-col p-2 bg-neutral rounded-box text-neutral-content", children: [
3731
+ /* @__PURE__ */ jsxs8("div", { className: "flex flex-col p-2 bg-neutral rounded-box text-neutral-content", children: [
5587
3732
  /* @__PURE__ */ jsx11("span", { className: "countdown font-mono text-lg md:text-5xl", children: /* @__PURE__ */ jsx11(
5588
3733
  "span",
5589
3734
  {
@@ -5597,8 +3742,8 @@ function PreCreativeWork({
5597
3742
  ] })
5598
3743
  ] });
5599
3744
  };
5600
- return /* @__PURE__ */ jsxs9(Fragment2, { children: [
5601
- /* @__PURE__ */ jsxs9(
3745
+ return /* @__PURE__ */ jsxs8(Fragment2, { children: [
3746
+ /* @__PURE__ */ jsxs8(
5602
3747
  "div",
5603
3748
  {
5604
3749
  className: "relative overflow-hidden md:rounded-2xl bg-base-200 aspect-video text-base-content flex flex-col justify-center items-center w-full h-full bg-cover bg-center bg-no-repeat",
@@ -5629,9 +3774,9 @@ var TitleAndDescription2 = ({
5629
3774
  locale = "en",
5630
3775
  className
5631
3776
  }) => {
5632
- return /* @__PURE__ */ jsxs9("div", { className: twMerge5("mt-3 mb-6 m-event-details-ctn px-4 text-left w-full", className), children: [
3777
+ return /* @__PURE__ */ jsxs8("div", { className: twMerge5("mt-3 mb-6 m-event-details-ctn px-4 text-left w-full", className), children: [
5633
3778
  /* @__PURE__ */ jsx11("div", { className: "text-base md:text-xl m-event-title text-base-content font-medium", children: title }),
5634
- releaseTime ? /* @__PURE__ */ jsxs9("div", { className: "text-sm md:text-base text-base-content/70 m-event-start-time", children: [
3779
+ releaseTime ? /* @__PURE__ */ jsxs8("div", { className: "text-sm md:text-base text-base-content/70 m-event-start-time", children: [
5635
3780
  new Date(releaseTime || "").toLocaleDateString(locale || "default", {
5636
3781
  month: "long",
5637
3782
  year: "numeric",