@shafnas/react-password-validator 1.0.1 → 1.0.3

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.
@@ -1,321 +1,279 @@
1
- import V, { forwardRef as ae, createElement as F } from "react";
2
- var P = { exports: {} }, C = {};
3
- var X;
4
- function pe() {
5
- if (X) return C;
6
- X = 1;
7
- var r = /* @__PURE__ */ Symbol.for("react.transitional.element"), e = /* @__PURE__ */ Symbol.for("react.fragment");
8
- function n(c, i, l) {
9
- var p = null;
10
- if (l !== void 0 && (p = "" + l), i.key !== void 0 && (p = "" + i.key), "key" in i) {
1
+ import se, { useMemo as le, forwardRef as V, createElement as O } from "react";
2
+ var g = { exports: {} }, _ = {};
3
+ var D;
4
+ function ce() {
5
+ if (D) return _;
6
+ D = 1;
7
+ var r = /* @__PURE__ */ Symbol.for("react.transitional.element"), t = /* @__PURE__ */ Symbol.for("react.fragment");
8
+ function a(s, o, l) {
9
+ var d = null;
10
+ if (l !== void 0 && (d = "" + l), o.key !== void 0 && (d = "" + o.key), "key" in o) {
11
11
  l = {};
12
- for (var o in i)
13
- o !== "key" && (l[o] = i[o]);
14
- } else l = i;
15
- return i = l.ref, {
12
+ for (var m in o)
13
+ m !== "key" && (l[m] = o[m]);
14
+ } else l = o;
15
+ return o = l.ref, {
16
16
  $$typeof: r,
17
- type: c,
18
- key: p,
19
- ref: i !== void 0 ? i : null,
17
+ type: s,
18
+ key: d,
19
+ ref: o !== void 0 ? o : null,
20
20
  props: l
21
21
  };
22
22
  }
23
- return C.Fragment = e, C.jsx = n, C.jsxs = n, C;
23
+ return _.Fragment = t, _.jsx = a, _.jsxs = a, _;
24
24
  }
25
- var O = {};
26
- var Q;
27
- function _e() {
28
- return Q || (Q = 1, process.env.NODE_ENV !== "production" && (function() {
29
- function r(t) {
30
- if (t == null) return null;
31
- if (typeof t == "function")
32
- return t.$$typeof === fe ? null : t.displayName || t.name || null;
33
- if (typeof t == "string") return t;
34
- switch (t) {
35
- case R:
25
+ var p = {};
26
+ var U;
27
+ function ue() {
28
+ return U || (U = 1, process.env.NODE_ENV !== "production" && (function() {
29
+ function r(e) {
30
+ if (e == null) return null;
31
+ if (typeof e == "function")
32
+ return e.$$typeof === ne ? null : e.displayName || e.name || null;
33
+ if (typeof e == "string") return e;
34
+ switch (e) {
35
+ case T:
36
36
  return "Fragment";
37
- case k:
37
+ case X:
38
38
  return "Profiler";
39
- case N:
39
+ case G:
40
40
  return "StrictMode";
41
- case le:
41
+ case K:
42
42
  return "Suspense";
43
- case ce:
43
+ case ee:
44
44
  return "SuspenseList";
45
- case ue:
45
+ case te:
46
46
  return "Activity";
47
47
  }
48
- if (typeof t == "object")
49
- switch (typeof t.tag == "number" && console.error(
48
+ if (typeof e == "object")
49
+ switch (typeof e.tag == "number" && console.error(
50
50
  "Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."
51
- ), t.$$typeof) {
52
- case g:
51
+ ), e.$$typeof) {
52
+ case Z:
53
53
  return "Portal";
54
- case T:
55
- return t.displayName || "Context";
56
- case x:
57
- return (t._context.displayName || "Context") + ".Consumer";
54
+ case H:
55
+ return e.displayName || "Context";
56
+ case B:
57
+ return (e._context.displayName || "Context") + ".Consumer";
58
+ case Q:
59
+ var n = e.render;
60
+ return e = e.displayName, e || (e = n.displayName || n.name || "", e = e !== "" ? "ForwardRef(" + e + ")" : "ForwardRef"), e;
61
+ case re:
62
+ return n = e.displayName || null, n !== null ? n : r(e.type) || "Memo";
58
63
  case y:
59
- var a = t.render;
60
- return t = t.displayName, t || (t = a.displayName || a.name || "", t = t !== "" ? "ForwardRef(" + t + ")" : "ForwardRef"), t;
61
- case ie:
62
- return a = t.displayName || null, a !== null ? a : r(t.type) || "Memo";
63
- case Y:
64
- a = t._payload, t = t._init;
64
+ n = e._payload, e = e._init;
65
65
  try {
66
- return r(t(a));
66
+ return r(e(n));
67
67
  } catch {
68
68
  }
69
69
  }
70
70
  return null;
71
71
  }
72
- function e(t) {
73
- return "" + t;
72
+ function t(e) {
73
+ return "" + e;
74
74
  }
75
- function n(t) {
75
+ function a(e) {
76
76
  try {
77
- e(t);
78
- var a = !1;
77
+ t(e);
78
+ var n = !1;
79
79
  } catch {
80
- a = !0;
80
+ n = !0;
81
81
  }
82
- if (a) {
83
- a = console;
84
- var u = a.error, m = typeof Symbol == "function" && Symbol.toStringTag && t[Symbol.toStringTag] || t.constructor.name || "Object";
85
- return u.call(
86
- a,
82
+ if (n) {
83
+ n = console;
84
+ var c = n.error, u = typeof Symbol == "function" && Symbol.toStringTag && e[Symbol.toStringTag] || e.constructor.name || "Object";
85
+ return c.call(
86
+ n,
87
87
  "The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",
88
- m
89
- ), e(t);
88
+ u
89
+ ), t(e);
90
90
  }
91
91
  }
92
- function c(t) {
93
- if (t === R) return "<>";
94
- if (typeof t == "object" && t !== null && t.$$typeof === Y)
92
+ function s(e) {
93
+ if (e === T) return "<>";
94
+ if (typeof e == "object" && e !== null && e.$$typeof === y)
95
95
  return "<...>";
96
96
  try {
97
- var a = r(t);
98
- return a ? "<" + a + ">" : "<...>";
97
+ var n = r(e);
98
+ return n ? "<" + n + ">" : "<...>";
99
99
  } catch {
100
100
  return "<...>";
101
101
  }
102
102
  }
103
- function i() {
104
- var t = L.A;
105
- return t === null ? null : t.getOwner();
103
+ function o() {
104
+ var e = j.A;
105
+ return e === null ? null : e.getOwner();
106
106
  }
107
107
  function l() {
108
108
  return Error("react-stack-top-frame");
109
109
  }
110
- function p(t) {
111
- if (z.call(t, "key")) {
112
- var a = Object.getOwnPropertyDescriptor(t, "key").get;
113
- if (a && a.isReactWarning) return !1;
110
+ function d(e) {
111
+ if ($.call(e, "key")) {
112
+ var n = Object.getOwnPropertyDescriptor(e, "key").get;
113
+ if (n && n.isReactWarning) return !1;
114
114
  }
115
- return t.key !== void 0;
115
+ return e.key !== void 0;
116
116
  }
117
- function o(t, a) {
118
- function u() {
119
- G || (G = !0, console.error(
117
+ function m(e, n) {
118
+ function c() {
119
+ Y || (Y = !0, console.error(
120
120
  "%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)",
121
- a
121
+ n
122
122
  ));
123
123
  }
124
- u.isReactWarning = !0, Object.defineProperty(t, "key", {
125
- get: u,
124
+ c.isReactWarning = !0, Object.defineProperty(e, "key", {
125
+ get: c,
126
126
  configurable: !0
127
127
  });
128
128
  }
129
- function _() {
130
- var t = r(this.type);
131
- return H[t] || (H[t] = !0, console.error(
129
+ function k() {
130
+ var e = r(this.type);
131
+ return I[e] || (I[e] = !0, console.error(
132
132
  "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."
133
- )), t = this.props.ref, t !== void 0 ? t : null;
133
+ )), e = this.props.ref, e !== void 0 ? e : null;
134
134
  }
135
- function s(t, a, u, m, j, U) {
136
- var d = u.ref;
137
- return t = {
138
- $$typeof: E,
139
- type: t,
140
- key: a,
141
- props: u,
142
- _owner: m
143
- }, (d !== void 0 ? d : null) !== null ? Object.defineProperty(t, "ref", {
135
+ function x(e, n, c, u, R, A) {
136
+ var i = c.ref;
137
+ return e = {
138
+ $$typeof: C,
139
+ type: e,
140
+ key: n,
141
+ props: c,
142
+ _owner: u
143
+ }, (i !== void 0 ? i : null) !== null ? Object.defineProperty(e, "ref", {
144
144
  enumerable: !1,
145
- get: _
146
- }) : Object.defineProperty(t, "ref", { enumerable: !1, value: null }), t._store = {}, Object.defineProperty(t._store, "validated", {
145
+ get: k
146
+ }) : Object.defineProperty(e, "ref", { enumerable: !1, value: null }), e._store = {}, Object.defineProperty(e._store, "validated", {
147
147
  configurable: !1,
148
148
  enumerable: !1,
149
149
  writable: !0,
150
150
  value: 0
151
- }), Object.defineProperty(t, "_debugInfo", {
151
+ }), Object.defineProperty(e, "_debugInfo", {
152
152
  configurable: !1,
153
153
  enumerable: !1,
154
154
  writable: !0,
155
155
  value: null
156
- }), Object.defineProperty(t, "_debugStack", {
156
+ }), Object.defineProperty(e, "_debugStack", {
157
157
  configurable: !1,
158
158
  enumerable: !1,
159
159
  writable: !0,
160
- value: j
161
- }), Object.defineProperty(t, "_debugTask", {
160
+ value: R
161
+ }), Object.defineProperty(e, "_debugTask", {
162
162
  configurable: !1,
163
163
  enumerable: !1,
164
164
  writable: !0,
165
- value: U
166
- }), Object.freeze && (Object.freeze(t.props), Object.freeze(t)), t;
165
+ value: A
166
+ }), Object.freeze && (Object.freeze(e.props), Object.freeze(e)), e;
167
167
  }
168
- function f(t, a, u, m, j, U) {
169
- var d = a.children;
170
- if (d !== void 0)
171
- if (m)
172
- if (me(d)) {
173
- for (m = 0; m < d.length; m++)
174
- b(d[m]);
175
- Object.freeze && Object.freeze(d);
168
+ function E(e, n, c, u, R, A) {
169
+ var i = n.children;
170
+ if (i !== void 0)
171
+ if (u)
172
+ if (ae(i)) {
173
+ for (u = 0; u < i.length; u++)
174
+ P(i[u]);
175
+ Object.freeze && Object.freeze(i);
176
176
  } else
177
177
  console.error(
178
178
  "React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead."
179
179
  );
180
- else b(d);
181
- if (z.call(a, "key")) {
182
- d = r(t);
183
- var w = Object.keys(a).filter(function(de) {
184
- return de !== "key";
180
+ else P(i);
181
+ if ($.call(n, "key")) {
182
+ i = r(e);
183
+ var b = Object.keys(n).filter(function(oe) {
184
+ return oe !== "key";
185
185
  });
186
- m = 0 < w.length ? "{key: someKey, " + w.join(": ..., ") + ": ...}" : "{key: someKey}", B[d + m] || (w = 0 < w.length ? "{" + w.join(": ..., ") + ": ...}" : "{}", console.error(
186
+ u = 0 < b.length ? "{key: someKey, " + b.join(": ..., ") + ": ...}" : "{key: someKey}", M[i + u] || (b = 0 < b.length ? "{" + b.join(": ..., ") + ": ...}" : "{}", console.error(
187
187
  `A props object containing a "key" prop is being spread into JSX:
188
188
  let props = %s;
189
189
  <%s {...props} />
190
190
  React keys must be passed directly to JSX without using spread:
191
191
  let props = %s;
192
192
  <%s key={someKey} {...props} />`,
193
- m,
194
- d,
195
- w,
196
- d
197
- ), B[d + m] = !0);
193
+ u,
194
+ i,
195
+ b,
196
+ i
197
+ ), M[i + u] = !0);
198
198
  }
199
- if (d = null, u !== void 0 && (n(u), d = "" + u), p(a) && (n(a.key), d = "" + a.key), "key" in a) {
200
- u = {};
201
- for (var M in a)
202
- M !== "key" && (u[M] = a[M]);
203
- } else u = a;
204
- return d && o(
205
- u,
206
- typeof t == "function" ? t.displayName || t.name || "Unknown" : t
207
- ), s(
208
- t,
209
- d,
210
- u,
211
- i(),
212
- j,
213
- U
199
+ if (i = null, c !== void 0 && (a(c), i = "" + c), d(n) && (a(n.key), i = "" + n.key), "key" in n) {
200
+ c = {};
201
+ for (var N in n)
202
+ N !== "key" && (c[N] = n[N]);
203
+ } else c = n;
204
+ return i && m(
205
+ c,
206
+ typeof e == "function" ? e.displayName || e.name || "Unknown" : e
207
+ ), x(
208
+ e,
209
+ i,
210
+ c,
211
+ o(),
212
+ R,
213
+ A
214
214
  );
215
215
  }
216
- function b(t) {
217
- A(t) ? t._store && (t._store.validated = 1) : typeof t == "object" && t !== null && t.$$typeof === Y && (t._payload.status === "fulfilled" ? A(t._payload.value) && t._payload.value._store && (t._payload.value._store.validated = 1) : t._store && (t._store.validated = 1));
216
+ function P(e) {
217
+ S(e) ? e._store && (e._store.validated = 1) : typeof e == "object" && e !== null && e.$$typeof === y && (e._payload.status === "fulfilled" ? S(e._payload.value) && e._payload.value._store && (e._payload.value._store.validated = 1) : e._store && (e._store.validated = 1));
218
218
  }
219
- function A(t) {
220
- return typeof t == "object" && t !== null && t.$$typeof === E;
219
+ function S(e) {
220
+ return typeof e == "object" && e !== null && e.$$typeof === C;
221
221
  }
222
- var h = V, E = /* @__PURE__ */ Symbol.for("react.transitional.element"), g = /* @__PURE__ */ Symbol.for("react.portal"), R = /* @__PURE__ */ Symbol.for("react.fragment"), N = /* @__PURE__ */ Symbol.for("react.strict_mode"), k = /* @__PURE__ */ Symbol.for("react.profiler"), x = /* @__PURE__ */ Symbol.for("react.consumer"), T = /* @__PURE__ */ Symbol.for("react.context"), y = /* @__PURE__ */ Symbol.for("react.forward_ref"), le = /* @__PURE__ */ Symbol.for("react.suspense"), ce = /* @__PURE__ */ Symbol.for("react.suspense_list"), ie = /* @__PURE__ */ Symbol.for("react.memo"), Y = /* @__PURE__ */ Symbol.for("react.lazy"), ue = /* @__PURE__ */ Symbol.for("react.activity"), fe = /* @__PURE__ */ Symbol.for("react.client.reference"), L = h.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, z = Object.prototype.hasOwnProperty, me = Array.isArray, D = console.createTask ? console.createTask : function() {
222
+ var h = se, C = /* @__PURE__ */ Symbol.for("react.transitional.element"), Z = /* @__PURE__ */ Symbol.for("react.portal"), T = /* @__PURE__ */ Symbol.for("react.fragment"), G = /* @__PURE__ */ Symbol.for("react.strict_mode"), X = /* @__PURE__ */ Symbol.for("react.profiler"), B = /* @__PURE__ */ Symbol.for("react.consumer"), H = /* @__PURE__ */ Symbol.for("react.context"), Q = /* @__PURE__ */ Symbol.for("react.forward_ref"), K = /* @__PURE__ */ Symbol.for("react.suspense"), ee = /* @__PURE__ */ Symbol.for("react.suspense_list"), re = /* @__PURE__ */ Symbol.for("react.memo"), y = /* @__PURE__ */ Symbol.for("react.lazy"), te = /* @__PURE__ */ Symbol.for("react.activity"), ne = /* @__PURE__ */ Symbol.for("react.client.reference"), j = h.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, $ = Object.prototype.hasOwnProperty, ae = Array.isArray, w = console.createTask ? console.createTask : function() {
223
223
  return null;
224
224
  };
225
225
  h = {
226
- react_stack_bottom_frame: function(t) {
227
- return t();
226
+ react_stack_bottom_frame: function(e) {
227
+ return e();
228
228
  }
229
229
  };
230
- var G, H = {}, J = h.react_stack_bottom_frame.bind(
230
+ var Y, I = {}, L = h.react_stack_bottom_frame.bind(
231
231
  h,
232
232
  l
233
- )(), Z = D(c(l)), B = {};
234
- O.Fragment = R, O.jsx = function(t, a, u) {
235
- var m = 1e4 > L.recentlyCreatedOwnerStacks++;
236
- return f(
237
- t,
238
- a,
239
- u,
233
+ )(), F = w(s(l)), M = {};
234
+ p.Fragment = T, p.jsx = function(e, n, c) {
235
+ var u = 1e4 > j.recentlyCreatedOwnerStacks++;
236
+ return E(
237
+ e,
238
+ n,
239
+ c,
240
240
  !1,
241
- m ? Error("react-stack-top-frame") : J,
242
- m ? D(c(t)) : Z
241
+ u ? Error("react-stack-top-frame") : L,
242
+ u ? w(s(e)) : F
243
243
  );
244
- }, O.jsxs = function(t, a, u) {
245
- var m = 1e4 > L.recentlyCreatedOwnerStacks++;
246
- return f(
247
- t,
248
- a,
249
- u,
244
+ }, p.jsxs = function(e, n, c) {
245
+ var u = 1e4 > j.recentlyCreatedOwnerStacks++;
246
+ return E(
247
+ e,
248
+ n,
249
+ c,
250
250
  !0,
251
- m ? Error("react-stack-top-frame") : J,
252
- m ? D(c(t)) : Z
251
+ u ? Error("react-stack-top-frame") : L,
252
+ u ? w(s(e)) : F
253
253
  );
254
254
  };
255
- })()), O;
255
+ })()), p;
256
256
  }
257
- var K;
258
- function ve() {
259
- return K || (K = 1, process.env.NODE_ENV === "production" ? P.exports = pe() : P.exports = _e()), P.exports;
257
+ var W;
258
+ function ie() {
259
+ return W || (W = 1, process.env.NODE_ENV === "production" ? g.exports = ce() : g.exports = ue()), g.exports;
260
260
  }
261
- var v = ve(), $ = { exports: {} }, W = {};
262
- var ee;
263
- function he() {
264
- if (ee) return W;
265
- ee = 1;
266
- var r = V.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;
267
- return W.c = function(e) {
268
- return r.H.useMemoCache(e);
269
- }, W;
270
- }
271
- var q = {};
272
- var te;
273
- function Re() {
274
- return te || (te = 1, process.env.NODE_ENV !== "production" && (function() {
275
- var r = V.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;
276
- q.c = function(e) {
277
- var n = r.H;
278
- return n === null && console.error(
279
- `Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:
280
- 1. You might have mismatching versions of React and the renderer (such as React DOM)
281
- 2. You might be breaking the Rules of Hooks
282
- 3. You might have more than one copy of React in the same app
283
- See https://react.dev/link/invalid-hook-call for tips about how to debug and fix this problem.`
284
- ), n.useMemoCache(e);
285
- };
286
- })()), q;
287
- }
288
- var re;
289
- function be() {
290
- return re || (re = 1, process.env.NODE_ENV === "production" ? $.exports = he() : $.exports = Re()), $.exports;
291
- }
292
- var I = be();
293
- const Ee = (r) => {
294
- const e = r.length >= 8 && r.length <= 14, n = /[a-z]/.test(r), c = /[A-Z]/.test(r), i = /[0-9]/.test(r), l = /[^A-Za-z0-9]/.test(r);
295
- return {
296
- length: e,
297
- lowercase: n,
298
- uppercase: c,
299
- number: i,
300
- symbol: l,
301
- valid: e && n && c && i && l
302
- };
303
- }, ge = (r) => {
304
- const e = I.c(2);
305
- let n;
306
- return e[0] !== r ? (n = Ee(r), e[0] = r, e[1] = n) : n = e[1], n;
307
- };
308
- const oe = (...r) => r.filter((e, n, c) => !!e && e.trim() !== "" && c.indexOf(e) === n).join(" ").trim();
309
- const Ne = (r) => r.replace(/([a-z0-9])([A-Z])/g, "$1-$2").toLowerCase();
310
- const ke = (r) => r.replace(
261
+ var f = ie();
262
+ const fe = (r) => {
263
+ const t = r.length >= 8 && r.length <= 14, a = /[a-z]/.test(r), s = /[A-Z]/.test(r), o = /[0-9]/.test(r), l = /[^A-Za-z0-9]/.test(r);
264
+ return { length: t, lowercase: a, uppercase: s, number: o, symbol: l, valid: t && a && s && o && l };
265
+ }, de = (r) => le(() => fe(r), [r]);
266
+ const q = (...r) => r.filter((t, a, s) => !!t && t.trim() !== "" && s.indexOf(t) === a).join(" ").trim();
267
+ const me = (r) => r.replace(/([a-z0-9])([A-Z])/g, "$1-$2").toLowerCase();
268
+ const be = (r) => r.replace(
311
269
  /^([A-Z])|[\s-_]+(\w)/g,
312
- (e, n, c) => c ? c.toUpperCase() : n.toLowerCase()
270
+ (t, a, s) => s ? s.toUpperCase() : a.toLowerCase()
313
271
  );
314
- const ne = (r) => {
315
- const e = ke(r);
316
- return e.charAt(0).toUpperCase() + e.slice(1);
272
+ const z = (r) => {
273
+ const t = be(r);
274
+ return t.charAt(0).toUpperCase() + t.slice(1);
317
275
  };
318
- var xe = {
276
+ var _e = {
319
277
  xmlns: "http://www.w3.org/2000/svg",
320
278
  width: 24,
321
279
  height: 24,
@@ -326,136 +284,126 @@ var xe = {
326
284
  strokeLinecap: "round",
327
285
  strokeLinejoin: "round"
328
286
  };
329
- const Te = (r) => {
330
- for (const e in r)
331
- if (e.startsWith("aria-") || e === "role" || e === "title")
287
+ const pe = (r) => {
288
+ for (const t in r)
289
+ if (t.startsWith("aria-") || t === "role" || t === "title")
332
290
  return !0;
333
291
  return !1;
334
292
  };
335
- const Ae = ae(
293
+ const ve = V(
336
294
  ({
337
295
  color: r = "currentColor",
338
- size: e = 24,
339
- strokeWidth: n = 2,
340
- absoluteStrokeWidth: c,
341
- className: i = "",
296
+ size: t = 24,
297
+ strokeWidth: a = 2,
298
+ absoluteStrokeWidth: s,
299
+ className: o = "",
342
300
  children: l,
343
- iconNode: p,
344
- ...o
345
- }, _) => F(
301
+ iconNode: d,
302
+ ...m
303
+ }, k) => O(
346
304
  "svg",
347
305
  {
348
- ref: _,
349
- ...xe,
350
- width: e,
351
- height: e,
306
+ ref: k,
307
+ ..._e,
308
+ width: t,
309
+ height: t,
352
310
  stroke: r,
353
- strokeWidth: c ? Number(n) * 24 / Number(e) : n,
354
- className: oe("lucide", i),
355
- ...!l && !Te(o) && { "aria-hidden": "true" },
356
- ...o
311
+ strokeWidth: s ? Number(a) * 24 / Number(t) : a,
312
+ className: q("lucide", o),
313
+ ...!l && !pe(m) && { "aria-hidden": "true" },
314
+ ...m
357
315
  },
358
316
  [
359
- ...p.map(([s, f]) => F(s, f)),
317
+ ...d.map(([x, E]) => O(x, E)),
360
318
  ...Array.isArray(l) ? l : [l]
361
319
  ]
362
320
  )
363
321
  );
364
- const se = (r, e) => {
365
- const n = ae(
366
- ({ className: c, ...i }, l) => F(Ae, {
322
+ const J = (r, t) => {
323
+ const a = V(
324
+ ({ className: s, ...o }, l) => O(ve, {
367
325
  ref: l,
368
- iconNode: e,
369
- className: oe(
370
- `lucide-${Ne(ne(r))}`,
326
+ iconNode: t,
327
+ className: q(
328
+ `lucide-${me(z(r))}`,
371
329
  `lucide-${r}`,
372
- c
330
+ s
373
331
  ),
374
- ...i
332
+ ...o
375
333
  })
376
334
  );
377
- return n.displayName = ne(r), n;
335
+ return a.displayName = z(r), a;
378
336
  };
379
- const ye = [["path", { d: "M20 6 9 17l-5-5", key: "1gmf2c" }]], we = se("check", ye);
380
- const Ce = [
337
+ const Ee = [["path", { d: "M20 6 9 17l-5-5", key: "1gmf2c" }]], he = J("check", Ee);
338
+ const Re = [
381
339
  ["path", { d: "M18 6 6 18", key: "1bl5f8" }],
382
340
  ["path", { d: "m6 6 12 12", key: "d8bk6v" }]
383
- ], Oe = se("x", Ce), Se = (r) => {
384
- let e = 0;
385
- return r.length >= 2 && (e += 1), /[a-z]/.test(r) && (e += 1), /[A-Z]/.test(r) && (e += 1), /[0-9]/.test(r) && (e += 1), /[^A-Za-z0-9]/.test(r) && (e += 1), e <= 2 ? "weak" : e === 3 || e === 4 ? "medium" : "strong";
386
- }, S = (r) => {
387
- const e = I.c(9), {
388
- ok: n,
389
- label: c,
390
- className: i
391
- } = r, p = `flex items-center gap-2 text-sm ${i === void 0 ? "" : i}`;
392
- let o;
393
- e[0] !== n ? (o = n ? /* @__PURE__ */ v.jsx(we, { className: "w-4 h-4 text-green-600" }) : /* @__PURE__ */ v.jsx(Oe, { className: "w-4 h-4 text-red-500" }), e[0] = n, e[1] = o) : o = e[1];
394
- const _ = n ? "text-green-600" : "text-gray-500";
395
- let s;
396
- e[2] !== c || e[3] !== _ ? (s = /* @__PURE__ */ v.jsx("span", { className: _, children: c }), e[2] = c, e[3] = _, e[4] = s) : s = e[4];
397
- let f;
398
- return e[5] !== p || e[6] !== o || e[7] !== s ? (f = /* @__PURE__ */ v.jsxs("div", { className: p, children: [
399
- o,
400
- s
401
- ] }), e[5] = p, e[6] = o, e[7] = s, e[8] = f) : f = e[8], f;
402
- }, je = (r) => {
403
- const e = I.c(5), {
404
- strength: n,
405
- className: c
406
- } = r, i = c === void 0 ? "" : c;
407
- let l = "bg-red-500", p = "w-1/4";
408
- n === "medium" ? (l = "bg-yellow-400", p = "w-2/3") : n === "strong" && (l = "bg-green-600", p = "w-full");
409
- const o = `h-2 bg-gray-200 rounded-full mt-2 ${i}`, _ = `${p} ${l} h-2 rounded-full transition-all`;
410
- let s;
411
- e[0] !== _ ? (s = /* @__PURE__ */ v.jsx("div", { className: _ }), e[0] = _, e[1] = s) : s = e[1];
412
- let f;
413
- return e[2] !== o || e[3] !== s ? (f = /* @__PURE__ */ v.jsx("div", { className: o, children: s }), e[2] = o, e[3] = s, e[4] = f) : f = e[4], f;
414
- }, $e = (r) => {
415
- const e = I.c(33), {
416
- password: n,
417
- className: c,
418
- itemClassName: i,
419
- strengthBarClassName: l
420
- } = r, p = c === void 0 ? "" : c, o = i === void 0 ? "" : i, _ = l === void 0 ? "" : l, s = ge(n);
421
- let f;
422
- e[0] !== n ? (f = Se(n), e[0] = n, e[1] = f) : f = e[1];
423
- const b = f, A = `rounded-lg border p-4 shadow space-y-3 ${p}`;
424
- let h;
425
- e[2] !== o || e[3] !== s.length ? (h = /* @__PURE__ */ v.jsx(S, { ok: s.length, label: "8–14 characters", className: o }), e[2] = o, e[3] = s.length, e[4] = h) : h = e[4];
426
- let E;
427
- e[5] !== o || e[6] !== s.lowercase ? (E = /* @__PURE__ */ v.jsx(S, { ok: s.lowercase, label: "Lowercase letter", className: o }), e[5] = o, e[6] = s.lowercase, e[7] = E) : E = e[7];
428
- let g;
429
- e[8] !== o || e[9] !== s.uppercase ? (g = /* @__PURE__ */ v.jsx(S, { ok: s.uppercase, label: "Uppercase letter", className: o }), e[8] = o, e[9] = s.uppercase, e[10] = g) : g = e[10];
430
- let R;
431
- e[11] !== o || e[12] !== s.number ? (R = /* @__PURE__ */ v.jsx(S, { ok: s.number, label: "Number", className: o }), e[11] = o, e[12] = s.number, e[13] = R) : R = e[13];
432
- let N;
433
- e[14] !== o || e[15] !== s.symbol ? (N = /* @__PURE__ */ v.jsx(S, { ok: s.symbol, label: "Symbol", className: o }), e[14] = o, e[15] = s.symbol, e[16] = N) : N = e[16];
434
- let k;
435
- e[17] !== N || e[18] !== h || e[19] !== E || e[20] !== g || e[21] !== R ? (k = /* @__PURE__ */ v.jsxs("div", { className: "space-y-1", children: [
436
- h,
437
- E,
438
- g,
439
- R,
440
- N
441
- ] }), e[17] = N, e[18] = h, e[19] = E, e[20] = g, e[21] = R, e[22] = k) : k = e[22];
442
- let x;
443
- e[23] !== b || e[24] !== _ ? (x = /* @__PURE__ */ v.jsx(je, { strength: b, className: _ }), e[23] = b, e[24] = _, e[25] = x) : x = e[25];
444
- let T;
445
- e[26] !== b ? (T = /* @__PURE__ */ v.jsxs("div", { className: "text-sm font-medium capitalize text-gray-700", children: [
446
- "Strength: ",
447
- b
448
- ] }), e[26] = b, e[27] = T) : T = e[27];
449
- let y;
450
- return e[28] !== k || e[29] !== x || e[30] !== T || e[31] !== A ? (y = /* @__PURE__ */ v.jsxs("div", { className: A, children: [
451
- k,
452
- x,
453
- T
454
- ] }), e[28] = k, e[29] = x, e[30] = T, e[31] = A, e[32] = y) : y = e[32], y;
341
+ ], ge = J("x", Re), ke = (r) => {
342
+ let t = 0;
343
+ return r.length >= 2 && (t += 1), /[a-z]/.test(r) && (t += 1), /[A-Z]/.test(r) && (t += 1), /[0-9]/.test(r) && (t += 1), /[^A-Za-z0-9]/.test(r) && (t += 1), t <= 2 ? "weak" : t === 3 || t === 4 ? "medium" : "strong";
344
+ }, v = ({
345
+ ok: r,
346
+ label: t,
347
+ className: a = ""
348
+ }) => /* @__PURE__ */ f.jsxs("div", { className: `flex items-center gap-2 text-sm ${a}`, children: [
349
+ r ? /* @__PURE__ */ f.jsx(he, { className: "w-4 h-4 text-green-600" }) : /* @__PURE__ */ f.jsx(ge, { className: "w-4 h-4 text-red-500" }),
350
+ /* @__PURE__ */ f.jsx("span", { className: r ? "text-green-600" : "text-gray-500", children: t })
351
+ ] }), xe = ({
352
+ strength: r,
353
+ className: t = ""
354
+ }) => {
355
+ let a = "bg-red-500", s = "w-1/4";
356
+ return r === "medium" ? (a = "bg-yellow-400", s = "w-2/3") : r === "strong" && (a = "bg-green-600", s = "w-full"), /* @__PURE__ */ f.jsx("div", { className: `h-2 bg-gray-200 rounded-full mt-2 ${t}`, children: /* @__PURE__ */ f.jsx(
357
+ "div",
358
+ {
359
+ className: `${s} ${a} h-2 rounded-full transition-all`
360
+ }
361
+ ) });
362
+ }, ye = ({
363
+ password: r,
364
+ className: t = "",
365
+ itemClassName: a = "",
366
+ strengthBarClassName: s = ""
367
+ }) => {
368
+ const o = de(r), l = ke(r);
369
+ return /* @__PURE__ */ f.jsxs("div", { className: `rounded-lg border p-4 shadow space-y-3 ${t}`, children: [
370
+ /* @__PURE__ */ f.jsxs("div", { className: "space-y-1", children: [
371
+ /* @__PURE__ */ f.jsx(
372
+ v,
373
+ {
374
+ ok: o.length,
375
+ label: "8–14 characters",
376
+ className: a
377
+ }
378
+ ),
379
+ /* @__PURE__ */ f.jsx(
380
+ v,
381
+ {
382
+ ok: o.lowercase,
383
+ label: "Lowercase letter",
384
+ className: a
385
+ }
386
+ ),
387
+ /* @__PURE__ */ f.jsx(
388
+ v,
389
+ {
390
+ ok: o.uppercase,
391
+ label: "Uppercase letter",
392
+ className: a
393
+ }
394
+ ),
395
+ /* @__PURE__ */ f.jsx(v, { ok: o.number, label: "Number", className: a }),
396
+ /* @__PURE__ */ f.jsx(v, { ok: o.symbol, label: "Symbol", className: a })
397
+ ] }),
398
+ /* @__PURE__ */ f.jsx(xe, { strength: l, className: s }),
399
+ /* @__PURE__ */ f.jsxs("div", { className: "text-sm font-medium capitalize text-gray-700", children: [
400
+ "Strength: ",
401
+ l
402
+ ] })
403
+ ] });
455
404
  };
456
405
  export {
457
- $e as PasswordValidator,
458
- ge as usePasswordValidation,
459
- Ee as validatePassword
406
+ ye as PasswordValidator,
407
+ de as usePasswordValidation,
408
+ fe as validatePassword
460
409
  };
461
- //# sourceMappingURL=react-password-validator.es.js.map
@@ -0,0 +1,6 @@
1
+ (function(m,d){typeof exports=="object"&&typeof module<"u"?d(exports,require("react")):typeof define=="function"&&define.amd?define(["exports","react"],d):(m=typeof globalThis<"u"?globalThis:m||self,d(m.ReactPasswordValidator={},m.React))})(this,(function(m,d){"use strict";var R={exports:{}},v={};var O;function B(){if(O)return v;O=1;var r=Symbol.for("react.transitional.element"),t=Symbol.for("react.fragment");function a(s,o,l){var b=null;if(l!==void 0&&(b=""+l),o.key!==void 0&&(b=""+o.key),"key"in o){l={};for(var _ in o)_!=="key"&&(l[_]=o[_])}else l=o;return o=l.ref,{$$typeof:r,type:s,key:b,ref:o!==void 0?o:null,props:l}}return v.Fragment=t,v.jsx=a,v.jsxs=a,v}var E={};var C;function q(){return C||(C=1,process.env.NODE_ENV!=="production"&&(function(){function r(e){if(e==null)return null;if(typeof e=="function")return e.$$typeof===Ee?null:e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case y:return"Fragment";case ie:return"Profiler";case ue:return"StrictMode";case be:return"Suspense";case _e:return"SuspenseList";case ve:return"Activity"}if(typeof e=="object")switch(typeof e.tag=="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),e.$$typeof){case ce:return"Portal";case de:return e.displayName||"Context";case fe:return(e._context.displayName||"Context")+".Consumer";case me:var n=e.render;return e=e.displayName,e||(e=n.displayName||n.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case pe:return n=e.displayName||null,n!==null?n:r(e.type)||"Memo";case j:n=e._payload,e=e._init;try{return r(e(n))}catch{}}return null}function t(e){return""+e}function a(e){try{t(e);var n=!1}catch{n=!0}if(n){n=console;var c=n.error,u=typeof Symbol=="function"&&Symbol.toStringTag&&e[Symbol.toStringTag]||e.constructor.name||"Object";return c.call(n,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",u),t(e)}}function s(e){if(e===y)return"<>";if(typeof e=="object"&&e!==null&&e.$$typeof===j)return"<...>";try{var n=r(e);return n?"<"+n+">":"<...>"}catch{return"<...>"}}function o(){var e=A.A;return e===null?null:e.getOwner()}function l(){return Error("react-stack-top-frame")}function b(e){if(W.call(e,"key")){var n=Object.getOwnPropertyDescriptor(e,"key").get;if(n&&n.isReactWarning)return!1}return e.key!==void 0}function _(e,n){function c(){z||(z=!0,console.error("%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))}c.isReactWarning=!0,Object.defineProperty(e,"key",{get:c,configurable:!0})}function T(){var e=r(this.type);return J[e]||(J[e]=!0,console.error("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.")),e=this.props.ref,e!==void 0?e:null}function w(e,n,c,u,x,N){var i=c.ref;return e={$$typeof:V,type:e,key:n,props:c,_owner:u},(i!==void 0?i:null)!==null?Object.defineProperty(e,"ref",{enumerable:!1,get:T}):Object.defineProperty(e,"ref",{enumerable:!1,value:null}),e._store={},Object.defineProperty(e._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:0}),Object.defineProperty(e,"_debugInfo",{configurable:!1,enumerable:!1,writable:!0,value:null}),Object.defineProperty(e,"_debugStack",{configurable:!1,enumerable:!1,writable:!0,value:x}),Object.defineProperty(e,"_debugTask",{configurable:!1,enumerable:!1,writable:!0,value:N}),Object.freeze&&(Object.freeze(e.props),Object.freeze(e)),e}function g(e,n,c,u,x,N){var i=n.children;if(i!==void 0)if(u)if(he(i)){for(u=0;u<i.length;u++)D(i[u]);Object.freeze&&Object.freeze(i)}else console.error("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 D(i);if(W.call(n,"key")){i=r(e);var p=Object.keys(n).filter(function(Re){return Re!=="key"});u=0<p.length?"{key: someKey, "+p.join(": ..., ")+": ...}":"{key: someKey}",X[i+u]||(p=0<p.length?"{"+p.join(": ..., ")+": ...}":"{}",console.error(`A props object containing a "key" prop is being spread into JSX:
2
+ let props = %s;
3
+ <%s {...props} />
4
+ React keys must be passed directly to JSX without using spread:
5
+ let props = %s;
6
+ <%s key={someKey} {...props} />`,u,i,p,i),X[i+u]=!0)}if(i=null,c!==void 0&&(a(c),i=""+c),b(n)&&(a(n.key),i=""+n.key),"key"in n){c={};for(var S in n)S!=="key"&&(c[S]=n[S])}else c=n;return i&&_(c,typeof e=="function"?e.displayName||e.name||"Unknown":e),w(e,i,c,o(),x,N)}function D(e){U(e)?e._store&&(e._store.validated=1):typeof e=="object"&&e!==null&&e.$$typeof===j&&(e._payload.status==="fulfilled"?U(e._payload.value)&&e._payload.value._store&&(e._payload.value._store.validated=1):e._store&&(e._store.validated=1))}function U(e){return typeof e=="object"&&e!==null&&e.$$typeof===V}var k=d,V=Symbol.for("react.transitional.element"),ce=Symbol.for("react.portal"),y=Symbol.for("react.fragment"),ue=Symbol.for("react.strict_mode"),ie=Symbol.for("react.profiler"),fe=Symbol.for("react.consumer"),de=Symbol.for("react.context"),me=Symbol.for("react.forward_ref"),be=Symbol.for("react.suspense"),_e=Symbol.for("react.suspense_list"),pe=Symbol.for("react.memo"),j=Symbol.for("react.lazy"),ve=Symbol.for("react.activity"),Ee=Symbol.for("react.client.reference"),A=k.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,W=Object.prototype.hasOwnProperty,he=Array.isArray,P=console.createTask?console.createTask:function(){return null};k={react_stack_bottom_frame:function(e){return e()}};var z,J={},Z=k.react_stack_bottom_frame.bind(k,l)(),G=P(s(l)),X={};E.Fragment=y,E.jsx=function(e,n,c){var u=1e4>A.recentlyCreatedOwnerStacks++;return g(e,n,c,!1,u?Error("react-stack-top-frame"):Z,u?P(s(e)):G)},E.jsxs=function(e,n,c){var u=1e4>A.recentlyCreatedOwnerStacks++;return g(e,n,c,!0,u?Error("react-stack-top-frame"):Z,u?P(s(e)):G)}})()),E}var Y;function H(){return Y||(Y=1,process.env.NODE_ENV==="production"?R.exports=B():R.exports=q()),R.exports}var f=H();const I=r=>{const t=r.length>=8&&r.length<=14,a=/[a-z]/.test(r),s=/[A-Z]/.test(r),o=/[0-9]/.test(r),l=/[^A-Za-z0-9]/.test(r);return{length:t,lowercase:a,uppercase:s,number:o,symbol:l,valid:t&&a&&s&&o&&l}},L=r=>d.useMemo(()=>I(r),[r]);const M=(...r)=>r.filter((t,a,s)=>!!t&&t.trim()!==""&&s.indexOf(t)===a).join(" ").trim();const Q=r=>r.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase();const K=r=>r.replace(/^([A-Z])|[\s-_]+(\w)/g,(t,a,s)=>s?s.toUpperCase():a.toLowerCase());const F=r=>{const t=K(r);return t.charAt(0).toUpperCase()+t.slice(1)};var ee={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};const re=r=>{for(const t in r)if(t.startsWith("aria-")||t==="role"||t==="title")return!0;return!1};const te=d.forwardRef(({color:r="currentColor",size:t=24,strokeWidth:a=2,absoluteStrokeWidth:s,className:o="",children:l,iconNode:b,..._},T)=>d.createElement("svg",{ref:T,...ee,width:t,height:t,stroke:r,strokeWidth:s?Number(a)*24/Number(t):a,className:M("lucide",o),...!l&&!re(_)&&{"aria-hidden":"true"},..._},[...b.map(([w,g])=>d.createElement(w,g)),...Array.isArray(l)?l:[l]]));const $=(r,t)=>{const a=d.forwardRef(({className:s,...o},l)=>d.createElement(te,{ref:l,iconNode:t,className:M(`lucide-${Q(F(r))}`,`lucide-${r}`,s),...o}));return a.displayName=F(r),a};const ne=$("check",[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]]);const ae=$("x",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]),oe=r=>{let t=0;return r.length>=2&&(t+=1),/[a-z]/.test(r)&&(t+=1),/[A-Z]/.test(r)&&(t+=1),/[0-9]/.test(r)&&(t+=1),/[^A-Za-z0-9]/.test(r)&&(t+=1),t<=2?"weak":t===3||t===4?"medium":"strong"},h=({ok:r,label:t,className:a=""})=>f.jsxs("div",{className:`flex items-center gap-2 text-sm ${a}`,children:[r?f.jsx(ne,{className:"w-4 h-4 text-green-600"}):f.jsx(ae,{className:"w-4 h-4 text-red-500"}),f.jsx("span",{className:r?"text-green-600":"text-gray-500",children:t})]}),se=({strength:r,className:t=""})=>{let a="bg-red-500",s="w-1/4";return r==="medium"?(a="bg-yellow-400",s="w-2/3"):r==="strong"&&(a="bg-green-600",s="w-full"),f.jsx("div",{className:`h-2 bg-gray-200 rounded-full mt-2 ${t}`,children:f.jsx("div",{className:`${s} ${a} h-2 rounded-full transition-all`})})},le=({password:r,className:t="",itemClassName:a="",strengthBarClassName:s=""})=>{const o=L(r),l=oe(r);return f.jsxs("div",{className:`rounded-lg border p-4 shadow space-y-3 ${t}`,children:[f.jsxs("div",{className:"space-y-1",children:[f.jsx(h,{ok:o.length,label:"8–14 characters",className:a}),f.jsx(h,{ok:o.lowercase,label:"Lowercase letter",className:a}),f.jsx(h,{ok:o.uppercase,label:"Uppercase letter",className:a}),f.jsx(h,{ok:o.number,label:"Number",className:a}),f.jsx(h,{ok:o.symbol,label:"Symbol",className:a})]}),f.jsx(se,{strength:l,className:s}),f.jsxs("div",{className:"text-sm font-medium capitalize text-gray-700",children:["Strength: ",l]})]})};m.PasswordValidator=le,m.usePasswordValidation=L,m.validatePassword=I,Object.defineProperty(m,Symbol.toStringTag,{value:"Module"})}));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@shafnas/react-password-validator",
3
- "version": "1.0.1",
3
+ "version": "1.0.3",
4
4
  "description": "A reusable React password validator component with Tailwind and Lucide icons",
5
5
  "author": "Your Name",
6
6
  "license": "MIT",
@@ -1,11 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const w=require("react");var $={exports:{}},C={};var B;function pe(){if(B)return C;B=1;var r=Symbol.for("react.transitional.element"),e=Symbol.for("react.fragment");function n(c,i,l){var p=null;if(l!==void 0&&(p=""+l),i.key!==void 0&&(p=""+i.key),"key"in i){l={};for(var o in i)o!=="key"&&(l[o]=i[o])}else l=i;return i=l.ref,{$$typeof:r,type:c,key:p,ref:i!==void 0?i:null,props:l}}return C.Fragment=e,C.jsx=n,C.jsxs=n,C}var O={};var X;function _e(){return X||(X=1,process.env.NODE_ENV!=="production"&&(function(){function r(t){if(t==null)return null;if(typeof t=="function")return t.$$typeof===fe?null:t.displayName||t.name||null;if(typeof t=="string")return t;switch(t){case R:return"Fragment";case k:return"Profiler";case N:return"StrictMode";case le:return"Suspense";case ce:return"SuspenseList";case ue:return"Activity"}if(typeof t=="object")switch(typeof t.tag=="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),t.$$typeof){case g:return"Portal";case x:return t.displayName||"Context";case T:return(t._context.displayName||"Context")+".Consumer";case A:var a=t.render;return t=t.displayName,t||(t=a.displayName||a.name||"",t=t!==""?"ForwardRef("+t+")":"ForwardRef"),t;case ie:return a=t.displayName||null,a!==null?a:r(t.type)||"Memo";case L:a=t._payload,t=t._init;try{return r(t(a))}catch{}}return null}function e(t){return""+t}function n(t){try{e(t);var a=!1}catch{a=!0}if(a){a=console;var u=a.error,m=typeof Symbol=="function"&&Symbol.toStringTag&&t[Symbol.toStringTag]||t.constructor.name||"Object";return u.call(a,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",m),e(t)}}function c(t){if(t===R)return"<>";if(typeof t=="object"&&t!==null&&t.$$typeof===L)return"<...>";try{var a=r(t);return a?"<"+a+">":"<...>"}catch{return"<...>"}}function i(){var t=D.A;return t===null?null:t.getOwner()}function l(){return Error("react-stack-top-frame")}function p(t){if(V.call(t,"key")){var a=Object.getOwnPropertyDescriptor(t,"key").get;if(a&&a.isReactWarning)return!1}return t.key!==void 0}function o(t,a){function u(){z||(z=!0,console.error("%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)",a))}u.isReactWarning=!0,Object.defineProperty(t,"key",{get:u,configurable:!0})}function _(){var t=r(this.type);return G[t]||(G[t]=!0,console.error("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.")),t=this.props.ref,t!==void 0?t:null}function s(t,a,u,m,P,M){var d=u.ref;return t={$$typeof:E,type:t,key:a,props:u,_owner:m},(d!==void 0?d:null)!==null?Object.defineProperty(t,"ref",{enumerable:!1,get:_}):Object.defineProperty(t,"ref",{enumerable:!1,value:null}),t._store={},Object.defineProperty(t._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:0}),Object.defineProperty(t,"_debugInfo",{configurable:!1,enumerable:!1,writable:!0,value:null}),Object.defineProperty(t,"_debugStack",{configurable:!1,enumerable:!1,writable:!0,value:P}),Object.defineProperty(t,"_debugTask",{configurable:!1,enumerable:!1,writable:!0,value:M}),Object.freeze&&(Object.freeze(t.props),Object.freeze(t)),t}function f(t,a,u,m,P,M){var d=a.children;if(d!==void 0)if(m)if(me(d)){for(m=0;m<d.length;m++)b(d[m]);Object.freeze&&Object.freeze(d)}else console.error("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 b(d);if(V.call(a,"key")){d=r(t);var S=Object.keys(a).filter(function(de){return de!=="key"});m=0<S.length?"{key: someKey, "+S.join(": ..., ")+": ...}":"{key: someKey}",Z[d+m]||(S=0<S.length?"{"+S.join(": ..., ")+": ...}":"{}",console.error(`A props object containing a "key" prop is being spread into JSX:
2
- let props = %s;
3
- <%s {...props} />
4
- React keys must be passed directly to JSX without using spread:
5
- let props = %s;
6
- <%s key={someKey} {...props} />`,m,d,S,d),Z[d+m]=!0)}if(d=null,u!==void 0&&(n(u),d=""+u),p(a)&&(n(a.key),d=""+a.key),"key"in a){u={};for(var q in a)q!=="key"&&(u[q]=a[q])}else u=a;return d&&o(u,typeof t=="function"?t.displayName||t.name||"Unknown":t),s(t,d,u,i(),P,M)}function b(t){y(t)?t._store&&(t._store.validated=1):typeof t=="object"&&t!==null&&t.$$typeof===L&&(t._payload.status==="fulfilled"?y(t._payload.value)&&t._payload.value._store&&(t._payload.value._store.validated=1):t._store&&(t._store.validated=1))}function y(t){return typeof t=="object"&&t!==null&&t.$$typeof===E}var h=w,E=Symbol.for("react.transitional.element"),g=Symbol.for("react.portal"),R=Symbol.for("react.fragment"),N=Symbol.for("react.strict_mode"),k=Symbol.for("react.profiler"),T=Symbol.for("react.consumer"),x=Symbol.for("react.context"),A=Symbol.for("react.forward_ref"),le=Symbol.for("react.suspense"),ce=Symbol.for("react.suspense_list"),ie=Symbol.for("react.memo"),L=Symbol.for("react.lazy"),ue=Symbol.for("react.activity"),fe=Symbol.for("react.client.reference"),D=h.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,V=Object.prototype.hasOwnProperty,me=Array.isArray,U=console.createTask?console.createTask:function(){return null};h={react_stack_bottom_frame:function(t){return t()}};var z,G={},H=h.react_stack_bottom_frame.bind(h,l)(),J=U(c(l)),Z={};O.Fragment=R,O.jsx=function(t,a,u){var m=1e4>D.recentlyCreatedOwnerStacks++;return f(t,a,u,!1,m?Error("react-stack-top-frame"):H,m?U(c(t)):J)},O.jsxs=function(t,a,u){var m=1e4>D.recentlyCreatedOwnerStacks++;return f(t,a,u,!0,m?Error("react-stack-top-frame"):H,m?U(c(t)):J)}})()),O}var Q;function ve(){return Q||(Q=1,process.env.NODE_ENV==="production"?$.exports=pe():$.exports=_e()),$.exports}var v=ve(),I={exports:{}},W={};var K;function he(){if(K)return W;K=1;var r=w.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;return W.c=function(e){return r.H.useMemoCache(e)},W}var F={};var ee;function Re(){return ee||(ee=1,process.env.NODE_ENV!=="production"&&(function(){var r=w.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;F.c=function(e){var n=r.H;return n===null&&console.error(`Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:
7
- 1. You might have mismatching versions of React and the renderer (such as React DOM)
8
- 2. You might be breaking the Rules of Hooks
9
- 3. You might have more than one copy of React in the same app
10
- See https://react.dev/link/invalid-hook-call for tips about how to debug and fix this problem.`),n.useMemoCache(e)}})()),F}var te;function be(){return te||(te=1,process.env.NODE_ENV==="production"?I.exports=he():I.exports=Re()),I.exports}var Y=be();const ne=r=>{const e=r.length>=8&&r.length<=14,n=/[a-z]/.test(r),c=/[A-Z]/.test(r),i=/[0-9]/.test(r),l=/[^A-Za-z0-9]/.test(r);return{length:e,lowercase:n,uppercase:c,number:i,symbol:l,valid:e&&n&&c&&i&&l}},ae=r=>{const e=Y.c(2);let n;return e[0]!==r?(n=ne(r),e[0]=r,e[1]=n):n=e[1],n};const oe=(...r)=>r.filter((e,n,c)=>!!e&&e.trim()!==""&&c.indexOf(e)===n).join(" ").trim();const Ee=r=>r.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase();const ge=r=>r.replace(/^([A-Z])|[\s-_]+(\w)/g,(e,n,c)=>c?c.toUpperCase():n.toLowerCase());const re=r=>{const e=ge(r);return e.charAt(0).toUpperCase()+e.slice(1)};var Ne={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};const ke=r=>{for(const e in r)if(e.startsWith("aria-")||e==="role"||e==="title")return!0;return!1};const Te=w.forwardRef(({color:r="currentColor",size:e=24,strokeWidth:n=2,absoluteStrokeWidth:c,className:i="",children:l,iconNode:p,...o},_)=>w.createElement("svg",{ref:_,...Ne,width:e,height:e,stroke:r,strokeWidth:c?Number(n)*24/Number(e):n,className:oe("lucide",i),...!l&&!ke(o)&&{"aria-hidden":"true"},...o},[...p.map(([s,f])=>w.createElement(s,f)),...Array.isArray(l)?l:[l]]));const se=(r,e)=>{const n=w.forwardRef(({className:c,...i},l)=>w.createElement(Te,{ref:l,iconNode:e,className:oe(`lucide-${Ee(re(r))}`,`lucide-${r}`,c),...i}));return n.displayName=re(r),n};const xe=[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]],we=se("check",xe);const ye=[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]],Ae=se("x",ye),Se=r=>{let e=0;return r.length>=2&&(e+=1),/[a-z]/.test(r)&&(e+=1),/[A-Z]/.test(r)&&(e+=1),/[0-9]/.test(r)&&(e+=1),/[^A-Za-z0-9]/.test(r)&&(e+=1),e<=2?"weak":e===3||e===4?"medium":"strong"},j=r=>{const e=Y.c(9),{ok:n,label:c,className:i}=r,p=`flex items-center gap-2 text-sm ${i===void 0?"":i}`;let o;e[0]!==n?(o=n?v.jsx(we,{className:"w-4 h-4 text-green-600"}):v.jsx(Ae,{className:"w-4 h-4 text-red-500"}),e[0]=n,e[1]=o):o=e[1];const _=n?"text-green-600":"text-gray-500";let s;e[2]!==c||e[3]!==_?(s=v.jsx("span",{className:_,children:c}),e[2]=c,e[3]=_,e[4]=s):s=e[4];let f;return e[5]!==p||e[6]!==o||e[7]!==s?(f=v.jsxs("div",{className:p,children:[o,s]}),e[5]=p,e[6]=o,e[7]=s,e[8]=f):f=e[8],f},Ce=r=>{const e=Y.c(5),{strength:n,className:c}=r,i=c===void 0?"":c;let l="bg-red-500",p="w-1/4";n==="medium"?(l="bg-yellow-400",p="w-2/3"):n==="strong"&&(l="bg-green-600",p="w-full");const o=`h-2 bg-gray-200 rounded-full mt-2 ${i}`,_=`${p} ${l} h-2 rounded-full transition-all`;let s;e[0]!==_?(s=v.jsx("div",{className:_}),e[0]=_,e[1]=s):s=e[1];let f;return e[2]!==o||e[3]!==s?(f=v.jsx("div",{className:o,children:s}),e[2]=o,e[3]=s,e[4]=f):f=e[4],f},Oe=r=>{const e=Y.c(33),{password:n,className:c,itemClassName:i,strengthBarClassName:l}=r,p=c===void 0?"":c,o=i===void 0?"":i,_=l===void 0?"":l,s=ae(n);let f;e[0]!==n?(f=Se(n),e[0]=n,e[1]=f):f=e[1];const b=f,y=`rounded-lg border p-4 shadow space-y-3 ${p}`;let h;e[2]!==o||e[3]!==s.length?(h=v.jsx(j,{ok:s.length,label:"8–14 characters",className:o}),e[2]=o,e[3]=s.length,e[4]=h):h=e[4];let E;e[5]!==o||e[6]!==s.lowercase?(E=v.jsx(j,{ok:s.lowercase,label:"Lowercase letter",className:o}),e[5]=o,e[6]=s.lowercase,e[7]=E):E=e[7];let g;e[8]!==o||e[9]!==s.uppercase?(g=v.jsx(j,{ok:s.uppercase,label:"Uppercase letter",className:o}),e[8]=o,e[9]=s.uppercase,e[10]=g):g=e[10];let R;e[11]!==o||e[12]!==s.number?(R=v.jsx(j,{ok:s.number,label:"Number",className:o}),e[11]=o,e[12]=s.number,e[13]=R):R=e[13];let N;e[14]!==o||e[15]!==s.symbol?(N=v.jsx(j,{ok:s.symbol,label:"Symbol",className:o}),e[14]=o,e[15]=s.symbol,e[16]=N):N=e[16];let k;e[17]!==N||e[18]!==h||e[19]!==E||e[20]!==g||e[21]!==R?(k=v.jsxs("div",{className:"space-y-1",children:[h,E,g,R,N]}),e[17]=N,e[18]=h,e[19]=E,e[20]=g,e[21]=R,e[22]=k):k=e[22];let T;e[23]!==b||e[24]!==_?(T=v.jsx(Ce,{strength:b,className:_}),e[23]=b,e[24]=_,e[25]=T):T=e[25];let x;e[26]!==b?(x=v.jsxs("div",{className:"text-sm font-medium capitalize text-gray-700",children:["Strength: ",b]}),e[26]=b,e[27]=x):x=e[27];let A;return e[28]!==k||e[29]!==T||e[30]!==x||e[31]!==y?(A=v.jsxs("div",{className:y,children:[k,T,x]}),e[28]=k,e[29]=T,e[30]=x,e[31]=y,e[32]=A):A=e[32],A};exports.PasswordValidator=Oe;exports.usePasswordValidation=ae;exports.validatePassword=ne;
11
- //# sourceMappingURL=react-password-validator.cjs.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"react-password-validator.cjs.js","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","../node_modules/react/cjs/react-compiler-runtime.production.js","../node_modules/react/cjs/react-compiler-runtime.development.js","../node_modules/react/compiler-runtime.js","../src/lib/utils/passwordRules.ts","../src/lib/hooks/usePasswordValidation.ts","../node_modules/lucide-react/dist/esm/shared/src/utils/mergeClasses.js","../node_modules/lucide-react/dist/esm/shared/src/utils/toKebabCase.js","../node_modules/lucide-react/dist/esm/shared/src/utils/toCamelCase.js","../node_modules/lucide-react/dist/esm/shared/src/utils/toPascalCase.js","../node_modules/lucide-react/dist/esm/defaultAttributes.js","../node_modules/lucide-react/dist/esm/shared/src/utils/hasA11yProp.js","../node_modules/lucide-react/dist/esm/Icon.js","../node_modules/lucide-react/dist/esm/createLucideIcon.js","../node_modules/lucide-react/dist/esm/icons/check.js","../node_modules/lucide-react/dist/esm/icons/x.js","../src/lib/utils/passwordStrength.ts","../src/lib/components/PasswordValidator.tsx"],"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\";\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(type, key, props, owner, debugStack, debugTask) {\n var refProp = 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 !== refProp ? refProp : 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 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 maybeKey,\n getOwner(),\n debugStack,\n debugTask\n );\n }\n function validateChildKeys(node) {\n isValidElement(node)\n ? node._store && (node._store.validated = 1)\n : \"object\" === typeof node &&\n null !== node &&\n node.$$typeof === REACT_LAZY_TYPE &&\n (\"fulfilled\" === node._payload.status\n ? isValidElement(node._payload.value) &&\n node._payload.value._store &&\n (node._payload.value._store.validated = 1)\n : node._store && (node._store.validated = 1));\n }\n function isValidElement(object) {\n return (\n \"object\" === typeof object &&\n null !== object &&\n object.$$typeof === REACT_ELEMENT_TYPE\n );\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 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) {\n var trackActualOwner =\n 1e4 > ReactSharedInternals.recentlyCreatedOwnerStacks++;\n return jsxDEVImpl(\n type,\n config,\n maybeKey,\n !1,\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) {\n var trackActualOwner =\n 1e4 > ReactSharedInternals.recentlyCreatedOwnerStacks++;\n return jsxDEVImpl(\n type,\n config,\n maybeKey,\n !0,\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","/**\n * @license React\n * react-compiler-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 ReactSharedInternals =\n require(\"react\").__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;\nexports.c = function (size) {\n return ReactSharedInternals.H.useMemoCache(size);\n};\n","/**\n * @license React\n * react-compiler-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 var ReactSharedInternals =\n require(\"react\").__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;\n exports.c = function (size) {\n var dispatcher = ReactSharedInternals.H;\n null === dispatcher &&\n console.error(\n \"Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:\\n1. You might have mismatching versions of React and the renderer (such as React DOM)\\n2. You might be breaking the Rules of Hooks\\n3. You might have more than one copy of React in the same app\\nSee https://react.dev/link/invalid-hook-call for tips about how to debug and fix this problem.\"\n );\n return dispatcher.useMemoCache(size);\n };\n })();\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\nif (process.env.NODE_ENV === 'production') {\n module.exports = require('./cjs/react-compiler-runtime.production.js');\n} else {\n module.exports = require('./cjs/react-compiler-runtime.development.js');\n}\n","export interface PasswordValidationResult {\n length: boolean;\n lowercase: boolean;\n uppercase: boolean;\n number: boolean;\n symbol: boolean;\n valid: boolean;\n}\n\nexport const validatePassword = (\n password: string,\n): PasswordValidationResult => {\n const length = password.length >= 8 && password.length <= 14;\n const lowercase = /[a-z]/.test(password);\n const uppercase = /[A-Z]/.test(password);\n const number = /[0-9]/.test(password);\n const symbol = /[^A-Za-z0-9]/.test(password);\n\n const valid = length && lowercase && uppercase && number && symbol;\n\n return { length, lowercase, uppercase, number, symbol, valid };\n};\n","import { useMemo } from \"react\";\nimport {\n validatePassword,\n type PasswordValidationResult,\n} from \"../utils/passwordRules\";\n\nexport const usePasswordValidation = (\n password: string,\n): PasswordValidationResult => {\n return useMemo(() => validatePassword(password), [password]);\n};\n","/**\n * @license lucide-react v0.566.0 - ISC\n *\n * This source code is licensed under the ISC license.\n * See the LICENSE file in the root directory of this source tree.\n */\n\nconst mergeClasses = (...classes) => classes.filter((className, index, array) => {\n return Boolean(className) && className.trim() !== \"\" && array.indexOf(className) === index;\n}).join(\" \").trim();\n\nexport { mergeClasses };\n//# sourceMappingURL=mergeClasses.js.map\n","/**\n * @license lucide-react v0.566.0 - ISC\n *\n * This source code is licensed under the ISC license.\n * See the LICENSE file in the root directory of this source tree.\n */\n\nconst toKebabCase = (string) => string.replace(/([a-z0-9])([A-Z])/g, \"$1-$2\").toLowerCase();\n\nexport { toKebabCase };\n//# sourceMappingURL=toKebabCase.js.map\n","/**\n * @license lucide-react v0.566.0 - ISC\n *\n * This source code is licensed under the ISC license.\n * See the LICENSE file in the root directory of this source tree.\n */\n\nconst toCamelCase = (string) => string.replace(\n /^([A-Z])|[\\s-_]+(\\w)/g,\n (match, p1, p2) => p2 ? p2.toUpperCase() : p1.toLowerCase()\n);\n\nexport { toCamelCase };\n//# sourceMappingURL=toCamelCase.js.map\n","/**\n * @license lucide-react v0.566.0 - ISC\n *\n * This source code is licensed under the ISC license.\n * See the LICENSE file in the root directory of this source tree.\n */\n\nimport { toCamelCase } from './toCamelCase.js';\n\nconst toPascalCase = (string) => {\n const camelCase = toCamelCase(string);\n return camelCase.charAt(0).toUpperCase() + camelCase.slice(1);\n};\n\nexport { toPascalCase };\n//# sourceMappingURL=toPascalCase.js.map\n","/**\n * @license lucide-react v0.566.0 - ISC\n *\n * This source code is licensed under the ISC license.\n * See the LICENSE file in the root directory of this source tree.\n */\n\nvar defaultAttributes = {\n xmlns: \"http://www.w3.org/2000/svg\",\n width: 24,\n height: 24,\n viewBox: \"0 0 24 24\",\n fill: \"none\",\n stroke: \"currentColor\",\n strokeWidth: 2,\n strokeLinecap: \"round\",\n strokeLinejoin: \"round\"\n};\n\nexport { defaultAttributes as default };\n//# sourceMappingURL=defaultAttributes.js.map\n","/**\n * @license lucide-react v0.566.0 - ISC\n *\n * This source code is licensed under the ISC license.\n * See the LICENSE file in the root directory of this source tree.\n */\n\nconst hasA11yProp = (props) => {\n for (const prop in props) {\n if (prop.startsWith(\"aria-\") || prop === \"role\" || prop === \"title\") {\n return true;\n }\n }\n return false;\n};\n\nexport { hasA11yProp };\n//# sourceMappingURL=hasA11yProp.js.map\n","/**\n * @license lucide-react v0.566.0 - ISC\n *\n * This source code is licensed under the ISC license.\n * See the LICENSE file in the root directory of this source tree.\n */\n\nimport { forwardRef, createElement } from 'react';\nimport defaultAttributes from './defaultAttributes.js';\nimport { hasA11yProp } from './shared/src/utils/hasA11yProp.js';\nimport { mergeClasses } from './shared/src/utils/mergeClasses.js';\n\nconst Icon = forwardRef(\n ({\n color = \"currentColor\",\n size = 24,\n strokeWidth = 2,\n absoluteStrokeWidth,\n className = \"\",\n children,\n iconNode,\n ...rest\n }, ref) => createElement(\n \"svg\",\n {\n ref,\n ...defaultAttributes,\n width: size,\n height: size,\n stroke: color,\n strokeWidth: absoluteStrokeWidth ? Number(strokeWidth) * 24 / Number(size) : strokeWidth,\n className: mergeClasses(\"lucide\", className),\n ...!children && !hasA11yProp(rest) && { \"aria-hidden\": \"true\" },\n ...rest\n },\n [\n ...iconNode.map(([tag, attrs]) => createElement(tag, attrs)),\n ...Array.isArray(children) ? children : [children]\n ]\n )\n);\n\nexport { Icon as default };\n//# sourceMappingURL=Icon.js.map\n","/**\n * @license lucide-react v0.566.0 - ISC\n *\n * This source code is licensed under the ISC license.\n * See the LICENSE file in the root directory of this source tree.\n */\n\nimport { forwardRef, createElement } from 'react';\nimport { mergeClasses } from './shared/src/utils/mergeClasses.js';\nimport { toKebabCase } from './shared/src/utils/toKebabCase.js';\nimport { toPascalCase } from './shared/src/utils/toPascalCase.js';\nimport Icon from './Icon.js';\n\nconst createLucideIcon = (iconName, iconNode) => {\n const Component = forwardRef(\n ({ className, ...props }, ref) => createElement(Icon, {\n ref,\n iconNode,\n className: mergeClasses(\n `lucide-${toKebabCase(toPascalCase(iconName))}`,\n `lucide-${iconName}`,\n className\n ),\n ...props\n })\n );\n Component.displayName = toPascalCase(iconName);\n return Component;\n};\n\nexport { createLucideIcon as default };\n//# sourceMappingURL=createLucideIcon.js.map\n","/**\n * @license lucide-react v0.566.0 - ISC\n *\n * This source code is licensed under the ISC license.\n * See the LICENSE file in the root directory of this source tree.\n */\n\nimport createLucideIcon from '../createLucideIcon.js';\n\nconst __iconNode = [[\"path\", { d: \"M20 6 9 17l-5-5\", key: \"1gmf2c\" }]];\nconst Check = createLucideIcon(\"check\", __iconNode);\n\nexport { __iconNode, Check as default };\n//# sourceMappingURL=check.js.map\n","/**\n * @license lucide-react v0.566.0 - ISC\n *\n * This source code is licensed under the ISC license.\n * See the LICENSE file in the root directory of this source tree.\n */\n\nimport createLucideIcon from '../createLucideIcon.js';\n\nconst __iconNode = [\n [\"path\", { d: \"M18 6 6 18\", key: \"1bl5f8\" }],\n [\"path\", { d: \"m6 6 12 12\", key: \"d8bk6v\" }]\n];\nconst X = createLucideIcon(\"x\", __iconNode);\n\nexport { __iconNode, X as default };\n//# sourceMappingURL=x.js.map\n","export type PasswordStrength = \"weak\" | \"medium\" | \"strong\";\n\nexport const calculateStrength = (password: string): PasswordStrength => {\n let score = 0;\n\n if (password.length >= 2) score += 1;\n if (/[a-z]/.test(password)) score += 1;\n if (/[A-Z]/.test(password)) score += 1;\n if (/[0-9]/.test(password)) score += 1;\n if (/[^A-Za-z0-9]/.test(password)) score += 1;\n\n if (score <= 2) return \"weak\";\n if (score === 3 || score === 4) return \"medium\";\n return \"strong\";\n};\n","import React from \"react\";\nimport { usePasswordValidation } from \"../hooks/usePasswordValidation\";\nimport { Check, X } from \"lucide-react\";\nimport {\n calculateStrength,\n type PasswordStrength,\n} from \"../utils/passwordStrength\";\n\ninterface Props {\n password: string;\n confirmPassword?: string;\n className?: string;\n itemClassName?: string;\n strengthBarClassName?: string;\n}\n\nconst Item = ({\n ok,\n label,\n className = \"\",\n}: {\n ok: boolean;\n label: string;\n className?: string;\n}) => (\n <div className={`flex items-center gap-2 text-sm ${className}`}>\n {ok ? (\n <Check className=\"w-4 h-4 text-green-600\" />\n ) : (\n <X className=\"w-4 h-4 text-red-500\" />\n )}\n <span className={ok ? \"text-green-600\" : \"text-gray-500\"}>{label}</span>\n </div>\n);\n\nconst StrengthBar = ({\n strength,\n className = \"\",\n}: {\n strength: PasswordStrength;\n className?: string;\n}) => {\n let color = \"bg-red-500\";\n let width = \"w-1/4\";\n\n if (strength === \"medium\") {\n color = \"bg-yellow-400\";\n width = \"w-2/3\";\n } else if (strength === \"strong\") {\n color = \"bg-green-600\";\n width = \"w-full\";\n }\n\n return (\n <div className={`h-2 bg-gray-200 rounded-full mt-2 ${className}`}>\n <div\n className={`${width} ${color} h-2 rounded-full transition-all`}\n ></div>\n </div>\n );\n};\n\nexport const PasswordValidator: React.FC<Props> = ({\n password,\n className = \"\",\n itemClassName = \"\",\n strengthBarClassName = \"\",\n}) => {\n const result = usePasswordValidation(password);\n const strength = calculateStrength(password);\n\n return (\n <div className={`rounded-lg border p-4 shadow space-y-3 ${className}`}>\n <div className=\"space-y-1\">\n <Item\n ok={result.length}\n label=\"8–14 characters\"\n className={itemClassName}\n />\n <Item\n ok={result.lowercase}\n label=\"Lowercase letter\"\n className={itemClassName}\n />\n <Item\n ok={result.uppercase}\n label=\"Uppercase letter\"\n className={itemClassName}\n />\n <Item ok={result.number} label=\"Number\" className={itemClassName} />\n <Item ok={result.symbol} label=\"Symbol\" className={itemClassName} />\n </div>\n\n <StrengthBar strength={strength} className={strengthBarClassName} />\n <div className=\"text-sm font-medium capitalize text-gray-700\">\n Strength: {strength}\n </div>\n </div>\n );\n};\n"],"names":["REACT_ELEMENT_TYPE","REACT_FRAGMENT_TYPE","jsxProd","type","config","maybeKey","key","propName","reactJsxRuntime_production","getComponentNameFromType","REACT_CLIENT_REFERENCE","REACT_PROFILER_TYPE","REACT_STRICT_MODE_TYPE","REACT_SUSPENSE_TYPE","REACT_SUSPENSE_LIST_TYPE","REACT_ACTIVITY_TYPE","REACT_PORTAL_TYPE","REACT_CONTEXT_TYPE","REACT_CONSUMER_TYPE","REACT_FORWARD_REF_TYPE","innerType","REACT_MEMO_TYPE","REACT_LAZY_TYPE","testStringCoercion","value","checkKeyStringCoercion","JSCompiler_inline_result","JSCompiler_temp_const","JSCompiler_inline_result$jscomp$0","getTaskName","name","getOwner","dispatcher","ReactSharedInternals","UnknownOwner","hasValidKey","hasOwnProperty","getter","defineKeyPropWarningGetter","props","displayName","warnAboutAccessingKey","specialPropKeyWarningShown","elementRefGetterWithDeprecationWarning","componentName","didWarnAboutElementRef","ReactElement","owner","debugStack","debugTask","refProp","jsxDEVImpl","isStaticChildren","children","isArrayImpl","validateChildKeys","keys","k","didWarnAboutKeySpread","node","isValidElement","object","React","require$$0","createTask","callStackForError","unknownOwnerDebugStack","unknownOwnerDebugTask","reactJsxRuntime_development","trackActualOwner","jsxRuntimeModule","require$$1","reactCompilerRuntime_production","size","reactCompilerRuntime_development","compilerRuntimeModule","validatePassword","password","length","lowercase","test","uppercase","number","symbol","valid","usePasswordValidation","$","_c","t0","mergeClasses","classes","className","index","array","toKebabCase","string","toCamelCase","match","p1","p2","toPascalCase","camelCase","defaultAttributes","hasA11yProp","prop","Icon","forwardRef","color","strokeWidth","absoluteStrokeWidth","iconNode","rest","ref","createElement","tag","attrs","createLucideIcon","iconName","Component","__iconNode","Check","X","calculateStrength","score","Item","ok","label","t1","t2","undefined","t3","jsx","t4","t5","t6","jsxs","StrengthBar","strength","width","PasswordValidator","itemClassName","strengthBarClassName","result","t7","t8","t9","t10","t11","t12","t13","t14"],"mappings":"uKAWA,IAAIA,EAAqB,OAAO,IAAI,4BAA4B,EAC9DC,EAAsB,OAAO,IAAI,gBAAgB,EACnD,SAASC,EAAQC,EAAMC,EAAQC,EAAU,CACvC,IAAIC,EAAM,KAGV,GAFWD,IAAX,SAAwBC,EAAM,GAAKD,GACxBD,EAAO,MAAlB,SAA0BE,EAAM,GAAKF,EAAO,KACxC,QAASA,EAAQ,CACnBC,EAAW,CAAA,EACX,QAASE,KAAYH,EACTG,IAAV,QAAuBF,EAASE,CAAQ,EAAIH,EAAOG,CAAQ,EACjE,MAASF,EAAWD,EAClB,OAAAA,EAASC,EAAS,IACX,CACL,SAAUL,EACV,KAAMG,EACN,IAAKG,EACL,IAAgBF,IAAX,OAAoBA,EAAS,KAClC,MAAOC,EAEX,CACA,OAAAG,EAAA,SAAmBP,EACnBO,EAAA,IAAcN,EACdM,EAAA,KAAeN,gDCtBE,QAAQ,IAAI,WAA7B,eACG,UAAY,CACX,SAASO,EAAyBN,EAAM,CACtC,GAAYA,GAAR,KAAc,OAAO,KACzB,GAAmB,OAAOA,GAAtB,WACF,OAAOA,EAAK,WA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,EAAA,EAAA,EAAA,IAAAgE,EAAA,OAAAhE,EAAA,EAAA,IAAA6D,GAAA7D,EAAA,EAAA,IAAA8D,GAAA9D,EAAA,EAAA,IAAA+D,GAAA/D,QAAA+C,GAxBRiB,gBAAgB,UAAAjB,EACdc,SAAAA,CAAAA,EAoBAC,EACAC,CAAAA,EAGF,EAAM/D,MAAA6D,EAAA7D,MAAA8D,EAAA9D,MAAA+D,EAAA/D,MAAA+C,EAAA/C,MAAAgE,GAAAA,EAAAhE,EAAA,EAAA,EAzBNgE,CAyBM","x_google_ignoreList":[0,1,2,3,4,5,8,9,10,11,12,13,14,15,16,17]}
@@ -1 +0,0 @@
1
- {"version":3,"file":"react-password-validator.es.js","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","../node_modules/react/cjs/react-compiler-runtime.production.js","../node_modules/react/cjs/react-compiler-runtime.development.js","../node_modules/react/compiler-runtime.js","../src/lib/utils/passwordRules.ts","../src/lib/hooks/usePasswordValidation.ts","../node_modules/lucide-react/dist/esm/shared/src/utils/mergeClasses.js","../node_modules/lucide-react/dist/esm/shared/src/utils/toKebabCase.js","../node_modules/lucide-react/dist/esm/shared/src/utils/toCamelCase.js","../node_modules/lucide-react/dist/esm/shared/src/utils/toPascalCase.js","../node_modules/lucide-react/dist/esm/defaultAttributes.js","../node_modules/lucide-react/dist/esm/shared/src/utils/hasA11yProp.js","../node_modules/lucide-react/dist/esm/Icon.js","../node_modules/lucide-react/dist/esm/createLucideIcon.js","../node_modules/lucide-react/dist/esm/icons/check.js","../node_modules/lucide-react/dist/esm/icons/x.js","../src/lib/utils/passwordStrength.ts","../src/lib/components/PasswordValidator.tsx"],"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\";\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(type, key, props, owner, debugStack, debugTask) {\n var refProp = 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 !== refProp ? refProp : 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 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 maybeKey,\n getOwner(),\n debugStack,\n debugTask\n );\n }\n function validateChildKeys(node) {\n isValidElement(node)\n ? node._store && (node._store.validated = 1)\n : \"object\" === typeof node &&\n null !== node &&\n node.$$typeof === REACT_LAZY_TYPE &&\n (\"fulfilled\" === node._payload.status\n ? isValidElement(node._payload.value) &&\n node._payload.value._store &&\n (node._payload.value._store.validated = 1)\n : node._store && (node._store.validated = 1));\n }\n function isValidElement(object) {\n return (\n \"object\" === typeof object &&\n null !== object &&\n object.$$typeof === REACT_ELEMENT_TYPE\n );\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 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) {\n var trackActualOwner =\n 1e4 > ReactSharedInternals.recentlyCreatedOwnerStacks++;\n return jsxDEVImpl(\n type,\n config,\n maybeKey,\n !1,\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) {\n var trackActualOwner =\n 1e4 > ReactSharedInternals.recentlyCreatedOwnerStacks++;\n return jsxDEVImpl(\n type,\n config,\n maybeKey,\n !0,\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","/**\n * @license React\n * react-compiler-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 ReactSharedInternals =\n require(\"react\").__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;\nexports.c = function (size) {\n return ReactSharedInternals.H.useMemoCache(size);\n};\n","/**\n * @license React\n * react-compiler-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 var ReactSharedInternals =\n require(\"react\").__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;\n exports.c = function (size) {\n var dispatcher = ReactSharedInternals.H;\n null === dispatcher &&\n console.error(\n \"Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:\\n1. You might have mismatching versions of React and the renderer (such as React DOM)\\n2. You might be breaking the Rules of Hooks\\n3. You might have more than one copy of React in the same app\\nSee https://react.dev/link/invalid-hook-call for tips about how to debug and fix this problem.\"\n );\n return dispatcher.useMemoCache(size);\n };\n })();\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\nif (process.env.NODE_ENV === 'production') {\n module.exports = require('./cjs/react-compiler-runtime.production.js');\n} else {\n module.exports = require('./cjs/react-compiler-runtime.development.js');\n}\n","export interface PasswordValidationResult {\n length: boolean;\n lowercase: boolean;\n uppercase: boolean;\n number: boolean;\n symbol: boolean;\n valid: boolean;\n}\n\nexport const validatePassword = (\n password: string,\n): PasswordValidationResult => {\n const length = password.length >= 8 && password.length <= 14;\n const lowercase = /[a-z]/.test(password);\n const uppercase = /[A-Z]/.test(password);\n const number = /[0-9]/.test(password);\n const symbol = /[^A-Za-z0-9]/.test(password);\n\n const valid = length && lowercase && uppercase && number && symbol;\n\n return { length, lowercase, uppercase, number, symbol, valid };\n};\n","import { useMemo } from \"react\";\nimport {\n validatePassword,\n type PasswordValidationResult,\n} from \"../utils/passwordRules\";\n\nexport const usePasswordValidation = (\n password: string,\n): PasswordValidationResult => {\n return useMemo(() => validatePassword(password), [password]);\n};\n","/**\n * @license lucide-react v0.566.0 - ISC\n *\n * This source code is licensed under the ISC license.\n * See the LICENSE file in the root directory of this source tree.\n */\n\nconst mergeClasses = (...classes) => classes.filter((className, index, array) => {\n return Boolean(className) && className.trim() !== \"\" && array.indexOf(className) === index;\n}).join(\" \").trim();\n\nexport { mergeClasses };\n//# sourceMappingURL=mergeClasses.js.map\n","/**\n * @license lucide-react v0.566.0 - ISC\n *\n * This source code is licensed under the ISC license.\n * See the LICENSE file in the root directory of this source tree.\n */\n\nconst toKebabCase = (string) => string.replace(/([a-z0-9])([A-Z])/g, \"$1-$2\").toLowerCase();\n\nexport { toKebabCase };\n//# sourceMappingURL=toKebabCase.js.map\n","/**\n * @license lucide-react v0.566.0 - ISC\n *\n * This source code is licensed under the ISC license.\n * See the LICENSE file in the root directory of this source tree.\n */\n\nconst toCamelCase = (string) => string.replace(\n /^([A-Z])|[\\s-_]+(\\w)/g,\n (match, p1, p2) => p2 ? p2.toUpperCase() : p1.toLowerCase()\n);\n\nexport { toCamelCase };\n//# sourceMappingURL=toCamelCase.js.map\n","/**\n * @license lucide-react v0.566.0 - ISC\n *\n * This source code is licensed under the ISC license.\n * See the LICENSE file in the root directory of this source tree.\n */\n\nimport { toCamelCase } from './toCamelCase.js';\n\nconst toPascalCase = (string) => {\n const camelCase = toCamelCase(string);\n return camelCase.charAt(0).toUpperCase() + camelCase.slice(1);\n};\n\nexport { toPascalCase };\n//# sourceMappingURL=toPascalCase.js.map\n","/**\n * @license lucide-react v0.566.0 - ISC\n *\n * This source code is licensed under the ISC license.\n * See the LICENSE file in the root directory of this source tree.\n */\n\nvar defaultAttributes = {\n xmlns: \"http://www.w3.org/2000/svg\",\n width: 24,\n height: 24,\n viewBox: \"0 0 24 24\",\n fill: \"none\",\n stroke: \"currentColor\",\n strokeWidth: 2,\n strokeLinecap: \"round\",\n strokeLinejoin: \"round\"\n};\n\nexport { defaultAttributes as default };\n//# sourceMappingURL=defaultAttributes.js.map\n","/**\n * @license lucide-react v0.566.0 - ISC\n *\n * This source code is licensed under the ISC license.\n * See the LICENSE file in the root directory of this source tree.\n */\n\nconst hasA11yProp = (props) => {\n for (const prop in props) {\n if (prop.startsWith(\"aria-\") || prop === \"role\" || prop === \"title\") {\n return true;\n }\n }\n return false;\n};\n\nexport { hasA11yProp };\n//# sourceMappingURL=hasA11yProp.js.map\n","/**\n * @license lucide-react v0.566.0 - ISC\n *\n * This source code is licensed under the ISC license.\n * See the LICENSE file in the root directory of this source tree.\n */\n\nimport { forwardRef, createElement } from 'react';\nimport defaultAttributes from './defaultAttributes.js';\nimport { hasA11yProp } from './shared/src/utils/hasA11yProp.js';\nimport { mergeClasses } from './shared/src/utils/mergeClasses.js';\n\nconst Icon = forwardRef(\n ({\n color = \"currentColor\",\n size = 24,\n strokeWidth = 2,\n absoluteStrokeWidth,\n className = \"\",\n children,\n iconNode,\n ...rest\n }, ref) => createElement(\n \"svg\",\n {\n ref,\n ...defaultAttributes,\n width: size,\n height: size,\n stroke: color,\n strokeWidth: absoluteStrokeWidth ? Number(strokeWidth) * 24 / Number(size) : strokeWidth,\n className: mergeClasses(\"lucide\", className),\n ...!children && !hasA11yProp(rest) && { \"aria-hidden\": \"true\" },\n ...rest\n },\n [\n ...iconNode.map(([tag, attrs]) => createElement(tag, attrs)),\n ...Array.isArray(children) ? children : [children]\n ]\n )\n);\n\nexport { Icon as default };\n//# sourceMappingURL=Icon.js.map\n","/**\n * @license lucide-react v0.566.0 - ISC\n *\n * This source code is licensed under the ISC license.\n * See the LICENSE file in the root directory of this source tree.\n */\n\nimport { forwardRef, createElement } from 'react';\nimport { mergeClasses } from './shared/src/utils/mergeClasses.js';\nimport { toKebabCase } from './shared/src/utils/toKebabCase.js';\nimport { toPascalCase } from './shared/src/utils/toPascalCase.js';\nimport Icon from './Icon.js';\n\nconst createLucideIcon = (iconName, iconNode) => {\n const Component = forwardRef(\n ({ className, ...props }, ref) => createElement(Icon, {\n ref,\n iconNode,\n className: mergeClasses(\n `lucide-${toKebabCase(toPascalCase(iconName))}`,\n `lucide-${iconName}`,\n className\n ),\n ...props\n })\n );\n Component.displayName = toPascalCase(iconName);\n return Component;\n};\n\nexport { createLucideIcon as default };\n//# sourceMappingURL=createLucideIcon.js.map\n","/**\n * @license lucide-react v0.566.0 - ISC\n *\n * This source code is licensed under the ISC license.\n * See the LICENSE file in the root directory of this source tree.\n */\n\nimport createLucideIcon from '../createLucideIcon.js';\n\nconst __iconNode = [[\"path\", { d: \"M20 6 9 17l-5-5\", key: \"1gmf2c\" }]];\nconst Check = createLucideIcon(\"check\", __iconNode);\n\nexport { __iconNode, Check as default };\n//# sourceMappingURL=check.js.map\n","/**\n * @license lucide-react v0.566.0 - ISC\n *\n * This source code is licensed under the ISC license.\n * See the LICENSE file in the root directory of this source tree.\n */\n\nimport createLucideIcon from '../createLucideIcon.js';\n\nconst __iconNode = [\n [\"path\", { d: \"M18 6 6 18\", key: \"1bl5f8\" }],\n [\"path\", { d: \"m6 6 12 12\", key: \"d8bk6v\" }]\n];\nconst X = createLucideIcon(\"x\", __iconNode);\n\nexport { __iconNode, X as default };\n//# sourceMappingURL=x.js.map\n","export type PasswordStrength = \"weak\" | \"medium\" | \"strong\";\n\nexport const calculateStrength = (password: string): PasswordStrength => {\n let score = 0;\n\n if (password.length >= 2) score += 1;\n if (/[a-z]/.test(password)) score += 1;\n if (/[A-Z]/.test(password)) score += 1;\n if (/[0-9]/.test(password)) score += 1;\n if (/[^A-Za-z0-9]/.test(password)) score += 1;\n\n if (score <= 2) return \"weak\";\n if (score === 3 || score === 4) return \"medium\";\n return \"strong\";\n};\n","import React from \"react\";\nimport { usePasswordValidation } from \"../hooks/usePasswordValidation\";\nimport { Check, X } from \"lucide-react\";\nimport {\n calculateStrength,\n type PasswordStrength,\n} from \"../utils/passwordStrength\";\n\ninterface Props {\n password: string;\n confirmPassword?: string;\n className?: string;\n itemClassName?: string;\n strengthBarClassName?: string;\n}\n\nconst Item = ({\n ok,\n label,\n className = \"\",\n}: {\n ok: boolean;\n label: string;\n className?: string;\n}) => (\n <div className={`flex items-center gap-2 text-sm ${className}`}>\n {ok ? (\n <Check className=\"w-4 h-4 text-green-600\" />\n ) : (\n <X className=\"w-4 h-4 text-red-500\" />\n )}\n <span className={ok ? \"text-green-600\" : \"text-gray-500\"}>{label}</span>\n </div>\n);\n\nconst StrengthBar = ({\n strength,\n className = \"\",\n}: {\n strength: PasswordStrength;\n className?: string;\n}) => {\n let color = \"bg-red-500\";\n let width = \"w-1/4\";\n\n if (strength === \"medium\") {\n color = \"bg-yellow-400\";\n width = \"w-2/3\";\n } else if (strength === \"strong\") {\n color = \"bg-green-600\";\n width = \"w-full\";\n }\n\n return (\n <div className={`h-2 bg-gray-200 rounded-full mt-2 ${className}`}>\n <div\n className={`${width} ${color} h-2 rounded-full transition-all`}\n ></div>\n </div>\n );\n};\n\nexport const PasswordValidator: React.FC<Props> = ({\n password,\n className = \"\",\n itemClassName = \"\",\n strengthBarClassName = \"\",\n}) => {\n const result = usePasswordValidation(password);\n const strength = calculateStrength(password);\n\n return (\n <div className={`rounded-lg border p-4 shadow space-y-3 ${className}`}>\n <div className=\"space-y-1\">\n <Item\n ok={result.length}\n label=\"8–14 characters\"\n className={itemClassName}\n />\n <Item\n ok={result.lowercase}\n label=\"Lowercase letter\"\n className={itemClassName}\n />\n <Item\n ok={result.uppercase}\n label=\"Uppercase letter\"\n className={itemClassName}\n />\n <Item ok={result.number} label=\"Number\" className={itemClassName} />\n <Item ok={result.symbol} label=\"Symbol\" className={itemClassName} />\n </div>\n\n <StrengthBar strength={strength} className={strengthBarClassName} />\n <div className=\"text-sm font-medium capitalize text-gray-700\">\n Strength: {strength}\n </div>\n </div>\n );\n};\n"],"names":["REACT_ELEMENT_TYPE","REACT_FRAGMENT_TYPE","jsxProd","type","config","maybeKey","key","propName","reactJsxRuntime_production","getComponentNameFromType","REACT_CLIENT_REFERENCE","REACT_PROFILER_TYPE","REACT_STRICT_MODE_TYPE","REACT_SUSPENSE_TYPE","REACT_SUSPENSE_LIST_TYPE","REACT_ACTIVITY_TYPE","REACT_PORTAL_TYPE","REACT_CONTEXT_TYPE","REACT_CONSUMER_TYPE","REACT_FORWARD_REF_TYPE","innerType","REACT_MEMO_TYPE","REACT_LAZY_TYPE","testStringCoercion","value","checkKeyStringCoercion","JSCompiler_inline_result","JSCompiler_temp_const","JSCompiler_inline_result$jscomp$0","getTaskName","name","getOwner","dispatcher","ReactSharedInternals","UnknownOwner","hasValidKey","hasOwnProperty","getter","defineKeyPropWarningGetter","props","displayName","warnAboutAccessingKey","specialPropKeyWarningShown","elementRefGetterWithDeprecationWarning","componentName","didWarnAboutElementRef","ReactElement","owner","debugStack","debugTask","refProp","jsxDEVImpl","isStaticChildren","children","isArrayImpl","validateChildKeys","keys","k","didWarnAboutKeySpread","node","isValidElement","object","React","require$$0","createTask","callStackForError","unknownOwnerDebugStack","unknownOwnerDebugTask","reactJsxRuntime_development","trackActualOwner","jsxRuntimeModule","require$$1","reactCompilerRuntime_production","size","reactCompilerRuntime_development","compilerRuntimeModule","validatePassword","password","length","lowercase","test","uppercase","number","symbol","valid","usePasswordValidation","$","_c","t0","mergeClasses","classes","className","index","array","toKebabCase","string","toCamelCase","match","p1","p2","toPascalCase","camelCase","defaultAttributes","hasA11yProp","prop","Icon","forwardRef","color","strokeWidth","absoluteStrokeWidth","iconNode","rest","ref","createElement","tag","attrs","createLucideIcon","iconName","Component","__iconNode","Check","X","calculateStrength","score","Item","ok","label","t1","t2","undefined","t3","jsx","t4","t5","t6","jsxs","StrengthBar","strength","width","PasswordValidator","itemClassName","strengthBarClassName","result","t7","t8","t9","t10","t11","t12","t13","t14"],"mappings":";;;;;;AAWA,MAAIA,IAAqB,uBAAO,IAAI,4BAA4B,GAC9DC,IAAsB,uBAAO,IAAI,gBAAgB;AACnD,WAASC,EAAQC,GAAMC,GAAQC,GAAU;AACvC,QAAIC,IAAM;AAGV,QAFWD,MAAX,WAAwBC,IAAM,KAAKD,IACxBD,EAAO,QAAlB,WAA0BE,IAAM,KAAKF,EAAO,MACxC,SAASA,GAAQ;AACnB,MAAAC,IAAW,CAAA;AACX,eAASE,KAAYH;AACnB,QAAUG,MAAV,UAAuBF,EAASE,CAAQ,IAAIH,EAAOG,CAAQ;AAAA,IACjE,MAAS,CAAAF,IAAWD;AAClB,WAAAA,IAASC,EAAS,KACX;AAAA,MACL,UAAUL;AAAA,MACV,MAAMG;AAAA,MACN,KAAKG;AAAA,MACL,KAAgBF,MAAX,SAAoBA,IAAS;AAAA,MAClC,OAAOC;AAAA;EAEX;AACA,SAAAG,EAAA,WAAmBP,GACnBO,EAAA,MAAcN,GACdM,EAAA,OAAeN;;;;;sBCtBE,QAAQ,IAAI,aAA7B,iBACG,WAAY;AACX,aAASO,EAAyBN,GAAM;AACtC,UAAY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