paymob-pixel-alpha 1.1.37 → 1.1.39

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 (4) hide show
  1. package/main.css +11 -11
  2. package/main.js +254 -94
  3. package/package.json +1 -1
  4. package/styles.css +1 -1
package/main.js CHANGED
@@ -19862,11 +19862,17 @@ function src_Accordion(props) {
19862
19862
  } = props;
19863
19863
  const {
19864
19864
  borderStyle
19865
- } = src_useSafeSelector_useSafeSelector(state => state.customization);
19866
- const discounts = src_useSafeSelector_useSafeSelector(state => state.discounts);
19865
+ } = src_useSelector_useSelector(state => state.customization);
19866
+ const discounts = src_useSelector_useSelector(state => state.discounts);
19867
19867
  const {
19868
19868
  isSplitPaymentsView
19869
- } = src_useSafeSelector_useSafeSelector(state => state.splitPayments);
19869
+ } = src_useSelector_useSelector(state => state.splitPayments);
19870
+ const {
19871
+ fastCheckoutAccount = {}
19872
+ } = src_useSelector_useSelector(state => state.fastCheckoutAccount);
19873
+ const {
19874
+ canUseFastCheckout
19875
+ } = fastCheckoutAccount;
19870
19876
  const isCard = type === src_paymentMethodsConstants.CARD;
19871
19877
  const isWallet = type === src_paymentMethodsConstants.E_WALLET;
19872
19878
  const discountCount = isCard ? discounts == null || (_discounts$cards = discounts.cards) == null ? void 0 : _discounts$cards.count : isWallet ? discounts == null || (_discounts$wallets = discounts.wallets) == null ? void 0 : _discounts$wallets.count : 0;
