tabexseriescomponents 0.2.1390 → 0.2.1393

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.cjs.js CHANGED
@@ -3153,6 +3153,11 @@ var ProductHeaderPricing = function ProductHeaderPricing(props) {
3153
3153
  }
3154
3154
  setdefaultpricing(price);
3155
3155
  }, [variantindexcompleted]);
3156
+ var toNumber = function toNumber(value) {
3157
+ if (value == null || value === '') return 0;
3158
+ var number = Number(String(value).replace(/,/g, ''));
3159
+ return isNaN(number) ? 0 : number;
3160
+ };
3156
3161
  var SaleCounterPill = function SaleCounterPill() {
3157
3162
  var _fetchProductInfoQuer2, _fetchProductInfoQuer3;
3158
3163
  return /*#__PURE__*/React__default["default"].createElement("div", {
@@ -3174,7 +3179,7 @@ var ProductHeaderPricing = function ProductHeaderPricing(props) {
3174
3179
  color: sectionproperties.counterValueColor,
3175
3180
  fontWeight: sectionproperties.counterValueFontWeight
3176
3181
  }
3177
- }, parseFloat(getprice_discountpriceprops('defaultprice', 0, variantindexcompleted) - getprice_discountpriceprops('defaultsaleprice', 0, variantindexcompleted)).toFixed(2), ' ', langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer2 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer2 === void 0 || (_fetchProductInfoQuer2 = _fetchProductInfoQuer2.data) === null || _fetchProductInfoQuer2 === void 0 ? void 0 : _fetchProductInfoQuer2.currencyname_en : fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer3 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer3 === void 0 || (_fetchProductInfoQuer3 = _fetchProductInfoQuer3.data) === null || _fetchProductInfoQuer3 === void 0 ? void 0 : _fetchProductInfoQuer3.currencyname_ar)), /*#__PURE__*/React__default["default"].createElement("div", {
3182
+ }, sectionproperties.removedecimals != 'With Decimals' ? toNumber(getprice_discountpriceprops('defaultprice', 0, variantindexcompleted)) - toNumber(getprice_discountpriceprops('defaultsaleprice', 0, variantindexcompleted)).toFixed(2) : parseFloat(Math.round(parseInt(getprice_discountpriceprops('defaultprice', 0, variantindexcompleted)) - parseInt(getprice_discountpriceprops('defaultsaleprice', 0, variantindexcompleted)))).toFixed(0), ' ', langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer2 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer2 === void 0 || (_fetchProductInfoQuer2 = _fetchProductInfoQuer2.data) === null || _fetchProductInfoQuer2 === void 0 ? void 0 : _fetchProductInfoQuer2.currencyname_en : fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer3 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer3 === void 0 || (_fetchProductInfoQuer3 = _fetchProductInfoQuer3.data) === null || _fetchProductInfoQuer3 === void 0 ? void 0 : _fetchProductInfoQuer3.currencyname_ar)), /*#__PURE__*/React__default["default"].createElement("div", {
3178
3183
  style: {
3179
3184
  background: sectionproperties.pillbgcolor,
3180
3185
  width: 'fit-content',
@@ -8247,7 +8252,7 @@ var TamaraWidget = function TamaraWidget(props) {
8247
8252
  function ownKeys$2D(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
8248
8253
  function _objectSpread$2D(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$2D(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$2D(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
8249
8254
  var Productinfo = function Productinfo(props) {
8250
- var _css, _fetchProductInfoQuer89, _ref, _fetchProductInfoQuer90, _authdetailsContext$i42, _ref2, _fetchProductInfoQuer91, _authdetailsContext$i43, _ref3, _fetchProductInfoQuer92, _ref4, _authdetailsContext$i44, _returnpolicyobj5, _returnpolicyobj6, _returnpolicyobj7, _returnpolicyobj8, _authdetailsContext$i45, _returnpolicyobj9, _returnpolicyobj0, _returnpolicyobj1, _returnpolicyobj10, _authdetailsContext$i46, _authdetailsContext$i47, _authdetailsContext$i48, _authdetailsContext$i49, _authdetailsContext$i50, _authdetailsContext$i51, _authdetailsContext$i52, _authdetailsContext$i53, _authdetailsContext$i54, _authdetailsContext$i55, _authdetailsContext$i56, _authdetailsContext$i57, _authdetailsContext$i58, _fetchProductInfoQuer93, _fetchProductInfoQuer94, _fetchProductInfoQuer95, _returnpolicyobj11, _returnpolicyobj12, _returnpolicyobj13, _returnpolicyobj14, _fetchProductInfoQuer96, _fetchProductInfoQuer97, _returnpolicyobj15, _returnpolicyobj16, _returnpolicyobj17, _returnpolicyobj18, _fetchProductInfoQuer98, _fetchProductInfoQuer99, _returnpolicyobj19, _returnpolicyobj20, _returnpolicyobj21, _returnpolicyobj22, _authdetailsContext$i59, _returnpolicyobj23, _returnpolicyobj24, _returnpolicyobj25, _returnpolicyobj26, _fetchProductInfoQuer100, _fetchProductInfoQuer101, _fetchProductInfoQuer102, _fetchProductInfoQuer103, _returnpolicyobj27, _returnpolicyobj28, _returnpolicyobj29, _returnpolicyobj30, _authdetailsContext$i60, _returnpolicyobj31, _returnpolicyobj32, _returnpolicyobj33, _returnpolicyobj34, _fetchProductInfoQuer104, _fetchProductInfoQuer105, _returnpolicyobj35, _returnpolicyobj36, _returnpolicyobj37, _returnpolicyobj38, _authdetailsContext$i61, _fetchProductInfoQuer106, _fetchProductInfoQuer107, _fetchProductInfoQuer108, _fetchProductInfoQuer109, _returnpolicyobj39, _returnpolicyobj40, _returnpolicyobj41, _returnpolicyobj42, _authdetailsContext$i62, _authdetailsContext$i63, _returnpolicyobj43, _returnpolicyobj44, _returnpolicyobj45, _returnpolicyobj46, _authdetailsContext$i64, _authdetailsContext$i65;
8255
+ var _css, _fetchProductInfoQuer90, _ref, _fetchProductInfoQuer91, _authdetailsContext$i42, _ref2, _fetchProductInfoQuer92, _authdetailsContext$i43, _ref3, _fetchProductInfoQuer93, _ref4, _authdetailsContext$i44, _returnpolicyobj5, _returnpolicyobj6, _returnpolicyobj7, _returnpolicyobj8, _authdetailsContext$i45, _returnpolicyobj9, _returnpolicyobj0, _returnpolicyobj1, _returnpolicyobj10, _authdetailsContext$i46, _authdetailsContext$i47, _authdetailsContext$i48, _authdetailsContext$i49, _authdetailsContext$i50, _authdetailsContext$i51, _authdetailsContext$i52, _authdetailsContext$i53, _authdetailsContext$i54, _authdetailsContext$i55, _authdetailsContext$i56, _authdetailsContext$i57, _authdetailsContext$i58, _fetchProductInfoQuer94, _fetchProductInfoQuer95, _fetchProductInfoQuer96, _returnpolicyobj11, _returnpolicyobj12, _returnpolicyobj13, _returnpolicyobj14, _fetchProductInfoQuer97, _fetchProductInfoQuer98, _returnpolicyobj15, _returnpolicyobj16, _returnpolicyobj17, _returnpolicyobj18, _fetchProductInfoQuer99, _fetchProductInfoQuer100, _returnpolicyobj19, _returnpolicyobj20, _returnpolicyobj21, _returnpolicyobj22, _authdetailsContext$i59, _returnpolicyobj23, _returnpolicyobj24, _returnpolicyobj25, _returnpolicyobj26, _fetchProductInfoQuer101, _fetchProductInfoQuer102, _fetchProductInfoQuer103, _fetchProductInfoQuer104, _returnpolicyobj27, _returnpolicyobj28, _returnpolicyobj29, _returnpolicyobj30, _authdetailsContext$i60, _returnpolicyobj31, _returnpolicyobj32, _returnpolicyobj33, _returnpolicyobj34, _fetchProductInfoQuer105, _fetchProductInfoQuer106, _returnpolicyobj35, _returnpolicyobj36, _returnpolicyobj37, _returnpolicyobj38, _authdetailsContext$i61, _fetchProductInfoQuer107, _fetchProductInfoQuer108, _fetchProductInfoQuer109, _fetchProductInfoQuer110, _returnpolicyobj39, _returnpolicyobj40, _returnpolicyobj41, _returnpolicyobj42, _authdetailsContext$i62, _authdetailsContext$i63, _returnpolicyobj43, _returnpolicyobj44, _returnpolicyobj45, _returnpolicyobj46, _authdetailsContext$i64, _authdetailsContext$i65;
8251
8256
  var _useState = React.useState({}),
8252
8257
  _useState2 = _slicedToArray__default["default"](_useState, 2),
8253
8258
  ProductInfoObj = _useState2[0],
@@ -8565,34 +8570,35 @@ var Productinfo = function Productinfo(props) {
8565
8570
  // }, [fetchProductInfoQueryContext.isSuccess, fetchProductInfoQueryContext.data, props, props.actions]);
8566
8571
  React.useEffect(function () {
8567
8572
  if (Object.keys(ProductInfoObj).length != 0 && !isloaded) {
8568
- var _fetchProductInfoQuer9, _fetchProductInfoQuer0, _fetchProductInfoQuer1, _fetchProductInfoQuer10, _fetchProductInfoQuer11, _fetchProductInfoQuer12, _fetchProductInfoQuer13, _fetchProductInfoQuer14, _fetchProductInfoQuer15, _fetchProductInfoQuer16, _fetchProductInfoQuer17, _fetchProductInfoQuer18, _fetchProductInfoQuer19, _fetchProductInfoQuer20, _fetchProductInfoQuer21, _fetchProductInfoQuer22;
8573
+ var _fetchProductInfoQuer9, _fetchProductInfoQuer0, _fetchProductInfoQuer1, _fetchProductInfoQuer10, _fetchProductInfoQuer11, _fetchProductInfoQuer12, _fetchProductInfoQuer13, _fetchProductInfoQuer14, _fetchProductInfoQuer15, _fetchProductInfoQuer16, _fetchProductInfoQuer17, _fetchProductInfoQuer18, _fetchProductInfoQuer19, _fetchProductInfoQuer20, _fetchProductInfoQuer21, _fetchProductInfoQuer22, _fetchProductInfoQuer23;
8569
8574
  variantchecker();
8570
8575
  Pixel_EventsContext('productview', {
8571
8576
  name_en: fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer9 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer9 === void 0 || (_fetchProductInfoQuer9 = _fetchProductInfoQuer9.data) === null || _fetchProductInfoQuer9 === void 0 || (_fetchProductInfoQuer9 = _fetchProductInfoQuer9.productinfo) === null || _fetchProductInfoQuer9 === void 0 ? void 0 : _fetchProductInfoQuer9.name_en,
8572
8577
  name_ar: fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer0 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer0 === void 0 || (_fetchProductInfoQuer0 = _fetchProductInfoQuer0.data) === null || _fetchProductInfoQuer0 === void 0 || (_fetchProductInfoQuer0 = _fetchProductInfoQuer0.productinfo) === null || _fetchProductInfoQuer0 === void 0 ? void 0 : _fetchProductInfoQuer0.name_ar,
8573
8578
  productid: fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer1 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer1 === void 0 || (_fetchProductInfoQuer1 = _fetchProductInfoQuer1.data) === null || _fetchProductInfoQuer1 === void 0 || (_fetchProductInfoQuer1 = _fetchProductInfoQuer1.productinfo) === null || _fetchProductInfoQuer1 === void 0 ? void 0 : _fetchProductInfoQuer1.productid,
8574
8579
  content_id: fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer10 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer10 === void 0 || (_fetchProductInfoQuer10 = _fetchProductInfoQuer10.data) === null || _fetchProductInfoQuer10 === void 0 || (_fetchProductInfoQuer10 = _fetchProductInfoQuer10.productinfo) === null || _fetchProductInfoQuer10 === void 0 ? void 0 : _fetchProductInfoQuer10.productid,
8575
- value: fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer11 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer11 === void 0 || (_fetchProductInfoQuer11 = _fetchProductInfoQuer11.data) === null || _fetchProductInfoQuer11 === void 0 || (_fetchProductInfoQuer11 = _fetchProductInfoQuer11.productinfo) === null || _fetchProductInfoQuer11 === void 0 ? void 0 : _fetchProductInfoQuer11.defaultprice,
8576
- sku: fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer12 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer12 === void 0 || (_fetchProductInfoQuer12 = _fetchProductInfoQuer12.data) === null || _fetchProductInfoQuer12 === void 0 || (_fetchProductInfoQuer12 = _fetchProductInfoQuer12.productinfo) === null || _fetchProductInfoQuer12 === void 0 ? void 0 : _fetchProductInfoQuer12.sku,
8580
+ content_ids: [fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer11 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer11 === void 0 || (_fetchProductInfoQuer11 = _fetchProductInfoQuer11.data) === null || _fetchProductInfoQuer11 === void 0 || (_fetchProductInfoQuer11 = _fetchProductInfoQuer11.productinfo) === null || _fetchProductInfoQuer11 === void 0 ? void 0 : _fetchProductInfoQuer11.productid],
8581
+ value: fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer12 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer12 === void 0 || (_fetchProductInfoQuer12 = _fetchProductInfoQuer12.data) === null || _fetchProductInfoQuer12 === void 0 || (_fetchProductInfoQuer12 = _fetchProductInfoQuer12.productinfo) === null || _fetchProductInfoQuer12 === void 0 ? void 0 : _fetchProductInfoQuer12.defaultprice,
8582
+ sku: fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer13 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer13 === void 0 || (_fetchProductInfoQuer13 = _fetchProductInfoQuer13.data) === null || _fetchProductInfoQuer13 === void 0 || (_fetchProductInfoQuer13 = _fetchProductInfoQuer13.productinfo) === null || _fetchProductInfoQuer13 === void 0 ? void 0 : _fetchProductInfoQuer13.sku,
8577
8583
  currency: 'EGP'
8578
8584
  });
8579
8585
  Pixel_EventsContext('ViewContent', {
8580
- name_en: fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer13 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer13 === void 0 || (_fetchProductInfoQuer13 = _fetchProductInfoQuer13.data) === null || _fetchProductInfoQuer13 === void 0 || (_fetchProductInfoQuer13 = _fetchProductInfoQuer13.productinfo) === null || _fetchProductInfoQuer13 === void 0 ? void 0 : _fetchProductInfoQuer13.name_en,
8581
- name_ar: fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer14 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer14 === void 0 || (_fetchProductInfoQuer14 = _fetchProductInfoQuer14.data) === null || _fetchProductInfoQuer14 === void 0 || (_fetchProductInfoQuer14 = _fetchProductInfoQuer14.productinfo) === null || _fetchProductInfoQuer14 === void 0 ? void 0 : _fetchProductInfoQuer14.name_ar,
8582
- productid: fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer15 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer15 === void 0 || (_fetchProductInfoQuer15 = _fetchProductInfoQuer15.data) === null || _fetchProductInfoQuer15 === void 0 || (_fetchProductInfoQuer15 = _fetchProductInfoQuer15.productinfo) === null || _fetchProductInfoQuer15 === void 0 ? void 0 : _fetchProductInfoQuer15.productid,
8583
- sku: fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer16 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer16 === void 0 || (_fetchProductInfoQuer16 = _fetchProductInfoQuer16.data) === null || _fetchProductInfoQuer16 === void 0 || (_fetchProductInfoQuer16 = _fetchProductInfoQuer16.productinfo) === null || _fetchProductInfoQuer16 === void 0 ? void 0 : _fetchProductInfoQuer16.sku,
8586
+ name_en: fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer14 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer14 === void 0 || (_fetchProductInfoQuer14 = _fetchProductInfoQuer14.data) === null || _fetchProductInfoQuer14 === void 0 || (_fetchProductInfoQuer14 = _fetchProductInfoQuer14.productinfo) === null || _fetchProductInfoQuer14 === void 0 ? void 0 : _fetchProductInfoQuer14.name_en,
8587
+ name_ar: fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer15 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer15 === void 0 || (_fetchProductInfoQuer15 = _fetchProductInfoQuer15.data) === null || _fetchProductInfoQuer15 === void 0 || (_fetchProductInfoQuer15 = _fetchProductInfoQuer15.productinfo) === null || _fetchProductInfoQuer15 === void 0 ? void 0 : _fetchProductInfoQuer15.name_ar,
8588
+ productid: fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer16 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer16 === void 0 || (_fetchProductInfoQuer16 = _fetchProductInfoQuer16.data) === null || _fetchProductInfoQuer16 === void 0 || (_fetchProductInfoQuer16 = _fetchProductInfoQuer16.productinfo) === null || _fetchProductInfoQuer16 === void 0 ? void 0 : _fetchProductInfoQuer16.productid,
8589
+ sku: fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer17 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer17 === void 0 || (_fetchProductInfoQuer17 = _fetchProductInfoQuer17.data) === null || _fetchProductInfoQuer17 === void 0 || (_fetchProductInfoQuer17 = _fetchProductInfoQuer17.productinfo) === null || _fetchProductInfoQuer17 === void 0 ? void 0 : _fetchProductInfoQuer17.sku,
8584
8590
  currency: 'EGP'
8585
8591
  });
8586
8592
  Pixel_EventsContext('view_item', {
8587
8593
  ecommerce: {
8588
8594
  currency: 'EGP',
8589
- value: fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer17 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer17 === void 0 || (_fetchProductInfoQuer17 = _fetchProductInfoQuer17.data) === null || _fetchProductInfoQuer17 === void 0 || (_fetchProductInfoQuer17 = _fetchProductInfoQuer17.productinfo) === null || _fetchProductInfoQuer17 === void 0 ? void 0 : _fetchProductInfoQuer17.defaultprice,
8595
+ value: fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer18 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer18 === void 0 || (_fetchProductInfoQuer18 = _fetchProductInfoQuer18.data) === null || _fetchProductInfoQuer18 === void 0 || (_fetchProductInfoQuer18 = _fetchProductInfoQuer18.productinfo) === null || _fetchProductInfoQuer18 === void 0 ? void 0 : _fetchProductInfoQuer18.defaultprice,
8590
8596
  items: [{
8591
- item_id: fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer18 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer18 === void 0 || (_fetchProductInfoQuer18 = _fetchProductInfoQuer18.data) === null || _fetchProductInfoQuer18 === void 0 || (_fetchProductInfoQuer18 = _fetchProductInfoQuer18.productinfo) === null || _fetchProductInfoQuer18 === void 0 ? void 0 : _fetchProductInfoQuer18.productid,
8592
- item_name: fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer19 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer19 === void 0 || (_fetchProductInfoQuer19 = _fetchProductInfoQuer19.data) === null || _fetchProductInfoQuer19 === void 0 || (_fetchProductInfoQuer19 = _fetchProductInfoQuer19.productinfo) === null || _fetchProductInfoQuer19 === void 0 ? void 0 : _fetchProductInfoQuer19.name_en,
8593
- item_name_ar: fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer20 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer20 === void 0 || (_fetchProductInfoQuer20 = _fetchProductInfoQuer20.data) === null || _fetchProductInfoQuer20 === void 0 || (_fetchProductInfoQuer20 = _fetchProductInfoQuer20.productinfo) === null || _fetchProductInfoQuer20 === void 0 ? void 0 : _fetchProductInfoQuer20.name_ar,
8594
- sku: fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer21 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer21 === void 0 || (_fetchProductInfoQuer21 = _fetchProductInfoQuer21.data) === null || _fetchProductInfoQuer21 === void 0 || (_fetchProductInfoQuer21 = _fetchProductInfoQuer21.productinfo) === null || _fetchProductInfoQuer21 === void 0 ? void 0 : _fetchProductInfoQuer21.sku,
8595
- price: fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer22 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer22 === void 0 || (_fetchProductInfoQuer22 = _fetchProductInfoQuer22.data) === null || _fetchProductInfoQuer22 === void 0 || (_fetchProductInfoQuer22 = _fetchProductInfoQuer22.productinfo) === null || _fetchProductInfoQuer22 === void 0 ? void 0 : _fetchProductInfoQuer22.defaultprice
8597
+ item_id: fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer19 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer19 === void 0 || (_fetchProductInfoQuer19 = _fetchProductInfoQuer19.data) === null || _fetchProductInfoQuer19 === void 0 || (_fetchProductInfoQuer19 = _fetchProductInfoQuer19.productinfo) === null || _fetchProductInfoQuer19 === void 0 ? void 0 : _fetchProductInfoQuer19.productid,
8598
+ item_name: fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer20 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer20 === void 0 || (_fetchProductInfoQuer20 = _fetchProductInfoQuer20.data) === null || _fetchProductInfoQuer20 === void 0 || (_fetchProductInfoQuer20 = _fetchProductInfoQuer20.productinfo) === null || _fetchProductInfoQuer20 === void 0 ? void 0 : _fetchProductInfoQuer20.name_en,
8599
+ item_name_ar: fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer21 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer21 === void 0 || (_fetchProductInfoQuer21 = _fetchProductInfoQuer21.data) === null || _fetchProductInfoQuer21 === void 0 || (_fetchProductInfoQuer21 = _fetchProductInfoQuer21.productinfo) === null || _fetchProductInfoQuer21 === void 0 ? void 0 : _fetchProductInfoQuer21.name_ar,
8600
+ sku: fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer22 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer22 === void 0 || (_fetchProductInfoQuer22 = _fetchProductInfoQuer22.data) === null || _fetchProductInfoQuer22 === void 0 || (_fetchProductInfoQuer22 = _fetchProductInfoQuer22.productinfo) === null || _fetchProductInfoQuer22 === void 0 ? void 0 : _fetchProductInfoQuer22.sku,
8601
+ price: fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer23 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer23 === void 0 || (_fetchProductInfoQuer23 = _fetchProductInfoQuer23.data) === null || _fetchProductInfoQuer23 === void 0 || (_fetchProductInfoQuer23 = _fetchProductInfoQuer23.productinfo) === null || _fetchProductInfoQuer23 === void 0 ? void 0 : _fetchProductInfoQuer23.defaultprice
8596
8602
  }]
8597
8603
  }
8598
8604
  });
@@ -8641,18 +8647,18 @@ var Productinfo = function Productinfo(props) {
8641
8647
  return fullPath;
8642
8648
  };
8643
8649
  React.useEffect(function () {
8644
- var _fetchProductInfoQuer23, _fetchProductInfoQuer24;
8650
+ var _fetchProductInfoQuer24, _fetchProductInfoQuer25;
8645
8651
  // if (!fetchProductInfoQueryContext.isFetching && fetchProductInfoQueryContext.isSuccess && ikimagecredcontext != undefined) {
8646
- if (isProductPageLoading == false && Object.keys(fetchProductInfoQueryContext) != 0 && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer23 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer23 === void 0 || (_fetchProductInfoQuer23 = _fetchProductInfoQuer23.data) === null || _fetchProductInfoQuer23 === void 0 ? void 0 : _fetchProductInfoQuer23.productinfo) != undefined && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer24 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer24 === void 0 || (_fetchProductInfoQuer24 = _fetchProductInfoQuer24.data) === null || _fetchProductInfoQuer24 === void 0 ? void 0 : _fetchProductInfoQuer24.productinfo) != null && ikimagecredcontext != undefined) {
8647
- var _fetchProductInfoQuer25;
8648
- if ((fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer25 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer25 === void 0 || (_fetchProductInfoQuer25 = _fetchProductInfoQuer25.data) === null || _fetchProductInfoQuer25 === void 0 ? void 0 : _fetchProductInfoQuer25.productinfo) != null) {
8649
- var _fetchProductInfoQuer26, _fetchProductInfoQuer28, _fetchProductInfoQuer29, _fetchProductInfoQuer30, _fetchProductInfoQuer31, _fetchProductInfoQuer33, _fetchProductInfoQuer34, _fetchProductInfoQuer35, _fetchProductInfoQuer36, _fetchProductInfoQuer37;
8652
+ if (isProductPageLoading == false && Object.keys(fetchProductInfoQueryContext) != 0 && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer24 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer24 === void 0 || (_fetchProductInfoQuer24 = _fetchProductInfoQuer24.data) === null || _fetchProductInfoQuer24 === void 0 ? void 0 : _fetchProductInfoQuer24.productinfo) != undefined && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer25 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer25 === void 0 || (_fetchProductInfoQuer25 = _fetchProductInfoQuer25.data) === null || _fetchProductInfoQuer25 === void 0 ? void 0 : _fetchProductInfoQuer25.productinfo) != null && ikimagecredcontext != undefined) {
8653
+ var _fetchProductInfoQuer26;
8654
+ if ((fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer26 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer26 === void 0 || (_fetchProductInfoQuer26 = _fetchProductInfoQuer26.data) === null || _fetchProductInfoQuer26 === void 0 ? void 0 : _fetchProductInfoQuer26.productinfo) != null) {
8655
+ var _fetchProductInfoQuer27, _fetchProductInfoQuer29, _fetchProductInfoQuer30, _fetchProductInfoQuer31, _fetchProductInfoQuer32, _fetchProductInfoQuer34, _fetchProductInfoQuer35, _fetchProductInfoQuer36, _fetchProductInfoQuer37, _fetchProductInfoQuer38;
8650
8656
  var tempproductimagesarray = [];
8651
8657
  var sizeguideimagetemp = [];
8652
8658
  var tempproductpdfsarray = [];
8653
- if (Array.isArray(fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer26 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer26 === void 0 || (_fetchProductInfoQuer26 = _fetchProductInfoQuer26.data) === null || _fetchProductInfoQuer26 === void 0 || (_fetchProductInfoQuer26 = _fetchProductInfoQuer26.productinfo) === null || _fetchProductInfoQuer26 === void 0 ? void 0 : _fetchProductInfoQuer26.productimages)) {
8654
- var _fetchProductInfoQuer27;
8655
- fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer27 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer27 === void 0 || (_fetchProductInfoQuer27 = _fetchProductInfoQuer27.data) === null || _fetchProductInfoQuer27 === void 0 || (_fetchProductInfoQuer27 = _fetchProductInfoQuer27.productinfo) === null || _fetchProductInfoQuer27 === void 0 || _fetchProductInfoQuer27.productimages.forEach(function (arrayItem, arrayindex) {
8659
+ if (Array.isArray(fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer27 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer27 === void 0 || (_fetchProductInfoQuer27 = _fetchProductInfoQuer27.data) === null || _fetchProductInfoQuer27 === void 0 || (_fetchProductInfoQuer27 = _fetchProductInfoQuer27.productinfo) === null || _fetchProductInfoQuer27 === void 0 ? void 0 : _fetchProductInfoQuer27.productimages)) {
8660
+ var _fetchProductInfoQuer28;
8661
+ fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer28 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer28 === void 0 || (_fetchProductInfoQuer28 = _fetchProductInfoQuer28.data) === null || _fetchProductInfoQuer28 === void 0 || (_fetchProductInfoQuer28 = _fetchProductInfoQuer28.productinfo) === null || _fetchProductInfoQuer28 === void 0 || _fetchProductInfoQuer28.productimages.forEach(function (arrayItem, arrayindex) {
8656
8662
  var imagepath = arrayItem.path;
8657
8663
 
8658
8664
  // var sizeguideimagearrayobj = {
@@ -8706,14 +8712,14 @@ var Productinfo = function Productinfo(props) {
8706
8712
  variantchecker();
8707
8713
  var quantitystepincrearse = 1;
8708
8714
  var tempaddtocardpayloadobj = _objectSpread$2D({}, addtocardpayloadobj);
8709
- tempaddtocardpayloadobj.productid = fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer28 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer28 === void 0 || (_fetchProductInfoQuer28 = _fetchProductInfoQuer28.data) === null || _fetchProductInfoQuer28 === void 0 || (_fetchProductInfoQuer28 = _fetchProductInfoQuer28.productinfo) === null || _fetchProductInfoQuer28 === void 0 ? void 0 : _fetchProductInfoQuer28.productid;
8715
+ tempaddtocardpayloadobj.productid = fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer29 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer29 === void 0 || (_fetchProductInfoQuer29 = _fetchProductInfoQuer29.data) === null || _fetchProductInfoQuer29 === void 0 || (_fetchProductInfoQuer29 = _fetchProductInfoQuer29.productinfo) === null || _fetchProductInfoQuer29 === void 0 ? void 0 : _fetchProductInfoQuer29.productid;
8710
8716
  // setaddtocardpayloadobj({ ...tempaddtocardpayloadobj });
8711
- setRelatedProductsTagid(fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer29 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer29 === void 0 || (_fetchProductInfoQuer29 = _fetchProductInfoQuer29.data) === null || _fetchProductInfoQuer29 === void 0 || (_fetchProductInfoQuer29 = _fetchProductInfoQuer29.productinfo) === null || _fetchProductInfoQuer29 === void 0 ? void 0 : _fetchProductInfoQuer29.maintagid);
8712
- if ((fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer30 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer30 === void 0 || (_fetchProductInfoQuer30 = _fetchProductInfoQuer30.data) === null || _fetchProductInfoQuer30 === void 0 || (_fetchProductInfoQuer30 = _fetchProductInfoQuer30.productinfo) === null || _fetchProductInfoQuer30 === void 0 ? void 0 : _fetchProductInfoQuer30.maintagid) != null && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer31 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer31 === void 0 || (_fetchProductInfoQuer31 = _fetchProductInfoQuer31.data) === null || _fetchProductInfoQuer31 === void 0 || (_fetchProductInfoQuer31 = _fetchProductInfoQuer31.productinfo) === null || _fetchProductInfoQuer31 === void 0 || (_fetchProductInfoQuer31 = _fetchProductInfoQuer31.maintagid) === null || _fetchProductInfoQuer31 === void 0 ? void 0 : _fetchProductInfoQuer31.length) != 0) {
8713
- var _fetchProductInfoQuer32;
8717
+ setRelatedProductsTagid(fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer30 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer30 === void 0 || (_fetchProductInfoQuer30 = _fetchProductInfoQuer30.data) === null || _fetchProductInfoQuer30 === void 0 || (_fetchProductInfoQuer30 = _fetchProductInfoQuer30.productinfo) === null || _fetchProductInfoQuer30 === void 0 ? void 0 : _fetchProductInfoQuer30.maintagid);
8718
+ if ((fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer31 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer31 === void 0 || (_fetchProductInfoQuer31 = _fetchProductInfoQuer31.data) === null || _fetchProductInfoQuer31 === void 0 || (_fetchProductInfoQuer31 = _fetchProductInfoQuer31.productinfo) === null || _fetchProductInfoQuer31 === void 0 ? void 0 : _fetchProductInfoQuer31.maintagid) != null && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer32 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer32 === void 0 || (_fetchProductInfoQuer32 = _fetchProductInfoQuer32.data) === null || _fetchProductInfoQuer32 === void 0 || (_fetchProductInfoQuer32 = _fetchProductInfoQuer32.productinfo) === null || _fetchProductInfoQuer32 === void 0 || (_fetchProductInfoQuer32 = _fetchProductInfoQuer32.maintagid) === null || _fetchProductInfoQuer32 === void 0 ? void 0 : _fetchProductInfoQuer32.length) != 0) {
8719
+ var _fetchProductInfoQuer33;
8714
8720
  GeneralAPIMutationContext.mutate({
8715
8721
  endpointurl: '/FetchRelatedProducts',
8716
- tagid: fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer32 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer32 === void 0 || (_fetchProductInfoQuer32 = _fetchProductInfoQuer32.data) === null || _fetchProductInfoQuer32 === void 0 || (_fetchProductInfoQuer32 = _fetchProductInfoQuer32.productinfo) === null || _fetchProductInfoQuer32 === void 0 ? void 0 : _fetchProductInfoQuer32.maintagid,
8722
+ tagid: fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer33 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer33 === void 0 || (_fetchProductInfoQuer33 = _fetchProductInfoQuer33.data) === null || _fetchProductInfoQuer33 === void 0 || (_fetchProductInfoQuer33 = _fetchProductInfoQuer33.productinfo) === null || _fetchProductInfoQuer33 === void 0 ? void 0 : _fetchProductInfoQuer33.maintagid,
8717
8723
  mutateSuccesscallback: function mutateSuccesscallback(data, variables) {
8718
8724
  if (data.data.status) {
8719
8725
  setRelatedproducts(data.data.productsrelated);
@@ -8721,19 +8727,19 @@ var Productinfo = function Productinfo(props) {
8721
8727
  }
8722
8728
  });
8723
8729
  }
8724
- if ((fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer33 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer33 === void 0 || (_fetchProductInfoQuer33 = _fetchProductInfoQuer33.data) === null || _fetchProductInfoQuer33 === void 0 || (_fetchProductInfoQuer33 = _fetchProductInfoQuer33.productinfo) === null || _fetchProductInfoQuer33 === void 0 ? void 0 : _fetchProductInfoQuer33.item_type) == 'package list') {
8730
+ if ((fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer34 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer34 === void 0 || (_fetchProductInfoQuer34 = _fetchProductInfoQuer34.data) === null || _fetchProductInfoQuer34 === void 0 || (_fetchProductInfoQuer34 = _fetchProductInfoQuer34.productinfo) === null || _fetchProductInfoQuer34 === void 0 ? void 0 : _fetchProductInfoQuer34.item_type) == 'package list') {
8725
8731
  tempaddtocardpayloadobj.item_type = 'package list';
8726
8732
  } else {
8727
8733
  tempaddtocardpayloadobj.item_type = 'product';
8728
8734
  }
8729
- if ((fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer34 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer34 === void 0 || (_fetchProductInfoQuer34 = _fetchProductInfoQuer34.data) === null || _fetchProductInfoQuer34 === void 0 || (_fetchProductInfoQuer34 = _fetchProductInfoQuer34.productinfo) === null || _fetchProductInfoQuer34 === void 0 ? void 0 : _fetchProductInfoQuer34.quantitystepincrearse) != undefined && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer35 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer35 === void 0 || (_fetchProductInfoQuer35 = _fetchProductInfoQuer35.data) === null || _fetchProductInfoQuer35 === void 0 || (_fetchProductInfoQuer35 = _fetchProductInfoQuer35.productinfo) === null || _fetchProductInfoQuer35 === void 0 ? void 0 : _fetchProductInfoQuer35.quantitystepincrearse) != null && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer36 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer36 === void 0 || (_fetchProductInfoQuer36 = _fetchProductInfoQuer36.data) === null || _fetchProductInfoQuer36 === void 0 || (_fetchProductInfoQuer36 = _fetchProductInfoQuer36.productinfo) === null || _fetchProductInfoQuer36 === void 0 ? void 0 : _fetchProductInfoQuer36.quantitystepincrearse) != 1 && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer37 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer37 === void 0 || (_fetchProductInfoQuer37 = _fetchProductInfoQuer37.data) === null || _fetchProductInfoQuer37 === void 0 || (_fetchProductInfoQuer37 = _fetchProductInfoQuer37.productinfo) === null || _fetchProductInfoQuer37 === void 0 ? void 0 : _fetchProductInfoQuer37.quantitystepincrearse) != '') {
8735
+ if ((fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer35 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer35 === void 0 || (_fetchProductInfoQuer35 = _fetchProductInfoQuer35.data) === null || _fetchProductInfoQuer35 === void 0 || (_fetchProductInfoQuer35 = _fetchProductInfoQuer35.productinfo) === null || _fetchProductInfoQuer35 === void 0 ? void 0 : _fetchProductInfoQuer35.quantitystepincrearse) != undefined && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer36 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer36 === void 0 || (_fetchProductInfoQuer36 = _fetchProductInfoQuer36.data) === null || _fetchProductInfoQuer36 === void 0 || (_fetchProductInfoQuer36 = _fetchProductInfoQuer36.productinfo) === null || _fetchProductInfoQuer36 === void 0 ? void 0 : _fetchProductInfoQuer36.quantitystepincrearse) != null && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer37 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer37 === void 0 || (_fetchProductInfoQuer37 = _fetchProductInfoQuer37.data) === null || _fetchProductInfoQuer37 === void 0 || (_fetchProductInfoQuer37 = _fetchProductInfoQuer37.productinfo) === null || _fetchProductInfoQuer37 === void 0 ? void 0 : _fetchProductInfoQuer37.quantitystepincrearse) != 1 && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer38 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer38 === void 0 || (_fetchProductInfoQuer38 = _fetchProductInfoQuer38.data) === null || _fetchProductInfoQuer38 === void 0 || (_fetchProductInfoQuer38 = _fetchProductInfoQuer38.productinfo) === null || _fetchProductInfoQuer38 === void 0 ? void 0 : _fetchProductInfoQuer38.quantitystepincrearse) != '') {
8730
8736
  var _authdetailsContext$i6;
8731
8737
  if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i6 = authdetailsContext.instinfo) === null || _authdetailsContext$i6 === void 0 ? void 0 : _authdetailsContext$i6.contactinfo.instid) == '66d6de1a1e04a') {
8732
- var _fetchProductInfoQuer38;
8733
- quantitystepincrearse = parseFloat(fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer38 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer38 === void 0 || (_fetchProductInfoQuer38 = _fetchProductInfoQuer38.data) === null || _fetchProductInfoQuer38 === void 0 || (_fetchProductInfoQuer38 = _fetchProductInfoQuer38.productinfo) === null || _fetchProductInfoQuer38 === void 0 ? void 0 : _fetchProductInfoQuer38.quantitystepincrearse);
8734
- } else {
8735
8738
  var _fetchProductInfoQuer39;
8736
- quantitystepincrearse = parseInt(fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer39 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer39 === void 0 || (_fetchProductInfoQuer39 = _fetchProductInfoQuer39.data) === null || _fetchProductInfoQuer39 === void 0 || (_fetchProductInfoQuer39 = _fetchProductInfoQuer39.productinfo) === null || _fetchProductInfoQuer39 === void 0 ? void 0 : _fetchProductInfoQuer39.quantitystepincrearse);
8739
+ quantitystepincrearse = parseFloat(fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer39 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer39 === void 0 || (_fetchProductInfoQuer39 = _fetchProductInfoQuer39.data) === null || _fetchProductInfoQuer39 === void 0 || (_fetchProductInfoQuer39 = _fetchProductInfoQuer39.productinfo) === null || _fetchProductInfoQuer39 === void 0 ? void 0 : _fetchProductInfoQuer39.quantitystepincrearse);
8740
+ } else {
8741
+ var _fetchProductInfoQuer40;
8742
+ quantitystepincrearse = parseInt(fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer40 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer40 === void 0 || (_fetchProductInfoQuer40 = _fetchProductInfoQuer40.data) === null || _fetchProductInfoQuer40 === void 0 || (_fetchProductInfoQuer40 = _fetchProductInfoQuer40.productinfo) === null || _fetchProductInfoQuer40 === void 0 ? void 0 : _fetchProductInfoQuer40.quantitystepincrearse);
8737
8743
  }
8738
8744
  // quantitystepincrearse = parseFloat(fetchProductInfoQueryContext?.data?.data?.productinfo?.quantitystepincrearse);
8739
8745
  }
@@ -10549,8 +10555,8 @@ var Productinfo = function Productinfo(props) {
10549
10555
  });
10550
10556
  }
10551
10557
  if (variantnotmatch.length == 0 && isvariant == true) {
10552
- var _fetchProductInfoQuer40;
10553
- var variantobj = fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer40 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer40 === void 0 || (_fetchProductInfoQuer40 = _fetchProductInfoQuer40.data) === null || _fetchProductInfoQuer40 === void 0 || (_fetchProductInfoQuer40 = _fetchProductInfoQuer40.productinfo) === null || _fetchProductInfoQuer40 === void 0 ? void 0 : _fetchProductInfoQuer40.variants[ProductVariantIndex];
10558
+ var _fetchProductInfoQuer41;
10559
+ var variantobj = fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer41 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer41 === void 0 || (_fetchProductInfoQuer41 = _fetchProductInfoQuer41.data) === null || _fetchProductInfoQuer41 === void 0 || (_fetchProductInfoQuer41 = _fetchProductInfoQuer41.productinfo) === null || _fetchProductInfoQuer41 === void 0 ? void 0 : _fetchProductInfoQuer41.variants[ProductVariantIndex];
10554
10560
  var variantid = '';
10555
10561
  if (variantobj == undefined) {
10556
10562
  setisoutofstock(false);
@@ -10595,8 +10601,8 @@ var Productinfo = function Productinfo(props) {
10595
10601
  var forcetocheckoutvalue = forcetocheckout;
10596
10602
  // alert(addtocardpayloadobj.quantity + 'sad');
10597
10603
  if (addtocardpayloadobj.productid.length != 0 && addtocardpayloadobj.quantity > 0) {
10598
- var _fetchProductInfoQuer41;
10599
- if ((fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer41 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer41 === void 0 || (_fetchProductInfoQuer41 = _fetchProductInfoQuer41.data) === null || _fetchProductInfoQuer41 === void 0 || (_fetchProductInfoQuer41 = _fetchProductInfoQuer41.productinfo) === null || _fetchProductInfoQuer41 === void 0 ? void 0 : _fetchProductInfoQuer41.hasvariants) == 1) {
10604
+ var _fetchProductInfoQuer42;
10605
+ if ((fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer42 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer42 === void 0 || (_fetchProductInfoQuer42 = _fetchProductInfoQuer42.data) === null || _fetchProductInfoQuer42 === void 0 || (_fetchProductInfoQuer42 = _fetchProductInfoQuer42.productinfo) === null || _fetchProductInfoQuer42 === void 0 ? void 0 : _fetchProductInfoQuer42.hasvariants) == 1) {
10600
10606
  if (addtocardpayloadobj.variantid.length != 0) {
10601
10607
  runfunc = true;
10602
10608
  } else {
@@ -10612,28 +10618,28 @@ var Productinfo = function Productinfo(props) {
10612
10618
  NotificationManager.warning('', 'Please Choose Quantity');
10613
10619
  }
10614
10620
  if (runfunc == true) {
10615
- var _fetchProductInfoQuer42, _fetchProductInfoQuer43;
10621
+ var _fetchProductInfoQuer43, _fetchProductInfoQuer44;
10616
10622
  var tempaddtocardpayloadobj = _objectSpread$2D({}, addtocardpayloadobj);
10617
- tempaddtocardpayloadobj.isproductforcedtocheckout = fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer42 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer42 === void 0 || (_fetchProductInfoQuer42 = _fetchProductInfoQuer42.data) === null || _fetchProductInfoQuer42 === void 0 || (_fetchProductInfoQuer42 = _fetchProductInfoQuer42.productinfo) === null || _fetchProductInfoQuer42 === void 0 ? void 0 : _fetchProductInfoQuer42.isproductforcedtocheckout;
10618
- tempaddtocardpayloadobj.vendorid = fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer43 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer43 === void 0 || (_fetchProductInfoQuer43 = _fetchProductInfoQuer43.data) === null || _fetchProductInfoQuer43 === void 0 || (_fetchProductInfoQuer43 = _fetchProductInfoQuer43.productinfo) === null || _fetchProductInfoQuer43 === void 0 ? void 0 : _fetchProductInfoQuer43.vendorproviderid;
10623
+ tempaddtocardpayloadobj.isproductforcedtocheckout = fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer43 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer43 === void 0 || (_fetchProductInfoQuer43 = _fetchProductInfoQuer43.data) === null || _fetchProductInfoQuer43 === void 0 || (_fetchProductInfoQuer43 = _fetchProductInfoQuer43.productinfo) === null || _fetchProductInfoQuer43 === void 0 ? void 0 : _fetchProductInfoQuer43.isproductforcedtocheckout;
10624
+ tempaddtocardpayloadobj.vendorid = fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer44 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer44 === void 0 || (_fetchProductInfoQuer44 = _fetchProductInfoQuer44.data) === null || _fetchProductInfoQuer44 === void 0 || (_fetchProductInfoQuer44 = _fetchProductInfoQuer44.productinfo) === null || _fetchProductInfoQuer44 === void 0 ? void 0 : _fetchProductInfoQuer44.vendorproviderid;
10619
10625
  if (forcetocheckoutvalue != undefined) {
10620
10626
  tempaddtocardpayloadobj.forcetocheckoutvalue = forcetocheckoutvalue;
10621
10627
  }
10622
10628
  var Extrafieldvalidationresponse = validateextrafields();
10623
10629
  if (Extrafieldvalidationresponse.status) {
10624
- var _fetchProductInfoQuer44, _fetchProductInfoQuer45, _fetchProductInfoQuer46, _fetchProductInfoQuer47, _fetchProductInfoQuer48, _fetchProductInfoQuer49;
10630
+ var _fetchProductInfoQuer45, _fetchProductInfoQuer46, _fetchProductInfoQuer47, _fetchProductInfoQuer48, _fetchProductInfoQuer49, _fetchProductInfoQuer50;
10625
10631
  var finalprice = 0;
10626
- if ((fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer44 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer44 === void 0 || (_fetchProductInfoQuer44 = _fetchProductInfoQuer44.data) === null || _fetchProductInfoQuer44 === void 0 || (_fetchProductInfoQuer44 = _fetchProductInfoQuer44.productinfo) === null || _fetchProductInfoQuer44 === void 0 ? void 0 : _fetchProductInfoQuer44.hassale) == 1) {
10632
+ if ((fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer45 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer45 === void 0 || (_fetchProductInfoQuer45 = _fetchProductInfoQuer45.data) === null || _fetchProductInfoQuer45 === void 0 || (_fetchProductInfoQuer45 = _fetchProductInfoQuer45.productinfo) === null || _fetchProductInfoQuer45 === void 0 ? void 0 : _fetchProductInfoQuer45.hassale) == 1) {
10627
10633
  finalprice = getprice_discountpriceprops('defaultsaleprice', 0, variantindexcompleted);
10628
10634
  } else {
10629
10635
  finalprice = getprice_discountpriceprops('defaultprice', 0, variantindexcompleted);
10630
10636
  }
10631
10637
  Pixel_EventsContext('AddToCart', {
10632
- content_ids: [fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer45 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer45 === void 0 || (_fetchProductInfoQuer45 = _fetchProductInfoQuer45.data) === null || _fetchProductInfoQuer45 === void 0 || (_fetchProductInfoQuer45 = _fetchProductInfoQuer45.productinfo) === null || _fetchProductInfoQuer45 === void 0 ? void 0 : _fetchProductInfoQuer45.productid],
10633
- content_name: (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer46 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer46 === void 0 || (_fetchProductInfoQuer46 = _fetchProductInfoQuer46.data) === null || _fetchProductInfoQuer46 === void 0 || (_fetchProductInfoQuer46 = _fetchProductInfoQuer46.productinfo) === null || _fetchProductInfoQuer46 === void 0 ? void 0 : _fetchProductInfoQuer46.name_en) + ' - ' + (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer47 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer47 === void 0 || (_fetchProductInfoQuer47 = _fetchProductInfoQuer47.data) === null || _fetchProductInfoQuer47 === void 0 || (_fetchProductInfoQuer47 = _fetchProductInfoQuer47.productinfo) === null || _fetchProductInfoQuer47 === void 0 ? void 0 : _fetchProductInfoQuer47.name_ar),
10634
- content_sku: fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer48 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer48 === void 0 || (_fetchProductInfoQuer48 = _fetchProductInfoQuer48.data) === null || _fetchProductInfoQuer48 === void 0 || (_fetchProductInfoQuer48 = _fetchProductInfoQuer48.productinfo) === null || _fetchProductInfoQuer48 === void 0 ? void 0 : _fetchProductInfoQuer48.sku,
10638
+ content_ids: [fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer46 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer46 === void 0 || (_fetchProductInfoQuer46 = _fetchProductInfoQuer46.data) === null || _fetchProductInfoQuer46 === void 0 || (_fetchProductInfoQuer46 = _fetchProductInfoQuer46.productinfo) === null || _fetchProductInfoQuer46 === void 0 ? void 0 : _fetchProductInfoQuer46.productid],
10639
+ content_name: (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer47 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer47 === void 0 || (_fetchProductInfoQuer47 = _fetchProductInfoQuer47.data) === null || _fetchProductInfoQuer47 === void 0 || (_fetchProductInfoQuer47 = _fetchProductInfoQuer47.productinfo) === null || _fetchProductInfoQuer47 === void 0 ? void 0 : _fetchProductInfoQuer47.name_en) + ' - ' + (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer48 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer48 === void 0 || (_fetchProductInfoQuer48 = _fetchProductInfoQuer48.data) === null || _fetchProductInfoQuer48 === void 0 || (_fetchProductInfoQuer48 = _fetchProductInfoQuer48.productinfo) === null || _fetchProductInfoQuer48 === void 0 ? void 0 : _fetchProductInfoQuer48.name_ar),
10640
+ content_sku: fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer49 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer49 === void 0 || (_fetchProductInfoQuer49 = _fetchProductInfoQuer49.data) === null || _fetchProductInfoQuer49 === void 0 || (_fetchProductInfoQuer49 = _fetchProductInfoQuer49.productinfo) === null || _fetchProductInfoQuer49 === void 0 ? void 0 : _fetchProductInfoQuer49.sku,
10635
10641
  content_type: 'product',
10636
- currency: fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer49 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer49 === void 0 || (_fetchProductInfoQuer49 = _fetchProductInfoQuer49.data) === null || _fetchProductInfoQuer49 === void 0 ? void 0 : _fetchProductInfoQuer49.currencyname_en,
10642
+ currency: fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer50 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer50 === void 0 || (_fetchProductInfoQuer50 = _fetchProductInfoQuer50.data) === null || _fetchProductInfoQuer50 === void 0 ? void 0 : _fetchProductInfoQuer50.currencyname_en,
10637
10643
  value: finalprice,
10638
10644
  quantity: addtocardpayloadobj.quantity
10639
10645
  });
@@ -10642,12 +10648,12 @@ var Productinfo = function Productinfo(props) {
10642
10648
  }
10643
10649
  };
10644
10650
  var validateextrafields = function validateextrafields() {
10645
- var _fetchProductInfoQuer50;
10651
+ var _fetchProductInfoQuer51;
10646
10652
  var tempaddtocardpayloadobj = _objectSpread$2D({}, addtocardpayloadobj);
10647
10653
  var status = false;
10648
10654
  var reason = '';
10649
10655
  var missingitemsfound = [];
10650
- var extrafields = fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer50 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer50 === void 0 || (_fetchProductInfoQuer50 = _fetchProductInfoQuer50.data) === null || _fetchProductInfoQuer50 === void 0 || (_fetchProductInfoQuer50 = _fetchProductInfoQuer50.productinfo) === null || _fetchProductInfoQuer50 === void 0 ? void 0 : _fetchProductInfoQuer50.productextrafields;
10656
+ var extrafields = fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer51 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer51 === void 0 || (_fetchProductInfoQuer51 = _fetchProductInfoQuer51.data) === null || _fetchProductInfoQuer51 === void 0 || (_fetchProductInfoQuer51 = _fetchProductInfoQuer51.productinfo) === null || _fetchProductInfoQuer51 === void 0 ? void 0 : _fetchProductInfoQuer51.productextrafields;
10651
10657
  if ((extrafields === null || extrafields === void 0 ? void 0 : extrafields.length) == 0) {
10652
10658
  status = true;
10653
10659
  } else {
@@ -10769,9 +10775,9 @@ var Productinfo = function Productinfo(props) {
10769
10775
  scrollContainerClassName: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i32 = authdetailsContext.instinfo) === null || _authdetailsContext$i32 === void 0 ? void 0 : _authdetailsContext$i32.contactinfo.instid) == '68e7c7c93c5bd' ? '' : 'scrollmenuclasssubscrollbarrelatedproducts'
10770
10776
  }, Relatedproducts.map(function (item, index) {
10771
10777
  if (item.productinfo != null) {
10772
- var _fetchProductInfoQuer51;
10773
- if (item.productid != (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer51 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer51 === void 0 || (_fetchProductInfoQuer51 = _fetchProductInfoQuer51.data) === null || _fetchProductInfoQuer51 === void 0 || (_fetchProductInfoQuer51 = _fetchProductInfoQuer51.productinfo) === null || _fetchProductInfoQuer51 === void 0 ? void 0 : _fetchProductInfoQuer51.productid)) {
10774
- var _fetchProductInfoQuer52, _fetchProductInfoQuer53;
10778
+ var _fetchProductInfoQuer52;
10779
+ if (item.productid != (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer52 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer52 === void 0 || (_fetchProductInfoQuer52 = _fetchProductInfoQuer52.data) === null || _fetchProductInfoQuer52 === void 0 || (_fetchProductInfoQuer52 = _fetchProductInfoQuer52.productinfo) === null || _fetchProductInfoQuer52 === void 0 ? void 0 : _fetchProductInfoQuer52.productid)) {
10780
+ var _fetchProductInfoQuer53, _fetchProductInfoQuer54;
10775
10781
  return /*#__PURE__*/React__default["default"].createElement("div", {
10776
10782
  className: "col-lg-12 mb-3 px-1",
10777
10783
  onClick: function onClick() {
@@ -10821,7 +10827,7 @@ var Productinfo = function Productinfo(props) {
10821
10827
  "class": "col-lg-12 d-flex align-items-center justify-content-center p-0 "
10822
10828
  }, /*#__PURE__*/React__default["default"].createElement("p", {
10823
10829
  "class": "".concat(productinfo_cssstyles.relatedproductPricestyles) + ' m-0 '
10824
- }, item.productinfo.hassale == 1 ? item.productinfo.defaultsaleprice : item.productinfo.defaultprice, ' ', langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer52 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer52 === void 0 || (_fetchProductInfoQuer52 = _fetchProductInfoQuer52.data) === null || _fetchProductInfoQuer52 === void 0 ? void 0 : _fetchProductInfoQuer52.currencyname_en : fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer53 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer53 === void 0 || (_fetchProductInfoQuer53 = _fetchProductInfoQuer53.data) === null || _fetchProductInfoQuer53 === void 0 ? void 0 : _fetchProductInfoQuer53.currencyname_ar, ' '))))));
10830
+ }, item.productinfo.hassale == 1 ? item.productinfo.defaultsaleprice : item.productinfo.defaultprice, ' ', langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer53 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer53 === void 0 || (_fetchProductInfoQuer53 = _fetchProductInfoQuer53.data) === null || _fetchProductInfoQuer53 === void 0 ? void 0 : _fetchProductInfoQuer53.currencyname_en : fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer54 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer54 === void 0 || (_fetchProductInfoQuer54 = _fetchProductInfoQuer54.data) === null || _fetchProductInfoQuer54 === void 0 ? void 0 : _fetchProductInfoQuer54.currencyname_ar, ' '))))));
10825
10831
  }
10826
10832
  }
10827
10833
  }))), sectionproperties.relatedproductsectionstyle == 'Vertical' && /*#__PURE__*/React__default["default"].createElement("div", {
@@ -10830,9 +10836,9 @@ var Productinfo = function Productinfo(props) {
10830
10836
  className: "row m-0 w-100"
10831
10837
  }, Relatedproducts.map(function (item, index) {
10832
10838
  if (item.productinfo != null) {
10833
- var _fetchProductInfoQuer54;
10834
- if (item.productid != (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer54 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer54 === void 0 || (_fetchProductInfoQuer54 = _fetchProductInfoQuer54.data) === null || _fetchProductInfoQuer54 === void 0 || (_fetchProductInfoQuer54 = _fetchProductInfoQuer54.productinfo) === null || _fetchProductInfoQuer54 === void 0 ? void 0 : _fetchProductInfoQuer54.productid)) {
10835
- var _fetchProductInfoQuer55, _fetchProductInfoQuer56;
10839
+ var _fetchProductInfoQuer55;
10840
+ if (item.productid != (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer55 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer55 === void 0 || (_fetchProductInfoQuer55 = _fetchProductInfoQuer55.data) === null || _fetchProductInfoQuer55 === void 0 || (_fetchProductInfoQuer55 = _fetchProductInfoQuer55.productinfo) === null || _fetchProductInfoQuer55 === void 0 ? void 0 : _fetchProductInfoQuer55.productid)) {
10841
+ var _fetchProductInfoQuer56, _fetchProductInfoQuer57;
10836
10842
  return /*#__PURE__*/React__default["default"].createElement("div", {
10837
10843
  className: "col-lg-3 col-sm-6 mb-4 ",
10838
10844
  onClick: function onClick() {
@@ -10873,7 +10879,7 @@ var Productinfo = function Productinfo(props) {
10873
10879
  "class": "col-lg-12 d-flex align-items-center justify-content-center p-0 "
10874
10880
  }, /*#__PURE__*/React__default["default"].createElement("p", {
10875
10881
  "class": "".concat(productinfo_cssstyles.relatedproductPricestyles) + ' m-0 '
10876
- }, item.productinfo.hassale == 1 ? item.productinfo.defaultsaleprice : item.productinfo.defaultprice, ' ', langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer55 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer55 === void 0 || (_fetchProductInfoQuer55 = _fetchProductInfoQuer55.data) === null || _fetchProductInfoQuer55 === void 0 ? void 0 : _fetchProductInfoQuer55.currencyname_en : fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer56 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer56 === void 0 || (_fetchProductInfoQuer56 = _fetchProductInfoQuer56.data) === null || _fetchProductInfoQuer56 === void 0 ? void 0 : _fetchProductInfoQuer56.currencyname_ar, ' '))))));
10882
+ }, item.productinfo.hassale == 1 ? item.productinfo.defaultsaleprice : item.productinfo.defaultprice, ' ', langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer56 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer56 === void 0 || (_fetchProductInfoQuer56 = _fetchProductInfoQuer56.data) === null || _fetchProductInfoQuer56 === void 0 ? void 0 : _fetchProductInfoQuer56.currencyname_en : fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer57 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer57 === void 0 || (_fetchProductInfoQuer57 = _fetchProductInfoQuer57.data) === null || _fetchProductInfoQuer57 === void 0 ? void 0 : _fetchProductInfoQuer57.currencyname_ar, ' '))))));
10877
10883
  }
10878
10884
  }
10879
10885
  }))))));
@@ -10900,28 +10906,28 @@ var Productinfo = function Productinfo(props) {
10900
10906
  NotificationManager.warning('', 'Please Choose Quantity');
10901
10907
  }
10902
10908
  if (runfunc == true) {
10903
- var _fetchProductInfoQuer57, _fetchProductInfoQuer58;
10909
+ var _fetchProductInfoQuer58, _fetchProductInfoQuer59;
10904
10910
  // var tempaddtocardpayloadobj = { ...addtocardpayloadobj };
10905
- addtocartobjparam.isproductforcedtocheckout = fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer57 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer57 === void 0 || (_fetchProductInfoQuer57 = _fetchProductInfoQuer57.data) === null || _fetchProductInfoQuer57 === void 0 || (_fetchProductInfoQuer57 = _fetchProductInfoQuer57.productinfo) === null || _fetchProductInfoQuer57 === void 0 ? void 0 : _fetchProductInfoQuer57.isproductforcedtocheckout;
10906
- addtocartobjparam.vendorid = fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer58 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer58 === void 0 || (_fetchProductInfoQuer58 = _fetchProductInfoQuer58.data) === null || _fetchProductInfoQuer58 === void 0 || (_fetchProductInfoQuer58 = _fetchProductInfoQuer58.productinfo) === null || _fetchProductInfoQuer58 === void 0 ? void 0 : _fetchProductInfoQuer58.vendorproviderid;
10911
+ addtocartobjparam.isproductforcedtocheckout = fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer58 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer58 === void 0 || (_fetchProductInfoQuer58 = _fetchProductInfoQuer58.data) === null || _fetchProductInfoQuer58 === void 0 || (_fetchProductInfoQuer58 = _fetchProductInfoQuer58.productinfo) === null || _fetchProductInfoQuer58 === void 0 ? void 0 : _fetchProductInfoQuer58.isproductforcedtocheckout;
10912
+ addtocartobjparam.vendorid = fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer59 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer59 === void 0 || (_fetchProductInfoQuer59 = _fetchProductInfoQuer59.data) === null || _fetchProductInfoQuer59 === void 0 || (_fetchProductInfoQuer59 = _fetchProductInfoQuer59.productinfo) === null || _fetchProductInfoQuer59 === void 0 ? void 0 : _fetchProductInfoQuer59.vendorproviderid;
10907
10913
  if (forcetocheckoutvalue != undefined) {
10908
10914
  addtocartobjparam.forcetocheckoutvalue = forcetocheckoutvalue;
10909
10915
  }
10910
10916
  var Extrafieldvalidationresponse = validateextrafields();
10911
10917
  if (Extrafieldvalidationresponse.status) {
10912
- var _fetchProductInfoQuer59, _fetchProductInfoQuer60, _fetchProductInfoQuer61, _fetchProductInfoQuer62, _fetchProductInfoQuer63, _fetchProductInfoQuer64;
10918
+ var _fetchProductInfoQuer60, _fetchProductInfoQuer61, _fetchProductInfoQuer62, _fetchProductInfoQuer63, _fetchProductInfoQuer64, _fetchProductInfoQuer65;
10913
10919
  var finalprice = 0;
10914
- if ((fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer59 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer59 === void 0 || (_fetchProductInfoQuer59 = _fetchProductInfoQuer59.data) === null || _fetchProductInfoQuer59 === void 0 || (_fetchProductInfoQuer59 = _fetchProductInfoQuer59.productinfo) === null || _fetchProductInfoQuer59 === void 0 ? void 0 : _fetchProductInfoQuer59.hassale) == 1) {
10920
+ if ((fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer60 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer60 === void 0 || (_fetchProductInfoQuer60 = _fetchProductInfoQuer60.data) === null || _fetchProductInfoQuer60 === void 0 || (_fetchProductInfoQuer60 = _fetchProductInfoQuer60.productinfo) === null || _fetchProductInfoQuer60 === void 0 ? void 0 : _fetchProductInfoQuer60.hassale) == 1) {
10915
10921
  finalprice = getprice_discountpriceprops('defaultsaleprice', 0, variantindexcompleted);
10916
10922
  } else {
10917
10923
  finalprice = getprice_discountpriceprops('defaultprice', 0, variantindexcompleted);
10918
10924
  }
10919
10925
  Pixel_EventsContext('AddToCart', {
10920
- content_ids: [fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer60 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer60 === void 0 || (_fetchProductInfoQuer60 = _fetchProductInfoQuer60.data) === null || _fetchProductInfoQuer60 === void 0 || (_fetchProductInfoQuer60 = _fetchProductInfoQuer60.productinfo) === null || _fetchProductInfoQuer60 === void 0 ? void 0 : _fetchProductInfoQuer60.productid],
10921
- content_name: (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer61 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer61 === void 0 || (_fetchProductInfoQuer61 = _fetchProductInfoQuer61.data) === null || _fetchProductInfoQuer61 === void 0 || (_fetchProductInfoQuer61 = _fetchProductInfoQuer61.productinfo) === null || _fetchProductInfoQuer61 === void 0 ? void 0 : _fetchProductInfoQuer61.name_en) + ' - ' + (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer62 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer62 === void 0 || (_fetchProductInfoQuer62 = _fetchProductInfoQuer62.data) === null || _fetchProductInfoQuer62 === void 0 || (_fetchProductInfoQuer62 = _fetchProductInfoQuer62.productinfo) === null || _fetchProductInfoQuer62 === void 0 ? void 0 : _fetchProductInfoQuer62.name_ar),
10922
- content_sku: fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer63 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer63 === void 0 || (_fetchProductInfoQuer63 = _fetchProductInfoQuer63.data) === null || _fetchProductInfoQuer63 === void 0 || (_fetchProductInfoQuer63 = _fetchProductInfoQuer63.productinfo) === null || _fetchProductInfoQuer63 === void 0 ? void 0 : _fetchProductInfoQuer63.sku,
10926
+ content_ids: [fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer61 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer61 === void 0 || (_fetchProductInfoQuer61 = _fetchProductInfoQuer61.data) === null || _fetchProductInfoQuer61 === void 0 || (_fetchProductInfoQuer61 = _fetchProductInfoQuer61.productinfo) === null || _fetchProductInfoQuer61 === void 0 ? void 0 : _fetchProductInfoQuer61.productid],
10927
+ content_name: (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer62 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer62 === void 0 || (_fetchProductInfoQuer62 = _fetchProductInfoQuer62.data) === null || _fetchProductInfoQuer62 === void 0 || (_fetchProductInfoQuer62 = _fetchProductInfoQuer62.productinfo) === null || _fetchProductInfoQuer62 === void 0 ? void 0 : _fetchProductInfoQuer62.name_en) + ' - ' + (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer63 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer63 === void 0 || (_fetchProductInfoQuer63 = _fetchProductInfoQuer63.data) === null || _fetchProductInfoQuer63 === void 0 || (_fetchProductInfoQuer63 = _fetchProductInfoQuer63.productinfo) === null || _fetchProductInfoQuer63 === void 0 ? void 0 : _fetchProductInfoQuer63.name_ar),
10928
+ content_sku: fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer64 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer64 === void 0 || (_fetchProductInfoQuer64 = _fetchProductInfoQuer64.data) === null || _fetchProductInfoQuer64 === void 0 || (_fetchProductInfoQuer64 = _fetchProductInfoQuer64.productinfo) === null || _fetchProductInfoQuer64 === void 0 ? void 0 : _fetchProductInfoQuer64.sku,
10923
10929
  content_type: 'product',
10924
- currency: fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer64 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer64 === void 0 || (_fetchProductInfoQuer64 = _fetchProductInfoQuer64.data) === null || _fetchProductInfoQuer64 === void 0 ? void 0 : _fetchProductInfoQuer64.currencyname_en,
10930
+ currency: fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer65 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer65 === void 0 || (_fetchProductInfoQuer65 = _fetchProductInfoQuer65.data) === null || _fetchProductInfoQuer65 === void 0 ? void 0 : _fetchProductInfoQuer65.currencyname_en,
10925
10931
  value: finalprice,
10926
10932
  quantity: addtocardpayloadobj.quantity
10927
10933
  });
@@ -11578,16 +11584,16 @@ var Productinfo = function Productinfo(props) {
11578
11584
  // }
11579
11585
  // };
11580
11586
  var get_product_extras_price = function get_product_extras_price() {
11581
- var _fetchProductInfoQuer65, _fetchProductInfoQuer66, _fetchcustomercartQue, _fetchcustomercartQue2, _fetchcustomercartQue3;
11587
+ var _fetchProductInfoQuer66, _fetchProductInfoQuer67, _fetchcustomercartQue, _fetchcustomercartQue2, _fetchcustomercartQue3;
11582
11588
  var totalprice_extras_price = 0;
11583
- if (fetchProductInfoQueryContext != undefined && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 ? void 0 : fetchProductInfoQueryContext.data) != undefined && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer65 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer65 === void 0 ? void 0 : _fetchProductInfoQuer65.data) != undefined && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer66 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer66 === void 0 || (_fetchProductInfoQuer66 = _fetchProductInfoQuer66.data) === null || _fetchProductInfoQuer66 === void 0 ? void 0 : _fetchProductInfoQuer66.productinfo) != undefined && fetchcustomercartQueryContext != undefined && (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 ? void 0 : fetchcustomercartQueryContext.data) != undefined && (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue === void 0 ? void 0 : _fetchcustomercartQue.data) != undefined && (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue2 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue2 === void 0 || (_fetchcustomercartQue2 = _fetchcustomercartQue2.data) === null || _fetchcustomercartQue2 === void 0 ? void 0 : _fetchcustomercartQue2.customercart) != undefined && (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue3 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue3 === void 0 || (_fetchcustomercartQue3 = _fetchcustomercartQue3.data) === null || _fetchcustomercartQue3 === void 0 || (_fetchcustomercartQue3 = _fetchcustomercartQue3.customercart) === null || _fetchcustomercartQue3 === void 0 ? void 0 : _fetchcustomercartQue3.cartitems) != undefined) {
11589
+ if (fetchProductInfoQueryContext != undefined && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 ? void 0 : fetchProductInfoQueryContext.data) != undefined && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer66 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer66 === void 0 ? void 0 : _fetchProductInfoQuer66.data) != undefined && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer67 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer67 === void 0 || (_fetchProductInfoQuer67 = _fetchProductInfoQuer67.data) === null || _fetchProductInfoQuer67 === void 0 ? void 0 : _fetchProductInfoQuer67.productinfo) != undefined && fetchcustomercartQueryContext != undefined && (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 ? void 0 : fetchcustomercartQueryContext.data) != undefined && (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue === void 0 ? void 0 : _fetchcustomercartQue.data) != undefined && (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue2 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue2 === void 0 || (_fetchcustomercartQue2 = _fetchcustomercartQue2.data) === null || _fetchcustomercartQue2 === void 0 ? void 0 : _fetchcustomercartQue2.customercart) != undefined && (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue3 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue3 === void 0 || (_fetchcustomercartQue3 = _fetchcustomercartQue3.data) === null || _fetchcustomercartQue3 === void 0 || (_fetchcustomercartQue3 = _fetchcustomercartQue3.customercart) === null || _fetchcustomercartQue3 === void 0 ? void 0 : _fetchcustomercartQue3.cartitems) != undefined) {
11584
11590
  var _fetchcustomercartQue4;
11585
11591
  var extras_for_product = [];
11586
11592
  fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue4 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue4 === void 0 || (_fetchcustomercartQue4 = _fetchcustomercartQue4.data) === null || _fetchcustomercartQue4 === void 0 || (_fetchcustomercartQue4 = _fetchcustomercartQue4.customercart) === null || _fetchcustomercartQue4 === void 0 ? void 0 : _fetchcustomercartQue4.cartitems;
11587
11593
  product_prod_extras_array === null || product_prod_extras_array === void 0 || product_prod_extras_array.forEach(function (cartitem_in, cartindex_in) {
11588
11594
  if ((cartitem_in === null || cartitem_in === void 0 ? void 0 : cartitem_in.item_type) == 'Extras') {
11589
- var _fetchProductInfoQuer67;
11590
- if ((cartitem_in === null || cartitem_in === void 0 ? void 0 : cartitem_in.main_ref_productid) == (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer67 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer67 === void 0 || (_fetchProductInfoQuer67 = _fetchProductInfoQuer67.data) === null || _fetchProductInfoQuer67 === void 0 || (_fetchProductInfoQuer67 = _fetchProductInfoQuer67.productinfo) === null || _fetchProductInfoQuer67 === void 0 ? void 0 : _fetchProductInfoQuer67.productid)) {
11595
+ var _fetchProductInfoQuer68;
11596
+ if ((cartitem_in === null || cartitem_in === void 0 ? void 0 : cartitem_in.main_ref_productid) == (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer68 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer68 === void 0 || (_fetchProductInfoQuer68 = _fetchProductInfoQuer68.data) === null || _fetchProductInfoQuer68 === void 0 || (_fetchProductInfoQuer68 = _fetchProductInfoQuer68.productinfo) === null || _fetchProductInfoQuer68 === void 0 ? void 0 : _fetchProductInfoQuer68.productid)) {
11591
11597
  extras_for_product.push(cartitem_in);
11592
11598
  }
11593
11599
  }
@@ -11600,37 +11606,37 @@ var Productinfo = function Productinfo(props) {
11600
11606
  return parseFloat(totalprice_extras_price);
11601
11607
  };
11602
11608
  var getprice_discountpriceprops = function getprice_discountpriceprops(type, withtotal, variantindexcompleted) {
11603
- var _fetchProductInfoQuer68, _fetchProductInfoQuer69, _fetchProductInfoQuer70, _fetchProductInfoQuer71;
11609
+ var _fetchProductInfoQuer69, _fetchProductInfoQuer70, _fetchProductInfoQuer71, _fetchProductInfoQuer72;
11604
11610
  var price = 0;
11605
11611
  var quantity = 0;
11606
11612
  if (addtocardpayloadobj.quantity != undefined && addtocardpayloadobj.quantity != null) {
11607
11613
  quantity = parseFloat(addtocardpayloadobj.quantity);
11608
11614
  }
11609
- if ((fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer68 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer68 === void 0 || (_fetchProductInfoQuer68 = _fetchProductInfoQuer68.data) === null || _fetchProductInfoQuer68 === void 0 || (_fetchProductInfoQuer68 = _fetchProductInfoQuer68.productinfo) === null || _fetchProductInfoQuer68 === void 0 ? void 0 : _fetchProductInfoQuer68.productquantityoptions) != undefined && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer69 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer69 === void 0 || (_fetchProductInfoQuer69 = _fetchProductInfoQuer69.data) === null || _fetchProductInfoQuer69 === void 0 || (_fetchProductInfoQuer69 = _fetchProductInfoQuer69.productinfo) === null || _fetchProductInfoQuer69 === void 0 ? void 0 : _fetchProductInfoQuer69.productquantityoptions) != null && Array.isArray(fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer70 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer70 === void 0 || (_fetchProductInfoQuer70 = _fetchProductInfoQuer70.data) === null || _fetchProductInfoQuer70 === void 0 || (_fetchProductInfoQuer70 = _fetchProductInfoQuer70.productinfo) === null || _fetchProductInfoQuer70 === void 0 ? void 0 : _fetchProductInfoQuer70.productquantityoptions) && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer71 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer71 === void 0 || (_fetchProductInfoQuer71 = _fetchProductInfoQuer71.data) === null || _fetchProductInfoQuer71 === void 0 || (_fetchProductInfoQuer71 = _fetchProductInfoQuer71.productinfo) === null || _fetchProductInfoQuer71 === void 0 || (_fetchProductInfoQuer71 = _fetchProductInfoQuer71.productquantityoptions) === null || _fetchProductInfoQuer71 === void 0 ? void 0 : _fetchProductInfoQuer71.length) != 0) {
11610
- var _fetchProductInfoQuer72;
11611
- fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer72 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer72 === void 0 || (_fetchProductInfoQuer72 = _fetchProductInfoQuer72.data) === null || _fetchProductInfoQuer72 === void 0 || (_fetchProductInfoQuer72 = _fetchProductInfoQuer72.productinfo) === null || _fetchProductInfoQuer72 === void 0 ? void 0 : _fetchProductInfoQuer72.productquantityoptions;
11615
+ if ((fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer69 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer69 === void 0 || (_fetchProductInfoQuer69 = _fetchProductInfoQuer69.data) === null || _fetchProductInfoQuer69 === void 0 || (_fetchProductInfoQuer69 = _fetchProductInfoQuer69.productinfo) === null || _fetchProductInfoQuer69 === void 0 ? void 0 : _fetchProductInfoQuer69.productquantityoptions) != undefined && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer70 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer70 === void 0 || (_fetchProductInfoQuer70 = _fetchProductInfoQuer70.data) === null || _fetchProductInfoQuer70 === void 0 || (_fetchProductInfoQuer70 = _fetchProductInfoQuer70.productinfo) === null || _fetchProductInfoQuer70 === void 0 ? void 0 : _fetchProductInfoQuer70.productquantityoptions) != null && Array.isArray(fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer71 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer71 === void 0 || (_fetchProductInfoQuer71 = _fetchProductInfoQuer71.data) === null || _fetchProductInfoQuer71 === void 0 || (_fetchProductInfoQuer71 = _fetchProductInfoQuer71.productinfo) === null || _fetchProductInfoQuer71 === void 0 ? void 0 : _fetchProductInfoQuer71.productquantityoptions) && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer72 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer72 === void 0 || (_fetchProductInfoQuer72 = _fetchProductInfoQuer72.data) === null || _fetchProductInfoQuer72 === void 0 || (_fetchProductInfoQuer72 = _fetchProductInfoQuer72.productinfo) === null || _fetchProductInfoQuer72 === void 0 || (_fetchProductInfoQuer72 = _fetchProductInfoQuer72.productquantityoptions) === null || _fetchProductInfoQuer72 === void 0 ? void 0 : _fetchProductInfoQuer72.length) != 0) {
11616
+ var _fetchProductInfoQuer73;
11617
+ fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer73 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer73 === void 0 || (_fetchProductInfoQuer73 = _fetchProductInfoQuer73.data) === null || _fetchProductInfoQuer73 === void 0 || (_fetchProductInfoQuer73 = _fetchProductInfoQuer73.productinfo) === null || _fetchProductInfoQuer73 === void 0 ? void 0 : _fetchProductInfoQuer73.productquantityoptions;
11612
11618
  }
11613
11619
  if (type == 'defaultprice') {
11614
- var _fetchProductInfoQuer73, _fetchProductInfoQuer74;
11615
- price = fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer73 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer73 === void 0 || (_fetchProductInfoQuer73 = _fetchProductInfoQuer73.data) === null || _fetchProductInfoQuer73 === void 0 || (_fetchProductInfoQuer73 = _fetchProductInfoQuer73.productinfo) === null || _fetchProductInfoQuer73 === void 0 ? void 0 : _fetchProductInfoQuer73.defaultprice;
11616
- if ((fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer74 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer74 === void 0 || (_fetchProductInfoQuer74 = _fetchProductInfoQuer74.data) === null || _fetchProductInfoQuer74 === void 0 || (_fetchProductInfoQuer74 = _fetchProductInfoQuer74.productinfo) === null || _fetchProductInfoQuer74 === void 0 ? void 0 : _fetchProductInfoQuer74.hasvariants) == 1) {
11620
+ var _fetchProductInfoQuer74, _fetchProductInfoQuer75;
11621
+ price = fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer74 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer74 === void 0 || (_fetchProductInfoQuer74 = _fetchProductInfoQuer74.data) === null || _fetchProductInfoQuer74 === void 0 || (_fetchProductInfoQuer74 = _fetchProductInfoQuer74.productinfo) === null || _fetchProductInfoQuer74 === void 0 ? void 0 : _fetchProductInfoQuer74.defaultprice;
11622
+ if ((fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer75 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer75 === void 0 || (_fetchProductInfoQuer75 = _fetchProductInfoQuer75.data) === null || _fetchProductInfoQuer75 === void 0 || (_fetchProductInfoQuer75 = _fetchProductInfoQuer75.productinfo) === null || _fetchProductInfoQuer75 === void 0 ? void 0 : _fetchProductInfoQuer75.hasvariants) == 1) {
11617
11623
  if (variantindexcompleted != undefined) {
11618
- var _fetchProductInfoQuer75;
11619
- if ((fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer75 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer75 === void 0 || (_fetchProductInfoQuer75 = _fetchProductInfoQuer75.data) === null || _fetchProductInfoQuer75 === void 0 || (_fetchProductInfoQuer75 = _fetchProductInfoQuer75.productinfo) === null || _fetchProductInfoQuer75 === void 0 || (_fetchProductInfoQuer75 = _fetchProductInfoQuer75.variants[variantindexcompleted]) === null || _fetchProductInfoQuer75 === void 0 ? void 0 : _fetchProductInfoQuer75.variantprice) != undefined) {
11620
- var _fetchProductInfoQuer76;
11621
- price = fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer76 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer76 === void 0 || (_fetchProductInfoQuer76 = _fetchProductInfoQuer76.data) === null || _fetchProductInfoQuer76 === void 0 || (_fetchProductInfoQuer76 = _fetchProductInfoQuer76.productinfo) === null || _fetchProductInfoQuer76 === void 0 || (_fetchProductInfoQuer76 = _fetchProductInfoQuer76.variants[variantindexcompleted]) === null || _fetchProductInfoQuer76 === void 0 ? void 0 : _fetchProductInfoQuer76.variantprice;
11624
+ var _fetchProductInfoQuer76;
11625
+ if ((fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer76 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer76 === void 0 || (_fetchProductInfoQuer76 = _fetchProductInfoQuer76.data) === null || _fetchProductInfoQuer76 === void 0 || (_fetchProductInfoQuer76 = _fetchProductInfoQuer76.productinfo) === null || _fetchProductInfoQuer76 === void 0 || (_fetchProductInfoQuer76 = _fetchProductInfoQuer76.variants[variantindexcompleted]) === null || _fetchProductInfoQuer76 === void 0 ? void 0 : _fetchProductInfoQuer76.variantprice) != undefined) {
11626
+ var _fetchProductInfoQuer77;
11627
+ price = fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer77 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer77 === void 0 || (_fetchProductInfoQuer77 = _fetchProductInfoQuer77.data) === null || _fetchProductInfoQuer77 === void 0 || (_fetchProductInfoQuer77 = _fetchProductInfoQuer77.productinfo) === null || _fetchProductInfoQuer77 === void 0 || (_fetchProductInfoQuer77 = _fetchProductInfoQuer77.variants[variantindexcompleted]) === null || _fetchProductInfoQuer77 === void 0 ? void 0 : _fetchProductInfoQuer77.variantprice;
11622
11628
  }
11623
11629
  }
11624
11630
  }
11625
11631
  } else if (type == 'defaultsaleprice') {
11626
- var _fetchProductInfoQuer77, _fetchProductInfoQuer78;
11627
- price = fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer77 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer77 === void 0 || (_fetchProductInfoQuer77 = _fetchProductInfoQuer77.data) === null || _fetchProductInfoQuer77 === void 0 || (_fetchProductInfoQuer77 = _fetchProductInfoQuer77.productinfo) === null || _fetchProductInfoQuer77 === void 0 ? void 0 : _fetchProductInfoQuer77.defaultsaleprice;
11628
- if ((fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer78 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer78 === void 0 || (_fetchProductInfoQuer78 = _fetchProductInfoQuer78.data) === null || _fetchProductInfoQuer78 === void 0 || (_fetchProductInfoQuer78 = _fetchProductInfoQuer78.productinfo) === null || _fetchProductInfoQuer78 === void 0 ? void 0 : _fetchProductInfoQuer78.hasvariants) == 1) {
11632
+ var _fetchProductInfoQuer78, _fetchProductInfoQuer79;
11633
+ price = fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer78 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer78 === void 0 || (_fetchProductInfoQuer78 = _fetchProductInfoQuer78.data) === null || _fetchProductInfoQuer78 === void 0 || (_fetchProductInfoQuer78 = _fetchProductInfoQuer78.productinfo) === null || _fetchProductInfoQuer78 === void 0 ? void 0 : _fetchProductInfoQuer78.defaultsaleprice;
11634
+ if ((fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer79 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer79 === void 0 || (_fetchProductInfoQuer79 = _fetchProductInfoQuer79.data) === null || _fetchProductInfoQuer79 === void 0 || (_fetchProductInfoQuer79 = _fetchProductInfoQuer79.productinfo) === null || _fetchProductInfoQuer79 === void 0 ? void 0 : _fetchProductInfoQuer79.hasvariants) == 1) {
11629
11635
  if (variantindexcompleted != undefined) {
11630
- var _fetchProductInfoQuer79;
11631
- if ((fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer79 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer79 === void 0 || (_fetchProductInfoQuer79 = _fetchProductInfoQuer79.data) === null || _fetchProductInfoQuer79 === void 0 || (_fetchProductInfoQuer79 = _fetchProductInfoQuer79.productinfo) === null || _fetchProductInfoQuer79 === void 0 || (_fetchProductInfoQuer79 = _fetchProductInfoQuer79.variants[variantindexcompleted]) === null || _fetchProductInfoQuer79 === void 0 ? void 0 : _fetchProductInfoQuer79.variantsaleprice) != undefined) {
11632
- var _fetchProductInfoQuer80;
11633
- price = fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer80 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer80 === void 0 || (_fetchProductInfoQuer80 = _fetchProductInfoQuer80.data) === null || _fetchProductInfoQuer80 === void 0 || (_fetchProductInfoQuer80 = _fetchProductInfoQuer80.productinfo) === null || _fetchProductInfoQuer80 === void 0 || (_fetchProductInfoQuer80 = _fetchProductInfoQuer80.variants[variantindexcompleted]) === null || _fetchProductInfoQuer80 === void 0 ? void 0 : _fetchProductInfoQuer80.variantsaleprice;
11636
+ var _fetchProductInfoQuer80;
11637
+ if ((fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer80 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer80 === void 0 || (_fetchProductInfoQuer80 = _fetchProductInfoQuer80.data) === null || _fetchProductInfoQuer80 === void 0 || (_fetchProductInfoQuer80 = _fetchProductInfoQuer80.productinfo) === null || _fetchProductInfoQuer80 === void 0 || (_fetchProductInfoQuer80 = _fetchProductInfoQuer80.variants[variantindexcompleted]) === null || _fetchProductInfoQuer80 === void 0 ? void 0 : _fetchProductInfoQuer80.variantsaleprice) != undefined) {
11638
+ var _fetchProductInfoQuer81;
11639
+ price = fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer81 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer81 === void 0 || (_fetchProductInfoQuer81 = _fetchProductInfoQuer81.data) === null || _fetchProductInfoQuer81 === void 0 || (_fetchProductInfoQuer81 = _fetchProductInfoQuer81.productinfo) === null || _fetchProductInfoQuer81 === void 0 || (_fetchProductInfoQuer81 = _fetchProductInfoQuer81.variants[variantindexcompleted]) === null || _fetchProductInfoQuer81 === void 0 ? void 0 : _fetchProductInfoQuer81.variantsaleprice;
11634
11640
  }
11635
11641
  }
11636
11642
  }
@@ -11660,7 +11666,16 @@ var Productinfo = function Productinfo(props) {
11660
11666
  if (sectionproperties.removedecimals == 'Without Decimals') {
11661
11667
  return parseFloat(Number(price).toFixed(2));
11662
11668
  } else if (sectionproperties.removedecimals == 'Without Decimals and Separated With Comma') {
11663
- return Math.floor(price).toLocaleString();
11669
+ // return Math.floor(price).toLocaleString();
11670
+ return Number(price).toLocaleString('en-US', {
11671
+ minimumFractionDigits: 0,
11672
+ maximumFractionDigits: 2
11673
+ });
11674
+ } else if (sectionproperties.removedecimals == 'Separated With Comma') {
11675
+ return Number(price).toLocaleString('en-US', {
11676
+ minimumFractionDigits: 0,
11677
+ maximumFractionDigits: 2
11678
+ });
11664
11679
  } else {
11665
11680
  return price;
11666
11681
  }
@@ -11729,7 +11744,7 @@ var Productinfo = function Productinfo(props) {
11729
11744
  // }
11730
11745
  // };
11731
11746
  var getQuantityCondition = function getQuantityCondition() {
11732
- var _fetchProductInfoQuer81;
11747
+ var _fetchProductInfoQuer82;
11733
11748
  return /*#__PURE__*/React__default["default"].createElement("div", {
11734
11749
  "class": "col-lg-12 p-0",
11735
11750
  style: {
@@ -11759,12 +11774,12 @@ var Productinfo = function Productinfo(props) {
11759
11774
  height: 1,
11760
11775
  background: sectionproperties.pricelisttitlecolor
11761
11776
  }
11762
- })), fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer81 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer81 === void 0 || (_fetchProductInfoQuer81 = _fetchProductInfoQuer81.data) === null || _fetchProductInfoQuer81 === void 0 || (_fetchProductInfoQuer81 = _fetchProductInfoQuer81.productinfo) === null || _fetchProductInfoQuer81 === void 0 || (_fetchProductInfoQuer81 = _fetchProductInfoQuer81.productquantityoptions) === null || _fetchProductInfoQuer81 === void 0 ? void 0 : _fetchProductInfoQuer81.map(function (item, index) {
11763
- var _fetchProductInfoQuer82;
11777
+ })), fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer82 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer82 === void 0 || (_fetchProductInfoQuer82 = _fetchProductInfoQuer82.data) === null || _fetchProductInfoQuer82 === void 0 || (_fetchProductInfoQuer82 = _fetchProductInfoQuer82.productinfo) === null || _fetchProductInfoQuer82 === void 0 || (_fetchProductInfoQuer82 = _fetchProductInfoQuer82.productquantityoptions) === null || _fetchProductInfoQuer82 === void 0 ? void 0 : _fetchProductInfoQuer82.map(function (item, index) {
11778
+ var _fetchProductInfoQuer83;
11764
11779
  return /*#__PURE__*/React__default["default"].createElement("div", {
11765
11780
  className: "col-lg-12 p-0 w-100 d-flex align-items-center",
11766
11781
  style: {
11767
- marginBottom: (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer82 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer82 === void 0 || (_fetchProductInfoQuer82 = _fetchProductInfoQuer82.data) === null || _fetchProductInfoQuer82 === void 0 || (_fetchProductInfoQuer82 = _fetchProductInfoQuer82.productinfo) === null || _fetchProductInfoQuer82 === void 0 || (_fetchProductInfoQuer82 = _fetchProductInfoQuer82.productquantityoptions) === null || _fetchProductInfoQuer82 === void 0 ? void 0 : _fetchProductInfoQuer82.length) - 1 != index ? '1rem' : 0
11782
+ marginBottom: (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer83 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer83 === void 0 || (_fetchProductInfoQuer83 = _fetchProductInfoQuer83.data) === null || _fetchProductInfoQuer83 === void 0 || (_fetchProductInfoQuer83 = _fetchProductInfoQuer83.productinfo) === null || _fetchProductInfoQuer83 === void 0 || (_fetchProductInfoQuer83 = _fetchProductInfoQuer83.productquantityoptions) === null || _fetchProductInfoQuer83 === void 0 ? void 0 : _fetchProductInfoQuer83.length) - 1 != index ? '1rem' : 0
11768
11783
  }
11769
11784
  }, /*#__PURE__*/React__default["default"].createElement("div", {
11770
11785
  "class": "d-flex align-items-center",
@@ -11798,7 +11813,7 @@ var Productinfo = function Productinfo(props) {
11798
11813
  })));
11799
11814
  };
11800
11815
  var StoreInfo = function StoreInfo(position) {
11801
- var _fetchProductInfoQuer83, _authdetailsContext$i36, _returnpolicyobj, _returnpolicyobj2, _returnpolicyobj3, _returnpolicyobj4, _authdetailsContext$i37, _authdetailsContext$i39;
11816
+ var _fetchProductInfoQuer84, _authdetailsContext$i36, _returnpolicyobj, _returnpolicyobj2, _returnpolicyobj3, _returnpolicyobj4, _authdetailsContext$i37, _authdetailsContext$i39;
11802
11817
  return /*#__PURE__*/React__default["default"].createElement("div", {
11803
11818
  "class": sectionproperties.storeinformationcontainerborderwidth != 0 ? 'row m-0 w-100 p-3' : 'row m-0 w-100',
11804
11819
  style: {
@@ -11849,7 +11864,7 @@ var Productinfo = function Productinfo(props) {
11849
11864
  style: {
11850
11865
  textAlign: langdetect == 'en' ? 'left' : 'right'
11851
11866
  }
11852
- }, langdetect == 'en' ? sectionproperties.otherinfodesc2en : sectionproperties.otherinfodesc2ar))), sectionproperties.showpricinglist == 'Show' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer83 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer83 === void 0 || (_fetchProductInfoQuer83 = _fetchProductInfoQuer83.data) === null || _fetchProductInfoQuer83 === void 0 || (_fetchProductInfoQuer83 = _fetchProductInfoQuer83.productinfo) === null || _fetchProductInfoQuer83 === void 0 || (_fetchProductInfoQuer83 = _fetchProductInfoQuer83.productquantityoptions) === null || _fetchProductInfoQuer83 === void 0 ? void 0 : _fetchProductInfoQuer83.length) != 0 && /*#__PURE__*/React__default["default"].createElement("div", {
11867
+ }, langdetect == 'en' ? sectionproperties.otherinfodesc2en : sectionproperties.otherinfodesc2ar))), sectionproperties.showpricinglist == 'Show' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer84 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer84 === void 0 || (_fetchProductInfoQuer84 = _fetchProductInfoQuer84.data) === null || _fetchProductInfoQuer84 === void 0 || (_fetchProductInfoQuer84 = _fetchProductInfoQuer84.productinfo) === null || _fetchProductInfoQuer84 === void 0 || (_fetchProductInfoQuer84 = _fetchProductInfoQuer84.productquantityoptions) === null || _fetchProductInfoQuer84 === void 0 ? void 0 : _fetchProductInfoQuer84.length) != 0 && /*#__PURE__*/React__default["default"].createElement("div", {
11853
11868
  "class": "col-lg-12 p-0 mb-4"
11854
11869
  }, getQuantityCondition()), sectionproperties.showfooterphonenumber == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
11855
11870
  className: "".concat(productinfo_cssstyles.storeinfobtn, " ").concat(productinfo_cssstyles.storeinfocontainer) + ' mt-4 col-lg-12 p-0 d-flex align-items-center cursor-pointer ',
@@ -12050,7 +12065,7 @@ var Productinfo = function Productinfo(props) {
12050
12065
  lang: langdetect,
12051
12066
  amount: getprice_discountpriceprops('defaultprice', 0, variantindexcompleted),
12052
12067
  divid: 'prodinfo'
12053
- })), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer89 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer89 === void 0 || (_fetchProductInfoQuer89 = _fetchProductInfoQuer89.data) === null || _fetchProductInfoQuer89 === void 0 || (_fetchProductInfoQuer89 = _fetchProductInfoQuer89.productinfo) === null || _fetchProductInfoQuer89 === void 0 ? void 0 : _fetchProductInfoQuer89.item_type) == 'product' && /*#__PURE__*/React__default["default"].createElement(Product_itemtype, {
12068
+ })), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer90 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer90 === void 0 || (_fetchProductInfoQuer90 = _fetchProductInfoQuer90.data) === null || _fetchProductInfoQuer90 === void 0 || (_fetchProductInfoQuer90 = _fetchProductInfoQuer90.productinfo) === null || _fetchProductInfoQuer90 === void 0 ? void 0 : _fetchProductInfoQuer90.item_type) == 'product' && /*#__PURE__*/React__default["default"].createElement(Product_itemtype, {
12054
12069
  actions: (_ref = {
12055
12070
  product_prod_extras_array: product_prod_extras_array,
12056
12071
  setproduct_prod_extras_array: setproduct_prod_extras_array,
@@ -12064,7 +12079,7 @@ var Productinfo = function Productinfo(props) {
12064
12079
  lang: lang,
12065
12080
  srcfromprops: props.srcfromprops
12066
12081
  }, _defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_ref, "returnpolicyobj", returnpolicyobj), "productinfo_cssstyles", productinfo_cssstyles), "addtocartfunc", addtocartfunc), "selectproductoptionvalue", selectproductoptionvalue), "clearchoosenvaluesbutkeepcurrentvalue", clearchoosenvaluesbutkeepcurrentvalue), "productimagesarray", productimagesarray), "fetchProductInfoQueryContext", fetchProductInfoQueryContext), "ProductInfoObj", ProductInfoObj), "sectionproperties", sectionproperties), "addtocardpayloadobj", addtocardpayloadobj), _defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_ref, "setaddtocardpayloadobj", setaddtocardpayloadobj), "routingcountext", routingcountext), "AddtoCartMutationContext", AddtoCartMutationContext), "authdetailsContext", authdetailsContext), "addtofavoritescontext", addtofavoritescontext), "variantindexcompleted", variantindexcompleted), "StaticPagesLinksContext", StaticPagesLinksContext), "NotificationManager", NotificationManager), "GeneralAPIMutationContext", GeneralAPIMutationContext), "quantityconditionfoundobjprops", quantityconditionfoundobj), _defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_ref, "relatedproducts", relatedproducts), "productVideos", productVideos), "getprice_discountpriceprops", getprice_discountpriceprops), "StoreInfoprops", StoreInfo), "currentshowingimageindex", currentshowingimageindex), "setcurrentshowingimageindex", setcurrentshowingimageindex), "templatepropcontext", templatepropcontext), "ikimagecredcontext", ikimagecredcontext), "variantindex", variantindex), "setvariantindex", setvariantindex), _defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_ref, "variantsku", variantsku), "variantvalueidentifier", variantvalueidentifier), "sizeguideimage", sizeguideimage), "setopensizeguidemodal", setopensizeguidemodal), "addtocartfunc_extras", addtocartfunc_extras), "productpdfsarray", productpdfsarray))
