@arbocollab/arbo-web-scene 0.26.6-alpha.7 → 0.26.6-alpha.9
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/es/index.es.js +538 -534
- package/package.json +1 -1
- package/umd/index.umd.js +76 -76
package/es/index.es.js
CHANGED
|
@@ -3925,14 +3925,14 @@ function zrr(e, t) {
|
|
|
3925
3925
|
nt.env.NODE_ENV !== "production" && j1e(ot || Oe.vnode), B4(Oe, !1), ot ? (ot.el = Ct.el, X(Oe, ot, Qe)) : ot = Ct, wt && HM(wt), (_n = ot.props && ot.props.onVnodeBeforeUpdate) && JS(_n, kt, ot, Ct), B4(Oe, !0), nt.env.NODE_ENV !== "production" && x8(Oe, "render");
|
|
3926
3926
|
const nn = AEt(Oe);
|
|
3927
3927
|
nt.env.NODE_ENV !== "production" && k8(Oe, "render");
|
|
3928
|
-
const
|
|
3928
|
+
const sn = Oe.subTree;
|
|
3929
3929
|
Oe.subTree = nn, nt.env.NODE_ENV !== "production" && x8(Oe, "patch"), g(
|
|
3930
|
-
|
|
3930
|
+
sn,
|
|
3931
3931
|
nn,
|
|
3932
3932
|
// parent may have changed if it's in a teleport
|
|
3933
|
-
f(
|
|
3933
|
+
f(sn.el),
|
|
3934
3934
|
// anchor may have changed if it's in a fragment
|
|
3935
|
-
ee(
|
|
3935
|
+
ee(sn),
|
|
3936
3936
|
Oe,
|
|
3937
3937
|
Xe,
|
|
3938
3938
|
Ke
|
|
@@ -3942,8 +3942,8 @@ function zrr(e, t) {
|
|
|
3942
3942
|
), nt.env.NODE_ENV !== "production" && Ain(Oe), nt.env.NODE_ENV !== "production" && H1e();
|
|
3943
3943
|
} else {
|
|
3944
3944
|
let ot;
|
|
3945
|
-
const { el: wt, props: bt } = Be, { bm: kt, m: Ct, parent: cn, root: _n, type: nn } = Oe,
|
|
3946
|
-
B4(Oe, !1), kt && HM(kt), !
|
|
3945
|
+
const { el: wt, props: bt } = Be, { bm: kt, m: Ct, parent: cn, root: _n, type: nn } = Oe, sn = rj(Be);
|
|
3946
|
+
B4(Oe, !1), kt && HM(kt), !sn && (ot = bt && bt.onVnodeBeforeMount) && JS(ot, cn, Be), B4(Oe, !0);
|
|
3947
3947
|
{
|
|
3948
3948
|
_n.ce && // @ts-expect-error _def is private
|
|
3949
3949
|
_n.ce._def.shadowRoot !== !1 && _n.ce._injectChildStyle(nn), nt.env.NODE_ENV !== "production" && x8(Oe, "render");
|
|
@@ -3958,7 +3958,7 @@ function zrr(e, t) {
|
|
|
3958
3958
|
Ke
|
|
3959
3959
|
), nt.env.NODE_ENV !== "production" && k8(Oe, "patch"), Be.el = wn.el;
|
|
3960
3960
|
}
|
|
3961
|
-
if (Ct && Xm(Ct, Xe), !
|
|
3961
|
+
if (Ct && Xm(Ct, Xe), !sn && (ot = bt && bt.onVnodeMounted)) {
|
|
3962
3962
|
const wn = Be;
|
|
3963
3963
|
Xm(
|
|
3964
3964
|
() => JS(ot, cn, wn),
|
|
@@ -4135,7 +4135,7 @@ function zrr(e, t) {
|
|
|
4135
4135
|
}
|
|
4136
4136
|
let cn, _n = 0;
|
|
4137
4137
|
const nn = wt - kt + 1;
|
|
4138
|
-
let
|
|
4138
|
+
let sn = !1, wn = 0;
|
|
4139
4139
|
const q = new Array(nn);
|
|
4140
4140
|
for (dt = 0; dt < nn; dt++) q[dt] = 0;
|
|
4141
4141
|
for (dt = bt; dt <= ot; dt++) {
|
|
@@ -4153,7 +4153,7 @@ function zrr(e, t) {
|
|
|
4153
4153
|
ct = cn;
|
|
4154
4154
|
break;
|
|
4155
4155
|
}
|
|
4156
|
-
ct === void 0 ? M(Ue, Xe, Ke, !0) : (q[ct - kt] = dt + 1, ct >= wn ? wn = ct :
|
|
4156
|
+
ct === void 0 ? M(Ue, Xe, Ke, !0) : (q[ct - kt] = dt + 1, ct >= wn ? wn = ct : sn = !0, g(
|
|
4157
4157
|
Ue,
|
|
4158
4158
|
Be[ct],
|
|
4159
4159
|
ke,
|
|
@@ -4165,7 +4165,7 @@ function zrr(e, t) {
|
|
|
4165
4165
|
Ne
|
|
4166
4166
|
), _n++);
|
|
4167
4167
|
}
|
|
4168
|
-
const pe =
|
|
4168
|
+
const pe = sn ? qrr(q) : c9;
|
|
4169
4169
|
for (cn = pe.length - 1, dt = nn - 1; dt >= 0; dt--) {
|
|
4170
4170
|
const Ue = kt + dt, ct = Be[Ue], Pe = Be[Ue + 1], Se = Ue + 1 < qe ? (
|
|
4171
4171
|
// #13559, fallback to el placeholder for unresolved async component
|
|
@@ -4181,7 +4181,7 @@ function zrr(e, t) {
|
|
|
4181
4181
|
Qe,
|
|
4182
4182
|
xe,
|
|
4183
4183
|
Ne
|
|
4184
|
-
) :
|
|
4184
|
+
) : sn && (cn < 0 || dt !== pe[cn] ? K(ct, ke, Se, 2) : cn--);
|
|
4185
4185
|
}
|
|
4186
4186
|
}
|
|
4187
4187
|
}, K = (Oe, Be, ke, rt, Xe = null) => {
|
|
@@ -11928,7 +11928,7 @@ const olr = (e, t) => {
|
|
|
11928
11928
|
(s = (i = e == null ? void 0 : e.config) == null ? void 0 : i.globalProperties) == null || s.setStoreValue("scene", "setCurrentSceneTabId", a);
|
|
11929
11929
|
}
|
|
11930
11930
|
return e.config.globalProperties.setStoreValue = r, e.config.globalProperties.handleSetTab = o, { handleSetTab: o };
|
|
11931
|
-
}, alr = "0.26.6-alpha.
|
|
11931
|
+
}, alr = "0.26.6-alpha.9", ilr = {
|
|
11932
11932
|
"@arbocollab/arbo-chart-component": "1.0.1",
|
|
11933
11933
|
"@arbocollab/arbo-comment-utils": "1.0.1",
|
|
11934
11934
|
"@arbocollab/arbo-common-utils": "npm:@arbocollab/arbo-common-utils@0.0.12-alpha.0",
|
|
@@ -12366,7 +12366,7 @@ var Pln = { exports: {} };
|
|
|
12366
12366
|
return Fe.apply(this, arguments) === !1 ? !1 : Le.apply(this, arguments);
|
|
12367
12367
|
};
|
|
12368
12368
|
}
|
|
12369
|
-
function
|
|
12369
|
+
function sn(Le, Fe) {
|
|
12370
12370
|
return Le === ot ? Fe : function() {
|
|
12371
12371
|
var it = Le.apply(this, arguments);
|
|
12372
12372
|
if (it && typeof it.then == "function") {
|
|
@@ -13588,11 +13588,11 @@ var Pln = { exports: {} };
|
|
|
13588
13588
|
cache: "immutable"
|
|
13589
13589
|
}).then(function(ut) {
|
|
13590
13590
|
for (var pt = [], $t = [], Gt = On ? [] : null, Kt = [], Qt = 0; Qt < et; ++Qt) {
|
|
13591
|
-
var
|
|
13592
|
-
value: ve(
|
|
13591
|
+
var ln = ut[Qt], An = {
|
|
13592
|
+
value: ve(ln),
|
|
13593
13593
|
primKey: nr[ye + Qt]
|
|
13594
13594
|
};
|
|
13595
|
-
Rt.call(An, An.value, An) !== !1 && (An.value == null ? Kt.push(nr[ye + Qt]) : !On && rr(Cn(
|
|
13595
|
+
Rt.call(An, An.value, An) !== !1 && (An.value == null ? Kt.push(nr[ye + Qt]) : !On && rr(Cn(ln), Cn(An.value)) !== 0 ? (Kt.push(nr[ye + Qt]), pt.push(An.value)) : ($t.push(An.value), On && Gt.push(nr[ye + Qt])));
|
|
13596
13596
|
}
|
|
13597
13597
|
return Promise.resolve(pt.length > 0 && en.mutate({ trans: St, type: "add", values: pt }).then(function(Qn) {
|
|
13598
13598
|
for (var Fn in Qn.failures)
|
|
@@ -14215,30 +14215,30 @@ var Pln = { exports: {} };
|
|
|
14215
14215
|
throw new Error("Given keys array must have same length as given values array.");
|
|
14216
14216
|
if (Kt === 0)
|
|
14217
14217
|
return et({ numFailures: 0, failures: {}, results: [], lastResult: void 0 });
|
|
14218
|
-
var Qt,
|
|
14218
|
+
var Qt, ln = [], An = [], Qn = 0, Fn = function(qp) {
|
|
14219
14219
|
++Qn, Sa(qp);
|
|
14220
14220
|
};
|
|
14221
14221
|
if (nr === "deleteRange") {
|
|
14222
14222
|
if (ye.type === 4)
|
|
14223
14223
|
return et({ numFailures: Qn, failures: An, results: [], lastResult: void 0 });
|
|
14224
|
-
ye.type === 3 ?
|
|
14224
|
+
ye.type === 3 ? ln.push(Qt = pt.clear()) : ln.push(Qt = pt.delete(St(ye)));
|
|
14225
14225
|
} else {
|
|
14226
14226
|
var zo = Gt ? $t ? [We, Ie] : [We, null] : [Ie, null], ci = zo[0], yi = zo[1];
|
|
14227
14227
|
if (Gt)
|
|
14228
14228
|
for (var Tc = 0; Tc < Kt; ++Tc)
|
|
14229
|
-
|
|
14229
|
+
ln.push(Qt = yi && yi[Tc] !== void 0 ? pt[nr](ci[Tc], yi[Tc]) : pt[nr](ci[Tc])), Qt.onerror = Fn;
|
|
14230
14230
|
else
|
|
14231
14231
|
for (var Tc = 0; Tc < Kt; ++Tc)
|
|
14232
|
-
|
|
14232
|
+
ln.push(Qt = pt[nr](ci[Tc])), Qt.onerror = Fn;
|
|
14233
14233
|
}
|
|
14234
14234
|
var dp = function(qp) {
|
|
14235
14235
|
var wb = qp.target.result;
|
|
14236
|
-
|
|
14236
|
+
ln.forEach(function(fp, Oc) {
|
|
14237
14237
|
return fp.error != null && (An[Oc] = fp.error);
|
|
14238
14238
|
}), et({
|
|
14239
14239
|
numFailures: Qn,
|
|
14240
14240
|
failures: An,
|
|
14241
|
-
results: nr === "delete" ? Ie :
|
|
14241
|
+
results: nr === "delete" ? Ie : ln.map(function(fp) {
|
|
14242
14242
|
return fp.result;
|
|
14243
14243
|
}),
|
|
14244
14244
|
lastResult: wb
|
|
@@ -14253,9 +14253,9 @@ var Pln = { exports: {} };
|
|
|
14253
14253
|
var cr = er.trans, nr = er.values, Ie = er.query, We = er.reverse, ye = er.unique;
|
|
14254
14254
|
return new Promise(function(et, ut) {
|
|
14255
14255
|
et = mr(et);
|
|
14256
|
-
var pt = Ie.index, $t = Ie.range, Gt = cr.objectStore(Un), Kt = pt.isPrimaryKey ? Gt : Gt.index(pt.name), Qt = We ? ye ? "prevunique" : "prev" : ye ? "nextunique" : "next",
|
|
14257
|
-
|
|
14258
|
-
var Qn =
|
|
14256
|
+
var pt = Ie.index, $t = Ie.range, Gt = cr.objectStore(Un), Kt = pt.isPrimaryKey ? Gt : Gt.index(pt.name), Qt = We ? ye ? "prevunique" : "prev" : ye ? "nextunique" : "next", ln = nr || !("openKeyCursor" in Kt) ? Kt.openCursor(St($t), Qt) : Kt.openKeyCursor(St($t), Qt);
|
|
14257
|
+
ln.onerror = ul(ut), ln.onsuccess = mr(function(An) {
|
|
14258
|
+
var Qn = ln.result;
|
|
14259
14259
|
if (!Qn) {
|
|
14260
14260
|
et(null);
|
|
14261
14261
|
return;
|
|
@@ -14277,11 +14277,11 @@ var Pln = { exports: {} };
|
|
|
14277
14277
|
});
|
|
14278
14278
|
}, Qn.start = function(dp) {
|
|
14279
14279
|
var qp = new Promise(function(fp, Oc) {
|
|
14280
|
-
fp = mr(fp),
|
|
14280
|
+
fp = mr(fp), ln.onerror = ul(Oc), Qn.fail = Oc, Qn.stop = function(pO) {
|
|
14281
14281
|
Qn.stop = Qn.continue = Qn.continuePrimaryKey = Qn.advance = Tc, fp(pO);
|
|
14282
14282
|
};
|
|
14283
14283
|
}), wb = function() {
|
|
14284
|
-
if (
|
|
14284
|
+
if (ln.result)
|
|
14285
14285
|
try {
|
|
14286
14286
|
dp();
|
|
14287
14287
|
} catch (fp) {
|
|
@@ -14292,8 +14292,8 @@ var Pln = { exports: {} };
|
|
|
14292
14292
|
throw new Error("Cursor behind last entry");
|
|
14293
14293
|
}, Qn.stop();
|
|
14294
14294
|
};
|
|
14295
|
-
return
|
|
14296
|
-
|
|
14295
|
+
return ln.onsuccess = mr(function(fp) {
|
|
14296
|
+
ln.onsuccess = wb, wb();
|
|
14297
14297
|
}), Qn.continue = Fn, Qn.continuePrimaryKey = zo, Qn.advance = ci, wb(), qp;
|
|
14298
14298
|
}, et(Qn);
|
|
14299
14299
|
}, ut);
|
|
@@ -14303,16 +14303,16 @@ var Pln = { exports: {} };
|
|
|
14303
14303
|
return function(cr) {
|
|
14304
14304
|
return new Promise(function(nr, Ie) {
|
|
14305
14305
|
nr = mr(nr);
|
|
14306
|
-
var We = cr.trans, ye = cr.values, et = cr.limit, ut = cr.query, pt = et === 1 / 0 ? void 0 : et, $t = ut.index, Gt = ut.range, Kt = We.objectStore(Un), Qt = $t.isPrimaryKey ? Kt : Kt.index($t.name),
|
|
14306
|
+
var We = cr.trans, ye = cr.values, et = cr.limit, ut = cr.query, pt = et === 1 / 0 ? void 0 : et, $t = ut.index, Gt = ut.range, Kt = We.objectStore(Un), Qt = $t.isPrimaryKey ? Kt : Kt.index($t.name), ln = St(Gt);
|
|
14307
14307
|
if (et === 0)
|
|
14308
14308
|
return nr({ result: [] });
|
|
14309
14309
|
if (er) {
|
|
14310
|
-
var An = ye ? Qt.getAll(
|
|
14310
|
+
var An = ye ? Qt.getAll(ln, pt) : Qt.getAllKeys(ln, pt);
|
|
14311
14311
|
An.onsuccess = function(ci) {
|
|
14312
14312
|
return nr({ result: ci.target.result });
|
|
14313
14313
|
}, An.onerror = ul(Ie);
|
|
14314
14314
|
} else {
|
|
14315
|
-
var Qn = 0, Fn = ye || !("openKeyCursor" in Qt) ? Qt.openCursor(
|
|
14315
|
+
var Qn = 0, Fn = ye || !("openKeyCursor" in Qt) ? Qt.openCursor(ln) : Qt.openKeyCursor(ln), zo = [];
|
|
14316
14316
|
Fn.onsuccess = function(ci) {
|
|
14317
14317
|
var yi = Fn.result;
|
|
14318
14318
|
if (!yi)
|
|
@@ -14336,9 +14336,9 @@ var Pln = { exports: {} };
|
|
|
14336
14336
|
for (var ye = cr.objectStore(Un), et = nr.length, ut = new Array(et), pt = 0, $t = 0, Gt, Kt = function(Qn) {
|
|
14337
14337
|
var Fn = Qn.target;
|
|
14338
14338
|
(ut[Fn._pos] = Fn.result) != null, ++$t === pt && Ie(ut);
|
|
14339
|
-
}, Qt = ul(We),
|
|
14340
|
-
var An = nr[
|
|
14341
|
-
An != null && (Gt = ye.get(nr[
|
|
14339
|
+
}, Qt = ul(We), ln = 0; ln < et; ++ln) {
|
|
14340
|
+
var An = nr[ln];
|
|
14341
|
+
An != null && (Gt = ye.get(nr[ln]), Gt._pos = ln, Gt.onsuccess = Kt, Gt.onerror = Qt, ++pt);
|
|
14342
14342
|
}
|
|
14343
14343
|
pt === 0 && Ie(ut);
|
|
14344
14344
|
});
|
|
@@ -14659,7 +14659,7 @@ var Pln = { exports: {} };
|
|
|
14659
14659
|
u(St, Wt._cfg.storesSource), Rt = Wt._cfg.dbschema = {}, Wt._parseStoresSpec(St, Rt);
|
|
14660
14660
|
}), it._dbSchema = Rt, ei(it, [it._allTables, it, it.Transaction.prototype]), cu(it, [it._allTables, it, it.Transaction.prototype, this._cfg.tables], s(Rt), Rt), it._storeNames = s(Rt), this;
|
|
14661
14661
|
}, Le.prototype.upgrade = function(Fe) {
|
|
14662
|
-
return this._cfg.contentUpgrade =
|
|
14662
|
+
return this._cfg.contentUpgrade = sn(this._cfg.contentUpgrade || ot, Fe), this;
|
|
14663
14663
|
}, Le;
|
|
14664
14664
|
}();
|
|
14665
14665
|
function ed(Le) {
|
|
@@ -14954,7 +14954,7 @@ var Pln = { exports: {} };
|
|
|
14954
14954
|
return Le.on.ready.fire(Le.vip);
|
|
14955
14955
|
})).then(function Cn() {
|
|
14956
14956
|
if (Fe.onReadyBeingFired.length > 0) {
|
|
14957
|
-
var Un = Fe.onReadyBeingFired.reduce(
|
|
14957
|
+
var Un = Fe.onReadyBeingFired.reduce(sn, ot);
|
|
14958
14958
|
return Fe.onReadyBeingFired = [], tr.resolve(Bc(function() {
|
|
14959
14959
|
return Un(Le.vip);
|
|
14960
14960
|
})).then(Cn);
|
|
@@ -15318,11 +15318,11 @@ var Pln = { exports: {} };
|
|
|
15318
15318
|
var St = Le.table(gt), Rt = St.schema, Wt = Rt.primaryKey, Jt = Rt.indexes, en = Wt.extractKey, yn = Wt.outbound, On = Wt.autoIncrement && Jt.filter(function(Tn) {
|
|
15319
15319
|
return Tn.compound && Tn.keyPath.includes(Wt.keyPath);
|
|
15320
15320
|
}), Cn = o(o({}, St), { mutate: function(Tn) {
|
|
15321
|
-
var Rn, er, cr = Tn.trans, nr = Tn.mutatedParts || (Tn.mutatedParts = {}), Ie = function(
|
|
15322
|
-
var An = "idb://".concat(Fe, "/").concat(gt, "/").concat(
|
|
15321
|
+
var Rn, er, cr = Tn.trans, nr = Tn.mutatedParts || (Tn.mutatedParts = {}), Ie = function(ln) {
|
|
15322
|
+
var An = "idb://".concat(Fe, "/").concat(gt, "/").concat(ln);
|
|
15323
15323
|
return nr[An] || (nr[An] = new jo());
|
|
15324
|
-
}, We = Ie(""), ye = Ie(":dels"), et = Tn.type, ut = Tn.type === "deleteRange" ? [Tn.range] : Tn.type === "delete" ? [Tn.keys] : Tn.values.length < 50 ? [Ee(Wt, Tn).filter(function(
|
|
15325
|
-
return
|
|
15324
|
+
}, We = Ie(""), ye = Ie(":dels"), et = Tn.type, ut = Tn.type === "deleteRange" ? [Tn.range] : Tn.type === "delete" ? [Tn.keys] : Tn.values.length < 50 ? [Ee(Wt, Tn).filter(function(ln) {
|
|
15325
|
+
return ln;
|
|
15326
15326
|
}), Tn.values] : [], pt = ut[0], $t = ut[1], Gt = Tn.trans._cache;
|
|
15327
15327
|
if (l(pt)) {
|
|
15328
15328
|
We.addKeys(pt);
|
|
@@ -15335,19 +15335,19 @@ var Pln = { exports: {} };
|
|
|
15335
15335
|
};
|
|
15336
15336
|
ye.add(Qt), We.add(Qt);
|
|
15337
15337
|
} else
|
|
15338
|
-
We.add(it), ye.add(it), Rt.indexes.forEach(function(
|
|
15339
|
-
return Ie(
|
|
15338
|
+
We.add(it), ye.add(it), Rt.indexes.forEach(function(ln) {
|
|
15339
|
+
return Ie(ln.name).add(it);
|
|
15340
15340
|
});
|
|
15341
|
-
return St.mutate(Tn).then(function(
|
|
15342
|
-
return pt && (Tn.type === "add" || Tn.type === "put") && (We.addKeys(
|
|
15341
|
+
return St.mutate(Tn).then(function(ln) {
|
|
15342
|
+
return pt && (Tn.type === "add" || Tn.type === "put") && (We.addKeys(ln.results), On && On.forEach(function(An) {
|
|
15343
15343
|
for (var Qn = Tn.values.map(function(yi) {
|
|
15344
15344
|
return An.extractKey(yi);
|
|
15345
15345
|
}), Fn = An.keyPath.findIndex(function(yi) {
|
|
15346
15346
|
return yi === Wt.keyPath;
|
|
15347
|
-
}), zo = 0, ci =
|
|
15348
|
-
Qn[zo][Fn] =
|
|
15347
|
+
}), zo = 0, ci = ln.results.length; zo < ci; ++zo)
|
|
15348
|
+
Qn[zo][Fn] = ln.results[zo];
|
|
15349
15349
|
Ie(An.name).addKeys(Qn);
|
|
15350
|
-
})), cr.mutatedParts = _(cr.mutatedParts || {}, nr),
|
|
15350
|
+
})), cr.mutatedParts = _(cr.mutatedParts || {}, nr), ln;
|
|
15351
15351
|
});
|
|
15352
15352
|
} }), Un = function(Tn) {
|
|
15353
15353
|
var Rn, er, cr = Tn.query, nr = cr.index, Ie = cr.range;
|
|
@@ -15389,22 +15389,22 @@ var Pln = { exports: {} };
|
|
|
15389
15389
|
var Qt = Rn.values ? Kt.result.map(en) : Kt.result;
|
|
15390
15390
|
Rn.values ? ye.addKeys(Qt) : et.addKeys(Qt);
|
|
15391
15391
|
} else if (Tn === "openCursor") {
|
|
15392
|
-
var
|
|
15393
|
-
return
|
|
15392
|
+
var ln = Kt, An = Rn.values;
|
|
15393
|
+
return ln && Object.create(ln, {
|
|
15394
15394
|
key: {
|
|
15395
15395
|
get: function() {
|
|
15396
|
-
return et.addKey(
|
|
15396
|
+
return et.addKey(ln.primaryKey), ln.key;
|
|
15397
15397
|
}
|
|
15398
15398
|
},
|
|
15399
15399
|
primaryKey: {
|
|
15400
15400
|
get: function() {
|
|
15401
|
-
var Qn =
|
|
15401
|
+
var Qn = ln.primaryKey;
|
|
15402
15402
|
return et.addKey(Qn), Qn;
|
|
15403
15403
|
}
|
|
15404
15404
|
},
|
|
15405
15405
|
value: {
|
|
15406
15406
|
get: function() {
|
|
15407
|
-
return An && ye.addKey(
|
|
15407
|
+
return An && ye.addKey(ln.primaryKey), ln.value;
|
|
15408
15408
|
}
|
|
15409
15409
|
}
|
|
15410
15410
|
});
|
|
@@ -15641,10 +15641,10 @@ var Pln = { exports: {} };
|
|
|
15641
15641
|
var ut = Kt[Gt];
|
|
15642
15642
|
if (ut.res != null && Wt.mutatedParts)
|
|
15643
15643
|
if (On && !ut.dirty) {
|
|
15644
|
-
var Qt = Object.isFrozen(ut.res),
|
|
15644
|
+
var Qt = Object.isFrozen(ut.res), ln = Ot(ut.res, ut.req, cr, er, ut, Qt);
|
|
15645
15645
|
ut.dirty ? (Ce(We, ut), ut.subscribers.forEach(function(Fn) {
|
|
15646
15646
|
return Cn.add(Fn);
|
|
15647
|
-
})) :
|
|
15647
|
+
})) : ln !== ut.res && (ut.res = ln, ut.promise = tr.resolve({ result: ln }));
|
|
15648
15648
|
} else
|
|
15649
15649
|
ut.dirty && Ce(We, ut), ut.subscribers.forEach(function(Fn) {
|
|
15650
15650
|
return Cn.add(Fn);
|
|
@@ -15788,7 +15788,7 @@ var Pln = { exports: {} };
|
|
|
15788
15788
|
Wt.dbReadyResolve = en;
|
|
15789
15789
|
}), Wt.openCanceller = new tr(function(en, yn) {
|
|
15790
15790
|
Wt.cancelOpen = yn;
|
|
15791
|
-
}), this._state = Wt, this.name = Fe, this.on = fa(this, "populate", "blocked", "versionchange", "close", { ready: [
|
|
15791
|
+
}), this._state = Wt, this.name = Fe, this.on = fa(this, "populate", "blocked", "versionchange", "close", { ready: [sn, ot] }), this.on.ready.subscribe = D(this.on.ready.subscribe, function(en) {
|
|
15792
15792
|
return function(yn, On) {
|
|
15793
15793
|
Le.vip(function() {
|
|
15794
15794
|
var Cn = gt._state;
|
|
@@ -19069,7 +19069,7 @@ function zut(e = {}, t) {
|
|
|
19069
19069
|
function fe(kt, Ct) {
|
|
19070
19070
|
return kt !== "translate" || !Ct.resolvedMessage;
|
|
19071
19071
|
}
|
|
19072
|
-
const K = (kt, Ct, cn, _n, nn,
|
|
19072
|
+
const K = (kt, Ct, cn, _n, nn, sn) => {
|
|
19073
19073
|
P();
|
|
19074
19074
|
let wn;
|
|
19075
19075
|
try {
|
|
@@ -19094,7 +19094,7 @@ function zut(e = {}, t) {
|
|
|
19094
19094
|
}
|
|
19095
19095
|
return n && w ? _n(n) : nn(q);
|
|
19096
19096
|
} else {
|
|
19097
|
-
if (
|
|
19097
|
+
if (sn(wn))
|
|
19098
19098
|
return wn;
|
|
19099
19099
|
throw _g(ku.UNEXPECTED_RETURN_TYPE);
|
|
19100
19100
|
}
|
|
@@ -19179,9 +19179,9 @@ function zut(e = {}, t) {
|
|
|
19179
19179
|
let Ct = null;
|
|
19180
19180
|
const cn = Qln(I, d.value, u.value);
|
|
19181
19181
|
for (let _n = 0; _n < cn.length; _n++) {
|
|
19182
|
-
const nn = f.value[cn[_n]] || {},
|
|
19183
|
-
if (
|
|
19184
|
-
Ct =
|
|
19182
|
+
const nn = f.value[cn[_n]] || {}, sn = I.messageResolver(nn, kt);
|
|
19183
|
+
if (sn != null) {
|
|
19184
|
+
Ct = sn;
|
|
19185
19185
|
break;
|
|
19186
19186
|
}
|
|
19187
19187
|
}
|
|
@@ -32163,7 +32163,7 @@ function Nvr(e, t) {
|
|
|
32163
32163
|
hideWithInteractivity: nn,
|
|
32164
32164
|
enable: ot,
|
|
32165
32165
|
disable: wt,
|
|
32166
|
-
unmount:
|
|
32166
|
+
unmount: sn,
|
|
32167
32167
|
destroy: wn
|
|
32168
32168
|
};
|
|
32169
32169
|
if (!n.render)
|
|
@@ -32523,7 +32523,7 @@ function Nvr(e, t) {
|
|
|
32523
32523
|
function nn(q) {
|
|
32524
32524
|
nt.env.NODE_ENV !== "production" && uI(y.state.isDestroyed, I8("hideWithInteractivity")), L().addEventListener("mousemove", v), STt(mye, v), v(q);
|
|
32525
32525
|
}
|
|
32526
|
-
function
|
|
32526
|
+
function sn() {
|
|
32527
32527
|
nt.env.NODE_ENV !== "production" && uI(y.state.isDestroyed, I8("unmount")), y.state.isVisible && y.hide(), y.state.isMounted && (Qe(), Ne().forEach(function(q) {
|
|
32528
32528
|
q._tippy.unmount();
|
|
32529
32529
|
}), k.parentNode && k.parentNode.removeChild(k), Lje = Lje.filter(function(q) {
|
|
@@ -33743,7 +33743,7 @@ var zdn = { exports: {} };
|
|
|
33743
33743
|
return [h, u(h), c];
|
|
33744
33744
|
}(), wt = hr[0], Bn = hr[1], hr = hr[2], Bn = Bn && Bn.then, bt = wt && wt.constructor, kt = !!hr, Ct = function(c, h) {
|
|
33745
33745
|
Ue.push([c, h]), _n && (queueMicrotask(Mt), _n = !1);
|
|
33746
|
-
}, cn = !0, _n = !0, nn = [],
|
|
33746
|
+
}, cn = !0, _n = !0, nn = [], sn = [], wn = Oe, q = { id: "global", global: !0, ref: 0, unhandleds: [], onunhandled: Ve, pgp: !1, env: {}, finalize: Ve }, pe = q, Ue = [], ct = 0, Pe = [];
|
|
33747
33747
|
function Se(c) {
|
|
33748
33748
|
if (typeof this != "object") throw new TypeError("Promises must be constructed via new");
|
|
33749
33749
|
this._listeners = [], this._lib = !1;
|
|
@@ -33787,7 +33787,7 @@ var zdn = { exports: {} };
|
|
|
33787
33787
|
}
|
|
33788
33788
|
function Dt(c, h) {
|
|
33789
33789
|
var b, _;
|
|
33790
|
-
|
|
33790
|
+
sn.push(h), c._state === null && (b = c._lib && Ft(), h = wn(h), c._state = !1, c._value = h, _ = c, nn.some(function(C) {
|
|
33791
33791
|
return C._value === _._value;
|
|
33792
33792
|
}) || nn.push(_), Bt(c), b && Zt());
|
|
33793
33793
|
}
|
|
@@ -33810,9 +33810,9 @@ var zdn = { exports: {} };
|
|
|
33810
33810
|
function _t(c, h, b) {
|
|
33811
33811
|
try {
|
|
33812
33812
|
var _, C = h._value;
|
|
33813
|
-
!h._state &&
|
|
33813
|
+
!h._state && sn.length && (sn = []), _ = Ne && h._consoleTask ? h._consoleTask.run(function() {
|
|
33814
33814
|
return c(C);
|
|
33815
|
-
}) : c(C), h._state ||
|
|
33815
|
+
}) : c(C), h._state || sn.indexOf(C) !== -1 || function(A) {
|
|
33816
33816
|
for (var V = nn.length; V; ) if (nn[--V]._value === A._value) return nn.splice(V, 1);
|
|
33817
33817
|
}(h), b.resolve(_);
|
|
33818
33818
|
} catch (A) {
|
|
@@ -56102,8 +56102,8 @@ function w$r(e = {}) {
|
|
|
56102
56102
|
key: _n,
|
|
56103
56103
|
type: wt
|
|
56104
56104
|
})), nt.env.NODE_ENV !== "production")) {
|
|
56105
|
-
const { __v_emitter:
|
|
56106
|
-
|
|
56105
|
+
const { __v_emitter: sn } = O;
|
|
56106
|
+
sn && v && sn.emit("fallback", {
|
|
56107
56107
|
type: wt,
|
|
56108
56108
|
key: _n,
|
|
56109
56109
|
to: "global",
|
|
@@ -64933,7 +64933,7 @@ function LPr(e, t) {
|
|
|
64933
64933
|
hideWithInteractivity: nn,
|
|
64934
64934
|
enable: ot,
|
|
64935
64935
|
disable: wt,
|
|
64936
|
-
unmount:
|
|
64936
|
+
unmount: sn,
|
|
64937
64937
|
destroy: wn
|
|
64938
64938
|
};
|
|
64939
64939
|
if (!n.render)
|
|
@@ -65293,7 +65293,7 @@ function LPr(e, t) {
|
|
|
65293
65293
|
function nn(q) {
|
|
65294
65294
|
nt.env.NODE_ENV !== "production" && cI(y.state.isDestroyed, j8("hideWithInteractivity")), L().addEventListener("mousemove", v), D$t(zye, v), v(q);
|
|
65295
65295
|
}
|
|
65296
|
-
function
|
|
65296
|
+
function sn() {
|
|
65297
65297
|
nt.env.NODE_ENV !== "production" && cI(y.state.isDestroyed, j8("unmount")), y.state.isVisible && y.hide(), y.state.isMounted && (Qe(), Ne().forEach(function(q) {
|
|
65298
65298
|
q._tippy.unmount();
|
|
65299
65299
|
}), k.parentNode && k.parentNode.removeChild(k), N6e = N6e.filter(function(q) {
|
|
@@ -66964,7 +66964,7 @@ var dNr = {
|
|
|
66964
66964
|
var mt = ho.now().setZone(f.timezone);
|
|
66965
66965
|
rt.value = mt.year, ke.value = mt.month;
|
|
66966
66966
|
}, j = function(mt) {
|
|
66967
|
-
f.disabled || f.readOnly || (y.value || x(), mt === "end" ? wn() :
|
|
66967
|
+
f.disabled || f.readOnly || (y.value || x(), mt === "end" ? wn() : sn());
|
|
66968
66968
|
}, B = fr({
|
|
66969
66969
|
start: !1,
|
|
66970
66970
|
end: !1
|
|
@@ -67081,7 +67081,7 @@ var dNr = {
|
|
|
67081
67081
|
}, nn = te(function() {
|
|
67082
67082
|
return K.isSelectingStart || K.isSelectingEnd;
|
|
67083
67083
|
});
|
|
67084
|
-
function
|
|
67084
|
+
function sn() {
|
|
67085
67085
|
f.disabled || f.readOnly || (be(), K.isSelectingStart = !0, K.isSelectingEnd = !1, It(function() {
|
|
67086
67086
|
var Se;
|
|
67087
67087
|
(Se = $.value) === null || Se === void 0 || Se.focus();
|
|
@@ -67132,7 +67132,7 @@ var dNr = {
|
|
|
67132
67132
|
};
|
|
67133
67133
|
r({
|
|
67134
67134
|
resetCalendarLogic: Ue,
|
|
67135
|
-
openStart:
|
|
67135
|
+
openStart: sn,
|
|
67136
67136
|
openEnd: wn,
|
|
67137
67137
|
closePicker: q,
|
|
67138
67138
|
clearAll: _n,
|
|
@@ -67140,7 +67140,7 @@ var dNr = {
|
|
|
67140
67140
|
drpRef: pe,
|
|
67141
67141
|
getValues: ct,
|
|
67142
67142
|
focus: function() {
|
|
67143
|
-
K.startDate || K.endDate ? K.startDate ?
|
|
67143
|
+
K.startDate || K.endDate ? K.startDate ? sn() : wn() : sn();
|
|
67144
67144
|
}
|
|
67145
67145
|
});
|
|
67146
67146
|
var Pe = oe(null);
|
|
@@ -67213,7 +67213,7 @@ var dNr = {
|
|
|
67213
67213
|
"model-value": ne(K).startDate,
|
|
67214
67214
|
placeholder: f.startPlaceholder,
|
|
67215
67215
|
active: ne(K).isSelectingStart,
|
|
67216
|
-
onClick:
|
|
67216
|
+
onClick: sn,
|
|
67217
67217
|
onClear: Ct,
|
|
67218
67218
|
onComplete: qe,
|
|
67219
67219
|
onInvalid: mt[3] || (mt[3] = function(Ut) {
|
|
@@ -69441,7 +69441,7 @@ function gLr(e, t) {
|
|
|
69441
69441
|
hideWithInteractivity: nn,
|
|
69442
69442
|
enable: ot,
|
|
69443
69443
|
disable: wt,
|
|
69444
|
-
unmount:
|
|
69444
|
+
unmount: sn,
|
|
69445
69445
|
destroy: wn
|
|
69446
69446
|
};
|
|
69447
69447
|
if (!n.render)
|
|
@@ -69801,7 +69801,7 @@ function gLr(e, t) {
|
|
|
69801
69801
|
function nn(q) {
|
|
69802
69802
|
nt.env.NODE_ENV !== "production" && dI(y.state.isDestroyed, H8("hideWithInteractivity")), L().addEventListener("mousemove", v), n2t(Gye, v), v(q);
|
|
69803
69803
|
}
|
|
69804
|
-
function
|
|
69804
|
+
function sn() {
|
|
69805
69805
|
nt.env.NODE_ENV !== "production" && dI(y.state.isDestroyed, H8("unmount")), y.state.isVisible && y.hide(), y.state.isMounted && (Qe(), Ne().forEach(function(q) {
|
|
69806
69806
|
q._tippy.unmount();
|
|
69807
69807
|
}), k.parentNode && k.parentNode.removeChild(k), W6e = W6e.filter(function(q) {
|
|
@@ -80092,7 +80092,7 @@ function gUr(e, t) {
|
|
|
80092
80092
|
hideWithInteractivity: nn,
|
|
80093
80093
|
enable: ot,
|
|
80094
80094
|
disable: wt,
|
|
80095
|
-
unmount:
|
|
80095
|
+
unmount: sn,
|
|
80096
80096
|
destroy: wn
|
|
80097
80097
|
};
|
|
80098
80098
|
if (!n.render)
|
|
@@ -80452,7 +80452,7 @@ function gUr(e, t) {
|
|
|
80452
80452
|
function nn(q) {
|
|
80453
80453
|
nt.env.NODE_ENV !== "production" && fI(y.state.isDestroyed, K8("hideWithInteractivity")), L().addEventListener("mousemove", v), SIt(nbe, v), v(q);
|
|
80454
80454
|
}
|
|
80455
|
-
function
|
|
80455
|
+
function sn() {
|
|
80456
80456
|
nt.env.NODE_ENV !== "production" && fI(y.state.isDestroyed, K8("unmount")), y.state.isVisible && y.hide(), y.state.isMounted && (Qe(), Ne().forEach(function(q) {
|
|
80457
80457
|
q._tippy.unmount();
|
|
80458
80458
|
}), k.parentNode && k.parentNode.removeChild(k), _5e = _5e.filter(function(q) {
|
|
@@ -81769,7 +81769,7 @@ var vbn = { exports: {} };
|
|
|
81769
81769
|
return [h, u(h), c];
|
|
81770
81770
|
}(), wt = hr[0], Bn = hr[1], hr = hr[2], Bn = Bn && Bn.then, bt = wt && wt.constructor, kt = !!hr, Ct = function(c, h) {
|
|
81771
81771
|
Ue.push([c, h]), _n && (queueMicrotask(Mt), _n = !1);
|
|
81772
|
-
}, cn = !0, _n = !0, nn = [],
|
|
81772
|
+
}, cn = !0, _n = !0, nn = [], sn = [], wn = Oe, q = { id: "global", global: !0, ref: 0, unhandleds: [], onunhandled: Ve, pgp: !1, env: {}, finalize: Ve }, pe = q, Ue = [], ct = 0, Pe = [];
|
|
81773
81773
|
function Se(c) {
|
|
81774
81774
|
if (typeof this != "object") throw new TypeError("Promises must be constructed via new");
|
|
81775
81775
|
this._listeners = [], this._lib = !1;
|
|
@@ -81813,7 +81813,7 @@ var vbn = { exports: {} };
|
|
|
81813
81813
|
}
|
|
81814
81814
|
function Dt(c, h) {
|
|
81815
81815
|
var b, _;
|
|
81816
|
-
|
|
81816
|
+
sn.push(h), c._state === null && (b = c._lib && Ft(), h = wn(h), c._state = !1, c._value = h, _ = c, nn.some(function(C) {
|
|
81817
81817
|
return C._value === _._value;
|
|
81818
81818
|
}) || nn.push(_), Bt(c), b && Zt());
|
|
81819
81819
|
}
|
|
@@ -81836,9 +81836,9 @@ var vbn = { exports: {} };
|
|
|
81836
81836
|
function _t(c, h, b) {
|
|
81837
81837
|
try {
|
|
81838
81838
|
var _, C = h._value;
|
|
81839
|
-
!h._state &&
|
|
81839
|
+
!h._state && sn.length && (sn = []), _ = Ne && h._consoleTask ? h._consoleTask.run(function() {
|
|
81840
81840
|
return c(C);
|
|
81841
|
-
}) : c(C), h._state ||
|
|
81841
|
+
}) : c(C), h._state || sn.indexOf(C) !== -1 || function(A) {
|
|
81842
81842
|
for (var V = nn.length; V; ) if (nn[--V]._value === A._value) return nn.splice(V, 1);
|
|
81843
81843
|
}(h), b.resolve(_);
|
|
81844
81844
|
} catch (A) {
|
|
@@ -112293,7 +112293,7 @@ function jro(e, t) {
|
|
|
112293
112293
|
hideWithInteractivity: nn,
|
|
112294
112294
|
enable: ot,
|
|
112295
112295
|
disable: wt,
|
|
112296
|
-
unmount:
|
|
112296
|
+
unmount: sn,
|
|
112297
112297
|
destroy: wn
|
|
112298
112298
|
};
|
|
112299
112299
|
if (!n.render)
|
|
@@ -112653,7 +112653,7 @@ function jro(e, t) {
|
|
|
112653
112653
|
function nn(q) {
|
|
112654
112654
|
nt.env.NODE_ENV !== "production" && hI(y.state.isDestroyed, eH("hideWithInteractivity")), L().addEventListener("mousemove", v), LNt(kbe, v), v(q);
|
|
112655
112655
|
}
|
|
112656
|
-
function
|
|
112656
|
+
function sn() {
|
|
112657
112657
|
nt.env.NODE_ENV !== "production" && hI(y.state.isDestroyed, eH("unmount")), y.state.isVisible && y.hide(), y.state.isMounted && (Qe(), Ne().forEach(function(q) {
|
|
112658
112658
|
q._tippy.unmount();
|
|
112659
112659
|
}), k.parentNode && k.parentNode.removeChild(k), d8e = d8e.filter(function(q) {
|
|
@@ -113349,7 +113349,7 @@ var O1n = { exports: {} };
|
|
|
113349
113349
|
return [h, u(h), c];
|
|
113350
113350
|
}(), wt = hr[0], Bn = hr[1], hr = hr[2], Bn = Bn && Bn.then, bt = wt && wt.constructor, kt = !!hr, Ct = function(c, h) {
|
|
113351
113351
|
Ue.push([c, h]), _n && (queueMicrotask(Mt), _n = !1);
|
|
113352
|
-
}, cn = !0, _n = !0, nn = [],
|
|
113352
|
+
}, cn = !0, _n = !0, nn = [], sn = [], wn = Oe, q = { id: "global", global: !0, ref: 0, unhandleds: [], onunhandled: Ve, pgp: !1, env: {}, finalize: Ve }, pe = q, Ue = [], ct = 0, Pe = [];
|
|
113353
113353
|
function Se(c) {
|
|
113354
113354
|
if (typeof this != "object") throw new TypeError("Promises must be constructed via new");
|
|
113355
113355
|
this._listeners = [], this._lib = !1;
|
|
@@ -113393,7 +113393,7 @@ var O1n = { exports: {} };
|
|
|
113393
113393
|
}
|
|
113394
113394
|
function Dt(c, h) {
|
|
113395
113395
|
var b, _;
|
|
113396
|
-
|
|
113396
|
+
sn.push(h), c._state === null && (b = c._lib && Ft(), h = wn(h), c._state = !1, c._value = h, _ = c, nn.some(function(C) {
|
|
113397
113397
|
return C._value === _._value;
|
|
113398
113398
|
}) || nn.push(_), Bt(c), b && Zt());
|
|
113399
113399
|
}
|
|
@@ -113416,9 +113416,9 @@ var O1n = { exports: {} };
|
|
|
113416
113416
|
function _t(c, h, b) {
|
|
113417
113417
|
try {
|
|
113418
113418
|
var _, C = h._value;
|
|
113419
|
-
!h._state &&
|
|
113419
|
+
!h._state && sn.length && (sn = []), _ = Ne && h._consoleTask ? h._consoleTask.run(function() {
|
|
113420
113420
|
return c(C);
|
|
113421
|
-
}) : c(C), h._state ||
|
|
113421
|
+
}) : c(C), h._state || sn.indexOf(C) !== -1 || function(A) {
|
|
113422
113422
|
for (var V = nn.length; V; ) if (nn[--V]._value === A._value) return nn.splice(V, 1);
|
|
113423
113423
|
}(h), b.resolve(_);
|
|
113424
113424
|
} catch (A) {
|
|
@@ -126245,7 +126245,7 @@ function Bpo(e, t) {
|
|
|
126245
126245
|
hideWithInteractivity: nn,
|
|
126246
126246
|
enable: ot,
|
|
126247
126247
|
disable: wt,
|
|
126248
|
-
unmount:
|
|
126248
|
+
unmount: sn,
|
|
126249
126249
|
destroy: wn
|
|
126250
126250
|
};
|
|
126251
126251
|
if (!n.render)
|
|
@@ -126605,7 +126605,7 @@ function Bpo(e, t) {
|
|
|
126605
126605
|
function nn(q) {
|
|
126606
126606
|
nt.env.NODE_ENV !== "production" && pI(y.state.isDestroyed, rH("hideWithInteractivity")), L().addEventListener("mousemove", v), zLt(Vbe, v), v(q);
|
|
126607
126607
|
}
|
|
126608
|
-
function
|
|
126608
|
+
function sn() {
|
|
126609
126609
|
nt.env.NODE_ENV !== "production" && pI(y.state.isDestroyed, rH("unmount")), y.state.isVisible && y.hide(), y.state.isMounted && (Qe(), Ne().forEach(function(q) {
|
|
126610
126610
|
q._tippy.unmount();
|
|
126611
126611
|
}), k.parentNode && k.parentNode.removeChild(k), V8e = V8e.filter(function(q) {
|
|
@@ -127030,7 +127030,7 @@ var eCn = { exports: {} };
|
|
|
127030
127030
|
return [h, u(h), c];
|
|
127031
127031
|
}(), wt = hr[0], Bn = hr[1], hr = hr[2], Bn = Bn && Bn.then, bt = wt && wt.constructor, kt = !!hr, Ct = function(c, h) {
|
|
127032
127032
|
Ue.push([c, h]), _n && (queueMicrotask(Mt), _n = !1);
|
|
127033
|
-
}, cn = !0, _n = !0, nn = [],
|
|
127033
|
+
}, cn = !0, _n = !0, nn = [], sn = [], wn = Oe, q = { id: "global", global: !0, ref: 0, unhandleds: [], onunhandled: Ve, pgp: !1, env: {}, finalize: Ve }, pe = q, Ue = [], ct = 0, Pe = [];
|
|
127034
127034
|
function Se(c) {
|
|
127035
127035
|
if (typeof this != "object") throw new TypeError("Promises must be constructed via new");
|
|
127036
127036
|
this._listeners = [], this._lib = !1;
|
|
@@ -127074,7 +127074,7 @@ var eCn = { exports: {} };
|
|
|
127074
127074
|
}
|
|
127075
127075
|
function Dt(c, h) {
|
|
127076
127076
|
var b, _;
|
|
127077
|
-
|
|
127077
|
+
sn.push(h), c._state === null && (b = c._lib && Ft(), h = wn(h), c._state = !1, c._value = h, _ = c, nn.some(function(C) {
|
|
127078
127078
|
return C._value === _._value;
|
|
127079
127079
|
}) || nn.push(_), Bt(c), b && Zt());
|
|
127080
127080
|
}
|
|
@@ -127097,9 +127097,9 @@ var eCn = { exports: {} };
|
|
|
127097
127097
|
function _t(c, h, b) {
|
|
127098
127098
|
try {
|
|
127099
127099
|
var _, C = h._value;
|
|
127100
|
-
!h._state &&
|
|
127100
|
+
!h._state && sn.length && (sn = []), _ = Ne && h._consoleTask ? h._consoleTask.run(function() {
|
|
127101
127101
|
return c(C);
|
|
127102
|
-
}) : c(C), h._state ||
|
|
127102
|
+
}) : c(C), h._state || sn.indexOf(C) !== -1 || function(A) {
|
|
127103
127103
|
for (var V = nn.length; V; ) if (nn[--V]._value === A._value) return nn.splice(V, 1);
|
|
127104
127104
|
}(h), b.resolve(_);
|
|
127105
127105
|
} catch (A) {
|
|
@@ -139646,7 +139646,7 @@ function fEo(e, t) {
|
|
|
139646
139646
|
hideWithInteractivity: nn,
|
|
139647
139647
|
enable: ot,
|
|
139648
139648
|
disable: wt,
|
|
139649
|
-
unmount:
|
|
139649
|
+
unmount: sn,
|
|
139650
139650
|
destroy: wn
|
|
139651
139651
|
};
|
|
139652
139652
|
if (!n.render)
|
|
@@ -140006,7 +140006,7 @@ function fEo(e, t) {
|
|
|
140006
140006
|
function nn(q) {
|
|
140007
140007
|
nt.env.NODE_ENV !== "production" && mI(y.state.isDestroyed, iH("hideWithInteractivity")), L().addEventListener("mousemove", v), Y3t(Jbe, v), v(q);
|
|
140008
140008
|
}
|
|
140009
|
-
function
|
|
140009
|
+
function sn() {
|
|
140010
140010
|
nt.env.NODE_ENV !== "production" && mI(y.state.isDestroyed, iH("unmount")), y.state.isVisible && y.hide(), y.state.isMounted && (Qe(), Ne().forEach(function(q) {
|
|
140011
140011
|
q._tippy.unmount();
|
|
140012
140012
|
}), k.parentNode && k.parentNode.removeChild(k), pHe = pHe.filter(function(q) {
|
|
@@ -140431,7 +140431,7 @@ var xkn = { exports: {} };
|
|
|
140431
140431
|
return [h, u(h), c];
|
|
140432
140432
|
}(), wt = hr[0], Bn = hr[1], hr = hr[2], Bn = Bn && Bn.then, bt = wt && wt.constructor, kt = !!hr, Ct = function(c, h) {
|
|
140433
140433
|
Ue.push([c, h]), _n && (queueMicrotask(Mt), _n = !1);
|
|
140434
|
-
}, cn = !0, _n = !0, nn = [],
|
|
140434
|
+
}, cn = !0, _n = !0, nn = [], sn = [], wn = Oe, q = { id: "global", global: !0, ref: 0, unhandleds: [], onunhandled: Ve, pgp: !1, env: {}, finalize: Ve }, pe = q, Ue = [], ct = 0, Pe = [];
|
|
140435
140435
|
function Se(c) {
|
|
140436
140436
|
if (typeof this != "object") throw new TypeError("Promises must be constructed via new");
|
|
140437
140437
|
this._listeners = [], this._lib = !1;
|
|
@@ -140475,7 +140475,7 @@ var xkn = { exports: {} };
|
|
|
140475
140475
|
}
|
|
140476
140476
|
function Dt(c, h) {
|
|
140477
140477
|
var b, _;
|
|
140478
|
-
|
|
140478
|
+
sn.push(h), c._state === null && (b = c._lib && Ft(), h = wn(h), c._state = !1, c._value = h, _ = c, nn.some(function(C) {
|
|
140479
140479
|
return C._value === _._value;
|
|
140480
140480
|
}) || nn.push(_), Bt(c), b && Zt());
|
|
140481
140481
|
}
|
|
@@ -140498,9 +140498,9 @@ var xkn = { exports: {} };
|
|
|
140498
140498
|
function _t(c, h, b) {
|
|
140499
140499
|
try {
|
|
140500
140500
|
var _, C = h._value;
|
|
140501
|
-
!h._state &&
|
|
140501
|
+
!h._state && sn.length && (sn = []), _ = Ne && h._consoleTask ? h._consoleTask.run(function() {
|
|
140502
140502
|
return c(C);
|
|
140503
|
-
}) : c(C), h._state ||
|
|
140503
|
+
}) : c(C), h._state || sn.indexOf(C) !== -1 || function(A) {
|
|
140504
140504
|
for (var V = nn.length; V; ) if (nn[--V]._value === A._value) return nn.splice(V, 1);
|
|
140505
140505
|
}(h), b.resolve(_);
|
|
140506
140506
|
} catch (A) {
|
|
@@ -154045,7 +154045,7 @@ const MPe = /* @__PURE__ */ H5("userStore", () => {
|
|
|
154045
154045
|
const nn = {
|
|
154046
154046
|
name: d.name,
|
|
154047
154047
|
template_flow_status_id: d.status ?? void 0,
|
|
154048
|
-
ws_user_role_ids: (xe = d.assignees) == null ? void 0 : xe.map((
|
|
154048
|
+
ws_user_role_ids: (xe = d.assignees) == null ? void 0 : xe.map((sn) => sn.id),
|
|
154049
154049
|
start_date: d.start_date ? SOe(d.start_date) : void 0,
|
|
154050
154050
|
due_date: d.due_date ? SOe(d.due_date) : void 0
|
|
154051
154051
|
};
|
|
@@ -154054,15 +154054,15 @@ const MPe = /* @__PURE__ */ H5("userStore", () => {
|
|
|
154054
154054
|
return;
|
|
154055
154055
|
}
|
|
154056
154056
|
try {
|
|
154057
|
-
const
|
|
154058
|
-
if (fe(
|
|
154057
|
+
const sn = await v.value.addNewItem(i, s, nn), wn = d.name;
|
|
154058
|
+
if (fe(sn.id, sn.name, sn.code), !sn.id)
|
|
154059
154059
|
throw new Error("Invalid response from server: missing scene ID");
|
|
154060
154060
|
switch (S.value = !1, w.value = !1, Qe) {
|
|
154061
154061
|
case "close":
|
|
154062
154062
|
m(), (dt = k.value) == null || dt.setData([]), (qe = O.value) == null || qe.setData(null), (ot = R.value) == null || ot.setData([null, null]), p(), G();
|
|
154063
154063
|
break;
|
|
154064
154064
|
case "close-open":
|
|
154065
|
-
m(), (wt = k.value) == null || wt.setData([]), (bt = O.value) == null || bt.setData(null), (kt = R.value) == null || kt.setData([null, null]), p(), G(), g(
|
|
154065
|
+
m(), (wt = k.value) == null || wt.setData([]), (bt = O.value) == null || bt.setData(null), (kt = R.value) == null || kt.setData([null, null]), p(), G(), g(sn.id);
|
|
154066
154066
|
break;
|
|
154067
154067
|
case "clear":
|
|
154068
154068
|
l("create-new-item", wn), m(), (Ct = k.value) == null || Ct.setData([]), (cn = O.value) == null || cn.setData(null), (_n = R.value) == null || _n.setData([null, null]), K("name");
|
|
@@ -154071,8 +154071,8 @@ const MPe = /* @__PURE__ */ H5("userStore", () => {
|
|
|
154071
154071
|
l("create-new-item", wn), d.name = "", d.error = "", K("name");
|
|
154072
154072
|
break;
|
|
154073
154073
|
}
|
|
154074
|
-
} catch (
|
|
154075
|
-
console.error("Error creating scene:",
|
|
154074
|
+
} catch (sn) {
|
|
154075
|
+
console.error("Error creating scene:", sn), Qe == "close" && (p(), G());
|
|
154076
154076
|
} finally {
|
|
154077
154077
|
w.value = !1, S.value = !1;
|
|
154078
154078
|
}
|
|
@@ -154504,10 +154504,10 @@ const MPe = /* @__PURE__ */ H5("userStore", () => {
|
|
|
154504
154504
|
throw console.error("API service or item identifiers are undefined"), new Error("API service or item identifiers are undefined");
|
|
154505
154505
|
if (bt ? U.value = !0 : P.value = !0, F.value = null, !((kt = K.value) != null && kt.getEntityUserRoles))
|
|
154506
154506
|
throw new Error("API service getEntityUserRoles is undefined");
|
|
154507
|
-
const
|
|
154507
|
+
const sn = Am.getInstance().getItem("ws.code");
|
|
154508
154508
|
try {
|
|
154509
154509
|
const wn = await ((Ct = K.value) == null ? void 0 : Ct.getEntityUserRoles({
|
|
154510
|
-
workspaceId: String(
|
|
154510
|
+
workspaceId: String(sn),
|
|
154511
154511
|
page: ot,
|
|
154512
154512
|
per_page: $Ro,
|
|
154513
154513
|
display_name_like: wt,
|
|
@@ -154866,7 +154866,7 @@ const MPe = /* @__PURE__ */ H5("userStore", () => {
|
|
|
154866
154866
|
handleSelect: cn,
|
|
154867
154867
|
handleItemHover: _n,
|
|
154868
154868
|
getHighlightedLabel: nn,
|
|
154869
|
-
query:
|
|
154869
|
+
query: sn,
|
|
154870
154870
|
idx: wn
|
|
154871
154871
|
}) => [
|
|
154872
154872
|
Me(eht, {
|
|
@@ -154881,7 +154881,7 @@ const MPe = /* @__PURE__ */ H5("userStore", () => {
|
|
|
154881
154881
|
"api-update-function": Ne
|
|
154882
154882
|
}, {
|
|
154883
154883
|
name: je(() => [
|
|
154884
|
-
|
|
154884
|
+
sn ? Tt((W(), me("span", {
|
|
154885
154885
|
key: 0,
|
|
154886
154886
|
class: De([ot.$style["item-label"], ot.$style.match]),
|
|
154887
154887
|
style: { flex: "1" },
|
|
@@ -162434,7 +162434,7 @@ const utt = (e, t) => e == null ? void 0 : e.querySelector(`[data-dp-element="${
|
|
|
162434
162434
|
o.value[0] && o.value[1] && +((Pe = o.value) == null ? void 0 : Pe[0]) > +((Se = o.value) == null ? void 0 : Se[1]) && (o.value.reverse(), t("range-start", o.value[0]), t("range-end", o.value[1]));
|
|
162435
162435
|
}, nn = () => {
|
|
162436
162436
|
o.value.length && (o.value[0] && !o.value[1] ? cn(0) : (cn(0), cn(1), r()), _n(), l.value = o.value.slice(), BPe(o.value, t, e.autoApply, e.modelAuto));
|
|
162437
|
-
},
|
|
162437
|
+
}, sn = (Pe, Se = !1) => {
|
|
162438
162438
|
if (y(Pe.value) || !Pe.current && e.hideOffsetDates) return t("invalid-date", Pe.value);
|
|
162439
162439
|
if (i.value = JSON.parse(JSON.stringify(Pe)), !v.value.enabled) return Ne(Pe);
|
|
162440
162440
|
pVt(d.hours) && pVt(d.minutes) && !E.value.enabled && (kt(Pe, Se), nn());
|
|
@@ -162478,7 +162478,7 @@ const utt = (e, t) => e == null ? void 0 : e.querySelector(`[data-dp-element="${
|
|
|
162478
162478
|
handleScroll: Oe,
|
|
162479
162479
|
handleSwipe: ke,
|
|
162480
162480
|
handleArrow: Be,
|
|
162481
|
-
selectDate:
|
|
162481
|
+
selectDate: sn,
|
|
162482
162482
|
updateMonthYear: wn,
|
|
162483
162483
|
presetDate: q,
|
|
162484
162484
|
selectCurrentDate: pe,
|
|
@@ -164083,7 +164083,7 @@ const TFo = ({
|
|
|
164083
164083
|
})) : r("invalid-date", Dt);
|
|
164084
164084
|
}, nn = () => {
|
|
164085
164085
|
o.autoApply && k(Ce.value) && ee(), bt();
|
|
164086
|
-
},
|
|
164086
|
+
}, sn = () => i.value ? cn() : Ne(), wn = (Dt) => {
|
|
164087
164087
|
Ce.value = Dt;
|
|
164088
164088
|
}, q = () => {
|
|
164089
164089
|
R.value.enabled && (m.value = !0, Q()), r("focus");
|
|
@@ -164121,7 +164121,7 @@ const TFo = ({
|
|
|
164121
164121
|
setMonthYear: Ue,
|
|
164122
164122
|
parseModel: ct,
|
|
164123
164123
|
switchView: Pe,
|
|
164124
|
-
toggleMenu:
|
|
164124
|
+
toggleMenu: sn,
|
|
164125
164125
|
handleFlow: mt,
|
|
164126
164126
|
getDpWrapMenuRef: Ut
|
|
164127
164127
|
}), (Dt, Bt) => (W(), me("div", {
|
|
@@ -164143,7 +164143,7 @@ const TFo = ({
|
|
|
164143
164143
|
onSetInputDate: _n,
|
|
164144
164144
|
onSetEmptyDate: ne(ee),
|
|
164145
164145
|
onSelectDate: ot,
|
|
164146
|
-
onToggle:
|
|
164146
|
+
onToggle: sn,
|
|
164147
164147
|
onClose: cn,
|
|
164148
164148
|
onFocus: q,
|
|
164149
164149
|
onBlur: pe,
|
|
@@ -164248,7 +164248,7 @@ function WFo() {
|
|
|
164248
164248
|
["partial", k],
|
|
164249
164249
|
["partialRight", O],
|
|
164250
164250
|
["rearg", I]
|
|
164251
|
-
], Ce = "[object Arguments]", we = "[object Array]", ee = "[object AsyncFunction]", Q = "[object Boolean]", Ae = "[object Date]", be = "[object DOMException]", Ve = "[object Error]", Oe = "[object Function]", Be = "[object GeneratorFunction]", ke = "[object Map]", rt = "[object Number]", Xe = "[object Null]", Ke = "[object Object]", Qe = "[object Promise]", xe = "[object Proxy]", Ne = "[object RegExp]", dt = "[object Set]", qe = "[object String]", ot = "[object Symbol]", wt = "[object Undefined]", bt = "[object WeakMap]", kt = "[object WeakSet]", Ct = "[object ArrayBuffer]", cn = "[object DataView]", _n = "[object Float32Array]", nn = "[object Float64Array]",
|
|
164251
|
+
], Ce = "[object Arguments]", we = "[object Array]", ee = "[object AsyncFunction]", Q = "[object Boolean]", Ae = "[object Date]", be = "[object DOMException]", Ve = "[object Error]", Oe = "[object Function]", Be = "[object GeneratorFunction]", ke = "[object Map]", rt = "[object Number]", Xe = "[object Null]", Ke = "[object Object]", Qe = "[object Promise]", xe = "[object Proxy]", Ne = "[object RegExp]", dt = "[object Set]", qe = "[object String]", ot = "[object Symbol]", wt = "[object Undefined]", bt = "[object WeakMap]", kt = "[object WeakSet]", Ct = "[object ArrayBuffer]", cn = "[object DataView]", _n = "[object Float32Array]", nn = "[object Float64Array]", sn = "[object Int8Array]", wn = "[object Int16Array]", q = "[object Int32Array]", pe = "[object Uint8Array]", Ue = "[object Uint8ClampedArray]", ct = "[object Uint16Array]", Pe = "[object Uint32Array]", Se = /\b__p \+= '';/g, mt = /\b(__p \+=) '' \+/g, Ut = /(__e\(.*?\)|\b__t\)) \+\n'';/g, Dt = /&(?:amp|lt|gt|quot|#39);/g, Bt = /[&<>"']/g, an = RegExp(Dt.source), _t = RegExp(Bt.source), Mt = /<%-([\s\S]+?)%>/g, Ft = /<%([\s\S]+?)%>/g, Zt = /<%=([\s\S]+?)%>/g, Vn = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/, sr = /^\w*$/, Ht = /[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g, tn = /[\\^$.*+?()[\]{}|]/g, ki = RegExp(tn.source), uo = /^\s+/, vo = /\s/, tr = /\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/, Xl = /\{\n\/\* \[wrapped with (.+)\] \*/, vr = /,? & /, Jr = /[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g, br = /[()=,{}\[\]\/\s]/, Xr = /\\(\\)?/g, tu = /\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g, gr = /\w*$/, Yi = /^[-+]0x[0-9a-f]+$/i, Er = /^0b[01]+$/i, wi = /^\[object .+?Constructor\]$/, Bo = /^0o[0-7]+$/i, hn = /^(?:0|[1-9]\d*)$/, zr = /[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g, lr = /($^)/, Ys = /['\n\r\u2028\u2029\\]/g, mr = "\\ud800-\\udfff", Vo = "\\u0300-\\u036f", Hi = "\\ufe20-\\ufe2f", _i = "\\u20d0-\\u20ff", Kr = Vo + Hi + _i, al = "\\u2700-\\u27bf", Ja = "a-z\\xdf-\\xf6\\xf8-\\xff", ys = "\\xac\\xb1\\xd7\\xf7", Vt = "\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf", Hs = "\\u2000-\\u206f", qs = " \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000", Zs = "A-Z\\xc0-\\xd6\\xd8-\\xde", rn = "\\ufe0e\\ufe0f", Io = ys + Vt + Hs + qs, ua = "['’]", co = "[" + mr + "]", $i = "[" + Io + "]", fi = "[" + Kr + "]", oo = "\\d+", il = "[" + al + "]", Ka = "[" + Ja + "]", bs = "[^" + mr + Io + oo + al + Ja + Zs + "]", hr = "\\ud83c[\\udffb-\\udfff]", lo = "(?:" + fi + "|" + hr + ")", Ul = "[^" + mr + "]", Kl = "(?:\\ud83c[\\udde6-\\uddff]){2}", zt = "[\\ud800-\\udbff][\\udc00-\\udfff]", Ua = "[" + Zs + "]", uu = "\\u200d", nu = "(?:" + Ka + "|" + bs + ")", Mn = "(?:" + Ua + "|" + bs + ")", fo = "(?:" + ua + "(?:d|ll|m|re|s|t|ve))?", Ga = "(?:" + ua + "(?:D|LL|M|RE|S|T|VE))?", rr = lo + "?", Gl = "[" + rn + "]?", jl = "(?:" + uu + "(?:" + [Ul, Kl, zt].join("|") + ")" + Gl + rr + ")*", xn = "\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])", dr = "\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])", da = Gl + rr + jl, fa = "(?:" + [il, Kl, zt].join("|") + ")" + da, Si = "(?:" + [Ul + fi + "?", fi, Kl, zt, co].join("|") + ")", jr = RegExp(ua, "g"), bu = RegExp(fi, "g"), ir = RegExp(hr + "(?=" + hr + ")|" + Si + da, "g"), Ii = RegExp([
|
|
164252
164252
|
Ua + "?" + Ka + "+" + fo + "(?=" + [$i, Ua, "$"].join("|") + ")",
|
|
164253
164253
|
Mn + "+" + Ga + "(?=" + [$i, Ua + nu, "$"].join("|") + ")",
|
|
164254
164254
|
Ua + "?" + nu + "+" + fo,
|
|
@@ -164289,9 +164289,9 @@ function WFo() {
|
|
|
164289
164289
|
"parseInt",
|
|
164290
164290
|
"setTimeout"
|
|
164291
164291
|
], Ti = -1, ao = {};
|
|
164292
|
-
ao[_n] = ao[nn] = ao[
|
|
164292
|
+
ao[_n] = ao[nn] = ao[sn] = ao[wn] = ao[q] = ao[pe] = ao[Ue] = ao[ct] = ao[Pe] = !0, ao[Ce] = ao[we] = ao[Ct] = ao[Q] = ao[cn] = ao[Ae] = ao[Ve] = ao[Oe] = ao[ke] = ao[rt] = ao[Ke] = ao[Ne] = ao[dt] = ao[qe] = ao[bt] = !1;
|
|
164293
164293
|
var Uo = {};
|
|
164294
|
-
Uo[Ce] = Uo[we] = Uo[Ct] = Uo[cn] = Uo[Q] = Uo[Ae] = Uo[_n] = Uo[nn] = Uo[
|
|
164294
|
+
Uo[Ce] = Uo[we] = Uo[Ct] = Uo[cn] = Uo[Q] = Uo[Ae] = Uo[_n] = Uo[nn] = Uo[sn] = Uo[wn] = Uo[q] = Uo[ke] = Uo[rt] = Uo[Ke] = Uo[Ne] = Uo[dt] = Uo[qe] = Uo[ot] = Uo[pe] = Uo[Ue] = Uo[ct] = Uo[Pe] = !0, Uo[Ve] = Uo[Oe] = Uo[bt] = !1;
|
|
164295
164295
|
var ha = {
|
|
164296
164296
|
// Latin-1 Supplement block.
|
|
164297
164297
|
À: "A",
|
|
@@ -164904,7 +164904,7 @@ function WFo() {
|
|
|
164904
164904
|
return Ur;
|
|
164905
164905
|
}
|
|
164906
164906
|
$t.prototype = et(ut.prototype), $t.prototype.constructor = $t;
|
|
164907
|
-
function
|
|
164907
|
+
function ln(T) {
|
|
164908
164908
|
var N = -1, ce = T == null ? 0 : T.length;
|
|
164909
164909
|
for (this.clear(); ++N < ce; ) {
|
|
164910
164910
|
var Re = T[N];
|
|
@@ -164934,7 +164934,7 @@ function WFo() {
|
|
|
164934
164934
|
var ce = this.__data__;
|
|
164935
164935
|
return this.size += this.has(T) ? 0 : 1, ce[T] = On && N === n ? u : N, this;
|
|
164936
164936
|
}
|
|
164937
|
-
|
|
164937
|
+
ln.prototype.clear = An, ln.prototype.delete = Qn, ln.prototype.get = Fn, ln.prototype.has = zo, ln.prototype.set = ci;
|
|
164938
164938
|
function yi(T) {
|
|
164939
164939
|
var N = -1, ce = T == null ? 0 : T.length;
|
|
164940
164940
|
for (this.clear(); ++N < ce; ) {
|
|
@@ -164973,9 +164973,9 @@ function WFo() {
|
|
|
164973
164973
|
}
|
|
164974
164974
|
function pO() {
|
|
164975
164975
|
this.size = 0, this.__data__ = {
|
|
164976
|
-
hash: new
|
|
164976
|
+
hash: new ln(),
|
|
164977
164977
|
map: new (Wt || yi)(),
|
|
164978
|
-
string: new
|
|
164978
|
+
string: new ln()
|
|
164979
164979
|
};
|
|
164980
164980
|
}
|
|
164981
164981
|
function Vc(T) {
|
|
@@ -166286,7 +166286,7 @@ function WFo() {
|
|
|
166286
166286
|
return u3e(T, ce);
|
|
166287
166287
|
case _n:
|
|
166288
166288
|
case nn:
|
|
166289
|
-
case
|
|
166289
|
+
case sn:
|
|
166290
166290
|
case wn:
|
|
166291
166291
|
case q:
|
|
166292
166292
|
case pe:
|
|
@@ -171538,7 +171538,7 @@ function YBo(e, t) {
|
|
|
171538
171538
|
hideWithInteractivity: nn,
|
|
171539
171539
|
enable: ot,
|
|
171540
171540
|
disable: wt,
|
|
171541
|
-
unmount:
|
|
171541
|
+
unmount: sn,
|
|
171542
171542
|
destroy: wn
|
|
171543
171543
|
};
|
|
171544
171544
|
if (!n.render)
|
|
@@ -171890,7 +171890,7 @@ function YBo(e, t) {
|
|
|
171890
171890
|
function nn(q) {
|
|
171891
171891
|
L().addEventListener("mousemove", v), PVt(g0e, v), v(q);
|
|
171892
171892
|
}
|
|
171893
|
-
function
|
|
171893
|
+
function sn() {
|
|
171894
171894
|
y.state.isVisible && y.hide(), y.state.isMounted && (Qe(), Ne().forEach(function(q) {
|
|
171895
171895
|
q._tippy.unmount();
|
|
171896
171896
|
}), k.parentNode && k.parentNode.removeChild(k), tze = tze.filter(function(q) {
|
|
@@ -174168,7 +174168,7 @@ function JUo(e, t) {
|
|
|
174168
174168
|
hideWithInteractivity: nn,
|
|
174169
174169
|
enable: ot,
|
|
174170
174170
|
disable: wt,
|
|
174171
|
-
unmount:
|
|
174171
|
+
unmount: sn,
|
|
174172
174172
|
destroy: wn
|
|
174173
174173
|
};
|
|
174174
174174
|
if (!n.render)
|
|
@@ -174528,7 +174528,7 @@ function JUo(e, t) {
|
|
|
174528
174528
|
function nn(q) {
|
|
174529
174529
|
nt.env.NODE_ENV !== "production" && gI(y.state.isDestroyed, dH("hideWithInteractivity")), L().addEventListener("mousemove", v), QVt(w0e, v), v(q);
|
|
174530
174530
|
}
|
|
174531
|
-
function
|
|
174531
|
+
function sn() {
|
|
174532
174532
|
nt.env.NODE_ENV !== "production" && gI(y.state.isDestroyed, dH("unmount")), y.state.isVisible && y.hide(), y.state.isMounted && (Qe(), Ne().forEach(function(q) {
|
|
174533
174533
|
q._tippy.unmount();
|
|
174534
174534
|
}), k.parentNode && k.parentNode.removeChild(k), aze = aze.filter(function(q) {
|
|
@@ -175224,7 +175224,7 @@ var VAn = { exports: {} };
|
|
|
175224
175224
|
return [h, u(h), c];
|
|
175225
175225
|
}(), wt = hr[0], Bn = hr[1], hr = hr[2], Bn = Bn && Bn.then, bt = wt && wt.constructor, kt = !!hr, Ct = function(c, h) {
|
|
175226
175226
|
Ue.push([c, h]), _n && (queueMicrotask(Mt), _n = !1);
|
|
175227
|
-
}, cn = !0, _n = !0, nn = [],
|
|
175227
|
+
}, cn = !0, _n = !0, nn = [], sn = [], wn = Oe, q = { id: "global", global: !0, ref: 0, unhandleds: [], onunhandled: Ve, pgp: !1, env: {}, finalize: Ve }, pe = q, Ue = [], ct = 0, Pe = [];
|
|
175228
175228
|
function Se(c) {
|
|
175229
175229
|
if (typeof this != "object") throw new TypeError("Promises must be constructed via new");
|
|
175230
175230
|
this._listeners = [], this._lib = !1;
|
|
@@ -175268,7 +175268,7 @@ var VAn = { exports: {} };
|
|
|
175268
175268
|
}
|
|
175269
175269
|
function Dt(c, h) {
|
|
175270
175270
|
var b, _;
|
|
175271
|
-
|
|
175271
|
+
sn.push(h), c._state === null && (b = c._lib && Ft(), h = wn(h), c._state = !1, c._value = h, _ = c, nn.some(function(C) {
|
|
175272
175272
|
return C._value === _._value;
|
|
175273
175273
|
}) || nn.push(_), Bt(c), b && Zt());
|
|
175274
175274
|
}
|
|
@@ -175291,9 +175291,9 @@ var VAn = { exports: {} };
|
|
|
175291
175291
|
function _t(c, h, b) {
|
|
175292
175292
|
try {
|
|
175293
175293
|
var _, C = h._value;
|
|
175294
|
-
!h._state &&
|
|
175294
|
+
!h._state && sn.length && (sn = []), _ = Ne && h._consoleTask ? h._consoleTask.run(function() {
|
|
175295
175295
|
return c(C);
|
|
175296
|
-
}) : c(C), h._state ||
|
|
175296
|
+
}) : c(C), h._state || sn.indexOf(C) !== -1 || function(A) {
|
|
175297
175297
|
for (var V = nn.length; V; ) if (nn[--V]._value === A._value) return nn.splice(V, 1);
|
|
175298
175298
|
}(h), b.resolve(_);
|
|
175299
175299
|
} catch (A) {
|
|
@@ -201602,7 +201602,7 @@ function QJo(e, t) {
|
|
|
201602
201602
|
hideWithInteractivity: nn,
|
|
201603
201603
|
enable: ot,
|
|
201604
201604
|
disable: wt,
|
|
201605
|
-
unmount:
|
|
201605
|
+
unmount: sn,
|
|
201606
201606
|
destroy: wn
|
|
201607
201607
|
};
|
|
201608
201608
|
if (!n.render)
|
|
@@ -201962,7 +201962,7 @@ function QJo(e, t) {
|
|
|
201962
201962
|
function nn(q) {
|
|
201963
201963
|
nt.env.NODE_ENV !== "production" && vI(y.state.isDestroyed, wH("hideWithInteractivity")), L().addEventListener("mousemove", v), g5t(U0e, v), v(q);
|
|
201964
201964
|
}
|
|
201965
|
-
function
|
|
201965
|
+
function sn() {
|
|
201966
201966
|
nt.env.NODE_ENV !== "production" && vI(y.state.isDestroyed, wH("unmount")), y.state.isVisible && y.hide(), y.state.isMounted && (Qe(), Ne().forEach(function(q) {
|
|
201967
201967
|
q._tippy.unmount();
|
|
201968
201968
|
}), k.parentNode && k.parentNode.removeChild(k), Zze = Zze.filter(function(q) {
|
|
@@ -203642,7 +203642,7 @@ var TQo = {
|
|
|
203642
203642
|
var Pe = Xa.now().setZone(d.timezone);
|
|
203643
203643
|
ke.value = Pe.year, Be.value = Pe.month;
|
|
203644
203644
|
}, L = function(Pe) {
|
|
203645
|
-
d.disabled || d.readOnly || (x.value || E(), Pe === "end" ?
|
|
203645
|
+
d.disabled || d.readOnly || (x.value || E(), Pe === "end" ? sn() : nn());
|
|
203646
203646
|
}, j = fr({
|
|
203647
203647
|
start: !1,
|
|
203648
203648
|
end: !1
|
|
@@ -203684,7 +203684,7 @@ var TQo = {
|
|
|
203684
203684
|
immediate: !0
|
|
203685
203685
|
});
|
|
203686
203686
|
var Xe = oe(null), Ke = function(Pe) {
|
|
203687
|
-
Pe.preventDefault(), Pe.stopImmediatePropagation(), Pe.stopPropagation(),
|
|
203687
|
+
Pe.preventDefault(), Pe.stopImmediatePropagation(), Pe.stopPropagation(), sn();
|
|
203688
203688
|
}, Qe = function() {
|
|
203689
203689
|
i.value === "month" ? ke.value > y.value[0] && (ke.value -= 1) : Be.value === 1 ? (Be.value = 12, ke.value -= 1) : Be.value -= 1;
|
|
203690
203690
|
}, xe = function() {
|
|
@@ -203765,7 +203765,7 @@ var TQo = {
|
|
|
203765
203765
|
(Pe = I.value) === null || Pe === void 0 || Pe.focus();
|
|
203766
203766
|
}));
|
|
203767
203767
|
}
|
|
203768
|
-
function
|
|
203768
|
+
function sn() {
|
|
203769
203769
|
d.disabled || d.readOnly || (Ae(), fe.isSelectingEnd = !0, fe.isSelectingStart = !1, It(function() {
|
|
203770
203770
|
var Pe;
|
|
203771
203771
|
(Pe = Xe.value) === null || Pe === void 0 || Pe.focus();
|
|
@@ -203811,14 +203811,14 @@ var TQo = {
|
|
|
203811
203811
|
n({
|
|
203812
203812
|
resetCalendarLogic: pe,
|
|
203813
203813
|
openStart: nn,
|
|
203814
|
-
openEnd:
|
|
203814
|
+
openEnd: sn,
|
|
203815
203815
|
closePicker: wn,
|
|
203816
203816
|
clearAll: cn,
|
|
203817
203817
|
isOpen: _n,
|
|
203818
203818
|
drpRef: q,
|
|
203819
203819
|
getValues: Ue,
|
|
203820
203820
|
focus: function() {
|
|
203821
|
-
fe.startDate || fe.endDate ? fe.startDate ? nn() :
|
|
203821
|
+
fe.startDate || fe.endDate ? fe.startDate ? nn() : sn() : nn();
|
|
203822
203822
|
}
|
|
203823
203823
|
});
|
|
203824
203824
|
var ct = oe(null);
|
|
@@ -203907,7 +203907,7 @@ var TQo = {
|
|
|
203907
203907
|
"model-value": ne(fe).endDate,
|
|
203908
203908
|
placeholder: d.duePlaceholder,
|
|
203909
203909
|
active: ne(fe).isSelectingEnd,
|
|
203910
|
-
onClick:
|
|
203910
|
+
onClick: sn,
|
|
203911
203911
|
onClear: Ct,
|
|
203912
203912
|
onComplete: wt,
|
|
203913
203913
|
onInvalid: Se[4] || (Se[4] = function(mt) {
|
|
@@ -213992,7 +213992,7 @@ const nWe = (e, t) => e === ih.ALLOW ? t : e === ih.DISABLED ? "Parent folder is
|
|
|
213992
213992
|
ref_key: "calendarRef",
|
|
213993
213993
|
ref: M,
|
|
213994
213994
|
modelValue: ne(ve),
|
|
213995
|
-
"onUpdate:modelValue": kt[6] || (kt[6] = (
|
|
213995
|
+
"onUpdate:modelValue": kt[6] || (kt[6] = (sn) => qr(ve) ? ve.value = sn : null)
|
|
213996
213996
|
}, {
|
|
213997
213997
|
size: "medium",
|
|
213998
213998
|
timezone: ne(fe),
|
|
@@ -219114,7 +219114,8 @@ const qla = {
|
|
|
219114
219114
|
deleteComment: (i == null ? void 0 : i.delete_comment_permission) || 0,
|
|
219115
219115
|
assignComment: 1,
|
|
219116
219116
|
resolveComment: 1,
|
|
219117
|
-
assignUser: ((d = n.value.permission) == null ? void 0 : d.has_update_assignee_permission) || 0
|
|
219117
|
+
assignUser: ((d = n.value.permission) == null ? void 0 : d.has_update_assignee_permission) || 0,
|
|
219118
|
+
general: (a == null ? void 0 : a.has_edit_permission) || 0
|
|
219118
219119
|
/* DENY */
|
|
219119
219120
|
};
|
|
219120
219121
|
}), getPermissionData: r };
|
|
@@ -220043,9 +220044,9 @@ const Y0e = {
|
|
|
220043
220044
|
targetPoint: p
|
|
220044
220045
|
} = ia(o), v = oe(null), g = oe(500);
|
|
220045
220046
|
uct(v, (nn) => {
|
|
220046
|
-
const
|
|
220047
|
-
if (
|
|
220048
|
-
const wn =
|
|
220047
|
+
const sn = nn[0];
|
|
220048
|
+
if (sn) {
|
|
220049
|
+
const wn = sn.contentRect.width;
|
|
220049
220050
|
g.value = wn;
|
|
220050
220051
|
}
|
|
220051
220052
|
});
|
|
@@ -220066,10 +220067,10 @@ const Y0e = {
|
|
|
220066
220067
|
() => a.value,
|
|
220067
220068
|
() => {
|
|
220068
220069
|
var wn, q;
|
|
220069
|
-
const [nn,
|
|
220070
|
+
const [nn, sn] = [(wn = a.value) == null ? void 0 : wn.start_date, (q = a.value) == null ? void 0 : q.due_date].map(
|
|
220070
220071
|
(pe) => pe ? new Date(pe) : null
|
|
220071
220072
|
);
|
|
220072
|
-
G.value = nn ? nn.toISOString() : "", X.value =
|
|
220073
|
+
G.value = nn ? nn.toISOString() : "", X.value = sn ? sn.toISOString() : "", B.value = [nn, sn];
|
|
220073
220074
|
},
|
|
220074
220075
|
{ immediate: !0, deep: !0 }
|
|
220075
220076
|
), vt(
|
|
@@ -220086,8 +220087,8 @@ const Y0e = {
|
|
|
220086
220087
|
var nn;
|
|
220087
220088
|
return ((nn = a.value) == null ? void 0 : nn.property.is_archived) === 1;
|
|
220088
220089
|
}), de = te(() => {
|
|
220089
|
-
var nn;
|
|
220090
|
-
return ((nn = a.value) == null ? void 0 : nn.
|
|
220090
|
+
var nn, sn;
|
|
220091
|
+
return ((sn = (nn = a.value) == null ? void 0 : nn.template_flow_status) == null ? void 0 : sn.is_lock_item) === 1;
|
|
220091
220092
|
}), Ce = te(() => hhe.get(uIe) || n.DEFAULT_TIMEZONE), we = te(() => {
|
|
220092
220093
|
var nn;
|
|
220093
220094
|
return (nn = a.value) == null ? void 0 : nn.bulk_process;
|
|
@@ -220103,26 +220104,26 @@ const Y0e = {
|
|
|
220103
220104
|
}
|
|
220104
220105
|
}).url;
|
|
220105
220106
|
}
|
|
220106
|
-
), Q = (nn,
|
|
220107
|
-
console.error(`Error in ${
|
|
220107
|
+
), Q = (nn, sn, wn) => {
|
|
220108
|
+
console.error(`Error in ${sn}:`, nn), Ls().showMessage("Operation failed", "error"), wn == null || wn();
|
|
220108
220109
|
}, Ae = (nn) => {
|
|
220109
|
-
const
|
|
220110
|
+
const sn = Ce.value;
|
|
220110
220111
|
if (!nn || !JY(nn).isValid())
|
|
220111
220112
|
return null;
|
|
220112
220113
|
const wn = new Date(nn);
|
|
220113
|
-
return wn.setMilliseconds(0), thr(wn.toISOString(),
|
|
220114
|
+
return wn.setMilliseconds(0), thr(wn.toISOString(), sn) || null;
|
|
220114
220115
|
}, be = () => {
|
|
220115
220116
|
l.value === "home" && k();
|
|
220116
220117
|
}, Ve = lb(async () => {
|
|
220117
220118
|
var nn;
|
|
220118
220119
|
try {
|
|
220119
220120
|
if (ve.value !== ((nn = a.value) == null ? void 0 : nn.name)) {
|
|
220120
|
-
const
|
|
220121
|
-
if (!(
|
|
220121
|
+
const sn = await U(ve.value);
|
|
220122
|
+
if (!(sn != null && sn.success))
|
|
220122
220123
|
throw new Error("Failed to update scene name");
|
|
220123
220124
|
}
|
|
220124
|
-
} catch (
|
|
220125
|
-
Q(
|
|
220125
|
+
} catch (sn) {
|
|
220126
|
+
Q(sn, "updateSceneName", () => {
|
|
220126
220127
|
var wn;
|
|
220127
220128
|
ve.value = ((wn = a.value) == null ? void 0 : wn.name) ?? "";
|
|
220128
220129
|
});
|
|
@@ -220130,12 +220131,12 @@ const Y0e = {
|
|
|
220130
220131
|
}
|
|
220131
220132
|
}, j), Oe = (nn) => {
|
|
220132
220133
|
var Pe;
|
|
220133
|
-
const
|
|
220134
|
-
[r.PROJECT]: `${q}/${
|
|
220135
|
-
[r.REVIEW_TAKE]: `${pe}/${
|
|
220136
|
-
[r.REVIEW_SCENE]: `${pe}/${
|
|
220137
|
-
[r.WOOHOO]: `${q}/${
|
|
220138
|
-
[r.UPDATE]: `${q}/${
|
|
220134
|
+
const sn = Tp(), wn = ((Pe = a.value) == null ? void 0 : Pe.entity_id) ?? "", q = D("BASE_URL"), pe = D("BASE_REVIEW_URL"), ct = {
|
|
220135
|
+
[r.PROJECT]: `${q}/${sn}/pl/dir/${wn}`,
|
|
220136
|
+
[r.REVIEW_TAKE]: `${pe}/${sn}?id=${wn}`,
|
|
220137
|
+
[r.REVIEW_SCENE]: `${pe}/${sn}?id=${wn}&scene_id=${M}&tab=iteration`,
|
|
220138
|
+
[r.WOOHOO]: `${q}/${sn}/pl/woo/rpt/${wn}`,
|
|
220139
|
+
[r.UPDATE]: `${q}/${sn}/pl/au?id=${wn}`,
|
|
220139
220140
|
[r.SCENE]: ""
|
|
220140
220141
|
// Not implemented in original
|
|
220141
220142
|
}[nn];
|
|
@@ -220164,12 +220165,12 @@ const Y0e = {
|
|
|
220164
220165
|
visible: nn === Nz.ALLOW || nn === Nz.DISABLED,
|
|
220165
220166
|
disabled: nn === Nz.DISABLED || de.value
|
|
220166
220167
|
}), rt = () => {
|
|
220167
|
-
var nn,
|
|
220168
|
+
var nn, sn;
|
|
220168
220169
|
return [
|
|
220169
220170
|
{
|
|
220170
220171
|
label: (nn = a.value) != null && nn.property.is_archived ? "Unarchive" : "Archive",
|
|
220171
220172
|
icon: "BoxArchive",
|
|
220172
|
-
tooltip: (
|
|
220173
|
+
tooltip: (sn = a.value) != null && sn.property.is_archived && w.value.archiveScene === Nz.DISABLED ? "Unarchive parent folder first to continue" : "",
|
|
220173
220174
|
...ke(w.value.archiveScene),
|
|
220174
220175
|
id: "archive",
|
|
220175
220176
|
action: () => {
|
|
@@ -220228,18 +220229,18 @@ const Y0e = {
|
|
|
220228
220229
|
() => a.value,
|
|
220229
220230
|
() => {
|
|
220230
220231
|
var wn, q;
|
|
220231
|
-
const [nn,
|
|
220232
|
+
const [nn, sn] = [(wn = a.value) == null ? void 0 : wn.start_date, (q = a.value) == null ? void 0 : q.due_date].map(
|
|
220232
220233
|
(pe) => pe ? new Date(pe) : null
|
|
220233
220234
|
);
|
|
220234
|
-
G.value = nn ? nn.toISOString() : "", X.value =
|
|
220235
|
+
G.value = nn ? nn.toISOString() : "", X.value = sn ? sn.toISOString() : "", se.value = [nn, sn];
|
|
220235
220236
|
},
|
|
220236
220237
|
{ immediate: !0, deep: !0 }
|
|
220237
220238
|
);
|
|
220238
220239
|
const Ke = te(() => {
|
|
220239
|
-
var
|
|
220240
|
+
var sn, wn;
|
|
220240
220241
|
const nn = a.value != null;
|
|
220241
220242
|
return {
|
|
220242
|
-
name: nn && ((
|
|
220243
|
+
name: nn && ((sn = a.value) == null ? void 0 : sn.name) !== void 0,
|
|
220243
220244
|
date: nn,
|
|
220244
220245
|
thumbnail: nn && ((wn = a.value) == null ? void 0 : wn.thumbnail) !== void 0,
|
|
220245
220246
|
permission: nn && w.value,
|
|
@@ -220250,11 +220251,11 @@ const Y0e = {
|
|
|
220250
220251
|
};
|
|
220251
220252
|
}), Qe = (nn) => {
|
|
220252
220253
|
var ct, Pe;
|
|
220253
|
-
const { start:
|
|
220254
|
-
pe && Ue || (!Ue && wn !== void 0 && (q.due_date = Ae(wn == null ? void 0 : wn.toISOString())), !pe &&
|
|
220254
|
+
const { start: sn, end: wn } = nn, q = {}, pe = (sn == null ? void 0 : sn.getTime()) == ((ct = B.value[0]) == null ? void 0 : ct.getTime()), Ue = (wn == null ? void 0 : wn.getTime()) == ((Pe = B.value[1]) == null ? void 0 : Pe.getTime());
|
|
220255
|
+
pe && Ue || (!Ue && wn !== void 0 && (q.due_date = Ae(wn == null ? void 0 : wn.toISOString())), !pe && sn !== void 0 && (q.start_date = Ae(sn == null ? void 0 : sn.toISOString())), P(q), be());
|
|
220255
220256
|
}, xe = te(() => {
|
|
220256
220257
|
var nn;
|
|
220257
|
-
return ((nn = d.value.find((
|
|
220258
|
+
return ((nn = d.value.find((sn) => sn.id === u.value)) == null ? void 0 : nn.color) || "#a6a6a6";
|
|
220258
220259
|
}), Ne = te(() => Tp()), dt = te(() => {
|
|
220259
220260
|
var nn;
|
|
220260
220261
|
return ((nn = a.value) == null ? void 0 : nn.id) || "";
|
|
@@ -220396,10 +220397,13 @@ function $ua(e, t, n, r, o, a) {
|
|
|
220396
220397
|
}]
|
|
220397
220398
|
]) : Ye("v-if", !0),
|
|
220398
220399
|
r.isLocked ? Tt((W(), me("div", Cua, [
|
|
220399
|
-
Me(l, {
|
|
220400
|
+
Me(l, {
|
|
220401
|
+
name: "Lock",
|
|
220402
|
+
color: r.permission.general == r.PERMISSION_ENUM.DENY ? "#232323" : "#a6a6a6"
|
|
220403
|
+
}, null, 8, ["color"])
|
|
220400
220404
|
])), [
|
|
220401
220405
|
[d, {
|
|
220402
|
-
content: "
|
|
220406
|
+
content: r.permission.general == r.PERMISSION_ENUM.DENY ? "This task is locked and can't be edited. Contact admin to unlock it." : "Locked",
|
|
220403
220407
|
hideOnClick: !1,
|
|
220404
220408
|
delay: [1e3, 0]
|
|
220405
220409
|
}]
|
|
@@ -284636,7 +284640,7 @@ function d3a(e, t) {
|
|
|
284636
284640
|
hideWithInteractivity: nn,
|
|
284637
284641
|
enable: ot,
|
|
284638
284642
|
disable: wt,
|
|
284639
|
-
unmount:
|
|
284643
|
+
unmount: sn,
|
|
284640
284644
|
destroy: wn
|
|
284641
284645
|
};
|
|
284642
284646
|
if (!n.render)
|
|
@@ -284996,7 +285000,7 @@ function d3a(e, t) {
|
|
|
284996
285000
|
function nn(q) {
|
|
284997
285001
|
nt.env.NODE_ENV !== "production" && yI(y.state.isDestroyed, OH("hideWithInteractivity")), L().addEventListener("mousemove", v), PWt(Rwe, v), v(q);
|
|
284998
285002
|
}
|
|
284999
|
-
function
|
|
285003
|
+
function sn() {
|
|
285000
285004
|
nt.env.NODE_ENV !== "production" && yI(y.state.isDestroyed, OH("unmount")), y.state.isVisible && y.hide(), y.state.isMounted && (Qe(), Ne().forEach(function(q) {
|
|
285001
285005
|
q._tippy.unmount();
|
|
285002
285006
|
}), k.parentNode && k.parentNode.removeChild(k), u9e = u9e.filter(function(q) {
|
|
@@ -286209,7 +286213,7 @@ var aBn = { exports: {} };
|
|
|
286209
286213
|
return [h, u(h), c];
|
|
286210
286214
|
}(), wt = hr[0], Bn = hr[1], hr = hr[2], Bn = Bn && Bn.then, bt = wt && wt.constructor, kt = !!hr, Ct = function(c, h) {
|
|
286211
286215
|
Ue.push([c, h]), _n && (queueMicrotask(Mt), _n = !1);
|
|
286212
|
-
}, cn = !0, _n = !0, nn = [],
|
|
286216
|
+
}, cn = !0, _n = !0, nn = [], sn = [], wn = Oe, q = { id: "global", global: !0, ref: 0, unhandleds: [], onunhandled: Ve, pgp: !1, env: {}, finalize: Ve }, pe = q, Ue = [], ct = 0, Pe = [];
|
|
286213
286217
|
function Se(c) {
|
|
286214
286218
|
if (typeof this != "object") throw new TypeError("Promises must be constructed via new");
|
|
286215
286219
|
this._listeners = [], this._lib = !1;
|
|
@@ -286253,7 +286257,7 @@ var aBn = { exports: {} };
|
|
|
286253
286257
|
}
|
|
286254
286258
|
function Dt(c, h) {
|
|
286255
286259
|
var b, _;
|
|
286256
|
-
|
|
286260
|
+
sn.push(h), c._state === null && (b = c._lib && Ft(), h = wn(h), c._state = !1, c._value = h, _ = c, nn.some(function(C) {
|
|
286257
286261
|
return C._value === _._value;
|
|
286258
286262
|
}) || nn.push(_), Bt(c), b && Zt());
|
|
286259
286263
|
}
|
|
@@ -286276,9 +286280,9 @@ var aBn = { exports: {} };
|
|
|
286276
286280
|
function _t(c, h, b) {
|
|
286277
286281
|
try {
|
|
286278
286282
|
var _, C = h._value;
|
|
286279
|
-
!h._state &&
|
|
286283
|
+
!h._state && sn.length && (sn = []), _ = Ne && h._consoleTask ? h._consoleTask.run(function() {
|
|
286280
286284
|
return c(C);
|
|
286281
|
-
}) : c(C), h._state ||
|
|
286285
|
+
}) : c(C), h._state || sn.indexOf(C) !== -1 || function(A) {
|
|
286282
286286
|
for (var V = nn.length; V; ) if (nn[--V]._value === A._value) return nn.splice(V, 1);
|
|
286283
286287
|
}(h), b.resolve(_);
|
|
286284
286288
|
} catch (A) {
|
|
@@ -305380,7 +305384,7 @@ function dWa(e, t) {
|
|
|
305380
305384
|
hideWithInteractivity: nn,
|
|
305381
305385
|
enable: ot,
|
|
305382
305386
|
disable: wt,
|
|
305383
|
-
unmount:
|
|
305387
|
+
unmount: sn,
|
|
305384
305388
|
destroy: wn
|
|
305385
305389
|
};
|
|
305386
305390
|
if (!n.render)
|
|
@@ -305740,7 +305744,7 @@ function dWa(e, t) {
|
|
|
305740
305744
|
function nn(q) {
|
|
305741
305745
|
nt.env.NODE_ENV !== "production" && bI(y.state.isDestroyed, IH("hideWithInteractivity")), L().addEventListener("mousemove", v), kqt(Xwe, v), v(q);
|
|
305742
305746
|
}
|
|
305743
|
-
function
|
|
305747
|
+
function sn() {
|
|
305744
305748
|
nt.env.NODE_ENV !== "production" && bI(y.state.isDestroyed, IH("unmount")), y.state.isVisible && y.hide(), y.state.isMounted && (Qe(), Ne().forEach(function(q) {
|
|
305745
305749
|
q._tippy.unmount();
|
|
305746
305750
|
}), k.parentNode && k.parentNode.removeChild(k), B9e = B9e.filter(function(q) {
|
|
@@ -315415,7 +315419,7 @@ function ZGa(e, t) {
|
|
|
315415
315419
|
hideWithInteractivity: nn,
|
|
315416
315420
|
enable: ot,
|
|
315417
315421
|
disable: wt,
|
|
315418
|
-
unmount:
|
|
315422
|
+
unmount: sn,
|
|
315419
315423
|
destroy: wn
|
|
315420
315424
|
};
|
|
315421
315425
|
if (!n.render)
|
|
@@ -315775,7 +315779,7 @@ function ZGa(e, t) {
|
|
|
315775
315779
|
function nn(q) {
|
|
315776
315780
|
nt.env.NODE_ENV !== "production" && wI(y.state.isDestroyed, MH("hideWithInteractivity")), L().addEventListener("mousemove", v), U7t(a_e, v), v(q);
|
|
315777
315781
|
}
|
|
315778
|
-
function
|
|
315782
|
+
function sn() {
|
|
315779
315783
|
nt.env.NODE_ENV !== "production" && wI(y.state.isDestroyed, MH("unmount")), y.state.isVisible && y.hide(), y.state.isMounted && (Qe(), Ne().forEach(function(q) {
|
|
315780
315784
|
q._tippy.unmount();
|
|
315781
315785
|
}), k.parentNode && k.parentNode.removeChild(k), mqe = mqe.filter(function(q) {
|
|
@@ -317001,7 +317005,7 @@ var f6n = { exports: {} };
|
|
|
317001
317005
|
return [h, u(h), c];
|
|
317002
317006
|
}(), wt = hr[0], Bn = hr[1], hr = hr[2], Bn = Bn && Bn.then, bt = wt && wt.constructor, kt = !!hr, Ct = function(c, h) {
|
|
317003
317007
|
Ue.push([c, h]), _n && (queueMicrotask(Mt), _n = !1);
|
|
317004
|
-
}, cn = !0, _n = !0, nn = [],
|
|
317008
|
+
}, cn = !0, _n = !0, nn = [], sn = [], wn = Oe, q = { id: "global", global: !0, ref: 0, unhandleds: [], onunhandled: Ve, pgp: !1, env: {}, finalize: Ve }, pe = q, Ue = [], ct = 0, Pe = [];
|
|
317005
317009
|
function Se(c) {
|
|
317006
317010
|
if (typeof this != "object") throw new TypeError("Promises must be constructed via new");
|
|
317007
317011
|
this._listeners = [], this._lib = !1;
|
|
@@ -317045,7 +317049,7 @@ var f6n = { exports: {} };
|
|
|
317045
317049
|
}
|
|
317046
317050
|
function Dt(c, h) {
|
|
317047
317051
|
var b, _;
|
|
317048
|
-
|
|
317052
|
+
sn.push(h), c._state === null && (b = c._lib && Ft(), h = wn(h), c._state = !1, c._value = h, _ = c, nn.some(function(C) {
|
|
317049
317053
|
return C._value === _._value;
|
|
317050
317054
|
}) || nn.push(_), Bt(c), b && Zt());
|
|
317051
317055
|
}
|
|
@@ -317068,9 +317072,9 @@ var f6n = { exports: {} };
|
|
|
317068
317072
|
function _t(c, h, b) {
|
|
317069
317073
|
try {
|
|
317070
317074
|
var _, C = h._value;
|
|
317071
|
-
!h._state &&
|
|
317075
|
+
!h._state && sn.length && (sn = []), _ = Ne && h._consoleTask ? h._consoleTask.run(function() {
|
|
317072
317076
|
return c(C);
|
|
317073
|
-
}) : c(C), h._state ||
|
|
317077
|
+
}) : c(C), h._state || sn.indexOf(C) !== -1 || function(A) {
|
|
317074
317078
|
for (var V = nn.length; V; ) if (nn[--V]._value === A._value) return nn.splice(V, 1);
|
|
317075
317079
|
}(h), b.resolve(_);
|
|
317076
317080
|
} catch (A) {
|
|
@@ -343282,7 +343286,7 @@ const Gat = (e, t) => e == null ? void 0 : e.querySelector(`[data-dp-element="${
|
|
|
343282
343286
|
o.value[0] && o.value[1] && +((Pe = o.value) == null ? void 0 : Pe[0]) > +((Se = o.value) == null ? void 0 : Se[1]) && (o.value.reverse(), t("range-start", o.value[0]), t("range-end", o.value[1]));
|
|
343283
343287
|
}, nn = () => {
|
|
343284
343288
|
o.value.length && (o.value[0] && !o.value[1] ? cn(0) : (cn(0), cn(1), r()), _n(), l.value = o.value.slice(), jMe(o.value, t, e.autoApply, e.modelAuto));
|
|
343285
|
-
},
|
|
343289
|
+
}, sn = (Pe, Se = !1) => {
|
|
343286
343290
|
if (y(Pe.value) || !Pe.current && e.hideOffsetDates) return t("invalid-date", Pe.value);
|
|
343287
343291
|
if (i.value = JSON.parse(JSON.stringify(Pe)), !v.value.enabled) return Ne(Pe);
|
|
343288
343292
|
JYt(d.hours) && JYt(d.minutes) && !E.value.enabled && (kt(Pe, Se), nn());
|
|
@@ -343326,7 +343330,7 @@ const Gat = (e, t) => e == null ? void 0 : e.querySelector(`[data-dp-element="${
|
|
|
343326
343330
|
handleScroll: Oe,
|
|
343327
343331
|
handleSwipe: ke,
|
|
343328
343332
|
handleArrow: Be,
|
|
343329
|
-
selectDate:
|
|
343333
|
+
selectDate: sn,
|
|
343330
343334
|
updateMonthYear: wn,
|
|
343331
343335
|
presetDate: q,
|
|
343332
343336
|
selectCurrentDate: pe,
|
|
@@ -344931,7 +344935,7 @@ const Hfi = ({
|
|
|
344931
344935
|
})) : r("invalid-date", Dt);
|
|
344932
344936
|
}, nn = () => {
|
|
344933
344937
|
o.autoApply && k(Ce.value) && ee(), bt();
|
|
344934
|
-
},
|
|
344938
|
+
}, sn = () => i.value ? cn() : Ne(), wn = (Dt) => {
|
|
344935
344939
|
Ce.value = Dt;
|
|
344936
344940
|
}, q = () => {
|
|
344937
344941
|
R.value.enabled && (m.value = !0, Q()), r("focus");
|
|
@@ -344969,7 +344973,7 @@ const Hfi = ({
|
|
|
344969
344973
|
setMonthYear: Ue,
|
|
344970
344974
|
parseModel: ct,
|
|
344971
344975
|
switchView: Pe,
|
|
344972
|
-
toggleMenu:
|
|
344976
|
+
toggleMenu: sn,
|
|
344973
344977
|
handleFlow: mt,
|
|
344974
344978
|
getDpWrapMenuRef: Ut
|
|
344975
344979
|
}), (Dt, Bt) => (W(), me("div", {
|
|
@@ -344991,7 +344995,7 @@ const Hfi = ({
|
|
|
344991
344995
|
onSetInputDate: _n,
|
|
344992
344996
|
onSetEmptyDate: ne(ee),
|
|
344993
344997
|
onSelectDate: ot,
|
|
344994
|
-
onToggle:
|
|
344998
|
+
onToggle: sn,
|
|
344995
344999
|
onClose: cn,
|
|
344996
345000
|
onFocus: q,
|
|
344997
345001
|
onBlur: pe,
|
|
@@ -345096,7 +345100,7 @@ function shi() {
|
|
|
345096
345100
|
["partial", k],
|
|
345097
345101
|
["partialRight", O],
|
|
345098
345102
|
["rearg", I]
|
|
345099
|
-
], Ce = "[object Arguments]", we = "[object Array]", ee = "[object AsyncFunction]", Q = "[object Boolean]", Ae = "[object Date]", be = "[object DOMException]", Ve = "[object Error]", Oe = "[object Function]", Be = "[object GeneratorFunction]", ke = "[object Map]", rt = "[object Number]", Xe = "[object Null]", Ke = "[object Object]", Qe = "[object Promise]", xe = "[object Proxy]", Ne = "[object RegExp]", dt = "[object Set]", qe = "[object String]", ot = "[object Symbol]", wt = "[object Undefined]", bt = "[object WeakMap]", kt = "[object WeakSet]", Ct = "[object ArrayBuffer]", cn = "[object DataView]", _n = "[object Float32Array]", nn = "[object Float64Array]",
|
|
345103
|
+
], Ce = "[object Arguments]", we = "[object Array]", ee = "[object AsyncFunction]", Q = "[object Boolean]", Ae = "[object Date]", be = "[object DOMException]", Ve = "[object Error]", Oe = "[object Function]", Be = "[object GeneratorFunction]", ke = "[object Map]", rt = "[object Number]", Xe = "[object Null]", Ke = "[object Object]", Qe = "[object Promise]", xe = "[object Proxy]", Ne = "[object RegExp]", dt = "[object Set]", qe = "[object String]", ot = "[object Symbol]", wt = "[object Undefined]", bt = "[object WeakMap]", kt = "[object WeakSet]", Ct = "[object ArrayBuffer]", cn = "[object DataView]", _n = "[object Float32Array]", nn = "[object Float64Array]", sn = "[object Int8Array]", wn = "[object Int16Array]", q = "[object Int32Array]", pe = "[object Uint8Array]", Ue = "[object Uint8ClampedArray]", ct = "[object Uint16Array]", Pe = "[object Uint32Array]", Se = /\b__p \+= '';/g, mt = /\b(__p \+=) '' \+/g, Ut = /(__e\(.*?\)|\b__t\)) \+\n'';/g, Dt = /&(?:amp|lt|gt|quot|#39);/g, Bt = /[&<>"']/g, an = RegExp(Dt.source), _t = RegExp(Bt.source), Mt = /<%-([\s\S]+?)%>/g, Ft = /<%([\s\S]+?)%>/g, Zt = /<%=([\s\S]+?)%>/g, Vn = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/, sr = /^\w*$/, Ht = /[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g, tn = /[\\^$.*+?()[\]{}|]/g, ki = RegExp(tn.source), uo = /^\s+/, vo = /\s/, tr = /\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/, Xl = /\{\n\/\* \[wrapped with (.+)\] \*/, vr = /,? & /, Jr = /[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g, br = /[()=,{}\[\]\/\s]/, Xr = /\\(\\)?/g, tu = /\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g, gr = /\w*$/, Yi = /^[-+]0x[0-9a-f]+$/i, Er = /^0b[01]+$/i, wi = /^\[object .+?Constructor\]$/, Bo = /^0o[0-7]+$/i, hn = /^(?:0|[1-9]\d*)$/, zr = /[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g, lr = /($^)/, Ys = /['\n\r\u2028\u2029\\]/g, mr = "\\ud800-\\udfff", Vo = "\\u0300-\\u036f", Hi = "\\ufe20-\\ufe2f", _i = "\\u20d0-\\u20ff", Kr = Vo + Hi + _i, al = "\\u2700-\\u27bf", Ja = "a-z\\xdf-\\xf6\\xf8-\\xff", ys = "\\xac\\xb1\\xd7\\xf7", Vt = "\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf", Hs = "\\u2000-\\u206f", qs = " \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000", Zs = "A-Z\\xc0-\\xd6\\xd8-\\xde", rn = "\\ufe0e\\ufe0f", Io = ys + Vt + Hs + qs, ua = "['’]", co = "[" + mr + "]", $i = "[" + Io + "]", fi = "[" + Kr + "]", oo = "\\d+", il = "[" + al + "]", Ka = "[" + Ja + "]", bs = "[^" + mr + Io + oo + al + Ja + Zs + "]", hr = "\\ud83c[\\udffb-\\udfff]", lo = "(?:" + fi + "|" + hr + ")", Ul = "[^" + mr + "]", Kl = "(?:\\ud83c[\\udde6-\\uddff]){2}", zt = "[\\ud800-\\udbff][\\udc00-\\udfff]", Ua = "[" + Zs + "]", uu = "\\u200d", nu = "(?:" + Ka + "|" + bs + ")", Mn = "(?:" + Ua + "|" + bs + ")", fo = "(?:" + ua + "(?:d|ll|m|re|s|t|ve))?", Ga = "(?:" + ua + "(?:D|LL|M|RE|S|T|VE))?", rr = lo + "?", Gl = "[" + rn + "]?", jl = "(?:" + uu + "(?:" + [Ul, Kl, zt].join("|") + ")" + Gl + rr + ")*", xn = "\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])", dr = "\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])", da = Gl + rr + jl, fa = "(?:" + [il, Kl, zt].join("|") + ")" + da, Si = "(?:" + [Ul + fi + "?", fi, Kl, zt, co].join("|") + ")", jr = RegExp(ua, "g"), bu = RegExp(fi, "g"), ir = RegExp(hr + "(?=" + hr + ")|" + Si + da, "g"), Ii = RegExp([
|
|
345100
345104
|
Ua + "?" + Ka + "+" + fo + "(?=" + [$i, Ua, "$"].join("|") + ")",
|
|
345101
345105
|
Mn + "+" + Ga + "(?=" + [$i, Ua + nu, "$"].join("|") + ")",
|
|
345102
345106
|
Ua + "?" + nu + "+" + fo,
|
|
@@ -345137,9 +345141,9 @@ function shi() {
|
|
|
345137
345141
|
"parseInt",
|
|
345138
345142
|
"setTimeout"
|
|
345139
345143
|
], Ti = -1, ao = {};
|
|
345140
|
-
ao[_n] = ao[nn] = ao[
|
|
345144
|
+
ao[_n] = ao[nn] = ao[sn] = ao[wn] = ao[q] = ao[pe] = ao[Ue] = ao[ct] = ao[Pe] = !0, ao[Ce] = ao[we] = ao[Ct] = ao[Q] = ao[cn] = ao[Ae] = ao[Ve] = ao[Oe] = ao[ke] = ao[rt] = ao[Ke] = ao[Ne] = ao[dt] = ao[qe] = ao[bt] = !1;
|
|
345141
345145
|
var Uo = {};
|
|
345142
|
-
Uo[Ce] = Uo[we] = Uo[Ct] = Uo[cn] = Uo[Q] = Uo[Ae] = Uo[_n] = Uo[nn] = Uo[
|
|
345146
|
+
Uo[Ce] = Uo[we] = Uo[Ct] = Uo[cn] = Uo[Q] = Uo[Ae] = Uo[_n] = Uo[nn] = Uo[sn] = Uo[wn] = Uo[q] = Uo[ke] = Uo[rt] = Uo[Ke] = Uo[Ne] = Uo[dt] = Uo[qe] = Uo[ot] = Uo[pe] = Uo[Ue] = Uo[ct] = Uo[Pe] = !0, Uo[Ve] = Uo[Oe] = Uo[bt] = !1;
|
|
345143
345147
|
var ha = {
|
|
345144
345148
|
// Latin-1 Supplement block.
|
|
345145
345149
|
À: "A",
|
|
@@ -345752,7 +345756,7 @@ function shi() {
|
|
|
345752
345756
|
return Ur;
|
|
345753
345757
|
}
|
|
345754
345758
|
$t.prototype = et(ut.prototype), $t.prototype.constructor = $t;
|
|
345755
|
-
function
|
|
345759
|
+
function ln(T) {
|
|
345756
345760
|
var N = -1, ce = T == null ? 0 : T.length;
|
|
345757
345761
|
for (this.clear(); ++N < ce; ) {
|
|
345758
345762
|
var Re = T[N];
|
|
@@ -345782,7 +345786,7 @@ function shi() {
|
|
|
345782
345786
|
var ce = this.__data__;
|
|
345783
345787
|
return this.size += this.has(T) ? 0 : 1, ce[T] = On && N === n ? u : N, this;
|
|
345784
345788
|
}
|
|
345785
|
-
|
|
345789
|
+
ln.prototype.clear = An, ln.prototype.delete = Qn, ln.prototype.get = Fn, ln.prototype.has = zo, ln.prototype.set = ci;
|
|
345786
345790
|
function yi(T) {
|
|
345787
345791
|
var N = -1, ce = T == null ? 0 : T.length;
|
|
345788
345792
|
for (this.clear(); ++N < ce; ) {
|
|
@@ -345821,9 +345825,9 @@ function shi() {
|
|
|
345821
345825
|
}
|
|
345822
345826
|
function pO() {
|
|
345823
345827
|
this.size = 0, this.__data__ = {
|
|
345824
|
-
hash: new
|
|
345828
|
+
hash: new ln(),
|
|
345825
345829
|
map: new (Wt || yi)(),
|
|
345826
|
-
string: new
|
|
345830
|
+
string: new ln()
|
|
345827
345831
|
};
|
|
345828
345832
|
}
|
|
345829
345833
|
function Vc(T) {
|
|
@@ -347134,7 +347138,7 @@ function shi() {
|
|
|
347134
347138
|
return u3e(T, ce);
|
|
347135
347139
|
case _n:
|
|
347136
347140
|
case nn:
|
|
347137
|
-
case
|
|
347141
|
+
case sn:
|
|
347138
347142
|
case wn:
|
|
347139
347143
|
case q:
|
|
347140
347144
|
case pe:
|
|
@@ -350573,7 +350577,7 @@ function ami(e, t) {
|
|
|
350573
350577
|
hideWithInteractivity: nn,
|
|
350574
350578
|
enable: ot,
|
|
350575
350579
|
disable: wt,
|
|
350576
|
-
unmount:
|
|
350580
|
+
unmount: sn,
|
|
350577
350581
|
destroy: wn
|
|
350578
350582
|
};
|
|
350579
350583
|
if (!n.render)
|
|
@@ -350925,7 +350929,7 @@ function ami(e, t) {
|
|
|
350925
350929
|
function nn(q) {
|
|
350926
350930
|
L().addEventListener("mousemove", v), fZt(A_e, v), v(q);
|
|
350927
350931
|
}
|
|
350928
|
-
function
|
|
350932
|
+
function sn() {
|
|
350929
350933
|
y.state.isVisible && y.hide(), y.state.isMounted && (Qe(), Ne().forEach(function(q) {
|
|
350930
350934
|
q._tippy.unmount();
|
|
350931
350935
|
}), k.parentNode && k.parentNode.removeChild(k), h7e = h7e.filter(function(q) {
|
|
@@ -353037,7 +353041,7 @@ function lvi(e, t) {
|
|
|
353037
353041
|
hideWithInteractivity: nn,
|
|
353038
353042
|
enable: ot,
|
|
353039
353043
|
disable: wt,
|
|
353040
|
-
unmount:
|
|
353044
|
+
unmount: sn,
|
|
353041
353045
|
destroy: wn
|
|
353042
353046
|
};
|
|
353043
353047
|
if (!n.render)
|
|
@@ -353397,7 +353401,7 @@ function lvi(e, t) {
|
|
|
353397
353401
|
function nn(q) {
|
|
353398
353402
|
nt.env.NODE_ENV !== "production" && _I(y.state.isDestroyed, WH("hideWithInteractivity")), L().addEventListener("mousemove", v), $Zt(P_e, v), v(q);
|
|
353399
353403
|
}
|
|
353400
|
-
function
|
|
353404
|
+
function sn() {
|
|
353401
353405
|
nt.env.NODE_ENV !== "production" && _I(y.state.isDestroyed, WH("unmount")), y.state.isVisible && y.hide(), y.state.isMounted && (Qe(), Ne().forEach(function(q) {
|
|
353402
353406
|
q._tippy.unmount();
|
|
353403
353407
|
}), k.parentNode && k.parentNode.removeChild(k), v7e = v7e.filter(function(q) {
|
|
@@ -354093,7 +354097,7 @@ var rWn = { exports: {} };
|
|
|
354093
354097
|
return [h, u(h), c];
|
|
354094
354098
|
}(), wt = hr[0], Bn = hr[1], hr = hr[2], Bn = Bn && Bn.then, bt = wt && wt.constructor, kt = !!hr, Ct = function(c, h) {
|
|
354095
354099
|
Ue.push([c, h]), _n && (queueMicrotask(Mt), _n = !1);
|
|
354096
|
-
}, cn = !0, _n = !0, nn = [],
|
|
354100
|
+
}, cn = !0, _n = !0, nn = [], sn = [], wn = Oe, q = { id: "global", global: !0, ref: 0, unhandleds: [], onunhandled: Ve, pgp: !1, env: {}, finalize: Ve }, pe = q, Ue = [], ct = 0, Pe = [];
|
|
354097
354101
|
function Se(c) {
|
|
354098
354102
|
if (typeof this != "object") throw new TypeError("Promises must be constructed via new");
|
|
354099
354103
|
this._listeners = [], this._lib = !1;
|
|
@@ -354137,7 +354141,7 @@ var rWn = { exports: {} };
|
|
|
354137
354141
|
}
|
|
354138
354142
|
function Dt(c, h) {
|
|
354139
354143
|
var b, _;
|
|
354140
|
-
|
|
354144
|
+
sn.push(h), c._state === null && (b = c._lib && Ft(), h = wn(h), c._state = !1, c._value = h, _ = c, nn.some(function(C) {
|
|
354141
354145
|
return C._value === _._value;
|
|
354142
354146
|
}) || nn.push(_), Bt(c), b && Zt());
|
|
354143
354147
|
}
|
|
@@ -354160,9 +354164,9 @@ var rWn = { exports: {} };
|
|
|
354160
354164
|
function _t(c, h, b) {
|
|
354161
354165
|
try {
|
|
354162
354166
|
var _, C = h._value;
|
|
354163
|
-
!h._state &&
|
|
354167
|
+
!h._state && sn.length && (sn = []), _ = Ne && h._consoleTask ? h._consoleTask.run(function() {
|
|
354164
354168
|
return c(C);
|
|
354165
|
-
}) : c(C), h._state ||
|
|
354169
|
+
}) : c(C), h._state || sn.indexOf(C) !== -1 || function(A) {
|
|
354166
354170
|
for (var V = nn.length; V; ) if (nn[--V]._value === A._value) return nn.splice(V, 1);
|
|
354167
354171
|
}(h), b.resolve(_);
|
|
354168
354172
|
} catch (A) {
|
|
@@ -380482,7 +380486,7 @@ function s$i(e, t) {
|
|
|
380482
380486
|
hideWithInteractivity: nn,
|
|
380483
380487
|
enable: ot,
|
|
380484
380488
|
disable: wt,
|
|
380485
|
-
unmount:
|
|
380489
|
+
unmount: sn,
|
|
380486
380490
|
destroy: wn
|
|
380487
380491
|
};
|
|
380488
380492
|
if (!n.render)
|
|
@@ -380842,7 +380846,7 @@ function s$i(e, t) {
|
|
|
380842
380846
|
function nn(q) {
|
|
380843
380847
|
nt.env.NODE_ENV !== "production" && SI(y.state.isDestroyed, ez("hideWithInteractivity")), L().addEventListener("mousemove", v), GQt(t1e, v), v(q);
|
|
380844
380848
|
}
|
|
380845
|
-
function
|
|
380849
|
+
function sn() {
|
|
380846
380850
|
nt.env.NODE_ENV !== "production" && SI(y.state.isDestroyed, ez("unmount")), y.state.isVisible && y.hide(), y.state.isMounted && (Qe(), Ne().forEach(function(q) {
|
|
380847
380851
|
q._tippy.unmount();
|
|
380848
380852
|
}), k.parentNode && k.parentNode.removeChild(k), lKe = lKe.filter(function(q) {
|
|
@@ -382522,7 +382526,7 @@ var N$i = {
|
|
|
382522
382526
|
var Pe = po.now().setZone(d.timezone);
|
|
382523
382527
|
ke.value = Pe.year, Be.value = Pe.month;
|
|
382524
382528
|
}, L = function(Pe) {
|
|
382525
|
-
d.disabled || d.readOnly || (x.value || E(), Pe === "end" ?
|
|
382529
|
+
d.disabled || d.readOnly || (x.value || E(), Pe === "end" ? sn() : nn());
|
|
382526
382530
|
}, j = fr({
|
|
382527
382531
|
start: !1,
|
|
382528
382532
|
end: !1
|
|
@@ -382564,7 +382568,7 @@ var N$i = {
|
|
|
382564
382568
|
immediate: !0
|
|
382565
382569
|
});
|
|
382566
382570
|
var Xe = oe(null), Ke = function(Pe) {
|
|
382567
|
-
Pe.preventDefault(), Pe.stopImmediatePropagation(), Pe.stopPropagation(),
|
|
382571
|
+
Pe.preventDefault(), Pe.stopImmediatePropagation(), Pe.stopPropagation(), sn();
|
|
382568
382572
|
}, Qe = function() {
|
|
382569
382573
|
i.value === "month" ? ke.value > y.value[0] && (ke.value -= 1) : Be.value === 1 ? (Be.value = 12, ke.value -= 1) : Be.value -= 1;
|
|
382570
382574
|
}, xe = function() {
|
|
@@ -382645,7 +382649,7 @@ var N$i = {
|
|
|
382645
382649
|
(Pe = I.value) === null || Pe === void 0 || Pe.focus();
|
|
382646
382650
|
}));
|
|
382647
382651
|
}
|
|
382648
|
-
function
|
|
382652
|
+
function sn() {
|
|
382649
382653
|
d.disabled || d.readOnly || (Ae(), fe.isSelectingEnd = !0, fe.isSelectingStart = !1, It(function() {
|
|
382650
382654
|
var Pe;
|
|
382651
382655
|
(Pe = Xe.value) === null || Pe === void 0 || Pe.focus();
|
|
@@ -382691,14 +382695,14 @@ var N$i = {
|
|
|
382691
382695
|
n({
|
|
382692
382696
|
resetCalendarLogic: pe,
|
|
382693
382697
|
openStart: nn,
|
|
382694
|
-
openEnd:
|
|
382698
|
+
openEnd: sn,
|
|
382695
382699
|
closePicker: wn,
|
|
382696
382700
|
clearAll: cn,
|
|
382697
382701
|
isOpen: _n,
|
|
382698
382702
|
drpRef: q,
|
|
382699
382703
|
getValues: Ue,
|
|
382700
382704
|
focus: function() {
|
|
382701
|
-
fe.startDate || fe.endDate ? fe.startDate ? nn() :
|
|
382705
|
+
fe.startDate || fe.endDate ? fe.startDate ? nn() : sn() : nn();
|
|
382702
382706
|
}
|
|
382703
382707
|
});
|
|
382704
382708
|
var ct = oe(null);
|
|
@@ -382787,7 +382791,7 @@ var N$i = {
|
|
|
382787
382791
|
"model-value": ne(fe).endDate,
|
|
382788
382792
|
placeholder: d.duePlaceholder,
|
|
382789
382793
|
active: ne(fe).isSelectingEnd,
|
|
382790
|
-
onClick:
|
|
382794
|
+
onClick: sn,
|
|
382791
382795
|
onClear: Ct,
|
|
382792
382796
|
onComplete: wt,
|
|
382793
382797
|
onInvalid: Se[4] || (Se[4] = function(mt) {
|
|
@@ -383518,7 +383522,7 @@ function _Le() {
|
|
|
383518
383522
|
var e;
|
|
383519
383523
|
return typeof window < "u" ? e = window : typeof U$e < "u" ? e = U$e : typeof self < "u" ? e = self : e = {}, pKe = e, pKe;
|
|
383520
383524
|
}
|
|
383521
|
-
var i2i = _Le(),
|
|
383525
|
+
var i2i = _Le(), un = /* @__PURE__ */ yve(i2i), s2i = {}, l2i = /* @__PURE__ */ Object.freeze({
|
|
383522
383526
|
__proto__: null,
|
|
383523
383527
|
default: s2i
|
|
383524
383528
|
}), u2i = /* @__PURE__ */ a2i(l2i), mKe, len;
|
|
@@ -384998,9 +385002,9 @@ function kp() {
|
|
|
384998
385002
|
var wen = "https://example.com", SLe = function(t, n) {
|
|
384999
385003
|
if (/^[a-z]+:/i.test(n))
|
|
385000
385004
|
return n;
|
|
385001
|
-
/^data:/.test(t) && (t =
|
|
385002
|
-
var r = /^\/\//.test(t), o = !
|
|
385003
|
-
t = new
|
|
385005
|
+
/^data:/.test(t) && (t = un.location && un.location.href || "");
|
|
385006
|
+
var r = /^\/\//.test(t), o = !un.location && !/\/\//i.test(t);
|
|
385007
|
+
t = new un.URL(t, un.location || wen);
|
|
385004
385008
|
var a = new URL(n, t);
|
|
385005
385009
|
return o ? a.href.slice(wen.length) : r ? a.href.slice(a.protocol.length) : a.href;
|
|
385006
385010
|
}, s1t = /* @__PURE__ */ function() {
|
|
@@ -385032,7 +385036,7 @@ var wen = "https://example.com", SLe = function(t, n) {
|
|
|
385032
385036
|
});
|
|
385033
385037
|
}, e;
|
|
385034
385038
|
}(), E2i = function(t) {
|
|
385035
|
-
return
|
|
385039
|
+
return un.atob ? un.atob(t) : Buffer.from(t, "base64").toString("binary");
|
|
385036
385040
|
};
|
|
385037
385041
|
function FKn(e) {
|
|
385038
385042
|
for (var t = E2i(e), n = new Uint8Array(t.length), r = 0; r < t.length; r++)
|
|
@@ -385961,7 +385965,7 @@ var Kj = {
|
|
|
385961
385965
|
}) && (o = "ogg"), r + "/" + o + ';codecs="' + t + '"';
|
|
385962
385966
|
}
|
|
385963
385967
|
}, Sle = function(t, n) {
|
|
385964
|
-
return t === void 0 && (t = ""), n === void 0 && (n = !1),
|
|
385968
|
+
return t === void 0 && (t = ""), n === void 0 && (n = !1), un.MediaSource && un.MediaSource.isTypeSupported && un.MediaSource.isTypeSupported(dY(t)) || n && un.ManagedMediaSource && un.ManagedMediaSource.isTypeSupported && un.ManagedMediaSource.isTypeSupported(dY(t)) || !1;
|
|
385965
385969
|
}, TKe = function(t) {
|
|
385966
385970
|
return t === void 0 && (t = ""), t.toLowerCase().split(",").every(function(n) {
|
|
385967
385971
|
n = n.trim();
|
|
@@ -385984,7 +385988,7 @@ var Kj = {
|
|
|
385984
385988
|
return jKn(t);
|
|
385985
385989
|
}, bi = function(t) {
|
|
385986
385990
|
return t instanceof Uint8Array ? t : (!Array.isArray(t) && !F2i(t) && !(t instanceof ArrayBuffer) && (typeof t != "number" || typeof t == "number" && t !== t ? t = 0 : t = [t]), new Uint8Array(t && t.buffer || t, t && t.byteOffset || 0, t && t.byteLength || 0));
|
|
385987
|
-
}, Mv =
|
|
385991
|
+
}, Mv = un.BigInt || Number, mst = [Mv("0x1"), Mv("0x100"), Mv("0x10000"), Mv("0x1000000"), Mv("0x100000000"), Mv("0x10000000000"), Mv("0x1000000000000"), Mv("0x100000000000000"), Mv("0x10000000000000000")];
|
|
385988
385992
|
(function() {
|
|
385989
385993
|
var e = new Uint16Array([65484]), t = new Uint8Array(e.buffer, e.byteOffset, e.byteLength);
|
|
385990
385994
|
return t[0] === 255 ? "big" : t[0] === 204 ? "little" : "unknown";
|
|
@@ -387015,9 +387019,9 @@ function zKn() {
|
|
|
387015
387019
|
function nn() {
|
|
387016
387020
|
}
|
|
387017
387021
|
nn.prototype.nodeType = y, u(nn, M);
|
|
387018
|
-
function
|
|
387022
|
+
function sn() {
|
|
387019
387023
|
}
|
|
387020
|
-
|
|
387024
|
+
sn.prototype.nodeType = k, u(sn, M);
|
|
387021
387025
|
function wn() {
|
|
387022
387026
|
}
|
|
387023
387027
|
wn.prototype.nodeType = w, u(wn, M);
|
|
@@ -389916,10 +389920,10 @@ const Pfe = ({
|
|
|
389916
389920
|
};
|
|
389917
389921
|
if (n || r) {
|
|
389918
389922
|
const i = (n || r).split("-");
|
|
389919
|
-
let s =
|
|
389923
|
+
let s = un.BigInt ? un.BigInt(i[0]) : parseInt(i[0], 10), l = un.BigInt ? un.BigInt(i[1]) : parseInt(i[1], 10);
|
|
389920
389924
|
s < Number.MAX_SAFE_INTEGER && typeof s == "bigint" && (s = Number(s)), l < Number.MAX_SAFE_INTEGER && typeof l == "bigint" && (l = Number(l));
|
|
389921
389925
|
let u;
|
|
389922
|
-
typeof l == "bigint" || typeof s == "bigint" ? u =
|
|
389926
|
+
typeof l == "bigint" || typeof s == "bigint" ? u = un.BigInt(l) - un.BigInt(s) + un.BigInt(1) : u = l - s + 1, typeof u == "bigint" && u < Number.MAX_SAFE_INTEGER && (u = Number(u)), o.byterange = {
|
|
389923
389927
|
length: u,
|
|
389924
389928
|
offset: s
|
|
389925
389929
|
};
|
|
@@ -389927,7 +389931,7 @@ const Pfe = ({
|
|
|
389927
389931
|
return o;
|
|
389928
389932
|
}, X2i = (e) => {
|
|
389929
389933
|
let t;
|
|
389930
|
-
return typeof e.offset == "bigint" || typeof e.length == "bigint" ? t =
|
|
389934
|
+
return typeof e.offset == "bigint" || typeof e.length == "bigint" ? t = un.BigInt(e.offset) + un.BigInt(e.length) - un.BigInt(1) : t = e.offset + e.length - 1, `${e.offset}-${t}`;
|
|
389931
389935
|
}, $en = (e) => (e && typeof e != "number" && (e = parseInt(e, 10)), isNaN(e) ? null : e), J2i = {
|
|
389932
389936
|
/**
|
|
389933
389937
|
* Returns the entire range of available segments for a static MPD
|
|
@@ -390038,11 +390042,11 @@ const Pfe = ({
|
|
|
390038
390042
|
}, u1t = (e, t, n) => {
|
|
390039
390043
|
const r = e.sidx.map ? e.sidx.map : null, o = e.sidx.duration, a = e.timeline || 0, i = e.sidx.byterange, s = i.offset + i.length, l = t.timescale, u = t.references.filter((w) => w.referenceType !== 1), d = [], f = e.endList ? "static" : "dynamic", m = e.sidx.timeline;
|
|
390040
390044
|
let p = m, v = e.mediaSequence || 0, g;
|
|
390041
|
-
typeof t.firstOffset == "bigint" ? g =
|
|
390045
|
+
typeof t.firstOffset == "bigint" ? g = un.BigInt(s) + t.firstOffset : g = s + t.firstOffset;
|
|
390042
390046
|
for (let w = 0; w < u.length; w++) {
|
|
390043
390047
|
const S = t.references[w], E = S.referencedSize, x = S.subsegmentDuration;
|
|
390044
390048
|
let y;
|
|
390045
|
-
typeof g == "bigint" ? y = g +
|
|
390049
|
+
typeof g == "bigint" ? y = g + un.BigInt(E) - un.BigInt(1) : y = g + E - 1;
|
|
390046
390050
|
const D = `${g}-${y}`, O = KKn({
|
|
390047
390051
|
baseUrl: n,
|
|
390048
390052
|
timescale: l,
|
|
@@ -390055,7 +390059,7 @@ const Pfe = ({
|
|
|
390055
390059
|
indexRange: D,
|
|
390056
390060
|
type: f
|
|
390057
390061
|
})[0];
|
|
390058
|
-
r && (O.map = r), d.push(O), typeof g == "bigint" ? g +=
|
|
390062
|
+
r && (O.map = r), d.push(O), typeof g == "bigint" ? g += un.BigInt(E) : g += E, p += x / l, v++;
|
|
390059
390063
|
}
|
|
390060
390064
|
return e.segments = d, e;
|
|
390061
390065
|
}, eIi = ["AUDIO", "SUBTITLES"], tIi = 1 / 60, GKn = (e) => Z2i(e, ({
|
|
@@ -391353,10 +391357,10 @@ const uRi = (e, t, n) => (r, o, a) => {
|
|
|
391353
391357
|
const d = R0.length - 1e3;
|
|
391354
391358
|
R0.splice(0, d > 0 ? d : 0);
|
|
391355
391359
|
}
|
|
391356
|
-
if (!
|
|
391360
|
+
if (!un.console)
|
|
391357
391361
|
return;
|
|
391358
|
-
let u =
|
|
391359
|
-
!u && r === "debug" && (u =
|
|
391362
|
+
let u = un.console[r];
|
|
391363
|
+
!u && r === "debug" && (u = un.console.info || un.console.log), !(!u || !i || !s.test(r)) && u[Array.isArray(a) ? "apply" : "call"](un.console, a);
|
|
391360
391364
|
};
|
|
391361
391365
|
function bst(e, t = ":", n = "") {
|
|
391362
391366
|
let r = "info", o;
|
|
@@ -391451,12 +391455,12 @@ var dRi = /* @__PURE__ */ Object.freeze({
|
|
|
391451
391455
|
defineLazyProperty: kLe
|
|
391452
391456
|
});
|
|
391453
391457
|
let h1t = !1, rGn = null, zT = !1, oGn, aGn = !1, Vq = !1, Uq = !1, P$ = !1, p1t = null, TLe = null;
|
|
391454
|
-
const fRi = !!(
|
|
391458
|
+
const fRi = !!(un.cast && un.cast.framework && un.cast.framework.CastReceiverContext);
|
|
391455
391459
|
let iGn = null, z$e = !1, OLe = !1, W$e = !1, DLe = !1, q$e = !1, K$e = !1, G$e = !1;
|
|
391456
|
-
const Nfe = !!(zJ() && ("ontouchstart" in
|
|
391460
|
+
const Nfe = !!(zJ() && ("ontouchstart" in un || un.navigator.maxTouchPoints || un.DocumentTouch && un.document instanceof un.DocumentTouch)), XN = un.navigator && un.navigator.userAgentData;
|
|
391457
391461
|
XN && XN.platform && XN.brands && (zT = XN.platform === "Android", Vq = !!XN.brands.find((e) => e.brand === "Microsoft Edge"), Uq = !!XN.brands.find((e) => e.brand === "Chromium"), P$ = !Vq && Uq, p1t = TLe = (XN.brands.find((e) => e.brand === "Chromium") || {}).version || null, OLe = XN.platform === "Windows");
|
|
391458
391462
|
if (!Uq) {
|
|
391459
|
-
const e =
|
|
391463
|
+
const e = un.navigator && un.navigator.userAgent || "";
|
|
391460
391464
|
h1t = /iPod/i.test(e), rGn = function() {
|
|
391461
391465
|
const t = e.match(/OS (\d+)_/i);
|
|
391462
391466
|
return t && t[1] ? t[1] : null;
|
|
@@ -391545,14 +391549,14 @@ function hRi(e) {
|
|
|
391545
391549
|
throw new Error("class has illegal whitespace characters");
|
|
391546
391550
|
}
|
|
391547
391551
|
function zJ() {
|
|
391548
|
-
return Yr ===
|
|
391552
|
+
return Yr === un.document;
|
|
391549
391553
|
}
|
|
391550
391554
|
function WJ(e) {
|
|
391551
391555
|
return R$(e) && e.nodeType === 1;
|
|
391552
391556
|
}
|
|
391553
391557
|
function lGn() {
|
|
391554
391558
|
try {
|
|
391555
|
-
return
|
|
391559
|
+
return un.parent !== un.self;
|
|
391556
391560
|
} catch {
|
|
391557
391561
|
return !0;
|
|
391558
391562
|
}
|
|
@@ -391673,8 +391677,8 @@ function RLe(e, t) {
|
|
|
391673
391677
|
const m = f.slice(9, -1).split(/,\s/).map(Number);
|
|
391674
391678
|
n.x += m[12], n.y += m[13];
|
|
391675
391679
|
}
|
|
391676
|
-
if (d.assignedSlot && d.assignedSlot.parentElement &&
|
|
391677
|
-
const m =
|
|
391680
|
+
if (d.assignedSlot && d.assignedSlot.parentElement && un.WebKitCSSMatrix) {
|
|
391681
|
+
const m = un.getComputedStyle(d.assignedSlot.parentElement).transform, p = new un.WebKitCSSMatrix(m);
|
|
391678
391682
|
n.x += p.m41, n.y += p.m42;
|
|
391679
391683
|
}
|
|
391680
391684
|
d = d.parentNode || d.host;
|
|
@@ -391713,10 +391717,10 @@ const e3 = uGn("querySelector"), yGn = uGn("querySelectorAll");
|
|
|
391713
391717
|
function yY(e, t) {
|
|
391714
391718
|
if (!e || !t)
|
|
391715
391719
|
return "";
|
|
391716
|
-
if (typeof
|
|
391720
|
+
if (typeof un.getComputedStyle == "function") {
|
|
391717
391721
|
let n;
|
|
391718
391722
|
try {
|
|
391719
|
-
n =
|
|
391723
|
+
n = un.getComputedStyle(e);
|
|
391720
391724
|
} catch {
|
|
391721
391725
|
return "";
|
|
391722
391726
|
}
|
|
@@ -391786,12 +391790,12 @@ const pRi = function() {
|
|
|
391786
391790
|
else _Gn || Sst(1);
|
|
391787
391791
|
};
|
|
391788
391792
|
function Sst(e, t) {
|
|
391789
|
-
zJ() && (t && (_st = t),
|
|
391793
|
+
zJ() && (t && (_st = t), un.setTimeout(pRi, e));
|
|
391790
391794
|
}
|
|
391791
391795
|
function Est() {
|
|
391792
|
-
_Gn = !0,
|
|
391796
|
+
_Gn = !0, un.removeEventListener("load", Est);
|
|
391793
391797
|
}
|
|
391794
|
-
zJ() && (Yr.readyState === "complete" ? Est() :
|
|
391798
|
+
zJ() && (Yr.readyState === "complete" ? Est() : un.addEventListener("load", Est));
|
|
391795
391799
|
const SGn = function(e) {
|
|
391796
391800
|
const t = Yr.createElement("style");
|
|
391797
391801
|
return t.className = e, t;
|
|
@@ -391825,7 +391829,7 @@ function NLe(e) {
|
|
|
391825
391829
|
return !1;
|
|
391826
391830
|
}
|
|
391827
391831
|
if (!e || !e.isPropagationStopped || !e.isImmediatePropagationStopped) {
|
|
391828
|
-
const r = e ||
|
|
391832
|
+
const r = e || un.event;
|
|
391829
391833
|
e = {};
|
|
391830
391834
|
const o = ["layerX", "layerY", "keyLocation", "path", "webkitMovementX", "webkitMovementY", "mozPressure", "mozInputSource"];
|
|
391831
391835
|
for (const a in r)
|
|
@@ -391854,7 +391858,7 @@ const vRi = function() {
|
|
|
391854
391858
|
i1e = !0;
|
|
391855
391859
|
}
|
|
391856
391860
|
});
|
|
391857
|
-
|
|
391861
|
+
un.addEventListener("test", null, e), un.removeEventListener("test", null, e);
|
|
391858
391862
|
} catch {
|
|
391859
391863
|
}
|
|
391860
391864
|
}
|
|
@@ -391957,12 +391961,12 @@ const px = 30, kd = function(e, t, n) {
|
|
|
391957
391961
|
const r = t.bind(e);
|
|
391958
391962
|
return r.guid = n ? n + "_" + t.guid : t.guid, r;
|
|
391959
391963
|
}, N$ = function(e, t) {
|
|
391960
|
-
let n =
|
|
391964
|
+
let n = un.performance.now();
|
|
391961
391965
|
return function(...o) {
|
|
391962
|
-
const a =
|
|
391966
|
+
const a = un.performance.now();
|
|
391963
391967
|
a - n >= t && (e(...o), n = a);
|
|
391964
391968
|
};
|
|
391965
|
-
}, CGn = function(e, t, n, r =
|
|
391969
|
+
}, CGn = function(e, t, n, r = un) {
|
|
391966
391970
|
let o;
|
|
391967
391971
|
const a = () => {
|
|
391968
391972
|
r.clearTimeout(o), o = null;
|
|
@@ -392074,8 +392078,8 @@ class SS {
|
|
|
392074
392078
|
let r = Ine.get(this);
|
|
392075
392079
|
r || (r = /* @__PURE__ */ new Map(), Ine.set(this, r));
|
|
392076
392080
|
const o = r.get(n);
|
|
392077
|
-
r.delete(n),
|
|
392078
|
-
const a =
|
|
392081
|
+
r.delete(n), un.clearTimeout(o);
|
|
392082
|
+
const a = un.setTimeout(() => {
|
|
392079
392083
|
r.delete(n), r.size === 0 && (r = null, Ine.delete(this)), this.trigger(t);
|
|
392080
392084
|
}, 0);
|
|
392081
392085
|
r.set(n, a);
|
|
@@ -392292,7 +392296,7 @@ function y1t(e, t = {}) {
|
|
|
392292
392296
|
}), e.on("dispose", () => {
|
|
392293
392297
|
e.off(), [e, e.el_, e.eventBusEl_].forEach(function(r) {
|
|
392294
392298
|
r && s0.has(r) && s0.delete(r);
|
|
392295
|
-
}),
|
|
392299
|
+
}), un.setTimeout(() => {
|
|
392296
392300
|
e.eventBusEl_ = null;
|
|
392297
392301
|
}, 0);
|
|
392298
392302
|
}), e;
|
|
@@ -393225,7 +393229,7 @@ class or {
|
|
|
393225
393229
|
s.touches.length === 1 && (n = {
|
|
393226
393230
|
pageX: s.touches[0].pageX,
|
|
393227
393231
|
pageY: s.touches[0].pageY
|
|
393228
|
-
}, t =
|
|
393232
|
+
}, t = un.performance.now(), a = !0);
|
|
393229
393233
|
}), this.on("touchmove", function(s) {
|
|
393230
393234
|
if (s.touches.length > 1)
|
|
393231
393235
|
a = !1;
|
|
@@ -393238,7 +393242,7 @@ class or {
|
|
|
393238
393242
|
a = !1;
|
|
393239
393243
|
};
|
|
393240
393244
|
this.on("touchleave", i), this.on("touchcancel", i), this.on("touchend", function(s) {
|
|
393241
|
-
n = null, a === !0 &&
|
|
393245
|
+
n = null, a === !0 && un.performance.now() - t < o && (s.preventDefault(), this.trigger("tap"));
|
|
393242
393246
|
});
|
|
393243
393247
|
}
|
|
393244
393248
|
/**
|
|
@@ -393311,7 +393315,7 @@ class or {
|
|
|
393311
393315
|
*/
|
|
393312
393316
|
setTimeout(t, n) {
|
|
393313
393317
|
var r;
|
|
393314
|
-
return t = kd(this, t), this.clearTimersOnDispose_(), r =
|
|
393318
|
+
return t = kd(this, t), this.clearTimersOnDispose_(), r = un.setTimeout(() => {
|
|
393315
393319
|
this.setTimeoutIds_.has(r) && this.setTimeoutIds_.delete(r), t();
|
|
393316
393320
|
}, n), this.setTimeoutIds_.add(r), r;
|
|
393317
393321
|
}
|
|
@@ -393331,7 +393335,7 @@ class or {
|
|
|
393331
393335
|
* @see [Similar to]{@link https://developer.mozilla.org/en-US/docs/Web/API/WindowTimers/clearTimeout}
|
|
393332
393336
|
*/
|
|
393333
393337
|
clearTimeout(t) {
|
|
393334
|
-
return this.setTimeoutIds_.has(t) && (this.setTimeoutIds_.delete(t),
|
|
393338
|
+
return this.setTimeoutIds_.has(t) && (this.setTimeoutIds_.delete(t), un.clearTimeout(t)), t;
|
|
393335
393339
|
}
|
|
393336
393340
|
/**
|
|
393337
393341
|
* Creates a function that gets run every `x` milliseconds. This function is a wrapper
|
|
@@ -393355,7 +393359,7 @@ class or {
|
|
|
393355
393359
|
*/
|
|
393356
393360
|
setInterval(t, n) {
|
|
393357
393361
|
t = kd(this, t), this.clearTimersOnDispose_();
|
|
393358
|
-
const r =
|
|
393362
|
+
const r = un.setInterval(t, n);
|
|
393359
393363
|
return this.setIntervalIds_.add(r), r;
|
|
393360
393364
|
}
|
|
393361
393365
|
/**
|
|
@@ -393374,7 +393378,7 @@ class or {
|
|
|
393374
393378
|
* @see [Similar to]{@link https://developer.mozilla.org/en-US/docs/Web/API/WindowTimers/clearInterval}
|
|
393375
393379
|
*/
|
|
393376
393380
|
clearInterval(t) {
|
|
393377
|
-
return this.setIntervalIds_.has(t) && (this.setIntervalIds_.delete(t),
|
|
393381
|
+
return this.setIntervalIds_.has(t) && (this.setIntervalIds_.delete(t), un.clearInterval(t)), t;
|
|
393378
393382
|
}
|
|
393379
393383
|
/**
|
|
393380
393384
|
* Queues up a callback to be passed to requestAnimationFrame (rAF), but
|
|
@@ -393404,7 +393408,7 @@ class or {
|
|
|
393404
393408
|
requestAnimationFrame(t) {
|
|
393405
393409
|
this.clearTimersOnDispose_();
|
|
393406
393410
|
var n;
|
|
393407
|
-
return t = kd(this, t), n =
|
|
393411
|
+
return t = kd(this, t), n = un.requestAnimationFrame(() => {
|
|
393408
393412
|
this.rafIds_.has(n) && this.rafIds_.delete(n), t();
|
|
393409
393413
|
}), this.rafIds_.add(n), n;
|
|
393410
393414
|
}
|
|
@@ -393453,7 +393457,7 @@ class or {
|
|
|
393453
393457
|
* @see [Similar to]{@link https://developer.mozilla.org/en-US/docs/Web/API/window/cancelAnimationFrame}
|
|
393454
393458
|
*/
|
|
393455
393459
|
cancelAnimationFrame(t) {
|
|
393456
|
-
return this.rafIds_.has(t) && (this.rafIds_.delete(t),
|
|
393460
|
+
return this.rafIds_.has(t) && (this.rafIds_.delete(t), un.cancelAnimationFrame(t)), t;
|
|
393457
393461
|
}
|
|
393458
393462
|
/**
|
|
393459
393463
|
* A function to setup `requestAnimationFrame`, `setTimeout`,
|
|
@@ -393514,11 +393518,11 @@ class or {
|
|
|
393514
393518
|
*/
|
|
393515
393519
|
getIsAvailableToBeFocused(t) {
|
|
393516
393520
|
function n(a) {
|
|
393517
|
-
const i =
|
|
393521
|
+
const i = un.getComputedStyle(a, null), s = i.getPropertyValue("visibility");
|
|
393518
393522
|
return i.getPropertyValue("display") !== "none" && !["hidden", "collapse"].includes(s);
|
|
393519
393523
|
}
|
|
393520
393524
|
function r(a) {
|
|
393521
|
-
return !(!n(a.parentElement) || !n(a) || a.style.opacity === "0" ||
|
|
393525
|
+
return !(!n(a.parentElement) || !n(a) || a.style.opacity === "0" || un.getComputedStyle(a).height === "0px" || un.getComputedStyle(a).width === "0px");
|
|
393522
393526
|
}
|
|
393523
393527
|
function o(a) {
|
|
393524
393528
|
if (a.offsetWidth + a.offsetHeight + a.getBoundingClientRect().height + a.getBoundingClientRect().width === 0)
|
|
@@ -393527,7 +393531,7 @@ class or {
|
|
|
393527
393531
|
x: a.getBoundingClientRect().left + a.offsetWidth / 2,
|
|
393528
393532
|
y: a.getBoundingClientRect().top + a.offsetHeight / 2
|
|
393529
393533
|
};
|
|
393530
|
-
if (i.x < 0 || i.x > (Yr.documentElement.clientWidth ||
|
|
393534
|
+
if (i.x < 0 || i.x > (Yr.documentElement.clientWidth || un.innerWidth) || i.y < 0 || i.y > (Yr.documentElement.clientHeight || un.innerHeight))
|
|
393531
393535
|
return !1;
|
|
393532
393536
|
let s = Yr.elementFromPoint(i.x, i.y);
|
|
393533
393537
|
for (; s; ) {
|
|
@@ -393616,7 +393620,7 @@ function PKe(e) {
|
|
|
393616
393620
|
length: e.length,
|
|
393617
393621
|
start: qen.bind(null, "start", 0, e),
|
|
393618
393622
|
end: qen.bind(null, "end", 1, e)
|
|
393619
|
-
},
|
|
393623
|
+
}, un.Symbol && un.Symbol.iterator && (t[un.Symbol.iterator] = () => (e || []).values()), t;
|
|
393620
393624
|
}
|
|
393621
393625
|
function _T(e, t) {
|
|
393622
393626
|
return Array.isArray(e) ? PKe(e) : e === void 0 || t === void 0 ? PKe() : PKe([[e, t]]);
|
|
@@ -393983,7 +393987,7 @@ class KJ extends or {
|
|
|
393983
393987
|
*/
|
|
393984
393988
|
focusableEls_() {
|
|
393985
393989
|
const t = this.el_.querySelectorAll("*");
|
|
393986
|
-
return Array.prototype.filter.call(t, (n) => (n instanceof
|
|
393990
|
+
return Array.prototype.filter.call(t, (n) => (n instanceof un.HTMLAnchorElement || n instanceof un.HTMLAreaElement) && n.hasAttribute("href") || (n instanceof un.HTMLInputElement || n instanceof un.HTMLSelectElement || n instanceof un.HTMLTextAreaElement || n instanceof un.HTMLButtonElement) && !n.hasAttribute("disabled") || n instanceof un.HTMLIFrameElement || n instanceof un.HTMLObjectElement || n instanceof un.HTMLEmbedElement || n.hasAttribute("tabindex") && n.getAttribute("tabindex") !== -1 || n.hasAttribute("contenteditable"));
|
|
393987
393991
|
}
|
|
393988
393992
|
}
|
|
393989
393993
|
KJ.prototype.options_ = {
|
|
@@ -394405,7 +394409,7 @@ const S1t = function(e) {
|
|
|
394405
394409
|
return n ? n[1].toLowerCase() : "";
|
|
394406
394410
|
}
|
|
394407
394411
|
return "";
|
|
394408
|
-
}, FLe = function(e, t =
|
|
394412
|
+
}, FLe = function(e, t = un.location) {
|
|
394409
394413
|
return S1t(e).origin !== t.origin;
|
|
394410
394414
|
};
|
|
394411
394415
|
var RRi = /* @__PURE__ */ Object.freeze({
|
|
@@ -394416,7 +394420,7 @@ var RRi = /* @__PURE__ */ Object.freeze({
|
|
|
394416
394420
|
isCrossOrigin: FLe
|
|
394417
394421
|
});
|
|
394418
394422
|
const Gen = function(e, t) {
|
|
394419
|
-
const n = new
|
|
394423
|
+
const n = new un.WebVTT.Parser(un, un.vttjs, un.WebVTT.StringDecoder()), r = [];
|
|
394420
394424
|
n.oncue = function(o) {
|
|
394421
394425
|
t.addCue(o);
|
|
394422
394426
|
}, n.onparsingerror = function(o) {
|
|
@@ -394426,7 +394430,7 @@ const Gen = function(e, t) {
|
|
|
394426
394430
|
type: "loadeddata",
|
|
394427
394431
|
target: t
|
|
394428
394432
|
});
|
|
394429
|
-
}, n.parse(e), r.length > 0 && (
|
|
394433
|
+
}, n.parse(e), r.length > 0 && (un.console && un.console.groupCollapsed && un.console.groupCollapsed(`Text Track parsing errors for ${t.src}`), r.forEach((o) => Yl.error(o)), un.console && un.console.groupEnd && un.console.groupEnd()), n.flush();
|
|
394430
394434
|
}, Yen = function(e, t) {
|
|
394431
394435
|
const n = {
|
|
394432
394436
|
uri: e
|
|
@@ -394436,7 +394440,7 @@ const Gen = function(e, t) {
|
|
|
394436
394440
|
o && (n.withCredentials = o), LKn(n, kd(this, function(a, i, s) {
|
|
394437
394441
|
if (a)
|
|
394438
394442
|
return Yl.error(a, i);
|
|
394439
|
-
t.loaded_ = !0, typeof
|
|
394443
|
+
t.loaded_ = !0, typeof un.WebVTT != "function" ? t.tech_ && t.tech_.any(["vttjsloaded", "vttjserror"], (l) => {
|
|
394440
394444
|
if (l.type === "vttjserror") {
|
|
394441
394445
|
Yl.error(`vttjs failed to load, stopping trying to process ${t.src}`);
|
|
394442
394446
|
return;
|
|
@@ -394596,7 +394600,7 @@ class wve extends _1t {
|
|
|
394596
394600
|
addCue(t) {
|
|
394597
394601
|
let n = t;
|
|
394598
394602
|
if (!("getCueAsHTML" in n)) {
|
|
394599
|
-
n = new
|
|
394603
|
+
n = new un.vttjs.VTTCue(t.startTime, t.endTime, t.text);
|
|
394600
394604
|
for (const o in t)
|
|
394601
394605
|
o in n || (n[o] = t[o]);
|
|
394602
394606
|
n.id = t.id, n.originalCue_ = t;
|
|
@@ -395156,7 +395160,7 @@ class rl extends or {
|
|
|
395156
395160
|
* @fires Tech#vttjserror
|
|
395157
395161
|
*/
|
|
395158
395162
|
addWebVttScript_() {
|
|
395159
|
-
if (!
|
|
395163
|
+
if (!un.WebVTT)
|
|
395160
395164
|
if (Yr.body.contains(this.el())) {
|
|
395161
395165
|
if (!this.options_["vtt.js"] && mY(ben) && Object.keys(ben).length > 0) {
|
|
395162
395166
|
this.trigger("vttjsloaded");
|
|
@@ -395169,7 +395173,7 @@ class rl extends or {
|
|
|
395169
395173
|
this.trigger("vttjserror");
|
|
395170
395174
|
}, this.on("dispose", () => {
|
|
395171
395175
|
t.onload = null, t.onerror = null;
|
|
395172
|
-
}),
|
|
395176
|
+
}), un.WebVTT = !0, this.el().parentNode.appendChild(t);
|
|
395173
395177
|
} else
|
|
395174
395178
|
this.ready(this.addWebVttScript_);
|
|
395175
395179
|
}
|
|
@@ -395469,8 +395473,8 @@ class rl extends or {
|
|
|
395469
395473
|
if (t) {
|
|
395470
395474
|
if (rl.techs_ && rl.techs_[t])
|
|
395471
395475
|
return rl.techs_[t];
|
|
395472
|
-
if (t = rp(t),
|
|
395473
|
-
return Yl.warn(`The ${t} tech was added to the videojs object when it should be registered using videojs.registerTech(name, tech)`),
|
|
395476
|
+
if (t = rp(t), un && un.videojs && un.videojs[t])
|
|
395477
|
+
return Yl.warn(`The ${t} tech was added to the videojs object when it should be registered using videojs.registerTech(name, tech)`), un.videojs[t];
|
|
395474
395478
|
}
|
|
395475
395479
|
}
|
|
395476
395480
|
}
|
|
@@ -396555,7 +396559,7 @@ class XRi extends or {
|
|
|
396555
396559
|
return;
|
|
396556
396560
|
}
|
|
396557
396561
|
t.on("fullscreenchange", a), t.on("playerresize", a);
|
|
396558
|
-
const i =
|
|
396562
|
+
const i = un.screen.orientation || un, s = un.screen.orientation ? "change" : "orientationchange";
|
|
396559
396563
|
i.addEventListener(s, a), t.on("dispose", () => i.removeEventListener(s, a));
|
|
396560
396564
|
const l = this.options_.playerOptions.tracks || [];
|
|
396561
396565
|
for (let u = 0; u < l.length; u++)
|
|
@@ -396614,7 +396618,7 @@ class XRi extends or {
|
|
|
396614
396618
|
* Clear all displayed {@link TextTrack}s.
|
|
396615
396619
|
*/
|
|
396616
396620
|
clearDisplay() {
|
|
396617
|
-
typeof
|
|
396621
|
+
typeof un.WebVTT == "function" && un.WebVTT.processCues(un, [], this.el_);
|
|
396618
396622
|
}
|
|
396619
396623
|
/**
|
|
396620
396624
|
* Update the displayed {@link TextTrack} when either a {@link Player#texttrackchange},
|
|
@@ -396642,7 +396646,7 @@ class XRi extends or {
|
|
|
396642
396646
|
const i = t[a];
|
|
396643
396647
|
i.mode === "showing" && (i.kind === "descriptions" ? r = i : o = i);
|
|
396644
396648
|
}
|
|
396645
|
-
if (o ? (this.getAttribute("aria-live") !== "off" && this.setAttribute("aria-live", "off"), this.updateForTrack(o)) : r && (this.getAttribute("aria-live") !== "assertive" && this.setAttribute("aria-live", "assertive"), this.updateForTrack(r)), !(
|
|
396649
|
+
if (o ? (this.getAttribute("aria-live") !== "off" && this.setAttribute("aria-live", "off"), this.updateForTrack(o)) : r && (this.getAttribute("aria-live") !== "assertive" && this.setAttribute("aria-live", "assertive"), this.updateForTrack(r)), !(un.CSS !== void 0 && un.CSS.supports("inset", "10px"))) {
|
|
396646
396650
|
const i = this.el_, s = i.querySelectorAll(".vjs-text-track-cue"), l = this.player_.controlBar.el_.getBoundingClientRect().height, u = this.player_.el_.getBoundingClientRect().height;
|
|
396647
396651
|
i.style = "", FO(i, "position", "relative"), FO(i, "height", u - l + "px"), FO(i, "top", "unset"), G$e ? FO(i, "bottom", u + "px") : FO(i, "bottom", "0px"), s.length > 0 && s.forEach((d) => {
|
|
396648
396652
|
if (d.style.inset) {
|
|
@@ -396662,7 +396666,7 @@ class XRi extends or {
|
|
|
396662
396666
|
* a {@link Player#texttrackchange} or a {@link Player#fullscreenchange} is fired.
|
|
396663
396667
|
*/
|
|
396664
396668
|
updateDisplayOverlay() {
|
|
396665
|
-
if (!this.player_.videoHeight() || !(
|
|
396669
|
+
if (!this.player_.videoHeight() || !(un.CSS !== void 0 && un.CSS.supports("inset-inline: 10px")))
|
|
396666
396670
|
return;
|
|
396667
396671
|
const t = this.player_.currentWidth(), n = this.player_.currentHeight(), r = t / n, o = this.player_.videoWidth() / this.player_.videoHeight();
|
|
396668
396672
|
let a = 0, i = 0;
|
|
@@ -396683,7 +396687,7 @@ class XRi extends or {
|
|
|
396683
396687
|
continue;
|
|
396684
396688
|
const i = a.displayState;
|
|
396685
396689
|
if (n.color && (i.firstChild.style.color = n.color), n.textOpacity && FO(i.firstChild, "color", FKe(n.color || "#fff", n.textOpacity)), n.backgroundColor && (i.firstChild.style.backgroundColor = n.backgroundColor), n.backgroundOpacity && FO(i.firstChild, "backgroundColor", FKe(n.backgroundColor || "#000", n.backgroundOpacity)), n.windowColor && (n.windowOpacity ? FO(i, "backgroundColor", FKe(n.windowColor, n.windowOpacity)) : i.style.backgroundColor = n.windowColor), n.edgeStyle && (n.edgeStyle === "dropshadow" ? i.firstChild.style.textShadow = `2px 2px 3px ${HS}, 2px 2px 4px ${HS}, 2px 2px 5px ${HS}` : n.edgeStyle === "raised" ? i.firstChild.style.textShadow = `1px 1px ${HS}, 2px 2px ${HS}, 3px 3px ${HS}` : n.edgeStyle === "depressed" ? i.firstChild.style.textShadow = `1px 1px ${ttn}, 0 1px ${ttn}, -1px -1px ${HS}, 0 -1px ${HS}` : n.edgeStyle === "uniform" && (i.firstChild.style.textShadow = `0 0 4px ${HS}, 0 0 4px ${HS}, 0 0 4px ${HS}, 0 0 4px ${HS}`)), n.fontPercent && n.fontPercent !== 1) {
|
|
396686
|
-
const s =
|
|
396690
|
+
const s = un.parseFloat(i.style.fontSize);
|
|
396687
396691
|
i.style.fontSize = s * n.fontPercent + "px", i.style.height = "auto", i.style.top = "auto";
|
|
396688
396692
|
}
|
|
396689
396693
|
n.fontFamily && n.fontFamily !== "default" && (n.fontFamily === "small-caps" ? i.firstChild.style.fontVariant = "small-caps" : i.firstChild.style.fontFamily = ZRi[n.fontFamily]);
|
|
@@ -396696,7 +396700,7 @@ class XRi extends or {
|
|
|
396696
396700
|
* Text track object or text track array to be added to the list.
|
|
396697
396701
|
*/
|
|
396698
396702
|
updateForTrack(t) {
|
|
396699
|
-
if (Array.isArray(t) || (t = [t]), typeof
|
|
396703
|
+
if (Array.isArray(t) || (t = [t]), typeof un.WebVTT != "function" || t.every((r) => !r.activeCues))
|
|
396700
396704
|
return;
|
|
396701
396705
|
const n = [];
|
|
396702
396706
|
for (let r = 0; r < t.length; ++r) {
|
|
@@ -396704,7 +396708,7 @@ class XRi extends or {
|
|
|
396704
396708
|
for (let a = 0; a < o.activeCues.length; ++a)
|
|
396705
396709
|
n.push(o.activeCues[a]);
|
|
396706
396710
|
}
|
|
396707
|
-
|
|
396711
|
+
un.WebVTT.processCues(un, n, this.el_);
|
|
396708
396712
|
for (let r = 0; r < t.length; ++r) {
|
|
396709
396713
|
const o = t[r];
|
|
396710
396714
|
for (let a = 0; a < o.activeCues.length; ++a) {
|
|
@@ -398237,7 +398241,7 @@ class zGn extends db {
|
|
|
398237
398241
|
* element.requestPictureInPicture is available
|
|
398238
398242
|
*/
|
|
398239
398243
|
handlePictureInPictureEnabledChange() {
|
|
398240
|
-
Yr.pictureInPictureEnabled && this.player_.disablePictureInPicture() === !1 || this.player_.options_.enableDocumentPictureInPicture && "documentPictureInPicture" in
|
|
398244
|
+
Yr.pictureInPictureEnabled && this.player_.disablePictureInPicture() === !1 || this.player_.options_.enableDocumentPictureInPicture && "documentPictureInPicture" in un ? this.enable() : this.disable();
|
|
398241
398245
|
}
|
|
398242
398246
|
/**
|
|
398243
398247
|
* Handles enterpictureinpicture and leavepictureinpicture on the player and change control text accordingly.
|
|
@@ -399477,9 +399481,9 @@ class Eve extends Sve {
|
|
|
399477
399481
|
}), o.onchange === void 0) {
|
|
399478
399482
|
let s;
|
|
399479
399483
|
this.on(["tap", "click"], function() {
|
|
399480
|
-
if (typeof
|
|
399484
|
+
if (typeof un.Event != "object")
|
|
399481
399485
|
try {
|
|
399482
|
-
s = new
|
|
399486
|
+
s = new un.Event("change");
|
|
399483
399487
|
} catch {
|
|
399484
399488
|
}
|
|
399485
399489
|
s || (s = Yr.createEvent("Event"), s.initEvent("change", !0, !0)), o.dispatchEvent(s);
|
|
@@ -400884,7 +400888,7 @@ class fPi extends KJ {
|
|
|
400884
400888
|
restoreSettings() {
|
|
400885
400889
|
let t;
|
|
400886
400890
|
try {
|
|
400887
|
-
t = JSON.parse(
|
|
400891
|
+
t = JSON.parse(un.localStorage.getItem(VKe));
|
|
400888
400892
|
} catch (n) {
|
|
400889
400893
|
Yl.warn(n);
|
|
400890
400894
|
}
|
|
@@ -400898,7 +400902,7 @@ class fPi extends KJ {
|
|
|
400898
400902
|
return;
|
|
400899
400903
|
const t = this.getValues();
|
|
400900
400904
|
try {
|
|
400901
|
-
Object.keys(t).length ?
|
|
400905
|
+
Object.keys(t).length ? un.localStorage.setItem(VKe, JSON.stringify(t)) : un.localStorage.removeItem(VKe);
|
|
400902
400906
|
} catch (n) {
|
|
400903
400907
|
Yl.warn(n);
|
|
400904
400908
|
}
|
|
@@ -400933,13 +400937,13 @@ class hPi extends or {
|
|
|
400933
400937
|
* If this is set to null it will ignore the native ResizeObserver and fall back to the iframe fallback.
|
|
400934
400938
|
*/
|
|
400935
400939
|
constructor(t, n) {
|
|
400936
|
-
let r = n.ResizeObserver ||
|
|
400940
|
+
let r = n.ResizeObserver || un.ResizeObserver;
|
|
400937
400941
|
n.ResizeObserver === null && (r = !1);
|
|
400938
400942
|
const o = od({
|
|
400939
400943
|
createEl: !r,
|
|
400940
400944
|
reportTouchActivity: !1
|
|
400941
400945
|
}, n);
|
|
400942
|
-
super(t, o), this.ResizeObserver = n.ResizeObserver ||
|
|
400946
|
+
super(t, o), this.ResizeObserver = n.ResizeObserver || un.ResizeObserver, this.loadListener_ = null, this.resizeObserver_ = null, this.debouncedHandler_ = CGn(() => {
|
|
400943
400947
|
this.resizeHandler();
|
|
400944
400948
|
}, 100, !1, this), r ? (this.resizeObserver_ = new this.ResizeObserver(this.debouncedHandler_), this.resizeObserver_.observe(t.el())) : (this.loadListener_ = () => {
|
|
400945
400949
|
if (!this.el_ || !this.el_.contentWindow)
|
|
@@ -401011,7 +401015,7 @@ class mPi extends or {
|
|
|
401011
401015
|
const t = this.player_.seekable();
|
|
401012
401016
|
if (!t || !t.length)
|
|
401013
401017
|
return;
|
|
401014
|
-
const n = Number(
|
|
401018
|
+
const n = Number(un.performance.now().toFixed(4)), r = this.lastTime_ === -1 ? 0 : (n - this.lastTime_) / 1e3;
|
|
401015
401019
|
this.lastTime_ = n, this.pastSeekEnd_ = this.pastSeekEnd() + r;
|
|
401016
401020
|
const o = this.liveCurrentTime(), a = this.player_.currentTime();
|
|
401017
401021
|
let i = this.player_.paused() || this.seekedBehindLive_ || Math.abs(o - a) > this.options_.liveTolerance;
|
|
@@ -401353,14 +401357,14 @@ const Ost = (e) => {
|
|
|
401353
401357
|
const n = Yr.createDocumentFragment();
|
|
401354
401358
|
for (; t.childNodes.length; )
|
|
401355
401359
|
n.appendChild(t.childNodes[0]);
|
|
401356
|
-
return this.innerText = "",
|
|
401360
|
+
return this.innerText = "", un.Element.prototype.appendChild.call(this, n), this.innerHTML;
|
|
401357
401361
|
}
|
|
401358
401362
|
}), hYn = (e, t) => {
|
|
401359
401363
|
let n = {};
|
|
401360
401364
|
for (let r = 0; r < e.length && (n = Object.getOwnPropertyDescriptor(e[r], t), !(n && n.set && n.get)); r++)
|
|
401361
401365
|
;
|
|
401362
401366
|
return n.enumerable = !0, n.configurable = !0, n;
|
|
401363
|
-
}, wPi = (e) => hYn([e.el(),
|
|
401367
|
+
}, wPi = (e) => hYn([e.el(), un.HTMLMediaElement.prototype, un.Element.prototype, bPi], "innerHTML"), ftn = function(e) {
|
|
401364
401368
|
const t = e.el();
|
|
401365
401369
|
if (t.resetSourceWatch_)
|
|
401366
401370
|
return;
|
|
@@ -401379,12 +401383,12 @@ const Ost = (e) => {
|
|
|
401379
401383
|
}, e.one("sourceset", t.resetSourceWatch_);
|
|
401380
401384
|
}, _Pi = Object.defineProperty({}, "src", {
|
|
401381
401385
|
get() {
|
|
401382
|
-
return this.hasAttribute("src") ? NGn(
|
|
401386
|
+
return this.hasAttribute("src") ? NGn(un.Element.prototype.getAttribute.call(this, "src")) : "";
|
|
401383
401387
|
},
|
|
401384
401388
|
set(e) {
|
|
401385
|
-
return
|
|
401389
|
+
return un.Element.prototype.setAttribute.call(this, "src", e), e;
|
|
401386
401390
|
}
|
|
401387
|
-
}), SPi = (e) => hYn([e.el(),
|
|
401391
|
+
}), SPi = (e) => hYn([e.el(), un.HTMLMediaElement.prototype, _Pi], "src"), EPi = function(e) {
|
|
401388
401392
|
if (!e.featuresSourceset)
|
|
401389
401393
|
return;
|
|
401390
401394
|
const t = e.el();
|
|
@@ -401991,7 +401995,7 @@ This may prevent text tracks from loading.`), this.restoreMetadataTracksInIOSNat
|
|
|
401991
401995
|
if (typeof this.el().getVideoPlaybackQuality == "function")
|
|
401992
401996
|
return this.el().getVideoPlaybackQuality();
|
|
401993
401997
|
const t = {};
|
|
401994
|
-
return typeof this.el().webkitDroppedFrameCount < "u" && typeof this.el().webkitDecodedFrameCount < "u" && (t.droppedVideoFrames = this.el().webkitDroppedFrameCount, t.totalVideoFrames = this.el().webkitDecodedFrameCount),
|
|
401998
|
+
return typeof this.el().webkitDroppedFrameCount < "u" && typeof this.el().webkitDecodedFrameCount < "u" && (t.droppedVideoFrames = this.el().webkitDroppedFrameCount, t.totalVideoFrames = this.el().webkitDecodedFrameCount), un.performance && (t.creationTime = un.performance.now()), t;
|
|
401995
401999
|
}
|
|
401996
402000
|
}
|
|
401997
402001
|
kLe(ma, "TEST_VID", function() {
|
|
@@ -402019,7 +402023,7 @@ ma.canControlVolume = function() {
|
|
|
402019
402023
|
const e = ma.TEST_VID.volume;
|
|
402020
402024
|
ma.TEST_VID.volume = e / 2 + 0.1;
|
|
402021
402025
|
const t = e !== ma.TEST_VID.volume;
|
|
402022
|
-
return t && ub ? (
|
|
402026
|
+
return t && ub ? (un.setTimeout(() => {
|
|
402023
402027
|
ma && ma.prototype && (ma.prototype.featuresVolumeControl = e !== ma.TEST_VID.volume);
|
|
402024
402028
|
}), !1) : t;
|
|
402025
402029
|
} catch {
|
|
@@ -402925,7 +402929,7 @@ class Pc extends or {
|
|
|
402925
402929
|
if (n.plugins && Object.keys(n.plugins).forEach((i) => {
|
|
402926
402930
|
this[i](n.plugins[i]);
|
|
402927
402931
|
}), n.debug && this.debug(!0), this.options_.playerOptions = o, this.middleware_ = [], this.playbackRates(n.playbackRates), n.experimentalSvgIcons) {
|
|
402928
|
-
const s = new
|
|
402932
|
+
const s = new un.DOMParser().parseFromString(KRi, "image/svg+xml");
|
|
402929
402933
|
if (s.querySelector("parsererror"))
|
|
402930
402934
|
Yl.warn("Failed to load SVG Icons. Falling back to Font Icons."), this.options_.experimentalSvgIcons = null;
|
|
402931
402935
|
else {
|
|
@@ -402980,7 +402984,7 @@ class Pc extends or {
|
|
|
402980
402984
|
o && l === "class" || n.setAttribute(l, a[l]), o && t.setAttribute(l, a[l]);
|
|
402981
402985
|
}), t.playerId = t.id, t.id += "_html5_api", t.className = "vjs-tech", t.player = n.player = this, this.addClass("vjs-paused");
|
|
402982
402986
|
const i = ["IS_SMART_TV", "IS_TIZEN", "IS_WEBOS", "IS_ANDROID", "IS_IPAD", "IS_IPHONE", "IS_CHROMECAST_RECEIVER"].filter((l) => sGn[l]).map((l) => "vjs-device-" + l.substring(3).toLowerCase().replace(/\_/g, "-"));
|
|
402983
|
-
if (this.addClass(...i),
|
|
402987
|
+
if (this.addClass(...i), un.VIDEOJS_NO_DYNAMIC_STYLE !== !0) {
|
|
402984
402988
|
this.styleEl_ = SGn("vjs-styles-dimensions");
|
|
402985
402989
|
const l = e3(".vjs-styles-defaults"), u = e3("head");
|
|
402986
402990
|
u.insertBefore(this.styleEl_, l ? l.nextSibling : u.firstChild);
|
|
@@ -403147,7 +403151,7 @@ class Pc extends or {
|
|
|
403147
403151
|
* @listens Tech#loadedmetadata
|
|
403148
403152
|
*/
|
|
403149
403153
|
updateStyleEl_() {
|
|
403150
|
-
if (
|
|
403154
|
+
if (un.VIDEOJS_NO_DYNAMIC_STYLE === !0) {
|
|
403151
403155
|
const s = typeof this.width_ == "number" ? this.width_ : this.options_.width, l = typeof this.height_ == "number" ? this.height_ : this.options_.height, u = this.tech_ && this.tech_.el();
|
|
403152
403156
|
u && (s >= 0 && (u.width = s), l >= 0 && (u.height = l));
|
|
403153
403157
|
return;
|
|
@@ -404373,11 +404377,11 @@ See https://github.com/videojs/video.js/issues/2617 for more info.
|
|
|
404373
404377
|
* A promise with a Picture-in-Picture window.
|
|
404374
404378
|
*/
|
|
404375
404379
|
requestPictureInPicture() {
|
|
404376
|
-
if (this.options_.enableDocumentPictureInPicture &&
|
|
404380
|
+
if (this.options_.enableDocumentPictureInPicture && un.documentPictureInPicture) {
|
|
404377
404381
|
const t = Yr.createElement(this.el().tagName);
|
|
404378
404382
|
return t.classList = this.el().classList, t.classList.add("vjs-pip-container"), this.posterImage && t.appendChild(this.posterImage.el().cloneNode(!0)), this.titleBar && t.appendChild(this.titleBar.el().cloneNode(!0)), t.appendChild(Bi("p", {
|
|
404379
404383
|
className: "vjs-pip-text"
|
|
404380
|
-
}, {}, this.localize("Playing in picture-in-picture"))),
|
|
404384
|
+
}, {}, this.localize("Playing in picture-in-picture"))), un.documentPictureInPicture.requestWindow({
|
|
404381
404385
|
// The aspect ratio won't be correct, Chrome bug https://crbug.com/1407629
|
|
404382
404386
|
width: this.videoWidth(),
|
|
404383
404387
|
height: this.videoHeight()
|
|
@@ -404402,8 +404406,8 @@ See https://github.com/videojs/video.js/issues/2617 for more info.
|
|
|
404402
404406
|
* A promise.
|
|
404403
404407
|
*/
|
|
404404
404408
|
exitPictureInPicture() {
|
|
404405
|
-
if (
|
|
404406
|
-
return
|
|
404409
|
+
if (un.documentPictureInPicture && un.documentPictureInPicture.window)
|
|
404410
|
+
return un.documentPictureInPicture.window.close(), Promise.resolve();
|
|
404407
404411
|
if ("pictureInPictureEnabled" in Yr)
|
|
404408
404412
|
return Yr.exitPictureInPicture();
|
|
404409
404413
|
}
|
|
@@ -405591,7 +405595,7 @@ o0.names.forEach(function(e) {
|
|
|
405591
405595
|
});
|
|
405592
405596
|
Pc.prototype.crossorigin = Pc.prototype.crossOrigin;
|
|
405593
405597
|
Pc.players = {};
|
|
405594
|
-
const Rne =
|
|
405598
|
+
const Rne = un.navigator;
|
|
405595
405599
|
Pc.prototype.options_ = {
|
|
405596
405600
|
// Default order of fallback technology
|
|
405597
405601
|
techOrder: rl.defaultTechOrder_,
|
|
@@ -405878,7 +405882,7 @@ function In(e, t, n) {
|
|
|
405878
405882
|
const o = typeof e == "string" ? e3("#" + gYn(e)) : e;
|
|
405879
405883
|
if (!WJ(o))
|
|
405880
405884
|
throw new TypeError("The element or ID supplied is not valid. (videojs)");
|
|
405881
|
-
const i = ("getRootNode" in o ? o.getRootNode() instanceof
|
|
405885
|
+
const i = ("getRootNode" in o ? o.getRootNode() instanceof un.ShadowRoot : !1) ? o.getRootNode() : o.ownerDocument.body;
|
|
405882
405886
|
(!o.ownerDocument.defaultView || !i.contains(o)) && Yl.warn("The element supplied is not included in the DOM"), t = t || {}, t.restoreEl === !0 && (t.restoreEl = (o.parentNode && o.parentNode.hasAttribute && o.parentNode.hasAttribute("data-vjs-player") ? o.parentNode : o).cloneNode(!0)), QF("beforesetup").forEach((l) => {
|
|
405883
405887
|
const u = l(o, od(t));
|
|
405884
405888
|
if (!R$(u) || Array.isArray(u)) {
|
|
@@ -405895,7 +405899,7 @@ In.hooks = QF;
|
|
|
405895
405899
|
In.hook = sRi;
|
|
405896
405900
|
In.hookOnce = lRi;
|
|
405897
405901
|
In.removeHook = JKn;
|
|
405898
|
-
if (
|
|
405902
|
+
if (un.VIDEOJS_NO_DYNAMIC_STYLE !== !0 && zJ()) {
|
|
405899
405903
|
let e = e3(".vjs-styles-defaults");
|
|
405900
405904
|
if (!e) {
|
|
405901
405905
|
e = SGn("vjs-styles-defaults");
|
|
@@ -406373,7 +406377,7 @@ const zD = 1 / 30, WD = zD * 3, bYn = function(e, t) {
|
|
|
406373
406377
|
if (e.totalDuration)
|
|
406374
406378
|
return e.totalDuration;
|
|
406375
406379
|
if (!e.endList)
|
|
406376
|
-
return
|
|
406380
|
+
return un.Infinity;
|
|
406377
406381
|
}
|
|
406378
406382
|
return CYn(e, t, n);
|
|
406379
406383
|
}, kle = function({
|
|
@@ -406617,8 +406621,8 @@ const {
|
|
|
406617
406621
|
"CLOSED-CAPTIONS": {},
|
|
406618
406622
|
SUBTITLES: {}
|
|
406619
406623
|
},
|
|
406620
|
-
uri:
|
|
406621
|
-
resolvedUri:
|
|
406624
|
+
uri: un.location.href,
|
|
406625
|
+
resolvedUri: un.location.href,
|
|
406622
406626
|
playlists: [{
|
|
406623
406627
|
uri: t,
|
|
406624
406628
|
id: n,
|
|
@@ -406775,7 +406779,7 @@ const RYn = 22, Xj = ({
|
|
|
406775
406779
|
n._HLS_msn = o;
|
|
406776
406780
|
}
|
|
406777
406781
|
if (t.serverControl && t.serverControl.canSkipUntil && (n._HLS_skip = t.serverControl.canSkipDateranges ? "v2" : "YES"), Object.keys(n).length) {
|
|
406778
|
-
const r = new
|
|
406782
|
+
const r = new un.URL(e);
|
|
406779
406783
|
["_HLS_skip", "_HLS_msn", "_HLS_part"].forEach(function(o) {
|
|
406780
406784
|
n.hasOwnProperty(o) && r.searchParams.set(o, n[o]);
|
|
406781
406785
|
}), e = r.toString();
|
|
@@ -407018,7 +407022,7 @@ class e9 extends GPi {
|
|
|
407018
407022
|
* Abort any outstanding work and clean up.
|
|
407019
407023
|
*/
|
|
407020
407024
|
dispose() {
|
|
407021
|
-
this.trigger("dispose"), this.stopRequest(),
|
|
407025
|
+
this.trigger("dispose"), this.stopRequest(), un.clearTimeout(this.mediaUpdateTimeout), un.clearTimeout(this.finalRenditionTimeout), this.dateRangesStorage_ = new mtn(), this.off();
|
|
407022
407026
|
}
|
|
407023
407027
|
stopRequest() {
|
|
407024
407028
|
if (this.request) {
|
|
@@ -407050,9 +407054,9 @@ class e9 extends GPi {
|
|
|
407050
407054
|
throw new Error("Unknown playlist URI: " + t);
|
|
407051
407055
|
t = this.main.playlists[t];
|
|
407052
407056
|
}
|
|
407053
|
-
if (
|
|
407057
|
+
if (un.clearTimeout(this.finalRenditionTimeout), n) {
|
|
407054
407058
|
const s = (t.partTargetDuration || t.targetDuration) / 2 * 1e3 || 5e3;
|
|
407055
|
-
this.finalRenditionTimeout =
|
|
407059
|
+
this.finalRenditionTimeout = un.setTimeout(this.media.bind(this, t, !1), s);
|
|
407056
407060
|
return;
|
|
407057
407061
|
}
|
|
407058
407062
|
const r = this.state, o = !this.media_ || t.id !== this.media_.id, a = this.main.playlists[t.id];
|
|
@@ -407102,17 +407106,17 @@ class e9 extends GPi {
|
|
|
407102
407106
|
* pause loading of the playlist
|
|
407103
407107
|
*/
|
|
407104
407108
|
pause() {
|
|
407105
|
-
this.mediaUpdateTimeout && (
|
|
407109
|
+
this.mediaUpdateTimeout && (un.clearTimeout(this.mediaUpdateTimeout), this.mediaUpdateTimeout = null), this.stopRequest(), this.state === "HAVE_NOTHING" && (this.started = !1), this.state === "SWITCHING_MEDIA" ? this.media_ ? this.state = "HAVE_METADATA" : this.state = "HAVE_MAIN_MANIFEST" : this.state === "HAVE_CURRENT_METADATA" && (this.state = "HAVE_METADATA");
|
|
407106
407110
|
}
|
|
407107
407111
|
/**
|
|
407108
407112
|
* start loading of the playlist
|
|
407109
407113
|
*/
|
|
407110
407114
|
load(t) {
|
|
407111
|
-
this.mediaUpdateTimeout && (
|
|
407115
|
+
this.mediaUpdateTimeout && (un.clearTimeout(this.mediaUpdateTimeout), this.mediaUpdateTimeout = null);
|
|
407112
407116
|
const n = this.media();
|
|
407113
407117
|
if (t) {
|
|
407114
407118
|
const r = n ? (n.partTargetDuration || n.targetDuration) / 2 * 1e3 : 5e3;
|
|
407115
|
-
this.mediaUpdateTimeout =
|
|
407119
|
+
this.mediaUpdateTimeout = un.setTimeout(() => {
|
|
407116
407120
|
this.mediaUpdateTimeout = null, this.load();
|
|
407117
407121
|
}, r);
|
|
407118
407122
|
return;
|
|
@@ -407124,7 +407128,7 @@ class e9 extends GPi {
|
|
|
407124
407128
|
n && !n.endList ? this.trigger("mediaupdatetimeout") : this.trigger("loadedplaylist");
|
|
407125
407129
|
}
|
|
407126
407130
|
updateMediaUpdateTimeout_(t) {
|
|
407127
|
-
this.mediaUpdateTimeout && (
|
|
407131
|
+
this.mediaUpdateTimeout && (un.clearTimeout(this.mediaUpdateTimeout), this.mediaUpdateTimeout = null), !(!this.media() || this.media().endList) && (this.mediaUpdateTimeout = un.setTimeout(() => {
|
|
407128
407132
|
this.mediaUpdateTimeout = null, this.trigger("mediaupdatetimeout"), this.updateMediaUpdateTimeout_(t);
|
|
407129
407133
|
}, t));
|
|
407130
407134
|
}
|
|
@@ -407133,7 +407137,7 @@ class e9 extends GPi {
|
|
|
407133
407137
|
*/
|
|
407134
407138
|
start() {
|
|
407135
407139
|
if (this.started = !0, typeof this.src == "object") {
|
|
407136
|
-
this.src.uri || (this.src.uri =
|
|
407140
|
+
this.src.uri || (this.src.uri = un.location.href), this.src.resolvedUri = this.src.uri, setTimeout(() => {
|
|
407137
407141
|
this.setupInitialPlaylist(this.src);
|
|
407138
407142
|
}, 0);
|
|
407139
407143
|
return;
|
|
@@ -407214,7 +407218,7 @@ class e9 extends GPi {
|
|
|
407214
407218
|
}), this.trigger("loadedplaylist"), this.request || this.media(this.main.playlists[0]);
|
|
407215
407219
|
return;
|
|
407216
407220
|
}
|
|
407217
|
-
const n = this.srcUri() ||
|
|
407221
|
+
const n = this.srcUri() || un.location.href;
|
|
407218
407222
|
this.main = WPi(t, n), this.haveMetadata({
|
|
407219
407223
|
playlistObject: t,
|
|
407220
407224
|
url: n,
|
|
@@ -407424,7 +407428,7 @@ const Pst = function(e, t, n, r) {
|
|
|
407424
407428
|
}, eNi = function(e) {
|
|
407425
407429
|
let t;
|
|
407426
407430
|
const n = e.offset;
|
|
407427
|
-
return typeof e.offset == "bigint" || typeof e.length == "bigint" ? t =
|
|
407431
|
+
return typeof e.offset == "bigint" || typeof e.length == "bigint" ? t = un.BigInt(e.offset) + un.BigInt(e.length) - un.BigInt(1) : t = e.offset + e.length - 1, "bytes=" + n + "-" + t;
|
|
407428
407432
|
}, Nst = function(e) {
|
|
407429
407433
|
const t = {};
|
|
407430
407434
|
return e.byterange && (t.Range = eNi(e.byterange)), t;
|
|
@@ -407782,7 +407786,7 @@ class Mst extends mNi {
|
|
|
407782
407786
|
addSidxSegments_(t, n, r) {
|
|
407783
407787
|
const o = t.sidx && CLe(t.sidx);
|
|
407784
407788
|
if (!t.sidx || !o || this.mainPlaylistLoader_.sidxMapping_[o]) {
|
|
407785
|
-
|
|
407789
|
+
un.clearTimeout(this.mediaRequest_), this.mediaRequest_ = un.setTimeout(() => r(!1), 0);
|
|
407786
407790
|
return;
|
|
407787
407791
|
}
|
|
407788
407792
|
const a = o2e(t.sidx.resolvedUri), i = (l, u) => {
|
|
@@ -407846,7 +407850,7 @@ class Mst extends mNi {
|
|
|
407846
407850
|
}, s);
|
|
407847
407851
|
}
|
|
407848
407852
|
dispose() {
|
|
407849
|
-
this.isPaused_ = !0, this.trigger("dispose"), this.stopRequest(), this.loadedPlaylists_ = {},
|
|
407853
|
+
this.isPaused_ = !0, this.trigger("dispose"), this.stopRequest(), this.loadedPlaylists_ = {}, un.clearTimeout(this.minimumUpdatePeriodTimeout_), un.clearTimeout(this.mediaRequest_), un.clearTimeout(this.mediaUpdateTimeout), this.mediaUpdateTimeout = null, this.mediaRequest_ = null, this.minimumUpdatePeriodTimeout_ = null, this.mainPlaylistLoader_.createMupOnMedia_ && (this.off("loadedmetadata", this.mainPlaylistLoader_.createMupOnMedia_), this.mainPlaylistLoader_.createMupOnMedia_ = null), this.off();
|
|
407850
407854
|
}
|
|
407851
407855
|
hasPendingRequest() {
|
|
407852
407856
|
return this.request || this.mediaRequest_;
|
|
@@ -407884,17 +407888,17 @@ class Mst extends mNi {
|
|
|
407884
407888
|
startingState: t,
|
|
407885
407889
|
playlist: n
|
|
407886
407890
|
}) {
|
|
407887
|
-
this.state = "HAVE_METADATA", this.loadedPlaylists_[n.id] = n,
|
|
407891
|
+
this.state = "HAVE_METADATA", this.loadedPlaylists_[n.id] = n, un.clearTimeout(this.mediaRequest_), this.mediaRequest_ = null, this.refreshMedia_(n.id), t === "HAVE_MAIN_MANIFEST" ? this.trigger("loadedmetadata") : this.trigger("mediachange");
|
|
407888
407892
|
}
|
|
407889
407893
|
pause() {
|
|
407890
|
-
this.isPaused_ = !0, this.mainPlaylistLoader_.createMupOnMedia_ && (this.off("loadedmetadata", this.mainPlaylistLoader_.createMupOnMedia_), this.mainPlaylistLoader_.createMupOnMedia_ = null), this.stopRequest(),
|
|
407894
|
+
this.isPaused_ = !0, this.mainPlaylistLoader_.createMupOnMedia_ && (this.off("loadedmetadata", this.mainPlaylistLoader_.createMupOnMedia_), this.mainPlaylistLoader_.createMupOnMedia_ = null), this.stopRequest(), un.clearTimeout(this.mediaUpdateTimeout), this.mediaUpdateTimeout = null, this.isMain_ && (un.clearTimeout(this.mainPlaylistLoader_.minimumUpdatePeriodTimeout_), this.mainPlaylistLoader_.minimumUpdatePeriodTimeout_ = null), this.state === "HAVE_NOTHING" && (this.started = !1);
|
|
407891
407895
|
}
|
|
407892
407896
|
load(t) {
|
|
407893
|
-
this.isPaused_ = !1,
|
|
407897
|
+
this.isPaused_ = !1, un.clearTimeout(this.mediaUpdateTimeout), this.mediaUpdateTimeout = null;
|
|
407894
407898
|
const n = this.media();
|
|
407895
407899
|
if (t) {
|
|
407896
407900
|
const r = n ? n.targetDuration / 2 * 1e3 : 5e3;
|
|
407897
|
-
this.mediaUpdateTimeout =
|
|
407901
|
+
this.mediaUpdateTimeout = un.setTimeout(() => this.load(), r);
|
|
407898
407902
|
return;
|
|
407899
407903
|
}
|
|
407900
407904
|
if (!this.started) {
|
|
@@ -407905,7 +407909,7 @@ class Mst extends mNi {
|
|
|
407905
407909
|
}
|
|
407906
407910
|
start() {
|
|
407907
407911
|
if (this.started = !0, !this.isMain_) {
|
|
407908
|
-
|
|
407912
|
+
un.clearTimeout(this.mediaRequest_), this.mediaRequest_ = un.setTimeout(() => this.haveMain_(), 0);
|
|
407909
407913
|
return;
|
|
407910
407914
|
}
|
|
407911
407915
|
this.requestMain_((t, n) => {
|
|
@@ -407991,7 +407995,7 @@ class Mst extends mNi {
|
|
|
407991
407995
|
this.state = "HAVE_MAIN_MANIFEST", this.isMain_ ? this.trigger("loadedplaylist") : this.media_ || this.media(this.childPlaylist_);
|
|
407992
407996
|
}
|
|
407993
407997
|
handleMain_() {
|
|
407994
|
-
|
|
407998
|
+
un.clearTimeout(this.mediaRequest_), this.mediaRequest_ = null;
|
|
407995
407999
|
const t = this.mainPlaylistLoader_.main, n = {
|
|
407996
408000
|
manifestInfo: {
|
|
407997
408001
|
uri: this.mainPlaylistLoader_.srcUrl
|
|
@@ -408045,7 +408049,7 @@ class Mst extends mNi {
|
|
|
408045
408049
|
}
|
|
408046
408050
|
updateMinimumUpdatePeriodTimeout_() {
|
|
408047
408051
|
const t = this.mainPlaylistLoader_;
|
|
408048
|
-
t.createMupOnMedia_ && (t.off("loadedmetadata", t.createMupOnMedia_), t.createMupOnMedia_ = null), t.minimumUpdatePeriodTimeout_ && (
|
|
408052
|
+
t.createMupOnMedia_ && (t.off("loadedmetadata", t.createMupOnMedia_), t.createMupOnMedia_ = null), t.minimumUpdatePeriodTimeout_ && (un.clearTimeout(t.minimumUpdatePeriodTimeout_), t.minimumUpdatePeriodTimeout_ = null);
|
|
408049
408053
|
let n = t.main && t.main.minimumUpdatePeriod;
|
|
408050
408054
|
if (n === 0 && (t.media() ? n = t.media().targetDuration * 1e3 : (t.createMupOnMedia_ = t.updateMinimumUpdatePeriodTimeout_, t.one("loadedmetadata", t.createMupOnMedia_))), typeof n != "number" || n <= 0) {
|
|
408051
408055
|
n < 0 && this.logger_(`found invalid minimumUpdatePeriod of ${n}, not setting a timeout`);
|
|
@@ -408055,7 +408059,7 @@ class Mst extends mNi {
|
|
|
408055
408059
|
}
|
|
408056
408060
|
createMUPTimeout_(t) {
|
|
408057
408061
|
const n = this.mainPlaylistLoader_;
|
|
408058
|
-
n.minimumUpdatePeriodTimeout_ =
|
|
408062
|
+
n.minimumUpdatePeriodTimeout_ = un.setTimeout(() => {
|
|
408059
408063
|
n.minimumUpdatePeriodTimeout_ = null, n.trigger("minimumUpdatePeriod"), n.createMUPTimeout_(t);
|
|
408060
408064
|
}, t);
|
|
408061
408065
|
}
|
|
@@ -408081,7 +408085,7 @@ class Mst extends mNi {
|
|
|
408081
408085
|
const n = this.mainPlaylistLoader_.main.playlists, r = !this.media_ || this.media_ !== n[t];
|
|
408082
408086
|
if (r ? this.media_ = n[t] : this.trigger("playlistunchanged"), !this.mediaUpdateTimeout) {
|
|
408083
408087
|
const o = () => {
|
|
408084
|
-
this.media().endList || (this.mediaUpdateTimeout =
|
|
408088
|
+
this.media().endList || (this.mediaUpdateTimeout = un.setTimeout(() => {
|
|
408085
408089
|
this.trigger("mediaupdatetimeout"), o();
|
|
408086
408090
|
}, Rst(this.media(), !!r)));
|
|
408087
408091
|
};
|
|
@@ -408868,8 +408872,8 @@ browserWorkerPolyFill(self);
|
|
|
408868
408872
|
192
|
|
408869
408873
|
// avgBitrate
|
|
408870
408874
|
]))], ye.sarRatio) {
|
|
408871
|
-
var Qt = ye.sarRatio[0],
|
|
408872
|
-
Kt.push(s(F.pasp, new Uint8Array([(Qt & 4278190080) >> 24, (Qt & 16711680) >> 16, (Qt & 65280) >> 8, Qt & 255, (
|
|
408875
|
+
var Qt = ye.sarRatio[0], ln = ye.sarRatio[1];
|
|
408876
|
+
Kt.push(s(F.pasp, new Uint8Array([(Qt & 4278190080) >> 24, (Qt & 16711680) >> 16, (Qt & 65280) >> 8, Qt & 255, (ln & 4278190080) >> 24, (ln & 16711680) >> 16, (ln & 65280) >> 8, ln & 255])));
|
|
408873
408877
|
}
|
|
408874
408878
|
return s.apply(null, Kt);
|
|
408875
408879
|
}, We = function(ye) {
|
|
@@ -409130,14 +409134,14 @@ browserWorkerPolyFill(self);
|
|
|
409130
409134
|
// data_offset
|
|
409131
409135
|
];
|
|
409132
409136
|
}, We = function(et, ut) {
|
|
409133
|
-
var pt, $t, Gt, Kt, Qt,
|
|
409134
|
-
for (Kt = et.samples || [], ut += 20 + 16 * Kt.length, Gt = ye(Kt, ut), $t = new Uint8Array(Gt.length + Kt.length * 16), $t.set(Gt), pt = Gt.length,
|
|
409135
|
-
Qt = Kt[
|
|
409137
|
+
var pt, $t, Gt, Kt, Qt, ln;
|
|
409138
|
+
for (Kt = et.samples || [], ut += 20 + 16 * Kt.length, Gt = ye(Kt, ut), $t = new Uint8Array(Gt.length + Kt.length * 16), $t.set(Gt), pt = Gt.length, ln = 0; ln < Kt.length; ln++)
|
|
409139
|
+
Qt = Kt[ln], $t[pt++] = (Qt.duration & 4278190080) >>> 24, $t[pt++] = (Qt.duration & 16711680) >>> 16, $t[pt++] = (Qt.duration & 65280) >>> 8, $t[pt++] = Qt.duration & 255, $t[pt++] = (Qt.size & 4278190080) >>> 24, $t[pt++] = (Qt.size & 16711680) >>> 16, $t[pt++] = (Qt.size & 65280) >>> 8, $t[pt++] = Qt.size & 255, $t[pt++] = Qt.flags.isLeading << 2 | Qt.flags.dependsOn, $t[pt++] = Qt.flags.isDependedOn << 6 | Qt.flags.hasRedundancy << 4 | Qt.flags.paddingValue << 1 | Qt.flags.isNonSyncSample, $t[pt++] = Qt.flags.degradationPriority & 61440, $t[pt++] = Qt.flags.degradationPriority & 15, $t[pt++] = (Qt.compositionTimeOffset & 4278190080) >>> 24, $t[pt++] = (Qt.compositionTimeOffset & 16711680) >>> 16, $t[pt++] = (Qt.compositionTimeOffset & 65280) >>> 8, $t[pt++] = Qt.compositionTimeOffset & 255;
|
|
409136
409140
|
return s(F.trun, $t);
|
|
409137
409141
|
}, Ie = function(et, ut) {
|
|
409138
|
-
var pt, $t, Gt, Kt, Qt,
|
|
409139
|
-
for (Kt = et.samples || [], ut += 20 + 8 * Kt.length, Gt = ye(Kt, ut), pt = new Uint8Array(Gt.length + Kt.length * 8), pt.set(Gt), $t = Gt.length,
|
|
409140
|
-
Qt = Kt[
|
|
409142
|
+
var pt, $t, Gt, Kt, Qt, ln;
|
|
409143
|
+
for (Kt = et.samples || [], ut += 20 + 8 * Kt.length, Gt = ye(Kt, ut), pt = new Uint8Array(Gt.length + Kt.length * 8), pt.set(Gt), $t = Gt.length, ln = 0; ln < Kt.length; ln++)
|
|
409144
|
+
Qt = Kt[ln], pt[$t++] = (Qt.duration & 4278190080) >>> 24, pt[$t++] = (Qt.duration & 16711680) >>> 16, pt[$t++] = (Qt.duration & 65280) >>> 8, pt[$t++] = Qt.duration & 255, pt[$t++] = (Qt.size & 4278190080) >>> 24, pt[$t++] = (Qt.size & 16711680) >>> 16, pt[$t++] = (Qt.size & 65280) >>> 8, pt[$t++] = Qt.size & 255;
|
|
409141
409145
|
return s(F.trun, pt);
|
|
409142
409146
|
}, U = function(et, ut) {
|
|
409143
409147
|
return et.type === "audio" ? Ie(et, ut) : We(et, ut);
|
|
@@ -409187,7 +409191,7 @@ browserWorkerPolyFill(self);
|
|
|
409187
409191
|
$t = pt[et], ut = Ve($t, Gt), Gt += ut.size, Kt.push(ut);
|
|
409188
409192
|
return Kt;
|
|
409189
409193
|
}, Be = function(Ie) {
|
|
409190
|
-
var We, ye, et, ut, pt, $t, Gt = 0, Kt = Ie.byteLength, Qt = Ie.nalCount,
|
|
409194
|
+
var We, ye, et, ut, pt, $t, Gt = 0, Kt = Ie.byteLength, Qt = Ie.nalCount, ln = Kt + 4 * Qt, An = new Uint8Array(ln), Qn = new DataView(An.buffer);
|
|
409191
409195
|
for (We = 0; We < Ie.length; We++)
|
|
409192
409196
|
for (ut = Ie[We], ye = 0; ye < ut.length; ye++)
|
|
409193
409197
|
for (pt = ut[ye], et = 0; et < pt.length; et++)
|
|
@@ -409253,7 +409257,7 @@ browserWorkerPolyFill(self);
|
|
|
409253
409257
|
}, nn = function(Ie, We, ye) {
|
|
409254
409258
|
return kt(ye ? Ie : Ie - We);
|
|
409255
409259
|
};
|
|
409256
|
-
var
|
|
409260
|
+
var sn = {
|
|
409257
409261
|
ONE_SECOND_IN_TS: ot,
|
|
409258
409262
|
secondsToVideoTs: wt,
|
|
409259
409263
|
secondsToAudioTs: bt,
|
|
@@ -409262,15 +409266,15 @@ browserWorkerPolyFill(self);
|
|
|
409262
409266
|
audioTsToVideoTs: cn,
|
|
409263
409267
|
videoTsToAudioTs: _n,
|
|
409264
409268
|
metadataTsToSeconds: nn
|
|
409265
|
-
}, wn = qe, q =
|
|
409269
|
+
}, wn = qe, q = sn, pe = function(Ie) {
|
|
409266
409270
|
var We, ye, et = 0;
|
|
409267
409271
|
for (We = 0; We < Ie.length; We++)
|
|
409268
409272
|
ye = Ie[We], et += ye.data.byteLength;
|
|
409269
409273
|
return et;
|
|
409270
409274
|
}, Ue = function(Ie, We, ye, et) {
|
|
409271
|
-
var ut, pt = 0, $t = 0, Gt = 0, Kt = 0, Qt,
|
|
409275
|
+
var ut, pt = 0, $t = 0, Gt = 0, Kt = 0, Qt, ln, An;
|
|
409272
409276
|
if (We.length && (ut = q.audioTsToVideoTs(Ie.baseMediaDecodeTime, Ie.samplerate), pt = Math.ceil(q.ONE_SECOND_IN_TS / (Ie.samplerate / 1024)), ye && et && ($t = ut - Math.max(ye, et), Gt = Math.floor($t / pt), Kt = Gt * pt), !(Gt < 1 || Kt > q.ONE_SECOND_IN_TS / 2))) {
|
|
409273
|
-
for (Qt = wn()[Ie.samplerate], Qt || (Qt = We[0].data),
|
|
409277
|
+
for (Qt = wn()[Ie.samplerate], Qt || (Qt = We[0].data), ln = 0; ln < Gt; ln++)
|
|
409274
409278
|
An = We[0], We.splice(0, 0, {
|
|
409275
409279
|
data: Qt,
|
|
409276
409280
|
dts: An.dts - pt,
|
|
@@ -409301,7 +409305,7 @@ browserWorkerPolyFill(self);
|
|
|
409301
409305
|
trimAdtsFramesByEarliestDts: ct,
|
|
409302
409306
|
generateSampleTable: Pe,
|
|
409303
409307
|
concatenateFrameData: Se
|
|
409304
|
-
}, Ut =
|
|
409308
|
+
}, Ut = sn.ONE_SECOND_IN_TS, Dt = function(Ie, We) {
|
|
409305
409309
|
typeof We.pts == "number" && (Ie.timelineStartInfo.pts === void 0 && (Ie.timelineStartInfo.pts = We.pts), Ie.minSegmentPts === void 0 ? Ie.minSegmentPts = We.pts : Ie.minSegmentPts = Math.min(Ie.minSegmentPts, We.pts), Ie.maxSegmentPts === void 0 ? Ie.maxSegmentPts = We.pts : Ie.maxSegmentPts = Math.max(Ie.maxSegmentPts, We.pts)), typeof We.dts == "number" && (Ie.timelineStartInfo.dts === void 0 && (Ie.timelineStartInfo.dts = We.dts), Ie.minSegmentDts === void 0 ? Ie.minSegmentDts = We.dts : Ie.minSegmentDts = Math.min(Ie.minSegmentDts, We.dts), Ie.maxSegmentDts === void 0 ? Ie.maxSegmentDts = We.dts : Ie.maxSegmentDts = Math.max(Ie.maxSegmentDts, We.dts));
|
|
409306
409310
|
}, Bt = function(Ie) {
|
|
409307
409311
|
delete Ie.minSegmentDts, delete Ie.maxSegmentDts, delete Ie.minSegmentPts, delete Ie.maxSegmentPts;
|
|
@@ -409571,18 +409575,18 @@ browserWorkerPolyFill(self);
|
|
|
409571
409575
|
ye.flushDisplayed(pt, ye.services[Ie]);
|
|
409572
409576
|
}), this.services[Ie];
|
|
409573
409577
|
}, Xr.prototype.handleText = function(Ie, We, ye) {
|
|
409574
|
-
var et = ye && ye.isExtended, ut = ye && ye.isMultiByte, pt = this.current708Packet.data, $t = et ? 4096 : 0, Gt = pt[Ie], Kt = pt[Ie + 1], Qt = We.currentWindow,
|
|
409578
|
+
var et = ye && ye.isExtended, ut = ye && ye.isMultiByte, pt = this.current708Packet.data, $t = et ? 4096 : 0, Gt = pt[Ie], Kt = pt[Ie + 1], Qt = We.currentWindow, ln, An;
|
|
409575
409579
|
function Qn(Fn) {
|
|
409576
409580
|
return Fn.map((zo) => ("0" + (zo & 255).toString(16)).slice(-2)).join("");
|
|
409577
409581
|
}
|
|
409578
409582
|
if (ut ? (An = [Gt, Kt], Ie++) : An = [Gt], We.textDecoder_ && !et)
|
|
409579
|
-
|
|
409583
|
+
ln = We.textDecoder_.decode(new Uint8Array(An));
|
|
409580
409584
|
else if (ut) {
|
|
409581
409585
|
const Fn = Qn(An);
|
|
409582
|
-
|
|
409586
|
+
ln = String.fromCharCode(parseInt(Fn, 16));
|
|
409583
409587
|
} else
|
|
409584
|
-
|
|
409585
|
-
return Qt.pendingNewLine && !Qt.isEmpty() && Qt.newLine(this.getPts(Ie)), Qt.pendingNewLine = !1, Qt.addText(
|
|
409588
|
+
ln = Xl($t | Gt);
|
|
409589
|
+
return Qt.pendingNewLine && !Qt.isEmpty() && Qt.newLine(this.getPts(Ie)), Qt.pendingNewLine = !1, Qt.addText(ln), Ie;
|
|
409586
409590
|
}, Xr.prototype.multiByteCharacter = function(Ie, We) {
|
|
409587
409591
|
var ye = this.current708Packet.data, et = ye[Ie + 1], ut = ye[Ie + 2];
|
|
409588
409592
|
return vr(et) && vr(ut) && (Ie = this.handleText(++Ie, We, {
|
|
@@ -410116,7 +410120,7 @@ browserWorkerPolyFill(self);
|
|
|
410116
410120
|
for (pt = 0; pt < We.descriptor.length; pt++)
|
|
410117
410121
|
this.dispatchType += ("00" + We.descriptor[pt].toString(16)).slice(-2);
|
|
410118
410122
|
this.push = function($t) {
|
|
410119
|
-
var Gt, Kt, Qt,
|
|
410123
|
+
var Gt, Kt, Qt, ln, An, Qn;
|
|
410120
410124
|
if ($t.type === "timed-metadata") {
|
|
410121
410125
|
if ($t.dataAlignmentIndicator && (ut = 0, et.length = 0), et.length === 0 && ($t.data.length < 10 || $t.data[0] !== 73 || $t.data[1] !== 68 || $t.data[2] !== 51)) {
|
|
410122
410126
|
this.trigger("log", {
|
|
@@ -410142,14 +410146,14 @@ browserWorkerPolyFill(self);
|
|
|
410142
410146
|
});
|
|
410143
410147
|
break;
|
|
410144
410148
|
}
|
|
410145
|
-
if (Qn = String.fromCharCode(Gt.data[Kt], Gt.data[Kt + 1], Gt.data[Kt + 2], Gt.data[Kt + 3]),
|
|
410149
|
+
if (Qn = String.fromCharCode(Gt.data[Kt], Gt.data[Kt + 1], Gt.data[Kt + 2], Gt.data[Kt + 3]), ln = {
|
|
410146
410150
|
id: Qn,
|
|
410147
410151
|
data: Gt.data.subarray(Kt + 10, Kt + Qt + 10)
|
|
410148
|
-
},
|
|
410149
|
-
var Fn =
|
|
410150
|
-
zo *= 4, zo += Fn[7] & 3,
|
|
410152
|
+
}, ln.key = ln.id, oo.frameParsers[ln.id] ? oo.frameParsers[ln.id](ln) : ln.id[0] === "T" ? oo.frameParsers["T*"](ln) : ln.id[0] === "W" && oo.frameParsers["W*"](ln), ln.owner === "com.apple.streaming.transportStreamTimestamp") {
|
|
410153
|
+
var Fn = ln.data, zo = (Fn[3] & 1) << 30 | Fn[4] << 22 | Fn[5] << 14 | Fn[6] << 6 | Fn[7] >>> 2;
|
|
410154
|
+
zo *= 4, zo += Fn[7] & 3, ln.timeStamp = zo, Gt.pts === void 0 && Gt.dts === void 0 && (Gt.pts = ln.timeStamp, Gt.dts = ln.timeStamp), this.trigger("timestamp", ln);
|
|
410151
410155
|
}
|
|
410152
|
-
Gt.frames.push(
|
|
410156
|
+
Gt.frames.push(ln), Kt += 10, Kt += Qt;
|
|
410153
410157
|
} while (Kt < ye);
|
|
410154
410158
|
this.trigger("data", Gt);
|
|
410155
410159
|
}
|
|
@@ -410191,8 +410195,8 @@ browserWorkerPolyFill(self);
|
|
|
410191
410195
|
audio: null,
|
|
410192
410196
|
"timed-metadata": {}
|
|
410193
410197
|
}, $t = (ut[1] & 15) << 8 | ut[2], Gt = 3 + $t - 4, Kt = (ut[10] & 15) << 8 | ut[11], Qt = 12 + Kt; Qt < Gt; ) {
|
|
410194
|
-
var
|
|
410195
|
-
|
|
410198
|
+
var ln = ut[Qt], An = (ut[Qt + 1] & 31) << 8 | ut[Qt + 2];
|
|
410199
|
+
ln === lo.H264_STREAM_TYPE && et.programMapTable.video === null ? et.programMapTable.video = An : ln === lo.ADTS_STREAM_TYPE && et.programMapTable.audio === null ? et.programMapTable.audio = An : ln === lo.METADATA_STREAM_TYPE && (et.programMapTable["timed-metadata"][An] = ln), Qt += ((ut[Qt + 3] & 15) << 8 | ut[Qt + 4]) + 5;
|
|
410196
410200
|
}
|
|
410197
410201
|
pt.programMapTable = et.programMapTable;
|
|
410198
410202
|
}
|
|
@@ -410221,17 +410225,17 @@ browserWorkerPolyFill(self);
|
|
|
410221
410225
|
data: [],
|
|
410222
410226
|
size: 0
|
|
410223
410227
|
}, pt, $t = function(Kt, Qt) {
|
|
410224
|
-
var
|
|
410228
|
+
var ln;
|
|
410225
410229
|
const An = Kt[0] << 16 | Kt[1] << 8 | Kt[2];
|
|
410226
|
-
Qt.data = new Uint8Array(), An === 1 && (Qt.packetLength = 6 + (Kt[4] << 8 | Kt[5]), Qt.dataAlignmentIndicator = (Kt[6] & 4) !== 0,
|
|
410227
|
-
}, Gt = function(Kt, Qt,
|
|
410230
|
+
Qt.data = new Uint8Array(), An === 1 && (Qt.packetLength = 6 + (Kt[4] << 8 | Kt[5]), Qt.dataAlignmentIndicator = (Kt[6] & 4) !== 0, ln = Kt[7], ln & 192 && (Qt.pts = (Kt[9] & 14) << 27 | (Kt[10] & 255) << 20 | (Kt[11] & 254) << 12 | (Kt[12] & 255) << 5 | (Kt[13] & 254) >>> 3, Qt.pts *= 4, Qt.pts += (Kt[13] & 6) >>> 1, Qt.dts = Qt.pts, ln & 64 && (Qt.dts = (Kt[14] & 14) << 27 | (Kt[15] & 255) << 20 | (Kt[16] & 254) << 12 | (Kt[17] & 255) << 5 | (Kt[18] & 254) >>> 3, Qt.dts *= 4, Qt.dts += (Kt[18] & 6) >>> 1)), Qt.data = Kt.subarray(9 + Kt[8]));
|
|
410231
|
+
}, Gt = function(Kt, Qt, ln) {
|
|
410228
410232
|
var An = new Uint8Array(Kt.size), Qn = {
|
|
410229
410233
|
type: Qt
|
|
410230
410234
|
}, Fn = 0, zo = 0, ci = !1, yi;
|
|
410231
410235
|
if (!(!Kt.data.length || Kt.size < 9)) {
|
|
410232
410236
|
for (Qn.trackId = Kt.data[0].pid, Fn = 0; Fn < Kt.data.length; Fn++)
|
|
410233
410237
|
yi = Kt.data[Fn], An.set(yi.data, zo), zo += yi.data.byteLength;
|
|
410234
|
-
$t(An, Qn), ci = Qt === "video" || Qn.packetLength <= Kt.size, (
|
|
410238
|
+
$t(An, Qn), ci = Qt === "video" || Qn.packetLength <= Kt.size, (ln || ci) && (Kt.size = 0, Kt.data.length = 0), ci && Ie.trigger("data", Qn);
|
|
410235
410239
|
}
|
|
410236
410240
|
};
|
|
410237
410241
|
Ua.prototype.init.call(this), this.push = function(Kt) {
|
|
@@ -410239,21 +410243,21 @@ browserWorkerPolyFill(self);
|
|
|
410239
410243
|
pat: function() {
|
|
410240
410244
|
},
|
|
410241
410245
|
pes: function() {
|
|
410242
|
-
var Qt,
|
|
410246
|
+
var Qt, ln;
|
|
410243
410247
|
switch (Kt.streamType) {
|
|
410244
410248
|
case lo.H264_STREAM_TYPE:
|
|
410245
|
-
Qt = ye,
|
|
410249
|
+
Qt = ye, ln = "video";
|
|
410246
410250
|
break;
|
|
410247
410251
|
case lo.ADTS_STREAM_TYPE:
|
|
410248
|
-
Qt = et,
|
|
410252
|
+
Qt = et, ln = "audio";
|
|
410249
410253
|
break;
|
|
410250
410254
|
case lo.METADATA_STREAM_TYPE:
|
|
410251
|
-
Qt = ut,
|
|
410255
|
+
Qt = ut, ln = "timed-metadata";
|
|
410252
410256
|
break;
|
|
410253
410257
|
default:
|
|
410254
410258
|
return;
|
|
410255
410259
|
}
|
|
410256
|
-
Kt.payloadUnitStartIndicator && Gt(Qt,
|
|
410260
|
+
Kt.payloadUnitStartIndicator && Gt(Qt, ln, !0), Qt.data.push(Kt), Qt.size += Kt.data.byteLength;
|
|
410257
410261
|
},
|
|
410258
410262
|
pmt: function() {
|
|
410259
410263
|
var Qt = {
|
|
@@ -410320,7 +410324,7 @@ browserWorkerPolyFill(self);
|
|
|
410320
410324
|
};
|
|
410321
410325
|
for (var fo in lo)
|
|
410322
410326
|
lo.hasOwnProperty(fo) && (Mn[fo] = lo[fo]);
|
|
410323
|
-
var Ga = Mn, rr = n, Gl =
|
|
410327
|
+
var Ga = Mn, rr = n, Gl = sn.ONE_SECOND_IN_TS, jl, xn = [96e3, 88200, 64e3, 48e3, 44100, 32e3, 24e3, 22050, 16e3, 12e3, 11025, 8e3, 7350];
|
|
410324
410328
|
jl = function(Ie) {
|
|
410325
410329
|
var We, ye = 0;
|
|
410326
410330
|
jl.prototype.init.call(this), this.skipWarn_ = function(et, ut) {
|
|
@@ -410332,12 +410336,12 @@ browserWorkerPolyFill(self);
|
|
|
410332
410336
|
var ut = 0, pt, $t, Gt, Kt, Qt;
|
|
410333
410337
|
if (Ie || (ye = 0), et.type === "audio") {
|
|
410334
410338
|
We && We.length ? (Gt = We, We = new Uint8Array(Gt.byteLength + et.data.byteLength), We.set(Gt), We.set(et.data, Gt.byteLength)) : We = et.data;
|
|
410335
|
-
for (var
|
|
410339
|
+
for (var ln; ut + 7 < We.length; ) {
|
|
410336
410340
|
if (We[ut] !== 255 || (We[ut + 1] & 246) !== 240) {
|
|
410337
|
-
typeof
|
|
410341
|
+
typeof ln != "number" && (ln = ut), ut++;
|
|
410338
410342
|
continue;
|
|
410339
410343
|
}
|
|
410340
|
-
if (typeof
|
|
410344
|
+
if (typeof ln == "number" && (this.skipWarn_(ln, ut), ln = null), $t = (~We[ut + 1] & 1) * 2, pt = (We[ut + 3] & 3) << 11 | We[ut + 4] << 3 | (We[ut + 5] & 224) >> 5, Kt = ((We[ut + 6] & 3) + 1) * 1024, Qt = Kt * Gl / xn[(We[ut + 2] & 60) >>> 2], We.byteLength - ut < pt)
|
|
410341
410345
|
break;
|
|
410342
410346
|
this.trigger("data", {
|
|
410343
410347
|
pts: et.pts + ye * Qt,
|
|
@@ -410353,7 +410357,7 @@ browserWorkerPolyFill(self);
|
|
|
410353
410357
|
data: We.subarray(ut + 7 + $t, ut + pt)
|
|
410354
410358
|
}), ye++, ut += pt;
|
|
410355
410359
|
}
|
|
410356
|
-
typeof
|
|
410360
|
+
typeof ln == "number" && (this.skipWarn_(ln, ut), ln = null), We = We.subarray(ut);
|
|
410357
410361
|
}
|
|
410358
410362
|
}, this.flush = function() {
|
|
410359
410363
|
ye = 0, this.trigger("done");
|
|
@@ -410511,21 +410515,21 @@ browserWorkerPolyFill(self);
|
|
|
410511
410515
|
}, this.endTimeline = function() {
|
|
410512
410516
|
Ie.endTimeline();
|
|
410513
410517
|
}, Gt = function(Kt, Qt) {
|
|
410514
|
-
var
|
|
410518
|
+
var ln = 8, An = 8, Qn, Fn;
|
|
410515
410519
|
for (Qn = 0; Qn < Kt; Qn++)
|
|
410516
|
-
An !== 0 && (Fn = Qt.readExpGolomb(), An = (
|
|
410520
|
+
An !== 0 && (Fn = Qt.readExpGolomb(), An = (ln + Fn + 256) % 256), ln = An === 0 ? ln : An;
|
|
410517
410521
|
}, pt = function(Kt) {
|
|
410518
|
-
for (var Qt = Kt.byteLength,
|
|
410519
|
-
Kt[An] === 0 && Kt[An + 1] === 0 && Kt[An + 2] === 3 ? (
|
|
410520
|
-
if (
|
|
410522
|
+
for (var Qt = Kt.byteLength, ln = [], An = 1, Qn, Fn; An < Qt - 2; )
|
|
410523
|
+
Kt[An] === 0 && Kt[An + 1] === 0 && Kt[An + 2] === 3 ? (ln.push(An + 2), An += 2) : An++;
|
|
410524
|
+
if (ln.length === 0)
|
|
410521
410525
|
return Kt;
|
|
410522
|
-
Qn = Qt -
|
|
410526
|
+
Qn = Qt - ln.length, Fn = new Uint8Array(Qn);
|
|
410523
410527
|
var zo = 0;
|
|
410524
410528
|
for (An = 0; An < Qn; zo++, An++)
|
|
410525
|
-
zo ===
|
|
410529
|
+
zo === ln[0] && (zo++, ln.shift()), Fn[An] = Kt[zo];
|
|
410526
410530
|
return Fn;
|
|
410527
410531
|
}, $t = function(Kt) {
|
|
410528
|
-
var Qt = 0,
|
|
410532
|
+
var Qt = 0, ln = 0, An = 0, Qn = 0, Fn, zo, ci, yi, Tc, dp, qp, wb, fp, Oc, pO, Vc = [1, 1], l2, _b;
|
|
410529
410533
|
if (Fn = new jr(Kt), zo = Fn.readUnsignedByte(), yi = Fn.readUnsignedByte(), ci = Fn.readUnsignedByte(), Fn.skipUnsignedExpGolomb(), Ii[zo] && (Tc = Fn.readUnsignedExpGolomb(), Tc === 3 && Fn.skipBits(1), Fn.skipUnsignedExpGolomb(), Fn.skipUnsignedExpGolomb(), Fn.skipBits(1), Fn.readBoolean()))
|
|
410530
410534
|
for (pO = Tc !== 3 ? 8 : 12, _b = 0; _b < pO; _b++)
|
|
410531
410535
|
Fn.readBoolean() && (_b < 6 ? Gt(16, Fn) : Gt(64, Fn));
|
|
@@ -410534,7 +410538,7 @@ browserWorkerPolyFill(self);
|
|
|
410534
410538
|
else if (dp === 1)
|
|
410535
410539
|
for (Fn.skipBits(1), Fn.skipExpGolomb(), Fn.skipExpGolomb(), qp = Fn.readUnsignedExpGolomb(), _b = 0; _b < qp; _b++)
|
|
410536
410540
|
Fn.skipExpGolomb();
|
|
410537
|
-
if (Fn.skipUnsignedExpGolomb(), Fn.skipBits(1), wb = Fn.readUnsignedExpGolomb(), fp = Fn.readUnsignedExpGolomb(), Oc = Fn.readBits(1), Oc === 0 && Fn.skipBits(1), Fn.skipBits(1), Fn.readBoolean() && (Qt = Fn.readUnsignedExpGolomb(),
|
|
410541
|
+
if (Fn.skipUnsignedExpGolomb(), Fn.skipBits(1), wb = Fn.readUnsignedExpGolomb(), fp = Fn.readUnsignedExpGolomb(), Oc = Fn.readBits(1), Oc === 0 && Fn.skipBits(1), Fn.skipBits(1), Fn.readBoolean() && (Qt = Fn.readUnsignedExpGolomb(), ln = Fn.readUnsignedExpGolomb(), An = Fn.readUnsignedExpGolomb(), Qn = Fn.readUnsignedExpGolomb()), Fn.readBoolean() && Fn.readBoolean()) {
|
|
410538
410542
|
switch (l2 = Fn.readUnsignedByte(), l2) {
|
|
410539
410543
|
case 1:
|
|
410540
410544
|
Vc = [1, 1];
|
|
@@ -410595,7 +410599,7 @@ browserWorkerPolyFill(self);
|
|
|
410595
410599
|
profileIdc: zo,
|
|
410596
410600
|
levelIdc: ci,
|
|
410597
410601
|
profileCompatibility: yi,
|
|
410598
|
-
width: (wb + 1) * 16 - Qt * 2 -
|
|
410602
|
+
width: (wb + 1) * 16 - Qt * 2 - ln * 2,
|
|
410599
410603
|
height: (2 - Oc) * (fp + 1) * 16 - An * 2 - Qn * 2,
|
|
410600
410604
|
// sar is sample aspect ratio
|
|
410601
410605
|
sarRatio: Vc
|
|
@@ -410701,7 +410705,7 @@ browserWorkerPolyFill(self);
|
|
|
410701
410705
|
Ie = new Uint8Array(), this.trigger("endedtimeline");
|
|
410702
410706
|
};
|
|
410703
410707
|
}, gi.prototype = new ju();
|
|
410704
|
-
var Qa = gi, sl = ["audioobjecttype", "channelcount", "samplerate", "samplingfrequencyindex", "samplesize"], wa = sl, Ro = ["width", "height", "profileIdc", "levelIdc", "profileCompatibility", "sarRatio"], Za = Ro, ll = n, ul = we, Sa = Xe, li = mt, ja = _t, io = Ga, Pi =
|
|
410708
|
+
var Qa = gi, sl = ["audioobjecttype", "channelcount", "samplerate", "samplingfrequencyindex", "samplesize"], wa = sl, Ro = ["width", "height", "profileIdc", "levelIdc", "profileCompatibility", "sarRatio"], Za = Ro, ll = n, ul = we, Sa = Xe, li = mt, ja = _t, io = Ga, Pi = sn, En = dr, ya = ru.H264Stream, ga = Qa, vi = Xs.isLikelyAacData, La = sn.ONE_SECOND_IN_TS, Bs = wa, so = Za, aa, ui, eo, Ha, _s = function(Ie, We) {
|
|
410705
410709
|
We.stream = Ie, this.trigger("log", We);
|
|
410706
410710
|
}, ni = function(Ie, We) {
|
|
410707
410711
|
for (var ye = Object.keys(We), et = 0; et < ye.length; et++) {
|
|
@@ -410744,12 +410748,12 @@ browserWorkerPolyFill(self);
|
|
|
410744
410748
|
}, this.setAudioAppendStart = function(Gt) {
|
|
410745
410749
|
pt = Gt;
|
|
410746
410750
|
}, this.flush = function() {
|
|
410747
|
-
var Gt, Kt, Qt,
|
|
410751
|
+
var Gt, Kt, Qt, ln, An, Qn, Fn;
|
|
410748
410752
|
if (ye.length === 0) {
|
|
410749
410753
|
this.trigger("done", "AudioSegmentStream");
|
|
410750
410754
|
return;
|
|
410751
410755
|
}
|
|
410752
|
-
Gt = li.trimAdtsFramesByEarliestDts(ye, Ie, ut), Ie.baseMediaDecodeTime = ja.calculateTrackBaseMediaDecodeTime(Ie, We.keepOriginalTimestamps), Fn = li.prefixWithSilence(Ie, Gt, pt, $t), Ie.samples = li.generateSampleTable(Gt), Qt = ul.mdat(li.concatenateFrameData(Gt)), ye = [], Kt = ul.moof(et, [Ie]),
|
|
410756
|
+
Gt = li.trimAdtsFramesByEarliestDts(ye, Ie, ut), Ie.baseMediaDecodeTime = ja.calculateTrackBaseMediaDecodeTime(Ie, We.keepOriginalTimestamps), Fn = li.prefixWithSilence(Ie, Gt, pt, $t), Ie.samples = li.generateSampleTable(Gt), Qt = ul.mdat(li.concatenateFrameData(Gt)), ye = [], Kt = ul.moof(et, [Ie]), ln = new Uint8Array(Kt.byteLength + Qt.byteLength), et++, ln.set(Kt), ln.set(Qt, Kt.byteLength), ja.clearDtsInfo(Ie), An = Math.ceil(La * 1024 / Ie.samplerate), Gt.length && (Qn = Gt.length * An, this.trigger("segmentTimingInfo", Js(
|
|
410753
410757
|
// The audio track's baseMediaDecodeTime is in audio clock cycles, but the
|
|
410754
410758
|
// frame info is in video clock cycles. Convert to match expectation of
|
|
410755
410759
|
// listeners (that all timestamps will be based on video clock cycles).
|
|
@@ -410765,7 +410769,7 @@ browserWorkerPolyFill(self);
|
|
|
410765
410769
|
end: Gt[0].pts + Qn
|
|
410766
410770
|
})), this.trigger("data", {
|
|
410767
410771
|
track: Ie,
|
|
410768
|
-
boxes:
|
|
410772
|
+
boxes: ln
|
|
410769
410773
|
}), this.trigger("done", "AudioSegmentStream");
|
|
410770
410774
|
}, this.reset = function() {
|
|
410771
410775
|
ja.clearDtsInfo(Ie), ye = [], this.trigger("reset");
|
|
@@ -410777,7 +410781,7 @@ browserWorkerPolyFill(self);
|
|
|
410777
410781
|
Ie[Kt] = pt[Kt];
|
|
410778
410782
|
}, this)), Gt.nalUnitType === "pic_parameter_set_rbsp" && !$t && ($t = Gt.data, Ie.pps = [Gt.data]), et.push(Gt);
|
|
410779
410783
|
}, this.flush = function() {
|
|
410780
|
-
for (var Gt, Kt, Qt,
|
|
410784
|
+
for (var Gt, Kt, Qt, ln, An, Qn, Fn = 0, zo, ci; et.length && et[0].nalUnitType !== "access_unit_delimiter_rbsp"; )
|
|
410781
410785
|
et.shift();
|
|
410782
410786
|
if (et.length === 0) {
|
|
410783
410787
|
this.resetStream_(), this.trigger("done", "VideoSegmentStream");
|
|
@@ -410808,7 +410812,7 @@ browserWorkerPolyFill(self);
|
|
|
410808
410812
|
gop: Qt.pop(),
|
|
410809
410813
|
pps: Ie.pps,
|
|
410810
410814
|
sps: Ie.sps
|
|
410811
|
-
}), this.gopCache_.length = Math.min(6, this.gopCache_.length), et = [], this.trigger("baseMediaDecodeTime", Ie.baseMediaDecodeTime), this.trigger("timelineStartInfo", Ie.timelineStartInfo),
|
|
410815
|
+
}), this.gopCache_.length = Math.min(6, this.gopCache_.length), et = [], this.trigger("baseMediaDecodeTime", Ie.baseMediaDecodeTime), this.trigger("timelineStartInfo", Ie.timelineStartInfo), ln = ul.moof(ye, [Ie]), Qn = new Uint8Array(ln.byteLength + An.byteLength), ye++, Qn.set(ln), Qn.set(An, ln.byteLength), this.trigger("data", {
|
|
410812
410816
|
track: Ie,
|
|
410813
410817
|
boxes: Qn
|
|
410814
410818
|
}), this.resetStream_(), this.trigger("done", "VideoSegmentStream");
|
|
@@ -410817,14 +410821,14 @@ browserWorkerPolyFill(self);
|
|
|
410817
410821
|
}, this.resetStream_ = function() {
|
|
410818
410822
|
ja.clearDtsInfo(Ie), pt = void 0, $t = void 0;
|
|
410819
410823
|
}, this.getGopForFusion_ = function(Gt) {
|
|
410820
|
-
var Kt = 45e3, Qt = 1 / 0,
|
|
410824
|
+
var Kt = 45e3, Qt = 1 / 0, ln, An, Qn, Fn, zo;
|
|
410821
410825
|
for (zo = 0; zo < this.gopCache_.length; zo++)
|
|
410822
|
-
Fn = this.gopCache_[zo], Qn = Fn.gop, !(!(Ie.pps && Zi(Ie.pps[0], Fn.pps[0])) || !(Ie.sps && Zi(Ie.sps[0], Fn.sps[0]))) && (Qn.dts < Ie.timelineStartInfo.dts || (
|
|
410826
|
+
Fn = this.gopCache_[zo], Qn = Fn.gop, !(!(Ie.pps && Zi(Ie.pps[0], Fn.pps[0])) || !(Ie.sps && Zi(Ie.sps[0], Fn.sps[0]))) && (Qn.dts < Ie.timelineStartInfo.dts || (ln = Gt.dts - Qn.dts - Qn.duration, ln >= -1e4 && ln <= Kt && (!An || Qt > ln) && (An = Fn, Qt = ln)));
|
|
410823
410827
|
return An ? An.gop : null;
|
|
410824
410828
|
}, this.alignGopsAtStart_ = function(Gt) {
|
|
410825
|
-
var Kt, Qt,
|
|
410826
|
-
for (Qn = Gt.byteLength, Fn = Gt.nalCount, zo = Gt.duration, Kt = Qt = 0; Kt < ut.length && Qt < Gt.length && (
|
|
410827
|
-
if (An.pts >
|
|
410829
|
+
var Kt, Qt, ln, An, Qn, Fn, zo, ci;
|
|
410830
|
+
for (Qn = Gt.byteLength, Fn = Gt.nalCount, zo = Gt.duration, Kt = Qt = 0; Kt < ut.length && Qt < Gt.length && (ln = ut[Kt], An = Gt[Qt], ln.pts !== An.pts); ) {
|
|
410831
|
+
if (An.pts > ln.pts) {
|
|
410828
410832
|
Kt++;
|
|
410829
410833
|
continue;
|
|
410830
410834
|
}
|
|
@@ -410832,13 +410836,13 @@ browserWorkerPolyFill(self);
|
|
|
410832
410836
|
}
|
|
410833
410837
|
return Qt === 0 ? Gt : Qt === Gt.length ? null : (ci = Gt.slice(Qt), ci.byteLength = Qn, ci.duration = zo, ci.nalCount = Fn, ci.pts = ci[0].pts, ci.dts = ci[0].dts, ci);
|
|
410834
410838
|
}, this.alignGopsAtEnd_ = function(Gt) {
|
|
410835
|
-
var Kt, Qt,
|
|
410839
|
+
var Kt, Qt, ln, An, Qn, Fn;
|
|
410836
410840
|
for (Kt = ut.length - 1, Qt = Gt.length - 1, Qn = null, Fn = !1; Kt >= 0 && Qt >= 0; ) {
|
|
410837
|
-
if (
|
|
410841
|
+
if (ln = ut[Kt], An = Gt[Qt], ln.pts === An.pts) {
|
|
410838
410842
|
Fn = !0;
|
|
410839
410843
|
break;
|
|
410840
410844
|
}
|
|
410841
|
-
if (
|
|
410845
|
+
if (ln.pts > An.pts) {
|
|
410842
410846
|
Kt--;
|
|
410843
410847
|
continue;
|
|
410844
410848
|
}
|
|
@@ -411002,8 +411006,8 @@ browserWorkerPolyFill(self);
|
|
|
411002
411006
|
version: Ie[0],
|
|
411003
411007
|
flags: new Uint8Array(Ie.subarray(1, 4)),
|
|
411004
411008
|
trackId: We.getUint32(4)
|
|
411005
|
-
}, et = ye.flags[2] & 1, ut = ye.flags[2] & 2, pt = ye.flags[2] & 8, $t = ye.flags[2] & 16, Gt = ye.flags[2] & 32, Kt = ye.flags[0] & 65536, Qt = ye.flags[0] & 131072,
|
|
411006
|
-
return
|
|
411009
|
+
}, et = ye.flags[2] & 1, ut = ye.flags[2] & 2, pt = ye.flags[2] & 8, $t = ye.flags[2] & 16, Gt = ye.flags[2] & 32, Kt = ye.flags[0] & 65536, Qt = ye.flags[0] & 131072, ln;
|
|
411010
|
+
return ln = 8, et && (ln += 4, ye.baseDataOffset = We.getUint32(12), ln += 4), ut && (ye.sampleDescriptionIndex = We.getUint32(ln), ln += 4), pt && (ye.defaultSampleDuration = We.getUint32(ln), ln += 4), $t && (ye.defaultSampleSize = We.getUint32(ln), ln += 4), Gt && (ye.defaultSampleFlags = We.getUint32(ln)), Kt && (ye.durationIsEmpty = !0), !et && Qt && (ye.baseDataOffsetIsMoof = !0), ye;
|
|
411007
411011
|
}, Wi = Ml, kc = function(Ie) {
|
|
411008
411012
|
return {
|
|
411009
411013
|
isLeading: (Ie[0] & 12) >>> 2,
|
|
@@ -411019,11 +411023,11 @@ browserWorkerPolyFill(self);
|
|
|
411019
411023
|
version: Ie[0],
|
|
411020
411024
|
flags: new Uint8Array(Ie.subarray(1, 4)),
|
|
411021
411025
|
samples: []
|
|
411022
|
-
}, ye = new DataView(Ie.buffer, Ie.byteOffset, Ie.byteLength), et = We.flags[2] & 1, ut = We.flags[2] & 4, pt = We.flags[1] & 1, $t = We.flags[1] & 2, Gt = We.flags[1] & 4, Kt = We.flags[1] & 8, Qt = ye.getUint32(4),
|
|
411023
|
-
for (et && (We.dataOffset = ye.getInt32(
|
|
411024
|
-
flags: ed(Ie.subarray(
|
|
411025
|
-
},
|
|
411026
|
-
An = {}, pt && (An.duration = ye.getUint32(
|
|
411026
|
+
}, ye = new DataView(Ie.buffer, Ie.byteOffset, Ie.byteLength), et = We.flags[2] & 1, ut = We.flags[2] & 4, pt = We.flags[1] & 1, $t = We.flags[1] & 2, Gt = We.flags[1] & 4, Kt = We.flags[1] & 8, Qt = ye.getUint32(4), ln = 8, An;
|
|
411027
|
+
for (et && (We.dataOffset = ye.getInt32(ln), ln += 4), ut && Qt && (An = {
|
|
411028
|
+
flags: ed(Ie.subarray(ln, ln + 4))
|
|
411029
|
+
}, ln += 4, pt && (An.duration = ye.getUint32(ln), ln += 4), $t && (An.size = ye.getUint32(ln), ln += 4), Kt && (We.version === 1 ? An.compositionTimeOffset = ye.getInt32(ln) : An.compositionTimeOffset = ye.getUint32(ln), ln += 4), We.samples.push(An), Qt--); Qt--; )
|
|
411030
|
+
An = {}, pt && (An.duration = ye.getUint32(ln), ln += 4), $t && (An.size = ye.getUint32(ln), ln += 4), Gt && (An.flags = ed(Ie.subarray(ln, ln + 4)), ln += 4), Kt && (We.version === 1 ? An.compositionTimeOffset = ye.getInt32(ln) : An.compositionTimeOffset = ye.getUint32(ln), ln += 4), We.samples.push(An);
|
|
411027
411031
|
return We;
|
|
411028
411032
|
}, yr = ti, vn = {
|
|
411029
411033
|
tfdt: sa,
|
|
@@ -411038,7 +411042,7 @@ browserWorkerPolyFill(self);
|
|
|
411038
411042
|
}, Bc = {
|
|
411039
411043
|
uint8ToCString: Bn
|
|
411040
411044
|
}, Ni = Bc.uint8ToCString, Qs = a.getUint64, Qr = function(Ie) {
|
|
411041
|
-
var We = 4, ye = Ie[0], et, ut, pt, $t, Gt, Kt, Qt,
|
|
411045
|
+
var We = 4, ye = Ie[0], et, ut, pt, $t, Gt, Kt, Qt, ln;
|
|
411042
411046
|
if (ye === 0) {
|
|
411043
411047
|
et = Ni(Ie.subarray(We)), We += et.length, ut = Ni(Ie.subarray(We)), We += ut.length;
|
|
411044
411048
|
var An = new DataView(Ie.buffer);
|
|
@@ -411047,7 +411051,7 @@ browserWorkerPolyFill(self);
|
|
|
411047
411051
|
var An = new DataView(Ie.buffer);
|
|
411048
411052
|
pt = An.getUint32(We), We += 4, $t = Qs(Ie.subarray(We)), We += 8, Kt = An.getUint32(We), We += 4, Qt = An.getUint32(We), We += 4, et = Ni(Ie.subarray(We)), We += et.length, ut = Ni(Ie.subarray(We)), We += ut.length;
|
|
411049
411053
|
}
|
|
411050
|
-
|
|
411054
|
+
ln = new Uint8Array(Ie.subarray(We, Ie.byteLength));
|
|
411051
411055
|
var Qn = {
|
|
411052
411056
|
scheme_id_uri: et,
|
|
411053
411057
|
value: ut,
|
|
@@ -411057,7 +411061,7 @@ browserWorkerPolyFill(self);
|
|
|
411057
411061
|
presentation_time_delta: Gt,
|
|
411058
411062
|
event_duration: Kt,
|
|
411059
411063
|
id: Qt,
|
|
411060
|
-
message_data:
|
|
411064
|
+
message_data: ln
|
|
411061
411065
|
};
|
|
411062
411066
|
return Wr(ye, Qn) ? Qn : void 0;
|
|
411063
411067
|
}, jo = function(Ie, We, ye, et) {
|
|
@@ -411083,8 +411087,8 @@ browserWorkerPolyFill(self);
|
|
|
411083
411087
|
var ye;
|
|
411084
411088
|
ye = C(We, ["moof", "traf"]);
|
|
411085
411089
|
var et = ye.reduce(function(ut, pt) {
|
|
411086
|
-
var $t = C(pt, ["tfhd"])[0], Gt = b($t[4] << 24 | $t[5] << 16 | $t[6] << 8 | $t[7]), Kt = Ie[Gt] || 9e4, Qt = C(pt, ["tfdt"])[0],
|
|
411087
|
-
Qt[0] === 1 ? An = Z(Qt.subarray(4, 12)) : An =
|
|
411090
|
+
var $t = C(pt, ["tfhd"])[0], Gt = b($t[4] << 24 | $t[5] << 16 | $t[6] << 8 | $t[7]), Kt = Ie[Gt] || 9e4, Qt = C(pt, ["tfdt"])[0], ln = new DataView(Qt.buffer, Qt.byteOffset, Qt.byteLength), An;
|
|
411091
|
+
Qt[0] === 1 ? An = Z(Qt.subarray(4, 12)) : An = ln.getUint32(4);
|
|
411088
411092
|
let Qn;
|
|
411089
411093
|
return typeof An == "bigint" ? Qn = An / _e.BigInt(Kt) : typeof An == "number" && !isNaN(An) && (Qn = An / Kt), Qn < Number.MAX_SAFE_INTEGER && (Qn = Number(Qn)), Qn < ut && (ut = Qn), ut;
|
|
411090
411094
|
}, 1 / 0);
|
|
@@ -411098,8 +411102,8 @@ browserWorkerPolyFill(self);
|
|
|
411098
411102
|
pt = Qt.trackId;
|
|
411099
411103
|
}
|
|
411100
411104
|
if (Kt) {
|
|
411101
|
-
var
|
|
411102
|
-
et =
|
|
411105
|
+
var ln = ie(Kt);
|
|
411106
|
+
et = ln.baseMediaDecodeTime;
|
|
411103
411107
|
}
|
|
411104
411108
|
if (Gt) {
|
|
411105
411109
|
var An = ae(Gt);
|
|
@@ -411115,8 +411119,8 @@ browserWorkerPolyFill(self);
|
|
|
411115
411119
|
return We.forEach(function(et) {
|
|
411116
411120
|
var ut = C(et, ["mdia", "hdlr"]), pt = C(et, ["tkhd"]);
|
|
411117
411121
|
ut.forEach(function($t, Gt) {
|
|
411118
|
-
var Kt = A($t.subarray(8, 12)), Qt = pt[Gt],
|
|
411119
|
-
Kt === "vide" && (
|
|
411122
|
+
var Kt = A($t.subarray(8, 12)), Qt = pt[Gt], ln, An, Qn;
|
|
411123
|
+
Kt === "vide" && (ln = new DataView(Qt.buffer, Qt.byteOffset, Qt.byteLength), An = ln.getUint8(0), Qn = An === 0 ? ln.getUint32(12) : ln.getUint32(20), ye.push(Qn));
|
|
411120
411124
|
});
|
|
411121
411125
|
}), ye;
|
|
411122
411126
|
}, ue = function(Ie) {
|
|
@@ -411132,9 +411136,9 @@ browserWorkerPolyFill(self);
|
|
|
411132
411136
|
var Qt = A(Kt.subarray(8, 12));
|
|
411133
411137
|
Qt === "vide" ? ut.type = "video" : Qt === "soun" ? ut.type = "audio" : ut.type = Qt;
|
|
411134
411138
|
}
|
|
411135
|
-
var
|
|
411136
|
-
if (
|
|
411137
|
-
var An =
|
|
411139
|
+
var ln = C(et, ["mdia", "minf", "stbl", "stsd"])[0];
|
|
411140
|
+
if (ln) {
|
|
411141
|
+
var An = ln.subarray(8);
|
|
411138
411142
|
ut.codec = A(An.subarray(4, 8));
|
|
411139
411143
|
var Qn = C(An, [ut.codec])[0], Fn, zo;
|
|
411140
411144
|
Qn && (/^[asm]vc[1-9]$/i.test(ut.codec) ? (Fn = Qn.subarray(78), zo = A(Fn.subarray(4, 8)), zo === "avcC" && Fn.length > 11 ? (ut.codec += ".", ut.codec += _(Fn[9]), ut.codec += _(Fn[10]), ut.codec += _(Fn[11])) : ut.codec = "avc1.4d400d") : /^mp4[a,v]$/i.test(ut.codec) ? (Fn = Qn.subarray(28), zo = A(Fn.subarray(4, 8)), zo === "esds" && Fn.length > 20 && Fn[19] !== 0 ? (ut.codec += "." + _(Fn[19]), ut.codec += "." + _(Fn[20] >>> 2 & 63).replace(/^0/, "")) : ut.codec = "mp4a.40.2") : ut.codec = ut.codec.toLowerCase());
|
|
@@ -411182,10 +411186,10 @@ browserWorkerPolyFill(self);
|
|
|
411182
411186
|
}, at = function(Ie, We, ye) {
|
|
411183
411187
|
var et = We, ut = ye.defaultSampleDuration || 0, pt = ye.defaultSampleSize || 0, $t = ye.trackId, Gt = [];
|
|
411184
411188
|
return Ie.forEach(function(Kt) {
|
|
411185
|
-
var Qt = ze(Kt),
|
|
411186
|
-
|
|
411189
|
+
var Qt = ze(Kt), ln = Qt.samples;
|
|
411190
|
+
ln.forEach(function(An) {
|
|
411187
411191
|
An.duration === void 0 && (An.duration = ut), An.size === void 0 && (An.size = pt), An.trackId = $t, An.dts = et, An.compositionTimeOffset === void 0 && (An.compositionTimeOffset = 0), typeof et == "bigint" ? (An.pts = et + He.BigInt(An.compositionTimeOffset), et += He.BigInt(An.duration)) : (An.pts = et + An.compositionTimeOffset, et += An.duration);
|
|
411188
|
-
}), Gt = Gt.concat(
|
|
411192
|
+
}), Gt = Gt.concat(ln);
|
|
411189
411193
|
}), Gt;
|
|
411190
411194
|
}, Ge = {
|
|
411191
411195
|
getMdatTrafPairs: Ze,
|
|
@@ -411210,15 +411214,15 @@ browserWorkerPolyFill(self);
|
|
|
411210
411214
|
if (Gt = et.getUint32($t), $t += 4, !(Gt <= 0))
|
|
411211
411215
|
switch (Ie[$t] & 31) {
|
|
411212
411216
|
case 6:
|
|
411213
|
-
var Qt = Ie.subarray($t + 1, $t + 1 + Gt),
|
|
411217
|
+
var Qt = Ie.subarray($t + 1, $t + 1 + Gt), ln = kn($t, We);
|
|
411214
411218
|
if (pt = {
|
|
411215
411219
|
nalUnitType: "sei_rbsp",
|
|
411216
411220
|
size: Gt,
|
|
411217
411221
|
data: Qt,
|
|
411218
411222
|
escapedRBSP: lt(Qt),
|
|
411219
411223
|
trackId: ye
|
|
411220
|
-
},
|
|
411221
|
-
pt.pts =
|
|
411224
|
+
}, ln)
|
|
411225
|
+
pt.pts = ln.pts, pt.dts = ln.dts, Kt = ln;
|
|
411222
411226
|
else if (Kt)
|
|
411223
411227
|
pt.pts = Kt.pts, pt.dts = Kt.dts;
|
|
411224
411228
|
else {
|
|
@@ -411235,7 +411239,7 @@ browserWorkerPolyFill(self);
|
|
|
411235
411239
|
}, $n = function(Ie, We) {
|
|
411236
411240
|
var ye = {}, et = Ot(Ie);
|
|
411237
411241
|
return et.forEach(function(ut) {
|
|
411238
|
-
var pt = ut.mdat, $t = ut.traf, Gt = Nt($t, ["tfhd"]), Kt = Ln(Gt[0]), Qt = Kt.trackId,
|
|
411242
|
+
var pt = ut.mdat, $t = ut.traf, Gt = Nt($t, ["tfhd"]), Kt = Ln(Gt[0]), Qt = Kt.trackId, ln = Nt($t, ["tfdt"]), An = ln.length > 0 ? Lt(ln[0]).baseMediaDecodeTime : 0, Qn = Nt($t, ["trun"]), Fn, zo;
|
|
411239
411243
|
We === Qt && Qn.length > 0 && (Fn = Dn(Qn, An, Kt), zo = Fa(pt, Fn, Qt), ye[Qt] || (ye[Qt] = {
|
|
411240
411244
|
seiNals: [],
|
|
411241
411245
|
logs: []
|
|
@@ -411265,7 +411269,7 @@ browserWorkerPolyFill(self);
|
|
|
411265
411269
|
}, this.isNewInit = function(Gt, Kt) {
|
|
411266
411270
|
return Gt && Gt.length === 0 || Kt && typeof Kt == "object" && Object.keys(Kt).length === 0 ? !1 : et !== Gt[0] || ut !== Kt[et];
|
|
411267
411271
|
}, this.parse = function(Gt, Kt, Qt) {
|
|
411268
|
-
var
|
|
411272
|
+
var ln;
|
|
411269
411273
|
if (this.isInitialized()) {
|
|
411270
411274
|
if (!Kt || !Qt)
|
|
411271
411275
|
return null;
|
|
@@ -411278,11 +411282,11 @@ browserWorkerPolyFill(self);
|
|
|
411278
411282
|
var An = ye.shift();
|
|
411279
411283
|
this.parse(An, Kt, Qt);
|
|
411280
411284
|
}
|
|
411281
|
-
return
|
|
411285
|
+
return ln = Gr(Gt, et, ut), ln && ln.logs && (pt.logs = pt.logs.concat(ln.logs)), ln === null || !ln.seiNals ? pt.logs.length ? {
|
|
411282
411286
|
logs: pt.logs,
|
|
411283
411287
|
captions: [],
|
|
411284
411288
|
captionStreams: []
|
|
411285
|
-
} : null : (this.pushNals(
|
|
411289
|
+
} : null : (this.pushNals(ln.seiNals), this.flushStream(), pt);
|
|
411286
411290
|
}, this.pushNals = function(Gt) {
|
|
411287
411291
|
if (!this.isInitialized() || !Gt || Gt.length === 0)
|
|
411288
411292
|
return null;
|
|
@@ -411327,9 +411331,9 @@ browserWorkerPolyFill(self);
|
|
|
411327
411331
|
const ye = [], et = r_(We);
|
|
411328
411332
|
let ut = 0;
|
|
411329
411333
|
return et.forEach(function(pt) {
|
|
411330
|
-
const $t = pt.mdat, Gt = pt.traf, Kt = $m(Gt, ["tfdt"])[0], Qt = $m(Gt, ["tfhd"])[0],
|
|
411331
|
-
if (Kt && (ut = n_(Kt).baseMediaDecodeTime),
|
|
411332
|
-
const An = Im(
|
|
411334
|
+
const $t = pt.mdat, Gt = pt.traf, Kt = $m(Gt, ["tfdt"])[0], Qt = $m(Gt, ["tfhd"])[0], ln = $m(Gt, ["trun"]);
|
|
411335
|
+
if (Kt && (ut = n_(Kt).baseMediaDecodeTime), ln.length && Qt) {
|
|
411336
|
+
const An = Im(ln, ut, Qt);
|
|
411333
411337
|
let Qn = 0;
|
|
411334
411338
|
An.forEach(function(Fn) {
|
|
411335
411339
|
const zo = "utf-8", ci = new TextDecoder(zo), yi = $t.slice(Qn, Qn + Fn.size);
|
|
@@ -411468,7 +411472,7 @@ browserWorkerPolyFill(self);
|
|
|
411468
411472
|
videoPacketContainsKeyFrame: Fe
|
|
411469
411473
|
}, gt = zr, St = Kr.handleRollover, Rt = {};
|
|
411470
411474
|
Rt.ts = it, Rt.aac = Xs;
|
|
411471
|
-
var Wt =
|
|
411475
|
+
var Wt = sn.ONE_SECOND_IN_TS, Jt = 188, en = 71, yn = function(Ie, We) {
|
|
411472
411476
|
for (var ye = 0, et = Jt, ut, pt; et < Ie.byteLength; ) {
|
|
411473
411477
|
if (Ie[ye] === en && Ie[et] === en) {
|
|
411474
411478
|
switch (ut = Ie.subarray(ye, et), pt = Rt.ts.parseType(ut, We.pid), pt) {
|
|
@@ -411488,28 +411492,28 @@ browserWorkerPolyFill(self);
|
|
|
411488
411492
|
ye++, et++;
|
|
411489
411493
|
}
|
|
411490
411494
|
}, On = function(Ie, We, ye) {
|
|
411491
|
-
for (var et = 0, ut = Jt, pt, $t, Gt, Kt, Qt,
|
|
411495
|
+
for (var et = 0, ut = Jt, pt, $t, Gt, Kt, Qt, ln = !1; ut <= Ie.byteLength; ) {
|
|
411492
411496
|
if (Ie[et] === en && (Ie[ut] === en || ut === Ie.byteLength)) {
|
|
411493
411497
|
switch (pt = Ie.subarray(et, ut), $t = Rt.ts.parseType(pt, We.pid), $t) {
|
|
411494
411498
|
case "pes":
|
|
411495
|
-
Gt = Rt.ts.parsePesType(pt, We.table), Kt = Rt.ts.parsePayloadUnitStartIndicator(pt), Gt === "audio" && Kt && (Qt = Rt.ts.parsePesTime(pt), Qt && (Qt.type = "audio", ye.audio.push(Qt),
|
|
411499
|
+
Gt = Rt.ts.parsePesType(pt, We.table), Kt = Rt.ts.parsePayloadUnitStartIndicator(pt), Gt === "audio" && Kt && (Qt = Rt.ts.parsePesTime(pt), Qt && (Qt.type = "audio", ye.audio.push(Qt), ln = !0));
|
|
411496
411500
|
break;
|
|
411497
411501
|
}
|
|
411498
|
-
if (
|
|
411502
|
+
if (ln)
|
|
411499
411503
|
break;
|
|
411500
411504
|
et += Jt, ut += Jt;
|
|
411501
411505
|
continue;
|
|
411502
411506
|
}
|
|
411503
411507
|
et++, ut++;
|
|
411504
411508
|
}
|
|
411505
|
-
for (ut = Ie.byteLength, et = ut - Jt,
|
|
411509
|
+
for (ut = Ie.byteLength, et = ut - Jt, ln = !1; et >= 0; ) {
|
|
411506
411510
|
if (Ie[et] === en && (Ie[ut] === en || ut === Ie.byteLength)) {
|
|
411507
411511
|
switch (pt = Ie.subarray(et, ut), $t = Rt.ts.parseType(pt, We.pid), $t) {
|
|
411508
411512
|
case "pes":
|
|
411509
|
-
Gt = Rt.ts.parsePesType(pt, We.table), Kt = Rt.ts.parsePayloadUnitStartIndicator(pt), Gt === "audio" && Kt && (Qt = Rt.ts.parsePesTime(pt), Qt && (Qt.type = "audio", ye.audio.push(Qt),
|
|
411513
|
+
Gt = Rt.ts.parsePesType(pt, We.table), Kt = Rt.ts.parsePayloadUnitStartIndicator(pt), Gt === "audio" && Kt && (Qt = Rt.ts.parsePesTime(pt), Qt && (Qt.type = "audio", ye.audio.push(Qt), ln = !0));
|
|
411510
411514
|
break;
|
|
411511
411515
|
}
|
|
411512
|
-
if (
|
|
411516
|
+
if (ln)
|
|
411513
411517
|
break;
|
|
411514
411518
|
et -= Jt, ut -= Jt;
|
|
411515
411519
|
continue;
|
|
@@ -411517,7 +411521,7 @@ browserWorkerPolyFill(self);
|
|
|
411517
411521
|
et--, ut--;
|
|
411518
411522
|
}
|
|
411519
411523
|
}, Cn = function(Ie, We, ye) {
|
|
411520
|
-
for (var et = 0, ut = Jt, pt, $t, Gt, Kt, Qt,
|
|
411524
|
+
for (var et = 0, ut = Jt, pt, $t, Gt, Kt, Qt, ln, An, Qn, Fn = !1, zo = {
|
|
411521
411525
|
data: [],
|
|
411522
411526
|
size: 0
|
|
411523
411527
|
}; ut < Ie.byteLength; ) {
|
|
@@ -411526,10 +411530,10 @@ browserWorkerPolyFill(self);
|
|
|
411526
411530
|
case "pes":
|
|
411527
411531
|
if (Gt = Rt.ts.parsePesType(pt, We.table), Kt = Rt.ts.parsePayloadUnitStartIndicator(pt), Gt === "video" && (Kt && !Fn && (Qt = Rt.ts.parsePesTime(pt), Qt && (Qt.type = "video", ye.video.push(Qt), Fn = !0)), !ye.firstKeyFrame)) {
|
|
411528
411532
|
if (Kt && zo.size !== 0) {
|
|
411529
|
-
for (
|
|
411530
|
-
Qn = zo.data.shift(),
|
|
411531
|
-
if (Rt.ts.videoPacketContainsKeyFrame(
|
|
411532
|
-
var ci = Rt.ts.parsePesTime(
|
|
411533
|
+
for (ln = new Uint8Array(zo.size), An = 0; zo.data.length; )
|
|
411534
|
+
Qn = zo.data.shift(), ln.set(Qn, An), An += Qn.byteLength;
|
|
411535
|
+
if (Rt.ts.videoPacketContainsKeyFrame(ln)) {
|
|
411536
|
+
var ci = Rt.ts.parsePesTime(ln);
|
|
411533
411537
|
ci ? (ye.firstKeyFrame = ci, ye.firstKeyFrame.type = "video") : console.warn("Failed to extract PTS/DTS from PES at first keyframe. This could be an unusual TS segment, or else mux.js did not parse your TS segment correctly. If you know your TS segments do contain PTS/DTS on keyframes please file a bug report! You can try ffprobe to double check for yourself.");
|
|
411534
411538
|
}
|
|
411535
411539
|
zo.size = 0;
|
|
@@ -411610,7 +411614,7 @@ browserWorkerPolyFill(self);
|
|
|
411610
411614
|
}
|
|
411611
411615
|
if (et === null || ut === null)
|
|
411612
411616
|
return null;
|
|
411613
|
-
var Qt = Wt / et,
|
|
411617
|
+
var Qt = Wt / et, ln = {
|
|
411614
411618
|
audio: [{
|
|
411615
411619
|
type: "audio",
|
|
411616
411620
|
dts: ut,
|
|
@@ -411621,7 +411625,7 @@ browserWorkerPolyFill(self);
|
|
|
411621
411625
|
pts: ut + ye * 1024 * Qt
|
|
411622
411626
|
}]
|
|
411623
411627
|
};
|
|
411624
|
-
return
|
|
411628
|
+
return ln;
|
|
411625
411629
|
}, Tn = function(Ie) {
|
|
411626
411630
|
var We = {
|
|
411627
411631
|
pid: null,
|
|
@@ -411675,32 +411679,32 @@ browserWorkerPolyFill(self);
|
|
|
411675
411679
|
}), We.on("videoSegmentTimingInfo", function(ye) {
|
|
411676
411680
|
const et = {
|
|
411677
411681
|
start: {
|
|
411678
|
-
decode:
|
|
411679
|
-
presentation:
|
|
411682
|
+
decode: sn.videoTsToSeconds(ye.start.dts),
|
|
411683
|
+
presentation: sn.videoTsToSeconds(ye.start.pts)
|
|
411680
411684
|
},
|
|
411681
411685
|
end: {
|
|
411682
|
-
decode:
|
|
411683
|
-
presentation:
|
|
411686
|
+
decode: sn.videoTsToSeconds(ye.end.dts),
|
|
411687
|
+
presentation: sn.videoTsToSeconds(ye.end.pts)
|
|
411684
411688
|
},
|
|
411685
|
-
baseMediaDecodeTime:
|
|
411689
|
+
baseMediaDecodeTime: sn.videoTsToSeconds(ye.baseMediaDecodeTime)
|
|
411686
411690
|
};
|
|
411687
|
-
ye.prependedContentDuration && (et.prependedContentDuration =
|
|
411691
|
+
ye.prependedContentDuration && (et.prependedContentDuration = sn.videoTsToSeconds(ye.prependedContentDuration)), Ie.postMessage({
|
|
411688
411692
|
action: "videoSegmentTimingInfo",
|
|
411689
411693
|
videoSegmentTimingInfo: et
|
|
411690
411694
|
});
|
|
411691
411695
|
}), We.on("audioSegmentTimingInfo", function(ye) {
|
|
411692
411696
|
const et = {
|
|
411693
411697
|
start: {
|
|
411694
|
-
decode:
|
|
411695
|
-
presentation:
|
|
411698
|
+
decode: sn.videoTsToSeconds(ye.start.dts),
|
|
411699
|
+
presentation: sn.videoTsToSeconds(ye.start.pts)
|
|
411696
411700
|
},
|
|
411697
411701
|
end: {
|
|
411698
|
-
decode:
|
|
411699
|
-
presentation:
|
|
411702
|
+
decode: sn.videoTsToSeconds(ye.end.dts),
|
|
411703
|
+
presentation: sn.videoTsToSeconds(ye.end.pts)
|
|
411700
411704
|
},
|
|
411701
|
-
baseMediaDecodeTime:
|
|
411705
|
+
baseMediaDecodeTime: sn.videoTsToSeconds(ye.baseMediaDecodeTime)
|
|
411702
411706
|
};
|
|
411703
|
-
ye.prependedContentDuration && (et.prependedContentDuration =
|
|
411707
|
+
ye.prependedContentDuration && (et.prependedContentDuration = sn.videoTsToSeconds(ye.prependedContentDuration)), Ie.postMessage({
|
|
411704
411708
|
action: "audioSegmentTimingInfo",
|
|
411705
411709
|
audioSegmentTimingInfo: et
|
|
411706
411710
|
});
|
|
@@ -411723,16 +411727,16 @@ browserWorkerPolyFill(self);
|
|
|
411723
411727
|
Ie.postMessage({
|
|
411724
411728
|
action: "audioTimingInfo",
|
|
411725
411729
|
audioTimingInfo: {
|
|
411726
|
-
start:
|
|
411727
|
-
end:
|
|
411730
|
+
start: sn.videoTsToSeconds(ye.start),
|
|
411731
|
+
end: sn.videoTsToSeconds(ye.end)
|
|
411728
411732
|
}
|
|
411729
411733
|
});
|
|
411730
411734
|
}), We.on("videoTimingInfo", function(ye) {
|
|
411731
411735
|
Ie.postMessage({
|
|
411732
411736
|
action: "videoTimingInfo",
|
|
411733
411737
|
videoTimingInfo: {
|
|
411734
|
-
start:
|
|
411735
|
-
end:
|
|
411738
|
+
start: sn.videoTsToSeconds(ye.start),
|
|
411739
|
+
end: sn.videoTsToSeconds(ye.end)
|
|
411736
411740
|
}
|
|
411737
411741
|
});
|
|
411738
411742
|
}), We.on("log", function(ye) {
|
|
@@ -411844,7 +411848,7 @@ browserWorkerPolyFill(self);
|
|
|
411844
411848
|
data: We,
|
|
411845
411849
|
baseStartTime: ye
|
|
411846
411850
|
}) {
|
|
411847
|
-
const et = typeof ye == "number" && !isNaN(ye) ? ye *
|
|
411851
|
+
const et = typeof ye == "number" && !isNaN(ye) ? ye * sn.ONE_SECOND_IN_TS : void 0, ut = er.inspect(We, et);
|
|
411848
411852
|
let pt = null;
|
|
411849
411853
|
ut && (pt = {
|
|
411850
411854
|
// each type's time info comes back as an array of 2 times, start and end
|
|
@@ -411888,10 +411892,10 @@ browserWorkerPolyFill(self);
|
|
|
411888
411892
|
*/
|
|
411889
411893
|
setTimestampOffset(We) {
|
|
411890
411894
|
const ye = We.timestampOffset || 0;
|
|
411891
|
-
this.transmuxer.setBaseMediaDecodeTime(Math.round(
|
|
411895
|
+
this.transmuxer.setBaseMediaDecodeTime(Math.round(sn.secondsToVideoTs(ye)));
|
|
411892
411896
|
}
|
|
411893
411897
|
setAudioAppendStart(We) {
|
|
411894
|
-
this.transmuxer.setAudioAppendStart(Math.ceil(
|
|
411898
|
+
this.transmuxer.setAudioAppendStart(Math.ceil(sn.secondsToVideoTs(We.appendStart)));
|
|
411895
411899
|
}
|
|
411896
411900
|
setRemux(We) {
|
|
411897
411901
|
this.transmuxer.setRemux(We.remux);
|
|
@@ -412786,7 +412790,7 @@ const zq = function(e) {
|
|
|
412786
412790
|
}, Wq = function(e, t) {
|
|
412787
412791
|
if (!e)
|
|
412788
412792
|
return "";
|
|
412789
|
-
const n =
|
|
412793
|
+
const n = un.getComputedStyle(e);
|
|
412790
412794
|
return n ? n[t] : "";
|
|
412791
412795
|
}, qq = function(e, t) {
|
|
412792
412796
|
const n = e.slice();
|
|
@@ -412796,10 +412800,10 @@ const zq = function(e) {
|
|
|
412796
412800
|
});
|
|
412797
412801
|
}, z1t = function(e, t) {
|
|
412798
412802
|
let n, r;
|
|
412799
|
-
return e.attributes.BANDWIDTH && (n = e.attributes.BANDWIDTH), n = n ||
|
|
412803
|
+
return e.attributes.BANDWIDTH && (n = e.attributes.BANDWIDTH), n = n || un.Number.MAX_VALUE, t.attributes.BANDWIDTH && (r = t.attributes.BANDWIDTH), r = r || un.Number.MAX_VALUE, n - r;
|
|
412800
412804
|
}, zNi = function(e, t) {
|
|
412801
412805
|
let n, r;
|
|
412802
|
-
return e.attributes.RESOLUTION && e.attributes.RESOLUTION.width && (n = e.attributes.RESOLUTION.width), n = n ||
|
|
412806
|
+
return e.attributes.RESOLUTION && e.attributes.RESOLUTION.width && (n = e.attributes.RESOLUTION.width), n = n || un.Number.MAX_VALUE, t.attributes.RESOLUTION && t.attributes.RESOLUTION.width && (r = t.attributes.RESOLUTION.width), r = r || un.Number.MAX_VALUE, n === r && e.attributes.BANDWIDTH && t.attributes.BANDWIDTH ? e.attributes.BANDWIDTH - t.attributes.BANDWIDTH : n - r;
|
|
412803
412807
|
};
|
|
412804
412808
|
let rZn = function(e) {
|
|
412805
412809
|
const {
|
|
@@ -412824,7 +412828,7 @@ let rZn = function(e) {
|
|
|
412824
412828
|
let d = u.map((O) => {
|
|
412825
412829
|
let R;
|
|
412826
412830
|
const I = O.attributes && O.attributes.RESOLUTION && O.attributes.RESOLUTION.width, $ = O.attributes && O.attributes.RESOLUTION && O.attributes.RESOLUTION.height;
|
|
412827
|
-
return R = O.attributes && O.attributes.BANDWIDTH, R = R ||
|
|
412831
|
+
return R = O.attributes && O.attributes.BANDWIDTH, R = R || un.Number.MAX_VALUE, {
|
|
412828
412832
|
bandwidth: R,
|
|
412829
412833
|
width: I,
|
|
412830
412834
|
height: $,
|
|
@@ -412865,7 +412869,7 @@ let rZn = function(e) {
|
|
|
412865
412869
|
return l1e("could not choose a playlist with options", l), null;
|
|
412866
412870
|
};
|
|
412867
412871
|
const Etn = function() {
|
|
412868
|
-
let e = this.useDevicePixelRatio &&
|
|
412872
|
+
let e = this.useDevicePixelRatio && un.devicePixelRatio || 1;
|
|
412869
412873
|
return isNaN(this.customPixelRatio) || (e = this.customPixelRatio), rZn({
|
|
412870
412874
|
main: this.playlists.main,
|
|
412871
412875
|
bandwidth: this.systemBandwidth,
|
|
@@ -412880,7 +412884,7 @@ const Etn = function() {
|
|
|
412880
412884
|
if (e < 0 || e > 1)
|
|
412881
412885
|
throw new Error("Moving average bandwidth decay must be between 0 and 1.");
|
|
412882
412886
|
return function() {
|
|
412883
|
-
let r = this.useDevicePixelRatio &&
|
|
412887
|
+
let r = this.useDevicePixelRatio && un.devicePixelRatio || 1;
|
|
412884
412888
|
return isNaN(this.customPixelRatio) || (r = this.customPixelRatio), t < 0 && (t = this.systemBandwidth, n = this.systemBandwidth), this.systemBandwidth > 0 && this.systemBandwidth !== n && (t = e * this.systemBandwidth + (1 - e) * t, n = this.systemBandwidth), rZn({
|
|
412885
412889
|
main: this.playlists.main,
|
|
412886
412890
|
bandwidth: t,
|
|
@@ -412960,7 +412964,7 @@ const YNi = function(e, t, n) {
|
|
|
412960
412964
|
}) {
|
|
412961
412965
|
if (!t)
|
|
412962
412966
|
return;
|
|
412963
|
-
const r =
|
|
412967
|
+
const r = un.WebKitDataCue || un.VTTCue;
|
|
412964
412968
|
t.forEach((o) => {
|
|
412965
412969
|
const a = o.stream;
|
|
412966
412970
|
o.content ? o.content.forEach((i) => {
|
|
@@ -412994,10 +412998,10 @@ const YNi = function(e, t, n) {
|
|
|
412994
412998
|
}) => {
|
|
412995
412999
|
if (!t)
|
|
412996
413000
|
return;
|
|
412997
|
-
const o =
|
|
413001
|
+
const o = un.WebKitDataCue || un.VTTCue, a = e.metadataTrack_;
|
|
412998
413002
|
if (!a || (t.forEach((d) => {
|
|
412999
413003
|
const f = d.cueTime + n;
|
|
413000
|
-
typeof f != "number" ||
|
|
413004
|
+
typeof f != "number" || un.isNaN(f) || f < 0 || !(f < 1 / 0) || !d.frames || !d.frames.length || d.frames.forEach((m) => {
|
|
413001
413005
|
const p = new o(f, f, m.value || m.url || m.data || "");
|
|
413002
413006
|
p.frame = m, p.value = m, XNi(p), a.addCue(p);
|
|
413003
413007
|
});
|
|
@@ -413033,7 +413037,7 @@ const YNi = function(e, t, n) {
|
|
|
413033
413037
|
const n = e.metadataTrack_;
|
|
413034
413038
|
if (!n)
|
|
413035
413039
|
return;
|
|
413036
|
-
const r =
|
|
413040
|
+
const r = un.WebKitDataCue || un.VTTCue;
|
|
413037
413041
|
t.forEach((o) => {
|
|
413038
413042
|
for (const a of Object.keys(o)) {
|
|
413039
413043
|
if (eMi.has(a))
|
|
@@ -413216,7 +413220,7 @@ const YNi = function(e, t, n) {
|
|
|
413216
413220
|
end: a
|
|
413217
413221
|
} = r;
|
|
413218
413222
|
let i;
|
|
413219
|
-
typeof o == "bigint" || typeof a == "bigint" ? i =
|
|
413223
|
+
typeof o == "bigint" || typeof a == "bigint" ? i = un.BigInt(a) - un.BigInt(o) : typeof o == "number" && typeof a == "number" && (i = a - o), typeof i < "u" && i > t && (t = i);
|
|
413220
413224
|
}), typeof t == "bigint" && t < Number.MAX_SAFE_INTEGER && (t = Number(t)), t;
|
|
413221
413225
|
}, Ttn = ({
|
|
413222
413226
|
segmentDuration: e,
|
|
@@ -413335,7 +413339,7 @@ class Bst extends In.EventTarget {
|
|
|
413335
413339
|
* dispose of the SegmentLoader and reset to the default state
|
|
413336
413340
|
*/
|
|
413337
413341
|
dispose() {
|
|
413338
|
-
this.trigger("dispose"), this.state = "DISPOSED", this.pause(), this.abort_(), this.transmuxer_ && this.transmuxer_.terminate(), this.resetStats_(), this.checkBufferTimeout_ &&
|
|
413342
|
+
this.trigger("dispose"), this.state = "DISPOSED", this.pause(), this.abort_(), this.transmuxer_ && this.transmuxer_.terminate(), this.resetStats_(), this.checkBufferTimeout_ && un.clearTimeout(this.checkBufferTimeout_), this.syncController_ && this.triggerSyncInfoUpdate_ && this.syncController_.off("syncinfoupdate", this.triggerSyncInfoUpdate_), this.off();
|
|
413339
413343
|
}
|
|
413340
413344
|
setAudio(t) {
|
|
413341
413345
|
this.audioDisabled_ = !t, t ? this.appendInitSegment_.audio = !0 : this.sourceUpdater_.removeAudio(0, this.duration_());
|
|
@@ -413357,7 +413361,7 @@ class Bst extends In.EventTarget {
|
|
|
413357
413361
|
* @private
|
|
413358
413362
|
*/
|
|
413359
413363
|
abort_() {
|
|
413360
|
-
this.pendingSegment_ && this.pendingSegment_.abortRequests && this.pendingSegment_.abortRequests(), this.pendingSegment_ = null, this.callQueue_ = [], this.loadQueue_ = [], this.metadataQueue_.id3 = [], this.metadataQueue_.caption = [], this.timelineChangeController_.clearPendingTimelineChange(this.loaderType_), this.waitingOnRemove_ = !1,
|
|
413364
|
+
this.pendingSegment_ && this.pendingSegment_.abortRequests && this.pendingSegment_.abortRequests(), this.pendingSegment_ = null, this.callQueue_ = [], this.loadQueue_ = [], this.metadataQueue_.id3 = [], this.metadataQueue_.caption = [], this.timelineChangeController_.clearPendingTimelineChange(this.loaderType_), this.waitingOnRemove_ = !1, un.clearTimeout(this.quotaExceededErrorRetryTimeout_), this.quotaExceededErrorRetryTimeout_ = null;
|
|
413361
413365
|
}
|
|
413362
413366
|
checkForAbort_(t) {
|
|
413363
413367
|
return this.state === "APPENDING" && !this.pendingSegment_ ? (this.state = "READY", !0) : !this.pendingSegment_ || this.pendingSegment_.requestId !== t;
|
|
@@ -413516,7 +413520,7 @@ bufferedEnd: ${zKe(this.buffered_())}
|
|
|
413516
413520
|
* calling load().
|
|
413517
413521
|
*/
|
|
413518
413522
|
pause() {
|
|
413519
|
-
this.checkBufferTimeout_ && (
|
|
413523
|
+
this.checkBufferTimeout_ && (un.clearTimeout(this.checkBufferTimeout_), this.checkBufferTimeout_ = null);
|
|
413520
413524
|
}
|
|
413521
413525
|
/**
|
|
413522
413526
|
* Returns whether the segment loader is fetching additional
|
|
@@ -413596,7 +413600,7 @@ bufferedEnd: ${zKe(this.buffered_())}
|
|
|
413596
413600
|
* @private
|
|
413597
413601
|
*/
|
|
413598
413602
|
monitorBuffer_() {
|
|
413599
|
-
this.checkBufferTimeout_ &&
|
|
413603
|
+
this.checkBufferTimeout_ && un.clearTimeout(this.checkBufferTimeout_), this.checkBufferTimeout_ = un.setTimeout(this.monitorBufferTick_.bind(this), 1);
|
|
413600
413604
|
}
|
|
413601
413605
|
/**
|
|
413602
413606
|
* As long as the SegmentLoader is in the READY state, periodically
|
|
@@ -413605,7 +413609,7 @@ bufferedEnd: ${zKe(this.buffered_())}
|
|
|
413605
413609
|
* @private
|
|
413606
413610
|
*/
|
|
413607
413611
|
monitorBufferTick_() {
|
|
413608
|
-
this.state === "READY" && this.fillBuffer_(), this.checkBufferTimeout_ &&
|
|
413612
|
+
this.state === "READY" && this.fillBuffer_(), this.checkBufferTimeout_ && un.clearTimeout(this.checkBufferTimeout_), this.checkBufferTimeout_ = un.setTimeout(this.monitorBufferTick_.bind(this), lMi);
|
|
413609
413613
|
}
|
|
413610
413614
|
/**
|
|
413611
413615
|
* fill the buffer with segements unless the sourceBuffers are
|
|
@@ -414083,7 +414087,7 @@ Fetch At Buffer: ${this.fetchAtBuffer_}
|
|
|
414083
414087
|
}));
|
|
414084
414088
|
const m = this.currentTime_() - Pne;
|
|
414085
414089
|
this.logger_(`On QUOTA_EXCEEDED_ERR, removing audio/video from 0 to ${m}`), this.remove(0, m, () => {
|
|
414086
|
-
this.logger_(`On QUOTA_EXCEEDED_ERR, retrying append in ${Pne}s`), this.waitingOnRemove_ = !1, this.quotaExceededErrorRetryTimeout_ =
|
|
414090
|
+
this.logger_(`On QUOTA_EXCEEDED_ERR, retrying append in ${Pne}s`), this.waitingOnRemove_ = !1, this.quotaExceededErrorRetryTimeout_ = un.setTimeout(() => {
|
|
414087
414091
|
this.logger_("On QUOTA_EXCEEDED_ERR, re-processing call queue"), this.quotaExceededErrorRetryTimeout_ = null, this.processCallQueue_();
|
|
414088
414092
|
}, Pne * 1e3);
|
|
414089
414093
|
}, !0);
|
|
@@ -414512,7 +414516,7 @@ ${rz(t)}`), n.map && !n.map.bytes && (this.logger_("going to request init segmen
|
|
|
414512
414516
|
if (!xtn(r) || !xtn(o))
|
|
414513
414517
|
return;
|
|
414514
414518
|
gae(r, o, this.segmentMetadataTrack_);
|
|
414515
|
-
const a =
|
|
414519
|
+
const a = un.WebKitDataCue || un.VTTCue, i = {
|
|
414516
414520
|
custom: n.custom,
|
|
414517
414521
|
dateTimeObject: n.dateTimeObject,
|
|
414518
414522
|
dateTimeString: n.dateTimeString,
|
|
@@ -414777,7 +414781,7 @@ class sZn extends In.EventTarget {
|
|
|
414777
414781
|
* if removeSourceBuffer can be called.
|
|
414778
414782
|
*/
|
|
414779
414783
|
canRemoveSourceBuffer() {
|
|
414780
|
-
return !In.browser.IS_FIREFOX &&
|
|
414784
|
+
return !In.browser.IS_FIREFOX && un.MediaSource && un.MediaSource.prototype && typeof un.MediaSource.prototype.removeSourceBuffer == "function";
|
|
414781
414785
|
}
|
|
414782
414786
|
/**
|
|
414783
414787
|
* Whether or not the changeType function is supported
|
|
@@ -414787,7 +414791,7 @@ class sZn extends In.EventTarget {
|
|
|
414787
414791
|
* if changeType can be called.
|
|
414788
414792
|
*/
|
|
414789
414793
|
static canChangeType() {
|
|
414790
|
-
return
|
|
414794
|
+
return un.SourceBuffer && un.SourceBuffer.prototype && typeof un.SourceBuffer.prototype.changeType == "function";
|
|
414791
414795
|
}
|
|
414792
414796
|
/**
|
|
414793
414797
|
* Whether or not the changeType function is supported
|
|
@@ -415225,7 +415229,7 @@ class wMi extends Bst {
|
|
|
415225
415229
|
const o = this.pendingSegment_, a = r.mp4VttCues && r.mp4VttCues.length;
|
|
415226
415230
|
a && (o.mp4VttCues = r.mp4VttCues), this.saveBandwidthRelatedStats_(o.duration, n.stats), n.key && this.segmentKey(n.key, !0), this.state = "APPENDING", this.trigger("appending");
|
|
415227
415231
|
const i = o.segment;
|
|
415228
|
-
if (i.map && (i.map.bytes = n.map.bytes), o.bytes = n.bytes, typeof
|
|
415232
|
+
if (i.map && (i.map.bytes = n.map.bytes), o.bytes = n.bytes, typeof un.WebVTT != "function" && typeof this.loadVttJs == "function") {
|
|
415229
415233
|
this.state = "WAITING_ON_VTTJS", this.loadVttJs().then(() => this.segmentRequestFinished_(t, n, r), () => this.stopForError({
|
|
415230
415234
|
message: "Error loading vtt.js"
|
|
415231
415235
|
}));
|
|
@@ -415255,7 +415259,7 @@ class wMi extends Bst {
|
|
|
415255
415259
|
return;
|
|
415256
415260
|
}
|
|
415257
415261
|
o.byteLength = o.bytes.byteLength, this.mediaSecondsLoaded += i.duration, o.cues.forEach((s) => {
|
|
415258
|
-
this.subtitlesTrack_.addCue(this.featuresNativeTextTracks_ ? new
|
|
415262
|
+
this.subtitlesTrack_.addCue(this.featuresNativeTextTracks_ ? new un.VTTCue(s.startTime, s.endTime, s.text) : s);
|
|
415259
415263
|
}), nMi(this.subtitlesTrack_), this.handleAppendsDone_();
|
|
415260
415264
|
}
|
|
415261
415265
|
handleData_(t, n) {
|
|
@@ -415272,7 +415276,7 @@ class wMi extends Bst {
|
|
|
415272
415276
|
parseMp4VttCues_(t) {
|
|
415273
415277
|
const n = this.sourceUpdater_.videoTimestampOffset() === null ? this.sourceUpdater_.audioTimestampOffset() : this.sourceUpdater_.videoTimestampOffset();
|
|
415274
415278
|
t.mp4VttCues.forEach((r) => {
|
|
415275
|
-
const o = r.start + n, a = r.end + n, i = new
|
|
415279
|
+
const o = r.start + n, a = r.end + n, i = new un.VTTCue(o, a, r.cueText);
|
|
415276
415280
|
r.settings && r.settings.split(" ").forEach((s) => {
|
|
415277
415281
|
const l = s.split(":"), u = l[0], d = l[1];
|
|
415278
415282
|
i[u] = isNaN(d) ? d : Number(d);
|
|
@@ -415290,7 +415294,7 @@ class wMi extends Bst {
|
|
|
415290
415294
|
*/
|
|
415291
415295
|
parseVTTCues_(t) {
|
|
415292
415296
|
let n, r = !1;
|
|
415293
|
-
if (typeof
|
|
415297
|
+
if (typeof un.WebVTT != "function")
|
|
415294
415298
|
throw new bMi();
|
|
415295
415299
|
if (t.cues = [], t.timestampmap = {
|
|
415296
415300
|
MPEGTS: 0,
|
|
@@ -415299,8 +415303,8 @@ class wMi extends Bst {
|
|
|
415299
415303
|
this.parseMp4VttCues_(t);
|
|
415300
415304
|
return;
|
|
415301
415305
|
}
|
|
415302
|
-
typeof
|
|
415303
|
-
const o = new
|
|
415306
|
+
typeof un.TextDecoder == "function" ? n = new un.TextDecoder("utf8") : (n = un.WebVTT.StringDecoder(), r = !0);
|
|
415307
|
+
const o = new un.WebVTT.Parser(un, un.vttjs, n);
|
|
415304
415308
|
if (o.oncue = t.cues.push.bind(t.cues), o.ontimestampmap = (i) => {
|
|
415305
415309
|
t.timestampmap = i;
|
|
415306
415310
|
}, o.onparsingerror = (i) => {
|
|
@@ -415401,9 +415405,9 @@ const _Mi = function(e, t) {
|
|
|
415401
415405
|
continue;
|
|
415402
415406
|
}
|
|
415403
415407
|
o.endTime += i.duration;
|
|
415404
|
-
} else if ("cueOut" in i && (o = new
|
|
415408
|
+
} else if ("cueOut" in i && (o = new un.VTTCue(r, r + i.duration, i.cueOut), o.adStartTime = r, o.adEndTime = r + parseFloat(i.cueOut), t.addCue(o)), "cueOutCont" in i) {
|
|
415405
415409
|
const [s, l] = i.cueOutCont.split("/").map(parseFloat);
|
|
415406
|
-
o = new
|
|
415410
|
+
o = new un.VTTCue(r, r + i.duration, ""), o.adStartTime = r - s, o.adEndTime = o.adStartTime + l, t.addCue(o);
|
|
415407
415411
|
}
|
|
415408
415412
|
r += i.duration;
|
|
415409
415413
|
}
|
|
@@ -416854,7 +416858,7 @@ class BMi extends In.EventTarget {
|
|
|
416854
416858
|
* @return the steering manifest url to a proxy server with all parameters set
|
|
416855
416859
|
*/
|
|
416856
416860
|
setProxyServerUrl_(t) {
|
|
416857
|
-
const n = new
|
|
416861
|
+
const n = new un.URL(t), r = new un.URL(this.proxyServerUrl_);
|
|
416858
416862
|
return r.searchParams.set("url", encodeURI(n.toString())), this.setSteeringParams_(r.toString());
|
|
416859
416863
|
}
|
|
416860
416864
|
/**
|
|
@@ -416863,7 +416867,7 @@ class BMi extends In.EventTarget {
|
|
|
416863
416867
|
* @param {string} dataUri the data uri to be decoded and parsed.
|
|
416864
416868
|
*/
|
|
416865
416869
|
decodeDataUriManifest_(t) {
|
|
416866
|
-
const n = JSON.parse(
|
|
416870
|
+
const n = JSON.parse(un.atob(t));
|
|
416867
416871
|
this.assignSteeringProperties_(n);
|
|
416868
416872
|
}
|
|
416869
416873
|
/**
|
|
@@ -416875,7 +416879,7 @@ class BMi extends In.EventTarget {
|
|
|
416875
416879
|
* @return a new uri as a string with the added steering query parameters.
|
|
416876
416880
|
*/
|
|
416877
416881
|
setSteeringParams_(t) {
|
|
416878
|
-
const n = new
|
|
416882
|
+
const n = new un.URL(t), r = this.getPathway(), o = this.getBandwidth_();
|
|
416879
416883
|
if (r) {
|
|
416880
416884
|
const a = `_${this.manifestType_}_pathway`;
|
|
416881
416885
|
n.searchParams.set(a, r);
|
|
@@ -416941,7 +416945,7 @@ class BMi extends In.EventTarget {
|
|
|
416941
416945
|
*/
|
|
416942
416946
|
startTTLTimeout_(t = this.steeringManifest.ttl) {
|
|
416943
416947
|
const n = t * 1e3;
|
|
416944
|
-
this.ttlTimeout_ =
|
|
416948
|
+
this.ttlTimeout_ = un.setTimeout(() => {
|
|
416945
416949
|
this.requestSteeringManifest();
|
|
416946
416950
|
}, n);
|
|
416947
416951
|
}
|
|
@@ -416949,7 +416953,7 @@ class BMi extends In.EventTarget {
|
|
|
416949
416953
|
* Clear the TTL timeout if necessary.
|
|
416950
416954
|
*/
|
|
416951
416955
|
clearTTLTimeout_() {
|
|
416952
|
-
|
|
416956
|
+
un.clearTimeout(this.ttlTimeout_), this.ttlTimeout_ = null;
|
|
416953
416957
|
}
|
|
416954
416958
|
/**
|
|
416955
416959
|
* aborts any current steering xhr and sets the current request object to null
|
|
@@ -417071,7 +417075,7 @@ class WMi extends In.EventTarget {
|
|
|
417071
417075
|
withCredentials: r,
|
|
417072
417076
|
maxPlaylistRetries: w,
|
|
417073
417077
|
timeout: null
|
|
417074
|
-
}, this.on("error", this.pauseLoading), this.mediaTypes_ = FMi(), g &&
|
|
417078
|
+
}, this.on("error", this.pauseLoading), this.mediaTypes_ = FMi(), g && un.ManagedMediaSource ? (this.tech_.el_.disableRemotePlayback = !0, this.mediaSource = new un.ManagedMediaSource(), this.usingManagedMediaSource_ = !0, In.log("Using ManagedMediaSource")) : un.MediaSource && (this.mediaSource = new un.MediaSource()), this.handleDurationChange_ = this.handleDurationChange_.bind(this), this.handleSourceOpen_ = this.handleSourceOpen_.bind(this), this.handleSourceEnded_ = this.handleSourceEnded_.bind(this), this.load = this.load.bind(this), this.pause = this.pause.bind(this), this.mediaSource.addEventListener("durationchange", this.handleDurationChange_), this.mediaSource.addEventListener("sourceopen", this.handleSourceOpen_), this.mediaSource.addEventListener("sourceended", this.handleSourceEnded_), this.mediaSource.addEventListener("startstreaming", this.load), this.mediaSource.addEventListener("endstreaming", this.pause), this.seekable_ = ev(), this.hasPlayed_ = !1, this.syncController_ = new xMi(t), this.segmentMetadataTrack_ = o.addRemoteTextTrack({
|
|
417075
417079
|
kind: "metadata",
|
|
417076
417080
|
label: "segment-metadata"
|
|
417077
417081
|
}, !1).track, this.segmentMetadataTrack_.mode = "hidden", this.decrypter_ = new OMi(), this.sourceUpdater_ = new sZn(this.mediaSource), this.inbandTextTracks_ = {}, this.timelineChangeController_ = new kMi(), this.keyStatusMap_ = /* @__PURE__ */ new Map();
|
|
@@ -417204,7 +417208,7 @@ class WMi extends In.EventTarget {
|
|
|
417204
417208
|
* @private
|
|
417205
417209
|
*/
|
|
417206
417210
|
startABRTimer_() {
|
|
417207
|
-
this.stopABRTimer_(), this.abrTimer_ =
|
|
417211
|
+
this.stopABRTimer_(), this.abrTimer_ = un.setInterval(() => this.checkABR_(), 250);
|
|
417208
417212
|
}
|
|
417209
417213
|
/**
|
|
417210
417214
|
* Stop the timer that periodically calls checkABR_
|
|
@@ -417212,7 +417216,7 @@ class WMi extends In.EventTarget {
|
|
|
417212
417216
|
* @private
|
|
417213
417217
|
*/
|
|
417214
417218
|
stopABRTimer_() {
|
|
417215
|
-
this.tech_.scrubbing && this.tech_.scrubbing() || (
|
|
417219
|
+
this.tech_.scrubbing && this.tech_.scrubbing() || (un.clearInterval(this.abrTimer_), this.abrTimer_ = null);
|
|
417216
417220
|
}
|
|
417217
417221
|
/**
|
|
417218
417222
|
* Get a list of playlists for the currently selected audio playlist
|
|
@@ -418229,7 +418233,7 @@ class YMi extends In.EventTarget {
|
|
|
418229
418233
|
}, this.tech_.on("seeked", this.clearSeekingAppendCheck_), this.tech_.on("seeking", this.watchForBadSeeking_), this.tech_.on("waiting", o), this.tech_.on(Ntn, a), this.tech_.on("canplay", r), this.tech_.one("play", n), this.dispose = () => {
|
|
418230
418234
|
this.clearSeekingAppendCheck_(), this.logger_("dispose"), this.tech_.off("waiting", o), this.tech_.off(Ntn, a), this.tech_.off("canplay", r), this.tech_.off("play", n), this.tech_.off("seeking", this.watchForBadSeeking_), this.tech_.off("seeked", this.clearSeekingAppendCheck_), s.forEach((d) => {
|
|
418231
418235
|
i[`${d}SegmentLoader_`].off("appendsdone", l[d].updateend), i[`${d}SegmentLoader_`].off("playlistupdate", l[d].reset), this.tech_.off(["seeked", "seeking"], l[d].reset);
|
|
418232
|
-
}), this.checkCurrentTimeTimeout_ &&
|
|
418236
|
+
}), this.checkCurrentTimeTimeout_ && un.clearTimeout(this.checkCurrentTimeTimeout_), this.resetTimeUpdate_();
|
|
418233
418237
|
};
|
|
418234
418238
|
}
|
|
418235
418239
|
/**
|
|
@@ -418238,7 +418242,7 @@ class YMi extends In.EventTarget {
|
|
|
418238
418242
|
* @private
|
|
418239
418243
|
*/
|
|
418240
418244
|
monitorCurrentTime_() {
|
|
418241
|
-
this.checkCurrentTime_(), this.checkCurrentTimeTimeout_ &&
|
|
418245
|
+
this.checkCurrentTime_(), this.checkCurrentTimeTimeout_ && un.clearTimeout(this.checkCurrentTimeTimeout_), this.checkCurrentTimeTimeout_ = un.setTimeout(this.monitorCurrentTime_.bind(this), 250);
|
|
418242
418246
|
}
|
|
418243
418247
|
/**
|
|
418244
418248
|
* Reset stalled download stats for a specific type of loader
|
|
@@ -418622,9 +418626,9 @@ const rLi = (e, t, n) => {
|
|
|
418622
418626
|
const o = rLi(t, n, r);
|
|
418623
418627
|
return o ? (e.currentSource().keySystems = o, o && !e.eme ? (In.log.warn("DRM encrypted source cannot be decrypted without a DRM plugin"), !1) : !0) : !1;
|
|
418624
418628
|
}, mZn = () => {
|
|
418625
|
-
if (!
|
|
418629
|
+
if (!un.localStorage)
|
|
418626
418630
|
return null;
|
|
418627
|
-
const e =
|
|
418631
|
+
const e = un.localStorage.getItem(hZn);
|
|
418628
418632
|
if (!e)
|
|
418629
418633
|
return null;
|
|
418630
418634
|
try {
|
|
@@ -418633,12 +418637,12 @@ const rLi = (e, t, n) => {
|
|
|
418633
418637
|
return null;
|
|
418634
418638
|
}
|
|
418635
418639
|
}, sLi = (e) => {
|
|
418636
|
-
if (!
|
|
418640
|
+
if (!un.localStorage)
|
|
418637
418641
|
return !1;
|
|
418638
418642
|
let t = mZn();
|
|
418639
418643
|
t = t ? Nc(t, e) : e;
|
|
418640
418644
|
try {
|
|
418641
|
-
|
|
418645
|
+
un.localStorage.setItem(hZn, JSON.stringify(t));
|
|
418642
418646
|
} catch {
|
|
418643
418647
|
return !1;
|
|
418644
418648
|
}
|
|
@@ -418790,7 +418794,7 @@ class wZn extends uLi {
|
|
|
418790
418794
|
bandwidth: {
|
|
418791
418795
|
get() {
|
|
418792
418796
|
let a = this.playlistController_.mainSegmentLoader_.bandwidth;
|
|
418793
|
-
const i =
|
|
418797
|
+
const i = un.navigator.connection || un.navigator.mozConnection || un.navigator.webkitConnection, s = 1e7;
|
|
418794
418798
|
if (this.options_.useNetworkInformationApi && i) {
|
|
418795
418799
|
const l = i.downlink * 1e3 * 1e3;
|
|
418796
418800
|
l >= s && a >= s ? a = Math.max(a, l) : a = l;
|
|
@@ -418929,7 +418933,7 @@ class wZn extends uLi {
|
|
|
418929
418933
|
this.tech_.trigger("progress");
|
|
418930
418934
|
}), this.on(this.playlistController_, "firstplay", function() {
|
|
418931
418935
|
this.ignoreNextSeekingEvent_ = !0;
|
|
418932
|
-
}), this.setupQualityLevels_(), this.tech_.el() && (this.mediaSourceUrl_ =
|
|
418936
|
+
}), this.setupQualityLevels_(), this.tech_.el() && (this.mediaSourceUrl_ = un.URL.createObjectURL(this.playlistController_.mediaSource), (In.browser.IS_ANY_SAFARI || In.browser.IS_IOS) && this.options_.overrideNative && this.options_.sourceType === "hls" && typeof this.tech_.addSourceElement == "function" ? (this.tech_.addSourceElement(this.mediaSourceUrl_), this.tech_.addSourceElement(this.source_.src)) : this.tech_.src(this.mediaSourceUrl_));
|
|
418933
418937
|
}
|
|
418934
418938
|
createKeySessions_() {
|
|
418935
418939
|
const t = this.playlistController_.mediaTypes_.AUDIO.activePlaylistLoader;
|
|
@@ -419036,7 +419040,7 @@ class wZn extends uLi {
|
|
|
419036
419040
|
* Abort all outstanding work and cleanup.
|
|
419037
419041
|
*/
|
|
419038
419042
|
dispose() {
|
|
419039
|
-
this.playbackWatcher_ && this.playbackWatcher_.dispose(), this.playlistController_ && this.playlistController_.dispose(), this.qualityLevels_ && this.qualityLevels_.dispose(), this.tech_ && this.tech_.vhs && delete this.tech_.vhs, this.mediaSourceUrl_ &&
|
|
419043
|
+
this.playbackWatcher_ && this.playbackWatcher_.dispose(), this.playlistController_ && this.playlistController_.dispose(), this.qualityLevels_ && this.qualityLevels_.dispose(), this.tech_ && this.tech_.vhs && delete this.tech_.vhs, this.mediaSourceUrl_ && un.URL.revokeObjectURL && (un.URL.revokeObjectURL(this.mediaSourceUrl_), this.mediaSourceUrl_ = null), this.tech_ && this.tech_.off("waitingforkey", this.handleWaitingForKey_), super.dispose();
|
|
419040
419044
|
}
|
|
419041
419045
|
convertToProgramTime(t, n) {
|
|
419042
419046
|
return hNi({
|
|
@@ -422471,7 +422475,7 @@ const C3i = /* @__PURE__ */ qa(_3i, [["render", E3i], ["__scopeId", "data-v-6fa8
|
|
|
422471
422475
|
}
|
|
422472
422476
|
}).url;
|
|
422473
422477
|
Amr(Ue);
|
|
422474
|
-
},
|
|
422478
|
+
}, sn = () => {
|
|
422475
422479
|
var pe;
|
|
422476
422480
|
const q = sh({
|
|
422477
422481
|
type: "review_rendition",
|
|
@@ -422522,7 +422526,7 @@ const C3i = /* @__PURE__ */ qa(_3i, [["render", E3i], ["__scopeId", "data-v-6fa8
|
|
|
422522
422526
|
dt(q);
|
|
422523
422527
|
}
|
|
422524
422528
|
});
|
|
422525
|
-
const wn = { emits: r, getRenditions: o, upLoadFile: a, removeFile: i, updateFileRendition: s, updateInfoRendition: l, uploadNewFileInNewRendition: u, checkLengthAndTypeRendition: d, deleteRendition: f, getRenditionDetail: m, getEnvVariable: p, sceneStore: v, renditionStore: g, commentStore: w, permissionStore: S, commentRedirect: E, sceneData: x, currentIdRendition: y, currentSceneTabId: D, renditionList: k, numberOfRendition: O, commentRenditionId: R, hasOpenPermission: I, redirectConfig: $, isLoading: P, statusFetching: U, isDeleting: F, renditionPlayerRef: L, calculatedHeight: j, initPage: B, totalRenditionPage: G, childComponentRef: X, totalRendition: se, loadingMoreRendition: ve, lastRenditionIdpPayload: fe, arboMediaPlayerRef: K, noDataRenditionRef: M, currentItemPlay: Y, openReviewBtnConfig: de, currentRenditionFile: Ce, renditionFiles: we, renditionName: ee, calculateHeight: Q, callBackSetIdActive: Ae, getListRendition: be, handleChangeRendition: Ve, handleDeleteRendition: Oe, deleteRenditionSuccess: Be, handleReloadPage: ke, handleLoadMoreRendition: rt, updateRenditionNameFnc: Xe, updateRenditionDescriptionFnc: Ke, handleChangeInfoRendition: Qe, handleChangeName: xe, handleRemoveFile: Ne, addFileToNewRendition: dt, addNewFileToSelectedRendition: qe, handleFileChange: ot, clearFile: wt, handleUploadSuccessNewRendition: bt, handleSelectRenditionFile: kt, handleChangeItemPlay: Ct, reloadRenditionItem: cn, handleVideoError: _n, handleCopyLink: nn, handleOpenInArboReview:
|
|
422529
|
+
const wn = { emits: r, getRenditions: o, upLoadFile: a, removeFile: i, updateFileRendition: s, updateInfoRendition: l, uploadNewFileInNewRendition: u, checkLengthAndTypeRendition: d, deleteRendition: f, getRenditionDetail: m, getEnvVariable: p, sceneStore: v, renditionStore: g, commentStore: w, permissionStore: S, commentRedirect: E, sceneData: x, currentIdRendition: y, currentSceneTabId: D, renditionList: k, numberOfRendition: O, commentRenditionId: R, hasOpenPermission: I, redirectConfig: $, isLoading: P, statusFetching: U, isDeleting: F, renditionPlayerRef: L, calculatedHeight: j, initPage: B, totalRenditionPage: G, childComponentRef: X, totalRendition: se, loadingMoreRendition: ve, lastRenditionIdpPayload: fe, arboMediaPlayerRef: K, noDataRenditionRef: M, currentItemPlay: Y, openReviewBtnConfig: de, currentRenditionFile: Ce, renditionFiles: we, renditionName: ee, calculateHeight: Q, callBackSetIdActive: Ae, getListRendition: be, handleChangeRendition: Ve, handleDeleteRendition: Oe, deleteRenditionSuccess: Be, handleReloadPage: ke, handleLoadMoreRendition: rt, updateRenditionNameFnc: Xe, updateRenditionDescriptionFnc: Ke, handleChangeInfoRendition: Qe, handleChangeName: xe, handleRemoveFile: Ne, addFileToNewRendition: dt, addNewFileToSelectedRendition: qe, handleFileChange: ot, clearFile: wt, handleUploadSuccessNewRendition: bt, handleSelectRenditionFile: kt, handleChangeItemPlay: Ct, reloadRenditionItem: cn, handleVideoError: _n, handleCopyLink: nn, handleOpenInArboReview: sn, get ArboMediaPlayer() {
|
|
422526
422530
|
return HLe;
|
|
422527
422531
|
}, ModalAddRendition: YFi, RenditionFiles: o3i, RenditionList: p3i, CategoryHeader: Vme, RenditionNodata: w3i, get STATUS_FETCH() {
|
|
422528
422532
|
return bk;
|
|
@@ -425459,7 +425463,7 @@ function HVi(e, t) {
|
|
|
425459
425463
|
hideWithInteractivity: nn,
|
|
425460
425464
|
enable: ot,
|
|
425461
425465
|
disable: wt,
|
|
425462
|
-
unmount:
|
|
425466
|
+
unmount: sn,
|
|
425463
425467
|
destroy: wn
|
|
425464
425468
|
};
|
|
425465
425469
|
if (!n.render)
|
|
@@ -425819,7 +425823,7 @@ function HVi(e, t) {
|
|
|
425819
425823
|
function nn(q) {
|
|
425820
425824
|
nt.env.NODE_ENV !== "production" && EI(y.state.isDestroyed, sz("hideWithInteractivity")), L().addEventListener("mousemove", v), mnn(g1e, v), v(q);
|
|
425821
425825
|
}
|
|
425822
|
-
function
|
|
425826
|
+
function sn() {
|
|
425823
425827
|
nt.env.NODE_ENV !== "production" && EI(y.state.isDestroyed, sz("unmount")), y.state.isVisible && y.hide(), y.state.isMounted && (Qe(), Ne().forEach(function(q) {
|
|
425824
425828
|
q._tippy.unmount();
|
|
425825
425829
|
}), k.parentNode && k.parentNode.removeChild(k), cGe = cGe.filter(function(q) {
|
|
@@ -427145,7 +427149,7 @@ var pXn = { exports: {} };
|
|
|
427145
427149
|
return [h, u(h), c];
|
|
427146
427150
|
}(), wt = hr[0], Bn = hr[1], hr = hr[2], Bn = Bn && Bn.then, bt = wt && wt.constructor, kt = !!hr, Ct = function(c, h) {
|
|
427147
427151
|
Ue.push([c, h]), _n && (queueMicrotask(Mt), _n = !1);
|
|
427148
|
-
}, cn = !0, _n = !0, nn = [],
|
|
427152
|
+
}, cn = !0, _n = !0, nn = [], sn = [], wn = Oe, q = { id: "global", global: !0, ref: 0, unhandleds: [], onunhandled: Ve, pgp: !1, env: {}, finalize: Ve }, pe = q, Ue = [], ct = 0, Pe = [];
|
|
427149
427153
|
function Se(c) {
|
|
427150
427154
|
if (typeof this != "object") throw new TypeError("Promises must be constructed via new");
|
|
427151
427155
|
this._listeners = [], this._lib = !1;
|
|
@@ -427189,7 +427193,7 @@ var pXn = { exports: {} };
|
|
|
427189
427193
|
}
|
|
427190
427194
|
function Dt(c, h) {
|
|
427191
427195
|
var b, _;
|
|
427192
|
-
|
|
427196
|
+
sn.push(h), c._state === null && (b = c._lib && Ft(), h = wn(h), c._state = !1, c._value = h, _ = c, nn.some(function(C) {
|
|
427193
427197
|
return C._value === _._value;
|
|
427194
427198
|
}) || nn.push(_), Bt(c), b && Zt());
|
|
427195
427199
|
}
|
|
@@ -427212,9 +427216,9 @@ var pXn = { exports: {} };
|
|
|
427212
427216
|
function _t(c, h, b) {
|
|
427213
427217
|
try {
|
|
427214
427218
|
var _, C = h._value;
|
|
427215
|
-
!h._state &&
|
|
427219
|
+
!h._state && sn.length && (sn = []), _ = Ne && h._consoleTask ? h._consoleTask.run(function() {
|
|
427216
427220
|
return c(C);
|
|
427217
|
-
}) : c(C), h._state ||
|
|
427221
|
+
}) : c(C), h._state || sn.indexOf(C) !== -1 || function(A) {
|
|
427218
427222
|
for (var V = nn.length; V; ) if (nn[--V]._value === A._value) return nn.splice(V, 1);
|
|
427219
427223
|
}(h), b.resolve(_);
|
|
427220
427224
|
} catch (A) {
|
|
@@ -458300,7 +458304,7 @@ const wFe = /* @__PURE__ */ E8("userStore", () => {
|
|
|
458300
458304
|
const nn = {
|
|
458301
458305
|
name: d.name,
|
|
458302
458306
|
template_flow_status_id: d.status ?? void 0,
|
|
458303
|
-
ws_user_role_ids: (xe = d.assignees) == null ? void 0 : xe.map((
|
|
458307
|
+
ws_user_role_ids: (xe = d.assignees) == null ? void 0 : xe.map((sn) => sn.id),
|
|
458304
458308
|
start_date: d.start_date ? x2e(d.start_date) : void 0,
|
|
458305
458309
|
due_date: d.due_date ? x2e(d.due_date) : void 0
|
|
458306
458310
|
};
|
|
@@ -458309,15 +458313,15 @@ const wFe = /* @__PURE__ */ E8("userStore", () => {
|
|
|
458309
458313
|
return;
|
|
458310
458314
|
}
|
|
458311
458315
|
try {
|
|
458312
|
-
const
|
|
458313
|
-
if (fe(
|
|
458316
|
+
const sn = await v.value.addNewItem(i, s, nn), wn = d.name;
|
|
458317
|
+
if (fe(sn.id, sn.name, sn.code), !sn.id)
|
|
458314
458318
|
throw new Error("Invalid response from server: missing scene ID");
|
|
458315
458319
|
switch (S.value = !1, w.value = !1, Qe) {
|
|
458316
458320
|
case "close":
|
|
458317
458321
|
m(), (dt = k.value) == null || dt.setData([]), (qe = O.value) == null || qe.setData(null), (ot = R.value) == null || ot.setData([null, null]), p(), G();
|
|
458318
458322
|
break;
|
|
458319
458323
|
case "close-open":
|
|
458320
|
-
m(), (wt = k.value) == null || wt.setData([]), (bt = O.value) == null || bt.setData(null), (kt = R.value) == null || kt.setData([null, null]), p(), G(), g(
|
|
458324
|
+
m(), (wt = k.value) == null || wt.setData([]), (bt = O.value) == null || bt.setData(null), (kt = R.value) == null || kt.setData([null, null]), p(), G(), g(sn.id);
|
|
458321
458325
|
break;
|
|
458322
458326
|
case "clear":
|
|
458323
458327
|
l("create-new-item", wn), m(), (Ct = k.value) == null || Ct.setData([]), (cn = O.value) == null || cn.setData(null), (_n = R.value) == null || _n.setData([null, null]), K("name");
|
|
@@ -458326,8 +458330,8 @@ const wFe = /* @__PURE__ */ E8("userStore", () => {
|
|
|
458326
458330
|
l("create-new-item", wn), d.name = "", d.error = "", K("name");
|
|
458327
458331
|
break;
|
|
458328
458332
|
}
|
|
458329
|
-
} catch (
|
|
458330
|
-
console.error("Error creating scene:",
|
|
458333
|
+
} catch (sn) {
|
|
458334
|
+
console.error("Error creating scene:", sn), Qe == "close" && (p(), G());
|
|
458331
458335
|
} finally {
|
|
458332
458336
|
w.value = !1, S.value = !1;
|
|
458333
458337
|
}
|
|
@@ -458759,10 +458763,10 @@ const wFe = /* @__PURE__ */ E8("userStore", () => {
|
|
|
458759
458763
|
throw console.error("API service or item identifiers are undefined"), new Error("API service or item identifiers are undefined");
|
|
458760
458764
|
if (bt ? U.value = !0 : P.value = !0, F.value = null, !((kt = K.value) != null && kt.getEntityUserRoles))
|
|
458761
458765
|
throw new Error("API service getEntityUserRoles is undefined");
|
|
458762
|
-
const
|
|
458766
|
+
const sn = kg.getInstance().getItem("ws.code");
|
|
458763
458767
|
try {
|
|
458764
458768
|
const wn = await ((Ct = K.value) == null ? void 0 : Ct.getEntityUserRoles({
|
|
458765
|
-
workspaceId: String(
|
|
458769
|
+
workspaceId: String(sn),
|
|
458766
458770
|
page: ot,
|
|
458767
458771
|
per_page: Krs,
|
|
458768
458772
|
display_name_like: wt,
|
|
@@ -459121,7 +459125,7 @@ const wFe = /* @__PURE__ */ E8("userStore", () => {
|
|
|
459121
459125
|
handleSelect: cn,
|
|
459122
459126
|
handleItemHover: _n,
|
|
459123
459127
|
getHighlightedLabel: nn,
|
|
459124
|
-
query:
|
|
459128
|
+
query: sn,
|
|
459125
459129
|
idx: wn
|
|
459126
459130
|
}) => [
|
|
459127
459131
|
Me(HSt, {
|
|
@@ -459136,7 +459140,7 @@ const wFe = /* @__PURE__ */ E8("userStore", () => {
|
|
|
459136
459140
|
"api-update-function": Ne
|
|
459137
459141
|
}, {
|
|
459138
459142
|
name: je(() => [
|
|
459139
|
-
|
|
459143
|
+
sn ? Tt((W(), me("span", {
|
|
459140
459144
|
key: 0,
|
|
459141
459145
|
class: De([ot.$style["item-label"], ot.$style.match]),
|
|
459142
459146
|
style: { flex: "1" },
|
|
@@ -462826,20 +462830,20 @@ function $is(e = {}, t) {
|
|
|
462826
462830
|
}
|
|
462827
462831
|
if (kt !== "translate exists" && // for not `te` (e.g `t`)
|
|
462828
462832
|
Yg(nn) && nn === CFe || kt === "translate exists" && !nn) {
|
|
462829
|
-
const [
|
|
462830
|
-
if (nt.env.NODE_ENV !== "production" && n && Ea(
|
|
462831
|
-
key:
|
|
462833
|
+
const [sn, wn] = bt();
|
|
462834
|
+
if (nt.env.NODE_ENV !== "production" && n && Ea(sn) && ve(kt, wn) && (w && (xFe(g, sn) || Otr(v, sn)) && n2(B2e(P0.FALLBACK_TO_ROOT, {
|
|
462835
|
+
key: sn,
|
|
462832
462836
|
type: kt
|
|
462833
462837
|
})), nt.env.NODE_ENV !== "production")) {
|
|
462834
462838
|
const { __v_emitter: q } = I;
|
|
462835
462839
|
q && w && q.emit("fallback", {
|
|
462836
462840
|
type: kt,
|
|
462837
|
-
key:
|
|
462841
|
+
key: sn,
|
|
462838
462842
|
to: "global",
|
|
462839
|
-
groupId: `${kt}:${
|
|
462843
|
+
groupId: `${kt}:${sn}`
|
|
462840
462844
|
});
|
|
462841
462845
|
}
|
|
462842
|
-
return n && w ? Ct(n) : cn(
|
|
462846
|
+
return n && w ? Ct(n) : cn(sn);
|
|
462843
462847
|
} else {
|
|
462844
462848
|
if (_n(nn))
|
|
462845
462849
|
return nn;
|