@pipedream/connect-react 2.4.0 → 2.4.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.
@@ -1,6 +1,6 @@
1
1
  import { jsxs as ye, jsx as O, Fragment as Wo } from "react/jsx-runtime";
2
2
  import * as ge from "react";
3
- import { createContext as ln, useContext as Xt, useId as Hr, useMemo as de, useEffect as be, useState as ce, useRef as Te, useCallback as Re, useLayoutEffect as gu, Component as Zo, Fragment as Cr, forwardRef as Jo, Suspense as hu } from "react";
3
+ import { createContext as ln, useContext as Xt, useState as ce, useId as Hr, useMemo as pe, useEffect as be, useRef as Te, useCallback as Re, useLayoutEffect as gu, Component as Zo, Fragment as Cr, forwardRef as Jo, Suspense as hu } from "react";
4
4
  import { QueryClient as mu, QueryClientProvider as bu, useQuery as Rt } from "@tanstack/react-query";
5
5
  import { jsx as $, css as Yo, keyframes as yu } from "@emotion/react";
6
6
  import { createPortal as Iu } from "react-dom";
@@ -1233,11 +1233,11 @@ function ju(e, t) {
1233
1233
  }
1234
1234
  function c(y) {
1235
1235
  var b;
1236
- for (y = y || []; b = p(); )
1236
+ for (y = y || []; b = d(); )
1237
1237
  b !== !1 && y.push(b);
1238
1238
  return y;
1239
1239
  }
