@react-hive/honey-style 8.3.3 → 8.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +7 -8
- package/dist/index.cjs.map +1 -1
- package/dist/index.dev.cjs +121 -476
- package/dist/index.dev.cjs.map +1 -1
- package/dist/index.mjs +5 -6
- package/dist/index.mjs.map +1 -1
- package/package.json +10 -10
- package/dist/index.cjs.LICENSE.txt +0 -9
- package/dist/index.mjs.LICENSE.txt +0 -9
package/dist/index.dev.cjs
CHANGED
|
@@ -2,384 +2,6 @@
|
|
|
2
2
|
/******/ "use strict";
|
|
3
3
|
/******/ var __webpack_modules__ = ({
|
|
4
4
|
|
|
5
|
-
/***/ "./node_modules/.pnpm/react@19.2.7/node_modules/react/cjs/react-jsx-runtime.development.js"
|
|
6
|
-
/*!*************************************************************************************************!*\
|
|
7
|
-
!*** ./node_modules/.pnpm/react@19.2.7/node_modules/react/cjs/react-jsx-runtime.development.js ***!
|
|
8
|
-
\*************************************************************************************************/
|
|
9
|
-
(__unused_webpack_module, exports, __webpack_require__) {
|
|
10
|
-
|
|
11
|
-
/**
|
|
12
|
-
* @license React
|
|
13
|
-
* react-jsx-runtime.development.js
|
|
14
|
-
*
|
|
15
|
-
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
16
|
-
*
|
|
17
|
-
* This source code is licensed under the MIT license found in the
|
|
18
|
-
* LICENSE file in the root directory of this source tree.
|
|
19
|
-
*/
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
true &&
|
|
23
|
-
(function () {
|
|
24
|
-
function getComponentNameFromType(type) {
|
|
25
|
-
if (null == type) return null;
|
|
26
|
-
if ("function" === typeof type)
|
|
27
|
-
return type.$$typeof === REACT_CLIENT_REFERENCE
|
|
28
|
-
? null
|
|
29
|
-
: type.displayName || type.name || null;
|
|
30
|
-
if ("string" === typeof type) return type;
|
|
31
|
-
switch (type) {
|
|
32
|
-
case REACT_FRAGMENT_TYPE:
|
|
33
|
-
return "Fragment";
|
|
34
|
-
case REACT_PROFILER_TYPE:
|
|
35
|
-
return "Profiler";
|
|
36
|
-
case REACT_STRICT_MODE_TYPE:
|
|
37
|
-
return "StrictMode";
|
|
38
|
-
case REACT_SUSPENSE_TYPE:
|
|
39
|
-
return "Suspense";
|
|
40
|
-
case REACT_SUSPENSE_LIST_TYPE:
|
|
41
|
-
return "SuspenseList";
|
|
42
|
-
case REACT_ACTIVITY_TYPE:
|
|
43
|
-
return "Activity";
|
|
44
|
-
}
|
|
45
|
-
if ("object" === typeof type)
|
|
46
|
-
switch (
|
|
47
|
-
("number" === typeof type.tag &&
|
|
48
|
-
console.error(
|
|
49
|
-
"Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."
|
|
50
|
-
),
|
|
51
|
-
type.$$typeof)
|
|
52
|
-
) {
|
|
53
|
-
case REACT_PORTAL_TYPE:
|
|
54
|
-
return "Portal";
|
|
55
|
-
case REACT_CONTEXT_TYPE:
|
|
56
|
-
return type.displayName || "Context";
|
|
57
|
-
case REACT_CONSUMER_TYPE:
|
|
58
|
-
return (type._context.displayName || "Context") + ".Consumer";
|
|
59
|
-
case REACT_FORWARD_REF_TYPE:
|
|
60
|
-
var innerType = type.render;
|
|
61
|
-
type = type.displayName;
|
|
62
|
-
type ||
|
|
63
|
-
((type = innerType.displayName || innerType.name || ""),
|
|
64
|
-
(type = "" !== type ? "ForwardRef(" + type + ")" : "ForwardRef"));
|
|
65
|
-
return type;
|
|
66
|
-
case REACT_MEMO_TYPE:
|
|
67
|
-
return (
|
|
68
|
-
(innerType = type.displayName || null),
|
|
69
|
-
null !== innerType
|
|
70
|
-
? innerType
|
|
71
|
-
: getComponentNameFromType(type.type) || "Memo"
|
|
72
|
-
);
|
|
73
|
-
case REACT_LAZY_TYPE:
|
|
74
|
-
innerType = type._payload;
|
|
75
|
-
type = type._init;
|
|
76
|
-
try {
|
|
77
|
-
return getComponentNameFromType(type(innerType));
|
|
78
|
-
} catch (x) {}
|
|
79
|
-
}
|
|
80
|
-
return null;
|
|
81
|
-
}
|
|
82
|
-
function testStringCoercion(value) {
|
|
83
|
-
return "" + value;
|
|
84
|
-
}
|
|
85
|
-
function checkKeyStringCoercion(value) {
|
|
86
|
-
try {
|
|
87
|
-
testStringCoercion(value);
|
|
88
|
-
var JSCompiler_inline_result = !1;
|
|
89
|
-
} catch (e) {
|
|
90
|
-
JSCompiler_inline_result = !0;
|
|
91
|
-
}
|
|
92
|
-
if (JSCompiler_inline_result) {
|
|
93
|
-
JSCompiler_inline_result = console;
|
|
94
|
-
var JSCompiler_temp_const = JSCompiler_inline_result.error;
|
|
95
|
-
var JSCompiler_inline_result$jscomp$0 =
|
|
96
|
-
("function" === typeof Symbol &&
|
|
97
|
-
Symbol.toStringTag &&
|
|
98
|
-
value[Symbol.toStringTag]) ||
|
|
99
|
-
value.constructor.name ||
|
|
100
|
-
"Object";
|
|
101
|
-
JSCompiler_temp_const.call(
|
|
102
|
-
JSCompiler_inline_result,
|
|
103
|
-
"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",
|
|
104
|
-
JSCompiler_inline_result$jscomp$0
|
|
105
|
-
);
|
|
106
|
-
return testStringCoercion(value);
|
|
107
|
-
}
|
|
108
|
-
}
|
|
109
|
-
function getTaskName(type) {
|
|
110
|
-
if (type === REACT_FRAGMENT_TYPE) return "<>";
|
|
111
|
-
if (
|
|
112
|
-
"object" === typeof type &&
|
|
113
|
-
null !== type &&
|
|
114
|
-
type.$$typeof === REACT_LAZY_TYPE
|
|
115
|
-
)
|
|
116
|
-
return "<...>";
|
|
117
|
-
try {
|
|
118
|
-
var name = getComponentNameFromType(type);
|
|
119
|
-
return name ? "<" + name + ">" : "<...>";
|
|
120
|
-
} catch (x) {
|
|
121
|
-
return "<...>";
|
|
122
|
-
}
|
|
123
|
-
}
|
|
124
|
-
function getOwner() {
|
|
125
|
-
var dispatcher = ReactSharedInternals.A;
|
|
126
|
-
return null === dispatcher ? null : dispatcher.getOwner();
|
|
127
|
-
}
|
|
128
|
-
function UnknownOwner() {
|
|
129
|
-
return Error("react-stack-top-frame");
|
|
130
|
-
}
|
|
131
|
-
function hasValidKey(config) {
|
|
132
|
-
if (hasOwnProperty.call(config, "key")) {
|
|
133
|
-
var getter = Object.getOwnPropertyDescriptor(config, "key").get;
|
|
134
|
-
if (getter && getter.isReactWarning) return !1;
|
|
135
|
-
}
|
|
136
|
-
return void 0 !== config.key;
|
|
137
|
-
}
|
|
138
|
-
function defineKeyPropWarningGetter(props, displayName) {
|
|
139
|
-
function warnAboutAccessingKey() {
|
|
140
|
-
specialPropKeyWarningShown ||
|
|
141
|
-
((specialPropKeyWarningShown = !0),
|
|
142
|
-
console.error(
|
|
143
|
-
"%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)",
|
|
144
|
-
displayName
|
|
145
|
-
));
|
|
146
|
-
}
|
|
147
|
-
warnAboutAccessingKey.isReactWarning = !0;
|
|
148
|
-
Object.defineProperty(props, "key", {
|
|
149
|
-
get: warnAboutAccessingKey,
|
|
150
|
-
configurable: !0
|
|
151
|
-
});
|
|
152
|
-
}
|
|
153
|
-
function elementRefGetterWithDeprecationWarning() {
|
|
154
|
-
var componentName = getComponentNameFromType(this.type);
|
|
155
|
-
didWarnAboutElementRef[componentName] ||
|
|
156
|
-
((didWarnAboutElementRef[componentName] = !0),
|
|
157
|
-
console.error(
|
|
158
|
-
"Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release."
|
|
159
|
-
));
|
|
160
|
-
componentName = this.props.ref;
|
|
161
|
-
return void 0 !== componentName ? componentName : null;
|
|
162
|
-
}
|
|
163
|
-
function ReactElement(type, key, props, owner, debugStack, debugTask) {
|
|
164
|
-
var refProp = props.ref;
|
|
165
|
-
type = {
|
|
166
|
-
$$typeof: REACT_ELEMENT_TYPE,
|
|
167
|
-
type: type,
|
|
168
|
-
key: key,
|
|
169
|
-
props: props,
|
|
170
|
-
_owner: owner
|
|
171
|
-
};
|
|
172
|
-
null !== (void 0 !== refProp ? refProp : null)
|
|
173
|
-
? Object.defineProperty(type, "ref", {
|
|
174
|
-
enumerable: !1,
|
|
175
|
-
get: elementRefGetterWithDeprecationWarning
|
|
176
|
-
})
|
|
177
|
-
: Object.defineProperty(type, "ref", { enumerable: !1, value: null });
|
|
178
|
-
type._store = {};
|
|
179
|
-
Object.defineProperty(type._store, "validated", {
|
|
180
|
-
configurable: !1,
|
|
181
|
-
enumerable: !1,
|
|
182
|
-
writable: !0,
|
|
183
|
-
value: 0
|
|
184
|
-
});
|
|
185
|
-
Object.defineProperty(type, "_debugInfo", {
|
|
186
|
-
configurable: !1,
|
|
187
|
-
enumerable: !1,
|
|
188
|
-
writable: !0,
|
|
189
|
-
value: null
|
|
190
|
-
});
|
|
191
|
-
Object.defineProperty(type, "_debugStack", {
|
|
192
|
-
configurable: !1,
|
|
193
|
-
enumerable: !1,
|
|
194
|
-
writable: !0,
|
|
195
|
-
value: debugStack
|
|
196
|
-
});
|
|
197
|
-
Object.defineProperty(type, "_debugTask", {
|
|
198
|
-
configurable: !1,
|
|
199
|
-
enumerable: !1,
|
|
200
|
-
writable: !0,
|
|
201
|
-
value: debugTask
|
|
202
|
-
});
|
|
203
|
-
Object.freeze && (Object.freeze(type.props), Object.freeze(type));
|
|
204
|
-
return type;
|
|
205
|
-
}
|
|
206
|
-
function jsxDEVImpl(
|
|
207
|
-
type,
|
|
208
|
-
config,
|
|
209
|
-
maybeKey,
|
|
210
|
-
isStaticChildren,
|
|
211
|
-
debugStack,
|
|
212
|
-
debugTask
|
|
213
|
-
) {
|
|
214
|
-
var children = config.children;
|
|
215
|
-
if (void 0 !== children)
|
|
216
|
-
if (isStaticChildren)
|
|
217
|
-
if (isArrayImpl(children)) {
|
|
218
|
-
for (
|
|
219
|
-
isStaticChildren = 0;
|
|
220
|
-
isStaticChildren < children.length;
|
|
221
|
-
isStaticChildren++
|
|
222
|
-
)
|
|
223
|
-
validateChildKeys(children[isStaticChildren]);
|
|
224
|
-
Object.freeze && Object.freeze(children);
|
|
225
|
-
} else
|
|
226
|
-
console.error(
|
|
227
|
-
"React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead."
|
|
228
|
-
);
|
|
229
|
-
else validateChildKeys(children);
|
|
230
|
-
if (hasOwnProperty.call(config, "key")) {
|
|
231
|
-
children = getComponentNameFromType(type);
|
|
232
|
-
var keys = Object.keys(config).filter(function (k) {
|
|
233
|
-
return "key" !== k;
|
|
234
|
-
});
|
|
235
|
-
isStaticChildren =
|
|
236
|
-
0 < keys.length
|
|
237
|
-
? "{key: someKey, " + keys.join(": ..., ") + ": ...}"
|
|
238
|
-
: "{key: someKey}";
|
|
239
|
-
didWarnAboutKeySpread[children + isStaticChildren] ||
|
|
240
|
-
((keys =
|
|
241
|
-
0 < keys.length ? "{" + keys.join(": ..., ") + ": ...}" : "{}"),
|
|
242
|
-
console.error(
|
|
243
|
-
'A props object containing a "key" prop is being spread into JSX:\n let props = %s;\n <%s {...props} />\nReact keys must be passed directly to JSX without using spread:\n let props = %s;\n <%s key={someKey} {...props} />',
|
|
244
|
-
isStaticChildren,
|
|
245
|
-
children,
|
|
246
|
-
keys,
|
|
247
|
-
children
|
|
248
|
-
),
|
|
249
|
-
(didWarnAboutKeySpread[children + isStaticChildren] = !0));
|
|
250
|
-
}
|
|
251
|
-
children = null;
|
|
252
|
-
void 0 !== maybeKey &&
|
|
253
|
-
(checkKeyStringCoercion(maybeKey), (children = "" + maybeKey));
|
|
254
|
-
hasValidKey(config) &&
|
|
255
|
-
(checkKeyStringCoercion(config.key), (children = "" + config.key));
|
|
256
|
-
if ("key" in config) {
|
|
257
|
-
maybeKey = {};
|
|
258
|
-
for (var propName in config)
|
|
259
|
-
"key" !== propName && (maybeKey[propName] = config[propName]);
|
|
260
|
-
} else maybeKey = config;
|
|
261
|
-
children &&
|
|
262
|
-
defineKeyPropWarningGetter(
|
|
263
|
-
maybeKey,
|
|
264
|
-
"function" === typeof type
|
|
265
|
-
? type.displayName || type.name || "Unknown"
|
|
266
|
-
: type
|
|
267
|
-
);
|
|
268
|
-
return ReactElement(
|
|
269
|
-
type,
|
|
270
|
-
children,
|
|
271
|
-
maybeKey,
|
|
272
|
-
getOwner(),
|
|
273
|
-
debugStack,
|
|
274
|
-
debugTask
|
|
275
|
-
);
|
|
276
|
-
}
|
|
277
|
-
function validateChildKeys(node) {
|
|
278
|
-
isValidElement(node)
|
|
279
|
-
? node._store && (node._store.validated = 1)
|
|
280
|
-
: "object" === typeof node &&
|
|
281
|
-
null !== node &&
|
|
282
|
-
node.$$typeof === REACT_LAZY_TYPE &&
|
|
283
|
-
("fulfilled" === node._payload.status
|
|
284
|
-
? isValidElement(node._payload.value) &&
|
|
285
|
-
node._payload.value._store &&
|
|
286
|
-
(node._payload.value._store.validated = 1)
|
|
287
|
-
: node._store && (node._store.validated = 1));
|
|
288
|
-
}
|
|
289
|
-
function isValidElement(object) {
|
|
290
|
-
return (
|
|
291
|
-
"object" === typeof object &&
|
|
292
|
-
null !== object &&
|
|
293
|
-
object.$$typeof === REACT_ELEMENT_TYPE
|
|
294
|
-
);
|
|
295
|
-
}
|
|
296
|
-
var React = __webpack_require__(/*! react */ "react"),
|
|
297
|
-
REACT_ELEMENT_TYPE = Symbol.for("react.transitional.element"),
|
|
298
|
-
REACT_PORTAL_TYPE = Symbol.for("react.portal"),
|
|
299
|
-
REACT_FRAGMENT_TYPE = Symbol.for("react.fragment"),
|
|
300
|
-
REACT_STRICT_MODE_TYPE = Symbol.for("react.strict_mode"),
|
|
301
|
-
REACT_PROFILER_TYPE = Symbol.for("react.profiler"),
|
|
302
|
-
REACT_CONSUMER_TYPE = Symbol.for("react.consumer"),
|
|
303
|
-
REACT_CONTEXT_TYPE = Symbol.for("react.context"),
|
|
304
|
-
REACT_FORWARD_REF_TYPE = Symbol.for("react.forward_ref"),
|
|
305
|
-
REACT_SUSPENSE_TYPE = Symbol.for("react.suspense"),
|
|
306
|
-
REACT_SUSPENSE_LIST_TYPE = Symbol.for("react.suspense_list"),
|
|
307
|
-
REACT_MEMO_TYPE = Symbol.for("react.memo"),
|
|
308
|
-
REACT_LAZY_TYPE = Symbol.for("react.lazy"),
|
|
309
|
-
REACT_ACTIVITY_TYPE = Symbol.for("react.activity"),
|
|
310
|
-
REACT_CLIENT_REFERENCE = Symbol.for("react.client.reference"),
|
|
311
|
-
ReactSharedInternals =
|
|
312
|
-
React.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,
|
|
313
|
-
hasOwnProperty = Object.prototype.hasOwnProperty,
|
|
314
|
-
isArrayImpl = Array.isArray,
|
|
315
|
-
createTask = console.createTask
|
|
316
|
-
? console.createTask
|
|
317
|
-
: function () {
|
|
318
|
-
return null;
|
|
319
|
-
};
|
|
320
|
-
React = {
|
|
321
|
-
react_stack_bottom_frame: function (callStackForError) {
|
|
322
|
-
return callStackForError();
|
|
323
|
-
}
|
|
324
|
-
};
|
|
325
|
-
var specialPropKeyWarningShown;
|
|
326
|
-
var didWarnAboutElementRef = {};
|
|
327
|
-
var unknownOwnerDebugStack = React.react_stack_bottom_frame.bind(
|
|
328
|
-
React,
|
|
329
|
-
UnknownOwner
|
|
330
|
-
)();
|
|
331
|
-
var unknownOwnerDebugTask = createTask(getTaskName(UnknownOwner));
|
|
332
|
-
var didWarnAboutKeySpread = {};
|
|
333
|
-
exports.Fragment = REACT_FRAGMENT_TYPE;
|
|
334
|
-
exports.jsx = function (type, config, maybeKey) {
|
|
335
|
-
var trackActualOwner =
|
|
336
|
-
1e4 > ReactSharedInternals.recentlyCreatedOwnerStacks++;
|
|
337
|
-
return jsxDEVImpl(
|
|
338
|
-
type,
|
|
339
|
-
config,
|
|
340
|
-
maybeKey,
|
|
341
|
-
!1,
|
|
342
|
-
trackActualOwner
|
|
343
|
-
? Error("react-stack-top-frame")
|
|
344
|
-
: unknownOwnerDebugStack,
|
|
345
|
-
trackActualOwner ? createTask(getTaskName(type)) : unknownOwnerDebugTask
|
|
346
|
-
);
|
|
347
|
-
};
|
|
348
|
-
exports.jsxs = function (type, config, maybeKey) {
|
|
349
|
-
var trackActualOwner =
|
|
350
|
-
1e4 > ReactSharedInternals.recentlyCreatedOwnerStacks++;
|
|
351
|
-
return jsxDEVImpl(
|
|
352
|
-
type,
|
|
353
|
-
config,
|
|
354
|
-
maybeKey,
|
|
355
|
-
!0,
|
|
356
|
-
trackActualOwner
|
|
357
|
-
? Error("react-stack-top-frame")
|
|
358
|
-
: unknownOwnerDebugStack,
|
|
359
|
-
trackActualOwner ? createTask(getTaskName(type)) : unknownOwnerDebugTask
|
|
360
|
-
);
|
|
361
|
-
};
|
|
362
|
-
})();
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
/***/ },
|
|
366
|
-
|
|
367
|
-
/***/ "./node_modules/.pnpm/react@19.2.7/node_modules/react/jsx-runtime.js"
|
|
368
|
-
/*!***************************************************************************!*\
|
|
369
|
-
!*** ./node_modules/.pnpm/react@19.2.7/node_modules/react/jsx-runtime.js ***!
|
|
370
|
-
\***************************************************************************/
|
|
371
|
-
(module, __unused_webpack_exports, __webpack_require__) {
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
if (false) // removed by dead control flow
|
|
376
|
-
{} else {
|
|
377
|
-
module.exports = __webpack_require__(/*! ./cjs/react-jsx-runtime.development.js */ "./node_modules/.pnpm/react@19.2.7/node_modules/react/cjs/react-jsx-runtime.development.js");
|
|
378
|
-
}
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
/***/ },
|
|
382
|
-
|
|
383
5
|
/***/ "./src/constants.ts"
|
|
384
6
|
/*!**************************!*\
|
|
385
7
|
!*** ./src/constants.ts ***!
|
|
@@ -735,7 +357,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
735
357
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
736
358
|
/* harmony export */ mediaQuery: () => (/* binding */ mediaQuery)
|
|
737
359
|
/* harmony export */ });
|
|
738
|
-
/* harmony import */ var _react_hive_honey_utils__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @react-hive/honey-utils */ "./node_modules/.pnpm/@react-hive+honey-utils@
|
|
360
|
+
/* harmony import */ var _react_hive_honey_utils__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @react-hive/honey-utils */ "./node_modules/.pnpm/@react-hive+honey-utils@5.1.0/node_modules/@react-hive/honey-utils/dist/index.mjs");
|
|
739
361
|
|
|
740
362
|
/**
|
|
741
363
|
* Constructs a complete `@media` query string from an array of media rule objects.
|
|
@@ -793,7 +415,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
793
415
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
794
416
|
/* harmony export */ compileCss: () => (/* binding */ compileCss)
|
|
795
417
|
/* harmony export */ });
|
|
796
|
-
/* harmony import */ var _react_hive_honey_css__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @react-hive/honey-css */ "./node_modules/.pnpm/@react-hive+honey-css@1.
|
|
418
|
+
/* harmony import */ var _react_hive_honey_css__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @react-hive/honey-css */ "./node_modules/.pnpm/@react-hive+honey-css@1.21.0/node_modules/@react-hive/honey-css/dist/index.mjs");
|
|
797
419
|
|
|
798
420
|
const SCOPED_AT_RULES = {
|
|
799
421
|
media: true,
|
|
@@ -1062,7 +684,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
1062
684
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
1063
685
|
/* harmony export */ createSpacingTransformer: () => (/* binding */ createSpacingTransformer)
|
|
1064
686
|
/* harmony export */ });
|
|
1065
|
-
/* harmony import */ var _react_hive_honey_utils__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @react-hive/honey-utils */ "./node_modules/.pnpm/@react-hive+honey-utils@
|
|
687
|
+
/* harmony import */ var _react_hive_honey_utils__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @react-hive/honey-utils */ "./node_modules/.pnpm/@react-hive+honey-utils@5.1.0/node_modules/@react-hive/honey-utils/dist/index.mjs");
|
|
1066
688
|
/* harmony import */ var _constants__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./constants */ "./src/css/constants.ts");
|
|
1067
689
|
/* harmony import */ var _resolve_spacing_value__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./resolve-spacing-value */ "./src/css/resolve-spacing-value.ts");
|
|
1068
690
|
|
|
@@ -1122,7 +744,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
1122
744
|
/* harmony export */ isCssColorProperty: () => (/* binding */ isCssColorProperty),
|
|
1123
745
|
/* harmony export */ isCssSpacingProperty: () => (/* binding */ isCssSpacingProperty)
|
|
1124
746
|
/* harmony export */ });
|
|
1125
|
-
/* harmony import */ var _react_hive_honey_utils__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @react-hive/honey-utils */ "./node_modules/.pnpm/@react-hive+honey-utils@
|
|
747
|
+
/* harmony import */ var _react_hive_honey_utils__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @react-hive/honey-utils */ "./node_modules/.pnpm/@react-hive+honey-utils@5.1.0/node_modules/@react-hive/honey-utils/dist/index.mjs");
|
|
1126
748
|
/* harmony import */ var _constants__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../constants */ "./src/constants.ts");
|
|
1127
749
|
/* harmony import */ var _utils__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../utils */ "./src/utils.ts");
|
|
1128
750
|
/* harmony import */ var _constants__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./constants */ "./src/css/constants.ts");
|
|
@@ -1222,7 +844,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
1222
844
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
1223
845
|
/* harmony export */ processCss: () => (/* binding */ processCss)
|
|
1224
846
|
/* harmony export */ });
|
|
1225
|
-
/* harmony import */ var _react_hive_honey_css__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @react-hive/honey-css */ "./node_modules/.pnpm/@react-hive+honey-css@1.
|
|
847
|
+
/* harmony import */ var _react_hive_honey_css__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @react-hive/honey-css */ "./node_modules/.pnpm/@react-hive+honey-css@1.21.0/node_modules/@react-hive/honey-css/dist/index.mjs");
|
|
1226
848
|
/* harmony import */ var _css__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./css */ "./src/css/css.ts");
|
|
1227
849
|
/* harmony import */ var _compile_css__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./compile-css */ "./src/css/compile-css.ts");
|
|
1228
850
|
/* harmony import */ var _transform_absolute_fill_at_rule__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./transform-absolute-fill-at-rule */ "./src/css/transform-absolute-fill-at-rule.ts");
|
|
@@ -1687,7 +1309,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
1687
1309
|
/* harmony export */ });
|
|
1688
1310
|
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "react");
|
|
1689
1311
|
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
|
|
1690
|
-
/* harmony import */ var _react_hive_honey_utils__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @react-hive/honey-utils */ "./node_modules/.pnpm/@react-hive+honey-utils@
|
|
1312
|
+
/* harmony import */ var _react_hive_honey_utils__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @react-hive/honey-utils */ "./node_modules/.pnpm/@react-hive+honey-utils@5.1.0/node_modules/@react-hive/honey-utils/dist/index.mjs");
|
|
1691
1313
|
/* harmony import */ var _contexts__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../contexts */ "./src/contexts/index.ts");
|
|
1692
1314
|
|
|
1693
1315
|
|
|
@@ -1823,7 +1445,8 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
1823
1445
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
1824
1446
|
/* harmony export */ HoneyStyleProvider: () => (/* binding */ HoneyStyleProvider)
|
|
1825
1447
|
/* harmony export */ });
|
|
1826
|
-
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react/jsx-runtime */ "
|
|
1448
|
+
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react/jsx-runtime */ "react/jsx-runtime");
|
|
1449
|
+
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__);
|
|
1827
1450
|
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ "react");
|
|
1828
1451
|
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);
|
|
1829
1452
|
/* harmony import */ var _contexts__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../contexts */ "./src/contexts/index.ts");
|
|
@@ -1874,7 +1497,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
1874
1497
|
/* harmony export */ });
|
|
1875
1498
|
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "react");
|
|
1876
1499
|
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
|
|
1877
|
-
/* harmony import */ var _react_hive_honey_utils__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @react-hive/honey-utils */ "./node_modules/.pnpm/@react-hive+honey-utils@
|
|
1500
|
+
/* harmony import */ var _react_hive_honey_utils__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @react-hive/honey-utils */ "./node_modules/.pnpm/@react-hive+honey-utils@5.1.0/node_modules/@react-hive/honey-utils/dist/index.mjs");
|
|
1878
1501
|
/* harmony import */ var _css__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./css */ "./src/css/index.ts");
|
|
1879
1502
|
/* harmony import */ var _constants__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./constants */ "./src/constants.ts");
|
|
1880
1503
|
/* harmony import */ var _utils__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./utils */ "./src/utils.ts");
|
|
@@ -2080,7 +1703,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
2080
1703
|
/* harmony export */ resolveFont: () => (/* binding */ resolveFont),
|
|
2081
1704
|
/* harmony export */ resolveSpacing: () => (/* binding */ resolveSpacing)
|
|
2082
1705
|
/* harmony export */ });
|
|
2083
|
-
/* harmony import */ var _react_hive_honey_utils__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @react-hive/honey-utils */ "./node_modules/.pnpm/@react-hive+honey-utils@
|
|
1706
|
+
/* harmony import */ var _react_hive_honey_utils__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @react-hive/honey-utils */ "./node_modules/.pnpm/@react-hive+honey-utils@5.1.0/node_modules/@react-hive/honey-utils/dist/index.mjs");
|
|
2084
1707
|
/* harmony import */ var _constants__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./constants */ "./src/constants.ts");
|
|
2085
1708
|
/* harmony import */ var _css__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./css */ "./src/css/index.ts");
|
|
2086
1709
|
|
|
@@ -2242,16 +1865,26 @@ module.exports = require("react");
|
|
|
2242
1865
|
|
|
2243
1866
|
/***/ },
|
|
2244
1867
|
|
|
2245
|
-
/***/ "
|
|
1868
|
+
/***/ "react/jsx-runtime"
|
|
1869
|
+
/*!************************************!*\
|
|
1870
|
+
!*** external "react/jsx-runtime" ***!
|
|
1871
|
+
\************************************/
|
|
1872
|
+
(module) {
|
|
1873
|
+
|
|
1874
|
+
module.exports = require("react/jsx-runtime");
|
|
1875
|
+
|
|
1876
|
+
/***/ },
|
|
1877
|
+
|
|
1878
|
+
/***/ "./node_modules/.pnpm/@react-hive+honey-css@1.21.0/node_modules/@react-hive/honey-css/dist/index.mjs"
|
|
2246
1879
|
/*!***********************************************************************************************************!*\
|
|
2247
|
-
!*** ./node_modules/.pnpm/@react-hive+honey-css@1.
|
|
1880
|
+
!*** ./node_modules/.pnpm/@react-hive+honey-css@1.21.0/node_modules/@react-hive/honey-css/dist/index.mjs ***!
|
|
2248
1881
|
\***********************************************************************************************************/
|
|
2249
1882
|
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
|
|
2250
1883
|
|
|
2251
1884
|
__webpack_require__.r(__webpack_exports__);
|
|
2252
1885
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
2253
1886
|
/* harmony export */ createCssTokenCursor: () => (/* binding */ r),
|
|
2254
|
-
/* harmony export */ flattenCssRules: () => (/* binding */
|
|
1887
|
+
/* harmony export */ flattenCssRules: () => (/* binding */ $),
|
|
2255
1888
|
/* harmony export */ parseCss: () => (/* binding */ d),
|
|
2256
1889
|
/* harmony export */ parseCssAtRule: () => (/* binding */ b),
|
|
2257
1890
|
/* harmony export */ parseCssBlock: () => (/* binding */ y),
|
|
@@ -2261,126 +1894,138 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
2261
1894
|
/* harmony export */ readCssKeyOrSelector: () => (/* binding */ s),
|
|
2262
1895
|
/* harmony export */ readCssSelector: () => (/* binding */ o),
|
|
2263
1896
|
/* harmony export */ resolveCssSelector: () => (/* binding */ a),
|
|
2264
|
-
/* harmony export */ stringifyCss: () => (/* binding */
|
|
1897
|
+
/* harmony export */ stringifyCss: () => (/* binding */ p),
|
|
2265
1898
|
/* harmony export */ tokenizeCss: () => (/* binding */ t)
|
|
2266
1899
|
/* harmony export */ });
|
|
2267
|
-
const e=e=>"{"===e||"}"===e||":"===e||";"===e||"@"===e||"("===e||'"'===e||"'"===e,t=t=>{const n=[];let r=0;const
|
|
1900
|
+
const e=e=>"{"===e||"}"===e||":"===e||";"===e||"@"===e||"("===e||'"'===e||"'"===e,t=t=>{const n=[];let r=0,o=!1;const s=()=>r>=t.length,c=()=>s()?void 0:t[r],i=()=>r+1>=t.length?void 0:t[r+1],a=()=>"/"===c()&&("/"===i()||"*"===i()),l=()=>{for(;;){const e=c();if(!e||!/\s/.test(e))return;o=!0,r++}},p=()=>{if("/"!==c()||"/"!==i())return!1;for(r+=2;!s();){if("\n"===c()){r++;break}r++}return!0},u=()=>{if("/"!==c()||"*"!==i())return!1;for(r+=2;!s();){if("*"===c()&&"/"===i())return r+=2,!0;r++}return!0},f=()=>{const e=c();if(!e)return"";r++;let t="";for(;!s();){const n=c();if(!n)break;if("\\"===n){t+=n,r++;const e=c();e&&(t+=e,r++);continue}if(n===e){r++;break}t+=n,r++}return t},y=()=>{let e=0,t="";for(;!s();){const n=c();if(!n)break;if("("===n?e++:")"===n&&e--,t+=n,r++,0===e)break}return t},b=()=>{let t="";for(;!s();){const n=c();if(!n)break;if(e(n)||a())break;t+=n,r++}return t},d=e=>"text"===e?.type||"params"===e?.type||"string"===e?.type,m=e=>{const t=d(e)||"colon"===e.type;o&&t&&d(n[n.length-1])&&(e.hasLeadingWhitespace=!0),o=!1,n.push(e)};for(;!s()&&(l(),!s());){if(p()||u()){o=!0;continue}const e=c();if(!e)break;if("{"===e){m({type:"braceOpen"}),r++;continue}if("}"===e){m({type:"braceClose"}),r++;continue}if(":"===e){m({type:"colon"}),r++;continue}if(";"===e){m({type:"semicolon"}),r++;continue}if("@"===e){m({type:"at"}),r++;continue}if("("===e){m({type:"params",value:y()});continue}if('"'===e||"'"===e){m({type:"string",value:f()});continue}const t=b(),n=t.trim();n?(m({type:"text",value:n}),t!==t.trimEnd()&&(o=!0)):r++}return n};function n(e,t){if(!e)throw new Error(t)}const r=e=>{let t=0;const r=()=>t>=e.length,o=()=>r()?void 0:e[t],s=()=>r()?void 0:e[t++];return{isEof:r,peek:o,next:s,mark:()=>t,reset:e=>{t=e},expect:e=>{const t=s();return n(t,`[@react-hive/honey-css]: Expected "${e}" but reached end of input.`),n(t.type===e,`[@react-hive/honey-css]: Expected "${e}" but got "${t.type}".`),t},readUntil:e=>{let t="";const n=e=>e.hasLeadingWhitespace&&t?" ":"";for(;!r();){const r=o();if(!r||e.includes(r.type))break;"text"===r.type?t+=`${n(r)}${r.value}`:"string"===r.type?t+=`${n(r)}"${r.value}"`:"params"===r.type&&(t+=`${n(r)}${r.value}`),s()}return t.trim()},skipUntil:e=>{for(;!r();){const t=o();if(!t||e.includes(t.type))break;s()}}}},o=e=>{const t=[],n=()=>t.join("").trim(),r=e=>e.hasLeadingWhitespace&&t.length?" ":"";for(;!e.isEof();){const o=e.peek();if(!o)break;switch(o.type){case"braceOpen":case"braceClose":default:return n();case"colon":t.push(`${r(o)}:`);break;case"text":case"params":t.push(`${r(o)}${o.value}`);break;case"string":t.push(`${r(o)}"${o.value}"`)}e.next()}return n()},s=e=>{const t=e.peek();if(!t)return"";if("colon"===t.type)return o(e);const n=e.mark(),r=o(e);return"braceOpen"===e.peek()?.type?r:(e.reset(n),e.readUntil(["colon","braceOpen","semicolon","braceClose","at"]))},c=(e,t)=>{e.expect("colon");const n=e.readUntil(["semicolon","braceClose"]);return"semicolon"===e.peek()?.type&&e.next(),{type:"declaration",prop:t,value:n}},i=(e,t)=>{let n=0,r=0,o=0,s=null,c=!1;for(let i=0;i<e.length;i++){const a=e.charCodeAt(i);if(c)c=!1;else if(92!==a)if(null===s)if(34!==a&&39!==a)if(40!==a)if(41!==a)if(91!==a)if(93!==a){if(44===a&&0===r&&0===o){const r=e.slice(n,i).trim();r&&t(r),n=i+1}}else o--;else o++;else r--;else r++;else s=a;else a===s&&(s=null);else c=!0}const i=e.slice(n).trim();i&&t(i)},a=(e,t)=>{const n=e.trim();if(!n)return"";const r=t.trim();if(!r)return n;const o=-1!==r.indexOf(","),s=-1!==n.indexOf(","),c=-1!==n.indexOf("&");if(!o&&!s)return c?n.replaceAll("&",r):`${r} ${n}`;const a=[];return i(r,e=>{i(n,t=>{t.includes("&")?a.push(t.replaceAll("&",e)):a.push(`${e} ${t}`)})}),a.join(", ")},l=e=>{switch(e.type){case"declaration":return(e=>{const t=e.value.trim();return t?`${e.prop}:${t};`:""})(e);case"rule":return(e=>{const t=e.body.map(l).join("");return t?`${e.selector}{${t}}`:""})(e);case"atRule":return(e=>{const t=e.params?` ${e.params}`:"";if(null===e.body)return`@${e.name}${t};`;const n=e.body.map(l).join("");return n?`@${e.name}${t}{${n}}`:""})(e);default:return""}},p=e=>e.body.map(l).filter(Boolean).join(""),u=(e,t)=>(e.expect("braceOpen"),{type:"rule",selector:t,body:y(e)}),f=(e,{stopAtBraceClose:t})=>{const n=[];for(;!e.isEof();){const r=e.peek();if(!r)break;if(t&&"braceClose"===r.type){e.next();break}if("semicolon"===r.type){e.next();continue}if("at"===r.type){n.push(b(e));continue}const o=s(e);o?"colon"!==e.peek()?.type?"braceOpen"!==e.peek()?.type?e.next():n.push(u(e,o)):n.push(c(e,o)):e.next()}return n},y=e=>f(e,{stopAtBraceClose:!0}),b=e=>{e.expect("at");const t=e.readUntil(["semicolon","braceOpen"]),{name:n,params:r}=(e=>{const t=e.trim();if(!t)return{name:"",params:void 0};let n=0;const r=t.length;for(;n<r;){const e=t[n];if(" "===e||"\t"===e||"\n"===e||"\r"===e||"\f"===e||"("===e)break;n++}const o=t.slice(0,n);for(;n<r;){const e=t[n];if(" "!==e&&"\t"!==e&&"\n"!==e&&"\r"!==e&&"\f"!==e)break;n++}return{name:o,params:t.slice(n)||void 0}})(t);let o=r;if("params"===e.peek()?.type){const t=e.expect("params").value;o=o?`${o}${t}`:t}return"braceOpen"===e.peek()?.type?{type:"atRule",name:n,params:o,body:y(e)}:("semicolon"===e.peek()?.type&&e.next(),{type:"atRule",name:n,params:o,body:null})},d=e=>{const n=t(e),o=r(n);return{type:"stylesheet",body:f(o,{stopAtBraceClose:!1})}},m={media:!0,supports:!0,container:!0,layer:!0},h=(e,t)=>{const n=t?a(e.selector,t):e.selector;return k(e.body,n)},k=(e,t)=>{const n=[],r=[],o=()=>{t&&0!==r.length&&(n.push({type:"rule",selector:t,body:r.slice()}),r.length=0)};for(let s=0;s<e.length;s++){const c=e[s];if("declaration"!==c.type)if("rule"!==c.type)if("atRule"!==c.type)o(),n.push(c);else{if(o(),!m[c.name]){n.push(c);continue}n.push({...c,body:c.body&&c.body.length>0?k(c.body,t):c.body})}else o(),n.push(...h(c,t));else r.push(c)}return o(),n},$=e=>({...e,body:k(e.body)});
|
|
2268
1901
|
//# sourceMappingURL=index.mjs.map
|
|
2269
1902
|
|
|
2270
1903
|
/***/ },
|
|
2271
1904
|
|
|
2272
|
-
/***/ "./node_modules/.pnpm/@react-hive+honey-utils@
|
|
1905
|
+
/***/ "./node_modules/.pnpm/@react-hive+honey-utils@5.1.0/node_modules/@react-hive/honey-utils/dist/index.mjs"
|
|
2273
1906
|
/*!**************************************************************************************************************!*\
|
|
2274
|
-
!*** ./node_modules/.pnpm/@react-hive+honey-utils@
|
|
1907
|
+
!*** ./node_modules/.pnpm/@react-hive+honey-utils@5.1.0/node_modules/@react-hive/honey-utils/dist/index.mjs ***!
|
|
2275
1908
|
\**************************************************************************************************************/
|
|
2276
1909
|
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
|
|
2277
1910
|
|
|
2278
1911
|
__webpack_require__.r(__webpack_exports__);
|
|
2279
1912
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
2280
|
-
/* harmony export */ DATA_TRANSFER_JSON_MIME: () => (/* binding */
|
|
2281
|
-
/* harmony export */ FOCUSABLE_HTML_TAGS: () => (/* binding */
|
|
2282
|
-
/* harmony export */ applyInertiaStep: () => (/* binding */
|
|
1913
|
+
/* harmony export */ DATA_TRANSFER_JSON_MIME: () => (/* binding */ at),
|
|
1914
|
+
/* harmony export */ FOCUSABLE_HTML_TAGS: () => (/* binding */ l),
|
|
1915
|
+
/* harmony export */ applyInertiaStep: () => (/* binding */ $t),
|
|
2283
1916
|
/* harmony export */ assert: () => (/* binding */ d),
|
|
2284
|
-
/* harmony export */ blobToFile: () => (/* binding */
|
|
2285
|
-
/* harmony export */ calculateCenterOffset: () => (/* binding */
|
|
1917
|
+
/* harmony export */ blobToFile: () => (/* binding */ vt),
|
|
1918
|
+
/* harmony export */ calculateCenterOffset: () => (/* binding */ pt),
|
|
2286
1919
|
/* harmony export */ calculateEuclideanDistance: () => (/* binding */ kt),
|
|
2287
|
-
/* harmony export */ calculateMovingSpeed: () => (/* binding */
|
|
2288
|
-
/* harmony export */ calculatePercentage: () => (/* binding */
|
|
2289
|
-
/* harmony export */ camelToDashCase: () => (/* binding */
|
|
2290
|
-
/* harmony export */ camelToWords: () => (/* binding */
|
|
2291
|
-
/* harmony export */ centerElementInContainer: () => (/* binding */
|
|
2292
|
-
/* harmony export */ chunk: () => (/* binding */
|
|
2293
|
-
/* harmony export */
|
|
1920
|
+
/* harmony export */ calculateMovingSpeed: () => (/* binding */ Bt),
|
|
1921
|
+
/* harmony export */ calculatePercentage: () => (/* binding */ Xt),
|
|
1922
|
+
/* harmony export */ camelToDashCase: () => (/* binding */ zt),
|
|
1923
|
+
/* harmony export */ camelToWords: () => (/* binding */ Ft),
|
|
1924
|
+
/* harmony export */ centerElementInContainer: () => (/* binding */ gt),
|
|
1925
|
+
/* harmony export */ chunk: () => (/* binding */ k),
|
|
1926
|
+
/* harmony export */ clamp: () => (/* binding */ Rt),
|
|
1927
|
+
/* harmony export */ clampOffsetToOverflow: () => (/* binding */ yt),
|
|
2294
1928
|
/* harmony export */ cloneBlob: () => (/* binding */ t),
|
|
2295
1929
|
/* harmony export */ compact: () => (/* binding */ X),
|
|
2296
|
-
/* harmony export */ compose: () => (/* binding */
|
|
2297
|
-
/* harmony export */ decodeBase64: () => (/* binding */
|
|
2298
|
-
/* harmony export */
|
|
2299
|
-
/* harmony export */
|
|
2300
|
-
/* harmony export */
|
|
2301
|
-
/* harmony export */
|
|
2302
|
-
/* harmony export */
|
|
2303
|
-
/* harmony export */
|
|
2304
|
-
/* harmony export */
|
|
2305
|
-
/* harmony export */
|
|
2306
|
-
/* harmony export */
|
|
2307
|
-
/* harmony export */
|
|
2308
|
-
/* harmony export */
|
|
2309
|
-
/* harmony export */
|
|
2310
|
-
/* harmony export */
|
|
2311
|
-
/* harmony export */
|
|
2312
|
-
/* harmony export */
|
|
2313
|
-
/* harmony export */
|
|
2314
|
-
/* harmony export */
|
|
1930
|
+
/* harmony export */ compose: () => (/* binding */ u),
|
|
1931
|
+
/* harmony export */ decodeBase64: () => (/* binding */ ne),
|
|
1932
|
+
/* harmony export */ decodeBase64Bytes: () => (/* binding */ ee),
|
|
1933
|
+
/* harmony export */ decodeBase64Json: () => (/* binding */ re),
|
|
1934
|
+
/* harmony export */ definedProps: () => (/* binding */ Ut),
|
|
1935
|
+
/* harmony export */ delay: () => (/* binding */ et),
|
|
1936
|
+
/* harmony export */ difference: () => (/* binding */ c),
|
|
1937
|
+
/* harmony export */ downloadFile: () => (/* binding */ ut),
|
|
1938
|
+
/* harmony export */ encodeBase64: () => (/* binding */ ae),
|
|
1939
|
+
/* harmony export */ encodeBase64Bytes: () => (/* binding */ le),
|
|
1940
|
+
/* harmony export */ encodeBase64Json: () => (/* binding */ oe),
|
|
1941
|
+
/* harmony export */ everyAsync: () => (/* binding */ q),
|
|
1942
|
+
/* harmony export */ fileListToFiles: () => (/* binding */ Mt),
|
|
1943
|
+
/* harmony export */ filterParallel: () => (/* binding */ G),
|
|
1944
|
+
/* harmony export */ filterSequential: () => (/* binding */ Z),
|
|
1945
|
+
/* harmony export */ findAsync: () => (/* binding */ tt),
|
|
1946
|
+
/* harmony export */ findCharIndices: () => (/* binding */ Ht),
|
|
1947
|
+
/* harmony export */ flattenTree: () => (/* binding */ Gt),
|
|
1948
|
+
/* harmony export */ forEachChar: () => (/* binding */ Jt),
|
|
1949
|
+
/* harmony export */ generateEphemeralId: () => (/* binding */ Tt),
|
|
1950
|
+
/* harmony export */ getAdjacentItems: () => (/* binding */ U),
|
|
1951
|
+
/* harmony export */ getDOMRectIntersectionRatio: () => (/* binding */ Nt),
|
|
1952
|
+
/* harmony export */ getDataTransferJson: () => (/* binding */ it),
|
|
2315
1953
|
/* harmony export */ getElementOffsetRect: () => (/* binding */ e),
|
|
2316
|
-
/* harmony export */ getFocusableHtmlElements: () => (/* binding */
|
|
2317
|
-
/* harmony export */ getLocalStorageCapabilities: () => (/* binding */
|
|
2318
|
-
/* harmony export */ getTreeChildren: () => (/* binding */
|
|
2319
|
-
/* harmony export */ getWordsInitials: () => (/* binding */
|
|
2320
|
-
/* harmony export */ getXOverflowWidth: () => (/* binding */
|
|
2321
|
-
/* harmony export */ getYOverflowHeight: () => (/* binding */
|
|
2322
|
-
/* harmony export */
|
|
2323
|
-
/* harmony export */
|
|
2324
|
-
/* harmony export */
|
|
2325
|
-
/* harmony export */
|
|
2326
|
-
/* harmony export */
|
|
2327
|
-
/* harmony export */
|
|
1954
|
+
/* harmony export */ getFocusableHtmlElements: () => (/* binding */ o),
|
|
1955
|
+
/* harmony export */ getLocalStorageCapabilities: () => (/* binding */ xt),
|
|
1956
|
+
/* harmony export */ getTreeChildren: () => (/* binding */ Kt),
|
|
1957
|
+
/* harmony export */ getWordsInitials: () => (/* binding */ Vt),
|
|
1958
|
+
/* harmony export */ getXOverflowWidth: () => (/* binding */ ht),
|
|
1959
|
+
/* harmony export */ getYOverflowHeight: () => (/* binding */ mt),
|
|
1960
|
+
/* harmony export */ hasUniqueValues: () => (/* binding */ B),
|
|
1961
|
+
/* harmony export */ hasXOverflow: () => (/* binding */ ft),
|
|
1962
|
+
/* harmony export */ hasYOverflow: () => (/* binding */ dt),
|
|
1963
|
+
/* harmony export */ hashString: () => (/* binding */ _t),
|
|
1964
|
+
/* harmony export */ hexWithAlpha: () => (/* binding */ Qt),
|
|
1965
|
+
/* harmony export */ intersection: () => (/* binding */ h),
|
|
1966
|
+
/* harmony export */ invokeIfFunction: () => (/* binding */ Et),
|
|
2328
1967
|
/* harmony export */ isAnchorHtmlElement: () => (/* binding */ n),
|
|
2329
1968
|
/* harmony export */ isArray: () => (/* binding */ _),
|
|
2330
1969
|
/* harmony export */ isBlob: () => (/* binding */ I),
|
|
2331
1970
|
/* harmony export */ isBool: () => (/* binding */ b),
|
|
2332
1971
|
/* harmony export */ isContentEditableHtmlElement: () => (/* binding */ r),
|
|
2333
|
-
/* harmony export */ isDate: () => (/* binding */
|
|
2334
|
-
/* harmony export */ isDecimal: () => (/* binding */
|
|
2335
|
-
/* harmony export */ isDefined: () => (/* binding */
|
|
2336
|
-
/* harmony export */ isEmptyArray: () => (/* binding */
|
|
2337
|
-
/* harmony export */ isEmptyObject: () => (/* binding */
|
|
1972
|
+
/* harmony export */ isDate: () => (/* binding */ A),
|
|
1973
|
+
/* harmony export */ isDecimal: () => (/* binding */ N),
|
|
1974
|
+
/* harmony export */ isDefined: () => (/* binding */ y),
|
|
1975
|
+
/* harmony export */ isEmptyArray: () => (/* binding */ R),
|
|
1976
|
+
/* harmony export */ isEmptyObject: () => (/* binding */ S),
|
|
1977
|
+
/* harmony export */ isEnumValue: () => (/* binding */ P),
|
|
2338
1978
|
/* harmony export */ isError: () => (/* binding */ M),
|
|
2339
|
-
/* harmony export */ isFile: () => (/* binding */
|
|
1979
|
+
/* harmony export */ isFile: () => (/* binding */ It),
|
|
2340
1980
|
/* harmony export */ isFiniteNumber: () => (/* binding */ $),
|
|
2341
|
-
/* harmony export */ isFunction: () => (/* binding */
|
|
2342
|
-
/* harmony export */ isHtmlElementFocusable: () => (/* binding */
|
|
2343
|
-
/* harmony export */ isInteger: () => (/* binding */
|
|
2344
|
-
/* harmony export */ isLocalStorageReadable: () => (/* binding */
|
|
2345
|
-
/* harmony export */ isMap: () => (/* binding */
|
|
1981
|
+
/* harmony export */ isFunction: () => (/* binding */ j),
|
|
1982
|
+
/* harmony export */ isHtmlElementFocusable: () => (/* binding */ a),
|
|
1983
|
+
/* harmony export */ isInteger: () => (/* binding */ T),
|
|
1984
|
+
/* harmony export */ isLocalStorageReadable: () => (/* binding */ bt),
|
|
1985
|
+
/* harmony export */ isMap: () => (/* binding */ L),
|
|
2346
1986
|
/* harmony export */ isNil: () => (/* binding */ p),
|
|
2347
|
-
/* harmony export */ isNilOrEmptyString: () => (/* binding */
|
|
1987
|
+
/* harmony export */ isNilOrEmptyString: () => (/* binding */ Dt),
|
|
2348
1988
|
/* harmony export */ isNull: () => (/* binding */ m),
|
|
2349
1989
|
/* harmony export */ isNumber: () => (/* binding */ w),
|
|
2350
1990
|
/* harmony export */ isObject: () => (/* binding */ x),
|
|
2351
|
-
/* harmony export */ isPromise: () => (/* binding */
|
|
1991
|
+
/* harmony export */ isPromise: () => (/* binding */ H),
|
|
2352
1992
|
/* harmony export */ isRegExp: () => (/* binding */ C),
|
|
2353
1993
|
/* harmony export */ isSet: () => (/* binding */ E),
|
|
2354
|
-
/* harmony export */ isString: () => (/* binding */
|
|
1994
|
+
/* harmony export */ isString: () => (/* binding */ st),
|
|
2355
1995
|
/* harmony export */ isSymbol: () => (/* binding */ O),
|
|
2356
|
-
/* harmony export */ isUndefined: () => (/* binding */
|
|
1996
|
+
/* harmony export */ isUndefined: () => (/* binding */ g),
|
|
2357
1997
|
/* harmony export */ isValidDate: () => (/* binding */ v),
|
|
2358
|
-
/* harmony export */ moveFocusWithinContainer: () => (/* binding */
|
|
2359
|
-
/* harmony export */ noop: () => (/* binding */
|
|
2360
|
-
/* harmony export */ not: () => (/* binding */
|
|
2361
|
-
/* harmony export */ once: () => (/* binding */
|
|
2362
|
-
/* harmony export */ parse2DMatrix: () => (/* binding */
|
|
2363
|
-
/* harmony export */ parseFileName: () => (/* binding */
|
|
2364
|
-
/* harmony export */ parseJson: () => (/* binding */
|
|
1998
|
+
/* harmony export */ moveFocusWithinContainer: () => (/* binding */ i),
|
|
1999
|
+
/* harmony export */ noop: () => (/* binding */ F),
|
|
2000
|
+
/* harmony export */ not: () => (/* binding */ D),
|
|
2001
|
+
/* harmony export */ once: () => (/* binding */ W),
|
|
2002
|
+
/* harmony export */ parse2DMatrix: () => (/* binding */ wt),
|
|
2003
|
+
/* harmony export */ parseFileName: () => (/* binding */ Wt),
|
|
2004
|
+
/* harmony export */ parseJson: () => (/* binding */ lt),
|
|
2365
2005
|
/* harmony export */ pipe: () => (/* binding */ s),
|
|
2366
|
-
/* harmony export */ readFilesFromDataTransfer: () => (/* binding */
|
|
2367
|
-
/* harmony export */
|
|
2368
|
-
/* harmony export */
|
|
2369
|
-
/* harmony export */
|
|
2370
|
-
/* harmony export */
|
|
2371
|
-
/* harmony export */
|
|
2372
|
-
/* harmony export */
|
|
2373
|
-
/* harmony export */
|
|
2374
|
-
/* harmony export */
|
|
2375
|
-
/* harmony export */
|
|
2376
|
-
/* harmony export */
|
|
2377
|
-
/* harmony export */
|
|
2378
|
-
/* harmony export */
|
|
2379
|
-
/* harmony export */
|
|
2380
|
-
/* harmony export */
|
|
2381
|
-
/* harmony export */
|
|
2006
|
+
/* harmony export */ readFilesFromDataTransfer: () => (/* binding */ Lt),
|
|
2007
|
+
/* harmony export */ readLocalStorageJson: () => (/* binding */ St),
|
|
2008
|
+
/* harmony export */ reduceAsync: () => (/* binding */ Q),
|
|
2009
|
+
/* harmony export */ replaceHistorySearchParams: () => (/* binding */ ct),
|
|
2010
|
+
/* harmony export */ resolveAxisDelta: () => (/* binding */ Pt),
|
|
2011
|
+
/* harmony export */ resolveBoundedDelta: () => (/* binding */ Ot),
|
|
2012
|
+
/* harmony export */ retry: () => (/* binding */ rt),
|
|
2013
|
+
/* harmony export */ runParallel: () => (/* binding */ V),
|
|
2014
|
+
/* harmony export */ runSequential: () => (/* binding */ J),
|
|
2015
|
+
/* harmony export */ searchTree: () => (/* binding */ qt),
|
|
2016
|
+
/* harmony export */ setDataTransferJson: () => (/* binding */ ot),
|
|
2017
|
+
/* harmony export */ someAsync: () => (/* binding */ K),
|
|
2018
|
+
/* harmony export */ splitMapJoin: () => (/* binding */ Zt),
|
|
2019
|
+
/* harmony export */ splitStringIntoWords: () => (/* binding */ jt),
|
|
2020
|
+
/* harmony export */ timeout: () => (/* binding */ nt),
|
|
2021
|
+
/* harmony export */ toKebabCase: () => (/* binding */ Yt),
|
|
2022
|
+
/* harmony export */ toMapBy: () => (/* binding */ z),
|
|
2023
|
+
/* harmony export */ toggleArrayItem: () => (/* binding */ Y),
|
|
2024
|
+
/* harmony export */ traverseFileSystemDirectory: () => (/* binding */ Ct),
|
|
2025
|
+
/* harmony export */ unique: () => (/* binding */ f),
|
|
2026
|
+
/* harmony export */ writeLocalStorageJson: () => (/* binding */ At)
|
|
2382
2027
|
/* harmony export */ });
|
|
2383
|
-
const t=t=>new Blob([t],{type:t.type}),e=t=>new DOMRect(t.offsetLeft,t.offsetTop,t.clientWidth,t.clientHeight),n=t=>"A"===t.tagName,r=t=>"true"===t.getAttribute("contenteditable"),a=["INPUT","SELECT","TEXTAREA","BUTTON","A"],l=t=>{if(!t)return!1;const e=window.getComputedStyle(t);if("hidden"===e.visibility||"none"===e.display)return!1;if("disabled"in t&&t.disabled)return!1;const l=t.getAttribute("tabindex");return"-1"!==l&&(a.includes(t.tagName)?!n(t)||""!==t.href:!!r(t)||null!==l)},i=t=>Array.from(t.querySelectorAll("*")).filter(l),o=(t,e=null,{wrap:n=!0,getNextIndex:r}={})=>{const a=document.activeElement,l=e??a?.parentElement;if(!a||!l)return;const o=i(l);if(0===o.length)return;const s=o.indexOf(a);if(-1===s)return;let c;r?c=r(s,t,o):"next"===t?(c=s+1,c>=o.length&&(c=n?0:null)):(c=s-1,c<0&&(c=n?o.length-1:null)),null!==c&&o[c]?.focus()},s=(...t)=>e=>t.reduce((t,e)=>e(t),e),c=(...t)=>e=>t.reduceRight((t,e)=>e(t),e),u=(t,e)=>t.filter(t=>!e.includes(t)),h=t=>[...new Set(t)],f=(...t)=>{if(0===t.length)return[];if(1===t.length)return[...t[0]];const[e,...n]=t;return h(e).filter(t=>n.every(e=>e.includes(t)))};function d(t,e){if(!t)throw new Error(e)}const m=t=>null===t,p=t=>null==t,g=t=>null!=t,y=t=>void 0===t,w=t=>"number"==typeof t,b=t=>"boolean"==typeof t,x=t=>"object"==typeof t,A=t=>x(t)&&!m(t)&&0===Object.keys(t).length,S=t=>t instanceof Date,I=t=>t instanceof Blob,M=t=>t instanceof Error,v=t=>S(t)&&!isNaN(t.getTime()),C=t=>t instanceof RegExp,k=t=>t instanceof Map,E=t=>t instanceof Set,O=t=>"symbol"==typeof t,$=t=>w(t)&&isFinite(t),L=t=>w(t)&&Number.isInteger(t),P=t=>$(t)&&!Number.isInteger(t),T=(t,e)=>(d(e>0,"Chunk size must be greater than 0"),Array.from({length:Math.ceil(t.length/e)},(n,r)=>t.slice(r*e,(r+1)*e))),X=t=>t.filter(Boolean),_=t=>Array.isArray(t),z=t=>_(t)&&0===t.length,N=(t,e,n)=>{if(!t?.length||!e)return{previousItem:null,currentItem:null,nextItem:null};const r=t.findIndex(t=>n(t,e));return-1===r?{previousItem:null,currentItem:null,nextItem:null}:{previousItem:r>0?t[r-1]:null,currentItem:t[r],nextItem:r<t.length-1?t[r+1]:null}},R=()=>{},Y=t=>"function"==typeof t,j=t=>(...e)=>!t(...e),F=t=>{let e,n=!1;return function(...r){return n||(n=!0,e=t.apply(this,r)),e}},U=t=>Y(t?.then),W=async(t,e)=>{const n=[];for(let r=0;r<t.length;r++)n.push(await e(t[r],r,t));return n},B=async(t,e)=>Promise.all(t.map(e)),D=async(t,e)=>{const n=[];for(let r=0;r<t.length;r++){const a=t[r];await e(a,r,t)&&n.push(a)}return n},H=async(t,e)=>{const n=await B(t,async(t,n,r)=>!!await e(t,n,r)&&t);return X(n)},Z=async(t,e)=>{for(let n=0;n<t.length;n++)if(await e(t[n],n,t))return!0;return!1},V=async(t,e)=>{for(let n=0;n<t.length;n++)if(!await e(t[n],n,t))return!1;return!0},G=async(t,e,n)=>{let r=n;for(let n=0;n<t.length;n++)r=await e(r,t[n],n,t);return r},J=async(t,e)=>{for(let n=0;n<t.length;n++)if(await e(t[n],n,t))return t[n];return null},q=t=>new Promise(e=>setTimeout(e,t)),K=async(t,e,n="Operation timed out")=>{try{return await Promise.race([t,q(e).then(()=>Promise.reject(new Error(n)))])}finally{}},Q=(t,{maxAttempts:e=3,delayMs:n=300,backoff:r=!0,onRetry:a}={})=>async(...l)=>{let i;for(let o=1;o<=e;o++)try{return await t(...l)}catch(t){if(i=t,o<e){a?.(o,t);const e=r?n*2**(o-1):n;await q(e)}}throw i},tt=t=>{try{return JSON.parse(t)}catch{return null}},et="application/json",nt=(t,e)=>{t.setData(et,JSON.stringify(e))},rt=t=>{const e=t.getData(et);return e?tt(e):null},at=t=>"string"==typeof t,lt=(t,{fileName:e,target:n}={})=>{if(y(document))return;const r=document.createElement("a");let a=null;try{const l=at(t)?t:a=URL.createObjectURL(t);r.href=l,e&&(r.download=e),n&&(r.target=n),document.body.appendChild(r),r.click()}finally{r.remove(),a&&setTimeout(()=>{d(a,"Object URL should not be null"),URL.revokeObjectURL(a)},0)}},it=t=>t.scrollWidth>t.clientWidth,ot=t=>Math.max(0,t.scrollWidth-t.clientWidth),st=t=>t.scrollHeight>t.clientHeight,ct=t=>Math.max(0,t.scrollHeight-t.clientHeight),ut=({containerSize:t,elementOffset:e,elementSize:n})=>-(e+n/2-t/2),ht=(t,e)=>e<=0?0:Math.max(-e,Math.min(t,0)),ft=(t,e,{axis:n="both",shouldClamp:r=!0}={})=>{let a=0,l=0;if("x"===n||"both"===n){const n=ut({containerSize:t.clientWidth,elementOffset:e.offsetLeft,elementSize:e.clientWidth});a=r?ht(n,ot(t)):n}if("y"===n||"both"===n){const n=ut({containerSize:t.clientHeight,elementOffset:e.offsetTop,elementSize:e.clientHeight});l=r?ht(n,ct(t)):n}t.style.transform=`translate(${a}px, ${l}px)`},dt=t=>{const e=window.getComputedStyle(t).getPropertyValue("transform").match(/^matrix\((.+)\)$/);if(!e)return{translateX:0,translateY:0,scaleX:1,scaleY:1,skewX:0,skewY:0};const[n,r,a,l,i,o]=e[1].split(", ").map(parseFloat);return{translateX:i,translateY:o,scaleX:n,scaleY:l,skewX:a,skewY:r}},mt=()=>{if("undefined"==typeof window||!window.localStorage)return!1;try{return window.localStorage.getItem("__non_existing_key__"),!0}catch{return!1}},pt=()=>{if(!mt())return{readable:!1,writable:!1};try{const t="__test_write__";return window.localStorage.setItem(t,"1"),window.localStorage.removeItem(t),{readable:!0,writable:!0}}catch{}return{readable:!0,writable:!1}},gt=t=>t instanceof File,yt=t=>{if(!t)return[];const e=[];for(let n=0;n<t.length;n++)e.push(t[n]);return e},wt=(t,e)=>new File([t],e,{type:t.type}),bt=async(t,{skipFiles:e=[".DS_Store","Thumbs.db","desktop.ini","ehthumbs.db",".Spotlight-V100",".Trashes",".fseventsd","__MACOSX"]}={})=>{const n=new Set(e),r=await(async t=>{const e=t.createReader(),n=async()=>new Promise((t,r)=>{e.readEntries(async e=>{if(e.length)try{const r=await n();t([...e,...r])}catch(t){r(t)}else t([])},r)});return n()})(t);return(await B(r,async t=>t.isDirectory?bt(t,{skipFiles:e}):n.has(t.name)?[]:[await new Promise((e,n)=>{t.file(e,n)})])).flat()},xt=async(t,e={})=>{const n=t?.items;if(!n)return[];const r=[];for(let t=0;t<n.length;t++){const a=n[t];if("webkitGetAsEntry"in a){const t=a.webkitGetAsEntry?.();if(t?.isDirectory){r.push(bt(t,e));continue}if(t?.isFile){r.push(new Promise((e,n)=>t.file(t=>e([t]),n)));continue}}const l=a.getAsFile();l&&r.push(Promise.resolve([l]))}return(await Promise.all(r)).flat()},At=(t,...e)=>"function"==typeof t?t(...e):t,St=({delta:t,value:e,min:n,max:r})=>{if(0===t)return null;const a=e+t;return t<0?e<=n?null:Math.max(a,n):t>0?e>=r?null:Math.min(a,r):null},It=({value:t,min:e,max:n,velocityPxMs:r,deltaTimeMs:a,friction:l=.002,minVelocityPxMs:i=.01,emaAlpha:o=.2})=>{if(Math.abs(r)<i)return null;const s=St({delta:r*a,value:t,min:e,max:n});if(null===s)return null;const c=r*Math.exp(-l*a),u=o>0?r*(1-o)+c*o:c;return Math.abs(u)<i?null:{value:s,velocityPxMs:u}},Mt=()=>`${Math.floor(1e3*performance.now()).toString(36)}${Math.random().toString(36).slice(2,10)}`,vt=(t,e)=>Math.max(0,Math.min(t.right,e.right)-Math.max(t.left,e.left))*Math.max(0,Math.min(t.bottom,e.bottom)-Math.max(t.top,e.top))/(e.width*e.height),Ct=(t,e,{allowFallback:n=!0,invert:r=!0}={})=>{const a=r?-1:1;switch(e){case"x":return{deltaX:a*(0!==t.deltaX?t.deltaX:n?t.deltaY:0),deltaY:0};case"y":return{deltaX:0,deltaY:a*t.deltaY};default:return{deltaX:a*t.deltaX,deltaY:a*t.deltaY}}},kt=(t,e,n,r)=>{const a=n-t,l=r-e;return Math.hypot(a,l)},Et=(t,e)=>Math.abs(t/e),Ot=(t,e)=>t*e/100,$t=t=>{let e=5381;for(let n=0;n<t.length;n++)e=33*e^t.charCodeAt(n);return(e>>>0).toString(36)},Lt=t=>Object.entries(t).reduce((t,[e,n])=>(void 0!==n&&(t[e]=n),t),{}),Pt=t=>t.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),Tt=t=>{const e=t.charAt(0),n=t.slice(1);return e.toLowerCase()+n.replace(/[A-Z]/g,t=>`-${t.toLowerCase()}`)},Xt=t=>t.replace(/([a-z0-9])([A-Z])/g,"$1 $2"),_t=t=>0===t.length?[]:t.split(" ").filter(Boolean),zt=t=>""===t||p(t),Nt=t=>{const e=t.lastIndexOf(".");return e<=0||e===t.length-1?[t,""]:[t.slice(0,e),t.slice(e+1).toLowerCase()]},Rt=(t,e)=>{if(0===t.length)return[];const n=e.charCodeAt(0),r=[];for(let e=0;e<t.length;e++)t.charCodeAt(e)===n&&r.push(e);return r},Yt=(t,e,n)=>{if(0===t.length)return;const r=t.length;for(let a=0;a<r;a++){const l=t[a],i={charIndex:a,prevChar:a>0?t[a-1]:null,nextChar:a<r-1?t[a+1]:null};n?.(l,i)||e(l,i)}},jt=(t,e=1/0)=>0===t.length?"":_t(t).slice(0,e).map(t=>t[0]).join("").toUpperCase(),Ft=(t,e,n,r=e)=>t.split(e).map((t,e)=>n(t.trim(),e)).join(r),Ut=(t,e,n,r=[],a=void 0,l=0)=>(t?.forEach(t=>{const{[n]:i,...o}=t,s=t[n],c=Array.isArray(s);if(r.push({...o,parentId:a,depthLevel:l,childCount:c?s.length:0}),c){const a=t[e];Ut(s,e,n,r,a,l+1)}}),r),Wt=(t,e,n)=>t.filter(t=>t.parentId===e&&(!n||n(t))),Bt=(t,e,n,r)=>{const a=_t(r.toLowerCase());if(!a.length)return t;const l=t.reduce((t,n,r)=>(t[n[e]]=r,t),{});return t.reduce((r,i)=>{const o=i[n];if(!o)return r;if(r.some(t=>t[e]===i[e]))return r;const s=_t(o.toLowerCase());if(a.every(t=>s.some(e=>e.startsWith(t))))if(y(i.parentId)){r.push(i);const n=a=>{a.childCount&&t.forEach(t=>{t.parentId===a[e]&&(r.push(t),n(t))})};n(i)}else{const e=n=>{const a=l[n.parentId],i=t[a];y(i.parentId)||e(i);const o=r.length?r[r.length-1].parentId:null;(m(o)||o!==n.parentId)&&(d(i,"[@react-hive/honey-utils]: Parent node was not found."),r.push(i))};e(i),r.push(i)}return r},[])},Dt=(t,e)=>{d(e>=0&&e<=1,`[@react-hive/honey-utils]: Alpha "${e}" must be a number between 0 and 1.`);const n=t.match(/^#?([0-9A-Fa-f]{3}|[0-9A-Fa-f]{6})$/);d(n,`[@react-hive/honey-utils]: Invalid hex format: ${t}`);const r=n[1];return`#${(3===r.length?r[0]+r[0]+r[1]+r[1]+r[2]+r[2]:r)+Math.round(255*e).toString(16).toUpperCase().padStart(2,"0")}`},Ht=/^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$/,Zt=t=>{try{return Ht.test(t)?"undefined"!=typeof Buffer?Buffer.from(t,"base64").toString("utf-8"):decodeURIComponent(atob(t).split("").map(t=>`%${t.charCodeAt(0).toString(16).padStart(2,"0")}`).join("")):null}catch{return null}},Vt=t=>{const e=Zt(t);return null===e?null:tt(e)};
|
|
2028
|
+
const t=t=>new Blob([t],{type:t.type}),e=t=>new DOMRect(t.offsetLeft,t.offsetTop,t.clientWidth,t.clientHeight),n=t=>"A"===t.tagName,r=t=>{const e=t.getAttribute("contenteditable");return null!==e&&["","true","plaintext-only"].includes(e.toLowerCase())},l=["INPUT","SELECT","TEXTAREA","BUTTON","A"],a=t=>{if(!t)return!1;if("hidden"===window.getComputedStyle(t).visibility)return!1;for(let e=t;e;e=e.parentElement)if("none"===window.getComputedStyle(e).display)return!1;if(t.matches(":disabled"))return!1;const e=(t=>{const e=null===t?null:/^\s*([+-]?\d+)/.exec(t);return e?parseInt(e[1],10):null})(t.getAttribute("tabindex"));return null!==e?e>=0:l.includes(t.tagName)?!n(t)||""!==t.href:r(t)},o=t=>Array.from(t.querySelectorAll("*")).filter(a),i=(t,e=null,{wrap:n=!0,getNextIndex:r}={})=>{const l=document.activeElement,a=e??l?.parentElement;if(!l||!a)return;const i=o(a);if(0===i.length)return;const s=i.indexOf(l);if(-1===s)return;let u;r?u=r(s,t,i):"next"===t?(u=s+1,u>=i.length&&(u=n?0:null)):(u=s-1,u<0&&(u=n?i.length-1:null)),null!==u&&i[u]?.focus()},s=(...t)=>e=>t.reduce((t,e)=>e(t),e),u=(...t)=>e=>t.reduceRight((t,e)=>e(t),e),c=(t,e)=>t.filter(t=>!e.includes(t)),f=t=>[...new Set(t)],h=(...t)=>{if(0===t.length)return[];const[e,...n]=t;return f(e).filter(t=>n.every(e=>e.includes(t)))};function d(t,e){if(!t)throw new Error(e)}const m=t=>null===t,p=t=>null==t,y=t=>null!=t,g=t=>void 0===t,w=t=>"number"==typeof t,b=t=>"boolean"==typeof t,x=t=>"object"==typeof t&&null!==t,S=t=>x(t)&&Reflect.ownKeys(t).every(e=>!Object.prototype.propertyIsEnumerable.call(t,e)),A=t=>t instanceof Date,I=t=>t instanceof Blob,M=t=>t instanceof Error,v=t=>A(t)&&!isNaN(t.getTime()),C=t=>t instanceof RegExp,L=t=>t instanceof Map,E=t=>t instanceof Set,O=t=>"symbol"==typeof t,$=t=>w(t)&&isFinite(t),T=t=>w(t)&&Number.isInteger(t),N=t=>$(t)&&!Number.isInteger(t),P=(t,e)=>Object.values(t).includes(e),k=(t,e)=>(d(Number.isInteger(e)&&e>0,"Chunk size must be a positive whole number"),Array.from({length:Math.ceil(t.length/e)},(n,r)=>t.slice(r*e,(r+1)*e))),B=t=>new Set(t).size===t.length,X=t=>t.filter(Boolean),_=t=>Array.isArray(t),R=t=>_(t)&&0===t.length,U=(t,e,n)=>{if(!t?.length||!e)return{previousItem:null,currentItem:null,nextItem:null};const r=t.findIndex(t=>n(t,e));return-1===r?{previousItem:null,currentItem:null,nextItem:null}:{previousItem:r>0?t[r-1]:null,currentItem:t[r],nextItem:r<t.length-1?t[r+1]:null}},Y=(t,e,n)=>{const r=t.includes(e);return r===(n??!r)?t:r?c(t,[e]):[...t,e]};function z(t,e,n){const r=new Map;return t.forEach((t,l)=>{r.set(e(t,l),n?n(t,l):t)}),r}const F=()=>{},j=t=>"function"==typeof t,D=t=>(...e)=>!t(...e),W=t=>{let e,n,r=!1,l=!1;return function(...a){if(!r){r=!0;try{e=t.apply(this,a)}catch(t){l=!0,n=t}}if(l)throw n;return e}},H=t=>j(t?.then),J=async(t,e)=>{const n=[];for(let r=0;r<t.length;r++)n.push(await e(t[r],r,t));return n},V=async(t,e)=>Promise.all(t.map(e)),Z=async(t,e)=>{const n=[];for(let r=0;r<t.length;r++){const l=t[r];await e(l,r,t)&&n.push(l)}return n},G=async(t,e)=>{const n=await V(t,e);return t.filter((t,e)=>n[e])},K=async(t,e)=>{for(let n=0;n<t.length;n++)if(await e(t[n],n,t))return!0;return!1},q=async(t,e)=>{for(let n=0;n<t.length;n++)if(!await e(t[n],n,t))return!1;return!0},Q=async(t,e,n)=>{let r=n;for(let n=0;n<t.length;n++)r=await e(r,t[n],n,t);return r},tt=async(t,e)=>{for(let n=0;n<t.length;n++)if(await e(t[n],n,t))return t[n];return null},et=t=>new Promise(e=>setTimeout(e,t)),nt=async(t,e,n="Operation timed out")=>{let r=null;try{return await Promise.race([t,new Promise((t,l)=>{r=setTimeout(()=>l(new Error(n)),e)})])}finally{null!==r&&clearTimeout(r)}},rt=(t,{maxAttempts:e=3,delayMs:n=300,backoff:r=!0,onRetry:l}={})=>{const a=Math.max(1,e);return async(...e)=>{let o;for(let i=1;i<=a;i++)try{return await t(...e)}catch(t){if(o=t,i<a){l?.(i,t);const e=r?n*2**(i-1):n;await et(e)}}throw o}},lt=t=>{try{return JSON.parse(t)}catch{return null}},at="application/json",ot=(t,e)=>{t.setData(at,JSON.stringify(e))},it=t=>{const e=t.getData(at);return e?lt(e):null},st=t=>"string"==typeof t,ut=(t,{fileName:e,target:n}={})=>{if("undefined"==typeof document)return;const r=document.createElement("a");let l=null;try{const a=st(t)?t:l=URL.createObjectURL(t);r.href=a,e&&(r.download=e),n&&(r.target=n),document.body.appendChild(r),r.click()}finally{r.remove(),l&&setTimeout(()=>{d(l,"Object URL should not be null"),URL.revokeObjectURL(l)},0)}},ct=t=>{const e=t.toString();window.history.replaceState(window.history.state,"",`${window.location.pathname}${e?`?${e}`:""}${window.location.hash}`)},ft=t=>t.scrollWidth>t.clientWidth,ht=t=>Math.max(0,t.scrollWidth-t.clientWidth),dt=t=>t.scrollHeight>t.clientHeight,mt=t=>Math.max(0,t.scrollHeight-t.clientHeight),pt=({containerSize:t,elementOffset:e,elementSize:n})=>-(e+n/2-t/2)||0,yt=(t,e)=>e<=0?0:Math.max(-e,Math.min(t,0)),gt=(t,e,{axis:n="both",shouldClamp:r=!0}={})=>{let l=0,a=0;if("x"===n||"both"===n){const n=pt({containerSize:t.clientWidth,elementOffset:e.offsetLeft,elementSize:e.clientWidth});l=r?yt(n,ht(t)):n}if("y"===n||"both"===n){const n=pt({containerSize:t.clientHeight,elementOffset:e.offsetTop,elementSize:e.clientHeight});a=r?yt(n,mt(t)):n}t.style.transform=`translate(${l}px, ${a}px)`},wt=t=>{const e=window.getComputedStyle(t).getPropertyValue("transform").match(/^matrix\((.+)\)$/);if(!e)return{translateX:0,translateY:0,scaleX:1,scaleY:1,skewX:0,skewY:0};const[n,r,l,a,o,i]=e[1].split(", ").map(parseFloat);return{translateX:o,translateY:i,scaleX:n,scaleY:a,skewX:l,skewY:r}},bt=()=>{if("undefined"==typeof window)return!1;try{return!!window.localStorage&&(window.localStorage.getItem("__non_existing_key__"),!0)}catch{return!1}},xt=()=>{if(!bt())return{readable:!1,writable:!1};try{const t="__test_write__";return window.localStorage.setItem(t,"1"),window.localStorage.removeItem(t),{readable:!0,writable:!0}}catch{}return{readable:!0,writable:!1}},St=t=>{try{const e=window.localStorage.getItem(t);return null===e?null:lt(e)}catch{return null}},At=(t,e)=>{try{return window.localStorage.setItem(t,JSON.stringify(e)),!0}catch{return!1}},It=t=>t instanceof File,Mt=t=>{if(!t)return[];const e=[];for(let n=0;n<t.length;n++)e.push(t[n]);return e},vt=(t,e)=>new File([t],e,{type:t.type}),Ct=async(t,{skipFiles:e=[".DS_Store","Thumbs.db","desktop.ini","ehthumbs.db",".Spotlight-V100",".Trashes",".fseventsd","__MACOSX"]}={})=>{const n=new Set(e),r=await(async t=>{const e=t.createReader(),n=async()=>new Promise((t,r)=>{e.readEntries(async e=>{if(e.length)try{const r=await n();t([...e,...r])}catch(t){r(t)}else t([])},r)});return n()})(t);return(await V(r,async t=>n.has(t.name)?[]:t.isDirectory?Ct(t,{skipFiles:e}):[await new Promise((e,n)=>{t.file(e,n)})])).flat()},Lt=async(t,e={})=>{const n=t?.items;if(!n)return[];const r=[];for(let t=0;t<n.length;t++){const l=n[t];if("webkitGetAsEntry"in l){const t=l.webkitGetAsEntry?.();if(t?.isDirectory){r.push(Ct(t,e));continue}if(t?.isFile){r.push(new Promise((e,n)=>t.file(t=>e([t]),n)));continue}}const a=l.getAsFile();a&&r.push(Promise.resolve([a]))}return(await Promise.all(r)).flat()},Et=(t,...e)=>"function"==typeof t?t(...e):t,Ot=({delta:t,value:e,min:n,max:r})=>{if(0===t)return null;const l=e+t;return t<0?e<=n?null:Math.max(l,n):t>0?e>=r?null:Math.min(l,r):null},$t=({value:t,min:e,max:n,velocityPxMs:r,deltaTimeMs:l,friction:a=.002,minVelocityPxMs:o=.01,emaAlpha:i=.2})=>{if(Math.abs(r)<o)return null;const s=Ot({delta:r*l,value:t,min:e,max:n});if(null===s)return null;const u=r*Math.exp(-a*l),c=i>0?r*(1-i)+u*i:u;return Math.abs(c)<o?null:{value:s,velocityPxMs:c}},Tt=()=>`${Math.floor(1e3*performance.now()).toString(36)}${Math.random().toString(36).slice(2,10)}`,Nt=(t,e)=>{const n=Math.max(0,Math.min(t.right,e.right)-Math.max(t.left,e.left))*Math.max(0,Math.min(t.bottom,e.bottom)-Math.max(t.top,e.top)),r=e.width*e.height;return r<=0?0:n/r},Pt=(t,e,{allowFallback:n=!0,invert:r=!0}={})=>{const l=r?-1:1,a=t=>l*t||0;switch(e){case"x":return{deltaX:a(0!==t.deltaX?t.deltaX:n?t.deltaY:0),deltaY:0};case"y":return{deltaX:0,deltaY:a(t.deltaY)};default:return{deltaX:a(t.deltaX),deltaY:a(t.deltaY)}}},kt=(t,e,n,r)=>{const l=n-t,a=r-e;return Math.hypot(l,a)},Bt=(t,e)=>Math.abs(t/e),Xt=(t,e)=>t*e/100,_t=t=>{let e=5381;for(let n=0;n<t.length;n++)e=33*e^t.charCodeAt(n);return(e>>>0).toString(36)},Rt=(t,e,n)=>Math.min(Math.max(t,e),n),Ut=t=>{const e={};return Reflect.ownKeys(t).forEach(n=>{if(!Object.prototype.propertyIsEnumerable.call(t,n))return;const r=t[n];void 0!==r&&(e[n]=r)}),e},Yt=t=>t.replace(/([\p{Ll}\p{N}])(\p{Lu})/gu,"$1-$2").toLowerCase(),zt=t=>{const e=t.charAt(0),n=t.slice(1);return e.toLowerCase()+n.replace(/\p{Lu}/gu,t=>`-${t.toLowerCase()}`)},Ft=t=>t.replace(/([\p{Ll}\p{N}])(\p{Lu})/gu,"$1 $2").replace(/(\p{Lu})(\p{Lu}\p{Ll})/gu,"$1 $2"),jt=t=>0===t.length?[]:t.split(" ").filter(Boolean),Dt=t=>""===t||p(t),Wt=t=>{const e=t.lastIndexOf(".");return e<=0||e===t.length-1?[t,""]:[t.slice(0,e),t.slice(e+1).toLowerCase()]},Ht=(t,e)=>{if(0===t.length)return[];const n=e.charCodeAt(0),r=[];for(let e=0;e<t.length;e++)t.charCodeAt(e)===n&&r.push(e);return r},Jt=(t,e,n)=>{if(0===t.length)return;const r=t.length;for(let l=0;l<r;l++){const a=t[l],o={charIndex:l,prevChar:l>0?t[l-1]:null,nextChar:l<r-1?t[l+1]:null};n?.(a,o)||e(a,o)}},Vt=(t,e=1/0)=>0===t.length?"":jt(t).slice(0,e).map(t=>String.fromCodePoint(t.codePointAt(0))).join("").toUpperCase(),Zt=(t,e,n,r=e)=>t.split(e).map((t,e)=>n(t.trim(),e)).join(r),Gt=(t,e,n,r=[],l=void 0,a=0)=>(t?.forEach(t=>{const{[n]:o,...i}=t,s=t[n],u=Array.isArray(s);if(r.push({...i,parentId:l,depthLevel:a,childCount:u?s.length:0}),u){const l=t[e];Gt(s,e,n,r,l,a+1)}}),r),Kt=(t,e,n)=>t.filter(t=>t.parentId===e&&(!n||n(t))),qt=(t,e,n,r)=>{const l=jt(r.toLowerCase());if(!l.length)return t;const a=t.reduce((t,n,r)=>(t[n[e]]=r,t),{});return t.reduce((r,o)=>{const i=o[n];if(!i)return r;if(r.some(t=>t[e]===o[e]))return r;const s=jt(i.toLowerCase());if(l.every(t=>s.some(e=>e.startsWith(t))))if(g(o.parentId)){r.push(o);const n=l=>{l.childCount&&t.forEach(t=>{t.parentId===l[e]&&(r.push(t),n(t))})};n(o)}else{const e=n=>{const l=a[n.parentId],o=t[l];g(o.parentId)||e(o);const i=r.length?r[r.length-1].parentId:null;(m(i)||i!==n.parentId)&&(d(o,"[@react-hive/honey-utils]: Parent node was not found."),r.push(o))};e(o),r.push(o)}return r},[])},Qt=(t,e)=>{d(e>=0&&e<=1,`[@react-hive/honey-utils]: Alpha "${e}" must be a number between 0 and 1.`);const n=t.match(/^#?([0-9A-Fa-f]{3}|[0-9A-Fa-f]{6})$/);d(n,`[@react-hive/honey-utils]: Invalid hex format: ${t}`);const r=n[1];return`#${(3===r.length?r[0]+r[0]+r[1]+r[1]+r[2]+r[2]:r)+Math.round(255*e).toString(16).toUpperCase().padStart(2,"0")}`},te=/^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$/,ee=t=>{if(!te.test(t))return null;try{if("function"==typeof Uint8Array.fromBase64)return Uint8Array.fromBase64(t);if("undefined"!=typeof Buffer){const e=Buffer.from(t,"base64");return new Uint8Array(e.buffer,e.byteOffset,e.byteLength)}const e=atob(t),n=new Uint8Array(e.length);for(let t=0;t<e.length;t++)n[t]=e.charCodeAt(t);return n}catch{return null}},ne=t=>{const e=ee(t);if(null===e)return null;try{return new TextDecoder("utf-8",{fatal:!0,ignoreBOM:!0}).decode(e)}catch{return null}},re=t=>{const e=ne(t);return null===e?null:lt(e)},le=t=>{if("function"==typeof t.toBase64)return t.toBase64();if("undefined"!=typeof Buffer)return Buffer.from(t.buffer,t.byteOffset,t.byteLength).toString("base64");let e="";for(let n=0;n<t.length;n++)e+=String.fromCharCode(t[n]);return btoa(e)},ae=t=>le((new TextEncoder).encode(t)),oe=t=>ae(JSON.stringify(t));
|
|
2384
2029
|
//# sourceMappingURL=index.mjs.map
|
|
2385
2030
|
|
|
2386
2031
|
/***/ }
|