@vived/sandbox 1.10.0 → 1.10.1

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/index.mjs CHANGED
@@ -3,7 +3,7 @@
3
3
  var YN = Object.defineProperty;
4
4
  var XN = (e, t, n) => t in e ? YN(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n;
5
5
  var Zl = (e, t, n) => XN(e, typeof t != "symbol" ? t + "" : t, n);
6
- import { AppObjectPM as tn, AppObjectEntity as un, Version as yi, MemoizedString as Yn, AppObjectEntityRepo as ZN, MemoizedBoolean as fn, AppObjectUC as de, DomainFactory as kr, getSingletonComponent as me, Color as O5, generateUniqueID as Er, AppObjectSingletonPM as Wr, VersionStage as QN, downloadFile as JN, makeAppObjectRepo as $C, DomainFactoryRepo as eR } from "@vived/core";
6
+ import { AppObjectPM as tn, AppObjectEntity as un, Version as yi, MemoizedString as $n, AppObjectEntityRepo as ZN, MemoizedBoolean as fn, AppObjectUC as de, DomainFactory as kr, getSingletonComponent as me, Color as O5, generateUniqueID as Er, AppObjectSingletonPM as Wr, VersionStage as QN, downloadFile as JN, makeAppObjectRepo as $C, DomainFactoryRepo as eR } from "@vived/core";
7
7
  import { jsxs as ee, jsx as C, Fragment as on } from "react/jsx-runtime";
8
8
  import { createRoot as tR } from "react-dom/client";
9
9
  import * as x from "react";
@@ -22,10 +22,10 @@ class ug extends tn {
22
22
  }
23
23
  }
24
24
  ug.type = "ActiveAppPM";