1240
- function p() {
1240
+ function d() {
1241
1241
  var y = o();
1242
1242
  if (!(Ri != e.charAt(0) || Vi != e.charAt(1))) {
1243
1243
  for (var b = 2; Tt != e.charAt(b) && (Vi != e.charAt(b) || Ri != e.charAt(b + 1)); )
@@ -1254,7 +1254,7 @@ function ju(e, t) {
1254
1254
  function f() {
1255
1255
  var y = o(), b = u(Mu);
1256
1256
  if (b) {
1257
- if (p(), !u(zu)) return l("property missing ':'");
1257
+ if (d(), !u(zu)) return l("property missing ':'");
1258
1258
  var C = u(Hu), I = y({
1259
1259
  type: Yu,
1260
1260
  property: Oi(b[0].replace(Fi, Tt)),
@@ -1263,14 +1263,14 @@ function ju(e, t) {
1263
1263
  return u(Xu), I;
1264
1264
  }
1265
1265
  }
1266
- function d() {
1266
+ function p() {
1267
1267
  var y = [];
1268
1268
  c(y);
1269
1269
  for (var b; b = f(); )
1270
1270
  b !== !1 && (y.push(b), c(y));
1271
1271
  return y;
1272
1272
  }
1273
- return s(), d();
1273
+ return s(), p();
1274
1274
  }
1275
1275
  function Oi(e) {
1276
1276
  return e ? e.replace(Wu, Tt) : Tt;
@@ -1330,7 +1330,7 @@ function ta(e) {
1330
1330
  };
1331
1331
  }
1332
1332
  }
1333
- function ps(e) {
1333
+ function ds(e) {
1334
1334
  const t = Yr(e), n = ea(e);
1335
1335
  if (t && n)
1336
1336
  return { start: t, end: n };
@@ -1434,7 +1434,7 @@ Ze.prototype.fatal = void 0;
1434
1434
  Ze.prototype.place = void 0;
1435
1435
  Ze.prototype.ruleId = void 0;
1436
1436
  Ze.prototype.source = void 0;
1437
- const jr = {}.hasOwnProperty, ds = /* @__PURE__ */ new Map(), fs = /[A-Z]/g, gs = /* @__PURE__ */ new Set(["table", "tbody", "thead", "tfoot", "tr"]), hs = /* @__PURE__ */ new Set(["td", "th"]), na = "https://github.com/syntax-tree/hast-util-to-jsx-runtime";
1437
+ const jr = {}.hasOwnProperty, ps = /* @__PURE__ */ new Map(), fs = /[A-Z]/g, gs = /* @__PURE__ */ new Set(["table", "tbody", "thead", "tfoot", "tr"]), hs = /* @__PURE__ */ new Set(["td", "th"]), na = "https://github.com/syntax-tree/hast-util-to-jsx-runtime";
1438
1438
  function ms(e, t) {
1439
1439
  if (!t || t.Fragment === void 0)
1440
1440
  throw new TypeError("Expected `Fragment` in options");
@@ -1618,7 +1618,7 @@ function Es(e, t) {
1618
1618
  function Ur(e, t) {
1619
1619
  const n = [];
1620
1620
  let i = -1;
1621
- const r = e.passKeys ? /* @__PURE__ */ new Map() : ds;
1621
+ const r = e.passKeys ? /* @__PURE__ */ new Map() : ps;
1622
1622
  for (; ++i < t.children.length; ) {
1623
1623
  const o = t.children[i];
1624
1624
  let a;
@@ -4092,18 +4092,18 @@ function js(e) {
4092
4092
  return y(A);
4093
4093
  t.interrupt = !!(r.currentConstruct && !r._gfmTableDynamicInterruptHack);
4094
4094
  }
4095
- return t.containerState = {}, e.check(Hi, c, p)(A);
4095
+ return t.containerState = {}, e.check(Hi, c, d)(A);
4096
4096
  }
4097
4097
  function c(A) {
4098
4098
  return r && P(), I(i), f(A);
4099
4099
  }
4100
- function p(A) {
4100
+ function d(A) {
4101
4101
  return t.parser.lazy[t.now().line] = i !== n.length, a = t.now().offset, y(A);
4102
4102
  }
4103
4103
  function f(A) {
4104
- return t.containerState = {}, e.attempt(Hi, d, y)(A);
4104
+ return t.containerState = {}, e.attempt(Hi, p, y)(A);
4105
4105
  }
4106
- function d(A) {
4106
+ function p(A) {
4107
4107
  return i++, n.push([t.currentConstruct, t.containerState]), f(A);
4108
4108
  }
4109
4109
  function y(A) {
@@ -4198,14 +4198,14 @@ function Us(e, t) {
4198
4198
  if ((e[i][1]._close || e[n][1]._open) && (e[n][1].end.offset - e[n][1].start.offset) % 3 && !((e[i][1].end.offset - e[i][1].start.offset + e[n][1].end.offset - e[n][1].start.offset) % 3))
4199
4199
  continue;
4200
4200
  u = e[i][1].end.offset - e[i][1].start.offset > 1 && e[n][1].end.offset - e[n][1].start.offset > 1 ? 2 : 1;
4201
- const p = {
4201
+ const d = {
4202
4202
  ...e[i][1].end
4203
4203
  }, f = {
4204
4204
  ...e[n][1].start
4205
4205
  };
4206
- Wi(p, -u), Wi(f, u), a = {
4206
+ Wi(d, -u), Wi(f, u), a = {
4207
4207
  type: u > 1 ? "strongSequence" : "emphasisSequence",
4208
- start: p,
4208
+ start: d,
4209
4209
  end: {
4210
4210
  ...e[i][1].end
4211
4211
  }
@@ -4253,8 +4253,8 @@ function qs(e, t) {
4253
4253
  function l(u) {
4254
4254
  if (u === o)
4255
4255
  return e.consume(u), l;
4256
- const s = e.exit("attentionSequence"), c = Xi(u), p = !c || c === 2 && r || n.includes(u), f = !r || r === 2 && c || n.includes(i);
4257
- return s._open = !!(o === 42 ? p : p && (r || !f)), s._close = !!(o === 42 ? f : f && (c || !p)), t(u);
4256
+ const s = e.exit("attentionSequence"), c = Xi(u), d = !c || c === 2 && r || n.includes(u), f = !r || r === 2 && c || n.includes(i);
4257
+ return s._open = !!(o === 42 ? d : d && (r || !f)), s._close = !!(o === 42 ? f : f && (c || !d)), t(u);
4258
4258
  }
4259
4259
  }
4260
4260
  function Wi(e, t) {
@@ -4267,36 +4267,36 @@ const Qs = {
4267
4267
  function $s(e, t, n) {
4268
4268
  let i = 0;
4269
4269
  return r;
4270
- function r(d) {
4271
- return e.enter("autolink"), e.enter("autolinkMarker"), e.consume(d), e.exit("autolinkMarker"), e.enter("autolinkProtocol"), o;
4270
+ function r(p) {
4271
+ return e.enter("autolink"), e.enter("autolinkMarker"), e.consume(p), e.exit("autolinkMarker"), e.enter("autolinkProtocol"), o;
4272
4272
  }
4273
- function o(d) {
4274
- return lt(d) ? (e.consume(d), a) : d === 64 ? n(d) : s(d);
4273
+ function o(p) {
4274
+ return lt(p) ? (e.consume(p), a) : p === 64 ? n(p) : s(p);
4275
4275
  }
4276
- function a(d) {
4277
- return d === 43 || d === 45 || d === 46 || Qe(d) ? (i = 1, l(d)) : s(d);
4276
+ function a(p) {
4277
+ return p === 43 || p === 45 || p === 46 || Qe(p) ? (i = 1, l(p)) : s(p);
4278
4278
  }
4279
- function l(d) {
4280
- return d === 58 ? (e.consume(d), i = 0, u) : (d === 43 || d === 45 || d === 46 || Qe(d)) && i++ < 32 ? (e.consume(d), l) : (i = 0, s(d));
4279
+ function l(p) {
4280
+ return p === 58 ? (e.consume(p), i = 0, u) : (p === 43 || p === 45 || p === 46 || Qe(p)) && i++ < 32 ? (e.consume(p), l) : (i = 0, s(p));
4281
4281
  }
4282
- function u(d) {
4283
- return d === 62 ? (e.exit("autolinkProtocol"), e.enter("autolinkMarker"), e.consume(d), e.exit("autolinkMarker"), e.exit("autolink"), t) : d === null || d === 32 || d === 60 || kr(d) ? n(d) : (e.consume(d), u);
4282
+ function u(p) {
4283
+ return p === 62 ? (e.exit("autolinkProtocol"), e.enter("autolinkMarker"), e.consume(p), e.exit("autolinkMarker"), e.exit("autolink"), t) : p === null || p === 32 || p === 60 || kr(p) ? n(p) : (e.consume(p), u);
4284
4284
  }
4285
- function s(d) {
4286
- return d === 64 ? (e.consume(d), c) : Ms(d) ? (e.consume(d), s) : n(d);
4285
+ function s(p) {
4286
+ return p === 64 ? (e.consume(p), c) : Ms(p) ? (e.consume(p), s) : n(p);
4287
4287
  }
4288
- function c(d) {
4289
- return Qe(d) ? p(d) : n(d);
4288
+ function c(p) {
4289
+ return Qe(p) ? d(p) : n(p);
4290
4290
  }
4291
- function p(d) {
4292
- return d === 46 ? (e.consume(d), i = 0, c) : d === 62 ? (e.exit("autolinkProtocol").type = "autolinkEmail", e.enter("autolinkMarker"), e.consume(d), e.exit("autolinkMarker"), e.exit("autolink"), t) : f(d);
4291
+ function d(p) {
4292
+ return p === 46 ? (e.consume(p), i = 0, c) : p === 62 ? (e.exit("autolinkProtocol").type = "autolinkEmail", e.enter("autolinkMarker"), e.consume(p), e.exit("autolinkMarker"), e.exit("autolink"), t) : f(p);
4293
4293
  }
4294
- function f(d) {
4295
- if ((d === 45 || Qe(d)) && i++ < 63) {
4296
- const y = d === 45 ? f : p;
4297
- return e.consume(d), y;
4294
+ function f(p) {
4295
+ if ((p === 45 || Qe(p)) && i++ < 63) {
4296
+ const y = p === 45 ? f : d;
4297
+ return e.consume(p), y;
4298
4298
  }
4299
- return n(d);
4299
+ return n(p);
4300
4300
  }
4301
4301
  }
4302
4302
  const zn = {
@@ -4362,7 +4362,7 @@ function rc(e, t, n) {
4362
4362
  return Hs(o) ? (e.enter("characterEscapeValue"), e.consume(o), e.exit("characterEscapeValue"), e.exit("characterEscape"), t) : n(o);
4363
4363
  }
4364
4364
  }
4365
- const pa = {
4365
+ const da = {
4366
4366
  name: "characterReference",
4367
4367
  tokenize: ic
4368
4368
  };
@@ -4370,21 +4370,21 @@ function ic(e, t, n) {
4370
4370
  const i = this;
4371
4371
  let r = 0, o, a;
4372
4372
  return l;
4373
- function l(p) {
4374
- return e.enter("characterReference"), e.enter("characterReferenceMarker"), e.consume(p), e.exit("characterReferenceMarker"), u;
4373
+ function l(d) {
4374
+ return e.enter("characterReference"), e.enter("characterReferenceMarker"), e.consume(d), e.exit("characterReferenceMarker"), u;
4375
4375
  }
4376
- function u(p) {
4377
- return p === 35 ? (e.enter("characterReferenceMarkerNumeric"), e.consume(p), e.exit("characterReferenceMarkerNumeric"), s) : (e.enter("characterReferenceValue"), o = 31, a = Qe, c(p));
4376
+ function u(d) {
4377
+ return d === 35 ? (e.enter("characterReferenceMarkerNumeric"), e.consume(d), e.exit("characterReferenceMarkerNumeric"), s) : (e.enter("characterReferenceValue"), o = 31, a = Qe, c(d));
4378
4378
  }
4379
- function s(p) {
4380
- return p === 88 || p === 120 ? (e.enter("characterReferenceMarkerHexadecimal"), e.consume(p), e.exit("characterReferenceMarkerHexadecimal"), e.enter("characterReferenceValue"), o = 6, a = zs, c) : (e.enter("characterReferenceValue"), o = 7, a = Br, c(p));
4379
+ function s(d) {
4380
+ return d === 88 || d === 120 ? (e.enter("characterReferenceMarkerHexadecimal"), e.consume(d), e.exit("characterReferenceMarkerHexadecimal"), e.enter("characterReferenceValue"), o = 6, a = zs, c) : (e.enter("characterReferenceValue"), o = 7, a = Br, c(d));
4381
4381
  }
4382
- function c(p) {
4383
- if (p === 59 && r) {
4382
+ function c(d) {
4383
+ if (d === 59 && r) {
4384
4384
  const f = e.exit("characterReferenceValue");
4385
- return a === Qe && !la(i.sliceSerialize(f)) ? n(p) : (e.enter("characterReferenceMarker"), e.consume(p), e.exit("characterReferenceMarker"), e.exit("characterReference"), t);
4385
+ return a === Qe && !la(i.sliceSerialize(f)) ? n(d) : (e.enter("characterReferenceMarker"), e.consume(d), e.exit("characterReferenceMarker"), e.exit("characterReference"), t);
4386
4386
  }
4387
- return a(p) && r++ < o ? (e.consume(p), c) : n(p);
4387
+ return a(d) && r++ < o ? (e.consume(d), c) : n(d);
4388
4388
  }
4389
4389
  }
4390
4390
  const Zi = {
@@ -4410,23 +4410,23 @@ function oc(e, t, n) {
4410
4410
  return o = D && D[1].type === "linePrefix" ? D[2].sliceSerialize(D[1], !0).length : 0, l = x, e.enter("codeFenced"), e.enter("codeFencedFence"), e.enter("codeFencedFenceSequence"), c(x);
4411
4411
  }
4412
4412
  function c(x) {
4413
- return x === l ? (a++, e.consume(x), c) : a < 3 ? n(x) : (e.exit("codeFencedFenceSequence"), he(x) ? ve(e, p, "whitespace")(x) : p(x));
4413
+ return x === l ? (a++, e.consume(x), c) : a < 3 ? n(x) : (e.exit("codeFencedFenceSequence"), he(x) ? ve(e, d, "whitespace")(x) : d(x));
4414
4414
  }
4415
- function p(x) {
4415
+ function d(x) {
4416
4416
  return x === null || re(x) ? (e.exit("codeFencedFence"), i.interrupt ? t(x) : e.check(Zi, b, E)(x)) : (e.enter("codeFencedFenceInfo"), e.enter("chunkString", {
4417
4417
  contentType: "string"
4418
4418
  }), f(x));
4419
4419
  }
4420
4420
  function f(x) {
4421
- return x === null || re(x) ? (e.exit("chunkString"), e.exit("codeFencedFenceInfo"), p(x)) : he(x) ? (e.exit("chunkString"), e.exit("codeFencedFenceInfo"), ve(e, d, "whitespace")(x)) : x === 96 && x === l ? n(x) : (e.consume(x), f);
4421
+ return x === null || re(x) ? (e.exit("chunkString"), e.exit("codeFencedFenceInfo"), d(x)) : he(x) ? (e.exit("chunkString"), e.exit("codeFencedFenceInfo"), ve(e, p, "whitespace")(x)) : x === 96 && x === l ? n(x) : (e.consume(x), f);
4422
4422
  }
4423
- function d(x) {
4424
- return x === null || re(x) ? p(x) : (e.enter("codeFencedFenceMeta"), e.enter("chunkString", {
4423
+ function p(x) {
4424
+ return x === null || re(x) ? d(x) : (e.enter("codeFencedFenceMeta"), e.enter("chunkString", {
4425
4425
  contentType: "string"
4426
4426
  }), y(x));
4427
4427
  }
4428
4428
  function y(x) {
4429
- return x === null || re(x) ? (e.exit("chunkString"), e.exit("codeFencedFenceMeta"), p(x)) : x === 96 && x === l ? n(x) : (e.consume(x), y);
4429
+ return x === null || re(x) ? (e.exit("chunkString"), e.exit("codeFencedFenceMeta"), d(x)) : x === 96 && x === l ? n(x) : (e.consume(x), y);
4430
4430
  }
4431
4431
  function b(x) {
4432
4432
  return e.attempt(r, E, C)(x);
@@ -4516,11 +4516,11 @@ function sc(e, t, n) {
4516
4516
  }
4517
4517
  const cc = {
4518
4518
  name: "codeText",
4519
- previous: dc,
4520
- resolve: pc,
4519
+ previous: pc,
4520
+ resolve: dc,
4521
4521
  tokenize: fc
4522
4522
  };
4523
- function pc(e) {
4523
+ function dc(e) {
4524
4524
  let t = e.length - 4, n = 3, i, r;
4525
4525
  if ((e[n][1].type === "lineEnding" || e[n][1].type === "space") && (e[t][1].type === "lineEnding" || e[t][1].type === "space")) {
4526
4526
  for (i = n; ++i < t; )
@@ -4533,26 +4533,26 @@ function pc(e) {
4533
4533
  r === void 0 ? i !== t && e[i][1].type !== "lineEnding" && (r = i) : (i === t || e[i][1].type === "lineEnding") && (e[r][1].type = "codeTextData", i !== r + 2 && (e[r][1].end = e[i - 1][1].end, e.splice(r + 2, i - r - 2), t -= i - r - 2, i = r + 2), r = void 0);
4534
4534
  return e;
4535
4535
  }
4536
- function dc(e) {
4536
+ function pc(e) {
4537
4537
  return e !== 96 || this.events[this.events.length - 1][1].type === "characterEscape";
4538
4538
  }
4539
4539
  function fc(e, t, n) {
4540
4540
  let i = 0, r, o;
4541
4541
  return a;
4542
- function a(p) {
4543
- return e.enter("codeText"), e.enter("codeTextSequence"), l(p);
4542
+ function a(d) {
4543
+ return e.enter("codeText"), e.enter("codeTextSequence"), l(d);
4544
4544
  }
4545
- function l(p) {
4546
- return p === 96 ? (e.consume(p), i++, l) : (e.exit("codeTextSequence"), u(p));
4545
+ function l(d) {
4546
+ return d === 96 ? (e.consume(d), i++, l) : (e.exit("codeTextSequence"), u(d));
4547
4547
  }
4548
- function u(p) {
4549
- return p === null ? n(p) : p === 32 ? (e.enter("space"), e.consume(p), e.exit("space"), u) : p === 96 ? (o = e.enter("codeTextSequence"), r = 0, c(p)) : re(p) ? (e.enter("lineEnding"), e.consume(p), e.exit("lineEnding"), u) : (e.enter("codeTextData"), s(p));
4548
+ function u(d) {
4549
+ return d === null ? n(d) : d === 32 ? (e.enter("space"), e.consume(d), e.exit("space"), u) : d === 96 ? (o = e.enter("codeTextSequence"), r = 0, c(d)) : re(d) ? (e.enter("lineEnding"), e.consume(d), e.exit("lineEnding"), u) : (e.enter("codeTextData"), s(d));
4550
4550
  }
4551
- function s(p) {
4552
- return p === null || p === 32 || p === 96 || re(p) ? (e.exit("codeTextData"), u(p)) : (e.consume(p), s);
4551
+ function s(d) {
4552
+ return d === null || d === 32 || d === 96 || re(d) ? (e.exit("codeTextData"), u(d)) : (e.consume(d), s);
4553
4553
  }
4554
- function c(p) {
4555
- return p === 96 ? (e.consume(p), r++, c) : r === i ? (e.exit("codeTextSequence"), e.exit("codeText"), t(p)) : (o.type = "codeTextData", s(p));
4554
+ function c(d) {
4555
+ return d === 96 ? (e.consume(d), r++, c) : r === i ? (e.exit("codeTextSequence"), e.exit("codeText"), t(d)) : (o.type = "codeTextData", s(d));
4556
4556
  }
4557
4557
  }
4558
4558
  class gc {
@@ -4727,7 +4727,7 @@ function qt(e, t) {
4727
4727
  for (; n < t.length; )
4728
4728
  e.push(...t.slice(n, n + 1e4)), n += 1e4;
4729
4729
  }
4730
- function da(e) {
4730
+ function pa(e) {
4731
4731
  const t = {};
4732
4732
  let n = -1, i, r, o, a, l, u, s;
4733
4733
  const c = new gc(e);
@@ -4758,17 +4758,17 @@ function hc(e, t) {
4758
4758
  let a = n._tokenizer;
4759
4759
  a || (a = i.parser[n.contentType](n.start), n._contentTypeTextTrailing && (a._contentTypeTextTrailing = !0));
4760
4760
  const l = a.events, u = [], s = {};
4761
- let c, p, f = -1, d = n, y = 0, b = 0;
4761
+ let c, d, f = -1, p = n, y = 0, b = 0;
4762
4762
  const C = [b];
4763
- for (; d; ) {
4764
- for (; e.get(++r)[1] !== d; )
4763
+ for (; p; ) {
4764
+ for (; e.get(++r)[1] !== p; )
4765
4765
  ;
4766
- o.push(r), d._tokenizer || (c = i.sliceStream(d), d.next || c.push(null), p && a.defineSkip(d.start), d._isInFirstContentOfListItem && (a._gfmTasklistFirstContentOfListItem = !0), a.write(c), d._isInFirstContentOfListItem && (a._gfmTasklistFirstContentOfListItem = void 0)), p = d, d = d.next;
4766
+ o.push(r), p._tokenizer || (c = i.sliceStream(p), p.next || c.push(null), d && a.defineSkip(p.start), p._isInFirstContentOfListItem && (a._gfmTasklistFirstContentOfListItem = !0), a.write(c), p._isInFirstContentOfListItem && (a._gfmTasklistFirstContentOfListItem = void 0)), d = p, p = p.next;
4767
4767
  }
4768
- for (d = n; ++f < l.length; )
4768
+ for (p = n; ++f < l.length; )
4769
4769
  // Find a void token that includes a break.
4770
- l[f][0] === "exit" && l[f - 1][0] === "enter" && l[f][1].type === l[f - 1][1].type && l[f][1].start.line !== l[f][1].end.line && (b = f + 1, C.push(b), d._tokenizer = void 0, d.previous = void 0, d = d.next);
4771
- for (a.events = [], d ? (d._tokenizer = void 0, d.previous = void 0) : C.pop(), f = C.length; f--; ) {
4770
+ l[f][0] === "exit" && l[f - 1][0] === "enter" && l[f][1].type === l[f - 1][1].type && l[f][1].start.line !== l[f][1].end.line && (b = f + 1, C.push(b), p._tokenizer = void 0, p.previous = void 0, p = p.next);
4771
+ for (a.events = [], p ? (p._tokenizer = void 0, p.previous = void 0) : C.pop(), f = C.length; f--; ) {
4772
4772
  const I = l.slice(C[f], C[f + 1]), P = o.pop();
4773
4773
  u.push([P, P + I.length - 1]), e.splice(P, 2, I);
4774
4774
  }
@@ -4784,7 +4784,7 @@ const mc = {
4784
4784
  tokenize: vc
4785
4785
  };
4786
4786
  function yc(e) {
4787
- return da(e), e;
4787
+ return pa(e), e;
4788
4788
  }
4789
4789
  function Ic(e, t) {
4790
4790
  let n;
@@ -4823,8 +4823,8 @@ function vc(e, t, n) {
4823
4823
  function fa(e, t, n, i, r, o, a, l, u) {
4824
4824
  const s = u || Number.POSITIVE_INFINITY;
4825
4825
  let c = 0;
4826
- return p;
4827
- function p(I) {
4826
+ return d;
4827
+ function d(I) {
4828
4828
  return I === 60 ? (e.enter(i), e.enter(r), e.enter(o), e.consume(I), e.exit(o), f) : I === null || I === 32 || I === 41 || kr(I) ? n(I) : (e.enter(i), e.enter(a), e.enter(l), e.enter("chunkString", {
4829
4829
  contentType: "string"
4830
4830
  }), b(I));
@@ -4832,13 +4832,13 @@ function fa(e, t, n, i, r, o, a, l, u) {
4832
4832
  function f(I) {
4833
4833
  return I === 62 ? (e.enter(o), e.consume(I), e.exit(o), e.exit(r), e.exit(i), t) : (e.enter(l), e.enter("chunkString", {
4834
4834
  contentType: "string"
4835
- }), d(I));
4835
+ }), p(I));
4836
4836
  }
4837
- function d(I) {
4838
- return I === 62 ? (e.exit("chunkString"), e.exit(l), f(I)) : I === null || I === 60 || re(I) ? n(I) : (e.consume(I), I === 92 ? y : d);
4837
+ function p(I) {
4838
+ return I === 62 ? (e.exit("chunkString"), e.exit(l), f(I)) : I === null || I === 60 || re(I) ? n(I) : (e.consume(I), I === 92 ? y : p);
4839
4839
  }
4840
4840
  function y(I) {
4841
- return I === 60 || I === 62 || I === 92 ? (e.consume(I), d) : d(I);
4841
+ return I === 60 || I === 62 || I === 92 ? (e.consume(I), p) : p(I);
4842
4842
  }
4843
4843
  function b(I) {
4844
4844
  return !c && (I === null || I === 41 || Ye(I)) ? (e.exit("chunkString"), e.exit(l), e.exit(a), e.exit(i), t(I)) : c < s && I === 40 ? (e.consume(I), c++, b) : I === 41 ? (e.consume(I), c--, b) : I === null || I === 32 || I === 40 || kr(I) ? n(I) : (e.consume(I), I === 92 ? C : b);
@@ -4851,24 +4851,24 @@ function ga(e, t, n, i, r, o) {
4851
4851
  const a = this;
4852
4852
  let l = 0, u;
4853
4853
  return s;
4854
- function s(d) {
4855
- return e.enter(i), e.enter(r), e.consume(d), e.exit(r), e.enter(o), c;
4854
+ function s(p) {
4855
+ return e.enter(i), e.enter(r), e.consume(p), e.exit(r), e.enter(o), c;
4856
4856
  }
4857
- function c(d) {
4858
- return l > 999 || d === null || d === 91 || d === 93 && !u || // To do: remove in the future once we’ve switched from
4857
+ function c(p) {
4858
+ return l > 999 || p === null || p === 91 || p === 93 && !u || // To do: remove in the future once we’ve switched from
4859
4859
  // `micromark-extension-footnote` to `micromark-extension-gfm-footnote`,
4860
4860
  // which doesn’t need this.
4861
4861
  // Hidden footnotes hook.
4862
4862
  /* c8 ignore next 3 */
4863
- d === 94 && !l && "_hiddenFootnoteSupport" in a.parser.constructs ? n(d) : d === 93 ? (e.exit(o), e.enter(r), e.consume(d), e.exit(r), e.exit(i), t) : re(d) ? (e.enter("lineEnding"), e.consume(d), e.exit("lineEnding"), c) : (e.enter("chunkString", {
4863
+ p === 94 && !l && "_hiddenFootnoteSupport" in a.parser.constructs ? n(p) : p === 93 ? (e.exit(o), e.enter(r), e.consume(p), e.exit(r), e.exit(i), t) : re(p) ? (e.enter("lineEnding"), e.consume(p), e.exit("lineEnding"), c) : (e.enter("chunkString", {
4864
4864
  contentType: "string"
4865
- }), p(d));
4865
+ }), d(p));
4866
4866
  }
4867
- function p(d) {
4868
- return d === null || d === 91 || d === 93 || re(d) || l++ > 999 ? (e.exit("chunkString"), c(d)) : (e.consume(d), u || (u = !he(d)), d === 92 ? f : p);
4867
+ function d(p) {
4868
+ return p === null || p === 91 || p === 93 || re(p) || l++ > 999 ? (e.exit("chunkString"), c(p)) : (e.consume(p), u || (u = !he(p)), p === 92 ? f : d);
4869
4869
  }
4870
- function f(d) {
4871
- return d === 91 || d === 92 || d === 93 ? (e.consume(d), l++, p) : p(d);
4870
+ function f(p) {
4871
+ return p === 91 || p === 92 || p === 93 ? (e.consume(p), l++, d) : d(p);
4872
4872
  }
4873
4873
  }
4874
4874
  function ha(e, t, n, i, r, o) {
@@ -4886,9 +4886,9 @@ function ha(e, t, n, i, r, o) {
4886
4886
  }), c(f));
4887
4887
  }
4888
4888
  function c(f) {
4889
- return f === a || f === null || re(f) ? (e.exit("chunkString"), s(f)) : (e.consume(f), f === 92 ? p : c);
4889
+ return f === a || f === null || re(f) ? (e.exit("chunkString"), s(f)) : (e.consume(f), f === 92 ? d : c);
4890
4890
  }
4891
- function p(f) {
4891
+ function d(f) {
4892
4892
  return f === a || f === 92 ? (e.consume(f), c) : c(f);
4893
4893
  }
4894
4894
  }
@@ -4910,10 +4910,10 @@ function Ac(e, t, n) {
4910
4910
  const i = this;
4911
4911
  let r;
4912
4912
  return o;
4913
- function o(d) {
4914
- return e.enter("definition"), a(d);
4913
+ function o(p) {
4914
+ return e.enter("definition"), a(p);
4915
4915
  }
4916
- function a(d) {
4916
+ function a(p) {
4917
4917
  return ga.call(
4918
4918
  i,
4919
4919
  e,
@@ -4923,15 +4923,15 @@ function Ac(e, t, n) {
4923
4923
  "definitionLabel",
4924
4924
  "definitionLabelMarker",
4925
4925
  "definitionLabelString"
4926
- )(d);
4926
+ )(p);
4927
4927
  }
4928
- function l(d) {
4929
- return r = zt(i.sliceSerialize(i.events[i.events.length - 1][1]).slice(1, -1)), d === 58 ? (e.enter("definitionMarker"), e.consume(d), e.exit("definitionMarker"), u) : n(d);
4928
+ function l(p) {
4929
+ return r = zt(i.sliceSerialize(i.events[i.events.length - 1][1]).slice(1, -1)), p === 58 ? (e.enter("definitionMarker"), e.consume(p), e.exit("definitionMarker"), u) : n(p);
4930
4930
  }
4931
- function u(d) {
4932
- return Ye(d) ? nn(e, s)(d) : s(d);
4931
+ function u(p) {
4932
+ return Ye(p) ? nn(e, s)(p) : s(p);
4933
4933
  }
4934
- function s(d) {
4934
+ function s(p) {
4935
4935
  return fa(
4936
4936
  e,
4937
4937
  c,
@@ -4942,16 +4942,16 @@ function Ac(e, t, n) {
4942
4942
  "definitionDestinationLiteralMarker",
4943
4943
  "definitionDestinationRaw",
4944
4944
  "definitionDestinationString"
4945
- )(d);
4945
+ )(p);
4946
4946
  }
4947
- function c(d) {
4948
- return e.attempt(xc, p, p)(d);
4947
+ function c(p) {
4948
+ return e.attempt(xc, d, d)(p);
4949
4949
  }
4950
- function p(d) {
4951
- return he(d) ? ve(e, f, "whitespace")(d) : f(d);
4950
+ function d(p) {
4951
+ return he(p) ? ve(e, f, "whitespace")(p) : f(p);
4952
4952
  }
4953
- function f(d) {
4954
- return d === null || re(d) ? (e.exit("definition"), i.parser.defined.push(r), t(d)) : n(d);
4953
+ function f(p) {
4954
+ return p === null || re(p) ? (e.exit("definition"), i.parser.defined.push(r), t(p)) : n(p);
4955
4955
  }
4956
4956
  }
4957
4957
  function wc(e, t, n) {
@@ -5111,28 +5111,28 @@ function Oc(e, t, n) {
5111
5111
  return c(m);
5112
5112
  }
5113
5113
  function c(m) {
5114
- return e.enter("htmlFlow"), e.enter("htmlFlowData"), e.consume(m), p;
5114
+ return e.enter("htmlFlow"), e.enter("htmlFlowData"), e.consume(m), d;
5115
5115
  }
5116
- function p(m) {
5116
+ function d(m) {
5117
5117
  return m === 33 ? (e.consume(m), f) : m === 47 ? (e.consume(m), o = !0, b) : m === 63 ? (e.consume(m), r = 3, i.interrupt ? t : g) : lt(m) ? (e.consume(m), a = String.fromCharCode(m), C) : n(m);
5118
5118
  }
5119
5119
  function f(m) {
5120
- return m === 45 ? (e.consume(m), r = 2, d) : m === 91 ? (e.consume(m), r = 5, l = 0, y) : lt(m) ? (e.consume(m), r = 4, i.interrupt ? t : g) : n(m);
5120
+ return m === 45 ? (e.consume(m), r = 2, p) : m === 91 ? (e.consume(m), r = 5, l = 0, y) : lt(m) ? (e.consume(m), r = 4, i.interrupt ? t : g) : n(m);
5121
5121
  }
5122
- function d(m) {
5122
+ function p(m) {
5123
5123
  return m === 45 ? (e.consume(m), i.interrupt ? t : g) : n(m);
5124
5124
  }
5125
5125
  function y(m) {
5126
- const pe = "CDATA[";
5127
- return m === pe.charCodeAt(l++) ? (e.consume(m), l === pe.length ? i.interrupt ? t : T : y) : n(m);
5126
+ const de = "CDATA[";
5127
+ return m === de.charCodeAt(l++) ? (e.consume(m), l === de.length ? i.interrupt ? t : T : y) : n(m);
5128
5128
  }
5129
5129
  function b(m) {
5130
5130
  return lt(m) ? (e.consume(m), a = String.fromCharCode(m), C) : n(m);
5131
5131
  }
5132
5132
  function C(m) {
5133
5133
  if (m === null || m === 47 || m === 62 || Ye(m)) {
5134
- const pe = m === 47, K = a.toLowerCase();
5135
- return !pe && !o && Yi.includes(K) ? (r = 1, i.interrupt ? t(m) : T(m)) : Gc.includes(a.toLowerCase()) ? (r = 6, pe ? (e.consume(m), I) : i.interrupt ? t(m) : T(m)) : (r = 7, i.interrupt && !i.parser.lazy[i.now().line] ? n(m) : o ? P(m) : A(m));
5134
+ const de = m === 47, K = a.toLowerCase();
5135
+ return !de && !o && Yi.includes(K) ? (r = 1, i.interrupt ? t(m) : T(m)) : Gc.includes(a.toLowerCase()) ? (r = 6, de ? (e.consume(m), I) : i.interrupt ? t(m) : T(m)) : (r = 7, i.interrupt && !i.parser.lazy[i.now().line] ? n(m) : o ? P(m) : A(m));
5136
5136
  }
5137
5137
  return m === 45 || Qe(m) ? (e.consume(m), a += String.fromCharCode(m), C) : n(m);
5138
5138
  }
@@ -5189,8 +5189,8 @@ function Oc(e, t, n) {
5189
5189
  }
5190
5190
  function oe(m) {
5191
5191
  if (m === 62) {
5192
- const pe = a.toLowerCase();
5193
- return Yi.includes(pe) ? (e.consume(m), ae) : T(m);
5192
+ const de = a.toLowerCase();
5193
+ return Yi.includes(de) ? (e.consume(m), ae) : T(m);
5194
5194
  }
5195
5195
  return lt(m) && a.length < 8 ? (e.consume(m), a += String.fromCharCode(m), oe) : T(m);
5196
5196
  }
@@ -5241,16 +5241,16 @@ function Mc(e, t, n) {
5241
5241
  return g === 45 ? (e.consume(g), c) : g === 91 ? (e.consume(g), o = 0, y) : lt(g) ? (e.consume(g), P) : n(g);
5242
5242
  }
5243
5243
  function c(g) {
5244
- return g === 45 ? (e.consume(g), d) : n(g);
5244
+ return g === 45 ? (e.consume(g), p) : n(g);
5245
5245
  }
5246
- function p(g) {
5247
- return g === null ? n(g) : g === 45 ? (e.consume(g), f) : re(g) ? (a = p, ie(g)) : (e.consume(g), p);
5246
+ function d(g) {
5247
+ return g === null ? n(g) : g === 45 ? (e.consume(g), f) : re(g) ? (a = d, ie(g)) : (e.consume(g), d);
5248
5248
  }
5249
5249
  function f(g) {
5250
- return g === 45 ? (e.consume(g), d) : p(g);
5250
+ return g === 45 ? (e.consume(g), p) : d(g);
5251
5251
  }
5252
- function d(g) {
5253
- return g === 62 ? J(g) : g === 45 ? f(g) : p(g);
5252
+ function p(g) {
5253
+ return g === 62 ? J(g) : g === 45 ? f(g) : d(g);
5254
5254
  }
5255
5255
  function y(g) {
5256
5256
  const ae = "CDATA[";
@@ -5394,49 +5394,49 @@ function Jc(e, t, n) {
5394
5394
  }
5395
5395
  return l;
5396
5396
  function l(f) {
5397
- return o ? o._inactive ? p(f) : (a = i.parser.defined.includes(zt(i.sliceSerialize({
5397
+ return o ? o._inactive ? d(f) : (a = i.parser.defined.includes(zt(i.sliceSerialize({
5398
5398
  start: o.end,
5399
5399
  end: i.now()
5400
5400
  }))), e.enter("labelEnd"), e.enter("labelMarker"), e.consume(f), e.exit("labelMarker"), e.exit("labelEnd"), u) : n(f);
5401
5401
  }
5402
5402
  function u(f) {
5403
- return f === 40 ? e.attempt(zc, c, a ? c : p)(f) : f === 91 ? e.attempt(Hc, c, a ? s : p)(f) : a ? c(f) : p(f);
5403
+ return f === 40 ? e.attempt(zc, c, a ? c : d)(f) : f === 91 ? e.attempt(Hc, c, a ? s : d)(f) : a ? c(f) : d(f);
5404
5404
  }
5405
5405
  function s(f) {
5406
- return e.attempt(Xc, c, p)(f);
5406
+ return e.attempt(Xc, c, d)(f);
5407
5407
  }
5408
5408
  function c(f) {
5409
5409
  return t(f);
5410
5410
  }
5411
- function p(f) {
5411
+ function d(f) {
5412
5412
  return o._balanced = !0, n(f);
5413
5413
  }
5414
5414
  }
5415
5415
  function Yc(e, t, n) {
5416
5416
  return i;
5417
- function i(p) {
5418
- return e.enter("resource"), e.enter("resourceMarker"), e.consume(p), e.exit("resourceMarker"), r;
5417
+ function i(d) {
5418
+ return e.enter("resource"), e.enter("resourceMarker"), e.consume(d), e.exit("resourceMarker"), r;
5419
5419
  }
5420
- function r(p) {
5421
- return Ye(p) ? nn(e, o)(p) : o(p);
5420
+ function r(d) {
5421
+ return Ye(d) ? nn(e, o)(d) : o(d);
5422
5422
  }
5423
- function o(p) {
5424
- return p === 41 ? c(p) : fa(e, a, l, "resourceDestination", "resourceDestinationLiteral", "resourceDestinationLiteralMarker", "resourceDestinationRaw", "resourceDestinationString", 32)(p);
5423
+ function o(d) {
5424
+ return d === 41 ? c(d) : fa(e, a, l, "resourceDestination", "resourceDestinationLiteral", "resourceDestinationLiteralMarker", "resourceDestinationRaw", "resourceDestinationString", 32)(d);
5425
5425
  }
5426
- function a(p) {
5427
- return Ye(p) ? nn(e, u)(p) : c(p);
5426
+ function a(d) {
5427
+ return Ye(d) ? nn(e, u)(d) : c(d);
5428
5428
  }
5429
- function l(p) {
5430
- return n(p);
5429
+ function l(d) {
5430
+ return n(d);
5431
5431
  }
5432
- function u(p) {
5433
- return p === 34 || p === 39 || p === 40 ? ha(e, s, n, "resourceTitle", "resourceTitleMarker", "resourceTitleString")(p) : c(p);
5432
+ function u(d) {
5433
+ return d === 34 || d === 39 || d === 40 ? ha(e, s, n, "resourceTitle", "resourceTitleMarker", "resourceTitleString")(d) : c(d);
5434
5434
  }
5435
- function s(p) {
5436
- return Ye(p) ? nn(e, c)(p) : c(p);
5435
+ function s(d) {
5436
+ return Ye(d) ? nn(e, c)(d) : c(d);
5437
5437
  }
5438
- function c(p) {
5439
- return p === 41 ? (e.enter("resourceMarker"), e.consume(p), e.exit("resourceMarker"), e.exit("resource"), t) : n(p);
5438
+ function c(d) {
5439
+ return d === 41 ? (e.enter("resourceMarker"), e.consume(d), e.exit("resourceMarker"), e.exit("resource"), t) : n(d);
5440
5440
  }
5441
5441
  }
5442
5442
  function jc(e, t, n) {
@@ -5506,9 +5506,9 @@ function Kc(e, t) {
5506
5506
  }
5507
5507
  const An = {
5508
5508
  name: "thematicBreak",
5509
- tokenize: ep
5509
+ tokenize: ed
5510
5510
  };
5511
- function ep(e, t, n) {
5511
+ function ed(e, t, n) {
5512
5512
  let i = 0, r;
5513
5513
  return o;
5514
5514
  function o(s) {
@@ -5526,69 +5526,69 @@ function ep(e, t, n) {
5526
5526
  }
5527
5527
  const Je = {
5528
5528
  continuation: {
5529
- tokenize: ip
5529
+ tokenize: id
5530
5530
  },
5531
- exit: ap,
5531
+ exit: ad,
5532
5532
  name: "list",
5533
- tokenize: rp
5534
- }, tp = {
5533
+ tokenize: rd
5534
+ }, td = {
5535
5535
  partial: !0,
5536
- tokenize: lp
5537
- }, np = {
5536
+ tokenize: ld
5537
+ }, nd = {
5538
5538
  partial: !0,
5539
- tokenize: op
5539
+ tokenize: od
5540
5540
  };
5541
- function rp(e, t, n) {
5541
+ function rd(e, t, n) {
5542
5542
  const i = this, r = i.events[i.events.length - 1];
5543
5543
  let o = r && r[1].type === "linePrefix" ? r[2].sliceSerialize(r[1], !0).length : 0, a = 0;
5544
5544
  return l;
5545
- function l(d) {
5546
- const y = i.containerState.type || (d === 42 || d === 43 || d === 45 ? "listUnordered" : "listOrdered");
5547
- if (y === "listUnordered" ? !i.containerState.marker || d === i.containerState.marker : Br(d)) {
5545
+ function l(p) {
5546
+ const y = i.containerState.type || (p === 42 || p === 43 || p === 45 ? "listUnordered" : "listOrdered");
5547
+ if (y === "listUnordered" ? !i.containerState.marker || p === i.containerState.marker : Br(p)) {
5548
5548
  if (i.containerState.type || (i.containerState.type = y, e.enter(y, {
5549
5549
  _container: !0
5550
5550
  })), y === "listUnordered")
5551
- return e.enter("listItemPrefix"), d === 42 || d === 45 ? e.check(An, n, s)(d) : s(d);
5552
- if (!i.interrupt || d === 49)
5553
- return e.enter("listItemPrefix"), e.enter("listItemValue"), u(d);
5551
+ return e.enter("listItemPrefix"), p === 42 || p === 45 ? e.check(An, n, s)(p) : s(p);
5552
+ if (!i.interrupt || p === 49)
5553
+ return e.enter("listItemPrefix"), e.enter("listItemValue"), u(p);
5554
5554
  }
5555
- return n(d);
5555
+ return n(p);
5556
5556
  }
5557
- function u(d) {
5558
- return Br(d) && ++a < 10 ? (e.consume(d), u) : (!i.interrupt || a < 2) && (i.containerState.marker ? d === i.containerState.marker : d === 41 || d === 46) ? (e.exit("listItemValue"), s(d)) : n(d);
5557
+ function u(p) {
5558
+ return Br(p) && ++a < 10 ? (e.consume(p), u) : (!i.interrupt || a < 2) && (i.containerState.marker ? p === i.containerState.marker : p === 41 || p === 46) ? (e.exit("listItemValue"), s(p)) : n(p);
5559
5559
  }
5560
- function s(d) {
5561
- return e.enter("listItemMarker"), e.consume(d), e.exit("listItemMarker"), i.containerState.marker = i.containerState.marker || d, e.check(
5560
+ function s(p) {
5561
+ return e.enter("listItemMarker"), e.consume(p), e.exit("listItemMarker"), i.containerState.marker = i.containerState.marker || p, e.check(
5562
5562
  zn,
5563
5563
  // Can’t be empty when interrupting.
5564
5564
  i.interrupt ? n : c,
5565
- e.attempt(tp, f, p)
5565
+ e.attempt(td, f, d)
5566
5566
  );
5567
5567
  }
5568
- function c(d) {
5569
- return i.containerState.initialBlankLine = !0, o++, f(d);
5568
+ function c(p) {
5569
+ return i.containerState.initialBlankLine = !0, o++, f(p);
5570
5570
  }
5571
- function p(d) {
5572
- return he(d) ? (e.enter("listItemPrefixWhitespace"), e.consume(d), e.exit("listItemPrefixWhitespace"), f) : n(d);
5571
+ function d(p) {
5572
+ return he(p) ? (e.enter("listItemPrefixWhitespace"), e.consume(p), e.exit("listItemPrefixWhitespace"), f) : n(p);
5573
5573
  }
5574
- function f(d) {
5575
- return i.containerState.size = o + i.sliceSerialize(e.exit("listItemPrefix"), !0).length, t(d);
5574
+ function f(p) {
5575
+ return i.containerState.size = o + i.sliceSerialize(e.exit("listItemPrefix"), !0).length, t(p);
5576
5576
  }
5577
5577
  }
5578
- function ip(e, t, n) {
5578
+ function id(e, t, n) {
5579
5579
  const i = this;
5580
5580
  return i.containerState._closeFlow = void 0, e.check(zn, r, o);
5581
5581
  function r(l) {
5582
5582
  return i.containerState.furtherBlankLines = i.containerState.furtherBlankLines || i.containerState.initialBlankLine, ve(e, t, "listItemIndent", i.containerState.size + 1)(l);
5583
5583
  }
5584
5584
  function o(l) {
5585
- return i.containerState.furtherBlankLines || !he(l) ? (i.containerState.furtherBlankLines = void 0, i.containerState.initialBlankLine = void 0, a(l)) : (i.containerState.furtherBlankLines = void 0, i.containerState.initialBlankLine = void 0, e.attempt(np, t, a)(l));
5585
+ return i.containerState.furtherBlankLines || !he(l) ? (i.containerState.furtherBlankLines = void 0, i.containerState.initialBlankLine = void 0, a(l)) : (i.containerState.furtherBlankLines = void 0, i.containerState.initialBlankLine = void 0, e.attempt(nd, t, a)(l));
5586
5586
  }
5587
5587
  function a(l) {
5588
5588
  return i.containerState._closeFlow = !0, i.interrupt = void 0, ve(e, e.attempt(Je, t, n), "linePrefix", i.parser.constructs.disable.null.includes("codeIndented") ? void 0 : 4)(l);
5589
5589
  }
5590
5590
  }
5591
- function op(e, t, n) {
5591
+ function od(e, t, n) {
5592
5592
  const i = this;
5593
5593
  return ve(e, r, "listItemIndent", i.containerState.size + 1);
5594
5594
  function r(o) {
@@ -5596,10 +5596,10 @@ function op(e, t, n) {
5596
5596
  return a && a[1].type === "listItemIndent" && a[2].sliceSerialize(a[1], !0).length === i.containerState.size ? t(o) : n(o);
5597
5597
  }
5598
5598
  }
5599
- function ap(e) {
5599
+ function ad(e) {
5600
5600
  e.exit(this.containerState.type);
5601
5601
  }
5602
- function lp(e, t, n) {
5602
+ function ld(e, t, n) {
5603
5603
  const i = this;
5604
5604
  return ve(e, r, "listItemPrefixWhitespace", i.parser.constructs.disable.null.includes("codeIndented") ? void 0 : 5);
5605
5605
  function r(o) {
@@ -5609,10 +5609,10 @@ function lp(e, t, n) {
5609
5609
  }
5610
5610
  const ji = {
5611
5611
  name: "setextUnderline",
5612
- resolveTo: up,
5613
- tokenize: sp
5612
+ resolveTo: ud,
5613
+ tokenize: sd
5614
5614
  };
5615
- function up(e, t) {
5615
+ function ud(e, t) {
5616
5616
  let n = e.length, i, r, o;
5617
5617
  for (; n--; )
5618
5618
  if (e[n][0] === "enter") {
@@ -5636,18 +5636,18 @@ function up(e, t) {
5636
5636
  ...e[o][1].end
5637
5637
  }) : e[i][1] = a, e.push(["exit", a, t]), e;
5638
5638
  }
5639
- function sp(e, t, n) {
5639
+ function sd(e, t, n) {
5640
5640
  const i = this;
5641
5641
  let r;
5642
5642
  return o;
5643
5643
  function o(s) {
5644
- let c = i.events.length, p;
5644
+ let c = i.events.length, d;
5645
5645
  for (; c--; )
5646
5646
  if (i.events[c][1].type !== "lineEnding" && i.events[c][1].type !== "linePrefix" && i.events[c][1].type !== "content") {
5647
- p = i.events[c][1].type === "paragraph";
5647
+ d = i.events[c][1].type === "paragraph";
5648
5648
  break;
5649
5649
  }
5650
- return !i.parser.lazy[i.now().line] && (i.interrupt || p) ? (e.enter("setextHeadingLine"), r = s, a(s)) : n(s);
5650
+ return !i.parser.lazy[i.now().line] && (i.interrupt || d) ? (e.enter("setextHeadingLine"), r = s, a(s)) : n(s);
5651
5651
  }
5652
5652
  function a(s) {
5653
5653
  return e.enter("setextHeadingLineSequence"), l(s);
@@ -5659,10 +5659,10 @@ function sp(e, t, n) {
5659
5659
  return s === null || re(s) ? (e.exit("setextHeadingLine"), t(s)) : n(s);
5660
5660
  }
5661
5661
  }
5662
- const cp = {
5663
- tokenize: pp
5662
+ const cd = {
5663
+ tokenize: dd
5664
5664
  };
5665
- function pp(e) {
5665
+ function dd(e) {
5666
5666
  const t = this, n = e.attempt(
5667
5667
  // Try to parse a blank line.
5668
5668
  zn,
@@ -5686,12 +5686,12 @@ function pp(e) {
5686
5686
  return e.enter("lineEnding"), e.consume(o), e.exit("lineEnding"), t.currentConstruct = void 0, n;
5687
5687
  }
5688
5688
  }
5689
- const dp = {
5689
+ const pd = {
5690
5690
  resolveAll: ba()
5691
- }, fp = ma("string"), gp = ma("text");
5691
+ }, fd = ma("string"), gd = ma("text");
5692
5692
  function ma(e) {
5693
5693
  return {
5694
- resolveAll: ba(e === "text" ? hp : void 0),
5694
+ resolveAll: ba(e === "text" ? hd : void 0),
5695
5695
  tokenize: t
5696
5696
  };
5697
5697
  function t(n) {
@@ -5713,12 +5713,12 @@ function ma(e) {
5713
5713
  function s(c) {
5714
5714
  if (c === null)
5715
5715
  return !0;
5716
- const p = r[c];
5716
+ const d = r[c];
5717
5717
  let f = -1;
5718
- if (p)
5719
- for (; ++f < p.length; ) {
5720
- const d = p[f];
5721
- if (!d.previous || d.previous.call(i, i.previous))
5718
+ if (d)
5719
+ for (; ++f < d.length; ) {
5720
+ const p = d[f];
5721
+ if (!p.previous || p.previous.call(i, i.previous))
5722
5722
  return !0;
5723
5723
  }
5724
5724
  return !1;
@@ -5734,7 +5734,7 @@ function ba(e) {
5734
5734
  return e ? e(n, i) : n;
5735
5735
  }
5736
5736
  }
5737
- function hp(e, t) {
5737
+ function hd(e, t) {
5738
5738
  let n = 0;
5739
5739
  for (; ++n <= e.length; )
5740
5740
  if ((n === e.length || e[n][1].type === "lineEnding") && e[n - 1][1].type === "data") {
@@ -5776,7 +5776,7 @@ function hp(e, t) {
5776
5776
  }
5777
5777
  return e;
5778
5778
  }
5779
- const mp = {
5779
+ const md = {
5780
5780
  42: Je,
5781
5781
  43: Je,
5782
5782
  45: Je,
@@ -5791,13 +5791,13 @@ const mp = {
5791
5791
  56: Je,
5792
5792
  57: Je,
5793
5793
  62: sa
5794
- }, bp = {
5794
+ }, bd = {
5795
5795
  91: Cc
5796
- }, yp = {
5796
+ }, yd = {
5797
5797
  [-2]: ir,
5798
5798
  [-1]: ir,
5799
5799
  32: ir
5800
- }, Ip = {
5800
+ }, Id = {
5801
5801
  35: kc,
5802
5802
  42: An,
5803
5803
  45: [ji, An],
@@ -5806,15 +5806,15 @@ const mp = {
5806
5806
  95: An,
5807
5807
  96: Ji,
5808
5808
  126: Ji
5809
- }, vp = {
5810
- 38: pa,
5809
+ }, vd = {
5810
+ 38: da,
5811
5811
  92: ca
5812
- }, Cp = {
5812
+ }, Cd = {
5813
5813
  [-5]: or,
5814
5814
  [-4]: or,
5815
5815
  [-3]: or,
5816
5816
  33: Uc,
5817
- 38: pa,
5817
+ 38: da,
5818
5818
  42: Pr,
5819
5819
  60: [Qs, Lc],
5820
5820
  91: Qc,
@@ -5822,25 +5822,25 @@ const mp = {
5822
5822
  93: Qr,
5823
5823
  95: Pr,
5824
5824
  96: cc
5825
- }, xp = {
5826
- null: [Pr, dp]
5827
- }, Ap = {
5825
+ }, xd = {
5826
+ null: [Pr, pd]
5827
+ }, Ad = {
5828
5828
  null: [42, 95]
5829
- }, wp = {
5829
+ }, wd = {
5830
5830
  null: []
5831
- }, Sp = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5831
+ }, Sd = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5832
5832
  __proto__: null,
5833
- attentionMarkers: Ap,
5834
- contentInitial: bp,
5835
- disable: wp,
5836
- document: mp,
5837
- flow: Ip,
5838
- flowInitial: yp,
5839
- insideSpan: xp,
5840
- string: vp,
5841
- text: Cp
5833
+ attentionMarkers: Ad,
5834
+ contentInitial: bd,
5835
+ disable: wd,
5836
+ document: md,
5837
+ flow: Id,
5838
+ flowInitial: yd,
5839
+ insideSpan: xd,
5840
+ string: vd,
5841
+ text: Cd
5842
5842
  }, Symbol.toStringTag, { value: "Module" }));
5843
- function Ep(e, t, n) {
5843
+ function Ed(e, t, n) {
5844
5844
  let i = {
5845
5845
  _bufferIndex: -1,
5846
5846
  _index: 0,
@@ -5868,19 +5868,19 @@ function Ep(e, t, n) {
5868
5868
  parser: e,
5869
5869
  previous: null,
5870
5870
  sliceSerialize: f,
5871
- sliceStream: d,
5872
- write: p
5871
+ sliceStream: p,
5872
+ write: d
5873
5873
  };
5874
5874
  let c = t.tokenize.call(s, u);
5875
5875
  return t.resolveAll && o.push(t), s;
5876
- function p(R) {
5876
+ function d(R) {
5877
5877
  return a = et(a, R), C(), a[a.length - 1] !== null ? [] : (B(t, 0), s.events = qr(o, s.events, s), s.events);
5878
5878
  }
5879
5879
  function f(R, T) {
5880
- return Bp(d(R), T);
5880
+ return Bd(p(R), T);
5881
5881
  }
5882
- function d(R) {
5883
- return kp(a, R);
5882
+ function p(R) {
5883
+ return kd(a, R);
5884
5884
  }
5885
5885
  function y() {
5886
5886
  const {
@@ -5973,12 +5973,12 @@ function Ep(e, t, n) {
5973
5973
  // This allows a “live binding”, which is needed for `interrupt`.
5974
5974
  T ? Object.assign(Object.create(s), T) : s,
5975
5975
  u,
5976
- pe,
5976
+ de,
5977
5977
  K
5978
5978
  )(fe);
5979
5979
  }
5980
5980
  }
5981
- function pe(ee) {
5981
+ function de(ee) {
5982
5982
  return R(G, g), X;
5983
5983
  }
5984
5984
  function K(ee) {
@@ -6003,7 +6003,7 @@ function Ep(e, t, n) {
6003
6003
  i.line in r && i.column < 2 && (i.column = r[i.line], i.offset += r[i.line] - 1);
6004
6004
  }
6005
6005
  }
6006
- function kp(e, t) {
6006
+ function kd(e, t) {
6007
6007
  const n = t.start._index, i = t.start._bufferIndex, r = t.end._index, o = t.end._bufferIndex;
6008
6008
  let a;
6009
6009
  if (n === r)
@@ -6017,7 +6017,7 @@ function kp(e, t) {
6017
6017
  }
6018
6018
  return a;
6019
6019
  }
6020
- function Bp(e, t) {
6020
+ function Bd(e, t) {
6021
6021
  let n = -1;
6022
6022
  const i = [];
6023
6023
  let r;
@@ -6057,49 +6057,49 @@ function Bp(e, t) {
6057
6057
  }
6058
6058
  return i.join("");
6059
6059
  }
6060
- function Pp(e) {
6060
+ function Pd(e) {
6061
6061
  const i = {
6062
6062
  constructs: (
6063
6063
  /** @type {FullNormalizedExtension} */
6064
- Ns([Sp, ...(e || {}).extensions || []])
6064
+ Ns([Sd, ...(e || {}).extensions || []])
6065
6065
  ),
6066
6066
  content: r(Zs),
6067
6067
  defined: [],
6068
6068
  document: r(Ys),
6069
- flow: r(cp),
6069
+ flow: r(cd),
6070
6070
  lazy: {},
6071
- string: r(fp),
6072
- text: r(gp)
6071
+ string: r(fd),
6072
+ text: r(gd)
6073
6073
  };
6074
6074
  return i;
6075
6075
  function r(o) {
6076
6076
  return a;
6077
6077
  function a(l) {
6078
- return Ep(i, o, l);
6078
+ return Ed(i, o, l);
6079
6079
  }
6080
6080
  }
6081
6081
  }
6082
- function Gp(e) {
6083
- for (; !da(e); )
6082
+ function Gd(e) {
6083
+ for (; !pa(e); )
6084
6084
  ;
6085
6085
  return e;
6086
6086
  }
6087
6087
  const _i = /[\0\t\n\r]/g;
6088
- function Tp() {
6088
+ function Td() {
6089
6089
  let e = 1, t = "", n = !0, i;
6090
6090
  return r;
6091
6091
  function r(o, a, l) {
6092
6092
  const u = [];
6093
- let s, c, p, f, d;
6094
- for (o = t + (typeof o == "string" ? o.toString() : new TextDecoder(a || void 0).decode(o)), p = 0, t = "", n && (o.charCodeAt(0) === 65279 && p++, n = void 0); p < o.length; ) {
6095
- if (_i.lastIndex = p, s = _i.exec(o), f = s && s.index !== void 0 ? s.index : o.length, d = o.charCodeAt(f), !s) {
6096
- t = o.slice(p);
6093
+ let s, c, d, f, p;
6094
+ for (o = t + (typeof o == "string" ? o.toString() : new TextDecoder(a || void 0).decode(o)), d = 0, t = "", n && (o.charCodeAt(0) === 65279 && d++, n = void 0); d < o.length; ) {
6095
+ if (_i.lastIndex = d, s = _i.exec(o), f = s && s.index !== void 0 ? s.index : o.length, p = o.charCodeAt(f), !s) {
6096
+ t = o.slice(d);
6097
6097
  break;
6098
6098
  }
6099
- if (d === 10 && p === f && i)
6099
+ if (p === 10 && d === f && i)
6100
6100
  u.push(-3), i = void 0;
6101
6101
  else
6102
- switch (i && (u.push(-5), i = void 0), p < f && (u.push(o.slice(p, f)), e += f - p), d) {
6102
+ switch (i && (u.push(-5), i = void 0), d < f && (u.push(o.slice(d, f)), e += f - d), p) {
6103
6103
  case 0: {
6104
6104
  u.push(65533), e++;
6105
6105
  break;
@@ -6115,33 +6115,33 @@ function Tp() {
6115
6115
  default:
6116
6116
  i = !0, e = 1;
6117
6117
  }
6118
- p = f + 1;
6118
+ d = f + 1;
6119
6119
  }
6120
6120
  return l && (i && u.push(-5), t && u.push(t), u.push(null)), u;
6121
6121
  }
6122
6122
  }
6123
- const Fp = {}.hasOwnProperty;
6124
- function Rp(e) {
6125
- return Fp.call(kn, e) ? kn[e] : !1;
6123
+ const Fd = {}.hasOwnProperty;
6124
+ function Rd(e) {
6125
+ return Fd.call(kn, e) ? kn[e] : !1;
6126
6126
  }
6127
- const Vp = /\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;
6128
- function Op(e) {
6129
- return e.replace(Vp, Np);
6127
+ const Vd = /\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;
6128
+ function Od(e) {
6129
+ return e.replace(Vd, Nd);
6130
6130
  }
6131
- function Np(e, t, n) {
6131
+ function Nd(e, t, n) {
6132
6132
  if (t)
6133
6133
  return t;
6134
6134
  if (n.charCodeAt(0) === 35) {
6135
6135
  const r = n.charCodeAt(1), o = r === 120 || r === 88;
6136
6136
  return ua(n.slice(o ? 2 : 1), o ? 16 : 10);
6137
6137
  }
6138
- return Rp(n) || e;
6138
+ return Rd(n) || e;
6139
6139
  }
6140
6140
  const ya = {}.hasOwnProperty;
6141
- function Dp(e, t, n) {
6142
- return typeof t != "string" && (n = t, t = void 0), Lp(n)(Gp(Pp(n).document().write(Tp()(e, t, !0))));
6141
+ function Dd(e, t, n) {
6142
+ return typeof t != "string" && (n = t, t = void 0), Ld(n)(Gd(Pd(n).document().write(Td()(e, t, !0))));
6143
6143
  }
6144
- function Lp(e) {
6144
+ function Ld(e) {
6145
6145
  const t = {
6146
6146
  transforms: [],
6147
6147
  canContainEols: ["emphasis", "fragment", "heading", "paragraph", "strong"],
@@ -6177,7 +6177,7 @@ function Lp(e) {
6177
6177
  link: o(Ot),
6178
6178
  listItem: o(W),
6179
6179
  listItemValue: f,
6180
- listOrdered: o(L, p),
6180
+ listOrdered: o(L, d),
6181
6181
  listUnordered: o(L),
6182
6182
  paragraph: o(ne),
6183
6183
  reference: m,
@@ -6202,7 +6202,7 @@ function Lp(e) {
6202
6202
  characterReference: Be,
6203
6203
  codeFenced: u(C),
6204
6204
  codeFencedFence: b,
6205
- codeFencedFenceInfo: d,
6205
+ codeFencedFenceInfo: p,
6206
6206
  codeFencedFenceMeta: y,
6207
6207
  codeFlowValue: w,
6208
6208
  codeIndented: u(I),
@@ -6229,7 +6229,7 @@ function Lp(e) {
6229
6229
  listOrdered: u(),
6230
6230
  listUnordered: u(),
6231
6231
  paragraph: u(),
6232
- referenceString: pe,
6232
+ referenceString: de,
6233
6233
  resourceDestinationString: g,
6234
6234
  resourceTitleString: ae,
6235
6235
  resource: j,
@@ -6318,25 +6318,25 @@ function Lp(e) {
6318
6318
  }
6319
6319
  if (!U && Xe[0] === "enter" && Xe[1].type === "listItemPrefix" || U === -1 && Xe[0] === "exit" && (Xe[1].type === "listUnordered" || Xe[1].type === "listOrdered")) {
6320
6320
  if (it) {
6321
- let dt = Z;
6322
- for (tt = void 0; dt--; ) {
6323
- const nt = k[dt];
6321
+ let pt = Z;
6322
+ for (tt = void 0; pt--; ) {
6323
+ const nt = k[pt];
6324
6324
  if (nt[1].type === "lineEnding" || nt[1].type === "lineEndingBlank") {
6325
6325
  if (nt[0] === "exit") continue;
6326
- tt && (k[tt][1].type = "lineEndingBlank", me = !0), nt[1].type = "lineEnding", tt = dt;
6326
+ tt && (k[tt][1].type = "lineEndingBlank", me = !0), nt[1].type = "lineEnding", tt = pt;
6327
6327
  } else if (!(nt[1].type === "linePrefix" || nt[1].type === "blockQuotePrefix" || nt[1].type === "blockQuotePrefixWhitespace" || nt[1].type === "blockQuoteMarker" || nt[1].type === "listItemIndent")) break;
6328
6328
  }
6329
6329
  bt && (!tt || bt < tt) && (it._spread = !0), it.end = Object.assign({}, tt ? k[tt][1].start : Xe[1].end), k.splice(tt || Z, 0, ["exit", it, Xe[2]]), Z++, H++;
6330
6330
  }
6331
6331
  if (Xe[1].type === "listItemPrefix") {
6332
- const dt = {
6332
+ const pt = {
6333
6333
  type: "listItem",
6334
6334
  _spread: !1,
6335
6335
  start: Object.assign({}, Xe[1].start),
6336
6336
  // @ts-expect-error: we’ll add `end` in a second.
6337
6337
  end: void 0
6338
6338
  };
6339
- it = dt, k.splice(Z, 0, ["enter", dt, Xe[2]]), Z++, H++, bt = void 0, ot = !0;
6339
+ it = pt, k.splice(Z, 0, ["enter", pt, Xe[2]]), Z++, H++, bt = void 0, ot = !0;
6340
6340
  }
6341
6341
  }
6342
6342
  }
@@ -6380,7 +6380,7 @@ function Lp(e) {
6380
6380
  function c() {
6381
6381
  return Rs(this.stack.pop());
6382
6382
  }
6383
- function p() {
6383
+ function d() {
6384
6384
  this.data.expectingFirstListItemValue = !0;
6385
6385
  }
6386
6386
  function f(k) {
@@ -6389,7 +6389,7 @@ function Lp(e) {
6389
6389
  M.start = Number.parseInt(this.sliceSerialize(k), 10), this.data.expectingFirstListItemValue = void 0;
6390
6390
  }
6391
6391
  }
6392
- function d() {
6392
+ function p() {
6393
6393
  const k = this.resume(), M = this.stack[this.stack.length - 1];
6394
6394
  M.lang = k;
6395
6395
  }
@@ -6494,7 +6494,7 @@ function Lp(e) {
6494
6494
  }
6495
6495
  function oe(k) {
6496
6496
  const M = this.sliceSerialize(k), H = this.stack[this.stack.length - 2];
6497
- H.label = Op(M), H.identifier = zt(M).toLowerCase();
6497
+ H.label = Od(M), H.identifier = zt(M).toLowerCase();
6498
6498
  }
6499
6499
  function G() {
6500
6500
  const k = this.stack[this.stack.length - 1], M = this.resume(), H = this.stack[this.stack.length - 1];
@@ -6518,7 +6518,7 @@ function Lp(e) {
6518
6518
  function m() {
6519
6519
  this.data.referenceType = "collapsed";
6520
6520
  }
6521
- function pe(k) {
6521
+ function de(k) {
6522
6522
  const M = this.resume(), H = this.stack[this.stack.length - 1];
6523
6523
  H.label = M, H.identifier = zt(this.sliceSerialize(k)).toLowerCase(), this.data.referenceType = "full";
6524
6524
  }
@@ -6668,10 +6668,10 @@ function Ia(e, t) {
6668
6668
  let n = -1;
6669
6669
  for (; ++n < t.length; ) {
6670
6670
  const i = t[n];
6671
- Array.isArray(i) ? Ia(e, i) : Mp(e, i);
6671
+ Array.isArray(i) ? Ia(e, i) : Md(e, i);
6672
6672
  }
6673
6673
  }
6674
- function Mp(e, t) {
6674
+ function Md(e, t) {
6675
6675
  let n;
6676
6676
  for (n in t)
6677
6677
  if (ya.call(t, n))
@@ -6706,11 +6706,11 @@ function Ui(e, t) {
6706
6706
  end: t.end
6707
6707
  }) + ") is still open");
6708
6708
  }
6709
- function zp(e) {
6709
+ function zd(e) {
6710
6710
  const t = this;
6711
6711
  t.parser = n;
6712
6712
  function n(i) {
6713
- return Dp(i, {
6713
+ return Dd(i, {
6714
6714
  ...t.data("settings"),
6715
6715
  ...e,
6716
6716
  // Note: these options are not in the readme.
@@ -6721,7 +6721,7 @@ function zp(e) {
6721
6721
  });
6722
6722
  }
6723
6723
  }
6724
- function Hp(e, t) {
6724
+ function Hd(e, t) {
6725
6725
  const n = {
6726
6726
  type: "element",
6727
6727
  tagName: "blockquote",
@@ -6730,12 +6730,12 @@ function Hp(e, t) {
6730
6730
  };
6731
6731
  return e.patch(t, n), e.applyData(t, n);
6732
6732
  }
6733
- function Xp(e, t) {
6733
+ function Xd(e, t) {
6734
6734
  const n = { type: "element", tagName: "br", properties: {}, children: [] };
6735
6735
  return e.patch(t, n), [e.applyData(t, n), { type: "text", value: `
6736
6736
  ` }];
6737
6737
  }
6738
- function Wp(e, t) {
6738
+ function Wd(e, t) {
6739
6739
  const n = t.value ? t.value + `
6740
6740
  ` : "", i = {};
6741
6741
  t.lang && (i.className = ["language-" + t.lang]);
@@ -6747,7 +6747,7 @@ function Wp(e, t) {
6747
6747
  };
6748
6748
  return t.meta && (r.data = { meta: t.meta }), e.patch(t, r), r = e.applyData(t, r), r = { type: "element", tagName: "pre", properties: {}, children: [r] }, e.patch(t, r), r;
6749
6749
  }
6750
- function Zp(e, t) {
6750
+ function Zd(e, t) {
6751
6751
  const n = {
6752
6752
  type: "element",
6753
6753
  tagName: "del",
@@ -6756,7 +6756,7 @@ function Zp(e, t) {
6756
6756
  };
6757
6757
  return e.patch(t, n), e.applyData(t, n);
6758
6758
  }
6759
- function Jp(e, t) {
6759
+ function Jd(e, t) {
6760
6760
  const n = {
6761
6761
  type: "element",
6762
6762
  tagName: "em",
@@ -6765,7 +6765,7 @@ function Jp(e, t) {
6765
6765
  };
6766
6766
  return e.patch(t, n), e.applyData(t, n);
6767
6767
  }
6768
- function Yp(e, t) {
6768
+ function Yd(e, t) {
6769
6769
  const n = typeof e.options.clobberPrefix == "string" ? e.options.clobberPrefix : "user-content-", i = String(t.identifier).toUpperCase(), r = Zt(i.toLowerCase()), o = e.footnoteOrder.indexOf(i);
6770
6770
  let a, l = e.footnoteCounts.get(i);
6771
6771
  l === void 0 ? (l = 0, e.footnoteOrder.push(i), a = e.footnoteOrder.length) : a = o + 1, l += 1, e.footnoteCounts.set(i, l);
@@ -6789,7 +6789,7 @@ function Yp(e, t) {
6789
6789
  };
6790
6790
  return e.patch(t, s), e.applyData(t, s);
6791
6791
  }
6792
- function jp(e, t) {
6792
+ function jd(e, t) {
6793
6793
  const n = {
6794
6794
  type: "element",
6795
6795
  tagName: "h" + t.depth,
@@ -6798,7 +6798,7 @@ function jp(e, t) {
6798
6798
  };
6799
6799
  return e.patch(t, n), e.applyData(t, n);
6800
6800
  }
6801
- function _p(e, t) {
6801
+ function _d(e, t) {
6802
6802
  if (e.options.allowDangerousHtml) {
6803
6803
  const n = { type: "raw", value: t.value };
6804
6804
  return e.patch(t, n), e.applyData(t, n);
@@ -6814,7 +6814,7 @@ function va(e, t) {
6814
6814
  const a = r[r.length - 1];
6815
6815
  return a && a.type === "text" ? a.value += i : r.push({ type: "text", value: i }), r;
6816
6816
  }
6817
- function Up(e, t) {
6817
+ function Ud(e, t) {
6818
6818
  const n = String(t.identifier).toUpperCase(), i = e.definitionById.get(n);
6819
6819
  if (!i)
6820
6820
  return va(e, t);
@@ -6823,13 +6823,13 @@ function Up(e, t) {
6823
6823
  const o = { type: "element", tagName: "img", properties: r, children: [] };
6824
6824
  return e.patch(t, o), e.applyData(t, o);
6825
6825
  }
6826
- function qp(e, t) {
6826
+ function qd(e, t) {
6827
6827
  const n = { src: Zt(t.url) };
6828
6828
  t.alt !== null && t.alt !== void 0 && (n.alt = t.alt), t.title !== null && t.title !== void 0 && (n.title = t.title);
6829
6829
  const i = { type: "element", tagName: "img", properties: n, children: [] };
6830
6830
  return e.patch(t, i), e.applyData(t, i);
6831
6831
  }
6832
- function Qp(e, t) {
6832
+ function Qd(e, t) {
6833
6833
  const n = { type: "text", value: t.value.replace(/\r?\n|\r/g, " ") };
6834
6834
  e.patch(t, n);
6835
6835
  const i = {
@@ -6840,7 +6840,7 @@ function Qp(e, t) {
6840
6840
  };
6841
6841
  return e.patch(t, i), e.applyData(t, i);
6842
6842
  }
6843
- function $p(e, t) {
6843
+ function $d(e, t) {
6844
6844
  const n = String(t.identifier).toUpperCase(), i = e.definitionById.get(n);
6845
6845
  if (!i)
6846
6846
  return va(e, t);
@@ -6854,7 +6854,7 @@ function $p(e, t) {
6854
6854
  };
6855
6855
  return e.patch(t, o), e.applyData(t, o);
6856
6856
  }
6857
- function Kp(e, t) {
6857
+ function Kd(e, t) {
6858
6858
  const n = { href: Zt(t.url) };
6859
6859
  t.title !== null && t.title !== void 0 && (n.title = t.title);
6860
6860
  const i = {
@@ -6865,12 +6865,12 @@ function Kp(e, t) {
6865
6865
  };
6866
6866
  return e.patch(t, i), e.applyData(t, i);
6867
6867
  }
6868
- function ed(e, t, n) {
6869
- const i = e.all(t), r = n ? td(n) : Ca(t), o = {}, a = [];
6868
+ function ep(e, t, n) {
6869
+ const i = e.all(t), r = n ? tp(n) : Ca(t), o = {}, a = [];
6870
6870
  if (typeof t.checked == "boolean") {
6871
6871
  const c = i[0];
6872
- let p;
6873
- c && c.type === "element" && c.tagName === "p" ? p = c : (p = { type: "element", tagName: "p", properties: {}, children: [] }, i.unshift(p)), p.children.length > 0 && p.children.unshift({ type: "text", value: " " }), p.children.unshift({
6872
+ let d;
6873
+ c && c.type === "element" && c.tagName === "p" ? d = c : (d = { type: "element", tagName: "p", properties: {}, children: [] }, i.unshift(d)), d.children.length > 0 && d.children.unshift({ type: "text", value: " " }), d.children.unshift({
6874
6874
  type: "element",
6875
6875
  tagName: "input",
6876
6876
  properties: { type: "checkbox", checked: t.checked, disabled: !0 },
@@ -6889,7 +6889,7 @@ function ed(e, t, n) {
6889
6889
  const s = { type: "element", tagName: "li", properties: o, children: a };
6890
6890
  return e.patch(t, s), e.applyData(t, s);
6891
6891
  }
6892
- function td(e) {
6892
+ function tp(e) {
6893
6893
  let t = !1;
6894
6894
  if (e.type === "list") {
6895
6895
  t = e.spread || !1;
@@ -6904,7 +6904,7 @@ function Ca(e) {
6904
6904
  const t = e.spread;
6905
6905
  return t ?? e.children.length > 1;
6906
6906
  }
6907
- function nd(e, t) {
6907
+ function np(e, t) {
6908
6908
  const n = {}, i = e.all(t);
6909
6909
  let r = -1;
6910
6910
  for (typeof t.start == "number" && t.start !== 1 && (n.start = t.start); ++r < i.length; ) {
@@ -6922,7 +6922,7 @@ function nd(e, t) {
6922
6922
  };
6923
6923
  return e.patch(t, o), e.applyData(t, o);
6924
6924
  }
6925
- function rd(e, t) {
6925
+ function rp(e, t) {
6926
6926
  const n = {
6927
6927
  type: "element",
6928
6928
  tagName: "p",
@@ -6931,11 +6931,11 @@ function rd(e, t) {
6931
6931
  };
6932
6932
  return e.patch(t, n), e.applyData(t, n);
6933
6933
  }
6934
- function id(e, t) {
6934
+ function ip(e, t) {
6935
6935
  const n = { type: "root", children: e.wrap(e.all(t)) };
6936
6936
  return e.patch(t, n), e.applyData(t, n);
6937
6937
  }
6938
- function od(e, t) {
6938
+ function op(e, t) {
6939
6939
  const n = {
6940
6940
  type: "element",
6941
6941
  tagName: "strong",
@@ -6944,7 +6944,7 @@ function od(e, t) {
6944
6944
  };
6945
6945
  return e.patch(t, n), e.applyData(t, n);
6946
6946
  }
6947
- function ad(e, t) {
6947
+ function ap(e, t) {
6948
6948
  const n = e.all(t), i = n.shift(), r = [];
6949
6949
  if (i) {
6950
6950
  const a = {
@@ -6972,15 +6972,15 @@ function ad(e, t) {
6972
6972
  };
6973
6973
  return e.patch(t, o), e.applyData(t, o);
6974
6974
  }
6975
- function ld(e, t, n) {
6975
+ function lp(e, t, n) {
6976
6976
  const i = n ? n.children : void 0, o = (i ? i.indexOf(t) : 1) === 0 ? "th" : "td", a = n && n.type === "table" ? n.align : void 0, l = a ? a.length : t.children.length;
6977
6977
  let u = -1;
6978
6978
  const s = [];
6979
6979
  for (; ++u < l; ) {
6980
- const p = t.children[u], f = {}, d = a ? a[u] : void 0;
6981
- d && (f.align = d);
6980
+ const d = t.children[u], f = {}, p = a ? a[u] : void 0;
6981
+ p && (f.align = p);
6982
6982
  let y = { type: "element", tagName: o, properties: f, children: [] };
6983
- p && (y.children = e.all(p), e.patch(p, y), y = e.applyData(p, y)), s.push(y);
6983
+ d && (y.children = e.all(d), e.patch(d, y), y = e.applyData(d, y)), s.push(y);
6984
6984
  }
6985
6985
  const c = {
6986
6986
  type: "element",
@@ -6990,7 +6990,7 @@ function ld(e, t, n) {
6990
6990
  };
6991
6991
  return e.patch(t, c), e.applyData(t, c);
6992
6992
  }
6993
- function ud(e, t) {
6993
+ function up(e, t) {
6994
6994
  const n = {
6995
6995
  type: "element",
6996
6996
  tagName: "td",
@@ -7001,7 +7001,7 @@ function ud(e, t) {
7001
7001
  return e.patch(t, n), e.applyData(t, n);
7002
7002
  }
7003
7003
  const qi = 9, Qi = 32;
7004
- function sd(e) {
7004
+ function sp(e) {
7005
7005
  const t = String(e), n = /\r?\n|\r/g;
7006
7006
  let i = n.exec(t), r = 0;
7007
7007
  const o = [];
@@ -7026,11 +7026,11 @@ function $i(e, t, n) {
7026
7026
  }
7027
7027
  return r > i ? e.slice(i, r) : "";
7028
7028
  }
7029
- function cd(e, t) {
7030
- const n = { type: "text", value: sd(String(t.value)) };
7029
+ function cp(e, t) {
7030
+ const n = { type: "text", value: sp(String(t.value)) };
7031
7031
  return e.patch(t, n), e.applyData(t, n);
7032
7032
  }
7033
- function pd(e, t) {
7033
+ function dp(e, t) {
7034
7034
  const n = {
7035
7035
  type: "element",
7036
7036
  tagName: "hr",
@@ -7039,31 +7039,31 @@ function pd(e, t) {
7039
7039
  };
7040
7040
  return e.patch(t, n), e.applyData(t, n);
7041
7041
  }
7042
- const dd = {
7043
- blockquote: Hp,
7044
- break: Xp,
7045
- code: Wp,
7046
- delete: Zp,
7047
- emphasis: Jp,
7048
- footnoteReference: Yp,
7049
- heading: jp,
7050
- html: _p,
7051
- imageReference: Up,
7052
- image: qp,
7053
- inlineCode: Qp,
7054
- linkReference: $p,
7055
- link: Kp,
7056
- listItem: ed,
7057
- list: nd,
7058
- paragraph: rd,
7042
+ const pp = {
7043
+ blockquote: Hd,
7044
+ break: Xd,
7045
+ code: Wd,
7046
+ delete: Zd,
7047
+ emphasis: Jd,
7048
+ footnoteReference: Yd,
7049
+ heading: jd,
7050
+ html: _d,
7051
+ imageReference: Ud,
7052
+ image: qd,
7053
+ inlineCode: Qd,
7054
+ linkReference: $d,
7055
+ link: Kd,
7056
+ listItem: ep,
7057
+ list: np,
7058
+ paragraph: rp,
7059
7059
  // @ts-expect-error: root is different, but hard to type.
7060
- root: id,
7061
- strong: od,
7062
- table: ad,
7063
- tableCell: ud,
7064
- tableRow: ld,
7065
- text: cd,
7066
- thematicBreak: pd,
7060
+ root: ip,
7061
+ strong: op,
7062
+ table: ap,
7063
+ tableCell: up,
7064
+ tableRow: lp,
7065
+ text: cp,
7066
+ thematicBreak: dp,
7067
7067
  toml: mn,
7068
7068
  yaml: mn,
7069
7069
  definition: mn,
@@ -7071,7 +7071,7 @@ const dd = {
7071
7071
  };
7072
7072
  function mn() {
7073
7073
  }
7074
- const xa = -1, Hn = 0, rn = 1, Bn = 2, $r = 3, Kr = 4, ei = 5, ti = 6, Aa = 7, wa = 8, Ki = typeof self == "object" ? self : globalThis, fd = (e, t) => {
7074
+ const xa = -1, Hn = 0, rn = 1, Bn = 2, $r = 3, Kr = 4, ei = 5, ti = 6, Aa = 7, wa = 8, Ki = typeof self == "object" ? self : globalThis, fp = (e, t) => {
7075
7075
  const n = (r, o) => (e.set(o, r), r), i = (r) => {
7076
7076
  if (e.has(r))
7077
7077
  return e.get(r);
@@ -7128,11 +7128,11 @@ const xa = -1, Hn = 0, rn = 1, Bn = 2, $r = 3, Kr = 4, ei = 5, ti = 6, Aa = 7, w
7128
7128
  return n(new Ki[o](a), r);
7129
7129
  };
7130
7130
  return i;
7131
- }, eo = (e) => fd(/* @__PURE__ */ new Map(), e)(0), Dt = "", { toString: gd } = {}, { keys: hd } = Object, Qt = (e) => {
7131
+ }, eo = (e) => fp(/* @__PURE__ */ new Map(), e)(0), Dt = "", { toString: gp } = {}, { keys: hp } = Object, Qt = (e) => {
7132
7132
  const t = typeof e;
7133
7133
  if (t !== "object" || !e)
7134
7134
  return [Hn, t];
7135
- const n = gd.call(e).slice(8, -1);
7135
+ const n = gp.call(e).slice(8, -1);
7136
7136
  switch (n) {
7137
7137
  case "Array":
7138
7138
  return [rn, Dt];
@@ -7150,7 +7150,7 @@ const xa = -1, Hn = 0, rn = 1, Bn = 2, $r = 3, Kr = 4, ei = 5, ti = 6, Aa = 7, w
7150
7150
  return [rn, n];
7151
7151
  }
7152
7152
  return n.includes("Array") ? [rn, n] : n.includes("Error") ? [Aa, n] : [Bn, n];
7153
- }, bn = ([e, t]) => e === Hn && (t === "function" || t === "symbol"), md = (e, t, n, i) => {
7153
+ }, bn = ([e, t]) => e === Hn && (t === "function" || t === "symbol"), mp = (e, t, n, i) => {
7154
7154
  const r = (a, l) => {
7155
7155
  const u = i.push(a) - 1;
7156
7156
  return n.set(l, u), u;
@@ -7181,10 +7181,10 @@ const xa = -1, Hn = 0, rn = 1, Bn = 2, $r = 3, Kr = 4, ei = 5, ti = 6, Aa = 7, w
7181
7181
  let f = a;
7182
7182
  return u === "DataView" ? f = new Uint8Array(a.buffer) : u === "ArrayBuffer" && (f = new Uint8Array(a)), r([u, [...f]], a);
7183
7183
  }
7184
- const c = [], p = r([l, c], a);
7184
+ const c = [], d = r([l, c], a);
7185
7185
  for (const f of a)
7186
7186
  c.push(o(f));
7187
- return p;
7187
+ return d;
7188
7188
  }
7189
7189
  case Bn: {
7190
7190
  if (u)
@@ -7198,28 +7198,28 @@ const xa = -1, Hn = 0, rn = 1, Bn = 2, $r = 3, Kr = 4, ei = 5, ti = 6, Aa = 7, w
7198
7198
  }
7199
7199
  if (t && "toJSON" in a)
7200
7200
  return o(a.toJSON());
7201
- const c = [], p = r([l, c], a);
7202
- for (const f of hd(a))
7201
+ const c = [], d = r([l, c], a);
7202
+ for (const f of hp(a))
7203
7203
  (e || !bn(Qt(a[f]))) && c.push([o(f), o(a[f])]);
7204
- return p;
7204
+ return d;
7205
7205
  }
7206
7206
  case $r:
7207
7207
  return r([l, a.toISOString()], a);
7208
7208
  case Kr: {
7209
- const { source: c, flags: p } = a;
7210
- return r([l, { source: c, flags: p }], a);
7209
+ const { source: c, flags: d } = a;
7210
+ return r([l, { source: c, flags: d }], a);
7211
7211
  }
7212
7212
  case ei: {
7213
- const c = [], p = r([l, c], a);
7214
- for (const [f, d] of a)
7215
- (e || !(bn(Qt(f)) || bn(Qt(d)))) && c.push([o(f), o(d)]);
7216
- return p;
7213
+ const c = [], d = r([l, c], a);
7214
+ for (const [f, p] of a)
7215
+ (e || !(bn(Qt(f)) || bn(Qt(p)))) && c.push([o(f), o(p)]);
7216
+ return d;
7217
7217
  }
7218
7218
  case ti: {
7219
- const c = [], p = r([l, c], a);
7219
+ const c = [], d = r([l, c], a);
7220
7220
  for (const f of a)
7221
7221
  (e || !bn(Qt(f))) && c.push(o(f));
7222
- return p;
7222
+ return d;
7223
7223
  }
7224
7224
  }
7225
7225
  const { message: s } = a;
@@ -7228,12 +7228,12 @@ const xa = -1, Hn = 0, rn = 1, Bn = 2, $r = 3, Kr = 4, ei = 5, ti = 6, Aa = 7, w
7228
7228
  return o;
7229
7229
  }, to = (e, { json: t, lossy: n } = {}) => {
7230
7230
  const i = [];
7231
- return md(!(t || n), !!t, /* @__PURE__ */ new Map(), i)(e), i;
7231
+ return mp(!(t || n), !!t, /* @__PURE__ */ new Map(), i)(e), i;
7232
7232
  }, Pn = typeof structuredClone == "function" ? (
7233
7233
  /* c8 ignore start */
7234
7234
  (e, t) => t && ("json" in t || "lossy" in t) ? eo(to(e, t)) : structuredClone(e)
7235
7235
  ) : (e, t) => eo(to(e, t));
7236
- function bd(e, t) {
7236
+ function bp(e, t) {
7237
7237
  const n = [{ type: "text", value: "↩" }];
7238
7238
  return t > 1 && n.push({
7239
7239
  type: "element",
@@ -7242,11 +7242,11 @@ function bd(e, t) {
7242
7242
  children: [{ type: "text", value: String(t) }]
7243
7243
  }), n;
7244
7244
  }
7245
- function yd(e, t) {
7245
+ function yp(e, t) {
7246
7246
  return "Back to reference " + (e + 1) + (t > 1 ? "-" + t : "");
7247
7247
  }
7248
- function Id(e) {
7249
- const t = typeof e.options.clobberPrefix == "string" ? e.options.clobberPrefix : "user-content-", n = e.options.footnoteBackContent || bd, i = e.options.footnoteBackLabel || yd, r = e.options.footnoteLabel || "Footnotes", o = e.options.footnoteLabelTagName || "h2", a = e.options.footnoteLabelProperties || {
7248
+ function Ip(e) {
7249
+ const t = typeof e.options.clobberPrefix == "string" ? e.options.clobberPrefix : "user-content-", n = e.options.footnoteBackContent || bp, i = e.options.footnoteBackLabel || yp, r = e.options.footnoteLabel || "Footnotes", o = e.options.footnoteLabelTagName || "h2", a = e.options.footnoteLabelProperties || {
7250
7250
  className: ["sr-only"]
7251
7251
  }, l = [];
7252
7252
  let u = -1;
@@ -7256,19 +7256,19 @@ function Id(e) {
7256
7256
  );
7257
7257
  if (!s)
7258
7258
  continue;
7259
- const c = e.all(s), p = String(s.identifier).toUpperCase(), f = Zt(p.toLowerCase());
7260
- let d = 0;
7261
- const y = [], b = e.footnoteCounts.get(p);
7262
- for (; b !== void 0 && ++d <= b; ) {
7259
+ const c = e.all(s), d = String(s.identifier).toUpperCase(), f = Zt(d.toLowerCase());
7260
+ let p = 0;
7261
+ const y = [], b = e.footnoteCounts.get(d);
7262
+ for (; b !== void 0 && ++p <= b; ) {
7263
7263
  y.length > 0 && y.push({ type: "text", value: " " });
7264
- let P = typeof n == "string" ? n : n(u, d);
7264
+ let P = typeof n == "string" ? n : n(u, p);
7265
7265
  typeof P == "string" && (P = { type: "text", value: P }), y.push({
7266
7266
  type: "element",
7267
7267
  tagName: "a",
7268
7268
  properties: {
7269
- href: "#" + t + "fnref-" + f + (d > 1 ? "-" + d : ""),
7269
+ href: "#" + t + "fnref-" + f + (p > 1 ? "-" + p : ""),
7270
7270
  dataFootnoteBackref: "",
7271
- ariaLabel: typeof i == "string" ? i : i(u, d),
7271
+ ariaLabel: typeof i == "string" ? i : i(u, p),
7272
7272
  className: ["data-footnote-backref"]
7273
7273
  },
7274
7274
  children: Array.isArray(P) ? P : [P]
@@ -7333,24 +7333,24 @@ const Sa = (
7333
7333
  */
7334
7334
  function(e) {
7335
7335
  if (e == null)
7336
- return Ad;
7336
+ return Ap;
7337
7337
  if (typeof e == "function")
7338
7338
  return Xn(e);
7339
7339
  if (typeof e == "object")
7340
- return Array.isArray(e) ? vd(e) : (
7340
+ return Array.isArray(e) ? vp(e) : (
7341
7341
  // Cast because `ReadonlyArray` goes into the above but `isArray`
7342
7342
  // narrows to `Array`.
7343
- Cd(
7343
+ Cp(
7344
7344
  /** @type {Props} */
7345
7345
  e
7346
7346
  )
7347
7347
  );
7348
7348
  if (typeof e == "string")
7349
- return xd(e);
7349
+ return xp(e);
7350
7350
  throw new Error("Expected function, string, or object as test");
7351
7351
  }
7352
7352
  );
7353
- function vd(e) {
7353
+ function vp(e) {
7354
7354
  const t = [];
7355
7355
  let n = -1;
7356
7356
  for (; ++n < e.length; )
@@ -7363,7 +7363,7 @@ function vd(e) {
7363
7363
  return !1;
7364
7364
  }
7365
7365
  }
7366
- function Cd(e) {
7366
+ function Cp(e) {
7367
7367
  const t = (
7368
7368
  /** @type {Record<string, unknown>} */
7369
7369
  e
@@ -7381,7 +7381,7 @@ function Cd(e) {
7381
7381
  return !0;
7382
7382
  }
7383
7383
  }
7384
- function xd(e) {
7384
+ function xp(e) {
7385
7385
  return Xn(t);
7386
7386
  function t(n) {
7387
7387
  return n && n.type === e;
@@ -7390,7 +7390,7 @@ function xd(e) {
7390
7390
  function Xn(e) {
7391
7391
  return t;
7392
7392
  function t(n, i, r) {
7393
- return !!(wd(n) && e.call(
7393
+ return !!(wp(n) && e.call(
7394
7394
  this,
7395
7395
  n,
7396
7396
  typeof i == "number" ? i : void 0,
@@ -7398,46 +7398,46 @@ function Xn(e) {
7398
7398
  ));
7399
7399
  }
7400
7400
  }
7401
- function Ad() {
7401
+ function Ap() {
7402
7402
  return !0;
7403
7403
  }
7404
- function wd(e) {
7404
+ function wp(e) {
7405
7405
  return e !== null && typeof e == "object" && "type" in e;
7406
7406
  }
7407
- const Ea = [], Sd = !0, no = !1, Ed = "skip";
7408
- function kd(e, t, n, i) {
7407
+ const Ea = [], Sp = !0, no = !1, Ep = "skip";
7408
+ function kp(e, t, n, i) {
7409
7409
  let r;
7410
7410
  typeof t == "function" && typeof n != "function" ? (i = n, n = t) : r = t;
7411
7411
  const o = Sa(r), a = i ? -1 : 1;
7412
7412
  l(e, void 0, [])();
7413
7413
  function l(u, s, c) {
7414
- const p = (
7414
+ const d = (
7415
7415
  /** @type {Record<string, unknown>} */
7416
7416
  u && typeof u == "object" ? u : {}
7417
7417
  );
7418
- if (typeof p.type == "string") {
7419
- const d = (
7418
+ if (typeof d.type == "string") {
7419
+ const p = (
7420
7420
  // `hast`
7421
- typeof p.tagName == "string" ? p.tagName : (
7421
+ typeof d.tagName == "string" ? d.tagName : (
7422
7422
  // `xast`
7423
- typeof p.name == "string" ? p.name : void 0
7423
+ typeof d.name == "string" ? d.name : void 0
7424
7424
  )
7425
7425
  );
7426
7426
  Object.defineProperty(f, "name", {
7427
- value: "node (" + (u.type + (d ? "<" + d + ">" : "")) + ")"
7427
+ value: "node (" + (u.type + (p ? "<" + p + ">" : "")) + ")"
7428
7428
  });
7429
7429
  }
7430
7430
  return f;
7431
7431
  function f() {
7432
- let d = Ea, y, b, C;
7433
- if ((!t || o(u, s, c[c.length - 1] || void 0)) && (d = Bd(n(u, c)), d[0] === no))
7434
- return d;
7432
+ let p = Ea, y, b, C;
7433
+ if ((!t || o(u, s, c[c.length - 1] || void 0)) && (p = Bp(n(u, c)), p[0] === no))
7434
+ return p;
7435
7435
  if ("children" in u && u.children) {
7436
7436
  const I = (
7437
7437
  /** @type {UnistParent} */
7438
7438
  u
7439
7439
  );
7440
- if (I.children && d[0] !== Ed)
7440
+ if (I.children && p[0] !== Ep)
7441
7441
  for (b = (i ? I.children.length : -1) + a, C = c.concat(I); b > -1 && b < I.children.length; ) {
7442
7442
  const P = I.children[b];
7443
7443
  if (y = l(P, b, C)(), y[0] === no)
@@ -7445,26 +7445,26 @@ function kd(e, t, n, i) {
7445
7445
  b = typeof y[1] == "number" ? y[1] : b + a;
7446
7446
  }
7447
7447
  }
7448
- return d;
7448
+ return p;
7449
7449
  }
7450
7450
  }
7451
7451
  }
7452
- function Bd(e) {
7453
- return Array.isArray(e) ? e : typeof e == "number" ? [Sd, e] : e == null ? Ea : [e];
7452
+ function Bp(e) {
7453
+ return Array.isArray(e) ? e : typeof e == "number" ? [Sp, e] : e == null ? Ea : [e];
7454
7454
  }
7455
7455
  function ka(e, t, n, i) {
7456
7456
  let r, o, a;
7457
- typeof t == "function" && typeof n != "function" ? (o = void 0, a = t, r = n) : (o = t, a = n, r = i), kd(e, o, l, r);
7457
+ typeof t == "function" && typeof n != "function" ? (o = void 0, a = t, r = n) : (o = t, a = n, r = i), kp(e, o, l, r);
7458
7458
  function l(u, s) {
7459
- const c = s[s.length - 1], p = c ? c.children.indexOf(u) : void 0;
7460
- return a(u, p, c);
7459
+ const c = s[s.length - 1], d = c ? c.children.indexOf(u) : void 0;
7460
+ return a(u, d, c);
7461
7461
  }
7462
7462
  }
7463
- const Gr = {}.hasOwnProperty, Pd = {};
7464
- function Gd(e, t) {
7465
- const n = t || Pd, i = /* @__PURE__ */ new Map(), r = /* @__PURE__ */ new Map(), o = /* @__PURE__ */ new Map(), a = { ...dd, ...n.handlers }, l = {
7463
+ const Gr = {}.hasOwnProperty, Pp = {};
7464
+ function Gp(e, t) {
7465
+ const n = t || Pp, i = /* @__PURE__ */ new Map(), r = /* @__PURE__ */ new Map(), o = /* @__PURE__ */ new Map(), a = { ...pp, ...n.handlers }, l = {
7466
7466
  all: s,
7467
- applyData: Fd,
7467
+ applyData: Fp,
7468
7468
  definitionById: i,
7469
7469
  footnoteById: r,
7470
7470
  footnoteCounts: o,
@@ -7472,19 +7472,19 @@ function Gd(e, t) {
7472
7472
  handlers: a,
7473
7473
  one: u,
7474
7474
  options: n,
7475
- patch: Td,
7476
- wrap: Vd
7475
+ patch: Tp,
7476
+ wrap: Vp
7477
7477
  };
7478
7478
  return ka(e, function(c) {
7479
7479
  if (c.type === "definition" || c.type === "footnoteDefinition") {
7480
- const p = c.type === "definition" ? i : r, f = String(c.identifier).toUpperCase();
7481
- p.has(f) || p.set(f, c);
7480
+ const d = c.type === "definition" ? i : r, f = String(c.identifier).toUpperCase();
7481
+ d.has(f) || d.set(f, c);
7482
7482
  }
7483
7483
  }), l;
7484
- function u(c, p) {
7485
- const f = c.type, d = l.handlers[f];
7486
- if (Gr.call(l.handlers, f) && d)
7487
- return d(l, c, p);
7484
+ function u(c, d) {
7485
+ const f = c.type, p = l.handlers[f];
7486
+ if (Gr.call(l.handlers, f) && p)
7487
+ return p(l, c, d);
7488
7488
  if (l.options.passThrough && l.options.passThrough.includes(f)) {
7489
7489
  if ("children" in c) {
7490
7490
  const { children: b, ...C } = c, I = Pn(C);
@@ -7492,31 +7492,31 @@ function Gd(e, t) {
7492
7492
  }
7493
7493
  return Pn(c);
7494
7494
  }
7495
- return (l.options.unknownHandler || Rd)(l, c, p);
7495
+ return (l.options.unknownHandler || Rp)(l, c, d);
7496
7496
  }
7497
7497
  function s(c) {
7498
- const p = [];
7498
+ const d = [];
7499
7499
  if ("children" in c) {
7500
7500
  const f = c.children;
7501
- let d = -1;
7502
- for (; ++d < f.length; ) {
7503
- const y = l.one(f[d], c);
7501
+ let p = -1;
7502
+ for (; ++p < f.length; ) {
7503
+ const y = l.one(f[p], c);
7504
7504
  if (y) {
7505
- if (d && f[d - 1].type === "break" && (!Array.isArray(y) && y.type === "text" && (y.value = ro(y.value)), !Array.isArray(y) && y.type === "element")) {
7505
+ if (p && f[p - 1].type === "break" && (!Array.isArray(y) && y.type === "text" && (y.value = ro(y.value)), !Array.isArray(y) && y.type === "element")) {
7506
7506
  const b = y.children[0];
7507
7507
  b && b.type === "text" && (b.value = ro(b.value));
7508
7508
  }
7509
- Array.isArray(y) ? p.push(...y) : p.push(y);
7509
+ Array.isArray(y) ? d.push(...y) : d.push(y);
7510
7510
  }
7511
7511
  }
7512
7512
  }
7513
- return p;
7513
+ return d;
7514
7514
  }
7515
7515
  }
7516
- function Td(e, t) {
7517
- e.position && (t.position = ps(e));
7516
+ function Tp(e, t) {
7517
+ e.position && (t.position = ds(e));
7518
7518
  }
7519
- function Fd(e, t) {
7519
+ function Fp(e, t) {
7520
7520
  let n = t;
7521
7521
  if (e && e.data) {
7522
7522
  const i = e.data.hName, r = e.data.hChildren, o = e.data.hProperties;
@@ -7531,7 +7531,7 @@ function Fd(e, t) {
7531
7531
  }
7532
7532
  return n;
7533
7533
  }
7534
- function Rd(e, t) {
7534
+ function Rp(e, t) {
7535
7535
  const n = t.data || {}, i = "value" in t && !(Gr.call(n, "hProperties") || Gr.call(n, "hChildren")) ? { type: "text", value: t.value } : {
7536
7536
  type: "element",
7537
7537
  tagName: "div",
@@ -7540,7 +7540,7 @@ function Rd(e, t) {
7540
7540
  };
7541
7541
  return e.patch(t, i), e.applyData(t, i);
7542
7542
  }
7543
- function Vd(e, t) {
7543
+ function Vp(e, t) {
7544
7544
  const n = [];
7545
7545
  let i = -1;
7546
7546
  for (t && n.push({ type: "text", value: `
@@ -7557,11 +7557,11 @@ function ro(e) {
7557
7557
  return e.slice(t);
7558
7558
  }
7559
7559
  function io(e, t) {
7560
- const n = Gd(e, t), i = n.one(e, void 0), r = Id(n), o = Array.isArray(i) ? { type: "root", children: i } : i || { type: "root", children: [] };
7560
+ const n = Gp(e, t), i = n.one(e, void 0), r = Ip(n), o = Array.isArray(i) ? { type: "root", children: i } : i || { type: "root", children: [] };
7561
7561
  return r && o.children.push({ type: "text", value: `
7562
7562
  ` }, r), o;
7563
7563
  }
7564
- function Od(e, t) {
7564
+ function Op(e, t) {
7565
7565
  return e && "run" in e ? async function(n, i) {
7566
7566
  const r = (
7567
7567
  /** @type {HastRoot} */
@@ -7605,7 +7605,7 @@ var wn = Object.prototype.hasOwnProperty, Ba = Object.prototype.toString, ao = O
7605
7605
  return lo(t, n).value;
7606
7606
  } else return;
7607
7607
  return t[n];
7608
- }, Nd = function e() {
7608
+ }, Np = function e() {
7609
7609
  var t, n, i, r, o, a, l = arguments[0], u = 1, s = arguments.length, c = !1;
7610
7610
  for (typeof l == "boolean" && (c = l, l = arguments[1] || {}, u = 2), (l == null || typeof l != "object" && typeof l != "function") && (l = {}); u < s; ++u)
7611
7611
  if (t = arguments[u], t != null)
@@ -7613,14 +7613,14 @@ var wn = Object.prototype.hasOwnProperty, Ba = Object.prototype.toString, ao = O
7613
7613
  i = po(l, n), r = po(t, n), l !== r && (c && r && (so(r) || (o = uo(r))) ? (o ? (o = !1, a = i && uo(i) ? i : []) : a = i && so(i) ? i : {}, co(l, { name: n, newValue: e(c, a, r) })) : typeof r < "u" && co(l, { name: n, newValue: r }));
7614
7614
  return l;
7615
7615
  };
7616
- const ar = /* @__PURE__ */ Zr(Nd);
7616
+ const ar = /* @__PURE__ */ Zr(Np);
7617
7617
  function Tr(e) {
7618
7618
  if (typeof e != "object" || e === null)
7619
7619
  return !1;
7620
7620
  const t = Object.getPrototypeOf(e);
7621
7621
  return (t === null || t === Object.prototype || Object.getPrototypeOf(t) === null) && !(Symbol.toStringTag in e) && !(Symbol.iterator in e);
7622
7622
  }
7623
- function Dd() {
7623
+ function Dp() {
7624
7624
  const e = [], t = { run: n, use: i };
7625
7625
  return t;
7626
7626
  function n(...r) {
@@ -7631,14 +7631,14 @@ function Dd() {
7631
7631
  l(null, ...r);
7632
7632
  function l(u, ...s) {
7633
7633
  const c = e[++o];
7634
- let p = -1;
7634
+ let d = -1;
7635
7635
  if (u) {
7636
7636
  a(u);
7637
7637
  return;
7638
7638
  }
7639
- for (; ++p < r.length; )
7640
- (s[p] === null || s[p] === void 0) && (s[p] = r[p]);
7641
- r = s, c ? Ld(c, l)(...s) : a(null, ...s);
7639
+ for (; ++d < r.length; )
7640
+ (s[d] === null || s[d] === void 0) && (s[d] = r[d]);
7641
+ r = s, c ? Lp(c, l)(...s) : a(null, ...s);
7642
7642
  }
7643
7643
  }
7644
7644
  function i(r) {
@@ -7649,7 +7649,7 @@ function Dd() {
7649
7649
  return e.push(r), t;
7650
7650
  }
7651
7651
  }
7652
- function Ld(e, t) {
7652
+ function Lp(e, t) {
7653
7653
  let n;
7654
7654
  return i;
7655
7655
  function i(...a) {
@@ -7676,8 +7676,8 @@ function Ld(e, t) {
7676
7676
  r(null, a);
7677
7677
  }
7678
7678
  }
7679
- const at = { basename: Md, dirname: zd, extname: Hd, join: Xd, sep: "/" };
7680
- function Md(e, t) {
7679
+ const at = { basename: Mp, dirname: zp, extname: Hp, join: Xp, sep: "/" };
7680
+ function Mp(e, t) {
7681
7681
  if (t !== void 0 && typeof t != "string")
7682
7682
  throw new TypeError('"ext" argument must be a string');
7683
7683
  sn(e);
@@ -7705,7 +7705,7 @@ function Md(e, t) {
7705
7705
  a < 0 && (o = !0, a = r + 1), l > -1 && (e.codePointAt(r) === t.codePointAt(l--) ? l < 0 && (i = r) : (l = -1, i = a));
7706
7706
  return n === i ? i = a : i < 0 && (i = e.length), e.slice(n, i);
7707
7707
  }
7708
- function zd(e) {
7708
+ function zp(e) {
7709
7709
  if (sn(e), e.length === 0)
7710
7710
  return ".";
7711
7711
  let t = -1, n = e.length, i;
@@ -7718,7 +7718,7 @@ function zd(e) {
7718
7718
  } else i || (i = !0);
7719
7719
  return t < 0 ? e.codePointAt(0) === 47 ? "/" : "." : t === 1 && e.codePointAt(0) === 47 ? "//" : e.slice(0, t);
7720
7720
  }
7721
- function Hd(e) {
7721
+ function Hp(e) {
7722
7722
  sn(e);
7723
7723
  let t = e.length, n = -1, i = 0, r = -1, o = 0, a;
7724
7724
  for (; t--; ) {
@@ -7736,19 +7736,19 @@ function Hd(e) {
7736
7736
  o === 0 || // The (right-most) trimmed path component is exactly `..`.
7737
7737
  o === 1 && r === n - 1 && r === i + 1 ? "" : e.slice(r, n);
7738
7738
  }
7739
- function Xd(...e) {
7739
+ function Xp(...e) {
7740
7740
  let t = -1, n;
7741
7741
  for (; ++t < e.length; )
7742
7742
  sn(e[t]), e[t] && (n = n === void 0 ? e[t] : n + "/" + e[t]);
7743
- return n === void 0 ? "." : Wd(n);
7743
+ return n === void 0 ? "." : Wp(n);
7744
7744
  }
7745
- function Wd(e) {
7745
+ function Wp(e) {
7746
7746
  sn(e);
7747
7747
  const t = e.codePointAt(0) === 47;
7748
- let n = Zd(e, !t);
7748
+ let n = Zp(e, !t);
7749
7749
  return n.length === 0 && !t && (n = "."), n.length > 0 && e.codePointAt(e.length - 1) === 47 && (n += "/"), t ? "/" + n : n;
7750
7750
  }
7751
- function Zd(e, t) {
7751
+ function Zp(e, t) {
7752
7752
  let n = "", i = 0, r = -1, o = 0, a = -1, l, u;
7753
7753
  for (; ++a <= e.length; ) {
7754
7754
  if (a < e.length)
@@ -7785,15 +7785,15 @@ function sn(e) {
7785
7785
  "Path must be a string. Received " + JSON.stringify(e)
7786
7786
  );
7787
7787
  }
7788
- const Jd = { cwd: Yd };
7789
- function Yd() {
7788
+ const Jp = { cwd: Yp };
7789
+ function Yp() {
7790
7790
  return "/";
7791
7791
  }
7792
7792
  function Fr(e) {
7793
7793
  return !!(e !== null && typeof e == "object" && "href" in e && e.href && "protocol" in e && e.protocol && // @ts-expect-error: indexing is fine.
7794
7794
  e.auth === void 0);
7795
7795
  }
7796
- function jd(e) {
7796
+ function jp(e) {
7797
7797
  if (typeof e == "string")
7798
7798
  e = new URL(e);
7799
7799
  else if (!Fr(e)) {
@@ -7806,9 +7806,9 @@ function jd(e) {
7806
7806
  const t = new TypeError("The URL must be of scheme file");
7807
7807
  throw t.code = "ERR_INVALID_URL_SCHEME", t;
7808
7808
  }
7809
- return _d(e);
7809
+ return _p(e);
7810
7810
  }
7811
- function _d(e) {
7811
+ function _p(e) {
7812
7812
  if (e.hostname !== "") {
7813
7813
  const i = new TypeError(
7814
7814
  'File URL host must be "localhost" or empty on darwin'
@@ -7865,7 +7865,7 @@ class Pa {
7865
7865
  */
7866
7866
  constructor(t) {
7867
7867
  let n;
7868
- t ? Fr(t) ? n = { path: t } : typeof t == "string" || Ud(t) ? n = { value: t } : n = t : n = {}, this.cwd = "cwd" in n ? "" : Jd.cwd(), this.data = {}, this.history = [], this.messages = [], this.value, this.map, this.result, this.stored;
7868
+ t ? Fr(t) ? n = { path: t } : typeof t == "string" || Up(t) ? n = { value: t } : n = t : n = {}, this.cwd = "cwd" in n ? "" : Jp.cwd(), this.data = {}, this.history = [], this.messages = [], this.value, this.map, this.result, this.stored;
7869
7869
  let i = -1;
7870
7870
  for (; ++i < lr.length; ) {
7871
7871
  const o = lr[i];
@@ -7973,7 +7973,7 @@ class Pa {
7973
7973
  * Nothing.
7974
7974
  */
7975
7975
  set path(t) {
7976
- Fr(t) && (t = jd(t)), sr(t, "path"), this.path !== t && this.history.push(t);
7976
+ Fr(t) && (t = jp(t)), sr(t, "path"), this.path !== t && this.history.push(t);
7977
7977
  }
7978
7978
  /**
7979
7979
  * Get the stem (basename w/o extname) (example: `'index.min'`).
@@ -8224,10 +8224,10 @@ function fo(e, t) {
8224
8224
  if (!e)
8225
8225
  throw new Error("Setting `" + t + "` requires `path` to be set too");
8226
8226
  }
8227
- function Ud(e) {
8227
+ function Up(e) {
8228
8228
  return !!(e && typeof e == "object" && "byteLength" in e && "byteOffset" in e);
8229
8229
  }
8230
- const qd = (
8230
+ const qp = (
8231
8231
  /**
8232
8232
  * @type {new <Parameters extends Array<unknown>, Result>(property: string | symbol) => (...parameters: Parameters) => Result}
8233
8233
  */
@@ -8248,13 +8248,13 @@ const qd = (
8248
8248
  };
8249
8249
  return Object.setPrototypeOf(o, i), o;
8250
8250
  }
8251
- ), Qd = {}.hasOwnProperty;
8252
- class ni extends qd {
8251
+ ), Qp = {}.hasOwnProperty;
8252
+ class ni extends qp {
8253
8253
  /**
8254
8254
  * Create a processor.
8255
8255
  */
8256
8256
  constructor() {
8257
- super("copy"), this.Compiler = void 0, this.Parser = void 0, this.attachers = [], this.compiler = void 0, this.freezeIndex = -1, this.frozen = void 0, this.namespace = {}, this.parser = void 0, this.transformers = Dd();
8257
+ super("copy"), this.Compiler = void 0, this.Parser = void 0, this.attachers = [], this.compiler = void 0, this.freezeIndex = -1, this.frozen = void 0, this.namespace = {}, this.parser = void 0, this.transformers = Dp();
8258
8258
  }
8259
8259
  /**
8260
8260
  * Copy a processor.
@@ -8339,7 +8339,7 @@ class ni extends qd {
8339
8339
  * the entire dataset when getting without key.
8340
8340
  */
8341
8341
  data(t, n) {
8342
- return typeof t == "string" ? arguments.length === 2 ? (dr("data", this.frozen), this.namespace[t] = n, this) : Qd.call(this.namespace, t) && this.namespace[t] || void 0 : t ? (dr("data", this.frozen), this.namespace = t, this) : this.namespace;
8342
+ return typeof t == "string" ? arguments.length === 2 ? (pr("data", this.frozen), this.namespace[t] = n, this) : Qp.call(this.namespace, t) && this.namespace[t] || void 0 : t ? (pr("data", this.frozen), this.namespace = t, this) : this.namespace;
8343
8343
  }
8344
8344
  /**
8345
8345
  * Freeze a processor.
@@ -8439,29 +8439,29 @@ class ni extends qd {
8439
8439
  */
8440
8440
  process(t, n) {
8441
8441
  const i = this;
8442
- return this.freeze(), cr("process", this.parser || this.Parser), pr("process", this.compiler || this.Compiler), n ? r(void 0, n) : new Promise(r);
8442
+ return this.freeze(), cr("process", this.parser || this.Parser), dr("process", this.compiler || this.Compiler), n ? r(void 0, n) : new Promise(r);
8443
8443
  function r(o, a) {
8444
8444
  const l = yn(t), u = (
8445
8445
  /** @type {HeadTree extends undefined ? Node : HeadTree} */
8446
8446
  /** @type {unknown} */
8447
8447
  i.parse(l)
8448
8448
  );
8449
- i.run(u, l, function(c, p, f) {
8450
- if (c || !p || !f)
8449
+ i.run(u, l, function(c, d, f) {
8450
+ if (c || !d || !f)
8451
8451
  return s(c);
8452
- const d = (
8452
+ const p = (
8453
8453
  /** @type {CompileTree extends undefined ? Node : CompileTree} */
8454
8454
  /** @type {unknown} */
8455
- p
8456
- ), y = i.stringify(d, f);
8455
+ d
8456
+ ), y = i.stringify(p, f);
8457
8457
  ef(y) ? f.value = y : f.result = y, s(
8458
8458
  c,
8459
8459
  /** @type {VFileWithOutput<CompileResult>} */
8460
8460
  f
8461
8461
  );
8462
8462
  });
8463
- function s(c, p) {
8464
- c || !p ? a(c) : o ? o(p) : n(void 0, p);
8463
+ function s(c, d) {
8464
+ c || !d ? a(c) : o ? o(d) : n(void 0, d);
8465
8465
  }
8466
8466
  }
8467
8467
  }
@@ -8498,7 +8498,7 @@ class ni extends qd {
8498
8498
  */
8499
8499
  processSync(t) {
8500
8500
  let n = !1, i;
8501
- return this.freeze(), cr("processSync", this.parser || this.Parser), pr("processSync", this.compiler || this.Compiler), this.process(t, r), ho("processSync", "process", n), i;
8501
+ return this.freeze(), cr("processSync", this.parser || this.Parser), dr("processSync", this.compiler || this.Compiler), this.process(t, r), ho("processSync", "process", n), i;
8502
8502
  function r(o, a) {
8503
8503
  n = !0, oo(o), i = a;
8504
8504
  }
@@ -8548,12 +8548,12 @@ class ni extends qd {
8548
8548
  function o(a, l) {
8549
8549
  const u = yn(n);
8550
8550
  r.run(t, u, s);
8551
- function s(c, p, f) {
8552
- const d = (
8551
+ function s(c, d, f) {
8552
+ const p = (
8553
8553
  /** @type {TailTree extends undefined ? Node : TailTree} */
8554
- p || t
8554
+ d || t
8555
8555
  );
8556
- c ? l(c) : a ? a(d) : i(void 0, d, f);
8556
+ c ? l(c) : a ? a(p) : i(void 0, p, f);
8557
8557
  }
8558
8558
  }
8559
8559
  }
@@ -8613,7 +8613,7 @@ class ni extends qd {
8613
8613
  stringify(t, n) {
8614
8614
  this.freeze();
8615
8615
  const i = yn(n), r = this.compiler || this.Compiler;
8616
- return pr("stringify", r), go(t), r(t, i);
8616
+ return dr("stringify", r), go(t), r(t, i);
8617
8617
  }
8618
8618
  /**
8619
8619
  * Configure the processor to use a plugin, a list of usable values, or a
@@ -8674,7 +8674,7 @@ class ni extends qd {
8674
8674
  */
8675
8675
  use(t, ...n) {
8676
8676
  const i = this.attachers, r = this.namespace;
8677
- if (dr("use", this.frozen), t != null) if (typeof t == "function")
8677
+ if (pr("use", this.frozen), t != null) if (typeof t == "function")
8678
8678
  u(t, n);
8679
8679
  else if (typeof t == "object")
8680
8680
  Array.isArray(t) ? l(t) : a(t);
@@ -8686,11 +8686,11 @@ class ni extends qd {
8686
8686
  u(s, []);
8687
8687
  else if (typeof s == "object")
8688
8688
  if (Array.isArray(s)) {
8689
- const [c, ...p] = (
8689
+ const [c, ...d] = (
8690
8690
  /** @type {PluginTuple<Array<unknown>>} */
8691
8691
  s
8692
8692
  );
8693
- u(c, p);
8693
+ u(c, d);
8694
8694
  } else
8695
8695
  a(s);
8696
8696
  else
@@ -8707,39 +8707,39 @@ class ni extends qd {
8707
8707
  let c = -1;
8708
8708
  if (s != null) if (Array.isArray(s))
8709
8709
  for (; ++c < s.length; ) {
8710
- const p = s[c];
8711
- o(p);
8710
+ const d = s[c];
8711
+ o(d);
8712
8712
  }
8713
8713
  else
8714
8714
  throw new TypeError("Expected a list of plugins, not `" + s + "`");
8715
8715
  }
8716
8716
  function u(s, c) {
8717
- let p = -1, f = -1;
8718
- for (; ++p < i.length; )
8719
- if (i[p][0] === s) {
8720
- f = p;
8717
+ let d = -1, f = -1;
8718
+ for (; ++d < i.length; )
8719
+ if (i[d][0] === s) {
8720
+ f = d;
8721
8721
  break;
8722
8722
  }
8723
8723
  if (f === -1)
8724
8724
  i.push([s, ...c]);
8725
8725
  else if (c.length > 0) {
8726
- let [d, ...y] = c;
8726
+ let [p, ...y] = c;
8727
8727
  const b = i[f][1];
8728
- Tr(b) && Tr(d) && (d = ar(!0, b, d)), i[f] = [s, d, ...y];
8728
+ Tr(b) && Tr(p) && (p = ar(!0, b, p)), i[f] = [s, p, ...y];
8729
8729
  }
8730
8730
  }
8731
8731
  }
8732
8732
  }
8733
- const $d = new ni().freeze();
8733
+ const $p = new ni().freeze();
8734
8734
  function cr(e, t) {
8735
8735
  if (typeof t != "function")
8736
8736
  throw new TypeError("Cannot `" + e + "` without `parser`");
8737
8737
  }
8738
- function pr(e, t) {
8738
+ function dr(e, t) {
8739
8739
  if (typeof t != "function")
8740
8740
  throw new TypeError("Cannot `" + e + "` without `compiler`");
8741
8741
  }
8742
- function dr(e, t) {
8742
+ function pr(e, t) {
8743
8743
  if (t)
8744
8744
  throw new Error(
8745
8745
  "Cannot call `" + e + "` on a frozen processor.\nCreate a new processor first, by calling it: use `processor()` instead of `processor`."
@@ -8756,9 +8756,9 @@ function ho(e, t, n) {
8756
8756
  );
8757
8757
  }
8758
8758
  function yn(e) {
8759
- return Kd(e) ? e : new Pa(e);
8759
+ return Kp(e) ? e : new Pa(e);
8760
8760
  }
8761
- function Kd(e) {
8761
+ function Kp(e) {
8762
8762
  return !!(e && typeof e == "object" && "message" in e && "messages" in e);
8763
8763
  }
8764
8764
  function ef(e) {
@@ -8806,7 +8806,7 @@ function Ga(e) {
8806
8806
  }
8807
8807
  function af(e) {
8808
8808
  const t = e.rehypePlugins || mo, n = e.remarkPlugins || mo, i = e.remarkRehypeOptions ? { ...e.remarkRehypeOptions, ...bo } : bo;
8809
- return $d().use(zp).use(n).use(Od, i).use(t);
8809
+ return $p().use(zd).use(n).use(Op, i).use(t);
8810
8810
  }
8811
8811
  function lf(e) {
8812
8812
  const t = e.children || "", n = new Pa();
@@ -8837,21 +8837,21 @@ function uf(e, t) {
8837
8837
  passKeys: !0,
8838
8838
  passNode: !0
8839
8839
  });
8840
- function s(c, p, f) {
8841
- if (c.type === "raw" && f && typeof p == "number")
8842
- return a ? f.children.splice(p, 1) : f.children[p] = { type: "text", value: c.value }, p;
8840
+ function s(c, d, f) {
8841
+ if (c.type === "raw" && f && typeof d == "number")
8842
+ return a ? f.children.splice(d, 1) : f.children[d] = { type: "text", value: c.value }, d;
8843
8843
  if (c.type === "element") {
8844
- let d;
8845
- for (d in rr)
8846
- if (Object.hasOwn(rr, d) && Object.hasOwn(c.properties, d)) {
8847
- const y = c.properties[d], b = rr[d];
8848
- (b === null || b.includes(c.tagName)) && (c.properties[d] = u(String(y || ""), d, c));
8844
+ let p;
8845
+ for (p in rr)
8846
+ if (Object.hasOwn(rr, p) && Object.hasOwn(c.properties, p)) {
8847
+ const y = c.properties[p], b = rr[p];
8848
+ (b === null || b.includes(c.tagName)) && (c.properties[p] = u(String(y || ""), p, c));
8849
8849
  }
8850
8850
  }
8851
8851
  if (c.type === "element") {
8852
- let d = n ? !n.includes(c.tagName) : o ? o.includes(c.tagName) : !1;
8853
- if (!d && i && typeof p == "number" && (d = !i(c, p, f)), d && f && typeof p == "number")
8854
- return l && c.children ? f.children.splice(p, 1, ...c.children) : f.children.splice(p, 1), p;
8852
+ let p = n ? !n.includes(c.tagName) : o ? o.includes(c.tagName) : !1;
8853
+ if (!p && i && typeof d == "number" && (p = !i(c, d, f)), p && f && typeof d == "number")
8854
+ return l && c.children ? f.children.splice(d, 1, ...c.children) : f.children.splice(d, 1), d;
8855
8855
  }
8856
8856
  }
8857
8857
  }
@@ -8910,8 +8910,8 @@ function Rr({ prop: e }) {
8910
8910
  var Gn = { exports: {} };
8911
8911
  Gn.exports;
8912
8912
  (function(e, t) {
8913
- var n = 200, i = "__lodash_hash_undefined__", r = 1, o = 2, a = 9007199254740991, l = "[object Arguments]", u = "[object Array]", s = "[object AsyncFunction]", c = "[object Boolean]", p = "[object Date]", f = "[object Error]", d = "[object Function]", y = "[object GeneratorFunction]", b = "[object Map]", C = "[object Number]", I = "[object Null]", P = "[object Object]", A = "[object Promise]", E = "[object Proxy]", S = "[object RegExp]", x = "[object Set]", D = "[object String]", B = "[object Symbol]", F = "[object Undefined]", w = "[object WeakMap]", R = "[object ArrayBuffer]", T = "[object DataView]", z = "[object Float32Array]", _ = "[object Float64Array]", X = "[object Int8Array]", J = "[object Int16Array]", ie = "[object Int32Array]", oe = "[object Uint8Array]", G = "[object Uint8ClampedArray]", g = "[object Uint16Array]", ae = "[object Uint32Array]", j = /[\\^$.*+?()[\]{}|]/g, m = /^\[object .+?Constructor\]$/, pe = /^(?:0|[1-9]\d*)$/, K = {};
8914
- K[z] = K[_] = K[X] = K[J] = K[ie] = K[oe] = K[G] = K[g] = K[ae] = !0, K[l] = K[u] = K[R] = K[c] = K[T] = K[p] = K[f] = K[d] = K[b] = K[C] = K[P] = K[S] = K[x] = K[D] = K[w] = !1;
8913
+ var n = 200, i = "__lodash_hash_undefined__", r = 1, o = 2, a = 9007199254740991, l = "[object Arguments]", u = "[object Array]", s = "[object AsyncFunction]", c = "[object Boolean]", d = "[object Date]", f = "[object Error]", p = "[object Function]", y = "[object GeneratorFunction]", b = "[object Map]", C = "[object Number]", I = "[object Null]", P = "[object Object]", A = "[object Promise]", E = "[object Proxy]", S = "[object RegExp]", x = "[object Set]", D = "[object String]", B = "[object Symbol]", F = "[object Undefined]", w = "[object WeakMap]", R = "[object ArrayBuffer]", T = "[object DataView]", z = "[object Float32Array]", _ = "[object Float64Array]", X = "[object Int8Array]", J = "[object Int16Array]", ie = "[object Int32Array]", oe = "[object Uint8Array]", G = "[object Uint8ClampedArray]", g = "[object Uint16Array]", ae = "[object Uint32Array]", j = /[\\^$.*+?()[\]{}|]/g, m = /^\[object .+?Constructor\]$/, de = /^(?:0|[1-9]\d*)$/, K = {};
8914
+ K[z] = K[_] = K[X] = K[J] = K[ie] = K[oe] = K[G] = K[g] = K[ae] = !0, K[l] = K[u] = K[R] = K[c] = K[T] = K[d] = K[f] = K[p] = K[b] = K[C] = K[P] = K[S] = K[x] = K[D] = K[w] = !1;
8915
8915
  var ee = typeof xt == "object" && xt && xt.Object === Object && xt, Be = typeof self == "object" && self && self.Object === Object && self, fe = ee || Be || Function("return this")(), Oe = t && !t.nodeType && t, se = Oe && !0 && e && !e.nodeType && e, xe = se && se.exports === Oe, Ae = xe && ee.process, Ne = function() {
8916
8916
  try {
8917
8917
  return Ae && Ae.binding && Ae.binding("util");
@@ -8974,7 +8974,7 @@ Gn.exports;
8974
8974
  return h ? "Symbol(src)_1." + h : "";
8975
8975
  }(), it = M.toString, tt = RegExp(
8976
8976
  "^" + Z.call(U).replace(j, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
8977
- ), bt = xe ? fe.Buffer : void 0, ot = fe.Symbol, Xe = fe.Uint8Array, dt = M.propertyIsEnumerable, nt = we.splice, Et = ot ? ot.toStringTag : void 0, mi = Object.getOwnPropertySymbols, yl = bt ? bt.isBuffer : void 0, Il = q(Object.keys, Object), qn = Nt(fe, "DataView"), Yt = Nt(fe, "Map"), Qn = Nt(fe, "Promise"), $n = Nt(fe, "Set"), Kn = Nt(fe, "WeakMap"), jt = Nt(Object, "create"), vl = Pt(qn), Cl = Pt(Yt), xl = Pt(Qn), Al = Pt($n), wl = Pt(Kn), bi = ot ? ot.prototype : void 0, er = bi ? bi.valueOf : void 0;
8977
+ ), bt = xe ? fe.Buffer : void 0, ot = fe.Symbol, Xe = fe.Uint8Array, pt = M.propertyIsEnumerable, nt = we.splice, Et = ot ? ot.toStringTag : void 0, mi = Object.getOwnPropertySymbols, yl = bt ? bt.isBuffer : void 0, Il = q(Object.keys, Object), qn = Nt(fe, "DataView"), Yt = Nt(fe, "Map"), Qn = Nt(fe, "Promise"), $n = Nt(fe, "Set"), Kn = Nt(fe, "WeakMap"), jt = Nt(Object, "create"), vl = Pt(qn), Cl = Pt(Yt), xl = Pt(Qn), Al = Pt($n), wl = Pt(Kn), bi = ot ? ot.prototype : void 0, er = bi ? bi.valueOf : void 0;
8978
8978
  function kt(h) {
8979
8979
  var v = -1, V = h == null ? 0 : h.length;
8980
8980
  for (this.clear(); ++v < V; ) {
@@ -9017,21 +9017,21 @@ Gn.exports;
9017
9017
  this.__data__ = [], this.size = 0;
9018
9018
  }
9019
9019
  function Tl(h) {
9020
- var v = this.__data__, V = pn(v, h);
9020
+ var v = this.__data__, V = dn(v, h);
9021
9021
  if (V < 0)
9022
9022
  return !1;
9023
9023
  var Y = v.length - 1;
9024
9024
  return V == Y ? v.pop() : nt.call(v, V, 1), --this.size, !0;
9025
9025
  }
9026
9026
  function Fl(h) {
9027
- var v = this.__data__, V = pn(v, h);
9027
+ var v = this.__data__, V = dn(v, h);
9028
9028
  return V < 0 ? void 0 : v[V][1];
9029
9029
  }
9030
9030
  function Rl(h) {
9031
- return pn(this.__data__, h) > -1;
9031
+ return dn(this.__data__, h) > -1;
9032
9032
  }
9033
9033
  function Vl(h, v) {
9034
- var V = this.__data__, Y = pn(V, h);
9034
+ var V = this.__data__, Y = dn(V, h);
9035
9035
  return Y < 0 ? (++this.size, V.push([h, v])) : V[Y][1] = v, this;
9036
9036
  }
9037
9037
  ft.prototype.clear = Gl, ft.prototype.delete = Tl, ft.prototype.get = Fl, ft.prototype.has = Rl, ft.prototype.set = Vl;
@@ -9050,17 +9050,17 @@ Gn.exports;
9050
9050
  };
9051
9051
  }
9052
9052
  function Nl(h) {
9053
- var v = dn(this, h).delete(h);
9053
+ var v = pn(this, h).delete(h);
9054
9054
  return this.size -= v ? 1 : 0, v;
9055
9055
  }
9056
9056
  function Dl(h) {
9057
- return dn(this, h).get(h);
9057
+ return pn(this, h).get(h);
9058
9058
  }
9059
9059
  function Ll(h) {
9060
- return dn(this, h).has(h);
9060
+ return pn(this, h).has(h);
9061
9061
  }
9062
9062
  function Ml(h, v) {
9063
- var V = dn(this, h), Y = V.size;
9063
+ var V = pn(this, h), Y = V.size;
9064
9064
  return V.set(h, v), this.size += V.size == Y ? 0 : 1, this;
9065
9065
  }
9066
9066
  Bt.prototype.clear = Ol, Bt.prototype.delete = Nl, Bt.prototype.get = Dl, Bt.prototype.has = Ll, Bt.prototype.set = Ml;
@@ -9114,7 +9114,7 @@ Gn.exports;
9114
9114
  ru(ke, ze))) && De.push(ke);
9115
9115
  return De;
9116
9116
  }
9117
- function pn(h, v) {
9117
+ function dn(h, v) {
9118
9118
  for (var V = h.length; V--; )
9119
9119
  if (xi(h[V][0], v))
9120
9120
  return V;
@@ -9212,7 +9212,7 @@ Gn.exports;
9212
9212
  case R:
9213
9213
  return !(h.byteLength != v.byteLength || !le(new Xe(h), new Xe(v)));
9214
9214
  case c:
9215
- case p:
9215
+ case d:
9216
9216
  case C:
9217
9217
  return xi(+h, +v);
9218
9218
  case f:
@@ -9270,9 +9270,9 @@ Gn.exports;
9270
9270
  return le.delete(h), le.delete(v), Ke;
9271
9271
  }
9272
9272
  function Ci(h) {
9273
- return _l(h, pu, nu);
9273
+ return _l(h, du, nu);
9274
9274
  }
9275
- function dn(h, v) {
9275
+ function pn(h, v) {
9276
9276
  var V = h.__data__;
9277
9277
  return iu(v) ? V[typeof v == "string" ? "string" : "hash"] : V.map;
9278
9278
  }
@@ -9292,9 +9292,9 @@ Gn.exports;
9292
9292
  }
9293
9293
  var nu = mi ? function(h) {
9294
9294
  return h == null ? [] : (h = Object(h), Me(mi(h), function(v) {
9295
- return dt.call(h, v);
9295
+ return pt.call(h, v);
9296
9296
  }));
9297
- } : du, It = _t;
9297
+ } : pu, It = _t;
9298
9298
  (qn && It(new qn(new ArrayBuffer(1))) != T || Yt && It(new Yt()) != b || Qn && It(Qn.resolve()) != A || $n && It(new $n()) != x || Kn && It(new Kn()) != w) && (It = function(h) {
9299
9299
  var v = _t(h), V = v == P ? h.constructor : void 0, Y = V ? Pt(V) : "";
9300
9300
  if (Y)
@@ -9313,7 +9313,7 @@ Gn.exports;
9313
9313
  return v;
9314
9314
  });
9315
9315
  function ru(h, v) {
9316
- return v = v ?? a, !!v && (typeof h == "number" || pe.test(h)) && h > -1 && h % 1 == 0 && h < v;
9316
+ return v = v ?? a, !!v && (typeof h == "number" || de.test(h)) && h > -1 && h % 1 == 0 && h < v;
9317
9317
  }
9318
9318
  function iu(h) {
9319
9319
  var v = typeof h;
@@ -9348,7 +9348,7 @@ Gn.exports;
9348
9348
  var uu = yi(/* @__PURE__ */ function() {
9349
9349
  return arguments;
9350
9350
  }()) ? yi : function(h) {
9351
- return Ut(h) && U.call(h, "callee") && !dt.call(h, "callee");
9351
+ return Ut(h) && U.call(h, "callee") && !pt.call(h, "callee");
9352
9352
  }, fn = Array.isArray;
9353
9353
  function su(h) {
9354
9354
  return h != null && wi(h.length) && !Ai(h);
@@ -9361,7 +9361,7 @@ Gn.exports;
9361
9361
  if (!Si(h))
9362
9362
  return !1;
9363
9363
  var v = _t(h);
9364
- return v == d || v == y || v == s || v == E;
9364
+ return v == p || v == y || v == s || v == E;
9365
9365
  }
9366
9366
  function wi(h) {
9367
9367
  return typeof h == "number" && h > -1 && h % 1 == 0 && h <= a;
@@ -9374,10 +9374,10 @@ Gn.exports;
9374
9374
  return h != null && typeof h == "object";
9375
9375
  }
9376
9376
  var Ei = Pe ? Ot(Pe) : Ql;
9377
- function pu(h) {
9377
+ function du(h) {
9378
9378
  return su(h) ? jl(h) : $l(h);
9379
9379
  }
9380
- function du() {
9380
+ function pu() {
9381
9381
  return [];
9382
9382
  }
9383
9383
  function fu() {
@@ -9397,20 +9397,24 @@ const yo = /* @__PURE__ */ Zr(cf), Ta = ln(
9397
9397
  children: e,
9398
9398
  client: t
9399
9399
  }) => {
9400
- const n = new mu({
9401
- defaultOptions: {
9402
- queries: {
9403
- staleTime: 36e5,
9404
- refetchOnWindowFocus: !1
9400
+ const [
9401
+ n
9402
+ ] = ce(
9403
+ () => new mu({
9404
+ defaultOptions: {
9405
+ queries: {
9406
+ staleTime: 36e5,
9407
+ refetchOnWindowFocus: !1
9408
+ }
9405
9409
  }
9406
- }
9407
- });
9410
+ })
9411
+ );
9408
9412
  return /* @__PURE__ */ O(bu, { client: n, children: /* @__PURE__ */ O(Ta.Provider, { value: t, children: e }) });
9409
9413
  };
9410
9414
  function Fa(e) {
9411
9415
  return typeof e == "object" && e && "__lv" in e ? e.__lv.value : e;
9412
9416
  }
9413
- function pf(e) {
9417
+ function df(e) {
9414
9418
  if (typeof e == "object" && e && "selectedOptions" in e && Array.isArray(e.selectedOptions)) {
9415
9419
  const t = e.selectedOptions, n = [];
9416
9420
  for (const i of t)
@@ -9423,8 +9427,8 @@ function pf(e) {
9423
9427
  }
9424
9428
  return e && typeof e == "object" && Array.isArray(e.__lv) ? e.__lv : Array.isArray(e) ? e : [];
9425
9429
  }
9426
- function df(e) {
9427
- const t = pf(e.value);
9430
+ function pf(e) {
9431
+ const t = df(e.value);
9428
9432
  if (!e.prop.default && typeof t > "u")
9429
9433
  return [
9430
9434
  "required"
@@ -9595,18 +9599,18 @@ const Sn = [
9595
9599
  userId: u,
9596
9600
  sdkResponse: s,
9597
9601
  enableDebugging: c,
9598
- oauthAppConfig: p
9602
+ oauthAppConfig: d
9599
9603
  } = t, {
9600
9604
  resolvedId: f,
9601
- warningType: d
9602
- } = de(() => yf(l, u), [
9605
+ warningType: p
9606
+ } = pe(() => yf(l, u), [
9603
9607
  l,
9604
9608
  u
9605
9609
  ]);
9606
9610
  be(() => {
9607
- process.env.NODE_ENV !== "production" && (d === "both" ? console.warn("[connect-react] Both externalUserId and userId provided. Using externalUserId. Please remove userId to avoid this warning.") : d === "deprecated" && console.warn("[connect-react] userId is deprecated. Please use externalUserId instead."));
9611
+ process.env.NODE_ENV !== "production" && (p === "both" ? console.warn("[connect-react] Both externalUserId and userId provided. Using externalUserId. Please remove userId to avoid this warning.") : p === "deprecated" && console.warn("[connect-react] userId is deprecated. Please use externalUserId instead."));
9608
9612
  }, [
9609
- d
9613
+ p
9610
9614
  ]);
9611
9615
  const y = r.key, [
9612
9616
  b,
@@ -9694,7 +9698,7 @@ const Sn = [
9694
9698
  staleTime: 1 / 0
9695
9699
  // Prevent automatic refetching - only refetch when reloadPropIdx changes
9696
9700
  }), [
9697
- pe,
9701
+ de,
9698
9702
  K
9699
9703
  ] = ce([]);
9700
9704
  be(() => {
@@ -9702,7 +9706,7 @@ const Sn = [
9702
9706
  }, [
9703
9707
  T
9704
9708
  ]);
9705
- const ee = de(() => {
9709
+ const ee = pe(() => {
9706
9710
  const L = oe.current || J;
9707
9711
  let W = (L == null ? void 0 : L.configurableProps) || t.component.configurableProps || [];
9708
9712
  if (a != null && a.length) {
@@ -9739,7 +9743,7 @@ const Sn = [
9739
9743
  }) ?? []) : ut(L, "string") ? ne.push(...hf({
9740
9744
  prop: L,
9741
9745
  value: W
9742
- }) ?? []) : ut(L, "string[]") && ne.push(...df({
9746
+ }) ?? []) : ut(L, "string[]") && ne.push(...pf({
9743
9747
  prop: L,
9744
9748
  value: W
9745
9749
  }) ?? []);
@@ -9870,7 +9874,7 @@ const Sn = [
9870
9874
  const ne = T[W.name];
9871
9875
  Be(W, ne).length && L.push(W.name);
9872
9876
  }
9873
- L && pe && yo(L, pe) || K(L);
9877
+ L && de && yo(L, de) || K(L);
9874
9878
  }, _e = (L) => {
9875
9879
  P((W) => (W[L.prop.name] = L, W)), Se();
9876
9880
  }, St = (L) => {
@@ -9948,7 +9952,7 @@ const Sn = [
9948
9952
  fields: I,
9949
9953
  optionalPropIsEnabled: R,
9950
9954
  optionalPropSetEnabled: Me,
9951
- propsNeedConfiguring: pe,
9955
+ propsNeedConfiguring: de,
9952
9956
  queryDisabledIdx: b,
9953
9957
  registerField: _e,
9954
9958
  setConfiguredProp: Pe,
@@ -9956,7 +9960,7 @@ const Sn = [
9956
9960
  submitting: A,
9957
9961
  sdkErrors: D,
9958
9962
  enableDebugging: c,
9959
- oauthAppConfig: p
9963
+ oauthAppConfig: d
9960
9964
  };
9961
9965
  return /* @__PURE__ */ O(Va.Provider, { value: Ot, children: e });
9962
9966
  };
@@ -10074,7 +10078,7 @@ function ct(e, t) {
10074
10078
  }
10075
10079
  var Ef = ["defaultInputValue", "defaultMenuIsOpen", "defaultValue", "inputValue", "menuIsOpen", "onChange", "onInputChange", "onMenuClose", "onMenuOpen", "value"];
10076
10080
  function Da(e) {
10077
- var t = e.defaultInputValue, n = t === void 0 ? "" : t, i = e.defaultMenuIsOpen, r = i === void 0 ? !1 : i, o = e.defaultValue, a = o === void 0 ? null : o, l = e.inputValue, u = e.menuIsOpen, s = e.onChange, c = e.onInputChange, p = e.onMenuClose, f = e.onMenuOpen, d = e.value, y = ct(e, Ef), b = ce(l !== void 0 ? l : n), C = ht(b, 2), I = C[0], P = C[1], A = ce(u !== void 0 ? u : r), E = ht(A, 2), S = E[0], x = E[1], D = ce(d !== void 0 ? d : a), B = ht(D, 2), F = B[0], w = B[1], R = Re(function(oe, G) {
10081
+ var t = e.defaultInputValue, n = t === void 0 ? "" : t, i = e.defaultMenuIsOpen, r = i === void 0 ? !1 : i, o = e.defaultValue, a = o === void 0 ? null : o, l = e.inputValue, u = e.menuIsOpen, s = e.onChange, c = e.onInputChange, d = e.onMenuClose, f = e.onMenuOpen, p = e.value, y = ct(e, Ef), b = ce(l !== void 0 ? l : n), C = ht(b, 2), I = C[0], P = C[1], A = ce(u !== void 0 ? u : r), E = ht(A, 2), S = E[0], x = E[1], D = ce(p !== void 0 ? p : a), B = ht(D, 2), F = B[0], w = B[1], R = Re(function(oe, G) {
10078
10082
  typeof s == "function" && s(oe, G), w(oe);
10079
10083
  }, [s]), T = Re(function(oe, G) {
10080
10084
  var g;
@@ -10082,8 +10086,8 @@ function Da(e) {
10082
10086
  }, [c]), z = Re(function() {
10083
10087
  typeof f == "function" && f(), x(!0);
10084
10088
  }, [f]), _ = Re(function() {
10085
- typeof p == "function" && p(), x(!1);
10086
- }, [p]), X = l !== void 0 ? l : I, J = u !== void 0 ? u : S, ie = d !== void 0 ? d : F;
10089
+ typeof d == "function" && d(), x(!1);
10090
+ }, [d]), X = l !== void 0 ? l : I, J = u !== void 0 ? u : S, ie = p !== void 0 ? p : F;
10087
10091
  return Q(Q({}, y), {}, {
10088
10092
  inputValue: X,
10089
10093
  menuIsOpen: J,
@@ -10331,18 +10335,18 @@ function Ao(e, t, n, i) {
10331
10335
  let a = Rn(1);
10332
10336
  t && (a = xo(e));
10333
10337
  const l = Uf() ? _f(o) : Rn(0);
10334
- let u = (r.left + l.x) / a.x, s = (r.top + l.y) / a.y, c = r.width / a.x, p = r.height / a.y;
10338
+ let u = (r.left + l.x) / a.x, s = (r.top + l.y) / a.y, c = r.width / a.x, d = r.height / a.y;
10335
10339
  if (o) {
10336
- const f = mt(o), d = i;
10340
+ const f = mt(o), p = i;
10337
10341
  let y = f, b = Nr(y);
10338
- for (; b && i && d !== y; ) {
10342
+ for (; b && i && p !== y; ) {
10339
10343
  const C = xo(b), I = b.getBoundingClientRect(), P = oi(b), A = I.left + (b.clientLeft + parseFloat(P.paddingLeft)) * C.x, E = I.top + (b.clientTop + parseFloat(P.paddingTop)) * C.y;
10340
- u *= C.x, s *= C.y, c *= C.x, p *= C.y, u += A, s += E, y = mt(b), b = Nr(y);
10344
+ u *= C.x, s *= C.y, c *= C.x, d *= C.y, u += A, s += E, y = mt(b), b = Nr(y);
10341
10345
  }
10342
10346
  }
10343
10347
  return Mf({
10344
10348
  width: c,
10345
- height: p,
10349
+ height: d,
10346
10350
  x: u,
10347
10351
  y: s
10348
10352
  });
@@ -10361,13 +10365,13 @@ function qf(e, t) {
10361
10365
  l === void 0 && (l = !1), u === void 0 && (u = 1), o();
10362
10366
  const s = e.getBoundingClientRect(), {
10363
10367
  left: c,
10364
- top: p,
10368
+ top: d,
10365
10369
  width: f,
10366
- height: d
10370
+ height: p
10367
10371
  } = s;
10368
- if (l || t(), !f || !d)
10372
+ if (l || t(), !f || !p)
10369
10373
  return;
10370
- const y = In(p), b = In(r.clientWidth - (c + f)), C = In(r.clientHeight - (p + d)), I = In(c), A = {
10374
+ const y = In(d), b = In(r.clientWidth - (c + f)), C = In(r.clientHeight - (d + p)), I = In(c), A = {
10371
10375
  rootMargin: -y + "px " + -b + "px " + -C + "px " + -I + "px",
10372
10376
  threshold: Lf(0, Df(1, u)) || 1
10373
10377
  };
@@ -10410,15 +10414,15 @@ function Qf(e, t, n, i) {
10410
10414
  passive: !0
10411
10415
  }), o && I.addEventListener("resize", n);
10412
10416
  });
10413
- const p = s && l ? qf(s, n) : null;
10414
- let f = -1, d = null;
10415
- a && (d = new ResizeObserver((I) => {
10417
+ const d = s && l ? qf(s, n) : null;
10418
+ let f = -1, p = null;
10419
+ a && (p = new ResizeObserver((I) => {
10416
10420
  let [P] = I;
10417
- P && P.target === s && d && (d.unobserve(t), cancelAnimationFrame(f), f = requestAnimationFrame(() => {
10421
+ P && P.target === s && p && (p.unobserve(t), cancelAnimationFrame(f), f = requestAnimationFrame(() => {
10418
10422
  var A;
10419
- (A = d) == null || A.observe(t);
10423
+ (A = p) == null || A.observe(t);
10420
10424
  })), n();
10421
- }), s && !u && d.observe(s), d.observe(t));
10425
+ }), s && !u && p.observe(s), p.observe(t));
10422
10426
  let y, b = u ? Ao(e) : null;
10423
10427
  u && C();
10424
10428
  function C() {
@@ -10429,7 +10433,7 @@ function Qf(e, t, n, i) {
10429
10433
  var I;
10430
10434
  c.forEach((P) => {
10431
10435
  r && P.removeEventListener("scroll", n), o && P.removeEventListener("resize", n);
10432
- }), p == null || p(), (I = d) == null || I.disconnect(), d = null, u && cancelAnimationFrame(y);
10436
+ }), d == null || d(), (I = p) == null || I.disconnect(), p = null, u && cancelAnimationFrame(y);
10433
10437
  };
10434
10438
  }
10435
10439
  var Dr = gu, $f = ["className", "clearValue", "cx", "getStyles", "getClassNames", "getValue", "hasValue", "isMulti", "isRtl", "options", "selectOption", "selectProps", "setValue", "theme"], On = function() {
@@ -10555,14 +10559,14 @@ var cg = function(t) {
10555
10559
  var u = ht(l, 2), s = u[0], c = u[1];
10556
10560
  return a[s] = c, a;
10557
10561
  }, {});
10558
- }, pg = ["children", "innerProps"], dg = ["children", "innerProps"];
10562
+ }, dg = ["children", "innerProps"], pg = ["children", "innerProps"];
10559
10563
  function fg(e) {
10560
10564
  var t = e.maxHeight, n = e.menuEl, i = e.minHeight, r = e.placement, o = e.shouldScroll, a = e.isFixedPosition, l = e.controlHeight, u = ng(n), s = {
10561
10565
  placement: "bottom",
10562
10566
  maxHeight: t
10563
10567
  };
10564
10568
  if (!n || !n.offsetParent) return s;
10565
- var c = u.getBoundingClientRect(), p = c.height, f = n.getBoundingClientRect(), d = f.bottom, y = f.height, b = f.top, C = n.offsetParent.getBoundingClientRect(), I = C.top, P = a ? window.innerHeight : tg(u), A = Ya(u), E = parseInt(getComputedStyle(n).marginBottom, 10), S = parseInt(getComputedStyle(n).marginTop, 10), x = I - S, D = P - b, B = x + A, F = p - A - b, w = d - P + A + E, R = A + b - S, T = 160;
10569
+ var c = u.getBoundingClientRect(), d = c.height, f = n.getBoundingClientRect(), p = f.bottom, y = f.height, b = f.top, C = n.offsetParent.getBoundingClientRect(), I = C.top, P = a ? window.innerHeight : tg(u), A = Ya(u), E = parseInt(getComputedStyle(n).marginBottom, 10), S = parseInt(getComputedStyle(n).marginTop, 10), x = I - S, D = P - b, B = x + A, F = d - A - b, w = p - P + A + E, R = A + b - S, T = 160;
10566
10570
  switch (r) {
10567
10571
  case "auto":
10568
10572
  case "bottom":
@@ -10645,9 +10649,9 @@ var _a = function(t) {
10645
10649
  marginTop: l.menuGutter
10646
10650
  });
10647
10651
  }, Ua = /* @__PURE__ */ ln(null), mg = function(t) {
10648
- var n = t.children, i = t.minMenuHeight, r = t.maxMenuHeight, o = t.menuPlacement, a = t.menuPosition, l = t.menuShouldScrollIntoView, u = t.theme, s = Xt(Ua) || {}, c = s.setPortalPlacement, p = Te(null), f = ce(r), d = ht(f, 2), y = d[0], b = d[1], C = ce(null), I = ht(C, 2), P = I[0], A = I[1], E = u.spacing.controlHeight;
10652
+ var n = t.children, i = t.minMenuHeight, r = t.maxMenuHeight, o = t.menuPlacement, a = t.menuPosition, l = t.menuShouldScrollIntoView, u = t.theme, s = Xt(Ua) || {}, c = s.setPortalPlacement, d = Te(null), f = ce(r), p = ht(f, 2), y = p[0], b = p[1], C = ce(null), I = ht(C, 2), P = I[0], A = I[1], E = u.spacing.controlHeight;
10649
10653
  return Dr(function() {
10650
- var S = p.current;
10654
+ var S = d.current;
10651
10655
  if (S) {
10652
10656
  var x = a === "fixed", D = l && !x, B = fg({
10653
10657
  maxHeight: r,
@@ -10661,7 +10665,7 @@ var _a = function(t) {
10661
10665
  b(B.maxHeight), A(B.placement), c == null || c(B.placement);
10662
10666
  }
10663
10667
  }, [r, o, a, l, i, c, E]), n({
10664
- ref: p,
10668
+ ref: d,
10665
10669
  placerProps: Q(Q({}, t), {}, {
10666
10670
  placement: P || _a(o),
10667
10671
  maxHeight: y
@@ -10703,7 +10707,7 @@ var _a = function(t) {
10703
10707
  padding: "".concat(r * 2, "px ").concat(r * 3, "px")
10704
10708
  });
10705
10709
  }, Cg = qa, xg = qa, Ag = function(t) {
10706
- var n = t.children, i = n === void 0 ? "No options" : n, r = t.innerProps, o = ct(t, pg);
10710
+ var n = t.children, i = n === void 0 ? "No options" : n, r = t.innerProps, o = ct(t, dg);
10707
10711
  return $("div", te({}, Fe(Q(Q({}, o), {}, {
10708
10712
  children: i,
10709
10713
  innerProps: r
@@ -10712,7 +10716,7 @@ var _a = function(t) {
10712
10716
  "menu-notice--no-options": !0
10713
10717
  }), r), i);
10714
10718
  }, wg = function(t) {
10715
- var n = t.children, i = n === void 0 ? "Loading..." : n, r = t.innerProps, o = ct(t, dg);
10719
+ var n = t.children, i = n === void 0 ? "Loading..." : n, r = t.innerProps, o = ct(t, pg);
10716
10720
  return $("div", te({}, Fe(Q(Q({}, o), {}, {
10717
10721
  children: i,
10718
10722
  innerProps: r
@@ -10730,9 +10734,9 @@ var _a = function(t) {
10730
10734
  zIndex: 1
10731
10735
  };
10732
10736
  }, Eg = function(t) {
10733
- var n = t.appendTo, i = t.children, r = t.controlElement, o = t.innerProps, a = t.menuPlacement, l = t.menuPosition, u = Te(null), s = Te(null), c = ce(_a(a)), p = ht(c, 2), f = p[0], d = p[1], y = de(function() {
10737
+ var n = t.appendTo, i = t.children, r = t.controlElement, o = t.innerProps, a = t.menuPlacement, l = t.menuPosition, u = Te(null), s = Te(null), c = ce(_a(a)), d = ht(c, 2), f = d[0], p = d[1], y = pe(function() {
10734
10738
  return {
10735
- setPortalPlacement: d
10739
+ setPortalPlacement: p
10736
10740
  };
10737
10741
  }, []), b = ce(null), C = ht(b, 2), I = C[0], P = C[1], A = Re(function() {
10738
10742
  if (r) {
@@ -10987,11 +10991,11 @@ var Ng = process.env.NODE_ENV === "production" ? {
10987
10991
  paddingTop: i.baseUnit * 2
10988
10992
  };
10989
10993
  }, Qg = function(t) {
10990
- var n = t.children, i = t.cx, r = t.getStyles, o = t.getClassNames, a = t.Heading, l = t.headingProps, u = t.innerProps, s = t.label, c = t.theme, p = t.selectProps;
10994
+ var n = t.children, i = t.cx, r = t.getStyles, o = t.getClassNames, a = t.Heading, l = t.headingProps, u = t.innerProps, s = t.label, c = t.theme, d = t.selectProps;
10991
10995
  return $("div", te({}, Fe(t, "group", {
10992
10996
  group: !0
10993
10997
  }), u), $(a, te({}, l, {
10994
- selectProps: p,
10998
+ selectProps: d,
10995
10999
  theme: c,
10996
11000
  getStyles: r,
10997
11001
  getClassNames: o,
@@ -11114,8 +11118,8 @@ var Ng = process.env.NODE_ENV === "production" ? {
11114
11118
  }, tl = function(t) {
11115
11119
  var n = t.children, i = t.innerProps;
11116
11120
  return $("div", i, n);
11117
- }, ch = tl, ph = tl;
11118
- function dh(e) {
11121
+ }, ch = tl, dh = tl;
11122
+ function ph(e) {
11119
11123
  var t = e.children, n = e.innerProps;
11120
11124
  return $("div", te({
11121
11125
  role: "button"
@@ -11124,7 +11128,7 @@ function dh(e) {
11124
11128
  }));
11125
11129
  }
11126
11130
  var fh = function(t) {
11127
- var n = t.children, i = t.components, r = t.data, o = t.innerProps, a = t.isDisabled, l = t.removeProps, u = t.selectProps, s = i.Container, c = i.Label, p = i.Remove;
11131
+ var n = t.children, i = t.components, r = t.data, o = t.innerProps, a = t.isDisabled, l = t.removeProps, u = t.selectProps, s = i.Container, c = i.Label, d = i.Remove;
11128
11132
  return $(s, {
11129
11133
  data: r,
11130
11134
  innerProps: Q(Q({}, Fe(t, "multiValue", {
@@ -11138,7 +11142,7 @@ var fh = function(t) {
11138
11142
  "multi-value__label": !0
11139
11143
  })),
11140
11144
  selectProps: u
11141
- }, n), $(p, {
11145
+ }, n), $(d, {
11142
11146
  data: r,
11143
11147
  innerProps: Q(Q({}, Fe(t, "multiValueRemove", {
11144
11148
  "multi-value__remove": !0
@@ -11231,8 +11235,8 @@ var fh = function(t) {
11231
11235
  NoOptionsMessage: Ag,
11232
11236
  MultiValue: gh,
11233
11237
  MultiValueContainer: ch,
11234
- MultiValueLabel: ph,
11235
- MultiValueRemove: dh,
11238
+ MultiValueLabel: dh,
11239
+ MultiValueRemove: ph,
11236
11240
  Option: bh,
11237
11241
  Placeholder: vh,
11238
11242
  SelectContainer: Bg,
@@ -11320,14 +11324,14 @@ var Ph = process.env.NODE_ENV === "production" ? {
11320
11324
  }
11321
11325
  },
11322
11326
  onFocus: function(t) {
11323
- var n = t.context, i = t.focused, r = t.options, o = t.label, a = o === void 0 ? "" : o, l = t.selectValue, u = t.isDisabled, s = t.isSelected, c = t.isAppleDevice, p = function(b, C) {
11327
+ var n = t.context, i = t.focused, r = t.options, o = t.label, a = o === void 0 ? "" : o, l = t.selectValue, u = t.isDisabled, s = t.isSelected, c = t.isAppleDevice, d = function(b, C) {
11324
11328
  return b && b.length ? "".concat(b.indexOf(C) + 1, " of ").concat(b.length) : "";
11325
11329
  };
11326
11330
  if (n === "value" && l)
11327
- return "value ".concat(a, " focused, ").concat(p(l, i), ".");
11331
+ return "value ".concat(a, " focused, ").concat(d(l, i), ".");
11328
11332
  if (n === "menu" && c) {
11329
- var f = u ? " disabled" : "", d = "".concat(s ? " selected" : "").concat(f);
11330
- return "".concat(a).concat(d, ", ").concat(p(r, i), ".");
11333
+ var f = u ? " disabled" : "", p = "".concat(s ? " selected" : "").concat(f);
11334
+ return "".concat(a).concat(p, ", ").concat(d(r, i), ".");
11331
11335
  }
11332
11336
  return "";
11333
11337
  },
@@ -11336,14 +11340,14 @@ var Ph = process.env.NODE_ENV === "production" ? {
11336
11340
  return "".concat(i).concat(n ? " for search term " + n : "", ".");
11337
11341
  }
11338
11342
  }, Fh = function(t) {
11339
- var n = t.ariaSelection, i = t.focusedOption, r = t.focusedValue, o = t.focusableOptions, a = t.isFocused, l = t.selectValue, u = t.selectProps, s = t.id, c = t.isAppleDevice, p = u.ariaLiveMessages, f = u.getOptionLabel, d = u.inputValue, y = u.isMulti, b = u.isOptionDisabled, C = u.isSearchable, I = u.menuIsOpen, P = u.options, A = u.screenReaderStatus, E = u.tabSelectsValue, S = u.isLoading, x = u["aria-label"], D = u["aria-live"], B = de(function() {
11340
- return Q(Q({}, Th), p || {});
11341
- }, [p]), F = de(function() {
11343
+ var n = t.ariaSelection, i = t.focusedOption, r = t.focusedValue, o = t.focusableOptions, a = t.isFocused, l = t.selectValue, u = t.selectProps, s = t.id, c = t.isAppleDevice, d = u.ariaLiveMessages, f = u.getOptionLabel, p = u.inputValue, y = u.isMulti, b = u.isOptionDisabled, C = u.isSearchable, I = u.menuIsOpen, P = u.options, A = u.screenReaderStatus, E = u.tabSelectsValue, S = u.isLoading, x = u["aria-label"], D = u["aria-live"], B = pe(function() {
11344
+ return Q(Q({}, Th), d || {});
11345
+ }, [d]), F = pe(function() {
11342
11346
  var X = "";
11343
11347
  if (n && B.onChange) {
11344
11348
  var J = n.option, ie = n.options, oe = n.removedValue, G = n.removedValues, g = n.value, ae = function(fe) {
11345
11349
  return Array.isArray(fe) ? null : fe;
11346
- }, j = oe || J || ae(g), m = j ? f(j) : "", pe = ie || G || void 0, K = pe ? pe.map(f) : [], ee = Q({
11350
+ }, j = oe || J || ae(g), m = j ? f(j) : "", de = ie || G || void 0, K = de ? de.map(f) : [], ee = Q({
11347
11351
  // multiSelected items are usually items that have already been selected
11348
11352
  // or set by the user as a default value so we assume they are not disabled
11349
11353
  isDisabled: j && b(j, l),
@@ -11353,7 +11357,7 @@ var Ph = process.env.NODE_ENV === "production" ? {
11353
11357
  X = B.onChange(ee);
11354
11358
  }
11355
11359
  return X;
11356
- }, [n, B, b, l, f]), w = de(function() {
11360
+ }, [n, B, b, l, f]), w = pe(function() {
11357
11361
  var X = "", J = i || r, ie = !!(i && l && l.includes(i));
11358
11362
  if (J && B.onFocus) {
11359
11363
  var oe = {
@@ -11369,19 +11373,19 @@ var Ph = process.env.NODE_ENV === "production" ? {
11369
11373
  X = B.onFocus(oe);
11370
11374
  }
11371
11375
  return X;
11372
- }, [i, r, f, b, B, o, l, c]), R = de(function() {
11376
+ }, [i, r, f, b, B, o, l, c]), R = pe(function() {
11373
11377
  var X = "";
11374
11378
  if (I && P.length && !S && B.onFilter) {
11375
11379
  var J = A({
11376
11380
  count: o.length
11377
11381
  });
11378
11382
  X = B.onFilter({
11379
- inputValue: d,
11383
+ inputValue: p,
11380
11384
  resultsMessage: J
11381
11385
  });
11382
11386
  }
11383
11387
  return X;
11384
- }, [o, d, I, B, P, A, S]), T = (n == null ? void 0 : n.action) === "initial-input-focus", z = de(function() {
11388
+ }, [o, p, I, B, P, A, S]), T = (n == null ? void 0 : n.action) === "initial-input-focus", z = pe(function() {
11385
11389
  var X = "";
11386
11390
  if (B.guidance) {
11387
11391
  var J = r ? "value" : I ? "menu" : "input";
@@ -11688,8 +11692,8 @@ var rl = function(t) {
11688
11692
  stringify: Nh,
11689
11693
  trim: !0,
11690
11694
  matchFrom: "any"
11691
- }, t), o = r.ignoreCase, a = r.ignoreAccents, l = r.stringify, u = r.trim, s = r.matchFrom, c = u ? Po(i) : i, p = u ? Po(l(n)) : l(n);
11692
- return o && (c = c.toLowerCase(), p = p.toLowerCase()), a && (c = Oh(c), p = rl(p)), s === "start" ? p.substr(0, c.length) === c : p.indexOf(c) > -1;
11695
+ }, t), o = r.ignoreCase, a = r.ignoreAccents, l = r.stringify, u = r.trim, s = r.matchFrom, c = u ? Po(i) : i, d = u ? Po(l(n)) : l(n);
11696
+ return o && (c = c.toLowerCase(), d = d.toLowerCase()), a && (c = Oh(c), d = rl(d)), s === "start" ? d.substr(0, c.length) === c : d.indexOf(c) > -1;
11693
11697
  };
11694
11698
  }, Lh = ["innerRef"];
11695
11699
  function Mh(e) {
@@ -11729,11 +11733,11 @@ function Hh(e) {
11729
11733
  var P = s.current, A = P.scrollTop, E = P.scrollHeight, S = P.clientHeight, x = s.current, D = I > 0, B = E - S - A, F = !1;
11730
11734
  B > I && a.current && (i && i(C), a.current = !1), D && l.current && (o && o(C), l.current = !1), D && I > B ? (n && !a.current && n(C), x.scrollTop = E, F = !0, a.current = !0) : !D && -I > A && (r && !l.current && r(C), x.scrollTop = 0, F = !0, l.current = !0), F && zh(C);
11731
11735
  }
11732
- }, [n, i, r, o]), p = Re(function(C) {
11736
+ }, [n, i, r, o]), d = Re(function(C) {
11733
11737
  c(C, C.deltaY);
11734
11738
  }, [c]), f = Re(function(C) {
11735
11739
  u.current = C.changedTouches[0].clientY;
11736
- }, []), d = Re(function(C) {
11740
+ }, []), p = Re(function(C) {
11737
11741
  var I = u.current - C.changedTouches[0].clientY;
11738
11742
  c(C, I);
11739
11743
  }, [c]), y = Re(function(C) {
@@ -11741,11 +11745,11 @@ function Hh(e) {
11741
11745
  var I = lg ? {
11742
11746
  passive: !1
11743
11747
  } : !1;
11744
- C.addEventListener("wheel", p, I), C.addEventListener("touchstart", f, I), C.addEventListener("touchmove", d, I);
11748
+ C.addEventListener("wheel", d, I), C.addEventListener("touchstart", f, I), C.addEventListener("touchmove", p, I);
11745
11749
  }
11746
- }, [d, f, p]), b = Re(function(C) {
11747
- C && (C.removeEventListener("wheel", p, !1), C.removeEventListener("touchstart", f, !1), C.removeEventListener("touchmove", d, !1));
11748
- }, [d, f, p]);
11750
+ }, [p, f, d]), b = Re(function(C) {
11751
+ C && (C.removeEventListener("wheel", d, !1), C.removeEventListener("touchstart", f, !1), C.removeEventListener("touchmove", p, !1));
11752
+ }, [p, f, d]);
11749
11753
  return be(function() {
11750
11754
  if (t) {
11751
11755
  var C = s.current;
@@ -11789,20 +11793,20 @@ function Xh(e) {
11789
11793
  var b = c && c[y];
11790
11794
  r.current[y] = b;
11791
11795
  }), i && $t < 1) {
11792
- var p = parseInt(r.current.paddingRight, 10) || 0, f = document.body ? document.body.clientWidth : 0, d = window.innerWidth - f + p || 0;
11796
+ var d = parseInt(r.current.paddingRight, 10) || 0, f = document.body ? document.body.clientWidth : 0, p = window.innerWidth - f + d || 0;
11793
11797
  Object.keys(To).forEach(function(y) {
11794
11798
  var b = To[y];
11795
11799
  c && (c[y] = b);
11796
- }), c && (c.paddingRight = "".concat(d, "px"));
11800
+ }), c && (c.paddingRight = "".concat(p, "px"));
11797
11801
  }
11798
11802
  s && Oo() && (s.addEventListener("touchmove", Fo, Lt), u && (u.addEventListener("touchstart", Vo, Lt), u.addEventListener("touchmove", Ro, Lt))), $t += 1;
11799
11803
  }
11800
11804
  }, [i]), l = Re(function(u) {
11801
11805
  if (No) {
11802
11806
  var s = document.body, c = s && s.style;
11803
- $t = Math.max($t - 1, 0), i && $t < 1 && Go.forEach(function(p) {
11804
- var f = r.current[p];
11805
- c && (c[p] = f);
11807
+ $t = Math.max($t - 1, 0), i && $t < 1 && Go.forEach(function(d) {
11808
+ var f = r.current[d];
11809
+ c && (c[d] = f);
11806
11810
  }), s && Oo() && (s.removeEventListener("touchmove", Fo, Lt), u && (u.removeEventListener("touchstart", Vo, Lt), u.removeEventListener("touchmove", Ro, Lt)));
11807
11811
  }
11808
11812
  }, [i]);
@@ -11841,13 +11845,13 @@ function Yh(e) {
11841
11845
  onTopLeave: u
11842
11846
  }), c = Xh({
11843
11847
  isEnabled: n
11844
- }), p = function(d) {
11845
- s(d), c(d);
11848
+ }), d = function(p) {
11849
+ s(p), c(p);
11846
11850
  };
11847
11851
  return $(Cr, null, n && $("div", {
11848
11852
  onClick: Zh,
11849
11853
  css: Jh
11850
- }), t(p));
11854
+ }), t(d));
11851
11855
  }
11852
11856
  function jh() {
11853
11857
  return "You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop).";
@@ -12010,7 +12014,7 @@ var om = {
12010
12014
  unstyled: !1
12011
12015
  };
12012
12016
  function Do(e, t, n, i) {
12013
- var r = cl(e, t, n), o = pl(e, t, n), a = sl(e, t), l = Ln(e, t);
12017
+ var r = cl(e, t, n), o = dl(e, t, n), a = sl(e, t), l = Ln(e, t);
12014
12018
  return {
12015
12019
  type: "option",
12016
12020
  data: t,
@@ -12060,18 +12064,18 @@ function Lo(e, t) {
12060
12064
  }), n;
12061
12065
  }, []);
12062
12066
  }
12063
- function pm(e, t) {
12067
+ function dm(e, t) {
12064
12068
  return ul(En(e, t));
12065
12069
  }
12066
12070
  function Mo(e, t) {
12067
12071
  var n = e.inputValue, i = n === void 0 ? "" : n, r = t.data, o = t.isSelected, a = t.label, l = t.value;
12068
- return (!fl(e) || !o) && dl(e, {
12072
+ return (!fl(e) || !o) && pl(e, {
12069
12073
  label: a,
12070
12074
  value: l,
12071
12075
  data: r
12072
12076
  }, i);
12073
12077
  }
12074
- function dm(e, t) {
12078
+ function pm(e, t) {
12075
12079
  var n = e.focusedValue, i = e.selectValue, r = i.indexOf(n);
12076
12080
  if (r > -1) {
12077
12081
  var o = t.indexOf(n);
@@ -12099,7 +12103,7 @@ var yr = function(t, n) {
12099
12103
  function cl(e, t, n) {
12100
12104
  return typeof e.isOptionDisabled == "function" ? e.isOptionDisabled(t, n) : !1;
12101
12105
  }
12102
- function pl(e, t, n) {
12106
+ function dl(e, t, n) {
12103
12107
  if (n.indexOf(t) > -1) return !0;
12104
12108
  if (typeof e.isOptionSelected == "function")
12105
12109
  return e.isOptionSelected(t, n);
@@ -12108,7 +12112,7 @@ function pl(e, t, n) {
12108
12112
  return Ln(e, r) === i;
12109
12113
  });
12110
12114
  }
12111
- function dl(e, t, n) {
12115
+ function pl(e, t, n) {
12112
12116
  return e.filterOption ? e.filterOption(t, n) : !0;
12113
12117
  }
12114
12118
  var fl = function(t) {
@@ -12143,15 +12147,15 @@ var fl = function(t) {
12143
12147
  }, r.inputRef = null, r.getInputRef = function(u) {
12144
12148
  r.inputRef = u;
12145
12149
  }, r.focus = r.focusInput, r.blur = r.blurInput, r.onChange = function(u, s) {
12146
- var c = r.props, p = c.onChange, f = c.name;
12147
- s.name = f, r.ariaOnChange(u, s), p(u, s);
12150
+ var c = r.props, d = c.onChange, f = c.name;
12151
+ s.name = f, r.ariaOnChange(u, s), d(u, s);
12148
12152
  }, r.setValue = function(u, s, c) {
12149
- var p = r.props, f = p.closeMenuOnSelect, d = p.isMulti, y = p.inputValue;
12153
+ var d = r.props, f = d.closeMenuOnSelect, p = d.isMulti, y = d.inputValue;
12150
12154
  r.onInputChange("", {
12151
12155
  action: "set-value",
12152
12156
  prevInputValue: y
12153
12157
  }), f && (r.setState({
12154
- inputIsHiddenAfterUpdate: !d
12158
+ inputIsHiddenAfterUpdate: !p
12155
12159
  }), r.onMenuClose()), r.setState({
12156
12160
  clearFocusValueOnUpdate: !0
12157
12161
  }), r.onChange(u, {
@@ -12159,14 +12163,14 @@ var fl = function(t) {
12159
12163
  option: c
12160
12164
  });
12161
12165
  }, r.selectOption = function(u) {
12162
- var s = r.props, c = s.blurInputOnSelect, p = s.isMulti, f = s.name, d = r.state.selectValue, y = p && r.isOptionSelected(u, d), b = r.isOptionDisabled(u, d);
12166
+ var s = r.props, c = s.blurInputOnSelect, d = s.isMulti, f = s.name, p = r.state.selectValue, y = d && r.isOptionSelected(u, p), b = r.isOptionDisabled(u, p);
12163
12167
  if (y) {
12164
12168
  var C = r.getOptionValue(u);
12165
- r.setValue(d.filter(function(I) {
12169
+ r.setValue(p.filter(function(I) {
12166
12170
  return r.getOptionValue(I) !== C;
12167
12171
  }), "deselect-option", u);
12168
12172
  } else if (!b)
12169
- p ? r.setValue([].concat(Ht(d), [u]), "select-option", u) : r.setValue(u, "select-option");
12173
+ d ? r.setValue([].concat(Ht(p), [u]), "select-option", u) : r.setValue(u, "select-option");
12170
12174
  else {
12171
12175
  r.ariaOnChange(u, {
12172
12176
  action: "select-option",
@@ -12177,10 +12181,10 @@ var fl = function(t) {
12177
12181
  }
12178
12182
  c && r.blurInput();
12179
12183
  }, r.removeValue = function(u) {
12180
- var s = r.props.isMulti, c = r.state.selectValue, p = r.getOptionValue(u), f = c.filter(function(y) {
12181
- return r.getOptionValue(y) !== p;
12182
- }), d = en(s, f, f[0] || null);
12183
- r.onChange(d, {
12184
+ var s = r.props.isMulti, c = r.state.selectValue, d = r.getOptionValue(u), f = c.filter(function(y) {
12185
+ return r.getOptionValue(y) !== d;
12186
+ }), p = en(s, f, f[0] || null);
12187
+ r.onChange(p, {
12184
12188
  action: "remove-value",
12185
12189
  removedValue: u
12186
12190
  }), r.focusInput();
@@ -12191,7 +12195,7 @@ var fl = function(t) {
12191
12195
  removedValues: u
12192
12196
  });
12193
12197
  }, r.popValue = function() {
12194
- var u = r.props.isMulti, s = r.state.selectValue, c = s[s.length - 1], p = s.slice(0, s.length - 1), f = en(u, p, p[0] || null);
12198
+ var u = r.props.isMulti, s = r.state.selectValue, c = s[s.length - 1], d = s.slice(0, s.length - 1), f = en(u, d, d[0] || null);
12195
12199
  c && r.onChange(f, {
12196
12200
  action: "pop-value",
12197
12201
  removedValue: c
@@ -12211,13 +12215,13 @@ var fl = function(t) {
12211
12215
  }, r.getOptionValue = function(u) {
12212
12216
  return Ln(r.props, u);
12213
12217
  }, r.getStyles = function(u, s) {
12214
- var c = r.props.unstyled, p = rm[u](s, c);
12215
- p.boxSizing = "border-box";
12218
+ var c = r.props.unstyled, d = rm[u](s, c);
12219
+ d.boxSizing = "border-box";
12216
12220
  var f = r.props.styles[u];
12217
- return f ? f(p, s) : p;
12221
+ return f ? f(d, s) : d;
12218
12222
  }, r.getClassNames = function(u, s) {
12219
- var c, p;
12220
- return (c = (p = r.props.classNames)[u]) === null || c === void 0 ? void 0 : c.call(p, s);
12223
+ var c, d;
12224
+ return (c = (d = r.props.classNames)[u]) === null || c === void 0 ? void 0 : c.call(d, s);
12221
12225
  }, r.getElementId = function(u) {
12222
12226
  return "".concat(r.state.instancePrefix, "-").concat(u);
12223
12227
  }, r.getComponents = function() {
@@ -12247,8 +12251,8 @@ var fl = function(t) {
12247
12251
  }
12248
12252
  }, r.onDropdownIndicatorMouseDown = function(u) {
12249
12253
  if (!(u && u.type === "mousedown" && u.button !== 0) && !r.props.isDisabled) {
12250
- var s = r.props, c = s.isMulti, p = s.menuIsOpen;
12251
- r.focusInput(), p ? (r.setState({
12254
+ var s = r.props, c = s.isMulti, d = s.menuIsOpen;
12255
+ r.focusInput(), d ? (r.setState({
12252
12256
  inputIsHiddenAfterUpdate: !c
12253
12257
  }), r.onMenuClose()) : r.openMenu("first"), u.preventDefault();
12254
12258
  }
@@ -12268,8 +12272,8 @@ var fl = function(t) {
12268
12272
  }, r.onTouchMove = function(u) {
12269
12273
  var s = u.touches, c = s && s.item(0);
12270
12274
  if (c) {
12271
- var p = Math.abs(c.clientX - r.initialTouchX), f = Math.abs(c.clientY - r.initialTouchY), d = 5;
12272
- r.userIsDragging = p > d || f > d;
12275
+ var d = Math.abs(c.clientX - r.initialTouchX), f = Math.abs(c.clientY - r.initialTouchY), p = 5;
12276
+ r.userIsDragging = d > p || f > p;
12273
12277
  }
12274
12278
  }, r.onTouchEnd = function(u) {
12275
12279
  r.userIsDragging || (r.controlRef && !r.controlRef.contains(u.target) && r.menuListRef && !r.menuListRef.contains(u.target) && r.blurInput(), r.initialTouchX = 0, r.initialTouchY = 0);
@@ -12318,24 +12322,24 @@ var fl = function(t) {
12318
12322
  }, r.onValueInputFocus = function(u) {
12319
12323
  u.preventDefault(), u.stopPropagation(), r.focus();
12320
12324
  }, r.onKeyDown = function(u) {
12321
- var s = r.props, c = s.isMulti, p = s.backspaceRemovesValue, f = s.escapeClearsValue, d = s.inputValue, y = s.isClearable, b = s.isDisabled, C = s.menuIsOpen, I = s.onKeyDown, P = s.tabSelectsValue, A = s.openMenuOnFocus, E = r.state, S = E.focusedOption, x = E.focusedValue, D = E.selectValue;
12325
+ var s = r.props, c = s.isMulti, d = s.backspaceRemovesValue, f = s.escapeClearsValue, p = s.inputValue, y = s.isClearable, b = s.isDisabled, C = s.menuIsOpen, I = s.onKeyDown, P = s.tabSelectsValue, A = s.openMenuOnFocus, E = r.state, S = E.focusedOption, x = E.focusedValue, D = E.selectValue;
12322
12326
  if (!b && !(typeof I == "function" && (I(u), u.defaultPrevented))) {
12323
12327
  switch (r.blockOptionHover = !0, u.key) {
12324
12328
  case "ArrowLeft":
12325
- if (!c || d) return;
12329
+ if (!c || p) return;
12326
12330
  r.focusValue("previous");
12327
12331
  break;
12328
12332
  case "ArrowRight":
12329
- if (!c || d) return;
12333
+ if (!c || p) return;
12330
12334
  r.focusValue("next");
12331
12335
  break;
12332
12336
  case "Delete":
12333
12337
  case "Backspace":
12334
- if (d) return;
12338
+ if (p) return;
12335
12339
  if (x)
12336
12340
  r.removeValue(x);
12337
12341
  else {
12338
- if (!p) return;
12342
+ if (!d) return;
12339
12343
  c ? r.popValue() : y && r.clearValue();
12340
12344
  }
12341
12345
  break;
@@ -12360,11 +12364,11 @@ var fl = function(t) {
12360
12364
  inputIsHiddenAfterUpdate: !1
12361
12365
  }), r.onInputChange("", {
12362
12366
  action: "menu-close",
12363
- prevInputValue: d
12367
+ prevInputValue: p
12364
12368
  }), r.onMenuClose()) : y && f && r.clearValue();
12365
12369
  break;
12366
12370
  case " ":
12367
- if (d)
12371
+ if (p)
12368
12372
  return;
12369
12373
  if (!C) {
12370
12374
  r.openMenu("first");
@@ -12470,8 +12474,8 @@ var fl = function(t) {
12470
12474
  value: function(r) {
12471
12475
  var o = this, a = this.state, l = a.selectValue, u = a.isFocused, s = this.buildFocusableOptions(), c = r === "first" ? 0 : s.length - 1;
12472
12476
  if (!this.props.isMulti) {
12473
- var p = s.indexOf(l[0]);
12474
- p > -1 && (c = p);
12477
+ var d = s.indexOf(l[0]);
12478
+ d > -1 && (c = d);
12475
12479
  }
12476
12480
  this.scrollToFocusedOptionOnUpdate = !(u && this.menuListRef), this.setState({
12477
12481
  inputIsHiddenAfterUpdate: !1,
@@ -12535,7 +12539,7 @@ var fl = function(t) {
12535
12539
  }, {
12536
12540
  key: "getCommonProps",
12537
12541
  value: function() {
12538
- var r = this.clearValue, o = this.cx, a = this.getStyles, l = this.getClassNames, u = this.getValue, s = this.selectOption, c = this.setValue, p = this.props, f = p.isMulti, d = p.isRtl, y = p.options, b = this.hasValue();
12542
+ var r = this.clearValue, o = this.cx, a = this.getStyles, l = this.getClassNames, u = this.getValue, s = this.selectOption, c = this.setValue, d = this.props, f = d.isMulti, p = d.isRtl, y = d.options, b = this.hasValue();
12539
12543
  return {
12540
12544
  clearValue: r,
12541
12545
  cx: o,
@@ -12544,10 +12548,10 @@ var fl = function(t) {
12544
12548
  getValue: u,
12545
12549
  hasValue: b,
12546
12550
  isMulti: f,
12547
- isRtl: d,
12551
+ isRtl: p,
12548
12552
  options: y,
12549
12553
  selectOption: s,
12550
- selectProps: p,
12554
+ selectProps: d,
12551
12555
  setValue: c,
12552
12556
  theme: this.getTheme()
12553
12557
  };
@@ -12577,12 +12581,12 @@ var fl = function(t) {
12577
12581
  }, {
12578
12582
  key: "isOptionSelected",
12579
12583
  value: function(r, o) {
12580
- return pl(this.props, r, o);
12584
+ return dl(this.props, r, o);
12581
12585
  }
12582
12586
  }, {
12583
12587
  key: "filterOption",
12584
12588
  value: function(r, o) {
12585
- return dl(this.props, r, o);
12589
+ return pl(this.props, r, o);
12586
12590
  }
12587
12591
  }, {
12588
12592
  key: "formatOptionLabel",
@@ -12642,9 +12646,9 @@ var fl = function(t) {
12642
12646
  // Renderers
12643
12647
  // ==============================
12644
12648
  function() {
12645
- var r = this.props, o = r.isDisabled, a = r.isSearchable, l = r.inputId, u = r.inputValue, s = r.tabIndex, c = r.form, p = r.menuIsOpen, f = r.required, d = this.getComponents(), y = d.Input, b = this.state, C = b.inputIsHidden, I = b.ariaSelection, P = this.commonProps, A = l || this.getElementId("input"), E = Q(Q(Q({
12649
+ var r = this.props, o = r.isDisabled, a = r.isSearchable, l = r.inputId, u = r.inputValue, s = r.tabIndex, c = r.form, d = r.menuIsOpen, f = r.required, p = this.getComponents(), y = p.Input, b = this.state, C = b.inputIsHidden, I = b.ariaSelection, P = this.commonProps, A = l || this.getElementId("input"), E = Q(Q(Q({
12646
12650
  "aria-autocomplete": "list",
12647
- "aria-expanded": p,
12651
+ "aria-expanded": d,
12648
12652
  "aria-haspopup": !0,
12649
12653
  "aria-errormessage": this.props["aria-errormessage"],
12650
12654
  "aria-invalid": this.props["aria-invalid"],
@@ -12653,7 +12657,7 @@ var fl = function(t) {
12653
12657
  "aria-required": f,
12654
12658
  role: "combobox",
12655
12659
  "aria-activedescendant": this.state.isAppleDevice ? void 0 : this.state.focusedOptionId || ""
12656
- }, p && {
12660
+ }, d && {
12657
12661
  "aria-controls": this.getElementId("listbox")
12658
12662
  }), !a && {
12659
12663
  "aria-readonly": !0
@@ -12695,9 +12699,9 @@ var fl = function(t) {
12695
12699
  }, {
12696
12700
  key: "renderPlaceholderOrValue",
12697
12701
  value: function() {
12698
- var r = this, o = this.getComponents(), a = o.MultiValue, l = o.MultiValueContainer, u = o.MultiValueLabel, s = o.MultiValueRemove, c = o.SingleValue, p = o.Placeholder, f = this.commonProps, d = this.props, y = d.controlShouldRenderValue, b = d.isDisabled, C = d.isMulti, I = d.inputValue, P = d.placeholder, A = this.state, E = A.selectValue, S = A.focusedValue, x = A.isFocused;
12702
+ var r = this, o = this.getComponents(), a = o.MultiValue, l = o.MultiValueContainer, u = o.MultiValueLabel, s = o.MultiValueRemove, c = o.SingleValue, d = o.Placeholder, f = this.commonProps, p = this.props, y = p.controlShouldRenderValue, b = p.isDisabled, C = p.isMulti, I = p.inputValue, P = p.placeholder, A = this.state, E = A.selectValue, S = A.focusedValue, x = A.isFocused;
12699
12703
  if (!this.hasValue() || !y)
12700
- return I ? null : /* @__PURE__ */ ge.createElement(p, te({}, f, {
12704
+ return I ? null : /* @__PURE__ */ ge.createElement(d, te({}, f, {
12701
12705
  key: "placeholder",
12702
12706
  isDisabled: b,
12703
12707
  isFocused: x,
@@ -12746,13 +12750,13 @@ var fl = function(t) {
12746
12750
  var r = this.getComponents(), o = r.ClearIndicator, a = this.commonProps, l = this.props, u = l.isDisabled, s = l.isLoading, c = this.state.isFocused;
12747
12751
  if (!this.isClearable() || !o || u || !this.hasValue() || s)
12748
12752
  return null;
12749
- var p = {
12753
+ var d = {
12750
12754
  onMouseDown: this.onClearIndicatorMouseDown,
12751
12755
  onTouchEnd: this.onClearIndicatorTouchEnd,
12752
12756
  "aria-hidden": "true"
12753
12757
  };
12754
12758
  return /* @__PURE__ */ ge.createElement(o, te({}, a, {
12755
- innerProps: p,
12759
+ innerProps: d,
12756
12760
  isFocused: c
12757
12761
  }));
12758
12762
  }
@@ -12761,11 +12765,11 @@ var fl = function(t) {
12761
12765
  value: function() {
12762
12766
  var r = this.getComponents(), o = r.LoadingIndicator, a = this.commonProps, l = this.props, u = l.isDisabled, s = l.isLoading, c = this.state.isFocused;
12763
12767
  if (!o || !s) return null;
12764
- var p = {
12768
+ var d = {
12765
12769
  "aria-hidden": "true"
12766
12770
  };
12767
12771
  return /* @__PURE__ */ ge.createElement(o, te({}, a, {
12768
- innerProps: p,
12772
+ innerProps: d,
12769
12773
  isDisabled: u,
12770
12774
  isFocused: c
12771
12775
  }));
@@ -12800,14 +12804,14 @@ var fl = function(t) {
12800
12804
  }, {
12801
12805
  key: "renderMenu",
12802
12806
  value: function() {
12803
- var r = this, o = this.getComponents(), a = o.Group, l = o.GroupHeading, u = o.Menu, s = o.MenuList, c = o.MenuPortal, p = o.LoadingMessage, f = o.NoOptionsMessage, d = o.Option, y = this.commonProps, b = this.state.focusedOption, C = this.props, I = C.captureMenuScroll, P = C.inputValue, A = C.isLoading, E = C.loadingMessage, S = C.minMenuHeight, x = C.maxMenuHeight, D = C.menuIsOpen, B = C.menuPlacement, F = C.menuPosition, w = C.menuPortalTarget, R = C.menuShouldBlockScroll, T = C.menuShouldScrollIntoView, z = C.noOptionsMessage, _ = C.onMenuScrollToTop, X = C.onMenuScrollToBottom;
12807
+ var r = this, o = this.getComponents(), a = o.Group, l = o.GroupHeading, u = o.Menu, s = o.MenuList, c = o.MenuPortal, d = o.LoadingMessage, f = o.NoOptionsMessage, p = o.Option, y = this.commonProps, b = this.state.focusedOption, C = this.props, I = C.captureMenuScroll, P = C.inputValue, A = C.isLoading, E = C.loadingMessage, S = C.minMenuHeight, x = C.maxMenuHeight, D = C.menuIsOpen, B = C.menuPlacement, F = C.menuPosition, w = C.menuPortalTarget, R = C.menuShouldBlockScroll, T = C.menuShouldScrollIntoView, z = C.noOptionsMessage, _ = C.onMenuScrollToTop, X = C.onMenuScrollToBottom;
12804
12808
  if (!D) return null;
12805
- var J = function(m, pe) {
12809
+ var J = function(m, de) {
12806
12810
  var K = m.type, ee = m.data, Be = m.isDisabled, fe = m.isSelected, Oe = m.label, se = m.value, xe = b === ee, Ae = Be ? void 0 : function() {
12807
12811
  return r.onOptionHover(ee);
12808
12812
  }, Ne = Be ? void 0 : function() {
12809
12813
  return r.selectOption(ee);
12810
- }, Pe = "".concat(r.getElementId("option"), "-").concat(pe), Me = {
12814
+ }, Pe = "".concat(r.getElementId("option"), "-").concat(de), Me = {
12811
12815
  id: Pe,
12812
12816
  onClick: Ne,
12813
12817
  onMouseMove: Ae,
@@ -12817,7 +12821,7 @@ var fl = function(t) {
12817
12821
  "aria-selected": r.state.isAppleDevice ? void 0 : fe
12818
12822
  // is not supported on Apple devices
12819
12823
  };
12820
- return /* @__PURE__ */ ge.createElement(d, te({}, y, {
12824
+ return /* @__PURE__ */ ge.createElement(p, te({}, y, {
12821
12825
  innerProps: Me,
12822
12826
  data: ee,
12823
12827
  isDisabled: Be,
@@ -12833,11 +12837,11 @@ var fl = function(t) {
12833
12837
  if (this.hasOptions())
12834
12838
  ie = this.getCategorizedOptions().map(function(j) {
12835
12839
  if (j.type === "group") {
12836
- var m = j.data, pe = j.options, K = j.index, ee = "".concat(r.getElementId("group"), "-").concat(K), Be = "".concat(ee, "-heading");
12840
+ var m = j.data, de = j.options, K = j.index, ee = "".concat(r.getElementId("group"), "-").concat(K), Be = "".concat(ee, "-heading");
12837
12841
  return /* @__PURE__ */ ge.createElement(a, te({}, y, {
12838
12842
  key: ee,
12839
12843
  data: m,
12840
- options: pe,
12844
+ options: de,
12841
12845
  Heading: l,
12842
12846
  headingProps: {
12843
12847
  id: Be,
@@ -12855,7 +12859,7 @@ var fl = function(t) {
12855
12859
  inputValue: P
12856
12860
  });
12857
12861
  if (oe === null) return null;
12858
- ie = /* @__PURE__ */ ge.createElement(p, y, oe);
12862
+ ie = /* @__PURE__ */ ge.createElement(d, y, oe);
12859
12863
  } else {
12860
12864
  var G = z({
12861
12865
  inputValue: P
@@ -12870,7 +12874,7 @@ var fl = function(t) {
12870
12874
  menuPosition: F,
12871
12875
  menuShouldScrollIntoView: T
12872
12876
  }, ae = /* @__PURE__ */ ge.createElement(mg, te({}, y, g), function(j) {
12873
- var m = j.ref, pe = j.placerProps, K = pe.placement, ee = pe.maxHeight;
12877
+ var m = j.ref, de = j.placerProps, K = de.placement, ee = de.maxHeight;
12874
12878
  return /* @__PURE__ */ ge.createElement(u, te({}, y, g, {
12875
12879
  innerRef: m,
12876
12880
  innerProps: {
@@ -12910,7 +12914,7 @@ var fl = function(t) {
12910
12914
  }, {
12911
12915
  key: "renderFormField",
12912
12916
  value: function() {
12913
- var r = this, o = this.props, a = o.delimiter, l = o.isDisabled, u = o.isMulti, s = o.name, c = o.required, p = this.state.selectValue;
12917
+ var r = this, o = this.props, a = o.delimiter, l = o.isDisabled, u = o.isMulti, s = o.name, c = o.required, d = this.state.selectValue;
12914
12918
  if (c && !this.hasValue() && !l)
12915
12919
  return /* @__PURE__ */ ge.createElement(qh, {
12916
12920
  name: s,
@@ -12919,7 +12923,7 @@ var fl = function(t) {
12919
12923
  if (!(!s || l))
12920
12924
  if (u)
12921
12925
  if (a) {
12922
- var f = p.map(function(b) {
12926
+ var f = d.map(function(b) {
12923
12927
  return r.getOptionValue(b);
12924
12928
  }).join(a);
12925
12929
  return /* @__PURE__ */ ge.createElement("input", {
@@ -12928,7 +12932,7 @@ var fl = function(t) {
12928
12932
  value: f
12929
12933
  });
12930
12934
  } else {
12931
- var d = p.length > 0 ? p.map(function(b, C) {
12935
+ var p = d.length > 0 ? d.map(function(b, C) {
12932
12936
  return /* @__PURE__ */ ge.createElement("input", {
12933
12937
  key: "i-".concat(C),
12934
12938
  name: s,
@@ -12940,10 +12944,10 @@ var fl = function(t) {
12940
12944
  type: "hidden",
12941
12945
  value: ""
12942
12946
  });
12943
- return /* @__PURE__ */ ge.createElement("div", null, d);
12947
+ return /* @__PURE__ */ ge.createElement("div", null, p);
12944
12948
  }
12945
12949
  else {
12946
- var y = p[0] ? this.getOptionValue(p[0]) : "";
12950
+ var y = d[0] ? this.getOptionValue(d[0]) : "";
12947
12951
  return /* @__PURE__ */ ge.createElement("input", {
12948
12952
  name: s,
12949
12953
  type: "hidden",
@@ -12954,7 +12958,7 @@ var fl = function(t) {
12954
12958
  }, {
12955
12959
  key: "renderLiveRegion",
12956
12960
  value: function() {
12957
- var r = this.commonProps, o = this.state, a = o.ariaSelection, l = o.focusedOption, u = o.focusedValue, s = o.isFocused, c = o.selectValue, p = this.getFocusableOptions();
12961
+ var r = this.commonProps, o = this.state, a = o.ariaSelection, l = o.focusedOption, u = o.focusedValue, s = o.isFocused, c = o.selectValue, d = this.getFocusableOptions();
12958
12962
  return /* @__PURE__ */ ge.createElement(Rh, te({}, r, {
12959
12963
  id: this.getElementId("live-region"),
12960
12964
  ariaSelection: a,
@@ -12962,18 +12966,18 @@ var fl = function(t) {
12962
12966
  focusedValue: u,
12963
12967
  isFocused: s,
12964
12968
  selectValue: c,
12965
- focusableOptions: p,
12969
+ focusableOptions: d,
12966
12970
  isAppleDevice: this.state.isAppleDevice
12967
12971
  }));
12968
12972
  }
12969
12973
  }, {
12970
12974
  key: "render",
12971
12975
  value: function() {
12972
- var r = this.getComponents(), o = r.Control, a = r.IndicatorsContainer, l = r.SelectContainer, u = r.ValueContainer, s = this.props, c = s.className, p = s.id, f = s.isDisabled, d = s.menuIsOpen, y = this.state.isFocused, b = this.commonProps = this.getCommonProps();
12976
+ var r = this.getComponents(), o = r.Control, a = r.IndicatorsContainer, l = r.SelectContainer, u = r.ValueContainer, s = this.props, c = s.className, d = s.id, f = s.isDisabled, p = s.menuIsOpen, y = this.state.isFocused, b = this.commonProps = this.getCommonProps();
12973
12977
  return /* @__PURE__ */ ge.createElement(l, te({}, b, {
12974
12978
  className: c,
12975
12979
  innerProps: {
12976
- id: p,
12980
+ id: d,
12977
12981
  onKeyDown: this.onKeyDown
12978
12982
  },
12979
12983
  isDisabled: f,
@@ -12986,7 +12990,7 @@ var fl = function(t) {
12986
12990
  },
12987
12991
  isDisabled: f,
12988
12992
  isFocused: y,
12989
- menuIsOpen: d
12993
+ menuIsOpen: p
12990
12994
  }), /* @__PURE__ */ ge.createElement(u, te({}, b, {
12991
12995
  isDisabled: f
12992
12996
  }), this.renderPlaceholderOrValue(), this.renderInput()), /* @__PURE__ */ ge.createElement(a, te({}, b, {
@@ -12996,9 +13000,9 @@ var fl = function(t) {
12996
13000
  }], [{
12997
13001
  key: "getDerivedStateFromProps",
12998
13002
  value: function(r, o) {
12999
- var a = o.prevProps, l = o.clearFocusValueOnUpdate, u = o.inputIsHiddenAfterUpdate, s = o.ariaSelection, c = o.isFocused, p = o.prevWasFocused, f = o.instancePrefix, d = r.options, y = r.value, b = r.menuIsOpen, C = r.inputValue, I = r.isMulti, P = Nn(y), A = {};
13000
- if (a && (y !== a.value || d !== a.options || b !== a.menuIsOpen || C !== a.inputValue)) {
13001
- var E = b ? pm(r, P) : [], S = b ? Lo(En(r, P), "".concat(f, "-option")) : [], x = l ? dm(o, P) : null, D = fm(o, E), B = yr(S, D);
13003
+ var a = o.prevProps, l = o.clearFocusValueOnUpdate, u = o.inputIsHiddenAfterUpdate, s = o.ariaSelection, c = o.isFocused, d = o.prevWasFocused, f = o.instancePrefix, p = r.options, y = r.value, b = r.menuIsOpen, C = r.inputValue, I = r.isMulti, P = Nn(y), A = {};
13004
+ if (a && (y !== a.value || p !== a.options || b !== a.menuIsOpen || C !== a.inputValue)) {
13005
+ var E = b ? dm(r, P) : [], S = b ? Lo(En(r, P), "".concat(f, "-option")) : [], x = l ? pm(o, P) : null, D = fm(o, E), B = yr(S, D);
13002
13006
  A = {
13003
13007
  selectValue: P,
13004
13008
  focusedOption: D,
@@ -13011,12 +13015,12 @@ var fl = function(t) {
13011
13015
  var F = u != null && r !== a ? {
13012
13016
  inputIsHidden: u,
13013
13017
  inputIsHiddenAfterUpdate: void 0
13014
- } : {}, w = s, R = c && p;
13018
+ } : {}, w = s, R = c && d;
13015
13019
  return c && !R && (w = {
13016
13020
  value: en(I, P, P[0] || null),
13017
13021
  options: P,
13018
13022
  action: "initial-input-focus"
13019
- }, R = !p), (s == null ? void 0 : s.action) === "initial-input-focus" && (w = null), Q(Q(Q({}, A), F), {}, {
13023
+ }, R = !d), (s == null ? void 0 : s.action) === "initial-input-focus" && (w = null), Q(Q(Q({}, A), F), {}, {
13020
13024
  prevProps: r,
13021
13025
  ariaSelection: w,
13022
13026
  prevWasFocused: R
@@ -13151,7 +13155,7 @@ function vm(e) {
13151
13155
  getClassNames: r,
13152
13156
  getStyles: o,
13153
13157
  theme: a
13154
- } = Le(), l = de(() => ({
13158
+ } = Le(), l = pe(() => ({
13155
13159
  color: a.colors.neutral50,
13156
13160
  fontWeight: 400,
13157
13161
  fontSize: "0.75rem",
@@ -13160,7 +13164,7 @@ function vm(e) {
13160
13164
  lineHeight: "1.5"
13161
13165
  }), [
13162
13166
  a.colors.neutral50
13163
- ]), u = de(() => ({
13167
+ ]), u = pe(() => ({
13164
13168
  a: Im
13165
13169
  }), []), s = e;
13166
13170
  return i.type === "app" ? /* @__PURE__ */ O("p", { className: r("description", s), style: o("description", l, s), children: "Credentials are encrypted." }) : i.description ? /* @__PURE__ */ ye("div", { className: r("description", s), style: o("description", l, s), children: [
@@ -13256,7 +13260,7 @@ const gl = (e) => {
13256
13260
  Label: xm,
13257
13261
  OptionalFieldButton: Am,
13258
13262
  Button: gl
13259
- }, pi = ln({
13263
+ }, di = ln({
13260
13264
  // eslint-disable-line @typescript-eslint/no-explicit-any
13261
13265
  classNames: {},
13262
13266
  classNamePrefix: "",
@@ -13266,7 +13270,7 @@ const gl = (e) => {
13266
13270
  unstyled: !1
13267
13271
  });
13268
13272
  function Sm() {
13269
- const e = Xt(pi) ?? {}, t = ym(e.theme ?? {});
13273
+ const e = Xt(di) ?? {}, t = ym(e.theme ?? {});
13270
13274
  function n() {
13271
13275
  return e.classNamePrefix ?? "";
13272
13276
  }
@@ -13275,10 +13279,10 @@ function Sm() {
13275
13279
  const u = `${(e == null ? void 0 : e.classNamePrefix) ?? "pd-"}${l}`, s = {
13276
13280
  ...((c = e.classNames) == null ? void 0 : c[l]) ?? {}
13277
13281
  };
13278
- return typeof (s == null ? void 0 : s.container) == "function" && (s.container = typeof (s == null ? void 0 : s.container) == "function" ? (...p) => {
13282
+ return typeof (s == null ? void 0 : s.container) == "function" && (s.container = typeof (s == null ? void 0 : s.container) == "function" ? (...d) => {
13279
13283
  var f;
13280
13284
  return [
13281
- (f = s == null ? void 0 : s.container) == null ? void 0 : f.call(s, ...p),
13285
+ (f = s == null ? void 0 : s.container) == null ? void 0 : f.call(s, ...d),
13282
13286
  u
13283
13287
  ].join(" ");
13284
13288
  } : () => u), s;
@@ -13315,23 +13319,23 @@ function Sm() {
13315
13319
  };
13316
13320
  }
13317
13321
  function Le() {
13318
- const e = Xt(pi) ?? {}, t = e.theme, n = e.unstyled ? bm : ci, i = typeof t == "function" ? Mr(n, t(n)) : Mr(n, t);
13322
+ const e = Xt(di) ?? {}, t = e.theme, n = e.unstyled ? bm : ci, i = typeof t == "function" ? Mr(n, t(n)) : Mr(n, t);
13319
13323
  function r(u, s) {
13320
13324
  var f;
13321
- const c = `${(e == null ? void 0 : e.classNamePrefix) ?? "pd-"}${u.toLowerCase()}`, p = (f = e.classNames) == null ? void 0 : f[u];
13322
- if (typeof p == "function") {
13323
- const d = p, y = {
13325
+ const c = `${(e == null ? void 0 : e.classNamePrefix) ?? "pd-"}${u.toLowerCase()}`, d = (f = e.classNames) == null ? void 0 : f[u];
13326
+ if (typeof d == "function") {
13327
+ const p = d, y = {
13324
13328
  ...s ?? {},
13325
13329
  theme: i
13326
13330
  };
13327
13331
  return [
13328
13332
  c,
13329
- d(y)
13333
+ p(y)
13330
13334
  ].filter(Boolean).join(" ");
13331
13335
  }
13332
13336
  return [
13333
13337
  c,
13334
- p
13338
+ d
13335
13339
  ].filter(Boolean).join(" ");
13336
13340
  }
13337
13341
  function o() {
@@ -13342,17 +13346,17 @@ function Le() {
13342
13346
  }
13343
13347
  function a(u, s, c) {
13344
13348
  var f;
13345
- const p = (f = e.styles) == null ? void 0 : f[u];
13346
- if (typeof p == "function") {
13347
- const d = p, y = {
13349
+ const d = (f = e.styles) == null ? void 0 : f[u];
13350
+ if (typeof d == "function") {
13351
+ const p = d, y = {
13348
13352
  ...c ?? {},
13349
13353
  theme: i
13350
13354
  };
13351
- return d(s, y);
13355
+ return p(s, y);
13352
13356
  }
13353
- return p ? {
13357
+ return d ? {
13354
13358
  ...s,
13355
- ...p
13359
+ ...d
13356
13360
  } : s;
13357
13361
  }
13358
13362
  function l(u, s, c) {
@@ -13373,7 +13377,7 @@ function Le() {
13373
13377
  const ub = ({
13374
13378
  children: e,
13375
13379
  ...t
13376
- }) => /* @__PURE__ */ O(pi.Provider, { value: t, children: e }), hl = ln(void 0), pt = () => {
13380
+ }) => /* @__PURE__ */ O(di.Provider, { value: t, children: e }), hl = ln(void 0), dt = () => {
13377
13381
  const e = Xt(hl);
13378
13382
  if (!e)
13379
13383
  throw new Error("Must be used inside FormFieldContext.Provider");
@@ -13450,10 +13454,10 @@ function _n(e) {
13450
13454
  fontSize: "0.875rem"
13451
13455
  }),
13452
13456
  option: (s, c) => {
13453
- let p = t;
13454
- return c.isSelected && c.isFocused ? p = l : c.isSelected ? p = a : c.isFocused && (p = o), {
13457
+ let d = t;
13458
+ return c.isSelected && c.isFocused ? d = l : c.isSelected ? d = a : c.isFocused && (d = o), {
13455
13459
  ...s,
13456
- backgroundColor: p,
13460
+ backgroundColor: d,
13457
13461
  color: r,
13458
13462
  fontSize: "0.875rem",
13459
13463
  // Override the :active state to use our colors instead of default blue
@@ -13470,7 +13474,7 @@ function Bm({ app: e }) {
13470
13474
  const t = wt(), {
13471
13475
  externalUserId: n,
13472
13476
  oauthAppConfig: i
13473
- } = Wn(), r = pt(), {
13477
+ } = Wn(), r = dt(), {
13474
13478
  id: o,
13475
13479
  prop: a,
13476
13480
  value: l,
@@ -13478,10 +13482,10 @@ function Bm({ app: e }) {
13478
13482
  } = r, {
13479
13483
  getProps: s,
13480
13484
  select: c,
13481
- theme: p
13482
- } = Le(), f = de(() => jn(p.colors), [
13483
- p.colors
13484
- ]), d = de(() => _n({
13485
+ theme: d
13486
+ } = Le(), f = pe(() => jn(d.colors), [
13487
+ d.colors
13488
+ ]), p = pe(() => _n({
13485
13489
  colors: {
13486
13490
  surface: f.surface,
13487
13491
  border: f.border,
@@ -13491,19 +13495,19 @@ function Bm({ app: e }) {
13491
13495
  selectedBg: f.selectedBg,
13492
13496
  selectedHoverBg: f.selectedHoverBg
13493
13497
  },
13494
- boxShadow: p.boxShadow
13498
+ boxShadow: d.boxShadow
13495
13499
  }), [
13496
13500
  f,
13497
- p.boxShadow
13501
+ d.boxShadow
13498
13502
  ]), y = {
13499
- color: p.colors.neutral60,
13503
+ color: d.colors.neutral60,
13500
13504
  gridArea: "control"
13501
13505
  }, b = {
13502
- backgroundColor: p.colors.primary,
13503
- borderRadius: p.borderRadius,
13506
+ backgroundColor: d.colors.primary,
13507
+ borderRadius: d.borderRadius,
13504
13508
  border: "solid 1px",
13505
- borderColor: p.colors.primary25,
13506
- color: p.colors.primary25,
13509
+ borderColor: d.colors.primary25,
13510
+ color: d.colors.primary25,
13507
13511
  padding: "0.25rem 0.5rem",
13508
13512
  gridArea: "control"
13509
13513
  }, C = {
@@ -13511,11 +13515,11 @@ function Bm({ app: e }) {
13511
13515
  Option: km
13512
13516
  },
13513
13517
  styles: {
13514
- ...d,
13518
+ ...p,
13515
13519
  control: (w, R) => {
13516
13520
  var T;
13517
13521
  return {
13518
- ...((T = d.control) == null ? void 0 : T.call(d, w, R)) ?? w,
13522
+ ...((T = p.control) == null ? void 0 : T.call(p, w, R)) ?? w,
13519
13523
  gridArea: "control"
13520
13524
  };
13521
13525
  }
@@ -13552,12 +13556,12 @@ function Bm({ app: e }) {
13552
13556
  }, D = {
13553
13557
  id: "_new",
13554
13558
  name: `Connect new ${e.name} account...`
13555
- }, B = de(() => [
13559
+ }, B = pe(() => [
13556
13560
  ...E,
13557
13561
  D
13558
13562
  ], [
13559
13563
  E
13560
- ]), F = de(() => {
13564
+ ]), F = pe(() => {
13561
13565
  if (l != null && l.authProvisionId) {
13562
13566
  for (const w of E)
13563
13567
  if (l.authProvisionId === w.id)
@@ -13609,10 +13613,11 @@ function Bm({ app: e }) {
13609
13613
  e.name
13610
13614
  ] }) });
13611
13615
  }
13612
- const di = (e) => ({
13616
+ const pi = (e) => ({
13613
13617
  color: e.colors.neutral80,
13614
- backgroundColor: e.colors.neutral20,
13615
- border: "1px solid",
13618
+ backgroundColor: e.colors.neutral0,
13619
+ borderWidth: 1,
13620
+ borderStyle: "solid",
13616
13621
  borderColor: e.colors.neutral20,
13617
13622
  padding: 6,
13618
13623
  borderRadius: e.borderRadius,
@@ -13624,7 +13629,9 @@ const di = (e) => ({
13624
13629
  display: "inline-flex",
13625
13630
  alignItems: "center",
13626
13631
  padding: `${e.spacing.baseUnit}px ${e.spacing.baseUnit * 1.5}px ${e.spacing.baseUnit}px ${e.spacing.baseUnit * 2.5}px`,
13627
- border: `1px solid ${e.colors.neutral30}`,
13632
+ borderWidth: 1,
13633
+ borderStyle: "solid",
13634
+ borderColor: e.colors.neutral30,
13628
13635
  borderRadius: e.borderRadius,
13629
13636
  cursor: "pointer",
13630
13637
  fontSize: "0.8125rem",
@@ -13647,7 +13654,7 @@ const di = (e) => ({
13647
13654
  });
13648
13655
  function Pm() {
13649
13656
  var D;
13650
- const e = pt(), {
13657
+ const e = dt(), {
13651
13658
  onChange: t,
13652
13659
  prop: n,
13653
13660
  value: i
@@ -13672,7 +13679,7 @@ function Pm() {
13672
13679
  }, [
13673
13680
  l
13674
13681
  ]);
13675
- const c = () => Array.isArray(i) ? i.map((B) => typeof B == "string" ? B : JSON.stringify(B)).filter((B) => B.trim() !== "") : [], p = (B) => B.filter((F) => F.trim() !== ""), f = (B, F) => {
13682
+ const c = () => Array.isArray(i) ? i.map((B) => typeof B == "string" ? B : JSON.stringify(B)).filter((B) => B.trim() !== "") : [], d = (B) => B.filter((F) => F.trim() !== ""), f = (B, F) => {
13676
13683
  if (B.length !== F.length)
13677
13684
  return !1;
13678
13685
  for (let w = 0; w < B.length; w += 1)
@@ -13681,7 +13688,7 @@ function Pm() {
13681
13688
  return !0;
13682
13689
  };
13683
13690
  be(() => {
13684
- const B = c(), F = p(s.current);
13691
+ const B = c(), F = d(s.current);
13685
13692
  f(F, B) || u(a());
13686
13693
  }, [
13687
13694
  i
@@ -13690,7 +13697,7 @@ function Pm() {
13690
13697
  }, [
13691
13698
  n.name
13692
13699
  ]);
13693
- const d = (B) => {
13700
+ const p = (B) => {
13694
13701
  const F = B.filter((w) => w.trim() !== "");
13695
13702
  if (F.length === 0) {
13696
13703
  t(void 0);
@@ -13701,7 +13708,7 @@ function Pm() {
13701
13708
  const w = [
13702
13709
  ...l
13703
13710
  ];
13704
- w[B] = F, u(w), d(w);
13711
+ w[B] = F, u(w), p(w);
13705
13712
  }, b = () => {
13706
13713
  const B = [
13707
13714
  ...l,
@@ -13712,8 +13719,8 @@ function Pm() {
13712
13719
  const F = l.filter((w, R) => R !== B);
13713
13720
  u(F.length > 0 ? F : [
13714
13721
  ""
13715
- ]), d(F);
13716
- }, I = gi(), P = hi(), A = di(o), E = Un(o), S = fi(o), x = ((D = l[l.length - 1]) == null ? void 0 : D.trim()) || l.length > 1;
13722
+ ]), p(F);
13723
+ }, I = gi(), P = hi(), A = pi(o), E = Un(o), S = fi(o), x = ((D = l[l.length - 1]) == null ? void 0 : D.trim()) || l.length > 1;
13717
13724
  return /* @__PURE__ */ ye("div", { ...r("controlArray", I, e), children: [
13718
13725
  l.map((B, F) => /* @__PURE__ */ ye("div", { style: P, children: [
13719
13726
  /* @__PURE__ */ O(
@@ -13757,7 +13764,7 @@ function Pm() {
13757
13764
  ] });
13758
13765
  }
13759
13766
  function Gm() {
13760
- const e = pt(), {
13767
+ const e = dt(), {
13761
13768
  id: t,
13762
13769
  value: n,
13763
13770
  onChange: i
@@ -13770,7 +13777,7 @@ function Gm() {
13770
13777
  }, e), checked: n ?? !1, onChange: (a) => i(a.target.checked) });
13771
13778
  }
13772
13779
  function Tm() {
13773
- const e = pt(), {
13780
+ const e = dt(), {
13774
13781
  id: t,
13775
13782
  onChange: n,
13776
13783
  prop: i,
@@ -13789,18 +13796,18 @@ function Tm() {
13789
13796
  gridArea: "control",
13790
13797
  boxShadow: a.boxShadow.input
13791
13798
  };
13792
- let u = "off", s = "text", c = (d) => d;
13799
+ let u = "off", s = "text", c = (p) => p;
13793
13800
  switch (i.type) {
13794
13801
  case "string":
13795
13802
  break;
13796
13803
  case "integer":
13797
- s = "number", c = (d) => d ? parseInt(d) : void 0;
13804
+ s = "number", c = (p) => p ? parseInt(p) : void 0;
13798
13805
  break;
13799
13806
  default:
13800
13807
  throw new Error("unexpected prop.type for ControlInput: " + i.type);
13801
13808
  }
13802
13809
  "secret" in i && i.secret && (s = "password", u = "new-password");
13803
- const p = ut(i, "integer") ? i.min : void 0, f = ut(i, "integer") ? i.max : void 0;
13810
+ const d = ut(i, "integer") ? i.min : void 0, f = ut(i, "integer") ? i.max : void 0;
13804
13811
  return /* @__PURE__ */ O(
13805
13812
  "input",
13806
13813
  {
@@ -13808,9 +13815,9 @@ function Tm() {
13808
13815
  type: s,
13809
13816
  name: i.name,
13810
13817
  value: String(r ?? ""),
13811
- onChange: (d) => n(c(d.target.value)),
13818
+ onChange: (p) => n(c(p.target.value)),
13812
13819
  ...o("controlInput", l, e),
13813
- min: p,
13820
+ min: d,
13814
13821
  max: f,
13815
13822
  autoComplete: u,
13816
13823
  "data-lpignore": "true",
@@ -13862,7 +13869,7 @@ const Fm = [
13862
13869
  }
13863
13870
  ];
13864
13871
  function Vm() {
13865
- const e = pt(), {
13872
+ const e = dt(), {
13866
13873
  onChange: t,
13867
13874
  prop: n,
13868
13875
  value: i
@@ -13886,7 +13893,7 @@ function Vm() {
13886
13893
  var ae, j;
13887
13894
  const G = i, g = a();
13888
13895
  return ((ae = G == null ? void 0 : G.body) == null ? void 0 : ae.contentType) ?? ((j = g == null ? void 0 : g.body) == null ? void 0 : j.contentType) ?? "application/json";
13889
- }, p = () => {
13896
+ }, d = () => {
13890
13897
  const G = i, g = a();
13891
13898
  return {
13892
13899
  url: (G == null ? void 0 : G.url) ?? (g == null ? void 0 : g.url) ?? "",
@@ -13898,17 +13905,17 @@ function Vm() {
13898
13905
  };
13899
13906
  }, [
13900
13907
  f,
13901
- d
13902
- ] = ce(p);
13908
+ p
13909
+ ] = ce(d);
13903
13910
  be(() => {
13904
- var m, pe, K, ee;
13911
+ var m, de, K, ee;
13905
13912
  const G = i, g = a(), ae = xn((G == null ? void 0 : G.headers) ?? (g == null ? void 0 : g.headers)), j = xn((G == null ? void 0 : G.params) ?? (g == null ? void 0 : g.params));
13906
- d({
13913
+ p({
13907
13914
  url: (G == null ? void 0 : G.url) ?? (g == null ? void 0 : g.url) ?? "",
13908
13915
  method: (G == null ? void 0 : G.method) ?? (g == null ? void 0 : g.method) ?? "GET",
13909
13916
  headers: ae,
13910
13917
  params: j,
13911
- body: ((m = G == null ? void 0 : G.body) == null ? void 0 : m.raw) ?? ((pe = g == null ? void 0 : g.body) == null ? void 0 : pe.raw) ?? "",
13918
+ body: ((m = G == null ? void 0 : G.body) == null ? void 0 : m.raw) ?? ((de = g == null ? void 0 : g.body) == null ? void 0 : de.raw) ?? "",
13912
13919
  bodyContentType: ((K = G == null ? void 0 : G.body) == null ? void 0 : K.contentType) ?? ((ee = g == null ? void 0 : g.body) == null ? void 0 : ee.contentType) ?? "application/json"
13913
13920
  });
13914
13921
  }, [
@@ -13934,13 +13941,13 @@ function Vm() {
13934
13941
  ...f,
13935
13942
  url: G
13936
13943
  };
13937
- d(g), t(y(g));
13944
+ p(g), t(y(g));
13938
13945
  }, C = (G) => {
13939
13946
  const g = {
13940
13947
  ...f,
13941
13948
  method: G
13942
13949
  };
13943
- d(g), t(y(g));
13950
+ p(g), t(y(g));
13944
13951
  }, I = (G, g, ae) => {
13945
13952
  const j = [
13946
13953
  ...f.headers
@@ -13953,7 +13960,7 @@ function Vm() {
13953
13960
  ...f,
13954
13961
  headers: j
13955
13962
  };
13956
- d(m), t(y(m));
13963
+ p(m), t(y(m));
13957
13964
  }, P = () => {
13958
13965
  const G = [
13959
13966
  ...f.headers,
@@ -13962,12 +13969,12 @@ function Vm() {
13962
13969
  value: ""
13963
13970
  }
13964
13971
  ];
13965
- d({
13972
+ p({
13966
13973
  ...f,
13967
13974
  headers: G
13968
13975
  });
13969
13976
  }, A = (G) => {
13970
- const g = f.headers.filter((m, pe) => pe !== G), ae = g.length > 0 ? g : [
13977
+ const g = f.headers.filter((m, de) => de !== G), ae = g.length > 0 ? g : [
13971
13978
  {
13972
13979
  key: "",
13973
13980
  value: ""
@@ -13976,20 +13983,20 @@ function Vm() {
13976
13983
  ...f,
13977
13984
  headers: ae
13978
13985
  };
13979
- d(j), t(y(j));
13986
+ p(j), t(y(j));
13980
13987
  }, E = (G) => {
13981
13988
  const g = {
13982
13989
  ...f,
13983
13990
  bodyContentType: G
13984
13991
  };
13985
- d(g), t(y(g));
13992
+ p(g), t(y(g));
13986
13993
  }, S = (G) => {
13987
13994
  const g = {
13988
13995
  ...f,
13989
13996
  body: G
13990
13997
  };
13991
- d(g), t(y(g));
13992
- }, x = gi(), D = hi(), B = di(o), F = Un(o), w = fi(o), R = {
13998
+ p(g), t(y(g));
13999
+ }, x = gi(), D = hi(), B = pi(o), F = Un(o), w = fi(o), R = {
13993
14000
  display: "flex",
13994
14001
  flexDirection: "column",
13995
14002
  gap: `${o.spacing.baseUnit}px`
@@ -14007,7 +14014,7 @@ function Vm() {
14007
14014
  width: "85px",
14008
14015
  borderTopRightRadius: 0,
14009
14016
  borderBottomRightRadius: 0,
14010
- borderRight: "none"
14017
+ borderRightWidth: 0
14011
14018
  }, X = {
14012
14019
  ...B,
14013
14020
  borderTopLeftRadius: 0,
@@ -14130,7 +14137,7 @@ function Vm() {
14130
14137
  ] });
14131
14138
  }
14132
14139
  function Om() {
14133
- const e = pt(), {
14140
+ const e = dt(), {
14134
14141
  onChange: t,
14135
14142
  prop: n,
14136
14143
  value: i
@@ -14236,7 +14243,7 @@ function Om() {
14236
14243
  S[x.key] = x.value;
14237
14244
  }
14238
14245
  }), t(S);
14239
- }, p = (A, E, S) => {
14246
+ }, d = (A, E, S) => {
14240
14247
  const x = [
14241
14248
  ...u
14242
14249
  ];
@@ -14253,7 +14260,7 @@ function Om() {
14253
14260
  }
14254
14261
  ];
14255
14262
  s(A);
14256
- }, d = (A) => {
14263
+ }, p = (A) => {
14257
14264
  const E = u.filter((S, x) => x !== A);
14258
14265
  s(E.length > 0 ? E : [
14259
14266
  {
@@ -14261,7 +14268,7 @@ function Om() {
14261
14268
  value: ""
14262
14269
  }
14263
14270
  ]), c(E);
14264
- }, y = gi(), b = hi(), C = di(o), I = Un(o), P = fi(o);
14271
+ }, y = gi(), b = hi(), C = pi(o), I = Un(o), P = fi(o);
14265
14272
  return /* @__PURE__ */ ye("div", { ...r("controlObject", y, e), children: [
14266
14273
  u.map((A, E) => /* @__PURE__ */ ye("div", { style: b, children: [
14267
14274
  /* @__PURE__ */ O(
@@ -14269,7 +14276,7 @@ function Om() {
14269
14276
  {
14270
14277
  type: "text",
14271
14278
  value: A.key,
14272
- onChange: (S) => p(E, "key", S.target.value),
14279
+ onChange: (S) => d(E, "key", S.target.value),
14273
14280
  placeholder: "Key",
14274
14281
  style: C,
14275
14282
  required: !n.optional && E === 0
@@ -14280,7 +14287,7 @@ function Om() {
14280
14287
  {
14281
14288
  type: "text",
14282
14289
  value: A.value,
14283
- onChange: (S) => p(E, "value", S.target.value),
14290
+ onChange: (S) => d(E, "value", S.target.value),
14284
14291
  placeholder: "Value",
14285
14292
  style: C
14286
14293
  }
@@ -14289,7 +14296,7 @@ function Om() {
14289
14296
  "button",
14290
14297
  {
14291
14298
  type: "button",
14292
- onClick: () => d(E),
14299
+ onClick: () => p(E),
14293
14300
  style: P,
14294
14301
  "aria-label": "Remove pair",
14295
14302
  children: "×"
@@ -14337,19 +14344,19 @@ var Nm = ["allowCreateWhileLoading", "createOptionPosition", "formatCreateLabel"
14337
14344
  }
14338
14345
  };
14339
14346
  function Dm(e) {
14340
- var t = e.allowCreateWhileLoading, n = t === void 0 ? !1 : t, i = e.createOptionPosition, r = i === void 0 ? "last" : i, o = e.formatCreateLabel, a = o === void 0 ? Ir.formatCreateLabel : o, l = e.isValidNewOption, u = l === void 0 ? Ir.isValidNewOption : l, s = e.getNewOptionData, c = s === void 0 ? Ir.getNewOptionData : s, p = e.onCreateOption, f = e.options, d = f === void 0 ? [] : f, y = e.onChange, b = ct(e, Nm), C = b.getOptionValue, I = C === void 0 ? al : C, P = b.getOptionLabel, A = P === void 0 ? ol : P, E = b.inputValue, S = b.isLoading, x = b.isMulti, D = b.value, B = b.name, F = de(function() {
14341
- return u(E, Nn(D), d, {
14347
+ var t = e.allowCreateWhileLoading, n = t === void 0 ? !1 : t, i = e.createOptionPosition, r = i === void 0 ? "last" : i, o = e.formatCreateLabel, a = o === void 0 ? Ir.formatCreateLabel : o, l = e.isValidNewOption, u = l === void 0 ? Ir.isValidNewOption : l, s = e.getNewOptionData, c = s === void 0 ? Ir.getNewOptionData : s, d = e.onCreateOption, f = e.options, p = f === void 0 ? [] : f, y = e.onChange, b = ct(e, Nm), C = b.getOptionValue, I = C === void 0 ? al : C, P = b.getOptionLabel, A = P === void 0 ? ol : P, E = b.inputValue, S = b.isLoading, x = b.isMulti, D = b.value, B = b.name, F = pe(function() {
14348
+ return u(E, Nn(D), p, {
14342
14349
  getOptionValue: I,
14343
14350
  getOptionLabel: A
14344
14351
  }) ? c(E, a(E)) : void 0;
14345
- }, [a, c, A, I, E, u, d, D]), w = de(function() {
14346
- return (n || !S) && F ? r === "first" ? [F].concat(Ht(d)) : [].concat(Ht(d), [F]) : d;
14347
- }, [n, r, S, F, d]), R = Re(function(T, z) {
14352
+ }, [a, c, A, I, E, u, p, D]), w = pe(function() {
14353
+ return (n || !S) && F ? r === "first" ? [F].concat(Ht(p)) : [].concat(Ht(p), [F]) : p;
14354
+ }, [n, r, S, F, p]), R = Re(function(T, z) {
14348
14355
  if (z.action !== "select-option")
14349
14356
  return y(T, z);
14350
14357
  var _ = Array.isArray(T) ? T : [T];
14351
14358
  if (_[_.length - 1] === F) {
14352
- if (p) p(E);
14359
+ if (d) d(E);
14353
14360
  else {
14354
14361
  var X = c(E, E), J = {
14355
14362
  action: "create-option",
@@ -14361,7 +14368,7 @@ function Dm(e) {
14361
14368
  return;
14362
14369
  }
14363
14370
  y(T, z);
14364
- }, [c, E, x, B, F, p, y, D]);
14371
+ }, [c, E, x, B, F, d, y, D]);
14365
14372
  return Q(Q({}, b), {}, {
14366
14373
  options: w,
14367
14374
  onChange: R
@@ -14381,29 +14388,29 @@ function zr({
14381
14388
  onLoadMore: r,
14382
14389
  components: o
14383
14390
  }) {
14384
- const a = pt(), {
14391
+ const a = dt(), {
14385
14392
  id: l,
14386
14393
  prop: u,
14387
14394
  value: s,
14388
14395
  onChange: c
14389
14396
  } = a, {
14390
- select: p,
14397
+ select: d,
14391
14398
  theme: f
14392
- } = Le(), d = de(() => jn(f.colors), [
14399
+ } = Le(), p = pe(() => jn(f.colors), [
14393
14400
  f.colors
14394
- ]), y = de(() => _n({
14401
+ ]), y = pe(() => _n({
14395
14402
  colors: {
14396
- surface: d.surface,
14397
- border: d.border,
14398
- text: d.text,
14399
- textStrong: d.textStrong,
14400
- hoverBg: d.hoverBg,
14401
- selectedBg: d.selectedBg,
14402
- selectedHoverBg: d.selectedHoverBg
14403
+ surface: p.surface,
14404
+ border: p.border,
14405
+ text: p.text,
14406
+ textStrong: p.textStrong,
14407
+ hoverBg: p.hoverBg,
14408
+ selectedBg: p.selectedBg,
14409
+ selectedHoverBg: p.selectedHoverBg
14403
14410
  },
14404
14411
  boxShadow: f.boxShadow
14405
14412
  }), [
14406
- d,
14413
+ p,
14407
14414
  f.boxShadow
14408
14415
  ]), [
14409
14416
  b,
@@ -14422,7 +14429,7 @@ function zr({
14422
14429
  }, [
14423
14430
  s
14424
14431
  ]);
14425
- const A = de(() => {
14432
+ const A = pe(() => {
14426
14433
  if (I == null)
14427
14434
  return null;
14428
14435
  if (ri(I)) {
@@ -14445,7 +14452,7 @@ function zr({
14445
14452
  }, [
14446
14453
  I,
14447
14454
  b
14448
- ]), E = p.getProps("controlSelect", {
14455
+ ]), E = d.getProps("controlSelect", {
14449
14456
  styles: y
14450
14457
  }), S = Te(r);
14451
14458
  be(() => {
@@ -14455,7 +14462,7 @@ function zr({
14455
14462
  ]);
14456
14463
  const x = Te(i);
14457
14464
  x.current = i;
14458
- const D = de(() => {
14465
+ const D = pe(() => {
14459
14466
  const z = {
14460
14467
  ...E.components ?? {},
14461
14468
  ...o ?? {}
@@ -14545,8 +14552,8 @@ function zr({
14545
14552
  }
14546
14553
  const zm = (e) => typeof e == "object" && e !== null && "query" in e && typeof e.query == "string";
14547
14554
  function Hm() {
14548
- var p;
14549
- const e = pt(), {
14555
+ var d;
14556
+ const e = dt(), {
14550
14557
  id: t,
14551
14558
  onChange: n,
14552
14559
  prop: i,
@@ -14557,7 +14564,7 @@ function Hm() {
14557
14564
  const {
14558
14565
  getProps: o,
14559
14566
  theme: a
14560
- } = Le(), l = ((p = i.auth) == null ? void 0 : p.app) || "postgresql";
14567
+ } = Le(), l = ((d = i.auth) == null ? void 0 : d.app) || "postgresql";
14561
14568
  let u = "";
14562
14569
  zm(r) ? u = r.query : typeof r == "string" && (u = r);
14563
14570
  const s = (f) => {
@@ -14608,11 +14615,11 @@ function Xm({ queryEnabled: e }) {
14608
14615
  idx: u,
14609
14616
  prop: s,
14610
14617
  onChange: c
14611
- } = pt(), [
14612
- p,
14618
+ } = dt(), [
14619
+ d,
14613
14620
  f
14614
14621
  ] = ce(""), [
14615
- d,
14622
+ p,
14616
14623
  y
14617
14624
  ] = ce(0), [
14618
14625
  b,
@@ -14630,7 +14637,7 @@ function Xm({ queryEnabled: e }) {
14630
14637
  // eslint-disable-next-line @typescript-eslint/no-unused-vars
14631
14638
  D,
14632
14639
  B
14633
- ] = ce(/* @__PURE__ */ new Set()), F = de(() => {
14640
+ ] = ce(/* @__PURE__ */ new Set()), F = pe(() => {
14634
14641
  const se = {};
14635
14642
  for (let xe = 0; xe < u; xe++) {
14636
14643
  const Ae = r[xe];
@@ -14641,41 +14648,41 @@ function Xm({ queryEnabled: e }) {
14641
14648
  u,
14642
14649
  r,
14643
14650
  o
14644
- ]), w = de(() => {
14651
+ ]), w = pe(() => {
14645
14652
  const se = r.find((xe) => xe.type === "app");
14646
14653
  return se ? o[se.name] : void 0;
14647
14654
  }, [
14648
14655
  r,
14649
14656
  o
14650
- ]), R = de(() => {
14657
+ ]), R = pe(() => {
14651
14658
  const se = {
14652
14659
  externalUserId: n,
14653
- page: d,
14660
+ page: p,
14654
14661
  prevContext: b,
14655
14662
  id: i.key,
14656
14663
  propName: s.name,
14657
14664
  configuredProps: F,
14658
14665
  dynamicPropsId: a == null ? void 0 : a.id
14659
14666
  };
14660
- return s.useQuery && (se.query = p || ""), se;
14667
+ return s.useQuery && (se.query = d || ""), se;
14661
14668
  }, [
14662
14669
  n,
14663
- d,
14670
+ p,
14664
14671
  b,
14665
14672
  i.key,
14666
14673
  s.name,
14667
14674
  s.useQuery,
14668
14675
  F,
14669
14676
  a == null ? void 0 : a.id,
14670
- p
14671
- ]), T = de(() => R, [
14677
+ d
14678
+ ]), T = pe(() => R, [
14672
14679
  R
14673
14680
  ]), [
14674
14681
  z,
14675
14682
  _
14676
14683
  ] = ce(), X = () => {
14677
14684
  y((se) => se + 1), C(I);
14678
- }, J = JSON.stringify(T), ie = JSON.stringify(w), oe = Te(), G = Te(), g = de(() => {
14685
+ }, J = JSON.stringify(T), ie = JSON.stringify(w), oe = Te(), G = Te(), g = pe(() => {
14679
14686
  const {
14680
14687
  page: se,
14681
14688
  prevContext: xe,
@@ -14684,15 +14691,15 @@ function Xm({ queryEnabled: e }) {
14684
14691
  return JSON.stringify(Ae);
14685
14692
  }, [
14686
14693
  R
14687
- ]), ae = de(() => r.some((se) => se.type === "app"), [
14694
+ ]), ae = pe(() => r.some((se) => se.type === "app"), [
14688
14695
  r
14689
- ]), j = de(() => !(!e || ae && !w), [
14696
+ ]), j = pe(() => !(!e || ae && !w), [
14690
14697
  e,
14691
14698
  ae,
14692
14699
  w
14693
14700
  ]), {
14694
14701
  data: m,
14695
- isFetching: pe,
14702
+ isFetching: de,
14696
14703
  refetch: K,
14697
14704
  dataUpdatedAt: ee
14698
14705
  } = Rt({
@@ -14744,7 +14751,7 @@ function Xm({ queryEnabled: e }) {
14744
14751
  return;
14745
14752
  }
14746
14753
  _(void 0), P(m.context);
14747
- const se = d === 0;
14754
+ const se = p === 0;
14748
14755
  let xe = !1;
14749
14756
  B((Ae) => {
14750
14757
  const Ne = se ? /* @__PURE__ */ new Set() : Ae, Pe = new Set(Ne);
@@ -14775,7 +14782,7 @@ function Xm({ queryEnabled: e }) {
14775
14782
  }), xe || E(!1);
14776
14783
  }, [
14777
14784
  m,
14778
- d,
14785
+ p,
14779
14786
  ee,
14780
14787
  J
14781
14788
  ]), be(() => {
@@ -14795,8 +14802,8 @@ function Xm({ queryEnabled: e }) {
14795
14802
  w,
14796
14803
  K
14797
14804
  ]);
14798
- const Be = de(() => !pe && !z && A, [
14799
- pe,
14805
+ const Be = pe(() => !de && !z && A, [
14806
+ de,
14800
14807
  z,
14801
14808
  A
14802
14809
  ]), fe = z ? z.message : l ? "Click to configure" : j ? void 0 : "Configure props above first", Oe = l ? !1 : !j;
@@ -14808,10 +14815,10 @@ function Xm({ queryEnabled: e }) {
14808
14815
  onLoadMore: X,
14809
14816
  options: S.map(He),
14810
14817
  selectProps: {
14811
- isLoading: pe,
14818
+ isLoading: de,
14812
14819
  placeholder: fe,
14813
14820
  isDisabled: Oe,
14814
- inputValue: s.useQuery ? p : void 0,
14821
+ inputValue: s.useQuery ? d : void 0,
14815
14822
  onInputChange(se) {
14816
14823
  s.useQuery && (f(se), K());
14817
14824
  },
@@ -14883,9 +14890,9 @@ function Zm(e) {
14883
14890
  } = o(), c = "app" in n.extra ? n.extra.app : void 0;
14884
14891
  if (c && !c.authType)
14885
14892
  return null;
14886
- let p = i.label || i.name;
14887
- return c && (p = `Connect ${c.name} account`), /* @__PURE__ */ ye("div", { ...r("field", a, e), children: [
14888
- /* @__PURE__ */ O(l, { text: p, field: n, form: t }),
14893
+ let d = i.label || i.name;
14894
+ return c && (d = `Connect ${c.name} account`), /* @__PURE__ */ ye("div", { ...r("field", a, e), children: [
14895
+ /* @__PURE__ */ O(l, { text: d, field: n, form: t }),
14889
14896
  /* @__PURE__ */ O(Wm, { field: n, form: t }),
14890
14897
  /* @__PURE__ */ O(u, { markdown: i.description, field: n, form: t }),
14891
14898
  /* @__PURE__ */ O(s, { field: n, form: t })
@@ -14928,14 +14935,14 @@ function Ym({
14928
14935
  enabled: !!s,
14929
14936
  suspense: !!s
14930
14937
  }
14931
- }), p = `pd${i}${e.name}`, f = Re((y) => {
14938
+ }), d = `pd${i}${e.name}`, f = Re((y) => {
14932
14939
  a(t, y);
14933
14940
  }, [
14934
14941
  t,
14935
14942
  e.name,
14936
14943
  a
14937
- ]), d = {
14938
- id: p,
14944
+ ]), p = {
14945
+ id: d,
14939
14946
  prop: e,
14940
14947
  idx: t,
14941
14948
  value: r[e.name],
@@ -14947,11 +14954,11 @@ function Ym({
14947
14954
  enableDebugging: u
14948
14955
  };
14949
14956
  return be(() => {
14950
- o(d);
14957
+ o(p);
14951
14958
  }, [
14952
14959
  e.name,
14953
14960
  o
14954
- ]), /* @__PURE__ */ O(hl.Provider, { value: d, children: /* @__PURE__ */ O(Zm, { field: d, form: n }) });
14961
+ ]), /* @__PURE__ */ O(hl.Provider, { value: p, children: /* @__PURE__ */ O(Zm, { field: p, form: n }) });
14955
14962
  }
14956
14963
  class jm extends Zo {
14957
14964
  constructor() {
@@ -15021,9 +15028,9 @@ function qm() {
15021
15028
  sdkErrors: u,
15022
15029
  submitting: s,
15023
15030
  enableDebugging: c
15024
- } = e, p = c || u.filter((w) => Um.includes(w.name)).length > 0, {
15031
+ } = e, d = c || u.filter((w) => Um.includes(w.name)).length > 0, {
15025
15032
  hideOptionalProps: f,
15026
- onSubmit: d
15033
+ onSubmit: p
15027
15034
  } = a, [
15028
15035
  y,
15029
15036
  b
@@ -15060,10 +15067,10 @@ ${w.message}`,
15060
15067
  lineHeight: "1.375",
15061
15068
  margin: "0 0 0.5rem 0"
15062
15069
  }, D = async (w) => {
15063
- if (d && (w.preventDefault(), i)) {
15070
+ if (p && (w.preventDefault(), i)) {
15064
15071
  l(!0);
15065
15072
  try {
15066
- await d(e);
15073
+ await p(e);
15067
15074
  } finally {
15068
15075
  l(!1);
15069
15076
  }
@@ -15112,8 +15119,8 @@ ${w.message}`,
15112
15119
  w.name
15113
15120
  )) })
15114
15121
  ] }) : null,
15115
- p && (y == null ? void 0 : y.map((w, R) => /* @__PURE__ */ O(Rr, { prop: w }, R))),
15116
- d && /* @__PURE__ */ O(_m, { form: e })
15122
+ d && (y == null ? void 0 : y.map((w, R) => /* @__PURE__ */ O(Rr, { prop: w }, R))),
15123
+ p && /* @__PURE__ */ O(_m, { form: e })
15117
15124
  ] }) }) });
15118
15125
  }
15119
15126
  function Qm(e) {
@@ -15151,7 +15158,7 @@ function sb(e) {
15151
15158
  ] }) : i ? /* @__PURE__ */ O(Qm, { component: i, ...e }) : /* @__PURE__ */ O("p", { children: "Component not found" });
15152
15159
  }
15153
15160
  function cb() {
15154
- const e = pt(), {
15161
+ const e = dt(), {
15155
15162
  id: t,
15156
15163
  onChange: n,
15157
15164
  value: i
@@ -15204,9 +15211,9 @@ function bl() {
15204
15211
  ] = ce(!1), [
15205
15212
  a,
15206
15213
  l
15207
- ] = ce(), u = Te(null), s = Te(), c = Km(), p = Re((d, y) => {
15214
+ ] = ce(), u = Te(null), s = Te(), c = Km(), d = Re((p, y) => {
15208
15215
  var P;
15209
- const b = Xo(d), C = (((P = s.current) == null ? void 0 : P.version) ?? 0) + 1;
15216
+ const b = Xo(p), C = (((P = s.current) == null ? void 0 : P.version) ?? 0) + 1;
15210
15217
  s.current = {
15211
15218
  version: C
15212
15219
  }, u.current = b;
@@ -15214,10 +15221,10 @@ function bl() {
15214
15221
  t(I), i(b.hasNextPage()), o(!1), l(void 0);
15215
15222
  }, []), f = Re(async () => {
15216
15223
  var C, I, P;
15217
- const d = s.current, y = u.current;
15218
- if (!d || !y || !n || r)
15224
+ const p = s.current, y = u.current;
15225
+ if (!p || !y || !n || r)
15219
15226
  return;
15220
- const b = d.version;
15227
+ const b = p.version;
15221
15228
  o(!0);
15222
15229
  try {
15223
15230
  const A = await y.getNextPage();
@@ -15243,7 +15250,7 @@ function bl() {
15243
15250
  isLoadingMore: r,
15244
15251
  loadMoreError: a,
15245
15252
  loadMore: f,
15246
- resetWithPage: p
15253
+ resetWithPage: d
15247
15254
  };
15248
15255
  }
15249
15256
  const eb = (e) => {
@@ -15265,8 +15272,8 @@ const eb = (e) => {
15265
15272
  })
15266
15273
  });
15267
15274
  return be(() => {
15268
- const c = JSON.stringify(e ?? null), p = u.current !== s.data;
15269
- !s.data || !ml(s.data) || !p || (u.current = s.data, l(s.data, c));
15275
+ const c = JSON.stringify(e ?? null), d = u.current !== s.data;
15276
+ !s.data || !ml(s.data) || !d || (u.current = s.data, l(s.data, c));
15270
15277
  }, [
15271
15278
  s.data,
15272
15279
  e,
@@ -15280,7 +15287,7 @@ const eb = (e) => {
15280
15287
  loadMoreError: a
15281
15288
  };
15282
15289
  };
15283
- function pb({
15290
+ function db({
15284
15291
  value: e,
15285
15292
  onChange: t,
15286
15293
  appsOptions: n
@@ -15304,14 +15311,14 @@ function pb({
15304
15311
  isLoading: u,
15305
15312
  isLoadingMore: s,
15306
15313
  hasMore: c,
15307
- loadMore: p,
15314
+ loadMore: d,
15308
15315
  // TODO error
15309
15316
  apps: f
15310
15317
  } = eb({
15311
15318
  ...n ?? {},
15312
15319
  q: o
15313
15320
  }), {
15314
- Option: d,
15321
+ Option: p,
15315
15322
  SingleValue: y,
15316
15323
  MenuList: b
15317
15324
  } = Jt, {
@@ -15319,19 +15326,19 @@ function pb({
15319
15326
  theme: I
15320
15327
  } = Le(), P = Te(s);
15321
15328
  P.current = s;
15322
- const A = de(() => (f == null ? void 0 : f.find((w) => w.nameSlug === (e == null ? void 0 : e.nameSlug))) || (e != null && e.nameSlug ? e : null), [
15329
+ const A = pe(() => (f == null ? void 0 : f.find((w) => w.nameSlug === (e == null ? void 0 : e.nameSlug))) || (e != null && e.nameSlug ? e : null), [
15323
15330
  f,
15324
15331
  e == null ? void 0 : e.nameSlug
15325
15332
  ]), E = Re(() => {
15326
- c && !s && p();
15333
+ c && !s && d();
15327
15334
  }, [
15328
15335
  c,
15329
15336
  s,
15330
- p
15331
- ]), S = de(() => jn(I.colors), [
15337
+ d
15338
+ ]), S = pe(() => jn(I.colors), [
15332
15339
  I.colors
15333
15340
  ]), D = {
15334
- styles: de(() => _n({
15341
+ styles: pe(() => _n({
15335
15342
  colors: {
15336
15343
  surface: S.surface,
15337
15344
  border: S.border,
@@ -15346,8 +15353,8 @@ function pb({
15346
15353
  S,
15347
15354
  I.boxShadow
15348
15355
  ])
15349
- }, B = C.getProps("selectApp", D), F = de(() => ({
15350
- Option: (w) => /* @__PURE__ */ O(d, { ...w, children: /* @__PURE__ */ ye("div", { style: {
15356
+ }, B = C.getProps("selectApp", D), F = pe(() => ({
15357
+ Option: (w) => /* @__PURE__ */ O(p, { ...w, children: /* @__PURE__ */ ye("div", { style: {
15351
15358
  display: "flex",
15352
15359
  gap: 10
15353
15360
  }, children: [
@@ -15403,7 +15410,7 @@ function pb({
15403
15410
  ] }),
15404
15411
  IndicatorSeparator: () => null
15405
15412
  }), [
15406
- d,
15413
+ p,
15407
15414
  y,
15408
15415
  b,
15409
15416
  S.appIconBg
@@ -15460,8 +15467,8 @@ const tb = (e) => {
15460
15467
  })
15461
15468
  });
15462
15469
  return be(() => {
15463
- const c = JSON.stringify(e ?? null), p = u.current !== s.data;
15464
- !s.data || !ml(s.data) || !p || (u.current = s.data, l(s.data, c));
15470
+ const c = JSON.stringify(e ?? null), d = u.current !== s.data;
15471
+ !s.data || !ml(s.data) || !d || (u.current = s.data, l(s.data, c));
15465
15472
  }, [
15466
15473
  s.data,
15467
15474
  e,
@@ -15475,7 +15482,7 @@ const tb = (e) => {
15475
15482
  loadMoreError: a
15476
15483
  };
15477
15484
  };
15478
- function db({
15485
+ function pb({
15479
15486
  app: e,
15480
15487
  componentType: t,
15481
15488
  value: n,
@@ -15491,27 +15498,27 @@ function db({
15491
15498
  app: e == null ? void 0 : e.nameSlug,
15492
15499
  componentType: t
15493
15500
  }), { MenuList: c } = Jt, {
15494
- select: p,
15501
+ select: d,
15495
15502
  theme: f
15496
- } = Le(), d = de(() => jn(f.colors), [
15503
+ } = Le(), p = pe(() => jn(f.colors), [
15497
15504
  f.colors
15498
- ]), y = de(() => _n({
15505
+ ]), y = pe(() => _n({
15499
15506
  colors: {
15500
- surface: d.surface,
15501
- border: d.border,
15502
- text: d.text,
15503
- textStrong: d.textStrong,
15504
- hoverBg: d.hoverBg,
15505
- selectedBg: d.selectedBg,
15506
- selectedHoverBg: d.selectedHoverBg
15507
+ surface: p.surface,
15508
+ border: p.border,
15509
+ text: p.text,
15510
+ textStrong: p.textStrong,
15511
+ hoverBg: p.hoverBg,
15512
+ selectedBg: p.selectedBg,
15513
+ selectedHoverBg: p.selectedHoverBg
15507
15514
  },
15508
15515
  boxShadow: f.boxShadow
15509
15516
  }), [
15510
- d,
15517
+ p,
15511
15518
  f.boxShadow
15512
15519
  ]), b = Te(a);
15513
15520
  b.current = a;
15514
- const C = de(() => (s == null ? void 0 : s.find((S) => S.key === (n == null ? void 0 : n.key))) || null, [
15521
+ const C = pe(() => (s == null ? void 0 : s.find((S) => S.key === (n == null ? void 0 : n.key))) || null, [
15515
15522
  s,
15516
15523
  n == null ? void 0 : n.key
15517
15524
  ]), I = Re(() => {
@@ -15522,7 +15529,7 @@ function db({
15522
15529
  u
15523
15530
  ]), P = {
15524
15531
  styles: y
15525
- }, A = p.getProps("selectComponent", P), E = de(() => ({
15532
+ }, A = d.getProps("selectComponent", P), E = pe(() => ({
15526
15533
  MenuList: (S) => /* @__PURE__ */ ye(c, { ...S, children: [
15527
15534
  S.children,
15528
15535
  b.current && /* @__PURE__ */ ye("div", { style: {
@@ -15588,7 +15595,7 @@ export {
15588
15595
  zr as ControlSelect,
15589
15596
  Hm as ControlSql,
15590
15597
  _m as ControlSubmit,
15591
- pi as CustomizationContext,
15598
+ di as CustomizationContext,
15592
15599
  ub as CustomizeProvider,
15593
15600
  fb as DEBUG_INFO,
15594
15601
  vm as Description,
@@ -15604,8 +15611,8 @@ export {
15604
15611
  xm as Label,
15605
15612
  Am as OptionalFieldButton,
15606
15613
  Xm as RemoteOptionsContainer,
15607
- pb as SelectApp,
15608
- db as SelectComponent,
15614
+ db as SelectApp,
15615
+ pb as SelectComponent,
15609
15616
  wm as defaultComponents,
15610
15617
  ci as defaultTheme,
15611
15618
  ym as getReactSelectTheme,
@@ -15619,6 +15626,6 @@ export {
15619
15626
  tb as useComponents,
15620
15627
  Le as useCustomize,
15621
15628
  Wn as useFormContext,
15622
- pt as useFormFieldContext,
15629
+ dt as useFormFieldContext,
15623
15630
  wt as useFrontendClient
15624
15631
  };