@hero-design/rn 8.43.0 → 8.43.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.
Files changed (170) hide show
  1. package/.turbo/turbo-build.log +1 -1
  2. package/CHANGELOG.md +9 -0
  3. package/es/index.js +1339 -1324
  4. package/jest-setup.ts +2 -0
  5. package/lib/index.js +1339 -1324
  6. package/package.json +20 -20
  7. package/src/components/Accordion/__tests__/__snapshots__/AccordionItem.spec.tsx.snap +68 -0
  8. package/src/components/Accordion/__tests__/__snapshots__/index.spec.tsx.snap +102 -0
  9. package/src/components/Alert/__tests__/__snapshots__/index.spec.tsx.snap +85 -0
  10. package/src/components/Attachment/__tests__/__snapshots__/index.spec.tsx.snap +34 -0
  11. package/src/components/Avatar/AvatarStack/__tests__/__snapshots__/StyledAvatarStack.spec.tsx.snap +12 -0
  12. package/src/components/Avatar/AvatarStack/__tests__/__snapshots__/index.spec.tsx.snap +108 -0
  13. package/src/components/Avatar/__tests__/__snapshots__/StyledAvatar.spec.tsx.snap +17 -0
  14. package/src/components/Avatar/__tests__/__snapshots__/index.spec.tsx.snap +36 -0
  15. package/src/components/BottomNavigation/__tests__/__snapshots__/index.spec.tsx.snap +36 -0
  16. package/src/components/BottomSheet/__tests__/__snapshots__/index.spec.tsx.snap +51 -1
  17. package/src/components/Button/UtilityButton/__tests__/__snapshots__/index.spec.tsx.snap +34 -0
  18. package/src/components/Button/__tests__/__snapshots__/Button.spec.tsx.snap +128 -0
  19. package/src/components/Button/__tests__/__snapshots__/IconButton.spec.tsx.snap +17 -0
  20. package/src/components/Button/__tests__/__snapshots__/StyledButton.spec.tsx.snap +80 -0
  21. package/src/components/Calendar/__tests__/__snapshots__/CalendarRowItem.spec.tsx.snap +85 -0
  22. package/src/components/Carousel/CardCarousel.tsx +10 -7
  23. package/src/components/Carousel/__tests__/__snapshots__/CardCarousel.spec.tsx.snap +4 -0
  24. package/src/components/Carousel/__tests__/__snapshots__/index.spec.tsx.snap +36 -0
  25. package/src/components/Checkbox/__tests__/__snapshots__/StyledCheckbox.spec.tsx.snap +68 -0
  26. package/src/components/Checkbox/__tests__/__snapshots__/index.spec.tsx.snap +72 -0
  27. package/src/components/Chip/__tests__/__snapshots__/index.spec.tsx.snap +204 -0
  28. package/src/components/Collapse/index.tsx +1 -1
  29. package/src/components/ContentNavigator/__tests__/__snapshots__/index.spec.tsx.snap +72 -0
  30. package/src/components/DatePicker/__tests__/__snapshots__/DatePicker.spec.tsx.snap +36 -0
  31. package/src/components/DatePicker/__tests__/__snapshots__/DatePickerAndroid.spec.tsx.snap +12 -0
  32. package/src/components/DatePicker/__tests__/__snapshots__/DatePickerCalendar.spec.tsx.snap +12 -0
  33. package/src/components/DatePicker/__tests__/__snapshots__/DatePickerIOS.spec.tsx.snap +54 -1
  34. package/src/components/Drawer/__tests__/__snapshots__/index.spec.tsx.snap +51 -0
  35. package/src/components/FAB/ActionGroup/__tests__/__snapshots__/index.spec.tsx.snap +81 -0
  36. package/src/components/FAB/__tests__/__snapshots__/StyledFAB.spec.tsx.snap +16 -0
  37. package/src/components/FAB/__tests__/__snapshots__/index.spec.tsx.snap +24 -0
  38. package/src/components/List/__tests__/__snapshots__/BasicListItem.spec.tsx.snap +16 -0
  39. package/src/components/List/__tests__/__snapshots__/ListItem.spec.tsx.snap +60 -0
  40. package/src/components/List/__tests__/__snapshots__/StyledBasicListItem.spec.tsx.snap +32 -0
  41. package/src/components/List/__tests__/__snapshots__/StyledListItem.spec.tsx.snap +32 -0
  42. package/src/components/Radio/__tests__/__snapshots__/Radio.spec.tsx.snap +16 -0
  43. package/src/components/Radio/__tests__/__snapshots__/RadioGroup.spec.tsx.snap +24 -0
  44. package/src/components/Rate/__tests__/__snapshots__/index.spec.tsx.snap +180 -0
  45. package/src/components/RichTextEditor/__tests__/__snapshots__/EditorToolbar.spec.tsx.snap +119 -0
  46. package/src/components/RichTextEditor/__tests__/__snapshots__/MentionList.spec.tsx.snap +1 -0
  47. package/src/components/RichTextEditor/__tests__/__snapshots__/RichTextEditor.spec.tsx.snap +18 -0
  48. package/src/components/Select/MultiSelect/__tests__/__snapshots__/Option.spec.tsx.snap +8 -0
  49. package/src/components/Select/MultiSelect/__tests__/__snapshots__/OptionList.spec.tsx.snap +124 -0
  50. package/src/components/Select/MultiSelect/__tests__/__snapshots__/index.spec.tsx.snap +437 -4
  51. package/src/components/Select/SingleSelect/__tests__/__snapshots__/Option.spec.tsx.snap +8 -0
  52. package/src/components/Select/SingleSelect/__tests__/__snapshots__/OptionList.spec.tsx.snap +124 -0
  53. package/src/components/Select/SingleSelect/__tests__/__snapshots__/index.spec.tsx.snap +323 -3
  54. package/src/components/Swipeable/__tests__/__snapshots__/SwipeableAction.spec.tsx.snap +51 -0
  55. package/src/components/Swipeable/index.tsx +3 -3
  56. package/src/components/Switch/SelectorSwitch/__tests__/__snapshots__/index.spec.tsx.snap +9 -0
  57. package/src/components/Switch/__tests__/__snapshots__/index.spec.tsx.snap +8 -0
  58. package/src/components/Tabs/__tests__/__snapshots__/ScrollableTabs.spec.tsx.snap +171 -0
  59. package/src/components/Tabs/__tests__/__snapshots__/ScrollableTabsHeader.spec.tsx.snap +40 -0
  60. package/src/components/Tabs/__tests__/__snapshots__/index.spec.tsx.snap +159 -0
  61. package/src/components/TimePicker/__tests__/__snapshots__/TimePickerAndroid.spec.tsx.snap +24 -0
  62. package/src/components/TimePicker/__tests__/__snapshots__/TimePickerIOS.spec.tsx.snap +66 -1
  63. package/src/components/Toast/__tests__/__snapshots__/Toast.spec.tsx.snap +102 -0
  64. package/src/components/Toolbar/__tests__/__snapshots__/ToolbarGroup.spec.tsx.snap +72 -0
  65. package/src/components/Toolbar/__tests__/__snapshots__/ToolbarItem.spec.tsx.snap +96 -0
  66. package/tsconfig.json +4 -1
  67. package/types/components/Accordion/AccordionItem.d.ts +2 -1
  68. package/types/components/Accordion/index.d.ts +1 -1
  69. package/types/components/Attachment/index.d.ts +2 -1
  70. package/types/components/Avatar/Avatar.d.ts +2 -1
  71. package/types/components/Avatar/AvatarStack/index.d.ts +2 -2
  72. package/types/components/Avatar/index.d.ts +3 -2
  73. package/types/components/Badge/StyledBadge.d.ts +0 -4
  74. package/types/components/BottomSheet/Footer.d.ts +2 -1
  75. package/types/components/BottomSheet/Header.d.ts +2 -1
  76. package/types/components/BottomSheet/ScrollView.d.ts +1 -0
  77. package/types/components/BottomSheet/StyledBottomSheet.d.ts +0 -4
  78. package/types/components/Box/index.d.ts +2 -1
  79. package/types/components/Button/IconButton.d.ts +2 -1
  80. package/types/components/Button/LoadingIndicator/index.d.ts +2 -1
  81. package/types/components/Button/UtilityButton/index.d.ts +2 -1
  82. package/types/components/Calendar/CalendarRowItem.d.ts +2 -1
  83. package/types/components/Calendar/StyledCalendar.d.ts +1 -1
  84. package/types/components/Calendar/index.d.ts +2 -1
  85. package/types/components/Carousel/CardCarousel.d.ts +1 -1
  86. package/types/components/Carousel/CarouselItem.d.ts +2 -1
  87. package/types/components/Carousel/index.d.ts +2 -2
  88. package/types/components/Checkbox/index.d.ts +2 -1
  89. package/types/components/Chip/index.d.ts +2 -1
  90. package/types/components/Collapse/StyledCollapse.d.ts +0 -2
  91. package/types/components/Collapse/index.d.ts +2 -1
  92. package/types/components/ContentNavigator/index.d.ts +2 -1
  93. package/types/components/DatePicker/DatePickerAndroid.d.ts +2 -1
  94. package/types/components/DatePicker/DatePickerCalendar.d.ts +2 -1
  95. package/types/components/DatePicker/DatePickerIOS.d.ts +2 -1
  96. package/types/components/DatePicker/index.d.ts +2 -1
  97. package/types/components/Divider/index.d.ts +2 -1
  98. package/types/components/Drawer/StyledDrawer.d.ts +0 -6
  99. package/types/components/Error/StyledError.d.ts +0 -4
  100. package/types/components/FAB/ActionGroup/ActionItem.d.ts +2 -1
  101. package/types/components/FAB/ActionGroup/StyledActionGroup.d.ts +0 -4
  102. package/types/components/FAB/AnimatedFABIcon.d.ts +2 -1
  103. package/types/components/HeroDesignProvider/index.d.ts +2 -1
  104. package/types/components/Icon/AnimatedIcon.d.ts +2 -1
  105. package/types/components/Icon/index.d.ts +2 -1
  106. package/types/components/Icon/utils.d.ts +1 -1
  107. package/types/components/Image/index.d.ts +1 -0
  108. package/types/components/Modal/index.d.ts +2 -2
  109. package/types/components/PageControl/StyledPageControl.d.ts +0 -2
  110. package/types/components/PageControl/index.d.ts +2 -1
  111. package/types/components/PinInput/PinCell.d.ts +2 -1
  112. package/types/components/Portal/PortalHost.d.ts +1 -1
  113. package/types/components/Portal/PortalProvider.d.ts +1 -1
  114. package/types/components/Portal/index.d.ts +2 -2
  115. package/types/components/Progress/ProgressBar.d.ts +1 -0
  116. package/types/components/Progress/StyledProgressBar.d.ts +0 -2
  117. package/types/components/Progress/index.d.ts +1 -0
  118. package/types/components/Rate/StyledRate.d.ts +0 -2
  119. package/types/components/Rate/index.d.ts +2 -1
  120. package/types/components/RefreshControl/index.d.ts +2 -1
  121. package/types/components/RichTextEditor/EditorToolbar.d.ts +2 -1
  122. package/types/components/RichTextEditor/MentionList.d.ts +2 -1
  123. package/types/components/RichTextEditor/index.d.ts +2 -2
  124. package/types/components/Select/BaseOptionList.d.ts +1 -1
  125. package/types/components/Select/Footer.d.ts +2 -1
  126. package/types/components/Select/MultiSelect/Option.d.ts +2 -1
  127. package/types/components/Select/MultiSelect/OptionList.d.ts +2 -1
  128. package/types/components/Select/MultiSelect/index.d.ts +1 -1
  129. package/types/components/Select/SingleSelect/Option.d.ts +2 -1
  130. package/types/components/Select/SingleSelect/OptionList.d.ts +1 -1
  131. package/types/components/Select/SingleSelect/StyledSingleSelect.d.ts +2 -1
  132. package/types/components/Select/SingleSelect/index.d.ts +1 -1
  133. package/types/components/Select/helpers.d.ts +1 -2
  134. package/types/components/Select/index.d.ts +2 -1
  135. package/types/components/Skeleton/index.d.ts +2 -1
  136. package/types/components/Slider/index.d.ts +2 -1
  137. package/types/components/Spinner/AnimatedSpinner.d.ts +2 -1
  138. package/types/components/Success/StyledSuccess.d.ts +0 -2
  139. package/types/components/Swipeable/SwipeableAction.d.ts +2 -2
  140. package/types/components/Swipeable/index.d.ts +3 -3
  141. package/types/components/Switch/SelectorSwitch/Option.d.ts +2 -1
  142. package/types/components/Switch/SelectorSwitch/StyledSelectorSwitch.d.ts +0 -6
  143. package/types/components/Switch/StyledSwitch.d.ts +0 -2
  144. package/types/components/Tabs/ActiveTabIndicator.d.ts +2 -1
  145. package/types/components/Tabs/SceneView.d.ts +1 -1
  146. package/types/components/Tabs/ScrollableTabs.d.ts +2 -1
  147. package/types/components/Tabs/ScrollableTabsHeader.d.ts +2 -1
  148. package/types/components/Tabs/StyledScrollableTabs.d.ts +0 -4
  149. package/types/components/Tabs/StyledTabs.d.ts +0 -4
  150. package/types/components/Tabs/TabWithBadge.d.ts +2 -2
  151. package/types/components/Tabs/index.d.ts +2 -1
  152. package/types/components/TextInput/StyledTextInput.d.ts +1 -1
  153. package/types/components/TextInput/index.d.ts +1 -1
  154. package/types/components/TimePicker/TimePickerAndroid.d.ts +2 -1
  155. package/types/components/TimePicker/TimePickerIOS.d.ts +2 -1
  156. package/types/components/TimePicker/index.d.ts +2 -1
  157. package/types/components/Toast/StyledToast.d.ts +0 -2
  158. package/types/components/Toast/Toast.d.ts +1 -0
  159. package/types/components/Toast/ToastProvider.d.ts +2 -1
  160. package/types/components/Toast/index.d.ts +1 -1
  161. package/types/components/Toolbar/ToolbarGroup.d.ts +2 -1
  162. package/types/components/Toolbar/ToolbarItem.d.ts +2 -1
  163. package/types/components/Toolbar/index.d.ts +3 -2
  164. package/types/components/Typography/Body/index.d.ts +2 -1
  165. package/types/components/Typography/Caption/index.d.ts +2 -1
  166. package/types/components/Typography/Label/index.d.ts +2 -1
  167. package/types/components/Typography/Text/index.d.ts +2 -1
  168. package/types/components/Typography/Title/index.d.ts +2 -1
  169. package/types/testHelpers/renderWithTheme.d.ts +1 -0
  170. package/types/theme/ThemeSwitcher.d.ts +2 -2
package/es/index.js CHANGED
@@ -33,6 +33,312 @@ function _objectSpread2(target) {
33
33
  }
34
34
  return target;
35
35
  }
36
+ function _regeneratorRuntime() {
37
+ _regeneratorRuntime = function () {
38
+ return exports;
39
+ };
40
+ var exports = {},
41
+ Op = Object.prototype,
42
+ hasOwn = Op.hasOwnProperty,
43
+ defineProperty = Object.defineProperty || function (obj, key, desc) {
44
+ obj[key] = desc.value;
45
+ },
46
+ $Symbol = "function" == typeof Symbol ? Symbol : {},
47
+ iteratorSymbol = $Symbol.iterator || "@@iterator",
48
+ asyncIteratorSymbol = $Symbol.asyncIterator || "@@asyncIterator",
49
+ toStringTagSymbol = $Symbol.toStringTag || "@@toStringTag";
50
+ function define(obj, key, value) {
51
+ return Object.defineProperty(obj, key, {
52
+ value: value,
53
+ enumerable: !0,
54
+ configurable: !0,
55
+ writable: !0
56
+ }), obj[key];
57
+ }
58
+ try {
59
+ define({}, "");
60
+ } catch (err) {
61
+ define = function (obj, key, value) {
62
+ return obj[key] = value;
63
+ };
64
+ }
65
+ function wrap(innerFn, outerFn, self, tryLocsList) {
66
+ var protoGenerator = outerFn && outerFn.prototype instanceof Generator ? outerFn : Generator,
67
+ generator = Object.create(protoGenerator.prototype),
68
+ context = new Context(tryLocsList || []);
69
+ return defineProperty(generator, "_invoke", {
70
+ value: makeInvokeMethod(innerFn, self, context)
71
+ }), generator;
72
+ }
73
+ function tryCatch(fn, obj, arg) {
74
+ try {
75
+ return {
76
+ type: "normal",
77
+ arg: fn.call(obj, arg)
78
+ };
79
+ } catch (err) {
80
+ return {
81
+ type: "throw",
82
+ arg: err
83
+ };
84
+ }
85
+ }
86
+ exports.wrap = wrap;
87
+ var ContinueSentinel = {};
88
+ function Generator() {}
89
+ function GeneratorFunction() {}
90
+ function GeneratorFunctionPrototype() {}
91
+ var IteratorPrototype = {};
92
+ define(IteratorPrototype, iteratorSymbol, function () {
93
+ return this;
94
+ });
95
+ var getProto = Object.getPrototypeOf,
96
+ NativeIteratorPrototype = getProto && getProto(getProto(values([])));
97
+ NativeIteratorPrototype && NativeIteratorPrototype !== Op && hasOwn.call(NativeIteratorPrototype, iteratorSymbol) && (IteratorPrototype = NativeIteratorPrototype);
98
+ var Gp = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(IteratorPrototype);
99
+ function defineIteratorMethods(prototype) {
100
+ ["next", "throw", "return"].forEach(function (method) {
101
+ define(prototype, method, function (arg) {
102
+ return this._invoke(method, arg);
103
+ });
104
+ });
105
+ }
106
+ function AsyncIterator(generator, PromiseImpl) {
107
+ function invoke(method, arg, resolve, reject) {
108
+ var record = tryCatch(generator[method], generator, arg);
109
+ if ("throw" !== record.type) {
110
+ var result = record.arg,
111
+ value = result.value;
112
+ return value && "object" == typeof value && hasOwn.call(value, "__await") ? PromiseImpl.resolve(value.__await).then(function (value) {
113
+ invoke("next", value, resolve, reject);
114
+ }, function (err) {
115
+ invoke("throw", err, resolve, reject);
116
+ }) : PromiseImpl.resolve(value).then(function (unwrapped) {
117
+ result.value = unwrapped, resolve(result);
118
+ }, function (error) {
119
+ return invoke("throw", error, resolve, reject);
120
+ });
121
+ }
122
+ reject(record.arg);
123
+ }
124
+ var previousPromise;
125
+ defineProperty(this, "_invoke", {
126
+ value: function (method, arg) {
127
+ function callInvokeWithMethodAndArg() {
128
+ return new PromiseImpl(function (resolve, reject) {
129
+ invoke(method, arg, resolve, reject);
130
+ });
131
+ }
132
+ return previousPromise = previousPromise ? previousPromise.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg();
133
+ }
134
+ });
135
+ }
136
+ function makeInvokeMethod(innerFn, self, context) {
137
+ var state = "suspendedStart";
138
+ return function (method, arg) {
139
+ if ("executing" === state) throw new Error("Generator is already running");
140
+ if ("completed" === state) {
141
+ if ("throw" === method) throw arg;
142
+ return doneResult();
143
+ }
144
+ for (context.method = method, context.arg = arg;;) {
145
+ var delegate = context.delegate;
146
+ if (delegate) {
147
+ var delegateResult = maybeInvokeDelegate(delegate, context);
148
+ if (delegateResult) {
149
+ if (delegateResult === ContinueSentinel) continue;
150
+ return delegateResult;
151
+ }
152
+ }
153
+ if ("next" === context.method) context.sent = context._sent = context.arg;else if ("throw" === context.method) {
154
+ if ("suspendedStart" === state) throw state = "completed", context.arg;
155
+ context.dispatchException(context.arg);
156
+ } else "return" === context.method && context.abrupt("return", context.arg);
157
+ state = "executing";
158
+ var record = tryCatch(innerFn, self, context);
159
+ if ("normal" === record.type) {
160
+ if (state = context.done ? "completed" : "suspendedYield", record.arg === ContinueSentinel) continue;
161
+ return {
162
+ value: record.arg,
163
+ done: context.done
164
+ };
165
+ }
166
+ "throw" === record.type && (state = "completed", context.method = "throw", context.arg = record.arg);
167
+ }
168
+ };
169
+ }
170
+ function maybeInvokeDelegate(delegate, context) {
171
+ var method = delegate.iterator[context.method];
172
+ if (undefined === method) {
173
+ if (context.delegate = null, "throw" === context.method) {
174
+ if (delegate.iterator.return && (context.method = "return", context.arg = undefined, maybeInvokeDelegate(delegate, context), "throw" === context.method)) return ContinueSentinel;
175
+ context.method = "throw", context.arg = new TypeError("The iterator does not provide a 'throw' method");
176
+ }
177
+ return ContinueSentinel;
178
+ }
179
+ var record = tryCatch(method, delegate.iterator, context.arg);
180
+ if ("throw" === record.type) return context.method = "throw", context.arg = record.arg, context.delegate = null, ContinueSentinel;
181
+ var info = record.arg;
182
+ return info ? info.done ? (context[delegate.resultName] = info.value, context.next = delegate.nextLoc, "return" !== context.method && (context.method = "next", context.arg = undefined), context.delegate = null, ContinueSentinel) : info : (context.method = "throw", context.arg = new TypeError("iterator result is not an object"), context.delegate = null, ContinueSentinel);
183
+ }
184
+ function pushTryEntry(locs) {
185
+ var entry = {
186
+ tryLoc: locs[0]
187
+ };
188
+ 1 in locs && (entry.catchLoc = locs[1]), 2 in locs && (entry.finallyLoc = locs[2], entry.afterLoc = locs[3]), this.tryEntries.push(entry);
189
+ }
190
+ function resetTryEntry(entry) {
191
+ var record = entry.completion || {};
192
+ record.type = "normal", delete record.arg, entry.completion = record;
193
+ }
194
+ function Context(tryLocsList) {
195
+ this.tryEntries = [{
196
+ tryLoc: "root"
197
+ }], tryLocsList.forEach(pushTryEntry, this), this.reset(!0);
198
+ }
199
+ function values(iterable) {
200
+ if (iterable) {
201
+ var iteratorMethod = iterable[iteratorSymbol];
202
+ if (iteratorMethod) return iteratorMethod.call(iterable);
203
+ if ("function" == typeof iterable.next) return iterable;
204
+ if (!isNaN(iterable.length)) {
205
+ var i = -1,
206
+ next = function next() {
207
+ for (; ++i < iterable.length;) if (hasOwn.call(iterable, i)) return next.value = iterable[i], next.done = !1, next;
208
+ return next.value = undefined, next.done = !0, next;
209
+ };
210
+ return next.next = next;
211
+ }
212
+ }
213
+ return {
214
+ next: doneResult
215
+ };
216
+ }
217
+ function doneResult() {
218
+ return {
219
+ value: undefined,
220
+ done: !0
221
+ };
222
+ }
223
+ return GeneratorFunction.prototype = GeneratorFunctionPrototype, defineProperty(Gp, "constructor", {
224
+ value: GeneratorFunctionPrototype,
225
+ configurable: !0
226
+ }), defineProperty(GeneratorFunctionPrototype, "constructor", {
227
+ value: GeneratorFunction,
228
+ configurable: !0
229
+ }), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, toStringTagSymbol, "GeneratorFunction"), exports.isGeneratorFunction = function (genFun) {
230
+ var ctor = "function" == typeof genFun && genFun.constructor;
231
+ return !!ctor && (ctor === GeneratorFunction || "GeneratorFunction" === (ctor.displayName || ctor.name));
232
+ }, exports.mark = function (genFun) {
233
+ return Object.setPrototypeOf ? Object.setPrototypeOf(genFun, GeneratorFunctionPrototype) : (genFun.__proto__ = GeneratorFunctionPrototype, define(genFun, toStringTagSymbol, "GeneratorFunction")), genFun.prototype = Object.create(Gp), genFun;
234
+ }, exports.awrap = function (arg) {
235
+ return {
236
+ __await: arg
237
+ };
238
+ }, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype, asyncIteratorSymbol, function () {
239
+ return this;
240
+ }), exports.AsyncIterator = AsyncIterator, exports.async = function (innerFn, outerFn, self, tryLocsList, PromiseImpl) {
241
+ void 0 === PromiseImpl && (PromiseImpl = Promise);
242
+ var iter = new AsyncIterator(wrap(innerFn, outerFn, self, tryLocsList), PromiseImpl);
243
+ return exports.isGeneratorFunction(outerFn) ? iter : iter.next().then(function (result) {
244
+ return result.done ? result.value : iter.next();
245
+ });
246
+ }, defineIteratorMethods(Gp), define(Gp, toStringTagSymbol, "Generator"), define(Gp, iteratorSymbol, function () {
247
+ return this;
248
+ }), define(Gp, "toString", function () {
249
+ return "[object Generator]";
250
+ }), exports.keys = function (val) {
251
+ var object = Object(val),
252
+ keys = [];
253
+ for (var key in object) keys.push(key);
254
+ return keys.reverse(), function next() {
255
+ for (; keys.length;) {
256
+ var key = keys.pop();
257
+ if (key in object) return next.value = key, next.done = !1, next;
258
+ }
259
+ return next.done = !0, next;
260
+ };
261
+ }, exports.values = values, Context.prototype = {
262
+ constructor: Context,
263
+ reset: function (skipTempReset) {
264
+ if (this.prev = 0, this.next = 0, this.sent = this._sent = undefined, this.done = !1, this.delegate = null, this.method = "next", this.arg = undefined, this.tryEntries.forEach(resetTryEntry), !skipTempReset) for (var name in this) "t" === name.charAt(0) && hasOwn.call(this, name) && !isNaN(+name.slice(1)) && (this[name] = undefined);
265
+ },
266
+ stop: function () {
267
+ this.done = !0;
268
+ var rootRecord = this.tryEntries[0].completion;
269
+ if ("throw" === rootRecord.type) throw rootRecord.arg;
270
+ return this.rval;
271
+ },
272
+ dispatchException: function (exception) {
273
+ if (this.done) throw exception;
274
+ var context = this;
275
+ function handle(loc, caught) {
276
+ return record.type = "throw", record.arg = exception, context.next = loc, caught && (context.method = "next", context.arg = undefined), !!caught;
277
+ }
278
+ for (var i = this.tryEntries.length - 1; i >= 0; --i) {
279
+ var entry = this.tryEntries[i],
280
+ record = entry.completion;
281
+ if ("root" === entry.tryLoc) return handle("end");
282
+ if (entry.tryLoc <= this.prev) {
283
+ var hasCatch = hasOwn.call(entry, "catchLoc"),
284
+ hasFinally = hasOwn.call(entry, "finallyLoc");
285
+ if (hasCatch && hasFinally) {
286
+ if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0);
287
+ if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc);
288
+ } else if (hasCatch) {
289
+ if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0);
290
+ } else {
291
+ if (!hasFinally) throw new Error("try statement without catch or finally");
292
+ if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc);
293
+ }
294
+ }
295
+ }
296
+ },
297
+ abrupt: function (type, arg) {
298
+ for (var i = this.tryEntries.length - 1; i >= 0; --i) {
299
+ var entry = this.tryEntries[i];
300
+ if (entry.tryLoc <= this.prev && hasOwn.call(entry, "finallyLoc") && this.prev < entry.finallyLoc) {
301
+ var finallyEntry = entry;
302
+ break;
303
+ }
304
+ }
305
+ finallyEntry && ("break" === type || "continue" === type) && finallyEntry.tryLoc <= arg && arg <= finallyEntry.finallyLoc && (finallyEntry = null);
306
+ var record = finallyEntry ? finallyEntry.completion : {};
307
+ return record.type = type, record.arg = arg, finallyEntry ? (this.method = "next", this.next = finallyEntry.finallyLoc, ContinueSentinel) : this.complete(record);
308
+ },
309
+ complete: function (record, afterLoc) {
310
+ if ("throw" === record.type) throw record.arg;
311
+ return "break" === record.type || "continue" === record.type ? this.next = record.arg : "return" === record.type ? (this.rval = this.arg = record.arg, this.method = "return", this.next = "end") : "normal" === record.type && afterLoc && (this.next = afterLoc), ContinueSentinel;
312
+ },
313
+ finish: function (finallyLoc) {
314
+ for (var i = this.tryEntries.length - 1; i >= 0; --i) {
315
+ var entry = this.tryEntries[i];
316
+ if (entry.finallyLoc === finallyLoc) return this.complete(entry.completion, entry.afterLoc), resetTryEntry(entry), ContinueSentinel;
317
+ }
318
+ },
319
+ catch: function (tryLoc) {
320
+ for (var i = this.tryEntries.length - 1; i >= 0; --i) {
321
+ var entry = this.tryEntries[i];
322
+ if (entry.tryLoc === tryLoc) {
323
+ var record = entry.completion;
324
+ if ("throw" === record.type) {
325
+ var thrown = record.arg;
326
+ resetTryEntry(entry);
327
+ }
328
+ return thrown;
329
+ }
330
+ }
331
+ throw new Error("illegal catch attempt");
332
+ },
333
+ delegateYield: function (iterable, resultName, nextLoc) {
334
+ return this.delegate = {
335
+ iterator: values(iterable),
336
+ resultName: resultName,
337
+ nextLoc: nextLoc
338
+ }, "next" === this.method && (this.arg = undefined), ContinueSentinel;
339
+ }
340
+ }, exports;
341
+ }
36
342
  function _typeof(obj) {
37
343
  "@babel/helpers - typeof";
38
344
 
@@ -91,6 +397,9 @@ function _extends$1() {
91
397
  };
92
398
  return _extends$1.apply(this, arguments);
93
399
  }
