@activecollab/components 2.0.98 → 2.0.100

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.
Files changed (41) hide show
  1. package/dist/cjs/components/Input/InputPhone.js +151 -0
  2. package/dist/cjs/components/Input/InputPhone.js.map +1 -0
  3. package/dist/cjs/components/Input/{InputSelectTrigger.js → InputSelect.js} +16 -7
  4. package/dist/cjs/components/Input/InputSelect.js.map +1 -0
  5. package/dist/cjs/components/Input/InputUrl.js +2 -2
  6. package/dist/cjs/components/Input/InputUrl.js.map +1 -1
  7. package/dist/cjs/components/Input/Styles.js +24 -1
  8. package/dist/cjs/components/Input/Styles.js.map +1 -1
  9. package/dist/cjs/components/Input/index.js +11 -0
  10. package/dist/cjs/components/Input/index.js.map +1 -1
  11. package/dist/cjs/components/Select/Select.js.map +1 -1
  12. package/dist/esm/components/Input/InputPhone.d.ts +14 -0
  13. package/dist/esm/components/Input/InputPhone.d.ts.map +1 -0
  14. package/dist/esm/components/Input/InputPhone.js +128 -0
  15. package/dist/esm/components/Input/InputPhone.js.map +1 -0
  16. package/dist/esm/components/Input/InputSelect.d.ts +19 -0
  17. package/dist/esm/components/Input/InputSelect.d.ts.map +1 -0
  18. package/dist/esm/components/Input/{InputSelectTrigger.js → InputSelect.js} +13 -7
  19. package/dist/esm/components/Input/InputSelect.js.map +1 -0
  20. package/dist/esm/components/Input/InputUrl.js +1 -1
  21. package/dist/esm/components/Input/InputUrl.js.map +1 -1
  22. package/dist/esm/components/Input/Styles.d.ts +6 -0
  23. package/dist/esm/components/Input/Styles.d.ts.map +1 -1
  24. package/dist/esm/components/Input/Styles.js +25 -0
  25. package/dist/esm/components/Input/Styles.js.map +1 -1
  26. package/dist/esm/components/Input/index.d.ts +1 -0
  27. package/dist/esm/components/Input/index.d.ts.map +1 -1
  28. package/dist/esm/components/Input/index.js +1 -0
  29. package/dist/esm/components/Input/index.js.map +1 -1
  30. package/dist/esm/components/Select/Select.d.ts +1 -2
  31. package/dist/esm/components/Select/Select.d.ts.map +1 -1
  32. package/dist/esm/components/Select/Select.js.map +1 -1
  33. package/dist/index.js +273 -111
  34. package/dist/index.js.map +1 -1
  35. package/dist/index.min.js +1 -1
  36. package/dist/index.min.js.map +1 -1
  37. package/package.json +2 -1
  38. package/dist/cjs/components/Input/InputSelectTrigger.js.map +0 -1
  39. package/dist/esm/components/Input/InputSelectTrigger.d.ts +0 -11
  40. package/dist/esm/components/Input/InputSelectTrigger.d.ts.map +0 -1
  41. package/dist/esm/components/Input/InputSelectTrigger.js.map +0 -1
package/dist/index.js CHANGED
@@ -199,7 +199,7 @@
199
199
  })(["display:inline-flex;svg{margin:0 4px;}"]);
200
200
  StyledButtonElement.displayName = "StyledButtonElement";
201
201
 
