@burdenoff/microfe-support 2026.1114.1 → 2026.1118.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/generated/global-operations.d.ts +62 -0
- package/dist/generated/global-operations.js +104 -69
- package/dist/generated/global-operations.js.map +1 -1
- package/dist/generated/global-types.js +17 -15
- package/dist/generated/global-types.js.map +1 -1
- package/dist/support/SupportUserRoot.js +32 -28
- package/dist/support/SupportUserRoot.js.map +1 -1
- package/dist/support/SupportUserRoutes.d.ts +1 -0
- package/dist/support/SupportUserRoutes.js +31 -28
- package/dist/support/SupportUserRoutes.js.map +1 -1
- package/dist/support/components/PageLayout.js +35 -35
- package/dist/support/components/RouteHelpers.d.ts +2 -1
- package/dist/support/components/RouteHelpers.js +3 -3
- package/dist/support/components/RouteHelpers.js.map +1 -1
- package/dist/support/components/careers/RichTextEditor.js +31 -31
- package/dist/support/components/careers/RichTextEditor.js.map +1 -1
- package/dist/support/components/help/RelatedArticles.d.ts +12 -0
- package/dist/support/components/help/RelatedArticles.js +55 -0
- package/dist/support/components/help/RelatedArticles.js.map +1 -0
- package/dist/support/components/help/RequestDetailHeader.d.ts +18 -0
- package/dist/support/components/help/RequestDetailHeader.js +129 -0
- package/dist/support/components/help/RequestDetailHeader.js.map +1 -0
- package/dist/support/components/help/SatisfactionReview.d.ts +18 -0
- package/dist/support/components/help/SatisfactionReview.js +103 -0
- package/dist/support/components/help/SatisfactionReview.js.map +1 -0
- package/dist/support/components/help/StarRating.d.ts +16 -0
- package/dist/support/components/help/StarRating.js +63 -0
- package/dist/support/components/help/StarRating.js.map +1 -0
- package/dist/support/components/help/StatusGroupPill.d.ts +11 -0
- package/dist/support/components/help/StatusGroupPill.js +19 -0
- package/dist/support/components/help/StatusGroupPill.js.map +1 -0
- package/dist/support/components/settings/TicketCategoriesSettings.js +69 -69
- package/dist/support/components/settings/TicketCategoriesSettings.js.map +1 -1
- package/dist/support/components/tickets/MessageComposer.js +7 -7
- package/dist/support/components/tickets/MessageComposer.js.map +1 -1
- package/dist/support/components/tickets/TicketDetailHeader.js +54 -60
- package/dist/support/components/tickets/TicketDetailHeader.js.map +1 -1
- package/dist/support/components/ui.js +1 -1
- package/dist/support/constants.d.ts +23 -0
- package/dist/support/constants.js +2 -2
- package/dist/support/constants.js.map +1 -1
- package/dist/support/hooks/useDebouncedValue.d.ts +6 -0
- package/dist/support/hooks/useDebouncedValue.js +12 -0
- package/dist/support/hooks/useDebouncedValue.js.map +1 -0
- package/dist/support/hooks/useKnowledgeBaseOperations.d.ts +8 -1
- package/dist/support/hooks/useKnowledgeBaseOperations.js +86 -81
- package/dist/support/hooks/useKnowledgeBaseOperations.js.map +1 -1
- package/dist/support/hooks/useSupportVariant.d.ts +11 -0
- package/dist/support/hooks/useSupportVariant.js +11 -0
- package/dist/support/hooks/useSupportVariant.js.map +1 -0
- package/dist/support/hooks/useTicketCreatedToast.d.ts +16 -0
- package/dist/support/hooks/useTicketCreatedToast.js +25 -0
- package/dist/support/hooks/useTicketCreatedToast.js.map +1 -0
- package/dist/support/hooks/useTicketLabels.d.ts +22 -0
- package/dist/support/hooks/useTicketLabels.js +40 -0
- package/dist/support/hooks/useTicketLabels.js.map +1 -0
- package/dist/support/index.d.ts +1 -1
- package/dist/support/pages/ArticleDetailAdminPage.js +84 -84
- package/dist/support/pages/ArticleDetailAdminPage.js.map +1 -1
- package/dist/support/pages/ArticleDetailUserPage.d.ts +5 -0
- package/dist/support/pages/ArticleDetailUserPage.js +133 -69
- package/dist/support/pages/ArticleDetailUserPage.js.map +1 -1
- package/dist/support/pages/AskForHelpPage.d.ts +11 -0
- package/dist/support/pages/AskForHelpPage.js +396 -0
- package/dist/support/pages/AskForHelpPage.js.map +1 -0
- package/dist/support/pages/ContactInquiriesPage.js +73 -73
- package/dist/support/pages/ContactInquiryDetailPage.js +47 -47
- package/dist/support/pages/ContactInquiryDetailPage.js.map +1 -1
- package/dist/support/pages/CreateTicketPage.d.ts +4 -0
- package/dist/support/pages/CreateTicketPage.js +121 -117
- package/dist/support/pages/CreateTicketPage.js.map +1 -1
- package/dist/support/pages/HelpHubPage.d.ts +9 -0
- package/dist/support/pages/HelpHubPage.js +272 -0
- package/dist/support/pages/HelpHubPage.js.map +1 -0
- package/dist/support/pages/JobApplicationDetailPage.js +388 -388
- package/dist/support/pages/JobApplicationDetailPage.js.map +1 -1
- package/dist/support/pages/JobApplicationsPage.js +35 -35
- package/dist/support/pages/JobPostingDetailPage.js +236 -236
- package/dist/support/pages/JobPostingDetailPage.js.map +1 -1
- package/dist/support/pages/KnowledgeBaseUserPage.d.ts +6 -1
- package/dist/support/pages/KnowledgeBaseUserPage.js +188 -137
- package/dist/support/pages/KnowledgeBaseUserPage.js.map +1 -1
- package/dist/support/pages/MyRequestsPage.d.ts +16 -0
- package/dist/support/pages/MyRequestsPage.js +389 -0
- package/dist/support/pages/MyRequestsPage.js.map +1 -0
- package/dist/support/pages/TicketDetailUserPage.d.ts +5 -0
- package/dist/support/pages/TicketDetailUserPage.js +285 -192
- package/dist/support/pages/TicketDetailUserPage.js.map +1 -1
- package/dist/support/pages/TicketListPage.d.ts +7 -0
- package/dist/support/pages/TicketListPage.js +150 -153
- package/dist/support/pages/TicketListPage.js.map +1 -1
- package/dist/support/providers/SupportProvider.js +8 -7
- package/dist/support/providers/SupportProvider.js.map +1 -1
- package/dist/support/store/supportStore.d.ts +5 -0
- package/dist/support/store/supportStore.js +1 -0
- package/dist/support/store/supportStore.js.map +1 -1
- package/dist/support/translations/en.d.ts +279 -0
- package/dist/support/translations/en.js +270 -1
- package/dist/support/translations/en.js.map +1 -1
- package/dist/support/types/index.d.ts +13 -0
- package/dist/support/utils/cameFrom.d.ts +16 -0
- package/dist/support/utils/cameFrom.js +22 -0
- package/dist/support/utils/cameFrom.js.map +1 -0
- package/dist/support/utils/dates.d.ts +15 -0
- package/dist/support/utils/dates.js +35 -0
- package/dist/support/utils/dates.js.map +1 -0
- package/dist/support/utils/reopen.d.ts +27 -0
- package/dist/support/utils/reopen.js +27 -0
- package/dist/support/utils/reopen.js.map +1 -0
- package/dist/support/utils/requestTechnicalDetails.d.ts +13 -0
- package/dist/support/utils/requestTechnicalDetails.js +38 -0
- package/dist/support/utils/requestTechnicalDetails.js.map +1 -0
- package/dist/support/utils/ticketFilters.d.ts +16 -0
- package/dist/support/utils/ticketFilters.js +24 -12
- package/dist/support/utils/ticketFilters.js.map +1 -1
- package/dist/support/utils/ticketStatusGroups.d.ts +20 -0
- package/dist/support/utils/ticketStatusGroups.js +39 -0
- package/dist/support/utils/ticketStatusGroups.js.map +1 -0
- package/package.json +2 -2
- package/dist/_virtual/_rolldown/runtime.js +0 -6
- package/dist/node_modules/@tiptap/core/dist/index.js +0 -3491
- package/dist/node_modules/@tiptap/core/dist/index.js.map +0 -1
- package/dist/node_modules/@tiptap/core/dist/jsx-runtime/jsx-runtime.js +0 -44
- package/dist/node_modules/@tiptap/core/dist/jsx-runtime/jsx-runtime.js.map +0 -1
- package/dist/node_modules/@tiptap/core/dist/rolldown-runtime-D7D4PA-g.js +0 -12
- package/dist/node_modules/@tiptap/core/dist/rolldown-runtime-D7D4PA-g.js.map +0 -1
- package/dist/node_modules/@tiptap/extension-blockquote/dist/index.js +0 -75
- package/dist/node_modules/@tiptap/extension-blockquote/dist/index.js.map +0 -1
- package/dist/node_modules/@tiptap/extension-bold/dist/index.js +0 -73
- package/dist/node_modules/@tiptap/extension-bold/dist/index.js.map +0 -1
- package/dist/node_modules/@tiptap/extension-code/dist/index.js +0 -78
- package/dist/node_modules/@tiptap/extension-code/dist/index.js.map +0 -1
- package/dist/node_modules/@tiptap/extension-code-block/dist/index.js +0 -157
- package/dist/node_modules/@tiptap/extension-code-block/dist/index.js.map +0 -1
- package/dist/node_modules/@tiptap/extension-document/dist/index.js +0 -11
- package/dist/node_modules/@tiptap/extension-document/dist/index.js.map +0 -1
- package/dist/node_modules/@tiptap/extension-hard-break/dist/index.js +0 -50
- package/dist/node_modules/@tiptap/extension-hard-break/dist/index.js.map +0 -1
- package/dist/node_modules/@tiptap/extension-heading/dist/index.js +0 -70
- package/dist/node_modules/@tiptap/extension-heading/dist/index.js.map +0 -1
- package/dist/node_modules/@tiptap/extension-horizontal-rule/dist/index.js +0 -49
- package/dist/node_modules/@tiptap/extension-horizontal-rule/dist/index.js.map +0 -1
- package/dist/node_modules/@tiptap/extension-italic/dist/index.js +0 -70
- package/dist/node_modules/@tiptap/extension-italic/dist/index.js.map +0 -1
- package/dist/node_modules/@tiptap/extension-link/dist/index.js +0 -389
- package/dist/node_modules/@tiptap/extension-link/dist/index.js.map +0 -1
- package/dist/node_modules/@tiptap/extension-list/dist/index.js +0 -967
- package/dist/node_modules/@tiptap/extension-list/dist/index.js.map +0 -1
- package/dist/node_modules/@tiptap/extension-paragraph/dist/index.js +0 -46
- package/dist/node_modules/@tiptap/extension-paragraph/dist/index.js.map +0 -1
- package/dist/node_modules/@tiptap/extension-placeholder/dist/index.js +0 -6
- package/dist/node_modules/@tiptap/extension-placeholder/dist/index.js.map +0 -1
- package/dist/node_modules/@tiptap/extension-strike/dist/index.js +0 -55
- package/dist/node_modules/@tiptap/extension-strike/dist/index.js.map +0 -1
- package/dist/node_modules/@tiptap/extension-text/dist/index.js +0 -14
- package/dist/node_modules/@tiptap/extension-text/dist/index.js.map +0 -1
- package/dist/node_modules/@tiptap/extension-underline/dist/index.js +0 -72
- package/dist/node_modules/@tiptap/extension-underline/dist/index.js.map +0 -1
- package/dist/node_modules/@tiptap/extensions/dist/index.js +0 -457
- package/dist/node_modules/@tiptap/extensions/dist/index.js.map +0 -1
- package/dist/node_modules/@tiptap/react/dist/index.js +0 -332
- package/dist/node_modules/@tiptap/react/dist/index.js.map +0 -1
- package/dist/node_modules/@tiptap/starter-kit/dist/index.js +0 -28
- package/dist/node_modules/@tiptap/starter-kit/dist/index.js.map +0 -1
- package/dist/node_modules/fast-equals/dist/es/index.js +0 -298
- package/dist/node_modules/fast-equals/dist/es/index.js.map +0 -1
- package/dist/node_modules/linkifyjs/dist/linkify.js +0 -527
- package/dist/node_modules/linkifyjs/dist/linkify.js.map +0 -1
- package/dist/node_modules/orderedmap/dist/index.js +0 -68
- package/dist/node_modules/orderedmap/dist/index.js.map +0 -1
- package/dist/node_modules/prosemirror-commands/dist/index.js +0 -334
- package/dist/node_modules/prosemirror-commands/dist/index.js.map +0 -1
- package/dist/node_modules/prosemirror-dropcursor/dist/index.js +0 -112
- package/dist/node_modules/prosemirror-dropcursor/dist/index.js.map +0 -1
- package/dist/node_modules/prosemirror-gapcursor/dist/index.js +0 -168
- package/dist/node_modules/prosemirror-gapcursor/dist/index.js.map +0 -1
- package/dist/node_modules/prosemirror-history/dist/index.js +0 -219
- package/dist/node_modules/prosemirror-history/dist/index.js.map +0 -1
- package/dist/node_modules/prosemirror-keymap/dist/index.js +0 -51
- package/dist/node_modules/prosemirror-keymap/dist/index.js.map +0 -1
- package/dist/node_modules/prosemirror-model/dist/index.js +0 -1775
- package/dist/node_modules/prosemirror-model/dist/index.js.map +0 -1
- package/dist/node_modules/prosemirror-schema-list/dist/index.js +0 -77
- package/dist/node_modules/prosemirror-schema-list/dist/index.js.map +0 -1
- package/dist/node_modules/prosemirror-state/dist/index.js +0 -526
- package/dist/node_modules/prosemirror-state/dist/index.js.map +0 -1
- package/dist/node_modules/prosemirror-transform/dist/index.js +0 -1204
- package/dist/node_modules/prosemirror-transform/dist/index.js.map +0 -1
- package/dist/node_modules/prosemirror-view/dist/index.js +0 -3355
- package/dist/node_modules/prosemirror-view/dist/index.js.map +0 -1
- package/dist/node_modules/rope-sequence/dist/index.js +0 -84
- package/dist/node_modules/rope-sequence/dist/index.js.map +0 -1
- package/dist/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim/with-selector.development.js +0 -55
- package/dist/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim/with-selector.development.js.map +0 -1
- package/dist/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim/with-selector.production.js +0 -53
- package/dist/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim/with-selector.production.js.map +0 -1
- package/dist/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.development.js +0 -53
- package/dist/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.development.js.map +0 -1
- package/dist/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.production.js +0 -45
- package/dist/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.production.js.map +0 -1
- package/dist/node_modules/use-sync-external-store/shim/index.js +0 -11
- package/dist/node_modules/use-sync-external-store/shim/index.js.map +0 -1
- package/dist/node_modules/use-sync-external-store/shim/with-selector.js +0 -11
- package/dist/node_modules/use-sync-external-store/shim/with-selector.js.map +0 -1
- package/dist/node_modules/w3c-keyname/index.js +0 -89
- package/dist/node_modules/w3c-keyname/index.js.map +0 -1
|
@@ -1,84 +0,0 @@
|
|
|
1
|
-
// 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
|
-
export { e as default };
|
|
83
|
-
|
|
84
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","names":["RopeSequence","other","Append","from","to","i","f","result","elt","values","Leaf","prototypeAccessors","start","left","right","leftLen","inner"],"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"],"ignoreList":[0],"mappings":";AAAA,IAKIA,IAAe,WAAyB,CAAC;AAE7C,EAAa,UAAU,SAAS,SAAiB,GAAO;CAItD,OAHKC,EAAM,UACX,IAAQD,EAAa,KAAKC,CAAK,GAEvB,CAAC,KAAK,UAAUA,KACrBA,EAAM,SAAS,OAAkB,KAAK,WAAWA,CAAK,KACtD,KAAK,SAAS,OAAkBA,EAAM,YAAY,IAAI,KACvD,KAAK,YAAYA,CAAK,KANI;AAO9B,GAIA,EAAa,UAAU,UAAU,SAAkB,GAAO;CAExD,OADKA,EAAM,SACJD,EAAa,KAAKC,CAAK,CAAC,CAAC,OAAO,IAAI,IADf;AAE9B,GAEA,EAAa,UAAU,cAAc,SAAsB,GAAO;CAChE,OAAO,IAAIC,EAAO,MAAMD,CAAK;AAC/B,GAIA,EAAa,UAAU,QAAQ,SAAgB,GAAM,GAAI;CAKvD,OAJOE,MAAS,KAAK,MAAI,IAAO,IACzBC,MAAO,KAAK,MAAI,IAAK,KAAK,SAE7BD,KAAQC,IAAaJ,EAAa,QAC/B,KAAK,WAAW,KAAK,IAAI,GAAGG,CAAI,GAAG,KAAK,IAAI,KAAK,QAAQC,CAAE,CAAC;AACrE,GAIA,EAAa,UAAU,MAAM,SAAc,GAAG;CAC5C,IAAI,MAAI,KAAKC,KAAK,KAAK,SACvB,OAAO,KAAK,SAASA,CAAC;AACxB,GAOA,EAAa,UAAU,UAAU,SAAkB,GA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AAK,KAAK,MAAMZ,GAAMY,CAAO,CAAC,CAAC,OAAO,KAAK,MAAM,MAAM,GAAGX,IAAKW,CAAO,CAAC;CAChF,GAEA,EAAO,UAAU,aAAa,SAAqB,GAAO;EACxD,IAAIC,IAAQ,KAAK,MAAM,WAAWf,CAAK;EACvC,IAAIe,GAAS,OAAO,IAAId,EAAO,KAAK,MAAMc,CAAK;CACjD,GAEA,EAAO,UAAU,cAAc,SAAsB,GAAO;EAC1D,IAAIA,IAAQ,KAAK,KAAK,YAAYf,CAAK;EACvC,IAAIe,GAAS,OAAO,IAAId,EAAOc,GAAO,KAAK,KAAK;CAClD,GAEA,EAAO,UAAU,cAAc,SAAsB,GAAO;EAG1D,OAFI,KAAK,KAAK,SAAS,KAAK,IAAI,KAAK,MAAM,OAAOf,EAAM,KAAK,IAAI,IACtD,IAAIC,EAAO,KAAK,MAAM,IAAIA,EAAO,KAAK,OAAOD,CAAK,CAAC,IACvD,IAAIC,EAAO,MAAMD,CAAK;CAC/B,GAEOC;AACT,EAAEF,CAAY"}
|
|
@@ -1,55 +0,0 @@
|
|
|
1
|
-
import { __commonJSMin as e, __require as t } from "../../../../_virtual/_rolldown/runtime.js";
|
|
2
|
-
import { require_shim as n } from "../../shim/index.js";
|
|
3
|
-
// 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
|
-
export default r();
|
|
53
|
-
export { r as require_with_selector_development };
|
|
54
|
-
|
|
55
|
-
//# sourceMappingURL=with-selector.development.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"with-selector.development.js","names":["require_with_selector_development","is","x","y","React","__require","shim","require_shim","objectIs","useSyncExternalStore","useRef","useEffect","useMemo","useDebugValue","instRef","inst","memoizedSelector","hasMemo","nextSnapshot","selector","isEqual","currentSelection","memoizedSelection","memoizedSnapshot","nextSelection","maybeGetServerSnapshot","getServerSnapshot","getSnapshot","value","subscribe"],"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"],"ignoreList":[0],"mappings":";;;;CAWA,AAAA,QAAA,IAAA,aAAA,iBACG,WAAY;EACX,SAASC,EAAG,GAAG,GAAG;GAChB,OAAQC,MAAMC,MAAYD,MAAN,KAAW,IAAIA,KAAM,IAAIC,MAAQD,MAAMA,KAAKC,MAAMA;EACxE;EACA,AAAgB,OAAO,iCAAvB,OAEI,OAAO,+BAA+B,+BADxC,cAEA,+BAA+B,4BAA4B,MAAM,CAAC;EACpE,IAAIC,IAAAC,EAAgB,OAAO,GACzBC,IAAAC,EAAA,GACAC,IAA0B,OAAO,OAAO,MAA7B,aAAkC,OAAO,KAAK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AAK,QAAQiB;GACf,GACA,CAACA,CAAK,CACR,GACAf,EAAce,CAAK,GACZA;EACT,GACgB,OAAO,iCAAvB,OAEI,OAAO,+BAA+B,8BADxC,cAEA,+BAA+B,2BAA2B,MAAM,CAAC;CACrE,EAAA,CAAG"}
|
|
@@ -1,53 +0,0 @@
|
|
|
1
|
-
import { __commonJSMin as e, __require as t } from "../../../../_virtual/_rolldown/runtime.js";
|
|
2
|
-
import { require_shim as n } from "../../shim/index.js";
|
|
3
|
-
// 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
|
-
export default r();
|
|
51
|
-
export { r as require_with_selector_production };
|
|
52
|
-
|
|
53
|
-
//# sourceMappingURL=with-selector.production.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"with-selector.production.js","names":["require_with_selector_production","React","__require","shim","require_shim","is","x","y","objectIs","useSyncExternalStore","useRef","useEffect","useMemo","useDebugValue","instRef","inst","memoizedSelector","hasMemo","nextSnapshot","selector","isEqual","currentSelection","memoizedSelection","memoizedSnapshot","nextSelection","maybeGetServerSnapshot","getServerSnapshot","getSnapshot","value","subscribe"],"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"],"ignoreList":[0],"mappings":";;;;CAWA,IAAIC,IAAAC,EAAgB,OAAO,GACzBC,IAAAC,EAAA;CACF,SAASC,EAAG,GAAG,GAAG;EAChB,OAAQC,MAAMC,MAAYD,MAAN,KAAW,IAAIA,KAAM,IAAIC,MAAQD,MAAMA,KAAKC,MAAMA;CACxE;CACA,IAAIC,IAA0B,OAAO,OAAO,MAA7B,aAAkC,OAAO,KAAKH,GAC3DI,IAAuBN,EAAK,sBAC5BO,IAAST,EAAM,QACfU,IAAYV,EAAM,WAClBW,IAAUX,EAAM,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store/cjs/use-sync-external-store-shim.development.js
DELETED
|
@@ -1,53 +0,0 @@
|
|
|
1
|
-
import { __commonJSMin as e, __require as t } from "../../../_virtual/_rolldown/runtime.js";
|
|
2
|
-
// 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
|
-
export default n();
|
|
51
|
-
export { n as require_use_sync_external_store_shim_development };
|
|
52
|
-
|
|
53
|
-
//# sourceMappingURL=use-sync-external-store-shim.development.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"use-sync-external-store-shim.development.js","names":["require_use_sync_external_store_shim_development","is","x","y","useSyncExternalStore$2","React","value","getSnapshot","didWarnUncachedGetSnapshot","cachedValue","useState","inst","forceUpdate","useLayoutEffect","checkIfSnapshotChanged","subscribe","useEffect","useDebugValue","latestGetSnapshot","nextValue","objectIs","useSyncExternalStore$1","__require","didWarnOld18Alpha","shim"],"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"],"ignoreList":[0],"mappings":";;;CAWA,AAAA,QAAA,IAAA,aAAA,iBACG,WAAY;EACX,SAASC,EAAG,GAAG,GAAG;GAChB,OAAQC,MAAMC,MAAYD,MAAN,KAAW,IAAIA,KAAM,IAAIC,MAAQD,MAAMA,KAAKC,MAAMA;EACxE;EACA,SAASC,EAAuB,GAAW,GAAa;GACtD,KACaC,EAAM,oBAAjB,KAAK,MACH,IAAoB,CAAC,GACvB,QAAQ,MACN,gMACF;GACF,IAAIC,IAAQC,EAAY;GACxB,IAAI,CAACC,GAA4B;IAC/B,IAAIC,IAAcF,EAAY;IAC9B,EAASD,GAAOG,CAAW,MACxB,QAAQ,MACP,sEACF,GACC,IAA6B,CAAC;GACnC;GACA,IAAcC,EAAS,EACrB,MAAM;IAAS;IAAoB;GAAY,EACjD,CAAC;GACD,IAAIC,IAAOF,EAAY,EAAE,CAAC,MACxBG,IAAcH,EAAY;GAmB5B,OAlBAI,EACE,WAAY;IAGV,AAFA,EAAK,QAAQP,GACb,EAAK,cAAcC,GACnBO,EAAuBH,CAAI,KAAKC,EAAY,EAAQ,QAAK,CAAC;GAC5D,GACA;IAACG;IAAWT;IAAOC;GAAW,CAChC,GACAS,EACE,WAAY;IAEV,OADAF,EAAuBH,CAAI,KAAKC,EAAY,EAAQ,QAAK,CAAC,GACnDG,EAAU,WAAY;KAC3B,EAAuBJ,CAAI,KAAKC,EAAY,EAAQ,QAAK,CAAC;IAC5D,CAAC;GACH,GACA,CAACG,CAAS,CACZ,GACAE,EAAcX,CAAK,GACZA;EACT;EACA,SAASQ,EAAuB,GAAM;GACpC,IAAII,IAAoBP,EAAK;GAC7B,IAAOA,EAAK;GACZ,IAAI;IACF,IAAIQ,IAAYD,EAAkB;IAClC,OAAO,CAACE,EAAST,GAAMQ,CAAS;GAClC,QAAgB;IACd,OAAO,CAAC;GACV;EACF;EACA,SAASE,EAAuB,GAAW,GAAa;GACtD,OAAOd,EAAY;EACrB;EACA,AAAgB,OAAO,iCAAvB,OAEI,OAAO,+BAA+B,+BADxC,cAEA,+BAA+B,4BAA4B,MAAM,CAAC;EACpE,IAAIF,IAAAiB,EAAgB,OAAO,GACzBF,IAA0B,OAAO,OAAO,MAA7B,aAAkC,OAAO,KAAKnB,GACzDS,IAAWL,EAAM,UACjBW,IAAYX,EAAM,WAClBQ,IAAkBR,EAAM,iBACxBY,IAAgBZ,EAAM,eACtBkB,IAAoB,CAAC,GACrBf,IAA6B,CAAC,GAC9BgB,IACkB,OAAO,SAAvB,OACuB,OAAO,aAA9B,UACuB,OAAO,SAAS,kBAAvC,SACIH,IACAjB;EAGR,AAFA,EAAQ,uBACKC,EAAM,yBAAjB,KAAK,IAAgEmB,IAA7BnB,EAAM,sBAChC,OAAO,iCAAvB,OAEI,OAAO,+BAA+B,8BADxC,cAEA,+BAA+B,2BAA2B,MAAM,CAAC;CACrE,EAAA,CAAG"}
|
package/dist/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.production.js
DELETED
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
import { __commonJSMin as e, __require as t } from "../../../_virtual/_rolldown/runtime.js";
|
|
2
|
-
// 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
|
-
export default n();
|
|
43
|
-
export { n as require_use_sync_external_store_shim_production };
|
|
44
|
-
|
|
45
|
-
//# sourceMappingURL=use-sync-external-store-shim.production.js.map
|
package/dist/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.production.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"use-sync-external-store-shim.production.js","names":["require_use_sync_external_store_shim_production","React","__require","is","x","y","objectIs","useState","useEffect","useLayoutEffect","useDebugValue","useSyncExternalStore$2","value","getSnapshot","_useState","inst","forceUpdate","checkIfSnapshotChanged","subscribe","latestGetSnapshot","nextValue","useSyncExternalStore$1","shim"],"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.useSy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SAAS,kBAAvC,SACID,IACAV;CACN,EAAQ,uBACKV,EAAM,yBAAjB,KAAK,IAAgEqB,IAA7BrB,EAAM"}
|
|
@@ -1,11 +0,0 @@
|
|
|
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
|
-
// 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
|
-
export default r();
|
|
9
|
-
export { r as require_shim };
|
|
10
|
-
|
|
11
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","names":["require_shim","module","require_use_sync_external_store_shim_production","require_use_sync_external_store_shim_development"],"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"],"ignoreList":[0],"mappings":";;;;;CAEA,AAGEC,EAAO,UAHT,QAAA,IAAA,aAA6B,eACpBC,EAAA,IAEAC,EAAA"}
|
|
@@ -1,11 +0,0 @@
|
|
|
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
|
-
// 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
|
-
export default r();
|
|
9
|
-
export { r as require_with_selector };
|
|
10
|
-
|
|
11
|
-
//# sourceMappingURL=with-selector.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"with-selector.js","names":["require_with_selector","module","require_with_selector_production","require_with_selector_development"],"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"],"ignoreList":[0],"mappings":";;;;;CAEA,AAGEC,EAAO,UAHT,QAAA,IAAA,aAA6B,eACpBC,EAAA,IAEAC,EAAA"}
|
|
@@ -1,89 +0,0 @@
|
|
|
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
|
-
export { e as base, o as keyName, t as shift };
|
|
88
|
-
|
|
89
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","names":["base","shift","mac","ie","code","keyName","name","event"],"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 == \"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