@insforge/react 0.7.10 → 0.7.11

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/atoms.js CHANGED
@@ -1,13 +1,2010 @@
1
- import styled from '@emotion/styled';
2
- import { keyframes as keyframes$1 } from '@emotion/react';
3
- import { jsxs, jsx } from 'react/jsx-runtime';
1
+ import * as React2 from 'react';
2
+ import { createContext, forwardRef, useContext, useState, useMemo, useRef, useEffect, useCallback } from 'react';
3
+ import { jsxs, jsx as jsx$1 } from 'react/jsx-runtime';
4
4
  import { AlertTriangle, Check, EyeOff, Eye, Loader2, CircleCheck } from 'lucide-react';
5
- import { createContext, useState, useMemo, useRef, useEffect, useCallback, useContext } from 'react';
6
5
  import '@insforge/sdk';
7
6
  import { InsforgeContext } from '@insforge/shared/react';
8
- import '@emotion/cache';
9
7
 
10
- // src/components/atoms/styled.ts
8
+ var __create = Object.create;
9
+ var __defProp = Object.defineProperty;
10
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
11
+ var __getOwnPropNames = Object.getOwnPropertyNames;
12
+ var __getProtoOf = Object.getPrototypeOf;
13
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
14
+ var __commonJS = (cb, mod) => function __require() {
15
+ return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;
16
+ };
17
+ var __copyProps = (to, from2, except, desc) => {
18
+ if (from2 && typeof from2 === "object" || typeof from2 === "function") {
19
+ for (let key of __getOwnPropNames(from2))
20
+ if (!__hasOwnProp.call(to, key) && key !== except)
21
+ __defProp(to, key, { get: () => from2[key], enumerable: !(desc = __getOwnPropDesc(from2, key)) || desc.enumerable });
22
+ }
23
+ return to;
24
+ };
25
+ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
26
+ // If the importer is in node compatibility mode or this is not an ESM
27
+ // file that has been converted to a CommonJS file using a Babel-
28
+ // compatible transform (i.e. "__esModule" has not been set), then set
29
+ // "default" to the CommonJS "module.exports" for node compatibility.
30
+ !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
31
+ mod
32
+ ));
33
+
34
+ // ../node_modules/react-is/cjs/react-is.production.min.js
35
+ var require_react_is_production_min = __commonJS({
36
+ "../node_modules/react-is/cjs/react-is.production.min.js"(exports$1) {
37
+ var b = "function" === typeof Symbol && Symbol.for;
38
+ var c = b ? Symbol.for("react.element") : 60103;
39
+ var d = b ? Symbol.for("react.portal") : 60106;
40
+ var e = b ? Symbol.for("react.fragment") : 60107;
41
+ var f = b ? Symbol.for("react.strict_mode") : 60108;
42
+ var g = b ? Symbol.for("react.profiler") : 60114;
43
+ var h = b ? Symbol.for("react.provider") : 60109;
44
+ var k = b ? Symbol.for("react.context") : 60110;
45
+ var l = b ? Symbol.for("react.async_mode") : 60111;
46
+ var m = b ? Symbol.for("react.concurrent_mode") : 60111;
47
+ var n = b ? Symbol.for("react.forward_ref") : 60112;
48
+ var p = b ? Symbol.for("react.suspense") : 60113;
49
+ var q = b ? Symbol.for("react.suspense_list") : 60120;
50
+ var r = b ? Symbol.for("react.memo") : 60115;
51
+ var t = b ? Symbol.for("react.lazy") : 60116;
52
+ var v = b ? Symbol.for("react.block") : 60121;
53
+ var w = b ? Symbol.for("react.fundamental") : 60117;
54
+ var x = b ? Symbol.for("react.responder") : 60118;
55
+ var y = b ? Symbol.for("react.scope") : 60119;
56
+ function z(a) {
57
+ if ("object" === typeof a && null !== a) {
58
+ var u = a.$$typeof;
59
+ switch (u) {
60
+ case c:
61
+ switch (a = a.type, a) {
62
+ case l:
63
+ case m:
64
+ case e:
65
+ case g:
66
+ case f:
67
+ case p:
68
+ return a;
69
+ default:
70
+ switch (a = a && a.$$typeof, a) {
71
+ case k:
72
+ case n:
73
+ case t:
74
+ case r:
75
+ case h:
76
+ return a;
77
+ default:
78
+ return u;
79
+ }
80
+ }
81
+ case d:
82
+ return u;
83
+ }
84
+ }
85
+ }
86
+ function A(a) {
87
+ return z(a) === m;
88
+ }
89
+ exports$1.AsyncMode = l;
90
+ exports$1.ConcurrentMode = m;
91
+ exports$1.ContextConsumer = k;
92
+ exports$1.ContextProvider = h;
93
+ exports$1.Element = c;
94
+ exports$1.ForwardRef = n;
95
+ exports$1.Fragment = e;
96
+ exports$1.Lazy = t;
97
+ exports$1.Memo = r;
98
+ exports$1.Portal = d;
99
+ exports$1.Profiler = g;
100
+ exports$1.StrictMode = f;
101
+ exports$1.Suspense = p;
102
+ exports$1.isAsyncMode = function(a) {
103
+ return A(a) || z(a) === l;
104
+ };
105
+ exports$1.isConcurrentMode = A;
106
+ exports$1.isContextConsumer = function(a) {
107
+ return z(a) === k;
108
+ };
109
+ exports$1.isContextProvider = function(a) {
110
+ return z(a) === h;
111
+ };
112
+ exports$1.isElement = function(a) {
113
+ return "object" === typeof a && null !== a && a.$$typeof === c;
114
+ };
115
+ exports$1.isForwardRef = function(a) {
116
+ return z(a) === n;
117
+ };
118
+ exports$1.isFragment = function(a) {
119
+ return z(a) === e;
120
+ };
121
+ exports$1.isLazy = function(a) {
122
+ return z(a) === t;
123
+ };
124
+ exports$1.isMemo = function(a) {
125
+ return z(a) === r;
126
+ };
127
+ exports$1.isPortal = function(a) {
128
+ return z(a) === d;
129
+ };
130
+ exports$1.isProfiler = function(a) {
131
+ return z(a) === g;
132
+ };
133
+ exports$1.isStrictMode = function(a) {
134
+ return z(a) === f;
135
+ };
136
+ exports$1.isSuspense = function(a) {
137
+ return z(a) === p;
138
+ };
139
+ exports$1.isValidElementType = function(a) {
140
+ return "string" === typeof a || "function" === typeof a || a === e || a === m || a === g || a === f || a === p || a === q || "object" === typeof a && null !== a && (a.$$typeof === t || a.$$typeof === r || a.$$typeof === h || a.$$typeof === k || a.$$typeof === n || a.$$typeof === w || a.$$typeof === x || a.$$typeof === y || a.$$typeof === v);
141
+ };
142
+ exports$1.typeOf = z;
143
+ }
144
+ });
145
+
146
+ // ../node_modules/react-is/cjs/react-is.development.js
147
+ var require_react_is_development = __commonJS({
148
+ "../node_modules/react-is/cjs/react-is.development.js"(exports$1) {
149
+ if (process.env.NODE_ENV !== "production") {
150
+ (function() {
151
+ var hasSymbol = typeof Symbol === "function" && Symbol.for;
152
+ var REACT_ELEMENT_TYPE = hasSymbol ? Symbol.for("react.element") : 60103;
153
+ var REACT_PORTAL_TYPE = hasSymbol ? Symbol.for("react.portal") : 60106;
154
+ var REACT_FRAGMENT_TYPE = hasSymbol ? Symbol.for("react.fragment") : 60107;
155
+ var REACT_STRICT_MODE_TYPE = hasSymbol ? Symbol.for("react.strict_mode") : 60108;
156
+ var REACT_PROFILER_TYPE = hasSymbol ? Symbol.for("react.profiler") : 60114;
157
+ var REACT_PROVIDER_TYPE = hasSymbol ? Symbol.for("react.provider") : 60109;
158
+ var REACT_CONTEXT_TYPE = hasSymbol ? Symbol.for("react.context") : 60110;
159
+ var REACT_ASYNC_MODE_TYPE = hasSymbol ? Symbol.for("react.async_mode") : 60111;
160
+ var REACT_CONCURRENT_MODE_TYPE = hasSymbol ? Symbol.for("react.concurrent_mode") : 60111;
161
+ var REACT_FORWARD_REF_TYPE = hasSymbol ? Symbol.for("react.forward_ref") : 60112;
162
+ var REACT_SUSPENSE_TYPE = hasSymbol ? Symbol.for("react.suspense") : 60113;
163
+ var REACT_SUSPENSE_LIST_TYPE = hasSymbol ? Symbol.for("react.suspense_list") : 60120;
164
+ var REACT_MEMO_TYPE = hasSymbol ? Symbol.for("react.memo") : 60115;
165
+ var REACT_LAZY_TYPE = hasSymbol ? Symbol.for("react.lazy") : 60116;
166
+ var REACT_BLOCK_TYPE = hasSymbol ? Symbol.for("react.block") : 60121;
167
+ var REACT_FUNDAMENTAL_TYPE = hasSymbol ? Symbol.for("react.fundamental") : 60117;
168
+ var REACT_RESPONDER_TYPE = hasSymbol ? Symbol.for("react.responder") : 60118;
169
+ var REACT_SCOPE_TYPE = hasSymbol ? Symbol.for("react.scope") : 60119;
170
+ function isValidElementType(type) {
171
+ return typeof type === "string" || typeof type === "function" || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
172
+ type === REACT_FRAGMENT_TYPE || type === REACT_CONCURRENT_MODE_TYPE || type === REACT_PROFILER_TYPE || type === REACT_STRICT_MODE_TYPE || type === REACT_SUSPENSE_TYPE || type === REACT_SUSPENSE_LIST_TYPE || typeof type === "object" && type !== null && (type.$$typeof === REACT_LAZY_TYPE || type.$$typeof === REACT_MEMO_TYPE || type.$$typeof === REACT_PROVIDER_TYPE || type.$$typeof === REACT_CONTEXT_TYPE || type.$$typeof === REACT_FORWARD_REF_TYPE || type.$$typeof === REACT_FUNDAMENTAL_TYPE || type.$$typeof === REACT_RESPONDER_TYPE || type.$$typeof === REACT_SCOPE_TYPE || type.$$typeof === REACT_BLOCK_TYPE);
173
+ }
174
+ function typeOf(object) {
175
+ if (typeof object === "object" && object !== null) {
176
+ var $$typeof = object.$$typeof;
177
+ switch ($$typeof) {
178
+ case REACT_ELEMENT_TYPE:
179
+ var type = object.type;
180
+ switch (type) {
181
+ case REACT_ASYNC_MODE_TYPE:
182
+ case REACT_CONCURRENT_MODE_TYPE:
183
+ case REACT_FRAGMENT_TYPE:
184
+ case REACT_PROFILER_TYPE:
185
+ case REACT_STRICT_MODE_TYPE:
186
+ case REACT_SUSPENSE_TYPE:
187
+ return type;
188
+ default:
189
+ var $$typeofType = type && type.$$typeof;
190
+ switch ($$typeofType) {
191
+ case REACT_CONTEXT_TYPE:
192
+ case REACT_FORWARD_REF_TYPE:
193
+ case REACT_LAZY_TYPE:
194
+ case REACT_MEMO_TYPE:
195
+ case REACT_PROVIDER_TYPE:
196
+ return $$typeofType;
197
+ default:
198
+ return $$typeof;
199
+ }
200
+ }
201
+ case REACT_PORTAL_TYPE:
202
+ return $$typeof;
203
+ }
204
+ }
205
+ return void 0;
206
+ }
207
+ var AsyncMode = REACT_ASYNC_MODE_TYPE;
208
+ var ConcurrentMode = REACT_CONCURRENT_MODE_TYPE;
209
+ var ContextConsumer = REACT_CONTEXT_TYPE;
210
+ var ContextProvider = REACT_PROVIDER_TYPE;
211
+ var Element = REACT_ELEMENT_TYPE;
212
+ var ForwardRef = REACT_FORWARD_REF_TYPE;
213
+ var Fragment4 = REACT_FRAGMENT_TYPE;
214
+ var Lazy = REACT_LAZY_TYPE;
215
+ var Memo = REACT_MEMO_TYPE;
216
+ var Portal = REACT_PORTAL_TYPE;
217
+ var Profiler = REACT_PROFILER_TYPE;
218
+ var StrictMode = REACT_STRICT_MODE_TYPE;
219
+ var Suspense = REACT_SUSPENSE_TYPE;
220
+ var hasWarnedAboutDeprecatedIsAsyncMode = false;
221
+ function isAsyncMode(object) {
222
+ {
223
+ if (!hasWarnedAboutDeprecatedIsAsyncMode) {
224
+ hasWarnedAboutDeprecatedIsAsyncMode = true;
225
+ console["warn"]("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.");
226
+ }
227
+ }
228
+ return isConcurrentMode(object) || typeOf(object) === REACT_ASYNC_MODE_TYPE;
229
+ }
230
+ function isConcurrentMode(object) {
231
+ return typeOf(object) === REACT_CONCURRENT_MODE_TYPE;
232
+ }
233
+ function isContextConsumer(object) {
234
+ return typeOf(object) === REACT_CONTEXT_TYPE;
235
+ }
236
+ function isContextProvider(object) {
237
+ return typeOf(object) === REACT_PROVIDER_TYPE;
238
+ }
239
+ function isElement(object) {
240
+ return typeof object === "object" && object !== null && object.$$typeof === REACT_ELEMENT_TYPE;
241
+ }
242
+ function isForwardRef(object) {
243
+ return typeOf(object) === REACT_FORWARD_REF_TYPE;
244
+ }
245
+ function isFragment(object) {
246
+ return typeOf(object) === REACT_FRAGMENT_TYPE;
247
+ }
248
+ function isLazy(object) {
249
+ return typeOf(object) === REACT_LAZY_TYPE;
250
+ }
251
+ function isMemo(object) {
252
+ return typeOf(object) === REACT_MEMO_TYPE;
253
+ }
254
+ function isPortal(object) {
255
+ return typeOf(object) === REACT_PORTAL_TYPE;
256
+ }
257
+ function isProfiler(object) {
258
+ return typeOf(object) === REACT_PROFILER_TYPE;
259
+ }
260
+ function isStrictMode(object) {
261
+ return typeOf(object) === REACT_STRICT_MODE_TYPE;
262
+ }
263
+ function isSuspense(object) {
264
+ return typeOf(object) === REACT_SUSPENSE_TYPE;
265
+ }
266
+ exports$1.AsyncMode = AsyncMode;
267
+ exports$1.ConcurrentMode = ConcurrentMode;
268
+ exports$1.ContextConsumer = ContextConsumer;
269
+ exports$1.ContextProvider = ContextProvider;
270
+ exports$1.Element = Element;
271
+ exports$1.ForwardRef = ForwardRef;
272
+ exports$1.Fragment = Fragment4;
273
+ exports$1.Lazy = Lazy;
274
+ exports$1.Memo = Memo;
275
+ exports$1.Portal = Portal;
276
+ exports$1.Profiler = Profiler;
277
+ exports$1.StrictMode = StrictMode;
278
+ exports$1.Suspense = Suspense;
279
+ exports$1.isAsyncMode = isAsyncMode;
280
+ exports$1.isConcurrentMode = isConcurrentMode;
281
+ exports$1.isContextConsumer = isContextConsumer;
282
+ exports$1.isContextProvider = isContextProvider;
283
+ exports$1.isElement = isElement;
284
+ exports$1.isForwardRef = isForwardRef;
285
+ exports$1.isFragment = isFragment;
286
+ exports$1.isLazy = isLazy;
287
+ exports$1.isMemo = isMemo;
288
+ exports$1.isPortal = isPortal;
289
+ exports$1.isProfiler = isProfiler;
290
+ exports$1.isStrictMode = isStrictMode;
291
+ exports$1.isSuspense = isSuspense;
292
+ exports$1.isValidElementType = isValidElementType;
293
+ exports$1.typeOf = typeOf;
294
+ })();
295
+ }
296
+ }
297
+ });
298
+
299
+ // ../node_modules/react-is/index.js
300
+ var require_react_is = __commonJS({
301
+ "../node_modules/react-is/index.js"(exports$1, module) {
302
+ if (process.env.NODE_ENV === "production") {
303
+ module.exports = require_react_is_production_min();
304
+ } else {
305
+ module.exports = require_react_is_development();
306
+ }
307
+ }
308
+ });
309
+
310
+ // ../node_modules/hoist-non-react-statics/dist/hoist-non-react-statics.cjs.js
311
+ var require_hoist_non_react_statics_cjs = __commonJS({
312
+ "../node_modules/hoist-non-react-statics/dist/hoist-non-react-statics.cjs.js"(exports$1, module) {
313
+ var reactIs = require_react_is();
314
+ var REACT_STATICS = {
315
+ childContextTypes: true,
316
+ contextType: true,
317
+ contextTypes: true,
318
+ defaultProps: true,
319
+ displayName: true,
320
+ getDefaultProps: true,
321
+ getDerivedStateFromError: true,
322
+ getDerivedStateFromProps: true,
323
+ mixins: true,
324
+ propTypes: true,
325
+ type: true
326
+ };
327
+ var KNOWN_STATICS = {
328
+ name: true,
329
+ length: true,
330
+ prototype: true,
331
+ caller: true,
332
+ callee: true,
333
+ arguments: true,
334
+ arity: true
335
+ };
336
+ var FORWARD_REF_STATICS = {
337
+ "$$typeof": true,
338
+ render: true,
339
+ defaultProps: true,
340
+ displayName: true,
341
+ propTypes: true
342
+ };
343
+ var MEMO_STATICS = {
344
+ "$$typeof": true,
345
+ compare: true,
346
+ defaultProps: true,
347
+ displayName: true,
348
+ propTypes: true,
349
+ type: true
350
+ };
351
+ var TYPE_STATICS = {};
352
+ TYPE_STATICS[reactIs.ForwardRef] = FORWARD_REF_STATICS;
353
+ TYPE_STATICS[reactIs.Memo] = MEMO_STATICS;
354
+ function getStatics(component) {
355
+ if (reactIs.isMemo(component)) {
356
+ return MEMO_STATICS;
357
+ }
358
+ return TYPE_STATICS[component["$$typeof"]] || REACT_STATICS;
359
+ }
360
+ var defineProperty = Object.defineProperty;
361
+ var getOwnPropertyNames = Object.getOwnPropertyNames;
362
+ var getOwnPropertySymbols = Object.getOwnPropertySymbols;
363
+ var getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;
364
+ var getPrototypeOf = Object.getPrototypeOf;
365
+ var objectPrototype = Object.prototype;
366
+ function hoistNonReactStatics(targetComponent, sourceComponent, blacklist) {
367
+ if (typeof sourceComponent !== "string") {
368
+ if (objectPrototype) {
369
+ var inheritedComponent = getPrototypeOf(sourceComponent);
370
+ if (inheritedComponent && inheritedComponent !== objectPrototype) {
371
+ hoistNonReactStatics(targetComponent, inheritedComponent, blacklist);
372
+ }
373
+ }
374
+ var keys = getOwnPropertyNames(sourceComponent);
375
+ if (getOwnPropertySymbols) {
376
+ keys = keys.concat(getOwnPropertySymbols(sourceComponent));
377
+ }
378
+ var targetStatics = getStatics(targetComponent);
379
+ var sourceStatics = getStatics(sourceComponent);
380
+ for (var i = 0; i < keys.length; ++i) {
381
+ var key = keys[i];
382
+ if (!KNOWN_STATICS[key] && !(blacklist && blacklist[key]) && !(sourceStatics && sourceStatics[key]) && !(targetStatics && targetStatics[key])) {
383
+ var descriptor = getOwnPropertyDescriptor(sourceComponent, key);
384
+ try {
385
+ defineProperty(targetComponent, key, descriptor);
386
+ } catch (e) {
387
+ }
388
+ }
389
+ }
390
+ }
391
+ return targetComponent;
392
+ }
393
+ module.exports = hoistNonReactStatics;
394
+ }
395
+ });
396
+
397
+ // ../node_modules/@babel/runtime/helpers/extends.js
398
+ var require_extends = __commonJS({
399
+ "../node_modules/@babel/runtime/helpers/extends.js"(exports$1, module) {
400
+ function _extends2() {
401
+ return module.exports = _extends2 = Object.assign ? Object.assign.bind() : function(n) {
402
+ for (var e = 1; e < arguments.length; e++) {
403
+ var t = arguments[e];
404
+ for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]);
405
+ }
406
+ return n;
407
+ }, module.exports.__esModule = true, module.exports["default"] = module.exports, _extends2.apply(null, arguments);
408
+ }
409
+ module.exports = _extends2, module.exports.__esModule = true, module.exports["default"] = module.exports;
410
+ }
411
+ });
412
+
413
+ // ../node_modules/@babel/runtime/helpers/esm/extends.js
414
+ function _extends() {
415
+ return _extends = Object.assign ? Object.assign.bind() : function(n) {
416
+ for (var e = 1; e < arguments.length; e++) {
417
+ var t = arguments[e];
418
+ for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]);
419
+ }
420
+ return n;
421
+ }, _extends.apply(null, arguments);
422
+ }
423
+ function sheetForTag(tag) {
424
+ if (tag.sheet) {
425
+ return tag.sheet;
426
+ }
427
+ for (var i = 0; i < document.styleSheets.length; i++) {
428
+ if (document.styleSheets[i].ownerNode === tag) {
429
+ return document.styleSheets[i];
430
+ }
431
+ }
432
+ return void 0;
433
+ }
434
+ function createStyleElement(options) {
435
+ var tag = document.createElement("style");
436
+ tag.setAttribute("data-emotion", options.key);
437
+ if (options.nonce !== void 0) {
438
+ tag.setAttribute("nonce", options.nonce);
439
+ }
440
+ tag.appendChild(document.createTextNode(""));
441
+ tag.setAttribute("data-s", "");
442
+ return tag;
443
+ }
444
+ var StyleSheet = /* @__PURE__ */ (function() {
445
+ function StyleSheet2(options) {
446
+ var _this = this;
447
+ this._insertTag = function(tag) {
448
+ var before;
449
+ if (_this.tags.length === 0) {
450
+ if (_this.insertionPoint) {
451
+ before = _this.insertionPoint.nextSibling;
452
+ } else if (_this.prepend) {
453
+ before = _this.container.firstChild;
454
+ } else {
455
+ before = _this.before;
456
+ }
457
+ } else {
458
+ before = _this.tags[_this.tags.length - 1].nextSibling;
459
+ }
460
+ _this.container.insertBefore(tag, before);
461
+ _this.tags.push(tag);
462
+ };
463
+ this.isSpeedy = options.speedy === void 0 ? true : options.speedy;
464
+ this.tags = [];
465
+ this.ctr = 0;
466
+ this.nonce = options.nonce;
467
+ this.key = options.key;
468
+ this.container = options.container;
469
+ this.prepend = options.prepend;
470
+ this.insertionPoint = options.insertionPoint;
471
+ this.before = null;
472
+ }
473
+ var _proto = StyleSheet2.prototype;
474
+ _proto.hydrate = function hydrate(nodes) {
475
+ nodes.forEach(this._insertTag);
476
+ };
477
+ _proto.insert = function insert(rule) {
478
+ if (this.ctr % (this.isSpeedy ? 65e3 : 1) === 0) {
479
+ this._insertTag(createStyleElement(this));
480
+ }
481
+ var tag = this.tags[this.tags.length - 1];
482
+ if (this.isSpeedy) {
483
+ var sheet = sheetForTag(tag);
484
+ try {
485
+ sheet.insertRule(rule, sheet.cssRules.length);
486
+ } catch (e) {
487
+ }
488
+ } else {
489
+ tag.appendChild(document.createTextNode(rule));
490
+ }
491
+ this.ctr++;
492
+ };
493
+ _proto.flush = function flush() {
494
+ this.tags.forEach(function(tag) {
495
+ var _tag$parentNode;
496
+ return (_tag$parentNode = tag.parentNode) == null ? void 0 : _tag$parentNode.removeChild(tag);
497
+ });
498
+ this.tags = [];
499
+ this.ctr = 0;
500
+ };
501
+ return StyleSheet2;
502
+ })();
503
+
504
+ // ../node_modules/stylis/src/Enum.js
505
+ var MS = "-ms-";
506
+ var MOZ = "-moz-";
507
+ var WEBKIT = "-webkit-";
508
+ var COMMENT = "comm";
509
+ var RULESET = "rule";
510
+ var DECLARATION = "decl";
511
+ var IMPORT = "@import";
512
+ var KEYFRAMES = "@keyframes";
513
+ var LAYER = "@layer";
514
+
515
+ // ../node_modules/stylis/src/Utility.js
516
+ var abs = Math.abs;
517
+ var from = String.fromCharCode;
518
+ var assign = Object.assign;
519
+ function hash(value, length2) {
520
+ return charat(value, 0) ^ 45 ? (((length2 << 2 ^ charat(value, 0)) << 2 ^ charat(value, 1)) << 2 ^ charat(value, 2)) << 2 ^ charat(value, 3) : 0;
521
+ }
522
+ function trim(value) {
523
+ return value.trim();
524
+ }
525
+ function match(value, pattern) {
526
+ return (value = pattern.exec(value)) ? value[0] : value;
527
+ }
528
+ function replace(value, pattern, replacement) {
529
+ return value.replace(pattern, replacement);
530
+ }
531
+ function indexof(value, search) {
532
+ return value.indexOf(search);
533
+ }
534
+ function charat(value, index) {
535
+ return value.charCodeAt(index) | 0;
536
+ }
537
+ function substr(value, begin, end) {
538
+ return value.slice(begin, end);
539
+ }
540
+ function strlen(value) {
541
+ return value.length;
542
+ }
543
+ function sizeof(value) {
544
+ return value.length;
545
+ }
546
+ function append(value, array) {
547
+ return array.push(value), value;
548
+ }
549
+ function combine(array, callback) {
550
+ return array.map(callback).join("");
551
+ }
552
+
553
+ // ../node_modules/stylis/src/Tokenizer.js
554
+ var line = 1;
555
+ var column = 1;
556
+ var length = 0;
557
+ var position = 0;
558
+ var character = 0;
559
+ var characters = "";
560
+ function node(value, root, parent, type, props, children, length2) {
561
+ return { value, root, parent, type, props, children, line, column, length: length2, return: "" };
562
+ }
563
+ function copy(root, props) {
564
+ return assign(node("", null, null, "", null, null, 0), root, { length: -root.length }, props);
565
+ }
566
+ function char() {
567
+ return character;
568
+ }
569
+ function prev() {
570
+ character = position > 0 ? charat(characters, --position) : 0;
571
+ if (column--, character === 10)
572
+ column = 1, line--;
573
+ return character;
574
+ }
575
+ function next() {
576
+ character = position < length ? charat(characters, position++) : 0;
577
+ if (column++, character === 10)
578
+ column = 1, line++;
579
+ return character;
580
+ }
581
+ function peek() {
582
+ return charat(characters, position);
583
+ }
584
+ function caret() {
585
+ return position;
586
+ }
587
+ function slice(begin, end) {
588
+ return substr(characters, begin, end);
589
+ }
590
+ function token(type) {
591
+ switch (type) {
592
+ // \0 \t \n \r \s whitespace token
593
+ case 0:
594
+ case 9:
595
+ case 10:
596
+ case 13:
597
+ case 32:
598
+ return 5;
599
+ // ! + , / > @ ~ isolate token
600
+ case 33:
601
+ case 43:
602
+ case 44:
603
+ case 47:
604
+ case 62:
605
+ case 64:
606
+ case 126:
607
+ // ; { } breakpoint token
608
+ case 59:
609
+ case 123:
610
+ case 125:
611
+ return 4;
612
+ // : accompanied token
613
+ case 58:
614
+ return 3;
615
+ // " ' ( [ opening delimit token
616
+ case 34:
617
+ case 39:
618
+ case 40:
619
+ case 91:
620
+ return 2;
621
+ // ) ] closing delimit token
622
+ case 41:
623
+ case 93:
624
+ return 1;
625
+ }
626
+ return 0;
627
+ }
628
+ function alloc(value) {
629
+ return line = column = 1, length = strlen(characters = value), position = 0, [];
630
+ }
631
+ function dealloc(value) {
632
+ return characters = "", value;
633
+ }
634
+ function delimit(type) {
635
+ return trim(slice(position - 1, delimiter(type === 91 ? type + 2 : type === 40 ? type + 1 : type)));
636
+ }
637
+ function whitespace(type) {
638
+ while (character = peek())
639
+ if (character < 33)
640
+ next();
641
+ else
642
+ break;
643
+ return token(type) > 2 || token(character) > 3 ? "" : " ";
644
+ }
645
+ function escaping(index, count) {
646
+ while (--count && next())
647
+ if (character < 48 || character > 102 || character > 57 && character < 65 || character > 70 && character < 97)
648
+ break;
649
+ return slice(index, caret() + (count < 6 && peek() == 32 && next() == 32));
650
+ }
651
+ function delimiter(type) {
652
+ while (next())
653
+ switch (character) {
654
+ // ] ) " '
655
+ case type:
656
+ return position;
657
+ // " '
658
+ case 34:
659
+ case 39:
660
+ if (type !== 34 && type !== 39)
661
+ delimiter(character);
662
+ break;
663
+ // (
664
+ case 40:
665
+ if (type === 41)
666
+ delimiter(type);
667
+ break;
668
+ // \
669
+ case 92:
670
+ next();
671
+ break;
672
+ }
673
+ return position;
674
+ }
675
+ function commenter(type, index) {
676
+ while (next())
677
+ if (type + character === 47 + 10)
678
+ break;
679
+ else if (type + character === 42 + 42 && peek() === 47)
680
+ break;
681
+ return "/*" + slice(index, position - 1) + "*" + from(type === 47 ? type : next());
682
+ }
683
+ function identifier(index) {
684
+ while (!token(peek()))
685
+ next();
686
+ return slice(index, position);
687
+ }
688
+
689
+ // ../node_modules/stylis/src/Parser.js
690
+ function compile(value) {
691
+ return dealloc(parse("", null, null, null, [""], value = alloc(value), 0, [0], value));
692
+ }
693
+ function parse(value, root, parent, rule, rules, rulesets, pseudo, points, declarations) {
694
+ var index = 0;
695
+ var offset = 0;
696
+ var length2 = pseudo;
697
+ var atrule = 0;
698
+ var property = 0;
699
+ var previous = 0;
700
+ var variable = 1;
701
+ var scanning = 1;
702
+ var ampersand = 1;
703
+ var character2 = 0;
704
+ var type = "";
705
+ var props = rules;
706
+ var children = rulesets;
707
+ var reference = rule;
708
+ var characters2 = type;
709
+ while (scanning)
710
+ switch (previous = character2, character2 = next()) {
711
+ // (
712
+ case 40:
713
+ if (previous != 108 && charat(characters2, length2 - 1) == 58) {
714
+ if (indexof(characters2 += replace(delimit(character2), "&", "&\f"), "&\f") != -1)
715
+ ampersand = -1;
716
+ break;
717
+ }
718
+ // " ' [
719
+ case 34:
720
+ case 39:
721
+ case 91:
722
+ characters2 += delimit(character2);
723
+ break;
724
+ // \t \n \r \s
725
+ case 9:
726
+ case 10:
727
+ case 13:
728
+ case 32:
729
+ characters2 += whitespace(previous);
730
+ break;
731
+ // \
732
+ case 92:
733
+ characters2 += escaping(caret() - 1, 7);
734
+ continue;
735
+ // /
736
+ case 47:
737
+ switch (peek()) {
738
+ case 42:
739
+ case 47:
740
+ append(comment(commenter(next(), caret()), root, parent), declarations);
741
+ break;
742
+ default:
743
+ characters2 += "/";
744
+ }
745
+ break;
746
+ // {
747
+ case 123 * variable:
748
+ points[index++] = strlen(characters2) * ampersand;
749
+ // } ; \0
750
+ case 125 * variable:
751
+ case 59:
752
+ case 0:
753
+ switch (character2) {
754
+ // \0 }
755
+ case 0:
756
+ case 125:
757
+ scanning = 0;
758
+ // ;
759
+ case 59 + offset:
760
+ if (ampersand == -1) characters2 = replace(characters2, /\f/g, "");
761
+ if (property > 0 && strlen(characters2) - length2)
762
+ append(property > 32 ? declaration(characters2 + ";", rule, parent, length2 - 1) : declaration(replace(characters2, " ", "") + ";", rule, parent, length2 - 2), declarations);
763
+ break;
764
+ // @ ;
765
+ case 59:
766
+ characters2 += ";";
767
+ // { rule/at-rule
768
+ default:
769
+ append(reference = ruleset(characters2, root, parent, index, offset, rules, points, type, props = [], children = [], length2), rulesets);
770
+ if (character2 === 123)
771
+ if (offset === 0)
772
+ parse(characters2, root, reference, reference, props, rulesets, length2, points, children);
773
+ else
774
+ switch (atrule === 99 && charat(characters2, 3) === 110 ? 100 : atrule) {
775
+ // d l m s
776
+ case 100:
777
+ case 108:
778
+ case 109:
779
+ case 115:
780
+ parse(value, reference, reference, rule && append(ruleset(value, reference, reference, 0, 0, rules, points, type, rules, props = [], length2), children), rules, children, length2, points, rule ? props : children);
781
+ break;
782
+ default:
783
+ parse(characters2, reference, reference, reference, [""], children, 0, points, children);
784
+ }
785
+ }
786
+ index = offset = property = 0, variable = ampersand = 1, type = characters2 = "", length2 = pseudo;
787
+ break;
788
+ // :
789
+ case 58:
790
+ length2 = 1 + strlen(characters2), property = previous;
791
+ default:
792
+ if (variable < 1) {
793
+ if (character2 == 123)
794
+ --variable;
795
+ else if (character2 == 125 && variable++ == 0 && prev() == 125)
796
+ continue;
797
+ }
798
+ switch (characters2 += from(character2), character2 * variable) {
799
+ // &
800
+ case 38:
801
+ ampersand = offset > 0 ? 1 : (characters2 += "\f", -1);
802
+ break;
803
+ // ,
804
+ case 44:
805
+ points[index++] = (strlen(characters2) - 1) * ampersand, ampersand = 1;
806
+ break;
807
+ // @
808
+ case 64:
809
+ if (peek() === 45)
810
+ characters2 += delimit(next());
811
+ atrule = peek(), offset = length2 = strlen(type = characters2 += identifier(caret())), character2++;
812
+ break;
813
+ // -
814
+ case 45:
815
+ if (previous === 45 && strlen(characters2) == 2)
816
+ variable = 0;
817
+ }
818
+ }
819
+ return rulesets;
820
+ }
821
+ function ruleset(value, root, parent, index, offset, rules, points, type, props, children, length2) {
822
+ var post = offset - 1;
823
+ var rule = offset === 0 ? rules : [""];
824
+ var size = sizeof(rule);
825
+ for (var i = 0, j = 0, k = 0; i < index; ++i)
826
+ for (var x = 0, y = substr(value, post + 1, post = abs(j = points[i])), z = value; x < size; ++x)
827
+ if (z = trim(j > 0 ? rule[x] + " " + y : replace(y, /&\f/g, rule[x])))
828
+ props[k++] = z;
829
+ return node(value, root, parent, offset === 0 ? RULESET : type, props, children, length2);
830
+ }
831
+ function comment(value, root, parent) {
832
+ return node(value, root, parent, COMMENT, from(char()), substr(value, 2, -2), 0);
833
+ }
834
+ function declaration(value, root, parent, length2) {
835
+ return node(value, root, parent, DECLARATION, substr(value, 0, length2), substr(value, length2 + 1, -1), length2);
836
+ }
837
+
838
+ // ../node_modules/stylis/src/Serializer.js
839
+ function serialize(children, callback) {
840
+ var output = "";
841
+ var length2 = sizeof(children);
842
+ for (var i = 0; i < length2; i++)
843
+ output += callback(children[i], i, children, callback) || "";
844
+ return output;
845
+ }
846
+ function stringify(element, index, children, callback) {
847
+ switch (element.type) {
848
+ case LAYER:
849
+ if (element.children.length) break;
850
+ case IMPORT:
851
+ case DECLARATION:
852
+ return element.return = element.return || element.value;
853
+ case COMMENT:
854
+ return "";
855
+ case KEYFRAMES:
856
+ return element.return = element.value + "{" + serialize(element.children, callback) + "}";
857
+ case RULESET:
858
+ element.value = element.props.join(",");
859
+ }
860
+ return strlen(children = serialize(element.children, callback)) ? element.return = element.value + "{" + children + "}" : "";
861
+ }
862
+
863
+ // ../node_modules/stylis/src/Middleware.js
864
+ function middleware(collection) {
865
+ var length2 = sizeof(collection);
866
+ return function(element, index, children, callback) {
867
+ var output = "";
868
+ for (var i = 0; i < length2; i++)
869
+ output += collection[i](element, index, children, callback) || "";
870
+ return output;
871
+ };
872
+ }
873
+ function rulesheet(callback) {
874
+ return function(element) {
875
+ if (!element.root) {
876
+ if (element = element.return)
877
+ callback(element);
878
+ }
879
+ };
880
+ }
881
+
882
+ // ../node_modules/@emotion/weak-memoize/dist/emotion-weak-memoize.esm.js
883
+ var weakMemoize = function weakMemoize2(func) {
884
+ var cache = /* @__PURE__ */ new WeakMap();
885
+ return function(arg) {
886
+ if (cache.has(arg)) {
887
+ return cache.get(arg);
888
+ }
889
+ var ret = func(arg);
890
+ cache.set(arg, ret);
891
+ return ret;
892
+ };
893
+ };
894
+
895
+ // ../node_modules/@emotion/memoize/dist/emotion-memoize.esm.js
896
+ function memoize(fn) {
897
+ var cache = /* @__PURE__ */ Object.create(null);
898
+ return function(arg) {
899
+ if (cache[arg] === void 0) cache[arg] = fn(arg);
900
+ return cache[arg];
901
+ };
902
+ }
903
+
904
+ // ../node_modules/@emotion/cache/dist/emotion-cache.esm.js
905
+ var isBrowser = typeof document !== "undefined";
906
+ var identifierWithPointTracking = function identifierWithPointTracking2(begin, points, index) {
907
+ var previous = 0;
908
+ var character2 = 0;
909
+ while (true) {
910
+ previous = character2;
911
+ character2 = peek();
912
+ if (previous === 38 && character2 === 12) {
913
+ points[index] = 1;
914
+ }
915
+ if (token(character2)) {
916
+ break;
917
+ }
918
+ next();
919
+ }
920
+ return slice(begin, position);
921
+ };
922
+ var toRules = function toRules2(parsed, points) {
923
+ var index = -1;
924
+ var character2 = 44;
925
+ do {
926
+ switch (token(character2)) {
927
+ case 0:
928
+ if (character2 === 38 && peek() === 12) {
929
+ points[index] = 1;
930
+ }
931
+ parsed[index] += identifierWithPointTracking(position - 1, points, index);
932
+ break;
933
+ case 2:
934
+ parsed[index] += delimit(character2);
935
+ break;
936
+ case 4:
937
+ if (character2 === 44) {
938
+ parsed[++index] = peek() === 58 ? "&\f" : "";
939
+ points[index] = parsed[index].length;
940
+ break;
941
+ }
942
+ // fallthrough
943
+ default:
944
+ parsed[index] += from(character2);
945
+ }
946
+ } while (character2 = next());
947
+ return parsed;
948
+ };
949
+ var getRules = function getRules2(value, points) {
950
+ return dealloc(toRules(alloc(value), points));
951
+ };
952
+ var fixedElements = /* @__PURE__ */ new WeakMap();
953
+ var compat = function compat2(element) {
954
+ if (element.type !== "rule" || !element.parent || // positive .length indicates that this rule contains pseudo
955
+ // negative .length indicates that this rule has been already prefixed
956
+ element.length < 1) {
957
+ return;
958
+ }
959
+ var value = element.value;
960
+ var parent = element.parent;
961
+ var isImplicitRule = element.column === parent.column && element.line === parent.line;
962
+ while (parent.type !== "rule") {
963
+ parent = parent.parent;
964
+ if (!parent) return;
965
+ }
966
+ if (element.props.length === 1 && value.charCodeAt(0) !== 58 && !fixedElements.get(parent)) {
967
+ return;
968
+ }
969
+ if (isImplicitRule) {
970
+ return;
971
+ }
972
+ fixedElements.set(element, true);
973
+ var points = [];
974
+ var rules = getRules(value, points);
975
+ var parentRules = parent.props;
976
+ for (var i = 0, k = 0; i < rules.length; i++) {
977
+ for (var j = 0; j < parentRules.length; j++, k++) {
978
+ element.props[k] = points[i] ? rules[i].replace(/&\f/g, parentRules[j]) : parentRules[j] + " " + rules[i];
979
+ }
980
+ }
981
+ };
982
+ var removeLabel = function removeLabel2(element) {
983
+ if (element.type === "decl") {
984
+ var value = element.value;
985
+ if (
986
+ // charcode for l
987
+ value.charCodeAt(0) === 108 && // charcode for b
988
+ value.charCodeAt(2) === 98
989
+ ) {
990
+ element["return"] = "";
991
+ element.value = "";
992
+ }
993
+ }
994
+ };
995
+ function prefix(value, length2) {
996
+ switch (hash(value, length2)) {
997
+ // color-adjust
998
+ case 5103:
999
+ return WEBKIT + "print-" + value + value;
1000
+ // animation, animation-(delay|direction|duration|fill-mode|iteration-count|name|play-state|timing-function)
1001
+ case 5737:
1002
+ case 4201:
1003
+ case 3177:
1004
+ case 3433:
1005
+ case 1641:
1006
+ case 4457:
1007
+ case 2921:
1008
+ // text-decoration, filter, clip-path, backface-visibility, column, box-decoration-break
1009
+ case 5572:
1010
+ case 6356:
1011
+ case 5844:
1012
+ case 3191:
1013
+ case 6645:
1014
+ case 3005:
1015
+ // mask, mask-image, mask-(mode|clip|size), mask-(repeat|origin), mask-position, mask-composite,
1016
+ case 6391:
1017
+ case 5879:
1018
+ case 5623:
1019
+ case 6135:
1020
+ case 4599:
1021
+ case 4855:
1022
+ // background-clip, columns, column-(count|fill|gap|rule|rule-color|rule-style|rule-width|span|width)
1023
+ case 4215:
1024
+ case 6389:
1025
+ case 5109:
1026
+ case 5365:
1027
+ case 5621:
1028
+ case 3829:
1029
+ return WEBKIT + value + value;
1030
+ // appearance, user-select, transform, hyphens, text-size-adjust
1031
+ case 5349:
1032
+ case 4246:
1033
+ case 4810:
1034
+ case 6968:
1035
+ case 2756:
1036
+ return WEBKIT + value + MOZ + value + MS + value + value;
1037
+ // flex, flex-direction
1038
+ case 6828:
1039
+ case 4268:
1040
+ return WEBKIT + value + MS + value + value;
1041
+ // order
1042
+ case 6165:
1043
+ return WEBKIT + value + MS + "flex-" + value + value;
1044
+ // align-items
1045
+ case 5187:
1046
+ return WEBKIT + value + replace(value, /(\w+).+(:[^]+)/, WEBKIT + "box-$1$2" + MS + "flex-$1$2") + value;
1047
+ // align-self
1048
+ case 5443:
1049
+ return WEBKIT + value + MS + "flex-item-" + replace(value, /flex-|-self/, "") + value;
1050
+ // align-content
1051
+ case 4675:
1052
+ return WEBKIT + value + MS + "flex-line-pack" + replace(value, /align-content|flex-|-self/, "") + value;
1053
+ // flex-shrink
1054
+ case 5548:
1055
+ return WEBKIT + value + MS + replace(value, "shrink", "negative") + value;
1056
+ // flex-basis
1057
+ case 5292:
1058
+ return WEBKIT + value + MS + replace(value, "basis", "preferred-size") + value;
1059
+ // flex-grow
1060
+ case 6060:
1061
+ return WEBKIT + "box-" + replace(value, "-grow", "") + WEBKIT + value + MS + replace(value, "grow", "positive") + value;
1062
+ // transition
1063
+ case 4554:
1064
+ return WEBKIT + replace(value, /([^-])(transform)/g, "$1" + WEBKIT + "$2") + value;
1065
+ // cursor
1066
+ case 6187:
1067
+ return replace(replace(replace(value, /(zoom-|grab)/, WEBKIT + "$1"), /(image-set)/, WEBKIT + "$1"), value, "") + value;
1068
+ // background, background-image
1069
+ case 5495:
1070
+ case 3959:
1071
+ return replace(value, /(image-set\([^]*)/, WEBKIT + "$1$`$1");
1072
+ // justify-content
1073
+ case 4968:
1074
+ return replace(replace(value, /(.+:)(flex-)?(.*)/, WEBKIT + "box-pack:$3" + MS + "flex-pack:$3"), /s.+-b[^;]+/, "justify") + WEBKIT + value + value;
1075
+ // (margin|padding)-inline-(start|end)
1076
+ case 4095:
1077
+ case 3583:
1078
+ case 4068:
1079
+ case 2532:
1080
+ return replace(value, /(.+)-inline(.+)/, WEBKIT + "$1$2") + value;
1081
+ // (min|max)?(width|height|inline-size|block-size)
1082
+ case 8116:
1083
+ case 7059:
1084
+ case 5753:
1085
+ case 5535:
1086
+ case 5445:
1087
+ case 5701:
1088
+ case 4933:
1089
+ case 4677:
1090
+ case 5533:
1091
+ case 5789:
1092
+ case 5021:
1093
+ case 4765:
1094
+ if (strlen(value) - 1 - length2 > 6) switch (charat(value, length2 + 1)) {
1095
+ // (m)ax-content, (m)in-content
1096
+ case 109:
1097
+ if (charat(value, length2 + 4) !== 45) break;
1098
+ // (f)ill-available, (f)it-content
1099
+ case 102:
1100
+ return replace(value, /(.+:)(.+)-([^]+)/, "$1" + WEBKIT + "$2-$3$1" + MOZ + (charat(value, length2 + 3) == 108 ? "$3" : "$2-$3")) + value;
1101
+ // (s)tretch
1102
+ case 115:
1103
+ return ~indexof(value, "stretch") ? prefix(replace(value, "stretch", "fill-available"), length2) + value : value;
1104
+ }
1105
+ break;
1106
+ // position: sticky
1107
+ case 4949:
1108
+ if (charat(value, length2 + 1) !== 115) break;
1109
+ // display: (flex|inline-flex)
1110
+ case 6444:
1111
+ switch (charat(value, strlen(value) - 3 - (~indexof(value, "!important") && 10))) {
1112
+ // stic(k)y
1113
+ case 107:
1114
+ return replace(value, ":", ":" + WEBKIT) + value;
1115
+ // (inline-)?fl(e)x
1116
+ case 101:
1117
+ return replace(value, /(.+:)([^;!]+)(;|!.+)?/, "$1" + WEBKIT + (charat(value, 14) === 45 ? "inline-" : "") + "box$3$1" + WEBKIT + "$2$3$1" + MS + "$2box$3") + value;
1118
+ }
1119
+ break;
1120
+ // writing-mode
1121
+ case 5936:
1122
+ switch (charat(value, length2 + 11)) {
1123
+ // vertical-l(r)
1124
+ case 114:
1125
+ return WEBKIT + value + MS + replace(value, /[svh]\w+-[tblr]{2}/, "tb") + value;
1126
+ // vertical-r(l)
1127
+ case 108:
1128
+ return WEBKIT + value + MS + replace(value, /[svh]\w+-[tblr]{2}/, "tb-rl") + value;
1129
+ // horizontal(-)tb
1130
+ case 45:
1131
+ return WEBKIT + value + MS + replace(value, /[svh]\w+-[tblr]{2}/, "lr") + value;
1132
+ }
1133
+ return WEBKIT + value + MS + value + value;
1134
+ }
1135
+ return value;
1136
+ }
1137
+ var prefixer = function prefixer2(element, index, children, callback) {
1138
+ if (element.length > -1) {
1139
+ if (!element["return"]) switch (element.type) {
1140
+ case DECLARATION:
1141
+ element["return"] = prefix(element.value, element.length);
1142
+ break;
1143
+ case KEYFRAMES:
1144
+ return serialize([copy(element, {
1145
+ value: replace(element.value, "@", "@" + WEBKIT)
1146
+ })], callback);
1147
+ case RULESET:
1148
+ if (element.length) return combine(element.props, function(value) {
1149
+ switch (match(value, /(::plac\w+|:read-\w+)/)) {
1150
+ // :read-(only|write)
1151
+ case ":read-only":
1152
+ case ":read-write":
1153
+ return serialize([copy(element, {
1154
+ props: [replace(value, /:(read-\w+)/, ":" + MOZ + "$1")]
1155
+ })], callback);
1156
+ // :placeholder
1157
+ case "::placeholder":
1158
+ return serialize([copy(element, {
1159
+ props: [replace(value, /:(plac\w+)/, ":" + WEBKIT + "input-$1")]
1160
+ }), copy(element, {
1161
+ props: [replace(value, /:(plac\w+)/, ":" + MOZ + "$1")]
1162
+ }), copy(element, {
1163
+ props: [replace(value, /:(plac\w+)/, MS + "input-$1")]
1164
+ })], callback);
1165
+ }
1166
+ return "";
1167
+ });
1168
+ }
1169
+ }
1170
+ };
1171
+ var getServerStylisCache = isBrowser ? void 0 : weakMemoize(function() {
1172
+ return memoize(function() {
1173
+ return {};
1174
+ });
1175
+ });
1176
+ var defaultStylisPlugins = [prefixer];
1177
+ var createCache = function createCache2(options) {
1178
+ var key = options.key;
1179
+ if (isBrowser && key === "css") {
1180
+ var ssrStyles = document.querySelectorAll("style[data-emotion]:not([data-s])");
1181
+ Array.prototype.forEach.call(ssrStyles, function(node2) {
1182
+ var dataEmotionAttribute = node2.getAttribute("data-emotion");
1183
+ if (dataEmotionAttribute.indexOf(" ") === -1) {
1184
+ return;
1185
+ }
1186
+ document.head.appendChild(node2);
1187
+ node2.setAttribute("data-s", "");
1188
+ });
1189
+ }
1190
+ var stylisPlugins = options.stylisPlugins || defaultStylisPlugins;
1191
+ var inserted = {};
1192
+ var container;
1193
+ var nodesToHydrate = [];
1194
+ if (isBrowser) {
1195
+ container = options.container || document.head;
1196
+ Array.prototype.forEach.call(
1197
+ // this means we will ignore elements which don't have a space in them which
1198
+ // means that the style elements we're looking at are only Emotion 11 server-rendered style elements
1199
+ document.querySelectorAll('style[data-emotion^="' + key + ' "]'),
1200
+ function(node2) {
1201
+ var attrib = node2.getAttribute("data-emotion").split(" ");
1202
+ for (var i = 1; i < attrib.length; i++) {
1203
+ inserted[attrib[i]] = true;
1204
+ }
1205
+ nodesToHydrate.push(node2);
1206
+ }
1207
+ );
1208
+ }
1209
+ var _insert;
1210
+ var omnipresentPlugins = [compat, removeLabel];
1211
+ if (!getServerStylisCache) {
1212
+ var currentSheet;
1213
+ var finalizingPlugins = [stringify, rulesheet(function(rule) {
1214
+ currentSheet.insert(rule);
1215
+ })];
1216
+ var serializer = middleware(omnipresentPlugins.concat(stylisPlugins, finalizingPlugins));
1217
+ var stylis = function stylis2(styles) {
1218
+ return serialize(compile(styles), serializer);
1219
+ };
1220
+ _insert = function insert(selector, serialized, sheet, shouldCache) {
1221
+ currentSheet = sheet;
1222
+ stylis(selector ? selector + "{" + serialized.styles + "}" : serialized.styles);
1223
+ if (shouldCache) {
1224
+ cache.inserted[serialized.name] = true;
1225
+ }
1226
+ };
1227
+ } else {
1228
+ var _finalizingPlugins = [stringify];
1229
+ var _serializer = middleware(omnipresentPlugins.concat(stylisPlugins, _finalizingPlugins));
1230
+ var _stylis = function _stylis2(styles) {
1231
+ return serialize(compile(styles), _serializer);
1232
+ };
1233
+ var serverStylisCache = getServerStylisCache(stylisPlugins)(key);
1234
+ var getRules3 = function getRules4(selector, serialized) {
1235
+ var name = serialized.name;
1236
+ if (serverStylisCache[name] === void 0) {
1237
+ serverStylisCache[name] = _stylis(selector ? selector + "{" + serialized.styles + "}" : serialized.styles);
1238
+ }
1239
+ return serverStylisCache[name];
1240
+ };
1241
+ _insert = function _insert2(selector, serialized, sheet, shouldCache) {
1242
+ var name = serialized.name;
1243
+ var rules = getRules3(selector, serialized);
1244
+ if (cache.compat === void 0) {
1245
+ if (shouldCache) {
1246
+ cache.inserted[name] = true;
1247
+ }
1248
+ return rules;
1249
+ } else {
1250
+ if (shouldCache) {
1251
+ cache.inserted[name] = rules;
1252
+ } else {
1253
+ return rules;
1254
+ }
1255
+ }
1256
+ };
1257
+ }
1258
+ var cache = {
1259
+ key,
1260
+ sheet: new StyleSheet({
1261
+ key,
1262
+ container,
1263
+ nonce: options.nonce,
1264
+ speedy: options.speedy,
1265
+ prepend: options.prepend,
1266
+ insertionPoint: options.insertionPoint
1267
+ }),
1268
+ nonce: options.nonce,
1269
+ inserted,
1270
+ registered: {},
1271
+ insert: _insert
1272
+ };
1273
+ cache.sheet.hydrate(nodesToHydrate);
1274
+ return cache;
1275
+ };
1276
+
1277
+ // ../node_modules/@emotion/utils/dist/emotion-utils.esm.js
1278
+ var isBrowser2 = typeof document !== "undefined";
1279
+ function getRegisteredStyles(registered, registeredStyles, classNames) {
1280
+ var rawClassName = "";
1281
+ classNames.split(" ").forEach(function(className) {
1282
+ if (registered[className] !== void 0) {
1283
+ registeredStyles.push(registered[className] + ";");
1284
+ } else if (className) {
1285
+ rawClassName += className + " ";
1286
+ }
1287
+ });
1288
+ return rawClassName;
1289
+ }
1290
+ var registerStyles = function registerStyles2(cache, serialized, isStringTag) {
1291
+ var className = cache.key + "-" + serialized.name;
1292
+ if (
1293
+ // we only need to add the styles to the registered cache if the
1294
+ // class name could be used further down
1295
+ // the tree but if it's a string tag, we know it won't
1296
+ // so we don't have to add it to registered cache.
1297
+ // this improves memory usage since we can avoid storing the whole style string
1298
+ (isStringTag === false || // we need to always store it if we're in compat mode and
1299
+ // in node since emotion-server relies on whether a style is in
1300
+ // the registered cache to know whether a style is global or not
1301
+ // also, note that this check will be dead code eliminated in the browser
1302
+ isBrowser2 === false && cache.compat !== void 0) && cache.registered[className] === void 0
1303
+ ) {
1304
+ cache.registered[className] = serialized.styles;
1305
+ }
1306
+ };
1307
+ var insertStyles = function insertStyles2(cache, serialized, isStringTag) {
1308
+ registerStyles(cache, serialized, isStringTag);
1309
+ var className = cache.key + "-" + serialized.name;
1310
+ if (cache.inserted[serialized.name] === void 0) {
1311
+ var stylesForSSR = "";
1312
+ var current = serialized;
1313
+ do {
1314
+ var maybeStyles = cache.insert(serialized === current ? "." + className : "", current, cache.sheet, true);
1315
+ if (!isBrowser2 && maybeStyles !== void 0) {
1316
+ stylesForSSR += maybeStyles;
1317
+ }
1318
+ current = current.next;
1319
+ } while (current !== void 0);
1320
+ if (!isBrowser2 && stylesForSSR.length !== 0) {
1321
+ return stylesForSSR;
1322
+ }
1323
+ }
1324
+ };
1325
+
1326
+ // ../node_modules/@emotion/hash/dist/emotion-hash.esm.js
1327
+ function murmur2(str) {
1328
+ var h = 0;
1329
+ var k, i = 0, len = str.length;
1330
+ for (; len >= 4; ++i, len -= 4) {
1331
+ k = str.charCodeAt(i) & 255 | (str.charCodeAt(++i) & 255) << 8 | (str.charCodeAt(++i) & 255) << 16 | (str.charCodeAt(++i) & 255) << 24;
1332
+ k = /* Math.imul(k, m): */
1333
+ (k & 65535) * 1540483477 + ((k >>> 16) * 59797 << 16);
1334
+ k ^= /* k >>> r: */
1335
+ k >>> 24;
1336
+ h = /* Math.imul(k, m): */
1337
+ (k & 65535) * 1540483477 + ((k >>> 16) * 59797 << 16) ^ /* Math.imul(h, m): */
1338
+ (h & 65535) * 1540483477 + ((h >>> 16) * 59797 << 16);
1339
+ }
1340
+ switch (len) {
1341
+ case 3:
1342
+ h ^= (str.charCodeAt(i + 2) & 255) << 16;
1343
+ case 2:
1344
+ h ^= (str.charCodeAt(i + 1) & 255) << 8;
1345
+ case 1:
1346
+ h ^= str.charCodeAt(i) & 255;
1347
+ h = /* Math.imul(h, m): */
1348
+ (h & 65535) * 1540483477 + ((h >>> 16) * 59797 << 16);
1349
+ }
1350
+ h ^= h >>> 13;
1351
+ h = /* Math.imul(h, m): */
1352
+ (h & 65535) * 1540483477 + ((h >>> 16) * 59797 << 16);
1353
+ return ((h ^ h >>> 15) >>> 0).toString(36);
1354
+ }
1355
+
1356
+ // ../node_modules/@emotion/unitless/dist/emotion-unitless.esm.js
1357
+ var unitlessKeys = {
1358
+ animationIterationCount: 1,
1359
+ aspectRatio: 1,
1360
+ borderImageOutset: 1,
1361
+ borderImageSlice: 1,
1362
+ borderImageWidth: 1,
1363
+ boxFlex: 1,
1364
+ boxFlexGroup: 1,
1365
+ boxOrdinalGroup: 1,
1366
+ columnCount: 1,
1367
+ columns: 1,
1368
+ flex: 1,
1369
+ flexGrow: 1,
1370
+ flexPositive: 1,
1371
+ flexShrink: 1,
1372
+ flexNegative: 1,
1373
+ flexOrder: 1,
1374
+ gridRow: 1,
1375
+ gridRowEnd: 1,
1376
+ gridRowSpan: 1,
1377
+ gridRowStart: 1,
1378
+ gridColumn: 1,
1379
+ gridColumnEnd: 1,
1380
+ gridColumnSpan: 1,
1381
+ gridColumnStart: 1,
1382
+ msGridRow: 1,
1383
+ msGridRowSpan: 1,
1384
+ msGridColumn: 1,
1385
+ msGridColumnSpan: 1,
1386
+ fontWeight: 1,
1387
+ lineHeight: 1,
1388
+ opacity: 1,
1389
+ order: 1,
1390
+ orphans: 1,
1391
+ scale: 1,
1392
+ tabSize: 1,
1393
+ widows: 1,
1394
+ zIndex: 1,
1395
+ zoom: 1,
1396
+ WebkitLineClamp: 1,
1397
+ // SVG-related properties
1398
+ fillOpacity: 1,
1399
+ floodOpacity: 1,
1400
+ stopOpacity: 1,
1401
+ strokeDasharray: 1,
1402
+ strokeDashoffset: 1,
1403
+ strokeMiterlimit: 1,
1404
+ strokeOpacity: 1,
1405
+ strokeWidth: 1
1406
+ };
1407
+ var hyphenateRegex = /[A-Z]|^ms/g;
1408
+ var animationRegex = /_EMO_([^_]+?)_([^]*?)_EMO_/g;
1409
+ var isCustomProperty = function isCustomProperty2(property) {
1410
+ return property.charCodeAt(1) === 45;
1411
+ };
1412
+ var isProcessableValue = function isProcessableValue2(value) {
1413
+ return value != null && typeof value !== "boolean";
1414
+ };
1415
+ var processStyleName = /* @__PURE__ */ memoize(function(styleName) {
1416
+ return isCustomProperty(styleName) ? styleName : styleName.replace(hyphenateRegex, "-$&").toLowerCase();
1417
+ });
1418
+ var processStyleValue = function processStyleValue2(key, value) {
1419
+ switch (key) {
1420
+ case "animation":
1421
+ case "animationName": {
1422
+ if (typeof value === "string") {
1423
+ return value.replace(animationRegex, function(match2, p1, p2) {
1424
+ cursor = {
1425
+ name: p1,
1426
+ styles: p2,
1427
+ next: cursor
1428
+ };
1429
+ return p1;
1430
+ });
1431
+ }
1432
+ }
1433
+ }
1434
+ if (unitlessKeys[key] !== 1 && !isCustomProperty(key) && typeof value === "number" && value !== 0) {
1435
+ return value + "px";
1436
+ }
1437
+ return value;
1438
+ };
1439
+ function handleInterpolation(mergedProps, registered, interpolation) {
1440
+ if (interpolation == null) {
1441
+ return "";
1442
+ }
1443
+ var componentSelector = interpolation;
1444
+ if (componentSelector.__emotion_styles !== void 0) {
1445
+ return componentSelector;
1446
+ }
1447
+ switch (typeof interpolation) {
1448
+ case "boolean": {
1449
+ return "";
1450
+ }
1451
+ case "object": {
1452
+ var keyframes3 = interpolation;
1453
+ if (keyframes3.anim === 1) {
1454
+ cursor = {
1455
+ name: keyframes3.name,
1456
+ styles: keyframes3.styles,
1457
+ next: cursor
1458
+ };
1459
+ return keyframes3.name;
1460
+ }
1461
+ var serializedStyles = interpolation;
1462
+ if (serializedStyles.styles !== void 0) {
1463
+ var next2 = serializedStyles.next;
1464
+ if (next2 !== void 0) {
1465
+ while (next2 !== void 0) {
1466
+ cursor = {
1467
+ name: next2.name,
1468
+ styles: next2.styles,
1469
+ next: cursor
1470
+ };
1471
+ next2 = next2.next;
1472
+ }
1473
+ }
1474
+ var styles = serializedStyles.styles + ";";
1475
+ return styles;
1476
+ }
1477
+ return createStringFromObject(mergedProps, registered, interpolation);
1478
+ }
1479
+ case "function": {
1480
+ if (mergedProps !== void 0) {
1481
+ var previousCursor = cursor;
1482
+ var result = interpolation(mergedProps);
1483
+ cursor = previousCursor;
1484
+ return handleInterpolation(mergedProps, registered, result);
1485
+ }
1486
+ break;
1487
+ }
1488
+ }
1489
+ var asString = interpolation;
1490
+ if (registered == null) {
1491
+ return asString;
1492
+ }
1493
+ var cached = registered[asString];
1494
+ return cached !== void 0 ? cached : asString;
1495
+ }
1496
+ function createStringFromObject(mergedProps, registered, obj) {
1497
+ var string = "";
1498
+ if (Array.isArray(obj)) {
1499
+ for (var i = 0; i < obj.length; i++) {
1500
+ string += handleInterpolation(mergedProps, registered, obj[i]) + ";";
1501
+ }
1502
+ } else {
1503
+ for (var key in obj) {
1504
+ var value = obj[key];
1505
+ if (typeof value !== "object") {
1506
+ var asString = value;
1507
+ if (registered != null && registered[asString] !== void 0) {
1508
+ string += key + "{" + registered[asString] + "}";
1509
+ } else if (isProcessableValue(asString)) {
1510
+ string += processStyleName(key) + ":" + processStyleValue(key, asString) + ";";
1511
+ }
1512
+ } else {
1513
+ if (Array.isArray(value) && typeof value[0] === "string" && (registered == null || registered[value[0]] === void 0)) {
1514
+ for (var _i = 0; _i < value.length; _i++) {
1515
+ if (isProcessableValue(value[_i])) {
1516
+ string += processStyleName(key) + ":" + processStyleValue(key, value[_i]) + ";";
1517
+ }
1518
+ }
1519
+ } else {
1520
+ var interpolated = handleInterpolation(mergedProps, registered, value);
1521
+ switch (key) {
1522
+ case "animation":
1523
+ case "animationName": {
1524
+ string += processStyleName(key) + ":" + interpolated + ";";
1525
+ break;
1526
+ }
1527
+ default: {
1528
+ string += key + "{" + interpolated + "}";
1529
+ }
1530
+ }
1531
+ }
1532
+ }
1533
+ }
1534
+ }
1535
+ return string;
1536
+ }
1537
+ var labelPattern = /label:\s*([^\s;{]+)\s*(;|$)/g;
1538
+ var cursor;
1539
+ function serializeStyles(args, registered, mergedProps) {
1540
+ if (args.length === 1 && typeof args[0] === "object" && args[0] !== null && args[0].styles !== void 0) {
1541
+ return args[0];
1542
+ }
1543
+ var stringMode = true;
1544
+ var styles = "";
1545
+ cursor = void 0;
1546
+ var strings = args[0];
1547
+ if (strings == null || strings.raw === void 0) {
1548
+ stringMode = false;
1549
+ styles += handleInterpolation(mergedProps, registered, strings);
1550
+ } else {
1551
+ var asTemplateStringsArr = strings;
1552
+ styles += asTemplateStringsArr[0];
1553
+ }
1554
+ for (var i = 1; i < args.length; i++) {
1555
+ styles += handleInterpolation(mergedProps, registered, args[i]);
1556
+ if (stringMode) {
1557
+ var templateStringsArr = strings;
1558
+ styles += templateStringsArr[i];
1559
+ }
1560
+ }
1561
+ labelPattern.lastIndex = 0;
1562
+ var identifierName = "";
1563
+ var match2;
1564
+ while ((match2 = labelPattern.exec(styles)) !== null) {
1565
+ identifierName += "-" + match2[1];
1566
+ }
1567
+ var name = murmur2(styles) + identifierName;
1568
+ return {
1569
+ name,
1570
+ styles,
1571
+ next: cursor
1572
+ };
1573
+ }
1574
+ var isBrowser3 = typeof document !== "undefined";
1575
+ var syncFallback = function syncFallback2(create) {
1576
+ return create();
1577
+ };
1578
+ var useInsertionEffect2 = React2["useInsertionEffect"] ? React2["useInsertionEffect"] : false;
1579
+ var useInsertionEffectAlwaysWithSyncFallback = !isBrowser3 ? syncFallback : useInsertionEffect2 || syncFallback;
1580
+ var isBrowser4 = typeof document !== "undefined";
1581
+ var EmotionCacheContext = /* @__PURE__ */ React2.createContext(
1582
+ // we're doing this to avoid preconstruct's dead code elimination in this one case
1583
+ // because this module is primarily intended for the browser and node
1584
+ // but it's also required in react native and similar environments sometimes
1585
+ // and we could have a special build just for that
1586
+ // but this is much easier and the native packages
1587
+ // might use a different theme context in the future anyway
1588
+ typeof HTMLElement !== "undefined" ? /* @__PURE__ */ createCache({
1589
+ key: "css"
1590
+ }) : null
1591
+ );
1592
+ EmotionCacheContext.Provider;
1593
+ var withEmotionCache = function withEmotionCache2(func) {
1594
+ return /* @__PURE__ */ forwardRef(function(props, ref) {
1595
+ var cache = useContext(EmotionCacheContext);
1596
+ return func(props, cache, ref);
1597
+ });
1598
+ };
1599
+ if (!isBrowser4) {
1600
+ withEmotionCache = function withEmotionCache3(func) {
1601
+ return function(props) {
1602
+ var cache = useContext(EmotionCacheContext);
1603
+ if (cache === null) {
1604
+ cache = createCache({
1605
+ key: "css"
1606
+ });
1607
+ return /* @__PURE__ */ React2.createElement(EmotionCacheContext.Provider, {
1608
+ value: cache
1609
+ }, func(props, cache));
1610
+ } else {
1611
+ return func(props, cache);
1612
+ }
1613
+ };
1614
+ };
1615
+ }
1616
+ var ThemeContext = /* @__PURE__ */ React2.createContext({});
1617
+ var hasOwn = {}.hasOwnProperty;
1618
+ var typePropName = "__EMOTION_TYPE_PLEASE_DO_NOT_USE__";
1619
+ var createEmotionProps = function createEmotionProps2(type, props) {
1620
+ var newProps = {};
1621
+ for (var _key in props) {
1622
+ if (hasOwn.call(props, _key)) {
1623
+ newProps[_key] = props[_key];
1624
+ }
1625
+ }
1626
+ newProps[typePropName] = type;
1627
+ return newProps;
1628
+ };
1629
+ var Insertion = function Insertion2(_ref) {
1630
+ var cache = _ref.cache, serialized = _ref.serialized, isStringTag = _ref.isStringTag;
1631
+ registerStyles(cache, serialized, isStringTag);
1632
+ var rules = useInsertionEffectAlwaysWithSyncFallback(function() {
1633
+ return insertStyles(cache, serialized, isStringTag);
1634
+ });
1635
+ if (!isBrowser4 && rules !== void 0) {
1636
+ var _ref2;
1637
+ var serializedNames = serialized.name;
1638
+ var next2 = serialized.next;
1639
+ while (next2 !== void 0) {
1640
+ serializedNames += " " + next2.name;
1641
+ next2 = next2.next;
1642
+ }
1643
+ return /* @__PURE__ */ React2.createElement("style", (_ref2 = {}, _ref2["data-emotion"] = cache.key + " " + serializedNames, _ref2.dangerouslySetInnerHTML = {
1644
+ __html: rules
1645
+ }, _ref2.nonce = cache.sheet.nonce, _ref2));
1646
+ }
1647
+ return null;
1648
+ };
1649
+ var Emotion = /* @__PURE__ */ withEmotionCache(function(props, cache, ref) {
1650
+ var cssProp = props.css;
1651
+ if (typeof cssProp === "string" && cache.registered[cssProp] !== void 0) {
1652
+ cssProp = cache.registered[cssProp];
1653
+ }
1654
+ var WrappedComponent = props[typePropName];
1655
+ var registeredStyles = [cssProp];
1656
+ var className = "";
1657
+ if (typeof props.className === "string") {
1658
+ className = getRegisteredStyles(cache.registered, registeredStyles, props.className);
1659
+ } else if (props.className != null) {
1660
+ className = props.className + " ";
1661
+ }
1662
+ var serialized = serializeStyles(registeredStyles, void 0, React2.useContext(ThemeContext));
1663
+ className += cache.key + "-" + serialized.name;
1664
+ var newProps = {};
1665
+ for (var _key2 in props) {
1666
+ if (hasOwn.call(props, _key2) && _key2 !== "css" && _key2 !== typePropName && true) {
1667
+ newProps[_key2] = props[_key2];
1668
+ }
1669
+ }
1670
+ newProps.className = className;
1671
+ if (ref) {
1672
+ newProps.ref = ref;
1673
+ }
1674
+ return /* @__PURE__ */ React2.createElement(React2.Fragment, null, /* @__PURE__ */ React2.createElement(Insertion, {
1675
+ cache,
1676
+ serialized,
1677
+ isStringTag: typeof WrappedComponent === "string"
1678
+ }), /* @__PURE__ */ React2.createElement(WrappedComponent, newProps));
1679
+ });
1680
+ var Emotion$1 = Emotion;
1681
+ __toESM(require_extends());
1682
+ __toESM(require_hoist_non_react_statics_cjs());
1683
+ var jsx = function jsx2(type, props) {
1684
+ var args = arguments;
1685
+ if (props == null || !hasOwn.call(props, "css")) {
1686
+ return React2.createElement.apply(void 0, args);
1687
+ }
1688
+ var argsLength = args.length;
1689
+ var createElementArgArray = new Array(argsLength);
1690
+ createElementArgArray[0] = Emotion$1;
1691
+ createElementArgArray[1] = createEmotionProps(type, props);
1692
+ for (var i = 2; i < argsLength; i++) {
1693
+ createElementArgArray[i] = args[i];
1694
+ }
1695
+ return React2.createElement.apply(null, createElementArgArray);
1696
+ };
1697
+ (function(_jsx) {
1698
+ var JSX;
1699
+ /* @__PURE__ */ (function(_JSX) {
1700
+ })(JSX || (JSX = _jsx.JSX || (_jsx.JSX = {})));
1701
+ })(jsx || (jsx = {}));
1702
+ function css() {
1703
+ for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
1704
+ args[_key] = arguments[_key];
1705
+ }
1706
+ return serializeStyles(args);
1707
+ }
1708
+ function keyframes() {
1709
+ var insertable = css.apply(void 0, arguments);
1710
+ var name = "animation-" + insertable.name;
1711
+ return {
1712
+ name,
1713
+ styles: "@keyframes " + name + "{" + insertable.styles + "}",
1714
+ anim: 1,
1715
+ toString: function toString() {
1716
+ return "_EMO_" + this.name + "_" + this.styles + "_EMO_";
1717
+ }
1718
+ };
1719
+ }
1720
+
1721
+ // ../node_modules/@emotion/is-prop-valid/dist/emotion-is-prop-valid.esm.js
1722
+ var reactPropsRegex = /^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|disableRemotePlayback|download|draggable|encType|enterKeyHint|fetchpriority|fetchPriority|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|popover|popoverTarget|popoverTargetAction|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/;
1723
+ var isPropValid = /* @__PURE__ */ memoize(
1724
+ function(prop) {
1725
+ return reactPropsRegex.test(prop) || prop.charCodeAt(0) === 111 && prop.charCodeAt(1) === 110 && prop.charCodeAt(2) < 91;
1726
+ }
1727
+ /* Z+1 */
1728
+ );
1729
+
1730
+ // ../node_modules/@emotion/styled/base/dist/emotion-styled-base.esm.js
1731
+ var isBrowser5 = typeof document !== "undefined";
1732
+ var testOmitPropsOnStringTag = isPropValid;
1733
+ var testOmitPropsOnComponent = function testOmitPropsOnComponent2(key) {
1734
+ return key !== "theme";
1735
+ };
1736
+ var getDefaultShouldForwardProp = function getDefaultShouldForwardProp2(tag) {
1737
+ return typeof tag === "string" && // 96 is one less than the char code
1738
+ // for "a" so this is checking that
1739
+ // it's a lowercase character
1740
+ tag.charCodeAt(0) > 96 ? testOmitPropsOnStringTag : testOmitPropsOnComponent;
1741
+ };
1742
+ var composeShouldForwardProps = function composeShouldForwardProps2(tag, options, isReal) {
1743
+ var shouldForwardProp;
1744
+ if (options) {
1745
+ var optionsShouldForwardProp = options.shouldForwardProp;
1746
+ shouldForwardProp = tag.__emotion_forwardProp && optionsShouldForwardProp ? function(propName) {
1747
+ return tag.__emotion_forwardProp(propName) && optionsShouldForwardProp(propName);
1748
+ } : optionsShouldForwardProp;
1749
+ }
1750
+ if (typeof shouldForwardProp !== "function" && isReal) {
1751
+ shouldForwardProp = tag.__emotion_forwardProp;
1752
+ }
1753
+ return shouldForwardProp;
1754
+ };
1755
+ var Insertion3 = function Insertion4(_ref) {
1756
+ var cache = _ref.cache, serialized = _ref.serialized, isStringTag = _ref.isStringTag;
1757
+ registerStyles(cache, serialized, isStringTag);
1758
+ var rules = useInsertionEffectAlwaysWithSyncFallback(function() {
1759
+ return insertStyles(cache, serialized, isStringTag);
1760
+ });
1761
+ if (!isBrowser5 && rules !== void 0) {
1762
+ var _ref2;
1763
+ var serializedNames = serialized.name;
1764
+ var next2 = serialized.next;
1765
+ while (next2 !== void 0) {
1766
+ serializedNames += " " + next2.name;
1767
+ next2 = next2.next;
1768
+ }
1769
+ return /* @__PURE__ */ React2.createElement("style", (_ref2 = {}, _ref2["data-emotion"] = cache.key + " " + serializedNames, _ref2.dangerouslySetInnerHTML = {
1770
+ __html: rules
1771
+ }, _ref2.nonce = cache.sheet.nonce, _ref2));
1772
+ }
1773
+ return null;
1774
+ };
1775
+ var createStyled = function createStyled2(tag, options) {
1776
+ var isReal = tag.__emotion_real === tag;
1777
+ var baseTag = isReal && tag.__emotion_base || tag;
1778
+ var identifierName;
1779
+ var targetClassName;
1780
+ if (options !== void 0) {
1781
+ identifierName = options.label;
1782
+ targetClassName = options.target;
1783
+ }
1784
+ var shouldForwardProp = composeShouldForwardProps(tag, options, isReal);
1785
+ var defaultShouldForwardProp = shouldForwardProp || getDefaultShouldForwardProp(baseTag);
1786
+ var shouldUseAs = !defaultShouldForwardProp("as");
1787
+ return function() {
1788
+ var args = arguments;
1789
+ var styles = isReal && tag.__emotion_styles !== void 0 ? tag.__emotion_styles.slice(0) : [];
1790
+ if (identifierName !== void 0) {
1791
+ styles.push("label:" + identifierName + ";");
1792
+ }
1793
+ if (args[0] == null || args[0].raw === void 0) {
1794
+ styles.push.apply(styles, args);
1795
+ } else {
1796
+ var templateStringsArr = args[0];
1797
+ styles.push(templateStringsArr[0]);
1798
+ var len = args.length;
1799
+ var i = 1;
1800
+ for (; i < len; i++) {
1801
+ styles.push(args[i], templateStringsArr[i]);
1802
+ }
1803
+ }
1804
+ var Styled = withEmotionCache(function(props, cache, ref) {
1805
+ var FinalTag = shouldUseAs && props.as || baseTag;
1806
+ var className = "";
1807
+ var classInterpolations = [];
1808
+ var mergedProps = props;
1809
+ if (props.theme == null) {
1810
+ mergedProps = {};
1811
+ for (var key in props) {
1812
+ mergedProps[key] = props[key];
1813
+ }
1814
+ mergedProps.theme = React2.useContext(ThemeContext);
1815
+ }
1816
+ if (typeof props.className === "string") {
1817
+ className = getRegisteredStyles(cache.registered, classInterpolations, props.className);
1818
+ } else if (props.className != null) {
1819
+ className = props.className + " ";
1820
+ }
1821
+ var serialized = serializeStyles(styles.concat(classInterpolations), cache.registered, mergedProps);
1822
+ className += cache.key + "-" + serialized.name;
1823
+ if (targetClassName !== void 0) {
1824
+ className += " " + targetClassName;
1825
+ }
1826
+ var finalShouldForwardProp = shouldUseAs && shouldForwardProp === void 0 ? getDefaultShouldForwardProp(FinalTag) : defaultShouldForwardProp;
1827
+ var newProps = {};
1828
+ for (var _key in props) {
1829
+ if (shouldUseAs && _key === "as") continue;
1830
+ if (finalShouldForwardProp(_key)) {
1831
+ newProps[_key] = props[_key];
1832
+ }
1833
+ }
1834
+ newProps.className = className;
1835
+ if (ref) {
1836
+ newProps.ref = ref;
1837
+ }
1838
+ return /* @__PURE__ */ React2.createElement(React2.Fragment, null, /* @__PURE__ */ React2.createElement(Insertion3, {
1839
+ cache,
1840
+ serialized,
1841
+ isStringTag: typeof FinalTag === "string"
1842
+ }), /* @__PURE__ */ React2.createElement(FinalTag, newProps));
1843
+ });
1844
+ Styled.displayName = identifierName !== void 0 ? identifierName : "Styled(" + (typeof baseTag === "string" ? baseTag : baseTag.displayName || baseTag.name || "Component") + ")";
1845
+ Styled.defaultProps = tag.defaultProps;
1846
+ Styled.__emotion_real = Styled;
1847
+ Styled.__emotion_base = baseTag;
1848
+ Styled.__emotion_styles = styles;
1849
+ Styled.__emotion_forwardProp = shouldForwardProp;
1850
+ Object.defineProperty(Styled, "toString", {
1851
+ value: function value() {
1852
+ return "." + targetClassName;
1853
+ }
1854
+ });
1855
+ Styled.withComponent = function(nextTag, nextOptions) {
1856
+ var newStyled = createStyled2(nextTag, _extends({}, options, nextOptions, {
1857
+ shouldForwardProp: composeShouldForwardProps(Styled, nextOptions, true)
1858
+ }));
1859
+ return newStyled.apply(void 0, styles);
1860
+ };
1861
+ return Styled;
1862
+ };
1863
+ };
1864
+
1865
+ // ../node_modules/@emotion/styled/dist/emotion-styled.esm.js
1866
+ __toESM(require_extends());
1867
+ var tags = [
1868
+ "a",
1869
+ "abbr",
1870
+ "address",
1871
+ "area",
1872
+ "article",
1873
+ "aside",
1874
+ "audio",
1875
+ "b",
1876
+ "base",
1877
+ "bdi",
1878
+ "bdo",
1879
+ "big",
1880
+ "blockquote",
1881
+ "body",
1882
+ "br",
1883
+ "button",
1884
+ "canvas",
1885
+ "caption",
1886
+ "cite",
1887
+ "code",
1888
+ "col",
1889
+ "colgroup",
1890
+ "data",
1891
+ "datalist",
1892
+ "dd",
1893
+ "del",
1894
+ "details",
1895
+ "dfn",
1896
+ "dialog",
1897
+ "div",
1898
+ "dl",
1899
+ "dt",
1900
+ "em",
1901
+ "embed",
1902
+ "fieldset",
1903
+ "figcaption",
1904
+ "figure",
1905
+ "footer",
1906
+ "form",
1907
+ "h1",
1908
+ "h2",
1909
+ "h3",
1910
+ "h4",
1911
+ "h5",
1912
+ "h6",
1913
+ "head",
1914
+ "header",
1915
+ "hgroup",
1916
+ "hr",
1917
+ "html",
1918
+ "i",
1919
+ "iframe",
1920
+ "img",
1921
+ "input",
1922
+ "ins",
1923
+ "kbd",
1924
+ "keygen",
1925
+ "label",
1926
+ "legend",
1927
+ "li",
1928
+ "link",
1929
+ "main",
1930
+ "map",
1931
+ "mark",
1932
+ "marquee",
1933
+ "menu",
1934
+ "menuitem",
1935
+ "meta",
1936
+ "meter",
1937
+ "nav",
1938
+ "noscript",
1939
+ "object",
1940
+ "ol",
1941
+ "optgroup",
1942
+ "option",
1943
+ "output",
1944
+ "p",
1945
+ "param",
1946
+ "picture",
1947
+ "pre",
1948
+ "progress",
1949
+ "q",
1950
+ "rp",
1951
+ "rt",
1952
+ "ruby",
1953
+ "s",
1954
+ "samp",
1955
+ "script",
1956
+ "section",
1957
+ "select",
1958
+ "small",
1959
+ "source",
1960
+ "span",
1961
+ "strong",
1962
+ "style",
1963
+ "sub",
1964
+ "summary",
1965
+ "sup",
1966
+ "table",
1967
+ "tbody",
1968
+ "td",
1969
+ "textarea",
1970
+ "tfoot",
1971
+ "th",
1972
+ "thead",
1973
+ "time",
1974
+ "title",
1975
+ "tr",
1976
+ "track",
1977
+ "u",
1978
+ "ul",
1979
+ "var",
1980
+ "video",
1981
+ "wbr",
1982
+ // SVG
1983
+ "circle",
1984
+ "clipPath",
1985
+ "defs",
1986
+ "ellipse",
1987
+ "foreignObject",
1988
+ "g",
1989
+ "image",
1990
+ "line",
1991
+ "linearGradient",
1992
+ "mask",
1993
+ "path",
1994
+ "pattern",
1995
+ "polygon",
1996
+ "polyline",
1997
+ "radialGradient",
1998
+ "rect",
1999
+ "stop",
2000
+ "svg",
2001
+ "text",
2002
+ "tspan"
2003
+ ];
2004
+ var styled = createStyled.bind(null);
2005
+ tags.forEach(function(tagName) {
2006
+ styled[tagName] = styled(tagName);
2007
+ });
11
2008
 
12
2009
  // src/styles/theme.ts
13
2010
  var theme = {
@@ -117,7 +2114,7 @@ var theme = {
117
2114
  // 32px
118
2115
  }
119
2116
  };
120
- var keyframes = {
2117
+ var keyframes2 = {
121
2118
  spin: `
122
2119
  from {
123
2120
  transform: rotate(0deg);
@@ -129,7 +2126,7 @@ var keyframes = {
129
2126
  };
130
2127
 
131
2128
  // src/components/atoms/styled.ts
132
- var spinAnimation = keyframes$1`${keyframes.spin}`;
2129
+ var spinAnimation = keyframes`${keyframes2.spin}`;
133
2130
  var AuthContainerWrapper = styled.div`
134
2131
  width: 100%;
135
2132
  max-width: 400px;
@@ -524,8 +2521,8 @@ var PasswordStrengthRequirement = styled.div`
524
2521
  `;
525
2522
  function AuthBranding() {
526
2523
  return /* @__PURE__ */ jsxs(AuthBrandingWrapper, { children: [
527
- /* @__PURE__ */ jsx(AuthBrandingText, { children: "Secured by" }),
528
- /* @__PURE__ */ jsx("a", { href: "https://insforge.dev", target: "_blank", rel: "noopener noreferrer", children: /* @__PURE__ */ jsxs(
2524
+ /* @__PURE__ */ jsx$1(AuthBrandingText, { children: "Secured by" }),
2525
+ /* @__PURE__ */ jsx$1("a", { href: "https://insforge.dev", target: "_blank", rel: "noopener noreferrer", children: /* @__PURE__ */ jsxs(
529
2526
  "svg",
530
2527
  {
531
2528
  width: "83",
@@ -534,21 +2531,21 @@ function AuthBranding() {
534
2531
  fill: "none",
535
2532
  xmlns: "http://www.w3.org/2000/svg",
536
2533
  children: [
537
- /* @__PURE__ */ jsx(
2534
+ /* @__PURE__ */ jsx$1(
538
2535
  "path",
539
2536
  {
540
2537
  d: "M2.16783 8.46797C1.9334 8.23325 1.9334 7.85269 2.16783 7.61797L8.11049 1.66797L16.6 1.66797L6.41259 11.868C6.17815 12.1027 5.79807 12.1027 5.56363 11.868L2.16783 8.46797Z",
541
2538
  fill: "url(#paint0_linear_2976_9475)"
542
2539
  }
543
2540
  ),
544
- /* @__PURE__ */ jsx(
2541
+ /* @__PURE__ */ jsx$1(
545
2542
  "path",
546
2543
  {
547
2544
  d: "M12.8858 6.44922L16.6 10.168V18.668L8.64108 10.6992L12.8858 6.44922Z",
548
2545
  fill: "url(#paint1_linear_2976_9475)"
549
2546
  }
550
2547
  ),
551
- /* @__PURE__ */ jsx(
2548
+ /* @__PURE__ */ jsx$1(
552
2549
  "path",
553
2550
  {
554
2551
  d: "M67.5439 6.48828C68.2894 6.48828 68.9145 6.67064 69.418 7.03516C69.5229 7.10943 69.6214 7.1907 69.7158 7.27637V6.70703H71.248V14.959C71.248 15.1583 71.2381 15.3485 71.2188 15.5283C71.2042 15.7129 71.1774 15.8925 71.1387 16.0674C71.0225 16.5776 70.7998 16.9957 70.4707 17.3213C70.1415 17.6518 69.7321 17.8972 69.2432 18.0576C68.7592 18.2179 68.2222 18.2988 67.6318 18.2988C67.1962 18.2988 66.7768 18.2308 66.375 18.0947C65.9782 17.9587 65.6202 17.7614 65.3008 17.5039C64.9813 17.2512 64.7199 16.9446 64.5166 16.585L66.1289 15.7832C66.2789 16.0698 66.4888 16.2819 66.7598 16.418C67.0356 16.5589 67.3289 16.6289 67.6387 16.6289C68.0016 16.6289 68.3258 16.5628 68.6113 16.4316C68.8969 16.3053 69.1176 16.116 69.2725 15.8633C69.4321 15.6155 69.5077 15.3047 69.498 14.9307V14.1797C69.4665 14.2037 69.4359 14.229 69.4033 14.252C68.8855 14.6164 68.2441 14.7988 67.4795 14.7988C66.7582 14.7988 66.1281 14.6165 65.5908 14.252C65.0537 13.8875 64.637 13.3915 64.3418 12.7646C64.0467 12.1378 63.8994 11.4307 63.8994 10.6436C63.8994 9.84651 64.0465 9.13673 64.3418 8.51465C64.6419 7.88768 65.0663 7.39481 65.6133 7.03516C66.1601 6.67077 66.8036 6.48836 67.5439 6.48828ZM37.5 6.48828C38.1099 6.48828 38.6496 6.58294 39.1191 6.77246C39.5935 6.96201 39.9762 7.2321 40.2666 7.58203C40.5569 7.93184 40.7359 8.34227 40.8037 8.81348L39.0176 9.13477C38.974 8.79951 38.8218 8.53424 38.5605 8.33984C38.304 8.14547 37.96 8.03605 37.5293 8.01172C37.1178 7.98742 36.7859 8.05051 36.5342 8.20117C36.2825 8.34698 36.1562 8.55398 36.1562 8.82129C36.1563 8.97184 36.208 9.10017 36.3096 9.20703C36.4112 9.31394 36.614 9.42141 36.9189 9.52832C37.2288 9.63524 37.6889 9.76635 38.2988 9.92188C38.9232 10.0823 39.4222 10.2666 39.7949 10.4756C40.1722 10.6796 40.4428 10.9254 40.6074 11.2119C40.7768 11.4987 40.8623 11.8466 40.8623 12.2549C40.8623 13.047 40.574 13.6691 39.998 14.1211C39.4268 14.5731 38.6348 14.7988 37.623 14.7988C36.6551 14.7988 35.8687 14.5799 35.2637 14.1426C34.6587 13.7052 34.2909 13.0908 34.1602 12.2988L35.9463 12.0215C36.0383 12.4102 36.2411 12.7169 36.5557 12.9404C36.8703 13.164 37.2678 13.2754 37.7471 13.2754C38.1681 13.2754 38.4922 13.1926 38.7197 13.0273C38.9521 12.8572 39.0684 12.6266 39.0684 12.335C39.0684 12.1552 39.0245 12.0122 38.9375 11.9053C38.8552 11.7935 38.6713 11.686 38.3857 11.584C38.1001 11.4819 37.6618 11.3528 37.0713 11.1973C36.4131 11.0223 35.8901 10.8359 35.5029 10.6367C35.1158 10.4327 34.8374 10.192 34.668 9.91504C34.4985 9.63801 34.4141 9.30188 34.4141 8.9082C34.4141 8.41746 34.5423 7.98943 34.7988 7.625C35.0553 7.26073 35.4135 6.98146 35.873 6.78711C36.3329 6.58784 36.8755 6.48828 37.5 6.48828ZM53.3047 6.48828C54.0937 6.48828 54.7815 6.66572 55.3672 7.02051C55.9527 7.37528 56.4072 7.86634 56.7314 8.49316C57.0558 9.11525 57.2187 9.83193 57.2188 10.6436C57.2188 11.46 57.0537 12.1817 56.7246 12.8086C56.4003 13.4307 55.9451 13.9196 55.3594 14.2744C54.7737 14.6242 54.0888 14.7988 53.3047 14.7988C52.5205 14.7988 51.8357 14.6214 51.25 14.2666C50.6643 13.9118 50.2091 13.4238 49.8848 12.8018C49.5653 12.1748 49.4053 11.4552 49.4053 10.6436C49.4053 9.81735 49.5703 9.09279 49.8994 8.4707C50.2286 7.8488 50.6859 7.36255 51.2715 7.0127C51.8572 6.66281 52.5351 6.48828 53.3047 6.48828ZM76.7471 6.48828C77.5603 6.48828 78.25 6.68053 78.8164 7.06445C79.3876 7.44351 79.812 7.97991 80.0879 8.6748C80.3638 9.36976 80.4672 10.189 80.3994 11.1318H74.7256C74.7843 11.6972 74.949 12.1516 75.2227 12.4951C75.5711 12.9325 76.0792 13.1513 76.7471 13.1514C77.1779 13.1514 77.5486 13.0567 77.8584 12.8672C78.173 12.6728 78.4146 12.3928 78.584 12.0283L80.3125 12.5537C80.0124 13.2633 79.5473 13.8153 78.918 14.209C78.2936 14.6025 77.6036 14.7988 76.8486 14.7988C76.0549 14.7988 75.358 14.6263 74.7578 14.2812C74.1576 13.9362 73.6875 13.458 73.3486 12.8457C73.0147 12.2334 72.8477 11.5284 72.8477 10.7314C72.8477 9.87126 73.0127 9.12495 73.3418 8.49316C73.671 7.85651 74.1282 7.36263 74.7139 7.0127C75.2995 6.6628 75.9775 6.48832 76.7471 6.48828ZM23.3301 14.5801H21.5801V4.08203H23.3301V14.5801ZM29.6152 6.48047C30.1959 6.48052 30.6753 6.5781 31.0527 6.77246C31.4301 6.96681 31.7305 7.21443 31.9531 7.51562C32.1758 7.81695 32.3398 8.13831 32.4463 8.47852C32.5528 8.81873 32.6213 9.14205 32.6504 9.44824C32.6843 9.74946 32.7012 9.99508 32.7012 10.1846V14.5801H30.9287V10.7891C30.9287 10.5413 30.9118 10.2669 30.8779 9.96582C30.844 9.66449 30.7645 9.37469 30.6387 9.09766C30.5177 8.81592 30.3337 8.58503 30.0869 8.40527C29.8449 8.22551 29.5157 8.13579 29.0996 8.13574C28.8769 8.13574 28.6563 8.17221 28.4385 8.24512C28.2206 8.31802 28.0219 8.4442 27.8428 8.62402C27.6685 8.79899 27.5284 9.04249 27.4219 9.35352C27.3154 9.65965 27.2617 10.0532 27.2617 10.5342V14.5801H25.4902V6.70703H27.0518V7.58301C27.2521 7.34675 27.486 7.14172 27.7559 6.96973C28.2593 6.64409 28.8794 6.48047 29.6152 6.48047ZM48.748 5.83887H44.2021V8.45605H47.876V10.2061H44.2021V14.5801H42.4521V4.08203H48.748V5.83887ZM62.5137 6.67773C62.7606 6.65829 63.001 6.66815 63.2334 6.70703V8.34766C63.001 8.27961 62.7317 8.25695 62.4268 8.28125C62.1267 8.30557 61.8553 8.39134 61.6133 8.53711C61.3715 8.66829 61.1733 8.83606 61.0186 9.04004C60.8686 9.24404 60.7572 9.47701 60.6846 9.73926C60.612 9.99685 60.5752 10.2768 60.5752 10.5781V14.5801H58.8184V6.70703H60.3652V7.96582C60.4243 7.85986 60.4888 7.75824 60.5605 7.66211C60.7251 7.4434 60.9219 7.26302 61.1494 7.12207C61.3429 6.99098 61.5559 6.88926 61.7881 6.81641C62.0251 6.73869 62.267 6.69235 62.5137 6.67773ZM67.8057 8.0625C67.3362 8.06252 66.9485 8.17982 66.6436 8.41309C66.3389 8.64144 66.1139 8.95232 65.9688 9.3457C65.8235 9.7345 65.751 10.1673 65.751 10.6436C65.751 11.1247 65.8215 11.5624 65.9619 11.9561C66.1071 12.3447 66.3269 12.6535 66.6221 12.8818C66.9174 13.1103 67.293 13.2246 67.748 13.2246C68.2174 13.2246 68.5953 13.1171 68.8809 12.9033C69.1711 12.6846 69.3811 12.3808 69.5117 11.9922C69.6473 11.6034 69.7158 11.1539 69.7158 10.6436C69.7158 10.1284 69.6473 9.67886 69.5117 9.29492C69.381 8.90617 69.1753 8.60445 68.8945 8.39062C68.6138 8.17213 68.2508 8.0625 67.8057 8.0625ZM53.3047 8.13574C52.8351 8.13574 52.4475 8.24222 52.1426 8.45605C51.8425 8.66504 51.6198 8.95977 51.4746 9.33887C51.3295 9.71303 51.2568 10.148 51.2568 10.6436C51.2568 11.4066 51.4288 12.0168 51.7725 12.4736C52.121 12.9256 52.6318 13.1514 53.3047 13.1514C54.0017 13.1514 54.5196 12.9177 54.8584 12.4512C55.1971 11.9846 55.3672 11.3822 55.3672 10.6436C55.3672 9.8807 55.1951 9.27324 54.8516 8.82129C54.5079 8.36444 53.9921 8.13575 53.3047 8.13574ZM76.8203 8.02637C76.1039 8.02637 75.5712 8.25013 75.2227 8.69727C74.9987 8.98144 74.8476 9.35094 74.7676 9.80566H78.6221C78.5589 9.29301 78.4236 8.89686 78.2139 8.61719C77.9186 8.22359 77.4543 8.02645 76.8203 8.02637Z",
@@ -566,8 +2563,8 @@ function AuthBranding() {
566
2563
  y2: "9.64016",
567
2564
  gradientUnits: "userSpaceOnUse",
568
2565
  children: [
569
- /* @__PURE__ */ jsx("stop", {}),
570
- /* @__PURE__ */ jsx("stop", { offset: "1", stopOpacity: "0.4" })
2566
+ /* @__PURE__ */ jsx$1("stop", {}),
2567
+ /* @__PURE__ */ jsx$1("stop", { offset: "1", stopOpacity: "0.4" })
571
2568
  ]
572
2569
  }
573
2570
  ),
@@ -581,8 +2578,8 @@ function AuthBranding() {
581
2578
  y2: "8.65468",
582
2579
  gradientUnits: "userSpaceOnUse",
583
2580
  children: [
584
- /* @__PURE__ */ jsx("stop", {}),
585
- /* @__PURE__ */ jsx("stop", { offset: "1", stopOpacity: "0.4" })
2581
+ /* @__PURE__ */ jsx$1("stop", {}),
2582
+ /* @__PURE__ */ jsx$1("stop", { offset: "1", stopOpacity: "0.4" })
586
2583
  ]
587
2584
  }
588
2585
  )
@@ -594,29 +2591,29 @@ function AuthBranding() {
594
2591
  }
595
2592
  function AuthContainer({ children }) {
596
2593
  return /* @__PURE__ */ jsxs(AuthContainerWrapper, { children: [
597
- /* @__PURE__ */ jsx(AuthCard, { children }),
598
- /* @__PURE__ */ jsx(AuthBranding, {})
2594
+ /* @__PURE__ */ jsx$1(AuthCard, { children }),
2595
+ /* @__PURE__ */ jsx$1(AuthBranding, {})
599
2596
  ] });
600
2597
  }
601
2598
  function AuthHeader({ title, subtitle }) {
602
2599
  return /* @__PURE__ */ jsxs(AuthHeaderWrapper, { children: [
603
- /* @__PURE__ */ jsx(AuthHeaderTitle, { children: title }),
604
- subtitle && /* @__PURE__ */ jsx(AuthHeaderSubtitle, { children: subtitle })
2600
+ /* @__PURE__ */ jsx$1(AuthHeaderTitle, { children: title }),
2601
+ subtitle && /* @__PURE__ */ jsx$1(AuthHeaderSubtitle, { children: subtitle })
605
2602
  ] });
606
2603
  }
607
2604
  function AuthErrorBanner({ error }) {
608
2605
  if (!error) {
609
2606
  return null;
610
2607
  }
611
- return /* @__PURE__ */ jsx(ErrorBannerWrapper, { children: /* @__PURE__ */ jsxs(ErrorBannerContent, { children: [
612
- /* @__PURE__ */ jsx(ErrorBannerIcon, { children: /* @__PURE__ */ jsx(AlertTriangle, {}) }),
613
- /* @__PURE__ */ jsx(ErrorBannerText, { children: error })
2608
+ return /* @__PURE__ */ jsx$1(ErrorBannerWrapper, { children: /* @__PURE__ */ jsxs(ErrorBannerContent, { children: [
2609
+ /* @__PURE__ */ jsx$1(ErrorBannerIcon, { children: /* @__PURE__ */ jsx$1(AlertTriangle, {}) }),
2610
+ /* @__PURE__ */ jsx$1(ErrorBannerText, { children: error })
614
2611
  ] }) });
615
2612
  }
616
2613
  function AuthFormField({ label, id, ...props }) {
617
2614
  return /* @__PURE__ */ jsxs(FormFieldWrapper, { children: [
618
- /* @__PURE__ */ jsx(FormFieldLabel, { htmlFor: id, children: label }),
619
- /* @__PURE__ */ jsx(FormFieldInput, { id, ...props })
2615
+ /* @__PURE__ */ jsx$1(FormFieldLabel, { htmlFor: id, children: label }),
2616
+ /* @__PURE__ */ jsx$1(FormFieldInput, { id, ...props })
620
2617
  ] });
621
2618
  }
622
2619
  var NavigationContext = createContext(null);
@@ -625,7 +2622,7 @@ function useNavigationAdapter() {
625
2622
  if (!adapter) {
626
2623
  return {
627
2624
  useSearchParams: () => new URLSearchParams(),
628
- Link: ({ href, children, className }) => /* @__PURE__ */ jsx("a", { href, className, children })
2625
+ Link: ({ href, children, className }) => /* @__PURE__ */ jsx$1("a", { href, className, children })
629
2626
  };
630
2627
  }
631
2628
  return adapter;
@@ -641,8 +2638,8 @@ function AuthPasswordStrengthIndicator({
641
2638
  config
642
2639
  }) {
643
2640
  const requirements = createRequirements(config);
644
- return /* @__PURE__ */ jsx(PasswordStrengthWrapper, { children: /* @__PURE__ */ jsx(PasswordStrengthRequirements, { children: requirements.map((req) => /* @__PURE__ */ jsxs(PasswordStrengthRequirement, { children: [
645
- /* @__PURE__ */ jsx(
2641
+ return /* @__PURE__ */ jsx$1(PasswordStrengthWrapper, { children: /* @__PURE__ */ jsx$1(PasswordStrengthRequirements, { children: requirements.map((req) => /* @__PURE__ */ jsxs(PasswordStrengthRequirement, { children: [
2642
+ /* @__PURE__ */ jsx$1(
646
2643
  "div",
647
2644
  {
648
2645
  style: {
@@ -657,10 +2654,10 @@ function AuthPasswordStrengthIndicator({
657
2654
  backgroundColor: req.test(password) ? "#059669" : "white",
658
2655
  transition: "all 0.2s"
659
2656
  },
660
- children: req.test(password) && /* @__PURE__ */ jsx(Check, { style: { width: "0.75rem", height: "0.75rem", color: "white" } })
2657
+ children: req.test(password) && /* @__PURE__ */ jsx$1(Check, { style: { width: "0.75rem", height: "0.75rem", color: "white" } })
661
2658
  }
662
2659
  ),
663
- /* @__PURE__ */ jsx("span", { children: req.label })
2660
+ /* @__PURE__ */ jsx$1("span", { children: req.label })
664
2661
  ] }, req.label)) }) });
665
2662
  }
666
2663
  function createRequirements(config) {
@@ -745,11 +2742,11 @@ function AuthPasswordField({
745
2742
  };
746
2743
  return /* @__PURE__ */ jsxs(PasswordFieldWrapper, { children: [
747
2744
  (label || forgotPasswordLink) && /* @__PURE__ */ jsxs(PasswordFieldLabelRow, { children: [
748
- /* @__PURE__ */ jsx(PasswordFieldLabel, { htmlFor: id, children: label }),
749
- forgotPasswordLink && resolvedForgotPasswordHref && /* @__PURE__ */ jsx(Link, { href: resolvedForgotPasswordHref, className: "", children: /* @__PURE__ */ jsx(PasswordFieldForgotLink, { as: "span", children: forgotPasswordLink.text || "Forget Password?" }) })
2745
+ /* @__PURE__ */ jsx$1(PasswordFieldLabel, { htmlFor: id, children: label }),
2746
+ forgotPasswordLink && resolvedForgotPasswordHref && /* @__PURE__ */ jsx$1(Link, { href: resolvedForgotPasswordHref, className: "", children: /* @__PURE__ */ jsx$1(PasswordFieldForgotLink, { as: "span", children: forgotPasswordLink.text || "Forget Password?" }) })
750
2747
  ] }),
751
2748
  /* @__PURE__ */ jsxs(PasswordFieldInputWrapper, { children: [
752
- /* @__PURE__ */ jsx(
2749
+ /* @__PURE__ */ jsx$1(
753
2750
  PasswordFieldInput,
754
2751
  {
755
2752
  id,
@@ -759,17 +2756,17 @@ function AuthPasswordField({
759
2756
  ...props
760
2757
  }
761
2758
  ),
762
- /* @__PURE__ */ jsx(
2759
+ /* @__PURE__ */ jsx$1(
763
2760
  PasswordFieldToggleButton,
764
2761
  {
765
2762
  type: "button",
766
2763
  onClick: () => setShowPassword(!showPassword),
767
2764
  "aria-label": showPassword ? "Hide password" : "Show password",
768
- children: showPassword ? /* @__PURE__ */ jsx(EyeOff, { size: 20 }) : /* @__PURE__ */ jsx(Eye, { size: 20 })
2765
+ children: showPassword ? /* @__PURE__ */ jsx$1(EyeOff, { size: 20 }) : /* @__PURE__ */ jsx$1(Eye, { size: 20 })
769
2766
  }
770
2767
  )
771
2768
  ] }),
772
- showStrengthIndicator && showStrength && /* @__PURE__ */ jsx(AuthPasswordStrengthIndicator, { password: String(value || ""), config: authConfig })
2769
+ showStrengthIndicator && showStrength && /* @__PURE__ */ jsx$1(AuthPasswordStrengthIndicator, { password: String(value || ""), config: authConfig })
773
2770
  ] });
774
2771
  }
775
2772
  function AuthSubmitButton({
@@ -781,8 +2778,8 @@ function AuthSubmitButton({
781
2778
  onClick
782
2779
  }) {
783
2780
  return /* @__PURE__ */ jsxs(SubmitButton, { type, disabled: disabled || isLoading || confirmed, onClick, children: [
784
- isLoading && /* @__PURE__ */ jsx(SubmitButtonSpinner, { children: /* @__PURE__ */ jsx(Loader2, { size: 20 }) }),
785
- confirmed && /* @__PURE__ */ jsx(SubmitButtonIcon, { children: /* @__PURE__ */ jsx(CircleCheck, { size: 20 }) }),
2781
+ isLoading && /* @__PURE__ */ jsx$1(SubmitButtonSpinner, { children: /* @__PURE__ */ jsx$1(Loader2, { size: 20 }) }),
2782
+ confirmed && /* @__PURE__ */ jsx$1(SubmitButtonIcon, { children: /* @__PURE__ */ jsx$1(CircleCheck, { size: 20 }) }),
786
2783
  children
787
2784
  ] });
788
2785
  }
@@ -791,44 +2788,44 @@ function AuthLink({ text, linkText, href }) {
791
2788
  const { Link } = useNavigationAdapter();
792
2789
  const finalHref = resolveAuthUrl(href, searchParams);
793
2790
  return /* @__PURE__ */ jsxs(AuthLinkWrapper, { children: [
794
- text && /* @__PURE__ */ jsx(AuthLinkText, { children: text }),
2791
+ text && /* @__PURE__ */ jsx$1(AuthLinkText, { children: text }),
795
2792
  text && " ",
796
- /* @__PURE__ */ jsx(Link, { href: finalHref, className: "", children: /* @__PURE__ */ jsx(AuthLinkLink, { as: "span", children: linkText }) })
2793
+ /* @__PURE__ */ jsx$1(Link, { href: finalHref, className: "", children: /* @__PURE__ */ jsx$1(AuthLinkLink, { as: "span", children: linkText }) })
797
2794
  ] });
798
2795
  }
799
2796
  function AuthDivider({ text = "or" }) {
800
2797
  return /* @__PURE__ */ jsxs(AuthDividerWrapper, { children: [
801
- /* @__PURE__ */ jsx(AuthDividerLine, {}),
802
- /* @__PURE__ */ jsx(AuthDividerText, { children: text }),
803
- /* @__PURE__ */ jsx(AuthDividerLine, {})
2798
+ /* @__PURE__ */ jsx$1(AuthDividerLine, {}),
2799
+ /* @__PURE__ */ jsx$1(AuthDividerText, { children: text }),
2800
+ /* @__PURE__ */ jsx$1(AuthDividerLine, {})
804
2801
  ] });
805
2802
  }
806
2803
  var OAUTH_PROVIDER_CONFIG = {
807
2804
  google: {
808
2805
  name: "Google",
809
2806
  svg: /* @__PURE__ */ jsxs("svg", { width: "18", height: "18", viewBox: "0 0 18 18", fill: "none", children: [
810
- /* @__PURE__ */ jsx(
2807
+ /* @__PURE__ */ jsx$1(
811
2808
  "path",
812
2809
  {
813
2810
  d: "M17.64 9.2c0-.637-.057-1.251-.164-1.84H9v3.481h4.844c-.209 1.125-.843 2.078-1.796 2.717v2.258h2.908c1.702-1.567 2.684-3.874 2.684-6.615z",
814
2811
  fill: "#4285F4"
815
2812
  }
816
2813
  ),
817
- /* @__PURE__ */ jsx(
2814
+ /* @__PURE__ */ jsx$1(
818
2815
  "path",
819
2816
  {
820
2817
  d: "M9 18c2.43 0 4.467-.806 5.956-2.184l-2.908-2.258c-.806.54-1.837.86-3.048.86-2.344 0-4.328-1.584-5.036-3.711H.957v2.332C2.438 15.983 5.482 18 9 18z",
821
2818
  fill: "#34A853"
822
2819
  }
823
2820
  ),
824
- /* @__PURE__ */ jsx(
2821
+ /* @__PURE__ */ jsx$1(
825
2822
  "path",
826
2823
  {
827
2824
  d: "M3.964 10.707c-.18-.54-.282-1.117-.282-1.707 0-.593.102-1.17.282-1.709V4.958H.957C.347 6.173 0 7.548 0 9c0 1.452.348 2.827.957 4.042l3.007-2.335z",
828
2825
  fill: "#FBBC05"
829
2826
  }
830
2827
  ),
831
- /* @__PURE__ */ jsx(
2828
+ /* @__PURE__ */ jsx$1(
832
2829
  "path",
833
2830
  {
834
2831
  d: "M9 3.58c1.321 0 2.508.454 3.44 1.345l2.582-2.58C13.463.891 11.426 0 9 0 5.482 0 2.438 2.017.957 4.958L3.964 7.29C4.672 5.163 6.656 3.58 9 3.58z",
@@ -840,12 +2837,12 @@ var OAUTH_PROVIDER_CONFIG = {
840
2837
  },
841
2838
  github: {
842
2839
  name: "GitHub",
843
- svg: /* @__PURE__ */ jsx("svg", { width: "18", height: "18", viewBox: "0 0 16 16", fill: "currentColor", children: /* @__PURE__ */ jsx("path", { d: "M8 0C3.58 0 0 3.58 0 8c0 3.54 2.29 6.53 5.47 7.59.4.07.55-.17.55-.38 0-.19-.01-.82-.01-1.49-2.01.37-2.53-.49-2.69-.94-.09-.23-.48-.94-.82-1.13-.28-.15-.68-.52-.01-.53.63-.01 1.08.58 1.23.82.72 1.21 1.87.87 2.33.66.07-.52.28-.87.51-1.07-1.78-.2-3.64-.89-3.64-3.95 0-.87.31-1.59.82-2.15-.08-.2-.36-1.02.08-2.12 0 0 .67-.21 2.2.82.64-.18 1.32-.27 2-.27.68 0 1.36.09 2 .27 1.53-1.04 2.2-.82 2.2-.82.44 1.1.16 1.92.08 2.12.51.56.82 1.27.82 2.15 0 3.07-1.87 3.75-3.65 3.95.29.25.54.73.54 1.48 0 1.07-.01 1.93-.01 2.2 0 .21.15.46.55.38A8.013 8.013 0 0016 8c0-4.42-3.58-8-8-8z" }) }),
2840
+ svg: /* @__PURE__ */ jsx$1("svg", { width: "18", height: "18", viewBox: "0 0 16 16", fill: "currentColor", children: /* @__PURE__ */ jsx$1("path", { d: "M8 0C3.58 0 0 3.58 0 8c0 3.54 2.29 6.53 5.47 7.59.4.07.55-.17.55-.38 0-.19-.01-.82-.01-1.49-2.01.37-2.53-.49-2.69-.94-.09-.23-.48-.94-.82-1.13-.28-.15-.68-.52-.01-.53.63-.01 1.08.58 1.23.82.72 1.21 1.87.87 2.33.66.07-.52.28-.87.51-1.07-1.78-.2-3.64-.89-3.64-3.95 0-.87.31-1.59.82-2.15-.08-.2-.36-1.02.08-2.12 0 0 .67-.21 2.2.82.64-.18 1.32-.27 2-.27.68 0 1.36.09 2 .27 1.53-1.04 2.2-.82 2.2-.82.44 1.1.16 1.92.08 2.12.51.56.82 1.27.82 2.15 0 3.07-1.87 3.75-3.65 3.95.29.25.54.73.54 1.48 0 1.07-.01 1.93-.01 2.2 0 .21.15.46.55.38A8.013 8.013 0 0016 8c0-4.42-3.58-8-8-8z" }) }),
844
2841
  className: "insforge-oauth-github"
845
2842
  },
846
2843
  discord: {
847
2844
  name: "Discord",
848
- svg: /* @__PURE__ */ jsx("svg", { width: "18", height: "18", viewBox: "0 0 24 24", fill: "none", children: /* @__PURE__ */ jsx(
2845
+ svg: /* @__PURE__ */ jsx$1("svg", { width: "18", height: "18", viewBox: "0 0 24 24", fill: "none", children: /* @__PURE__ */ jsx$1(
849
2846
  "path",
850
2847
  {
851
2848
  d: "M20.317 4.37a19.791 19.791 0 00-4.885-1.515.074.074 0 00-.079.037c-.21.375-.444.864-.608 1.25a18.27 18.27 0 00-5.487 0 12.64 12.64 0 00-.617-1.25.077.077 0 00-.079-.037A19.736 19.736 0 003.677 4.37a.07.07 0 00-.032.027C.533 9.046-.32 13.58.099 18.057a.082.082 0 00.031.057 19.9 19.9 0 005.993 3.03.078.078 0 00.084-.028c.462-.63.874-1.295 1.226-1.994a.076.076 0 00-.041-.106 13.107 13.107 0 01-1.872-.892.077.077 0 01-.008-.128 10.2 10.2 0 00.372-.292.074.074 0 01.077-.01c3.928 1.793 8.18 1.793 12.062 0a.074.074 0 01.078.01c.12.098.246.198.373.292a.077.077 0 01-.006.127 12.299 12.299 0 01-1.873.892.077.077 0 00-.041.107c.36.698.772 1.362 1.225 1.993a.076.076 0 00.084.028 19.839 19.839 0 006.002-3.03.077.077 0 00.032-.054c.5-5.177-.838-9.674-3.549-13.66a.061.061 0 00-.031-.03zM8.02 15.33c-1.183 0-2.157-1.085-2.157-2.419 0-1.333.956-2.419 2.157-2.419 1.21 0 2.176 1.096 2.157 2.42 0 1.333-.956 2.418-2.157 2.418zm7.975 0c-1.183 0-2.157-1.085-2.157-2.419 0-1.333.955-2.419 2.157-2.419 1.21 0 2.176 1.096 2.157 2.42 0 1.333-.946 2.418-2.157 2.418z",
@@ -856,7 +2853,7 @@ var OAUTH_PROVIDER_CONFIG = {
856
2853
  },
857
2854
  facebook: {
858
2855
  name: "Facebook",
859
- svg: /* @__PURE__ */ jsx("svg", { width: "18", height: "18", viewBox: "0 0 24 24", fill: "none", children: /* @__PURE__ */ jsx(
2856
+ svg: /* @__PURE__ */ jsx$1("svg", { width: "18", height: "18", viewBox: "0 0 24 24", fill: "none", children: /* @__PURE__ */ jsx$1(
860
2857
  "path",
861
2858
  {
862
2859
  d: "M24 12.073C24 5.405 18.627 0 12 0S0 5.405 0 12.073C0 18.1 4.388 23.094 10.125 24v-8.437H7.078v-3.49h3.047v-2.66c0-3.025 1.792-4.697 4.533-4.697 1.312 0 2.686.236 2.686.236v2.971H15.83c-1.49 0-1.955.93-1.955 1.886v2.264h3.328l-.532 3.49h-2.796V24C19.612 23.094 24 18.1 24 12.073z",
@@ -867,7 +2864,7 @@ var OAUTH_PROVIDER_CONFIG = {
867
2864
  },
868
2865
  linkedin: {
869
2866
  name: "LinkedIn",
870
- svg: /* @__PURE__ */ jsx("svg", { width: "18", height: "18", viewBox: "0 0 24 24", fill: "none", children: /* @__PURE__ */ jsx(
2867
+ svg: /* @__PURE__ */ jsx$1("svg", { width: "18", height: "18", viewBox: "0 0 24 24", fill: "none", children: /* @__PURE__ */ jsx$1(
871
2868
  "path",
872
2869
  {
873
2870
  d: "M20.447 20.452h-3.554v-5.569c0-1.328-.027-3.037-1.852-3.037-1.853 0-2.136 1.445-2.136 2.939v5.667H9.351V9h3.414v1.561h.046c.477-.9 1.637-1.85 3.37-1.85 3.601 0 4.267 2.37 4.267 5.455v6.286zM5.337 7.433a2.062 2.062 0 01-2.063-2.065 2.064 2.064 0 112.063 2.065zm1.782 13.019H3.555V9h3.564v11.452zM22.225 0H1.771C.792 0 0 .774 0 1.729v20.542C0 23.227.792 24 1.771 24h20.451C23.2 24 24 23.227 24 22.271V1.729C24 .774 23.2 0 22.222 0h.003z",
@@ -879,44 +2876,44 @@ var OAUTH_PROVIDER_CONFIG = {
879
2876
  microsoft: {
880
2877
  name: "Microsoft",
881
2878
  svg: /* @__PURE__ */ jsxs("svg", { width: "18", height: "18", viewBox: "0 0 23 23", fill: "none", children: [
882
- /* @__PURE__ */ jsx("path", { d: "M0 0h11v11H0z", fill: "#F25022" }),
883
- /* @__PURE__ */ jsx("path", { d: "M12 0h11v11H12z", fill: "#7FBA00" }),
884
- /* @__PURE__ */ jsx("path", { d: "M0 12h11v11H0z", fill: "#00A4EF" }),
885
- /* @__PURE__ */ jsx("path", { d: "M12 12h11v11H12z", fill: "#FFB900" })
2879
+ /* @__PURE__ */ jsx$1("path", { d: "M0 0h11v11H0z", fill: "#F25022" }),
2880
+ /* @__PURE__ */ jsx$1("path", { d: "M12 0h11v11H12z", fill: "#7FBA00" }),
2881
+ /* @__PURE__ */ jsx$1("path", { d: "M0 12h11v11H0z", fill: "#00A4EF" }),
2882
+ /* @__PURE__ */ jsx$1("path", { d: "M12 12h11v11H12z", fill: "#FFB900" })
886
2883
  ] }),
887
2884
  className: "insforge-oauth-microsoft"
888
2885
  },
889
2886
  apple: {
890
2887
  name: "Apple",
891
- svg: /* @__PURE__ */ jsx("svg", { width: "18", height: "18", viewBox: "0 0 24 24", fill: "currentColor", children: /* @__PURE__ */ jsx("path", { d: "M17.05 20.28c-.98.95-2.05.8-3.08.35-1.09-.46-2.09-.48-3.24 0-1.44.62-2.2.44-3.06-.35C2.79 15.25 3.51 7.59 9.05 7.31c1.35.07 2.29.74 3.08.8 1.18-.24 2.31-.93 3.57-.84 1.51.12 2.65.72 3.4 1.8-3.12 1.87-2.38 5.98.48 7.13-.57 1.5-1.31 2.99-2.54 4.09l.01-.01zM12.03 7.25c-.15-2.23 1.66-4.07 3.74-4.25.29 2.58-2.34 4.5-3.74 4.25z" }) }),
2888
+ svg: /* @__PURE__ */ jsx$1("svg", { width: "18", height: "18", viewBox: "0 0 24 24", fill: "currentColor", children: /* @__PURE__ */ jsx$1("path", { d: "M17.05 20.28c-.98.95-2.05.8-3.08.35-1.09-.46-2.09-.48-3.24 0-1.44.62-2.2.44-3.06-.35C2.79 15.25 3.51 7.59 9.05 7.31c1.35.07 2.29.74 3.08.8 1.18-.24 2.31-.93 3.57-.84 1.51.12 2.65.72 3.4 1.8-3.12 1.87-2.38 5.98.48 7.13-.57 1.5-1.31 2.99-2.54 4.09l.01-.01zM12.03 7.25c-.15-2.23 1.66-4.07 3.74-4.25.29 2.58-2.34 4.5-3.74 4.25z" }) }),
892
2889
  className: "insforge-oauth-apple"
893
2890
  },
894
2891
  x: {
895
2892
  name: "X",
896
- svg: /* @__PURE__ */ jsx("svg", { width: "18", height: "18", viewBox: "0 0 24 24", fill: "currentColor", children: /* @__PURE__ */ jsx("path", { d: "M18.244 2.25h3.308l-7.227 8.26 8.502 11.24H16.17l-5.214-6.817L4.99 21.75H1.68l7.73-8.835L1.254 2.25H8.08l4.713 6.231zm-1.161 17.52h1.833L7.084 4.126H5.117z" }) }),
2893
+ svg: /* @__PURE__ */ jsx$1("svg", { width: "18", height: "18", viewBox: "0 0 24 24", fill: "currentColor", children: /* @__PURE__ */ jsx$1("path", { d: "M18.244 2.25h3.308l-7.227 8.26 8.502 11.24H16.17l-5.214-6.817L4.99 21.75H1.68l7.73-8.835L1.254 2.25H8.08l4.713 6.231zm-1.161 17.52h1.833L7.084 4.126H5.117z" }) }),
897
2894
  className: "insforge-oauth-x"
898
2895
  },
899
2896
  instagram: {
900
2897
  name: "Instagram",
901
2898
  svg: /* @__PURE__ */ jsxs("svg", { width: "18", height: "18", viewBox: "0 0 24 24", fill: "none", children: [
902
- /* @__PURE__ */ jsx(
2899
+ /* @__PURE__ */ jsx$1(
903
2900
  "path",
904
2901
  {
905
2902
  d: "M12 2.163c3.204 0 3.584.012 4.85.07 3.252.148 4.771 1.691 4.919 4.919.058 1.265.069 1.645.069 4.849 0 3.205-.012 3.584-.069 4.849-.149 3.225-1.664 4.771-4.919 4.919-1.266.058-1.644.07-4.85.07-3.204 0-3.584-.012-4.849-.07-3.26-.149-4.771-1.699-4.919-4.92-.058-1.265-.07-1.644-.07-4.849 0-3.204.013-3.583.07-4.849.149-3.227 1.664-4.771 4.919-4.919 1.266-.057 1.645-.069 4.849-.069zM12 0C8.741 0 8.333.014 7.053.072 2.695.272.273 2.69.073 7.052.014 8.333 0 8.741 0 12c0 3.259.014 3.668.072 4.948.2 4.358 2.618 6.78 6.98 6.98C8.333 23.986 8.741 24 12 24c3.259 0 3.668-.014 4.948-.072 4.354-.2 6.782-2.618 6.979-6.98.059-1.28.073-1.689.073-4.948 0-3.259-.014-3.667-.072-4.947-.196-4.354-2.617-6.78-6.979-6.98C15.668.014 15.259 0 12 0zm0 5.838a6.162 6.162 0 100 12.324 6.162 6.162 0 000-12.324zM12 16a4 4 0 110-8 4 4 0 010 8zm6.406-11.845a1.44 1.44 0 100 2.881 1.44 1.44 0 000-2.881z",
906
2903
  fill: "url(#instagram-gradient)"
907
2904
  }
908
2905
  ),
909
- /* @__PURE__ */ jsx("defs", { children: /* @__PURE__ */ jsxs("linearGradient", { id: "instagram-gradient", x1: "0%", y1: "100%", x2: "100%", y2: "0%", children: [
910
- /* @__PURE__ */ jsx("stop", { offset: "0%", stopColor: "#FD5949" }),
911
- /* @__PURE__ */ jsx("stop", { offset: "50%", stopColor: "#D6249F" }),
912
- /* @__PURE__ */ jsx("stop", { offset: "100%", stopColor: "#285AEB" })
2906
+ /* @__PURE__ */ jsx$1("defs", { children: /* @__PURE__ */ jsxs("linearGradient", { id: "instagram-gradient", x1: "0%", y1: "100%", x2: "100%", y2: "0%", children: [
2907
+ /* @__PURE__ */ jsx$1("stop", { offset: "0%", stopColor: "#FD5949" }),
2908
+ /* @__PURE__ */ jsx$1("stop", { offset: "50%", stopColor: "#D6249F" }),
2909
+ /* @__PURE__ */ jsx$1("stop", { offset: "100%", stopColor: "#285AEB" })
913
2910
  ] }) })
914
2911
  ] }),
915
2912
  className: "insforge-oauth-instagram"
916
2913
  },
917
2914
  tiktok: {
918
2915
  name: "TikTok",
919
- svg: /* @__PURE__ */ jsx("svg", { width: "18", height: "18", viewBox: "0 0 24 24", fill: "none", children: /* @__PURE__ */ jsx(
2916
+ svg: /* @__PURE__ */ jsx$1("svg", { width: "18", height: "18", viewBox: "0 0 24 24", fill: "none", children: /* @__PURE__ */ jsx$1(
920
2917
  "path",
921
2918
  {
922
2919
  d: "M19.589 6.686a4.793 4.793 0 01-3.77-4.245V2h-3.445v13.672a2.896 2.896 0 01-5.201 1.743l-.002-.001.002.001a2.895 2.895 0 013.183-4.51v-3.5a6.329 6.329 0 00-5.394 10.692 6.33 6.33 0 0010.857-4.424V8.687a8.182 8.182 0 004.773 1.526V6.79a4.831 4.831 0 01-1.003-.104z",
@@ -927,7 +2924,7 @@ var OAUTH_PROVIDER_CONFIG = {
927
2924
  },
928
2925
  spotify: {
929
2926
  name: "Spotify",
930
- svg: /* @__PURE__ */ jsx("svg", { width: "18", height: "18", viewBox: "0 0 24 24", fill: "none", children: /* @__PURE__ */ jsx(
2927
+ svg: /* @__PURE__ */ jsx$1("svg", { width: "18", height: "18", viewBox: "0 0 24 24", fill: "none", children: /* @__PURE__ */ jsx$1(
931
2928
  "path",
932
2929
  {
933
2930
  d: "M12 0C5.4 0 0 5.4 0 12s5.4 12 12 12 12-5.4 12-12S18.66 0 12 0zm5.521 17.34c-.24.359-.66.48-1.021.24-2.82-1.74-6.36-2.101-10.561-1.141-.418.122-.779-.179-.899-.539-.12-.421.18-.78.54-.9 4.56-1.021 8.52-.6 11.64 1.32.42.18.479.659.301 1.02zm1.44-3.3c-.301.42-.841.6-1.262.3-3.239-1.98-8.159-2.58-11.939-1.38-.479.12-1.02-.12-1.14-.6-.12-.48.12-1.021.6-1.141C9.6 9.9 15 10.561 18.72 12.84c.361.181.54.78.241 1.2zm.12-3.36C15.24 8.4 8.82 8.16 5.16 9.301c-.6.179-1.2-.181-1.38-.721-.18-.601.18-1.2.72-1.381 4.26-1.26 11.28-1.02 15.721 1.621.539.3.719 1.02.419 1.56-.299.421-1.02.599-1.559.3z",
@@ -971,8 +2968,8 @@ function AuthOAuthButton({
971
2968
  disabled: disabled || loading,
972
2969
  style,
973
2970
  children: [
974
- loading ? /* @__PURE__ */ jsx(SubmitButtonSpinner, { children: /* @__PURE__ */ jsx(Loader2, { size: 18 }) }) : /* @__PURE__ */ jsx(OAuthButtonIcon, { children: config.svg }),
975
- !loading && getButtonText() && /* @__PURE__ */ jsx("span", { children: getButtonText() })
2971
+ loading ? /* @__PURE__ */ jsx$1(SubmitButtonSpinner, { children: /* @__PURE__ */ jsx$1(Loader2, { size: 18 }) }) : /* @__PURE__ */ jsx$1(OAuthButtonIcon, { children: config.svg }),
2972
+ !loading && getButtonText() && /* @__PURE__ */ jsx$1("span", { children: getButtonText() })
976
2973
  ]
977
2974
  }
978
2975
  );
@@ -1029,7 +3026,7 @@ function AuthOAuthProviders({
1029
3026
  return { gridColumn: "span 2 / span 2" };
1030
3027
  }
1031
3028
  };
1032
- return /* @__PURE__ */ jsx(
3029
+ return /* @__PURE__ */ jsx$1(
1033
3030
  OAuthProvidersContainer,
1034
3031
  {
1035
3032
  style: {
@@ -1037,7 +3034,7 @@ function AuthOAuthProviders({
1037
3034
  gridTemplateColumns: "repeat(6, 1fr)",
1038
3035
  gap: "0.75rem"
1039
3036
  },
1040
- children: providers.map((provider, index) => /* @__PURE__ */ jsx(
3037
+ children: providers.map((provider, index) => /* @__PURE__ */ jsx$1(
1041
3038
  AuthOAuthButton,
1042
3039
  {
1043
3040
  provider,
@@ -1053,7 +3050,7 @@ function AuthOAuthProviders({
1053
3050
  );
1054
3051
  }
1055
3052
  function AuthVerificationCodeInput({
1056
- length = 6,
3053
+ length: length2 = 6,
1057
3054
  value,
1058
3055
  onChange,
1059
3056
  disabled = false,
@@ -1071,10 +3068,10 @@ function AuthVerificationCodeInput({
1071
3068
  newValue[index] = digit;
1072
3069
  const updatedValue = newValue.join("");
1073
3070
  onChange(updatedValue);
1074
- if (digit && index < length - 1) {
3071
+ if (digit && index < length2 - 1) {
1075
3072
  inputRefs.current[index + 1]?.focus();
1076
3073
  }
1077
- if (digit && index === length - 1 && updatedValue.length === length && onComplete) {
3074
+ if (digit && index === length2 - 1 && updatedValue.length === length2 && onComplete) {
1078
3075
  onComplete(updatedValue);
1079
3076
  }
1080
3077
  };
@@ -1087,22 +3084,22 @@ function AuthVerificationCodeInput({
1087
3084
  }
1088
3085
  } else if (e.key === "ArrowLeft" && index > 0) {
1089
3086
  inputRefs.current[index - 1]?.focus();
1090
- } else if (e.key === "ArrowRight" && index < length - 1) {
3087
+ } else if (e.key === "ArrowRight" && index < length2 - 1) {
1091
3088
  inputRefs.current[index + 1]?.focus();
1092
3089
  }
1093
3090
  };
1094
3091
  const handlePaste = (e) => {
1095
3092
  e.preventDefault();
1096
3093
  const pastedData = e.clipboardData.getData("text/plain").trim();
1097
- if (/^\d+$/.test(pastedData) && pastedData.length === length) {
3094
+ if (/^\d+$/.test(pastedData) && pastedData.length === length2) {
1098
3095
  onChange(pastedData);
1099
- inputRefs.current[length - 1]?.focus();
3096
+ inputRefs.current[length2 - 1]?.focus();
1100
3097
  if (onComplete) {
1101
3098
  onComplete(pastedData);
1102
3099
  }
1103
3100
  }
1104
3101
  };
1105
- return /* @__PURE__ */ jsx(VerificationCodeInputContainer, { children: Array.from({ length }).map((_, index) => /* @__PURE__ */ jsx(
3102
+ return /* @__PURE__ */ jsx$1(VerificationCodeInputContainer, { children: Array.from({ length: length2 }).map((_, index) => /* @__PURE__ */ jsx$1(
1106
3103
  VerificationCodeInput,
1107
3104
  {
1108
3105
  ref: (el) => {
@@ -1149,6 +3146,8 @@ function useInsforge() {
1149
3146
  }
1150
3147
  return context;
1151
3148
  }
3149
+
3150
+ // src/components/forms/styled.ts
1152
3151
  styled.form`
1153
3152
  display: flex;
1154
3153
  flex-direction: column;
@@ -1315,12 +3314,12 @@ function AuthEmailVerificationStep({
1315
3314
  useEffect(() => {
1316
3315
  if (resendDisabled && resendCountdown > 0) {
1317
3316
  const timer = setInterval(() => {
1318
- setResendCountdown((prev) => {
1319
- if (prev <= 1) {
3317
+ setResendCountdown((prev2) => {
3318
+ if (prev2 <= 1) {
1320
3319
  setResendDisabled(false);
1321
3320
  return 0;
1322
3321
  }
1323
- return prev - 1;
3322
+ return prev2 - 1;
1324
3323
  });
1325
3324
  }, 1e3);
1326
3325
  return () => clearInterval(timer);
@@ -1353,19 +3352,19 @@ function AuthEmailVerificationStep({
1353
3352
  };
1354
3353
  return /* @__PURE__ */ jsxs(VerificationStepWrapper, { children: [
1355
3354
  isLinkMethod && /* @__PURE__ */ jsxs(VerificationStepDescriptionContainer, { children: [
1356
- /* @__PURE__ */ jsx(VerificationStepDescriptionTitle, { children: "Verify Your Email" }),
1357
- /* @__PURE__ */ jsx(VerificationStepDescription, { children: displayDescription.split("{email}").map((part, index, array) => /* @__PURE__ */ jsxs("span", { children: [
3355
+ /* @__PURE__ */ jsx$1(VerificationStepDescriptionTitle, { children: "Verify Your Email" }),
3356
+ /* @__PURE__ */ jsx$1(VerificationStepDescription, { children: displayDescription.split("{email}").map((part, index, array) => /* @__PURE__ */ jsxs("span", { children: [
1358
3357
  part,
1359
- index < array.length - 1 && /* @__PURE__ */ jsx(VerificationEmail, { children: email })
3358
+ index < array.length - 1 && /* @__PURE__ */ jsx$1(VerificationEmail, { children: email })
1360
3359
  ] }, index)) })
1361
3360
  ] }),
1362
3361
  !isLinkMethod && /* @__PURE__ */ jsxs(VerificationStepCodeContainer, { children: [
1363
3362
  /* @__PURE__ */ jsxs(VerificationStepCodeInputWrapper, { children: [
1364
- /* @__PURE__ */ jsx(VerificationStepDescription, { children: displayDescription.split("{email}").map((part, index, array) => /* @__PURE__ */ jsxs("span", { children: [
3363
+ /* @__PURE__ */ jsx$1(VerificationStepDescription, { children: displayDescription.split("{email}").map((part, index, array) => /* @__PURE__ */ jsxs("span", { children: [
1365
3364
  part,
1366
- index < array.length - 1 && /* @__PURE__ */ jsx(VerificationEmail, { children: email })
3365
+ index < array.length - 1 && /* @__PURE__ */ jsx$1(VerificationEmail, { children: email })
1367
3366
  ] }, index)) }),
1368
- /* @__PURE__ */ jsx(
3367
+ /* @__PURE__ */ jsx$1(
1369
3368
  AuthVerificationCodeInput,
1370
3369
  {
1371
3370
  value: verificationCode,
@@ -1374,7 +3373,7 @@ function AuthEmailVerificationStep({
1374
3373
  }
1375
3374
  )
1376
3375
  ] }),
1377
- /* @__PURE__ */ jsx(
3376
+ /* @__PURE__ */ jsx$1(
1378
3377
  AuthSubmitButton,
1379
3378
  {
1380
3379
  type: "button",
@@ -1390,7 +3389,7 @@ function AuthEmailVerificationStep({
1390
3389
  /* @__PURE__ */ jsxs(VerificationStepResendContainer, { children: [
1391
3390
  "Didn't receive the email?",
1392
3391
  " ",
1393
- /* @__PURE__ */ jsx(
3392
+ /* @__PURE__ */ jsx$1(
1394
3393
  VerificationStepResendButton,
1395
3394
  {
1396
3395
  onClick: () => {
@@ -1419,12 +3418,12 @@ function AuthResetPasswordVerificationStep({
1419
3418
  useEffect(() => {
1420
3419
  if (resendCountdown > 0) {
1421
3420
  const timer = setInterval(() => {
1422
- setResendCountdown((prev) => {
1423
- if (prev <= 1) {
3421
+ setResendCountdown((prev2) => {
3422
+ if (prev2 <= 1) {
1424
3423
  setResendDisabled(false);
1425
3424
  return 0;
1426
3425
  }
1427
- return prev - 1;
3426
+ return prev2 - 1;
1428
3427
  });
1429
3428
  }, 1e3);
1430
3429
  return () => clearInterval(timer);
@@ -1457,14 +3456,14 @@ function AuthResetPasswordVerificationStep({
1457
3456
  };
1458
3457
  return /* @__PURE__ */ jsxs(VerificationStepWrapper, { children: [
1459
3458
  isLinkMethod && /* @__PURE__ */ jsxs(VerificationStepDescriptionContainer, { children: [
1460
- /* @__PURE__ */ jsx(VerificationStepDescriptionTitle, { children: "Check Your Email" }),
1461
- /* @__PURE__ */ jsx(VerificationStepDescription, { children: displayDescription.split("{email}").map((part, index, array) => /* @__PURE__ */ jsxs("span", { children: [
3459
+ /* @__PURE__ */ jsx$1(VerificationStepDescriptionTitle, { children: "Check Your Email" }),
3460
+ /* @__PURE__ */ jsx$1(VerificationStepDescription, { children: displayDescription.split("{email}").map((part, index, array) => /* @__PURE__ */ jsxs("span", { children: [
1462
3461
  part,
1463
- index < array.length - 1 && /* @__PURE__ */ jsx(VerificationEmail, { children: email })
3462
+ index < array.length - 1 && /* @__PURE__ */ jsx$1(VerificationEmail, { children: email })
1464
3463
  ] }, index)) })
1465
3464
  ] }),
1466
3465
  !isLinkMethod && /* @__PURE__ */ jsxs(VerificationStepCodeContainer, { children: [
1467
- /* @__PURE__ */ jsx(VerificationStepCodeInputWrapper, { children: /* @__PURE__ */ jsx(
3466
+ /* @__PURE__ */ jsx$1(VerificationStepCodeInputWrapper, { children: /* @__PURE__ */ jsx$1(
1468
3467
  AuthVerificationCodeInput,
1469
3468
  {
1470
3469
  value: verificationCode,
@@ -1472,7 +3471,7 @@ function AuthResetPasswordVerificationStep({
1472
3471
  disabled: isVerifying
1473
3472
  }
1474
3473
  ) }),
1475
- /* @__PURE__ */ jsx(
3474
+ /* @__PURE__ */ jsx$1(
1476
3475
  AuthSubmitButton,
1477
3476
  {
1478
3477
  type: "button",
@@ -1488,7 +3487,7 @@ function AuthResetPasswordVerificationStep({
1488
3487
  /* @__PURE__ */ jsxs(VerificationStepResendContainer, { children: [
1489
3488
  "Didn't receive the email?",
1490
3489
  " ",
1491
- /* @__PURE__ */ jsx(
3490
+ /* @__PURE__ */ jsx$1(
1492
3491
  VerificationStepResendButton,
1493
3492
  {
1494
3493
  onClick: () => {
@@ -1501,6 +3500,28 @@ function AuthResetPasswordVerificationStep({
1501
3500
  ] })
1502
3501
  ] });
1503
3502
  }
3503
+ /*! Bundled license information:
3504
+
3505
+ react-is/cjs/react-is.production.min.js:
3506
+ (** @license React v16.13.1
3507
+ * react-is.production.min.js
3508
+ *
3509
+ * Copyright (c) Facebook, Inc. and its affiliates.
3510
+ *
3511
+ * This source code is licensed under the MIT license found in the
3512
+ * LICENSE file in the root directory of this source tree.
3513
+ *)
3514
+
3515
+ react-is/cjs/react-is.development.js:
3516
+ (** @license React v16.13.1
3517
+ * react-is.development.js
3518
+ *
3519
+ * Copyright (c) Facebook, Inc. and its affiliates.
3520
+ *
3521
+ * This source code is licensed under the MIT license found in the
3522
+ * LICENSE file in the root directory of this source tree.
3523
+ *)
3524
+ */
1504
3525
 
1505
3526
  export { AuthBranding, AuthContainer, AuthDivider, AuthEmailVerificationStep, AuthErrorBanner, AuthFormField, AuthHeader, AuthLink, AuthOAuthButton, AuthOAuthProviders, AuthPasswordField, AuthPasswordStrengthIndicator, AuthResetPasswordVerificationStep, AuthSubmitButton, AuthVerificationCodeInput };
1506
3527
  //# sourceMappingURL=atoms.js.map