@klarity-id/klarity-ui 0.1.7 → 0.1.9

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.
@@ -2882,7 +2882,7 @@ function _(...e) {
2882
2882
  return ts(Ga(e));
2883
2883
  }
2884
2884
  const ue = ({ children: e, className: t, variant: n = "md", weight: r = "regular" }) => {
2885
- const o = "text-white", a = {
2885
+ const o = "text-black", a = {
2886
2886
  bold: "font-bold",
2887
2887
  medium: "font-medium",
2888
2888
  semibold: "font-semibold",
@@ -2915,6 +2915,7 @@ const ue = ({ children: e, className: t, variant: n = "md", weight: r = "regular
2915
2915
  },
2916
2916
  size: {
2917
2917
  sm: "h-8 rounded-md px-3",
2918
+ md: "h-10 rounded-md px-4",
2918
2919
  lg: "h-11 rounded-md px-8",
2919
2920
  icon: "h-10 w-10"
2920
2921
  }
@@ -8333,7 +8334,7 @@ function q6(e, t) {
8333
8334
  }
8334
8335
  return String(e);
8335
8336
  }
8336
- var X6 = "[" + we + Ce + "]+", z6 = new RegExp("^" + X6 + "$", "i"), J6 = "(?:[" + D1 + "][" + we + Ce + "]*|[" + we + Ce + "]+)", Q6 = new RegExp("[^" + we + Ce + "]+.*$"), e8 = /[^\d\[\]]/, t8 = /* @__PURE__ */ (function() {
8337
+ var X6 = "[" + we + Ce + "]+", z6 = new RegExp("^" + X6 + "$", "i"), J6 = "(?:[" + D1 + "][" + we + Ce + "]*|[" + we + Ce + "]+)", Q6 = new RegExp("[^" + we + Ce + "]+.*$"), ed = /[^\d\[\]]/, td = /* @__PURE__ */ (function() {
8337
8338
  function e(t) {
8338
8339
  var n = t.defaultCountry, r = t.defaultCallingCode, o = t.metadata, a = t.onNationalSignificantNumberChange;
8339
8340
  W6(this, e), this.defaultCountry = n, this.defaultCallingCode = r, this.metadata = o, this.onNationalSignificantNumberChange = a;
@@ -8341,7 +8342,7 @@ var X6 = "[" + we + Ce + "]+", z6 = new RegExp("^" + X6 + "$", "i"), J6 = "(?:["
8341
8342
  return K6(e, [{
8342
8343
  key: "input",
8343
8344
  value: function(n, r) {
8344
- var o = o8(n), a = Ei(o, 2), i = a[0], s = a[1], d = x1(i), c;
8345
+ var o = od(n), a = Ei(o, 2), i = a[0], s = a[1], d = x1(i), c;
8345
8346
  return s && (r.digits || (r.startInternationalNumber(void 0, void 0), d || (c = !0))), d && this.inputDigits(d, r), {
8346
8347
  digits: d,
8347
8348
  justLeadingPlus: c
@@ -8388,7 +8389,7 @@ var X6 = "[" + we + Ce + "]+", z6 = new RegExp("^" + X6 + "$", "i"), J6 = "(?:["
8388
8389
  if (n) {
8389
8390
  this.hasSelectedNumberingPlan = !0;
8390
8391
  var r = n._nationalPrefixForParsing();
8391
- this.couldPossiblyExtractAnotherNationalSignificantNumber = r && e8.test(r);
8392
+ this.couldPossiblyExtractAnotherNationalSignificantNumber = r && ed.test(r);
8392
8393
  } else
8393
8394
  this.hasSelectedNumberingPlan = void 0, this.couldPossiblyExtractAnotherNationalSignificantNumber = void 0;
8394
8395
  }
@@ -8498,7 +8499,7 @@ var X6 = "[" + we + Ce + "]+", z6 = new RegExp("^" + X6 + "$", "i"), J6 = "(?:["
8498
8499
  }
8499
8500
  }]);
8500
8501
  })();
8501
- function n8(e) {
8502
+ function nd(e) {
8502
8503
  var t = e.search(J6);
8503
8504
  if (!(t < 0)) {
8504
8505
  e = e.slice(t);
@@ -8506,12 +8507,12 @@ function n8(e) {
8506
8507
  return e[0] === "+" && (n = !0, e = e.slice(1)), e = e.replace(Q6, ""), n && (e = "+" + e), e;
8507
8508
  }
8508
8509
  }
8509
- function r8(e) {
8510
- var t = n8(e) || "";
8510
+ function rd(e) {
8511
+ var t = nd(e) || "";
8511
8512
  return t[0] === "+" ? [t.slice(1), !0] : [t];
8512
8513
  }
8513
- function o8(e) {
8514
- var t = r8(e), n = Ei(t, 2), r = n[0], o = n[1];
8514
+ function od(e) {
8515
+ var t = rd(e), n = Ei(t, 2), r = n[0], o = n[1];
8515
8516
  return z6.test(r) || (r = ""), [r, o];
8516
8517
  }
8517
8518
  function Wt(e) {
@@ -8522,14 +8523,14 @@ function Wt(e) {
8522
8523
  return t && typeof Symbol == "function" && t.constructor === Symbol && t !== Symbol.prototype ? "symbol" : typeof t;
8523
8524
  }, Wt(e);
8524
8525
  }
8525
- function a8(e, t) {
8526
- return d8(e) || l8(e, t) || s8(e, t) || i8();
8526
+ function ad(e, t) {
8527
+ return dd(e) || ld(e, t) || sd(e, t) || id();
8527
8528
  }
8528
- function i8() {
8529
+ function id() {
8529
8530
  throw new TypeError(`Invalid attempt to destructure non-iterable instance.
8530
8531
  In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
8531
8532
  }
8532
- function s8(e, t) {
8533
+ function sd(e, t) {
8533
8534
  if (e) {
8534
8535
  if (typeof e == "string") return Qo(e, t);
8535
8536
  var n = {}.toString.call(e).slice(8, -1);
@@ -8541,7 +8542,7 @@ function Qo(e, t) {
8541
8542
  for (var n = 0, r = Array(t); n < t; n++) r[n] = e[n];
8542
8543
  return r;
8543
8544
  }
8544
- function l8(e, t) {
8545
+ function ld(e, t) {
8545
8546
  var n = e == null ? null : typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];
8546
8547
  if (n != null) {
8547
8548
  var r, o, a, i, s = [], d = !0, c = !1;
@@ -8559,26 +8560,26 @@ function l8(e, t) {
8559
8560
  return s;
8560
8561
  }
8561
8562
  }
8562
- function d8(e) {
8563
+ function dd(e) {
8563
8564
  if (Array.isArray(e)) return e;
8564
8565
  }
8565
- function c8(e, t) {
8566
+ function cd(e, t) {
8566
8567
  if (!(e instanceof t)) throw new TypeError("Cannot call a class as a function");
8567
8568
  }
8568
- function u8(e, t) {
8569
+ function ud(e, t) {
8569
8570
  for (var n = 0; n < t.length; n++) {
8570
8571
  var r = t[n];
8571
- r.enumerable = r.enumerable || !1, r.configurable = !0, "value" in r && (r.writable = !0), Object.defineProperty(e, p8(r.key), r);
8572
+ r.enumerable = r.enumerable || !1, r.configurable = !0, "value" in r && (r.writable = !0), Object.defineProperty(e, pd(r.key), r);
8572
8573
  }
8573
8574
  }
8574
- function f8(e, t, n) {
8575
- return t && u8(e.prototype, t), Object.defineProperty(e, "prototype", { writable: !1 }), e;
8575
+ function fd(e, t, n) {
8576
+ return t && ud(e.prototype, t), Object.defineProperty(e, "prototype", { writable: !1 }), e;
8576
8577
  }
8577
- function p8(e) {
8578
- var t = m8(e, "string");
8578
+ function pd(e) {
8579
+ var t = md(e, "string");
8579
8580
  return Wt(t) == "symbol" ? t : t + "";
8580
8581
  }
8581
- function m8(e, t) {
8582
+ function md(e, t) {
8582
8583
  if (Wt(e) != "object" || !e) return e;
8583
8584
  var n = e[Symbol.toPrimitive];
8584
8585
  if (n !== void 0) {
@@ -8590,11 +8591,11 @@ function m8(e, t) {
8590
8591
  }
8591
8592
  var Ot = /* @__PURE__ */ (function() {
8592
8593
  function e(t, n) {
8593
- c8(this, e), this.metadata = new fe(n);
8594
- var r = this.getCountryAndCallingCode(t), o = a8(r, 2), a = o[0], i = o[1];
8594
+ cd(this, e), this.metadata = new fe(n);
8595
+ var r = this.getCountryAndCallingCode(t), o = ad(r, 2), a = o[0], i = o[1];
8595
8596
  this.defaultCountry = a, this.defaultCallingCode = i, this.reset();
8596
8597
  }
8597
- return f8(e, [{
8598
+ return fd(e, [{
8598
8599
  key: "getCountryAndCallingCode",
8599
8600
  value: function(n) {
8600
8601
  var r, o;
@@ -8637,7 +8638,7 @@ var Ot = /* @__PURE__ */ (function() {
8637
8638
  }), this.formatter = new H6({
8638
8639
  state: this.state,
8639
8640
  metadata: this.metadata
8640
- }), this.parser = new t8({
8641
+ }), this.parser = new td({
8641
8642
  defaultCountry: this.defaultCountry,
8642
8643
  defaultCallingCode: this.defaultCallingCode,
8643
8644
  metadata: this.metadata,
@@ -8871,7 +8872,7 @@ var Ot = /* @__PURE__ */ (function() {
8871
8872
  function ea(e) {
8872
8873
  return new fe(e).getCountries();
8873
8874
  }
8874
- function C8(e, t, n) {
8875
+ function Cd(e, t, n) {
8875
8876
  return n || (n = t, t = void 0), new Ot(t, n).input(e);
8876
8877
  }
8877
8878
  function Oi(e) {
@@ -8881,7 +8882,7 @@ function Oi(e) {
8881
8882
  function Xn(e, t) {
8882
8883
  return t && (e = e.slice(t.length), e[0] === " " && (e = e.slice(1))), e;
8883
8884
  }
8884
- function h8(e, t, n) {
8885
+ function hd(e, t, n) {
8885
8886
  if (!(n && n.ignoreRest)) {
8886
8887
  var r = function(a) {
8887
8888
  if (n)
@@ -8897,17 +8898,17 @@ function h8(e, t, n) {
8897
8898
  function Ii(e) {
8898
8899
  var t = e.onKeyDown, n = e.inputFormat;
8899
8900
  return et(function(r) {
8900
- if (r.keyCode === y8 && n === "INTERNATIONAL" && r.target instanceof HTMLInputElement && g8(r.target) === v8.length) {
8901
+ if (r.keyCode === yd && n === "INTERNATIONAL" && r.target instanceof HTMLInputElement && gd(r.target) === vd.length) {
8901
8902
  r.preventDefault();
8902
8903
  return;
8903
8904
  }
8904
8905
  t && t(r);
8905
8906
  }, [t, n]);
8906
8907
  }
8907
- function g8(e) {
8908
+ function gd(e) {
8908
8909
  return e.selectionStart;
8909
8910
  }
8910
- var y8 = 8, v8 = "+", $8 = ["onKeyDown", "country", "inputFormat", "metadata", "international", "withCountryCallingCode"];
8911
+ var yd = 8, vd = "+", $d = ["onKeyDown", "country", "inputFormat", "metadata", "international", "withCountryCallingCode"];
8911
8912
  function zn() {
8912
8913
  return zn = Object.assign ? Object.assign.bind() : function(e) {
8913
8914
  for (var t = 1; t < arguments.length; t++) {
@@ -8918,9 +8919,9 @@ function zn() {
8918
8919
  return e;
8919
8920
  }, zn.apply(this, arguments);
8920
8921
  }
8921
- function b8(e, t) {
8922
+ function bd(e, t) {
8922
8923
  if (e == null) return {};
8923
- var n = w8(e, t), r, o;
8924
+ var n = wd(e, t), r, o;
8924
8925
  if (Object.getOwnPropertySymbols) {
8925
8926
  var a = Object.getOwnPropertySymbols(e);
8926
8927
  for (o = 0; o < a.length; o++)
@@ -8928,18 +8929,18 @@ function b8(e, t) {
8928
8929
  }
8929
8930
  return n;
8930
8931
  }
8931
- function w8(e, t) {
8932
+ function wd(e, t) {
8932
8933
  if (e == null) return {};
8933
8934
  var n = {}, r = Object.keys(e), o, a;
8934
8935
  for (a = 0; a < r.length; a++)
8935
8936
  o = r[a], !(t.indexOf(o) >= 0) && (n[o] = e[o]);
8936
8937
  return n;
8937
8938
  }
8938
- function x8(e) {
8939
+ function xd(e) {
8939
8940
  function t(n, r) {
8940
8941
  var o = n.onKeyDown, a = n.country, i = n.inputFormat, s = n.metadata, d = s === void 0 ? e : s;
8941
8942
  n.international, n.withCountryCallingCode;
8942
- var c = b8(n, $8), f = et(function(h) {
8943
+ var c = bd(n, $d), f = et(function(h) {
8943
8944
  var g = new Ot(a, d), y = Oi({
8944
8945
  inputFormat: i,
8945
8946
  country: a,
@@ -8955,7 +8956,7 @@ function x8(e) {
8955
8956
  });
8956
8957
  return /* @__PURE__ */ W.createElement(b1, zn({}, c, {
8957
8958
  ref: r,
8958
- parse: h8,
8959
+ parse: hd,
8959
8960
  format: f,
8960
8961
  onKeyDown: p
8961
8962
  }));
@@ -9001,8 +9002,8 @@ function x8(e) {
9001
9002
  metadata: k.object
9002
9003
  }, t;
9003
9004
  }
9004
- const S8 = x8();
9005
- var N8 = ["value", "onChange", "onKeyDown", "country", "inputFormat", "metadata", "inputComponent", "international", "withCountryCallingCode"];
9005
+ const Sd = xd();
9006
+ var Nd = ["value", "onChange", "onKeyDown", "country", "inputFormat", "metadata", "inputComponent", "international", "withCountryCallingCode"];
9006
9007
  function Jn() {
9007
9008
  return Jn = Object.assign ? Object.assign.bind() : function(e) {
9008
9009
  for (var t = 1; t < arguments.length; t++) {
@@ -9013,9 +9014,9 @@ function Jn() {
9013
9014
  return e;
9014
9015
  }, Jn.apply(this, arguments);
9015
9016
  }
9016
- function P8(e, t) {
9017
+ function Pd(e, t) {
9017
9018
  if (e == null) return {};
9018
- var n = E8(e, t), r, o;
9019
+ var n = Ed(e, t), r, o;
9019
9020
  if (Object.getOwnPropertySymbols) {
9020
9021
  var a = Object.getOwnPropertySymbols(e);
9021
9022
  for (o = 0; o < a.length; o++)
@@ -9023,18 +9024,18 @@ function P8(e, t) {
9023
9024
  }
9024
9025
  return n;
9025
9026
  }
9026
- function E8(e, t) {
9027
+ function Ed(e, t) {
9027
9028
  if (e == null) return {};
9028
9029
  var n = {}, r = Object.keys(e), o, a;
9029
9030
  for (a = 0; a < r.length; a++)
9030
9031
  o = r[a], !(t.indexOf(o) >= 0) && (n[o] = e[o]);
9031
9032
  return n;
9032
9033
  }
9033
- function O8(e) {
9034
+ function Od(e) {
9034
9035
  function t(n, r) {
9035
9036
  var o = n.value, a = n.onChange, i = n.onKeyDown, s = n.country, d = n.inputFormat, c = n.metadata, f = c === void 0 ? e : c, p = n.inputComponent, h = p === void 0 ? "input" : p;
9036
9037
  n.international, n.withCountryCallingCode;
9037
- var g = P8(n, N8), y = Oi({
9038
+ var g = Pd(n, Nd), y = Oi({
9038
9039
  inputFormat: d,
9039
9040
  country: s,
9040
9041
  metadata: f
@@ -9101,21 +9102,21 @@ function O8(e) {
9101
9102
  inputComponent: k.elementType
9102
9103
  }, t;
9103
9104
  }
9104
- const I8 = O8();
9105
+ const Id = Od();
9105
9106
  function ta(e, t, n, r) {
9106
- return Xn(C8(e + t, n, r), e);
9107
+ return Xn(Cd(e + t, n, r), e);
9107
9108
  }
9108
- function A8(e) {
9109
+ function Ad(e) {
9109
9110
  return na(e[0]) + na(e[1]);
9110
9111
  }
9111
9112
  function na(e) {
9112
9113
  return String.fromCodePoint(127397 + e.toUpperCase().charCodeAt(0));
9113
9114
  }
9114
- var k8 = ["value", "onChange", "options", "disabled", "readOnly"], R8 = ["value", "options", "className", "iconComponent", "getIconAspectRatio", "arrowComponent", "unicodeFlags"];
9115
- function _8(e, t) {
9115
+ var kd = ["value", "onChange", "options", "disabled", "readOnly"], Rd = ["value", "options", "className", "iconComponent", "getIconAspectRatio", "arrowComponent", "unicodeFlags"];
9116
+ function _d(e, t) {
9116
9117
  var n = typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];
9117
9118
  if (n) return (n = n.call(e)).next.bind(n);
9118
- if (Array.isArray(e) || (n = T8(e)) || t) {
9119
+ if (Array.isArray(e) || (n = Td(e)) || t) {
9119
9120
  n && (e = n);
9120
9121
  var r = 0;
9121
9122
  return function() {
@@ -9125,7 +9126,7 @@ function _8(e, t) {
9125
9126
  throw new TypeError(`Invalid attempt to iterate non-iterable instance.
9126
9127
  In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
9127
9128
  }
9128
- function T8(e, t) {
9129
+ function Td(e, t) {
9129
9130
  if (e) {
9130
9131
  if (typeof e == "string") return ra(e, t);
9131
9132
  var n = Object.prototype.toString.call(e).slice(8, -1);
@@ -9150,7 +9151,7 @@ function S1() {
9150
9151
  }
9151
9152
  function Ai(e, t) {
9152
9153
  if (e == null) return {};
9153
- var n = M8(e, t), r, o;
9154
+ var n = Md(e, t), r, o;
9154
9155
  if (Object.getOwnPropertySymbols) {
9155
9156
  var a = Object.getOwnPropertySymbols(e);
9156
9157
  for (o = 0; o < a.length; o++)
@@ -9158,7 +9159,7 @@ function Ai(e, t) {
9158
9159
  }
9159
9160
  return n;
9160
9161
  }
9161
- function M8(e, t) {
9162
+ function Md(e, t) {
9162
9163
  if (e == null) return {};
9163
9164
  var n = {}, r = Object.keys(e), o, a;
9164
9165
  for (a = 0; a < r.length; a++)
@@ -9166,7 +9167,7 @@ function M8(e, t) {
9166
9167
  return n;
9167
9168
  }
9168
9169
  function ki(e) {
9169
- var t = e.value, n = e.onChange, r = e.options, o = e.disabled, a = e.readOnly, i = Ai(e, k8), s = et(function(d) {
9170
+ var t = e.value, n = e.onChange, r = e.options, o = e.disabled, a = e.readOnly, i = Ai(e, kd), s = et(function(d) {
9170
9171
  var c = d.target.value;
9171
9172
  n(c === "ZZ" ? void 0 : c);
9172
9173
  }, [n]);
@@ -9183,7 +9184,7 @@ function ki(e) {
9183
9184
  key: p ? "|" : c || "ZZ",
9184
9185
  value: p ? "|" : c || "ZZ",
9185
9186
  disabled: !!p,
9186
- style: p ? L8 : void 0
9187
+ style: p ? Ld : void 0
9187
9188
  }, f);
9188
9189
  }));
9189
9190
  }
@@ -9212,7 +9213,7 @@ ki.propTypes = {
9212
9213
  disabled: k.bool,
9213
9214
  readOnly: k.bool
9214
9215
  };
9215
- var L8 = {
9216
+ var Ld = {
9216
9217
  fontSize: "1px",
9217
9218
  backgroundColor: "currentColor",
9218
9219
  color: "inherit"
@@ -9220,7 +9221,7 @@ var L8 = {
9220
9221
  function Ri(e) {
9221
9222
  var t = e.value, n = e.options, r = e.className, o = e.iconComponent;
9222
9223
  e.getIconAspectRatio;
9223
- var a = e.arrowComponent, i = a === void 0 ? F8 : a, s = e.unicodeFlags, d = Ai(e, R8), c = Ba(function() {
9224
+ var a = e.arrowComponent, i = a === void 0 ? Fd : a, s = e.unicodeFlags, d = Ai(e, Rd), c = Ba(function() {
9224
9225
  return _i(n, t);
9225
9226
  }, [n, t]);
9226
9227
  return /* @__PURE__ */ W.createElement("div", {
@@ -9231,7 +9232,7 @@ function Ri(e) {
9231
9232
  className: $1("PhoneInputCountrySelect", r)
9232
9233
  })), c && (s && t ? /* @__PURE__ */ W.createElement("div", {
9233
9234
  className: "PhoneInputCountryIconUnicode"
9234
- }, A8(t)) : /* @__PURE__ */ W.createElement(o, {
9235
+ }, Ad(t)) : /* @__PURE__ */ W.createElement(o, {
9235
9236
  "aria-hidden": !0,
9236
9237
  country: t,
9237
9238
  label: c.label,
@@ -9246,22 +9247,22 @@ Ri.propTypes = {
9246
9247
  // Set to `true` to render Unicode flag icons instead of SVG images.
9247
9248
  unicodeFlags: k.bool
9248
9249
  };
9249
- function F8() {
9250
+ function Fd() {
9250
9251
  return /* @__PURE__ */ W.createElement("div", {
9251
9252
  className: "PhoneInputCountrySelectArrow"
9252
9253
  });
9253
9254
  }
9254
9255
  function _i(e, t) {
9255
- for (var n = _8(e), r; !(r = n()).done; ) {
9256
+ for (var n = _d(e), r; !(r = n()).done; ) {
9256
9257
  var o = r.value;
9257
- if (!o.divider && D8(o.value, t))
9258
+ if (!o.divider && Dd(o.value, t))
9258
9259
  return o;
9259
9260
  }
9260
9261
  }
9261
- function D8(e, t) {
9262
+ function Dd(e, t) {
9262
9263
  return e == null ? t == null : e === t;
9263
9264
  }
9264
- var V8 = ["country", "countryName", "flags", "flagUrl"];
9265
+ var Vd = ["country", "countryName", "flags", "flagUrl"];
9265
9266
  function Qn() {
9266
9267
  return Qn = Object.assign ? Object.assign.bind() : function(e) {
9267
9268
  for (var t = 1; t < arguments.length; t++) {
@@ -9272,9 +9273,9 @@ function Qn() {
9272
9273
  return e;
9273
9274
  }, Qn.apply(this, arguments);
9274
9275
  }
9275
- function H8(e, t) {
9276
+ function Hd(e, t) {
9276
9277
  if (e == null) return {};
9277
- var n = j8(e, t), r, o;
9278
+ var n = jd(e, t), r, o;
9278
9279
  if (Object.getOwnPropertySymbols) {
9279
9280
  var a = Object.getOwnPropertySymbols(e);
9280
9281
  for (o = 0; o < a.length; o++)
@@ -9282,7 +9283,7 @@ function H8(e, t) {
9282
9283
  }
9283
9284
  return n;
9284
9285
  }
9285
- function j8(e, t) {
9286
+ function jd(e, t) {
9286
9287
  if (e == null) return {};
9287
9288
  var n = {}, r = Object.keys(e), o, a;
9288
9289
  for (a = 0; a < r.length; a++)
@@ -9290,7 +9291,7 @@ function j8(e, t) {
9290
9291
  return n;
9291
9292
  }
9292
9293
  function xr(e) {
9293
- var t = e.country, n = e.countryName, r = e.flags, o = e.flagUrl, a = H8(e, V8);
9294
+ var t = e.country, n = e.countryName, r = e.flags, o = e.flagUrl, a = Hd(e, Vd);
9294
9295
  return r && r[t] ? r[t]({
9295
9296
  title: n
9296
9297
  }) : /* @__PURE__ */ W.createElement("img", Qn({}, a, {
@@ -9317,7 +9318,7 @@ xr.propTypes = {
9317
9318
  // By default it points to `country-flag-icons` gitlab pages website.
9318
9319
  flagUrl: k.string.isRequired
9319
9320
  };
9320
- var B8 = ["aspectRatio"], U8 = ["title"], Z8 = ["title"];
9321
+ var Bd = ["aspectRatio"], Ud = ["title"], Zd = ["title"];
9321
9322
  function N1() {
9322
9323
  return N1 = Object.assign ? Object.assign.bind() : function(e) {
9323
9324
  for (var t = 1; t < arguments.length; t++) {
@@ -9330,7 +9331,7 @@ function N1() {
9330
9331
  }
9331
9332
  function Sr(e, t) {
9332
9333
  if (e == null) return {};
9333
- var n = W8(e, t), r, o;
9334
+ var n = Wd(e, t), r, o;
9334
9335
  if (Object.getOwnPropertySymbols) {
9335
9336
  var a = Object.getOwnPropertySymbols(e);
9336
9337
  for (o = 0; o < a.length; o++)
@@ -9338,7 +9339,7 @@ function Sr(e, t) {
9338
9339
  }
9339
9340
  return n;
9340
9341
  }
9341
- function W8(e, t) {
9342
+ function Wd(e, t) {
9342
9343
  if (e == null) return {};
9343
9344
  var n = {}, r = Object.keys(e), o, a;
9344
9345
  for (a = 0; a < r.length; a++)
@@ -9346,7 +9347,7 @@ function W8(e, t) {
9346
9347
  return n;
9347
9348
  }
9348
9349
  function V1(e) {
9349
- var t = e.aspectRatio, n = Sr(e, B8);
9350
+ var t = e.aspectRatio, n = Sr(e, Bd);
9350
9351
  return t === 1 ? /* @__PURE__ */ W.createElement(Mi, n) : /* @__PURE__ */ W.createElement(Ti, n);
9351
9352
  }
9352
9353
  V1.propTypes = {
@@ -9354,7 +9355,7 @@ V1.propTypes = {
9354
9355
  aspectRatio: k.number
9355
9356
  };
9356
9357
  function Ti(e) {
9357
- var t = e.title, n = Sr(e, U8);
9358
+ var t = e.title, n = Sr(e, Ud);
9358
9359
  return /* @__PURE__ */ W.createElement("svg", N1({}, n, {
9359
9360
  xmlns: "http://www.w3.org/2000/svg",
9360
9361
  viewBox: "0 0 75 50"
@@ -9396,7 +9397,7 @@ Ti.propTypes = {
9396
9397
  title: k.string.isRequired
9397
9398
  };
9398
9399
  function Mi(e) {
9399
- var t = e.title, n = Sr(e, Z8);
9400
+ var t = e.title, n = Sr(e, Zd);
9400
9401
  return /* @__PURE__ */ W.createElement("svg", N1({}, n, {
9401
9402
  xmlns: "http://www.w3.org/2000/svg",
9402
9403
  viewBox: "0 0 50 50"
@@ -9434,7 +9435,7 @@ function Mi(e) {
9434
9435
  Mi.propTypes = {
9435
9436
  title: k.string.isRequired
9436
9437
  };
9437
- function G8(e) {
9438
+ function Gd(e) {
9438
9439
  if (e.length < 2 || e[0] !== "+")
9439
9440
  return !1;
9440
9441
  for (var t = 1; t < e.length; ) {
@@ -9445,12 +9446,12 @@ function G8(e) {
9445
9446
  return !0;
9446
9447
  }
9447
9448
  function Li(e) {
9448
- G8(e) || console.error("[react-phone-number-input] Expected the initial `value` to be a E.164 phone number. Got", e);
9449
+ Gd(e) || console.error("[react-phone-number-input] Expected the initial `value` to be a E.164 phone number. Got", e);
9449
9450
  }
9450
- function K8(e, t) {
9451
+ function Kd(e, t) {
9451
9452
  var n = typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];
9452
9453
  if (n) return (n = n.call(e)).next.bind(n);
9453
- if (Array.isArray(e) || (n = Y8(e)) || t) {
9454
+ if (Array.isArray(e) || (n = Yd(e)) || t) {
9454
9455
  n && (e = n);
9455
9456
  var r = 0;
9456
9457
  return function() {
@@ -9460,7 +9461,7 @@ function K8(e, t) {
9460
9461
  throw new TypeError(`Invalid attempt to iterate non-iterable instance.
9461
9462
  In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
9462
9463
  }
9463
- function Y8(e, t) {
9464
+ function Yd(e, t) {
9464
9465
  if (e) {
9465
9466
  if (typeof e == "string") return oa(e, t);
9466
9467
  var n = Object.prototype.toString.call(e).slice(8, -1);
@@ -9473,7 +9474,7 @@ function oa(e, t) {
9473
9474
  for (var n = 0, r = new Array(t); n < t; n++) r[n] = e[n];
9474
9475
  return r;
9475
9476
  }
9476
- function q8(e, t) {
9477
+ function qd(e, t) {
9477
9478
  if (!t)
9478
9479
  return e;
9479
9480
  for (var n = [], r = [], o = n, a = function() {
@@ -9492,11 +9493,11 @@ function q8(e, t) {
9492
9493
  })[0]), h = e[p];
9493
9494
  e.splice(p, 1), o.push(h);
9494
9495
  }
9495
- }, i = K8(t), s; !(s = i()).done; )
9496
+ }, i = Kd(t), s; !(s = i()).done; )
9496
9497
  a();
9497
9498
  return n.concat(e).concat(r);
9498
9499
  }
9499
- function X8(e, t) {
9500
+ function Xd(e, t) {
9500
9501
  if (e && (e = e.filter(function(n) {
9501
9502
  switch (n) {
9502
9503
  case "🌐":
@@ -9518,7 +9519,7 @@ function Fi(e, t) {
9518
9519
  return H1(n, t);
9519
9520
  }), e.length === 0 && (e = void 0)), e;
9520
9521
  }
9521
- var z8 = ["country", "label", "aspectRatio"];
9522
+ var zd = ["country", "label", "aspectRatio"];
9522
9523
  function er() {
9523
9524
  return er = Object.assign ? Object.assign.bind() : function(e) {
9524
9525
  for (var t = 1; t < arguments.length; t++) {
@@ -9529,9 +9530,9 @@ function er() {
9529
9530
  return e;
9530
9531
  }, er.apply(this, arguments);
9531
9532
  }
9532
- function J8(e, t) {
9533
+ function Jd(e, t) {
9533
9534
  if (e == null) return {};
9534
- var n = Q8(e, t), r, o;
9535
+ var n = Qd(e, t), r, o;
9535
9536
  if (Object.getOwnPropertySymbols) {
9536
9537
  var a = Object.getOwnPropertySymbols(e);
9537
9538
  for (o = 0; o < a.length; o++)
@@ -9539,7 +9540,7 @@ function J8(e, t) {
9539
9540
  }
9540
9541
  return n;
9541
9542
  }
9542
- function Q8(e, t) {
9543
+ function Qd(e, t) {
9543
9544
  if (e == null) return {};
9544
9545
  var n = {}, r = Object.keys(e), o, a;
9545
9546
  for (a = 0; a < r.length; a++)
@@ -9549,7 +9550,7 @@ function Q8(e, t) {
9549
9550
  function Di(e) {
9550
9551
  var t = e.flags, n = e.flagUrl, r = e.flagComponent, o = e.internationalIcon;
9551
9552
  function a(i) {
9552
- var s = i.country, d = i.label, c = i.aspectRatio, f = J8(i, z8), p = o === V1 ? c : void 0;
9553
+ var s = i.country, d = i.label, c = i.aspectRatio, f = Jd(i, zd), p = o === V1 ? c : void 0;
9553
9554
  return /* @__PURE__ */ W.createElement("div", er({}, f, {
9554
9555
  className: $1("PhoneInputCountryIcon", {
9555
9556
  "PhoneInputCountryIcon--square": p === 1,
@@ -9579,10 +9580,10 @@ Di({
9579
9580
  flagComponent: xr,
9580
9581
  internationalIcon: V1
9581
9582
  });
9582
- function ed(e, t) {
9583
+ function e8(e, t) {
9583
9584
  var n = typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];
9584
9585
  if (n) return (n = n.call(e)).next.bind(n);
9585
- if (Array.isArray(e) || (n = td(e)) || t) {
9586
+ if (Array.isArray(e) || (n = t8(e)) || t) {
9586
9587
  n && (e = n);
9587
9588
  var r = 0;
9588
9589
  return function() {
@@ -9592,7 +9593,7 @@ function ed(e, t) {
9592
9593
  throw new TypeError(`Invalid attempt to iterate non-iterable instance.
9593
9594
  In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
9594
9595
  }
9595
- function td(e, t) {
9596
+ function t8(e, t) {
9596
9597
  if (e) {
9597
9598
  if (typeof e == "string") return aa(e, t);
9598
9599
  var n = Object.prototype.toString.call(e).slice(8, -1);
@@ -9605,13 +9606,13 @@ function aa(e, t) {
9605
9606
  for (var n = 0, r = new Array(t); n < t; n++) r[n] = e[n];
9606
9607
  return r;
9607
9608
  }
9608
- function nd(e, t) {
9609
- for (var n = ed(e), r; !(r = n()).done; ) {
9609
+ function n8(e, t) {
9610
+ for (var n = e8(e), r; !(r = n()).done; ) {
9610
9611
  var o = r.value;
9611
- o && rd(o, t);
9612
+ o && r8(o, t);
9612
9613
  }
9613
9614
  }
9614
- function rd(e, t) {
9615
+ function r8(e, t) {
9615
9616
  typeof e == "function" ? e(t) : e.current = t;
9616
9617
  }
9617
9618
  var Vi = k.shape({
@@ -9622,13 +9623,13 @@ function Te(e, t) {
9622
9623
  var n = "+" + Ye(e, t);
9623
9624
  return n;
9624
9625
  }
9625
- function od(e) {
9626
+ function o8(e) {
9626
9627
  var t = e.value, n = e.phoneNumber, r = e.defaultCountry, o = e.getAnyCountry, a = e.countries, i = e.required, s = e.metadata, d;
9627
9628
  return n && n.country ? d = n.country : r && (!t || ht(t, r, s)) && (d = r), a && a.indexOf(d) < 0 && (d = void 0), !d && i && a && a.length > 0 && (d = o()), d;
9628
9629
  }
9629
- function ad(e) {
9630
+ function a8(e) {
9630
9631
  var t = e.countries, n = e.countryNames, r = e.addInternationalOption, o = e.compareStringsLocales, a = e.compareStrings;
9631
- a || (a = fd);
9632
+ a || (a = f8);
9632
9633
  var i = t.map(function(s) {
9633
9634
  return {
9634
9635
  value: s,
@@ -9650,10 +9651,10 @@ function ad(e) {
9650
9651
  function ji(e, t) {
9651
9652
  return zl(e || "", t);
9652
9653
  }
9653
- function id(e) {
9654
+ function i8(e) {
9654
9655
  return e.formatNational().replace(/\D/g, "");
9655
9656
  }
9656
- function sd(e, t) {
9657
+ function s8(e, t) {
9657
9658
  var n = t.prevCountry, r = t.newCountry, o = t.metadata, a = t.useNationalFormat;
9658
9659
  if (n === r)
9659
9660
  return e;
@@ -9662,7 +9663,7 @@ function sd(e, t) {
9662
9663
  if (r) {
9663
9664
  if (e[0] === "+") {
9664
9665
  if (a)
9665
- return e.indexOf("+" + Ye(r, o)) === 0 ? pd(e, r, o) : "";
9666
+ return e.indexOf("+" + Ye(r, o)) === 0 ? p8(e, r, o) : "";
9666
9667
  if (n) {
9667
9668
  var i = Te(r, o);
9668
9669
  return e.indexOf(i) === 0 ? e : i;
@@ -9689,23 +9690,23 @@ function Ct(e, t, n) {
9689
9690
  }
9690
9691
  }
9691
9692
  }
9692
- function ld(e, t, n) {
9693
+ function l8(e, t, n) {
9693
9694
  var r = Ui(e, t, n);
9694
9695
  if (r) {
9695
- var o = r.length - dd(t, n);
9696
+ var o = r.length - d8(t, n);
9696
9697
  if (o > 0)
9697
9698
  return e.slice(0, e.length - o);
9698
9699
  }
9699
9700
  return e;
9700
9701
  }
9701
- function dd(e, t) {
9702
+ function d8(e, t) {
9702
9703
  return t = new fe(t), t.selectNumberingPlan(e), t.numberingPlan.possibleLengths()[t.numberingPlan.possibleLengths().length - 1];
9703
9704
  }
9704
9705
  function Bi(e, t) {
9705
9706
  var n = t.country, r = t.countries, o = t.defaultCountry, a = t.latestCountrySelectedByUser, i = t.required, s = t.metadata;
9706
9707
  if (e === "+")
9707
9708
  return n;
9708
- var d = ud(e, s);
9709
+ var d = u8(e, s);
9709
9710
  if (d)
9710
9711
  return !r || r.indexOf(d) >= 0 ? d : void 0;
9711
9712
  if (n) {
@@ -9721,7 +9722,7 @@ function Bi(e, t) {
9721
9722
  }
9722
9723
  return n;
9723
9724
  }
9724
- function cd(e, t) {
9725
+ function c8(e, t) {
9725
9726
  var n = t.prevPhoneDigits, r = t.country, o = t.defaultCountry, a = t.latestCountrySelectedByUser, i = t.countryRequired, s = t.getAnyCountry, d = t.countries, c = t.international, f = t.limitMaxLength, p = t.countryCallingCodeEditable, h = t.metadata;
9726
9727
  if (c && p === !1 && r) {
9727
9728
  var g = Te(r, h);
@@ -9734,7 +9735,7 @@ function cd(e, t) {
9734
9735
  };
9735
9736
  }
9736
9737
  }
9737
- c === !1 && r && e && e[0] === "+" && (e = ia(e, r, h)), e && r && f && (e = ld(e, r, h)), e && e[0] !== "+" && (!r || c) && (e = "+" + e), !e && n && n[0] === "+" && (c ? r = void 0 : r = o), e === "+" && n && n[0] === "+" && n.length > 1 && (r = void 0);
9738
+ c === !1 && r && e && e[0] === "+" && (e = ia(e, r, h)), e && r && f && (e = l8(e, r, h)), e && e[0] !== "+" && (!r || c) && (e = "+" + e), !e && n && n[0] === "+" && (c ? r = void 0 : r = o), e === "+" && n && n[0] === "+" && n.length > 1 && (r = void 0);
9738
9739
  var C;
9739
9740
  return e && (e[0] === "+" && (e === "+" || r && Te(r, h).indexOf(e) === 0) ? C = void 0 : C = Ct(e, r, h)), C && (r = Bi(C, {
9740
9741
  country: r,
@@ -9763,14 +9764,14 @@ function ia(e, t, n) {
9763
9764
  } else
9764
9765
  return e.replace(/\D/g, "");
9765
9766
  }
9766
- function ud(e, t) {
9767
+ function u8(e, t) {
9767
9768
  var n = new Ot(null, t);
9768
9769
  return n.input(e), n.getCountry();
9769
9770
  }
9770
- function fd(e, t, n) {
9771
+ function f8(e, t, n) {
9771
9772
  return String.prototype.localeCompare ? e.localeCompare(t, n) : e < t ? -1 : e > t ? 1 : 0;
9772
9773
  }
9773
- function pd(e, t, n) {
9774
+ function p8(e, t, n) {
9774
9775
  if (t) {
9775
9776
  var r = "+" + Ye(t, n);
9776
9777
  if (e.length < r.length) {
@@ -9802,7 +9803,7 @@ function ht(e, t, n) {
9802
9803
  }
9803
9804
  function Zi(e) {
9804
9805
  var t = e.value, n = e.phoneNumber, r = e.defaultCountry, o = e.international, a = e.useNationalFormat, i = e.metadata;
9805
- return (o === !1 || a) && n && n.country ? id(n) : !t && o && r ? Te(r, i) : t;
9806
+ return (o === !1 || a) && n && n.country ? i8(n) : !t && o && r ? Te(r, i) : t;
9806
9807
  }
9807
9808
  function Gt(e) {
9808
9809
  "@babel/helpers - typeof";
@@ -9826,21 +9827,21 @@ function s1(e) {
9826
9827
  for (var t = 1; t < arguments.length; t++) {
9827
9828
  var n = arguments[t] != null ? arguments[t] : {};
9828
9829
  t % 2 ? sa(Object(n), !0).forEach(function(r) {
9829
- md(e, r, n[r]);
9830
+ m8(e, r, n[r]);
9830
9831
  }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : sa(Object(n)).forEach(function(r) {
9831
9832
  Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(n, r));
9832
9833
  });
9833
9834
  }
9834
9835
  return e;
9835
9836
  }
9836
- function md(e, t, n) {
9837
- return t = Cd(t), t in e ? Object.defineProperty(e, t, { value: n, enumerable: !0, configurable: !0, writable: !0 }) : e[t] = n, e;
9837
+ function m8(e, t, n) {
9838
+ return t = C8(t), t in e ? Object.defineProperty(e, t, { value: n, enumerable: !0, configurable: !0, writable: !0 }) : e[t] = n, e;
9838
9839
  }
9839
- function Cd(e) {
9840
- var t = hd(e, "string");
9840
+ function C8(e) {
9841
+ var t = h8(e, "string");
9841
9842
  return Gt(t) == "symbol" ? t : t + "";
9842
9843
  }
9843
- function hd(e, t) {
9844
+ function h8(e, t) {
9844
9845
  if (Gt(e) != "object" || !e) return e;
9845
9846
  var n = e[Symbol.toPrimitive];
9846
9847
  if (n !== void 0) {
@@ -9850,7 +9851,7 @@ function hd(e, t) {
9850
9851
  }
9851
9852
  return (t === "string" ? String : Number)(e);
9852
9853
  }
9853
- function gd(e, t, n) {
9854
+ function g8(e, t, n) {
9854
9855
  var r = e.metadata, o = e.countries, a = e.defaultCountry, i = e.value, s = e.reset, d = e.international, c = e.displayInitialValueAsLocalNumber, f = e.initialValueFormat, p = t.defaultCountry, h = t.value, g = t.reset;
9855
9856
  n.country;
9856
9857
  var y = n.value, m = n.hasUserSelectedACountry, C = n.latestCountrySelectedByUser, v = function(X) {
@@ -9937,7 +9938,7 @@ function gd(e, t, n) {
9937
9938
  function la(e, t) {
9938
9939
  return e === null && (e = void 0), t === null && (t = void 0), e === t;
9939
9940
  }
9940
- var yd = ["name", "disabled", "readOnly", "autoComplete", "style", "className", "inputRef", "inputComponent", "numberInputProps", "smartCaret", "countrySelectComponent", "countrySelectProps", "containerComponent", "containerComponentProps", "defaultCountry", "countries", "countryOptionsOrder", "labels", "flags", "flagComponent", "flagUrl", "addInternationalOption", "internationalIcon", "displayInitialValueAsLocalNumber", "initialValueFormat", "onCountryChange", "limitMaxLength", "countryCallingCodeEditable", "focusInputOnCountrySelection", "reset", "metadata", "international", "locales"];
9941
+ var y8 = ["name", "disabled", "readOnly", "autoComplete", "style", "className", "inputRef", "inputComponent", "numberInputProps", "smartCaret", "countrySelectComponent", "countrySelectProps", "containerComponent", "containerComponentProps", "defaultCountry", "countries", "countryOptionsOrder", "labels", "flags", "flagComponent", "flagUrl", "addInternationalOption", "internationalIcon", "displayInitialValueAsLocalNumber", "initialValueFormat", "onCountryChange", "limitMaxLength", "countryCallingCodeEditable", "focusInputOnCountrySelection", "reset", "metadata", "international", "locales"];
9941
9942
  function wt(e) {
9942
9943
  "@babel/helpers - typeof";
9943
9944
  return wt = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(t) {
@@ -9977,9 +9978,9 @@ function gt() {
9977
9978
  return e;
9978
9979
  }, gt.apply(this, arguments);
9979
9980
  }
9980
- function vd(e, t) {
9981
+ function v8(e, t) {
9981
9982
  if (e == null) return {};
9982
- var n = $d(e, t), r, o;
9983
+ var n = $8(e, t), r, o;
9983
9984
  if (Object.getOwnPropertySymbols) {
9984
9985
  var a = Object.getOwnPropertySymbols(e);
9985
9986
  for (o = 0; o < a.length; o++)
@@ -9987,14 +9988,14 @@ function vd(e, t) {
9987
9988
  }
9988
9989
  return n;
9989
9990
  }
9990
- function $d(e, t) {
9991
+ function $8(e, t) {
9991
9992
  if (e == null) return {};
9992
9993
  var n = {}, r = Object.keys(e), o, a;
9993
9994
  for (a = 0; a < r.length; a++)
9994
9995
  o = r[a], !(t.indexOf(o) >= 0) && (n[o] = e[o]);
9995
9996
  return n;
9996
9997
  }
9997
- function bd(e, t) {
9998
+ function b8(e, t) {
9998
9999
  if (!(e instanceof t))
9999
10000
  throw new TypeError("Cannot call a class as a function");
10000
10001
  }
@@ -10004,20 +10005,20 @@ function ca(e, t) {
10004
10005
  r.enumerable = r.enumerable || !1, r.configurable = !0, "value" in r && (r.writable = !0), Object.defineProperty(e, Ki(r.key), r);
10005
10006
  }
10006
10007
  }
10007
- function wd(e, t, n) {
10008
+ function w8(e, t, n) {
10008
10009
  return t && ca(e.prototype, t), n && ca(e, n), Object.defineProperty(e, "prototype", { writable: !1 }), e;
10009
10010
  }
10010
- function xd(e, t, n) {
10011
- return t = P1(t), Sd(e, Gi() ? Reflect.construct(t, n || [], P1(e).constructor) : t.apply(e, n));
10011
+ function x8(e, t, n) {
10012
+ return t = P1(t), S8(e, Gi() ? Reflect.construct(t, n || [], P1(e).constructor) : t.apply(e, n));
10012
10013
  }
10013
- function Sd(e, t) {
10014
+ function S8(e, t) {
10014
10015
  if (t && (wt(t) === "object" || typeof t == "function"))
10015
10016
  return t;
10016
10017
  if (t !== void 0)
10017
10018
  throw new TypeError("Derived constructors may only return object or undefined");
10018
- return Nd(e);
10019
+ return N8(e);
10019
10020
  }
10020
- function Nd(e) {
10021
+ function N8(e) {
10021
10022
  if (e === void 0)
10022
10023
  throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
10023
10024
  return e;
@@ -10037,7 +10038,7 @@ function P1(e) {
10037
10038
  return n.__proto__ || Object.getPrototypeOf(n);
10038
10039
  }, P1(e);
10039
10040
  }
10040
- function Pd(e, t) {
10041
+ function P8(e, t) {
10041
10042
  if (typeof t != "function" && t !== null)
10042
10043
  throw new TypeError("Super expression must either be null or a function");
10043
10044
  e.prototype = Object.create(t && t.prototype, { constructor: { value: e, writable: !0, configurable: !0 } }), Object.defineProperty(e, "prototype", { writable: !1 }), t && tr(e, t);
@@ -10051,10 +10052,10 @@ function ve(e, t, n) {
10051
10052
  return t = Ki(t), t in e ? Object.defineProperty(e, t, { value: n, enumerable: !0, configurable: !0, writable: !0 }) : e[t] = n, e;
10052
10053
  }
10053
10054
  function Ki(e) {
10054
- var t = Ed(e, "string");
10055
+ var t = E8(e, "string");
10055
10056
  return wt(t) == "symbol" ? t : t + "";
10056
10057
  }
10057
- function Ed(e, t) {
10058
+ function E8(e, t) {
10058
10059
  if (wt(e) != "object" || !e) return e;
10059
10060
  var n = e[Symbol.toPrimitive];
10060
10061
  if (n !== void 0) {
@@ -10064,16 +10065,16 @@ function Ed(e, t) {
10064
10065
  }
10065
10066
  return (t === "string" ? String : Number)(e);
10066
10067
  }
10067
- var Od = /* @__PURE__ */ (function(e) {
10068
+ var O8 = /* @__PURE__ */ (function(e) {
10068
10069
  function t(n) {
10069
10070
  var r;
10070
- bd(this, t), r = xd(this, t, [n]), ve(r, "setInputRef", function(C) {
10071
- nd([r.props.inputRef, r.inputRef], C);
10071
+ b8(this, t), r = x8(this, t, [n]), ve(r, "setInputRef", function(C) {
10072
+ n8([r.props.inputRef, r.inputRef], C);
10072
10073
  }), ve(r, "isCountrySupportedWithError", function(C) {
10073
10074
  var v = r.props.metadata;
10074
10075
  return H1(C, v);
10075
10076
  }), ve(r, "onCountryChange", function(C) {
10076
- var v = r.props, b = v.international, w = v.metadata, x = v.onChange, $ = v.focusInputOnCountrySelection, R = r.state, O = R.phoneDigits, N = R.country, j = sd(O, {
10077
+ var v = r.props, b = v.international, w = v.metadata, x = v.onChange, $ = v.focusInputOnCountrySelection, R = r.state, O = R.phoneDigits, N = R.country, j = s8(O, {
10077
10078
  prevCountry: N,
10078
10079
  newCountry: C,
10079
10080
  metadata: w,
@@ -10091,7 +10092,7 @@ var Od = /* @__PURE__ */ (function(e) {
10091
10092
  x(Z);
10092
10093
  });
10093
10094
  }), ve(r, "onChange", function(C) {
10094
- var v = r.props, b = v.defaultCountry, w = v.onChange, x = v.addInternationalOption, $ = v.international, R = v.limitMaxLength, O = v.countryCallingCodeEditable, N = v.metadata, j = r.state, Z = j.countries, X = j.phoneDigits, ae = j.country, te = j.latestCountrySelectedByUser, q = cd(C, {
10095
+ var v = r.props, b = v.defaultCountry, w = v.onChange, x = v.addInternationalOption, $ = v.international, R = v.limitMaxLength, O = v.countryCallingCodeEditable, N = v.metadata, j = r.state, Z = j.countries, X = j.phoneDigits, ae = j.country, te = j.latestCountrySelectedByUser, q = c8(C, {
10095
10096
  prevPhoneDigits: X,
10096
10097
  country: ae,
10097
10098
  countryRequired: !x,
@@ -10158,7 +10159,7 @@ var Od = /* @__PURE__ */ (function(e) {
10158
10159
  h && (r.isCountrySupportedWithError(h) || (h = void 0)), a && Li(a), g = Fi(g, f);
10159
10160
  var y = ji(a, f);
10160
10161
  r.CountryIcon = Di(r.props);
10161
- var m = od({
10162
+ var m = o8({
10162
10163
  value: a,
10163
10164
  phoneNumber: y,
10164
10165
  defaultCountry: h,
@@ -10211,7 +10212,7 @@ var Od = /* @__PURE__ */ (function(e) {
10211
10212
  value: a
10212
10213
  }, r;
10213
10214
  }
10214
- return Pd(t, e), wd(t, [{
10215
+ return P8(t, e), w8(t, [{
10215
10216
  key: "componentDidMount",
10216
10217
  value: function() {
10217
10218
  var r = this.props.onCountryChange, o = this.props.defaultCountry, a = this.state.country;
@@ -10228,19 +10229,19 @@ var Od = /* @__PURE__ */ (function(e) {
10228
10229
  value: function(r) {
10229
10230
  var o = r.countries, a = this.props, i = a.international, s = a.countryCallingCodeEditable, d = a.countryOptionsOrder, c = a.addInternationalOption, f = a.labels, p = a.locales, h = a.metadata;
10230
10231
  return this.useMemoCountrySelectOptions(function() {
10231
- return q8(ad({
10232
+ return qd(a8({
10232
10233
  countries: o || ea(h),
10233
10234
  countryNames: f,
10234
10235
  addInternationalOption: i && s === !1 ? !1 : c,
10235
10236
  compareStringsLocales: p
10236
10237
  // compareStrings
10237
- }), X8(d, h));
10238
+ }), Xd(d, h));
10238
10239
  }, [o, d, c, f, h]);
10239
10240
  }
10240
10241
  }, {
10241
10242
  key: "useMemoCountrySelectOptions",
10242
10243
  value: function(r, o) {
10243
- return (!this.countrySelectOptionsMemoDependencies || !Ad(o, this.countrySelectOptionsMemoDependencies)) && (this.countrySelectOptionsMemo = r(), this.countrySelectOptionsMemoDependencies = o), this.countrySelectOptionsMemo;
10244
+ return (!this.countrySelectOptionsMemoDependencies || !A8(o, this.countrySelectOptionsMemoDependencies)) && (this.countrySelectOptionsMemo = r(), this.countrySelectOptionsMemoDependencies = o), this.countrySelectOptionsMemo;
10244
10245
  }
10245
10246
  }, {
10246
10247
  key: "getFirstSupportedCountry",
@@ -10261,7 +10262,7 @@ var Od = /* @__PURE__ */ (function(e) {
10261
10262
  r.flags, r.flagComponent, r.flagUrl, r.addInternationalOption, r.internationalIcon, r.displayInitialValueAsLocalNumber, r.initialValueFormat, r.onCountryChange, r.limitMaxLength, r.countryCallingCodeEditable, r.focusInputOnCountrySelection, r.reset;
10262
10263
  var b = r.metadata, w = r.international;
10263
10264
  r.locales;
10264
- var x = vd(r, yd), $ = this.state, R = $.country, O = $.countries, N = $.phoneDigits, j = $.isFocused, Z = h ? S8 : I8, X = this.getCountrySelectOptions({
10265
+ var x = v8(r, y8), $ = this.state, R = $.country, O = $.countries, N = $.phoneDigits, j = $.isFocused, Z = h ? Sd : Id, X = this.getCountrySelectOptions({
10265
10266
  countries: O
10266
10267
  });
10267
10268
  return /* @__PURE__ */ W.createElement(m, gt({
@@ -10316,12 +10317,12 @@ var Od = /* @__PURE__ */ (function(e) {
10316
10317
  return Wi({
10317
10318
  // Emulate `prevProps` via `state.props`.
10318
10319
  props: r
10319
- }, gd(r, o.props, o));
10320
+ }, g8(r, o.props, o));
10320
10321
  }
10321
10322
  )
10322
10323
  }]);
10323
10324
  })(W.PureComponent), Yi = /* @__PURE__ */ W.forwardRef(function(e, t) {
10324
- return /* @__PURE__ */ W.createElement(Od, gt({}, Id(e), {
10325
+ return /* @__PURE__ */ W.createElement(O8, gt({}, I8(e), {
10325
10326
  inputRef: t
10326
10327
  }));
10327
10328
  });
@@ -10732,13 +10733,13 @@ var ua = {
10732
10733
  */
10733
10734
  focusInputOnCountrySelection: !0
10734
10735
  };
10735
- function Id(e) {
10736
+ function I8(e) {
10736
10737
  e = Wi({}, e);
10737
10738
  for (var t in ua)
10738
10739
  e[t] === void 0 && (e[t] = ua[t]);
10739
10740
  return e;
10740
10741
  }
10741
- function Ad(e, t) {
10742
+ function A8(e, t) {
10742
10743
  if (e.length !== t.length)
10743
10744
  return !1;
10744
10745
  for (var n = 0; n < e.length; ) {
@@ -10748,7 +10749,7 @@ function Ad(e, t) {
10748
10749
  }
10749
10750
  return !0;
10750
10751
  }
10751
- const kd = {
10752
+ const k8 = {
10752
10753
  ext: "ext.",
10753
10754
  country: "Phone number country",
10754
10755
  phone: "Phone",
@@ -11008,7 +11009,7 @@ const kd = {
11008
11009
  ZW: "Zimbabwe",
11009
11010
  ZZ: "International"
11010
11011
  };
11011
- var Rd = ["metadata", "labels"];
11012
+ var R8 = ["metadata", "labels"];
11012
11013
  function nr() {
11013
11014
  return nr = Object.assign ? Object.assign.bind() : function(e) {
11014
11015
  for (var t = 1; t < arguments.length; t++) {
@@ -11019,9 +11020,9 @@ function nr() {
11019
11020
  return e;
11020
11021
  }, nr.apply(this, arguments);
11021
11022
  }
11022
- function _d(e, t) {
11023
+ function _8(e, t) {
11023
11024
  if (e == null) return {};
11024
- var n = Td(e, t), r, o;
11025
+ var n = T8(e, t), r, o;
11025
11026
  if (Object.getOwnPropertySymbols) {
11026
11027
  var a = Object.getOwnPropertySymbols(e);
11027
11028
  for (o = 0; o < a.length; o++)
@@ -11029,7 +11030,7 @@ function _d(e, t) {
11029
11030
  }
11030
11031
  return n;
11031
11032
  }
11032
- function Td(e, t) {
11033
+ function T8(e, t) {
11033
11034
  if (e == null) return {};
11034
11035
  var n = {}, r = Object.keys(e), o, a;
11035
11036
  for (a = 0; a < r.length; a++)
@@ -11038,7 +11039,7 @@ function Td(e, t) {
11038
11039
  }
11039
11040
  function qi(e) {
11040
11041
  var t = /* @__PURE__ */ W.forwardRef(function(n, r) {
11041
- var o = n.metadata, a = o === void 0 ? e : o, i = n.labels, s = i === void 0 ? kd : i, d = _d(n, Rd);
11042
+ var o = n.metadata, a = o === void 0 ? e : o, i = n.labels, s = i === void 0 ? k8 : i, d = _8(n, R8);
11042
11043
  return /* @__PURE__ */ W.createElement(Yi, nr({}, d, {
11043
11044
  ref: r,
11044
11045
  metadata: a,
@@ -11051,7 +11052,7 @@ function qi(e) {
11051
11052
  }, t;
11052
11053
  }
11053
11054
  qi();
11054
- const Md = qi(fs), Ld = u.forwardRef(
11055
+ const M8 = qi(fs), L8 = u.forwardRef(
11055
11056
  ({
11056
11057
  label: e,
11057
11058
  value: t,
@@ -11077,7 +11078,7 @@ const Md = qi(fs), Ld = u.forwardRef(
11077
11078
  }
11078
11079
  ) }) }),
11079
11080
  /* @__PURE__ */ l("div", { className: "relative", children: /* @__PURE__ */ l(
11080
- Md,
11081
+ M8,
11081
11082
  {
11082
11083
  international: !0,
11083
11084
  defaultCountry: r,
@@ -11125,8 +11126,8 @@ const Md = qi(fs), Ld = u.forwardRef(
11125
11126
  ] });
11126
11127
  }
11127
11128
  );
11128
- Ld.displayName = "PhoneInput";
11129
- var Fd = [
11129
+ L8.displayName = "PhoneInput";
11130
+ var F8 = [
11130
11131
  "a",
11131
11132
  "button",
11132
11133
  "div",
@@ -11144,14 +11145,14 @@ var Fd = [
11144
11145
  "span",
11145
11146
  "svg",
11146
11147
  "ul"
11147
- ], Dd = Fd.reduce((e, t) => {
11148
+ ], D8 = F8.reduce((e, t) => {
11148
11149
  const n = /* @__PURE__ */ Cr(`Primitive.${t}`), r = u.forwardRef((o, a) => {
11149
11150
  const { asChild: i, ...s } = o, d = i ? n : t;
11150
11151
  return typeof window < "u" && (window[Symbol.for("radix-ui")] = !0), /* @__PURE__ */ l(d, { ...s, ref: a });
11151
11152
  });
11152
11153
  return r.displayName = `Primitive.${t}`, { ...e, [t]: r };
11153
- }, {}), Vd = "Label", Xi = u.forwardRef((e, t) => /* @__PURE__ */ l(
11154
- Dd.label,
11154
+ }, {}), V8 = "Label", Xi = u.forwardRef((e, t) => /* @__PURE__ */ l(
11155
+ D8.label,
11155
11156
  {
11156
11157
  ...e,
11157
11158
  ref: t,
@@ -11160,20 +11161,20 @@ var Fd = [
11160
11161
  }
11161
11162
  }
11162
11163
  ));
11163
- Xi.displayName = Vd;
11164
+ Xi.displayName = V8;
11164
11165
  var zi = Xi;
11165
- const Hd = Nt(
11166
+ const H8 = Nt(
11166
11167
  "text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70"
11167
- ), jd = u.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ l(
11168
+ ), j8 = u.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ l(
11168
11169
  zi,
11169
11170
  {
11170
11171
  ref: n,
11171
- className: _(Hd(), e),
11172
+ className: _(H8(), e),
11172
11173
  ...t
11173
11174
  }
11174
11175
  ));
11175
- jd.displayName = zi.displayName;
11176
- function Bd(e, t) {
11176
+ j8.displayName = zi.displayName;
11177
+ function B8(e, t) {
11177
11178
  const n = u.createContext(t), r = (a) => {
11178
11179
  const { children: i, ...s } = a, d = u.useMemo(() => s, Object.values(s));
11179
11180
  return /* @__PURE__ */ l(n.Provider, { value: d, children: i });
@@ -11215,9 +11216,9 @@ function Ne(e, t = []) {
11215
11216
  );
11216
11217
  };
11217
11218
  };
11218
- return o.scopeName = e, [r, Ud(o, ...t)];
11219
+ return o.scopeName = e, [r, U8(o, ...t)];
11219
11220
  }
11220
- function Ud(...e) {
11221
+ function U8(...e) {
11221
11222
  const t = e[0];
11222
11223
  if (e.length === 1) return t;
11223
11224
  const n = () => {
@@ -11242,7 +11243,7 @@ function ee(e, t, { checkForDefaultPrevented: n = !0 } = {}) {
11242
11243
  };
11243
11244
  }
11244
11245
  var me = globalThis?.document ? u.useLayoutEffect : () => {
11245
- }, Zd = u[" useInsertionEffect ".trim().toString()] || me;
11246
+ }, Z8 = u[" useInsertionEffect ".trim().toString()] || me;
11246
11247
  function Ze({
11247
11248
  prop: e,
11248
11249
  defaultProp: t,
@@ -11250,7 +11251,7 @@ function Ze({
11250
11251
  },
11251
11252
  caller: r
11252
11253
  }) {
11253
- const [o, a, i] = Wd({
11254
+ const [o, a, i] = W8({
11254
11255
  defaultProp: t,
11255
11256
  onChange: n
11256
11257
  }), s = e !== void 0, d = s ? e : o;
@@ -11266,7 +11267,7 @@ function Ze({
11266
11267
  const c = u.useCallback(
11267
11268
  (f) => {
11268
11269
  if (s) {
11269
- const p = Gd(f) ? f(e) : f;
11270
+ const p = G8(f) ? f(e) : f;
11270
11271
  p !== e && i.current?.(p);
11271
11272
  } else
11272
11273
  a(f);
@@ -11275,18 +11276,18 @@ function Ze({
11275
11276
  );
11276
11277
  return [d, c];
11277
11278
  }
11278
- function Wd({
11279
+ function W8({
11279
11280
  defaultProp: e,
11280
11281
  onChange: t
11281
11282
  }) {
11282
11283
  const [n, r] = u.useState(e), o = u.useRef(n), a = u.useRef(t);
11283
- return Zd(() => {
11284
+ return Z8(() => {
11284
11285
  a.current = t;
11285
11286
  }, [t]), u.useEffect(() => {
11286
11287
  o.current !== n && (a.current?.(n), o.current = n);
11287
11288
  }, [n, o]), [n, r, a];
11288
11289
  }
11289
- function Gd(e) {
11290
+ function G8(e) {
11290
11291
  return typeof e == "function";
11291
11292
  }
11292
11293
  function j1(e) {
@@ -11315,16 +11316,16 @@ function B1(e) {
11315
11316
  n(void 0);
11316
11317
  }, [e]), t;
11317
11318
  }
11318
- function Kd(e, t) {
11319
+ function K8(e, t) {
11319
11320
  return u.useReducer((n, r) => t[n][r] ?? n, e);
11320
11321
  }
11321
11322
  var qe = (e) => {
11322
- const { present: t, children: n } = e, r = Yd(t), o = typeof n == "function" ? n({ present: r.isPresent }) : u.Children.only(n), a = se(r.ref, qd(o));
11323
+ const { present: t, children: n } = e, r = Y8(t), o = typeof n == "function" ? n({ present: r.isPresent }) : u.Children.only(n), a = se(r.ref, q8(o));
11323
11324
  return typeof n == "function" || r.isPresent ? u.cloneElement(o, { ref: a }) : null;
11324
11325
  };
11325
11326
  qe.displayName = "Presence";
11326
- function Yd(e) {
11327
- const [t, n] = u.useState(), r = u.useRef(null), o = u.useRef(e), a = u.useRef("none"), i = e ? "mounted" : "unmounted", [s, d] = Kd(i, {
11327
+ function Y8(e) {
11328
+ const [t, n] = u.useState(), r = u.useRef(null), o = u.useRef(e), a = u.useRef("none"), i = e ? "mounted" : "unmounted", [s, d] = K8(i, {
11328
11329
  mounted: {
11329
11330
  UNMOUNT: "unmounted",
11330
11331
  ANIMATION_OUT: "unmountSuspended"
@@ -11375,14 +11376,14 @@ function Yd(e) {
11375
11376
  function l1(e) {
11376
11377
  return e?.animationName || "none";
11377
11378
  }
11378
- function qd(e) {
11379
+ function q8(e) {
11379
11380
  let t = Object.getOwnPropertyDescriptor(e.props, "ref")?.get, n = t && "isReactWarning" in t && t.isReactWarning;
11380
11381
  return n ? e.ref : (t = Object.getOwnPropertyDescriptor(e, "ref")?.get, n = t && "isReactWarning" in t && t.isReactWarning, n ? e.props.ref : e.props.ref || e.ref);
11381
11382
  }
11382
11383
  // @__NO_SIDE_EFFECTS__
11383
- function Xd(e) {
11384
- const t = /* @__PURE__ */ zd(e), n = u.forwardRef((r, o) => {
11385
- const { children: a, ...i } = r, s = u.Children.toArray(a), d = s.find(Qd);
11384
+ function X8(e) {
11385
+ const t = /* @__PURE__ */ z8(e), n = u.forwardRef((r, o) => {
11386
+ const { children: a, ...i } = r, s = u.Children.toArray(a), d = s.find(Q8);
11386
11387
  if (d) {
11387
11388
  const c = d.props.children, f = s.map((p) => p === d ? u.Children.count(c) > 1 ? u.Children.only(null) : u.isValidElement(c) ? c.props.children : null : p);
11388
11389
  return /* @__PURE__ */ l(t, { ...i, ref: o, children: u.isValidElement(c) ? u.cloneElement(c, void 0, f) : null });
@@ -11392,7 +11393,7 @@ function Xd(e) {
11392
11393
  return n.displayName = `${e}.Slot`, n;
11393
11394
  }
11394
11395
  // @__NO_SIDE_EFFECTS__
11395
- function zd(e) {
11396
+ function z8(e) {
11396
11397
  const t = u.forwardRef((n, r) => {
11397
11398
  const { children: o, ...a } = n;
11398
11399
  if (u.isValidElement(o)) {
@@ -11403,9 +11404,9 @@ function zd(e) {
11403
11404
  });
11404
11405
  return t.displayName = `${e}.SlotClone`, t;
11405
11406
  }
11406
- var Jd = Symbol("radix.slottable");
11407
- function Qd(e) {
11408
- return u.isValidElement(e) && typeof e.type == "function" && "__radixId" in e.type && e.type.__radixId === Jd;
11407
+ var J8 = Symbol("radix.slottable");
11408
+ function Q8(e) {
11409
+ return u.isValidElement(e) && typeof e.type == "function" && "__radixId" in e.type && e.type.__radixId === J8;
11409
11410
  }
11410
11411
  function e4(e, t) {
11411
11412
  const n = { ...t };
@@ -11441,7 +11442,7 @@ var n4 = [
11441
11442
  "svg",
11442
11443
  "ul"
11443
11444
  ], oe = n4.reduce((e, t) => {
11444
- const n = /* @__PURE__ */ Xd(`Primitive.${t}`), r = u.forwardRef((o, a) => {
11445
+ const n = /* @__PURE__ */ X8(`Primitive.${t}`), r = u.forwardRef((o, a) => {
11445
11446
  const { asChild: i, ...s } = o, d = i ? n : t;
11446
11447
  return typeof window < "u" && (window[Symbol.for("radix-ui")] = !0), /* @__PURE__ */ l(d, { ...s, ref: a });
11447
11448
  });
@@ -16555,7 +16556,7 @@ k5.displayName = A5;
16555
16556
  function qr(e) {
16556
16557
  return e ? "open" : "closed";
16557
16558
  }
16558
- var R5 = "DialogTitleWarning", [op, _5] = Bd(R5, {
16559
+ var R5 = "DialogTitleWarning", [op, _5] = B8(R5, {
16559
16560
  contentName: it,
16560
16561
  titleName: Yr,
16561
16562
  docsSlug: "dialog"
@@ -17339,6 +17340,27 @@ const Wp = Nt(
17339
17340
  }
17340
17341
  );
17341
17342
  Gp.displayName = "Filter";
17343
+ const wC = ({ children: e, className: t, variant: n = "h1", weight: r = "regular" }) => {
17344
+ const o = "text-gray-900", a = {
17345
+ h1: "text-[64px] leading-[76px]",
17346
+ h2: "text-[48px] leading-[56px]",
17347
+ h3: "text-[40px] leading-[48px]",
17348
+ h4: "text-[32px] leading-[40px]",
17349
+ h5: "text-[24px] leading-[32px]",
17350
+ h6: "text-[20px] leading-[24px]"
17351
+ }, i = {
17352
+ bold: "font-bold",
17353
+ semibold: "font-semibold",
17354
+ medium: "font-medium",
17355
+ regular: "font-normal"
17356
+ };
17357
+ return /* @__PURE__ */ l(n, { className: _(o, a[n], i[r], t), children: e });
17358
+ }, xC = ({ children: e, className: t, weight: n = "regular" }) => /* @__PURE__ */ l("p", { className: _("text-gray-900 text-[10px] leading-[16px]", {
17359
+ bold: "font-bold",
17360
+ medium: "font-medium",
17361
+ semibold: "font-semibold",
17362
+ regular: "font-normal"
17363
+ }[n], t), children: e });
17342
17364
  export {
17343
17365
  bC as Accordion,
17344
17366
  $C as AccordionItem,
@@ -17370,6 +17392,7 @@ export {
17370
17392
  wm as CalendarMonthIcon,
17371
17393
  is as CancelFilledIcon,
17372
17394
  ym as CancelIcon,
17395
+ xC as Caption,
17373
17396
  a2 as Checkbox,
17374
17397
  v4 as CheckboxField,
17375
17398
  vm as ChevronBackIcon,
@@ -17416,6 +17439,7 @@ export {
17416
17439
  km as GridViewIcon,
17417
17440
  Wm as GroupsFilledIcon,
17418
17441
  Zm as GroupsIcon,
17442
+ wC as Heading,
17419
17443
  dm as HomeFilledIcon,
17420
17444
  lm as HomeIcon,
17421
17445
  Gm as ImageIcon,
@@ -17426,15 +17450,16 @@ export {
17426
17450
  im as InsertChartIcon,
17427
17451
  ai as KeyboardArrowDownIcon,
17428
17452
  bm as KeyboardArrowUpIcon,
17429
- jd as Label,
17453
+ j8 as Label,
17430
17454
  Im as MailFilledIcon,
17431
17455
  Om as MailIcon,
17432
17456
  eC as MoreHorizontalIcon,
17433
17457
  tC as MoreVerticalIcon,
17434
17458
  Up as MultiSelectField,
17459
+ ue as Paragraph,
17435
17460
  Hm as PersonFilledIcon,
17436
17461
  Vm as PersonIcon,
17437
- Ld as PhoneInput,
17462
+ L8 as PhoneInput,
17438
17463
  oC as Popover,
17439
17464
  Pu as PopoverContent,
17440
17465
  aC as PopoverTrigger,