12067
- }), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer90 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer90 === void 0 || (_fetchProductInfoQuer90 = _fetchProductInfoQuer90.data) === null || _fetchProductInfoQuer90 === void 0 || (_fetchProductInfoQuer90 = _fetchProductInfoQuer90.productinfo) === null || _fetchProductInfoQuer90 === void 0 ? void 0 : _fetchProductInfoQuer90.item_type) == 'Article' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i42 = authdetailsContext.instinfo) === null || _authdetailsContext$i42 === void 0 ? void 0 : _authdetailsContext$i42.contactinfo.instid) != '6946c118427af' && /*#__PURE__*/React__default["default"].createElement(Article_itemtype, {
12082
+ }), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer91 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer91 === void 0 || (_fetchProductInfoQuer91 = _fetchProductInfoQuer91.data) === null || _fetchProductInfoQuer91 === void 0 || (_fetchProductInfoQuer91 = _fetchProductInfoQuer91.productinfo) === null || _fetchProductInfoQuer91 === void 0 ? void 0 : _fetchProductInfoQuer91.item_type) == 'Article' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i42 = authdetailsContext.instinfo) === null || _authdetailsContext$i42 === void 0 ? void 0 : _authdetailsContext$i42.contactinfo.instid) != '6946c118427af' && /*#__PURE__*/React__default["default"].createElement(Article_itemtype, {
12068
12083
  actions: (_ref2 = {
12069
12084
  variantnotchosendisclaimer: variantnotchosendisclaimer,
12070
12085
  setisoutofstock: setisoutofstock,
@@ -12074,7 +12089,7 @@ var Productinfo = function Productinfo(props) {
12074
12089
  lang: lang,
12075
12090
  srcfromprops: props.srcfromprops
12076
12091
  }, _defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_ref2, "returnpolicyobj", returnpolicyobj), "productinfo_cssstyles", productinfo_cssstyles), "addtocartfunc", addtocartfunc), "selectproductoptionvalue", selectproductoptionvalue), "clearchoosenvaluesbutkeepcurrentvalue", clearchoosenvaluesbutkeepcurrentvalue), "productimagesarray", productimagesarray), "fetchProductInfoQueryContext", fetchProductInfoQueryContext), "ProductInfoObj", ProductInfoObj), "sectionproperties", sectionproperties), "addtocardpayloadobj", addtocardpayloadobj), _defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_ref2, "setaddtocardpayloadobj", setaddtocardpayloadobj), "routingcountext", routingcountext), "AddtoCartMutationContext", AddtoCartMutationContext), "authdetailsContext", authdetailsContext), "addtofavoritescontext", addtofavoritescontext), "variantindexcompleted", variantindexcompleted), "StaticPagesLinksContext", StaticPagesLinksContext), "NotificationManager", NotificationManager), "GeneralAPIMutationContext", GeneralAPIMutationContext), "quantityconditionfoundobjprops", quantityconditionfoundobj), _defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_ref2, "relatedproducts", relatedproducts), "getprice_discountpriceprops", getprice_discountpriceprops), "StoreInfoprops", StoreInfo), "currentshowingimageindex", currentshowingimageindex), "setcurrentshowingimageindex", setcurrentshowingimageindex), "templatepropcontext", templatepropcontext), "ikimagecredcontext", ikimagecredcontext), "variantindex", variantindex), "setvariantindex", setvariantindex), "variantsku", variantsku), _defineProperty__default["default"](_defineProperty__default["default"](_ref2, "variantvalueidentifier", variantvalueidentifier), "productpdfsarray", productpdfsarray))
