@vonage/vivid 5.3.0 → 5.5.0
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/accordion-item/definition.js +1 -1
- package/alert/definition.cjs +1 -1
- package/alert/definition.js +2 -2
- package/badge/definition.js +1 -1
- package/banner/definition.js +1 -1
- package/bundled/base-color-picker.cjs +18 -13
- package/bundled/base-color-picker.js +98 -81
- package/bundled/calendar-picker.template.cjs +7 -7
- package/bundled/calendar-picker.template.js +102 -102
- package/bundled/char-count.cjs +1 -1
- package/bundled/char-count.js +1 -1
- package/bundled/definition10.cjs +1 -1
- package/bundled/definition10.js +2 -2
- package/bundled/definition11.cjs +12 -19
- package/bundled/definition11.js +87 -66
- package/bundled/definition12.cjs +19 -10
- package/bundled/definition12.js +217 -36
- package/bundled/definition13.cjs +10 -1
- package/bundled/definition13.js +38 -14
- package/bundled/definition14.cjs +1 -5
- package/bundled/definition14.js +15 -24
- package/bundled/definition15.cjs +5 -30
- package/bundled/definition15.js +22 -73
- package/bundled/definition16.cjs +30 -19
- package/bundled/definition16.js +74 -97
- package/bundled/definition17.cjs +19 -13
- package/bundled/definition17.js +83 -117
- package/bundled/definition18.cjs +13 -12
- package/bundled/definition18.js +114 -71
- package/bundled/definition19.cjs +26 -27
- package/bundled/definition19.js +171 -180
- package/bundled/definition2.cjs +9 -9
- package/bundled/definition2.js +84 -129
- package/bundled/definition3.cjs +1 -1
- package/bundled/definition3.js +1 -1
- package/bundled/definition6.cjs +3 -3
- package/bundled/definition6.js +19 -19
- package/bundled/definition9.cjs +5 -5
- package/bundled/definition9.js +394 -392
- package/bundled/listbox.cjs +1 -1
- package/bundled/listbox.js +82 -102
- package/bundled/localized.cjs +1 -1
- package/bundled/localized.js +48 -31
- package/bundled/mixins.cjs +1 -1
- package/bundled/mixins.js +1 -1
- package/bundled/picker-field.template.cjs +14 -14
- package/bundled/picker-field.template.js +35 -56
- package/bundled/time-selection-picker.template.cjs +12 -12
- package/bundled/time-selection-picker.template.js +13 -12
- package/bundled/trapped-focus.cjs +1 -0
- package/bundled/trapped-focus.js +26 -0
- package/bundled/vivid-element.cjs +5 -1
- package/bundled/vivid-element.js +401 -358
- package/calendar/index.cjs +13 -13
- package/calendar/index.js +171 -143
- package/card/definition.cjs +1 -1
- package/card/definition.js +1 -1
- package/color-picker/definition.cjs +209 -113
- package/color-picker/definition.js +209 -113
- package/color-picker/index.cjs +104 -75
- package/color-picker/index.js +412 -326
- package/combobox/definition.cjs +7 -27
- package/combobox/definition.js +8 -28
- package/combobox/index.cjs +6 -6
- package/combobox/index.js +57 -71
- package/contextual-help/index.cjs +1 -1
- package/contextual-help/index.js +1 -1
- package/custom-elements.json +354 -2
- package/data-grid/index.cjs +1 -1
- package/data-grid/index.js +1 -1
- package/date-picker/definition.cjs +1 -1
- package/date-picker/definition.js +1 -1
- package/date-picker/index.cjs +1 -1
- package/date-picker/index.js +2 -2
- package/date-range-picker/definition.cjs +1 -1
- package/date-range-picker/definition.js +1 -1
- package/date-range-picker/index.cjs +1 -1
- package/date-range-picker/index.js +2 -2
- package/date-time-picker/definition.cjs +1 -1
- package/date-time-picker/definition.js +1 -1
- package/date-time-picker/index.cjs +1 -1
- package/date-time-picker/index.js +2 -2
- package/dial-pad/definition.cjs +139 -0
- package/dial-pad/definition.js +139 -0
- package/dial-pad/index.cjs +27 -20
- package/dial-pad/index.js +177 -100
- package/dialog/definition.cjs +2 -2
- package/dialog/definition.js +2 -2
- package/dialog/index.cjs +7 -7
- package/dialog/index.js +6 -6
- package/divider/index.cjs +1 -1
- package/divider/index.js +1 -1
- package/elevation/definition.cjs +1 -1
- package/elevation/definition.js +1 -1
- package/fab/definition.js +1 -1
- package/header/definition.cjs +1 -1
- package/header/definition.js +1 -1
- package/icon/definition.cjs +56 -22
- package/icon/definition.js +56 -22
- package/index.cjs +3 -4
- package/index.js +2 -3
- package/lib/accordion/accordion.d.ts +1 -1
- package/lib/accordion/definition.d.ts +1 -1
- package/lib/audio-player/audio-player.d.ts +1 -1
- package/lib/color-picker/color-picker.d.ts +390 -12
- package/lib/color-picker/locale.d.ts +4 -0
- package/lib/combobox/combobox.d.ts +1 -0
- package/lib/combobox/combobox.options.d.ts +1 -1
- package/lib/date-picker/date-picker.d.ts +38 -38
- package/lib/date-range-picker/date-range-picker.d.ts +20 -20
- package/lib/date-time-picker/date-time-picker.d.ts +40 -40
- package/lib/dial-pad/dial-pad.d.ts +1 -0
- package/lib/divider/divider.d.ts +1 -1
- package/lib/icon/icon.d.ts +1 -0
- package/lib/menu-item/menu-item-role.d.ts +1 -1
- package/lib/popup/popup.d.ts +1 -1
- package/lib/searchable-select/locale.d.ts +4 -0
- package/lib/searchable-select/searchable-select.d.ts +3 -0
- package/lib/select/select.d.ts +3 -1
- package/lib/simple-color-picker/simple-color-picker.d.ts +2 -1
- package/lib/slider/slider.d.ts +1 -1
- package/lib/tabs/tabs.d.ts +2 -2
- package/lib/text-area/text-area.d.ts +1 -1
- package/lib/text-field/text-field.d.ts +1 -1
- package/lib/time-picker/time-picker.d.ts +20 -20
- package/locales/de-DE.cjs +20 -3
- package/locales/de-DE.js +20 -3
- package/locales/en-GB.cjs +21 -4
- package/locales/en-GB.js +21 -4
- package/locales/en-US.cjs +21 -4
- package/locales/en-US.js +21 -4
- package/locales/ja-JP.cjs +20 -3
- package/locales/ja-JP.js +20 -3
- package/locales/zh-CN.cjs +19 -2
- package/locales/zh-CN.js +19 -2
- package/menu/definition.cjs +4 -4
- package/menu/definition.js +4 -4
- package/nav-disclosure/definition.js +1 -1
- package/nav-item/definition.js +1 -1
- package/note/definition.js +1 -1
- package/number-field/definition.js +1 -1
- package/number-field/index.cjs +1 -1
- package/number-field/index.js +3 -3
- package/option/definition.cjs +6 -77
- package/option/definition.js +3 -78
- package/option/index.cjs +1 -1
- package/option/index.js +1 -1
- package/package.json +31 -5
- package/popup/definition.cjs +2 -2
- package/popup/definition.js +2 -2
- package/progress-ring/index.cjs +1 -1
- package/progress-ring/index.js +1 -1
- package/radio/index.cjs +1 -1
- package/radio/index.js +1 -1
- package/radio-group/index.cjs +1 -1
- package/radio-group/index.js +1 -1
- package/range-slider/definition.cjs +1 -1
- package/range-slider/definition.js +1 -1
- package/rich-text-editor/definition.cjs +2 -3
- package/rich-text-editor/definition.js +1 -2
- package/rich-text-editor/index.cjs +27 -27
- package/rich-text-editor/index.js +1209 -1199
- package/searchable-select/definition.cjs +103 -11
- package/searchable-select/definition.js +103 -11
- package/searchable-select/index.cjs +81 -69
- package/searchable-select/index.js +359 -273
- package/select/definition.cjs +30 -44
- package/select/definition.js +30 -44
- package/selectable-box/definition.cjs +1 -1
- package/selectable-box/definition.js +1 -1
- package/selectable-box/index.cjs +1 -1
- package/selectable-box/index.js +2 -2
- package/shared/aria/aria-mixin.d.ts +1 -1
- package/shared/color-picker/base-color-picker.d.ts +2 -1
- package/shared/foundation/listbox/listbox.d.ts +4 -0
- package/shared/picker-field/mixins/calendar-picker.d.ts +10 -10
- package/shared/picker-field/mixins/calendar-picker.template.d.ts +10 -10
- package/shared/picker-field/mixins/min-max-calendar-picker.d.ts +20 -20
- package/shared/picker-field/mixins/single-date-picker.d.ts +28 -28
- package/shared/picker-field/mixins/single-value-picker.d.ts +8 -8
- package/shared/picker-field/mixins/time-selection-picker.d.ts +20 -20
- package/shared/picker-field/mixins/time-selection-picker.template.d.ts +20 -20
- package/simple-color-picker/definition.cjs +9 -7
- package/simple-color-picker/definition.js +9 -7
- package/simple-color-picker/index.cjs +6 -6
- package/simple-color-picker/index.js +41 -39
- package/slider/definition.cjs +1 -1
- package/slider/definition.js +1 -1
- package/split-button/definition.js +1 -1
- package/styles/core/all.css +1 -1
- package/styles/core/theme.css +1 -1
- package/styles/core/typography.css +1 -1
- package/styles/tokens/theme-dark.css +4 -4
- package/styles/tokens/theme-light.css +4 -4
- package/styles/tokens/vivid-2-compat.css +1 -1
- package/tab/definition.js +1 -1
- package/tag/definition.cjs +34 -14
- package/tag/definition.js +35 -15
- package/tag/index.cjs +25 -12
- package/tag/index.js +64 -47
- package/tag-group/definition.cjs +1 -2
- package/tag-group/definition.js +1 -2
- package/tag-group/index.cjs +1 -1
- package/tag-group/index.js +11 -12
- package/text-area/index.cjs +1 -1
- package/text-area/index.js +2 -2
- package/text-field/definition.js +1 -1
- package/time-picker/definition.cjs +1 -1
- package/time-picker/definition.js +1 -1
- package/time-picker/index.cjs +1 -1
- package/time-picker/index.js +1 -1
- package/toggletip/definition.cjs +1 -1
- package/toggletip/definition.js +1 -1
- package/toggletip/index.cjs +1 -1
- package/toggletip/index.js +1 -1
- package/tooltip/definition.cjs +3 -3
- package/tooltip/definition.js +3 -3
- package/tooltip/index.cjs +1 -1
- package/tooltip/index.js +1 -1
- package/tree-item/definition.cjs +1 -1
- package/tree-item/definition.js +1 -1
- package/tree-view/definition.cjs +1 -1
- package/tree-view/definition.js +1 -1
- package/unbundled/affix.js +1 -1
- package/unbundled/base-color-picker.cjs +36 -18
- package/unbundled/base-color-picker.js +36 -18
- package/unbundled/calendar-picker.template.cjs +2 -2
- package/unbundled/calendar-picker.template.js +2 -2
- package/unbundled/definition.js +1 -1
- package/unbundled/definition2.js +1 -1
- package/unbundled/definition3.cjs +222 -141
- package/unbundled/definition3.js +220 -139
- package/unbundled/definition4.cjs +145 -235
- package/unbundled/definition4.js +143 -233
- package/unbundled/definition5.cjs +269 -27
- package/unbundled/definition5.js +267 -26
- package/unbundled/definition6.cjs +56 -0
- package/unbundled/definition6.js +52 -0
- package/unbundled/listbox.cjs +41 -63
- package/unbundled/listbox.js +39 -61
- package/unbundled/picker-field.template.cjs +3 -36
- package/unbundled/picker-field.template.js +3 -35
- package/unbundled/slider.template.cjs +1 -1
- package/unbundled/slider.template.js +1 -1
- package/unbundled/time-selection-picker.template.cjs +2 -1
- package/unbundled/time-selection-picker.template.js +2 -1
- package/unbundled/trapped-focus.cjs +37 -0
- package/unbundled/trapped-focus.js +34 -0
- package/unbundled/vivid-element.cjs +1 -1
- package/unbundled/vivid-element.js +1 -1
- package/video-player/definition.cjs +56 -16
- package/video-player/definition.js +56 -16
- package/video-player/index.cjs +36 -36
- package/video-player/index.js +2461 -2445
- package/visually-hidden/index.cjs +1 -1
- package/visually-hidden/index.js +1 -1
- package/vivid.api.json +285 -38
- package/bundled/_has.cjs +0 -1
- package/bundled/_has.js +0 -34
- package/bundled/option.cjs +0 -1
- package/bundled/option.js +0 -158
- package/unbundled/option.cjs +0 -217
- package/unbundled/option.js +0 -214
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
const ignoredEvents = /* @__PURE__ */ new WeakSet();
|
|
2
|
+
const ignoreEventInFocusTraps = (event) => {
|
|
3
|
+
ignoredEvents.add(event);
|
|
4
|
+
};
|
|
5
|
+
const TrappedFocus = (Base) => {
|
|
6
|
+
class TrappedFocusElement extends Base {
|
|
7
|
+
/**
|
|
8
|
+
* @returns Whether focus was trapped.
|
|
9
|
+
* @internal
|
|
10
|
+
*/
|
|
11
|
+
_trappedFocus(event, getFocusableEls) {
|
|
12
|
+
if (!ignoredEvents.has(event) && event.key === "Tab") {
|
|
13
|
+
const focusableEls = getFocusableEls();
|
|
14
|
+
const firstFocusableEl = focusableEls[0];
|
|
15
|
+
const lastFocusableEl = focusableEls[focusableEls.length - 1];
|
|
16
|
+
if (event.shiftKey) {
|
|
17
|
+
if (this.shadowRoot.activeElement === firstFocusableEl) {
|
|
18
|
+
lastFocusableEl.focus();
|
|
19
|
+
return true;
|
|
20
|
+
}
|
|
21
|
+
} else {
|
|
22
|
+
if (this.shadowRoot.activeElement === lastFocusableEl) {
|
|
23
|
+
firstFocusableEl.focus();
|
|
24
|
+
return true;
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
return false;
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
return TrappedFocusElement;
|
|
32
|
+
};
|
|
33
|
+
|
|
34
|
+
export { TrappedFocus as T, ignoreEventInFocusTraps as i };
|
|
@@ -268,7 +268,7 @@ const ReplacedPropHandling = (Base) => {
|
|
|
268
268
|
|
|
269
269
|
class VividElement extends AriaMixin(ReplacedPropHandling(fastElement.FASTElement)) {
|
|
270
270
|
static {
|
|
271
|
-
this.VIVID_VERSION = "5.
|
|
271
|
+
this.VIVID_VERSION = "5.5.0";
|
|
272
272
|
}
|
|
273
273
|
/**
|
|
274
274
|
* Add data-vvd-component attribute with component name globally,
|
|
@@ -266,7 +266,7 @@ const ReplacedPropHandling = (Base) => {
|
|
|
266
266
|
|
|
267
267
|
class VividElement extends AriaMixin(ReplacedPropHandling(FASTElement)) {
|
|
268
268
|
static {
|
|
269
|
-
this.VIVID_VERSION = "5.
|
|
269
|
+
this.VIVID_VERSION = "5.5.0";
|
|
270
270
|
}
|
|
271
271
|
/**
|
|
272
272
|
* Add data-vvd-component attribute with component name globally,
|
|
@@ -6313,6 +6313,9 @@ function _insertBefore(parent, node, child, _inDocumentAssertion) {
|
|
|
6313
6313
|
}
|
|
6314
6314
|
do{
|
|
6315
6315
|
newFirst.parentNode = parent;
|
|
6316
|
+
// Update ownerDocument for each node being inserted
|
|
6317
|
+
var targetDoc = parent.ownerDocument || parent;
|
|
6318
|
+
_updateOwnerDocument(newFirst, targetDoc);
|
|
6316
6319
|
}while(newFirst !== newLast && (newFirst= newFirst.nextSibling))
|
|
6317
6320
|
_onUpdateChild(parent.ownerDocument||parent, parent);
|
|
6318
6321
|
//console.log(parent.lastChild.nextSibling == null)
|
|
@@ -6322,6 +6325,37 @@ function _insertBefore(parent, node, child, _inDocumentAssertion) {
|
|
|
6322
6325
|
return node;
|
|
6323
6326
|
}
|
|
6324
6327
|
|
|
6328
|
+
/**
|
|
6329
|
+
* Recursively updates the ownerDocument property for a node and all its descendants
|
|
6330
|
+
* @param {Node} node
|
|
6331
|
+
* @param {Document} newOwnerDocument
|
|
6332
|
+
* @private
|
|
6333
|
+
*/
|
|
6334
|
+
function _updateOwnerDocument(node, newOwnerDocument) {
|
|
6335
|
+
if (node.ownerDocument === newOwnerDocument) {
|
|
6336
|
+
return;
|
|
6337
|
+
}
|
|
6338
|
+
|
|
6339
|
+
node.ownerDocument = newOwnerDocument;
|
|
6340
|
+
|
|
6341
|
+
// Update attributes if this is an element
|
|
6342
|
+
if (node.nodeType === ELEMENT_NODE && node.attributes) {
|
|
6343
|
+
for (var i = 0; i < node.attributes.length; i++) {
|
|
6344
|
+
var attr = node.attributes.item(i);
|
|
6345
|
+
if (attr) {
|
|
6346
|
+
attr.ownerDocument = newOwnerDocument;
|
|
6347
|
+
}
|
|
6348
|
+
}
|
|
6349
|
+
}
|
|
6350
|
+
|
|
6351
|
+
// Recursively update child nodes
|
|
6352
|
+
var child = node.firstChild;
|
|
6353
|
+
while (child) {
|
|
6354
|
+
_updateOwnerDocument(child, newOwnerDocument);
|
|
6355
|
+
child = child.nextSibling;
|
|
6356
|
+
}
|
|
6357
|
+
}
|
|
6358
|
+
|
|
6325
6359
|
/**
|
|
6326
6360
|
* Appends `newChild` to `parentNode`.
|
|
6327
6361
|
* If `newChild` is already connected to a `parentNode` it is first removed from it.
|
|
@@ -6347,6 +6381,11 @@ function _appendSingleChild (parentNode, newChild) {
|
|
|
6347
6381
|
}
|
|
6348
6382
|
parentNode.lastChild = newChild;
|
|
6349
6383
|
_onUpdateChild(parentNode.ownerDocument, parentNode, newChild);
|
|
6384
|
+
|
|
6385
|
+
// Update ownerDocument for the new child and all its descendants
|
|
6386
|
+
var targetDoc = parentNode.ownerDocument || parentNode;
|
|
6387
|
+
_updateOwnerDocument(newChild, targetDoc);
|
|
6388
|
+
|
|
6350
6389
|
return newChild;
|
|
6351
6390
|
}
|
|
6352
6391
|
|
|
@@ -6375,7 +6414,7 @@ Document.prototype = {
|
|
|
6375
6414
|
return newChild;
|
|
6376
6415
|
}
|
|
6377
6416
|
_insertBefore(this, newChild, refChild);
|
|
6378
|
-
newChild
|
|
6417
|
+
_updateOwnerDocument(newChild, this);
|
|
6379
6418
|
if (this.documentElement === null && newChild.nodeType === ELEMENT_NODE) {
|
|
6380
6419
|
this.documentElement = newChild;
|
|
6381
6420
|
}
|
|
@@ -6391,7 +6430,7 @@ Document.prototype = {
|
|
|
6391
6430
|
replaceChild: function (newChild, oldChild) {
|
|
6392
6431
|
//raises
|
|
6393
6432
|
_insertBefore(this, newChild, oldChild, assertPreReplacementValidityInDocument);
|
|
6394
|
-
newChild
|
|
6433
|
+
_updateOwnerDocument(newChild, this);
|
|
6395
6434
|
if (oldChild) {
|
|
6396
6435
|
this.removeChild(oldChild);
|
|
6397
6436
|
}
|
|
@@ -13743,7 +13782,7 @@ var clock = {
|
|
|
13743
13782
|
|
|
13744
13783
|
/**
|
|
13745
13784
|
* @license
|
|
13746
|
-
* Video.js 8.23.
|
|
13785
|
+
* Video.js 8.23.4 <http://videojs.com/>
|
|
13747
13786
|
* Copyright Brightcove, Inc. <https://www.brightcove.com/>
|
|
13748
13787
|
* Available under Apache License Version 2.0
|
|
13749
13788
|
* <https://github.com/videojs/video.js/blob/main/LICENSE>
|
|
@@ -13754,7 +13793,7 @@ var clock = {
|
|
|
13754
13793
|
*/
|
|
13755
13794
|
|
|
13756
13795
|
|
|
13757
|
-
var version$6 = "8.23.
|
|
13796
|
+
var version$6 = "8.23.4";
|
|
13758
13797
|
|
|
13759
13798
|
/**
|
|
13760
13799
|
* An Object that contains lifecycle hooks as keys which point to an array
|
|
@@ -17852,8 +17891,8 @@ class Component$1 {
|
|
|
17852
17891
|
* Remove a child `Component` from this `Component`s list of children. Also removes
|
|
17853
17892
|
* the child `Component`s element from this `Component`s element.
|
|
17854
17893
|
*
|
|
17855
|
-
* @param {Component} component
|
|
17856
|
-
*
|
|
17894
|
+
* @param {string|Component} component
|
|
17895
|
+
* The name or instance of a child to remove.
|
|
17857
17896
|
*/
|
|
17858
17897
|
removeChild(component) {
|
|
17859
17898
|
if (typeof component === 'string') {
|
|
@@ -41966,7 +42005,7 @@ videojs.registerPlugin('qualityLevels', qualityLevels);
|
|
|
41966
42005
|
// Include the version number.
|
|
41967
42006
|
qualityLevels.VERSION = version$5;
|
|
41968
42007
|
|
|
41969
|
-
/*! @name @videojs/http-streaming @version 3.17.
|
|
42008
|
+
/*! @name @videojs/http-streaming @version 3.17.2 @license Apache-2.0 */
|
|
41970
42009
|
|
|
41971
42010
|
/**
|
|
41972
42011
|
* @file resolve-url.js - Handling how URLs are resolved and manipulated
|
|
@@ -43470,7 +43509,7 @@ const getStreamingNetworkErrorMetadata = ({
|
|
|
43470
43509
|
} else if (request.aborted) {
|
|
43471
43510
|
errorMetadata.errorType = videojs.Error.NetworkRequestAborted;
|
|
43472
43511
|
} else if (request.timedout) {
|
|
43473
|
-
errorMetadata.
|
|
43512
|
+
errorMetadata.errorType = videojs.Error.NetworkRequestTimeout;
|
|
43474
43513
|
} else if (isBadStatusOrParseFailure) {
|
|
43475
43514
|
const errorType = parseFailure ? videojs.Error.NetworkBodyParserFailed : videojs.Error.NetworkBadStatus;
|
|
43476
43515
|
errorMetadata.errorType = errorType;
|
|
@@ -44746,16 +44785,17 @@ class PlaylistLoader extends EventTarget$1 {
|
|
|
44746
44785
|
*/
|
|
44747
44786
|
|
|
44748
44787
|
getKeyIdSet(playlist) {
|
|
44749
|
-
|
|
44750
|
-
|
|
44751
|
-
|
|
44788
|
+
const keyIds = new Set();
|
|
44789
|
+
if (!playlist || !playlist.contentProtection) {
|
|
44790
|
+
return keyIds;
|
|
44791
|
+
}
|
|
44792
|
+
for (const keysystem in playlist.contentProtection) {
|
|
44793
|
+
if (playlist.contentProtection[keysystem] && playlist.contentProtection[keysystem].attributes && playlist.contentProtection[keysystem].attributes.keyId) {
|
|
44752
44794
|
const keyId = playlist.contentProtection[keysystem].attributes.keyId;
|
|
44753
|
-
|
|
44754
|
-
keyIds.add(keyId.toLowerCase());
|
|
44755
|
-
}
|
|
44795
|
+
keyIds.add(keyId.toLowerCase());
|
|
44756
44796
|
}
|
|
44757
|
-
return keyIds;
|
|
44758
44797
|
}
|
|
44798
|
+
return keyIds;
|
|
44759
44799
|
}
|
|
44760
44800
|
}
|
|
44761
44801
|
|
|
@@ -67811,7 +67851,7 @@ const initPlugin = function (player, options) {
|
|
|
67811
67851
|
const reloadSourceOnError = function (options) {
|
|
67812
67852
|
initPlugin(this, options);
|
|
67813
67853
|
};
|
|
67814
|
-
var version$4 = "3.17.
|
|
67854
|
+
var version$4 = "3.17.2";
|
|
67815
67855
|
var version$3 = "7.1.0";
|
|
67816
67856
|
var version$2 = "1.3.1";
|
|
67817
67857
|
var version$1 = "7.2.0";
|
|
@@ -6309,6 +6309,9 @@ function _insertBefore(parent, node, child, _inDocumentAssertion) {
|
|
|
6309
6309
|
}
|
|
6310
6310
|
do{
|
|
6311
6311
|
newFirst.parentNode = parent;
|
|
6312
|
+
// Update ownerDocument for each node being inserted
|
|
6313
|
+
var targetDoc = parent.ownerDocument || parent;
|
|
6314
|
+
_updateOwnerDocument(newFirst, targetDoc);
|
|
6312
6315
|
}while(newFirst !== newLast && (newFirst= newFirst.nextSibling))
|
|
6313
6316
|
_onUpdateChild(parent.ownerDocument||parent, parent);
|
|
6314
6317
|
//console.log(parent.lastChild.nextSibling == null)
|
|
@@ -6318,6 +6321,37 @@ function _insertBefore(parent, node, child, _inDocumentAssertion) {
|
|
|
6318
6321
|
return node;
|
|
6319
6322
|
}
|
|
6320
6323
|
|
|
6324
|
+
/**
|
|
6325
|
+
* Recursively updates the ownerDocument property for a node and all its descendants
|
|
6326
|
+
* @param {Node} node
|
|
6327
|
+
* @param {Document} newOwnerDocument
|
|
6328
|
+
* @private
|
|
6329
|
+
*/
|
|
6330
|
+
function _updateOwnerDocument(node, newOwnerDocument) {
|
|
6331
|
+
if (node.ownerDocument === newOwnerDocument) {
|
|
6332
|
+
return;
|
|
6333
|
+
}
|
|
6334
|
+
|
|
6335
|
+
node.ownerDocument = newOwnerDocument;
|
|
6336
|
+
|
|
6337
|
+
// Update attributes if this is an element
|
|
6338
|
+
if (node.nodeType === ELEMENT_NODE && node.attributes) {
|
|
6339
|
+
for (var i = 0; i < node.attributes.length; i++) {
|
|
6340
|
+
var attr = node.attributes.item(i);
|
|
6341
|
+
if (attr) {
|
|
6342
|
+
attr.ownerDocument = newOwnerDocument;
|
|
6343
|
+
}
|
|
6344
|
+
}
|
|
6345
|
+
}
|
|
6346
|
+
|
|
6347
|
+
// Recursively update child nodes
|
|
6348
|
+
var child = node.firstChild;
|
|
6349
|
+
while (child) {
|
|
6350
|
+
_updateOwnerDocument(child, newOwnerDocument);
|
|
6351
|
+
child = child.nextSibling;
|
|
6352
|
+
}
|
|
6353
|
+
}
|
|
6354
|
+
|
|
6321
6355
|
/**
|
|
6322
6356
|
* Appends `newChild` to `parentNode`.
|
|
6323
6357
|
* If `newChild` is already connected to a `parentNode` it is first removed from it.
|
|
@@ -6343,6 +6377,11 @@ function _appendSingleChild (parentNode, newChild) {
|
|
|
6343
6377
|
}
|
|
6344
6378
|
parentNode.lastChild = newChild;
|
|
6345
6379
|
_onUpdateChild(parentNode.ownerDocument, parentNode, newChild);
|
|
6380
|
+
|
|
6381
|
+
// Update ownerDocument for the new child and all its descendants
|
|
6382
|
+
var targetDoc = parentNode.ownerDocument || parentNode;
|
|
6383
|
+
_updateOwnerDocument(newChild, targetDoc);
|
|
6384
|
+
|
|
6346
6385
|
return newChild;
|
|
6347
6386
|
}
|
|
6348
6387
|
|
|
@@ -6371,7 +6410,7 @@ Document.prototype = {
|
|
|
6371
6410
|
return newChild;
|
|
6372
6411
|
}
|
|
6373
6412
|
_insertBefore(this, newChild, refChild);
|
|
6374
|
-
newChild
|
|
6413
|
+
_updateOwnerDocument(newChild, this);
|
|
6375
6414
|
if (this.documentElement === null && newChild.nodeType === ELEMENT_NODE) {
|
|
6376
6415
|
this.documentElement = newChild;
|
|
6377
6416
|
}
|
|
@@ -6387,7 +6426,7 @@ Document.prototype = {
|
|
|
6387
6426
|
replaceChild: function (newChild, oldChild) {
|
|
6388
6427
|
//raises
|
|
6389
6428
|
_insertBefore(this, newChild, oldChild, assertPreReplacementValidityInDocument);
|
|
6390
|
-
newChild
|
|
6429
|
+
_updateOwnerDocument(newChild, this);
|
|
6391
6430
|
if (oldChild) {
|
|
6392
6431
|
this.removeChild(oldChild);
|
|
6393
6432
|
}
|
|
@@ -13739,7 +13778,7 @@ var clock = {
|
|
|
13739
13778
|
|
|
13740
13779
|
/**
|
|
13741
13780
|
* @license
|
|
13742
|
-
* Video.js 8.23.
|
|
13781
|
+
* Video.js 8.23.4 <http://videojs.com/>
|
|
13743
13782
|
* Copyright Brightcove, Inc. <https://www.brightcove.com/>
|
|
13744
13783
|
* Available under Apache License Version 2.0
|
|
13745
13784
|
* <https://github.com/videojs/video.js/blob/main/LICENSE>
|
|
@@ -13750,7 +13789,7 @@ var clock = {
|
|
|
13750
13789
|
*/
|
|
13751
13790
|
|
|
13752
13791
|
|
|
13753
|
-
var version$6 = "8.23.
|
|
13792
|
+
var version$6 = "8.23.4";
|
|
13754
13793
|
|
|
13755
13794
|
/**
|
|
13756
13795
|
* An Object that contains lifecycle hooks as keys which point to an array
|
|
@@ -17848,8 +17887,8 @@ class Component$1 {
|
|
|
17848
17887
|
* Remove a child `Component` from this `Component`s list of children. Also removes
|
|
17849
17888
|
* the child `Component`s element from this `Component`s element.
|
|
17850
17889
|
*
|
|
17851
|
-
* @param {Component} component
|
|
17852
|
-
*
|
|
17890
|
+
* @param {string|Component} component
|
|
17891
|
+
* The name or instance of a child to remove.
|
|
17853
17892
|
*/
|
|
17854
17893
|
removeChild(component) {
|
|
17855
17894
|
if (typeof component === 'string') {
|
|
@@ -41962,7 +42001,7 @@ videojs.registerPlugin('qualityLevels', qualityLevels);
|
|
|
41962
42001
|
// Include the version number.
|
|
41963
42002
|
qualityLevels.VERSION = version$5;
|
|
41964
42003
|
|
|
41965
|
-
/*! @name @videojs/http-streaming @version 3.17.
|
|
42004
|
+
/*! @name @videojs/http-streaming @version 3.17.2 @license Apache-2.0 */
|
|
41966
42005
|
|
|
41967
42006
|
/**
|
|
41968
42007
|
* @file resolve-url.js - Handling how URLs are resolved and manipulated
|
|
@@ -43466,7 +43505,7 @@ const getStreamingNetworkErrorMetadata = ({
|
|
|
43466
43505
|
} else if (request.aborted) {
|
|
43467
43506
|
errorMetadata.errorType = videojs.Error.NetworkRequestAborted;
|
|
43468
43507
|
} else if (request.timedout) {
|
|
43469
|
-
errorMetadata.
|
|
43508
|
+
errorMetadata.errorType = videojs.Error.NetworkRequestTimeout;
|
|
43470
43509
|
} else if (isBadStatusOrParseFailure) {
|
|
43471
43510
|
const errorType = parseFailure ? videojs.Error.NetworkBodyParserFailed : videojs.Error.NetworkBadStatus;
|
|
43472
43511
|
errorMetadata.errorType = errorType;
|
|
@@ -44742,16 +44781,17 @@ class PlaylistLoader extends EventTarget$1 {
|
|
|
44742
44781
|
*/
|
|
44743
44782
|
|
|
44744
44783
|
getKeyIdSet(playlist) {
|
|
44745
|
-
|
|
44746
|
-
|
|
44747
|
-
|
|
44784
|
+
const keyIds = new Set();
|
|
44785
|
+
if (!playlist || !playlist.contentProtection) {
|
|
44786
|
+
return keyIds;
|
|
44787
|
+
}
|
|
44788
|
+
for (const keysystem in playlist.contentProtection) {
|
|
44789
|
+
if (playlist.contentProtection[keysystem] && playlist.contentProtection[keysystem].attributes && playlist.contentProtection[keysystem].attributes.keyId) {
|
|
44748
44790
|
const keyId = playlist.contentProtection[keysystem].attributes.keyId;
|
|
44749
|
-
|
|
44750
|
-
keyIds.add(keyId.toLowerCase());
|
|
44751
|
-
}
|
|
44791
|
+
keyIds.add(keyId.toLowerCase());
|
|
44752
44792
|
}
|
|
44753
|
-
return keyIds;
|
|
44754
44793
|
}
|
|
44794
|
+
return keyIds;
|
|
44755
44795
|
}
|
|
44756
44796
|
}
|
|
44757
44797
|
|
|
@@ -67807,7 +67847,7 @@ const initPlugin = function (player, options) {
|
|
|
67807
67847
|
const reloadSourceOnError = function (options) {
|
|
67808
67848
|
initPlugin(this, options);
|
|
67809
67849
|
};
|
|
67810
|
-
var version$4 = "3.17.
|
|
67850
|
+
var version$4 = "3.17.2";
|
|
67811
67851
|
var version$3 = "7.1.0";
|
|
67812
67852
|
var version$2 = "1.3.1";
|
|
67813
67853
|
var version$1 = "7.2.0";
|