tabexseriescomponents 0.2.903 → 0.2.905

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
@@ -13281,7 +13281,7 @@ styleInject(css_248z$G);
13281
13281
  function ownKeys$2t(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; }
13282
13282
  function _objectSpread$2t(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$2t(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$2t(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
13283
13283
  var Checkout = function Checkout(props) {
13284
- var _fetchTabexCountriesQ2, _css, _authdetailsContext$i7, _authdetailsContext$i8, _fetchcustomercartQue65, _authdetailsContext$i9, _fetchcustomercartQue66, _authdetailsContext$i0, _authdetailsContext$i1, _authdetailsContext$i10, _authdetailsContext$i11, _fetchcustomercartQue67, _authdetailsContext$i12, _fetchcustomercartQue73, _fetchcustomercartQue74, _fetchcustomercartQue75, _fetchcustomercartQue76, _fetchcustomercartQue77, _fetchcustomercartQue79, _fetchcustomercartQue81, _fetchcustomercartQue83, _fetchcustomercartQue85, _fetchcustomercartQue87, _authdetailsContext$i13, _fetchcustomercartQue89, _authdetailsContext$i14, _fetchcustomercartQue91, _authdetailsContext$i15, _fetchcustomercartQue93, _authdetailsContext$i16, _fetchcustomercartQue95, _authdetailsContext$i17, _fetchcustomercartQue97, _authdetailsContext$i18, _authdetailsContext$i19, _fetchcustomercartQue99, _fetchcustomercartQue100;
13284
+ var _fetchTabexCountriesQ2, _css, _authdetailsContext$i9, _authdetailsContext$i0, _fetchcustomercartQue66, _authdetailsContext$i1, _fetchcustomercartQue67, _authdetailsContext$i10, _authdetailsContext$i11, _authdetailsContext$i12, _authdetailsContext$i13, _fetchcustomercartQue68, _authdetailsContext$i14, _fetchcustomercartQue74, _fetchcustomercartQue75, _fetchcustomercartQue76, _fetchcustomercartQue77, _fetchcustomercartQue78, _fetchcustomercartQue80, _fetchcustomercartQue82, _fetchcustomercartQue84, _fetchcustomercartQue86, _fetchcustomercartQue88, _authdetailsContext$i15, _fetchcustomercartQue90, _authdetailsContext$i16, _fetchcustomercartQue92, _authdetailsContext$i17, _fetchcustomercartQue94, _authdetailsContext$i18, _fetchcustomercartQue96, _authdetailsContext$i19, _fetchcustomercartQue98, _authdetailsContext$i20, _authdetailsContext$i21, _fetchcustomercartQue100, _fetchcustomercartQue101;
13285
13285
  var _useState = React.useState(null),
13286
13286
  _useState2 = _slicedToArray__default["default"](_useState, 2);
13287
13287
  _useState2[0];
@@ -13819,7 +13819,7 @@ var Checkout = function Checkout(props) {
13819
13819
  return isloading;
13820
13820
  };
13821
13821
  var Mycart = function Mycart() {
13822
- var _fetchcustomercartQue34, _fetchcustomercartQue35, _fetchcustomercartQue36, _fetchcustomercartQue40, _fetchcustomercartQue41, _fetchcustomercartQue42, _fetchcustomercartQue43, _fetchcustomercartQue44, _authdetailsContext$i5, _fetchcustomercartQue45, _fetchcustomercartQue46, _fetchcustomercartQue47, _fetchcustomercartQue48, _fetchcustomercartQue49, _fetchcustomercartQue51, _fetchcustomercartQue52, _fetchcustomercartQue53, _fetchcustomercartQue54, _fetchcustomercartQue55, _fetchcustomercartQue56, _fetchcustomercartQue57, _fetchcustomercartQue58, _fetchcustomercartQue59, _fetchcustomercartQue60, _authdetailsContext$i6, _fetchcustomercartQue61, _fetchcustomercartQue62, _fetchcustomercartQue63, _fetchcustomercartQue64;
13822
+ var _fetchcustomercartQue34, _fetchcustomercartQue35, _fetchcustomercartQue36, _fetchcustomercartQue40, _fetchcustomercartQue41, _fetchcustomercartQue42, _fetchcustomercartQue43, _fetchcustomercartQue44, _authdetailsContext$i5, _fetchcustomercartQue45, _fetchcustomercartQue46, _fetchcustomercartQue47, _fetchcustomercartQue48, _fetchcustomercartQue49, _fetchcustomercartQue51, _fetchcustomercartQue52, _fetchcustomercartQue53, _fetchcustomercartQue54, _fetchcustomercartQue55, _fetchcustomercartQue56, _fetchcustomercartQue57, _fetchcustomercartQue58, _fetchcustomercartQue59, _fetchcustomercartQue60, _authdetailsContext$i6, _fetchcustomercartQue61, _fetchcustomercartQue62, _fetchcustomercartQue63, _authdetailsContext$i7, _fetchcustomercartQue64, _authdetailsContext$i8, _fetchcustomercartQue65;
13823
13823
  return /*#__PURE__*/React__default["default"].createElement("div", {
13824
13824
  className: "row m-0 w-100 mb-md-3"
13825
13825
  }, /*#__PURE__*/React__default["default"].createElement("div", {
@@ -14179,7 +14179,7 @@ var Checkout = function Checkout(props) {
14179
14179
  style: {
14180
14180
  marginTop: sectionproperties.showtotalsection == 'Show' ? 0 : '0.5rem'
14181
14181
  }
14182
- }, /*#__PURE__*/React__default["default"].createElement("button", {
14182
+ }, (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i7 = authdetailsContext.instinfo) === null || _authdetailsContext$i7 === void 0 ? void 0 : _authdetailsContext$i7.contactinfo.instid) != '67e448d2ef6e0' && /*#__PURE__*/React__default["default"].createElement("button", {
14183
14183
  className: " ".concat(checkoutstyles.checkoutbtnstyles) + ' d-flex align-items-center justify-content-center ',
14184
14184
  onClick: function onClick() {
14185
14185
  if (sectionproperties.showpaymentfooter == 'Hide') {
@@ -14193,7 +14193,21 @@ var Checkout = function Checkout(props) {
14193
14193
  width: "20px",
14194
14194
  height: "20px",
14195
14195
  duration: "1s"
14196
- }), !ischeckoutbuttonloading() ? (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue64 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue64 === void 0 || (_fetchcustomercartQue64 = _fetchcustomercartQue64.data) === null || _fetchcustomercartQue64 === void 0 ? void 0 : _fetchcustomercartQue64.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.loggedin == false && sectionproperties.loginbtn_show == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
14196
+ }), !ischeckoutbuttonloading() ? (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue64 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue64 === void 0 || (_fetchcustomercartQue64 = _fetchcustomercartQue64.data) === null || _fetchcustomercartQue64 === void 0 ? void 0 : _fetchcustomercartQue64.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$i8 = authdetailsContext.instinfo) === null || _authdetailsContext$i8 === void 0 ? void 0 : _authdetailsContext$i8.contactinfo.instid) == '67e448d2ef6e0' && /*#__PURE__*/React__default["default"].createElement("button", {
14197
+ className: " ".concat(checkoutstyles.checkoutbtnstyles) + ' d-flex align-items-center justify-content-center ',
14198
+ onClick: function onClick() {
14199
+ if (sectionproperties.showpaymentfooter == 'Hide') {
14200
+ cartinfoupdater('paymentmethod', 'cod');
14201
+ }
14202
+ addorderfuncrunner();
14203
+ },
14204
+ disabled: ischeckoutbuttonloading() == true ? true : false
14205
+ }, ischeckoutbuttonloading() && /*#__PURE__*/React__default["default"].createElement(reactCssfxLoading.CircularProgress, {
14206
+ color: "#fff",
14207
+ width: "20px",
14208
+ height: "20px",
14209
+ duration: "1s"
14210
+ }), !ischeckoutbuttonloading() ? (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue65 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue65 === void 0 || (_fetchcustomercartQue65 = _fetchcustomercartQue65.data) === null || _fetchcustomercartQue65 === void 0 ? void 0 : _fetchcustomercartQue65.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", {
14197
14211
  className: "col-lg-12 d-flex align-items-center justify-content-center mt-4 p-0 mb-2 mt-sm-3",
14198
14212
  style: {
14199
14213
  marginTop: sectionproperties.showtotalsection == 'Show' ? 0 : '0.5rem'
@@ -14290,7 +14304,7 @@ var Checkout = function Checkout(props) {
14290
14304
  }
14291
14305
  }, /*#__PURE__*/React__default["default"].createElement(BiPhone.BiPhone, null)), /*#__PURE__*/React__default["default"].createElement("p", {
14292
14306
  className: "m-0 p-0 wordbreak"
14293
- }, authdetailsContext.customerinfo.mobile))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i7 = authdetailsContext.instinfo) === null || _authdetailsContext$i7 === void 0 ? void 0 : _authdetailsContext$i7.contactinfo.instid) != '6808c6295b598' && /*#__PURE__*/React__default["default"].createElement("div", {
14307
+ }, authdetailsContext.customerinfo.mobile))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i9 = authdetailsContext.instinfo) === null || _authdetailsContext$i9 === void 0 ? void 0 : _authdetailsContext$i9.contactinfo.instid) != '6808c6295b598' && /*#__PURE__*/React__default["default"].createElement("div", {
14294
14308
  className: "".concat(checkoutstyles.userinfotextstyles) + ' col-lg-4 col-md-6 col-sm-12 d-flex align-items-center pl-1 pr-1 '
14295
14309
  }, /*#__PURE__*/React__default["default"].createElement("div", {
14296
14310
  className: "m-0 p-0 d-flex align-items-center"
@@ -14354,13 +14368,13 @@ var Checkout = function Checkout(props) {
14354
14368
  })), /*#__PURE__*/React__default["default"].createElement("div", {
14355
14369
  className: "row m-0 w-100 mb-3 pl-3 pr-3 pb-3"
14356
14370
  }, !authdetailsContext.loggedin && /*#__PURE__*/React__default["default"].createElement(React__default["default"].Fragment, null, /*#__PURE__*/React__default["default"].createElement("div", {
14357
- className: sectionproperties.showemail == 'Hide' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i8 = authdetailsContext.instinfo) === null || _authdetailsContext$i8 === void 0 ? void 0 : _authdetailsContext$i8.customerEmailrequiered) == 0 ? 'col-lg-6 col-md-12 mb-3' : 'col-lg-4 col-md-12 mb-3'
14371
+ className: sectionproperties.showemail == 'Hide' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i0 = authdetailsContext.instinfo) === null || _authdetailsContext$i0 === void 0 ? void 0 : _authdetailsContext$i0.customerEmailrequiered) == 0 ? 'col-lg-6 col-md-12 mb-3' : 'col-lg-4 col-md-12 mb-3'
14358
14372
  }, /*#__PURE__*/React__default["default"].createElement("label", {
14359
14373
  className: "".concat(checkoutstyles.input_label_name) + ' d-flex align-items-start '
14360
14374
  }, lang.name), /*#__PURE__*/React__default["default"].createElement("input", {
14361
14375
  type: 'text',
14362
14376
  className: "".concat(formstyles.form_control, " ").concat(checkoutstyles.form_control),
14363
- value: fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue65 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue65 === void 0 || (_fetchcustomercartQue65 = _fetchcustomercartQue65.data) === null || _fetchcustomercartQue65 === void 0 ? void 0 : _fetchcustomercartQue65.customercart.name,
14377
+ value: fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue66 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue66 === void 0 || (_fetchcustomercartQue66 = _fetchcustomercartQue66.data) === null || _fetchcustomercartQue66 === void 0 ? void 0 : _fetchcustomercartQue66.customercart.name,
14364
14378
  onChange: function onChange(event) {
14365
14379
  cartinfoupdater('name', event.target.value);
14366
14380
  },
@@ -14369,13 +14383,13 @@ var Checkout = function Checkout(props) {
14369
14383
  boxShadow: 'none'
14370
14384
  }
14371
14385
  })), /*#__PURE__*/React__default["default"].createElement("div", {
14372
- className: sectionproperties.showemail == 'Hide' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i9 = authdetailsContext.instinfo) === null || _authdetailsContext$i9 === void 0 ? void 0 : _authdetailsContext$i9.customerEmailrequiered) == 0 ? 'col-lg-6 col-md-12 mb-3' : 'col-lg-4 col-md-12 mb-3'
14386
+ className: sectionproperties.showemail == 'Hide' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i1 = authdetailsContext.instinfo) === null || _authdetailsContext$i1 === void 0 ? void 0 : _authdetailsContext$i1.customerEmailrequiered) == 0 ? 'col-lg-6 col-md-12 mb-3' : 'col-lg-4 col-md-12 mb-3'
14373
14387
  }, /*#__PURE__*/React__default["default"].createElement("label", {
14374
14388
  className: "".concat(checkoutstyles.input_label_name) + ' d-flex align-items-start '
14375
14389
  }, langdetect == 'en' ? 'Phone Number' : 'رقم الهاتف'), /*#__PURE__*/React__default["default"].createElement("input", {
14376
14390
  type: 'text',
14377
14391
  className: "".concat(formstyles.form_control, " ").concat(checkoutstyles.form_control),
14378
- value: fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue66 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue66 === void 0 || (_fetchcustomercartQue66 = _fetchcustomercartQue66.data) === null || _fetchcustomercartQue66 === void 0 ? void 0 : _fetchcustomercartQue66.customercart.mobile,
14392
+ value: fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue67 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue67 === void 0 || (_fetchcustomercartQue67 = _fetchcustomercartQue67.data) === null || _fetchcustomercartQue67 === void 0 ? void 0 : _fetchcustomercartQue67.customercart.mobile,
14379
14393
  onChange: function onChange(event) {
14380
14394
  cartinfoupdater('mobile', event.target.value);
14381
14395
  },
@@ -14386,11 +14400,11 @@ var Checkout = function Checkout(props) {
14386
14400
  })), /*#__PURE__*/React__default["default"].createElement("div", {
14387
14401
  className: "col-lg-4 col-md-12 mb-3 flex-column",
14388
14402
  style: {
14389
- display: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i0 = authdetailsContext.instinfo) === null || _authdetailsContext$i0 === void 0 ? void 0 : _authdetailsContext$i0.customerEmailrequiered) == 1 ? 'flex' : sectionproperties.showemail == 'Hide' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i1 = authdetailsContext.instinfo) === null || _authdetailsContext$i1 === void 0 ? void 0 : _authdetailsContext$i1.customerEmailrequiered) == 0 ? 'none' : (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i10 = authdetailsContext.instinfo) === null || _authdetailsContext$i10 === void 0 ? void 0 : _authdetailsContext$i10.contactinfo.instid) == '6808c6295b598' ? 'none' : 'flex'
14403
+ display: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i10 = authdetailsContext.instinfo) === null || _authdetailsContext$i10 === void 0 ? void 0 : _authdetailsContext$i10.customerEmailrequiered) == 1 ? 'flex' : sectionproperties.showemail == 'Hide' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i11 = authdetailsContext.instinfo) === null || _authdetailsContext$i11 === void 0 ? void 0 : _authdetailsContext$i11.customerEmailrequiered) == 0 ? 'none' : (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i12 = authdetailsContext.instinfo) === null || _authdetailsContext$i12 === void 0 ? void 0 : _authdetailsContext$i12.contactinfo.instid) == '6808c6295b598' ? 'none' : 'flex'
14390
14404
  }
