@srgssr/pillarbox-web 1.12.2 → 1.13.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/pillarbox-core.cjs.js +1 -1
- package/dist/pillarbox-core.cjs.min.js +1 -1
- package/dist/pillarbox-core.es.js +1 -1
- package/dist/pillarbox-core.es.min.js +1 -1
- package/dist/pillarbox-core.umd.js +1 -1
- package/dist/pillarbox-core.umd.min.js +1 -1
- package/dist/pillarbox.cjs.js +19 -3
- package/dist/pillarbox.cjs.min.js +1 -1
- package/dist/pillarbox.cjs.min.js.map +1 -1
- package/dist/pillarbox.es.js +19 -3
- package/dist/pillarbox.es.min.js +1 -1
- package/dist/pillarbox.es.min.js.map +1 -1
- package/dist/pillarbox.umd.js +19 -3
- package/dist/pillarbox.umd.min.js +9 -9
- package/dist/pillarbox.umd.min.js.map +1 -1
- package/dist/types/src/middleware/srgssr.d.ts.map +1 -1
- package/package.json +1 -1
package/dist/pillarbox.umd.js
CHANGED
|
@@ -111,7 +111,7 @@
|
|
|
111
111
|
return target;
|
|
112
112
|
}
|
|
113
113
|
|
|
114
|
-
var version$8 = "1.
|
|
114
|
+
var version$8 = "1.13.0";
|
|
115
115
|
|
|
116
116
|
var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};
|
|
117
117
|
|
|
@@ -70146,6 +70146,7 @@ ${segmentInfoString(segmentInfo)}`); // If there's an init segment associated wi
|
|
|
70146
70146
|
var COMMERCIAL$4 = "Die Werbung wurde übersprungen.";
|
|
70147
70147
|
var ENDDATE$4 = "Dieser Inhalt ist nicht mehr verfügbar.";
|
|
70148
70148
|
var GEOBLOCK$4 = "Dieser Inhalt ist ausserhalb der Schweiz nicht verfügbar.";
|
|
70149
|
+
var JOURNALISTIC$4 = "Dieser Inhalt steht aus publizistischen Gründen vorübergehend nicht zur Verfügung.";
|
|
70149
70150
|
var LEGAL$4 = "Dieser Inhalt ist aus rechtlichen Gründen nicht verfügbar.";
|
|
70150
70151
|
var STARTDATE$4 = "Dieser Inhalt ist noch nicht verfügbar. Bitte probieren Sie es später noch einmal.";
|
|
70151
70152
|
var UNKNOWN$4 = "Dieser Inhalt ist nicht verfügbar.";
|
|
@@ -70155,6 +70156,7 @@ ${segmentInfoString(segmentInfo)}`); // If there's an init segment associated wi
|
|
|
70155
70156
|
COMMERCIAL: COMMERCIAL$4,
|
|
70156
70157
|
ENDDATE: ENDDATE$4,
|
|
70157
70158
|
GEOBLOCK: GEOBLOCK$4,
|
|
70159
|
+
JOURNALISTIC: JOURNALISTIC$4,
|
|
70158
70160
|
LEGAL: LEGAL$4,
|
|
70159
70161
|
STARTDATE: STARTDATE$4,
|
|
70160
70162
|
UNKNOWN: UNKNOWN$4
|
|
@@ -70167,6 +70169,7 @@ ${segmentInfoString(segmentInfo)}`); // If there's an init segment associated wi
|
|
|
70167
70169
|
COMMERCIAL: COMMERCIAL$4,
|
|
70168
70170
|
ENDDATE: ENDDATE$4,
|
|
70169
70171
|
GEOBLOCK: GEOBLOCK$4,
|
|
70172
|
+
JOURNALISTIC: JOURNALISTIC$4,
|
|
70170
70173
|
LEGAL: LEGAL$4,
|
|
70171
70174
|
STARTDATE: STARTDATE$4,
|
|
70172
70175
|
UNKNOWN: UNKNOWN$4,
|
|
@@ -70359,6 +70362,7 @@ ${segmentInfoString(segmentInfo)}`); // If there's an init segment associated wi
|
|
|
70359
70362
|
var COMMERCIAL$3 = "This commercial content is not available.";
|
|
70360
70363
|
var ENDDATE$3 = "This content is not available anymore.";
|
|
70361
70364
|
var GEOBLOCK$3 = "This content is not available outside Switzerland.";
|
|
70365
|
+
var JOURNALISTIC$3 = "This content is temporarily unavailable for journalistic reasons.";
|
|
70362
70366
|
var LEGAL$3 = "This content is not available due to legal restrictions.";
|
|
70363
70367
|
var STARTDATE$3 = "This content is not available yet.";
|
|
70364
70368
|
var UNKNOWN$3 = "This content is not available.";
|
|
@@ -70368,6 +70372,7 @@ ${segmentInfoString(segmentInfo)}`); // If there's an init segment associated wi
|
|
|
70368
70372
|
COMMERCIAL: COMMERCIAL$3,
|
|
70369
70373
|
ENDDATE: ENDDATE$3,
|
|
70370
70374
|
GEOBLOCK: GEOBLOCK$3,
|
|
70375
|
+
JOURNALISTIC: JOURNALISTIC$3,
|
|
70371
70376
|
LEGAL: LEGAL$3,
|
|
70372
70377
|
STARTDATE: STARTDATE$3,
|
|
70373
70378
|
UNKNOWN: UNKNOWN$3
|
|
@@ -70380,6 +70385,7 @@ ${segmentInfoString(segmentInfo)}`); // If there's an init segment associated wi
|
|
|
70380
70385
|
COMMERCIAL: COMMERCIAL$3,
|
|
70381
70386
|
ENDDATE: ENDDATE$3,
|
|
70382
70387
|
GEOBLOCK: GEOBLOCK$3,
|
|
70388
|
+
JOURNALISTIC: JOURNALISTIC$3,
|
|
70383
70389
|
LEGAL: LEGAL$3,
|
|
70384
70390
|
STARTDATE: STARTDATE$3,
|
|
70385
70391
|
UNKNOWN: UNKNOWN$3,
|
|
@@ -70571,6 +70577,7 @@ ${segmentInfoString(segmentInfo)}`); // If there's an init segment associated wi
|
|
|
70571
70577
|
var COMMERCIAL$2 = "Ce contenu n'est actuellement pas disponible.";
|
|
70572
70578
|
var ENDDATE$2 = "Ce contenu n'est plus disponible.";
|
|
70573
70579
|
var GEOBLOCK$2 = "La RTS ne dispose pas des droits de diffusion en dehors de la Suisse.";
|
|
70580
|
+
var JOURNALISTIC$2 = "Ce contenu est temporairement indisponible pour des raisons éditoriales.";
|
|
70574
70581
|
var LEGAL$2 = "Pour des raisons juridiques, ce contenu n'est pas disponible.";
|
|
70575
70582
|
var STARTDATE$2 = "Ce contenu n'est pas encore disponible. Veuillez réessayer plus tard.";
|
|
70576
70583
|
var UNKNOWN$2 = "Ce contenu n'est actuellement pas disponible.";
|
|
@@ -70580,6 +70587,7 @@ ${segmentInfoString(segmentInfo)}`); // If there's an init segment associated wi
|
|
|
70580
70587
|
COMMERCIAL: COMMERCIAL$2,
|
|
70581
70588
|
ENDDATE: ENDDATE$2,
|
|
70582
70589
|
GEOBLOCK: GEOBLOCK$2,
|
|
70590
|
+
JOURNALISTIC: JOURNALISTIC$2,
|
|
70583
70591
|
LEGAL: LEGAL$2,
|
|
70584
70592
|
STARTDATE: STARTDATE$2,
|
|
70585
70593
|
UNKNOWN: UNKNOWN$2
|
|
@@ -70592,6 +70600,7 @@ ${segmentInfoString(segmentInfo)}`); // If there's an init segment associated wi
|
|
|
70592
70600
|
COMMERCIAL: COMMERCIAL$2,
|
|
70593
70601
|
ENDDATE: ENDDATE$2,
|
|
70594
70602
|
GEOBLOCK: GEOBLOCK$2,
|
|
70603
|
+
JOURNALISTIC: JOURNALISTIC$2,
|
|
70595
70604
|
LEGAL: LEGAL$2,
|
|
70596
70605
|
STARTDATE: STARTDATE$2,
|
|
70597
70606
|
UNKNOWN: UNKNOWN$2,
|
|
@@ -70768,6 +70777,7 @@ ${segmentInfoString(segmentInfo)}`); // If there's an init segment associated wi
|
|
|
70768
70777
|
var COMMERCIAL$1 = "Questo contenuto commerciale non è disponibile.";
|
|
70769
70778
|
var ENDDATE$1 = "Questo media non è più disponibile.";
|
|
70770
70779
|
var GEOBLOCK$1 = "Questo media non è disponibile fuori dalla Svizzera.";
|
|
70780
|
+
var JOURNALISTIC$1 = "Questo contenuto è temporaneamente non disponibile per motivi editoriali.";
|
|
70771
70781
|
var LEGAL$1 = "Il contenuto non è fruibile a causa di restrizioni legali.";
|
|
70772
70782
|
var STARTDATE$1 = "Il contenuto non è ancora disponibile. Per cortesia prova più tardi.";
|
|
70773
70783
|
var UNKNOWN$1 = "Questo media non è disponibile.";
|
|
@@ -70777,6 +70787,7 @@ ${segmentInfoString(segmentInfo)}`); // If there's an init segment associated wi
|
|
|
70777
70787
|
COMMERCIAL: COMMERCIAL$1,
|
|
70778
70788
|
ENDDATE: ENDDATE$1,
|
|
70779
70789
|
GEOBLOCK: GEOBLOCK$1,
|
|
70790
|
+
JOURNALISTIC: JOURNALISTIC$1,
|
|
70780
70791
|
LEGAL: LEGAL$1,
|
|
70781
70792
|
STARTDATE: STARTDATE$1,
|
|
70782
70793
|
UNKNOWN: UNKNOWN$1
|
|
@@ -70789,6 +70800,7 @@ ${segmentInfoString(segmentInfo)}`); // If there's an init segment associated wi
|
|
|
70789
70800
|
COMMERCIAL: COMMERCIAL$1,
|
|
70790
70801
|
ENDDATE: ENDDATE$1,
|
|
70791
70802
|
GEOBLOCK: GEOBLOCK$1,
|
|
70803
|
+
JOURNALISTIC: JOURNALISTIC$1,
|
|
70792
70804
|
LEGAL: LEGAL$1,
|
|
70793
70805
|
STARTDATE: STARTDATE$1,
|
|
70794
70806
|
UNKNOWN: UNKNOWN$1,
|
|
@@ -70839,6 +70851,7 @@ ${segmentInfoString(segmentInfo)}`); // If there's an init segment associated wi
|
|
|
70839
70851
|
var COMMERCIAL = "Quest medium commerzial n'è betg disponibel.";
|
|
70840
70852
|
var ENDDATE = "Quest cuntegn n'è betg pli disponibel.";
|
|
70841
70853
|
var GEOBLOCK = "Quest cuntegn n'è betg disponibel ordaifer la Svizra.";
|
|
70854
|
+
var JOURNALISTIC = "Quest cuntegn na stat ad interim betg a disposiziun per motivs publicistics.";
|
|
70842
70855
|
var LEGAL = "Quest cuntegn n'è betg disponibel perquai ch'el è scadì.";
|
|
70843
70856
|
var STARTDATE = "Quest cuntegn n'è betg anc disponibel. Empruvai pli tard.";
|
|
70844
70857
|
var UNKNOWN = "Quest cuntegn n'è betg disponibel.";
|
|
@@ -70930,6 +70943,7 @@ ${segmentInfoString(segmentInfo)}`); // If there's an init segment associated wi
|
|
|
70930
70943
|
COMMERCIAL: COMMERCIAL,
|
|
70931
70944
|
ENDDATE: ENDDATE,
|
|
70932
70945
|
GEOBLOCK: GEOBLOCK,
|
|
70946
|
+
JOURNALISTIC: JOURNALISTIC,
|
|
70933
70947
|
LEGAL: LEGAL,
|
|
70934
70948
|
STARTDATE: STARTDATE,
|
|
70935
70949
|
UNKNOWN: UNKNOWN
|
|
@@ -70957,6 +70971,7 @@ ${segmentInfoString(segmentInfo)}`); // If there's an init segment associated wi
|
|
|
70957
70971
|
Fullscreen: Fullscreen,
|
|
70958
70972
|
GEOBLOCK: GEOBLOCK,
|
|
70959
70973
|
Green: Green,
|
|
70974
|
+
JOURNALISTIC: JOURNALISTIC,
|
|
70960
70975
|
LEGAL: LEGAL,
|
|
70961
70976
|
LIVE: LIVE,
|
|
70962
70977
|
Loaded: Loaded,
|
|
@@ -71167,8 +71182,9 @@ ${segmentInfoString(segmentInfo)}`); // If there's an init segment associated wi
|
|
|
71167
71182
|
* @returns {Array.<import('./typedef').MainResourceWithKeySystems>}
|
|
71168
71183
|
*/
|
|
71169
71184
|
static composeKeySystemsResources(resources = []) {
|
|
71170
|
-
if (!Drm.hasDrm(resources)) ;
|
|
71171
|
-
|
|
71185
|
+
if (!Drm.hasDrm(resources)) return resources;
|
|
71186
|
+
const resourcesWithKeySystems = resources.map(resource => _objectSpread2(_objectSpread2({}, resource), Drm.buildKeySystems(resource.drmList)));
|
|
71187
|
+
return resourcesWithKeySystems;
|
|
71172
71188
|
}
|
|
71173
71189
|
|
|
71174
71190
|
/**
|