12077
- }), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer91 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer91 === void 0 || (_fetchProductInfoQuer91 = _fetchProductInfoQuer91.data) === null || _fetchProductInfoQuer91 === void 0 || (_fetchProductInfoQuer91 = _fetchProductInfoQuer91.productinfo) === null || _fetchProductInfoQuer91 === void 0 ? void 0 : _fetchProductInfoQuer91.item_type) == 'Article' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i43 = authdetailsContext.instinfo) === null || _authdetailsContext$i43 === void 0 ? void 0 : _authdetailsContext$i43.contactinfo.instid) == '6946c118427af' && /*#__PURE__*/React__default["default"].createElement(Product_itemtype_Article, {
12092
+ }), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer92 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer92 === void 0 || (_fetchProductInfoQuer92 = _fetchProductInfoQuer92.data) === null || _fetchProductInfoQuer92 === void 0 || (_fetchProductInfoQuer92 = _fetchProductInfoQuer92.productinfo) === null || _fetchProductInfoQuer92 === void 0 ? void 0 : _fetchProductInfoQuer92.item_type) == 'Article' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i43 = authdetailsContext.instinfo) === null || _authdetailsContext$i43 === void 0 ? void 0 : _authdetailsContext$i43.contactinfo.instid) == '6946c118427af' && /*#__PURE__*/React__default["default"].createElement(Product_itemtype_Article, {
12078
12093
  actions: (_ref3 = {
12079
12094
  isOptionInStock: isOptionInStock,
12080
12095
  variantnotchosendisclaimer: variantnotchosendisclaimer,
@@ -12086,7 +12101,7 @@ var Productinfo = function Productinfo(props) {
12086
12101
  lang: lang,
12087
12102
  srcfromprops: props.srcfromprops
12088
12103
  }, _defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_ref3, "returnpolicyobj", returnpolicyobj), "productinfo_cssstyles", productinfo_cssstyles), "addtocartfunc", addtocartfunc), "selectproductoptionvalue", selectproductoptionvalue), "clearchoosenvaluesbutkeepcurrentvalue", clearchoosenvaluesbutkeepcurrentvalue), "productimagesarray", productimagesarray), "fetchProductInfoQueryContext", fetchProductInfoQueryContext), "ProductInfoObj", ProductInfoObj), "sectionproperties", sectionproperties), "addtocardpayloadobj", addtocardpayloadobj), _defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_ref3, "setaddtocardpayloadobj", setaddtocardpayloadobj), "routingcountext", routingcountext), "AddtoCartMutationContext", AddtoCartMutationContext), "authdetailsContext", authdetailsContext), "addtofavoritescontext", addtofavoritescontext), "variantindexcompleted", variantindexcompleted), "StaticPagesLinksContext", StaticPagesLinksContext), "NotificationManager", NotificationManager), "GeneralAPIMutationContext", GeneralAPIMutationContext), "quantityconditionfoundobjprops", quantityconditionfoundobj), _defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_ref3, "relatedproducts", relatedproducts), "productVideos", productVideos), "getprice_discountpriceprops", getprice_discountpriceprops), "StoreInfoprops", StoreInfo), "currentshowingimageindex", currentshowingimageindex), "setcurrentshowingimageindex", setcurrentshowingimageindex), "templatepropcontext", templatepropcontext), "ikimagecredcontext", ikimagecredcontext), "variantindex", variantindex), "setvariantindex", setvariantindex), _defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_ref3, "variantsku", variantsku), "variantvalueidentifier", variantvalueidentifier), "sizeguideimage", sizeguideimage), "setopensizeguidemodal", setopensizeguidemodal), "addtocartfunc_extras", addtocartfunc_extras), "productpdfsarray", productpdfsarray))