14391
14405
  }, /*#__PURE__*/React__default["default"].createElement("label", {
14392
14406
  className: "".concat(checkoutstyles.input_label_name) + ' d-flex align-items-start '
14393
- }, lang.email, ' ', (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i11 = authdetailsContext.instinfo) === null || _authdetailsContext$i11 === void 0 ? void 0 : _authdetailsContext$i11.contactinfo.instid) == '6739bf5880c04' && /*#__PURE__*/React__default["default"].createElement("span", {
14407
+ }, lang.email, ' ', (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i13 = authdetailsContext.instinfo) === null || _authdetailsContext$i13 === void 0 ? void 0 : _authdetailsContext$i13.contactinfo.instid) == '6739bf5880c04' && /*#__PURE__*/React__default["default"].createElement("span", {
14394
14408
  "class": "mx-2",
14395
14409
  style: {
14396
14410
  fontSize: 13
@@ -14398,7 +14412,7 @@ var Checkout = function Checkout(props) {
14398
14412
  }, langdetect == 'en' ? 'Optional' : 'اختياري'), ' '), /*#__PURE__*/React__default["default"].createElement("input", {
14399
14413
  type: 'text',
14400
14414
  className: "".concat(formstyles.form_control, " ").concat(checkoutstyles.form_control),
14401
- value: fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue67 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue67 === void 0 || (_fetchcustomercartQue67 = _fetchcustomercartQue67.data) === null || _fetchcustomercartQue67 === void 0 ? void 0 : _fetchcustomercartQue67.customercart.email,
14415
+ value: fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue68 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue68 === void 0 || (_fetchcustomercartQue68 = _fetchcustomercartQue68.data) === null || _fetchcustomercartQue68 === void 0 ? void 0 : _fetchcustomercartQue68.customercart.email,
14402
14416
  onChange: function onChange(event) {
14403
14417
  cartinfoupdater('email', event.target.value);
14404
14418
  },
@@ -14451,8 +14465,8 @@ var Checkout = function Checkout(props) {
14451
14465
  return option.id;
14452
14466
  },
14453
14467
  value: fetchTabexCountriesQueryContext.data.data.countries.filter(function (option) {
14454
- var _fetchcustomercartQue68;
14455
- return option.id == (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue68 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue68 === void 0 || (_fetchcustomercartQue68 = _fetchcustomercartQue68.data) === null || _fetchcustomercartQue68 === void 0 ? void 0 : _fetchcustomercartQue68.customercart.countryid);
14468
+ var _fetchcustomercartQue69;
14469
+ return option.id == (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue69 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue69 === void 0 || (_fetchcustomercartQue69 = _fetchcustomercartQue69.data) === null || _fetchcustomercartQue69 === void 0 ? void 0 : _fetchcustomercartQue69.customercart.countryid);
14456
14470
  }),
14457
14471
  onChange: function onChange(option) {
14458
14472
  var tempFetchTabexStatesPayloadobjContext = _objectSpread$2t({}, FetchTabexStatesPayloadobjContext);
@@ -14468,7 +14482,7 @@ var Checkout = function Checkout(props) {
14468
14482
  className: sectionproperties.inputfieldcolor == '#ffffff' ? 'col-lg-4 col-md-12 mb-3 selectwhite' : 'col-lg-4 col-md-12 mb-3'
14469
14483
  }, /*#__PURE__*/React__default["default"].createElement("label", {
14470
14484
  className: "".concat(checkoutstyles.input_label_name) + ' m-0 d-flex align-items-start '
14471
- }, (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i12 = authdetailsContext.instinfo) === null || _authdetailsContext$i12 === void 0 ? void 0 : _authdetailsContext$i12.contactinfo.instid) == '67e448d2ef6e0' ? langdetect == 'en' ? 'Governorate' : 'المحافظة' : lang.stategov, authdetailsContext.instinfo.customerAddressrequiered == 1 && /*#__PURE__*/React__default["default"].createElement("sup", {
14485
+ }, (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i14 = authdetailsContext.instinfo) === null || _authdetailsContext$i14 === void 0 ? void 0 : _authdetailsContext$i14.contactinfo.instid) == '67e448d2ef6e0' ? langdetect == 'en' ? 'Governorate' : 'المحافظة' : lang.stategov, authdetailsContext.instinfo.customerAddressrequiered == 1 && /*#__PURE__*/React__default["default"].createElement("sup", {
14472
14486
  "class": "mx-2",
14473
14487
  style: {
14474
14488
  color: 'var(--danger)'
@@ -14506,12 +14520,12 @@ var Checkout = function Checkout(props) {
14506
14520
  return option.id;
14507
14521
  },
14508
14522
  value: fetchTabexStatesQueryContext.data.data.states.filter(function (option) {
14509
- var _fetchcustomercartQue69;
14510
- return option.id == (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue69 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue69 === void 0 || (_fetchcustomercartQue69 = _fetchcustomercartQue69.data) === null || _fetchcustomercartQue69 === void 0 ? void 0 : _fetchcustomercartQue69.customercart.stateid);
14523
+ var _fetchcustomercartQue70;
14524
+ return option.id == (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue70 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue70 === void 0 || (_fetchcustomercartQue70 = _fetchcustomercartQue70.data) === null || _fetchcustomercartQue70 === void 0 ? void 0 : _fetchcustomercartQue70.customercart.stateid);
14511
14525
  }),
14512
14526
  onChange: function onChange(option) {
14513
- var _fetchcustomercartQue70;
14514
- if (option.id.length != 0 && (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue70 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue70 === void 0 || (_fetchcustomercartQue70 = _fetchcustomercartQue70.data) === null || _fetchcustomercartQue70 === void 0 ? void 0 : _fetchcustomercartQue70.customercart.countryid.length) != 0) {
14527
+ var _fetchcustomercartQue71;
14528
+ if (option.id.length != 0 && (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue71 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue71 === void 0 || (_fetchcustomercartQue71 = _fetchcustomercartQue71.data) === null || _fetchcustomercartQue71 === void 0 ? void 0 : _fetchcustomercartQue71.customercart.countryid.length) != 0) {
14515
14529
  var tempFetchTabexStatesPayloadobjContext = _objectSpread$2t({}, FetchTabexStatesPayloadobjContext);
14516
14530
  tempFetchTabexStatesPayloadobjContext.functype = 'cities';
14517
14531
  tempFetchTabexStatesPayloadobjContext.state_id = option.id;
@@ -14563,13 +14577,13 @@ var Checkout = function Checkout(props) {
14563
14577
  return option.id;
14564
14578
  },
14565
14579
  value: fetchTabexCitiesQueryContext.data.data.cities.filter(function (option) {
14566
- var _fetchcustomercartQue71;
14567
- return option.id == (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue71 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue71 === void 0 || (_fetchcustomercartQue71 = _fetchcustomercartQue71.data) === null || _fetchcustomercartQue71 === void 0 ? void 0 : _fetchcustomercartQue71.customercart.cityid);
14580
+ var _fetchcustomercartQue72;
14581
+ return option.id == (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue72 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue72 === void 0 || (_fetchcustomercartQue72 = _fetchcustomercartQue72.data) === null || _fetchcustomercartQue72 === void 0 ? void 0 : _fetchcustomercartQue72.customercart.cityid);
14568
14582
  }),
14569
14583
  onChange: function onChange(option) {
14570
- var _fetchcustomercartQue72;
14584
+ var _fetchcustomercartQue73;
14571
14585
  cartinfoupdater('cityid', option.id);
14572
- if ((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.zonenotes) != null) {
14586
+ if ((fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue73 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue73 === void 0 || (_fetchcustomercartQue73 = _fetchcustomercartQue73.data) === null || _fetchcustomercartQue73 === void 0 || (_fetchcustomercartQue73 = _fetchcustomercartQue73.customercart) === null || _fetchcustomercartQue73 === void 0 ? void 0 : _fetchcustomercartQue73.zonenotes) != null) {
14573
14587
  setshowpopup(true);
14574
14588
  }
14575
14589
  },
@@ -14588,7 +14602,7 @@ var Checkout = function Checkout(props) {
14588
14602
  }, "*")), /*#__PURE__*/React__default["default"].createElement(TextareaAutosize__default["default"], {
14589
14603
  type: 'text',
14590
14604
  className: "".concat(formstyles.form_control, " ").concat(checkoutstyles.form_control),
14591
- value: fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue73 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue73 === void 0 || (_fetchcustomercartQue73 = _fetchcustomercartQue73.data) === null || _fetchcustomercartQue73 === void 0 ? void 0 : _fetchcustomercartQue73.customercart.address,
14605
+ value: fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue74 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue74 === void 0 || (_fetchcustomercartQue74 = _fetchcustomercartQue74.data) === null || _fetchcustomercartQue74 === void 0 ? void 0 : _fetchcustomercartQue74.customercart.address,
14592
14606
  onChange: function onChange(event) {
14593
14607
  cartinfoupdater('address', event.target.value);
14594
14608
  },
@@ -14603,7 +14617,7 @@ var Checkout = function Checkout(props) {
14603
14617
  }, langdetect == 'en' ? sectionproperties.notesinen : sectionproperties.notesinar), /*#__PURE__*/React__default["default"].createElement(TextareaAutosize__default["default"], {
14604
14618
  type: 'text',
14605
14619
  className: "".concat(formstyles.form_control, " ").concat(checkoutstyles.form_control),
14606
- value: fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue74 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue74 === void 0 || (_fetchcustomercartQue74 = _fetchcustomercartQue74.data) === null || _fetchcustomercartQue74 === void 0 ? void 0 : _fetchcustomercartQue74.customercart.notes,
14620
+ value: fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue75 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue75 === void 0 || (_fetchcustomercartQue75 = _fetchcustomercartQue75.data) === null || _fetchcustomercartQue75 === void 0 ? void 0 : _fetchcustomercartQue75.customercart.notes,
14607
14621
  onChange: function onChange(event) {
14608
14622
  cartinfoupdater('notes', event.target.value);
14609
14623
  },
@@ -14618,7 +14632,7 @@ var Checkout = function Checkout(props) {
14618
14632
  }, langdetect == 'en' ? 'Affiliate code' : 'رمز المسوق'), /*#__PURE__*/React__default["default"].createElement("input", {
14619
14633
  type: 'number',
14620
14634
  className: "".concat(formstyles.form_control, " ").concat(checkoutstyles.form_control),
14621
- value: fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue75 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue75 === void 0 || (_fetchcustomercartQue75 = _fetchcustomercartQue75.data) === null || _fetchcustomercartQue75 === void 0 || (_fetchcustomercartQue75 = _fetchcustomercartQue75.customercart) === null || _fetchcustomercartQue75 === void 0 ? void 0 : _fetchcustomercartQue75.aff_code,
14635
+ value: fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue76 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue76 === void 0 || (_fetchcustomercartQue76 = _fetchcustomercartQue76.data) === null || _fetchcustomercartQue76 === void 0 || (_fetchcustomercartQue76 = _fetchcustomercartQue76.customercart) === null || _fetchcustomercartQue76 === void 0 ? void 0 : _fetchcustomercartQue76.aff_code,
14622
14636
  onChange: function onChange(event) {
14623
14637
  cartinfoupdater('aff_code', event.target.value);
14624
14638
  },
@@ -14652,7 +14666,7 @@ var Checkout = function Checkout(props) {
14652
14666
  onChange: function onChange(event) {
14653
14667
  cartinfoupdater('shippingmethod_id', event.target.value);
14654
14668
  },
14655
- value: fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue76 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue76 === void 0 || (_fetchcustomercartQue76 = _fetchcustomercartQue76.data) === null || _fetchcustomercartQue76 === void 0 || (_fetchcustomercartQue76 = _fetchcustomercartQue76.customercart) === null || _fetchcustomercartQue76 === void 0 ? void 0 : _fetchcustomercartQue76.shippingmethod_id
14669
+ value: fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue77 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue77 === void 0 || (_fetchcustomercartQue77 = _fetchcustomercartQue77.data) === null || _fetchcustomercartQue77 === void 0 || (_fetchcustomercartQue77 = _fetchcustomercartQue77.customercart) === null || _fetchcustomercartQue77 === void 0 ? void 0 : _fetchcustomercartQue77.shippingmethod_id
14656
14670
  }, /*#__PURE__*/React__default["default"].createElement("option", {
14657
14671
  value: null
14658
14672
  }, langdetect == 'en' ? 'Choose Shipping Method' : 'الشحن اخنر طريقة'), shippingmethods === null || shippingmethods === void 0 ? void 0 : shippingmethods.map(function (item, index) {
@@ -14746,10 +14760,10 @@ var Checkout = function Checkout(props) {
14746
14760
  id: 'codcheckbox',
14747
14761
  type: "checkbox",
14748
14762
  className: checkoutstyles.checkboxinputstyles + ' mt-auto mb-auto ',
14749
- checked: (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue77 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue77 === void 0 || (_fetchcustomercartQue77 = _fetchcustomercartQue77.data) === null || _fetchcustomercartQue77 === void 0 ? void 0 : _fetchcustomercartQue77.customercart.paymentmethod) == 'cod' ? true : false,
14763
+ checked: (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue78 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue78 === void 0 || (_fetchcustomercartQue78 = _fetchcustomercartQue78.data) === null || _fetchcustomercartQue78 === void 0 ? void 0 : _fetchcustomercartQue78.customercart.paymentmethod) == 'cod' ? true : false,
14750
14764
  onChange: function onChange() {
14751
- var _fetchcustomercartQue78;
14752
- if ((fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue78 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue78 === void 0 || (_fetchcustomercartQue78 = _fetchcustomercartQue78.data) === null || _fetchcustomercartQue78 === void 0 ? void 0 : _fetchcustomercartQue78.customercart.paymentmethod) != 'cod') {
14765
+ var _fetchcustomercartQue79;
14766
+ if ((fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue79 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue79 === void 0 || (_fetchcustomercartQue79 = _fetchcustomercartQue79.data) === null || _fetchcustomercartQue79 === void 0 ? void 0 : _fetchcustomercartQue79.customercart.paymentmethod) != 'cod') {
14753
14767
  cartinfoupdater('paymentmethod', 'cod');
14754
14768
  setinstapaychosen(false);
14755
14769
  }
@@ -14773,10 +14787,10 @@ var Checkout = function Checkout(props) {
14773
14787
  id: 'codcheckbox',
14774
14788
  type: "checkbox",
14775
14789
  className: checkoutstyles.checkboxinputstyles + ' mt-auto mb-auto ',
14776
- checked: (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue79 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue79 === void 0 || (_fetchcustomercartQue79 = _fetchcustomercartQue79.data) === null || _fetchcustomercartQue79 === void 0 ? void 0 : _fetchcustomercartQue79.customercart.paymentmethod) == 'instapay' ? true : false,
14790
+ checked: (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue80 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue80 === void 0 || (_fetchcustomercartQue80 = _fetchcustomercartQue80.data) === null || _fetchcustomercartQue80 === void 0 ? void 0 : _fetchcustomercartQue80.customercart.paymentmethod) == 'instapay' ? true : false,
14777
14791
  onChange: function onChange() {
14778
- var _fetchcustomercartQue80;
14779
- if ((fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue80 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue80 === void 0 || (_fetchcustomercartQue80 = _fetchcustomercartQue80.data) === null || _fetchcustomercartQue80 === void 0 ? void 0 : _fetchcustomercartQue80.customercart.paymentmethod) != 'instapay') {
14792
+ var _fetchcustomercartQue81;
14793
+ if ((fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue81 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue81 === void 0 || (_fetchcustomercartQue81 = _fetchcustomercartQue81.data) === null || _fetchcustomercartQue81 === void 0 ? void 0 : _fetchcustomercartQue81.customercart.paymentmethod) != 'instapay') {
14780
14794
  cartinfoupdater('paymentmethod', 'instapay');
14781
14795
  setinstapaychosen(true);
14782
14796
  // alert('1');
@@ -14799,10 +14813,10 @@ var Checkout = function Checkout(props) {
14799
14813
  }, /*#__PURE__*/React__default["default"].createElement("input", {
14800
14814
  type: "checkbox",
14801
14815
  className: checkoutstyles.checkboxinputstyles + ' mt-auto mb-auto ',
14802
- checked: (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue81 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue81 === void 0 || (_fetchcustomercartQue81 = _fetchcustomercartQue81.data) === null || _fetchcustomercartQue81 === void 0 ? void 0 : _fetchcustomercartQue81.customercart.paymentmethod) == 'cardondelivery' ? true : false,
14816
+ checked: (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue82 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue82 === void 0 || (_fetchcustomercartQue82 = _fetchcustomercartQue82.data) === null || _fetchcustomercartQue82 === void 0 ? void 0 : _fetchcustomercartQue82.customercart.paymentmethod) == 'cardondelivery' ? true : false,
14803
14817
  onChange: function onChange() {
14804
- var _fetchcustomercartQue82;
14805
- if ((fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue82 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue82 === void 0 || (_fetchcustomercartQue82 = _fetchcustomercartQue82.data) === null || _fetchcustomercartQue82 === void 0 ? void 0 : _fetchcustomercartQue82.customercart.paymentmethod) != 'cardondelivery') {
14818
+ var _fetchcustomercartQue83;
14819
+ if ((fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue83 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue83 === void 0 || (_fetchcustomercartQue83 = _fetchcustomercartQue83.data) === null || _fetchcustomercartQue83 === void 0 ? void 0 : _fetchcustomercartQue83.customercart.paymentmethod) != 'cardondelivery') {
14806
14820
  cartinfoupdater('paymentmethod', 'cardondelivery');
14807
14821
  setinstapaychosen(false);
14808
14822
  }
@@ -14821,10 +14835,10 @@ var Checkout = function Checkout(props) {
14821
14835
  }, /*#__PURE__*/React__default["default"].createElement("input", {
14822
14836
  type: "checkbox",
14823
14837
  className: checkoutstyles.checkboxinputstyles + ' mt-auto mb-auto ',
14824
- checked: (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue83 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue83 === void 0 || (_fetchcustomercartQue83 = _fetchcustomercartQue83.data) === null || _fetchcustomercartQue83 === void 0 ? void 0 : _fetchcustomercartQue83.customercart.paymentmethod) == 'onlinepayment' ? true : false,
14838
+ checked: (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue84 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue84 === void 0 || (_fetchcustomercartQue84 = _fetchcustomercartQue84.data) === null || _fetchcustomercartQue84 === void 0 ? void 0 : _fetchcustomercartQue84.customercart.paymentmethod) == 'onlinepayment' ? true : false,
14825
14839
  onChange: function onChange() {
14826
- var _fetchcustomercartQue84;
14827
- if ((fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue84 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue84 === void 0 || (_fetchcustomercartQue84 = _fetchcustomercartQue84.data) === null || _fetchcustomercartQue84 === void 0 ? void 0 : _fetchcustomercartQue84.customercart.paymentmethod) != 'onlinepayment') {
14840
+ var _fetchcustomercartQue85;
14841
+ if ((fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue85 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue85 === void 0 || (_fetchcustomercartQue85 = _fetchcustomercartQue85.data) === null || _fetchcustomercartQue85 === void 0 ? void 0 : _fetchcustomercartQue85.customercart.paymentmethod) != 'onlinepayment') {
14828
14842
  cartinfoupdater('paymentmethod', 'onlinepayment');
14829
14843
  setinstapaychosen(false);
14830
14844
  }
@@ -14843,10 +14857,10 @@ var Checkout = function Checkout(props) {
14843
14857
  }, /*#__PURE__*/React__default["default"].createElement("input", {
14844
14858
  type: "checkbox",
14845
14859
  className: checkoutstyles.checkboxinputstyles + ' mt-auto mb-auto ',
14846
- 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) == 'valU' ? true : false,
14860
+ checked: (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue86 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue86 === void 0 || (_fetchcustomercartQue86 = _fetchcustomercartQue86.data) === null || _fetchcustomercartQue86 === void 0 ? void 0 : _fetchcustomercartQue86.customercart.paymentmethod) == 'valU' ? true : false,
14847
14861
  onChange: function onChange() {
14848
- var _fetchcustomercartQue86;
14849
- 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) != 'valU') {
14862
+ var _fetchcustomercartQue87;
14863
+ if ((fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue87 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue87 === void 0 || (_fetchcustomercartQue87 = _fetchcustomercartQue87.data) === null || _fetchcustomercartQue87 === void 0 ? void 0 : _fetchcustomercartQue87.customercart.paymentmethod) != 'valU') {
14850
14864
  cartinfoupdater('paymentmethod', 'valU');
14851
14865
  setinstapaychosen(false);
14852
14866
  }
@@ -14865,10 +14879,10 @@ var Checkout = function Checkout(props) {
14865
14879
  }, /*#__PURE__*/React__default["default"].createElement("input", {
14866
14880
  type: "checkbox",
14867
14881
  className: checkoutstyles.checkboxinputstyles + ' mt-auto mb-auto ',
14868
- 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) == 'mobilewallet' ? true : false,
14882
+ checked: (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue88 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue88 === void 0 || (_fetchcustomercartQue88 = _fetchcustomercartQue88.data) === null || _fetchcustomercartQue88 === void 0 ? void 0 : _fetchcustomercartQue88.customercart.paymentmethod) == 'mobilewallet' ? true : false,
14869
14883
  onChange: function onChange() {
14870
- var _fetchcustomercartQue88;
14871
- 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) != 'mobilewallet') {
14884
+ var _fetchcustomercartQue89;
14885
+ if ((fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue89 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue89 === void 0 || (_fetchcustomercartQue89 = _fetchcustomercartQue89.data) === null || _fetchcustomercartQue89 === void 0 ? void 0 : _fetchcustomercartQue89.customercart.paymentmethod) != 'mobilewallet') {
14872
14886
  cartinfoupdater('paymentmethod', 'mobilewallet');
14873
14887
  setinstapaychosen(false);
14874
14888
  }
@@ -14880,17 +14894,17 @@ var Checkout = function Checkout(props) {
14880
14894
  d: "M5,10.75 L8.5,14.25 L19.4,2.3 C18.8333333,1.43333333 18.0333333,1 17,1 L4,1 C2.35,1 1,2.35 1,4 L1,17 C1,18.65 2.35,20 4,20 L17,20 C18.65,20 20,18.65 20,17 L20,7.99769186"
14881
14895
  })), /*#__PURE__*/React__default["default"].createElement("p", {
14882
14896
  className: "".concat(formstyles.checkbox_label) + ' ml-2 mb-0 wordbreak cursor-pointer mr-2 '
14883
- }, langdetect == 'en' ? sectionproperties.walletnameen : sectionproperties.walletnamear))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i13 = authdetailsContext.instinfo) === null || _authdetailsContext$i13 === void 0 ? void 0 : _authdetailsContext$i13.acceptForsaCard) == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
14897
+ }, langdetect == 'en' ? sectionproperties.walletnameen : sectionproperties.walletnamear))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i15 = authdetailsContext.instinfo) === null || _authdetailsContext$i15 === void 0 ? void 0 : _authdetailsContext$i15.acceptForsaCard) == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
14884
14898
  className: "col-xl-4 col-lg-4 col-md-12 mb-3"
14885
14899
  }, /*#__PURE__*/React__default["default"].createElement("label", {
14886
14900
  className: langdetect == 'en' ? "".concat(formstyles.checkbox, " ").concat(checkoutstyles.checkbox, " ") + ' d-flex mb-0 ' : "".concat(formstyles.checkbox, " ").concat(formstyles.checkboxtranslated, " ").concat(checkoutstyles.checkbox, " ") + ' d-flex mb-0 '
14887
14901
  }, /*#__PURE__*/React__default["default"].createElement("input", {
14888
14902
  type: "checkbox",
14889
14903
  className: checkoutstyles.checkboxinputstyles + ' mt-auto mb-auto ',
14890
- checked: (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue89 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue89 === void 0 || (_fetchcustomercartQue89 = _fetchcustomercartQue89.data) === null || _fetchcustomercartQue89 === void 0 || (_fetchcustomercartQue89 = _fetchcustomercartQue89.customercart) === null || _fetchcustomercartQue89 === void 0 ? void 0 : _fetchcustomercartQue89.paymentmethod) == 'forsa' ? true : false,
14904
+ checked: (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue90 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue90 === void 0 || (_fetchcustomercartQue90 = _fetchcustomercartQue90.data) === null || _fetchcustomercartQue90 === void 0 || (_fetchcustomercartQue90 = _fetchcustomercartQue90.customercart) === null || _fetchcustomercartQue90 === void 0 ? void 0 : _fetchcustomercartQue90.paymentmethod) == 'forsa' ? true : false,
14891
14905
  onChange: function onChange() {
14892
- var _fetchcustomercartQue90;
14893
- if ((fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue90 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue90 === void 0 || (_fetchcustomercartQue90 = _fetchcustomercartQue90.data) === null || _fetchcustomercartQue90 === void 0 || (_fetchcustomercartQue90 = _fetchcustomercartQue90.customercart) === null || _fetchcustomercartQue90 === void 0 ? void 0 : _fetchcustomercartQue90.paymentmethod) != 'forsa') {
14906
+ var _fetchcustomercartQue91;
14907
+ if ((fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue91 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue91 === void 0 || (_fetchcustomercartQue91 = _fetchcustomercartQue91.data) === null || _fetchcustomercartQue91 === void 0 || (_fetchcustomercartQue91 = _fetchcustomercartQue91.customercart) === null || _fetchcustomercartQue91 === void 0 ? void 0 : _fetchcustomercartQue91.paymentmethod) != 'forsa') {
14894
14908
  cartinfoupdater('paymentmethod', 'forsa');
14895
14909
  setinstapaychosen(false);
14896
14910
  }
@@ -14902,17 +14916,17 @@ var Checkout = function Checkout(props) {
14902
14916
  d: "M5,10.75 L8.5,14.25 L19.4,2.3 C18.8333333,1.43333333 18.0333333,1 17,1 L4,1 C2.35,1 1,2.35 1,4 L1,17 C1,18.65 2.35,20 4,20 L17,20 C18.65,20 20,18.65 20,17 L20,7.99769186"
14903
14917
  })), /*#__PURE__*/React__default["default"].createElement("p", {
14904
14918
  className: "".concat(formstyles.checkbox_label) + ' ml-2 mb-0 wordbreak cursor-pointer mr-2 '
14905
- }, langdetect == 'en' ? 'Forsa' : ' Forsa'))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i14 = authdetailsContext.instinfo) === null || _authdetailsContext$i14 === void 0 ? void 0 : _authdetailsContext$i14.acceptSouhoolaCard) == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
14919
+ }, langdetect == 'en' ? 'Forsa' : ' Forsa'))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i16 = authdetailsContext.instinfo) === null || _authdetailsContext$i16 === void 0 ? void 0 : _authdetailsContext$i16.acceptSouhoolaCard) == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
14906
14920
  className: "col-xl-4 col-lg-4 col-md-12 mb-3"
14907
14921
  }, /*#__PURE__*/React__default["default"].createElement("label", {
14908
14922
  className: langdetect == 'en' ? "".concat(formstyles.checkbox, " ").concat(checkoutstyles.checkbox, " ") + ' d-flex mb-0 ' : "".concat(formstyles.checkbox, " ").concat(formstyles.checkboxtranslated, " ").concat(checkoutstyles.checkbox, " ") + ' d-flex mb-0 '
14909
14923
  }, /*#__PURE__*/React__default["default"].createElement("input", {
14910
14924
  type: "checkbox",
14911
14925
  className: checkoutstyles.checkboxinputstyles + ' mt-auto mb-auto ',
14912
- checked: (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue91 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue91 === void 0 || (_fetchcustomercartQue91 = _fetchcustomercartQue91.data) === null || _fetchcustomercartQue91 === void 0 || (_fetchcustomercartQue91 = _fetchcustomercartQue91.customercart) === null || _fetchcustomercartQue91 === void 0 ? void 0 : _fetchcustomercartQue91.paymentmethod) == 'Souhoola' ? true : false,
14926
+ checked: (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue92 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue92 === void 0 || (_fetchcustomercartQue92 = _fetchcustomercartQue92.data) === null || _fetchcustomercartQue92 === void 0 || (_fetchcustomercartQue92 = _fetchcustomercartQue92.customercart) === null || _fetchcustomercartQue92 === void 0 ? void 0 : _fetchcustomercartQue92.paymentmethod) == 'Souhoola' ? true : false,
14913
14927
  onChange: function onChange() {
14914
- var _fetchcustomercartQue92;
14915
- if ((fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue92 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue92 === void 0 || (_fetchcustomercartQue92 = _fetchcustomercartQue92.data) === null || _fetchcustomercartQue92 === void 0 || (_fetchcustomercartQue92 = _fetchcustomercartQue92.customercart) === null || _fetchcustomercartQue92 === void 0 ? void 0 : _fetchcustomercartQue92.paymentmethod) != 'Souhoola') {
14928
+ var _fetchcustomercartQue93;
14929
+ if ((fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue93 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue93 === void 0 || (_fetchcustomercartQue93 = _fetchcustomercartQue93.data) === null || _fetchcustomercartQue93 === void 0 || (_fetchcustomercartQue93 = _fetchcustomercartQue93.customercart) === null || _fetchcustomercartQue93 === void 0 ? void 0 : _fetchcustomercartQue93.paymentmethod) != 'Souhoola') {
14916
14930
  cartinfoupdater('paymentmethod', 'Souhoola');
14917
14931
  setinstapaychosen(false);
14918
14932
  }
@@ -14924,17 +14938,17 @@ var Checkout = function Checkout(props) {
14924
14938
  d: "M5,10.75 L8.5,14.25 L19.4,2.3 C18.8333333,1.43333333 18.0333333,1 17,1 L4,1 C2.35,1 1,2.35 1,4 L1,17 C1,18.65 2.35,20 4,20 L17,20 C18.65,20 20,18.65 20,17 L20,7.99769186"
14925
14939
  })), /*#__PURE__*/React__default["default"].createElement("p", {
14926
14940
  className: "".concat(formstyles.checkbox_label) + ' ml-2 mb-0 wordbreak cursor-pointer mr-2 '
14927
- }, langdetect == 'en' ? 'Souhoola' : ' Souhoola'))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i15 = authdetailsContext.instinfo) === null || _authdetailsContext$i15 === void 0 ? void 0 : _authdetailsContext$i15.acceptonlinePaypal) == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
14941
+ }, langdetect == 'en' ? 'Souhoola' : ' Souhoola'))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i17 = authdetailsContext.instinfo) === null || _authdetailsContext$i17 === void 0 ? void 0 : _authdetailsContext$i17.acceptonlinePaypal) == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
14928
14942
  className: "col-xl-4 col-lg-4 col-md-12 mb-3"
14929
14943
  }, /*#__PURE__*/React__default["default"].createElement("label", {
14930
14944
  className: langdetect == 'en' ? "".concat(formstyles.checkbox, " ").concat(checkoutstyles.checkbox, " ") + ' d-flex mb-0 ' : "".concat(formstyles.checkbox, " ").concat(formstyles.checkboxtranslated, " ").concat(checkoutstyles.checkbox, " ") + ' d-flex mb-0 '
14931
14945
  }, /*#__PURE__*/React__default["default"].createElement("input", {
14932
14946
  type: "checkbox",
14933
14947
  className: checkoutstyles.checkboxinputstyles + ' mt-auto mb-auto ',
14934
- checked: (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue93 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue93 === void 0 || (_fetchcustomercartQue93 = _fetchcustomercartQue93.data) === null || _fetchcustomercartQue93 === void 0 || (_fetchcustomercartQue93 = _fetchcustomercartQue93.customercart) === null || _fetchcustomercartQue93 === void 0 ? void 0 : _fetchcustomercartQue93.paymentmethod) == 'paypal' ? true : false,
14948
+ checked: (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue94 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue94 === void 0 || (_fetchcustomercartQue94 = _fetchcustomercartQue94.data) === null || _fetchcustomercartQue94 === void 0 || (_fetchcustomercartQue94 = _fetchcustomercartQue94.customercart) === null || _fetchcustomercartQue94 === void 0 ? void 0 : _fetchcustomercartQue94.paymentmethod) == 'paypal' ? true : false,
14935
14949
  onChange: function onChange() {
14936
- var _fetchcustomercartQue94;
14937
- if ((fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue94 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue94 === void 0 || (_fetchcustomercartQue94 = _fetchcustomercartQue94.data) === null || _fetchcustomercartQue94 === void 0 || (_fetchcustomercartQue94 = _fetchcustomercartQue94.customercart) === null || _fetchcustomercartQue94 === void 0 ? void 0 : _fetchcustomercartQue94.paymentmethod) != 'paypal') {
14950
+ var _fetchcustomercartQue95;
14951
+ if ((fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue95 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue95 === void 0 || (_fetchcustomercartQue95 = _fetchcustomercartQue95.data) === null || _fetchcustomercartQue95 === void 0 || (_fetchcustomercartQue95 = _fetchcustomercartQue95.customercart) === null || _fetchcustomercartQue95 === void 0 ? void 0 : _fetchcustomercartQue95.paymentmethod) != 'paypal') {
14938
14952
  cartinfoupdater('paymentmethod', 'paypal');
14939
14953
  setinstapaychosen(false);
14940
14954
  }
@@ -14946,17 +14960,17 @@ var Checkout = function Checkout(props) {
14946
14960
  d: "M5,10.75 L8.5,14.25 L19.4,2.3 C18.8333333,1.43333333 18.0333333,1 17,1 L4,1 C2.35,1 1,2.35 1,4 L1,17 C1,18.65 2.35,20 4,20 L17,20 C18.65,20 20,18.65 20,17 L20,7.99769186"
14947
14961
  })), /*#__PURE__*/React__default["default"].createElement("p", {
14948
14962
  className: "".concat(formstyles.checkbox_label, " + ' ml-2 mb-0 wordbreak cursor-pointer mr-2 '")
14949
- }, langdetect == 'en' ? 'Paypal' : ' Paypal'))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i16 = authdetailsContext.instinfo) === null || _authdetailsContext$i16 === void 0 ? void 0 : _authdetailsContext$i16.acceptBankInstallementsCard) == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
14963
+ }, langdetect == 'en' ? 'Paypal' : ' Paypal'))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i18 = authdetailsContext.instinfo) === null || _authdetailsContext$i18 === void 0 ? void 0 : _authdetailsContext$i18.acceptBankInstallementsCard) == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
14950
14964
  className: "col-xl-4 col-lg-4 col-md-12 mb-3"
14951
14965
  }, /*#__PURE__*/React__default["default"].createElement("label", {
14952
14966
  className: langdetect == 'en' ? "".concat(formstyles.checkbox, " ").concat(checkoutstyles.checkbox, " ") + ' d-flex mb-0 ' : "".concat(formstyles.checkbox, " ").concat(formstyles.checkboxtranslated, " ").concat(checkoutstyles.checkbox, " ") + ' d-flex mb-0 '
14953
14967
  }, /*#__PURE__*/React__default["default"].createElement("input", {
14954
14968
  type: "checkbox",
14955
14969
  className: checkoutstyles.checkboxinputstyles + ' mt-auto mb-auto ',
14956
- checked: (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue95 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue95 === void 0 || (_fetchcustomercartQue95 = _fetchcustomercartQue95.data) === null || _fetchcustomercartQue95 === void 0 || (_fetchcustomercartQue95 = _fetchcustomercartQue95.customercart) === null || _fetchcustomercartQue95 === void 0 ? void 0 : _fetchcustomercartQue95.paymentmethod) == 'bankinstallments' ? true : false,
14970
+ checked: (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue96 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue96 === void 0 || (_fetchcustomercartQue96 = _fetchcustomercartQue96.data) === null || _fetchcustomercartQue96 === void 0 || (_fetchcustomercartQue96 = _fetchcustomercartQue96.customercart) === null || _fetchcustomercartQue96 === void 0 ? void 0 : _fetchcustomercartQue96.paymentmethod) == 'bankinstallments' ? true : false,
14957
14971
  onChange: function onChange() {
14958
- var _fetchcustomercartQue96;
14959
- if ((fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue96 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue96 === void 0 || (_fetchcustomercartQue96 = _fetchcustomercartQue96.data) === null || _fetchcustomercartQue96 === void 0 || (_fetchcustomercartQue96 = _fetchcustomercartQue96.customercart) === null || _fetchcustomercartQue96 === void 0 ? void 0 : _fetchcustomercartQue96.paymentmethod) != 'bankinstallments') {
14972
+ var _fetchcustomercartQue97;
14973
+ if ((fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue97 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue97 === void 0 || (_fetchcustomercartQue97 = _fetchcustomercartQue97.data) === null || _fetchcustomercartQue97 === void 0 || (_fetchcustomercartQue97 = _fetchcustomercartQue97.customercart) === null || _fetchcustomercartQue97 === void 0 ? void 0 : _fetchcustomercartQue97.paymentmethod) != 'bankinstallments') {
14960
14974
  cartinfoupdater('paymentmethod', 'bankinstallments');
14961
14975
  setinstapaychosen(false);
14962
14976
  }
@@ -14968,17 +14982,17 @@ var Checkout = function Checkout(props) {
14968
14982
  d: "M5,10.75 L8.5,14.25 L19.4,2.3 C18.8333333,1.43333333 18.0333333,1 17,1 L4,1 C2.35,1 1,2.35 1,4 L1,17 C1,18.65 2.35,20 4,20 L17,20 C18.65,20 20,18.65 20,17 L20,7.99769186"
14969
14983
  })), /*#__PURE__*/React__default["default"].createElement("p", {
14970
14984
  className: "".concat(formstyles.checkbox_label) + ' ml-2 mb-0 wordbreak cursor-pointer mr-2 '
14971
- }, langdetect == 'en' ? 'Bank Installments' : ' التقسيط عن طريق البنك'))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i17 = authdetailsContext.instinfo) === null || _authdetailsContext$i17 === void 0 ? void 0 : _authdetailsContext$i17.acceptAmanCard) == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
14985
+ }, langdetect == 'en' ? 'Bank Installments' : ' التقسيط عن طريق البنك'))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i19 = authdetailsContext.instinfo) === null || _authdetailsContext$i19 === void 0 ? void 0 : _authdetailsContext$i19.acceptAmanCard) == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
14972
14986
  className: "col-xl-4 col-lg-4 col-md-12 mb-3"