202
- var _excluded$1u = ["children", "active", "variant", "size", "className"];
202
+ var _excluded$1v = ["children", "active", "variant", "size", "className"];
203
203
  /**
204
204
  * @component Button
205
205
  * @description
@@ -229,7 +229,7 @@
229
229
  _ref$size = _ref.size,
230
230
  size = _ref$size === void 0 ? "medium" : _ref$size,
231
231
  className = _ref.className,
232
- args = _objectWithoutProperties(_ref, _excluded$1u);
232
+ args = _objectWithoutProperties(_ref, _excluded$1v);
233
233
  return /*#__PURE__*/React__default["default"].createElement(StyledButton$2, _extends({
234
234
  className: classNames__default["default"]("c-btn", className, {
235
235
  "c-btn--contained": variant === "primary" || variant === "contained",
@@ -303,12 +303,12 @@
303
303
  AddCrossTinyIcon.displayName = "AddCrossTinyIcon";
304
304
  var AddCrossTinyIcon$1 = AddCrossTinyIcon;
305
305
 
306
- var _excluded$1t = ["className", "disabled"];
306
+ var _excluded$1u = ["className", "disabled"];
307
307
  var GlobalAddButton = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
308
308
  var className = _ref.className,
309
309
  _ref$disabled = _ref.disabled,
310
310
  disabled = _ref$disabled === void 0 ? false : _ref$disabled,
311
- rest = _objectWithoutProperties(_ref, _excluded$1t);
311
+ rest = _objectWithoutProperties(_ref, _excluded$1u);
312
312
  return /*#__PURE__*/React__default["default"].createElement(StyledGlobalAddButton, _extends({
313
313
  ref: ref,
314
314
  variant: "contained",
@@ -340,11 +340,11 @@
340
340
  });
341
341
  StyledButtonGroup$1.displayName = "StyledButtonGroup";
342
342
 
343
- var _excluded$1s = ["children", "className"];
343
+ var _excluded$1t = ["children", "className"];
344
344
  var ButtonGroup = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
345
345
  var children = _ref.children,
346
346
  className = _ref.className,
347
- rest = _objectWithoutProperties(_ref, _excluded$1s);
347
+ rest = _objectWithoutProperties(_ref, _excluded$1t);
348
348
  return /*#__PURE__*/React__default["default"].createElement(StyledButtonGroup$1, _extends({
349
349
  ref: ref,
350
350
  className: classNames__default["default"]("c-btn-group", className)
@@ -368,11 +368,11 @@
368
368
  })(["border-top:1px solid var(--border-primary);margin:12px 16px;height:1px;"]);
369
369
  StyledListSeparator.displayName = "StyledListSeparator";
370
370
 
371
- var _excluded$1r = ["children", "className"];
371
+ var _excluded$1s = ["children", "className"];
372
372
  var ListItem = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
373
373
  var children = _ref.children,
374
374
  className = _ref.className,
375
- props = _objectWithoutProperties(_ref, _excluded$1r);
375
+ props = _objectWithoutProperties(_ref, _excluded$1s);
376
376
  return /*#__PURE__*/React__default["default"].createElement(StyledListItem, _extends({
377
377
  className: classNames__default["default"]("c-list-item", className),
378
378
  ref: ref,
@@ -381,21 +381,21 @@
381
381
  });
382
382
  ListItem.displayName = "ListItem";
383
383
 
384
- var _excluded$1q = ["className"];
384
+ var _excluded$1r = ["className"];
385
385
  var ListSeparator = function ListSeparator(_ref) {
386
386
  var className = _ref.className,
387
- props = _objectWithoutProperties(_ref, _excluded$1q);
387
+ props = _objectWithoutProperties(_ref, _excluded$1r);
388
388
  return /*#__PURE__*/React__default["default"].createElement(StyledListSeparator, _extends({
389
389
  className: classNames__default["default"]("c-list-separator", className)
390
390
  }, props));
391
391
  };
392
392
  ListSeparator.displayName = "ListSeparator";
393
393
 
394
- var _excluded$1p = ["children", "className"];
394
+ var _excluded$1q = ["children", "className"];
395
395
  var _List = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
396
396
  var children = _ref.children,
397
397
  className = _ref.className,
398
- props = _objectWithoutProperties(_ref, _excluded$1p);
398
+ props = _objectWithoutProperties(_ref, _excluded$1q);
399
399
  return /*#__PURE__*/React__default["default"].createElement(StyledList, _extends({
400
400
  className: className,
401
401
  ref: ref,
@@ -807,7 +807,7 @@
807
807
  return size === "big" && styled.css(["width:40px;"]);
808
808
  });
809
809
 
810
- var _excluded$1o = ["children", "className", "variant", "size", "active"];
810
+ var _excluded$1p = ["children", "className", "variant", "size", "active"];
811
811
 
812
812
  // eslint-disable-next-line @typescript-eslint/no-empty-interface
813
813
 
@@ -837,7 +837,7 @@
837
837
  variant = _ref.variant,
838
838
  size = _ref.size,
839
839
  active = _ref.active,
840
- args = _objectWithoutProperties(_ref, _excluded$1o);
840
+ args = _objectWithoutProperties(_ref, _excluded$1p);
841
841
  return /*#__PURE__*/React__default["default"].createElement(StyledIconButton, _extends({
842
842
  className: className,
843
843
  variant: variant,
@@ -7629,7 +7629,7 @@
7629
7629
  }, FontStyle, BoxSizingStyle);
7630
7630
  StyledBubble.displayName = "StyledBubble";
7631
7631
 
7632
- var _excluded$1n = ["children", "className", "innerRef", "style"];
7632
+ var _excluded$1o = ["children", "className", "innerRef", "style"];
7633
7633
  var Bubble = function Bubble(_ref) {
7634
7634
  var children = _ref.children,
7635
7635
  className = _ref.className,
@@ -7637,7 +7637,7 @@
7637
7637
  innerRef = _ref$innerRef === void 0 ? null : _ref$innerRef,
7638
7638
  _ref$style = _ref.style,
7639
7639
  style = _ref$style === void 0 ? {} : _ref$style,
7640
- rest = _objectWithoutProperties(_ref, _excluded$1n);
7640
+ rest = _objectWithoutProperties(_ref, _excluded$1o);
7641
7641
  return /*#__PURE__*/React__default["default"].createElement(StyledBubble, _extends({}, rest, {
7642
7642
  ref: innerRef,
7643
7643
  className: classNames__default["default"]("c-bubble", className),
@@ -7698,12 +7698,12 @@
7698
7698
  });
7699
7699
  StyledOverlay.displayName = "StyledOverlay";
7700
7700
 
7701
- var _excluded$1m = ["className", "disableBackgroundColor"];
7701
+ var _excluded$1n = ["className", "disableBackgroundColor"];
7702
7702
  var Overlay = function Overlay(_ref) {
7703
7703
  var className = _ref.className,
7704
7704
  _ref$disableBackgroun = _ref.disableBackgroundColor,
7705
7705
  disableBackgroundColor = _ref$disableBackgroun === void 0 ? false : _ref$disableBackgroun,
7706
- rest = _objectWithoutProperties(_ref, _excluded$1m);
7706
+ rest = _objectWithoutProperties(_ref, _excluded$1n);
7707
7707
  return /*#__PURE__*/React__default["default"].createElement(StyledOverlay, _extends({
7708
7708
  className: classNames__default["default"]("c-overlay", className),
7709
7709
  $disableBackgroundColor: disableBackgroundColor
@@ -7716,7 +7716,7 @@
7716
7716
  componentId: "sc-1hgjasy-0"
7717
7717
  })(["&[data-popper-reference-hidden]{display:none !important;pointer-events:none !important;}"]);
7718
7718
 
7719
- var _excluded$1l = ["children", "anchorEl", "open", "style", "transition", "placement", "strategy", "afterWrite"];
7719
+ var _excluded$1m = ["children", "anchorEl", "open", "style", "transition", "placement", "strategy", "afterWrite"];
7720
7720
  var Popper = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
7721
7721
  var children = _ref.children,
7722
7722
  anchorEl = _ref.anchorEl,
@@ -7730,7 +7730,7 @@
7730
7730
  _ref$strategy = _ref.strategy,
7731
7731
  strategy = _ref$strategy === void 0 ? "absolute" : _ref$strategy,
7732
7732
  afterWrite = _ref.afterWrite,
7733
- rest = _objectWithoutProperties(_ref, _excluded$1l);
7733
+ rest = _objectWithoutProperties(_ref, _excluded$1m);
7734
7734
  var _useState = React.useState(true),
7735
7735
  _useState2 = _slicedToArray(_useState, 2),
7736
7736
  exited = _useState2[0],
@@ -7877,7 +7877,7 @@
7877
7877
  };
7878
7878
  var LayerContext$1 = LayerContext;
7879
7879
 
7880
- var _excluded$1k = ["children", "onClose", "className", "style", "onKeyDown", "disableFocusLock", "disableScrollLock", "disableCloseOnEsc", "onClick"];
7880
+ var _excluded$1l = ["children", "onClose", "className", "style", "onKeyDown", "disableFocusLock", "disableScrollLock", "disableCloseOnEsc", "onClick"];
7881
7881
  var returnFocus = {
7882
7882
  preventScroll: true
7883
7883
  };
@@ -7894,7 +7894,7 @@
7894
7894
  _ref$disableCloseOnEs = _ref.disableCloseOnEsc,
7895
7895
  disableCloseOnEsc = _ref$disableCloseOnEs === void 0 ? false : _ref$disableCloseOnEs,
7896
7896
  onClick = _ref.onClick,
7897
- rest = _objectWithoutProperties(_ref, _excluded$1k);
7897
+ rest = _objectWithoutProperties(_ref, _excluded$1l);
7898
7898
  var innerRef = React.useRef(null);
7899
7899
  var handleRef = useForkRef(innerRef, ref);
7900
7900
  var _useLayerContext = useLayerContext(),
@@ -8205,7 +8205,7 @@
8205
8205
  });
8206
8206
  StyledTypography.displayName = "StyledTypography";
8207
8207
 
8208
- var _excluded$1j = ["variant", "as", "color", "italic", "tabularNums", "letterSpacing", "lineHeight", "align", "decoration", "transform", "overflow", "whitespace", "wordBreak", "weight", "className", "children"];
8208
+ var _excluded$1k = ["variant", "as", "color", "italic", "tabularNums", "letterSpacing", "lineHeight", "align", "decoration", "transform", "overflow", "whitespace", "wordBreak", "weight", "className", "children"];
8209
8209
  var Typography = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
8210
8210
  var _ref$variant = _ref.variant,
8211
8211
  variant = _ref$variant === void 0 ? "Title 1" : _ref$variant,
@@ -8236,7 +8236,7 @@
8236
8236
  weight = _ref$weight === void 0 ? "regular" : _ref$weight,
8237
8237
  className = _ref.className,
8238
8238
  children = _ref.children,
8239
- props = _objectWithoutProperties(_ref, _excluded$1j);
8239
+ props = _objectWithoutProperties(_ref, _excluded$1k);
8240
8240
  var Component = as || "div";
8241
8241
  return /*#__PURE__*/React__default["default"].createElement(StyledTypography, _extends({
8242
8242
  as: Component,
@@ -8259,13 +8259,13 @@
8259
8259
  });
8260
8260
  Typography.displayName = "Typography";
8261
8261
 
8262
- var _excluded$1i = ["title", "className", "leftElement", "rightElement"];
8262
+ var _excluded$1j = ["title", "className", "leftElement", "rightElement"];
8263
8263
  var MenuHeader = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
8264
8264
  var title = _ref.title,
8265
8265
  className = _ref.className,
8266
8266
  leftElement = _ref.leftElement,
8267
8267
  rightElement = _ref.rightElement,
8268
- props = _objectWithoutProperties(_ref, _excluded$1i);
8268
+ props = _objectWithoutProperties(_ref, _excluded$1j);
8269
8269
  return /*#__PURE__*/React__default["default"].createElement(StyledMenuHeader, _extends({}, props, {
8270
8270
  className: classNames__default["default"]("c-menu-header", className),
8271
8271
  ref: ref
@@ -8290,11 +8290,11 @@
8290
8290
  });
8291
8291
  MenuHeader.displayName = "MenuHeader";
8292
8292
 
8293
- var _excluded$1h = ["children", "className"];
8293
+ var _excluded$1i = ["children", "className"];
8294
8294
  var MenuFooter = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
8295
8295
  var children = _ref.children,
8296
8296
  className = _ref.className,
8297
- props = _objectWithoutProperties(_ref, _excluded$1h);
8297
+ props = _objectWithoutProperties(_ref, _excluded$1i);
8298
8298
  return /*#__PURE__*/React__default["default"].createElement(StyledMenuFooter$1, _extends({}, props, {
8299
8299
  className: classNames__default["default"]("c-menu-footer", className),
8300
8300
  ref: ref
@@ -8302,14 +8302,14 @@
8302
8302
  });
8303
8303
  MenuFooter.displayName = "MenuFooter";
8304
8304
 
8305
- var _excluded$1g = ["children", "className", "separator"];
8305
+ var _excluded$1h = ["children", "className", "separator"];
8306
8306
  var Breadcrumbs = /*#__PURE__*/React__default["default"].forwardRef(function (_ref, ref) {
8307
8307
  var _dimensions$width, _childDimensions$widt;
8308
8308
  var children = _ref.children,
8309
8309
  className = _ref.className,
8310
8310
  _ref$separator = _ref.separator,
8311
8311
  separator = _ref$separator === void 0 ? "/" : _ref$separator,
8312
- rest = _objectWithoutProperties(_ref, _excluded$1g);
8312
+ rest = _objectWithoutProperties(_ref, _excluded$1h);
8313
8313
  var internalRef = React.useRef(null);
8314
8314
  var listWrapperRef = React.useRef(null);
8315
8315
  var olRef = React.useRef(null);
@@ -8487,12 +8487,12 @@
8487
8487
  }, value && value > 100 ? 99 + "+" : value);
8488
8488
  };
8489
8489
 
8490
- var _excluded$1f = ["weight", "children"];
8490
+ var _excluded$1g = ["weight", "children"];
8491
8491
  var Body2 = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
8492
8492
  var _ref$weight = _ref.weight,
8493
8493
  weight = _ref$weight === void 0 ? "regular" : _ref$weight,
8494
8494
  children = _ref.children,
8495
- props = _objectWithoutProperties(_ref, _excluded$1f);
8495
+ props = _objectWithoutProperties(_ref, _excluded$1g);
8496
8496
  return /*#__PURE__*/React__default["default"].createElement(Typography, _extends({
8497
8497
  variant: "Body 2",
8498
8498
  weight: weight,
@@ -8600,10 +8600,10 @@
8600
8600
  };
8601
8601
  FromElement.displayName = "FromElement";
8602
8602
 
8603
- var _excluded$1e = ["children"];
8603
+ var _excluded$1f = ["children"];
8604
8604
  var TooltipAnimation = function TooltipAnimation(_ref) {
8605
8605
  var children = _ref.children,
8606
- props = _objectWithoutProperties(_ref, _excluded$1e);
8606
+ props = _objectWithoutProperties(_ref, _excluded$1f);
8607
8607
  return /*#__PURE__*/React__default["default"].createElement(FromElement, _extends({
8608
8608
  timeout: 0
8609
8609
  }, props), children);
@@ -8678,7 +8678,7 @@
8678
8678
  });
8679
8679
  Tooltip.displayName = "Tooltip";
8680
8680
 
8681
- var _excluded$1d = ["label", "icon", "active", "counter", "tooltipText", "onClearAll", "className", "labelClassName", "disabled"];
8681
+ var _excluded$1e = ["label", "icon", "active", "counter", "tooltipText", "onClearAll", "className", "labelClassName", "disabled"];
8682
8682
  var CounterButton = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
8683
8683
  var label = _ref.label,
8684
8684
  icon = _ref.icon,
@@ -8691,7 +8691,7 @@
8691
8691
  labelClassName = _ref.labelClassName,
8692
8692
  _ref$disabled = _ref.disabled,
8693
8693
  disabled = _ref$disabled === void 0 ? false : _ref$disabled,
8694
- args = _objectWithoutProperties(_ref, _excluded$1d);
8694
+ args = _objectWithoutProperties(_ref, _excluded$1e);
8695
8695
  return /*#__PURE__*/React__default["default"].createElement(StyledCounterButtonWrapper, {
8696
8696
  ref: ref,
8697
8697
  className: className
@@ -9086,7 +9086,7 @@
9086
9086
  };
9087
9087
  YearMonthPicker.displayName = "YearMonthPicker";
9088
9088
 
9089
- var _excluded$1c = ["className", "onChange", "onDayClick", "selectedDays", "disabledDays", "selectionMode", "month", "onMonthChange", "dateRequired", "firstDayOfWeek", "fixedWeeks", "modifiers", "renderDay"];
9089
+ var _excluded$1d = ["className", "onChange", "onDayClick", "selectedDays", "disabledDays", "selectionMode", "month", "onMonthChange", "dateRequired", "firstDayOfWeek", "fixedWeeks", "modifiers", "renderDay"];
9090
9090
  var formatWeekdayName = function formatWeekdayName(str) {
9091
9091
  return moment__default["default"](str).format("ddd").charAt(0);
9092
9092
  };
@@ -9112,7 +9112,7 @@
9112
9112
  fixedWeeks = _ref$fixedWeeks === void 0 ? true : _ref$fixedWeeks,
9113
9113
  defaultModifiers = _ref.modifiers,
9114
9114
  renderDay = _ref.renderDay,
9115
- rest = _objectWithoutProperties(_ref, _excluded$1c);
9115
+ rest = _objectWithoutProperties(_ref, _excluded$1d);
9116
9116
  var _useState = React.useState(),
9117
9117
  _useState2 = _slicedToArray(_useState, 2),
9118
9118
  enteredTo = _useState2[0],
@@ -9944,10 +9944,10 @@
9944
9944
  componentId: "sc-1n0a2yl-0"
9945
9945
  })(["width:70%;background:linear-gradient( 90deg,rgba(255,255,255,0) 20%,rgba(0,0,0,0.05) 50%,rgba(255,255,255,0) 60% );background-size:400%;height:16px;border-radius:8px;.neon &{background:linear-gradient( 90deg,rgba(255,255,255,0) 20%,rgba(0,0,0,0.2) 50%,rgba(255,255,255,0) 60% );background-size:500%;}animation-duration:1s;animation-iteration-count:infinite;animation-name:", ";animation-timing-function:linear;animation-direction:reverse;"], linearAnimation);
9946
9946
 
9947
- var _excluded$1b = ["className"];
9947
+ var _excluded$1c = ["className"];
9948
9948
  var SkeletonLoader = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
9949
9949
  var className = _ref.className,
9950
- rest = _objectWithoutProperties(_ref, _excluded$1b);
9950
+ rest = _objectWithoutProperties(_ref, _excluded$1c);
9951
9951
  return /*#__PURE__*/React__default["default"].createElement(StyledSkeletonLoader, _extends({
9952
9952
  ref: ref,
9953
9953
  className: classNames__default["default"]("c-loader c-loader--linear", className)
@@ -9961,10 +9961,10 @@
9961
9961
  componentId: "sc-1f35d5h-0"
9962
9962
  })(["display:inline-block;text-align:center;& > span{display:inline-block;width:18px;height:18px;background-color:#777;border-radius:100%;animation:", " 1.4s infinite ease-in-out both;}span:nth-child(1){animation-delay:-0.32s;}span:nth-child(2){animation-delay:-0.16s;}"], dotAnimation);
9963
9963
 
9964
- var _excluded$1a = ["className"];
9964
+ var _excluded$1b = ["className"];
9965
9965
  var DotsLoader = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
9966
9966
  var className = _ref.className,
9967
- rest = _objectWithoutProperties(_ref, _excluded$1a);
9967
+ rest = _objectWithoutProperties(_ref, _excluded$1b);
9968
9968
  return /*#__PURE__*/React__default["default"].createElement(StyledDotsLoader, _extends({
9969
9969
  ref: ref,
9970
9970
  className: classNames__default["default"]("c-loader c-loader--dots", className)
@@ -9986,7 +9986,7 @@
9986
9986
  return props.$activeColorPercentage === "75%" && styled.css(["border-right:", "px solid ", ";border-bottom:", "px solid ", ";border-left:", "px solid ", ";border-top:", "px solid ", ";"], props.$stroke, props.$activeStrokeColor, props.$stroke, props.$activeStrokeColor, props.$stroke, props.$inactiveStrokeColor, props.$stroke, props.$activeStrokeColor);
9987
9987
  });
9988
9988
 
9989
- var _excluded$19 = ["radius", "stroke", "activeStrokeColor", "inactiveStrokeColor", "activeColorPercentage", "rotateDurationInSeconds", "className"];
9989
+ var _excluded$1a = ["radius", "stroke", "activeStrokeColor", "inactiveStrokeColor", "activeColorPercentage", "rotateDurationInSeconds", "className"];
9990
9990
  var SpinnerLoader = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
9991
9991
  var _ref$radius = _ref.radius,
9992
9992
  radius = _ref$radius === void 0 ? 10 : _ref$radius,
@@ -10001,7 +10001,7 @@
10001
10001
  _ref$rotateDurationIn = _ref.rotateDurationInSeconds,
10002
10002
  rotateDurationInSeconds = _ref$rotateDurationIn === void 0 ? 0.75 : _ref$rotateDurationIn,
10003
10003
  className = _ref.className,
10004
- rest = _objectWithoutProperties(_ref, _excluded$19);
10004
+ rest = _objectWithoutProperties(_ref, _excluded$1a);
10005
10005
  return /*#__PURE__*/React__default["default"].createElement(StyledSpinnerLoader$1, _extends({
10006
10006
  ref: ref,
10007
10007
  className: className,
@@ -10040,7 +10040,7 @@
10040
10040
  });
10041
10041
  StyledLinearLoader.displayName = "StyledLinearLoader";
10042
10042
 
10043
- var _excluded$18 = ["height", "activeStrokeColor", "inactiveStrokeColor", "activeColorPercentage", "animationDuration"];
10043
+ var _excluded$19 = ["height", "activeStrokeColor", "inactiveStrokeColor", "activeColorPercentage", "animationDuration"];
10044
10044
  var LinearLoader = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
10045
10045
  var _ref$height = _ref.height,
10046
10046
  height = _ref$height === void 0 ? 4 : _ref$height,
@@ -10052,7 +10052,7 @@
10052
10052
  activeColorPercentage = _ref$activeColorPerce === void 0 ? "25%" : _ref$activeColorPerce,
10053
10053
  _ref$animationDuratio = _ref.animationDuration,
10054
10054
  animationDuration = _ref$animationDuratio === void 0 ? 0.75 : _ref$animationDuratio,
10055
- rest = _objectWithoutProperties(_ref, _excluded$18);
10055
+ rest = _objectWithoutProperties(_ref, _excluded$19);
10056
10056
  return /*#__PURE__*/React__default["default"].createElement(StyledLinearLoader, _extends({
10057
10057
  ref: ref,
10058
10058
  $height: height,
@@ -10064,7 +10064,7 @@
10064
10064
  });
10065
10065
  LinearLoader.displayName = "LinearLoader";
10066
10066
 
10067
- var _excluded$17 = ["header", "rows", "className", "sortBy", "sortDirection", "onSortCallback", "theadClass", "noResultsCallback", "groupBy", "groupHead", "isCollapsible", "emptyValue", "loading", "loadingRows"];
10067
+ var _excluded$18 = ["header", "rows", "className", "sortBy", "sortDirection", "onSortCallback", "theadClass", "noResultsCallback", "groupBy", "groupHead", "isCollapsible", "emptyValue", "loading", "loadingRows"];
10068
10068
  var SortDirection = /*#__PURE__*/function (SortDirection) {
10069
10069
  SortDirection["None"] = "none";
10070
10070
  SortDirection["Asc"] = "asc";
@@ -10114,7 +10114,7 @@
10114
10114
  loading = _ref.loading,
10115
10115
  _ref$loadingRows = _ref.loadingRows,
10116
10116
  loadingRows = _ref$loadingRows === void 0 ? 7 : _ref$loadingRows,
10117
- args = _objectWithoutProperties(_ref, _excluded$17);
10117
+ args = _objectWithoutProperties(_ref, _excluded$18);
10118
10118
  var _useState = React.useState(sortDirection),
10119
10119
  _useState2 = _slicedToArray(_useState, 2),
10120
10120
  columnDirection = _useState2[0],
@@ -10474,7 +10474,7 @@
10474
10474
  });
10475
10475
  StyledCompleteCheckbox.displayName = "StyledCompleteCheckbox";
10476
10476
 
10477
- var _excluded$16 = ["completed", "disabled", "animate", "onClick", "className", "primary", "checkMarkClassName"];
10477
+ var _excluded$17 = ["completed", "disabled", "animate", "onClick", "className", "primary", "checkMarkClassName"];
10478
10478
  var CompleteCheckbox = function CompleteCheckbox(_ref) {
10479
10479
  var _ref$completed = _ref.completed,
10480
10480
  completed = _ref$completed === void 0 ? false : _ref$completed,
@@ -10487,7 +10487,7 @@
10487
10487
  _ref$primary = _ref.primary,
10488
10488
  primary = _ref$primary === void 0 ? false : _ref$primary,
10489
10489
  checkMarkClassName = _ref.checkMarkClassName,
10490
- rest = _objectWithoutProperties(_ref, _excluded$16);
10490
+ rest = _objectWithoutProperties(_ref, _excluded$17);
10491
10491
  return /*#__PURE__*/React__default["default"].createElement(StyledCompleteCheckbox, _extends({
10492
10492
  onClick: onClick,
10493
10493
  className: classNames__default["default"]("c-complete-checkbox", className),
@@ -10518,7 +10518,7 @@
10518
10518
  });
10519
10519
  StyledPaper.displayName = "StyledPaper";
10520
10520
 
10521
- var _excluded$15 = ["children", "className", "type", "hover", "useOptimizedShadow"];
10521
+ var _excluded$16 = ["children", "className", "type", "hover", "useOptimizedShadow"];
10522
10522
  /**
10523
10523
  * This is a component description and should sit directly above your component
10524
10524
  */
@@ -10531,7 +10531,7 @@
10531
10531
  hover = _ref$hover === void 0 ? false : _ref$hover,
10532
10532
  _ref$useOptimizedShad = _ref.useOptimizedShadow,
10533
10533
  useOptimizedShadow = _ref$useOptimizedShad === void 0 ? false : _ref$useOptimizedShad,
10534
- rest = _objectWithoutProperties(_ref, _excluded$15);
10534
+ rest = _objectWithoutProperties(_ref, _excluded$16);
10535
10535
  return /*#__PURE__*/React__default["default"].createElement(StyledPaper, _extends({
10536
10536
  className: classNames__default["default"](className, {
10537
10537
  "ac-shadow--raised--lg": !useOptimizedShadow && hover && type === "paper-1",
@@ -10584,7 +10584,7 @@
10584
10584
  });
10585
10585
  StyledCard.displayName = "StyledCard";
10586
10586
 
10587
- var _excluded$14 = ["children", "className", "hoverable", "paperType"];
10587
+ var _excluded$15 = ["children", "className", "hoverable", "paperType"];
10588
10588
  var Card = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
10589
10589
  var children = _ref.children,
10590
10590
  className = _ref.className,
@@ -10592,7 +10592,7 @@
10592
10592
  hoverable = _ref$hoverable === void 0 ? false : _ref$hoverable,
10593
10593
  _ref$paperType = _ref.paperType,
10594
10594
  paperType = _ref$paperType === void 0 ? "paper-2" : _ref$paperType,
10595
- rest = _objectWithoutProperties(_ref, _excluded$14);
10595
+ rest = _objectWithoutProperties(_ref, _excluded$15);
10596
10596
  return /*#__PURE__*/React__default["default"].createElement(StyledCard, _extends({}, rest, {
10597
10597
  type: paperType,
10598
10598
  className: classNames__default["default"]("c-card", className),
@@ -10699,12 +10699,12 @@
10699
10699
  });
10700
10700
  StyledIcon$1.displayName = "StyledIcon";
10701
10701
 
10702
- var _excluded$13 = ["weight", "children"];
10702
+ var _excluded$14 = ["weight", "children"];
10703
10703
  var Title1 = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
10704
10704
  var _ref$weight = _ref.weight,
10705
10705
  weight = _ref$weight === void 0 ? "light" : _ref$weight,
10706
10706
  children = _ref.children,
10707
- props = _objectWithoutProperties(_ref, _excluded$13);
10707
+ props = _objectWithoutProperties(_ref, _excluded$14);
10708
10708
  return /*#__PURE__*/React__default["default"].createElement(Typography, _extends({
10709
10709
  weight: weight,
10710
10710
  variant: "Title 1",
@@ -10713,12 +10713,12 @@
10713
10713
  });
10714
10714
  Title1.displayName = "Title1";
10715
10715
 
10716
- var _excluded$12 = ["weight", "children"];
10716
+ var _excluded$13 = ["weight", "children"];
10717
10717
  var Title2 = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
10718
10718
  var _ref$weight = _ref.weight,
10719
10719
  weight = _ref$weight === void 0 ? "light" : _ref$weight,
10720
10720
  children = _ref.children,
10721
- props = _objectWithoutProperties(_ref, _excluded$12);
10721
+ props = _objectWithoutProperties(_ref, _excluded$13);
10722
10722
  return /*#__PURE__*/React__default["default"].createElement(Typography, _extends({
10723
10723
  weight: weight,
10724
10724
  variant: "Title 2",
@@ -10727,10 +10727,10 @@
10727
10727
  });
10728
10728
  Title2.displayName = "Title2";
10729
10729
 
10730
- var _excluded$11 = ["children"];
10730
+ var _excluded$12 = ["children"];
10731
10731
  var Header2 = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
10732
10732
  var children = _ref.children,
10733
- props = _objectWithoutProperties(_ref, _excluded$11);
10733
+ props = _objectWithoutProperties(_ref, _excluded$12);
10734
10734
  return /*#__PURE__*/React__default["default"].createElement(Typography, _extends({
10735
10735
  weight: "bold",
10736
10736
  variant: "Header 2",
@@ -10739,10 +10739,10 @@
10739
10739
  });
10740
10740
  Header2.displayName = "Header2";
10741
10741
 
10742
- var _excluded$10 = ["children"];
10742
+ var _excluded$11 = ["children"];
10743
10743
  var Header3 = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
10744
10744
  var children = _ref.children,
10745
- props = _objectWithoutProperties(_ref, _excluded$10);
10745
+ props = _objectWithoutProperties(_ref, _excluded$11);
10746
10746
  return /*#__PURE__*/React__default["default"].createElement(Typography, _extends({
10747
10747
  weight: "bold",
10748
10748
  variant: "Header 3",
@@ -10751,12 +10751,12 @@
10751
10751
  });
10752
10752
  Header3.displayName = "Header3";
10753
10753
 
10754
- var _excluded$$ = ["weight", "children"];
10754
+ var _excluded$10 = ["weight", "children"];
10755
10755
  var Body1 = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
10756
10756
  var _ref$weight = _ref.weight,
10757
10757
  weight = _ref$weight === void 0 ? "regular" : _ref$weight,
10758
10758
  children = _ref.children,
10759
- props = _objectWithoutProperties(_ref, _excluded$$);
10759
+ props = _objectWithoutProperties(_ref, _excluded$10);
10760
10760
  return /*#__PURE__*/React__default["default"].createElement(Typography, _extends({
10761
10761
  variant: "Body 1",
10762
10762
  weight: weight,
@@ -10765,12 +10765,12 @@
10765
10765
  });
10766
10766
  Body1.displayName = "Body1";
10767
10767
 
10768
- var _excluded$_ = ["weight", "children"];
10768
+ var _excluded$$ = ["weight", "children"];
10769
10769
  var Caption1 = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
10770
10770
  var _ref$weight = _ref.weight,
10771
10771
  weight = _ref$weight === void 0 ? "regular" : _ref$weight,
10772
10772
  children = _ref.children,
10773
- props = _objectWithoutProperties(_ref, _excluded$_);
10773
+ props = _objectWithoutProperties(_ref, _excluded$$);
10774
10774
  return /*#__PURE__*/React__default["default"].createElement(Typography, _extends({
10775
10775
  variant: "Caption 1",
10776
10776
  weight: weight,
@@ -10779,12 +10779,12 @@
10779
10779
  });
10780
10780
  Caption1.displayName = "Caption1";
10781
10781
 
10782
- var _excluded$Z = ["weight", "children"];
10782
+ var _excluded$_ = ["weight", "children"];
10783
10783
  var Caption2 = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
10784
10784
  var _ref$weight = _ref.weight,
10785
10785
  weight = _ref$weight === void 0 ? "regular" : _ref$weight,
10786
10786
  children = _ref.children,
10787
- props = _objectWithoutProperties(_ref, _excluded$Z);
10787
+ props = _objectWithoutProperties(_ref, _excluded$_);
10788
10788
  return /*#__PURE__*/React__default["default"].createElement(Typography, _extends({
10789
10789
  variant: "Caption 2",
10790
10790
  weight: weight,
@@ -10868,7 +10868,7 @@
10868
10868
  componentId: "sc-5x2tyd-1"
10869
10869
  })(["border-radius:100%;object-fit:cover;"]);
10870
10870
 
10871
- var _excluded$Y = ["url", "alt", "size", "className", "imgClassName", "children"];
10871
+ var _excluded$Z = ["url", "alt", "size", "className", "imgClassName", "children"];
10872
10872
  /**
10873
10873
  * @component Avatar
10874
10874
  * @description
@@ -10903,7 +10903,7 @@
10903
10903
  className = _ref.className,
10904
10904
  imgClassName = _ref.imgClassName,
10905
10905
  children = _ref.children,
10906
- rest = _objectWithoutProperties(_ref, _excluded$Y);
10906
+ rest = _objectWithoutProperties(_ref, _excluded$Z);
10907
10907
  var _useState = React.useState(false),
10908
10908
  _useState2 = _slicedToArray(_useState, 2),
10909
10909
  imageLoaded = _useState2[0],
@@ -10944,13 +10944,13 @@
10944
10944
  return props.$color && styled.css(["background-color:", ";"], props.$color);
10945
10945
  });
10946
10946
 
10947
- var _excluded$X = ["color", "size", "className"];
10947
+ var _excluded$Y = ["color", "size", "className"];
10948
10948
  var Dot = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
10949
10949
  var color = _ref.color,
10950
10950
  _ref$size = _ref.size,
10951
10951
  size = _ref$size === void 0 ? 8 : _ref$size,
10952
10952
  className = _ref.className,
10953
- rest = _objectWithoutProperties(_ref, _excluded$X);
10953
+ rest = _objectWithoutProperties(_ref, _excluded$Y);
10954
10954
  return /*#__PURE__*/React__default["default"].createElement(StyledDot, _extends({
10955
10955
  className: classNames__default["default"]("c-dot", className),
10956
10956
  ref: ref,
@@ -10987,7 +10987,7 @@
10987
10987
  });
10988
10988
  StyledTagText.displayName = "StyledTagText";
10989
10989
 
10990
- var _excluded$W = ["name", "color", "showText", "showDot", "className"];
10990
+ var _excluded$X = ["name", "color", "showText", "showDot", "className"];
10991
10991
  var Tag = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
10992
10992
  var name = _ref.name,
10993
10993
  color = _ref.color,
@@ -10996,7 +10996,7 @@
10996
10996
  _ref$showDot = _ref.showDot,
10997
10997
  showDot = _ref$showDot === void 0 ? true : _ref$showDot,
10998
10998
  className = _ref.className,
10999
- rest = _objectWithoutProperties(_ref, _excluded$W);
10999
+ rest = _objectWithoutProperties(_ref, _excluded$X);
11000
11000
  return /*#__PURE__*/React__default["default"].createElement(StyledTag, _extends({
11001
11001
  className: classNames__default["default"]("c-tag", className),
11002
11002
  ref: ref
@@ -11102,7 +11102,7 @@
11102
11102
  });
11103
11103
  StyledNavAsMoreTarget.displayName = "StyledNavAsMoreTarget";
11104
11104
 
11105
- var _excluded$V = ["children", "active", "disabled", "className", "role"];
11105
+ var _excluded$W = ["children", "active", "disabled", "className", "role"];
11106
11106
  var Item = /*#__PURE__*/React__default["default"].forwardRef(function (_ref, ref) {
11107
11107
  var children = _ref.children,
11108
11108
  _ref$active = _ref.active,
@@ -11111,7 +11111,7 @@
11111
11111
  disabled = _ref$disabled === void 0 ? false : _ref$disabled,
11112
11112
  className = _ref.className,
11113
11113
  role = _ref.role,
11114
- rest = _objectWithoutProperties(_ref, _excluded$V);
11114
+ rest = _objectWithoutProperties(_ref, _excluded$W);
11115
11115
  return /*#__PURE__*/React__default["default"].createElement(StyledNavListItem, _extends({
11116
11116
  className: classNames__default["default"]("c-nav__item", {
11117
11117
  "c-nav__item--active": active
@@ -11152,11 +11152,11 @@
11152
11152
  });
11153
11153
  StyledExpandSingle.displayName = "StyledExpandSingle";
11154
11154
 
11155
- var _excluded$U = ["expanded"];
11155
+ var _excluded$V = ["expanded"];
11156
11156
  var ExpandSingle = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
11157
11157
  var _ref$expanded = _ref.expanded,
11158
11158
  expanded = _ref$expanded === void 0 ? false : _ref$expanded,
11159
- rest = _objectWithoutProperties(_ref, _excluded$U);
11159
+ rest = _objectWithoutProperties(_ref, _excluded$V);
11160
11160
  return /*#__PURE__*/React__default["default"].createElement(StyledExpandSingle, _extends({
11161
11161
  ref: ref,
11162
11162
  viewBox: "0 0 24 24",
@@ -11332,7 +11332,7 @@
11332
11332
  };
11333
11333
  OptionContent.displayName = "OptionContent";
11334
11334
 
11335
- var _excluded$T = ["mixed", "data-testid"];
11335
+ var _excluded$U = ["mixed", "data-testid"];
11336
11336
 
11337
11337
  /**
11338
11338
  * @component CheckboxIcon
@@ -11356,7 +11356,7 @@
11356
11356
  var CheckboxIcon = /*#__PURE__*/React__default["default"].forwardRef(function (_ref, svgRef) {
11357
11357
  var mixed = _ref.mixed,
11358
11358
  testId = _ref["data-testid"],
11359
- props = _objectWithoutProperties(_ref, _excluded$T);
11359
+ props = _objectWithoutProperties(_ref, _excluded$U);
11360
11360
  // const [animate, setAnimate] = useState(false);
11361
11361
  // const mountRef = useRef(false);
11362
11362
 
@@ -11450,7 +11450,7 @@
11450
11450
  });
11451
11451
  StyledCheckbox$1.displayName = "StyledCheckbox";
11452
11452
 
11453
- var _excluded$S = ["className", "hover", "id", "mixed", "checked", "onChange", "disabled"];
11453
+ var _excluded$T = ["className", "hover", "id", "mixed", "checked", "onChange", "disabled"];
11454
11454
  /**
11455
11455
  * Checkbox component
11456
11456
  */
@@ -11464,7 +11464,7 @@
11464
11464
  checked = _ref.checked,
11465
11465
  onChange = _ref.onChange,
11466
11466
  disabled = _ref.disabled,
11467
- rest = _objectWithoutProperties(_ref, _excluded$S);
11467
+ rest = _objectWithoutProperties(_ref, _excluded$T);
11468
11468
  var _useState = React.useState(mixed && !checked),
11469
11469
  _useState2 = _slicedToArray(_useState, 2),
11470
11470
  indeterminate = _useState2[0],
@@ -11603,8 +11603,31 @@
11603
11603
  return props.$size === "big" && styled.css(["font-size:1rem;"]);
11604
11604
  });
11605
11605
  StyledInputSelectTrigger.displayName = "StyledInputSelectTrigger";
11606
-
11607
- var _excluded$R = ["className", "style", "type", "disabled", "size", "invalid", "startAdornment", "endAdornment", "wrapRef", "wrapperClick", "mode"];
11606
+ var StyledFlagTriggerLabel = styled__default["default"].span.withConfig({
11607
+ displayName: "Styles__StyledFlagTriggerLabel",
11608
+ componentId: "sc-ce8kcp-5"
11609
+ })(["font-size:", ";"], function (_ref) {
11610
+ var $size = _ref.$size;
11611
+ return $size === "small" ? "20px" : "24px";
11612
+ });
11613
+ StyledFlagTriggerLabel.displayName = "StyledFlagTriggerLabel";
11614
+ var StyledOptionFlag = styled__default["default"].span.withConfig({
11615
+ displayName: "Styles__StyledOptionFlag",
11616
+ componentId: "sc-ce8kcp-6"
11617
+ })(["font-size:24px;margin-right:4px;"]);
11618
+ StyledFlagTriggerLabel.displayName = "StyledOptionFlag";
11619
+ var StyledOptionName = styled__default["default"].span.withConfig({
11620
+ displayName: "Styles__StyledOptionName",
11621
+ componentId: "sc-ce8kcp-7"
11622
+ })(["overflow:hidden;text-overflow:ellipsis;white-space:nowrap;"]);
11623
+ StyledOptionName.displayName = "StyledOptionName";
11624
+ var StyledOptionWrapper = styled__default["default"].span.withConfig({
11625
+ displayName: "Styles__StyledOptionWrapper",
11626
+ componentId: "sc-ce8kcp-8"
11627
+ })(["overflow:hidden;text-overflow:ellipsis;white-space:nowrap;margin-right:8px;display:flex;justify-items:center;align-items:center;"]);
11628
+ StyledOptionWrapper.displayName = "StyledOptionWrapper";
11629
+
11630
+ var _excluded$S = ["className", "style", "type", "disabled", "size", "invalid", "startAdornment", "endAdornment", "wrapRef", "wrapperClick", "mode"];
11608
11631
  var Input = /*#__PURE__*/React__default["default"].forwardRef(function (_ref, ref) {
11609
11632
  var _ref$className = _ref.className,
11610
11633
  className = _ref$className === void 0 ? "" : _ref$className,
@@ -11623,7 +11646,7 @@
11623
11646
  wrapperClick = _ref.wrapperClick,
11624
11647
  _ref$mode = _ref.mode,
11625
11648
  mode = _ref$mode === void 0 ? "outlined" : _ref$mode,
11626
- rest = _objectWithoutProperties(_ref, _excluded$R);
11649
+ rest = _objectWithoutProperties(_ref, _excluded$S);
11627
11650
  var intInputRef = React.useRef(null);
11628
11651
  var handleRef = useForkRef(ref, intInputRef);
11629
11652
  var handleWrapperClick = React.useCallback(function () {
@@ -11680,14 +11703,14 @@
11680
11703
  }, StyledRadioLabel);
11681
11704
  StyledRadioButton$1.displayName = "StyledRadioButton";
11682
11705
 
11683
- var _excluded$Q = ["className", "id", "hover"];
11706
+ var _excluded$R = ["className", "id", "hover"];
11684
11707
  var RadioButton = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
11685
11708
  var _ref$className = _ref.className,
11686
11709
  className = _ref$className === void 0 ? "" : _ref$className,
11687
11710
  _ref$id = _ref.id,
11688
11711
  id = _ref$id === void 0 ? "radio" : _ref$id,
11689
11712
  hover = _ref.hover,
11690
- props = _objectWithoutProperties(_ref, _excluded$Q);
11713
+ props = _objectWithoutProperties(_ref, _excluded$R);
11691
11714
  return /*#__PURE__*/React__default["default"].createElement(StyledRadioButton$1, {
11692
11715
  className: classNames__default["default"]("c-radio-btn", {
11693
11716
  "c-radio-btn__hover": hover,
@@ -11835,7 +11858,7 @@
11835
11858
  StyledScrollShadowLeft.displayName = "StyledScrollShadowLeft";
11836
11859
  StyledScrollShadowRight.displayName = "StyledScrollShadowRight";
11837
11860
 
11838
- var _excluded$P = ["children", "className", "disableVertical", "disableHorizontal", "invertHorizontal", "invertVertical", "innerColor", "outerColor"];
11861
+ var _excluded$Q = ["children", "className", "disableVertical", "disableHorizontal", "invertHorizontal", "invertVertical", "innerColor", "outerColor"];
11839
11862
  var ScrollShadow = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
11840
11863
  var children = _ref.children,
11841
11864
  className = _ref.className,
@@ -11849,7 +11872,7 @@
11849
11872
  invertVertical = _ref$invertVertical === void 0 ? false : _ref$invertVertical,
11850
11873
  innerColor = _ref.innerColor,
11851
11874
  outerColor = _ref.outerColor,
11852
- rest = _objectWithoutProperties(_ref, _excluded$P);
11875
+ rest = _objectWithoutProperties(_ref, _excluded$Q);
11853
11876
  var _useState = React.useState({
11854
11877
  top: 0,
11855
11878
  right: 0,
@@ -12170,7 +12193,7 @@
12170
12193
  };
12171
12194
  };
12172
12195
 
12173
- var _excluded$O = ["as", "className", "invert", "style"];
12196
+ var _excluded$P = ["as", "className", "invert", "style"];
12174
12197
  var ScrollElement = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
12175
12198
  var _ref$as = _ref.as,
12176
12199
  as = _ref$as === void 0 ? "div" : _ref$as,
@@ -12178,7 +12201,7 @@
12178
12201
  _ref$invert = _ref.invert,
12179
12202
  invert = _ref$invert === void 0 ? false : _ref$invert,
12180
12203
  style = _ref.style,
12181
- rest = _objectWithoutProperties(_ref, _excluded$O);
12204
+ rest = _objectWithoutProperties(_ref, _excluded$P);
12182
12205
  var internalRef = useInitScrollRef(null, invert);
12183
12206
  var handleRef = useForkRef(internalRef, ref);
12184
12207
  var props = _objectSpread2(_objectSpread2({}, rest), {}, {
@@ -12820,7 +12843,7 @@
12820
12843
  componentId: "sc-9x4q7e-0"
12821
12844
  })(["cursor:auto"]);
12822
12845
 
12823
- var _excluded$N = ["type", "mode", "target", "options", "selected", "mixed", "position", "onChange", "placeholder", "emptyAction", "disableSearch", "forceCloseMenu", "selectClassName", "keepSameOptionsOrder", "onSelectOpen", "onSelectClose", "renderOption", "handleDefaultOptionChange", "preselectDefaultValue", "startAdornment", "endAdornment", "focusInput"];
12846
+ var _excluded$O = ["type", "mode", "target", "options", "selected", "mixed", "position", "onChange", "placeholder", "emptyAction", "disableSearch", "forceCloseMenu", "selectClassName", "keepSameOptionsOrder", "onSelectOpen", "onSelectClose", "renderOption", "handleDefaultOptionChange", "preselectDefaultValue", "startAdornment", "endAdornment", "focusInput"];
12824
12847
  var Select = function Select(_ref) {
12825
12848
  var _ref$type = _ref.type,
12826
12849
  type = _ref$type === void 0 ? "single" : _ref$type,
@@ -12858,7 +12881,7 @@
12858
12881
  endAdornment = _ref.endAdornment,
12859
12882
  _ref$focusInput = _ref.focusInput,
12860
12883
  focusInput = _ref$focusInput === void 0 ? false : _ref$focusInput,
12861
- prop = _objectWithoutProperties(_ref, _excluded$N);
12884
+ prop = _objectWithoutProperties(_ref, _excluded$O);
12862
12885
  if (disableSearch && (startAdornment || endAdornment)) {
12863
12886
  console.warn("Adornments are not visible when search bar is hidden");
12864
12887
  }
@@ -13299,7 +13322,7 @@
13299
13322
  };
13300
13323
  Nav.displayName = "Nav";
13301
13324
 
13302
- var _excluded$M = ["children", "as", "disablePointerEvents"];
13325
+ var _excluded$N = ["children", "as", "disablePointerEvents"];
13303
13326
  var InputAdornmentBase = styled__default["default"].div.withConfig({
13304
13327
  displayName: "InputAdornment__InputAdornmentBase",
13305
13328
  componentId: "sc-1xfjx1z-0"
@@ -13317,7 +13340,7 @@
13317
13340
  var children = _ref.children,
13318
13341
  as = _ref.as,
13319
13342
  disablePointerEvents = _ref.disablePointerEvents,
13320
- rest = _objectWithoutProperties(_ref, _excluded$M);
13343
+ rest = _objectWithoutProperties(_ref, _excluded$N);
13321
13344
  var Component = as || "div";
13322
13345
  return /*#__PURE__*/React__default["default"].createElement(InputAdornmentBase, _extends({}, rest, {
13323
13346
  as: Component,
@@ -13552,7 +13575,7 @@
13552
13575
  };
13553
13576
  };
13554
13577
 
13555
- var _excluded$L = ["value", "onCancel", "onSave", "onEnterKeyPress", "allowEmptyValue", "withLeadingZero", "validation", "incrementOnlySelected", "minuteIncrement", "className", "onChange", "onClick", "align"];
13578
+ var _excluded$M = ["value", "onCancel", "onSave", "onEnterKeyPress", "allowEmptyValue", "withLeadingZero", "validation", "incrementOnlySelected", "minuteIncrement", "className", "onChange", "onClick", "align"];
13556
13579
  var InputHours = /*#__PURE__*/React__default["default"].forwardRef(function (_ref, ref) {
13557
13580
  var defaultValue = _ref.value,
13558
13581
  onCancel = _ref.onCancel,
@@ -13572,7 +13595,7 @@
13572
13595
  externalOnClick = _ref.onClick,
13573
13596
  _ref$align = _ref.align,
13574
13597
  align = _ref$align === void 0 ? "center" : _ref$align,
13575
- rest = _objectWithoutProperties(_ref, _excluded$L);
13598
+ rest = _objectWithoutProperties(_ref, _excluded$M);
13576
13599
  var inputRef = React.useRef(null);
13577
13600
  var handleRef = useForkRef(ref, inputRef);
13578
13601
  var _useInputHours = useInputHours({
@@ -13611,7 +13634,7 @@
13611
13634
  });
13612
13635
  InputHours.displayName = "InputHours";
13613
13636
 
13614
- var _excluded$K = ["decimalLength", "decimalSeparator", "disableAbbreviation", "disabled", "disableMacros", "invalid", "step", "thousandSeparator", "value", "onCancel", "onSave", "onEnterKeyPress", "allowEmptyValue", "onChange", "onClick", "limit", "placeholder", "trimDecimals"];
13637
+ var _excluded$L = ["decimalLength", "decimalSeparator", "disableAbbreviation", "disabled", "disableMacros", "invalid", "step", "thousandSeparator", "value", "onCancel", "onSave", "onEnterKeyPress", "allowEmptyValue", "onChange", "onClick", "limit", "placeholder", "trimDecimals"];
13615
13638
  var InputNumber = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
13616
13639
  var _ref$decimalLength = _ref.decimalLength,
13617
13640
  decimalLength = _ref$decimalLength === void 0 ? 2 : _ref$decimalLength,
@@ -13638,7 +13661,7 @@
13638
13661
  placeholder = _ref.placeholder,
13639
13662
  _ref$trimDecimals = _ref.trimDecimals,
13640
13663
  trimDecimals = _ref$trimDecimals === void 0 ? true : _ref$trimDecimals,
13641
- rest = _objectWithoutProperties(_ref, _excluded$K);
13664
+ rest = _objectWithoutProperties(_ref, _excluded$L);
13642
13665
  var inputRef = React.useRef(null);
13643
13666
  var handleRef = useForkRef(ref, inputRef);
13644
13667
  var _useInputNumber = useInputNumber({
@@ -13686,11 +13709,11 @@
13686
13709
  });
13687
13710
  InputNumber.displayName = "InputNumber";
13688
13711
 
13689
- var _excluded$J = ["currency", "size"];
13712
+ var _excluded$K = ["currency", "size"];
13690
13713
  var InputCurrency = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
13691
13714
  var currency = _ref.currency,
13692
13715
  size = _ref.size,
13693
- rest = _objectWithoutProperties(_ref, _excluded$J);
13716
+ rest = _objectWithoutProperties(_ref, _excluded$K);
13694
13717
  var variant = React.useMemo(function () {
13695
13718
  if (size === "biggest") {
13696
13719
  return "Header 2";
@@ -13715,7 +13738,7 @@
13715
13738
  });
13716
13739
  InputCurrency.displayName = "InputCurrency";
13717
13740
 
13718
- var _excluded$I = ["size", "disabled", "show", "hideControl", "showTooltipText", "hideTooltipText", "value", "validation", "errorMessage", "invalid", "onChange"];
13741
+ var _excluded$J = ["size", "disabled", "show", "hideControl", "showTooltipText", "hideTooltipText", "value", "validation", "errorMessage", "invalid", "onChange"];
13719
13742
  var transform = {
13720
13743
  biggest: "big",
13721
13744
  regular: "small",
@@ -13808,7 +13831,7 @@
13808
13831
  errorMessage = _ref2.errorMessage,
13809
13832
  invalid = _ref2.invalid,
13810
13833
  onChange = _ref2.onChange,
13811
- rest = _objectWithoutProperties(_ref2, _excluded$I);
13834
+ rest = _objectWithoutProperties(_ref2, _excluded$J);
13812
13835
  var inputRef = React.useRef(null);
13813
13836
  var handleRef = useForkRef(ref, inputRef);
13814
13837
  var _useState = React.useState(show),
@@ -13887,28 +13910,37 @@
13887
13910
  size = _ref.size,
13888
13911
  selected = _ref.selected,
13889
13912
  options = _ref.options,
13913
+ _ref$search = _ref.search,
13914
+ search = _ref$search === void 0 ? false : _ref$search,
13890
13915
  _ref$disabled = _ref.disabled,
13891
- disabled = _ref$disabled === void 0 ? false : _ref$disabled;
13916
+ disabled = _ref$disabled === void 0 ? false : _ref$disabled,
13917
+ _ref$disabledInternal = _ref.disabledInternalSort,
13918
+ disabledInternalSort = _ref$disabledInternal === void 0 ? true : _ref$disabledInternal,
13919
+ _ref$keepSameOptionsO = _ref.keepSameOptionsOrder,
13920
+ keepSameOptionsOrder = _ref$keepSameOptionsO === void 0 ? true : _ref$keepSameOptionsO,
13921
+ selectedLabel = _ref.selectedLabel,
13922
+ renderOption = _ref.renderOption;
13892
13923
  return /*#__PURE__*/React__default["default"].createElement(Select, {
13893
13924
  onChange: onChange,
13894
13925
  forceCloseMenu: true,
13895
- disableSearch: true,
13926
+ disableSearch: !search,
13896
13927
  target: /*#__PURE__*/React__default["default"].createElement(StyledInputSelectTrigger, {
13897
13928
  $disabled: disabled,
13898
13929
  $size: size
13899
- }, selected, size === "big" ? /*#__PURE__*/React__default["default"].createElement(ArrowDownIcon$1, {
13930
+ }, selectedLabel ? selectedLabel : selected, size === "big" ? /*#__PURE__*/React__default["default"].createElement(ArrowDownIcon$1, {
13900
13931
  fill: "var(--color-theme-700)"
13901
13932
  }) : /*#__PURE__*/React__default["default"].createElement(ArrowDownSmallIcon$1, {
13902
13933
  fill: "var(--color-theme-700)"
13903
13934
  })),
13904
13935
  options: options,
13905
- disabledInternalSort: true,
13906
- keepSameOptionsOrder: true,
13907
- selected: selected
13936
+ disabledInternalSort: disabledInternalSort,
13937
+ keepSameOptionsOrder: keepSameOptionsOrder,
13938
+ selected: selected,
13939
+ renderOption: renderOption
13908
13940
  });
13909
13941
  };
13910
13942
 
13911
- var _excluded$H = ["size", "disabled", "value", "onChange"];
13943
+ var _excluded$I = ["size", "disabled", "value", "onChange"];
13912
13944
  var options = [{
13913
13945
  id: "https://",
13914
13946
  name: "https://"
@@ -13923,7 +13955,7 @@
13923
13955
  _ref$value = _ref.value,
13924
13956
  defaultValue = _ref$value === void 0 ? "" : _ref$value,
13925
13957
  onChange = _ref.onChange,
13926
- rest = _objectWithoutProperties(_ref, _excluded$H);
13958
+ rest = _objectWithoutProperties(_ref, _excluded$I);
13927
13959
  var inputRef = React.useRef(null);
13928
13960
  var handleRef = useForkRef(ref, inputRef);
13929
13961
  var _useState = React.useState(options[0].id),
@@ -14012,6 +14044,135 @@
14012
14044
  });
14013
14045
  InputUrl.displayName = "InputUrl";
14014
14046
 
14047
+ var a={7:"RU",20:"EG",27:"ZA",30:"GR",31:"NL",32:"BE",33:"FR",34:"ES",36:"HU",39:"VA",40:"RO",41:"CH",43:"AT",44:"GB",45:"DK",46:"SE",47:"SJ",48:"PL",49:"DE",51:"PE",52:"MX",53:"CU",54:"AR",55:"BR",56:"CL",57:"CO",58:"VE",60:"MY",61:"AU",62:"ID",63:"PH",64:"NZ",65:"SG",66:"TH",81:"JP",82:"KR",84:"VN",86:"CN",90:"TR",91:"IN",92:"PK",93:"AF",94:"LK",95:"MM",98:"IR",211:"SS",212:"MA",213:"DZ",216:"TN",218:"LY",220:"GM",221:"SN",222:"MR",223:"ML",224:"GN",225:"CI",226:"BF",227:"NE",228:"TG",229:"BJ",230:"MU",231:"LR",232:"SL",233:"GH",234:"NG",235:"TD",236:"CF",237:"CM",238:"CV",239:"ST",240:"GQ",241:"GA",242:"CG",243:"CD",244:"AO",245:"GW",246:"IO",248:"SC",249:"SD",250:"RW",251:"ET",252:"SO",253:"DJ",254:"KE",255:"TZ",256:"UG",257:"BI",258:"MZ",260:"ZM",261:"MG",262:"YT",263:"ZW",264:"NA",265:"MW",266:"LS",267:"BW",268:"SZ",269:"KM",291:"ER",297:"AW",298:"FO",299:"GL",350:"GI",351:"PT",352:"LU",353:"IE",354:"IS",355:"AL",356:"MT",357:"CY",358:"FI",359:"BG",370:"LT",371:"LV",372:"EE",373:"MD",374:"AM",375:"BY",376:"AD",377:"MC",378:"SM",380:"UA",381:"RS",382:"ME",383:"XK",385:"HR",386:"SI",387:"BA",389:"MK",420:"CZ",421:"SK",423:"LI",500:"FK",501:"BZ",502:"GT",503:"SV",504:"HN",505:"NI",506:"CR",507:"PA",508:"PM",509:"HT",590:"MF",591:"BO",592:"GY",593:"EC",594:"GF",595:"PY",596:"MQ",597:"SR",598:"UY",599:"CW",670:"TL",672:"NF",673:"BN",674:"NR",675:"PG",676:"TO",677:"SB",678:"VU",679:"FJ",680:"PW",681:"WF",682:"CK",683:"NU",685:"WS",686:"KI",687:"NC",688:"TV",689:"PF",690:"TK",691:"FM",692:"MH",850:"KP",852:"HK",853:"MO",855:"KH",856:"LA",880:"BD",886:"TW",960:"MV",961:"LB",962:"JO",963:"SY",964:"IQ",965:"KW",966:"SA",967:"YE",968:"OM",970:"PS",971:"AE",972:"IL",973:"BH",974:"QA",975:"BT",976:"MN",977:"NP",992:"TJ",993:"TM",994:"AZ",995:"GE",996:"KG",998:"UZ",1201:"US",1202:"US",1203:"US",1204:"CA",1205:"US",1206:"US",1207:"US",1208:"US",1209:"US",1210:"US",1211:"US",1212:"US",1213:"US",1214:"US",1215:"US",1216:"US",1217:"US",1218:"US",1219:"US",1220:"US",1223:"US",1224:"US",1225:"US",1226:"CA",1227:"US",1228:"US",1229:"US",1231:"US",1234:"US",1235:"US",1236:"CA",1239:"US",1240:"US",1242:"BS",1246:"BB",1248:"US",1249:"CA",1250:"CA",1251:"US",1252:"US",1253:"US",1254:"US",1256:"US",1260:"US",1262:"US",1263:"CA",1264:"AI",1267:"US",1268:"AG",1269:"US",1270:"US",1272:"US",1274:"US",1276:"US",1279:"US",1281:"US",1283:"US",1284:"VG",1289:"CA",1301:"US",1302:"US",1303:"US",1304:"US",1305:"US",1306:"CA",1307:"US",1308:"US",1309:"US",1310:"US",1311:"US",1312:"US",1313:"US",1314:"US",1315:"US",1316:"US",1317:"US",1318:"US",1319:"US",1320:"US",1321:"US",1323:"US",1324:"US",1325:"US",1326:"US",1327:"US",1329:"US",1330:"US",1331:"US",1332:"US",1334:"US",1336:"US",1337:"US",1339:"US",1340:"VA",1341:"US",1343:"CA",1345:"KY",1346:"US",1347:"US",1350:"US",1351:"US",1352:"US",1353:"US",1354:"CA",1360:"US",1361:"US",1363:"US",1364:"US",1365:"CA",1367:"CA",1368:"CA",1369:"US",1380:"US",1382:"CA",1385:"US",1386:"US",1401:"US",1402:"US",1403:"CA",1404:"US",1405:"US",1406:"US",1407:"US",1408:"US",1409:"US",1410:"US",1411:"US",1412:"US",1413:"US",1414:"US",1415:"US",1416:"CA",1417:"US",1418:"CA",1419:"US",1423:"US",1424:"US",1425:"US",1428:"CA",1430:"US",1431:"CA",1432:"US",1434:"US",1435:"US",1436:"US",1437:"CA",1438:"CA",1440:"US",1441:"BM",1442:"US",1443:"US",1445:"US",1447:"US",1448:"US",1450:"CA",1458:"US",1463:"US",1464:"US",1468:"CA",1469:"US",1470:"US",1472:"US",1473:"GD",1474:"CA",1475:"US",1478:"US",1479:"US",1480:"US",1484:"US",1500:"US",1501:"US",1502:"US",1503:"US",1504:"US",1505:"US",1506:"CA",1507:"US",1508:"US",1509:"US",1510:"US",1511:"US",1512:"US",1513:"US",1514:"CA",1515:"US",1516:"US",1517:"US",1518:"US",1519:"CA",1520:"US",1521:"US",1522:"US",1523:"US",1524:"US",1525:"US",1526:"US",1527:"US",1528:"US",1529:"US",1530:"US",1531:"US",1533:"US",1534:"US",1539:"US",1540:"US",1541:"US",1544:"US",1548:"CA",1551:"US",1557:"US",1559:"US",1561:"US",1562:"US",1563:"US",1564:"US",1566:"US",1567:"US",1570:"US",1571:"US",1572:"US",1573:"US",1574:"US",1575:"US",1577:"US",1579:"CA",1580:"US",1581:"CA",1582:"US",1584:"CA",1585:"US",1586:"US",1587:"CA",1588:"US",1600:"US",1601:"US",1602:"US",1603:"US",1604:"CA",1605:"US",1606:"US",1607:"US",1608:"US",1609:"US",1610:"US",1612:"US",1613:"CA",1614:"US",1615:"US",1616:"US",1617:"US",1618:"US",1619:"US",1620:"US",1622:"US",1623:"US",1624:"US",1626:"US",1628:"US",1629:"US",1630:"US",1631:"US",1633:"US",1636:"US",1639:"CA",1640:"US",1641:"US",1645:"US",1646:"US",1647:"CA",1649:"TC",1650:"US",1651:"US",1656:"US",1657:"US",1658:"JM",1659:"US",1660:"US",1661:"US",1662:"US",1664:"MS",1667:"US",1669:"US",1670:"MN",1671:"GU",1672:"CA",1678:"US",1680:"US",1681:"US",1682:"US",1683:"CA",1684:"AS",1686:"US",1689:"US",1700:"US",1701:"US",1702:"US",1703:"US",1704:"US",1705:"CA",1706:"US",1707:"US",1708:"US",1709:"CA",1710:"US",1711:"US",1712:"US",1713:"US",1714:"US",1715:"US",1716:"US",1717:"US",1718:"US",1719:"US",1720:"US",1721:"SX",1724:"US",1725:"US",1726:"US",1727:"US",1728:"US",1730:"US",1731:"US",1732:"US",1734:"US",1737:"US",1740:"US",1742:"CA",1743:"US",1747:"US",1753:"CA",1754:"US",1757:"US",1758:"LC",1760:"US",1762:"US",1763:"US",1765:"US",1767:"DM",1769:"US",1770:"US",1771:"US",1772:"US",1773:"US",1774:"US",1775:"US",1778:"CA",1779:"US",1780:"CA",1781:"US",1782:"CA",1784:"VC",1785:"US",1786:"US",1787:"PR",1800:"US",1801:"US",1802:"US",1803:"US",1804:"US",1805:"US",1806:"US",1807:"CA",1808:"US",1809:"DO",1810:"US",1811:"US",1812:"US",1813:"US",1814:"US",1815:"US",1816:"US",1817:"US",1818:"US",1819:"CA",1820:"US",1825:"CA",1826:"US",1828:"US",1829:"DO",1830:"US",1831:"US",1832:"US",1833:"US",1835:"US",1838:"US",1839:"US",1840:"US",1843:"US",1844:"US",1845:"US",1847:"US",1848:"US",1849:"DO",1850:"US",1854:"US",1855:"US",1856:"US",1857:"US",1858:"US",1859:"US",1860:"US",1861:"US",1862:"US",1863:"US",1864:"US",1865:"US",1866:"US",1867:"CA",1868:"TT",1869:"KN",1870:"US",1872:"US",1873:"CA",1876:"JM",1877:"US",1878:"US",1879:"CA",1888:"US",1900:"US",1901:"US",1902:"CA",1903:"US",1904:"US",1905:"CA",1906:"US",1907:"US",1908:"US",1909:"US",1910:"US",1911:"US",1912:"US",1913:"US",1914:"US",1915:"US",1916:"US",1917:"US",1918:"US",1919:"US",1920:"US",1925:"US",1928:"US",1929:"US",1930:"US",1931:"US",1934:"US",1936:"US",1937:"US",1938:"US",1939:"PR",1940:"US",1941:"US",1943:"US",1945:"US",1947:"US",1948:"US",1949:"US",1951:"US",1952:"US",1954:"US",1956:"US",1959:"US",1970:"US",1971:"US",1972:"US",1973:"US",1975:"US",1978:"US",1979:"US",1980:"US",1983:"US",1984:"US",1985:"US",1986:"US",1989:"US"},n={AF:{countryCode:"AF",flag:"🇦🇫",callingCode:"93",name:"Afghanistan"},AX:{countryCode:"AX",flag:"🇦🇽",callingCode:"358",name:"Aland"},AL:{countryCode:"AL",flag:"🇦🇱",callingCode:"355",name:"Albania"},DZ:{countryCode:"DZ",flag:"🇩🇿",callingCode:"213",name:"Algeria"},AS:{countryCode:"AS",flag:"🇦🇸",callingCode:"1",name:"American Samoa"},AD:{countryCode:"AD",flag:"🇦🇩",callingCode:"376",name:"Andorra"},AO:{countryCode:"AO",flag:"🇦🇴",callingCode:"244",name:"Angola"},AI:{countryCode:"AI",flag:"🇦🇮",callingCode:"1",name:"Anguilla"},AG:{countryCode:"AG",flag:"🇦🇬",callingCode:"1",name:"Antigua and Barbuda"},AR:{countryCode:"AR",flag:"🇦🇷",callingCode:"54",name:"Argentina"},AM:{countryCode:"AM",flag:"🇦🇲",callingCode:"374",name:"Armenia"},AW:{countryCode:"AW",flag:"🇦🇼",callingCode:"297",name:"Aruba"},AU:{countryCode:"AU",flag:"🇦🇺",callingCode:"61",name:"Australia"},AT:{countryCode:"AT",flag:"🇦🇹",callingCode:"43",name:"Austria"},AZ:{countryCode:"AZ",flag:"🇦🇿",callingCode:"994",name:"Azerbaijan"},BS:{countryCode:"BS",flag:"🇧🇸",callingCode:"1",name:"Bahamas"},BH:{countryCode:"BH",flag:"🇧🇭",callingCode:"973",name:"Bahrain"},BD:{countryCode:"BD",flag:"🇧🇩",callingCode:"880",name:"Bangladesh"},BB:{countryCode:"BB",flag:"🇧🇧",callingCode:"1",name:"Barbados"},BY:{countryCode:"BY",flag:"🇧🇾",callingCode:"375",name:"Belarus"},BE:{countryCode:"BE",flag:"🇧🇪",callingCode:"32",name:"Belgium"},BZ:{countryCode:"BZ",flag:"🇧🇿",callingCode:"501",name:"Belize"},BJ:{countryCode:"BJ",flag:"🇧🇯",callingCode:"229",name:"Benin"},BM:{countryCode:"BM",flag:"🇧🇲",callingCode:"1",name:"Bermuda"},BT:{countryCode:"BT",flag:"🇧🇹",callingCode:"975",name:"Bhutan"},BO:{countryCode:"BO",flag:"🇧🇴",callingCode:"591",name:"Bolivia"},BQ:{countryCode:"BQ",flag:"🇧🇶",callingCode:"599",name:"Bonaire"},BA:{countryCode:"BA",flag:"🇧🇦",callingCode:"387",name:"Bosnia and Herzegovina"},BW:{countryCode:"BW",flag:"🇧🇼",callingCode:"267",name:"Botswana"},BR:{countryCode:"BR",flag:"🇧🇷",callingCode:"55",name:"Brazil"},IO:{countryCode:"IO",flag:"🇮🇴",callingCode:"246",name:"British Indian Ocean Territory"},VG:{countryCode:"VG",flag:"🇻🇬",callingCode:"1",name:"British Virgin Islands"},BN:{countryCode:"BN",flag:"🇧🇳",callingCode:"673",name:"Brunei"},BG:{countryCode:"BG",flag:"🇧🇬",callingCode:"359",name:"Bulgaria"},BF:{countryCode:"BF",flag:"🇧🇫",callingCode:"226",name:"Burkina Faso"},BI:{countryCode:"BI",flag:"🇧🇮",callingCode:"257",name:"Burundi"},KH:{countryCode:"KH",flag:"🇰🇭",callingCode:"855",name:"Cambodia"},CM:{countryCode:"CM",flag:"🇨🇲",callingCode:"237",name:"Cameroon"},CA:{countryCode:"CA",flag:"🇨🇦",callingCode:"1",name:"Canada"},CV:{countryCode:"CV",flag:"🇨🇻",callingCode:"238",name:"Cape Verde"},KY:{countryCode:"KY",flag:"🇰🇾",callingCode:"1",name:"Cayman Islands"},CF:{countryCode:"CF",flag:"🇨🇫",callingCode:"236",name:"Central African Republic"},TD:{countryCode:"TD",flag:"🇹🇩",callingCode:"235",name:"Chad"},CL:{countryCode:"CL",flag:"🇨🇱",callingCode:"56",name:"Chile"},CN:{countryCode:"CN",flag:"🇨🇳",callingCode:"86",name:"China"},CX:{countryCode:"CX",flag:"🇨🇽",callingCode:"61",name:"Christmas Island"},CC:{countryCode:"CC",flag:"🇨🇨",callingCode:"61",name:"Cocos (Keeling) Islands"},CO:{countryCode:"CO",flag:"🇨🇴",callingCode:"57",name:"Colombia"},KM:{countryCode:"KM",flag:"🇰🇲",callingCode:"269",name:"Comoros"},CK:{countryCode:"CK",flag:"🇨🇰",callingCode:"682",name:"Cook Islands"},CR:{countryCode:"CR",flag:"🇨🇷",callingCode:"506",name:"Costa Rica"},HR:{countryCode:"HR",flag:"🇭🇷",callingCode:"385",name:"Croatia"},CU:{countryCode:"CU",flag:"🇨🇺",callingCode:"53",name:"Cuba"},CW:{countryCode:"CW",flag:"🇨🇼",callingCode:"599",name:"Curacao"},CY:{countryCode:"CY",flag:"🇨🇾",callingCode:"357",name:"Cyprus"},CZ:{countryCode:"CZ",flag:"🇨🇿",callingCode:"420",name:"Czech Republic"},CD:{countryCode:"CD",flag:"🇨🇩",callingCode:"243",name:"Democratic Republic of the Congo"},DK:{countryCode:"DK",flag:"🇩🇰",callingCode:"45",name:"Denmark"},DJ:{countryCode:"DJ",flag:"🇩🇯",callingCode:"253",name:"Djibouti"},DM:{countryCode:"DM",flag:"🇩🇲",callingCode:"1",name:"Dominica"},DO:{countryCode:"DO",flag:"🇩🇴",callingCode:"1",name:"Dominican Republic"},TL:{countryCode:"TL",flag:"🇹🇱",callingCode:"670",name:"East Timor"},EC:{countryCode:"EC",flag:"🇪🇨",callingCode:"593",name:"Ecuador"},EG:{countryCode:"EG",flag:"🇪🇬",callingCode:"20",name:"Egypt"},SV:{countryCode:"SV",flag:"🇸🇻",callingCode:"503",name:"El Salvador"},GQ:{countryCode:"GQ",flag:"🇬🇶",callingCode:"240",name:"Equatorial Guinea"},ER:{countryCode:"ER",flag:"🇪🇷",callingCode:"291",name:"Eritrea"},EE:{countryCode:"EE",flag:"🇪🇪",callingCode:"372",name:"Estonia"},SZ:{countryCode:"SZ",flag:"🇸🇿",callingCode:"268",name:"Eswatini"},ET:{countryCode:"ET",flag:"🇪🇹",callingCode:"251",name:"Ethiopia"},FK:{countryCode:"FK",flag:"🇫🇰",callingCode:"500",name:"Falkland Islands"},FO:{countryCode:"FO",flag:"🇫🇴",callingCode:"298",name:"Faroe Islands"},FJ:{countryCode:"FJ",flag:"🇫🇯",callingCode:"679",name:"Fiji"},FI:{countryCode:"FI",flag:"🇫🇮",callingCode:"358",name:"Finland"},FR:{countryCode:"FR",flag:"🇫🇷",callingCode:"33",name:"France"},GF:{countryCode:"GF",flag:"🇬🇫",callingCode:"594",name:"French Guiana"},PF:{countryCode:"PF",flag:"🇵🇫",callingCode:"689",name:"French Polynesia"},GA:{countryCode:"GA",flag:"🇬🇦",callingCode:"241",name:"Gabon"},GM:{countryCode:"GM",flag:"🇬🇲",callingCode:"220",name:"Gambia"},GE:{countryCode:"GE",flag:"🇬🇪",callingCode:"995",name:"Georgia"},DE:{countryCode:"DE",flag:"🇩🇪",callingCode:"49",name:"Germany"},GH:{countryCode:"GH",flag:"🇬🇭",callingCode:"233",name:"Ghana"},GI:{countryCode:"GI",flag:"🇬🇮",callingCode:"350",name:"Gibraltar"},GR:{countryCode:"GR",flag:"🇬🇷",callingCode:"30",name:"Greece"},GL:{countryCode:"GL",flag:"🇬🇱",callingCode:"299",name:"Greenland"},GD:{countryCode:"GD",flag:"🇬🇩",callingCode:"1",name:"Grenada"},GP:{countryCode:"GP",flag:"🇬🇵",callingCode:"590",name:"Guadeloupe"},GU:{countryCode:"GU",flag:"🇬🇺",callingCode:"1",name:"Guam"},GT:{countryCode:"GT",flag:"🇬🇹",callingCode:"502",name:"Guatemala"},GG:{countryCode:"GG",flag:"🇬🇬",callingCode:"44",name:"Guernsey"},GN:{countryCode:"GN",flag:"🇬🇳",callingCode:"224",name:"Guinea"},GW:{countryCode:"GW",flag:"🇬🇼",callingCode:"245",name:"Guinea-Bissau"},GY:{countryCode:"GY",flag:"🇬🇾",callingCode:"592",name:"Guyana"},HT:{countryCode:"HT",flag:"🇭🇹",callingCode:"509",name:"Haiti"},HN:{countryCode:"HN",flag:"🇭🇳",callingCode:"504",name:"Honduras"},HK:{countryCode:"HK",flag:"🇭🇰",callingCode:"852",name:"Hong Kong"},HU:{countryCode:"HU",flag:"🇭🇺",callingCode:"36",name:"Hungary"},IS:{countryCode:"IS",flag:"🇮🇸",callingCode:"354",name:"Iceland"},IN:{countryCode:"IN",flag:"🇮🇳",callingCode:"91",name:"India"},ID:{countryCode:"ID",flag:"🇮🇩",callingCode:"62",name:"Indonesia"},IR:{countryCode:"IR",flag:"🇮🇷",callingCode:"98",name:"Iran"},IQ:{countryCode:"IQ",flag:"🇮🇶",callingCode:"964",name:"Iraq"},IE:{countryCode:"IE",flag:"🇮🇪",callingCode:"353",name:"Ireland"},IM:{countryCode:"IM",flag:"🇮🇲",callingCode:"44",name:"Isle of Man"},IL:{countryCode:"IL",flag:"🇮🇱",callingCode:"972",name:"Israel"},IT:{countryCode:"IT",flag:"🇮🇹",callingCode:"39",name:"Italy"},CI:{countryCode:"CI",flag:"🇨🇮",callingCode:"225",name:"Ivory Coast"},JM:{countryCode:"JM",flag:"🇯🇲",callingCode:"1",name:"Jamaica"},JP:{countryCode:"JP",flag:"🇯🇵",callingCode:"81",name:"Japan"},JE:{countryCode:"JE",flag:"🇯🇪",callingCode:"44",name:"Jersey"},JO:{countryCode:"JO",flag:"🇯🇴",callingCode:"962",name:"Jordan"},KZ:{countryCode:"KZ",flag:"🇰🇿",callingCode:"7",name:"Kazakhstan"},KE:{countryCode:"KE",flag:"🇰🇪",callingCode:"254",name:"Kenya"},KI:{countryCode:"KI",flag:"🇰🇮",callingCode:"686",name:"Kiribati"},XK:{countryCode:"XK",flag:"🇽🇰",callingCode:"383",name:"Kosovo"},KW:{countryCode:"KW",flag:"🇰🇼",callingCode:"965",name:"Kuwait"},KG:{countryCode:"KG",flag:"🇰🇬",callingCode:"996",name:"Kyrgyzstan"},LA:{countryCode:"LA",flag:"🇱🇦",callingCode:"856",name:"Laos"},LV:{countryCode:"LV",flag:"🇱🇻",callingCode:"371",name:"Latvia"},LB:{countryCode:"LB",flag:"🇱🇧",callingCode:"961",name:"Lebanon"},LS:{countryCode:"LS",flag:"🇱🇸",callingCode:"266",name:"Lesotho"},LR:{countryCode:"LR",flag:"🇱🇷",callingCode:"231",name:"Liberia"},LY:{countryCode:"LY",flag:"🇱🇾",callingCode:"218",name:"Libya"},LI:{countryCode:"LI",flag:"🇱🇮",callingCode:"423",name:"Liechtenstein"},LT:{countryCode:"LT",flag:"🇱🇹",callingCode:"370",name:"Lithuania"},LU:{countryCode:"LU",flag:"🇱🇺",callingCode:"352",name:"Luxembourg"},MO:{countryCode:"MO",flag:"🇲🇴",callingCode:"853",name:"Macao"},MG:{countryCode:"MG",flag:"🇲🇬",callingCode:"261",name:"Madagascar"},MW:{countryCode:"MW",flag:"🇲🇼",callingCode:"265",name:"Malawi"},MY:{countryCode:"MY",flag:"🇲🇾",callingCode:"60",name:"Malaysia"},MV:{countryCode:"MV",flag:"🇲🇻",callingCode:"960",name:"Maldives"},ML:{countryCode:"ML",flag:"🇲🇱",callingCode:"223",name:"Mali"},MT:{countryCode:"MT",flag:"🇲🇹",callingCode:"356",name:"Malta"},MH:{countryCode:"MH",flag:"🇲🇭",callingCode:"692",name:"Marshall Islands"},MQ:{countryCode:"MQ",flag:"🇲🇶",callingCode:"596",name:"Martinique"},MR:{countryCode:"MR",flag:"🇲🇷",callingCode:"222",name:"Mauritania"},MU:{countryCode:"MU",flag:"🇲🇺",callingCode:"230",name:"Mauritius"},YT:{countryCode:"YT",flag:"🇾🇹",callingCode:"262",name:"Mayotte"},MX:{countryCode:"MX",flag:"🇲🇽",callingCode:"52",name:"Mexico"},FM:{countryCode:"FM",flag:"🇫🇲",callingCode:"691",name:"Micronesia"},MD:{countryCode:"MD",flag:"🇲🇩",callingCode:"373",name:"Moldova"},MC:{countryCode:"MC",flag:"🇲🇨",callingCode:"377",name:"Monaco"},MN:{countryCode:"MN",flag:"🇲🇳",callingCode:"976",name:"Mongolia"},ME:{countryCode:"ME",flag:"🇲🇪",callingCode:"382",name:"Montenegro"},MS:{countryCode:"MS",flag:"🇲🇸",callingCode:"1",name:"Montserrat"},MA:{countryCode:"MA",flag:"🇲🇦",callingCode:"212",name:"Morocco"},MZ:{countryCode:"MZ",flag:"🇲🇿",callingCode:"258",name:"Mozambique"},MM:{countryCode:"MM",flag:"🇲🇲",callingCode:"95",name:"Myanmar (Burma)"},NA:{countryCode:"NA",flag:"🇳🇦",callingCode:"264",name:"Namibia"},NR:{countryCode:"NR",flag:"🇳🇷",callingCode:"674",name:"Nauru"},NP:{countryCode:"NP",flag:"🇳🇵",callingCode:"977",name:"Nepal"},NL:{countryCode:"NL",flag:"🇳🇱",callingCode:"31",name:"Netherlands"},NC:{countryCode:"NC",flag:"🇳🇨",callingCode:"687",name:"New Caledonia"},NZ:{countryCode:"NZ",flag:"🇳🇿",callingCode:"64",name:"New Zealand"},NI:{countryCode:"NI",flag:"🇳🇮",callingCode:"505",name:"Nicaragua"},NE:{countryCode:"NE",flag:"🇳🇪",callingCode:"227",name:"Niger"},NG:{countryCode:"NG",flag:"🇳🇬",callingCode:"234",name:"Nigeria"},NU:{countryCode:"NU",flag:"🇳🇺",callingCode:"683",name:"Niue"},NF:{countryCode:"NF",flag:"🇳🇫",callingCode:"672",name:"Norfolk Island"},KP:{countryCode:"KP",flag:"🇰🇵",callingCode:"850",name:"North Korea"},MK:{countryCode:"MK",flag:"🇲🇰",callingCode:"389",name:"North Macedonia"},MP:{countryCode:"MP",flag:"🇲🇵",callingCode:"1",name:"Northern Mariana Islands"},NO:{countryCode:"NO",flag:"🇳🇴",callingCode:"47",name:"Norway"},OM:{countryCode:"OM",flag:"🇴🇲",callingCode:"968",name:"Oman"},PK:{countryCode:"PK",flag:"🇵🇰",callingCode:"92",name:"Pakistan"},PW:{countryCode:"PW",flag:"🇵🇼",callingCode:"680",name:"Palau"},PS:{countryCode:"PS",flag:"🇵🇸",callingCode:"970",name:"Palestine"},PA:{countryCode:"PA",flag:"🇵🇦",callingCode:"507",name:"Panama"},PG:{countryCode:"PG",flag:"🇵🇬",callingCode:"675",name:"Papua New Guinea"},PY:{countryCode:"PY",flag:"🇵🇾",callingCode:"595",name:"Paraguay"},PE:{countryCode:"PE",flag:"🇵🇪",callingCode:"51",name:"Peru"},PH:{countryCode:"PH",flag:"🇵🇭",callingCode:"63",name:"Philippines"},PL:{countryCode:"PL",flag:"🇵🇱",callingCode:"48",name:"Poland"},PT:{countryCode:"PT",flag:"🇵🇹",callingCode:"351",name:"Portugal"},PR:{countryCode:"PR",flag:"🇵🇷",callingCode:"1",name:"Puerto Rico"},QA:{countryCode:"QA",flag:"🇶🇦",callingCode:"974",name:"Qatar"},CG:{countryCode:"CG",flag:"🇨🇬",callingCode:"242",name:"Republic of the Congo"},RE:{countryCode:"RE",flag:"🇷🇪",callingCode:"262",name:"Reunion"},RO:{countryCode:"RO",flag:"🇷🇴",callingCode:"40",name:"Romania"},RU:{countryCode:"RU",flag:"🇷🇺",callingCode:"7",name:"Russia"},RW:{countryCode:"RW",flag:"🇷🇼",callingCode:"250",name:"Rwanda"},BL:{countryCode:"BL",flag:"🇧🇱",callingCode:"590",name:"Saint Barthelemy"},SH:{countryCode:"SH",flag:"🇸🇭",callingCode:"290",name:"Saint Helena"},KN:{countryCode:"KN",flag:"🇰🇳",callingCode:"1",name:"Saint Kitts and Nevis"},LC:{countryCode:"LC",flag:"🇱🇨",callingCode:"1",name:"Saint Lucia"},MF:{countryCode:"MF",flag:"🇲🇫",callingCode:"590",name:"Saint Martin"},PM:{countryCode:"PM",flag:"🇵🇲",callingCode:"508",name:"Saint Pierre and Miquelon"},VC:{countryCode:"VC",flag:"🇻🇨",callingCode:"1",name:"Saint Vincent and the Grenadines"},WS:{countryCode:"WS",flag:"🇼🇸",callingCode:"685",name:"Samoa"},SM:{countryCode:"SM",flag:"🇸🇲",callingCode:"378",name:"San Marino"},ST:{countryCode:"ST",flag:"🇸🇹",callingCode:"239",name:"Sao Tome and Principe"},SA:{countryCode:"SA",flag:"🇸🇦",callingCode:"966",name:"Saudi Arabia"},SN:{countryCode:"SN",flag:"🇸🇳",callingCode:"221",name:"Senegal"},RS:{countryCode:"RS",flag:"🇷🇸",callingCode:"381",name:"Serbia"},SC:{countryCode:"SC",flag:"🇸🇨",callingCode:"248",name:"Seychelles"},SL:{countryCode:"SL",flag:"🇸🇱",callingCode:"232",name:"Sierra Leone"},SG:{countryCode:"SG",flag:"🇸🇬",callingCode:"65",name:"Singapore"},SX:{countryCode:"SX",flag:"🇸🇽",callingCode:"1",name:"Sint Maarten"},SK:{countryCode:"SK",flag:"🇸🇰",callingCode:"421",name:"Slovakia"},SI:{countryCode:"SI",flag:"🇸🇮",callingCode:"386",name:"Slovenia"},SB:{countryCode:"SB",flag:"🇸🇧",callingCode:"677",name:"Solomon Islands"},SO:{countryCode:"SO",flag:"🇸🇴",callingCode:"252",name:"Somalia"},ZA:{countryCode:"ZA",flag:"🇿🇦",callingCode:"27",name:"South Africa"},KR:{countryCode:"KR",flag:"🇰🇷",callingCode:"82",name:"South Korea"},SS:{countryCode:"SS",flag:"🇸🇸",callingCode:"211",name:"South Sudan"},ES:{countryCode:"ES",flag:"🇪🇸",callingCode:"34",name:"Spain"},LK:{countryCode:"LK",flag:"🇱🇰",callingCode:"94",name:"Sri Lanka"},SD:{countryCode:"SD",flag:"🇸🇩",callingCode:"249",name:"Sudan"},SR:{countryCode:"SR",flag:"🇸🇷",callingCode:"597",name:"Suriname"},SJ:{countryCode:"SJ",flag:"🇸🇯",callingCode:"47",name:"Svalbard and Jan Mayen"},SE:{countryCode:"SE",flag:"🇸🇪",callingCode:"46",name:"Sweden"},CH:{countryCode:"CH",flag:"🇨🇭",callingCode:"41",name:"Switzerland"},SY:{countryCode:"SY",flag:"🇸🇾",callingCode:"963",name:"Syria"},TW:{countryCode:"TW",flag:"🇹🇼",callingCode:"886",name:"Taiwan"},TJ:{countryCode:"TJ",flag:"🇹🇯",callingCode:"992",name:"Tajikistan"},TZ:{countryCode:"TZ",flag:"🇹🇿",callingCode:"255",name:"Tanzania"},TH:{countryCode:"TH",flag:"🇹🇭",callingCode:"66",name:"Thailand"},TG:{countryCode:"TG",flag:"🇹🇬",callingCode:"228",name:"Togo"},TK:{countryCode:"TK",flag:"🇹🇰",callingCode:"690",name:"Tokelau"},TO:{countryCode:"TO",flag:"🇹🇴",callingCode:"676",name:"Tonga"},TT:{countryCode:"TT",flag:"🇹🇹",callingCode:"1",name:"Trinidad and Tobago"},TN:{countryCode:"TN",flag:"🇹🇳",callingCode:"216",name:"Tunisia"},TR:{countryCode:"TR",flag:"🇹🇷",callingCode:"90",name:"Turkey"},TM:{countryCode:"TM",flag:"🇹🇲",callingCode:"993",name:"Turkmenistan"},TC:{countryCode:"TC",flag:"🇹🇨",callingCode:"1",name:"Turks and Caicos Islands"},TV:{countryCode:"TV",flag:"🇹🇻",callingCode:"688",name:"Tuvalu"},VI:{countryCode:"VI",flag:"🇻🇮",callingCode:"1",name:"U.S. Virgin Islands"},UG:{countryCode:"UG",flag:"🇺🇬",callingCode:"256",name:"Uganda"},UA:{countryCode:"UA",flag:"🇺🇦",callingCode:"380",name:"Ukraine"},AE:{countryCode:"AE",flag:"🇦🇪",callingCode:"971",name:"United Arab Emirates"},GB:{countryCode:"GB",flag:"🇬🇧",callingCode:"44",name:"United Kingdom"},US:{countryCode:"US",flag:"🇺🇸",callingCode:"1",name:"United States"},UY:{countryCode:"UY",flag:"🇺🇾",callingCode:"598",name:"Uruguay"},UZ:{countryCode:"UZ",flag:"🇺🇿",callingCode:"998",name:"Uzbekistan"},VU:{countryCode:"VU",flag:"🇻🇺",callingCode:"678",name:"Vanuatu"},VA:{countryCode:"VA",flag:"🇻🇦",callingCode:"39",name:"Vatican City"},VE:{countryCode:"VE",flag:"🇻🇪",callingCode:"58",name:"Venezuela"},VN:{countryCode:"VN",flag:"🇻🇳",callingCode:"84",name:"Vietnam"},WF:{countryCode:"WF",flag:"🇼🇫",callingCode:"681",name:"Wallis and Futuna"},EH:{countryCode:"EH",flag:"🇪🇭",callingCode:"212",name:"Western Sahara"},YE:{countryCode:"YE",flag:"🇾🇪",callingCode:"967",name:"Yemen"},ZM:{countryCode:"ZM",flag:"🇿🇲",callingCode:"260",name:"Zambia"},ZW:{countryCode:"ZW",flag:"🇿🇼",callingCode:"263",name:"Zimbabwe"}},e=[{countryCode:"AF",flag:"🇦🇫",callingCode:"93",name:"Afghanistan"},{countryCode:"AX",flag:"🇦🇽",callingCode:"358",name:"Aland"},{countryCode:"AL",flag:"🇦🇱",callingCode:"355",name:"Albania"},{countryCode:"DZ",flag:"🇩🇿",callingCode:"213",name:"Algeria"},{countryCode:"AS",flag:"🇦🇸",callingCode:"1",name:"American Samoa"},{countryCode:"AD",flag:"🇦🇩",callingCode:"376",name:"Andorra"},{countryCode:"AO",flag:"🇦🇴",callingCode:"244",name:"Angola"},{countryCode:"AI",flag:"🇦🇮",callingCode:"1",name:"Anguilla"},{countryCode:"AG",flag:"🇦🇬",callingCode:"1",name:"Antigua and Barbuda"},{countryCode:"AR",flag:"🇦🇷",callingCode:"54",name:"Argentina"},{countryCode:"AM",flag:"🇦🇲",callingCode:"374",name:"Armenia"},{countryCode:"AW",flag:"🇦🇼",callingCode:"297",name:"Aruba"},{countryCode:"AU",flag:"🇦🇺",callingCode:"61",name:"Australia"},{countryCode:"AT",flag:"🇦🇹",callingCode:"43",name:"Austria"},{countryCode:"AZ",flag:"🇦🇿",callingCode:"994",name:"Azerbaijan"},{countryCode:"BS",flag:"🇧🇸",callingCode:"1",name:"Bahamas"},{countryCode:"BH",flag:"🇧🇭",callingCode:"973",name:"Bahrain"},{countryCode:"BD",flag:"🇧🇩",callingCode:"880",name:"Bangladesh"},{countryCode:"BB",flag:"🇧🇧",callingCode:"1",name:"Barbados"},{countryCode:"BY",flag:"🇧🇾",callingCode:"375",name:"Belarus"},{countryCode:"BE",flag:"🇧🇪",callingCode:"32",name:"Belgium"},{countryCode:"BZ",flag:"🇧🇿",callingCode:"501",name:"Belize"},{countryCode:"BJ",flag:"🇧🇯",callingCode:"229",name:"Benin"},{countryCode:"BM",flag:"🇧🇲",callingCode:"1",name:"Bermuda"},{countryCode:"BT",flag:"🇧🇹",callingCode:"975",name:"Bhutan"},{countryCode:"BO",flag:"🇧🇴",callingCode:"591",name:"Bolivia"},{countryCode:"BQ",flag:"🇧🇶",callingCode:"599",name:"Bonaire"},{countryCode:"BA",flag:"🇧🇦",callingCode:"387",name:"Bosnia and Herzegovina"},{countryCode:"BW",flag:"🇧🇼",callingCode:"267",name:"Botswana"},{countryCode:"BR",flag:"🇧🇷",callingCode:"55",name:"Brazil"},{countryCode:"IO",flag:"🇮🇴",callingCode:"246",name:"British Indian Ocean Territory"},{countryCode:"VG",flag:"🇻🇬",callingCode:"1",name:"British Virgin Islands"},{countryCode:"BN",flag:"🇧🇳",callingCode:"673",name:"Brunei"},{countryCode:"BG",flag:"🇧🇬",callingCode:"359",name:"Bulgaria"},{countryCode:"BF",flag:"🇧🇫",callingCode:"226",name:"Burkina Faso"},{countryCode:"BI",flag:"🇧🇮",callingCode:"257",name:"Burundi"},{countryCode:"KH",flag:"🇰🇭",callingCode:"855",name:"Cambodia"},{countryCode:"CM",flag:"🇨🇲",callingCode:"237",name:"Cameroon"},{countryCode:"CA",flag:"🇨🇦",callingCode:"1",name:"Canada"},{countryCode:"CV",flag:"🇨🇻",callingCode:"238",name:"Cape Verde"},{countryCode:"KY",flag:"🇰🇾",callingCode:"1",name:"Cayman Islands"},{countryCode:"CF",flag:"🇨🇫",callingCode:"236",name:"Central African Republic"},{countryCode:"TD",flag:"🇹🇩",callingCode:"235",name:"Chad"},{countryCode:"CL",flag:"🇨🇱",callingCode:"56",name:"Chile"},{countryCode:"CN",flag:"🇨🇳",callingCode:"86",name:"China"},{countryCode:"CX",flag:"🇨🇽",callingCode:"61",name:"Christmas Island"},{countryCode:"CC",flag:"🇨🇨",callingCode:"61",name:"Cocos (Keeling) Islands"},{countryCode:"CO",flag:"🇨🇴",callingCode:"57",name:"Colombia"},{countryCode:"KM",flag:"🇰🇲",callingCode:"269",name:"Comoros"},{countryCode:"CK",flag:"🇨🇰",callingCode:"682",name:"Cook Islands"},{countryCode:"CR",flag:"🇨🇷",callingCode:"506",name:"Costa Rica"},{countryCode:"HR",flag:"🇭🇷",callingCode:"385",name:"Croatia"},{countryCode:"CU",flag:"🇨🇺",callingCode:"53",name:"Cuba"},{countryCode:"CW",flag:"🇨🇼",callingCode:"599",name:"Curacao"},{countryCode:"CY",flag:"🇨🇾",callingCode:"357",name:"Cyprus"},{countryCode:"CZ",flag:"🇨🇿",callingCode:"420",name:"Czech Republic"},{countryCode:"CD",flag:"🇨🇩",callingCode:"243",name:"Democratic Republic of the Congo"},{countryCode:"DK",flag:"🇩🇰",callingCode:"45",name:"Denmark"},{countryCode:"DJ",flag:"🇩🇯",callingCode:"253",name:"Djibouti"},{countryCode:"DM",flag:"🇩🇲",callingCode:"1",name:"Dominica"},{countryCode:"DO",flag:"🇩🇴",callingCode:"1",name:"Dominican Republic"},{countryCode:"TL",flag:"🇹🇱",callingCode:"670",name:"East Timor"},{countryCode:"EC",flag:"🇪🇨",callingCode:"593",name:"Ecuador"},{countryCode:"EG",flag:"🇪🇬",callingCode:"20",name:"Egypt"},{countryCode:"SV",flag:"🇸🇻",callingCode:"503",name:"El Salvador"},{countryCode:"GQ",flag:"🇬🇶",callingCode:"240",name:"Equatorial Guinea"},{countryCode:"ER",flag:"🇪🇷",callingCode:"291",name:"Eritrea"},{countryCode:"EE",flag:"🇪🇪",callingCode:"372",name:"Estonia"},{countryCode:"SZ",flag:"🇸🇿",callingCode:"268",name:"Eswatini"},{countryCode:"ET",flag:"🇪🇹",callingCode:"251",name:"Ethiopia"},{countryCode:"FK",flag:"🇫🇰",callingCode:"500",name:"Falkland Islands"},{countryCode:"FO",flag:"🇫🇴",callingCode:"298",name:"Faroe Islands"},{countryCode:"FJ",flag:"🇫🇯",callingCode:"679",name:"Fiji"},{countryCode:"FI",flag:"🇫🇮",callingCode:"358",name:"Finland"},{countryCode:"FR",flag:"🇫🇷",callingCode:"33",name:"France"},{countryCode:"GF",flag:"🇬🇫",callingCode:"594",name:"French Guiana"},{countryCode:"PF",flag:"🇵🇫",callingCode:"689",name:"French Polynesia"},{countryCode:"GA",flag:"🇬🇦",callingCode:"241",name:"Gabon"},{countryCode:"GM",flag:"🇬🇲",callingCode:"220",name:"Gambia"},{countryCode:"GE",flag:"🇬🇪",callingCode:"995",name:"Georgia"},{countryCode:"DE",flag:"🇩🇪",callingCode:"49",name:"Germany"},{countryCode:"GH",flag:"🇬🇭",callingCode:"233",name:"Ghana"},{countryCode:"GI",flag:"🇬🇮",callingCode:"350",name:"Gibraltar"},{countryCode:"GR",flag:"🇬🇷",callingCode:"30",name:"Greece"},{countryCode:"GL",flag:"🇬🇱",callingCode:"299",name:"Greenland"},{countryCode:"GD",flag:"🇬🇩",callingCode:"1",name:"Grenada"},{countryCode:"GP",flag:"🇬🇵",callingCode:"590",name:"Guadeloupe"},{countryCode:"GU",flag:"🇬🇺",callingCode:"1",name:"Guam"},{countryCode:"GT",flag:"🇬🇹",callingCode:"502",name:"Guatemala"},{countryCode:"GG",flag:"🇬🇬",callingCode:"44",name:"Guernsey"},{countryCode:"GN",flag:"🇬🇳",callingCode:"224",name:"Guinea"},{countryCode:"GW",flag:"🇬🇼",callingCode:"245",name:"Guinea-Bissau"},{countryCode:"GY",flag:"🇬🇾",callingCode:"592",name:"Guyana"},{countryCode:"HT",flag:"🇭🇹",callingCode:"509",name:"Haiti"},{countryCode:"HN",flag:"🇭🇳",callingCode:"504",name:"Honduras"},{countryCode:"HK",flag:"🇭🇰",callingCode:"852",name:"Hong Kong"},{countryCode:"HU",flag:"🇭🇺",callingCode:"36",name:"Hungary"},{countryCode:"IS",flag:"🇮🇸",callingCode:"354",name:"Iceland"},{countryCode:"IN",flag:"🇮🇳",callingCode:"91",name:"India"},{countryCode:"ID",flag:"🇮🇩",callingCode:"62",name:"Indonesia"},{countryCode:"IR",flag:"🇮🇷",callingCode:"98",name:"Iran"},{countryCode:"IQ",flag:"🇮🇶",callingCode:"964",name:"Iraq"},{countryCode:"IE",flag:"🇮🇪",callingCode:"353",name:"Ireland"},{countryCode:"IM",flag:"🇮🇲",callingCode:"44",name:"Isle of Man"},{countryCode:"IL",flag:"🇮🇱",callingCode:"972",name:"Israel"},{countryCode:"IT",flag:"🇮🇹",callingCode:"39",name:"Italy"},{countryCode:"CI",flag:"🇨🇮",callingCode:"225",name:"Ivory Coast"},{countryCode:"JM",flag:"🇯🇲",callingCode:"1",name:"Jamaica"},{countryCode:"JP",flag:"🇯🇵",callingCode:"81",name:"Japan"},{countryCode:"JE",flag:"🇯🇪",callingCode:"44",name:"Jersey"},{countryCode:"JO",flag:"🇯🇴",callingCode:"962",name:"Jordan"},{countryCode:"KZ",flag:"🇰🇿",callingCode:"7",name:"Kazakhstan"},{countryCode:"KE",flag:"🇰🇪",callingCode:"254",name:"Kenya"},{countryCode:"KI",flag:"🇰🇮",callingCode:"686",name:"Kiribati"},{countryCode:"XK",flag:"🇽🇰",callingCode:"383",name:"Kosovo"},{countryCode:"KW",flag:"🇰🇼",callingCode:"965",name:"Kuwait"},{countryCode:"KG",flag:"🇰🇬",callingCode:"996",name:"Kyrgyzstan"},{countryCode:"LA",flag:"🇱🇦",callingCode:"856",name:"Laos"},{countryCode:"LV",flag:"🇱🇻",callingCode:"371",name:"Latvia"},{countryCode:"LB",flag:"🇱🇧",callingCode:"961",name:"Lebanon"},{countryCode:"LS",flag:"🇱🇸",callingCode:"266",name:"Lesotho"},{countryCode:"LR",flag:"🇱🇷",callingCode:"231",name:"Liberia"},{countryCode:"LY",flag:"🇱🇾",callingCode:"218",name:"Libya"},{countryCode:"LI",flag:"🇱🇮",callingCode:"423",name:"Liechtenstein"},{countryCode:"LT",flag:"🇱🇹",callingCode:"370",name:"Lithuania"},{countryCode:"LU",flag:"🇱🇺",callingCode:"352",name:"Luxembourg"},{countryCode:"MO",flag:"🇲🇴",callingCode:"853",name:"Macao"},{countryCode:"MG",flag:"🇲🇬",callingCode:"261",name:"Madagascar"},{countryCode:"MW",flag:"🇲🇼",callingCode:"265",name:"Malawi"},{countryCode:"MY",flag:"🇲🇾",callingCode:"60",name:"Malaysia"},{countryCode:"MV",flag:"🇲🇻",callingCode:"960",name:"Maldives"},{countryCode:"ML",flag:"🇲🇱",callingCode:"223",name:"Mali"},{countryCode:"MT",flag:"🇲🇹",callingCode:"356",name:"Malta"},{countryCode:"MH",flag:"🇲🇭",callingCode:"692",name:"Marshall Islands"},{countryCode:"MQ",flag:"🇲🇶",callingCode:"596",name:"Martinique"},{countryCode:"MR",flag:"🇲🇷",callingCode:"222",name:"Mauritania"},{countryCode:"MU",flag:"🇲🇺",callingCode:"230",name:"Mauritius"},{countryCode:"YT",flag:"🇾🇹",callingCode:"262",name:"Mayotte"},{countryCode:"MX",flag:"🇲🇽",callingCode:"52",name:"Mexico"},{countryCode:"FM",flag:"🇫🇲",callingCode:"691",name:"Micronesia"},{countryCode:"MD",flag:"🇲🇩",callingCode:"373",name:"Moldova"},{countryCode:"MC",flag:"🇲🇨",callingCode:"377",name:"Monaco"},{countryCode:"MN",flag:"🇲🇳",callingCode:"976",name:"Mongolia"},{countryCode:"ME",flag:"🇲🇪",callingCode:"382",name:"Montenegro"},{countryCode:"MS",flag:"🇲🇸",callingCode:"1",name:"Montserrat"},{countryCode:"MA",flag:"🇲🇦",callingCode:"212",name:"Morocco"},{countryCode:"MZ",flag:"🇲🇿",callingCode:"258",name:"Mozambique"},{countryCode:"MM",flag:"🇲🇲",callingCode:"95",name:"Myanmar (Burma)"},{countryCode:"NA",flag:"🇳🇦",callingCode:"264",name:"Namibia"},{countryCode:"NR",flag:"🇳🇷",callingCode:"674",name:"Nauru"},{countryCode:"NP",flag:"🇳🇵",callingCode:"977",name:"Nepal"},{countryCode:"NL",flag:"🇳🇱",callingCode:"31",name:"Netherlands"},{countryCode:"NC",flag:"🇳🇨",callingCode:"687",name:"New Caledonia"},{countryCode:"NZ",flag:"🇳🇿",callingCode:"64",name:"New Zealand"},{countryCode:"NI",flag:"🇳🇮",callingCode:"505",name:"Nicaragua"},{countryCode:"NE",flag:"🇳🇪",callingCode:"227",name:"Niger"},{countryCode:"NG",flag:"🇳🇬",callingCode:"234",name:"Nigeria"},{countryCode:"NU",flag:"🇳🇺",callingCode:"683",name:"Niue"},{countryCode:"NF",flag:"🇳🇫",callingCode:"672",name:"Norfolk Island"},{countryCode:"KP",flag:"🇰🇵",callingCode:"850",name:"North Korea"},{countryCode:"MK",flag:"🇲🇰",callingCode:"389",name:"North Macedonia"},{countryCode:"MP",flag:"🇲🇵",callingCode:"1",name:"Northern Mariana Islands"},{countryCode:"NO",flag:"🇳🇴",callingCode:"47",name:"Norway"},{countryCode:"OM",flag:"🇴🇲",callingCode:"968",name:"Oman"},{countryCode:"PK",flag:"🇵🇰",callingCode:"92",name:"Pakistan"},{countryCode:"PW",flag:"🇵🇼",callingCode:"680",name:"Palau"},{countryCode:"PS",flag:"🇵🇸",callingCode:"970",name:"Palestine"},{countryCode:"PA",flag:"🇵🇦",callingCode:"507",name:"Panama"},{countryCode:"PG",flag:"🇵🇬",callingCode:"675",name:"Papua New Guinea"},{countryCode:"PY",flag:"🇵🇾",callingCode:"595",name:"Paraguay"},{countryCode:"PE",flag:"🇵🇪",callingCode:"51",name:"Peru"},{countryCode:"PH",flag:"🇵🇭",callingCode:"63",name:"Philippines"},{countryCode:"PL",flag:"🇵🇱",callingCode:"48",name:"Poland"},{countryCode:"PT",flag:"🇵🇹",callingCode:"351",name:"Portugal"},{countryCode:"PR",flag:"🇵🇷",callingCode:"1",name:"Puerto Rico"},{countryCode:"QA",flag:"🇶🇦",callingCode:"974",name:"Qatar"},{countryCode:"CG",flag:"🇨🇬",callingCode:"242",name:"Republic of the Congo"},{countryCode:"RE",flag:"🇷🇪",callingCode:"262",name:"Reunion"},{countryCode:"RO",flag:"🇷🇴",callingCode:"40",name:"Romania"},{countryCode:"RU",flag:"🇷🇺",callingCode:"7",name:"Russia"},{countryCode:"RW",flag:"🇷🇼",callingCode:"250",name:"Rwanda"},{countryCode:"BL",flag:"🇧🇱",callingCode:"590",name:"Saint Barthelemy"},{countryCode:"SH",flag:"🇸🇭",callingCode:"290",name:"Saint Helena"},{countryCode:"KN",flag:"🇰🇳",callingCode:"1",name:"Saint Kitts and Nevis"},{countryCode:"LC",flag:"🇱🇨",callingCode:"1",name:"Saint Lucia"},{countryCode:"MF",flag:"🇲🇫",callingCode:"590",name:"Saint Martin"},{countryCode:"PM",flag:"🇵🇲",callingCode:"508",name:"Saint Pierre and Miquelon"},{countryCode:"VC",flag:"🇻🇨",callingCode:"1",name:"Saint Vincent and the Grenadines"},{countryCode:"WS",flag:"🇼🇸",callingCode:"685",name:"Samoa"},{countryCode:"SM",flag:"🇸🇲",callingCode:"378",name:"San Marino"},{countryCode:"ST",flag:"🇸🇹",callingCode:"239",name:"Sao Tome and Principe"},{countryCode:"SA",flag:"🇸🇦",callingCode:"966",name:"Saudi Arabia"},{countryCode:"SN",flag:"🇸🇳",callingCode:"221",name:"Senegal"},{countryCode:"RS",flag:"🇷🇸",callingCode:"381",name:"Serbia"},{countryCode:"SC",flag:"🇸🇨",callingCode:"248",name:"Seychelles"},{countryCode:"SL",flag:"🇸🇱",callingCode:"232",name:"Sierra Leone"},{countryCode:"SG",flag:"🇸🇬",callingCode:"65",name:"Singapore"},{countryCode:"SX",flag:"🇸🇽",callingCode:"1",name:"Sint Maarten"},{countryCode:"SK",flag:"🇸🇰",callingCode:"421",name:"Slovakia"},{countryCode:"SI",flag:"🇸🇮",callingCode:"386",name:"Slovenia"},{countryCode:"SB",flag:"🇸🇧",callingCode:"677",name:"Solomon Islands"},{countryCode:"SO",flag:"🇸🇴",callingCode:"252",name:"Somalia"},{countryCode:"ZA",flag:"🇿🇦",callingCode:"27",name:"South Africa"},{countryCode:"KR",flag:"🇰🇷",callingCode:"82",name:"South Korea"},{countryCode:"SS",flag:"🇸🇸",callingCode:"211",name:"South Sudan"},{countryCode:"ES",flag:"🇪🇸",callingCode:"34",name:"Spain"},{countryCode:"LK",flag:"🇱🇰",callingCode:"94",name:"Sri Lanka"},{countryCode:"SD",flag:"🇸🇩",callingCode:"249",name:"Sudan"},{countryCode:"SR",flag:"🇸🇷",callingCode:"597",name:"Suriname"},{countryCode:"SJ",flag:"🇸🇯",callingCode:"47",name:"Svalbard and Jan Mayen"},{countryCode:"SE",flag:"🇸🇪",callingCode:"46",name:"Sweden"},{countryCode:"CH",flag:"🇨🇭",callingCode:"41",name:"Switzerland"},{countryCode:"SY",flag:"🇸🇾",callingCode:"963",name:"Syria"},{countryCode:"TW",flag:"🇹🇼",callingCode:"886",name:"Taiwan"},{countryCode:"TJ",flag:"🇹🇯",callingCode:"992",name:"Tajikistan"},{countryCode:"TZ",flag:"🇹🇿",callingCode:"255",name:"Tanzania"},{countryCode:"TH",flag:"🇹🇭",callingCode:"66",name:"Thailand"},{countryCode:"TG",flag:"🇹🇬",callingCode:"228",name:"Togo"},{countryCode:"TK",flag:"🇹🇰",callingCode:"690",name:"Tokelau"},{countryCode:"TO",flag:"🇹🇴",callingCode:"676",name:"Tonga"},{countryCode:"TT",flag:"🇹🇹",callingCode:"1",name:"Trinidad and Tobago"},{countryCode:"TN",flag:"🇹🇳",callingCode:"216",name:"Tunisia"},{countryCode:"TR",flag:"🇹🇷",callingCode:"90",name:"Turkey"},{countryCode:"TM",flag:"🇹🇲",callingCode:"993",name:"Turkmenistan"},{countryCode:"TC",flag:"🇹🇨",callingCode:"1",name:"Turks and Caicos Islands"},{countryCode:"TV",flag:"🇹🇻",callingCode:"688",name:"Tuvalu"},{countryCode:"VI",flag:"🇻🇮",callingCode:"1",name:"U.S. Virgin Islands"},{countryCode:"UG",flag:"🇺🇬",callingCode:"256",name:"Uganda"},{countryCode:"UA",flag:"🇺🇦",callingCode:"380",name:"Ukraine"},{countryCode:"AE",flag:"🇦🇪",callingCode:"971",name:"United Arab Emirates"},{countryCode:"GB",flag:"🇬🇧",callingCode:"44",name:"United Kingdom"},{countryCode:"US",flag:"🇺🇸",callingCode:"1",name:"United States"},{countryCode:"UY",flag:"🇺🇾",callingCode:"598",name:"Uruguay"},{countryCode:"UZ",flag:"🇺🇿",callingCode:"998",name:"Uzbekistan"},{countryCode:"VU",flag:"🇻🇺",callingCode:"678",name:"Vanuatu"},{countryCode:"VA",flag:"🇻🇦",callingCode:"39",name:"Vatican City"},{countryCode:"VE",flag:"🇻🇪",callingCode:"58",name:"Venezuela"},{countryCode:"VN",flag:"🇻🇳",callingCode:"84",name:"Vietnam"},{countryCode:"WF",flag:"🇼🇫",callingCode:"681",name:"Wallis and Futuna"},{countryCode:"EH",flag:"🇪🇭",callingCode:"212",name:"Western Sahara"},{countryCode:"YE",flag:"🇾🇪",callingCode:"967",name:"Yemen"},{countryCode:"ZM",flag:"🇿🇲",callingCode:"260",name:"Zambia"},{countryCode:"ZW",flag:"🇿🇼",callingCode:"263",name:"Zimbabwe"}],l=function(a){return n[a].callingCode},d=function(a){return n[a].flag};
14048
+
14049
+ var _excluded$H = ["size", "disabled", "value", "onChange", "defaultCountry"];
14050
+ var renderOption = function renderOption(option, data) {
14051
+ return /*#__PURE__*/React__default["default"].createElement(React__default["default"].Fragment, null, /*#__PURE__*/React__default["default"].createElement(StyledOptionWrapper, null, /*#__PURE__*/React__default["default"].createElement(StyledOptionFlag, null, d(option.id)), /*#__PURE__*/React__default["default"].createElement(StyledOptionName, null, option.name)), /*#__PURE__*/React__default["default"].createElement(RadioButton, {
14052
+ checked: data.checked,
14053
+ onChange: data.onChange
14054
+ }));
14055
+ };
14056
+ var InputPhone = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
14057
+ var _ref$size = _ref.size,
14058
+ size = _ref$size === void 0 ? "regular" : _ref$size,
14059
+ disabled = _ref.disabled,
14060
+ _ref$value = _ref.value,
14061
+ defaultValue = _ref$value === void 0 ? "" : _ref$value,
14062
+ onChange = _ref.onChange,
14063
+ _ref$defaultCountry = _ref.defaultCountry,
14064
+ defaultCountry = _ref$defaultCountry === void 0 ? "US" : _ref$defaultCountry,
14065
+ rest = _objectWithoutProperties(_ref, _excluded$H);
14066
+ var inputRef = React.useRef(null);
14067
+ var handleRef = useForkRef(ref, inputRef);
14068
+ var _useState = React.useState(defaultCountry),
14069
+ _useState2 = _slicedToArray(_useState, 2),
14070
+ prefix = _useState2[0],
14071
+ setPrefix = _useState2[1];
14072
+ var _useState3 = React.useState(""),
14073
+ _useState4 = _slicedToArray(_useState3, 2),
14074
+ value = _useState4[0],
14075
+ setValue = _useState4[1];
14076
+ var options = e.map(function (country) {
14077
+ return {
14078
+ id: country.countryCode,
14079
+ name: "+".concat(country.callingCode, " ").concat(country.name)
14080
+ };
14081
+ });
14082
+ var separatePrefixFromValue = function separatePrefixFromValue(fullValue) {
14083
+ var newPrefix = prefix;
14084
+ var newValue = fullValue;
14085
+ if (fullValue.startsWith("+") || fullValue.startsWith("00")) {
14086
+ var prefixLength = fullValue.startsWith("+") ? 1 : 2;
14087
+ var digits = fullValue.slice(prefixLength);
14088
+ for (var i = digits.length; i >= 1; i--) {
14089
+ var code = digits.slice(0, i);
14090
+ if (a[code]) {
14091
+ newPrefix = a[code];
14092
+ newValue = fullValue.slice(prefixLength + l(newPrefix).length);
14093
+ break;
14094
+ }
14095
+ }
14096
+ } else if (fullValue.startsWith(prefix)) {
14097
+ newValue = fullValue.slice(prefix.length);
14098
+ }
14099
+ return {
14100
+ newPrefix,
14101
+ newValue
14102
+ };
14103
+ };
14104
+ React.useEffect(function () {
14105
+ var _separatePrefixFromVa = separatePrefixFromValue(defaultValue),
14106
+ newPrefix = _separatePrefixFromVa.newPrefix,
14107
+ newValue = _separatePrefixFromVa.newValue;
14108
+ setPrefix(newPrefix);
14109
+ setValue(newValue);
14110
+ // eslint-disable-next-line react-hooks/exhaustive-deps
14111
+ }, [defaultValue]);
14112
+ var handleChange = React.useCallback(function (e) {
14113
+ var inputValue = e.target.value;
14114
+ if (/[^0-9+]/.test(inputValue)) {
14115
+ return;
14116
+ }
14117
+ var _separatePrefixFromVa2 = separatePrefixFromValue(inputValue),
14118
+ newPrefix = _separatePrefixFromVa2.newPrefix,
14119
+ newValue = _separatePrefixFromVa2.newValue;
14120
+ setPrefix(newPrefix);
14121
+ setValue(newValue);
14122
+ typeof onChange === "function" && onChange("+".concat(l(newPrefix)).concat(newValue));
14123
+ },
14124
+ // eslint-disable-next-line react-hooks/exhaustive-deps
14125
+ [onChange, prefix]);
14126
+ var handleSelectChange = function handleSelectChange(val) {
14127
+ setPrefix(val);
14128
+ typeof onChange === "function" && onChange("+".concat(l(val)).concat(value));
14129
+ };
14130
+ var handlePaste = function handlePaste(e) {
14131
+ e.preventDefault();
14132
+ var paste = e.clipboardData.getData("text");
14133
+ var filteredPaste = paste.replace(/[^0-9+]/g, "");
14134
+ var inputElement = e.currentTarget;
14135
+ var selectionStart = inputElement.selectionStart,
14136
+ selectionEnd = inputElement.selectionEnd;
14137
+ if (selectionStart !== null && selectionEnd !== null) {
14138
+ var currentValue = inputElement.value;
14139
+ var beforeSelection = currentValue.slice(0, selectionStart);
14140
+ var afterSelection = currentValue.slice(selectionEnd);
14141
+ var newValueAfterPaste = beforeSelection + filteredPaste + afterSelection;
14142
+ var _separatePrefixFromVa3 = separatePrefixFromValue(newValueAfterPaste),
14143
+ newPrefix = _separatePrefixFromVa3.newPrefix,
14144
+ newValue = _separatePrefixFromVa3.newValue;
14145
+ setPrefix(newPrefix);
14146
+ setValue(newValue);
14147
+ typeof onChange === "function" && onChange("+".concat(l(newPrefix)).concat(newValue));
14148
+ }
14149
+ };
14150
+ return /*#__PURE__*/React__default["default"].createElement(Input, _extends({}, rest, {
14151
+ ref: handleRef,
14152
+ size: size,
14153
+ value: value,
14154
+ disabled: disabled,
14155
+ type: "text",
14156
+ onPaste: handlePaste,
14157
+ onChange: handleChange,
14158
+ "data-testid": "InputPhone",
14159
+ startAdornment: /*#__PURE__*/React__default["default"].createElement(InputSelect, {
14160
+ size: size,
14161
+ onChange: handleSelectChange,
14162
+ options: options,
14163
+ selected: prefix,
14164
+ selectedLabel: /*#__PURE__*/React__default["default"].createElement(React__default["default"].Fragment, null, /*#__PURE__*/React__default["default"].createElement(StyledFlagTriggerLabel, {
14165
+ $size: size
14166
+ }, d(prefix)), "+", l(prefix)),
14167
+ disabled: disabled,
14168
+ keepSameOptionsOrder: false,
14169
+ search: true,
14170
+ renderOption: renderOption
14171
+ })
14172
+ }));
14173
+ });
14174
+ InputPhone.displayName = "InputPhone";
14175
+
14015
14176
  var _excluded$G = ["expanded"];
14016
14177
  var ExpandAll = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
14017
14178
  var _ref$expanded = _ref.expanded,
@@ -19394,6 +19555,7 @@
19394
19555
  exports.InputHours = InputHours;
19395
19556
  exports.InputNumber = InputNumber;
19396
19557
  exports.InputPassword = InputPassword;
19558
+ exports.InputPhone = InputPhone;
19397
19559
  exports.InputUrl = InputUrl;
19398
19560
  exports.InsertLinkIcon = InsertLinkIcon$1;
19399
19561
  exports.IntegrationsIcon = IntegrationsIcon$1;