12089
- }), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer92 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer92 === void 0 || (_fetchProductInfoQuer92 = _fetchProductInfoQuer92.data) === null || _fetchProductInfoQuer92 === void 0 || (_fetchProductInfoQuer92 = _fetchProductInfoQuer92.productinfo) === null || _fetchProductInfoQuer92 === void 0 ? void 0 : _fetchProductInfoQuer92.item_type) == 'service' && /*#__PURE__*/React__default["default"].createElement(Service_itemtype, {
12104
+ }), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer93 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer93 === void 0 || (_fetchProductInfoQuer93 = _fetchProductInfoQuer93.data) === null || _fetchProductInfoQuer93 === void 0 || (_fetchProductInfoQuer93 = _fetchProductInfoQuer93.productinfo) === null || _fetchProductInfoQuer93 === void 0 ? void 0 : _fetchProductInfoQuer93.item_type) == 'service' && /*#__PURE__*/React__default["default"].createElement(Service_itemtype, {
12090
12105
  actions: (_ref4 = {
12091
12106
  product_prod_extras_array: product_prod_extras_array,
12092
12107
  setproduct_prod_extras_array: setproduct_prod_extras_array,
@@ -12307,7 +12322,7 @@ var Productinfo = function Productinfo(props) {
12307
12322
  style: {
12308
12323
  paddingLeft: props.srcfromprops == 'Productinfomodel' ? langdetect == 'en' ? sectionproperties.card_marginLeft + 'px' : sectionproperties.card_marginRight + 'px' : 0,
12309
12324
  paddingRight: props.srcfromprops == 'Productinfomodel' ? langdetect == 'en' ? sectionproperties.card_marginRight + 'px' : sectionproperties.card_marginLeft + 'px' : 0,
12310
- display: sectionproperties.showfirstpolicy == 'Hide' && sectionproperties.showsecondpolicy == 'Hide' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer93 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer93 === void 0 || (_fetchProductInfoQuer93 = _fetchProductInfoQuer93.data) === null || _fetchProductInfoQuer93 === void 0 || (_fetchProductInfoQuer93 = _fetchProductInfoQuer93.productinfo) === null || _fetchProductInfoQuer93 === void 0 || (_fetchProductInfoQuer93 = _fetchProductInfoQuer93.product_videos) === null || _fetchProductInfoQuer93 === void 0 ? void 0 : _fetchProductInfoQuer93.length) != 0 ? 'flex' : (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer94 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer94 === void 0 || (_fetchProductInfoQuer94 = _fetchProductInfoQuer94.data) === null || _fetchProductInfoQuer94 === void 0 || (_fetchProductInfoQuer94 = _fetchProductInfoQuer94.productinfo) === null || _fetchProductInfoQuer94 === void 0 ? void 0 : _fetchProductInfoQuer94.productcanrate) == 1 ? 'flex' : sectionproperties.showfirstpolicy == 'Hide' && sectionproperties.showsecondpolicy == 'Hide' ? 'none' : sectionproperties.showfirstpolicy == 'Hide' && sectionproperties.showsecondpolicy == 'Hide' && sectionproperties.descriptionposition != 'Bottom' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer95 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer95 === void 0 || (_fetchProductInfoQuer95 = _fetchProductInfoQuer95.data) === null || _fetchProductInfoQuer95 === void 0 || (_fetchProductInfoQuer95 = _fetchProductInfoQuer95.productinfo) === null || _fetchProductInfoQuer95 === void 0 || (_fetchProductInfoQuer95 = _fetchProductInfoQuer95.product_videos) === null || _fetchProductInfoQuer95 === void 0 ? void 0 : _fetchProductInfoQuer95.length) == 0 ? 'none' : 'flex'
12325
+ display: sectionproperties.showfirstpolicy == 'Hide' && sectionproperties.showsecondpolicy == 'Hide' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer94 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer94 === void 0 || (_fetchProductInfoQuer94 = _fetchProductInfoQuer94.data) === null || _fetchProductInfoQuer94 === void 0 || (_fetchProductInfoQuer94 = _fetchProductInfoQuer94.productinfo) === null || _fetchProductInfoQuer94 === void 0 || (_fetchProductInfoQuer94 = _fetchProductInfoQuer94.product_videos) === null || _fetchProductInfoQuer94 === void 0 ? void 0 : _fetchProductInfoQuer94.length) != 0 ? 'flex' : (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer95 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer95 === void 0 || (_fetchProductInfoQuer95 = _fetchProductInfoQuer95.data) === null || _fetchProductInfoQuer95 === void 0 || (_fetchProductInfoQuer95 = _fetchProductInfoQuer95.productinfo) === null || _fetchProductInfoQuer95 === void 0 ? void 0 : _fetchProductInfoQuer95.productcanrate) == 1 ? 'flex' : sectionproperties.showfirstpolicy == 'Hide' && sectionproperties.showsecondpolicy == 'Hide' ? 'none' : sectionproperties.showfirstpolicy == 'Hide' && sectionproperties.showsecondpolicy == 'Hide' && sectionproperties.descriptionposition != 'Bottom' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer96 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer96 === void 0 || (_fetchProductInfoQuer96 = _fetchProductInfoQuer96.data) === null || _fetchProductInfoQuer96 === void 0 || (_fetchProductInfoQuer96 = _fetchProductInfoQuer96.productinfo) === null || _fetchProductInfoQuer96 === void 0 || (_fetchProductInfoQuer96 = _fetchProductInfoQuer96.product_videos) === null || _fetchProductInfoQuer96 === void 0 ? void 0 : _fetchProductInfoQuer96.length) == 0 ? 'none' : 'flex'
12311
12326
  }
12312
12327
  }, /*#__PURE__*/React__default["default"].createElement("div", {
12313
12328
  "class": "".concat(productinfo_cssstyles.cardcontainer) + ' ml-0 mr-0 w-100 pl-md-3 pr-md-3 px-1025-1 ',
@@ -12369,12 +12384,12 @@ var Productinfo = function Productinfo(props) {
12369
12384
  onClick: function onClick() {
12370
12385
  settabname('refundpolicytab');
12371
12386
  }
12372
- }), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer96 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer96 === void 0 || (_fetchProductInfoQuer96 = _fetchProductInfoQuer96.data) === null || _fetchProductInfoQuer96 === void 0 || (_fetchProductInfoQuer96 = _fetchProductInfoQuer96.productinfo) === null || _fetchProductInfoQuer96 === void 0 || (_fetchProductInfoQuer96 = _fetchProductInfoQuer96.product_videos) === null || _fetchProductInfoQuer96 === void 0 ? void 0 : _fetchProductInfoQuer96.length) != 0 && /*#__PURE__*/React__default["default"].createElement(material.Tab, {
12387
+ }), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer97 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer97 === void 0 || (_fetchProductInfoQuer97 = _fetchProductInfoQuer97.data) === null || _fetchProductInfoQuer97 === void 0 || (_fetchProductInfoQuer97 = _fetchProductInfoQuer97.productinfo) === null || _fetchProductInfoQuer97 === void 0 || (_fetchProductInfoQuer97 = _fetchProductInfoQuer97.product_videos) === null || _fetchProductInfoQuer97 === void 0 ? void 0 : _fetchProductInfoQuer97.length) != 0 && /*#__PURE__*/React__default["default"].createElement(material.Tab, {
12373
12388
  label: langdetect == 'en' ? sectionproperties.videostitleen : sectionproperties.videostitlear,
12374
12389
  onClick: function onClick() {
12375
12390
  settabname('videostab');
12376
12391
  }
12377
- }), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer97 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer97 === void 0 || (_fetchProductInfoQuer97 = _fetchProductInfoQuer97.data) === null || _fetchProductInfoQuer97 === void 0 || (_fetchProductInfoQuer97 = _fetchProductInfoQuer97.productinfo) === null || _fetchProductInfoQuer97 === void 0 ? void 0 : _fetchProductInfoQuer97.productcanrate) == 1 && /*#__PURE__*/React__default["default"].createElement(material.Tab, {
12392
+ }), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer98 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer98 === void 0 || (_fetchProductInfoQuer98 = _fetchProductInfoQuer98.data) === null || _fetchProductInfoQuer98 === void 0 || (_fetchProductInfoQuer98 = _fetchProductInfoQuer98.productinfo) === null || _fetchProductInfoQuer98 === void 0 ? void 0 : _fetchProductInfoQuer98.productcanrate) == 1 && /*#__PURE__*/React__default["default"].createElement(material.Tab, {
12378
12393
  label: langdetect == 'en' ? 'Reviews' : 'التقييمات',
12379
12394
  onClick: function onClick() {
12380
12395
  settabname('reviewstab');
@@ -12428,12 +12443,12 @@ var Productinfo = function Productinfo(props) {
12428
12443
  onClick: function onClick() {
12429
12444
  settabname('refundpolicytab');
12430
12445
  }
12431
- }), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer98 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer98 === void 0 || (_fetchProductInfoQuer98 = _fetchProductInfoQuer98.data) === null || _fetchProductInfoQuer98 === void 0 || (_fetchProductInfoQuer98 = _fetchProductInfoQuer98.productinfo) === null || _fetchProductInfoQuer98 === void 0 || (_fetchProductInfoQuer98 = _fetchProductInfoQuer98.product_videos) === null || _fetchProductInfoQuer98 === void 0 ? void 0 : _fetchProductInfoQuer98.length) != 0 && /*#__PURE__*/React__default["default"].createElement(material.Tab, {
12446
+ }), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer99 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer99 === void 0 || (_fetchProductInfoQuer99 = _fetchProductInfoQuer99.data) === null || _fetchProductInfoQuer99 === void 0 || (_fetchProductInfoQuer99 = _fetchProductInfoQuer99.productinfo) === null || _fetchProductInfoQuer99 === void 0 || (_fetchProductInfoQuer99 = _fetchProductInfoQuer99.product_videos) === null || _fetchProductInfoQuer99 === void 0 ? void 0 : _fetchProductInfoQuer99.length) != 0 && /*#__PURE__*/React__default["default"].createElement(material.Tab, {
12432
12447
  label: langdetect == 'en' ? 'Videos' : 'فيديوهات',
12433
12448
  onClick: function onClick() {
12434
12449
  settabname('videostab');
12435
12450
  }
12436
- }), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer99 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer99 === void 0 || (_fetchProductInfoQuer99 = _fetchProductInfoQuer99.data) === null || _fetchProductInfoQuer99 === void 0 || (_fetchProductInfoQuer99 = _fetchProductInfoQuer99.productinfo) === null || _fetchProductInfoQuer99 === void 0 ? void 0 : _fetchProductInfoQuer99.productcanrate) == 1 && /*#__PURE__*/React__default["default"].createElement(material.Tab, {
12451
+ }), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer100 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer100 === void 0 || (_fetchProductInfoQuer100 = _fetchProductInfoQuer100.data) === null || _fetchProductInfoQuer100 === void 0 || (_fetchProductInfoQuer100 = _fetchProductInfoQuer100.productinfo) === null || _fetchProductInfoQuer100 === void 0 ? void 0 : _fetchProductInfoQuer100.productcanrate) == 1 && /*#__PURE__*/React__default["default"].createElement(material.Tab, {
12437
12452
  label: langdetect == 'en' ? 'Reviews' : 'التقييمات',
12438
12453
  onClick: function onClick() {
12439
12454
  settabname('reviewstab');
@@ -12567,12 +12582,12 @@ var Productinfo = function Productinfo(props) {
12567
12582
  onClick: function onClick() {
12568
12583
  settabname('refundpolicytab');
12569
12584
  }
12570
- }), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer100 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer100 === void 0 || (_fetchProductInfoQuer100 = _fetchProductInfoQuer100.data) === null || _fetchProductInfoQuer100 === void 0 || (_fetchProductInfoQuer100 = _fetchProductInfoQuer100.productinfo) === null || _fetchProductInfoQuer100 === void 0 || (_fetchProductInfoQuer100 = _fetchProductInfoQuer100.product_videos) === null || _fetchProductInfoQuer100 === void 0 ? void 0 : _fetchProductInfoQuer100.length) != 0 && /*#__PURE__*/React__default["default"].createElement(material.Tab, {
12585
+ }), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer101 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer101 === void 0 || (_fetchProductInfoQuer101 = _fetchProductInfoQuer101.data) === null || _fetchProductInfoQuer101 === void 0 || (_fetchProductInfoQuer101 = _fetchProductInfoQuer101.productinfo) === null || _fetchProductInfoQuer101 === void 0 || (_fetchProductInfoQuer101 = _fetchProductInfoQuer101.product_videos) === null || _fetchProductInfoQuer101 === void 0 ? void 0 : _fetchProductInfoQuer101.length) != 0 && /*#__PURE__*/React__default["default"].createElement(material.Tab, {
12571
12586
  label: langdetect == 'en' ? 'Videos' : 'فيديوهات',
12572
12587
  onClick: function onClick() {
12573
12588
  settabname('videostab');
12574
12589
  }
12575
- }), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer101 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer101 === void 0 || (_fetchProductInfoQuer101 = _fetchProductInfoQuer101.data) === null || _fetchProductInfoQuer101 === void 0 || (_fetchProductInfoQuer101 = _fetchProductInfoQuer101.productinfo) === null || _fetchProductInfoQuer101 === void 0 ? void 0 : _fetchProductInfoQuer101.productcanrate) == 1 && /*#__PURE__*/React__default["default"].createElement(material.Tab, {
12590
+ }), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer102 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer102 === void 0 || (_fetchProductInfoQuer102 = _fetchProductInfoQuer102.data) === null || _fetchProductInfoQuer102 === void 0 || (_fetchProductInfoQuer102 = _fetchProductInfoQuer102.productinfo) === null || _fetchProductInfoQuer102 === void 0 ? void 0 : _fetchProductInfoQuer102.productcanrate) == 1 && /*#__PURE__*/React__default["default"].createElement(material.Tab, {
12576
12591
  label: langdetect == 'en' ? 'Reviews' : 'التقييمات',
12577
12592
  onClick: function onClick() {
12578
12593
  settabname('reviewstab');
@@ -12593,7 +12608,7 @@ var Productinfo = function Productinfo(props) {
12593
12608
  color: sectionproperties.prodCatColor
12594
12609
  },
12595
12610
  dangerouslySetInnerHTML: {
12596
- __html: langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer102 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer102 === void 0 || (_fetchProductInfoQuer102 = _fetchProductInfoQuer102.data) === null || _fetchProductInfoQuer102 === void 0 || (_fetchProductInfoQuer102 = _fetchProductInfoQuer102.productinfo) === null || _fetchProductInfoQuer102 === void 0 ? void 0 : _fetchProductInfoQuer102.short_description_en : fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer103 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer103 === void 0 || (_fetchProductInfoQuer103 = _fetchProductInfoQuer103.data) === null || _fetchProductInfoQuer103 === void 0 || (_fetchProductInfoQuer103 = _fetchProductInfoQuer103.productinfo) === null || _fetchProductInfoQuer103 === void 0 ? void 0 : _fetchProductInfoQuer103.short_description_ar
12611
+ __html: langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer103 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer103 === void 0 || (_fetchProductInfoQuer103 = _fetchProductInfoQuer103.data) === null || _fetchProductInfoQuer103 === void 0 || (_fetchProductInfoQuer103 = _fetchProductInfoQuer103.productinfo) === null || _fetchProductInfoQuer103 === void 0 ? void 0 : _fetchProductInfoQuer103.short_description_en : fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer104 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer104 === void 0 || (_fetchProductInfoQuer104 = _fetchProductInfoQuer104.data) === null || _fetchProductInfoQuer104 === void 0 || (_fetchProductInfoQuer104 = _fetchProductInfoQuer104.productinfo) === null || _fetchProductInfoQuer104 === void 0 ? void 0 : _fetchProductInfoQuer104.short_description_ar
12597
12612
  }
12598
12613
  })), tabname == 'shippingpolicytab' && /*#__PURE__*/React__default["default"].createElement("div", {
12599
12614
  "class": "col-lg-12 pl-5 pr-5 p-md-0 w-100"
@@ -12735,7 +12750,7 @@ var Productinfo = function Productinfo(props) {
12735
12750
  color: sectionproperties.prodCatColor
12736
12751
  },
12737
12752
  dangerouslySetInnerHTML: {
12738
- __html: langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer104 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer104 === void 0 || (_fetchProductInfoQuer104 = _fetchProductInfoQuer104.data) === null || _fetchProductInfoQuer104 === void 0 || (_fetchProductInfoQuer104 = _fetchProductInfoQuer104.productinfo) === null || _fetchProductInfoQuer104 === void 0 ? void 0 : _fetchProductInfoQuer104.short_description_en : fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer105 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer105 === void 0 || (_fetchProductInfoQuer105 = _fetchProductInfoQuer105.data) === null || _fetchProductInfoQuer105 === void 0 || (_fetchProductInfoQuer105 = _fetchProductInfoQuer105.productinfo) === null || _fetchProductInfoQuer105 === void 0 ? void 0 : _fetchProductInfoQuer105.short_description_ar
12753
+ __html: langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer105 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer105 === void 0 || (_fetchProductInfoQuer105 = _fetchProductInfoQuer105.data) === null || _fetchProductInfoQuer105 === void 0 || (_fetchProductInfoQuer105 = _fetchProductInfoQuer105.productinfo) === null || _fetchProductInfoQuer105 === void 0 ? void 0 : _fetchProductInfoQuer105.short_description_en : fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer106 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer106 === void 0 || (_fetchProductInfoQuer106 = _fetchProductInfoQuer106.data) === null || _fetchProductInfoQuer106 === void 0 || (_fetchProductInfoQuer106 = _fetchProductInfoQuer106.productinfo) === null || _fetchProductInfoQuer106 === void 0 ? void 0 : _fetchProductInfoQuer106.short_description_ar
12739
12754
  }
12740
12755
  })), tabname == 'shippingpolicytab' && /*#__PURE__*/React__default["default"].createElement("div", {
12741
12756
  "class": "col-lg-12 pl-5 pr-5 p-md-0 w-100"
@@ -12867,7 +12882,7 @@ var Productinfo = function Productinfo(props) {
12867
12882
  color: '#000000'
12868
12883
  },
12869
12884
  dangerouslySetInnerHTML: {
12870
- __html: langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer106 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer106 === void 0 || (_fetchProductInfoQuer106 = _fetchProductInfoQuer106.data) === null || _fetchProductInfoQuer106 === void 0 || (_fetchProductInfoQuer106 = _fetchProductInfoQuer106.productinfo) === null || _fetchProductInfoQuer106 === void 0 ? void 0 : _fetchProductInfoQuer106.description_en : fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer107 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer107 === void 0 || (_fetchProductInfoQuer107 = _fetchProductInfoQuer107.data) === null || _fetchProductInfoQuer107 === void 0 || (_fetchProductInfoQuer107 = _fetchProductInfoQuer107.productinfo) === null || _fetchProductInfoQuer107 === void 0 ? void 0 : _fetchProductInfoQuer107.description_ar
12885
+ __html: langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer107 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer107 === void 0 || (_fetchProductInfoQuer107 = _fetchProductInfoQuer107.data) === null || _fetchProductInfoQuer107 === void 0 || (_fetchProductInfoQuer107 = _fetchProductInfoQuer107.productinfo) === null || _fetchProductInfoQuer107 === void 0 ? void 0 : _fetchProductInfoQuer107.description_en : fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer108 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer108 === void 0 || (_fetchProductInfoQuer108 = _fetchProductInfoQuer108.data) === null || _fetchProductInfoQuer108 === void 0 || (_fetchProductInfoQuer108 = _fetchProductInfoQuer108.productinfo) === null || _fetchProductInfoQuer108 === void 0 ? void 0 : _fetchProductInfoQuer108.description_ar
12871
12886
  }
12872
12887
  })), tabname == 'shortdescriptiontab' && /*#__PURE__*/React__default["default"].createElement("div", {
12873
12888
  "class": "col-lg-12 p-0"
@@ -12878,7 +12893,7 @@ var Productinfo = function Productinfo(props) {
12878
12893
  color: sectionproperties.prodCatColor
12879
12894
  },
12880
12895
  dangerouslySetInnerHTML: {
12881
- __html: langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer108 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer108 === void 0 || (_fetchProductInfoQuer108 = _fetchProductInfoQuer108.data) === null || _fetchProductInfoQuer108 === void 0 || (_fetchProductInfoQuer108 = _fetchProductInfoQuer108.productinfo) === null || _fetchProductInfoQuer108 === void 0 ? void 0 : _fetchProductInfoQuer108.short_description_en : fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer109 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer109 === void 0 || (_fetchProductInfoQuer109 = _fetchProductInfoQuer109.data) === null || _fetchProductInfoQuer109 === void 0 || (_fetchProductInfoQuer109 = _fetchProductInfoQuer109.productinfo) === null || _fetchProductInfoQuer109 === void 0 ? void 0 : _fetchProductInfoQuer109.short_description_ar
12896
+ __html: langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer109 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer109 === void 0 || (_fetchProductInfoQuer109 = _fetchProductInfoQuer109.data) === null || _fetchProductInfoQuer109 === void 0 || (_fetchProductInfoQuer109 = _fetchProductInfoQuer109.productinfo) === null || _fetchProductInfoQuer109 === void 0 ? void 0 : _fetchProductInfoQuer109.short_description_en : fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer110 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer110 === void 0 || (_fetchProductInfoQuer110 = _fetchProductInfoQuer110.data) === null || _fetchProductInfoQuer110 === void 0 || (_fetchProductInfoQuer110 = _fetchProductInfoQuer110.productinfo) === null || _fetchProductInfoQuer110 === void 0 ? void 0 : _fetchProductInfoQuer110.short_description_ar
12882
12897
  }
12883
12898
  }))
