@aminarji/hrnet-modal-react 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md ADDED
@@ -0,0 +1 @@
1
+ STUDENT PROJECT, DO NOT INSTALL !
@@ -0,0 +1,680 @@
1
+ import Se, { useEffect as cr } from "react";
2
+ import dr from "react-dom";
3
+ var Q = { exports: {} }, W = {};
4
+ /**
5
+ * @license React
6
+ * react-jsx-runtime.production.min.js
7
+ *
8
+ * Copyright (c) Facebook, Inc. and its affiliates.
9
+ *
10
+ * This source code is licensed under the MIT license found in the
11
+ * LICENSE file in the root directory of this source tree.
12
+ */
13
+ var Oe;
14
+ function vr() {
15
+ if (Oe)
16
+ return W;
17
+ Oe = 1;
18
+ var _ = Se, y = Symbol.for("react.element"), P = Symbol.for("react.fragment"), E = Object.prototype.hasOwnProperty, T = _.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, j = { key: !0, ref: !0, __self: !0, __source: !0 };
19
+ function w(g, s, R) {
20
+ var p, b = {}, O = null, N = null;
21
+ R !== void 0 && (O = "" + R), s.key !== void 0 && (O = "" + s.key), s.ref !== void 0 && (N = s.ref);
22
+ for (p in s)
23
+ E.call(s, p) && !j.hasOwnProperty(p) && (b[p] = s[p]);
24
+ if (g && g.defaultProps)
25
+ for (p in s = g.defaultProps, s)
26
+ b[p] === void 0 && (b[p] = s[p]);
27
+ return { $$typeof: y, type: g, key: O, ref: N, props: b, _owner: T.current };
28
+ }
29
+ return W.Fragment = P, W.jsx = w, W.jsxs = w, W;
30
+ }
31
+ var Y = {};
32
+ /**
33
+ * @license React
34
+ * react-jsx-runtime.development.js
35
+ *
36
+ * Copyright (c) Facebook, Inc. and its affiliates.
37
+ *
38
+ * This source code is licensed under the MIT license found in the
39
+ * LICENSE file in the root directory of this source tree.
40
+ */
41
+ var Ce;
42
+ function pr() {
43
+ return Ce || (Ce = 1, process.env.NODE_ENV !== "production" && function() {
44
+ var _ = Se, y = Symbol.for("react.element"), P = Symbol.for("react.portal"), E = Symbol.for("react.fragment"), T = Symbol.for("react.strict_mode"), j = Symbol.for("react.profiler"), w = Symbol.for("react.provider"), g = Symbol.for("react.context"), s = Symbol.for("react.forward_ref"), R = Symbol.for("react.suspense"), p = Symbol.for("react.suspense_list"), b = Symbol.for("react.memo"), O = Symbol.for("react.lazy"), N = Symbol.for("react.offscreen"), ee = Symbol.iterator, Pe = "@@iterator";
45
+ function je(e) {
46
+ if (e === null || typeof e != "object")
47
+ return null;
48
+ var r = ee && e[ee] || e[Pe];
49
+ return typeof r == "function" ? r : null;
50
+ }
51
+ var x = _.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
52
+ function c(e) {
53
+ {
54
+ for (var r = arguments.length, t = new Array(r > 1 ? r - 1 : 0), n = 1; n < r; n++)
55
+ t[n - 1] = arguments[n];
56
+ xe("error", e, t);
57
+ }
58
+ }
59
+ function xe(e, r, t) {
60
+ {
61
+ var n = x.ReactDebugCurrentFrame, i = n.getStackAddendum();
62
+ i !== "" && (r += "%s", t = t.concat([i]));
63
+ var u = t.map(function(o) {
64
+ return String(o);
65
+ });
66
+ u.unshift("Warning: " + r), Function.prototype.apply.call(console[e], console, u);
67
+ }
68
+ }
69
+ var ke = !1, De = !1, Fe = !1, Ae = !1, Ie = !1, re;
70
+ re = Symbol.for("react.module.reference");
71
+ function $e(e) {
72
+ return !!(typeof e == "string" || typeof e == "function" || e === E || e === j || Ie || e === T || e === R || e === p || Ae || e === N || ke || De || Fe || typeof e == "object" && e !== null && (e.$$typeof === O || e.$$typeof === b || e.$$typeof === w || e.$$typeof === g || e.$$typeof === s || // This needs to include all possible module reference object
73
+ // types supported by any Flight configuration anywhere since
74
+ // we don't know which Flight build this will end up being used
75
+ // with.
76
+ e.$$typeof === re || e.getModuleId !== void 0));
77
+ }
78
+ function We(e, r, t) {
79
+ var n = e.displayName;
80
+ if (n)
81
+ return n;
82
+ var i = r.displayName || r.name || "";
83
+ return i !== "" ? t + "(" + i + ")" : t;
84
+ }
85
+ function te(e) {
86
+ return e.displayName || "Context";
87
+ }
88
+ function m(e) {
89
+ if (e == null)
90
+ return null;
91
+ if (typeof e.tag == "number" && c("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof e == "function")
92
+ return e.displayName || e.name || null;
93
+ if (typeof e == "string")
94
+ return e;
95
+ switch (e) {
96
+ case E:
97
+ return "Fragment";
98
+ case P:
99
+ return "Portal";
100
+ case j:
101
+ return "Profiler";
102
+ case T:
103
+ return "StrictMode";
104
+ case R:
105
+ return "Suspense";
106
+ case p:
107
+ return "SuspenseList";
108
+ }
109
+ if (typeof e == "object")
110
+ switch (e.$$typeof) {
111
+ case g:
112
+ var r = e;
113
+ return te(r) + ".Consumer";
114
+ case w:
115
+ var t = e;
116
+ return te(t._context) + ".Provider";
117
+ case s:
118
+ return We(e, e.render, "ForwardRef");
119
+ case b:
120
+ var n = e.displayName || null;
121
+ return n !== null ? n : m(e.type) || "Memo";
122
+ case O: {
123
+ var i = e, u = i._payload, o = i._init;
124
+ try {
125
+ return m(o(u));
126
+ } catch {
127
+ return null;
128
+ }
129
+ }
130
+ }
131
+ return null;
132
+ }
133
+ var C = Object.assign, A = 0, ne, ae, oe, ie, ue, se, le;
134
+ function fe() {
135
+ }
136
+ fe.__reactDisabledLog = !0;
137
+ function Ye() {
138
+ {
139
+ if (A === 0) {
140
+ ne = console.log, ae = console.info, oe = console.warn, ie = console.error, ue = console.group, se = console.groupCollapsed, le = console.groupEnd;
141
+ var e = {
142
+ configurable: !0,
143
+ enumerable: !0,
144
+ value: fe,
145
+ writable: !0
146
+ };
147
+ Object.defineProperties(console, {
148
+ info: e,
149
+ log: e,
150
+ warn: e,
151
+ error: e,
152
+ group: e,
153
+ groupCollapsed: e,
154
+ groupEnd: e
155
+ });
156
+ }
157
+ A++;
158
+ }
159
+ }
160
+ function Ne() {
161
+ {
162
+ if (A--, A === 0) {
163
+ var e = {
164
+ configurable: !0,
165
+ enumerable: !0,
166
+ writable: !0
167
+ };
168
+ Object.defineProperties(console, {
169
+ log: C({}, e, {
170
+ value: ne
171
+ }),
172
+ info: C({}, e, {
173
+ value: ae
174
+ }),
175
+ warn: C({}, e, {
176
+ value: oe
177
+ }),
178
+ error: C({}, e, {
179
+ value: ie
180
+ }),
181
+ group: C({}, e, {
182
+ value: ue
183
+ }),
184
+ groupCollapsed: C({}, e, {
185
+ value: se
186
+ }),
187
+ groupEnd: C({}, e, {
188
+ value: le
189
+ })
190
+ });
191
+ }
192
+ A < 0 && c("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
193
+ }
194
+ }
195
+ var B = x.ReactCurrentDispatcher, J;
196
+ function L(e, r, t) {
197
+ {
198
+ if (J === void 0)
199
+ try {
200
+ throw Error();
201
+ } catch (i) {
202
+ var n = i.stack.trim().match(/\n( *(at )?)/);
203
+ J = n && n[1] || "";
204
+ }
205
+ return `
206
+ ` + J + e;
207
+ }
208
+ }
209
+ var K = !1, M;
210
+ {
211
+ var Le = typeof WeakMap == "function" ? WeakMap : Map;
212
+ M = new Le();
213
+ }
214
+ function ce(e, r) {
215
+ if (!e || K)
216
+ return "";
217
+ {
218
+ var t = M.get(e);
219
+ if (t !== void 0)
220
+ return t;
221
+ }
222
+ var n;
223
+ K = !0;
224
+ var i = Error.prepareStackTrace;
225
+ Error.prepareStackTrace = void 0;
226
+ var u;
227
+ u = B.current, B.current = null, Ye();
228
+ try {
229
+ if (r) {
230
+ var o = function() {
231
+ throw Error();
232
+ };
233
+ if (Object.defineProperty(o.prototype, "props", {
234
+ set: function() {
235
+ throw Error();
236
+ }
237
+ }), typeof Reflect == "object" && Reflect.construct) {
238
+ try {
239
+ Reflect.construct(o, []);
240
+ } catch (v) {
241
+ n = v;
242
+ }
243
+ Reflect.construct(e, [], o);
244
+ } else {
245
+ try {
246
+ o.call();
247
+ } catch (v) {
248
+ n = v;
249
+ }
250
+ e.call(o.prototype);
251
+ }
252
+ } else {
253
+ try {
254
+ throw Error();
255
+ } catch (v) {
256
+ n = v;
257
+ }
258
+ e();
259
+ }
260
+ } catch (v) {
261
+ if (v && n && typeof v.stack == "string") {
262
+ for (var a = v.stack.split(`
263
+ `), d = n.stack.split(`
264
+ `), l = a.length - 1, f = d.length - 1; l >= 1 && f >= 0 && a[l] !== d[f]; )
265
+ f--;
266
+ for (; l >= 1 && f >= 0; l--, f--)
267
+ if (a[l] !== d[f]) {
268
+ if (l !== 1 || f !== 1)
269
+ do
270
+ if (l--, f--, f < 0 || a[l] !== d[f]) {
271
+ var h = `
272
+ ` + a[l].replace(" at new ", " at ");
273
+ return e.displayName && h.includes("<anonymous>") && (h = h.replace("<anonymous>", e.displayName)), typeof e == "function" && M.set(e, h), h;
274
+ }
275
+ while (l >= 1 && f >= 0);
276
+ break;
277
+ }
278
+ }
279
+ } finally {
280
+ K = !1, B.current = u, Ne(), Error.prepareStackTrace = i;
281
+ }
282
+ var D = e ? e.displayName || e.name : "", S = D ? L(D) : "";
283
+ return typeof e == "function" && M.set(e, S), S;
284
+ }
285
+ function Me(e, r, t) {
286
+ return ce(e, !1);
287
+ }
288
+ function Ve(e) {
289
+ var r = e.prototype;
290
+ return !!(r && r.isReactComponent);
291
+ }
292
+ function V(e, r, t) {
293
+ if (e == null)
294
+ return "";
295
+ if (typeof e == "function")
296
+ return ce(e, Ve(e));
297
+ if (typeof e == "string")
298
+ return L(e);
299
+ switch (e) {
300
+ case R:
301
+ return L("Suspense");
302
+ case p:
303
+ return L("SuspenseList");
304
+ }
305
+ if (typeof e == "object")
306
+ switch (e.$$typeof) {
307
+ case s:
308
+ return Me(e.render);
309
+ case b:
310
+ return V(e.type, r, t);
311
+ case O: {
312
+ var n = e, i = n._payload, u = n._init;
313
+ try {
314
+ return V(u(i), r, t);
315
+ } catch {
316
+ }
317
+ }
318
+ }
319
+ return "";
320
+ }
321
+ var I = Object.prototype.hasOwnProperty, de = {}, ve = x.ReactDebugCurrentFrame;
322
+ function U(e) {
323
+ if (e) {
324
+ var r = e._owner, t = V(e.type, e._source, r ? r.type : null);
325
+ ve.setExtraStackFrame(t);
326
+ } else
327
+ ve.setExtraStackFrame(null);
328
+ }
329
+ function Ue(e, r, t, n, i) {
330
+ {
331
+ var u = Function.call.bind(I);
332
+ for (var o in e)
333
+ if (u(e, o)) {
334
+ var a = void 0;
335
+ try {
336
+ if (typeof e[o] != "function") {
337
+ var d = Error((n || "React class") + ": " + t + " type `" + o + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof e[o] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
338
+ throw d.name = "Invariant Violation", d;
339
+ }
340
+ a = e[o](r, o, n, t, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
341
+ } catch (l) {
342
+ a = l;
343
+ }
344
+ a && !(a instanceof Error) && (U(i), c("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", n || "React class", t, o, typeof a), U(null)), a instanceof Error && !(a.message in de) && (de[a.message] = !0, U(i), c("Failed %s type: %s", t, a.message), U(null));
345
+ }
346
+ }
347
+ }
348
+ var Be = Array.isArray;
349
+ function q(e) {
350
+ return Be(e);
351
+ }
352
+ function Je(e) {
353
+ {
354
+ var r = typeof Symbol == "function" && Symbol.toStringTag, t = r && e[Symbol.toStringTag] || e.constructor.name || "Object";
355
+ return t;
356
+ }
357
+ }
358
+ function Ke(e) {
359
+ try {
360
+ return pe(e), !1;
361
+ } catch {
362
+ return !0;
363
+ }
364
+ }
365
+ function pe(e) {
366
+ return "" + e;
367
+ }
368
+ function he(e) {
369
+ if (Ke(e))
370
+ return c("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", Je(e)), pe(e);
371
+ }
372
+ var $ = x.ReactCurrentOwner, qe = {
373
+ key: !0,
374
+ ref: !0,
375
+ __self: !0,
376
+ __source: !0
377
+ }, ye, me, G;
378
+ G = {};
379
+ function Ge(e) {
380
+ if (I.call(e, "ref")) {
381
+ var r = Object.getOwnPropertyDescriptor(e, "ref").get;
382
+ if (r && r.isReactWarning)
383
+ return !1;
384
+ }
385
+ return e.ref !== void 0;
386
+ }
387
+ function ze(e) {
388
+ if (I.call(e, "key")) {
389
+ var r = Object.getOwnPropertyDescriptor(e, "key").get;
390
+ if (r && r.isReactWarning)
391
+ return !1;
392
+ }
393
+ return e.key !== void 0;
394
+ }
395
+ function Xe(e, r) {
396
+ if (typeof e.ref == "string" && $.current && r && $.current.stateNode !== r) {
397
+ var t = m($.current.type);
398
+ G[t] || (c('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref', m($.current.type), e.ref), G[t] = !0);
399
+ }
400
+ }
401
+ function He(e, r) {
402
+ {
403
+ var t = function() {
404
+ ye || (ye = !0, c("%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://reactjs.org/link/special-props)", r));
405
+ };
406
+ t.isReactWarning = !0, Object.defineProperty(e, "key", {
407
+ get: t,
408
+ configurable: !0
409
+ });
410
+ }
411
+ }
412
+ function Ze(e, r) {
413
+ {
414
+ var t = function() {
415
+ me || (me = !0, c("%s: `ref` 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://reactjs.org/link/special-props)", r));
416
+ };
417
+ t.isReactWarning = !0, Object.defineProperty(e, "ref", {
418
+ get: t,
419
+ configurable: !0
420
+ });
421
+ }
422
+ }
423
+ var Qe = function(e, r, t, n, i, u, o) {
424
+ var a = {
425
+ // This tag allows us to uniquely identify this as a React Element
426
+ $$typeof: y,
427
+ // Built-in properties that belong on the element
428
+ type: e,
429
+ key: r,
430
+ ref: t,
431
+ props: o,
432
+ // Record the component responsible for creating this element.
433
+ _owner: u
434
+ };
435
+ return a._store = {}, Object.defineProperty(a._store, "validated", {
436
+ configurable: !1,
437
+ enumerable: !1,
438
+ writable: !0,
439
+ value: !1
440
+ }), Object.defineProperty(a, "_self", {
441
+ configurable: !1,
442
+ enumerable: !1,
443
+ writable: !1,
444
+ value: n
445
+ }), Object.defineProperty(a, "_source", {
446
+ configurable: !1,
447
+ enumerable: !1,
448
+ writable: !1,
449
+ value: i
450
+ }), Object.freeze && (Object.freeze(a.props), Object.freeze(a)), a;
451
+ };
452
+ function er(e, r, t, n, i) {
453
+ {
454
+ var u, o = {}, a = null, d = null;
455
+ t !== void 0 && (he(t), a = "" + t), ze(r) && (he(r.key), a = "" + r.key), Ge(r) && (d = r.ref, Xe(r, i));
456
+ for (u in r)
457
+ I.call(r, u) && !qe.hasOwnProperty(u) && (o[u] = r[u]);
458
+ if (e && e.defaultProps) {
459
+ var l = e.defaultProps;
460
+ for (u in l)
461
+ o[u] === void 0 && (o[u] = l[u]);
462
+ }
463
+ if (a || d) {
464
+ var f = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
465
+ a && He(o, f), d && Ze(o, f);
466
+ }
467
+ return Qe(e, a, d, i, n, $.current, o);
468
+ }
469
+ }
470
+ var z = x.ReactCurrentOwner, ge = x.ReactDebugCurrentFrame;
471
+ function k(e) {
472
+ if (e) {
473
+ var r = e._owner, t = V(e.type, e._source, r ? r.type : null);
474
+ ge.setExtraStackFrame(t);
475
+ } else
476
+ ge.setExtraStackFrame(null);
477
+ }
478
+ var X;
479
+ X = !1;
480
+ function H(e) {
481
+ return typeof e == "object" && e !== null && e.$$typeof === y;
482
+ }
483
+ function be() {
484
+ {
485
+ if (z.current) {
486
+ var e = m(z.current.type);
487
+ if (e)
488
+ return `
489
+
490
+ Check the render method of \`` + e + "`.";
491
+ }
492
+ return "";
493
+ }
494
+ }
495
+ function rr(e) {
496
+ {
497
+ if (e !== void 0) {
498
+ var r = e.fileName.replace(/^.*[\\\/]/, ""), t = e.lineNumber;
499
+ return `
500
+
501
+ Check your code at ` + r + ":" + t + ".";
502
+ }
503
+ return "";
504
+ }
505
+ }
506
+ var Ee = {};
507
+ function tr(e) {
508
+ {
509
+ var r = be();
510
+ if (!r) {
511
+ var t = typeof e == "string" ? e : e.displayName || e.name;
512
+ t && (r = `
513
+
514
+ Check the top-level render call using <` + t + ">.");
515
+ }
516
+ return r;
517
+ }
518
+ }
519
+ function Re(e, r) {
520
+ {
521
+ if (!e._store || e._store.validated || e.key != null)
522
+ return;
523
+ e._store.validated = !0;
524
+ var t = tr(r);
525
+ if (Ee[t])
526
+ return;
527
+ Ee[t] = !0;
528
+ var n = "";
529
+ e && e._owner && e._owner !== z.current && (n = " It was passed a child from " + m(e._owner.type) + "."), k(e), c('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', t, n), k(null);
530
+ }
531
+ }
532
+ function _e(e, r) {
533
+ {
534
+ if (typeof e != "object")
535
+ return;
536
+ if (q(e))
537
+ for (var t = 0; t < e.length; t++) {
538
+ var n = e[t];
539
+ H(n) && Re(n, r);
540
+ }
541
+ else if (H(e))
542
+ e._store && (e._store.validated = !0);
543
+ else if (e) {
544
+ var i = je(e);
545
+ if (typeof i == "function" && i !== e.entries)
546
+ for (var u = i.call(e), o; !(o = u.next()).done; )
547
+ H(o.value) && Re(o.value, r);
548
+ }
549
+ }
550
+ }
551
+ function nr(e) {
552
+ {
553
+ var r = e.type;
554
+ if (r == null || typeof r == "string")
555
+ return;
556
+ var t;
557
+ if (typeof r == "function")
558
+ t = r.propTypes;
559
+ else if (typeof r == "object" && (r.$$typeof === s || // Note: Memo only checks outer props here.
560
+ // Inner props are checked in the reconciler.
561
+ r.$$typeof === b))
562
+ t = r.propTypes;
563
+ else
564
+ return;
565
+ if (t) {
566
+ var n = m(r);
567
+ Ue(t, e.props, "prop", n, e);
568
+ } else if (r.PropTypes !== void 0 && !X) {
569
+ X = !0;
570
+ var i = m(r);
571
+ c("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", i || "Unknown");
572
+ }
573
+ typeof r.getDefaultProps == "function" && !r.getDefaultProps.isReactClassApproved && c("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
574
+ }
575
+ }
576
+ function ar(e) {
577
+ {
578
+ for (var r = Object.keys(e.props), t = 0; t < r.length; t++) {
579
+ var n = r[t];
580
+ if (n !== "children" && n !== "key") {
581
+ k(e), c("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", n), k(null);
582
+ break;
583
+ }
584
+ }
585
+ e.ref !== null && (k(e), c("Invalid attribute `ref` supplied to `React.Fragment`."), k(null));
586
+ }
587
+ }
588
+ var Te = {};
589
+ function we(e, r, t, n, i, u) {
590
+ {
591
+ var o = $e(e);
592
+ if (!o) {
593
+ var a = "";
594
+ (e === void 0 || typeof e == "object" && e !== null && Object.keys(e).length === 0) && (a += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
595
+ var d = rr(i);
596
+ d ? a += d : a += be();
597
+ var l;
598
+ e === null ? l = "null" : q(e) ? l = "array" : e !== void 0 && e.$$typeof === y ? (l = "<" + (m(e.type) || "Unknown") + " />", a = " Did you accidentally export a JSX literal instead of a component?") : l = typeof e, c("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", l, a);
599
+ }
600
+ var f = er(e, r, t, i, u);
601
+ if (f == null)
602
+ return f;
603
+ if (o) {
604
+ var h = r.children;
605
+ if (h !== void 0)
606
+ if (n)
607
+ if (q(h)) {
608
+ for (var D = 0; D < h.length; D++)
609
+ _e(h[D], e);
610
+ Object.freeze && Object.freeze(h);
611
+ } else
612
+ c("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
613
+ else
614
+ _e(h, e);
615
+ }
616
+ if (I.call(r, "key")) {
617
+ var S = m(e), v = Object.keys(r).filter(function(fr) {
618
+ return fr !== "key";
619
+ }), Z = v.length > 0 ? "{key: someKey, " + v.join(": ..., ") + ": ...}" : "{key: someKey}";
620
+ if (!Te[S + Z]) {
621
+ var lr = v.length > 0 ? "{" + v.join(": ..., ") + ": ...}" : "{}";
622
+ c(`A props object containing a "key" prop is being spread into JSX:
623
+ let props = %s;
624
+ <%s {...props} />
625
+ React keys must be passed directly to JSX without using spread:
626
+ let props = %s;
627
+ <%s key={someKey} {...props} />`, Z, S, lr, S), Te[S + Z] = !0;
628
+ }
629
+ }
630
+ return e === E ? ar(f) : nr(f), f;
631
+ }
632
+ }
633
+ function or(e, r, t) {
634
+ return we(e, r, t, !0);
635
+ }
636
+ function ir(e, r, t) {
637
+ return we(e, r, t, !1);
638
+ }
639
+ var ur = ir, sr = or;
640
+ Y.Fragment = E, Y.jsx = ur, Y.jsxs = sr;
641
+ }()), Y;
642
+ }
643
+ process.env.NODE_ENV === "production" ? Q.exports = vr() : Q.exports = pr();
644
+ var F = Q.exports;
645
+ const mr = ({
646
+ isOpen: _,
647
+ onClose: y,
648
+ title: P,
649
+ children: E,
650
+ closeOnEsc: T = !0,
651
+ closeOnOverlayClick: j = !0,
652
+ className: w = ""
653
+ }) => {
654
+ if (cr(() => {
655
+ const s = (R) => {
656
+ T && R.key === "Escape" && y();
657
+ };
658
+ return _ && (document.addEventListener("keydown", s), document.body.style.overflow = "hidden"), () => {
659
+ document.removeEventListener("keydown", s), document.body.style.overflow = "";
660
+ };
661
+ }, [_, T, y]), !_)
662
+ return null;
663
+ const g = (s) => {
664
+ j && s.target === s.currentTarget && y();
665
+ };
666
+ return dr.createPortal(
667
+ /* @__PURE__ */ F.jsx("div", { className: "hrnet-modal-overlay", onClick: g, "aria-modal": "true", role: "dialog", children: /* @__PURE__ */ F.jsxs("div", { className: `hrnet-modal-container ${w}`, onClick: (s) => s.stopPropagation(), children: [
668
+ /* @__PURE__ */ F.jsxs("div", { className: "hrnet-modal-header", children: [
669
+ P && /* @__PURE__ */ F.jsx("h3", { className: "hrnet-modal-title", children: P }),
670
+ /* @__PURE__ */ F.jsx("button", { className: "hrnet-modal-close-btn", onClick: y, "aria-label": "Close modal", children: "×" })
671
+ ] }),
672
+ /* @__PURE__ */ F.jsx("div", { className: "hrnet-modal-body", children: E })
673
+ ] }) }),
674
+ document.body
675
+ );
676
+ };
677
+ export {
678
+ mr as Modal,
679
+ mr as default
680
+ };
@@ -0,0 +1,32 @@
1
+ (function(b,T){typeof exports=="object"&&typeof module<"u"?T(exports,require("react"),require("react-dom")):typeof define=="function"&&define.amd?define(["exports","react","react-dom"],T):(b=typeof globalThis<"u"?globalThis:b||self,T(b.HRnetModalReact={},b.React,b.ReactDOM))})(this,function(b,T,xe){"use strict";var K={exports:{}},W={};/**
2
+ * @license React
3
+ * react-jsx-runtime.production.min.js
4
+ *
5
+ * Copyright (c) Facebook, Inc. and its affiliates.
6
+ *
7
+ * This source code is licensed under the MIT license found in the
8
+ * LICENSE file in the root directory of this source tree.
9
+ */var te;function ke(){if(te)return W;te=1;var w=T,y=Symbol.for("react.element"),k=Symbol.for("react.fragment"),R=Object.prototype.hasOwnProperty,O=w.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,D={key:!0,ref:!0,__self:!0,__source:!0};function S(g,s,_){var p,E={},C=null,$=null;_!==void 0&&(C=""+_),s.key!==void 0&&(C=""+s.key),s.ref!==void 0&&($=s.ref);for(p in s)R.call(s,p)&&!D.hasOwnProperty(p)&&(E[p]=s[p]);if(g&&g.defaultProps)for(p in s=g.defaultProps,s)E[p]===void 0&&(E[p]=s[p]);return{$$typeof:y,type:g,key:C,ref:$,props:E,_owner:O.current}}return W.Fragment=k,W.jsx=S,W.jsxs=S,W}var Y={};/**
10
+ * @license React
11
+ * react-jsx-runtime.development.js
12
+ *
13
+ * Copyright (c) Facebook, Inc. and its affiliates.
14
+ *
15
+ * This source code is licensed under the MIT license found in the
16
+ * LICENSE file in the root directory of this source tree.
17
+ */var ne;function De(){return ne||(ne=1,process.env.NODE_ENV!=="production"&&function(){var w=T,y=Symbol.for("react.element"),k=Symbol.for("react.portal"),R=Symbol.for("react.fragment"),O=Symbol.for("react.strict_mode"),D=Symbol.for("react.profiler"),S=Symbol.for("react.provider"),g=Symbol.for("react.context"),s=Symbol.for("react.forward_ref"),_=Symbol.for("react.suspense"),p=Symbol.for("react.suspense_list"),E=Symbol.for("react.memo"),C=Symbol.for("react.lazy"),$=Symbol.for("react.offscreen"),oe=Symbol.iterator,Fe="@@iterator";function Ae(e){if(e===null||typeof e!="object")return null;var r=oe&&e[oe]||e[Fe];return typeof r=="function"?r:null}var F=w.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function c(e){{for(var r=arguments.length,t=new Array(r>1?r-1:0),n=1;n<r;n++)t[n-1]=arguments[n];Ie("error",e,t)}}function Ie(e,r,t){{var n=F.ReactDebugCurrentFrame,i=n.getStackAddendum();i!==""&&(r+="%s",t=t.concat([i]));var u=t.map(function(o){return String(o)});u.unshift("Warning: "+r),Function.prototype.apply.call(console[e],console,u)}}var We=!1,Ye=!1,Me=!1,Ne=!1,Le=!1,ie;ie=Symbol.for("react.module.reference");function $e(e){return!!(typeof e=="string"||typeof e=="function"||e===R||e===D||Le||e===O||e===_||e===p||Ne||e===$||We||Ye||Me||typeof e=="object"&&e!==null&&(e.$$typeof===C||e.$$typeof===E||e.$$typeof===S||e.$$typeof===g||e.$$typeof===s||e.$$typeof===ie||e.getModuleId!==void 0))}function Ve(e,r,t){var n=e.displayName;if(n)return n;var i=r.displayName||r.name||"";return i!==""?t+"("+i+")":t}function ue(e){return e.displayName||"Context"}function m(e){if(e==null)return null;if(typeof e.tag=="number"&&c("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case R:return"Fragment";case k:return"Portal";case D:return"Profiler";case O:return"StrictMode";case _:return"Suspense";case p:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case g:var r=e;return ue(r)+".Consumer";case S:var t=e;return ue(t._context)+".Provider";case s:return Ve(e,e.render,"ForwardRef");case E:var n=e.displayName||null;return n!==null?n:m(e.type)||"Memo";case C:{var i=e,u=i._payload,o=i._init;try{return m(o(u))}catch{return null}}}return null}var P=Object.assign,M=0,se,le,fe,ce,de,ve,pe;function he(){}he.__reactDisabledLog=!0;function Ue(){{if(M===0){se=console.log,le=console.info,fe=console.warn,ce=console.error,de=console.group,ve=console.groupCollapsed,pe=console.groupEnd;var e={configurable:!0,enumerable:!0,value:he,writable:!0};Object.defineProperties(console,{info:e,log:e,warn:e,error:e,group:e,groupCollapsed:e,groupEnd:e})}M++}}function Be(){{if(M--,M===0){var e={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:P({},e,{value:se}),info:P({},e,{value:le}),warn:P({},e,{value:fe}),error:P({},e,{value:ce}),group:P({},e,{value:de}),groupCollapsed:P({},e,{value:ve}),groupEnd:P({},e,{value:pe})})}M<0&&c("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var q=F.ReactCurrentDispatcher,G;function V(e,r,t){{if(G===void 0)try{throw Error()}catch(i){var n=i.stack.trim().match(/\n( *(at )?)/);G=n&&n[1]||""}return`
18
+ `+G+e}}var z=!1,U;{var Je=typeof WeakMap=="function"?WeakMap:Map;U=new Je}function ye(e,r){if(!e||z)return"";{var t=U.get(e);if(t!==void 0)return t}var n;z=!0;var i=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var u;u=q.current,q.current=null,Ue();try{if(r){var o=function(){throw Error()};if(Object.defineProperty(o.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(o,[])}catch(v){n=v}Reflect.construct(e,[],o)}else{try{o.call()}catch(v){n=v}e.call(o.prototype)}}else{try{throw Error()}catch(v){n=v}e()}}catch(v){if(v&&n&&typeof v.stack=="string"){for(var a=v.stack.split(`
19
+ `),d=n.stack.split(`
20
+ `),l=a.length-1,f=d.length-1;l>=1&&f>=0&&a[l]!==d[f];)f--;for(;l>=1&&f>=0;l--,f--)if(a[l]!==d[f]){if(l!==1||f!==1)do if(l--,f--,f<0||a[l]!==d[f]){var h=`
21
+ `+a[l].replace(" at new "," at ");return e.displayName&&h.includes("<anonymous>")&&(h=h.replace("<anonymous>",e.displayName)),typeof e=="function"&&U.set(e,h),h}while(l>=1&&f>=0);break}}}finally{z=!1,q.current=u,Be(),Error.prepareStackTrace=i}var I=e?e.displayName||e.name:"",j=I?V(I):"";return typeof e=="function"&&U.set(e,j),j}function Ke(e,r,t){return ye(e,!1)}function qe(e){var r=e.prototype;return!!(r&&r.isReactComponent)}function B(e,r,t){if(e==null)return"";if(typeof e=="function")return ye(e,qe(e));if(typeof e=="string")return V(e);switch(e){case _:return V("Suspense");case p:return V("SuspenseList")}if(typeof e=="object")switch(e.$$typeof){case s:return Ke(e.render);case E:return B(e.type,r,t);case C:{var n=e,i=n._payload,u=n._init;try{return B(u(i),r,t)}catch{}}}return""}var N=Object.prototype.hasOwnProperty,me={},be=F.ReactDebugCurrentFrame;function J(e){if(e){var r=e._owner,t=B(e.type,e._source,r?r.type:null);be.setExtraStackFrame(t)}else be.setExtraStackFrame(null)}function Ge(e,r,t,n,i){{var u=Function.call.bind(N);for(var o in e)if(u(e,o)){var a=void 0;try{if(typeof e[o]!="function"){var d=Error((n||"React class")+": "+t+" type `"+o+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof e[o]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw d.name="Invariant Violation",d}a=e[o](r,o,n,t,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(l){a=l}a&&!(a instanceof Error)&&(J(i),c("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",n||"React class",t,o,typeof a),J(null)),a instanceof Error&&!(a.message in me)&&(me[a.message]=!0,J(i),c("Failed %s type: %s",t,a.message),J(null))}}}var ze=Array.isArray;function X(e){return ze(e)}function Xe(e){{var r=typeof Symbol=="function"&&Symbol.toStringTag,t=r&&e[Symbol.toStringTag]||e.constructor.name||"Object";return t}}function He(e){try{return ge(e),!1}catch{return!0}}function ge(e){return""+e}function Ee(e){if(He(e))return c("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",Xe(e)),ge(e)}var L=F.ReactCurrentOwner,Ze={key:!0,ref:!0,__self:!0,__source:!0},Re,_e,H;H={};function Qe(e){if(N.call(e,"ref")){var r=Object.getOwnPropertyDescriptor(e,"ref").get;if(r&&r.isReactWarning)return!1}return e.ref!==void 0}function er(e){if(N.call(e,"key")){var r=Object.getOwnPropertyDescriptor(e,"key").get;if(r&&r.isReactWarning)return!1}return e.key!==void 0}function rr(e,r){if(typeof e.ref=="string"&&L.current&&r&&L.current.stateNode!==r){var t=m(L.current.type);H[t]||(c('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref',m(L.current.type),e.ref),H[t]=!0)}}function tr(e,r){{var t=function(){Re||(Re=!0,c("%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://reactjs.org/link/special-props)",r))};t.isReactWarning=!0,Object.defineProperty(e,"key",{get:t,configurable:!0})}}function nr(e,r){{var t=function(){_e||(_e=!0,c("%s: `ref` 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://reactjs.org/link/special-props)",r))};t.isReactWarning=!0,Object.defineProperty(e,"ref",{get:t,configurable:!0})}}var ar=function(e,r,t,n,i,u,o){var a={$$typeof:y,type:e,key:r,ref:t,props:o,_owner:u};return a._store={},Object.defineProperty(a._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(a,"_self",{configurable:!1,enumerable:!1,writable:!1,value:n}),Object.defineProperty(a,"_source",{configurable:!1,enumerable:!1,writable:!1,value:i}),Object.freeze&&(Object.freeze(a.props),Object.freeze(a)),a};function or(e,r,t,n,i){{var u,o={},a=null,d=null;t!==void 0&&(Ee(t),a=""+t),er(r)&&(Ee(r.key),a=""+r.key),Qe(r)&&(d=r.ref,rr(r,i));for(u in r)N.call(r,u)&&!Ze.hasOwnProperty(u)&&(o[u]=r[u]);if(e&&e.defaultProps){var l=e.defaultProps;for(u in l)o[u]===void 0&&(o[u]=l[u])}if(a||d){var f=typeof e=="function"?e.displayName||e.name||"Unknown":e;a&&tr(o,f),d&&nr(o,f)}return ar(e,a,d,i,n,L.current,o)}}var Z=F.ReactCurrentOwner,Te=F.ReactDebugCurrentFrame;function A(e){if(e){var r=e._owner,t=B(e.type,e._source,r?r.type:null);Te.setExtraStackFrame(t)}else Te.setExtraStackFrame(null)}var Q;Q=!1;function ee(e){return typeof e=="object"&&e!==null&&e.$$typeof===y}function we(){{if(Z.current){var e=m(Z.current.type);if(e)return`
22
+
23
+ Check the render method of \``+e+"`."}return""}}function ir(e){{if(e!==void 0){var r=e.fileName.replace(/^.*[\\\/]/,""),t=e.lineNumber;return`
24
+
25
+ Check your code at `+r+":"+t+"."}return""}}var Oe={};function ur(e){{var r=we();if(!r){var t=typeof e=="string"?e:e.displayName||e.name;t&&(r=`
26
+
27
+ Check the top-level render call using <`+t+">.")}return r}}function Se(e,r){{if(!e._store||e._store.validated||e.key!=null)return;e._store.validated=!0;var t=ur(r);if(Oe[t])return;Oe[t]=!0;var n="";e&&e._owner&&e._owner!==Z.current&&(n=" It was passed a child from "+m(e._owner.type)+"."),A(e),c('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',t,n),A(null)}}function Ce(e,r){{if(typeof e!="object")return;if(X(e))for(var t=0;t<e.length;t++){var n=e[t];ee(n)&&Se(n,r)}else if(ee(e))e._store&&(e._store.validated=!0);else if(e){var i=Ae(e);if(typeof i=="function"&&i!==e.entries)for(var u=i.call(e),o;!(o=u.next()).done;)ee(o.value)&&Se(o.value,r)}}}function sr(e){{var r=e.type;if(r==null||typeof r=="string")return;var t;if(typeof r=="function")t=r.propTypes;else if(typeof r=="object"&&(r.$$typeof===s||r.$$typeof===E))t=r.propTypes;else return;if(t){var n=m(r);Ge(t,e.props,"prop",n,e)}else if(r.PropTypes!==void 0&&!Q){Q=!0;var i=m(r);c("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",i||"Unknown")}typeof r.getDefaultProps=="function"&&!r.getDefaultProps.isReactClassApproved&&c("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function lr(e){{for(var r=Object.keys(e.props),t=0;t<r.length;t++){var n=r[t];if(n!=="children"&&n!=="key"){A(e),c("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",n),A(null);break}}e.ref!==null&&(A(e),c("Invalid attribute `ref` supplied to `React.Fragment`."),A(null))}}var Pe={};function je(e,r,t,n,i,u){{var o=$e(e);if(!o){var a="";(e===void 0||typeof e=="object"&&e!==null&&Object.keys(e).length===0)&&(a+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");var d=ir(i);d?a+=d:a+=we();var l;e===null?l="null":X(e)?l="array":e!==void 0&&e.$$typeof===y?(l="<"+(m(e.type)||"Unknown")+" />",a=" Did you accidentally export a JSX literal instead of a component?"):l=typeof e,c("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",l,a)}var f=or(e,r,t,i,u);if(f==null)return f;if(o){var h=r.children;if(h!==void 0)if(n)if(X(h)){for(var I=0;I<h.length;I++)Ce(h[I],e);Object.freeze&&Object.freeze(h)}else c("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else Ce(h,e)}if(N.call(r,"key")){var j=m(e),v=Object.keys(r).filter(function(hr){return hr!=="key"}),re=v.length>0?"{key: someKey, "+v.join(": ..., ")+": ...}":"{key: someKey}";if(!Pe[j+re]){var pr=v.length>0?"{"+v.join(": ..., ")+": ...}":"{}";c(`A props object containing a "key" prop is being spread into JSX:
28
+ let props = %s;
29
+ <%s {...props} />
30
+ React keys must be passed directly to JSX without using spread:
31
+ let props = %s;
32
+ <%s key={someKey} {...props} />`,re,j,pr,j),Pe[j+re]=!0}}return e===R?lr(f):sr(f),f}}function fr(e,r,t){return je(e,r,t,!0)}function cr(e,r,t){return je(e,r,t,!1)}var dr=cr,vr=fr;Y.Fragment=R,Y.jsx=dr,Y.jsxs=vr}()),Y}process.env.NODE_ENV==="production"?K.exports=ke():K.exports=De();var x=K.exports;const yr="",ae=({isOpen:w,onClose:y,title:k,children:R,closeOnEsc:O=!0,closeOnOverlayClick:D=!0,className:S=""})=>{if(T.useEffect(()=>{const s=_=>{O&&_.key==="Escape"&&y()};return w&&(document.addEventListener("keydown",s),document.body.style.overflow="hidden"),()=>{document.removeEventListener("keydown",s),document.body.style.overflow=""}},[w,O,y]),!w)return null;const g=s=>{D&&s.target===s.currentTarget&&y()};return xe.createPortal(x.jsx("div",{className:"hrnet-modal-overlay",onClick:g,"aria-modal":"true",role:"dialog",children:x.jsxs("div",{className:`hrnet-modal-container ${S}`,onClick:s=>s.stopPropagation(),children:[x.jsxs("div",{className:"hrnet-modal-header",children:[k&&x.jsx("h3",{className:"hrnet-modal-title",children:k}),x.jsx("button",{className:"hrnet-modal-close-btn",onClick:y,"aria-label":"Close modal",children:"×"})]}),x.jsx("div",{className:"hrnet-modal-body",children:R})]})}),document.body)};b.Modal=ae,b.default=ae,Object.defineProperties(b,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})});
package/dist/modal.css ADDED
@@ -0,0 +1 @@
1
+ :root{--modal-bg: #1e293b;--modal-text: #f8fafc;--modal-overlay-bg: rgba(15, 23, 42, .75);--modal-border-color: #334155;--modal-close-color: #94a3b8;--modal-close-hover-color: #ef4444;--modal-shadow: 0 20px 25px -5px rgba(0, 0, 0, .5), 0 10px 10px -5px rgba(0, 0, 0, .4)}.hrnet-modal-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background-color:var(--modal-overlay-bg);display:flex;align-items:center;justify-content:center;z-index:9999;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);animation:modal-fade-in .25s ease-out}.hrnet-modal-container{background-color:var(--modal-bg);color:var(--modal-text);border-radius:12px;border:1px solid var(--modal-border-color);width:90%;max-width:500px;padding:1.5rem;box-shadow:var(--modal-shadow);position:relative;animation:modal-slide-up .25s cubic-bezier(.16,1,.3,1)}.hrnet-modal-header{display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid var(--border-color, var(--modal-border-color));padding-bottom:.75rem;margin-bottom:1rem}.hrnet-modal-title{margin:0;font-size:1.25rem;font-weight:600;color:#93ad18}.hrnet-modal-close-btn{background:none;border:none;font-size:1.75rem;line-height:1;color:var(--modal-close-color);cursor:pointer;padding:0 .25rem;transition:color .15s ease,transform .15s ease}.hrnet-modal-close-btn:hover{color:var(--modal-close-hover-color);transform:scale(1.1)}.hrnet-modal-body{font-size:1rem;line-height:1.5}@keyframes modal-fade-in{0%{opacity:0}to{opacity:1}}@keyframes modal-slide-up{0%{opacity:0;transform:translateY(20px) scale(.96)}to{opacity:1;transform:translateY(0) scale(1)}}
package/package.json ADDED
@@ -0,0 +1,38 @@
1
+ {
2
+ "name": "@aminarji/hrnet-modal-react",
3
+ "version": "1.0.0",
4
+ "description": "Student project modal.",
5
+ "main": "dist/hrnet-modal-react.umd.js",
6
+ "module": "dist/hrnet-modal-react.js",
7
+ "exports": {
8
+ ".": {
9
+ "import": "./dist/hrnet-modal-react.js",
10
+ "require": "./dist/hrnet-modal-react.umd.js"
11
+ },
12
+ "./dist/modal.css": "./dist/modal.css"
13
+ },
14
+ "files": [
15
+ "dist"
16
+ ],
17
+ "scripts": {
18
+ "build": "vite build"
19
+ },
20
+ "peerDependencies": {
21
+ "react": "^18.0.0",
22
+ "react-dom": "^18.0.0"
23
+ },
24
+ "devDependencies": {
25
+ "@vitejs/plugin-react": "^4.3.0",
26
+ "react": "^18.2.0",
27
+ "react-dom": "^18.2.0",
28
+ "vite": "^4.4.0"
29
+ },
30
+ "keywords": [
31
+ "react",
32
+ "modal",
33
+ "dialog",
34
+ "wealthhealth"
35
+ ],
36
+ "author": "WealthHealth",
37
+ "license": "MIT"
38
+ }