@conboai/storybook.components 0.4.3 → 0.4.31
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/Svg/icons.d.ts +5 -0
- package/dist/storybook.components.mjs +370 -300
- package/package.json +1 -1
|
@@ -29308,6 +29308,76 @@ const KX = {
|
|
|
29308
29308
|
strokeLinecap: "round",
|
|
29309
29309
|
strokeLinejoin: "round"
|
|
29310
29310
|
}
|
|
29311
|
+
},
|
|
29312
|
+
truckIcon: {
|
|
29313
|
+
width: 16,
|
|
29314
|
+
height: 16,
|
|
29315
|
+
strokeWidth: 1.2,
|
|
29316
|
+
paths: [
|
|
29317
|
+
"M11.1603 4.79883H1.63818V11.9216H11.1603V4.79883Z",
|
|
29318
|
+
"M14.4354 7.19824H11.2363V11.9217H14.4354V7.19824Z",
|
|
29319
|
+
"M4.11322 13.1356C4.59644 13.1356 4.98817 12.7439 4.98817 12.2607C4.98817 11.7775 4.59644 11.3857 4.11322 11.3857C3.63001 11.3857 3.23828 11.7775 3.23828 12.2607C3.23828 12.7439 3.63001 13.1356 4.11322 13.1356Z",
|
|
29320
|
+
"M12.0361 13.1356C12.5193 13.1356 12.911 12.7439 12.911 12.2607C12.911 11.7775 12.5193 11.3857 12.0361 11.3857C11.5529 11.3857 11.1611 11.7775 11.1611 12.2607C11.1611 12.7439 11.5529 13.1356 12.0361 13.1356Z"
|
|
29321
|
+
],
|
|
29322
|
+
attributes: {
|
|
29323
|
+
strokeMiterlimit: 1.5,
|
|
29324
|
+
strokeLinejoin: "round"
|
|
29325
|
+
}
|
|
29326
|
+
},
|
|
29327
|
+
portalInIcon: {
|
|
29328
|
+
width: 16,
|
|
29329
|
+
height: 16,
|
|
29330
|
+
strokeWidth: 1.2,
|
|
29331
|
+
paths: [
|
|
29332
|
+
"M1.59961 8H7.46628",
|
|
29333
|
+
"M5.03192 10.8966L7.93106 7.99747L5.03223 5.09863",
|
|
29334
|
+
"M9.06707 5.03873C9.61653 3.9196 10.4699 3.20024 11.4275 3.20024C13.0834 3.20024 14.4277 5.35113 14.4277 8.00051C14.4277 10.6498 13.0834 12.8008 11.4275 12.8008C10.4699 12.8008 9.61653 12.0814 9.06707 10.9623"
|
|
29335
|
+
],
|
|
29336
|
+
attributes: {
|
|
29337
|
+
strokeMiterlimit: 1.5,
|
|
29338
|
+
strokeLinejoin: "round"
|
|
29339
|
+
}
|
|
29340
|
+
},
|
|
29341
|
+
portalOutIcon: {
|
|
29342
|
+
width: 16,
|
|
29343
|
+
height: 16,
|
|
29344
|
+
strokeWidth: 1.2,
|
|
29345
|
+
paths: [
|
|
29346
|
+
"M7.21955 10.3977C6.7005 11.832 5.73083 12.7978 4.62129 12.7978C2.96543 12.7978 1.62109 10.6469 1.62109 7.99754C1.62109 5.34821 2.96543 3.19727 4.62129 3.19727C5.73083 3.19727 6.7005 4.16303 7.21955 5.5974",
|
|
29347
|
+
"M4.01953 7.99805H14.4169",
|
|
29348
|
+
"M11.6862 10.8966L14.5854 7.99747L11.6865 5.09863"
|
|
29349
|
+
],
|
|
29350
|
+
attributes: {
|
|
29351
|
+
strokeMiterlimit: 1.5,
|
|
29352
|
+
strokeLinejoin: "round"
|
|
29353
|
+
}
|
|
29354
|
+
},
|
|
29355
|
+
timeIcon: {
|
|
29356
|
+
width: 16,
|
|
29357
|
+
height: 16,
|
|
29358
|
+
strokeWidth: 1.2,
|
|
29359
|
+
paths: [
|
|
29360
|
+
"M7.99947 4.00042C8.01257 3.24773 7.99947 2.40039 7.99947 2.40039C11.0902 2.40039 13.5995 4.90969 13.5995 8.00039C13.5995 11.0912 11.0902 13.6004 7.99947 13.6004C4.90871 13.6004 2.39941 11.0912 2.39941 8.00039C2.39941 6.47599 3.00986 5.093 3.99944 4.0828",
|
|
29361
|
+
"M8.00015 7.99974L5.78418 5.78418"
|
|
29362
|
+
],
|
|
29363
|
+
attributes: {
|
|
29364
|
+
strokeMiterlimit: 1.5,
|
|
29365
|
+
strokeLinejoin: "round"
|
|
29366
|
+
}
|
|
29367
|
+
},
|
|
29368
|
+
horizontalArrowIcon: {
|
|
29369
|
+
width: 16,
|
|
29370
|
+
height: 16,
|
|
29371
|
+
strokeWidth: 1.2,
|
|
29372
|
+
paths: [
|
|
29373
|
+
"M1.62988 7.99805H13.8965",
|
|
29374
|
+
"M11.4323 10.8966L14.3314 7.99747L11.4326 5.09863",
|
|
29375
|
+
"M4.49933 5.09851L1.60019 7.99765L4.49902 10.8965"
|
|
29376
|
+
],
|
|
29377
|
+
attributes: {
|
|
29378
|
+
strokeMiterlimit: 1.5,
|
|
29379
|
+
strokeLinejoin: "round"
|
|
29380
|
+
}
|
|
29311
29381
|
}
|
|
29312
29382
|
};
|
|
29313
29383
|
function Jn({ fill: t = "black", icon: e, width: n, height: r, fillOpacity: o }) {
|
|
@@ -52082,7 +52152,7 @@ function Qp(t, e) {
|
|
|
52082
52152
|
const u = (c - l) / 1e3 - (i.start - o.start);
|
|
52083
52153
|
G7(u, t);
|
|
52084
52154
|
}
|
|
52085
|
-
const
|
|
52155
|
+
const e4 = Math.pow(2, 17);
|
|
52086
52156
|
class _ie {
|
|
52087
52157
|
constructor(e) {
|
|
52088
52158
|
this.config = void 0, this.loader = null, this.partLoadTimeout = -1, this.config = e;
|
|
@@ -52109,17 +52179,17 @@ class _ie {
|
|
|
52109
52179
|
return new Promise((l, c) => {
|
|
52110
52180
|
if (this.loader && this.loader.destroy(), e.gap)
|
|
52111
52181
|
if (e.tagList.some((b) => b[0] === "GAP")) {
|
|
52112
|
-
c(
|
|
52182
|
+
c(n4(e));
|
|
52113
52183
|
return;
|
|
52114
52184
|
} else
|
|
52115
52185
|
e.gap = !1;
|
|
52116
|
-
const u = this.loader = e.loader = i ? new i(o) : new a(o), d =
|
|
52186
|
+
const u = this.loader = e.loader = i ? new i(o) : new a(o), d = t4(e), h = X6(o.fragLoadPolicy.default), f = {
|
|
52117
52187
|
loadPolicy: h,
|
|
52118
52188
|
timeout: h.maxLoadTimeMs,
|
|
52119
52189
|
maxRetry: 0,
|
|
52120
52190
|
retryDelay: 0,
|
|
52121
52191
|
maxRetryDelay: 0,
|
|
52122
|
-
highWaterMark: e.sn === "initSegment" ? 1 / 0 :
|
|
52192
|
+
highWaterMark: e.sn === "initSegment" ? 1 / 0 : e4
|
|
52123
52193
|
};
|
|
52124
52194
|
e.stats = u.stats, u.load(d, f, {
|
|
52125
52195
|
onSuccess: (b, g, p, m) => {
|
|
@@ -52185,16 +52255,16 @@ class _ie {
|
|
|
52185
52255
|
const o = this.config, i = o.fLoader, a = o.loader;
|
|
52186
52256
|
return new Promise((l, c) => {
|
|
52187
52257
|
if (this.loader && this.loader.destroy(), e.gap || n.gap) {
|
|
52188
|
-
c(
|
|
52258
|
+
c(n4(e, n));
|
|
52189
52259
|
return;
|
|
52190
52260
|
}
|
|
52191
|
-
const u = this.loader = e.loader = i ? new i(o) : new a(o), d =
|
|
52261
|
+
const u = this.loader = e.loader = i ? new i(o) : new a(o), d = t4(e, n), h = X6(o.fragLoadPolicy.default), f = {
|
|
52192
52262
|
loadPolicy: h,
|
|
52193
52263
|
timeout: h.maxLoadTimeMs,
|
|
52194
52264
|
maxRetry: 0,
|
|
52195
52265
|
retryDelay: 0,
|
|
52196
52266
|
maxRetryDelay: 0,
|
|
52197
|
-
highWaterMark:
|
|
52267
|
+
highWaterMark: e4
|
|
52198
52268
|
};
|
|
52199
52269
|
n.stats = u.stats, u.load(d, f, {
|
|
52200
52270
|
onSuccess: (b, g, p, m) => {
|
|
@@ -52264,7 +52334,7 @@ class _ie {
|
|
|
52264
52334
|
e.loader = null, this.loader === n && (self.clearTimeout(this.partLoadTimeout), this.loader = null), n.destroy();
|
|
52265
52335
|
}
|
|
52266
52336
|
}
|
|
52267
|
-
function
|
|
52337
|
+
function t4(t, e = null) {
|
|
52268
52338
|
const n = e || t, r = {
|
|
52269
52339
|
frag: t,
|
|
52270
52340
|
part: e,
|
|
@@ -52285,7 +52355,7 @@ function t8(t, e = null) {
|
|
|
52285
52355
|
}
|
|
52286
52356
|
return r;
|
|
52287
52357
|
}
|
|
52288
|
-
function
|
|
52358
|
+
function n4(t, e) {
|
|
52289
52359
|
const n = new Error(`GAP ${t.gap ? "tag" : "attribute"} found`), r = {
|
|
52290
52360
|
type: $t.MEDIA_ERROR,
|
|
52291
52361
|
details: Ze.FRAG_GAP,
|
|
@@ -53785,7 +53855,7 @@ class ase {
|
|
|
53785
53855
|
e.debug.length && We.log(e.pts + "/" + e.dts + ":" + e.debug);
|
|
53786
53856
|
}
|
|
53787
53857
|
}
|
|
53788
|
-
class
|
|
53858
|
+
class r4 {
|
|
53789
53859
|
constructor(e) {
|
|
53790
53860
|
this.data = void 0, this.bytesAvailable = void 0, this.word = void 0, this.bitsAvailable = void 0, this.data = e, this.bytesAvailable = e.byteLength, this.word = 0, this.bitsAvailable = 0;
|
|
53791
53861
|
}
|
|
@@ -53975,7 +54045,7 @@ class lse extends ase {
|
|
|
53975
54045
|
c = !0;
|
|
53976
54046
|
const m = d.data;
|
|
53977
54047
|
if (u && m.length > 4) {
|
|
53978
|
-
const v = new
|
|
54048
|
+
const v = new r4(m).readSliceType();
|
|
53979
54049
|
(v === 2 || v === 4 || v === 7 || v === 9) && (p = !0);
|
|
53980
54050
|
}
|
|
53981
54051
|
if (p) {
|
|
@@ -53995,7 +54065,7 @@ class lse extends ase {
|
|
|
53995
54065
|
case 7: {
|
|
53996
54066
|
var b, g;
|
|
53997
54067
|
c = !0, u = !0;
|
|
53998
|
-
const p = d.data, v = new
|
|
54068
|
+
const p = d.data, v = new r4(p).readSPS();
|
|
53999
54069
|
if (!e.sps || e.width !== v.width || e.height !== v.height || ((b = e.pixelRatio) == null ? void 0 : b[0]) !== v.pixelRatio[0] || ((g = e.pixelRatio) == null ? void 0 : g[1]) !== v.pixelRatio[1]) {
|
|
54000
54070
|
e.width = v.width, e.height = v.height, e.pixelRatio = v.pixelRatio, e.sps = [p], e.duration = i;
|
|
54001
54071
|
const y = p.subarray(1, 4);
|
|
@@ -54596,7 +54666,7 @@ class hse extends f3 {
|
|
|
54596
54666
|
return Q7(e, n, r, this.basePTS, this.frameIndex);
|
|
54597
54667
|
}
|
|
54598
54668
|
}
|
|
54599
|
-
class
|
|
54669
|
+
class o4 {
|
|
54600
54670
|
static getSilentFrame(e, n) {
|
|
54601
54671
|
switch (e) {
|
|
54602
54672
|
case "mp4a.40.2":
|
|
@@ -55640,7 +55710,7 @@ function rd(t, e = !1) {
|
|
|
55640
55710
|
function pse(t, e = 1) {
|
|
55641
55711
|
return m3(t, oE, 1 / e);
|
|
55642
55712
|
}
|
|
55643
|
-
const gse = 10 * 1e3,
|
|
55713
|
+
const gse = 10 * 1e3, i4 = 1024, mse = 1152, bse = 1536;
|
|
55644
55714
|
let ac = null, n2 = null;
|
|
55645
55715
|
class gp {
|
|
55646
55716
|
constructor(e, n, r, o = "") {
|
|
@@ -55848,7 +55918,7 @@ class gp {
|
|
|
55848
55918
|
f = J;
|
|
55849
55919
|
}
|
|
55850
55920
|
const ee = Math.round(F.pts - F.dts);
|
|
55851
|
-
I = Math.min(I, f), x = Math.max(x, f), M = Math.min(M, Y), T = Math.max(T, Y), l.push(new
|
|
55921
|
+
I = Math.min(I, f), x = Math.max(x, f), M = Math.min(M, Y), T = Math.max(T, Y), l.push(new s4(F.key, f, K, ee));
|
|
55852
55922
|
}
|
|
55853
55923
|
if (l.length) {
|
|
55854
55924
|
if (ac) {
|
|
@@ -55895,7 +55965,7 @@ class gp {
|
|
|
55895
55965
|
case "ac3":
|
|
55896
55966
|
return bse;
|
|
55897
55967
|
default:
|
|
55898
|
-
return
|
|
55968
|
+
return i4;
|
|
55899
55969
|
}
|
|
55900
55970
|
}
|
|
55901
55971
|
remuxAudio(e, n, r, o, i) {
|
|
@@ -55920,7 +55990,7 @@ class gp {
|
|
|
55920
55990
|
V = F - Y * d, V < 0 && (Y--, V += d), P === 0 && (this.nextAudioPts = v = V), We.warn(`[mp4-remuxer]: Injecting ${Y} audio frame @ ${(V / a).toFixed(3)}s due to ${Math.round(1e3 * z / a)} ms gap.`);
|
|
55921
55991
|
for (let ee = 0; ee < Y; ee++) {
|
|
55922
55992
|
const ie = Math.max(V, 0);
|
|
55923
|
-
let J =
|
|
55993
|
+
let J = o4.getSilentFrame(e.manifestCodec || e.codec, e.channelCount);
|
|
55924
55994
|
J || (We.log("[mp4-remuxer]: Unable to get silent frame for given audio codec; duplicating last frame instead."), J = j.unit.subarray()), p.splice(P, 0, {
|
|
55925
55995
|
unit: J,
|
|
55926
55996
|
pts: ie
|
|
@@ -55959,7 +56029,7 @@ class gp {
|
|
|
55959
56029
|
return;
|
|
55960
56030
|
k.set(j, m);
|
|
55961
56031
|
const z = j.byteLength;
|
|
55962
|
-
m += z, b.push(new
|
|
56032
|
+
m += z, b.push(new s4(!0, u, z, 0)), w = F;
|
|
55963
56033
|
}
|
|
55964
56034
|
const B = b.length;
|
|
55965
56035
|
if (!B)
|
|
@@ -55985,7 +56055,7 @@ class gp {
|
|
|
55985
56055
|
return this.isAudioContiguous = !0, T;
|
|
55986
56056
|
}
|
|
55987
56057
|
remuxEmptyAudio(e, n, r, o) {
|
|
55988
|
-
const i = e.inputTimeScale, a = e.samplerate ? e.samplerate : i, l = i / a, c = this.nextAudioPts, u = this._initDTS, d = u.baseTime * 9e4 / u.timescale, h = (c !== null ? c : o.startDTS * i) + d, f = o.endDTS * i + d, b = l *
|
|
56058
|
+
const i = e.inputTimeScale, a = e.samplerate ? e.samplerate : i, l = i / a, c = this.nextAudioPts, u = this._initDTS, d = u.baseTime * 9e4 / u.timescale, h = (c !== null ? c : o.startDTS * i) + d, f = o.endDTS * i + d, b = l * i4, g = Math.ceil((f - h) / b), p = o4.getSilentFrame(e.manifestCodec || e.codec, e.channelCount);
|
|
55989
56059
|
if (We.warn("[mp4-remuxer]: remux empty Audio"), !p) {
|
|
55990
56060
|
We.trace("[mp4-remuxer]: Unable to remuxEmptyAudio since we were unable to get a silent frame for given audio codec");
|
|
55991
56061
|
return;
|
|
@@ -56045,7 +56115,7 @@ function sE(t, e, n) {
|
|
|
56045
56115
|
samples: i
|
|
56046
56116
|
};
|
|
56047
56117
|
}
|
|
56048
|
-
class
|
|
56118
|
+
class s4 {
|
|
56049
56119
|
constructor(e, n, r, o) {
|
|
56050
56120
|
this.size = void 0, this.duration = void 0, this.cts = void 0, this.flags = void 0, this.duration = n, this.size = r, this.cts = o, this.flags = {
|
|
56051
56121
|
isLeading: 0,
|
|
@@ -56082,7 +56152,7 @@ class vse {
|
|
|
56082
56152
|
return;
|
|
56083
56153
|
}
|
|
56084
56154
|
const o = this.initData = R7(e);
|
|
56085
|
-
o.audio && (n =
|
|
56155
|
+
o.audio && (n = a4(o.audio, Vn.AUDIO)), o.video && (r = a4(o.video, Vn.VIDEO));
|
|
56086
56156
|
const i = {};
|
|
56087
56157
|
o.audio && o.video ? i.audiovideo = {
|
|
56088
56158
|
container: "video/mp4",
|
|
@@ -56157,7 +56227,7 @@ function xse(t, e, n, r) {
|
|
|
56157
56227
|
const o = Math.max(r, 1), i = e - t.baseTime / t.timescale;
|
|
56158
56228
|
return Math.abs(i - n) > o;
|
|
56159
56229
|
}
|
|
56160
|
-
function
|
|
56230
|
+
function a4(t, e) {
|
|
56161
56231
|
const n = t == null ? void 0 : t.codec;
|
|
56162
56232
|
if (n && n.length > 4)
|
|
56163
56233
|
return n;
|
|
@@ -56194,7 +56264,7 @@ mp.splice(2, 0, {
|
|
|
56194
56264
|
demux: sse,
|
|
56195
56265
|
remux: gp
|
|
56196
56266
|
});
|
|
56197
|
-
class
|
|
56267
|
+
class l4 {
|
|
56198
56268
|
constructor(e, n, r, o, i) {
|
|
56199
56269
|
this.async = !1, this.observer = void 0, this.typeSupported = void 0, this.config = void 0, this.vendor = void 0, this.id = void 0, this.demuxer = void 0, this.remuxer = void 0, this.decrypter = void 0, this.probe = void 0, this.decryptionPromise = null, this.transmuxConfig = void 0, this.currentTransmuxState = void 0, this.observer = e, this.typeSupported = n, this.config = r, this.vendor = o, this.id = i;
|
|
56200
56270
|
}
|
|
@@ -56537,11 +56607,11 @@ class lE {
|
|
|
56537
56607
|
config: JSON.stringify(i)
|
|
56538
56608
|
});
|
|
56539
56609
|
} catch (d) {
|
|
56540
|
-
We.warn(`Error setting up "${n}" Web Worker, fallback to inline`, d), this.resetWorker(), this.error = null, this.transmuxer = new
|
|
56610
|
+
We.warn(`Error setting up "${n}" Web Worker, fallback to inline`, d), this.resetWorker(), this.error = null, this.transmuxer = new l4(this.observer, c, i, "", n);
|
|
56541
56611
|
}
|
|
56542
56612
|
return;
|
|
56543
56613
|
}
|
|
56544
|
-
this.transmuxer = new
|
|
56614
|
+
this.transmuxer = new l4(this.observer, c, i, "", n);
|
|
56545
56615
|
}
|
|
56546
56616
|
resetWorker() {
|
|
56547
56617
|
if (this.workerContext) {
|
|
@@ -56694,7 +56764,7 @@ function eu(t, e, n) {
|
|
|
56694
56764
|
function d1(t, e) {
|
|
56695
56765
|
return e.label.toLowerCase() === t.name.toLowerCase() && (!e.language || e.language.toLowerCase() === (t.lang || "").toLowerCase());
|
|
56696
56766
|
}
|
|
56697
|
-
const
|
|
56767
|
+
const c4 = 100;
|
|
56698
56768
|
class Ese extends h3 {
|
|
56699
56769
|
constructor(e, n, r) {
|
|
56700
56770
|
super(e, n, r, "[audio-stream-controller]", At.AUDIO), this.videoBuffer = null, this.videoTrackCC = -1, this.waitingVideoCC = -1, this.bufferedTrack = null, this.switchingTrack = null, this.trackId = -1, this.waitingData = null, this.mainDetails = null, this.flushing = !1, this.bufferFlushed = !1, this.cachedTrackLoadedData = null, this._registerListeners();
|
|
@@ -56735,7 +56805,7 @@ class Ese extends h3 {
|
|
|
56735
56805
|
return;
|
|
56736
56806
|
}
|
|
56737
56807
|
const n = this.lastCurrentTime;
|
|
56738
|
-
this.stopLoad(), this.setInterval(
|
|
56808
|
+
this.stopLoad(), this.setInterval(c4), n > 0 && e === -1 ? (this.log(`Override startPosition with lastCurrentTime @${n.toFixed(3)}`), e = n, this.state = ct.IDLE) : (this.loadedmetadata = !1, this.state = ct.WAITING_TRACK), this.nextLoadPosition = this.startPosition = this.lastCurrentTime = e, this.tick();
|
|
56739
56809
|
}
|
|
56740
56810
|
doTick() {
|
|
56741
56811
|
switch (this.state) {
|
|
@@ -56879,7 +56949,7 @@ class Ese extends h3 {
|
|
|
56879
56949
|
const {
|
|
56880
56950
|
fragCurrent: o
|
|
56881
56951
|
} = this;
|
|
56882
|
-
o && (o.abortRequests(), this.removeUnbufferedFrags(o.start)), this.resetLoadingState(), r ? this.setInterval(
|
|
56952
|
+
o && (o.abortRequests(), this.removeUnbufferedFrags(o.start)), this.resetLoadingState(), r ? this.setInterval(c4) : this.resetTransmuxer(), r ? (this.switchingTrack = n, this.state = ct.IDLE, this.flushAudioIfNeeded(n)) : (this.switchingTrack = null, this.bufferedTrack = n, this.state = ct.STOPPED), this.tick();
|
|
56883
56953
|
}
|
|
56884
56954
|
onManifestLoading() {
|
|
56885
56955
|
this.fragmentTracker.removeAllFragments(), this.startPosition = this.lastCurrentTime = 0, this.bufferFlushed = this.flushing = !1, this.levels = this.mainDetails = this.waitingData = this.bufferedTrack = this.cachedTrackLoadedData = this.switchingTrack = null, this.startFragRequested = !1, this.trackId = this.videoTrackCC = this.waitingVideoCC = -1;
|
|
@@ -57382,7 +57452,7 @@ class kse extends c3 {
|
|
|
57382
57452
|
}
|
|
57383
57453
|
}
|
|
57384
57454
|
}
|
|
57385
|
-
const
|
|
57455
|
+
const u4 = 500;
|
|
57386
57456
|
class Lse extends h3 {
|
|
57387
57457
|
constructor(e, n, r) {
|
|
57388
57458
|
super(e, n, r, "[subtitle-stream-controller]", At.SUBTITLE), this.currentTrackId = -1, this.tracksBuffered = [], this.mainDetails = null, this._registerListeners();
|
|
@@ -57403,7 +57473,7 @@ class Lse extends h3 {
|
|
|
57403
57473
|
e.off(Ce.MEDIA_ATTACHED, this.onMediaAttached, this), e.off(Ce.MEDIA_DETACHING, this.onMediaDetaching, this), e.off(Ce.MANIFEST_LOADING, this.onManifestLoading, this), e.off(Ce.LEVEL_LOADED, this.onLevelLoaded, this), e.off(Ce.ERROR, this.onError, this), e.off(Ce.SUBTITLE_TRACKS_UPDATED, this.onSubtitleTracksUpdated, this), e.off(Ce.SUBTITLE_TRACK_SWITCH, this.onSubtitleTrackSwitch, this), e.off(Ce.SUBTITLE_TRACK_LOADED, this.onSubtitleTrackLoaded, this), e.off(Ce.SUBTITLE_FRAG_PROCESSED, this.onSubtitleFragProcessed, this), e.off(Ce.BUFFER_FLUSHING, this.onBufferFlushing, this), e.off(Ce.FRAG_BUFFERED, this.onFragBuffered, this);
|
|
57404
57474
|
}
|
|
57405
57475
|
startLoad(e) {
|
|
57406
|
-
this.stopLoad(), this.state = ct.IDLE, this.setInterval(
|
|
57476
|
+
this.stopLoad(), this.state = ct.IDLE, this.setInterval(u4), this.nextLoadPosition = this.startPosition = this.lastCurrentTime = e, this.tick();
|
|
57407
57477
|
}
|
|
57408
57478
|
onManifestLoading() {
|
|
57409
57479
|
this.mainDetails = null, this.fragmentTracker.removeAllFragments();
|
|
@@ -57491,7 +57561,7 @@ class Lse extends h3 {
|
|
|
57491
57561
|
return;
|
|
57492
57562
|
}
|
|
57493
57563
|
const o = this.levels[this.currentTrackId];
|
|
57494
|
-
o != null && o.details ? this.mediaBuffer = this.mediaBufferTimeRanges : this.mediaBuffer = null, o && this.setInterval(
|
|
57564
|
+
o != null && o.details ? this.mediaBuffer = this.mediaBufferTimeRanges : this.mediaBuffer = null, o && this.setInterval(u4);
|
|
57495
57565
|
}
|
|
57496
57566
|
// Got a new set of subtitle fragments.
|
|
57497
57567
|
onSubtitleTrackLoaded(e, n) {
|
|
@@ -57947,7 +58017,7 @@ class Ise {
|
|
|
57947
58017
|
return this.queues[e][0];
|
|
57948
58018
|
}
|
|
57949
58019
|
}
|
|
57950
|
-
const
|
|
58020
|
+
const d4 = /(avc[1234]|hvc1|hev1|dvh[1e]|vp09|av01)(?:\.[^.,]+)+/;
|
|
57951
58021
|
class Rse {
|
|
57952
58022
|
constructor(e) {
|
|
57953
58023
|
this.details = null, this._objectUrl = null, this.operationQueue = void 0, this.listeners = void 0, this.hls = void 0, this.bufferCodecEventsExpected = 0, this._bufferCodecEventsTotal = 0, this.media = null, this.mediaSource = null, this.lastMpegAudioChunk = null, this.appendSource = void 0, this.appendErrors = {
|
|
@@ -58028,7 +58098,7 @@ class Rse {
|
|
|
58028
58098
|
try {
|
|
58029
58099
|
r.removeAttribute("src");
|
|
58030
58100
|
const c = self.ManagedMediaSource;
|
|
58031
|
-
r.disableRemotePlayback = r.disableRemotePlayback || c && a instanceof c,
|
|
58101
|
+
r.disableRemotePlayback = r.disableRemotePlayback || c && a instanceof c, h4(r), Ase(r, l), r.load();
|
|
58032
58102
|
} catch {
|
|
58033
58103
|
r.src = l;
|
|
58034
58104
|
}
|
|
@@ -58050,7 +58120,7 @@ class Rse {
|
|
|
58050
58120
|
} catch (o) {
|
|
58051
58121
|
this.warn(`onMediaDetaching: ${o.message} while calling endOfStream`);
|
|
58052
58122
|
}
|
|
58053
|
-
this.onBufferReset(), n.removeEventListener("sourceopen", this._onMediaSourceOpen), n.removeEventListener("sourceended", this._onMediaSourceEnded), n.removeEventListener("sourceclose", this._onMediaSourceClose), this.appendSource && (n.removeEventListener("startstreaming", this._onStartStreaming), n.removeEventListener("endstreaming", this._onEndStreaming)), e && (e.removeEventListener("emptied", this._onMediaEmptied), r && self.URL.revokeObjectURL(r), this.mediaSrc === r ? (e.removeAttribute("src"), this.appendSource &&
|
|
58123
|
+
this.onBufferReset(), n.removeEventListener("sourceopen", this._onMediaSourceOpen), n.removeEventListener("sourceended", this._onMediaSourceEnded), n.removeEventListener("sourceclose", this._onMediaSourceClose), this.appendSource && (n.removeEventListener("startstreaming", this._onStartStreaming), n.removeEventListener("endstreaming", this._onEndStreaming)), e && (e.removeEventListener("emptied", this._onMediaEmptied), r && self.URL.revokeObjectURL(r), this.mediaSrc === r ? (e.removeAttribute("src"), this.appendSource && h4(e), e.load()) : this.warn("media|source.src was changed by a third party - skip cleanup")), this.mediaSource = null, this.media = null, this._objectUrl = null, this.bufferCodecEventsExpected = this._bufferCodecEventsTotal, this.pendingTracks = {}, this.tracks = {};
|
|
58054
58124
|
}
|
|
58055
58125
|
this.hls.trigger(Ce.MEDIA_DETACHED, void 0);
|
|
58056
58126
|
}
|
|
@@ -58083,9 +58153,9 @@ class Rse {
|
|
|
58083
58153
|
levelCodec: h,
|
|
58084
58154
|
container: f,
|
|
58085
58155
|
metadata: b
|
|
58086
|
-
} = n[a], g = D6(c.codec, c.levelCodec), p = g == null ? void 0 : g.replace(
|
|
58156
|
+
} = n[a], g = D6(c.codec, c.levelCodec), p = g == null ? void 0 : g.replace(d4, "$1");
|
|
58087
58157
|
let m = D6(d, h);
|
|
58088
|
-
const v = (l = m) == null ? void 0 : l.replace(
|
|
58158
|
+
const v = (l = m) == null ? void 0 : l.replace(d4, "$1");
|
|
58089
58159
|
if (m && p !== v) {
|
|
58090
58160
|
a.slice(0, 5) === "audio" && (m = qp(m, this.appendSource));
|
|
58091
58161
|
const y = `${f};codecs=${m}`;
|
|
@@ -58528,7 +58598,7 @@ class Rse {
|
|
|
58528
58598
|
});
|
|
58529
58599
|
}
|
|
58530
58600
|
}
|
|
58531
|
-
function
|
|
58601
|
+
function h4(t) {
|
|
58532
58602
|
const e = t.querySelectorAll("source");
|
|
58533
58603
|
[].slice.call(e).forEach((n) => {
|
|
58534
58604
|
t.removeChild(n);
|
|
@@ -59029,7 +59099,7 @@ class o2 {
|
|
|
59029
59099
|
return this.rows;
|
|
59030
59100
|
}
|
|
59031
59101
|
}
|
|
59032
|
-
class
|
|
59102
|
+
class f4 {
|
|
59033
59103
|
constructor(e, n, r) {
|
|
59034
59104
|
this.chNr = void 0, this.outputFilter = void 0, this.mode = void 0, this.verbose = void 0, this.displayedMemory = void 0, this.nonDisplayedMemory = void 0, this.lastOutputScreen = void 0, this.currRollUpRow = void 0, this.writeScreen = void 0, this.cueStartTime = void 0, this.logger = void 0, this.chNr = e, this.outputFilter = n, this.mode = null, this.verbose = 0, this.displayedMemory = new o2(r), this.nonDisplayedMemory = new o2(r), this.lastOutputScreen = new o2(r), this.currRollUpRow = this.displayedMemory.rows[Bi - 1], this.writeScreen = this.displayedMemory, this.mode = null, this.cueStartTime = null, this.logger = r;
|
|
59035
59105
|
}
|
|
@@ -59126,11 +59196,11 @@ class f8 {
|
|
|
59126
59196
|
this.outputFilter && (this.displayedMemory.isEmpty() || (this.outputFilter.newCue && this.outputFilter.newCue(this.cueStartTime, e, this.displayedMemory), this.cueStartTime = e));
|
|
59127
59197
|
}
|
|
59128
59198
|
}
|
|
59129
|
-
class
|
|
59199
|
+
class p4 {
|
|
59130
59200
|
constructor(e, n, r) {
|
|
59131
59201
|
this.channels = void 0, this.currentChannel = 0, this.cmdHistory = Use(), this.logger = void 0;
|
|
59132
59202
|
const o = this.logger = new jse();
|
|
59133
|
-
this.channels = [null, new
|
|
59203
|
+
this.channels = [null, new f4(e, n, o), new f4(e + 1, r, o)];
|
|
59134
59204
|
}
|
|
59135
59205
|
getHandler(e) {
|
|
59136
59206
|
return this.channels[e].getHandler();
|
|
@@ -59756,7 +59826,7 @@ const a2 = "stpp.ttml.im1t", gE = /^(\d{2,}):(\d{2}):(\d{2}):(\d{2})\.?(\d+)?$/,
|
|
|
59756
59826
|
start: "start",
|
|
59757
59827
|
end: "end"
|
|
59758
59828
|
};
|
|
59759
|
-
function
|
|
59829
|
+
function g4(t, e, n, r) {
|
|
59760
59830
|
const o = Yt(new Uint8Array(t), ["mdat"]);
|
|
59761
59831
|
if (o.length === 0) {
|
|
59762
59832
|
r(new Error("Could not parse IMSC1 mdat"));
|
|
@@ -59778,7 +59848,7 @@ function Jse(t, e) {
|
|
|
59778
59848
|
subFrameRate: 1,
|
|
59779
59849
|
frameRateMultiplier: 0,
|
|
59780
59850
|
tickRate: 0
|
|
59781
|
-
}, a = Object.keys(i).reduce((h, f) => (h[f] = o.getAttribute(`ttp:${f}`) || i[f], h), {}), l = o.getAttribute("xml:space") !== "preserve", c =
|
|
59851
|
+
}, a = Object.keys(i).reduce((h, f) => (h[f] = o.getAttribute(`ttp:${f}`) || i[f], h), {}), l = o.getAttribute("xml:space") !== "preserve", c = m4(l2(o, "styling", "style")), u = m4(l2(o, "layout", "region")), d = l2(o, "body", "[begin]");
|
|
59782
59852
|
return [].map.call(d, (h) => {
|
|
59783
59853
|
const f = bE(h, l);
|
|
59784
59854
|
if (!f || !h.hasAttribute("begin"))
|
|
@@ -59786,10 +59856,10 @@ function Jse(t, e) {
|
|
|
59786
59856
|
const b = u2(h.getAttribute("begin"), a), g = u2(h.getAttribute("dur"), a);
|
|
59787
59857
|
let p = u2(h.getAttribute("end"), a);
|
|
59788
59858
|
if (b === null)
|
|
59789
|
-
throw
|
|
59859
|
+
throw b4(h);
|
|
59790
59860
|
if (p === null) {
|
|
59791
59861
|
if (g === null)
|
|
59792
|
-
throw
|
|
59862
|
+
throw b4(h);
|
|
59793
59863
|
p = b + g;
|
|
59794
59864
|
}
|
|
59795
59865
|
const m = new y3(b - e, p - e, f);
|
|
@@ -59808,7 +59878,7 @@ function l2(t, e, n) {
|
|
|
59808
59878
|
const r = t.getElementsByTagName(e)[0];
|
|
59809
59879
|
return r ? [].slice.call(r.querySelectorAll(n)) : [];
|
|
59810
59880
|
}
|
|
59811
|
-
function
|
|
59881
|
+
function m4(t) {
|
|
59812
59882
|
return t.reduce((e, n) => {
|
|
59813
59883
|
const r = n.getAttribute("xml:id");
|
|
59814
59884
|
return r && (e[r] = n), e;
|
|
@@ -59846,7 +59916,7 @@ function eae(t, e, n) {
|
|
|
59846
59916
|
function c2(t, e, n) {
|
|
59847
59917
|
return t && t.hasAttributeNS(e, n) ? t.getAttributeNS(e, n) : null;
|
|
59848
59918
|
}
|
|
59849
|
-
function
|
|
59919
|
+
function b4(t) {
|
|
59850
59920
|
return new Error(`Could not parse ttml timestamp ${t}`);
|
|
59851
59921
|
}
|
|
59852
59922
|
function u2(t, e) {
|
|
@@ -59877,7 +59947,7 @@ function nae(t, e) {
|
|
|
59877
59947
|
}
|
|
59878
59948
|
class rae {
|
|
59879
59949
|
constructor(e) {
|
|
59880
|
-
this.hls = void 0, this.media = null, this.config = void 0, this.enabled = !0, this.Cues = void 0, this.textTracks = [], this.tracks = [], this.initPTS = [], this.unparsedVttFrags = [], this.captionsTracks = {}, this.nonNativeCaptionsTracks = {}, this.cea608Parser1 = void 0, this.cea608Parser2 = void 0, this.lastCc = -1, this.lastSn = -1, this.lastPartIndex = -1, this.prevCC = -1, this.vttCCs =
|
|
59950
|
+
this.hls = void 0, this.media = null, this.config = void 0, this.enabled = !0, this.Cues = void 0, this.textTracks = [], this.tracks = [], this.initPTS = [], this.unparsedVttFrags = [], this.captionsTracks = {}, this.nonNativeCaptionsTracks = {}, this.cea608Parser1 = void 0, this.cea608Parser2 = void 0, this.lastCc = -1, this.lastSn = -1, this.lastPartIndex = -1, this.prevCC = -1, this.vttCCs = v4(), this.captionsProperties = void 0, this.hls = e, this.config = e.config, this.Cues = e.config.cueHandler, this.captionsProperties = {
|
|
59881
59951
|
textTrack1: {
|
|
59882
59952
|
label: this.config.captionsTextTrack1Label,
|
|
59883
59953
|
languageCode: this.config.captionsTextTrack1LanguageCode
|
|
@@ -59905,7 +59975,7 @@ class rae {
|
|
|
59905
59975
|
initCea608Parsers() {
|
|
59906
59976
|
if (this.config.enableCEA708Captions && (!this.cea608Parser1 || !this.cea608Parser2)) {
|
|
59907
59977
|
const e = new zf(this, "textTrack1"), n = new zf(this, "textTrack2"), r = new zf(this, "textTrack3"), o = new zf(this, "textTrack4");
|
|
59908
|
-
this.cea608Parser1 = new
|
|
59978
|
+
this.cea608Parser1 = new p4(1, e, n), this.cea608Parser2 = new p4(3, r, o);
|
|
59909
59979
|
}
|
|
59910
59980
|
}
|
|
59911
59981
|
addCues(e, n, r, o, i) {
|
|
@@ -59951,7 +60021,7 @@ class rae {
|
|
|
59951
60021
|
if (r)
|
|
59952
60022
|
for (let o = 0; o < r.textTracks.length; o++) {
|
|
59953
60023
|
const i = r.textTracks[o];
|
|
59954
|
-
if (
|
|
60024
|
+
if (y4(i, {
|
|
59955
60025
|
name: e,
|
|
59956
60026
|
lang: n,
|
|
59957
60027
|
attrs: {}
|
|
@@ -60015,7 +60085,7 @@ class rae {
|
|
|
60015
60085
|
}), this.nonNativeCaptionsTracks = {};
|
|
60016
60086
|
}
|
|
60017
60087
|
onManifestLoading() {
|
|
60018
|
-
this.lastCc = -1, this.lastSn = -1, this.lastPartIndex = -1, this.prevCC = -1, this.vttCCs =
|
|
60088
|
+
this.lastCc = -1, this.lastSn = -1, this.lastPartIndex = -1, this.prevCC = -1, this.vttCCs = v4(), this._cleanTracks(), this.tracks = [], this.captionsTracks = {}, this.nonNativeCaptionsTracks = {}, this.textTracks = [], this.unparsedVttFrags = [], this.initPTS = [], this.cea608Parser1 && this.cea608Parser2 && (this.cea608Parser1.reset(), this.cea608Parser2.reset());
|
|
60019
60089
|
}
|
|
60020
60090
|
_cleanTracks() {
|
|
60021
60091
|
const {
|
|
@@ -60042,7 +60112,7 @@ class rae {
|
|
|
60042
60112
|
if (l) {
|
|
60043
60113
|
let h = null;
|
|
60044
60114
|
for (let f = 0; f < l.length; f++)
|
|
60045
|
-
if (l[f] &&
|
|
60115
|
+
if (l[f] && y4(l[f], c)) {
|
|
60046
60116
|
h = l[f], l[f] = null;
|
|
60047
60117
|
break;
|
|
60048
60118
|
}
|
|
@@ -60124,7 +60194,7 @@ class rae {
|
|
|
60124
60194
|
}
|
|
60125
60195
|
_parseIMSC1(e, n) {
|
|
60126
60196
|
const r = this.hls;
|
|
60127
|
-
|
|
60197
|
+
g4(n, this.initPTS[e.cc], (o) => {
|
|
60128
60198
|
this._appendCues(o, e.level), r.trigger(Ce.SUBTITLE_FRAG_PROCESSED, {
|
|
60129
60199
|
success: !0,
|
|
60130
60200
|
frag: e
|
|
@@ -60167,7 +60237,7 @@ class rae {
|
|
|
60167
60237
|
}
|
|
60168
60238
|
_fallbackToIMSC1(e, n) {
|
|
60169
60239
|
const r = this.tracks[e.level];
|
|
60170
|
-
r.textCodec ||
|
|
60240
|
+
r.textCodec || g4(n, this.initPTS[e.cc], () => {
|
|
60171
60241
|
r.textCodec = a2, this._parseIMSC1(e, n);
|
|
60172
60242
|
}, () => {
|
|
60173
60243
|
r.textCodec = "wvtt";
|
|
@@ -60264,13 +60334,13 @@ class rae {
|
|
|
60264
60334
|
function yE(t) {
|
|
60265
60335
|
return t.characteristics && /transcribes-spoken-dialog/gi.test(t.characteristics) && /describes-music-and-sound/gi.test(t.characteristics) ? "captions" : "subtitles";
|
|
60266
60336
|
}
|
|
60267
|
-
function
|
|
60337
|
+
function y4(t, e) {
|
|
60268
60338
|
return !!t && t.kind === yE(e) && d1(e, t);
|
|
60269
60339
|
}
|
|
60270
60340
|
function oae(t, e, n, r) {
|
|
60271
60341
|
return Math.min(e, r) - Math.max(t, n);
|
|
60272
60342
|
}
|
|
60273
|
-
function
|
|
60343
|
+
function v4() {
|
|
60274
60344
|
return {
|
|
60275
60345
|
ccOffset: 0,
|
|
60276
60346
|
presentationOffset: 0,
|
|
@@ -61037,7 +61107,7 @@ function cae(t, e, n, r) {
|
|
|
61037
61107
|
cause: r
|
|
61038
61108
|
});
|
|
61039
61109
|
}
|
|
61040
|
-
const
|
|
61110
|
+
const x4 = "Bare Item", uae = "Boolean", dae = "Byte Sequence", hae = "Decimal", fae = "Integer";
|
|
61041
61111
|
function pae(t) {
|
|
61042
61112
|
return t < -999999999999999 || 999999999999999 < t;
|
|
61043
61113
|
}
|
|
@@ -61092,7 +61162,7 @@ function Tae(t) {
|
|
|
61092
61162
|
function Eae(t) {
|
|
61093
61163
|
return t.description || t.toString().slice(7, -1);
|
|
61094
61164
|
}
|
|
61095
|
-
function
|
|
61165
|
+
function C4(t) {
|
|
61096
61166
|
const e = Eae(t);
|
|
61097
61167
|
if (/^([a-zA-Z*])([!#$%&'*+\-.^_`|~\w:/]*)$/.test(e) === !1)
|
|
61098
61168
|
throw Cs(e, mae);
|
|
@@ -61102,12 +61172,12 @@ function p1(t) {
|
|
|
61102
61172
|
switch (typeof t) {
|
|
61103
61173
|
case "number":
|
|
61104
61174
|
if (!Tt(t))
|
|
61105
|
-
throw Cs(t,
|
|
61175
|
+
throw Cs(t, x4);
|
|
61106
61176
|
return Number.isInteger(t) ? xE(t) : wae(t);
|
|
61107
61177
|
case "string":
|
|
61108
61178
|
return Tae(t);
|
|
61109
61179
|
case "symbol":
|
|
61110
|
-
return
|
|
61180
|
+
return C4(t);
|
|
61111
61181
|
case "boolean":
|
|
61112
61182
|
return yae(t);
|
|
61113
61183
|
case "object":
|
|
@@ -61116,9 +61186,9 @@ function p1(t) {
|
|
|
61116
61186
|
if (t instanceof Uint8Array)
|
|
61117
61187
|
return xae(t);
|
|
61118
61188
|
if (t instanceof vE)
|
|
61119
|
-
return
|
|
61189
|
+
return C4(t);
|
|
61120
61190
|
default:
|
|
61121
|
-
throw Cs(t,
|
|
61191
|
+
throw Cs(t, x4);
|
|
61122
61192
|
}
|
|
61123
61193
|
}
|
|
61124
61194
|
function g1(t) {
|
|
@@ -61250,13 +61320,13 @@ function jae(t, e = {}) {
|
|
|
61250
61320
|
const n = SE(t, e);
|
|
61251
61321
|
return `${Bae}=${encodeURIComponent(n)}`;
|
|
61252
61322
|
}
|
|
61253
|
-
const
|
|
61323
|
+
const w4 = /CMCD=[^&#]+/;
|
|
61254
61324
|
function $ae(t, e, n) {
|
|
61255
61325
|
const r = jae(e, n);
|
|
61256
61326
|
if (!r)
|
|
61257
61327
|
return t;
|
|
61258
|
-
if (
|
|
61259
|
-
return t.replace(
|
|
61328
|
+
if (w4.test(t))
|
|
61329
|
+
return t.replace(w4, r);
|
|
61260
61330
|
const o = t.includes("?") ? "&" : "?";
|
|
61261
61331
|
return `${t}${o}${r}`;
|
|
61262
61332
|
}
|
|
@@ -61582,7 +61652,7 @@ class Uae {
|
|
|
61582
61652
|
p.addGroupId("text", `${d.subtitleGroups[m]}_clone_${a}`);
|
|
61583
61653
|
return p;
|
|
61584
61654
|
});
|
|
61585
|
-
n.push(...u),
|
|
61655
|
+
n.push(...u), S4(this.audioTracks, r, c, a), S4(this.subtitleTracks, o, c, a);
|
|
61586
61656
|
});
|
|
61587
61657
|
}
|
|
61588
61658
|
loadSteeringManifest(e) {
|
|
@@ -61671,7 +61741,7 @@ class Uae {
|
|
|
61671
61741
|
}, n);
|
|
61672
61742
|
}
|
|
61673
61743
|
}
|
|
61674
|
-
function
|
|
61744
|
+
function S4(t, e, n, r) {
|
|
61675
61745
|
t && Object.keys(e).forEach((o) => {
|
|
61676
61746
|
const i = t.filter((a) => a.groupId === o).map((a) => {
|
|
61677
61747
|
const l = Ar({}, a);
|
|
@@ -61836,7 +61906,7 @@ function Gae() {
|
|
|
61836
61906
|
return !1;
|
|
61837
61907
|
}
|
|
61838
61908
|
const Wae = /(\d+)-(\d+)\/(\d+)/;
|
|
61839
|
-
class
|
|
61909
|
+
class T4 {
|
|
61840
61910
|
constructor(e) {
|
|
61841
61911
|
this.fetchSetup = void 0, this.requestTimeout = void 0, this.request = null, this.response = null, this.controller = void 0, this.context = null, this.config = null, this.callbacks = null, this.stats = void 0, this.loader = null, this.fetchSetup = e.fetchSetup || Xae, this.controller = new self.AbortController(), this.stats = new tg();
|
|
61842
61912
|
}
|
|
@@ -62286,7 +62356,7 @@ function m1(t) {
|
|
|
62286
62356
|
}
|
|
62287
62357
|
function rle(t) {
|
|
62288
62358
|
const e = t.loader;
|
|
62289
|
-
e !==
|
|
62359
|
+
e !== T4 && e !== EE ? (We.log("[config]: Custom loader detected, cannot enable progressive streaming"), t.progressive = !1) : Gae() && (t.loader = T4, t.progressive = !0, t.enableSoftwareAES = !0, We.log("[config]: Progressive streaming enabled, using FetchLoader"));
|
|
62290
62360
|
}
|
|
62291
62361
|
let d2;
|
|
62292
62362
|
class ole extends c3 {
|
|
@@ -62387,9 +62457,9 @@ class ole extends c3 {
|
|
|
62387
62457
|
const {
|
|
62388
62458
|
preferManagedMediaSource: g
|
|
62389
62459
|
} = this.hls.config;
|
|
62390
|
-
a = n.audioTracks.filter((p) => !p.audioCodec || Xm(p.audioCodec, "audio", g)),
|
|
62460
|
+
a = n.audioTracks.filter((p) => !p.audioCodec || Xm(p.audioCodec, "audio", g)), E4(a);
|
|
62391
62461
|
}
|
|
62392
|
-
n.subtitles && (l = n.subtitles,
|
|
62462
|
+
n.subtitles && (l = n.subtitles, E4(l));
|
|
62393
62463
|
const u = c.slice(0);
|
|
62394
62464
|
c.sort((g, p) => {
|
|
62395
62465
|
if (g.attrs["HDCP-LEVEL"] !== p.attrs["HDCP-LEVEL"])
|
|
@@ -62611,7 +62681,7 @@ class ole extends c3 {
|
|
|
62611
62681
|
}));
|
|
62612
62682
|
}
|
|
62613
62683
|
}
|
|
62614
|
-
function
|
|
62684
|
+
function E4(t) {
|
|
62615
62685
|
const e = {};
|
|
62616
62686
|
t.forEach((n) => {
|
|
62617
62687
|
const r = n.groupId || "";
|
|
@@ -64650,7 +64720,7 @@ const wle = {
|
|
|
64650
64720
|
backgroundColor: nr,
|
|
64651
64721
|
opacity: 1
|
|
64652
64722
|
}
|
|
64653
|
-
},
|
|
64723
|
+
}, k4 = {
|
|
64654
64724
|
fontWeight: 500,
|
|
64655
64725
|
fontSize: "16px",
|
|
64656
64726
|
lineHeight: "16px",
|
|
@@ -64679,8 +64749,8 @@ const wle = {
|
|
|
64679
64749
|
alignItems: "center",
|
|
64680
64750
|
children: [
|
|
64681
64751
|
/* @__PURE__ */ H.jsxs(en, { container: !0, flexDirection: "column", gap: "15px", children: [
|
|
64682
|
-
n && /* @__PURE__ */ H.jsx(Ia, { sx:
|
|
64683
|
-
o && /* @__PURE__ */ H.jsx(Ia, { sx:
|
|
64752
|
+
n && /* @__PURE__ */ H.jsx(Ia, { sx: k4, children: /* @__PURE__ */ H.jsx(Gt, { sx: Ale(i), title: n, children: n }) }),
|
|
64753
|
+
o && /* @__PURE__ */ H.jsx(Ia, { sx: k4, children: /* @__PURE__ */ H.jsx(Gt, { sx: Dle(a), title: o, children: o }) })
|
|
64684
64754
|
] }),
|
|
64685
64755
|
/* @__PURE__ */ H.jsx(
|
|
64686
64756
|
vl,
|
|
@@ -67238,11 +67308,11 @@ const jle = (t, e) => {
|
|
|
67238
67308
|
n.filter((c) => c.filename !== "map.svg").map(async (c) => {
|
|
67239
67309
|
const u = c.filename.match(/menu_([a-zA-Z0-9]+)\.svg/);
|
|
67240
67310
|
return u ? {
|
|
67241
|
-
[u[1]]: await
|
|
67311
|
+
[u[1]]: await L4(c.content)
|
|
67242
67312
|
} : null;
|
|
67243
67313
|
})
|
|
67244
67314
|
)).filter((c) => c !== null).reduce((c, u) => ({ ...c, ...u }), {}),
|
|
67245
|
-
map: await
|
|
67315
|
+
map: await L4(r)
|
|
67246
67316
|
};
|
|
67247
67317
|
}, $le = async (t) => {
|
|
67248
67318
|
const e = await t.arrayBuffer(), n = await Nle.loadAsync(e), r = [];
|
|
@@ -67256,7 +67326,7 @@ const jle = (t, e) => {
|
|
|
67256
67326
|
function b1(t, e) {
|
|
67257
67327
|
return t.includes(e) ? t.split(e)[0] : t;
|
|
67258
67328
|
}
|
|
67259
|
-
const
|
|
67329
|
+
const L4 = async (t) => {
|
|
67260
67330
|
try {
|
|
67261
67331
|
const n = new DOMParser().parseFromString(t, "image/svg+xml");
|
|
67262
67332
|
return AE(n.children[0]);
|
|
@@ -67399,13 +67469,13 @@ var y1, Kf = dd;
|
|
|
67399
67469
|
if (process.env.NODE_ENV === "production")
|
|
67400
67470
|
y1 = Kf.createRoot, Kf.hydrateRoot;
|
|
67401
67471
|
else {
|
|
67402
|
-
var
|
|
67472
|
+
var M4 = Kf.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
67403
67473
|
y1 = function(t, e) {
|
|
67404
|
-
|
|
67474
|
+
M4.usingClientEntryPoint = !0;
|
|
67405
67475
|
try {
|
|
67406
67476
|
return Kf.createRoot(t, e);
|
|
67407
67477
|
} finally {
|
|
67408
|
-
|
|
67478
|
+
M4.usingClientEntryPoint = !1;
|
|
67409
67479
|
}
|
|
67410
67480
|
};
|
|
67411
67481
|
}
|
|
@@ -74448,7 +74518,7 @@ const Jle = /* @__PURE__ */ Do(Qle), ece = [
|
|
|
74448
74518
|
borderBottom: "1px solid rgba(224, 224, 224, 1)",
|
|
74449
74519
|
height: "52px",
|
|
74450
74520
|
padding: "8px"
|
|
74451
|
-
},
|
|
74521
|
+
}, P4 = (t) => ({
|
|
74452
74522
|
marginLeft: "auto",
|
|
74453
74523
|
color: t === "light" ? "#000000" : "rgba(255, 255, 255, 0.5)",
|
|
74454
74524
|
fontSize: "14px"
|
|
@@ -74783,14 +74853,14 @@ const Iye = ({
|
|
|
74783
74853
|
)
|
|
74784
74854
|
}
|
|
74785
74855
|
),
|
|
74786
|
-
m && /* @__PURE__ */ H.jsxs(Gt, { sx:
|
|
74856
|
+
m && /* @__PURE__ */ H.jsxs(Gt, { sx: P4(e), children: [
|
|
74787
74857
|
"Date range: ",
|
|
74788
74858
|
new Date(m.min).toLocaleString(),
|
|
74789
74859
|
" -",
|
|
74790
74860
|
" ",
|
|
74791
74861
|
new Date(m.max).toLocaleString()
|
|
74792
74862
|
] }),
|
|
74793
|
-
/* @__PURE__ */ H.jsxs(Gt, { sx:
|
|
74863
|
+
/* @__PURE__ */ H.jsxs(Gt, { sx: P4(e), children: [
|
|
74794
74864
|
t.length,
|
|
74795
74865
|
" rows from ",
|
|
74796
74866
|
c || "Unknown"
|
|
@@ -74805,13 +74875,13 @@ const lce = (t, e) => e === 1 ? "white" : `hsl(${360 * +t * 5 / e / 4}, 100%, 50
|
|
|
74805
74875
|
}, zs = (t, e, n) => {
|
|
74806
74876
|
const r = (t + 0.5) * n.width, o = (e + 0.5) * n.height;
|
|
74807
74877
|
return { x: r, y: o };
|
|
74808
|
-
},
|
|
74878
|
+
}, I4 = (t, e) => {
|
|
74809
74879
|
if (e)
|
|
74810
74880
|
return t == null ? void 0 : t.map((n) => {
|
|
74811
74881
|
const r = zs(n == null ? void 0 : n.x, n == null ? void 0 : n.y, e);
|
|
74812
74882
|
return `${r == null ? void 0 : r.x},${r == null ? void 0 : r.y}`;
|
|
74813
74883
|
}).join(" ");
|
|
74814
|
-
},
|
|
74884
|
+
}, R4 = (t, e, n = 0.03) => {
|
|
74815
74885
|
const r = t.x - e.x, o = t.y - e.y;
|
|
74816
74886
|
return Math.sqrt(r * r + o * o) < n;
|
|
74817
74887
|
}, cce = (t, e, n) => {
|
|
@@ -74837,7 +74907,7 @@ const lce = (t, e) => e === 1 ? "white" : `hsl(${360 * +t * 5 / e / 4}, 100%, 50
|
|
|
74837
74907
|
(i) => i.type === ji.Polygon && fce(i.points, o)
|
|
74838
74908
|
);
|
|
74839
74909
|
}, dce = (t) => t.reduce((e, n) => t0(e) < t0(n) ? e : n, t[0]);
|
|
74840
|
-
function
|
|
74910
|
+
function A4(t) {
|
|
74841
74911
|
return t.sort((e, n) => t0(n) - t0(e));
|
|
74842
74912
|
}
|
|
74843
74913
|
const hce = (t = []) => wl.isEqual(t[0], t.at(-1)) && t.length !== 1 ? t.slice(0, -1) : t, fce = (t, e) => {
|
|
@@ -74880,9 +74950,9 @@ const hce = (t = []) => wl.isEqual(t[0], t.at(-1)) && t.length !== 1 ? t.slice(0
|
|
|
74880
74950
|
};
|
|
74881
74951
|
var S3 = {}, h2 = {};
|
|
74882
74952
|
const gce = /* @__PURE__ */ Ks(dV);
|
|
74883
|
-
var
|
|
74953
|
+
var D4;
|
|
74884
74954
|
function T3() {
|
|
74885
|
-
return
|
|
74955
|
+
return D4 || (D4 = 1, function(t) {
|
|
74886
74956
|
"use client";
|
|
74887
74957
|
Object.defineProperty(t, "__esModule", {
|
|
74888
74958
|
value: !0
|
|
@@ -75019,7 +75089,7 @@ const f2 = {
|
|
|
75019
75089
|
cy: r.y
|
|
75020
75090
|
}
|
|
75021
75091
|
);
|
|
75022
|
-
},
|
|
75092
|
+
}, O4 = ({ point: t, number: e, rect: n }) => {
|
|
75023
75093
|
const r = zs(t.x, t.y, n);
|
|
75024
75094
|
return /* @__PURE__ */ H.jsxs(H.Fragment, { children: [
|
|
75025
75095
|
/* @__PURE__ */ H.jsx(
|
|
@@ -75109,7 +75179,7 @@ const f2 = {
|
|
|
75109
75179
|
};
|
|
75110
75180
|
}
|
|
75111
75181
|
}, []), Pe(() => {
|
|
75112
|
-
const X = JSON.parse(P), ne =
|
|
75182
|
+
const X = JSON.parse(P), ne = A4(X);
|
|
75113
75183
|
_(ne), (X.length === 1 || X.length === 2 && X.some((re) => re.type !== ji.Point)) && (O(X[0]), a == null || a(X[0], X));
|
|
75114
75184
|
}, [P]), Pe(() => {
|
|
75115
75185
|
y(e);
|
|
@@ -75155,7 +75225,7 @@ const f2 = {
|
|
|
75155
75225
|
), ie = (X) => {
|
|
75156
75226
|
const ne = X.currentTarget.getBoundingClientRect(), re = fc(X.clientX - ne.left, X.clientY - ne.top, ne);
|
|
75157
75227
|
if (l == null || l(re), v === zn.CreatePolygon && T.length > 0) {
|
|
75158
|
-
const ae =
|
|
75228
|
+
const ae = R4(re, T[0]);
|
|
75159
75229
|
x(ae), T.length > 1 ? R([...T.slice(0, -1), re]) : R([T[0], re]);
|
|
75160
75230
|
} else if (D !== null && B && X.buttons === 1) {
|
|
75161
75231
|
const ae = X.currentTarget.getBoundingClientRect(), ue = fc(X.clientX - ae.left, X.clientY - ae.top, ae), ge = [...B.points];
|
|
@@ -75171,7 +75241,7 @@ const f2 = {
|
|
|
75171
75241
|
}, J = (X) => {
|
|
75172
75242
|
if (X.target === m.current) {
|
|
75173
75243
|
if (h || L.length === 1) return;
|
|
75174
|
-
const ne =
|
|
75244
|
+
const ne = A4(r);
|
|
75175
75245
|
_(ne), O(null), a == null || a(null, L), I(null);
|
|
75176
75246
|
}
|
|
75177
75247
|
}, se = Tr(
|
|
@@ -75189,7 +75259,7 @@ const f2 = {
|
|
|
75189
75259
|
const ne = X.currentTarget.getBoundingClientRect();
|
|
75190
75260
|
if (!ne) return;
|
|
75191
75261
|
const re = fc(X.clientX - ne.left, X.clientY - ne.top, ne);
|
|
75192
|
-
if (T.length >= 3 &&
|
|
75262
|
+
if (T.length >= 3 && R4(re, T[0])) {
|
|
75193
75263
|
const ue = [...T.slice(0, -1), T[0]], ge = {
|
|
75194
75264
|
type: ji.Polygon,
|
|
75195
75265
|
id: tce(),
|
|
@@ -75276,7 +75346,7 @@ const f2 = {
|
|
|
75276
75346
|
) }),
|
|
75277
75347
|
L == null ? void 0 : L.map((X, ne) => {
|
|
75278
75348
|
var ue, ge, pe, he;
|
|
75279
|
-
const re =
|
|
75349
|
+
const re = I4(X.points, C), ae = C && zs((ue = X.points[0]) == null ? void 0 : ue.x, (ge = X.points[0]) == null ? void 0 : ge.y, C);
|
|
75280
75350
|
return /* @__PURE__ */ H.jsxs(__, { children: [
|
|
75281
75351
|
X.type === ji.Polygon && /* @__PURE__ */ H.jsxs(H.Fragment, { children: [
|
|
75282
75352
|
X.header && /* @__PURE__ */ H.jsx(
|
|
@@ -75330,7 +75400,7 @@ const f2 = {
|
|
|
75330
75400
|
X.id
|
|
75331
75401
|
)
|
|
75332
75402
|
] }),
|
|
75333
|
-
X.type === ji.Polygon && (B == null ? void 0 : B.id) === X.id && u && ((pe = hce(X.points)) == null ? void 0 : pe.map((ce, fe) => C ? /* @__PURE__ */ H.jsx(
|
|
75403
|
+
X.type === ji.Polygon && (B == null ? void 0 : B.id) === X.id && u && ((pe = hce(X.points)) == null ? void 0 : pe.map((ce, fe) => C ? /* @__PURE__ */ H.jsx(O4, { point: ce, number: fe, rect: C }, fe) : null)),
|
|
75334
75404
|
X.type === ji.Polyline && /* @__PURE__ */ H.jsxs(H.Fragment, { children: [
|
|
75335
75405
|
b && /* @__PURE__ */ H.jsx(
|
|
75336
75406
|
"circle",
|
|
@@ -75393,7 +75463,7 @@ const f2 = {
|
|
|
75393
75463
|
/* @__PURE__ */ H.jsx(
|
|
75394
75464
|
"polyline",
|
|
75395
75465
|
{
|
|
75396
|
-
points:
|
|
75466
|
+
points: I4(T, C),
|
|
75397
75467
|
style: {
|
|
75398
75468
|
fill: "transparent",
|
|
75399
75469
|
stroke: "#1975d2",
|
|
@@ -75418,7 +75488,7 @@ const f2 = {
|
|
|
75418
75488
|
`draw-shape-${ne}`
|
|
75419
75489
|
);
|
|
75420
75490
|
}),
|
|
75421
|
-
v === zn.CreatePolygon && u && (T == null ? void 0 : T.map((X, ne) => C ? /* @__PURE__ */ H.jsx(
|
|
75491
|
+
v === zn.CreatePolygon && u && (T == null ? void 0 : T.map((X, ne) => C ? /* @__PURE__ */ H.jsx(O4, { point: X, number: ne, rect: C }, ne) : null))
|
|
75422
75492
|
]
|
|
75423
75493
|
}
|
|
75424
75494
|
)
|
|
@@ -75619,7 +75689,7 @@ function un(t) {
|
|
|
75619
75689
|
var e = t.updaterMap, n = t.eventMap, r = t.prevProps, o = t.nextProps, i = t.instance, a = Bce(o, i, n);
|
|
75620
75690
|
return Nce(e, r, o, i), a;
|
|
75621
75691
|
}
|
|
75622
|
-
var
|
|
75692
|
+
var _4 = {
|
|
75623
75693
|
onDblClick: "dblclick",
|
|
75624
75694
|
onDragEnd: "dragend",
|
|
75625
75695
|
onDragStart: "dragstart",
|
|
@@ -75641,7 +75711,7 @@ var _8 = {
|
|
|
75641
75711
|
onResize: "resize",
|
|
75642
75712
|
onTiltChanged: "tilt_changed",
|
|
75643
75713
|
onZoomChanged: "zoom_changed"
|
|
75644
|
-
},
|
|
75714
|
+
}, F4 = {
|
|
75645
75715
|
extraMapTypes: function(t, e) {
|
|
75646
75716
|
e.forEach(function(r, o) {
|
|
75647
75717
|
t.mapTypes.set(String(o), r);
|
|
@@ -75732,8 +75802,8 @@ var Vce = (
|
|
|
75732
75802
|
return e.prototype.componentDidMount = function() {
|
|
75733
75803
|
var n = this.getInstance();
|
|
75734
75804
|
this.registeredEvents = un({
|
|
75735
|
-
updaterMap:
|
|
75736
|
-
eventMap:
|
|
75805
|
+
updaterMap: F4,
|
|
75806
|
+
eventMap: _4,
|
|
75737
75807
|
prevProps: {},
|
|
75738
75808
|
nextProps: this.props,
|
|
75739
75809
|
instance: n
|
|
@@ -75744,8 +75814,8 @@ var Vce = (
|
|
|
75744
75814
|
}, this.setMapCallback);
|
|
75745
75815
|
}, e.prototype.componentDidUpdate = function(n) {
|
|
75746
75816
|
this.state.map !== null && (hn(this.registeredEvents), this.registeredEvents = un({
|
|
75747
|
-
updaterMap:
|
|
75748
|
-
eventMap:
|
|
75817
|
+
updaterMap: F4,
|
|
75818
|
+
eventMap: _4,
|
|
75749
75819
|
prevProps: n,
|
|
75750
75820
|
nextProps: this.props,
|
|
75751
75821
|
instance: this.state.map
|
|
@@ -75786,7 +75856,7 @@ function VE(t) {
|
|
|
75786
75856
|
throw console.error("injectScript error: ", o), o;
|
|
75787
75857
|
}) : Promise.reject(new Error("document is undefined"));
|
|
75788
75858
|
}
|
|
75789
|
-
function
|
|
75859
|
+
function N4(t) {
|
|
75790
75860
|
var e = t.href;
|
|
75791
75861
|
return e && (e.indexOf("https://fonts.googleapis.com/css?family=Roboto") === 0 || e.indexOf("https://fonts.googleapis.com/css?family=Google+Sans+Text") === 0) ? !0 : (
|
|
75792
75862
|
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
|
|
@@ -75823,11 +75893,11 @@ function HE() {
|
|
|
75823
75893
|
if (t) {
|
|
75824
75894
|
var e = t.insertBefore.bind(t);
|
|
75825
75895
|
t.insertBefore = function(o, i) {
|
|
75826
|
-
return
|
|
75896
|
+
return N4(o) || Reflect.apply(e, t, [o, i]), o;
|
|
75827
75897
|
};
|
|
75828
75898
|
var n = t.appendChild.bind(t);
|
|
75829
75899
|
t.appendChild = function(o) {
|
|
75830
|
-
return
|
|
75900
|
+
return N4(o) || Reflect.apply(n, t, [o]), o;
|
|
75831
75901
|
};
|
|
75832
75902
|
}
|
|
75833
75903
|
}
|
|
@@ -75932,7 +76002,7 @@ var x1 = {
|
|
|
75932
76002
|
return H.jsxs(H.Fragment, { children: [H.jsx("div", { ref: this.check }), this.state.loaded ? this.props.children : this.props.loadingElement || H.jsx(zE, {})] });
|
|
75933
76003
|
}, e.defaultProps = x1, e;
|
|
75934
76004
|
}(er)
|
|
75935
|
-
),
|
|
76005
|
+
), B4;
|
|
75936
76006
|
function Uce(t) {
|
|
75937
76007
|
var e = t.id, n = e === void 0 ? x1.id : e, r = t.version, o = r === void 0 ? x1.version : r, i = t.nonce, a = t.googleMapsApiKey, l = t.googleMapsClientId, c = t.language, u = t.region, d = t.libraries, h = t.preventGoogleFontsLoading, f = t.channel, b = t.mapIds, g = t.authReferrerPolicy, p = Xr(!1), m = $e(!1), v = m[0], y = m[1], C = $e(void 0), E = C[0], w = C[1];
|
|
75938
76008
|
Pe(function() {
|
|
@@ -75959,9 +76029,9 @@ function Uce(t) {
|
|
|
75959
76029
|
if (!sl)
|
|
75960
76030
|
return;
|
|
75961
76031
|
function B() {
|
|
75962
|
-
p.current && (y(!0),
|
|
76032
|
+
p.current && (y(!0), B4 = k);
|
|
75963
76033
|
}
|
|
75964
|
-
if (window.google && window.google.maps &&
|
|
76034
|
+
if (window.google && window.google.maps && B4 === k) {
|
|
75965
76035
|
B();
|
|
75966
76036
|
return;
|
|
75967
76037
|
}
|
|
@@ -75991,11 +76061,11 @@ function Gce(t) {
|
|
|
75991
76061
|
}, [o]), c ? i : e || zce;
|
|
75992
76062
|
}
|
|
75993
76063
|
vr(Gce);
|
|
75994
|
-
var
|
|
76064
|
+
var j4;
|
|
75995
76065
|
(function(t) {
|
|
75996
76066
|
t[t.INITIALIZED = 0] = "INITIALIZED", t[t.LOADING = 1] = "LOADING", t[t.SUCCESS = 2] = "SUCCESS", t[t.FAILURE = 3] = "FAILURE";
|
|
75997
|
-
})(
|
|
75998
|
-
var $
|
|
76067
|
+
})(j4 || (j4 = {}));
|
|
76068
|
+
var $4 = {}, V4 = {
|
|
75999
76069
|
options: function(t, e) {
|
|
76000
76070
|
t.setOptions(e);
|
|
76001
76071
|
}
|
|
@@ -76027,8 +76097,8 @@ vr(Wce);
|
|
|
76027
76097
|
return e.prototype.componentDidMount = function() {
|
|
76028
76098
|
var n = new google.maps.TrafficLayer(Mt(Mt({}, this.props.options || {}), { map: this.context }));
|
|
76029
76099
|
this.registeredEvents = un({
|
|
76030
|
-
updaterMap:
|
|
76031
|
-
eventMap: $
|
|
76100
|
+
updaterMap: V4,
|
|
76101
|
+
eventMap: $4,
|
|
76032
76102
|
prevProps: {},
|
|
76033
76103
|
nextProps: this.props,
|
|
76034
76104
|
instance: n
|
|
@@ -76039,8 +76109,8 @@ vr(Wce);
|
|
|
76039
76109
|
}, this.setTrafficLayerCallback);
|
|
76040
76110
|
}, e.prototype.componentDidUpdate = function(n) {
|
|
76041
76111
|
this.state.trafficLayer !== null && (hn(this.registeredEvents), this.registeredEvents = un({
|
|
76042
|
-
updaterMap:
|
|
76043
|
-
eventMap: $
|
|
76112
|
+
updaterMap: V4,
|
|
76113
|
+
eventMap: $4,
|
|
76044
76114
|
prevProps: n,
|
|
76045
76115
|
nextProps: this.props,
|
|
76046
76116
|
instance: this.state.trafficLayer
|
|
@@ -76121,14 +76191,14 @@ vr(Yce);
|
|
|
76121
76191
|
return null;
|
|
76122
76192
|
}, e.contextType = nn, e;
|
|
76123
76193
|
})(er);
|
|
76124
|
-
var
|
|
76194
|
+
var H4 = {
|
|
76125
76195
|
onCircleComplete: "circlecomplete",
|
|
76126
76196
|
onMarkerComplete: "markercomplete",
|
|
76127
76197
|
onOverlayComplete: "overlaycomplete",
|
|
76128
76198
|
onPolygonComplete: "polygoncomplete",
|
|
76129
76199
|
onPolylineComplete: "polylinecomplete",
|
|
76130
76200
|
onRectangleComplete: "rectanglecomplete"
|
|
76131
|
-
},
|
|
76201
|
+
}, U4 = {
|
|
76132
76202
|
drawingMode: function(t, e) {
|
|
76133
76203
|
t.setDrawingMode(e);
|
|
76134
76204
|
},
|
|
@@ -76178,8 +76248,8 @@ vr(Kce);
|
|
|
76178
76248
|
return e.prototype.componentDidMount = function() {
|
|
76179
76249
|
var n = new google.maps.drawing.DrawingManager(Mt(Mt({}, this.props.options || {}), { map: this.context }));
|
|
76180
76250
|
this.registeredEvents = un({
|
|
76181
|
-
updaterMap:
|
|
76182
|
-
eventMap:
|
|
76251
|
+
updaterMap: U4,
|
|
76252
|
+
eventMap: H4,
|
|
76183
76253
|
prevProps: {},
|
|
76184
76254
|
nextProps: this.props,
|
|
76185
76255
|
instance: n
|
|
@@ -76190,8 +76260,8 @@ vr(Kce);
|
|
|
76190
76260
|
}, this.setDrawingManagerCallback);
|
|
76191
76261
|
}, e.prototype.componentDidUpdate = function(n) {
|
|
76192
76262
|
this.state.drawingManager !== null && (hn(this.registeredEvents), this.registeredEvents = un({
|
|
76193
|
-
updaterMap:
|
|
76194
|
-
eventMap:
|
|
76263
|
+
updaterMap: U4,
|
|
76264
|
+
eventMap: H4,
|
|
76195
76265
|
prevProps: n,
|
|
76196
76266
|
nextProps: this.props,
|
|
76197
76267
|
instance: this.state.drawingManager
|
|
@@ -76202,7 +76272,7 @@ vr(Kce);
|
|
|
76202
76272
|
return null;
|
|
76203
76273
|
}, e.contextType = nn, e;
|
|
76204
76274
|
})(er);
|
|
76205
|
-
var
|
|
76275
|
+
var z4 = {
|
|
76206
76276
|
onAnimationChanged: "animation_changed",
|
|
76207
76277
|
onClick: "click",
|
|
76208
76278
|
onClickableChanged: "clickable_changed",
|
|
@@ -76224,7 +76294,7 @@ var z8 = {
|
|
|
76224
76294
|
onTitleChanged: "title_changed",
|
|
76225
76295
|
onVisibleChanged: "visible_changed",
|
|
76226
76296
|
onZindexChanged: "zindex_changed"
|
|
76227
|
-
},
|
|
76297
|
+
}, G4 = {
|
|
76228
76298
|
animation: function(t, e) {
|
|
76229
76299
|
t.setAnimation(e);
|
|
76230
76300
|
},
|
|
@@ -76368,16 +76438,16 @@ var Zce = (
|
|
|
76368
76438
|
return e.prototype.componentDidMount = function() {
|
|
76369
76439
|
var n = Mt(Mt(Mt({}, this.props.options || n0), this.props.clusterer ? n0 : { map: this.context }), { position: this.props.position });
|
|
76370
76440
|
this.marker = new google.maps.Marker(n), this.props.clusterer ? this.props.clusterer.addMarker(this.marker, !!this.props.noClustererRedraw) : this.marker.setMap(this.context), this.registeredEvents = un({
|
|
76371
|
-
updaterMap:
|
|
76372
|
-
eventMap:
|
|
76441
|
+
updaterMap: G4,
|
|
76442
|
+
eventMap: z4,
|
|
76373
76443
|
prevProps: {},
|
|
76374
76444
|
nextProps: this.props,
|
|
76375
76445
|
instance: this.marker
|
|
76376
76446
|
}), this.props.onLoad && this.props.onLoad(this.marker);
|
|
76377
76447
|
}, e.prototype.componentDidUpdate = function(n) {
|
|
76378
76448
|
this.marker && (hn(this.registeredEvents), this.registeredEvents = un({
|
|
76379
|
-
updaterMap:
|
|
76380
|
-
eventMap:
|
|
76449
|
+
updaterMap: G4,
|
|
76450
|
+
eventMap: z4,
|
|
76381
76451
|
prevProps: n,
|
|
76382
76452
|
nextProps: this.props,
|
|
76383
76453
|
instance: this.marker
|
|
@@ -76972,7 +77042,7 @@ vr(lue);
|
|
|
76972
77042
|
return this.state.markerClusterer !== null ? this.props.children(this.state.markerClusterer) : null;
|
|
76973
77043
|
}, e.contextType = nn, e;
|
|
76974
77044
|
})(er);
|
|
76975
|
-
function
|
|
77045
|
+
function W4(t) {
|
|
76976
77046
|
t.cancelBubble = !0, t.stopPropagation && t.stopPropagation();
|
|
76977
77047
|
}
|
|
76978
77048
|
var WE = (
|
|
@@ -76983,7 +77053,7 @@ var WE = (
|
|
|
76983
77053
|
}
|
|
76984
77054
|
return t.prototype.createInfoBoxDiv = function() {
|
|
76985
77055
|
var e = this, n = function(u) {
|
|
76986
|
-
u.returnValue = !1, u.preventDefault && u.preventDefault(), e.enableEventPropagation ||
|
|
77056
|
+
u.returnValue = !1, u.preventDefault && u.preventDefault(), e.enableEventPropagation || W4(u);
|
|
76987
77057
|
};
|
|
76988
77058
|
if (!this.div) {
|
|
76989
77059
|
this.div = document.createElement("div"), this.setBoxStyle(), typeof this.content == "string" ? this.div.innerHTML = this.getCloseBoxImg() + this.content : (this.div.innerHTML = this.getCloseBoxImg(), this.div.appendChild(this.content));
|
|
@@ -77010,7 +77080,7 @@ var WE = (
|
|
|
77010
77080
|
"touchmove"
|
|
77011
77081
|
], a = 0, l = i; a < l.length; a++) {
|
|
77012
77082
|
var c = l[a];
|
|
77013
|
-
this.eventListeners.push(google.maps.event.addListener(this.div, c,
|
|
77083
|
+
this.eventListeners.push(google.maps.event.addListener(this.div, c, W4));
|
|
77014
77084
|
}
|
|
77015
77085
|
this.eventListeners.push(google.maps.event.addListener(this.div, "mouseover", function() {
|
|
77016
77086
|
e.div && (e.div.style.cursor = "default");
|
|
@@ -77120,13 +77190,13 @@ var WE = (
|
|
|
77120
77190
|
}).apply(e, [n]);
|
|
77121
77191
|
}, t;
|
|
77122
77192
|
}()
|
|
77123
|
-
),
|
|
77193
|
+
), q4 = {
|
|
77124
77194
|
onCloseClick: "closeclick",
|
|
77125
77195
|
onContentChanged: "content_changed",
|
|
77126
77196
|
onDomReady: "domready",
|
|
77127
77197
|
onPositionChanged: "position_changed",
|
|
77128
77198
|
onZindexChanged: "zindex_changed"
|
|
77129
|
-
},
|
|
77199
|
+
}, Y4 = {
|
|
77130
77200
|
options: function(t, e) {
|
|
77131
77201
|
t.setOptions(e);
|
|
77132
77202
|
},
|
|
@@ -77195,8 +77265,8 @@ var due = (
|
|
|
77195
77265
|
r && !(r instanceof google.maps.LatLng) && (i = new google.maps.LatLng(r.lat, r.lng));
|
|
77196
77266
|
var a = new WE(Mt(Mt({}, o), i ? { position: i } : {}));
|
|
77197
77267
|
this.containerElement = document.createElement("div"), this.registeredEvents = un({
|
|
77198
|
-
updaterMap:
|
|
77199
|
-
eventMap:
|
|
77268
|
+
updaterMap: Y4,
|
|
77269
|
+
eventMap: q4,
|
|
77200
77270
|
prevProps: {},
|
|
77201
77271
|
nextProps: this.props,
|
|
77202
77272
|
instance: a
|
|
@@ -77204,8 +77274,8 @@ var due = (
|
|
|
77204
77274
|
}, e.prototype.componentDidUpdate = function(n) {
|
|
77205
77275
|
var r = this.state.infoBox;
|
|
77206
77276
|
r !== null && (hn(this.registeredEvents), this.registeredEvents = un({
|
|
77207
|
-
updaterMap:
|
|
77208
|
-
eventMap:
|
|
77277
|
+
updaterMap: Y4,
|
|
77278
|
+
eventMap: q4,
|
|
77209
77279
|
prevProps: n,
|
|
77210
77280
|
nextProps: this.props,
|
|
77211
77281
|
instance: r
|
|
@@ -77241,8 +77311,8 @@ var due = (
|
|
|
77241
77311
|
return !0;
|
|
77242
77312
|
}
|
|
77243
77313
|
return e !== e && n !== n;
|
|
77244
|
-
},
|
|
77245
|
-
const
|
|
77314
|
+
}, K4 = /* @__PURE__ */ $E(hue);
|
|
77315
|
+
const X4 = [
|
|
77246
77316
|
Int8Array,
|
|
77247
77317
|
Uint8Array,
|
|
77248
77318
|
Uint8ClampedArray,
|
|
@@ -77267,7 +77337,7 @@ class I3 {
|
|
|
77267
77337
|
const o = r >> 4;
|
|
77268
77338
|
if (o !== g2)
|
|
77269
77339
|
throw new Error(`Got v${o} data when expected v${g2}.`);
|
|
77270
|
-
const i =
|
|
77340
|
+
const i = X4[r & 15];
|
|
77271
77341
|
if (!i)
|
|
77272
77342
|
throw new Error("Unrecognized array type.");
|
|
77273
77343
|
const [a] = new Uint16Array(e, 2, 1), [l] = new Uint32Array(e, 4, 1);
|
|
@@ -77283,7 +77353,7 @@ class I3 {
|
|
|
77283
77353
|
constructor(e, n = 64, r = Float64Array, o) {
|
|
77284
77354
|
if (isNaN(e) || e < 0) throw new Error(`Unpexpected numItems value: ${e}.`);
|
|
77285
77355
|
this.numItems = +e, this.nodeSize = Math.min(Math.max(+n, 2), 65535), this.ArrayType = r, this.IndexArrayType = e < 65536 ? Uint16Array : Uint32Array;
|
|
77286
|
-
const i =
|
|
77356
|
+
const i = X4.indexOf(this.ArrayType), a = e * 2 * this.ArrayType.BYTES_PER_ELEMENT, l = e * this.IndexArrayType.BYTES_PER_ELEMENT, c = (8 - l % 8) % 8;
|
|
77287
77357
|
if (i < 0)
|
|
77288
77358
|
throw new Error(`Unexpected typed array class: ${r}.`);
|
|
77289
77359
|
o && o instanceof ArrayBuffer ? (this.data = o, this.ids = new this.IndexArrayType(this.data, sd, e), this.coords = new this.ArrayType(this.data, sd + l + c, e * 2), this._pos = e * 2, this._finished = !0) : (this.data = new ArrayBuffer(sd + a + l + c), this.ids = new this.IndexArrayType(this.data, sd, e), this.coords = new this.ArrayType(this.data, sd + l + c, e * 2), this._pos = 0, this._finished = !1, new Uint8Array(this.data, 0, 2).set([219, (g2 << 4) + i]), new Uint16Array(this.data, 2, 1)[0] = n, new Uint32Array(this.data, 4, 1)[0] = e);
|
|
@@ -77346,11 +77416,11 @@ class I3 {
|
|
|
77346
77416
|
const d = l.pop() || 0, h = l.pop() || 0, f = l.pop() || 0;
|
|
77347
77417
|
if (h - f <= a) {
|
|
77348
77418
|
for (let m = f; m <= h; m++)
|
|
77349
|
-
|
|
77419
|
+
Z4(i[2 * m], i[2 * m + 1], e, n) <= u && c.push(o[m]);
|
|
77350
77420
|
continue;
|
|
77351
77421
|
}
|
|
77352
77422
|
const b = f + h >> 1, g = i[2 * b], p = i[2 * b + 1];
|
|
77353
|
-
|
|
77423
|
+
Z4(g, p, e, n) <= u && c.push(o[b]), (d === 0 ? e - r <= g : n - r <= p) && (l.push(f), l.push(b - 1), l.push(1 - d)), (d === 0 ? e + r >= g : n + r >= p) && (l.push(b + 1), l.push(h), l.push(1 - d));
|
|
77354
77424
|
}
|
|
77355
77425
|
return c;
|
|
77356
77426
|
}
|
|
@@ -77382,7 +77452,7 @@ function m2(t, e, n) {
|
|
|
77382
77452
|
const r = t[e];
|
|
77383
77453
|
t[e] = t[n], t[n] = r;
|
|
77384
77454
|
}
|
|
77385
|
-
function
|
|
77455
|
+
function Z4(t, e, n, r) {
|
|
77386
77456
|
const o = t - n, i = e - r;
|
|
77387
77457
|
return o * o + i * i;
|
|
77388
77458
|
}
|
|
@@ -77409,7 +77479,7 @@ const fue = {
|
|
|
77409
77479
|
// properties to use for individual points when running the reducer
|
|
77410
77480
|
map: (t) => t
|
|
77411
77481
|
// props => ({sum: props.my_value})
|
|
77412
|
-
},
|
|
77482
|
+
}, Q4 = Math.fround || /* @__PURE__ */ ((t) => (e) => (t[0] = +e, t[0]))(new Float32Array(1)), Qa = 2, xa = 3, b2 = 4, ba = 5, YE = 6;
|
|
77413
77483
|
class pue {
|
|
77414
77484
|
constructor(e) {
|
|
77415
77485
|
this.options = Object.assign(Object.create(fue), e), this.trees = new Array(this.options.maxZoom + 1), this.stride = this.options.reduce ? 7 : 6, this.clusterProps = [];
|
|
@@ -77423,7 +77493,7 @@ class pue {
|
|
|
77423
77493
|
for (let c = 0; c < e.length; c++) {
|
|
77424
77494
|
const u = e[c];
|
|
77425
77495
|
if (!u.geometry) continue;
|
|
77426
|
-
const [d, h] = u.geometry.coordinates, f =
|
|
77496
|
+
const [d, h] = u.geometry.coordinates, f = Q4(Xf(d)), b = Q4(Zf(h));
|
|
77427
77497
|
a.push(
|
|
77428
77498
|
f,
|
|
77429
77499
|
b,
|
|
@@ -77460,7 +77530,7 @@ class pue {
|
|
|
77460
77530
|
const l = this.trees[this._limitZoom(n)], c = l.range(Xf(r), Zf(a), Xf(i), Zf(o)), u = l.data, d = [];
|
|
77461
77531
|
for (const h of c) {
|
|
77462
77532
|
const f = this.stride * h;
|
|
77463
|
-
d.push(u[f + ba] > 1 ?
|
|
77533
|
+
d.push(u[f + ba] > 1 ? J4(u, f, this.clusterProps) : this.points[u[f + xa]]);
|
|
77464
77534
|
}
|
|
77465
77535
|
return d;
|
|
77466
77536
|
}
|
|
@@ -77472,7 +77542,7 @@ class pue {
|
|
|
77472
77542
|
const l = this.options.radius / (this.options.extent * Math.pow(2, r - 1)), c = a[n * this.stride], u = a[n * this.stride + 1], d = i.within(c, u, l), h = [];
|
|
77473
77543
|
for (const f of d) {
|
|
77474
77544
|
const b = f * this.stride;
|
|
77475
|
-
a[b + b2] === e && h.push(a[b + ba] > 1 ?
|
|
77545
|
+
a[b + b2] === e && h.push(a[b + ba] > 1 ? J4(a, b, this.clusterProps) : this.points[a[b + xa]]);
|
|
77476
77546
|
}
|
|
77477
77547
|
if (h.length === 0) throw new Error(o);
|
|
77478
77548
|
return h;
|
|
@@ -77611,7 +77681,7 @@ class pue {
|
|
|
77611
77681
|
return r && i === o ? Object.assign({}, i) : i;
|
|
77612
77682
|
}
|
|
77613
77683
|
}
|
|
77614
|
-
function
|
|
77684
|
+
function J4(t, e, n) {
|
|
77615
77685
|
return {
|
|
77616
77686
|
type: "Feature",
|
|
77617
77687
|
id: t[e + xa],
|
|
@@ -77759,7 +77829,7 @@ class xue extends yue {
|
|
|
77759
77829
|
calculate(e) {
|
|
77760
77830
|
let n = !1;
|
|
77761
77831
|
const r = { zoom: e.map.getZoom() };
|
|
77762
|
-
if (!
|
|
77832
|
+
if (!K4(e.markers, this.markers)) {
|
|
77763
77833
|
n = !0, this.markers = [...e.markers];
|
|
77764
77834
|
const o = this.markers.map((i) => {
|
|
77765
77835
|
const a = qo.getPosition(i);
|
|
@@ -77774,7 +77844,7 @@ class xue extends yue {
|
|
|
77774
77844
|
});
|
|
77775
77845
|
this.superCluster.load(o);
|
|
77776
77846
|
}
|
|
77777
|
-
return n || (this.state.zoom <= this.maxZoom || r.zoom <= this.maxZoom) && (n = !
|
|
77847
|
+
return n || (this.state.zoom <= this.maxZoom || r.zoom <= this.maxZoom) && (n = !K4(this.state, r)), this.state = r, n && (this.clusters = this.cluster(e)), { clusters: this.clusters, changed: n };
|
|
77778
77848
|
}
|
|
77779
77849
|
cluster({ map: e }) {
|
|
77780
77850
|
return this.superCluster.getClusters([-180, -90, 180, 90], Math.round(e.getZoom())).map((n) => this.transformCluster(n));
|
|
@@ -77978,13 +78048,13 @@ function Lue(t) {
|
|
|
77978
78048
|
return r !== null ? e(r) : null;
|
|
77979
78049
|
}
|
|
77980
78050
|
vr(Lue);
|
|
77981
|
-
var
|
|
78051
|
+
var e8 = {
|
|
77982
78052
|
onCloseClick: "closeclick",
|
|
77983
78053
|
onContentChanged: "content_changed",
|
|
77984
78054
|
onDomReady: "domready",
|
|
77985
78055
|
onPositionChanged: "position_changed",
|
|
77986
78056
|
onZindexChanged: "zindex_changed"
|
|
77987
|
-
},
|
|
78057
|
+
}, t8 = {
|
|
77988
78058
|
options: function(t, e) {
|
|
77989
78059
|
t.setOptions(e);
|
|
77990
78060
|
},
|
|
@@ -78038,8 +78108,8 @@ vr(Mue);
|
|
|
78038
78108
|
return e.prototype.componentDidMount = function() {
|
|
78039
78109
|
var n = new google.maps.InfoWindow(Mt({}, this.props.options || {}));
|
|
78040
78110
|
this.containerElement = document.createElement("div"), this.registeredEvents = un({
|
|
78041
|
-
updaterMap:
|
|
78042
|
-
eventMap:
|
|
78111
|
+
updaterMap: t8,
|
|
78112
|
+
eventMap: e8,
|
|
78043
78113
|
prevProps: {},
|
|
78044
78114
|
nextProps: this.props,
|
|
78045
78115
|
instance: n
|
|
@@ -78050,8 +78120,8 @@ vr(Mue);
|
|
|
78050
78120
|
}, this.setInfoWindowCallback);
|
|
78051
78121
|
}, e.prototype.componentDidUpdate = function(n) {
|
|
78052
78122
|
this.state.infoWindow !== null && (hn(this.registeredEvents), this.registeredEvents = un({
|
|
78053
|
-
updaterMap:
|
|
78054
|
-
eventMap:
|
|
78123
|
+
updaterMap: t8,
|
|
78124
|
+
eventMap: e8,
|
|
78055
78125
|
prevProps: n,
|
|
78056
78126
|
nextProps: this.props,
|
|
78057
78127
|
instance: this.state.infoWindow
|
|
@@ -78062,7 +78132,7 @@ vr(Mue);
|
|
|
78062
78132
|
return this.containerElement ? g0(Ss.only(this.props.children), this.containerElement) : null;
|
|
78063
78133
|
}, e.contextType = nn, e;
|
|
78064
78134
|
})(er);
|
|
78065
|
-
var
|
|
78135
|
+
var n8 = {
|
|
78066
78136
|
onClick: "click",
|
|
78067
78137
|
onDblClick: "dblclick",
|
|
78068
78138
|
onDrag: "drag",
|
|
@@ -78074,7 +78144,7 @@ var n4 = {
|
|
|
78074
78144
|
onMouseOver: "mouseover",
|
|
78075
78145
|
onMouseUp: "mouseup",
|
|
78076
78146
|
onRightClick: "rightclick"
|
|
78077
|
-
},
|
|
78147
|
+
}, r8 = {
|
|
78078
78148
|
draggable: function(t, e) {
|
|
78079
78149
|
t.setDraggable(e);
|
|
78080
78150
|
},
|
|
@@ -78153,8 +78223,8 @@ var S1 = (
|
|
|
78153
78223
|
return e.prototype.componentDidMount = function() {
|
|
78154
78224
|
var n = new google.maps.Polyline(Mt(Mt({}, this.props.options || {}), { map: this.context }));
|
|
78155
78225
|
this.registeredEvents = un({
|
|
78156
|
-
updaterMap:
|
|
78157
|
-
eventMap:
|
|
78226
|
+
updaterMap: r8,
|
|
78227
|
+
eventMap: n8,
|
|
78158
78228
|
prevProps: {},
|
|
78159
78229
|
nextProps: this.props,
|
|
78160
78230
|
instance: n
|
|
@@ -78165,8 +78235,8 @@ var S1 = (
|
|
|
78165
78235
|
}, this.setPolylineCallback);
|
|
78166
78236
|
}, e.prototype.componentDidUpdate = function(n) {
|
|
78167
78237
|
this.state.polyline !== null && (hn(this.registeredEvents), this.registeredEvents = un({
|
|
78168
|
-
updaterMap:
|
|
78169
|
-
eventMap:
|
|
78238
|
+
updaterMap: r8,
|
|
78239
|
+
eventMap: n8,
|
|
78170
78240
|
prevProps: n,
|
|
78171
78241
|
nextProps: this.props,
|
|
78172
78242
|
instance: this.state.polyline
|
|
@@ -78177,7 +78247,7 @@ var S1 = (
|
|
|
78177
78247
|
return null;
|
|
78178
78248
|
}, e.contextType = nn, e;
|
|
78179
78249
|
}(er)
|
|
78180
|
-
),
|
|
78250
|
+
), o8 = {
|
|
78181
78251
|
onClick: "click",
|
|
78182
78252
|
onDblClick: "dblclick",
|
|
78183
78253
|
onDrag: "drag",
|
|
@@ -78189,7 +78259,7 @@ var S1 = (
|
|
|
78189
78259
|
onMouseOver: "mouseover",
|
|
78190
78260
|
onMouseUp: "mouseup",
|
|
78191
78261
|
onRightClick: "rightclick"
|
|
78192
|
-
},
|
|
78262
|
+
}, i8 = {
|
|
78193
78263
|
draggable: function(t, e) {
|
|
78194
78264
|
t.setDraggable(e);
|
|
78195
78265
|
},
|
|
@@ -78279,8 +78349,8 @@ var Aue = (
|
|
|
78279
78349
|
return e.prototype.componentDidMount = function() {
|
|
78280
78350
|
var n = new google.maps.Polygon(Mt(Mt({}, this.props.options || {}), { map: this.context }));
|
|
78281
78351
|
this.registeredEvents = un({
|
|
78282
|
-
updaterMap:
|
|
78283
|
-
eventMap:
|
|
78352
|
+
updaterMap: i8,
|
|
78353
|
+
eventMap: o8,
|
|
78284
78354
|
prevProps: {},
|
|
78285
78355
|
nextProps: this.props,
|
|
78286
78356
|
instance: n
|
|
@@ -78291,8 +78361,8 @@ var Aue = (
|
|
|
78291
78361
|
}, this.setPolygonCallback);
|
|
78292
78362
|
}, e.prototype.componentDidUpdate = function(n) {
|
|
78293
78363
|
this.state.polygon !== null && (hn(this.registeredEvents), this.registeredEvents = un({
|
|
78294
|
-
updaterMap:
|
|
78295
|
-
eventMap:
|
|
78364
|
+
updaterMap: i8,
|
|
78365
|
+
eventMap: o8,
|
|
78296
78366
|
prevProps: n,
|
|
78297
78367
|
nextProps: this.props,
|
|
78298
78368
|
instance: this.state.polygon
|
|
@@ -78303,7 +78373,7 @@ var Aue = (
|
|
|
78303
78373
|
return null;
|
|
78304
78374
|
}, e.contextType = nn, e;
|
|
78305
78375
|
}(er)
|
|
78306
|
-
),
|
|
78376
|
+
), s8 = {
|
|
78307
78377
|
onBoundsChanged: "bounds_changed",
|
|
78308
78378
|
onClick: "click",
|
|
78309
78379
|
onDblClick: "dblclick",
|
|
@@ -78316,7 +78386,7 @@ var Aue = (
|
|
|
78316
78386
|
onMouseOver: "mouseover",
|
|
78317
78387
|
onMouseUp: "mouseup",
|
|
78318
78388
|
onRightClick: "rightclick"
|
|
78319
|
-
},
|
|
78389
|
+
}, a8 = {
|
|
78320
78390
|
bounds: function(t, e) {
|
|
78321
78391
|
t.setBounds(e);
|
|
78322
78392
|
},
|
|
@@ -78395,8 +78465,8 @@ vr(Due);
|
|
|
78395
78465
|
return e.prototype.componentDidMount = function() {
|
|
78396
78466
|
var n = new google.maps.Rectangle(Mt(Mt({}, this.props.options || {}), { map: this.context }));
|
|
78397
78467
|
this.registeredEvents = un({
|
|
78398
|
-
updaterMap:
|
|
78399
|
-
eventMap:
|
|
78468
|
+
updaterMap: a8,
|
|
78469
|
+
eventMap: s8,
|
|
78400
78470
|
prevProps: {},
|
|
78401
78471
|
nextProps: this.props,
|
|
78402
78472
|
instance: n
|
|
@@ -78407,8 +78477,8 @@ vr(Due);
|
|
|
78407
78477
|
}, this.setRectangleCallback);
|
|
78408
78478
|
}, e.prototype.componentDidUpdate = function(n) {
|
|
78409
78479
|
this.state.rectangle !== null && (hn(this.registeredEvents), this.registeredEvents = un({
|
|
78410
|
-
updaterMap:
|
|
78411
|
-
eventMap:
|
|
78480
|
+
updaterMap: a8,
|
|
78481
|
+
eventMap: s8,
|
|
78412
78482
|
prevProps: n,
|
|
78413
78483
|
nextProps: this.props,
|
|
78414
78484
|
instance: this.state.rectangle
|
|
@@ -78419,7 +78489,7 @@ vr(Due);
|
|
|
78419
78489
|
return null;
|
|
78420
78490
|
}, e.contextType = nn, e;
|
|
78421
78491
|
})(er);
|
|
78422
|
-
var
|
|
78492
|
+
var l8 = {
|
|
78423
78493
|
onCenterChanged: "center_changed",
|
|
78424
78494
|
onRadiusChanged: "radius_changed",
|
|
78425
78495
|
onClick: "click",
|
|
@@ -78433,7 +78503,7 @@ var l4 = {
|
|
|
78433
78503
|
onMouseOver: "mouseover",
|
|
78434
78504
|
onMouseUp: "mouseup",
|
|
78435
78505
|
onRightClick: "rightclick"
|
|
78436
|
-
},
|
|
78506
|
+
}, c8 = {
|
|
78437
78507
|
center: function(t, e) {
|
|
78438
78508
|
t.setCenter(e);
|
|
78439
78509
|
},
|
|
@@ -78521,8 +78591,8 @@ var Fue = (
|
|
|
78521
78591
|
return e.prototype.componentDidMount = function() {
|
|
78522
78592
|
var n = new google.maps.Circle(Mt(Mt({}, this.props.options || {}), { map: this.context }));
|
|
78523
78593
|
this.registeredEvents = un({
|
|
78524
|
-
updaterMap:
|
|
78525
|
-
eventMap:
|
|
78594
|
+
updaterMap: c8,
|
|
78595
|
+
eventMap: l8,
|
|
78526
78596
|
prevProps: {},
|
|
78527
78597
|
nextProps: this.props,
|
|
78528
78598
|
instance: n
|
|
@@ -78533,8 +78603,8 @@ var Fue = (
|
|
|
78533
78603
|
}, this.setCircleCallback);
|
|
78534
78604
|
}, e.prototype.componentDidUpdate = function(n) {
|
|
78535
78605
|
this.state.circle !== null && (hn(this.registeredEvents), this.registeredEvents = un({
|
|
78536
|
-
updaterMap:
|
|
78537
|
-
eventMap:
|
|
78606
|
+
updaterMap: c8,
|
|
78607
|
+
eventMap: l8,
|
|
78538
78608
|
prevProps: n,
|
|
78539
78609
|
nextProps: this.props,
|
|
78540
78610
|
instance: this.state.circle
|
|
@@ -78546,7 +78616,7 @@ var Fue = (
|
|
|
78546
78616
|
return null;
|
|
78547
78617
|
}, e.contextType = nn, e;
|
|
78548
78618
|
}(er)
|
|
78549
|
-
),
|
|
78619
|
+
), u8 = {
|
|
78550
78620
|
onClick: "click",
|
|
78551
78621
|
onDblClick: "dblclick",
|
|
78552
78622
|
onMouseDown: "mousedown",
|
|
@@ -78559,7 +78629,7 @@ var Fue = (
|
|
|
78559
78629
|
onRemoveProperty: "removeproperty",
|
|
78560
78630
|
onSetGeometry: "setgeometry",
|
|
78561
78631
|
onSetProperty: "setproperty"
|
|
78562
|
-
},
|
|
78632
|
+
}, d8 = {
|
|
78563
78633
|
add: function(t, e) {
|
|
78564
78634
|
t.add(e);
|
|
78565
78635
|
},
|
|
@@ -78658,8 +78728,8 @@ vr(Nue);
|
|
|
78658
78728
|
if (this.context !== null) {
|
|
78659
78729
|
var n = new google.maps.Data(Mt(Mt({}, this.props.options || {}), { map: this.context }));
|
|
78660
78730
|
this.registeredEvents = un({
|
|
78661
|
-
updaterMap:
|
|
78662
|
-
eventMap:
|
|
78731
|
+
updaterMap: d8,
|
|
78732
|
+
eventMap: u8,
|
|
78663
78733
|
prevProps: {},
|
|
78664
78734
|
nextProps: this.props,
|
|
78665
78735
|
instance: n
|
|
@@ -78671,8 +78741,8 @@ vr(Nue);
|
|
|
78671
78741
|
}
|
|
78672
78742
|
}, e.prototype.componentDidUpdate = function(n) {
|
|
78673
78743
|
this.state.data !== null && (hn(this.registeredEvents), this.registeredEvents = un({
|
|
78674
|
-
updaterMap:
|
|
78675
|
-
eventMap:
|
|
78744
|
+
updaterMap: d8,
|
|
78745
|
+
eventMap: u8,
|
|
78676
78746
|
prevProps: n,
|
|
78677
78747
|
nextProps: this.props,
|
|
78678
78748
|
instance: this.state.data
|
|
@@ -78683,11 +78753,11 @@ vr(Nue);
|
|
|
78683
78753
|
return null;
|
|
78684
78754
|
}, e.contextType = nn, e;
|
|
78685
78755
|
})(er);
|
|
78686
|
-
var
|
|
78756
|
+
var h8 = {
|
|
78687
78757
|
onClick: "click",
|
|
78688
78758
|
onDefaultViewportChanged: "defaultviewport_changed",
|
|
78689
78759
|
onStatusChanged: "status_changed"
|
|
78690
|
-
},
|
|
78760
|
+
}, f8 = {
|
|
78691
78761
|
options: function(t, e) {
|
|
78692
78762
|
t.setOptions(e);
|
|
78693
78763
|
},
|
|
@@ -78711,8 +78781,8 @@ var h4 = {
|
|
|
78711
78781
|
return e.prototype.componentDidMount = function() {
|
|
78712
78782
|
var n = new google.maps.KmlLayer(Mt(Mt({}, this.props.options), { map: this.context }));
|
|
78713
78783
|
this.registeredEvents = un({
|
|
78714
|
-
updaterMap:
|
|
78715
|
-
eventMap:
|
|
78784
|
+
updaterMap: f8,
|
|
78785
|
+
eventMap: h8,
|
|
78716
78786
|
prevProps: {},
|
|
78717
78787
|
nextProps: this.props,
|
|
78718
78788
|
instance: n
|
|
@@ -78723,8 +78793,8 @@ var h4 = {
|
|
|
78723
78793
|
}, this.setKmlLayerCallback);
|
|
78724
78794
|
}, e.prototype.componentDidUpdate = function(n) {
|
|
78725
78795
|
this.state.kmlLayer !== null && (hn(this.registeredEvents), this.registeredEvents = un({
|
|
78726
|
-
updaterMap:
|
|
78727
|
-
eventMap:
|
|
78796
|
+
updaterMap: f8,
|
|
78797
|
+
eventMap: h8,
|
|
78728
78798
|
prevProps: n,
|
|
78729
78799
|
nextProps: this.props,
|
|
78730
78800
|
instance: this.state.kmlLayer
|
|
@@ -78812,13 +78882,13 @@ function Gue(t, e, n, r, o) {
|
|
|
78812
78882
|
);
|
|
78813
78883
|
return new i(t, e, n, r);
|
|
78814
78884
|
}
|
|
78815
|
-
function
|
|
78885
|
+
function p8(t) {
|
|
78816
78886
|
if (!t)
|
|
78817
78887
|
return "";
|
|
78818
78888
|
var e = t instanceof google.maps.LatLng ? t : new google.maps.LatLng(t.lat, t.lng);
|
|
78819
78889
|
return e + "";
|
|
78820
78890
|
}
|
|
78821
|
-
function
|
|
78891
|
+
function g8(t) {
|
|
78822
78892
|
if (!t)
|
|
78823
78893
|
return "";
|
|
78824
78894
|
var e = t instanceof google.maps.LatLngBounds ? t : new google.maps.LatLngBounds(new google.maps.LatLng(t.south, t.east), new google.maps.LatLng(t.north, t.west));
|
|
@@ -78887,7 +78957,7 @@ vr(Wue);
|
|
|
78887
78957
|
return e.prototype.componentDidMount = function() {
|
|
78888
78958
|
this.overlayView.setMap(this.context);
|
|
78889
78959
|
}, e.prototype.componentDidUpdate = function(n) {
|
|
78890
|
-
var r =
|
|
78960
|
+
var r = p8(n.position), o = p8(this.props.position), i = g8(n.bounds), a = g8(this.props.bounds);
|
|
78891
78961
|
(r !== o || i !== a) && this.overlayView.draw(), n.mapPaneName !== this.props.mapPaneName && this.updatePane();
|
|
78892
78962
|
}, e.prototype.componentWillUnmount = function() {
|
|
78893
78963
|
this.overlayView.setMap(null);
|
|
@@ -78898,10 +78968,10 @@ vr(Wue);
|
|
|
78898
78968
|
})(er);
|
|
78899
78969
|
function que() {
|
|
78900
78970
|
}
|
|
78901
|
-
var
|
|
78971
|
+
var m8 = {
|
|
78902
78972
|
onDblClick: "dblclick",
|
|
78903
78973
|
onClick: "click"
|
|
78904
|
-
},
|
|
78974
|
+
}, b8 = {
|
|
78905
78975
|
opacity: function(t, e) {
|
|
78906
78976
|
t.setOpacity(e);
|
|
78907
78977
|
}
|
|
@@ -78937,8 +79007,8 @@ vr(Yue);
|
|
|
78937
79007
|
Lr(!!this.props.url || !!this.props.bounds, "For GroundOverlay, url and bounds are passed in to constructor and are immutable after instantiated. This is the behavior of Google Maps JavaScript API v3 ( See https://developers.google.com/maps/documentation/javascript/reference#GroundOverlay) Hence, use the corresponding two props provided by `react-google-maps-api`, url and bounds. In some cases, you'll need the GroundOverlay component to reflect the changes of url and bounds. You can leverage the React's key property to remount the component. Typically, just `key={url}` would serve your need. See https://github.com/tomchentw/react-google-maps/issues/655");
|
|
78938
79008
|
var n = new google.maps.GroundOverlay(this.props.url, this.props.bounds, Mt(Mt({}, this.props.options), { map: this.context }));
|
|
78939
79009
|
this.registeredEvents = un({
|
|
78940
|
-
updaterMap:
|
|
78941
|
-
eventMap:
|
|
79010
|
+
updaterMap: b8,
|
|
79011
|
+
eventMap: m8,
|
|
78942
79012
|
prevProps: {},
|
|
78943
79013
|
nextProps: this.props,
|
|
78944
79014
|
instance: n
|
|
@@ -78949,8 +79019,8 @@ vr(Yue);
|
|
|
78949
79019
|
}, this.setGroundOverlayCallback);
|
|
78950
79020
|
}, e.prototype.componentDidUpdate = function(n) {
|
|
78951
79021
|
this.state.groundOverlay !== null && (hn(this.registeredEvents), this.registeredEvents = un({
|
|
78952
|
-
updaterMap:
|
|
78953
|
-
eventMap:
|
|
79022
|
+
updaterMap: b8,
|
|
79023
|
+
eventMap: m8,
|
|
78954
79024
|
prevProps: n,
|
|
78955
79025
|
nextProps: this.props,
|
|
78956
79026
|
instance: this.state.groundOverlay
|
|
@@ -78963,7 +79033,7 @@ vr(Yue);
|
|
|
78963
79033
|
onLoad: que
|
|
78964
79034
|
}, e.contextType = nn, e;
|
|
78965
79035
|
})(er);
|
|
78966
|
-
var
|
|
79036
|
+
var y8 = {}, v8 = {
|
|
78967
79037
|
data: function(t, e) {
|
|
78968
79038
|
t.setData(e);
|
|
78969
79039
|
},
|
|
@@ -79006,8 +79076,8 @@ vr(Kue);
|
|
|
79006
79076
|
Lr(!!google.maps.visualization, 'Did you include prop libraries={["visualization"]} to <LoadScript />? %s', google.maps.visualization), Lr(!!this.props.data, "data property is required in HeatmapLayer %s", this.props.data);
|
|
79007
79077
|
var n = new google.maps.visualization.HeatmapLayer(Mt(Mt({}, this.props.options || {}), { data: this.props.data, map: this.context }));
|
|
79008
79078
|
this.registeredEvents = un({
|
|
79009
|
-
updaterMap:
|
|
79010
|
-
eventMap:
|
|
79079
|
+
updaterMap: v8,
|
|
79080
|
+
eventMap: y8,
|
|
79011
79081
|
prevProps: {},
|
|
79012
79082
|
nextProps: this.props,
|
|
79013
79083
|
instance: n
|
|
@@ -79018,8 +79088,8 @@ vr(Kue);
|
|
|
79018
79088
|
}, this.setHeatmapLayerCallback);
|
|
79019
79089
|
}, e.prototype.componentDidUpdate = function(n) {
|
|
79020
79090
|
hn(this.registeredEvents), this.registeredEvents = un({
|
|
79021
|
-
updaterMap:
|
|
79022
|
-
eventMap:
|
|
79091
|
+
updaterMap: v8,
|
|
79092
|
+
eventMap: y8,
|
|
79023
79093
|
prevProps: n,
|
|
79024
79094
|
nextProps: this.props,
|
|
79025
79095
|
instance: this.state.heatmapLayer
|
|
@@ -79030,7 +79100,7 @@ vr(Kue);
|
|
|
79030
79100
|
return null;
|
|
79031
79101
|
}, e.contextType = nn, e;
|
|
79032
79102
|
})(er);
|
|
79033
|
-
var
|
|
79103
|
+
var x8 = {
|
|
79034
79104
|
onCloseClick: "closeclick",
|
|
79035
79105
|
onPanoChanged: "pano_changed",
|
|
79036
79106
|
onPositionChanged: "position_changed",
|
|
@@ -79039,7 +79109,7 @@ var x4 = {
|
|
|
79039
79109
|
onStatusChanged: "status_changed",
|
|
79040
79110
|
onVisibleChanged: "visible_changed",
|
|
79041
79111
|
onZoomChanged: "zoom_changed"
|
|
79042
|
-
},
|
|
79112
|
+
}, C8 = {
|
|
79043
79113
|
register: function(t, e, n) {
|
|
79044
79114
|
t.registerPanoProvider(e, n);
|
|
79045
79115
|
},
|
|
@@ -79081,8 +79151,8 @@ var x4 = {
|
|
|
79081
79151
|
return e.prototype.componentDidMount = function() {
|
|
79082
79152
|
var n, r, o = (r = (n = this.context) === null || n === void 0 ? void 0 : n.getStreetView()) !== null && r !== void 0 ? r : null;
|
|
79083
79153
|
this.registeredEvents = un({
|
|
79084
|
-
updaterMap:
|
|
79085
|
-
eventMap:
|
|
79154
|
+
updaterMap: C8,
|
|
79155
|
+
eventMap: x8,
|
|
79086
79156
|
prevProps: {},
|
|
79087
79157
|
nextProps: this.props,
|
|
79088
79158
|
instance: o
|
|
@@ -79093,8 +79163,8 @@ var x4 = {
|
|
|
79093
79163
|
}, this.setStreetViewPanoramaCallback);
|
|
79094
79164
|
}, e.prototype.componentDidUpdate = function(n) {
|
|
79095
79165
|
this.state.streetViewPanorama !== null && (hn(this.registeredEvents), this.registeredEvents = un({
|
|
79096
|
-
updaterMap:
|
|
79097
|
-
eventMap:
|
|
79166
|
+
updaterMap: C8,
|
|
79167
|
+
eventMap: x8,
|
|
79098
79168
|
prevProps: n,
|
|
79099
79169
|
nextProps: this.props,
|
|
79100
79170
|
instance: this.state.streetViewPanorama
|
|
@@ -79154,9 +79224,9 @@ var x4 = {
|
|
|
79154
79224
|
return null;
|
|
79155
79225
|
}, e;
|
|
79156
79226
|
})(er);
|
|
79157
|
-
var
|
|
79227
|
+
var w8 = {
|
|
79158
79228
|
onDirectionsChanged: "directions_changed"
|
|
79159
|
-
},
|
|
79229
|
+
}, S8 = {
|
|
79160
79230
|
directions: function(t, e) {
|
|
79161
79231
|
t.setDirections(e);
|
|
79162
79232
|
},
|
|
@@ -79186,8 +79256,8 @@ var w4 = {
|
|
|
79186
79256
|
return e.prototype.componentDidMount = function() {
|
|
79187
79257
|
var n = new google.maps.DirectionsRenderer(this.props.options);
|
|
79188
79258
|
this.registeredEvents = un({
|
|
79189
|
-
updaterMap:
|
|
79190
|
-
eventMap:
|
|
79259
|
+
updaterMap: S8,
|
|
79260
|
+
eventMap: w8,
|
|
79191
79261
|
prevProps: {},
|
|
79192
79262
|
nextProps: this.props,
|
|
79193
79263
|
instance: n
|
|
@@ -79198,8 +79268,8 @@ var w4 = {
|
|
|
79198
79268
|
}, this.setDirectionsRendererCallback);
|
|
79199
79269
|
}, e.prototype.componentDidUpdate = function(n) {
|
|
79200
79270
|
this.state.directionsRenderer !== null && (hn(this.registeredEvents), this.registeredEvents = un({
|
|
79201
|
-
updaterMap:
|
|
79202
|
-
eventMap:
|
|
79271
|
+
updaterMap: S8,
|
|
79272
|
+
eventMap: w8,
|
|
79203
79273
|
prevProps: n,
|
|
79204
79274
|
nextProps: this.props,
|
|
79205
79275
|
instance: this.state.directionsRenderer
|
|
@@ -79236,9 +79306,9 @@ var w4 = {
|
|
|
79236
79306
|
return null;
|
|
79237
79307
|
}, e;
|
|
79238
79308
|
})(er);
|
|
79239
|
-
var
|
|
79309
|
+
var T8 = {
|
|
79240
79310
|
onPlacesChanged: "places_changed"
|
|
79241
|
-
},
|
|
79311
|
+
}, E8 = {
|
|
79242
79312
|
bounds: function(t, e) {
|
|
79243
79313
|
t.setBounds(e);
|
|
79244
79314
|
}
|
|
@@ -79259,8 +79329,8 @@ var T4 = {
|
|
|
79259
79329
|
if (n !== null) {
|
|
79260
79330
|
var r = new google.maps.places.SearchBox(n, this.props.options);
|
|
79261
79331
|
this.registeredEvents = un({
|
|
79262
|
-
updaterMap:
|
|
79263
|
-
eventMap:
|
|
79332
|
+
updaterMap: E8,
|
|
79333
|
+
eventMap: T8,
|
|
79264
79334
|
prevProps: {},
|
|
79265
79335
|
nextProps: this.props,
|
|
79266
79336
|
instance: r
|
|
@@ -79273,8 +79343,8 @@ var T4 = {
|
|
|
79273
79343
|
}
|
|
79274
79344
|
}, e.prototype.componentDidUpdate = function(n) {
|
|
79275
79345
|
this.state.searchBox !== null && (hn(this.registeredEvents), this.registeredEvents = un({
|
|
79276
|
-
updaterMap:
|
|
79277
|
-
eventMap:
|
|
79346
|
+
updaterMap: E8,
|
|
79347
|
+
eventMap: T8,
|
|
79278
79348
|
prevProps: n,
|
|
79279
79349
|
nextProps: this.props,
|
|
79280
79350
|
instance: this.state.searchBox
|
|
@@ -79285,9 +79355,9 @@ var T4 = {
|
|
|
79285
79355
|
return H.jsx("div", { ref: this.containerElement, children: Ss.only(this.props.children) });
|
|
79286
79356
|
}, e.contextType = nn, e;
|
|
79287
79357
|
})(er);
|
|
79288
|
-
var
|
|
79358
|
+
var k8 = {
|
|
79289
79359
|
onPlaceChanged: "place_changed"
|
|
79290
|
-
},
|
|
79360
|
+
}, L8 = {
|
|
79291
79361
|
bounds: function(t, e) {
|
|
79292
79362
|
t.setBounds(e);
|
|
79293
79363
|
},
|
|
@@ -79321,8 +79391,8 @@ var k4 = {
|
|
|
79321
79391
|
if (r) {
|
|
79322
79392
|
var o = new google.maps.places.Autocomplete(r, this.props.options);
|
|
79323
79393
|
this.registeredEvents = un({
|
|
79324
|
-
updaterMap:
|
|
79325
|
-
eventMap:
|
|
79394
|
+
updaterMap: L8,
|
|
79395
|
+
eventMap: k8,
|
|
79326
79396
|
prevProps: {},
|
|
79327
79397
|
nextProps: this.props,
|
|
79328
79398
|
instance: o
|
|
@@ -79334,8 +79404,8 @@ var k4 = {
|
|
|
79334
79404
|
}
|
|
79335
79405
|
}, e.prototype.componentDidUpdate = function(n) {
|
|
79336
79406
|
hn(this.registeredEvents), this.registeredEvents = un({
|
|
79337
|
-
updaterMap:
|
|
79338
|
-
eventMap:
|
|
79407
|
+
updaterMap: L8,
|
|
79408
|
+
eventMap: k8,
|
|
79339
79409
|
prevProps: n,
|
|
79340
79410
|
nextProps: this.props,
|
|
79341
79411
|
instance: this.state.autocomplete
|
|
@@ -80378,10 +80448,10 @@ function Ht() {
|
|
|
80378
80448
|
`));
|
|
80379
80449
|
return t;
|
|
80380
80450
|
}
|
|
80381
|
-
const
|
|
80451
|
+
const M8 = 1e3;
|
|
80382
80452
|
class Nde {
|
|
80383
|
-
constructor(e =
|
|
80384
|
-
this.timeouts = /* @__PURE__ */ new Map(), this.cleanupTimeout =
|
|
80453
|
+
constructor(e = M8) {
|
|
80454
|
+
this.timeouts = /* @__PURE__ */ new Map(), this.cleanupTimeout = M8, this.cleanupTimeout = e;
|
|
80385
80455
|
}
|
|
80386
80456
|
register(e, n, r) {
|
|
80387
80457
|
this.timeouts || (this.timeouts = /* @__PURE__ */ new Map());
|
|
@@ -80470,13 +80540,13 @@ const Vde = {
|
|
|
80470
80540
|
function Ln(t, e, n) {
|
|
80471
80541
|
gt(t, e, n, Hde);
|
|
80472
80542
|
}
|
|
80473
|
-
const
|
|
80543
|
+
const P8 = /* @__PURE__ */ new Set();
|
|
80474
80544
|
function ys(t, e = "warning") {
|
|
80475
80545
|
if (process.env.NODE_ENV === "production")
|
|
80476
80546
|
return;
|
|
80477
80547
|
const n = Array.isArray(t) ? t.join(`
|
|
80478
80548
|
`) : t;
|
|
80479
|
-
|
|
80549
|
+
P8.has(n) || (P8.add(n), e === "error" ? console.error(n) : console.warn(n));
|
|
80480
80550
|
}
|
|
80481
80551
|
const Ude = Object.is;
|
|
80482
80552
|
function nk(t, e) {
|
|
@@ -80495,7 +80565,7 @@ function nk(t, e) {
|
|
|
80495
80565
|
function zde(t) {
|
|
80496
80566
|
return t.acceptsApiRef;
|
|
80497
80567
|
}
|
|
80498
|
-
function
|
|
80568
|
+
function I8(t, e) {
|
|
80499
80569
|
return zde(e) ? e(t) : e(t.current.state);
|
|
80500
80570
|
}
|
|
80501
80571
|
const Gde = Object.is, rk = nk, Wde = () => ({
|
|
@@ -80506,10 +80576,10 @@ const Gde = Object.is, rk = nk, Wde = () => ({
|
|
|
80506
80576
|
process.env.NODE_ENV !== "production" && (t.current.state || ys(["MUI X: `useGridSelector` has been called before the initialization of the state.", "This hook can only be used inside the context of the grid."]));
|
|
80507
80577
|
const r = Oa(Wde), o = r.current.selector !== null, [i, a] = $.useState(
|
|
80508
80578
|
// We don't use an initialization function to avoid allocations
|
|
80509
|
-
o ? null :
|
|
80579
|
+
o ? null : I8(t, e)
|
|
80510
80580
|
);
|
|
80511
80581
|
return r.current.state = i, r.current.equals = n, r.current.selector = e, P0(() => t.current.store.subscribe(() => {
|
|
80512
|
-
const l =
|
|
80582
|
+
const l = I8(t, r.current.selector);
|
|
80513
80583
|
r.current.equals(r.current.state, l) || (r.current.state = l, a(l));
|
|
80514
80584
|
})), i;
|
|
80515
80585
|
}, co = (t) => t.dimensions;
|
|
@@ -80647,7 +80717,7 @@ function Qde(t) {
|
|
|
80647
80717
|
return o;
|
|
80648
80718
|
}
|
|
80649
80719
|
var Jde = /* @__PURE__ */ Qde(ok);
|
|
80650
|
-
const
|
|
80720
|
+
const R8 = /* @__PURE__ */ new WeakMap();
|
|
80651
80721
|
function pc(t) {
|
|
80652
80722
|
return "current" in t && "instanceId" in t.current;
|
|
80653
80723
|
}
|
|
@@ -80689,11 +80759,11 @@ const gc = {
|
|
|
80689
80759
|
const e = (n, r) => {
|
|
80690
80760
|
const o = pc(n), i = o ? n.current.instanceId : r ?? gc, a = o ? n.current.state : n;
|
|
80691
80761
|
process.env.NODE_ENV !== "production" && i.id === "default" && ys(["MUI X: A selector was called without passing the instance ID, which may impact the performance of the grid.", "To fix, call it with `apiRef`, for example `mySelector(apiRef)`, or pass the instance ID explicitly, for example `mySelector(state, apiRef.current.instanceId)`."]);
|
|
80692
|
-
const l =
|
|
80762
|
+
const l = R8.get(i), c = l ?? /* @__PURE__ */ new Map(), u = c == null ? void 0 : c.get(t);
|
|
80693
80763
|
if (c && u)
|
|
80694
80764
|
return u(a, i);
|
|
80695
80765
|
const d = Jde(...t);
|
|
80696
|
-
return l ||
|
|
80766
|
+
return l || R8.set(i, c), c.set(t, d), d(a, i);
|
|
80697
80767
|
};
|
|
80698
80768
|
return e.acceptsApiRef = !0, e;
|
|
80699
80769
|
}, ehe = 0.7, the = 1.3, nhe = {
|
|
@@ -80866,7 +80936,7 @@ process.env.NODE_ENV !== "production" && (ak.propTypes = {
|
|
|
80866
80936
|
*/
|
|
80867
80937
|
value: s.any
|
|
80868
80938
|
});
|
|
80869
|
-
const che = (t) => /* @__PURE__ */ H.jsx(ak, U({}, t)), lk = (t, e) => e && t.length > 1 ? (process.env.NODE_ENV !== "production" && ys(["MUI X: The `sortModel` can only contain a single item when the `disableMultipleColumnsSorting` prop is set to `true`.", "If you are using the community version of the `DataGrid`, this prop is always `true`."], "error"), [t[0]]) : t,
|
|
80939
|
+
const che = (t) => /* @__PURE__ */ H.jsx(ak, U({}, t)), lk = (t, e) => e && t.length > 1 ? (process.env.NODE_ENV !== "production" && ys(["MUI X: The `sortModel` can only contain a single item when the `disableMultipleColumnsSorting` prop is set to `true`.", "If you are using the community version of the `DataGrid`, this prop is always `true`."], "error"), [t[0]]) : t, A8 = (t, e) => (n) => U({}, n, {
|
|
80870
80940
|
sorting: U({}, n.sorting, {
|
|
80871
80941
|
sortModel: lk(t, e)
|
|
80872
80942
|
})
|
|
@@ -80896,7 +80966,7 @@ const che = (t) => /* @__PURE__ */ H.jsx(ak, U({}, t)), lk = (t, e) => e && t.le
|
|
|
80896
80966
|
node: o,
|
|
80897
80967
|
params: n.map((i) => i.getSortCellParams(o.id))
|
|
80898
80968
|
})).sort((o, i) => hhe(n, o, i)).map((o) => o.node.id);
|
|
80899
|
-
},
|
|
80969
|
+
}, D8 = (t, e) => {
|
|
80900
80970
|
const n = t.indexOf(e);
|
|
80901
80971
|
return !e || n === -1 || n + 1 === t.length ? t[0] : t[n + 1];
|
|
80902
80972
|
}, _3 = (t, e) => t == null && e != null ? -1 : e == null && t != null ? 1 : t == null && e == null ? 0 : null, phe = new Intl.Collator(), ghe = (t, e) => {
|
|
@@ -81006,7 +81076,7 @@ function wp(t) {
|
|
|
81006
81076
|
return t.replace(/[-[\]{}()*+?.,\\^$|#\s]/g, "\\$&");
|
|
81007
81077
|
}
|
|
81008
81078
|
const Ys = (t, e, n) => Math.max(e, Math.min(n, t));
|
|
81009
|
-
function
|
|
81079
|
+
function O8(t, e) {
|
|
81010
81080
|
return Array.from({
|
|
81011
81081
|
length: e - t
|
|
81012
81082
|
}).map((n, r) => t + r);
|
|
@@ -81232,7 +81302,7 @@ const E1 = (t, e) => {
|
|
|
81232
81302
|
}) : t.items !== o ? U({}, t, {
|
|
81233
81303
|
items: o
|
|
81234
81304
|
}) : t;
|
|
81235
|
-
},
|
|
81305
|
+
}, _8 = (t, e, n) => (r) => U({}, r, {
|
|
81236
81306
|
filterModel: j3(t, e, n)
|
|
81237
81307
|
}), eh = (t) => typeof t == "string" ? t.normalize("NFD").replace(/[\u0300-\u036f]/g, "") : t, gk = (t, e) => {
|
|
81238
81308
|
var d;
|
|
@@ -81268,7 +81338,7 @@ const E1 = (t, e) => {
|
|
|
81268
81338
|
}
|
|
81269
81339
|
};
|
|
81270
81340
|
};
|
|
81271
|
-
let
|
|
81341
|
+
let F8 = 1;
|
|
81272
81342
|
const whe = (t, e, n) => {
|
|
81273
81343
|
const {
|
|
81274
81344
|
items: r
|
|
@@ -81293,8 +81363,8 @@ ${o.map((l, c) => ` ${JSON.stringify(String(l.item.id))}: !shouldApply${c} ? fa
|
|
|
81293
81363
|
`)}
|
|
81294
81364
|
};
|
|
81295
81365
|
|
|
81296
|
-
return result$$;`.replaceAll("$$", String(
|
|
81297
|
-
return
|
|
81366
|
+
return result$$;`.replaceAll("$$", String(F8)));
|
|
81367
|
+
return F8 += 1, (l, c) => i(o, l, c);
|
|
81298
81368
|
}, mk = (t) => t.quickFilterExcludeHiddenColumns ?? !0, She = (t, e) => {
|
|
81299
81369
|
var l;
|
|
81300
81370
|
const n = ((l = t.quickFilterValues) == null ? void 0 : l.filter(Boolean)) ?? [];
|
|
@@ -81345,8 +81415,8 @@ return result$$;`.replaceAll("$$", String(F4)));
|
|
|
81345
81415
|
return function(a, l, c) {
|
|
81346
81416
|
c.passingFilterItems = (r == null ? void 0 : r(a, l)) ?? null, c.passingQuickFilterValues = (o == null ? void 0 : o(a, l)) ?? null;
|
|
81347
81417
|
};
|
|
81348
|
-
},
|
|
81349
|
-
const i = Ehe(o, r, n.items), a = t.filter(
|
|
81418
|
+
}, N8 = (t) => t != null, Ehe = (t, e, n) => (t.cleanedFilterItems || (t.cleanedFilterItems = n.filter((r) => gk(r, e) !== null)), t.cleanedFilterItems), bk = (t, e, n, r, o) => {
|
|
81419
|
+
const i = Ehe(o, r, n.items), a = t.filter(N8), l = e.filter(N8);
|
|
81350
81420
|
if (a.length > 0) {
|
|
81351
81421
|
const c = (d) => a.some((h) => h[d.id]);
|
|
81352
81422
|
if ((n.logicOperator ?? Jd().logicOperator) === go.And) {
|
|
@@ -81725,7 +81795,7 @@ const Ohe = (t) => /* @__PURE__ */ H.jsx(yk, U({}, t)), og = "actions", _he = U(
|
|
|
81725
81795
|
disableExport: !0,
|
|
81726
81796
|
renderCell: Ohe,
|
|
81727
81797
|
getApplyQuickFilterFn: void 0
|
|
81728
|
-
}), Pi = (t) => t.rows, Eh = It(Pi, (t) => t.totalRowCount), vk = It(Pi, (t) => t.loading), Fhe = It(Pi, (t) => t.totalTopLevelRowCount), Ta = It(Pi, (t) => t.dataRowIdToModelLookup), i0 = It(Pi, (t) => t.dataRowIdToIdLookup), so = It(Pi, (t) => t.tree), xk = It(Pi, (t) => t.groupsToFetch), Nhe = It(Pi, (t) => t.groupingName),
|
|
81798
|
+
}), Pi = (t) => t.rows, Eh = It(Pi, (t) => t.totalRowCount), vk = It(Pi, (t) => t.loading), Fhe = It(Pi, (t) => t.totalTopLevelRowCount), Ta = It(Pi, (t) => t.dataRowIdToModelLookup), i0 = It(Pi, (t) => t.dataRowIdToIdLookup), so = It(Pi, (t) => t.tree), xk = It(Pi, (t) => t.groupsToFetch), Nhe = It(Pi, (t) => t.groupingName), B8 = It(Pi, (t) => t.treeDepths), Cu = Hn(Pi, (t) => {
|
|
81729
81799
|
const e = Object.entries(t.treeDepths);
|
|
81730
81800
|
return e.length === 0 ? 1 : e.filter(([, n]) => n > 0).map(([n]) => Number(n)).sort((n, r) => r - n)[0] + 1;
|
|
81731
81801
|
}), md = It(Pi, (t) => t.dataRowIds), Bhe = It(Pi, (t) => t == null ? void 0 : t.additionalRowGroups), Qs = Hn(Bhe, (t) => {
|
|
@@ -81851,7 +81921,7 @@ const nu = (t, e, n) => {
|
|
|
81851
81921
|
o.push(l[c]);
|
|
81852
81922
|
}
|
|
81853
81923
|
return !n && r.footerId != null && o.push(r.footerId), o;
|
|
81854
|
-
},
|
|
81924
|
+
}, j8 = ({
|
|
81855
81925
|
previousCache: t,
|
|
81856
81926
|
getRowId: e,
|
|
81857
81927
|
updates: n,
|
|
@@ -81918,7 +81988,7 @@ function Vhe(t) {
|
|
|
81918
81988
|
function Tk(t) {
|
|
81919
81989
|
return `var(--DataGrid-overlayHeight, ${2 * co(t.current.state).rowHeight}px)`;
|
|
81920
81990
|
}
|
|
81921
|
-
function $
|
|
81991
|
+
function $8(t, e, n) {
|
|
81922
81992
|
const r = [];
|
|
81923
81993
|
return e.forEach((o) => {
|
|
81924
81994
|
const i = nu(o, n, "A row was provided without id when calling updateRows():"), a = t.current.getRowNode(i);
|
|
@@ -82560,7 +82630,7 @@ const is = "__check__", wu = U({}, Mk, {
|
|
|
82560
82630
|
renderHeader: (t) => /* @__PURE__ */ H.jsx(Hk, U({}, t)),
|
|
82561
82631
|
renderCell: (t) => /* @__PURE__ */ H.jsx(nfe, U({}, t))
|
|
82562
82632
|
}), kfe = ["item", "applyValue", "type", "apiRef", "focusElementRef", "InputProps", "isFilterActive", "clearButton", "tabIndex", "disabled"];
|
|
82563
|
-
function
|
|
82633
|
+
function V8(t, e) {
|
|
82564
82634
|
if (t == null)
|
|
82565
82635
|
return "";
|
|
82566
82636
|
const n = new Date(t);
|
|
@@ -82578,7 +82648,7 @@ function nl(t) {
|
|
|
82578
82648
|
clearButton: l,
|
|
82579
82649
|
tabIndex: c,
|
|
82580
82650
|
disabled: u
|
|
82581
|
-
} = t, d = Fe(t, kfe), h = ko(), [f, b] = $.useState(() =>
|
|
82651
|
+
} = t, d = Fe(t, kfe), h = ko(), [f, b] = $.useState(() => V8(e.value, r)), [g, p] = $.useState(!1), m = cn(), v = wt(), y = $.useCallback((E) => {
|
|
82582
82652
|
h.clear();
|
|
82583
82653
|
const w = E.target.value;
|
|
82584
82654
|
b(w), p(!0), h.start(v.filterDebounceMs, () => {
|
|
@@ -82589,7 +82659,7 @@ function nl(t) {
|
|
|
82589
82659
|
});
|
|
82590
82660
|
}, [n, e, v.filterDebounceMs, h]);
|
|
82591
82661
|
return $.useEffect(() => {
|
|
82592
|
-
const E =
|
|
82662
|
+
const E = V8(e.value, r);
|
|
82593
82663
|
b(E);
|
|
82594
82664
|
}, [e.value, r]), /* @__PURE__ */ H.jsx(v.slots.baseTextField, U({
|
|
82595
82665
|
fullWidth: !0,
|
|
@@ -83482,7 +83552,7 @@ const L1 = (t, e) => {
|
|
|
83482
83552
|
lookup: c
|
|
83483
83553
|
});
|
|
83484
83554
|
};
|
|
83485
|
-
function
|
|
83555
|
+
function H8(t) {
|
|
83486
83556
|
let e = y2[Jfe];
|
|
83487
83557
|
return t && y2[t] && (e = y2[t]), e;
|
|
83488
83558
|
}
|
|
@@ -83520,10 +83590,10 @@ const mc = ({
|
|
|
83520
83590
|
} = f;
|
|
83521
83591
|
l[b] = !0;
|
|
83522
83592
|
let g = a.lookup[b];
|
|
83523
|
-
g == null ? (g = U({},
|
|
83593
|
+
g == null ? (g = U({}, H8(f.type), {
|
|
83524
83594
|
field: b,
|
|
83525
83595
|
hasBeenResized: !1
|
|
83526
|
-
}), a.orderedFields.push(b)) : o && a.orderedFields.push(b), g && g.type !== f.type && (g = U({},
|
|
83596
|
+
}), a.orderedFields.push(b)) : o && a.orderedFields.push(b), g && g.type !== f.type && (g = U({}, H8(f.type), {
|
|
83527
83597
|
field: b
|
|
83528
83598
|
}));
|
|
83529
83599
|
let p = g.hasBeenResized;
|
|
@@ -83560,7 +83630,7 @@ function X3(t, e) {
|
|
|
83560
83630
|
function Js(t) {
|
|
83561
83631
|
return /* @__PURE__ */ $.memo(t, nk);
|
|
83562
83632
|
}
|
|
83563
|
-
const
|
|
83633
|
+
const U8 = 1, spe = 1.5, ape = (t) => {
|
|
83564
83634
|
const {
|
|
83565
83635
|
scrollDirection: e,
|
|
83566
83636
|
classes: n
|
|
@@ -83620,7 +83690,7 @@ function cpe(t) {
|
|
|
83620
83690
|
B = Math.max(1, _.clientX - n.current.getBoundingClientRect().left);
|
|
83621
83691
|
else
|
|
83622
83692
|
throw new Error("MUI X: Wrong drag direction");
|
|
83623
|
-
B = (B -
|
|
83693
|
+
B = (B - U8) * spe + U8, o.start(0, () => {
|
|
83624
83694
|
r.current.scroll({
|
|
83625
83695
|
left: c.current.left + B,
|
|
83626
83696
|
top: c.current.top
|
|
@@ -83639,7 +83709,7 @@ function cpe(t) {
|
|
|
83639
83709
|
style: C
|
|
83640
83710
|
});
|
|
83641
83711
|
}
|
|
83642
|
-
const
|
|
83712
|
+
const z8 = Js(cpe), upe = process.env.NODE_ENV === "development", dpe = () => {
|
|
83643
83713
|
};
|
|
83644
83714
|
function nL(t, e, n) {
|
|
83645
83715
|
const r = $.useRef(null);
|
|
@@ -83724,7 +83794,7 @@ const v2 = 50;
|
|
|
83724
83794
|
var Sr = /* @__PURE__ */ function(t) {
|
|
83725
83795
|
return t[t.NONE = 0] = "NONE", t[t.UP = 1] = "UP", t[t.DOWN = 2] = "DOWN", t[t.LEFT = 3] = "LEFT", t[t.RIGHT = 4] = "RIGHT", t;
|
|
83726
83796
|
}(Sr || {});
|
|
83727
|
-
const
|
|
83797
|
+
const G8 = {
|
|
83728
83798
|
top: 0,
|
|
83729
83799
|
left: 0
|
|
83730
83800
|
}, oL = Object.freeze(/* @__PURE__ */ new Map()), ype = (t, e, n, r, o) => ({
|
|
@@ -83739,7 +83809,7 @@ try {
|
|
|
83739
83809
|
const vpe = () => {
|
|
83740
83810
|
const t = Fo(), e = wt(), n = Qe(t, yr), r = Qe(t, ppe) && !M1, o = Qe(t, J3) && !M1, i = Qe(t, co), a = i.viewportOuterSize, l = Qe(t, Qs), c = Qe(t, Ra), u = l.bottom.length > 0, [d, h] = $.useState(oL), f = Dr(), b = Qe(t, Uo), g = Qe(t, V3), p = Qe(t, Su), m = Qe(t, a0), v = ja(t, e), y = t.current.rootElementRef, C = t.current.mainElementRef, E = t.current.virtualScrollerRef, w = $.useRef(null), k = $.useRef(null), L = i.contentSize.height, _ = i.columnsTotalWidth, B = Qe(t, ihe);
|
|
83741
83811
|
nL(C, () => t.current.resize());
|
|
83742
|
-
const O = $.useRef(
|
|
83812
|
+
const O = $.useRef(G8), D = $.useRef(G8), I = $.useRef(rL), M = Qe(t, su), x = ko(), T = $.useRef(void 0), R = Oa(() => ype(f.direction, e.rowBufferPx, e.columnBufferPx, i.rowHeight * 15, v2 * 6)).current, P = {
|
|
83743
83813
|
rowIndex: $.useMemo(() => b ? v.rows.findIndex((G) => G.id === b.id) : -1, [b, v.rows]),
|
|
83744
83814
|
columnIndex: $.useMemo(() => b ? n.findIndex((G) => G.field === b.field) : -1, [b, n])
|
|
83745
83815
|
}, V = $.useCallback((G) => {
|
|
@@ -83813,7 +83883,7 @@ const vpe = () => {
|
|
|
83813
83883
|
W = l.top.length;
|
|
83814
83884
|
break;
|
|
83815
83885
|
}
|
|
83816
|
-
const Z = G.rows ?? v.rows, N = q.firstRowIndex, Q = Math.min(q.lastRowIndex, Z.length), X = G.rows ?
|
|
83886
|
+
const Z = G.rows ?? v.rows, N = q.firstRowIndex, Q = Math.min(q.lastRowIndex, Z.length), X = G.rows ? O8(0, G.rows.length) : O8(N, Q);
|
|
83817
83887
|
let ne = -1;
|
|
83818
83888
|
!le && P.rowIndex !== -1 && (P.rowIndex < N && (ne = P.rowIndex, X.unshift(ne)), P.rowIndex >= Q && (ne = P.rowIndex, X.push(ne)));
|
|
83819
83889
|
const re = [], ae = (ge = e.slotProps) == null ? void 0 : ge.row, ue = Zs(t);
|
|
@@ -83983,10 +84053,10 @@ function C2(t, e, n) {
|
|
|
83983
84053
|
const {
|
|
83984
84054
|
top: i,
|
|
83985
84055
|
left: a
|
|
83986
|
-
} = e, l = Math.abs(a) + t.leftPinnedWidth, c = Math.min(
|
|
84056
|
+
} = e, l = Math.abs(a) + t.leftPinnedWidth, c = Math.min(W8(t, i, {
|
|
83987
84057
|
atStart: !0,
|
|
83988
84058
|
lastPosition: t.rowsMeta.positions[t.rowsMeta.positions.length - 1] + t.lastRowHeight
|
|
83989
|
-
}), t.rowsMeta.positions.length - 1), u = t.autoHeight ? c + t.rows.length :
|
|
84059
|
+
}), t.rowsMeta.positions.length - 1), u = t.autoHeight ? c + t.rows.length : W8(t, i + t.viewportInnerHeight);
|
|
83990
84060
|
let d = 0, h = t.columnPositions.length;
|
|
83991
84061
|
if (t.enabledForColumns) {
|
|
83992
84062
|
let f = !1;
|
|
@@ -84018,7 +84088,7 @@ function C2(t, e, n) {
|
|
|
84018
84088
|
}
|
|
84019
84089
|
return xpe(t, r, n);
|
|
84020
84090
|
}
|
|
84021
|
-
function
|
|
84091
|
+
function W8(t, e, n) {
|
|
84022
84092
|
var a, l;
|
|
84023
84093
|
const r = t.apiRef.current.getLastMeasuredRowIndex();
|
|
84024
84094
|
let o = r === 1 / 0;
|
|
@@ -84478,7 +84548,7 @@ const t0e = (t, e) => {
|
|
|
84478
84548
|
bottom: "0px"
|
|
84479
84549
|
}), o0e = wn("div")({
|
|
84480
84550
|
display: "inline-block"
|
|
84481
|
-
}),
|
|
84551
|
+
}), q8 = /* @__PURE__ */ $.forwardRef(function(e, n) {
|
|
84482
84552
|
const r = Fo(), o = wt(), i = $.useRef(!1), a = $.useRef(0), l = $.useRef(null), c = $.useRef(null), u = t0e(o, e.position), d = Qe(r, co), h = e.position === "vertical" ? "height" : "width", f = e.position === "vertical" ? "scrollTop" : "scrollLeft", b = e.position === "vertical" ? d.hasScrollX : d.hasScrollY, g = d.minimumSize[h] + (b ? d.scrollbarSize : 0), m = (e.position === "vertical" ? d.viewportInnerSize.height : d.viewportOuterSize.width) * (g / d.viewportOuterSize[h]), v = st(() => {
|
|
84483
84553
|
const E = r.current.virtualScrollerRef.current, w = l.current;
|
|
84484
84554
|
if (E[f] === a.current)
|
|
@@ -84567,9 +84637,9 @@ function a0e(t) {
|
|
|
84567
84637
|
return /* @__PURE__ */ H.jsxs(Ope, U({
|
|
84568
84638
|
className: i.root
|
|
84569
84639
|
}, l(), {
|
|
84570
|
-
children: [/* @__PURE__ */ H.jsx(
|
|
84640
|
+
children: [/* @__PURE__ */ H.jsx(z8, {
|
|
84571
84641
|
scrollDirection: "left"
|
|
84572
|
-
}), /* @__PURE__ */ H.jsx(
|
|
84642
|
+
}), /* @__PURE__ */ H.jsx(z8, {
|
|
84573
84643
|
scrollDirection: "right"
|
|
84574
84644
|
}), /* @__PURE__ */ H.jsxs(s0e, U({
|
|
84575
84645
|
className: i.scroller
|
|
@@ -84594,9 +84664,9 @@ function a0e(t) {
|
|
|
84594
84664
|
virtualScroller: a
|
|
84595
84665
|
})
|
|
84596
84666
|
})]
|
|
84597
|
-
})), r.hasScrollY && /* @__PURE__ */ H.jsx(
|
|
84667
|
+
})), r.hasScrollY && /* @__PURE__ */ H.jsx(q8, U({
|
|
84598
84668
|
position: "vertical"
|
|
84599
|
-
}, h())), r.hasScrollX && /* @__PURE__ */ H.jsx(
|
|
84669
|
+
}, h())), r.hasScrollX && /* @__PURE__ */ H.jsx(q8, U({
|
|
84600
84670
|
position: "horizontal"
|
|
84601
84671
|
}, f())), t.children]
|
|
84602
84672
|
}));
|
|
@@ -84681,7 +84751,7 @@ function y0e(t, e) {
|
|
|
84681
84751
|
h && i.push(h);
|
|
84682
84752
|
}), i) : [];
|
|
84683
84753
|
}
|
|
84684
|
-
function
|
|
84754
|
+
function Y8(t, e) {
|
|
84685
84755
|
return t.rootElementRef.current.querySelector(`.${Le[e]}`);
|
|
84686
84756
|
}
|
|
84687
84757
|
const dL = ({
|
|
@@ -84845,7 +84915,7 @@ const pL = {
|
|
|
84845
84915
|
[Eo.RIGHT]: ln.RIGHT,
|
|
84846
84916
|
[Eo.NONE]: void 0,
|
|
84847
84917
|
[Eo.VIRTUAL]: void 0
|
|
84848
|
-
},
|
|
84918
|
+
}, K8 = {
|
|
84849
84919
|
id: -1,
|
|
84850
84920
|
field: "__unset__",
|
|
84851
84921
|
row: {},
|
|
@@ -84883,7 +84953,7 @@ const pL = {
|
|
|
84883
84953
|
};
|
|
84884
84954
|
return Ke(u, jt, c);
|
|
84885
84955
|
};
|
|
84886
|
-
let
|
|
84956
|
+
let X8 = !1;
|
|
84887
84957
|
const gL = /* @__PURE__ */ $.forwardRef(function(e, n) {
|
|
84888
84958
|
var me, we;
|
|
84889
84959
|
const {
|
|
@@ -84918,7 +84988,7 @@ const gL = /* @__PURE__ */ $.forwardRef(function(e, n) {
|
|
|
84918
84988
|
return be.api = M.current, be;
|
|
84919
84989
|
} catch (ye) {
|
|
84920
84990
|
if (ye instanceof Ep)
|
|
84921
|
-
return
|
|
84991
|
+
return K8;
|
|
84922
84992
|
throw ye;
|
|
84923
84993
|
}
|
|
84924
84994
|
}, rk), P = Qe(M, () => M.current.unstable_applyPipeProcessors("isCellSelected", !1, {
|
|
@@ -84985,7 +85055,7 @@ const gL = /* @__PURE__ */ $.forwardRef(function(e, n) {
|
|
|
84985
85055
|
xe.focus(), M.current.scroll(Te);
|
|
84986
85056
|
}
|
|
84987
85057
|
}
|
|
84988
|
-
}, [j, V, M]), R ===
|
|
85058
|
+
}, [j, V, M]), R === K8)
|
|
84989
85059
|
return null;
|
|
84990
85060
|
let pe = I.onFocus;
|
|
84991
85061
|
process.env.NODE_ENV === "test" && ((we = x.experimentalFeatures) != null && we.warnIfFocusStateIsNotSynced) && (pe = (ye) => {
|
|
@@ -84994,8 +85064,8 @@ const gL = /* @__PURE__ */ $.forwardRef(function(e, n) {
|
|
|
84994
85064
|
typeof I.onFocus == "function" && I.onFocus(ye);
|
|
84995
85065
|
return;
|
|
84996
85066
|
}
|
|
84997
|
-
|
|
84998
|
-
`)),
|
|
85067
|
+
X8 || (console.warn([`MUI X: The cell with id=${o} and field=${T} received focus.`, `According to the state, the focus should be at id=${be == null ? void 0 : be.id}, field=${be == null ? void 0 : be.field}.`, "Not syncing the state may cause unwanted behaviors since the `cellFocusIn` event won't be fired.", "Call `fireEvent.mouseUp` before the `fireEvent.click` to sync the focus with the state."].join(`
|
|
85068
|
+
`)), X8 = !0);
|
|
84999
85069
|
});
|
|
85000
85070
|
let he, ce;
|
|
85001
85071
|
if (i === null && r.renderCell && (he = r.renderCell(R)), i !== null && r.renderEditCell) {
|
|
@@ -85072,7 +85142,7 @@ process.env.NODE_ENV !== "production" && (gL.propTypes = {
|
|
|
85072
85142
|
sectionLength: s.number.isRequired,
|
|
85073
85143
|
width: s.number.isRequired
|
|
85074
85144
|
});
|
|
85075
|
-
const P0e = Js(gL), I0e = ["field", "type", "align", "width", "height", "empty", "style", "className"],
|
|
85145
|
+
const P0e = Js(gL), I0e = ["field", "type", "align", "width", "height", "empty", "style", "className"], Z8 = "1.3em", R0e = "1.2em", Q8 = [40, 80], A0e = {
|
|
85076
85146
|
number: [40, 60],
|
|
85077
85147
|
string: [40, 80],
|
|
85078
85148
|
date: [40, 60],
|
|
@@ -85106,10 +85176,10 @@ function mL(t) {
|
|
|
85106
85176
|
if (n === "boolean" || n === "actions")
|
|
85107
85177
|
return {
|
|
85108
85178
|
variant: "circular",
|
|
85109
|
-
width:
|
|
85110
|
-
height:
|
|
85179
|
+
width: Z8,
|
|
85180
|
+
height: Z8
|
|
85111
85181
|
};
|
|
85112
|
-
const [p, m] = n ? A0e[n] ??
|
|
85182
|
+
const [p, m] = n ? A0e[n] ?? Q8 : Q8;
|
|
85113
85183
|
return {
|
|
85114
85184
|
variant: "text",
|
|
85115
85185
|
width: `${Math.round(O0e(p, m))}%`,
|
|
@@ -85148,7 +85218,7 @@ const _0e = Js(mL);
|
|
|
85148
85218
|
function F0e(t) {
|
|
85149
85219
|
return t.vars ? t.vars.palette.TableCell.border : t.palette.mode === "light" ? Wj(Kr(t.palette.divider, 1), 0.88) : Gj(Kr(t.palette.divider, 1), 0.68);
|
|
85150
85220
|
}
|
|
85151
|
-
const
|
|
85221
|
+
const J8 = {
|
|
85152
85222
|
[`.${Le.columnSeparator}, .${Le["columnSeparator--resizing"]}`]: {
|
|
85153
85223
|
visibility: "visible",
|
|
85154
85224
|
width: "auto"
|
|
@@ -85479,14 +85549,14 @@ const J4 = {
|
|
|
85479
85549
|
width: "var(--DataGrid-rowWidth)"
|
|
85480
85550
|
},
|
|
85481
85551
|
"@media (hover: hover)": {
|
|
85482
|
-
[`& .${Le.columnHeaders}:hover`]:
|
|
85552
|
+
[`& .${Le.columnHeaders}:hover`]: J8,
|
|
85483
85553
|
[`& .${Le.columnHeader}:hover`]: ew,
|
|
85484
85554
|
[`& .${Le.columnHeader}:not(.${Le["columnHeader--sorted"]}):hover .${Le.sortIcon}`]: {
|
|
85485
85555
|
opacity: 0.5
|
|
85486
85556
|
}
|
|
85487
85557
|
},
|
|
85488
85558
|
"@media (hover: none)": {
|
|
85489
|
-
[`& .${Le.columnHeaders}`]:
|
|
85559
|
+
[`& .${Le.columnHeaders}`]: J8,
|
|
85490
85560
|
[`& .${Le.columnHeader}`]: ew
|
|
85491
85561
|
},
|
|
85492
85562
|
[`& .${Le["columnSeparator--sideLeft"]}`]: {
|
|
@@ -89746,7 +89816,7 @@ const w2e = (t, e) => {
|
|
|
89746
89816
|
quickFilterValues: [...I]
|
|
89747
89817
|
}));
|
|
89748
89818
|
}, [t]), b = $.useCallback((I, M) => {
|
|
89749
|
-
br(t) !== I && (n.debug("Setting filter model"), t.current.updateControlState("filter",
|
|
89819
|
+
br(t) !== I && (n.debug("Setting filter model"), t.current.updateControlState("filter", _8(I, e.disableMultipleColumnsFiltering, t), M), t.current.unstable_applyFilters());
|
|
89750
89820
|
}, [t, n, e.disableMultipleColumnsFiltering]), g = $.useCallback((I) => {
|
|
89751
89821
|
const M = j3(I, e.disableMultipleColumnsFiltering, t), x = e.filterMode === "client" ? The(M, t, e.disableEval) : null, T = t.current.applyStrategyProcessor("filtering", {
|
|
89752
89822
|
isRowMatchingFilters: x,
|
|
@@ -89786,7 +89856,7 @@ const w2e = (t, e) => {
|
|
|
89786
89856
|
}, [t, e.filterModel, (O = (B = e.initialState) == null ? void 0 : B.filter) == null ? void 0 : O.filterModel]), v = $.useCallback((I, M) => {
|
|
89787
89857
|
var T;
|
|
89788
89858
|
const x = (T = M.stateToRestore.filter) == null ? void 0 : T.filterModel;
|
|
89789
|
-
return x == null ? I : (t.current.updateControlState("filter",
|
|
89859
|
+
return x == null ? I : (t.current.updateControlState("filter", _8(x, e.disableMultipleColumnsFiltering, t), "restoreState"), U({}, I, {
|
|
89790
89860
|
callbacks: [...I.callbacks, t.current.unstable_applyFilters]
|
|
89791
89861
|
}));
|
|
89792
89862
|
}, [t, e.disableMultipleColumnsFiltering]), y = $.useCallback((I, M) => {
|
|
@@ -91254,7 +91324,7 @@ const E2 = ({
|
|
|
91254
91324
|
rowCountProp: e.rowCount,
|
|
91255
91325
|
loadingProp: e.loading,
|
|
91256
91326
|
previousTree: so(t),
|
|
91257
|
-
previousTreeDepths:
|
|
91327
|
+
previousTreeDepths: B8(t),
|
|
91258
91328
|
previousGroupsToFetch: xk(t)
|
|
91259
91329
|
})
|
|
91260
91330
|
})), t.current.publishEvent("rowsSet"), t.current.forceUpdate();
|
|
@@ -91285,7 +91355,7 @@ const E2 = ({
|
|
|
91285
91355
|
if (e.signature === Zo.DataGrid && P.length > 1)
|
|
91286
91356
|
throw new Error(["MUI X: You cannot update several rows at once in `apiRef.current.updateRows` on the DataGrid.", "You need to upgrade to DataGridPro or DataGridPremium component to unlock this feature."].join(`
|
|
91287
91357
|
`));
|
|
91288
|
-
const V = $
|
|
91358
|
+
const V = $8(t, P, e.getRowId), j = j8({
|
|
91289
91359
|
updates: V,
|
|
91290
91360
|
getRowId: e.getRowId,
|
|
91291
91361
|
previousCache: t.current.caches.rows
|
|
@@ -91295,7 +91365,7 @@ const E2 = ({
|
|
|
91295
91365
|
throttle: !0
|
|
91296
91366
|
});
|
|
91297
91367
|
}, [e.signature, e.getRowId, h, t]), g = $.useCallback((P, V) => {
|
|
91298
|
-
const j = $
|
|
91368
|
+
const j = $8(t, P, e.getRowId), F = j8({
|
|
91299
91369
|
updates: j,
|
|
91300
91370
|
getRowId: e.getRowId,
|
|
91301
91371
|
previousCache: t.current.caches.rows,
|
|
@@ -91461,7 +91531,7 @@ const E2 = ({
|
|
|
91461
91531
|
t.current.setState((P) => {
|
|
91462
91532
|
const V = t.current.unstable_applyPipeProcessors("hydrateRows", {
|
|
91463
91533
|
tree: so(P, t.current.instanceId),
|
|
91464
|
-
treeDepths:
|
|
91534
|
+
treeDepths: B8(P, t.current.instanceId),
|
|
91465
91535
|
dataRowIds: md(P, t.current.instanceId),
|
|
91466
91536
|
dataRowIdToModelLookup: Ta(P, t.current.instanceId),
|
|
91467
91537
|
dataRowIdToIdLookup: i0(P, t.current.instanceId)
|
|
@@ -91774,14 +91844,14 @@ const E2 = ({
|
|
|
91774
91844
|
}, [t]), o = $.useCallback((L, _) => {
|
|
91775
91845
|
const O = no(t).find((D) => D.field === L.field);
|
|
91776
91846
|
if (O) {
|
|
91777
|
-
const D = _ === void 0 ?
|
|
91847
|
+
const D = _ === void 0 ? D8(L.sortingOrder ?? e.sortingOrder, O.sort) : _;
|
|
91778
91848
|
return D === void 0 ? void 0 : U({}, O, {
|
|
91779
91849
|
sort: D
|
|
91780
91850
|
});
|
|
91781
91851
|
}
|
|
91782
91852
|
return {
|
|
91783
91853
|
field: L.field,
|
|
91784
|
-
sort: _ === void 0 ?
|
|
91854
|
+
sort: _ === void 0 ? D8(L.sortingOrder ?? e.sortingOrder) : _
|
|
91785
91855
|
};
|
|
91786
91856
|
}, [t, e.sortingOrder]), i = $.useCallback((L, _) => _ == null || _.sortable === !1 || e.disableColumnSorting ? L : (_.sortingOrder || e.sortingOrder).some((O) => !!O) ? [...L, "columnMenuSortItem"] : L, [e.sortingOrder, e.disableColumnSorting]), a = $.useCallback(() => {
|
|
91787
91857
|
t.current.setState((L) => {
|
|
@@ -91801,7 +91871,7 @@ const E2 = ({
|
|
|
91801
91871
|
});
|
|
91802
91872
|
}), t.current.publishEvent("sortedRowsSet"), t.current.forceUpdate();
|
|
91803
91873
|
}, [t, n, e.sortingMode]), l = $.useCallback((L) => {
|
|
91804
|
-
no(t) !== L && (n.debug("Setting sort model"), t.current.setState(
|
|
91874
|
+
no(t) !== L && (n.debug("Setting sort model"), t.current.setState(A8(L, e.disableMultipleColumnsSorting)), t.current.forceUpdate(), t.current.applySorting());
|
|
91805
91875
|
}, [t, n, e.disableMultipleColumnsSorting]), c = $.useCallback((L, _, B) => {
|
|
91806
91876
|
const O = t.current.getColumn(L), D = o(O, _);
|
|
91807
91877
|
let I;
|
|
@@ -91833,7 +91903,7 @@ const E2 = ({
|
|
|
91833
91903
|
}, [t, e.sortModel, (k = (w = e.initialState) == null ? void 0 : w.sorting) == null ? void 0 : k.sortModel]), p = $.useCallback((L, _) => {
|
|
91834
91904
|
var O;
|
|
91835
91905
|
const B = (O = _.stateToRestore.sorting) == null ? void 0 : O.sortModel;
|
|
91836
|
-
return B == null ? L : (t.current.setState(
|
|
91906
|
+
return B == null ? L : (t.current.setState(A8(B, e.disableMultipleColumnsSorting)), U({}, L, {
|
|
91837
91907
|
callbacks: [...L.callbacks, t.current.applySorting]
|
|
91838
91908
|
}));
|
|
91839
91909
|
}, [t, e.disableMultipleColumnsSorting]), m = $.useCallback((L) => {
|
|
@@ -93209,7 +93279,7 @@ const Y1e = (t, e) => {
|
|
|
93209
93279
|
const I = t.current.rootElementRef.current;
|
|
93210
93280
|
o.initialColWidth = B.computedWidth, o.initialTotalWidth = t.current.getRootDimensions().rowWidth, o.colDef = B, o.columnHeaderElement = g0e(t.current.columnHeadersContainerRef.current, B.field);
|
|
93211
93281
|
const M = I.querySelector(`.${Le.headerFilterRow} [data-field="${ea(B.field)}"]`);
|
|
93212
|
-
M && (o.headerFilterElement = M), o.groupHeaderElements = b0e((T = t.current.columnHeadersContainerRef) == null ? void 0 : T.current, B.field), o.cellElements = y0e(o.columnHeaderElement, t.current), o.fillerLeft =
|
|
93282
|
+
M && (o.headerFilterElement = M), o.groupHeaderElements = b0e((T = t.current.columnHeadersContainerRef) == null ? void 0 : T.current, B.field), o.cellElements = y0e(o.columnHeaderElement, t.current), o.fillerLeft = Y8(t.current, "filler--pinnedLeft"), o.fillerRight = Y8(t.current, "filler--pinnedRight");
|
|
93213
93283
|
const x = t.current.unstable_applyPipeProcessors("isColumnPinned", !1, o.colDef.field);
|
|
93214
93284
|
o.leftPinnedCellsAfter = x !== ln.LEFT ? [] : v0e(t.current, o.columnHeaderElement), o.rightPinnedCellsBefore = x !== ln.RIGHT ? [] : x0e(t.current, o.columnHeaderElement), o.leftPinnedHeadersAfter = x !== ln.LEFT ? [] : C0e(t.current, o.columnHeaderElement), o.rightPinnedHeadersBefore = x !== ln.RIGHT ? [] : w0e(t.current, o.columnHeaderElement), a.current = H1e(O, n.direction), i.current = $1e(D, o.columnHeaderElement.getBoundingClientRect(), a.current);
|
|
93215
93285
|
}, f = st(d), b = st((B) => {
|
|
@@ -97882,7 +97952,7 @@ export {
|
|
|
97882
97952
|
rve as mockSelectOptions,
|
|
97883
97953
|
nve as mockShortcut,
|
|
97884
97954
|
Xye as newFilterMock,
|
|
97885
|
-
|
|
97955
|
+
L4 as parseSvg,
|
|
97886
97956
|
b7 as selectSx,
|
|
97887
97957
|
NE as snakeCaseToTitleCase,
|
|
97888
97958
|
jle as startsWithAny,
|