25
- var Kn;
25
+ var Yn;
26
26
  (function(e) {
27
27
  e.INIT = "INIT", e.LOADING = "LOADING", e.READY = "READY", e.ERROR = "ERROR";
28
- })(Kn || (Kn = {}));
28
+ })(Yn || (Yn = {}));
29
29
  class Cr extends un {
30
30
  /**
31
31
  * Retrieves an AppEntity from a specific AppObject
@@ -159,7 +159,7 @@ class cR extends Cr {
159
159
  return this._errorMsg !== void 0;
160
160
  }
161
161
  constructor(t) {
162
- super(t, Cr.type), this.memoizedName = new Yn("", this.notifyOnChange), this.memoizedDescription = new Yn("", this.notifyOnChange), this.memoizedImageUrl = new Yn("", this.notifyOnChange), this.memoizedImageAssetId = new Yn("", this.notifyOnChange), this.versions = [], this._state = Kn.INIT, this._assignedToOwner = !1, this.styles = [];
162
+ super(t, Cr.type), this.memoizedName = new $n("", this.notifyOnChange), this.memoizedDescription = new $n("", this.notifyOnChange), this.memoizedImageUrl = new $n("", this.notifyOnChange), this.memoizedImageAssetId = new $n("", this.notifyOnChange), this.versions = [], this._state = Yn.INIT, this._assignedToOwner = !1, this.styles = [];
163
163
  }
164
164
  }
165
165
  var Wh;
@@ -350,7 +350,7 @@ class hR extends Gr {
350
350
  * @param appObject - The AppObject that will host this entity
351
351
  */
352
352
  constructor(t) {
353
- super(t, Gr.type), this._memoizedName = new Yn("", this.notifyOnChange), this._memoizedOwner = new Yn("", this.notifyOnChange), this._memoizedDescription = new Yn("", this.notifyOnChange), this._memoizedArchived = new fn(!1, this.notifyOnChange), this._memoizedFileURL = new Yn("", this.notifyOnChange), this._memoizedFilename = new Yn("", this.notifyOnChange), this._file = void 0, this._blobURL = void 0, this.setFile = (n) => {
353
+ super(t, Gr.type), this._memoizedName = new $n("", this.notifyOnChange), this._memoizedOwner = new $n("", this.notifyOnChange), this._memoizedDescription = new $n("", this.notifyOnChange), this._memoizedArchived = new fn(!1, this.notifyOnChange), this._memoizedFileURL = new $n("", this.notifyOnChange), this._memoizedFilename = new $n("", this.notifyOnChange), this._file = void 0, this._blobURL = void 0, this.setFile = (n) => {
354
354
  this._file = n, this._blobURL = URL.createObjectURL(n), this.notifyOnChange();
355
355
  }, this._linkedAssets = [], this.addLinkedAsset = (n, r) => {
356
356
  this._linkedAssets.find((s) => s.id === r) === void 0 && (this._linkedAssets.push({
@@ -917,7 +917,7 @@ class FR extends Yi {
917
917
  constructor(t) {
918
918
  super(t, Yi.type), this.schemeLookup = /* @__PURE__ */ new Map(), this.submitScheme = (n, r) => {
919
919
  this.schemeLookup.has(n) && this.warn("Duplicate scheme name submitted. Overwriting"), this.schemeLookup.set(n, r), this.activeSchemeName || (this.activeSchemeName = n);
920
- }, this.memoizedActiveScheme = new Yn("", this.notifyOnChange), this.getColorForType = (n) => {
920
+ }, this.memoizedActiveScheme = new $n("", this.notifyOnChange), this.getColorForType = (n) => {
921
921
  const r = this.schemeLookup.get(this.activeSchemeName);
922
922
  if (!r)
923
923
  return this.error("No active scheme"), O5.RGB(0, 0, 0);
@@ -1366,12 +1366,29 @@ class xn extends un {
1366
1366
  set userToken(t) {
1367
1367
  this.memoizedUserToken.val = t;
1368
1368
  }
1369
+ /**
1370
+ * Gets the id of the activity being played, or an empty string
1371
+ * @returns The playing activity's id
1372
+ */
1373
+ get playingActivityId() {
1374
+ return this.memoizedPlayingActivityId.val;
1375
+ }
1376
+ /**
1377
+ * Sets the id of the activity being played. The asset reads send it as
1378
+ * `?activityId=`, so the API can let a viewer read a channel asset that
1379
+ * activity uses (vived-api-legacy#762). Set it to an empty string when
1380
+ * nothing is playing.
1381
+ * @param val The playing activity's id
1382
+ */
1383
+ set playingActivityId(t) {
1384
+ this.memoizedPlayingActivityId.val = t;
1385
+ }
1369
1386
  /**
1370
1387
  * Constructs a new VivedAPIEntity and registers it as a singleton
1371
1388
  * @param appObject The AppObject this entity belongs to
1372
1389
  */
1373
1390
  constructor(t) {
1374
- super(t, xn.type), this.productionURL = "https://api.vivedlearning.com", this.stagingURL = "https://api-staging.vivedlearning.com", this.developmentURL = "https://api-test.vivedlearning.com", this.localURL = "http://localhost:3001", this.memoizedApiState = new Yn(Ks.PRODUCTION, this.notifyOnChange), this.getEndpointURL = (n) => new URL(n, this.baseUrl), this.memoizedUserToken = new Yn("", this.notifyOnChange), this.appObjects.registerSingleton(this);
1391
+ super(t, xn.type), this.productionURL = "https://api.vivedlearning.com", this.stagingURL = "https://api-staging.vivedlearning.com", this.developmentURL = "https://api-test.vivedlearning.com", this.localURL = "http://localhost:3001", this.memoizedApiState = new $n(Ks.PRODUCTION, this.notifyOnChange), this.getEndpointURL = (n) => new URL(n, this.baseUrl), this.memoizedUserToken = new $n("", this.notifyOnChange), this.memoizedPlayingActivityId = new $n("", this.notifyOnChange), this.appObjects.registerSingleton(this);
1375
1392
  }
1376
1393
  }
1377
1394
  xn.type = "VivedAPIEntity";
@@ -1386,17 +1403,17 @@ class ir extends de {
1386
1403
  }
1387
1404
  }
1388
1405
  ir.type = "JsonRequestUC";
1389
- class ur extends de {
1406
+ class sr extends de {
1390
1407
  /**
1391
1408
  * Retrieves the singleton SignedAuthTokenUC from the app objects repository
1392
1409
  * @param appObjects The AppObjectRepo to get the singleton from
1393
1410
  * @returns The SignedAuthTokenUC singleton or undefined if not found
1394
1411
  */
1395
1412
  static get(t) {
1396
- return me(ur.type, t);
1413
+ return me(sr.type, t);
1397
1414
  }
1398
1415
  }
1399
- ur.type = "SignedAuthTokenUC";
1416
+ sr.type = "SignedAuthTokenUC";
1400
1417
  class xa extends de {
1401
1418
  static get(t) {
1402
1419
  return me(xa.type, t);
@@ -1413,7 +1430,7 @@ class p3 extends xa {
1413
1430
  }
1414
1431
  get getAuthToken() {
1415
1432
  var t;
1416
- return (t = this.getCachedSingleton(ur.type)) == null ? void 0 : t.getAuthToken;
1433
+ return (t = this.getCachedSingleton(sr.type)) == null ? void 0 : t.getAuthToken;
1417
1434
  }
1418
1435
  get vivedAPI() {
1419
1436
  return this.getCachedSingleton(xn.type);
@@ -1562,9 +1579,9 @@ class h3 extends zr {
1562
1579
  * @returns A promise that resolves when the app is ready
1563
1580
  */
1564
1581
  waitForAppIsReady(t, n) {
1565
- return t.id === "app4e48fbaa815a4857821bf7569b003751" && n.major === 1 && n.minor === 0 || t.id === "appe860b51f49414e20ae7995dff4d9b152" && n.major === 1 && n.minor <= 2 || t.id === "app41df8a36f628451d9f633f8a9bdf3edb" && n.major === 1 && n.minor <= 1 || t.id === "app448f8f293fbb493a9e233f113ce8b56a" || t.id === "APP_FOR_JEST_TEST" ? (t.state = Kn.READY, Promise.resolve()) : new Promise((r) => {
1582
+ return t.id === "app4e48fbaa815a4857821bf7569b003751" && n.major === 1 && n.minor === 0 || t.id === "appe860b51f49414e20ae7995dff4d9b152" && n.major === 1 && n.minor <= 2 || t.id === "app41df8a36f628451d9f633f8a9bdf3edb" && n.major === 1 && n.minor <= 1 || t.id === "app448f8f293fbb493a9e233f113ce8b56a" || t.id === "APP_FOR_JEST_TEST" ? (t.state = Yn.READY, Promise.resolve()) : new Promise((r) => {
1566
1583
  const i = () => {
1567
- t.state === Kn.READY && (t.removeChangeObserver(i), r());
1584
+ t.state === Yn.READY && (t.removeChangeObserver(i), r());
1568
1585
  };
1569
1586
  t.addChangeObserver(i), i();
1570
1587
  });
@@ -1583,7 +1600,7 @@ class h3 extends zr {
1583
1600
  const n = Ef(this.app, this.app.mountedVersion);
1584
1601
  window[n] = void 0, delete window[n], this.scriptElements.forEach((i) => {
1585
1602
  i.remove();
1586
- }), this.scriptElements = [], this.app.styles = [], this.app.appAssetFolderURL = void 0, this.app.mountedVersion = void 0, this.app.state = Kn.INIT;
1603
+ }), this.scriptElements = [], this.app.styles = [], this.app.appAssetFolderURL = void 0, this.app.mountedVersion = void 0, this.app.state = Yn.INIT;
1587
1604
  }, this.mount = (n, r) => {
1588
1605
  const i = this.getAppFromAPI;
1589
1606
  if (!i)
@@ -1605,7 +1622,7 @@ class h3 extends zr {
1605
1622
  return Promise.resolve();
1606
1623
  this.unmount();
1607
1624
  }
1608
- return s.state = Kn.LOADING, new Promise((u, f) => {
1625
+ return s.state = Yn.LOADING, new Promise((u, f) => {
1609
1626
  i.getApp(this.appObject.id, c.baseVersionString).then((h) => {
1610
1627
  s.appAssetFolderURL = h.assetFolderURL;
1611
1628
  const { scripts: y, styles: l } = this.parseEndpoints(h.entrypoints);
@@ -1616,7 +1633,7 @@ class h3 extends zr {
1616
1633
  }).then(() => {
1617
1634
  s.mountedVersion = c, u();
1618
1635
  }).catch((h) => {
1619
- s.state = Kn.ERROR, f(h);
1636
+ s.state = Yn.ERROR, f(h);
1620
1637
  });
1621
1638
  });
1622
1639
  }, this.loadScripts = (n, r) => {
@@ -1813,7 +1830,7 @@ class b3 extends zr {
1813
1830
  const a = this.appEntity, c = this.sandbox;
1814
1831
  return new Promise((u) => {
1815
1832
  const f = () => {
1816
- a.state === Kn.READY && (c.state = Gt.MOUNTED, a.removeChangeObserver(f), u());
1833
+ a.state === Yn.READY && (c.state = Gt.MOUNTED, a.removeChangeObserver(f), u());
1817
1834
  };
1818
1835
  a.addChangeObserver(f), f();
1819
1836
  });
@@ -1938,7 +1955,7 @@ class T3 extends Da {
1938
1955
  this.memoizedStreamState.val = t;
1939
1956
  }
1940
1957
  constructor(t) {
1941
- super(t, Da.type), this.memoizedName = new Yn("", this.notifyOnChange), this._data = {}, this._assets = [], this.memoisedAppID = new Yn("", this.notifyOnChange), this.memoizedStreamState = new Yn(N1.INIT, this.notifyOnChange);
1958
+ super(t, Da.type), this.memoizedName = new $n("", this.notifyOnChange), this._data = {}, this._assets = [], this.memoisedAppID = new $n("", this.notifyOnChange), this.memoizedStreamState = new $n(N1.INIT, this.notifyOnChange);
1942
1959
  }
1943
1960
  }
1944
1961
  class Nt extends un {
@@ -2849,7 +2866,7 @@ class uo extends tu {
2849
2866
  i <= 0 ? this.isOpen = !1 : setTimeout(() => {
2850
2867
  this.isOpen = !1;
2851
2868
  }, i);
2852
- }, this.memoizedMessage = new Yn(t.message, this.notifyOnChange), this.title = t.title;
2869
+ }, this.memoizedMessage = new $n(t.message, this.notifyOnChange), this.title = t.title;
2853
2870
  }
2854
2871
  }
2855
2872
  uo.type = "SpinnerDialogEntity";
@@ -3993,7 +4010,7 @@ let pw = class extends Fa {
3993
4010
  }
3994
4011
  get getAuthToken() {
3995
4012
  var t;
3996
- return (t = this.getCachedSingleton(ur.type)) == null ? void 0 : t.getAuthToken;
4013
+ return (t = this.getCachedSingleton(sr.type)) == null ? void 0 : t.getAuthToken;
3997
4014
  }
3998
4015
  get vivedAPI() {
3999
4016
  return this.getCachedSingleton(xn.type);
@@ -4088,14 +4105,17 @@ class gw extends Ua {
4088
4105
  }
4089
4106
  get getAuthToken() {
4090
4107
  var t;
4091
- return (t = this.getCachedSingleton(ur.type)) == null ? void 0 : t.getAuthToken;
4108
+ return (t = this.getCachedSingleton(sr.type)) == null ? void 0 : t.getAuthToken;
4092
4109
  }
4093
4110
  constructor(t) {
4094
4111
  super(t, Ua.type), this.doFetch = (n) => {
4095
4112
  const r = this.vivedAPI, i = this.requestJSON, s = this.getAuthToken;
4096
4113
  if (!r || !i || !s)
4097
4114
  return Promise.reject();
4098
- const o = () => r.getEndpointURL(`assets/${n}`);
4115
+ const o = () => {
4116
+ const c = r.getEndpointURL(`assets/${n}`);
4117
+ return r.playingActivityId && c.searchParams.append("activityId", r.playingActivityId), c;
4118
+ };
4099
4119
  let a;
4100
4120
  return new Promise((c, u) => {
4101
4121
  s().then((f) => {
@@ -4165,13 +4185,25 @@ class bw extends ys {
4165
4185
  var t;
4166
4186
  return (t = this.getCachedSingleton(Ma.type)) == null ? void 0 : t.doRequest;
4167
4187
  }
4188
+ get getAuthToken() {
4189
+ var t;
4190
+ return (t = this.getCachedSingleton(sr.type)) == null ? void 0 : t.getAuthToken;
4191
+ }
4168
4192
  constructor(t) {
4169
4193
  super(t, ys.type), this.doUpload = (n) => {
4170
- const r = this.vivedAPI, i = this.requestJSON, s = this.basicFetch;
4171
- return !r || !i || !s ? Promise.reject() : new Promise((o, a) => {
4172
- const c = r.getEndpointURL(`upload/large/DataVariants/${n.name}?function_version=2`);
4173
- i(c).then((u) => {
4174
- const { url: f, contentType: h } = u, y = new URL(f), l = {
4194
+ const r = this.vivedAPI, i = this.requestJSON, s = this.basicFetch, o = this.getAuthToken;
4195
+ return !r || !i || !s || !o ? Promise.reject() : new Promise((a, c) => {
4196
+ const u = r.getEndpointURL(`upload/large/DataVariants/${n.name}?function_version=2`);
4197
+ o().then((f) => {
4198
+ const h = {
4199
+ method: "GET",
4200
+ headers: {
4201
+ Authorization: "Bearer " + f
4202
+ }
4203
+ };
4204
+ return i(u, h);
4205
+ }).then((f) => {
4206
+ const { url: h, contentType: y } = f, l = new URL(h), E = {
4175
4207
  method: "PUT",
4176
4208
  body: n,
4177
4209
  // Sending Content-Type is what makes S3 store a real type instead
@@ -4188,14 +4220,14 @@ class bw extends ys {
4188
4220
  // header that differs from the presigned value returns 200 and
4189
4221
  // stores what was sent. See vived-api-legacy#118.
4190
4222
  headers: {
4191
- "Content-Type": Tw(n, h)
4223
+ "Content-Type": Tw(n, y)
4192
4224
  }
4193
4225
  };
4194
- return s(y, l);
4195
- }).then((u) => {
4196
- o();
4197
- }).catch((u) => {
4198
- this.warn(u.message), a(u);
4226
+ return s(l, E);
4227
+ }).then((f) => {
4228
+ a();
4229
+ }).catch((f) => {
4230
+ this.warn(f.message), c(f);
4199
4231
  });
4200
4232
  });
4201
4233
  }, this.appObjects.registerSingleton(this);
@@ -4224,7 +4256,7 @@ class Sw extends Ba {
4224
4256
  }
4225
4257
  get getAuthToken() {
4226
4258
  var t;
4227
- return (t = this.getCachedSingleton(ur.type)) == null ? void 0 : t.getAuthToken;
4259
+ return (t = this.getCachedSingleton(sr.type)) == null ? void 0 : t.getAuthToken;
4228
4260
  }
4229
4261
  get vivedAPI() {
4230
4262
  return this.getCachedSingleton(xn.type);
@@ -4251,7 +4283,7 @@ class Sw extends Ba {
4251
4283
  return !r || !i || !s ? Promise.reject() : new Promise((o, a) => {
4252
4284
  r().then((c) => {
4253
4285
  const u = i.getEndpointURL(`assets/group/${n}`), f = 1, h = 100;
4254
- u.searchParams.append("page", f.toString()), u.searchParams.append("itemsPerPage", h.toString());
4286
+ u.searchParams.append("page", f.toString()), u.searchParams.append("itemsPerPage", h.toString()), i.playingActivityId && u.searchParams.append("activityId", i.playingActivityId);
4255
4287
  const y = {
4256
4288
  method: "GET",
4257
4289
  headers: {
@@ -4285,7 +4317,7 @@ class Cw extends Ha {
4285
4317
  }
4286
4318
  get getAuthToken() {
4287
4319
  var t;
4288
- return (t = this.getCachedSingleton(ur.type)) == null ? void 0 : t.getAuthToken;
4320
+ return (t = this.getCachedSingleton(sr.type)) == null ? void 0 : t.getAuthToken;
4289
4321
  }
4290
4322
  get fileUpload() {
4291
4323
  var t;
@@ -4343,7 +4375,7 @@ class Iw extends $a {
4343
4375
  }
4344
4376
  get getAuthToken() {
4345
4377
  var t;
4346
- return (t = this.getCachedSingleton(ur.type)) == null ? void 0 : t.getAuthToken;
4378
+ return (t = this.getCachedSingleton(sr.type)) == null ? void 0 : t.getAuthToken;
4347
4379
  }
4348
4380
  get vivedAPI() {
4349
4381
  return this.getCachedSingleton(xn.type);
@@ -4388,7 +4420,7 @@ class Rw extends Ga {
4388
4420
  }
4389
4421
  get getAuthToken() {
4390
4422
  var t;
4391
- return (t = this.getCachedSingleton(ur.type)) == null ? void 0 : t.getAuthToken;
4423
+ return (t = this.getCachedSingleton(sr.type)) == null ? void 0 : t.getAuthToken;
4392
4424
  }
4393
4425
  get vivedAPI() {
4394
4426
  return this.getCachedSingleton(xn.type);
@@ -4438,7 +4470,7 @@ class Ow extends xc {
4438
4470
  }
4439
4471
  get getAuthToken() {
4440
4472
  var t;
4441
- return (t = this.getCachedSingleton(ur.type)) == null ? void 0 : t.getAuthToken;
4473
+ return (t = this.getCachedSingleton(sr.type)) == null ? void 0 : t.getAuthToken;
4442
4474
  }
4443
4475
  get fileUpload() {
4444
4476
  var t;
@@ -4504,7 +4536,7 @@ class xw extends Io {
4504
4536
  }
4505
4537
  get getPlayerAuthToken() {
4506
4538
  var t;
4507
- return (t = this.getCachedSingleton(ur.type)) == null ? void 0 : t.getAuthToken;
4539
+ return (t = this.getCachedSingleton(sr.type)) == null ? void 0 : t.getAuthToken;
4508
4540
  }
4509
4541
  get fileUploader() {
4510
4542
  var t;
@@ -7588,7 +7620,7 @@ class mD extends im {
7588
7620
  this.error("No App");
7589
7621
  return;
7590
7622
  }
7591
- this.app.state = Kn.READY;
7623
+ this.app.state = Yn.READY;
7592
7624
  }, this.handleRequest = (r) => {
7593
7625
  if (r === 1)
7594
7626
  this.action();
@@ -8693,7 +8725,7 @@ class ok extends Fo {
8693
8725
  return;
8694
8726
  const r = this.assetPlugin.show;
8695
8727
  let i = !1;
8696
- (r && ((o = this.assetPlugin.app) == null ? void 0 : o.state) === Kn.INIT || r && ((a = this.assetPlugin.app) == null ? void 0 : a.state) === Kn.LOADING) && (i = !0);
8728
+ (r && ((o = this.assetPlugin.app) == null ? void 0 : o.state) === Yn.INIT || r && ((a = this.assetPlugin.app) == null ? void 0 : a.state) === Yn.LOADING) && (i = !0);
8697
8729
  const s = {
8698
8730
  show: r,
8699
8731
  loading: i,
@@ -9956,18 +9988,18 @@ function ke(e) {
9956
9988
  throw new Error(process.env.NODE_ENV !== "production" ? "MUI: `capitalize(string)` expects a string argument." : ns(7));
9957
9989
  return e.charAt(0).toUpperCase() + e.slice(1);
9958
9990
  }
9959
- function sr(e) {
9991
+ function or(e) {
9960
9992
  return e && e.ownerDocument || document;
9961
9993
  }
9962
9994
  function oi(e) {
9963
- return sr(e).defaultView || window;
9995
+ return or(e).defaultView || window;
9964
9996
  }
9965
9997
  function b2(e = window) {
9966
9998
  const t = e.document.documentElement.clientWidth;
9967
9999
  return e.innerWidth - t;
9968
10000
  }
9969
10001
  function Xk(e) {
9970
- const t = sr(e);
10002
+ const t = or(e);
9971
10003
  return t.body === e ? oi(e).innerWidth > t.documentElement.clientWidth : e.scrollHeight > e.clientHeight;
9972
10004
  }
9973
10005
  function mc(e, t) {
@@ -10001,7 +10033,7 @@ function Qk(e, t) {
10001
10033
  property: "padding-right",
10002
10034
  el: r
10003
10035
  }), r.style.paddingRight = `${W5(r) + o}px`;
10004
- const a = sr(r).querySelectorAll(".mui-fixed");
10036
+ const a = or(r).querySelectorAll(".mui-fixed");
10005
10037
  [].forEach.call(a, (c) => {
10006
10038
  n.push({
10007
10039
  value: c.style.paddingRight,
@@ -10012,7 +10044,7 @@ function Qk(e, t) {
10012
10044
  }
10013
10045
  let s;
10014
10046
  if (r.parentNode instanceof DocumentFragment)
10015
- s = sr(r).body;
10047
+ s = or(r).body;
10016
10048
  else {
10017
10049
  const o = r.parentElement, a = oi(r);
10018
10050
  s = (o == null ? void 0 : o.nodeName) === "HTML" && a.getComputedStyle(o).overflowY === "scroll" ? o : r;
@@ -10206,7 +10238,7 @@ function v1(e) {
10206
10238
  }, [n, a]), x.useEffect(() => {
10207
10239
  if (!a || !E.current)
10208
10240
  return;
10209
- const I = sr(E.current), v = Gi(I);
10241
+ const I = or(E.current), v = Gi(I);
10210
10242
  return E.current.contains(v) || (E.current.hasAttribute("tabIndex") || (process.env.NODE_ENV !== "production" && console.error(["MUI: The modal content node does not accept focus.", 'For the benefit of assistive technologies, the tabIndex of the node is being set to "-1".'].join(`
10211
10243
  `)), E.current.setAttribute("tabIndex", "-1")), l.current && E.current.focus()), () => {
10212
10244
  i || (h.current && h.current.focus && (c.current = !0, h.current.focus()), h.current = null);
@@ -10214,7 +10246,7 @@ function v1(e) {
10214
10246
  }, [a]), x.useEffect(() => {
10215
10247
  if (!a || !E.current)
10216
10248
  return;
10217
- const I = sr(E.current), v = (D) => {
10249
+ const I = or(E.current), v = (D) => {
10218
10250
  if (S.current = D, r || !o() || D.key !== "Tab")
10219
10251
  return;
10220
10252
  Gi(I) === E.current && D.shiftKey && (c.current = !0, f.current && f.current.focus());
@@ -10604,7 +10636,7 @@ function S2(e) {
10604
10636
  t[n] = S2(e[n]);
10605
10637
  }), t;
10606
10638
  }
10607
- function $n(e, t, n = {
10639
+ function Gn(e, t, n = {
10608
10640
  clone: !0
10609
10641
  }) {
10610
10642
  const r = n.clone ? {
@@ -10612,7 +10644,7 @@ function $n(e, t, n = {
10612
10644
  } : e;
10613
10645
  return $i(e) && $i(t) && Object.keys(t).forEach((i) => {
10614
10646
  /* @__PURE__ */ x.isValidElement(t[i]) || w1.isValidElementType(t[i]) ? r[i] = t[i] : $i(t[i]) && // Avoid prototype pollution
10615
- Object.prototype.hasOwnProperty.call(e, i) && $i(e[i]) ? r[i] = $n(e[i], t[i], n) : n.clone ? r[i] = $i(t[i]) ? S2(t[i]) : t[i] : r[i] = t[i];
10647
+ Object.prototype.hasOwnProperty.call(e, i) && $i(e[i]) ? r[i] = Gn(e[i], t[i], n) : n.clone ? r[i] = $i(t[i]) ? S2(t[i]) : t[i] : r[i] = t[i];
10616
10648
  }), r;
10617
10649
  }
10618
10650
  const Z5 = /min-width:\s*([0-9.]+)/;
@@ -10805,7 +10837,7 @@ function bm(e, t) {
10805
10837
  return t;
10806
10838
  }
10807
10839
  function NL(e, ...t) {
10808
- const r = [_2(e), ...t].reduce((i, s) => $n(i, s), {});
10840
+ const r = [_2(e), ...t].reduce((i, s) => Gn(i, s), {});
10809
10841
  return bm(e, r);
10810
10842
  }
10811
10843
  function RL(e, t) {
@@ -11552,7 +11584,7 @@ var pM = /* @__PURE__ */ (function() {
11552
11584
  return (i = r.parentNode) == null ? void 0 : i.removeChild(r);
11553
11585
  }), this.tags = [], this.ctr = 0;
11554
11586
  }, e;
11555
- })(), qn = "-ms-", k1 = "-moz-", wt = "-webkit-", R2 = "comm", Sg = "rule", Ag = "decl", fM = "@import", v2 = "@keyframes", hM = "@layer", mM = Math.abs, bd = String.fromCharCode, gM = Object.assign;
11587
+ })(), Kn = "-ms-", k1 = "-moz-", wt = "-webkit-", R2 = "comm", Sg = "rule", Ag = "decl", fM = "@import", v2 = "@keyframes", hM = "@layer", mM = Math.abs, bd = String.fromCharCode, gM = Object.assign;
11556
11588
  function EM(e, t) {
11557
11589
  return Bn(e, 0) ^ 45 ? (((t << 2 ^ Bn(e, 0)) << 2 ^ Bn(e, 1)) << 2 ^ Bn(e, 2)) << 2 ^ Bn(e, 3) : 0;
11558
11590
  }
@@ -11951,32 +11983,32 @@ function L2(e, t) {
11951
11983
  case 4810:
11952
11984
  case 6968:
11953
11985
  case 2756:
11954
- return wt + e + k1 + e + qn + e + e;
11986
+ return wt + e + k1 + e + Kn + e + e;
11955
11987
  // flex, flex-direction
11956
11988
  case 6828:
11957
11989
  case 4268:
11958
- return wt + e + qn + e + e;
11990
+ return wt + e + Kn + e + e;
11959
11991
  // order
11960
11992
  case 6165:
11961
- return wt + e + qn + "flex-" + e + e;
11993
+ return wt + e + Kn + "flex-" + e + e;
11962
11994
  // align-items
11963
11995
  case 5187:
11964
- return wt + e + xt(e, /(\w+).+(:[^]+)/, wt + "box-$1$2" + qn + "flex-$1$2") + e;
11996
+ return wt + e + xt(e, /(\w+).+(:[^]+)/, wt + "box-$1$2" + Kn + "flex-$1$2") + e;
11965
11997
  // align-self
11966
11998
  case 5443:
11967
- return wt + e + qn + "flex-item-" + xt(e, /flex-|-self/, "") + e;
11999
+ return wt + e + Kn + "flex-item-" + xt(e, /flex-|-self/, "") + e;
11968
12000
  // align-content
11969
12001
  case 4675:
11970
- return wt + e + qn + "flex-line-pack" + xt(e, /align-content|flex-|-self/, "") + e;
12002
+ return wt + e + Kn + "flex-line-pack" + xt(e, /align-content|flex-|-self/, "") + e;
11971
12003
  // flex-shrink
11972
12004
  case 5548:
11973
- return wt + e + qn + xt(e, "shrink", "negative") + e;
12005
+ return wt + e + Kn + xt(e, "shrink", "negative") + e;
11974
12006
  // flex-basis
11975
12007
  case 5292:
11976
- return wt + e + qn + xt(e, "basis", "preferred-size") + e;
12008
+ return wt + e + Kn + xt(e, "basis", "preferred-size") + e;
11977
12009
  // flex-grow
11978
12010
  case 6060:
11979
- return wt + "box-" + xt(e, "-grow", "") + wt + e + qn + xt(e, "grow", "positive") + e;
12011
+ return wt + "box-" + xt(e, "-grow", "") + wt + e + Kn + xt(e, "grow", "positive") + e;
11980
12012
  // transition
11981
12013
  case 4554:
11982
12014
  return wt + xt(e, /([^-])(transform)/g, "$1" + wt + "$2") + e;
@@ -11989,7 +12021,7 @@ function L2(e, t) {
11989
12021
  return xt(e, /(image-set\([^]*)/, wt + "$1$`$1");
11990
12022
  // justify-content
11991
12023
  case 4968:
11992
- return xt(xt(e, /(.+:)(flex-)?(.*)/, wt + "box-pack:$3" + qn + "flex-pack:$3"), /s.+-b[^;]+/, "justify") + wt + e + e;
12024
+ return xt(xt(e, /(.+:)(flex-)?(.*)/, wt + "box-pack:$3" + Kn + "flex-pack:$3"), /s.+-b[^;]+/, "justify") + wt + e + e;
11993
12025
  // (margin|padding)-inline-(start|end)
11994
12026
  case 4095:
11995
12027
  case 3583:
@@ -12032,7 +12064,7 @@ function L2(e, t) {
12032
12064
  return xt(e, ":", ":" + wt) + e;
12033
12065
  // (inline-)?fl(e)x
12034
12066
  case 101:
12035
- return xt(e, /(.+:)([^;!]+)(;|!.+)?/, "$1" + wt + (Bn(e, 14) === 45 ? "inline-" : "") + "box$3$1" + wt + "$2$3$1" + qn + "$2box$3") + e;
12067
+ return xt(e, /(.+:)([^;!]+)(;|!.+)?/, "$1" + wt + (Bn(e, 14) === 45 ? "inline-" : "") + "box$3$1" + wt + "$2$3$1" + Kn + "$2box$3") + e;
12036
12068
  }
12037
12069
  break;
12038
12070
  // writing-mode
@@ -12040,15 +12072,15 @@ function L2(e, t) {
12040
12072
  switch (Bn(e, t + 11)) {
12041
12073
  // vertical-l(r)
12042
12074
  case 114:
12043
- return wt + e + qn + xt(e, /[svh]\w+-[tblr]{2}/, "tb") + e;
12075
+ return wt + e + Kn + xt(e, /[svh]\w+-[tblr]{2}/, "tb") + e;
12044
12076
  // vertical-r(l)
12045
12077
  case 108:
12046
- return wt + e + qn + xt(e, /[svh]\w+-[tblr]{2}/, "tb-rl") + e;
12078
+ return wt + e + Kn + xt(e, /[svh]\w+-[tblr]{2}/, "tb-rl") + e;
12047
12079
  // horizontal(-)tb
12048
12080
  case 45:
12049
- return wt + e + qn + xt(e, /[svh]\w+-[tblr]{2}/, "lr") + e;
12081
+ return wt + e + Kn + xt(e, /[svh]\w+-[tblr]{2}/, "lr") + e;
12050
12082
  }
12051
- return wt + e + qn + e + e;
12083
+ return wt + e + Kn + e + e;
12052
12084
  }
12053
12085
  return e;
12054
12086
  }
@@ -12077,7 +12109,7 @@ var PM = function(t, n, r, i) {
12077
12109
  }), Ql(t, {
12078
12110
  props: [xt(s, /:(plac\w+)/, ":" + k1 + "$1")]
12079
12111
  }), Ql(t, {
12080
- props: [xt(s, /:(plac\w+)/, qn + "input-$1")]
12112
+ props: [xt(s, /:(plac\w+)/, Kn + "input-$1")]
12081
12113
  })], i);
12082
12114
  }
12083
12115
  return "";
@@ -12972,7 +13004,7 @@ function Sd(e = {}, ...t) {
12972
13004
  shape: s = {},
12973
13005
  ...o
12974
13006
  } = e, a = C2(n), c = $2(i);
12975
- let u = $n({
13007
+ let u = Gn({
12976
13008
  breakpoints: a,
12977
13009
  direction: "ltr",
12978
13010
  components: {},
@@ -12987,7 +13019,7 @@ function Sd(e = {}, ...t) {
12987
13019
  ...s
12988
13020
  }
12989
13021
  }, o);
12990
- return u = AL(u), u.applyStyles = dP, u = t.reduce((f, h) => $n(f, h), u), u.unstable_sxConfig = {
13022
+ return u = AL(u), u.applyStyles = dP, u = t.reduce((f, h) => Gn(f, h), u), u.unstable_sxConfig = {
12991
13023
  ...Ed,
12992
13024
  ...o == null ? void 0 : o.unstable_sxConfig
12993
13025
  }, u.unstable_sx = function(h) {
@@ -14193,7 +14225,7 @@ function YP(e, t = {}) {
14193
14225
  css: D,
14194
14226
  varsWithDefaults: B
14195
14227
  } = Df(N, t);
14196
- l = $n(l, B), E[v] = {
14228
+ l = Gn(l, B), E[v] = {
14197
14229
  css: D,
14198
14230
  vars: O
14199
14231
  };
@@ -14203,7 +14235,7 @@ function YP(e, t = {}) {
14203
14235
  vars: N,
14204
14236
  varsWithDefaults: O
14205
14237
  } = Df(T, t);
14206
- l = $n(l, O), E[c] = {
14238
+ l = Gn(l, O), E[c] = {
14207
14239
  css: v,
14208
14240
  vars: N
14209
14241
  };
@@ -14232,7 +14264,7 @@ function YP(e, t = {}) {
14232
14264
  return Object.entries(E).forEach(([, {
14233
14265
  vars: N
14234
14266
  }]) => {
14235
- v = $n(v, N);
14267
+ v = Gn(v, N);
14236
14268
  }), v;
14237
14269
  },
14238
14270
  generateStyleSheets: () => {
@@ -14355,7 +14387,7 @@ const tF = (e) => ({
14355
14387
  const y = u > 0 ? s[f[u - 1]] : "column";
14356
14388
  s[c] = y;
14357
14389
  }
14358
- }), n = $n(n, Is({
14390
+ }), n = Gn(n, Is({
14359
14391
  theme: t
14360
14392
  }, o, (c, u) => e.useFlexGap ? {
14361
14393
  gap: Go(r, c)
@@ -14666,7 +14698,7 @@ const theme2 = createTheme({ palette: {
14666
14698
  return i ? (vy(i, S, "light", I, r), vy(i, S, "dark", v, r)) : (Ry(S, "light", I, r), Ry(S, "dark", v, r)), S.contrastText || (S.contrastText = y(S.main)), S;
14667
14699
  };
14668
14700
  let E;
14669
- return t === "light" ? E = e_() : t === "dark" && (E = n_()), process.env.NODE_ENV !== "production" && (E || console.error(`MUI: The palette mode \`${t}\` is not supported.`)), $n({
14701
+ return t === "light" ? E = e_() : t === "dark" && (E = n_()), process.env.NODE_ENV !== "production" && (E || console.error(`MUI: The palette mode \`${t}\` is not supported.`)), Gn({
14670
14702
  // A collection of common colors.
14671
14703
  common: {
14672
14704
  ...Wc
@@ -14808,7 +14840,7 @@ function r_(e, t) {
14808
14840
  letterSpacing: "inherit"
14809
14841
  }
14810
14842
  };
14811
- return $n({
14843
+ return Gn({
14812
14844
  htmlFontSize: c,
14813
14845
  pxToRem: l,
14814
14846
  fontFamily: n,
@@ -14973,7 +15005,7 @@ function Im(e = {}, ...t) {
14973
15005
  ...s,
14974
15006
  colorSpace: u
14975
15007
  }), y = Sd(e);
14976
- let l = $n(y, {
15008
+ let l = Gn(y, {
14977
15009
  mixins: fF(y.breakpoints, r),
14978
15010
  palette: h,
14979
15011
  // Don't use [...shadows] until you've verified its transpiled code is not invoking the iterator protocol.
@@ -14984,7 +15016,7 @@ function Im(e = {}, ...t) {
14984
15016
  ...AF
14985
15017
  }
14986
15018
  });
14987
- if (l = $n(l, f), l = t.reduce((E, T) => $n(E, T), l), process.env.NODE_ENV !== "production") {
15019
+ if (l = Gn(l, f), l = t.reduce((E, T) => Gn(E, T), l), process.env.NODE_ENV !== "production") {
14988
15020
  const E = ["active", "checked", "completed", "disabled", "error", "expanded", "focused", "focusVisible", "required", "selected"], T = (S, A) => {
14989
15021
  let R;
14990
15022
  for (R in S) {
@@ -15235,7 +15267,7 @@ function LF(e = {}, ...t) {
15235
15267
  const G = _[H];
15236
15268
  H !== "tonalOffset" && !o && G && typeof G == "object" && (G.main && te(_[H], "mainChannel", lc(cc(G.main))), G.light && te(_[H], "lightChannel", lc(cc(G.light))), G.dark && te(_[H], "darkChannel", lc(cc(G.dark))), G.contrastText && te(_[H], "contrastTextChannel", lc(cc(G.contrastText))), H === "text" && (Pi(_[H], "primary"), Pi(_[H], "secondary")), H === "action" && (G.active && Pi(_[H], "active"), G.selected && Pi(_[H], "selected")));
15237
15269
  });
15238
- }), O = t.reduce((F, _) => $n(F, _), O);
15270
+ }), O = t.reduce((F, _) => Gn(F, _), O);
15239
15271
  const D = {
15240
15272
  prefix: s,
15241
15273
  disableCssColorScheme: i,
@@ -15340,10 +15372,10 @@ process.env.NODE_ENV !== "production" && (l_.propTypes = {
15340
15372
  function c_(e) {
15341
15373
  return e !== "ownerState" && e !== "theme" && e !== "sx" && e !== "as";
15342
15374
  }
15343
- const zn = (e) => c_(e) && e !== "classes", he = W2({
15375
+ const Vn = (e) => c_(e) && e !== "classes", he = W2({
15344
15376
  themeId: Ai,
15345
15377
  defaultTheme: Bg,
15346
- rootShouldForwardProp: zn
15378
+ rootShouldForwardProp: Vn
15347
15379
  });
15348
15380
  function Hg(e) {
15349
15381
  return function(n) {
@@ -16390,7 +16422,7 @@ function XF(e) {
16390
16422
  } = e, f = x.useRef({}), h = x.useRef(null), y = x.useRef(null), l = In(y, u), [E, T] = x.useState(!c), S = YF(o);
16391
16423
  let A = !0;
16392
16424
  (e["aria-hidden"] === "false" || e["aria-hidden"] === !1) && (A = !1);
16393
- const R = () => sr(h.current), I = () => (f.current.modalRef = y.current, f.current.mount = h.current, f.current), v = () => {
16425
+ const R = () => or(h.current), I = () => (f.current.modalRef = y.current, f.current.mount = h.current, f.current), v = () => {
16394
16426
  Hu.mount(I(), {
16395
16427
  disableScrollLock: n
16396
16428
  }), y.current && (y.current.scrollTop = 0);
@@ -19336,7 +19368,7 @@ const iB = (e) => {
19336
19368
  }
19337
19369
  }
19338
19370
  }], sB = he(is, {
19339
- shouldForwardProp: (e) => zn(e) || e === "classes",
19371
+ shouldForwardProp: (e) => Vn(e) || e === "classes",
19340
19372
  name: "MuiButton",
19341
19373
  slot: "Root",
19342
19374
  overridesResolver: (e, t) => {
@@ -22305,7 +22337,7 @@ function e$(e, t, n) {
22305
22337
  return u === i ? (e.consume(u), r++, c) : (e.exit("thematicBreakSequence"), pt(u) ? Tt(e, a, "whitespace")(u) : a(u));
22306
22338
  }
22307
22339
  }
22308
- const cr = {
22340
+ const ur = {
22309
22341
  name: "list",
22310
22342
  tokenize: r$,
22311
22343
  continuation: {
@@ -22377,7 +22409,7 @@ function i$(e, t, n) {
22377
22409
  function o(a) {
22378
22410
  return r.containerState._closeFlow = !0, r.interrupt = void 0, Tt(
22379
22411
  e,
22380
- e.attempt(cr, t, n),
22412
+ e.attempt(ur, t, n),
22381
22413
  "linePrefix",
22382
22414
  r.parser.constructs.disable.null.includes("codeIndented") ? void 0 : 4
22383
22415
  )(a);
@@ -22803,19 +22835,19 @@ function b$(e, t) {
22803
22835
  return r.join("");
22804
22836
  }
22805
22837
  const T$ = {
22806
- 42: cr,
22807
- 43: cr,
22808
- 45: cr,
22809
- 48: cr,
22810
- 49: cr,
22811
- 50: cr,
22812
- 51: cr,
22813
- 52: cr,
22814
- 53: cr,
22815
- 54: cr,
22816
- 55: cr,
22817
- 56: cr,
22818
- 57: cr,
22838
+ 42: ur,
22839
+ 43: ur,
22840
+ 45: ur,
22841
+ 48: ur,
22842
+ 49: ur,
22843
+ 50: ur,
22844
+ 51: ur,
22845
+ 52: ur,
22846
+ 53: ur,
22847
+ 54: ur,
22848
+ 55: ur,
22849
+ 56: ur,
22850
+ 57: ur,
22819
22851
  62: F_
22820
22852
  }, y$ = {
22821
22853
  91: SH
@@ -27855,7 +27887,7 @@ function Fd() {
27855
27887
  156: 339,
27856
27888
  158: 382,
27857
27889
  159: 376
27858
- }, a = 1, c = 2, u = 4, f = a | c | u, h = "DATA_STATE", y = "RCDATA_STATE", l = "RAWTEXT_STATE", E = "SCRIPT_DATA_STATE", T = "PLAINTEXT_STATE", S = "TAG_OPEN_STATE", A = "END_TAG_OPEN_STATE", R = "TAG_NAME_STATE", I = "RCDATA_LESS_THAN_SIGN_STATE", v = "RCDATA_END_TAG_OPEN_STATE", N = "RCDATA_END_TAG_NAME_STATE", O = "RAWTEXT_LESS_THAN_SIGN_STATE", D = "RAWTEXT_END_TAG_OPEN_STATE", B = "RAWTEXT_END_TAG_NAME_STATE", $ = "SCRIPT_DATA_LESS_THAN_SIGN_STATE", L = "SCRIPT_DATA_END_TAG_OPEN_STATE", F = "SCRIPT_DATA_END_TAG_NAME_STATE", _ = "SCRIPT_DATA_ESCAPE_START_STATE", P = "SCRIPT_DATA_ESCAPE_START_DASH_STATE", M = "SCRIPT_DATA_ESCAPED_STATE", H = "SCRIPT_DATA_ESCAPED_DASH_STATE", G = "SCRIPT_DATA_ESCAPED_DASH_DASH_STATE", z = "SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN_STATE", q = "SCRIPT_DATA_ESCAPED_END_TAG_OPEN_STATE", le = "SCRIPT_DATA_ESCAPED_END_TAG_NAME_STATE", w = "SCRIPT_DATA_DOUBLE_ESCAPE_START_STATE", j = "SCRIPT_DATA_DOUBLE_ESCAPED_STATE", ie = "SCRIPT_DATA_DOUBLE_ESCAPED_DASH_STATE", U = "SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH_STATE", oe = "SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN_STATE", ne = "SCRIPT_DATA_DOUBLE_ESCAPE_END_STATE", Y = "BEFORE_ATTRIBUTE_NAME_STATE", Q = "ATTRIBUTE_NAME_STATE", Z = "AFTER_ATTRIBUTE_NAME_STATE", se = "BEFORE_ATTRIBUTE_VALUE_STATE", J = "ATTRIBUTE_VALUE_DOUBLE_QUOTED_STATE", Te = "ATTRIBUTE_VALUE_SINGLE_QUOTED_STATE", V = "ATTRIBUTE_VALUE_UNQUOTED_STATE", Oe = "AFTER_ATTRIBUTE_VALUE_QUOTED_STATE", X = "SELF_CLOSING_START_TAG_STATE", Me = "BOGUS_COMMENT_STATE", Ee = "MARKUP_DECLARATION_OPEN_STATE", ye = "COMMENT_START_STATE", re = "COMMENT_START_DASH_STATE", be = "COMMENT_STATE", we = "COMMENT_LESS_THAN_SIGN_STATE", tt = "COMMENT_LESS_THAN_SIGN_BANG_STATE", at = "COMMENT_LESS_THAN_SIGN_BANG_DASH_STATE", Ve = "COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH_STATE", lt = "COMMENT_END_DASH_STATE", qt = "COMMENT_END_STATE", ht = "COMMENT_END_BANG_STATE", K = "DOCTYPE_STATE", ae = "BEFORE_DOCTYPE_NAME_STATE", ce = "DOCTYPE_NAME_STATE", Re = "AFTER_DOCTYPE_NAME_STATE", ve = "AFTER_DOCTYPE_PUBLIC_KEYWORD_STATE", We = "BEFORE_DOCTYPE_PUBLIC_IDENTIFIER_STATE", Ce = "DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED_STATE", _e = "DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED_STATE", rt = "AFTER_DOCTYPE_PUBLIC_IDENTIFIER_STATE", mn = "BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS_STATE", st = "AFTER_DOCTYPE_SYSTEM_KEYWORD_STATE", Zt = "BEFORE_DOCTYPE_SYSTEM_IDENTIFIER_STATE", vt = "DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED_STATE", gn = "DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED_STATE", an = "AFTER_DOCTYPE_SYSTEM_IDENTIFIER_STATE", nt = "BOGUS_DOCTYPE_STATE", Qt = "CDATA_SECTION_STATE", ar = "CDATA_SECTION_BRACKET_STATE", xe = "CDATA_SECTION_END_STATE", Ue = "CHARACTER_REFERENCE_STATE", Ke = "NAMED_CHARACTER_REFERENCE_STATE", Dn = "AMBIGUOS_AMPERSAND_STATE", Wn = "NUMERIC_CHARACTER_REFERENCE_STATE", Xr = "HEXADEMICAL_CHARACTER_REFERENCE_START_STATE", Zr = "DECIMAL_CHARACTER_REFERENCE_START_STATE", Ae = "HEXADEMICAL_CHARACTER_REFERENCE_STATE", Se = "DECIMAL_CHARACTER_REFERENCE_STATE", Le = "NUMERIC_CHARACTER_REFERENCE_END_STATE";
27890
+ }, a = 1, c = 2, u = 4, f = a | c | u, h = "DATA_STATE", y = "RCDATA_STATE", l = "RAWTEXT_STATE", E = "SCRIPT_DATA_STATE", T = "PLAINTEXT_STATE", S = "TAG_OPEN_STATE", A = "END_TAG_OPEN_STATE", R = "TAG_NAME_STATE", I = "RCDATA_LESS_THAN_SIGN_STATE", v = "RCDATA_END_TAG_OPEN_STATE", N = "RCDATA_END_TAG_NAME_STATE", O = "RAWTEXT_LESS_THAN_SIGN_STATE", D = "RAWTEXT_END_TAG_OPEN_STATE", B = "RAWTEXT_END_TAG_NAME_STATE", $ = "SCRIPT_DATA_LESS_THAN_SIGN_STATE", L = "SCRIPT_DATA_END_TAG_OPEN_STATE", F = "SCRIPT_DATA_END_TAG_NAME_STATE", _ = "SCRIPT_DATA_ESCAPE_START_STATE", P = "SCRIPT_DATA_ESCAPE_START_DASH_STATE", M = "SCRIPT_DATA_ESCAPED_STATE", H = "SCRIPT_DATA_ESCAPED_DASH_STATE", G = "SCRIPT_DATA_ESCAPED_DASH_DASH_STATE", z = "SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN_STATE", q = "SCRIPT_DATA_ESCAPED_END_TAG_OPEN_STATE", le = "SCRIPT_DATA_ESCAPED_END_TAG_NAME_STATE", w = "SCRIPT_DATA_DOUBLE_ESCAPE_START_STATE", j = "SCRIPT_DATA_DOUBLE_ESCAPED_STATE", ie = "SCRIPT_DATA_DOUBLE_ESCAPED_DASH_STATE", U = "SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH_STATE", oe = "SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN_STATE", ne = "SCRIPT_DATA_DOUBLE_ESCAPE_END_STATE", Y = "BEFORE_ATTRIBUTE_NAME_STATE", Q = "ATTRIBUTE_NAME_STATE", Z = "AFTER_ATTRIBUTE_NAME_STATE", se = "BEFORE_ATTRIBUTE_VALUE_STATE", J = "ATTRIBUTE_VALUE_DOUBLE_QUOTED_STATE", Te = "ATTRIBUTE_VALUE_SINGLE_QUOTED_STATE", V = "ATTRIBUTE_VALUE_UNQUOTED_STATE", Oe = "AFTER_ATTRIBUTE_VALUE_QUOTED_STATE", X = "SELF_CLOSING_START_TAG_STATE", Me = "BOGUS_COMMENT_STATE", Ee = "MARKUP_DECLARATION_OPEN_STATE", ye = "COMMENT_START_STATE", re = "COMMENT_START_DASH_STATE", be = "COMMENT_STATE", we = "COMMENT_LESS_THAN_SIGN_STATE", tt = "COMMENT_LESS_THAN_SIGN_BANG_STATE", at = "COMMENT_LESS_THAN_SIGN_BANG_DASH_STATE", Ve = "COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH_STATE", lt = "COMMENT_END_DASH_STATE", qt = "COMMENT_END_STATE", ht = "COMMENT_END_BANG_STATE", K = "DOCTYPE_STATE", ae = "BEFORE_DOCTYPE_NAME_STATE", ce = "DOCTYPE_NAME_STATE", Re = "AFTER_DOCTYPE_NAME_STATE", ve = "AFTER_DOCTYPE_PUBLIC_KEYWORD_STATE", We = "BEFORE_DOCTYPE_PUBLIC_IDENTIFIER_STATE", Ce = "DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED_STATE", _e = "DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED_STATE", rt = "AFTER_DOCTYPE_PUBLIC_IDENTIFIER_STATE", mn = "BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS_STATE", st = "AFTER_DOCTYPE_SYSTEM_KEYWORD_STATE", Zt = "BEFORE_DOCTYPE_SYSTEM_IDENTIFIER_STATE", vt = "DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED_STATE", gn = "DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED_STATE", an = "AFTER_DOCTYPE_SYSTEM_IDENTIFIER_STATE", nt = "BOGUS_DOCTYPE_STATE", Qt = "CDATA_SECTION_STATE", lr = "CDATA_SECTION_BRACKET_STATE", xe = "CDATA_SECTION_END_STATE", Ue = "CHARACTER_REFERENCE_STATE", Ke = "NAMED_CHARACTER_REFERENCE_STATE", Dn = "AMBIGUOS_AMPERSAND_STATE", qn = "NUMERIC_CHARACTER_REFERENCE_STATE", Xr = "HEXADEMICAL_CHARACTER_REFERENCE_START_STATE", Zr = "DECIMAL_CHARACTER_REFERENCE_START_STATE", Ae = "HEXADEMICAL_CHARACTER_REFERENCE_STATE", Se = "DECIMAL_CHARACTER_REFERENCE_STATE", Le = "NUMERIC_CHARACTER_REFERENCE_END_STATE";
27859
27891
  function fe(pe) {
27860
27892
  return pe === i.SPACE || pe === i.LINE_FEED || pe === i.TABULATION || pe === i.FORM_FEED;
27861
27893
  }
@@ -27871,7 +27903,7 @@ function Fd() {
27871
27903
  function ut(pe) {
27872
27904
  return Kt(pe) || ct(pe);
27873
27905
  }
27874
- function lr(pe) {
27906
+ function cr(pe) {
27875
27907
  return ut(pe) || mt(pe);
27876
27908
  }
27877
27909
  function Jn(pe) {
@@ -28091,7 +28123,7 @@ function Fd() {
28091
28123
  _isCharacterReferenceAttributeQuirk(b) {
28092
28124
  if (!b && this._isCharacterReferenceInAttribute()) {
28093
28125
  const Ie = this._consume();
28094
- return this._unconsume(), Ie === i.EQUALS_SIGN || lr(Ie);
28126
+ return this._unconsume(), Ie === i.EQUALS_SIGN || cr(Ie);
28095
28127
  }
28096
28128
  return !1;
28097
28129
  }
@@ -28525,11 +28557,11 @@ function Fd() {
28525
28557
  // CDATA section state
28526
28558
  //------------------------------------------------------------------
28527
28559
  [Qt](b) {
28528
- b === i.RIGHT_SQUARE_BRACKET ? this.state = ar : b === i.EOF ? (this._err(r.eofInCdata), this._emitEOFToken()) : this._emitCodePoint(b);
28560
+ b === i.RIGHT_SQUARE_BRACKET ? this.state = lr : b === i.EOF ? (this._err(r.eofInCdata), this._emitEOFToken()) : this._emitCodePoint(b);
28529
28561
  }
28530
28562
  // CDATA section bracket state
28531
28563
  //------------------------------------------------------------------
28532
- [ar](b) {
28564
+ [lr](b) {
28533
28565
  b === i.RIGHT_SQUARE_BRACKET ? this.state = xe : (this._emitChars("]"), this._reconsumeInState(Qt));
28534
28566
  }
28535
28567
  // CDATA section end state
@@ -28540,7 +28572,7 @@ function Fd() {
28540
28572
  // Character reference state
28541
28573
  //------------------------------------------------------------------
28542
28574
  [Ue](b) {
28543
- this.tempBuff = [i.AMPERSAND], b === i.NUMBER_SIGN ? (this.tempBuff.push(b), this.state = Wn) : lr(b) ? this._reconsumeInState(Ke) : (this._flushCodePointsConsumedAsCharacterReference(), this._reconsumeInState(this.returnState));
28575
+ this.tempBuff = [i.AMPERSAND], b === i.NUMBER_SIGN ? (this.tempBuff.push(b), this.state = qn) : cr(b) ? this._reconsumeInState(Ke) : (this._flushCodePointsConsumedAsCharacterReference(), this._reconsumeInState(this.returnState));
28544
28576
  }
28545
28577
  // Named character reference state
28546
28578
  //------------------------------------------------------------------
@@ -28557,11 +28589,11 @@ function Fd() {
28557
28589
  // Ambiguos ampersand state
28558
28590
  //------------------------------------------------------------------
28559
28591
  [Dn](b) {
28560
- lr(b) ? this._isCharacterReferenceInAttribute() ? this.currentAttr.value += ze(b) : this._emitCodePoint(b) : (b === i.SEMICOLON && this._err(r.unknownNamedCharacterReference), this._reconsumeInState(this.returnState));
28592
+ cr(b) ? this._isCharacterReferenceInAttribute() ? this.currentAttr.value += ze(b) : this._emitCodePoint(b) : (b === i.SEMICOLON && this._err(r.unknownNamedCharacterReference), this._reconsumeInState(this.returnState));
28561
28593
  }
28562
28594
  // Numeric character reference state
28563
28595
  //------------------------------------------------------------------
28564
- [Wn](b) {
28596
+ [qn](b) {
28565
28597
  this.charRefCode = 0, b === i.LATIN_SMALL_X || b === i.LATIN_CAPITAL_X ? (this.tempBuff.push(b), this.state = Xr) : this._reconsumeInState(Zr);
28566
28598
  }
28567
28599
  // Hexademical character reference start state
@@ -30686,7 +30718,7 @@ function JV() {
30686
30718
  function Qt(p, m) {
30687
30719
  p._reconstructActiveFormattingElements(), p._insertCharacters(m), p.framesetOk = !1;
30688
30720
  }
30689
- function ar(p, m) {
30721
+ function lr(p, m) {
30690
30722
  p.openElements.tmplCount === 0 && p.treeAdapter.adoptAttributes(p.openElements.items[0], m.attrs);
30691
30723
  }
30692
30724
  function xe(p, m) {
@@ -30705,7 +30737,7 @@ function JV() {
30705
30737
  const g = p.openElements.currentTagName;
30706
30738
  (g === l.H1 || g === l.H2 || g === l.H3 || g === l.H4 || g === l.H5 || g === l.H6) && p.openElements.pop(), p._insertElement(m, E.HTML);
30707
30739
  }
30708
- function Wn(p, m) {
30740
+ function qn(p, m) {
30709
30741
  p.openElements.hasInButtonScope(l.P) && p._closePElement(), p._insertElement(m, E.HTML), p.skipNextNewLine = !0, p.framesetOk = !1;
30710
30742
  }
30711
30743
  function Xr(p, m) {
@@ -30752,7 +30784,7 @@ function JV() {
30752
30784
  function ut(p, m) {
30753
30785
  p._reconstructActiveFormattingElements(), p._appendElement(m, E.HTML), p.framesetOk = !1, m.ackSelfClosing = !0;
30754
30786
  }
30755
- function lr(p, m) {
30787
+ function cr(p, m) {
30756
30788
  p._reconstructActiveFormattingElements(), p._appendElement(m, E.HTML);
30757
30789
  const g = e.getTokenAttr(m, T.TYPE);
30758
30790
  (!g || g.toLowerCase() !== A) && (p.framesetOk = !1), m.ackSelfClosing = !0;
@@ -30812,19 +30844,19 @@ function JV() {
30812
30844
  g === l.DL || g === l.OL || g === l.UL ? Ke(p, m) : g === l.H1 || g === l.H2 || g === l.H3 || g === l.H4 || g === l.H5 || g === l.H6 ? Dn(p, m) : g === l.LI || g === l.DD || g === l.DT ? Zr(p, m) : g === l.EM || g === l.TT ? fe(p, m) : g === l.BR ? ut(p, m) : g === l.HR ? Di(p, m) : g === l.RB ? b(p, m) : g === l.RT || g === l.RP ? Ie(p, m) : g !== l.TH && g !== l.TD && g !== l.TR && Qe(p, m);
30813
30845
  break;
30814
30846
  case 3:
30815
- g === l.DIV || g === l.DIR || g === l.NAV ? Ke(p, m) : g === l.PRE ? Wn(p, m) : g === l.BIG ? fe(p, m) : g === l.IMG || g === l.WBR ? ut(p, m) : g === l.XMP ? ze(p, m) : g === l.SVG ? gt(p, m) : g === l.RTC ? b(p, m) : g !== l.COL && Qe(p, m);
30847
+ g === l.DIV || g === l.DIR || g === l.NAV ? Ke(p, m) : g === l.PRE ? qn(p, m) : g === l.BIG ? fe(p, m) : g === l.IMG || g === l.WBR ? ut(p, m) : g === l.XMP ? ze(p, m) : g === l.SVG ? gt(p, m) : g === l.RTC ? b(p, m) : g !== l.COL && Qe(p, m);
30816
30848
  break;
30817
30849
  case 4:
30818
- g === l.HTML ? ar(p, m) : g === l.BASE || g === l.LINK || g === l.META ? Ce(p, m) : g === l.BODY ? xe(p, m) : g === l.MAIN || g === l.MENU ? Ke(p, m) : g === l.FORM ? Xr(p, m) : g === l.CODE || g === l.FONT ? fe(p, m) : g === l.NOBR ? mt(p, m) : g === l.AREA ? ut(p, m) : g === l.MATH ? dt(p, m) : g === l.MENU ? Ot(p, m) : g !== l.HEAD && Qe(p, m);
30850
+ g === l.HTML ? lr(p, m) : g === l.BASE || g === l.LINK || g === l.META ? Ce(p, m) : g === l.BODY ? xe(p, m) : g === l.MAIN || g === l.MENU ? Ke(p, m) : g === l.FORM ? Xr(p, m) : g === l.CODE || g === l.FONT ? fe(p, m) : g === l.NOBR ? mt(p, m) : g === l.AREA ? ut(p, m) : g === l.MATH ? dt(p, m) : g === l.MENU ? Ot(p, m) : g !== l.HEAD && Qe(p, m);
30819
30851
  break;
30820
30852
  case 5:
30821
- g === l.STYLE || g === l.TITLE ? Ce(p, m) : g === l.ASIDE ? Ke(p, m) : g === l.SMALL ? fe(p, m) : g === l.TABLE ? Kt(p, m) : g === l.EMBED ? ut(p, m) : g === l.INPUT ? lr(p, m) : g === l.PARAM || g === l.TRACK ? Jn(p, m) : g === l.IMAGE ? Ps(p, m) : g !== l.FRAME && g !== l.TBODY && g !== l.TFOOT && g !== l.THEAD && Qe(p, m);
30853
+ g === l.STYLE || g === l.TITLE ? Ce(p, m) : g === l.ASIDE ? Ke(p, m) : g === l.SMALL ? fe(p, m) : g === l.TABLE ? Kt(p, m) : g === l.EMBED ? ut(p, m) : g === l.INPUT ? cr(p, m) : g === l.PARAM || g === l.TRACK ? Jn(p, m) : g === l.IMAGE ? Ps(p, m) : g !== l.FRAME && g !== l.TBODY && g !== l.TFOOT && g !== l.THEAD && Qe(p, m);
30822
30854
  break;
30823
30855
  case 6:
30824
30856
  g === l.SCRIPT ? Ce(p, m) : g === l.CENTER || g === l.FIGURE || g === l.FOOTER || g === l.HEADER || g === l.HGROUP || g === l.DIALOG ? Ke(p, m) : g === l.BUTTON ? Se(p, m) : g === l.STRIKE || g === l.STRONG ? fe(p, m) : g === l.APPLET || g === l.OBJECT ? ct(p, m) : g === l.KEYGEN ? ut(p, m) : g === l.SOURCE ? Jn(p, m) : g === l.IFRAME ? En(p, m) : g === l.SELECT ? Fe(p, m) : g === l.OPTION ? pe(p, m) : Qe(p, m);
30825
30857
  break;
30826
30858
  case 7:
30827
- g === l.BGSOUND ? Ce(p, m) : g === l.DETAILS || g === l.ADDRESS || g === l.ARTICLE || g === l.SECTION || g === l.SUMMARY ? Ke(p, m) : g === l.LISTING ? Wn(p, m) : g === l.MARQUEE ? ct(p, m) : g === l.NOEMBED ? Qr(p, m) : g !== l.CAPTION && Qe(p, m);
30859
+ g === l.BGSOUND ? Ce(p, m) : g === l.DETAILS || g === l.ADDRESS || g === l.ARTICLE || g === l.SECTION || g === l.SUMMARY ? Ke(p, m) : g === l.LISTING ? qn(p, m) : g === l.MARQUEE ? ct(p, m) : g === l.NOEMBED ? Qr(p, m) : g !== l.CAPTION && Qe(p, m);
30828
30860
  break;
30829
30861
  case 8:
30830
30862
  g === l.BASEFONT ? Ce(p, m) : g === l.FRAMESET ? Ue(p, m) : g === l.FIELDSET ? Ke(p, m) : g === l.TEXTAREA ? br(p, m) : g === l.TEMPLATE ? Ce(p, m) : g === l.NOSCRIPT ? p.options.scriptingEnabled ? Qr(p, m) : Qe(p, m) : g === l.OPTGROUP ? pe(p, m) : g !== l.COLGROUP && Qe(p, m);
@@ -33373,9 +33405,9 @@ function Gd(e) {
33373
33405
  };
33374
33406
  })(e);
33375
33407
  }
33376
- Vn.displayName = "javascript";
33377
- Vn.aliases = ["js"];
33378
- function Vn(e) {
33408
+ jn.displayName = "javascript";
33409
+ jn.aliases = ["js"];
33410
+ function jn(e) {
33379
33411
  e.register(ft), e.languages.javascript = e.languages.extend("clike", {
33380
33412
  "class-name": [
33381
33413
  e.languages.clike["class-name"],
@@ -34256,9 +34288,9 @@ function Kd(e) {
34256
34288
  };
34257
34289
  })(e);
34258
34290
  }
34259
- jn.displayName = "markup-templating";
34260
- jn.aliases = [];
34261
- function jn(e) {
34291
+ Wn.displayName = "markup-templating";
34292
+ Wn.aliases = [];
34293
+ function Wn(e) {
34262
34294
  e.register(Pn), (function(t) {
34263
34295
  function n(r, i) {
34264
34296
  return "___" + r.toUpperCase() + i + "___";
@@ -34329,7 +34361,7 @@ function jn(e) {
34329
34361
  ra.displayName = "php";
34330
34362
  ra.aliases = [];
34331
34363
  function ra(e) {
34332
- e.register(jn), (function(t) {
34364
+ e.register(Wn), (function(t) {
34333
34365
  var n = /\/\*[\s\S]*?\*\/|\/\/.*|#(?!\[).*/, r = [
34334
34366
  {
34335
34367
  pattern: /\b(?:false|true)\b/i,
@@ -35343,7 +35375,7 @@ function Jd(e) {
35343
35375
  vl.displayName = "typescript";
35344
35376
  vl.aliases = ["ts"];
35345
35377
  function vl(e) {
35346
- e.register(Vn), (function(t) {
35378
+ e.register(jn), (function(t) {
35347
35379
  t.languages.typescript = t.languages.extend("javascript", {
35348
35380
  "class-name": {
35349
35381
  pattern: /(\b(?:class|extends|implements|instanceof|interface|new|type)\s+)(?!keyof\b)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?:\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>)?/,
@@ -36252,7 +36284,7 @@ k.register(Hd);
36252
36284
  k.register($d);
36253
36285
  k.register(na);
36254
36286
  k.register(Gd);
36255
- k.register(Vn);
36287
+ k.register(jn);
36256
36288
  k.register(Nl);
36257
36289
  k.register(zd);
36258
36290
  k.register(Vd);
@@ -36262,7 +36294,7 @@ k.register(bu);
36262
36294
  k.register(Wd);
36263
36295
  k.register(qd);
36264
36296
  k.register(Kd);
36265
- k.register(jn);
36297
+ k.register(Wn);
36266
36298
  k.register(ra);
36267
36299
  k.register(Tu);
36268
36300
  k.register(Yd);
@@ -36391,7 +36423,7 @@ function o0(e) {
36391
36423
  a0.displayName = "actionscript";
36392
36424
  a0.aliases = [];
36393
36425
  function a0(e) {
36394
- e.register(Vn), e.languages.actionscript = e.languages.extend("javascript", {
36426
+ e.register(jn), e.languages.actionscript = e.languages.extend("javascript", {
36395
36427
  keyword: /\b(?:as|break|case|catch|class|const|default|delete|do|dynamic|each|else|extends|final|finally|for|function|get|if|implements|import|in|include|instanceof|interface|internal|is|namespace|native|new|null|override|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|use|var|void|while|with)\b/,
36396
36428
  operator: /\+\+|--|(?:[+\-*\/%^]|&&?|\|\|?|<<?|>>?>?|[!=]=?)=?|[~?@]/
36397
36429
  }), e.languages.actionscript["class-name"].alias = "function", delete e.languages.actionscript.parameter, delete e.languages.actionscript["literal-property"], e.languages.markup && e.languages.insertBefore("actionscript", "string", {
@@ -38410,7 +38442,7 @@ function K0(e) {
38410
38442
  Y0.displayName = "coffeescript";
38411
38443
  Y0.aliases = ["coffee"];
38412
38444
  function Y0(e) {
38413
- e.register(Vn), (function(t) {
38445
+ e.register(jn), (function(t) {
38414
38446
  var n = /#(?!\{).+/, r = {
38415
38447
  pattern: /#\{[^}]+\}/,
38416
38448
  alias: "variable"
@@ -39374,7 +39406,7 @@ function cE(e) {
39374
39406
  uE.displayName = "django";
39375
39407
  uE.aliases = ["jinja2"];
39376
39408
  function uE(e) {
39377
- e.register(jn), (function(t) {
39409
+ e.register(Wn), (function(t) {
39378
39410
  t.languages.django = {
39379
39411
  comment: /^\{#[\s\S]*?#\}$/,
39380
39412
  tag: {
@@ -39722,7 +39754,7 @@ function gE(e) {
39722
39754
  EE.displayName = "ejs";
39723
39755
  EE.aliases = ["eta"];
39724
39756
  function EE(e) {
39725
- e.register(Vn), e.register(jn), (function(t) {
39757
+ e.register(jn), e.register(Wn), (function(t) {
39726
39758
  t.languages.ejs = {
39727
39759
  delimiter: {
39728
39760
  pattern: /^<%[-_=]?|[-_]?%>$/,
@@ -39897,7 +39929,7 @@ function TE(e) {
39897
39929
  yE.displayName = "etlua";
39898
39930
  yE.aliases = [];
39899
39931
  function yE(e) {
39900
- e.register(Eu), e.register(jn), (function(t) {
39932
+ e.register(Eu), e.register(Wn), (function(t) {
39901
39933
  t.languages.etlua = {
39902
39934
  delimiter: {
39903
39935
  pattern: /^<%[-=]?|-?%>$/,
@@ -39922,7 +39954,7 @@ function yE(e) {
39922
39954
  SE.displayName = "erb";
39923
39955
  SE.aliases = [];
39924
39956
  function SE(e) {
39925
- e.register(jn), e.register(ia), (function(t) {
39957
+ e.register(Wn), e.register(ia), (function(t) {
39926
39958
  t.languages.erb = {
39927
39959
  delimiter: {
39928
39960
  pattern: /^(\s*)<%=?|%>(?=\s*$)/,
@@ -41126,7 +41158,7 @@ function RE(e) {
41126
41158
  vE.displayName = "flow";
41127
41159
  vE.aliases = [];
41128
41160
  function vE(e) {
41129
- e.register(Vn), (function(t) {
41161
+ e.register(jn), (function(t) {
41130
41162
  t.languages.flow = t.languages.extend("javascript", {}), t.languages.insertBefore("flow", "keyword", {
41131
41163
  type: [
41132
41164
  {
@@ -41198,7 +41230,7 @@ function OE(e) {
41198
41230
  wE.displayName = "ftl";
41199
41231
  wE.aliases = [];
41200
41232
  function wE(e) {
41201
- e.register(jn), (function(t) {
41233
+ e.register(Wn), (function(t) {
41202
41234
  for (var n = /[^<()"']|\((?:<expr>)*\)|<(?!#--)|<#--(?:[^-]|-(?!->))*-->|"(?:[^\\"]|\\.)*"|'(?:[^\\']|\\.)*'/.source, r = 0; r < 2; r++)
41203
41235
  n = n.replace(/<expr>/g, function() {
41204
41236
  return n;
@@ -42400,7 +42432,7 @@ function qE(e) {
42400
42432
  KE.displayName = "handlebars";
42401
42433
  KE.aliases = ["hbs", "mustache"];
42402
42434
  function KE(e) {
42403
- e.register(jn), (function(t) {
42435
+ e.register(Wn), (function(t) {
42404
42436
  t.languages.handlebars = {
42405
42437
  comment: /\{\{![\s\S]*?\}\}/,
42406
42438
  delimiter: {
@@ -43720,7 +43752,7 @@ function gb(e) {
43720
43752
  Eb.displayName = "js-templates";
43721
43753
  Eb.aliases = [];
43722
43754
  function Eb(e) {
43723
- e.register(Vn), (function(t) {
43755
+ e.register(jn), (function(t) {
43724
43756
  var n = t.languages.javascript["template-string"], r = n.pattern.source, i = n.inside.interpolation, s = i.inside["interpolation-punctuation"], o = i.pattern.source;
43725
43757
  function a(E, T) {
43726
43758
  if (t.languages[E])
@@ -43888,7 +43920,7 @@ function Eb(e) {
43888
43920
  bb.displayName = "jsdoc";
43889
43921
  bb.aliases = [];
43890
43922
  function bb(e) {
43891
- e.register(wl), e.register(Vn), e.register(vl), (function(t) {
43923
+ e.register(wl), e.register(jn), e.register(vl), (function(t) {
43892
43924
  var n = t.languages.javascript, r = /\{(?:[^{}]|\{(?:[^{}]|\{[^{}]*\})*\})+\}/.source, i = "(@(?:arg|argument|param|property)\\s+(?:" + r + "\\s+)?)";
43893
43925
  t.languages.jsdoc = t.languages.extend("javadoclike", {
43894
43926
  parameter: {
@@ -43971,7 +44003,7 @@ function bb(e) {
43971
44003
  Tb.displayName = "n4js";
43972
44004
  Tb.aliases = ["n4jsd"];
43973
44005
  function Tb(e) {
43974
- e.register(Vn), e.languages.n4js = e.languages.extend("javascript", {
44006
+ e.register(jn), e.languages.n4js = e.languages.extend("javascript", {
43975
44007
  // Keywords from N4JS language spec: https://numberfour.github.io/n4js/spec/N4JSSpec.html
43976
44008
  keyword: /\b(?:Array|any|boolean|break|case|catch|class|const|constructor|continue|debugger|declare|default|delete|do|else|enum|export|extends|false|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|module|new|null|number|package|private|protected|public|return|set|static|string|super|switch|this|throw|true|try|typeof|var|void|while|with|yield)\b/
43977
44009
  }), e.languages.insertBefore("n4js", "constant", {
@@ -43985,7 +44017,7 @@ function Tb(e) {
43985
44017
  yb.displayName = "js-extras";
43986
44018
  yb.aliases = [];
43987
44019
  function yb(e) {
43988
- e.register(Vn), (function(t) {
44020
+ e.register(jn), (function(t) {
43989
44021
  t.languages.insertBefore("javascript", "function-variable", {
43990
44022
  "method-variable": {
43991
44023
  pattern: RegExp(
@@ -44518,7 +44550,7 @@ function Ob(e) {
44518
44550
  wb.displayName = "latte";
44519
44551
  wb.aliases = [];
44520
44552
  function wb(e) {
44521
- e.register(ft), e.register(jn), e.register(ra), (function(t) {
44553
+ e.register(ft), e.register(Wn), e.register(ra), (function(t) {
44522
44554
  t.languages.latte = {
44523
44555
  comment: /^\{\*[\s\S]*/,
44524
44556
  "latte-tag": {
@@ -44773,7 +44805,7 @@ function xb(e) {
44773
44805
  Db.displayName = "liquid";
44774
44806
  Db.aliases = [];
44775
44807
  function Db(e) {
44776
- e.register(jn), e.languages.liquid = {
44808
+ e.register(Wn), e.languages.liquid = {
44777
44809
  comment: {
44778
44810
  pattern: /(^\{%\s*comment\s*%\})[\s\S]+(?=\{%\s*endcomment\s*%\}$)/,
44779
44811
  lookbehind: !0
@@ -45728,7 +45760,7 @@ function Vb(e) {
45728
45760
  jb.displayName = "mongodb";
45729
45761
  jb.aliases = [];
45730
45762
  function jb(e) {
45731
- e.register(Vn), (function(t) {
45763
+ e.register(jn), (function(t) {
45732
45764
  var n = [
45733
45765
  // query and projection
45734
45766
  "$eq",
@@ -47910,7 +47942,7 @@ function RT(e) {
47910
47942
  vT.displayName = "twig";
47911
47943
  vT.aliases = [];
47912
47944
  function vT(e) {
47913
- e.register(jn), e.languages.twig = {
47945
+ e.register(Wn), e.languages.twig = {
47914
47946
  comment: /^\{#[\s\S]*?#\}$/,
47915
47947
  "tag-name": {
47916
47948
  pattern: /(^\{%-?\s*)\w+/,
@@ -47950,7 +47982,7 @@ function vT(e) {
47950
47982
  OT.displayName = "pug";
47951
47983
  OT.aliases = [];
47952
47984
  function OT(e) {
47953
- e.register(Vn), e.register(Pn), (function(t) {
47985
+ e.register(jn), e.register(Pn), (function(t) {
47954
47986
  t.languages.pug = {
47955
47987
  // Multiline stuff should appear before the rest
47956
47988
  // This handles both single-line and multi-line comments
@@ -48594,7 +48626,7 @@ function MT(e) {
48594
48626
  PT.displayName = "qml";
48595
48627
  PT.aliases = [];
48596
48628
  function PT(e) {
48597
- e.register(Vn), (function(t) {
48629
+ e.register(jn), (function(t) {
48598
48630
  for (var n = /"(?:\\.|[^\\"\r\n])*"|'(?:\\.|[^\\'\r\n])*'/.source, r = /\/\/.*(?!.)|\/\*(?:[^*]|\*(?!\/))*\*\//.source, i = /(?:[^\\()[\]{}"'/]|<string>|\/(?![*/])|<comment>|\(<expr>*\)|\[<expr>*\]|\{<expr>*\}|\\[\s\S])/.source.replace(/<string>/g, function() {
48599
48631
  return n;
48600
48632
  }).replace(/<comment>/g, function() {
@@ -48824,7 +48856,7 @@ function BT(e) {
48824
48856
  tp.displayName = "jsx";
48825
48857
  tp.aliases = [];
48826
48858
  function tp(e) {
48827
- e.register(Vn), e.register(Pn), (function(t) {
48859
+ e.register(jn), e.register(Pn), (function(t) {
48828
48860
  var n = t.util.clone(t.languages.javascript), r = /(?:\s|\/\/.*(?!.)|\/\*(?:[^*]|\*(?!\/))\*\/)/.source, i = /(?:\{(?:\{(?:\{[^{}]*\}|[^{}])*\}|[^{}])*\})/.source, s = /(?:\{<S>*\.{3}(?:[^{}]|<BRACES>)*\})/.source;
48829
48861
  function o(u, f) {
48830
48862
  return u = u.replace(/<S>/g, function() {
@@ -49924,7 +49956,7 @@ function QT(e) {
49924
49956
  JT.displayName = "smarty";
49925
49957
  JT.aliases = [];
49926
49958
  function JT(e) {
49927
- e.register(jn), (function(t) {
49959
+ e.register(Wn), (function(t) {
49928
49960
  t.languages.smarty = {
49929
49961
  comment: {
49930
49962
  pattern: /^\{\*[\s\S]*?\*\}/,
@@ -50171,7 +50203,7 @@ function n9(e) {
50171
50203
  r9.displayName = "soy";
50172
50204
  r9.aliases = [];
50173
50205
  function r9(e) {
50174
- e.register(jn), (function(t) {
50206
+ e.register(Wn), (function(t) {
50175
50207
  var n = /(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/, r = /\b\d+(?:\.\d+)?(?:[eE][+-]?\d+)?\b|\b0x[\dA-F]+\b/;
50176
50208
  t.languages.soy = {
50177
50209
  comment: [
@@ -50818,7 +50850,7 @@ function g9(e) {
50818
50850
  E9.displayName = "tt2";
50819
50851
  E9.aliases = [];
50820
50852
  function E9(e) {
50821
- e.register(ft), e.register(jn), (function(t) {
50853
+ e.register(ft), e.register(Wn), (function(t) {
50822
50854
  t.languages.tt2 = t.languages.extend("clike", {
50823
50855
  comment: /#.*|\[%#[\s\S]*?%\]/,
50824
50856
  keyword: /\b(?:BLOCK|CALL|CASE|CATCH|CLEAR|DEBUG|DEFAULT|ELSE|ELSIF|END|FILTER|FINAL|FOREACH|GET|IF|IN|INCLUDE|INSERT|LAST|MACRO|META|NEXT|PERL|PROCESS|RAWPERL|RETURN|SET|STOP|SWITCH|TAGS|THROW|TRY|UNLESS|USE|WHILE|WRAPPER)\b/,
@@ -52315,7 +52347,7 @@ k.register(Pn);
52315
52347
  k.register(ks);
52316
52348
  k.register(ft);
52317
52349
  k.register(Gd);
52318
- k.register(Vn);
52350
+ k.register(jn);
52319
52351
  k.register(s0);
52320
52352
  k.register(o0);
52321
52353
  k.register(a0);
@@ -52386,7 +52418,7 @@ k.register(aE);
52386
52418
  k.register(lE);
52387
52419
  k.register(cE);
52388
52420
  k.register(Bd);
52389
- k.register(jn);
52421
+ k.register(Wn);
52390
52422
  k.register(uE);
52391
52423
  k.register(dE);
52392
52424
  k.register(pE);
@@ -54369,7 +54401,7 @@ function sp() {
54369
54401
  156: 339,
54370
54402
  158: 382,
54371
54403
  159: 376
54372
- }, a = 1, c = 2, u = 4, f = a | c | u, h = "DATA_STATE", y = "RCDATA_STATE", l = "RAWTEXT_STATE", E = "SCRIPT_DATA_STATE", T = "PLAINTEXT_STATE", S = "TAG_OPEN_STATE", A = "END_TAG_OPEN_STATE", R = "TAG_NAME_STATE", I = "RCDATA_LESS_THAN_SIGN_STATE", v = "RCDATA_END_TAG_OPEN_STATE", N = "RCDATA_END_TAG_NAME_STATE", O = "RAWTEXT_LESS_THAN_SIGN_STATE", D = "RAWTEXT_END_TAG_OPEN_STATE", B = "RAWTEXT_END_TAG_NAME_STATE", $ = "SCRIPT_DATA_LESS_THAN_SIGN_STATE", L = "SCRIPT_DATA_END_TAG_OPEN_STATE", F = "SCRIPT_DATA_END_TAG_NAME_STATE", _ = "SCRIPT_DATA_ESCAPE_START_STATE", P = "SCRIPT_DATA_ESCAPE_START_DASH_STATE", M = "SCRIPT_DATA_ESCAPED_STATE", H = "SCRIPT_DATA_ESCAPED_DASH_STATE", G = "SCRIPT_DATA_ESCAPED_DASH_DASH_STATE", z = "SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN_STATE", q = "SCRIPT_DATA_ESCAPED_END_TAG_OPEN_STATE", le = "SCRIPT_DATA_ESCAPED_END_TAG_NAME_STATE", w = "SCRIPT_DATA_DOUBLE_ESCAPE_START_STATE", j = "SCRIPT_DATA_DOUBLE_ESCAPED_STATE", ie = "SCRIPT_DATA_DOUBLE_ESCAPED_DASH_STATE", U = "SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH_STATE", oe = "SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN_STATE", ne = "SCRIPT_DATA_DOUBLE_ESCAPE_END_STATE", Y = "BEFORE_ATTRIBUTE_NAME_STATE", Q = "ATTRIBUTE_NAME_STATE", Z = "AFTER_ATTRIBUTE_NAME_STATE", se = "BEFORE_ATTRIBUTE_VALUE_STATE", J = "ATTRIBUTE_VALUE_DOUBLE_QUOTED_STATE", Te = "ATTRIBUTE_VALUE_SINGLE_QUOTED_STATE", V = "ATTRIBUTE_VALUE_UNQUOTED_STATE", Oe = "AFTER_ATTRIBUTE_VALUE_QUOTED_STATE", X = "SELF_CLOSING_START_TAG_STATE", Me = "BOGUS_COMMENT_STATE", Ee = "MARKUP_DECLARATION_OPEN_STATE", ye = "COMMENT_START_STATE", re = "COMMENT_START_DASH_STATE", be = "COMMENT_STATE", we = "COMMENT_LESS_THAN_SIGN_STATE", tt = "COMMENT_LESS_THAN_SIGN_BANG_STATE", at = "COMMENT_LESS_THAN_SIGN_BANG_DASH_STATE", Ve = "COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH_STATE", lt = "COMMENT_END_DASH_STATE", qt = "COMMENT_END_STATE", ht = "COMMENT_END_BANG_STATE", K = "DOCTYPE_STATE", ae = "BEFORE_DOCTYPE_NAME_STATE", ce = "DOCTYPE_NAME_STATE", Re = "AFTER_DOCTYPE_NAME_STATE", ve = "AFTER_DOCTYPE_PUBLIC_KEYWORD_STATE", We = "BEFORE_DOCTYPE_PUBLIC_IDENTIFIER_STATE", Ce = "DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED_STATE", _e = "DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED_STATE", rt = "AFTER_DOCTYPE_PUBLIC_IDENTIFIER_STATE", mn = "BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS_STATE", st = "AFTER_DOCTYPE_SYSTEM_KEYWORD_STATE", Zt = "BEFORE_DOCTYPE_SYSTEM_IDENTIFIER_STATE", vt = "DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED_STATE", gn = "DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED_STATE", an = "AFTER_DOCTYPE_SYSTEM_IDENTIFIER_STATE", nt = "BOGUS_DOCTYPE_STATE", Qt = "CDATA_SECTION_STATE", ar = "CDATA_SECTION_BRACKET_STATE", xe = "CDATA_SECTION_END_STATE", Ue = "CHARACTER_REFERENCE_STATE", Ke = "NAMED_CHARACTER_REFERENCE_STATE", Dn = "AMBIGUOS_AMPERSAND_STATE", Wn = "NUMERIC_CHARACTER_REFERENCE_STATE", Xr = "HEXADEMICAL_CHARACTER_REFERENCE_START_STATE", Zr = "DECIMAL_CHARACTER_REFERENCE_START_STATE", Ae = "HEXADEMICAL_CHARACTER_REFERENCE_STATE", Se = "DECIMAL_CHARACTER_REFERENCE_STATE", Le = "NUMERIC_CHARACTER_REFERENCE_END_STATE";
54404
+ }, a = 1, c = 2, u = 4, f = a | c | u, h = "DATA_STATE", y = "RCDATA_STATE", l = "RAWTEXT_STATE", E = "SCRIPT_DATA_STATE", T = "PLAINTEXT_STATE", S = "TAG_OPEN_STATE", A = "END_TAG_OPEN_STATE", R = "TAG_NAME_STATE", I = "RCDATA_LESS_THAN_SIGN_STATE", v = "RCDATA_END_TAG_OPEN_STATE", N = "RCDATA_END_TAG_NAME_STATE", O = "RAWTEXT_LESS_THAN_SIGN_STATE", D = "RAWTEXT_END_TAG_OPEN_STATE", B = "RAWTEXT_END_TAG_NAME_STATE", $ = "SCRIPT_DATA_LESS_THAN_SIGN_STATE", L = "SCRIPT_DATA_END_TAG_OPEN_STATE", F = "SCRIPT_DATA_END_TAG_NAME_STATE", _ = "SCRIPT_DATA_ESCAPE_START_STATE", P = "SCRIPT_DATA_ESCAPE_START_DASH_STATE", M = "SCRIPT_DATA_ESCAPED_STATE", H = "SCRIPT_DATA_ESCAPED_DASH_STATE", G = "SCRIPT_DATA_ESCAPED_DASH_DASH_STATE", z = "SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN_STATE", q = "SCRIPT_DATA_ESCAPED_END_TAG_OPEN_STATE", le = "SCRIPT_DATA_ESCAPED_END_TAG_NAME_STATE", w = "SCRIPT_DATA_DOUBLE_ESCAPE_START_STATE", j = "SCRIPT_DATA_DOUBLE_ESCAPED_STATE", ie = "SCRIPT_DATA_DOUBLE_ESCAPED_DASH_STATE", U = "SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH_STATE", oe = "SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN_STATE", ne = "SCRIPT_DATA_DOUBLE_ESCAPE_END_STATE", Y = "BEFORE_ATTRIBUTE_NAME_STATE", Q = "ATTRIBUTE_NAME_STATE", Z = "AFTER_ATTRIBUTE_NAME_STATE", se = "BEFORE_ATTRIBUTE_VALUE_STATE", J = "ATTRIBUTE_VALUE_DOUBLE_QUOTED_STATE", Te = "ATTRIBUTE_VALUE_SINGLE_QUOTED_STATE", V = "ATTRIBUTE_VALUE_UNQUOTED_STATE", Oe = "AFTER_ATTRIBUTE_VALUE_QUOTED_STATE", X = "SELF_CLOSING_START_TAG_STATE", Me = "BOGUS_COMMENT_STATE", Ee = "MARKUP_DECLARATION_OPEN_STATE", ye = "COMMENT_START_STATE", re = "COMMENT_START_DASH_STATE", be = "COMMENT_STATE", we = "COMMENT_LESS_THAN_SIGN_STATE", tt = "COMMENT_LESS_THAN_SIGN_BANG_STATE", at = "COMMENT_LESS_THAN_SIGN_BANG_DASH_STATE", Ve = "COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH_STATE", lt = "COMMENT_END_DASH_STATE", qt = "COMMENT_END_STATE", ht = "COMMENT_END_BANG_STATE", K = "DOCTYPE_STATE", ae = "BEFORE_DOCTYPE_NAME_STATE", ce = "DOCTYPE_NAME_STATE", Re = "AFTER_DOCTYPE_NAME_STATE", ve = "AFTER_DOCTYPE_PUBLIC_KEYWORD_STATE", We = "BEFORE_DOCTYPE_PUBLIC_IDENTIFIER_STATE", Ce = "DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED_STATE", _e = "DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED_STATE", rt = "AFTER_DOCTYPE_PUBLIC_IDENTIFIER_STATE", mn = "BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS_STATE", st = "AFTER_DOCTYPE_SYSTEM_KEYWORD_STATE", Zt = "BEFORE_DOCTYPE_SYSTEM_IDENTIFIER_STATE", vt = "DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED_STATE", gn = "DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED_STATE", an = "AFTER_DOCTYPE_SYSTEM_IDENTIFIER_STATE", nt = "BOGUS_DOCTYPE_STATE", Qt = "CDATA_SECTION_STATE", lr = "CDATA_SECTION_BRACKET_STATE", xe = "CDATA_SECTION_END_STATE", Ue = "CHARACTER_REFERENCE_STATE", Ke = "NAMED_CHARACTER_REFERENCE_STATE", Dn = "AMBIGUOS_AMPERSAND_STATE", qn = "NUMERIC_CHARACTER_REFERENCE_STATE", Xr = "HEXADEMICAL_CHARACTER_REFERENCE_START_STATE", Zr = "DECIMAL_CHARACTER_REFERENCE_START_STATE", Ae = "HEXADEMICAL_CHARACTER_REFERENCE_STATE", Se = "DECIMAL_CHARACTER_REFERENCE_STATE", Le = "NUMERIC_CHARACTER_REFERENCE_END_STATE";
54373
54405
  function fe(pe) {
54374
54406
  return pe === i.SPACE || pe === i.LINE_FEED || pe === i.TABULATION || pe === i.FORM_FEED;
54375
54407
  }
@@ -54385,7 +54417,7 @@ function sp() {
54385
54417
  function ut(pe) {
54386
54418
  return Kt(pe) || ct(pe);
54387
54419
  }
54388
- function lr(pe) {
54420
+ function cr(pe) {
54389
54421
  return ut(pe) || mt(pe);
54390
54422
  }
54391
54423
  function Jn(pe) {
@@ -54605,7 +54637,7 @@ function sp() {
54605
54637
  _isCharacterReferenceAttributeQuirk(b) {
54606
54638
  if (!b && this._isCharacterReferenceInAttribute()) {
54607
54639
  const Ie = this._consume();
54608
- return this._unconsume(), Ie === i.EQUALS_SIGN || lr(Ie);
54640
+ return this._unconsume(), Ie === i.EQUALS_SIGN || cr(Ie);
54609
54641
  }
54610
54642
  return !1;
54611
54643
  }
@@ -55039,11 +55071,11 @@ function sp() {
55039
55071
  // CDATA section state
55040
55072
  //------------------------------------------------------------------
55041
55073
  [Qt](b) {
55042
- b === i.RIGHT_SQUARE_BRACKET ? this.state = ar : b === i.EOF ? (this._err(r.eofInCdata), this._emitEOFToken()) : this._emitCodePoint(b);
55074
+ b === i.RIGHT_SQUARE_BRACKET ? this.state = lr : b === i.EOF ? (this._err(r.eofInCdata), this._emitEOFToken()) : this._emitCodePoint(b);
55043
55075
  }
55044
55076
  // CDATA section bracket state
55045
55077
  //------------------------------------------------------------------
55046
- [ar](b) {
55078
+ [lr](b) {
55047
55079
  b === i.RIGHT_SQUARE_BRACKET ? this.state = xe : (this._emitChars("]"), this._reconsumeInState(Qt));
55048
55080
  }
55049
55081
  // CDATA section end state
@@ -55054,7 +55086,7 @@ function sp() {
55054
55086
  // Character reference state
55055
55087
  //------------------------------------------------------------------
55056
55088
  [Ue](b) {
55057
- this.tempBuff = [i.AMPERSAND], b === i.NUMBER_SIGN ? (this.tempBuff.push(b), this.state = Wn) : lr(b) ? this._reconsumeInState(Ke) : (this._flushCodePointsConsumedAsCharacterReference(), this._reconsumeInState(this.returnState));
55089
+ this.tempBuff = [i.AMPERSAND], b === i.NUMBER_SIGN ? (this.tempBuff.push(b), this.state = qn) : cr(b) ? this._reconsumeInState(Ke) : (this._flushCodePointsConsumedAsCharacterReference(), this._reconsumeInState(this.returnState));
55058
55090
  }
55059
55091
  // Named character reference state
55060
55092
  //------------------------------------------------------------------
@@ -55071,11 +55103,11 @@ function sp() {
55071
55103
  // Ambiguos ampersand state
55072
55104
  //------------------------------------------------------------------
55073
55105
  [Dn](b) {
55074
- lr(b) ? this._isCharacterReferenceInAttribute() ? this.currentAttr.value += ze(b) : this._emitCodePoint(b) : (b === i.SEMICOLON && this._err(r.unknownNamedCharacterReference), this._reconsumeInState(this.returnState));
55106
+ cr(b) ? this._isCharacterReferenceInAttribute() ? this.currentAttr.value += ze(b) : this._emitCodePoint(b) : (b === i.SEMICOLON && this._err(r.unknownNamedCharacterReference), this._reconsumeInState(this.returnState));
55075
55107
  }
55076
55108
  // Numeric character reference state
55077
55109
  //------------------------------------------------------------------
55078
- [Wn](b) {
55110
+ [qn](b) {
55079
55111
  this.charRefCode = 0, b === i.LATIN_SMALL_X || b === i.LATIN_CAPITAL_X ? (this.tempBuff.push(b), this.state = Xr) : this._reconsumeInState(Zr);
55080
55112
  }
55081
55113
  // Hexademical character reference start state
@@ -57200,7 +57232,7 @@ function iK() {
57200
57232
  function Qt(p, m) {
57201
57233
  p._reconstructActiveFormattingElements(), p._insertCharacters(m), p.framesetOk = !1;
57202
57234
  }
57203
- function ar(p, m) {
57235
+ function lr(p, m) {
57204
57236
  p.openElements.tmplCount === 0 && p.treeAdapter.adoptAttributes(p.openElements.items[0], m.attrs);
57205
57237
  }
57206
57238
  function xe(p, m) {
@@ -57219,7 +57251,7 @@ function iK() {
57219
57251
  const g = p.openElements.currentTagName;
57220
57252
  (g === l.H1 || g === l.H2 || g === l.H3 || g === l.H4 || g === l.H5 || g === l.H6) && p.openElements.pop(), p._insertElement(m, E.HTML);
57221
57253
  }
57222
- function Wn(p, m) {
57254
+ function qn(p, m) {
57223
57255
  p.openElements.hasInButtonScope(l.P) && p._closePElement(), p._insertElement(m, E.HTML), p.skipNextNewLine = !0, p.framesetOk = !1;
57224
57256
  }
57225
57257
  function Xr(p, m) {
@@ -57266,7 +57298,7 @@ function iK() {
57266
57298
  function ut(p, m) {
57267
57299
  p._reconstructActiveFormattingElements(), p._appendElement(m, E.HTML), p.framesetOk = !1, m.ackSelfClosing = !0;
57268
57300
  }
57269
- function lr(p, m) {
57301
+ function cr(p, m) {
57270
57302
  p._reconstructActiveFormattingElements(), p._appendElement(m, E.HTML);
57271
57303
  const g = e.getTokenAttr(m, T.TYPE);
57272
57304
  (!g || g.toLowerCase() !== A) && (p.framesetOk = !1), m.ackSelfClosing = !0;
@@ -57326,19 +57358,19 @@ function iK() {
57326
57358
  g === l.DL || g === l.OL || g === l.UL ? Ke(p, m) : g === l.H1 || g === l.H2 || g === l.H3 || g === l.H4 || g === l.H5 || g === l.H6 ? Dn(p, m) : g === l.LI || g === l.DD || g === l.DT ? Zr(p, m) : g === l.EM || g === l.TT ? fe(p, m) : g === l.BR ? ut(p, m) : g === l.HR ? Di(p, m) : g === l.RB ? b(p, m) : g === l.RT || g === l.RP ? Ie(p, m) : g !== l.TH && g !== l.TD && g !== l.TR && Qe(p, m);
57327
57359
  break;
57328
57360
  case 3:
57329
- g === l.DIV || g === l.DIR || g === l.NAV ? Ke(p, m) : g === l.PRE ? Wn(p, m) : g === l.BIG ? fe(p, m) : g === l.IMG || g === l.WBR ? ut(p, m) : g === l.XMP ? ze(p, m) : g === l.SVG ? gt(p, m) : g === l.RTC ? b(p, m) : g !== l.COL && Qe(p, m);
57361
+ g === l.DIV || g === l.DIR || g === l.NAV ? Ke(p, m) : g === l.PRE ? qn(p, m) : g === l.BIG ? fe(p, m) : g === l.IMG || g === l.WBR ? ut(p, m) : g === l.XMP ? ze(p, m) : g === l.SVG ? gt(p, m) : g === l.RTC ? b(p, m) : g !== l.COL && Qe(p, m);
57330
57362
  break;
57331
57363
  case 4:
57332
- g === l.HTML ? ar(p, m) : g === l.BASE || g === l.LINK || g === l.META ? Ce(p, m) : g === l.BODY ? xe(p, m) : g === l.MAIN || g === l.MENU ? Ke(p, m) : g === l.FORM ? Xr(p, m) : g === l.CODE || g === l.FONT ? fe(p, m) : g === l.NOBR ? mt(p, m) : g === l.AREA ? ut(p, m) : g === l.MATH ? dt(p, m) : g === l.MENU ? Ot(p, m) : g !== l.HEAD && Qe(p, m);
57364
+ g === l.HTML ? lr(p, m) : g === l.BASE || g === l.LINK || g === l.META ? Ce(p, m) : g === l.BODY ? xe(p, m) : g === l.MAIN || g === l.MENU ? Ke(p, m) : g === l.FORM ? Xr(p, m) : g === l.CODE || g === l.FONT ? fe(p, m) : g === l.NOBR ? mt(p, m) : g === l.AREA ? ut(p, m) : g === l.MATH ? dt(p, m) : g === l.MENU ? Ot(p, m) : g !== l.HEAD && Qe(p, m);
57333
57365
  break;
57334
57366
  case 5:
57335
- g === l.STYLE || g === l.TITLE ? Ce(p, m) : g === l.ASIDE ? Ke(p, m) : g === l.SMALL ? fe(p, m) : g === l.TABLE ? Kt(p, m) : g === l.EMBED ? ut(p, m) : g === l.INPUT ? lr(p, m) : g === l.PARAM || g === l.TRACK ? Jn(p, m) : g === l.IMAGE ? Ps(p, m) : g !== l.FRAME && g !== l.TBODY && g !== l.TFOOT && g !== l.THEAD && Qe(p, m);
57367
+ g === l.STYLE || g === l.TITLE ? Ce(p, m) : g === l.ASIDE ? Ke(p, m) : g === l.SMALL ? fe(p, m) : g === l.TABLE ? Kt(p, m) : g === l.EMBED ? ut(p, m) : g === l.INPUT ? cr(p, m) : g === l.PARAM || g === l.TRACK ? Jn(p, m) : g === l.IMAGE ? Ps(p, m) : g !== l.FRAME && g !== l.TBODY && g !== l.TFOOT && g !== l.THEAD && Qe(p, m);
57336
57368
  break;
57337
57369
  case 6:
57338
57370
  g === l.SCRIPT ? Ce(p, m) : g === l.CENTER || g === l.FIGURE || g === l.FOOTER || g === l.HEADER || g === l.HGROUP || g === l.DIALOG ? Ke(p, m) : g === l.BUTTON ? Se(p, m) : g === l.STRIKE || g === l.STRONG ? fe(p, m) : g === l.APPLET || g === l.OBJECT ? ct(p, m) : g === l.KEYGEN ? ut(p, m) : g === l.SOURCE ? Jn(p, m) : g === l.IFRAME ? En(p, m) : g === l.SELECT ? Fe(p, m) : g === l.OPTION ? pe(p, m) : Qe(p, m);
57339
57371
  break;
57340
57372
  case 7:
57341
- g === l.BGSOUND ? Ce(p, m) : g === l.DETAILS || g === l.ADDRESS || g === l.ARTICLE || g === l.SECTION || g === l.SUMMARY ? Ke(p, m) : g === l.LISTING ? Wn(p, m) : g === l.MARQUEE ? ct(p, m) : g === l.NOEMBED ? Qr(p, m) : g !== l.CAPTION && Qe(p, m);
57373
+ g === l.BGSOUND ? Ce(p, m) : g === l.DETAILS || g === l.ADDRESS || g === l.ARTICLE || g === l.SECTION || g === l.SUMMARY ? Ke(p, m) : g === l.LISTING ? qn(p, m) : g === l.MARQUEE ? ct(p, m) : g === l.NOEMBED ? Qr(p, m) : g !== l.CAPTION && Qe(p, m);
57342
57374
  break;
57343
57375
  case 8:
57344
57376
  g === l.BASEFONT ? Ce(p, m) : g === l.FRAMESET ? Ue(p, m) : g === l.FIELDSET ? Ke(p, m) : g === l.TEXTAREA ? br(p, m) : g === l.TEMPLATE ? Ce(p, m) : g === l.NOSCRIPT ? p.options.scriptingEnabled ? Qr(p, m) : Qe(p, m) : g === l.OPTGROUP ? pe(p, m) : g !== l.COLGROUP && Qe(p, m);
@@ -58720,7 +58752,7 @@ function Ra(e, t) {
58720
58752
  E.initEvent("input", !0, !1), e.dispatchEvent(E);
58721
58753
  }
58722
58754
  }
58723
- function or(e) {
58755
+ function ar(e) {
58724
58756
  var {
58725
58757
  text: t,
58726
58758
  selection: n,
@@ -58795,7 +58827,7 @@ function uY(e, t) {
58795
58827
  end: i
58796
58828
  };
58797
58829
  }
58798
- function Gn(e) {
58830
+ function zn(e) {
58799
58831
  var {
58800
58832
  api: t,
58801
58833
  selectedText: n,
@@ -58849,12 +58881,12 @@ var dY = {
58849
58881
  })
58850
58882
  }),
58851
58883
  execute: (e, t) => {
58852
- var n = or({
58884
+ var n = ar({
58853
58885
  text: e.text,
58854
58886
  selection: e.selection,
58855
58887
  prefix: e.command.prefix
58856
58888
  }), r = t.setSelectionRange(n);
58857
- Gn({
58889
+ zn({
58858
58890
  api: t,
58859
58891
  selectedText: r.selectedText,
58860
58892
  selection: e.selection,
@@ -58881,7 +58913,7 @@ var dY = {
58881
58913
  })
58882
58914
  }),
58883
58915
  execute: (e, t) => {
58884
- var n = or({
58916
+ var n = ar({
58885
58917
  text: e.text,
58886
58918
  selection: e.selection,
58887
58919
  prefix: "```\n",
@@ -58890,13 +58922,13 @@ var dY = {
58890
58922
  r.selectedText.length >= i.length + s.length - 2 && r.selectedText.startsWith(i) && r.selectedText.endsWith(s) ? (i = "```\n", s = "\n```") : ((r.selection.start >= 1 && e.text.slice(r.selection.start - 1, r.selection.start) === `
58891
58923
  ` || r.selection.start === 0) && (i = "```\n"), (r.selection.end <= e.text.length - 1 && e.text.slice(r.selection.end, r.selection.end + 1) === `
58892
58924
  ` || r.selection.end === e.text.length) && (s = "\n```"));
58893
- var o = or({
58925
+ var o = ar({
58894
58926
  text: e.text,
58895
58927
  selection: e.selection,
58896
58928
  prefix: i,
58897
58929
  suffix: s
58898
58930
  }), a = t.setSelectionRange(o);
58899
- Gn({
58931
+ zn({
58900
58932
  api: t,
58901
58933
  selectedText: a.selectedText,
58902
58934
  selection: e.selection,
@@ -58926,12 +58958,12 @@ var dY = {
58926
58958
  execute: (e, t) => {
58927
58959
  if (e.selectedText.indexOf(`
58928
58960
  `) === -1) {
58929
- var n = or({
58961
+ var n = ar({
58930
58962
  text: e.text,
58931
58963
  selection: e.selection,
58932
58964
  prefix: e.command.prefix
58933
58965
  }), r = t.setSelectionRange(n);
58934
- Gn({
58966
+ zn({
58935
58967
  api: t,
58936
58968
  selectedText: r.selectedText,
58937
58969
  selection: e.selection,
@@ -58975,13 +59007,13 @@ var dY = {
58975
59007
  })
58976
59008
  }),
58977
59009
  execute: (e, t) => {
58978
- var n = or({
59010
+ var n = ar({
58979
59011
  text: e.text,
58980
59012
  selection: e.selection,
58981
59013
  prefix: e.command.prefix,
58982
59014
  suffix: e.command.suffix
58983
59015
  }), r = t.setSelectionRange(n);
58984
- Gn({
59016
+ zn({
58985
59017
  api: t,
58986
59018
  selectedText: r.selectedText,
58987
59019
  selection: e.selection,
@@ -59063,13 +59095,13 @@ var gY = (e, t) => {
59063
59095
  })
59064
59096
  }),
59065
59097
  execute: (e, t) => {
59066
- var n = or({
59098
+ var n = ar({
59067
59099
  text: e.text,
59068
59100
  selection: e.selection,
59069
59101
  prefix: e.command.prefix,
59070
59102
  suffix: e.command.suffix
59071
59103
  }), r = t.setSelectionRange(n);
59072
- r.selectedText.length >= e.command.prefix.length && r.selectedText.startsWith(e.command.prefix) ? Gn({
59104
+ r.selectedText.length >= e.command.prefix.length && r.selectedText.startsWith(e.command.prefix) ? zn({
59073
59105
  api: t,
59074
59106
  selectedText: r.selectedText,
59075
59107
  selection: e.selection,
@@ -59078,7 +59110,7 @@ var gY = (e, t) => {
59078
59110
  }) : (r = t.setSelectionRange({
59079
59111
  start: e.selection.start,
59080
59112
  end: e.selection.start
59081
- }), Gn({
59113
+ }), zn({
59082
59114
  api: t,
59083
59115
  selectedText: r.selectedText,
59084
59116
  selection: e.selection,
@@ -59106,30 +59138,30 @@ var gY = (e, t) => {
59106
59138
  })
59107
59139
  }),
59108
59140
  execute: (e, t) => {
59109
- var n = or({
59141
+ var n = ar({
59110
59142
  text: e.text,
59111
59143
  selection: e.selection,
59112
59144
  prefix: e.command.prefix,
59113
59145
  suffix: e.command.suffix
59114
59146
  }), r = t.setSelectionRange(n);
59115
- r.selectedText.includes("http") || r.selectedText.includes("www") ? Gn({
59147
+ r.selectedText.includes("http") || r.selectedText.includes("www") ? zn({
59116
59148
  api: t,
59117
59149
  selectedText: r.selectedText,
59118
59150
  selection: e.selection,
59119
59151
  prefix: e.command.prefix,
59120
59152
  suffix: e.command.suffix
59121
- }) : (n = or({
59153
+ }) : (n = ar({
59122
59154
  text: e.text,
59123
59155
  selection: e.selection,
59124
59156
  prefix: "![",
59125
59157
  suffix: "]()"
59126
- }), r = t.setSelectionRange(n), r.selectedText.length === 0 ? Gn({
59158
+ }), r = t.setSelectionRange(n), r.selectedText.length === 0 ? zn({
59127
59159
  api: t,
59128
59160
  selectedText: r.selectedText,
59129
59161
  selection: e.selection,
59130
59162
  prefix: "![image",
59131
59163
  suffix: "](url)"
59132
- }) : Gn({
59164
+ }) : zn({
59133
59165
  api: t,
59134
59166
  selectedText: r.selectedText,
59135
59167
  selection: e.selection,
@@ -59158,12 +59190,12 @@ var gY = (e, t) => {
59158
59190
  })
59159
59191
  }),
59160
59192
  execute: (e, t) => {
59161
- var n = or({
59193
+ var n = ar({
59162
59194
  text: e.text,
59163
59195
  selection: e.selection,
59164
59196
  prefix: e.command.prefix
59165
59197
  }), r = t.setSelectionRange(n);
59166
- Gn({
59198
+ zn({
59167
59199
  api: t,
59168
59200
  selectedText: r.selectedText,
59169
59201
  selection: e.selection,
@@ -59192,30 +59224,30 @@ var gY = (e, t) => {
59192
59224
  })
59193
59225
  }),
59194
59226
  execute: (e, t) => {
59195
- var n = or({
59227
+ var n = ar({
59196
59228
  text: e.text,
59197
59229
  selection: e.selection,
59198
59230
  prefix: e.command.prefix,
59199
59231
  suffix: e.command.suffix
59200
59232
  }), r = t.setSelectionRange(n);
59201
- r.selectedText.includes("http") || r.selectedText.includes("www") ? (n = or({
59233
+ r.selectedText.includes("http") || r.selectedText.includes("www") ? (n = ar({
59202
59234
  text: e.text,
59203
59235
  selection: e.selection,
59204
59236
  prefix: "[](",
59205
59237
  suffix: ")"
59206
- }), r = t.setSelectionRange(n), Gn({
59238
+ }), r = t.setSelectionRange(n), zn({
59207
59239
  api: t,
59208
59240
  selectedText: r.selectedText,
59209
59241
  selection: e.selection,
59210
59242
  prefix: "[](",
59211
59243
  suffix: ")"
59212
- })) : r.selectedText.length === 0 ? Gn({
59244
+ })) : r.selectedText.length === 0 ? zn({
59213
59245
  api: t,
59214
59246
  selectedText: r.selectedText,
59215
59247
  selection: e.selection,
59216
59248
  prefix: "[title",
59217
59249
  suffix: "](url)"
59218
- }) : Gn({
59250
+ }) : zn({
59219
59251
  api: t,
59220
59252
  selectedText: r.selectedText,
59221
59253
  selection: e.selection,
@@ -59224,7 +59256,7 @@ var gY = (e, t) => {
59224
59256
  });
59225
59257
  }
59226
59258
  }, Z9 = (e, t, n) => {
59227
- var r = or({
59259
+ var r = ar({
59228
59260
  text: e.text,
59229
59261
  selection: e.selection,
59230
59262
  prefix: e.command.prefix
@@ -59418,7 +59450,7 @@ var gY = (e, t) => {
59418
59450
  })
59419
59451
  }),
59420
59452
  execute: (e, t) => {
59421
- var n = or({
59453
+ var n = ar({
59422
59454
  text: e.text,
59423
59455
  selection: e.selection,
59424
59456
  prefix: e.command.prefix
@@ -59453,12 +59485,12 @@ var gY = (e, t) => {
59453
59485
  })
59454
59486
  }),
59455
59487
  execute: (e, t) => {
59456
- var n = or({
59488
+ var n = ar({
59457
59489
  text: e.text,
59458
59490
  selection: e.selection,
59459
59491
  prefix: e.command.prefix
59460
59492
  }), r = t.setSelectionRange(n);
59461
- Gn({
59493
+ zn({
59462
59494
  api: t,
59463
59495
  selectedText: r.selectedText,
59464
59496
  selection: e.selection,
@@ -59501,7 +59533,7 @@ function kl(e) {
59501
59533
  text: t.text,
59502
59534
  selection: t.selection
59503
59535
  }), o = n.setSelectionRange(s);
59504
- Gn({
59536
+ zn({
59505
59537
  api: n,
59506
59538
  selectedText: o.selectedText,
59507
59539
  selection: t.selection,
@@ -59673,13 +59705,13 @@ var OY = {
59673
59705
  })
59674
59706
  }),
59675
59707
  execute: (e, t) => {
59676
- var n = or({
59708
+ var n = ar({
59677
59709
  text: e.text,
59678
59710
  selection: e.selection,
59679
59711
  prefix: e.command.prefix,
59680
59712
  suffix: e.command.suffix
59681
59713
  }), r = t.setSelectionRange(n);
59682
- r.selectedText.length >= e.command.prefix.length + e.command.suffix.length && r.selectedText.startsWith(e.command.prefix) ? Gn({
59714
+ r.selectedText.length >= e.command.prefix.length + e.command.suffix.length && r.selectedText.startsWith(e.command.prefix) ? zn({
59683
59715
  api: t,
59684
59716
  selectedText: r.selectedText,
59685
59717
  selection: e.selection,
@@ -59688,7 +59720,7 @@ var OY = {
59688
59720
  }) : (r = t.setSelectionRange({
59689
59721
  start: e.selection.start,
59690
59722
  end: e.selection.start
59691
- }), Gn({
59723
+ }), zn({
59692
59724
  api: t,
59693
59725
  selectedText: r.selectedText,
59694
59726
  selection: e.selection,
@@ -60564,7 +60596,7 @@ const sX = (e) => {
60564
60596
  }]
60565
60597
  }), aX = he("input", {
60566
60598
  name: "MuiSwitchBase",
60567
- shouldForwardProp: zn
60599
+ shouldForwardProp: Vn
60568
60600
  })({
60569
60601
  cursor: "inherit",
60570
60602
  position: "absolute",
@@ -60827,7 +60859,7 @@ const Hh = $e("MuiCheckbox", ["root", "checked", "disabled", "indeterminate", "c
60827
60859
  ...o
60828
60860
  };
60829
60861
  }, fX = he(e5, {
60830
- shouldForwardProp: (e) => zn(e) || e === "classes",
60862
+ shouldForwardProp: (e) => Vn(e) || e === "classes",
60831
60863
  name: "MuiCheckbox",
60832
60864
  slot: "Root",
60833
60865
  overridesResolver: (e, t) => {
@@ -62349,7 +62381,7 @@ const rc = {
62349
62381
  ...i
62350
62382
  };
62351
62383
  }, kX = he(cp, {
62352
- shouldForwardProp: (e) => zn(e) || e === "classes",
62384
+ shouldForwardProp: (e) => Vn(e) || e === "classes",
62353
62385
  name: "MuiInput",
62354
62386
  slot: "Root",
62355
62387
  overridesResolver: (e, t) => {
@@ -62461,7 +62493,7 @@ const rc = {
62461
62493
  disableUnderline: i
62462
62494
  }
62463
62495
  }
62464
- }, T = c ? $n(c, E) : E, S = u.root ?? kX, A = u.input ?? LX;
62496
+ }, T = c ? Gn(c, E) : E, S = u.root ?? kX, A = u.input ?? LX;
62465
62497
  return /* @__PURE__ */ C(dp, {
62466
62498
  slots: {
62467
62499
  root: S,
@@ -62661,7 +62693,7 @@ const js = {
62661
62693
  ...u
62662
62694
  };
62663
62695
  }, FX = he(cp, {
62664
- shouldForwardProp: (e) => zn(e) || e === "classes",
62696
+ shouldForwardProp: (e) => Vn(e) || e === "classes",
62665
62697
  name: "MuiFilledInput",
62666
62698
  slot: "Root",
62667
62699
  overridesResolver: (e, t) => {
@@ -62917,7 +62949,7 @@ const js = {
62917
62949
  input: {
62918
62950
  ownerState: l
62919
62951
  }
62920
- }, S = u ? $n(T, u) : T, A = f.root ?? FX, R = f.input ?? UX;
62952
+ }, S = u ? Gn(T, u) : T, A = f.root ?? FX, R = f.input ?? UX;
62921
62953
  return /* @__PURE__ */ C(dp, {
62922
62954
  slots: {
62923
62955
  root: A,
@@ -63102,7 +63134,7 @@ fp.muiName = "Input";
63102
63134
  var r4;
63103
63135
  const BX = he("fieldset", {
63104
63136
  name: "MuiNotchedOutlined",
63105
- shouldForwardProp: zn
63137
+ shouldForwardProp: Vn
63106
63138
  })({
63107
63139
  textAlign: "left",
63108
63140
  position: "absolute",
@@ -63120,7 +63152,7 @@ const BX = he("fieldset", {
63120
63152
  minWidth: "0%"
63121
63153
  }), HX = he("legend", {
63122
63154
  name: "MuiNotchedOutlined",
63123
- shouldForwardProp: zn
63155
+ shouldForwardProp: Vn
63124
63156
  })(Ze(({
63125
63157
  theme: e
63126
63158
  }) => ({
@@ -63262,7 +63294,7 @@ const fi = {
63262
63294
  ...r
63263
63295
  };
63264
63296
  }, zX = he(cp, {
63265
- shouldForwardProp: (e) => zn(e) || e === "classes",
63297
+ shouldForwardProp: (e) => Vn(e) || e === "classes",
63266
63298
  name: "MuiOutlinedInput",
63267
63299
  slot: "Root",
63268
63300
  overridesResolver: ap
@@ -63810,7 +63842,7 @@ const XX = (e) => {
63810
63842
  ...u
63811
63843
  };
63812
63844
  }, ZX = he(n5, {
63813
- shouldForwardProp: (e) => zn(e) || e === "classes",
63845
+ shouldForwardProp: (e) => Vn(e) || e === "classes",
63814
63846
  name: "MuiInputLabel",
63815
63847
  slot: "Root",
63816
63848
  overridesResolver: (e, t) => {
@@ -64448,7 +64480,7 @@ function wI(e) {
64448
64480
  return;
64449
64481
  let H = r === "horizontal" ? "ArrowLeft" : "ArrowUp", G = r === "horizontal" ? "ArrowRight" : "ArrowDown";
64450
64482
  r === "horizontal" && i && (H = "ArrowRight", G = "ArrowLeft");
64451
- const z = t1(y.current), q = Gi(sr(h.current)), le = q === h.current;
64483
+ const z = t1(y.current), q = Gi(or(h.current)), le = q === h.current;
64452
64484
  let w = u4(z, q, A.current), j = "next";
64453
64485
  switch (M.key) {
64454
64486
  case H:
@@ -64473,7 +64505,7 @@ function wI(e) {
64473
64505
  })
64474
64506
  }), [B, i, r, o]), L = x.useCallback((F) => {
64475
64507
  var G;
64476
- const _ = t1(y.current), P = Gi(sr(h.current)), H = P === h.current ? -1 : u4(_, P, A.current);
64508
+ const _ = t1(y.current), P = Gi(or(h.current)), H = P === h.current ? -1 : u4(_, P, A.current);
64477
64509
  return ((G = B(H, "next", !0, F)) == null ? void 0 : G.id) ?? null;
64478
64510
  }, [B]);
64479
64511
  return x.useMemo(() => ({
@@ -64865,7 +64897,7 @@ const $I = /* @__PURE__ */ x.forwardRef(function(t, n) {
64865
64897
  focusInitialTarget: () => {
64866
64898
  if (!l.current)
64867
64899
  return null;
64868
- const H = Gi(sr(l.current));
64900
+ const H = Gi(or(l.current));
64869
64901
  return H && l.current.contains(H) ? H : L(!0);
64870
64902
  }
64871
64903
  }), [L]);
@@ -64881,7 +64913,7 @@ const $I = /* @__PURE__ */ x.forwardRef(function(t, n) {
64881
64913
  if (F.onKeyDown(H), H.key.length === 1) {
64882
64914
  const z = R.current, q = H.key.toLowerCase(), le = performance.now();
64883
64915
  z.keys.length > 0 && (le - z.lastTime > 500 ? (z.keys = [], z.repeating = !0, z.previousKeyMatched = !0) : z.repeating && q !== z.keys[0] && (z.repeating = !1)), z.lastTime = le, z.keys.push(q);
64884
- const w = Gi(sr(l.current)), j = w && !z.repeating && HI(w, z);
64916
+ const w = Gi(or(l.current)), j = w && !z.repeating && HI(w, z);
64885
64917
  z.previousKeyMatched && (j || O((ie) => TZ(ie, z)) != null) ? H.preventDefault() : z.previousKeyMatched = !1;
64886
64918
  }
64887
64919
  f && f(H);
@@ -65226,7 +65258,7 @@ const _Z = (e) => {
65226
65258
  }, B = _Z(D), $ = x.useCallback(() => {
65227
65259
  if (c === "anchorPosition")
65228
65260
  return process.env.NODE_ENV !== "production" && (a || console.error('MUI: You need to provide a `anchorPosition` prop when using <Popover anchorReference="anchorPosition" />.')), a;
65229
- const Z = pc(s), se = Z && Z.nodeType === 1 ? Z : sr(O.current).body, J = se.getBoundingClientRect();
65261
+ const Z = pc(s), se = Z && Z.nodeType === 1 ? Z : or(O.current).body, J = se.getBoundingClientRect();
65230
65262
  if (process.env.NODE_ENV !== "production") {
65231
65263
  const Te = se.getBoundingClientRect();
65232
65264
  s5() && Te.top === 0 && Te.left === 0 && Te.right === 0 && Te.bottom === 0 && console.warn(["MUI: The `anchorEl` prop provided to the component is invalid.", "The anchor element should be part of the document layout.", "Make sure the element is present in the document or that it's not display none."].join(`
@@ -65327,7 +65359,7 @@ const _Z = (e) => {
65327
65359
  }
65328
65360
  });
65329
65361
  I === "auto" && !le.muiSupportAuto && (z = void 0);
65330
- const j = h || (s ? sr(pc(s)).body : void 0), [ie, {
65362
+ const j = h || (s ? or(pc(s)).body : void 0), [ie, {
65331
65363
  slots: U,
65332
65364
  slotProps: oe,
65333
65365
  ...ne
@@ -65570,7 +65602,7 @@ const RZ = {
65570
65602
  list: ["list"]
65571
65603
  }, NZ, t);
65572
65604
  }, wZ = he(zI, {
65573
- shouldForwardProp: (e) => zn(e) || e === "classes",
65605
+ shouldForwardProp: (e) => Vn(e) || e === "classes",
65574
65606
  name: "MuiMenu",
65575
65607
  slot: "Root"
65576
65608
  })({}), xZ = he(GI, {
@@ -65869,7 +65901,7 @@ const o5 = $e("MuiNativeSelect", ["root", "select", "multiple", "filled", "outli
65869
65901
  })), MZ = he(VI, {
65870
65902
  name: "MuiNativeSelect",
65871
65903
  slot: "Select",
65872
- shouldForwardProp: zn,
65904
+ shouldForwardProp: Vn,
65873
65905
  overridesResolver: (e, t) => {
65874
65906
  const {
65875
65907
  ownerState: n
@@ -66085,7 +66117,7 @@ const FZ = he(VI, {
66085
66117
  nativeInput: ["nativeInput"]
66086
66118
  }, qI, t);
66087
66119
  }, KI = /* @__PURE__ */ x.forwardRef(function(t, n) {
66088
- var an, nt, Qt, ar;
66120
+ var an, nt, Qt, lr;
66089
66121
  const {
66090
66122
  "aria-describedby": r,
66091
66123
  "aria-label": i,
@@ -66161,7 +66193,7 @@ const FZ = he(VI, {
66161
66193
  }, [s]), x.useEffect(() => {
66162
66194
  if (!S)
66163
66195
  return;
66164
- const xe = sr(Y.current).getElementById(S);
66196
+ const xe = or(Y.current).getElementById(S);
66165
66197
  if (xe) {
66166
66198
  const Ue = () => {
66167
66199
  getSelection().isCollapsed && Y.current.focus();
@@ -66190,14 +66222,14 @@ const FZ = he(VI, {
66190
66222
  } else
66191
66223
  Ke = xe.props.value;
66192
66224
  if (xe.props.onClick && xe.props.onClick(Ue), j !== Ke && (ie(Ke), N)) {
66193
- const Dn = Ue.nativeEvent || Ue, Wn = new Dn.constructor(Dn.type, Dn);
66194
- Object.defineProperty(Wn, "target", {
66225
+ const Dn = Ue.nativeEvent || Ue, qn = new Dn.constructor(Dn.type, Dn);
66226
+ Object.defineProperty(qn, "target", {
66195
66227
  writable: !0,
66196
66228
  value: {
66197
66229
  value: Ke,
66198
66230
  name: I
66199
66231
  }
66200
- }), N(Wn, xe);
66232
+ }), N(qn, xe);
66201
66233
  }
66202
66234
  R || re(!1, Ue);
66203
66235
  }
@@ -66269,7 +66301,7 @@ const FZ = he(VI, {
66269
66301
  value: j,
66270
66302
  open: ye,
66271
66303
  error: l
66272
- }, mn = HZ(rt), st = typeof ((an = A.slotProps) == null ? void 0 : an.paper) == "function" ? A.slotProps.paper(rt) : (nt = A.slotProps) == null ? void 0 : nt.paper, Zt = typeof ((Qt = A.slotProps) == null ? void 0 : Qt.list) == "function" ? A.slotProps.list(rt) : (ar = A.slotProps) == null ? void 0 : ar.list, vt = ts(), gn = ts();
66304
+ }, mn = HZ(rt), st = typeof ((an = A.slotProps) == null ? void 0 : an.paper) == "function" ? A.slotProps.paper(rt) : (nt = A.slotProps) == null ? void 0 : nt.paper, Zt = typeof ((Qt = A.slotProps) == null ? void 0 : Qt.list) == "function" ? A.slotProps.list(rt) : (lr = A.slotProps) == null ? void 0 : lr.list, vt = ts(), gn = ts();
66273
66305
  return /* @__PURE__ */ ee(x.Fragment, {
66274
66306
  children: [/* @__PURE__ */ C(FZ, {
66275
66307
  as: "div",
@@ -66522,7 +66554,7 @@ const $Z = Nn(/* @__PURE__ */ C("path", {
66522
66554
  }, a5 = {
66523
66555
  name: "MuiSelect",
66524
66556
  slot: "Root",
66525
- shouldForwardProp: (e) => zn(e) && e !== "variant"
66557
+ shouldForwardProp: (e) => Vn(e) && e !== "variant"
66526
66558
  }, zZ = he(pp, a5)(""), VZ = he(hp, a5)(""), jZ = he(fp, a5)(""), l5 = /* @__PURE__ */ x.forwardRef(function(t, n) {
66527
66559
  const r = je({
66528
66560
  name: "MuiSelect",
@@ -66604,7 +66636,7 @@ const $Z = Nn(/* @__PURE__ */ C("path", {
66604
66636
  }
66605
66637
  },
66606
66638
  ...l,
66607
- classes: l ? $n(z, l.classes) : z,
66639
+ classes: l ? Gn(z, l.classes) : z,
66608
66640
  ...y ? y.props.inputProps : {}
66609
66641
  },
66610
66642
  ...(A && R || u) && P === "outlined" ? {
@@ -68460,7 +68492,7 @@ const sc = $e("MuiMenuItem", ["root", "focusVisible", "dense", "disabled", "divi
68460
68492
  ...c
68461
68493
  };
68462
68494
  }, OQ = he(is, {
68463
- shouldForwardProp: (e) => zn(e) || e === "classes",
68495
+ shouldForwardProp: (e) => Vn(e) || e === "classes",
68464
68496
  name: "MuiMenuItem",
68465
68497
  slot: "Root",
68466
68498
  overridesResolver: RQ
@@ -69578,7 +69610,7 @@ const Bt = $e("MuiChip", ["root", "sizeSmall", "sizeMedium", "colorDefault", "co
69578
69610
  }, nJ = he("div", {
69579
69611
  name: "MuiChip",
69580
69612
  slot: "Root",
69581
- shouldForwardProp: (e) => zn(e) && e !== "focusableWhenDisabled" && e !== "skipFocusWhenDisabled",
69613
+ shouldForwardProp: (e) => Vn(e) && e !== "focusableWhenDisabled" && e !== "skipFocusWhenDisabled",
69582
69614
  overridesResolver: (e, t) => {
69583
69615
  const {
69584
69616
  ownerState: n
@@ -70772,7 +70804,7 @@ const OJ = Nn(/* @__PURE__ */ C("path", {
70772
70804
  d: "M8.465 8.465C9.37 7.56 10.62 7 12 7C14.76 7 17 9.24 17 12C17 13.38 16.44 14.63 15.535 15.535C14.63 16.44 13.38 17 12 17C9.24 17 7 14.76 7 12C7 10.62 7.56 9.37 8.465 8.465Z"
70773
70805
  }), "RadioButtonChecked"), xJ = he("span", {
70774
70806
  name: "MuiRadioButtonIcon",
70775
- shouldForwardProp: zn
70807
+ shouldForwardProp: Vn
70776
70808
  })({
70777
70809
  position: "relative",
70778
70810
  display: "flex"
@@ -70860,7 +70892,7 @@ const R4 = $e("MuiRadio", ["root", "checked", "disabled", "colorPrimary", "color
70860
70892
  ...Ge(i, LJ, t)
70861
70893
  };
70862
70894
  }, PJ = he(e5, {
70863
- shouldForwardProp: (e) => zn(e) || e === "classes",
70895
+ shouldForwardProp: (e) => Vn(e) || e === "classes",
70864
70896
  name: "MuiRadio",
70865
70897
  slot: "Root",
70866
70898
  overridesResolver: (e, t) => {
@@ -72070,9 +72102,9 @@ const iN = /* @__PURE__ */ x.forwardRef(function(t, n) {
72070
72102
  Kt.observe(Le);
72071
72103
  const ut = (Jn) => {
72072
72104
  Z(!Jn[0].isIntersecting);
72073
- }, lr = new IntersectionObserver(ut, mt);
72074
- return lr.observe(fe), () => {
72075
- Kt.disconnect(), lr.disconnect();
72105
+ }, cr = new IntersectionObserver(ut, mt);
72106
+ return cr.observe(fe), () => {
72107
+ Kt.disconnect(), cr.disconnect();
72076
72108
  };
72077
72109
  }
72078
72110
  }, [L, A, se, f == null ? void 0 : f.length]), x.useEffect(() => {
@@ -72121,7 +72153,7 @@ const iN = /* @__PURE__ */ x.forwardRef(function(t, n) {
72121
72153
  textColor: N,
72122
72154
  value: Se
72123
72155
  });
72124
- }), Qt = Ce(), [ar, xe] = qe("root", {
72156
+ }), Qt = Ce(), [lr, xe] = qe("root", {
72125
72157
  ref: n,
72126
72158
  className: Ne(q.root, h),
72127
72159
  elementType: eee,
@@ -72143,8 +72175,8 @@ const iN = /* @__PURE__ */ x.forwardRef(function(t, n) {
72143
72175
  [F ? `margin${s ? "Left" : "Right"}` : "marginBottom"]: B ? void 0 : -X.scrollbarWidth
72144
72176
  }
72145
72177
  }
72146
- }), Dn = In(gn.ref, re), Wn = (Ae) => {
72147
- const Se = re.current, Le = Gi(sr(Se));
72178
+ }), Dn = In(gn.ref, re), qn = (Ae) => {
72179
+ const Se = re.current, Le = Gi(or(Se));
72148
72180
  (Le == null ? void 0 : Le.getAttribute("role")) === "tab" && gn.onKeyDown(Ae);
72149
72181
  }, [Xr, Zr] = qe("list", {
72150
72182
  ref: Dn,
@@ -72160,7 +72192,7 @@ const iN = /* @__PURE__ */ x.forwardRef(function(t, n) {
72160
72192
  },
72161
72193
  onKeyDown: (Se) => {
72162
72194
  var Le;
72163
- Wn(Se), (Le = Ae.onKeyDown) == null || Le.call(Ae, Se);
72195
+ qn(Se), (Le = Ae.onKeyDown) == null || Le.call(Ae, Se);
72164
72196
  },
72165
72197
  onFocus: (Se) => {
72166
72198
  var Le;
@@ -72168,7 +72200,7 @@ const iN = /* @__PURE__ */ x.forwardRef(function(t, n) {
72168
72200
  }
72169
72201
  })
72170
72202
  });
72171
- return /* @__PURE__ */ ee(ar, {
72203
+ return /* @__PURE__ */ ee(lr, {
72172
72204
  ...xe,
72173
72205
  children: [Qt.scrollButtonStart, Qt.scrollbarSizeListener, /* @__PURE__ */ ee(Ue, {
72174
72206
  ...Ke,
@@ -78165,9 +78197,9 @@ class Qse extends ir {
78165
78197
  }), this.appObjects.registerSingleton(this);
78166
78198
  }
78167
78199
  }
78168
- class Jse extends ur {
78200
+ class Jse extends sr {
78169
78201
  constructor(t) {
78170
- super(t, ur.type), this.getAuthToken = () => this.vivedAPI ? Promise.resolve(this.vivedAPI.userToken) : Promise.reject("Unable to find VivedAPIEntity"), this.appObjects.registerSingleton(this);
78202
+ super(t, sr.type), this.getAuthToken = () => this.vivedAPI ? Promise.resolve(this.vivedAPI.userToken) : Promise.reject("Unable to find VivedAPIEntity"), this.appObjects.registerSingleton(this);
78171
78203
  }
78172
78204
  get vivedAPI() {
78173
78205
  return this.getCachedSingleton(xn.type);