@builder.io/sdk-react-nextjs 0.14.16 → 0.14.17

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.
Files changed (27) hide show
  1. package/lib/browser/{USE_CLIENT_BUNDLE-026b8026.cjs → USE_CLIENT_BUNDLE-f11159f6.cjs} +1 -1
  2. package/lib/{node/USE_CLIENT_BUNDLE-f8067984.js → browser/USE_CLIENT_BUNDLE-f685a480.js} +2 -2
  3. package/lib/{edge/USE_SERVER_BUNDLE-b3d619da.cjs → browser/USE_SERVER_BUNDLE-1ee4e92a.cjs} +1 -1
  4. package/lib/{edge/USE_SERVER_BUNDLE-0f9fd6f2.js → browser/USE_SERVER_BUNDLE-fbe70d66.js} +1 -1
  5. package/lib/browser/{bundle-5c0a9d7a.js → bundle-974bbd75.js} +3 -5
  6. package/lib/browser/{bundle-9744b895.cjs → bundle-e5f3c905.cjs} +7 -7
  7. package/lib/browser/index.cjs +1 -1
  8. package/lib/browser/index.mjs +3 -3
  9. package/lib/{node/USE_CLIENT_BUNDLE-f9ebade4.cjs → edge/USE_CLIENT_BUNDLE-22f09854.cjs} +1 -1
  10. package/lib/{browser/USE_CLIENT_BUNDLE-30c6c6c1.js → edge/USE_CLIENT_BUNDLE-bf35f13e.js} +2 -2
  11. package/lib/{node/USE_SERVER_BUNDLE-e1e73ba6.cjs → edge/USE_SERVER_BUNDLE-4035cf43.cjs} +1 -1
  12. package/lib/{node/USE_SERVER_BUNDLE-4b52a0c0.js → edge/USE_SERVER_BUNDLE-6b33cfd7.js} +1 -1
  13. package/lib/edge/{bundle-b24e7c9b.js → bundle-0e4ba4de.js} +45 -47
  14. package/lib/edge/{bundle-f1760904.cjs → bundle-15a88622.cjs} +10 -10
  15. package/lib/edge/index.cjs +1 -1
  16. package/lib/edge/index.mjs +3 -3
  17. package/lib/{edge/USE_CLIENT_BUNDLE-5b0b3e9b.js → node/USE_CLIENT_BUNDLE-8dadab11.js} +2 -2
  18. package/lib/{edge/USE_CLIENT_BUNDLE-9b110136.cjs → node/USE_CLIENT_BUNDLE-e62d9c72.cjs} +1 -1
  19. package/lib/{browser/USE_SERVER_BUNDLE-685e6983.js → node/USE_SERVER_BUNDLE-d7d118c1.js} +1 -1
  20. package/lib/{browser/USE_SERVER_BUNDLE-ce31724e.cjs → node/USE_SERVER_BUNDLE-d847a064.cjs} +1 -1
  21. package/lib/node/{bundle-0fc157c8.cjs → bundle-39fe7680.cjs} +3 -3
  22. package/lib/node/{bundle-8d3cab60.js → bundle-a8217ddb.js} +3 -5
  23. package/lib/node/index.cjs +1 -1
  24. package/lib/node/index.mjs +3 -3
  25. package/package.json +1 -1
  26. package/types/cjs/constants/sdk-version.d.ts +1 -1
  27. package/types/esm/constants/sdk-version.d.ts +1 -1
@@ -1,6 +1,6 @@
1
1
  import { jsx as A, Fragment as Q, jsxs as xe } from "react/jsx-runtime";
2
2
  import "react";
3
- import { I as ro, B as oo, a as io, D as ao, C as so, E as lo, b as co, V as uo, c as fo, F as po, d as ho, S as mo, e as go } from "./USE_CLIENT_BUNDLE-5b0b3e9b.js";
3
+ import { I as ro, B as oo, a as io, D as ao, C as so, E as lo, b as co, V as uo, c as fo, F as po, d as ho, S as mo, e as go } from "./USE_CLIENT_BUNDLE-bf35f13e.js";
4
4
  import { LRUCache as yo } from "lru-cache";
5
5
  import "next/navigation";
6
6
  const vo = /* @__PURE__ */ new Set(["area", "base", "br", "col", "embed", "hr", "img", "input", "keygen", "link", "meta", "param", "source", "track", "wbr"]), Ga = (e) => typeof e == "string" && vo.has(e.toLowerCase()), he = "rsc", Yt = () => {
@@ -27,7 +27,7 @@ function bo(e) {
27
27
  builderBlock: e
28
28
  };
29
29
  }
