@ngxsplayer/ngx-smart-player-ui-audio 0.2.2 → 0.3.1-next.555

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.
@@ -1,16 +1,15 @@
1
1
  import * as i0 from "@angular/core";
2
- import { ChangeDetectionStrategy, ChangeDetectorRef, Component, ElementRef, EventEmitter, Input, NgModule, Output, ViewChild, inject } from "@angular/core";
2
+ import { ChangeDetectionStrategy, ChangeDetectorRef, Component, DestroyRef, ElementRef, EventEmitter, HostListener, Input, NgModule, Output, ViewChild, inject } from "@angular/core";
3
3
  import { CommonModule, DOCUMENT } from "@angular/common";
4
- import { SmartPlayerComponent, SmartPlayerIconComponent, SmartSettingsComponent } from "@ngxsplayer/ngx-smart-player";
5
- import { NgxspTimeSlider, NgxspVolumeControl } from "@ngxsplayer/ngx-smart-player-ui-core";
6
- const COLLECTION_VIEW_IDS = [
7
- "favorites",
8
- "recents",
9
- "playlists"
10
- ];
4
+ import { SmartEmptyPageComponent, SmartNotificationsComponent, SmartPlayerComponent, SmartPlayerIconComponent, SmartSettingsComponent } from "@ngxsplayer/ngx-smart-player";
5
+ import { MENU_WALK, NgxspTimeSlider, NgxspVolumeControl, isShown, keepTabInside, walkWithArrows } from "@ngxsplayer/ngx-smart-player-ui-core";
6
+ const COLLECTION_VIEW_IDS = ["favorites", "recents"];
11
7
  const APP_VIEW_IDS = ["settings"];
12
8
  const VIEW_ICONS = {
13
9
  home: "home",
10
+ library: "grid",
11
+ activity: "clock",
12
+ sources: "folder",
14
13
  tracks: "music",
15
14
  albums: "disc",
16
15
  artists: "user",
@@ -22,6 +21,7 @@ const VIEW_ICONS = {
22
21
  webradios: "radio",
23
22
  settings: "settings"
24
23
  };
24
+ const TIME_LIKE = /^[\d-]{1,2}(:[\d-]{2}){1,2}$/;
25
25
  const WAVEFORM_BARS = [
26
26
  32,
27
27
  48,
@@ -82,6 +82,7 @@ var NgxSmartPlayerAudioUiComponent = class NgxSmartPlayerAudioUiComponent {
82
82
  ports;
83
83
  engines;
84
84
  debug = false;
85
+ handlingFailure = false;
85
86
  startTimeSec = null;
86
87
  autoplayOnInit = false;
87
88
  playRequest = 0;
@@ -93,9 +94,50 @@ var NgxSmartPlayerAudioUiComponent = class NgxSmartPlayerAudioUiComponent {
93
94
  repeatLabel = "Repeat: off";
94
95
  hasPlaylistControls = false;
95
96
  castEnabled = false;
97
+ castLabels = {};
96
98
  libraryViewsLabel = "Audio library views";
97
99
  transportLabel = "Audio transport";
98
100
  seekLabel = "Playback position";
101
+ detailHead = null;
102
+ sourcesPage = null;
103
+ playerPage = null;
104
+ notificationsPage = null;
105
+ emptyPage = null;
106
+ notificationsLabel = "Notifications";
107
+ notificationsUnread = 0;
108
+ playerOpenLabel = "Open the player";
109
+ viewIntro = "";
110
+ viewFacets = [];
111
+ viewFacetLabel = "What this page shows";
112
+ searchResultsTitle = "";
113
+ searchResultsSummary = "";
114
+ searchFilters = [];
115
+ searchFilterLabel = "Narrow the results";
116
+ searchBest = null;
117
+ searchBestTitle = "Closest match";
118
+ recentSearches = [];
119
+ recentSearchesTitle = "Recent searches";
120
+ viewMode = "list";
121
+ gridLabel = "";
122
+ tableLabel = "";
123
+ viewSwitchLabel = "How the library is shown";
124
+ trail = [];
125
+ trailLabel = "Where you are";
126
+ trailStep = new EventEmitter();
127
+ viewModeChange = new EventEmitter();
128
+ detailHeadAction = new EventEmitter();
129
+ sourceAction = new EventEmitter();
130
+ sectionMore = new EventEmitter();
131
+ viewFacetChange = new EventEmitter();
132
+ playerOpen = new EventEmitter();
133
+ emptyPageAction = new EventEmitter();
134
+ notificationAction = new EventEmitter();
135
+ notificationsOpen = new EventEmitter();
136
+ notificationsRead = new EventEmitter();
137
+ playerBack = new EventEmitter();
138
+ searchFilterChange = new EventEmitter();
139
+ searchBestAction = new EventEmitter();
140
+ searchAgain = new EventEmitter();
99
141
  libraryTitle = "Local library";
100
142
  libraryContentTitle = "";
101
143
  backLabel = null;
@@ -105,6 +147,10 @@ var NgxSmartPlayerAudioUiComponent = class NgxSmartPlayerAudioUiComponent {
105
147
  searchLabel = "Search audio library";
106
148
  searchTerm = "";
107
149
  libraryViews = [];
150
+ playerPanel = true;
151
+ quickViewIds = [];
152
+ quickViewItems = [];
153
+ quickViewsLabel = "Quick access";
108
154
  activeLibraryView = "tracks";
109
155
  librarySections = [];
110
156
  queueTitle = "Up next";
@@ -150,7 +196,7 @@ var NgxSmartPlayerAudioUiComponent = class NgxSmartPlayerAudioUiComponent {
150
196
  saveLabel = "Save";
151
197
  cancelLabel = "Cancel";
152
198
  refreshLabel = "Refresh";
153
- tracksCountLabel = "track(s)";
199
+ queueCountLabel = "";
154
200
  newPlaylistPlaceholder = "New playlist name";
155
201
  renamePlaylistPlaceholder = "Rename playlist";
156
202
  remotePlaybackLabel = "Remote playback";
@@ -169,22 +215,24 @@ var NgxSmartPlayerAudioUiComponent = class NgxSmartPlayerAudioUiComponent {
169
215
  currentArtworkUrl = "";
170
216
  favoriteActive = false;
171
217
  favoriteLabel = "Add to favorites";
172
- lockAvailable = false;
173
218
  ringtoneAvailable = false;
174
219
  ringtoneLabel = "Make a ringtone";
175
- lockLabel = "Lock";
176
- unlockLabel = "Take out of the vault";
220
+ trackActionsLabel = "More actions";
177
221
  favoriteActiveLabel = "Remove from favorites";
178
222
  favoritesLabel = "Favorites";
179
223
  queueItems = [];
224
+ queueEditable = false;
225
+ queueMoveUpLabel = "";
226
+ queueMoveDownLabel = "";
227
+ queueRemoveLabel = "";
180
228
  currentTrackAvailable = false;
181
229
  playlistOptions = [];
230
+ playlistsPageOpen = false;
231
+ playlistsSummary = "";
232
+ playlistsOpen = new EventEmitter();
182
233
  set playlistTargetTrack(track) {
183
234
  this.playlistTarget = track;
184
- if (track) {
185
- this.playlistToolsOpen = true;
186
- this.revealPanel();
187
- }
235
+ if (track) this.playlistsOpen.emit();
188
236
  }
189
237
  get playlistTargetTrack() {
190
238
  return this.playlistTarget;
@@ -193,17 +241,36 @@ var NgxSmartPlayerAudioUiComponent = class NgxSmartPlayerAudioUiComponent {
193
241
  removableItemIds = [];
194
242
  stationForm = null;
195
243
  settingsSections = [];
244
+ settingsBackLabel = null;
245
+ settingsBack = new EventEmitter();
196
246
  serverForm = null;
197
247
  devicesOpen = false;
198
248
  lyricsPanel = null;
199
249
  showDeviceButton = true;
200
250
  deviceItems = [];
251
+ outputItems = [];
252
+ set audioOutputId(value) {
253
+ this.wantedAudioOutput = value ?? "";
254
+ this.applyAudioOutput();
255
+ }
256
+ get audioOutputId() {
257
+ return this.wantedAudioOutput;
258
+ }
259
+ wantedAudioOutput = "";
260
+ appliedAudioOutput = null;
261
+ castGroupLabel = "Play on";
262
+ castGroupHint = "";
263
+ outputGroupLabel = "Audio output";
264
+ outputGroupHint = "";
265
+ searchDevicesLabel = "Search for devices";
266
+ keepQueueLabel = "";
201
267
  closeLabel = "Close";
202
268
  sourceChangeLabel = "Open file";
203
269
  sourceChangeTitle = "";
204
270
  sourceDropTitle = "";
205
271
  sourceDropHint = "";
206
272
  sourceChangeAccept = "audio/*";
273
+ showSourceButton = true;
207
274
  folderImportLabel = "";
208
275
  libraryStatus = "";
209
276
  libraryBusy = false;
@@ -235,7 +302,11 @@ var NgxSmartPlayerAudioUiComponent = class NgxSmartPlayerAudioUiComponent {
235
302
  addLibraryItemNext = new EventEmitter();
236
303
  addLibraryItemToQueue = new EventEmitter();
237
304
  selectQueueItem = new EventEmitter();
305
+ queueMoveUp = new EventEmitter();
306
+ queueMoveDown = new EventEmitter();
307
+ queueRemove = new EventEmitter();
238
308
  createPlaylist = new EventEmitter();
309
+ playerPageAction = new EventEmitter();
239
310
  addCurrentToPlaylist = new EventEmitter();
240
311
  addTrackToPlaylist = new EventEmitter();
241
312
  requestPlaylistTarget = new EventEmitter();
@@ -249,7 +320,9 @@ var NgxSmartPlayerAudioUiComponent = class NgxSmartPlayerAudioUiComponent {
249
320
  deletePlaylist = new EventEmitter();
250
321
  toggleDevices = new EventEmitter();
251
322
  refreshDevices = new EventEmitter();
252
- openLyrics = new EventEmitter();
323
+ selectOutput = new EventEmitter();
324
+ keepQueueAsPlaylist = new EventEmitter();
325
+ audioOutputApplied = new EventEmitter();
253
326
  refreshLyrics = new EventEmitter();
254
327
  seekLyrics = new EventEmitter();
255
328
  playOnDevice = new EventEmitter();
@@ -258,7 +331,6 @@ var NgxSmartPlayerAudioUiComponent = class NgxSmartPlayerAudioUiComponent {
258
331
  primaryPlaybackToggle = new EventEmitter();
259
332
  playerStateChange = new EventEmitter();
260
333
  toggleFavorite = new EventEmitter();
261
- toggleLock = new EventEmitter();
262
334
  makeRingtone = new EventEmitter();
263
335
  revealFileLabel = "";
264
336
  revealFile = new EventEmitter();
@@ -271,28 +343,70 @@ var NgxSmartPlayerAudioUiComponent = class NgxSmartPlayerAudioUiComponent {
271
343
  smartPlayer;
272
344
  audioFileInput;
273
345
  document = inject(DOCUMENT);
346
+ constructor() {
347
+ const dismiss = (event) => this.closeDialogsOnPointerOutside(event);
348
+ this.document.addEventListener("pointerdown", dismiss, true);
349
+ inject(DestroyRef).onDestroy(() => this.document.removeEventListener("pointerdown", dismiss, true));
350
+ }
274
351
  libraryScroll;
275
- lyricsLinesEl;
276
352
  queueListEl;
353
+ playerLyricsEl;
277
354
  compactLyricsEl;
355
+ playerLyricsFollowed = "";
278
356
  compactLyricsFollowed = "";
279
357
  panelEl;
280
358
  sheetButtonEl;
281
- lyricsFollowed = "";
282
359
  queueFollowed = "";
360
+ static QUEUE_ROW = 57;
361
+ static QUEUE_WINDOW_MIN = 60;
362
+ static QUEUE_OVERSCAN = 6;
363
+ queueFrom = 0;
364
+ queueTo = NgxSmartPlayerAudioUiComponent.QUEUE_WINDOW_MIN;
365
+ get queueWindowed() {
366
+ return this.queueItems.length > NgxSmartPlayerAudioUiComponent.QUEUE_WINDOW_MIN;
367
+ }
368
+ get windowedQueue() {
369
+ if (!this.queueWindowed) return this.queueItems;
370
+ const from = Math.min(this.queueFrom, Math.max(0, this.queueItems.length - 1));
371
+ const to = Math.min(this.queueTo, this.queueItems.length);
372
+ return this.queueItems.slice(from, to);
373
+ }
374
+ get queueSpaceBefore() {
375
+ if (!this.queueWindowed) return 0;
376
+ return Math.min(this.queueFrom, this.queueItems.length) * NgxSmartPlayerAudioUiComponent.QUEUE_ROW;
377
+ }
378
+ get queueSpaceAfter() {
379
+ if (!this.queueWindowed) return 0;
380
+ const left = this.queueItems.length - Math.min(this.queueTo, this.queueItems.length);
381
+ return Math.max(0, left) * NgxSmartPlayerAudioUiComponent.QUEUE_ROW;
382
+ }
383
+ onQueueScroll() {
384
+ if (!this.queueWindowed) return;
385
+ const list = this.queueListEl?.nativeElement;
386
+ if (!list) return;
387
+ const row = NgxSmartPlayerAudioUiComponent.QUEUE_ROW;
388
+ const overscan = NgxSmartPlayerAudioUiComponent.QUEUE_OVERSCAN;
389
+ const visible = Math.max(1, Math.ceil(list.clientHeight / row));
390
+ const from = Math.max(0, Math.floor(list.scrollTop / row) - overscan);
391
+ const to = Math.min(this.queueItems.length, from + visible + overscan * 2);
392
+ if (from === this.queueFrom && to === this.queueTo) return;
393
+ this.queueFrom = from;
394
+ this.queueTo = to;
395
+ this.cdr.markForCheck();
396
+ }
397
+ holdQueueRow(index) {
398
+ if (!this.queueWindowed || index >= this.queueFrom && index < this.queueTo) return false;
399
+ const overscan = NgxSmartPlayerAudioUiComponent.QUEUE_OVERSCAN;
400
+ const span = Math.max(NgxSmartPlayerAudioUiComponent.QUEUE_WINDOW_MIN, this.queueTo - this.queueFrom);
401
+ this.queueFrom = Math.max(0, index - overscan);
402
+ this.queueTo = Math.min(this.queueItems.length, this.queueFrom + span);
403
+ this.cdr.markForCheck();
404
+ return true;
405
+ }
283
406
  fileDragActive = false;
284
407
  panelSheetOpen = false;
285
- playlistToolsOpen = false;
286
- lyricsOpen = false;
287
408
  queuePanelOpen = true;
288
- queueOpen = true;
289
- panelOrder = [
290
- "queue",
291
- "lyrics",
292
- "devices",
293
- "playlists"
294
- ];
295
- collapsedPanels = /* @__PURE__ */ new Set();
409
+ panelOrder = [];
296
410
  playlistDraftName = "";
297
411
  stationNameDraft = "";
298
412
  stationUrlDraft = "";
@@ -305,6 +419,31 @@ var NgxSmartPlayerAudioUiComponent = class NgxSmartPlayerAudioUiComponent {
305
419
  playerState = null;
306
420
  progressPercent = 0;
307
421
  currentTimeSec = 0;
422
+ waveformBars = [
423
+ 34,
424
+ 58,
425
+ 88,
426
+ 47,
427
+ 72,
428
+ 95,
429
+ 40,
430
+ 66,
431
+ 52,
432
+ 80,
433
+ 36,
434
+ 68,
435
+ 44,
436
+ 90,
437
+ 56,
438
+ 38,
439
+ 74,
440
+ 50
441
+ ];
442
+ get playedBars() {
443
+ if (this.durationSec <= 0) return 0;
444
+ const ratio = Math.min(1, Math.max(0, this.currentTimeSec / this.durationSec));
445
+ return Math.round(ratio * this.waveformBars.length);
446
+ }
308
447
  durationSec = 0;
309
448
  elapsedLabel = "0:00";
310
449
  detectedDurationLabel = "";
@@ -313,11 +452,24 @@ var NgxSmartPlayerAudioUiComponent = class NgxSmartPlayerAudioUiComponent {
313
452
  return this.playerState?.kind === "playing";
314
453
  }
315
454
  get isHomeView() {
316
- return this.activeLibraryView === "home";
455
+ return this.playerPanel;
317
456
  }
318
457
  get primaryViews() {
319
458
  return this.libraryViews.filter((view) => !COLLECTION_VIEW_IDS.includes(view.id) && !APP_VIEW_IDS.includes(view.id));
320
459
  }
460
+ get openViewChildren() {
461
+ return this.primaryViews.find((view) => view.active)?.children ?? [];
462
+ }
463
+ hasQuickView(id) {
464
+ return this.quickViewIds.includes(id);
465
+ }
466
+ get railEntries() {
467
+ return this.libraryViews.flatMap((view) => [view, ...view.children ?? []]);
468
+ }
469
+ get quickViews() {
470
+ const entries = this.quickViewItems.length ? this.quickViewItems : this.railEntries;
471
+ return this.quickViewIds.map((id) => entries.find((view) => view.id === id)).filter((view) => !!view);
472
+ }
321
473
  get appViews() {
322
474
  return this.libraryViews.filter((view) => APP_VIEW_IDS.includes(view.id));
323
475
  }
@@ -327,44 +479,18 @@ var NgxSmartPlayerAudioUiComponent = class NgxSmartPlayerAudioUiComponent {
327
479
  get panelTab() {
328
480
  return this.panelOrder.find((panel) => this.isPanelOpen(panel)) ?? "queue";
329
481
  }
330
- get lyricsTitle() {
331
- return this.lyricsPanel?.title ?? "";
332
- }
333
482
  isPanelOpen(panel) {
334
- if (panel === "queue") return this.queueOpen;
335
- if (panel === "lyrics") return this.lyricsOpen;
336
- if (panel === "devices") return this.devicesOpen;
337
- return this.playlistToolsOpen;
338
- }
339
- isPanelCollapsed(panel) {
340
- return this.collapsedPanels.has(panel);
341
- }
342
- togglePanelCollapsed(panel) {
343
- if (!this.collapsedPanels.delete(panel)) this.collapsedPanels.add(panel);
483
+ if (panel === "queue") return this.queuePanelOpen;
484
+ return this.devicesOpen;
344
485
  }
345
486
  togglePanel(panel) {
346
487
  const wasOpen = this.isPanelOpen(panel);
347
- if (!wasOpen) {
348
- this.revealPanel();
349
- this.collapsedPanels.delete(panel);
350
- }
488
+ if (!wasOpen) this.revealPanel();
351
489
  if (panel === "devices") {
352
490
  this.toggleDevices.emit();
353
491
  return;
354
492
  }
355
- if (panel === "lyrics") {
356
- this.lyricsOpen = !wasOpen;
357
- if (!wasOpen) {
358
- this.lyricsFollowed = "";
359
- this.openLyrics.emit();
360
- }
361
- return;
362
- }
363
- if (panel === "playlists") {
364
- this.playlistToolsOpen = !wasOpen;
365
- return;
366
- }
367
- this.queueOpen = !wasOpen;
493
+ this.queuePanelOpen = !wasOpen;
368
494
  }
369
495
  get displayDurationLabel() {
370
496
  return this.detectedDurationLabel || this.currentDuration || this.durationFromMeta() || "0:00";
@@ -399,7 +525,7 @@ var NgxSmartPlayerAudioUiComponent = class NgxSmartPlayerAudioUiComponent {
399
525
  return item.album || this.splitSubtitle(item.subtitle)[1] || item.meta || "-";
400
526
  }
401
527
  durationOf(item) {
402
- return item.duration || item.meta || "";
528
+ return item.duration || (TIME_LIKE.test(item.meta ?? "") ? item.meta : "");
403
529
  }
404
530
  togglePrimaryPlayback() {
405
531
  if (this.config && this.smartPlayer) {
@@ -416,6 +542,19 @@ var NgxSmartPlayerAudioUiComponent = class NgxSmartPlayerAudioUiComponent {
416
542
  seekTo(timeSec) {
417
543
  this.smartPlayer?.seekTo(timeSec);
418
544
  }
545
+ seekBy(deltaSec) {
546
+ if (Number.isFinite(deltaSec) && deltaSec !== 0) this.smartPlayer?.seekRel(deltaSec);
547
+ }
548
+ get audioOutputSelectable() {
549
+ return this.smartPlayer?.audioOutputSelectable ?? false;
550
+ }
551
+ async applyAudioOutput() {
552
+ if (!this.smartPlayer || this.appliedAudioOutput === this.wantedAudioOutput) return;
553
+ const taken = await this.smartPlayer.setAudioOutput(this.wantedAudioOutput);
554
+ this.appliedAudioOutput = taken ? this.wantedAudioOutput : null;
555
+ this.audioOutputApplied.emit(taken ? this.wantedAudioOutput : "");
556
+ this.cdr.markForCheck();
557
+ }
419
558
  contentScrollTop() {
420
559
  const panel = this.libraryScroll?.nativeElement;
421
560
  if (panel && panel.scrollTop > 0) return panel.scrollTop;
@@ -452,6 +591,47 @@ var NgxSmartPlayerAudioUiComponent = class NgxSmartPlayerAudioUiComponent {
452
591
  onSearchInput(event) {
453
592
  this.searchTermChange.emit(event.target?.value ?? "");
454
593
  }
594
+ get hasSearchQuery() {
595
+ return !!this.searchTerm.trim();
596
+ }
597
+ searchBestMeta(best) {
598
+ return [best.item.subtitle, best.item.meta].filter((part) => !!part).join(" · ");
599
+ }
600
+ searchParts(text) {
601
+ const term = this.searchTerm.trim();
602
+ if (!term) return [{
603
+ text,
604
+ hit: false
605
+ }];
606
+ const haystack = text.toLocaleLowerCase();
607
+ const needle = term.toLocaleLowerCase();
608
+ const parts = [];
609
+ let from = 0;
610
+ for (let at = haystack.indexOf(needle, from); at !== -1; at = haystack.indexOf(needle, from)) {
611
+ if (at > from) parts.push({
612
+ text: text.slice(from, at),
613
+ hit: false
614
+ });
615
+ parts.push({
616
+ text: text.slice(at, at + needle.length),
617
+ hit: true
618
+ });
619
+ from = at + needle.length;
620
+ }
621
+ if (from < text.length) parts.push({
622
+ text: text.slice(from),
623
+ hit: false
624
+ });
625
+ return parts;
626
+ }
627
+ selectViewFacet(facet) {
628
+ if (facet.disabled || facet.active) return;
629
+ this.viewFacetChange.emit(facet.id);
630
+ }
631
+ selectSearchFilter(filter) {
632
+ if (filter.disabled || filter.active) return;
633
+ this.searchFilterChange.emit(filter.id);
634
+ }
455
635
  onFileDragEnter(event) {
456
636
  if (!this.dragHasFiles(event)) return;
457
637
  event.preventDefault();
@@ -482,6 +662,7 @@ var NgxSmartPlayerAudioUiComponent = class NgxSmartPlayerAudioUiComponent {
482
662
  }
483
663
  onPlayerStateChange(state) {
484
664
  this.playerState = state;
665
+ if (state.kind === "playing") this.applyAudioOutput();
485
666
  this.playerStateChange.emit(state);
486
667
  this.cdr.markForCheck();
487
668
  }
@@ -503,33 +684,65 @@ var NgxSmartPlayerAudioUiComponent = class NgxSmartPlayerAudioUiComponent {
503
684
  }
504
685
  this.queuePanelOpen = !this.queuePanelOpen;
505
686
  }
506
- get panelSwitches() {
507
- const switches = [{
508
- id: "queue",
509
- icon: "list",
510
- label: this.queueTitle
511
- }];
512
- if (this.lyricsPanel) switches.push({
513
- id: "lyrics",
514
- icon: "lyrics",
515
- label: this.lyricsTitle
687
+ onEscape() {
688
+ if (this.trackMenu) {
689
+ this.dismissTrackMenu();
690
+ return;
691
+ }
692
+ if (this.notificationsPage) {
693
+ this.dismissNotifications();
694
+ return;
695
+ }
696
+ if (this.devicesOpen) {
697
+ this.dismissDevices();
698
+ return;
699
+ }
700
+ }
701
+ closeDialogsOnPointerOutside(event) {
702
+ const target = event.target instanceof Element ? event.target : null;
703
+ if (this.notificationsPage && !target?.closest(".ngxsp-wmp-bellWrap")) this.closeNotifications();
704
+ if (this.devicesOpen && !target?.closest(".ngxsp-wmp-switchWrap")) this.closeDevices();
705
+ }
706
+ closeNotifications() {
707
+ if (this.notificationsPage) this.notificationsOpen.emit();
708
+ }
709
+ closeDevices() {
710
+ if (this.devicesOpen) this.toggleDevices.emit();
711
+ }
712
+ dismissNotifications() {
713
+ this.closeNotifications();
714
+ this.restoreFocusTo(".ngxsp-wmp-bellButton");
715
+ }
716
+ dismissDevices() {
717
+ this.closeDevices();
718
+ this.restoreFocusTo(".ngxsp-wmp-devicesButton");
719
+ }
720
+ restoreFocusTo(selector) {
721
+ setTimeout(() => {
722
+ Array.from(this.host.nativeElement.querySelectorAll(selector)).find((button) => button.offsetParent !== null)?.focus();
516
723
  });
724
+ }
725
+ get panelSwitches() {
726
+ const switches = [];
517
727
  if (this.showDeviceButton) switches.push({
518
728
  id: "devices",
519
729
  icon: this.devicesOpen ? "devices-active" : "devices",
520
730
  label: this.devicesOpen ? this.hideDevicesLabel : this.devicesLabel
521
731
  });
522
- switches.push({
523
- id: "playlists",
524
- icon: "layers",
525
- label: this.playlistsLabel
526
- });
527
732
  return switches;
528
733
  }
734
+ get columnSwitches() {
735
+ return this.panelSwitches.filter((panel) => panel.id !== "devices");
736
+ }
529
737
  isPanelShowing(panel) {
738
+ if (panel === "devices") return this.devicesOpen;
530
739
  return this.queuePanelOpen && this.isPanelOpen(panel);
531
740
  }
532
741
  togglePanelFromBar(panel) {
742
+ if (panel === "devices") {
743
+ this.toggleDevices.emit();
744
+ return;
745
+ }
533
746
  if (!this.isPanelShowing(panel)) {
534
747
  this.selectPanelTab(panel);
535
748
  return;
@@ -561,6 +774,10 @@ var NgxSmartPlayerAudioUiComponent = class NgxSmartPlayerAudioUiComponent {
561
774
  this.panelSheetOpen = false;
562
775
  setTimeout(() => this.sheetButtonEl?.nativeElement.focus());
563
776
  }
777
+ onSheetKeys(event) {
778
+ if (!this.panelSheetOpen) return;
779
+ if (event.currentTarget instanceof HTMLElement) keepTabInside(event, event.currentTarget);
780
+ }
564
781
  get hasCompactLyrics() {
565
782
  return (this.lyricsPanel?.lines.length ?? 0) > 0;
566
783
  }
@@ -577,15 +794,26 @@ var NgxSmartPlayerAudioUiComponent = class NgxSmartPlayerAudioUiComponent {
577
794
  }
578
795
  return found;
579
796
  }
797
+ canMoveQueueItem(id, direction) {
798
+ const index = this.queueItems.findIndex((item) => item.id === id);
799
+ if (index < 0) return false;
800
+ return direction === "up" ? index > 0 : index < this.queueItems.length - 1;
801
+ }
802
+ rowTooltip(item) {
803
+ return [item.title, item.subtitle].filter(Boolean).join(" - ");
804
+ }
580
805
  playFromLyrics(timeSec) {
581
806
  this.smartPlayer?.seekTo(timeSec);
807
+ if (!this.isPlaying) this.togglePrimaryPlayback();
582
808
  this.seekLyrics.emit(timeSec);
583
809
  }
584
810
  ngAfterViewChecked() {
585
811
  const reduced = typeof matchMedia === "function" && matchMedia("(prefers-reduced-motion: reduce)").matches;
586
812
  const queue = this.queueListEl?.nativeElement;
813
+ const activeIndex = this.queueItems.findIndex((item) => item.active);
814
+ const queueKey = queue && activeIndex >= 0 ? `${activeIndex}:${queue.clientHeight}` : "";
815
+ if (queue && activeIndex >= 0 && queueKey !== this.queueFollowed && this.holdQueueRow(activeIndex)) return;
587
816
  const playing = queue?.querySelector(".ngxsp-wmp-queueItem.active");
588
- const queueKey = playing && queue ? `${Array.prototype.indexOf.call(queue.children, playing)}:${queue.clientHeight}` : "";
589
817
  if (queue && playing && queueKey !== this.queueFollowed) {
590
818
  this.queueFollowed = queueKey;
591
819
  const box = queue.getBoundingClientRect();
@@ -595,29 +823,20 @@ var NgxSmartPlayerAudioUiComponent = class NgxSmartPlayerAudioUiComponent {
595
823
  behavior: reduced ? "auto" : "smooth"
596
824
  });
597
825
  }
598
- const compact = this.compactLyricsEl?.nativeElement;
599
- const compactActive = compact?.querySelector(".ngxsp-wmp-compactLyricsLine.active");
600
- const compactKey = compactActive && compact ? `${this.currentTrackId}:${this.activeLyricsIndex}:${compact.clientHeight}` : "";
601
- if (compact && compactActive && compactKey !== this.compactLyricsFollowed) {
602
- this.compactLyricsFollowed = compactKey;
603
- compact.scrollTo({
604
- top: compactActive.offsetTop - compact.clientHeight / 2 + compactActive.offsetHeight / 2,
605
- behavior: "smooth"
606
- });
607
- }
608
- if (this.panelTab !== "lyrics") return;
609
- const container = this.lyricsLinesEl?.nativeElement;
610
- const active = container?.querySelector(".ngxsp-wmp-lyricsLine.active");
611
- const key = active && container ? `${Array.prototype.indexOf.call(container.children, active)}:${active.textContent}` : "";
612
- if (!active || key === this.lyricsFollowed) return;
613
- this.lyricsFollowed = key;
614
- active.scrollIntoView({
615
- block: "center",
826
+ this.playerLyricsFollowed = this.centreSungLine(this.playerLyricsEl?.nativeElement, "button.active", this.playerLyricsFollowed, reduced);
827
+ this.compactLyricsFollowed = this.centreSungLine(this.compactLyricsEl?.nativeElement, ".ngxsp-wmp-compactLyricsLine.active", this.compactLyricsFollowed, reduced);
828
+ }
829
+ centreSungLine(container, selector, followed, reduced) {
830
+ const sung = container?.querySelector(selector);
831
+ const key = container && sung ? `${this.currentTrackId}:${this.activeLyricsIndex}:${container.clientHeight}` : "";
832
+ if (!container || !sung || key === followed) return followed;
833
+ const box = container.getBoundingClientRect();
834
+ const line = sung.getBoundingClientRect();
835
+ container.scrollTo({
836
+ top: container.scrollTop + (line.top - box.top) - (box.height - line.height) / 2,
616
837
  behavior: reduced ? "auto" : "smooth"
617
838
  });
618
- }
619
- togglePlaylistTools() {
620
- this.playlistToolsOpen = !this.playlistToolsOpen;
839
+ return key;
621
840
  }
622
841
  get hasPlaylists() {
623
842
  return this.playlistOptions.length > 0;
@@ -625,10 +844,60 @@ var NgxSmartPlayerAudioUiComponent = class NgxSmartPlayerAudioUiComponent {
625
844
  isRemovable(itemId) {
626
845
  return this.removableItemIds.includes(itemId);
627
846
  }
628
- rowActionsWidth(items) {
629
- const buttons = 3 + (this.hasPlaylists ? 1 : 0) + (items.some((item) => this.isRemovable(item.id)) ? 1 : 0);
847
+ rowActionsWidth(section) {
848
+ const buttons = section.kind === "groups" ? 2 + (section.items.some((item) => this.isRemovable(item.id)) ? 1 : 0) : 2 + (this.hasPlaylists ? 1 : 0) + (this.ringtoneAvailable && section.items.some((item) => !item.live) ? 1 : 0);
630
849
  return `${buttons * 32 + (buttons - 1) * 2 + 8}px`;
631
850
  }
851
+ trackMenu = null;
852
+ trackMenuOpener = null;
853
+ trackMenuBox;
854
+ openTrackMenu(event, item) {
855
+ event.preventDefault();
856
+ event.stopPropagation();
857
+ const asked = event.currentTarget instanceof HTMLElement ? event.currentTarget : null;
858
+ this.trackMenuOpener = asked && !asked.matches("button") ? asked.querySelector("button") : asked;
859
+ const width = 240;
860
+ const height = 48 + (this.isRemovable(item.id) ? 3 : 2) * 36;
861
+ const view = this.document.defaultView;
862
+ const maxX = (view?.innerWidth ?? width) - width - 8;
863
+ const maxY = (view?.innerHeight ?? height) - height - 8;
864
+ this.trackMenu = {
865
+ id: item.id,
866
+ title: item.title,
867
+ x: Math.max(8, Math.min(event.clientX, Math.max(8, maxX))),
868
+ y: Math.max(8, Math.min(event.clientY, Math.max(8, maxY)))
869
+ };
870
+ setTimeout(() => this.trackMenuBox?.nativeElement.focus());
871
+ }
872
+ closeTrackMenu() {
873
+ this.trackMenu = null;
874
+ this.trackMenuOpener = null;
875
+ }
876
+ dismissTrackMenu() {
877
+ const opener = this.trackMenuOpener;
878
+ this.closeTrackMenu();
879
+ setTimeout(() => opener?.focus());
880
+ }
881
+ runTrackAction(action) {
882
+ const id = this.trackMenu?.id;
883
+ const opener = this.trackMenuOpener;
884
+ this.closeTrackMenu();
885
+ if (!id) return;
886
+ if (action === "next") this.addLibraryItemNext.emit(id);
887
+ else if (action === "queue") this.addLibraryItemToQueue.emit(id);
888
+ else this.removeLibraryItem.emit(id);
889
+ setTimeout(() => {
890
+ if (opener && isShown(opener)) opener.focus();
891
+ });
892
+ }
893
+ onMenuKeys(event) {
894
+ if (event.key === "Tab") {
895
+ event.preventDefault();
896
+ this.dismissTrackMenu();
897
+ return;
898
+ }
899
+ walkWithArrows(event, MENU_WALK);
900
+ }
632
901
  addToPlaylist(playlistId) {
633
902
  const target = this.playlistTargetTrack;
634
903
  if (target) this.addTrackToPlaylist.emit({
@@ -692,12 +961,10 @@ var NgxSmartPlayerAudioUiComponent = class NgxSmartPlayerAudioUiComponent {
692
961
  if (!name) return;
693
962
  this.createPlaylist.emit(name);
694
963
  this.playlistDraftName = "";
695
- this.playlistToolsOpen = true;
696
964
  }
697
965
  startRenamePlaylist(id, name) {
698
966
  this.editingPlaylistId = id;
699
967
  this.renameDraftName = name;
700
- this.playlistToolsOpen = true;
701
968
  }
702
969
  onRenameDraftInput(event) {
703
970
  this.renameDraftName = event.target?.value ?? "";
@@ -734,7 +1001,7 @@ var NgxSmartPlayerAudioUiComponent = class NgxSmartPlayerAudioUiComponent {
734
1001
  }
735
1002
  static ɵfac = i0.ɵɵngDeclareFactory({
736
1003
  minVersion: "12.0.0",
737
- version: "22.2.1",
1004
+ version: "22.3.0",
738
1005
  ngImport: i0,
739
1006
  type: NgxSmartPlayerAudioUiComponent,
740
1007
  deps: [],
@@ -742,7 +1009,7 @@ var NgxSmartPlayerAudioUiComponent = class NgxSmartPlayerAudioUiComponent {
742
1009
  });
743
1010
  static ɵcmp = i0.ɵɵngDeclareComponent({
744
1011
  minVersion: "17.0.0",
745
- version: "22.2.1",
1012
+ version: "22.3.0",
746
1013
  type: NgxSmartPlayerAudioUiComponent,
747
1014
  isStandalone: true,
748
1015
  selector: "ngxsp-audio-player-ui",
@@ -752,6 +1019,7 @@ var NgxSmartPlayerAudioUiComponent = class NgxSmartPlayerAudioUiComponent {
752
1019
  ports: "ports",
753
1020
  engines: "engines",
754
1021
  debug: "debug",
1022
+ handlingFailure: "handlingFailure",
755
1023
  startTimeSec: "startTimeSec",
756
1024
  autoplayOnInit: "autoplayOnInit",
757
1025
  playRequest: "playRequest",
@@ -763,9 +1031,35 @@ var NgxSmartPlayerAudioUiComponent = class NgxSmartPlayerAudioUiComponent {
763
1031
  repeatLabel: "repeatLabel",
764
1032
  hasPlaylistControls: "hasPlaylistControls",
765
1033
  castEnabled: "castEnabled",
1034
+ castLabels: "castLabels",
766
1035
  libraryViewsLabel: "libraryViewsLabel",
767
1036
  transportLabel: "transportLabel",
768
1037
  seekLabel: "seekLabel",
1038
+ detailHead: "detailHead",
1039
+ sourcesPage: "sourcesPage",
1040
+ playerPage: "playerPage",
1041
+ notificationsPage: "notificationsPage",
1042
+ emptyPage: "emptyPage",
1043
+ notificationsLabel: "notificationsLabel",
1044
+ notificationsUnread: "notificationsUnread",
1045
+ playerOpenLabel: "playerOpenLabel",
1046
+ viewIntro: "viewIntro",
1047
+ viewFacets: "viewFacets",
1048
+ viewFacetLabel: "viewFacetLabel",
1049
+ searchResultsTitle: "searchResultsTitle",
1050
+ searchResultsSummary: "searchResultsSummary",
1051
+ searchFilters: "searchFilters",
1052
+ searchFilterLabel: "searchFilterLabel",
1053
+ searchBest: "searchBest",
1054
+ searchBestTitle: "searchBestTitle",
1055
+ recentSearches: "recentSearches",
1056
+ recentSearchesTitle: "recentSearchesTitle",
1057
+ viewMode: "viewMode",
1058
+ gridLabel: "gridLabel",
1059
+ tableLabel: "tableLabel",
1060
+ viewSwitchLabel: "viewSwitchLabel",
1061
+ trail: "trail",
1062
+ trailLabel: "trailLabel",
769
1063
  libraryTitle: "libraryTitle",
770
1064
  libraryContentTitle: "libraryContentTitle",
771
1065
  backLabel: "backLabel",
@@ -775,6 +1069,10 @@ var NgxSmartPlayerAudioUiComponent = class NgxSmartPlayerAudioUiComponent {
775
1069
  searchLabel: "searchLabel",
776
1070
  searchTerm: "searchTerm",
777
1071
  libraryViews: "libraryViews",
1072
+ playerPanel: "playerPanel",
1073
+ quickViewIds: "quickViewIds",
1074
+ quickViewItems: "quickViewItems",
1075
+ quickViewsLabel: "quickViewsLabel",
778
1076
  activeLibraryView: "activeLibraryView",
779
1077
  librarySections: "librarySections",
780
1078
  queueTitle: "queueTitle",
@@ -818,7 +1116,7 @@ var NgxSmartPlayerAudioUiComponent = class NgxSmartPlayerAudioUiComponent {
818
1116
  saveLabel: "saveLabel",
819
1117
  cancelLabel: "cancelLabel",
820
1118
  refreshLabel: "refreshLabel",
821
- tracksCountLabel: "tracksCountLabel",
1119
+ queueCountLabel: "queueCountLabel",
822
1120
  newPlaylistPlaceholder: "newPlaylistPlaceholder",
823
1121
  renamePlaylistPlaceholder: "renamePlaylistPlaceholder",
824
1122
  remotePlaybackLabel: "remotePlaybackLabel",
@@ -837,31 +1135,45 @@ var NgxSmartPlayerAudioUiComponent = class NgxSmartPlayerAudioUiComponent {
837
1135
  currentArtworkUrl: "currentArtworkUrl",
838
1136
  favoriteActive: "favoriteActive",
839
1137
  favoriteLabel: "favoriteLabel",
840
- lockAvailable: "lockAvailable",
841
1138
  ringtoneAvailable: "ringtoneAvailable",
842
1139
  ringtoneLabel: "ringtoneLabel",
843
- lockLabel: "lockLabel",
844
- unlockLabel: "unlockLabel",
1140
+ trackActionsLabel: "trackActionsLabel",
845
1141
  favoriteActiveLabel: "favoriteActiveLabel",
846
1142
  favoritesLabel: "favoritesLabel",
847
1143
  queueItems: "queueItems",
1144
+ queueEditable: "queueEditable",
1145
+ queueMoveUpLabel: "queueMoveUpLabel",
1146
+ queueMoveDownLabel: "queueMoveDownLabel",
1147
+ queueRemoveLabel: "queueRemoveLabel",
848
1148
  currentTrackAvailable: "currentTrackAvailable",
849
1149
  playlistOptions: "playlistOptions",
1150
+ playlistsPageOpen: "playlistsPageOpen",
1151
+ playlistsSummary: "playlistsSummary",
850
1152
  playlistTargetTrack: "playlistTargetTrack",
851
1153
  removableItemIds: "removableItemIds",
852
1154
  stationForm: "stationForm",
853
1155
  settingsSections: "settingsSections",
1156
+ settingsBackLabel: "settingsBackLabel",
854
1157
  serverForm: "serverForm",
855
1158
  devicesOpen: "devicesOpen",
856
1159
  lyricsPanel: "lyricsPanel",
857
1160
  showDeviceButton: "showDeviceButton",
858
1161
  deviceItems: "deviceItems",
1162
+ outputItems: "outputItems",
1163
+ audioOutputId: "audioOutputId",
1164
+ castGroupLabel: "castGroupLabel",
1165
+ castGroupHint: "castGroupHint",
1166
+ outputGroupLabel: "outputGroupLabel",
1167
+ outputGroupHint: "outputGroupHint",
1168
+ searchDevicesLabel: "searchDevicesLabel",
1169
+ keepQueueLabel: "keepQueueLabel",
859
1170
  closeLabel: "closeLabel",
860
1171
  sourceChangeLabel: "sourceChangeLabel",
861
1172
  sourceChangeTitle: "sourceChangeTitle",
862
1173
  sourceDropTitle: "sourceDropTitle",
863
1174
  sourceDropHint: "sourceDropHint",
864
1175
  sourceChangeAccept: "sourceChangeAccept",
1176
+ showSourceButton: "showSourceButton",
865
1177
  folderImportLabel: "folderImportLabel",
866
1178
  libraryStatus: "libraryStatus",
867
1179
  libraryBusy: "libraryBusy",
@@ -878,8 +1190,25 @@ var NgxSmartPlayerAudioUiComponent = class NgxSmartPlayerAudioUiComponent {
878
1190
  revealFileLabel: "revealFileLabel"
879
1191
  },
880
1192
  outputs: {
1193
+ trailStep: "trailStep",
1194
+ viewModeChange: "viewModeChange",
1195
+ detailHeadAction: "detailHeadAction",
1196
+ sourceAction: "sourceAction",
1197
+ sectionMore: "sectionMore",
1198
+ viewFacetChange: "viewFacetChange",
1199
+ playerOpen: "playerOpen",
1200
+ emptyPageAction: "emptyPageAction",
1201
+ notificationAction: "notificationAction",
1202
+ notificationsOpen: "notificationsOpen",
1203
+ notificationsRead: "notificationsRead",
1204
+ playerBack: "playerBack",
1205
+ searchFilterChange: "searchFilterChange",
1206
+ searchBestAction: "searchBestAction",
1207
+ searchAgain: "searchAgain",
881
1208
  compactModeChange: "compactModeChange",
882
1209
  compactLyricsToggle: "compactLyricsToggle",
1210
+ playlistsOpen: "playlistsOpen",
1211
+ settingsBack: "settingsBack",
883
1212
  ended: "ended",
884
1213
  videoSize: "videoSize",
885
1214
  progress: "progress",
@@ -898,7 +1227,11 @@ var NgxSmartPlayerAudioUiComponent = class NgxSmartPlayerAudioUiComponent {
898
1227
  addLibraryItemNext: "addLibraryItemNext",
899
1228
  addLibraryItemToQueue: "addLibraryItemToQueue",
900
1229
  selectQueueItem: "selectQueueItem",
1230
+ queueMoveUp: "queueMoveUp",
1231
+ queueMoveDown: "queueMoveDown",
1232
+ queueRemove: "queueRemove",
901
1233
  createPlaylist: "createPlaylist",
1234
+ playerPageAction: "playerPageAction",
902
1235
  addCurrentToPlaylist: "addCurrentToPlaylist",
903
1236
  addTrackToPlaylist: "addTrackToPlaylist",
904
1237
  requestPlaylistTarget: "requestPlaylistTarget",
@@ -912,7 +1245,9 @@ var NgxSmartPlayerAudioUiComponent = class NgxSmartPlayerAudioUiComponent {
912
1245
  deletePlaylist: "deletePlaylist",
913
1246
  toggleDevices: "toggleDevices",
914
1247
  refreshDevices: "refreshDevices",
915
- openLyrics: "openLyrics",
1248
+ selectOutput: "selectOutput",
1249
+ keepQueueAsPlaylist: "keepQueueAsPlaylist",
1250
+ audioOutputApplied: "audioOutputApplied",
916
1251
  refreshLyrics: "refreshLyrics",
917
1252
  seekLyrics: "seekLyrics",
918
1253
  playOnDevice: "playOnDevice",
@@ -921,7 +1256,6 @@ var NgxSmartPlayerAudioUiComponent = class NgxSmartPlayerAudioUiComponent {
921
1256
  primaryPlaybackToggle: "primaryPlaybackToggle",
922
1257
  playerStateChange: "playerStateChange",
923
1258
  toggleFavorite: "toggleFavorite",
924
- toggleLock: "toggleLock",
925
1259
  makeRingtone: "makeRingtone",
926
1260
  revealFile: "revealFile",
927
1261
  sourceFileChange: "sourceFileChange",
@@ -931,6 +1265,7 @@ var NgxSmartPlayerAudioUiComponent = class NgxSmartPlayerAudioUiComponent {
931
1265
  outputVolumeChange: "outputVolumeChange",
932
1266
  outputMuteToggle: "outputMuteToggle"
933
1267
  },
1268
+ host: { listeners: { "document:keydown.escape": "onEscape()" } },
934
1269
  viewQueries: [
935
1270
  {
936
1271
  propertyName: "smartPlayer",
@@ -951,15 +1286,15 @@ var NgxSmartPlayerAudioUiComponent = class NgxSmartPlayerAudioUiComponent {
951
1286
  descendants: true
952
1287
  },
953
1288
  {
954
- propertyName: "lyricsLinesEl",
1289
+ propertyName: "queueListEl",
955
1290
  first: true,
956
- predicate: ["lyricsLines"],
1291
+ predicate: ["queueList"],
957
1292
  descendants: true
958
1293
  },
959
1294
  {
960
- propertyName: "queueListEl",
1295
+ propertyName: "playerLyricsEl",
961
1296
  first: true,
962
- predicate: ["queueList"],
1297
+ predicate: ["playerLyricsLines"],
963
1298
  descendants: true
964
1299
  },
965
1300
  {
@@ -979,6 +1314,12 @@ var NgxSmartPlayerAudioUiComponent = class NgxSmartPlayerAudioUiComponent {
979
1314
  first: true,
980
1315
  predicate: ["sheetButton"],
981
1316
  descendants: true
1317
+ },
1318
+ {
1319
+ propertyName: "trackMenuBox",
1320
+ first: true,
1321
+ predicate: ["trackMenuBox"],
1322
+ descendants: true
982
1323
  }
983
1324
  ],
984
1325
  ngImport: i0,
@@ -999,6 +1340,40 @@ var NgxSmartPlayerAudioUiComponent = class NgxSmartPlayerAudioUiComponent {
999
1340
  (dragleave)="onFileDragLeave($event)"
1000
1341
  (drop)="onFileDrop($event)"
1001
1342
  >
1343
+ @if (trackMenu) {
1344
+ <button
1345
+ class="ngxsp-wmp-trackMenuScrim"
1346
+ type="button"
1347
+ [attr.aria-label]="closeLabel + ' - ' + trackMenu.title"
1348
+ (click)="dismissTrackMenu()"
1349
+ (contextmenu)="$event.preventDefault(); dismissTrackMenu()"
1350
+ ></button>
1351
+ <div
1352
+ #trackMenuBox
1353
+ class="ngxsp-wmp-trackMenu"
1354
+ role="menu"
1355
+ tabindex="-1"
1356
+ [attr.aria-label]="trackMenu.title"
1357
+ [style.left.px]="trackMenu.x"
1358
+ [style.top.px]="trackMenu.y"
1359
+ (keydown)="onMenuKeys($event)"
1360
+ >
1361
+ <!-- Le nom de la boîte le dit déjà : laissé dans l'arbre, il s'entendait deux fois. -->
1362
+ <strong class="ngxsp-wmp-trackMenuTitle" aria-hidden="true">{{ trackMenu.title }}</strong>
1363
+ <button type="button" role="menuitem" (click)="runTrackAction('next')">
1364
+ <ngxsp-smart-icon name="next" /><span>{{ queueNextLabel }}</span>
1365
+ </button>
1366
+ <button type="button" role="menuitem" (click)="runTrackAction('queue')">
1367
+ <ngxsp-smart-icon name="playlist-plus" /><span>{{ queueAddLabel }}</span>
1368
+ </button>
1369
+ @if (isRemovable(trackMenu.id)) {
1370
+ <button type="button" role="menuitem" class="danger" (click)="runTrackAction('remove')">
1371
+ <ngxsp-smart-icon name="close" /><span>{{ removeItemLabel }}</span>
1372
+ </button>
1373
+ }
1374
+ </div>
1375
+ }
1376
+
1002
1377
  @if (fileDragActive) {
1003
1378
  <div class="ngxsp-wmp-dropOverlay" aria-hidden="true">
1004
1379
  <span class="ngxsp-wmp-dropIcon"><ngxsp-smart-icon name="folder" /></span>
@@ -1010,6 +1385,9 @@ var NgxSmartPlayerAudioUiComponent = class NgxSmartPlayerAudioUiComponent {
1010
1385
  }
1011
1386
 
1012
1387
  @if (config) {
1388
+ <!-- The engine, and only the engine: the cover and the waveform of this application are its
1389
+ own, so the player is mounted in a box of a pixel. Its own stage for a sound — a disc
1390
+ turning, five bars pulsing — went on turning inside that box, clipped away. -->
1013
1391
  <div class="ngxsp-wmp-engineMount" aria-hidden="true" inert>
1014
1392
  <ngx-smart-player
1015
1393
  [config]="config"
@@ -1017,6 +1395,7 @@ var NgxSmartPlayerAudioUiComponent = class NgxSmartPlayerAudioUiComponent {
1017
1395
  [ports]="ports"
1018
1396
  [engines]="engines"
1019
1397
  [debug]="debug"
1398
+ [handlingFailure]="handlingFailure"
1020
1399
  [startTimeSec]="startTimeSec"
1021
1400
  [autoplayOnInit]="autoplayOnInit"
1022
1401
  [playRequest]="playRequest"
@@ -1028,7 +1407,10 @@ var NgxSmartPlayerAudioUiComponent = class NgxSmartPlayerAudioUiComponent {
1028
1407
  [repeatLabel]="repeatLabel"
1029
1408
  [hasPlaylistControls]="hasPlaylistControls"
1030
1409
  [mediaMode]="'audio'"
1410
+ [showAudioVisual]="false"
1031
1411
  [castEnabled]="castEnabled"
1412
+ [castLabels]="castLabels"
1413
+
1032
1414
  (ended)="ended.emit()"
1033
1415
  (videoSize)="videoSize.emit($event)"
1034
1416
  (prev)="prev.emit()"
@@ -1064,6 +1446,12 @@ var NgxSmartPlayerAudioUiComponent = class NgxSmartPlayerAudioUiComponent {
1064
1446
  {{ statusMessage }}
1065
1447
  </div>
1066
1448
  }
1449
+ <!--
1450
+ What the top bar carries, when it carries anything. A host whose Sources page owns the
1451
+ folders says so by turning this off: one place for one thing beats two that can give
1452
+ different answers. A host without such a page keeps it, and that is the default.
1453
+ -->
1454
+ @if (showSourceButton) {
1067
1455
  <!-- The import action lives in the top bar, as in the video player. A folder is what
1068
1456
  builds the library, so it is the action wherever one can be loaded. -->
1069
1457
  @if (folderImportLabel) {
@@ -1077,6 +1465,7 @@ var NgxSmartPlayerAudioUiComponent = class NgxSmartPlayerAudioUiComponent {
1077
1465
  <span>{{ sourceChangeLabel }}</span>
1078
1466
  </button>
1079
1467
  }
1468
+ }
1080
1469
  <input #audioFileInput class="ngxsp-wmp-fileInput" type="file" [accept]="sourceChangeAccept" aria-hidden="true" tabindex="-1" (change)="onSourceFileInput($event)" />
1081
1470
  @if (languageOptions.length) {
1082
1471
  <div class="ngxsp-wmp-segmented ngxsp-wmp-languageSwitch" role="group" [attr.aria-label]="languageLabel">
@@ -1088,8 +1477,51 @@ var NgxSmartPlayerAudioUiComponent = class NgxSmartPlayerAudioUiComponent {
1088
1477
  </div>
1089
1478
  }
1090
1479
  <button class="ngxsp-wmp-iconButton" type="button" [class.active]="queuePanelOpen" [attr.aria-pressed]="queuePanelOpen" [title]="queueTitle" [attr.aria-label]="queueTitle" (click)="toggleQueuePanel()">
1091
- <ngxsp-smart-icon name="panel-right" />
1480
+ <ngxsp-smart-icon name="queue" />
1092
1481
  </button>
1482
+ <!-- The bell the compact boards draw, with the dot that says something happened and
1483
+ nobody has looked. The video player has had one; this side had none. -->
1484
+ <!--
1485
+ What the application did without being asked is read in passing, over whatever one
1486
+ was doing. Notifications.dc.html hangs it under the bell: a page took the whole
1487
+ window away to say it, and then had to be left again.
1488
+ -->
1489
+ <!-- Escape closes it, wherever the keyboard is: on the bell, or inside the dialog. -->
1490
+ <span class="ngxsp-wmp-bellWrap">
1491
+ <!-- Escape closes it from here as well as from inside: a dialog one cannot dismiss by
1492
+ key is a trap, and the hand is usually still on the button that opened it. -->
1493
+ <button class="ngxsp-wmp-iconButton ngxsp-wmp-bellButton" type="button" aria-haspopup="dialog" [class.active]="!!notificationsPage" [attr.aria-expanded]="!!notificationsPage" [attr.aria-label]="notificationsUnread ? notificationsLabel + ' (' + notificationsUnread + ')' : notificationsLabel" [title]="notificationsLabel" (click)="notificationsOpen.emit()">
1494
+ <ngxsp-smart-icon name="bell" />
1495
+ @if (notificationsUnread) { <i class="ngxsp-wmp-bellDot" aria-hidden="true"></i> }
1496
+ </button>
1497
+ @if (notificationsPage) {
1498
+ <div class="ngxsp-wmp-notificationsPopover" role="dialog" [attr.aria-label]="notificationsLabel">
1499
+ <ngxsp-notifications [page]="notificationsPage" (entryAction)="notificationAction.emit($event)" (markAllRead)="notificationsRead.emit()" />
1500
+ </div>
1501
+ }
1502
+ </span>
1503
+ @if (quickViews.length) {
1504
+ <!-- On a phone the rail is a strip one scrolls, and these views sat at the far end of
1505
+ it: settings were eight drags away, for the view a listener opens most. They move
1506
+ up here, on the actions side, and leave the strip at that width rather than being
1507
+ listed twice, which is what data-quick does below. Icon only: four more words
1508
+ beside the folder button would read as a menu rather than as a way out of one. -->
1509
+ <nav class="ngxsp-wmp-quickViews" [attr.aria-label]="quickViewsLabel">
1510
+ @for (view of quickViews; track view.id) {
1511
+ <button
1512
+ class="ngxsp-wmp-quickView"
1513
+ type="button"
1514
+ [class.active]="view.active"
1515
+ [attr.aria-current]="view.active ? 'page' : null"
1516
+ [title]="view.label"
1517
+ [attr.aria-label]="view.label"
1518
+ (click)="selectLibraryView.emit(view.id)"
1519
+ >
1520
+ <ngxsp-smart-icon [name]="viewIcon(view.id)" />
1521
+ </button>
1522
+ }
1523
+ </nav>
1524
+ }
1093
1525
  </div>
1094
1526
  </header>
1095
1527
 
@@ -1097,18 +1529,30 @@ var NgxSmartPlayerAudioUiComponent = class NgxSmartPlayerAudioUiComponent {
1097
1529
  @if (libraryViews.length) {
1098
1530
  <nav class="ngxsp-wmp-nav" [attr.aria-label]="libraryViewsLabel">
1099
1531
  @for (view of primaryViews; track view.id) {
1100
- <button class="ngxsp-wmp-navItem" [class.active]="view.active" type="button" [attr.aria-current]="view.active ? 'page' : null" [attr.aria-label]="view.count !== undefined ? view.label + ' ' + view.count : view.label" (click)="selectLibraryView.emit(view.id)">
1532
+ <button class="ngxsp-wmp-navItem" [attr.data-quick]="hasQuickView(view.id) ? '' : null" [class.active]="view.active" type="button" [attr.aria-current]="view.active ? 'page' : null" [attr.aria-expanded]="view.children?.length ? !!view.active : null" [attr.aria-label]="view.count !== undefined ? view.label + ' ' + view.count : view.label" (click)="selectLibraryView.emit(view.id)">
1101
1533
  <ngxsp-smart-icon [name]="viewIcon(view.id)" />
1102
1534
  <span>{{ view.label }}</span>
1103
- @if (view.count !== undefined) {
1535
+ @if (view.children?.length) {
1536
+ <ngxsp-smart-icon class="ngxsp-wmp-navChevron" [name]="view.active ? 'chevron-down' : 'chevron-right'" />
1537
+ } @else if (view.count !== undefined) {
1104
1538
  <small>{{ view.count }}</small>
1105
1539
  }
1106
1540
  </button>
1541
+ @if (view.active) {
1542
+ @for (child of view.children ?? []; track child.id) {
1543
+ <button class="ngxsp-wmp-navItem ngxsp-wmp-navChild" [class.active]="child.active" type="button" [attr.aria-current]="child.active ? 'page' : null" [attr.aria-label]="child.count !== undefined ? child.label + ' ' + child.count : child.label" (click)="selectLibraryView.emit(child.id)">
1544
+ <span>{{ child.label }}</span>
1545
+ @if (child.count !== undefined) {
1546
+ <small>{{ child.count }}</small>
1547
+ }
1548
+ </button>
1549
+ }
1550
+ }
1107
1551
  }
1108
1552
  @if (collectionViews.length) {
1109
1553
  <span class="ngxsp-wmp-navDivider" aria-hidden="true"></span>
1110
1554
  @for (view of collectionViews; track view.id) {
1111
- <button class="ngxsp-wmp-navItem" [class.active]="view.active" type="button" [attr.aria-current]="view.active ? 'page' : null" [attr.aria-label]="view.count !== undefined ? view.label + ' ' + view.count : view.label" (click)="selectLibraryView.emit(view.id)">
1555
+ <button class="ngxsp-wmp-navItem" [attr.data-quick]="hasQuickView(view.id) ? '' : null" [class.active]="view.active" type="button" [attr.aria-current]="view.active ? 'page' : null" [attr.aria-label]="view.count !== undefined ? view.label + ' ' + view.count : view.label" (click)="selectLibraryView.emit(view.id)">
1112
1556
  <ngxsp-smart-icon [name]="viewIcon(view.id)" />
1113
1557
  <span>{{ view.label }}</span>
1114
1558
  @if (view.count !== undefined) {
@@ -1120,7 +1564,7 @@ var NgxSmartPlayerAudioUiComponent = class NgxSmartPlayerAudioUiComponent {
1120
1564
  @if (appViews.length) {
1121
1565
  <span class="ngxsp-wmp-navDivider" aria-hidden="true"></span>
1122
1566
  @for (view of appViews; track view.id) {
1123
- <button class="ngxsp-wmp-navItem" [class.active]="view.active" type="button" [attr.aria-current]="view.active ? 'page' : null" [attr.aria-label]="view.label" (click)="selectLibraryView.emit(view.id)">
1567
+ <button class="ngxsp-wmp-navItem" [attr.data-quick]="hasQuickView(view.id) ? '' : null" [class.active]="view.active" type="button" [attr.aria-current]="view.active ? 'page' : null" [attr.aria-label]="view.label" (click)="selectLibraryView.emit(view.id)">
1124
1568
  <ngxsp-smart-icon [name]="viewIcon(view.id)" />
1125
1569
  <span>{{ view.label }}</span>
1126
1570
  </button>
@@ -1142,7 +1586,125 @@ var NgxSmartPlayerAudioUiComponent = class NgxSmartPlayerAudioUiComponent {
1142
1586
  </div>
1143
1587
  </aside>
1144
1588
 
1589
+ <!-- A phone puts the families where a thumb reaches them. The rail flattened the whole tree
1590
+ into one strip one had to scroll sideways; the boards draw three fixed targets at the
1591
+ bottom, and the facets of the open family at the top of what it holds. -->
1592
+ <nav class="ngxsp-wmp-tabBar" [attr.aria-label]="libraryViewsLabel">
1593
+ @for (view of primaryViews; track view.id) {
1594
+ @if (!hasQuickView(view.id)) {
1595
+ <button class="ngxsp-wmp-tab" type="button" [class.active]="view.active" [attr.aria-current]="view.active ? 'page' : null" (click)="selectLibraryView.emit(view.id)">
1596
+ <ngxsp-smart-icon [name]="viewIcon(view.id)" />
1597
+ <span>{{ view.label }}</span>
1598
+ </button>
1599
+ }
1600
+ }
1601
+ </nav>
1602
+
1145
1603
  <section #libraryScroll class="ngxsp-wmp-main" [attr.aria-label]="libraryContentTitle || libraryTitle">
1604
+ @if (playerPage; as page) {
1605
+ <!-- A track as a page: the board draws the cover large, what it is made of under it, and
1606
+ the words beside it. The video player has had a page of its own since it became a
1607
+ place one goes into; this side listened from the bottom bar and nowhere else. -->
1608
+ <section class="ngxsp-wmp-playerPage" [attr.aria-label]="page.title">
1609
+ @if (page.backLabel) {
1610
+ <button class="ngxsp-wmp-playerBack" type="button" [attr.aria-label]="page.backLabel" [title]="page.backLabel" (click)="playerBack.emit()">
1611
+ <ngxsp-smart-icon name="chevron-left" />
1612
+ <span>{{ page.backLabel }}</span>
1613
+ </button>
1614
+ }
1615
+ <div class="ngxsp-wmp-playerStage">
1616
+ <div class="ngxsp-wmp-playerSide">
1617
+ <div class="ngxsp-wmp-playerArt ngxsp-wmp-cover" [class.has-image]="!!artworkSrc(page.artworkUrl)" [attr.data-tone]="artTone(currentTrackId || page.title)">
1618
+ @if (artworkSrc(page.artworkUrl); as artworkUrl) {
1619
+ <img [src]="artworkUrl" alt="" (error)="markArtworkFailed(artworkUrl)" />
1620
+ } @else {
1621
+ <ngxsp-smart-icon name="music" />
1622
+ }
1623
+ </div>
1624
+ <div class="ngxsp-wmp-playerCopy">
1625
+ <h1>{{ page.title }}</h1>
1626
+ @if (page.artist) { <p>{{ page.artist }}</p> }
1627
+ @if (page.meta) { <small>{{ page.meta }}</small> }
1628
+ @if (page.actions?.length) {
1629
+ <div class="ngxsp-wmp-detailActions">
1630
+ @for (action of page.actions; track action.id) {
1631
+ <button
1632
+ class="ngxsp-wmp-detailAction"
1633
+ type="button"
1634
+ [class.primary]="action.primary"
1635
+ [class.compact]="action.compact"
1636
+ [class.active]="action.active"
1637
+ [disabled]="action.disabled"
1638
+ [attr.aria-pressed]="action.active === undefined ? null : action.active"
1639
+ [attr.aria-label]="action.label"
1640
+ [title]="action.label"
1641
+ (click)="playerPageAction.emit(action.id)"
1642
+ >
1643
+ @if (action.icon) { <ngxsp-smart-icon [name]="action.icon" /> }
1644
+ @if (!action.compact) { <span>{{ action.label }}</span> }
1645
+ </button>
1646
+ }
1647
+ </div>
1648
+ }
1649
+ </div>
1650
+ <!-- A sound has no picture of its own to show: the bars say how far it has gone. -->
1651
+ <div class="ngxsp-wmp-playerWave" aria-hidden="true">
1652
+ @for (bar of waveformBars; track $index) {
1653
+ <span [class.played]="$index < playedBars" [style.height.%]="bar"></span>
1654
+ }
1655
+ </div>
1656
+ </div>
1657
+ @if (lyricsPanel; as lyrics) {
1658
+ <section class="ngxsp-wmp-playerLyrics" [attr.aria-label]="lyrics.title" [attr.aria-busy]="lyrics.busy ? 'true' : null">
1659
+ <div class="ngxsp-wmp-playerLyricsHead">
1660
+ <ngxsp-smart-icon name="lyrics" />
1661
+ <span>{{ lyrics.status || lyrics.title }}</span>
1662
+ @if (lyrics.searchLabel) {
1663
+ <button class="ngxsp-wmp-smallButton" type="button" [disabled]="lyrics.busy" (click)="refreshLyrics.emit()">{{ lyrics.searchLabel }}</button>
1664
+ }
1665
+ </div>
1666
+ <div class="ngxsp-wmp-playerLyricsLines" #playerLyricsLines>
1667
+ @for (line of lyrics.lines; track $index) {
1668
+ @if (line.timeSec !== undefined) {
1669
+ <button type="button" [class.active]="$index === activeLyricsIndex" [attr.aria-current]="$index === activeLyricsIndex ? 'true' : null" [attr.aria-label]="(lyrics.seekLabel ? lyrics.seekLabel + ' - ' : '') + line.text" (click)="playFromLyrics(line.timeSec)">{{ line.text || '♪' }}</button>
1670
+ } @else {
1671
+ <p>{{ line.text }}</p>
1672
+ }
1673
+ }
1674
+ </div>
1675
+ </section>
1676
+ }
1677
+ </div>
1678
+ </section>
1679
+ }
1680
+ @if (!playerPage) {
1681
+ @if (openViewChildren.length) {
1682
+ <div class="ngxsp-wmp-tabFacets" role="group" [attr.aria-label]="libraryViewsLabel">
1683
+ @for (child of openViewChildren; track child.id) {
1684
+ <button type="button" [class.active]="child.active" [attr.aria-current]="child.active ? 'page' : null" (click)="selectLibraryView.emit(child.id)">
1685
+ <span>{{ child.label }}</span>
1686
+ @if (child.count !== undefined) { <small>{{ child.count }}</small> }
1687
+ </button>
1688
+ }
1689
+ </div>
1690
+ }
1691
+ <!--
1692
+ Where one is, and the way back up through it. The video player has had this since its
1693
+ views became places one goes into; an album one has opened is as deep as a season, and
1694
+ the listener was told as little about it as a Back button can say.
1695
+ -->
1696
+ @if (trail.length > 1) {
1697
+ <nav class="ngxsp-wmp-trail" [attr.aria-label]="trailLabel">
1698
+ @for (step of trail; track step.id; let last = $last) {
1699
+ @if (last) {
1700
+ <b aria-current="page">{{ step.label }}</b>
1701
+ } @else {
1702
+ <button class="ngxsp-wmp-trailStep" type="button" (click)="trailStep.emit(step.id)">{{ step.label }}</button>
1703
+ <span aria-hidden="true">›</span>
1704
+ }
1705
+ }
1706
+ </nav>
1707
+ }
1146
1708
  @if (isHomeView) {
1147
1709
  <section class="ngxsp-wmp-nowPanel" [attr.aria-label]="nowListeningLabel">
1148
1710
  <div class="ngxsp-wmp-art ngxsp-wmp-cover" [class.has-image]="!!artworkSrc(currentArtworkUrl)" [attr.data-tone]="artTone(currentTrackId || currentTitle)">
@@ -1213,6 +1775,14 @@ var NgxSmartPlayerAudioUiComponent = class NgxSmartPlayerAudioUiComponent {
1213
1775
  }
1214
1776
 
1215
1777
  <section class="ngxsp-wmp-librarySurface">
1778
+ <!-- A page with a head of its own does not take the view's as well: Sources says its
1779
+ own name, and the eyebrow above it would say the family a second time.
1780
+
1781
+ The notifications are not one of those pages any more. They hang off the bell as a
1782
+ dialog over the view, and the view is still there underneath: listed here, opening
1783
+ the bell tore the heading, the back button and the detail block off the page one was
1784
+ reading, which then came back on its own when the dialog closed. -->
1785
+ @if (!sourcesPage && !emptyPage && !playlistsPageOpen) {
1216
1786
  <header class="ngxsp-wmp-sectionHeader">
1217
1787
  @if (backLabel) {
1218
1788
  <button class="ngxsp-wmp-backButton" type="button" [attr.aria-label]="backLabel" [title]="backLabel" (click)="back.emit()">
@@ -1220,13 +1790,70 @@ var NgxSmartPlayerAudioUiComponent = class NgxSmartPlayerAudioUiComponent {
1220
1790
  <span>{{ backLabel }}</span>
1221
1791
  </button>
1222
1792
  }
1223
- <span>{{ libraryEyebrow }}</span>
1793
+ @if (detailHead; as head) {
1794
+ <!-- What one has opened says what it is: the eyebrow is the trail's business now, and
1795
+ the plain heading would say the name a second time. -->
1796
+ <div class="ngxsp-wmp-detailHead">
1797
+ <div class="ngxsp-wmp-detailArt">
1798
+ @if (head.artworkUrl) {
1799
+ <img [src]="head.artworkUrl" alt="" loading="lazy" decoding="async" />
1800
+ }
1801
+ </div>
1802
+ <div class="ngxsp-wmp-detailText">
1803
+ <h1>{{ head.title }}</h1>
1804
+ @if (head.meta) { <p class="ngxsp-wmp-detailMeta">{{ head.meta }}</p> }
1805
+ @if (head.format) { <p class="ngxsp-wmp-detailFormat">{{ head.format }}</p> }
1806
+ @if (head.actions?.length) {
1807
+ <div class="ngxsp-wmp-detailActions">
1808
+ @for (action of head.actions; track action.id) {
1809
+ <button
1810
+ class="ngxsp-wmp-detailAction"
1811
+ type="button"
1812
+ [class.primary]="action.primary"
1813
+ [class.compact]="action.compact"
1814
+ [class.active]="action.active"
1815
+ [disabled]="action.disabled"
1816
+ [attr.aria-pressed]="action.active === undefined ? null : action.active"
1817
+ [attr.aria-label]="action.label"
1818
+ [title]="action.label"
1819
+ (click)="detailHeadAction.emit(action.id)"
1820
+ >
1821
+ @if (action.icon) { <ngxsp-smart-icon [name]="action.icon" /> }
1822
+ @if (!action.compact) { <span>{{ action.label }}</span> }
1823
+ </button>
1824
+ }
1825
+ </div>
1826
+ }
1827
+ </div>
1828
+ </div>
1829
+ } @else if (hasSearchQuery) {
1830
+ <!-- A search is a page of its own: what was looked for, and how much answered. The
1831
+ view's own name would say where one happens to stand, which is not the subject. -->
1832
+ <h1 class="ngxsp-wmp-searchTitle">{{ searchResultsTitle }}</h1>
1833
+ @if (searchResultsSummary) { <p class="ngxsp-wmp-searchSummary">{{ searchResultsSummary }}</p> }
1834
+ } @else {
1835
+ <!-- A page that says what it is for says it under its own name, and nothing above it:
1836
+ the boards draw one line there, not two that say different things. -->
1837
+ @if (!viewIntro) { <span>{{ libraryEyebrow }}</span> }
1224
1838
  @if (isHomeView) {
1225
1839
  <h2>{{ libraryContentTitle || libraryTitle }}</h2>
1226
1840
  } @else {
1227
1841
  <h1>{{ libraryContentTitle || libraryTitle }}</h1>
1228
1842
  }
1843
+ <!-- What the page is for, said once under its name. -->
1844
+ @if (viewIntro) { <p class="ngxsp-wmp-viewIntro">{{ viewIntro }}</p> }
1845
+ <!-- The shape the view is read in, which the boards draw beside its name — on a list,
1846
+ not on what one has opened: an album is its tracks, in order, and not on a page of
1847
+ counters over one list, which is not a shelf one reshapes. -->
1848
+ @if (gridLabel && tableLabel && !viewFacets.length && !settingsSections.length) {
1849
+ <div class="ngxsp-wmp-viewSwitch" role="group" [attr.aria-label]="viewSwitchLabel">
1850
+ <button type="button" [class.active]="viewMode === 'grid'" [attr.aria-pressed]="viewMode === 'grid'" (click)="viewModeChange.emit('grid')">{{ gridLabel }}</button>
1851
+ <button type="button" [class.active]="viewMode === 'list'" [attr.aria-pressed]="viewMode === 'list'" (click)="viewModeChange.emit('list')">{{ tableLabel }}</button>
1852
+ </div>
1853
+ }
1854
+ }
1229
1855
  </header>
1856
+ }
1230
1857
  <div class="ngxsp-wmp-sectionScroll">
1231
1858
  @if (serverForm; as form) {
1232
1859
  <form class="ngxsp-wmp-stationForm" (submit)="submitServer($event)">
@@ -1272,22 +1899,197 @@ var NgxSmartPlayerAudioUiComponent = class NgxSmartPlayerAudioUiComponent {
1272
1899
  @if (form.hint) { <small class="ngxsp-wmp-stationHint">{{ form.hint }}</small> }
1273
1900
  </form>
1274
1901
  }
1902
+ @if (emptyPage) {
1903
+ <!-- The first opening: nothing has been loaded, and the page says what to do about it.
1904
+ Drawn by the shared component, so both players say it the same way. -->
1905
+ <ngxsp-empty-page [page]="emptyPage" (pageAction)="emptyPageAction.emit($event)" />
1906
+ }
1275
1907
  @if (settingsSections.length) {
1908
+ <!-- The settings have always been a page here rather than a panel over one, but a page
1909
+ needs a way out, and theirs was the rail's own entry. That entry leaves the strip
1910
+ on a phone now that the title bar carries it, so the page says where it goes back
1911
+ to, as the video player's does. -->
1912
+ @if (settingsBackLabel) {
1913
+ <button class="ngxsp-wmp-backButton" type="button" [attr.aria-label]="settingsBackLabel" [title]="settingsBackLabel" (click)="settingsBack.emit()">
1914
+ <ngxsp-smart-icon name="chevron-left" />
1915
+ <span>{{ settingsBackLabel }}</span>
1916
+ </button>
1917
+ }
1276
1918
  <ngxsp-settings [sections]="settingsSections" (settingChange)="settingChange.emit($event)" (settingAction)="settingAction.emit($event)" />
1277
1919
  }
1920
+ @if (playlistsPageOpen) {
1921
+ <!--
1922
+ The lists are a view of the rail, beside Sources. They were a page of the title bar,
1923
+ which is where the three that belong to no family are reached — and a list of one's
1924
+ own making belongs to the library's side of the window, not to that row.
1925
+ An entry of the rail is a destination, so there is nothing to unwind and no way back
1926
+ to draw: one leaves it by going somewhere, which is what the rail is for.
1927
+ -->
1928
+ <section class="ngxsp-wmp-playlistsPage" [attr.aria-label]="playlistsLabel">
1929
+ <div class="ngxsp-wmp-playlistsHead">
1930
+ <h1>{{ playlistsLabel }}</h1>
1931
+ <!-- Combien il y en a, et ce qu'elles sont : la maquette écrit cette ligne sous le
1932
+ titre, comme la page des sources écrit la sienne. -->
1933
+ @if (playlistsSummary) { <p>{{ playlistsSummary }}</p> }
1934
+ </div>
1935
+ <section class="ngxsp-wmp-management">
1936
+ <div class="ngxsp-wmp-inlineForm">
1937
+ <input [value]="playlistDraftName" (input)="onPlaylistDraftInput($event)" (keydown.enter)="submitCreatePlaylist()" type="text" [placeholder]="newPlaylistPlaceholder" [attr.aria-label]="newPlaylistPlaceholder" />
1938
+ <button class="ngxsp-wmp-smallButton primary" type="button" (click)="submitCreatePlaylist()" [disabled]="!playlistDraftName.trim()">{{ createLabel }}</button>
1939
+ </div>
1940
+ @if (playlistTargetTrack; as target) {
1941
+ <div class="ngxsp-wmp-targetBanner">
1942
+ <span>{{ playlistTargetLabel }}<strong>{{ target.title }}</strong></span>
1943
+ <button class="ngxsp-wmp-smallButton" type="button" (click)="cancelPlaylistTarget.emit()">{{ cancelLabel }}</button>
1944
+ </div>
1945
+ }
1946
+ <div class="ngxsp-wmp-targets">
1947
+ @for (playlist of playlistOptions; track playlist.id) {
1948
+ <div class="ngxsp-wmp-target">
1949
+ <div class="ngxsp-wmp-targetMain">
1950
+ <span class="ngxsp-wmp-targetIcon" aria-hidden="true"><ngxsp-smart-icon name="list" /></span>
1951
+ <span class="ngxsp-wmp-rowCopy">
1952
+ <strong>{{ playlist.name }}</strong>
1953
+ @if (playlist.countLabel) { <small>{{ playlist.countLabel }}</small> }
1954
+ </span>
1955
+ @if (playlistTargetTrack || currentTrackAvailable) {
1956
+ <button class="ngxsp-wmp-smallButton" type="button" [attr.aria-label]="addLabel + ' - ' + playlist.name" (click)="addToPlaylist(playlist.id)">
1957
+ <ngxsp-smart-icon name="plus" />
1958
+ <span>{{ addLabel }}</span>
1959
+ </button>
1960
+ }
1961
+ </div>
1962
+ @if (editingPlaylistId === playlist.id) {
1963
+ <div class="ngxsp-wmp-inlineForm">
1964
+ <input [value]="renameDraftName" (input)="onRenameDraftInput($event)" (keydown.enter)="submitRenamePlaylist()" type="text" [placeholder]="renamePlaylistPlaceholder" [attr.aria-label]="renamePlaylistPlaceholder" />
1965
+ <button class="ngxsp-wmp-smallButton primary" type="button" (click)="submitRenamePlaylist()" [disabled]="!renameDraftName.trim()">{{ saveLabel }}</button>
1966
+ <button class="ngxsp-wmp-smallButton" type="button" (click)="cancelRenamePlaylist()">{{ cancelLabel }}</button>
1967
+ </div>
1968
+ } @else {
1969
+ <div class="ngxsp-wmp-targetActions">
1970
+ <button type="button" (click)="startRenamePlaylist(playlist.id, playlist.name)">{{ renameLabel }}</button>
1971
+ <button type="button" class="danger" (click)="deletePlaylist.emit(playlist.id)">{{ deleteLabel }}</button>
1972
+ </div>
1973
+ }
1974
+ </div>
1975
+ } @empty {
1976
+ <div class="ngxsp-wmp-emptyLibrary">{{ emptyPlaylistTargetsLabel }}</div>
1977
+ }
1978
+ </div>
1979
+ @if (!playlistTargetTrack && !currentTrackAvailable && playlistOptions.length) {
1980
+ <div class="ngxsp-wmp-emptyLibrary">{{ selectTrackForPlaylistLabel }}</div>
1981
+ }
1982
+ </section>
1983
+ </section>
1984
+ }
1985
+ @if (sourcesPage; as page) {
1986
+ <section class="ngxsp-wmp-sourcesPage" [attr.aria-label]="page.title">
1987
+ <div class="ngxsp-wmp-sourcesHead">
1988
+ <div>
1989
+ <h1>{{ page.title }}</h1>
1990
+ @if (page.summary) { <p>{{ page.summary }}</p> }
1991
+ </div>
1992
+ @if (page.addLabel) {
1993
+ <button class="ngxsp-wmp-detailAction accent" type="button" (click)="sourceAction.emit({ sourceId: '', actionId: 'add' })">{{ page.addLabel }}</button>
1994
+ }
1995
+ </div>
1996
+ @for (group of page.groups; track group.id) {
1997
+ <h2 class="ngxsp-wmp-sourceGroupTitle">{{ group.title }}</h2>
1998
+ <div class="ngxsp-wmp-sourceRows">
1999
+ @for (row of group.rows; track row.id) {
2000
+ <div class="ngxsp-wmp-sourceRow" [class.active]="row.active">
2001
+ <span class="ngxsp-wmp-sourceIcon" aria-hidden="true"><ngxsp-smart-icon [name]="row.icon || 'folder'" /></span>
2002
+ <span class="ngxsp-wmp-sourceCopy">
2003
+ <strong>{{ row.title }}</strong>
2004
+ @if (row.detail) { <small>{{ row.detail }}</small> }
2005
+ </span>
2006
+ @if (row.state) { <span class="ngxsp-wmp-sourceState">{{ row.state }}</span> }
2007
+ @for (action of row.actions ?? []; track action.id) {
2008
+ <button class="ngxsp-wmp-detailAction" type="button" [disabled]="action.disabled" (click)="sourceAction.emit({ sourceId: row.id, actionId: action.id })">{{ action.label }}</button>
2009
+ }
2010
+ </div>
2011
+ }
2012
+ </div>
2013
+ }
2014
+ @if (page.footerLabel) {
2015
+ <button class="ngxsp-wmp-sourceRow footer" type="button" (click)="sourceAction.emit({ sourceId: '', actionId: 'add-server' })">
2016
+ <span class="ngxsp-wmp-sourceIcon dashed" aria-hidden="true"><ngxsp-smart-icon name="plus" /></span>
2017
+ <span class="ngxsp-wmp-sourceCopy">
2018
+ <strong>{{ page.footerLabel }}</strong>
2019
+ @if (page.footerHint) { <small>{{ page.footerHint }}</small> }
2020
+ </span>
2021
+ </button>
2022
+ }
2023
+ </section>
2024
+ }
2025
+ <!-- The facets of the page, which the boards put here rather than in the rail: a page
2026
+ with one list under a row of counters, not two entries nobody counted. A search
2027
+ replaces the page's content, and brings chips of its own. -->
2028
+ @if (viewFacets.length && !hasSearchQuery) {
2029
+ <div class="ngxsp-wmp-searchFilters ngxsp-wmp-viewFacets" role="group" [attr.aria-label]="viewFacetLabel">
2030
+ @for (facet of viewFacets; track facet.id) {
2031
+ <button type="button" [class.active]="facet.active" [disabled]="facet.disabled" [attr.aria-pressed]="!!facet.active" (click)="selectViewFacet(facet)">
2032
+ <span>{{ facet.label }}</span>
2033
+ @if (facet.count !== undefined) { <small>{{ facet.count }}</small> }
2034
+ </button>
2035
+ }
2036
+ </div>
2037
+ }
2038
+ @if (hasSearchQuery) {
2039
+ @if (searchFilters.length) {
2040
+ <div class="ngxsp-wmp-searchFilters" role="group" [attr.aria-label]="searchFilterLabel">
2041
+ @for (filter of searchFilters; track filter.id) {
2042
+ <button type="button" [class.active]="filter.active" [disabled]="filter.disabled" [attr.aria-pressed]="!!filter.active" (click)="selectSearchFilter(filter)">
2043
+ <span>{{ filter.label }}</span>
2044
+ @if (filter.count !== undefined) { <small>{{ filter.count }}</small> }
2045
+ </button>
2046
+ }
2047
+ </div>
2048
+ }
2049
+ @if (searchBest; as best) {
2050
+ <section class="ngxsp-wmp-searchBestBlock">
2051
+ <h2 class="ngxsp-wmp-sourceGroupTitle">{{ searchBestTitle }}</h2>
2052
+ <article class="ngxsp-wmp-searchBest">
2053
+ <button class="ngxsp-wmp-searchBestArt ngxsp-wmp-cover" type="button" [class.has-image]="!!artworkSrc(best.item.artworkUrl)" [attr.data-tone]="artTone(best.item.id)" [attr.aria-label]="playLabel + ' ' + best.item.title" (click)="searchBestAction.emit('open')">
2054
+ @if (artworkSrc(best.item.artworkUrl); as artworkUrl) {
2055
+ <img [src]="artworkUrl" alt="" (error)="markArtworkFailed(artworkUrl)" loading="lazy" decoding="async" />
2056
+ } @else {
2057
+ <ngxsp-smart-icon name="music" />
2058
+ }
2059
+ </button>
2060
+ <div class="ngxsp-wmp-searchBestCopy">
2061
+ <h3>@for (part of searchParts(best.item.title); track $index) {@if (part.hit) {<mark>{{ part.text }}</mark>} @else {<span>{{ part.text }}</span>}}</h3>
2062
+ @if (searchBestMeta(best); as meta) { <p>{{ meta }}</p> }
2063
+ @if (best.note) { <small>{{ best.note }}</small> }
2064
+ @if (best.actions?.length) {
2065
+ <div class="ngxsp-wmp-detailActions">
2066
+ @for (action of best.actions; track action.id) {
2067
+ <button class="ngxsp-wmp-detailAction" type="button" [class.primary]="action.primary" [disabled]="action.disabled" [attr.aria-label]="action.label" [title]="action.label" (click)="searchBestAction.emit(action.id)">
2068
+ @if (action.icon) { <ngxsp-smart-icon [name]="action.icon" /> }
2069
+ <span>{{ action.label }}</span>
2070
+ </button>
2071
+ }
2072
+ </div>
2073
+ }
2074
+ </div>
2075
+ </article>
2076
+ </section>
2077
+ }
2078
+ }
1278
2079
  @for (section of librarySections; track section.id) {
1279
2080
  <section class="ngxsp-wmp-section">
1280
- @if (section.title !== (libraryContentTitle || libraryTitle)) {
2081
+ <!-- A lone list under chips that already name it does not need a heading saying so. -->
2082
+ @if (section.title !== (libraryContentTitle || libraryTitle) && !(viewFacets.length && librarySections.length === 1)) {
1281
2083
  @if (isHomeView) { <h3>{{ section.title }}</h3> } @else { <h2>{{ section.title }}</h2> }
1282
2084
  }
1283
2085
  @if (section.layout === 'cards') {
1284
2086
  <div class="ngxsp-wmp-cardGrid">
1285
2087
  @for (item of section.items; track item.id) {
1286
- <div class="ngxsp-wmp-card" [class.active]="item.active">
2088
+ <div class="ngxsp-wmp-card" [class.active]="item.active" (contextmenu)="section.kind === 'groups' ? null : openTrackMenu($event, item)">
1287
2089
  <button class="ngxsp-wmp-cardSelect" type="button" [attr.aria-current]="item.active ? 'true' : null" (click)="selectLibraryItem.emit(item.id)">
1288
2090
  <span class="ngxsp-wmp-thumb ngxsp-wmp-cover" [class.has-image]="!!artworkSrc(item.artworkUrl)" [attr.data-tone]="artTone(item.id)">
1289
2091
  @if (artworkSrc(item.artworkUrl); as artworkUrl) {
1290
- <img [src]="artworkUrl" alt="" (error)="markArtworkFailed(artworkUrl)" />
2092
+ <img [src]="artworkUrl" alt="" (error)="markArtworkFailed(artworkUrl)" loading="lazy" decoding="async" />
1291
2093
  } @else {
1292
2094
  <ngxsp-smart-icon name="music" />
1293
2095
  }
@@ -1296,7 +2098,7 @@ var NgxSmartPlayerAudioUiComponent = class NgxSmartPlayerAudioUiComponent {
1296
2098
  }
1297
2099
  </span>
1298
2100
  <span class="ngxsp-wmp-cardCopy">
1299
- <strong>{{ item.title }}</strong>
2101
+ <strong>@for (part of searchParts(item.title); track $index) {@if (part.hit) {<mark>{{ part.text }}</mark>} @else {<span>{{ part.text }}</span>}}</strong>
1300
2102
  @if (item.subtitle) { <small>{{ item.subtitle }}</small> }
1301
2103
  @if (item.meta) { <em>{{ item.meta }}</em> }
1302
2104
  </span>
@@ -1307,33 +2109,39 @@ var NgxSmartPlayerAudioUiComponent = class NgxSmartPlayerAudioUiComponent {
1307
2109
  </button>
1308
2110
  </span>
1309
2111
  <span class="ngxsp-wmp-cardActions">
2112
+ @if (section.kind === 'groups') {
2113
+ <!--
2114
+ An album, an artist, a genre: a heading that stands for several tracks. What
2115
+ one does with it is put it in the queue, so those buttons stay where they are.
2116
+ -->
1310
2117
  <button class="ngxsp-wmp-cardAction" type="button" [title]="queueNextLabel" [attr.aria-label]="queueNextLabel + ' ' + item.title" (click)="addLibraryItemNext.emit(item.id)">
1311
2118
  <ngxsp-smart-icon name="next" />
1312
2119
  </button>
1313
2120
  <button class="ngxsp-wmp-cardAction" type="button" [title]="queueAddLabel" [attr.aria-label]="queueAddLabel + ' ' + item.title" (click)="addLibraryItemToQueue.emit(item.id)">
1314
2121
  <ngxsp-smart-icon name="playlist-plus" />
1315
2122
  </button>
1316
- @if (ringtoneAvailable) {
1317
- <button class="ngxsp-wmp-cardAction" type="button" [title]="ringtoneLabel" [attr.aria-label]="ringtoneLabel + ' - ' + item.title" (click)="makeRingtone.emit(item.id)">
1318
- <ngxsp-smart-icon name="bell" />
2123
+ @if (isRemovable(item.id)) {
2124
+ <button class="ngxsp-wmp-cardAction danger" type="button" [title]="removeItemLabel" [attr.aria-label]="removeItemLabel + ' - ' + item.title" (click)="removeLibraryItem.emit(item.id)">
2125
+ <ngxsp-smart-icon name="close" />
1319
2126
  </button>
1320
2127
  }
1321
- @if (lockAvailable) {
1322
- <button
1323
- class="ngxsp-wmp-cardAction"
1324
- type="button"
1325
- [class.active]="item.locked"
1326
- [attr.aria-pressed]="!!item.locked"
1327
- [title]="item.locked ? unlockLabel : lockLabel"
1328
- [attr.aria-label]="(item.locked ? unlockLabel : lockLabel) + ' - ' + item.title"
1329
- (click)="toggleLock.emit(item.id)"
1330
- >
1331
- <ngxsp-smart-icon [name]="item.locked ? 'check' : 'tag'" />
2128
+ } @else {
2129
+ <!-- The same three a row offers, and the same menu: a grid and a table say one thing. -->
2130
+ <button class="ngxsp-wmp-cardAction ngxsp-wmp-cardFavorite" [class.active]="item.favorite" type="button" [attr.aria-pressed]="!!item.favorite" [title]="item.favorite ? favoriteActiveLabel : favoriteLabel" [attr.aria-label]="item.favorite ? favoriteActiveLabel : favoriteLabel" (click)="toggleFavorite.emit(item.id)">
2131
+ <ngxsp-smart-icon name="heart" />
2132
+ </button>
2133
+ @if (hasPlaylists) {
2134
+ <button class="ngxsp-wmp-cardAction" type="button" [class.active]="playlistTargetTrack?.id === item.id" [title]="addToPlaylistLabel" [attr.aria-label]="addToPlaylistLabel + ' - ' + item.title" (click)="requestPlaylistTarget.emit(item.id)">
2135
+ <ngxsp-smart-icon name="list" />
1332
2136
  </button>
1333
2137
  }
1334
- @if (isRemovable(item.id)) {
1335
- <button class="ngxsp-wmp-cardAction danger" type="button" [title]="removeItemLabel" [attr.aria-label]="removeItemLabel + ' - ' + item.title" (click)="removeLibraryItem.emit(item.id)">
1336
- <ngxsp-smart-icon name="close" />
2138
+ @if (ringtoneAvailable && !item.live) {
2139
+ <button class="ngxsp-wmp-cardAction" type="button" [title]="ringtoneLabel" [attr.aria-label]="ringtoneLabel + ' - ' + item.title" (click)="makeRingtone.emit(item.id)">
2140
+ <ngxsp-smart-icon name="bell" />
2141
+ </button>
2142
+ }
2143
+ <button class="ngxsp-wmp-cardAction ngxsp-wmp-cardMore" type="button" aria-haspopup="menu" [class.active]="trackMenu?.id === item.id" [attr.aria-expanded]="trackMenu?.id === item.id" [title]="trackActionsLabel" [attr.aria-label]="trackActionsLabel + ' - ' + item.title" (click)="openTrackMenu($event, item)">
2144
+ <ngxsp-smart-icon name="more" />
1337
2145
  </button>
1338
2146
  }
1339
2147
  </span>
@@ -1341,7 +2149,7 @@ var NgxSmartPlayerAudioUiComponent = class NgxSmartPlayerAudioUiComponent {
1341
2149
  }
1342
2150
  </div>
1343
2151
  } @else {
1344
- <div class="ngxsp-wmp-table" role="table" [attr.aria-label]="tracksLabel" [style.--wmp-actions-w]="rowActionsWidth(section.items)">
2152
+ <div class="ngxsp-wmp-table" role="table" [attr.aria-label]="tracksLabel" [style.--wmp-actions-w]="rowActionsWidth(section)">
1345
2153
  <div class="ngxsp-wmp-tableHead" role="row">
1346
2154
  <span role="columnheader">#</span>
1347
2155
  <span role="columnheader">{{ titleColumnLabel }}</span>
@@ -1350,21 +2158,21 @@ var NgxSmartPlayerAudioUiComponent = class NgxSmartPlayerAudioUiComponent {
1350
2158
  <span role="columnheader" class="ngxsp-wmp-timeHead" [attr.aria-label]="timeColumnLabel" [title]="timeColumnLabel"><ngxsp-smart-icon name="clock" /></span>
1351
2159
  </div>
1352
2160
  @for (item of section.items; track item.id; let index = $index) {
1353
- <div class="ngxsp-wmp-trackRow" [class.active]="item.active" role="row">
1354
- <button class="ngxsp-wmp-trackSelect" type="button" [attr.aria-current]="item.active ? 'true' : null" (click)="selectLibraryItem.emit(item.id)">
2161
+ <div class="ngxsp-wmp-trackRow" [class.active]="item.active" role="row" (contextmenu)="section.kind === 'groups' ? null : openTrackMenu($event, item)">
2162
+ <button class="ngxsp-wmp-trackSelect" type="button" [title]="rowTooltip(item)" [attr.aria-current]="item.active ? 'true' : null" (click)="selectLibraryItem.emit(item.id)">
1355
2163
  <span class="ngxsp-wmp-trackIndex">
1356
2164
  @if (item.active) { <ngxsp-smart-icon name="waveform" /> } @else { <span class="ngxsp-wmp-indexNumber">{{ index + 1 }}</span><ngxsp-smart-icon class="ngxsp-wmp-indexPlay" name="play" /> }
1357
2165
  </span>
1358
2166
  <span class="ngxsp-wmp-trackTitle">
1359
2167
  <span class="ngxsp-wmp-rowIcon ngxsp-wmp-cover" [class.has-image]="!!artworkSrc(item.artworkUrl)" [attr.data-tone]="artTone(item.id)">
1360
2168
  @if (artworkSrc(item.artworkUrl); as artworkUrl) {
1361
- <img [src]="artworkUrl" alt="" (error)="markArtworkFailed(artworkUrl)" />
2169
+ <img [src]="artworkUrl" alt="" (error)="markArtworkFailed(artworkUrl)" loading="lazy" decoding="async" />
1362
2170
  } @else {
1363
2171
  <ngxsp-smart-icon name="music" />
1364
2172
  }
1365
2173
  </span>
1366
2174
  <span class="ngxsp-wmp-rowCopy">
1367
- <strong>{{ item.title }}</strong>
2175
+ <strong>@for (part of searchParts(item.title); track $index) {@if (part.hit) {<mark>{{ part.text }}</mark>} @else {<span>{{ part.text }}</span>}}</strong>
1368
2176
  @if (item.genre) { <small>{{ item.genre }}</small> }
1369
2177
  </span>
1370
2178
  </span>
@@ -1372,42 +2180,41 @@ var NgxSmartPlayerAudioUiComponent = class NgxSmartPlayerAudioUiComponent {
1372
2180
  <span class="ngxsp-wmp-trackCell ngxsp-wmp-albumCell">{{ albumOf(item) }}</span>
1373
2181
  <span class="ngxsp-wmp-trackTime">{{ durationOf(item) }}</span>
1374
2182
  </button>
2183
+ <!--
2184
+ Three things a track offers, and a menu for the rest. There were six buttons
2185
+ on a row — and the room of four, so the heart was drawn over the duration.
2186
+ A section of albums can be read as a table too, and an album is not a track:
2187
+ it keeps the buttons it had.
2188
+ -->
1375
2189
  <span class="ngxsp-wmp-rowActions">
1376
- <button class="ngxsp-wmp-rowFavorite" [class.active]="item.favorite" type="button" [attr.aria-pressed]="!!item.favorite" [title]="item.favorite ? favoriteActiveLabel : favoriteLabel" [attr.aria-label]="item.favorite ? favoriteActiveLabel : favoriteLabel" (click)="toggleFavorite.emit(item.id)">
1377
- <ngxsp-smart-icon name="heart" />
1378
- </button>
2190
+ @if (section.kind === 'groups') {
1379
2191
  <button class="ngxsp-wmp-rowQueueAction" type="button" [title]="queueNextLabel" [attr.aria-label]="queueNextLabel + ' ' + item.title" (click)="addLibraryItemNext.emit(item.id)">
1380
2192
  <ngxsp-smart-icon name="next" />
1381
2193
  </button>
1382
2194
  <button class="ngxsp-wmp-rowQueueAction" type="button" [title]="queueAddLabel" [attr.aria-label]="queueAddLabel + ' ' + item.title" (click)="addLibraryItemToQueue.emit(item.id)">
1383
2195
  <ngxsp-smart-icon name="playlist-plus" />
1384
2196
  </button>
2197
+ @if (isRemovable(item.id)) {
2198
+ <button class="ngxsp-wmp-rowQueueAction danger" type="button" [title]="removeItemLabel" [attr.aria-label]="removeItemLabel + ' - ' + item.title" (click)="removeLibraryItem.emit(item.id)">
2199
+ <ngxsp-smart-icon name="close" />
2200
+ </button>
2201
+ }
2202
+ } @else {
2203
+ <button class="ngxsp-wmp-rowFavorite" [class.active]="item.favorite" type="button" [attr.aria-pressed]="!!item.favorite" [title]="item.favorite ? favoriteActiveLabel : favoriteLabel" [attr.aria-label]="item.favorite ? favoriteActiveLabel : favoriteLabel" (click)="toggleFavorite.emit(item.id)">
2204
+ <ngxsp-smart-icon name="heart" />
2205
+ </button>
1385
2206
  @if (hasPlaylists) {
1386
2207
  <button class="ngxsp-wmp-rowQueueAction" type="button" [class.active]="playlistTargetTrack?.id === item.id" [title]="addToPlaylistLabel" [attr.aria-label]="addToPlaylistLabel + ' - ' + item.title" (click)="requestPlaylistTarget.emit(item.id)">
1387
2208
  <ngxsp-smart-icon name="list" />
1388
2209
  </button>
1389
2210
  }
1390
- @if (ringtoneAvailable) {
2211
+ @if (ringtoneAvailable && !item.live) {
1391
2212
  <button class="ngxsp-wmp-rowQueueAction" type="button" [title]="ringtoneLabel" [attr.aria-label]="ringtoneLabel + ' - ' + item.title" (click)="makeRingtone.emit(item.id)">
1392
2213
  <ngxsp-smart-icon name="bell" />
1393
2214
  </button>
1394
2215
  }
1395
- @if (lockAvailable) {
1396
- <button
1397
- class="ngxsp-wmp-rowQueueAction"
1398
- type="button"
1399
- [class.active]="item.locked"
1400
- [attr.aria-pressed]="!!item.locked"
1401
- [title]="item.locked ? unlockLabel : lockLabel"
1402
- [attr.aria-label]="(item.locked ? unlockLabel : lockLabel) + ' - ' + item.title"
1403
- (click)="toggleLock.emit(item.id)"
1404
- >
1405
- <ngxsp-smart-icon [name]="item.locked ? 'check' : 'tag'" />
1406
- </button>
1407
- }
1408
- @if (isRemovable(item.id)) {
1409
- <button class="ngxsp-wmp-rowQueueAction danger" type="button" [title]="removeItemLabel" [attr.aria-label]="removeItemLabel + ' - ' + item.title" (click)="removeLibraryItem.emit(item.id)">
1410
- <ngxsp-smart-icon name="close" />
2216
+ <button class="ngxsp-wmp-rowQueueAction ngxsp-wmp-rowMore" type="button" aria-haspopup="menu" [class.active]="trackMenu?.id === item.id" [attr.aria-expanded]="trackMenu?.id === item.id" [title]="trackActionsLabel" [attr.aria-label]="trackActionsLabel + ' - ' + item.title" (click)="openTrackMenu($event, item)">
2217
+ <ngxsp-smart-icon name="more" />
1411
2218
  </button>
1412
2219
  }
1413
2220
  </span>
@@ -1418,9 +2225,25 @@ var NgxSmartPlayerAudioUiComponent = class NgxSmartPlayerAudioUiComponent {
1418
2225
  }
1419
2226
  </div>
1420
2227
  }
2228
+ @if (!section.items.length && section.emptyLabel) {
2229
+ <div class="ngxsp-wmp-emptyLibrary">
2230
+ <ngxsp-smart-icon name="list" />
2231
+ <span>{{ section.emptyLabel }}</span>
2232
+ </div>
2233
+ }
2234
+ <!-- The rest of a shelf that comes a page at a time: under it, where one stops
2235
+ reading, and not among the tracks. -->
2236
+ @if (section.more) {
2237
+ <button class="ngxsp-wmp-shelfMore" type="button" [disabled]="!!section.more.busy" (click)="sectionMore.emit(section.id)">
2238
+ <span>{{ section.more.label }}</span>
2239
+ @if (section.more.detail) { <small>{{ section.more.detail }}</small> }
2240
+ </button>
2241
+ }
1421
2242
  </section>
1422
2243
  } @empty {
1423
- @if (!settingsSections.length) {
2244
+ <!-- A page that is the view's own content says what there is: "no track indexed" under
2245
+ the sources page would answer a question nobody asked there. -->
2246
+ @if (!settingsSections.length && !sourcesPage && !playlistsPageOpen) {
1424
2247
  <div class="ngxsp-wmp-emptyLibrary">
1425
2248
  <ngxsp-smart-icon name="music" />
1426
2249
  <span>{{ emptyLibraryLabel }}</span>
@@ -1429,6 +2252,7 @@ var NgxSmartPlayerAudioUiComponent = class NgxSmartPlayerAudioUiComponent {
1429
2252
  }
1430
2253
  </div>
1431
2254
  </section>
2255
+ }
1432
2256
  </section>
1433
2257
 
1434
2258
  <aside
@@ -1440,43 +2264,80 @@ var NgxSmartPlayerAudioUiComponent = class NgxSmartPlayerAudioUiComponent {
1440
2264
  [attr.aria-modal]="panelSheetOpen ? 'true' : null"
1441
2265
  [attr.aria-label]="queueTitle"
1442
2266
  (keydown.escape)="closePanelSheet()"
2267
+ (keydown)="onSheetKeys($event)"
1443
2268
  >
1444
2269
  @if (panelSheetOpen) {
1445
2270
  <div class="ngxsp-wmp-sheetHeader">
1446
2271
  <strong>{{ currentTitle || noTrackTitle }}</strong>
1447
- <button class="ngxsp-wmp-smallButton" type="button" (click)="closePanelSheet()">{{ closeLabel }}</button>
2272
+ <button class="ngxsp-wmp-smallButton" type="button" [attr.aria-label]="closeLabel + ' - ' + queueTitle" (click)="closePanelSheet()">{{ closeLabel }}</button>
1448
2273
  </div>
2274
+ <!--
2275
+ What the column can open, and only that. The sheet stops above the transport bar, so
2276
+ the bar is still on screen underneath it: the devices keep the button they have there
2277
+ and never become a switch in here. Compact-Lecteur-Audio.dc.html draws them that way,
2278
+ off a button of their own, and Appareils.dc.html opens its dialog over that button.
2279
+ -->
2280
+ @if (columnSwitches.length) {
1449
2281
  <div class="ngxsp-wmp-sheetToggles" role="group" [attr.aria-label]="queueTitle">
1450
- @for (panel of panelSwitches; track panel.id) {
2282
+ @for (panel of columnSwitches; track panel.id) {
1451
2283
  <button class="ngxsp-wmp-iconButton" type="button" [class.active]="isPanelOpen(panel.id)" [attr.aria-pressed]="isPanelOpen(panel.id)" [title]="panel.label" [attr.aria-label]="panel.label" (click)="togglePanel(panel.id)">
1452
2284
  <ngxsp-smart-icon [name]="panel.icon" />
1453
2285
  </button>
1454
2286
  }
1455
2287
  </div>
1456
2288
  }
2289
+ }
1457
2290
  <div class="ngxsp-wmp-panelStack">
1458
- @if (isPanelOpen('queue')) {
1459
- <section class="ngxsp-wmp-stackItem" [class.collapsed]="isPanelCollapsed('queue')">
1460
- <header class="ngxsp-wmp-stackHead">
1461
- <strong>{{ queueTitle }}</strong>
1462
- <button class="ngxsp-wmp-stackIcon" type="button" [attr.aria-expanded]="!isPanelCollapsed('queue')" [attr.aria-label]="queueTitle" (click)="togglePanelCollapsed('queue')">
1463
- <ngxsp-smart-icon [name]="isPanelCollapsed('queue') ? 'chevron-down' : 'chevron-up'" />
1464
- </button>
1465
- <button class="ngxsp-wmp-stackIcon" type="button" [title]="closeLabel" [attr.aria-label]="closeLabel" (click)="togglePanel('queue')">
1466
- <ngxsp-smart-icon name="close" />
1467
- </button>
1468
- </header>
1469
- @if (!isPanelCollapsed('queue')) {
2291
+ <!--
2292
+ The board's pills, which name what can be opened over the queue. In the sheet the same
2293
+ switches are already drawn as icons above, so the row would say everything twice.
2294
+ -->
2295
+ @if (!panelSheetOpen && columnSwitches.length) {
2296
+ <div class="ngxsp-wmp-panelTabs" role="group" [attr.aria-label]="queueTitle">
2297
+ @for (panel of columnSwitches; track panel.id) {
2298
+ <button type="button" class="ngxsp-wmp-panelPill" [class.active]="isPanelOpen(panel.id)" [attr.aria-pressed]="isPanelOpen(panel.id)" (click)="togglePanel(panel.id)">{{ panel.label }}</button>
2299
+ }
2300
+ </div>
2301
+ }
2302
+ @if (hasSearchQuery && recentSearches.length) {
2303
+ <!-- The board puts them in this column, beside what the search found. -->
2304
+ <section class="ngxsp-wmp-stackItem collapsed">
2305
+ <header class="ngxsp-wmp-stackHead"><strong>{{ recentSearchesTitle }}</strong></header>
2306
+ <div class="ngxsp-wmp-recentSearches">
2307
+ @for (term of recentSearches; track term) {
2308
+ <button type="button" [class.active]="term === searchTerm" (click)="searchAgain.emit(term)">
2309
+ <ngxsp-smart-icon name="clock" />
2310
+ <span>{{ term }}</span>
2311
+ </button>
2312
+ }
2313
+ </div>
2314
+ </section>
2315
+ }
2316
+ <!--
2317
+ The queue is the column, not a panel folded away inside it. Commun-Audio.dc.html draws
2318
+ the pills at the head of the column and the queue below them, in full — no chevron, and
2319
+ nothing that folds it down to a header. Its switch is the one in the top bar, which shows
2320
+ and hides the whole column; the video player's column had already been through this.
2321
+ -->
2322
+ <section class="ngxsp-wmp-stackItem">
2323
+ <header class="ngxsp-wmp-stackHead"><strong>{{ queueTitle }}</strong></header>
1470
2324
  <div class="ngxsp-wmp-sectionHeader slim">
1471
2325
  <span>{{ queueEyebrow }}</span>
1472
- <strong>{{ queueItems.length }} {{ tracksCountLabel }}</strong>
2326
+ <strong>{{ queueCountLabel }}</strong>
1473
2327
  </div>
1474
- <div class="ngxsp-wmp-queueList" #queueList>
1475
- @for (item of queueItems; track item.id) {
1476
- <button class="ngxsp-wmp-queueItem" [class.active]="item.active" type="button" [attr.aria-current]="item.active ? 'true' : null" (click)="selectQueueItem.emit(item.id)">
2328
+ <div class="ngxsp-wmp-queueList" #queueList (scroll)="onQueueScroll()">
2329
+ @if (queueSpaceBefore) { <div class="ngxsp-wmp-queueSpace" [style.height.px]="queueSpaceBefore" aria-hidden="true"></div> }
2330
+ @for (item of windowedQueue; track item.id) {
2331
+ <!--
2332
+ La rangée tient deux choses : le bouton qui joue le titre, et les gestes qui touchent
2333
+ à la file elle-même. Elle n'en tenait qu'une — on ne pouvait rien en retirer ni rien
2334
+ y déplacer, alors que la file du lecteur vidéo le permet depuis toujours.
2335
+ -->
2336
+ <div class="ngxsp-wmp-queueRow" [class.active]="item.active">
2337
+ <button class="ngxsp-wmp-queueItem" [class.active]="item.active" type="button" [title]="rowTooltip(item)" [attr.aria-current]="item.active ? 'true' : null" (click)="selectQueueItem.emit(item.id)">
1477
2338
  <span class="ngxsp-wmp-queueCover ngxsp-wmp-cover" [class.has-image]="!!artworkSrc(item.artworkUrl)" [attr.data-tone]="artTone(item.id)">
1478
2339
  @if (artworkSrc(item.artworkUrl); as artworkUrl) {
1479
- <img [src]="artworkUrl" alt="" (error)="markArtworkFailed(artworkUrl)" />
2340
+ <img [src]="artworkUrl" alt="" (error)="markArtworkFailed(artworkUrl)" loading="lazy" decoding="async" />
1480
2341
  } @else {
1481
2342
  <ngxsp-smart-icon name="music" />
1482
2343
  }
@@ -1500,149 +2361,42 @@ var NgxSmartPlayerAudioUiComponent = class NgxSmartPlayerAudioUiComponent {
1500
2361
  </span>
1501
2362
  @if (item.meta) { <span class="ngxsp-wmp-rowMeta">{{ item.meta }}</span> }
1502
2363
  </button>
1503
- } @empty {
1504
- <div class="ngxsp-wmp-emptyLibrary">{{ emptyQueueLabel }}</div>
1505
- }
1506
- </div>
1507
- }
1508
- </section>
1509
- }
1510
- @if (isPanelOpen('lyrics') && !!lyricsPanel) {
1511
- <section class="ngxsp-wmp-stackItem" [class.collapsed]="isPanelCollapsed('lyrics')">
1512
- <header class="ngxsp-wmp-stackHead">
1513
- <strong>{{ lyricsTitle }}</strong>
1514
- <button class="ngxsp-wmp-stackIcon" type="button" [attr.aria-expanded]="!isPanelCollapsed('lyrics')" [attr.aria-label]="lyricsTitle" (click)="togglePanelCollapsed('lyrics')">
1515
- <ngxsp-smart-icon [name]="isPanelCollapsed('lyrics') ? 'chevron-down' : 'chevron-up'" />
1516
- </button>
1517
- <button class="ngxsp-wmp-stackIcon" type="button" [title]="closeLabel" [attr.aria-label]="closeLabel" (click)="togglePanel('lyrics')">
1518
- <ngxsp-smart-icon name="close" />
1519
- </button>
1520
- </header>
1521
- @if (!isPanelCollapsed('lyrics')) {
1522
- @if (lyricsPanel; as lyrics) {
1523
- <section class="ngxsp-wmp-lyrics" [attr.aria-label]="lyrics.title" [attr.aria-busy]="lyrics.busy ? 'true' : null">
1524
- <div class="ngxsp-wmp-sectionHeader slim">
1525
- <strong>{{ currentTitle }}</strong>
1526
- @if (lyrics.searchLabel) {
1527
- <button class="ngxsp-wmp-smallButton" type="button" [disabled]="lyrics.busy" (click)="refreshLyrics.emit()">{{ lyrics.searchLabel }}</button>
1528
- }
1529
- </div>
1530
- @if (lyrics.status) { <p class="ngxsp-wmp-lyricsStatus">{{ lyrics.status }}</p> }
1531
- <div class="ngxsp-wmp-lyricsLines" #lyricsLines>
1532
- @for (line of lyrics.lines; track $index) {
1533
- @if (line.timeSec !== undefined) {
1534
- <button type="button" class="ngxsp-wmp-lyricsLine" [class.active]="$index === activeLyricsIndex" [attr.aria-current]="$index === activeLyricsIndex ? 'true' : null" [attr.aria-label]="(lyrics.seekLabel ? lyrics.seekLabel + ' - ' : '') + line.text" (click)="playFromLyrics(line.timeSec)">{{ line.text || '♪' }}</button>
1535
- } @else {
1536
- <p class="ngxsp-wmp-lyricsLine plain">{{ line.text }}</p>
1537
- }
2364
+ @if (queueEditable) {
2365
+ <span class="ngxsp-wmp-queueControls">
2366
+ <button type="button" [disabled]="!canMoveQueueItem(item.id, 'up')" [title]="queueMoveUpLabel" [attr.aria-label]="queueMoveUpLabel + ' - ' + item.title" (click)="queueMoveUp.emit(item.id)">
2367
+ <ngxsp-smart-icon name="chevron-up" />
2368
+ </button>
2369
+ <button type="button" [disabled]="!canMoveQueueItem(item.id, 'down')" [title]="queueMoveDownLabel" [attr.aria-label]="queueMoveDownLabel + ' - ' + item.title" (click)="queueMoveDown.emit(item.id)">
2370
+ <ngxsp-smart-icon name="chevron-down" />
2371
+ </button>
2372
+ @if (hasPlaylists) {
2373
+ <button type="button" [class.active]="playlistTargetTrack?.id === item.id" [title]="addToPlaylistLabel" [attr.aria-label]="addToPlaylistLabel + ' - ' + item.title" (click)="requestPlaylistTarget.emit(item.id)">
2374
+ <ngxsp-smart-icon name="list" />
2375
+ </button>
1538
2376
  }
1539
- </div>
1540
- </section>
1541
- }
2377
+ <button type="button" [title]="queueRemoveLabel" [attr.aria-label]="queueRemoveLabel + ' - ' + item.title" (click)="queueRemove.emit(item.id)">
2378
+ <ngxsp-smart-icon name="close" />
2379
+ </button>
2380
+ </span>
1542
2381
  }
1543
- </section>
1544
- }
1545
- @if (isPanelOpen('devices') && showDeviceButton) {
1546
- <section class="ngxsp-wmp-stackItem" [class.collapsed]="isPanelCollapsed('devices')">
1547
- <header class="ngxsp-wmp-stackHead">
1548
- <strong>{{ devicesLabel }}</strong>
1549
- <button class="ngxsp-wmp-stackIcon" type="button" [attr.aria-expanded]="!isPanelCollapsed('devices')" [attr.aria-label]="devicesLabel" (click)="togglePanelCollapsed('devices')">
1550
- <ngxsp-smart-icon [name]="isPanelCollapsed('devices') ? 'chevron-down' : 'chevron-up'" />
1551
- </button>
1552
- <button class="ngxsp-wmp-stackIcon" type="button" [title]="closeLabel" [attr.aria-label]="closeLabel" (click)="togglePanel('devices')">
1553
- <ngxsp-smart-icon name="close" />
1554
- </button>
1555
- </header>
1556
- @if (!isPanelCollapsed('devices')) {
1557
- <section class="ngxsp-wmp-devices">
1558
- <div class="ngxsp-wmp-sectionHeader slim">
1559
- <strong>{{ remotePlaybackLabel }}</strong>
1560
- <button class="ngxsp-wmp-smallButton" type="button" (click)="refreshDevices.emit()">{{ refreshLabel }}</button>
1561
- </div>
1562
- @for (device of deviceItems; track device.id) {
1563
- <div class="ngxsp-wmp-device" [class.active]="device.active">
1564
- <span class="ngxsp-wmp-targetIcon" aria-hidden="true"><ngxsp-smart-icon [name]="device.active ? 'devices-active' : 'devices'" /></span>
1565
- <span class="ngxsp-wmp-rowCopy">
1566
- <strong>{{ device.name }}</strong>
1567
- @if (device.subtitle) { <small>{{ device.subtitle }}</small> }
1568
- </span>
1569
- <span class="ngxsp-wmp-deviceActions">
1570
- <button class="ngxsp-wmp-smallButton" type="button" [attr.aria-label]="(device.actionLabel ?? playLabel) + ' - ' + device.name" (click)="playOnDevice.emit(device.id)">{{ device.actionLabel ?? playLabel }}</button>
1571
- @if (device.stoppable !== false) {
1572
- <button class="ngxsp-wmp-smallButton" type="button" [attr.aria-label]="stopLabel + ' - ' + device.name" (click)="stopOnDevice.emit(device.id)">{{ stopLabel }}</button>
1573
- }
1574
- </span>
1575
2382
  </div>
1576
2383
  } @empty {
1577
- <div class="ngxsp-wmp-emptyLibrary">{{ emptyDevicesLabel }}</div>
1578
- }
1579
- </section>
2384
+ <div class="ngxsp-wmp-emptyLibrary">{{ emptyQueueLabel }}</div>
1580
2385
  }
1581
- </section>
2386
+ @if (queueSpaceAfter) { <div class="ngxsp-wmp-queueSpace" [style.height.px]="queueSpaceAfter" aria-hidden="true"></div> }
2387
+ </div>
2388
+ <!--
2389
+ Commun-Audio.dc.html ends the column on it. A queue built by hand over an evening is
2390
+ exactly what a playlist is, and until now the only way to keep one was to build it a
2391
+ second time, track by track, in the Lists page.
2392
+ -->
2393
+ @if (keepQueueLabel && queueItems.length) {
2394
+ <button class="ngxsp-wmp-keepQueue" type="button" (click)="keepQueueAsPlaylist.emit()">
2395
+ <ngxsp-smart-icon name="plus" />
2396
+ <span>{{ keepQueueLabel }}</span>
2397
+ </button>
1582
2398
  }
1583
- @if (isPanelOpen('playlists')) {
1584
- <section class="ngxsp-wmp-stackItem" [class.collapsed]="isPanelCollapsed('playlists')">
1585
- <header class="ngxsp-wmp-stackHead">
1586
- <strong>{{ playlistsLabel }}</strong>
1587
- <button class="ngxsp-wmp-stackIcon" type="button" [attr.aria-expanded]="!isPanelCollapsed('playlists')" [attr.aria-label]="playlistsLabel" (click)="togglePanelCollapsed('playlists')">
1588
- <ngxsp-smart-icon [name]="isPanelCollapsed('playlists') ? 'chevron-down' : 'chevron-up'" />
1589
- </button>
1590
- <button class="ngxsp-wmp-stackIcon" type="button" [title]="closeLabel" [attr.aria-label]="closeLabel" (click)="togglePanel('playlists')">
1591
- <ngxsp-smart-icon name="close" />
1592
- </button>
1593
- </header>
1594
- @if (!isPanelCollapsed('playlists')) {
1595
- <section class="ngxsp-wmp-management">
1596
- <div class="ngxsp-wmp-inlineForm">
1597
- <input [value]="playlistDraftName" (input)="onPlaylistDraftInput($event)" (keydown.enter)="submitCreatePlaylist()" type="text" [placeholder]="newPlaylistPlaceholder" [attr.aria-label]="newPlaylistPlaceholder" />
1598
- <button class="ngxsp-wmp-smallButton primary" type="button" (click)="submitCreatePlaylist()" [disabled]="!playlistDraftName.trim()">{{ createLabel }}</button>
1599
- </div>
1600
- @if (playlistTargetTrack; as target) {
1601
- <div class="ngxsp-wmp-targetBanner">
1602
- <span>{{ playlistTargetLabel }}<strong>{{ target.title }}</strong></span>
1603
- <button class="ngxsp-wmp-smallButton" type="button" (click)="cancelPlaylistTarget.emit()">{{ cancelLabel }}</button>
1604
- </div>
1605
- }
1606
- <div class="ngxsp-wmp-targets">
1607
- @for (playlist of playlistOptions; track playlist.id) {
1608
- <div class="ngxsp-wmp-target">
1609
- <div class="ngxsp-wmp-targetMain">
1610
- <span class="ngxsp-wmp-targetIcon" aria-hidden="true"><ngxsp-smart-icon name="list" /></span>
1611
- <span class="ngxsp-wmp-rowCopy">
1612
- <strong>{{ playlist.name }}</strong>
1613
- @if (playlist.trackCount !== undefined) { <small>{{ playlist.trackCount }} {{ tracksCountLabel }}</small> }
1614
- </span>
1615
- @if (playlistTargetTrack || currentTrackAvailable) {
1616
- <button class="ngxsp-wmp-smallButton" type="button" [attr.aria-label]="addLabel + ' - ' + playlist.name" (click)="addToPlaylist(playlist.id)">
1617
- <ngxsp-smart-icon name="plus" />
1618
- <span>{{ addLabel }}</span>
1619
- </button>
1620
- }
1621
- </div>
1622
- @if (editingPlaylistId === playlist.id) {
1623
- <div class="ngxsp-wmp-inlineForm">
1624
- <input [value]="renameDraftName" (input)="onRenameDraftInput($event)" (keydown.enter)="submitRenamePlaylist()" type="text" [placeholder]="renamePlaylistPlaceholder" [attr.aria-label]="renamePlaylistPlaceholder" />
1625
- <button class="ngxsp-wmp-smallButton primary" type="button" (click)="submitRenamePlaylist()" [disabled]="!renameDraftName.trim()">{{ saveLabel }}</button>
1626
- <button class="ngxsp-wmp-smallButton" type="button" (click)="cancelRenamePlaylist()">{{ cancelLabel }}</button>
1627
- </div>
1628
- } @else {
1629
- <div class="ngxsp-wmp-targetActions">
1630
- <button type="button" (click)="startRenamePlaylist(playlist.id, playlist.name)">{{ renameLabel }}</button>
1631
- <button type="button" class="danger" (click)="deletePlaylist.emit(playlist.id)">{{ deleteLabel }}</button>
1632
- </div>
1633
- }
1634
- </div>
1635
- } @empty {
1636
- <div class="ngxsp-wmp-emptyLibrary">{{ emptyPlaylistTargetsLabel }}</div>
1637
- }
1638
- </div>
1639
- @if (!playlistTargetTrack && !currentTrackAvailable && playlistOptions.length) {
1640
- <div class="ngxsp-wmp-emptyLibrary">{{ selectTrackForPlaylistLabel }}</div>
1641
- }
1642
- </section>
1643
- }
1644
2399
  </section>
1645
- }
1646
2400
  </div>
1647
2401
  </aside>
1648
2402
 
@@ -1655,10 +2409,11 @@ var NgxSmartPlayerAudioUiComponent = class NgxSmartPlayerAudioUiComponent {
1655
2409
  <ngxsp-smart-icon name="music" />
1656
2410
  }
1657
2411
  </span>
1658
- <span class="ngxsp-wmp-miniCopy">
2412
+ <!-- The way into the page, which is where the video player puts its own. -->
2413
+ <button class="ngxsp-wmp-miniCopy" type="button" [attr.aria-label]="playerOpenLabel + ' - ' + (currentTitle || noTrackTitle)" [title]="playerOpenLabel" (click)="playerOpen.emit()">
1659
2414
  <strong>{{ currentTitle || noTrackTitle }}</strong>
1660
2415
  <small>{{ currentSubtitle || currentMeta || readyLabel }}</small>
1661
- </span>
2416
+ </button>
1662
2417
  <button class="ngxsp-wmp-iconButton" type="button" [class.active]="favoriteActive" [attr.aria-pressed]="favoriteActive" [title]="favoriteActive ? favoriteActiveLabel : favoriteLabel" [attr.aria-label]="favoriteActive ? favoriteActiveLabel : favoriteLabel" (click)="toggleFavorite.emit(currentTrackId)">
1663
2418
  <ngxsp-smart-icon name="heart" />
1664
2419
  </button>
@@ -1722,10 +2477,76 @@ var NgxSmartPlayerAudioUiComponent = class NgxSmartPlayerAudioUiComponent {
1722
2477
 
1723
2478
  <div class="ngxsp-wmp-transportModes">
1724
2479
  @for (panel of panelSwitches; track panel.id) {
1725
- <button class="ngxsp-wmp-iconButton" type="button" [class.ngxsp-wmp-devicesButton]="panel.id === 'devices'" [class.active]="isPanelShowing(panel.id)" [attr.aria-pressed]="isPanelShowing(panel.id)" [title]="panel.label" [attr.aria-label]="panel.label" (click)="togglePanelFromBar(panel.id)">
1726
- <ngxsp-smart-icon [name]="panel.icon" />
2480
+ <span class="ngxsp-wmp-switchWrap">
2481
+ <button class="ngxsp-wmp-iconButton" type="button" [class.ngxsp-wmp-devicesButton]="panel.id === 'devices'" [class.active]="isPanelShowing(panel.id)" [attr.aria-pressed]="isPanelShowing(panel.id)" [attr.aria-haspopup]="panel.id === 'devices' ? 'dialog' : null" [attr.aria-expanded]="panel.id === 'devices' ? isPanelShowing(panel.id) : null" [title]="panel.label" [attr.aria-label]="panel.label" (click)="togglePanelFromBar(panel.id)">
2482
+ <ngxsp-smart-icon [name]="panel.icon" />
2483
+ </button>
2484
+ <!--
2485
+ The devices are a small dialog over the button that opens them, which is what the
2486
+ boards draw: where the sound goes is about what is playing, not about the page being
2487
+ read, and a column panel put it as far from its own switch as the window allows.
2488
+ -->
2489
+ @if (panel.id === 'devices' && isPanelShowing('devices') && showDeviceButton) {
2490
+ <div class="ngxsp-wmp-devicesPopover" role="dialog" [attr.aria-label]="devicesLabel">
2491
+ <header class="ngxsp-wmp-popoverHead">
2492
+ <strong>{{ devicesLabel }}</strong>
2493
+ <button class="ngxsp-wmp-stackIcon" type="button" [title]="searchDevicesLabel" [attr.aria-label]="searchDevicesLabel" (click)="refreshDevices.emit()">
2494
+ <ngxsp-smart-icon name="refresh" />
2495
+ </button>
2496
+ <button class="ngxsp-wmp-stackIcon" type="button" [title]="closeLabel" [attr.aria-label]="closeLabel + ' - ' + devicesLabel" (click)="dismissDevices()">
2497
+ <ngxsp-smart-icon name="close" />
2498
+ </button>
2499
+ </header>
2500
+ <section class="ngxsp-wmp-devices">
2501
+ <!--
2502
+ Two lists sit here, and a reader who cannot tell them apart will send the sound to the
2503
+ wrong place: one hands the track to a machine that plays it itself, the other only
2504
+ changes which speakers this player uses. Each says which it is, in a line.
2505
+ -->
2506
+ <h3 class="ngxsp-wmp-deviceGroup">{{ castGroupLabel }}</h3>
2507
+ @if (castGroupHint) { <p class="ngxsp-wmp-deviceHint">{{ castGroupHint }}</p> }
2508
+ @for (device of deviceItems; track device.id) {
2509
+ <div class="ngxsp-wmp-device" [class.active]="device.active">
2510
+ <span class="ngxsp-wmp-targetIcon" aria-hidden="true"><ngxsp-smart-icon [name]="device.active ? 'devices-active' : 'devices'" /></span>
2511
+ <span class="ngxsp-wmp-rowCopy">
2512
+ <strong>{{ device.name }}</strong>
2513
+ @if (device.subtitle) { <small>{{ device.subtitle }}</small> }
2514
+ </span>
2515
+ <span class="ngxsp-wmp-deviceActions">
2516
+ <button class="ngxsp-wmp-smallButton" type="button" [attr.aria-label]="(device.actionLabel ?? playLabel) + ' - ' + device.name" (click)="playOnDevice.emit(device.id)">{{ device.actionLabel ?? playLabel }}</button>
2517
+ @if (device.stoppable !== false) {
2518
+ <button class="ngxsp-wmp-smallButton" type="button" [attr.aria-label]="stopLabel + ' - ' + device.name" (click)="stopOnDevice.emit(device.id)">{{ stopLabel }}</button>
2519
+ }
2520
+ </span>
2521
+ </div>
2522
+ } @empty {
2523
+ <div class="ngxsp-wmp-emptyLibrary">{{ emptyDevicesLabel }}</div>
2524
+ }
2525
+
2526
+ @if (outputItems.length) {
2527
+ <h3 class="ngxsp-wmp-deviceGroup">{{ outputGroupLabel }}</h3>
2528
+ @if (outputGroupHint) { <p class="ngxsp-wmp-deviceHint">{{ outputGroupHint }}</p> }
2529
+ @for (output of outputItems; track output.id) {
2530
+ <button
2531
+ class="ngxsp-wmp-output"
2532
+ type="button"
2533
+ [class.active]="output.active"
2534
+ [attr.aria-pressed]="!!output.active"
2535
+ (click)="selectOutput.emit(output.id)"
2536
+ >
2537
+ <span class="ngxsp-wmp-rowCopy">
2538
+ <strong>{{ output.label }}</strong>
2539
+ @if (output.detail) { <small>{{ output.detail }}</small> }
2540
+ </span>
2541
+ @if (output.active) { <ngxsp-smart-icon name="check" /> }
1727
2542
  </button>
1728
2543
  }
2544
+ }
2545
+ </section>
2546
+ </div>
2547
+ }
2548
+ </span>
2549
+ }
1729
2550
  @if (compactModes && compactMode === 'full') {
1730
2551
  <button class="ngxsp-wmp-iconButton ngxsp-wmp-windowButton" type="button" [title]="compactMiniLabel" [attr.aria-label]="compactMiniLabel" (click)="compactModeChange.emit('mini')">
1731
2552
  <ngxsp-smart-icon name="window-mini" />
@@ -1759,7 +2580,7 @@ var NgxSmartPlayerAudioUiComponent = class NgxSmartPlayerAudioUiComponent {
1759
2580
  </section>
1760
2581
  `,
1761
2582
  isInline: true,
1762
- styles: [":host{display:block;height:100%;min-height:0;color:var(--nsp-text, #ededf0);font-family:var(--nsp-font, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Ubuntu, sans-serif);font-size:13px;line-height:1.4}.ngxsp-wmp-shell{--wmp-bg:var(--nsp-bg, #0d0e11);--wmp-s0:var(--nsp-surface-0, #121317);--wmp-s1:var(--nsp-surface-1, #17181d);--wmp-s2:var(--nsp-surface-2, #1e1f25);--wmp-s3:var(--nsp-surface-3, #26272e);--wmp-line:var(--nsp-line, rgb(255 255 255 / .07));--wmp-line-strong:var(--nsp-line-strong, rgb(255 255 255 / .13));--wmp-text:var(--nsp-text, #ededf0);--wmp-text-2:var(--nsp-text-2, #a3a5ae);--wmp-text-3:var(--nsp-text-3, #80828c);--wmp-accent:var(--nsp-accent, #8b90ff);--wmp-accent-strong:var(--nsp-accent-strong, #5d63ee);--wmp-accent-soft:var(--nsp-accent-soft, rgb(139 144 255 / .14));--wmp-on-accent:var(--nsp-on-accent, #fff);--wmp-success:var(--nsp-success, #3ecf8e);--wmp-danger:var(--nsp-danger, #f25f5c);--wmp-danger-text:var(--nsp-danger-text, #ffb4b2);--wmp-r-sm:var(--nsp-radius-sm, 6px);--wmp-r-md:var(--nsp-radius-md, 10px);--wmp-ease:var(--nsp-ease, cubic-bezier(.2,0,0,1));--wmp-dur:var(--nsp-dur, .14s);--wmp-title-h:var(--nsp-titlebar-height, 48px);--wmp-rail-w:232px;--wmp-panel-w:320px;--wmp-transport-h:84px;position:relative;height:100%;min-height:600px;display:grid;grid-template-columns:var(--wmp-rail-w) minmax(0,1fr) var(--wmp-panel-w);grid-template-rows:var(--wmp-title-h) minmax(0,1fr) var(--wmp-transport-h);grid-template-areas:\"title title title\" \"rail main panel\" \"transport transport transport\";overflow:hidden;background:var(--wmp-bg);color:var(--wmp-text);box-sizing:border-box}.ngxsp-wmp-shell.ngxsp-wmp-panelHidden{grid-template-columns:var(--wmp-rail-w) minmax(0,1fr);grid-template-areas:\"title title\" \"rail main\" \"transport transport\"}.ngxsp-wmp-shell.ngxsp-wmp-panelHidden .ngxsp-wmp-playlist{display:none}.ngxsp-wmp-shell *{box-sizing:border-box;letter-spacing:0}.ngxsp-wmp-shell *::-webkit-scrollbar{width:10px;height:10px}.ngxsp-wmp-shell *::-webkit-scrollbar-track{background:transparent}.ngxsp-wmp-shell *::-webkit-scrollbar-thumb{background:var(--wmp-s3);border-radius:999px;border:3px solid transparent;background-clip:padding-box}.ngxsp-wmp-shell *::-webkit-scrollbar-thumb:hover{background-color:var(--wmp-line-strong)}button,input{font:inherit;color:inherit}button{cursor:pointer}img{display:block;width:100%;height:100%;object-fit:cover}h1,h2,h3,p{margin:0}ngxsp-smart-icon{width:18px;height:18px}.ngxsp-wmp-fileInput{display:none}.ngxsp-wmp-shell button:focus-visible,.ngxsp-wmp-shell input:focus-visible{outline:2px solid var(--wmp-accent);outline-offset:2px}.ngxsp-wmp-engineMount{position:absolute;width:1px;height:1px;overflow:hidden;opacity:0;pointer-events:none}.ngxsp-wmp-engineMount ngx-smart-player{display:block;width:1px;height:1px;min-height:0;border:0}.ngxsp-wmp-iconButton{width:32px;height:32px;flex:0 0 auto;display:inline-grid;place-items:center;padding:0;border:1px solid transparent;border-radius:var(--wmp-r-sm);background:transparent;color:var(--wmp-text-2);transition:background-color var(--wmp-dur) var(--wmp-ease),color var(--wmp-dur) var(--wmp-ease),border-color var(--wmp-dur) var(--wmp-ease)}.ngxsp-wmp-iconButton:hover:not(:disabled){background:var(--wmp-s2);color:var(--wmp-text)}.ngxsp-wmp-iconButton.active,.ngxsp-wmp-iconButton.active:hover:not(:disabled){color:var(--wmp-accent)}.ngxsp-wmp-iconButton.outlined{width:40px;height:40px;border-color:var(--wmp-line-strong);border-radius:999px}.ngxsp-wmp-iconButton:disabled{opacity:.35;cursor:default}.ngxsp-wmp-iconButton.active ngxsp-smart-icon[name=heart] ::ng-deep path{fill:currentColor}.ngxsp-wmp-playButton{width:36px;height:36px;display:inline-grid;place-items:center;padding:0;border:0;border-radius:999px;background:var(--wmp-text);color:var(--wmp-bg);transition:transform var(--wmp-dur) var(--wmp-ease),background-color var(--wmp-dur) var(--wmp-ease)}.ngxsp-wmp-playButton:hover{transform:scale(1.05)}.ngxsp-wmp-primaryButton{height:40px;display:inline-flex;align-items:center;gap:8px;padding:0 20px 0 16px;border:0;border-radius:999px;background:var(--wmp-accent-strong);color:var(--wmp-on-accent);font-weight:600;transition:filter var(--wmp-dur) var(--wmp-ease),transform var(--wmp-dur) var(--wmp-ease)}.ngxsp-wmp-primaryButton:hover{filter:brightness(1.1)}.ngxsp-wmp-primaryButton:active{transform:scale(.98)}.ngxsp-wmp-smallButton{height:32px;display:inline-flex;align-items:center;justify-content:center;gap:6px;padding:0 10px;border:1px solid var(--wmp-line-strong);border-radius:var(--wmp-r-sm);background:transparent;color:var(--wmp-text);font-size:12px;font-weight:500;white-space:nowrap}.ngxsp-wmp-smallButton ngxsp-smart-icon{width:14px;height:14px}.ngxsp-wmp-smallButton:hover:not(:disabled){background:var(--wmp-s2)}.ngxsp-wmp-smallButton.primary{border-color:transparent;background:var(--wmp-accent-strong);color:var(--wmp-on-accent)}.ngxsp-wmp-smallButton.primary:hover:not(:disabled){background:var(--wmp-accent-strong);filter:brightness(1.1)}.ngxsp-wmp-smallButton:disabled{opacity:.45;cursor:default}.ngxsp-wmp-segmented{display:inline-flex;align-items:center;gap:2px;padding:2px;border-radius:8px;background:var(--wmp-s2)}.ngxsp-wmp-segmented button{height:32px;min-width:0;padding:0 10px;border:0;border-radius:6px;background:transparent;color:var(--wmp-text-2);font-size:12px;font-weight:500;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ngxsp-wmp-segmented button:hover{color:var(--wmp-text)}.ngxsp-wmp-segmented button.active{background:var(--wmp-s3);color:var(--wmp-text);box-shadow:0 1px 2px #0000004d}.ngxsp-wmp-titlebar{grid-area:title;min-width:0;display:grid;grid-template-columns:calc(var(--wmp-rail-w) - 16px) minmax(0,1fr) minmax(0,max-content);align-items:center;gap:16px;padding:0 calc(12px + var(--nsp-titlebar-inset-end, 0px)) 0 calc(16px + var(--nsp-titlebar-inset-start, 0px));border-bottom:1px solid var(--wmp-line);background:var(--wmp-s0);-webkit-app-region:drag;-webkit-user-select:none;user-select:none}.ngxsp-wmp-titlebar button,.ngxsp-wmp-titlebar input,.ngxsp-wmp-titlebar label,.ngxsp-wmp-titlebar .ngxsp-wmp-status{-webkit-app-region:no-drag}.ngxsp-wmp-brand{min-width:0;display:flex;align-items:center;gap:10px}.ngxsp-wmp-brandIcon{width:26px;height:26px;flex:0 0 auto;display:grid;place-items:center;border-radius:7px;color:#fff;background:linear-gradient(145deg,#8b90ff,#5d63ee 55%,#4146c9);box-shadow:inset 0 1px #ffffff38}.ngxsp-wmp-brandIcon ngxsp-smart-icon{width:15px;height:15px}.ngxsp-wmp-brandLogo{width:26px;height:26px;flex:0 0 auto;display:block}.ngxsp-wmp-brandName{font-size:13px;font-weight:600;white-space:nowrap}.ngxsp-wmp-search{position:relative;justify-self:center;width:100%;max-width:440px;height:34px;display:block;color:var(--wmp-text-3)}.ngxsp-wmp-search ngxsp-smart-icon{position:absolute;left:11px;top:50%;width:16px;height:16px;transform:translateY(-50%);pointer-events:none}.ngxsp-wmp-search input{width:100%;height:100%;padding:0 10px 0 35px;border:1px solid transparent;border-radius:8px;outline:0;background:var(--wmp-s2);color:var(--wmp-text);font-size:13px;transition:border-color var(--wmp-dur) var(--wmp-ease),background-color var(--wmp-dur) var(--wmp-ease),box-shadow var(--wmp-dur) var(--wmp-ease)}.ngxsp-wmp-search input:hover{border-color:var(--wmp-line-strong)}.ngxsp-wmp-shell .ngxsp-wmp-search input:focus,.ngxsp-wmp-shell .ngxsp-wmp-search input:focus-visible{outline:0;border-color:var(--wmp-accent);background:var(--wmp-s1);box-shadow:0 0 0 3px var(--wmp-accent-soft)}.ngxsp-wmp-search input::placeholder{color:var(--wmp-text-3)}.ngxsp-wmp-titleActions{min-width:0;display:flex;align-items:center;justify-content:flex-end;gap:8px}.ngxsp-wmp-status{min-width:0;max-width:300px;height:26px;display:inline-flex;align-items:center;gap:7px;padding:0 10px;border-radius:999px;background:var(--wmp-s2);color:var(--wmp-text-2);font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ngxsp-wmp-status:before{content:\"\";width:6px;height:6px;flex:0 0 auto;border-radius:50%;background:var(--wmp-accent)}.ngxsp-wmp-status.success:before{background:var(--wmp-success)}.ngxsp-wmp-status.error{color:var(--wmp-danger-text);background:#f25f5c29}.ngxsp-wmp-status.error:before{background:var(--wmp-danger)}.ngxsp-wmp-rail{grid-area:rail;min-width:0;min-height:0;display:flex;flex-direction:column;border-right:1px solid var(--wmp-line);background:var(--wmp-s0)}.ngxsp-wmp-nav{flex:1;min-height:0;display:flex;flex-direction:column;gap:1px;padding:12px 8px;overflow:auto}.ngxsp-wmp-navItem{width:100%;height:34px;flex:0 0 auto;display:grid;grid-template-columns:18px minmax(0,1fr) auto;align-items:center;gap:10px;padding:0 10px;border:0;border-radius:var(--wmp-r-sm);background:transparent;color:var(--wmp-text-2);text-align:left;transition:background-color var(--wmp-dur) var(--wmp-ease),color var(--wmp-dur) var(--wmp-ease)}.ngxsp-wmp-navItem span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:500}.ngxsp-wmp-navItem small{color:var(--wmp-text-3);font-size:11px;font-variant-numeric:tabular-nums}.ngxsp-wmp-navItem:hover{background:var(--wmp-s2);color:var(--wmp-text)}.ngxsp-wmp-navItem.active{background:var(--wmp-s3);color:var(--wmp-text)}.ngxsp-wmp-navItem.active ngxsp-smart-icon{color:var(--wmp-accent)}.ngxsp-wmp-navItem.active small{color:var(--wmp-text-2)}.ngxsp-wmp-navDivider{display:block;flex:0 0 auto;height:1px;margin:10px;background:var(--wmp-line)}ngxsp-settings{--ngxsp-settings-surface:var(--wmp-s1);--ngxsp-settings-text:var(--wmp-text);--ngxsp-settings-muted:var(--wmp-text-2);--ngxsp-settings-line:var(--wmp-line);--ngxsp-settings-control:var(--wmp-s3);--ngxsp-settings-accent:var(--wmp-accent);--ngxsp-settings-radius:var(--wmp-r-md, 10px)}.ngxsp-wmp-railTools{display:grid;gap:12px;padding:12px;border-top:1px solid var(--wmp-line)}.ngxsp-wmp-sourceButton{flex:0 0 auto;height:32px;display:inline-flex;align-items:center;gap:7px;padding:0 12px 0 10px;border:0;border-radius:var(--wmp-r-sm);background:var(--wmp-accent-strong);color:var(--wmp-on-accent);font-size:12px;font-weight:600;white-space:nowrap;cursor:pointer}.ngxsp-wmp-sourceButton ngxsp-smart-icon{width:16px;height:16px}.ngxsp-wmp-sourceButton:hover{filter:brightness(1.1)}.ngxsp-wmp-sourceButton:disabled{opacity:.7;cursor:progress}.ngxsp-wmp-libraryInfo{min-width:0;display:grid;gap:2px;padding:0 4px}.ngxsp-wmp-libraryInfo strong,.ngxsp-wmp-libraryInfo small{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ngxsp-wmp-libraryInfo strong{font-size:12px;font-weight:600}.ngxsp-wmp-libraryInfo small{color:var(--wmp-text-3);font-size:11px}.ngxsp-wmp-libraryStatus{display:flex;align-items:center;gap:6px}.ngxsp-wmp-libraryStatus:before{content:\"\";width:6px;height:6px;flex:0 0 auto;border-radius:50%;background:var(--wmp-success)}.ngxsp-wmp-libraryStatus.busy:before{background:var(--wmp-accent);animation:ngxsp-wmp-pulse 1.2s ease-in-out infinite}@keyframes ngxsp-wmp-pulse{0%,to{opacity:.35}50%{opacity:1}}.ngxsp-wmp-main{grid-area:main;min-width:0;min-height:0;display:flex;flex-direction:column;overflow:auto;background:var(--wmp-bg)}.ngxsp-wmp-nowPanel{position:relative;flex:0 0 auto;display:grid;grid-template-columns:184px minmax(0,1fr);align-items:end;gap:28px;padding:32px 32px 28px;background:radial-gradient(120% 140% at 0% 0%,rgb(93 99 238 / .2) 0%,transparent 60%),linear-gradient(180deg,var(--wmp-s1) 0%,var(--wmp-bg) 100%);border-bottom:1px solid var(--wmp-line)}.ngxsp-wmp-art{width:184px;height:184px;display:grid;place-items:center;overflow:hidden;border-radius:var(--wmp-r-md);background:linear-gradient(145deg,var(--wmp-s3),var(--wmp-s1));color:var(--wmp-text-3);box-shadow:var(--nsp-shadow-media, 0 18px 40px rgb(0 0 0 / .45))}.ngxsp-wmp-artNote ngxsp-smart-icon{width:56px;height:56px}.ngxsp-wmp-playerSurface{min-width:0;min-height:160px;display:flex;flex-direction:column;justify-content:flex-end;gap:16px}.ngxsp-wmp-nowCopy{min-width:0;display:grid;gap:4px}.ngxsp-wmp-eyebrow{display:inline-flex;align-items:center;gap:8px;color:var(--wmp-text-2);font-size:11px;font-weight:600}.ngxsp-wmp-liveDot{width:6px;height:6px;border-radius:50%;background:var(--wmp-success);box-shadow:0 0 0 3px #3ecf8e2e}.ngxsp-wmp-nowCopy h1{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:32px;line-height:1.15;font-weight:700}.ngxsp-wmp-shell .ngxsp-wmp-nowCopy h1{letter-spacing:-.015em}.ngxsp-wmp-nowCopy p{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--wmp-text);font-size:14px;font-weight:500}.ngxsp-wmp-nowCopy small{color:var(--wmp-text-2);font-size:12px}.ngxsp-wmp-nowActions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.ngxsp-wmp-nowOscillogram{min-width:0;min-height:48px;display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-rows:40px 2px;column-gap:14px;row-gap:6px;align-items:end}.ngxsp-wmp-nowWaveform{grid-column:1;grid-row:1;height:40px;display:flex;align-items:flex-end;gap:3px;overflow:hidden}.ngxsp-wmp-nowWaveform span{flex:1 1 0;min-width:2px;border-radius:2px 2px 0 0;background:var(--wmp-line-strong);transform-origin:bottom;transition:background-color .24s var(--wmp-ease)}.ngxsp-wmp-nowWaveform span.played{background:var(--wmp-accent)}.ngxsp-wmp-nowProgressLine{grid-column:1;grid-row:2;position:relative;height:2px;border-radius:999px;background:var(--wmp-line);overflow:hidden}.ngxsp-wmp-nowProgressLine i{position:absolute;inset:0 auto 0 0;background:var(--wmp-accent);border-radius:inherit}.ngxsp-wmp-nowTime{grid-column:2;grid-row:1 / span 2;align-self:end;display:flex;gap:4px;color:var(--wmp-text-2);font-size:12px;font-variant-numeric:tabular-nums}.ngxsp-wmp-nowTime small+small:before{content:\"/ \";color:var(--wmp-text-3)}.ngxsp-wmp-emptyPlayer{display:grid;justify-items:start;gap:10px}.ngxsp-wmp-emptyPlayer h1{font-size:28px;font-weight:700}.ngxsp-wmp-emptyPlayer p{color:var(--wmp-text-2);max-width:52ch}.ngxsp-wmp-shell .ngxsp-wmp-cover:not(.has-image){color:#fff9;background:radial-gradient(90% 70% at 20% 10%,rgb(255 255 255 / .16),transparent 60%),linear-gradient(140deg,var(--tone-a),var(--tone-b))}.ngxsp-wmp-cover[data-tone=\"0\"]{--tone-a:#4a4fc4;--tone-b:#1d1e45}.ngxsp-wmp-cover[data-tone=\"1\"]{--tone-a:#1f8078;--tone-b:#0e2a2c}.ngxsp-wmp-cover[data-tone=\"2\"]{--tone-a:#b3782a;--tone-b:#35230f}.ngxsp-wmp-cover[data-tone=\"3\"]{--tone-a:#a83a62;--tone-b:#2e1120}.ngxsp-wmp-cover[data-tone=\"4\"]{--tone-a:#2f6fa8;--tone-b:#0f2031}.ngxsp-wmp-cover[data-tone=\"5\"]{--tone-a:#6f7f2e;--tone-b:#1f240f}.ngxsp-wmp-cover[data-tone=\"6\"]{--tone-a:#7a48b8;--tone-b:#231436}.ngxsp-wmp-cover[data-tone=\"7\"]{--tone-a:#b0543a;--tone-b:#321710}.ngxsp-wmp-librarySurface{flex:1 0 auto;min-width:0;display:flex;flex-direction:column}.ngxsp-wmp-sectionHeader{display:grid;gap:2px;padding:24px 32px 8px}.ngxsp-wmp-sectionHeader>span{color:var(--wmp-text-2);font-size:12px;font-weight:600}.ngxsp-wmp-backButton{justify-self:start;display:inline-flex;align-items:center;gap:4px;max-width:100%;height:28px;margin:0 0 6px -8px;padding:0 10px 0 4px;border:0;border-radius:999px;background:transparent;color:var(--wmp-text-2);font:inherit;font-size:13px;font-weight:600;cursor:pointer}.ngxsp-wmp-backButton ngxsp-smart-icon{flex:none;width:18px;height:18px}.ngxsp-wmp-backButton span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ngxsp-wmp-backButton:hover{background:var(--wmp-s2, rgb(127 127 127 / .14));color:var(--wmp-text)}.ngxsp-wmp-sectionHeader h1,.ngxsp-wmp-sectionHeader h2{font-size:22px;line-height:1.2;font-weight:700}.ngxsp-wmp-sectionHeader.slim{grid-template-columns:minmax(0,1fr) auto;align-items:center;column-gap:8px;padding:14px 20px 8px}.ngxsp-wmp-sectionHeader.slim>span{grid-column:1}.ngxsp-wmp-sectionHeader.slim strong{grid-column:1;font-size:13px;font-weight:600}.ngxsp-wmp-sectionHeader.slim .ngxsp-wmp-smallButton{grid-column:2;grid-row:1 / span 2}.ngxsp-wmp-sectionScroll{display:grid;gap:28px;padding:8px 24px 32px}.ngxsp-wmp-section{min-width:0;display:grid;gap:10px}.ngxsp-wmp-section>h2,.ngxsp-wmp-section>h3{padding:0 8px;font-size:15px;font-weight:600}.ngxsp-wmp-cardGrid{display:grid;grid-template-columns:repeat(auto-fill,minmax(168px,1fr));gap:4px}.ngxsp-wmp-card{position:relative;min-width:0;container-type:inline-size;border-radius:var(--wmp-r-md);transition:background-color var(--wmp-dur) var(--wmp-ease)}.ngxsp-wmp-card:hover,.ngxsp-wmp-card:focus-within{background:var(--wmp-s1)}.ngxsp-wmp-cardSelect{width:100%;min-width:0;display:grid;gap:10px;padding:10px;border:0;border-radius:inherit;background:transparent;text-align:left}.ngxsp-wmp-thumb{position:relative;width:100%;aspect-ratio:1;display:grid;place-items:center;overflow:hidden;border-radius:8px;background:linear-gradient(145deg,var(--wmp-s3),var(--wmp-s1));color:var(--wmp-text-3);box-shadow:var(--nsp-shadow-card, 0 6px 18px rgb(0 0 0 / .3))}.ngxsp-wmp-thumb>ngxsp-smart-icon{width:36px;height:36px}.ngxsp-wmp-cardPlaySlot{position:absolute;top:calc(100cqw - 58px);right:18px;display:flex;opacity:0;transform:translateY(6px);transition:opacity var(--wmp-dur) var(--wmp-ease),transform var(--wmp-dur) var(--wmp-ease)}.ngxsp-wmp-card:hover .ngxsp-wmp-cardPlaySlot,.ngxsp-wmp-card:focus-within .ngxsp-wmp-cardPlaySlot,.ngxsp-wmp-card.active .ngxsp-wmp-cardPlaySlot{opacity:1;transform:none}.ngxsp-wmp-cardPlay{width:40px;height:40px;display:grid;place-items:center;padding:0;border:0;border-radius:999px;background:var(--wmp-accent-strong);color:#fff;box-shadow:0 8px 20px #0006}.ngxsp-wmp-cardPlay ngxsp-smart-icon{width:18px;height:18px}.ngxsp-wmp-cardCopy{min-width:0;display:grid;gap:2px}.ngxsp-wmp-cardCopy strong,.ngxsp-wmp-cardCopy small,.ngxsp-wmp-cardCopy em{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ngxsp-wmp-cardCopy strong{font-size:13px;font-weight:600}.ngxsp-wmp-card.active .ngxsp-wmp-cardCopy strong{color:var(--wmp-accent)}.ngxsp-wmp-cardCopy small{color:var(--wmp-text-2);font-size:12px}.ngxsp-wmp-cardCopy em{color:var(--wmp-text-3);font-size:11px;font-style:normal}.ngxsp-wmp-cardActions{position:absolute;top:18px;right:18px;display:flex;gap:4px;opacity:0;transition:opacity var(--wmp-dur) var(--wmp-ease)}.ngxsp-wmp-card:hover .ngxsp-wmp-cardActions,.ngxsp-wmp-card:focus-within .ngxsp-wmp-cardActions{opacity:1}.ngxsp-wmp-cardAction{width:32px;height:32px;display:grid;place-items:center;padding:0;border:0;border-radius:999px;background:#0d0e11cc;color:#fff;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}.ngxsp-wmp-cardAction ngxsp-smart-icon{width:14px;height:14px}.ngxsp-wmp-cardAction:hover{background:#0d0e11f2}.ngxsp-wmp-table{min-width:0;display:grid}.ngxsp-wmp-tableHead,.ngxsp-wmp-trackSelect{display:grid;grid-template-columns:36px minmax(0,2.4fr) minmax(0,1.3fr) minmax(0,1.3fr) 48px;align-items:center;gap:14px}.ngxsp-wmp-tableHead{position:sticky;top:0;z-index:1;height:34px;margin-bottom:4px;padding:0 calc(var(--wmp-actions-w, 112px) + 8px) 0 10px;border-bottom:1px solid var(--wmp-line);background:var(--wmp-bg);color:var(--wmp-text-2);font-size:11px;font-weight:600}.ngxsp-wmp-tableHead>span:first-child{text-align:center}.ngxsp-wmp-timeHead{display:flex;justify-content:flex-end}.ngxsp-wmp-timeHead ngxsp-smart-icon{width:15px;height:15px}.ngxsp-wmp-trackRow{position:relative;min-width:0;display:grid;grid-template-columns:minmax(0,1fr) var(--wmp-actions-w, 112px);align-items:center;gap:8px;border-radius:var(--wmp-r-sm);transition:background-color var(--wmp-dur) var(--wmp-ease)}.ngxsp-wmp-trackRow:hover,.ngxsp-wmp-trackRow:focus-within{background:var(--wmp-s1)}.ngxsp-wmp-trackRow.active{background:var(--wmp-accent-soft)}.ngxsp-wmp-trackSelect{min-width:0;height:52px;padding:0 0 0 10px;border:0;border-radius:inherit;background:transparent;color:var(--wmp-text-2);text-align:left}.ngxsp-wmp-trackIndex{position:relative;display:grid;place-items:center;color:var(--wmp-text-2);font-variant-numeric:tabular-nums}.ngxsp-wmp-trackIndex>ngxsp-smart-icon{width:16px;height:16px}.ngxsp-wmp-trackRow.active .ngxsp-wmp-trackIndex{color:var(--wmp-accent)}.ngxsp-wmp-indexPlay{position:absolute;opacity:0;color:var(--wmp-text)}.ngxsp-wmp-trackRow:hover .ngxsp-wmp-indexNumber{opacity:0}.ngxsp-wmp-trackRow:hover .ngxsp-wmp-indexPlay{opacity:1}.ngxsp-wmp-trackTitle{min-width:0;display:flex;align-items:center;gap:12px}.ngxsp-wmp-rowIcon{width:36px;height:36px;flex:0 0 auto;display:grid;place-items:center;overflow:hidden;border-radius:4px;background:var(--wmp-s2);color:var(--wmp-text-3)}.ngxsp-wmp-rowIcon ngxsp-smart-icon{width:16px;height:16px}.ngxsp-wmp-rowCopy{min-width:0;display:grid;gap:1px}.ngxsp-wmp-rowCopy strong,.ngxsp-wmp-rowCopy small{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ngxsp-wmp-rowCopy strong{color:var(--wmp-text);font-size:13px;font-weight:500}.ngxsp-wmp-rowCopy small{color:var(--wmp-text-2);font-size:12px}.ngxsp-wmp-trackRow.active .ngxsp-wmp-rowCopy strong{color:var(--wmp-accent)}.ngxsp-wmp-trackCell{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ngxsp-wmp-trackTime{text-align:right;font-variant-numeric:tabular-nums}.ngxsp-wmp-rowActions{display:flex;align-items:center;justify-content:flex-end;gap:2px;padding-right:8px}.ngxsp-wmp-rowFavorite,.ngxsp-wmp-rowQueueAction{flex:0 0 32px;width:32px;height:32px;display:grid;place-items:center;padding:0;border:0;border-radius:var(--wmp-r-sm);background:transparent;color:var(--wmp-text-2);opacity:0;transition:opacity var(--wmp-dur) var(--wmp-ease),background-color var(--wmp-dur) var(--wmp-ease),color var(--wmp-dur) var(--wmp-ease)}.ngxsp-wmp-rowFavorite ngxsp-smart-icon,.ngxsp-wmp-rowQueueAction ngxsp-smart-icon{width:16px;height:16px}.ngxsp-wmp-rowFavorite:hover,.ngxsp-wmp-rowQueueAction:hover{background:var(--wmp-s3);color:var(--wmp-text)}.ngxsp-wmp-trackRow:hover .ngxsp-wmp-rowFavorite,.ngxsp-wmp-trackRow:hover .ngxsp-wmp-rowQueueAction,.ngxsp-wmp-trackRow:focus-within .ngxsp-wmp-rowFavorite,.ngxsp-wmp-trackRow:focus-within .ngxsp-wmp-rowQueueAction,.ngxsp-wmp-rowFavorite.active{opacity:1}.ngxsp-wmp-rowFavorite.active{color:var(--wmp-accent)}.ngxsp-wmp-rowFavorite.active ngxsp-smart-icon ::ng-deep path{fill:currentColor}.ngxsp-wmp-rowProgress{position:absolute;left:10px;right:10px;bottom:3px;height:2px;border-radius:999px;background:var(--wmp-line);overflow:hidden;pointer-events:none}.ngxsp-wmp-thumb .ngxsp-wmp-rowProgress{left:0;right:0;bottom:0;border-radius:0}.ngxsp-wmp-rowProgress i{position:absolute;inset:0 auto 0 0;background:var(--wmp-accent)}.ngxsp-wmp-emptyLibrary{display:grid;justify-items:center;gap:8px;padding:32px 16px;border:1px dashed var(--wmp-line-strong);border-radius:var(--wmp-r-md);color:var(--wmp-text-2);text-align:center}.ngxsp-wmp-emptyLibrary ngxsp-smart-icon{width:28px;height:28px;color:var(--wmp-text-3)}.ngxsp-wmp-playlist{grid-area:panel;min-width:0;min-height:0;display:flex;flex-direction:column;border-left:1px solid var(--wmp-line);background:var(--wmp-s0);overflow:hidden}.ngxsp-wmp-sheetToggles{display:flex;justify-content:center;gap:4px;padding:4px 12px 0}.ngxsp-wmp-panelStack{flex:1;display:flex;flex-direction:column;gap:10px;padding:12px;overflow:hidden;min-height:0}.ngxsp-wmp-stackItem{flex:1 1 0;border:1px solid var(--wmp-border,#d9d9d9);border-radius:10px;overflow:hidden;display:flex;flex-direction:column;min-height:0}.ngxsp-wmp-stackItem.collapsed{flex:0 0 auto}.ngxsp-wmp-stackHead{display:flex;align-items:center;gap:8px;padding:7px 8px 7px 11px;background:var(--wmp-surface-2,rgba(127,127,127,.08))}.ngxsp-wmp-stackHead strong{font-size:12.5px;font-weight:600}.ngxsp-wmp-stackIcon{display:grid;place-items:center;width:24px;height:24px;padding:0;border:0;border-radius:6px;background:transparent;color:inherit;cursor:pointer;opacity:.65}.ngxsp-wmp-stackIcon:hover,.ngxsp-wmp-stackIcon:focus-visible{opacity:1}.ngxsp-wmp-stackIcon+.ngxsp-wmp-stackIcon{margin-left:-2px}.ngxsp-wmp-stackHead .ngxsp-wmp-stackIcon:first-of-type{margin-left:auto}.ngxsp-wmp-stackItem svg{width:14px;height:14px}.ngxsp-wmp-queueList{flex:1;min-height:0;display:grid;align-content:start;gap:1px;padding:0 8px 12px;overflow:auto}.ngxsp-wmp-queueItem{width:100%;min-width:0;min-height:56px;display:grid;grid-template-columns:40px minmax(0,1fr) auto;align-items:center;gap:12px;padding:8px;border:0;border-radius:var(--wmp-r-sm);background:transparent;text-align:left;transition:background-color var(--wmp-dur) var(--wmp-ease)}.ngxsp-wmp-queueItem:hover{background:var(--wmp-s2)}.ngxsp-wmp-queueItem.active{background:var(--wmp-accent-soft)}.ngxsp-wmp-queueItem.active .ngxsp-wmp-rowCopy strong{color:var(--wmp-accent)}.ngxsp-wmp-queueCover{position:relative;width:40px;height:40px;display:grid;place-items:center;overflow:hidden;border-radius:4px;background:var(--wmp-s2);color:var(--wmp-text-3)}.ngxsp-wmp-queueCover>ngxsp-smart-icon{width:16px;height:16px}.ngxsp-wmp-queueNow{position:absolute;inset:0;display:grid;place-items:center;background:#0d0e1199;color:#fff}.ngxsp-wmp-rowBadges{display:flex;flex-wrap:wrap;gap:4px;margin-top:3px}.ngxsp-wmp-rowBadges em{display:inline-flex;align-items:center;gap:3px;height:18px;padding:0 6px;border-radius:4px;background:var(--wmp-s3);color:var(--wmp-text-2);font-size:10px;font-style:normal;font-weight:500}.ngxsp-wmp-rowBadges em ngxsp-smart-icon{width:10px;height:10px}.ngxsp-wmp-rowBadges em.favorite{color:var(--wmp-accent)}.ngxsp-wmp-rowMeta{color:var(--wmp-text-2);font-size:12px;font-variant-numeric:tabular-nums}.ngxsp-wmp-management,.ngxsp-wmp-devices{flex:1;min-height:0;display:grid;align-content:start;gap:10px;padding:10px 12px 16px;overflow:auto}.ngxsp-wmp-devices .ngxsp-wmp-sectionHeader.slim{padding:4px 4px 6px}.ngxsp-wmp-inlineForm{display:flex;gap:6px}.ngxsp-wmp-inlineForm input{flex:1;min-width:0;height:32px;padding:0 10px;border:1px solid var(--wmp-line-strong);border-radius:var(--wmp-r-sm);background:var(--wmp-s1);color:var(--wmp-text);font-size:12px}.ngxsp-wmp-inlineForm input::placeholder{color:var(--wmp-text-3)}.ngxsp-wmp-shell .ngxsp-wmp-inlineForm input:focus-visible{outline:0;border-color:var(--wmp-accent);box-shadow:0 0 0 2px var(--wmp-accent-soft)}.ngxsp-wmp-stationForm{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin-bottom:14px;padding:10px 12px;border:1px solid var(--wmp-line);border-radius:var(--wmp-r-md);background:var(--wmp-s1)}.ngxsp-wmp-stationTitle{font-size:12px;font-weight:600;color:var(--wmp-text-2)}.ngxsp-wmp-discovered{flex:1 1 100%;display:grid;gap:4px;margin:0;padding:0;list-style:none}.ngxsp-wmp-discovered li{display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:36px;padding:2px 0 2px 8px;border-top:1px solid var(--wmp-line)}.ngxsp-wmp-discovered li span{display:grid;min-width:0}.ngxsp-wmp-discovered strong{overflow:hidden;font-size:13px;font-weight:600;text-overflow:ellipsis;white-space:nowrap}.ngxsp-wmp-discovered small,.ngxsp-wmp-discovered li.empty{overflow:hidden;color:var(--wmp-text-2);font-size:12px;text-overflow:ellipsis;white-space:nowrap}.ngxsp-wmp-serverKind{height:32px;padding:0 8px;border:1px solid var(--wmp-line-strong);border-radius:var(--wmp-r-sm);background:var(--wmp-s0);color:var(--wmp-text);font-size:12px}.ngxsp-wmp-stationForm input{flex:1 1 180px;min-width:0;height:32px;padding:0 10px;border:1px solid var(--wmp-line-strong);border-radius:var(--wmp-r-sm);background:var(--wmp-s0);color:var(--wmp-text);font-size:12px}.ngxsp-wmp-stationForm input::placeholder{color:var(--wmp-text-3)}.ngxsp-wmp-shell .ngxsp-wmp-stationForm input:focus-visible{outline:0;border-color:var(--wmp-accent);box-shadow:0 0 0 2px var(--wmp-accent-soft)}.ngxsp-wmp-stationHint{flex:1 0 100%;color:var(--wmp-text-3);font-size:11px}.ngxsp-wmp-targetBanner{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:8px 10px;border:1px solid var(--wmp-accent-soft);border-radius:var(--wmp-r-sm);background:var(--wmp-accent-soft);color:var(--wmp-text);font-size:12px}.ngxsp-wmp-targetBanner strong{margin-left:4px}.ngxsp-wmp-rowQueueAction.danger:hover,.ngxsp-wmp-cardAction.danger:hover{color:var(--wmp-danger, #e5484d)}.ngxsp-wmp-rowQueueAction.active{color:var(--wmp-accent)}.ngxsp-wmp-targets{display:grid;gap:6px}.ngxsp-wmp-target,.ngxsp-wmp-device{display:grid;gap:8px;padding:10px;border:1px solid var(--wmp-line);border-radius:var(--wmp-r-md);background:var(--wmp-s1)}.ngxsp-wmp-sheetButton,.ngxsp-wmp-sheetHeader{display:none}.ngxsp-wmp-lyrics{flex:1;display:grid;gap:8px;min-height:0;grid-template-rows:auto auto minmax(0,1fr)}.ngxsp-wmp-lyricsStatus{margin:0;color:var(--wmp-text-2);font-size:12px}.ngxsp-wmp-lyricsLines{display:grid;gap:2px;overflow-y:auto;padding-right:4px;scroll-behavior:smooth}.ngxsp-wmp-lyricsLine{margin:0;padding:6px 8px;border:0;border-radius:var(--wmp-r-sm);background:transparent;color:var(--wmp-text-2);font-size:13px;line-height:1.45;text-align:left;white-space:pre-wrap}button.ngxsp-wmp-lyricsLine{cursor:pointer}button.ngxsp-wmp-lyricsLine:hover{background:var(--wmp-s2);color:var(--wmp-text)}.ngxsp-wmp-lyricsLine.active{background:var(--wmp-s2);color:var(--wmp-text);font-weight:600}@media(prefers-reduced-motion:reduce){.ngxsp-wmp-lyricsLines{scroll-behavior:auto}}.ngxsp-wmp-targetMain{min-width:0;display:grid;grid-template-columns:32px minmax(0,1fr) auto;align-items:center;gap:10px}.ngxsp-wmp-targetIcon{width:32px;height:32px;display:grid;place-items:center;border-radius:var(--wmp-r-sm);background:var(--wmp-s3);color:var(--wmp-text-2)}.ngxsp-wmp-targetIcon ngxsp-smart-icon{width:16px;height:16px}.ngxsp-wmp-targetActions{display:flex;gap:4px;padding-left:38px}.ngxsp-wmp-targetActions button{height:32px;padding:0 8px;border:0;border-radius:4px;background:transparent;color:var(--wmp-text-2);font-size:12px}.ngxsp-wmp-targetActions button:hover{background:var(--wmp-s3);color:var(--wmp-text)}.ngxsp-wmp-targetActions button.danger:hover{color:var(--wmp-danger-text);background:#f25f5c29}.ngxsp-wmp-device{grid-template-columns:32px minmax(0,1fr);align-items:center;column-gap:10px}.ngxsp-wmp-device.active{border-color:#8b90ff66;background:var(--wmp-accent-soft)}.ngxsp-wmp-device.active .ngxsp-wmp-targetIcon{color:var(--wmp-accent)}.ngxsp-wmp-deviceActions{grid-column:2;display:flex;gap:6px}.ngxsp-wmp-transport{grid-area:transport;min-width:0;display:grid;grid-template-columns:minmax(0,1fr) minmax(320px,620px) minmax(min-content,1fr);align-items:center;gap:24px;padding:0 16px;border-top:1px solid var(--wmp-line);background:var(--wmp-s0)}.ngxsp-wmp-miniNow{min-width:0;display:grid;grid-template-columns:52px minmax(0,1fr) auto;align-items:center;gap:12px}.ngxsp-wmp-miniArt{width:52px;height:52px;display:grid;place-items:center;overflow:hidden;border-radius:6px;background:var(--wmp-s2);color:var(--wmp-text-3)}.ngxsp-wmp-miniCopy{min-width:0;display:grid;gap:2px}.ngxsp-wmp-miniCopy strong,.ngxsp-wmp-miniCopy small{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ngxsp-wmp-miniCopy strong{font-size:13px;font-weight:600}.ngxsp-wmp-miniCopy small{color:var(--wmp-text-2);font-size:12px}.ngxsp-wmp-transportCenter{min-width:0;display:grid;justify-items:center;gap:0}.ngxsp-wmp-transportButtons{display:flex;align-items:center;gap:12px}.ngxsp-wmp-seekRow{width:100%;display:grid;grid-template-columns:44px minmax(0,1fr) 44px;align-items:center;gap:10px;color:var(--wmp-text-2);font-size:11px;font-variant-numeric:tabular-nums}.ngxsp-wmp-seekRow small:first-child{text-align:right}.ngxsp-wmp-seek{min-height:32px;--ngxsp-track-size:4px;--ngxsp-track-bg:var(--wmp-s3);--ngxsp-buffered-bg:transparent;--ngxsp-accent:var(--wmp-text);--ngxsp-thumb-size:12px;--ngxsp-thumb-bg:var(--wmp-text);--ngxsp-preview-bg:var(--wmp-s2);--ngxsp-preview-border:var(--wmp-line-strong)}.ngxsp-wmp-seek:hover{--ngxsp-accent:var(--wmp-accent)}.ngxsp-wmp-seek ::ng-deep .ngxsp-ts-thumb{opacity:0;transition:opacity var(--wmp-dur) var(--wmp-ease)}.ngxsp-wmp-seek:hover ::ng-deep .ngxsp-ts-thumb,.ngxsp-wmp-seek:focus-visible ::ng-deep .ngxsp-ts-thumb{opacity:1}.ngxsp-wmp-transportModes{min-width:0;display:flex;align-items:center;justify-content:flex-end;gap:6px}.ngxsp-wmp-volumeControl{--ngxsp-control-size:32px;--ngxsp-volume-range-min:72px;--ngxsp-volume-range-max:112px;--ngxsp-volume-gap:4px;--ngxsp-volume-button-border:1px solid transparent;--ngxsp-volume-button-radius:6px;--ngxsp-volume-accent:var(--wmp-text);--ngxsp-volume-track-bg:var(--wmp-s3);--ngxsp-volume-thumb-bg:var(--wmp-text);--ngxsp-volume-thumb-size:12px;--ngxsp-volume-thumb-shadow:none;--ngxsp-focus-ring:0 0 0 2px var(--wmp-accent);color:var(--wmp-text-2)}.ngxsp-wmp-volumeControl:hover{--ngxsp-volume-accent:var(--wmp-accent);color:var(--wmp-text)}.ngxsp-wmp-dropOverlay{position:absolute;inset:12px;z-index:40;display:grid;place-content:center;justify-items:center;gap:10px;border:2px dashed var(--wmp-accent);border-radius:14px;background:var(--nsp-scrim, rgb(13 14 17 / .88));-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);color:var(--wmp-text);text-align:center;pointer-events:none}.ngxsp-wmp-dropIcon{width:56px;height:56px;display:grid;place-items:center;border-radius:14px;background:var(--wmp-accent-soft);color:var(--wmp-accent)}.ngxsp-wmp-dropIcon ngxsp-smart-icon{width:28px;height:28px}.ngxsp-wmp-dropOverlay strong{font-size:16px;font-weight:600}.ngxsp-wmp-dropOverlay span:last-child{color:var(--wmp-text-2)}@media(hover:none),(pointer:coarse){.ngxsp-wmp-rowFavorite,.ngxsp-wmp-rowQueueAction,.ngxsp-wmp-cardActions{opacity:1}.ngxsp-wmp-cardPlaySlot{opacity:1;transform:none}}@media(max-width:1180px){.ngxsp-wmp-shell{--wmp-rail-w:208px;--wmp-panel-w:284px}.ngxsp-wmp-sourceButton span{display:none}.ngxsp-wmp-sourceButton{width:32px;padding:0;justify-content:center}.ngxsp-wmp-tableHead,.ngxsp-wmp-trackSelect{grid-template-columns:32px minmax(0,2fr) minmax(0,1fr) 48px}.ngxsp-wmp-tableHead>span:nth-child(4),.ngxsp-wmp-albumCell{display:none}.ngxsp-wmp-nowPanel{grid-template-columns:148px minmax(0,1fr);gap:22px;padding:24px}.ngxsp-wmp-art{width:148px;height:148px}.ngxsp-wmp-nowCopy h1{font-size:26px}.ngxsp-wmp-transport{grid-template-columns:minmax(0,1fr) minmax(240px,1.4fr) minmax(min-content,1fr);gap:16px}.ngxsp-wmp-miniNow{grid-template-columns:44px minmax(0,1fr) auto}.ngxsp-wmp-miniArt{width:44px;height:44px}.ngxsp-wmp-volumeControl{--ngxsp-volume-range-min:56px;--ngxsp-volume-range-max:84px}}@media(max-width:960px)and (min-width:721px){.ngxsp-wmp-shell{--wmp-rail-w:188px;--wmp-panel-w:260px}.ngxsp-wmp-titleActions .ngxsp-wmp-status{display:none}.ngxsp-wmp-miniNow>.ngxsp-wmp-iconButton{display:none}}@media(max-height:760px)and (min-width:721px){.ngxsp-wmp-nowPanel{padding-top:20px;padding-bottom:20px}}@media(max-width:720px){.ngxsp-wmp-shell,.ngxsp-wmp-shell.ngxsp-wmp-panelHidden{height:auto;min-height:100%;grid-template-columns:minmax(0,1fr);grid-template-rows:auto auto auto auto;grid-template-areas:\"title\" \"rail\" \"main\" \"panel\";--wmp-transport-h:100px;padding-bottom:calc(var(--wmp-transport-h) + env(safe-area-inset-bottom,0px));overflow:visible}.ngxsp-wmp-shell.ngxsp-wmp-panelHidden .ngxsp-wmp-playlist{display:flex}.ngxsp-wmp-titlebar{grid-template-columns:minmax(0,1fr) auto;grid-template-rows:48px auto;row-gap:0;padding:0 12px 10px}.ngxsp-wmp-search{grid-column:1 / -1;grid-row:2;justify-self:stretch;width:100%}.ngxsp-wmp-titleActions .ngxsp-wmp-status{display:none}.ngxsp-wmp-titleActions>.ngxsp-wmp-iconButton{display:none}.ngxsp-wmp-rail{border-right:0;border-bottom:1px solid var(--wmp-line)}.ngxsp-wmp-nav{flex-direction:row;gap:4px;padding:8px 12px;overflow-x:auto}.ngxsp-wmp-navItem{width:auto;flex:0 0 auto;grid-template-columns:16px auto auto;height:32px;gap:6px}.ngxsp-wmp-navDivider{width:1px;height:20px;margin:6px 4px}.ngxsp-wmp-railTools{display:none}.ngxsp-wmp-lyricsLines{min-height:50vh}.ngxsp-wmp-main{overflow:visible}.ngxsp-wmp-nowPanel{grid-template-columns:96px minmax(0,1fr);align-items:center;gap:16px;padding:16px}.ngxsp-wmp-art{width:96px;height:96px;align-self:start}.ngxsp-wmp-playerSurface{min-height:120px;gap:10px}.ngxsp-wmp-nowCopy h1{font-size:20px}.ngxsp-wmp-nowOscillogram{grid-template-columns:minmax(0,1fr)}.ngxsp-wmp-nowTime{display:none}.ngxsp-wmp-nowActions{gap:8px}.ngxsp-wmp-nowActions .ngxsp-wmp-iconButton.outlined{width:36px;height:36px}.ngxsp-wmp-primaryButton{height:36px}.ngxsp-wmp-sectionHeader{padding:16px 16px 4px}.ngxsp-wmp-sectionScroll{padding:4px 8px 16px;gap:18px}.ngxsp-wmp-shell:not(.ngxsp-wmp-browseMode) .ngxsp-wmp-cardGrid{grid-template-columns:none;grid-auto-flow:column;grid-auto-columns:minmax(132px,42%);overflow-x:auto;scroll-snap-type:x mandatory;padding-bottom:4px}.ngxsp-wmp-card{scroll-snap-align:start}.ngxsp-wmp-shell:not(.ngxsp-wmp-browseMode) .ngxsp-wmp-cardGrid .ngxsp-wmp-card:nth-child(n+5){display:none}.ngxsp-wmp-browseMode .ngxsp-wmp-cardGrid{grid-template-columns:repeat(auto-fill,minmax(140px,1fr));gap:8px}.ngxsp-wmp-shell:not(.ngxsp-wmp-browseMode) .ngxsp-wmp-sectionScroll>.ngxsp-wmp-section:nth-child(n+2){display:none}.ngxsp-wmp-cardActions{top:14px;right:14px}.ngxsp-wmp-shell:not(.ngxsp-wmp-browseMode) .ngxsp-wmp-table .ngxsp-wmp-trackRow:nth-of-type(n+6){display:none}.ngxsp-wmp-tableHead{display:none}.ngxsp-wmp-trackRow{grid-template-columns:minmax(0,1fr) auto}.ngxsp-wmp-trackSelect{grid-template-columns:28px minmax(0,1fr) 44px;gap:10px}.ngxsp-wmp-trackSelect>.ngxsp-wmp-trackCell{display:none}.ngxsp-wmp-rowQueueAction{display:none}.ngxsp-wmp-rowActions{padding-right:4px}.ngxsp-wmp-playlist,.ngxsp-wmp-shell.ngxsp-wmp-panelHidden .ngxsp-wmp-playlist{display:none}.ngxsp-wmp-playlist.sheet,.ngxsp-wmp-shell.ngxsp-wmp-panelHidden .ngxsp-wmp-playlist.sheet{display:flex;position:fixed;left:0;right:0;top:0;bottom:calc(var(--wmp-transport-h) + env(safe-area-inset-bottom,0px));z-index:40;border:0;border-bottom:1px solid var(--wmp-line);overflow-y:auto;background:var(--wmp-s0);padding-top:env(safe-area-inset-top,0px)}.ngxsp-wmp-playlist.sheet .ngxsp-wmp-queueList .ngxsp-wmp-queueItem:nth-child(n+5){display:grid}.ngxsp-wmp-sheetHeader{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 16px;border-bottom:1px solid var(--wmp-line)}.ngxsp-wmp-sheetHeader strong{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:15px}.ngxsp-wmp-queueList{overflow:visible}.ngxsp-wmp-queueList .ngxsp-wmp-queueItem:nth-child(n+5){display:none}.ngxsp-wmp-transport{position:fixed;left:0;right:0;bottom:0;z-index:30;height:calc(var(--wmp-transport-h) + env(safe-area-inset-bottom,0px));grid-template-columns:minmax(0,1fr) auto;grid-template-rows:minmax(0,1fr) auto;gap:0 8px;padding:10px 12px calc(6px + env(safe-area-inset-bottom,0px));box-shadow:0 -12px 32px #00000059}.ngxsp-wmp-miniNow{grid-template-columns:44px minmax(0,1fr) auto}.ngxsp-wmp-miniNow>.ngxsp-wmp-iconButton{display:none}.ngxsp-wmp-miniNow>.ngxsp-wmp-sheetButton{display:grid}.ngxsp-wmp-miniArt{width:44px;height:44px}.ngxsp-wmp-transportCenter{display:contents}.ngxsp-wmp-transportButtons{grid-column:2;grid-row:1;gap:4px}.ngxsp-wmp-transportButtons>.ngxsp-wmp-iconButton:first-child,.ngxsp-wmp-transportButtons>.ngxsp-wmp-iconButton:last-child{display:none}.ngxsp-wmp-seekRow{grid-column:1;grid-row:2;grid-template-columns:minmax(0,1fr)}.ngxsp-wmp-seekRow small{display:none}.ngxsp-wmp-transportModes{grid-column:2;grid-row:2;gap:0}.ngxsp-wmp-volumeControl{--ngxsp-volume-range-min:56px;--ngxsp-volume-range-max:72px}}@media(max-width:480px){.ngxsp-wmp-transportModes>.ngxsp-wmp-iconButton{display:none}.ngxsp-wmp-transportModes>.ngxsp-wmp-devicesButton,.ngxsp-wmp-transportModes>.ngxsp-wmp-windowButton{display:grid}}.ngxsp-wmp-shell.ngxsp-wmp-compact{height:100vh;min-height:0;display:grid;grid-template:minmax(0,1fr) / minmax(0,1fr);padding:env(titlebar-area-height,0px) 0 0}.ngxsp-wmp-shell.ngxsp-wmp-compact>:not(.ngxsp-wmp-transport){display:none!important}.ngxsp-wmp-shell.ngxsp-wmp-compact .ngxsp-wmp-transport{grid-area:1 / 1;position:static;height:auto;min-height:0;border-top:0;box-shadow:none;-webkit-user-select:none;user-select:none;-webkit-app-region:drag}.ngxsp-wmp-compact .ngxsp-wmp-transport :is(button,ngxsp-time-slider,ngxsp-volume-control){-webkit-app-region:no-drag}.ngxsp-wmp-compact .ngxsp-wmp-sheetButton,.ngxsp-wmp-compact .ngxsp-wmp-transportModes>.ngxsp-wmp-iconButton{display:none}.ngxsp-wmp-compact .ngxsp-wmp-transportModes>.ngxsp-wmp-devicesButton{display:grid}.ngxsp-wmp-compactMini .ngxsp-wmp-transport{align-content:center;padding:10px 12px 8px}.ngxsp-wmp-compactMiniLyrics .ngxsp-wmp-transport{grid-template-rows:minmax(0,1fr) auto auto;align-content:stretch;row-gap:4px}.ngxsp-wmp-compactMiniLyrics .ngxsp-wmp-compactLyrics{grid-column:1 / -1;grid-row:1;align-self:stretch}.ngxsp-wmp-compactMiniLyrics .ngxsp-wmp-miniNow,.ngxsp-wmp-compactMiniLyrics .ngxsp-wmp-transportButtons{grid-row:2}.ngxsp-wmp-compactMiniLyrics .ngxsp-wmp-seekRow,.ngxsp-wmp-compactMiniLyrics .ngxsp-wmp-transportModes{grid-row:3}.ngxsp-wmp-compactLyrics{position:relative;min-height:0;display:grid;align-content:start;gap:2px;overflow-y:auto;padding:6px 4px 10px;border-bottom:1px solid var(--wmp-line);-webkit-app-region:no-drag;-webkit-mask-image:linear-gradient(transparent,#000 18%,#000 82%,transparent);mask-image:linear-gradient(transparent,#000 18%,#000 82%,transparent)}.ngxsp-wmp-compactLyrics::-webkit-scrollbar{display:none}.ngxsp-wmp-compactLyricsLine{margin:0;padding:3px 6px;border:0;border-radius:var(--wmp-r-sm);background:none;color:var(--wmp-text-3);font:inherit;font-size:13px;line-height:1.35;text-align:left;cursor:pointer;transition:color var(--wmp-dur) var(--wmp-ease),font-size var(--wmp-dur) var(--wmp-ease)}.ngxsp-wmp-compactLyricsLine.plain{cursor:default;color:var(--wmp-text-2)}.ngxsp-wmp-compactLyricsLine.active{color:var(--wmp-text);font-size:15px;font-weight:650}.ngxsp-wmp-compactLyricsLine:not(.plain):hover{color:var(--wmp-text-2)}.ngxsp-wmp-shell.ngxsp-wmp-compactBarLyrics .ngxsp-wmp-transport{grid-template-columns:minmax(0,1fr) minmax(0,1.2fr) minmax(280px,560px) minmax(0,1fr)}.ngxsp-wmp-barLyrics{min-width:0;display:grid;gap:2px;text-align:center}.ngxsp-wmp-barLyrics strong,.ngxsp-wmp-barLyrics span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ngxsp-wmp-barLyrics strong{color:var(--wmp-text);font-size:15px;font-weight:650}.ngxsp-wmp-barLyrics span{color:var(--wmp-text-3);font-size:12px}.ngxsp-wmp-compactActions{display:inline-flex;align-items:center;gap:2px}.ngxsp-wmp-compactActions button{width:28px;height:28px;display:grid;place-items:center;padding:0;border:0;border-radius:var(--wmp-r-sm);background:transparent;color:var(--wmp-text-2);cursor:pointer}.ngxsp-wmp-compactActions button:hover{background:var(--wmp-s2);color:var(--wmp-text)}.ngxsp-wmp-compactActions button:focus-visible{outline:2px solid var(--wmp-accent);outline-offset:1px}.ngxsp-wmp-compactActions ngxsp-smart-icon{width:16px;height:16px}@media(prefers-reduced-motion:reduce){.ngxsp-wmp-shell *,.ngxsp-wmp-shell *:before,.ngxsp-wmp-shell *:after{animation:none!important;transition:none!important}}\n"],
2583
+ styles: [":host{display:block;height:100%;min-height:0;color:var(--nsp-text, #ededf0);font-family:var(--nsp-font, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Ubuntu, sans-serif);font-size:13px;line-height:1.4}.ngxsp-wmp-shell{--wmp-bg:var(--nsp-bg, #0d0e11);--wmp-s0:var(--nsp-surface-0, #121317);--wmp-s1:var(--nsp-surface-1, #17181d);--wmp-s2:var(--nsp-surface-2, #1e1f25);--wmp-s3:var(--nsp-surface-3, #26272e);--wmp-line:var(--nsp-line, rgb(255 255 255 / .07));--wmp-line-strong:var(--nsp-line-strong, rgb(255 255 255 / .13));--wmp-text:var(--nsp-text, #ededf0);--wmp-text-2:var(--nsp-text-2, #a3a5ae);--wmp-text-3:var(--nsp-text-3, #80828c);--wmp-accent:var(--nsp-accent, #8b90ff);--wmp-accent-strong:var(--nsp-accent-strong, #5d63ee);--wmp-accent-soft:var(--nsp-accent-soft, rgb(139 144 255 / .14));--wmp-on-accent:var(--nsp-on-accent, #fff);--wmp-success:var(--nsp-success, #3ecf8e);--wmp-danger:var(--nsp-danger, #f25f5c);--wmp-danger-text:var(--nsp-danger-text, #ffb4b2);--wmp-r-sm:var(--nsp-radius-sm, 6px);--wmp-r-md:var(--nsp-radius-md, 10px);--wmp-ease:var(--nsp-ease, cubic-bezier(.2,0,0,1));--wmp-dur:var(--nsp-dur, .14s);--wmp-title-h:var(--nsp-titlebar-height, 48px);--wmp-rail-w:232px;--wmp-panel-w:320px;--wmp-transport-h:84px;position:relative;height:100%;min-height:600px;display:grid;grid-template-columns:var(--wmp-rail-w) minmax(0,1fr) var(--wmp-panel-w);grid-template-rows:var(--wmp-title-h) minmax(0,1fr) var(--wmp-transport-h);grid-template-areas:\"title title title\" \"rail main panel\" \"transport transport transport\";overflow:hidden;background:var(--wmp-bg);color:var(--wmp-text);box-sizing:border-box}.ngxsp-wmp-shell.ngxsp-wmp-panelHidden{grid-template-columns:var(--wmp-rail-w) minmax(0,1fr);grid-template-areas:\"title title\" \"rail main\" \"transport transport\"}.ngxsp-wmp-shell.ngxsp-wmp-panelHidden .ngxsp-wmp-playlist{display:none}.ngxsp-wmp-shell *{box-sizing:border-box;letter-spacing:0}.ngxsp-wmp-shell *::-webkit-scrollbar{width:10px;height:10px}.ngxsp-wmp-shell *::-webkit-scrollbar-track{background:transparent}.ngxsp-wmp-shell *::-webkit-scrollbar-thumb{background:var(--wmp-s3);border-radius:999px;border:3px solid transparent;background-clip:padding-box}.ngxsp-wmp-shell *::-webkit-scrollbar-thumb:hover{background-color:var(--wmp-line-strong)}button,input{font:inherit;color:inherit}button{cursor:pointer}img{display:block;width:100%;height:100%;object-fit:cover}h1,h2,h3,p{margin:0}ngxsp-smart-icon{width:18px;height:18px}.ngxsp-wmp-fileInput{display:none}.ngxsp-wmp-shell button:focus-visible,.ngxsp-wmp-shell input:focus-visible{outline:2px solid var(--wmp-accent);outline-offset:2px}.ngxsp-wmp-engineMount{position:absolute;width:1px;height:1px;overflow:hidden;opacity:0;pointer-events:none}.ngxsp-wmp-engineMount ngx-smart-player{display:block;width:1px;height:1px;min-height:0;border:0}.ngxsp-wmp-iconButton{width:32px;height:32px;flex:0 0 auto;display:inline-grid;place-items:center;padding:0;border:1px solid transparent;border-radius:var(--wmp-r-sm);background:transparent;color:var(--wmp-text-2);transition:background-color var(--wmp-dur) var(--wmp-ease),color var(--wmp-dur) var(--wmp-ease),border-color var(--wmp-dur) var(--wmp-ease)}.ngxsp-wmp-iconButton:hover:not(:disabled){background:var(--wmp-s2);color:var(--wmp-text)}.ngxsp-wmp-iconButton.active,.ngxsp-wmp-iconButton.active:hover:not(:disabled){color:var(--wmp-accent)}.ngxsp-wmp-iconButton.outlined{width:40px;height:40px;border-color:var(--wmp-line-strong);border-radius:999px}.ngxsp-wmp-iconButton:disabled{opacity:.35;cursor:default}.ngxsp-wmp-iconButton.active ngxsp-smart-icon[name=heart] ::ng-deep path{fill:currentColor}.ngxsp-wmp-playButton{width:36px;height:36px;display:inline-grid;place-items:center;padding:0;border:0;border-radius:999px;background:var(--wmp-text);color:var(--wmp-bg);transition:transform var(--wmp-dur) var(--wmp-ease),background-color var(--wmp-dur) var(--wmp-ease)}.ngxsp-wmp-playButton:hover{transform:scale(1.05)}.ngxsp-wmp-primaryButton{height:40px;display:inline-flex;align-items:center;gap:8px;padding:0 20px 0 16px;border:0;border-radius:999px;background:var(--wmp-accent-strong);color:var(--wmp-on-accent);font-weight:600;transition:filter var(--wmp-dur) var(--wmp-ease),transform var(--wmp-dur) var(--wmp-ease)}.ngxsp-wmp-primaryButton:hover{filter:brightness(1.1)}.ngxsp-wmp-primaryButton:active{transform:scale(.98)}.ngxsp-wmp-smallButton{height:32px;display:inline-flex;align-items:center;justify-content:center;gap:6px;padding:0 10px;border:1px solid var(--wmp-line-strong);border-radius:var(--wmp-r-sm);background:transparent;color:var(--wmp-text);font-size:12px;font-weight:500;white-space:nowrap}.ngxsp-wmp-smallButton ngxsp-smart-icon{width:14px;height:14px}.ngxsp-wmp-smallButton:hover:not(:disabled){background:var(--wmp-s2)}.ngxsp-wmp-smallButton.primary{border-color:transparent;background:var(--wmp-accent-strong);color:var(--wmp-on-accent)}.ngxsp-wmp-smallButton.primary:hover:not(:disabled){background:var(--wmp-accent-strong);filter:brightness(1.1)}.ngxsp-wmp-smallButton:disabled{opacity:.45;cursor:default}.ngxsp-wmp-segmented{display:inline-flex;align-items:center;gap:2px;padding:2px;border-radius:8px;background:var(--wmp-s2)}.ngxsp-wmp-segmented button{height:32px;min-width:0;padding:0 10px;border:0;border-radius:6px;background:transparent;color:var(--wmp-text-2);font-size:12px;font-weight:500;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ngxsp-wmp-segmented button:hover{color:var(--wmp-text)}.ngxsp-wmp-segmented button.active{background:var(--wmp-s3);color:var(--wmp-text);box-shadow:0 1px 2px #0000004d}.ngxsp-wmp-titlebar{grid-area:title;min-width:0;display:grid;grid-template-columns:calc(var(--wmp-rail-w) - 16px) minmax(0,1fr) minmax(0,max-content);align-items:center;gap:16px;padding:0 calc(12px + var(--nsp-titlebar-inset-end, 0px)) 0 calc(16px + var(--nsp-titlebar-inset-start, 0px));border-bottom:1px solid var(--wmp-line);background:var(--wmp-s0);-webkit-app-region:drag;-webkit-user-select:none;user-select:none}.ngxsp-wmp-titlebar button,.ngxsp-wmp-titlebar input,.ngxsp-wmp-titlebar label,.ngxsp-wmp-titlebar .ngxsp-wmp-status{-webkit-app-region:no-drag}.ngxsp-wmp-brand{min-width:0;display:flex;align-items:center;gap:10px}.ngxsp-wmp-brandIcon{width:26px;height:26px;flex:0 0 auto;display:grid;place-items:center;border-radius:7px;color:#fff;background:linear-gradient(145deg,#8b90ff,#5d63ee 55%,#4146c9);box-shadow:inset 0 1px #ffffff38}.ngxsp-wmp-brandIcon ngxsp-smart-icon{width:15px;height:15px}.ngxsp-wmp-brandLogo{width:26px;height:26px;flex:0 0 auto;display:block}.ngxsp-wmp-brandName{font-size:13px;font-weight:600;white-space:nowrap}.ngxsp-wmp-quickViews{display:flex;align-items:center;gap:2px;min-width:0}.ngxsp-wmp-backButton{display:inline-flex;align-items:center;gap:4px;margin:0 0 12px;padding:6px 10px 6px 6px;border:0;border-radius:8px;background:transparent;color:var(--wmp-ink-2);font-size:13px;cursor:pointer}.ngxsp-wmp-backButton:hover{background:var(--wmp-s2);color:var(--wmp-ink)}@media(hover:none){.ngxsp-wmp-backButton:hover{background:transparent;color:var(--wmp-ink-2)}}.ngxsp-wmp-quickView{display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;flex:0 0 auto;border:0;border-radius:8px;background:transparent;color:var(--wmp-ink-2);cursor:pointer}.ngxsp-wmp-quickView:hover{background:var(--wmp-s2);color:var(--wmp-ink)}.ngxsp-wmp-quickView.active{background:var(--wmp-s2);color:var(--wmp-accent)}@media(hover:none){.ngxsp-wmp-quickView:hover{background:transparent;color:var(--wmp-ink-2)}.ngxsp-wmp-quickView.active{background:var(--wmp-s2);color:var(--wmp-accent)}}.ngxsp-wmp-search{position:relative;justify-self:center;width:100%;max-width:440px;height:34px;display:block;color:var(--wmp-text-3)}.ngxsp-wmp-search ngxsp-smart-icon{position:absolute;left:11px;top:50%;width:16px;height:16px;transform:translateY(-50%);pointer-events:none}.ngxsp-wmp-search input{width:100%;height:100%;padding:0 10px 0 35px;border:1px solid transparent;border-radius:8px;outline:0;background:var(--wmp-s2);color:var(--wmp-text);font-size:13px;transition:border-color var(--wmp-dur) var(--wmp-ease),background-color var(--wmp-dur) var(--wmp-ease),box-shadow var(--wmp-dur) var(--wmp-ease)}.ngxsp-wmp-search input:hover{border-color:var(--wmp-line-strong)}.ngxsp-wmp-shell .ngxsp-wmp-search input:focus,.ngxsp-wmp-shell .ngxsp-wmp-search input:focus-visible{outline:0;border-color:var(--wmp-accent);background:var(--wmp-s1);box-shadow:0 0 0 3px var(--wmp-accent-soft)}.ngxsp-wmp-search input::placeholder{color:var(--wmp-text-3)}.ngxsp-wmp-titleActions{min-width:0;display:flex;align-items:center;justify-content:flex-end;gap:8px}.ngxsp-wmp-status{min-width:0;max-width:300px;height:26px;display:inline-flex;align-items:center;gap:7px;padding:0 10px;border-radius:999px;background:var(--wmp-s2);color:var(--wmp-text-2);font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ngxsp-wmp-status:before{content:\"\";width:6px;height:6px;flex:0 0 auto;border-radius:50%;background:var(--wmp-accent)}.ngxsp-wmp-status.success:before{background:var(--wmp-success)}.ngxsp-wmp-status.error{color:var(--wmp-danger-text);background:#f25f5c29}.ngxsp-wmp-status.error:before{background:var(--wmp-danger)}.ngxsp-wmp-rail{grid-area:rail;min-width:0;min-height:0;display:flex;flex-direction:column;border-right:1px solid var(--wmp-line);background:var(--wmp-s0)}.ngxsp-wmp-nav{flex:1;min-height:0;display:flex;flex-direction:column;gap:1px;padding:12px 8px;overflow:auto}.ngxsp-wmp-navItem{width:100%;height:34px;flex:0 0 auto;display:grid;grid-template-columns:18px minmax(0,1fr) auto;align-items:center;gap:10px;padding:0 10px;border:0;border-radius:var(--wmp-r-sm);background:transparent;color:var(--wmp-text-2);text-align:left;transition:background-color var(--wmp-dur) var(--wmp-ease),color var(--wmp-dur) var(--wmp-ease)}.ngxsp-wmp-navItem span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:500}.ngxsp-wmp-navItem small{color:var(--wmp-text-3);font-size:11px;font-variant-numeric:tabular-nums}.ngxsp-wmp-navItem:hover{background:var(--wmp-s2);color:var(--wmp-text)}.ngxsp-wmp-navItem.active{background:var(--wmp-s3);color:var(--wmp-text)}.ngxsp-wmp-navItem.active ngxsp-smart-icon{color:var(--wmp-accent)}.ngxsp-wmp-navItem.active small{color:var(--wmp-text-2)}.ngxsp-wmp-navItem .ngxsp-wmp-navChevron{width:14px;height:14px;opacity:.55}.ngxsp-wmp-navItem.active .ngxsp-wmp-navChevron{opacity:.8}.ngxsp-wmp-navChild{height:30px;grid-template-columns:minmax(0,1fr) auto;padding-left:38px}.ngxsp-wmp-navChild span{font-weight:400;color:var(--wmp-text-3)}.ngxsp-wmp-navChild:hover span{color:var(--wmp-text)}.ngxsp-wmp-navChild.active{background:var(--wmp-s1)}.ngxsp-wmp-navChild.active span{color:var(--wmp-text);font-weight:500}.ngxsp-wmp-navDivider{display:block;flex:0 0 auto;height:1px;margin:10px;background:var(--wmp-line)}ngxsp-settings{--ngxsp-settings-surface:var(--wmp-s1);--ngxsp-settings-text:var(--wmp-text);--ngxsp-settings-muted:var(--wmp-text-2);--ngxsp-settings-line:var(--wmp-line);--ngxsp-settings-control:var(--wmp-s3);--ngxsp-settings-accent:var(--wmp-accent);--ngxsp-settings-radius:var(--wmp-r-md, 10px)}.ngxsp-wmp-railTools{display:grid;gap:12px;padding:12px;border-top:1px solid var(--wmp-line)}.ngxsp-wmp-sourceButton{flex:0 0 auto;height:32px;display:inline-flex;align-items:center;gap:7px;padding:0 12px 0 10px;border:0;border-radius:var(--wmp-r-sm);background:var(--wmp-accent-strong);color:var(--wmp-on-accent);font-size:12px;font-weight:600;white-space:nowrap;cursor:pointer}.ngxsp-wmp-sourceButton ngxsp-smart-icon{width:16px;height:16px}.ngxsp-wmp-sourceButton:hover{filter:brightness(1.1)}.ngxsp-wmp-sourceButton:disabled{opacity:.7;cursor:progress}.ngxsp-wmp-trail{display:flex;flex-wrap:wrap;align-items:center;gap:6px;padding:0 2px 10px;font-size:12px;color:var(--wmp-text-3)}.ngxsp-wmp-trail b{color:var(--wmp-text);font-weight:600}.ngxsp-wmp-trailStep{padding:2px 6px;border:0;border-radius:6px;background:transparent;color:inherit;font:inherit;font-size:12px;cursor:pointer}.ngxsp-wmp-trailStep:hover,.ngxsp-wmp-trailStep:focus-visible{background:var(--wmp-surface-2,rgba(127,127,127,.12));color:var(--wmp-text)}.ngxsp-wmp-libraryInfo{min-width:0;display:grid;gap:2px;padding:0 4px}.ngxsp-wmp-libraryInfo strong,.ngxsp-wmp-libraryInfo small{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ngxsp-wmp-libraryInfo strong{font-size:12px;font-weight:600}.ngxsp-wmp-libraryInfo small{color:var(--wmp-text-3);font-size:11px}.ngxsp-wmp-libraryStatus{display:flex;align-items:center;gap:6px}.ngxsp-wmp-libraryStatus:before{content:\"\";width:6px;height:6px;flex:0 0 auto;border-radius:50%;background:var(--wmp-success)}.ngxsp-wmp-libraryStatus.busy:before{background:var(--wmp-accent);animation:ngxsp-wmp-pulse 1.2s ease-in-out infinite}@keyframes ngxsp-wmp-pulse{0%,to{opacity:.35}50%{opacity:1}}.ngxsp-wmp-main{grid-area:main;min-width:0;min-height:0;display:flex;flex-direction:column;overflow:auto;background:var(--wmp-bg)}.ngxsp-wmp-nowPanel{position:relative;flex:0 0 auto;display:grid;grid-template-columns:184px minmax(0,1fr);align-items:end;gap:28px;padding:32px 32px 28px;background:radial-gradient(120% 140% at 0% 0%,rgb(93 99 238 / .2) 0%,transparent 60%),linear-gradient(180deg,var(--wmp-s1) 0%,var(--wmp-bg) 100%);border-bottom:1px solid var(--wmp-line)}.ngxsp-wmp-art{width:184px;height:184px;display:grid;place-items:center;overflow:hidden;border-radius:var(--wmp-r-md);background:linear-gradient(145deg,var(--wmp-s3),var(--wmp-s1));color:var(--wmp-text-3);box-shadow:var(--nsp-shadow-media, 0 18px 40px rgb(0 0 0 / .45))}.ngxsp-wmp-artNote ngxsp-smart-icon{width:56px;height:56px}.ngxsp-wmp-playerSurface{min-width:0;min-height:160px;display:flex;flex-direction:column;justify-content:flex-end;gap:16px}.ngxsp-wmp-nowCopy{min-width:0;display:grid;gap:4px}.ngxsp-wmp-eyebrow{display:inline-flex;align-items:center;gap:8px;color:var(--wmp-text-2);font-size:11px;font-weight:600}.ngxsp-wmp-liveDot{width:6px;height:6px;border-radius:50%;background:var(--wmp-success);box-shadow:0 0 0 3px #3ecf8e2e}.ngxsp-wmp-nowCopy h1{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:32px;line-height:1.15;font-weight:700}.ngxsp-wmp-shell .ngxsp-wmp-nowCopy h1{letter-spacing:-.015em}.ngxsp-wmp-nowCopy p{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--wmp-text);font-size:14px;font-weight:500}.ngxsp-wmp-nowCopy small{color:var(--wmp-text-2);font-size:12px}.ngxsp-wmp-nowActions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.ngxsp-wmp-nowOscillogram{min-width:0;min-height:48px;display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-rows:40px 2px;column-gap:14px;row-gap:6px;align-items:end}.ngxsp-wmp-nowWaveform{grid-column:1;grid-row:1;height:40px;display:flex;align-items:flex-end;gap:3px;overflow:hidden}.ngxsp-wmp-nowWaveform span{flex:1 1 0;min-width:2px;border-radius:2px 2px 0 0;background:var(--wmp-line-strong);transform-origin:bottom;transition:background-color .24s var(--wmp-ease)}.ngxsp-wmp-nowWaveform span.played{background:var(--wmp-accent)}.ngxsp-wmp-nowProgressLine{grid-column:1;grid-row:2;position:relative;height:2px;border-radius:999px;background:var(--wmp-line);overflow:hidden}.ngxsp-wmp-nowProgressLine i{position:absolute;inset:0 auto 0 0;background:var(--wmp-accent);border-radius:inherit}.ngxsp-wmp-nowTime{grid-column:2;grid-row:1 / span 2;align-self:end;display:flex;gap:4px;color:var(--wmp-text-2);font-size:12px;font-variant-numeric:tabular-nums}.ngxsp-wmp-nowTime small+small:before{content:\"/ \";color:var(--wmp-text-3)}.ngxsp-wmp-emptyPlayer{display:grid;justify-items:start;gap:10px}.ngxsp-wmp-emptyPlayer h1{font-size:28px;font-weight:700}.ngxsp-wmp-emptyPlayer p{color:var(--wmp-text-2);max-width:52ch}.ngxsp-wmp-shell .ngxsp-wmp-cover:not(.has-image){color:#fff9;background:radial-gradient(90% 70% at 20% 10%,rgb(255 255 255 / .16),transparent 60%),linear-gradient(140deg,var(--tone-a),var(--tone-b))}.ngxsp-wmp-cover[data-tone=\"0\"]{--tone-a:#4a4fc4;--tone-b:#1d1e45}.ngxsp-wmp-cover[data-tone=\"1\"]{--tone-a:#1f8078;--tone-b:#0e2a2c}.ngxsp-wmp-cover[data-tone=\"2\"]{--tone-a:#b3782a;--tone-b:#35230f}.ngxsp-wmp-cover[data-tone=\"3\"]{--tone-a:#a83a62;--tone-b:#2e1120}.ngxsp-wmp-cover[data-tone=\"4\"]{--tone-a:#2f6fa8;--tone-b:#0f2031}.ngxsp-wmp-cover[data-tone=\"5\"]{--tone-a:#6f7f2e;--tone-b:#1f240f}.ngxsp-wmp-cover[data-tone=\"6\"]{--tone-a:#7a48b8;--tone-b:#231436}.ngxsp-wmp-cover[data-tone=\"7\"]{--tone-a:#b0543a;--tone-b:#321710}.ngxsp-wmp-librarySurface{flex:1 0 auto;min-width:0;display:flex;flex-direction:column}.ngxsp-wmp-sectionHeader{display:grid;gap:2px;padding:24px 32px 8px}.ngxsp-wmp-sectionHeader>span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--wmp-text-2);font-size:12px;font-weight:600}.ngxsp-wmp-backButton{justify-self:start;display:inline-flex;align-items:center;gap:4px;max-width:100%;height:28px;margin:0 0 6px -8px;padding:0 10px 0 4px;border:0;border-radius:999px;background:transparent;color:var(--wmp-text-2);font:inherit;font-size:13px;font-weight:600;cursor:pointer}.ngxsp-wmp-backButton ngxsp-smart-icon{flex:none;width:18px;height:18px}.ngxsp-wmp-backButton span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ngxsp-wmp-backButton:hover{background:var(--wmp-s2, rgb(127 127 127 / .14));color:var(--wmp-text)}.ngxsp-wmp-sectionHeader h1,.ngxsp-wmp-sectionHeader h2{min-width:0;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;overflow-wrap:anywhere;font-size:22px;line-height:1.2;font-weight:700}.ngxsp-wmp-sectionHeader:has(.ngxsp-wmp-viewSwitch){grid-template-columns:minmax(0,1fr) auto;align-items:center}.ngxsp-wmp-sectionHeader:has(.ngxsp-wmp-viewSwitch)>span,.ngxsp-wmp-sectionHeader:has(.ngxsp-wmp-viewSwitch)>h1,.ngxsp-wmp-sectionHeader:has(.ngxsp-wmp-viewSwitch)>h2{grid-column:1}.ngxsp-wmp-viewSwitch{grid-column:2;grid-row:1 / span 2;display:flex;gap:6px}.ngxsp-wmp-viewSwitch button{height:30px;padding:0 12px;border:1px solid var(--wmp-line);border-radius:15px;background:transparent;color:var(--wmp-text-3);font:inherit;font-size:12px;cursor:pointer}.ngxsp-wmp-viewSwitch button:hover:not(.active){background:var(--wmp-s2);color:var(--wmp-text-2)}.ngxsp-wmp-viewSwitch button.active{border-color:var(--wmp-line-strong);color:var(--wmp-text)}.ngxsp-wmp-sectionHeader.slim{grid-template-columns:minmax(0,1fr) auto;align-items:center;column-gap:8px;padding:14px 20px 8px}.ngxsp-wmp-sectionHeader.slim>span{grid-column:1}.ngxsp-wmp-sectionHeader.slim strong{grid-column:1;font-size:13px;font-weight:600}.ngxsp-wmp-sectionHeader.slim .ngxsp-wmp-smallButton{grid-column:2;grid-row:1 / span 2}.ngxsp-wmp-detailHead{display:flex;flex-wrap:wrap;align-items:flex-start;gap:20px;padding-top:2px}.ngxsp-wmp-detailArt{flex:none;width:176px;height:176px;overflow:hidden;border:1px solid var(--wmp-line);border-radius:14px;background:linear-gradient(145deg,var(--wmp-s3),var(--wmp-s1))}.ngxsp-wmp-detailArt img{display:block;width:100%;height:100%;object-fit:cover}.ngxsp-wmp-detailText{flex:1 1 320px;min-width:0}.ngxsp-wmp-detailHead h1{font-size:24px;line-height:1.2;font-weight:700}.ngxsp-wmp-detailMeta{margin:6px 0 0;color:var(--wmp-text-2);font-size:13px;overflow-wrap:anywhere}.ngxsp-wmp-detailFormat{margin:3px 0 0;color:var(--wmp-text-3);font-size:12px;overflow-wrap:anywhere}.ngxsp-wmp-detailActions{display:flex;flex-wrap:wrap;gap:8px;margin-top:16px}.ngxsp-wmp-detailAction{display:inline-flex;align-items:center;gap:7px;height:34px;padding:0 16px;border:1px solid var(--wmp-line-strong);border-radius:999px;background:transparent;color:inherit;font:inherit;font-size:13px;font-weight:600;cursor:pointer}.ngxsp-wmp-detailAction ngxsp-smart-icon{width:16px;height:16px}.ngxsp-wmp-detailAction:hover:not(:disabled){background:var(--wmp-s2, rgb(127 127 127 / .14))}.ngxsp-wmp-detailAction.primary{border-color:transparent;background:var(--wmp-accent-strong);color:var(--wmp-on-accent)}.ngxsp-wmp-detailAction.primary:hover:not(:disabled){filter:brightness(1.1)}.ngxsp-wmp-detailAction.compact{width:34px;padding:0;justify-content:center}.ngxsp-wmp-detailAction.active{border-color:transparent;background:var(--wmp-accent-soft);color:var(--wmp-accent)}.ngxsp-wmp-detailAction.accent{border-color:var(--wmp-accent);color:var(--wmp-accent)}.ngxsp-wmp-detailAction:disabled{opacity:.45;cursor:default}.ngxsp-wmp-playerCopy .ngxsp-wmp-detailActions{justify-content:center}.ngxsp-wmp-sourcesPage,.ngxsp-wmp-playlistsPage{display:grid;gap:10px;padding-top:16px}.ngxsp-wmp-playlistsPage h1{margin:0;font-size:19px;font-weight:600}.ngxsp-wmp-playlistsHead p{margin:5px 0 0;color:var(--wmp-text-3);font-size:12px}.ngxsp-wmp-sourcesHead{display:flex;flex-wrap:wrap;align-items:flex-end;justify-content:space-between;gap:16px;margin-bottom:8px}.ngxsp-wmp-sourcesHead h1{margin:0;font-size:21px;font-weight:600;letter-spacing:-.2px}.ngxsp-wmp-sourcesHead p{margin:5px 0 0;color:var(--wmp-text-3);font-size:12px}.ngxsp-wmp-sourceGroupTitle{margin:0;font-size:12px;font-weight:600;color:var(--wmp-text-2)}.ngxsp-wmp-sourceRows{display:grid;gap:10px;margin-bottom:14px}.ngxsp-wmp-sourceRow{display:flex;flex-wrap:wrap;align-items:center;gap:12px;padding:12px 14px;border:1px solid var(--wmp-line);border-radius:12px;background:var(--wmp-s1)}.ngxsp-wmp-sourceRow.active{border-color:var(--wmp-accent)}.ngxsp-wmp-sourceRow.footer{border-style:dashed;background:transparent}button.ngxsp-wmp-sourceRow{width:100%;text-align:start;color:inherit;font:inherit;cursor:pointer}button.ngxsp-wmp-sourceRow:hover,button.ngxsp-wmp-sourceRow:focus-visible{border-color:var(--wmp-line-strong)}.ngxsp-wmp-sourceIcon{flex:none;display:grid;place-items:center;width:34px;height:34px;border-radius:9px;background:var(--wmp-s3);color:var(--wmp-text-2)}.ngxsp-wmp-sourceIcon.dashed{border:1px dashed var(--wmp-line-strong);background:transparent;color:var(--wmp-text-3)}.ngxsp-wmp-sourceRow.active .ngxsp-wmp-sourceIcon{background:var(--wmp-accent-soft);color:var(--wmp-accent)}.ngxsp-wmp-sourceIcon ngxsp-smart-icon{width:19px;height:19px}.ngxsp-wmp-sourceCopy{flex:1 1 180px;min-width:0;display:grid;gap:2px}.ngxsp-wmp-sourceCopy strong{font-size:13px;font-weight:600}.ngxsp-wmp-sourceCopy small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--wmp-text-3);font-size:11.5px}.ngxsp-wmp-sourceState{flex:none;padding:3px 9px;border-radius:11px;background:var(--wmp-s3);color:var(--wmp-text-2);font-size:11px;font-weight:600}.ngxsp-wmp-sourceRow.active .ngxsp-wmp-sourceState{background:var(--wmp-accent-soft);color:var(--wmp-accent)}.ngxsp-wmp-searchTitle{margin:0;font-size:21px;font-weight:600;letter-spacing:-.2px}.ngxsp-wmp-searchSummary,.ngxsp-wmp-viewIntro{margin:4px 0 0;color:var(--wmp-text-3);font-size:12px}.ngxsp-wmp-bellButton{position:relative}.ngxsp-wmp-bellWrap{position:relative;display:inline-flex}.ngxsp-wmp-notificationsPopover{position:absolute;top:calc(100% + 10px);right:0;z-index:60;width:392px;max-height:min(70vh,460px);overflow:auto;padding:12px;border:1px solid var(--wmp-line);border-radius:14px;background:var(--wmp-s1);color:var(--wmp-text);box-shadow:0 22px 54px #0000008c;text-align:left}.ngxsp-wmp-notificationsPopover ngxsp-notifications{gap:14px}.ngxsp-wmp-bellDot{position:absolute;top:5px;right:5px;width:7px;height:7px;border-radius:50%;background:var(--wmp-danger);box-shadow:0 0 0 2px var(--wmp-s0)}.ngxsp-wmp-tabBar,.ngxsp-wmp-tabFacets{display:none}.ngxsp-wmp-playerPage{position:relative;min-height:100%;display:flex;flex-direction:column;justify-content:center;padding:40px 44px;background:radial-gradient(110% 80% at 20% 0%,var(--wmp-s2),var(--wmp-bg))}.ngxsp-wmp-playerBack{position:absolute;left:16px;top:16px;display:inline-flex;align-items:center;gap:8px;height:32px;padding:0 13px 0 10px;border:0;border-radius:16px;background:var(--wmp-s1);color:var(--wmp-text);font:inherit;font-size:12px;cursor:pointer}.ngxsp-wmp-playerBack ngxsp-smart-icon{width:15px;height:15px}.ngxsp-wmp-playerBack:hover{background:var(--wmp-s3)}.ngxsp-wmp-playerStage{display:flex;flex-wrap:wrap;gap:32px;align-items:center;min-height:0}.ngxsp-wmp-playerSide{flex:none;width:268px;display:flex;flex-direction:column;align-items:center;gap:18px}.ngxsp-wmp-playerArt{display:grid;place-items:center;width:268px;height:268px;overflow:hidden;border:1px solid var(--wmp-line);border-radius:16px;box-shadow:0 22px 50px #00000080}.ngxsp-wmp-playerArt img{display:block;width:100%;height:100%;object-fit:cover}.ngxsp-wmp-playerArt ngxsp-smart-icon{width:64px;height:64px;opacity:.55}.ngxsp-wmp-playerCopy{text-align:center;max-width:268px}.ngxsp-wmp-playerCopy h1{margin:0;font-size:20px;font-weight:600;letter-spacing:-.2px;overflow-wrap:anywhere}.ngxsp-wmp-playerCopy p{margin:6px 0 0;color:var(--wmp-text-2);font-size:13px;overflow-wrap:anywhere}.ngxsp-wmp-playerCopy small{display:block;margin:3px 0 0;color:var(--wmp-text-3);font-size:11.5px;overflow-wrap:anywhere}.ngxsp-wmp-playerWave{width:100%;height:40px;display:flex;align-items:flex-end;gap:2px}.ngxsp-wmp-playerWave span{flex:1;border-radius:1px;background:var(--wmp-accent-soft)}.ngxsp-wmp-playerWave span.played{background:var(--wmp-accent);opacity:.55}.ngxsp-wmp-playerLyrics{flex:1 1 320px;min-width:0;min-height:0;max-height:100%;align-self:stretch;display:flex;flex-direction:column;justify-content:center;overflow:hidden}.ngxsp-wmp-playerLyricsHead{display:flex;align-items:center;gap:9px;margin-bottom:14px;color:var(--wmp-text-3);font-size:11.5px}.ngxsp-wmp-playerLyricsHead ngxsp-smart-icon{width:14px;height:14px}.ngxsp-wmp-playerLyricsLines{display:flex;flex-direction:column;min-height:0;overflow-y:auto;scrollbar-width:none;-webkit-mask-image:linear-gradient(transparent,#000 18%,#000 82%,transparent);mask-image:linear-gradient(transparent,#000 18%,#000 82%,transparent)}.ngxsp-wmp-playerLyricsLines::-webkit-scrollbar{display:none}.ngxsp-wmp-playerLyricsLines button,.ngxsp-wmp-playerLyricsLines p{margin:0;padding:6px 0;border:0;background:transparent;color:var(--wmp-text-3);font:inherit;font-size:16px;line-height:1.4;text-align:start}.ngxsp-wmp-playerLyricsLines button{cursor:pointer}.ngxsp-wmp-playerLyricsLines button:hover{color:var(--wmp-text-2)}.ngxsp-wmp-playerLyricsLines button.active{color:var(--wmp-text);font-size:19px;font-weight:600}@media(max-width:1024px){.ngxsp-wmp-shell:has(.ngxsp-wmp-playerPage) .ngxsp-wmp-rail{display:none}.ngxsp-wmp-playerPage{padding:24px 16px 16px}.ngxsp-wmp-playerStage{justify-content:center}.ngxsp-wmp-playerLyrics{max-height:40vh}.ngxsp-wmp-playerBack{position:static;align-self:flex-start;margin-bottom:14px}}.ngxsp-wmp-searchFilters{display:flex;flex-wrap:wrap;gap:6px}.ngxsp-wmp-searchFilters button{height:30px;display:inline-flex;align-items:center;gap:7px;padding:0 13px;border:1px solid var(--wmp-line);border-radius:15px;background:transparent;color:var(--wmp-text-3);font:inherit;font-size:12px;cursor:pointer}.ngxsp-wmp-searchFilters button small{opacity:.7;font-size:11px}.ngxsp-wmp-searchFilters button:hover:not(.active):not(:disabled){background:var(--wmp-s2);color:var(--wmp-text-2)}.ngxsp-wmp-searchFilters button.active{border-color:transparent;background:var(--wmp-accent);color:var(--wmp-on-accent);font-weight:600}.ngxsp-wmp-searchFilters button.active small{opacity:.75}.ngxsp-wmp-searchFilters button:disabled{opacity:.45;cursor:default}.ngxsp-wmp-searchBestBlock{display:grid;gap:10px}.ngxsp-wmp-searchBest{display:flex;flex-wrap:wrap;gap:16px;padding:14px;border:1px solid var(--wmp-accent);border-radius:12px;background:var(--wmp-s1)}.ngxsp-wmp-searchBestArt{flex:none;display:grid;place-items:center;width:140px;height:140px;overflow:hidden;padding:0;border:1px solid var(--wmp-line);border-radius:12px;cursor:pointer}.ngxsp-wmp-searchBestArt img{display:block;width:100%;height:100%;object-fit:cover}.ngxsp-wmp-searchBestArt ngxsp-smart-icon{width:34px;height:34px;opacity:.6}.ngxsp-wmp-searchBestCopy{flex:1 1 260px;min-width:0}.ngxsp-wmp-searchBestCopy h3{margin:0;font-size:15px;font-weight:600;overflow-wrap:anywhere}.ngxsp-wmp-searchBestCopy p{margin:5px 0 0;color:var(--wmp-text-2);font-size:12px;overflow-wrap:anywhere}.ngxsp-wmp-searchBestCopy small{display:block;margin:8px 0 0;color:var(--wmp-text-3);font-size:11.5px}.ngxsp-wmp-searchBestCopy .ngxsp-wmp-detailActions{margin-top:14px}mark{background:var(--wmp-accent-soft);color:var(--wmp-text);border-radius:3px;padding:0 2px}.ngxsp-wmp-recentSearches{display:grid;gap:2px;padding:0 8px 8px}.ngxsp-wmp-recentSearches button{display:flex;align-items:center;gap:10px;height:34px;padding:0 10px;border:0;border-radius:9px;background:transparent;color:var(--wmp-text-2);font:inherit;font-size:12.5px;text-align:start;cursor:pointer}.ngxsp-wmp-recentSearches button span{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ngxsp-wmp-recentSearches button ngxsp-smart-icon{width:14px;height:14px;opacity:.7}.ngxsp-wmp-recentSearches button:hover,.ngxsp-wmp-recentSearches button.active{background:var(--wmp-s2);color:var(--wmp-text)}@media(max-width:720px){.ngxsp-wmp-detailArt{width:112px;height:112px}.ngxsp-wmp-detailHead h1{font-size:20px}}.ngxsp-wmp-sectionScroll{display:grid;min-width:0;gap:28px;padding:8px 24px 32px}.ngxsp-wmp-section{min-width:0;display:grid;gap:10px}.ngxsp-wmp-section>h2,.ngxsp-wmp-section>h3{min-width:0;overflow-wrap:anywhere;padding:0 8px;font-size:15px;font-weight:600}.ngxsp-wmp-cardGrid{display:grid;grid-template-columns:repeat(auto-fill,minmax(168px,1fr));gap:4px}.ngxsp-wmp-card{position:relative;min-width:0;container-type:inline-size;border-radius:var(--wmp-r-md);transition:background-color var(--wmp-dur) var(--wmp-ease)}.ngxsp-wmp-card:hover,.ngxsp-wmp-card:focus-within{background:var(--wmp-s1)}.ngxsp-wmp-cardSelect{width:100%;min-width:0;display:grid;gap:10px;padding:10px;border:0;border-radius:inherit;background:transparent;text-align:left}.ngxsp-wmp-thumb{position:relative;width:100%;aspect-ratio:1;display:grid;place-items:center;overflow:hidden;border-radius:8px;background:linear-gradient(145deg,var(--wmp-s3),var(--wmp-s1));color:var(--wmp-text-3);box-shadow:var(--nsp-shadow-card, 0 6px 18px rgb(0 0 0 / .3))}.ngxsp-wmp-thumb>ngxsp-smart-icon{width:36px;height:36px}.ngxsp-wmp-cardPlaySlot{position:absolute;top:calc(100cqw - 58px);right:18px;display:flex;opacity:0;transform:translateY(6px);transition:opacity var(--wmp-dur) var(--wmp-ease),transform var(--wmp-dur) var(--wmp-ease)}.ngxsp-wmp-card:hover .ngxsp-wmp-cardPlaySlot,.ngxsp-wmp-card:focus-within .ngxsp-wmp-cardPlaySlot,.ngxsp-wmp-card.active .ngxsp-wmp-cardPlaySlot{opacity:1;transform:none}.ngxsp-wmp-cardPlay{width:40px;height:40px;display:grid;place-items:center;padding:0;border:0;border-radius:999px;background:var(--wmp-accent-strong);color:#fff;box-shadow:0 8px 20px #0006}.ngxsp-wmp-cardPlay ngxsp-smart-icon{width:18px;height:18px}.ngxsp-wmp-shell,.ngxsp-wmp-shell button,.ngxsp-wmp-shell [role=button]{touch-action:manipulation}.ngxsp-wmp-cardCopy{min-width:0;display:grid;gap:2px}@media(hover:none){.ngxsp-wmp-search input,.ngxsp-wmp-inlineForm input,.ngxsp-wmp-stationForm input{font-size:16px}}.ngxsp-wmp-cardCopy strong,.ngxsp-wmp-cardCopy small,.ngxsp-wmp-cardCopy em{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ngxsp-wmp-cardCopy strong{font-size:13px;font-weight:600}.ngxsp-wmp-card.active .ngxsp-wmp-cardCopy strong{color:var(--wmp-accent)}.ngxsp-wmp-cardCopy small{color:var(--wmp-text-2);font-size:12px}.ngxsp-wmp-cardCopy em{color:var(--wmp-text-3);font-size:11px;font-style:normal}.ngxsp-wmp-cardActions{position:absolute;top:18px;right:18px;display:flex;gap:4px;opacity:0;transition:opacity var(--wmp-dur) var(--wmp-ease)}.ngxsp-wmp-card:hover .ngxsp-wmp-cardActions,.ngxsp-wmp-card:focus-within .ngxsp-wmp-cardActions{opacity:1}.ngxsp-wmp-cardAction{width:32px;height:32px;display:grid;place-items:center;padding:0;border:0;border-radius:999px;background:#0d0e11cc;color:#fff;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}.ngxsp-wmp-cardAction ngxsp-smart-icon{width:14px;height:14px}.ngxsp-wmp-cardAction:hover{background:#0d0e11f2}.ngxsp-wmp-table{min-width:0;display:grid}.ngxsp-wmp-tableHead,.ngxsp-wmp-trackSelect{display:grid;grid-template-columns:36px minmax(0,2.4fr) minmax(0,1.3fr) minmax(0,1.3fr) 48px;align-items:center;gap:14px}.ngxsp-wmp-tableHead{position:sticky;top:0;z-index:1;height:34px;margin-bottom:4px;padding:0 calc(var(--wmp-actions-w, 112px) + 8px) 0 10px;border-bottom:1px solid var(--wmp-line);background:var(--wmp-bg);color:var(--wmp-text-2);font-size:11px;font-weight:600}.ngxsp-wmp-tableHead>span:first-child{text-align:center}.ngxsp-wmp-timeHead{display:flex;justify-content:flex-end}.ngxsp-wmp-timeHead ngxsp-smart-icon{width:15px;height:15px}.ngxsp-wmp-trackRow{position:relative;min-width:0;display:grid;grid-template-columns:minmax(0,1fr) var(--wmp-actions-w, 112px);align-items:center;gap:8px;border-radius:var(--wmp-r-sm);transition:background-color var(--wmp-dur) var(--wmp-ease)}.ngxsp-wmp-trackRow:hover,.ngxsp-wmp-trackRow:focus-within{background:var(--wmp-s1)}.ngxsp-wmp-trackRow.active{background:var(--wmp-accent-soft)}.ngxsp-wmp-trackSelect{min-width:0;height:52px;padding:0 0 0 10px;border:0;border-radius:inherit;background:transparent;color:var(--wmp-text-2);text-align:left}.ngxsp-wmp-trackIndex{position:relative;display:grid;place-items:center;color:var(--wmp-text-2);font-variant-numeric:tabular-nums}.ngxsp-wmp-trackIndex>ngxsp-smart-icon{width:16px;height:16px}.ngxsp-wmp-trackRow.active .ngxsp-wmp-trackIndex{color:var(--wmp-accent)}.ngxsp-wmp-indexPlay{position:absolute;opacity:0;color:var(--wmp-text)}.ngxsp-wmp-trackRow:hover .ngxsp-wmp-indexNumber{opacity:0}.ngxsp-wmp-trackRow:hover .ngxsp-wmp-indexPlay{opacity:1}.ngxsp-wmp-trackTitle{min-width:0;display:flex;align-items:center;gap:12px}.ngxsp-wmp-rowIcon{width:36px;height:36px;flex:0 0 auto;display:grid;place-items:center;overflow:hidden;border-radius:4px;background:var(--wmp-s2);color:var(--wmp-text-3)}.ngxsp-wmp-rowIcon ngxsp-smart-icon{width:16px;height:16px}.ngxsp-wmp-rowCopy{min-width:0;display:grid;gap:1px}.ngxsp-wmp-rowCopy strong,.ngxsp-wmp-rowCopy small{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ngxsp-wmp-rowCopy strong{color:var(--wmp-text);font-size:13px;font-weight:500}.ngxsp-wmp-rowCopy small{color:var(--wmp-text-2);font-size:12px}.ngxsp-wmp-trackRow.active .ngxsp-wmp-rowCopy strong{color:var(--wmp-accent)}.ngxsp-wmp-trackCell{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ngxsp-wmp-trackTime{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;text-align:right;font-variant-numeric:tabular-nums}.ngxsp-wmp-rowActions{display:flex;align-items:center;justify-content:flex-end;gap:2px;padding-right:8px}.ngxsp-wmp-rowFavorite,.ngxsp-wmp-rowQueueAction{flex:0 0 32px;width:32px;height:32px;display:grid;place-items:center;padding:0;border:0;border-radius:var(--wmp-r-sm);background:transparent;color:var(--wmp-text-2);opacity:0;transition:opacity var(--wmp-dur) var(--wmp-ease),background-color var(--wmp-dur) var(--wmp-ease),color var(--wmp-dur) var(--wmp-ease)}.ngxsp-wmp-rowFavorite ngxsp-smart-icon,.ngxsp-wmp-rowQueueAction ngxsp-smart-icon{width:16px;height:16px}.ngxsp-wmp-rowFavorite:hover,.ngxsp-wmp-rowQueueAction:hover{background:var(--wmp-s3);color:var(--wmp-text)}.ngxsp-wmp-trackRow:hover .ngxsp-wmp-rowFavorite,.ngxsp-wmp-trackRow:hover .ngxsp-wmp-rowQueueAction,.ngxsp-wmp-trackRow:focus-within .ngxsp-wmp-rowFavorite,.ngxsp-wmp-trackRow:focus-within .ngxsp-wmp-rowQueueAction,.ngxsp-wmp-rowFavorite.active{opacity:1}.ngxsp-wmp-rowFavorite.active{color:var(--wmp-accent)}.ngxsp-wmp-rowFavorite.active ngxsp-smart-icon ::ng-deep path{fill:currentColor}.ngxsp-wmp-cardFavorite.active{color:var(--wmp-accent)}.ngxsp-wmp-cardFavorite.active ngxsp-smart-icon ::ng-deep path{fill:currentColor}.ngxsp-wmp-trackMenuScrim{position:fixed;inset:0;z-index:60;padding:0;border:0;background:transparent;cursor:default}.ngxsp-wmp-trackMenu{position:fixed;z-index:61;min-width:208px;max-width:280px;display:grid;gap:2px;padding:6px;border:1px solid var(--wmp-line-strong);border-radius:var(--wmp-r-md);background:var(--wmp-s2);box-shadow:0 16px 40px #0000007a}.ngxsp-wmp-trackMenuTitle{padding:6px 10px 8px;font-size:11px;font-weight:600;color:var(--wmp-text-3);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ngxsp-wmp-trackMenu button{display:flex;align-items:center;gap:10px;min-height:34px;padding:0 10px;border:0;border-radius:var(--wmp-r-sm);background:transparent;color:var(--wmp-text);font-size:13px;text-align:left;cursor:pointer}.ngxsp-wmp-trackMenu button ngxsp-smart-icon{width:18px;height:18px;flex:0 0 auto}.ngxsp-wmp-trackMenu button:hover{background:var(--wmp-s3)}.ngxsp-wmp-trackMenu button.danger{color:var(--wmp-danger-text)}.ngxsp-wmp-trackMenu button.danger:hover{background:#f25f5c29}.ngxsp-wmp-rowProgress{position:absolute;left:10px;right:10px;bottom:3px;height:2px;border-radius:999px;background:var(--wmp-line);overflow:hidden;pointer-events:none}.ngxsp-wmp-thumb .ngxsp-wmp-rowProgress{left:0;right:0;bottom:0;border-radius:0}.ngxsp-wmp-rowProgress i{position:absolute;inset:0 auto 0 0;background:var(--wmp-accent)}.ngxsp-wmp-emptyLibrary{display:grid;justify-items:center;gap:8px;padding:32px 16px;border:1px dashed var(--wmp-line-strong);border-radius:var(--wmp-r-md);color:var(--wmp-text-2);text-align:center}.ngxsp-wmp-emptyLibrary ngxsp-smart-icon{width:28px;height:28px;color:var(--wmp-text-3)}.ngxsp-wmp-shelfMore{justify-self:start;margin-top:8px;display:inline-flex;align-items:baseline;gap:8px;padding:8px 14px;border:1px solid var(--wmp-line-strong);border-radius:999px;background:transparent;color:var(--wmp-text);font:inherit;font-size:13px;font-weight:600;cursor:pointer}.ngxsp-wmp-shelfMore small{color:var(--wmp-text-2);font-weight:500;font-variant-numeric:tabular-nums}.ngxsp-wmp-shelfMore:hover:not(:disabled),.ngxsp-wmp-shelfMore:focus-visible{background:var(--wmp-s2)}.ngxsp-wmp-shelfMore:disabled{opacity:.6;cursor:default}.ngxsp-wmp-playlist{grid-area:panel;min-width:0;min-height:0;display:flex;flex-direction:column;border-left:1px solid var(--wmp-line);background:var(--wmp-s0);overflow:hidden}.ngxsp-wmp-sheetToggles{display:flex;justify-content:center;gap:4px;padding:4px 12px 0}.ngxsp-wmp-panelStack{flex:1;display:flex;flex-direction:column;gap:10px;padding:12px;overflow:hidden;min-height:0}.ngxsp-wmp-panelTabs{display:flex;flex-wrap:wrap;gap:6px;flex:0 0 auto}.ngxsp-wmp-panelPill{height:26px;padding:0 11px;border:1px solid var(--wmp-border,#d9d9d9);border-radius:999px;background:transparent;color:var(--wmp-muted,#6a6a6a);font:inherit;font-size:12px;cursor:pointer;white-space:nowrap}.ngxsp-wmp-panelPill.active{background:var(--wmp-accent,#2b6cb0);border-color:transparent;color:var(--wmp-accent-text,#fff);font-weight:600}.ngxsp-wmp-stackItem{flex:1 1 0;border:1px solid var(--wmp-border,#d9d9d9);border-radius:10px;overflow:hidden;display:flex;flex-direction:column;min-height:0}.ngxsp-wmp-stackHead{display:flex;align-items:center;gap:8px;padding:7px 8px 7px 11px;background:var(--wmp-surface-2,rgba(127,127,127,.08))}.ngxsp-wmp-stackHead strong{font-size:12.5px;font-weight:600}.ngxsp-wmp-stackIcon{display:grid;place-items:center;width:24px;height:24px;padding:0;border:0;border-radius:6px;background:transparent;color:inherit;cursor:pointer;opacity:.65}.ngxsp-wmp-stackIcon:hover,.ngxsp-wmp-stackIcon:focus-visible{opacity:1}.ngxsp-wmp-stackIcon+.ngxsp-wmp-stackIcon{margin-left:-2px}.ngxsp-wmp-stackHead .ngxsp-wmp-stackIcon:first-of-type{margin-left:auto}.ngxsp-wmp-stackItem svg{width:14px;height:14px}.ngxsp-wmp-queueList{flex:1;min-height:0;display:grid;align-content:start;gap:1px;padding:0 8px 12px;overflow:auto;overflow-anchor:none}.ngxsp-wmp-queueSpace{pointer-events:none;overflow-anchor:none}.ngxsp-wmp-queueItem{width:100%;min-width:0;min-height:56px;display:grid;grid-template-columns:40px minmax(0,1fr) auto;align-items:center;gap:12px;padding:8px;border:0;border-radius:var(--wmp-r-sm);background:transparent;text-align:left;transition:background-color var(--wmp-dur) var(--wmp-ease)}.ngxsp-wmp-queueItem:hover{background:var(--wmp-s2)}.ngxsp-wmp-queueItem.active{background:var(--wmp-accent-soft)}.ngxsp-wmp-queueItem.active .ngxsp-wmp-rowCopy strong{color:var(--wmp-accent)}.ngxsp-wmp-queueRow{position:relative;min-width:0}.ngxsp-wmp-queueControls{position:absolute;top:4px;right:4px;display:grid;grid-template-columns:repeat(2,28px);opacity:0;transition:opacity var(--wmp-dur) var(--wmp-ease)}.ngxsp-wmp-queueRow:hover .ngxsp-wmp-queueControls,.ngxsp-wmp-queueRow:focus-within .ngxsp-wmp-queueControls,.ngxsp-wmp-queueRow.active .ngxsp-wmp-queueControls{opacity:1}.ngxsp-wmp-queueControls button{width:28px;height:28px;display:grid;place-items:center;padding:0;border:0;border-radius:5px;background:transparent;color:var(--wmp-text-2);cursor:pointer}.ngxsp-wmp-queueControls button:hover:not(:disabled){background:var(--wmp-s3);color:var(--wmp-text)}.ngxsp-wmp-queueControls button.active{color:var(--wmp-accent)}.ngxsp-wmp-queueControls button:disabled{opacity:.3;cursor:default}.ngxsp-wmp-queueControls ngxsp-smart-icon{width:14px;height:14px}.ngxsp-wmp-queueRow:hover .ngxsp-wmp-queueItem,.ngxsp-wmp-queueRow:focus-within .ngxsp-wmp-queueItem,.ngxsp-wmp-queueRow.active .ngxsp-wmp-queueItem{padding-right:64px}.ngxsp-wmp-queueRow:hover .ngxsp-wmp-rowMeta,.ngxsp-wmp-queueRow:focus-within .ngxsp-wmp-rowMeta,.ngxsp-wmp-queueRow.active .ngxsp-wmp-rowMeta{visibility:hidden}@media(hover:none){.ngxsp-wmp-queueControls{opacity:1}.ngxsp-wmp-queueRow .ngxsp-wmp-queueItem{padding-right:64px}.ngxsp-wmp-queueRow .ngxsp-wmp-rowMeta{visibility:hidden}}.ngxsp-wmp-queueCover{position:relative;width:40px;height:40px;display:grid;place-items:center;overflow:hidden;border-radius:4px;background:var(--wmp-s2);color:var(--wmp-text-3)}.ngxsp-wmp-queueCover>ngxsp-smart-icon{width:16px;height:16px}.ngxsp-wmp-queueNow{position:absolute;inset:0;display:grid;place-items:center;background:#0d0e1199;color:#fff}.ngxsp-wmp-rowBadges{display:flex;flex-wrap:wrap;gap:4px;margin-top:3px}.ngxsp-wmp-rowBadges em{display:inline-flex;align-items:center;gap:3px;height:18px;padding:0 6px;border-radius:4px;background:var(--wmp-s3);color:var(--wmp-text-2);font-size:10px;font-style:normal;font-weight:500}.ngxsp-wmp-rowBadges em ngxsp-smart-icon{width:10px;height:10px}.ngxsp-wmp-rowBadges em.favorite{color:var(--wmp-accent)}.ngxsp-wmp-rowMeta{color:var(--wmp-text-2);font-size:12px;font-variant-numeric:tabular-nums}.ngxsp-wmp-management,.ngxsp-wmp-devices{flex:1;min-height:0;display:grid;align-content:start;gap:10px;padding:10px 12px 16px;overflow:auto}.ngxsp-wmp-devices .ngxsp-wmp-sectionHeader.slim{padding:4px 4px 6px}.ngxsp-wmp-inlineForm{display:flex;gap:6px}.ngxsp-wmp-inlineForm input{flex:1;min-width:0;height:32px;padding:0 10px;border:1px solid var(--wmp-line-strong);border-radius:var(--wmp-r-sm);background:var(--wmp-s1);color:var(--wmp-text);font-size:12px}.ngxsp-wmp-inlineForm input::placeholder{color:var(--wmp-text-3)}.ngxsp-wmp-shell .ngxsp-wmp-inlineForm input:focus-visible{outline:0;border-color:var(--wmp-accent);box-shadow:0 0 0 2px var(--wmp-accent-soft)}.ngxsp-wmp-stationForm{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin-bottom:14px;padding:10px 12px;border:1px solid var(--wmp-line);border-radius:var(--wmp-r-md);background:var(--wmp-s1)}.ngxsp-wmp-stationTitle{font-size:12px;font-weight:600;color:var(--wmp-text-2)}.ngxsp-wmp-discovered{flex:1 1 100%;display:grid;gap:4px;margin:0;padding:0;list-style:none}.ngxsp-wmp-discovered li{display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:36px;padding:2px 0 2px 8px;border-top:1px solid var(--wmp-line)}.ngxsp-wmp-discovered li span{display:grid;min-width:0}.ngxsp-wmp-discovered strong{overflow:hidden;font-size:13px;font-weight:600;text-overflow:ellipsis;white-space:nowrap}.ngxsp-wmp-discovered small,.ngxsp-wmp-discovered li.empty{overflow:hidden;color:var(--wmp-text-2);font-size:12px;text-overflow:ellipsis;white-space:nowrap}.ngxsp-wmp-serverKind{height:32px;padding:0 8px;border:1px solid var(--wmp-line-strong);border-radius:var(--wmp-r-sm);background:var(--wmp-s0);color:var(--wmp-text);font-size:12px}.ngxsp-wmp-stationForm input{flex:1 1 180px;min-width:0;height:32px;padding:0 10px;border:1px solid var(--wmp-line-strong);border-radius:var(--wmp-r-sm);background:var(--wmp-s0);color:var(--wmp-text);font-size:12px}.ngxsp-wmp-stationForm input::placeholder{color:var(--wmp-text-3)}.ngxsp-wmp-shell .ngxsp-wmp-stationForm input:focus-visible{outline:0;border-color:var(--wmp-accent);box-shadow:0 0 0 2px var(--wmp-accent-soft)}.ngxsp-wmp-stationHint{flex:1 0 100%;color:var(--wmp-text-3);font-size:11px}.ngxsp-wmp-targetBanner{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:8px 10px;border:1px solid var(--wmp-accent-soft);border-radius:var(--wmp-r-sm);background:var(--wmp-accent-soft);color:var(--wmp-text);font-size:12px}.ngxsp-wmp-targetBanner strong{margin-left:4px}.ngxsp-wmp-rowQueueAction.danger:hover,.ngxsp-wmp-cardAction.danger:hover{color:var(--wmp-danger, #e5484d)}.ngxsp-wmp-rowQueueAction.active{color:var(--wmp-accent)}.ngxsp-wmp-targets{display:grid;gap:6px}.ngxsp-wmp-target,.ngxsp-wmp-device{display:grid;gap:8px;padding:10px;border:1px solid var(--wmp-line);border-radius:var(--wmp-r-md);background:var(--wmp-s1)}.ngxsp-wmp-sheetButton,.ngxsp-wmp-sheetHeader{display:none}.ngxsp-wmp-targetMain{min-width:0;display:grid;grid-template-columns:32px minmax(0,1fr) auto;align-items:center;gap:10px}.ngxsp-wmp-targetIcon{width:32px;height:32px;display:grid;place-items:center;border-radius:var(--wmp-r-sm);background:var(--wmp-s3);color:var(--wmp-text-2)}.ngxsp-wmp-targetIcon ngxsp-smart-icon{width:16px;height:16px}.ngxsp-wmp-targetActions{display:flex;gap:4px;padding-left:38px}.ngxsp-wmp-targetActions button{height:32px;padding:0 8px;border:0;border-radius:4px;background:transparent;color:var(--wmp-text-2);font-size:12px}.ngxsp-wmp-targetActions button:hover{background:var(--wmp-s3);color:var(--wmp-text)}.ngxsp-wmp-targetActions button.danger:hover{color:var(--wmp-danger-text);background:#f25f5c29}.ngxsp-wmp-device{grid-template-columns:32px minmax(0,1fr);align-items:center;column-gap:10px}.ngxsp-wmp-device.active{border-color:#8b90ff66;background:var(--wmp-accent-soft)}.ngxsp-wmp-device.active .ngxsp-wmp-targetIcon{color:var(--wmp-accent)}.ngxsp-wmp-deviceActions{grid-column:2;display:flex;gap:6px}.ngxsp-wmp-keepQueue{flex:0 0 auto;display:flex;align-items:center;justify-content:center;gap:7px;margin:0 8px 10px;padding:8px 10px;border:1px solid var(--wmp-line);border-radius:var(--wmp-r-md);background:transparent;color:var(--wmp-text-2);font:inherit;font-size:12px;cursor:pointer}.ngxsp-wmp-keepQueue:hover{background:var(--wmp-s2);color:var(--wmp-text)}.ngxsp-wmp-keepQueue ngxsp-smart-icon{width:14px;height:14px}.ngxsp-wmp-deviceGroup{margin:10px 0 2px;font-size:11px;font-weight:600;color:var(--wmp-text-2)}.ngxsp-wmp-deviceGroup:first-child{margin-top:0}.ngxsp-wmp-deviceHint{margin:0 0 7px;color:var(--wmp-text-2);font-size:11px;line-height:1.4}.ngxsp-wmp-output{display:flex;align-items:center;gap:10px;width:100%;padding:8px 10px;border:1px solid transparent;border-radius:var(--wmp-r-md);background:transparent;color:inherit;font:inherit;text-align:left;cursor:pointer}.ngxsp-wmp-output:hover{background:var(--wmp-s2)}.ngxsp-wmp-output.active{border-color:#8b90ff66;background:var(--wmp-accent-soft)}.ngxsp-wmp-output .ngxsp-wmp-rowCopy{flex:1;min-width:0}.ngxsp-wmp-output ngxsp-smart-icon{flex:0 0 auto;width:15px;height:15px;color:var(--wmp-accent)}.ngxsp-wmp-transport{grid-area:transport;min-width:0;display:grid;grid-template-columns:minmax(0,1fr) minmax(320px,620px) minmax(min-content,1fr);align-items:center;gap:24px;padding:0 16px;border-top:1px solid var(--wmp-line);background:var(--wmp-s0)}.ngxsp-wmp-miniNow{min-width:0;display:grid;grid-template-columns:52px minmax(0,1fr) auto;align-items:center;gap:12px}.ngxsp-wmp-miniArt{width:52px;height:52px;display:grid;place-items:center;overflow:hidden;border-radius:6px;background:var(--wmp-s2);color:var(--wmp-text-3)}.ngxsp-wmp-miniCopy{min-width:0;display:grid;gap:2px}button.ngxsp-wmp-miniCopy{padding:4px 6px;margin:-4px -6px;border:0;border-radius:var(--wmp-r-sm);background:transparent;color:inherit;font:inherit;text-align:start;cursor:pointer}button.ngxsp-wmp-miniCopy:hover{background:var(--wmp-s2)}.ngxsp-wmp-miniCopy strong,.ngxsp-wmp-miniCopy small{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ngxsp-wmp-miniCopy strong{font-size:13px;font-weight:600}.ngxsp-wmp-miniCopy small{color:var(--wmp-text-2);font-size:12px}.ngxsp-wmp-transportCenter{min-width:0;display:grid;justify-items:center;gap:0}.ngxsp-wmp-transportButtons{display:flex;align-items:center;gap:12px}.ngxsp-wmp-seekRow{width:100%;display:grid;grid-template-columns:44px minmax(0,1fr) 44px;align-items:center;gap:10px;color:var(--wmp-text-2);font-size:11px;font-variant-numeric:tabular-nums}.ngxsp-wmp-seekRow small:first-child{text-align:right}.ngxsp-wmp-seek{min-height:32px;--ngxsp-track-size:4px;--ngxsp-track-bg:var(--wmp-s3);--ngxsp-buffered-bg:transparent;--ngxsp-accent:var(--wmp-text);--ngxsp-thumb-size:12px;--ngxsp-thumb-bg:var(--wmp-text);--ngxsp-preview-bg:var(--wmp-s2);--ngxsp-preview-border:var(--wmp-line-strong)}.ngxsp-wmp-seek:hover{--ngxsp-accent:var(--wmp-accent)}.ngxsp-wmp-seek ::ng-deep .ngxsp-ts-thumb{opacity:0;transition:opacity var(--wmp-dur) var(--wmp-ease)}.ngxsp-wmp-seek:hover ::ng-deep .ngxsp-ts-thumb,.ngxsp-wmp-seek:focus-visible ::ng-deep .ngxsp-ts-thumb{opacity:1}.ngxsp-wmp-transportModes{min-width:0;display:flex;align-items:center;justify-content:flex-end;gap:6px}.ngxsp-wmp-switchWrap{position:relative;display:inline-flex;flex:0 0 auto}.ngxsp-wmp-devicesPopover{position:absolute;right:-6px;bottom:calc(100% + 12px);z-index:40;width:300px;max-height:min(60vh,420px);display:flex;flex-direction:column;overflow:hidden;border:1px solid var(--wmp-line);border-radius:12px;background:var(--wmp-s1);color:var(--wmp-text);box-shadow:0 18px 40px #00000073;text-align:left}.ngxsp-wmp-popoverHead{flex:none;display:flex;align-items:center;gap:8px;padding:12px 12px 2px}.ngxsp-wmp-popoverHead strong{flex:1;font-size:12.5px}.ngxsp-wmp-volumeControl{--ngxsp-control-size:32px;--ngxsp-volume-range-min:72px;--ngxsp-volume-range-max:112px;--ngxsp-volume-gap:4px;--ngxsp-volume-button-border:1px solid transparent;--ngxsp-volume-button-radius:6px;--ngxsp-volume-accent:var(--wmp-text);--ngxsp-volume-track-bg:var(--wmp-s3);--ngxsp-volume-thumb-bg:var(--wmp-text);--ngxsp-volume-thumb-size:12px;--ngxsp-volume-thumb-shadow:none;--ngxsp-focus-ring:0 0 0 2px var(--wmp-accent);color:var(--wmp-text-2)}.ngxsp-wmp-volumeControl:hover{--ngxsp-volume-accent:var(--wmp-accent);color:var(--wmp-text)}.ngxsp-wmp-dropOverlay{position:absolute;inset:12px;z-index:40;display:grid;place-content:center;justify-items:center;gap:10px;border:2px dashed var(--wmp-accent);border-radius:14px;background:var(--nsp-scrim, rgb(13 14 17 / .88));-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);color:var(--wmp-text);text-align:center;pointer-events:none}.ngxsp-wmp-dropIcon{width:56px;height:56px;display:grid;place-items:center;border-radius:14px;background:var(--wmp-accent-soft);color:var(--wmp-accent)}.ngxsp-wmp-dropIcon ngxsp-smart-icon{width:28px;height:28px}.ngxsp-wmp-dropOverlay strong{font-size:16px;font-weight:600}.ngxsp-wmp-dropOverlay span:last-child{color:var(--wmp-text-2)}@media(hover:none),(pointer:coarse){.ngxsp-wmp-rowFavorite,.ngxsp-wmp-rowQueueAction,.ngxsp-wmp-cardActions{opacity:1}.ngxsp-wmp-cardPlaySlot{opacity:1;transform:none}}@media(max-width:1180px){.ngxsp-wmp-shell{--wmp-rail-w:208px;--wmp-panel-w:284px}.ngxsp-wmp-sourceButton span{display:none}.ngxsp-wmp-sourceButton{width:32px;padding:0;justify-content:center}.ngxsp-wmp-tableHead,.ngxsp-wmp-trackSelect{grid-template-columns:32px minmax(0,2fr) minmax(0,1fr) 48px}.ngxsp-wmp-tableHead>span:nth-child(4),.ngxsp-wmp-albumCell{display:none}.ngxsp-wmp-nowPanel{grid-template-columns:148px minmax(0,1fr);gap:22px;padding:24px}.ngxsp-wmp-art{width:148px;height:148px}.ngxsp-wmp-nowCopy h1{font-size:26px}.ngxsp-wmp-transport{grid-template-columns:minmax(0,1fr) minmax(240px,1.4fr) minmax(min-content,1fr);gap:16px}.ngxsp-wmp-miniNow{grid-template-columns:44px minmax(0,1fr) auto}.ngxsp-wmp-miniArt{width:44px;height:44px}.ngxsp-wmp-volumeControl{--ngxsp-volume-range-min:56px;--ngxsp-volume-range-max:84px}}@media(max-width:1023px)and (min-width:721px){.ngxsp-wmp-shell{--wmp-rail-w:188px;--wmp-panel-w:260px}.ngxsp-wmp-shell,.ngxsp-wmp-shell.ngxsp-wmp-panelHidden{grid-template-columns:var(--wmp-rail-w) minmax(0,1fr);grid-template-areas:\"title title\" \"rail main\" \"transport transport\"}.ngxsp-wmp-playlist,.ngxsp-wmp-shell.ngxsp-wmp-panelHidden .ngxsp-wmp-playlist{display:none}.ngxsp-wmp-playlist.sheet,.ngxsp-wmp-shell.ngxsp-wmp-panelHidden .ngxsp-wmp-playlist.sheet{display:flex;position:fixed;left:0;right:0;top:0;bottom:calc(var(--wmp-transport-h) + env(safe-area-inset-bottom,0px));z-index:40;border:0;border-bottom:1px solid var(--wmp-line);overflow-y:auto;background:var(--wmp-s0);padding-top:env(safe-area-inset-top,0px)}.ngxsp-wmp-sheetHeader{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 16px;border-bottom:1px solid var(--wmp-line)}.ngxsp-wmp-sheetHeader strong{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:15px}.ngxsp-wmp-titleActions .ngxsp-wmp-status{position:fixed;right:16px;bottom:calc(var(--wmp-transport-h) + 12px);z-index:40;max-width:min(420px,calc(100vw - 32px));white-space:normal;height:auto;min-height:30px;padding:6px 12px;background:var(--wmp-s3);box-shadow:0 10px 30px #00000073}.ngxsp-wmp-miniNow>.ngxsp-wmp-iconButton{display:none}.ngxsp-wmp-miniNow>.ngxsp-wmp-sheetButton{display:grid}}@media(max-height:760px)and (min-width:721px){.ngxsp-wmp-nowPanel{padding-top:20px;padding-bottom:20px}}@media(max-width:720px){.ngxsp-wmp-shell,.ngxsp-wmp-shell.ngxsp-wmp-panelHidden{height:auto;min-height:100%;grid-template-columns:minmax(0,1fr);grid-template-rows:auto auto auto auto;grid-template-areas:\"title\" \"rail\" \"main\" \"panel\";--wmp-transport-h:100px;--wmp-tabbar-h:66px;padding-bottom:calc(var(--wmp-transport-h) + var(--wmp-tabbar-h) + env(safe-area-inset-bottom,0px));overflow:visible}.ngxsp-wmp-shell.ngxsp-wmp-panelHidden .ngxsp-wmp-playlist{display:flex}.ngxsp-wmp-titlebar{grid-template-columns:minmax(0,1fr) auto;grid-template-rows:48px auto;row-gap:0;padding:0 12px 10px}.ngxsp-wmp-search{grid-column:1 / -1;grid-row:2;justify-self:stretch;width:100%}.ngxsp-wmp-titleActions .ngxsp-wmp-status{position:fixed;left:12px;right:12px;bottom:calc(var(--wmp-transport-h) + var(--wmp-tabbar-h) + env(safe-area-inset-bottom,0px) + 8px);z-index:40;max-width:none;height:auto;min-height:34px;padding:8px 12px;white-space:normal;background:var(--wmp-s3);box-shadow:0 10px 30px #00000073}.ngxsp-wmp-shell:has(.ngxsp-wmp-playerPage) .ngxsp-wmp-titleActions .ngxsp-wmp-status{bottom:calc(var(--wmp-transport-h) + env(safe-area-inset-bottom,0px) + 8px)}.ngxsp-wmp-titleActions>.ngxsp-wmp-iconButton{display:none}.ngxsp-wmp-rail{display:none}.ngxsp-wmp-tabBar{position:fixed;left:0;right:0;bottom:0;z-index:31;height:calc(var(--wmp-tabbar-h) + env(safe-area-inset-bottom,0px));display:flex;align-items:stretch;gap:2px;padding:8px 6px calc(8px + env(safe-area-inset-bottom,0px));border-top:1px solid var(--wmp-line);background:var(--wmp-s0)}.ngxsp-wmp-tab{flex:1;min-width:0;min-height:48px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;padding:0 4px;border:0;border-radius:10px;background:transparent;color:var(--wmp-text-3);font:inherit;font-size:10px;cursor:pointer}.ngxsp-wmp-tab span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ngxsp-wmp-tab ngxsp-smart-icon{width:20px;height:20px}.ngxsp-wmp-tab.active{background:var(--wmp-accent-soft);color:var(--wmp-accent);font-weight:600}.ngxsp-wmp-tabFacets{display:flex;gap:7px;padding:10px 12px 0;overflow-x:auto}.ngxsp-wmp-tabFacets button{flex:0 0 auto;display:inline-flex;align-items:center;gap:6px;height:32px;padding:0 14px;border:0;border-radius:16px;background:var(--wmp-s2);color:var(--wmp-text-2);font:inherit;font-size:12.5px;cursor:pointer}.ngxsp-wmp-tabFacets button small{opacity:.7;font-size:11px}.ngxsp-wmp-tabFacets button.active{background:var(--wmp-accent);color:var(--wmp-on-accent);font-weight:600}.ngxsp-wmp-shell:has(.ngxsp-wmp-playerPage){--wmp-transport-h:116px;padding-bottom:calc(var(--wmp-transport-h) + env(safe-area-inset-bottom,0px))}.ngxsp-wmp-shell:has(.ngxsp-wmp-playerPage) .ngxsp-wmp-tabBar{display:none}.ngxsp-wmp-shell:has(.ngxsp-wmp-playerPage) .ngxsp-wmp-transport{bottom:0;height:calc(var(--wmp-transport-h) + env(safe-area-inset-bottom,0px));padding-bottom:calc(6px + env(safe-area-inset-bottom,0px))}.ngxsp-wmp-shell:has(.ngxsp-wmp-playerPage) .ngxsp-wmp-titlebar{display:none}.ngxsp-wmp-shell:has(.ngxsp-wmp-playerPage) .ngxsp-wmp-playerPage{min-height:calc(100vh - var(--wmp-transport-h) - env(safe-area-inset-bottom,0px));justify-content:center;padding:12px 20px 20px}.ngxsp-wmp-playerPage .ngxsp-wmp-playerSide{display:contents}.ngxsp-wmp-playerPage .ngxsp-wmp-playerStage{flex-direction:column;align-items:center;gap:16px}.ngxsp-wmp-playerPage .ngxsp-wmp-playerArt{order:2;width:150px;height:150px;border-radius:16px}.ngxsp-wmp-playerPage .ngxsp-wmp-playerLyrics{order:3;flex:none;width:100%;max-width:320px;max-height:24vh}.ngxsp-wmp-playerPage .ngxsp-wmp-playerLyricsHead{justify-content:center;margin-bottom:6px}.ngxsp-wmp-playerPage .ngxsp-wmp-playerLyricsLines{align-items:center}.ngxsp-wmp-playerPage .ngxsp-wmp-playerLyricsLines button,.ngxsp-wmp-playerPage .ngxsp-wmp-playerLyricsLines p{padding:7px 0;font-size:14px;text-align:center}.ngxsp-wmp-playerPage .ngxsp-wmp-playerLyricsLines button.active{font-size:17px}.ngxsp-wmp-playerPage .ngxsp-wmp-playerCopy{order:4;max-width:none}.ngxsp-wmp-playerPage .ngxsp-wmp-playerCopy small,.ngxsp-wmp-playerPage .ngxsp-wmp-playerCopy .ngxsp-wmp-detailActions{display:none}.ngxsp-wmp-playerPage .ngxsp-wmp-playerWave{order:5;max-width:320px;height:34px}.ngxsp-wmp-playerBack{order:-1}.ngxsp-wmp-shell:has(.ngxsp-wmp-playerPage) .ngxsp-wmp-transport{background:transparent;box-shadow:none;border-top:0}.ngxsp-wmp-shell:has(.ngxsp-wmp-playerPage) .ngxsp-wmp-miniNow>.ngxsp-wmp-iconButton{display:grid}.ngxsp-wmp-shell:has(.ngxsp-wmp-playerPage) .ngxsp-wmp-miniArt,.ngxsp-wmp-shell:has(.ngxsp-wmp-playerPage) .ngxsp-wmp-miniCopy{display:none}.ngxsp-wmp-shell:has(.ngxsp-wmp-playerPage) .ngxsp-wmp-miniNow{grid-column:1 / -1;grid-row:2;display:flex;justify-content:center;gap:10px}.ngxsp-wmp-shell:has(.ngxsp-wmp-playerPage) .ngxsp-wmp-transportButtons{grid-column:1 / -1;grid-row:1;justify-content:center;gap:18px}.ngxsp-wmp-shell:has(.ngxsp-wmp-playerPage) .ngxsp-wmp-transportButtons>.ngxsp-wmp-iconButton:first-child,.ngxsp-wmp-shell:has(.ngxsp-wmp-playerPage) .ngxsp-wmp-transportButtons>.ngxsp-wmp-iconButton:last-child{display:grid}.ngxsp-wmp-shell:has(.ngxsp-wmp-playerPage) .ngxsp-wmp-playButton{width:56px;height:56px}.ngxsp-wmp-shell:has(.ngxsp-wmp-playerPage) .ngxsp-wmp-seekRow{display:none}.ngxsp-wmp-shell:has(.ngxsp-wmp-playerPage) .ngxsp-wmp-transportModes{grid-column:1 / -1;grid-row:2;justify-content:center}.ngxsp-wmp-shell:has(.ngxsp-wmp-playerPage) .ngxsp-wmp-footerVolume{display:none}.ngxsp-wmp-nav{flex-direction:row;gap:4px;padding:8px 12px;overflow-x:auto}.ngxsp-wmp-navItem[data-quick],.ngxsp-wmp-navDivider{display:none}.ngxsp-wmp-navItem{width:auto;flex:0 0 auto;grid-template-columns:16px auto auto;height:32px;gap:6px}.ngxsp-wmp-navChevron{display:none}.ngxsp-wmp-navChild{grid-template-columns:auto auto;padding:0 12px;background:var(--wmp-s1)}.ngxsp-wmp-navDivider{width:1px;height:20px;margin:6px 4px}.ngxsp-wmp-railTools{display:none}.ngxsp-wmp-main{overflow:visible}.ngxsp-wmp-nowPanel{grid-template-columns:96px minmax(0,1fr);align-items:center;gap:16px;padding:16px}.ngxsp-wmp-art{width:96px;height:96px;align-self:start}.ngxsp-wmp-playerSurface{min-height:120px;gap:10px}.ngxsp-wmp-nowCopy h1{font-size:20px}.ngxsp-wmp-nowOscillogram{grid-template-columns:minmax(0,1fr)}.ngxsp-wmp-nowTime{display:none}.ngxsp-wmp-nowActions{gap:8px}.ngxsp-wmp-nowActions .ngxsp-wmp-iconButton.outlined{width:36px;height:36px}.ngxsp-wmp-primaryButton{height:36px}.ngxsp-wmp-sectionHeader{padding:16px 16px 4px}.ngxsp-wmp-sectionScroll{padding:4px 8px 16px;gap:18px}.ngxsp-wmp-shell:not(.ngxsp-wmp-browseMode) .ngxsp-wmp-cardGrid{grid-template-columns:none;grid-auto-flow:column;grid-auto-columns:minmax(132px,42%);overflow-x:auto;scroll-snap-type:x mandatory;padding-bottom:4px}.ngxsp-wmp-card{scroll-snap-align:start}.ngxsp-wmp-shell:not(.ngxsp-wmp-browseMode) .ngxsp-wmp-cardGrid .ngxsp-wmp-card:nth-child(n+5){display:none}.ngxsp-wmp-browseMode .ngxsp-wmp-cardGrid{grid-template-columns:repeat(auto-fill,minmax(140px,1fr));gap:8px}.ngxsp-wmp-shell:not(.ngxsp-wmp-browseMode) .ngxsp-wmp-sectionScroll>.ngxsp-wmp-section:nth-child(n+2){display:none}.ngxsp-wmp-cardActions{top:14px;right:14px}.ngxsp-wmp-shell:not(.ngxsp-wmp-browseMode) .ngxsp-wmp-table .ngxsp-wmp-trackRow:nth-of-type(n+6){display:none}.ngxsp-wmp-tableHead{display:none}.ngxsp-wmp-trackRow{grid-template-columns:minmax(0,1fr) auto}.ngxsp-wmp-trackSelect{grid-template-columns:28px minmax(0,1fr) 44px;gap:10px}.ngxsp-wmp-trackSelect>.ngxsp-wmp-trackCell{display:none}.ngxsp-wmp-rowQueueAction{display:none}.ngxsp-wmp-rowActions{padding-right:4px}.ngxsp-wmp-playlist,.ngxsp-wmp-shell.ngxsp-wmp-panelHidden .ngxsp-wmp-playlist{display:none}.ngxsp-wmp-playlist.sheet,.ngxsp-wmp-shell.ngxsp-wmp-panelHidden .ngxsp-wmp-playlist.sheet{display:flex;position:fixed;left:0;right:0;top:0;bottom:calc(var(--wmp-transport-h) + var(--wmp-tabbar-h) + env(safe-area-inset-bottom,0px));z-index:40;border:0;border-bottom:1px solid var(--wmp-line);overflow-y:auto;background:var(--wmp-s0);padding-top:env(safe-area-inset-top,0px)}.ngxsp-wmp-playlist.sheet .ngxsp-wmp-queueList .ngxsp-wmp-queueItem:nth-of-type(n+5){display:grid}.ngxsp-wmp-sheetHeader{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 16px;border-bottom:1px solid var(--wmp-line)}.ngxsp-wmp-sheetHeader strong{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:15px}.ngxsp-wmp-queueList{overflow:visible}.ngxsp-wmp-queueList .ngxsp-wmp-queueItem:nth-of-type(n+5){display:none}.ngxsp-wmp-transport{position:fixed;left:0;right:0;bottom:calc(var(--wmp-tabbar-h) + env(safe-area-inset-bottom,0px));z-index:30;height:var(--wmp-transport-h);grid-template-columns:minmax(0,1fr) auto;grid-template-rows:minmax(0,1fr) auto;gap:0 8px;padding:10px 12px 6px;box-shadow:0 -12px 32px #00000059}.ngxsp-wmp-miniNow{grid-template-columns:44px minmax(0,1fr) auto}.ngxsp-wmp-miniNow>.ngxsp-wmp-iconButton{display:none}.ngxsp-wmp-miniNow>.ngxsp-wmp-sheetButton{display:grid}.ngxsp-wmp-miniArt{width:44px;height:44px}.ngxsp-wmp-transportCenter{display:contents}.ngxsp-wmp-transportButtons{grid-column:2;grid-row:1;gap:4px}.ngxsp-wmp-transportButtons>.ngxsp-wmp-iconButton:first-child,.ngxsp-wmp-transportButtons>.ngxsp-wmp-iconButton:last-child{display:none}.ngxsp-wmp-seekRow{grid-column:1;grid-row:2;grid-template-columns:minmax(0,1fr)}.ngxsp-wmp-seekRow small{display:none}.ngxsp-wmp-transportModes{grid-column:2;grid-row:2;gap:0}.ngxsp-wmp-volumeControl{--ngxsp-volume-range-min:56px;--ngxsp-volume-range-max:72px}}@media(max-width:480px){.ngxsp-wmp-transportModes>.ngxsp-wmp-iconButton,.ngxsp-wmp-transportModes>.ngxsp-wmp-switchWrap{display:none}.ngxsp-wmp-transportModes>.ngxsp-wmp-switchWrap:has(>.ngxsp-wmp-devicesButton){display:inline-flex}.ngxsp-wmp-transportModes>.ngxsp-wmp-windowButton{display:grid}}.ngxsp-wmp-shell.ngxsp-wmp-compact{height:100vh;min-height:0;display:grid;grid-template:minmax(0,1fr) / minmax(0,1fr);padding:env(titlebar-area-height,0px) 0 0}.ngxsp-wmp-shell.ngxsp-wmp-compact>:not(.ngxsp-wmp-transport){display:none!important}.ngxsp-wmp-shell.ngxsp-wmp-compact .ngxsp-wmp-transport{grid-area:1 / 1;position:static;height:auto;min-height:0;border-top:0;box-shadow:none;-webkit-user-select:none;user-select:none;-webkit-app-region:drag}.ngxsp-wmp-compact .ngxsp-wmp-transport :is(button,ngxsp-time-slider,ngxsp-volume-control){-webkit-app-region:no-drag}.ngxsp-wmp-compact .ngxsp-wmp-sheetButton,.ngxsp-wmp-compact .ngxsp-wmp-transportModes>.ngxsp-wmp-iconButton,.ngxsp-wmp-compact .ngxsp-wmp-transportModes>.ngxsp-wmp-switchWrap{display:none}.ngxsp-wmp-compact .ngxsp-wmp-transportModes>.ngxsp-wmp-switchWrap:has(>.ngxsp-wmp-devicesButton){display:inline-flex}.ngxsp-wmp-compactMini .ngxsp-wmp-transport{align-content:center;padding:10px 12px 8px}.ngxsp-wmp-compactMiniLyrics .ngxsp-wmp-transport{grid-template-rows:minmax(0,1fr) auto auto;align-content:stretch;row-gap:4px}.ngxsp-wmp-compactMiniLyrics .ngxsp-wmp-compactLyrics{grid-column:1 / -1;grid-row:1;align-self:stretch}.ngxsp-wmp-compactMiniLyrics .ngxsp-wmp-miniNow,.ngxsp-wmp-compactMiniLyrics .ngxsp-wmp-transportButtons{grid-row:2}.ngxsp-wmp-compactMiniLyrics .ngxsp-wmp-seekRow,.ngxsp-wmp-compactMiniLyrics .ngxsp-wmp-transportModes{grid-row:3}.ngxsp-wmp-compactLyrics{position:relative;min-height:0;display:grid;align-content:start;gap:2px;overflow-y:auto;padding:6px 4px 10px;border-bottom:1px solid var(--wmp-line);-webkit-app-region:no-drag;-webkit-mask-image:linear-gradient(transparent,#000 18%,#000 82%,transparent);mask-image:linear-gradient(transparent,#000 18%,#000 82%,transparent)}.ngxsp-wmp-compactLyrics::-webkit-scrollbar{display:none}.ngxsp-wmp-compactLyricsLine{margin:0;padding:3px 6px;border:0;border-radius:var(--wmp-r-sm);background:none;color:var(--wmp-text-3);font:inherit;font-size:13px;line-height:1.35;text-align:left;cursor:pointer;transition:color var(--wmp-dur) var(--wmp-ease),font-size var(--wmp-dur) var(--wmp-ease)}.ngxsp-wmp-compactLyricsLine.plain{cursor:default;color:var(--wmp-text-2)}.ngxsp-wmp-compactLyricsLine.active{color:var(--wmp-text);font-size:15px;font-weight:650}.ngxsp-wmp-compactLyricsLine:not(.plain):hover{color:var(--wmp-text-2)}.ngxsp-wmp-shell.ngxsp-wmp-compactBarLyrics .ngxsp-wmp-transport{grid-template-columns:minmax(0,1fr) minmax(0,1.2fr) minmax(280px,560px) minmax(0,1fr)}.ngxsp-wmp-barLyrics{min-width:0;display:grid;gap:2px;text-align:center}.ngxsp-wmp-barLyrics strong,.ngxsp-wmp-barLyrics span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ngxsp-wmp-barLyrics strong{color:var(--wmp-text);font-size:15px;font-weight:650}.ngxsp-wmp-barLyrics span{color:var(--wmp-text-3);font-size:12px}.ngxsp-wmp-compactActions{display:inline-flex;align-items:center;gap:2px}.ngxsp-wmp-compactActions button{width:28px;height:28px;display:grid;place-items:center;padding:0;border:0;border-radius:var(--wmp-r-sm);background:transparent;color:var(--wmp-text-2);cursor:pointer}.ngxsp-wmp-compactActions button:hover{background:var(--wmp-s2);color:var(--wmp-text)}.ngxsp-wmp-compactActions button:focus-visible{outline:2px solid var(--wmp-accent);outline-offset:1px}.ngxsp-wmp-compactActions ngxsp-smart-icon{width:16px;height:16px}@media(prefers-reduced-motion:reduce){.ngxsp-wmp-shell *,.ngxsp-wmp-shell *:before,.ngxsp-wmp-shell *:after{animation:none!important;transition:none!important}}\n"],
1763
2584
  dependencies: [
1764
2585
  {
1765
2586
  kind: "ngmodule",
@@ -1775,6 +2596,7 @@ var NgxSmartPlayerAudioUiComponent = class NgxSmartPlayerAudioUiComponent {
1775
2596
  "ports",
1776
2597
  "engines",
1777
2598
  "debug",
2599
+ "handlingFailure",
1778
2600
  "startTimeSec",
1779
2601
  "autoplayOnInit",
1780
2602
  "playRequest",
@@ -1789,9 +2611,13 @@ var NgxSmartPlayerAudioUiComponent = class NgxSmartPlayerAudioUiComponent {
1789
2611
  "repeatMode",
1790
2612
  "repeatLabel",
1791
2613
  "hasPlaylistControls",
2614
+ "showCastControl",
2615
+ "showPictureInPicture",
2616
+ "showPlaylistModes",
1792
2617
  "mediaMode",
1793
2618
  "castEnabled",
1794
2619
  "castConnected",
2620
+ "overlayLabels",
1795
2621
  "documentShortcuts",
1796
2622
  "nowPlayingLabel",
1797
2623
  "nowListeningLabel",
@@ -1810,7 +2636,14 @@ var NgxSmartPlayerAudioUiComponent = class NgxSmartPlayerAudioUiComponent {
1810
2636
  "outputUnmuteLabel",
1811
2637
  "timelineDurationSec",
1812
2638
  "timelineMarkers",
1813
- "menuLabels"
2639
+ "showAudioVisual",
2640
+ "showTrackControls",
2641
+ "menuLabels",
2642
+ "castLabels",
2643
+ "holdControls",
2644
+ "preferredTextLanguage",
2645
+ "captionScale",
2646
+ "loadSidecarSubtitles"
1814
2647
  ],
1815
2648
  outputs: [
1816
2649
  "ended",
@@ -1841,6 +2674,20 @@ var NgxSmartPlayerAudioUiComponent = class NgxSmartPlayerAudioUiComponent {
1841
2674
  inputs: ["sections"],
1842
2675
  outputs: ["settingChange", "settingAction"]
1843
2676
  },
2677
+ {
2678
+ kind: "component",
2679
+ type: SmartNotificationsComponent,
2680
+ selector: "ngxsp-notifications",
2681
+ inputs: ["page"],
2682
+ outputs: ["entryAction", "markAllRead"]
2683
+ },
2684
+ {
2685
+ kind: "component",
2686
+ type: SmartEmptyPageComponent,
2687
+ selector: "ngxsp-empty-page",
2688
+ inputs: ["page"],
2689
+ outputs: ["pageAction"]
2690
+ },
1844
2691
  {
1845
2692
  kind: "component",
1846
2693
  type: NgxspTimeSlider,
@@ -1883,7 +2730,7 @@ var NgxSmartPlayerAudioUiComponent = class NgxSmartPlayerAudioUiComponent {
1883
2730
  };
1884
2731
  i0.ɵɵngDeclareClassMetadata({
1885
2732
  minVersion: "12.0.0",
1886
- version: "22.2.1",
2733
+ version: "22.3.0",
1887
2734
  ngImport: i0,
1888
2735
  type: NgxSmartPlayerAudioUiComponent,
1889
2736
  decorators: [{
@@ -1896,6 +2743,8 @@ i0.ɵɵngDeclareClassMetadata({
1896
2743
  SmartPlayerComponent,
1897
2744
  SmartPlayerIconComponent,
1898
2745
  SmartSettingsComponent,
2746
+ SmartNotificationsComponent,
2747
+ SmartEmptyPageComponent,
1899
2748
  NgxspTimeSlider,
1900
2749
  NgxspVolumeControl
1901
2750
  ],
@@ -1916,6 +2765,40 @@ i0.ɵɵngDeclareClassMetadata({
1916
2765
  (dragleave)="onFileDragLeave($event)"
1917
2766
  (drop)="onFileDrop($event)"
1918
2767
  >
2768
+ @if (trackMenu) {
2769
+ <button
2770
+ class="ngxsp-wmp-trackMenuScrim"
2771
+ type="button"
2772
+ [attr.aria-label]="closeLabel + ' - ' + trackMenu.title"
2773
+ (click)="dismissTrackMenu()"
2774
+ (contextmenu)="$event.preventDefault(); dismissTrackMenu()"
2775
+ ></button>
2776
+ <div
2777
+ #trackMenuBox
2778
+ class="ngxsp-wmp-trackMenu"
2779
+ role="menu"
2780
+ tabindex="-1"
2781
+ [attr.aria-label]="trackMenu.title"
2782
+ [style.left.px]="trackMenu.x"
2783
+ [style.top.px]="trackMenu.y"
2784
+ (keydown)="onMenuKeys($event)"
2785
+ >
2786
+ <!-- Le nom de la boîte le dit déjà : laissé dans l'arbre, il s'entendait deux fois. -->
2787
+ <strong class="ngxsp-wmp-trackMenuTitle" aria-hidden="true">{{ trackMenu.title }}</strong>
2788
+ <button type="button" role="menuitem" (click)="runTrackAction('next')">
2789
+ <ngxsp-smart-icon name="next" /><span>{{ queueNextLabel }}</span>
2790
+ </button>
2791
+ <button type="button" role="menuitem" (click)="runTrackAction('queue')">
2792
+ <ngxsp-smart-icon name="playlist-plus" /><span>{{ queueAddLabel }}</span>
2793
+ </button>
2794
+ @if (isRemovable(trackMenu.id)) {
2795
+ <button type="button" role="menuitem" class="danger" (click)="runTrackAction('remove')">
2796
+ <ngxsp-smart-icon name="close" /><span>{{ removeItemLabel }}</span>
2797
+ </button>
2798
+ }
2799
+ </div>
2800
+ }
2801
+
1919
2802
  @if (fileDragActive) {
1920
2803
  <div class="ngxsp-wmp-dropOverlay" aria-hidden="true">
1921
2804
  <span class="ngxsp-wmp-dropIcon"><ngxsp-smart-icon name="folder" /></span>
@@ -1927,6 +2810,9 @@ i0.ɵɵngDeclareClassMetadata({
1927
2810
  }
1928
2811
 
1929
2812
  @if (config) {
2813
+ <!-- The engine, and only the engine: the cover and the waveform of this application are its
2814
+ own, so the player is mounted in a box of a pixel. Its own stage for a sound — a disc
2815
+ turning, five bars pulsing — went on turning inside that box, clipped away. -->
1930
2816
  <div class="ngxsp-wmp-engineMount" aria-hidden="true" inert>
1931
2817
  <ngx-smart-player
1932
2818
  [config]="config"
@@ -1934,6 +2820,7 @@ i0.ɵɵngDeclareClassMetadata({
1934
2820
  [ports]="ports"
1935
2821
  [engines]="engines"
1936
2822
  [debug]="debug"
2823
+ [handlingFailure]="handlingFailure"
1937
2824
  [startTimeSec]="startTimeSec"
1938
2825
  [autoplayOnInit]="autoplayOnInit"
1939
2826
  [playRequest]="playRequest"
@@ -1945,7 +2832,10 @@ i0.ɵɵngDeclareClassMetadata({
1945
2832
  [repeatLabel]="repeatLabel"
1946
2833
  [hasPlaylistControls]="hasPlaylistControls"
1947
2834
  [mediaMode]="'audio'"
2835
+ [showAudioVisual]="false"
1948
2836
  [castEnabled]="castEnabled"
2837
+ [castLabels]="castLabels"
2838
+
1949
2839
  (ended)="ended.emit()"
1950
2840
  (videoSize)="videoSize.emit($event)"
1951
2841
  (prev)="prev.emit()"
@@ -1981,6 +2871,12 @@ i0.ɵɵngDeclareClassMetadata({
1981
2871
  {{ statusMessage }}
1982
2872
  </div>
1983
2873
  }
2874
+ <!--
2875
+ What the top bar carries, when it carries anything. A host whose Sources page owns the
2876
+ folders says so by turning this off: one place for one thing beats two that can give
2877
+ different answers. A host without such a page keeps it, and that is the default.
2878
+ -->
2879
+ @if (showSourceButton) {
1984
2880
  <!-- The import action lives in the top bar, as in the video player. A folder is what
1985
2881
  builds the library, so it is the action wherever one can be loaded. -->
1986
2882
  @if (folderImportLabel) {
@@ -1994,6 +2890,7 @@ i0.ɵɵngDeclareClassMetadata({
1994
2890
  <span>{{ sourceChangeLabel }}</span>
1995
2891
  </button>
1996
2892
  }
2893
+ }
1997
2894
  <input #audioFileInput class="ngxsp-wmp-fileInput" type="file" [accept]="sourceChangeAccept" aria-hidden="true" tabindex="-1" (change)="onSourceFileInput($event)" />
1998
2895
  @if (languageOptions.length) {
1999
2896
  <div class="ngxsp-wmp-segmented ngxsp-wmp-languageSwitch" role="group" [attr.aria-label]="languageLabel">
@@ -2005,8 +2902,51 @@ i0.ɵɵngDeclareClassMetadata({
2005
2902
  </div>
2006
2903
  }
2007
2904
  <button class="ngxsp-wmp-iconButton" type="button" [class.active]="queuePanelOpen" [attr.aria-pressed]="queuePanelOpen" [title]="queueTitle" [attr.aria-label]="queueTitle" (click)="toggleQueuePanel()">
2008
- <ngxsp-smart-icon name="panel-right" />
2905
+ <ngxsp-smart-icon name="queue" />
2009
2906
  </button>
2907
+ <!-- The bell the compact boards draw, with the dot that says something happened and
2908
+ nobody has looked. The video player has had one; this side had none. -->
2909
+ <!--
2910
+ What the application did without being asked is read in passing, over whatever one
2911
+ was doing. Notifications.dc.html hangs it under the bell: a page took the whole
2912
+ window away to say it, and then had to be left again.
2913
+ -->
2914
+ <!-- Escape closes it, wherever the keyboard is: on the bell, or inside the dialog. -->
2915
+ <span class="ngxsp-wmp-bellWrap">
2916
+ <!-- Escape closes it from here as well as from inside: a dialog one cannot dismiss by
2917
+ key is a trap, and the hand is usually still on the button that opened it. -->
2918
+ <button class="ngxsp-wmp-iconButton ngxsp-wmp-bellButton" type="button" aria-haspopup="dialog" [class.active]="!!notificationsPage" [attr.aria-expanded]="!!notificationsPage" [attr.aria-label]="notificationsUnread ? notificationsLabel + ' (' + notificationsUnread + ')' : notificationsLabel" [title]="notificationsLabel" (click)="notificationsOpen.emit()">
2919
+ <ngxsp-smart-icon name="bell" />
2920
+ @if (notificationsUnread) { <i class="ngxsp-wmp-bellDot" aria-hidden="true"></i> }
2921
+ </button>
2922
+ @if (notificationsPage) {
2923
+ <div class="ngxsp-wmp-notificationsPopover" role="dialog" [attr.aria-label]="notificationsLabel">
2924
+ <ngxsp-notifications [page]="notificationsPage" (entryAction)="notificationAction.emit($event)" (markAllRead)="notificationsRead.emit()" />
2925
+ </div>
2926
+ }
2927
+ </span>
2928
+ @if (quickViews.length) {
2929
+ <!-- On a phone the rail is a strip one scrolls, and these views sat at the far end of
2930
+ it: settings were eight drags away, for the view a listener opens most. They move
2931
+ up here, on the actions side, and leave the strip at that width rather than being
2932
+ listed twice, which is what data-quick does below. Icon only: four more words
2933
+ beside the folder button would read as a menu rather than as a way out of one. -->
2934
+ <nav class="ngxsp-wmp-quickViews" [attr.aria-label]="quickViewsLabel">
2935
+ @for (view of quickViews; track view.id) {
2936
+ <button
2937
+ class="ngxsp-wmp-quickView"
2938
+ type="button"
2939
+ [class.active]="view.active"
2940
+ [attr.aria-current]="view.active ? 'page' : null"
2941
+ [title]="view.label"
2942
+ [attr.aria-label]="view.label"
2943
+ (click)="selectLibraryView.emit(view.id)"
2944
+ >
2945
+ <ngxsp-smart-icon [name]="viewIcon(view.id)" />
2946
+ </button>
2947
+ }
2948
+ </nav>
2949
+ }
2010
2950
  </div>
2011
2951
  </header>
2012
2952
 
@@ -2014,18 +2954,30 @@ i0.ɵɵngDeclareClassMetadata({
2014
2954
  @if (libraryViews.length) {
2015
2955
  <nav class="ngxsp-wmp-nav" [attr.aria-label]="libraryViewsLabel">
2016
2956
  @for (view of primaryViews; track view.id) {
2017
- <button class="ngxsp-wmp-navItem" [class.active]="view.active" type="button" [attr.aria-current]="view.active ? 'page' : null" [attr.aria-label]="view.count !== undefined ? view.label + ' ' + view.count : view.label" (click)="selectLibraryView.emit(view.id)">
2957
+ <button class="ngxsp-wmp-navItem" [attr.data-quick]="hasQuickView(view.id) ? '' : null" [class.active]="view.active" type="button" [attr.aria-current]="view.active ? 'page' : null" [attr.aria-expanded]="view.children?.length ? !!view.active : null" [attr.aria-label]="view.count !== undefined ? view.label + ' ' + view.count : view.label" (click)="selectLibraryView.emit(view.id)">
2018
2958
  <ngxsp-smart-icon [name]="viewIcon(view.id)" />
2019
2959
  <span>{{ view.label }}</span>
2020
- @if (view.count !== undefined) {
2960
+ @if (view.children?.length) {
2961
+ <ngxsp-smart-icon class="ngxsp-wmp-navChevron" [name]="view.active ? 'chevron-down' : 'chevron-right'" />
2962
+ } @else if (view.count !== undefined) {
2021
2963
  <small>{{ view.count }}</small>
2022
2964
  }
2023
2965
  </button>
2966
+ @if (view.active) {
2967
+ @for (child of view.children ?? []; track child.id) {
2968
+ <button class="ngxsp-wmp-navItem ngxsp-wmp-navChild" [class.active]="child.active" type="button" [attr.aria-current]="child.active ? 'page' : null" [attr.aria-label]="child.count !== undefined ? child.label + ' ' + child.count : child.label" (click)="selectLibraryView.emit(child.id)">
2969
+ <span>{{ child.label }}</span>
2970
+ @if (child.count !== undefined) {
2971
+ <small>{{ child.count }}</small>
2972
+ }
2973
+ </button>
2974
+ }
2975
+ }
2024
2976
  }
2025
2977
  @if (collectionViews.length) {
2026
2978
  <span class="ngxsp-wmp-navDivider" aria-hidden="true"></span>
2027
2979
  @for (view of collectionViews; track view.id) {
2028
- <button class="ngxsp-wmp-navItem" [class.active]="view.active" type="button" [attr.aria-current]="view.active ? 'page' : null" [attr.aria-label]="view.count !== undefined ? view.label + ' ' + view.count : view.label" (click)="selectLibraryView.emit(view.id)">
2980
+ <button class="ngxsp-wmp-navItem" [attr.data-quick]="hasQuickView(view.id) ? '' : null" [class.active]="view.active" type="button" [attr.aria-current]="view.active ? 'page' : null" [attr.aria-label]="view.count !== undefined ? view.label + ' ' + view.count : view.label" (click)="selectLibraryView.emit(view.id)">
2029
2981
  <ngxsp-smart-icon [name]="viewIcon(view.id)" />
2030
2982
  <span>{{ view.label }}</span>
2031
2983
  @if (view.count !== undefined) {
@@ -2037,7 +2989,7 @@ i0.ɵɵngDeclareClassMetadata({
2037
2989
  @if (appViews.length) {
2038
2990
  <span class="ngxsp-wmp-navDivider" aria-hidden="true"></span>
2039
2991
  @for (view of appViews; track view.id) {
2040
- <button class="ngxsp-wmp-navItem" [class.active]="view.active" type="button" [attr.aria-current]="view.active ? 'page' : null" [attr.aria-label]="view.label" (click)="selectLibraryView.emit(view.id)">
2992
+ <button class="ngxsp-wmp-navItem" [attr.data-quick]="hasQuickView(view.id) ? '' : null" [class.active]="view.active" type="button" [attr.aria-current]="view.active ? 'page' : null" [attr.aria-label]="view.label" (click)="selectLibraryView.emit(view.id)">
2041
2993
  <ngxsp-smart-icon [name]="viewIcon(view.id)" />
2042
2994
  <span>{{ view.label }}</span>
2043
2995
  </button>
@@ -2059,7 +3011,125 @@ i0.ɵɵngDeclareClassMetadata({
2059
3011
  </div>
2060
3012
  </aside>
2061
3013
 
3014
+ <!-- A phone puts the families where a thumb reaches them. The rail flattened the whole tree
3015
+ into one strip one had to scroll sideways; the boards draw three fixed targets at the
3016
+ bottom, and the facets of the open family at the top of what it holds. -->
3017
+ <nav class="ngxsp-wmp-tabBar" [attr.aria-label]="libraryViewsLabel">
3018
+ @for (view of primaryViews; track view.id) {
3019
+ @if (!hasQuickView(view.id)) {
3020
+ <button class="ngxsp-wmp-tab" type="button" [class.active]="view.active" [attr.aria-current]="view.active ? 'page' : null" (click)="selectLibraryView.emit(view.id)">
3021
+ <ngxsp-smart-icon [name]="viewIcon(view.id)" />
3022
+ <span>{{ view.label }}</span>
3023
+ </button>
3024
+ }
3025
+ }
3026
+ </nav>
3027
+
2062
3028
  <section #libraryScroll class="ngxsp-wmp-main" [attr.aria-label]="libraryContentTitle || libraryTitle">
3029
+ @if (playerPage; as page) {
3030
+ <!-- A track as a page: the board draws the cover large, what it is made of under it, and
3031
+ the words beside it. The video player has had a page of its own since it became a
3032
+ place one goes into; this side listened from the bottom bar and nowhere else. -->
3033
+ <section class="ngxsp-wmp-playerPage" [attr.aria-label]="page.title">
3034
+ @if (page.backLabel) {
3035
+ <button class="ngxsp-wmp-playerBack" type="button" [attr.aria-label]="page.backLabel" [title]="page.backLabel" (click)="playerBack.emit()">
3036
+ <ngxsp-smart-icon name="chevron-left" />
3037
+ <span>{{ page.backLabel }}</span>
3038
+ </button>
3039
+ }
3040
+ <div class="ngxsp-wmp-playerStage">
3041
+ <div class="ngxsp-wmp-playerSide">
3042
+ <div class="ngxsp-wmp-playerArt ngxsp-wmp-cover" [class.has-image]="!!artworkSrc(page.artworkUrl)" [attr.data-tone]="artTone(currentTrackId || page.title)">
3043
+ @if (artworkSrc(page.artworkUrl); as artworkUrl) {
3044
+ <img [src]="artworkUrl" alt="" (error)="markArtworkFailed(artworkUrl)" />
3045
+ } @else {
3046
+ <ngxsp-smart-icon name="music" />
3047
+ }
3048
+ </div>
3049
+ <div class="ngxsp-wmp-playerCopy">
3050
+ <h1>{{ page.title }}</h1>
3051
+ @if (page.artist) { <p>{{ page.artist }}</p> }
3052
+ @if (page.meta) { <small>{{ page.meta }}</small> }
3053
+ @if (page.actions?.length) {
3054
+ <div class="ngxsp-wmp-detailActions">
3055
+ @for (action of page.actions; track action.id) {
3056
+ <button
3057
+ class="ngxsp-wmp-detailAction"
3058
+ type="button"
3059
+ [class.primary]="action.primary"
3060
+ [class.compact]="action.compact"
3061
+ [class.active]="action.active"
3062
+ [disabled]="action.disabled"
3063
+ [attr.aria-pressed]="action.active === undefined ? null : action.active"
3064
+ [attr.aria-label]="action.label"
3065
+ [title]="action.label"
3066
+ (click)="playerPageAction.emit(action.id)"
3067
+ >
3068
+ @if (action.icon) { <ngxsp-smart-icon [name]="action.icon" /> }
3069
+ @if (!action.compact) { <span>{{ action.label }}</span> }
3070
+ </button>
3071
+ }
3072
+ </div>
3073
+ }
3074
+ </div>
3075
+ <!-- A sound has no picture of its own to show: the bars say how far it has gone. -->
3076
+ <div class="ngxsp-wmp-playerWave" aria-hidden="true">
3077
+ @for (bar of waveformBars; track $index) {
3078
+ <span [class.played]="$index < playedBars" [style.height.%]="bar"></span>
3079
+ }
3080
+ </div>
3081
+ </div>
3082
+ @if (lyricsPanel; as lyrics) {
3083
+ <section class="ngxsp-wmp-playerLyrics" [attr.aria-label]="lyrics.title" [attr.aria-busy]="lyrics.busy ? 'true' : null">
3084
+ <div class="ngxsp-wmp-playerLyricsHead">
3085
+ <ngxsp-smart-icon name="lyrics" />
3086
+ <span>{{ lyrics.status || lyrics.title }}</span>
3087
+ @if (lyrics.searchLabel) {
3088
+ <button class="ngxsp-wmp-smallButton" type="button" [disabled]="lyrics.busy" (click)="refreshLyrics.emit()">{{ lyrics.searchLabel }}</button>
3089
+ }
3090
+ </div>
3091
+ <div class="ngxsp-wmp-playerLyricsLines" #playerLyricsLines>
3092
+ @for (line of lyrics.lines; track $index) {
3093
+ @if (line.timeSec !== undefined) {
3094
+ <button type="button" [class.active]="$index === activeLyricsIndex" [attr.aria-current]="$index === activeLyricsIndex ? 'true' : null" [attr.aria-label]="(lyrics.seekLabel ? lyrics.seekLabel + ' - ' : '') + line.text" (click)="playFromLyrics(line.timeSec)">{{ line.text || '♪' }}</button>
3095
+ } @else {
3096
+ <p>{{ line.text }}</p>
3097
+ }
3098
+ }
3099
+ </div>
3100
+ </section>
3101
+ }
3102
+ </div>
3103
+ </section>
3104
+ }
3105
+ @if (!playerPage) {
3106
+ @if (openViewChildren.length) {
3107
+ <div class="ngxsp-wmp-tabFacets" role="group" [attr.aria-label]="libraryViewsLabel">
3108
+ @for (child of openViewChildren; track child.id) {
3109
+ <button type="button" [class.active]="child.active" [attr.aria-current]="child.active ? 'page' : null" (click)="selectLibraryView.emit(child.id)">
3110
+ <span>{{ child.label }}</span>
3111
+ @if (child.count !== undefined) { <small>{{ child.count }}</small> }
3112
+ </button>
3113
+ }
3114
+ </div>
3115
+ }
3116
+ <!--
3117
+ Where one is, and the way back up through it. The video player has had this since its
3118
+ views became places one goes into; an album one has opened is as deep as a season, and
3119
+ the listener was told as little about it as a Back button can say.
3120
+ -->
3121
+ @if (trail.length > 1) {
3122
+ <nav class="ngxsp-wmp-trail" [attr.aria-label]="trailLabel">
3123
+ @for (step of trail; track step.id; let last = $last) {
3124
+ @if (last) {
3125
+ <b aria-current="page">{{ step.label }}</b>
3126
+ } @else {
3127
+ <button class="ngxsp-wmp-trailStep" type="button" (click)="trailStep.emit(step.id)">{{ step.label }}</button>
3128
+ <span aria-hidden="true">›</span>
3129
+ }
3130
+ }
3131
+ </nav>
3132
+ }
2063
3133
  @if (isHomeView) {
2064
3134
  <section class="ngxsp-wmp-nowPanel" [attr.aria-label]="nowListeningLabel">
2065
3135
  <div class="ngxsp-wmp-art ngxsp-wmp-cover" [class.has-image]="!!artworkSrc(currentArtworkUrl)" [attr.data-tone]="artTone(currentTrackId || currentTitle)">
@@ -2130,6 +3200,14 @@ i0.ɵɵngDeclareClassMetadata({
2130
3200
  }
2131
3201
 
2132
3202
  <section class="ngxsp-wmp-librarySurface">
3203
+ <!-- A page with a head of its own does not take the view's as well: Sources says its
3204
+ own name, and the eyebrow above it would say the family a second time.
3205
+
3206
+ The notifications are not one of those pages any more. They hang off the bell as a
3207
+ dialog over the view, and the view is still there underneath: listed here, opening
3208
+ the bell tore the heading, the back button and the detail block off the page one was
3209
+ reading, which then came back on its own when the dialog closed. -->
3210
+ @if (!sourcesPage && !emptyPage && !playlistsPageOpen) {
2133
3211
  <header class="ngxsp-wmp-sectionHeader">
2134
3212
  @if (backLabel) {
2135
3213
  <button class="ngxsp-wmp-backButton" type="button" [attr.aria-label]="backLabel" [title]="backLabel" (click)="back.emit()">
@@ -2137,13 +3215,70 @@ i0.ɵɵngDeclareClassMetadata({
2137
3215
  <span>{{ backLabel }}</span>
2138
3216
  </button>
2139
3217
  }
2140
- <span>{{ libraryEyebrow }}</span>
3218
+ @if (detailHead; as head) {
3219
+ <!-- What one has opened says what it is: the eyebrow is the trail's business now, and
3220
+ the plain heading would say the name a second time. -->
3221
+ <div class="ngxsp-wmp-detailHead">
3222
+ <div class="ngxsp-wmp-detailArt">
3223
+ @if (head.artworkUrl) {
3224
+ <img [src]="head.artworkUrl" alt="" loading="lazy" decoding="async" />
3225
+ }
3226
+ </div>
3227
+ <div class="ngxsp-wmp-detailText">
3228
+ <h1>{{ head.title }}</h1>
3229
+ @if (head.meta) { <p class="ngxsp-wmp-detailMeta">{{ head.meta }}</p> }
3230
+ @if (head.format) { <p class="ngxsp-wmp-detailFormat">{{ head.format }}</p> }
3231
+ @if (head.actions?.length) {
3232
+ <div class="ngxsp-wmp-detailActions">
3233
+ @for (action of head.actions; track action.id) {
3234
+ <button
3235
+ class="ngxsp-wmp-detailAction"
3236
+ type="button"
3237
+ [class.primary]="action.primary"
3238
+ [class.compact]="action.compact"
3239
+ [class.active]="action.active"
3240
+ [disabled]="action.disabled"
3241
+ [attr.aria-pressed]="action.active === undefined ? null : action.active"
3242
+ [attr.aria-label]="action.label"
3243
+ [title]="action.label"
3244
+ (click)="detailHeadAction.emit(action.id)"
3245
+ >
3246
+ @if (action.icon) { <ngxsp-smart-icon [name]="action.icon" /> }
3247
+ @if (!action.compact) { <span>{{ action.label }}</span> }
3248
+ </button>
3249
+ }
3250
+ </div>
3251
+ }
3252
+ </div>
3253
+ </div>
3254
+ } @else if (hasSearchQuery) {
3255
+ <!-- A search is a page of its own: what was looked for, and how much answered. The
3256
+ view's own name would say where one happens to stand, which is not the subject. -->
3257
+ <h1 class="ngxsp-wmp-searchTitle">{{ searchResultsTitle }}</h1>
3258
+ @if (searchResultsSummary) { <p class="ngxsp-wmp-searchSummary">{{ searchResultsSummary }}</p> }
3259
+ } @else {
3260
+ <!-- A page that says what it is for says it under its own name, and nothing above it:
3261
+ the boards draw one line there, not two that say different things. -->
3262
+ @if (!viewIntro) { <span>{{ libraryEyebrow }}</span> }
2141
3263
  @if (isHomeView) {
2142
3264
  <h2>{{ libraryContentTitle || libraryTitle }}</h2>
2143
3265
  } @else {
2144
3266
  <h1>{{ libraryContentTitle || libraryTitle }}</h1>
2145
3267
  }
3268
+ <!-- What the page is for, said once under its name. -->
3269
+ @if (viewIntro) { <p class="ngxsp-wmp-viewIntro">{{ viewIntro }}</p> }
3270
+ <!-- The shape the view is read in, which the boards draw beside its name — on a list,
3271
+ not on what one has opened: an album is its tracks, in order, and not on a page of
3272
+ counters over one list, which is not a shelf one reshapes. -->
3273
+ @if (gridLabel && tableLabel && !viewFacets.length && !settingsSections.length) {
3274
+ <div class="ngxsp-wmp-viewSwitch" role="group" [attr.aria-label]="viewSwitchLabel">
3275
+ <button type="button" [class.active]="viewMode === 'grid'" [attr.aria-pressed]="viewMode === 'grid'" (click)="viewModeChange.emit('grid')">{{ gridLabel }}</button>
3276
+ <button type="button" [class.active]="viewMode === 'list'" [attr.aria-pressed]="viewMode === 'list'" (click)="viewModeChange.emit('list')">{{ tableLabel }}</button>
3277
+ </div>
3278
+ }
3279
+ }
2146
3280
  </header>
3281
+ }
2147
3282
  <div class="ngxsp-wmp-sectionScroll">
2148
3283
  @if (serverForm; as form) {
2149
3284
  <form class="ngxsp-wmp-stationForm" (submit)="submitServer($event)">
@@ -2189,22 +3324,197 @@ i0.ɵɵngDeclareClassMetadata({
2189
3324
  @if (form.hint) { <small class="ngxsp-wmp-stationHint">{{ form.hint }}</small> }
2190
3325
  </form>
2191
3326
  }
3327
+ @if (emptyPage) {
3328
+ <!-- The first opening: nothing has been loaded, and the page says what to do about it.
3329
+ Drawn by the shared component, so both players say it the same way. -->
3330
+ <ngxsp-empty-page [page]="emptyPage" (pageAction)="emptyPageAction.emit($event)" />
3331
+ }
2192
3332
  @if (settingsSections.length) {
3333
+ <!-- The settings have always been a page here rather than a panel over one, but a page
3334
+ needs a way out, and theirs was the rail's own entry. That entry leaves the strip
3335
+ on a phone now that the title bar carries it, so the page says where it goes back
3336
+ to, as the video player's does. -->
3337
+ @if (settingsBackLabel) {
3338
+ <button class="ngxsp-wmp-backButton" type="button" [attr.aria-label]="settingsBackLabel" [title]="settingsBackLabel" (click)="settingsBack.emit()">
3339
+ <ngxsp-smart-icon name="chevron-left" />
3340
+ <span>{{ settingsBackLabel }}</span>
3341
+ </button>
3342
+ }
2193
3343
  <ngxsp-settings [sections]="settingsSections" (settingChange)="settingChange.emit($event)" (settingAction)="settingAction.emit($event)" />
2194
3344
  }
3345
+ @if (playlistsPageOpen) {
3346
+ <!--
3347
+ The lists are a view of the rail, beside Sources. They were a page of the title bar,
3348
+ which is where the three that belong to no family are reached — and a list of one's
3349
+ own making belongs to the library's side of the window, not to that row.
3350
+ An entry of the rail is a destination, so there is nothing to unwind and no way back
3351
+ to draw: one leaves it by going somewhere, which is what the rail is for.
3352
+ -->
3353
+ <section class="ngxsp-wmp-playlistsPage" [attr.aria-label]="playlistsLabel">
3354
+ <div class="ngxsp-wmp-playlistsHead">
3355
+ <h1>{{ playlistsLabel }}</h1>
3356
+ <!-- Combien il y en a, et ce qu'elles sont : la maquette écrit cette ligne sous le
3357
+ titre, comme la page des sources écrit la sienne. -->
3358
+ @if (playlistsSummary) { <p>{{ playlistsSummary }}</p> }
3359
+ </div>
3360
+ <section class="ngxsp-wmp-management">
3361
+ <div class="ngxsp-wmp-inlineForm">
3362
+ <input [value]="playlistDraftName" (input)="onPlaylistDraftInput($event)" (keydown.enter)="submitCreatePlaylist()" type="text" [placeholder]="newPlaylistPlaceholder" [attr.aria-label]="newPlaylistPlaceholder" />
3363
+ <button class="ngxsp-wmp-smallButton primary" type="button" (click)="submitCreatePlaylist()" [disabled]="!playlistDraftName.trim()">{{ createLabel }}</button>
3364
+ </div>
3365
+ @if (playlistTargetTrack; as target) {
3366
+ <div class="ngxsp-wmp-targetBanner">
3367
+ <span>{{ playlistTargetLabel }}<strong>{{ target.title }}</strong></span>
3368
+ <button class="ngxsp-wmp-smallButton" type="button" (click)="cancelPlaylistTarget.emit()">{{ cancelLabel }}</button>
3369
+ </div>
3370
+ }
3371
+ <div class="ngxsp-wmp-targets">
3372
+ @for (playlist of playlistOptions; track playlist.id) {
3373
+ <div class="ngxsp-wmp-target">
3374
+ <div class="ngxsp-wmp-targetMain">
3375
+ <span class="ngxsp-wmp-targetIcon" aria-hidden="true"><ngxsp-smart-icon name="list" /></span>
3376
+ <span class="ngxsp-wmp-rowCopy">
3377
+ <strong>{{ playlist.name }}</strong>
3378
+ @if (playlist.countLabel) { <small>{{ playlist.countLabel }}</small> }
3379
+ </span>
3380
+ @if (playlistTargetTrack || currentTrackAvailable) {
3381
+ <button class="ngxsp-wmp-smallButton" type="button" [attr.aria-label]="addLabel + ' - ' + playlist.name" (click)="addToPlaylist(playlist.id)">
3382
+ <ngxsp-smart-icon name="plus" />
3383
+ <span>{{ addLabel }}</span>
3384
+ </button>
3385
+ }
3386
+ </div>
3387
+ @if (editingPlaylistId === playlist.id) {
3388
+ <div class="ngxsp-wmp-inlineForm">
3389
+ <input [value]="renameDraftName" (input)="onRenameDraftInput($event)" (keydown.enter)="submitRenamePlaylist()" type="text" [placeholder]="renamePlaylistPlaceholder" [attr.aria-label]="renamePlaylistPlaceholder" />
3390
+ <button class="ngxsp-wmp-smallButton primary" type="button" (click)="submitRenamePlaylist()" [disabled]="!renameDraftName.trim()">{{ saveLabel }}</button>
3391
+ <button class="ngxsp-wmp-smallButton" type="button" (click)="cancelRenamePlaylist()">{{ cancelLabel }}</button>
3392
+ </div>
3393
+ } @else {
3394
+ <div class="ngxsp-wmp-targetActions">
3395
+ <button type="button" (click)="startRenamePlaylist(playlist.id, playlist.name)">{{ renameLabel }}</button>
3396
+ <button type="button" class="danger" (click)="deletePlaylist.emit(playlist.id)">{{ deleteLabel }}</button>
3397
+ </div>
3398
+ }
3399
+ </div>
3400
+ } @empty {
3401
+ <div class="ngxsp-wmp-emptyLibrary">{{ emptyPlaylistTargetsLabel }}</div>
3402
+ }
3403
+ </div>
3404
+ @if (!playlistTargetTrack && !currentTrackAvailable && playlistOptions.length) {
3405
+ <div class="ngxsp-wmp-emptyLibrary">{{ selectTrackForPlaylistLabel }}</div>
3406
+ }
3407
+ </section>
3408
+ </section>
3409
+ }
3410
+ @if (sourcesPage; as page) {
3411
+ <section class="ngxsp-wmp-sourcesPage" [attr.aria-label]="page.title">
3412
+ <div class="ngxsp-wmp-sourcesHead">
3413
+ <div>
3414
+ <h1>{{ page.title }}</h1>
3415
+ @if (page.summary) { <p>{{ page.summary }}</p> }
3416
+ </div>
3417
+ @if (page.addLabel) {
3418
+ <button class="ngxsp-wmp-detailAction accent" type="button" (click)="sourceAction.emit({ sourceId: '', actionId: 'add' })">{{ page.addLabel }}</button>
3419
+ }
3420
+ </div>
3421
+ @for (group of page.groups; track group.id) {
3422
+ <h2 class="ngxsp-wmp-sourceGroupTitle">{{ group.title }}</h2>
3423
+ <div class="ngxsp-wmp-sourceRows">
3424
+ @for (row of group.rows; track row.id) {
3425
+ <div class="ngxsp-wmp-sourceRow" [class.active]="row.active">
3426
+ <span class="ngxsp-wmp-sourceIcon" aria-hidden="true"><ngxsp-smart-icon [name]="row.icon || 'folder'" /></span>
3427
+ <span class="ngxsp-wmp-sourceCopy">
3428
+ <strong>{{ row.title }}</strong>
3429
+ @if (row.detail) { <small>{{ row.detail }}</small> }
3430
+ </span>
3431
+ @if (row.state) { <span class="ngxsp-wmp-sourceState">{{ row.state }}</span> }
3432
+ @for (action of row.actions ?? []; track action.id) {
3433
+ <button class="ngxsp-wmp-detailAction" type="button" [disabled]="action.disabled" (click)="sourceAction.emit({ sourceId: row.id, actionId: action.id })">{{ action.label }}</button>
3434
+ }
3435
+ </div>
3436
+ }
3437
+ </div>
3438
+ }
3439
+ @if (page.footerLabel) {
3440
+ <button class="ngxsp-wmp-sourceRow footer" type="button" (click)="sourceAction.emit({ sourceId: '', actionId: 'add-server' })">
3441
+ <span class="ngxsp-wmp-sourceIcon dashed" aria-hidden="true"><ngxsp-smart-icon name="plus" /></span>
3442
+ <span class="ngxsp-wmp-sourceCopy">
3443
+ <strong>{{ page.footerLabel }}</strong>
3444
+ @if (page.footerHint) { <small>{{ page.footerHint }}</small> }
3445
+ </span>
3446
+ </button>
3447
+ }
3448
+ </section>
3449
+ }
3450
+ <!-- The facets of the page, which the boards put here rather than in the rail: a page
3451
+ with one list under a row of counters, not two entries nobody counted. A search
3452
+ replaces the page's content, and brings chips of its own. -->
3453
+ @if (viewFacets.length && !hasSearchQuery) {
3454
+ <div class="ngxsp-wmp-searchFilters ngxsp-wmp-viewFacets" role="group" [attr.aria-label]="viewFacetLabel">
3455
+ @for (facet of viewFacets; track facet.id) {
3456
+ <button type="button" [class.active]="facet.active" [disabled]="facet.disabled" [attr.aria-pressed]="!!facet.active" (click)="selectViewFacet(facet)">
3457
+ <span>{{ facet.label }}</span>
3458
+ @if (facet.count !== undefined) { <small>{{ facet.count }}</small> }
3459
+ </button>
3460
+ }
3461
+ </div>
3462
+ }
3463
+ @if (hasSearchQuery) {
3464
+ @if (searchFilters.length) {
3465
+ <div class="ngxsp-wmp-searchFilters" role="group" [attr.aria-label]="searchFilterLabel">
3466
+ @for (filter of searchFilters; track filter.id) {
3467
+ <button type="button" [class.active]="filter.active" [disabled]="filter.disabled" [attr.aria-pressed]="!!filter.active" (click)="selectSearchFilter(filter)">
3468
+ <span>{{ filter.label }}</span>
3469
+ @if (filter.count !== undefined) { <small>{{ filter.count }}</small> }
3470
+ </button>
3471
+ }
3472
+ </div>
3473
+ }
3474
+ @if (searchBest; as best) {
3475
+ <section class="ngxsp-wmp-searchBestBlock">
3476
+ <h2 class="ngxsp-wmp-sourceGroupTitle">{{ searchBestTitle }}</h2>
3477
+ <article class="ngxsp-wmp-searchBest">
3478
+ <button class="ngxsp-wmp-searchBestArt ngxsp-wmp-cover" type="button" [class.has-image]="!!artworkSrc(best.item.artworkUrl)" [attr.data-tone]="artTone(best.item.id)" [attr.aria-label]="playLabel + ' ' + best.item.title" (click)="searchBestAction.emit('open')">
3479
+ @if (artworkSrc(best.item.artworkUrl); as artworkUrl) {
3480
+ <img [src]="artworkUrl" alt="" (error)="markArtworkFailed(artworkUrl)" loading="lazy" decoding="async" />
3481
+ } @else {
3482
+ <ngxsp-smart-icon name="music" />
3483
+ }
3484
+ </button>
3485
+ <div class="ngxsp-wmp-searchBestCopy">
3486
+ <h3>@for (part of searchParts(best.item.title); track $index) {@if (part.hit) {<mark>{{ part.text }}</mark>} @else {<span>{{ part.text }}</span>}}</h3>
3487
+ @if (searchBestMeta(best); as meta) { <p>{{ meta }}</p> }
3488
+ @if (best.note) { <small>{{ best.note }}</small> }
3489
+ @if (best.actions?.length) {
3490
+ <div class="ngxsp-wmp-detailActions">
3491
+ @for (action of best.actions; track action.id) {
3492
+ <button class="ngxsp-wmp-detailAction" type="button" [class.primary]="action.primary" [disabled]="action.disabled" [attr.aria-label]="action.label" [title]="action.label" (click)="searchBestAction.emit(action.id)">
3493
+ @if (action.icon) { <ngxsp-smart-icon [name]="action.icon" /> }
3494
+ <span>{{ action.label }}</span>
3495
+ </button>
3496
+ }
3497
+ </div>
3498
+ }
3499
+ </div>
3500
+ </article>
3501
+ </section>
3502
+ }
3503
+ }
2195
3504
  @for (section of librarySections; track section.id) {
2196
3505
  <section class="ngxsp-wmp-section">
2197
- @if (section.title !== (libraryContentTitle || libraryTitle)) {
3506
+ <!-- A lone list under chips that already name it does not need a heading saying so. -->
3507
+ @if (section.title !== (libraryContentTitle || libraryTitle) && !(viewFacets.length && librarySections.length === 1)) {
2198
3508
  @if (isHomeView) { <h3>{{ section.title }}</h3> } @else { <h2>{{ section.title }}</h2> }
2199
3509
  }
2200
3510
  @if (section.layout === 'cards') {
2201
3511
  <div class="ngxsp-wmp-cardGrid">
2202
3512
  @for (item of section.items; track item.id) {
2203
- <div class="ngxsp-wmp-card" [class.active]="item.active">
3513
+ <div class="ngxsp-wmp-card" [class.active]="item.active" (contextmenu)="section.kind === 'groups' ? null : openTrackMenu($event, item)">
2204
3514
  <button class="ngxsp-wmp-cardSelect" type="button" [attr.aria-current]="item.active ? 'true' : null" (click)="selectLibraryItem.emit(item.id)">
2205
3515
  <span class="ngxsp-wmp-thumb ngxsp-wmp-cover" [class.has-image]="!!artworkSrc(item.artworkUrl)" [attr.data-tone]="artTone(item.id)">
2206
3516
  @if (artworkSrc(item.artworkUrl); as artworkUrl) {
2207
- <img [src]="artworkUrl" alt="" (error)="markArtworkFailed(artworkUrl)" />
3517
+ <img [src]="artworkUrl" alt="" (error)="markArtworkFailed(artworkUrl)" loading="lazy" decoding="async" />
2208
3518
  } @else {
2209
3519
  <ngxsp-smart-icon name="music" />
2210
3520
  }
@@ -2213,7 +3523,7 @@ i0.ɵɵngDeclareClassMetadata({
2213
3523
  }
2214
3524
  </span>
2215
3525
  <span class="ngxsp-wmp-cardCopy">
2216
- <strong>{{ item.title }}</strong>
3526
+ <strong>@for (part of searchParts(item.title); track $index) {@if (part.hit) {<mark>{{ part.text }}</mark>} @else {<span>{{ part.text }}</span>}}</strong>
2217
3527
  @if (item.subtitle) { <small>{{ item.subtitle }}</small> }
2218
3528
  @if (item.meta) { <em>{{ item.meta }}</em> }
2219
3529
  </span>
@@ -2224,33 +3534,39 @@ i0.ɵɵngDeclareClassMetadata({
2224
3534
  </button>
2225
3535
  </span>
2226
3536
  <span class="ngxsp-wmp-cardActions">
3537
+ @if (section.kind === 'groups') {
3538
+ <!--
3539
+ An album, an artist, a genre: a heading that stands for several tracks. What
3540
+ one does with it is put it in the queue, so those buttons stay where they are.
3541
+ -->
2227
3542
  <button class="ngxsp-wmp-cardAction" type="button" [title]="queueNextLabel" [attr.aria-label]="queueNextLabel + ' ' + item.title" (click)="addLibraryItemNext.emit(item.id)">
2228
3543
  <ngxsp-smart-icon name="next" />
2229
3544
  </button>
2230
3545
  <button class="ngxsp-wmp-cardAction" type="button" [title]="queueAddLabel" [attr.aria-label]="queueAddLabel + ' ' + item.title" (click)="addLibraryItemToQueue.emit(item.id)">
2231
3546
  <ngxsp-smart-icon name="playlist-plus" />
2232
3547
  </button>
2233
- @if (ringtoneAvailable) {
2234
- <button class="ngxsp-wmp-cardAction" type="button" [title]="ringtoneLabel" [attr.aria-label]="ringtoneLabel + ' - ' + item.title" (click)="makeRingtone.emit(item.id)">
2235
- <ngxsp-smart-icon name="bell" />
3548
+ @if (isRemovable(item.id)) {
3549
+ <button class="ngxsp-wmp-cardAction danger" type="button" [title]="removeItemLabel" [attr.aria-label]="removeItemLabel + ' - ' + item.title" (click)="removeLibraryItem.emit(item.id)">
3550
+ <ngxsp-smart-icon name="close" />
2236
3551
  </button>
2237
3552
  }
2238
- @if (lockAvailable) {
2239
- <button
2240
- class="ngxsp-wmp-cardAction"
2241
- type="button"
2242
- [class.active]="item.locked"
2243
- [attr.aria-pressed]="!!item.locked"
2244
- [title]="item.locked ? unlockLabel : lockLabel"
2245
- [attr.aria-label]="(item.locked ? unlockLabel : lockLabel) + ' - ' + item.title"
2246
- (click)="toggleLock.emit(item.id)"
2247
- >
2248
- <ngxsp-smart-icon [name]="item.locked ? 'check' : 'tag'" />
3553
+ } @else {
3554
+ <!-- The same three a row offers, and the same menu: a grid and a table say one thing. -->
3555
+ <button class="ngxsp-wmp-cardAction ngxsp-wmp-cardFavorite" [class.active]="item.favorite" type="button" [attr.aria-pressed]="!!item.favorite" [title]="item.favorite ? favoriteActiveLabel : favoriteLabel" [attr.aria-label]="item.favorite ? favoriteActiveLabel : favoriteLabel" (click)="toggleFavorite.emit(item.id)">
3556
+ <ngxsp-smart-icon name="heart" />
3557
+ </button>
3558
+ @if (hasPlaylists) {
3559
+ <button class="ngxsp-wmp-cardAction" type="button" [class.active]="playlistTargetTrack?.id === item.id" [title]="addToPlaylistLabel" [attr.aria-label]="addToPlaylistLabel + ' - ' + item.title" (click)="requestPlaylistTarget.emit(item.id)">
3560
+ <ngxsp-smart-icon name="list" />
2249
3561
  </button>
2250
3562
  }
2251
- @if (isRemovable(item.id)) {
2252
- <button class="ngxsp-wmp-cardAction danger" type="button" [title]="removeItemLabel" [attr.aria-label]="removeItemLabel + ' - ' + item.title" (click)="removeLibraryItem.emit(item.id)">
2253
- <ngxsp-smart-icon name="close" />
3563
+ @if (ringtoneAvailable && !item.live) {
3564
+ <button class="ngxsp-wmp-cardAction" type="button" [title]="ringtoneLabel" [attr.aria-label]="ringtoneLabel + ' - ' + item.title" (click)="makeRingtone.emit(item.id)">
3565
+ <ngxsp-smart-icon name="bell" />
3566
+ </button>
3567
+ }
3568
+ <button class="ngxsp-wmp-cardAction ngxsp-wmp-cardMore" type="button" aria-haspopup="menu" [class.active]="trackMenu?.id === item.id" [attr.aria-expanded]="trackMenu?.id === item.id" [title]="trackActionsLabel" [attr.aria-label]="trackActionsLabel + ' - ' + item.title" (click)="openTrackMenu($event, item)">
3569
+ <ngxsp-smart-icon name="more" />
2254
3570
  </button>
2255
3571
  }
2256
3572
  </span>
@@ -2258,7 +3574,7 @@ i0.ɵɵngDeclareClassMetadata({
2258
3574
  }
2259
3575
  </div>
2260
3576
  } @else {
2261
- <div class="ngxsp-wmp-table" role="table" [attr.aria-label]="tracksLabel" [style.--wmp-actions-w]="rowActionsWidth(section.items)">
3577
+ <div class="ngxsp-wmp-table" role="table" [attr.aria-label]="tracksLabel" [style.--wmp-actions-w]="rowActionsWidth(section)">
2262
3578
  <div class="ngxsp-wmp-tableHead" role="row">
2263
3579
  <span role="columnheader">#</span>
2264
3580
  <span role="columnheader">{{ titleColumnLabel }}</span>
@@ -2267,21 +3583,21 @@ i0.ɵɵngDeclareClassMetadata({
2267
3583
  <span role="columnheader" class="ngxsp-wmp-timeHead" [attr.aria-label]="timeColumnLabel" [title]="timeColumnLabel"><ngxsp-smart-icon name="clock" /></span>
2268
3584
  </div>
2269
3585
  @for (item of section.items; track item.id; let index = $index) {
2270
- <div class="ngxsp-wmp-trackRow" [class.active]="item.active" role="row">
2271
- <button class="ngxsp-wmp-trackSelect" type="button" [attr.aria-current]="item.active ? 'true' : null" (click)="selectLibraryItem.emit(item.id)">
3586
+ <div class="ngxsp-wmp-trackRow" [class.active]="item.active" role="row" (contextmenu)="section.kind === 'groups' ? null : openTrackMenu($event, item)">
3587
+ <button class="ngxsp-wmp-trackSelect" type="button" [title]="rowTooltip(item)" [attr.aria-current]="item.active ? 'true' : null" (click)="selectLibraryItem.emit(item.id)">
2272
3588
  <span class="ngxsp-wmp-trackIndex">
2273
3589
  @if (item.active) { <ngxsp-smart-icon name="waveform" /> } @else { <span class="ngxsp-wmp-indexNumber">{{ index + 1 }}</span><ngxsp-smart-icon class="ngxsp-wmp-indexPlay" name="play" /> }
2274
3590
  </span>
2275
3591
  <span class="ngxsp-wmp-trackTitle">
2276
3592
  <span class="ngxsp-wmp-rowIcon ngxsp-wmp-cover" [class.has-image]="!!artworkSrc(item.artworkUrl)" [attr.data-tone]="artTone(item.id)">
2277
3593
  @if (artworkSrc(item.artworkUrl); as artworkUrl) {
2278
- <img [src]="artworkUrl" alt="" (error)="markArtworkFailed(artworkUrl)" />
3594
+ <img [src]="artworkUrl" alt="" (error)="markArtworkFailed(artworkUrl)" loading="lazy" decoding="async" />
2279
3595
  } @else {
2280
3596
  <ngxsp-smart-icon name="music" />
2281
3597
  }
2282
3598
  </span>
2283
3599
  <span class="ngxsp-wmp-rowCopy">
2284
- <strong>{{ item.title }}</strong>
3600
+ <strong>@for (part of searchParts(item.title); track $index) {@if (part.hit) {<mark>{{ part.text }}</mark>} @else {<span>{{ part.text }}</span>}}</strong>
2285
3601
  @if (item.genre) { <small>{{ item.genre }}</small> }
2286
3602
  </span>
2287
3603
  </span>
@@ -2289,42 +3605,41 @@ i0.ɵɵngDeclareClassMetadata({
2289
3605
  <span class="ngxsp-wmp-trackCell ngxsp-wmp-albumCell">{{ albumOf(item) }}</span>
2290
3606
  <span class="ngxsp-wmp-trackTime">{{ durationOf(item) }}</span>
2291
3607
  </button>
3608
+ <!--
3609
+ Three things a track offers, and a menu for the rest. There were six buttons
3610
+ on a row — and the room of four, so the heart was drawn over the duration.
3611
+ A section of albums can be read as a table too, and an album is not a track:
3612
+ it keeps the buttons it had.
3613
+ -->
2292
3614
  <span class="ngxsp-wmp-rowActions">
2293
- <button class="ngxsp-wmp-rowFavorite" [class.active]="item.favorite" type="button" [attr.aria-pressed]="!!item.favorite" [title]="item.favorite ? favoriteActiveLabel : favoriteLabel" [attr.aria-label]="item.favorite ? favoriteActiveLabel : favoriteLabel" (click)="toggleFavorite.emit(item.id)">
2294
- <ngxsp-smart-icon name="heart" />
2295
- </button>
3615
+ @if (section.kind === 'groups') {
2296
3616
  <button class="ngxsp-wmp-rowQueueAction" type="button" [title]="queueNextLabel" [attr.aria-label]="queueNextLabel + ' ' + item.title" (click)="addLibraryItemNext.emit(item.id)">
2297
3617
  <ngxsp-smart-icon name="next" />
2298
3618
  </button>
2299
3619
  <button class="ngxsp-wmp-rowQueueAction" type="button" [title]="queueAddLabel" [attr.aria-label]="queueAddLabel + ' ' + item.title" (click)="addLibraryItemToQueue.emit(item.id)">
2300
3620
  <ngxsp-smart-icon name="playlist-plus" />
2301
3621
  </button>
3622
+ @if (isRemovable(item.id)) {
3623
+ <button class="ngxsp-wmp-rowQueueAction danger" type="button" [title]="removeItemLabel" [attr.aria-label]="removeItemLabel + ' - ' + item.title" (click)="removeLibraryItem.emit(item.id)">
3624
+ <ngxsp-smart-icon name="close" />
3625
+ </button>
3626
+ }
3627
+ } @else {
3628
+ <button class="ngxsp-wmp-rowFavorite" [class.active]="item.favorite" type="button" [attr.aria-pressed]="!!item.favorite" [title]="item.favorite ? favoriteActiveLabel : favoriteLabel" [attr.aria-label]="item.favorite ? favoriteActiveLabel : favoriteLabel" (click)="toggleFavorite.emit(item.id)">
3629
+ <ngxsp-smart-icon name="heart" />
3630
+ </button>
2302
3631
  @if (hasPlaylists) {
2303
3632
  <button class="ngxsp-wmp-rowQueueAction" type="button" [class.active]="playlistTargetTrack?.id === item.id" [title]="addToPlaylistLabel" [attr.aria-label]="addToPlaylistLabel + ' - ' + item.title" (click)="requestPlaylistTarget.emit(item.id)">
2304
3633
  <ngxsp-smart-icon name="list" />
2305
3634
  </button>
2306
3635
  }
2307
- @if (ringtoneAvailable) {
3636
+ @if (ringtoneAvailable && !item.live) {
2308
3637
  <button class="ngxsp-wmp-rowQueueAction" type="button" [title]="ringtoneLabel" [attr.aria-label]="ringtoneLabel + ' - ' + item.title" (click)="makeRingtone.emit(item.id)">
2309
3638
  <ngxsp-smart-icon name="bell" />
2310
3639
  </button>
2311
3640
  }
2312
- @if (lockAvailable) {
2313
- <button
2314
- class="ngxsp-wmp-rowQueueAction"
2315
- type="button"
2316
- [class.active]="item.locked"
2317
- [attr.aria-pressed]="!!item.locked"
2318
- [title]="item.locked ? unlockLabel : lockLabel"
2319
- [attr.aria-label]="(item.locked ? unlockLabel : lockLabel) + ' - ' + item.title"
2320
- (click)="toggleLock.emit(item.id)"
2321
- >
2322
- <ngxsp-smart-icon [name]="item.locked ? 'check' : 'tag'" />
2323
- </button>
2324
- }
2325
- @if (isRemovable(item.id)) {
2326
- <button class="ngxsp-wmp-rowQueueAction danger" type="button" [title]="removeItemLabel" [attr.aria-label]="removeItemLabel + ' - ' + item.title" (click)="removeLibraryItem.emit(item.id)">
2327
- <ngxsp-smart-icon name="close" />
3641
+ <button class="ngxsp-wmp-rowQueueAction ngxsp-wmp-rowMore" type="button" aria-haspopup="menu" [class.active]="trackMenu?.id === item.id" [attr.aria-expanded]="trackMenu?.id === item.id" [title]="trackActionsLabel" [attr.aria-label]="trackActionsLabel + ' - ' + item.title" (click)="openTrackMenu($event, item)">
3642
+ <ngxsp-smart-icon name="more" />
2328
3643
  </button>
2329
3644
  }
2330
3645
  </span>
@@ -2335,9 +3650,25 @@ i0.ɵɵngDeclareClassMetadata({
2335
3650
  }
2336
3651
  </div>
2337
3652
  }
3653
+ @if (!section.items.length && section.emptyLabel) {
3654
+ <div class="ngxsp-wmp-emptyLibrary">
3655
+ <ngxsp-smart-icon name="list" />
3656
+ <span>{{ section.emptyLabel }}</span>
3657
+ </div>
3658
+ }
3659
+ <!-- The rest of a shelf that comes a page at a time: under it, where one stops
3660
+ reading, and not among the tracks. -->
3661
+ @if (section.more) {
3662
+ <button class="ngxsp-wmp-shelfMore" type="button" [disabled]="!!section.more.busy" (click)="sectionMore.emit(section.id)">
3663
+ <span>{{ section.more.label }}</span>
3664
+ @if (section.more.detail) { <small>{{ section.more.detail }}</small> }
3665
+ </button>
3666
+ }
2338
3667
  </section>
2339
3668
  } @empty {
2340
- @if (!settingsSections.length) {
3669
+ <!-- A page that is the view's own content says what there is: "no track indexed" under
3670
+ the sources page would answer a question nobody asked there. -->
3671
+ @if (!settingsSections.length && !sourcesPage && !playlistsPageOpen) {
2341
3672
  <div class="ngxsp-wmp-emptyLibrary">
2342
3673
  <ngxsp-smart-icon name="music" />
2343
3674
  <span>{{ emptyLibraryLabel }}</span>
@@ -2346,6 +3677,7 @@ i0.ɵɵngDeclareClassMetadata({
2346
3677
  }
2347
3678
  </div>
2348
3679
  </section>
3680
+ }
2349
3681
  </section>
2350
3682
 
2351
3683
  <aside
@@ -2357,43 +3689,80 @@ i0.ɵɵngDeclareClassMetadata({
2357
3689
  [attr.aria-modal]="panelSheetOpen ? 'true' : null"
2358
3690
  [attr.aria-label]="queueTitle"
2359
3691
  (keydown.escape)="closePanelSheet()"
3692
+ (keydown)="onSheetKeys($event)"
2360
3693
  >
2361
3694
  @if (panelSheetOpen) {
2362
3695
  <div class="ngxsp-wmp-sheetHeader">
2363
3696
  <strong>{{ currentTitle || noTrackTitle }}</strong>
2364
- <button class="ngxsp-wmp-smallButton" type="button" (click)="closePanelSheet()">{{ closeLabel }}</button>
3697
+ <button class="ngxsp-wmp-smallButton" type="button" [attr.aria-label]="closeLabel + ' - ' + queueTitle" (click)="closePanelSheet()">{{ closeLabel }}</button>
2365
3698
  </div>
3699
+ <!--
3700
+ What the column can open, and only that. The sheet stops above the transport bar, so
3701
+ the bar is still on screen underneath it: the devices keep the button they have there
3702
+ and never become a switch in here. Compact-Lecteur-Audio.dc.html draws them that way,
3703
+ off a button of their own, and Appareils.dc.html opens its dialog over that button.
3704
+ -->
3705
+ @if (columnSwitches.length) {
2366
3706
  <div class="ngxsp-wmp-sheetToggles" role="group" [attr.aria-label]="queueTitle">
2367
- @for (panel of panelSwitches; track panel.id) {
3707
+ @for (panel of columnSwitches; track panel.id) {
2368
3708
  <button class="ngxsp-wmp-iconButton" type="button" [class.active]="isPanelOpen(panel.id)" [attr.aria-pressed]="isPanelOpen(panel.id)" [title]="panel.label" [attr.aria-label]="panel.label" (click)="togglePanel(panel.id)">
2369
3709
  <ngxsp-smart-icon [name]="panel.icon" />
2370
3710
  </button>
2371
3711
  }
2372
3712
  </div>
2373
3713
  }
3714
+ }
2374
3715
  <div class="ngxsp-wmp-panelStack">
2375
- @if (isPanelOpen('queue')) {
2376
- <section class="ngxsp-wmp-stackItem" [class.collapsed]="isPanelCollapsed('queue')">
2377
- <header class="ngxsp-wmp-stackHead">
2378
- <strong>{{ queueTitle }}</strong>
2379
- <button class="ngxsp-wmp-stackIcon" type="button" [attr.aria-expanded]="!isPanelCollapsed('queue')" [attr.aria-label]="queueTitle" (click)="togglePanelCollapsed('queue')">
2380
- <ngxsp-smart-icon [name]="isPanelCollapsed('queue') ? 'chevron-down' : 'chevron-up'" />
2381
- </button>
2382
- <button class="ngxsp-wmp-stackIcon" type="button" [title]="closeLabel" [attr.aria-label]="closeLabel" (click)="togglePanel('queue')">
2383
- <ngxsp-smart-icon name="close" />
2384
- </button>
2385
- </header>
2386
- @if (!isPanelCollapsed('queue')) {
3716
+ <!--
3717
+ The board's pills, which name what can be opened over the queue. In the sheet the same
3718
+ switches are already drawn as icons above, so the row would say everything twice.
3719
+ -->
3720
+ @if (!panelSheetOpen && columnSwitches.length) {
3721
+ <div class="ngxsp-wmp-panelTabs" role="group" [attr.aria-label]="queueTitle">
3722
+ @for (panel of columnSwitches; track panel.id) {
3723
+ <button type="button" class="ngxsp-wmp-panelPill" [class.active]="isPanelOpen(panel.id)" [attr.aria-pressed]="isPanelOpen(panel.id)" (click)="togglePanel(panel.id)">{{ panel.label }}</button>
3724
+ }
3725
+ </div>
3726
+ }
3727
+ @if (hasSearchQuery && recentSearches.length) {
3728
+ <!-- The board puts them in this column, beside what the search found. -->
3729
+ <section class="ngxsp-wmp-stackItem collapsed">
3730
+ <header class="ngxsp-wmp-stackHead"><strong>{{ recentSearchesTitle }}</strong></header>
3731
+ <div class="ngxsp-wmp-recentSearches">
3732
+ @for (term of recentSearches; track term) {
3733
+ <button type="button" [class.active]="term === searchTerm" (click)="searchAgain.emit(term)">
3734
+ <ngxsp-smart-icon name="clock" />
3735
+ <span>{{ term }}</span>
3736
+ </button>
3737
+ }
3738
+ </div>
3739
+ </section>
3740
+ }
3741
+ <!--
3742
+ The queue is the column, not a panel folded away inside it. Commun-Audio.dc.html draws
3743
+ the pills at the head of the column and the queue below them, in full — no chevron, and
3744
+ nothing that folds it down to a header. Its switch is the one in the top bar, which shows
3745
+ and hides the whole column; the video player's column had already been through this.
3746
+ -->
3747
+ <section class="ngxsp-wmp-stackItem">
3748
+ <header class="ngxsp-wmp-stackHead"><strong>{{ queueTitle }}</strong></header>
2387
3749
  <div class="ngxsp-wmp-sectionHeader slim">
2388
3750
  <span>{{ queueEyebrow }}</span>
2389
- <strong>{{ queueItems.length }} {{ tracksCountLabel }}</strong>
3751
+ <strong>{{ queueCountLabel }}</strong>
2390
3752
  </div>
2391
- <div class="ngxsp-wmp-queueList" #queueList>
2392
- @for (item of queueItems; track item.id) {
2393
- <button class="ngxsp-wmp-queueItem" [class.active]="item.active" type="button" [attr.aria-current]="item.active ? 'true' : null" (click)="selectQueueItem.emit(item.id)">
3753
+ <div class="ngxsp-wmp-queueList" #queueList (scroll)="onQueueScroll()">
3754
+ @if (queueSpaceBefore) { <div class="ngxsp-wmp-queueSpace" [style.height.px]="queueSpaceBefore" aria-hidden="true"></div> }
3755
+ @for (item of windowedQueue; track item.id) {
3756
+ <!--
3757
+ La rangée tient deux choses : le bouton qui joue le titre, et les gestes qui touchent
3758
+ à la file elle-même. Elle n'en tenait qu'une — on ne pouvait rien en retirer ni rien
3759
+ y déplacer, alors que la file du lecteur vidéo le permet depuis toujours.
3760
+ -->
3761
+ <div class="ngxsp-wmp-queueRow" [class.active]="item.active">
3762
+ <button class="ngxsp-wmp-queueItem" [class.active]="item.active" type="button" [title]="rowTooltip(item)" [attr.aria-current]="item.active ? 'true' : null" (click)="selectQueueItem.emit(item.id)">
2394
3763
  <span class="ngxsp-wmp-queueCover ngxsp-wmp-cover" [class.has-image]="!!artworkSrc(item.artworkUrl)" [attr.data-tone]="artTone(item.id)">
2395
3764
  @if (artworkSrc(item.artworkUrl); as artworkUrl) {
2396
- <img [src]="artworkUrl" alt="" (error)="markArtworkFailed(artworkUrl)" />
3765
+ <img [src]="artworkUrl" alt="" (error)="markArtworkFailed(artworkUrl)" loading="lazy" decoding="async" />
2397
3766
  } @else {
2398
3767
  <ngxsp-smart-icon name="music" />
2399
3768
  }
@@ -2417,149 +3786,42 @@ i0.ɵɵngDeclareClassMetadata({
2417
3786
  </span>
2418
3787
  @if (item.meta) { <span class="ngxsp-wmp-rowMeta">{{ item.meta }}</span> }
2419
3788
  </button>
2420
- } @empty {
2421
- <div class="ngxsp-wmp-emptyLibrary">{{ emptyQueueLabel }}</div>
2422
- }
2423
- </div>
2424
- }
2425
- </section>
2426
- }
2427
- @if (isPanelOpen('lyrics') && !!lyricsPanel) {
2428
- <section class="ngxsp-wmp-stackItem" [class.collapsed]="isPanelCollapsed('lyrics')">
2429
- <header class="ngxsp-wmp-stackHead">
2430
- <strong>{{ lyricsTitle }}</strong>
2431
- <button class="ngxsp-wmp-stackIcon" type="button" [attr.aria-expanded]="!isPanelCollapsed('lyrics')" [attr.aria-label]="lyricsTitle" (click)="togglePanelCollapsed('lyrics')">
2432
- <ngxsp-smart-icon [name]="isPanelCollapsed('lyrics') ? 'chevron-down' : 'chevron-up'" />
2433
- </button>
2434
- <button class="ngxsp-wmp-stackIcon" type="button" [title]="closeLabel" [attr.aria-label]="closeLabel" (click)="togglePanel('lyrics')">
2435
- <ngxsp-smart-icon name="close" />
2436
- </button>
2437
- </header>
2438
- @if (!isPanelCollapsed('lyrics')) {
2439
- @if (lyricsPanel; as lyrics) {
2440
- <section class="ngxsp-wmp-lyrics" [attr.aria-label]="lyrics.title" [attr.aria-busy]="lyrics.busy ? 'true' : null">
2441
- <div class="ngxsp-wmp-sectionHeader slim">
2442
- <strong>{{ currentTitle }}</strong>
2443
- @if (lyrics.searchLabel) {
2444
- <button class="ngxsp-wmp-smallButton" type="button" [disabled]="lyrics.busy" (click)="refreshLyrics.emit()">{{ lyrics.searchLabel }}</button>
2445
- }
2446
- </div>
2447
- @if (lyrics.status) { <p class="ngxsp-wmp-lyricsStatus">{{ lyrics.status }}</p> }
2448
- <div class="ngxsp-wmp-lyricsLines" #lyricsLines>
2449
- @for (line of lyrics.lines; track $index) {
2450
- @if (line.timeSec !== undefined) {
2451
- <button type="button" class="ngxsp-wmp-lyricsLine" [class.active]="$index === activeLyricsIndex" [attr.aria-current]="$index === activeLyricsIndex ? 'true' : null" [attr.aria-label]="(lyrics.seekLabel ? lyrics.seekLabel + ' - ' : '') + line.text" (click)="playFromLyrics(line.timeSec)">{{ line.text || '♪' }}</button>
2452
- } @else {
2453
- <p class="ngxsp-wmp-lyricsLine plain">{{ line.text }}</p>
2454
- }
3789
+ @if (queueEditable) {
3790
+ <span class="ngxsp-wmp-queueControls">
3791
+ <button type="button" [disabled]="!canMoveQueueItem(item.id, 'up')" [title]="queueMoveUpLabel" [attr.aria-label]="queueMoveUpLabel + ' - ' + item.title" (click)="queueMoveUp.emit(item.id)">
3792
+ <ngxsp-smart-icon name="chevron-up" />
3793
+ </button>
3794
+ <button type="button" [disabled]="!canMoveQueueItem(item.id, 'down')" [title]="queueMoveDownLabel" [attr.aria-label]="queueMoveDownLabel + ' - ' + item.title" (click)="queueMoveDown.emit(item.id)">
3795
+ <ngxsp-smart-icon name="chevron-down" />
3796
+ </button>
3797
+ @if (hasPlaylists) {
3798
+ <button type="button" [class.active]="playlistTargetTrack?.id === item.id" [title]="addToPlaylistLabel" [attr.aria-label]="addToPlaylistLabel + ' - ' + item.title" (click)="requestPlaylistTarget.emit(item.id)">
3799
+ <ngxsp-smart-icon name="list" />
3800
+ </button>
2455
3801
  }
2456
- </div>
2457
- </section>
2458
- }
3802
+ <button type="button" [title]="queueRemoveLabel" [attr.aria-label]="queueRemoveLabel + ' - ' + item.title" (click)="queueRemove.emit(item.id)">
3803
+ <ngxsp-smart-icon name="close" />
3804
+ </button>
3805
+ </span>
2459
3806
  }
2460
- </section>
2461
- }
2462
- @if (isPanelOpen('devices') && showDeviceButton) {
2463
- <section class="ngxsp-wmp-stackItem" [class.collapsed]="isPanelCollapsed('devices')">
2464
- <header class="ngxsp-wmp-stackHead">
2465
- <strong>{{ devicesLabel }}</strong>
2466
- <button class="ngxsp-wmp-stackIcon" type="button" [attr.aria-expanded]="!isPanelCollapsed('devices')" [attr.aria-label]="devicesLabel" (click)="togglePanelCollapsed('devices')">
2467
- <ngxsp-smart-icon [name]="isPanelCollapsed('devices') ? 'chevron-down' : 'chevron-up'" />
2468
- </button>
2469
- <button class="ngxsp-wmp-stackIcon" type="button" [title]="closeLabel" [attr.aria-label]="closeLabel" (click)="togglePanel('devices')">
2470
- <ngxsp-smart-icon name="close" />
2471
- </button>
2472
- </header>
2473
- @if (!isPanelCollapsed('devices')) {
2474
- <section class="ngxsp-wmp-devices">
2475
- <div class="ngxsp-wmp-sectionHeader slim">
2476
- <strong>{{ remotePlaybackLabel }}</strong>
2477
- <button class="ngxsp-wmp-smallButton" type="button" (click)="refreshDevices.emit()">{{ refreshLabel }}</button>
2478
- </div>
2479
- @for (device of deviceItems; track device.id) {
2480
- <div class="ngxsp-wmp-device" [class.active]="device.active">
2481
- <span class="ngxsp-wmp-targetIcon" aria-hidden="true"><ngxsp-smart-icon [name]="device.active ? 'devices-active' : 'devices'" /></span>
2482
- <span class="ngxsp-wmp-rowCopy">
2483
- <strong>{{ device.name }}</strong>
2484
- @if (device.subtitle) { <small>{{ device.subtitle }}</small> }
2485
- </span>
2486
- <span class="ngxsp-wmp-deviceActions">
2487
- <button class="ngxsp-wmp-smallButton" type="button" [attr.aria-label]="(device.actionLabel ?? playLabel) + ' - ' + device.name" (click)="playOnDevice.emit(device.id)">{{ device.actionLabel ?? playLabel }}</button>
2488
- @if (device.stoppable !== false) {
2489
- <button class="ngxsp-wmp-smallButton" type="button" [attr.aria-label]="stopLabel + ' - ' + device.name" (click)="stopOnDevice.emit(device.id)">{{ stopLabel }}</button>
2490
- }
2491
- </span>
2492
3807
  </div>
2493
3808
  } @empty {
2494
- <div class="ngxsp-wmp-emptyLibrary">{{ emptyDevicesLabel }}</div>
2495
- }
2496
- </section>
3809
+ <div class="ngxsp-wmp-emptyLibrary">{{ emptyQueueLabel }}</div>
2497
3810
  }
2498
- </section>
3811
+ @if (queueSpaceAfter) { <div class="ngxsp-wmp-queueSpace" [style.height.px]="queueSpaceAfter" aria-hidden="true"></div> }
3812
+ </div>
3813
+ <!--
3814
+ Commun-Audio.dc.html ends the column on it. A queue built by hand over an evening is
3815
+ exactly what a playlist is, and until now the only way to keep one was to build it a
3816
+ second time, track by track, in the Lists page.
3817
+ -->
3818
+ @if (keepQueueLabel && queueItems.length) {
3819
+ <button class="ngxsp-wmp-keepQueue" type="button" (click)="keepQueueAsPlaylist.emit()">
3820
+ <ngxsp-smart-icon name="plus" />
3821
+ <span>{{ keepQueueLabel }}</span>
3822
+ </button>
2499
3823
  }
2500
- @if (isPanelOpen('playlists')) {
2501
- <section class="ngxsp-wmp-stackItem" [class.collapsed]="isPanelCollapsed('playlists')">
2502
- <header class="ngxsp-wmp-stackHead">
2503
- <strong>{{ playlistsLabel }}</strong>
2504
- <button class="ngxsp-wmp-stackIcon" type="button" [attr.aria-expanded]="!isPanelCollapsed('playlists')" [attr.aria-label]="playlistsLabel" (click)="togglePanelCollapsed('playlists')">
2505
- <ngxsp-smart-icon [name]="isPanelCollapsed('playlists') ? 'chevron-down' : 'chevron-up'" />
2506
- </button>
2507
- <button class="ngxsp-wmp-stackIcon" type="button" [title]="closeLabel" [attr.aria-label]="closeLabel" (click)="togglePanel('playlists')">
2508
- <ngxsp-smart-icon name="close" />
2509
- </button>
2510
- </header>
2511
- @if (!isPanelCollapsed('playlists')) {
2512
- <section class="ngxsp-wmp-management">
2513
- <div class="ngxsp-wmp-inlineForm">
2514
- <input [value]="playlistDraftName" (input)="onPlaylistDraftInput($event)" (keydown.enter)="submitCreatePlaylist()" type="text" [placeholder]="newPlaylistPlaceholder" [attr.aria-label]="newPlaylistPlaceholder" />
2515
- <button class="ngxsp-wmp-smallButton primary" type="button" (click)="submitCreatePlaylist()" [disabled]="!playlistDraftName.trim()">{{ createLabel }}</button>
2516
- </div>
2517
- @if (playlistTargetTrack; as target) {
2518
- <div class="ngxsp-wmp-targetBanner">
2519
- <span>{{ playlistTargetLabel }}<strong>{{ target.title }}</strong></span>
2520
- <button class="ngxsp-wmp-smallButton" type="button" (click)="cancelPlaylistTarget.emit()">{{ cancelLabel }}</button>
2521
- </div>
2522
- }
2523
- <div class="ngxsp-wmp-targets">
2524
- @for (playlist of playlistOptions; track playlist.id) {
2525
- <div class="ngxsp-wmp-target">
2526
- <div class="ngxsp-wmp-targetMain">
2527
- <span class="ngxsp-wmp-targetIcon" aria-hidden="true"><ngxsp-smart-icon name="list" /></span>
2528
- <span class="ngxsp-wmp-rowCopy">
2529
- <strong>{{ playlist.name }}</strong>
2530
- @if (playlist.trackCount !== undefined) { <small>{{ playlist.trackCount }} {{ tracksCountLabel }}</small> }
2531
- </span>
2532
- @if (playlistTargetTrack || currentTrackAvailable) {
2533
- <button class="ngxsp-wmp-smallButton" type="button" [attr.aria-label]="addLabel + ' - ' + playlist.name" (click)="addToPlaylist(playlist.id)">
2534
- <ngxsp-smart-icon name="plus" />
2535
- <span>{{ addLabel }}</span>
2536
- </button>
2537
- }
2538
- </div>
2539
- @if (editingPlaylistId === playlist.id) {
2540
- <div class="ngxsp-wmp-inlineForm">
2541
- <input [value]="renameDraftName" (input)="onRenameDraftInput($event)" (keydown.enter)="submitRenamePlaylist()" type="text" [placeholder]="renamePlaylistPlaceholder" [attr.aria-label]="renamePlaylistPlaceholder" />
2542
- <button class="ngxsp-wmp-smallButton primary" type="button" (click)="submitRenamePlaylist()" [disabled]="!renameDraftName.trim()">{{ saveLabel }}</button>
2543
- <button class="ngxsp-wmp-smallButton" type="button" (click)="cancelRenamePlaylist()">{{ cancelLabel }}</button>
2544
- </div>
2545
- } @else {
2546
- <div class="ngxsp-wmp-targetActions">
2547
- <button type="button" (click)="startRenamePlaylist(playlist.id, playlist.name)">{{ renameLabel }}</button>
2548
- <button type="button" class="danger" (click)="deletePlaylist.emit(playlist.id)">{{ deleteLabel }}</button>
2549
- </div>
2550
- }
2551
- </div>
2552
- } @empty {
2553
- <div class="ngxsp-wmp-emptyLibrary">{{ emptyPlaylistTargetsLabel }}</div>
2554
- }
2555
- </div>
2556
- @if (!playlistTargetTrack && !currentTrackAvailable && playlistOptions.length) {
2557
- <div class="ngxsp-wmp-emptyLibrary">{{ selectTrackForPlaylistLabel }}</div>
2558
- }
2559
3824
  </section>
2560
- }
2561
- </section>
2562
- }
2563
3825
  </div>
2564
3826
  </aside>
2565
3827
 
@@ -2572,10 +3834,11 @@ i0.ɵɵngDeclareClassMetadata({
2572
3834
  <ngxsp-smart-icon name="music" />
2573
3835
  }
2574
3836
  </span>
2575
- <span class="ngxsp-wmp-miniCopy">
3837
+ <!-- The way into the page, which is where the video player puts its own. -->
3838
+ <button class="ngxsp-wmp-miniCopy" type="button" [attr.aria-label]="playerOpenLabel + ' - ' + (currentTitle || noTrackTitle)" [title]="playerOpenLabel" (click)="playerOpen.emit()">
2576
3839
  <strong>{{ currentTitle || noTrackTitle }}</strong>
2577
3840
  <small>{{ currentSubtitle || currentMeta || readyLabel }}</small>
2578
- </span>
3841
+ </button>
2579
3842
  <button class="ngxsp-wmp-iconButton" type="button" [class.active]="favoriteActive" [attr.aria-pressed]="favoriteActive" [title]="favoriteActive ? favoriteActiveLabel : favoriteLabel" [attr.aria-label]="favoriteActive ? favoriteActiveLabel : favoriteLabel" (click)="toggleFavorite.emit(currentTrackId)">
2580
3843
  <ngxsp-smart-icon name="heart" />
2581
3844
  </button>
@@ -2639,10 +3902,76 @@ i0.ɵɵngDeclareClassMetadata({
2639
3902
 
2640
3903
  <div class="ngxsp-wmp-transportModes">
2641
3904
  @for (panel of panelSwitches; track panel.id) {
2642
- <button class="ngxsp-wmp-iconButton" type="button" [class.ngxsp-wmp-devicesButton]="panel.id === 'devices'" [class.active]="isPanelShowing(panel.id)" [attr.aria-pressed]="isPanelShowing(panel.id)" [title]="panel.label" [attr.aria-label]="panel.label" (click)="togglePanelFromBar(panel.id)">
2643
- <ngxsp-smart-icon [name]="panel.icon" />
3905
+ <span class="ngxsp-wmp-switchWrap">
3906
+ <button class="ngxsp-wmp-iconButton" type="button" [class.ngxsp-wmp-devicesButton]="panel.id === 'devices'" [class.active]="isPanelShowing(panel.id)" [attr.aria-pressed]="isPanelShowing(panel.id)" [attr.aria-haspopup]="panel.id === 'devices' ? 'dialog' : null" [attr.aria-expanded]="panel.id === 'devices' ? isPanelShowing(panel.id) : null" [title]="panel.label" [attr.aria-label]="panel.label" (click)="togglePanelFromBar(panel.id)">
3907
+ <ngxsp-smart-icon [name]="panel.icon" />
3908
+ </button>
3909
+ <!--
3910
+ The devices are a small dialog over the button that opens them, which is what the
3911
+ boards draw: where the sound goes is about what is playing, not about the page being
3912
+ read, and a column panel put it as far from its own switch as the window allows.
3913
+ -->
3914
+ @if (panel.id === 'devices' && isPanelShowing('devices') && showDeviceButton) {
3915
+ <div class="ngxsp-wmp-devicesPopover" role="dialog" [attr.aria-label]="devicesLabel">
3916
+ <header class="ngxsp-wmp-popoverHead">
3917
+ <strong>{{ devicesLabel }}</strong>
3918
+ <button class="ngxsp-wmp-stackIcon" type="button" [title]="searchDevicesLabel" [attr.aria-label]="searchDevicesLabel" (click)="refreshDevices.emit()">
3919
+ <ngxsp-smart-icon name="refresh" />
3920
+ </button>
3921
+ <button class="ngxsp-wmp-stackIcon" type="button" [title]="closeLabel" [attr.aria-label]="closeLabel + ' - ' + devicesLabel" (click)="dismissDevices()">
3922
+ <ngxsp-smart-icon name="close" />
3923
+ </button>
3924
+ </header>
3925
+ <section class="ngxsp-wmp-devices">
3926
+ <!--
3927
+ Two lists sit here, and a reader who cannot tell them apart will send the sound to the
3928
+ wrong place: one hands the track to a machine that plays it itself, the other only
3929
+ changes which speakers this player uses. Each says which it is, in a line.
3930
+ -->
3931
+ <h3 class="ngxsp-wmp-deviceGroup">{{ castGroupLabel }}</h3>
3932
+ @if (castGroupHint) { <p class="ngxsp-wmp-deviceHint">{{ castGroupHint }}</p> }
3933
+ @for (device of deviceItems; track device.id) {
3934
+ <div class="ngxsp-wmp-device" [class.active]="device.active">
3935
+ <span class="ngxsp-wmp-targetIcon" aria-hidden="true"><ngxsp-smart-icon [name]="device.active ? 'devices-active' : 'devices'" /></span>
3936
+ <span class="ngxsp-wmp-rowCopy">
3937
+ <strong>{{ device.name }}</strong>
3938
+ @if (device.subtitle) { <small>{{ device.subtitle }}</small> }
3939
+ </span>
3940
+ <span class="ngxsp-wmp-deviceActions">
3941
+ <button class="ngxsp-wmp-smallButton" type="button" [attr.aria-label]="(device.actionLabel ?? playLabel) + ' - ' + device.name" (click)="playOnDevice.emit(device.id)">{{ device.actionLabel ?? playLabel }}</button>
3942
+ @if (device.stoppable !== false) {
3943
+ <button class="ngxsp-wmp-smallButton" type="button" [attr.aria-label]="stopLabel + ' - ' + device.name" (click)="stopOnDevice.emit(device.id)">{{ stopLabel }}</button>
3944
+ }
3945
+ </span>
3946
+ </div>
3947
+ } @empty {
3948
+ <div class="ngxsp-wmp-emptyLibrary">{{ emptyDevicesLabel }}</div>
3949
+ }
3950
+
3951
+ @if (outputItems.length) {
3952
+ <h3 class="ngxsp-wmp-deviceGroup">{{ outputGroupLabel }}</h3>
3953
+ @if (outputGroupHint) { <p class="ngxsp-wmp-deviceHint">{{ outputGroupHint }}</p> }
3954
+ @for (output of outputItems; track output.id) {
3955
+ <button
3956
+ class="ngxsp-wmp-output"
3957
+ type="button"
3958
+ [class.active]="output.active"
3959
+ [attr.aria-pressed]="!!output.active"
3960
+ (click)="selectOutput.emit(output.id)"
3961
+ >
3962
+ <span class="ngxsp-wmp-rowCopy">
3963
+ <strong>{{ output.label }}</strong>
3964
+ @if (output.detail) { <small>{{ output.detail }}</small> }
3965
+ </span>
3966
+ @if (output.active) { <ngxsp-smart-icon name="check" /> }
2644
3967
  </button>
2645
3968
  }
3969
+ }
3970
+ </section>
3971
+ </div>
3972
+ }
3973
+ </span>
3974
+ }
2646
3975
  @if (compactModes && compactMode === 'full') {
2647
3976
  <button class="ngxsp-wmp-iconButton ngxsp-wmp-windowButton" type="button" [title]="compactMiniLabel" [attr.aria-label]="compactMiniLabel" (click)="compactModeChange.emit('mini')">
2648
3977
  <ngxsp-smart-icon name="window-mini" />
@@ -2676,15 +4005,17 @@ i0.ɵɵngDeclareClassMetadata({
2676
4005
  </section>
2677
4006
  `,
2678
4007
  changeDetection: ChangeDetectionStrategy.OnPush,
2679
- styles: [":host{display:block;height:100%;min-height:0;color:var(--nsp-text, #ededf0);font-family:var(--nsp-font, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Ubuntu, sans-serif);font-size:13px;line-height:1.4}.ngxsp-wmp-shell{--wmp-bg:var(--nsp-bg, #0d0e11);--wmp-s0:var(--nsp-surface-0, #121317);--wmp-s1:var(--nsp-surface-1, #17181d);--wmp-s2:var(--nsp-surface-2, #1e1f25);--wmp-s3:var(--nsp-surface-3, #26272e);--wmp-line:var(--nsp-line, rgb(255 255 255 / .07));--wmp-line-strong:var(--nsp-line-strong, rgb(255 255 255 / .13));--wmp-text:var(--nsp-text, #ededf0);--wmp-text-2:var(--nsp-text-2, #a3a5ae);--wmp-text-3:var(--nsp-text-3, #80828c);--wmp-accent:var(--nsp-accent, #8b90ff);--wmp-accent-strong:var(--nsp-accent-strong, #5d63ee);--wmp-accent-soft:var(--nsp-accent-soft, rgb(139 144 255 / .14));--wmp-on-accent:var(--nsp-on-accent, #fff);--wmp-success:var(--nsp-success, #3ecf8e);--wmp-danger:var(--nsp-danger, #f25f5c);--wmp-danger-text:var(--nsp-danger-text, #ffb4b2);--wmp-r-sm:var(--nsp-radius-sm, 6px);--wmp-r-md:var(--nsp-radius-md, 10px);--wmp-ease:var(--nsp-ease, cubic-bezier(.2,0,0,1));--wmp-dur:var(--nsp-dur, .14s);--wmp-title-h:var(--nsp-titlebar-height, 48px);--wmp-rail-w:232px;--wmp-panel-w:320px;--wmp-transport-h:84px;position:relative;height:100%;min-height:600px;display:grid;grid-template-columns:var(--wmp-rail-w) minmax(0,1fr) var(--wmp-panel-w);grid-template-rows:var(--wmp-title-h) minmax(0,1fr) var(--wmp-transport-h);grid-template-areas:\"title title title\" \"rail main panel\" \"transport transport transport\";overflow:hidden;background:var(--wmp-bg);color:var(--wmp-text);box-sizing:border-box}.ngxsp-wmp-shell.ngxsp-wmp-panelHidden{grid-template-columns:var(--wmp-rail-w) minmax(0,1fr);grid-template-areas:\"title title\" \"rail main\" \"transport transport\"}.ngxsp-wmp-shell.ngxsp-wmp-panelHidden .ngxsp-wmp-playlist{display:none}.ngxsp-wmp-shell *{box-sizing:border-box;letter-spacing:0}.ngxsp-wmp-shell *::-webkit-scrollbar{width:10px;height:10px}.ngxsp-wmp-shell *::-webkit-scrollbar-track{background:transparent}.ngxsp-wmp-shell *::-webkit-scrollbar-thumb{background:var(--wmp-s3);border-radius:999px;border:3px solid transparent;background-clip:padding-box}.ngxsp-wmp-shell *::-webkit-scrollbar-thumb:hover{background-color:var(--wmp-line-strong)}button,input{font:inherit;color:inherit}button{cursor:pointer}img{display:block;width:100%;height:100%;object-fit:cover}h1,h2,h3,p{margin:0}ngxsp-smart-icon{width:18px;height:18px}.ngxsp-wmp-fileInput{display:none}.ngxsp-wmp-shell button:focus-visible,.ngxsp-wmp-shell input:focus-visible{outline:2px solid var(--wmp-accent);outline-offset:2px}.ngxsp-wmp-engineMount{position:absolute;width:1px;height:1px;overflow:hidden;opacity:0;pointer-events:none}.ngxsp-wmp-engineMount ngx-smart-player{display:block;width:1px;height:1px;min-height:0;border:0}.ngxsp-wmp-iconButton{width:32px;height:32px;flex:0 0 auto;display:inline-grid;place-items:center;padding:0;border:1px solid transparent;border-radius:var(--wmp-r-sm);background:transparent;color:var(--wmp-text-2);transition:background-color var(--wmp-dur) var(--wmp-ease),color var(--wmp-dur) var(--wmp-ease),border-color var(--wmp-dur) var(--wmp-ease)}.ngxsp-wmp-iconButton:hover:not(:disabled){background:var(--wmp-s2);color:var(--wmp-text)}.ngxsp-wmp-iconButton.active,.ngxsp-wmp-iconButton.active:hover:not(:disabled){color:var(--wmp-accent)}.ngxsp-wmp-iconButton.outlined{width:40px;height:40px;border-color:var(--wmp-line-strong);border-radius:999px}.ngxsp-wmp-iconButton:disabled{opacity:.35;cursor:default}.ngxsp-wmp-iconButton.active ngxsp-smart-icon[name=heart] ::ng-deep path{fill:currentColor}.ngxsp-wmp-playButton{width:36px;height:36px;display:inline-grid;place-items:center;padding:0;border:0;border-radius:999px;background:var(--wmp-text);color:var(--wmp-bg);transition:transform var(--wmp-dur) var(--wmp-ease),background-color var(--wmp-dur) var(--wmp-ease)}.ngxsp-wmp-playButton:hover{transform:scale(1.05)}.ngxsp-wmp-primaryButton{height:40px;display:inline-flex;align-items:center;gap:8px;padding:0 20px 0 16px;border:0;border-radius:999px;background:var(--wmp-accent-strong);color:var(--wmp-on-accent);font-weight:600;transition:filter var(--wmp-dur) var(--wmp-ease),transform var(--wmp-dur) var(--wmp-ease)}.ngxsp-wmp-primaryButton:hover{filter:brightness(1.1)}.ngxsp-wmp-primaryButton:active{transform:scale(.98)}.ngxsp-wmp-smallButton{height:32px;display:inline-flex;align-items:center;justify-content:center;gap:6px;padding:0 10px;border:1px solid var(--wmp-line-strong);border-radius:var(--wmp-r-sm);background:transparent;color:var(--wmp-text);font-size:12px;font-weight:500;white-space:nowrap}.ngxsp-wmp-smallButton ngxsp-smart-icon{width:14px;height:14px}.ngxsp-wmp-smallButton:hover:not(:disabled){background:var(--wmp-s2)}.ngxsp-wmp-smallButton.primary{border-color:transparent;background:var(--wmp-accent-strong);color:var(--wmp-on-accent)}.ngxsp-wmp-smallButton.primary:hover:not(:disabled){background:var(--wmp-accent-strong);filter:brightness(1.1)}.ngxsp-wmp-smallButton:disabled{opacity:.45;cursor:default}.ngxsp-wmp-segmented{display:inline-flex;align-items:center;gap:2px;padding:2px;border-radius:8px;background:var(--wmp-s2)}.ngxsp-wmp-segmented button{height:32px;min-width:0;padding:0 10px;border:0;border-radius:6px;background:transparent;color:var(--wmp-text-2);font-size:12px;font-weight:500;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ngxsp-wmp-segmented button:hover{color:var(--wmp-text)}.ngxsp-wmp-segmented button.active{background:var(--wmp-s3);color:var(--wmp-text);box-shadow:0 1px 2px #0000004d}.ngxsp-wmp-titlebar{grid-area:title;min-width:0;display:grid;grid-template-columns:calc(var(--wmp-rail-w) - 16px) minmax(0,1fr) minmax(0,max-content);align-items:center;gap:16px;padding:0 calc(12px + var(--nsp-titlebar-inset-end, 0px)) 0 calc(16px + var(--nsp-titlebar-inset-start, 0px));border-bottom:1px solid var(--wmp-line);background:var(--wmp-s0);-webkit-app-region:drag;-webkit-user-select:none;user-select:none}.ngxsp-wmp-titlebar button,.ngxsp-wmp-titlebar input,.ngxsp-wmp-titlebar label,.ngxsp-wmp-titlebar .ngxsp-wmp-status{-webkit-app-region:no-drag}.ngxsp-wmp-brand{min-width:0;display:flex;align-items:center;gap:10px}.ngxsp-wmp-brandIcon{width:26px;height:26px;flex:0 0 auto;display:grid;place-items:center;border-radius:7px;color:#fff;background:linear-gradient(145deg,#8b90ff,#5d63ee 55%,#4146c9);box-shadow:inset 0 1px #ffffff38}.ngxsp-wmp-brandIcon ngxsp-smart-icon{width:15px;height:15px}.ngxsp-wmp-brandLogo{width:26px;height:26px;flex:0 0 auto;display:block}.ngxsp-wmp-brandName{font-size:13px;font-weight:600;white-space:nowrap}.ngxsp-wmp-search{position:relative;justify-self:center;width:100%;max-width:440px;height:34px;display:block;color:var(--wmp-text-3)}.ngxsp-wmp-search ngxsp-smart-icon{position:absolute;left:11px;top:50%;width:16px;height:16px;transform:translateY(-50%);pointer-events:none}.ngxsp-wmp-search input{width:100%;height:100%;padding:0 10px 0 35px;border:1px solid transparent;border-radius:8px;outline:0;background:var(--wmp-s2);color:var(--wmp-text);font-size:13px;transition:border-color var(--wmp-dur) var(--wmp-ease),background-color var(--wmp-dur) var(--wmp-ease),box-shadow var(--wmp-dur) var(--wmp-ease)}.ngxsp-wmp-search input:hover{border-color:var(--wmp-line-strong)}.ngxsp-wmp-shell .ngxsp-wmp-search input:focus,.ngxsp-wmp-shell .ngxsp-wmp-search input:focus-visible{outline:0;border-color:var(--wmp-accent);background:var(--wmp-s1);box-shadow:0 0 0 3px var(--wmp-accent-soft)}.ngxsp-wmp-search input::placeholder{color:var(--wmp-text-3)}.ngxsp-wmp-titleActions{min-width:0;display:flex;align-items:center;justify-content:flex-end;gap:8px}.ngxsp-wmp-status{min-width:0;max-width:300px;height:26px;display:inline-flex;align-items:center;gap:7px;padding:0 10px;border-radius:999px;background:var(--wmp-s2);color:var(--wmp-text-2);font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ngxsp-wmp-status:before{content:\"\";width:6px;height:6px;flex:0 0 auto;border-radius:50%;background:var(--wmp-accent)}.ngxsp-wmp-status.success:before{background:var(--wmp-success)}.ngxsp-wmp-status.error{color:var(--wmp-danger-text);background:#f25f5c29}.ngxsp-wmp-status.error:before{background:var(--wmp-danger)}.ngxsp-wmp-rail{grid-area:rail;min-width:0;min-height:0;display:flex;flex-direction:column;border-right:1px solid var(--wmp-line);background:var(--wmp-s0)}.ngxsp-wmp-nav{flex:1;min-height:0;display:flex;flex-direction:column;gap:1px;padding:12px 8px;overflow:auto}.ngxsp-wmp-navItem{width:100%;height:34px;flex:0 0 auto;display:grid;grid-template-columns:18px minmax(0,1fr) auto;align-items:center;gap:10px;padding:0 10px;border:0;border-radius:var(--wmp-r-sm);background:transparent;color:var(--wmp-text-2);text-align:left;transition:background-color var(--wmp-dur) var(--wmp-ease),color var(--wmp-dur) var(--wmp-ease)}.ngxsp-wmp-navItem span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:500}.ngxsp-wmp-navItem small{color:var(--wmp-text-3);font-size:11px;font-variant-numeric:tabular-nums}.ngxsp-wmp-navItem:hover{background:var(--wmp-s2);color:var(--wmp-text)}.ngxsp-wmp-navItem.active{background:var(--wmp-s3);color:var(--wmp-text)}.ngxsp-wmp-navItem.active ngxsp-smart-icon{color:var(--wmp-accent)}.ngxsp-wmp-navItem.active small{color:var(--wmp-text-2)}.ngxsp-wmp-navDivider{display:block;flex:0 0 auto;height:1px;margin:10px;background:var(--wmp-line)}ngxsp-settings{--ngxsp-settings-surface:var(--wmp-s1);--ngxsp-settings-text:var(--wmp-text);--ngxsp-settings-muted:var(--wmp-text-2);--ngxsp-settings-line:var(--wmp-line);--ngxsp-settings-control:var(--wmp-s3);--ngxsp-settings-accent:var(--wmp-accent);--ngxsp-settings-radius:var(--wmp-r-md, 10px)}.ngxsp-wmp-railTools{display:grid;gap:12px;padding:12px;border-top:1px solid var(--wmp-line)}.ngxsp-wmp-sourceButton{flex:0 0 auto;height:32px;display:inline-flex;align-items:center;gap:7px;padding:0 12px 0 10px;border:0;border-radius:var(--wmp-r-sm);background:var(--wmp-accent-strong);color:var(--wmp-on-accent);font-size:12px;font-weight:600;white-space:nowrap;cursor:pointer}.ngxsp-wmp-sourceButton ngxsp-smart-icon{width:16px;height:16px}.ngxsp-wmp-sourceButton:hover{filter:brightness(1.1)}.ngxsp-wmp-sourceButton:disabled{opacity:.7;cursor:progress}.ngxsp-wmp-libraryInfo{min-width:0;display:grid;gap:2px;padding:0 4px}.ngxsp-wmp-libraryInfo strong,.ngxsp-wmp-libraryInfo small{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ngxsp-wmp-libraryInfo strong{font-size:12px;font-weight:600}.ngxsp-wmp-libraryInfo small{color:var(--wmp-text-3);font-size:11px}.ngxsp-wmp-libraryStatus{display:flex;align-items:center;gap:6px}.ngxsp-wmp-libraryStatus:before{content:\"\";width:6px;height:6px;flex:0 0 auto;border-radius:50%;background:var(--wmp-success)}.ngxsp-wmp-libraryStatus.busy:before{background:var(--wmp-accent);animation:ngxsp-wmp-pulse 1.2s ease-in-out infinite}@keyframes ngxsp-wmp-pulse{0%,to{opacity:.35}50%{opacity:1}}.ngxsp-wmp-main{grid-area:main;min-width:0;min-height:0;display:flex;flex-direction:column;overflow:auto;background:var(--wmp-bg)}.ngxsp-wmp-nowPanel{position:relative;flex:0 0 auto;display:grid;grid-template-columns:184px minmax(0,1fr);align-items:end;gap:28px;padding:32px 32px 28px;background:radial-gradient(120% 140% at 0% 0%,rgb(93 99 238 / .2) 0%,transparent 60%),linear-gradient(180deg,var(--wmp-s1) 0%,var(--wmp-bg) 100%);border-bottom:1px solid var(--wmp-line)}.ngxsp-wmp-art{width:184px;height:184px;display:grid;place-items:center;overflow:hidden;border-radius:var(--wmp-r-md);background:linear-gradient(145deg,var(--wmp-s3),var(--wmp-s1));color:var(--wmp-text-3);box-shadow:var(--nsp-shadow-media, 0 18px 40px rgb(0 0 0 / .45))}.ngxsp-wmp-artNote ngxsp-smart-icon{width:56px;height:56px}.ngxsp-wmp-playerSurface{min-width:0;min-height:160px;display:flex;flex-direction:column;justify-content:flex-end;gap:16px}.ngxsp-wmp-nowCopy{min-width:0;display:grid;gap:4px}.ngxsp-wmp-eyebrow{display:inline-flex;align-items:center;gap:8px;color:var(--wmp-text-2);font-size:11px;font-weight:600}.ngxsp-wmp-liveDot{width:6px;height:6px;border-radius:50%;background:var(--wmp-success);box-shadow:0 0 0 3px #3ecf8e2e}.ngxsp-wmp-nowCopy h1{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:32px;line-height:1.15;font-weight:700}.ngxsp-wmp-shell .ngxsp-wmp-nowCopy h1{letter-spacing:-.015em}.ngxsp-wmp-nowCopy p{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--wmp-text);font-size:14px;font-weight:500}.ngxsp-wmp-nowCopy small{color:var(--wmp-text-2);font-size:12px}.ngxsp-wmp-nowActions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.ngxsp-wmp-nowOscillogram{min-width:0;min-height:48px;display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-rows:40px 2px;column-gap:14px;row-gap:6px;align-items:end}.ngxsp-wmp-nowWaveform{grid-column:1;grid-row:1;height:40px;display:flex;align-items:flex-end;gap:3px;overflow:hidden}.ngxsp-wmp-nowWaveform span{flex:1 1 0;min-width:2px;border-radius:2px 2px 0 0;background:var(--wmp-line-strong);transform-origin:bottom;transition:background-color .24s var(--wmp-ease)}.ngxsp-wmp-nowWaveform span.played{background:var(--wmp-accent)}.ngxsp-wmp-nowProgressLine{grid-column:1;grid-row:2;position:relative;height:2px;border-radius:999px;background:var(--wmp-line);overflow:hidden}.ngxsp-wmp-nowProgressLine i{position:absolute;inset:0 auto 0 0;background:var(--wmp-accent);border-radius:inherit}.ngxsp-wmp-nowTime{grid-column:2;grid-row:1 / span 2;align-self:end;display:flex;gap:4px;color:var(--wmp-text-2);font-size:12px;font-variant-numeric:tabular-nums}.ngxsp-wmp-nowTime small+small:before{content:\"/ \";color:var(--wmp-text-3)}.ngxsp-wmp-emptyPlayer{display:grid;justify-items:start;gap:10px}.ngxsp-wmp-emptyPlayer h1{font-size:28px;font-weight:700}.ngxsp-wmp-emptyPlayer p{color:var(--wmp-text-2);max-width:52ch}.ngxsp-wmp-shell .ngxsp-wmp-cover:not(.has-image){color:#fff9;background:radial-gradient(90% 70% at 20% 10%,rgb(255 255 255 / .16),transparent 60%),linear-gradient(140deg,var(--tone-a),var(--tone-b))}.ngxsp-wmp-cover[data-tone=\"0\"]{--tone-a:#4a4fc4;--tone-b:#1d1e45}.ngxsp-wmp-cover[data-tone=\"1\"]{--tone-a:#1f8078;--tone-b:#0e2a2c}.ngxsp-wmp-cover[data-tone=\"2\"]{--tone-a:#b3782a;--tone-b:#35230f}.ngxsp-wmp-cover[data-tone=\"3\"]{--tone-a:#a83a62;--tone-b:#2e1120}.ngxsp-wmp-cover[data-tone=\"4\"]{--tone-a:#2f6fa8;--tone-b:#0f2031}.ngxsp-wmp-cover[data-tone=\"5\"]{--tone-a:#6f7f2e;--tone-b:#1f240f}.ngxsp-wmp-cover[data-tone=\"6\"]{--tone-a:#7a48b8;--tone-b:#231436}.ngxsp-wmp-cover[data-tone=\"7\"]{--tone-a:#b0543a;--tone-b:#321710}.ngxsp-wmp-librarySurface{flex:1 0 auto;min-width:0;display:flex;flex-direction:column}.ngxsp-wmp-sectionHeader{display:grid;gap:2px;padding:24px 32px 8px}.ngxsp-wmp-sectionHeader>span{color:var(--wmp-text-2);font-size:12px;font-weight:600}.ngxsp-wmp-backButton{justify-self:start;display:inline-flex;align-items:center;gap:4px;max-width:100%;height:28px;margin:0 0 6px -8px;padding:0 10px 0 4px;border:0;border-radius:999px;background:transparent;color:var(--wmp-text-2);font:inherit;font-size:13px;font-weight:600;cursor:pointer}.ngxsp-wmp-backButton ngxsp-smart-icon{flex:none;width:18px;height:18px}.ngxsp-wmp-backButton span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ngxsp-wmp-backButton:hover{background:var(--wmp-s2, rgb(127 127 127 / .14));color:var(--wmp-text)}.ngxsp-wmp-sectionHeader h1,.ngxsp-wmp-sectionHeader h2{font-size:22px;line-height:1.2;font-weight:700}.ngxsp-wmp-sectionHeader.slim{grid-template-columns:minmax(0,1fr) auto;align-items:center;column-gap:8px;padding:14px 20px 8px}.ngxsp-wmp-sectionHeader.slim>span{grid-column:1}.ngxsp-wmp-sectionHeader.slim strong{grid-column:1;font-size:13px;font-weight:600}.ngxsp-wmp-sectionHeader.slim .ngxsp-wmp-smallButton{grid-column:2;grid-row:1 / span 2}.ngxsp-wmp-sectionScroll{display:grid;gap:28px;padding:8px 24px 32px}.ngxsp-wmp-section{min-width:0;display:grid;gap:10px}.ngxsp-wmp-section>h2,.ngxsp-wmp-section>h3{padding:0 8px;font-size:15px;font-weight:600}.ngxsp-wmp-cardGrid{display:grid;grid-template-columns:repeat(auto-fill,minmax(168px,1fr));gap:4px}.ngxsp-wmp-card{position:relative;min-width:0;container-type:inline-size;border-radius:var(--wmp-r-md);transition:background-color var(--wmp-dur) var(--wmp-ease)}.ngxsp-wmp-card:hover,.ngxsp-wmp-card:focus-within{background:var(--wmp-s1)}.ngxsp-wmp-cardSelect{width:100%;min-width:0;display:grid;gap:10px;padding:10px;border:0;border-radius:inherit;background:transparent;text-align:left}.ngxsp-wmp-thumb{position:relative;width:100%;aspect-ratio:1;display:grid;place-items:center;overflow:hidden;border-radius:8px;background:linear-gradient(145deg,var(--wmp-s3),var(--wmp-s1));color:var(--wmp-text-3);box-shadow:var(--nsp-shadow-card, 0 6px 18px rgb(0 0 0 / .3))}.ngxsp-wmp-thumb>ngxsp-smart-icon{width:36px;height:36px}.ngxsp-wmp-cardPlaySlot{position:absolute;top:calc(100cqw - 58px);right:18px;display:flex;opacity:0;transform:translateY(6px);transition:opacity var(--wmp-dur) var(--wmp-ease),transform var(--wmp-dur) var(--wmp-ease)}.ngxsp-wmp-card:hover .ngxsp-wmp-cardPlaySlot,.ngxsp-wmp-card:focus-within .ngxsp-wmp-cardPlaySlot,.ngxsp-wmp-card.active .ngxsp-wmp-cardPlaySlot{opacity:1;transform:none}.ngxsp-wmp-cardPlay{width:40px;height:40px;display:grid;place-items:center;padding:0;border:0;border-radius:999px;background:var(--wmp-accent-strong);color:#fff;box-shadow:0 8px 20px #0006}.ngxsp-wmp-cardPlay ngxsp-smart-icon{width:18px;height:18px}.ngxsp-wmp-cardCopy{min-width:0;display:grid;gap:2px}.ngxsp-wmp-cardCopy strong,.ngxsp-wmp-cardCopy small,.ngxsp-wmp-cardCopy em{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ngxsp-wmp-cardCopy strong{font-size:13px;font-weight:600}.ngxsp-wmp-card.active .ngxsp-wmp-cardCopy strong{color:var(--wmp-accent)}.ngxsp-wmp-cardCopy small{color:var(--wmp-text-2);font-size:12px}.ngxsp-wmp-cardCopy em{color:var(--wmp-text-3);font-size:11px;font-style:normal}.ngxsp-wmp-cardActions{position:absolute;top:18px;right:18px;display:flex;gap:4px;opacity:0;transition:opacity var(--wmp-dur) var(--wmp-ease)}.ngxsp-wmp-card:hover .ngxsp-wmp-cardActions,.ngxsp-wmp-card:focus-within .ngxsp-wmp-cardActions{opacity:1}.ngxsp-wmp-cardAction{width:32px;height:32px;display:grid;place-items:center;padding:0;border:0;border-radius:999px;background:#0d0e11cc;color:#fff;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}.ngxsp-wmp-cardAction ngxsp-smart-icon{width:14px;height:14px}.ngxsp-wmp-cardAction:hover{background:#0d0e11f2}.ngxsp-wmp-table{min-width:0;display:grid}.ngxsp-wmp-tableHead,.ngxsp-wmp-trackSelect{display:grid;grid-template-columns:36px minmax(0,2.4fr) minmax(0,1.3fr) minmax(0,1.3fr) 48px;align-items:center;gap:14px}.ngxsp-wmp-tableHead{position:sticky;top:0;z-index:1;height:34px;margin-bottom:4px;padding:0 calc(var(--wmp-actions-w, 112px) + 8px) 0 10px;border-bottom:1px solid var(--wmp-line);background:var(--wmp-bg);color:var(--wmp-text-2);font-size:11px;font-weight:600}.ngxsp-wmp-tableHead>span:first-child{text-align:center}.ngxsp-wmp-timeHead{display:flex;justify-content:flex-end}.ngxsp-wmp-timeHead ngxsp-smart-icon{width:15px;height:15px}.ngxsp-wmp-trackRow{position:relative;min-width:0;display:grid;grid-template-columns:minmax(0,1fr) var(--wmp-actions-w, 112px);align-items:center;gap:8px;border-radius:var(--wmp-r-sm);transition:background-color var(--wmp-dur) var(--wmp-ease)}.ngxsp-wmp-trackRow:hover,.ngxsp-wmp-trackRow:focus-within{background:var(--wmp-s1)}.ngxsp-wmp-trackRow.active{background:var(--wmp-accent-soft)}.ngxsp-wmp-trackSelect{min-width:0;height:52px;padding:0 0 0 10px;border:0;border-radius:inherit;background:transparent;color:var(--wmp-text-2);text-align:left}.ngxsp-wmp-trackIndex{position:relative;display:grid;place-items:center;color:var(--wmp-text-2);font-variant-numeric:tabular-nums}.ngxsp-wmp-trackIndex>ngxsp-smart-icon{width:16px;height:16px}.ngxsp-wmp-trackRow.active .ngxsp-wmp-trackIndex{color:var(--wmp-accent)}.ngxsp-wmp-indexPlay{position:absolute;opacity:0;color:var(--wmp-text)}.ngxsp-wmp-trackRow:hover .ngxsp-wmp-indexNumber{opacity:0}.ngxsp-wmp-trackRow:hover .ngxsp-wmp-indexPlay{opacity:1}.ngxsp-wmp-trackTitle{min-width:0;display:flex;align-items:center;gap:12px}.ngxsp-wmp-rowIcon{width:36px;height:36px;flex:0 0 auto;display:grid;place-items:center;overflow:hidden;border-radius:4px;background:var(--wmp-s2);color:var(--wmp-text-3)}.ngxsp-wmp-rowIcon ngxsp-smart-icon{width:16px;height:16px}.ngxsp-wmp-rowCopy{min-width:0;display:grid;gap:1px}.ngxsp-wmp-rowCopy strong,.ngxsp-wmp-rowCopy small{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ngxsp-wmp-rowCopy strong{color:var(--wmp-text);font-size:13px;font-weight:500}.ngxsp-wmp-rowCopy small{color:var(--wmp-text-2);font-size:12px}.ngxsp-wmp-trackRow.active .ngxsp-wmp-rowCopy strong{color:var(--wmp-accent)}.ngxsp-wmp-trackCell{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ngxsp-wmp-trackTime{text-align:right;font-variant-numeric:tabular-nums}.ngxsp-wmp-rowActions{display:flex;align-items:center;justify-content:flex-end;gap:2px;padding-right:8px}.ngxsp-wmp-rowFavorite,.ngxsp-wmp-rowQueueAction{flex:0 0 32px;width:32px;height:32px;display:grid;place-items:center;padding:0;border:0;border-radius:var(--wmp-r-sm);background:transparent;color:var(--wmp-text-2);opacity:0;transition:opacity var(--wmp-dur) var(--wmp-ease),background-color var(--wmp-dur) var(--wmp-ease),color var(--wmp-dur) var(--wmp-ease)}.ngxsp-wmp-rowFavorite ngxsp-smart-icon,.ngxsp-wmp-rowQueueAction ngxsp-smart-icon{width:16px;height:16px}.ngxsp-wmp-rowFavorite:hover,.ngxsp-wmp-rowQueueAction:hover{background:var(--wmp-s3);color:var(--wmp-text)}.ngxsp-wmp-trackRow:hover .ngxsp-wmp-rowFavorite,.ngxsp-wmp-trackRow:hover .ngxsp-wmp-rowQueueAction,.ngxsp-wmp-trackRow:focus-within .ngxsp-wmp-rowFavorite,.ngxsp-wmp-trackRow:focus-within .ngxsp-wmp-rowQueueAction,.ngxsp-wmp-rowFavorite.active{opacity:1}.ngxsp-wmp-rowFavorite.active{color:var(--wmp-accent)}.ngxsp-wmp-rowFavorite.active ngxsp-smart-icon ::ng-deep path{fill:currentColor}.ngxsp-wmp-rowProgress{position:absolute;left:10px;right:10px;bottom:3px;height:2px;border-radius:999px;background:var(--wmp-line);overflow:hidden;pointer-events:none}.ngxsp-wmp-thumb .ngxsp-wmp-rowProgress{left:0;right:0;bottom:0;border-radius:0}.ngxsp-wmp-rowProgress i{position:absolute;inset:0 auto 0 0;background:var(--wmp-accent)}.ngxsp-wmp-emptyLibrary{display:grid;justify-items:center;gap:8px;padding:32px 16px;border:1px dashed var(--wmp-line-strong);border-radius:var(--wmp-r-md);color:var(--wmp-text-2);text-align:center}.ngxsp-wmp-emptyLibrary ngxsp-smart-icon{width:28px;height:28px;color:var(--wmp-text-3)}.ngxsp-wmp-playlist{grid-area:panel;min-width:0;min-height:0;display:flex;flex-direction:column;border-left:1px solid var(--wmp-line);background:var(--wmp-s0);overflow:hidden}.ngxsp-wmp-sheetToggles{display:flex;justify-content:center;gap:4px;padding:4px 12px 0}.ngxsp-wmp-panelStack{flex:1;display:flex;flex-direction:column;gap:10px;padding:12px;overflow:hidden;min-height:0}.ngxsp-wmp-stackItem{flex:1 1 0;border:1px solid var(--wmp-border,#d9d9d9);border-radius:10px;overflow:hidden;display:flex;flex-direction:column;min-height:0}.ngxsp-wmp-stackItem.collapsed{flex:0 0 auto}.ngxsp-wmp-stackHead{display:flex;align-items:center;gap:8px;padding:7px 8px 7px 11px;background:var(--wmp-surface-2,rgba(127,127,127,.08))}.ngxsp-wmp-stackHead strong{font-size:12.5px;font-weight:600}.ngxsp-wmp-stackIcon{display:grid;place-items:center;width:24px;height:24px;padding:0;border:0;border-radius:6px;background:transparent;color:inherit;cursor:pointer;opacity:.65}.ngxsp-wmp-stackIcon:hover,.ngxsp-wmp-stackIcon:focus-visible{opacity:1}.ngxsp-wmp-stackIcon+.ngxsp-wmp-stackIcon{margin-left:-2px}.ngxsp-wmp-stackHead .ngxsp-wmp-stackIcon:first-of-type{margin-left:auto}.ngxsp-wmp-stackItem svg{width:14px;height:14px}.ngxsp-wmp-queueList{flex:1;min-height:0;display:grid;align-content:start;gap:1px;padding:0 8px 12px;overflow:auto}.ngxsp-wmp-queueItem{width:100%;min-width:0;min-height:56px;display:grid;grid-template-columns:40px minmax(0,1fr) auto;align-items:center;gap:12px;padding:8px;border:0;border-radius:var(--wmp-r-sm);background:transparent;text-align:left;transition:background-color var(--wmp-dur) var(--wmp-ease)}.ngxsp-wmp-queueItem:hover{background:var(--wmp-s2)}.ngxsp-wmp-queueItem.active{background:var(--wmp-accent-soft)}.ngxsp-wmp-queueItem.active .ngxsp-wmp-rowCopy strong{color:var(--wmp-accent)}.ngxsp-wmp-queueCover{position:relative;width:40px;height:40px;display:grid;place-items:center;overflow:hidden;border-radius:4px;background:var(--wmp-s2);color:var(--wmp-text-3)}.ngxsp-wmp-queueCover>ngxsp-smart-icon{width:16px;height:16px}.ngxsp-wmp-queueNow{position:absolute;inset:0;display:grid;place-items:center;background:#0d0e1199;color:#fff}.ngxsp-wmp-rowBadges{display:flex;flex-wrap:wrap;gap:4px;margin-top:3px}.ngxsp-wmp-rowBadges em{display:inline-flex;align-items:center;gap:3px;height:18px;padding:0 6px;border-radius:4px;background:var(--wmp-s3);color:var(--wmp-text-2);font-size:10px;font-style:normal;font-weight:500}.ngxsp-wmp-rowBadges em ngxsp-smart-icon{width:10px;height:10px}.ngxsp-wmp-rowBadges em.favorite{color:var(--wmp-accent)}.ngxsp-wmp-rowMeta{color:var(--wmp-text-2);font-size:12px;font-variant-numeric:tabular-nums}.ngxsp-wmp-management,.ngxsp-wmp-devices{flex:1;min-height:0;display:grid;align-content:start;gap:10px;padding:10px 12px 16px;overflow:auto}.ngxsp-wmp-devices .ngxsp-wmp-sectionHeader.slim{padding:4px 4px 6px}.ngxsp-wmp-inlineForm{display:flex;gap:6px}.ngxsp-wmp-inlineForm input{flex:1;min-width:0;height:32px;padding:0 10px;border:1px solid var(--wmp-line-strong);border-radius:var(--wmp-r-sm);background:var(--wmp-s1);color:var(--wmp-text);font-size:12px}.ngxsp-wmp-inlineForm input::placeholder{color:var(--wmp-text-3)}.ngxsp-wmp-shell .ngxsp-wmp-inlineForm input:focus-visible{outline:0;border-color:var(--wmp-accent);box-shadow:0 0 0 2px var(--wmp-accent-soft)}.ngxsp-wmp-stationForm{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin-bottom:14px;padding:10px 12px;border:1px solid var(--wmp-line);border-radius:var(--wmp-r-md);background:var(--wmp-s1)}.ngxsp-wmp-stationTitle{font-size:12px;font-weight:600;color:var(--wmp-text-2)}.ngxsp-wmp-discovered{flex:1 1 100%;display:grid;gap:4px;margin:0;padding:0;list-style:none}.ngxsp-wmp-discovered li{display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:36px;padding:2px 0 2px 8px;border-top:1px solid var(--wmp-line)}.ngxsp-wmp-discovered li span{display:grid;min-width:0}.ngxsp-wmp-discovered strong{overflow:hidden;font-size:13px;font-weight:600;text-overflow:ellipsis;white-space:nowrap}.ngxsp-wmp-discovered small,.ngxsp-wmp-discovered li.empty{overflow:hidden;color:var(--wmp-text-2);font-size:12px;text-overflow:ellipsis;white-space:nowrap}.ngxsp-wmp-serverKind{height:32px;padding:0 8px;border:1px solid var(--wmp-line-strong);border-radius:var(--wmp-r-sm);background:var(--wmp-s0);color:var(--wmp-text);font-size:12px}.ngxsp-wmp-stationForm input{flex:1 1 180px;min-width:0;height:32px;padding:0 10px;border:1px solid var(--wmp-line-strong);border-radius:var(--wmp-r-sm);background:var(--wmp-s0);color:var(--wmp-text);font-size:12px}.ngxsp-wmp-stationForm input::placeholder{color:var(--wmp-text-3)}.ngxsp-wmp-shell .ngxsp-wmp-stationForm input:focus-visible{outline:0;border-color:var(--wmp-accent);box-shadow:0 0 0 2px var(--wmp-accent-soft)}.ngxsp-wmp-stationHint{flex:1 0 100%;color:var(--wmp-text-3);font-size:11px}.ngxsp-wmp-targetBanner{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:8px 10px;border:1px solid var(--wmp-accent-soft);border-radius:var(--wmp-r-sm);background:var(--wmp-accent-soft);color:var(--wmp-text);font-size:12px}.ngxsp-wmp-targetBanner strong{margin-left:4px}.ngxsp-wmp-rowQueueAction.danger:hover,.ngxsp-wmp-cardAction.danger:hover{color:var(--wmp-danger, #e5484d)}.ngxsp-wmp-rowQueueAction.active{color:var(--wmp-accent)}.ngxsp-wmp-targets{display:grid;gap:6px}.ngxsp-wmp-target,.ngxsp-wmp-device{display:grid;gap:8px;padding:10px;border:1px solid var(--wmp-line);border-radius:var(--wmp-r-md);background:var(--wmp-s1)}.ngxsp-wmp-sheetButton,.ngxsp-wmp-sheetHeader{display:none}.ngxsp-wmp-lyrics{flex:1;display:grid;gap:8px;min-height:0;grid-template-rows:auto auto minmax(0,1fr)}.ngxsp-wmp-lyricsStatus{margin:0;color:var(--wmp-text-2);font-size:12px}.ngxsp-wmp-lyricsLines{display:grid;gap:2px;overflow-y:auto;padding-right:4px;scroll-behavior:smooth}.ngxsp-wmp-lyricsLine{margin:0;padding:6px 8px;border:0;border-radius:var(--wmp-r-sm);background:transparent;color:var(--wmp-text-2);font-size:13px;line-height:1.45;text-align:left;white-space:pre-wrap}button.ngxsp-wmp-lyricsLine{cursor:pointer}button.ngxsp-wmp-lyricsLine:hover{background:var(--wmp-s2);color:var(--wmp-text)}.ngxsp-wmp-lyricsLine.active{background:var(--wmp-s2);color:var(--wmp-text);font-weight:600}@media(prefers-reduced-motion:reduce){.ngxsp-wmp-lyricsLines{scroll-behavior:auto}}.ngxsp-wmp-targetMain{min-width:0;display:grid;grid-template-columns:32px minmax(0,1fr) auto;align-items:center;gap:10px}.ngxsp-wmp-targetIcon{width:32px;height:32px;display:grid;place-items:center;border-radius:var(--wmp-r-sm);background:var(--wmp-s3);color:var(--wmp-text-2)}.ngxsp-wmp-targetIcon ngxsp-smart-icon{width:16px;height:16px}.ngxsp-wmp-targetActions{display:flex;gap:4px;padding-left:38px}.ngxsp-wmp-targetActions button{height:32px;padding:0 8px;border:0;border-radius:4px;background:transparent;color:var(--wmp-text-2);font-size:12px}.ngxsp-wmp-targetActions button:hover{background:var(--wmp-s3);color:var(--wmp-text)}.ngxsp-wmp-targetActions button.danger:hover{color:var(--wmp-danger-text);background:#f25f5c29}.ngxsp-wmp-device{grid-template-columns:32px minmax(0,1fr);align-items:center;column-gap:10px}.ngxsp-wmp-device.active{border-color:#8b90ff66;background:var(--wmp-accent-soft)}.ngxsp-wmp-device.active .ngxsp-wmp-targetIcon{color:var(--wmp-accent)}.ngxsp-wmp-deviceActions{grid-column:2;display:flex;gap:6px}.ngxsp-wmp-transport{grid-area:transport;min-width:0;display:grid;grid-template-columns:minmax(0,1fr) minmax(320px,620px) minmax(min-content,1fr);align-items:center;gap:24px;padding:0 16px;border-top:1px solid var(--wmp-line);background:var(--wmp-s0)}.ngxsp-wmp-miniNow{min-width:0;display:grid;grid-template-columns:52px minmax(0,1fr) auto;align-items:center;gap:12px}.ngxsp-wmp-miniArt{width:52px;height:52px;display:grid;place-items:center;overflow:hidden;border-radius:6px;background:var(--wmp-s2);color:var(--wmp-text-3)}.ngxsp-wmp-miniCopy{min-width:0;display:grid;gap:2px}.ngxsp-wmp-miniCopy strong,.ngxsp-wmp-miniCopy small{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ngxsp-wmp-miniCopy strong{font-size:13px;font-weight:600}.ngxsp-wmp-miniCopy small{color:var(--wmp-text-2);font-size:12px}.ngxsp-wmp-transportCenter{min-width:0;display:grid;justify-items:center;gap:0}.ngxsp-wmp-transportButtons{display:flex;align-items:center;gap:12px}.ngxsp-wmp-seekRow{width:100%;display:grid;grid-template-columns:44px minmax(0,1fr) 44px;align-items:center;gap:10px;color:var(--wmp-text-2);font-size:11px;font-variant-numeric:tabular-nums}.ngxsp-wmp-seekRow small:first-child{text-align:right}.ngxsp-wmp-seek{min-height:32px;--ngxsp-track-size:4px;--ngxsp-track-bg:var(--wmp-s3);--ngxsp-buffered-bg:transparent;--ngxsp-accent:var(--wmp-text);--ngxsp-thumb-size:12px;--ngxsp-thumb-bg:var(--wmp-text);--ngxsp-preview-bg:var(--wmp-s2);--ngxsp-preview-border:var(--wmp-line-strong)}.ngxsp-wmp-seek:hover{--ngxsp-accent:var(--wmp-accent)}.ngxsp-wmp-seek ::ng-deep .ngxsp-ts-thumb{opacity:0;transition:opacity var(--wmp-dur) var(--wmp-ease)}.ngxsp-wmp-seek:hover ::ng-deep .ngxsp-ts-thumb,.ngxsp-wmp-seek:focus-visible ::ng-deep .ngxsp-ts-thumb{opacity:1}.ngxsp-wmp-transportModes{min-width:0;display:flex;align-items:center;justify-content:flex-end;gap:6px}.ngxsp-wmp-volumeControl{--ngxsp-control-size:32px;--ngxsp-volume-range-min:72px;--ngxsp-volume-range-max:112px;--ngxsp-volume-gap:4px;--ngxsp-volume-button-border:1px solid transparent;--ngxsp-volume-button-radius:6px;--ngxsp-volume-accent:var(--wmp-text);--ngxsp-volume-track-bg:var(--wmp-s3);--ngxsp-volume-thumb-bg:var(--wmp-text);--ngxsp-volume-thumb-size:12px;--ngxsp-volume-thumb-shadow:none;--ngxsp-focus-ring:0 0 0 2px var(--wmp-accent);color:var(--wmp-text-2)}.ngxsp-wmp-volumeControl:hover{--ngxsp-volume-accent:var(--wmp-accent);color:var(--wmp-text)}.ngxsp-wmp-dropOverlay{position:absolute;inset:12px;z-index:40;display:grid;place-content:center;justify-items:center;gap:10px;border:2px dashed var(--wmp-accent);border-radius:14px;background:var(--nsp-scrim, rgb(13 14 17 / .88));-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);color:var(--wmp-text);text-align:center;pointer-events:none}.ngxsp-wmp-dropIcon{width:56px;height:56px;display:grid;place-items:center;border-radius:14px;background:var(--wmp-accent-soft);color:var(--wmp-accent)}.ngxsp-wmp-dropIcon ngxsp-smart-icon{width:28px;height:28px}.ngxsp-wmp-dropOverlay strong{font-size:16px;font-weight:600}.ngxsp-wmp-dropOverlay span:last-child{color:var(--wmp-text-2)}@media(hover:none),(pointer:coarse){.ngxsp-wmp-rowFavorite,.ngxsp-wmp-rowQueueAction,.ngxsp-wmp-cardActions{opacity:1}.ngxsp-wmp-cardPlaySlot{opacity:1;transform:none}}@media(max-width:1180px){.ngxsp-wmp-shell{--wmp-rail-w:208px;--wmp-panel-w:284px}.ngxsp-wmp-sourceButton span{display:none}.ngxsp-wmp-sourceButton{width:32px;padding:0;justify-content:center}.ngxsp-wmp-tableHead,.ngxsp-wmp-trackSelect{grid-template-columns:32px minmax(0,2fr) minmax(0,1fr) 48px}.ngxsp-wmp-tableHead>span:nth-child(4),.ngxsp-wmp-albumCell{display:none}.ngxsp-wmp-nowPanel{grid-template-columns:148px minmax(0,1fr);gap:22px;padding:24px}.ngxsp-wmp-art{width:148px;height:148px}.ngxsp-wmp-nowCopy h1{font-size:26px}.ngxsp-wmp-transport{grid-template-columns:minmax(0,1fr) minmax(240px,1.4fr) minmax(min-content,1fr);gap:16px}.ngxsp-wmp-miniNow{grid-template-columns:44px minmax(0,1fr) auto}.ngxsp-wmp-miniArt{width:44px;height:44px}.ngxsp-wmp-volumeControl{--ngxsp-volume-range-min:56px;--ngxsp-volume-range-max:84px}}@media(max-width:960px)and (min-width:721px){.ngxsp-wmp-shell{--wmp-rail-w:188px;--wmp-panel-w:260px}.ngxsp-wmp-titleActions .ngxsp-wmp-status{display:none}.ngxsp-wmp-miniNow>.ngxsp-wmp-iconButton{display:none}}@media(max-height:760px)and (min-width:721px){.ngxsp-wmp-nowPanel{padding-top:20px;padding-bottom:20px}}@media(max-width:720px){.ngxsp-wmp-shell,.ngxsp-wmp-shell.ngxsp-wmp-panelHidden{height:auto;min-height:100%;grid-template-columns:minmax(0,1fr);grid-template-rows:auto auto auto auto;grid-template-areas:\"title\" \"rail\" \"main\" \"panel\";--wmp-transport-h:100px;padding-bottom:calc(var(--wmp-transport-h) + env(safe-area-inset-bottom,0px));overflow:visible}.ngxsp-wmp-shell.ngxsp-wmp-panelHidden .ngxsp-wmp-playlist{display:flex}.ngxsp-wmp-titlebar{grid-template-columns:minmax(0,1fr) auto;grid-template-rows:48px auto;row-gap:0;padding:0 12px 10px}.ngxsp-wmp-search{grid-column:1 / -1;grid-row:2;justify-self:stretch;width:100%}.ngxsp-wmp-titleActions .ngxsp-wmp-status{display:none}.ngxsp-wmp-titleActions>.ngxsp-wmp-iconButton{display:none}.ngxsp-wmp-rail{border-right:0;border-bottom:1px solid var(--wmp-line)}.ngxsp-wmp-nav{flex-direction:row;gap:4px;padding:8px 12px;overflow-x:auto}.ngxsp-wmp-navItem{width:auto;flex:0 0 auto;grid-template-columns:16px auto auto;height:32px;gap:6px}.ngxsp-wmp-navDivider{width:1px;height:20px;margin:6px 4px}.ngxsp-wmp-railTools{display:none}.ngxsp-wmp-lyricsLines{min-height:50vh}.ngxsp-wmp-main{overflow:visible}.ngxsp-wmp-nowPanel{grid-template-columns:96px minmax(0,1fr);align-items:center;gap:16px;padding:16px}.ngxsp-wmp-art{width:96px;height:96px;align-self:start}.ngxsp-wmp-playerSurface{min-height:120px;gap:10px}.ngxsp-wmp-nowCopy h1{font-size:20px}.ngxsp-wmp-nowOscillogram{grid-template-columns:minmax(0,1fr)}.ngxsp-wmp-nowTime{display:none}.ngxsp-wmp-nowActions{gap:8px}.ngxsp-wmp-nowActions .ngxsp-wmp-iconButton.outlined{width:36px;height:36px}.ngxsp-wmp-primaryButton{height:36px}.ngxsp-wmp-sectionHeader{padding:16px 16px 4px}.ngxsp-wmp-sectionScroll{padding:4px 8px 16px;gap:18px}.ngxsp-wmp-shell:not(.ngxsp-wmp-browseMode) .ngxsp-wmp-cardGrid{grid-template-columns:none;grid-auto-flow:column;grid-auto-columns:minmax(132px,42%);overflow-x:auto;scroll-snap-type:x mandatory;padding-bottom:4px}.ngxsp-wmp-card{scroll-snap-align:start}.ngxsp-wmp-shell:not(.ngxsp-wmp-browseMode) .ngxsp-wmp-cardGrid .ngxsp-wmp-card:nth-child(n+5){display:none}.ngxsp-wmp-browseMode .ngxsp-wmp-cardGrid{grid-template-columns:repeat(auto-fill,minmax(140px,1fr));gap:8px}.ngxsp-wmp-shell:not(.ngxsp-wmp-browseMode) .ngxsp-wmp-sectionScroll>.ngxsp-wmp-section:nth-child(n+2){display:none}.ngxsp-wmp-cardActions{top:14px;right:14px}.ngxsp-wmp-shell:not(.ngxsp-wmp-browseMode) .ngxsp-wmp-table .ngxsp-wmp-trackRow:nth-of-type(n+6){display:none}.ngxsp-wmp-tableHead{display:none}.ngxsp-wmp-trackRow{grid-template-columns:minmax(0,1fr) auto}.ngxsp-wmp-trackSelect{grid-template-columns:28px minmax(0,1fr) 44px;gap:10px}.ngxsp-wmp-trackSelect>.ngxsp-wmp-trackCell{display:none}.ngxsp-wmp-rowQueueAction{display:none}.ngxsp-wmp-rowActions{padding-right:4px}.ngxsp-wmp-playlist,.ngxsp-wmp-shell.ngxsp-wmp-panelHidden .ngxsp-wmp-playlist{display:none}.ngxsp-wmp-playlist.sheet,.ngxsp-wmp-shell.ngxsp-wmp-panelHidden .ngxsp-wmp-playlist.sheet{display:flex;position:fixed;left:0;right:0;top:0;bottom:calc(var(--wmp-transport-h) + env(safe-area-inset-bottom,0px));z-index:40;border:0;border-bottom:1px solid var(--wmp-line);overflow-y:auto;background:var(--wmp-s0);padding-top:env(safe-area-inset-top,0px)}.ngxsp-wmp-playlist.sheet .ngxsp-wmp-queueList .ngxsp-wmp-queueItem:nth-child(n+5){display:grid}.ngxsp-wmp-sheetHeader{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 16px;border-bottom:1px solid var(--wmp-line)}.ngxsp-wmp-sheetHeader strong{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:15px}.ngxsp-wmp-queueList{overflow:visible}.ngxsp-wmp-queueList .ngxsp-wmp-queueItem:nth-child(n+5){display:none}.ngxsp-wmp-transport{position:fixed;left:0;right:0;bottom:0;z-index:30;height:calc(var(--wmp-transport-h) + env(safe-area-inset-bottom,0px));grid-template-columns:minmax(0,1fr) auto;grid-template-rows:minmax(0,1fr) auto;gap:0 8px;padding:10px 12px calc(6px + env(safe-area-inset-bottom,0px));box-shadow:0 -12px 32px #00000059}.ngxsp-wmp-miniNow{grid-template-columns:44px minmax(0,1fr) auto}.ngxsp-wmp-miniNow>.ngxsp-wmp-iconButton{display:none}.ngxsp-wmp-miniNow>.ngxsp-wmp-sheetButton{display:grid}.ngxsp-wmp-miniArt{width:44px;height:44px}.ngxsp-wmp-transportCenter{display:contents}.ngxsp-wmp-transportButtons{grid-column:2;grid-row:1;gap:4px}.ngxsp-wmp-transportButtons>.ngxsp-wmp-iconButton:first-child,.ngxsp-wmp-transportButtons>.ngxsp-wmp-iconButton:last-child{display:none}.ngxsp-wmp-seekRow{grid-column:1;grid-row:2;grid-template-columns:minmax(0,1fr)}.ngxsp-wmp-seekRow small{display:none}.ngxsp-wmp-transportModes{grid-column:2;grid-row:2;gap:0}.ngxsp-wmp-volumeControl{--ngxsp-volume-range-min:56px;--ngxsp-volume-range-max:72px}}@media(max-width:480px){.ngxsp-wmp-transportModes>.ngxsp-wmp-iconButton{display:none}.ngxsp-wmp-transportModes>.ngxsp-wmp-devicesButton,.ngxsp-wmp-transportModes>.ngxsp-wmp-windowButton{display:grid}}.ngxsp-wmp-shell.ngxsp-wmp-compact{height:100vh;min-height:0;display:grid;grid-template:minmax(0,1fr) / minmax(0,1fr);padding:env(titlebar-area-height,0px) 0 0}.ngxsp-wmp-shell.ngxsp-wmp-compact>:not(.ngxsp-wmp-transport){display:none!important}.ngxsp-wmp-shell.ngxsp-wmp-compact .ngxsp-wmp-transport{grid-area:1 / 1;position:static;height:auto;min-height:0;border-top:0;box-shadow:none;-webkit-user-select:none;user-select:none;-webkit-app-region:drag}.ngxsp-wmp-compact .ngxsp-wmp-transport :is(button,ngxsp-time-slider,ngxsp-volume-control){-webkit-app-region:no-drag}.ngxsp-wmp-compact .ngxsp-wmp-sheetButton,.ngxsp-wmp-compact .ngxsp-wmp-transportModes>.ngxsp-wmp-iconButton{display:none}.ngxsp-wmp-compact .ngxsp-wmp-transportModes>.ngxsp-wmp-devicesButton{display:grid}.ngxsp-wmp-compactMini .ngxsp-wmp-transport{align-content:center;padding:10px 12px 8px}.ngxsp-wmp-compactMiniLyrics .ngxsp-wmp-transport{grid-template-rows:minmax(0,1fr) auto auto;align-content:stretch;row-gap:4px}.ngxsp-wmp-compactMiniLyrics .ngxsp-wmp-compactLyrics{grid-column:1 / -1;grid-row:1;align-self:stretch}.ngxsp-wmp-compactMiniLyrics .ngxsp-wmp-miniNow,.ngxsp-wmp-compactMiniLyrics .ngxsp-wmp-transportButtons{grid-row:2}.ngxsp-wmp-compactMiniLyrics .ngxsp-wmp-seekRow,.ngxsp-wmp-compactMiniLyrics .ngxsp-wmp-transportModes{grid-row:3}.ngxsp-wmp-compactLyrics{position:relative;min-height:0;display:grid;align-content:start;gap:2px;overflow-y:auto;padding:6px 4px 10px;border-bottom:1px solid var(--wmp-line);-webkit-app-region:no-drag;-webkit-mask-image:linear-gradient(transparent,#000 18%,#000 82%,transparent);mask-image:linear-gradient(transparent,#000 18%,#000 82%,transparent)}.ngxsp-wmp-compactLyrics::-webkit-scrollbar{display:none}.ngxsp-wmp-compactLyricsLine{margin:0;padding:3px 6px;border:0;border-radius:var(--wmp-r-sm);background:none;color:var(--wmp-text-3);font:inherit;font-size:13px;line-height:1.35;text-align:left;cursor:pointer;transition:color var(--wmp-dur) var(--wmp-ease),font-size var(--wmp-dur) var(--wmp-ease)}.ngxsp-wmp-compactLyricsLine.plain{cursor:default;color:var(--wmp-text-2)}.ngxsp-wmp-compactLyricsLine.active{color:var(--wmp-text);font-size:15px;font-weight:650}.ngxsp-wmp-compactLyricsLine:not(.plain):hover{color:var(--wmp-text-2)}.ngxsp-wmp-shell.ngxsp-wmp-compactBarLyrics .ngxsp-wmp-transport{grid-template-columns:minmax(0,1fr) minmax(0,1.2fr) minmax(280px,560px) minmax(0,1fr)}.ngxsp-wmp-barLyrics{min-width:0;display:grid;gap:2px;text-align:center}.ngxsp-wmp-barLyrics strong,.ngxsp-wmp-barLyrics span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ngxsp-wmp-barLyrics strong{color:var(--wmp-text);font-size:15px;font-weight:650}.ngxsp-wmp-barLyrics span{color:var(--wmp-text-3);font-size:12px}.ngxsp-wmp-compactActions{display:inline-flex;align-items:center;gap:2px}.ngxsp-wmp-compactActions button{width:28px;height:28px;display:grid;place-items:center;padding:0;border:0;border-radius:var(--wmp-r-sm);background:transparent;color:var(--wmp-text-2);cursor:pointer}.ngxsp-wmp-compactActions button:hover{background:var(--wmp-s2);color:var(--wmp-text)}.ngxsp-wmp-compactActions button:focus-visible{outline:2px solid var(--wmp-accent);outline-offset:1px}.ngxsp-wmp-compactActions ngxsp-smart-icon{width:16px;height:16px}@media(prefers-reduced-motion:reduce){.ngxsp-wmp-shell *,.ngxsp-wmp-shell *:before,.ngxsp-wmp-shell *:after{animation:none!important;transition:none!important}}\n"]
4008
+ styles: [":host{display:block;height:100%;min-height:0;color:var(--nsp-text, #ededf0);font-family:var(--nsp-font, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Ubuntu, sans-serif);font-size:13px;line-height:1.4}.ngxsp-wmp-shell{--wmp-bg:var(--nsp-bg, #0d0e11);--wmp-s0:var(--nsp-surface-0, #121317);--wmp-s1:var(--nsp-surface-1, #17181d);--wmp-s2:var(--nsp-surface-2, #1e1f25);--wmp-s3:var(--nsp-surface-3, #26272e);--wmp-line:var(--nsp-line, rgb(255 255 255 / .07));--wmp-line-strong:var(--nsp-line-strong, rgb(255 255 255 / .13));--wmp-text:var(--nsp-text, #ededf0);--wmp-text-2:var(--nsp-text-2, #a3a5ae);--wmp-text-3:var(--nsp-text-3, #80828c);--wmp-accent:var(--nsp-accent, #8b90ff);--wmp-accent-strong:var(--nsp-accent-strong, #5d63ee);--wmp-accent-soft:var(--nsp-accent-soft, rgb(139 144 255 / .14));--wmp-on-accent:var(--nsp-on-accent, #fff);--wmp-success:var(--nsp-success, #3ecf8e);--wmp-danger:var(--nsp-danger, #f25f5c);--wmp-danger-text:var(--nsp-danger-text, #ffb4b2);--wmp-r-sm:var(--nsp-radius-sm, 6px);--wmp-r-md:var(--nsp-radius-md, 10px);--wmp-ease:var(--nsp-ease, cubic-bezier(.2,0,0,1));--wmp-dur:var(--nsp-dur, .14s);--wmp-title-h:var(--nsp-titlebar-height, 48px);--wmp-rail-w:232px;--wmp-panel-w:320px;--wmp-transport-h:84px;position:relative;height:100%;min-height:600px;display:grid;grid-template-columns:var(--wmp-rail-w) minmax(0,1fr) var(--wmp-panel-w);grid-template-rows:var(--wmp-title-h) minmax(0,1fr) var(--wmp-transport-h);grid-template-areas:\"title title title\" \"rail main panel\" \"transport transport transport\";overflow:hidden;background:var(--wmp-bg);color:var(--wmp-text);box-sizing:border-box}.ngxsp-wmp-shell.ngxsp-wmp-panelHidden{grid-template-columns:var(--wmp-rail-w) minmax(0,1fr);grid-template-areas:\"title title\" \"rail main\" \"transport transport\"}.ngxsp-wmp-shell.ngxsp-wmp-panelHidden .ngxsp-wmp-playlist{display:none}.ngxsp-wmp-shell *{box-sizing:border-box;letter-spacing:0}.ngxsp-wmp-shell *::-webkit-scrollbar{width:10px;height:10px}.ngxsp-wmp-shell *::-webkit-scrollbar-track{background:transparent}.ngxsp-wmp-shell *::-webkit-scrollbar-thumb{background:var(--wmp-s3);border-radius:999px;border:3px solid transparent;background-clip:padding-box}.ngxsp-wmp-shell *::-webkit-scrollbar-thumb:hover{background-color:var(--wmp-line-strong)}button,input{font:inherit;color:inherit}button{cursor:pointer}img{display:block;width:100%;height:100%;object-fit:cover}h1,h2,h3,p{margin:0}ngxsp-smart-icon{width:18px;height:18px}.ngxsp-wmp-fileInput{display:none}.ngxsp-wmp-shell button:focus-visible,.ngxsp-wmp-shell input:focus-visible{outline:2px solid var(--wmp-accent);outline-offset:2px}.ngxsp-wmp-engineMount{position:absolute;width:1px;height:1px;overflow:hidden;opacity:0;pointer-events:none}.ngxsp-wmp-engineMount ngx-smart-player{display:block;width:1px;height:1px;min-height:0;border:0}.ngxsp-wmp-iconButton{width:32px;height:32px;flex:0 0 auto;display:inline-grid;place-items:center;padding:0;border:1px solid transparent;border-radius:var(--wmp-r-sm);background:transparent;color:var(--wmp-text-2);transition:background-color var(--wmp-dur) var(--wmp-ease),color var(--wmp-dur) var(--wmp-ease),border-color var(--wmp-dur) var(--wmp-ease)}.ngxsp-wmp-iconButton:hover:not(:disabled){background:var(--wmp-s2);color:var(--wmp-text)}.ngxsp-wmp-iconButton.active,.ngxsp-wmp-iconButton.active:hover:not(:disabled){color:var(--wmp-accent)}.ngxsp-wmp-iconButton.outlined{width:40px;height:40px;border-color:var(--wmp-line-strong);border-radius:999px}.ngxsp-wmp-iconButton:disabled{opacity:.35;cursor:default}.ngxsp-wmp-iconButton.active ngxsp-smart-icon[name=heart] ::ng-deep path{fill:currentColor}.ngxsp-wmp-playButton{width:36px;height:36px;display:inline-grid;place-items:center;padding:0;border:0;border-radius:999px;background:var(--wmp-text);color:var(--wmp-bg);transition:transform var(--wmp-dur) var(--wmp-ease),background-color var(--wmp-dur) var(--wmp-ease)}.ngxsp-wmp-playButton:hover{transform:scale(1.05)}.ngxsp-wmp-primaryButton{height:40px;display:inline-flex;align-items:center;gap:8px;padding:0 20px 0 16px;border:0;border-radius:999px;background:var(--wmp-accent-strong);color:var(--wmp-on-accent);font-weight:600;transition:filter var(--wmp-dur) var(--wmp-ease),transform var(--wmp-dur) var(--wmp-ease)}.ngxsp-wmp-primaryButton:hover{filter:brightness(1.1)}.ngxsp-wmp-primaryButton:active{transform:scale(.98)}.ngxsp-wmp-smallButton{height:32px;display:inline-flex;align-items:center;justify-content:center;gap:6px;padding:0 10px;border:1px solid var(--wmp-line-strong);border-radius:var(--wmp-r-sm);background:transparent;color:var(--wmp-text);font-size:12px;font-weight:500;white-space:nowrap}.ngxsp-wmp-smallButton ngxsp-smart-icon{width:14px;height:14px}.ngxsp-wmp-smallButton:hover:not(:disabled){background:var(--wmp-s2)}.ngxsp-wmp-smallButton.primary{border-color:transparent;background:var(--wmp-accent-strong);color:var(--wmp-on-accent)}.ngxsp-wmp-smallButton.primary:hover:not(:disabled){background:var(--wmp-accent-strong);filter:brightness(1.1)}.ngxsp-wmp-smallButton:disabled{opacity:.45;cursor:default}.ngxsp-wmp-segmented{display:inline-flex;align-items:center;gap:2px;padding:2px;border-radius:8px;background:var(--wmp-s2)}.ngxsp-wmp-segmented button{height:32px;min-width:0;padding:0 10px;border:0;border-radius:6px;background:transparent;color:var(--wmp-text-2);font-size:12px;font-weight:500;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ngxsp-wmp-segmented button:hover{color:var(--wmp-text)}.ngxsp-wmp-segmented button.active{background:var(--wmp-s3);color:var(--wmp-text);box-shadow:0 1px 2px #0000004d}.ngxsp-wmp-titlebar{grid-area:title;min-width:0;display:grid;grid-template-columns:calc(var(--wmp-rail-w) - 16px) minmax(0,1fr) minmax(0,max-content);align-items:center;gap:16px;padding:0 calc(12px + var(--nsp-titlebar-inset-end, 0px)) 0 calc(16px + var(--nsp-titlebar-inset-start, 0px));border-bottom:1px solid var(--wmp-line);background:var(--wmp-s0);-webkit-app-region:drag;-webkit-user-select:none;user-select:none}.ngxsp-wmp-titlebar button,.ngxsp-wmp-titlebar input,.ngxsp-wmp-titlebar label,.ngxsp-wmp-titlebar .ngxsp-wmp-status{-webkit-app-region:no-drag}.ngxsp-wmp-brand{min-width:0;display:flex;align-items:center;gap:10px}.ngxsp-wmp-brandIcon{width:26px;height:26px;flex:0 0 auto;display:grid;place-items:center;border-radius:7px;color:#fff;background:linear-gradient(145deg,#8b90ff,#5d63ee 55%,#4146c9);box-shadow:inset 0 1px #ffffff38}.ngxsp-wmp-brandIcon ngxsp-smart-icon{width:15px;height:15px}.ngxsp-wmp-brandLogo{width:26px;height:26px;flex:0 0 auto;display:block}.ngxsp-wmp-brandName{font-size:13px;font-weight:600;white-space:nowrap}.ngxsp-wmp-quickViews{display:flex;align-items:center;gap:2px;min-width:0}.ngxsp-wmp-backButton{display:inline-flex;align-items:center;gap:4px;margin:0 0 12px;padding:6px 10px 6px 6px;border:0;border-radius:8px;background:transparent;color:var(--wmp-ink-2);font-size:13px;cursor:pointer}.ngxsp-wmp-backButton:hover{background:var(--wmp-s2);color:var(--wmp-ink)}@media(hover:none){.ngxsp-wmp-backButton:hover{background:transparent;color:var(--wmp-ink-2)}}.ngxsp-wmp-quickView{display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;flex:0 0 auto;border:0;border-radius:8px;background:transparent;color:var(--wmp-ink-2);cursor:pointer}.ngxsp-wmp-quickView:hover{background:var(--wmp-s2);color:var(--wmp-ink)}.ngxsp-wmp-quickView.active{background:var(--wmp-s2);color:var(--wmp-accent)}@media(hover:none){.ngxsp-wmp-quickView:hover{background:transparent;color:var(--wmp-ink-2)}.ngxsp-wmp-quickView.active{background:var(--wmp-s2);color:var(--wmp-accent)}}.ngxsp-wmp-search{position:relative;justify-self:center;width:100%;max-width:440px;height:34px;display:block;color:var(--wmp-text-3)}.ngxsp-wmp-search ngxsp-smart-icon{position:absolute;left:11px;top:50%;width:16px;height:16px;transform:translateY(-50%);pointer-events:none}.ngxsp-wmp-search input{width:100%;height:100%;padding:0 10px 0 35px;border:1px solid transparent;border-radius:8px;outline:0;background:var(--wmp-s2);color:var(--wmp-text);font-size:13px;transition:border-color var(--wmp-dur) var(--wmp-ease),background-color var(--wmp-dur) var(--wmp-ease),box-shadow var(--wmp-dur) var(--wmp-ease)}.ngxsp-wmp-search input:hover{border-color:var(--wmp-line-strong)}.ngxsp-wmp-shell .ngxsp-wmp-search input:focus,.ngxsp-wmp-shell .ngxsp-wmp-search input:focus-visible{outline:0;border-color:var(--wmp-accent);background:var(--wmp-s1);box-shadow:0 0 0 3px var(--wmp-accent-soft)}.ngxsp-wmp-search input::placeholder{color:var(--wmp-text-3)}.ngxsp-wmp-titleActions{min-width:0;display:flex;align-items:center;justify-content:flex-end;gap:8px}.ngxsp-wmp-status{min-width:0;max-width:300px;height:26px;display:inline-flex;align-items:center;gap:7px;padding:0 10px;border-radius:999px;background:var(--wmp-s2);color:var(--wmp-text-2);font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ngxsp-wmp-status:before{content:\"\";width:6px;height:6px;flex:0 0 auto;border-radius:50%;background:var(--wmp-accent)}.ngxsp-wmp-status.success:before{background:var(--wmp-success)}.ngxsp-wmp-status.error{color:var(--wmp-danger-text);background:#f25f5c29}.ngxsp-wmp-status.error:before{background:var(--wmp-danger)}.ngxsp-wmp-rail{grid-area:rail;min-width:0;min-height:0;display:flex;flex-direction:column;border-right:1px solid var(--wmp-line);background:var(--wmp-s0)}.ngxsp-wmp-nav{flex:1;min-height:0;display:flex;flex-direction:column;gap:1px;padding:12px 8px;overflow:auto}.ngxsp-wmp-navItem{width:100%;height:34px;flex:0 0 auto;display:grid;grid-template-columns:18px minmax(0,1fr) auto;align-items:center;gap:10px;padding:0 10px;border:0;border-radius:var(--wmp-r-sm);background:transparent;color:var(--wmp-text-2);text-align:left;transition:background-color var(--wmp-dur) var(--wmp-ease),color var(--wmp-dur) var(--wmp-ease)}.ngxsp-wmp-navItem span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:500}.ngxsp-wmp-navItem small{color:var(--wmp-text-3);font-size:11px;font-variant-numeric:tabular-nums}.ngxsp-wmp-navItem:hover{background:var(--wmp-s2);color:var(--wmp-text)}.ngxsp-wmp-navItem.active{background:var(--wmp-s3);color:var(--wmp-text)}.ngxsp-wmp-navItem.active ngxsp-smart-icon{color:var(--wmp-accent)}.ngxsp-wmp-navItem.active small{color:var(--wmp-text-2)}.ngxsp-wmp-navItem .ngxsp-wmp-navChevron{width:14px;height:14px;opacity:.55}.ngxsp-wmp-navItem.active .ngxsp-wmp-navChevron{opacity:.8}.ngxsp-wmp-navChild{height:30px;grid-template-columns:minmax(0,1fr) auto;padding-left:38px}.ngxsp-wmp-navChild span{font-weight:400;color:var(--wmp-text-3)}.ngxsp-wmp-navChild:hover span{color:var(--wmp-text)}.ngxsp-wmp-navChild.active{background:var(--wmp-s1)}.ngxsp-wmp-navChild.active span{color:var(--wmp-text);font-weight:500}.ngxsp-wmp-navDivider{display:block;flex:0 0 auto;height:1px;margin:10px;background:var(--wmp-line)}ngxsp-settings{--ngxsp-settings-surface:var(--wmp-s1);--ngxsp-settings-text:var(--wmp-text);--ngxsp-settings-muted:var(--wmp-text-2);--ngxsp-settings-line:var(--wmp-line);--ngxsp-settings-control:var(--wmp-s3);--ngxsp-settings-accent:var(--wmp-accent);--ngxsp-settings-radius:var(--wmp-r-md, 10px)}.ngxsp-wmp-railTools{display:grid;gap:12px;padding:12px;border-top:1px solid var(--wmp-line)}.ngxsp-wmp-sourceButton{flex:0 0 auto;height:32px;display:inline-flex;align-items:center;gap:7px;padding:0 12px 0 10px;border:0;border-radius:var(--wmp-r-sm);background:var(--wmp-accent-strong);color:var(--wmp-on-accent);font-size:12px;font-weight:600;white-space:nowrap;cursor:pointer}.ngxsp-wmp-sourceButton ngxsp-smart-icon{width:16px;height:16px}.ngxsp-wmp-sourceButton:hover{filter:brightness(1.1)}.ngxsp-wmp-sourceButton:disabled{opacity:.7;cursor:progress}.ngxsp-wmp-trail{display:flex;flex-wrap:wrap;align-items:center;gap:6px;padding:0 2px 10px;font-size:12px;color:var(--wmp-text-3)}.ngxsp-wmp-trail b{color:var(--wmp-text);font-weight:600}.ngxsp-wmp-trailStep{padding:2px 6px;border:0;border-radius:6px;background:transparent;color:inherit;font:inherit;font-size:12px;cursor:pointer}.ngxsp-wmp-trailStep:hover,.ngxsp-wmp-trailStep:focus-visible{background:var(--wmp-surface-2,rgba(127,127,127,.12));color:var(--wmp-text)}.ngxsp-wmp-libraryInfo{min-width:0;display:grid;gap:2px;padding:0 4px}.ngxsp-wmp-libraryInfo strong,.ngxsp-wmp-libraryInfo small{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ngxsp-wmp-libraryInfo strong{font-size:12px;font-weight:600}.ngxsp-wmp-libraryInfo small{color:var(--wmp-text-3);font-size:11px}.ngxsp-wmp-libraryStatus{display:flex;align-items:center;gap:6px}.ngxsp-wmp-libraryStatus:before{content:\"\";width:6px;height:6px;flex:0 0 auto;border-radius:50%;background:var(--wmp-success)}.ngxsp-wmp-libraryStatus.busy:before{background:var(--wmp-accent);animation:ngxsp-wmp-pulse 1.2s ease-in-out infinite}@keyframes ngxsp-wmp-pulse{0%,to{opacity:.35}50%{opacity:1}}.ngxsp-wmp-main{grid-area:main;min-width:0;min-height:0;display:flex;flex-direction:column;overflow:auto;background:var(--wmp-bg)}.ngxsp-wmp-nowPanel{position:relative;flex:0 0 auto;display:grid;grid-template-columns:184px minmax(0,1fr);align-items:end;gap:28px;padding:32px 32px 28px;background:radial-gradient(120% 140% at 0% 0%,rgb(93 99 238 / .2) 0%,transparent 60%),linear-gradient(180deg,var(--wmp-s1) 0%,var(--wmp-bg) 100%);border-bottom:1px solid var(--wmp-line)}.ngxsp-wmp-art{width:184px;height:184px;display:grid;place-items:center;overflow:hidden;border-radius:var(--wmp-r-md);background:linear-gradient(145deg,var(--wmp-s3),var(--wmp-s1));color:var(--wmp-text-3);box-shadow:var(--nsp-shadow-media, 0 18px 40px rgb(0 0 0 / .45))}.ngxsp-wmp-artNote ngxsp-smart-icon{width:56px;height:56px}.ngxsp-wmp-playerSurface{min-width:0;min-height:160px;display:flex;flex-direction:column;justify-content:flex-end;gap:16px}.ngxsp-wmp-nowCopy{min-width:0;display:grid;gap:4px}.ngxsp-wmp-eyebrow{display:inline-flex;align-items:center;gap:8px;color:var(--wmp-text-2);font-size:11px;font-weight:600}.ngxsp-wmp-liveDot{width:6px;height:6px;border-radius:50%;background:var(--wmp-success);box-shadow:0 0 0 3px #3ecf8e2e}.ngxsp-wmp-nowCopy h1{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:32px;line-height:1.15;font-weight:700}.ngxsp-wmp-shell .ngxsp-wmp-nowCopy h1{letter-spacing:-.015em}.ngxsp-wmp-nowCopy p{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--wmp-text);font-size:14px;font-weight:500}.ngxsp-wmp-nowCopy small{color:var(--wmp-text-2);font-size:12px}.ngxsp-wmp-nowActions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.ngxsp-wmp-nowOscillogram{min-width:0;min-height:48px;display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-rows:40px 2px;column-gap:14px;row-gap:6px;align-items:end}.ngxsp-wmp-nowWaveform{grid-column:1;grid-row:1;height:40px;display:flex;align-items:flex-end;gap:3px;overflow:hidden}.ngxsp-wmp-nowWaveform span{flex:1 1 0;min-width:2px;border-radius:2px 2px 0 0;background:var(--wmp-line-strong);transform-origin:bottom;transition:background-color .24s var(--wmp-ease)}.ngxsp-wmp-nowWaveform span.played{background:var(--wmp-accent)}.ngxsp-wmp-nowProgressLine{grid-column:1;grid-row:2;position:relative;height:2px;border-radius:999px;background:var(--wmp-line);overflow:hidden}.ngxsp-wmp-nowProgressLine i{position:absolute;inset:0 auto 0 0;background:var(--wmp-accent);border-radius:inherit}.ngxsp-wmp-nowTime{grid-column:2;grid-row:1 / span 2;align-self:end;display:flex;gap:4px;color:var(--wmp-text-2);font-size:12px;font-variant-numeric:tabular-nums}.ngxsp-wmp-nowTime small+small:before{content:\"/ \";color:var(--wmp-text-3)}.ngxsp-wmp-emptyPlayer{display:grid;justify-items:start;gap:10px}.ngxsp-wmp-emptyPlayer h1{font-size:28px;font-weight:700}.ngxsp-wmp-emptyPlayer p{color:var(--wmp-text-2);max-width:52ch}.ngxsp-wmp-shell .ngxsp-wmp-cover:not(.has-image){color:#fff9;background:radial-gradient(90% 70% at 20% 10%,rgb(255 255 255 / .16),transparent 60%),linear-gradient(140deg,var(--tone-a),var(--tone-b))}.ngxsp-wmp-cover[data-tone=\"0\"]{--tone-a:#4a4fc4;--tone-b:#1d1e45}.ngxsp-wmp-cover[data-tone=\"1\"]{--tone-a:#1f8078;--tone-b:#0e2a2c}.ngxsp-wmp-cover[data-tone=\"2\"]{--tone-a:#b3782a;--tone-b:#35230f}.ngxsp-wmp-cover[data-tone=\"3\"]{--tone-a:#a83a62;--tone-b:#2e1120}.ngxsp-wmp-cover[data-tone=\"4\"]{--tone-a:#2f6fa8;--tone-b:#0f2031}.ngxsp-wmp-cover[data-tone=\"5\"]{--tone-a:#6f7f2e;--tone-b:#1f240f}.ngxsp-wmp-cover[data-tone=\"6\"]{--tone-a:#7a48b8;--tone-b:#231436}.ngxsp-wmp-cover[data-tone=\"7\"]{--tone-a:#b0543a;--tone-b:#321710}.ngxsp-wmp-librarySurface{flex:1 0 auto;min-width:0;display:flex;flex-direction:column}.ngxsp-wmp-sectionHeader{display:grid;gap:2px;padding:24px 32px 8px}.ngxsp-wmp-sectionHeader>span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--wmp-text-2);font-size:12px;font-weight:600}.ngxsp-wmp-backButton{justify-self:start;display:inline-flex;align-items:center;gap:4px;max-width:100%;height:28px;margin:0 0 6px -8px;padding:0 10px 0 4px;border:0;border-radius:999px;background:transparent;color:var(--wmp-text-2);font:inherit;font-size:13px;font-weight:600;cursor:pointer}.ngxsp-wmp-backButton ngxsp-smart-icon{flex:none;width:18px;height:18px}.ngxsp-wmp-backButton span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ngxsp-wmp-backButton:hover{background:var(--wmp-s2, rgb(127 127 127 / .14));color:var(--wmp-text)}.ngxsp-wmp-sectionHeader h1,.ngxsp-wmp-sectionHeader h2{min-width:0;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;overflow-wrap:anywhere;font-size:22px;line-height:1.2;font-weight:700}.ngxsp-wmp-sectionHeader:has(.ngxsp-wmp-viewSwitch){grid-template-columns:minmax(0,1fr) auto;align-items:center}.ngxsp-wmp-sectionHeader:has(.ngxsp-wmp-viewSwitch)>span,.ngxsp-wmp-sectionHeader:has(.ngxsp-wmp-viewSwitch)>h1,.ngxsp-wmp-sectionHeader:has(.ngxsp-wmp-viewSwitch)>h2{grid-column:1}.ngxsp-wmp-viewSwitch{grid-column:2;grid-row:1 / span 2;display:flex;gap:6px}.ngxsp-wmp-viewSwitch button{height:30px;padding:0 12px;border:1px solid var(--wmp-line);border-radius:15px;background:transparent;color:var(--wmp-text-3);font:inherit;font-size:12px;cursor:pointer}.ngxsp-wmp-viewSwitch button:hover:not(.active){background:var(--wmp-s2);color:var(--wmp-text-2)}.ngxsp-wmp-viewSwitch button.active{border-color:var(--wmp-line-strong);color:var(--wmp-text)}.ngxsp-wmp-sectionHeader.slim{grid-template-columns:minmax(0,1fr) auto;align-items:center;column-gap:8px;padding:14px 20px 8px}.ngxsp-wmp-sectionHeader.slim>span{grid-column:1}.ngxsp-wmp-sectionHeader.slim strong{grid-column:1;font-size:13px;font-weight:600}.ngxsp-wmp-sectionHeader.slim .ngxsp-wmp-smallButton{grid-column:2;grid-row:1 / span 2}.ngxsp-wmp-detailHead{display:flex;flex-wrap:wrap;align-items:flex-start;gap:20px;padding-top:2px}.ngxsp-wmp-detailArt{flex:none;width:176px;height:176px;overflow:hidden;border:1px solid var(--wmp-line);border-radius:14px;background:linear-gradient(145deg,var(--wmp-s3),var(--wmp-s1))}.ngxsp-wmp-detailArt img{display:block;width:100%;height:100%;object-fit:cover}.ngxsp-wmp-detailText{flex:1 1 320px;min-width:0}.ngxsp-wmp-detailHead h1{font-size:24px;line-height:1.2;font-weight:700}.ngxsp-wmp-detailMeta{margin:6px 0 0;color:var(--wmp-text-2);font-size:13px;overflow-wrap:anywhere}.ngxsp-wmp-detailFormat{margin:3px 0 0;color:var(--wmp-text-3);font-size:12px;overflow-wrap:anywhere}.ngxsp-wmp-detailActions{display:flex;flex-wrap:wrap;gap:8px;margin-top:16px}.ngxsp-wmp-detailAction{display:inline-flex;align-items:center;gap:7px;height:34px;padding:0 16px;border:1px solid var(--wmp-line-strong);border-radius:999px;background:transparent;color:inherit;font:inherit;font-size:13px;font-weight:600;cursor:pointer}.ngxsp-wmp-detailAction ngxsp-smart-icon{width:16px;height:16px}.ngxsp-wmp-detailAction:hover:not(:disabled){background:var(--wmp-s2, rgb(127 127 127 / .14))}.ngxsp-wmp-detailAction.primary{border-color:transparent;background:var(--wmp-accent-strong);color:var(--wmp-on-accent)}.ngxsp-wmp-detailAction.primary:hover:not(:disabled){filter:brightness(1.1)}.ngxsp-wmp-detailAction.compact{width:34px;padding:0;justify-content:center}.ngxsp-wmp-detailAction.active{border-color:transparent;background:var(--wmp-accent-soft);color:var(--wmp-accent)}.ngxsp-wmp-detailAction.accent{border-color:var(--wmp-accent);color:var(--wmp-accent)}.ngxsp-wmp-detailAction:disabled{opacity:.45;cursor:default}.ngxsp-wmp-playerCopy .ngxsp-wmp-detailActions{justify-content:center}.ngxsp-wmp-sourcesPage,.ngxsp-wmp-playlistsPage{display:grid;gap:10px;padding-top:16px}.ngxsp-wmp-playlistsPage h1{margin:0;font-size:19px;font-weight:600}.ngxsp-wmp-playlistsHead p{margin:5px 0 0;color:var(--wmp-text-3);font-size:12px}.ngxsp-wmp-sourcesHead{display:flex;flex-wrap:wrap;align-items:flex-end;justify-content:space-between;gap:16px;margin-bottom:8px}.ngxsp-wmp-sourcesHead h1{margin:0;font-size:21px;font-weight:600;letter-spacing:-.2px}.ngxsp-wmp-sourcesHead p{margin:5px 0 0;color:var(--wmp-text-3);font-size:12px}.ngxsp-wmp-sourceGroupTitle{margin:0;font-size:12px;font-weight:600;color:var(--wmp-text-2)}.ngxsp-wmp-sourceRows{display:grid;gap:10px;margin-bottom:14px}.ngxsp-wmp-sourceRow{display:flex;flex-wrap:wrap;align-items:center;gap:12px;padding:12px 14px;border:1px solid var(--wmp-line);border-radius:12px;background:var(--wmp-s1)}.ngxsp-wmp-sourceRow.active{border-color:var(--wmp-accent)}.ngxsp-wmp-sourceRow.footer{border-style:dashed;background:transparent}button.ngxsp-wmp-sourceRow{width:100%;text-align:start;color:inherit;font:inherit;cursor:pointer}button.ngxsp-wmp-sourceRow:hover,button.ngxsp-wmp-sourceRow:focus-visible{border-color:var(--wmp-line-strong)}.ngxsp-wmp-sourceIcon{flex:none;display:grid;place-items:center;width:34px;height:34px;border-radius:9px;background:var(--wmp-s3);color:var(--wmp-text-2)}.ngxsp-wmp-sourceIcon.dashed{border:1px dashed var(--wmp-line-strong);background:transparent;color:var(--wmp-text-3)}.ngxsp-wmp-sourceRow.active .ngxsp-wmp-sourceIcon{background:var(--wmp-accent-soft);color:var(--wmp-accent)}.ngxsp-wmp-sourceIcon ngxsp-smart-icon{width:19px;height:19px}.ngxsp-wmp-sourceCopy{flex:1 1 180px;min-width:0;display:grid;gap:2px}.ngxsp-wmp-sourceCopy strong{font-size:13px;font-weight:600}.ngxsp-wmp-sourceCopy small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--wmp-text-3);font-size:11.5px}.ngxsp-wmp-sourceState{flex:none;padding:3px 9px;border-radius:11px;background:var(--wmp-s3);color:var(--wmp-text-2);font-size:11px;font-weight:600}.ngxsp-wmp-sourceRow.active .ngxsp-wmp-sourceState{background:var(--wmp-accent-soft);color:var(--wmp-accent)}.ngxsp-wmp-searchTitle{margin:0;font-size:21px;font-weight:600;letter-spacing:-.2px}.ngxsp-wmp-searchSummary,.ngxsp-wmp-viewIntro{margin:4px 0 0;color:var(--wmp-text-3);font-size:12px}.ngxsp-wmp-bellButton{position:relative}.ngxsp-wmp-bellWrap{position:relative;display:inline-flex}.ngxsp-wmp-notificationsPopover{position:absolute;top:calc(100% + 10px);right:0;z-index:60;width:392px;max-height:min(70vh,460px);overflow:auto;padding:12px;border:1px solid var(--wmp-line);border-radius:14px;background:var(--wmp-s1);color:var(--wmp-text);box-shadow:0 22px 54px #0000008c;text-align:left}.ngxsp-wmp-notificationsPopover ngxsp-notifications{gap:14px}.ngxsp-wmp-bellDot{position:absolute;top:5px;right:5px;width:7px;height:7px;border-radius:50%;background:var(--wmp-danger);box-shadow:0 0 0 2px var(--wmp-s0)}.ngxsp-wmp-tabBar,.ngxsp-wmp-tabFacets{display:none}.ngxsp-wmp-playerPage{position:relative;min-height:100%;display:flex;flex-direction:column;justify-content:center;padding:40px 44px;background:radial-gradient(110% 80% at 20% 0%,var(--wmp-s2),var(--wmp-bg))}.ngxsp-wmp-playerBack{position:absolute;left:16px;top:16px;display:inline-flex;align-items:center;gap:8px;height:32px;padding:0 13px 0 10px;border:0;border-radius:16px;background:var(--wmp-s1);color:var(--wmp-text);font:inherit;font-size:12px;cursor:pointer}.ngxsp-wmp-playerBack ngxsp-smart-icon{width:15px;height:15px}.ngxsp-wmp-playerBack:hover{background:var(--wmp-s3)}.ngxsp-wmp-playerStage{display:flex;flex-wrap:wrap;gap:32px;align-items:center;min-height:0}.ngxsp-wmp-playerSide{flex:none;width:268px;display:flex;flex-direction:column;align-items:center;gap:18px}.ngxsp-wmp-playerArt{display:grid;place-items:center;width:268px;height:268px;overflow:hidden;border:1px solid var(--wmp-line);border-radius:16px;box-shadow:0 22px 50px #00000080}.ngxsp-wmp-playerArt img{display:block;width:100%;height:100%;object-fit:cover}.ngxsp-wmp-playerArt ngxsp-smart-icon{width:64px;height:64px;opacity:.55}.ngxsp-wmp-playerCopy{text-align:center;max-width:268px}.ngxsp-wmp-playerCopy h1{margin:0;font-size:20px;font-weight:600;letter-spacing:-.2px;overflow-wrap:anywhere}.ngxsp-wmp-playerCopy p{margin:6px 0 0;color:var(--wmp-text-2);font-size:13px;overflow-wrap:anywhere}.ngxsp-wmp-playerCopy small{display:block;margin:3px 0 0;color:var(--wmp-text-3);font-size:11.5px;overflow-wrap:anywhere}.ngxsp-wmp-playerWave{width:100%;height:40px;display:flex;align-items:flex-end;gap:2px}.ngxsp-wmp-playerWave span{flex:1;border-radius:1px;background:var(--wmp-accent-soft)}.ngxsp-wmp-playerWave span.played{background:var(--wmp-accent);opacity:.55}.ngxsp-wmp-playerLyrics{flex:1 1 320px;min-width:0;min-height:0;max-height:100%;align-self:stretch;display:flex;flex-direction:column;justify-content:center;overflow:hidden}.ngxsp-wmp-playerLyricsHead{display:flex;align-items:center;gap:9px;margin-bottom:14px;color:var(--wmp-text-3);font-size:11.5px}.ngxsp-wmp-playerLyricsHead ngxsp-smart-icon{width:14px;height:14px}.ngxsp-wmp-playerLyricsLines{display:flex;flex-direction:column;min-height:0;overflow-y:auto;scrollbar-width:none;-webkit-mask-image:linear-gradient(transparent,#000 18%,#000 82%,transparent);mask-image:linear-gradient(transparent,#000 18%,#000 82%,transparent)}.ngxsp-wmp-playerLyricsLines::-webkit-scrollbar{display:none}.ngxsp-wmp-playerLyricsLines button,.ngxsp-wmp-playerLyricsLines p{margin:0;padding:6px 0;border:0;background:transparent;color:var(--wmp-text-3);font:inherit;font-size:16px;line-height:1.4;text-align:start}.ngxsp-wmp-playerLyricsLines button{cursor:pointer}.ngxsp-wmp-playerLyricsLines button:hover{color:var(--wmp-text-2)}.ngxsp-wmp-playerLyricsLines button.active{color:var(--wmp-text);font-size:19px;font-weight:600}@media(max-width:1024px){.ngxsp-wmp-shell:has(.ngxsp-wmp-playerPage) .ngxsp-wmp-rail{display:none}.ngxsp-wmp-playerPage{padding:24px 16px 16px}.ngxsp-wmp-playerStage{justify-content:center}.ngxsp-wmp-playerLyrics{max-height:40vh}.ngxsp-wmp-playerBack{position:static;align-self:flex-start;margin-bottom:14px}}.ngxsp-wmp-searchFilters{display:flex;flex-wrap:wrap;gap:6px}.ngxsp-wmp-searchFilters button{height:30px;display:inline-flex;align-items:center;gap:7px;padding:0 13px;border:1px solid var(--wmp-line);border-radius:15px;background:transparent;color:var(--wmp-text-3);font:inherit;font-size:12px;cursor:pointer}.ngxsp-wmp-searchFilters button small{opacity:.7;font-size:11px}.ngxsp-wmp-searchFilters button:hover:not(.active):not(:disabled){background:var(--wmp-s2);color:var(--wmp-text-2)}.ngxsp-wmp-searchFilters button.active{border-color:transparent;background:var(--wmp-accent);color:var(--wmp-on-accent);font-weight:600}.ngxsp-wmp-searchFilters button.active small{opacity:.75}.ngxsp-wmp-searchFilters button:disabled{opacity:.45;cursor:default}.ngxsp-wmp-searchBestBlock{display:grid;gap:10px}.ngxsp-wmp-searchBest{display:flex;flex-wrap:wrap;gap:16px;padding:14px;border:1px solid var(--wmp-accent);border-radius:12px;background:var(--wmp-s1)}.ngxsp-wmp-searchBestArt{flex:none;display:grid;place-items:center;width:140px;height:140px;overflow:hidden;padding:0;border:1px solid var(--wmp-line);border-radius:12px;cursor:pointer}.ngxsp-wmp-searchBestArt img{display:block;width:100%;height:100%;object-fit:cover}.ngxsp-wmp-searchBestArt ngxsp-smart-icon{width:34px;height:34px;opacity:.6}.ngxsp-wmp-searchBestCopy{flex:1 1 260px;min-width:0}.ngxsp-wmp-searchBestCopy h3{margin:0;font-size:15px;font-weight:600;overflow-wrap:anywhere}.ngxsp-wmp-searchBestCopy p{margin:5px 0 0;color:var(--wmp-text-2);font-size:12px;overflow-wrap:anywhere}.ngxsp-wmp-searchBestCopy small{display:block;margin:8px 0 0;color:var(--wmp-text-3);font-size:11.5px}.ngxsp-wmp-searchBestCopy .ngxsp-wmp-detailActions{margin-top:14px}mark{background:var(--wmp-accent-soft);color:var(--wmp-text);border-radius:3px;padding:0 2px}.ngxsp-wmp-recentSearches{display:grid;gap:2px;padding:0 8px 8px}.ngxsp-wmp-recentSearches button{display:flex;align-items:center;gap:10px;height:34px;padding:0 10px;border:0;border-radius:9px;background:transparent;color:var(--wmp-text-2);font:inherit;font-size:12.5px;text-align:start;cursor:pointer}.ngxsp-wmp-recentSearches button span{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ngxsp-wmp-recentSearches button ngxsp-smart-icon{width:14px;height:14px;opacity:.7}.ngxsp-wmp-recentSearches button:hover,.ngxsp-wmp-recentSearches button.active{background:var(--wmp-s2);color:var(--wmp-text)}@media(max-width:720px){.ngxsp-wmp-detailArt{width:112px;height:112px}.ngxsp-wmp-detailHead h1{font-size:20px}}.ngxsp-wmp-sectionScroll{display:grid;min-width:0;gap:28px;padding:8px 24px 32px}.ngxsp-wmp-section{min-width:0;display:grid;gap:10px}.ngxsp-wmp-section>h2,.ngxsp-wmp-section>h3{min-width:0;overflow-wrap:anywhere;padding:0 8px;font-size:15px;font-weight:600}.ngxsp-wmp-cardGrid{display:grid;grid-template-columns:repeat(auto-fill,minmax(168px,1fr));gap:4px}.ngxsp-wmp-card{position:relative;min-width:0;container-type:inline-size;border-radius:var(--wmp-r-md);transition:background-color var(--wmp-dur) var(--wmp-ease)}.ngxsp-wmp-card:hover,.ngxsp-wmp-card:focus-within{background:var(--wmp-s1)}.ngxsp-wmp-cardSelect{width:100%;min-width:0;display:grid;gap:10px;padding:10px;border:0;border-radius:inherit;background:transparent;text-align:left}.ngxsp-wmp-thumb{position:relative;width:100%;aspect-ratio:1;display:grid;place-items:center;overflow:hidden;border-radius:8px;background:linear-gradient(145deg,var(--wmp-s3),var(--wmp-s1));color:var(--wmp-text-3);box-shadow:var(--nsp-shadow-card, 0 6px 18px rgb(0 0 0 / .3))}.ngxsp-wmp-thumb>ngxsp-smart-icon{width:36px;height:36px}.ngxsp-wmp-cardPlaySlot{position:absolute;top:calc(100cqw - 58px);right:18px;display:flex;opacity:0;transform:translateY(6px);transition:opacity var(--wmp-dur) var(--wmp-ease),transform var(--wmp-dur) var(--wmp-ease)}.ngxsp-wmp-card:hover .ngxsp-wmp-cardPlaySlot,.ngxsp-wmp-card:focus-within .ngxsp-wmp-cardPlaySlot,.ngxsp-wmp-card.active .ngxsp-wmp-cardPlaySlot{opacity:1;transform:none}.ngxsp-wmp-cardPlay{width:40px;height:40px;display:grid;place-items:center;padding:0;border:0;border-radius:999px;background:var(--wmp-accent-strong);color:#fff;box-shadow:0 8px 20px #0006}.ngxsp-wmp-cardPlay ngxsp-smart-icon{width:18px;height:18px}.ngxsp-wmp-shell,.ngxsp-wmp-shell button,.ngxsp-wmp-shell [role=button]{touch-action:manipulation}.ngxsp-wmp-cardCopy{min-width:0;display:grid;gap:2px}@media(hover:none){.ngxsp-wmp-search input,.ngxsp-wmp-inlineForm input,.ngxsp-wmp-stationForm input{font-size:16px}}.ngxsp-wmp-cardCopy strong,.ngxsp-wmp-cardCopy small,.ngxsp-wmp-cardCopy em{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ngxsp-wmp-cardCopy strong{font-size:13px;font-weight:600}.ngxsp-wmp-card.active .ngxsp-wmp-cardCopy strong{color:var(--wmp-accent)}.ngxsp-wmp-cardCopy small{color:var(--wmp-text-2);font-size:12px}.ngxsp-wmp-cardCopy em{color:var(--wmp-text-3);font-size:11px;font-style:normal}.ngxsp-wmp-cardActions{position:absolute;top:18px;right:18px;display:flex;gap:4px;opacity:0;transition:opacity var(--wmp-dur) var(--wmp-ease)}.ngxsp-wmp-card:hover .ngxsp-wmp-cardActions,.ngxsp-wmp-card:focus-within .ngxsp-wmp-cardActions{opacity:1}.ngxsp-wmp-cardAction{width:32px;height:32px;display:grid;place-items:center;padding:0;border:0;border-radius:999px;background:#0d0e11cc;color:#fff;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}.ngxsp-wmp-cardAction ngxsp-smart-icon{width:14px;height:14px}.ngxsp-wmp-cardAction:hover{background:#0d0e11f2}.ngxsp-wmp-table{min-width:0;display:grid}.ngxsp-wmp-tableHead,.ngxsp-wmp-trackSelect{display:grid;grid-template-columns:36px minmax(0,2.4fr) minmax(0,1.3fr) minmax(0,1.3fr) 48px;align-items:center;gap:14px}.ngxsp-wmp-tableHead{position:sticky;top:0;z-index:1;height:34px;margin-bottom:4px;padding:0 calc(var(--wmp-actions-w, 112px) + 8px) 0 10px;border-bottom:1px solid var(--wmp-line);background:var(--wmp-bg);color:var(--wmp-text-2);font-size:11px;font-weight:600}.ngxsp-wmp-tableHead>span:first-child{text-align:center}.ngxsp-wmp-timeHead{display:flex;justify-content:flex-end}.ngxsp-wmp-timeHead ngxsp-smart-icon{width:15px;height:15px}.ngxsp-wmp-trackRow{position:relative;min-width:0;display:grid;grid-template-columns:minmax(0,1fr) var(--wmp-actions-w, 112px);align-items:center;gap:8px;border-radius:var(--wmp-r-sm);transition:background-color var(--wmp-dur) var(--wmp-ease)}.ngxsp-wmp-trackRow:hover,.ngxsp-wmp-trackRow:focus-within{background:var(--wmp-s1)}.ngxsp-wmp-trackRow.active{background:var(--wmp-accent-soft)}.ngxsp-wmp-trackSelect{min-width:0;height:52px;padding:0 0 0 10px;border:0;border-radius:inherit;background:transparent;color:var(--wmp-text-2);text-align:left}.ngxsp-wmp-trackIndex{position:relative;display:grid;place-items:center;color:var(--wmp-text-2);font-variant-numeric:tabular-nums}.ngxsp-wmp-trackIndex>ngxsp-smart-icon{width:16px;height:16px}.ngxsp-wmp-trackRow.active .ngxsp-wmp-trackIndex{color:var(--wmp-accent)}.ngxsp-wmp-indexPlay{position:absolute;opacity:0;color:var(--wmp-text)}.ngxsp-wmp-trackRow:hover .ngxsp-wmp-indexNumber{opacity:0}.ngxsp-wmp-trackRow:hover .ngxsp-wmp-indexPlay{opacity:1}.ngxsp-wmp-trackTitle{min-width:0;display:flex;align-items:center;gap:12px}.ngxsp-wmp-rowIcon{width:36px;height:36px;flex:0 0 auto;display:grid;place-items:center;overflow:hidden;border-radius:4px;background:var(--wmp-s2);color:var(--wmp-text-3)}.ngxsp-wmp-rowIcon ngxsp-smart-icon{width:16px;height:16px}.ngxsp-wmp-rowCopy{min-width:0;display:grid;gap:1px}.ngxsp-wmp-rowCopy strong,.ngxsp-wmp-rowCopy small{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ngxsp-wmp-rowCopy strong{color:var(--wmp-text);font-size:13px;font-weight:500}.ngxsp-wmp-rowCopy small{color:var(--wmp-text-2);font-size:12px}.ngxsp-wmp-trackRow.active .ngxsp-wmp-rowCopy strong{color:var(--wmp-accent)}.ngxsp-wmp-trackCell{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ngxsp-wmp-trackTime{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;text-align:right;font-variant-numeric:tabular-nums}.ngxsp-wmp-rowActions{display:flex;align-items:center;justify-content:flex-end;gap:2px;padding-right:8px}.ngxsp-wmp-rowFavorite,.ngxsp-wmp-rowQueueAction{flex:0 0 32px;width:32px;height:32px;display:grid;place-items:center;padding:0;border:0;border-radius:var(--wmp-r-sm);background:transparent;color:var(--wmp-text-2);opacity:0;transition:opacity var(--wmp-dur) var(--wmp-ease),background-color var(--wmp-dur) var(--wmp-ease),color var(--wmp-dur) var(--wmp-ease)}.ngxsp-wmp-rowFavorite ngxsp-smart-icon,.ngxsp-wmp-rowQueueAction ngxsp-smart-icon{width:16px;height:16px}.ngxsp-wmp-rowFavorite:hover,.ngxsp-wmp-rowQueueAction:hover{background:var(--wmp-s3);color:var(--wmp-text)}.ngxsp-wmp-trackRow:hover .ngxsp-wmp-rowFavorite,.ngxsp-wmp-trackRow:hover .ngxsp-wmp-rowQueueAction,.ngxsp-wmp-trackRow:focus-within .ngxsp-wmp-rowFavorite,.ngxsp-wmp-trackRow:focus-within .ngxsp-wmp-rowQueueAction,.ngxsp-wmp-rowFavorite.active{opacity:1}.ngxsp-wmp-rowFavorite.active{color:var(--wmp-accent)}.ngxsp-wmp-rowFavorite.active ngxsp-smart-icon ::ng-deep path{fill:currentColor}.ngxsp-wmp-cardFavorite.active{color:var(--wmp-accent)}.ngxsp-wmp-cardFavorite.active ngxsp-smart-icon ::ng-deep path{fill:currentColor}.ngxsp-wmp-trackMenuScrim{position:fixed;inset:0;z-index:60;padding:0;border:0;background:transparent;cursor:default}.ngxsp-wmp-trackMenu{position:fixed;z-index:61;min-width:208px;max-width:280px;display:grid;gap:2px;padding:6px;border:1px solid var(--wmp-line-strong);border-radius:var(--wmp-r-md);background:var(--wmp-s2);box-shadow:0 16px 40px #0000007a}.ngxsp-wmp-trackMenuTitle{padding:6px 10px 8px;font-size:11px;font-weight:600;color:var(--wmp-text-3);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ngxsp-wmp-trackMenu button{display:flex;align-items:center;gap:10px;min-height:34px;padding:0 10px;border:0;border-radius:var(--wmp-r-sm);background:transparent;color:var(--wmp-text);font-size:13px;text-align:left;cursor:pointer}.ngxsp-wmp-trackMenu button ngxsp-smart-icon{width:18px;height:18px;flex:0 0 auto}.ngxsp-wmp-trackMenu button:hover{background:var(--wmp-s3)}.ngxsp-wmp-trackMenu button.danger{color:var(--wmp-danger-text)}.ngxsp-wmp-trackMenu button.danger:hover{background:#f25f5c29}.ngxsp-wmp-rowProgress{position:absolute;left:10px;right:10px;bottom:3px;height:2px;border-radius:999px;background:var(--wmp-line);overflow:hidden;pointer-events:none}.ngxsp-wmp-thumb .ngxsp-wmp-rowProgress{left:0;right:0;bottom:0;border-radius:0}.ngxsp-wmp-rowProgress i{position:absolute;inset:0 auto 0 0;background:var(--wmp-accent)}.ngxsp-wmp-emptyLibrary{display:grid;justify-items:center;gap:8px;padding:32px 16px;border:1px dashed var(--wmp-line-strong);border-radius:var(--wmp-r-md);color:var(--wmp-text-2);text-align:center}.ngxsp-wmp-emptyLibrary ngxsp-smart-icon{width:28px;height:28px;color:var(--wmp-text-3)}.ngxsp-wmp-shelfMore{justify-self:start;margin-top:8px;display:inline-flex;align-items:baseline;gap:8px;padding:8px 14px;border:1px solid var(--wmp-line-strong);border-radius:999px;background:transparent;color:var(--wmp-text);font:inherit;font-size:13px;font-weight:600;cursor:pointer}.ngxsp-wmp-shelfMore small{color:var(--wmp-text-2);font-weight:500;font-variant-numeric:tabular-nums}.ngxsp-wmp-shelfMore:hover:not(:disabled),.ngxsp-wmp-shelfMore:focus-visible{background:var(--wmp-s2)}.ngxsp-wmp-shelfMore:disabled{opacity:.6;cursor:default}.ngxsp-wmp-playlist{grid-area:panel;min-width:0;min-height:0;display:flex;flex-direction:column;border-left:1px solid var(--wmp-line);background:var(--wmp-s0);overflow:hidden}.ngxsp-wmp-sheetToggles{display:flex;justify-content:center;gap:4px;padding:4px 12px 0}.ngxsp-wmp-panelStack{flex:1;display:flex;flex-direction:column;gap:10px;padding:12px;overflow:hidden;min-height:0}.ngxsp-wmp-panelTabs{display:flex;flex-wrap:wrap;gap:6px;flex:0 0 auto}.ngxsp-wmp-panelPill{height:26px;padding:0 11px;border:1px solid var(--wmp-border,#d9d9d9);border-radius:999px;background:transparent;color:var(--wmp-muted,#6a6a6a);font:inherit;font-size:12px;cursor:pointer;white-space:nowrap}.ngxsp-wmp-panelPill.active{background:var(--wmp-accent,#2b6cb0);border-color:transparent;color:var(--wmp-accent-text,#fff);font-weight:600}.ngxsp-wmp-stackItem{flex:1 1 0;border:1px solid var(--wmp-border,#d9d9d9);border-radius:10px;overflow:hidden;display:flex;flex-direction:column;min-height:0}.ngxsp-wmp-stackHead{display:flex;align-items:center;gap:8px;padding:7px 8px 7px 11px;background:var(--wmp-surface-2,rgba(127,127,127,.08))}.ngxsp-wmp-stackHead strong{font-size:12.5px;font-weight:600}.ngxsp-wmp-stackIcon{display:grid;place-items:center;width:24px;height:24px;padding:0;border:0;border-radius:6px;background:transparent;color:inherit;cursor:pointer;opacity:.65}.ngxsp-wmp-stackIcon:hover,.ngxsp-wmp-stackIcon:focus-visible{opacity:1}.ngxsp-wmp-stackIcon+.ngxsp-wmp-stackIcon{margin-left:-2px}.ngxsp-wmp-stackHead .ngxsp-wmp-stackIcon:first-of-type{margin-left:auto}.ngxsp-wmp-stackItem svg{width:14px;height:14px}.ngxsp-wmp-queueList{flex:1;min-height:0;display:grid;align-content:start;gap:1px;padding:0 8px 12px;overflow:auto;overflow-anchor:none}.ngxsp-wmp-queueSpace{pointer-events:none;overflow-anchor:none}.ngxsp-wmp-queueItem{width:100%;min-width:0;min-height:56px;display:grid;grid-template-columns:40px minmax(0,1fr) auto;align-items:center;gap:12px;padding:8px;border:0;border-radius:var(--wmp-r-sm);background:transparent;text-align:left;transition:background-color var(--wmp-dur) var(--wmp-ease)}.ngxsp-wmp-queueItem:hover{background:var(--wmp-s2)}.ngxsp-wmp-queueItem.active{background:var(--wmp-accent-soft)}.ngxsp-wmp-queueItem.active .ngxsp-wmp-rowCopy strong{color:var(--wmp-accent)}.ngxsp-wmp-queueRow{position:relative;min-width:0}.ngxsp-wmp-queueControls{position:absolute;top:4px;right:4px;display:grid;grid-template-columns:repeat(2,28px);opacity:0;transition:opacity var(--wmp-dur) var(--wmp-ease)}.ngxsp-wmp-queueRow:hover .ngxsp-wmp-queueControls,.ngxsp-wmp-queueRow:focus-within .ngxsp-wmp-queueControls,.ngxsp-wmp-queueRow.active .ngxsp-wmp-queueControls{opacity:1}.ngxsp-wmp-queueControls button{width:28px;height:28px;display:grid;place-items:center;padding:0;border:0;border-radius:5px;background:transparent;color:var(--wmp-text-2);cursor:pointer}.ngxsp-wmp-queueControls button:hover:not(:disabled){background:var(--wmp-s3);color:var(--wmp-text)}.ngxsp-wmp-queueControls button.active{color:var(--wmp-accent)}.ngxsp-wmp-queueControls button:disabled{opacity:.3;cursor:default}.ngxsp-wmp-queueControls ngxsp-smart-icon{width:14px;height:14px}.ngxsp-wmp-queueRow:hover .ngxsp-wmp-queueItem,.ngxsp-wmp-queueRow:focus-within .ngxsp-wmp-queueItem,.ngxsp-wmp-queueRow.active .ngxsp-wmp-queueItem{padding-right:64px}.ngxsp-wmp-queueRow:hover .ngxsp-wmp-rowMeta,.ngxsp-wmp-queueRow:focus-within .ngxsp-wmp-rowMeta,.ngxsp-wmp-queueRow.active .ngxsp-wmp-rowMeta{visibility:hidden}@media(hover:none){.ngxsp-wmp-queueControls{opacity:1}.ngxsp-wmp-queueRow .ngxsp-wmp-queueItem{padding-right:64px}.ngxsp-wmp-queueRow .ngxsp-wmp-rowMeta{visibility:hidden}}.ngxsp-wmp-queueCover{position:relative;width:40px;height:40px;display:grid;place-items:center;overflow:hidden;border-radius:4px;background:var(--wmp-s2);color:var(--wmp-text-3)}.ngxsp-wmp-queueCover>ngxsp-smart-icon{width:16px;height:16px}.ngxsp-wmp-queueNow{position:absolute;inset:0;display:grid;place-items:center;background:#0d0e1199;color:#fff}.ngxsp-wmp-rowBadges{display:flex;flex-wrap:wrap;gap:4px;margin-top:3px}.ngxsp-wmp-rowBadges em{display:inline-flex;align-items:center;gap:3px;height:18px;padding:0 6px;border-radius:4px;background:var(--wmp-s3);color:var(--wmp-text-2);font-size:10px;font-style:normal;font-weight:500}.ngxsp-wmp-rowBadges em ngxsp-smart-icon{width:10px;height:10px}.ngxsp-wmp-rowBadges em.favorite{color:var(--wmp-accent)}.ngxsp-wmp-rowMeta{color:var(--wmp-text-2);font-size:12px;font-variant-numeric:tabular-nums}.ngxsp-wmp-management,.ngxsp-wmp-devices{flex:1;min-height:0;display:grid;align-content:start;gap:10px;padding:10px 12px 16px;overflow:auto}.ngxsp-wmp-devices .ngxsp-wmp-sectionHeader.slim{padding:4px 4px 6px}.ngxsp-wmp-inlineForm{display:flex;gap:6px}.ngxsp-wmp-inlineForm input{flex:1;min-width:0;height:32px;padding:0 10px;border:1px solid var(--wmp-line-strong);border-radius:var(--wmp-r-sm);background:var(--wmp-s1);color:var(--wmp-text);font-size:12px}.ngxsp-wmp-inlineForm input::placeholder{color:var(--wmp-text-3)}.ngxsp-wmp-shell .ngxsp-wmp-inlineForm input:focus-visible{outline:0;border-color:var(--wmp-accent);box-shadow:0 0 0 2px var(--wmp-accent-soft)}.ngxsp-wmp-stationForm{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin-bottom:14px;padding:10px 12px;border:1px solid var(--wmp-line);border-radius:var(--wmp-r-md);background:var(--wmp-s1)}.ngxsp-wmp-stationTitle{font-size:12px;font-weight:600;color:var(--wmp-text-2)}.ngxsp-wmp-discovered{flex:1 1 100%;display:grid;gap:4px;margin:0;padding:0;list-style:none}.ngxsp-wmp-discovered li{display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:36px;padding:2px 0 2px 8px;border-top:1px solid var(--wmp-line)}.ngxsp-wmp-discovered li span{display:grid;min-width:0}.ngxsp-wmp-discovered strong{overflow:hidden;font-size:13px;font-weight:600;text-overflow:ellipsis;white-space:nowrap}.ngxsp-wmp-discovered small,.ngxsp-wmp-discovered li.empty{overflow:hidden;color:var(--wmp-text-2);font-size:12px;text-overflow:ellipsis;white-space:nowrap}.ngxsp-wmp-serverKind{height:32px;padding:0 8px;border:1px solid var(--wmp-line-strong);border-radius:var(--wmp-r-sm);background:var(--wmp-s0);color:var(--wmp-text);font-size:12px}.ngxsp-wmp-stationForm input{flex:1 1 180px;min-width:0;height:32px;padding:0 10px;border:1px solid var(--wmp-line-strong);border-radius:var(--wmp-r-sm);background:var(--wmp-s0);color:var(--wmp-text);font-size:12px}.ngxsp-wmp-stationForm input::placeholder{color:var(--wmp-text-3)}.ngxsp-wmp-shell .ngxsp-wmp-stationForm input:focus-visible{outline:0;border-color:var(--wmp-accent);box-shadow:0 0 0 2px var(--wmp-accent-soft)}.ngxsp-wmp-stationHint{flex:1 0 100%;color:var(--wmp-text-3);font-size:11px}.ngxsp-wmp-targetBanner{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:8px 10px;border:1px solid var(--wmp-accent-soft);border-radius:var(--wmp-r-sm);background:var(--wmp-accent-soft);color:var(--wmp-text);font-size:12px}.ngxsp-wmp-targetBanner strong{margin-left:4px}.ngxsp-wmp-rowQueueAction.danger:hover,.ngxsp-wmp-cardAction.danger:hover{color:var(--wmp-danger, #e5484d)}.ngxsp-wmp-rowQueueAction.active{color:var(--wmp-accent)}.ngxsp-wmp-targets{display:grid;gap:6px}.ngxsp-wmp-target,.ngxsp-wmp-device{display:grid;gap:8px;padding:10px;border:1px solid var(--wmp-line);border-radius:var(--wmp-r-md);background:var(--wmp-s1)}.ngxsp-wmp-sheetButton,.ngxsp-wmp-sheetHeader{display:none}.ngxsp-wmp-targetMain{min-width:0;display:grid;grid-template-columns:32px minmax(0,1fr) auto;align-items:center;gap:10px}.ngxsp-wmp-targetIcon{width:32px;height:32px;display:grid;place-items:center;border-radius:var(--wmp-r-sm);background:var(--wmp-s3);color:var(--wmp-text-2)}.ngxsp-wmp-targetIcon ngxsp-smart-icon{width:16px;height:16px}.ngxsp-wmp-targetActions{display:flex;gap:4px;padding-left:38px}.ngxsp-wmp-targetActions button{height:32px;padding:0 8px;border:0;border-radius:4px;background:transparent;color:var(--wmp-text-2);font-size:12px}.ngxsp-wmp-targetActions button:hover{background:var(--wmp-s3);color:var(--wmp-text)}.ngxsp-wmp-targetActions button.danger:hover{color:var(--wmp-danger-text);background:#f25f5c29}.ngxsp-wmp-device{grid-template-columns:32px minmax(0,1fr);align-items:center;column-gap:10px}.ngxsp-wmp-device.active{border-color:#8b90ff66;background:var(--wmp-accent-soft)}.ngxsp-wmp-device.active .ngxsp-wmp-targetIcon{color:var(--wmp-accent)}.ngxsp-wmp-deviceActions{grid-column:2;display:flex;gap:6px}.ngxsp-wmp-keepQueue{flex:0 0 auto;display:flex;align-items:center;justify-content:center;gap:7px;margin:0 8px 10px;padding:8px 10px;border:1px solid var(--wmp-line);border-radius:var(--wmp-r-md);background:transparent;color:var(--wmp-text-2);font:inherit;font-size:12px;cursor:pointer}.ngxsp-wmp-keepQueue:hover{background:var(--wmp-s2);color:var(--wmp-text)}.ngxsp-wmp-keepQueue ngxsp-smart-icon{width:14px;height:14px}.ngxsp-wmp-deviceGroup{margin:10px 0 2px;font-size:11px;font-weight:600;color:var(--wmp-text-2)}.ngxsp-wmp-deviceGroup:first-child{margin-top:0}.ngxsp-wmp-deviceHint{margin:0 0 7px;color:var(--wmp-text-2);font-size:11px;line-height:1.4}.ngxsp-wmp-output{display:flex;align-items:center;gap:10px;width:100%;padding:8px 10px;border:1px solid transparent;border-radius:var(--wmp-r-md);background:transparent;color:inherit;font:inherit;text-align:left;cursor:pointer}.ngxsp-wmp-output:hover{background:var(--wmp-s2)}.ngxsp-wmp-output.active{border-color:#8b90ff66;background:var(--wmp-accent-soft)}.ngxsp-wmp-output .ngxsp-wmp-rowCopy{flex:1;min-width:0}.ngxsp-wmp-output ngxsp-smart-icon{flex:0 0 auto;width:15px;height:15px;color:var(--wmp-accent)}.ngxsp-wmp-transport{grid-area:transport;min-width:0;display:grid;grid-template-columns:minmax(0,1fr) minmax(320px,620px) minmax(min-content,1fr);align-items:center;gap:24px;padding:0 16px;border-top:1px solid var(--wmp-line);background:var(--wmp-s0)}.ngxsp-wmp-miniNow{min-width:0;display:grid;grid-template-columns:52px minmax(0,1fr) auto;align-items:center;gap:12px}.ngxsp-wmp-miniArt{width:52px;height:52px;display:grid;place-items:center;overflow:hidden;border-radius:6px;background:var(--wmp-s2);color:var(--wmp-text-3)}.ngxsp-wmp-miniCopy{min-width:0;display:grid;gap:2px}button.ngxsp-wmp-miniCopy{padding:4px 6px;margin:-4px -6px;border:0;border-radius:var(--wmp-r-sm);background:transparent;color:inherit;font:inherit;text-align:start;cursor:pointer}button.ngxsp-wmp-miniCopy:hover{background:var(--wmp-s2)}.ngxsp-wmp-miniCopy strong,.ngxsp-wmp-miniCopy small{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ngxsp-wmp-miniCopy strong{font-size:13px;font-weight:600}.ngxsp-wmp-miniCopy small{color:var(--wmp-text-2);font-size:12px}.ngxsp-wmp-transportCenter{min-width:0;display:grid;justify-items:center;gap:0}.ngxsp-wmp-transportButtons{display:flex;align-items:center;gap:12px}.ngxsp-wmp-seekRow{width:100%;display:grid;grid-template-columns:44px minmax(0,1fr) 44px;align-items:center;gap:10px;color:var(--wmp-text-2);font-size:11px;font-variant-numeric:tabular-nums}.ngxsp-wmp-seekRow small:first-child{text-align:right}.ngxsp-wmp-seek{min-height:32px;--ngxsp-track-size:4px;--ngxsp-track-bg:var(--wmp-s3);--ngxsp-buffered-bg:transparent;--ngxsp-accent:var(--wmp-text);--ngxsp-thumb-size:12px;--ngxsp-thumb-bg:var(--wmp-text);--ngxsp-preview-bg:var(--wmp-s2);--ngxsp-preview-border:var(--wmp-line-strong)}.ngxsp-wmp-seek:hover{--ngxsp-accent:var(--wmp-accent)}.ngxsp-wmp-seek ::ng-deep .ngxsp-ts-thumb{opacity:0;transition:opacity var(--wmp-dur) var(--wmp-ease)}.ngxsp-wmp-seek:hover ::ng-deep .ngxsp-ts-thumb,.ngxsp-wmp-seek:focus-visible ::ng-deep .ngxsp-ts-thumb{opacity:1}.ngxsp-wmp-transportModes{min-width:0;display:flex;align-items:center;justify-content:flex-end;gap:6px}.ngxsp-wmp-switchWrap{position:relative;display:inline-flex;flex:0 0 auto}.ngxsp-wmp-devicesPopover{position:absolute;right:-6px;bottom:calc(100% + 12px);z-index:40;width:300px;max-height:min(60vh,420px);display:flex;flex-direction:column;overflow:hidden;border:1px solid var(--wmp-line);border-radius:12px;background:var(--wmp-s1);color:var(--wmp-text);box-shadow:0 18px 40px #00000073;text-align:left}.ngxsp-wmp-popoverHead{flex:none;display:flex;align-items:center;gap:8px;padding:12px 12px 2px}.ngxsp-wmp-popoverHead strong{flex:1;font-size:12.5px}.ngxsp-wmp-volumeControl{--ngxsp-control-size:32px;--ngxsp-volume-range-min:72px;--ngxsp-volume-range-max:112px;--ngxsp-volume-gap:4px;--ngxsp-volume-button-border:1px solid transparent;--ngxsp-volume-button-radius:6px;--ngxsp-volume-accent:var(--wmp-text);--ngxsp-volume-track-bg:var(--wmp-s3);--ngxsp-volume-thumb-bg:var(--wmp-text);--ngxsp-volume-thumb-size:12px;--ngxsp-volume-thumb-shadow:none;--ngxsp-focus-ring:0 0 0 2px var(--wmp-accent);color:var(--wmp-text-2)}.ngxsp-wmp-volumeControl:hover{--ngxsp-volume-accent:var(--wmp-accent);color:var(--wmp-text)}.ngxsp-wmp-dropOverlay{position:absolute;inset:12px;z-index:40;display:grid;place-content:center;justify-items:center;gap:10px;border:2px dashed var(--wmp-accent);border-radius:14px;background:var(--nsp-scrim, rgb(13 14 17 / .88));-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);color:var(--wmp-text);text-align:center;pointer-events:none}.ngxsp-wmp-dropIcon{width:56px;height:56px;display:grid;place-items:center;border-radius:14px;background:var(--wmp-accent-soft);color:var(--wmp-accent)}.ngxsp-wmp-dropIcon ngxsp-smart-icon{width:28px;height:28px}.ngxsp-wmp-dropOverlay strong{font-size:16px;font-weight:600}.ngxsp-wmp-dropOverlay span:last-child{color:var(--wmp-text-2)}@media(hover:none),(pointer:coarse){.ngxsp-wmp-rowFavorite,.ngxsp-wmp-rowQueueAction,.ngxsp-wmp-cardActions{opacity:1}.ngxsp-wmp-cardPlaySlot{opacity:1;transform:none}}@media(max-width:1180px){.ngxsp-wmp-shell{--wmp-rail-w:208px;--wmp-panel-w:284px}.ngxsp-wmp-sourceButton span{display:none}.ngxsp-wmp-sourceButton{width:32px;padding:0;justify-content:center}.ngxsp-wmp-tableHead,.ngxsp-wmp-trackSelect{grid-template-columns:32px minmax(0,2fr) minmax(0,1fr) 48px}.ngxsp-wmp-tableHead>span:nth-child(4),.ngxsp-wmp-albumCell{display:none}.ngxsp-wmp-nowPanel{grid-template-columns:148px minmax(0,1fr);gap:22px;padding:24px}.ngxsp-wmp-art{width:148px;height:148px}.ngxsp-wmp-nowCopy h1{font-size:26px}.ngxsp-wmp-transport{grid-template-columns:minmax(0,1fr) minmax(240px,1.4fr) minmax(min-content,1fr);gap:16px}.ngxsp-wmp-miniNow{grid-template-columns:44px minmax(0,1fr) auto}.ngxsp-wmp-miniArt{width:44px;height:44px}.ngxsp-wmp-volumeControl{--ngxsp-volume-range-min:56px;--ngxsp-volume-range-max:84px}}@media(max-width:1023px)and (min-width:721px){.ngxsp-wmp-shell{--wmp-rail-w:188px;--wmp-panel-w:260px}.ngxsp-wmp-shell,.ngxsp-wmp-shell.ngxsp-wmp-panelHidden{grid-template-columns:var(--wmp-rail-w) minmax(0,1fr);grid-template-areas:\"title title\" \"rail main\" \"transport transport\"}.ngxsp-wmp-playlist,.ngxsp-wmp-shell.ngxsp-wmp-panelHidden .ngxsp-wmp-playlist{display:none}.ngxsp-wmp-playlist.sheet,.ngxsp-wmp-shell.ngxsp-wmp-panelHidden .ngxsp-wmp-playlist.sheet{display:flex;position:fixed;left:0;right:0;top:0;bottom:calc(var(--wmp-transport-h) + env(safe-area-inset-bottom,0px));z-index:40;border:0;border-bottom:1px solid var(--wmp-line);overflow-y:auto;background:var(--wmp-s0);padding-top:env(safe-area-inset-top,0px)}.ngxsp-wmp-sheetHeader{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 16px;border-bottom:1px solid var(--wmp-line)}.ngxsp-wmp-sheetHeader strong{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:15px}.ngxsp-wmp-titleActions .ngxsp-wmp-status{position:fixed;right:16px;bottom:calc(var(--wmp-transport-h) + 12px);z-index:40;max-width:min(420px,calc(100vw - 32px));white-space:normal;height:auto;min-height:30px;padding:6px 12px;background:var(--wmp-s3);box-shadow:0 10px 30px #00000073}.ngxsp-wmp-miniNow>.ngxsp-wmp-iconButton{display:none}.ngxsp-wmp-miniNow>.ngxsp-wmp-sheetButton{display:grid}}@media(max-height:760px)and (min-width:721px){.ngxsp-wmp-nowPanel{padding-top:20px;padding-bottom:20px}}@media(max-width:720px){.ngxsp-wmp-shell,.ngxsp-wmp-shell.ngxsp-wmp-panelHidden{height:auto;min-height:100%;grid-template-columns:minmax(0,1fr);grid-template-rows:auto auto auto auto;grid-template-areas:\"title\" \"rail\" \"main\" \"panel\";--wmp-transport-h:100px;--wmp-tabbar-h:66px;padding-bottom:calc(var(--wmp-transport-h) + var(--wmp-tabbar-h) + env(safe-area-inset-bottom,0px));overflow:visible}.ngxsp-wmp-shell.ngxsp-wmp-panelHidden .ngxsp-wmp-playlist{display:flex}.ngxsp-wmp-titlebar{grid-template-columns:minmax(0,1fr) auto;grid-template-rows:48px auto;row-gap:0;padding:0 12px 10px}.ngxsp-wmp-search{grid-column:1 / -1;grid-row:2;justify-self:stretch;width:100%}.ngxsp-wmp-titleActions .ngxsp-wmp-status{position:fixed;left:12px;right:12px;bottom:calc(var(--wmp-transport-h) + var(--wmp-tabbar-h) + env(safe-area-inset-bottom,0px) + 8px);z-index:40;max-width:none;height:auto;min-height:34px;padding:8px 12px;white-space:normal;background:var(--wmp-s3);box-shadow:0 10px 30px #00000073}.ngxsp-wmp-shell:has(.ngxsp-wmp-playerPage) .ngxsp-wmp-titleActions .ngxsp-wmp-status{bottom:calc(var(--wmp-transport-h) + env(safe-area-inset-bottom,0px) + 8px)}.ngxsp-wmp-titleActions>.ngxsp-wmp-iconButton{display:none}.ngxsp-wmp-rail{display:none}.ngxsp-wmp-tabBar{position:fixed;left:0;right:0;bottom:0;z-index:31;height:calc(var(--wmp-tabbar-h) + env(safe-area-inset-bottom,0px));display:flex;align-items:stretch;gap:2px;padding:8px 6px calc(8px + env(safe-area-inset-bottom,0px));border-top:1px solid var(--wmp-line);background:var(--wmp-s0)}.ngxsp-wmp-tab{flex:1;min-width:0;min-height:48px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;padding:0 4px;border:0;border-radius:10px;background:transparent;color:var(--wmp-text-3);font:inherit;font-size:10px;cursor:pointer}.ngxsp-wmp-tab span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ngxsp-wmp-tab ngxsp-smart-icon{width:20px;height:20px}.ngxsp-wmp-tab.active{background:var(--wmp-accent-soft);color:var(--wmp-accent);font-weight:600}.ngxsp-wmp-tabFacets{display:flex;gap:7px;padding:10px 12px 0;overflow-x:auto}.ngxsp-wmp-tabFacets button{flex:0 0 auto;display:inline-flex;align-items:center;gap:6px;height:32px;padding:0 14px;border:0;border-radius:16px;background:var(--wmp-s2);color:var(--wmp-text-2);font:inherit;font-size:12.5px;cursor:pointer}.ngxsp-wmp-tabFacets button small{opacity:.7;font-size:11px}.ngxsp-wmp-tabFacets button.active{background:var(--wmp-accent);color:var(--wmp-on-accent);font-weight:600}.ngxsp-wmp-shell:has(.ngxsp-wmp-playerPage){--wmp-transport-h:116px;padding-bottom:calc(var(--wmp-transport-h) + env(safe-area-inset-bottom,0px))}.ngxsp-wmp-shell:has(.ngxsp-wmp-playerPage) .ngxsp-wmp-tabBar{display:none}.ngxsp-wmp-shell:has(.ngxsp-wmp-playerPage) .ngxsp-wmp-transport{bottom:0;height:calc(var(--wmp-transport-h) + env(safe-area-inset-bottom,0px));padding-bottom:calc(6px + env(safe-area-inset-bottom,0px))}.ngxsp-wmp-shell:has(.ngxsp-wmp-playerPage) .ngxsp-wmp-titlebar{display:none}.ngxsp-wmp-shell:has(.ngxsp-wmp-playerPage) .ngxsp-wmp-playerPage{min-height:calc(100vh - var(--wmp-transport-h) - env(safe-area-inset-bottom,0px));justify-content:center;padding:12px 20px 20px}.ngxsp-wmp-playerPage .ngxsp-wmp-playerSide{display:contents}.ngxsp-wmp-playerPage .ngxsp-wmp-playerStage{flex-direction:column;align-items:center;gap:16px}.ngxsp-wmp-playerPage .ngxsp-wmp-playerArt{order:2;width:150px;height:150px;border-radius:16px}.ngxsp-wmp-playerPage .ngxsp-wmp-playerLyrics{order:3;flex:none;width:100%;max-width:320px;max-height:24vh}.ngxsp-wmp-playerPage .ngxsp-wmp-playerLyricsHead{justify-content:center;margin-bottom:6px}.ngxsp-wmp-playerPage .ngxsp-wmp-playerLyricsLines{align-items:center}.ngxsp-wmp-playerPage .ngxsp-wmp-playerLyricsLines button,.ngxsp-wmp-playerPage .ngxsp-wmp-playerLyricsLines p{padding:7px 0;font-size:14px;text-align:center}.ngxsp-wmp-playerPage .ngxsp-wmp-playerLyricsLines button.active{font-size:17px}.ngxsp-wmp-playerPage .ngxsp-wmp-playerCopy{order:4;max-width:none}.ngxsp-wmp-playerPage .ngxsp-wmp-playerCopy small,.ngxsp-wmp-playerPage .ngxsp-wmp-playerCopy .ngxsp-wmp-detailActions{display:none}.ngxsp-wmp-playerPage .ngxsp-wmp-playerWave{order:5;max-width:320px;height:34px}.ngxsp-wmp-playerBack{order:-1}.ngxsp-wmp-shell:has(.ngxsp-wmp-playerPage) .ngxsp-wmp-transport{background:transparent;box-shadow:none;border-top:0}.ngxsp-wmp-shell:has(.ngxsp-wmp-playerPage) .ngxsp-wmp-miniNow>.ngxsp-wmp-iconButton{display:grid}.ngxsp-wmp-shell:has(.ngxsp-wmp-playerPage) .ngxsp-wmp-miniArt,.ngxsp-wmp-shell:has(.ngxsp-wmp-playerPage) .ngxsp-wmp-miniCopy{display:none}.ngxsp-wmp-shell:has(.ngxsp-wmp-playerPage) .ngxsp-wmp-miniNow{grid-column:1 / -1;grid-row:2;display:flex;justify-content:center;gap:10px}.ngxsp-wmp-shell:has(.ngxsp-wmp-playerPage) .ngxsp-wmp-transportButtons{grid-column:1 / -1;grid-row:1;justify-content:center;gap:18px}.ngxsp-wmp-shell:has(.ngxsp-wmp-playerPage) .ngxsp-wmp-transportButtons>.ngxsp-wmp-iconButton:first-child,.ngxsp-wmp-shell:has(.ngxsp-wmp-playerPage) .ngxsp-wmp-transportButtons>.ngxsp-wmp-iconButton:last-child{display:grid}.ngxsp-wmp-shell:has(.ngxsp-wmp-playerPage) .ngxsp-wmp-playButton{width:56px;height:56px}.ngxsp-wmp-shell:has(.ngxsp-wmp-playerPage) .ngxsp-wmp-seekRow{display:none}.ngxsp-wmp-shell:has(.ngxsp-wmp-playerPage) .ngxsp-wmp-transportModes{grid-column:1 / -1;grid-row:2;justify-content:center}.ngxsp-wmp-shell:has(.ngxsp-wmp-playerPage) .ngxsp-wmp-footerVolume{display:none}.ngxsp-wmp-nav{flex-direction:row;gap:4px;padding:8px 12px;overflow-x:auto}.ngxsp-wmp-navItem[data-quick],.ngxsp-wmp-navDivider{display:none}.ngxsp-wmp-navItem{width:auto;flex:0 0 auto;grid-template-columns:16px auto auto;height:32px;gap:6px}.ngxsp-wmp-navChevron{display:none}.ngxsp-wmp-navChild{grid-template-columns:auto auto;padding:0 12px;background:var(--wmp-s1)}.ngxsp-wmp-navDivider{width:1px;height:20px;margin:6px 4px}.ngxsp-wmp-railTools{display:none}.ngxsp-wmp-main{overflow:visible}.ngxsp-wmp-nowPanel{grid-template-columns:96px minmax(0,1fr);align-items:center;gap:16px;padding:16px}.ngxsp-wmp-art{width:96px;height:96px;align-self:start}.ngxsp-wmp-playerSurface{min-height:120px;gap:10px}.ngxsp-wmp-nowCopy h1{font-size:20px}.ngxsp-wmp-nowOscillogram{grid-template-columns:minmax(0,1fr)}.ngxsp-wmp-nowTime{display:none}.ngxsp-wmp-nowActions{gap:8px}.ngxsp-wmp-nowActions .ngxsp-wmp-iconButton.outlined{width:36px;height:36px}.ngxsp-wmp-primaryButton{height:36px}.ngxsp-wmp-sectionHeader{padding:16px 16px 4px}.ngxsp-wmp-sectionScroll{padding:4px 8px 16px;gap:18px}.ngxsp-wmp-shell:not(.ngxsp-wmp-browseMode) .ngxsp-wmp-cardGrid{grid-template-columns:none;grid-auto-flow:column;grid-auto-columns:minmax(132px,42%);overflow-x:auto;scroll-snap-type:x mandatory;padding-bottom:4px}.ngxsp-wmp-card{scroll-snap-align:start}.ngxsp-wmp-shell:not(.ngxsp-wmp-browseMode) .ngxsp-wmp-cardGrid .ngxsp-wmp-card:nth-child(n+5){display:none}.ngxsp-wmp-browseMode .ngxsp-wmp-cardGrid{grid-template-columns:repeat(auto-fill,minmax(140px,1fr));gap:8px}.ngxsp-wmp-shell:not(.ngxsp-wmp-browseMode) .ngxsp-wmp-sectionScroll>.ngxsp-wmp-section:nth-child(n+2){display:none}.ngxsp-wmp-cardActions{top:14px;right:14px}.ngxsp-wmp-shell:not(.ngxsp-wmp-browseMode) .ngxsp-wmp-table .ngxsp-wmp-trackRow:nth-of-type(n+6){display:none}.ngxsp-wmp-tableHead{display:none}.ngxsp-wmp-trackRow{grid-template-columns:minmax(0,1fr) auto}.ngxsp-wmp-trackSelect{grid-template-columns:28px minmax(0,1fr) 44px;gap:10px}.ngxsp-wmp-trackSelect>.ngxsp-wmp-trackCell{display:none}.ngxsp-wmp-rowQueueAction{display:none}.ngxsp-wmp-rowActions{padding-right:4px}.ngxsp-wmp-playlist,.ngxsp-wmp-shell.ngxsp-wmp-panelHidden .ngxsp-wmp-playlist{display:none}.ngxsp-wmp-playlist.sheet,.ngxsp-wmp-shell.ngxsp-wmp-panelHidden .ngxsp-wmp-playlist.sheet{display:flex;position:fixed;left:0;right:0;top:0;bottom:calc(var(--wmp-transport-h) + var(--wmp-tabbar-h) + env(safe-area-inset-bottom,0px));z-index:40;border:0;border-bottom:1px solid var(--wmp-line);overflow-y:auto;background:var(--wmp-s0);padding-top:env(safe-area-inset-top,0px)}.ngxsp-wmp-playlist.sheet .ngxsp-wmp-queueList .ngxsp-wmp-queueItem:nth-of-type(n+5){display:grid}.ngxsp-wmp-sheetHeader{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 16px;border-bottom:1px solid var(--wmp-line)}.ngxsp-wmp-sheetHeader strong{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:15px}.ngxsp-wmp-queueList{overflow:visible}.ngxsp-wmp-queueList .ngxsp-wmp-queueItem:nth-of-type(n+5){display:none}.ngxsp-wmp-transport{position:fixed;left:0;right:0;bottom:calc(var(--wmp-tabbar-h) + env(safe-area-inset-bottom,0px));z-index:30;height:var(--wmp-transport-h);grid-template-columns:minmax(0,1fr) auto;grid-template-rows:minmax(0,1fr) auto;gap:0 8px;padding:10px 12px 6px;box-shadow:0 -12px 32px #00000059}.ngxsp-wmp-miniNow{grid-template-columns:44px minmax(0,1fr) auto}.ngxsp-wmp-miniNow>.ngxsp-wmp-iconButton{display:none}.ngxsp-wmp-miniNow>.ngxsp-wmp-sheetButton{display:grid}.ngxsp-wmp-miniArt{width:44px;height:44px}.ngxsp-wmp-transportCenter{display:contents}.ngxsp-wmp-transportButtons{grid-column:2;grid-row:1;gap:4px}.ngxsp-wmp-transportButtons>.ngxsp-wmp-iconButton:first-child,.ngxsp-wmp-transportButtons>.ngxsp-wmp-iconButton:last-child{display:none}.ngxsp-wmp-seekRow{grid-column:1;grid-row:2;grid-template-columns:minmax(0,1fr)}.ngxsp-wmp-seekRow small{display:none}.ngxsp-wmp-transportModes{grid-column:2;grid-row:2;gap:0}.ngxsp-wmp-volumeControl{--ngxsp-volume-range-min:56px;--ngxsp-volume-range-max:72px}}@media(max-width:480px){.ngxsp-wmp-transportModes>.ngxsp-wmp-iconButton,.ngxsp-wmp-transportModes>.ngxsp-wmp-switchWrap{display:none}.ngxsp-wmp-transportModes>.ngxsp-wmp-switchWrap:has(>.ngxsp-wmp-devicesButton){display:inline-flex}.ngxsp-wmp-transportModes>.ngxsp-wmp-windowButton{display:grid}}.ngxsp-wmp-shell.ngxsp-wmp-compact{height:100vh;min-height:0;display:grid;grid-template:minmax(0,1fr) / minmax(0,1fr);padding:env(titlebar-area-height,0px) 0 0}.ngxsp-wmp-shell.ngxsp-wmp-compact>:not(.ngxsp-wmp-transport){display:none!important}.ngxsp-wmp-shell.ngxsp-wmp-compact .ngxsp-wmp-transport{grid-area:1 / 1;position:static;height:auto;min-height:0;border-top:0;box-shadow:none;-webkit-user-select:none;user-select:none;-webkit-app-region:drag}.ngxsp-wmp-compact .ngxsp-wmp-transport :is(button,ngxsp-time-slider,ngxsp-volume-control){-webkit-app-region:no-drag}.ngxsp-wmp-compact .ngxsp-wmp-sheetButton,.ngxsp-wmp-compact .ngxsp-wmp-transportModes>.ngxsp-wmp-iconButton,.ngxsp-wmp-compact .ngxsp-wmp-transportModes>.ngxsp-wmp-switchWrap{display:none}.ngxsp-wmp-compact .ngxsp-wmp-transportModes>.ngxsp-wmp-switchWrap:has(>.ngxsp-wmp-devicesButton){display:inline-flex}.ngxsp-wmp-compactMini .ngxsp-wmp-transport{align-content:center;padding:10px 12px 8px}.ngxsp-wmp-compactMiniLyrics .ngxsp-wmp-transport{grid-template-rows:minmax(0,1fr) auto auto;align-content:stretch;row-gap:4px}.ngxsp-wmp-compactMiniLyrics .ngxsp-wmp-compactLyrics{grid-column:1 / -1;grid-row:1;align-self:stretch}.ngxsp-wmp-compactMiniLyrics .ngxsp-wmp-miniNow,.ngxsp-wmp-compactMiniLyrics .ngxsp-wmp-transportButtons{grid-row:2}.ngxsp-wmp-compactMiniLyrics .ngxsp-wmp-seekRow,.ngxsp-wmp-compactMiniLyrics .ngxsp-wmp-transportModes{grid-row:3}.ngxsp-wmp-compactLyrics{position:relative;min-height:0;display:grid;align-content:start;gap:2px;overflow-y:auto;padding:6px 4px 10px;border-bottom:1px solid var(--wmp-line);-webkit-app-region:no-drag;-webkit-mask-image:linear-gradient(transparent,#000 18%,#000 82%,transparent);mask-image:linear-gradient(transparent,#000 18%,#000 82%,transparent)}.ngxsp-wmp-compactLyrics::-webkit-scrollbar{display:none}.ngxsp-wmp-compactLyricsLine{margin:0;padding:3px 6px;border:0;border-radius:var(--wmp-r-sm);background:none;color:var(--wmp-text-3);font:inherit;font-size:13px;line-height:1.35;text-align:left;cursor:pointer;transition:color var(--wmp-dur) var(--wmp-ease),font-size var(--wmp-dur) var(--wmp-ease)}.ngxsp-wmp-compactLyricsLine.plain{cursor:default;color:var(--wmp-text-2)}.ngxsp-wmp-compactLyricsLine.active{color:var(--wmp-text);font-size:15px;font-weight:650}.ngxsp-wmp-compactLyricsLine:not(.plain):hover{color:var(--wmp-text-2)}.ngxsp-wmp-shell.ngxsp-wmp-compactBarLyrics .ngxsp-wmp-transport{grid-template-columns:minmax(0,1fr) minmax(0,1.2fr) minmax(280px,560px) minmax(0,1fr)}.ngxsp-wmp-barLyrics{min-width:0;display:grid;gap:2px;text-align:center}.ngxsp-wmp-barLyrics strong,.ngxsp-wmp-barLyrics span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ngxsp-wmp-barLyrics strong{color:var(--wmp-text);font-size:15px;font-weight:650}.ngxsp-wmp-barLyrics span{color:var(--wmp-text-3);font-size:12px}.ngxsp-wmp-compactActions{display:inline-flex;align-items:center;gap:2px}.ngxsp-wmp-compactActions button{width:28px;height:28px;display:grid;place-items:center;padding:0;border:0;border-radius:var(--wmp-r-sm);background:transparent;color:var(--wmp-text-2);cursor:pointer}.ngxsp-wmp-compactActions button:hover{background:var(--wmp-s2);color:var(--wmp-text)}.ngxsp-wmp-compactActions button:focus-visible{outline:2px solid var(--wmp-accent);outline-offset:1px}.ngxsp-wmp-compactActions ngxsp-smart-icon{width:16px;height:16px}@media(prefers-reduced-motion:reduce){.ngxsp-wmp-shell *,.ngxsp-wmp-shell *:before,.ngxsp-wmp-shell *:after{animation:none!important;transition:none!important}}\n"]
2680
4009
  }]
2681
4010
  }],
4011
+ ctorParameters: () => [],
2682
4012
  propDecorators: {
2683
4013
  config: [{ type: Input }],
2684
4014
  plugins: [{ type: Input }],
2685
4015
  ports: [{ type: Input }],
2686
4016
  engines: [{ type: Input }],
2687
4017
  debug: [{ type: Input }],
4018
+ handlingFailure: [{ type: Input }],
2688
4019
  startTimeSec: [{ type: Input }],
2689
4020
  autoplayOnInit: [{ type: Input }],
2690
4021
  playRequest: [{ type: Input }],
@@ -2696,9 +4027,50 @@ i0.ɵɵngDeclareClassMetadata({
2696
4027
  repeatLabel: [{ type: Input }],
2697
4028
  hasPlaylistControls: [{ type: Input }],
2698
4029
  castEnabled: [{ type: Input }],
4030
+ castLabels: [{ type: Input }],
2699
4031
  libraryViewsLabel: [{ type: Input }],
2700
4032
  transportLabel: [{ type: Input }],
2701
4033
  seekLabel: [{ type: Input }],
4034
+ detailHead: [{ type: Input }],
4035
+ sourcesPage: [{ type: Input }],
4036
+ playerPage: [{ type: Input }],
4037
+ notificationsPage: [{ type: Input }],
4038
+ emptyPage: [{ type: Input }],
4039
+ notificationsLabel: [{ type: Input }],
4040
+ notificationsUnread: [{ type: Input }],
4041
+ playerOpenLabel: [{ type: Input }],
4042
+ viewIntro: [{ type: Input }],
4043
+ viewFacets: [{ type: Input }],
4044
+ viewFacetLabel: [{ type: Input }],
4045
+ searchResultsTitle: [{ type: Input }],
4046
+ searchResultsSummary: [{ type: Input }],
4047
+ searchFilters: [{ type: Input }],
4048
+ searchFilterLabel: [{ type: Input }],
4049
+ searchBest: [{ type: Input }],
4050
+ searchBestTitle: [{ type: Input }],
4051
+ recentSearches: [{ type: Input }],
4052
+ recentSearchesTitle: [{ type: Input }],
4053
+ viewMode: [{ type: Input }],
4054
+ gridLabel: [{ type: Input }],
4055
+ tableLabel: [{ type: Input }],
4056
+ viewSwitchLabel: [{ type: Input }],
4057
+ trail: [{ type: Input }],
4058
+ trailLabel: [{ type: Input }],
4059
+ trailStep: [{ type: Output }],
4060
+ viewModeChange: [{ type: Output }],
4061
+ detailHeadAction: [{ type: Output }],
4062
+ sourceAction: [{ type: Output }],
4063
+ sectionMore: [{ type: Output }],
4064
+ viewFacetChange: [{ type: Output }],
4065
+ playerOpen: [{ type: Output }],
4066
+ emptyPageAction: [{ type: Output }],
4067
+ notificationAction: [{ type: Output }],
4068
+ notificationsOpen: [{ type: Output }],
4069
+ notificationsRead: [{ type: Output }],
4070
+ playerBack: [{ type: Output }],
4071
+ searchFilterChange: [{ type: Output }],
4072
+ searchBestAction: [{ type: Output }],
4073
+ searchAgain: [{ type: Output }],
2702
4074
  libraryTitle: [{ type: Input }],
2703
4075
  libraryContentTitle: [{ type: Input }],
2704
4076
  backLabel: [{ type: Input }],
@@ -2708,6 +4080,10 @@ i0.ɵɵngDeclareClassMetadata({
2708
4080
  searchLabel: [{ type: Input }],
2709
4081
  searchTerm: [{ type: Input }],
2710
4082
  libraryViews: [{ type: Input }],
4083
+ playerPanel: [{ type: Input }],
4084
+ quickViewIds: [{ type: Input }],
4085
+ quickViewItems: [{ type: Input }],
4086
+ quickViewsLabel: [{ type: Input }],
2711
4087
  activeLibraryView: [{ type: Input }],
2712
4088
  librarySections: [{ type: Input }],
2713
4089
  queueTitle: [{ type: Input }],
@@ -2753,7 +4129,7 @@ i0.ɵɵngDeclareClassMetadata({
2753
4129
  saveLabel: [{ type: Input }],
2754
4130
  cancelLabel: [{ type: Input }],
2755
4131
  refreshLabel: [{ type: Input }],
2756
- tracksCountLabel: [{ type: Input }],
4132
+ queueCountLabel: [{ type: Input }],
2757
4133
  newPlaylistPlaceholder: [{ type: Input }],
2758
4134
  renamePlaylistPlaceholder: [{ type: Input }],
2759
4135
  remotePlaybackLabel: [{ type: Input }],
@@ -2772,31 +4148,47 @@ i0.ɵɵngDeclareClassMetadata({
2772
4148
  currentArtworkUrl: [{ type: Input }],
2773
4149
  favoriteActive: [{ type: Input }],
2774
4150
  favoriteLabel: [{ type: Input }],
2775
- lockAvailable: [{ type: Input }],
2776
4151
  ringtoneAvailable: [{ type: Input }],
2777
4152
  ringtoneLabel: [{ type: Input }],
2778
- lockLabel: [{ type: Input }],
2779
- unlockLabel: [{ type: Input }],
4153
+ trackActionsLabel: [{ type: Input }],
2780
4154
  favoriteActiveLabel: [{ type: Input }],
2781
4155
  favoritesLabel: [{ type: Input }],
2782
4156
  queueItems: [{ type: Input }],
4157
+ queueEditable: [{ type: Input }],
4158
+ queueMoveUpLabel: [{ type: Input }],
4159
+ queueMoveDownLabel: [{ type: Input }],
4160
+ queueRemoveLabel: [{ type: Input }],
2783
4161
  currentTrackAvailable: [{ type: Input }],
2784
4162
  playlistOptions: [{ type: Input }],
4163
+ playlistsPageOpen: [{ type: Input }],
4164
+ playlistsSummary: [{ type: Input }],
4165
+ playlistsOpen: [{ type: Output }],
2785
4166
  playlistTargetTrack: [{ type: Input }],
2786
4167
  removableItemIds: [{ type: Input }],
2787
4168
  stationForm: [{ type: Input }],
2788
4169
  settingsSections: [{ type: Input }],
4170
+ settingsBackLabel: [{ type: Input }],
4171
+ settingsBack: [{ type: Output }],
2789
4172
  serverForm: [{ type: Input }],
2790
4173
  devicesOpen: [{ type: Input }],
2791
4174
  lyricsPanel: [{ type: Input }],
2792
4175
  showDeviceButton: [{ type: Input }],
2793
4176
  deviceItems: [{ type: Input }],
4177
+ outputItems: [{ type: Input }],
4178
+ audioOutputId: [{ type: Input }],
4179
+ castGroupLabel: [{ type: Input }],
4180
+ castGroupHint: [{ type: Input }],
4181
+ outputGroupLabel: [{ type: Input }],
4182
+ outputGroupHint: [{ type: Input }],
4183
+ searchDevicesLabel: [{ type: Input }],
4184
+ keepQueueLabel: [{ type: Input }],
2794
4185
  closeLabel: [{ type: Input }],
2795
4186
  sourceChangeLabel: [{ type: Input }],
2796
4187
  sourceChangeTitle: [{ type: Input }],
2797
4188
  sourceDropTitle: [{ type: Input }],
2798
4189
  sourceDropHint: [{ type: Input }],
2799
4190
  sourceChangeAccept: [{ type: Input }],
4191
+ showSourceButton: [{ type: Input }],
2800
4192
  folderImportLabel: [{ type: Input }],
2801
4193
  libraryStatus: [{ type: Input }],
2802
4194
  libraryBusy: [{ type: Input }],
@@ -2828,7 +4220,11 @@ i0.ɵɵngDeclareClassMetadata({
2828
4220
  addLibraryItemNext: [{ type: Output }],
2829
4221
  addLibraryItemToQueue: [{ type: Output }],
2830
4222
  selectQueueItem: [{ type: Output }],
4223
+ queueMoveUp: [{ type: Output }],
4224
+ queueMoveDown: [{ type: Output }],
4225
+ queueRemove: [{ type: Output }],
2831
4226
  createPlaylist: [{ type: Output }],
4227
+ playerPageAction: [{ type: Output }],
2832
4228
  addCurrentToPlaylist: [{ type: Output }],
2833
4229
  addTrackToPlaylist: [{ type: Output }],
2834
4230
  requestPlaylistTarget: [{ type: Output }],
@@ -2842,7 +4238,9 @@ i0.ɵɵngDeclareClassMetadata({
2842
4238
  deletePlaylist: [{ type: Output }],
2843
4239
  toggleDevices: [{ type: Output }],
2844
4240
  refreshDevices: [{ type: Output }],
2845
- openLyrics: [{ type: Output }],
4241
+ selectOutput: [{ type: Output }],
4242
+ keepQueueAsPlaylist: [{ type: Output }],
4243
+ audioOutputApplied: [{ type: Output }],
2846
4244
  refreshLyrics: [{ type: Output }],
2847
4245
  seekLyrics: [{ type: Output }],
2848
4246
  playOnDevice: [{ type: Output }],
@@ -2851,7 +4249,6 @@ i0.ɵɵngDeclareClassMetadata({
2851
4249
  primaryPlaybackToggle: [{ type: Output }],
2852
4250
  playerStateChange: [{ type: Output }],
2853
4251
  toggleFavorite: [{ type: Output }],
2854
- toggleLock: [{ type: Output }],
2855
4252
  makeRingtone: [{ type: Output }],
2856
4253
  revealFileLabel: [{ type: Input }],
2857
4254
  revealFile: [{ type: Output }],
@@ -2873,14 +4270,14 @@ i0.ɵɵngDeclareClassMetadata({
2873
4270
  type: ViewChild,
2874
4271
  args: ["libraryScroll"]
2875
4272
  }],
2876
- lyricsLinesEl: [{
2877
- type: ViewChild,
2878
- args: ["lyricsLines"]
2879
- }],
2880
4273
  queueListEl: [{
2881
4274
  type: ViewChild,
2882
4275
  args: ["queueList"]
2883
4276
  }],
4277
+ playerLyricsEl: [{
4278
+ type: ViewChild,
4279
+ args: ["playerLyricsLines"]
4280
+ }],
2884
4281
  compactLyricsEl: [{
2885
4282
  type: ViewChild,
2886
4283
  args: ["compactLyricsLines"]
@@ -2892,13 +4289,21 @@ i0.ɵɵngDeclareClassMetadata({
2892
4289
  sheetButtonEl: [{
2893
4290
  type: ViewChild,
2894
4291
  args: ["sheetButton"]
4292
+ }],
4293
+ onEscape: [{
4294
+ type: HostListener,
4295
+ args: ["document:keydown.escape"]
4296
+ }],
4297
+ trackMenuBox: [{
4298
+ type: ViewChild,
4299
+ args: ["trackMenuBox"]
2895
4300
  }]
2896
4301
  }
2897
4302
  });
2898
4303
  var NgxSmartPlayerAudioUiModule = class NgxSmartPlayerAudioUiModule {
2899
4304
  static ɵfac = i0.ɵɵngDeclareFactory({
2900
4305
  minVersion: "12.0.0",
2901
- version: "22.2.1",
4306
+ version: "22.3.0",
2902
4307
  ngImport: i0,
2903
4308
  type: NgxSmartPlayerAudioUiModule,
2904
4309
  deps: [],
@@ -2906,7 +4311,7 @@ var NgxSmartPlayerAudioUiModule = class NgxSmartPlayerAudioUiModule {
2906
4311
  });
2907
4312
  static ɵmod = i0.ɵɵngDeclareNgModule({
2908
4313
  minVersion: "14.0.0",
2909
- version: "22.2.1",
4314
+ version: "22.3.0",
2910
4315
  ngImport: i0,
2911
4316
  type: NgxSmartPlayerAudioUiModule,
2912
4317
  imports: [NgxSmartPlayerAudioUiComponent],
@@ -2914,7 +4319,7 @@ var NgxSmartPlayerAudioUiModule = class NgxSmartPlayerAudioUiModule {
2914
4319
  });
2915
4320
  static ɵinj = i0.ɵɵngDeclareInjector({
2916
4321
  minVersion: "12.0.0",
2917
- version: "22.2.1",
4322
+ version: "22.3.0",
2918
4323
  ngImport: i0,
2919
4324
  type: NgxSmartPlayerAudioUiModule,
2920
4325
  imports: [NgxSmartPlayerAudioUiComponent]
@@ -2922,7 +4327,7 @@ var NgxSmartPlayerAudioUiModule = class NgxSmartPlayerAudioUiModule {
2922
4327
  };
2923
4328
  i0.ɵɵngDeclareClassMetadata({
2924
4329
  minVersion: "12.0.0",
2925
- version: "22.2.1",
4330
+ version: "22.3.0",
2926
4331
  ngImport: i0,
2927
4332
  type: NgxSmartPlayerAudioUiModule,
2928
4333
  decorators: [{