12884
12899
  // <DescriptionContent
@@ -16250,7 +16265,7 @@ styleInject(css_248z$G);
16250
16265
  function ownKeys$2x(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
16251
16266
  function _objectSpread$2x(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$2x(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$2x(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
16252
16267
  var Checkout = function Checkout(props) {
16253
- var _fetchTabexCountriesQ2, _css, _fetchcustomercartQue72, _authdetailsContext$i13, _authdetailsContext$i14, _fetchcustomercartQue73, _authdetailsContext$i15, _fetchcustomercartQue74, _authdetailsContext$i16, _authdetailsContext$i17, _authdetailsContext$i18, _authdetailsContext$i19, _authdetailsContext$i20, _fetchcustomercartQue75, _authdetailsContext$i21, _authdetailsContext$i22, _authdetailsContext$i23, _authdetailsContext$i24, _fetchcustomercartQue81, _fetchcustomercartQue82, _fetchcustomercartQue83, _fetchcustomercartQue84, _authdetailsContext$i33, _authdetailsContext$i34, _authdetailsContext$i35, _authdetailsContext$i36, _authdetailsContext$i37, _authdetailsContext$i38, _fetchcustomercartQue85, _authdetailsContext$i39, _authdetailsContext$i40, _authdetailsContext$i41, _authdetailsContext$i42, _authdetailsContext$i43, _authdetailsContext$i44, _authdetailsContext$i45, _authdetailsContext$i46, _fetchcustomercartQue87, _authdetailsContext$i47, _fetchcustomercartQue89, _authdetailsContext$i48, _authdetailsContext$i49, _authdetailsContext$i50, _authdetailsContext$i51, _authdetailsContext$i52, _authdetailsContext$i53, _fetchcustomercartQue91, _authdetailsContext$i54, _authdetailsContext$i55, _fetchcustomercartQue93, _fetchcustomercartQue95, _fetchcustomercartQue97, _authdetailsContext$i56, _fetchcustomercartQue99, _authdetailsContext$i57, _fetchcustomercartQue101, _authdetailsContext$i58, _fetchcustomercartQue103, _authdetailsContext$i59, _fetchcustomercartQue105, _authdetailsContext$i60, _fetchcustomercartQue107, _authdetailsContext$i61, _fetchcustomercartQue109, _authdetailsContext$i62, _fetchcustomercartQue111, _authdetailsContext$i63, _authdetailsContext$i64, _fetchcustomercartQue113, _fetchcustomercartQue114;
16268
+ var _fetchTabexCountriesQ2, _css, _fetchcustomercartQue74, _authdetailsContext$i13, _authdetailsContext$i14, _fetchcustomercartQue75, _authdetailsContext$i15, _fetchcustomercartQue76, _authdetailsContext$i16, _authdetailsContext$i17, _authdetailsContext$i18, _authdetailsContext$i19, _authdetailsContext$i20, _fetchcustomercartQue77, _authdetailsContext$i21, _authdetailsContext$i22, _authdetailsContext$i23, _authdetailsContext$i24, _fetchcustomercartQue83, _fetchcustomercartQue84, _fetchcustomercartQue85, _fetchcustomercartQue86, _authdetailsContext$i33, _authdetailsContext$i34, _authdetailsContext$i35, _authdetailsContext$i36, _authdetailsContext$i37, _authdetailsContext$i38, _fetchcustomercartQue87, _authdetailsContext$i39, _authdetailsContext$i40, _authdetailsContext$i41, _authdetailsContext$i42, _authdetailsContext$i43, _authdetailsContext$i44, _authdetailsContext$i45, _authdetailsContext$i46, _fetchcustomercartQue89, _authdetailsContext$i47, _fetchcustomercartQue91, _authdetailsContext$i48, _authdetailsContext$i49, _authdetailsContext$i50, _authdetailsContext$i51, _authdetailsContext$i52, _authdetailsContext$i53, _fetchcustomercartQue93, _authdetailsContext$i54, _authdetailsContext$i55, _fetchcustomercartQue95, _fetchcustomercartQue97, _fetchcustomercartQue99, _authdetailsContext$i56, _fetchcustomercartQue101, _authdetailsContext$i57, _fetchcustomercartQue103, _authdetailsContext$i58, _fetchcustomercartQue105, _authdetailsContext$i59, _fetchcustomercartQue107, _authdetailsContext$i60, _fetchcustomercartQue109, _authdetailsContext$i61, _fetchcustomercartQue111, _authdetailsContext$i62, _fetchcustomercartQue113, _authdetailsContext$i63, _authdetailsContext$i64, _fetchcustomercartQue115, _fetchcustomercartQue116;
16254
16269
  var _useState = React.useState(null),
16255
16270
  _useState2 = _slicedToArray__default["default"](_useState, 2);
16256
16271
  _useState2[0];
@@ -16853,7 +16868,7 @@ var Checkout = function Checkout(props) {
16853
16868
  return isloading;
16854
16869
  };
16855
16870
  var Mycart = function Mycart() {
16856
- var _fetchcustomercartQue39, _fetchcustomercartQue41, _fetchcustomercartQue42, _fetchcustomercartQue46, _fetchcustomercartQue47, _fetchcustomercartQue48, _fetchcustomercartQue49, _fetchcustomercartQue50, _authdetailsContext$i8, _fetchcustomercartQue51, _fetchcustomercartQue52, _fetchcustomercartQue53, _fetchcustomercartQue54, _fetchcustomercartQue55, _fetchcustomercartQue57, _fetchcustomercartQue58, _fetchcustomercartQue59, _fetchcustomercartQue60, _fetchcustomercartQue61, _fetchcustomercartQue62, _fetchcustomercartQue63, _fetchcustomercartQue64, _fetchcustomercartQue65, _fetchcustomercartQue66, _authdetailsContext$i9, _fetchcustomercartQue67, _fetchcustomercartQue68, _fetchcustomercartQue69, _authdetailsContext$i0, _authdetailsContext$i1, _authdetailsContext$i11, _fetchcustomercartQue70, _authdetailsContext$i12, _fetchcustomercartQue71;
16871
+ var _fetchcustomercartQue39, _fetchcustomercartQue41, _fetchcustomercartQue42, _fetchcustomercartQue46, _fetchcustomercartQue47, _fetchcustomercartQue48, _fetchcustomercartQue49, _fetchcustomercartQue50, _authdetailsContext$i8, _fetchcustomercartQue51, _fetchcustomercartQue52, _fetchcustomercartQue53, _fetchcustomercartQue54, _fetchcustomercartQue55, _fetchcustomercartQue56, _fetchcustomercartQue58, _fetchcustomercartQue59, _fetchcustomercartQue60, _fetchcustomercartQue61, _fetchcustomercartQue62, _fetchcustomercartQue63, _fetchcustomercartQue64, _fetchcustomercartQue65, _fetchcustomercartQue66, _fetchcustomercartQue67, _authdetailsContext$i9, _fetchcustomercartQue68, _fetchcustomercartQue69, _fetchcustomercartQue70, _fetchcustomercartQue71, _authdetailsContext$i0, _authdetailsContext$i1, _authdetailsContext$i11, _fetchcustomercartQue72, _authdetailsContext$i12, _fetchcustomercartQue73;
16857
16872
  return /*#__PURE__*/React__default["default"].createElement("div", {
16858
16873
  className: "row m-0 w-100 mb-md-3"
16859
16874
  }, /*#__PURE__*/React__default["default"].createElement("div", {
@@ -16992,33 +17007,51 @@ var Checkout = function Checkout(props) {
16992
17007
  className: "col-lg-12 p-0 d-flex justify-content-end"
16993
17008
  }, /*#__PURE__*/React__default["default"].createElement("p", {
16994
17009
  className: langdetect == 'en' ? "".concat(checkoutstyles.productPricestyles) + ' m-0 p-0 wordbreak text-right ' : "".concat(checkoutstyles.productPricestyles) + ' m-0 p-0 wordbreak text-left '
16995
- }, langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', ' ', sectionproperties.removedecimals == 'Without Decimals' ? parseFloat(Number(item.finalprice).toFixed(2)) : sectionproperties.removedecimals == 'Without Decimals and Separated With Comma' ? Math.floor(item.finalprice).toLocaleString() : parseFloat(item.finalprice).toFixed(2), ' ', " ", langdetect == 'en' ? '' : authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar)), item.productinfo.hassale == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
17010
+ }, langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', ' ', sectionproperties.removedecimals == 'Without Decimals' ? parseFloat(Number(item.finalprice).toFixed(2)) : sectionproperties.removedecimals == 'Without Decimals and Separated With Comma' ? Math.floor(item.finalprice).toLocaleString() : sectionproperties.removedecimals == 'Separated With Comma' ? Number(item.finalprice).toLocaleString('en-US', {
17011
+ minimumFractionDigits: 0,
17012
+ maximumFractionDigits: 2
17013
+ }) : parseFloat(item.finalprice).toFixed(2), ' ', " ", langdetect == 'en' ? '' : authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar)), item.productinfo.hassale == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
16996
17014
  className: "row m-0 w-100 d-flex flex-column justify-content-end"
16997
17015
  }, /*#__PURE__*/React__default["default"].createElement("div", {
16998
17016
  className: "col-lg-12 p-0 d-flex justify-content-end"
16999
17017
  }, /*#__PURE__*/React__default["default"].createElement("p", {
17000
17018
  className: langdetect == 'en' ? "".concat(checkoutstyles.productPricestyles) + ' m-0 p-0 wordbreak text-right ' : "".concat(checkoutstyles.productPricestyles) + ' m-0 p-0 wordbreak text-left '
17001
- }, langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', ' ', sectionproperties.removedecimals == 'Without Decimals' ? parseFloat(Number(item.finalprice).toFixed(2)) : sectionproperties.removedecimals == 'Without Decimals and Separated With Comma' ? Math.floor(item.finalprice).toLocaleString() : parseFloat(item.finalprice).toFixed(2), ' ', " ", langdetect == 'en' ? '' : authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar)), /*#__PURE__*/React__default["default"].createElement("div", {
17019
+ }, langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', ' ', sectionproperties.removedecimals == 'Without Decimals' ? parseFloat(Number(item.finalprice).toFixed(2)) : sectionproperties.removedecimals == 'Without Decimals and Separated With Comma' ? Math.floor(item.finalprice).toLocaleString() : sectionproperties.removedecimals == 'Separated With Comma' ? Number(item.finalprice).toLocaleString('en-US', {
17020
+ minimumFractionDigits: 0,
17021
+ maximumFractionDigits: 2
17022
+ }) : parseFloat(item.finalprice).toFixed(2), ' ', " ", langdetect == 'en' ? '' : authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar)), /*#__PURE__*/React__default["default"].createElement("div", {
17002
17023
  className: "col-lg-12 p-0 d-flex justify-content-end"
17003
17024
  }, /*#__PURE__*/React__default["default"].createElement("p", {
17004
17025
  className: langdetect == 'en' ? "".concat(checkoutstyles.Salepricestyless) + ' linethrough mb-0 p-0 wordbreak text-right ' : "".concat(checkoutstyles.Salepricestyless) + ' linethrough mb-0 p-0 wordbreak text-left '
17005
- }, langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', ' ', sectionproperties.removedecimals == 'Without Decimals' ? parseFloat(Number(item.productinfo.defaultprice).toFixed(2)) : sectionproperties.removedecimals == 'Without Decimals and Separated With Comma' ? Math.floor(item.productinfo.defaultprice).toLocaleString() : parseFloat(item.productinfo.defaultprice).toFixed(2), ' ', langdetect == 'en' ? '' : authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar)))), item.productinfo.hasvariants == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
17026
+ }, langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', ' ', sectionproperties.removedecimals == 'Without Decimals' ? parseFloat(Number(item.productinfo.defaultprice).toFixed(2)) : sectionproperties.removedecimals == 'Without Decimals and Separated With Comma' ? Math.floor(item.productinfo.defaultprice).toLocaleString() : sectionproperties.removedecimals == 'Separated With Comma' ? Number(item.productinfo.defaultprice).toLocaleString('en-US', {
17027
+ minimumFractionDigits: 0,
17028
+ maximumFractionDigits: 2
17029
+ }) : parseFloat(item.productinfo.defaultprice).toFixed(2), ' ', langdetect == 'en' ? '' : authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar)))), item.productinfo.hasvariants == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
17006
17030
  className: "row m-0 w-100 d-flex flex-column justify-content-end"
17007
17031
  }, item.productinfo.variantinfo.hassale == 0 && /*#__PURE__*/React__default["default"].createElement("div", {
17008
17032
  className: "col-lg-12 p-0 d-flex justify-content-end"
17009
17033
  }, /*#__PURE__*/React__default["default"].createElement("p", {
17010
17034
  className: langdetect == 'en' ? "".concat(checkoutstyles.productPricestyles) + ' m-0 p-0 wordbreak text-right ' : "".concat(checkoutstyles.productPricestyles) + ' m-0 p-0 wordbreak text-left '
17011
- }, langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar, ' ', sectionproperties.removedecimals == 'Without Decimals' ? parseFloat(Number(item.productinfo.variantinfo.variantprice).toFixed(2)) : sectionproperties.removedecimals == 'Without Decimals and Separated With Comma' ? Math.floor(item.productinfo.variantinfo.variantprice).toLocaleString() : parseFloat(item.productinfo.variantinfo.variantprice).toFixed(2))), item.productinfo.variantinfo.hassale == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
17035
+ }, langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar, ' ', sectionproperties.removedecimals == 'Without Decimals' ? parseFloat(Number(item.productinfo.variantinfo.variantprice).toFixed(2)) : sectionproperties.removedecimals == 'Without Decimals and Separated With Comma' ? Math.floor(item.productinfo.variantinfo.variantprice).toLocaleString() : sectionproperties.removedecimals == 'Separated With Comma' ? Number(item.productinfo.variantinfo.variantprice).toLocaleString('en-US', {
17036
+ minimumFractionDigits: 0,
17037
+ maximumFractionDigits: 2
17038
+ }) : parseFloat(item.productinfo.variantinfo.variantprice).toFixed(2))), item.productinfo.variantinfo.hassale == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
17012
17039
  className: "row m-0 w-100 d-flex flex-column justify-content-end"
