@burdenoff/microfe-support 2026.819.3 → 2026.819.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (95) hide show
  1. package/dist/_virtual/_rolldown/runtime.js +7 -0
  2. package/dist/microfe-support.css +1 -1
  3. package/dist/node_modules/@tiptap/core/dist/index.js +3453 -0
  4. package/dist/node_modules/@tiptap/core/dist/index.js.map +1 -0
  5. package/dist/node_modules/@tiptap/core/dist/jsx-runtime/jsx-runtime.js +21 -0
  6. package/dist/node_modules/@tiptap/core/dist/jsx-runtime/jsx-runtime.js.map +1 -0
  7. package/dist/node_modules/@tiptap/extension-blockquote/dist/index.js +76 -0
  8. package/dist/node_modules/@tiptap/extension-blockquote/dist/index.js.map +1 -0
  9. package/dist/node_modules/@tiptap/extension-bold/dist/index.js +74 -0
  10. package/dist/node_modules/@tiptap/extension-bold/dist/index.js.map +1 -0
  11. package/dist/node_modules/@tiptap/extension-code/dist/index.js +68 -0
  12. package/dist/node_modules/@tiptap/extension-code/dist/index.js.map +1 -0
  13. package/dist/node_modules/@tiptap/extension-code-block/dist/index.js +160 -0
  14. package/dist/node_modules/@tiptap/extension-code-block/dist/index.js.map +1 -0
  15. package/dist/node_modules/@tiptap/extension-document/dist/index.js +12 -0
  16. package/dist/node_modules/@tiptap/extension-document/dist/index.js.map +1 -0
  17. package/dist/node_modules/@tiptap/extension-hard-break/dist/index.js +51 -0
  18. package/dist/node_modules/@tiptap/extension-hard-break/dist/index.js.map +1 -0
  19. package/dist/node_modules/@tiptap/extension-heading/dist/index.js +68 -0
  20. package/dist/node_modules/@tiptap/extension-heading/dist/index.js.map +1 -0
  21. package/dist/node_modules/@tiptap/extension-horizontal-rule/dist/index.js +50 -0
  22. package/dist/node_modules/@tiptap/extension-horizontal-rule/dist/index.js.map +1 -0
  23. package/dist/node_modules/@tiptap/extension-italic/dist/index.js +71 -0
  24. package/dist/node_modules/@tiptap/extension-italic/dist/index.js.map +1 -0
  25. package/dist/node_modules/@tiptap/extension-link/dist/index.js +373 -0
  26. package/dist/node_modules/@tiptap/extension-link/dist/index.js.map +1 -0
  27. package/dist/node_modules/@tiptap/extension-list/dist/index.js +964 -0
  28. package/dist/node_modules/@tiptap/extension-list/dist/index.js.map +1 -0
  29. package/dist/node_modules/@tiptap/extension-paragraph/dist/index.js +46 -0
  30. package/dist/node_modules/@tiptap/extension-paragraph/dist/index.js.map +1 -0
  31. package/dist/node_modules/@tiptap/extension-placeholder/dist/index.js +7 -0
  32. package/dist/node_modules/@tiptap/extension-placeholder/dist/index.js.map +1 -0
  33. package/dist/node_modules/@tiptap/extension-strike/dist/index.js +56 -0
  34. package/dist/node_modules/@tiptap/extension-strike/dist/index.js.map +1 -0
  35. package/dist/node_modules/@tiptap/extension-text/dist/index.js +15 -0
  36. package/dist/node_modules/@tiptap/extension-text/dist/index.js.map +1 -0
  37. package/dist/node_modules/@tiptap/extension-underline/dist/index.js +63 -0
  38. package/dist/node_modules/@tiptap/extension-underline/dist/index.js.map +1 -0
  39. package/dist/node_modules/@tiptap/extensions/dist/index.js +459 -0
  40. package/dist/node_modules/@tiptap/extensions/dist/index.js.map +1 -0
  41. package/dist/node_modules/@tiptap/react/dist/index.js +316 -0
  42. package/dist/node_modules/@tiptap/react/dist/index.js.map +1 -0
  43. package/dist/node_modules/@tiptap/starter-kit/dist/index.js +29 -0
  44. package/dist/node_modules/@tiptap/starter-kit/dist/index.js.map +1 -0
  45. package/dist/node_modules/fast-equals/dist/es/index.js +267 -0
  46. package/dist/node_modules/fast-equals/dist/es/index.js.map +1 -0
  47. package/dist/node_modules/linkifyjs/dist/linkify.js +514 -0
  48. package/dist/node_modules/linkifyjs/dist/linkify.js.map +1 -0
  49. package/dist/node_modules/orderedmap/dist/index.js +69 -0
  50. package/dist/node_modules/orderedmap/dist/index.js.map +1 -0
  51. package/dist/node_modules/prosemirror-commands/dist/index.js +335 -0
  52. package/dist/node_modules/prosemirror-commands/dist/index.js.map +1 -0
  53. package/dist/node_modules/prosemirror-dropcursor/dist/index.js +113 -0
  54. package/dist/node_modules/prosemirror-dropcursor/dist/index.js.map +1 -0
  55. package/dist/node_modules/prosemirror-gapcursor/dist/index.js +173 -0
  56. package/dist/node_modules/prosemirror-gapcursor/dist/index.js.map +1 -0
  57. package/dist/node_modules/prosemirror-history/dist/index.js +214 -0
  58. package/dist/node_modules/prosemirror-history/dist/index.js.map +1 -0
  59. package/dist/node_modules/prosemirror-keymap/dist/index.js +52 -0
  60. package/dist/node_modules/prosemirror-keymap/dist/index.js.map +1 -0
  61. package/dist/node_modules/prosemirror-model/dist/index.js +1786 -0
  62. package/dist/node_modules/prosemirror-model/dist/index.js.map +1 -0
  63. package/dist/node_modules/prosemirror-schema-list/dist/index.js +75 -0
  64. package/dist/node_modules/prosemirror-schema-list/dist/index.js.map +1 -0
  65. package/dist/node_modules/prosemirror-state/dist/index.js +527 -0
  66. package/dist/node_modules/prosemirror-state/dist/index.js.map +1 -0
  67. package/dist/node_modules/prosemirror-transform/dist/index.js +1153 -0
  68. package/dist/node_modules/prosemirror-transform/dist/index.js.map +1 -0
  69. package/dist/node_modules/prosemirror-view/dist/index.js +3296 -0
  70. package/dist/node_modules/prosemirror-view/dist/index.js.map +1 -0
  71. package/dist/node_modules/rope-sequence/dist/index.js +85 -0
  72. package/dist/node_modules/rope-sequence/dist/index.js.map +1 -0
  73. package/dist/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim/with-selector.development.js +56 -0
  74. package/dist/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim/with-selector.development.js.map +1 -0
  75. package/dist/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim/with-selector.production.js +54 -0
  76. package/dist/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim/with-selector.production.js.map +1 -0
  77. package/dist/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.development.js +54 -0
  78. package/dist/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.development.js.map +1 -0
  79. package/dist/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.production.js +46 -0
  80. package/dist/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.production.js.map +1 -0
  81. package/dist/node_modules/use-sync-external-store/shim/index.js +12 -0
  82. package/dist/node_modules/use-sync-external-store/shim/index.js.map +1 -0
  83. package/dist/node_modules/use-sync-external-store/shim/with-selector.js +12 -0
  84. package/dist/node_modules/use-sync-external-store/shim/with-selector.js.map +1 -0
  85. package/dist/node_modules/w3c-keyname/index.js +90 -0
  86. package/dist/node_modules/w3c-keyname/index.js.map +1 -0
  87. package/dist/support/components/careers/RichTextEditor.d.ts +16 -0
  88. package/dist/support/components/careers/RichTextEditor.js +87 -0
  89. package/dist/support/components/careers/RichTextEditor.js.map +1 -0
  90. package/dist/support/pages/JobApplicationDetailPage.d.ts +1 -0
  91. package/dist/support/pages/JobApplicationDetailPage.js +338 -336
  92. package/dist/support/pages/JobApplicationDetailPage.js.map +1 -1
  93. package/dist/support/pages/JobPostingDetailPage.js +310 -303
  94. package/dist/support/pages/JobPostingDetailPage.js.map +1 -1
  95. package/package.json +4 -1