@@ -19899,7 +19905,7 @@ function src_Accordion(props) {
19899
19905
  children: tPayments(title)
19900
19906
  }), /*#__PURE__*/(0,src_jsx_runtime.jsxs)("div", {
19901
19907
  className: "flex gap-2 ml-auto",
19902
- children: [!!discountCount && !isSplitPaymentsView && /*#__PURE__*/(0,src_jsx_runtime.jsxs)("div", {
19908
+ children: [!!discountCount && !isSplitPaymentsView && !canUseFastCheckout && /*#__PURE__*/(0,src_jsx_runtime.jsxs)("div", {
19903
19909
  className: "flex px-2 py-[0.15rem] justify-center items-center gap-1 rounded-2xl bg-green-25 text-green-400 font-semibold text-sm",
19904
19910
  children: [/*#__PURE__*/(0,src_jsx_runtime.jsx)("span", {
19905
19911
  children: discountCount
@@ -32931,7 +32937,7 @@ const src_Download = /*#__PURE__*/(0,src_jsx_runtime.jsx)("svg", {
32931
32937
  fill: "#101828"
32932
32938
  })
32933
32939
  });
32934
- const src_EllipsisVertical = /*#__PURE__*/(0,src_jsx_runtime.jsx)("svg", {
32940
+ const src_Icons_EllipsisVertical = /*#__PURE__*/(0,src_jsx_runtime.jsx)("svg", {
32935
32941
  width: "24",
32936
32942
  height: "24",
32937
32943
  viewBox: "0 0 24 24",
@@ -33162,7 +33168,7 @@ const src_Lock = /*#__PURE__*/(0,src_jsx_runtime.jsx)("svg", {
33162
33168
  fill: "#101828"
33163
33169
  })
33164
33170
  });
33165
- const src_MagnifyingGlass = /*#__PURE__*/(0,src_jsx_runtime.jsx)("svg", {
33171
+ const src_Icons_MagnifyingGlass = /*#__PURE__*/(0,src_jsx_runtime.jsx)("svg", {
33166
33172
  width: "24",
33167
33173
  height: "24",
33168
33174
  viewBox: "0 0 24 24",
@@ -34605,7 +34611,7 @@ const src_cloneNestedComponent_cloneNestedComponent = (child, targetComponent, a
34605
34611
  };
34606
34612
  ;// ../../libs/design-system/src/components/Dropdown/DropdownButton/dropdown-button.module.scss
34607
34613
  // extracted by mini-css-extract-plugin
34608
- /* harmony default export */ const src_dropdown_button_module = ({"dropdown-btn":"dropdown-button_dropdown-btn__76VmN","dropdown-btn__leading-icon":"dropdown-button_dropdown-btn__leading-icon__Q2k-p","dropdown-btn__trailing-icon":"dropdown-button_dropdown-btn__trailing-icon__oXzft","dropdown-btn__dropdown-chevron":"dropdown-button_dropdown-btn__dropdown-chevron__OnCYV","dropdown-btn__clear":"dropdown-button_dropdown-btn__clear__aTf4i","dropdown-btn__text":"dropdown-button_dropdown-btn__text__dERj0","dropdown-btn__text--placeholder":"dropdown-button_dropdown-btn__text--placeholder__voFf7","dropdown-btn__label":"dropdown-button_dropdown-btn__label__9svDR"});
34614
+ /* harmony default export */ const src_dropdown_button_module = ({"dropdown-btn":"dropdown-button_dropdown-btn__76VmN","dropdown-btn__render-as":"dropdown-button_dropdown-btn__render-as__w9Rw9","dropdown-btn__leading-icon":"dropdown-button_dropdown-btn__leading-icon__Q2k-p","dropdown-btn__trailing-icon":"dropdown-button_dropdown-btn__trailing-icon__oXzft","dropdown-btn__dropdown-chevron":"dropdown-button_dropdown-btn__dropdown-chevron__OnCYV","dropdown-btn__clear":"dropdown-button_dropdown-btn__clear__aTf4i","dropdown-btn__text":"dropdown-button_dropdown-btn__text__dERj0","dropdown-btn__text--placeholder":"dropdown-button_dropdown-btn__text--placeholder__voFf7","dropdown-btn__label":"dropdown-button_dropdown-btn__label__9svDR"});
34609
34615
  ;// ../../libs/design-system/src/components/Dropdown/DropdownButton/index.tsx
34610
34616
 
34611
34617
  const src_DropdownButton_excluded = (/* unused pure expression or super */ null && (["type", "direction", "color", "leadingIcon", "trailingIcon", "hideDropdownChevron", "placeholder", "label", "text", "disabled", "onClickHandler", "onBlurHandler", "onClearHandler", "renderAs"]));
@@ -34644,6 +34650,7 @@ const src_DropdownButton_DropdownButton = _ref => {
34644
34650
  onClearHandler == null || onClearHandler(e);
34645
34651
  };
34646
34652
  return renderAs ? /*#__PURE__*/_jsx("div", {
34653
+ className: styles['dropdown-btn__render-as'],
34647
34654
  onClick: toggleDropdown,
34648
34655
  children: renderAs
34649
34656
  }) : /*#__PURE__*/_jsxs("button", Object.assign({
@@ -34907,7 +34914,7 @@ const src_Checkbox_Checkbox = props => {
34907
34914
  /* harmony default export */ const src_dropdown_menu_item_module = ({"dropdown-menu-item":"dropdown-menu-item_dropdown-menu-item__j2YKI","dropdown-menu-item__featured-icon":"dropdown-menu-item_dropdown-menu-item__featured-icon__Qv0+K","dropdown-menu-item__checkbox":"dropdown-menu-item_dropdown-menu-item__checkbox__-+YC3","dropdown-menu-item__text-box":"dropdown-menu-item_dropdown-menu-item__text-box__hn+gO","dropdown-menu-item__text-box__text":"dropdown-menu-item_dropdown-menu-item__text-box__text__tYFxh","dropdown-menu-item__text-box__hint-text":"dropdown-menu-item_dropdown-menu-item__text-box__hint-text__wWO4l","dropdown-menu-item__tick-icon":"dropdown-menu-item_dropdown-menu-item__tick-icon__trZDH"});
34908
34915
  ;// ../../libs/design-system/src/components/Dropdown/DropdownMenuItem/index.tsx
34909
34916
 
34910
- const src_DropdownMenuItem_excluded = (/* unused pure expression or super */ null && (["type", "text", "hintText", "disabled", "closeOnItemClick"]));
34917
+ const src_DropdownMenuItem_excluded = (/* unused pure expression or super */ null && (["type", "text", "count", "hintText", "disabled", "closeOnItemClick"]));
34911
34918
 
34912
34919
 
34913
34920
 
@@ -34917,6 +34924,7 @@ const src_DropdownMenuItem_DropdownMenuItem = props => {
34917
34924
  {
34918
34925
  type = 'default',
34919
34926
  text,
34927
+ count,
34920
34928
  hintText,
34921
34929
  disabled = false,
34922
34930
  closeOnItemClick = true
@@ -34927,7 +34935,9 @@ const src_DropdownMenuItem_DropdownMenuItem = props => {
34927
34935
  selected,
34928
34936
  hideCheckMarks = false,
34929
34937
  onClickHandler,
34930
- iconType = 'default'
34938
+ iconType = 'default',
34939
+ iconColor = 'default',
34940
+ additionalData
34931
34941
  } = props;
34932
34942
  const {
34933
34943
  id,
@@ -34939,18 +34949,23 @@ const src_DropdownMenuItem_DropdownMenuItem = props => {
34939
34949
  const {
34940
34950
  closeDropdown
34941
34951
  } = internalProps;
34942
- const handleClick = text => {
34943
- onClickHandler == null || onClickHandler(text || hintText || '');
34952
+ const handleClick = (text, additionalData) => {
34953
+ onClickHandler == null || onClickHandler(text, additionalData);
34944
34954
  closeOnItemClick && (closeDropdown == null ? void 0 : closeDropdown());
34945
34955
  };
34956
+ const menuItemCount = typeof count === 'number' ? /*#__PURE__*/_jsx("span", {
34957
+ "data-dropdown-menu-item-count": true,
34958
+ children: `(${count})`
34959
+ }) : /*#__PURE__*/_jsx(_Fragment, {});
34946
34960
  return /*#__PURE__*/_jsxs("div", {
34947
34961
  className: styles['dropdown-menu-item'],
34948
34962
  "data-dropdown-menu-disabled": disabled,
34949
34963
  "data-dropdown-menu-selected": selected,
34950
- onClick: () => handleClick(text || hintText || ''),
34964
+ onClick: () => handleClick(text || hintText || '', additionalData),
34951
34965
  children: [type === 'default' && icon && /*#__PURE__*/_jsx("div", {
34952
34966
  className: styles['dropdown-menu-item__featured-icon'],
34953
- "data-dropdown-menu-item-selected": iconType,
34967
+ "data-dropdown-menu-item-icon-type": iconType,
34968
+ "data-dropdown-menu-item-icon-color": iconColor,
34954
34969
  children: icon
34955
34970
  }), type === 'checkbox' && /*#__PURE__*/_jsx("div", {
34956
34971
  className: styles['dropdown-menu-item__checkbox'],
@@ -34958,7 +34973,9 @@ const src_DropdownMenuItem_DropdownMenuItem = props => {
34958
34973
  id: id,
34959
34974
  size: "md",
34960
34975
  checkboxIcon: checkboxIcon,
34961
- text: text,
34976
+ text: /*#__PURE__*/_jsxs(_Fragment, {
34977
+ children: [text, " ", menuItemCount]
34978
+ }),
34962
34979
  hintText: hintText,
34963
34980
  disabled: disabled,
34964
34981
  checked: checked,
@@ -34967,10 +34984,10 @@ const src_DropdownMenuItem_DropdownMenuItem = props => {
34967
34984
  })
34968
34985
  }), type === 'default' && (text || hintText) && /*#__PURE__*/_jsxs("div", {
34969
34986
  className: styles['dropdown-menu-item__text-box'],
34970
- children: [text && /*#__PURE__*/_jsx("div", {
34987
+ children: [text && /*#__PURE__*/_jsxs("div", {
34971
34988
  className: styles['dropdown-menu-item__text-box__text'],
34972
34989
  title: typeof text === "string" ? text : "",
34973
- children: text
34990
+ children: [text, " ", menuItemCount]
34974
34991
  }), hintText && /*#__PURE__*/_jsx("div", {
34975
34992
  className: styles['dropdown-menu-item__text-box__hint-text'],
34976
34993
  title: hintText,
@@ -35492,19 +35509,19 @@ const src_components_PhoneInput_PhoneInput = /*#__PURE__*/(/* unused pure expres
35492
35509
  const selectCountry = country => {
35493
35510
  setSelectedCountry(country);
35494
35511
  setShowDropdown(false);
35495
- onChangeHandler(country.countryCode + value, country.countryIso2);
35512
+ onChangeHandler == null || onChangeHandler(country.countryCode + value, country.countryIso2);
35496
35513
  onCountryChange && onCountryChange(country.countryIso2);
35497
35514
  };
35498
35515
  const handlePhoneChange = e => {
35499
35516
  const value = e.target.value;
35500
35517
  if (value === '') {
35501
35518
  setValue('');
35502
- onChangeHandler('');
35519
+ onChangeHandler == null || onChangeHandler('');
35503
35520
  return;
35504
35521
  }
35505
35522
  if (!/^[0-9]+$/.test(value) && !canToggleToTextInput) return;
35506
35523
  setValue(value);
35507
- onChangeHandler(selectedCountry.countryCode + value);
35524
+ onChangeHandler == null || onChangeHandler(selectedCountry.countryCode + value);
35508
35525
  };
35509
35526
  return /*#__PURE__*/_jsxs("div", {
35510
35527
  className: styles['container'],
@@ -57964,13 +57981,14 @@ const src_Notification = ({
57964
57981
  };
57965
57982
  ;// ../../libs/design-system/src/components/Accordion/accordion.module.scss
57966
57983
  // extracted by mini-css-extract-plugin
57967
- /* harmony default export */ const src_accordion_module = ({"accordion":"accordion_accordion__ohrAi","accordion__chevron-holder":"accordion_accordion__chevron-holder__61mzP"});
57984
+ /* harmony default export */ const src_accordion_module = ({"accordion":"accordion_accordion__ohrAi","accordion__chevron-holder":"accordion_accordion__chevron-holder__61mzP","accordion__body":"accordion_accordion__body__3Sf-3"});
57968
57985
  ;// ../../libs/design-system/src/components/Accordion/index.tsx
57969
57986
 
57970
57987
 
57971
57988
 
57972
57989
 
57973
57990
  const src_Accordion_Accordion = ({
57991
+ type: _type = 'bordered_box',
57974
57992
  children,
57975
57993
  header,
57976
57994
  hasDivider,
@@ -57980,6 +57998,7 @@ const src_Accordion_Accordion = ({
57980
57998
  const [isOpened, setIsOpened] = useState(isOpen);
57981
57999
  return /*#__PURE__*/_jsxs("details", {
57982
58000
  open: isOpen,
58001
+ "data-accordion-type": _type,
57983
58002
  "data-accordion-with-divider": hasDivider,
57984
58003
  "data-accordion-header-alignment": _alignment,
57985
58004
  className: styles['accordion'],
@@ -57989,7 +58008,10 @@ const src_Accordion_Accordion = ({
57989
58008
  className: styles['accordion__chevron-holder'],
57990
58009
  children: isOpened ? ChevronUp : ChevronDown
57991
58010
  })]
57992
- }), children]
58011
+ }), /*#__PURE__*/_jsx("div", {
58012
+ className: styles['accordion__body'],
58013
+ children: children
58014
+ })]
57993
58015
  });
57994
58016
  };
57995
58017
  ;// ../../libs/design-system/src/components/Table/table.module.scss
@@ -58016,10 +58038,12 @@ const src_Table_Table = ({
58016
58038
 
58017
58039
 
58018
58040
  const src_TableWrapper_TableWrapper = ({
58019
- children
58041
+ children,
58042
+ disabled
58020
58043
  }) => {
58021
58044
  return /*#__PURE__*/_jsx("div", {
58022
58045
  className: styles["table-wrapper"],
58046
+ "data-table-wrapper-disabled": disabled,
58023
58047
  children: children
58024
58048
  });
58025
58049
  };
@@ -58086,7 +58110,7 @@ const src_FormatCurrencyForDisplay_FormatCurrencyForDisplay = (originalCurrency,
58086
58110
  };
58087
58111
  ;// ../../libs/design-system/src/components/Table/TableCell/table-cell.module.scss
58088
58112
  // extracted by mini-css-extract-plugin
58089
- /* harmony default export */ const src_table_cell_module = ({"table-cell":"table-cell_table-cell__w30aK","table-cell__content":"table-cell_table-cell__content__EX3R0","table-cell__content__text":"table-cell_table-cell__content__text__wWiYJ","table-cell__content__hint-text":"table-cell_table-cell__content__hint-text__-GISr","table-cell__hint-text":"table-cell_table-cell__hint-text__Phu8c","table-cell__content__icons-box":"table-cell_table-cell__content__icons-box__XCVfX","table-cell__content__icons-box__icon":"table-cell_table-cell__content__icons-box__icon__gA2Ka","table-cell__content__text-box":"table-cell_table-cell__content__text-box__ycHSF","table-cell__content__text-box__text":"table-cell_table-cell__content__text-box__text__g1S29","table-cell__content__text-box__hint-text":"table-cell_table-cell__content__text-box__hint-text__IpctX"});
58113
+ /* harmony default export */ const src_table_cell_module = ({"table-cell":"table-cell_table-cell__w30aK","table-cell__content":"table-cell_table-cell__content__EX3R0","table-cell__content__text-box":"table-cell_table-cell__content__text-box__ycHSF","table-cell__content__text-box__text":"table-cell_table-cell__content__text-box__text__g1S29","table-cell__content__text-box__hint-text":"table-cell_table-cell__content__text-box__hint-text__IpctX","table-cell__hint-text":"table-cell_table-cell__hint-text__Phu8c","table-cell__content__icons-box":"table-cell_table-cell__content__icons-box__XCVfX","table-cell__content__icons-box__icon":"table-cell_table-cell__content__icons-box__icon__gA2Ka","table-cell__content__text-box__text-box":"table-cell_table-cell__content__text-box__text-box__vDel9","table-cell__content__text-box__text-box__text":"table-cell_table-cell__content__text-box__text-box__text__YG0hp","table-cell__content__text-box__text-box__hint-text":"table-cell_table-cell__content__text-box__text-box__hint-text__rtXBZ","table-cell__content__dropdown":"table-cell_table-cell__content__dropdown__HqQ7S"});
58090
58114
  ;// ../../libs/design-system/src/components/Table/TableCell/index.tsx
58091
58115
 
58092
58116
 
@@ -58094,18 +58118,44 @@ const src_FormatCurrencyForDisplay_FormatCurrencyForDisplay = (originalCurrency,
58094
58118
 
58095
58119
 
58096
58120
 
58121
+
58122
+
58123
+
58124
+
58125
+
58126
+
58097
58127
  const src_TableCellBase = ({
58098
58128
  text,
58099
58129
  hintText,
58130
+ avatar,
58100
58131
  classNameBase
58101
58132
  }) => {
58133
+ const imageRegex = /^https:/;
58134
+ const isImage = imageRegex.test(avatar || "");
58102
58135
  return /*#__PURE__*/_jsxs(_Fragment, {
58103
- children: [text && /*#__PURE__*/_jsx("div", {
58104
- className: styles[`${classNameBase}__text`],
58105
- children: FormatCurrencyForDisplay(text)
58106
- }), hintText && /*#__PURE__*/_jsx("div", {
58107
- className: styles[`${classNameBase}__hint-text`],
58108
- children: hintText
58136
+ children: [avatar && /*#__PURE__*/_jsx("div", {
58137
+ className: styles[`${classNameBase}__avatar`],
58138
+ children: isImage ? /*#__PURE__*/_jsx(Avatar, {
58139
+ size: "md",
58140
+ type: "img",
58141
+ imgUrl: avatar
58142
+ }) : /*#__PURE__*/_jsx(Avatar, {
58143
+ size: "md",
58144
+ type: "text",
58145
+ shortName: avatar.trim().split(/\s+/).slice(0, 2).map(word => {
58146
+ var _word$;
58147
+ return (_word$ = word[0]) == null ? void 0 : _word$.toUpperCase();
58148
+ }).join('')
58149
+ })
58150
+ }), /*#__PURE__*/_jsxs("div", {
58151
+ className: styles[`${classNameBase}__text-box`],
58152
+ children: [text && /*#__PURE__*/_jsx("div", {
58153
+ className: styles[`${classNameBase}__text-box__text`],
58154
+ children: FormatCurrencyForDisplay(text)
58155
+ }), hintText && /*#__PURE__*/_jsx("div", {
58156
+ className: styles[`${classNameBase}__text-box__hint-text`],
58157
+ children: hintText
58158
+ })]
58109
58159
  })]
58110
58160
  });
58111
58161
  };
@@ -58119,11 +58169,13 @@ const src_TableCell_TableCell = props => {
58119
58169
  if (type === 'text') {
58120
58170
  const {
58121
58171
  text,
58122
- hintText
58172
+ hintText,
58173
+ avatar
58123
58174
  } = props;
58124
58175
  content = /*#__PURE__*/_jsx(src_TableCellBase, {
58125
58176
  text: text,
58126
58177
  hintText: hintText,
58178
+ avatar: avatar,
58127
58179
  classNameBase: "table-cell__content"
58128
58180
  });
58129
58181
  } else if (type === 'badge') {
@@ -58135,7 +58187,7 @@ const src_TableCell_TableCell = props => {
58135
58187
  children: [badgeProps && /*#__PURE__*/_jsx(Badge, {
58136
58188
  size: badgeProps.size || "md",
58137
58189
  type: badgeProps.type,
58138
- color: badgeProps.color,
58190
+ color: badgeProps.color || "grey",
58139
58191
  leadingIcon: badgeProps.leadingIcon,
58140
58192
  text: badgeProps.text,
58141
58193
  trailingIcon: badgeProps.trailingIcon
@@ -58164,11 +58216,6 @@ const src_TableCell_TableCell = props => {
58164
58216
  })
58165
58217
  })]
58166
58218
  });
58167
- } else if (type === 'icon') {
58168
- const {
58169
- icon
58170
- } = props;
58171
- content = icon;
58172
58219
  } else if (type === 'leading_payment_method') {
58173
58220
  const {
58174
58221
  paymentMethods
@@ -58223,6 +58270,32 @@ const src_TableCell_TableCell = props => {
58223
58270
  size: "md"
58224
58271
  }, btn), `cell-action-btn-${index}`))
58225
58272
  });
58273
+ } else if (type === 'dropdown') {
58274
+ const {
58275
+ dropdownMenuItemsProps,
58276
+ additionalData
58277
+ } = props;
58278
+ content = !!dropdownMenuItemsProps.length ? /*#__PURE__*/_jsx("div", {
58279
+ className: styles["table-cell__content__dropdown"],
58280
+ children: /*#__PURE__*/_jsxs(Dropdown, {
58281
+ width: "fit-content",
58282
+ children: [/*#__PURE__*/_jsx(DropdownButton, {
58283
+ renderAs: /*#__PURE__*/_jsx(Button, {
58284
+ size: "sm",
58285
+ color: "secondary",
58286
+ variant: "outlined",
58287
+ leadingIcon: EllipsisVertical
58288
+ })
58289
+ }), /*#__PURE__*/_jsx(DropdownMenu, {
58290
+ width: "fit-content",
58291
+ horizontalPlacement: "auto",
58292
+ verticalPlacement: "auto",
58293
+ children: dropdownMenuItemsProps.map((item, i) => /*#__PURE__*/_jsx(DropdownMenuItem, Object.assign({
58294
+ additionalData: additionalData
58295
+ }, item), `table-cell-dropdown-menu-item-${i}`))
58296
+ })]
58297
+ })
58298
+ }) : /*#__PURE__*/_jsx(_Fragment, {});
58226
58299
  }
58227
58300
  ;
58228
58301
  return /*#__PURE__*/_jsx("div", {
@@ -58329,7 +58402,7 @@ const src_ContentSwitcher_ContentSwitcher = ({
58329
58402
  const src_Pagination_Pagination = props => {
58330
58403
  const {
58331
58404
  type = 'page_based',
58332
- lang,
58405
+ lang = 'en',
58333
58406
  itemsPerPage,
58334
58407
  currentPageSize,
58335
58408
  pageSizeOptions = [...new Set([10, 20, 50, 100])].sort((a, b) => a - b),
@@ -59533,8 +59606,9 @@ const src_TableBody_TableBody = ({
59533
59606
  }) => {
59534
59607
  const handleRowClick = (e, row, rowIndex) => {
59535
59608
  const target = e.target;
59536
- const actionCell = target.closest('[data-table-cell-type="action_btns"]');
59537
- if (!actionCell && rowClickHandler) {
59609
+ const actionCellTypes = ['action_btns', 'dropdown'];
59610
+ const hasActionCell = actionCellTypes.some(type => target.closest(`[data-table-cell-type="${type}"]`));
59611
+ if (!hasActionCell && rowClickHandler) {
59538
59612
  rowClickHandler(row);
59539
59613
  }
59540
59614
  };
@@ -59544,9 +59618,12 @@ const src_TableBody_TableBody = ({
59544
59618
  obj,
59545
59619
  additionalText,
59546
59620
  key,
59547
- hintText
59621
+ hintText,
59622
+ avatar,
59623
+ includeTime
59548
59624
  } = props;
59549
59625
  const hint = hintText && getValue(obj, hintText);
59626
+ const image = avatar && getValue(obj, avatar);
59550
59627
  const additionalString = additionalText && (additionalText.directValue ? additionalText == null ? void 0 : additionalText.directValue : additionalText.key ? getValue(obj, additionalText.key) : undefined);
59551
59628
  if (type === 'amount') {
59552
59629
  const value = getValue(obj, key);
@@ -59565,18 +59642,22 @@ const src_TableBody_TableBody = ({
59565
59642
  return paymentMethods.length ? paymentMethodsList : "";
59566
59643
  } else if (type === 'date') {
59567
59644
  const date = getValue(obj, key);
59568
- const formattedDate = formatToLocalizedDateTime(date, _lang);
59645
+ const formattedDate = formatToLocalizedDateTime(date, _lang, includeTime);
59569
59646
  const [final_date, time] = formattedDate.split(", ");
59570
59647
  return date ? hint ? {
59571
59648
  text: final_date,
59572
59649
  hintText: time
59573
59650
  } : formattedDate : src_EMPTY_CELL_VALUE;
59651
+ } else if (type === 'dropdown') {
59652
+ const value = getValue(obj, key);
59653
+ return value || "";
59574
59654
  } else {
59575
59655
  const value = getValue(obj, key);
59576
59656
  const combinedText = src_getCombinedText(additionalString, additionalText == null ? void 0 : additionalText.placement, value);
59577
- return value || hint ? hint ? {
59657
+ return value || hint || avatar ? hint || avatar ? {
59578
59658
  text: combinedText,
59579
- hintText: hint
59659
+ hintText: hint,
59660
+ avatar: image
59580
59661
  } : combinedText : src_EMPTY_CELL_VALUE;
59581
59662
  }
59582
59663
  };
@@ -59624,7 +59705,9 @@ const src_TableBody_TableBody = ({
59624
59705
  obj: row,
59625
59706
  key: item.key,
59626
59707
  additionalText: item.additionalText,
59627
- hintText: item.hintText
59708
+ hintText: item.hintText,
59709
+ avatar: item.avatar,
59710
+ includeTime: item.includeTime
59628
59711
  });
59629
59712
  let props;
59630
59713
  const cellType = typeof item.type === 'object' && item.type.conditionsType === 'direct_value' ? getValue(row, {
@@ -59633,12 +59716,7 @@ const src_TableBody_TableBody = ({
59633
59716
  default: item.type.default
59634
59717
  }) : item.type;
59635
59718
  const badgeProps = typeof item.badgeProps === 'function' ? item.badgeProps(row, rowIndex) : item.badgeProps;
59636
- if (cellType === 'icon') {
59637
- props = {
59638
- type: 'icon',
59639
- icon: typeof item.icon === 'function' ? item.icon(getValue(row, item.key)) : item.icon
59640
- };
59641
- } else if (cellType === 'leading_icon') {
59719
+ if (cellType === 'leading_icon') {
59642
59720
  const iconValue = getValue(row, item.key);
59643
59721
  const Icon = typeof item.icon === 'function' ? item.icon(iconValue) : item.icon || row.icon;
59644
59722
  props = {
@@ -59673,6 +59751,14 @@ const src_TableBody_TableBody = ({
59673
59751
  text: cellInfo,
59674
59752
  badgeProps: badgeProps
59675
59753
  };
59754
+ } else if (cellType === 'dropdown') {
59755
+ var _ref;
59756
+ props = {
59757
+ type: 'dropdown',
59758
+ dropdownMenuItemsProps: (_ref = cellInfo || []) == null ? void 0 : _ref.map(menuItemProps => Object.assign({}, menuItemProps, {
59759
+ additionalData: row
59760
+ }))
59761
+ };
59676
59762
  } else {
59677
59763
  props = typeof cellInfo === 'string' || typeof cellInfo === 'number' ? {
59678
59764
  type: 'text',
@@ -59680,19 +59766,25 @@ const src_TableBody_TableBody = ({
59680
59766
  } : {
59681
59767
  type: 'text',
59682
59768
  text: cellInfo.text,
59683
- hintText: cellInfo.hintText
59769
+ hintText: cellInfo.hintText,
59770
+ avatar: cellInfo.avatar
59684
59771
  };
59685
59772
  }
59686
- return typeof cellInfo === 'string' || typeof cellInfo === 'number' || cellType === 'icon' || cellInfo.hintText ? item.label && cellType === 'badge' ? /*#__PURE__*/_jsx(TableCell, Object.assign({
59773
+ return typeof cellInfo === 'string' || typeof cellInfo === 'number' || cellInfo.hintText || cellInfo.avatar ? item.label && cellType === 'badge' ? /*#__PURE__*/_jsx(TableCell, Object.assign({
59687
59774
  type: "badge",
59688
59775
  width: item.width
59689
59776
  }, props), `table-body-${item.id}-cell`) : /*#__PURE__*/_jsx(TableCell, Object.assign({
59690
59777
  width: item.width
59691
- }, props), `table-body-${item.id}`) : item.type === "payment_method" && (Array.isArray(cellInfo) ? /*#__PURE__*/_jsx(TableCell, {
59778
+ }, props), `table-body-${item.id}`) : item.type === "payment_method" ? Array.isArray(cellInfo) ? /*#__PURE__*/_jsx(TableCell, {
59692
59779
  type: "leading_payment_method",
59693
59780
  paymentMethods: cellInfo,
59694
59781
  width: item.width
59695
- }, `table-body-${item.id}`) : src_EMPTY_CELL_VALUE);
59782
+ }, `table-body-${item.id}-cell`) : src_EMPTY_CELL_VALUE : item.type === "dropdown" && (Array.isArray(cellInfo) ? /*#__PURE__*/_jsx(TableCell, {
59783
+ type: "dropdown",
59784
+ dropdownMenuItemsProps: cellInfo,
59785
+ additionalData: row,
59786
+ width: item.width
59787
+ }, `table-body-${item.id}-cell`) : src_EMPTY_CELL_VALUE);
59696
59788
  })
59697
59789
  }, `row-${rowIndex}`))]
59698
59790
  });
@@ -68684,12 +68776,14 @@ const src_FiltersBar_FiltersBar = ({
68684
68776
  country,
68685
68777
  localization
68686
68778
  }) => {
68687
- const inputFilters = filtersList.filter(filter => filter.type === 'text' || filter.type === 'phone');
68688
- const selectFilters = filtersList.filter(filter => filter.type === 'select');
68779
+ const inputFilters = filtersList.filter(filter => (filter == null ? void 0 : filter.type) === 'text' || (filter == null ? void 0 : filter.type) === 'phone');
68780
+ const selectFilters = filtersList.filter(filter => (filter == null ? void 0 : filter.type) === 'select');
68781
+ const searchFilters = filtersList.filter(filter => (filter == null ? void 0 : filter.type) === 'search');
68689
68782
  const multipleSelectionFilters = selectFilters.filter(filter => filter.selectMultiple).map(filter => ({
68690
68783
  [filter.id]: {
68691
68784
  type: filter.type,
68692
- options: filter.options
68785
+ options: filter.options,
68786
+ queryParamType: filter.multiSelectionParamType
68693
68787
  }
68694
68788
  }));
68695
68789
  const defaultMultipleSelection = multipleSelectionFilters.reduce((acc, obj) => {
@@ -68731,6 +68825,21 @@ const src_FiltersBar_FiltersBar = ({
68731
68825
  setSortedFieldsFilter(prevState => prevState.filter(prevStateFilter => prevStateFilter.id !== filter.id));
68732
68826
  }
68733
68827
  };
68828
+ const debounceTimeouts = useRef({});
68829
+ const debouncedFiltersChangeHandler = useCallback((filter, value, delay = 1000) => {
68830
+ const {
68831
+ id,
68832
+ type
68833
+ } = filter;
68834
+ if (debounceTimeouts.current[id]) {
68835
+ clearTimeout(debounceTimeouts.current[id]);
68836
+ }
68837
+ ;
68838
+ debounceTimeouts.current[id] = setTimeout(() => {
68839
+ handleFieldsFilter(filter, value, 'add');
68840
+ filtersChangeHandler(id, type, value);
68841
+ }, delay);
68842
+ }, [filtersChangeHandler]);
68734
68843
  const handleFieldsErrors = (value, id, validations) => {
68735
68844
  for (const validation of validations || []) {
68736
68845
  const regex = new RegExp(validation.pattern);
@@ -68757,7 +68866,7 @@ const src_FiltersBar_FiltersBar = ({
68757
68866
  options,
68758
68867
  selectMultiple
68759
68868
  } = filter;
68760
- filtersChangeHandler(id, type, selectMultiple ? options : undefined);
68869
+ filtersChangeHandler(id, type, selectMultiple ? options : null);
68761
68870
  setMultipleSelection(prevSelection => Object.assign({}, prevSelection, {
68762
68871
  [id]: Object.assign({}, prevSelection[id], {
68763
68872
  options: selectMultiple ? options : undefined
@@ -68779,8 +68888,18 @@ const src_FiltersBar_FiltersBar = ({
68779
68888
  children: isLoading != null && isLoading.filters ? /*#__PURE__*/_jsx(SkeletonBase, {
68780
68889
  height: "2.5rem"
68781
68890
  }) : filtersList.length ? /*#__PURE__*/_jsxs(_Fragment, {
68782
- children: [selectFilters.map((filter, index) => {
68783
- var _multipleSelection$id, _multipleSelection$id2, _multipleSelection$id3;
68891
+ children: [searchFilters.map((filter, index) => /*#__PURE__*/_jsx(Input, {
68892
+ id: filter.id,
68893
+ name: `${filter.type}-filter-${index}`,
68894
+ placeholder: filter.placeholder,
68895
+ leadingIcon: MagnifyingGlass,
68896
+ disabled: isLoading == null ? void 0 : isLoading.table,
68897
+ onChange: e => {
68898
+ const value = e.target.value;
68899
+ debouncedFiltersChangeHandler(filter, value);
68900
+ }
68901
+ }, `${filter.id}-filter-${index}`)), selectFilters.map((filter, index) => {
68902
+ var _ref, _multipleSelection$id, _multipleSelection$id2, _multipleSelection$id3;
68784
68903
  const {
68785
68904
  id,
68786
68905
  type,
@@ -68789,8 +68908,11 @@ const src_FiltersBar_FiltersBar = ({
68789
68908
  defaultOption,
68790
68909
  selectedOptions,
68791
68910
  selectMultiple,
68792
- maxHeight
68911
+ multipleSelectionSummaryType,
68912
+ maxHeight,
68913
+ countList
68793
68914
  } = filter;
68915
+ const multipleSelectionSummaryCount = (_ref = countList || []) == null ? void 0 : _ref.reduce((acc, n) => typeof n === 'number' ? acc + n : acc, 0);
68794
68916
  let dropdownBtnText;
68795
68917
  if (Array.isArray(selectedOptions)) {
68796
68918
  if (selectedOptions.length === (options == null ? void 0 : options.length)) {
@@ -68836,9 +68958,10 @@ const src_FiltersBar_FiltersBar = ({
68836
68958
  onApplyHandler: () => {
68837
68959
  const {
68838
68960
  type,
68839
- options
68961
+ options,
68962
+ queryParamType
68840
68963
  } = multipleSelection[id];
68841
- filtersChangeHandler(id, type, options || []);
68964
+ filtersChangeHandler(id, type, options || [], queryParamType);
68842
68965
  },
68843
68966
  applyBtnDisabled: !((_multipleSelection$id = multipleSelection[id]) != null && (_multipleSelection$id = _multipleSelection$id.options) != null && _multipleSelection$id.length)
68844
68967
  } : {}, {
@@ -68846,7 +68969,8 @@ const src_FiltersBar_FiltersBar = ({
68846
68969
  type: "checkbox",
68847
68970
  checkboxIcon: "dash",
68848
68971
  id: `${id}-option-${index}`,
68849
- text: `${((_multipleSelection$id2 = multipleSelection[id]) == null || (_multipleSelection$id2 = _multipleSelection$id2.options) == null ? void 0 : _multipleSelection$id2.length) || 0} ${(localization == null ? void 0 : localization.selected) || 'Selected'}`,
68972
+ text: multipleSelectionSummaryType === 'all' ? (localization == null ? void 0 : localization.all) || 'All' : `${((_multipleSelection$id2 = multipleSelection[id]) == null || (_multipleSelection$id2 = _multipleSelection$id2.options) == null ? void 0 : _multipleSelection$id2.length) || 0} ${(localization == null ? void 0 : localization.selected) || 'Selected'}`,
68973
+ count: countList && multipleSelectionSummaryCount,
68850
68974
  checked: (((_multipleSelection$id3 = multipleSelection[id]) == null || (_multipleSelection$id3 = _multipleSelection$id3.options) == null ? void 0 : _multipleSelection$id3.length) || 0) === (options == null ? void 0 : options.length),
68851
68975
  onCheckboxItemClickHandler: checked => setMultipleSelection(prevSelection => Object.assign({}, prevSelection, {
68852
68976
  [id]: Object.assign({}, prevSelection[id], {
@@ -68861,6 +68985,7 @@ const src_FiltersBar_FiltersBar = ({
68861
68985
  type: "checkbox",
68862
68986
  id: `${id}-option-${index}`,
68863
68987
  text: dropdownBtnText,
68988
+ count: countList == null ? void 0 : countList[index],
68864
68989
  checked: !!(((_multipleSelection$id4 = multipleSelection[id]) == null ? void 0 : _multipleSelection$id4.options) || []).some(opt => opt.value === option.value),
68865
68990
  onCheckboxItemClickHandler: checked => setMultipleSelection(prevSelection => {
68866
68991
  var _prevSelection$id;
@@ -68874,6 +68999,7 @@ const src_FiltersBar_FiltersBar = ({
68874
68999
  }, `${id}-option-${index}`) : /*#__PURE__*/_jsx(DropdownMenuItem, {
68875
69000
  type: "default",
68876
69001
  text: dropdownBtnText,
69002
+ count: countList == null ? void 0 : countList[index],
68877
69003
  onClickHandler: () => filtersChangeHandler(id, type, option),
68878
69004
  selected: selectedOptions === option
68879
69005
  }, `${id}-option-${index}`);
@@ -68896,6 +69022,7 @@ const src_FiltersBar_FiltersBar = ({
68896
69022
  label: label,
68897
69023
  text: value,
68898
69024
  direction: type === 'phone' ? 'ltr' : undefined,
69025
+ disabled: isLoading == null ? void 0 : isLoading.table,
68899
69026
  onClearHandler: () => {
68900
69027
  handleFieldsFilter(filter, value, 'remove');
68901
69028
  filtersChangeHandler(id, type, undefined);
@@ -69004,8 +69131,10 @@ const src_PaginationBar_PaginationBar = props => {
69004
69131
 
69005
69132
 
69006
69133
 
69134
+
69007
69135
  const src_DataTable = ({
69008
69136
  lang,
69137
+ disabled,
69009
69138
  filters,
69010
69139
  tableBody,
69011
69140
  pagination,
@@ -69058,9 +69187,9 @@ const src_DataTable = ({
69058
69187
  const [currentPage, setCurrentPage] = useState(1);
69059
69188
  const [pageSize, setPageSize] = useState((pageSizeOptions == null ? void 0 : pageSizeOptions[0]) || 10);
69060
69189
  const [loading, setLoading] = useState({
69061
- filters: false,
69062
- pagination: false,
69063
- table: false
69190
+ filters: true,
69191
+ pagination: true,
69192
+ table: true
69064
69193
  });
69065
69194
  const [filtersList, setFiltersList] = useState([]);
69066
69195
  const [filtersBarRenderKey, setFiltersBarRenderKey] = useState(0);
@@ -69073,7 +69202,10 @@ const src_DataTable = ({
69073
69202
  type,
69074
69203
  values,
69075
69204
  placeHolder,
69076
- validations
69205
+ validations,
69206
+ countList,
69207
+ multipleSelectionSummaryType,
69208
+ multiSelectionParamType
69077
69209
  } = filter;
69078
69210
  const getDefaultOption = keyToFind => {
69079
69211
  const option = values.find(item => Object.values(item)[0] === keyToFind);
@@ -69093,27 +69225,30 @@ const src_DataTable = ({
69093
69225
  }, type === "multi_selection" ? {
69094
69226
  selectMultiple: true,
69095
69227
  required: true,
69096
- selectedOptions: options
69228
+ selectedOptions: options,
69229
+ multiSelectionParamType
69097
69230
  } : {}, {
69098
69231
  label: name,
69099
69232
  options: options,
69100
- defaultOption: getDefaultOption(defaultSelection)
69233
+ defaultOption: getDefaultOption(defaultSelection),
69234
+ countList: countList,
69235
+ multipleSelectionSummaryType: multipleSelectionSummaryType || 'selection_count'
69101
69236
  });
69102
- } else if (type === "text" || type === "phone") {
69237
+ } else if (type === "text" || type === "phone" || type === "search") {
69103
69238
  const validation = validations.map(validation => ({
69104
69239
  pattern: validation.regex,
69105
69240
  error_msg: validation.message
69106
69241
  }));
69107
69242
  return {
69108
69243
  id: key,
69109
- type: type === "text" ? 'text' : 'phone',
69244
+ type: type === "text" ? 'text' : type === 'search' ? 'search' : 'phone',
69110
69245
  label: name,
69111
69246
  placeholder: placeHolder,
69112
69247
  validations: validation
69113
69248
  };
69114
69249
  }
69115
69250
  });
69116
- const filtersChangeHandler = (id, type, options) => {
69251
+ const filtersChangeHandler = (id, type, options, queryParamType) => {
69117
69252
  if (type === 'select') {
69118
69253
  const relatedFilter = filtersList.find(filter => filter.id === id);
69119
69254
  let selectedOpts;
@@ -69135,8 +69270,9 @@ const src_DataTable = ({
69135
69270
  if (key === id && isAllOptionsSelected) delete prevParams[key];
69136
69271
  return acc;
69137
69272
  }, prevParams);
69273
+ const optionsValue = options.map(opt => opt.value);
69138
69274
  return Object.assign({}, updatedSelections, isAllOptionsSelected ? {} : {
69139
- [id]: options.map(opt => opt.value)
69275
+ [id]: queryParamType === 'comma-separated' ? arrayToCommaSeparated(optionsValue) : optionsValue
69140
69276
  });
69141
69277
  });
69142
69278
  } else {
@@ -69163,7 +69299,7 @@ const src_DataTable = ({
69163
69299
  } else {
69164
69300
  const inputValue = options;
69165
69301
  setFiltersList(prevState => prevState.map(filter => filter.id === id ? Object.assign({}, filter, {
69166
- value: inputValue
69302
+ value: type === "search" ? inputValue || "" : inputValue
69167
69303
  }) : filter));
69168
69304
  setParams(prevParams => {
69169
69305
  const updatedSelections = Object.keys(prevParams).reduce((acc, key) => {
@@ -69225,10 +69361,10 @@ const src_DataTable = ({
69225
69361
  useEffect(() => {
69226
69362
  setLoading(() => ({
69227
69363
  filters: isFiltersLoading,
69228
- pagination: isMainQueryLoading,
69229
- table: isMainQueryLoading
69364
+ pagination: !isQueryEnabled || isMainQueryLoading,
69365
+ table: !isQueryEnabled || isMainQueryLoading
69230
69366
  }));
69231
- }, [isMainQueryLoading, isFiltersLoading]);
69367
+ }, [isMainQueryLoading, isFiltersLoading, isQueryEnabled]);
69232
69368
  useEffect(() => {
69233
69369
  onError == null || onError(isMainQueryError);
69234
69370
  }, [isMainQueryError]);
@@ -69241,6 +69377,7 @@ const src_DataTable = ({
69241
69377
  setPageSize(pageSize);
69242
69378
  };
69243
69379
  return /*#__PURE__*/_jsxs(TableWrapper, {
69380
+ disabled: disabled,
69244
69381
  children: [filters && /*#__PURE__*/_jsx(FiltersBar, {
69245
69382
  lang: lang,
69246
69383
  filtersList: filtersList,
@@ -69901,7 +70038,7 @@ const src_TextArea = ({
69901
70038
  autoFocus: _autoFocus,
69902
70039
  onChange: handleChange
69903
70040
  })
69904
- }), /*#__PURE__*/_jsxs("div", {
70041
+ }), (!!(isReachedLimit || errorMessage || helperText) || _showCharactersCount) && /*#__PURE__*/_jsxs("div", {
69905
70042
  className: styles['textarea-container__bottom-text'],
69906
70043
  children: [!!(isReachedLimit || errorMessage || helperText) && /*#__PURE__*/_jsx("span", {
69907
70044
  className: (isReachedLimit || errorMessage) && styles['textarea-container__bottom-text--error'],
@@ -70187,6 +70324,7 @@ const src_ItemSelectorGroup = ({
70187
70324
  // Utils
70188
70325
 
70189
70326
 
70327
+
70190
70328
  ;// ../../libs/card/src/components/InstantRefundOpt/modal/index.tsx
70191
70329
 
70192
70330
 
@@ -70331,12 +70469,18 @@ function src_InstantRefundOpt_InstantRefundOpt({
70331
70469
  })
70332
70470
  }), /*#__PURE__*/_jsxs("div", {
70333
70471
  className: "ms-12",
70334
- children: [!isNotEligible && !errorMessage && /*#__PURE__*/_jsx(Button, {
70335
- text: t('LEARN_MORE'),
70336
- color: "primary",
70337
- variant: "link",
70338
- size: "sm",
70339
- onClickHandler: handleShowTerms
70472
+ children: [!isNotEligible && !errorMessage && /*#__PURE__*/_jsxs("div", {
70473
+ className: "flex items-center gap-1",
70474
+ children: [/*#__PURE__*/_jsx("p", {
70475
+ className: "font-inter text-sm leading-[18px] tracking-[.16px] text-gray-500",
70476
+ children: t('INSTANT_REFUND_DESC')
70477
+ }), /*#__PURE__*/_jsx(Button, {
70478
+ text: t('LEARN_MORE'),
70479
+ color: "primary",
70480
+ variant: "link",
70481
+ size: "sm",
70482
+ onClickHandler: handleShowTerms
70483
+ })]
70340
70484
  }), isNotEligible && /*#__PURE__*/_jsx("p", {
70341
70485
  className: "text-sm font-medium leading-6 text-gray-600 italic",
70342
70486
  children: t('CARD_NOT_ELIGIBLE')
@@ -70413,6 +70557,10 @@ function src_cardFormViewTwo_Card(props) {
70413
70557
  const {
70414
70558
  showInstantRefund
70415
70559
  } = useSafeSelector(state => state.paymentDetails);
70560
+ const {
70561
+ fastCheckoutAccount
70562
+ } = useSafeSelector(state => state.fastCheckoutAccount) || {};
70563
+ const canUseFastCheckout = fastCheckoutAccount == null ? void 0 : fastCheckoutAccount.canUseFastCheckout;
70416
70564
  const lang = useSafeSelector(state => state.lang);
70417
70565
  const langDirection = lang === 'ar' ? 'rtl' : 'ltr';
70418
70566
  const isRTL = langDirection === 'rtl';
@@ -70554,7 +70702,7 @@ function src_cardFormViewTwo_Card(props) {
70554
70702
  }), discountErrorMessage && /*#__PURE__*/_jsx("p", {
70555
70703
  className: "mt-2 text-orange-700 text-sm leading-[1.125rem] track-[0.01rem]",
70556
70704
  children: discountErrorMessage
70557
- }), discountAppliedMessage && !isSplitPaymentsView && /*#__PURE__*/_jsx("p", {
70705
+ }), discountAppliedMessage && !isSplitPaymentsView && !canUseFastCheckout && /*#__PURE__*/_jsx("p", {
70558
70706
  className: "mt-2 text-green-400 text-sm leading-[1.125rem] track-[0.01rem]",
70559
70707
  children: discountAppliedMessage
70560
70708
  }), (errors['number'] || errors['cvc'] || errors['expiry']) && /*#__PURE__*/_jsxs("ul", {
@@ -70595,7 +70743,7 @@ function src_cardFormViewTwo_Card(props) {
70595
70743
  name: "save_card",
70596
70744
  customStyle: styling.input
70597
70745
  })
70598
- }), content, showInstantRefund && !isSplitPaymentsView && /*#__PURE__*/_jsx(InstantRefundOpt, {
70746
+ }), content, showInstantRefund && !isSplitPaymentsView && !canUseFastCheckout && /*#__PURE__*/_jsx(InstantRefundOpt, {
70599
70747
  onClick: handleInstantRefundToggle,
70600
70748
  isLoading: loading
70601
70749
  }), SplitPaymentButton && /*#__PURE__*/_jsx("div", {
@@ -70843,6 +70991,10 @@ function src_mobileCardFormViewTwo_MobileCard(props) {
70843
70991
  const {
70844
70992
  showInstantRefund
70845
70993
  } = useSafeSelector(state => state.paymentDetails);
70994
+ const {
70995
+ fastCheckoutAccount
70996
+ } = useSafeSelector(state => state.fastCheckoutAccount) || {};
70997
+ const canUseFastCheckout = fastCheckoutAccount == null ? void 0 : fastCheckoutAccount.canUseFastCheckout;
70846
70998
  const lang = useSafeSelector(state => state.lang);
70847
70999
  const langDirection = lang === 'ar' ? 'rtl' : 'ltr';
70848
71000
  const {
@@ -71107,7 +71259,7 @@ function src_mobileCardFormViewTwo_MobileCard(props) {
71107
71259
  }), discountErrorMessage && /*#__PURE__*/_jsx("p", {
71108
71260
  className: "mt-2 text-orange-700 text-sm leading-[1.125rem] track-[0.01rem]",
71109
71261
  children: discountErrorMessage
71110
- }), discountAppliedMessage && !isSplitPaymentsView && /*#__PURE__*/_jsx("p", {
71262
+ }), discountAppliedMessage && !isSplitPaymentsView && !canUseFastCheckout && /*#__PURE__*/_jsx("p", {
71111
71263
  className: "mt-2 text-green-400 text-sm leading-[1.125rem] track-[0.01rem]",
71112
71264
  children: discountAppliedMessage
71113
71265
  }), (errors['number'] || errors['cvc'] || errors['expiry'] || errors['name']) && /*#__PURE__*/_jsxs("ul", {
@@ -71132,7 +71284,7 @@ function src_mobileCardFormViewTwo_MobileCard(props) {
71132
71284
  name: "save_card",
71133
71285
  customStyle: styling.input
71134
71286
  })
71135
- }), content, showInstantRefund && !isSplitPaymentsView && /*#__PURE__*/_jsx(InstantRefundOpt, {
71287
+ }), content, showInstantRefund && !isSplitPaymentsView && !canUseFastCheckout && /*#__PURE__*/_jsx(InstantRefundOpt, {
71136
71288
  onClick: handleInstantRefundToggle,
71137
71289
  isLoading: loading
71138
71290
  }), SplitPaymentButton && /*#__PURE__*/_jsx("div", {
@@ -71916,6 +72068,10 @@ function src_SavedCard(props) {
71916
72068
  keyPrefix: 'paymentLayout'
71917
72069
  });
71918
72070
  const intentionData = useSafeSelector(state => state.intention);
72071
+ const {
72072
+ fastCheckoutAccount
72073
+ } = useSafeSelector(state => state.fastCheckoutAccount) || {};
72074
+ const canUseFastCheckout = fastCheckoutAccount == null ? void 0 : fastCheckoutAccount.canUseFastCheckout;
71919
72075
  const {
71920
72076
  displayCurrency,
71921
72077
  currencyFontFamily,
@@ -72052,7 +72208,7 @@ function src_SavedCard(props) {
72052
72208
  className: currencyClassName,
72053
72209
  children: tPaymentLayout(displayCurrency)
72054
72210
  }), ' ', " ", restAmount]
72055
- }), hasDiscount && !isSplitPaymentsView && /*#__PURE__*/_jsx("div", {
72211
+ }), hasDiscount && !isSplitPaymentsView && canUseFastCheckout && /*#__PURE__*/_jsx("div", {
72056
72212
  className: "flex py-[0.1rem] px-[0.6rem] rounded-2xl bg-gray-100",
72057
72213
  style: {
72058
72214
  marginInlineEnd: 'auto'
@@ -72369,6 +72525,10 @@ function src_SavedCardsViewTwo(props) {
72369
72525
  const {
72370
72526
  showInstantRefund
72371
72527
  } = useSafeSelector(state => state.paymentDetails);
72528
+ const {
72529
+ fastCheckoutAccount
72530
+ } = useSafeSelector(state => state.fastCheckoutAccount) || {};
72531
+ const canUseFastCheckout = fastCheckoutAccount == null ? void 0 : fastCheckoutAccount.canUseFastCheckout;
72372
72532
  const [selectedCard, setSelectedCard] = useState();
72373
72533
  const [selectedDeleteCard, setSelectedDeleteCard] = useState();
72374
72534
  const [selectedCardCVV, setSelectedCardCVV] = useState('');
@@ -72586,7 +72746,7 @@ function src_SavedCardsViewTwo(props) {
72586
72746
  disabled: loading,
72587
72747
  variant: "link"
72588
72748
  })
72589
- }), showInstantRefund && !isAddingCard && !isSplitPaymentsView && /*#__PURE__*/_jsx(InstantRefundOpt, {
72749
+ }), showInstantRefund && !isAddingCard && !isSplitPaymentsView && !canUseFastCheckout && /*#__PURE__*/_jsx(InstantRefundOpt, {
72590
72750
  onClick: handleInstantRefundToggle,
72591
72751
  isLoading: loading
72592
72752
  }), !isSplitPaymentsView && /*#__PURE__*/_jsx("div", {
@@ -86650,11 +86810,11 @@ const src_tab_element_en_namespaceObject = /*#__PURE__*/JSON.parse('{"SYMPL_ZERO
86650
86810
  ;// ../../localization/apps/flash/tab-element/ur.json
86651
86811
  const src_tab_element_ur_namespaceObject = /*#__PURE__*/JSON.parse('{"SYMPL_ZERO_INTEREST":"0% interest on any card","OFFERS":"Offers","OFFER":"Offer"}');
86652
86812
  ;// ../../localization/libs/card/en.json
86653
- const src_libs_card_en_namespaceObject = /*#__PURE__*/JSON.parse('{"CARD_INFO":"Card Information","CARDHOLDER_NAME":"Cardholder Name","CARD_NUMBER":"Card Number","CARD_NUMBER_NOT_VALID":"Card number is not valid","CARD_NUMBER_IS_REQUIRED":"Card number is required","CARD_EXPIRY":"Expiry (MM/YY)","CARD_EXPIRY_NOT_VALID":"Expiry date is not valid","CARD_EXPIRY_IS_REQUIRED":"Expiry date is required","AMEX_CVV_IS_REQUIRED":"4-digit CVV is required","CVV_IS_REQUIRED":"3-digit CVV is required","CARD_NAME":"Name on card","CARD_NAME_PLACEHOLDER":"ex. Abdullah Adel","CARD_NAME_NOT_VALID":"Card name is not valid","CARD_NAME_IS_REQUIRED":"Cardholder Name is required","NAME_IS_REQUIRED":"Name is required","EMAIL_IS_REQUIRED":"Email is required","EMAIL_NOT_VALID":"Email is not valid","PHONE_IS_REQUIRED":"Phone is required","PHONE_NOT_VALID":"Phone is not valid","SAVED_CARDS_TITLE":"Saved cards","SAVE_CARD":"Save card for future use","ADD_NEW_CARD_BTN":"New card","CARD_ACTION_BTN":"Pay","OTP_ACTION_BTN":"Verify OTP","CARD_NUMBER_PLACEHOLDER":"1234 1234 1234 1234","MOBILE_CARD_NUMBER_PLACEHOLDER":"Card number","OTP_HINT":"Please enter the 4-digit code sent to your mobile","CVV_MODAL_HEADER":"CVV","CVV_MODAL_VISA_HEADER":"Have Mastercard / Visa card?","CVV_MODAL_VISA_BODY":"It\'s a 3-digit code on the back of your card.","CVV_MODAL_AMEX_HEADER":"Have American Express card?","CVV_MODAL_AMEX_BODY":"It\'s a 4-digit number on the front, just above your credit card number","ERR_MSG_EXCEEDED_TRIALS":"The payment session ends after 3 unsuccessful trials. You will be redirected to the website. You can start a new checkout session with Paymob","ERR_MSG_ALREADY_PROCESSED":"This payment was already processed with status pending","ERR_MSG_DECLINED":"Payment is declined","ERR_MSG_EXPIRED":"Looks like this payment was expired perhaps you should create a new one","ERR_MSG_SOMETHING_WENT_WRONG":"Something went wrong","FORCE_SAVE_CARD":"Card Details would be saved for future use","ERR_MSG_ALREADY_PAID":"This order has already been paid","ERR_OMAN_NET_INVALID":"Oman Net Card can’t be used for transaction. Please use another card type.","VIEW_SAVED_CARDS":"View Saved Cards","ENTER_AMOUNT":"Enter amount","REMAINING_AMOUNT":"Remaining amount","DISCOUNT_APPLIED":"Discount of <span>{{currency}}</span> {{amount}} applied successfully","DISCOUNT_EXCEEDS_ORDER":"Discount Amount is greater than Order Amount. Please Proceed without discount","AMOUNT_IS_REQUIRED":"Amount is required","AMOUNT_NOT_VALID":"Amount is not valid","AMOUNT_ZERO_VALIDATION":"Amount can’t be zero","AMOUNT_EXCEEDS_MAXIMUM_VALIDATION":"Entered amount can’t be greater than remaining amount.","OPT_REFUND":"Opt for Instant Refund","LEARN_MORE":"Learn more","REFUND_TERMS":"Instant refund terms & conditions","WHAT_REFUND":"What is Instant Refund?","RECEIVE_REFUND":"Instant refund allows you to receive your money back immediately upon refund initiation by the merchant, instead of waiting 7-14 business days for a standard refund.","FEE_STRUCTURE":"Fee structure","NON_REFUNDABLE":"A small non-refundable fee is charged for this convenience, calculated based on your order amount.","ELIGIBILITY":"Eligibility","AVAILABLITY":"This feature is available for orders paid using eligible credit or debit cards.","REFUND_PROCESS":"Refund process","REFUNDS_PROCESSED":"Refunds are processed instantly to your original payment method.","FEE_NON_REFUNDABLE":"The instant refund fee itself is non-refundable.","APPLICABLE":"Refunds, if applicable, will follow the merchant\'s refund policy.","POLICY_CHANGES":"Policy changes","PAYMOB_RESERVES":"Paymob reserves the right to modify the terms, fee, and availability of the Instant Refund feature at any time with prior notice.","TERMS_OF_SERVICE":"By opting in, you agree to the Instant Refund fee and the terms of service.","CARD_NOT_ELIGIBLE":"Your card is not eligible"}');
86813
+ const src_libs_card_en_namespaceObject = /*#__PURE__*/JSON.parse('{"CARD_INFO":"Card Information","CARDHOLDER_NAME":"Cardholder Name","CARD_NUMBER":"Card Number","CARD_NUMBER_NOT_VALID":"Card number is not valid","CARD_NUMBER_IS_REQUIRED":"Card number is required","CARD_EXPIRY":"Expiry (MM/YY)","CARD_EXPIRY_NOT_VALID":"Expiry date is not valid","CARD_EXPIRY_IS_REQUIRED":"Expiry date is required","AMEX_CVV_IS_REQUIRED":"4-digit CVV is required","CVV_IS_REQUIRED":"3-digit CVV is required","CARD_NAME":"Name on card","CARD_NAME_PLACEHOLDER":"ex. Abdullah Adel","CARD_NAME_NOT_VALID":"Card name is not valid","CARD_NAME_IS_REQUIRED":"Cardholder Name is required","NAME_IS_REQUIRED":"Name is required","EMAIL_IS_REQUIRED":"Email is required","EMAIL_NOT_VALID":"Email is not valid","PHONE_IS_REQUIRED":"Phone is required","PHONE_NOT_VALID":"Phone is not valid","SAVED_CARDS_TITLE":"Saved cards","SAVE_CARD":"Save card for future use","ADD_NEW_CARD_BTN":"New card","CARD_ACTION_BTN":"Pay","OTP_ACTION_BTN":"Verify OTP","CARD_NUMBER_PLACEHOLDER":"1234 1234 1234 1234","MOBILE_CARD_NUMBER_PLACEHOLDER":"Card number","OTP_HINT":"Please enter the 4-digit code sent to your mobile","CVV_MODAL_HEADER":"CVV","CVV_MODAL_VISA_HEADER":"Have Mastercard / Visa card?","CVV_MODAL_VISA_BODY":"It\'s a 3-digit code on the back of your card.","CVV_MODAL_AMEX_HEADER":"Have American Express card?","CVV_MODAL_AMEX_BODY":"It\'s a 4-digit number on the front, just above your credit card number","ERR_MSG_EXCEEDED_TRIALS":"The payment session ends after 3 unsuccessful trials. You will be redirected to the website. You can start a new checkout session with Paymob","ERR_MSG_ALREADY_PROCESSED":"This payment was already processed with status pending","ERR_MSG_DECLINED":"Payment is declined","ERR_MSG_EXPIRED":"Looks like this payment was expired perhaps you should create a new one","ERR_MSG_SOMETHING_WENT_WRONG":"Something went wrong","FORCE_SAVE_CARD":"Card Details would be saved for future use","ERR_MSG_ALREADY_PAID":"This order has already been paid","ERR_OMAN_NET_INVALID":"Oman Net Card can’t be used for transaction. Please use another card type.","VIEW_SAVED_CARDS":"View Saved Cards","ENTER_AMOUNT":"Enter amount","REMAINING_AMOUNT":"Remaining amount","DISCOUNT_APPLIED":"Discount of <span>{{currency}}</span> {{amount}} applied successfully","DISCOUNT_EXCEEDS_ORDER":"Discount Amount is greater than Order Amount. Please Proceed without discount","AMOUNT_IS_REQUIRED":"Amount is required","AMOUNT_NOT_VALID":"Amount is not valid","AMOUNT_ZERO_VALIDATION":"Amount can’t be zero","AMOUNT_EXCEEDS_MAXIMUM_VALIDATION":"Entered amount can’t be greater than remaining amount.","OPT_REFUND":"Enable instant refund","LEARN_MORE":"Learn more","REFUND_TERMS":"Instant refund details","WHAT_REFUND":"How it works?","RECEIVE_REFUND":"Instant refund enables you to receive your money back instantly once the merchant initiates the refund, no need to wait 714 business days.","FEE_STRUCTURE":"Fee structure","NON_REFUNDABLE":"A small non-refundable fee is charged for this convenience, calculated based on your order amount.","ELIGIBILITY":"Eligibility","AVAILABLITY":"This feature is available for orders paid using eligible credit or debit cards.","REFUND_PROCESS":"Refund process","REFUNDS_PROCESSED":"Refunds are processed instantly to your original payment method.","FEE_NON_REFUNDABLE":"The instant refund fee itself is non-refundable.","APPLICABLE":"Refunds, if applicable, will follow the merchant\'s refund policy.","POLICY_CHANGES":"Policy changes","PAYMOB_RESERVES":"Paymob reserves the right to modify the terms, fee, and availability of the Instant Refund feature at any time without prior notice.","TERMS_OF_SERVICE":"By enabling instant refund, you agree to the instant refund fee and the terms of service.","CARD_NOT_ELIGIBLE":"Your card is not eligible","INSTANT_REFUND_DESC":"Get back your refund instantly without waiting for days."}');
86654
86814
  ;// ../../localization/libs/card/ar.json
86655
- const src_libs_card_ar_namespaceObject = /*#__PURE__*/JSON.parse('{"CARD_INFO":"معلومات البطاقة","CARDHOLDER_NAME":"اسم حامل البطاقة","CARD_NUMBER":"رقم البطاقة","CARD_NUMBER_NOT_VALID":"رقم البطاقة غير صحيح","CARD_NUMBER_IS_REQUIRED":"رقم البطاقة مطلوب","CARD_EXPIRY":"تاريخ الصلاحية (شهر/سنة)","CARD_EXPIRY_NOT_VALID":"تاريخ الانتهاء غير صحيح","CARD_EXPIRY_IS_REQUIRED":"تاريخ الانتهاء مطلوب","AMEX_CVV_IS_REQUIRED":"4-digit CVV is required","CVV_IS_REQUIRED":"كود التحقق المكون من 3 أرقام مطلوب","CARD_NAME":"الاسم على البطاقة","CARD_NAME_PLACEHOLDER":"ex. Abdullah Adel","CARD_NAME_NOT_VALID":"اسم البطاقة غير صحيح","CARD_NAME_IS_REQUIRED":"اسم حامل البطاقة مطلوب","NAME_IS_REQUIRED":"الاسم مطلوب","EMAIL_IS_REQUIRED":"البريد الإلكتروني مطلوب","EMAIL_NOT_VALID":"البريد الإلكتروني غير صحيح","PHONE_IS_REQUIRED":"رقم الهاتف مطلوب","PHONE_NOT_VALID":"رقم الهاتف غير صحيح","SAVED_CARDS_TITLE":"البطاقات المحفوظة","SAVE_CARD":"حفظ البطاقة للاستخدام في المستقبل","ADD_NEW_CARD_BTN":"بطاقة جديدة","CARD_ACTION_BTN":"ادفع","OTP_ACTION_BTN":"تحقق من كود الـ OTP","CARD_NUMBER_PLACEHOLDER":"1234 1234 1234 1234","MOBILE_CARD_NUMBER_PLACEHOLDER":"رقم البطاقة","OTP_HINT":"برجاء إدخال الكود المكون من 4 أرقام المرسل إلى موبايلك","CVV_MODAL_HEADER":"CVV","CVV_MODAL_VISA_HEADER":"هل لديك بطاقة ماستركارد / فيزا؟","CVV_MODAL_VISA_BODY":".إنه رمز مكون من 3 أرقام على ظهر بطاقتك","CVV_MODAL_AMEX_HEADER":"هل لديك بطاقة أمريكان إكسبريس؟","CVV_MODAL_AMEX_BODY":".إنه رقم مكون من 4 أرقام في الأمام، فوق رقم بطاقتك الائتمانية","ERR_MSG_EXCEEDED_TRIALS":".تنتهي جلسة الدفع بعد 3 محاولات غير ناجحة، سيتم تحويلك إلى الموقع الإلكتروني، يمكنك بدء جلسة دفع جديدة مع باي موب","ERR_MSG_ALREADY_PROCESSED":".تمت عملية الدفع بالفعل وهي حاليا قيد الإنتظار","ERR_MSG_DECLINED":"تم رفض عملية الدفع","ERR_MSG_EXPIRED":".يبدو أن مهلة الدفع قد انتهت، من فضلك أعد المحاولة","ERR_MSG_SOMETHING_WENT_WRONG":"!حدث خطأ ما","FORCE_SAVE_CARD":"سيتم حفظ بيانات البطاقة للاستخدام في المستقبل","ERR_MSG_ALREADY_PAID":"تمت عملية الدفع لهذا الطلب بالفعل","ERR_OMAN_NET_INVALID":"Oman Net Card can’t be used for transaction. Please use another card type.","ENTER_AMOUNT":"ادخل المبلغ","REMAINING_AMOUNT":"المبلغ المتبقي","VIEW_SAVED_CARDS":"عرض البطاقات المحفوظة","DISCOUNT_APPLIED":"تم تطبيق خصم <span>{{currency}}</span> {{amount}} بنجاح","DISCOUNT_EXCEEDS_ORDER":"مبلغ الخصم يتجاوز مبلغ الطلب. يرجى المتابعة بدون خصم","AMOUNT_IS_REQUIRED":"المبلغ مطلوب","AMOUNT_NOT_VALID":"المبلغ غير صحيح","AMOUNT_ZERO_VALIDATION":"المبلغ لا يمكن أن يكون صفر","AMOUNT_EXCEEDS_MAXIMUM_VALIDATION":"المبلغ المدخل لا يمكن أن يكون أكبر من المبلغ المتبقي.","OPT_REFUND":"اختيار الاسترداد الفوري","LEARN_MORE":"تعرف على المزيد","REFUND_TERMS":"شروط وأحكام الاسترداد الفوري","WHAT_REFUND":"ما هو الاسترداد الفوري؟","RECEIVE_REFUND":"يتيح لك الاسترداد الفوري استرداد أموالك فورًا عند بدء الاسترداد من قبل التاجر، بدلاً من الانتظار لمدة 7-14 يوم عمل لاسترداد المبلغ بشكل قياسي.","FEE_STRUCTURE":"هيكل الرسوم","NON_REFUNDABLE":"يتم فرض رسوم غير قابلة للاسترداد صغيرة مقابل هذه الخدمة، ويتم حسابها بناءً على مبلغ طلبك.","ELIGIBILITY":"الأهلية","AVAILABLITY":"هذه الميزة متاحة للطلبات المدفوعة باستخدام بطاقات الائتمان أو الخصم المؤهلة.","REFUND_PROCESS":"عملية الاسترداد","REFUNDS_PROCESSED":"يتم معالجة الاستردادات على الفور إلى طريقة الدفع الأصلية الخاصة بك.","FEE_NON_REFUNDABLE":"رسوم الاسترداد الفوري غير قابلة للاسترداد.","APPLICABLE":"سيتم اتباع سياسة استرداد التاجر في حالة الاستردادات، إذا كانت قابلة للتطبيق.","POLICY_CHANGES":"تغييرات السياسة","PAYMOB_RESERVES":"تحتفظ باي موب بحق تعديل الشروط والرسوم وتوافر ميزة الاسترداد الفوري في أي وقت مع إشعار مسبق.","TERMS_OF_SERVICE":"بالموافقة على هذه الخدمة، فإنك توافق على رسوم الاسترداد الفوري وشروط الخدمة.","CARD_NOT_ELIGIBLE":"بطاقتك غير مؤهلة"}');
86815
+ const src_libs_card_ar_namespaceObject = /*#__PURE__*/JSON.parse('{"CARD_INFO":"معلومات البطاقة","CARDHOLDER_NAME":"اسم حامل البطاقة","CARD_NUMBER":"رقم البطاقة","CARD_NUMBER_NOT_VALID":"رقم البطاقة غير صحيح","CARD_NUMBER_IS_REQUIRED":"رقم البطاقة مطلوب","CARD_EXPIRY":"تاريخ الصلاحية (شهر/سنة)","CARD_EXPIRY_NOT_VALID":"تاريخ الانتهاء غير صحيح","CARD_EXPIRY_IS_REQUIRED":"تاريخ الانتهاء مطلوب","AMEX_CVV_IS_REQUIRED":"4-digit CVV is required","CVV_IS_REQUIRED":"كود التحقق المكون من 3 أرقام مطلوب","CARD_NAME":"الاسم على البطاقة","CARD_NAME_PLACEHOLDER":"ex. Abdullah Adel","CARD_NAME_NOT_VALID":"اسم البطاقة غير صحيح","CARD_NAME_IS_REQUIRED":"اسم حامل البطاقة مطلوب","NAME_IS_REQUIRED":"الاسم مطلوب","EMAIL_IS_REQUIRED":"البريد الإلكتروني مطلوب","EMAIL_NOT_VALID":"البريد الإلكتروني غير صحيح","PHONE_IS_REQUIRED":"رقم الهاتف مطلوب","PHONE_NOT_VALID":"رقم الهاتف غير صحيح","SAVED_CARDS_TITLE":"البطاقات المحفوظة","SAVE_CARD":"حفظ البطاقة للاستخدام في المستقبل","ADD_NEW_CARD_BTN":"بطاقة جديدة","CARD_ACTION_BTN":"ادفع","OTP_ACTION_BTN":"تحقق من كود الـ OTP","CARD_NUMBER_PLACEHOLDER":"1234 1234 1234 1234","MOBILE_CARD_NUMBER_PLACEHOLDER":"رقم البطاقة","OTP_HINT":"برجاء إدخال الكود المكون من 4 أرقام المرسل إلى موبايلك","CVV_MODAL_HEADER":"CVV","CVV_MODAL_VISA_HEADER":"هل لديك بطاقة ماستركارد / فيزا؟","CVV_MODAL_VISA_BODY":".إنه رمز مكون من 3 أرقام على ظهر بطاقتك","CVV_MODAL_AMEX_HEADER":"هل لديك بطاقة أمريكان إكسبريس؟","CVV_MODAL_AMEX_BODY":".إنه رقم مكون من 4 أرقام في الأمام، فوق رقم بطاقتك الائتمانية","ERR_MSG_EXCEEDED_TRIALS":".تنتهي جلسة الدفع بعد 3 محاولات غير ناجحة، سيتم تحويلك إلى الموقع الإلكتروني، يمكنك بدء جلسة دفع جديدة مع باي موب","ERR_MSG_ALREADY_PROCESSED":".تمت عملية الدفع بالفعل وهي حاليا قيد الإنتظار","ERR_MSG_DECLINED":"تم رفض عملية الدفع","ERR_MSG_EXPIRED":".يبدو أن مهلة الدفع قد انتهت، من فضلك أعد المحاولة","ERR_MSG_SOMETHING_WENT_WRONG":"!حدث خطأ ما","FORCE_SAVE_CARD":"سيتم حفظ بيانات البطاقة للاستخدام في المستقبل","ERR_MSG_ALREADY_PAID":"تمت عملية الدفع لهذا الطلب بالفعل","ERR_OMAN_NET_INVALID":"Oman Net Card can’t be used for transaction. Please use another card type.","ENTER_AMOUNT":"ادخل المبلغ","REMAINING_AMOUNT":"المبلغ المتبقي","VIEW_SAVED_CARDS":"عرض البطاقات المحفوظة","DISCOUNT_APPLIED":"تم تطبيق خصم <span>{{currency}}</span> {{amount}} بنجاح","DISCOUNT_EXCEEDS_ORDER":"مبلغ الخصم يتجاوز مبلغ الطلب. يرجى المتابعة بدون خصم","AMOUNT_IS_REQUIRED":"المبلغ مطلوب","AMOUNT_NOT_VALID":"المبلغ غير صحيح","AMOUNT_ZERO_VALIDATION":"المبلغ لا يمكن أن يكون صفر","AMOUNT_EXCEEDS_MAXIMUM_VALIDATION":"المبلغ المدخل لا يمكن أن يكون أكبر من المبلغ المتبقي.","OPT_REFUND":"تفعيل الاسترداد اللحظي","LEARN_MORE":"المزيد من المعلومات","REFUND_TERMS":"الاسترداد اللحظي","WHAT_REFUND":"ماهو الاسترداد اللحظي؟","RECEIVE_REFUND":"استرد اموالك فورا بمجرد ان يبدأ التاجر عملية الاسترجاع دون الحاجة للانتظار من 7-14 يوم عمل.","FEE_STRUCTURE":"رسوم الخدمة","NON_REFUNDABLE":"يتم احتساب نسبة من مبلغ عملية الدفع كرسوم استرداد لحظي لا تُرد.","ELIGIBILITY":"شروط الخدمة","AVAILABLITY":"خدمة الاسترداد اللحظي متاحة لعمليات الدفع بكروت الائتمان وكروت الخصم المباشر المؤهلة.","REFUND_PROCESS":"عملية الاسترداد","REFUNDS_PROCESSED":"يتم تنفيذ العملية فورا ويُسترد المبلغ على نفس طريقة الدفع.","FEE_NON_REFUNDABLE":"رسوم الخدمة لا تُسترد","APPLICABLE":"يخضع الاسترداد اللحظي عند تنفيذه لسياسة الاسترداد الخاصة بالتاجر.","POLICY_CHANGES":"تحديثات الشروط","PAYMOB_RESERVES":"تحتفظ باي موب بحق تعديل الشروط والرسوم وتغيير إتاحة خدمة الاسترداد اللحظي في أي وقت دون الحاجة لإخطار مسبق.","TERMS_OF_SERVICE":"بتفعيل الاسترداد اللحظي، فإنك توافق على الرسوم بالإضافة للشروط والأحكام.","CARD_NOT_ELIGIBLE":"بطاقتك غير مؤهلة","INSTANT_REFUND_DESC":"استرد اموالك فورا دون الحاجة للانتظار لأيام."}');
86656
86816
  ;// ../../localization/libs/card/ur.json
86657
- const src_libs_card_ur_namespaceObject = /*#__PURE__*/JSON.parse('{"CARD_INFO":"Card Information","CARDHOLDER_NAME":"Cardholder Name","CARD_NUMBER":"Card Number","CARD_NUMBER_NOT_VALID":"Card number is not valid","CARD_NUMBER_IS_REQUIRED":"Card number is required","CARD_EXPIRY":"Expiry (MM/YY)","CARD_EXPIRY_NOT_VALID":"Expiry date is not valid","CARD_EXPIRY_IS_REQUIRED":"Expiry date is required","AMEX_CVV_IS_REQUIRED":"4-digit CVV is required","CVV_IS_REQUIRED":"3-digit CVV is required","CARD_NAME":"Name on card","CARD_NAME_PLACEHOLDER":"ex. Abdullah Adel","CARD_NAME_NOT_VALID":"Card name is not valid","CARD_NAME_IS_REQUIRED":"Cardholder Name is required","NAME_IS_REQUIRED":"Name is required","EMAIL_IS_REQUIRED":"Email is required","EMAIL_NOT_VALID":"Email is not valid","PHONE_IS_REQUIRED":"Phone is required","PHONE_NOT_VALID":"Phone is not valid","SAVED_CARDS_TITLE":"Saved cards","SAVE_CARD":"Save card for future use","ADD_NEW_CARD_BTN":"New card","CARD_ACTION_BTN":"Pay","OTP_ACTION_BTN":"Verify OTP","CARD_NUMBER_PLACEHOLDER":"1234 1234 1234 1234","MOBILE_CARD_NUMBER_PLACEHOLDER":"Card number","OTP_HINT":"Please enter the 4-digit code sent to your mobile","CVV_MODAL_HEADER":"CVV","CVV_MODAL_VISA_HEADER":"Have Mastercard / Visa card?","CVV_MODAL_VISA_BODY":"It\'s a 3-digit code on the back of your card.","CVV_MODAL_AMEX_HEADER":"Have American Express card?","CVV_MODAL_AMEX_BODY":"It\'s a 4-digit number on the front, just above your credit card number","ERR_MSG_EXCEEDED_TRIALS":"The payment session ends after 3 unsuccessful trials. You will be redirected to the website. You can start a new checkout session with Paymob","ERR_MSG_ALREADY_PROCESSED":"This payment was already processed with status pending","ERR_MSG_DECLINED":"Payment is declined","ERR_MSG_EXPIRED":"Looks like this payment was expired perhaps you should create a new one","ERR_MSG_SOMETHING_WENT_WRONG":"Something went wrong","FORCE_SAVE_CARD":"Card Details would be saved for future use","ERR_MSG_ALREADY_PAID":"This order has already been paid","ERR_OMAN_NET_INVALID":"Oman Net Card can’t be used for transaction. Please use another card type.","VIEW_SAVED_CARDS":"View Saved Cards","ENTER_AMOUNT":"Enter amount","DISCOUNT_APPLIED":"Discount of <span>{{currency}}</span> {{amount}} applied successfully","DISCOUNT_EXCEEDS_ORDER":"Discount Amount is greater than Order Amount. Please Proceed without discount","OPT_REFUND":"Opt for Instant Refund","LEARN_MORE":"Learn more","REFUND_TERMS":"Instant refund terms & conditions","WHAT_REFUND":"What is Instant Refund?","RECEIVE_REFUND":"Instant refund allows you to receive your money back immediately upon refund initiation by the merchant, instead of waiting 7-14 business days for a standard refund.","FEE_STRUCTURE":"Fee structure","NON_REFUNDABLE":"A small non-refundable fee is charged for this convenience, calculated based on your order amount.","ELIGIBILITY":"Eligibility","AVAILABLITY":"This feature is available for orders paid using eligible credit or debit cards.","REFUND_PROCESS":"Refund process","REFUNDS_PROCESSED":"Refunds are processed instantly to your original payment method.","FEE_NON_REFUNDABLE":"The instant refund fee itself is non-refundable.","APPLICABLE":"Refunds, if applicable, will follow the merchant\'s refund policy.","POLICY_CHANGES":"Policy changes","PAYMOB_RESERVES":"Paymob reserves the right to modify the terms, fee, and availability of the Instant Refund feature at any time with prior notice.","TERMS_OF_SERVICE":"By opting in, you agree to the Instant Refund fee and the terms of service.","CARD_NOT_ELIGIBLE":"Your card is not eligible"}');
86817
+ const src_libs_card_ur_namespaceObject = /*#__PURE__*/JSON.parse('{"CARD_INFO":"Card Information","CARDHOLDER_NAME":"Cardholder Name","CARD_NUMBER":"Card Number","CARD_NUMBER_NOT_VALID":"Card number is not valid","CARD_NUMBER_IS_REQUIRED":"Card number is required","CARD_EXPIRY":"Expiry (MM/YY)","CARD_EXPIRY_NOT_VALID":"Expiry date is not valid","CARD_EXPIRY_IS_REQUIRED":"Expiry date is required","AMEX_CVV_IS_REQUIRED":"4-digit CVV is required","CVV_IS_REQUIRED":"3-digit CVV is required","CARD_NAME":"Name on card","CARD_NAME_PLACEHOLDER":"ex. Abdullah Adel","CARD_NAME_NOT_VALID":"Card name is not valid","CARD_NAME_IS_REQUIRED":"Cardholder Name is required","NAME_IS_REQUIRED":"Name is required","EMAIL_IS_REQUIRED":"Email is required","EMAIL_NOT_VALID":"Email is not valid","PHONE_IS_REQUIRED":"Phone is required","PHONE_NOT_VALID":"Phone is not valid","SAVED_CARDS_TITLE":"Saved cards","SAVE_CARD":"Save card for future use","ADD_NEW_CARD_BTN":"New card","CARD_ACTION_BTN":"Pay","OTP_ACTION_BTN":"Verify OTP","CARD_NUMBER_PLACEHOLDER":"1234 1234 1234 1234","MOBILE_CARD_NUMBER_PLACEHOLDER":"Card number","OTP_HINT":"Please enter the 4-digit code sent to your mobile","CVV_MODAL_HEADER":"CVV","CVV_MODAL_VISA_HEADER":"Have Mastercard / Visa card?","CVV_MODAL_VISA_BODY":"It\'s a 3-digit code on the back of your card.","CVV_MODAL_AMEX_HEADER":"Have American Express card?","CVV_MODAL_AMEX_BODY":"It\'s a 4-digit number on the front, just above your credit card number","ERR_MSG_EXCEEDED_TRIALS":"The payment session ends after 3 unsuccessful trials. You will be redirected to the website. You can start a new checkout session with Paymob","ERR_MSG_ALREADY_PROCESSED":"This payment was already processed with status pending","ERR_MSG_DECLINED":"Payment is declined","ERR_MSG_EXPIRED":"Looks like this payment was expired perhaps you should create a new one","ERR_MSG_SOMETHING_WENT_WRONG":"Something went wrong","FORCE_SAVE_CARD":"Card Details would be saved for future use","ERR_MSG_ALREADY_PAID":"This order has already been paid","ERR_OMAN_NET_INVALID":"Oman Net Card can’t be used for transaction. Please use another card type.","VIEW_SAVED_CARDS":"View Saved Cards","ENTER_AMOUNT":"Enter amount","DISCOUNT_APPLIED":"Discount of <span>{{currency}}</span> {{amount}} applied successfully","DISCOUNT_EXCEEDS_ORDER":"Discount Amount is greater than Order Amount. Please Proceed without discount","OPT_REFUND":"Enable instant refund","LEARN_MORE":"Learn more","REFUND_TERMS":"Instant refund details","WHAT_REFUND":"How it works?","RECEIVE_REFUND":"Instant refund enables you to receive your money back instantly once the merchant initiates the refund, no need to wait 714 business days.","FEE_STRUCTURE":"Fee structure","NON_REFUNDABLE":"A small non-refundable fee is charged for this convenience, calculated based on your order amount.","ELIGIBILITY":"Eligibility","AVAILABLITY":"This feature is available for orders paid using eligible credit or debit cards.","REFUND_PROCESS":"Refund process","REFUNDS_PROCESSED":"Refunds are processed instantly to your original payment method.","FEE_NON_REFUNDABLE":"The instant refund fee itself is non-refundable.","APPLICABLE":"Refunds, if applicable, will follow the merchant\'s refund policy.","POLICY_CHANGES":"Policy changes","PAYMOB_RESERVES":"Paymob reserves the right to modify the terms, fee, and availability of the Instant Refund feature at any time without prior notice.","TERMS_OF_SERVICE":"By enabling instant refund, you agree to the instant refund fee and the terms of service.","CARD_NOT_ELIGIBLE":"Your card is not eligible","INSTANT_REFUND_DESC":"Get back your refund instantly without waiting for days."}');
86658
86818
  ;// ../../localization/libs/kit-components/en.json
86659
86819
  const src_kit_components_en_namespaceObject = /*#__PURE__*/JSON.parse('{"PAYMENT_EXPIRED":"Link has expired","PAYMENT_EXPIRED_DESCRIPTION":"You can start a new Checkout session with Paymob.","PAYMENT_EXPIRED_DESCRIPTION_QUICK_LINK":"Please ask your merchant to share a new payment link","PAYMENT_EXCEEDED_DESCRIPTION":"The payment session ends after 3 unsuccessful trials. You can start a new checkout session with Paymob.","PAYMENT_EXCEEDED_DESCRIPTION_NO_RETRIES":"You can start a new checkout session with Paymob.","PAYMENT_EXCEEDED_DESCRIPTION_QUICK_LINK":"The Payment session ends after 3 unsuccessful trials. Please ask your merchant to share a new payment link","PAYMENT_EXCEEDED_DESCRIPTION_NO_RETRIES_QUICK_LINK":"Please ask your merchant to share a new payment link","PAYMENT_DECLINED":"Payment declined","PAYMENT_SUCCESSFUL":"Payment Successful","PAYMENT_PENDING":"Payment pending","PAYMENT_PENDING_DESCRIPTION":"Your payment is being processed.","PAYMENT_INVALID":"Something went wrong!","PAYMENT_INVALID_DESCRIPTION":"Unable to process the payment due to an unexpected error.","TRY_AGAIN":"Try again","CANCEL_BTN":"Cancel","REDIRECT_BTN":"Return to the Website","TOTAL_AMOUNT":"Total Amount","ORDER_AMOUNT":"Order Amount","LOADING_SECONDS_LEFT":"seconds left","LOADING_AUTHORIZATION_REQUIRED":"Authorization required","LOADING_REDIRECTED_TO":"To proceed, please authorize this transaction using your","LOADING_REDIRECTED_TO_INFO":"mobile App. Please proceed with payment confirmation within the given time.","PLANS_RADIO_TITLE":"Plan","PLANS_RADIO_EMPTY":"No plans","OFFERS_RADIO_TITLE":"Select offer","OTP_RESEND_QUESTION":"Didn’t receive code?","OTP_RESEND":"Resend code in ","OTP_RESEND_BUTTON":"Re-send OTP","OTP_RESEND_SUCCESS":"OTP has been sent successfully","OTP_LOADING_MESSAGE":"Awaiting Transaction Response. Please don’t close or refresh the browser.","SAVED_CARDS_TITLE":"Saved cards","ADD_NEW_CARD_BTN":"+ Add payment method","CVV_INPUT_LABEL":"Enter CVV","AMEX_CVV_INPUT_LABEL":"Enter 4-digit CVV","SAVED_CARD_IDENTIFIER":"Card Ending with","SAVED_CARDS_ACTION_BTN":"Pay","NOW":"now","FULL_NAME":"Full name","CONTACT_INFO":"Contact information","SWITCH_PAYMENT_METHOD":"Switch payment method","BACK":"Back","DISCOUNT":"Discount of {{currency}} {{discount}} Applied","SECURE_CHECKOUT":"Checkout","SECURE_PAYMENT":"Secure payment","SAVED_CARD_INVALID":"Card Number is not valid, please add a new card","SAVED_CARD_EXPIRED":"Expired","SAVED_CARD_DELETE_BTN":"Yes, Delete it","SAVED_CARD_DELETE_CANCEL_BTN":"No. go back","SAVED_CARD_DELETE_TITLE":"Are you sure you want to delete the {{card}} ending in #** {{digits}}?","REDIRECTION_TO_MERCHANT":"Re-directing you to Merchant\'s Website in {{time}} seconds","REDIRECTION_TO_MERCHANT_LOADING":"We are redirecting you to the merchant website","CONFIRMING_TERMS":"By confirming your payment, you agree to","TERMS":"Terms and Conditions.","PAYMENT_THANKS":"Thanks for your payment","PAYMENT_COMPLETED":"Payment done","FAST_CHECKOUT_CREATED":"and Click account created","FAST_CHECKOUT_VERIFIED_TITLE":"You’re all set for Click checkout","FAST_CHECKOUT_VERIFIED_DESC":"Now you will enjoy the fastest checkout experience with Paymob","SKIP_TO_MERCHANT_BTN":"Skip to Merchant’s Website","COUNTRY_IS_REQUIRED":"Country is required","ADDRESS_IS_REQUIRED":"Address is required","CITY_IS_REQUIRED":"City is required","PROVINCE_IS_REQUIRED":"Province is required","STATE_IS_REQUIRED":"State is required","EMIRATE_IS_REQUIRED":"Emirate is required","POSTAL_CODE_IS_REQUIRED":"PIN Code is required","COUNTRIES":"Countries","NAME_IS_REQUIRED":"Name is required","EMAIL_IS_REQUIRED":"Email is required","EMAIL_NOT_VALID":"Email is not valid","PHONE_IS_REQUIRED":"Phone is required","PHONE_NOT_VALID":"Phone is not valid","SAME_AS_BILLING_CHECKBOX":"Use the same as billing address","CANCEL_PAYMENT":"Cancel payment","CONTINUE_PAYMENT":"Continue payment","RETRY_PAYMENT":"Retry payment","CANCEL_PAYMENT_DESC":"Are you sure you want to cancel payment and return to the merchant website?","BILLING_ADDRESS":"Billing Address","SHIPPING_ADDRESS":"Shipping Address","SHIPPING":"Shipping","BILLING":"Billing","ADDRESS":"Address","POWERED_BY":"Powered by","NAME_PLACEHOLDER":"ex. Abdullah Adel","PHONE_PLACEHOLDER":"Enter Phone Number","OTP_MODAL_HEADER":"{{length}}-digit code","OTP_HINT":"Please enter the code we’ve sent to","OTP_SUMBIT_BUTTON":"Submit","OTP_CANCEL_BUTTON":"Cancel","AFTER_PAYMENT_SUCCESS":"Thanks for your payment","ALREADY_PAID":"This link has already been paid","PAYMENT_FAILURE":"This payment was already processed with status pending","OTP_PLACEHOLDER":"Enter the OTP","MOBILE_NUMBER":"mobile number","SYMPL_ZERO_INTEREST":"0% interest on any card","OFFERS":"Offers","OFFER":"Offer","PAYMENT_CANCELED":"Link has been cancelled","ADD_SAVED_CARDS":"Add card","PENDING_REVERSE_DESCRIPTION":"Your payment could not be completed. Please wait while we reverse any amounts that were authorized or charged ...","FAILURE_REVERSE_TITLE":"Payment reversal failed","FAILURE_REVERSE_DESCRIPTION":"Sorry, we couldn’t process the refund. Please contact your merchant.","SUCCESS_REVERSE_TITLE":"Payment reversed successfully","SUCCESS_REVERSE_DESCRIPTION":"Any authorized or captured amounts have been reversed.","SUBMIT_BTN":"Submit","LOADING":"Loading","STATE":"State","PROVINCE":"Province","CITY":"City","EMIRATE":"Emirate","POSTAL_CODE":"PIN Code","ADDRESS_1":"Address 1","ADDRESS_2":"Address 2 (optional)","DEFAULT":"Default"}');
86660
86820
  ;// ../../localization/libs/kit-components/ar.json