17013
17040
  }, /*#__PURE__*/React__default["default"].createElement("div", {
17014
17041
  className: "col-lg-12 p-0 d-flex justify-content-end"
17015
17042
  }, /*#__PURE__*/React__default["default"].createElement("p", {
17016
17043
  className: langdetect == 'en' ? "".concat(checkoutstyles.productPricestyles) + ' m-0 p-0 wordbreak d-flex align-items-center justify-content-end text-right ' : "".concat(checkoutstyles.productPricestyles) + ' m-0 p-0 wordbreak d-flex align-items-center justify-content-end text-left '
17017
- }, langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', ' ', sectionproperties.removedecimals == 'Without Decimals' ? parseFloat(Number(item.productinfo.variantinfo.variantsaleprice).toFixed(2)) : sectionproperties.removedecimals == 'Without Decimals and Separated With Comma' ? Math.floor(item.productinfo.variantinfo.variantsaleprice).toLocaleString() : parseFloat(item.productinfo.variantinfo.variantsaleprice).toFixed(2), ' ', langdetect == 'en' ? '' : authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar)), /*#__PURE__*/React__default["default"].createElement("div", {
17044
+ }, langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', ' ', sectionproperties.removedecimals == 'Without Decimals' ? parseFloat(Number(item.productinfo.variantinfo.variantsaleprice).toFixed(2)) : sectionproperties.removedecimals == 'Without Decimals and Separated With Comma' ? Math.floor(item.productinfo.variantinfo.variantsaleprice).toLocaleString() : sectionproperties.removedecimals == 'Separated With Comma' ? Number(item.productinfo.variantinfo.variantsaleprice).toLocaleString('en-US', {
17045
+ minimumFractionDigits: 0,
17046
+ maximumFractionDigits: 2
17047
+ }) : parseFloat(item.productinfo.variantinfo.variantsaleprice).toFixed(2), ' ', langdetect == 'en' ? '' : authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar)), /*#__PURE__*/React__default["default"].createElement("div", {
17018
17048
  className: "col-lg-12 p-0 d-flex justify-content-end"
17019
17049
  }, /*#__PURE__*/React__default["default"].createElement("p", {
17020
17050
  className: langdetect == 'en' ? "".concat(checkoutstyles.Salepricestyless) + ' linethrough mb-0 p-0 wordbreak d-flex align-items-center justify-content-end text-right ' : "".concat(checkoutstyles.Salepricestyless) + ' linethrough mb-0 p-0 wordbreak d-flex align-items-center justify-content-end text-left '
17021
- }, langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', ' ', sectionproperties.removedecimals == 'Without Decimals' ? parseFloat(Number(item.productinfo.variantinfo.variantprice).toFixed(2)) : sectionproperties.removedecimals == 'Without Decimals and Separated With Comma' ? Math.floor(item.productinfo.variantinfo.variantprice).toLocaleString() : parseFloat(item.productinfo.variantinfo.variantprice).toFixed(2), ' ', langdetect == 'en' ? '' : authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar)))))))));
17051
+ }, langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', ' ', sectionproperties.removedecimals == 'Without Decimals' ? parseFloat(Number(item.productinfo.variantinfo.variantprice).toFixed(2)) : sectionproperties.removedecimals == 'Without Decimals and Separated With Comma' ? Math.floor(item.productinfo.variantinfo.variantprice).toLocaleString() : sectionproperties.removedecimals == 'Separated With Comma' ? Number(item.productinfo.variantinfo.variantprice).toLocaleString('en-US', {
17052
+ minimumFractionDigits: 0,
17053
+ maximumFractionDigits: 2
17054
+ }) : parseFloat(item.productinfo.variantinfo.variantprice).toFixed(2), ' ', langdetect == 'en' ? '' : authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar)))))))));
17022
17055
  }
17023
17056
  }), /*#__PURE__*/React__default["default"].createElement("div", {
17024
17057
  "class": "".concat(checkoutstyles.innersection) + ' row m-0 w-100 p-3 '
@@ -17122,10 +17155,13 @@ var Checkout = function Checkout(props) {
17122
17155
  className: "col-lg-6 col-md-6 col-sm-6 d-flex justify-content-end p-0"
17123
17156
  }, /*#__PURE__*/React__default["default"].createElement("p", {
17124
17157
  className: langdetect == 'en' ? "".concat(checkoutstyles.summarysectionstyles) + ' m-0 p-0 wordbreak text-right ' : "".concat(checkoutstyles.summarysectionstyles) + ' m-0 p-0 wordbreak text-left '
17125
- }, langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', ' ', sectionproperties.removedecimals == 'Without Decimals' ? parseFloat(Number(fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue51 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue51 === void 0 || (_fetchcustomercartQue51 = _fetchcustomercartQue51.data) === null || _fetchcustomercartQue51 === void 0 ? void 0 : _fetchcustomercartQue51.customercart.totalprice).toFixed(2)) : sectionproperties.removedecimals == 'Without Decimals and Separated With Comma' ? Math.floor(fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue52 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue52 === void 0 || (_fetchcustomercartQue52 = _fetchcustomercartQue52.data) === null || _fetchcustomercartQue52 === void 0 ? void 0 : _fetchcustomercartQue52.customercart.totalprice).toLocaleString() : parseFloat(fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue53 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue53 === void 0 || (_fetchcustomercartQue53 = _fetchcustomercartQue53.data) === null || _fetchcustomercartQue53 === void 0 ? void 0 : _fetchcustomercartQue53.customercart.totalprice).toFixed(2), ' ', langdetect == 'en' ? '' : authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar))), sectionproperties.showtotalsection == 'Show' && (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue54 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue54 === void 0 || (_fetchcustomercartQue54 = _fetchcustomercartQue54.data) === null || _fetchcustomercartQue54 === void 0 || (_fetchcustomercartQue54 = _fetchcustomercartQue54.customercart) === null || _fetchcustomercartQue54 === void 0 || (_fetchcustomercartQue54 = _fetchcustomercartQue54.genpayments) === null || _fetchcustomercartQue54 === void 0 ? void 0 : _fetchcustomercartQue54.length) != 0 && /*#__PURE__*/React__default["default"].createElement("div", {
17158
+ }, langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', ' ', sectionproperties.removedecimals == 'Without Decimals' ? parseFloat(Number(fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue51 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue51 === void 0 || (_fetchcustomercartQue51 = _fetchcustomercartQue51.data) === null || _fetchcustomercartQue51 === void 0 ? void 0 : _fetchcustomercartQue51.customercart.totalprice).toFixed(2)) : sectionproperties.removedecimals == 'Without Decimals and Separated With Comma' ? Math.floor(fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue52 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue52 === void 0 || (_fetchcustomercartQue52 = _fetchcustomercartQue52.data) === null || _fetchcustomercartQue52 === void 0 ? void 0 : _fetchcustomercartQue52.customercart.totalprice).toLocaleString() : sectionproperties.removedecimals == 'Separated With Comma' ? Number(fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue53 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue53 === void 0 || (_fetchcustomercartQue53 = _fetchcustomercartQue53.data) === null || _fetchcustomercartQue53 === void 0 ? void 0 : _fetchcustomercartQue53.customercart.totalprice).toLocaleString('en-US', {
17159
+ minimumFractionDigits: 0,
17160
+ maximumFractionDigits: 2
17161
+ }) : parseFloat(fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue54 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue54 === void 0 || (_fetchcustomercartQue54 = _fetchcustomercartQue54.data) === null || _fetchcustomercartQue54 === void 0 ? void 0 : _fetchcustomercartQue54.customercart.totalprice).toFixed(2), ' ', langdetect == 'en' ? '' : authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar))), sectionproperties.showtotalsection == 'Show' && (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue55 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue55 === void 0 || (_fetchcustomercartQue55 = _fetchcustomercartQue55.data) === null || _fetchcustomercartQue55 === void 0 || (_fetchcustomercartQue55 = _fetchcustomercartQue55.customercart) === null || _fetchcustomercartQue55 === void 0 || (_fetchcustomercartQue55 = _fetchcustomercartQue55.genpayments) === null || _fetchcustomercartQue55 === void 0 ? void 0 : _fetchcustomercartQue55.length) != 0 && /*#__PURE__*/React__default["default"].createElement("div", {
17126
17162
  className: "row m-0 w-100"
17127
- }, fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue55 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue55 === void 0 || (_fetchcustomercartQue55 = _fetchcustomercartQue55.data) === null || _fetchcustomercartQue55 === void 0 || (_fetchcustomercartQue55 = _fetchcustomercartQue55.customercart) === null || _fetchcustomercartQue55 === void 0 || (_fetchcustomercartQue55 = _fetchcustomercartQue55.genpayments) === null || _fetchcustomercartQue55 === void 0 ? void 0 : _fetchcustomercartQue55.map(function (item, index) {
17128
- var _fetchcustomercartQue56;
17163
+ }, fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue56 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue56 === void 0 || (_fetchcustomercartQue56 = _fetchcustomercartQue56.data) === null || _fetchcustomercartQue56 === void 0 || (_fetchcustomercartQue56 = _fetchcustomercartQue56.customercart) === null || _fetchcustomercartQue56 === void 0 || (_fetchcustomercartQue56 = _fetchcustomercartQue56.genpayments) === null || _fetchcustomercartQue56 === void 0 ? void 0 : _fetchcustomercartQue56.map(function (item, index) {
17164
+ var _fetchcustomercartQue57;
17129
17165
  return /*#__PURE__*/React__default["default"].createElement("div", {
17130
17166
  "class": "col-lg-12 p-0"
17131
17167
  }, /*#__PURE__*/React__default["default"].createElement("div", {
@@ -17144,8 +17180,8 @@ var Checkout = function Checkout(props) {
17144
17180
  style: {
17145
17181
  color: item.addsubtype == 'subtract' ? 'var(--danger)' : 'var(--success)'
17146
17182
  }
17147
- }, item.addsubtype == 'subtract' && /*#__PURE__*/React__default["default"].createElement("span", null, "-"), item.valuetype == 'value' && /*#__PURE__*/React__default["default"].createElement("span", null, langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', parseFloat(item.value).toFixed(2), " ", langdetect == 'en' ? '' : authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar), item.valuetype == 'percentage' && /*#__PURE__*/React__default["default"].createElement("span", null, item.value, "% (", langdetect == 'en' ? authdetailsContext.currencyname_en : '', ' ', parseFloat((fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue56 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue56 === void 0 || (_fetchcustomercartQue56 = _fetchcustomercartQue56.data) === null || _fetchcustomercartQue56 === void 0 || (_fetchcustomercartQue56 = _fetchcustomercartQue56.customercart) === null || _fetchcustomercartQue56 === void 0 ? void 0 : _fetchcustomercartQue56.totalprice) * (item.value / 100)).toFixed(2), ' ', langdetect == 'ar' ? authdetailsContext.currencyname_ar : '', ")")))));
17148
- }))), (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue57 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue57 === void 0 || (_fetchcustomercartQue57 = _fetchcustomercartQue57.data) === null || _fetchcustomercartQue57 === void 0 || (_fetchcustomercartQue57 = _fetchcustomercartQue57.customercart) === null || _fetchcustomercartQue57 === void 0 ? void 0 : _fetchcustomercartQue57.usewalletpoints) == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
17183
+ }, item.addsubtype == 'subtract' && /*#__PURE__*/React__default["default"].createElement("span", null, "-"), item.valuetype == 'value' && /*#__PURE__*/React__default["default"].createElement("span", null, langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', parseFloat(item.value).toFixed(2), " ", langdetect == 'en' ? '' : authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar), item.valuetype == 'percentage' && /*#__PURE__*/React__default["default"].createElement("span", null, item.value, "% (", langdetect == 'en' ? authdetailsContext.currencyname_en : '', ' ', parseFloat((fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue57 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue57 === void 0 || (_fetchcustomercartQue57 = _fetchcustomercartQue57.data) === null || _fetchcustomercartQue57 === void 0 || (_fetchcustomercartQue57 = _fetchcustomercartQue57.customercart) === null || _fetchcustomercartQue57 === void 0 ? void 0 : _fetchcustomercartQue57.totalprice) * (item.value / 100)).toFixed(2), ' ', langdetect == 'ar' ? authdetailsContext.currencyname_ar : '', ")")))));
17184
+ }))), (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue58 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue58 === void 0 || (_fetchcustomercartQue58 = _fetchcustomercartQue58.data) === null || _fetchcustomercartQue58 === void 0 || (_fetchcustomercartQue58 = _fetchcustomercartQue58.customercart) === null || _fetchcustomercartQue58 === void 0 ? void 0 : _fetchcustomercartQue58.usewalletpoints) == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
17149
17185
  className: "row m-0 w-100"
17150
17186
  }, /*#__PURE__*/React__default["default"].createElement("div", {
17151
17187
  className: "col-lg-6 col-md-6 col-sm-6 p-0"
@@ -17158,7 +17194,7 @@ var Checkout = function Checkout(props) {
17158
17194
  style: {
17159
17195
  color: 'red'
17160
17196
  }
17161
- }, langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', " -", ' ', parseFloat(fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue58 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue58 === void 0 || (_fetchcustomercartQue58 = _fetchcustomercartQue58.data) === null || _fetchcustomercartQue58 === void 0 || (_fetchcustomercartQue58 = _fetchcustomercartQue58.customercart) === null || _fetchcustomercartQue58 === void 0 ? void 0 : _fetchcustomercartQue58.walletpointsused), " ", langdetect == 'en' ? '' : authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar))), (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue59 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue59 === void 0 || (_fetchcustomercartQue59 = _fetchcustomercartQue59.data) === null || _fetchcustomercartQue59 === void 0 ? void 0 : _fetchcustomercartQue59.customercart.couponexists) && (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue60 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue60 === void 0 || (_fetchcustomercartQue60 = _fetchcustomercartQue60.data) === null || _fetchcustomercartQue60 === void 0 ? void 0 : _fetchcustomercartQue60.customercart.discountprice) != 0 && /*#__PURE__*/React__default["default"].createElement("div", {
17197
+ }, langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', " -", ' ', parseFloat(fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue59 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue59 === void 0 || (_fetchcustomercartQue59 = _fetchcustomercartQue59.data) === null || _fetchcustomercartQue59 === void 0 || (_fetchcustomercartQue59 = _fetchcustomercartQue59.customercart) === null || _fetchcustomercartQue59 === void 0 ? void 0 : _fetchcustomercartQue59.walletpointsused), " ", langdetect == 'en' ? '' : authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar))), (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue60 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue60 === void 0 || (_fetchcustomercartQue60 = _fetchcustomercartQue60.data) === null || _fetchcustomercartQue60 === void 0 ? void 0 : _fetchcustomercartQue60.customercart.couponexists) && (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue61 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue61 === void 0 || (_fetchcustomercartQue61 = _fetchcustomercartQue61.data) === null || _fetchcustomercartQue61 === void 0 ? void 0 : _fetchcustomercartQue61.customercart.discountprice) != 0 && /*#__PURE__*/React__default["default"].createElement("div", {
17162
17198
  className: "col-lg-12 p-0 mb-1"
17163
17199
  }, /*#__PURE__*/React__default["default"].createElement("div", {
17164
17200
  className: "row m-0 w-100"
@@ -17170,7 +17206,7 @@ var Checkout = function Checkout(props) {
17170
17206
  className: "col-lg-6 col-md-6 col-sm-6 d-flex justify-content-end p-0"
17171
17207
  }, /*#__PURE__*/React__default["default"].createElement("p", {
17172
17208
  className: langdetect == 'en' ? "".concat(checkoutstyles.summarysectionstyles, " ") + ' m-0 p-0 text-danger wordbreak text-right ' : "".concat(checkoutstyles.summarysectionstyles, " ") + ' m-0 p-0 text-danger wordbreak text-left '
17173
- }, (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue61 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue61 === void 0 || (_fetchcustomercartQue61 = _fetchcustomercartQue61.data) === null || _fetchcustomercartQue61 === void 0 ? void 0 : _fetchcustomercartQue61.customercart.discountprice) != 0 && /*#__PURE__*/React__default["default"].createElement("span", null, "- ", langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', ' ', parseFloat(fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue62 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue62 === void 0 || (_fetchcustomercartQue62 = _fetchcustomercartQue62.data) === null || _fetchcustomercartQue62 === void 0 ? void 0 : _fetchcustomercartQue62.customercart.discountprice).toFixed(2), ' ', langdetect == 'en' ? '' : authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar), (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue63 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue63 === void 0 || (_fetchcustomercartQue63 = _fetchcustomercartQue63.data) === null || _fetchcustomercartQue63 === void 0 ? void 0 : _fetchcustomercartQue63.customercart.discountprice) == 0 && /*#__PURE__*/React__default["default"].createElement("span", null, "0"))))), sectionproperties.hideshipping == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
17209
+ }, (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue62 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue62 === void 0 || (_fetchcustomercartQue62 = _fetchcustomercartQue62.data) === null || _fetchcustomercartQue62 === void 0 ? void 0 : _fetchcustomercartQue62.customercart.discountprice) != 0 && /*#__PURE__*/React__default["default"].createElement("span", null, "- ", langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', ' ', parseFloat(fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue63 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue63 === void 0 || (_fetchcustomercartQue63 = _fetchcustomercartQue63.data) === null || _fetchcustomercartQue63 === void 0 ? void 0 : _fetchcustomercartQue63.customercart.discountprice).toFixed(2), ' ', langdetect == 'en' ? '' : authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar), (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue64 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue64 === void 0 || (_fetchcustomercartQue64 = _fetchcustomercartQue64.data) === null || _fetchcustomercartQue64 === void 0 ? void 0 : _fetchcustomercartQue64.customercart.discountprice) == 0 && /*#__PURE__*/React__default["default"].createElement("span", null, "0"))))), sectionproperties.hideshipping == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
17174
17210
  className: "col-lg-12 p-0"
17175
17211
  }, /*#__PURE__*/React__default["default"].createElement("div", {
17176
17212
  className: "row m-0 w-100"
@@ -17178,11 +17214,11 @@ var Checkout = function Checkout(props) {
17178
17214
  className: "col-lg-6 col-md-6 col-sm-6 p-0"
17179
17215
  }, /*#__PURE__*/React__default["default"].createElement("p", {
17180
17216
  className: "".concat(checkoutstyles.summarysectionstyles, " ") + ' m-0 p-0 d-flex align-items-start wordbreak '
17181
- }, langdetect == 'en' ? sectionproperties.shippingfeestitle_en : sectionproperties.shippingfeestitle_ar)), (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue64 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue64 === void 0 || (_fetchcustomercartQue64 = _fetchcustomercartQue64.data) === null || _fetchcustomercartQue64 === void 0 ? void 0 : _fetchcustomercartQue64.customercart.zoneexists) && /*#__PURE__*/React__default["default"].createElement("div", {
17217
+ }, langdetect == 'en' ? sectionproperties.shippingfeestitle_en : sectionproperties.shippingfeestitle_ar)), (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue65 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue65 === void 0 || (_fetchcustomercartQue65 = _fetchcustomercartQue65.data) === null || _fetchcustomercartQue65 === void 0 ? void 0 : _fetchcustomercartQue65.customercart.zoneexists) && /*#__PURE__*/React__default["default"].createElement("div", {
17182
17218
  className: "col-lg-6 col-md-6 col-sm-6 d-flex justify-content-end p-0"
17183
17219
  }, /*#__PURE__*/React__default["default"].createElement("p", {
17184
17220
  className: langdetect == 'en' ? "".concat(checkoutstyles.summarysectionstyles) + ' m-0 p-0 wordbreak text-right ' : "".concat(checkoutstyles.summarysectionstyles) + ' m-0 p-0 wordbreak text-left '
17185
- }, langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', ' ', parseFloat(fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue65 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue65 === void 0 || (_fetchcustomercartQue65 = _fetchcustomercartQue65.data) === null || _fetchcustomercartQue65 === void 0 ? void 0 : _fetchcustomercartQue65.customercart.zoneprice).toFixed(2), ' ', langdetect == 'en' ? '' : authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar)), !(fetchcustomercartQueryContext !== null && fetchcustomercartQueryContext !== void 0 && (_fetchcustomercartQue66 = fetchcustomercartQueryContext.data) !== null && _fetchcustomercartQue66 !== void 0 && (_fetchcustomercartQue66 = _fetchcustomercartQue66.data) !== null && _fetchcustomercartQue66 !== void 0 && _fetchcustomercartQue66.customercart.zoneexists) && /*#__PURE__*/React__default["default"].createElement("div", {
17221
+ }, langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', ' ', parseFloat(fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue66 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue66 === void 0 || (_fetchcustomercartQue66 = _fetchcustomercartQue66.data) === null || _fetchcustomercartQue66 === void 0 ? void 0 : _fetchcustomercartQue66.customercart.zoneprice).toFixed(2), ' ', langdetect == 'en' ? '' : authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar)), !(fetchcustomercartQueryContext !== null && fetchcustomercartQueryContext !== void 0 && (_fetchcustomercartQue67 = fetchcustomercartQueryContext.data) !== null && _fetchcustomercartQue67 !== void 0 && (_fetchcustomercartQue67 = _fetchcustomercartQue67.data) !== null && _fetchcustomercartQue67 !== void 0 && _fetchcustomercartQue67.customercart.zoneexists) && /*#__PURE__*/React__default["default"].createElement("div", {
17186
17222
  className: "col-lg-6 col-md-6 col-sm-6 d-flex justify-content-end p-0"
17187
17223
  }, /*#__PURE__*/React__default["default"].createElement("p", {
17188
17224
  className: "".concat(checkoutstyles.summarysectionstyles) + ' m-0 p-0 d-flex align-items-start wordbreak ',
@@ -17221,7 +17257,10 @@ var Checkout = function Checkout(props) {
17221
17257
  textTransform: sectionproperties.total_texttransform,
17222
17258
  color: sectionproperties.total_color
17223
17259
  }
17224
- }, langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', ' ', sectionproperties.removedecimals == 'Without Decimals' ? parseFloat(Number(fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue67 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue67 === void 0 || (_fetchcustomercartQue67 = _fetchcustomercartQue67.data) === null || _fetchcustomercartQue67 === void 0 ? void 0 : _fetchcustomercartQue67.customercart.totalpriceafterdiscount).toFixed(2)) : sectionproperties.removedecimals == 'Without Decimals and Separated With Comma' ? Math.floor(fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue68 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue68 === void 0 || (_fetchcustomercartQue68 = _fetchcustomercartQue68.data) === null || _fetchcustomercartQue68 === void 0 ? void 0 : _fetchcustomercartQue68.customercart.totalpriceafterdiscount).toLocaleString() : parseFloat(fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue69 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue69 === void 0 || (_fetchcustomercartQue69 = _fetchcustomercartQue69.data) === null || _fetchcustomercartQue69 === void 0 ? void 0 : _fetchcustomercartQue69.customercart.totalpriceafterdiscount).toFixed(2), ' ', langdetect == 'en' ? '' : authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar)))))), sectionproperties.slideshowtext1_show == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
17260
+ }, langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', ' ', sectionproperties.removedecimals == 'Without Decimals' ? parseFloat(Number(fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue68 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue68 === void 0 || (_fetchcustomercartQue68 = _fetchcustomercartQue68.data) === null || _fetchcustomercartQue68 === void 0 ? void 0 : _fetchcustomercartQue68.customercart.totalpriceafterdiscount).toFixed(2)) : sectionproperties.removedecimals == 'Without Decimals and Separated With Comma' ? Math.floor(fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue69 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue69 === void 0 || (_fetchcustomercartQue69 = _fetchcustomercartQue69.data) === null || _fetchcustomercartQue69 === void 0 ? void 0 : _fetchcustomercartQue69.customercart.totalpriceafterdiscount).toLocaleString() : sectionproperties.removedecimals == 'Separated With Comma' ? Number(fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue70 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue70 === void 0 || (_fetchcustomercartQue70 = _fetchcustomercartQue70.data) === null || _fetchcustomercartQue70 === void 0 ? void 0 : _fetchcustomercartQue70.customercart.totalpriceafterdiscount).toLocaleString('en-US', {
17261
+ minimumFractionDigits: 0,
17262
+ maximumFractionDigits: 2
17263
+ }) : parseFloat(fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue71 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue71 === void 0 || (_fetchcustomercartQue71 = _fetchcustomercartQue71.data) === null || _fetchcustomercartQue71 === void 0 ? void 0 : _fetchcustomercartQue71.customercart.totalpriceafterdiscount).toFixed(2), ' ', langdetect == 'en' ? '' : authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar)))))), sectionproperties.slideshowtext1_show == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
17225
17264
  "class": "col-lg-12 p-0 my-2 p-2 allcentered mb-3",
17226
17265
  style: {
17227
17266
  background: '#eee',
@@ -17268,7 +17307,7 @@ var Checkout = function Checkout(props) {
17268
17307
  width: "20px",
17269
17308
  height: "20px",
17270
17309
  duration: "1s"
17271
- }), !ischeckoutbuttonloading() ? (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue70 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue70 === void 0 || (_fetchcustomercartQue70 = _fetchcustomercartQue70.data) === null || _fetchcustomercartQue70 === void 0 ? void 0 : _fetchcustomercartQue70.customercart.paymentmethod) == 'onlinepayment' ? lang.continuetopayment : authdetailsContext.loggedin ? langdetect == 'en' ? sectionproperties.checkoutbtn_en2 : sectionproperties.checkoutbtn_ar2 : langdetect == 'en' ? sectionproperties.checkoutbtn_en2 + ' ' + lang.asaguest : sectionproperties.checkoutbtn_ar2 + ' ' + lang.asaguest : ''), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i12 = authdetailsContext.instinfo) === null || _authdetailsContext$i12 === void 0 ? void 0 : _authdetailsContext$i12.contactinfo.instid) == '67e448d2ef6e0' && /*#__PURE__*/React__default["default"].createElement("button", {
17310
+ }), !ischeckoutbuttonloading() ? (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue72 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue72 === void 0 || (_fetchcustomercartQue72 = _fetchcustomercartQue72.data) === null || _fetchcustomercartQue72 === void 0 ? void 0 : _fetchcustomercartQue72.customercart.paymentmethod) == 'onlinepayment' ? lang.continuetopayment : authdetailsContext.loggedin ? langdetect == 'en' ? sectionproperties.checkoutbtn_en2 : sectionproperties.checkoutbtn_ar2 : langdetect == 'en' ? sectionproperties.checkoutbtn_en2 + ' ' + lang.asaguest : sectionproperties.checkoutbtn_ar2 + ' ' + lang.asaguest : ''), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i12 = authdetailsContext.instinfo) === null || _authdetailsContext$i12 === void 0 ? void 0 : _authdetailsContext$i12.contactinfo.instid) == '67e448d2ef6e0' && /*#__PURE__*/React__default["default"].createElement("button", {
17272
17311
  className: " ".concat(checkoutstyles.checkoutbtnstyles) + ' d-flex align-items-center justify-content-center ',
17273
17312
  onClick: function onClick() {
17274
17313
  if (sectionproperties.showpaymentfooter == 'Hide') {
@@ -17282,7 +17321,7 @@ var Checkout = function Checkout(props) {
17282
17321
  width: "20px",
17283
17322
  height: "20px",
17284
17323
  duration: "1s"
17285
- }), !ischeckoutbuttonloading() ? (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue71 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue71 === void 0 || (_fetchcustomercartQue71 = _fetchcustomercartQue71.data) === null || _fetchcustomercartQue71 === void 0 ? void 0 : _fetchcustomercartQue71.customercart.paymentmethod) == 'onlinepayment' ? lang.continuetopayment : authdetailsContext.loggedin ? langdetect == 'en' ? sectionproperties.checkoutbtn_en2 : sectionproperties.checkoutbtn_ar2 : langdetect == 'en' ? sectionproperties.checkoutbtn_en2 : sectionproperties.checkoutbtn_ar2 : '')), authdetailsContext.loggedin == false && sectionproperties.loginbtn_show == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
17324
+ }), !ischeckoutbuttonloading() ? (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue73 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue73 === void 0 || (_fetchcustomercartQue73 = _fetchcustomercartQue73.data) === null || _fetchcustomercartQue73 === void 0 ? void 0 : _fetchcustomercartQue73.customercart.paymentmethod) == 'onlinepayment' ? lang.continuetopayment : authdetailsContext.loggedin ? langdetect == 'en' ? sectionproperties.checkoutbtn_en2 : sectionproperties.checkoutbtn_ar2 : langdetect == 'en' ? sectionproperties.checkoutbtn_en2 : sectionproperties.checkoutbtn_ar2 : '')), authdetailsContext.loggedin == false && sectionproperties.loginbtn_show == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
17286
17325
  className: "col-lg-12 d-flex align-items-center justify-content-center mt-4 p-0 mb-2 mt-sm-3",