@@ -0,0 +1,85 @@
1
+ //#region node_modules/rope-sequence/dist/index.js
2
+ var e = function() {};
3
+ e.prototype.append = function(t) {
4
+ return t.length ? (t = e.from(t), !this.length && t || t.length < 200 && this.leafAppend(t) || this.length < 200 && t.leafPrepend(this) || this.appendInner(t)) : this;
5
+ }, e.prototype.prepend = function(t) {
6
+ return t.length ? e.from(t).append(this) : this;
7
+ }, e.prototype.appendInner = function(e) {
8
+ return new n(this, e);
9
+ }, e.prototype.slice = function(t, n) {
10
+ return t === void 0 && (t = 0), n === void 0 && (n = this.length), t >= n ? e.empty : this.sliceInner(Math.max(0, t), Math.min(this.length, n));
11
+ }, e.prototype.get = function(e) {
12
+ if (!(e < 0 || e >= this.length)) return this.getInner(e);
13
+ }, e.prototype.forEach = function(e, t, n) {
14
+ t === void 0 && (t = 0), n === void 0 && (n = this.length), t <= n ? this.forEachInner(e, t, n, 0) : this.forEachInvertedInner(e, t, n, 0);
15
+ }, e.prototype.map = function(e, t, n) {
16
+ t === void 0 && (t = 0), n === void 0 && (n = this.length);
17
+ var r = [];
18
+ return this.forEach(function(t, n) {
19
+ return r.push(e(t, n));
20
+ }, t, n), r;
21
+ }, e.from = function(n) {
22
+ return n instanceof e ? n : n && n.length ? new t(n) : e.empty;
23
+ };
24
+ var t = /* @__PURE__ */ function(e) {
25
+ function t(t) {
26
+ e.call(this), this.values = t;
27
+ }
28
+ e && (t.__proto__ = e), t.prototype = Object.create(e && e.prototype), t.prototype.constructor = t;
29
+ var n = {
30
+ length: { configurable: !0 },
31
+ depth: { configurable: !0 }
32
+ };
33
+ return t.prototype.flatten = function() {
34
+ return this.values;
35
+ }, t.prototype.sliceInner = function(e, n) {
36
+ return e == 0 && n == this.length ? this : new t(this.values.slice(e, n));
37
+ }, t.prototype.getInner = function(e) {
38
+ return this.values[e];
39
+ }, t.prototype.forEachInner = function(e, t, n, r) {
40
+ for (var i = t; i < n; i++) if (e(this.values[i], r + i) === !1) return !1;
41
+ }, t.prototype.forEachInvertedInner = function(e, t, n, r) {
42
+ for (var i = t - 1; i >= n; i--) if (e(this.values[i], r + i) === !1) return !1;
43
+ }, t.prototype.leafAppend = function(e) {
44
+ if (this.length + e.length <= 200) return new t(this.values.concat(e.flatten()));
45
+ }, t.prototype.leafPrepend = function(e) {
46
+ if (this.length + e.length <= 200) return new t(e.flatten().concat(this.values));
47
+ }, n.length.get = function() {
48
+ return this.values.length;
49
+ }, n.depth.get = function() {
50
+ return 0;
51
+ }, Object.defineProperties(t.prototype, n), t;
52
+ }(e);
53
+ e.empty = new t([]);
54
+ var n = /* @__PURE__ */ function(e) {
55
+ function t(t, n) {
56
+ e.call(this), this.left = t, this.right = n, this.length = t.length + n.length, this.depth = Math.max(t.depth, n.depth) + 1;
57
+ }
58
+ return e && (t.__proto__ = e), t.prototype = Object.create(e && e.prototype), t.prototype.constructor = t, t.prototype.flatten = function() {
59
+ return this.left.flatten().concat(this.right.flatten());
60
+ }, t.prototype.getInner = function(e) {
61
+ return e < this.left.length ? this.left.get(e) : this.right.get(e - this.left.length);
62
+ }, t.prototype.forEachInner = function(e, t, n, r) {
63
+ var i = this.left.length;
64
+ if (t < i && this.left.forEachInner(e, t, Math.min(n, i), r) === !1 || n > i && this.right.forEachInner(e, Math.max(t - i, 0), Math.min(this.length, n) - i, r + i) === !1) return !1;
65
+ }, t.prototype.forEachInvertedInner = function(e, t, n, r) {
66
+ var i = this.left.length;
67
+ if (t > i && this.right.forEachInvertedInner(e, t - i, Math.max(n, i) - i, r + i) === !1 || n < i && this.left.forEachInvertedInner(e, Math.min(t, i), n, r) === !1) return !1;
68
+ }, t.prototype.sliceInner = function(e, t) {
69
+ if (e == 0 && t == this.length) return this;
70
+ var n = this.left.length;
71
+ return t <= n ? this.left.slice(e, t) : e >= n ? this.right.slice(e - n, t - n) : this.left.slice(e, n).append(this.right.slice(0, t - n));
72
+ }, t.prototype.leafAppend = function(e) {
73
+ var n = this.right.leafAppend(e);
74
+ if (n) return new t(this.left, n);
75
+ }, t.prototype.leafPrepend = function(e) {
76
+ var n = this.left.leafPrepend(e);
77
+ if (n) return new t(n, this.right);
78
+ }, t.prototype.appendInner = function(e) {
79
+ return this.left.depth >= Math.max(this.right.depth, e.depth) + 1 ? new t(this.left, new t(this.right, e)) : new t(this, e);
80
+ }, t;
81
+ }(e);
82
+ //#endregion
83
+ export { e as default };
84
+
85
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","names":[],"sources":["../../../../node_modules/rope-sequence/dist/index.js"],"sourcesContent":["var GOOD_LEAF_SIZE = 200;\n\n// :: class<T> A rope sequence is a persistent sequence data structure\n// that supports appending, prepending, and slicing without doing a\n// full copy. It is represented as a mostly-balanced tree.\nvar RopeSequence = function RopeSequence () {};\n\nRopeSequence.prototype.append = function append (other) {\n if (!other.length) { return this }\n other = RopeSequence.from(other);\n\n return (!this.length && other) ||\n (other.length < GOOD_LEAF_SIZE && this.leafAppend(other)) ||\n (this.length < GOOD_LEAF_SIZE && other.leafPrepend(this)) ||\n this.appendInner(other)\n};\n\n// :: (union<[T], RopeSequence<T>>) → RopeSequence<T>\n// Prepend an array or other rope to this one, returning a new rope.\nRopeSequence.prototype.prepend = function prepend (other) {\n if (!other.length) { return this }\n return RopeSequence.from(other).append(this)\n};\n\nRopeSequence.prototype.appendInner = function appendInner (other) {\n return new Append(this, other)\n};\n\n// :: (?number, ?number) → RopeSequence<T>\n// Create a rope repesenting a sub-sequence of this rope.\nRopeSequence.prototype.slice = function slice (from, to) {\n if ( from === void 0 ) from = 0;\n if ( to === void 0 ) to = this.length;\n\n if (from >= to) { return RopeSequence.empty }\n return this.sliceInner(Math.max(0, from), Math.min(this.length, to))\n};\n\n// :: (number) → T\n// Retrieve the element at the given position from this rope.\nRopeSequence.prototype.get = function get (i) {\n if (i < 0 || i >= this.length) { return undefined }\n return this.getInner(i)\n};\n\n// :: ((element: T, index: number) → ?bool, ?number, ?number)\n// Call the given function for each element between the given\n// indices. This tends to be more efficient than looping over the\n// indices and calling `get`, because it doesn't have to descend the\n// tree for every element.\nRopeSequence.prototype.forEach = function forEach (f, from, to) {\n if ( from === void 0 ) from = 0;\n if ( to === void 0 ) to = this.length;\n\n if (from <= to)\n { this.forEachInner(f, from, to, 0); }\n else\n { this.forEachInvertedInner(f, from, to, 0); }\n};\n\n// :: ((element: T, index: number) → U, ?number, ?number) → [U]\n// Map the given functions over the elements of the rope, producing\n// a flat array.\nRopeSequence.prototype.map = function map (f, from, to) {\n if ( from === void 0 ) from = 0;\n if ( to === void 0 ) to = this.length;\n\n var result = [];\n this.forEach(function (elt, i) { return result.push(f(elt, i)); }, from, to);\n return result\n};\n\n// :: (?union<[T], RopeSequence<T>>) → RopeSequence<T>\n// Create a rope representing the given array, or return the rope\n// itself if a rope was given.\nRopeSequence.from = function from (values) {\n if (values instanceof RopeSequence) { return values }\n return values && values.length ? new Leaf(values) : RopeSequence.empty\n};\n\nvar Leaf = /*@__PURE__*/(function (RopeSequence) {\n function Leaf(values) {\n RopeSequence.call(this);\n this.values = values;\n }\n\n if ( RopeSequence ) Leaf.__proto__ = RopeSequence;\n Leaf.prototype = Object.create( RopeSequence && RopeSequence.prototype );\n Leaf.prototype.constructor = Leaf;\n\n var prototypeAccessors = { length: { configurable: true },depth: { configurable: true } };\n\n Leaf.prototype.flatten = function flatten () {\n return this.values\n };\n\n Leaf.prototype.sliceInner = function sliceInner (from, to) {\n if (from == 0 && to == this.length) { return this }\n return new Leaf(this.values.slice(from, to))\n };\n\n Leaf.prototype.getInner = function getInner (i) {\n return this.values[i]\n };\n\n Leaf.prototype.forEachInner = function forEachInner (f, from, to, start) {\n for (var i = from; i < to; i++)\n { if (f(this.values[i], start + i) === false) { return false } }\n };\n\n Leaf.prototype.forEachInvertedInner = function forEachInvertedInner (f, from, to, start) {\n for (var i = from - 1; i >= to; i--)\n { if (f(this.values[i], start + i) === false) { return false } }\n };\n\n Leaf.prototype.leafAppend = function leafAppend (other) {\n if (this.length + other.length <= GOOD_LEAF_SIZE)\n { return new Leaf(this.values.concat(other.flatten())) }\n };\n\n Leaf.prototype.leafPrepend = function leafPrepend (other) {\n if (this.length + other.length <= GOOD_LEAF_SIZE)\n { return new Leaf(other.flatten().concat(this.values)) }\n };\n\n prototypeAccessors.length.get = function () { return this.values.length };\n\n prototypeAccessors.depth.get = function () { return 0 };\n\n Object.defineProperties( Leaf.prototype, prototypeAccessors );\n\n return Leaf;\n}(RopeSequence));\n\n// :: RopeSequence\n// The empty rope sequence.\nRopeSequence.empty = new Leaf([]);\n\nvar Append = /*@__PURE__*/(function (RopeSequence) {\n function Append(left, right) {\n RopeSequence.call(this);\n this.left = left;\n this.right = right;\n this.length = left.length + right.length;\n this.depth = Math.max(left.depth, right.depth) + 1;\n }\n\n if ( RopeSequence ) Append.__proto__ = RopeSequence;\n Append.prototype = Object.create( RopeSequence && RopeSequence.prototype );\n Append.prototype.constructor = Append;\n\n Append.prototype.flatten = function flatten () {\n return this.left.flatten().concat(this.right.flatten())\n };\n\n Append.prototype.getInner = function getInner (i) {\n return i < this.left.length ? this.left.get(i) : this.right.get(i - this.left.length)\n };\n\n Append.prototype.forEachInner = function forEachInner (f, from, to, start) {\n var leftLen = this.left.length;\n if (from < leftLen &&\n this.left.forEachInner(f, from, Math.min(to, leftLen), start) === false)\n { return false }\n if (to > leftLen &&\n this.right.forEachInner(f, Math.max(from - leftLen, 0), Math.min(this.length, to) - leftLen, start + leftLen) === false)\n { return false }\n };\n\n Append.prototype.forEachInvertedInner = function forEachInvertedInner (f, from, to, start) {\n var leftLen = this.left.length;\n if (from > leftLen &&\n this.right.forEachInvertedInner(f, from - leftLen, Math.max(to, leftLen) - leftLen, start + leftLen) === false)\n { return false }\n if (to < leftLen &&\n this.left.forEachInvertedInner(f, Math.min(from, leftLen), to, start) === false)\n { return false }\n };\n\n Append.prototype.sliceInner = function sliceInner (from, to) {\n if (from == 0 && to == this.length) { return this }\n var leftLen = this.left.length;\n if (to <= leftLen) { return this.left.slice(from, to) }\n if (from >= leftLen) { return this.right.slice(from - leftLen, to - leftLen) }\n return this.left.slice(from, leftLen).append(this.right.slice(0, to - leftLen))\n };\n\n Append.prototype.leafAppend = function leafAppend (other) {\n var inner = this.right.leafAppend(other);\n if (inner) { return new Append(this.left, inner) }\n };\n\n Append.prototype.leafPrepend = function leafPrepend (other) {\n var inner = this.left.leafPrepend(other);\n if (inner) { return new Append(inner, this.right) }\n };\n\n Append.prototype.appendInner = function appendInner (other) {\n if (this.left.depth >= Math.max(this.right.depth, other.depth) + 1)\n { return new Append(this.left, new Append(this.right, other)) }\n return new Append(this, other)\n };\n\n return Append;\n}(RopeSequence));\n\nexport default RopeSequence;\n"],"x_google_ignoreList":[0],"mappings":";AAAA,IAKI,IAAe,WAAyB,CAAC;AAE7C,EAAa,UAAU,SAAS,SAAiB,GAAO;CAItD,OAHK,EAAM,UACX,IAAQ,EAAa,KAAK,CAAK,G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JSMin as e, __require as t } from "../../../../_virtual/_rolldown/runtime.js";
2
+ import { require_shim as n } from "../../shim/index.js";
3
+ //#region node_modules/use-sync-external-store/cjs/use-sync-external-store-shim/with-selector.development.js
4
+ var r = /* @__PURE__ */ e(((e) => {
5
+ process.env.NODE_ENV !== "production" && (function() {
6
+ function r(e, t) {
7
+ return e === t && (e !== 0 || 1 / e == 1 / t) || e !== e && t !== t;
8
+ }
9
+ typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());
10
+ var i = t("react"), a = n(), o = typeof Object.is == "function" ? Object.is : r, s = a.useSyncExternalStore, c = i.useRef, l = i.useEffect, u = i.useMemo, d = i.useDebugValue;
11
+ e.useSyncExternalStoreWithSelector = function(e, t, n, r, i) {
12
+ var a = c(null);
13
+ if (a.current === null) {
14
+ var f = {
15
+ hasValue: !1,
16
+ value: null
17
+ };
18
+ a.current = f;
19
+ } else f = a.current;
20
+ a = u(function() {
21
+ function e(e) {
22
+ if (!a) {
23
+ if (a = !0, s = e, e = r(e), i !== void 0 && f.hasValue) {
24
+ var t = f.value;
25
+ if (i(t, e)) return c = t;
26
+ }
27
+ return c = e;
28
+ }
29
+ if (t = c, o(s, e)) return t;
30
+ var n = r(e);
31
+ return i !== void 0 && i(t, n) ? (s = e, t) : (s = e, c = n);
32
+ }
33
+ var a = !1, s, c, l = n === void 0 ? null : n;
34
+ return [function() {
35
+ return e(t());
36
+ }, l === null ? void 0 : function() {
37
+ return e(l());
38
+ }];
39
+ }, [
40
+ t,
41
+ n,
42
+ r,
43
+ i
44
+ ]);
45
+ var p = s(e, a[0], a[1]);
46
+ return l(function() {
47
+ f.hasValue = !0, f.value = p;
48
+ }, [p]), d(p), p;
49
+ }, typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error());
50
+ })();
51
+ }));
52
+ //#endregion
53
+ export default r();
54
+ export { r as require_with_selector_development };
55
+
56
+ //# sourceMappingURL=with-selector.development.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"with-selector.development.js","names":[],"sources":["../../../../../node_modules/use-sync-external-store/cjs/use-sync-external-store-shim/with-selector.development.js"],"sourcesContent":["/**\n * @license React\n * use-sync-external-store-shim/with-selector.development.js\n *\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n\"use strict\";\n\"production\" !== process.env.NODE_ENV &&\n (function () {\n function is(x, y) {\n return (x === y && (0 !== x || 1 / x === 1 / y)) || (x !== x && y !== y);\n }\n \"undefined\" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&\n \"function\" ===\n typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart &&\n __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());\n var React = require(\"react\"),\n shim = require(\"use-sync-external-store/shim\"),\n objectIs = \"function\" === typeof Object.is ? Object.is : is,\n useSyncExternalStore = shim.useSyncExternalStore,\n useRef = React.useRef,\n useEffect = React.useEffect,\n useMemo = React.useMemo,\n useDebugValue = React.useDebugValue;\n exports.useSyncExternalStoreWithSelector = function (\n subscribe,\n getSnapshot,\n getServerSnapshot,\n selector,\n isEqual\n ) {\n var instRef = useRef(null);\n if (null === instRef.current) {\n var inst = { hasValue: !1, value: null };\n instRef.current = inst;\n } else inst = instRef.current;\n instRef = useMemo(\n function () {\n function memoizedSelector(nextSnapshot) {\n if (!hasMemo) {\n hasMemo = !0;\n memoizedSnapshot = nextSnapshot;\n nextSnapshot = selector(nextSnapshot);\n if (void 0 !== isEqual && inst.hasValue) {\n var currentSelection = inst.value;\n if (isEqual(currentSelection, nextSnapshot))\n return (memoizedSelection = currentSelection);\n }\n return (memoizedSelection = nextSnapshot);\n }\n currentSelection = memoizedSelection;\n if (objectIs(memoizedSnapshot, nextSnapshot))\n return currentSelection;\n var nextSelection = selector(nextSnapshot);\n if (void 0 !== isEqual && isEqual(currentSelection, nextSelection))\n return (memoizedSnapshot = nextSnapshot), currentSelection;\n memoizedSnapshot = nextSnapshot;\n return (memoizedSelection = nextSelection);\n }\n var hasMemo = !1,\n memoizedSnapshot,\n memoizedSelection,\n maybeGetServerSnapshot =\n void 0 === getServerSnapshot ? null : getServerSnapshot;\n return [\n function () {\n return memoizedSelector(getSnapshot());\n },\n null === maybeGetServerSnapshot\n ? void 0\n : function () {\n return memoizedSelector(maybeGetServerSnapshot());\n }\n ];\n },\n [getSnapshot, getServerSnapshot, selector, isEqual]\n );\n var value = useSyncExternalStore(subscribe, instRef[0], instRef[1]);\n useEffect(\n function () {\n inst.hasValue = !0;\n inst.value = value;\n },\n [value]\n );\n useDebugValue(value);\n return value;\n };\n \"undefined\" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&\n \"function\" ===\n typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&\n __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error());\n })();\n"],"x_google_ignoreList":[0],"mappings":";;;;CAWA,AAAA,QAAA,IAAA,aAAA,iBACG,WAAY;EACX,SAAS,EAAG,GAAG,GAAG;GAChB,OAAQ,MAAM,MAAY,MAAN,KAAW,IAAI,KAAM,IAAI,MAAQ,MAAM,KAAK,MAAM;EACxE;EACA,AAAgB,OAAO,iCAAvB,OAEI,OAAO,+BAA+B,+BADxC,cAEA,+BAA+B,4BAA4B,MAAM,CAAC;EACpE,IAAI,IAAA,EAAgB,OAAO,GACzB,IAAA,EAAA,GACA,IAA0B,OAAO,OAAO,MAA7B,aAAkC,OAAO,KAAK,GACzD,IAAuB,EAAK,sBAC5B,IAAS,EAAM,QACf,IAAY,EAAM,WA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AAM,CAAC;CACrE,EAAA,CAAG"}
@@ -0,0 +1,54 @@
1
+ import { __commonJSMin as e, __require as t } from "../../../../_virtual/_rolldown/runtime.js";
2
+ import { require_shim as n } from "../../shim/index.js";
3
+ //#region node_modules/use-sync-external-store/cjs/use-sync-external-store-shim/with-selector.production.js
4
+ var r = /* @__PURE__ */ e(((e) => {
5
+ var r = t("react"), i = n();
6
+ function a(e, t) {
7
+ return e === t && (e !== 0 || 1 / e == 1 / t) || e !== e && t !== t;
8
+ }
9
+ var o = typeof Object.is == "function" ? Object.is : a, s = i.useSyncExternalStore, c = r.useRef, l = r.useEffect, u = r.useMemo, d = r.useDebugValue;
10
+ e.useSyncExternalStoreWithSelector = function(e, t, n, r, i) {
11
+ var a = c(null);
12
+ if (a.current === null) {
13
+ var f = {
14
+ hasValue: !1,
15
+ value: null
16
+ };
17
+ a.current = f;
18
+ } else f = a.current;
19
+ a = u(function() {
20
+ function e(e) {
21
+ if (!a) {
22
+ if (a = !0, s = e, e = r(e), i !== void 0 && f.hasValue) {
23
+ var t = f.value;
24
+ if (i(t, e)) return c = t;
25
+ }
26
+ return c = e;
27
+ }
28
+ if (t = c, o(s, e)) return t;
29
+ var n = r(e);
30
+ return i !== void 0 && i(t, n) ? (s = e, t) : (s = e, c = n);
31
+ }
32
+ var a = !1, s, c, l = n === void 0 ? null : n;
33
+ return [function() {
34
+ return e(t());
35
+ }, l === null ? void 0 : function() {
36
+ return e(l());
37
+ }];
38
+ }, [
39
+ t,
40
+ n,
41
+ r,
42
+ i
43
+ ]);
44
+ var p = s(e, a[0], a[1]);
45
+ return l(function() {
46
+ f.hasValue = !0, f.value = p;
47
+ }, [p]), d(p), p;
48
+ };
49
+ }));
50
+ //#endregion
51
+ export default r();
52
+ export { r as require_with_selector_production };
53
+
54
+ //# sourceMappingURL=with-selector.production.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"with-selector.production.js","names":[],"sources":["../../../../../node_modules/use-sync-external-store/cjs/use-sync-external-store-shim/with-selector.production.js"],"sourcesContent":["/**\n * @license React\n * use-sync-external-store-shim/with-selector.production.js\n *\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n\"use strict\";\nvar React = require(\"react\"),\n shim = require(\"use-sync-external-store/shim\");\nfunction is(x, y) {\n return (x === y && (0 !== x || 1 / x === 1 / y)) || (x !== x && y !== y);\n}\nvar objectIs = \"function\" === typeof Object.is ? Object.is : is,\n useSyncExternalStore = shim.useSyncExternalStore,\n useRef = React.useRef,\n useEffect = React.useEffect,\n useMemo = React.useMemo,\n useDebugValue = React.useDebugValue;\nexports.useSyncExternalStoreWithSelector = function (\n subscribe,\n getSnapshot,\n getServerSnapshot,\n selector,\n isEqual\n) {\n var instRef = useRef(null);\n if (null === instRef.current) {\n var inst = { hasValue: !1, value: null };\n instRef.current = inst;\n } else inst = instRef.current;\n instRef = useMemo(\n function () {\n function memoizedSelector(nextSnapshot) {\n if (!hasMemo) {\n hasMemo = !0;\n memoizedSnapshot = nextSnapshot;\n nextSnapshot = selector(nextSnapshot);\n if (void 0 !== isEqual && inst.hasValue) {\n var currentSelection = inst.value;\n if (isEqual(currentSelection, nextSnapshot))\n return (memoizedSelection = currentSelection);\n }\n return (memoizedSelection = nextSnapshot);\n }\n currentSelection = memoizedSelection;\n if (objectIs(memoizedSnapshot, nextSnapshot)) return currentSelection;\n var nextSelection = selector(nextSnapshot);\n if (void 0 !== isEqual && isEqual(currentSelection, nextSelection))\n return (memoizedSnapshot = nextSnapshot), currentSelection;\n memoizedSnapshot = nextSnapshot;\n return (memoizedSelection = nextSelection);\n }\n var hasMemo = !1,\n memoizedSnapshot,\n memoizedSelection,\n maybeGetServerSnapshot =\n void 0 === getServerSnapshot ? null : getServerSnapshot;\n return [\n function () {\n return memoizedSelector(getSnapshot());\n },\n null === maybeGetServerSnapshot\n ? void 0\n : function () {\n return memoizedSelector(maybeGetServerSnapshot());\n }\n ];\n },\n [getSnapshot, getServerSnapshot, selector, isEqual]\n );\n var value = useSyncExternalStore(subscribe, instRef[0], instRef[1]);\n useEffect(\n function () {\n inst.hasValue = !0;\n inst.value = value;\n },\n [value]\n );\n useDebugValue(value);\n return value;\n};\n"],"x_google_ignoreList":[0],"mappings":";;;;CAWA,IAAI,IAAA,EAAgB,OAAO,GACzB,IAAA,EAAA;CACF,SAAS,EAAG,GAAG,GAAG;EAChB,OAAQ,MAAM,MAAY,MAAN,KAAW,IAAI,KAAM,IAAI,MAAQ,MAAM,KAAK,MAAM;CACxE;CACA,IAAI,IAA0B,OAAO,OAAO,MAA7B,aAAkC,OAAO,KAAK,GAC3D,IAAuB,EAAK,sBAC5B,IAAS,EAAM,QACf,IAAY,EAAM,WAClB,IAAU,EAAM,SAChB,IAAgB,EAAM;CACxB,EAAQ,mCAAmC,SACzC,GACA,GACA,GACA,GACA,GACA;EACA,IAAI,IAAU,EAAO,IAAI;EACzB,IAAa,EAAQ,YAAjB,MAA0B;GAC5B,IAAI,IAAO;IAAE,UAAU,CAAC;IAAG,OAAO;GAAK;GACvC,EAAQ,UAAU;EACpB,OAAO,IAAO,EAAQ;EACtB,IAAU,EACR,WAAY;GACV,SAAS,EAAiB,GAAc;IACtC,IAAI,CAAC,GAAS;KAIZ,IAHA,IAAU,CAAC,GACX,IAAmB,GACnB,IAAe,EAAS,CAAY,GACrB,MAAX,KAAK,KAAiB,EAAK,UAAU;MACvC,IAAI,IAAmB,EAAK;MAC5B,IAAI,EAAQ,GAAkB,CAAY,GACxC,OAAQ,IAAoB;KAChC;KACA,OAAQ,IAAoB;IAC9B;IAEA,IADA,IAAmB,GACf,EAAS,GAAkB,CAAY,GAAG,OAAO;IACrD,IAAI,IAAgB,EAAS,CAAY;IAIzC,OAHe,MAAX,KAAK,KAAiB,EAAQ,GAAkB,CAAa,KACvD,IAAmB,GAAe,MAC5C,IAAmB,GACX,IAAoB;GAC9B;GACA,IAAI,IAAU,CAAC,GACb,GACA,GACA,IACa,MAAX,KAAK,IAA0B,OAAO;GAC1C,OAAO,CACL,WAAY;IACV,OAAO,EAAiB,EAAY,CAAC;GACvC,GACS,MAAT,OACI,KAAK,IACL,WAAY;IACV,OAAO,EAAiB,EAAuB,CAAC;GAClD,CACN;EACF,GACA;GAAC;GAAa;GAAmB;GAAU;EAAO,CACpD;EACA,IAAI,IAAQ,EAAqB,GAAW,EAAQ,IAAI,EAAQ,EAAE;EASlE,OARA,EACE,WAAY;GAEV,AADA,EAAK,WAAW,CAAC,GACjB,EAAK,QAAQ;EACf,GACA,CAAC,CAAK,CACR,GACA,EAAc,CAAK,GACZ;CACT"}
@@ -0,0 +1,54 @@
1
+ import { __commonJSMin as e, __require as t } from "../../../_virtual/_rolldown/runtime.js";
2
+ //#region node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.development.js
3
+ var n = /* @__PURE__ */ e(((e) => {
4
+ process.env.NODE_ENV !== "production" && (function() {
5
+ function n(e, t) {
6
+ return e === t && (e !== 0 || 1 / e == 1 / t) || e !== e && t !== t;
7
+ }
8
+ function r(e, t) {
9
+ f || o.startTransition === void 0 || (f = !0, console.error("You are using an outdated, pre-release alpha of React 18 that does not support useSyncExternalStore. The use-sync-external-store shim will not work correctly. Upgrade to a newer pre-release."));
10
+ var n = t();
11
+ if (!p) {
12
+ var r = t();
13
+ s(n, r) || (console.error("The result of getSnapshot should be cached to avoid an infinite loop"), p = !0);
14
+ }
15
+ r = c({ inst: {
16
+ value: n,
17
+ getSnapshot: t
18
+ } });
19
+ var a = r[0].inst, m = r[1];
20
+ return u(function() {
21
+ a.value = n, a.getSnapshot = t, i(a) && m({ inst: a });
22
+ }, [
23
+ e,
24
+ n,
25
+ t
26
+ ]), l(function() {
27
+ return i(a) && m({ inst: a }), e(function() {
28
+ i(a) && m({ inst: a });
29
+ });
30
+ }, [e]), d(n), n;
31
+ }
32
+ function i(e) {
33
+ var t = e.getSnapshot;
34
+ e = e.value;
35
+ try {
36
+ var n = t();
37
+ return !s(e, n);
38
+ } catch {
39
+ return !0;
40
+ }
41
+ }
42
+ function a(e, t) {
43
+ return t();
44
+ }
45
+ typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());
46
+ var o = t("react"), s = typeof Object.is == "function" ? Object.is : n, c = o.useState, l = o.useEffect, u = o.useLayoutEffect, d = o.useDebugValue, f = !1, p = !1, m = typeof window > "u" || window.document === void 0 || window.document.createElement === void 0 ? a : r;
47
+ e.useSyncExternalStore = o.useSyncExternalStore === void 0 ? m : o.useSyncExternalStore, typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error());
48
+ })();
49
+ }));
50
+ //#endregion
51
+ export default n();
52
+ export { n as require_use_sync_external_store_shim_development };
53
+
54
+ //# sourceMappingURL=use-sync-external-store-shim.development.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"use-sync-external-store-shim.development.js","names":[],"sources":["../../../../node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.development.js"],"sourcesContent":["/**\n * @license React\n * use-sync-external-store-shim.development.js\n *\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n\"use strict\";\n\"production\" !== process.env.NODE_ENV &&\n (function () {\n function is(x, y) {\n return (x === y && (0 !== x || 1 / x === 1 / y)) || (x !== x && y !== y);\n }\n function useSyncExternalStore$2(subscribe, getSnapshot) {\n didWarnOld18Alpha ||\n void 0 === React.startTransition ||\n ((didWarnOld18Alpha = !0),\n console.error(\n \"You are using an outdated, pre-release alpha of React 18 that does not support useSyncExternalStore. The use-sync-external-store shim will not work correctly. Upgrade to a newer pre-release.\"\n ));\n var value = getSnapshot();\n if (!didWarnUncachedGetSnapshot) {\n var cachedValue = getSnapshot();\n objectIs(value, cachedValue) ||\n (console.error(\n \"The result of getSnapshot should be cached to avoid an infinite loop\"\n ),\n (didWarnUncachedGetSnapshot = !0));\n }\n cachedValue = useState({\n inst: { value: value, getSnapshot: getSnapshot }\n });\n var inst = cachedValue[0].inst,\n forceUpdate = cachedValue[1];\n useLayoutEffect(\n function () {\n inst.value = value;\n inst.getSnapshot = getSnapshot;\n checkIfSnapshotChanged(inst) && forceUpdate({ inst: inst });\n },\n [subscribe, value, getSnapshot]\n );\n useEffect(\n function () {\n checkIfSnapshotChanged(inst) && forceUpdate({ inst: inst });\n return subscribe(function () {\n checkIfSnapshotChanged(inst) && forceUpdate({ inst: inst });\n });\n },\n [subscribe]\n );\n useDebugValue(value);\n return value;\n }\n function checkIfSnapshotChanged(inst) {\n var latestGetSnapshot = inst.getSnapshot;\n inst = inst.value;\n try {\n var nextValue = latestGetSnapshot();\n return !objectIs(inst, nextValue);\n } catch (error) {\n return !0;\n }\n }\n function useSyncExternalStore$1(subscribe, getSnapshot) {\n return getSnapshot();\n }\n \"undefined\" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&\n \"function\" ===\n typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart &&\n __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());\n var React = require(\"react\"),\n objectIs = \"function\" === typeof Object.is ? Object.is : is,\n useState = React.useState,\n useEffect = React.useEffect,\n useLayoutEffect = React.useLayoutEffect,\n useDebugValue = React.useDebugValue,\n didWarnOld18Alpha = !1,\n didWarnUncachedGetSnapshot = !1,\n shim =\n \"undefined\" === typeof window ||\n \"undefined\" === typeof window.document ||\n \"undefined\" === typeof window.document.createElement\n ? useSyncExternalStore$1\n : useSyncExternalStore$2;\n exports.useSyncExternalStore =\n void 0 !== React.useSyncExternalStore ? React.useSyncExternalStore : shim;\n \"undefined\" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&\n \"function\" ===\n typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&\n __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error());\n })();\n"],"x_google_ignoreList":[0],"mappings":";;;CAWA,AAAA,QAAA,IAAA,aAAA,iBACG,WAAY;EACX,SAAS,EAAG,GAAG,GAAG;GAChB,OAAQ,MAAM,MAAY,MAAN,KAAW,IAAI,KAAM,IAAI,MAAQ,MAAM,KAAK,MAAM;EACxE;EACA,SAAS,EAAuB,GAAW,GAAa;GACtD,KACa,EAAM,oBAAjB,KAAK,MACH,IAAoB,CAAC,GACvB,QAAQ,MACN,gMACF;GACF,IAAI,IAAQ,EAAY;GACxB,IAAI,CAAC,GAA4B;IAC/B,IAAI,IAAc,EAAY;IAC9B,EAAS,GAAO,CAAW,MACxB,QAAQ,MACP,sEACF,GACC,IAA6B,CAAC;GACnC;GACA,IAAc,EAAS,EACrB,MAAM;IAAS;IAAoB;GAAY,EACjD,CAAC;GACD,IAAI,IAAO,EAAY,EAAE,CAAC,MACxB,IAAc,EAAY;GAmB5B,OAlBA,EACE,WAAY;IAGV,AAFA,EAAK,QAAQ,GACb,EAAK,cAAc,GACnB,EAAuB,CAAI,KAAK,EAAY,EAAQ,QAAK,CAAC;GAC5D,GACA;IAAC;IAAW;IAAO;GAAW,CAChC,GACA,EACE,WAAY;IAEV,OADA,EAAuB,CAAI,KAAK,EAAY,EAAQ,QAAK,CAAC,GACnD,EAAU,WAAY;KAC3B,EAAuB,CAAI,KAAK,EAAY,EAAQ,QAAK,CAAC;IAC5D,CAAC;GACH,GACA,CAAC,CAAS,CACZ,GACA,EAAc,CAAK,GACZ;EACT;EACA,SAAS,EAAuB,GAAM;GACpC,IAAI,IAAoB,EAAK;GAC7B,IAAO,EAAK;GACZ,IAAI;IACF,IAAI,IAAY,EAAkB;IAClC,OAAO,CAAC,EAAS,GAAM,CAAS;GAClC,QAAgB;IACd,OAAO,CAAC;GACV;EACF;EACA,SAAS,EAAuB,GAAW,GAAa;GACtD,OAAO,EAAY;EACrB;EACA,AAAgB,OAAO,iCAAvB,OAEI,OAAO,+BAA+B,+BADxC,cAEA,+BAA+B,4BAA4B,MAAM,CAAC;EACpE,IAAI,IAAA,EAAgB,OAAO,GACzB,IAA0B,OAAO,OAAO,MAA7B,aAAkC,OAAO,KAAK,GACzD,IAAW,EAAM,UACjB,IAAY,EAAM,WAClB,IAAkB,EAAM,iBACxB,IAAgB,EAAM,eACtB,IAAoB,CAAC,GACrB,IAA6B,CAAC,GAC9B,IACkB,OAAO,SAAvB,OACuB,OAAO,aAA9B,UACuB,OAAO,SAAS,kBAAvC,SACI,IACA;EAGR,AAFA,EAAQ,uBACK,EAAM,yBAAjB,KAAK,IAAgE,IAA7B,EAAM,sBAChC,OAAO,iCAAvB,OAEI,OAAO,+BAA+B,8BADxC,cAEA,+BAA+B,2BAA2B,MAAM,CAAC;CACrE,EAAA,CAAG"}
@@ -0,0 +1,46 @@
1
+ import { __commonJSMin as e, __require as t } from "../../../_virtual/_rolldown/runtime.js";
2
+ //#region node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.production.js
3
+ var n = /* @__PURE__ */ e(((e) => {
4
+ var n = t("react");
5
+ function r(e, t) {
6
+ return e === t && (e !== 0 || 1 / e == 1 / t) || e !== e && t !== t;
7
+ }
8
+ var i = typeof Object.is == "function" ? Object.is : r, a = n.useState, o = n.useEffect, s = n.useLayoutEffect, c = n.useDebugValue;
9
+ function l(e, t) {
10
+ var n = t(), r = a({ inst: {
11
+ value: n,
12
+ getSnapshot: t
13
+ } }), i = r[0].inst, l = r[1];
14
+ return s(function() {
15
+ i.value = n, i.getSnapshot = t, u(i) && l({ inst: i });
16
+ }, [
17
+ e,
18
+ n,
19
+ t
20
+ ]), o(function() {
21
+ return u(i) && l({ inst: i }), e(function() {
22
+ u(i) && l({ inst: i });
23
+ });
24
+ }, [e]), c(n), n;
25
+ }
26
+ function u(e) {
27
+ var t = e.getSnapshot;
28
+ e = e.value;
29
+ try {
30
+ var n = t();
31
+ return !i(e, n);
32
+ } catch {
33
+ return !0;
34
+ }
35
+ }
36
+ function d(e, t) {
37
+ return t();
38
+ }
39
+ var f = typeof window > "u" || window.document === void 0 || window.document.createElement === void 0 ? d : l;
40
+ e.useSyncExternalStore = n.useSyncExternalStore === void 0 ? f : n.useSyncExternalStore;
41
+ }));
42
+ //#endregion
43
+ export default n();
44
+ export { n as require_use_sync_external_store_shim_production };
45
+
46
+ //# sourceMappingURL=use-sync-external-store-shim.production.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"use-sync-external-store-shim.production.js","names":[],"sources":["../../../../node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.production.js"],"sourcesContent":["/**\n * @license React\n * use-sync-external-store-shim.production.js\n *\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n\"use strict\";\nvar React = require(\"react\");\nfunction is(x, y) {\n return (x === y && (0 !== x || 1 / x === 1 / y)) || (x !== x && y !== y);\n}\nvar objectIs = \"function\" === typeof Object.is ? Object.is : is,\n useState = React.useState,\n useEffect = React.useEffect,\n useLayoutEffect = React.useLayoutEffect,\n useDebugValue = React.useDebugValue;\nfunction useSyncExternalStore$2(subscribe, getSnapshot) {\n var value = getSnapshot(),\n _useState = useState({ inst: { value: value, getSnapshot: getSnapshot } }),\n inst = _useState[0].inst,\n forceUpdate = _useState[1];\n useLayoutEffect(\n function () {\n inst.value = value;\n inst.getSnapshot = getSnapshot;\n checkIfSnapshotChanged(inst) && forceUpdate({ inst: inst });\n },\n [subscribe, value, getSnapshot]\n );\n useEffect(\n function () {\n checkIfSnapshotChanged(inst) && forceUpdate({ inst: inst });\n return subscribe(function () {\n checkIfSnapshotChanged(inst) && forceUpdate({ inst: inst });\n });\n },\n [subscribe]\n );\n useDebugValue(value);\n return value;\n}\nfunction checkIfSnapshotChanged(inst) {\n var latestGetSnapshot = inst.getSnapshot;\n inst = inst.value;\n try {\n var nextValue = latestGetSnapshot();\n return !objectIs(inst, nextValue);\n } catch (error) {\n return !0;\n }\n}\nfunction useSyncExternalStore$1(subscribe, getSnapshot) {\n return getSnapshot();\n}\nvar shim =\n \"undefined\" === typeof window ||\n \"undefined\" === typeof window.document ||\n \"undefined\" === typeof window.document.createElement\n ? useSyncExternalStore$1\n : useSyncExternalStore$2;\nexports.useSyncExternalStore =\n void 0 !== React.useSyncExternalStore ? React.useSyncExternalStore : shim;\n"],"x_google_ignoreList":[0],"mappings":";;;CAWA,IAAI,IAAA,EAAgB,OAAO;CAC3B,SAAS,EAAG,GAAG,GAAG;EAChB,OAAQ,MAAM,MAAY,MAAN,KAAW,IAAI,KAAM,IAAI,MAAQ,MAAM,KAAK,MAAM;CACxE;CACA,IAAI,IAA0B,OAAO,OAAO,MAA7B,aAAkC,OAAO,KAAK,GAC3D,IAAW,EAAM,UACjB,IAAY,EAAM,WAClB,IAAkB,EAAM,iBACxB,IAAgB,EAAM;CACxB,SAAS,EAAuB,GAAW,GAAa;EACtD,IAAI,IAAQ,EAAY,GACtB,IAAY,EAAS,EAAE,MAAM;GAAS;GAAoB;EAAY,EAAE,CAAC,GACzE,IAAO,EAAU,EAAE,CAAC,MACpB,IAAc,EAAU;EAmB1B,OAlBA,EACE,WAAY;GAGV,AAFA,EAAK,QAAQ,GACb,EAAK,cAAc,GACnB,EAAuB,CAAI,KAAK,EAAY,EAAQ,QAAK,CAAC;EAC5D,GACA;GAAC;GAAW;GAAO;EAAW,CAChC,GACA,EACE,WAAY;GAEV,OADA,EAAuB,CAAI,KAAK,EAAY,EAAQ,QAAK,CAAC,GACnD,EAAU,WAAY;IAC3B,EAAuB,CAAI,KAAK,EAAY,EAAQ,QAAK,CAAC;GAC5D,CAAC;EACH,GACA,CAAC,CAAS,CACZ,GACA,EAAc,CAAK,GACZ;CACT;CACA,SAAS,EAAuB,GAAM;EACpC,IAAI,IAAoB,EAAK;EAC7B,IAAO,EAAK;EACZ,IAAI;GACF,IAAI,IAAY,EAAkB;GAClC,OAAO,CAAC,EAAS,GAAM,CAAS;EAClC,QAAgB;GACd,OAAO,CAAC;EACV;CACF;CACA,SAAS,EAAuB,GAAW,GAAa;EACtD,OAAO,EAAY;CACrB;CACA,IAAI,IACc,OAAO,SAAvB,OACuB,OAAO,aAA9B,UACuB,OAAO,SAAS,kBAAvC,SACI,IACA;CACN,EAAQ,uBACK,EAAM,yBAAjB,KAAK,IAAgE,IAA7B,EAAM"}
@@ -0,0 +1,12 @@
1
+ import { __commonJSMin as e } from "../../../_virtual/_rolldown/runtime.js";
2
+ import { require_use_sync_external_store_shim_production as t } from "../cjs/use-sync-external-store-shim.production.js";
3
+ import { require_use_sync_external_store_shim_development as n } from "../cjs/use-sync-external-store-shim.development.js";
4
+ //#region node_modules/use-sync-external-store/shim/index.js
5
+ var r = /* @__PURE__ */ e(((e, r) => {
6
+ r.exports = process.env.NODE_ENV === "production" ? t() : n();
7
+ }));
8
+ //#endregion
9
+ export default r();
10
+ export { r as require_shim };
11
+
12
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","names":[],"sources":["../../../../node_modules/use-sync-external-store/shim/index.js"],"sourcesContent":["'use strict';\n\nif (process.env.NODE_ENV === 'production') {\n module.exports = require('../cjs/use-sync-external-store-shim.production.js');\n} else {\n module.exports = require('../cjs/use-sync-external-store-shim.development.js');\n}\n"],"x_google_ignoreList":[0],"mappings":";;;;;CAEA,AAGE,EAAO,UAHT,QAAA,IAAA,aAA6B,eACpB,EAAA,IAEA,EAAA"}
@@ -0,0 +1,12 @@
1
+ import { __commonJSMin as e } from "../../../_virtual/_rolldown/runtime.js";
2
+ import { require_with_selector_production as t } from "../cjs/use-sync-external-store-shim/with-selector.production.js";
3
+ import { require_with_selector_development as n } from "../cjs/use-sync-external-store-shim/with-selector.development.js";
4
+ //#region node_modules/use-sync-external-store/shim/with-selector.js
5
+ var r = /* @__PURE__ */ e(((e, r) => {
6
+ r.exports = process.env.NODE_ENV === "production" ? t() : n();
7
+ }));
8
+ //#endregion
9
+ export default r();
10
+ export { r as require_with_selector };
11
+
12
+ //# sourceMappingURL=with-selector.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"with-selector.js","names":[],"sources":["../../../../node_modules/use-sync-external-store/shim/with-selector.js"],"sourcesContent":["'use strict';\n\nif (process.env.NODE_ENV === 'production') {\n module.exports = require('../cjs/use-sync-external-store-shim/with-selector.production.js');\n} else {\n module.exports = require('../cjs/use-sync-external-store-shim/with-selector.development.js');\n}\n"],"x_google_ignoreList":[0],"mappings":";;;;;CAEA,AAGE,EAAO,UAHT,QAAA,IAAA,aAA6B,eACpB,EAAA,IAEA,EAAA"}
@@ -0,0 +1,90 @@
1
+ for (var e = {
2
+ 8: "Backspace",
3
+ 9: "Tab",
4
+ 10: "Enter",
5
+ 12: "NumLock",
6
+ 13: "Enter",
7
+ 16: "Shift",
8
+ 17: "Control",
9
+ 18: "Alt",
10
+ 20: "CapsLock",
11
+ 27: "Escape",
12
+ 32: " ",
13
+ 33: "PageUp",
14
+ 34: "PageDown",
15
+ 35: "End",
16
+ 36: "Home",
17
+ 37: "ArrowLeft",
18
+ 38: "ArrowUp",
19
+ 39: "ArrowRight",
20
+ 40: "ArrowDown",
21
+ 44: "PrintScreen",
22
+ 45: "Insert",
23
+ 46: "Delete",
24
+ 59: ";",
25
+ 61: "=",
26
+ 91: "Meta",
27
+ 92: "Meta",
28
+ 106: "*",
29
+ 107: "+",
30
+ 108: ",",
31
+ 109: "-",
32
+ 110: ".",
33
+ 111: "/",
34
+ 144: "NumLock",
35
+ 145: "ScrollLock",
36
+ 160: "Shift",
37
+ 161: "Shift",
38
+ 162: "Control",
39
+ 163: "Control",
40
+ 164: "Alt",
41
+ 165: "Alt",
42
+ 173: "-",
43
+ 186: ";",
44
+ 187: "=",
45
+ 188: ",",
46
+ 189: "-",
47
+ 190: ".",
48
+ 191: "/",
49
+ 192: "`",
50
+ 219: "[",
51
+ 220: "\\",
52
+ 221: "]",
53
+ 222: "'"
54
+ }, t = {
55
+ 48: ")",
56
+ 49: "!",
57
+ 50: "@",
58
+ 51: "#",
59
+ 52: "$",
60
+ 53: "%",
61
+ 54: "^",
62
+ 55: "&",
63
+ 56: "*",
64
+ 57: "(",
65
+ 59: ":",
66
+ 61: "+",
67
+ 173: "_",
68
+ 186: ":",
69
+ 187: "+",
70
+ 188: "<",
71
+ 189: "_",
72
+ 190: ">",
73
+ 191: "?",
74
+ 192: "~",
75
+ 219: "{",
76
+ 220: "|",
77
+ 221: "}",
78
+ 222: "\""
79
+ }, n = typeof navigator < "u" && /Mac/.test(navigator.platform), r = typeof navigator < "u" && /MSIE \d|Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(navigator.userAgent), i = 0; i < 10; i++) e[48 + i] = e[96 + i] = String(i);
80
+ for (var i = 1; i <= 24; i++) e[i + 111] = "F" + i;
81
+ for (var i = 65; i <= 90; i++) e[i] = String.fromCharCode(i + 32), t[i] = String.fromCharCode(i);
82
+ for (var a in e) t.hasOwnProperty(a) || (t[a] = e[a]);
83
+ function o(i) {
84
+ var a = !(n && i.metaKey && i.shiftKey && !i.ctrlKey && !i.altKey || r && i.shiftKey && i.key && i.key.length == 1 || i.key == "Unidentified") && i.key || (i.shiftKey ? t : e)[i.keyCode] || i.key || "Unidentified";
85
+ return a == "Esc" && (a = "Escape"), a == "Del" && (a = "Delete"), a == "Left" && (a = "ArrowLeft"), a == "Up" && (a = "ArrowUp"), a == "Right" && (a = "ArrowRight"), a == "Down" && (a = "ArrowDown"), a;
86
+ }
87
+ //#endregion
88
+ export { e as base, o as keyName, t as shift };
89
+
90
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","names":[],"sources":["../../../node_modules/w3c-keyname/index.js"],"sourcesContent":["export var base = {\n 8: \"Backspace\",\n 9: \"Tab\",\n 10: \"Enter\",\n 12: \"NumLock\",\n 13: \"Enter\",\n 16: \"Shift\",\n 17: \"Control\",\n 18: \"Alt\",\n 20: \"CapsLock\",\n 27: \"Escape\",\n 32: \" \",\n 33: \"PageUp\",\n 34: \"PageDown\",\n 35: \"End\",\n 36: \"Home\",\n 37: \"ArrowLeft\",\n 38: \"ArrowUp\",\n 39: \"ArrowRight\",\n 40: \"ArrowDown\",\n 44: \"PrintScreen\",\n 45: \"Insert\",\n 46: \"Delete\",\n 59: \";\",\n 61: \"=\",\n 91: \"Meta\",\n 92: \"Meta\",\n 106: \"*\",\n 107: \"+\",\n 108: \",\",\n 109: \"-\",\n 110: \".\",\n 111: \"/\",\n 144: \"NumLock\",\n 145: \"ScrollLock\",\n 160: \"Shift\",\n 161: \"Shift\",\n 162: \"Control\",\n 163: \"Control\",\n 164: \"Alt\",\n 165: \"Alt\",\n 173: \"-\",\n 186: \";\",\n 187: \"=\",\n 188: \",\",\n 189: \"-\",\n 190: \".\",\n 191: \"/\",\n 192: \"`\",\n 219: \"[\",\n 220: \"\\\\\",\n 221: \"]\",\n 222: \"'\"\n}\n\nexport var shift = {\n 48: \")\",\n 49: \"!\",\n 50: \"@\",\n 51: \"#\",\n 52: \"$\",\n 53: \"%\",\n 54: \"^\",\n 55: \"&\",\n 56: \"*\",\n 57: \"(\",\n 59: \":\",\n 61: \"+\",\n 173: \"_\",\n 186: \":\",\n 187: \"+\",\n 188: \"<\",\n 189: \"_\",\n 190: \">\",\n 191: \"?\",\n 192: \"~\",\n 219: \"{\",\n 220: \"|\",\n 221: \"}\",\n 222: \"\\\"\"\n}\n\nvar mac = typeof navigator != \"undefined\" && /Mac/.test(navigator.platform)\nvar ie = typeof navigator != \"undefined\" && /MSIE \\d|Trident\\/(?:[7-9]|\\d{2,})\\..*rv:(\\d+)/.exec(navigator.userAgent)\n\n// Fill in the digit keys\nfor (var i = 0; i < 10; i++) base[48 + i] = base[96 + i] = String(i)\n\n// The function keys\nfor (var i = 1; i <= 24; i++) base[i + 111] = \"F\" + i\n\n// And the alphabetic keys\nfor (var i = 65; i <= 90; i++) {\n base[i] = String.fromCharCode(i + 32)\n shift[i] = String.fromCharCode(i)\n}\n\n// For each code that doesn't have a shift-equivalent, copy the base name\nfor (var code in base) if (!shift.hasOwnProperty(code)) shift[code] = base[code]\n\nexport function keyName(event) {\n // On macOS, keys held with Shift and Cmd don't reflect the effect of Shift in `.key`.\n // On IE, shift effect is never included in `.key`.\n var ignoreKey = mac && event.metaKey && event.shiftKey && !event.ctrlKey && !event.altKey ||\n ie && event.shiftKey && event.key && event.key.length == 1 ||\n event.key == \"Unidentified\"\n var name = (!ignoreKey && event.key) ||\n (event.shiftKey ? shift : base)[event.keyCode] ||\n event.key || \"Unidentified\"\n // Edge sometimes produces wrong names (Issue #3)\n if (name == \"Esc\") name = \"Escape\"\n if (name == \"Del\") name = \"Delete\"\n // https://developer.microsoft.com/en-us/microsoft-edge/platform/issues/8860571/\n if (name == \"Left\") name = \"ArrowLeft\"\n if (name == \"Up\") name = \"ArrowUp\"\n if (name == \"Right\") name = \"ArrowRight\"\n if (name == \"Down\") name = \"ArrowDown\"\n return name\n}\n"],"x_google_ignoreList":[0],"mappings":"AAsFA,KAAK,IAtFM,IAAO;CAChB,GAAG;CACH,GAAG;CACH,IAAI;CACJ,IAAI;CACJ,IAAI;CACJ,IAAI;CACJ,IAAI;CACJ,IAAI;CACJ,IAAI;CACJ,IAAI;CACJ,IAAI;CACJ,IAAI;CACJ,IAAI;CACJ,IAAI;CACJ,IAAI;CACJ,IAAI;CACJ,IAAI;CACJ,IAAI;CACJ,IAAI;CACJ,IAAI;CACJ,IAAI;CACJ,IAAI;CACJ,IAAI;CACJ,IAAI;CACJ,IAAI;CACJ,IAAI;CACJ,KAAK;CACL,KAAK;CACL,KAAK;CACL,KAAK;CACL,KAAK;CACL,KAAK;CACL,KAAK;CACL,KAAK;CACL,KAAK;CACL,KAAK;CACL,KAAK;CACL,KAAK;CACL,KAAK;CACL,KAAK;CACL,KAAK;CACL,K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AO,cACvB,KAAQ,SAAM,IAAO,YACrB,KAAQ,YAAS,IAAO,eACxB,KAAQ,WAAQ,IAAO,cACpB;AACT"}
@@ -0,0 +1,16 @@
1
+ import '../../styles/richtext.css';
2
+ /**
3
+ * Minimal WYSIWYG editor for admin-authored candidate-facing copy (job
4
+ * assignment description / problem statement). Output is an HTML string —
5
+ * the backend re-sanitizes it to an allowlist before persisting and again
6
+ * before rendering it into a candidate email, so this editor only needs to
7
+ * produce well-formed HTML, not police content itself.
8
+ */
9
+ export interface RichTextEditorProps {
10
+ id?: string;
11
+ value: string;
12
+ onChange: (html: string) => void;
13
+ placeholder?: string;
14
+ 'aria-required'?: boolean;
15
+ }
16
+ export declare function RichTextEditor({ id, value, onChange, placeholder, ...rest }: RichTextEditorProps): import("react/jsx-runtime").JSX.Element | null;
@@ -0,0 +1,87 @@
1
+ import { cn as e } from "../../utils/cn.js";
2
+ /* empty css */
3
+ import { EditorContent as t, useEditor as n } from "../../../node_modules/@tiptap/react/dist/index.js";
4
+ import r from "../../../node_modules/@tiptap/starter-kit/dist/index.js";
5
+ import i from "../../../node_modules/@tiptap/extension-placeholder/dist/index.js";
6
+ import { useEffect as a } from "react";
7
+ import { Bold as o, Italic as s, List as c, ListOrdered as l } from "lucide-react";
8
+ import { jsx as u, jsxs as d } from "react/jsx-runtime";
9
+ //#region src/support/components/careers/RichTextEditor.tsx
10
+ var f = "<p></p>";
11
+ function p({ label: t, active: n, onClick: r, Icon: i }) {
12
+ return /* @__PURE__ */ u("button", {
13
+ type: "button",
14
+ "aria-label": t,
15
+ "aria-pressed": n,
16
+ onClick: r,
17
+ className: e("inline-flex size-7 items-center justify-center rounded-md text-text-secondary transition-colors hover:bg-action-secondary-bg hover:text-text-primary", n && "bg-action-secondary-bg text-text-primary"),
18
+ children: /* @__PURE__ */ u(i, { size: 14 })
19
+ });
20
+ }
21
+ function m({ id: e, value: m, onChange: h, placeholder: g, ..._ }) {
22
+ let v = n({
23
+ extensions: [r.configure({
24
+ heading: !1,
25
+ blockquote: !1,
26
+ codeBlock: !1,
27
+ horizontalRule: !1,
28
+ strike: !1,
29
+ code: !1
30
+ }), i.configure({ placeholder: g ?? "" })],
31
+ content: m || f,
32
+ editorProps: { attributes: {
33
+ ...e ? { id: e } : {},
34
+ role: "textbox",
35
+ "aria-multiline": "true",
36
+ ..._["aria-required"] ? { "aria-required": "true" } : {},
37
+ class: "support-richtext focus:outline-none min-h-24"
38
+ } },
39
+ onUpdate: ({ editor: e }) => {
40
+ let t = e.getHTML();
41
+ h(t === f ? "" : t);
42
+ }
43
+ });
44
+ return a(() => {
45
+ if (!v || v.isFocused) return;
46
+ let e = v.getHTML(), t = m || f;
47
+ e !== t && v.commands.setContent(t);
48
+ }, [v, m]), v ? /* @__PURE__ */ d("div", {
49
+ className: "w-full rounded-lg border border-border-default bg-bg-surface focus-within:outline-none focus-within:ring-2 focus-within:ring-primary/20 focus-within:border-primary",
50
+ children: [/* @__PURE__ */ d("div", {
51
+ className: "flex items-center gap-1 border-b border-border-default px-2 py-1.5",
52
+ children: [
53
+ /* @__PURE__ */ u(p, {
54
+ label: "Bold",
55
+ active: v.isActive("bold"),
56
+ onClick: () => v.chain().focus().toggleBold().run(),
57
+ Icon: o
58
+ }),
59
+ /* @__PURE__ */ u(p, {
60
+ label: "Italic",
61
+ active: v.isActive("italic"),
62
+ onClick: () => v.chain().focus().toggleItalic().run(),
63
+ Icon: s
64
+ }),
65
+ /* @__PURE__ */ u(p, {
66
+ label: "Bullet list",
67
+ active: v.isActive("bulletList"),
68
+ onClick: () => v.chain().focus().toggleBulletList().run(),
69
+ Icon: c
70
+ }),
71
+ /* @__PURE__ */ u(p, {
72
+ label: "Numbered list",
73
+ active: v.isActive("orderedList"),
74
+ onClick: () => v.chain().focus().toggleOrderedList().run(),
75
+ Icon: l
76
+ })
77
+ ]
78
+ }), /* @__PURE__ */ u(t, {
79
+ editor: v,
80
+ className: "px-4 py-2.5"
81
+ })]
82
+ }) : null;
83
+ }
84
+ //#endregion
85
+ export { m as RichTextEditor };
86
+
87
+ //# sourceMappingURL=RichTextEditor.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"RichTextEditor.js","names":[],"sources":["../../../../src/support/components/careers/RichTextEditor.tsx"],"sourcesContent":["import { useEffect } from 'react';\nimport { EditorContent, useEditor } from '@tiptap/react';\nimport StarterKit from '@tiptap/starter-kit';\nimport Placeholder from '@tiptap/extension-placeholder';\nimport { Bold, Italic, List, ListOrdered } from 'lucide-react';\nimport { cn } from '../../utils/cn';\nimport '../../styles/richtext.css';\n\n/**\n * Minimal WYSIWYG editor for admin-authored candidate-facing copy (job\n * assignment description / problem statement). Output is an HTML string —\n * the backend re-sanitizes it to an allowlist before persisting and again\n * before rendering it into a candidate email, so this editor only needs to\n * produce well-formed HTML, not police content itself.\n */\nexport interface RichTextEditorProps {\n id?: string;\n value: string;\n onChange: (html: string) => void;\n placeholder?: string;\n 'aria-required'?: boolean;\n}\n\nconst EMPTY_DOC = '<p></p>';\n\nfunction ToolbarButton({\n label,\n active,\n onClick,\n Icon,\n}: {\n label: string;\n active: boolean;\n onClick: () => void;\n Icon: typeof Bold;\n}) {\n return (\n <button\n type=\"button\"\n aria-label={label}\n aria-pressed={active}\n onClick={onClick}\n className={cn(\n 'inline-flex size-7 items-center justify-center rounded-md text-text-secondary transition-colors hover:bg-action-secondary-bg hover:text-text-primary',\n active && 'bg-action-secondary-bg text-text-primary'\n )}\n >\n <Icon size={14} />\n </button>\n );\n}\n\nexport function RichTextEditor({ id, value, onChange, placeholder, ...rest }: RichTextEditorProps) {\n const editor = useEditor({\n extensions: [\n StarterKit.configure({\n heading: false,\n blockquote: false,\n codeBlock: false,\n horizontalRule: false,\n strike: false,\n code: false,\n }),\n Placeholder.configure({ placeholder: placeholder ?? '' }),\n ],\n content: value || EMPTY_DOC,\n editorProps: {\n attributes: {\n ...(id ? { id } : {}),\n role: 'textbox',\n 'aria-multiline': 'true',\n ...(rest['aria-required'] ? { 'aria-required': 'true' } : {}),\n class: 'support-richtext focus:outline-none min-h-24',\n },\n },\n onUpdate: ({ editor: instance }) => {\n const html = instance.getHTML();\n onChange(html === EMPTY_DOC ? '' : html);\n },\n });\n\n // Re-sync the editor's content when the caller resets `value` out from under\n // it (e.g. the \"Add Assignment\" dialog re-opening for a different\n // assignment, or a create/edit form reset) — but never fight the user's own\n // in-progress typing.\n useEffect(() => {\n if (!editor || editor.isFocused) return;\n const current = editor.getHTML();\n const next = value || EMPTY_DOC;\n if (current === next) return;\n editor.commands.setContent(next);\n }, [editor, value]);\n\n if (!editor) return null;\n\n return (\n <div className=\"w-full rounded-lg border border-border-default bg-bg-surface focus-within:outline-none focus-within:ring-2 focus-within:ring-primary/20 focus-within:border-primary\">\n <div className=\"flex items-center gap-1 border-b border-border-default px-2 py-1.5\">\n <ToolbarButton\n label=\"Bold\"\n active={editor.isActive('bold')}\n onClick={() => editor.chain().focus().toggleBold().run()}\n Icon={Bold}\n />\n <ToolbarButton\n label=\"Italic\"\n active={editor.isActive('italic')}\n onClick={() => editor.chain().focus().toggleItalic().run()}\n Icon={Italic}\n />\n <ToolbarButton\n label=\"Bullet list\"\n active={editor.isActive('bulletList')}\n onClick={() => editor.chain().focus().toggleBulletList().run()}\n Icon={List}\n />\n <ToolbarButton\n label=\"Numbered list\"\n active={editor.isActive('orderedList')}\n onClick={() => editor.chain().focus().toggleOrderedList().run()}\n Icon={ListOrdered}\n />\n </div>\n <EditorContent editor={editor} className=\"px-4 py-2.5\" />\n </div>\n );\n}\n"],"mappings":";;;;;;;;;AAuBA,IAAM,IAAY;AAElB,SAAS,EAAc,EACrB,UACA,WACA,YACA,WAMC;CACD,OACE,kBAAC,UAAD;EACE,MAAK;EACL,cAAY;EACZ,gBAAc;EACL;EACT,WAAW,EACT,wJACA,KAAU,0CACZ;EAEA,UAAA,kBAAC,GAAD,EAAM,MAAM,GAAK,CAAA;CACX,CAAA;AAEZ;AAEA,SAAgB,EAAe,EAAE,OAAI,UAAO,aAAU,gBAAa,GAAG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