30
- const st = "[Builder.io]: ", Y = {
30
+ const st = "[Builder.io]: ", q = {
31
31
  log: (...e) => console.log(st, ...e),
32
32
  error: (...e) => console.error(st, ...e),
33
33
  warn: (...e) => console.warn(st, ...e),
@@ -400,10 +400,10 @@ var U, To = function(e) {
400
400
  }
401
401
  function P(a, l) {
402
402
  for (var c = f, d = 0, I = l === void 0 ? 1 / 0 : l, W = 0; W < I; ++W) {
403
- var J = g.charCodeAt(f);
404
- if (J = 97 <= J ? J - 97 + 10 : 65 <= J ? J - 65 + 10 : 48 <= J && 57 >= J ? J - 48 : 1 / 0, J >= a)
403
+ var Y = g.charCodeAt(f);
404
+ if (Y = 97 <= Y ? Y - 97 + 10 : 65 <= Y ? Y - 65 + 10 : 48 <= Y && 57 >= Y ? Y - 48 : 1 / 0, Y >= a)
405
405
  break;
406
- ++f, d = d * a + J;
406
+ ++f, d = d * a + Y;
407
407
  }
408
408
  return f === c || l !== void 0 && f - c !== l ? null : d;
409
409
  }
@@ -650,8 +650,8 @@ var U, To = function(e) {
650
650
  } else
651
651
  d.key.type !== "Identifier" || d.key.name !== "get" && d.key.name !== "set" ? ie() : (I = c = !0, W = d.kind = d.key.name, d.key = E === De || E === nt ? tt() : ae(!0), E !== le && ie(), d.value = kt(_(), !1));
652
652
  if (d.key.type === "Identifier" && (Z || c))
653
- for (var J = 0; J < a.h.length; ++J) {
654
- var Ae = a.h[J];
653
+ for (var Y = 0; Y < a.h.length; ++Y) {
654
+ var Ae = a.h[Y];
655
655
  if (Ae.key.name === d.key.name) {
656
656
  var Lt = W === Ae.kind || I && Ae.kind === "init" || W === "init" && (Ae.kind === "get" || Ae.kind === "set");
657
657
  Lt && !Z && W === "init" && Ae.kind === "init" && (Lt = !1), Lt && r(d.key.start, "Redefinition of property");
@@ -948,7 +948,7 @@ var $n = {
948
948
  configurable: !0,
949
949
  enumerable: !1,
950
950
  writable: !0
951
- }, q = {
951
+ }, z = {
952
952
  configurable: !0,
953
953
  enumerable: !1,
954
954
  writable: !1
@@ -1096,7 +1096,7 @@ function jo(e, t) {
1096
1096
  return S.body.length !== 1 && x(e, e.T, "Invalid code in function body"), Qt(e, S.body[0].la, e.N, "anonymous");
1097
1097
  };
1098
1098
  e.O = e.i(r, !0), e.g(t, "Function", e.O, y), e.g(e.O, "prototype", e.Z, y), e.g(e.Z, "constructor", e.O, y), e.Z.Ta = function() {
1099
- }, e.Z.Ta.id = e.Ya++, e.Z.Ab = !0, e.g(e.Z, "length", 0, q), e.Z.H = "Function", r = function(o, i) {
1099
+ }, e.Z.Ta.id = e.Ya++, e.Z.Ab = !0, e.g(e.Z, "length", 0, z), e.Z.H = "Function", r = function(o, i) {
1100
1100
  var s = e.o[e.o.length - 1];
1101
1101
  s.U = this, s.B = o, s.F = [], i != null && (i instanceof N ? s.F = gr(e, i) : x(e, e.j, "CreateListFromArrayLike called on non-object")), s.eb = !1;
1102
1102
  }, $(e, e.O, "apply", r), r = function(o) {
@@ -1339,7 +1339,7 @@ function Mo(e, t) {
1339
1339
  }
1340
1340
  return qt(e, i, s), i;
1341
1341
  };
1342
- e.I = e.i(n, !0), e.Ma = e.I.h.prototype, e.g(t, "RegExp", e.I, y), e.g(e.I.h.prototype, "global", void 0, q), e.g(e.I.h.prototype, "ignoreCase", void 0, q), e.g(e.I.h.prototype, "multiline", void 0, q), e.g(e.I.h.prototype, "source", "(?:)", q), e.ba.push("Object.defineProperty(RegExp.prototype, 'test',", "{configurable: true, writable: true, value:", "function test(str) {", "return !!this.exec(str);", "}", "});"), n = function(r, o) {
1342
+ e.I = e.i(n, !0), e.Ma = e.I.h.prototype, e.g(t, "RegExp", e.I, y), e.g(e.I.h.prototype, "global", void 0, z), e.g(e.I.h.prototype, "ignoreCase", void 0, z), e.g(e.I.h.prototype, "multiline", void 0, z), e.g(e.I.h.prototype, "source", "(?:)", z), e.ba.push("Object.defineProperty(RegExp.prototype, 'test',", "{configurable: true, writable: true, value:", "function test(str) {", "return !!this.exec(str);", "}", "});"), n = function(r, o) {
1343
1343
  function i(k) {
1344
1344
  if (k) {
1345
1345
  var m = ue(e, k);
@@ -1382,7 +1382,7 @@ function Do(e, t) {
1382
1382
  e.g(t, "Math", n, y);
1383
1383
  var r = "E LN2 LN10 LOG2E LOG10E PI SQRT1_2 SQRT2".split(" ");
1384
1384
  for (t = 0; t < r.length; t++)
1385
- e.g(n, r[t], Math[r[t]], q);
1385
+ e.g(n, r[t], Math[r[t]], z);
1386
1386
  for (r = "abs acos asin atan atan2 ceil cos exp floor log max min pow random round sin sqrt tan".split(" "), t = 0; t < r.length; t++)
1387
1387
  e.g(n, r[t], e.i(Math[r[t]], !1), y);
1388
1388
  }
@@ -1420,7 +1420,7 @@ function H(e, t, n) {
1420
1420
  return !1;
1421
1421
  }
1422
1422
  function qt(e, t, n) {
1423
- t.data = new RegExp(n.source, n.flags), e.g(t, "lastIndex", n.lastIndex, y), e.g(t, "source", n.source, q), e.g(t, "global", n.global, q), e.g(t, "ignoreCase", n.ignoreCase, q), e.g(t, "multiline", n.multiline, q);
1423
+ t.data = new RegExp(n.source, n.flags), e.g(t, "lastIndex", n.lastIndex, y), e.g(t, "source", n.source, z), e.g(t, "global", n.global, z), e.g(t, "ignoreCase", n.ignoreCase, z), e.g(t, "multiline", n.multiline, z);
1424
1424
  }
1425
1425
  function $t(e, t, n) {
1426
1426
  n && e.g(t, "message", String(n), y), n = [];
@@ -1503,18 +1503,18 @@ function Pe(e) {
1503
1503
  }
1504
1504
  function Zt(e, t, n) {
1505
1505
  var r = e.s(e.Z);
1506
- return n ? (n = e.s(e.M), e.g(r, "prototype", n, y), e.g(n, "constructor", r, y)) : r.Ab = !0, e.g(r, "length", t, q), r.H = "Function", r;
1506
+ return n ? (n = e.s(e.M), e.g(r, "prototype", n, y), e.g(n, "constructor", r, y)) : r.Ab = !0, e.g(r, "length", t, z), r.H = "Function", r;
1507
1507
  }
1508
1508
  function Qt(e, t, n, r) {
1509
1509
  var o = Zt(e, t.oa.length, !0);
1510
- return o.Va = n, o.node = t, e.g(o, "name", t.id ? String(t.id.name) : r || "", q), o;
1510
+ return o.Va = n, o.node = t, e.g(o, "name", t.id ? String(t.id.name) : r || "", z), o;
1511
1511
  }
1512
1512
  U.i = function(e, t) {
1513
- return t = Zt(this, e.length, t), t.Ta = e, e.id = this.Ya++, this.g(t, "name", e.name, q), t;
1513
+ return t = Zt(this, e.length, t), t.Ta = e, e.id = this.Ya++, this.g(t, "name", e.name, z), t;
1514
1514
  };
1515
1515
  U.ub = function(e) {
1516
1516
  var t = Zt(this, e.length, !0);
1517
- return t.Za = e, e.id = this.Ya++, this.g(t, "name", e.name, q), t;
1517
+ return t.Za = e, e.id = this.Ya++, this.g(t, "name", e.name, z), t;
1518
1518
  };
1519
1519
  U.Ia = function(e) {
1520
1520
  if (e instanceof N)
@@ -1859,34 +1859,34 @@ function qe(e, t, n, r) {
1859
1859
  URIError
1860
1860
  }, r = String(e.G(n, "name")), o = e.G(n, "message").valueOf(), t = (t[r] || Error)(o), t.stack = String(e.G(n, "stack"))) : t = String(n), e.value = t, t;
1861
1861
  }
1862
- function z(e, t) {
1862
+ function J(e, t) {
1863
1863
  switch (t.type) {
1864
1864
  case "ArrayExpression":
1865
1865
  return "[...]";
1866
1866
  case "BinaryExpression":
1867
1867
  case "LogicalExpression":
1868
- return z(e, t.left) + " " + t.operator + " " + z(e, t.right);
1868
+ return J(e, t.left) + " " + t.operator + " " + J(e, t.right);
1869
1869
  case "CallExpression":
1870
- return z(e, t.callee) + "(...)";
1870
+ return J(e, t.callee) + "(...)";
1871
1871
  case "ConditionalExpression":
1872
- return z(e, t.test) + " ? " + z(e, t.da) + " : " + z(e, t.alternate);
1872
+ return J(e, t.test) + " ? " + J(e, t.da) + " : " + J(e, t.alternate);
1873
1873
  case "Identifier":
1874
1874
  return t.name;
1875
1875
  case "Literal":
1876
1876
  return t.raw;
1877
1877
  case "MemberExpression":
1878
- var n = z(e, t.object);
1879
- return e = z(e, t.Wa), t.bb ? n + "[" + e + "]" : n + "." + e;
1878
+ var n = J(e, t.object);
1879
+ return e = J(e, t.Wa), t.bb ? n + "[" + e + "]" : n + "." + e;
1880
1880
  case "NewExpression":
1881
- return "new " + z(e, t.callee) + "(...)";
1881
+ return "new " + J(e, t.callee) + "(...)";
1882
1882
  case "ObjectExpression":
1883
1883
  return "{...}";
1884
1884
  case "ThisExpression":
1885
1885
  return "this";
1886
1886
  case "UnaryExpression":
1887
- return t.operator + " " + z(e, t.K);
1887
+ return t.operator + " " + J(e, t.K);
1888
1888
  case "UpdateExpression":
1889
- return n = z(e, t.K), t.prefix ? t.operator + n : n + t.operator;
1889
+ return n = J(e, t.K), t.prefix ? t.operator + n : n + t.operator;
1890
1890
  }
1891
1891
  return "???";
1892
1892
  }
@@ -2183,7 +2183,7 @@ h.prototype.stepCallExpression = function(e, t, n) {
2183
2183
  if (t.A !== 0 && t.F.push(t.value), n.arguments[t.A])
2184
2184
  return new b(n.arguments[t.A++], t.scope);
2185
2185
  if (n.type === "NewExpression") {
2186
- if (o instanceof N && !o.Ab || x(this, this.j, z(this, n.callee) + " is not a constructor"), o === this.qa)
2186
+ if (o instanceof N && !o.Ab || x(this, this.j, J(this, n.callee) + " is not a constructor"), o === this.qa)
2187
2187
  t.B = Pe(this);
2188
2188
  else {
2189
2189
  var i = o.h.prototype;
@@ -2196,7 +2196,7 @@ h.prototype.stepCallExpression = function(e, t, n) {
2196
2196
  if (t.eb)
2197
2197
  e.pop(), e[e.length - 1].value = t.isConstructor && typeof t.value != "object" ? t.B : t.value;
2198
2198
  else {
2199
- if (t.eb = !0, o instanceof N || x(this, this.j, z(this, n.callee) + " is not a function"), e = o.node) {
2199
+ if (t.eb = !0, o instanceof N || x(this, this.j, J(this, n.callee) + " is not a function"), e = o.node) {
2200
2200
  for (n = Ht(this, e.body, o.Va), r = Pe(this), o = 0; o < t.F.length; o++)
2201
2201
  this.g(r, o, t.F[o]);
2202
2202
  for (this.g(n.object, "arguments", r), o = 0; o < e.oa.length; o++)
@@ -2222,7 +2222,7 @@ h.prototype.stepCallExpression = function(e, t, n) {
2222
2222
  t.value = u, s.za = !1;
2223
2223
  }), this.za = !0, t.scope.S || (t.B = _t(this, t.B)), o.Za.apply(t.B, r);
2224
2224
  } else
2225
- x(this, this.j, z(this, n.callee) + " is not callable");
2225
+ x(this, this.j, J(this, n.callee) + " is not callable");
2226
2226
  }
2227
2227
  };
2228
2228
  h.prototype.stepConditionalExpression = function(e, t, n) {
@@ -2596,7 +2596,7 @@ const $o = (e) => e.split(`
2596
2596
  }).join(`
2597
2597
  `), k = $o(s);
2598
2598
  if (k === "") {
2599
- Y.warn("Skipping evaluation of empty code block.");
2599
+ q.warn("Skipping evaluation of empty code block.");
2600
2600
  return;
2601
2601
  }
2602
2602
  const m = `
@@ -2619,7 +2619,7 @@ theFunction();
2619
2619
  const C = new h(m, P);
2620
2620
  return C.run(), C.pseudoToNative(C.value);
2621
2621
  } catch (C) {
2622
- Y.warn("Custom code error in edge runtime. NOTE: your code must be ES5 JavaScript.", {
2622
+ q.warn("Custom code error in edge runtime. NOTE: your code must be ES5 JavaScript.", {
2623
2623
  e: C
2624
2624
  });
2625
2625
  return;
@@ -2634,7 +2634,7 @@ const Go = () => {
2634
2634
  if (!Ko())
2635
2635
  return !1;
2636
2636
  const e = process.arch === "arm64", t = process.version.startsWith("v20"), n = (r = process.env.NODE_OPTIONS) == null ? void 0 : r.includes("--no-node-snapshot");
2637
- return e && t && !n ? (Y.log("Skipping usage of `isolated-vm` to avoid crashes in Node v20 on an arm64 machine.\n If you would like to use the `isolated-vm` package on this machine, please provide the `NODE_OPTIONS=--no-node-snapshot` config to your Node process.\n See https://github.com/BuilderIO/builder/blob/main/packages/sdks/README.md#node-v20--m1-macs-apple-silicon-support for more information.\n "), !0) : !1;
2637
+ return e && t && !n ? (q.log("Skipping usage of `isolated-vm` to avoid crashes in Node v20 on an arm64 machine.\n If you would like to use the `isolated-vm` package on this machine, please provide the `NODE_OPTIONS=--no-node-snapshot` config to your Node process.\n See https://github.com/BuilderIO/builder/blob/main/packages/sdks/README.md#node-v20--m1-macs-apple-silicon-support for more information.\n "), !0) : !1;
2638
2638
  }, Xo = (e) => G() || Go() ? Io(e) : Ho(e), sn = class Oe {
2639
2639
  static getCacheKey(t) {
2640
2640
  return JSON.stringify({
@@ -2666,10 +2666,8 @@ function ln({
2666
2666
  isExpression: s = !0,
2667
2667
  enableCache: u
2668
2668
  }) {
2669
- if (e === "") {
2670
- Y.warn("Skipping evaluation of empty code block.");
2669
+ if (e === "")
2671
2670
  return;
2672
- }
2673
2671
  const p = {
2674
2672
  code: Eo(e, {
2675
2673
  isExpression: s
@@ -2694,7 +2692,7 @@ function ln({
2694
2692
  }
2695
2693
  return S;
2696
2694
  } catch (S) {
2697
- Y.error("Failed code evaluation: " + S.message, {
2695
+ q.error("Failed code evaluation: " + S.message, {
2698
2696
  code: e
2699
2697
  });
2700
2698
  return;
@@ -3456,7 +3454,7 @@ const gi = (e) => {
3456
3454
  try {
3457
3455
  return t ? (n = document.cookie.split("; ").find((r) => r.startsWith(`${e}=`))) == null ? void 0 : n.split("=")[1] : void 0;
3458
3456
  } catch (r) {
3459
- Y.warn("[COOKIE] GET error: ", (r == null ? void 0 : r.message) || r);
3457
+ q.warn("[COOKIE] GET error: ", (r == null ? void 0 : r.message) || r);
3460
3458
  return;
3461
3459
  }
3462
3460
  }, Ir = async (e) => Er(e), yi = (e) => e.map(([t, n]) => n ? `${t}=${n}` : t).filter(oe).join("; "), vi = [["secure", ""], ["SameSite", "None"]], bi = ({
@@ -3482,7 +3480,7 @@ const gi = (e) => {
3482
3480
  });
3483
3481
  document.cookie = o;
3484
3482
  } catch (o) {
3485
- Y.warn("[COOKIE] SET error: ", (o == null ? void 0 : o.message) || o);
3483
+ q.warn("[COOKIE] SET error: ", (o == null ? void 0 : o.message) || o);
3486
3484
  }
3487
3485
  }, Si = "builder.tests", un = (e) => `${Si}.${e}`, wi = ({
3488
3486
  contentId: e
@@ -3520,7 +3518,7 @@ const gi = (e) => {
3520
3518
  contentId: e.id,
3521
3519
  value: t
3522
3520
  }).catch((n) => {
3523
- Y.error("could not store A/B test variation: ", n);
3521
+ q.error("could not store A/B test variation: ", n);
3524
3522
  }), t;
3525
3523
  }, jr = ({
3526
3524
  item: e,
@@ -4372,7 +4370,7 @@ function Xt(e) {
4372
4370
  }
4373
4371
  const Zi = (e) => {
4374
4372
  const t = e.get("preview"), n = e.get("overrides." + t);
4375
- return n || Y.warn("No previewed ID found in search params."), n;
4373
+ return n || q.warn("No previewed ID found in search params."), n;
4376
4374
  };
4377
4375
  function Qi() {
4378
4376
  globalThis._BUILDER_PREVIEW_LRU_CACHE || (globalThis._BUILDER_PREVIEW_LRU_CACHE = new yo({
@@ -4500,20 +4498,20 @@ const la = async (e) => {
4500
4498
  }));
4501
4499
  t.results = i;
4502
4500
  } catch (i) {
4503
- Y.error("Could not process A/B tests. ", i);
4501
+ q.error("Could not process A/B tests. ", i);
4504
4502
  }
4505
4503
  return t.results;
4506
4504
  };
4507
4505
  async function ua(e) {
4508
4506
  try {
4509
4507
  const t = fn(e), n = await la(e);
4510
- return sa(n) ? ca(e, n) : (Y.error("Error fetching data. ", {
4508
+ return sa(n) ? ca(e, n) : (q.error("Error fetching data. ", {
4511
4509
  url: t,
4512
4510
  content: n,
4513
4511
  options: e
4514
4512
  }), null);
4515
4513
  } catch (t) {
4516
- return Y.error("Error fetching data. ", t), null;
4514
+ return q.error("Error fetching data. ", t), null;
4517
4515
  }
4518
4516
  }
4519
4517
  function Za(e) {
@@ -4641,7 +4639,7 @@ const Mr = "builderSessionId", da = async ({
4641
4639
  });
4642
4640
  async function xa(e) {
4643
4641
  if (!e.apiKey) {
4644
- Y.error("Missing API key for track call. Please provide your API key.");
4642
+ q.error("Missing API key for track call. Please provide your API key.");
4645
4643
  return;
4646
4644
  }
4647
4645
  if (e.canTrack && !ur() && (G() || he === "reactNative"))
@@ -4709,7 +4707,7 @@ function Lr(e, t) {
4709
4707
  const n = new URL(t.origin), r = n.hostname;
4710
4708
  return (e || Ea).findIndex((o) => o.startsWith("*.") ? r.endsWith(o.slice(1)) : o === r) > -1;
4711
4709
  }
4712
- const Ia = "0.14.16", or = {};
4710
+ const Ia = "0.14.17", or = {};
4713
4711
  function Ta(e, t) {
4714
4712
  let n = or[e];
4715
4713
  if (n || (n = or[e] = []), n.push(t), G()) {
@@ -4840,7 +4838,7 @@ const Aa = (e = {}) => {
4840
4838
  }
4841
4839
  }, ns = (e, t, n) => {
4842
4840
  if (!G)
4843
- return Y.warn("`subscribeToEditor` only works in the browser. It currently seems to be running on the server."), () => {
4841
+ return q.warn("`subscribeToEditor` only works in the browser. It currently seems to be running on the server."), () => {
4844
4842
  };
4845
4843
  Aa();
4846
4844
  const r = Oa({
@@ -5162,7 +5160,7 @@ const Da = async ({
5162
5160
  }
5163
5161
  }
5164
5162
  }).catch((n) => {
5165
- Y.error("Could not fetch symbol content: ", n);
5163
+ q.error("Could not fetch symbol content: ", n);
5166
5164
  });
5167
5165
  };
5168
5166
  async function La(e) {
@@ -5256,7 +5254,7 @@ export {
5256
5254
  Ga as i,
5257
5255
  Za as j,
5258
5256
  Oa as k,
5259
- Y as l,
5257
+ q as l,
5260
5258
  ln as m,
5261
5259
  es as n,
5262
5260
  ra as o,