14973
14987
  }, /*#__PURE__*/React__default["default"].createElement("label", {
14974
14988
  className: langdetect == 'en' ? "".concat(formstyles.checkbox, " ").concat(checkoutstyles.checkbox, " ") + ' d-flex mb-0 ' : "".concat(formstyles.checkbox, " ").concat(formstyles.checkboxtranslated, " ").concat(checkoutstyles.checkbox, " ") + ' d-flex mb-0 '
14975
14989
  }, /*#__PURE__*/React__default["default"].createElement("input", {
14976
14990
  type: "checkbox",
14977
14991
  className: checkoutstyles.checkboxinputstyles + ' mt-auto mb-auto ',
14978
- checked: (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue97 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue97 === void 0 || (_fetchcustomercartQue97 = _fetchcustomercartQue97.data) === null || _fetchcustomercartQue97 === void 0 || (_fetchcustomercartQue97 = _fetchcustomercartQue97.customercart) === null || _fetchcustomercartQue97 === void 0 ? void 0 : _fetchcustomercartQue97.paymentmethod) == 'Aman' ? true : false,
14992
+ checked: (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue98 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue98 === void 0 || (_fetchcustomercartQue98 = _fetchcustomercartQue98.data) === null || _fetchcustomercartQue98 === void 0 || (_fetchcustomercartQue98 = _fetchcustomercartQue98.customercart) === null || _fetchcustomercartQue98 === void 0 ? void 0 : _fetchcustomercartQue98.paymentmethod) == 'Aman' ? true : false,
14979
14993
  onChange: function onChange() {
14980
- var _fetchcustomercartQue98;
14981
- if ((fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue98 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue98 === void 0 || (_fetchcustomercartQue98 = _fetchcustomercartQue98.data) === null || _fetchcustomercartQue98 === void 0 || (_fetchcustomercartQue98 = _fetchcustomercartQue98.customercart) === null || _fetchcustomercartQue98 === void 0 ? void 0 : _fetchcustomercartQue98.paymentmethod) != 'Aman') {
14994
+ var _fetchcustomercartQue99;
14995
+ if ((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) != 'Aman') {
14982
14996
  cartinfoupdater('paymentmethod', 'Aman');
14983
14997
  setinstapaychosen(false);
14984
14998
  }
@@ -14990,7 +15004,7 @@ var Checkout = function Checkout(props) {
14990
15004
  d: "M5,10.75 L8.5,14.25 L19.4,2.3 C18.8333333,1.43333333 18.0333333,1 17,1 L4,1 C2.35,1 1,2.35 1,4 L1,17 C1,18.65 2.35,20 4,20 L17,20 C18.65,20 20,18.65 20,17 L20,7.99769186"
14991
15005
  })), /*#__PURE__*/React__default["default"].createElement("p", {
14992
15006
  className: "".concat(formstyles.checkbox_label) + ' ml-2 mb-0 wordbreak cursor-pointer mr-2 '
14993
- }, langdetect == 'en' ? 'Aman' : 'Aman'))), instapaychosen && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i18 = authdetailsContext.instinfo) === null || _authdetailsContext$i18 === void 0 ? void 0 : _authdetailsContext$i18.contactinfo.instid) != '6808cf481006d' && /*#__PURE__*/React__default["default"].createElement("div", {
15007
+ }, langdetect == 'en' ? 'Aman' : 'Aman'))), instapaychosen && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i20 = authdetailsContext.instinfo) === null || _authdetailsContext$i20 === void 0 ? void 0 : _authdetailsContext$i20.contactinfo.instid) != '6808cf481006d' && /*#__PURE__*/React__default["default"].createElement("div", {
14994
15008
  "class": "col-12 px-3 px-md-2 my-3"
14995
15009
  }, /*#__PURE__*/React__default["default"].createElement("p", {
14996
15010
  "class": ' pb-0 pl-md-2 pr-md-2 ',
@@ -15000,7 +15014,7 @@ var Checkout = function Checkout(props) {
15000
15014
  dangerouslySetInnerHTML: {
15001
15015
  __html: langdetect == 'en' ? sectionproperties.instapayoptioncontenten : sectionproperties.instapayoptioncontentar
15002
15016
  }
15003
- })), instapaychosen && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i19 = authdetailsContext.instinfo) === null || _authdetailsContext$i19 === void 0 ? void 0 : _authdetailsContext$i19.contactinfo.instid) == '6808cf481006d' && /*#__PURE__*/React__default["default"].createElement("div", {
15017
+ })), instapaychosen && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i21 = authdetailsContext.instinfo) === null || _authdetailsContext$i21 === void 0 ? void 0 : _authdetailsContext$i21.contactinfo.instid) == '6808cf481006d' && /*#__PURE__*/React__default["default"].createElement("div", {
15004
15018
  "class": "col-12 px-3 px-md-2 my-3"
15005
15019
  }, /*#__PURE__*/React__default["default"].createElement("p", {
15006
15020
  "class": ' pb-0 pl-md-2 pr-md-2 ',
@@ -15008,7 +15022,7 @@ var Checkout = function Checkout(props) {
15008
15022
  color: '#000',
15009
15023
  fontSize: 16
15010
15024
  }
15011
- }, langdetect == 'en' ? 'To pay via InstaPay, please send a screenshot of the payment to WhatsApp number 0110 1016292' : 'للدفع عبر InstaPay، برجاء إرسال سكرين شوت لعملية الدفع على رقم الواتساب01101016292'))))), (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue99 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue99 === void 0 || (_fetchcustomercartQue99 = _fetchcustomercartQue99.data) === null || _fetchcustomercartQue99 === void 0 ? void 0 : _fetchcustomercartQue99.customercart.paymentmethod) == 'onlinepayment1' && /*#__PURE__*/React__default["default"].createElement("div", {
15025
+ }, langdetect == 'en' ? 'To pay via InstaPay, please send a screenshot of the payment to WhatsApp number 0110 1016292' : 'للدفع عبر InstaPay، برجاء إرسال سكرين شوت لعملية الدفع على رقم الواتساب01101016292'))))), (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue100 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue100 === void 0 || (_fetchcustomercartQue100 = _fetchcustomercartQue100.data) === null || _fetchcustomercartQue100 === void 0 ? void 0 : _fetchcustomercartQue100.customercart.paymentmethod) == 'onlinepayment1' && /*#__PURE__*/React__default["default"].createElement("div", {
15012
15026
  className: "col-lg-12 p-0 w-100 mb-3"
15013
15027
  }, /*#__PURE__*/React__default["default"].createElement("div", {
15014
15028
  style: {
@@ -15148,7 +15162,7 @@ var Checkout = function Checkout(props) {
15148
15162
  color: '#000',
15149
15163
  textAlign: 'center'
15150
15164
  }
15151
- }, 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.zonenotes)))), /*#__PURE__*/React__default["default"].createElement(reactBootstrap.Modal.Footer, null)));
15165
+ }, 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.zonenotes)))), /*#__PURE__*/React__default["default"].createElement(reactBootstrap.Modal.Footer, null)));
15152
15166
  };