17287
17326
  style: {
17288
17327
  marginTop: sectionproperties.showtotalsection == 'Show' ? 0 : '0.5rem'
@@ -17328,7 +17367,7 @@ var Checkout = function Checkout(props) {
17328
17367
  t_b: authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.t_b,
17329
17368
  t_m: authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.t_m,
17330
17369
  lang: langdetect,
17331
- amount: fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue72 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue72 === void 0 || (_fetchcustomercartQue72 = _fetchcustomercartQue72.data) === null || _fetchcustomercartQue72 === void 0 || (_fetchcustomercartQue72 = _fetchcustomercartQue72.customercart) === null || _fetchcustomercartQue72 === void 0 ? void 0 : _fetchcustomercartQue72.totalprice
17370
+ amount: fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue74 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue74 === void 0 || (_fetchcustomercartQue74 = _fetchcustomercartQue74.data) === null || _fetchcustomercartQue74 === void 0 || (_fetchcustomercartQue74 = _fetchcustomercartQue74.customercart) === null || _fetchcustomercartQue74 === void 0 ? void 0 : _fetchcustomercartQue74.totalprice
17332
17371
  }), authdetailsContext.loggedin && /*#__PURE__*/React__default["default"].createElement("div", {
17333
17372
  className: "col-lg-12 p-0"
17334
17373
  }, /*#__PURE__*/React__default["default"].createElement("div", {
@@ -17460,7 +17499,7 @@ var Checkout = function Checkout(props) {
17460
17499
  }, "*")), /*#__PURE__*/React__default["default"].createElement("input", {
17461
17500
  type: 'text',
17462
17501
  className: "".concat(formstyles.form_control, " ").concat(checkoutstyles.form_control),
17463
- value: fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue73 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue73 === void 0 || (_fetchcustomercartQue73 = _fetchcustomercartQue73.data) === null || _fetchcustomercartQue73 === void 0 ? void 0 : _fetchcustomercartQue73.customercart.name,
17502
+ value: fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue75 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue75 === void 0 || (_fetchcustomercartQue75 = _fetchcustomercartQue75.data) === null || _fetchcustomercartQue75 === void 0 ? void 0 : _fetchcustomercartQue75.customercart.name,
17464
17503
  onChange: function onChange(event) {
17465
17504
  cartinfoupdater('name', event.target.value);
17466
17505
  },
@@ -17480,7 +17519,7 @@ var Checkout = function Checkout(props) {
17480
17519
  }, "*")), /*#__PURE__*/React__default["default"].createElement("input", {
17481
17520
  type: 'text',
17482
17521
  className: "".concat(formstyles.form_control, " ").concat(checkoutstyles.form_control),
17483
- value: fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue74 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue74 === void 0 || (_fetchcustomercartQue74 = _fetchcustomercartQue74.data) === null || _fetchcustomercartQue74 === void 0 ? void 0 : _fetchcustomercartQue74.customercart.mobile,
17522
+ value: fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue76 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue76 === void 0 || (_fetchcustomercartQue76 = _fetchcustomercartQue76.data) === null || _fetchcustomercartQue76 === void 0 ? void 0 : _fetchcustomercartQue76.customercart.mobile,
17484
17523
  onChange: function onChange(event) {
17485
17524
  var onlyNumbers = event.target.value.replace(/\D/g, ''); // remove non-digits
17486
17525
  cartinfoupdater('mobile', onlyNumbers);
@@ -17510,7 +17549,7 @@ var Checkout = function Checkout(props) {
17510
17549
  }, langdetect == 'en' ? 'Optional' : 'اختياري'), ' '), /*#__PURE__*/React__default["default"].createElement("input", {
17511
17550
  type: 'text',
17512
17551
  className: "".concat(formstyles.form_control, " ").concat(checkoutstyles.form_control),
17513
- value: fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue75 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue75 === void 0 || (_fetchcustomercartQue75 = _fetchcustomercartQue75.data) === null || _fetchcustomercartQue75 === void 0 ? void 0 : _fetchcustomercartQue75.customercart.email,
17552
+ value: fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue77 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue77 === void 0 || (_fetchcustomercartQue77 = _fetchcustomercartQue77.data) === null || _fetchcustomercartQue77 === void 0 ? void 0 : _fetchcustomercartQue77.customercart.email,
17514
17553
  onChange: function onChange(event) {
17515
17554
  cartinfoupdater('email', event.target.value);
17516
17555
  },
@@ -17563,8 +17602,8 @@ var Checkout = function Checkout(props) {
17563
17602
  return option.id;
17564
17603
  },
17565
17604
  value: fetchTabexCountriesQueryContext.data.data.countries.filter(function (option) {
17566
- var _fetchcustomercartQue76;
17567
- return option.id == (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue76 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue76 === void 0 || (_fetchcustomercartQue76 = _fetchcustomercartQue76.data) === null || _fetchcustomercartQue76 === void 0 ? void 0 : _fetchcustomercartQue76.customercart.countryid);
17605
+ var _fetchcustomercartQue78;
17606
+ return option.id == (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue78 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue78 === void 0 || (_fetchcustomercartQue78 = _fetchcustomercartQue78.data) === null || _fetchcustomercartQue78 === void 0 ? void 0 : _fetchcustomercartQue78.customercart.countryid);
17568
17607
  }),
17569
17608
  onChange: function onChange(option) {
17570
17609
  var tempFetchTabexStatesPayloadobjContext = _objectSpread$2x({}, FetchTabexStatesPayloadobjContext);
@@ -17618,12 +17657,12 @@ var Checkout = function Checkout(props) {
17618
17657
  return option.id;
17619
17658
  },
17620
17659
  value: fetchTabexStatesQueryContext.data.data.states.filter(function (option) {
17621
- var _fetchcustomercartQue77;
17622
- return option.id == (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue77 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue77 === void 0 || (_fetchcustomercartQue77 = _fetchcustomercartQue77.data) === null || _fetchcustomercartQue77 === void 0 ? void 0 : _fetchcustomercartQue77.customercart.stateid);
17660
+ var _fetchcustomercartQue79;
17661
+ return option.id == (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue79 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue79 === void 0 || (_fetchcustomercartQue79 = _fetchcustomercartQue79.data) === null || _fetchcustomercartQue79 === void 0 ? void 0 : _fetchcustomercartQue79.customercart.stateid);
17623
17662
  }),
17624
17663
  onChange: function onChange(option) {
17625
- var _fetchcustomercartQue78;
17626
- if (option.id.length != 0 && (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue78 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue78 === void 0 || (_fetchcustomercartQue78 = _fetchcustomercartQue78.data) === null || _fetchcustomercartQue78 === void 0 ? void 0 : _fetchcustomercartQue78.customercart.countryid.length) != 0) {
17664
+ var _fetchcustomercartQue80;
17665
+ if (option.id.length != 0 && (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue80 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue80 === void 0 || (_fetchcustomercartQue80 = _fetchcustomercartQue80.data) === null || _fetchcustomercartQue80 === void 0 ? void 0 : _fetchcustomercartQue80.customercart.countryid.length) != 0) {
17627
17666
  var tempFetchTabexStatesPayloadobjContext = _objectSpread$2x({}, FetchTabexStatesPayloadobjContext);
17628
17667
  tempFetchTabexStatesPayloadobjContext.functype = 'cities';
17629
17668
  tempFetchTabexStatesPayloadobjContext.state_id = option.id;
@@ -17675,13 +17714,13 @@ var Checkout = function Checkout(props) {
17675
17714
  return option.id;
17676
17715
  },
17677
17716
  value: fetchTabexCitiesQueryContext.data.data.cities.filter(function (option) {
17678
- var _fetchcustomercartQue79;
17679
- return option.id == (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue79 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue79 === void 0 || (_fetchcustomercartQue79 = _fetchcustomercartQue79.data) === null || _fetchcustomercartQue79 === void 0 ? void 0 : _fetchcustomercartQue79.customercart.cityid);
17717
+ var _fetchcustomercartQue81;
17718
+ return option.id == (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue81 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue81 === void 0 || (_fetchcustomercartQue81 = _fetchcustomercartQue81.data) === null || _fetchcustomercartQue81 === void 0 ? void 0 : _fetchcustomercartQue81.customercart.cityid);
17680
17719
  }),
17681
17720
  onChange: function onChange(option) {
17682
- var _fetchcustomercartQue80;
17721
+ var _fetchcustomercartQue82;
17683
17722
  cartinfoupdater('cityid', option.id);
17684
- if ((fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue80 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue80 === void 0 || (_fetchcustomercartQue80 = _fetchcustomercartQue80.data) === null || _fetchcustomercartQue80 === void 0 || (_fetchcustomercartQue80 = _fetchcustomercartQue80.customercart) === null || _fetchcustomercartQue80 === void 0 ? void 0 : _fetchcustomercartQue80.zonenotes) != null) {
17723
+ if ((fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue82 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue82 === void 0 || (_fetchcustomercartQue82 = _fetchcustomercartQue82.data) === null || _fetchcustomercartQue82 === void 0 || (_fetchcustomercartQue82 = _fetchcustomercartQue82.customercart) === null || _fetchcustomercartQue82 === void 0 ? void 0 : _fetchcustomercartQue82.zonenotes) != null) {
17685
17724
  setshowpopup(true);
17686
17725
  }
17687
17726
  },
@@ -17700,7 +17739,7 @@ var Checkout = function Checkout(props) {
17700
17739
  }, "*")), /*#__PURE__*/React__default["default"].createElement(TextareaAutosize__default["default"], {
17701
17740
  type: 'text',
17702
17741
  className: "".concat(formstyles.form_control, " ").concat(checkoutstyles.form_control),
17703
- value: fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue81 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue81 === void 0 || (_fetchcustomercartQue81 = _fetchcustomercartQue81.data) === null || _fetchcustomercartQue81 === void 0 ? void 0 : _fetchcustomercartQue81.customercart.address,
17742
+ value: fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue83 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue83 === void 0 || (_fetchcustomercartQue83 = _fetchcustomercartQue83.data) === null || _fetchcustomercartQue83 === void 0 ? void 0 : _fetchcustomercartQue83.customercart.address,
17704
17743
  onChange: function onChange(event) {
17705
17744
  cartinfoupdater('address', event.target.value);
17706
17745
  },
@@ -17715,7 +17754,7 @@ var Checkout = function Checkout(props) {
17715
17754
  }, langdetect == 'en' ? sectionproperties.notesinen : sectionproperties.notesinar), /*#__PURE__*/React__default["default"].createElement(TextareaAutosize__default["default"], {
17716
17755
  type: 'text',
17717
17756
  className: "".concat(formstyles.form_control, " ").concat(checkoutstyles.form_control),
17718
- value: fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue82 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue82 === void 0 || (_fetchcustomercartQue82 = _fetchcustomercartQue82.data) === null || _fetchcustomercartQue82 === void 0 ? void 0 : _fetchcustomercartQue82.customercart.notes,
17757
+ value: fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue84 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue84 === void 0 || (_fetchcustomercartQue84 = _fetchcustomercartQue84.data) === null || _fetchcustomercartQue84 === void 0 ? void 0 : _fetchcustomercartQue84.customercart.notes,
17719
17758
  onChange: function onChange(event) {
17720
17759
  cartinfoupdater('notes', event.target.value);
17721
17760
  },
@@ -17730,7 +17769,7 @@ var Checkout = function Checkout(props) {
17730
17769
  }, langdetect == 'en' ? 'Affiliate code' : 'رمز المسوق'), /*#__PURE__*/React__default["default"].createElement("input", {
17731
17770
  type: 'number',
17732
17771
  className: "".concat(formstyles.form_control, " ").concat(checkoutstyles.form_control),
17733
- value: fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue83 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue83 === void 0 || (_fetchcustomercartQue83 = _fetchcustomercartQue83.data) === null || _fetchcustomercartQue83 === void 0 || (_fetchcustomercartQue83 = _fetchcustomercartQue83.customercart) === null || _fetchcustomercartQue83 === void 0 ? void 0 : _fetchcustomercartQue83.aff_code,
17772
+ value: fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue85 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue85 === void 0 || (_fetchcustomercartQue85 = _fetchcustomercartQue85.data) === null || _fetchcustomercartQue85 === void 0 || (_fetchcustomercartQue85 = _fetchcustomercartQue85.customercart) === null || _fetchcustomercartQue85 === void 0 ? void 0 : _fetchcustomercartQue85.aff_code,
17734
17773
  onChange: function onChange(event) {
17735
17774
  cartinfoupdater('aff_code', event.target.value);
17736
17775
  },
@@ -17764,7 +17803,7 @@ var Checkout = function Checkout(props) {
17764
17803
  onChange: function onChange(event) {
17765
17804
  cartinfoupdater('shippingmethod_id', event.target.value);
17766
17805
  },
17767
- value: fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue84 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue84 === void 0 || (_fetchcustomercartQue84 = _fetchcustomercartQue84.data) === null || _fetchcustomercartQue84 === void 0 || (_fetchcustomercartQue84 = _fetchcustomercartQue84.customercart) === null || _fetchcustomercartQue84 === void 0 ? void 0 : _fetchcustomercartQue84.shippingmethod_id
17806
+ value: fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue86 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue86 === void 0 || (_fetchcustomercartQue86 = _fetchcustomercartQue86.data) === null || _fetchcustomercartQue86 === void 0 || (_fetchcustomercartQue86 = _fetchcustomercartQue86.customercart) === null || _fetchcustomercartQue86 === void 0 ? void 0 : _fetchcustomercartQue86.shippingmethod_id
17768
17807
  }, /*#__PURE__*/React__default["default"].createElement("option", {
17769
17808
  value: null
17770
17809
  }, langdetect == 'en' ? 'Choose Shipping Method' : 'الشحن اخنر طريقة'), shippingmethods === null || shippingmethods === void 0 ? void 0 : shippingmethods.map(function (item, index) {
@@ -18059,10 +18098,10 @@ var Checkout = function Checkout(props) {
18059
18098
  id: 'codcheckbox',
18060
18099
  type: "checkbox",
18061
18100
  className: checkoutstyles.checkboxinputstyles + ' mt-auto mb-auto ',
18062
- checked: (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue85 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue85 === void 0 || (_fetchcustomercartQue85 = _fetchcustomercartQue85.data) === null || _fetchcustomercartQue85 === void 0 ? void 0 : _fetchcustomercartQue85.customercart.paymentmethod) == 'cod' ? true : false,
18101
+ checked: (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue87 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue87 === void 0 || (_fetchcustomercartQue87 = _fetchcustomercartQue87.data) === null || _fetchcustomercartQue87 === void 0 ? void 0 : _fetchcustomercartQue87.customercart.paymentmethod) == 'cod' ? true : false,
18063
18102
  onChange: function onChange() {
18064
- var _fetchcustomercartQue86;
18065
- if ((fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue86 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue86 === void 0 || (_fetchcustomercartQue86 = _fetchcustomercartQue86.data) === null || _fetchcustomercartQue86 === void 0 ? void 0 : _fetchcustomercartQue86.customercart.paymentmethod) != 'cod') {
18103
+ var _fetchcustomercartQue88;
18104
+ if ((fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue88 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue88 === void 0 || (_fetchcustomercartQue88 = _fetchcustomercartQue88.data) === null || _fetchcustomercartQue88 === void 0 ? void 0 : _fetchcustomercartQue88.customercart.paymentmethod) != 'cod') {
18066
18105
  cartinfoupdater('paymentmethod', 'cod');
18067
18106
  setinstapaychosen(false);
18068
18107
  setcashchosen(true);
@@ -18105,10 +18144,10 @@ var Checkout = function Checkout(props) {
18105
18144
  id: 'codcheckbox',
18106
18145
  type: "checkbox",
18107
18146
  className: checkoutstyles.checkboxinputstyles + ' mt-auto mb-auto ',
18108
- checked: (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue87 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue87 === void 0 || (_fetchcustomercartQue87 = _fetchcustomercartQue87.data) === null || _fetchcustomercartQue87 === void 0 ? void 0 : _fetchcustomercartQue87.customercart.paymentmethod) == 'instapay' ? true : false,
18147
+ checked: (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue89 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue89 === void 0 || (_fetchcustomercartQue89 = _fetchcustomercartQue89.data) === null || _fetchcustomercartQue89 === void 0 ? void 0 : _fetchcustomercartQue89.customercart.paymentmethod) == 'instapay' ? true : false,
18109
18148
  onChange: function onChange() {
18110
- var _fetchcustomercartQue88;
18111
- if ((fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue88 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue88 === void 0 || (_fetchcustomercartQue88 = _fetchcustomercartQue88.data) === null || _fetchcustomercartQue88 === void 0 ? void 0 : _fetchcustomercartQue88.customercart.paymentmethod) != 'instapay') {
18149
+ var _fetchcustomercartQue90;
18150
+ if ((fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue90 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue90 === void 0 || (_fetchcustomercartQue90 = _fetchcustomercartQue90.data) === null || _fetchcustomercartQue90 === void 0 ? void 0 : _fetchcustomercartQue90.customercart.paymentmethod) != 'instapay') {
18112
18151
  cartinfoupdater('paymentmethod', 'instapay');
18113
18152
  setinstapaychosen(true);
18114
18153
  // alert('1');
@@ -18136,10 +18175,10 @@ var Checkout = function Checkout(props) {
18136
18175
  }, /*#__PURE__*/React__default["default"].createElement("input", {
18137
18176
  type: "checkbox",
18138
18177
  className: checkoutstyles.checkboxinputstyles + ' mt-auto mb-auto ',
18139
- checked: (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue89 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue89 === void 0 || (_fetchcustomercartQue89 = _fetchcustomercartQue89.data) === null || _fetchcustomercartQue89 === void 0 ? void 0 : _fetchcustomercartQue89.customercart.paymentmethod) == 'cardondelivery' ? true : false,
18178
+ checked: (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue91 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue91 === void 0 || (_fetchcustomercartQue91 = _fetchcustomercartQue91.data) === null || _fetchcustomercartQue91 === void 0 ? void 0 : _fetchcustomercartQue91.customercart.paymentmethod) == 'cardondelivery' ? true : false,
18140
18179
  onChange: function onChange() {
18141
- var _fetchcustomercartQue90;
18142
- if ((fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue90 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue90 === void 0 || (_fetchcustomercartQue90 = _fetchcustomercartQue90.data) === null || _fetchcustomercartQue90 === void 0 ? void 0 : _fetchcustomercartQue90.customercart.paymentmethod) != 'cardondelivery') {
18180
+ var _fetchcustomercartQue92;
18181
+ if ((fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue92 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue92 === void 0 || (_fetchcustomercartQue92 = _fetchcustomercartQue92.data) === null || _fetchcustomercartQue92 === void 0 ? void 0 : _fetchcustomercartQue92.customercart.paymentmethod) != 'cardondelivery') {
18143
18182
  cartinfoupdater('paymentmethod', 'cardondelivery');
18144
18183
  setinstapaychosen(false);
18145
18184
  setcashchosen(false);
@@ -18170,10 +18209,10 @@ var Checkout = function Checkout(props) {
18170
18209
  }, /*#__PURE__*/React__default["default"].createElement("input", {
18171
18210
  type: "checkbox",
18172
18211
  className: checkoutstyles.checkboxinputstyles + ' mt-auto mb-auto ',
18173
- checked: (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue91 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue91 === void 0 || (_fetchcustomercartQue91 = _fetchcustomercartQue91.data) === null || _fetchcustomercartQue91 === void 0 ? void 0 : _fetchcustomercartQue91.customercart.paymentmethod) == 'onlinepayment' ? true : false,
18212
+ checked: (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue93 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue93 === void 0 || (_fetchcustomercartQue93 = _fetchcustomercartQue93.data) === null || _fetchcustomercartQue93 === void 0 ? void 0 : _fetchcustomercartQue93.customercart.paymentmethod) == 'onlinepayment' ? true : false,
18174
18213
  onChange: function onChange() {
18175
- var _fetchcustomercartQue92;
18176
- if ((fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue92 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue92 === void 0 || (_fetchcustomercartQue92 = _fetchcustomercartQue92.data) === null || _fetchcustomercartQue92 === void 0 ? void 0 : _fetchcustomercartQue92.customercart.paymentmethod) != 'onlinepayment') {
18214
+ var _fetchcustomercartQue94;
18215
+ if ((fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue94 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue94 === void 0 || (_fetchcustomercartQue94 = _fetchcustomercartQue94.data) === null || _fetchcustomercartQue94 === void 0 ? void 0 : _fetchcustomercartQue94.customercart.paymentmethod) != 'onlinepayment') {
18177
18216
  cartinfoupdater('paymentmethod', 'onlinepayment');
18178
18217
  setinstapaychosen(false);
18179
18218
  setcashchosen(false);
@@ -18203,10 +18242,10 @@ var Checkout = function Checkout(props) {
18203
18242
  }, /*#__PURE__*/React__default["default"].createElement("input", {
18204
18243
  type: "checkbox",
18205
18244
  className: checkoutstyles.checkboxinputstyles + ' mt-auto mb-auto ',
18206
- checked: (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue93 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue93 === void 0 || (_fetchcustomercartQue93 = _fetchcustomercartQue93.data) === null || _fetchcustomercartQue93 === void 0 ? void 0 : _fetchcustomercartQue93.customercart.paymentmethod) == 'valU' ? true : false,
18245
+ checked: (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue95 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue95 === void 0 || (_fetchcustomercartQue95 = _fetchcustomercartQue95.data) === null || _fetchcustomercartQue95 === void 0 ? void 0 : _fetchcustomercartQue95.customercart.paymentmethod) == 'valU' ? true : false,
18207
18246
  onChange: function onChange() {
18208
- var _fetchcustomercartQue94;
18209
- if ((fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue94 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue94 === void 0 || (_fetchcustomercartQue94 = _fetchcustomercartQue94.data) === null || _fetchcustomercartQue94 === void 0 ? void 0 : _fetchcustomercartQue94.customercart.paymentmethod) != 'valU') {
18247
+ var _fetchcustomercartQue96;
18248
+ if ((fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue96 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue96 === void 0 || (_fetchcustomercartQue96 = _fetchcustomercartQue96.data) === null || _fetchcustomercartQue96 === void 0 ? void 0 : _fetchcustomercartQue96.customercart.paymentmethod) != 'valU') {
18210
18249
  cartinfoupdater('paymentmethod', 'valU');
18211
18250
  setinstapaychosen(false);
18212
18251
  }
@@ -18225,10 +18264,10 @@ var Checkout = function Checkout(props) {
18225
18264
  }, /*#__PURE__*/React__default["default"].createElement("input", {
18226
18265
  type: "checkbox",
18227
18266
  className: checkoutstyles.checkboxinputstyles + ' mt-auto mb-auto ',
18228
- checked: (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue95 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue95 === void 0 || (_fetchcustomercartQue95 = _fetchcustomercartQue95.data) === null || _fetchcustomercartQue95 === void 0 ? void 0 : _fetchcustomercartQue95.customercart.paymentmethod) == 'Mylo' ? true : false,
18267
+ checked: (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue97 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue97 === void 0 || (_fetchcustomercartQue97 = _fetchcustomercartQue97.data) === null || _fetchcustomercartQue97 === void 0 ? void 0 : _fetchcustomercartQue97.customercart.paymentmethod) == 'Mylo' ? true : false,
18229
18268
  onChange: function onChange() {
18230
- var _fetchcustomercartQue96;
18231
- if ((fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue96 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue96 === void 0 || (_fetchcustomercartQue96 = _fetchcustomercartQue96.data) === null || _fetchcustomercartQue96 === void 0 ? void 0 : _fetchcustomercartQue96.customercart.paymentmethod) != 'Mylo') {
18269
+ var _fetchcustomercartQue98;
18270
+ if ((fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue98 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue98 === void 0 || (_fetchcustomercartQue98 = _fetchcustomercartQue98.data) === null || _fetchcustomercartQue98 === void 0 ? void 0 : _fetchcustomercartQue98.customercart.paymentmethod) != 'Mylo') {
18232
18271
  cartinfoupdater('paymentmethod', 'Mylo');
18233
18272
  setinstapaychosen(false);
18234
18273
  }
@@ -18247,10 +18286,10 @@ var Checkout = function Checkout(props) {
18247
18286
  }, /*#__PURE__*/React__default["default"].createElement("input", {
18248
18287
  type: "checkbox",
18249
18288
  className: checkoutstyles.checkboxinputstyles + ' mt-auto mb-auto ',
18250
- checked: (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue97 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue97 === void 0 || (_fetchcustomercartQue97 = _fetchcustomercartQue97.data) === null || _fetchcustomercartQue97 === void 0 ? void 0 : _fetchcustomercartQue97.customercart.paymentmethod) == 'mobilewallet' ? true : false,
18289
+ checked: (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue99 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue99 === void 0 || (_fetchcustomercartQue99 = _fetchcustomercartQue99.data) === null || _fetchcustomercartQue99 === void 0 ? void 0 : _fetchcustomercartQue99.customercart.paymentmethod) == 'mobilewallet' ? true : false,
18251
18290
  onChange: function onChange() {
18252
- var _fetchcustomercartQue98;
18253
- if ((fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue98 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue98 === void 0 || (_fetchcustomercartQue98 = _fetchcustomercartQue98.data) === null || _fetchcustomercartQue98 === void 0 ? void 0 : _fetchcustomercartQue98.customercart.paymentmethod) != 'mobilewallet') {
18291
+ var _fetchcustomercartQue100;
18292
+ if ((fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue100 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue100 === void 0 || (_fetchcustomercartQue100 = _fetchcustomercartQue100.data) === null || _fetchcustomercartQue100 === void 0 ? void 0 : _fetchcustomercartQue100.customercart.paymentmethod) != 'mobilewallet') {
18254
18293
  cartinfoupdater('paymentmethod', 'mobilewallet');
18255
18294
  setinstapaychosen(false);
18256
18295
  }
@@ -18269,10 +18308,10 @@ var Checkout = function Checkout(props) {
18269
18308
  }, /*#__PURE__*/React__default["default"].createElement("input", {
18270
18309
  type: "checkbox",
18271
18310
  className: checkoutstyles.checkboxinputstyles + ' mt-auto mb-auto ',
18272
- checked: (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue99 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue99 === void 0 || (_fetchcustomercartQue99 = _fetchcustomercartQue99.data) === null || _fetchcustomercartQue99 === void 0 || (_fetchcustomercartQue99 = _fetchcustomercartQue99.customercart) === null || _fetchcustomercartQue99 === void 0 ? void 0 : _fetchcustomercartQue99.paymentmethod) == 'forsa' ? true : false,
18311
+ checked: (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue101 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue101 === void 0 || (_fetchcustomercartQue101 = _fetchcustomercartQue101.data) === null || _fetchcustomercartQue101 === void 0 || (_fetchcustomercartQue101 = _fetchcustomercartQue101.customercart) === null || _fetchcustomercartQue101 === void 0 ? void 0 : _fetchcustomercartQue101.paymentmethod) == 'forsa' ? true : false,
18273
18312
  onChange: function onChange() {
18274
- var _fetchcustomercartQue100;
18275
- if ((fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue100 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue100 === void 0 || (_fetchcustomercartQue100 = _fetchcustomercartQue100.data) === null || _fetchcustomercartQue100 === void 0 || (_fetchcustomercartQue100 = _fetchcustomercartQue100.customercart) === null || _fetchcustomercartQue100 === void 0 ? void 0 : _fetchcustomercartQue100.paymentmethod) != 'forsa') {
18313
+ var _fetchcustomercartQue102;
18314
+ if ((fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue102 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue102 === void 0 || (_fetchcustomercartQue102 = _fetchcustomercartQue102.data) === null || _fetchcustomercartQue102 === void 0 || (_fetchcustomercartQue102 = _fetchcustomercartQue102.customercart) === null || _fetchcustomercartQue102 === void 0 ? void 0 : _fetchcustomercartQue102.paymentmethod) != 'forsa') {
18276
18315
  cartinfoupdater('paymentmethod', 'forsa');
18277
18316
  setinstapaychosen(false);
18278
18317
  }
@@ -18291,10 +18330,10 @@ var Checkout = function Checkout(props) {
18291
18330
  }, /*#__PURE__*/React__default["default"].createElement("input", {
18292
18331
  type: "checkbox",
18293
18332
  className: checkoutstyles.checkboxinputstyles + ' mt-auto mb-auto ',
18294
- checked: (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue101 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue101 === void 0 || (_fetchcustomercartQue101 = _fetchcustomercartQue101.data) === null || _fetchcustomercartQue101 === void 0 || (_fetchcustomercartQue101 = _fetchcustomercartQue101.customercart) === null || _fetchcustomercartQue101 === void 0 ? void 0 : _fetchcustomercartQue101.paymentmethod) == 'Souhoola' ? true : false,
18333
+ checked: (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue103 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue103 === void 0 || (_fetchcustomercartQue103 = _fetchcustomercartQue103.data) === null || _fetchcustomercartQue103 === void 0 || (_fetchcustomercartQue103 = _fetchcustomercartQue103.customercart) === null || _fetchcustomercartQue103 === void 0 ? void 0 : _fetchcustomercartQue103.paymentmethod) == 'Souhoola' ? true : false,
18295
18334
  onChange: function onChange() {
18296
- var _fetchcustomercartQue102;
18297
- if ((fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue102 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue102 === void 0 || (_fetchcustomercartQue102 = _fetchcustomercartQue102.data) === null || _fetchcustomercartQue102 === void 0 || (_fetchcustomercartQue102 = _fetchcustomercartQue102.customercart) === null || _fetchcustomercartQue102 === void 0 ? void 0 : _fetchcustomercartQue102.paymentmethod) != 'Souhoola') {
18335
+ var _fetchcustomercartQue104;
18336
+ if ((fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue104 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue104 === void 0 || (_fetchcustomercartQue104 = _fetchcustomercartQue104.data) === null || _fetchcustomercartQue104 === void 0 || (_fetchcustomercartQue104 = _fetchcustomercartQue104.customercart) === null || _fetchcustomercartQue104 === void 0 ? void 0 : _fetchcustomercartQue104.paymentmethod) != 'Souhoola') {
18298
18337
  cartinfoupdater('paymentmethod', 'Souhoola');
18299
18338
  setinstapaychosen(false);
18300
18339
  }
@@ -18313,10 +18352,10 @@ var Checkout = function Checkout(props) {
18313
18352
  }, /*#__PURE__*/React__default["default"].createElement("input", {
18314
18353
  type: "checkbox",
18315
18354
  className: checkoutstyles.checkboxinputstyles + ' mt-auto mb-auto ',
18316
- checked: (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue103 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue103 === void 0 || (_fetchcustomercartQue103 = _fetchcustomercartQue103.data) === null || _fetchcustomercartQue103 === void 0 || (_fetchcustomercartQue103 = _fetchcustomercartQue103.customercart) === null || _fetchcustomercartQue103 === void 0 ? void 0 : _fetchcustomercartQue103.paymentmethod) == 'paypal' ? true : false,
18355
+ checked: (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue105 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue105 === void 0 || (_fetchcustomercartQue105 = _fetchcustomercartQue105.data) === null || _fetchcustomercartQue105 === void 0 || (_fetchcustomercartQue105 = _fetchcustomercartQue105.customercart) === null || _fetchcustomercartQue105 === void 0 ? void 0 : _fetchcustomercartQue105.paymentmethod) == 'paypal' ? true : false,
18317
18356
  onChange: function onChange() {
18318
- var _fetchcustomercartQue104;
18319
- if ((fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue104 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue104 === void 0 || (_fetchcustomercartQue104 = _fetchcustomercartQue104.data) === null || _fetchcustomercartQue104 === void 0 || (_fetchcustomercartQue104 = _fetchcustomercartQue104.customercart) === null || _fetchcustomercartQue104 === void 0 ? void 0 : _fetchcustomercartQue104.paymentmethod) != 'paypal') {
18357
+ var _fetchcustomercartQue106;
18358
+ if ((fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue106 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue106 === void 0 || (_fetchcustomercartQue106 = _fetchcustomercartQue106.data) === null || _fetchcustomercartQue106 === void 0 || (_fetchcustomercartQue106 = _fetchcustomercartQue106.customercart) === null || _fetchcustomercartQue106 === void 0 ? void 0 : _fetchcustomercartQue106.paymentmethod) != 'paypal') {
18320
18359
  cartinfoupdater('paymentmethod', 'paypal');
18321
18360
  setinstapaychosen(false);
18322
18361
  }
@@ -18335,10 +18374,10 @@ var Checkout = function Checkout(props) {
18335
18374
  }, /*#__PURE__*/React__default["default"].createElement("input", {
18336
18375
  type: "checkbox",
18337
18376
  className: checkoutstyles.checkboxinputstyles + ' mt-auto mb-auto ',
18338
- checked: (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue105 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue105 === void 0 || (_fetchcustomercartQue105 = _fetchcustomercartQue105.data) === null || _fetchcustomercartQue105 === void 0 || (_fetchcustomercartQue105 = _fetchcustomercartQue105.customercart) === null || _fetchcustomercartQue105 === void 0 ? void 0 : _fetchcustomercartQue105.paymentmethod) == 'bankinstallments' ? true : false,
18377
+ checked: (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue107 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue107 === void 0 || (_fetchcustomercartQue107 = _fetchcustomercartQue107.data) === null || _fetchcustomercartQue107 === void 0 || (_fetchcustomercartQue107 = _fetchcustomercartQue107.customercart) === null || _fetchcustomercartQue107 === void 0 ? void 0 : _fetchcustomercartQue107.paymentmethod) == 'bankinstallments' ? true : false,
18339
18378
  onChange: function onChange() {
18340
- var _fetchcustomercartQue106;
18341
- if ((fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue106 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue106 === void 0 || (_fetchcustomercartQue106 = _fetchcustomercartQue106.data) === null || _fetchcustomercartQue106 === void 0 || (_fetchcustomercartQue106 = _fetchcustomercartQue106.customercart) === null || _fetchcustomercartQue106 === void 0 ? void 0 : _fetchcustomercartQue106.paymentmethod) != 'bankinstallments') {
18379
+ var _fetchcustomercartQue108;
18380
+ if ((fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue108 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue108 === void 0 || (_fetchcustomercartQue108 = _fetchcustomercartQue108.data) === null || _fetchcustomercartQue108 === void 0 || (_fetchcustomercartQue108 = _fetchcustomercartQue108.customercart) === null || _fetchcustomercartQue108 === void 0 ? void 0 : _fetchcustomercartQue108.paymentmethod) != 'bankinstallments') {
18342
18381
  cartinfoupdater('paymentmethod', 'bankinstallments');
18343
18382
  setinstapaychosen(false);
18344
18383
  }
@@ -18357,10 +18396,10 @@ var Checkout = function Checkout(props) {
18357
18396
  }, /*#__PURE__*/React__default["default"].createElement("input", {
18358
18397
  type: "checkbox",
18359
18398
  className: checkoutstyles.checkboxinputstyles + ' mt-auto mb-auto ',
18360
- checked: (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue107 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue107 === void 0 || (_fetchcustomercartQue107 = _fetchcustomercartQue107.data) === null || _fetchcustomercartQue107 === void 0 || (_fetchcustomercartQue107 = _fetchcustomercartQue107.customercart) === null || _fetchcustomercartQue107 === void 0 ? void 0 : _fetchcustomercartQue107.paymentmethod) == 'Aman' ? true : false,
18399
+ checked: (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue109 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue109 === void 0 || (_fetchcustomercartQue109 = _fetchcustomercartQue109.data) === null || _fetchcustomercartQue109 === void 0 || (_fetchcustomercartQue109 = _fetchcustomercartQue109.customercart) === null || _fetchcustomercartQue109 === void 0 ? void 0 : _fetchcustomercartQue109.paymentmethod) == 'Aman' ? true : false,
18361
18400
  onChange: function onChange() {
18362
- var _fetchcustomercartQue108;
18363
- if ((fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue108 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue108 === void 0 || (_fetchcustomercartQue108 = _fetchcustomercartQue108.data) === null || _fetchcustomercartQue108 === void 0 || (_fetchcustomercartQue108 = _fetchcustomercartQue108.customercart) === null || _fetchcustomercartQue108 === void 0 ? void 0 : _fetchcustomercartQue108.paymentmethod) != 'Aman') {
18401
+ var _fetchcustomercartQue110;
18402
+ if ((fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue110 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue110 === void 0 || (_fetchcustomercartQue110 = _fetchcustomercartQue110.data) === null || _fetchcustomercartQue110 === void 0 || (_fetchcustomercartQue110 = _fetchcustomercartQue110.customercart) === null || _fetchcustomercartQue110 === void 0 ? void 0 : _fetchcustomercartQue110.paymentmethod) != 'Aman') {
18364
18403
  cartinfoupdater('paymentmethod', 'Aman');
18365
18404
  setinstapaychosen(false);
18366
18405
  }
@@ -18379,10 +18418,10 @@ var Checkout = function Checkout(props) {
18379
18418
  }, /*#__PURE__*/React__default["default"].createElement("input", {
18380
18419
  type: "checkbox",
18381
18420
  className: checkoutstyles.checkboxinputstyles + ' mt-auto mb-auto ',
18382
- checked: (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue109 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue109 === void 0 || (_fetchcustomercartQue109 = _fetchcustomercartQue109.data) === null || _fetchcustomercartQue109 === void 0 || (_fetchcustomercartQue109 = _fetchcustomercartQue109.customercart) === null || _fetchcustomercartQue109 === void 0 ? void 0 : _fetchcustomercartQue109.paymentmethod) == 'Tamara' ? true : false,
18421
+ checked: (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue111 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue111 === void 0 || (_fetchcustomercartQue111 = _fetchcustomercartQue111.data) === null || _fetchcustomercartQue111 === void 0 || (_fetchcustomercartQue111 = _fetchcustomercartQue111.customercart) === null || _fetchcustomercartQue111 === void 0 ? void 0 : _fetchcustomercartQue111.paymentmethod) == 'Tamara' ? true : false,
18383
18422
  onChange: function onChange() {
18384
- var _fetchcustomercartQue110;
18385
- if ((fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue110 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue110 === void 0 || (_fetchcustomercartQue110 = _fetchcustomercartQue110.data) === null || _fetchcustomercartQue110 === void 0 || (_fetchcustomercartQue110 = _fetchcustomercartQue110.customercart) === null || _fetchcustomercartQue110 === void 0 ? void 0 : _fetchcustomercartQue110.paymentmethod) != 'Tamara') {
18423
+ var _fetchcustomercartQue112;
18424
+ if ((fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue112 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue112 === void 0 || (_fetchcustomercartQue112 = _fetchcustomercartQue112.data) === null || _fetchcustomercartQue112 === void 0 || (_fetchcustomercartQue112 = _fetchcustomercartQue112.customercart) === null || _fetchcustomercartQue112 === void 0 ? void 0 : _fetchcustomercartQue112.paymentmethod) != 'Tamara') {
18386
18425
  cartinfoupdater('paymentmethod', 'Tamara');
18387
18426
  setinstapaychosen(false);
18388
18427
  }
@@ -18401,10 +18440,10 @@ var Checkout = function Checkout(props) {
18401
18440
  }, /*#__PURE__*/React__default["default"].createElement("input", {
18402
18441
  type: "checkbox",
18403
18442
  className: checkoutstyles.checkboxinputstyles + ' mt-auto mb-auto ',
18404
- checked: (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue111 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue111 === void 0 || (_fetchcustomercartQue111 = _fetchcustomercartQue111.data) === null || _fetchcustomercartQue111 === void 0 ? void 0 : _fetchcustomercartQue111.customercart.paymentmethod) == 'Tabby' ? true : false,
18443
+ checked: (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue113 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue113 === void 0 || (_fetchcustomercartQue113 = _fetchcustomercartQue113.data) === null || _fetchcustomercartQue113 === void 0 ? void 0 : _fetchcustomercartQue113.customercart.paymentmethod) == 'Tabby' ? true : false,
18405
18444
  onChange: function onChange() {
18406
- var _fetchcustomercartQue112;
18407
- if ((fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue112 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue112 === void 0 || (_fetchcustomercartQue112 = _fetchcustomercartQue112.data) === null || _fetchcustomercartQue112 === void 0 ? void 0 : _fetchcustomercartQue112.customercart.paymentmethod) != 'Tabby') {
18445
+ var _fetchcustomercartQue114;
18446
+ if ((fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue114 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue114 === void 0 || (_fetchcustomercartQue114 = _fetchcustomercartQue114.data) === null || _fetchcustomercartQue114 === void 0 ? void 0 : _fetchcustomercartQue114.customercart.paymentmethod) != 'Tabby') {
18408
18447
  cartinfoupdater('paymentmethod', 'Tabby');
18409
18448
  setinstapaychosen(false);
18410
18449
  }
@@ -18442,7 +18481,7 @@ var Checkout = function Checkout(props) {
18442
18481
  color: '#000'
18443
18482
  }
18444
18483
  // dangerouslySetInnerHTML={{ __html: langdetect == 'en' ? sectionproperties.instapayoptioncontenten : sectionproperties.instapayoptioncontentar }}
18445
- }, langdetect == 'en' ? 'To confirm your order, please transfer a 30% deposit of the order value to [number].' : 'لتأكيد الطلب برجاء تحويل 30% deposit من قيمه الطلب على الرقم'))))), (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue113 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue113 === void 0 || (_fetchcustomercartQue113 = _fetchcustomercartQue113.data) === null || _fetchcustomercartQue113 === void 0 ? void 0 : _fetchcustomercartQue113.customercart.paymentmethod) == 'onlinepayment1' && /*#__PURE__*/React__default["default"].createElement("div", {
18484
+ }, langdetect == 'en' ? 'To confirm your order, please transfer a 30% deposit of the order value to [number].' : 'لتأكيد الطلب برجاء تحويل 30% deposit من قيمه الطلب على الرقم'))))), (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue115 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue115 === void 0 || (_fetchcustomercartQue115 = _fetchcustomercartQue115.data) === null || _fetchcustomercartQue115 === void 0 ? void 0 : _fetchcustomercartQue115.customercart.paymentmethod) == 'onlinepayment1' && /*#__PURE__*/React__default["default"].createElement("div", {
18446
18485
  className: "col-lg-12 p-0 w-100 mb-3"
18447
18486
  }, /*#__PURE__*/React__default["default"].createElement("div", {
18448
18487
  style: {
@@ -18582,7 +18621,7 @@ var Checkout = function Checkout(props) {
18582
18621
  color: '#000',
18583
18622
  textAlign: 'center'
18584
18623
  }
18585
- }, fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue114 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue114 === void 0 || (_fetchcustomercartQue114 = _fetchcustomercartQue114.data) === null || _fetchcustomercartQue114 === void 0 || (_fetchcustomercartQue114 = _fetchcustomercartQue114.customercart) === null || _fetchcustomercartQue114 === void 0 ? void 0 : _fetchcustomercartQue114.zonenotes)))), /*#__PURE__*/React__default["default"].createElement(reactBootstrap.Modal.Footer, null)));
18624
+ }, fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue116 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue116 === void 0 || (_fetchcustomercartQue116 = _fetchcustomercartQue116.data) === null || _fetchcustomercartQue116 === void 0 || (_fetchcustomercartQue116 = _fetchcustomercartQue116.customercart) === null || _fetchcustomercartQue116 === void 0 ? void 0 : _fetchcustomercartQue116.zonenotes)))), /*#__PURE__*/React__default["default"].createElement(reactBootstrap.Modal.Footer, null)));
18586
18625
  };
18587
18626
 
18588
18627
  function ownKeys$2w(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
@@ -21140,7 +21179,7 @@ styleInject(css_248z$E);
21140
21179
  function ownKeys$2q(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
21141
21180
  function _objectSpread$2q(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$2q(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$2q(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
21142
21181
  var CartSlider = function CartSlider(props) {
21143
- var _authdetailsContext$i, _fetchcustomercartQue, _fetchcustomercartQue2, _fetchcustomercartQue3, _fetchcustomercartQue4, _fetchcustomercartQue5, _fetchcustomercartQue6, _fetchcustomercartQue7, _fetchcustomercartQue8, _fetchcustomercartQue1, _fetchcustomercartQue10, _authdetailsContext$i4, _fetchcustomercartQue11, _fetchcustomercartQue12, _fetchcustomercartQue13, _fetchcustomercartQue14, _fetchcustomercartQue15;
21182
+ var _authdetailsContext$i, _fetchcustomercartQue, _fetchcustomercartQue2, _fetchcustomercartQue3, _fetchcustomercartQue4, _fetchcustomercartQue5, _fetchcustomercartQue6, _fetchcustomercartQue7, _fetchcustomercartQue8, _fetchcustomercartQue1, _fetchcustomercartQue10, _authdetailsContext$i4, _fetchcustomercartQue11, _fetchcustomercartQue12, _fetchcustomercartQue13, _fetchcustomercartQue14, _fetchcustomercartQue15, _fetchcustomercartQue16;
21144
21183
  var lang = props.actions.lang;
21145
21184
  var langdetect = props.actions.langdetect;
21146
21185
  var authdetailsContext = props.actions.authdetailsContext;
@@ -21946,7 +21985,13 @@ var CartSlider = function CartSlider(props) {
21946
21985
  textTransform: sectionproperties.total_texttransform,
21947
21986
  color: sectionproperties.total_color
21948
21987
  }
21949
- }, langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', ' ', sectionproperties.removedecimals == 'Without Decimals' ? parseFloat(Number(fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue11 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue11 === void 0 || (_fetchcustomercartQue11 = _fetchcustomercartQue11.data) === null || _fetchcustomercartQue11 === void 0 || (_fetchcustomercartQue11 = _fetchcustomercartQue11.customercart) === null || _fetchcustomercartQue11 === void 0 ? void 0 : _fetchcustomercartQue11.totalprice).toFixed(2)) : sectionproperties.removedecimals == 'Without Decimals and Separated With Comma' ? Math.floor(fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue12 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue12 === void 0 || (_fetchcustomercartQue12 = _fetchcustomercartQue12.data) === null || _fetchcustomercartQue12 === void 0 || (_fetchcustomercartQue12 = _fetchcustomercartQue12.customercart) === null || _fetchcustomercartQue12 === void 0 ? void 0 : _fetchcustomercartQue12.totalprice).toLocaleString() : parseFloat(fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue13 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue13 === void 0 || (_fetchcustomercartQue13 = _fetchcustomercartQue13.data) === null || _fetchcustomercartQue13 === void 0 || (_fetchcustomercartQue13 = _fetchcustomercartQue13.customercart) === null || _fetchcustomercartQue13 === void 0 ? void 0 : _fetchcustomercartQue13.totalprice).toFixed(2), ' ', langdetect == 'en' ? '' : authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar)), sectionproperties.hideshipping == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
21988
+ }, langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', ' ', sectionproperties.removedecimals == 'Without Decimals' ? parseFloat(Number(fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue11 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue11 === void 0 || (_fetchcustomercartQue11 = _fetchcustomercartQue11.data) === null || _fetchcustomercartQue11 === void 0 || (_fetchcustomercartQue11 = _fetchcustomercartQue11.customercart) === null || _fetchcustomercartQue11 === void 0 ? void 0 : _fetchcustomercartQue11.totalprice).toFixed(2)) : sectionproperties.removedecimals == 'Without Decimals and Separated With Comma' ? Number(fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue12 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue12 === void 0 || (_fetchcustomercartQue12 = _fetchcustomercartQue12.data) === null || _fetchcustomercartQue12 === void 0 || (_fetchcustomercartQue12 = _fetchcustomercartQue12.customercart) === null || _fetchcustomercartQue12 === void 0 ? void 0 : _fetchcustomercartQue12.totalprice).toLocaleString('en-US', {
21989
+ minimumFractionDigits: 0,
21990
+ maximumFractionDigits: 2
21991
+ }) : sectionproperties.removedecimals == 'Separated With Comma' ? Number(fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue13 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue13 === void 0 || (_fetchcustomercartQue13 = _fetchcustomercartQue13.data) === null || _fetchcustomercartQue13 === void 0 || (_fetchcustomercartQue13 = _fetchcustomercartQue13.customercart) === null || _fetchcustomercartQue13 === void 0 ? void 0 : _fetchcustomercartQue13.totalprice).toLocaleString('en-US', {
21992
+ minimumFractionDigits: 0,
21993
+ maximumFractionDigits: 2
21994
+ }) : parseFloat(fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue14 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue14 === void 0 || (_fetchcustomercartQue14 = _fetchcustomercartQue14.data) === null || _fetchcustomercartQue14 === void 0 || (_fetchcustomercartQue14 = _fetchcustomercartQue14.customercart) === null || _fetchcustomercartQue14 === void 0 ? void 0 : _fetchcustomercartQue14.totalprice).toFixed(2), ' ', langdetect == 'en' ? '' : authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar)), sectionproperties.hideshipping == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
21950
21995
  "class": "col-lg-12 mt-1 d-flex align-items-center justify-content-start p-0"
21951
21996
  }, /*#__PURE__*/React__default["default"].createElement("p", {
21952
21997
  "class": "m-0 p-0",
@@ -21955,7 +22000,7 @@ var CartSlider = function CartSlider(props) {
21955
22000
  fontSize: '13px',
21956
22001
  fontWeight: 500
21957
22002
  }
21958
- }, langdetect == 'en' ? sectionproperties.general_text_content : sectionproperties.general_text_content_ar)), !AddtoCartMutationContext.isLoading && (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue14 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue14 === void 0 || (_fetchcustomercartQue14 = _fetchcustomercartQue14.data) === null || _fetchcustomercartQue14 === void 0 || (_fetchcustomercartQue14 = _fetchcustomercartQue14.customercart) === null || _fetchcustomercartQue14 === void 0 || (_fetchcustomercartQue14 = _fetchcustomercartQue14.cartitems) === null || _fetchcustomercartQue14 === void 0 ? void 0 : _fetchcustomercartQue14.length) != 0 && /*#__PURE__*/React__default["default"].createElement("div", {
22003
+ }, langdetect == 'en' ? sectionproperties.general_text_content : sectionproperties.general_text_content_ar)), !AddtoCartMutationContext.isLoading && (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue15 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue15 === void 0 || (_fetchcustomercartQue15 = _fetchcustomercartQue15.data) === null || _fetchcustomercartQue15 === void 0 || (_fetchcustomercartQue15 = _fetchcustomercartQue15.customercart) === null || _fetchcustomercartQue15 === void 0 || (_fetchcustomercartQue15 = _fetchcustomercartQue15.cartitems) === null || _fetchcustomercartQue15 === void 0 ? void 0 : _fetchcustomercartQue15.length) != 0 && /*#__PURE__*/React__default["default"].createElement("div", {
21959
22004
  className: "col-lg-12 p-0 mt-4 d-flex flex-column align-items-center justify-content-center"
21960
22005
  }, sectionproperties.cartBtnShow == 'Show' && /*#__PURE__*/React__default["default"].createElement("button", {
21961
22006
  className: " ".concat(cart_cssstyles.cart_btn) + ' mb-2 d-flex align-items-center justify-content-center ',
@@ -21976,7 +22021,7 @@ var CartSlider = function CartSlider(props) {
21976
22021
  t_b: authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.t_b,
21977
22022
  t_m: authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.t_m,
21978
22023
  lang: langdetect,
21979
- amount: fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue15 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue15 === void 0 || (_fetchcustomercartQue15 = _fetchcustomercartQue15.data) === null || _fetchcustomercartQue15 === void 0 || (_fetchcustomercartQue15 = _fetchcustomercartQue15.customercart) === null || _fetchcustomercartQue15 === void 0 ? void 0 : _fetchcustomercartQue15.totalprice,
22024
+ amount: fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue16 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue16 === void 0 || (_fetchcustomercartQue16 = _fetchcustomercartQue16.data) === null || _fetchcustomercartQue16 === void 0 || (_fetchcustomercartQue16 = _fetchcustomercartQue16.customercart) === null || _fetchcustomercartQue16 === void 0 ? void 0 : _fetchcustomercartQue16.totalprice,
21980
22025
  divid: 'cartslider'
21981
22026
  }), /*#__PURE__*/React__default["default"].createElement("button", {
21982
22027
  className: " ".concat(cart_cssstyles.checkoutbtn),
@@ -26706,15 +26751,23 @@ var CardsSection = function CardsSection(props) {
26706
26751
  cardobj.productmainimage = arrayItem.productinfo.productmainimage;
26707
26752
  if (sectionproperties.removedecimals == 'Without Decimals') {
26708
26753
  cardobj.defaultprice = parseFloat(Number(arrayItem.productinfo.defaultprice).toFixed(2));
26709
- } else if (sectionproperties.removedecimals == 'Without Decimals and Separated With Comma') {
26710
- cardobj.defaultprice = Math.floor(arrayItem.productinfo.defaultprice).toLocaleString();
26754
+ } else if (sectionproperties.removedecimals == 'Without Decimals and Separated With Comma' || sectionproperties.removedecimals == 'Separated With Comma') {
26755
+ // cardobj.defaultprice = Math.floor(arrayItem.productinfo.defaultprice).toLocaleString();
26756
+ cardobj.defaultprice = Number(arrayItem.productinfo.defaultprice).toLocaleString('en-US', {
26757
+ minimumFractionDigits: 0,
26758
+ maximumFractionDigits: 2
26759
+ });
26711
26760
  } else {
26712
26761
  cardobj.defaultprice = arrayItem.productinfo.defaultprice;
26713
26762
  }
26714
26763
  if (sectionproperties.removedecimals == 'Without Decimals') {
26715
26764
  cardobj.defaultsaleprice = parseFloat(Number(arrayItem.productinfo.defaultsaleprice).toFixed(2));
26716
- } else if (sectionproperties.removedecimals == 'Without Decimals and Separated With Comma') {
26717
- cardobj.defaultsaleprice = Math.floor(arrayItem.productinfo.defaultsaleprice).toLocaleString();
26765
+ } else if (sectionproperties.removedecimals == 'Without Decimals and Separated With Comma' || sectionproperties.removedecimals == 'Separated With Comma') {
26766
+ // cardobj.defaultsaleprice = Math.floor(arrayItem.productinfo.defaultsaleprice).toLocaleString();
26767
+ cardobj.defaultsaleprice = Number(arrayItem.productinfo.defaultsaleprice).toLocaleString('en-US', {
26768
+ minimumFractionDigits: 0,
26769
+ maximumFractionDigits: 2
26770
+ });
26718
26771
  } else {
26719
26772
  cardobj.defaultsaleprice = arrayItem.productinfo.defaultsaleprice;
26720
26773
  }