md-components-mdigial-azamat 0.0.1 → 0.0.2
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/Banner/Banner.js +146 -0
- package/dist/Banner/index.js +4 -0
- package/dist/Banner/model.js +8 -0
- package/dist/Banner/types.js +4 -0
- package/dist/BannerAndText/index.js +36 -0
- package/dist/CardIconList/CardIconList.js +72 -0
- package/dist/CardIconList/index.js +4 -0
- package/dist/CardImageList/CardImageList.js +50 -0
- package/dist/CardImageList/index.js +4 -0
- package/dist/Cards/CardImage/CardImage.js +51 -0
- package/dist/Cards/CardImage/index.js +4 -0
- package/dist/Cards/ColoredCard/index.js +47 -0
- package/dist/Cards/ContentCard/ContentCard.js +38 -0
- package/dist/Cards/ContentCard/index.js +4 -0
- package/dist/Cards/FeaturesCard/index.js +7 -0
- package/dist/Cards/WarningCard/WarningCard.js +51 -0
- package/dist/Cards/WarningCard/index.js +4 -0
- package/dist/Cards/WarningCard/model.js +24 -0
- package/dist/ComponentContainer-41408843.js +15 -0
- package/dist/ContentCardList/ContentCardList.js +26 -0
- package/dist/ContentCardList/index.js +4 -0
- package/dist/DownloadFile/components/DownloadFileBanner/DownloadFileBanner.js +38 -0
- package/dist/DownloadFile/components/DownloadFileBanner/index.js +4 -0
- package/dist/DownloadFile/components/DownloadFileFull/DownloadFileFull.js +39 -0
- package/dist/DownloadFile/components/DownloadFileFull/index.js +4 -0
- package/dist/DownloadFile/components/DownloadFileHalf/DownloadFileHalf.js +46 -0
- package/dist/DownloadFile/components/DownloadFileHalf/index.js +4 -0
- package/dist/DownloadFile/components/DownloadFileMini/DownloadFileMini.js +45 -0
- package/dist/DownloadFile/components/DownloadFileMini/index.js +4 -0
- package/dist/Faq/Faq.js +35 -0
- package/dist/Faq/components/Collapse/Collapse.js +42 -0
- package/dist/Faq/components/Collapse/index.js +4 -0
- package/dist/Faq/components/FeedbackForm/FeedbackForm.js +1033 -0
- package/dist/Faq/components/FeedbackForm/index.js +4 -0
- package/dist/Faq/components/PlusMinusIcon/PlusMinusIcon.js +62 -0
- package/dist/Faq/components/PlusMinusIcon/index.js +4 -0
- package/dist/Faq/index.js +4 -0
- package/dist/HeroPossibilityBanner/index.js +26 -0
- package/dist/HtmlContent/HtmlContent.js +12 -0
- package/dist/HtmlContent/index.js +4 -0
- package/dist/Icon-70ea6cb8.js +187 -0
- package/dist/InstructionList/InstructionList.js +30 -0
- package/dist/InstructionList/components/InstructionCard/InstructionCard.js +67 -0
- package/dist/InstructionList/components/InstructionCard/index.js +4 -0
- package/dist/InstructionList/components/InstructionModal/InstructionModal.js +40 -0
- package/dist/InstructionList/components/InstructionModal/index.js +4 -0
- package/dist/InstructionList/index.js +4 -0
- package/dist/MainBanner/MainBanner.js +70 -0
- package/dist/MainBanner/index.js +4 -0
- package/dist/MultiCards/index.js +48 -0
- package/dist/Partners/Partners.js +31 -0
- package/dist/Partners/index.js +4 -0
- package/dist/PartnersColors/PartnersColors.js +37 -0
- package/dist/PartnersColors/components/PartnerCard/PartnerCard.js +30 -0
- package/dist/PartnersColors/components/PartnerCard/const.js +19 -0
- package/dist/PartnersColors/components/PartnerCard/index.js +4 -0
- package/dist/PartnersColors/components/PartnerTab/PartnerTab.js +37 -0
- package/dist/PartnersColors/components/PartnerTab/index.js +4 -0
- package/dist/PartnersColors/index.js +4 -0
- package/dist/PreviewList/PreviewList.js +26 -0
- package/dist/PreviewList/components/PreviewCard/PreviewCard.js +32 -0
- package/dist/PreviewList/components/PreviewCard/index.js +4 -0
- package/dist/PreviewList/index.js +4 -0
- package/dist/Segments/Segments.js +34 -0
- package/dist/Segments/index.js +4 -0
- package/dist/Stepper/Stepper.js +41 -0
- package/dist/Stepper/index.js +4 -0
- package/dist/Video/VideoFull/VideoFull.js +13 -0
- package/dist/Video/VideoFull/index.js +4 -0
- package/dist/Video/VideoList/VideoList.js +23 -0
- package/dist/Video/VideoList/index.js +4 -0
- package/dist/Video/VideoListMini/VideoListMini.js +23 -0
- package/dist/Video/VideoListMini/index.js +4 -0
- package/dist/Video/components/VideoPlayer/VideoPlayer.js +1339 -0
- package/dist/Video/components/VideoPlayer/index.js +4 -0
- package/dist/Video/index.js +8 -0
- package/dist/cn-eacd4725.js +2749 -0
- package/dist/index-89dcf24f.js +54 -0
- package/dist/index-cd468670.js +51 -0
- package/dist/index-fb8c9446.js +46 -0
- package/dist/main.js +21 -0
- package/dist/palette-52b06a82.js +26 -0
- package/dist/trash/HeroLargeCards/index.js +26 -0
- package/package.json +6 -3
- package/dist/assets/minimise.svg +0 -10
- package/dist/components/Banner/Banner.js +0 -1
- package/dist/components/Banner/index.js +0 -1
- package/dist/components/Banner/model.js +0 -1
- package/dist/components/BannerAndText/index.js +0 -1
- package/dist/components/CardIconList/CardIconList.js +0 -1
- package/dist/components/CardIconList/index.js +0 -1
- package/dist/components/CardImageList/CardImageList.js +0 -1
- package/dist/components/CardImageList/index.js +0 -1
- package/dist/components/Cards/CardImage/CardImage.js +0 -1
- package/dist/components/Cards/CardImage/index.js +0 -1
- package/dist/components/Cards/ColoredCard/index.js +0 -1
- package/dist/components/Cards/ContentCard/ContentCard.js +0 -1
- package/dist/components/Cards/ContentCard/index.js +0 -1
- package/dist/components/Cards/FeaturesCard/index.js +0 -1
- package/dist/components/Cards/WarningCard/WarningCard.js +0 -1
- package/dist/components/Cards/WarningCard/index.js +0 -1
- package/dist/components/Cards/WarningCard/model.js +0 -1
- package/dist/components/ContentCardList/ContentCardList.js +0 -1
- package/dist/components/ContentCardList/index.js +0 -1
- package/dist/components/DownloadFile/components/DownloadFileBanner/DownloadFileBanner.js +0 -1
- package/dist/components/DownloadFile/components/DownloadFileBanner/index.js +0 -1
- package/dist/components/DownloadFile/components/DownloadFileFull/DownloadFileFull.js +0 -1
- package/dist/components/DownloadFile/components/DownloadFileFull/index.js +0 -1
- package/dist/components/DownloadFile/components/DownloadFileHalf/DownloadFileHalf.js +0 -1
- package/dist/components/DownloadFile/components/DownloadFileHalf/index.js +0 -1
- package/dist/components/DownloadFile/components/DownloadFileMini/DownloadFileMini.js +0 -1
- package/dist/components/DownloadFile/components/DownloadFileMini/index.js +0 -1
- package/dist/components/Faq/Faq.js +0 -1
- package/dist/components/Faq/components/Collapse/Collapse.js +0 -1
- package/dist/components/Faq/components/Collapse/index.js +0 -1
- package/dist/components/Faq/components/FeedbackForm/FeedbackForm.js +0 -1
- package/dist/components/Faq/components/FeedbackForm/index.js +0 -1
- package/dist/components/Faq/components/PlusMinusIcon/PlusMinusIcon.js +0 -1
- package/dist/components/Faq/components/PlusMinusIcon/index.js +0 -1
- package/dist/components/Faq/index.js +0 -1
- package/dist/components/HeroPossibilityBanner/index.js +0 -1
- package/dist/components/HtmlContent/HtmlContent.js +0 -1
- package/dist/components/HtmlContent/index.js +0 -1
- package/dist/components/InstructionList/InstructionList.js +0 -1
- package/dist/components/InstructionList/components/InstructionCard/InstructionCard.js +0 -1
- package/dist/components/InstructionList/components/InstructionCard/index.js +0 -1
- package/dist/components/InstructionList/components/InstructionModal/InstructionModal.js +0 -1
- package/dist/components/InstructionList/components/InstructionModal/index.js +0 -1
- package/dist/components/InstructionList/index.js +0 -1
- package/dist/components/MainBanner/MainBanner.js +0 -1
- package/dist/components/MainBanner/index.js +0 -1
- package/dist/components/MultiCards/index.js +0 -1
- package/dist/components/Partners/Partners.js +0 -1
- package/dist/components/Partners/index.js +0 -1
- package/dist/components/PartnersColors/PartnersColors.js +0 -1
- package/dist/components/PartnersColors/components/PartnerCard/PartnerCard.js +0 -1
- package/dist/components/PartnersColors/components/PartnerCard/const.js +0 -1
- package/dist/components/PartnersColors/components/PartnerCard/index.js +0 -1
- package/dist/components/PartnersColors/components/PartnerTab/PartnerTab.js +0 -1
- package/dist/components/PartnersColors/components/PartnerTab/index.js +0 -1
- package/dist/components/PartnersColors/index.js +0 -1
- package/dist/components/PreviewList/PreviewList.js +0 -1
- package/dist/components/PreviewList/components/PreviewCard/PreviewCard.js +0 -1
- package/dist/components/PreviewList/components/PreviewCard/index.js +0 -1
- package/dist/components/PreviewList/index.js +0 -1
- package/dist/components/Segments/Segments.js +0 -1
- package/dist/components/Segments/index.js +0 -1
- package/dist/components/Stepper/Stepper.js +0 -1
- package/dist/components/Stepper/index.js +0 -1
- package/dist/components/Video/VideoFull/VideoFull.js +0 -1
- package/dist/components/Video/VideoFull/index.js +0 -1
- package/dist/components/Video/VideoList/VideoList.js +0 -1
- package/dist/components/Video/VideoList/index.js +0 -1
- package/dist/components/Video/VideoListMini/VideoListMini.js +0 -1
- package/dist/components/Video/VideoListMini/index.js +0 -1
- package/dist/components/Video/components/VideoPlayer/VideoPlayer.js +0 -1
- package/dist/components/Video/components/VideoPlayer/index.js +0 -1
- package/dist/components/Video/index.js +0 -1
- package/dist/components/Video/types.js +0 -1
- package/dist/components/index.js +0 -1
- package/dist/components/trash/HeroLargeCards/index.js +0 -1
- /package/dist/{components/Banner → CardIconList}/types.js +0 -0
- /package/dist/{components/CardIconList → CardImageList}/types.js +0 -0
- /package/dist/{components/CardImageList → Cards/CardImage}/types.js +0 -0
- /package/dist/{components/Cards/CardImage → Cards/ColoredCard}/types.js +0 -0
- /package/dist/{components/Cards/ColoredCard → Cards/ContentCard}/types.js +0 -0
- /package/dist/{components/Cards/ContentCard → Cards/FeaturesCard}/types.js +0 -0
- /package/dist/{components/Cards/FeaturesCard → Cards/WarningCard}/types.js +0 -0
- /package/dist/{components/Cards/WarningCard → ContentCardList}/types.js +0 -0
- /package/dist/{components/ContentCardList → DownloadFile}/types.js +0 -0
- /package/dist/{components/DownloadFile → Faq/components/Collapse}/types.js +0 -0
- /package/dist/{components/Faq/components/Collapse → Faq/components/FeedbackForm}/types.js +0 -0
- /package/dist/{components/Faq/components/FeedbackForm → Faq}/types.js +0 -0
- /package/dist/{components/Faq → InstructionList}/types.js +0 -0
- /package/dist/{components/InstructionList → MainBanner}/types.js +0 -0
- /package/dist/{components/MainBanner → MultiCards}/types.js +0 -0
- /package/dist/{components/MultiCards → Partners}/types.js +0 -0
- /package/dist/{components/Partners → PartnersColors}/types.js +0 -0
- /package/dist/{components/PartnersColors → PreviewList/components/PreviewCard}/types.js +0 -0
- /package/dist/{components/PreviewList/components/PreviewCard → Segments}/types.js +0 -0
- /package/dist/{components/Segments → Stepper}/types.js +0 -0
- /package/dist/{components/Stepper → Video}/types.js +0 -0
|
@@ -0,0 +1,1339 @@
|
|
|
1
|
+
import { jsx as ue } from "react/jsx-runtime";
|
|
2
|
+
import le from "react";
|
|
3
|
+
import { c as Qe } from "../../../cn-eacd4725.js";
|
|
4
|
+
function Re(r) {
|
|
5
|
+
return r && r.__esModule && Object.prototype.hasOwnProperty.call(r, "default") ? r.default : r;
|
|
6
|
+
}
|
|
7
|
+
var he = { exports: {} }, ae = { exports: {} }, I = {};
|
|
8
|
+
/** @license React v16.13.1
|
|
9
|
+
* react-is.production.min.js
|
|
10
|
+
*
|
|
11
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
12
|
+
*
|
|
13
|
+
* This source code is licensed under the MIT license found in the
|
|
14
|
+
* LICENSE file in the root directory of this source tree.
|
|
15
|
+
*/
|
|
16
|
+
var xe;
|
|
17
|
+
function Ge() {
|
|
18
|
+
if (xe)
|
|
19
|
+
return I;
|
|
20
|
+
xe = 1;
|
|
21
|
+
var r = typeof Symbol == "function" && Symbol.for, e = r ? Symbol.for("react.element") : 60103, t = r ? Symbol.for("react.portal") : 60106, n = r ? Symbol.for("react.fragment") : 60107, i = r ? Symbol.for("react.strict_mode") : 60108, a = r ? Symbol.for("react.profiler") : 60114, v = r ? Symbol.for("react.provider") : 60109, y = r ? Symbol.for("react.context") : 60110, p = r ? Symbol.for("react.async_mode") : 60111, s = r ? Symbol.for("react.concurrent_mode") : 60111, u = r ? Symbol.for("react.forward_ref") : 60112, f = r ? Symbol.for("react.suspense") : 60113, h = r ? Symbol.for("react.suspense_list") : 60120, _ = r ? Symbol.for("react.memo") : 60115, m = r ? Symbol.for("react.lazy") : 60116, S = r ? Symbol.for("react.block") : 60121, R = r ? Symbol.for("react.fundamental") : 60117, j = r ? Symbol.for("react.responder") : 60118, Y = r ? Symbol.for("react.scope") : 60119;
|
|
22
|
+
function D(l) {
|
|
23
|
+
if (typeof l == "object" && l !== null) {
|
|
24
|
+
var U = l.$$typeof;
|
|
25
|
+
switch (U) {
|
|
26
|
+
case e:
|
|
27
|
+
switch (l = l.type, l) {
|
|
28
|
+
case p:
|
|
29
|
+
case s:
|
|
30
|
+
case n:
|
|
31
|
+
case a:
|
|
32
|
+
case i:
|
|
33
|
+
case f:
|
|
34
|
+
return l;
|
|
35
|
+
default:
|
|
36
|
+
switch (l = l && l.$$typeof, l) {
|
|
37
|
+
case y:
|
|
38
|
+
case u:
|
|
39
|
+
case m:
|
|
40
|
+
case _:
|
|
41
|
+
case v:
|
|
42
|
+
return l;
|
|
43
|
+
default:
|
|
44
|
+
return U;
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
case t:
|
|
48
|
+
return U;
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
function A(l) {
|
|
53
|
+
return D(l) === s;
|
|
54
|
+
}
|
|
55
|
+
return I.AsyncMode = p, I.ConcurrentMode = s, I.ContextConsumer = y, I.ContextProvider = v, I.Element = e, I.ForwardRef = u, I.Fragment = n, I.Lazy = m, I.Memo = _, I.Portal = t, I.Profiler = a, I.StrictMode = i, I.Suspense = f, I.isAsyncMode = function(l) {
|
|
56
|
+
return A(l) || D(l) === p;
|
|
57
|
+
}, I.isConcurrentMode = A, I.isContextConsumer = function(l) {
|
|
58
|
+
return D(l) === y;
|
|
59
|
+
}, I.isContextProvider = function(l) {
|
|
60
|
+
return D(l) === v;
|
|
61
|
+
}, I.isElement = function(l) {
|
|
62
|
+
return typeof l == "object" && l !== null && l.$$typeof === e;
|
|
63
|
+
}, I.isForwardRef = function(l) {
|
|
64
|
+
return D(l) === u;
|
|
65
|
+
}, I.isFragment = function(l) {
|
|
66
|
+
return D(l) === n;
|
|
67
|
+
}, I.isLazy = function(l) {
|
|
68
|
+
return D(l) === m;
|
|
69
|
+
}, I.isMemo = function(l) {
|
|
70
|
+
return D(l) === _;
|
|
71
|
+
}, I.isPortal = function(l) {
|
|
72
|
+
return D(l) === t;
|
|
73
|
+
}, I.isProfiler = function(l) {
|
|
74
|
+
return D(l) === a;
|
|
75
|
+
}, I.isStrictMode = function(l) {
|
|
76
|
+
return D(l) === i;
|
|
77
|
+
}, I.isSuspense = function(l) {
|
|
78
|
+
return D(l) === f;
|
|
79
|
+
}, I.isValidElementType = function(l) {
|
|
80
|
+
return typeof l == "string" || typeof l == "function" || l === n || l === s || l === a || l === i || l === f || l === h || typeof l == "object" && l !== null && (l.$$typeof === m || l.$$typeof === _ || l.$$typeof === v || l.$$typeof === y || l.$$typeof === u || l.$$typeof === R || l.$$typeof === j || l.$$typeof === Y || l.$$typeof === S);
|
|
81
|
+
}, I.typeOf = D, I;
|
|
82
|
+
}
|
|
83
|
+
var x = {};
|
|
84
|
+
/** @license React v16.13.1
|
|
85
|
+
* react-is.development.js
|
|
86
|
+
*
|
|
87
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
88
|
+
*
|
|
89
|
+
* This source code is licensed under the MIT license found in the
|
|
90
|
+
* LICENSE file in the root directory of this source tree.
|
|
91
|
+
*/
|
|
92
|
+
var Me;
|
|
93
|
+
function Je() {
|
|
94
|
+
return Me || (Me = 1, process.env.NODE_ENV !== "production" && function() {
|
|
95
|
+
var r = typeof Symbol == "function" && Symbol.for, e = r ? Symbol.for("react.element") : 60103, t = r ? Symbol.for("react.portal") : 60106, n = r ? Symbol.for("react.fragment") : 60107, i = r ? Symbol.for("react.strict_mode") : 60108, a = r ? Symbol.for("react.profiler") : 60114, v = r ? Symbol.for("react.provider") : 60109, y = r ? Symbol.for("react.context") : 60110, p = r ? Symbol.for("react.async_mode") : 60111, s = r ? Symbol.for("react.concurrent_mode") : 60111, u = r ? Symbol.for("react.forward_ref") : 60112, f = r ? Symbol.for("react.suspense") : 60113, h = r ? Symbol.for("react.suspense_list") : 60120, _ = r ? Symbol.for("react.memo") : 60115, m = r ? Symbol.for("react.lazy") : 60116, S = r ? Symbol.for("react.block") : 60121, R = r ? Symbol.for("react.fundamental") : 60117, j = r ? Symbol.for("react.responder") : 60118, Y = r ? Symbol.for("react.scope") : 60119;
|
|
96
|
+
function D(c) {
|
|
97
|
+
return typeof c == "string" || typeof c == "function" || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
|
|
98
|
+
c === n || c === s || c === a || c === i || c === f || c === h || typeof c == "object" && c !== null && (c.$$typeof === m || c.$$typeof === _ || c.$$typeof === v || c.$$typeof === y || c.$$typeof === u || c.$$typeof === R || c.$$typeof === j || c.$$typeof === Y || c.$$typeof === S);
|
|
99
|
+
}
|
|
100
|
+
function A(c) {
|
|
101
|
+
if (typeof c == "object" && c !== null) {
|
|
102
|
+
var B = c.$$typeof;
|
|
103
|
+
switch (B) {
|
|
104
|
+
case e:
|
|
105
|
+
var ne = c.type;
|
|
106
|
+
switch (ne) {
|
|
107
|
+
case p:
|
|
108
|
+
case s:
|
|
109
|
+
case n:
|
|
110
|
+
case a:
|
|
111
|
+
case i:
|
|
112
|
+
case f:
|
|
113
|
+
return ne;
|
|
114
|
+
default:
|
|
115
|
+
var Ie = ne && ne.$$typeof;
|
|
116
|
+
switch (Ie) {
|
|
117
|
+
case y:
|
|
118
|
+
case u:
|
|
119
|
+
case m:
|
|
120
|
+
case _:
|
|
121
|
+
case v:
|
|
122
|
+
return Ie;
|
|
123
|
+
default:
|
|
124
|
+
return B;
|
|
125
|
+
}
|
|
126
|
+
}
|
|
127
|
+
case t:
|
|
128
|
+
return B;
|
|
129
|
+
}
|
|
130
|
+
}
|
|
131
|
+
}
|
|
132
|
+
var l = p, U = s, z = y, q = v, F = e, Q = u, $ = n, k = m, W = _, J = t, Z = a, L = i, G = f, H = !1;
|
|
133
|
+
function X(c) {
|
|
134
|
+
return H || (H = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")), o(c) || A(c) === p;
|
|
135
|
+
}
|
|
136
|
+
function o(c) {
|
|
137
|
+
return A(c) === s;
|
|
138
|
+
}
|
|
139
|
+
function d(c) {
|
|
140
|
+
return A(c) === y;
|
|
141
|
+
}
|
|
142
|
+
function T(c) {
|
|
143
|
+
return A(c) === v;
|
|
144
|
+
}
|
|
145
|
+
function P(c) {
|
|
146
|
+
return typeof c == "object" && c !== null && c.$$typeof === e;
|
|
147
|
+
}
|
|
148
|
+
function g(c) {
|
|
149
|
+
return A(c) === u;
|
|
150
|
+
}
|
|
151
|
+
function w(c) {
|
|
152
|
+
return A(c) === n;
|
|
153
|
+
}
|
|
154
|
+
function b(c) {
|
|
155
|
+
return A(c) === m;
|
|
156
|
+
}
|
|
157
|
+
function E(c) {
|
|
158
|
+
return A(c) === _;
|
|
159
|
+
}
|
|
160
|
+
function C(c) {
|
|
161
|
+
return A(c) === t;
|
|
162
|
+
}
|
|
163
|
+
function M(c) {
|
|
164
|
+
return A(c) === a;
|
|
165
|
+
}
|
|
166
|
+
function O(c) {
|
|
167
|
+
return A(c) === i;
|
|
168
|
+
}
|
|
169
|
+
function V(c) {
|
|
170
|
+
return A(c) === f;
|
|
171
|
+
}
|
|
172
|
+
x.AsyncMode = l, x.ConcurrentMode = U, x.ContextConsumer = z, x.ContextProvider = q, x.Element = F, x.ForwardRef = Q, x.Fragment = $, x.Lazy = k, x.Memo = W, x.Portal = J, x.Profiler = Z, x.StrictMode = L, x.Suspense = G, x.isAsyncMode = X, x.isConcurrentMode = o, x.isContextConsumer = d, x.isContextProvider = T, x.isElement = P, x.isForwardRef = g, x.isFragment = w, x.isLazy = b, x.isMemo = E, x.isPortal = C, x.isProfiler = M, x.isStrictMode = O, x.isSuspense = V, x.isValidElementType = D, x.typeOf = A;
|
|
173
|
+
}()), x;
|
|
174
|
+
}
|
|
175
|
+
var De;
|
|
176
|
+
function We() {
|
|
177
|
+
return De || (De = 1, process.env.NODE_ENV === "production" ? ae.exports = Ge() : ae.exports = Je()), ae.exports;
|
|
178
|
+
}
|
|
179
|
+
/*
|
|
180
|
+
object-assign
|
|
181
|
+
(c) Sindre Sorhus
|
|
182
|
+
@license MIT
|
|
183
|
+
*/
|
|
184
|
+
var fe, je;
|
|
185
|
+
function He() {
|
|
186
|
+
if (je)
|
|
187
|
+
return fe;
|
|
188
|
+
je = 1;
|
|
189
|
+
var r = Object.getOwnPropertySymbols, e = Object.prototype.hasOwnProperty, t = Object.prototype.propertyIsEnumerable;
|
|
190
|
+
function n(a) {
|
|
191
|
+
if (a == null)
|
|
192
|
+
throw new TypeError("Object.assign cannot be called with null or undefined");
|
|
193
|
+
return Object(a);
|
|
194
|
+
}
|
|
195
|
+
function i() {
|
|
196
|
+
try {
|
|
197
|
+
if (!Object.assign)
|
|
198
|
+
return !1;
|
|
199
|
+
var a = new String("abc");
|
|
200
|
+
if (a[5] = "de", Object.getOwnPropertyNames(a)[0] === "5")
|
|
201
|
+
return !1;
|
|
202
|
+
for (var v = {}, y = 0; y < 10; y++)
|
|
203
|
+
v["_" + String.fromCharCode(y)] = y;
|
|
204
|
+
var p = Object.getOwnPropertyNames(v).map(function(u) {
|
|
205
|
+
return v[u];
|
|
206
|
+
});
|
|
207
|
+
if (p.join("") !== "0123456789")
|
|
208
|
+
return !1;
|
|
209
|
+
var s = {};
|
|
210
|
+
return "abcdefghijklmnopqrst".split("").forEach(function(u) {
|
|
211
|
+
s[u] = u;
|
|
212
|
+
}), Object.keys(Object.assign({}, s)).join("") === "abcdefghijklmnopqrst";
|
|
213
|
+
} catch {
|
|
214
|
+
return !1;
|
|
215
|
+
}
|
|
216
|
+
}
|
|
217
|
+
return fe = i() ? Object.assign : function(a, v) {
|
|
218
|
+
for (var y, p = n(a), s, u = 1; u < arguments.length; u++) {
|
|
219
|
+
y = Object(arguments[u]);
|
|
220
|
+
for (var f in y)
|
|
221
|
+
e.call(y, f) && (p[f] = y[f]);
|
|
222
|
+
if (r) {
|
|
223
|
+
s = r(y);
|
|
224
|
+
for (var h = 0; h < s.length; h++)
|
|
225
|
+
t.call(y, s[h]) && (p[s[h]] = y[s[h]]);
|
|
226
|
+
}
|
|
227
|
+
}
|
|
228
|
+
return p;
|
|
229
|
+
}, fe;
|
|
230
|
+
}
|
|
231
|
+
var ce, Ye;
|
|
232
|
+
function Ae() {
|
|
233
|
+
if (Ye)
|
|
234
|
+
return ce;
|
|
235
|
+
Ye = 1;
|
|
236
|
+
var r = "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";
|
|
237
|
+
return ce = r, ce;
|
|
238
|
+
}
|
|
239
|
+
var de, Ne;
|
|
240
|
+
function ze() {
|
|
241
|
+
return Ne || (Ne = 1, de = Function.call.bind(Object.prototype.hasOwnProperty)), de;
|
|
242
|
+
}
|
|
243
|
+
var pe, $e;
|
|
244
|
+
function Ze() {
|
|
245
|
+
if ($e)
|
|
246
|
+
return pe;
|
|
247
|
+
$e = 1;
|
|
248
|
+
var r = function() {
|
|
249
|
+
};
|
|
250
|
+
if (process.env.NODE_ENV !== "production") {
|
|
251
|
+
var e = Ae(), t = {}, n = ze();
|
|
252
|
+
r = function(a) {
|
|
253
|
+
var v = "Warning: " + a;
|
|
254
|
+
typeof console < "u" && console.error(v);
|
|
255
|
+
try {
|
|
256
|
+
throw new Error(v);
|
|
257
|
+
} catch {
|
|
258
|
+
}
|
|
259
|
+
};
|
|
260
|
+
}
|
|
261
|
+
function i(a, v, y, p, s) {
|
|
262
|
+
if (process.env.NODE_ENV !== "production") {
|
|
263
|
+
for (var u in a)
|
|
264
|
+
if (n(a, u)) {
|
|
265
|
+
var f;
|
|
266
|
+
try {
|
|
267
|
+
if (typeof a[u] != "function") {
|
|
268
|
+
var h = Error(
|
|
269
|
+
(p || "React class") + ": " + y + " type `" + u + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof a[u] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`."
|
|
270
|
+
);
|
|
271
|
+
throw h.name = "Invariant Violation", h;
|
|
272
|
+
}
|
|
273
|
+
f = a[u](v, u, p, y, null, e);
|
|
274
|
+
} catch (m) {
|
|
275
|
+
f = m;
|
|
276
|
+
}
|
|
277
|
+
if (f && !(f instanceof Error) && r(
|
|
278
|
+
(p || "React class") + ": type specification of " + y + " `" + u + "` is invalid; the type checker function must return `null` or an `Error` but returned a " + typeof f + ". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."
|
|
279
|
+
), f instanceof Error && !(f.message in t)) {
|
|
280
|
+
t[f.message] = !0;
|
|
281
|
+
var _ = s ? s() : "";
|
|
282
|
+
r(
|
|
283
|
+
"Failed " + y + " type: " + f.message + (_ ?? "")
|
|
284
|
+
);
|
|
285
|
+
}
|
|
286
|
+
}
|
|
287
|
+
}
|
|
288
|
+
}
|
|
289
|
+
return i.resetWarningCache = function() {
|
|
290
|
+
process.env.NODE_ENV !== "production" && (t = {});
|
|
291
|
+
}, pe = i, pe;
|
|
292
|
+
}
|
|
293
|
+
var ye, ke;
|
|
294
|
+
function Xe() {
|
|
295
|
+
if (ke)
|
|
296
|
+
return ye;
|
|
297
|
+
ke = 1;
|
|
298
|
+
var r = We(), e = He(), t = Ae(), n = ze(), i = Ze(), a = function() {
|
|
299
|
+
};
|
|
300
|
+
process.env.NODE_ENV !== "production" && (a = function(y) {
|
|
301
|
+
var p = "Warning: " + y;
|
|
302
|
+
typeof console < "u" && console.error(p);
|
|
303
|
+
try {
|
|
304
|
+
throw new Error(p);
|
|
305
|
+
} catch {
|
|
306
|
+
}
|
|
307
|
+
});
|
|
308
|
+
function v() {
|
|
309
|
+
return null;
|
|
310
|
+
}
|
|
311
|
+
return ye = function(y, p) {
|
|
312
|
+
var s = typeof Symbol == "function" && Symbol.iterator, u = "@@iterator";
|
|
313
|
+
function f(o) {
|
|
314
|
+
var d = o && (s && o[s] || o[u]);
|
|
315
|
+
if (typeof d == "function")
|
|
316
|
+
return d;
|
|
317
|
+
}
|
|
318
|
+
var h = "<<anonymous>>", _ = {
|
|
319
|
+
array: j("array"),
|
|
320
|
+
bigint: j("bigint"),
|
|
321
|
+
bool: j("boolean"),
|
|
322
|
+
func: j("function"),
|
|
323
|
+
number: j("number"),
|
|
324
|
+
object: j("object"),
|
|
325
|
+
string: j("string"),
|
|
326
|
+
symbol: j("symbol"),
|
|
327
|
+
any: Y(),
|
|
328
|
+
arrayOf: D,
|
|
329
|
+
element: A(),
|
|
330
|
+
elementType: l(),
|
|
331
|
+
instanceOf: U,
|
|
332
|
+
node: Q(),
|
|
333
|
+
objectOf: q,
|
|
334
|
+
oneOf: z,
|
|
335
|
+
oneOfType: F,
|
|
336
|
+
shape: k,
|
|
337
|
+
exact: W
|
|
338
|
+
};
|
|
339
|
+
function m(o, d) {
|
|
340
|
+
return o === d ? o !== 0 || 1 / o === 1 / d : o !== o && d !== d;
|
|
341
|
+
}
|
|
342
|
+
function S(o, d) {
|
|
343
|
+
this.message = o, this.data = d && typeof d == "object" ? d : {}, this.stack = "";
|
|
344
|
+
}
|
|
345
|
+
S.prototype = Error.prototype;
|
|
346
|
+
function R(o) {
|
|
347
|
+
if (process.env.NODE_ENV !== "production")
|
|
348
|
+
var d = {}, T = 0;
|
|
349
|
+
function P(w, b, E, C, M, O, V) {
|
|
350
|
+
if (C = C || h, O = O || E, V !== t) {
|
|
351
|
+
if (p) {
|
|
352
|
+
var c = new Error(
|
|
353
|
+
"Calling PropTypes validators directly is not supported by the `prop-types` package. Use `PropTypes.checkPropTypes()` to call them. Read more at http://fb.me/use-check-prop-types"
|
|
354
|
+
);
|
|
355
|
+
throw c.name = "Invariant Violation", c;
|
|
356
|
+
} else if (process.env.NODE_ENV !== "production" && typeof console < "u") {
|
|
357
|
+
var B = C + ":" + E;
|
|
358
|
+
!d[B] && // Avoid spamming the console because they are often not actionable except for lib authors
|
|
359
|
+
T < 3 && (a(
|
|
360
|
+
"You are manually calling a React.PropTypes validation function for the `" + O + "` prop on `" + C + "`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."
|
|
361
|
+
), d[B] = !0, T++);
|
|
362
|
+
}
|
|
363
|
+
}
|
|
364
|
+
return b[E] == null ? w ? b[E] === null ? new S("The " + M + " `" + O + "` is marked as required " + ("in `" + C + "`, but its value is `null`.")) : new S("The " + M + " `" + O + "` is marked as required in " + ("`" + C + "`, but its value is `undefined`.")) : null : o(b, E, C, M, O);
|
|
365
|
+
}
|
|
366
|
+
var g = P.bind(null, !1);
|
|
367
|
+
return g.isRequired = P.bind(null, !0), g;
|
|
368
|
+
}
|
|
369
|
+
function j(o) {
|
|
370
|
+
function d(T, P, g, w, b, E) {
|
|
371
|
+
var C = T[P], M = L(C);
|
|
372
|
+
if (M !== o) {
|
|
373
|
+
var O = G(C);
|
|
374
|
+
return new S(
|
|
375
|
+
"Invalid " + w + " `" + b + "` of type " + ("`" + O + "` supplied to `" + g + "`, expected ") + ("`" + o + "`."),
|
|
376
|
+
{ expectedType: o }
|
|
377
|
+
);
|
|
378
|
+
}
|
|
379
|
+
return null;
|
|
380
|
+
}
|
|
381
|
+
return R(d);
|
|
382
|
+
}
|
|
383
|
+
function Y() {
|
|
384
|
+
return R(v);
|
|
385
|
+
}
|
|
386
|
+
function D(o) {
|
|
387
|
+
function d(T, P, g, w, b) {
|
|
388
|
+
if (typeof o != "function")
|
|
389
|
+
return new S("Property `" + b + "` of component `" + g + "` has invalid PropType notation inside arrayOf.");
|
|
390
|
+
var E = T[P];
|
|
391
|
+
if (!Array.isArray(E)) {
|
|
392
|
+
var C = L(E);
|
|
393
|
+
return new S("Invalid " + w + " `" + b + "` of type " + ("`" + C + "` supplied to `" + g + "`, expected an array."));
|
|
394
|
+
}
|
|
395
|
+
for (var M = 0; M < E.length; M++) {
|
|
396
|
+
var O = o(E, M, g, w, b + "[" + M + "]", t);
|
|
397
|
+
if (O instanceof Error)
|
|
398
|
+
return O;
|
|
399
|
+
}
|
|
400
|
+
return null;
|
|
401
|
+
}
|
|
402
|
+
return R(d);
|
|
403
|
+
}
|
|
404
|
+
function A() {
|
|
405
|
+
function o(d, T, P, g, w) {
|
|
406
|
+
var b = d[T];
|
|
407
|
+
if (!y(b)) {
|
|
408
|
+
var E = L(b);
|
|
409
|
+
return new S("Invalid " + g + " `" + w + "` of type " + ("`" + E + "` supplied to `" + P + "`, expected a single ReactElement."));
|
|
410
|
+
}
|
|
411
|
+
return null;
|
|
412
|
+
}
|
|
413
|
+
return R(o);
|
|
414
|
+
}
|
|
415
|
+
function l() {
|
|
416
|
+
function o(d, T, P, g, w) {
|
|
417
|
+
var b = d[T];
|
|
418
|
+
if (!r.isValidElementType(b)) {
|
|
419
|
+
var E = L(b);
|
|
420
|
+
return new S("Invalid " + g + " `" + w + "` of type " + ("`" + E + "` supplied to `" + P + "`, expected a single ReactElement type."));
|
|
421
|
+
}
|
|
422
|
+
return null;
|
|
423
|
+
}
|
|
424
|
+
return R(o);
|
|
425
|
+
}
|
|
426
|
+
function U(o) {
|
|
427
|
+
function d(T, P, g, w, b) {
|
|
428
|
+
if (!(T[P] instanceof o)) {
|
|
429
|
+
var E = o.name || h, C = X(T[P]);
|
|
430
|
+
return new S("Invalid " + w + " `" + b + "` of type " + ("`" + C + "` supplied to `" + g + "`, expected ") + ("instance of `" + E + "`."));
|
|
431
|
+
}
|
|
432
|
+
return null;
|
|
433
|
+
}
|
|
434
|
+
return R(d);
|
|
435
|
+
}
|
|
436
|
+
function z(o) {
|
|
437
|
+
if (!Array.isArray(o))
|
|
438
|
+
return process.env.NODE_ENV !== "production" && (arguments.length > 1 ? a(
|
|
439
|
+
"Invalid arguments supplied to oneOf, expected an array, got " + arguments.length + " arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z])."
|
|
440
|
+
) : a("Invalid argument supplied to oneOf, expected an array.")), v;
|
|
441
|
+
function d(T, P, g, w, b) {
|
|
442
|
+
for (var E = T[P], C = 0; C < o.length; C++)
|
|
443
|
+
if (m(E, o[C]))
|
|
444
|
+
return null;
|
|
445
|
+
var M = JSON.stringify(o, function(V, c) {
|
|
446
|
+
var B = G(c);
|
|
447
|
+
return B === "symbol" ? String(c) : c;
|
|
448
|
+
});
|
|
449
|
+
return new S("Invalid " + w + " `" + b + "` of value `" + String(E) + "` " + ("supplied to `" + g + "`, expected one of " + M + "."));
|
|
450
|
+
}
|
|
451
|
+
return R(d);
|
|
452
|
+
}
|
|
453
|
+
function q(o) {
|
|
454
|
+
function d(T, P, g, w, b) {
|
|
455
|
+
if (typeof o != "function")
|
|
456
|
+
return new S("Property `" + b + "` of component `" + g + "` has invalid PropType notation inside objectOf.");
|
|
457
|
+
var E = T[P], C = L(E);
|
|
458
|
+
if (C !== "object")
|
|
459
|
+
return new S("Invalid " + w + " `" + b + "` of type " + ("`" + C + "` supplied to `" + g + "`, expected an object."));
|
|
460
|
+
for (var M in E)
|
|
461
|
+
if (n(E, M)) {
|
|
462
|
+
var O = o(E, M, g, w, b + "." + M, t);
|
|
463
|
+
if (O instanceof Error)
|
|
464
|
+
return O;
|
|
465
|
+
}
|
|
466
|
+
return null;
|
|
467
|
+
}
|
|
468
|
+
return R(d);
|
|
469
|
+
}
|
|
470
|
+
function F(o) {
|
|
471
|
+
if (!Array.isArray(o))
|
|
472
|
+
return process.env.NODE_ENV !== "production" && a("Invalid argument supplied to oneOfType, expected an instance of array."), v;
|
|
473
|
+
for (var d = 0; d < o.length; d++) {
|
|
474
|
+
var T = o[d];
|
|
475
|
+
if (typeof T != "function")
|
|
476
|
+
return a(
|
|
477
|
+
"Invalid argument supplied to oneOfType. Expected an array of check functions, but received " + H(T) + " at index " + d + "."
|
|
478
|
+
), v;
|
|
479
|
+
}
|
|
480
|
+
function P(g, w, b, E, C) {
|
|
481
|
+
for (var M = [], O = 0; O < o.length; O++) {
|
|
482
|
+
var V = o[O], c = V(g, w, b, E, C, t);
|
|
483
|
+
if (c == null)
|
|
484
|
+
return null;
|
|
485
|
+
c.data && n(c.data, "expectedType") && M.push(c.data.expectedType);
|
|
486
|
+
}
|
|
487
|
+
var B = M.length > 0 ? ", expected one of type [" + M.join(", ") + "]" : "";
|
|
488
|
+
return new S("Invalid " + E + " `" + C + "` supplied to " + ("`" + b + "`" + B + "."));
|
|
489
|
+
}
|
|
490
|
+
return R(P);
|
|
491
|
+
}
|
|
492
|
+
function Q() {
|
|
493
|
+
function o(d, T, P, g, w) {
|
|
494
|
+
return J(d[T]) ? null : new S("Invalid " + g + " `" + w + "` supplied to " + ("`" + P + "`, expected a ReactNode."));
|
|
495
|
+
}
|
|
496
|
+
return R(o);
|
|
497
|
+
}
|
|
498
|
+
function $(o, d, T, P, g) {
|
|
499
|
+
return new S(
|
|
500
|
+
(o || "React class") + ": " + d + " type `" + T + "." + P + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + g + "`."
|
|
501
|
+
);
|
|
502
|
+
}
|
|
503
|
+
function k(o) {
|
|
504
|
+
function d(T, P, g, w, b) {
|
|
505
|
+
var E = T[P], C = L(E);
|
|
506
|
+
if (C !== "object")
|
|
507
|
+
return new S("Invalid " + w + " `" + b + "` of type `" + C + "` " + ("supplied to `" + g + "`, expected `object`."));
|
|
508
|
+
for (var M in o) {
|
|
509
|
+
var O = o[M];
|
|
510
|
+
if (typeof O != "function")
|
|
511
|
+
return $(g, w, b, M, G(O));
|
|
512
|
+
var V = O(E, M, g, w, b + "." + M, t);
|
|
513
|
+
if (V)
|
|
514
|
+
return V;
|
|
515
|
+
}
|
|
516
|
+
return null;
|
|
517
|
+
}
|
|
518
|
+
return R(d);
|
|
519
|
+
}
|
|
520
|
+
function W(o) {
|
|
521
|
+
function d(T, P, g, w, b) {
|
|
522
|
+
var E = T[P], C = L(E);
|
|
523
|
+
if (C !== "object")
|
|
524
|
+
return new S("Invalid " + w + " `" + b + "` of type `" + C + "` " + ("supplied to `" + g + "`, expected `object`."));
|
|
525
|
+
var M = e({}, T[P], o);
|
|
526
|
+
for (var O in M) {
|
|
527
|
+
var V = o[O];
|
|
528
|
+
if (n(o, O) && typeof V != "function")
|
|
529
|
+
return $(g, w, b, O, G(V));
|
|
530
|
+
if (!V)
|
|
531
|
+
return new S(
|
|
532
|
+
"Invalid " + w + " `" + b + "` key `" + O + "` supplied to `" + g + "`.\nBad object: " + JSON.stringify(T[P], null, " ") + `
|
|
533
|
+
Valid keys: ` + JSON.stringify(Object.keys(o), null, " ")
|
|
534
|
+
);
|
|
535
|
+
var c = V(E, O, g, w, b + "." + O, t);
|
|
536
|
+
if (c)
|
|
537
|
+
return c;
|
|
538
|
+
}
|
|
539
|
+
return null;
|
|
540
|
+
}
|
|
541
|
+
return R(d);
|
|
542
|
+
}
|
|
543
|
+
function J(o) {
|
|
544
|
+
switch (typeof o) {
|
|
545
|
+
case "number":
|
|
546
|
+
case "string":
|
|
547
|
+
case "undefined":
|
|
548
|
+
return !0;
|
|
549
|
+
case "boolean":
|
|
550
|
+
return !o;
|
|
551
|
+
case "object":
|
|
552
|
+
if (Array.isArray(o))
|
|
553
|
+
return o.every(J);
|
|
554
|
+
if (o === null || y(o))
|
|
555
|
+
return !0;
|
|
556
|
+
var d = f(o);
|
|
557
|
+
if (d) {
|
|
558
|
+
var T = d.call(o), P;
|
|
559
|
+
if (d !== o.entries) {
|
|
560
|
+
for (; !(P = T.next()).done; )
|
|
561
|
+
if (!J(P.value))
|
|
562
|
+
return !1;
|
|
563
|
+
} else
|
|
564
|
+
for (; !(P = T.next()).done; ) {
|
|
565
|
+
var g = P.value;
|
|
566
|
+
if (g && !J(g[1]))
|
|
567
|
+
return !1;
|
|
568
|
+
}
|
|
569
|
+
} else
|
|
570
|
+
return !1;
|
|
571
|
+
return !0;
|
|
572
|
+
default:
|
|
573
|
+
return !1;
|
|
574
|
+
}
|
|
575
|
+
}
|
|
576
|
+
function Z(o, d) {
|
|
577
|
+
return o === "symbol" ? !0 : d ? d["@@toStringTag"] === "Symbol" || typeof Symbol == "function" && d instanceof Symbol : !1;
|
|
578
|
+
}
|
|
579
|
+
function L(o) {
|
|
580
|
+
var d = typeof o;
|
|
581
|
+
return Array.isArray(o) ? "array" : o instanceof RegExp ? "object" : Z(d, o) ? "symbol" : d;
|
|
582
|
+
}
|
|
583
|
+
function G(o) {
|
|
584
|
+
if (typeof o > "u" || o === null)
|
|
585
|
+
return "" + o;
|
|
586
|
+
var d = L(o);
|
|
587
|
+
if (d === "object") {
|
|
588
|
+
if (o instanceof Date)
|
|
589
|
+
return "date";
|
|
590
|
+
if (o instanceof RegExp)
|
|
591
|
+
return "regexp";
|
|
592
|
+
}
|
|
593
|
+
return d;
|
|
594
|
+
}
|
|
595
|
+
function H(o) {
|
|
596
|
+
var d = G(o);
|
|
597
|
+
switch (d) {
|
|
598
|
+
case "array":
|
|
599
|
+
case "object":
|
|
600
|
+
return "an " + d;
|
|
601
|
+
case "boolean":
|
|
602
|
+
case "date":
|
|
603
|
+
case "regexp":
|
|
604
|
+
return "a " + d;
|
|
605
|
+
default:
|
|
606
|
+
return d;
|
|
607
|
+
}
|
|
608
|
+
}
|
|
609
|
+
function X(o) {
|
|
610
|
+
return !o.constructor || !o.constructor.name ? h : o.constructor.name;
|
|
611
|
+
}
|
|
612
|
+
return _.checkPropTypes = i, _.resetWarningCache = i.resetWarningCache, _.PropTypes = _, _;
|
|
613
|
+
}, ye;
|
|
614
|
+
}
|
|
615
|
+
var ve, Ve;
|
|
616
|
+
function Ke() {
|
|
617
|
+
if (Ve)
|
|
618
|
+
return ve;
|
|
619
|
+
Ve = 1;
|
|
620
|
+
var r = Ae();
|
|
621
|
+
function e() {
|
|
622
|
+
}
|
|
623
|
+
function t() {
|
|
624
|
+
}
|
|
625
|
+
return t.resetWarningCache = e, ve = function() {
|
|
626
|
+
function n(v, y, p, s, u, f) {
|
|
627
|
+
if (f !== r) {
|
|
628
|
+
var h = new Error(
|
|
629
|
+
"Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types"
|
|
630
|
+
);
|
|
631
|
+
throw h.name = "Invariant Violation", h;
|
|
632
|
+
}
|
|
633
|
+
}
|
|
634
|
+
n.isRequired = n;
|
|
635
|
+
function i() {
|
|
636
|
+
return n;
|
|
637
|
+
}
|
|
638
|
+
var a = {
|
|
639
|
+
array: n,
|
|
640
|
+
bigint: n,
|
|
641
|
+
bool: n,
|
|
642
|
+
func: n,
|
|
643
|
+
number: n,
|
|
644
|
+
object: n,
|
|
645
|
+
string: n,
|
|
646
|
+
symbol: n,
|
|
647
|
+
any: n,
|
|
648
|
+
arrayOf: i,
|
|
649
|
+
element: n,
|
|
650
|
+
elementType: n,
|
|
651
|
+
instanceOf: i,
|
|
652
|
+
node: n,
|
|
653
|
+
objectOf: i,
|
|
654
|
+
oneOf: i,
|
|
655
|
+
oneOfType: i,
|
|
656
|
+
shape: i,
|
|
657
|
+
exact: i,
|
|
658
|
+
checkPropTypes: t,
|
|
659
|
+
resetWarningCache: e
|
|
660
|
+
};
|
|
661
|
+
return a.PropTypes = a, a;
|
|
662
|
+
}, ve;
|
|
663
|
+
}
|
|
664
|
+
if (process.env.NODE_ENV !== "production") {
|
|
665
|
+
var er = We(), rr = !0;
|
|
666
|
+
he.exports = Xe()(er.isElement, rr);
|
|
667
|
+
} else
|
|
668
|
+
he.exports = Ke()();
|
|
669
|
+
var tr = he.exports;
|
|
670
|
+
const N = /* @__PURE__ */ Re(tr);
|
|
671
|
+
var nr = function r(e, t) {
|
|
672
|
+
if (e === t)
|
|
673
|
+
return !0;
|
|
674
|
+
if (e && t && typeof e == "object" && typeof t == "object") {
|
|
675
|
+
if (e.constructor !== t.constructor)
|
|
676
|
+
return !1;
|
|
677
|
+
var n, i, a;
|
|
678
|
+
if (Array.isArray(e)) {
|
|
679
|
+
if (n = e.length, n != t.length)
|
|
680
|
+
return !1;
|
|
681
|
+
for (i = n; i-- !== 0; )
|
|
682
|
+
if (!r(e[i], t[i]))
|
|
683
|
+
return !1;
|
|
684
|
+
return !0;
|
|
685
|
+
}
|
|
686
|
+
if (e.constructor === RegExp)
|
|
687
|
+
return e.source === t.source && e.flags === t.flags;
|
|
688
|
+
if (e.valueOf !== Object.prototype.valueOf)
|
|
689
|
+
return e.valueOf() === t.valueOf();
|
|
690
|
+
if (e.toString !== Object.prototype.toString)
|
|
691
|
+
return e.toString() === t.toString();
|
|
692
|
+
if (a = Object.keys(e), n = a.length, n !== Object.keys(t).length)
|
|
693
|
+
return !1;
|
|
694
|
+
for (i = n; i-- !== 0; )
|
|
695
|
+
if (!Object.prototype.hasOwnProperty.call(t, a[i]))
|
|
696
|
+
return !1;
|
|
697
|
+
for (i = n; i-- !== 0; ) {
|
|
698
|
+
var v = a[i];
|
|
699
|
+
if (!r(e[v], t[v]))
|
|
700
|
+
return !1;
|
|
701
|
+
}
|
|
702
|
+
return !0;
|
|
703
|
+
}
|
|
704
|
+
return e !== e && t !== t;
|
|
705
|
+
};
|
|
706
|
+
const ar = /* @__PURE__ */ Re(nr);
|
|
707
|
+
var ge = { exports: {} }, Be;
|
|
708
|
+
/**
|
|
709
|
+
* @link https://github.com/gajus/sister for the canonical source repository
|
|
710
|
+
* @license https://github.com/gajus/sister/blob/master/LICENSE BSD 3-Clause
|
|
711
|
+
*/
|
|
712
|
+
Be = function() {
|
|
713
|
+
var r = {}, e = {};
|
|
714
|
+
return r.on = function(t, n) {
|
|
715
|
+
var i = { name: t, handler: n };
|
|
716
|
+
return e[t] = e[t] || [], e[t].unshift(i), i;
|
|
717
|
+
}, r.off = function(t) {
|
|
718
|
+
var n = e[t.name].indexOf(t);
|
|
719
|
+
n !== -1 && e[t.name].splice(n, 1);
|
|
720
|
+
}, r.trigger = function(t, n) {
|
|
721
|
+
var i = e[t], a;
|
|
722
|
+
if (i)
|
|
723
|
+
for (a = i.length; a--; )
|
|
724
|
+
i[a].handler(n);
|
|
725
|
+
}, r;
|
|
726
|
+
};
|
|
727
|
+
var or = Be, me = { exports: {} }, ir = function(e, t, n) {
|
|
728
|
+
var i = document.head || document.getElementsByTagName("head")[0], a = document.createElement("script");
|
|
729
|
+
typeof t == "function" && (n = t, t = {}), t = t || {}, n = n || function() {
|
|
730
|
+
}, a.type = t.type || "text/javascript", a.charset = t.charset || "utf8", a.async = "async" in t ? !!t.async : !0, a.src = e, t.attrs && sr(a, t.attrs), t.text && (a.text = "" + t.text);
|
|
731
|
+
var v = "onload" in a ? qe : ur;
|
|
732
|
+
v(a, n), a.onload || qe(a, n), i.appendChild(a);
|
|
733
|
+
};
|
|
734
|
+
function sr(r, e) {
|
|
735
|
+
for (var t in e)
|
|
736
|
+
r.setAttribute(t, e[t]);
|
|
737
|
+
}
|
|
738
|
+
function qe(r, e) {
|
|
739
|
+
r.onload = function() {
|
|
740
|
+
this.onerror = this.onload = null, e(null, r);
|
|
741
|
+
}, r.onerror = function() {
|
|
742
|
+
this.onerror = this.onload = null, e(new Error("Failed to load " + this.src), r);
|
|
743
|
+
};
|
|
744
|
+
}
|
|
745
|
+
function ur(r, e) {
|
|
746
|
+
r.onreadystatechange = function() {
|
|
747
|
+
this.readyState != "complete" && this.readyState != "loaded" || (this.onreadystatechange = null, e(null, r));
|
|
748
|
+
};
|
|
749
|
+
}
|
|
750
|
+
(function(r, e) {
|
|
751
|
+
Object.defineProperty(e, "__esModule", {
|
|
752
|
+
value: !0
|
|
753
|
+
});
|
|
754
|
+
var t = ir, n = i(t);
|
|
755
|
+
function i(a) {
|
|
756
|
+
return a && a.__esModule ? a : { default: a };
|
|
757
|
+
}
|
|
758
|
+
e.default = function(a) {
|
|
759
|
+
var v = new Promise(function(y) {
|
|
760
|
+
if (window.YT && window.YT.Player && window.YT.Player instanceof Function) {
|
|
761
|
+
y(window.YT);
|
|
762
|
+
return;
|
|
763
|
+
} else {
|
|
764
|
+
var p = window.location.protocol === "http:" ? "http:" : "https:";
|
|
765
|
+
(0, n.default)(p + "//www.youtube.com/iframe_api", function(u) {
|
|
766
|
+
u && a.trigger("error", u);
|
|
767
|
+
});
|
|
768
|
+
}
|
|
769
|
+
var s = window.onYouTubeIframeAPIReady;
|
|
770
|
+
window.onYouTubeIframeAPIReady = function() {
|
|
771
|
+
s && s(), y(window.YT);
|
|
772
|
+
};
|
|
773
|
+
});
|
|
774
|
+
return v;
|
|
775
|
+
}, r.exports = e.default;
|
|
776
|
+
})(me, me.exports);
|
|
777
|
+
var lr = me.exports, be = { exports: {} }, Pe = { exports: {} }, Ee = { exports: {} }, K = 1e3, ee = K * 60, re = ee * 60, te = re * 24, fr = te * 365.25, cr = function(r, e) {
|
|
778
|
+
e = e || {};
|
|
779
|
+
var t = typeof r;
|
|
780
|
+
if (t === "string" && r.length > 0)
|
|
781
|
+
return dr(r);
|
|
782
|
+
if (t === "number" && isNaN(r) === !1)
|
|
783
|
+
return e.long ? yr(r) : pr(r);
|
|
784
|
+
throw new Error(
|
|
785
|
+
"val is not a non-empty string or a valid number. val=" + JSON.stringify(r)
|
|
786
|
+
);
|
|
787
|
+
};
|
|
788
|
+
function dr(r) {
|
|
789
|
+
if (r = String(r), !(r.length > 100)) {
|
|
790
|
+
var e = /^((?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|years?|yrs?|y)?$/i.exec(
|
|
791
|
+
r
|
|
792
|
+
);
|
|
793
|
+
if (e) {
|
|
794
|
+
var t = parseFloat(e[1]), n = (e[2] || "ms").toLowerCase();
|
|
795
|
+
switch (n) {
|
|
796
|
+
case "years":
|
|
797
|
+
case "year":
|
|
798
|
+
case "yrs":
|
|
799
|
+
case "yr":
|
|
800
|
+
case "y":
|
|
801
|
+
return t * fr;
|
|
802
|
+
case "days":
|
|
803
|
+
case "day":
|
|
804
|
+
case "d":
|
|
805
|
+
return t * te;
|
|
806
|
+
case "hours":
|
|
807
|
+
case "hour":
|
|
808
|
+
case "hrs":
|
|
809
|
+
case "hr":
|
|
810
|
+
case "h":
|
|
811
|
+
return t * re;
|
|
812
|
+
case "minutes":
|
|
813
|
+
case "minute":
|
|
814
|
+
case "mins":
|
|
815
|
+
case "min":
|
|
816
|
+
case "m":
|
|
817
|
+
return t * ee;
|
|
818
|
+
case "seconds":
|
|
819
|
+
case "second":
|
|
820
|
+
case "secs":
|
|
821
|
+
case "sec":
|
|
822
|
+
case "s":
|
|
823
|
+
return t * K;
|
|
824
|
+
case "milliseconds":
|
|
825
|
+
case "millisecond":
|
|
826
|
+
case "msecs":
|
|
827
|
+
case "msec":
|
|
828
|
+
case "ms":
|
|
829
|
+
return t;
|
|
830
|
+
default:
|
|
831
|
+
return;
|
|
832
|
+
}
|
|
833
|
+
}
|
|
834
|
+
}
|
|
835
|
+
}
|
|
836
|
+
function pr(r) {
|
|
837
|
+
return r >= te ? Math.round(r / te) + "d" : r >= re ? Math.round(r / re) + "h" : r >= ee ? Math.round(r / ee) + "m" : r >= K ? Math.round(r / K) + "s" : r + "ms";
|
|
838
|
+
}
|
|
839
|
+
function yr(r) {
|
|
840
|
+
return oe(r, te, "day") || oe(r, re, "hour") || oe(r, ee, "minute") || oe(r, K, "second") || r + " ms";
|
|
841
|
+
}
|
|
842
|
+
function oe(r, e, t) {
|
|
843
|
+
if (!(r < e))
|
|
844
|
+
return r < e * 1.5 ? Math.floor(r / e) + " " + t : Math.ceil(r / e) + " " + t + "s";
|
|
845
|
+
}
|
|
846
|
+
(function(r, e) {
|
|
847
|
+
e = r.exports = i.debug = i.default = i, e.coerce = p, e.disable = v, e.enable = a, e.enabled = y, e.humanize = cr, e.names = [], e.skips = [], e.formatters = {};
|
|
848
|
+
var t;
|
|
849
|
+
function n(s) {
|
|
850
|
+
var u = 0, f;
|
|
851
|
+
for (f in s)
|
|
852
|
+
u = (u << 5) - u + s.charCodeAt(f), u |= 0;
|
|
853
|
+
return e.colors[Math.abs(u) % e.colors.length];
|
|
854
|
+
}
|
|
855
|
+
function i(s) {
|
|
856
|
+
function u() {
|
|
857
|
+
if (u.enabled) {
|
|
858
|
+
var f = u, h = +/* @__PURE__ */ new Date(), _ = h - (t || h);
|
|
859
|
+
f.diff = _, f.prev = t, f.curr = h, t = h;
|
|
860
|
+
for (var m = new Array(arguments.length), S = 0; S < m.length; S++)
|
|
861
|
+
m[S] = arguments[S];
|
|
862
|
+
m[0] = e.coerce(m[0]), typeof m[0] != "string" && m.unshift("%O");
|
|
863
|
+
var R = 0;
|
|
864
|
+
m[0] = m[0].replace(/%([a-zA-Z%])/g, function(Y, D) {
|
|
865
|
+
if (Y === "%%")
|
|
866
|
+
return Y;
|
|
867
|
+
R++;
|
|
868
|
+
var A = e.formatters[D];
|
|
869
|
+
if (typeof A == "function") {
|
|
870
|
+
var l = m[R];
|
|
871
|
+
Y = A.call(f, l), m.splice(R, 1), R--;
|
|
872
|
+
}
|
|
873
|
+
return Y;
|
|
874
|
+
}), e.formatArgs.call(f, m);
|
|
875
|
+
var j = u.log || e.log || console.log.bind(console);
|
|
876
|
+
j.apply(f, m);
|
|
877
|
+
}
|
|
878
|
+
}
|
|
879
|
+
return u.namespace = s, u.enabled = e.enabled(s), u.useColors = e.useColors(), u.color = n(s), typeof e.init == "function" && e.init(u), u;
|
|
880
|
+
}
|
|
881
|
+
function a(s) {
|
|
882
|
+
e.save(s), e.names = [], e.skips = [];
|
|
883
|
+
for (var u = (typeof s == "string" ? s : "").split(/[\s,]+/), f = u.length, h = 0; h < f; h++)
|
|
884
|
+
u[h] && (s = u[h].replace(/\*/g, ".*?"), s[0] === "-" ? e.skips.push(new RegExp("^" + s.substr(1) + "$")) : e.names.push(new RegExp("^" + s + "$")));
|
|
885
|
+
}
|
|
886
|
+
function v() {
|
|
887
|
+
e.enable("");
|
|
888
|
+
}
|
|
889
|
+
function y(s) {
|
|
890
|
+
var u, f;
|
|
891
|
+
for (u = 0, f = e.skips.length; u < f; u++)
|
|
892
|
+
if (e.skips[u].test(s))
|
|
893
|
+
return !1;
|
|
894
|
+
for (u = 0, f = e.names.length; u < f; u++)
|
|
895
|
+
if (e.names[u].test(s))
|
|
896
|
+
return !0;
|
|
897
|
+
return !1;
|
|
898
|
+
}
|
|
899
|
+
function p(s) {
|
|
900
|
+
return s instanceof Error ? s.stack || s.message : s;
|
|
901
|
+
}
|
|
902
|
+
})(Ee, Ee.exports);
|
|
903
|
+
var vr = Ee.exports;
|
|
904
|
+
(function(r, e) {
|
|
905
|
+
e = r.exports = vr, e.log = i, e.formatArgs = n, e.save = a, e.load = v, e.useColors = t, e.storage = typeof chrome < "u" && typeof chrome.storage < "u" ? chrome.storage.local : y(), e.colors = [
|
|
906
|
+
"lightseagreen",
|
|
907
|
+
"forestgreen",
|
|
908
|
+
"goldenrod",
|
|
909
|
+
"dodgerblue",
|
|
910
|
+
"darkorchid",
|
|
911
|
+
"crimson"
|
|
912
|
+
];
|
|
913
|
+
function t() {
|
|
914
|
+
return typeof window < "u" && window.process && window.process.type === "renderer" ? !0 : typeof document < "u" && document.documentElement && document.documentElement.style && document.documentElement.style.WebkitAppearance || // is firebug? http://stackoverflow.com/a/398120/376773
|
|
915
|
+
typeof window < "u" && window.console && (window.console.firebug || window.console.exception && window.console.table) || // is firefox >= v31?
|
|
916
|
+
// https://developer.mozilla.org/en-US/docs/Tools/Web_Console#Styling_messages
|
|
917
|
+
typeof navigator < "u" && navigator.userAgent && navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/) && parseInt(RegExp.$1, 10) >= 31 || // double check webkit in userAgent just in case we are in a worker
|
|
918
|
+
typeof navigator < "u" && navigator.userAgent && navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/);
|
|
919
|
+
}
|
|
920
|
+
e.formatters.j = function(p) {
|
|
921
|
+
try {
|
|
922
|
+
return JSON.stringify(p);
|
|
923
|
+
} catch (s) {
|
|
924
|
+
return "[UnexpectedJSONParseError]: " + s.message;
|
|
925
|
+
}
|
|
926
|
+
};
|
|
927
|
+
function n(p) {
|
|
928
|
+
var s = this.useColors;
|
|
929
|
+
if (p[0] = (s ? "%c" : "") + this.namespace + (s ? " %c" : " ") + p[0] + (s ? "%c " : " ") + "+" + e.humanize(this.diff), !!s) {
|
|
930
|
+
var u = "color: " + this.color;
|
|
931
|
+
p.splice(1, 0, u, "color: inherit");
|
|
932
|
+
var f = 0, h = 0;
|
|
933
|
+
p[0].replace(/%[a-zA-Z%]/g, function(_) {
|
|
934
|
+
_ !== "%%" && (f++, _ === "%c" && (h = f));
|
|
935
|
+
}), p.splice(h, 0, u);
|
|
936
|
+
}
|
|
937
|
+
}
|
|
938
|
+
function i() {
|
|
939
|
+
return typeof console == "object" && console.log && Function.prototype.apply.call(console.log, console, arguments);
|
|
940
|
+
}
|
|
941
|
+
function a(p) {
|
|
942
|
+
try {
|
|
943
|
+
p == null ? e.storage.removeItem("debug") : e.storage.debug = p;
|
|
944
|
+
} catch {
|
|
945
|
+
}
|
|
946
|
+
}
|
|
947
|
+
function v() {
|
|
948
|
+
var p;
|
|
949
|
+
try {
|
|
950
|
+
p = e.storage.debug;
|
|
951
|
+
} catch {
|
|
952
|
+
}
|
|
953
|
+
return !p && typeof process < "u" && "env" in process && (p = process.env.DEBUG), p;
|
|
954
|
+
}
|
|
955
|
+
e.enable(v());
|
|
956
|
+
function y() {
|
|
957
|
+
try {
|
|
958
|
+
return window.localStorage;
|
|
959
|
+
} catch {
|
|
960
|
+
}
|
|
961
|
+
}
|
|
962
|
+
})(Pe, Pe.exports);
|
|
963
|
+
var hr = Pe.exports, _e = { exports: {} };
|
|
964
|
+
(function(r, e) {
|
|
965
|
+
Object.defineProperty(e, "__esModule", {
|
|
966
|
+
value: !0
|
|
967
|
+
}), e.default = ["cueVideoById", "loadVideoById", "cueVideoByUrl", "loadVideoByUrl", "playVideo", "pauseVideo", "stopVideo", "getVideoLoadedFraction", "cuePlaylist", "loadPlaylist", "nextVideo", "previousVideo", "playVideoAt", "setShuffle", "setLoop", "getPlaylist", "getPlaylistIndex", "setOption", "mute", "unMute", "isMuted", "setVolume", "getVolume", "seekTo", "getPlayerState", "getPlaybackRate", "setPlaybackRate", "getAvailablePlaybackRates", "getPlaybackQuality", "setPlaybackQuality", "getAvailableQualityLevels", "getCurrentTime", "getDuration", "removeEventListener", "getVideoUrl", "getVideoEmbedCode", "getOptions", "getOption", "addEventListener", "destroy", "setSize", "getIframe"], r.exports = e.default;
|
|
968
|
+
})(_e, _e.exports);
|
|
969
|
+
var gr = _e.exports, Se = { exports: {} };
|
|
970
|
+
(function(r, e) {
|
|
971
|
+
Object.defineProperty(e, "__esModule", {
|
|
972
|
+
value: !0
|
|
973
|
+
}), e.default = ["ready", "stateChange", "playbackQualityChange", "playbackRateChange", "error", "apiChange", "volumeChange"], r.exports = e.default;
|
|
974
|
+
})(Se, Se.exports);
|
|
975
|
+
var mr = Se.exports, Te = { exports: {} }, we = { exports: {} };
|
|
976
|
+
(function(r, e) {
|
|
977
|
+
Object.defineProperty(e, "__esModule", {
|
|
978
|
+
value: !0
|
|
979
|
+
}), e.default = {
|
|
980
|
+
BUFFERING: 3,
|
|
981
|
+
ENDED: 0,
|
|
982
|
+
PAUSED: 2,
|
|
983
|
+
PLAYING: 1,
|
|
984
|
+
UNSTARTED: -1,
|
|
985
|
+
VIDEO_CUED: 5
|
|
986
|
+
}, r.exports = e.default;
|
|
987
|
+
})(we, we.exports);
|
|
988
|
+
var br = we.exports;
|
|
989
|
+
(function(r, e) {
|
|
990
|
+
Object.defineProperty(e, "__esModule", {
|
|
991
|
+
value: !0
|
|
992
|
+
});
|
|
993
|
+
var t = br, n = i(t);
|
|
994
|
+
function i(a) {
|
|
995
|
+
return a && a.__esModule ? a : { default: a };
|
|
996
|
+
}
|
|
997
|
+
e.default = {
|
|
998
|
+
pauseVideo: {
|
|
999
|
+
acceptableStates: [n.default.ENDED, n.default.PAUSED],
|
|
1000
|
+
stateChangeRequired: !1
|
|
1001
|
+
},
|
|
1002
|
+
playVideo: {
|
|
1003
|
+
acceptableStates: [n.default.ENDED, n.default.PLAYING],
|
|
1004
|
+
stateChangeRequired: !1
|
|
1005
|
+
},
|
|
1006
|
+
seekTo: {
|
|
1007
|
+
acceptableStates: [n.default.ENDED, n.default.PLAYING, n.default.PAUSED],
|
|
1008
|
+
stateChangeRequired: !0,
|
|
1009
|
+
// TRICKY: `seekTo` may not cause a state change if no buffering is
|
|
1010
|
+
// required.
|
|
1011
|
+
timeout: 3e3
|
|
1012
|
+
}
|
|
1013
|
+
}, r.exports = e.default;
|
|
1014
|
+
})(Te, Te.exports);
|
|
1015
|
+
var Pr = Te.exports;
|
|
1016
|
+
(function(r, e) {
|
|
1017
|
+
Object.defineProperty(e, "__esModule", {
|
|
1018
|
+
value: !0
|
|
1019
|
+
});
|
|
1020
|
+
var t = hr, n = u(t), i = gr, a = u(i), v = mr, y = u(v), p = Pr, s = u(p);
|
|
1021
|
+
function u(_) {
|
|
1022
|
+
return _ && _.__esModule ? _ : { default: _ };
|
|
1023
|
+
}
|
|
1024
|
+
var f = (0, n.default)("youtube-player"), h = {};
|
|
1025
|
+
h.proxyEvents = function(_) {
|
|
1026
|
+
var m = {}, S = function(z) {
|
|
1027
|
+
var q = "on" + z.slice(0, 1).toUpperCase() + z.slice(1);
|
|
1028
|
+
m[q] = function(F) {
|
|
1029
|
+
f('event "%s"', q, F), _.trigger(z, F);
|
|
1030
|
+
};
|
|
1031
|
+
}, R = !0, j = !1, Y = void 0;
|
|
1032
|
+
try {
|
|
1033
|
+
for (var D = y.default[Symbol.iterator](), A; !(R = (A = D.next()).done); R = !0) {
|
|
1034
|
+
var l = A.value;
|
|
1035
|
+
S(l);
|
|
1036
|
+
}
|
|
1037
|
+
} catch (U) {
|
|
1038
|
+
j = !0, Y = U;
|
|
1039
|
+
} finally {
|
|
1040
|
+
try {
|
|
1041
|
+
!R && D.return && D.return();
|
|
1042
|
+
} finally {
|
|
1043
|
+
if (j)
|
|
1044
|
+
throw Y;
|
|
1045
|
+
}
|
|
1046
|
+
}
|
|
1047
|
+
return m;
|
|
1048
|
+
}, h.promisifyPlayer = function(_) {
|
|
1049
|
+
var m = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !1, S = {}, R = function(q) {
|
|
1050
|
+
m && s.default[q] ? S[q] = function() {
|
|
1051
|
+
for (var F = arguments.length, Q = Array(F), $ = 0; $ < F; $++)
|
|
1052
|
+
Q[$] = arguments[$];
|
|
1053
|
+
return _.then(function(k) {
|
|
1054
|
+
var W = s.default[q], J = k.getPlayerState(), Z = k[q].apply(k, Q);
|
|
1055
|
+
return W.stateChangeRequired || // eslint-disable-next-line no-extra-parens
|
|
1056
|
+
Array.isArray(W.acceptableStates) && W.acceptableStates.indexOf(J) === -1 ? new Promise(function(L) {
|
|
1057
|
+
var G = function H() {
|
|
1058
|
+
var X = k.getPlayerState(), o = void 0;
|
|
1059
|
+
typeof W.timeout == "number" && (o = setTimeout(function() {
|
|
1060
|
+
k.removeEventListener("onStateChange", H), L();
|
|
1061
|
+
}, W.timeout)), Array.isArray(W.acceptableStates) && W.acceptableStates.indexOf(X) !== -1 && (k.removeEventListener("onStateChange", H), clearTimeout(o), L());
|
|
1062
|
+
};
|
|
1063
|
+
k.addEventListener("onStateChange", G);
|
|
1064
|
+
}).then(function() {
|
|
1065
|
+
return Z;
|
|
1066
|
+
}) : Z;
|
|
1067
|
+
});
|
|
1068
|
+
} : S[q] = function() {
|
|
1069
|
+
for (var F = arguments.length, Q = Array(F), $ = 0; $ < F; $++)
|
|
1070
|
+
Q[$] = arguments[$];
|
|
1071
|
+
return _.then(function(k) {
|
|
1072
|
+
return k[q].apply(k, Q);
|
|
1073
|
+
});
|
|
1074
|
+
};
|
|
1075
|
+
}, j = !0, Y = !1, D = void 0;
|
|
1076
|
+
try {
|
|
1077
|
+
for (var A = a.default[Symbol.iterator](), l; !(j = (l = A.next()).done); j = !0) {
|
|
1078
|
+
var U = l.value;
|
|
1079
|
+
R(U);
|
|
1080
|
+
}
|
|
1081
|
+
} catch (z) {
|
|
1082
|
+
Y = !0, D = z;
|
|
1083
|
+
} finally {
|
|
1084
|
+
try {
|
|
1085
|
+
!j && A.return && A.return();
|
|
1086
|
+
} finally {
|
|
1087
|
+
if (Y)
|
|
1088
|
+
throw D;
|
|
1089
|
+
}
|
|
1090
|
+
}
|
|
1091
|
+
return S;
|
|
1092
|
+
}, e.default = h, r.exports = e.default;
|
|
1093
|
+
})(be, be.exports);
|
|
1094
|
+
var Er = be.exports;
|
|
1095
|
+
(function(r, e) {
|
|
1096
|
+
Object.defineProperty(e, "__esModule", {
|
|
1097
|
+
value: !0
|
|
1098
|
+
});
|
|
1099
|
+
var t = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(f) {
|
|
1100
|
+
return typeof f;
|
|
1101
|
+
} : function(f) {
|
|
1102
|
+
return f && typeof Symbol == "function" && f.constructor === Symbol && f !== Symbol.prototype ? "symbol" : typeof f;
|
|
1103
|
+
}, n = or, i = s(n), a = lr, v = s(a), y = Er, p = s(y);
|
|
1104
|
+
function s(f) {
|
|
1105
|
+
return f && f.__esModule ? f : { default: f };
|
|
1106
|
+
}
|
|
1107
|
+
var u = void 0;
|
|
1108
|
+
e.default = function(f) {
|
|
1109
|
+
var h = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, _ = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : !1, m = (0, i.default)();
|
|
1110
|
+
if (u || (u = (0, v.default)(m)), h.events)
|
|
1111
|
+
throw new Error("Event handlers cannot be overwritten.");
|
|
1112
|
+
if (typeof f == "string" && !document.getElementById(f))
|
|
1113
|
+
throw new Error('Element "' + f + '" does not exist.');
|
|
1114
|
+
h.events = p.default.proxyEvents(m);
|
|
1115
|
+
var S = new Promise(function(j) {
|
|
1116
|
+
if ((typeof f > "u" ? "undefined" : t(f)) === "object" && f.playVideo instanceof Function) {
|
|
1117
|
+
var Y = f;
|
|
1118
|
+
j(Y);
|
|
1119
|
+
} else
|
|
1120
|
+
u.then(function(D) {
|
|
1121
|
+
var A = new D.Player(f, h);
|
|
1122
|
+
return m.on("ready", function() {
|
|
1123
|
+
j(A);
|
|
1124
|
+
}), null;
|
|
1125
|
+
});
|
|
1126
|
+
}), R = p.default.promisifyPlayer(S, _);
|
|
1127
|
+
return R.on = m.on, R.off = m.off, R;
|
|
1128
|
+
}, r.exports = e.default;
|
|
1129
|
+
})(ge, ge.exports);
|
|
1130
|
+
var _r = ge.exports;
|
|
1131
|
+
const Sr = /* @__PURE__ */ Re(_r);
|
|
1132
|
+
var Tr = Object.defineProperty, wr = Object.defineProperties, Cr = Object.getOwnPropertyDescriptors, Le = Object.getOwnPropertySymbols, Or = Object.prototype.hasOwnProperty, Rr = Object.prototype.propertyIsEnumerable, Ue = (r, e, t) => e in r ? Tr(r, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : r[e] = t, Ce = (r, e) => {
|
|
1133
|
+
for (var t in e || (e = {}))
|
|
1134
|
+
Or.call(e, t) && Ue(r, t, e[t]);
|
|
1135
|
+
if (Le)
|
|
1136
|
+
for (var t of Le(e))
|
|
1137
|
+
Rr.call(e, t) && Ue(r, t, e[t]);
|
|
1138
|
+
return r;
|
|
1139
|
+
}, Oe = (r, e) => wr(r, Cr(e)), Ar = (r, e, t) => new Promise((n, i) => {
|
|
1140
|
+
var a = (p) => {
|
|
1141
|
+
try {
|
|
1142
|
+
y(t.next(p));
|
|
1143
|
+
} catch (s) {
|
|
1144
|
+
i(s);
|
|
1145
|
+
}
|
|
1146
|
+
}, v = (p) => {
|
|
1147
|
+
try {
|
|
1148
|
+
y(t.throw(p));
|
|
1149
|
+
} catch (s) {
|
|
1150
|
+
i(s);
|
|
1151
|
+
}
|
|
1152
|
+
}, y = (p) => p.done ? n(p.value) : Promise.resolve(p.value).then(a, v);
|
|
1153
|
+
y((t = t.apply(r, e)).next());
|
|
1154
|
+
});
|
|
1155
|
+
function Ir(r, e) {
|
|
1156
|
+
var t, n;
|
|
1157
|
+
if (r.videoId !== e.videoId)
|
|
1158
|
+
return !0;
|
|
1159
|
+
const i = ((t = r.opts) == null ? void 0 : t.playerVars) || {}, a = ((n = e.opts) == null ? void 0 : n.playerVars) || {};
|
|
1160
|
+
return i.start !== a.start || i.end !== a.end;
|
|
1161
|
+
}
|
|
1162
|
+
function Fe(r = {}) {
|
|
1163
|
+
return Oe(Ce({}, r), {
|
|
1164
|
+
height: 0,
|
|
1165
|
+
width: 0,
|
|
1166
|
+
playerVars: Oe(Ce({}, r.playerVars), {
|
|
1167
|
+
autoplay: 0,
|
|
1168
|
+
start: 0,
|
|
1169
|
+
end: 0
|
|
1170
|
+
})
|
|
1171
|
+
});
|
|
1172
|
+
}
|
|
1173
|
+
function xr(r, e) {
|
|
1174
|
+
return r.videoId !== e.videoId || !ar(Fe(r.opts), Fe(e.opts));
|
|
1175
|
+
}
|
|
1176
|
+
function Mr(r, e) {
|
|
1177
|
+
var t, n, i, a;
|
|
1178
|
+
return r.id !== e.id || r.className !== e.className || ((t = r.opts) == null ? void 0 : t.width) !== ((n = e.opts) == null ? void 0 : n.width) || ((i = r.opts) == null ? void 0 : i.height) !== ((a = e.opts) == null ? void 0 : a.height) || r.iframeClassName !== e.iframeClassName || r.title !== e.title;
|
|
1179
|
+
}
|
|
1180
|
+
var Dr = {
|
|
1181
|
+
videoId: "",
|
|
1182
|
+
id: "",
|
|
1183
|
+
className: "",
|
|
1184
|
+
iframeClassName: "",
|
|
1185
|
+
style: {},
|
|
1186
|
+
title: "",
|
|
1187
|
+
loading: void 0,
|
|
1188
|
+
opts: {},
|
|
1189
|
+
onReady: () => {
|
|
1190
|
+
},
|
|
1191
|
+
onError: () => {
|
|
1192
|
+
},
|
|
1193
|
+
onPlay: () => {
|
|
1194
|
+
},
|
|
1195
|
+
onPause: () => {
|
|
1196
|
+
},
|
|
1197
|
+
onEnd: () => {
|
|
1198
|
+
},
|
|
1199
|
+
onStateChange: () => {
|
|
1200
|
+
},
|
|
1201
|
+
onPlaybackRateChange: () => {
|
|
1202
|
+
},
|
|
1203
|
+
onPlaybackQualityChange: () => {
|
|
1204
|
+
}
|
|
1205
|
+
}, jr = {
|
|
1206
|
+
videoId: N.string,
|
|
1207
|
+
id: N.string,
|
|
1208
|
+
className: N.string,
|
|
1209
|
+
iframeClassName: N.string,
|
|
1210
|
+
style: N.object,
|
|
1211
|
+
title: N.string,
|
|
1212
|
+
loading: N.oneOf(["lazy", "eager"]),
|
|
1213
|
+
opts: N.objectOf(N.any),
|
|
1214
|
+
onReady: N.func,
|
|
1215
|
+
onError: N.func,
|
|
1216
|
+
onPlay: N.func,
|
|
1217
|
+
onPause: N.func,
|
|
1218
|
+
onEnd: N.func,
|
|
1219
|
+
onStateChange: N.func,
|
|
1220
|
+
onPlaybackRateChange: N.func,
|
|
1221
|
+
onPlaybackQualityChange: N.func
|
|
1222
|
+
}, ie = class extends le.Component {
|
|
1223
|
+
constructor(r) {
|
|
1224
|
+
super(r), this.destroyPlayerPromise = void 0, this.onPlayerReady = (e) => {
|
|
1225
|
+
var t, n;
|
|
1226
|
+
return (n = (t = this.props).onReady) == null ? void 0 : n.call(t, e);
|
|
1227
|
+
}, this.onPlayerError = (e) => {
|
|
1228
|
+
var t, n;
|
|
1229
|
+
return (n = (t = this.props).onError) == null ? void 0 : n.call(t, e);
|
|
1230
|
+
}, this.onPlayerStateChange = (e) => {
|
|
1231
|
+
var t, n, i, a, v, y, p, s;
|
|
1232
|
+
switch ((n = (t = this.props).onStateChange) == null || n.call(t, e), e.data) {
|
|
1233
|
+
case ie.PlayerState.ENDED:
|
|
1234
|
+
(a = (i = this.props).onEnd) == null || a.call(i, e);
|
|
1235
|
+
break;
|
|
1236
|
+
case ie.PlayerState.PLAYING:
|
|
1237
|
+
(y = (v = this.props).onPlay) == null || y.call(v, e);
|
|
1238
|
+
break;
|
|
1239
|
+
case ie.PlayerState.PAUSED:
|
|
1240
|
+
(s = (p = this.props).onPause) == null || s.call(p, e);
|
|
1241
|
+
break;
|
|
1242
|
+
}
|
|
1243
|
+
}, this.onPlayerPlaybackRateChange = (e) => {
|
|
1244
|
+
var t, n;
|
|
1245
|
+
return (n = (t = this.props).onPlaybackRateChange) == null ? void 0 : n.call(t, e);
|
|
1246
|
+
}, this.onPlayerPlaybackQualityChange = (e) => {
|
|
1247
|
+
var t, n;
|
|
1248
|
+
return (n = (t = this.props).onPlaybackQualityChange) == null ? void 0 : n.call(t, e);
|
|
1249
|
+
}, this.destroyPlayer = () => this.internalPlayer ? (this.destroyPlayerPromise = this.internalPlayer.destroy().then(() => this.destroyPlayerPromise = void 0), this.destroyPlayerPromise) : Promise.resolve(), this.createPlayer = () => {
|
|
1250
|
+
if (typeof document > "u")
|
|
1251
|
+
return;
|
|
1252
|
+
if (this.destroyPlayerPromise) {
|
|
1253
|
+
this.destroyPlayerPromise.then(this.createPlayer);
|
|
1254
|
+
return;
|
|
1255
|
+
}
|
|
1256
|
+
const e = Oe(Ce({}, this.props.opts), {
|
|
1257
|
+
videoId: this.props.videoId
|
|
1258
|
+
});
|
|
1259
|
+
this.internalPlayer = Sr(this.container, e), this.internalPlayer.on("ready", this.onPlayerReady), this.internalPlayer.on("error", this.onPlayerError), this.internalPlayer.on("stateChange", this.onPlayerStateChange), this.internalPlayer.on("playbackRateChange", this.onPlayerPlaybackRateChange), this.internalPlayer.on("playbackQualityChange", this.onPlayerPlaybackQualityChange), (this.props.title || this.props.loading) && this.internalPlayer.getIframe().then((t) => {
|
|
1260
|
+
this.props.title && t.setAttribute("title", this.props.title), this.props.loading && t.setAttribute("loading", this.props.loading);
|
|
1261
|
+
});
|
|
1262
|
+
}, this.resetPlayer = () => this.destroyPlayer().then(this.createPlayer), this.updatePlayer = () => {
|
|
1263
|
+
var e;
|
|
1264
|
+
(e = this.internalPlayer) == null || e.getIframe().then((t) => {
|
|
1265
|
+
this.props.id ? t.setAttribute("id", this.props.id) : t.removeAttribute("id"), this.props.iframeClassName ? t.setAttribute("class", this.props.iframeClassName) : t.removeAttribute("class"), this.props.opts && this.props.opts.width ? t.setAttribute("width", this.props.opts.width.toString()) : t.removeAttribute("width"), this.props.opts && this.props.opts.height ? t.setAttribute("height", this.props.opts.height.toString()) : t.removeAttribute("height"), this.props.title ? t.setAttribute("title", this.props.title) : t.setAttribute("title", "YouTube video player"), this.props.loading ? t.setAttribute("loading", this.props.loading) : t.removeAttribute("loading");
|
|
1266
|
+
});
|
|
1267
|
+
}, this.getInternalPlayer = () => this.internalPlayer, this.updateVideo = () => {
|
|
1268
|
+
var e, t, n, i;
|
|
1269
|
+
if (typeof this.props.videoId > "u" || this.props.videoId === null) {
|
|
1270
|
+
(e = this.internalPlayer) == null || e.stopVideo();
|
|
1271
|
+
return;
|
|
1272
|
+
}
|
|
1273
|
+
let a = !1;
|
|
1274
|
+
const v = {
|
|
1275
|
+
videoId: this.props.videoId
|
|
1276
|
+
};
|
|
1277
|
+
if ((t = this.props.opts) != null && t.playerVars && (a = this.props.opts.playerVars.autoplay === 1, "start" in this.props.opts.playerVars && (v.startSeconds = this.props.opts.playerVars.start), "end" in this.props.opts.playerVars && (v.endSeconds = this.props.opts.playerVars.end)), a) {
|
|
1278
|
+
(n = this.internalPlayer) == null || n.loadVideoById(v);
|
|
1279
|
+
return;
|
|
1280
|
+
}
|
|
1281
|
+
(i = this.internalPlayer) == null || i.cueVideoById(v);
|
|
1282
|
+
}, this.refContainer = (e) => {
|
|
1283
|
+
this.container = e;
|
|
1284
|
+
}, this.container = null, this.internalPlayer = null;
|
|
1285
|
+
}
|
|
1286
|
+
componentDidMount() {
|
|
1287
|
+
this.createPlayer();
|
|
1288
|
+
}
|
|
1289
|
+
componentDidUpdate(r) {
|
|
1290
|
+
return Ar(this, null, function* () {
|
|
1291
|
+
Mr(r, this.props) && this.updatePlayer(), xr(r, this.props) && (yield this.resetPlayer()), Ir(r, this.props) && this.updateVideo();
|
|
1292
|
+
});
|
|
1293
|
+
}
|
|
1294
|
+
componentWillUnmount() {
|
|
1295
|
+
this.destroyPlayer();
|
|
1296
|
+
}
|
|
1297
|
+
render() {
|
|
1298
|
+
return /* @__PURE__ */ le.createElement("div", {
|
|
1299
|
+
className: this.props.className,
|
|
1300
|
+
style: this.props.style
|
|
1301
|
+
}, /* @__PURE__ */ le.createElement("div", {
|
|
1302
|
+
id: this.props.id,
|
|
1303
|
+
className: this.props.iframeClassName,
|
|
1304
|
+
ref: this.refContainer
|
|
1305
|
+
}));
|
|
1306
|
+
}
|
|
1307
|
+
}, se = ie;
|
|
1308
|
+
se.propTypes = jr;
|
|
1309
|
+
se.defaultProps = Dr;
|
|
1310
|
+
se.PlayerState = {
|
|
1311
|
+
UNSTARTED: -1,
|
|
1312
|
+
ENDED: 0,
|
|
1313
|
+
PLAYING: 1,
|
|
1314
|
+
PAUSED: 2,
|
|
1315
|
+
BUFFERING: 3,
|
|
1316
|
+
CUED: 5
|
|
1317
|
+
};
|
|
1318
|
+
var Yr = se;
|
|
1319
|
+
const Vr = ({ linkVideo: r, className: e }) => {
|
|
1320
|
+
const t = r == null ? void 0 : r.split("=")[1], n = (a) => {
|
|
1321
|
+
a.target.pauseVideo();
|
|
1322
|
+
}, i = {
|
|
1323
|
+
height: "100%",
|
|
1324
|
+
width: "100%"
|
|
1325
|
+
};
|
|
1326
|
+
return /* @__PURE__ */ ue("div", { className: Qe("relative w-full overflow-hidden bg-black ", e), children: /* @__PURE__ */ ue("div", { className: "absolute top-0 left-0 w-full h-full", children: /* @__PURE__ */ ue(
|
|
1327
|
+
Yr,
|
|
1328
|
+
{
|
|
1329
|
+
className: "w-full h-full",
|
|
1330
|
+
videoId: t,
|
|
1331
|
+
opts: i,
|
|
1332
|
+
loading: "lazy",
|
|
1333
|
+
onReady: n
|
|
1334
|
+
}
|
|
1335
|
+
) }) });
|
|
1336
|
+
};
|
|
1337
|
+
export {
|
|
1338
|
+
Vr as VideoPlayer
|
|
1339
|
+
};
|