@devix-technologies/react-gjirafa-vp-player 1.0.31-beta.19 → 1.0.31-beta.21
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/README.md +110 -55
- package/dist/index.d.ts +24 -6
- package/dist/react-gjirafa-vp-player.es.js +755 -754
- package/dist/react-gjirafa-vp-player.umd.js +8 -8
- package/package.json +1 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import * as
|
|
2
|
-
import $r, { forwardRef as br, useContext as jr, useState as
|
|
3
|
-
var
|
|
1
|
+
import * as le from "react";
|
|
2
|
+
import $r, { forwardRef as br, useContext as jr, useState as Fe, useEffect as $e, useRef as pe, useId as Mr, useMemo as Ue, useImperativeHandle as Ir } from "react";
|
|
3
|
+
var Te = { exports: {} }, we = {};
|
|
4
4
|
/**
|
|
5
5
|
* @license React
|
|
6
6
|
* react-jsx-runtime.production.js
|
|
@@ -12,15 +12,15 @@ var Oe = { exports: {} }, ke = {};
|
|
|
12
12
|
*/
|
|
13
13
|
var ir;
|
|
14
14
|
function Fr() {
|
|
15
|
-
if (ir) return
|
|
15
|
+
if (ir) return we;
|
|
16
16
|
ir = 1;
|
|
17
17
|
var e = Symbol.for("react.transitional.element"), r = Symbol.for("react.fragment");
|
|
18
18
|
function t(n, a, s) {
|
|
19
19
|
var u = null;
|
|
20
20
|
if (s !== void 0 && (u = "" + s), a.key !== void 0 && (u = "" + a.key), "key" in a) {
|
|
21
21
|
s = {};
|
|
22
|
-
for (var
|
|
23
|
-
|
|
22
|
+
for (var p in a)
|
|
23
|
+
p !== "key" && (s[p] = a[p]);
|
|
24
24
|
} else s = a;
|
|
25
25
|
return a = s.ref, {
|
|
26
26
|
$$typeof: e,
|
|
@@ -30,9 +30,9 @@ function Fr() {
|
|
|
30
30
|
props: s
|
|
31
31
|
};
|
|
32
32
|
}
|
|
33
|
-
return
|
|
33
|
+
return we.Fragment = r, we.jsx = t, we.jsxs = t, we;
|
|
34
34
|
}
|
|
35
|
-
var
|
|
35
|
+
var ke = {};
|
|
36
36
|
/**
|
|
37
37
|
* @license React
|
|
38
38
|
* react-jsx-runtime.development.js
|
|
@@ -45,249 +45,249 @@ var Pe = {};
|
|
|
45
45
|
var or;
|
|
46
46
|
function Vr() {
|
|
47
47
|
return or || (or = 1, process.env.NODE_ENV !== "production" && (function() {
|
|
48
|
-
function e(
|
|
49
|
-
if (
|
|
50
|
-
if (typeof
|
|
51
|
-
return
|
|
52
|
-
if (typeof
|
|
53
|
-
switch (
|
|
54
|
-
case
|
|
48
|
+
function e(o) {
|
|
49
|
+
if (o == null) return null;
|
|
50
|
+
if (typeof o == "function")
|
|
51
|
+
return o.$$typeof === Q ? null : o.displayName || o.name || null;
|
|
52
|
+
if (typeof o == "string") return o;
|
|
53
|
+
switch (o) {
|
|
54
|
+
case P:
|
|
55
55
|
return "Fragment";
|
|
56
|
-
case
|
|
56
|
+
case C:
|
|
57
57
|
return "Profiler";
|
|
58
|
-
case
|
|
58
|
+
case S:
|
|
59
59
|
return "StrictMode";
|
|
60
|
-
case
|
|
60
|
+
case F:
|
|
61
61
|
return "Suspense";
|
|
62
|
-
case
|
|
62
|
+
case E:
|
|
63
63
|
return "SuspenseList";
|
|
64
|
-
case
|
|
64
|
+
case q:
|
|
65
65
|
return "Activity";
|
|
66
66
|
}
|
|
67
|
-
if (typeof
|
|
68
|
-
switch (typeof
|
|
67
|
+
if (typeof o == "object")
|
|
68
|
+
switch (typeof o.tag == "number" && console.error(
|
|
69
69
|
"Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."
|
|
70
|
-
),
|
|
71
|
-
case
|
|
70
|
+
), o.$$typeof) {
|
|
71
|
+
case x:
|
|
72
72
|
return "Portal";
|
|
73
|
-
case
|
|
74
|
-
return
|
|
75
|
-
case
|
|
76
|
-
return (
|
|
73
|
+
case N:
|
|
74
|
+
return o.displayName || "Context";
|
|
75
|
+
case V:
|
|
76
|
+
return (o._context.displayName || "Context") + ".Consumer";
|
|
77
77
|
case z:
|
|
78
|
-
var
|
|
79
|
-
return
|
|
80
|
-
case
|
|
81
|
-
return
|
|
82
|
-
case
|
|
83
|
-
|
|
78
|
+
var g = o.render;
|
|
79
|
+
return o = o.displayName, o || (o = g.displayName || g.name || "", o = o !== "" ? "ForwardRef(" + o + ")" : "ForwardRef"), o;
|
|
80
|
+
case te:
|
|
81
|
+
return g = o.displayName || null, g !== null ? g : e(o.type) || "Memo";
|
|
82
|
+
case ce:
|
|
83
|
+
g = o._payload, o = o._init;
|
|
84
84
|
try {
|
|
85
|
-
return e(
|
|
85
|
+
return e(o(g));
|
|
86
86
|
} catch {
|
|
87
87
|
}
|
|
88
88
|
}
|
|
89
89
|
return null;
|
|
90
90
|
}
|
|
91
|
-
function r(
|
|
92
|
-
return "" +
|
|
91
|
+
function r(o) {
|
|
92
|
+
return "" + o;
|
|
93
93
|
}
|
|
94
|
-
function t(
|
|
94
|
+
function t(o) {
|
|
95
95
|
try {
|
|
96
|
-
r(
|
|
97
|
-
var
|
|
96
|
+
r(o);
|
|
97
|
+
var g = !1;
|
|
98
98
|
} catch {
|
|
99
|
-
|
|
99
|
+
g = !0;
|
|
100
100
|
}
|
|
101
|
-
if (
|
|
102
|
-
|
|
103
|
-
var
|
|
104
|
-
return
|
|
105
|
-
|
|
101
|
+
if (g) {
|
|
102
|
+
g = console;
|
|
103
|
+
var O = g.error, M = typeof Symbol == "function" && Symbol.toStringTag && o[Symbol.toStringTag] || o.constructor.name || "Object";
|
|
104
|
+
return O.call(
|
|
105
|
+
g,
|
|
106
106
|
"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",
|
|
107
|
-
|
|
108
|
-
), r(
|
|
107
|
+
M
|
|
108
|
+
), r(o);
|
|
109
109
|
}
|
|
110
110
|
}
|
|
111
|
-
function n(
|
|
112
|
-
if (
|
|
113
|
-
if (typeof
|
|
111
|
+
function n(o) {
|
|
112
|
+
if (o === P) return "<>";
|
|
113
|
+
if (typeof o == "object" && o !== null && o.$$typeof === ce)
|
|
114
114
|
return "<...>";
|
|
115
115
|
try {
|
|
116
|
-
var
|
|
117
|
-
return
|
|
116
|
+
var g = e(o);
|
|
117
|
+
return g ? "<" + g + ">" : "<...>";
|
|
118
118
|
} catch {
|
|
119
119
|
return "<...>";
|
|
120
120
|
}
|
|
121
121
|
}
|
|
122
122
|
function a() {
|
|
123
|
-
var
|
|
124
|
-
return
|
|
123
|
+
var o = J.A;
|
|
124
|
+
return o === null ? null : o.getOwner();
|
|
125
125
|
}
|
|
126
126
|
function s() {
|
|
127
127
|
return Error("react-stack-top-frame");
|
|
128
128
|
}
|
|
129
|
-
function u(
|
|
130
|
-
if (
|
|
131
|
-
var
|
|
132
|
-
if (
|
|
129
|
+
function u(o) {
|
|
130
|
+
if (fe.call(o, "key")) {
|
|
131
|
+
var g = Object.getOwnPropertyDescriptor(o, "key").get;
|
|
132
|
+
if (g && g.isReactWarning) return !1;
|
|
133
133
|
}
|
|
134
|
-
return
|
|
134
|
+
return o.key !== void 0;
|
|
135
135
|
}
|
|
136
|
-
function
|
|
137
|
-
function
|
|
138
|
-
|
|
136
|
+
function p(o, g) {
|
|
137
|
+
function O() {
|
|
138
|
+
ne || (ne = !0, console.error(
|
|
139
139
|
"%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)",
|
|
140
|
-
|
|
140
|
+
g
|
|
141
141
|
));
|
|
142
142
|
}
|
|
143
|
-
|
|
144
|
-
get:
|
|
143
|
+
O.isReactWarning = !0, Object.defineProperty(o, "key", {
|
|
144
|
+
get: O,
|
|
145
145
|
configurable: !0
|
|
146
146
|
});
|
|
147
147
|
}
|
|
148
|
-
function
|
|
149
|
-
var
|
|
150
|
-
return
|
|
148
|
+
function w() {
|
|
149
|
+
var o = e(this.type);
|
|
150
|
+
return Z[o] || (Z[o] = !0, console.error(
|
|
151
151
|
"Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release."
|
|
152
|
-
)),
|
|
152
|
+
)), o = this.props.ref, o !== void 0 ? o : null;
|
|
153
153
|
}
|
|
154
|
-
function
|
|
155
|
-
var
|
|
156
|
-
return
|
|
157
|
-
$$typeof:
|
|
158
|
-
type:
|
|
159
|
-
key:
|
|
160
|
-
props:
|
|
161
|
-
_owner:
|
|
162
|
-
}, (
|
|
154
|
+
function v(o, g, O, M, i, l) {
|
|
155
|
+
var k = O.ref;
|
|
156
|
+
return o = {
|
|
157
|
+
$$typeof: j,
|
|
158
|
+
type: o,
|
|
159
|
+
key: g,
|
|
160
|
+
props: O,
|
|
161
|
+
_owner: M
|
|
162
|
+
}, (k !== void 0 ? k : null) !== null ? Object.defineProperty(o, "ref", {
|
|
163
163
|
enumerable: !1,
|
|
164
|
-
get:
|
|
165
|
-
}) : Object.defineProperty(
|
|
164
|
+
get: w
|
|
165
|
+
}) : Object.defineProperty(o, "ref", { enumerable: !1, value: null }), o._store = {}, Object.defineProperty(o._store, "validated", {
|
|
166
166
|
configurable: !1,
|
|
167
167
|
enumerable: !1,
|
|
168
168
|
writable: !0,
|
|
169
169
|
value: 0
|
|
170
|
-
}), Object.defineProperty(
|
|
170
|
+
}), Object.defineProperty(o, "_debugInfo", {
|
|
171
171
|
configurable: !1,
|
|
172
172
|
enumerable: !1,
|
|
173
173
|
writable: !0,
|
|
174
174
|
value: null
|
|
175
|
-
}), Object.defineProperty(
|
|
175
|
+
}), Object.defineProperty(o, "_debugStack", {
|
|
176
176
|
configurable: !1,
|
|
177
177
|
enumerable: !1,
|
|
178
178
|
writable: !0,
|
|
179
|
-
value:
|
|
180
|
-
}), Object.defineProperty(
|
|
179
|
+
value: i
|
|
180
|
+
}), Object.defineProperty(o, "_debugTask", {
|
|
181
181
|
configurable: !1,
|
|
182
182
|
enumerable: !1,
|
|
183
183
|
writable: !0,
|
|
184
|
-
value:
|
|
185
|
-
}), Object.freeze && (Object.freeze(
|
|
184
|
+
value: l
|
|
185
|
+
}), Object.freeze && (Object.freeze(o.props), Object.freeze(o)), o;
|
|
186
186
|
}
|
|
187
|
-
function h(
|
|
188
|
-
var
|
|
189
|
-
if (
|
|
190
|
-
if (
|
|
191
|
-
if (
|
|
192
|
-
for (
|
|
193
|
-
|
|
194
|
-
Object.freeze && Object.freeze(
|
|
187
|
+
function h(o, g, O, M, i, l) {
|
|
188
|
+
var k = g.children;
|
|
189
|
+
if (k !== void 0)
|
|
190
|
+
if (M)
|
|
191
|
+
if (G(k)) {
|
|
192
|
+
for (M = 0; M < k.length; M++)
|
|
193
|
+
b(k[M]);
|
|
194
|
+
Object.freeze && Object.freeze(k);
|
|
195
195
|
} else
|
|
196
196
|
console.error(
|
|
197
197
|
"React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead."
|
|
198
198
|
);
|
|
199
|
-
else
|
|
200
|
-
if (
|
|
201
|
-
|
|
202
|
-
var
|
|
203
|
-
return
|
|
199
|
+
else b(k);
|
|
200
|
+
if (fe.call(g, "key")) {
|
|
201
|
+
k = e(o);
|
|
202
|
+
var H = Object.keys(g).filter(function(R) {
|
|
203
|
+
return R !== "key";
|
|
204
204
|
});
|
|
205
|
-
|
|
205
|
+
M = 0 < H.length ? "{key: someKey, " + H.join(": ..., ") + ": ...}" : "{key: someKey}", ee[k + M] || (H = 0 < H.length ? "{" + H.join(": ..., ") + ": ...}" : "{}", console.error(
|
|
206
206
|
`A props object containing a "key" prop is being spread into JSX:
|
|
207
207
|
let props = %s;
|
|
208
208
|
<%s {...props} />
|
|
209
209
|
React keys must be passed directly to JSX without using spread:
|
|
210
210
|
let props = %s;
|
|
211
211
|
<%s key={someKey} {...props} />`,
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
),
|
|
212
|
+
M,
|
|
213
|
+
k,
|
|
214
|
+
H,
|
|
215
|
+
k
|
|
216
|
+
), ee[k + M] = !0);
|
|
217
217
|
}
|
|
218
|
-
if (
|
|
219
|
-
|
|
220
|
-
for (var
|
|
221
|
-
|
|
222
|
-
} else
|
|
223
|
-
return
|
|
224
|
-
|
|
225
|
-
typeof
|
|
226
|
-
),
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
218
|
+
if (k = null, O !== void 0 && (t(O), k = "" + O), u(g) && (t(g.key), k = "" + g.key), "key" in g) {
|
|
219
|
+
O = {};
|
|
220
|
+
for (var me in g)
|
|
221
|
+
me !== "key" && (O[me] = g[me]);
|
|
222
|
+
} else O = g;
|
|
223
|
+
return k && p(
|
|
224
|
+
O,
|
|
225
|
+
typeof o == "function" ? o.displayName || o.name || "Unknown" : o
|
|
226
|
+
), v(
|
|
227
|
+
o,
|
|
228
|
+
k,
|
|
229
|
+
O,
|
|
230
230
|
a(),
|
|
231
|
-
|
|
232
|
-
|
|
231
|
+
i,
|
|
232
|
+
l
|
|
233
233
|
);
|
|
234
234
|
}
|
|
235
|
-
function
|
|
236
|
-
I(
|
|
235
|
+
function b(o) {
|
|
236
|
+
I(o) ? o._store && (o._store.validated = 1) : typeof o == "object" && o !== null && o.$$typeof === ce && (o._payload.status === "fulfilled" ? I(o._payload.value) && o._payload.value._store && (o._payload.value._store.validated = 1) : o._store && (o._store.validated = 1));
|
|
237
237
|
}
|
|
238
|
-
function I(
|
|
239
|
-
return typeof
|
|
238
|
+
function I(o) {
|
|
239
|
+
return typeof o == "object" && o !== null && o.$$typeof === j;
|
|
240
240
|
}
|
|
241
|
-
var
|
|
241
|
+
var $ = $r, j = Symbol.for("react.transitional.element"), x = Symbol.for("react.portal"), P = Symbol.for("react.fragment"), S = Symbol.for("react.strict_mode"), C = Symbol.for("react.profiler"), V = Symbol.for("react.consumer"), N = Symbol.for("react.context"), z = Symbol.for("react.forward_ref"), F = Symbol.for("react.suspense"), E = Symbol.for("react.suspense_list"), te = Symbol.for("react.memo"), ce = Symbol.for("react.lazy"), q = Symbol.for("react.activity"), Q = Symbol.for("react.client.reference"), J = $.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, fe = Object.prototype.hasOwnProperty, G = Array.isArray, d = console.createTask ? console.createTask : function() {
|
|
242
242
|
return null;
|
|
243
243
|
};
|
|
244
|
-
|
|
245
|
-
react_stack_bottom_frame: function(
|
|
246
|
-
return
|
|
244
|
+
$ = {
|
|
245
|
+
react_stack_bottom_frame: function(o) {
|
|
246
|
+
return o();
|
|
247
247
|
}
|
|
248
248
|
};
|
|
249
|
-
var
|
|
250
|
-
|
|
249
|
+
var ne, Z = {}, ue = $.react_stack_bottom_frame.bind(
|
|
250
|
+
$,
|
|
251
251
|
s
|
|
252
|
-
)(),
|
|
253
|
-
|
|
254
|
-
var
|
|
252
|
+
)(), ae = d(n(s)), ee = {};
|
|
253
|
+
ke.Fragment = P, ke.jsx = function(o, g, O) {
|
|
254
|
+
var M = 1e4 > J.recentlyCreatedOwnerStacks++;
|
|
255
255
|
return h(
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
256
|
+
o,
|
|
257
|
+
g,
|
|
258
|
+
O,
|
|
259
259
|
!1,
|
|
260
|
-
|
|
261
|
-
|
|
260
|
+
M ? Error("react-stack-top-frame") : ue,
|
|
261
|
+
M ? d(n(o)) : ae
|
|
262
262
|
);
|
|
263
|
-
},
|
|
264
|
-
var
|
|
263
|
+
}, ke.jsxs = function(o, g, O) {
|
|
264
|
+
var M = 1e4 > J.recentlyCreatedOwnerStacks++;
|
|
265
265
|
return h(
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
266
|
+
o,
|
|
267
|
+
g,
|
|
268
|
+
O,
|
|
269
269
|
!0,
|
|
270
|
-
|
|
271
|
-
|
|
270
|
+
M ? Error("react-stack-top-frame") : ue,
|
|
271
|
+
M ? d(n(o)) : ae
|
|
272
272
|
);
|
|
273
273
|
};
|
|
274
|
-
})()),
|
|
274
|
+
})()), ke;
|
|
275
275
|
}
|
|
276
276
|
var sr;
|
|
277
|
-
function
|
|
278
|
-
return sr || (sr = 1, process.env.NODE_ENV === "production" ?
|
|
277
|
+
function Lr() {
|
|
278
|
+
return sr || (sr = 1, process.env.NODE_ENV === "production" ? Te.exports = Fr() : Te.exports = Vr()), Te.exports;
|
|
279
279
|
}
|
|
280
|
-
var D =
|
|
281
|
-
function
|
|
282
|
-
return
|
|
280
|
+
var D = Lr();
|
|
281
|
+
function We() {
|
|
282
|
+
return We = Object.assign ? Object.assign.bind() : function(e) {
|
|
283
283
|
for (var r = 1; r < arguments.length; r++) {
|
|
284
284
|
var t = arguments[r];
|
|
285
285
|
for (var n in t) ({}).hasOwnProperty.call(t, n) && (e[n] = t[n]);
|
|
286
286
|
}
|
|
287
287
|
return e;
|
|
288
|
-
},
|
|
288
|
+
}, We.apply(null, arguments);
|
|
289
289
|
}
|
|
290
|
-
function
|
|
290
|
+
function Nr(e) {
|
|
291
291
|
if (e.sheet)
|
|
292
292
|
return e.sheet;
|
|
293
293
|
for (var r = 0; r < document.styleSheets.length; r++)
|
|
@@ -313,7 +313,7 @@ var Ur = /* @__PURE__ */ (function() {
|
|
|
313
313
|
this.ctr % (this.isSpeedy ? 65e3 : 1) === 0 && this._insertTag(zr(this));
|
|
314
314
|
var a = this.tags[this.tags.length - 1];
|
|
315
315
|
if (this.isSpeedy) {
|
|
316
|
-
var s =
|
|
316
|
+
var s = Nr(a);
|
|
317
317
|
try {
|
|
318
318
|
s.insertRule(n, s.cssRules.length);
|
|
319
319
|
} catch {
|
|
@@ -327,7 +327,7 @@ var Ur = /* @__PURE__ */ (function() {
|
|
|
327
327
|
return (a = n.parentNode) == null ? void 0 : a.removeChild(n);
|
|
328
328
|
}), this.tags = [], this.ctr = 0;
|
|
329
329
|
}, e;
|
|
330
|
-
})(),
|
|
330
|
+
})(), Y = "-ms-", Ve = "-moz-", _ = "-webkit-", xr = "comm", He = "rule", Ge = "decl", Dr = "@import", wr = "@keyframes", Wr = "@layer", Yr = Math.abs, Le = String.fromCharCode, qr = Object.assign;
|
|
331
331
|
function Hr(e, r) {
|
|
332
332
|
return W(e, 0) ^ 45 ? (((r << 2 ^ W(e, 0)) << 2 ^ W(e, 1)) << 2 ^ W(e, 2)) << 2 ^ W(e, 3) : 0;
|
|
333
333
|
}
|
|
@@ -340,53 +340,53 @@ function Gr(e, r) {
|
|
|
340
340
|
function T(e, r, t) {
|
|
341
341
|
return e.replace(r, t);
|
|
342
342
|
}
|
|
343
|
-
function
|
|
343
|
+
function Ye(e, r) {
|
|
344
344
|
return e.indexOf(r);
|
|
345
345
|
}
|
|
346
346
|
function W(e, r) {
|
|
347
347
|
return e.charCodeAt(r) | 0;
|
|
348
348
|
}
|
|
349
|
-
function
|
|
349
|
+
function Se(e, r, t) {
|
|
350
350
|
return e.slice(r, t);
|
|
351
351
|
}
|
|
352
|
-
function
|
|
352
|
+
function ie(e) {
|
|
353
353
|
return e.length;
|
|
354
354
|
}
|
|
355
|
-
function
|
|
355
|
+
function Be(e) {
|
|
356
356
|
return e.length;
|
|
357
357
|
}
|
|
358
|
-
function
|
|
358
|
+
function Ae(e, r) {
|
|
359
359
|
return r.push(e), e;
|
|
360
360
|
}
|
|
361
361
|
function Br(e, r) {
|
|
362
362
|
return e.map(r).join("");
|
|
363
363
|
}
|
|
364
|
-
var
|
|
365
|
-
function
|
|
366
|
-
return { value: e, root: r, parent: t, type: n, props: a, children: s, line:
|
|
364
|
+
var Ne = 1, ve = 1, Pr = 0, X = 0, L = 0, xe = "";
|
|
365
|
+
function ze(e, r, t, n, a, s, u) {
|
|
366
|
+
return { value: e, root: r, parent: t, type: n, props: a, children: s, line: Ne, column: ve, length: u, return: "" };
|
|
367
367
|
}
|
|
368
|
-
function
|
|
369
|
-
return qr(
|
|
368
|
+
function Pe(e, r) {
|
|
369
|
+
return qr(ze("", null, null, "", null, null, 0), e, { length: -e.length }, r);
|
|
370
370
|
}
|
|
371
371
|
function Xr() {
|
|
372
|
-
return
|
|
372
|
+
return L;
|
|
373
373
|
}
|
|
374
374
|
function Jr() {
|
|
375
|
-
return
|
|
375
|
+
return L = X > 0 ? W(xe, --X) : 0, ve--, L === 10 && (ve = 1, Ne--), L;
|
|
376
376
|
}
|
|
377
377
|
function K() {
|
|
378
|
-
return
|
|
378
|
+
return L = X < Pr ? W(xe, X++) : 0, ve++, L === 10 && (ve = 1, Ne++), L;
|
|
379
379
|
}
|
|
380
|
-
function
|
|
381
|
-
return W(
|
|
380
|
+
function se() {
|
|
381
|
+
return W(xe, X);
|
|
382
382
|
}
|
|
383
|
-
function
|
|
384
|
-
return
|
|
383
|
+
function je() {
|
|
384
|
+
return X;
|
|
385
385
|
}
|
|
386
|
-
function
|
|
387
|
-
return
|
|
386
|
+
function _e(e, r) {
|
|
387
|
+
return Se(xe, e, r);
|
|
388
388
|
}
|
|
389
|
-
function
|
|
389
|
+
function Ee(e) {
|
|
390
390
|
switch (e) {
|
|
391
391
|
// \0 \t \n \r \s whitespace token
|
|
392
392
|
case 0:
|
|
@@ -425,180 +425,180 @@ function _e(e) {
|
|
|
425
425
|
return 0;
|
|
426
426
|
}
|
|
427
427
|
function Sr(e) {
|
|
428
|
-
return
|
|
428
|
+
return Ne = ve = 1, Pr = ie(xe = e), X = 0, [];
|
|
429
429
|
}
|
|
430
430
|
function Er(e) {
|
|
431
|
-
return
|
|
431
|
+
return xe = "", e;
|
|
432
432
|
}
|
|
433
|
-
function
|
|
434
|
-
return kr(
|
|
433
|
+
function Me(e) {
|
|
434
|
+
return kr(_e(X - 1, qe(e === 91 ? e + 2 : e === 40 ? e + 1 : e)));
|
|
435
435
|
}
|
|
436
436
|
function Zr(e) {
|
|
437
|
-
for (; (
|
|
437
|
+
for (; (L = se()) && L < 33; )
|
|
438
438
|
K();
|
|
439
|
-
return
|
|
439
|
+
return Ee(e) > 2 || Ee(L) > 3 ? "" : " ";
|
|
440
440
|
}
|
|
441
441
|
function Kr(e, r) {
|
|
442
|
-
for (; --r && K() && !(
|
|
442
|
+
for (; --r && K() && !(L < 48 || L > 102 || L > 57 && L < 65 || L > 70 && L < 97); )
|
|
443
443
|
;
|
|
444
|
-
return
|
|
444
|
+
return _e(e, je() + (r < 6 && se() == 32 && K() == 32));
|
|
445
445
|
}
|
|
446
|
-
function
|
|
446
|
+
function qe(e) {
|
|
447
447
|
for (; K(); )
|
|
448
|
-
switch (
|
|
448
|
+
switch (L) {
|
|
449
449
|
// ] ) " '
|
|
450
450
|
case e:
|
|
451
|
-
return
|
|
451
|
+
return X;
|
|
452
452
|
// " '
|
|
453
453
|
case 34:
|
|
454
454
|
case 39:
|
|
455
|
-
e !== 34 && e !== 39 &&
|
|
455
|
+
e !== 34 && e !== 39 && qe(L);
|
|
456
456
|
break;
|
|
457
457
|
// (
|
|
458
458
|
case 40:
|
|
459
|
-
e === 41 &&
|
|
459
|
+
e === 41 && qe(e);
|
|
460
460
|
break;
|
|
461
461
|
// \
|
|
462
462
|
case 92:
|
|
463
463
|
K();
|
|
464
464
|
break;
|
|
465
465
|
}
|
|
466
|
-
return
|
|
466
|
+
return X;
|
|
467
467
|
}
|
|
468
468
|
function Qr(e, r) {
|
|
469
|
-
for (; K() && e +
|
|
470
|
-
if (e +
|
|
469
|
+
for (; K() && e + L !== 57; )
|
|
470
|
+
if (e + L === 84 && se() === 47)
|
|
471
471
|
break;
|
|
472
|
-
return "/*" +
|
|
472
|
+
return "/*" + _e(r, X - 1) + "*" + Le(e === 47 ? e : K());
|
|
473
473
|
}
|
|
474
474
|
function et(e) {
|
|
475
|
-
for (; !
|
|
475
|
+
for (; !Ee(se()); )
|
|
476
476
|
K();
|
|
477
|
-
return
|
|
477
|
+
return _e(e, X);
|
|
478
478
|
}
|
|
479
479
|
function rt(e) {
|
|
480
|
-
return Er(
|
|
480
|
+
return Er(Ie("", null, null, null, [""], e = Sr(e), 0, [0], e));
|
|
481
481
|
}
|
|
482
|
-
function
|
|
483
|
-
for (var
|
|
484
|
-
switch (
|
|
482
|
+
function Ie(e, r, t, n, a, s, u, p, w) {
|
|
483
|
+
for (var v = 0, h = 0, b = u, I = 0, $ = 0, j = 0, x = 1, P = 1, S = 1, C = 0, V = "", N = a, z = s, F = n, E = V; P; )
|
|
484
|
+
switch (j = C, C = K()) {
|
|
485
485
|
// (
|
|
486
486
|
case 40:
|
|
487
|
-
if (
|
|
488
|
-
|
|
487
|
+
if (j != 108 && W(E, b - 1) == 58) {
|
|
488
|
+
Ye(E += T(Me(C), "&", "&\f"), "&\f") != -1 && (S = -1);
|
|
489
489
|
break;
|
|
490
490
|
}
|
|
491
491
|
// " ' [
|
|
492
492
|
case 34:
|
|
493
493
|
case 39:
|
|
494
494
|
case 91:
|
|
495
|
-
|
|
495
|
+
E += Me(C);
|
|
496
496
|
break;
|
|
497
497
|
// \t \n \r \s
|
|
498
498
|
case 9:
|
|
499
499
|
case 10:
|
|
500
500
|
case 13:
|
|
501
501
|
case 32:
|
|
502
|
-
|
|
502
|
+
E += Zr(j);
|
|
503
503
|
break;
|
|
504
504
|
// \
|
|
505
505
|
case 92:
|
|
506
|
-
|
|
506
|
+
E += Kr(je() - 1, 7);
|
|
507
507
|
continue;
|
|
508
508
|
// /
|
|
509
509
|
case 47:
|
|
510
|
-
switch (
|
|
510
|
+
switch (se()) {
|
|
511
511
|
case 42:
|
|
512
512
|
case 47:
|
|
513
|
-
|
|
513
|
+
Ae(tt(Qr(K(), je()), r, t), w);
|
|
514
514
|
break;
|
|
515
515
|
default:
|
|
516
|
-
|
|
516
|
+
E += "/";
|
|
517
517
|
}
|
|
518
518
|
break;
|
|
519
519
|
// {
|
|
520
|
-
case 123 *
|
|
521
|
-
|
|
520
|
+
case 123 * x:
|
|
521
|
+
p[v++] = ie(E) * S;
|
|
522
522
|
// } ; \0
|
|
523
|
-
case 125 *
|
|
523
|
+
case 125 * x:
|
|
524
524
|
case 59:
|
|
525
525
|
case 0:
|
|
526
|
-
switch (
|
|
526
|
+
switch (C) {
|
|
527
527
|
// \0 }
|
|
528
528
|
case 0:
|
|
529
529
|
case 125:
|
|
530
|
-
|
|
530
|
+
P = 0;
|
|
531
531
|
// ;
|
|
532
532
|
case 59 + h:
|
|
533
|
-
|
|
533
|
+
S == -1 && (E = T(E, /\f/g, "")), $ > 0 && ie(E) - b && Ae($ > 32 ? lr(E + ";", n, t, b - 1) : lr(T(E, " ", "") + ";", n, t, b - 2), w);
|
|
534
534
|
break;
|
|
535
535
|
// @ ;
|
|
536
536
|
case 59:
|
|
537
|
-
|
|
537
|
+
E += ";";
|
|
538
538
|
// { rule/at-rule
|
|
539
539
|
default:
|
|
540
|
-
if (
|
|
540
|
+
if (Ae(F = cr(E, r, t, v, h, a, p, V, N = [], z = [], b), s), C === 123)
|
|
541
541
|
if (h === 0)
|
|
542
|
-
|
|
542
|
+
Ie(E, r, F, F, N, s, b, p, z);
|
|
543
543
|
else
|
|
544
|
-
switch (I === 99 && W(
|
|
544
|
+
switch (I === 99 && W(E, 3) === 110 ? 100 : I) {
|
|
545
545
|
// d l m s
|
|
546
546
|
case 100:
|
|
547
547
|
case 108:
|
|
548
548
|
case 109:
|
|
549
549
|
case 115:
|
|
550
|
-
|
|
550
|
+
Ie(e, F, F, n && Ae(cr(e, F, F, 0, 0, a, p, V, a, N = [], b), z), a, z, b, p, n ? N : z);
|
|
551
551
|
break;
|
|
552
552
|
default:
|
|
553
|
-
|
|
553
|
+
Ie(E, F, F, F, [""], z, 0, p, z);
|
|
554
554
|
}
|
|
555
555
|
}
|
|
556
|
-
|
|
556
|
+
v = h = $ = 0, x = S = 1, V = E = "", b = u;
|
|
557
557
|
break;
|
|
558
558
|
// :
|
|
559
559
|
case 58:
|
|
560
|
-
|
|
560
|
+
b = 1 + ie(E), $ = j;
|
|
561
561
|
default:
|
|
562
|
-
if (
|
|
563
|
-
if (
|
|
564
|
-
--
|
|
565
|
-
else if (
|
|
562
|
+
if (x < 1) {
|
|
563
|
+
if (C == 123)
|
|
564
|
+
--x;
|
|
565
|
+
else if (C == 125 && x++ == 0 && Jr() == 125)
|
|
566
566
|
continue;
|
|
567
567
|
}
|
|
568
|
-
switch (
|
|
568
|
+
switch (E += Le(C), C * x) {
|
|
569
569
|
// &
|
|
570
570
|
case 38:
|
|
571
|
-
|
|
571
|
+
S = h > 0 ? 1 : (E += "\f", -1);
|
|
572
572
|
break;
|
|
573
573
|
// ,
|
|
574
574
|
case 44:
|
|
575
|
-
|
|
575
|
+
p[v++] = (ie(E) - 1) * S, S = 1;
|
|
576
576
|
break;
|
|
577
577
|
// @
|
|
578
578
|
case 64:
|
|
579
|
-
|
|
579
|
+
se() === 45 && (E += Me(K())), I = se(), h = b = ie(V = E += et(je())), C++;
|
|
580
580
|
break;
|
|
581
581
|
// -
|
|
582
582
|
case 45:
|
|
583
|
-
|
|
583
|
+
j === 45 && ie(E) == 2 && (x = 0);
|
|
584
584
|
}
|
|
585
585
|
}
|
|
586
586
|
return s;
|
|
587
587
|
}
|
|
588
|
-
function cr(e, r, t, n, a, s, u,
|
|
589
|
-
for (var
|
|
590
|
-
for (var
|
|
591
|
-
(
|
|
592
|
-
return
|
|
588
|
+
function cr(e, r, t, n, a, s, u, p, w, v, h) {
|
|
589
|
+
for (var b = a - 1, I = a === 0 ? s : [""], $ = Be(I), j = 0, x = 0, P = 0; j < n; ++j)
|
|
590
|
+
for (var S = 0, C = Se(e, b + 1, b = Yr(x = u[j])), V = e; S < $; ++S)
|
|
591
|
+
(V = kr(x > 0 ? I[S] + " " + C : T(C, /&\f/g, I[S]))) && (w[P++] = V);
|
|
592
|
+
return ze(e, r, t, a === 0 ? He : p, w, v, h);
|
|
593
593
|
}
|
|
594
594
|
function tt(e, r, t) {
|
|
595
|
-
return
|
|
595
|
+
return ze(e, r, t, xr, Le(Xr()), Se(e, 2, -2), 0);
|
|
596
596
|
}
|
|
597
597
|
function lr(e, r, t, n) {
|
|
598
|
-
return
|
|
598
|
+
return ze(e, r, t, Ge, Se(e, 0, n), Se(e, n + 1, -1), n);
|
|
599
599
|
}
|
|
600
|
-
function
|
|
601
|
-
for (var t = "", n =
|
|
600
|
+
function ye(e, r) {
|
|
601
|
+
for (var t = "", n = Be(e), a = 0; a < n; a++)
|
|
602
602
|
t += r(e[a], a, e, r) || "";
|
|
603
603
|
return t;
|
|
604
604
|
}
|
|
@@ -607,22 +607,22 @@ function nt(e, r, t, n) {
|
|
|
607
607
|
case Wr:
|
|
608
608
|
if (e.children.length) break;
|
|
609
609
|
case Dr:
|
|
610
|
-
case
|
|
610
|
+
case Ge:
|
|
611
611
|
return e.return = e.return || e.value;
|
|
612
612
|
case xr:
|
|
613
613
|
return "";
|
|
614
614
|
case wr:
|
|
615
|
-
return e.return = e.value + "{" +
|
|
616
|
-
case
|
|
615
|
+
return e.return = e.value + "{" + ye(e.children, n) + "}";
|
|
616
|
+
case He:
|
|
617
617
|
e.value = e.props.join(",");
|
|
618
618
|
}
|
|
619
|
-
return
|
|
619
|
+
return ie(t = ye(e.children, n)) ? e.return = e.value + "{" + t + "}" : "";
|
|
620
620
|
}
|
|
621
621
|
function at(e) {
|
|
622
|
-
var r =
|
|
622
|
+
var r = Be(e);
|
|
623
623
|
return function(t, n, a, s) {
|
|
624
|
-
for (var u = "",
|
|
625
|
-
u += e[
|
|
624
|
+
for (var u = "", p = 0; p < r; p++)
|
|
625
|
+
u += e[p](t, n, a, s) || "";
|
|
626
626
|
return u;
|
|
627
627
|
};
|
|
628
628
|
}
|
|
@@ -638,27 +638,27 @@ function Rr(e) {
|
|
|
638
638
|
};
|
|
639
639
|
}
|
|
640
640
|
var ot = function(r, t, n) {
|
|
641
|
-
for (var a = 0, s = 0; a = s, s =
|
|
641
|
+
for (var a = 0, s = 0; a = s, s = se(), a === 38 && s === 12 && (t[n] = 1), !Ee(s); )
|
|
642
642
|
K();
|
|
643
|
-
return
|
|
643
|
+
return _e(r, X);
|
|
644
644
|
}, st = function(r, t) {
|
|
645
645
|
var n = -1, a = 44;
|
|
646
646
|
do
|
|
647
|
-
switch (
|
|
647
|
+
switch (Ee(a)) {
|
|
648
648
|
case 0:
|
|
649
|
-
a === 38 &&
|
|
649
|
+
a === 38 && se() === 12 && (t[n] = 1), r[n] += ot(X - 1, t, n);
|
|
650
650
|
break;
|
|
651
651
|
case 2:
|
|
652
|
-
r[n] +=
|
|
652
|
+
r[n] += Me(a);
|
|
653
653
|
break;
|
|
654
654
|
case 4:
|
|
655
655
|
if (a === 44) {
|
|
656
|
-
r[++n] =
|
|
656
|
+
r[++n] = se() === 58 ? "&\f" : "", t[n] = r[n].length;
|
|
657
657
|
break;
|
|
658
658
|
}
|
|
659
659
|
// fallthrough
|
|
660
660
|
default:
|
|
661
|
-
r[n] +=
|
|
661
|
+
r[n] += Le(a);
|
|
662
662
|
}
|
|
663
663
|
while (a = K());
|
|
664
664
|
return r;
|
|
@@ -672,9 +672,9 @@ var ot = function(r, t, n) {
|
|
|
672
672
|
if (n = n.parent, !n) return;
|
|
673
673
|
if (!(r.props.length === 1 && t.charCodeAt(0) !== 58 && !ur.get(n)) && !a) {
|
|
674
674
|
ur.set(r, !0);
|
|
675
|
-
for (var s = [], u = ct(t, s),
|
|
676
|
-
for (var h = 0; h <
|
|
677
|
-
r.props[
|
|
675
|
+
for (var s = [], u = ct(t, s), p = n.props, w = 0, v = 0; w < u.length; w++)
|
|
676
|
+
for (var h = 0; h < p.length; h++, v++)
|
|
677
|
+
r.props[v] = s[w] ? u[w].replace(/&\f/g, p[h]) : p[h] + " " + u[w];
|
|
678
678
|
}
|
|
679
679
|
}
|
|
680
680
|
}, ut = function(r) {
|
|
@@ -726,32 +726,32 @@ function _r(e, r) {
|
|
|
726
726
|
case 4810:
|
|
727
727
|
case 6968:
|
|
728
728
|
case 2756:
|
|
729
|
-
return _ + e +
|
|
729
|
+
return _ + e + Ve + e + Y + e + e;
|
|
730
730
|
// flex, flex-direction
|
|
731
731
|
case 6828:
|
|
732
732
|
case 4268:
|
|
733
|
-
return _ + e +
|
|
733
|
+
return _ + e + Y + e + e;
|
|
734
734
|
// order
|
|
735
735
|
case 6165:
|
|
736
|
-
return _ + e +
|
|
736
|
+
return _ + e + Y + "flex-" + e + e;
|
|
737
737
|
// align-items
|
|
738
738
|
case 5187:
|
|
739
|
-
return _ + e + T(e, /(\w+).+(:[^]+)/, _ + "box-$1$2" +
|
|
739
|
+
return _ + e + T(e, /(\w+).+(:[^]+)/, _ + "box-$1$2" + Y + "flex-$1$2") + e;
|
|
740
740
|
// align-self
|
|
741
741
|
case 5443:
|
|
742
|
-
return _ + e +
|
|
742
|
+
return _ + e + Y + "flex-item-" + T(e, /flex-|-self/, "") + e;
|
|
743
743
|
// align-content
|
|
744
744
|
case 4675:
|
|
745
|
-
return _ + e +
|
|
745
|
+
return _ + e + Y + "flex-line-pack" + T(e, /align-content|flex-|-self/, "") + e;
|
|
746
746
|
// flex-shrink
|
|
747
747
|
case 5548:
|
|
748
|
-
return _ + e +
|
|
748
|
+
return _ + e + Y + T(e, "shrink", "negative") + e;
|
|
749
749
|
// flex-basis
|
|
750
750
|
case 5292:
|
|
751
|
-
return _ + e +
|
|
751
|
+
return _ + e + Y + T(e, "basis", "preferred-size") + e;
|
|
752
752
|
// flex-grow
|
|
753
753
|
case 6060:
|
|
754
|
-
return _ + "box-" + T(e, "-grow", "") + _ + e +
|
|
754
|
+
return _ + "box-" + T(e, "-grow", "") + _ + e + Y + T(e, "grow", "positive") + e;
|
|
755
755
|
// transition
|
|
756
756
|
case 4554:
|
|
757
757
|
return _ + T(e, /([^-])(transform)/g, "$1" + _ + "$2") + e;
|
|
@@ -764,7 +764,7 @@ function _r(e, r) {
|
|
|
764
764
|
return T(e, /(image-set\([^]*)/, _ + "$1$`$1");
|
|
765
765
|
// justify-content
|
|
766
766
|
case 4968:
|
|
767
|
-
return T(T(e, /(.+:)(flex-)?(.*)/, _ + "box-pack:$3" +
|
|
767
|
+
return T(T(e, /(.+:)(flex-)?(.*)/, _ + "box-pack:$3" + Y + "flex-pack:$3"), /s.+-b[^;]+/, "justify") + _ + e + e;
|
|
768
768
|
// (margin|padding)-inline-(start|end)
|
|
769
769
|
case 4095:
|
|
770
770
|
case 3583:
|
|
@@ -784,16 +784,16 @@ function _r(e, r) {
|
|
|
784
784
|
case 5789:
|
|
785
785
|
case 5021:
|
|
786
786
|
case 4765:
|
|
787
|
-
if (
|
|
787
|
+
if (ie(e) - 1 - r > 6) switch (W(e, r + 1)) {
|
|
788
788
|
// (m)ax-content, (m)in-content
|
|
789
789
|
case 109:
|
|
790
790
|
if (W(e, r + 4) !== 45) break;
|
|
791
791
|
// (f)ill-available, (f)it-content
|
|
792
792
|
case 102:
|
|
793
|
-
return T(e, /(.+:)(.+)-([^]+)/, "$1" + _ + "$2-$3$1" +
|
|
793
|
+
return T(e, /(.+:)(.+)-([^]+)/, "$1" + _ + "$2-$3$1" + Ve + (W(e, r + 3) == 108 ? "$3" : "$2-$3")) + e;
|
|
794
794
|
// (s)tretch
|
|
795
795
|
case 115:
|
|
796
|
-
return ~
|
|
796
|
+
return ~Ye(e, "stretch") ? _r(T(e, "stretch", "fill-available"), r) + e : e;
|
|
797
797
|
}
|
|
798
798
|
break;
|
|
799
799
|
// position: sticky
|
|
@@ -801,13 +801,13 @@ function _r(e, r) {
|
|
|
801
801
|
if (W(e, r + 1) !== 115) break;
|
|
802
802
|
// display: (flex|inline-flex)
|
|
803
803
|
case 6444:
|
|
804
|
-
switch (W(e,
|
|
804
|
+
switch (W(e, ie(e) - 3 - (~Ye(e, "!important") && 10))) {
|
|
805
805
|
// stic(k)y
|
|
806
806
|
case 107:
|
|
807
807
|
return T(e, ":", ":" + _) + e;
|
|
808
808
|
// (inline-)?fl(e)x
|
|
809
809
|
case 101:
|
|
810
|
-
return T(e, /(.+:)([^;!]+)(;|!.+)?/, "$1" + _ + (W(e, 14) === 45 ? "inline-" : "") + "box$3$1" + _ + "$2$3$1" +
|
|
810
|
+
return T(e, /(.+:)([^;!]+)(;|!.+)?/, "$1" + _ + (W(e, 14) === 45 ? "inline-" : "") + "box$3$1" + _ + "$2$3$1" + Y + "$2box$3") + e;
|
|
811
811
|
}
|
|
812
812
|
break;
|
|
813
813
|
// writing-mode
|
|
@@ -815,44 +815,44 @@ function _r(e, r) {
|
|
|
815
815
|
switch (W(e, r + 11)) {
|
|
816
816
|
// vertical-l(r)
|
|
817
817
|
case 114:
|
|
818
|
-
return _ + e +
|
|
818
|
+
return _ + e + Y + T(e, /[svh]\w+-[tblr]{2}/, "tb") + e;
|
|
819
819
|
// vertical-r(l)
|
|
820
820
|
case 108:
|
|
821
|
-
return _ + e +
|
|
821
|
+
return _ + e + Y + T(e, /[svh]\w+-[tblr]{2}/, "tb-rl") + e;
|
|
822
822
|
// horizontal(-)tb
|
|
823
823
|
case 45:
|
|
824
|
-
return _ + e +
|
|
824
|
+
return _ + e + Y + T(e, /[svh]\w+-[tblr]{2}/, "lr") + e;
|
|
825
825
|
}
|
|
826
|
-
return _ + e +
|
|
826
|
+
return _ + e + Y + e + e;
|
|
827
827
|
}
|
|
828
828
|
return e;
|
|
829
829
|
}
|
|
830
830
|
var ft = function(r, t, n, a) {
|
|
831
831
|
if (r.length > -1 && !r.return) switch (r.type) {
|
|
832
|
-
case
|
|
832
|
+
case Ge:
|
|
833
833
|
r.return = _r(r.value, r.length);
|
|
834
834
|
break;
|
|
835
835
|
case wr:
|
|
836
|
-
return
|
|
836
|
+
return ye([Pe(r, {
|
|
837
837
|
value: T(r.value, "@", "@" + _)
|
|
838
838
|
})], a);
|
|
839
|
-
case
|
|
839
|
+
case He:
|
|
840
840
|
if (r.length) return Br(r.props, function(s) {
|
|
841
841
|
switch (Gr(s, /(::plac\w+|:read-\w+)/)) {
|
|
842
842
|
// :read-(only|write)
|
|
843
843
|
case ":read-only":
|
|
844
844
|
case ":read-write":
|
|
845
|
-
return
|
|
846
|
-
props: [T(s, /:(read-\w+)/, ":" +
|
|
845
|
+
return ye([Pe(r, {
|
|
846
|
+
props: [T(s, /:(read-\w+)/, ":" + Ve + "$1")]
|
|
847
847
|
})], a);
|
|
848
848
|
// :placeholder
|
|
849
849
|
case "::placeholder":
|
|
850
|
-
return
|
|
850
|
+
return ye([Pe(r, {
|
|
851
851
|
props: [T(s, /:(plac\w+)/, ":" + _ + "input-$1")]
|
|
852
|
-
}),
|
|
853
|
-
props: [T(s, /:(plac\w+)/, ":" +
|
|
854
|
-
}),
|
|
855
|
-
props: [T(s, /:(plac\w+)/,
|
|
852
|
+
}), Pe(r, {
|
|
853
|
+
props: [T(s, /:(plac\w+)/, ":" + Ve + "$1")]
|
|
854
|
+
}), Pe(r, {
|
|
855
|
+
props: [T(s, /:(plac\w+)/, Y + "input-$1")]
|
|
856
856
|
})], a);
|
|
857
857
|
}
|
|
858
858
|
return "";
|
|
@@ -862,34 +862,34 @@ var ft = function(r, t, n, a) {
|
|
|
862
862
|
var t = r.key;
|
|
863
863
|
if (t === "css") {
|
|
864
864
|
var n = document.querySelectorAll("style[data-emotion]:not([data-s])");
|
|
865
|
-
Array.prototype.forEach.call(n, function(
|
|
866
|
-
var
|
|
867
|
-
|
|
865
|
+
Array.prototype.forEach.call(n, function(x) {
|
|
866
|
+
var P = x.getAttribute("data-emotion");
|
|
867
|
+
P.indexOf(" ") !== -1 && (document.head.appendChild(x), x.setAttribute("data-s", ""));
|
|
868
868
|
});
|
|
869
869
|
}
|
|
870
|
-
var a = r.stylisPlugins || dt, s = {}, u,
|
|
870
|
+
var a = r.stylisPlugins || dt, s = {}, u, p = [];
|
|
871
871
|
u = r.container || document.head, Array.prototype.forEach.call(
|
|
872
872
|
// this means we will ignore elements which don't have a space in them which
|
|
873
873
|
// means that the style elements we're looking at are only Emotion 11 server-rendered style elements
|
|
874
874
|
document.querySelectorAll('style[data-emotion^="' + t + ' "]'),
|
|
875
|
-
function(
|
|
876
|
-
for (var
|
|
877
|
-
s[
|
|
878
|
-
|
|
875
|
+
function(x) {
|
|
876
|
+
for (var P = x.getAttribute("data-emotion").split(" "), S = 1; S < P.length; S++)
|
|
877
|
+
s[P[S]] = !0;
|
|
878
|
+
p.push(x);
|
|
879
879
|
}
|
|
880
880
|
);
|
|
881
|
-
var
|
|
881
|
+
var w, v = [lt, ut];
|
|
882
882
|
{
|
|
883
|
-
var h,
|
|
884
|
-
h.insert(
|
|
885
|
-
})], I = at(
|
|
886
|
-
return
|
|
883
|
+
var h, b = [nt, it(function(x) {
|
|
884
|
+
h.insert(x);
|
|
885
|
+
})], I = at(v.concat(a, b)), $ = function(P) {
|
|
886
|
+
return ye(rt(P), I);
|
|
887
887
|
};
|
|
888
|
-
|
|
889
|
-
h =
|
|
888
|
+
w = function(P, S, C, V) {
|
|
889
|
+
h = C, $(P ? P + "{" + S.styles + "}" : S.styles), V && (j.inserted[S.name] = !0);
|
|
890
890
|
};
|
|
891
891
|
}
|
|
892
|
-
var
|
|
892
|
+
var j = {
|
|
893
893
|
key: t,
|
|
894
894
|
sheet: new Ur({
|
|
895
895
|
key: t,
|
|
@@ -902,9 +902,9 @@ var ft = function(r, t, n, a) {
|
|
|
902
902
|
nonce: r.nonce,
|
|
903
903
|
inserted: s,
|
|
904
904
|
registered: {},
|
|
905
|
-
insert:
|
|
905
|
+
insert: w
|
|
906
906
|
};
|
|
907
|
-
return
|
|
907
|
+
return j.sheet.hydrate(p), j;
|
|
908
908
|
}, ht = !0;
|
|
909
909
|
function mt(e, r, t) {
|
|
910
910
|
var n = "";
|
|
@@ -1006,7 +1006,7 @@ var vt = {
|
|
|
1006
1006
|
return r.charCodeAt(1) === 45;
|
|
1007
1007
|
}, fr = function(r) {
|
|
1008
1008
|
return r != null && typeof r != "boolean";
|
|
1009
|
-
},
|
|
1009
|
+
}, De = /* @__PURE__ */ Rr(function(e) {
|
|
1010
1010
|
return Ar(e) ? e : e.replace(bt, "-$&").toLowerCase();
|
|
1011
1011
|
}), dr = function(r, t) {
|
|
1012
1012
|
switch (r) {
|
|
@@ -1014,16 +1014,16 @@ var vt = {
|
|
|
1014
1014
|
case "animationName":
|
|
1015
1015
|
if (typeof t == "string")
|
|
1016
1016
|
return t.replace(xt, function(n, a, s) {
|
|
1017
|
-
return
|
|
1017
|
+
return oe = {
|
|
1018
1018
|
name: a,
|
|
1019
1019
|
styles: s,
|
|
1020
|
-
next:
|
|
1020
|
+
next: oe
|
|
1021
1021
|
}, a;
|
|
1022
1022
|
});
|
|
1023
1023
|
}
|
|
1024
1024
|
return vt[r] !== 1 && !Ar(r) && typeof t == "number" && t !== 0 ? t + "px" : t;
|
|
1025
1025
|
};
|
|
1026
|
-
function
|
|
1026
|
+
function Re(e, r, t) {
|
|
1027
1027
|
if (t == null)
|
|
1028
1028
|
return "";
|
|
1029
1029
|
var n = t;
|
|
@@ -1035,30 +1035,30 @@ function Te(e, r, t) {
|
|
|
1035
1035
|
case "object": {
|
|
1036
1036
|
var a = t;
|
|
1037
1037
|
if (a.anim === 1)
|
|
1038
|
-
return
|
|
1038
|
+
return oe = {
|
|
1039
1039
|
name: a.name,
|
|
1040
1040
|
styles: a.styles,
|
|
1041
|
-
next:
|
|
1041
|
+
next: oe
|
|
1042
1042
|
}, a.name;
|
|
1043
1043
|
var s = t;
|
|
1044
1044
|
if (s.styles !== void 0) {
|
|
1045
1045
|
var u = s.next;
|
|
1046
1046
|
if (u !== void 0)
|
|
1047
1047
|
for (; u !== void 0; )
|
|
1048
|
-
|
|
1048
|
+
oe = {
|
|
1049
1049
|
name: u.name,
|
|
1050
1050
|
styles: u.styles,
|
|
1051
|
-
next:
|
|
1051
|
+
next: oe
|
|
1052
1052
|
}, u = u.next;
|
|
1053
|
-
var
|
|
1054
|
-
return
|
|
1053
|
+
var p = s.styles + ";";
|
|
1054
|
+
return p;
|
|
1055
1055
|
}
|
|
1056
1056
|
return wt(e, r, t);
|
|
1057
1057
|
}
|
|
1058
1058
|
case "function": {
|
|
1059
1059
|
if (e !== void 0) {
|
|
1060
|
-
var
|
|
1061
|
-
return
|
|
1060
|
+
var w = oe, v = t(e);
|
|
1061
|
+
return oe = w, Re(e, r, v);
|
|
1062
1062
|
}
|
|
1063
1063
|
break;
|
|
1064
1064
|
}
|
|
@@ -1066,69 +1066,69 @@ function Te(e, r, t) {
|
|
|
1066
1066
|
var h = t;
|
|
1067
1067
|
if (r == null)
|
|
1068
1068
|
return h;
|
|
1069
|
-
var
|
|
1070
|
-
return
|
|
1069
|
+
var b = r[h];
|
|
1070
|
+
return b !== void 0 ? b : h;
|
|
1071
1071
|
}
|
|
1072
1072
|
function wt(e, r, t) {
|
|
1073
1073
|
var n = "";
|
|
1074
1074
|
if (Array.isArray(t))
|
|
1075
1075
|
for (var a = 0; a < t.length; a++)
|
|
1076
|
-
n +=
|
|
1076
|
+
n += Re(e, r, t[a]) + ";";
|
|
1077
1077
|
else
|
|
1078
1078
|
for (var s in t) {
|
|
1079
1079
|
var u = t[s];
|
|
1080
1080
|
if (typeof u != "object") {
|
|
1081
|
-
var
|
|
1082
|
-
r != null && r[
|
|
1081
|
+
var p = u;
|
|
1082
|
+
r != null && r[p] !== void 0 ? n += s + "{" + r[p] + "}" : fr(p) && (n += De(s) + ":" + dr(s, p) + ";");
|
|
1083
1083
|
} else if (Array.isArray(u) && typeof u[0] == "string" && (r == null || r[u[0]] === void 0))
|
|
1084
|
-
for (var
|
|
1085
|
-
fr(u[
|
|
1084
|
+
for (var w = 0; w < u.length; w++)
|
|
1085
|
+
fr(u[w]) && (n += De(s) + ":" + dr(s, u[w]) + ";");
|
|
1086
1086
|
else {
|
|
1087
|
-
var
|
|
1087
|
+
var v = Re(e, r, u);
|
|
1088
1088
|
switch (s) {
|
|
1089
1089
|
case "animation":
|
|
1090
1090
|
case "animationName": {
|
|
1091
|
-
n +=
|
|
1091
|
+
n += De(s) + ":" + v + ";";
|
|
1092
1092
|
break;
|
|
1093
1093
|
}
|
|
1094
1094
|
default:
|
|
1095
|
-
n += s + "{" +
|
|
1095
|
+
n += s + "{" + v + "}";
|
|
1096
1096
|
}
|
|
1097
1097
|
}
|
|
1098
1098
|
}
|
|
1099
1099
|
return n;
|
|
1100
1100
|
}
|
|
1101
|
-
var pr = /label:\s*([^\s;{]+)\s*(;|$)/g,
|
|
1101
|
+
var pr = /label:\s*([^\s;{]+)\s*(;|$)/g, oe;
|
|
1102
1102
|
function kt(e, r, t) {
|
|
1103
1103
|
if (e.length === 1 && typeof e[0] == "object" && e[0] !== null && e[0].styles !== void 0)
|
|
1104
1104
|
return e[0];
|
|
1105
1105
|
var n = !0, a = "";
|
|
1106
|
-
|
|
1106
|
+
oe = void 0;
|
|
1107
1107
|
var s = e[0];
|
|
1108
1108
|
if (s == null || s.raw === void 0)
|
|
1109
|
-
n = !1, a +=
|
|
1109
|
+
n = !1, a += Re(t, r, s);
|
|
1110
1110
|
else {
|
|
1111
1111
|
var u = s;
|
|
1112
1112
|
a += u[0];
|
|
1113
1113
|
}
|
|
1114
|
-
for (var
|
|
1115
|
-
if (a +=
|
|
1116
|
-
var
|
|
1117
|
-
a +=
|
|
1114
|
+
for (var p = 1; p < e.length; p++)
|
|
1115
|
+
if (a += Re(t, r, e[p]), n) {
|
|
1116
|
+
var w = s;
|
|
1117
|
+
a += w[p];
|
|
1118
1118
|
}
|
|
1119
1119
|
pr.lastIndex = 0;
|
|
1120
|
-
for (var
|
|
1121
|
-
|
|
1122
|
-
var
|
|
1120
|
+
for (var v = "", h; (h = pr.exec(a)) !== null; )
|
|
1121
|
+
v += "-" + h[1];
|
|
1122
|
+
var b = yt(a) + v;
|
|
1123
1123
|
return {
|
|
1124
|
-
name:
|
|
1124
|
+
name: b,
|
|
1125
1125
|
styles: a,
|
|
1126
|
-
next:
|
|
1126
|
+
next: oe
|
|
1127
1127
|
};
|
|
1128
1128
|
}
|
|
1129
1129
|
var Pt = function(r) {
|
|
1130
1130
|
return r();
|
|
1131
|
-
}, St =
|
|
1131
|
+
}, St = le.useInsertionEffect ? le.useInsertionEffect : !1, Et = St || Pt, Cr = /* @__PURE__ */ le.createContext(
|
|
1132
1132
|
// we're doing this to avoid preconstruct's dead code elimination in this one case
|
|
1133
1133
|
// because this module is primarily intended for the browser and node
|
|
1134
1134
|
// but it's also required in react native and similar environments sometimes
|
|
@@ -1145,7 +1145,7 @@ var Rt = function(r) {
|
|
|
1145
1145
|
var a = jr(Cr);
|
|
1146
1146
|
return r(t, a, n);
|
|
1147
1147
|
});
|
|
1148
|
-
}, _t = /* @__PURE__ */
|
|
1148
|
+
}, _t = /* @__PURE__ */ le.createContext({}), Tt = /^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|disableRemotePlayback|download|draggable|encType|enterKeyHint|fetchpriority|fetchPriority|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|popover|popoverTarget|popoverTargetAction|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/, At = /* @__PURE__ */ Rr(
|
|
1149
1149
|
function(e) {
|
|
1150
1150
|
return Tt.test(e) || e.charCodeAt(0) === 111 && e.charCodeAt(1) === 110 && e.charCodeAt(2) < 91;
|
|
1151
1151
|
}
|
|
@@ -1174,49 +1174,49 @@ var Rt = function(r) {
|
|
|
1174
1174
|
}, jt = function e(r, t) {
|
|
1175
1175
|
var n = r.__emotion_real === r, a = n && r.__emotion_base || r, s, u;
|
|
1176
1176
|
t !== void 0 && (s = t.label, u = t.target);
|
|
1177
|
-
var
|
|
1177
|
+
var p = mr(r, t, n), w = p || hr(a), v = !w("as");
|
|
1178
1178
|
return function() {
|
|
1179
|
-
var h = arguments,
|
|
1180
|
-
if (s !== void 0 &&
|
|
1181
|
-
|
|
1179
|
+
var h = arguments, b = n && r.__emotion_styles !== void 0 ? r.__emotion_styles.slice(0) : [];
|
|
1180
|
+
if (s !== void 0 && b.push("label:" + s + ";"), h[0] == null || h[0].raw === void 0)
|
|
1181
|
+
b.push.apply(b, h);
|
|
1182
1182
|
else {
|
|
1183
1183
|
var I = h[0];
|
|
1184
|
-
|
|
1185
|
-
for (var
|
|
1186
|
-
|
|
1184
|
+
b.push(I[0]);
|
|
1185
|
+
for (var $ = h.length, j = 1; j < $; j++)
|
|
1186
|
+
b.push(h[j], I[j]);
|
|
1187
1187
|
}
|
|
1188
|
-
var
|
|
1189
|
-
var
|
|
1190
|
-
if (
|
|
1191
|
-
|
|
1192
|
-
for (var
|
|
1193
|
-
|
|
1194
|
-
|
|
1188
|
+
var x = Rt(function(P, S, C) {
|
|
1189
|
+
var V = v && P.as || a, N = "", z = [], F = P;
|
|
1190
|
+
if (P.theme == null) {
|
|
1191
|
+
F = {};
|
|
1192
|
+
for (var E in P)
|
|
1193
|
+
F[E] = P[E];
|
|
1194
|
+
F.theme = le.useContext(_t);
|
|
1195
1195
|
}
|
|
1196
|
-
typeof
|
|
1197
|
-
var
|
|
1198
|
-
|
|
1199
|
-
var
|
|
1200
|
-
for (var
|
|
1201
|
-
|
|
1202
|
-
return
|
|
1203
|
-
cache:
|
|
1204
|
-
serialized:
|
|
1205
|
-
isStringTag: typeof
|
|
1206
|
-
}), /* @__PURE__ */
|
|
1196
|
+
typeof P.className == "string" ? N = mt(S.registered, z, P.className) : P.className != null && (N = P.className + " ");
|
|
1197
|
+
var te = kt(b.concat(z), S.registered, F);
|
|
1198
|
+
N += S.key + "-" + te.name, u !== void 0 && (N += " " + u);
|
|
1199
|
+
var ce = v && p === void 0 ? hr(V) : w, q = {};
|
|
1200
|
+
for (var Q in P)
|
|
1201
|
+
v && Q === "as" || ce(Q) && (q[Q] = P[Q]);
|
|
1202
|
+
return q.className = N, C && (q.ref = C), /* @__PURE__ */ le.createElement(le.Fragment, null, /* @__PURE__ */ le.createElement($t, {
|
|
1203
|
+
cache: S,
|
|
1204
|
+
serialized: te,
|
|
1205
|
+
isStringTag: typeof V == "string"
|
|
1206
|
+
}), /* @__PURE__ */ le.createElement(V, q));
|
|
1207
1207
|
});
|
|
1208
|
-
return
|
|
1208
|
+
return x.displayName = s !== void 0 ? s : "Styled(" + (typeof a == "string" ? a : a.displayName || a.name || "Component") + ")", x.defaultProps = r.defaultProps, x.__emotion_real = x, x.__emotion_base = a, x.__emotion_styles = b, x.__emotion_forwardProp = p, Object.defineProperty(x, "toString", {
|
|
1209
1209
|
value: function() {
|
|
1210
1210
|
return "." + u;
|
|
1211
1211
|
}
|
|
1212
|
-
}),
|
|
1213
|
-
var
|
|
1214
|
-
shouldForwardProp: mr(
|
|
1212
|
+
}), x.withComponent = function(P, S) {
|
|
1213
|
+
var C = e(P, We({}, t, S, {
|
|
1214
|
+
shouldForwardProp: mr(x, S, !0)
|
|
1215
1215
|
}));
|
|
1216
|
-
return
|
|
1217
|
-
},
|
|
1216
|
+
return C.apply(void 0, b);
|
|
1217
|
+
}, x;
|
|
1218
1218
|
};
|
|
1219
|
-
},
|
|
1219
|
+
}, Mt = [
|
|
1220
1220
|
"a",
|
|
1221
1221
|
"abbr",
|
|
1222
1222
|
"address",
|
|
@@ -1352,11 +1352,11 @@ var Rt = function(r) {
|
|
|
1352
1352
|
"svg",
|
|
1353
1353
|
"text",
|
|
1354
1354
|
"tspan"
|
|
1355
|
-
],
|
|
1356
|
-
|
|
1357
|
-
|
|
1355
|
+
], be = jt.bind(null);
|
|
1356
|
+
Mt.forEach(function(e) {
|
|
1357
|
+
be[e] = be(e);
|
|
1358
1358
|
});
|
|
1359
|
-
const
|
|
1359
|
+
const It = be.div`
|
|
1360
1360
|
display: flex;
|
|
1361
1361
|
align-items: center;
|
|
1362
1362
|
justify-content: center;
|
|
@@ -1397,11 +1397,11 @@ const Mt = xe.div`
|
|
|
1397
1397
|
return "";
|
|
1398
1398
|
}
|
|
1399
1399
|
}}
|
|
1400
|
-
`, gr = ({ type: e, children: r, className: t, icon: n, action: a }) => /* @__PURE__ */ D.jsxs(
|
|
1400
|
+
`, gr = ({ type: e, children: r, className: t, icon: n, action: a }) => /* @__PURE__ */ D.jsxs(It, { type: e, className: t, children: [
|
|
1401
1401
|
n && /* @__PURE__ */ D.jsx("span", { children: n }),
|
|
1402
1402
|
/* @__PURE__ */ D.jsx("span", { children: r }),
|
|
1403
1403
|
a && /* @__PURE__ */ D.jsx("span", { children: a })
|
|
1404
|
-
] }), yr =
|
|
1404
|
+
] }), yr = be.div`
|
|
1405
1405
|
width: ${({ width: e }) => e || "100%"};
|
|
1406
1406
|
height: ${({ height: e }) => e || "100%"};
|
|
1407
1407
|
border-radius: 0px !important;
|
|
@@ -1417,7 +1417,7 @@ const Mt = xe.div`
|
|
|
1417
1417
|
}
|
|
1418
1418
|
|
|
1419
1419
|
${({ $hiddenClasses: e }) => (e == null ? void 0 : e.length) && e.map((r) => `.${r} { display: none !important; }`).join("")}
|
|
1420
|
-
`, Ft =
|
|
1420
|
+
`, Ft = be.div`
|
|
1421
1421
|
position: fixed;
|
|
1422
1422
|
top: 0;
|
|
1423
1423
|
left: 0;
|
|
@@ -1429,7 +1429,7 @@ const Mt = xe.div`
|
|
|
1429
1429
|
align-items: center;
|
|
1430
1430
|
z-index: 1000;
|
|
1431
1431
|
pointer-events: auto;
|
|
1432
|
-
`, Vt =
|
|
1432
|
+
`, Vt = be.div`
|
|
1433
1433
|
position: relative;
|
|
1434
1434
|
height: 80vh;
|
|
1435
1435
|
width: auto;
|
|
@@ -1437,54 +1437,54 @@ const Mt = xe.div`
|
|
|
1437
1437
|
max-width: 90vw;
|
|
1438
1438
|
max-height: 90vh;
|
|
1439
1439
|
z-index: 1001;
|
|
1440
|
-
`,
|
|
1440
|
+
`, he = "https://host.vpplayer.tech", Lt = (e) => `${he}/player/${e}/vpplayer.js`, Zt = (e) => `${he}/player/${e}.js`, Nt = (e, r) => `${he}/player/${e}/${r}.js`, zt = (e) => `${he}/vertical-player/${e}.js`, Ut = (e, r) => `${he}/vertical-player/${e}/${r}.js`, Dt = (e, r) => `${he}/player/${e}/${r}.json`, Wt = (e, r) => `${he}/vertical-player/${e}/${r}.json`, Yt = (e, r) => e ? `vp-player-${e}` : r ? `vp-player-default-${r}` : "vp-player-default", qt = (e, r) => {
|
|
1441
1441
|
const t = new URL(e);
|
|
1442
1442
|
return t.searchParams.set("divId", r), t.toString();
|
|
1443
|
-
},
|
|
1444
|
-
const [t, n] =
|
|
1445
|
-
return
|
|
1443
|
+
}, Ce = /* @__PURE__ */ new Map(), Ht = (e, r) => {
|
|
1444
|
+
const [t, n] = Fe(!1), [a, s] = Fe(null);
|
|
1445
|
+
return $e(() => {
|
|
1446
1446
|
let u;
|
|
1447
1447
|
try {
|
|
1448
|
-
u = r ||
|
|
1449
|
-
} catch (
|
|
1450
|
-
const h =
|
|
1448
|
+
u = r || Lt(e || "latest");
|
|
1449
|
+
} catch (v) {
|
|
1450
|
+
const h = v instanceof Error ? v.message : String(v);
|
|
1451
1451
|
s(`Failed to resolve script URL: ${h}`);
|
|
1452
1452
|
return;
|
|
1453
1453
|
}
|
|
1454
|
-
if (!
|
|
1454
|
+
if (!Ce.has(u))
|
|
1455
1455
|
if (document.querySelector(
|
|
1456
1456
|
`script[src="${u}"]`
|
|
1457
1457
|
))
|
|
1458
|
-
|
|
1458
|
+
Ce.set(u, Promise.resolve());
|
|
1459
1459
|
else {
|
|
1460
|
-
const h = new Promise((
|
|
1461
|
-
const
|
|
1462
|
-
|
|
1460
|
+
const h = new Promise((b, I) => {
|
|
1461
|
+
const $ = document.createElement("script");
|
|
1462
|
+
$.src = u, $.async = !0, $.onload = () => b(), $.onerror = () => I(new Error(`Failed to load script: ${u}`)), document.body.appendChild($);
|
|
1463
1463
|
});
|
|
1464
|
-
|
|
1464
|
+
Ce.set(u, h);
|
|
1465
1465
|
}
|
|
1466
|
-
let
|
|
1467
|
-
const
|
|
1468
|
-
return
|
|
1469
|
-
|
|
1470
|
-
}).catch((
|
|
1471
|
-
|
|
1466
|
+
let p = !0;
|
|
1467
|
+
const w = Ce.get(u);
|
|
1468
|
+
return w && w.then(() => {
|
|
1469
|
+
p && (n(!0), s(null));
|
|
1470
|
+
}).catch((v) => {
|
|
1471
|
+
p && (n(!1), s(v instanceof Error ? v.message : String(v)));
|
|
1472
1472
|
}), () => {
|
|
1473
|
-
|
|
1473
|
+
p = !1;
|
|
1474
1474
|
};
|
|
1475
1475
|
}, [e, r]), { isLoaded: t, error: a };
|
|
1476
1476
|
};
|
|
1477
|
-
function
|
|
1477
|
+
function Oe(e) {
|
|
1478
1478
|
return typeof e == "object" && e !== null && !Array.isArray(e);
|
|
1479
1479
|
}
|
|
1480
1480
|
function vr(e, r) {
|
|
1481
1481
|
const t = r.playlist;
|
|
1482
1482
|
if (!(t != null && t.videos) || !Array.isArray(t.videos))
|
|
1483
1483
|
return;
|
|
1484
|
-
const n = t.videos, a = n.findIndex((
|
|
1485
|
-
if (!
|
|
1486
|
-
const
|
|
1487
|
-
return
|
|
1484
|
+
const n = t.videos, a = n.findIndex((p) => {
|
|
1485
|
+
if (!p || typeof p != "object") return !1;
|
|
1486
|
+
const w = p;
|
|
1487
|
+
return w.videoId === e || w.mediaId === e;
|
|
1488
1488
|
});
|
|
1489
1489
|
if (a < 0 || a >= n.length - 1)
|
|
1490
1490
|
return;
|
|
@@ -1494,12 +1494,12 @@ function vr(e, r) {
|
|
|
1494
1494
|
return u.videoId ?? u.mediaId;
|
|
1495
1495
|
}
|
|
1496
1496
|
function Or(e, r) {
|
|
1497
|
-
if (!
|
|
1497
|
+
if (!Oe(e) || !Oe(r))
|
|
1498
1498
|
return r;
|
|
1499
1499
|
const t = { ...e };
|
|
1500
1500
|
for (const n of Object.keys(r)) {
|
|
1501
1501
|
const a = r[n], s = t[n];
|
|
1502
|
-
|
|
1502
|
+
Oe(a) && Oe(s) ? t[n] = Or(s, a) : a !== void 0 && (t[n] = a);
|
|
1503
1503
|
}
|
|
1504
1504
|
return t;
|
|
1505
1505
|
}
|
|
@@ -1527,325 +1527,327 @@ const Bt = ({
|
|
|
1527
1527
|
config: a,
|
|
1528
1528
|
playerId: s,
|
|
1529
1529
|
isVertical: u = !1,
|
|
1530
|
-
isReels:
|
|
1531
|
-
onReady:
|
|
1532
|
-
onPlay:
|
|
1530
|
+
isReels: p = !1,
|
|
1531
|
+
onReady: w,
|
|
1532
|
+
onPlay: v,
|
|
1533
1533
|
onPause: h,
|
|
1534
|
-
onResume:
|
|
1534
|
+
onResume: b,
|
|
1535
1535
|
onComplete: I,
|
|
1536
|
-
onError:
|
|
1537
|
-
onVideoStarted:
|
|
1538
|
-
onTimeUpdate:
|
|
1539
|
-
onQuartile25:
|
|
1540
|
-
onQuartile50:
|
|
1541
|
-
onQuartile75:
|
|
1542
|
-
onNext:
|
|
1543
|
-
onPrevious:
|
|
1536
|
+
onError: $,
|
|
1537
|
+
onVideoStarted: j,
|
|
1538
|
+
onTimeUpdate: x,
|
|
1539
|
+
onQuartile25: P,
|
|
1540
|
+
onQuartile50: S,
|
|
1541
|
+
onQuartile75: C,
|
|
1542
|
+
onNext: V,
|
|
1543
|
+
onPrevious: N,
|
|
1544
1544
|
onProgress10s: z,
|
|
1545
|
-
onProgress20s:
|
|
1546
|
-
onPlaylistItem:
|
|
1545
|
+
onProgress20s: F,
|
|
1546
|
+
onPlaylistItem: E,
|
|
1547
|
+
onVideoSwitch: te
|
|
1547
1548
|
}) => {
|
|
1548
|
-
const
|
|
1549
|
-
() => Yt(s || `auto-${
|
|
1550
|
-
[s,
|
|
1551
|
-
),
|
|
1552
|
-
onReady:
|
|
1553
|
-
onPlay:
|
|
1549
|
+
const ce = pe(null), q = pe(null), [Q, J] = Fe(null), fe = Mr().replace(/:/g, ""), G = Ue(
|
|
1550
|
+
() => Yt(s || `auto-${fe}`, r),
|
|
1551
|
+
[s, fe, r]
|
|
1552
|
+
), d = pe({
|
|
1553
|
+
onReady: w,
|
|
1554
|
+
onPlay: v,
|
|
1554
1555
|
onPause: h,
|
|
1555
|
-
onResume:
|
|
1556
|
+
onResume: b,
|
|
1556
1557
|
onComplete: I,
|
|
1557
|
-
onError:
|
|
1558
|
-
onVideoStarted:
|
|
1559
|
-
onTimeUpdate:
|
|
1560
|
-
onQuartile25:
|
|
1561
|
-
onQuartile50:
|
|
1562
|
-
onQuartile75:
|
|
1563
|
-
onNext:
|
|
1564
|
-
onPrevious:
|
|
1558
|
+
onError: $,
|
|
1559
|
+
onVideoStarted: j,
|
|
1560
|
+
onTimeUpdate: x,
|
|
1561
|
+
onQuartile25: P,
|
|
1562
|
+
onQuartile50: S,
|
|
1563
|
+
onQuartile75: C,
|
|
1564
|
+
onNext: V,
|
|
1565
|
+
onPrevious: N,
|
|
1565
1566
|
onProgress10s: z,
|
|
1566
|
-
onProgress20s:
|
|
1567
|
-
onPlaylistItem:
|
|
1567
|
+
onProgress20s: F,
|
|
1568
|
+
onPlaylistItem: E,
|
|
1569
|
+
onVideoSwitch: te
|
|
1568
1570
|
});
|
|
1569
|
-
|
|
1570
|
-
|
|
1571
|
-
onReady:
|
|
1572
|
-
onPlay:
|
|
1571
|
+
$e(() => {
|
|
1572
|
+
d.current = {
|
|
1573
|
+
onReady: w,
|
|
1574
|
+
onPlay: v,
|
|
1573
1575
|
onPause: h,
|
|
1574
|
-
onResume:
|
|
1576
|
+
onResume: b,
|
|
1575
1577
|
onComplete: I,
|
|
1576
|
-
onError:
|
|
1577
|
-
onVideoStarted:
|
|
1578
|
-
onTimeUpdate:
|
|
1579
|
-
onQuartile25:
|
|
1580
|
-
onQuartile50:
|
|
1581
|
-
onQuartile75:
|
|
1582
|
-
onNext:
|
|
1583
|
-
onPrevious:
|
|
1578
|
+
onError: $,
|
|
1579
|
+
onVideoStarted: j,
|
|
1580
|
+
onTimeUpdate: x,
|
|
1581
|
+
onQuartile25: P,
|
|
1582
|
+
onQuartile50: S,
|
|
1583
|
+
onQuartile75: C,
|
|
1584
|
+
onNext: V,
|
|
1585
|
+
onPrevious: N,
|
|
1584
1586
|
onProgress10s: z,
|
|
1585
|
-
onProgress20s:
|
|
1586
|
-
onPlaylistItem:
|
|
1587
|
+
onProgress20s: F,
|
|
1588
|
+
onPlaylistItem: E,
|
|
1589
|
+
onVideoSwitch: te
|
|
1587
1590
|
};
|
|
1588
1591
|
}, [
|
|
1589
|
-
|
|
1590
|
-
y,
|
|
1591
|
-
h,
|
|
1592
|
+
w,
|
|
1592
1593
|
v,
|
|
1594
|
+
h,
|
|
1595
|
+
b,
|
|
1593
1596
|
I,
|
|
1594
|
-
O,
|
|
1595
1597
|
$,
|
|
1596
|
-
|
|
1597
|
-
|
|
1598
|
+
j,
|
|
1599
|
+
x,
|
|
1598
1600
|
P,
|
|
1599
|
-
|
|
1600
|
-
|
|
1601
|
-
|
|
1601
|
+
S,
|
|
1602
|
+
C,
|
|
1603
|
+
V,
|
|
1604
|
+
N,
|
|
1602
1605
|
z,
|
|
1603
|
-
|
|
1604
|
-
|
|
1606
|
+
F,
|
|
1607
|
+
E,
|
|
1608
|
+
te
|
|
1605
1609
|
]);
|
|
1606
|
-
const
|
|
1607
|
-
|
|
1608
|
-
|
|
1609
|
-
});
|
|
1610
|
-
const i = ne(r);
|
|
1611
|
-
Ee(() => {
|
|
1612
|
-
i.current = r;
|
|
1610
|
+
const ne = pe(!1), Z = pe(!1), ue = pe(void 0), ae = pe(a);
|
|
1611
|
+
$e(() => {
|
|
1612
|
+
ae.current = a;
|
|
1613
1613
|
});
|
|
1614
|
-
const
|
|
1615
|
-
let
|
|
1614
|
+
const ee = !!a, o = Ue(() => u || p ? !0 : t ? t.includes("vertical-player") || t.includes("vpverticalplayer") : !1, [u, p, t]), g = Ue(() => {
|
|
1615
|
+
let i;
|
|
1616
1616
|
if (t)
|
|
1617
|
-
|
|
1618
|
-
else if (e && r && !
|
|
1619
|
-
|
|
1617
|
+
i = t;
|
|
1618
|
+
else if (e && r && !ee)
|
|
1619
|
+
i = o ? Ut(e, r) : Nt(e, r);
|
|
1620
1620
|
else if (e)
|
|
1621
|
-
|
|
1621
|
+
i = o ? zt(e) : `https://host.vpplayer.tech/player/${e}.js`;
|
|
1622
1622
|
else
|
|
1623
1623
|
return null;
|
|
1624
|
-
return qt(
|
|
1625
|
-
}, [
|
|
1624
|
+
return qt(i, G);
|
|
1625
|
+
}, [
|
|
1626
|
+
t,
|
|
1627
|
+
e,
|
|
1628
|
+
r,
|
|
1629
|
+
o,
|
|
1630
|
+
G,
|
|
1631
|
+
ee
|
|
1632
|
+
]), { isLoaded: O, error: M } = Ht(
|
|
1626
1633
|
null,
|
|
1627
|
-
|
|
1634
|
+
g || void 0
|
|
1628
1635
|
);
|
|
1629
|
-
return
|
|
1630
|
-
if (!
|
|
1631
|
-
|
|
1636
|
+
return $e(() => {
|
|
1637
|
+
if (!g) {
|
|
1638
|
+
J(
|
|
1632
1639
|
"VPPlayer: Provide scriptUrl OR (scriptId + videoId) OR (scriptId + config) to initialize the player."
|
|
1633
1640
|
);
|
|
1634
1641
|
return;
|
|
1635
1642
|
}
|
|
1636
|
-
if (
|
|
1637
|
-
|
|
1643
|
+
if (M) {
|
|
1644
|
+
J(M);
|
|
1638
1645
|
return;
|
|
1639
1646
|
}
|
|
1640
|
-
if (!
|
|
1641
|
-
let
|
|
1647
|
+
if (!O) return;
|
|
1648
|
+
let i = !0;
|
|
1642
1649
|
return (async () => {
|
|
1643
|
-
var
|
|
1650
|
+
var k;
|
|
1644
1651
|
try {
|
|
1645
|
-
const
|
|
1646
|
-
if (!
|
|
1647
|
-
|
|
1648
|
-
`VP Player: Script loaded but global function not found. Expected ${
|
|
1652
|
+
const H = o ? window.vpVerticalPlayer : window.vpPlayer;
|
|
1653
|
+
if (!H) {
|
|
1654
|
+
J(
|
|
1655
|
+
`VP Player: Script loaded but global function not found. Expected ${o ? "vpVerticalPlayer" : "vpPlayer"}.`
|
|
1649
1656
|
);
|
|
1650
1657
|
return;
|
|
1651
1658
|
}
|
|
1652
|
-
if (await new Promise((
|
|
1659
|
+
if (await new Promise((A) => setTimeout(A, 0)), !document.getElementById(G)) {
|
|
1653
1660
|
console.error(
|
|
1654
|
-
`VP Player: Container element with ID '${
|
|
1661
|
+
`VP Player: Container element with ID '${G}' not found in DOM.`
|
|
1655
1662
|
);
|
|
1656
1663
|
return;
|
|
1657
1664
|
}
|
|
1658
|
-
const R =
|
|
1665
|
+
const R = H(G);
|
|
1659
1666
|
if (!R) {
|
|
1660
|
-
|
|
1667
|
+
J("VP Player: Failed to get player instance.");
|
|
1661
1668
|
return;
|
|
1662
1669
|
}
|
|
1663
|
-
if (
|
|
1664
|
-
if (
|
|
1665
|
-
let
|
|
1670
|
+
if (i) {
|
|
1671
|
+
if (q.current = R, J(null), ee && ae.current) {
|
|
1672
|
+
let A;
|
|
1666
1673
|
const f = await Gt(
|
|
1667
1674
|
e,
|
|
1668
|
-
|
|
1669
|
-
|
|
1675
|
+
r,
|
|
1676
|
+
o
|
|
1670
1677
|
);
|
|
1671
|
-
f ?
|
|
1678
|
+
f ? A = Or(f, ae.current) : A = ae.current, n && !A.projectId && (A.projectId = n);
|
|
1672
1679
|
try {
|
|
1673
|
-
await R.setup(
|
|
1674
|
-
} catch (
|
|
1675
|
-
const
|
|
1676
|
-
if (
|
|
1680
|
+
await R.setup(A);
|
|
1681
|
+
} catch (c) {
|
|
1682
|
+
const m = c instanceof Error ? c.message : String(c);
|
|
1683
|
+
if (m.includes("already initialized")) {
|
|
1677
1684
|
console.warn(
|
|
1678
1685
|
"VP Player: Player already initialized, attempting to destroy and retry."
|
|
1679
1686
|
);
|
|
1680
1687
|
try {
|
|
1681
|
-
if ((
|
|
1682
|
-
const
|
|
1683
|
-
|
|
1688
|
+
if ((k = R.destroy) == null || k.call(R), await new Promise((y) => setTimeout(y, 50)), i && document.getElementById(G)) {
|
|
1689
|
+
const y = H(G);
|
|
1690
|
+
y && (await y.setup(A), q.current = y);
|
|
1684
1691
|
}
|
|
1685
|
-
} catch (
|
|
1692
|
+
} catch (y) {
|
|
1686
1693
|
console.error(
|
|
1687
1694
|
"VP Player: Failed to recover from initialization error",
|
|
1688
|
-
|
|
1695
|
+
y
|
|
1689
1696
|
);
|
|
1690
1697
|
}
|
|
1691
1698
|
} else {
|
|
1692
|
-
console.error("VP Player: Setup error",
|
|
1699
|
+
console.error("VP Player: Setup error", c), J(`Player setup failed: ${m}`);
|
|
1693
1700
|
return;
|
|
1694
1701
|
}
|
|
1695
1702
|
}
|
|
1696
1703
|
}
|
|
1697
1704
|
if (R.on) {
|
|
1698
|
-
const
|
|
1699
|
-
|
|
1700
|
-
var
|
|
1701
|
-
const
|
|
1702
|
-
if (
|
|
1703
|
-
if (
|
|
1704
|
-
const
|
|
1705
|
-
(U = (
|
|
1705
|
+
const A = R.on.bind(R);
|
|
1706
|
+
A("vp-event", (f) => {
|
|
1707
|
+
var y, U, B, re, Xe, Je, Ze, Ke, Qe, er, rr, tr, nr;
|
|
1708
|
+
const c = f, m = c == null ? void 0 : c.eventName;
|
|
1709
|
+
if (o) {
|
|
1710
|
+
if (m === "play" && !Z.current) {
|
|
1711
|
+
const ge = R.videoObject;
|
|
1712
|
+
(U = (y = d.current).onPlay) == null || U.call(y, ge);
|
|
1706
1713
|
}
|
|
1707
|
-
if (
|
|
1708
|
-
const
|
|
1709
|
-
!
|
|
1714
|
+
if (m === "vp-state-paused") {
|
|
1715
|
+
const de = ((B = R.isEnded) == null ? void 0 : B.call(R)) ?? !1, ge = (c == null ? void 0 : c.interaction) ?? !0;
|
|
1716
|
+
!de && ge && (Z.current = !0, (Xe = (re = d.current).onPause) == null || Xe.call(re));
|
|
1710
1717
|
}
|
|
1711
|
-
if (
|
|
1718
|
+
if (m === "vp-state-playing" && (((c == null ? void 0 : c.interaction) ?? Z.current) && Z.current && ((Ze = (Je = d.current).onResume) == null || Ze.call(Je)), Z.current = !1), m === "vp-video-switch") {
|
|
1712
1719
|
Z.current = !1;
|
|
1713
|
-
const
|
|
1714
|
-
|
|
1720
|
+
const de = c;
|
|
1721
|
+
(Qe = (Ke = d.current).onVideoSwitch) == null || Qe.call(Ke, de);
|
|
1722
|
+
const ge = de.direction, ar = de.currentTime ?? 0;
|
|
1723
|
+
ge === "next" ? (rr = (er = d.current).onNext) == null || rr.call(er, ar) : ge === "prev" && ((nr = (tr = d.current).onPrevious) == null || nr.call(tr, ar));
|
|
1715
1724
|
}
|
|
1716
|
-
|
|
1725
|
+
m === "vp-video-completed" && (Z.current = !1);
|
|
1717
1726
|
}
|
|
1718
|
-
}),
|
|
1719
|
-
var f,
|
|
1720
|
-
(
|
|
1721
|
-
}),
|
|
1722
|
-
var f,
|
|
1723
|
-
(
|
|
1724
|
-
}),
|
|
1725
|
-
var f,
|
|
1726
|
-
(
|
|
1727
|
-
}),
|
|
1728
|
-
var f,
|
|
1729
|
-
(
|
|
1730
|
-
}),
|
|
1731
|
-
var
|
|
1732
|
-
const
|
|
1733
|
-
(
|
|
1734
|
-
}),
|
|
1735
|
-
var
|
|
1736
|
-
const
|
|
1737
|
-
(
|
|
1738
|
-
}),
|
|
1739
|
-
var
|
|
1740
|
-
(
|
|
1741
|
-
}),
|
|
1742
|
-
var
|
|
1743
|
-
const f = ((
|
|
1744
|
-
(
|
|
1745
|
-
}),
|
|
1746
|
-
var
|
|
1747
|
-
const f = ((
|
|
1748
|
-
(
|
|
1749
|
-
|
|
1727
|
+
}), A("analytics-25%-completed", () => {
|
|
1728
|
+
var f, c;
|
|
1729
|
+
(c = (f = d.current).onQuartile25) == null || c.call(f);
|
|
1730
|
+
}), A("analytics-50%-completed", () => {
|
|
1731
|
+
var f, c;
|
|
1732
|
+
(c = (f = d.current).onQuartile50) == null || c.call(f);
|
|
1733
|
+
}), A("analytics-75%-completed", () => {
|
|
1734
|
+
var f, c;
|
|
1735
|
+
(c = (f = d.current).onQuartile75) == null || c.call(f);
|
|
1736
|
+
}), o || A("pause", () => {
|
|
1737
|
+
var f, c;
|
|
1738
|
+
(c = (f = d.current).onPause) == null || c.call(f);
|
|
1739
|
+
}), A("error", (f) => {
|
|
1740
|
+
var m, y;
|
|
1741
|
+
const c = typeof f == "string" ? f : (f == null ? void 0 : f.message) || "Unknown error";
|
|
1742
|
+
(y = (m = d.current).onError) == null || y.call(m, c);
|
|
1743
|
+
}), o ? (A("vp-first-frame", () => {
|
|
1744
|
+
var m, y;
|
|
1745
|
+
const c = R.videoObject;
|
|
1746
|
+
(y = (m = d.current).onReady) == null || y.call(m, c);
|
|
1747
|
+
}), A("vp-video-started", (f) => {
|
|
1748
|
+
var c, m;
|
|
1749
|
+
(m = (c = d.current).onVideoStarted) == null || m.call(c, f);
|
|
1750
|
+
}), A("vp-twenty-view", () => {
|
|
1751
|
+
var c, m, y;
|
|
1752
|
+
const f = ((c = R.getPosition) == null ? void 0 : c.call(R)) ?? 20;
|
|
1753
|
+
(y = (m = d.current).onProgress20s) == null || y.call(m, Math.floor(f));
|
|
1754
|
+
}), A("vp-video-state", () => {
|
|
1755
|
+
var c, m, y;
|
|
1756
|
+
const f = ((c = R.getPosition) == null ? void 0 : c.call(R)) ?? 0;
|
|
1757
|
+
(y = (m = d.current).onProgress10s) == null || y.call(
|
|
1758
|
+
m,
|
|
1750
1759
|
Math.floor(f)
|
|
1751
1760
|
);
|
|
1752
|
-
}),
|
|
1753
|
-
var
|
|
1754
|
-
let
|
|
1755
|
-
typeof f == "number" ?
|
|
1756
|
-
}),
|
|
1757
|
-
var f,
|
|
1758
|
-
(
|
|
1759
|
-
})) : (
|
|
1760
|
-
var f,
|
|
1761
|
-
(
|
|
1762
|
-
}),
|
|
1763
|
-
var
|
|
1764
|
-
|
|
1765
|
-
|
|
1766
|
-
|
|
1767
|
-
|
|
1768
|
-
|
|
1769
|
-
|
|
1770
|
-
|
|
1771
|
-
}
|
|
1772
|
-
|
|
1773
|
-
|
|
1774
|
-
|
|
1775
|
-
}), C("complete", () => {
|
|
1776
|
-
var f, l;
|
|
1777
|
-
(l = (f = p.current).onComplete) == null || l.call(f), re.current = !1;
|
|
1778
|
-
}), C("video-started", (f) => {
|
|
1779
|
-
var B, X;
|
|
1780
|
-
const l = f ?? {}, g = l.videoId || he.current, w = vr(g, R), U = {
|
|
1781
|
-
...l,
|
|
1782
|
-
videoId: g,
|
|
1783
|
-
nextVideoId: w
|
|
1761
|
+
}), A("vp-time", (f) => {
|
|
1762
|
+
var m, y, U;
|
|
1763
|
+
let c = 0;
|
|
1764
|
+
typeof f == "number" ? c = f : f && typeof f == "object" && "position" in f ? c = f.position : c = ((m = R.getPosition) == null ? void 0 : m.call(R)) ?? 0, (U = (y = d.current).onTimeUpdate) == null || U.call(y, c);
|
|
1765
|
+
}), A("vp-video-completed", () => {
|
|
1766
|
+
var f, c;
|
|
1767
|
+
(c = (f = d.current).onComplete) == null || c.call(f);
|
|
1768
|
+
})) : (A("ready", () => {
|
|
1769
|
+
var f, c;
|
|
1770
|
+
(c = (f = d.current).onReady) == null || c.call(f);
|
|
1771
|
+
}), A("play", (f) => {
|
|
1772
|
+
var m, y, U, B;
|
|
1773
|
+
const c = f;
|
|
1774
|
+
c != null && c.resume || c != null && c.afterPause ? (y = (m = d.current).onResume) == null || y.call(m) : (B = (U = d.current).onPlay) == null || B.call(U);
|
|
1775
|
+
}), A("complete", () => {
|
|
1776
|
+
var f, c;
|
|
1777
|
+
(c = (f = d.current).onComplete) == null || c.call(f), ne.current = !1;
|
|
1778
|
+
}), A("video-started", (f) => {
|
|
1779
|
+
var B, re;
|
|
1780
|
+
const c = f ?? {}, m = c.videoId || ue.current, y = vr(m, R), U = {
|
|
1781
|
+
...c,
|
|
1782
|
+
videoId: m,
|
|
1783
|
+
nextVideoId: y
|
|
1784
1784
|
};
|
|
1785
|
-
(
|
|
1786
|
-
}),
|
|
1787
|
-
var
|
|
1788
|
-
const f = ((
|
|
1789
|
-
(
|
|
1790
|
-
|
|
1785
|
+
(re = (B = d.current).onVideoStarted) == null || re.call(B, U);
|
|
1786
|
+
}), A("video-state", () => {
|
|
1787
|
+
var c, m, y;
|
|
1788
|
+
const f = ((c = R.getPosition) == null ? void 0 : c.call(R)) ?? 0;
|
|
1789
|
+
(y = (m = d.current).onProgress10s) == null || y.call(
|
|
1790
|
+
m,
|
|
1791
1791
|
Math.floor(f)
|
|
1792
1792
|
);
|
|
1793
|
-
}),
|
|
1794
|
-
var
|
|
1795
|
-
let
|
|
1796
|
-
typeof f == "number" ?
|
|
1797
|
-
}),
|
|
1798
|
-
var B,
|
|
1799
|
-
|
|
1800
|
-
const
|
|
1801
|
-
|
|
1802
|
-
const
|
|
1803
|
-
videoId:
|
|
1804
|
-
nextVideoId:
|
|
1793
|
+
}), A("time", (f) => {
|
|
1794
|
+
var m, y, U, B, re;
|
|
1795
|
+
let c = 0;
|
|
1796
|
+
typeof f == "number" ? c = f : f && typeof f == "object" && "position" in f ? c = f.position : c = ((m = R.getPosition) == null ? void 0 : m.call(R)) ?? 0, (U = (y = d.current).onTimeUpdate) == null || U.call(y, c), !ne.current && c >= 20 && (ne.current = !0, (re = (B = d.current).onProgress20s) == null || re.call(B, Math.floor(c)));
|
|
1797
|
+
}), A("playlistItem", (f) => {
|
|
1798
|
+
var B, re;
|
|
1799
|
+
ne.current = !1;
|
|
1800
|
+
const c = f;
|
|
1801
|
+
ue.current = c == null ? void 0 : c.id;
|
|
1802
|
+
const m = c == null ? void 0 : c.id, y = vr(m, R), U = {
|
|
1803
|
+
videoId: m,
|
|
1804
|
+
nextVideoId: y
|
|
1805
1805
|
};
|
|
1806
|
-
(
|
|
1807
|
-
}),
|
|
1808
|
-
var
|
|
1809
|
-
const
|
|
1810
|
-
(U = (
|
|
1806
|
+
(re = (B = d.current).onPlaylistItem) == null || re.call(B, U);
|
|
1807
|
+
}), A("nextClick", (f) => {
|
|
1808
|
+
var y, U;
|
|
1809
|
+
const c = f, m = (c == null ? void 0 : c.currentTime) ?? 0;
|
|
1810
|
+
(U = (y = d.current).onNext) == null || U.call(y, m);
|
|
1811
|
+
}), A("vp-video-switch", (f) => {
|
|
1812
|
+
var m, y;
|
|
1813
|
+
const c = f ?? {};
|
|
1814
|
+
(y = (m = d.current).onVideoSwitch) == null || y.call(m, c);
|
|
1811
1815
|
}));
|
|
1812
1816
|
}
|
|
1813
1817
|
}
|
|
1814
|
-
} catch (
|
|
1815
|
-
if (
|
|
1816
|
-
const
|
|
1817
|
-
|
|
1818
|
+
} catch (H) {
|
|
1819
|
+
if (i) {
|
|
1820
|
+
const me = H instanceof Error ? H.message : String(H);
|
|
1821
|
+
J(me), console.error("VP Player initialization error:", H);
|
|
1818
1822
|
}
|
|
1819
1823
|
}
|
|
1820
1824
|
})(), () => {
|
|
1821
|
-
var
|
|
1822
|
-
if (
|
|
1825
|
+
var k;
|
|
1826
|
+
if (i = !1, (k = q.current) != null && k.destroy) {
|
|
1823
1827
|
try {
|
|
1824
|
-
|
|
1828
|
+
q.current.destroy();
|
|
1825
1829
|
} catch {
|
|
1826
1830
|
}
|
|
1827
|
-
|
|
1831
|
+
q.current = null;
|
|
1828
1832
|
}
|
|
1829
1833
|
};
|
|
1830
1834
|
}, [
|
|
1831
|
-
|
|
1832
|
-
|
|
1835
|
+
O,
|
|
1836
|
+
G,
|
|
1837
|
+
M,
|
|
1838
|
+
g,
|
|
1833
1839
|
o,
|
|
1834
|
-
|
|
1835
|
-
E,
|
|
1836
|
-
m,
|
|
1840
|
+
ee,
|
|
1837
1841
|
e,
|
|
1838
|
-
n
|
|
1842
|
+
n,
|
|
1843
|
+
r
|
|
1839
1844
|
]), {
|
|
1840
|
-
playerRef:
|
|
1841
|
-
playerInstanceRef:
|
|
1842
|
-
isScriptLoaded:
|
|
1843
|
-
isLoading: !
|
|
1844
|
-
error:
|
|
1845
|
-
generatedPlayerId:
|
|
1846
|
-
// Expose transition state for safe config updates
|
|
1847
|
-
isInPlaylistTransitionRef: se,
|
|
1848
|
-
pendingVideoLockingRef: ce
|
|
1845
|
+
playerRef: ce,
|
|
1846
|
+
playerInstanceRef: q,
|
|
1847
|
+
isScriptLoaded: O,
|
|
1848
|
+
isLoading: !O && !Q,
|
|
1849
|
+
error: Q,
|
|
1850
|
+
generatedPlayerId: G
|
|
1849
1851
|
};
|
|
1850
1852
|
}, Xt = br(
|
|
1851
1853
|
({
|
|
@@ -1856,37 +1858,36 @@ const Bt = ({
|
|
|
1856
1858
|
config: a,
|
|
1857
1859
|
playerId: s,
|
|
1858
1860
|
isVertical: u = !1,
|
|
1859
|
-
isReels:
|
|
1860
|
-
thumbnailUrl:
|
|
1861
|
-
onClose:
|
|
1861
|
+
isReels: p = !1,
|
|
1862
|
+
thumbnailUrl: w,
|
|
1863
|
+
onClose: v,
|
|
1862
1864
|
className: h,
|
|
1863
|
-
hiddenClasses:
|
|
1865
|
+
hiddenClasses: b = [],
|
|
1864
1866
|
onReady: I,
|
|
1865
|
-
onPlay:
|
|
1866
|
-
onPause:
|
|
1867
|
-
onResume:
|
|
1868
|
-
onComplete:
|
|
1869
|
-
onError:
|
|
1870
|
-
onVideoStarted:
|
|
1871
|
-
onTimeUpdate:
|
|
1872
|
-
onQuartile25:
|
|
1867
|
+
onPlay: $,
|
|
1868
|
+
onPause: j,
|
|
1869
|
+
onResume: x,
|
|
1870
|
+
onComplete: P,
|
|
1871
|
+
onError: S,
|
|
1872
|
+
onVideoStarted: C,
|
|
1873
|
+
onTimeUpdate: V,
|
|
1874
|
+
onQuartile25: N,
|
|
1873
1875
|
onQuartile50: z,
|
|
1874
|
-
onQuartile75:
|
|
1875
|
-
onNext:
|
|
1876
|
-
onPrevious:
|
|
1877
|
-
onProgress10s:
|
|
1878
|
-
onProgress20s:
|
|
1879
|
-
onPlaylistItem:
|
|
1880
|
-
|
|
1876
|
+
onQuartile75: F,
|
|
1877
|
+
onNext: E,
|
|
1878
|
+
onPrevious: te,
|
|
1879
|
+
onProgress10s: ce,
|
|
1880
|
+
onProgress20s: q,
|
|
1881
|
+
onPlaylistItem: Q,
|
|
1882
|
+
onVideoSwitch: J
|
|
1883
|
+
}, fe) => {
|
|
1881
1884
|
const {
|
|
1882
|
-
playerRef:
|
|
1883
|
-
playerInstanceRef:
|
|
1884
|
-
isScriptLoaded:
|
|
1885
|
+
playerRef: G,
|
|
1886
|
+
playerInstanceRef: d,
|
|
1887
|
+
isScriptLoaded: ne,
|
|
1885
1888
|
isLoading: Z,
|
|
1886
|
-
error:
|
|
1887
|
-
generatedPlayerId:
|
|
1888
|
-
isInPlaylistTransitionRef: ce,
|
|
1889
|
-
pendingVideoLockingRef: le
|
|
1889
|
+
error: ue,
|
|
1890
|
+
generatedPlayerId: ae
|
|
1890
1891
|
} = Bt({
|
|
1891
1892
|
scriptId: e,
|
|
1892
1893
|
videoId: r,
|
|
@@ -1895,133 +1896,133 @@ const Bt = ({
|
|
|
1895
1896
|
config: a,
|
|
1896
1897
|
playerId: s,
|
|
1897
1898
|
isVertical: u,
|
|
1898
|
-
isReels:
|
|
1899
|
+
isReels: p,
|
|
1899
1900
|
onReady: I,
|
|
1900
|
-
onPlay:
|
|
1901
|
-
onPause:
|
|
1902
|
-
onResume:
|
|
1903
|
-
onComplete:
|
|
1904
|
-
onError:
|
|
1905
|
-
onVideoStarted:
|
|
1906
|
-
onTimeUpdate:
|
|
1907
|
-
onQuartile25:
|
|
1901
|
+
onPlay: $,
|
|
1902
|
+
onPause: j,
|
|
1903
|
+
onResume: x,
|
|
1904
|
+
onComplete: P,
|
|
1905
|
+
onError: S,
|
|
1906
|
+
onVideoStarted: C,
|
|
1907
|
+
onTimeUpdate: V,
|
|
1908
|
+
onQuartile25: N,
|
|
1908
1909
|
onQuartile50: z,
|
|
1909
|
-
onQuartile75:
|
|
1910
|
-
onNext:
|
|
1911
|
-
onPrevious:
|
|
1912
|
-
onProgress10s:
|
|
1913
|
-
onProgress20s:
|
|
1914
|
-
onPlaylistItem:
|
|
1910
|
+
onQuartile75: F,
|
|
1911
|
+
onNext: E,
|
|
1912
|
+
onPrevious: te,
|
|
1913
|
+
onProgress10s: ce,
|
|
1914
|
+
onProgress20s: q,
|
|
1915
|
+
onPlaylistItem: Q,
|
|
1916
|
+
onVideoSwitch: J
|
|
1915
1917
|
});
|
|
1916
|
-
|
|
1917
|
-
|
|
1918
|
+
Ir(
|
|
1919
|
+
fe,
|
|
1918
1920
|
() => ({
|
|
1919
1921
|
play: () => {
|
|
1920
|
-
var
|
|
1921
|
-
return (
|
|
1922
|
+
var i, l;
|
|
1923
|
+
return (l = (i = d.current) == null ? void 0 : i.play) == null ? void 0 : l.call(i);
|
|
1922
1924
|
},
|
|
1923
1925
|
pause: () => {
|
|
1924
|
-
var
|
|
1925
|
-
return (
|
|
1926
|
+
var i, l;
|
|
1927
|
+
return (l = (i = d.current) == null ? void 0 : i.pause) == null ? void 0 : l.call(i);
|
|
1926
1928
|
},
|
|
1927
|
-
seek: (
|
|
1928
|
-
var
|
|
1929
|
-
return (
|
|
1929
|
+
seek: (i) => {
|
|
1930
|
+
var l, k;
|
|
1931
|
+
return (k = (l = d.current) == null ? void 0 : l.seek) == null ? void 0 : k.call(l, i);
|
|
1930
1932
|
},
|
|
1931
1933
|
forward: () => {
|
|
1932
|
-
var
|
|
1933
|
-
return (
|
|
1934
|
+
var i, l;
|
|
1935
|
+
return (l = (i = d.current) == null ? void 0 : i.forward) == null ? void 0 : l.call(i);
|
|
1934
1936
|
},
|
|
1935
1937
|
rewind: () => {
|
|
1936
|
-
var
|
|
1937
|
-
return (
|
|
1938
|
+
var i, l;
|
|
1939
|
+
return (l = (i = d.current) == null ? void 0 : i.rewind) == null ? void 0 : l.call(i);
|
|
1938
1940
|
},
|
|
1939
1941
|
replay: () => {
|
|
1940
|
-
var
|
|
1941
|
-
return (
|
|
1942
|
+
var i, l;
|
|
1943
|
+
return (l = (i = d.current) == null ? void 0 : i.replay) == null ? void 0 : l.call(i);
|
|
1942
1944
|
},
|
|
1943
1945
|
mute: () => {
|
|
1944
|
-
var
|
|
1945
|
-
return (
|
|
1946
|
+
var i, l;
|
|
1947
|
+
return (l = (i = d.current) == null ? void 0 : i.mute) == null ? void 0 : l.call(i);
|
|
1946
1948
|
},
|
|
1947
1949
|
unmute: () => {
|
|
1948
|
-
var
|
|
1949
|
-
return (
|
|
1950
|
+
var i, l;
|
|
1951
|
+
return (l = (i = d.current) == null ? void 0 : i.unmute) == null ? void 0 : l.call(i);
|
|
1950
1952
|
},
|
|
1951
1953
|
togglePlay: () => {
|
|
1952
|
-
var
|
|
1953
|
-
return (
|
|
1954
|
+
var i, l;
|
|
1955
|
+
return (l = (i = d.current) == null ? void 0 : i.togglePlay) == null ? void 0 : l.call(i);
|
|
1954
1956
|
},
|
|
1955
1957
|
toggleMute: () => {
|
|
1956
|
-
var
|
|
1957
|
-
return (
|
|
1958
|
+
var i, l;
|
|
1959
|
+
return (l = (i = d.current) == null ? void 0 : i.toggleMute) == null ? void 0 : l.call(i);
|
|
1958
1960
|
},
|
|
1959
1961
|
enterFullScreen: () => {
|
|
1960
|
-
var
|
|
1961
|
-
return (
|
|
1962
|
+
var i, l, k;
|
|
1963
|
+
return (k = ((i = d.current) == null ? void 0 : i.enterFullScreen) ?? ((l = d.current) == null ? void 0 : l.enterFullscreen)) == null ? void 0 : k();
|
|
1962
1964
|
},
|
|
1963
1965
|
exitFullScreen: () => {
|
|
1964
|
-
var
|
|
1965
|
-
return (
|
|
1966
|
+
var i, l, k;
|
|
1967
|
+
return (k = ((i = d.current) == null ? void 0 : i.exitFullScreen) ?? ((l = d.current) == null ? void 0 : l.exitFullscreen)) == null ? void 0 : k();
|
|
1966
1968
|
},
|
|
1967
1969
|
getPosition: () => {
|
|
1968
|
-
var
|
|
1969
|
-
return ((
|
|
1970
|
+
var i, l;
|
|
1971
|
+
return ((l = (i = d.current) == null ? void 0 : i.getPosition) == null ? void 0 : l.call(i)) ?? null;
|
|
1970
1972
|
},
|
|
1971
1973
|
getDuration: () => {
|
|
1972
|
-
var
|
|
1973
|
-
return ((
|
|
1974
|
+
var i, l;
|
|
1975
|
+
return ((l = (i = d.current) == null ? void 0 : i.getDuration) == null ? void 0 : l.call(i)) ?? null;
|
|
1974
1976
|
},
|
|
1975
1977
|
getVolume: () => {
|
|
1976
|
-
var
|
|
1977
|
-
return ((
|
|
1978
|
+
var i, l;
|
|
1979
|
+
return ((l = (i = d.current) == null ? void 0 : i.getVolume) == null ? void 0 : l.call(i)) ?? null;
|
|
1978
1980
|
},
|
|
1979
|
-
setVolume: (
|
|
1980
|
-
var
|
|
1981
|
-
return (
|
|
1981
|
+
setVolume: (i) => {
|
|
1982
|
+
var l, k;
|
|
1983
|
+
return (k = (l = d.current) == null ? void 0 : l.setVolume) == null ? void 0 : k.call(l, i);
|
|
1982
1984
|
},
|
|
1983
1985
|
isMuted: () => {
|
|
1984
|
-
var
|
|
1985
|
-
return ((
|
|
1986
|
+
var i, l;
|
|
1987
|
+
return ((l = (i = d.current) == null ? void 0 : i.isMuted) == null ? void 0 : l.call(i)) ?? !1;
|
|
1986
1988
|
},
|
|
1987
1989
|
isPlaying: () => {
|
|
1988
|
-
var
|
|
1989
|
-
return ((
|
|
1990
|
+
var i, l;
|
|
1991
|
+
return ((l = (i = d.current) == null ? void 0 : i.isPlaying) == null ? void 0 : l.call(i)) ?? !1;
|
|
1990
1992
|
},
|
|
1991
1993
|
isPaused: () => {
|
|
1992
|
-
var
|
|
1993
|
-
return ((
|
|
1994
|
+
var i, l;
|
|
1995
|
+
return ((l = (i = d.current) == null ? void 0 : i.isPaused) == null ? void 0 : l.call(i)) ?? !1;
|
|
1994
1996
|
},
|
|
1995
1997
|
isFullscreen: () => {
|
|
1996
|
-
var
|
|
1997
|
-
return ((
|
|
1998
|
+
var i, l;
|
|
1999
|
+
return ((l = (i = d.current) == null ? void 0 : i.isFullscreen) == null ? void 0 : l.call(i)) ?? !1;
|
|
1998
2000
|
},
|
|
1999
|
-
|
|
2000
|
-
|
|
2001
|
-
|
|
2002
|
-
|
|
2003
|
-
|
|
2004
|
-
|
|
2005
|
-
|
|
2006
|
-
|
|
2007
|
-
|
|
2008
|
-
|
|
2009
|
-
(V = (c = p.current).setVideoLocking) == null || V.call(c, o);
|
|
2001
|
+
shouldLockVideo: (i) => {
|
|
2002
|
+
d.current && (d.current.shouldLockVideo = i ?? void 0);
|
|
2003
|
+
},
|
|
2004
|
+
removeVideoLock: () => {
|
|
2005
|
+
var i, l;
|
|
2006
|
+
return (l = (i = d.current) == null ? void 0 : i.removeVideoLock) == null ? void 0 : l.call(i);
|
|
2007
|
+
},
|
|
2008
|
+
setVideoLocking: (i) => {
|
|
2009
|
+
var l, k;
|
|
2010
|
+
return (k = (l = d.current) == null ? void 0 : l.setVideoLocking) == null ? void 0 : k.call(l, i);
|
|
2010
2011
|
}
|
|
2011
2012
|
}),
|
|
2012
2013
|
// eslint-disable-next-line react-hooks/exhaustive-deps
|
|
2013
2014
|
[]
|
|
2014
2015
|
);
|
|
2015
|
-
const [
|
|
2016
|
-
var
|
|
2017
|
-
!
|
|
2016
|
+
const [ee, o] = Fe(!0), g = () => p && o(!0), O = () => {
|
|
2017
|
+
var i, l;
|
|
2018
|
+
!p || !ee || (o(!1), (l = (i = d.current) == null ? void 0 : i.pause) == null || l.call(i), v == null || v());
|
|
2018
2019
|
};
|
|
2019
|
-
if (
|
|
2020
|
+
if (ue)
|
|
2020
2021
|
return /* @__PURE__ */ D.jsxs(gr, { type: "error", children: [
|
|
2021
2022
|
"An error occurred: ",
|
|
2022
|
-
|
|
2023
|
+
ue
|
|
2023
2024
|
] });
|
|
2024
|
-
const
|
|
2025
|
+
const M = () => /* @__PURE__ */ D.jsx(
|
|
2025
2026
|
"div",
|
|
2026
2027
|
{
|
|
2027
2028
|
style: {
|
|
@@ -2039,26 +2040,26 @@ const Bt = ({
|
|
|
2039
2040
|
children: /* @__PURE__ */ D.jsx(gr, { type: "loading", children: "Loading..." })
|
|
2040
2041
|
}
|
|
2041
2042
|
);
|
|
2042
|
-
return
|
|
2043
|
-
!
|
|
2043
|
+
return p ? /* @__PURE__ */ D.jsxs(D.Fragment, { children: [
|
|
2044
|
+
!ee && /* @__PURE__ */ D.jsx(
|
|
2044
2045
|
"div",
|
|
2045
2046
|
{
|
|
2046
|
-
onClick:
|
|
2047
|
+
onClick: g,
|
|
2047
2048
|
style: {
|
|
2048
2049
|
cursor: "pointer",
|
|
2049
2050
|
width: "100%",
|
|
2050
2051
|
height: "100%",
|
|
2051
|
-
backgroundImage:
|
|
2052
|
+
backgroundImage: w ? `url(${w})` : void 0,
|
|
2052
2053
|
backgroundSize: "cover",
|
|
2053
2054
|
backgroundPosition: "center"
|
|
2054
2055
|
}
|
|
2055
2056
|
}
|
|
2056
2057
|
),
|
|
2057
|
-
|
|
2058
|
+
ee && /* @__PURE__ */ D.jsx(Ft, { onClick: O, className: h, children: /* @__PURE__ */ D.jsx(
|
|
2058
2059
|
Vt,
|
|
2059
2060
|
{
|
|
2060
2061
|
className: h,
|
|
2061
|
-
onClick: (
|
|
2062
|
+
onClick: (i) => i.stopPropagation(),
|
|
2062
2063
|
children: /* @__PURE__ */ D.jsxs(
|
|
2063
2064
|
"div",
|
|
2064
2065
|
{
|
|
@@ -2071,15 +2072,15 @@ const Bt = ({
|
|
|
2071
2072
|
/* @__PURE__ */ D.jsx(
|
|
2072
2073
|
yr,
|
|
2073
2074
|
{
|
|
2074
|
-
id:
|
|
2075
|
-
ref:
|
|
2075
|
+
id: ae,
|
|
2076
|
+
ref: G,
|
|
2076
2077
|
width: "100%",
|
|
2077
2078
|
height: "100%",
|
|
2078
|
-
$hiddenClasses:
|
|
2079
|
+
$hiddenClasses: b,
|
|
2079
2080
|
className: h
|
|
2080
2081
|
}
|
|
2081
2082
|
),
|
|
2082
|
-
(Z || !
|
|
2083
|
+
(Z || !ne) && /* @__PURE__ */ D.jsx(M, {})
|
|
2083
2084
|
]
|
|
2084
2085
|
}
|
|
2085
2086
|
)
|
|
@@ -2089,15 +2090,15 @@ const Bt = ({
|
|
|
2089
2090
|
/* @__PURE__ */ D.jsx(
|
|
2090
2091
|
yr,
|
|
2091
2092
|
{
|
|
2092
|
-
id:
|
|
2093
|
-
ref:
|
|
2093
|
+
id: ae,
|
|
2094
|
+
ref: G,
|
|
2094
2095
|
width: "100%",
|
|
2095
2096
|
height: "100%",
|
|
2096
|
-
$hiddenClasses:
|
|
2097
|
+
$hiddenClasses: b,
|
|
2097
2098
|
className: h
|
|
2098
2099
|
}
|
|
2099
2100
|
),
|
|
2100
|
-
(Z || !
|
|
2101
|
+
(Z || !ne) && /* @__PURE__ */ D.jsx(M, {})
|
|
2101
2102
|
] });
|
|
2102
2103
|
}
|
|
2103
2104
|
);
|
|
@@ -2107,12 +2108,12 @@ export {
|
|
|
2107
2108
|
yr as PlayerContainer,
|
|
2108
2109
|
Vt as PlayerWrapper,
|
|
2109
2110
|
Xt as VPPlayer,
|
|
2110
|
-
|
|
2111
|
+
he as VP_PLAYER_BASE_URL,
|
|
2111
2112
|
qt as appendDivIdToUrl,
|
|
2112
2113
|
Yt as generatePlayerId,
|
|
2113
|
-
|
|
2114
|
+
Nt as getFullyManagedPlayerScriptUrl,
|
|
2114
2115
|
Zt as getManagedPlayerScriptUrl,
|
|
2115
|
-
|
|
2116
|
+
Lt as getPlayerScriptUrl,
|
|
2116
2117
|
zt as getVerticalPlayerScriptUrl,
|
|
2117
2118
|
Bt as useVPPlayerLogic,
|
|
2118
2119
|
Ht as useVPPlayerScript
|