400
+ function _objectDestructuringEmpty(obj) {
401
+ if (obj == null) throw new TypeError("Cannot destructure " + obj);
402
+ }
94
403
  function _objectWithoutPropertiesLoose(source, excluded) {
95
404
  if (source == null) return {};
96
405
  var target = {};
@@ -3791,9 +4100,7 @@ function delimit(type) {
3791
4100
  * @return {string}
3792
4101
  */
3793
4102
  function whitespace(type) {
3794
- while (character = peek()) {
3795
- if (character < 33) next();else break;
3796
- }
4103
+ while (character = peek()) if (character < 33) next();else break;
3797
4104
  return token(type) > 2 || token(character) > 3 ? '' : ' ';
3798
4105
  }
3799
4106
 
@@ -3803,10 +4110,9 @@ function whitespace(type) {
3803
4110
  * @return {string}
3804
4111
  */
3805
4112
  function escaping(index, count) {
3806
- while (--count && next()) {
3807
- // not 0-9 A-F a-f
3808
- if (character < 48 || character > 102 || character > 57 && character < 65 || character > 70 && character < 97) break;
3809
- }
4113
+ while (--count && next())
4114
+ // not 0-9 A-F a-f
4115
+ if (character < 48 || character > 102 || character > 57 && character < 65 || character > 70 && character < 97) break;
3810
4116
  return slice(index, caret() + (count < 6 && peek() == 32 && next() == 32));
3811
4117
  }
3812
4118
 
@@ -3815,25 +4121,23 @@ function escaping(index, count) {
3815
4121
  * @return {number}
3816
4122
  */
3817
4123
  function delimiter(type) {
3818
- while (next()) {
3819
- switch (character) {
3820
- // ] ) " '
3821
- case type:
3822
- return position;
3823
- // " '
3824
- case 34:
3825
- case 39:
3826
- if (type !== 34 && type !== 39) delimiter(character);
3827
- break;
3828
- // (
3829
- case 40:
3830
- if (type === 41) delimiter(type);
3831
- break;
3832
- // \
3833
- case 92:
3834
- next();
3835
- break;
3836
- }
4124
+ while (next()) switch (character) {
4125
+ // ] ) " '
4126
+ case type:
4127
+ return position;
4128
+ // " '
4129
+ case 34:
4130
+ case 39:
4131
+ if (type !== 34 && type !== 39) delimiter(character);
4132
+ break;
4133
+ // (
4134
+ case 40:
4135
+ if (type === 41) delimiter(type);
4136
+ break;
4137
+ // \
4138
+ case 92:
4139
+ next();
4140
+ break;
3837
4141
  }
3838
4142
  return position;
3839
4143
  }
@@ -3844,12 +4148,11 @@ function delimiter(type) {
3844
4148
  * @return {number}
3845
4149
  */
3846
4150
  function commenter(type, index) {
3847
- while (next()) {
3848
- // //
3849
- if (type + character === 47 + 10) break;
3850
- // /*
3851
- else if (type + character === 42 + 42 && peek() === 47) break;
3852
- }
4151
+ while (next())
4152
+ // //
4153
+ if (type + character === 47 + 10) break;
4154
+ // /*
4155
+ else if (type + character === 42 + 42 && peek() === 47) break;
3853
4156
  return '/*' + slice(index, position - 1) + '*' + from(type === 47 ? type : next());
3854
4157
  }
3855
4158
 
@@ -3858,9 +4161,7 @@ function commenter(type, index) {
3858
4161
  * @return {string}
3859
4162
  */
3860
4163
  function identifier(index) {
3861
- while (!token(peek())) {
3862
- next();
3863
- }
4164
+ while (!token(peek())) next();
3864
4165
  return slice(index, position);
3865
4166
  }
3866
4167
 
@@ -3900,102 +4201,100 @@ function parse$2(value, root, parent, rule, rules, rulesets, pseudo, points, dec
3900
4201
  var children = rulesets;
3901
4202
  var reference = rule;
3902
4203
  var characters = type;
3903
- while (scanning) {
3904
- switch (previous = character, character = next()) {
3905
- // (
3906
- case 40:
3907
- if (previous != 108 && characters.charCodeAt(length - 1) == 58) {
3908
- if (indexof(characters += replace(delimit(character), '&', '&\f'), '&\f') != -1) ampersand = -1;
3909
- break;
3910
- }
3911
- // " ' [
3912
- case 34:
3913
- case 39:
3914
- case 91:
3915
- characters += delimit(character);
3916
- break;
3917
- // \t \n \r \s
3918
- case 9:
3919
- case 10:
3920
- case 13:
3921
- case 32:
3922
- characters += whitespace(previous);
3923
- break;
3924
- // \
3925
- case 92:
3926
- characters += escaping(caret() - 1, 7);
3927
- continue;
3928
- // /
3929
- case 47:
3930
- switch (peek()) {
3931
- case 42:
3932
- case 47:
3933
- append(comment(commenter(next(), caret()), root, parent), declarations);
3934
- break;
3935
- default:
3936
- characters += '/';
3937
- }
3938
- break;
3939
- // {
3940
- case 123 * variable:
3941
- points[index++] = strlen(characters) * ampersand;
3942
- // } ; \0
3943
- case 125 * variable:
3944
- case 59:
3945
- case 0:
3946
- switch (character) {
3947
- // \0 }
3948
- case 0:
3949
- case 125:
3950
- scanning = 0;
3951
- // ;
3952
- case 59 + offset:
3953
- if (property > 0 && strlen(characters) - length) append(property > 32 ? declaration(characters + ';', rule, parent, length - 1) : declaration(replace(characters, ' ', '') + ';', rule, parent, length - 2), declarations);
3954
- break;
3955
- // @ ;
3956
- case 59:
3957
- characters += ';';
3958
- // { rule/at-rule
3959
- default:
3960
- append(reference = ruleset(characters, root, parent, index, offset, rules, points, type, props = [], children = [], length), rulesets);
3961
- if (character === 123) if (offset === 0) parse$2(characters, root, reference, reference, props, rulesets, length, points, children);else switch (atrule) {
3962
- // d m s
3963
- case 100:
3964
- case 109:
3965
- case 115:
3966
- parse$2(value, reference, reference, rule && append(ruleset(value, reference, reference, 0, 0, rules, points, type, rules, props = [], length), children), rules, children, length, points, rule ? props : children);
3967
- break;
3968
- default:
3969
- parse$2(characters, reference, reference, reference, [''], children, 0, points, children);
3970
- }
3971
- }
3972
- index = offset = property = 0, variable = ampersand = 1, type = characters = '', length = pseudo;
4204
+ while (scanning) switch (previous = character, character = next()) {
4205
+ // (
4206
+ case 40:
4207
+ if (previous != 108 && characters.charCodeAt(length - 1) == 58) {
4208
+ if (indexof(characters += replace(delimit(character), '&', '&\f'), '&\f') != -1) ampersand = -1;
3973
4209
  break;
3974
- // :
3975
- case 58:
3976
- length = 1 + strlen(characters), property = previous;
3977
- default:
3978
- if (variable < 1) if (character == 123) --variable;else if (character == 125 && variable++ == 0 && prev() == 125) continue;
3979
- switch (characters += from(character), character * variable) {
3980
- // &
3981
- case 38:
3982
- ampersand = offset > 0 ? 1 : (characters += '\f', -1);
3983
- break;
3984
- // ,
3985
- case 44:
3986
- points[index++] = (strlen(characters) - 1) * ampersand, ampersand = 1;
3987
- break;
3988
- // @
3989
- case 64:
3990
- // -
3991
- if (peek() === 45) characters += delimit(next());
3992
- atrule = peek(), offset = length = strlen(type = characters += identifier(caret())), character++;
3993
- break;
4210
+ }
4211
+ // " ' [
4212
+ case 34:
4213
+ case 39:
4214
+ case 91:
4215
+ characters += delimit(character);
4216
+ break;
4217
+ // \t \n \r \s
4218
+ case 9:
4219
+ case 10:
4220
+ case 13:
4221
+ case 32:
4222
+ characters += whitespace(previous);
4223
+ break;
4224
+ // \
4225
+ case 92:
4226
+ characters += escaping(caret() - 1, 7);
4227
+ continue;
4228
+ // /
4229
+ case 47:
4230
+ switch (peek()) {
4231
+ case 42:
4232
+ case 47:
4233
+ append(comment(commenter(next(), caret()), root, parent), declarations);
4234
+ break;
4235
+ default:
4236
+ characters += '/';
4237
+ }
4238
+ break;
4239
+ // {
4240
+ case 123 * variable:
4241
+ points[index++] = strlen(characters) * ampersand;
4242
+ // } ; \0
4243
+ case 125 * variable:
4244
+ case 59:
4245
+ case 0:
4246
+ switch (character) {
4247
+ // \0 }
4248
+ case 0:
4249
+ case 125:
4250
+ scanning = 0;
4251
+ // ;
4252
+ case 59 + offset:
4253
+ if (property > 0 && strlen(characters) - length) append(property > 32 ? declaration(characters + ';', rule, parent, length - 1) : declaration(replace(characters, ' ', '') + ';', rule, parent, length - 2), declarations);
4254
+ break;
4255
+ // @ ;
4256
+ case 59:
4257
+ characters += ';';
4258
+ // { rule/at-rule
4259
+ default:
4260
+ append(reference = ruleset(characters, root, parent, index, offset, rules, points, type, props = [], children = [], length), rulesets);
4261
+ if (character === 123) if (offset === 0) parse$2(characters, root, reference, reference, props, rulesets, length, points, children);else switch (atrule) {
4262
+ // d m s
4263
+ case 100:
4264
+ case 109:
4265
+ case 115:
4266
+ parse$2(value, reference, reference, rule && append(ruleset(value, reference, reference, 0, 0, rules, points, type, rules, props = [], length), children), rules, children, length, points, rule ? props : children);
4267
+ break;
4268
+ default:
4269
+ parse$2(characters, reference, reference, reference, [''], children, 0, points, children);
4270
+ }
4271
+ }
4272
+ index = offset = property = 0, variable = ampersand = 1, type = characters = '', length = pseudo;
4273
+ break;
4274
+ // :
4275
+ case 58:
4276
+ length = 1 + strlen(characters), property = previous;
4277
+ default:
4278
+ if (variable < 1) if (character == 123) --variable;else if (character == 125 && variable++ == 0 && prev() == 125) continue;
4279
+ switch (characters += from(character), character * variable) {
4280
+ // &
4281
+ case 38:
4282
+ ampersand = offset > 0 ? 1 : (characters += '\f', -1);
4283
+ break;
4284
+ // ,
4285
+ case 44:
4286
+ points[index++] = (strlen(characters) - 1) * ampersand, ampersand = 1;
4287
+ break;
4288
+ // @
4289
+ case 64:
3994
4290
  // -
3995
- case 45:
3996
- if (previous === 45 && strlen(characters) == 2) variable = 0;
3997
- }
3998
- }
4291
+ if (peek() === 45) characters += delimit(next());
4292
+ atrule = peek(), offset = length = strlen(type = characters += identifier(caret())), character++;
4293
+ break;
4294
+ // -
4295
+ case 45:
4296
+ if (previous === 45 && strlen(characters) == 2) variable = 0;
4297
+ }
3999
4298
  }
4000
4299
  return rulesets;
4001
4300
  }
@@ -4018,11 +4317,7 @@ function ruleset(value, root, parent, index, offset, rules, points, type, props,
4018
4317
  var post = offset - 1;
4019
4318
  var rule = offset === 0 ? rules : [''];
4020
4319
  var size = sizeof(rule);
4021
- for (var i = 0, j = 0, k = 0; i < index; ++i) {
4022
- for (var x = 0, y = substr(value, post + 1, post = abs(j = points[i])), z = value; x < size; ++x) {
4023
- if (z = trim(j > 0 ? rule[x] + ' ' + y : replace(y, /&\f/g, rule[x]))) props[k++] = z;
4024
- }
4025
- }
4320
+ for (var i = 0, j = 0, k = 0; i < index; ++i) for (var x = 0, y = substr(value, post + 1, post = abs(j = points[i])), z = value; x < size; ++x) if (z = trim(j > 0 ? rule[x] + ' ' + y : replace(y, /&\f/g, rule[x]))) props[k++] = z;
4026
4321
  return node$1(value, root, parent, offset === 0 ? RULESET : type, props, children, length);
4027
4322
  }
4028
4323
 
@@ -4206,9 +4501,7 @@ function prefix(value, length) {
4206
4501
  function serialize(children, callback) {
4207
4502
  var output = '';
4208
4503
  var length = sizeof(children);
4209
- for (var i = 0; i < length; i++) {
4210
- output += callback(children[i], i, children, callback) || '';
4211
- }
4504
+ for (var i = 0; i < length; i++) output += callback(children[i], i, children, callback) || '';
4212
4505
  return output;
4213
4506
  }
4214
4507
 
@@ -4242,9 +4535,7 @@ function middleware(collection) {
4242
4535
  var length = sizeof(collection);
4243
4536
  return function (element, index, children, callback) {
4244
4537
  var output = '';
4245
- for (var i = 0; i < length; i++) {
4246
- output += collection[i](element, index, children, callback) || '';
4247
- }
4538
+ for (var i = 0; i < length; i++) output += collection[i](element, index, children, callback) || '';
4248
4539
  return output;
4249
4540
  };
4250
4541
  }
@@ -6341,7 +6632,7 @@ var Collapse = function Collapse(_ref) {
6341
6632
  }, []);
6342
6633
  var onCollapseLayout = useCallback(function (e) {
6343
6634
  setComponentMounted(true);
6344
- onLayout === null || onLayout === void 0 ? void 0 : onLayout(e);
6635
+ onLayout === null || onLayout === void 0 || onLayout(e);
6345
6636
  }, []);
6346
6637
  return /*#__PURE__*/React.createElement(StyledWrapper$d, {
6347
6638
  style: {
@@ -8500,17 +8791,17 @@ var BottomSheetScrollView = function BottomSheetScrollView(_ref) {
8500
8791
  var onScrollBeginDrag = useCallback(function (e) {
8501
8792
  var _props$onScrollBeginD;
8502
8793
  setInternalShowDivider(true);
8503
- props === null || props === void 0 ? void 0 : (_props$onScrollBeginD = props.onScrollBeginDrag) === null || _props$onScrollBeginD === void 0 ? void 0 : _props$onScrollBeginD.call(props, e);
8794
+ props === null || props === void 0 || (_props$onScrollBeginD = props.onScrollBeginDrag) === null || _props$onScrollBeginD === void 0 || _props$onScrollBeginD.call(props, e);
8504
8795
  }, []);
8505
8796
  var onMomentumScrollBegin = useCallback(function (e) {
8506
8797
  var _props$onMomentumScro;
8507
8798
  setInternalShowDivider(true);
8508
- props === null || props === void 0 ? void 0 : (_props$onMomentumScro = props.onMomentumScrollEnd) === null || _props$onMomentumScro === void 0 ? void 0 : _props$onMomentumScro.call(props, e);
8799
+ props === null || props === void 0 || (_props$onMomentumScro = props.onMomentumScrollEnd) === null || _props$onMomentumScro === void 0 || _props$onMomentumScro.call(props, e);
8509
8800
  }, []);
8510
8801
  var onMomentumScrollEnd = useCallback(function (e) {
8511
8802
  var _props$onMomentumScro2;
8512
8803
  setInternalShowDivider(false);
8513
- props === null || props === void 0 ? void 0 : (_props$onMomentumScro2 = props.onMomentumScrollEnd) === null || _props$onMomentumScro2 === void 0 ? void 0 : _props$onMomentumScro2.call(props, e);
8804
+ props === null || props === void 0 || (_props$onMomentumScro2 = props.onMomentumScrollEnd) === null || _props$onMomentumScro2 === void 0 || _props$onMomentumScro2.call(props, e);
8514
8805
  }, []);
8515
8806
  return /*#__PURE__*/React.createElement(ScrollView, _extends$1({}, props, {
8516
8807
  onScrollBeginDrag: onScrollBeginDrag,
@@ -8563,7 +8854,7 @@ var BottomSheet = function BottomSheet(_ref) {
8563
8854
  var endValueOfTransition = open ? 1 : 0;
8564
8855
  if (endValueOfTransition === 0 && value === endValueOfTransition) {
8565
8856
  setVisibility(false);
8566
- onDismiss === null || onDismiss === void 0 ? void 0 : onDismiss();
8857
+ onDismiss === null || onDismiss === void 0 || onDismiss();
8567
8858
  }
8568
8859
  });
8569
8860
  return function () {
@@ -11384,7 +11675,7 @@ var Calendar = function Calendar(_ref) {
11384
11675
  value: !useMonthPicker ? formatTime('MMMM yyyy', visibleDate) : /*#__PURE__*/React.createElement(TouchableOpacity, {
11385
11676
  testID: "calendar-month-picker",
11386
11677
  onPress: function onPress() {
11387
- onToggleMonthPicker === null || onToggleMonthPicker === void 0 ? void 0 : onToggleMonthPicker(!monthPickerVisible);
11678
+ onToggleMonthPicker === null || onToggleMonthPicker === void 0 || onToggleMonthPicker(!monthPickerVisible);
11388
11679
  setMonthPickerVisible(!monthPickerVisible);
11389
11680
  }
11390
11681
  }, /*#__PURE__*/React.createElement(Box, {
@@ -11479,7 +11770,7 @@ var Calendar = function Calendar(_ref) {
11479
11770
  maximumDate: maxDate,
11480
11771
  onChange: function onChange(action, date) {
11481
11772
  setMonthPickerVisible(false);
11482
- onToggleMonthPicker === null || onToggleMonthPicker === void 0 ? void 0 : onToggleMonthPicker(false);
11773
+ onToggleMonthPicker === null || onToggleMonthPicker === void 0 || onToggleMonthPicker(false);
11483
11774
  if (action === 'dateSetAction' && !!date) {
11484
11775
  onMonthChange(date);
11485
11776
  }
@@ -11672,16 +11963,6 @@ var CarouselItem = function CarouselItem(_ref) {
11672
11963
  }, heading), body ? /*#__PURE__*/React.createElement(Typography.Body, null, body) : null));
11673
11964
  };
11674
11965
 
11675
- /*
11676
- * Carousel item width.
11677
- * the percentage of the Card Carousel width
11678
- */
11679
- var ITEM_WIDTH_RATE = 0.85;
11680
- /*
11681
- * view position when scroll to Index
11682
- */
11683
- var VIEW_POSITION_CENTER = 0.5;
11684
-
11685
11966
  var StyledDataCard = index$a(View)(function (_ref) {
11686
11967
  var theme = _ref.theme;
11687
11968
  return {
@@ -11771,6 +12052,16 @@ var StyledItemWrapper = index$a(View)(function (_ref4) {
11771
12052
  };
11772
12053
  });
11773
12054
 
12055
+ /*
12056
+ * Carousel item width.
12057
+ * the percentage of the Card Carousel width
12058
+ */
12059
+ var ITEM_WIDTH_RATE = 0.85;
12060
+ /*
12061
+ * view position when scroll to Index
12062
+ */
12063
+ var VIEW_POSITION_CENTER = 0.5;
12064
+
11774
12065
  var CardCarousel = /*#__PURE__*/forwardRef(function (_ref, ref) {
11775
12066
  var onItemIndexChange = _ref.onItemIndexChange,
11776
12067
  items = _ref.items,
@@ -11805,7 +12096,7 @@ var CardCarousel = /*#__PURE__*/forwardRef(function (_ref, ref) {
11805
12096
  } else {
11806
12097
  validIndex = index;
11807
12098
  }
11808
- (_carouselRef$current = carouselRef.current) === null || _carouselRef$current === void 0 ? void 0 : _carouselRef$current.scrollToIndex({
12099
+ (_carouselRef$current = carouselRef.current) === null || _carouselRef$current === void 0 || _carouselRef$current.scrollToIndex({
11809
12100
  index: validIndex,
11810
12101
  animated: true,
11811
12102
  viewPosition: viewPosition
@@ -11820,7 +12111,7 @@ var CardCarousel = /*#__PURE__*/forwardRef(function (_ref, ref) {
11820
12111
  if (nextIndex >= items.length) {
11821
12112
  nextIndex = 0;
11822
12113
  }
11823
- (_carouselRef$current2 = carouselRef.current) === null || _carouselRef$current2 === void 0 ? void 0 : _carouselRef$current2.scrollToIndex({
12114
+ (_carouselRef$current2 = carouselRef.current) === null || _carouselRef$current2 === void 0 || _carouselRef$current2.scrollToIndex({
11824
12115
  index: nextIndex,
11825
12116
  animated: true,
11826
12117
  viewPosition: viewPosition
@@ -11852,9 +12143,9 @@ var CardCarousel = /*#__PURE__*/forwardRef(function (_ref, ref) {
11852
12143
  var viewableItems = _ref2.viewableItems;
11853
12144
  if (!viewableItems || viewableItems && !viewableItems.length) return;
11854
12145
  var index = viewableItems[0].index;
11855
- setCurrentIndex(index);
12146
+ setCurrentIndex(index || 0);
11856
12147
  if (onItemIndexChange) {
11857
- onItemIndexChange(index);
12148
+ onItemIndexChange(index || 0);
11858
12149
  }
11859
12150
  }, [onItemIndexChange]);
11860
12151
  var getItemLayout = useCallback(function (_, index) {
@@ -11867,7 +12158,7 @@ var CardCarousel = /*#__PURE__*/forwardRef(function (_ref, ref) {
11867
12158
  var flatListOnLayout = useCallback(function (e) {
11868
12159
  setFlatListWidth(e.nativeEvent.layout.width);
11869
12160
  setTimeout(function () {
11870
- onLayout === null || onLayout === void 0 ? void 0 : onLayout(e);
12161
+ onLayout === null || onLayout === void 0 || onLayout(e);
11871
12162
  });
11872
12163
  }, [setFlatListWidth, onLayout]);
11873
12164
  var renderItem = useCallback(function (_ref3) {
@@ -11982,7 +12273,7 @@ var Carousel = function Carousel(_ref) {
11982
12273
  var handle = setTimeout(function () {
11983
12274
  var _carouselRef$current;
11984
12275
  scrollX.setValue(currentSlideIndex * width);
11985
- (_carouselRef$current = carouselRef.current) === null || _carouselRef$current === void 0 ? void 0 : _carouselRef$current.scrollToOffset({
12276
+ (_carouselRef$current = carouselRef.current) === null || _carouselRef$current === void 0 || _carouselRef$current.scrollToOffset({
11986
12277
  offset: currentSlideIndex * width,
11987
12278
  animated: true
11988
12279
  });
@@ -12511,7 +12802,7 @@ var TextInput = /*#__PURE__*/forwardRef(function (_ref2, ref) {
12511
12802
  },
12512
12803
  focus: function focus() {
12513
12804
  var _innerTextInput$curre;
12514
- (_innerTextInput$curre = innerTextInput.current) === null || _innerTextInput$curre === void 0 ? void 0 : _innerTextInput$curre.focus();
12805
+ (_innerTextInput$curre = innerTextInput.current) === null || _innerTextInput$curre === void 0 || _innerTextInput$curre.focus();
12515
12806
  },
12516
12807
  clear: function clear() {
12517
12808
  var _innerTextInput$curre2;
@@ -12578,19 +12869,19 @@ var TextInput = /*#__PURE__*/forwardRef(function (_ref2, ref) {
12578
12869
  onFocus: function onFocus(event) {
12579
12870
  var _nativeProps$onFocus;
12580
12871
  setIsFocused(true);
12581
- (_nativeProps$onFocus = nativeProps.onFocus) === null || _nativeProps$onFocus === void 0 ? void 0 : _nativeProps$onFocus.call(nativeProps, event);
12872
+ (_nativeProps$onFocus = nativeProps.onFocus) === null || _nativeProps$onFocus === void 0 || _nativeProps$onFocus.call(nativeProps, event);
12582
12873
  },
12583
12874
  onBlur: function onBlur(event) {
12584
12875
  var _nativeProps$onBlur;
12585
12876
  setIsFocused(false);
12586
- (_nativeProps$onBlur = nativeProps.onBlur) === null || _nativeProps$onBlur === void 0 ? void 0 : _nativeProps$onBlur.call(nativeProps, event);
12877
+ (_nativeProps$onBlur = nativeProps.onBlur) === null || _nativeProps$onBlur === void 0 || _nativeProps$onBlur.call(nativeProps, event);
12587
12878
  },
12588
12879
  editable: editable,
12589
12880
  maxLength: maxLength,
12590
12881
  value: value,
12591
12882
  onChangeText: function onChangeText(text) {
12592
12883
  var _nativeProps$onChange;
12593
- (_nativeProps$onChange = nativeProps.onChangeText) === null || _nativeProps$onChange === void 0 ? void 0 : _nativeProps$onChange.call(nativeProps, text);
12884
+ (_nativeProps$onChange = nativeProps.onChangeText) === null || _nativeProps$onChange === void 0 || _nativeProps$onChange.call(nativeProps, text);
12594
12885
  },
12595
12886
  defaultValue: defaultValue,
12596
12887
  placeholder: isFocused || label === undefined ? nativeProps.placeholder : EMPTY_PLACEHOLDER_VALUE
@@ -13116,9 +13407,9 @@ var DragableDrawer = function DragableDrawer(_ref) {
13116
13407
  });
13117
13408
  animation.start(function () {
13118
13409
  if (animatedToValue === 0) {
13119
- onExpanded === null || onExpanded === void 0 ? void 0 : onExpanded();
13410
+ onExpanded === null || onExpanded === void 0 || onExpanded();
13120
13411
  } else if (animatedToValue === getOffset(height, minimumHeightPercentage)) {
13121
- onCollapsed === null || onCollapsed === void 0 ? void 0 : onCollapsed();
13412
+ onCollapsed === null || onCollapsed === void 0 || onCollapsed();
13122
13413
  }
13123
13414
  setAnimatedToValue(-1);
13124
13415
  });
@@ -13532,7 +13823,7 @@ var Modal = /*#__PURE__*/forwardRef(function (_ref, ref) {
13532
13823
  toValue: toValue
13533
13824
  }, DEFAULT_ANIMATION_CONFIG)).start(callback);
13534
13825
  } else {
13535
- callback === null || callback === void 0 ? void 0 : callback();
13826
+ callback === null || callback === void 0 || callback();
13536
13827
  }
13537
13828
  }, [animationType, onShow, transparent]);
13538
13829
  var backdropOpacityAnimation = animatedBackdropValue.interpolate({
@@ -13556,7 +13847,7 @@ var Modal = /*#__PURE__*/forwardRef(function (_ref, ref) {
13556
13847
  toValue: 0,
13557
13848
  callback: function callback() {
13558
13849
  if (Platform.OS === 'ios') {
13559
- onDismiss === null || onDismiss === void 0 ? void 0 : onDismiss();
13850
+ onDismiss === null || onDismiss === void 0 || onDismiss();
13560
13851
  }
13561
13852
  wrapperCallback();
13562
13853
  }
@@ -13567,7 +13858,7 @@ var Modal = /*#__PURE__*/forwardRef(function (_ref, ref) {
13567
13858
  // Back button handler
13568
13859
  useEffect(function () {
13569
13860
  var backHandler = BackHandler.addEventListener('hardwareBackPress', function () {
13570
- onRequestClose === null || onRequestClose === void 0 ? void 0 : onRequestClose();
13861
+ onRequestClose === null || onRequestClose === void 0 || onRequestClose();
13571
13862
  return true;
13572
13863
  });
13573
13864
  return function () {
@@ -13604,7 +13895,7 @@ var ModalWrapper = function ModalWrapper(_ref3) {
13604
13895
  } else {
13605
13896
  var _modalRef$current;
13606
13897
  // Wait for animation to finish before hiding the modal
13607
- (_modalRef$current = modalRef.current) === null || _modalRef$current === void 0 ? void 0 : _modalRef$current.hide(function () {
13898
+ (_modalRef$current = modalRef.current) === null || _modalRef$current === void 0 || _modalRef$current.hide(function () {
13608
13899
  return setInternalVisible(false);
13609
13900
  });
13610
13901
  }
@@ -13612,7 +13903,7 @@ var ModalWrapper = function ModalWrapper(_ref3) {
13612
13903
  useEffect(function () {
13613
13904
  if (internalVisible) {
13614
13905
  var _modalRef$current2;
13615
- (_modalRef$current2 = modalRef.current) === null || _modalRef$current2 === void 0 ? void 0 : _modalRef$current2.show();
13906
+ (_modalRef$current2 = modalRef.current) === null || _modalRef$current2 === void 0 || _modalRef$current2.show();
13616
13907
  }
13617
13908
  }, [internalVisible]);
13618
13909
  return internalVisible ? /*#__PURE__*/React.createElement(Modal, _extends$1({
@@ -14410,8 +14701,8 @@ var Toast$1 = function Toast(_ref2) {
14410
14701
  }, content) : content)), actionLabel ? /*#__PURE__*/React.createElement(CTAWrapper, {
14411
14702
  testID: "toast-action-button",
14412
14703
  onPress: function onPress() {
14413
- onAction === null || onAction === void 0 ? void 0 : onAction();
14414
- onDismiss === null || onDismiss === void 0 ? void 0 : onDismiss();
14704
+ onAction === null || onAction === void 0 || onAction();
14705
+ onDismiss === null || onDismiss === void 0 || onDismiss();
14415
14706
  }
14416
14707
  }, typeof actionLabel === 'string' ? /*#__PURE__*/React.createElement(Typography.Body, {
14417
14708
  variant: "small-bold",
@@ -14439,7 +14730,7 @@ var SingleToastDisplay = function SingleToastDisplay(_ref) {
14439
14730
  return item.id !== toast.id;
14440
14731
  });
14441
14732
  });
14442
- (_toast$props$onDismis = (_toast$props = toast.props).onDismiss) === null || _toast$props$onDismis === void 0 ? void 0 : _toast$props$onDismis.call(_toast$props);
14733
+ (_toast$props$onDismis = (_toast$props = toast.props).onDismiss) === null || _toast$props$onDismis === void 0 || _toast$props$onDismis.call(_toast$props);
14443
14734
  }
14444
14735
  })) : null;
14445
14736
  };
@@ -14500,7 +14791,7 @@ var ToastContainer = /*#__PURE__*/React.forwardRef(function (_ref2, ref) {
14500
14791
  return item.id !== id;
14501
14792
  });
14502
14793
  });
14503
- (_props$onDismiss = props.onDismiss) === null || _props$onDismiss === void 0 ? void 0 : _props$onDismiss.call(props);
14794
+ (_props$onDismiss = props.onDismiss) === null || _props$onDismiss === void 0 || _props$onDismiss.call(props);
14504
14795
  }
14505
14796
  }));
14506
14797
  }));
@@ -14911,9 +15202,9 @@ var PinInput = /*#__PURE__*/forwardRef(function (_ref2, ref) {
14911
15202
  }, []);
14912
15203
  var changeText = useCallback(function (text) {
14913
15204
  var pin = (text.match(/[0-9]/g) || []).join('');
14914
- onChangeText === null || onChangeText === void 0 ? void 0 : onChangeText(pin);
15205
+ onChangeText === null || onChangeText === void 0 || onChangeText(pin);
14915
15206
  if (pin.length === length) {
14916
- onFulfill === null || onFulfill === void 0 ? void 0 : onFulfill(pin);
15207
+ onFulfill === null || onFulfill === void 0 || onFulfill(pin);
14917
15208
  }
14918
15209
  }, [length, onChangeText, onFulfill]);
14919
15210
  useEffect(function () {
@@ -15958,7 +16249,7 @@ function MultiSelect(_ref) {
15958
16249
  }))))), /*#__PURE__*/React.createElement(BottomSheet$1, {
15959
16250
  open: open,
15960
16251
  onRequestClose: function onRequestClose() {
15961
- onDismiss === null || onDismiss === void 0 ? void 0 : onDismiss();
16252
+ onDismiss === null || onDismiss === void 0 || onDismiss();
15962
16253
  setOpen(false);
15963
16254
  },
15964
16255
  header: label,
@@ -15985,7 +16276,7 @@ function MultiSelect(_ref) {
15985
16276
  if (open === true) {
15986
16277
  var _sectionListRef$curre;
15987
16278
  var scrollParams = getScrollParams(value === null || value === void 0 ? void 0 : value[0], sections);
15988
- (_sectionListRef$curre = sectionListRef.current) === null || _sectionListRef$curre === void 0 ? void 0 : _sectionListRef$curre.scrollToLocation(scrollParams);
16279
+ (_sectionListRef$curre = sectionListRef.current) === null || _sectionListRef$curre === void 0 || _sectionListRef$curre.scrollToLocation(scrollParams);
15989
16280
  }
15990
16281
  }
15991
16282
  }, onQueryChange && /*#__PURE__*/React.createElement(StyledSearchBar, null, /*#__PURE__*/React.createElement(TextInput, {
@@ -16008,7 +16299,7 @@ function MultiSelect(_ref) {
16008
16299
  var scrollParams = getScrollParams(value === null || value === void 0 ? void 0 : value[0], sections);
16009
16300
  if (scrollParams.itemIndex < info.highestMeasuredFrameIndex) {
16010
16301
  var _sectionListRef$curre2;
16011
- (_sectionListRef$curre2 = sectionListRef.current) === null || _sectionListRef$curre2 === void 0 ? void 0 : _sectionListRef$curre2.scrollToLocation(scrollParams);
16302
+ (_sectionListRef$curre2 = sectionListRef.current) === null || _sectionListRef$curre2 === void 0 || _sectionListRef$curre2.scrollToLocation(scrollParams);
16012
16303
  }
16013
16304
  }, 500);
16014
16305
  }
@@ -16149,7 +16440,7 @@ var SingleSelect = function SingleSelect(_ref) {
16149
16440
  }))))), /*#__PURE__*/React.createElement(BottomSheet$1, {
16150
16441
  open: open,
16151
16442
  onRequestClose: function onRequestClose() {
16152
- onDismiss === null || onDismiss === void 0 ? void 0 : onDismiss();
16443
+ onDismiss === null || onDismiss === void 0 || onDismiss();
16153
16444
  setOpen(false);
16154
16445
  },
16155
16446
  header: label,
@@ -16160,7 +16451,7 @@ var SingleSelect = function SingleSelect(_ref) {
16160
16451
  if (open === true) {
16161
16452
  var _sectionListRef$curre;
16162
16453
  var scrollParams = getScrollParams(value, sections);
16163
- (_sectionListRef$curre = sectionListRef.current) === null || _sectionListRef$curre === void 0 ? void 0 : _sectionListRef$curre.scrollToLocation(scrollParams);
16454
+ (_sectionListRef$curre = sectionListRef.current) === null || _sectionListRef$curre === void 0 || _sectionListRef$curre.scrollToLocation(scrollParams);
16164
16455
  }
16165
16456
  }
16166
16457
  }, onQueryChange && /*#__PURE__*/React.createElement(StyledSearchBar, null, /*#__PURE__*/React.createElement(TextInput, {
@@ -16186,7 +16477,7 @@ var SingleSelect = function SingleSelect(_ref) {
16186
16477
  var scrollParams = getScrollParams(value, sections);
16187
16478
  if (scrollParams.itemIndex < info.highestMeasuredFrameIndex) {
16188
16479
  var _sectionListRef$curre2;
16189
- (_sectionListRef$curre2 = sectionListRef.current) === null || _sectionListRef$curre2 === void 0 ? void 0 : _sectionListRef$curre2.scrollToLocation(scrollParams);
16480
+ (_sectionListRef$curre2 = sectionListRef.current) === null || _sectionListRef$curre2 === void 0 || _sectionListRef$curre2.scrollToLocation(scrollParams);
16190
16481
  }
16191
16482
  }, 500);
16192
16483
  }
@@ -16281,7 +16572,7 @@ var Skeleton = function Skeleton(_ref) {
16281
16572
  if (!shouldStartAnimation) {
16282
16573
  setShouldStartAnimation(true);
16283
16574
  }
16284
- onLayout === null || onLayout === void 0 ? void 0 : onLayout(e);
16575
+ onLayout === null || onLayout === void 0 || onLayout(e);
16285
16576
  }, []);
16286
16577
  return /*#__PURE__*/React.createElement(StyledContainer, _extends$1({
16287
16578
  style: style,
@@ -16929,7 +17220,7 @@ var ScrollableTabHeader = function ScrollableTabHeader(_ref2) {
16929
17220
  React.useEffect(function () {
16930
17221
  if (selectedIndex !== undefined && selectedIndex !== -1) {
16931
17222
  var _flatListRef$current;
16932
- (_flatListRef$current = flatListRef.current) === null || _flatListRef$current === void 0 ? void 0 : _flatListRef$current.scrollToIndex({
17223
+ (_flatListRef$current = flatListRef.current) === null || _flatListRef$current === void 0 || _flatListRef$current.scrollToIndex({
16933
17224
  index: selectedIndex,
16934
17225
  viewPosition: 0.5
16935
17226
  });
@@ -17053,7 +17344,7 @@ var ScrollableTab = function ScrollableTab(_ref) {
17053
17344
  timeoutHandle = setTimeout(function () {
17054
17345
  var _pagerViewRef$current;
17055
17346
  // use no animation to prevent unexpected behavior if users select tab too quickly
17056
- (_pagerViewRef$current = pagerViewRef.current) === null || _pagerViewRef$current === void 0 ? void 0 : _pagerViewRef$current.setPageWithoutAnimation(selectedTabIndex);
17347
+ (_pagerViewRef$current = pagerViewRef.current) === null || _pagerViewRef$current === void 0 || _pagerViewRef$current.setPageWithoutAnimation(selectedTabIndex);
17057
17348
  }, 200);
17058
17349
  }
17059
17350
  return function () {
@@ -17154,7 +17445,7 @@ var Tabs = function Tabs(_ref2) {
17154
17445
  useEffect(function () {
17155
17446
  if (selectedTabIndex !== -1) {
17156
17447
  var _pagerViewRef$current;
17157
- (_pagerViewRef$current = pagerViewRef.current) === null || _pagerViewRef$current === void 0 ? void 0 : _pagerViewRef$current.setPage(selectedTabIndex);
17448
+ (_pagerViewRef$current = pagerViewRef.current) === null || _pagerViewRef$current === void 0 || _pagerViewRef$current.setPage(selectedTabIndex);
17158
17449
  }
17159
17450
  }, [selectedTabIndex]);
17160
17451
  var tabContextProviderValue = React.useMemo(function () {
@@ -17663,7 +17954,7 @@ var Rate = function Rate(_ref) {
17663
17954
  };
17664
17955
 
17665
17956
  var RefreshControl = function RefreshControl(_ref) {
17666
- var props = _extends$1({}, _ref);
17957
+ var props = _extends$1({}, (_objectDestructuringEmpty(_ref), _ref));
17667
17958
  var theme = useTheme();
17668
17959
  return /*#__PURE__*/React.createElement(RefreshControl$1, _extends$1({}, props, {
17669
17960
  colors: [theme.__hd__.refreshControl.colors.indicator],
@@ -18304,9 +18595,7 @@ var aa = React,
18304
18595
  n = objectAssign,
18305
18596
  q = scheduler.exports;
18306
18597
  function u(a) {
18307
- for (var b = "https://reactjs.org/docs/error-decoder.html?invariant=" + a, c = 1; c < arguments.length; c++) {
18308
- b += "&args[]=" + encodeURIComponent(arguments[c]);
18309
- }
18598
+ for (var b = "https://reactjs.org/docs/error-decoder.html?invariant=" + a, c = 1; c < arguments.length; c++) b += "&args[]=" + encodeURIComponent(arguments[c]);
18310
18599
  return "Minified React error #" + a + "; visit " + b + " for the full message or use the non-minified dev environment for full errors and additional helpful warnings.";
18311
18600
  }
18312
18601
  if (!aa) throw Error(u(227));
@@ -18330,9 +18619,7 @@ function da() {
18330
18619
  fa[h] = f;
18331
18620
  var k = f.phasedRegistrationNames;
18332
18621
  if (k) {
18333
- for (e in k) {
18334
- k.hasOwnProperty(e) && ha(k[e], g, h);
18335
- }
18622
+ for (e in k) k.hasOwnProperty(e) && ha(k[e], g, h);
18336
18623
  e = !0;
18337
18624
  } else f.registrationName ? (ha(f.registrationName, g, h), e = !0) : e = !1;
18338
18625
  if (!e) throw Error(u(98, d, a));
@@ -18410,9 +18697,7 @@ function Aa(a) {
18410
18697
  if (a) {
18411
18698
  var b = a._dispatchListeners,
18412
18699
  c = a._dispatchInstances;
18413
- if (Array.isArray(b)) for (var d = 0; d < b.length && !a.isPropagationStopped(); d++) {
18414
- wa(a, b[d], c[d]);
18415
- } else b && wa(a, b, c);
18700
+ if (Array.isArray(b)) for (var d = 0; d < b.length && !a.isPropagationStopped(); d++) wa(a, b[d], c[d]);else b && wa(a, b, c);
18416
18701
  a._dispatchListeners = null;
18417
18702
  a._dispatchInstances = null;
18418
18703
  a.isPersistent() || a.constructor.release(a);
@@ -18437,14 +18722,12 @@ var Ca = {
18437
18722
  injectEventPluginsByName: function injectEventPluginsByName(a) {
18438
18723
  var b = !1,
18439
18724
  c;
18440
- for (c in a) {
18441
- if (a.hasOwnProperty(c)) {
18442
- var d = a[c];
18443
- if (!ca.hasOwnProperty(c) || ca[c] !== d) {
18444
- if (ca[c]) throw Error(u(102, c));
18445
- ca[c] = d;
18446
- b = !0;
18447
- }
18725
+ for (c in a) if (a.hasOwnProperty(c)) {
18726
+ var d = a[c];
18727
+ if (!ca.hasOwnProperty(c) || ca[c] !== d) {
18728
+ if (ca[c]) throw Error(u(102, c));
18729
+ ca[c] = d;
18730
+ b = !0;
18448
18731
  }
18449
18732
  }
18450
18733
  b && da();
@@ -18600,9 +18883,7 @@ function db() {
18600
18883
  b = ab;
18601
18884
  ab = $a = null;
18602
18885
  bb(a);
18603
- if (b) for (a = 0; a < b.length; a++) {
18604
- bb(b[a]);
18605
- }
18886
+ if (b) for (a = 0; a < b.length; a++) bb(b[a]);
18606
18887
  }
18607
18888
  }
18608
18889
  function eb(a, b) {
@@ -18861,12 +19142,8 @@ function Jb(a, b, c, d) {
18861
19142
  a = a.options;
18862
19143
  if (b) {
18863
19144
  b = {};
18864
- for (var e = 0; e < c.length; e++) {
18865
- b["$" + c[e]] = !0;
18866
- }
18867
- for (c = 0; c < a.length; c++) {
18868
- e = b.hasOwnProperty("$" + a[c].value), a[c].selected !== e && (a[c].selected = e), e && d && (a[c].defaultSelected = !0);
18869
- }
19145
+ for (var e = 0; e < c.length; e++) b["$" + c[e]] = !0;
19146
+ for (c = 0; c < a.length; c++) e = b.hasOwnProperty("$" + a[c].value), a[c].selected !== e && (a[c].selected = e), e && d && (a[c].defaultSelected = !0);
18870
19147
  } else {
18871
19148
  c = "" + ub(c);
18872
19149
  b = null;
@@ -18947,12 +19224,8 @@ var Rb,
18947
19224
  if (a.namespaceURI !== Ob.svg || "innerHTML" in a) a.innerHTML = b;else {
18948
19225
  Rb = Rb || document.createElement("div");
18949
19226
  Rb.innerHTML = "<svg>" + b.valueOf().toString() + "</svg>";
18950
- for (b = Rb.firstChild; a.firstChild;) {
18951
- a.removeChild(a.firstChild);
18952
- }
18953
- for (; b.firstChild;) {
18954
- a.appendChild(b.firstChild);
18955
- }
19227
+ for (b = Rb.firstChild; a.firstChild;) a.removeChild(a.firstChild);
19228
+ for (; b.firstChild;) a.appendChild(b.firstChild);
18956
19229
  }
18957
19230
  });
18958
19231
  function Tb(a, b) {
@@ -18986,9 +19259,7 @@ function Yb(a) {
18986
19259
  if (!Vb[a]) return a;
18987
19260
  var b = Vb[a],
18988
19261
  c;
18989
- for (c in b) {
18990
- if (b.hasOwnProperty(c) && c in Xb) return Wb[a] = b[c];
18991
- }
19262
+ for (c in b) if (b.hasOwnProperty(c) && c in Xb) return Wb[a] = b[c];
18992
19263
  return a;
18993
19264
  }
18994
19265
  var Zb = Yb("animationend"),
@@ -18999,13 +19270,9 @@ var Zb = Yb("animationend"),
18999
19270
  function ec(a) {
19000
19271
  var b = a,
19001
19272
  c = a;
19002
- if (a.alternate) for (; b["return"];) {
19003
- b = b["return"];
19004
- } else {
19273
+ if (a.alternate) for (; b["return"];) b = b["return"];else {
19005
19274
  a = b;
19006
- do {
19007
- b = a, 0 !== (b.effectTag & 1026) && (c = b["return"]), a = b["return"];
19008
- } while (a);
19275
+ do b = a, 0 !== (b.effectTag & 1026) && (c = b["return"]), a = b["return"]; while (a);
19009
19276
  }
19010
19277
  return 3 === b.tag ? c : null;
19011
19278
  }
@@ -19248,12 +19515,8 @@ function Lc(a) {
19248
19515
  null !== qc && Kc(qc, a);
19249
19516
  rc.forEach(b);
19250
19517
  sc.forEach(b);
19251
- for (c = 0; c < tc.length; c++) {
19252
- d = tc[c], d.blockedOn === a && (d.blockedOn = null);
19253
- }
19254
- for (; 0 < tc.length && (c = tc[0], null === c.blockedOn);) {
19255
- Ec(c), null === c.blockedOn && tc.shift();
19256
- }
19518
+ for (c = 0; c < tc.length; c++) d = tc[c], d.blockedOn === a && (d.blockedOn = null);
19519
+ for (; 0 < tc.length && (c = tc[0], null === c.blockedOn);) Ec(c), null === c.blockedOn && tc.shift();
19257
19520
  }
19258
19521
  function Mc(a) {
19259
19522
  a = a.target || a.srcElement || window;
@@ -19261,9 +19524,7 @@ function Mc(a) {
19261
19524
  return 3 === a.nodeType ? a.parentNode : a;
19262
19525
  }
19263
19526
  function Nc(a) {
19264
- do {
19265
- a = a["return"];
19266
- } while (a && 5 !== a.tag);
19527
+ do a = a["return"]; while (a && 5 !== a.tag);
19267
19528
  return a ? a : null;
19268
19529
  }
19269
19530
  function Oc(a, b, c) {
@@ -19271,15 +19532,9 @@ function Oc(a, b, c) {
19271
19532
  }
19272
19533
  function Pc(a) {
19273
19534
  if (a && a.dispatchConfig.phasedRegistrationNames) {
19274
- for (var b = a._targetInst, c = []; b;) {
19275
- c.push(b), b = Nc(b);
19276
- }
19277
- for (b = c.length; 0 < b--;) {
19278
- Oc(c[b], "captured", a);
19279
- }
19280
- for (b = 0; b < c.length; b++) {
19281
- Oc(c[b], "bubbled", a);
19282
- }
19535
+ for (var b = a._targetInst, c = []; b;) c.push(b), b = Nc(b);
19536
+ for (b = c.length; 0 < b--;) Oc(c[b], "captured", a);
19537
+ for (b = 0; b < c.length; b++) Oc(c[b], "bubbled", a);
19283
19538
  }
19284
19539
  }
19285
19540
  function Qc(a, b, c) {
@@ -19302,9 +19557,7 @@ function E(a, b, c, d) {
19302
19557
  this._targetInst = b;
19303
19558
  this.nativeEvent = c;
19304
19559
  a = this.constructor.Interface;
19305
- for (var e in a) {
19306
- a.hasOwnProperty(e) && ((b = a[e]) ? this[e] = b(c) : "target" === e ? this.target = d : this[e] = c[e]);
19307
- }
19560
+ for (var e in a) a.hasOwnProperty(e) && ((b = a[e]) ? this[e] = b(c) : "target" === e ? this.target = d : this[e] = c[e]);
19308
19561
  this.isDefaultPrevented = (null != c.defaultPrevented ? c.defaultPrevented : !1 === c.returnValue) ? Tc : Uc;
19309
19562
  this.isPropagationStopped = Uc;
19310
19563
  return this;
@@ -19326,9 +19579,7 @@ n(E.prototype, {
19326
19579
  destructor: function destructor() {
19327
19580
  var a = this.constructor.Interface,
19328
19581
  b;
19329
- for (b in a) {
19330
- this[b] = null;
19331
- }
19582
+ for (b in a) this[b] = null;
19332
19583
  this.nativeEvent = this._targetInst = this.dispatchConfig = null;
19333
19584
  this.isPropagationStopped = this.isDefaultPrevented = Uc;
19334
19585
  this._dispatchInstances = this._dispatchListeners = null;
@@ -19693,9 +19944,7 @@ function Kd(a) {
19693
19944
  }
19694
19945
  var d = c;
19695
19946
  if (3 === d.tag) d = d.stateNode.containerInfo;else {
19696
- for (; d["return"];) {
19697
- d = d["return"];
19698
- }
19947
+ for (; d["return"];) d = d["return"];
19699
19948
  d = 3 !== d.tag ? null : d.stateNode.containerInfo;
19700
19949
  }
19701
19950
  if (!d) break;
@@ -19895,13 +20144,11 @@ function Vd(a, b, c) {
19895
20144
  }
19896
20145
  function Wd(a, b) {
19897
20146
  a = a.style;
19898
- for (var c in b) {
19899
- if (b.hasOwnProperty(c)) {
19900
- var d = 0 === c.indexOf("--"),
19901
- e = Vd(c, b[c], d);
19902
- "float" === c && (c = "cssFloat");
19903
- d ? a.setProperty(c, e) : a[c] = e;
19904
- }
20147
+ for (var c in b) if (b.hasOwnProperty(c)) {
20148
+ var d = 0 === c.indexOf("--"),
20149
+ e = Vd(c, b[c], d);
20150
+ "float" === c && (c = "cssFloat");
20151
+ d ? a.setProperty(c, e) : a[c] = e;
19905
20152
  }
19906
20153
  }
19907
20154
  var Xd = n({
@@ -19953,9 +20200,7 @@ function $d(a, b) {
19953
20200
  a = 9 === a.nodeType || 11 === a.nodeType ? a : a.ownerDocument;
19954
20201
  var c = xc(a);
19955
20202
  b = ja[b];
19956
- for (var d = 0; d < b.length; d++) {
19957
- yc(b[d], a, c);
19958
- }
20203
+ for (var d = 0; d < b.length; d++) yc(b[d], a, c);
19959
20204
  }
19960
20205
  function ae() {}
19961
20206
  function be(a) {
@@ -19968,9 +20213,7 @@ function be(a) {
19968
20213
  }
19969
20214
  }
19970
20215
  function ce(a) {
19971
- for (; a && a.firstChild;) {
19972
- a = a.firstChild;
19973
- }
20216
+ for (; a && a.firstChild;) a = a.firstChild;
19974
20217
  return a;
19975
20218
  }
19976
20219
  function de(a, b) {
@@ -20102,11 +20345,9 @@ function Ce() {
20102
20345
  d,
20103
20346
  e = "value" in ze ? ze.value : ze.textContent,
20104
20347
  f = e.length;
20105
- for (a = 0; a < c && b[a] === e[a]; a++) {
20106
- }
20348
+ for (a = 0; a < c && b[a] === e[a]; a++);
20107
20349
  var g = c - a;
20108
- for (d = 1; d <= g && b[c - d] === e[f - d]; d++) {
20109
- }
20350
+ for (d = 1; d <= g && b[c - d] === e[f - d]; d++);
20110
20351
  return Be = e.slice(a, 1 < d ? 1 - d : void 0);
20111
20352
  }
20112
20353
  var De = E.extend({
@@ -20371,19 +20612,11 @@ var jf = {
20371
20612
  l = h;
20372
20613
  a = m;
20373
20614
  g = 0;
20374
- for (b = l; b; b = Nc(b)) {
20375
- g++;
20376
- }
20615
+ for (b = l; b; b = Nc(b)) g++;
20377
20616
  b = 0;
20378
- for (e = a; e; e = Nc(e)) {
20379
- b++;
20380
- }
20381
- for (; 0 < g - b;) {
20382
- l = Nc(l), g--;
20383
- }
20384
- for (; 0 < b - g;) {
20385
- a = Nc(a), b--;
20386
- }
20617
+ for (e = a; e; e = Nc(e)) b++;
20618
+ for (; 0 < g - b;) l = Nc(l), g--;
20619
+ for (; 0 < b - g;) a = Nc(a), b--;
20387
20620
  for (; g--;) {
20388
20621
  if (l === a || l === a.alternate) break a;
20389
20622
  l = Nc(l);
@@ -20404,12 +20637,8 @@ var jf = {
20404
20637
  h.push(m);
20405
20638
  m = Nc(m);
20406
20639
  }
20407
- for (m = 0; m < l.length; m++) {
20408
- Qc(l[m], "bubbled", k);
20409
- }
20410
- for (m = h.length; 0 < m--;) {
20411
- Qc(h[m], "captured", d);
20412
- }
20640
+ for (m = 0; m < l.length; m++) Qc(l[m], "bubbled", k);
20641
+ for (m = h.length; 0 < m--;) Qc(h[m], "captured", d);
20413
20642
  if (c === lf) return lf = null, [k];
20414
20643
  lf = c;
20415
20644
  return [k, d];
@@ -20426,9 +20655,7 @@ function qf(a, b) {
20426
20655
  var c = Object.keys(a),
20427
20656
  d = Object.keys(b);
20428
20657
  if (c.length !== d.length) return !1;
20429
- for (d = 0; d < c.length; d++) {
20430
- if (!pf.call(b, c[d]) || !of(a[c[d]], b[c[d]])) return !1;
20431
- }
20658
+ for (d = 0; d < c.length; d++) if (!pf.call(b, c[d]) || !of(a[c[d]], b[c[d]])) return !1;
20432
20659
  return !0;
20433
20660
  }
20434
20661
  var rf = Ya && "documentMode" in document && 11 >= document.documentMode,
@@ -20469,11 +20696,9 @@ var yf = {
20469
20696
  a: {
20470
20697
  e = xc(e);
20471
20698
  f = ja.onSelect;
20472
- for (var g = 0; g < f.length; g++) {
20473
- if (!e.has(f[g])) {
20474
- e = !1;
20475
- break a;
20476
- }
20699
+ for (var g = 0; g < f.length; g++) if (!e.has(f[g])) {
20700
+ e = !1;
20701
+ break a;
20477
20702
  }
20478
20703
  e = !0;
20479
20704
  }
@@ -20541,9 +20766,7 @@ function Ef(a, b) {
20541
20766
  if (d && d.__reactInternalMemoizedUnmaskedChildContext === b) return d.__reactInternalMemoizedMaskedChildContext;
20542
20767
  var e = {},
20543
20768
  f;
20544
- for (f in c) {
20545
- e[f] = b[f];
20546
- }
20769
+ for (f in c) e[f] = b[f];
20547
20770
  d && (a = a.stateNode, a.__reactInternalMemoizedUnmaskedChildContext = b, a.__reactInternalMemoizedMaskedChildContext = e);
20548
20771
  return e;
20549
20772
  }
@@ -20569,9 +20792,7 @@ function If(a, b, c) {
20569
20792
  a = b.childContextTypes;
20570
20793
  if ("function" !== typeof d.getChildContext) return c;
20571
20794
  d = d.getChildContext();
20572
- for (var e in d) {
20573
- if (!(e in a)) throw Error(u(108, Wa(b) || "Unknown", e));
20574
- }
20795
+ for (var e in d) if (!(e in a)) throw Error(u(108, Wa(b) || "Unknown", e));
20575
20796
  return n({}, c, {}, d);
20576
20797
  }
20577
20798
  function Jf(a) {
@@ -20670,9 +20891,7 @@ function ig() {
20670
20891
  fg(99, function () {
20671
20892
  for (; a < b.length; a++) {
20672
20893
  var c = b[a];
20673
- do {
20674
- c = c(!0);
20675
- } while (null !== c);
20894
+ do c = c(!0); while (null !== c);
20676
20895
  }
20677
20896
  });
20678
20897
  Zf = null;
@@ -20692,9 +20911,7 @@ function mg(a, b) {
20692
20911
  if (a && a.defaultProps) {
20693
20912
  b = n({}, b);
20694
20913
  a = a.defaultProps;
20695
- for (var c in a) {
20696
- void 0 === b[c] && (b[c] = a[c]);
20697
- }
20914
+ for (var c in a) void 0 === b[c] && (b[c] = a[c]);
20698
20915
  }
20699
20916
  return b;
20700
20917
  }
@@ -20995,15 +21212,11 @@ function $g(a) {
20995
21212
  }
20996
21213
  function c(c, d) {
20997
21214
  if (!a) return null;
20998
- for (; null !== d;) {
20999
- b(c, d), d = d.sibling;
21000
- }
21215
+ for (; null !== d;) b(c, d), d = d.sibling;
21001
21216
  return null;
21002
21217
  }
21003
21218
  function d(a, b) {
21004
- for (a = new Map(); null !== b;) {
21005
- null !== b.key ? a.set(b.key, b) : a.set(b.index, b), b = b.sibling;
21006
- }
21219
+ for (a = new Map(); null !== b;) null !== b.key ? a.set(b.key, b) : a.set(b.index, b), b = b.sibling;
21007
21220
  return a;
21008
21221
  }
21009
21222
  function e(a, b, c) {
@@ -21108,14 +21321,10 @@ function $g(a) {
21108
21321
  }
21109
21322
  if (x === h.length) return c(e, r), l;
21110
21323
  if (null === r) {
21111
- for (; x < h.length; x++) {
21112
- r = C(e, h[x], k), null !== r && (g = f(r, g, x), null === m ? l = r : m.sibling = r, m = r);
21113
- }
21324
+ for (; x < h.length; x++) r = C(e, h[x], k), null !== r && (g = f(r, g, x), null === m ? l = r : m.sibling = r, m = r);
21114
21325
  return l;
21115
21326
  }
21116
- for (r = d(e, r); x < h.length; x++) {
21117
- A = H(r, e, x, h[x], k), null !== A && (a && null !== A.alternate && r["delete"](null === A.key ? x : A.key), g = f(A, g, x), null === m ? l = A : m.sibling = A, m = A);
21118
- }
21327
+ for (r = d(e, r); x < h.length; x++) A = H(r, e, x, h[x], k), null !== A && (a && null !== A.alternate && r["delete"](null === A.key ? x : A.key), g = f(A, g, x), null === m ? l = A : m.sibling = A, m = A);
21119
21328
  a && r.forEach(function (a) {
21120
21329
  return b(e, a);
21121
21330
  });
@@ -21141,14 +21350,10 @@ function $g(a) {
21141
21350
  }
21142
21351
  if (p.done) return c(e, r), l;
21143
21352
  if (null === r) {
21144
- for (; !p.done; x++, p = h.next()) {
21145
- p = C(e, p.value, k), null !== p && (g = f(p, g, x), null === m ? l = p : m.sibling = p, m = p);
21146
- }
21353
+ for (; !p.done; x++, p = h.next()) p = C(e, p.value, k), null !== p && (g = f(p, g, x), null === m ? l = p : m.sibling = p, m = p);
21147
21354
  return l;
21148
21355
  }
21149
- for (r = d(e, r); !p.done; x++, p = h.next()) {
21150
- p = H(r, e, x, p.value, k), null !== p && (a && null !== p.alternate && r["delete"](null === p.key ? x : p.key), g = f(p, g, x), null === m ? l = p : m.sibling = p, m = p);
21151
- }
21356
+ for (r = d(e, r); !p.done; x++, p = h.next()) p = H(r, e, x, p.value, k), null !== p && (a && null !== p.alternate && r["delete"](null === p.key ? x : p.key), g = f(p, g, x), null === m ? l = p : m.sibling = p, m = p);
21152
21357
  a && r.forEach(function (a) {
21153
21358
  return b(e, a);
21154
21359
  });
@@ -21313,9 +21518,7 @@ function Q() {
21313
21518
  }
21314
21519
  function Hh(a, b) {
21315
21520
  if (null === b) return !1;
21316
- for (var c = 0; c < b.length && c < a.length; c++) {
21317
- if (!of(a[c], b[c])) return !1;
21318
- }
21521
+ for (var c = 0; c < b.length && c < a.length; c++) if (!of(a[c], b[c])) return !1;
21319
21522
  return !0;
21320
21523
  }
21321
21524
  function Ih(a, b, c, d, e, f) {
@@ -21325,9 +21528,7 @@ function Ih(a, b, c, d, e, f) {
21325
21528
  sh.current = null === vh ? Jh : Kh;
21326
21529
  b = c(d, e);
21327
21530
  if (Bh) {
21328
- do {
21329
- Bh = !1, Gh += 1, vh = null !== a ? a.memoizedState : null, xh = wh, zh = P = O = null, sh.current = Kh, b = c(d, e);
21330
- } while (Bh);
21531
+ do Bh = !1, Gh += 1, vh = null !== a ? a.memoizedState : null, xh = wh, zh = P = O = null, sh.current = Kh, b = c(d, e); while (Bh);
21331
21532
  Ch = null;
21332
21533
  Gh = 0;
21333
21534
  }
@@ -21399,9 +21600,7 @@ function Qh(a) {
21399
21600
  if (void 0 !== e) {
21400
21601
  Ch["delete"](c);
21401
21602
  var f = b.memoizedState;
21402
- do {
21403
- f = a(f, e.action), e = e.next;
21404
- } while (null !== e);
21603
+ do f = a(f, e.action), e = e.next; while (null !== e);
21405
21604
  of(f, b.memoizedState) || (wg = !0);
21406
21605
  b.memoizedState = f;
21407
21606
  b.baseUpdate === c.last && (b.baseState = f);
@@ -21522,9 +21721,7 @@ function Sh(a, b, c) {
21522
21721
  eagerState: null,
21523
21722
  next: null
21524
21723
  }, null === Ch && (Ch = new Map()), c = Ch.get(b), void 0 === c) Ch.set(b, a);else {
21525
- for (b = c; null !== b.next;) {
21526
- b = b.next;
21527
- }
21724
+ for (b = c; null !== b.next;) b = b.next;
21528
21725
  b.next = a;
21529
21726
  }
21530
21727
  } else {
@@ -21759,18 +21956,14 @@ function ii(a) {
21759
21956
  }
21760
21957
  }
21761
21958
  function ji(a) {
21762
- for (a = a["return"]; null !== a && 5 !== a.tag && 3 !== a.tag && 13 !== a.tag;) {
21763
- a = a["return"];
21764
- }
21959
+ for (a = a["return"]; null !== a && 5 !== a.tag && 3 !== a.tag && 13 !== a.tag;) a = a["return"];
21765
21960
  ci = a;
21766
21961
  }
21767
21962
  function ki(a) {
21768
21963
  if (a !== ci) return !1;
21769
21964
  if (!ei) return ji(a), ei = !0, !1;
21770
21965
  var b = a.type;
21771
- if (5 !== a.tag || "head" !== b && "body" !== b && !oe(b, a.memoizedProps)) for (b = di; b;) {
21772
- fi(a, b), b = re(b.nextSibling);
21773
- }
21966
+ if (5 !== a.tag || "head" !== b && "body" !== b && !oe(b, a.memoizedProps)) for (b = di; b;) fi(a, b), b = re(b.nextSibling);
21774
21967
  ji(a);
21775
21968
  if (13 === a.tag) {
21776
21969
  a = a.memoizedState;
@@ -21911,9 +22104,7 @@ function yi(a, b, c) {
21911
22104
  g = e.fallback;
21912
22105
  e = eh(null, d, 0, null);
21913
22106
  e["return"] = b;
21914
- if (0 === (b.mode & 2)) for (a = null !== b.memoizedState ? b.child.child : b.child, e.child = a; null !== a;) {
21915
- a["return"] = e, a = a.sibling;
21916
- }
22107
+ if (0 === (b.mode & 2)) for (a = null !== b.memoizedState ? b.child.child : b.child, e.child = a; null !== a;) a["return"] = e, a = a.sibling;
21917
22108
  c = eh(g, d, c, null);
21918
22109
  c["return"] = b;
21919
22110
  e.sibling = c;
@@ -21932,9 +22123,7 @@ function yi(a, b, c) {
21932
22123
  e = e.fallback;
21933
22124
  c = ah(a, a.pendingProps);
21934
22125
  c["return"] = b;
21935
- if (0 === (b.mode & 2) && (g = null !== b.memoizedState ? b.child.child : b.child, g !== a.child)) for (c.child = g; null !== g;) {
21936
- g["return"] = c, g = g.sibling;
21937
- }
22126
+ if (0 === (b.mode & 2) && (g = null !== b.memoizedState ? b.child.child : b.child, g !== a.child)) for (c.child = g; null !== g;) g["return"] = c, g = g.sibling;
21938
22127
  d = ah(d, e, d.expirationTime);
21939
22128
  d["return"] = b;
21940
22129
  c.sibling = d;
@@ -21954,9 +22143,7 @@ function yi(a, b, c) {
21954
22143
  e["return"] = b;
21955
22144
  e.child = a;
21956
22145
  null !== a && (a["return"] = e);
21957
- if (0 === (b.mode & 2)) for (a = null !== b.memoizedState ? b.child.child : b.child, e.child = a; null !== a;) {
21958
- a["return"] = e, a = a.sibling;
21959
- }
22146
+ if (0 === (b.mode & 2)) for (a = null !== b.memoizedState ? b.child.child : b.child, e.child = a; null !== a;) a["return"] = e, a = a.sibling;
21960
22147
  c = eh(g, d, c, null);
21961
22148
  c["return"] = b;
21962
22149
  e.sibling = c;
@@ -22014,9 +22201,7 @@ function Bi(a, b, c) {
22014
22201
  if (0 === (b.mode & 2)) b.memoizedState = null;else switch (e) {
22015
22202
  case "forwards":
22016
22203
  c = b.child;
22017
- for (e = null; null !== c;) {
22018
- a = c.alternate, null !== a && null === qh(a) && (e = c), c = c.sibling;
22019
- }
22204
+ for (e = null; null !== c;) a = c.alternate, null !== a && null === qh(a) && (e = c), c = c.sibling;
22020
22205
  c = e;
22021
22206
  null === c ? (e = b.child, b.child = null) : (e = c.sibling, c.sibling = null);
22022
22207
  Ai(b, !1, e, c, f, b.lastEffect);
@@ -22055,9 +22240,7 @@ function oi(a, b, c) {
22055
22240
  a = b.child;
22056
22241
  c = ah(a, a.pendingProps, a.expirationTime);
22057
22242
  b.child = c;
22058
- for (c["return"] = b; null !== a.sibling;) {
22059
- a = a.sibling, c = c.sibling = ah(a, a.pendingProps, a.expirationTime), c["return"] = b;
22060
- }
22243
+ for (c["return"] = b; null !== a.sibling;) a = a.sibling, c = c.sibling = ah(a, a.pendingProps, a.expirationTime), c["return"] = b;
22061
22244
  c.sibling = null;
22062
22245
  }
22063
22246
  return b.child;
@@ -22120,22 +22303,14 @@ Ji = function Ji(a, b, c, d, e) {
22120
22303
  Yd(c, d);
22121
22304
  var h, k;
22122
22305
  c = null;
22123
- for (h in f) {
22124
- if (!d.hasOwnProperty(h) && f.hasOwnProperty(h) && null != f[h]) if ("style" === h) for (k in g = f[h], g) {
22125
- g.hasOwnProperty(k) && (c || (c = {}), c[k] = "");
22126
- } else "dangerouslySetInnerHTML" !== h && "children" !== h && "suppressContentEditableWarning" !== h && "suppressHydrationWarning" !== h && "autoFocus" !== h && (ia.hasOwnProperty(h) ? a || (a = []) : (a = a || []).push(h, null));
22127
- }
22306
+ for (h in f) if (!d.hasOwnProperty(h) && f.hasOwnProperty(h) && null != f[h]) if ("style" === h) for (k in g = f[h], g) g.hasOwnProperty(k) && (c || (c = {}), c[k] = "");else "dangerouslySetInnerHTML" !== h && "children" !== h && "suppressContentEditableWarning" !== h && "suppressHydrationWarning" !== h && "autoFocus" !== h && (ia.hasOwnProperty(h) ? a || (a = []) : (a = a || []).push(h, null));
22128
22307
  for (h in d) {
22129
22308
  var l = d[h];
22130
22309
  g = null != f ? f[h] : void 0;
22131
22310
  if (d.hasOwnProperty(h) && l !== g && (null != l || null != g)) if ("style" === h) {
22132
22311
  if (g) {
22133
- for (k in g) {
22134
- !g.hasOwnProperty(k) || l && l.hasOwnProperty(k) || (c || (c = {}), c[k] = "");
22135
- }
22136
- for (k in l) {
22137
- l.hasOwnProperty(k) && g[k] !== l[k] && (c || (c = {}), c[k] = l[k]);
22138
- }
22312
+ for (k in g) !g.hasOwnProperty(k) || l && l.hasOwnProperty(k) || (c || (c = {}), c[k] = "");
22313
+ for (k in l) l.hasOwnProperty(k) && g[k] !== l[k] && (c || (c = {}), c[k] = l[k]);
22139
22314
  } else c || (a || (a = []), a.push(h, c)), c = l;
22140
22315
  } else "dangerouslySetInnerHTML" === h ? (l = l ? l.__html : void 0, g = g ? g.__html : void 0, null != l && g !== l && (a = a || []).push(h, "" + l)) : "children" === h ? g === l || "string" !== typeof l && "number" !== typeof l || (a = a || []).push(h, "" + l) : "suppressContentEditableWarning" !== h && "suppressHydrationWarning" !== h && (ia.hasOwnProperty(h) ? (null != l && $d(e, h), a || g === l || (a = [])) : (a = a || []).push(h, l));
22141
22316
  }
@@ -22151,16 +22326,12 @@ function Li(a, b) {
22151
22326
  switch (a.tailMode) {
22152
22327
  case "hidden":
22153
22328
  b = a.tail;
22154
- for (var c = null; null !== b;) {
22155
- null !== b.alternate && (c = b), b = b.sibling;
22156
- }
22329
+ for (var c = null; null !== b;) null !== b.alternate && (c = b), b = b.sibling;
22157
22330
  null === c ? a.tail = null : c.sibling = null;
22158
22331
  break;
22159
22332
  case "collapsed":
22160
22333
  c = a.tail;
22161
- for (var d = null; null !== c;) {
22162
- null !== c.alternate && (d = c), c = c.sibling;
22163
- }
22334
+ for (var d = null; null !== c;) null !== c.alternate && (d = c), c = c.sibling;
22164
22335
  null === d ? b || null === a.tail ? a.tail = null : a.tail.sibling = null : d.sibling = null;
22165
22336
  }
22166
22337
  }
@@ -22424,16 +22595,14 @@ function Xi(a, b, c) {
22424
22595
  e = !0;
22425
22596
  }
22426
22597
  if (5 === d.tag || 6 === d.tag) {
22427
- a: for (var h = a, k = d, l = c, m = k;;) {
22428
- if (Vi(h, m, l), null !== m.child && 4 !== m.tag) m.child["return"] = m, m = m.child;else {
22429
- if (m === k) break;
22430
- for (; null === m.sibling;) {
22431
- if (null === m["return"] || m["return"] === k) break a;
22432
- m = m["return"];
22433
- }
22434
- m.sibling["return"] = m["return"];
22435
- m = m.sibling;
22598
+ a: for (var h = a, k = d, l = c, m = k;;) if (Vi(h, m, l), null !== m.child && 4 !== m.tag) m.child["return"] = m, m = m.child;else {
22599
+ if (m === k) break;
22600
+ for (; null === m.sibling;) {
22601
+ if (null === m["return"] || m["return"] === k) break a;
22602
+ m = m["return"];
22436
22603
  }
22604
+ m.sibling["return"] = m["return"];
22605
+ m = m.sibling;
22437
22606
  }
22438
22607
  g ? (h = f, k = d.stateNode, 8 === h.nodeType ? h.parentNode.removeChild(k) : h.removeChild(k)) : f.removeChild(d.stateNode);
22439
22608
  } else if (4 === d.tag) {
@@ -22731,13 +22900,11 @@ function Qj(a, b) {
22731
22900
  var d = T;
22732
22901
  T |= oj;
22733
22902
  var e = Uj();
22734
- do {
22735
- try {
22736
- Vj();
22737
- break;
22738
- } catch (h) {
22739
- Wj(a, h);
22740
- }
22903
+ do try {
22904
+ Vj();
22905
+ break;
22906
+ } catch (h) {
22907
+ Wj(a, h);
22741
22908
  } while (1);
22742
22909
  rg();
22743
22910
  T = d;
@@ -22830,13 +22997,11 @@ function Lj(a) {
22830
22997
  var c = T;
22831
22998
  T |= oj;
22832
22999
  var d = Uj();
22833
- do {
22834
- try {
22835
- Zj();
22836
- break;
22837
- } catch (e) {
22838
- Wj(a, e);
22839
- }
23000
+ do try {
23001
+ Zj();
23002
+ break;
23003
+ } catch (e) {
23004
+ Wj(a, e);
22840
23005
  } while (1);
22841
23006
  rg();
22842
23007
  T = c;
@@ -23035,14 +23200,10 @@ function Jg(a) {
23035
23200
  a > Aj && (Aj = a);
23036
23201
  }
23037
23202
  function Zj() {
23038
- for (; null !== V;) {
23039
- V = fk(V);
23040
- }
23203
+ for (; null !== V;) V = fk(V);
23041
23204
  }
23042
23205
  function Vj() {
23043
- for (; null !== V && !Of();) {
23044
- V = fk(V);
23045
- }
23206
+ for (; null !== V && !Of();) V = fk(V);
23046
23207
  }
23047
23208
  function fk(a) {
23048
23209
  var b = gk(a.alternate, a, W);
@@ -23105,9 +23266,7 @@ function ek(a) {
23105
23266
  break;
23106
23267
  case "video":
23107
23268
  case "audio":
23108
- for (h = 0; h < dc.length; h++) {
23109
- F(dc[h], d);
23110
- }
23269
+ for (h = 0; h < dc.length; h++) F(dc[h], d);
23111
23270
  break;
23112
23271
  case "source":
23113
23272
  F("error", d);
@@ -23142,9 +23301,7 @@ function ek(a) {
23142
23301
  }
23143
23302
  Yd(c, k);
23144
23303
  h = null;
23145
- for (f in k) {
23146
- k.hasOwnProperty(f) && (g = k[f], "children" === f ? "string" === typeof g ? d.textContent !== g && (h = ["children", g]) : "number" === typeof g && d.textContent !== "" + g && (h = ["children", "" + g]) : ia.hasOwnProperty(f) && null != g && $d(l, f));
23147
- }
23304
+ for (f in k) k.hasOwnProperty(f) && (g = k[f], "children" === f ? "string" === typeof g ? d.textContent !== g && (h = ["children", g]) : "number" === typeof g && d.textContent !== "" + g && (h = ["children", "" + g]) : ia.hasOwnProperty(f) && null != g && $d(l, f));
23148
23305
  switch (c) {
23149
23306
  case "input":
23150
23307
  yb(d);
@@ -23191,9 +23348,7 @@ function ek(a) {
23191
23348
  break;
23192
23349
  case "video":
23193
23350
  case "audio":
23194
- for (d = 0; d < dc.length; d++) {
23195
- F(dc[d], k);
23196
- }
23351
+ for (d = 0; d < dc.length; d++) F(dc[d], k);
23197
23352
  d = c;
23198
23353
  break;
23199
23354
  case "source":
@@ -23249,11 +23404,9 @@ function ek(a) {
23249
23404
  g = l;
23250
23405
  var y = k,
23251
23406
  H = d;
23252
- for (h in H) {
23253
- if (H.hasOwnProperty(h)) {
23254
- var z = H[h];
23255
- "style" === h ? Wd(y, z) : "dangerouslySetInnerHTML" === h ? (z = z ? z.__html : void 0, null != z && Sb(y, z)) : "children" === h ? "string" === typeof z ? ("textarea" !== g || "" !== z) && Tb(y, z) : "number" === typeof z && Tb(y, "" + z) : "suppressContentEditableWarning" !== h && "suppressHydrationWarning" !== h && "autoFocus" !== h && (ia.hasOwnProperty(h) ? null != z && $d(m, h) : null != z && vb(y, h, z, C));
23256
- }
23407
+ for (h in H) if (H.hasOwnProperty(h)) {
23408
+ var z = H[h];
23409
+ "style" === h ? Wd(y, z) : "dangerouslySetInnerHTML" === h ? (z = z ? z.__html : void 0, null != z && Sb(y, z)) : "children" === h ? "string" === typeof z ? ("textarea" !== g || "" !== z) && Tb(y, z) : "number" === typeof z && Tb(y, "" + z) : "suppressContentEditableWarning" !== h && "suppressHydrationWarning" !== h && "autoFocus" !== h && (ia.hasOwnProperty(h) ? null != z && $d(m, h) : null != z && vb(y, h, z, C));
23257
23410
  }
23258
23411
  switch (l) {
23259
23412
  case "input":
@@ -23345,13 +23498,11 @@ function ek(a) {
23345
23498
  null === e.lastEffect && (b.firstEffect = null);
23346
23499
  b.lastEffect = e.lastEffect;
23347
23500
  e = d;
23348
- for (f = b.child; null !== f;) {
23349
- d = f, c = e, d.effectTag &= 2, d.nextEffect = null, d.firstEffect = null, d.lastEffect = null, k = d.alternate, null === k ? (d.childExpirationTime = 0, d.expirationTime = c, d.child = null, d.memoizedProps = null, d.memoizedState = null, d.updateQueue = null, d.dependencies = null) : (d.childExpirationTime = k.childExpirationTime, d.expirationTime = k.expirationTime, d.child = k.child, d.memoizedProps = k.memoizedProps, d.memoizedState = k.memoizedState, d.updateQueue = k.updateQueue, c = k.dependencies, d.dependencies = null === c ? null : {
23350
- expirationTime: c.expirationTime,
23351
- firstContext: c.firstContext,
23352
- responders: c.responders
23353
- }), f = f.sibling;
23354
- }
23501
+ for (f = b.child; null !== f;) d = f, c = e, d.effectTag &= 2, d.nextEffect = null, d.firstEffect = null, d.lastEffect = null, k = d.alternate, null === k ? (d.childExpirationTime = 0, d.expirationTime = c, d.child = null, d.memoizedProps = null, d.memoizedState = null, d.updateQueue = null, d.dependencies = null) : (d.childExpirationTime = k.childExpirationTime, d.expirationTime = k.expirationTime, d.child = k.child, d.memoizedProps = k.memoizedProps, d.memoizedState = k.memoizedState, d.updateQueue = k.updateQueue, c = k.dependencies, d.dependencies = null === c ? null : {
23502
+ expirationTime: c.expirationTime,
23503
+ firstContext: c.firstContext,
23504
+ responders: c.responders
23505
+ }), f = f.sibling;
23355
23506
  I(M, M.current & 1 | 2);
23356
23507
  b = b.child;
23357
23508
  break a;
@@ -23395,9 +23546,7 @@ function ek(a) {
23395
23546
  e = V;
23396
23547
  if (1 === W || 1 !== e.childExpirationTime) {
23397
23548
  f = 0;
23398
- for (d = e.child; null !== d;) {
23399
- c = d.expirationTime, k = d.childExpirationTime, c > f && (f = c), k > f && (f = k), d = d.sibling;
23400
- }
23549
+ for (d = e.child; null !== d;) c = d.expirationTime, k = d.childExpirationTime, c > f && (f = c), k > f && (f = k), d = d.sibling;
23401
23550
  e.childExpirationTime = f;
23402
23551
  }
23403
23552
  if (null !== b) return b;
@@ -23511,58 +23660,54 @@ function ik(a, b) {
23511
23660
  };
23512
23661
  Ld = !1;
23513
23662
  Y = e;
23514
- do {
23515
- try {
23516
- jk();
23517
- } catch (Db) {
23518
- if (null === Y) throw Error(u(330));
23519
- Ri(Y, Db);
23520
- Y = Y.nextEffect;
23521
- }
23663
+ do try {
23664
+ jk();
23665
+ } catch (Db) {
23666
+ if (null === Y) throw Error(u(330));
23667
+ Ri(Y, Db);
23668
+ Y = Y.nextEffect;
23522
23669
  } while (null !== Y);
23523
23670
  Y = e;
23524
- do {
23525
- try {
23526
- for (g = a, h = b; null !== Y;) {
23527
- var p = Y.effectTag;
23528
- p & 16 && Tb(Y.stateNode, "");
23529
- if (p & 128) {
23530
- var t = Y.alternate;
23531
- if (null !== t) {
23532
- var v = t.ref;
23533
- null !== v && ("function" === typeof v ? v(null) : v.current = null);
23534
- }
23671
+ do try {
23672
+ for (g = a, h = b; null !== Y;) {
23673
+ var p = Y.effectTag;
23674
+ p & 16 && Tb(Y.stateNode, "");
23675
+ if (p & 128) {
23676
+ var t = Y.alternate;
23677
+ if (null !== t) {
23678
+ var v = t.ref;
23679
+ null !== v && ("function" === typeof v ? v(null) : v.current = null);
23535
23680
  }
23536
- switch (p & 1038) {
23537
- case 2:
23538
- $i(Y);
23539
- Y.effectTag &= -3;
23540
- break;
23541
- case 6:
23542
- $i(Y);
23543
- Y.effectTag &= -3;
23544
- aj(Y.alternate, Y);
23545
- break;
23546
- case 1024:
23547
- Y.effectTag &= -1025;
23548
- break;
23549
- case 1028:
23550
- Y.effectTag &= -1025;
23551
- aj(Y.alternate, Y);
23552
- break;
23553
- case 4:
23554
- aj(Y.alternate, Y);
23555
- break;
23556
- case 8:
23557
- l = Y, Xi(g, l, h), Yi(l);
23558
- }
23559
- Y = Y.nextEffect;
23560
23681
  }
23561
- } catch (Db) {
23562
- if (null === Y) throw Error(u(330));
23563
- Ri(Y, Db);
23682
+ switch (p & 1038) {
23683
+ case 2:
23684
+ $i(Y);
23685
+ Y.effectTag &= -3;
23686
+ break;
23687
+ case 6:
23688
+ $i(Y);
23689
+ Y.effectTag &= -3;
23690
+ aj(Y.alternate, Y);
23691
+ break;
23692
+ case 1024:
23693
+ Y.effectTag &= -1025;
23694
+ break;
23695
+ case 1028:
23696
+ Y.effectTag &= -1025;
23697
+ aj(Y.alternate, Y);
23698
+ break;
23699
+ case 4:
23700
+ aj(Y.alternate, Y);
23701
+ break;
23702
+ case 8:
23703
+ l = Y, Xi(g, l, h), Yi(l);
23704
+ }
23564
23705
  Y = Y.nextEffect;
23565
23706
  }
23707
+ } catch (Db) {
23708
+ if (null === Y) throw Error(u(330));
23709
+ Ri(Y, Db);
23710
+ Y = Y.nextEffect;
23566
23711
  } while (null !== Y);
23567
23712
  v = me;
23568
23713
  t = fe();
@@ -23571,121 +23716,113 @@ function ik(a, b) {
23571
23716
  if (t !== p && p && p.ownerDocument && ee(p.ownerDocument.documentElement, p)) {
23572
23717
  null !== h && ge(p) && (t = h.start, v = h.end, void 0 === v && (v = t), "selectionStart" in p ? (p.selectionStart = t, p.selectionEnd = Math.min(v, p.value.length)) : (v = (t = p.ownerDocument || document) && t.defaultView || window, v.getSelection && (v = v.getSelection(), l = p.textContent.length, g = Math.min(h.start, l), h = void 0 === h.end ? g : Math.min(h.end, l), !v.extend && g > h && (l = h, h = g, g = l), l = de(p, g), m = de(p, h), l && m && (1 !== v.rangeCount || v.anchorNode !== l.node || v.anchorOffset !== l.offset || v.focusNode !== m.node || v.focusOffset !== m.offset) && (t = t.createRange(), t.setStart(l.node, l.offset), v.removeAllRanges(), g > h ? (v.addRange(t), v.extend(m.node, m.offset)) : (t.setEnd(m.node, m.offset), v.addRange(t))))));
23573
23718
  t = [];
23574
- for (v = p; v = v.parentNode;) {
23575
- 1 === v.nodeType && t.push({
23576
- element: v,
23577
- left: v.scrollLeft,
23578
- top: v.scrollTop
23579
- });
23580
- }
23719
+ for (v = p; v = v.parentNode;) 1 === v.nodeType && t.push({
23720
+ element: v,
23721
+ left: v.scrollLeft,
23722
+ top: v.scrollTop
23723
+ });
23581
23724
  "function" === typeof p.focus && p.focus();
23582
- for (p = 0; p < t.length; p++) {
23583
- v = t[p], v.element.scrollLeft = v.left, v.element.scrollTop = v.top;
23584
- }
23725
+ for (p = 0; p < t.length; p++) v = t[p], v.element.scrollLeft = v.left, v.element.scrollTop = v.top;
23585
23726
  }
23586
23727
  me = null;
23587
23728
  Ld = !!le;
23588
23729
  le = null;
23589
23730
  a.current = c;
23590
23731
  Y = e;
23591
- do {
23592
- try {
23593
- for (p = d; null !== Y;) {
23594
- var Dh = Y.effectTag;
23595
- if (Dh & 36) {
23596
- var cc = Y.alternate;
23597
- t = Y;
23598
- v = p;
23599
- switch (t.tag) {
23600
- case 0:
23601
- case 11:
23602
- case 15:
23603
- Ui(16, 32, t);
23604
- break;
23605
- case 1:
23606
- var dd = t.stateNode;
23607
- if (t.effectTag & 4) if (null === cc) dd.componentDidMount();else {
23608
- var hk = t.elementType === t.type ? cc.memoizedProps : mg(t.type, cc.memoizedProps);
23609
- dd.componentDidUpdate(hk, cc.memoizedState, dd.__reactInternalSnapshotBeforeUpdate);
23732
+ do try {
23733
+ for (p = d; null !== Y;) {
23734
+ var Dh = Y.effectTag;
23735
+ if (Dh & 36) {
23736
+ var cc = Y.alternate;
23737
+ t = Y;
23738
+ v = p;
23739
+ switch (t.tag) {
23740
+ case 0:
23741
+ case 11:
23742
+ case 15:
23743
+ Ui(16, 32, t);
23744
+ break;
23745
+ case 1:
23746
+ var dd = t.stateNode;
23747
+ if (t.effectTag & 4) if (null === cc) dd.componentDidMount();else {
23748
+ var hk = t.elementType === t.type ? cc.memoizedProps : mg(t.type, cc.memoizedProps);
23749
+ dd.componentDidUpdate(hk, cc.memoizedState, dd.__reactInternalSnapshotBeforeUpdate);
23750
+ }
23751
+ var Eh = t.updateQueue;
23752
+ null !== Eh && Kg(t, Eh, dd, v);
23753
+ break;
23754
+ case 3:
23755
+ var Fh = t.updateQueue;
23756
+ if (null !== Fh) {
23757
+ g = null;
23758
+ if (null !== t.child) switch (t.child.tag) {
23759
+ case 5:
23760
+ g = t.child.stateNode;
23761
+ break;
23762
+ case 1:
23763
+ g = t.child.stateNode;
23610
23764
  }
23611
- var Eh = t.updateQueue;
23612
- null !== Eh && Kg(t, Eh, dd, v);
23613
- break;
23614
- case 3:
23615
- var Fh = t.updateQueue;
23616
- if (null !== Fh) {
23617
- g = null;
23618
- if (null !== t.child) switch (t.child.tag) {
23619
- case 5:
23620
- g = t.child.stateNode;
23621
- break;
23622
- case 1:
23623
- g = t.child.stateNode;
23765
+ Kg(t, Fh, g, v);
23766
+ }
23767
+ break;
23768
+ case 5:
23769
+ var xk = t.stateNode;
23770
+ null === cc && t.effectTag & 4 && ne(t.type, t.memoizedProps) && xk.focus();
23771
+ break;
23772
+ case 6:
23773
+ break;
23774
+ case 4:
23775
+ break;
23776
+ case 12:
23777
+ break;
23778
+ case 13:
23779
+ if (null === t.memoizedState) {
23780
+ var Di = t.alternate;
23781
+ if (null !== Di) {
23782
+ var Ei = Di.memoizedState;
23783
+ if (null !== Ei) {
23784
+ var Fi = Ei.dehydrated;
23785
+ null !== Fi && Lc(Fi);
23624
23786
  }
23625
- Kg(t, Fh, g, v);
23626
23787
  }
23627
- break;
23788
+ }
23789
+ break;
23790
+ case 19:
23791
+ case 17:
23792
+ case 20:
23793
+ case 21:
23794
+ break;
23795
+ default:
23796
+ throw Error(u(163));
23797
+ }
23798
+ }
23799
+ if (Dh & 128) {
23800
+ t = void 0;
23801
+ var wd = Y.ref;
23802
+ if (null !== wd) {
23803
+ var Gi = Y.stateNode;
23804
+ switch (Y.tag) {
23628
23805
  case 5:
23629
- var xk = t.stateNode;
23630
- null === cc && t.effectTag & 4 && ne(t.type, t.memoizedProps) && xk.focus();
23631
- break;
23632
- case 6:
23633
- break;
23634
- case 4:
23635
- break;
23636
- case 12:
23637
- break;
23638
- case 13:
23639
- if (null === t.memoizedState) {
23640
- var Di = t.alternate;
23641
- if (null !== Di) {
23642
- var Ei = Di.memoizedState;
23643
- if (null !== Ei) {
23644
- var Fi = Ei.dehydrated;
23645
- null !== Fi && Lc(Fi);
23646
- }
23647
- }
23648
- }
23649
- break;
23650
- case 19:
23651
- case 17:
23652
- case 20:
23653
- case 21:
23806
+ t = Gi;
23654
23807
  break;
23655
23808
  default:
23656
- throw Error(u(163));
23657
- }
23658
- }
23659
- if (Dh & 128) {
23660
- t = void 0;
23661
- var wd = Y.ref;
23662
- if (null !== wd) {
23663
- var Gi = Y.stateNode;
23664
- switch (Y.tag) {
23665
- case 5:
23666
- t = Gi;
23667
- break;
23668
- default:
23669
- t = Gi;
23670
- }
23671
- "function" === typeof wd ? wd(t) : wd.current = t;
23809
+ t = Gi;
23672
23810
  }
23811
+ "function" === typeof wd ? wd(t) : wd.current = t;
23673
23812
  }
23674
- Y = Y.nextEffect;
23675
23813
  }
23676
- } catch (Db) {
23677
- if (null === Y) throw Error(u(330));
23678
- Ri(Y, Db);
23679
23814
  Y = Y.nextEffect;
23680
23815
  }
23816
+ } catch (Db) {
23817
+ if (null === Y) throw Error(u(330));
23818
+ Ri(Y, Db);
23819
+ Y = Y.nextEffect;
23681
23820
  } while (null !== Y);
23682
23821
  Y = null;
23683
23822
  Yf();
23684
23823
  T = f;
23685
23824
  } else a.current = c;
23686
- if (Dj) Dj = !1, Ej = a, Fj = b;else for (Y = e; null !== Y;) {
23687
- b = Y.nextEffect, Y.nextEffect = null, Y = b;
23688
- }
23825
+ if (Dj) Dj = !1, Ej = a, Fj = b;else for (Y = e; null !== Y;) b = Y.nextEffect, Y.nextEffect = null, Y = b;
23689
23826
  b = a.firstPendingTime;
23690
23827
  0 === b && (jj = null);
23691
23828
  1073741823 === b ? a === Ij ? Hj++ : (Hj = 0, Ij = a) : Hj = 0;
@@ -23901,9 +24038,7 @@ gk = function gk(a, b, c) {
23901
24038
  d = b.memoizedState.element;
23902
24039
  if (d === e) li(), b = oi(a, b, c);else {
23903
24040
  if (e = b.stateNode.hydrate) di = re(b.stateNode.containerInfo.firstChild), ci = b, e = ei = !0;
23904
- if (e) for (c = gh(b, null, d, c), b.child = c; c;) {
23905
- c.effectTag = c.effectTag & -3 | 1024, c = c.sibling;
23906
- } else R(a, b, d, c), li();
24041
+ if (e) for (c = gh(b, null, d, c), b.child = c; c;) c.effectTag = c.effectTag & -3 | 1024, c = c.sibling;else R(a, b, d, c), li();
23907
24042
  b = b.child;
23908
24043
  }
23909
24044
  return b;
@@ -24264,9 +24399,7 @@ Za = function Za(a, b, c) {
24264
24399
  Eb(a, c);
24265
24400
  b = c.name;
24266
24401
  if ("radio" === c.type && null != b) {
24267
- for (c = a; c.parentNode;) {
24268
- c = c.parentNode;
24269
- }
24402
+ for (c = a; c.parentNode;) c = c.parentNode;
24270
24403
  c = c.querySelectorAll("input[name=" + JSON.stringify("" + b) + '][type="radio"]');
24271
24404
  for (b = 0; b < c.length; b++) {
24272
24405
  var d = c[b];
@@ -24331,9 +24464,7 @@ hb = function hb(a, b) {
24331
24464
  };
24332
24465
  function zk(a, b) {
24333
24466
  b || (b = a ? 9 === a.nodeType ? a.documentElement : a.firstChild : null, b = !(!b || 1 !== b.nodeType || !b.hasAttribute("data-reactroot")));
24334
- if (!b) for (var c; c = a.lastChild;) {
24335
- a.removeChild(c);
24336
- }
24467
+ if (!b) for (var c; c = a.lastChild;) a.removeChild(c);
24337
24468
  return new wk(a, 0, b ? {
24338
24469
  hydrate: !0
24339
24470
  } : void 0);
@@ -24515,11 +24646,9 @@ function checkDCE() {
24515
24646
  if (r.r(n), Object.defineProperty(n, "default", {
24516
24647
  enumerable: !0,
24517
24648
  value: e
24518
- }), 2 & t && "string" != typeof e) for (var u in e) {
24519
- r.d(n, u, function (t) {
24520
- return e[t];
24521
- }.bind(null, u));
24522
- }
24649
+ }), 2 & t && "string" != typeof e) for (var u in e) r.d(n, u, function (t) {
24650
+ return e[t];
24651
+ }.bind(null, u));
24523
24652
  return n;
24524
24653
  }, r.n = function (e) {
24525
24654
  var t = e && e.__esModule ? function () {
@@ -24669,9 +24798,7 @@ function checkDCE() {
24669
24798
  "\\": 220,
24670
24799
  "]": 221,
24671
24800
  "'": 222
24672
- }, i = 1; i < 20; i++) {
24673
- a["f" + i] = 111 + i;
24674
- }
24801
+ }, i = 1; i < 20; i++) a["f" + i] = 111 + i;
24675
24802
  function s(e, t, r) {
24676
24803
  t && !("byKey" in t) && (r = t, t = null), Array.isArray(e) || (e = [e]);
24677
24804
  var n = e.map(function (e) {
@@ -24689,9 +24816,7 @@ function checkDCE() {
24689
24816
  n = {},
24690
24817
  o = (e = e.replace("++", "+add")).split("+"),
24691
24818
  a = o.length;
24692
- for (var i in u) {
24693
- n[u[i]] = !1;
24694
- }
24819
+ for (var i in u) n[u[i]] = !1;
24695
24820
  var s = !0,
24696
24821
  c = !1,
24697
24822
  l = void 0;
@@ -24923,9 +25048,7 @@ function checkDCE() {
24923
25048
  return !1 !== o(e) && (void 0 === (t = e.constructor) || !1 !== o(r = t.prototype) && !1 !== r.hasOwnProperty("isPrototypeOf"));
24924
25049
  }
24925
25050
  function i(e) {
24926
- for (var t = arguments.length, r = Array(t > 1 ? t - 1 : 0), n = 1; n < t; n++) {
24927
- r[n - 1] = arguments[n];
24928
- }
25051
+ for (var t = arguments.length, r = Array(t > 1 ? t - 1 : 0), n = 1; n < t; n++) r[n - 1] = arguments[n];
24929
25052
  throw Error("[Immer] minified error nr: " + e + (r.length ? " " + r.map(function (e) {
24930
25053
  return "'" + e + "'";
24931
25054
  }).join(",") : "") + ". Find the full error at: https://bit.ly/3cXEKWf");
@@ -25229,9 +25352,7 @@ function checkDCE() {
25229
25352
  return function (e) {
25230
25353
  var t = this;
25231
25354
  void 0 === e && (e = u);
25232
- for (var n = arguments.length, a = Array(n > 1 ? n - 1 : 0), i = 1; i < n; i++) {
25233
- a[i - 1] = arguments[i];
25234
- }
25355
+ for (var n = arguments.length, a = Array(n > 1 ? n - 1 : 0), i = 1; i < n; i++) a[i - 1] = arguments[i];
25235
25356
  return o.produce(e, function (e) {
25236
25357
  var n;
25237
25358
  return (n = r).call.apply(n, [t, e].concat(a));
@@ -25261,9 +25382,7 @@ function checkDCE() {
25261
25382
  i(21, e);
25262
25383
  }, this.produceWithPatches = function (e, r) {
25263
25384
  return "function" == typeof e ? function (r) {
25264
- for (var n = arguments.length, u = Array(n > 1 ? n - 1 : 0), o = 1; o < n; o++) {
25265
- u[o - 1] = arguments[o];
25266
- }
25385
+ for (var n = arguments.length, u = Array(n > 1 ? n - 1 : 0), o = 1; o < n; o++) u[o - 1] = arguments[o];
25267
25386
  return t.produceWithPatches(r, function (t) {
25268
25387
  return e.apply(void 0, [t].concat(u));
25269
25388
  });
@@ -25628,16 +25747,12 @@ function checkDCE() {
25628
25747
  n,
25629
25748
  u = {},
25630
25749
  o = Object.keys(e);
25631
- for (n = 0; n < o.length; n++) {
25632
- r = o[n], t.indexOf(r) >= 0 || (u[r] = e[r]);
25633
- }
25750
+ for (n = 0; n < o.length; n++) r = o[n], t.indexOf(r) >= 0 || (u[r] = e[r]);
25634
25751
  return u;
25635
25752
  }(e, t);
25636
25753
  if (Object.getOwnPropertySymbols) {
25637
25754
  var o = Object.getOwnPropertySymbols(e);
25638
- for (n = 0; n < o.length; n++) {
25639
- r = o[n], t.indexOf(r) >= 0 || Object.prototype.propertyIsEnumerable.call(e, r) && (u[r] = e[r]);
25640
- }
25755
+ for (n = 0; n < o.length; n++) r = o[n], t.indexOf(r) >= 0 || Object.prototype.propertyIsEnumerable.call(e, r) && (u[r] = e[r]);
25641
25756
  }
25642
25757
  return u;
25643
25758
  }
@@ -25659,7 +25774,7 @@ function checkDCE() {
25659
25774
  var c = s.codePointAt(0);
25660
25775
  if (!c) break;
25661
25776
  var l = Ie(s, c);
25662
- if ((_ref = r ? [o, l] : [l, u], _ref2 = _slicedToArray(_ref, 2), u = _ref2[0], o = _ref2[1], _ref), _e(u, Be.ZWJ) && _e(o, Be.ExtPict) && !qe(r ? e.substring(0, a) : e.substring(0, e.length - a))) break;
25777
+ if ((_ref = r ? [o, l] : [l, u], _ref2 = _slicedToArray(_ref, 2), u = _ref2[0], o = _ref2[1]), _e(u, Be.ZWJ) && _e(o, Be.ExtPict) && !qe(r ? e.substring(0, a) : e.substring(0, e.length - a))) break;
25663
25778
  if (_e(u, Be.RI) && _e(o, Be.RI) && !(i = null !== i ? !i : !!r || Ue(e.substring(0, e.length - a)))) break;
25664
25779
  if (u !== Be.None && o !== Be.None && We(u, o)) break;
25665
25780
  a += s.length;
@@ -25694,44 +25809,42 @@ function checkDCE() {
25694
25809
  }
25695
25810
  return !be.test(t);
25696
25811
  },
25697
- we = /*#__PURE__*/regeneratorRuntime.mark(function we(e) {
25812
+ we = /*#__PURE__*/_regeneratorRuntime().mark(function we(e) {
25698
25813
  var t, r, n, u;
25699
- return regeneratorRuntime.wrap(function we$(_context) {
25700
- while (1) {
25701
- switch (_context.prev = _context.next) {
25702
- case 0:
25703
- t = e.length - 1, r = 0;
25704
- case 1:
25705
- if (!(r < e.length)) {
25706
- _context.next = 15;
25707
- break;
25708
- }
25709
- n = e.charAt(t - r);
25710
- if (!xe(n.charCodeAt(0))) {
25711
- _context.next = 10;
25712
- break;
25713
- }
25714
- u = e.charAt(t - r - 1);
25715
- if (!Oe(u.charCodeAt(0))) {
25716
- _context.next = 10;
25717
- break;
25718
- }
25719
- _context.next = 8;
25720
- return u + n;
25721
- case 8:
25722
- r++;
25723
- return _context.abrupt("continue", 12);
25724
- case 10:
25725
- _context.next = 12;
25726
- return n;
25727
- case 12:
25728
- r++;
25729
- _context.next = 1;
25814
+ return _regeneratorRuntime().wrap(function we$(_context) {
25815
+ while (1) switch (_context.prev = _context.next) {
25816
+ case 0:
25817
+ t = e.length - 1, r = 0;
25818
+ case 1:
25819
+ if (!(r < e.length)) {
25820
+ _context.next = 15;
25730
25821
  break;
25731
- case 15:
25732
- case "end":
25733
- return _context.stop();
25734
- }
25822
+ }
25823
+ n = e.charAt(t - r);
25824
+ if (!xe(n.charCodeAt(0))) {
25825
+ _context.next = 10;
25826
+ break;
25827
+ }
25828
+ u = e.charAt(t - r - 1);
25829
+ if (!Oe(u.charCodeAt(0))) {
25830
+ _context.next = 10;
25831
+ break;
25832
+ }
25833
+ _context.next = 8;
25834
+ return u + n;
25835
+ case 8:
25836
+ r++;
25837
+ return _context.abrupt("continue", 12);
25838
+ case 10:
25839
+ _context.next = 12;
25840
+ return n;
25841
+ case 12:
25842
+ r++;
25843
+ _context.next = 1;
25844
+ break;
25845
+ case 15:
25846
+ case "end":
25847
+ return _context.stop();
25735
25848
  }
25736
25849
  }, we);
25737
25850
  }),
@@ -25796,9 +25909,7 @@ function checkDCE() {
25796
25909
  return Ke(e) && e[r] === t;
25797
25910
  },
25798
25911
  matches: function matches(e, t) {
25799
- for (var r in t) {
25800
- if ("children" !== r && e[r] !== t[r]) return !1;
25801
- }
25912
+ for (var r in t) if ("children" !== r && e[r] !== t[r]) return !1;
25802
25913
  return !0;
25803
25914
  }
25804
25915
  },
@@ -26034,7 +26145,7 @@ function checkDCE() {
26034
26145
  n = Qe.path(e, t, r);
26035
26146
  return [ut.leaf(e, n), n];
26036
26147
  },
26037
- levels: /*#__PURE__*/regeneratorRuntime.mark(function levels(e) {
26148
+ levels: /*#__PURE__*/_regeneratorRuntime().mark(function levels(e) {
26038
26149
  var t,
26039
26150
  _t$at2,
26040
26151
  r,
@@ -26051,53 +26162,51 @@ function checkDCE() {
26051
26162
  s,
26052
26163
  c,
26053
26164
  _args2 = arguments;
26054
- return regeneratorRuntime.wrap(function levels$(_context2) {
26055
- while (1) {
26056
- switch (_context2.prev = _context2.next) {
26057
- case 0:
26058
- t = _args2.length > 1 && void 0 !== _args2[1] ? _args2[1] : {}, _t$at2 = t.at, r = _t$at2 === void 0 ? e.selection : _t$at2, _t$reverse = t.reverse, n = _t$reverse === void 0 ? !1 : _t$reverse, _t$voids2 = t.voids, u = _t$voids2 === void 0 ? !1 : _t$voids2, o = t.match;
26059
- if (!(null == o && (o = function o() {
26060
- return !0;
26061
- }), r)) {
26062
- _context2.next = 22;
26063
- break;
26064
- }
26065
- a = [], i = Qe.path(e, r);
26066
- _iterator12 = _createForOfIteratorHelper(ut.levels(e, i));
26067
- _context2.prev = 4;
26068
- _iterator12.s();
26069
- case 6:
26070
- if ((_step12 = _iterator12.n()).done) {
26071
- _context2.next = 12;
26072
- break;
26073
- }
26074
- _step12$value = _slicedToArray(_step12.value, 2), s = _step12$value[0], c = _step12$value[1];
26075
- if (!(o(s, c) && (a.push([s, c]), !u && Qe.isVoid(e, s)))) {
26076
- _context2.next = 10;
26077
- break;
26078
- }
26079
- return _context2.abrupt("break", 12);
26080
- case 10:
26081
- _context2.next = 6;
26165
+ return _regeneratorRuntime().wrap(function levels$(_context2) {
26166
+ while (1) switch (_context2.prev = _context2.next) {
26167
+ case 0:
26168
+ t = _args2.length > 1 && void 0 !== _args2[1] ? _args2[1] : {}, _t$at2 = t.at, r = _t$at2 === void 0 ? e.selection : _t$at2, _t$reverse = t.reverse, n = _t$reverse === void 0 ? !1 : _t$reverse, _t$voids2 = t.voids, u = _t$voids2 === void 0 ? !1 : _t$voids2, o = t.match;
26169
+ if (!(null == o && (o = function o() {
26170
+ return !0;
26171
+ }), r)) {
26172
+ _context2.next = 22;
26082
26173
  break;
26083
- case 12:
26084
- _context2.next = 17;
26174
+ }
26175
+ a = [], i = Qe.path(e, r);
26176
+ _iterator12 = _createForOfIteratorHelper(ut.levels(e, i));
26177
+ _context2.prev = 4;
26178
+ _iterator12.s();
26179
+ case 6:
26180
+ if ((_step12 = _iterator12.n()).done) {
26181
+ _context2.next = 12;
26085
26182
  break;
26086
- case 14:
26087
- _context2.prev = 14;
26088
- _context2.t0 = _context2["catch"](4);
26089
- _iterator12.e(_context2.t0);
26090
- case 17:
26091
- _context2.prev = 17;
26092
- _iterator12.f();
26093
- return _context2.finish(17);
26094
- case 20:
26095
- n && a.reverse();
26096
- return _context2.delegateYield(a, "t1", 22);
26097
- case 22:
26098
- case "end":
26099
- return _context2.stop();
26100
- }
26183
+ }
26184
+ _step12$value = _slicedToArray(_step12.value, 2), s = _step12$value[0], c = _step12$value[1];
26185
+ if (!(o(s, c) && (a.push([s, c]), !u && Qe.isVoid(e, s)))) {
26186
+ _context2.next = 10;
26187
+ break;
26188
+ }
26189
+ return _context2.abrupt("break", 12);
26190
+ case 10:
26191
+ _context2.next = 6;
26192
+ break;
26193
+ case 12:
26194
+ _context2.next = 17;
26195
+ break;
26196
+ case 14:
26197
+ _context2.prev = 14;
26198
+ _context2.t0 = _context2["catch"](4);
26199
+ _iterator12.e(_context2.t0);
26200
+ case 17:
26201
+ _context2.prev = 17;
26202
+ _iterator12.f();
26203
+ return _context2.finish(17);
26204
+ case 20:
26205
+ n && a.reverse();
26206
+ return _context2.delegateYield(a, "t1", 22);
26207
+ case 22:
26208
+ case "end":
26209
+ return _context2.stop();
26101
26210
  }
26102
26211
  }, levels, null, [[4, 14, 17, 20]]);
26103
26212
  }),
@@ -26191,7 +26300,7 @@ function checkDCE() {
26191
26300
  n = Qe.path(e, t, r);
26192
26301
  return [ut.get(e, n), n];
26193
26302
  },
26194
- nodes: /*#__PURE__*/regeneratorRuntime.mark(function nodes(e) {
26303
+ nodes: /*#__PURE__*/_regeneratorRuntime().mark(function nodes(e) {
26195
26304
  var t,
26196
26305
  _t$at4,
26197
26306
  r,
@@ -26219,129 +26328,127 @@ function checkDCE() {
26219
26328
  C,
26220
26329
  g,
26221
26330
  _args3 = arguments;
26222
- return regeneratorRuntime.wrap(function nodes$(_context3) {
26223
- while (1) {
26224
- switch (_context3.prev = _context3.next) {
26225
- case 0:
26226
- t = _args3.length > 1 && void 0 !== _args3[1] ? _args3[1] : {}, _t$at4 = t.at, r = _t$at4 === void 0 ? e.selection : _t$at4, _t$mode3 = t.mode, n = _t$mode3 === void 0 ? "all" : _t$mode3, _t$universal = t.universal, u = _t$universal === void 0 ? !1 : _t$universal, _t$reverse2 = t.reverse, o = _t$reverse2 === void 0 ? !1 : _t$reverse2, _t$voids4 = t.voids, a = _t$voids4 === void 0 ? !1 : _t$voids4, i = t.match;
26227
- if (!(i || (i = function i() {
26228
- return !0;
26229
- }), r)) {
26230
- _context3.next = 51;
26231
- break;
26232
- }
26233
- if (et.isSpan(r)) s = r[0], c = r[1];else {
26234
- l = Qe.path(e, r, {
26235
- edge: "start"
26236
- }), d = Qe.path(e, r, {
26237
- edge: "end"
26238
- });
26239
- s = o ? d : l, c = o ? l : d;
26240
- }
26241
- h = ut.nodes(e, {
26242
- reverse: o,
26243
- from: s,
26244
- to: c,
26245
- pass: function pass(t) {
26246
- var _t3 = _slicedToArray(t, 1),
26247
- r = _t3[0];
26248
- return !a && Qe.isVoid(e, r);
26249
- }
26250
- }), D = [];
26251
- _iterator13 = _createForOfIteratorHelper(h);
26252
- _context3.prev = 5;
26253
- _iterator13.s();
26254
- case 7:
26255
- if ((_step13 = _iterator13.n()).done) {
26256
- _context3.next = 32;
26257
- break;
26258
- }
26259
- _step13$value = _slicedToArray(_step13.value, 2), v = _step13$value[0], p = _step13$value[1];
26260
- C = f && 0 === st.compare(p, f[1]);
26261
- if (!("highest" !== n || !C)) {
26262
- _context3.next = 30;
26263
- break;
26264
- }
26265
- if (!i(v, p)) {
26266
- _context3.next = 28;
26267
- break;
26268
- }
26269
- if (!("lowest" === n && C)) {
26270
- _context3.next = 16;
26271
- break;
26272
- }
26273
- f = [v, p];
26274
- _context3.next = 26;
26331
+ return _regeneratorRuntime().wrap(function nodes$(_context3) {
26332
+ while (1) switch (_context3.prev = _context3.next) {
26333
+ case 0:
26334
+ t = _args3.length > 1 && void 0 !== _args3[1] ? _args3[1] : {}, _t$at4 = t.at, r = _t$at4 === void 0 ? e.selection : _t$at4, _t$mode3 = t.mode, n = _t$mode3 === void 0 ? "all" : _t$mode3, _t$universal = t.universal, u = _t$universal === void 0 ? !1 : _t$universal, _t$reverse2 = t.reverse, o = _t$reverse2 === void 0 ? !1 : _t$reverse2, _t$voids4 = t.voids, a = _t$voids4 === void 0 ? !1 : _t$voids4, i = t.match;
26335
+ if (!(i || (i = function i() {
26336
+ return !0;
26337
+ }), r)) {
26338
+ _context3.next = 51;
26275
26339
  break;
26276
- case 16:
26277
- g = "lowest" === n ? f : [v, p];
26278
- _context3.t0 = g;
26279
- if (!_context3.t0) {
26280
- _context3.next = 25;
26281
- break;
26282
- }
26283
- if (!u) {
26284
- _context3.next = 23;
26285
- break;
26340
+ }
26341
+ if (et.isSpan(r)) s = r[0], c = r[1];else {
26342
+ l = Qe.path(e, r, {
26343
+ edge: "start"
26344
+ }), d = Qe.path(e, r, {
26345
+ edge: "end"
26346
+ });
26347
+ s = o ? d : l, c = o ? l : d;
26348
+ }
26349
+ h = ut.nodes(e, {
26350
+ reverse: o,
26351
+ from: s,
26352
+ to: c,
26353
+ pass: function pass(t) {
26354
+ var _t3 = _slicedToArray(t, 1),
26355
+ r = _t3[0];
26356
+ return !a && Qe.isVoid(e, r);
26286
26357
  }
26287
- D.push(g);
26288
- _context3.next = 25;
26358
+ }), D = [];
26359
+ _iterator13 = _createForOfIteratorHelper(h);
26360
+ _context3.prev = 5;
26361
+ _iterator13.s();
26362
+ case 7:
26363
+ if ((_step13 = _iterator13.n()).done) {
26364
+ _context3.next = 32;
26289
26365
  break;
26290
- case 23:
26291
- _context3.next = 25;
26292
- return g;
26293
- case 25:
26294
- f = [v, p];
26295
- case 26:
26366
+ }
26367
+ _step13$value = _slicedToArray(_step13.value, 2), v = _step13$value[0], p = _step13$value[1];
26368
+ C = f && 0 === st.compare(p, f[1]);
26369
+ if (!("highest" !== n || !C)) {
26296
26370
  _context3.next = 30;
26297
26371
  break;
26298
- case 28:
26299
- if (!(u && !C && yt.isText(v))) {
26300
- _context3.next = 30;
26301
- break;
26302
- }
26303
- return _context3.abrupt("return");
26304
- case 30:
26305
- _context3.next = 7;
26372
+ }
26373
+ if (!i(v, p)) {
26374
+ _context3.next = 28;
26306
26375
  break;
26307
- case 32:
26308
- _context3.next = 37;
26376
+ }
26377
+ if (!("lowest" === n && C)) {
26378
+ _context3.next = 16;
26309
26379
  break;
26310
- case 34:
26311
- _context3.prev = 34;
26312
- _context3.t1 = _context3["catch"](5);
26313
- _iterator13.e(_context3.t1);
26314
- case 37:
26315
- _context3.prev = 37;
26316
- _iterator13.f();
26317
- return _context3.finish(37);
26318
- case 40:
26319
- _context3.t2 = "lowest" === n && f;
26320
- if (!_context3.t2) {
26321
- _context3.next = 48;
26322
- break;
26323
- }
26324
- if (!u) {
26325
- _context3.next = 46;
26326
- break;
26327
- }
26328
- D.push(f);
26329
- _context3.next = 48;
26380
+ }
26381
+ f = [v, p];
26382
+ _context3.next = 26;
26383
+ break;
26384
+ case 16:
26385
+ g = "lowest" === n ? f : [v, p];
26386
+ _context3.t0 = g;
26387
+ if (!_context3.t0) {
26388
+ _context3.next = 25;
26389
+ break;
26390
+ }
26391
+ if (!u) {
26392
+ _context3.next = 23;
26393
+ break;
26394
+ }
26395
+ D.push(g);
26396
+ _context3.next = 25;
26397
+ break;
26398
+ case 23:
26399
+ _context3.next = 25;
26400
+ return g;
26401
+ case 25:
26402
+ f = [v, p];
26403
+ case 26:
26404
+ _context3.next = 30;
26405
+ break;
26406
+ case 28:
26407
+ if (!(u && !C && yt.isText(v))) {
26408
+ _context3.next = 30;
26330
26409
  break;
26331
- case 46:
26410
+ }
26411
+ return _context3.abrupt("return");
26412
+ case 30:
26413
+ _context3.next = 7;
26414
+ break;
26415
+ case 32:
26416
+ _context3.next = 37;
26417
+ break;
26418
+ case 34:
26419
+ _context3.prev = 34;
26420
+ _context3.t1 = _context3["catch"](5);
26421
+ _iterator13.e(_context3.t1);
26422
+ case 37:
26423
+ _context3.prev = 37;
26424
+ _iterator13.f();
26425
+ return _context3.finish(37);
26426
+ case 40:
26427
+ _context3.t2 = "lowest" === n && f;
26428
+ if (!_context3.t2) {
26332
26429
  _context3.next = 48;
26333
- return f;
26334
- case 48:
26335
- _context3.t3 = u;
26336
- if (!_context3.t3) {
26337
- _context3.next = 51;
26338
- break;
26339
- }
26340
- return _context3.delegateYield(D, "t4", 51);
26341
- case 51:
26342
- case "end":
26343
- return _context3.stop();
26344
- }
26430
+ break;
26431
+ }
26432
+ if (!u) {
26433
+ _context3.next = 46;
26434
+ break;
26435
+ }
26436
+ D.push(f);
26437
+ _context3.next = 48;
26438
+ break;
26439
+ case 46:
26440
+ _context3.next = 48;
26441
+ return f;
26442
+ case 48:
26443
+ _context3.t3 = u;
26444
+ if (!_context3.t3) {
26445
+ _context3.next = 51;
26446
+ break;
26447
+ }
26448
+ return _context3.delegateYield(D, "t4", 51);
26449
+ case 51:
26450
+ case "end":
26451
+ return _context3.stop();
26345
26452
  }
26346
26453
  }, nodes, null, [[5, 34, 37, 40]]);
26347
26454
  }),
@@ -26497,7 +26604,7 @@ function checkDCE() {
26497
26604
  var t = fe.get(e);
26498
26605
  return t || (t = new Set(), fe.set(e, t)), t;
26499
26606
  },
26500
- positions: /*#__PURE__*/regeneratorRuntime.mark(function positions(e) {
26607
+ positions: /*#__PURE__*/_regeneratorRuntime().mark(function positions(e) {
26501
26608
  var t,
26502
26609
  _t$at5,
26503
26610
  r,
@@ -26528,140 +26635,138 @@ function checkDCE() {
26528
26635
  B,
26529
26636
  m,
26530
26637
  _args4 = arguments;
26531
- return regeneratorRuntime.wrap(function positions$(_context4) {
26532
- while (1) {
26533
- switch (_context4.prev = _context4.next) {
26534
- case 0:
26535
- m = function _m(e, t, r) {
26536
- return "character" === t ? me(e, r) : "word" === t ? function (e) {
26537
- for (var t = arguments.length > 1 && void 0 !== arguments[1] && arguments[1], r = 0, n = !1; e.length > 0;) {
26538
- var u = me(e, t),
26539
- _Ae3 = Ae(e, u, t),
26540
- _Ae4 = _slicedToArray(_Ae3, 2),
26541
- o = _Ae4[0],
26542
- a = _Ae4[1];
26543
- if (Fe(o, a, t)) n = !0, r += u;else {
26544
- if (n) break;
26545
- r += u;
26546
- }
26547
- e = a;
26638
+ return _regeneratorRuntime().wrap(function positions$(_context4) {
26639
+ while (1) switch (_context4.prev = _context4.next) {
26640
+ case 0:
26641
+ m = function _m(e, t, r) {
26642
+ return "character" === t ? me(e, r) : "word" === t ? function (e) {
26643
+ for (var t = arguments.length > 1 && void 0 !== arguments[1] && arguments[1], r = 0, n = !1; e.length > 0;) {
26644
+ var u = me(e, t),
26645
+ _Ae3 = Ae(e, u, t),
26646
+ _Ae4 = _slicedToArray(_Ae3, 2),
26647
+ o = _Ae4[0],
26648
+ a = _Ae4[1];
26649
+ if (Fe(o, a, t)) n = !0, r += u;else {
26650
+ if (n) break;
26651
+ r += u;
26548
26652
  }
26549
- return r;
26550
- }(e, r) : "line" === t || "block" === t ? e.length : 1;
26551
- };
26552
- t = _args4.length > 1 && void 0 !== _args4[1] ? _args4[1] : {}, _t$at5 = t.at, r = _t$at5 === void 0 ? e.selection : _t$at5, _t$unit3 = t.unit, n = _t$unit3 === void 0 ? "offset" : _t$unit3, _t$reverse3 = t.reverse, u = _t$reverse3 === void 0 ? !1 : _t$reverse3, _t$voids5 = t.voids, o = _t$voids5 === void 0 ? !1 : _t$voids5;
26553
- if (!r) {
26554
- _context4.next = 47;
26555
- break;
26556
- }
26557
- a = Qe.range(e, r), _pt$edges3 = pt.edges(a), _pt$edges4 = _slicedToArray(_pt$edges3, 2), i = _pt$edges4[0], s = _pt$edges4[1], c = u ? s : i, l = !1, d = "", f = 0, h = 0, D = 0;
26558
- _iterator15 = _createForOfIteratorHelper(Qe.nodes(e, {
26559
- at: r,
26560
- reverse: u,
26653
+ e = a;
26654
+ }
26655
+ return r;
26656
+ }(e, r) : "line" === t || "block" === t ? e.length : 1;
26657
+ };
26658
+ t = _args4.length > 1 && void 0 !== _args4[1] ? _args4[1] : {}, _t$at5 = t.at, r = _t$at5 === void 0 ? e.selection : _t$at5, _t$unit3 = t.unit, n = _t$unit3 === void 0 ? "offset" : _t$unit3, _t$reverse3 = t.reverse, u = _t$reverse3 === void 0 ? !1 : _t$reverse3, _t$voids5 = t.voids, o = _t$voids5 === void 0 ? !1 : _t$voids5;
26659
+ if (!r) {
26660
+ _context4.next = 47;
26661
+ break;
26662
+ }
26663
+ a = Qe.range(e, r), _pt$edges3 = pt.edges(a), _pt$edges4 = _slicedToArray(_pt$edges3, 2), i = _pt$edges4[0], s = _pt$edges4[1], c = u ? s : i, l = !1, d = "", f = 0, h = 0, D = 0;
26664
+ _iterator15 = _createForOfIteratorHelper(Qe.nodes(e, {
26665
+ at: r,
26666
+ reverse: u,
26667
+ voids: o
26668
+ }));
26669
+ _context4.prev = 5;
26670
+ _iterator15.s();
26671
+ case 7:
26672
+ if ((_step15 = _iterator15.n()).done) {
26673
+ _context4.next = 39;
26674
+ break;
26675
+ }
26676
+ _step15$value = _slicedToArray(_step15.value, 2), v = _step15$value[0], p = _step15$value[1];
26677
+ if (!$e.isElement(v)) {
26678
+ _context4.next = 17;
26679
+ break;
26680
+ }
26681
+ if (!(!o && e.isVoid(v))) {
26682
+ _context4.next = 14;
26683
+ break;
26684
+ }
26685
+ _context4.next = 13;
26686
+ return Qe.start(e, p);
26687
+ case 13:
26688
+ return _context4.abrupt("continue", 37);
26689
+ case 14:
26690
+ if (!e.isInline(v)) {
26691
+ _context4.next = 16;
26692
+ break;
26693
+ }
26694
+ return _context4.abrupt("continue", 37);
26695
+ case 16:
26696
+ if (Qe.hasInlines(e, v)) {
26697
+ C = st.isAncestor(p, s.path) ? s : Qe.end(e, p), g = st.isAncestor(p, i.path) ? i : Qe.start(e, p);
26698
+ d = Qe.string(e, {
26699
+ anchor: g,
26700
+ focus: C
26701
+ }, {
26561
26702
  voids: o
26562
- }));
26563
- _context4.prev = 5;
26564
- _iterator15.s();
26565
- case 7:
26566
- if ((_step15 = _iterator15.n()).done) {
26567
- _context4.next = 39;
26568
- break;
26569
- }
26570
- _step15$value = _slicedToArray(_step15.value, 2), v = _step15$value[0], p = _step15$value[1];
26571
- if (!$e.isElement(v)) {
26572
- _context4.next = 17;
26573
- break;
26574
- }
26575
- if (!(!o && e.isVoid(v))) {
26576
- _context4.next = 14;
26577
- break;
26578
- }
26579
- _context4.next = 13;
26580
- return Qe.start(e, p);
26581
- case 13:
26582
- return _context4.abrupt("continue", 37);
26583
- case 14:
26584
- if (!e.isInline(v)) {
26585
- _context4.next = 16;
26586
- break;
26587
- }
26588
- return _context4.abrupt("continue", 37);
26589
- case 16:
26590
- if (Qe.hasInlines(e, v)) {
26591
- C = st.isAncestor(p, s.path) ? s : Qe.end(e, p), g = st.isAncestor(p, i.path) ? i : Qe.start(e, p);
26592
- d = Qe.string(e, {
26593
- anchor: g,
26594
- focus: C
26595
- }, {
26596
- voids: o
26597
- }), l = !0;
26598
- }
26599
- case 17:
26600
- if (!yt.isText(v)) {
26601
- _context4.next = 37;
26602
- break;
26603
- }
26604
- B = st.equals(p, c.path);
26605
- B ? (h = u ? c.offset : v.text.length - c.offset, D = c.offset) : (h = v.text.length, D = u ? h : 0);
26606
- _context4.t0 = B || l || "offset" === n;
26607
- if (!_context4.t0) {
26608
- _context4.next = 25;
26609
- break;
26610
- }
26611
- _context4.next = 24;
26612
- return {
26613
- path: p,
26614
- offset: D
26615
- };
26616
- case 24:
26617
- l = !1;
26618
- case 25:
26619
- if (!(0 === f)) {
26620
- _context4.next = 29;
26621
- break;
26622
- }
26623
- if (!("" === d)) {
26624
- _context4.next = 28;
26625
- break;
26626
- }
26627
- return _context4.abrupt("break", 37);
26628
- case 28:
26629
- f = m(d, n, u), d = Ae(d, f, u)[1];
26630
- case 29:
26631
- if (!(D = u ? D - f : D + f, (h -= f) < 0)) {
26632
- _context4.next = 32;
26633
- break;
26634
- }
26635
- f = -h;
26636
- return _context4.abrupt("break", 37);
26637
- case 32:
26638
- f = 0;
26639
- _context4.next = 35;
26640
- return {
26641
- path: p,
26642
- offset: D
26643
- };
26644
- case 35:
26703
+ }), l = !0;
26704
+ }
26705
+ case 17:
26706
+ if (!yt.isText(v)) {
26707
+ _context4.next = 37;
26708
+ break;
26709
+ }
26710
+ B = st.equals(p, c.path);
26711
+ B ? (h = u ? c.offset : v.text.length - c.offset, D = c.offset) : (h = v.text.length, D = u ? h : 0);
26712
+ _context4.t0 = B || l || "offset" === n;
26713
+ if (!_context4.t0) {
26645
26714
  _context4.next = 25;
26646
26715
  break;
26647
- case 37:
26648
- _context4.next = 7;
26716
+ }
26717
+ _context4.next = 24;
26718
+ return {
26719
+ path: p,
26720
+ offset: D
26721
+ };
26722
+ case 24:
26723
+ l = !1;
26724
+ case 25:
26725
+ if (!(0 === f)) {
26726
+ _context4.next = 29;
26727
+ break;
26728
+ }
26729
+ if (!("" === d)) {
26730
+ _context4.next = 28;
26649
26731
  break;
26650
- case 39:
26651
- _context4.next = 44;
26732
+ }
26733
+ return _context4.abrupt("break", 37);
26734
+ case 28:
26735
+ f = m(d, n, u), d = Ae(d, f, u)[1];
26736
+ case 29:
26737
+ if (!(D = u ? D - f : D + f, (h -= f) < 0)) {
26738
+ _context4.next = 32;
26652
26739
  break;
26653
- case 41:
26654
- _context4.prev = 41;
26655
- _context4.t1 = _context4["catch"](5);
26656
- _iterator15.e(_context4.t1);
26657
- case 44:
26658
- _context4.prev = 44;
26659
- _iterator15.f();
26660
- return _context4.finish(44);
26661
- case 47:
26662
- case "end":
26663
- return _context4.stop();
26664
- }
26740
+ }
26741
+ f = -h;
26742
+ return _context4.abrupt("break", 37);
26743
+ case 32:
26744
+ f = 0;
26745
+ _context4.next = 35;
26746
+ return {
26747
+ path: p,
26748
+ offset: D
26749
+ };
26750
+ case 35:
26751
+ _context4.next = 25;
26752
+ break;
26753
+ case 37:
26754
+ _context4.next = 7;
26755
+ break;
26756
+ case 39:
26757
+ _context4.next = 44;
26758
+ break;
26759
+ case 41:
26760
+ _context4.prev = 41;
26761
+ _context4.t1 = _context4["catch"](5);
26762
+ _iterator15.e(_context4.t1);
26763
+ case 44:
26764
+ _context4.prev = 44;
26765
+ _iterator15.f();
26766
+ return _context4.finish(44);
26767
+ case 47:
26768
+ case "end":
26769
+ return _context4.stop();
26665
26770
  }
26666
26771
  }, positions, null, [[5, 41, 44, 47]]);
26667
26772
  }),
@@ -26857,48 +26962,46 @@ function checkDCE() {
26857
26962
  if (yt.isText(r)) throw new Error("Cannot get the ancestor node at path [".concat(t, "] because it refers to a text node instead: ").concat(r));
26858
26963
  return r;
26859
26964
  },
26860
- ancestors: /*#__PURE__*/regeneratorRuntime.mark(function ancestors(e, t) {
26965
+ ancestors: /*#__PURE__*/_regeneratorRuntime().mark(function ancestors(e, t) {
26861
26966
  var r,
26862
26967
  _iterator18,
26863
26968
  _step18,
26864
26969
  n,
26865
26970
  u,
26866
26971
  _args5 = arguments;
26867
- return regeneratorRuntime.wrap(function ancestors$(_context5) {
26868
- while (1) {
26869
- switch (_context5.prev = _context5.next) {
26870
- case 0:
26871
- r = _args5.length > 2 && void 0 !== _args5[2] ? _args5[2] : {};
26872
- _iterator18 = _createForOfIteratorHelper(st.ancestors(t, r));
26873
- _context5.prev = 2;
26874
- _iterator18.s();
26875
- case 4:
26876
- if ((_step18 = _iterator18.n()).done) {
26877
- _context5.next = 11;
26878
- break;
26879
- }
26880
- n = _step18.value;
26881
- u = [ut.ancestor(e, n), n];
26882
- _context5.next = 9;
26883
- return u;
26884
- case 9:
26885
- _context5.next = 4;
26886
- break;
26887
- case 11:
26888
- _context5.next = 16;
26972
+ return _regeneratorRuntime().wrap(function ancestors$(_context5) {
26973
+ while (1) switch (_context5.prev = _context5.next) {
26974
+ case 0:
26975
+ r = _args5.length > 2 && void 0 !== _args5[2] ? _args5[2] : {};
26976
+ _iterator18 = _createForOfIteratorHelper(st.ancestors(t, r));
26977
+ _context5.prev = 2;
26978
+ _iterator18.s();
26979
+ case 4:
26980
+ if ((_step18 = _iterator18.n()).done) {
26981
+ _context5.next = 11;
26889
26982
  break;
26890
- case 13:
26891
- _context5.prev = 13;
26892
- _context5.t0 = _context5["catch"](2);
26893
- _iterator18.e(_context5.t0);
26894
- case 16:
26895
- _context5.prev = 16;
26896
- _iterator18.f();
26897
- return _context5.finish(16);
26898
- case 19:
26899
- case "end":
26900
- return _context5.stop();
26901
- }
26983
+ }
26984
+ n = _step18.value;
26985
+ u = [ut.ancestor(e, n), n];
26986
+ _context5.next = 9;
26987
+ return u;
26988
+ case 9:
26989
+ _context5.next = 4;
26990
+ break;
26991
+ case 11:
26992
+ _context5.next = 16;
26993
+ break;
26994
+ case 13:
26995
+ _context5.prev = 13;
26996
+ _context5.t0 = _context5["catch"](2);
26997
+ _iterator18.e(_context5.t0);
26998
+ case 16:
26999
+ _context5.prev = 16;
27000
+ _iterator18.f();
27001
+ return _context5.finish(16);
27002
+ case 19:
27003
+ case "end":
27004
+ return _context5.stop();
26902
27005
  }
26903
27006
  }, ancestors, null, [[2, 13, 16, 19]]);
26904
27007
  }),
@@ -26908,7 +27011,7 @@ function checkDCE() {
26908
27011
  if (null == r) throw new Error("Cannot get child at index `".concat(t, "` in node: ").concat(JSON.stringify(e)));
26909
27012
  return r;
26910
27013
  },
26911
- children: /*#__PURE__*/regeneratorRuntime.mark(function children(e, t) {
27014
+ children: /*#__PURE__*/_regeneratorRuntime().mark(function children(e, t) {
26912
27015
  var r,
26913
27016
  _r$reverse,
26914
27017
  n,
@@ -26918,28 +27021,26 @@ function checkDCE() {
26918
27021
  i,
26919
27022
  s,
26920
27023
  _args6 = arguments;
26921
- return regeneratorRuntime.wrap(function children$(_context6) {
26922
- while (1) {
26923
- switch (_context6.prev = _context6.next) {
26924
- case 0:
26925
- r = _args6.length > 2 && void 0 !== _args6[2] ? _args6[2] : {}, _r$reverse = r.reverse, n = _r$reverse === void 0 ? !1 : _r$reverse, u = ut.ancestor(e, t), o = u.children, a = n ? o.length - 1 : 0;
26926
- case 1:
26927
- if (!(n ? a >= 0 : a < o.length)) {
26928
- _context6.next = 8;
26929
- break;
26930
- }
26931
- i = ut.child(u, a), s = t.concat(a);
26932
- _context6.next = 5;
26933
- return [i, s];
26934
- case 5:
26935
- a = n ? a - 1 : a + 1;
26936
- case 6:
26937
- _context6.next = 1;
27024
+ return _regeneratorRuntime().wrap(function children$(_context6) {
27025
+ while (1) switch (_context6.prev = _context6.next) {
27026
+ case 0:
27027
+ r = _args6.length > 2 && void 0 !== _args6[2] ? _args6[2] : {}, _r$reverse = r.reverse, n = _r$reverse === void 0 ? !1 : _r$reverse, u = ut.ancestor(e, t), o = u.children, a = n ? o.length - 1 : 0;
27028
+ case 1:
27029
+ if (!(n ? a >= 0 : a < o.length)) {
27030
+ _context6.next = 8;
26938
27031
  break;
26939
- case 8:
26940
- case "end":
26941
- return _context6.stop();
26942
- }
27032
+ }
27033
+ i = ut.child(u, a), s = t.concat(a);
27034
+ _context6.next = 5;
27035
+ return [i, s];
27036
+ case 5:
27037
+ a = n ? a - 1 : a + 1;
27038
+ case 6:
27039
+ _context6.next = 1;
27040
+ break;
27041
+ case 8:
27042
+ case "end":
27043
+ return _context6.stop();
26943
27044
  }
26944
27045
  }, children);
26945
27046
  }),
@@ -26952,7 +27053,7 @@ function checkDCE() {
26952
27053
  if (Qe.isEditor(r)) throw new Error("Cannot get the descendant node at path [".concat(t, "] because it refers to the root editor node instead: ").concat(r));
26953
27054
  return r;
26954
27055
  },
26955
- descendants: /*#__PURE__*/regeneratorRuntime.mark(function descendants(e) {
27056
+ descendants: /*#__PURE__*/_regeneratorRuntime().mark(function descendants(e) {
26956
27057
  var t,
26957
27058
  _iterator19,
26958
27059
  _step19,
@@ -26960,49 +27061,47 @@ function checkDCE() {
26960
27061
  r,
26961
27062
  n,
26962
27063
  _args7 = arguments;
26963
- return regeneratorRuntime.wrap(function descendants$(_context7) {
26964
- while (1) {
26965
- switch (_context7.prev = _context7.next) {
26966
- case 0:
26967
- t = _args7.length > 1 && void 0 !== _args7[1] ? _args7[1] : {};
26968
- _iterator19 = _createForOfIteratorHelper(ut.nodes(e, t));
26969
- _context7.prev = 2;
26970
- _iterator19.s();
26971
- case 4:
26972
- if ((_step19 = _iterator19.n()).done) {
26973
- _context7.next = 12;
26974
- break;
26975
- }
26976
- _step19$value = _slicedToArray(_step19.value, 2), r = _step19$value[0], n = _step19$value[1];
26977
- _context7.t0 = 0 !== n.length;
26978
- if (!_context7.t0) {
26979
- _context7.next = 10;
26980
- break;
26981
- }
26982
- _context7.next = 10;
26983
- return [r, n];
26984
- case 10:
26985
- _context7.next = 4;
27064
+ return _regeneratorRuntime().wrap(function descendants$(_context7) {
27065
+ while (1) switch (_context7.prev = _context7.next) {
27066
+ case 0:
27067
+ t = _args7.length > 1 && void 0 !== _args7[1] ? _args7[1] : {};
27068
+ _iterator19 = _createForOfIteratorHelper(ut.nodes(e, t));
27069
+ _context7.prev = 2;
27070
+ _iterator19.s();
27071
+ case 4:
27072
+ if ((_step19 = _iterator19.n()).done) {
27073
+ _context7.next = 12;
26986
27074
  break;
26987
- case 12:
26988
- _context7.next = 17;
27075
+ }
27076
+ _step19$value = _slicedToArray(_step19.value, 2), r = _step19$value[0], n = _step19$value[1];
27077
+ _context7.t0 = 0 !== n.length;
27078
+ if (!_context7.t0) {
27079
+ _context7.next = 10;
26989
27080
  break;
26990
- case 14:
26991
- _context7.prev = 14;
26992
- _context7.t1 = _context7["catch"](2);
26993
- _iterator19.e(_context7.t1);
26994
- case 17:
26995
- _context7.prev = 17;
26996
- _iterator19.f();
26997
- return _context7.finish(17);
26998
- case 20:
26999
- case "end":
27000
- return _context7.stop();
27001
- }
27081
+ }
27082
+ _context7.next = 10;
27083
+ return [r, n];
27084
+ case 10:
27085
+ _context7.next = 4;
27086
+ break;
27087
+ case 12:
27088
+ _context7.next = 17;
27089
+ break;
27090
+ case 14:
27091
+ _context7.prev = 14;
27092
+ _context7.t1 = _context7["catch"](2);
27093
+ _iterator19.e(_context7.t1);
27094
+ case 17:
27095
+ _context7.prev = 17;
27096
+ _iterator19.f();
27097
+ return _context7.finish(17);
27098
+ case 20:
27099
+ case "end":
27100
+ return _context7.stop();
27002
27101
  }
27003
27102
  }, descendants, null, [[2, 14, 17, 20]]);
27004
27103
  }),
27005
- elements: /*#__PURE__*/regeneratorRuntime.mark(function elements(e) {
27104
+ elements: /*#__PURE__*/_regeneratorRuntime().mark(function elements(e) {
27006
27105
  var t,
27007
27106
  _iterator20,
27008
27107
  _step20,
@@ -27010,45 +27109,43 @@ function checkDCE() {
27010
27109
  r,
27011
27110
  n,
27012
27111
  _args8 = arguments;
27013
- return regeneratorRuntime.wrap(function elements$(_context8) {
27014
- while (1) {
27015
- switch (_context8.prev = _context8.next) {
27016
- case 0:
27017
- t = _args8.length > 1 && void 0 !== _args8[1] ? _args8[1] : {};
27018
- _iterator20 = _createForOfIteratorHelper(ut.nodes(e, t));
27019
- _context8.prev = 2;
27020
- _iterator20.s();
27021
- case 4:
27022
- if ((_step20 = _iterator20.n()).done) {
27023
- _context8.next = 12;
27024
- break;
27025
- }
27026
- _step20$value = _slicedToArray(_step20.value, 2), r = _step20$value[0], n = _step20$value[1];
27027
- _context8.t0 = $e.isElement(r);
27028
- if (!_context8.t0) {
27029
- _context8.next = 10;
27030
- break;
27031
- }
27032
- _context8.next = 10;
27033
- return [r, n];
27034
- case 10:
27035
- _context8.next = 4;
27112
+ return _regeneratorRuntime().wrap(function elements$(_context8) {
27113
+ while (1) switch (_context8.prev = _context8.next) {
27114
+ case 0:
27115
+ t = _args8.length > 1 && void 0 !== _args8[1] ? _args8[1] : {};
27116
+ _iterator20 = _createForOfIteratorHelper(ut.nodes(e, t));
27117
+ _context8.prev = 2;
27118
+ _iterator20.s();
27119
+ case 4:
27120
+ if ((_step20 = _iterator20.n()).done) {
27121
+ _context8.next = 12;
27036
27122
  break;
27037
- case 12:
27038
- _context8.next = 17;
27123
+ }
27124
+ _step20$value = _slicedToArray(_step20.value, 2), r = _step20$value[0], n = _step20$value[1];
27125
+ _context8.t0 = $e.isElement(r);
27126
+ if (!_context8.t0) {
27127
+ _context8.next = 10;
27039
27128
  break;
27040
- case 14:
27041
- _context8.prev = 14;
27042
- _context8.t1 = _context8["catch"](2);
27043
- _iterator20.e(_context8.t1);
27044
- case 17:
27045
- _context8.prev = 17;
27046
- _iterator20.f();
27047
- return _context8.finish(17);
27048
- case 20:
27049
- case "end":
27050
- return _context8.stop();
27051
- }
27129
+ }
27130
+ _context8.next = 10;
27131
+ return [r, n];
27132
+ case 10:
27133
+ _context8.next = 4;
27134
+ break;
27135
+ case 12:
27136
+ _context8.next = 17;
27137
+ break;
27138
+ case 14:
27139
+ _context8.prev = 14;
27140
+ _context8.t1 = _context8["catch"](2);
27141
+ _iterator20.e(_context8.t1);
27142
+ case 17:
27143
+ _context8.prev = 17;
27144
+ _iterator20.f();
27145
+ return _context8.finish(17);
27146
+ case 20:
27147
+ case "end":
27148
+ return _context8.stop();
27052
27149
  }
27053
27150
  }, elements, null, [[2, 14, 17, 20]]);
27054
27151
  }),
@@ -27056,9 +27153,7 @@ function checkDCE() {
27056
27153
  return $e.isAncestor(e) ? ge(e, tt) : ge(e, rt);
27057
27154
  },
27058
27155
  first: function first(e, t) {
27059
- for (var r = t.slice(), n = ut.get(e, r); n && !yt.isText(n) && 0 !== n.children.length;) {
27060
- n = n.children[0], r.push(0);
27061
- }
27156
+ for (var r = t.slice(), n = ut.get(e, r); n && !yt.isText(n) && 0 !== n.children.length;) n = n.children[0], r.push(0);
27062
27157
  return [n, r];
27063
27158
  },
27064
27159
  fragment: function fragment(e, t) {
@@ -27146,55 +27241,53 @@ function checkDCE() {
27146
27241
  if (!yt.isText(r)) throw new Error("Cannot get the leaf node at path [".concat(t, "] because it refers to a non-leaf node: ").concat(r));
27147
27242
  return r;
27148
27243
  },
27149
- levels: /*#__PURE__*/regeneratorRuntime.mark(function levels(e, t) {
27244
+ levels: /*#__PURE__*/_regeneratorRuntime().mark(function levels(e, t) {
27150
27245
  var r,
27151
27246
  _iterator22,
27152
27247
  _step22,
27153
27248
  n,
27154
27249
  u,
27155
27250
  _args9 = arguments;
27156
- return regeneratorRuntime.wrap(function levels$(_context9) {
27157
- while (1) {
27158
- switch (_context9.prev = _context9.next) {
27159
- case 0:
27160
- r = _args9.length > 2 && void 0 !== _args9[2] ? _args9[2] : {};
27161
- _iterator22 = _createForOfIteratorHelper(st.levels(t, r));
27162
- _context9.prev = 2;
27163
- _iterator22.s();
27164
- case 4:
27165
- if ((_step22 = _iterator22.n()).done) {
27166
- _context9.next = 11;
27167
- break;
27168
- }
27169
- n = _step22.value;
27170
- u = ut.get(e, n);
27171
- _context9.next = 9;
27172
- return [u, n];
27173
- case 9:
27174
- _context9.next = 4;
27175
- break;
27176
- case 11:
27177
- _context9.next = 16;
27251
+ return _regeneratorRuntime().wrap(function levels$(_context9) {
27252
+ while (1) switch (_context9.prev = _context9.next) {
27253
+ case 0:
27254
+ r = _args9.length > 2 && void 0 !== _args9[2] ? _args9[2] : {};
27255
+ _iterator22 = _createForOfIteratorHelper(st.levels(t, r));
27256
+ _context9.prev = 2;
27257
+ _iterator22.s();
27258
+ case 4:
27259
+ if ((_step22 = _iterator22.n()).done) {
27260
+ _context9.next = 11;
27178
27261
  break;
27179
- case 13:
27180
- _context9.prev = 13;
27181
- _context9.t0 = _context9["catch"](2);
27182
- _iterator22.e(_context9.t0);
27183
- case 16:
27184
- _context9.prev = 16;
27185
- _iterator22.f();
27186
- return _context9.finish(16);
27187
- case 19:
27188
- case "end":
27189
- return _context9.stop();
27190
- }
27262
+ }
27263
+ n = _step22.value;
27264
+ u = ut.get(e, n);
27265
+ _context9.next = 9;
27266
+ return [u, n];
27267
+ case 9:
27268
+ _context9.next = 4;
27269
+ break;
27270
+ case 11:
27271
+ _context9.next = 16;
27272
+ break;
27273
+ case 13:
27274
+ _context9.prev = 13;
27275
+ _context9.t0 = _context9["catch"](2);
27276
+ _iterator22.e(_context9.t0);
27277
+ case 16:
27278
+ _context9.prev = 16;
27279
+ _iterator22.f();
27280
+ return _context9.finish(16);
27281
+ case 19:
27282
+ case "end":
27283
+ return _context9.stop();
27191
27284
  }
27192
27285
  }, levels, null, [[2, 13, 16, 19]]);
27193
27286
  }),
27194
27287
  matches: function matches(e, t) {
27195
27288
  return $e.isElement(e) && $e.isElementProps(t) && $e.matches(e, t) || yt.isText(e) && yt.isTextProps(t) && yt.matches(e, t);
27196
27289
  },
27197
- nodes: /*#__PURE__*/regeneratorRuntime.mark(function nodes(e) {
27290
+ nodes: /*#__PURE__*/_regeneratorRuntime().mark(function nodes(e) {
27198
27291
  var t,
27199
27292
  r,
27200
27293
  _t$reverse4,
@@ -27208,60 +27301,58 @@ function checkDCE() {
27208
27301
  c,
27209
27302
  l,
27210
27303
  _args10 = arguments;
27211
- return regeneratorRuntime.wrap(function nodes$(_context10) {
27212
- while (1) {
27213
- switch (_context10.prev = _context10.next) {
27214
- case 0:
27215
- t = _args10.length > 1 && void 0 !== _args10[1] ? _args10[1] : {}, r = t.pass, _t$reverse4 = t.reverse, n = _t$reverse4 === void 0 ? !1 : _t$reverse4, _t$from = t.from, u = _t$from === void 0 ? [] : _t$from, o = t.to, a = new Set(), i = [], s = e;
27216
- case 1:
27217
- if (!(!o || !(n ? st.isBefore(i, o) : st.isAfter(i, o)))) {
27218
- _context10.next = 22;
27219
- break;
27220
- }
27221
- _context10.t0 = a.has(s);
27222
- if (_context10.t0) {
27223
- _context10.next = 6;
27224
- break;
27225
- }
27304
+ return _regeneratorRuntime().wrap(function nodes$(_context10) {
27305
+ while (1) switch (_context10.prev = _context10.next) {
27306
+ case 0:
27307
+ t = _args10.length > 1 && void 0 !== _args10[1] ? _args10[1] : {}, r = t.pass, _t$reverse4 = t.reverse, n = _t$reverse4 === void 0 ? !1 : _t$reverse4, _t$from = t.from, u = _t$from === void 0 ? [] : _t$from, o = t.to, a = new Set(), i = [], s = e;
27308
+ case 1:
27309
+ if (!(!o || !(n ? st.isBefore(i, o) : st.isAfter(i, o)))) {
27310
+ _context10.next = 22;
27311
+ break;
27312
+ }
27313
+ _context10.t0 = a.has(s);
27314
+ if (_context10.t0) {
27226
27315
  _context10.next = 6;
27227
- return [s, i];
27228
- case 6:
27229
- if (!(a.has(s) || yt.isText(s) || 0 === s.children.length || null != r && !1 !== r([s, i]))) {
27230
- _context10.next = 17;
27231
- break;
27232
- }
27233
- if (!(0 === i.length)) {
27234
- _context10.next = 9;
27235
- break;
27236
- }
27237
- return _context10.abrupt("break", 22);
27238
- case 9:
27239
- if (n) {
27240
- _context10.next = 14;
27241
- break;
27242
- }
27243
- c = st.next(i);
27244
- if (!ut.has(e, c)) {
27245
- _context10.next = 14;
27246
- break;
27247
- }
27248
- i = c, s = ut.get(e, i);
27249
- return _context10.abrupt("continue", 20);
27250
- case 14:
27251
- if (n && 0 !== i[i.length - 1]) i = st.previous(i), s = ut.get(e, i);else i = st.parent(i), s = ut.get(e, i), a.add(s);
27252
- _context10.next = 20;
27253
27316
  break;
27254
- case 17:
27255
- a.add(s);
27256
- l = n ? s.children.length - 1 : 0;
27257
- st.isAncestor(i, u) && (l = u[i.length]), i = i.concat(l), s = ut.get(e, i);
27258
- case 20:
27259
- _context10.next = 1;
27317
+ }
27318
+ _context10.next = 6;
27319
+ return [s, i];
27320
+ case 6:
27321
+ if (!(a.has(s) || yt.isText(s) || 0 === s.children.length || null != r && !1 !== r([s, i]))) {
27322
+ _context10.next = 17;
27260
27323
  break;
27261
- case 22:
27262
- case "end":
27263
- return _context10.stop();
27264
- }
27324
+ }
27325
+ if (!(0 === i.length)) {
27326
+ _context10.next = 9;
27327
+ break;
27328
+ }
27329
+ return _context10.abrupt("break", 22);
27330
+ case 9:
27331
+ if (n) {
27332
+ _context10.next = 14;
27333
+ break;
27334
+ }
27335
+ c = st.next(i);
27336
+ if (!ut.has(e, c)) {
27337
+ _context10.next = 14;
27338
+ break;
27339
+ }
27340
+ i = c, s = ut.get(e, i);
27341
+ return _context10.abrupt("continue", 20);
27342
+ case 14:
27343
+ if (n && 0 !== i[i.length - 1]) i = st.previous(i), s = ut.get(e, i);else i = st.parent(i), s = ut.get(e, i), a.add(s);
27344
+ _context10.next = 20;
27345
+ break;
27346
+ case 17:
27347
+ a.add(s);
27348
+ l = n ? s.children.length - 1 : 0;
27349
+ st.isAncestor(i, u) && (l = u[i.length]), i = i.concat(l), s = ut.get(e, i);
27350
+ case 20:
27351
+ _context10.next = 1;
27352
+ break;
27353
+ case 22:
27354
+ case "end":
27355
+ return _context10.stop();
27265
27356
  }
27266
27357
  }, nodes);
27267
27358
  }),
@@ -27274,7 +27365,7 @@ function checkDCE() {
27274
27365
  string: function string(e) {
27275
27366
  return yt.isText(e) ? e.text : e.children.map(ut.string).join("");
27276
27367
  },
27277
- texts: /*#__PURE__*/regeneratorRuntime.mark(function texts(e) {
27368
+ texts: /*#__PURE__*/_regeneratorRuntime().mark(function texts(e) {
27278
27369
  var t,
27279
27370
  _iterator23,
27280
27371
  _step23,
@@ -27282,45 +27373,43 @@ function checkDCE() {
27282
27373
  r,
27283
27374
  n,
27284
27375
  _args11 = arguments;
27285
- return regeneratorRuntime.wrap(function texts$(_context11) {
27286
- while (1) {
27287
- switch (_context11.prev = _context11.next) {
27288
- case 0:
27289
- t = _args11.length > 1 && void 0 !== _args11[1] ? _args11[1] : {};
27290
- _iterator23 = _createForOfIteratorHelper(ut.nodes(e, t));
27291
- _context11.prev = 2;
27292
- _iterator23.s();
27293
- case 4:
27294
- if ((_step23 = _iterator23.n()).done) {
27295
- _context11.next = 12;
27296
- break;
27297
- }
27298
- _step23$value = _slicedToArray(_step23.value, 2), r = _step23$value[0], n = _step23$value[1];
27299
- _context11.t0 = yt.isText(r);
27300
- if (!_context11.t0) {
27301
- _context11.next = 10;
27302
- break;
27303
- }
27304
- _context11.next = 10;
27305
- return [r, n];
27306
- case 10:
27307
- _context11.next = 4;
27376
+ return _regeneratorRuntime().wrap(function texts$(_context11) {
27377
+ while (1) switch (_context11.prev = _context11.next) {
27378
+ case 0:
27379
+ t = _args11.length > 1 && void 0 !== _args11[1] ? _args11[1] : {};
27380
+ _iterator23 = _createForOfIteratorHelper(ut.nodes(e, t));
27381
+ _context11.prev = 2;
27382
+ _iterator23.s();
27383
+ case 4:
27384
+ if ((_step23 = _iterator23.n()).done) {
27385
+ _context11.next = 12;
27308
27386
  break;
27309
- case 12:
27310
- _context11.next = 17;
27387
+ }
27388
+ _step23$value = _slicedToArray(_step23.value, 2), r = _step23$value[0], n = _step23$value[1];
27389
+ _context11.t0 = yt.isText(r);
27390
+ if (!_context11.t0) {
27391
+ _context11.next = 10;
27311
27392
  break;
27312
- case 14:
27313
- _context11.prev = 14;
27314
- _context11.t1 = _context11["catch"](2);
27315
- _iterator23.e(_context11.t1);
27316
- case 17:
27317
- _context11.prev = 17;
27318
- _iterator23.f();
27319
- return _context11.finish(17);
27320
- case 20:
27321
- case "end":
27322
- return _context11.stop();
27323
- }
27393
+ }
27394
+ _context11.next = 10;
27395
+ return [r, n];
27396
+ case 10:
27397
+ _context11.next = 4;
27398
+ break;
27399
+ case 12:
27400
+ _context11.next = 17;
27401
+ break;
27402
+ case 14:
27403
+ _context11.prev = 14;
27404
+ _context11.t1 = _context11["catch"](2);
27405
+ _iterator23.e(_context11.t1);
27406
+ case 17:
27407
+ _context11.prev = 17;
27408
+ _iterator23.f();
27409
+ return _context11.finish(17);
27410
+ case 20:
27411
+ case "end":
27412
+ return _context11.stop();
27324
27413
  }
27325
27414
  }, texts, null, [[2, 14, 17, 20]]);
27326
27415
  })
@@ -27535,9 +27624,7 @@ function checkDCE() {
27535
27624
  return e[e.length - 1] !== t[t.length - 1] && st.equals(r, n);
27536
27625
  },
27537
27626
  levels: function levels(e) {
27538
- for (var t = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : {}, _t$reverse6 = t.reverse, r = _t$reverse6 === void 0 ? !1 : _t$reverse6, n = [], u = 0; u <= e.length; u++) {
27539
- n.push(e.slice(0, u));
27540
- }
27627
+ for (var t = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : {}, _t$reverse6 = t.reverse, r = _t$reverse6 === void 0 ? !1 : _t$reverse6, n = [], u = 0; u <= e.length; u++) n.push(e.slice(0, u));
27541
27628
  return r && n.reverse(), n;
27542
27629
  },
27543
27630
  next: function next(e) {
@@ -27809,20 +27896,18 @@ function checkDCE() {
27809
27896
  isRange: function isRange(e) {
27810
27897
  return a(e) && ft.isPoint(e.anchor) && ft.isPoint(e.focus);
27811
27898
  },
27812
- points: /*#__PURE__*/regeneratorRuntime.mark(function points(e) {
27813
- return regeneratorRuntime.wrap(function points$(_context12) {
27814
- while (1) {
27815
- switch (_context12.prev = _context12.next) {
27816
- case 0:
27817
- _context12.next = 2;
27818
- return [e.anchor, "anchor"];
27819
- case 2:
27820
- _context12.next = 4;
27821
- return [e.focus, "focus"];
27822
- case 4:
27823
- case "end":
27824
- return _context12.stop();
27825
- }
27899
+ points: /*#__PURE__*/_regeneratorRuntime().mark(function points(e) {
27900
+ return _regeneratorRuntime().wrap(function points$(_context12) {
27901
+ while (1) switch (_context12.prev = _context12.next) {
27902
+ case 0:
27903
+ _context12.next = 2;
27904
+ return [e.anchor, "anchor"];
27905
+ case 2:
27906
+ _context12.next = 4;
27907
+ return [e.focus, "focus"];
27908
+ case 4:
27909
+ case "end":
27910
+ return _context12.stop();
27826
27911
  }
27827
27912
  }, points);
27828
27913
  }),
@@ -27875,14 +27960,10 @@ function checkDCE() {
27875
27960
  if (!gt(n, u)) return !1;
27876
27961
  } else if (Array.isArray(n) && Array.isArray(u)) {
27877
27962
  if (n.length !== u.length) return !1;
27878
- for (var o = 0; o < n.length; o++) {
27879
- if (n[o] !== u[o]) return !1;
27880
- }
27963
+ for (var o = 0; o < n.length; o++) if (n[o] !== u[o]) return !1;
27881
27964
  } else if (n !== u) return !1;
27882
27965
  }
27883
- for (var i in t) {
27884
- if (void 0 === e[i] && void 0 !== t[i]) return !1;
27885
- }
27966
+ for (var i in t) if (void 0 === e[i] && void 0 !== t[i]) return !1;
27886
27967
  return !0;
27887
27968
  },
27888
27969
  Bt = ["text"],
@@ -27930,9 +28011,7 @@ function checkDCE() {
27930
28011
  return void 0 !== e.text;
27931
28012
  },
27932
28013
  matches: function matches(e, t) {
27933
- for (var r in t) {
27934
- if ("text" !== r && (!e.hasOwnProperty(r) || e[r] !== t[r])) return !1;
27935
- }
28014
+ for (var r in t) if ("text" !== r && (!e.hasOwnProperty(r) || e[r] !== t[r])) return !1;
27936
28015
  return !0;
27937
28016
  },
27938
28017
  decorations: function decorations(e, t) {
@@ -28445,9 +28524,7 @@ function checkDCE() {
28445
28524
  B = {};
28446
28525
  if (0 !== C.length) {
28447
28526
  var m = !1;
28448
- for (var E in t) {
28449
- "children" !== E && "text" !== E && o(t[E], p[E]) && (m = !0, p.hasOwnProperty(E) && (g[E] = p[E]), null != t[E] && (B[E] = t[E]));
28450
- }
28527
+ for (var E in t) "children" !== E && "text" !== E && o(t[E], p[E]) && (m = !0, p.hasOwnProperty(E) && (g[E] = p[E]), null != t[E] && (B[E] = t[E]));
28451
28528
  m && e.apply({
28452
28529
  type: "set_node",
28453
28530
  path: C,
@@ -28873,9 +28950,7 @@ function checkDCE() {
28873
28950
  n = {},
28874
28951
  u = {};
28875
28952
  if (r) {
28876
- for (var o in t) {
28877
- ("anchor" === o && null != t.anchor && !ft.equals(t.anchor, r.anchor) || "focus" === o && null != t.focus && !ft.equals(t.focus, r.focus) || "anchor" !== o && "focus" !== o && t[o] !== r[o]) && (n[o] = r[o], u[o] = t[o]);
28878
- }
28953
+ for (var o in t) ("anchor" === o && null != t.anchor && !ft.equals(t.anchor, r.anchor) || "focus" === o && null != t.focus && !ft.equals(t.focus, r.focus) || "anchor" !== o && "focus" !== o && t[o] !== r[o]) && (n[o] = r[o], u[o] = t[o]);
28879
28954
  Object.keys(n).length > 0 && e.apply({
28880
28955
  type: "set_selection",
28881
28956
  properties: n,
@@ -29459,9 +29534,7 @@ function checkDCE() {
29459
29534
  var ue = te[ne];
29460
29535
  null == ue ? delete re[ne] : re[ne] = ue;
29461
29536
  }
29462
- for (var oe in ee) {
29463
- te.hasOwnProperty(oe) || delete re[oe];
29464
- }
29537
+ for (var oe in ee) te.hasOwnProperty(oe) || delete re[oe];
29465
29538
  break;
29466
29539
  case "set_selection":
29467
29540
  var ae = r.newProperties;
@@ -29660,16 +29733,12 @@ function checkDCE() {
29660
29733
  n,
29661
29734
  u = {},
29662
29735
  o = Object.keys(e);
29663
- for (n = 0; n < o.length; n++) {
29664
- r = o[n], t.indexOf(r) >= 0 || (u[r] = e[r]);
29665
- }
29736
+ for (n = 0; n < o.length; n++) r = o[n], t.indexOf(r) >= 0 || (u[r] = e[r]);
29666
29737
  return u;
29667
29738
  }(e, t);
29668
29739
  if (Object.getOwnPropertySymbols) {
29669
29740
  var o = Object.getOwnPropertySymbols(e);
29670
- for (n = 0; n < o.length; n++) {
29671
- r = o[n], t.indexOf(r) >= 0 || Object.prototype.propertyIsEnumerable.call(e, r) && (u[r] = e[r]);
29672
- }
29741
+ for (n = 0; n < o.length; n++) r = o[n], t.indexOf(r) >= 0 || Object.prototype.propertyIsEnumerable.call(e, r) && (u[r] = e[r]);
29673
29742
  }
29674
29743
  return u;
29675
29744
  }
@@ -30010,9 +30079,7 @@ function checkDCE() {
30010
30079
  renderLeaf: i,
30011
30080
  text: h
30012
30081
  })), yr.set(h, e), Ar.set(h, r);
30013
- }, D = 0; D < r.children.length; D++) {
30014
- h(D);
30015
- }
30082
+ }, D = 0; D < r.children.length; D++) h(D);
30016
30083
  return d;
30017
30084
  },
30018
30085
  nn = {
@@ -30117,9 +30184,7 @@ function checkDCE() {
30117
30184
  return vn(e) && 3 === e.nodeType;
30118
30185
  },
30119
30186
  gn = function gn(e, t, r) {
30120
- for (var n, u = e.childNodes, o = u[t], a = t, i = !1, s = !1; (vn(n = o) && 8 === n.nodeType || Dn(o) && 0 === o.childNodes.length || Dn(o) && "false" === o.getAttribute("contenteditable")) && (!i || !s);) {
30121
- a >= u.length ? (i = !0, a = t - 1, r = "backward") : a < 0 ? (s = !0, a = t + 1, r = "forward") : (o = u[a], t = a, a += "forward" === r ? 1 : -1);
30122
- }
30187
+ for (var n, u = e.childNodes, o = u[t], a = t, i = !1, s = !1; (vn(n = o) && 8 === n.nodeType || Dn(o) && 0 === o.childNodes.length || Dn(o) && "false" === o.getAttribute("contenteditable")) && (!i || !s);) a >= u.length ? (i = !0, a = t - 1, r = "backward") : a < 0 ? (s = !0, a = t + 1, r = "forward") : (o = u[a], t = a, a += "forward" === r ? 1 : -1);
30123
30188
  return [o, t];
30124
30189
  },
30125
30190
  Bn = function Bn(e, t, r) {
@@ -30216,9 +30281,7 @@ function checkDCE() {
30216
30281
  function Mn(e, t) {
30217
30282
  if (e === t) return null;
30218
30283
  var r = function (e, t) {
30219
- for (var r = Math.min(e.length, t.length), n = 0; n < r; n++) {
30220
- if (e.charAt(n) !== t.charAt(n)) return n;
30221
- }
30284
+ for (var r = Math.min(e.length, t.length), n = 0; n < r; n++) if (e.charAt(n) !== t.charAt(n)) return n;
30222
30285
  return e.length !== t.length ? r : null;
30223
30286
  }(e, t);
30224
30287
  if (null === r) return null;
@@ -30492,7 +30555,7 @@ function checkDCE() {
30492
30555
  if (Dn(t) && t.childNodes.length) {
30493
30556
  var n = r === t.childNodes.length,
30494
30557
  u = n ? r - 1 : r;
30495
- for ((_gn3 = gn(t, u, n ? "backward" : "forward"), _gn4 = _slicedToArray(_gn3, 2), t = _gn4[0], u = _gn4[1], _gn3), n = u < r; Dn(t) && t.childNodes.length;) {
30558
+ for ((_gn3 = gn(t, u, n ? "backward" : "forward"), _gn4 = _slicedToArray(_gn3, 2), t = _gn4[0], u = _gn4[1]), n = u < r; Dn(t) && t.childNodes.length;) {
30496
30559
  var _gn3, _gn4;
30497
30560
  var o = n ? t.childNodes.length - 1 : 0;
30498
30561
  t = Bn(t, o, n ? "backward" : "forward");
@@ -30919,9 +30982,7 @@ function checkDCE() {
30919
30982
  a = Math.floor(o / 2);
30920
30983
  if (ru(e, Qe.range(e, n[u]), r)) return Qe.range(e, n[u], r);
30921
30984
  if (n.length < 2) return Qe.range(e, n[n.length - 1], r);
30922
- for (; a !== n.length && a !== u;) {
30923
- ru(e, Qe.range(e, n[a]), r) ? o = a : u = a, a = Math.floor((u + o) / 2);
30924
- }
30985
+ for (; a !== n.length && a !== u;) ru(e, Qe.range(e, n[a]), r) ? o = a : u = a, a = Math.floor((u + o) / 2);
30925
30986
  return Qe.range(e, n[o], r);
30926
30987
  }(t, a);
30927
30988
  pt.isCollapsed(i) || zt["delete"](e, {
@@ -31846,9 +31907,7 @@ function checkDCE() {
31846
31907
  ou = r(1),
31847
31908
  au = r.n(ou),
31848
31909
  iu = function iu() {
31849
- for (var e = arguments.length, t = new Array(e), r = 0; r < e; r++) {
31850
- t[r] = arguments[r];
31851
- }
31910
+ for (var e = arguments.length, t = new Array(e), r = 0; r < e; r++) t[r] = arguments[r];
31852
31911
  return function (e) {
31853
31912
  return t.reduceRight(function (e, t) {
31854
31913
  return t ? t(e) : e;
@@ -31856,9 +31915,7 @@ function checkDCE() {
31856
31915
  };
31857
31916
  },
31858
31917
  su = function su() {
31859
- for (var e = arguments.length, t = new Array(e), r = 0; r < e; r++) {
31860
- t[r] = arguments[r];
31861
- }
31918
+ for (var e = arguments.length, t = new Array(e), r = 0; r < e; r++) t[r] = arguments[r];
31862
31919
  return function (e) {
31863
31920
  return t.reduce(function (e, t) {
31864
31921
  return t ? t(e) : e;
@@ -31893,9 +31950,7 @@ function checkDCE() {
31893
31950
  }
31894
31951
  function fu(e, t) {
31895
31952
  (null == t || t > e.length) && (t = e.length);
31896
- for (var r = 0, n = new Array(t); r < t; r++) {
31897
- n[r] = e[r];
31898
- }
31953
+ for (var r = 0, n = new Array(t); r < t; r++) n[r] = e[r];
31899
31954
  return n;
31900
31955
  }
31901
31956
  var hu = function hu() {
@@ -31994,9 +32049,7 @@ function checkDCE() {
31994
32049
  u = !1,
31995
32050
  o = void 0;
31996
32051
  try {
31997
- for (var a, i = e[Symbol.iterator](); !(n = (a = i.next()).done) && (r.push(a.value), !t || r.length !== t); n = !0) {
31998
- ;
31999
- }
32052
+ for (var a, i = e[Symbol.iterator](); !(n = (a = i.next()).done) && (r.push(a.value), !t || r.length !== t); n = !0);
32000
32053
  } catch (e) {
32001
32054
  u = !0, o = e;
32002
32055
  } finally {
@@ -32020,9 +32073,7 @@ function checkDCE() {
32020
32073
  }
32021
32074
  function Ou(e, t) {
32022
32075
  (null == t || t > e.length) && (t = e.length);
32023
- for (var r = 0, n = new Array(t); r < t; r++) {
32024
- n[r] = e[r];
32025
- }
32076
+ for (var r = 0, n = new Array(t); r < t; r++) n[r] = e[r];
32026
32077
  return n;
32027
32078
  }
32028
32079
  var xu = function xu() {
@@ -32056,9 +32107,7 @@ function checkDCE() {
32056
32107
  }
32057
32108
  function ku(e, t) {
32058
32109
  (null == t || t > e.length) && (t = e.length);
32059
- for (var r = 0, n = new Array(t); r < t; r++) {
32060
- n[r] = e[r];
32061
- }
32110
+ for (var r = 0, n = new Array(t); r < t; r++) n[r] = e[r];
32062
32111
  return n;
32063
32112
  }
32064
32113
  function Pu(e, t) {
@@ -32128,9 +32177,7 @@ function checkDCE() {
32128
32177
  return (_u = Object.assign || function (e) {
32129
32178
  for (var t = 1; t < arguments.length; t++) {
32130
32179
  var r = arguments[t];
32131
- for (var n in r) {
32132
- Object.prototype.hasOwnProperty.call(r, n) && (e[n] = r[n]);
32133
- }
32180
+ for (var n in r) Object.prototype.hasOwnProperty.call(r, n) && (e[n] = r[n]);
32134
32181
  }
32135
32182
  return e;
32136
32183
  }).apply(this, arguments);
@@ -32145,9 +32192,7 @@ function checkDCE() {
32145
32192
  u = !1,
32146
32193
  o = void 0;
32147
32194
  try {
32148
- for (var a, i = e[Symbol.iterator](); !(n = (a = i.next()).done) && (r.push(a.value), !t || r.length !== t); n = !0) {
32149
- ;
32150
- }
32195
+ for (var a, i = e[Symbol.iterator](); !(n = (a = i.next()).done) && (r.push(a.value), !t || r.length !== t); n = !0);
32151
32196
  } catch (e) {
32152
32197
  u = !0, o = e;
32153
32198
  } finally {
@@ -32171,9 +32216,7 @@ function checkDCE() {
32171
32216
  }
32172
32217
  function Vu(e, t) {
32173
32218
  (null == t || t > e.length) && (t = e.length);
32174
- for (var r = 0, n = new Array(t); r < t; r++) {
32175
- n[r] = e[r];
32176
- }
32219
+ for (var r = 0, n = new Array(t); r < t; r++) n[r] = e[r];
32177
32220
  return n;
32178
32221
  }
32179
32222
  var qu = function qu(e, t) {
@@ -32235,9 +32278,7 @@ function checkDCE() {
32235
32278
  return (Zu = Object.assign || function (e) {
32236
32279
  for (var t = 1; t < arguments.length; t++) {
32237
32280
  var r = arguments[t];
32238
- for (var n in r) {
32239
- Object.prototype.hasOwnProperty.call(r, n) && (e[n] = r[n]);
32240
- }
32281
+ for (var n in r) Object.prototype.hasOwnProperty.call(r, n) && (e[n] = r[n]);
32241
32282
  }
32242
32283
  return e;
32243
32284
  }).apply(this, arguments);
@@ -32281,16 +32322,12 @@ function checkDCE() {
32281
32322
  n,
32282
32323
  u = {},
32283
32324
  o = Object.keys(e);
32284
- for (n = 0; n < o.length; n++) {
32285
- r = o[n], t.indexOf(r) >= 0 || (u[r] = e[r]);
32286
- }
32325
+ for (n = 0; n < o.length; n++) r = o[n], t.indexOf(r) >= 0 || (u[r] = e[r]);
32287
32326
  return u;
32288
32327
  }(e, t);
32289
32328
  if (Object.getOwnPropertySymbols) {
32290
32329
  var o = Object.getOwnPropertySymbols(e);
32291
- for (n = 0; n < o.length; n++) {
32292
- r = o[n], t.indexOf(r) >= 0 || Object.prototype.propertyIsEnumerable.call(e, r) && (u[r] = e[r]);
32293
- }
32330
+ for (n = 0; n < o.length; n++) r = o[n], t.indexOf(r) >= 0 || Object.prototype.propertyIsEnumerable.call(e, r) && (u[r] = e[r]);
32294
32331
  }
32295
32332
  return u;
32296
32333
  }
@@ -32466,9 +32503,7 @@ function checkDCE() {
32466
32503
  },
32467
32504
  Oo = function Oo(e) {
32468
32505
  if (Do(e)) return 1 / 0;
32469
- for (var t = 0, r = e.parentNode; r;) {
32470
- t += 1, r = r.parentNode;
32471
- }
32506
+ for (var t = 0, r = e.parentNode; r;) t += 1, r = r.parentNode;
32472
32507
  return t;
32473
32508
  },
32474
32509
  xo = function xo() {
@@ -32503,9 +32538,7 @@ function checkDCE() {
32503
32538
  t = 0;
32504
32539
  for (jo(t); ao.some(function (e) {
32505
32540
  return e.activeTargets.length > 0;
32506
- });) {
32507
- t = xo(), jo(t);
32508
- }
32541
+ });) t = xo(), jo(t);
32509
32542
  return ao.some(function (e) {
32510
32543
  return e.skippedTargets.length > 0;
32511
32544
  }) && ("function" == typeof ErrorEvent ? e = new ErrorEvent("error", {
@@ -32621,9 +32654,7 @@ function checkDCE() {
32621
32654
  },
32622
32655
  Vo = new WeakMap(),
32623
32656
  qo = function qo(e, t) {
32624
- for (var r = 0; r < e.length; r += 1) {
32625
- if (e[r].target === t) return r;
32626
- }
32657
+ for (var r = 0; r < e.length; r += 1) if (e[r].target === t) return r;
32627
32658
  return -1;
32628
32659
  },
32629
32660
  Ho = function () {
@@ -32884,9 +32915,7 @@ function checkDCE() {
32884
32915
  u = !1,
32885
32916
  o = void 0;
32886
32917
  try {
32887
- for (var a, i = e[Symbol.iterator](); !(n = (a = i.next()).done) && (r.push(a.value), !t || r.length !== t); n = !0) {
32888
- ;
32889
- }
32918
+ for (var a, i = e[Symbol.iterator](); !(n = (a = i.next()).done) && (r.push(a.value), !t || r.length !== t); n = !0);
32890
32919
  } catch (e) {
32891
32920
  u = !0, o = e;
32892
32921
  } finally {
@@ -32910,18 +32939,14 @@ function checkDCE() {
32910
32939
  }
32911
32940
  function ma(e, t) {
32912
32941
  (null == t || t > e.length) && (t = e.length);
32913
- for (var r = 0, n = new Array(t); r < t; r++) {
32914
- n[r] = e[r];
32915
- }
32942
+ for (var r = 0, n = new Array(t); r < t; r++) n[r] = e[r];
32916
32943
  return n;
32917
32944
  }
32918
32945
  function Ea() {
32919
32946
  return (Ea = Object.assign || function (e) {
32920
32947
  for (var t = 1; t < arguments.length; t++) {
32921
32948
  var r = arguments[t];
32922
- for (var n in r) {
32923
- Object.prototype.hasOwnProperty.call(r, n) && (e[n] = r[n]);
32924
- }
32949
+ for (var n in r) Object.prototype.hasOwnProperty.call(r, n) && (e[n] = r[n]);
32925
32950
  }
32926
32951
  return e;
32927
32952
  }).apply(this, arguments);
@@ -33184,9 +33209,7 @@ function checkDCE() {
33184
33209
  u = !1,
33185
33210
  o = void 0;
33186
33211
  try {
33187
- for (var a, i = e[Symbol.iterator](); !(n = (a = i.next()).done) && (r.push(a.value), !t || r.length !== t); n = !0) {
33188
- ;
33189
- }
33212
+ for (var a, i = e[Symbol.iterator](); !(n = (a = i.next()).done) && (r.push(a.value), !t || r.length !== t); n = !0);
33190
33213
  } catch (e) {
33191
33214
  u = !0, o = e;
33192
33215
  } finally {
@@ -33210,18 +33233,14 @@ function checkDCE() {
33210
33233
  }
33211
33234
  function _a(e, t) {
33212
33235
  (null == t || t > e.length) && (t = e.length);
33213
- for (var r = 0, n = new Array(t); r < t; r++) {
33214
- n[r] = e[r];
33215
- }
33236
+ for (var r = 0, n = new Array(t); r < t; r++) n[r] = e[r];
33216
33237
  return n;
33217
33238
  }
33218
33239
  function za() {
33219
33240
  return (za = Object.assign || function (e) {
33220
33241
  for (var t = 1; t < arguments.length; t++) {
33221
33242
  var r = arguments[t];
33222
- for (var n in r) {
33223
- Object.prototype.hasOwnProperty.call(r, n) && (e[n] = r[n]);
33224
- }
33243
+ for (var n in r) Object.prototype.hasOwnProperty.call(r, n) && (e[n] = r[n]);
33225
33244
  }
33226
33245
  return e;
33227
33246
  }).apply(this, arguments);
@@ -33621,9 +33640,7 @@ function checkDCE() {
33621
33640
  return (gi = Object.assign || function (e) {
33622
33641
  for (var t = 1; t < arguments.length; t++) {
33623
33642
  var r = arguments[t];
33624
- for (var n in r) {
33625
- Object.prototype.hasOwnProperty.call(r, n) && (e[n] = r[n]);
33626
- }
33643
+ for (var n in r) Object.prototype.hasOwnProperty.call(r, n) && (e[n] = r[n]);
33627
33644
  }
33628
33645
  return e;
33629
33646
  }).apply(this, arguments);
@@ -33675,9 +33692,7 @@ function checkDCE() {
33675
33692
  }
33676
33693
  function yi(e, t) {
33677
33694
  (null == t || t > e.length) && (t = e.length);
33678
- for (var r = 0, n = new Array(t); r < t; r++) {
33679
- n[r] = e[r];
33680
- }
33695
+ for (var r = 0, n = new Array(t); r < t; r++) n[r] = e[r];
33681
33696
  return n;
33682
33697
  }
33683
33698
  window.ResizeObserver || (window.ResizeObserver = Uo);
@@ -33962,7 +33977,7 @@ var RichTextEditor = function RichTextEditor(_ref) {
33962
33977
  /* Handle events from webview */
33963
33978
  var onMessage = useCallback(function (event) {
33964
33979
  var _event$nativeEvent, _event$nativeEvent2;
33965
- var message = event !== null && event !== void 0 && (_event$nativeEvent = event.nativeEvent) !== null && _event$nativeEvent !== void 0 && _event$nativeEvent.data ? JSON.parse(event === null || event === void 0 ? void 0 : (_event$nativeEvent2 = event.nativeEvent) === null || _event$nativeEvent2 === void 0 ? void 0 : _event$nativeEvent2.data) : undefined;
33980
+ var message = event !== null && event !== void 0 && (_event$nativeEvent = event.nativeEvent) !== null && _event$nativeEvent !== void 0 && _event$nativeEvent.data ? JSON.parse(event === null || event === void 0 || (_event$nativeEvent2 = event.nativeEvent) === null || _event$nativeEvent2 === void 0 ? void 0 : _event$nativeEvent2.data) : undefined;
33966
33981
  var messageType = message === null || message === void 0 ? void 0 : message.type;
33967
33982
  var messageData = message === null || message === void 0 ? void 0 : message.data;
33968
33983
  switch (messageType) {
@@ -33981,7 +33996,7 @@ var RichTextEditor = function RichTextEditor(_ref) {
33981
33996
  }
33982
33997
  break;
33983
33998
  case '@hero-editor/webview/cursor-change':
33984
- onCursorChange === null || onCursorChange === void 0 ? void 0 : onCursorChange(messageData);
33999
+ onCursorChange === null || onCursorChange === void 0 || onCursorChange(messageData);
33985
34000
  break;
33986
34001
  case '@hero-editor/webview/editor-layout':
33987
34002
  handleEditorLayoutEvent(messageData);