15153
15167
 
15154
15168
  function ownKeys$2s(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; }
@@ -89251,94 +89265,59 @@ var Variants_J_Cards = function Variants_J_Cards(props) {
89251
89265
  "class": ' row m-0 w-100 '
89252
89266
  }, options_w_values === null || options_w_values === void 0 ? void 0 : options_w_values.map(function (item, index) {
89253
89267
  var _item$values5, _item$values6, _item$values7;
89254
- return (
89255
- /*#__PURE__*/
89256
- // scrollhorixontalcontainer
89257
- React__default["default"].createElement("div", {
89258
- className: "col-lg-12 col-md-12 d-flex mb-2 allcentered p-sm-0"
89259
- }, item === null || item === void 0 || (_item$values5 = item.values) === null || _item$values5 === void 0 ? void 0 : _item$values5.map(function (valitem, valindex) {
89260
- var isChoosedValueExists = false;
89261
- choosen_values === null || choosen_values === void 0 || choosen_values.forEach(function (choseitem, choseindex) {
89262
- if (choseitem != null) {
89263
- if ((choseitem === null || choseitem === void 0 ? void 0 : choseitem.valueid) == (valitem === null || valitem === void 0 ? void 0 : valitem.valueid)) {
89264
- isChoosedValueExists = true;
89265
- }
89266
- }
89267
- });
89268
- if (valindex <= 3) {
89269
- if (sectionproperties.typeofvariantstobeshownincard == 'Show Colors Only') {
89270
- var _item$option_info5, _item$option_info6, _item$option_info7, _item$option_info8;
89271
- if ((item === null || item === void 0 || (_item$option_info5 = item.option_info) === null || _item$option_info5 === void 0 ? void 0 : _item$option_info5.optionname) == 'Color' || (item === null || item === void 0 || (_item$option_info6 = item.option_info) === null || _item$option_info6 === void 0 ? void 0 : _item$option_info6.optionname) == 'Colour' || (item === null || item === void 0 || (_item$option_info7 = item.option_info) === null || _item$option_info7 === void 0 ? void 0 : _item$option_info7.optionname) == 'color' || (item === null || item === void 0 || (_item$option_info8 = item.option_info) === null || _item$option_info8 === void 0 ? void 0 : _item$option_info8.optionname) == 'colour') {
89272
- var _item$option_info9, _item$option_info0, _item$option_info1, _item$option_info10, _item$option_info11, _valitem$valueinfo, _item$option_info12, _valitem$valueinfo2;
89273
- return /*#__PURE__*/React__default["default"].createElement("div", {
89274
- style: {
89275
- textAlign: 'center'
89276
- },
89277
- "class": "mx-1"
89278
- }, /*#__PURE__*/React__default["default"].createElement("button", {
89279
- onClick: function onClick() {
89280
- choose_valueFunc(valitem, item === null || item === void 0 ? void 0 : item.option_info);
89281
- },
89282
- style: {
89283
- // backgroundColor: isChoosedValueExists ? 'lightblue' : 'white',
89284
- color: isChoosedValueExists ? '#ffffff' : '#000000',
89285
- border: isChoosedValueExists ? '3px solid ' + sectionproperties.activeproductcolor : '1px solid ' + sectionproperties.variantcontainerbordercolor,
89286
- padding: (item === null || item === void 0 || (_item$option_info9 = item.option_info) === null || _item$option_info9 === void 0 ? void 0 : _item$option_info9.optionname) == 'Color' ? '5px' : '5px 10px',
89287
- cursor: valitem.disabled ? 'not-allowed' : 'pointer',
89288
- fontSize: '13px',
89289
- width: (item === null || item === void 0 || (_item$option_info0 = item.option_info) === null || _item$option_info0 === void 0 ? void 0 : _item$option_info0.optionname) == 'Color' ? 25 : '',
89290
- height: (item === null || item === void 0 || (_item$option_info1 = item.option_info) === null || _item$option_info1 === void 0 ? void 0 : _item$option_info1.optionname) == 'Color' ? 25 : '',
89291
- borderRadius: (item === null || item === void 0 || (_item$option_info10 = item.option_info) === null || _item$option_info10 === void 0 ? void 0 : _item$option_info10.optionname) == 'Color' ? 100 : 5,
89292
- background: (item === null || item === void 0 || (_item$option_info11 = item.option_info) === null || _item$option_info11 === void 0 ? void 0 : _item$option_info11.optionname) == 'Color' ? valitem === null || valitem === void 0 || (_valitem$valueinfo = valitem.valueinfo) === null || _valitem$valueinfo === void 0 ? void 0 : _valitem$valueinfo.valuename : isChoosedValueExists ? sectionproperties.activeproductcolor : '#ffffff',
89293
- fontWeight: 500
89294
- },
89295
- disabled: valitem.disabled
89296
- }, (item === null || item === void 0 || (_item$option_info12 = item.option_info) === null || _item$option_info12 === void 0 ? void 0 : _item$option_info12.optionname) == 'Color' ? '' : (valitem === null || valitem === void 0 || (_valitem$valueinfo2 = valitem.valueinfo) === null || _valitem$valueinfo2 === void 0 ? void 0 : _valitem$valueinfo2.valuename) || 'Unnamed'));
89297
- }
89298
- } else {
89299
- var _item$option_info13, _item$option_info14, _item$option_info15, _item$option_info16, _item$option_info17, _valitem$valueinfo3, _item$option_info18, _valitem$valueinfo4;
89300
- return /*#__PURE__*/React__default["default"].createElement("div", {
89301
- style: {
89302
- textAlign: 'center'
89303
- },
89304
- "class": "mx-1"
89305
- }, item.optionname, /*#__PURE__*/React__default["default"].createElement("button", {
89306
- onClick: function onClick() {
89307
- choose_valueFunc(valitem, item === null || item === void 0 ? void 0 : item.option_info);
89308
- },
89309
- style: {
89310
- // backgroundColor: isChoosedValueExists ? 'lightblue' : 'white',
89311
- color: isChoosedValueExists ? '#ffffff' : '#000000',
89312
- border: isChoosedValueExists ? '3px solid ' + sectionproperties.activeproductcolor : '1px solid ' + sectionproperties.variantcontainerbordercolor,
89313
- padding: (item === null || item === void 0 || (_item$option_info13 = item.option_info) === null || _item$option_info13 === void 0 ? void 0 : _item$option_info13.optionname) == 'Color' ? '5px' : '5px 10px',
89314
- cursor: valitem.disabled ? 'not-allowed' : 'pointer',
89315
- fontSize: '13px',
89316
- width: (item === null || item === void 0 || (_item$option_info14 = item.option_info) === null || _item$option_info14 === void 0 ? void 0 : _item$option_info14.optionname) == 'Color' ? 25 : '',
89317
- height: (item === null || item === void 0 || (_item$option_info15 = item.option_info) === null || _item$option_info15 === void 0 ? void 0 : _item$option_info15.optionname) == 'Color' ? 25 : '',
89318
- borderRadius: (item === null || item === void 0 || (_item$option_info16 = item.option_info) === null || _item$option_info16 === void 0 ? void 0 : _item$option_info16.optionname) == 'Color' ? 100 : 5,
89319
- background: (item === null || item === void 0 || (_item$option_info17 = item.option_info) === null || _item$option_info17 === void 0 ? void 0 : _item$option_info17.optionname) == 'Color' ? valitem === null || valitem === void 0 || (_valitem$valueinfo3 = valitem.valueinfo) === null || _valitem$valueinfo3 === void 0 ? void 0 : _valitem$valueinfo3.valuename : isChoosedValueExists ? sectionproperties.activeproductcolor : '#ffffff',
89320
- fontWeight: 500
89321
- },
89322
- disabled: valitem.disabled
89323
- }, (item === null || item === void 0 || (_item$option_info18 = item.option_info) === null || _item$option_info18 === void 0 ? void 0 : _item$option_info18.optionname) == 'Color' ? '' : (valitem === null || valitem === void 0 || (_valitem$valueinfo4 = valitem.valueinfo) === null || _valitem$valueinfo4 === void 0 ? void 0 : _valitem$valueinfo4.valuename) || 'Unnamed'));
89268
+ return /*#__PURE__*/React__default["default"].createElement("div", {
89269
+ className: "col-lg-12 col-md-12 d-flex mb-2 allcentered scrollhorixontalcontainer p-sm-0"
89270
+ }, item === null || item === void 0 || (_item$values5 = item.values) === null || _item$values5 === void 0 ? void 0 : _item$values5.map(function (valitem, valindex) {
89271
+ var isChoosedValueExists = false;
89272
+ choosen_values === null || choosen_values === void 0 || choosen_values.forEach(function (choseitem, choseindex) {
89273
+ if (choseitem != null) {
89274
+ if ((choseitem === null || choseitem === void 0 ? void 0 : choseitem.valueid) == (valitem === null || valitem === void 0 ? void 0 : valitem.valueid)) {
89275
+ isChoosedValueExists = true;
89324
89276
  }
89325
89277
  }
89326
- }), (item === null || item === void 0 || (_item$values6 = item.values) === null || _item$values6 === void 0 ? void 0 : _item$values6.length) > 4 && /*#__PURE__*/React__default["default"].createElement("div", {
89327
- className: "mx-1 d-flex align-items-center justify-content-center",
89328
- style: {
89329
- width: 25,
89330
- height: 25,
89331
- borderRadius: 100,
89332
- backgroundColor: sectionproperties.activeproductcolor,
89333
- color: '#fff',
89334
- fontSize: '13px',
89335
- cursor: 'pointer'
89336
- },
89337
- onClick: function onClick() {
89338
- cardonclickfunctionContext(sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.onClickRoute, props.actions.item.productid, props.actions.fetchingtypeprops, null);
89339
- }
89340
- }, "+", (item === null || item === void 0 || (_item$values7 = item.values) === null || _item$values7 === void 0 ? void 0 : _item$values7.length) - 4))
89341
- );
89278
+ });
89279
+ if (valindex <= 3) {
89280
+ var _item$option_info5, _item$option_info6, _item$option_info7, _item$option_info8, _item$option_info9, _valitem$valueinfo, _item$option_info0, _valitem$valueinfo2;
89281
+ return /*#__PURE__*/React__default["default"].createElement("div", {
89282
+ style: {
89283
+ textAlign: 'center'
89284
+ },
89285
+ "class": "mx-1"
89286
+ }, /*#__PURE__*/React__default["default"].createElement("button", {
89287
+ onClick: function onClick() {
89288
+ choose_valueFunc(valitem, item === null || item === void 0 ? void 0 : item.option_info);
89289
+ },
89290
+ style: {
89291
+ // backgroundColor: isChoosedValueExists ? 'lightblue' : 'white',
89292
+ color: isChoosedValueExists ? '#ffffff' : '#000000',
89293
+ border: isChoosedValueExists ? '3px solid ' + sectionproperties.activeproductcolor : '1px solid ' + sectionproperties.variantcontainerbordercolor,
89294
+ padding: (item === null || item === void 0 || (_item$option_info5 = item.option_info) === null || _item$option_info5 === void 0 ? void 0 : _item$option_info5.optionname) == 'Color' ? '5px' : '5px 10px',
89295
+ cursor: valitem.disabled ? 'not-allowed' : 'pointer',
89296
+ fontSize: '13px',
89297
+ width: (item === null || item === void 0 || (_item$option_info6 = item.option_info) === null || _item$option_info6 === void 0 ? void 0 : _item$option_info6.optionname) == 'Color' ? 25 : '',
89298
+ height: (item === null || item === void 0 || (_item$option_info7 = item.option_info) === null || _item$option_info7 === void 0 ? void 0 : _item$option_info7.optionname) == 'Color' ? 25 : '',
89299
+ borderRadius: (item === null || item === void 0 || (_item$option_info8 = item.option_info) === null || _item$option_info8 === void 0 ? void 0 : _item$option_info8.optionname) == 'Color' ? 100 : 5,
89300
+ background: (item === null || item === void 0 || (_item$option_info9 = item.option_info) === null || _item$option_info9 === void 0 ? void 0 : _item$option_info9.optionname) == 'Color' ? valitem === null || valitem === void 0 || (_valitem$valueinfo = valitem.valueinfo) === null || _valitem$valueinfo === void 0 ? void 0 : _valitem$valueinfo.valuename : isChoosedValueExists ? sectionproperties.activeproductcolor : '#ffffff',
89301
+ fontWeight: 500
89302
+ },
89303
+ disabled: valitem.disabled
89304
+ }, (item === null || item === void 0 || (_item$option_info0 = item.option_info) === null || _item$option_info0 === void 0 ? void 0 : _item$option_info0.optionname) == 'Color' ? '' : (valitem === null || valitem === void 0 || (_valitem$valueinfo2 = valitem.valueinfo) === null || _valitem$valueinfo2 === void 0 ? void 0 : _valitem$valueinfo2.valuename) || 'Unnamed'));
89305
+ }
89306
+ }), (item === null || item === void 0 || (_item$values6 = item.values) === null || _item$values6 === void 0 ? void 0 : _item$values6.length) > 4 && /*#__PURE__*/React__default["default"].createElement("div", {
89307
+ className: "mx-1 d-flex align-items-center justify-content-center",
89308
+ style: {
89309
+ width: 25,
89310
+ height: 25,
89311
+ borderRadius: 100,
89312
+ backgroundColor: sectionproperties.activeproductcolor,
89313
+ color: '#fff',
89314
+ fontSize: '13px',
89315
+ cursor: 'pointer'
89316
+ },
89317
+ onClick: function onClick() {
89318
+ cardonclickfunctionContext(sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.onClickRoute, props.actions.item.productid, props.actions.fetchingtypeprops, null);
89319
+ }
89320
+ }, "+", (item === null || item === void 0 || (_item$values7 = item.values) === null || _item$values7 === void 0 ? void 0 : _item$values7.length) - 4));
89342
89321
  })));
89343
89322
  };
89344
89323