@clickview/streamable-learning 0.0.0-rc.0 → 0.0.1-rc.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/dist/bundles.json +2 -2
- package/dist/css/146-streamable-learning-6efa9a8c08.chunk.css +13 -0
- package/dist/css/{790-streamable-learning-ca964cb5b3.chunk.css → 154-streamable-learning-75a527f710.chunk.css} +10 -6
- package/dist/css/270-streamable-learning-dee3572bcc.chunk.css +13 -0
- package/dist/css/498-streamable-learning-8c9306617b.chunk.css +2 -0
- package/dist/css/{269-streamable-learning-a846e92af2.chunk.css → 500-streamable-learning-ff96f7eab2.chunk.css} +10 -6
- package/dist/css/513-streamable-learning-85c08e0392.chunk.css +3 -0
- package/dist/css/{52-streamable-learning-e0ed06b30e.chunk.css → 596-streamable-learning-75ed3a71dd.chunk.css} +1 -1
- package/dist/css/662-streamable-learning-02acf4690b.chunk.css +2 -0
- package/dist/css/81-streamable-learning-68332034f4.chunk.css +65 -0
- package/dist/css/{489-streamable-learning-c8878d706b.chunk.css → 88-streamable-learning-985c636e21.chunk.css} +10 -6
- package/dist/css/987-streamable-learning-75b9144dfc.chunk.css +3 -0
- package/dist/css/streamable-learning-c1db31b092.css +24 -0
- package/dist/languages/en.json +1 -1
- package/dist/scripts/146-cd71d145db-streamable-learning.chunk.js +1 -0
- package/dist/scripts/154-5a195cb74f-streamable-learning.chunk.js +1 -0
- package/dist/scripts/173-e1f579fe0c-streamable-learning.chunk.js +1 -0
- package/dist/scripts/242-da7f85a9cf-streamable-learning.chunk.js +1 -0
- package/dist/scripts/254-6caec5a473-streamable-learning.chunk.js +1 -0
- package/dist/scripts/262-f0e68b0d82-streamable-learning.chunk.js +2 -0
- package/dist/scripts/262-f0e68b0d82-streamable-learning.chunk.js.LICENSE.txt +32 -0
- package/dist/scripts/270-30b041d946-streamable-learning.chunk.js +1 -0
- package/dist/scripts/297-858cfe3bf2-streamable-learning.chunk.js +1 -0
- package/dist/scripts/308-5084c9cb04-streamable-learning.chunk.js +1 -0
- package/dist/scripts/448-8350cd220e-streamable-learning.chunk.js +1 -0
- package/dist/scripts/498-8608aa0951-streamable-learning.chunk.js +1 -0
- package/dist/scripts/50-3d31dff0fa-streamable-learning.chunk.js +1 -0
- package/dist/scripts/500-d9ece27106-streamable-learning.chunk.js +2 -0
- package/dist/scripts/513-e13db169ea-streamable-learning.chunk.js +1 -0
- package/dist/scripts/518-ccfeda4b4d-streamable-learning.chunk.js +1 -0
- package/dist/scripts/542-a8992461c6-streamable-learning.chunk.js +1 -0
- package/dist/scripts/587-233c1a5b6a-streamable-learning.chunk.js +1 -0
- package/dist/scripts/596-7071128cc4-streamable-learning.chunk.js +1 -0
- package/dist/scripts/{65-731615def4-streamable-learning.chunk.js → 65-afa26c23fb-streamable-learning.chunk.js} +2 -2
- package/dist/scripts/662-691e80767a-streamable-learning.chunk.js +1 -0
- package/dist/scripts/680-4daac1a721-streamable-learning.chunk.js +1 -0
- package/dist/scripts/81-132c530d33-streamable-learning.chunk.js +2 -0
- package/dist/scripts/872-61784ef2bc-streamable-learning.chunk.js +1 -0
- package/dist/scripts/88-e00434e11e-streamable-learning.chunk.js +1 -0
- package/dist/scripts/912-996ba34d03-streamable-learning.chunk.js +1 -0
- package/dist/scripts/933-095c2c8cc2-streamable-learning.chunk.js +1 -0
- package/dist/scripts/934-83c6e5f3a1-streamable-learning.chunk.js +2 -0
- package/dist/scripts/934-83c6e5f3a1-streamable-learning.chunk.js.LICENSE.txt +9 -0
- package/dist/scripts/958-c4e15434ce-streamable-learning.chunk.js +1 -0
- package/dist/scripts/987-48f6df4ffe-streamable-learning.chunk.js +1 -0
- package/dist/scripts/bundle-df47360154.min.js +2 -0
- package/dist/scripts/{bundle-ea485333fd.min.js.LICENSE.txt → bundle-df47360154.min.js.LICENSE.txt} +3 -50
- package/jest.config.js +11 -11
- package/package.json +33 -33
- package/typings/libs/CVLanguages.d.ts +24 -24
- package/typings/libs/cloneDeep.d.ts +4 -4
- package/typings/libs/intersection-observer.d.ts +82 -82
- package/typings/libs/trackjs.d.ts +2 -2
- package/typings/libs/videojs-contrib-quality-levels.d.ts +28 -28
- package/typings/utils/imports.d.ts +11 -11
- package/dist/css/120-streamable-learning-5e77ad14ab.chunk.css +0 -35
- package/dist/css/streamable-learning-50d4b4eb8c.css +0 -76
- package/dist/scripts/120-40b8d7de57-streamable-learning.chunk.js +0 -1
- package/dist/scripts/181-8cc6469603-streamable-learning.chunk.js +0 -1
- package/dist/scripts/199-0aee1f0d59-streamable-learning.chunk.js +0 -1
- package/dist/scripts/269-55b65c9a66-streamable-learning.chunk.js +0 -2
- package/dist/scripts/40-9293d44b61-streamable-learning.chunk.js +0 -1
- package/dist/scripts/452-5d764b490c-streamable-learning.chunk.js +0 -1
- package/dist/scripts/461-5d967bdca8-streamable-learning.chunk.js +0 -1
- package/dist/scripts/482-a613a20a44-streamable-learning.chunk.js +0 -1
- package/dist/scripts/489-a26c16b888-streamable-learning.chunk.js +0 -2
- package/dist/scripts/52-d1894d7ebb-streamable-learning.chunk.js +0 -1
- package/dist/scripts/565-c5a9edb6f8-streamable-learning.chunk.js +0 -1
- package/dist/scripts/578-8dcf1dc2f5-streamable-learning.chunk.js +0 -1
- package/dist/scripts/671-27f569f9ec-streamable-learning.chunk.js +0 -1
- package/dist/scripts/725-3d6f257f64-streamable-learning.chunk.js +0 -1
- package/dist/scripts/758-08bd99d061-streamable-learning.chunk.js +0 -1
- package/dist/scripts/773-71a22134a7-streamable-learning.chunk.js +0 -1
- package/dist/scripts/790-ca3ca109c5-streamable-learning.chunk.js +0 -1
- package/dist/scripts/937-c0d3c55451-streamable-learning.chunk.js +0 -1
- package/dist/scripts/bundle-ea485333fd.min.js +0 -2
- /package/dist/css/{565-streamable-learning-8e088350b1.chunk.css → 254-streamable-learning-8e088350b1.chunk.css} +0 -0
- /package/dist/css/{578-streamable-learning-62f3804bc8.chunk.css → 297-streamable-learning-62f3804bc8.chunk.css} +0 -0
- /package/dist/css/{199-streamable-learning-a2f848debc.chunk.css → 448-streamable-learning-a2f848debc.chunk.css} +0 -0
- /package/dist/scripts/{269-55b65c9a66-streamable-learning.chunk.js.LICENSE.txt → 500-d9ece27106-streamable-learning.chunk.js.LICENSE.txt} +0 -0
- /package/dist/scripts/{65-731615def4-streamable-learning.chunk.js.LICENSE.txt → 65-afa26c23fb-streamable-learning.chunk.js.LICENSE.txt} +0 -0
- /package/dist/scripts/{489-a26c16b888-streamable-learning.chunk.js.LICENSE.txt → 81-132c530d33-streamable-learning.chunk.js.LICENSE.txt} +0 -0
package/dist/scripts/{bundle-ea485333fd.min.js.LICENSE.txt → bundle-df47360154.min.js.LICENSE.txt}
RENAMED
|
@@ -10,65 +10,22 @@
|
|
|
10
10
|
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
|
|
11
11
|
*/
|
|
12
12
|
|
|
13
|
-
/*!
|
|
14
|
-
* ASP.NET SignalR JavaScript Library 2.4.1
|
|
15
|
-
* http://signalr.net/
|
|
16
|
-
*
|
|
17
|
-
* Copyright (c) .NET Foundation. All rights reserved.
|
|
18
|
-
* Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
|
|
19
|
-
*
|
|
20
|
-
*/
|
|
21
|
-
|
|
22
13
|
/*!
|
|
23
14
|
* Font Awesome Free 5.0.13 by @fontawesome - https://fontawesome.com
|
|
24
15
|
* License - https://fontawesome.com/license (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License)
|
|
25
16
|
*/
|
|
26
17
|
|
|
27
18
|
/*!
|
|
28
|
-
*
|
|
29
|
-
*/
|
|
30
|
-
|
|
31
|
-
/*!
|
|
32
|
-
* Sizzle CSS Selector Engine v2.3.4
|
|
33
|
-
* https://sizzlejs.com/
|
|
34
|
-
*
|
|
35
|
-
* Copyright JS Foundation and other contributors
|
|
36
|
-
* Released under the MIT license
|
|
37
|
-
* https://js.foundation/
|
|
38
|
-
*
|
|
39
|
-
* Date: 2019-04-08
|
|
40
|
-
*/
|
|
41
|
-
|
|
42
|
-
/*!
|
|
43
|
-
* jQuery JavaScript Library v3.4.1
|
|
19
|
+
* jQuery JavaScript Library v3.7.1
|
|
44
20
|
* https://jquery.com/
|
|
45
21
|
*
|
|
46
|
-
*
|
|
47
|
-
* https://sizzlejs.com/
|
|
48
|
-
*
|
|
49
|
-
* Copyright JS Foundation and other contributors
|
|
22
|
+
* Copyright OpenJS Foundation and other contributors
|
|
50
23
|
* Released under the MIT license
|
|
51
24
|
* https://jquery.org/license
|
|
52
25
|
*
|
|
53
|
-
* Date:
|
|
26
|
+
* Date: 2023-08-28T13:37Z
|
|
54
27
|
*/
|
|
55
28
|
|
|
56
|
-
/*!
|
|
57
|
-
* jquery-deferred
|
|
58
|
-
* Copyright(c) 2011 Hidden <zzdhidden@gmail.com>
|
|
59
|
-
* MIT Licensed
|
|
60
|
-
*/
|
|
61
|
-
|
|
62
|
-
/*! @name @videojs/http-streaming @version 2.8.2 @license Apache-2.0 */
|
|
63
|
-
|
|
64
|
-
/*! @name aes-decrypter @version 3.1.2 @license Apache-2.0 */
|
|
65
|
-
|
|
66
|
-
/*! @name m3u8-parser @version 4.7.0 @license Apache-2.0 */
|
|
67
|
-
|
|
68
|
-
/*! @name pkcs7 @version 1.0.4 @license Apache-2.0 */
|
|
69
|
-
|
|
70
|
-
/*! @name videojs-contrib-quality-levels @version 2.0.9 @license Apache-2.0 */
|
|
71
|
-
|
|
72
29
|
/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */
|
|
73
30
|
|
|
74
31
|
/**
|
|
@@ -141,10 +98,6 @@
|
|
|
141
98
|
* LICENSE file in the root directory of this source tree.
|
|
142
99
|
*/
|
|
143
100
|
|
|
144
|
-
/**
|
|
145
|
-
* @preserve jquery-param (c) 2015 KNOWLEDGECODE | MIT
|
|
146
|
-
*/
|
|
147
|
-
|
|
148
101
|
/** @license React v16.13.1
|
|
149
102
|
* react-is.production.min.js
|
|
150
103
|
*
|
package/jest.config.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
const getBaseConfig = require('../../libs/testing/jest.base.config');
|
|
2
|
-
const { compilerOptions } = require('./tsconfig');
|
|
3
|
-
|
|
4
|
-
const paths = {
|
|
5
|
-
...compilerOptions.paths,
|
|
6
|
-
'shared/*': ['./src/shared/*'],
|
|
7
|
-
'apps/*': ['./src/apps/*']
|
|
8
|
-
};
|
|
9
|
-
|
|
10
|
-
delete paths['*'];
|
|
11
|
-
|
|
1
|
+
const getBaseConfig = require('../../libs/testing/jest.base.config');
|
|
2
|
+
const { compilerOptions } = require('./tsconfig');
|
|
3
|
+
|
|
4
|
+
const paths = {
|
|
5
|
+
...compilerOptions.paths,
|
|
6
|
+
'shared/*': ['./src/shared/*'],
|
|
7
|
+
'apps/*': ['./src/apps/*']
|
|
8
|
+
};
|
|
9
|
+
|
|
10
|
+
delete paths['*'];
|
|
11
|
+
|
|
12
12
|
module.exports = getBaseConfig(paths);
|
package/package.json
CHANGED
|
@@ -1,33 +1,33 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@clickview/streamable-learning",
|
|
3
|
-
"version": "0.0.
|
|
4
|
-
"description": "Streamable Learning",
|
|
5
|
-
"main": "dist/scripts/bundle.js",
|
|
6
|
-
"scripts": {
|
|
7
|
-
"start": "cross-env NODE_ENV=development webpack -w --config ./tooling/webpack.config.js",
|
|
8
|
-
"build": "cross-env NODE_ENV=production webpack --config ./tooling/webpack.config.js",
|
|
9
|
-
"test": "jest",
|
|
10
|
-
"test-watch": "jest --watch"
|
|
11
|
-
},
|
|
12
|
-
"repository": {
|
|
13
|
-
"type": "git",
|
|
14
|
-
"url": "https://gitlab.cvinternal.net/front-end/clickview"
|
|
15
|
-
},
|
|
16
|
-
"cv": {
|
|
17
|
-
"publishable": true,
|
|
18
|
-
"rebuildable": true
|
|
19
|
-
},
|
|
20
|
-
"author": "Shale Kuzmanovski",
|
|
21
|
-
"license": "ISC",
|
|
22
|
-
"babel": {
|
|
23
|
-
"presets": [
|
|
24
|
-
[
|
|
25
|
-
"@babel/preset-env",
|
|
26
|
-
{
|
|
27
|
-
"corejs": 3,
|
|
28
|
-
"useBuiltIns": "entry"
|
|
29
|
-
}
|
|
30
|
-
]
|
|
31
|
-
]
|
|
32
|
-
}
|
|
33
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "@clickview/streamable-learning",
|
|
3
|
+
"version": "0.0.1-rc.0",
|
|
4
|
+
"description": "Streamable Learning",
|
|
5
|
+
"main": "dist/scripts/bundle.js",
|
|
6
|
+
"scripts": {
|
|
7
|
+
"start": "cross-env NODE_ENV=development webpack -w --config ./tooling/webpack.config.js",
|
|
8
|
+
"build": "cross-env NODE_ENV=production webpack --config ./tooling/webpack.config.js",
|
|
9
|
+
"test": "jest",
|
|
10
|
+
"test-watch": "jest --watch"
|
|
11
|
+
},
|
|
12
|
+
"repository": {
|
|
13
|
+
"type": "git",
|
|
14
|
+
"url": "https://gitlab.cvinternal.net/front-end/clickview"
|
|
15
|
+
},
|
|
16
|
+
"cv": {
|
|
17
|
+
"publishable": true,
|
|
18
|
+
"rebuildable": true
|
|
19
|
+
},
|
|
20
|
+
"author": "Shale Kuzmanovski",
|
|
21
|
+
"license": "ISC",
|
|
22
|
+
"babel": {
|
|
23
|
+
"presets": [
|
|
24
|
+
[
|
|
25
|
+
"@babel/preset-env",
|
|
26
|
+
{
|
|
27
|
+
"corejs": 3,
|
|
28
|
+
"useBuiltIns": "entry"
|
|
29
|
+
}
|
|
30
|
+
]
|
|
31
|
+
]
|
|
32
|
+
}
|
|
33
|
+
}
|
|
@@ -1,24 +1,24 @@
|
|
|
1
|
-
interface SetLanguageOptions {
|
|
2
|
-
validate: boolean;
|
|
3
|
-
}
|
|
4
|
-
|
|
5
|
-
interface LanguageSet {
|
|
6
|
-
[languagecode: string]: Language;
|
|
7
|
-
}
|
|
8
|
-
|
|
9
|
-
interface Language {
|
|
10
|
-
englishName: string;
|
|
11
|
-
nativeName: string;
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
interface ICVLanguages {
|
|
15
|
-
VERSION: string;
|
|
16
|
-
|
|
17
|
-
getEnglishName(languageCode: string): string;
|
|
18
|
-
getNativeName(languageCode: string): string;
|
|
19
|
-
getFullEnglishName(languageCode: string): string;
|
|
20
|
-
getFullNativeName(languageCode: string): string;
|
|
21
|
-
getEnglishNameContains(englishName: string): Language[];
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
declare let CVLanguages: ICVLanguages;
|
|
1
|
+
interface SetLanguageOptions {
|
|
2
|
+
validate: boolean;
|
|
3
|
+
}
|
|
4
|
+
|
|
5
|
+
interface LanguageSet {
|
|
6
|
+
[languagecode: string]: Language;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
interface Language {
|
|
10
|
+
englishName: string;
|
|
11
|
+
nativeName: string;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
interface ICVLanguages {
|
|
15
|
+
VERSION: string;
|
|
16
|
+
|
|
17
|
+
getEnglishName(languageCode: string): string;
|
|
18
|
+
getNativeName(languageCode: string): string;
|
|
19
|
+
getFullEnglishName(languageCode: string): string;
|
|
20
|
+
getFullNativeName(languageCode: string): string;
|
|
21
|
+
getEnglishNameContains(englishName: string): Language[];
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
declare let CVLanguages: ICVLanguages;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
declare function cloneDeep<T>(obj: T): T;
|
|
2
|
-
|
|
3
|
-
declare module 'lodash.clonedeep' {
|
|
4
|
-
export = cloneDeep;
|
|
1
|
+
declare function cloneDeep<T>(obj: T): T;
|
|
2
|
+
|
|
3
|
+
declare module 'lodash.clonedeep' {
|
|
4
|
+
export = cloneDeep;
|
|
5
5
|
}
|
|
@@ -1,83 +1,83 @@
|
|
|
1
|
-
// https://wicg.github.io/IntersectionObserver/#intersection-observer-private-slots
|
|
2
|
-
|
|
3
|
-
/*
|
|
4
|
-
callback IntersectionObserverCallback = void (sequence<IntersectionObserverEntry> entries, IntersectionObserver observer)
|
|
5
|
-
|
|
6
|
-
[Constructor(IntersectionObserverCallback callback, optional IntersectionObserverInit options),
|
|
7
|
-
Exposed=Window]
|
|
8
|
-
interface IntersectionObserver {
|
|
9
|
-
readonly attribute Element? root;
|
|
10
|
-
readonly attribute DOMString rootMargin;
|
|
11
|
-
readonly attribute sequence<double> thresholds;
|
|
12
|
-
void observe(Element target);
|
|
13
|
-
void unobserve(Element target);
|
|
14
|
-
void disconnect();
|
|
15
|
-
sequence<IntersectionObserverEntry> takeRecords();
|
|
16
|
-
};
|
|
17
|
-
|
|
18
|
-
[Constructor(IntersectionObserverEntryInit intersectionObserverEntryInit)]
|
|
19
|
-
interface IntersectionObserverEntry {
|
|
20
|
-
readonly attribute DOMHighResTimeStamp time;
|
|
21
|
-
readonly attribute DOMRectReadOnly rootBounds;
|
|
22
|
-
readonly attribute DOMRectReadOnly boundingClientRect;
|
|
23
|
-
readonly attribute DOMRectReadOnly intersectionRect;
|
|
24
|
-
readonly attribute double intersectionRatio;
|
|
25
|
-
readonly attribute Element target;
|
|
26
|
-
};
|
|
27
|
-
|
|
28
|
-
dictionary IntersectionObserverEntryInit {
|
|
29
|
-
required DOMHighResTimeStamp time;
|
|
30
|
-
required DOMRectInit rootBounds;
|
|
31
|
-
required DOMRectInit boundingClientRect;
|
|
32
|
-
required DOMRectInit intersectionRect;
|
|
33
|
-
required double intersectionRatio;
|
|
34
|
-
required Element target;
|
|
35
|
-
};
|
|
36
|
-
|
|
37
|
-
dictionary IntersectionObserverInit {
|
|
38
|
-
Element? root = null;
|
|
39
|
-
DOMString rootMargin = "0px";
|
|
40
|
-
(double or sequence<double>) threshold = 0;
|
|
41
|
-
};
|
|
42
|
-
*/
|
|
43
|
-
|
|
44
|
-
interface Bounds {
|
|
45
|
-
readonly height: number;
|
|
46
|
-
readonly width: number;
|
|
47
|
-
readonly top: number;
|
|
48
|
-
readonly left: number;
|
|
49
|
-
readonly right: number;
|
|
50
|
-
readonly bottom: number;
|
|
51
|
-
}
|
|
52
|
-
|
|
53
|
-
interface IntersectionObserverEntry {
|
|
54
|
-
readonly time: number;
|
|
55
|
-
readonly rootBounds: Bounds;
|
|
56
|
-
readonly boundingClientRect: Bounds;
|
|
57
|
-
readonly intersectionRect: Bounds;
|
|
58
|
-
readonly intersectionRatio: number;
|
|
59
|
-
readonly target: Element;
|
|
60
|
-
}
|
|
61
|
-
|
|
62
|
-
type IntersectionObserverCallback = (entries: IntersectionObserverEntry[], observer: IntersectionObserver) => void;
|
|
63
|
-
|
|
64
|
-
interface IntersectionObserverInit {
|
|
65
|
-
root?: Element | null;
|
|
66
|
-
rootMargin?: string;
|
|
67
|
-
threshold?: number;
|
|
68
|
-
}
|
|
69
|
-
|
|
70
|
-
declare class IntersectionObserver {
|
|
71
|
-
readonly root: Element | null;
|
|
72
|
-
readonly rootMargin: string;
|
|
73
|
-
readonly thresholds: number[];
|
|
74
|
-
|
|
75
|
-
constructor(callback: IntersectionObserverCallback, options?: IntersectionObserverInit);
|
|
76
|
-
|
|
77
|
-
observe(target: Element): void;
|
|
78
|
-
unobserve(target: Element): void;
|
|
79
|
-
disconnect(): void;
|
|
80
|
-
takeRecords(): IntersectionObserverEntry[];
|
|
81
|
-
}
|
|
82
|
-
|
|
1
|
+
// https://wicg.github.io/IntersectionObserver/#intersection-observer-private-slots
|
|
2
|
+
|
|
3
|
+
/*
|
|
4
|
+
callback IntersectionObserverCallback = void (sequence<IntersectionObserverEntry> entries, IntersectionObserver observer)
|
|
5
|
+
|
|
6
|
+
[Constructor(IntersectionObserverCallback callback, optional IntersectionObserverInit options),
|
|
7
|
+
Exposed=Window]
|
|
8
|
+
interface IntersectionObserver {
|
|
9
|
+
readonly attribute Element? root;
|
|
10
|
+
readonly attribute DOMString rootMargin;
|
|
11
|
+
readonly attribute sequence<double> thresholds;
|
|
12
|
+
void observe(Element target);
|
|
13
|
+
void unobserve(Element target);
|
|
14
|
+
void disconnect();
|
|
15
|
+
sequence<IntersectionObserverEntry> takeRecords();
|
|
16
|
+
};
|
|
17
|
+
|
|
18
|
+
[Constructor(IntersectionObserverEntryInit intersectionObserverEntryInit)]
|
|
19
|
+
interface IntersectionObserverEntry {
|
|
20
|
+
readonly attribute DOMHighResTimeStamp time;
|
|
21
|
+
readonly attribute DOMRectReadOnly rootBounds;
|
|
22
|
+
readonly attribute DOMRectReadOnly boundingClientRect;
|
|
23
|
+
readonly attribute DOMRectReadOnly intersectionRect;
|
|
24
|
+
readonly attribute double intersectionRatio;
|
|
25
|
+
readonly attribute Element target;
|
|
26
|
+
};
|
|
27
|
+
|
|
28
|
+
dictionary IntersectionObserverEntryInit {
|
|
29
|
+
required DOMHighResTimeStamp time;
|
|
30
|
+
required DOMRectInit rootBounds;
|
|
31
|
+
required DOMRectInit boundingClientRect;
|
|
32
|
+
required DOMRectInit intersectionRect;
|
|
33
|
+
required double intersectionRatio;
|
|
34
|
+
required Element target;
|
|
35
|
+
};
|
|
36
|
+
|
|
37
|
+
dictionary IntersectionObserverInit {
|
|
38
|
+
Element? root = null;
|
|
39
|
+
DOMString rootMargin = "0px";
|
|
40
|
+
(double or sequence<double>) threshold = 0;
|
|
41
|
+
};
|
|
42
|
+
*/
|
|
43
|
+
|
|
44
|
+
interface Bounds {
|
|
45
|
+
readonly height: number;
|
|
46
|
+
readonly width: number;
|
|
47
|
+
readonly top: number;
|
|
48
|
+
readonly left: number;
|
|
49
|
+
readonly right: number;
|
|
50
|
+
readonly bottom: number;
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
interface IntersectionObserverEntry {
|
|
54
|
+
readonly time: number;
|
|
55
|
+
readonly rootBounds: Bounds;
|
|
56
|
+
readonly boundingClientRect: Bounds;
|
|
57
|
+
readonly intersectionRect: Bounds;
|
|
58
|
+
readonly intersectionRatio: number;
|
|
59
|
+
readonly target: Element;
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
type IntersectionObserverCallback = (entries: IntersectionObserverEntry[], observer: IntersectionObserver) => void;
|
|
63
|
+
|
|
64
|
+
interface IntersectionObserverInit {
|
|
65
|
+
root?: Element | null;
|
|
66
|
+
rootMargin?: string;
|
|
67
|
+
threshold?: number;
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
declare class IntersectionObserver {
|
|
71
|
+
readonly root: Element | null;
|
|
72
|
+
readonly rootMargin: string;
|
|
73
|
+
readonly thresholds: number[];
|
|
74
|
+
|
|
75
|
+
constructor(callback: IntersectionObserverCallback, options?: IntersectionObserverInit);
|
|
76
|
+
|
|
77
|
+
observe(target: Element): void;
|
|
78
|
+
unobserve(target: Element): void;
|
|
79
|
+
disconnect(): void;
|
|
80
|
+
takeRecords(): IntersectionObserverEntry[];
|
|
81
|
+
}
|
|
82
|
+
|
|
83
83
|
export = IntersectionObserver;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
declare namespace trackJs {
|
|
2
|
-
declare function track(error: string | Error): void;
|
|
1
|
+
declare namespace trackJs {
|
|
2
|
+
declare function track(error: string | Error): void;
|
|
3
3
|
}
|
|
@@ -1,29 +1,29 @@
|
|
|
1
|
-
import videojs from 'video.js';
|
|
2
|
-
|
|
3
|
-
declare module 'video.js' {
|
|
4
|
-
export interface VideoJsPlayer {
|
|
5
|
-
qualityLevels(): QualityLevelList;
|
|
6
|
-
}
|
|
7
|
-
}
|
|
8
|
-
|
|
9
|
-
declare module 'videojs-contrib-quality-levels' {
|
|
10
|
-
export interface QualityLevelList extends videojs.EventTarget {
|
|
11
|
-
[id: string]: QualityLevel;
|
|
12
|
-
selectedIndex: number;
|
|
13
|
-
length: number;
|
|
14
|
-
addQualityLevel(representation: Representation): QualityLevel;
|
|
15
|
-
removeQualityLevel(qualityLevel: QualityLevel): QualityLevel;
|
|
16
|
-
getQualityLevelById(id: string): QualityLevel;
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
export interface QualityLevel {
|
|
20
|
-
id: string;
|
|
21
|
-
label: string;
|
|
22
|
-
enabled: boolean;
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
export interface Representation {
|
|
26
|
-
id: string;
|
|
27
|
-
enabled(enabled: boolean): boolean;
|
|
28
|
-
}
|
|
1
|
+
import videojs from 'video.js';
|
|
2
|
+
|
|
3
|
+
declare module 'video.js' {
|
|
4
|
+
export interface VideoJsPlayer {
|
|
5
|
+
qualityLevels(): QualityLevelList;
|
|
6
|
+
}
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
declare module 'videojs-contrib-quality-levels' {
|
|
10
|
+
export interface QualityLevelList extends videojs.EventTarget {
|
|
11
|
+
[id: string]: QualityLevel;
|
|
12
|
+
selectedIndex: number;
|
|
13
|
+
length: number;
|
|
14
|
+
addQualityLevel(representation: Representation): QualityLevel;
|
|
15
|
+
removeQualityLevel(qualityLevel: QualityLevel): QualityLevel;
|
|
16
|
+
getQualityLevelById(id: string): QualityLevel;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
export interface QualityLevel {
|
|
20
|
+
id: string;
|
|
21
|
+
label: string;
|
|
22
|
+
enabled: boolean;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
export interface Representation {
|
|
26
|
+
id: string;
|
|
27
|
+
enabled(enabled: boolean): boolean;
|
|
28
|
+
}
|
|
29
29
|
}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Define our templates as a module so that we can use
|
|
3
|
-
* import statements just the same as we do for other
|
|
4
|
-
* ts/js code.
|
|
5
|
-
*/
|
|
6
|
-
declare module '*.scss';
|
|
7
|
-
declare module '*.svg';
|
|
8
|
-
|
|
9
|
-
declare module '*.json' {
|
|
10
|
-
export const value: any;
|
|
11
|
-
export default value;
|
|
1
|
+
/**
|
|
2
|
+
* Define our templates as a module so that we can use
|
|
3
|
+
* import statements just the same as we do for other
|
|
4
|
+
* ts/js code.
|
|
5
|
+
*/
|
|
6
|
+
declare module '*.scss';
|
|
7
|
+
declare module '*.svg';
|
|
8
|
+
|
|
9
|
+
declare module '*.json' {
|
|
10
|
+
export const value: any;
|
|
11
|
+
export default value;
|
|
12
12
|
}
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
.vDcrq{width:13rem;max-width:50%;height:1.675rem}.GXhoW{height:1.1875rem;max-width:70%;width:30rem}.goKaS{width:5.5rem;max-width:20%;height:1.3125rem}.vFew6{height:1.3125rem;max-width:70%;width:25rem}
|
|
2
|
-
.GvGYH:not(:last-child),.d7RK0:not(:last-child),.XRTAe:not(:last-child){margin-bottom:1.25rem}.N3l5Q{position:absolute;top:1rem;right:1.25rem}.hAxR4{height:1.5rem}.h66ke{list-style-type:disc}.CsG6G{width:75%}@media(min-width: 768px){.CsG6G{width:33%}}@media(min-width: 992px){.CsG6G{width:25%}}
|
|
3
|
-
.Zw6d9{display:flex;flex-wrap:wrap}.jlL1c{background-color:#f1f1f1;color:#b5b5b5}.jlL1c:hover{background-color:#f1f1f1;color:#b5b5b5}.too_N{width:5rem}.OjtN8{line-height:1.1rem}.X9joI{opacity:1;background-size:.625rem}.X9joI:not(:disabled):hover{opacity:1}
|
|
4
|
-
.BImYH{overflow:hidden}.aAY0j{background-size:85%;position:absolute;top:0;left:0;right:0;bottom:0;background-repeat:no-repeat}.azcIT{background-position:top 0 left 0}.mBkCx{background-position:bottom 0 left 0}.tcN5n{background-position:top 0 right 0}.sHsOr{background-position:bottom 0 right 0}.jyxT7{top:1.25rem;right:0}.PeWbM{z-index:1;max-width:36rem;min-height:15rem}.PeWbM p{margin-bottom:.625rem}.un8Q0{text-decoration:underline}@media(max-width: 768px){.aAY0j{display:none}}
|
|
5
|
-
._ejId{position:absolute;width:100%;top:0;pointer-events:none}.VSAPU{left:-1rem}.VSAPU svg{transform:translateX(-0.1rem)}.kgeXh{right:-1rem}.kgeXh svg{transform:translateX(0.1rem)}.gAsE9{position:absolute;background-color:#fff;border-radius:1.25rem;cursor:pointer;pointer-events:auto;transform:translateY(-50%);z-index:5;box-shadow:0px 2px 4px 1px rgba(0,0,0,.3);height:2.5rem;min-width:2.5rem;display:flex;align-items:center;justify-content:center;transition:all .2s}.gAsE9 .APA36{display:none;transition:all .2s}.gAsE9 svg{color:#84868d}.cqD75 .APA36~.Ev4hr,.AtsWP:hover+.gAsE9 .APA36~.Ev4hr,.gAsE9:hover .APA36~.Ev4hr{margin-right:.4rem}.cqD75 .APA36,.AtsWP:hover+.gAsE9 .APA36,.gAsE9:hover .APA36{display:block}.cqD75 svg,.AtsWP:hover+.gAsE9 svg,.gAsE9:hover svg,.cqD75 .APA36,.AtsWP:hover+.gAsE9 .APA36,.gAsE9:hover .APA36{color:#313543}.AtsWP,.ZuAif,.Pt3nx{position:absolute;width:3rem;height:100%;z-index:3;top:50%;transform:translateY(-50%)}.Pt3nx{left:-1.5rem;background-image:linear-gradient(to left, rgba(255, 255, 255, 0.005) 0%, #fff 70%)}.ZuAif{right:-1.5rem;background-image:linear-gradient(to right, rgba(255, 255, 255, 0.005) 0%, #fff 70%)}.AtsWP{cursor:pointer;pointer-events:auto;background-color:rgba(255,255,255,.005)}.AtsWP.kgeXh{right:-1.5rem}.AtsWP.VSAPU{left:-1.5rem}.BVcIS{top:50%}
|
|
6
|
-
.tAbzW,.JXtNs{position:absolute;width:2.5rem;height:101%;z-index:2;top:50%;transform:translateY(-50%)}.JXtNs{left:0;margin-left:-1.875rem;background-image:linear-gradient(to left, rgba(255, 255, 255, 0.005) 0%, #fff 70%)}.tAbzW{right:0;margin-right:-1.875rem;background-image:linear-gradient(to right, rgba(255, 255, 255, 0.005) 0%, #fff 70%)}.iNH_I{display:inline-block;width:100%;padding-bottom:56.25%}.bDcOS{overflow-x:scroll;-ms-overflow-style:none;scrollbar-width:none}.bDcOS::-webkit-scrollbar{display:none}
|
|
7
|
-
.TzWQw{position:absolute;top:0;left:0;right:0;bottom:0;z-index:6;opacity:0;transition:opacity .5s;pointer-events:none}.gdTcW{opacity:1;pointer-events:auto}
|
|
8
|
-
.fdtKb:not(:last-child){margin-right:.3125rem}
|
|
9
|
-
.b0KLR{color:inherit;font-size:.7857142857em}.b0KLR:hover .YR5Q7{text-decoration:underline}.ts6Yo{font-size:.5714285714em}
|
|
10
|
-
._4XDZ{font-size:.75rem;font-weight:500}
|
|
11
|
-
.LL7My{position:absolute;width:100%;height:100%;z-index:5;background-color:#333;opacity:.5;transition:opacity 100ms ease-in-out}.x_1f6{position:absolute;left:50%;top:50%;z-index:10;transform:translate(-50%, -50%);color:#fff;opacity:1;width:6.25rem;height:6.25rem}.QoLgZ{background-size:cover}.BcnSH{position:absolute;left:50%;top:50%;z-index:10;transform:translate(-50%, -50%);color:#fff;opacity:1}
|
|
12
|
-
.Gufgq{width:5.375rem}.SicQQ{width:18.75rem;height:1.3125rem}.dPGMq{width:12.5rem;height:1.3125rem}.vZrnb{padding-bottom:56.25%}.iq73R{width:1.25rem;height:1.25rem}
|
|
13
|
-
.t0svX,.CFRo3{width:1.875rem;height:1.875rem}.ZMMQu{display:none}.CFRo3{color:#313543;background-color:rgba(241,241,241,.5);border-radius:50%}.CFRo3:hover{color:#d9584f;background-color:rgba(241,241,241,.7)}.CFRo3:hover .truFo{display:none}.CFRo3:hover .ZMMQu{opacity:.75;display:inline-block}.t0svX{color:#d9584f;background-color:rgba(241,241,241,.8)}.t0svX .truFo{display:none}.t0svX .ZMMQu{display:inline-block}.t0svX:hover .ZMMQu{opacity:1}
|
|
14
|
-
.ZvbeV,.atIHN{position:absolute;width:100%;height:100%}.atIHN{background-color:#f8f8f8}.m20L7{background-color:rgba(0,0,0,.0000005);height:100%;border-top-left-radius:.6rem;border-bottom-left-radius:.6rem;border-right:1px solid #eaeaea;position:absolute;top:0;left:0}.QIbxu{width:2rem}.z_sHT{width:5rem}.epoLB,.h1S5T{width:3.75rem;height:3.75rem}.ZbKBN,.I1mTo{width:7.5rem;height:7.5rem}.ZbKBN svg,.I1mTo svg{width:100%;height:100%}.epoLB,.h1S5T,.ZbKBN,.I1mTo,.kNG8Z{position:absolute;top:50%;left:50%;color:#d7d7d7;transform:translate3D(-50%, -50%, 0);transition:opacity 100ms ease-in-out}.nKsWZ{padding:.3125rem;background-size:cover;background-position:center;background-repeat:no-repeat;width:100%;height:100%}.LolCW,.mdrT5{position:absolute;width:100%;height:100%}
|
|
15
|
-
.YnXtZ{position:absolute;bottom:0;left:0;right:0;z-index:2;height:.25rem}
|
|
16
|
-
.w4cg8{color:#313543;border-radius:50%;width:2rem;height:2rem;opacity:.8}.w4cg8.JpIYd{width:1.5rem;height:1.5rem}
|
|
17
|
-
.Sc3C4{display:flex;align-items:center;min-width:1.875rem;width:1.875rem;height:1.875rem;transition:width .3s;overflow:hidden;position:relative}.Sc3C4 .Ag_ex{min-width:1.5rem;position:absolute;left:50%;transform:translateX(-50%)}.Sc3C4 .Ag_ex svg{vertical-align:top}.Sc3C4 .Ipmb3{display:none;line-height:1.875rem}.Sc3C4.Pi49o{min-width:1.5rem;width:1.5rem;height:1.5rem}.Sc3C4.Pi49o .Ag_ex{min-width:1.25rem}.Sc3C4.Pi49o .Ipmb3{font-size:80%;line-height:1.5rem}.Sc3C4:hover{width:100%;padding-right:.625rem}.Sc3C4:hover .Ipmb3{display:block}.Sc3C4:hover .Ag_ex{margin-left:.2rem;position:relative;left:.75rem}.Sc3C4:hover.Pi49o .Ag_ex{left:.55rem}
|
|
18
|
-
.ft_ST{position:absolute;top:.625rem;left:.625rem;z-index:3}.qu3A3{position:absolute;width:100%;height:100%;z-index:2;padding:.3125rem;color:#fff}.XAfZW{position:absolute;top:0;right:0;padding-top:.625rem;padding-right:.625rem;z-index:3;transform:translate3d(0, 0, 0)}.NTrtm{color:inherit;line-height:1.2;position:absolute;bottom:0;left:0;padding:.625rem;padding-top:0;width:100%}@media(max-width: 576px){.NTrtm{padding-bottom:.3125rem}}.NTrtm.puKcM{transform:scale(0.9);margin-left:-1rem;margin-bottom:-0.2rem}@media(max-width: 576px){._6FukN{margin-bottom:0 !important}}.rXzR8::after{content:"";position:absolute;top:0;left:0;width:100%;height:100%;background:linear-gradient(to top, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0.5) 5%, rgba(0, 0, 0, 0.4) 10%, rgba(0, 0, 0, 0.2) 25%, rgba(0, 0, 0, 0.05) 50%, rgba(0, 0, 0, 0.02) 60%, rgba(0, 0, 0, 0) 80%)}.dndOA{position:absolute;top:50%;left:50%;z-index:4;color:#fff;transform:translate3D(-50%, -50%, 0);transition:opacity 100ms ease-in-out;width:2.75rem;height:2.75rem}.yhWf4{position:absolute;bottom:0;left:0;right:0;height:.25rem}.yhWf4+.AtgmC{bottom:.5625rem}.E2egN,.WycwR{position:absolute;bottom:0;left:0;right:0;background-color:#1b2d71;height:1.25rem;opacity:.9}.E2egN+.AtgmC,.WycwR+.AtgmC{bottom:1.5625rem}
|
|
19
|
-
.jO7pW{z-index:101}.xXfXO{animation:BrrtL .8s ease-in}@keyframes BrrtL{0%{transform:scale(var(--scale))}20%{transform:scale(var(--scale)/5)}}
|
|
20
|
-
.fy9Un .duration-badge-new,.fy9Un .rating-badge{height:1.5rem;font-weight:500;align-items:center;font-size:100%}.fy9Un{position:absolute;bottom:.625rem;right:.625rem;z-index:2}.fy9Un .rating-badge{width:auto;line-height:1.5}.fy9Un .duration-badge-new{line-height:1.3}.fy9Un.Rb0TL .duration-badge-new{font-size:90%;height:1.3rem;line-height:1.1}
|
|
21
|
-
.r70GR{z-index:10000}.rULXI{min-width:0}.h9k1p{height:1.5rem;line-height:1.5rem}.QaDDX{height:1.5rem}@media(max-width: 576px){.hvsne{display:none}}
|
|
22
|
-
.c4Hun{background-color:#f8f8f8}.c4Hun:not(:last-child){margin-bottom:.625rem}.telfV{width:2rem;height:2rem;display:flex;align-items:center;justify-content:center}.bdBNU{height:5rem !important;padding:0 !important}.QN5kl{height:70%}
|
|
23
|
-
.OjHQZ{background-color:#f8f8f8;height:2.5rem}.OjHQZ .SS2zL{width:1.8rem;height:1.8rem;display:flex;align-items:center;justify-content:center}.OjHQZ .SS2zL svg{transform:scale(0.85)}.OjHQZ:hover{background-color:#eef8ff}.OjHQZ.kD1xM{background-color:#eef8ff}
|
|
24
|
-
.KQ5Wt{background-color:#f8f8f8}.KQ5Wt:not(:last-child){margin-bottom:.625rem}
|
|
25
|
-
.qz_5t{position:absolute;top:.625rem;left:.625rem;z-index:3}.whbhf{border-top-left-radius:.6rem;border-top-right-radius:.6rem}.vMaXP{overflow-y:auto;display:none}.vMaXP.tR1jA{display:block}.KJrT1{z-index:1;position:relative;box-shadow:none;transition:box-shadow .1s ease-in;padding:0 .94rem .94rem .94rem}.oZXV7{height:0;transition:height .3s ease-in-out}.oZXV7.EiQ04{height:10rem;padding:0 .94rem .94rem .94rem}.FAuzc{position:absolute;top:0;right:0;padding-top:.625rem;padding-right:.625rem;z-index:5;transform:translate3d(0, 0, 0)}
|
|
26
|
-
.qpc7L{position:absolute;width:100%;height:100%;z-index:2;background-color:#333;opacity:0;transition:opacity 100ms ease-in-out}.L8Oxs .b8kJW{width:2rem;height:2rem}.b8kJW{width:3.75rem;height:3.75rem}.L8Oxs .b8kJW,.b8kJW,.eo2p2{position:absolute;top:50%;left:50%;z-index:4;color:#fff;opacity:0;transform:translate3D(-50%, -50%, 0);transition:opacity 100ms ease-in-out}.lpwag:hover .qpc7L{opacity:.5}.lpwag:hover .eo2p2,.lpwag:hover .b8kJW{opacity:1}
|
|
27
|
-
.bup9I{color:#313543;background-color:rgba(241,241,241,.5)}.bup9I:hover{color:#fff;background-color:#5dc786;opacity:.75;display:inline-block}.A1Ov0{color:#fff;background-color:#5dc786}.c14lI{width:1.875rem;height:1.875rem}
|
|
28
|
-
.efxnE{position:absolute;top:.625rem;right:.625rem;z-index:5}.efxnE.OJ_ZQ svg{transform:scale(0.7) translateX(1.5px)}.efxnE .vWvGn:not(:first-child){margin-left:.3125rem}
|
|
29
|
-
.krg9f{color:inherit;line-height:1.2;position:absolute;bottom:0;left:0;z-index:2;padding:.625rem;padding-top:0}.krg9f.MPRU6{padding-bottom:0;bottom:1.5625rem}.krg9f.MPRU6.g5_ww{bottom:2.3125rem}.krg9f.Zzo3e{padding-bottom:0;bottom:1.5625rem}.krg9f.Zzo3e.g5_ww{bottom:2.3125rem}.tZjPt{margin-top:.3125rem;line-height:1.2}.EElm1{position:absolute;width:100%;height:100%;padding:.3125rem;color:#fff}.pwC3i{position:absolute;top:.625rem;left:.625rem;z-index:2}.LS_EH::after{content:"";position:absolute;top:0;left:0;width:100%;height:100%;background:linear-gradient(to top, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0.5) 5%, rgba(0, 0, 0, 0.4) 10%, rgba(0, 0, 0, 0.2) 25%, rgba(0, 0, 0, 0.05) 50%, rgba(0, 0, 0, 0.02) 60%, rgba(0, 0, 0, 0) 80%)}
|
|
30
|
-
.UqaA_{position:absolute;bottom:0;right:0;padding-left:1.25rem;background:linear-gradient(to right, rgba(255, 255, 255, 0) 0, #fff, 2rem, #fff);color:#979797}
|
|
31
|
-
.mcAFC{color:#84868d}
|
|
32
|
-
.UCAnJ:after{content:none}
|
|
33
|
-
.xaH09{box-shadow:0px 5px 10px rgba(51,51,51,.3)}.kO5Q0{margin:0 -0.625rem}@media(max-width: 767.98px){.kO5Q0{margin:0}}.FP8l5 .rating-badge{height:1.3rem;font-size:90%;font-weight:500}.FP8l5 .duration-badge-new{height:1.3rem;font-size:90%;font-weight:500}.FP8l5 .draft-badge{height:1.3rem;font-size:90%;font-weight:500}.FP8l5 .audience-label{height:1.3rem;font-size:90%}.HF8j1{opacity:.5}
|
|
34
|
-
.nckQw{cursor:pointer;display:inline-block;width:2rem;padding:0;vertical-align:middle}
|
|
35
|
-
.j5mgW{position:absolute;top:1rem;right:1.25rem}@media(min-width: 768px){.uotsN{border-right:1px solid #eaeaea}}
|