@methodfi/opal-react 0.0.1 → 0.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.mjs DELETED
@@ -1,620 +0,0 @@
1
- import require$$0, { useRef, useCallback, useEffect, createContext, useState, useContext } from 'react';
2
-
3
- var jsxRuntime = {exports: {}};
4
-
5
- var reactJsxRuntime_production = {};
6
-
7
- /**
8
- * @license React
9
- * react-jsx-runtime.production.js
10
- *
11
- * Copyright (c) Meta Platforms, Inc. and affiliates.
12
- *
13
- * This source code is licensed under the MIT license found in the
14
- * LICENSE file in the root directory of this source tree.
15
- */
16
-
17
- var hasRequiredReactJsxRuntime_production;
18
-
19
- function requireReactJsxRuntime_production () {
20
- if (hasRequiredReactJsxRuntime_production) return reactJsxRuntime_production;
21
- hasRequiredReactJsxRuntime_production = 1;
22
- var REACT_ELEMENT_TYPE = Symbol.for("react.transitional.element"),
23
- REACT_FRAGMENT_TYPE = Symbol.for("react.fragment");
24
- function jsxProd(type, config, maybeKey) {
25
- var key = null;
26
- void 0 !== maybeKey && (key = "" + maybeKey);
27
- void 0 !== config.key && (key = "" + config.key);
28
- if ("key" in config) {
29
- maybeKey = {};
30
- for (var propName in config)
31
- "key" !== propName && (maybeKey[propName] = config[propName]);
32
- } else maybeKey = config;
33
- config = maybeKey.ref;
34
- return {
35
- $$typeof: REACT_ELEMENT_TYPE,
36
- type: type,
37
- key: key,
38
- ref: void 0 !== config ? config : null,
39
- props: maybeKey
40
- };
41
- }
42
- reactJsxRuntime_production.Fragment = REACT_FRAGMENT_TYPE;
43
- reactJsxRuntime_production.jsx = jsxProd;
44
- reactJsxRuntime_production.jsxs = jsxProd;
45
- return reactJsxRuntime_production;
46
- }
47
-
48
- var reactJsxRuntime_development = {};
49
-
50
- /**
51
- * @license React
52
- * react-jsx-runtime.development.js
53
- *
54
- * Copyright (c) Meta Platforms, Inc. and affiliates.
55
- *
56
- * This source code is licensed under the MIT license found in the
57
- * LICENSE file in the root directory of this source tree.
58
- */
59
-
60
- var hasRequiredReactJsxRuntime_development;
61
-
62
- function requireReactJsxRuntime_development () {
63
- if (hasRequiredReactJsxRuntime_development) return reactJsxRuntime_development;
64
- hasRequiredReactJsxRuntime_development = 1;
65
- "production" !== process.env.NODE_ENV &&
66
- (function () {
67
- function getComponentNameFromType(type) {
68
- if (null == type) return null;
69
- if ("function" === typeof type)
70
- return type.$$typeof === REACT_CLIENT_REFERENCE
71
- ? null
72
- : type.displayName || type.name || null;
73
- if ("string" === typeof type) return type;
74
- switch (type) {
75
- case REACT_FRAGMENT_TYPE:
76
- return "Fragment";
77
- case REACT_PROFILER_TYPE:
78
- return "Profiler";
79
- case REACT_STRICT_MODE_TYPE:
80
- return "StrictMode";
81
- case REACT_SUSPENSE_TYPE:
82
- return "Suspense";
83
- case REACT_SUSPENSE_LIST_TYPE:
84
- return "SuspenseList";
85
- case REACT_ACTIVITY_TYPE:
86
- return "Activity";
87
- }
88
- if ("object" === typeof type)
89
- switch (
90
- ("number" === typeof type.tag &&
91
- console.error(
92
- "Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."
93
- ),
94
- type.$$typeof)
95
- ) {
96
- case REACT_PORTAL_TYPE:
97
- return "Portal";
98
- case REACT_CONTEXT_TYPE:
99
- return (type.displayName || "Context") + ".Provider";
100
- case REACT_CONSUMER_TYPE:
101
- return (type._context.displayName || "Context") + ".Consumer";
102
- case REACT_FORWARD_REF_TYPE:
103
- var innerType = type.render;
104
- type = type.displayName;
105
- type ||
106
- ((type = innerType.displayName || innerType.name || ""),
107
- (type = "" !== type ? "ForwardRef(" + type + ")" : "ForwardRef"));
108
- return type;
109
- case REACT_MEMO_TYPE:
110
- return (
111
- (innerType = type.displayName || null),
112
- null !== innerType
113
- ? innerType
114
- : getComponentNameFromType(type.type) || "Memo"
115
- );
116
- case REACT_LAZY_TYPE:
117
- innerType = type._payload;
118
- type = type._init;
119
- try {
120
- return getComponentNameFromType(type(innerType));
121
- } catch (x) {}
122
- }
123
- return null;
124
- }
125
- function testStringCoercion(value) {
126
- return "" + value;
127
- }
128
- function checkKeyStringCoercion(value) {
129
- try {
130
- testStringCoercion(value);
131
- var JSCompiler_inline_result = !1;
132
- } catch (e) {
133
- JSCompiler_inline_result = true;
134
- }
135
- if (JSCompiler_inline_result) {
136
- JSCompiler_inline_result = console;
137
- var JSCompiler_temp_const = JSCompiler_inline_result.error;
138
- var JSCompiler_inline_result$jscomp$0 =
139
- ("function" === typeof Symbol &&
140
- Symbol.toStringTag &&
141
- value[Symbol.toStringTag]) ||
142
- value.constructor.name ||
143
- "Object";
144
- JSCompiler_temp_const.call(
145
- JSCompiler_inline_result,
146
- "The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",
147
- JSCompiler_inline_result$jscomp$0
148
- );
149
- return testStringCoercion(value);
150
- }
151
- }
152
- function getTaskName(type) {
153
- if (type === REACT_FRAGMENT_TYPE) return "<>";
154
- if (
155
- "object" === typeof type &&
156
- null !== type &&
157
- type.$$typeof === REACT_LAZY_TYPE
158
- )
159
- return "<...>";
160
- try {
161
- var name = getComponentNameFromType(type);
162
- return name ? "<" + name + ">" : "<...>";
163
- } catch (x) {
164
- return "<...>";
165
- }
166
- }
167
- function getOwner() {
168
- var dispatcher = ReactSharedInternals.A;
169
- return null === dispatcher ? null : dispatcher.getOwner();
170
- }
171
- function UnknownOwner() {
172
- return Error("react-stack-top-frame");
173
- }
174
- function hasValidKey(config) {
175
- if (hasOwnProperty.call(config, "key")) {
176
- var getter = Object.getOwnPropertyDescriptor(config, "key").get;
177
- if (getter && getter.isReactWarning) return false;
178
- }
179
- return void 0 !== config.key;
180
- }
181
- function defineKeyPropWarningGetter(props, displayName) {
182
- function warnAboutAccessingKey() {
183
- specialPropKeyWarningShown ||
184
- ((specialPropKeyWarningShown = true),
185
- console.error(
186
- "%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)",
187
- displayName
188
- ));
189
- }
190
- warnAboutAccessingKey.isReactWarning = true;
191
- Object.defineProperty(props, "key", {
192
- get: warnAboutAccessingKey,
193
- configurable: true
194
- });
195
- }
196
- function elementRefGetterWithDeprecationWarning() {
197
- var componentName = getComponentNameFromType(this.type);
198
- didWarnAboutElementRef[componentName] ||
199
- ((didWarnAboutElementRef[componentName] = true),
200
- console.error(
201
- "Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release."
202
- ));
203
- componentName = this.props.ref;
204
- return void 0 !== componentName ? componentName : null;
205
- }
206
- function ReactElement(
207
- type,
208
- key,
209
- self,
210
- source,
211
- owner,
212
- props,
213
- debugStack,
214
- debugTask
215
- ) {
216
- self = props.ref;
217
- type = {
218
- $$typeof: REACT_ELEMENT_TYPE,
219
- type: type,
220
- key: key,
221
- props: props,
222
- _owner: owner
223
- };
224
- null !== (void 0 !== self ? self : null)
225
- ? Object.defineProperty(type, "ref", {
226
- enumerable: false,
227
- get: elementRefGetterWithDeprecationWarning
228
- })
229
- : Object.defineProperty(type, "ref", { enumerable: false, value: null });
230
- type._store = {};
231
- Object.defineProperty(type._store, "validated", {
232
- configurable: false,
233
- enumerable: false,
234
- writable: true,
235
- value: 0
236
- });
237
- Object.defineProperty(type, "_debugInfo", {
238
- configurable: false,
239
- enumerable: false,
240
- writable: true,
241
- value: null
242
- });
243
- Object.defineProperty(type, "_debugStack", {
244
- configurable: false,
245
- enumerable: false,
246
- writable: true,
247
- value: debugStack
248
- });
249
- Object.defineProperty(type, "_debugTask", {
250
- configurable: false,
251
- enumerable: false,
252
- writable: true,
253
- value: debugTask
254
- });
255
- Object.freeze && (Object.freeze(type.props), Object.freeze(type));
256
- return type;
257
- }
258
- function jsxDEVImpl(
259
- type,
260
- config,
261
- maybeKey,
262
- isStaticChildren,
263
- source,
264
- self,
265
- debugStack,
266
- debugTask
267
- ) {
268
- var children = config.children;
269
- if (void 0 !== children)
270
- if (isStaticChildren)
271
- if (isArrayImpl(children)) {
272
- for (
273
- isStaticChildren = 0;
274
- isStaticChildren < children.length;
275
- isStaticChildren++
276
- )
277
- validateChildKeys(children[isStaticChildren]);
278
- Object.freeze && Object.freeze(children);
279
- } else
280
- console.error(
281
- "React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead."
282
- );
283
- else validateChildKeys(children);
284
- if (hasOwnProperty.call(config, "key")) {
285
- children = getComponentNameFromType(type);
286
- var keys = Object.keys(config).filter(function (k) {
287
- return "key" !== k;
288
- });
289
- isStaticChildren =
290
- 0 < keys.length
291
- ? "{key: someKey, " + keys.join(": ..., ") + ": ...}"
292
- : "{key: someKey}";
293
- didWarnAboutKeySpread[children + isStaticChildren] ||
294
- ((keys =
295
- 0 < keys.length ? "{" + keys.join(": ..., ") + ": ...}" : "{}"),
296
- console.error(
297
- 'A props object containing a "key" prop is being spread into JSX:\n let props = %s;\n <%s {...props} />\nReact keys must be passed directly to JSX without using spread:\n let props = %s;\n <%s key={someKey} {...props} />',
298
- isStaticChildren,
299
- children,
300
- keys,
301
- children
302
- ),
303
- (didWarnAboutKeySpread[children + isStaticChildren] = true));
304
- }
305
- children = null;
306
- void 0 !== maybeKey &&
307
- (checkKeyStringCoercion(maybeKey), (children = "" + maybeKey));
308
- hasValidKey(config) &&
309
- (checkKeyStringCoercion(config.key), (children = "" + config.key));
310
- if ("key" in config) {
311
- maybeKey = {};
312
- for (var propName in config)
313
- "key" !== propName && (maybeKey[propName] = config[propName]);
314
- } else maybeKey = config;
315
- children &&
316
- defineKeyPropWarningGetter(
317
- maybeKey,
318
- "function" === typeof type
319
- ? type.displayName || type.name || "Unknown"
320
- : type
321
- );
322
- return ReactElement(
323
- type,
324
- children,
325
- self,
326
- source,
327
- getOwner(),
328
- maybeKey,
329
- debugStack,
330
- debugTask
331
- );
332
- }
333
- function validateChildKeys(node) {
334
- "object" === typeof node &&
335
- null !== node &&
336
- node.$$typeof === REACT_ELEMENT_TYPE &&
337
- node._store &&
338
- (node._store.validated = 1);
339
- }
340
- var React = require$$0,
341
- REACT_ELEMENT_TYPE = Symbol.for("react.transitional.element"),
342
- REACT_PORTAL_TYPE = Symbol.for("react.portal"),
343
- REACT_FRAGMENT_TYPE = Symbol.for("react.fragment"),
344
- REACT_STRICT_MODE_TYPE = Symbol.for("react.strict_mode"),
345
- REACT_PROFILER_TYPE = Symbol.for("react.profiler");
346
- var REACT_CONSUMER_TYPE = Symbol.for("react.consumer"),
347
- REACT_CONTEXT_TYPE = Symbol.for("react.context"),
348
- REACT_FORWARD_REF_TYPE = Symbol.for("react.forward_ref"),
349
- REACT_SUSPENSE_TYPE = Symbol.for("react.suspense"),
350
- REACT_SUSPENSE_LIST_TYPE = Symbol.for("react.suspense_list"),
351
- REACT_MEMO_TYPE = Symbol.for("react.memo"),
352
- REACT_LAZY_TYPE = Symbol.for("react.lazy"),
353
- REACT_ACTIVITY_TYPE = Symbol.for("react.activity"),
354
- REACT_CLIENT_REFERENCE = Symbol.for("react.client.reference"),
355
- ReactSharedInternals =
356
- React.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,
357
- hasOwnProperty = Object.prototype.hasOwnProperty,
358
- isArrayImpl = Array.isArray,
359
- createTask = console.createTask
360
- ? console.createTask
361
- : function () {
362
- return null;
363
- };
364
- React = {
365
- "react-stack-bottom-frame": function (callStackForError) {
366
- return callStackForError();
367
- }
368
- };
369
- var specialPropKeyWarningShown;
370
- var didWarnAboutElementRef = {};
371
- var unknownOwnerDebugStack = React["react-stack-bottom-frame"].bind(
372
- React,
373
- UnknownOwner
374
- )();
375
- var unknownOwnerDebugTask = createTask(getTaskName(UnknownOwner));
376
- var didWarnAboutKeySpread = {};
377
- reactJsxRuntime_development.Fragment = REACT_FRAGMENT_TYPE;
378
- reactJsxRuntime_development.jsx = function (type, config, maybeKey, source, self) {
379
- var trackActualOwner =
380
- 1e4 > ReactSharedInternals.recentlyCreatedOwnerStacks++;
381
- return jsxDEVImpl(
382
- type,
383
- config,
384
- maybeKey,
385
- false,
386
- source,
387
- self,
388
- trackActualOwner
389
- ? Error("react-stack-top-frame")
390
- : unknownOwnerDebugStack,
391
- trackActualOwner ? createTask(getTaskName(type)) : unknownOwnerDebugTask
392
- );
393
- };
394
- reactJsxRuntime_development.jsxs = function (type, config, maybeKey, source, self) {
395
- var trackActualOwner =
396
- 1e4 > ReactSharedInternals.recentlyCreatedOwnerStacks++;
397
- return jsxDEVImpl(
398
- type,
399
- config,
400
- maybeKey,
401
- true,
402
- source,
403
- self,
404
- trackActualOwner
405
- ? Error("react-stack-top-frame")
406
- : unknownOwnerDebugStack,
407
- trackActualOwner ? createTask(getTaskName(type)) : unknownOwnerDebugTask
408
- );
409
- };
410
- })();
411
- return reactJsxRuntime_development;
412
- }
413
-
414
- if (process.env.NODE_ENV === 'production') {
415
- jsxRuntime.exports = requireReactJsxRuntime_production();
416
- } else {
417
- jsxRuntime.exports = requireReactJsxRuntime_development();
418
- }
419
-
420
- var jsxRuntimeExports = jsxRuntime.exports;
421
-
422
- function OpalIframe({ token, opalUrl, onMessage, style, }) {
423
- const iframeRef = useRef(null);
424
- const handleMessage = useCallback((event) => {
425
- var _a;
426
- // Check if the event is from an allowed origin
427
- const allowedOrigins = [
428
- 'https://opal.production.methodfi.com',
429
- 'https://opal.sandbox.methodfi.com',
430
- 'https://opal.dev.methodfi.com',
431
- 'http://localhost:3000'
432
- ];
433
- if (!allowedOrigins.includes(event.origin)) {
434
- return;
435
- }
436
- try {
437
- // Forward the properly structured event
438
- if ((_a = event.data) === null || _a === void 0 ? void 0 : _a.type) {
439
- onMessage(event.data);
440
- }
441
- }
442
- catch (error) {
443
- onMessage({
444
- type: 'opal.session.errored',
445
- mode: 'opal',
446
- object: 'session',
447
- action: 'errored',
448
- timestamp: new Date().toISOString(),
449
- data: null,
450
- });
451
- }
452
- }, [onMessage]);
453
- useEffect(() => {
454
- // Add event listener for iframe messages
455
- window.addEventListener('message', handleMessage);
456
- return () => {
457
- window.removeEventListener('message', handleMessage);
458
- };
459
- }, [handleMessage]);
460
- if (!token || !opalUrl) {
461
- return null;
462
- }
463
- return (jsxRuntimeExports.jsx("iframe", { ref: iframeRef, src: opalUrl, style: style, sandbox: "allow-scripts allow-same-origin allow-forms allow-popups allow-top-navigation", title: "Opal" }));
464
- }
465
-
466
- const OPAL_URLS = {
467
- local: 'http://localhost:3000',
468
- dev: 'https://opal.dev.methodfi.com',
469
- sandbox: 'https://opal.sandbox.methodfi.com',
470
- production: 'https://opal.production.methodfi.com',
471
- };
472
-
473
- const OpalContext = createContext(null);
474
- /**
475
- * Provider component that wraps your app to enable Opal functionality.
476
- * This component manages the Opal iframe state and provides context to child components.
477
- *
478
- * @example
479
- * ```tsx
480
- * import { OpalProvider } from '@methodfi/opal-react';
481
- *
482
- * export default function App() {
483
- * return (
484
- * <OpalProvider>
485
- * <YourAppContent />
486
- * </OpalProvider>
487
- * );
488
- * }
489
- * ```
490
- */
491
- function OpalProvider({ children }) {
492
- const [isOpen, setIsOpen] = useState(false);
493
- const [isReady, setIsReady] = useState(false);
494
- const [error, setError] = useState(null);
495
- const [currentToken, setCurrentToken] = useState(null);
496
- const [currentConfig, setCurrentConfig] = useState({});
497
- const environment = currentConfig.env || 'production';
498
- const baseUrl = OPAL_URLS[environment];
499
- const opalUrl = currentToken
500
- ? `${baseUrl}/?token=${currentToken}`
501
- : '';
502
- const handleMessage = (event) => {
503
- var _a, _b;
504
- // Always call onEvent if provided with properly typed event
505
- (_a = currentConfig.onEvent) === null || _a === void 0 ? void 0 : _a.call(currentConfig, event);
506
- // Handle structured event format
507
- const { action, data } = event;
508
- // Legacy support for action-based handling
509
- switch (action) {
510
- case 'started':
511
- if (!isReady)
512
- setIsReady(true);
513
- break;
514
- case 'exited':
515
- close();
516
- break;
517
- case 'errored':
518
- if (!error && data) {
519
- setError(data);
520
- (_b = currentConfig.onError) === null || _b === void 0 ? void 0 : _b.call(currentConfig, data);
521
- }
522
- break;
523
- }
524
- };
525
- const open = (options) => {
526
- var _a;
527
- setCurrentToken(options.token);
528
- setIsOpen(true);
529
- setError(null);
530
- setIsReady(false);
531
- (_a = currentConfig.onOpen) === null || _a === void 0 ? void 0 : _a.call(currentConfig);
532
- };
533
- const close = () => {
534
- setTimeout(() => {
535
- var _a;
536
- setIsOpen(false);
537
- setIsReady(false);
538
- setCurrentToken(null);
539
- (_a = currentConfig.onExit) === null || _a === void 0 ? void 0 : _a.call(currentConfig);
540
- }, 500);
541
- };
542
- const updateConfig = (config) => {
543
- setCurrentConfig(config);
544
- };
545
- const contextValue = {
546
- isOpen,
547
- isReady,
548
- error,
549
- open,
550
- close,
551
- updateConfig,
552
- };
553
- return (jsxRuntimeExports.jsxs(OpalContext.Provider, { value: contextValue, children: [children, isOpen && currentToken && (jsxRuntimeExports.jsx(OpalIframe, { token: currentToken, opalUrl: opalUrl, onMessage: handleMessage, onClose: close, style: {
554
- position: 'fixed',
555
- inset: 0,
556
- width: '100%',
557
- height: '100%',
558
- border: 'none',
559
- zIndex: 1000,
560
- } }))] }));
561
- }
562
- function useOpalContext() {
563
- const context = useContext(OpalContext);
564
- if (!context) {
565
- throw new Error('useOpalContext must be used within an OpalProvider');
566
- }
567
- return context;
568
- }
569
-
570
- /**
571
- * Hook for interacting with Opal within an OpalProvider context.
572
- * This hook allows you to configure event handlers and open/close Opal sessions.
573
- * Supports multiple modes (card_connect, connect, etc.) with flexible event handling.
574
- *
575
- * @example
576
- * ```tsx
577
- * const { open, close, isReady, isOpen, error } = useOpal({
578
- * env: 'dev',
579
- * onOpen: () => console.log('Opal opened'),
580
- * onExit: () => console.log('Opal closed'),
581
- * onEvent: (event) => {
582
- * switch (event.type) {
583
- * case 'opal.session.started':
584
- * console.log('Session started');
585
- * break;
586
- * case 'card_connect.card.verified':
587
- * console.log('Card verified:', event.data);
588
- * break;
589
- * }
590
- * },
591
- * onError: (error) => console.error('Opal error:', error),
592
- * });
593
- *
594
- * // Open Opal with a token
595
- * const handleOpenOpal = async () => {
596
- * const token = await getOpalToken(); // Your token fetching logic
597
- * open({ token });
598
- * };
599
- * ```
600
- *
601
- * @param config Configuration object with event handlers and environment settings
602
- * @returns Object with open function and current state
603
- */
604
- function useOpal(config = {}) {
605
- const context = useOpalContext();
606
- // Update the provider's config when this hook's config changes
607
- useEffect(() => {
608
- context.updateConfig(config);
609
- }, []);
610
- return {
611
- open: context.open,
612
- close: context.close,
613
- isReady: context.isReady,
614
- isOpen: context.isOpen,
615
- error: context.error,
616
- };
617
- }
618
-
619
- export { OpalIframe, OpalProvider, useOpal };
620
- //# sourceMappingURL=index.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.mjs","sources":["../node_modules/react/cjs/react-jsx-runtime.production.js","../node_modules/react/cjs/react-jsx-runtime.development.js","../node_modules/react/jsx-runtime.js","../src/components/OpalIframe.tsx","../src/constants/index.ts","../src/components/OpalProvider.tsx","../src/hooks/useOpal.ts"],"sourcesContent":["/**\n * @license React\n * react-jsx-runtime.production.js\n *\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n\"use strict\";\nvar REACT_ELEMENT_TYPE = Symbol.for(\"react.transitional.element\"),\n REACT_FRAGMENT_TYPE = Symbol.for(\"react.fragment\");\nfunction jsxProd(type, config, maybeKey) {\n var key = null;\n void 0 !== maybeKey && (key = \"\" + maybeKey);\n void 0 !== config.key && (key = \"\" + config.key);\n if (\"key\" in config) {\n maybeKey = {};\n for (var propName in config)\n \"key\" !== propName && (maybeKey[propName] = config[propName]);\n } else maybeKey = config;\n config = maybeKey.ref;\n return {\n $$typeof: REACT_ELEMENT_TYPE,\n type: type,\n key: key,\n ref: void 0 !== config ? config : null,\n props: maybeKey\n };\n}\nexports.Fragment = REACT_FRAGMENT_TYPE;\nexports.jsx = jsxProd;\nexports.jsxs = jsxProd;\n","/**\n * @license React\n * react-jsx-runtime.development.js\n *\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n\"use strict\";\n\"production\" !== process.env.NODE_ENV &&\n (function () {\n function getComponentNameFromType(type) {\n if (null == type) return null;\n if (\"function\" === typeof type)\n return type.$$typeof === REACT_CLIENT_REFERENCE\n ? null\n : type.displayName || type.name || null;\n if (\"string\" === typeof type) return type;\n switch (type) {\n case REACT_FRAGMENT_TYPE:\n return \"Fragment\";\n case REACT_PROFILER_TYPE:\n return \"Profiler\";\n case REACT_STRICT_MODE_TYPE:\n return \"StrictMode\";\n case REACT_SUSPENSE_TYPE:\n return \"Suspense\";\n case REACT_SUSPENSE_LIST_TYPE:\n return \"SuspenseList\";\n case REACT_ACTIVITY_TYPE:\n return \"Activity\";\n }\n if (\"object\" === typeof type)\n switch (\n (\"number\" === typeof type.tag &&\n console.error(\n \"Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue.\"\n ),\n type.$$typeof)\n ) {\n case REACT_PORTAL_TYPE:\n return \"Portal\";\n case REACT_CONTEXT_TYPE:\n return (type.displayName || \"Context\") + \".Provider\";\n case REACT_CONSUMER_TYPE:\n return (type._context.displayName || \"Context\") + \".Consumer\";\n case REACT_FORWARD_REF_TYPE:\n var innerType = type.render;\n type = type.displayName;\n type ||\n ((type = innerType.displayName || innerType.name || \"\"),\n (type = \"\" !== type ? \"ForwardRef(\" + type + \")\" : \"ForwardRef\"));\n return type;\n case REACT_MEMO_TYPE:\n return (\n (innerType = type.displayName || null),\n null !== innerType\n ? innerType\n : getComponentNameFromType(type.type) || \"Memo\"\n );\n case REACT_LAZY_TYPE:\n innerType = type._payload;\n type = type._init;\n try {\n return getComponentNameFromType(type(innerType));\n } catch (x) {}\n }\n return null;\n }\n function testStringCoercion(value) {\n return \"\" + value;\n }\n function checkKeyStringCoercion(value) {\n try {\n testStringCoercion(value);\n var JSCompiler_inline_result = !1;\n } catch (e) {\n JSCompiler_inline_result = !0;\n }\n if (JSCompiler_inline_result) {\n JSCompiler_inline_result = console;\n var JSCompiler_temp_const = JSCompiler_inline_result.error;\n var JSCompiler_inline_result$jscomp$0 =\n (\"function\" === typeof Symbol &&\n Symbol.toStringTag &&\n value[Symbol.toStringTag]) ||\n value.constructor.name ||\n \"Object\";\n JSCompiler_temp_const.call(\n JSCompiler_inline_result,\n \"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.\",\n JSCompiler_inline_result$jscomp$0\n );\n return testStringCoercion(value);\n }\n }\n function getTaskName(type) {\n if (type === REACT_FRAGMENT_TYPE) return \"<>\";\n if (\n \"object\" === typeof type &&\n null !== type &&\n type.$$typeof === REACT_LAZY_TYPE\n )\n return \"<...>\";\n try {\n var name = getComponentNameFromType(type);\n return name ? \"<\" + name + \">\" : \"<...>\";\n } catch (x) {\n return \"<...>\";\n }\n }\n function getOwner() {\n var dispatcher = ReactSharedInternals.A;\n return null === dispatcher ? null : dispatcher.getOwner();\n }\n function UnknownOwner() {\n return Error(\"react-stack-top-frame\");\n }\n function hasValidKey(config) {\n if (hasOwnProperty.call(config, \"key\")) {\n var getter = Object.getOwnPropertyDescriptor(config, \"key\").get;\n if (getter && getter.isReactWarning) return !1;\n }\n return void 0 !== config.key;\n }\n function defineKeyPropWarningGetter(props, displayName) {\n function warnAboutAccessingKey() {\n specialPropKeyWarningShown ||\n ((specialPropKeyWarningShown = !0),\n console.error(\n \"%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)\",\n displayName\n ));\n }\n warnAboutAccessingKey.isReactWarning = !0;\n Object.defineProperty(props, \"key\", {\n get: warnAboutAccessingKey,\n configurable: !0\n });\n }\n function elementRefGetterWithDeprecationWarning() {\n var componentName = getComponentNameFromType(this.type);\n didWarnAboutElementRef[componentName] ||\n ((didWarnAboutElementRef[componentName] = !0),\n console.error(\n \"Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release.\"\n ));\n componentName = this.props.ref;\n return void 0 !== componentName ? componentName : null;\n }\n function ReactElement(\n type,\n key,\n self,\n source,\n owner,\n props,\n debugStack,\n debugTask\n ) {\n self = props.ref;\n type = {\n $$typeof: REACT_ELEMENT_TYPE,\n type: type,\n key: key,\n props: props,\n _owner: owner\n };\n null !== (void 0 !== self ? self : null)\n ? Object.defineProperty(type, \"ref\", {\n enumerable: !1,\n get: elementRefGetterWithDeprecationWarning\n })\n : Object.defineProperty(type, \"ref\", { enumerable: !1, value: null });\n type._store = {};\n Object.defineProperty(type._store, \"validated\", {\n configurable: !1,\n enumerable: !1,\n writable: !0,\n value: 0\n });\n Object.defineProperty(type, \"_debugInfo\", {\n configurable: !1,\n enumerable: !1,\n writable: !0,\n value: null\n });\n Object.defineProperty(type, \"_debugStack\", {\n configurable: !1,\n enumerable: !1,\n writable: !0,\n value: debugStack\n });\n Object.defineProperty(type, \"_debugTask\", {\n configurable: !1,\n enumerable: !1,\n writable: !0,\n value: debugTask\n });\n Object.freeze && (Object.freeze(type.props), Object.freeze(type));\n return type;\n }\n function jsxDEVImpl(\n type,\n config,\n maybeKey,\n isStaticChildren,\n source,\n self,\n debugStack,\n debugTask\n ) {\n var children = config.children;\n if (void 0 !== children)\n if (isStaticChildren)\n if (isArrayImpl(children)) {\n for (\n isStaticChildren = 0;\n isStaticChildren < children.length;\n isStaticChildren++\n )\n validateChildKeys(children[isStaticChildren]);\n Object.freeze && Object.freeze(children);\n } else\n console.error(\n \"React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.\"\n );\n else validateChildKeys(children);\n if (hasOwnProperty.call(config, \"key\")) {\n children = getComponentNameFromType(type);\n var keys = Object.keys(config).filter(function (k) {\n return \"key\" !== k;\n });\n isStaticChildren =\n 0 < keys.length\n ? \"{key: someKey, \" + keys.join(\": ..., \") + \": ...}\"\n : \"{key: someKey}\";\n didWarnAboutKeySpread[children + isStaticChildren] ||\n ((keys =\n 0 < keys.length ? \"{\" + keys.join(\": ..., \") + \": ...}\" : \"{}\"),\n console.error(\n 'A props object containing a \"key\" prop is being spread into JSX:\\n let props = %s;\\n <%s {...props} />\\nReact keys must be passed directly to JSX without using spread:\\n let props = %s;\\n <%s key={someKey} {...props} />',\n isStaticChildren,\n children,\n keys,\n children\n ),\n (didWarnAboutKeySpread[children + isStaticChildren] = !0));\n }\n children = null;\n void 0 !== maybeKey &&\n (checkKeyStringCoercion(maybeKey), (children = \"\" + maybeKey));\n hasValidKey(config) &&\n (checkKeyStringCoercion(config.key), (children = \"\" + config.key));\n if (\"key\" in config) {\n maybeKey = {};\n for (var propName in config)\n \"key\" !== propName && (maybeKey[propName] = config[propName]);\n } else maybeKey = config;\n children &&\n defineKeyPropWarningGetter(\n maybeKey,\n \"function\" === typeof type\n ? type.displayName || type.name || \"Unknown\"\n : type\n );\n return ReactElement(\n type,\n children,\n self,\n source,\n getOwner(),\n maybeKey,\n debugStack,\n debugTask\n );\n }\n function validateChildKeys(node) {\n \"object\" === typeof node &&\n null !== node &&\n node.$$typeof === REACT_ELEMENT_TYPE &&\n node._store &&\n (node._store.validated = 1);\n }\n var React = require(\"react\"),\n REACT_ELEMENT_TYPE = Symbol.for(\"react.transitional.element\"),\n REACT_PORTAL_TYPE = Symbol.for(\"react.portal\"),\n REACT_FRAGMENT_TYPE = Symbol.for(\"react.fragment\"),\n REACT_STRICT_MODE_TYPE = Symbol.for(\"react.strict_mode\"),\n REACT_PROFILER_TYPE = Symbol.for(\"react.profiler\");\n Symbol.for(\"react.provider\");\n var REACT_CONSUMER_TYPE = Symbol.for(\"react.consumer\"),\n REACT_CONTEXT_TYPE = Symbol.for(\"react.context\"),\n REACT_FORWARD_REF_TYPE = Symbol.for(\"react.forward_ref\"),\n REACT_SUSPENSE_TYPE = Symbol.for(\"react.suspense\"),\n REACT_SUSPENSE_LIST_TYPE = Symbol.for(\"react.suspense_list\"),\n REACT_MEMO_TYPE = Symbol.for(\"react.memo\"),\n REACT_LAZY_TYPE = Symbol.for(\"react.lazy\"),\n REACT_ACTIVITY_TYPE = Symbol.for(\"react.activity\"),\n REACT_CLIENT_REFERENCE = Symbol.for(\"react.client.reference\"),\n ReactSharedInternals =\n React.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,\n hasOwnProperty = Object.prototype.hasOwnProperty,\n isArrayImpl = Array.isArray,\n createTask = console.createTask\n ? console.createTask\n : function () {\n return null;\n };\n React = {\n \"react-stack-bottom-frame\": function (callStackForError) {\n return callStackForError();\n }\n };\n var specialPropKeyWarningShown;\n var didWarnAboutElementRef = {};\n var unknownOwnerDebugStack = React[\"react-stack-bottom-frame\"].bind(\n React,\n UnknownOwner\n )();\n var unknownOwnerDebugTask = createTask(getTaskName(UnknownOwner));\n var didWarnAboutKeySpread = {};\n exports.Fragment = REACT_FRAGMENT_TYPE;\n exports.jsx = function (type, config, maybeKey, source, self) {\n var trackActualOwner =\n 1e4 > ReactSharedInternals.recentlyCreatedOwnerStacks++;\n return jsxDEVImpl(\n type,\n config,\n maybeKey,\n !1,\n source,\n self,\n trackActualOwner\n ? Error(\"react-stack-top-frame\")\n : unknownOwnerDebugStack,\n trackActualOwner ? createTask(getTaskName(type)) : unknownOwnerDebugTask\n );\n };\n exports.jsxs = function (type, config, maybeKey, source, self) {\n var trackActualOwner =\n 1e4 > ReactSharedInternals.recentlyCreatedOwnerStacks++;\n return jsxDEVImpl(\n type,\n config,\n maybeKey,\n !0,\n source,\n self,\n trackActualOwner\n ? Error(\"react-stack-top-frame\")\n : unknownOwnerDebugStack,\n trackActualOwner ? createTask(getTaskName(type)) : unknownOwnerDebugTask\n );\n };\n })();\n","'use strict';\n\nif (process.env.NODE_ENV === 'production') {\n module.exports = require('./cjs/react-jsx-runtime.production.js');\n} else {\n module.exports = require('./cjs/react-jsx-runtime.development.js');\n}\n",null,null,null,null],"names":["jsxRuntimeModule","require$$0","require$$1","_jsx","_jsxs"],"mappings":";;;;;;;;;;;;;;;;;;;;;AAWA,CAAA,IAAI,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