tabexseriescomponents 0.2.1173 → 0.2.1174

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
@@ -13796,7 +13796,7 @@ styleInject(css_248z$G);
13796
13796
  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; }
13797
13797
  function _objectSpread$2w(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$2w(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$2w(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
13798
13798
  var Checkout = function Checkout(props) {
13799
- var _fetchTabexCountriesQ2, _css, _fetchcustomercartQue72, _authdetailsContext$i0, _authdetailsContext$i1, _fetchcustomercartQue73, _authdetailsContext$i10, _fetchcustomercartQue74, _authdetailsContext$i11, _authdetailsContext$i12, _authdetailsContext$i13, _authdetailsContext$i14, _authdetailsContext$i15, _fetchcustomercartQue75, _authdetailsContext$i16, _fetchcustomercartQue81, _fetchcustomercartQue82, _fetchcustomercartQue83, _fetchcustomercartQue84, _authdetailsContext$i21, _authdetailsContext$i22, _authdetailsContext$i23, _fetchcustomercartQue85, _authdetailsContext$i24, _authdetailsContext$i25, _authdetailsContext$i26, _authdetailsContext$i27, _fetchcustomercartQue87, _authdetailsContext$i28, _fetchcustomercartQue89, _authdetailsContext$i29, _authdetailsContext$i30, _authdetailsContext$i31, _fetchcustomercartQue91, _authdetailsContext$i32, _fetchcustomercartQue93, _fetchcustomercartQue95, _authdetailsContext$i33, _fetchcustomercartQue97, _authdetailsContext$i34, _fetchcustomercartQue99, _authdetailsContext$i35, _fetchcustomercartQue101, _authdetailsContext$i36, _fetchcustomercartQue103, _authdetailsContext$i37, _fetchcustomercartQue105, _authdetailsContext$i38, _fetchcustomercartQue107, _authdetailsContext$i39, _fetchcustomercartQue109, _fetchcustomercartQue111, _fetchcustomercartQue112;
13799
+ var _fetchTabexCountriesQ2, _css, _fetchcustomercartQue72, _authdetailsContext$i0, _authdetailsContext$i1, _fetchcustomercartQue73, _authdetailsContext$i10, _fetchcustomercartQue74, _authdetailsContext$i11, _authdetailsContext$i12, _authdetailsContext$i13, _authdetailsContext$i14, _authdetailsContext$i15, _fetchcustomercartQue75, _authdetailsContext$i16, _fetchcustomercartQue81, _fetchcustomercartQue82, _fetchcustomercartQue83, _fetchcustomercartQue84, _authdetailsContext$i25, _authdetailsContext$i26, _authdetailsContext$i27, _fetchcustomercartQue85, _authdetailsContext$i28, _authdetailsContext$i29, _authdetailsContext$i30, _authdetailsContext$i31, _fetchcustomercartQue87, _authdetailsContext$i32, _fetchcustomercartQue89, _authdetailsContext$i33, _authdetailsContext$i34, _authdetailsContext$i35, _fetchcustomercartQue91, _authdetailsContext$i36, _fetchcustomercartQue93, _fetchcustomercartQue95, _authdetailsContext$i37, _fetchcustomercartQue97, _authdetailsContext$i38, _fetchcustomercartQue99, _authdetailsContext$i39, _fetchcustomercartQue101, _authdetailsContext$i40, _fetchcustomercartQue103, _authdetailsContext$i41, _fetchcustomercartQue105, _authdetailsContext$i42, _fetchcustomercartQue107, _authdetailsContext$i43, _fetchcustomercartQue109, _fetchcustomercartQue111, _fetchcustomercartQue112;
13800
13800
  var _useState = React.useState(null),
13801
13801
  _useState2 = _slicedToArray__default["default"](_useState, 2);
13802
13802
  _useState2[0];
@@ -15305,7 +15305,115 @@ var Checkout = function Checkout(props) {
15305
15305
 
15306
15306
  var currentDate = year + '-' + month + '-' + day;
15307
15307
  if (item.type == 'date') {
15308
- var _authdetailsContext$i19, _authdetailsContext$i20;
15308
+ // events mart
15309
+
15310
+ if (item.title_en == 'Event Date') {
15311
+ var _authdetailsContext$i19, _authdetailsContext$i20;
15312
+ return /*#__PURE__*/React__default["default"].createElement("div", {
15313
+ className: "col-lg-6 col-md-12 mb-3"
15314
+ }, /*#__PURE__*/React__default["default"].createElement("label", {
15315
+ className: "".concat(checkoutstyles.input_label_name) + ' d-flex align-items-start flex-column ',
15316
+ style: {
15317
+ textTransform: 'none'
15318
+ }
15319
+ }, /*#__PURE__*/React__default["default"].createElement("span", null, langdetect == 'en' ? item.title_en : item.title_ar, item.isrequired == 1 && /*#__PURE__*/React__default["default"].createElement("sup", {
15320
+ "class": "mx-2",
15321
+ style: {
15322
+ color: 'var(--danger)'
15323
+ }
15324
+ }, "*")), /*#__PURE__*/React__default["default"].createElement("span", {
15325
+ style: {
15326
+ fontSize: 13,
15327
+ fontWeight: 300
15328
+ }
15329
+ }, langdetect == 'en' ? 'Note: You can only select a date starting 10 days from today. Earlier dates are not allowed.' : 'ملاحظة: يمكنك اختيار تاريخ يبدأ بعد 10 أيام من اليوم فقط. لا يُسمح باختيار تواريخ أقدم.')), /*#__PURE__*/React__default["default"].createElement("input", {
15330
+ type: 'date',
15331
+ className: "".concat(formstyles.form_control, " ").concat(checkoutstyles.form_control),
15332
+ value: item.value
15333
+ // onChange={(event) => {
15334
+ // var temporderextrafeilds = [...orderextrafeilds];
15335
+ // temporderextrafeilds[index].value = event.target.value;
15336
+ // setorderextrafeilds([...temporderextrafeilds]);
15337
+ // }}
15338
+ ,
15339
+ onChange: function onChange(event) {
15340
+ var _authdetailsContext$i17;
15341
+ if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i17 = authdetailsContext.instinfo) === null || _authdetailsContext$i17 === void 0 || (_authdetailsContext$i17 = _authdetailsContext$i17.contactinfo) === null || _authdetailsContext$i17 === void 0 ? void 0 : _authdetailsContext$i17.instid) == '66b4a0338cb14') {
15342
+ var selectedDate = event.target.value;
15343
+ if (selectedDate != undefined && selectedDate != null && selectedDate != '' && selectedDate.length != 0) {
15344
+ var _authdetailsContext$i18;
15345
+ var minDate = (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i18 = authdetailsContext.instinfo) === null || _authdetailsContext$i18 === void 0 || (_authdetailsContext$i18 = _authdetailsContext$i18.contactinfo) === null || _authdetailsContext$i18 === void 0 ? void 0 : _authdetailsContext$i18.instid) === '66b4a0338cb14' ? new Date(Date.now() + 11 * 24 * 60 * 60 * 1000).toISOString().split('T')[0] : null;
15346
+ if (minDate && selectedDate < minDate) {
15347
+ // alert(`Please select a date on or after ${minDate}`);
15348
+ return;
15349
+ }
15350
+ var temporderextrafeilds = _toConsumableArray__default["default"](orderextrafeilds);
15351
+ temporderextrafeilds[index].value = selectedDate;
15352
+ setorderextrafeilds(_toConsumableArray__default["default"](temporderextrafeilds));
15353
+ }
15354
+ } else {
15355
+ var temporderextrafeilds = _toConsumableArray__default["default"](orderextrafeilds);
15356
+ temporderextrafeilds[index].value = event.target.value;
15357
+ setorderextrafeilds(_toConsumableArray__default["default"](temporderextrafeilds));
15358
+ }
15359
+ },
15360
+ style: {
15361
+ boxShadow: 'none'
15362
+ },
15363
+ min: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i19 = authdetailsContext.instinfo) === null || _authdetailsContext$i19 === void 0 ? void 0 : _authdetailsContext$i19.contactinfo.instid) == '66b4a0338cb14' ? new Date(Date.now() + 11 * 24 * 60 * 60 * 1000) // allow starting 11 days after today
15364
+ .toISOString().split('T')[0] : (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i20 = authdetailsContext.instinfo) === null || _authdetailsContext$i20 === void 0 ? void 0 : _authdetailsContext$i20.contactinfo.instid) == '6908bb20bbca3' ? currentDate : null
15365
+ }));
15366
+ } else {
15367
+ var _authdetailsContext$i23, _authdetailsContext$i24;
15368
+ return /*#__PURE__*/React__default["default"].createElement("div", {
15369
+ className: "col-lg-6 col-md-12 mb-3"
15370
+ }, /*#__PURE__*/React__default["default"].createElement("label", {
15371
+ className: "".concat(checkoutstyles.input_label_name) + ' d-flex align-items-start '
15372
+ }, langdetect == 'en' ? item.title_en : item.title_ar, item.isrequired == 1 && /*#__PURE__*/React__default["default"].createElement("sup", {
15373
+ "class": "mx-2",
15374
+ style: {
15375
+ color: 'var(--danger)'
15376
+ }
15377
+ }, "*")), /*#__PURE__*/React__default["default"].createElement("input", {
15378
+ type: 'date',
15379
+ className: "".concat(formstyles.form_control, " ").concat(checkoutstyles.form_control),
15380
+ value: item.value
15381
+ // onChange={(event) => {
15382
+ // var temporderextrafeilds = [...orderextrafeilds];
15383
+ // temporderextrafeilds[index].value = event.target.value;
15384
+ // setorderextrafeilds([...temporderextrafeilds]);
15385
+ // }}
15386
+ ,
15387
+ onChange: function onChange(event) {
15388
+ var _authdetailsContext$i21;
15389
+ if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i21 = authdetailsContext.instinfo) === null || _authdetailsContext$i21 === void 0 || (_authdetailsContext$i21 = _authdetailsContext$i21.contactinfo) === null || _authdetailsContext$i21 === void 0 ? void 0 : _authdetailsContext$i21.instid) == '66b4a0338cb14') {
15390
+ var selectedDate = event.target.value;
15391
+ if (selectedDate != undefined && selectedDate != null && selectedDate != '' && selectedDate.length != 0) {
15392
+ var _authdetailsContext$i22;
15393
+ var minDate = (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i22 = authdetailsContext.instinfo) === null || _authdetailsContext$i22 === void 0 || (_authdetailsContext$i22 = _authdetailsContext$i22.contactinfo) === null || _authdetailsContext$i22 === void 0 ? void 0 : _authdetailsContext$i22.instid) === '66b4a0338cb14' ? new Date(Date.now() + 11 * 24 * 60 * 60 * 1000).toISOString().split('T')[0] : null;
15394
+ if (minDate && selectedDate < minDate) {
15395
+ // alert(`Please select a date on or after ${minDate}`);
15396
+ return;
15397
+ }
15398
+ var temporderextrafeilds = _toConsumableArray__default["default"](orderextrafeilds);
15399
+ temporderextrafeilds[index].value = selectedDate;
15400
+ setorderextrafeilds(_toConsumableArray__default["default"](temporderextrafeilds));
15401
+ }
15402
+ } else {
15403
+ var temporderextrafeilds = _toConsumableArray__default["default"](orderextrafeilds);
15404
+ temporderextrafeilds[index].value = event.target.value;
15405
+ setorderextrafeilds(_toConsumableArray__default["default"](temporderextrafeilds));
15406
+ }
15407
+ },
15408
+ style: {
15409
+ boxShadow: 'none'
15410
+ },
15411
+ min: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i23 = authdetailsContext.instinfo) === null || _authdetailsContext$i23 === void 0 ? void 0 : _authdetailsContext$i23.contactinfo.instid) == '66b4a0338cb14' ? new Date(Date.now() + 11 * 24 * 60 * 60 * 1000) // allow starting 11 days after today
15412
+ .toISOString().split('T')[0] : (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i24 = authdetailsContext.instinfo) === null || _authdetailsContext$i24 === void 0 ? void 0 : _authdetailsContext$i24.contactinfo.instid) == '6908bb20bbca3' ? currentDate : null
15413
+ }));
15414
+ }
15415
+ }
15416
+ if (item.type == 'time') {
15309
15417
  return /*#__PURE__*/React__default["default"].createElement("div", {
15310
15418
  className: "col-lg-6 col-md-12 mb-3"
15311
15419
  }, /*#__PURE__*/React__default["default"].createElement("label", {
@@ -15316,55 +15424,39 @@ var Checkout = function Checkout(props) {
15316
15424
  color: 'var(--danger)'
15317
15425
  }
15318
15426
  }, "*")), /*#__PURE__*/React__default["default"].createElement("input", {
15319
- type: 'date',
15427
+ type: 'time',
15320
15428
  className: "".concat(formstyles.form_control, " ").concat(checkoutstyles.form_control),
15321
- value: item.value
15322
- // onChange={(event) => {
15323
- // var temporderextrafeilds = [...orderextrafeilds];
15324
- // temporderextrafeilds[index].value = event.target.value;
15325
- // setorderextrafeilds([...temporderextrafeilds]);
15326
- // }}
15327
- ,
15429
+ value: item.value,
15328
15430
  onChange: function onChange(event) {
15329
- var _authdetailsContext$i17;
15330
- if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i17 = authdetailsContext.instinfo) === null || _authdetailsContext$i17 === void 0 || (_authdetailsContext$i17 = _authdetailsContext$i17.contactinfo) === null || _authdetailsContext$i17 === void 0 ? void 0 : _authdetailsContext$i17.instid) == '66b4a0338cb14') {
15331
- var selectedDate = event.target.value;
15332
- if (selectedDate != undefined && selectedDate != null && selectedDate != '' && selectedDate.length != 0) {
15333
- var _authdetailsContext$i18;
15334
- var minDate = (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i18 = authdetailsContext.instinfo) === null || _authdetailsContext$i18 === void 0 || (_authdetailsContext$i18 = _authdetailsContext$i18.contactinfo) === null || _authdetailsContext$i18 === void 0 ? void 0 : _authdetailsContext$i18.instid) === '66b4a0338cb14' ? new Date(Date.now() + 11 * 24 * 60 * 60 * 1000).toISOString().split('T')[0] : null;
15335
- if (minDate && selectedDate < minDate) {
15336
- // alert(`Please select a date on or after ${minDate}`);
15337
- return;
15338
- }
15339
- var temporderextrafeilds = _toConsumableArray__default["default"](orderextrafeilds);
15340
- temporderextrafeilds[index].value = selectedDate;
15341
- setorderextrafeilds(_toConsumableArray__default["default"](temporderextrafeilds));
15342
- }
15343
- } else {
15344
- var temporderextrafeilds = _toConsumableArray__default["default"](orderextrafeilds);
15345
- temporderextrafeilds[index].value = event.target.value;
15346
- setorderextrafeilds(_toConsumableArray__default["default"](temporderextrafeilds));
15347
- }
15431
+ var temporderextrafeilds = _toConsumableArray__default["default"](orderextrafeilds);
15432
+ temporderextrafeilds[index].value = event.target.value;
15433
+ setorderextrafeilds(_toConsumableArray__default["default"](temporderextrafeilds));
15348
15434
  },
15349
15435
  style: {
15350
15436
  boxShadow: 'none'
15351
- },
15352
- min: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i19 = authdetailsContext.instinfo) === null || _authdetailsContext$i19 === void 0 ? void 0 : _authdetailsContext$i19.contactinfo.instid) == '66b4a0338cb14' ? new Date(Date.now() + 11 * 24 * 60 * 60 * 1000) // allow starting 11 days after today
15353
- .toISOString().split('T')[0] : (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i20 = authdetailsContext.instinfo) === null || _authdetailsContext$i20 === void 0 ? void 0 : _authdetailsContext$i20.contactinfo.instid) == '6908bb20bbca3' ? currentDate : null
15437
+ }
15354
15438
  }));
15355
15439
  }
15356
- if (item.type == 'time') {
15440
+ if (item.type == 'text') {
15357
15441
  return /*#__PURE__*/React__default["default"].createElement("div", {
15358
15442
  className: "col-lg-6 col-md-12 mb-3"
15359
15443
  }, /*#__PURE__*/React__default["default"].createElement("label", {
15360
- className: "".concat(checkoutstyles.input_label_name) + ' d-flex align-items-start '
15361
- }, langdetect == 'en' ? item.title_en : item.title_ar, item.isrequired == 1 && /*#__PURE__*/React__default["default"].createElement("sup", {
15444
+ className: "".concat(checkoutstyles.input_label_name) + ' d-flex align-items-start flex-column ',
15445
+ style: {
15446
+ textTransform: 'none'
15447
+ }
15448
+ }, /*#__PURE__*/React__default["default"].createElement("span", null, langdetect == 'en' ? item.title_en : item.title_ar, item.isrequired == 1 && /*#__PURE__*/React__default["default"].createElement("sup", {
15362
15449
  "class": "mx-2",
15363
15450
  style: {
15364
15451
  color: 'var(--danger)'
15365
15452
  }
15366
- }, "*")), /*#__PURE__*/React__default["default"].createElement("input", {
15367
- type: 'time',
15453
+ }, "*")), /*#__PURE__*/React__default["default"].createElement("span", {
15454
+ style: {
15455
+ fontSize: 13,
15456
+ fontWeight: 300
15457
+ }
15458
+ }, langdetect == 'en' ? 'Note: You can only select a date starting 10 days from today. Earlier dates are not allowed.' : 'ملاحظة: يمكنك اختيار تاريخ يبدأ بعد 10 أيام من اليوم فقط. لا يُسمح باختيار تواريخ أقدم.')), /*#__PURE__*/React__default["default"].createElement("input", {
15459
+ type: 'text',
15368
15460
  className: "".concat(formstyles.form_control, " ").concat(checkoutstyles.form_control),
15369
15461
  value: item.value,
15370
15462
  onChange: function onChange(event) {
@@ -15377,40 +15469,21 @@ var Checkout = function Checkout(props) {
15377
15469
  }
15378
15470
  }));
15379
15471
  }
15380
- if (item.type == 'text') {
15381
- // events mart
15382
- if (item.title_en == 'Event Date') {
15383
- return /*#__PURE__*/React__default["default"].createElement("div", {
15384
- className: "col-lg-6 col-md-12 mb-3"
15385
- }, /*#__PURE__*/React__default["default"].createElement("label", {
15386
- className: "".concat(checkoutstyles.input_label_name) + ' d-flex align-items-start flex-column ',
15387
- style: {
15388
- textTransform: 'none'
15389
- }
15390
- }, /*#__PURE__*/React__default["default"].createElement("span", null, langdetect == 'en' ? item.title_en : item.title_ar, item.isrequired == 1 && /*#__PURE__*/React__default["default"].createElement("sup", {
15391
- "class": "mx-2",
15392
- style: {
15393
- color: 'var(--danger)'
15394
- }
15395
- }, "*")), /*#__PURE__*/React__default["default"].createElement("span", {
15396
- style: {
15397
- fontSize: 13,
15398
- fontWeight: 300
15399
- }
15400
- }, langdetect == 'en' ? 'Note: You can only select a date starting 10 days from today. Earlier dates are not allowed.' : 'ملاحظة: يمكنك اختيار تاريخ يبدأ بعد 10 أيام من اليوم فقط. لا يُسمح باختيار تواريخ أقدم.')), /*#__PURE__*/React__default["default"].createElement("input", {
15401
- type: 'text',
15402
- className: "".concat(formstyles.form_control, " ").concat(checkoutstyles.form_control),
15403
- value: item.value,
15404
- onChange: function onChange(event) {
15405
- var temporderextrafeilds = _toConsumableArray__default["default"](orderextrafeilds);
15406
- temporderextrafeilds[index].value = event.target.value;
15407
- setorderextrafeilds(_toConsumableArray__default["default"](temporderextrafeilds));
15408
- },
15409
- style: {
15410
- boxShadow: 'none'
15411
- }
15412
- }));
15413
- } else if (item.title_en == 'Event Type') {
15472
+ if (item.type == 'selectbox') {
15473
+ var selectboxarr = [];
15474
+ if ((item === null || item === void 0 ? void 0 : item.selectboxvalues) != undefined && (item === null || item === void 0 ? void 0 : item.selectboxvalues) != null) {
15475
+ var jsones = JSON.parse(item === null || item === void 0 ? void 0 : item.selectboxvalues);
15476
+ // var jsones = JSON.parse(undefined);
15477
+ if (jsones != undefined && jsones != null && Array.isArray(jsones)) {
15478
+ jsones === null || jsones === void 0 || jsones.forEach(function (slecitem) {
15479
+ selectboxarr.push({
15480
+ value_en: slecitem.value_en,
15481
+ value_ar: slecitem.value_ar
15482
+ });
15483
+ });
15484
+ }
15485
+ }
15486
+ if (item.title_en == 'Event Type') {
15414
15487
  return /*#__PURE__*/React__default["default"].createElement("div", {
15415
15488
  className: "col-lg-6 col-md-12 mb-3"
15416
15489
  }, /*#__PURE__*/React__default["default"].createElement("label", {
@@ -15428,7 +15501,7 @@ var Checkout = function Checkout(props) {
15428
15501
  fontSize: 13,
15429
15502
  fontWeight: 300
15430
15503
  }
15431
- }, langdetect == 'en' ? 'To ensure a smooth experience, please ensure your event matches the selected "Event Type". Eventsmart may cancel events that do not comply.' : 'لضمان تجربة سلسة، يُرجى التأكد من أن فعاليتك تتطابق مع "نوع الفعالية" المُختار. قد تقوم Eventsmart بإلغاء الفعاليات التي لا تتوافق مع هذا النوع.')), /*#__PURE__*/React__default["default"].createElement("input", {
15504
+ }, langdetect == 'en' ? 'To ensure a smooth experience, please ensure your event matches the selected "Event Type". Eventsmart may cancel events that do not comply.' : 'لضمان تجربة سلسة، يُرجى التأكد من أن فعاليتك تتطابق مع "نوع الفعالية" المُختار. قد تقوم Eventsmart بإلغاء الفعاليات التي لا تتوافق مع هذا النوع.')), /*#__PURE__*/React__default["default"].createElement("select", {
15432
15505
  type: 'text',
15433
15506
  className: "".concat(formstyles.form_control, " ").concat(checkoutstyles.form_control),
15434
15507
  value: item.value,
@@ -15440,7 +15513,14 @@ var Checkout = function Checkout(props) {
15440
15513
  style: {
15441
15514
  boxShadow: 'none'
15442
15515
  }
15443
- }));
15516
+ }, /*#__PURE__*/React__default["default"].createElement("option", {
15517
+ value: ""
15518
+ }, langdetect == 'en' ? 'Choose' : 'اختر'), selectboxarr === null || selectboxarr === void 0 ? void 0 : selectboxarr.map(function (option, optionIndex) {
15519
+ return /*#__PURE__*/React__default["default"].createElement("option", {
15520
+ key: optionIndex,
15521
+ value: option.value_en
15522
+ }, langdetect == 'en' ? option.value_en : option.value_ar);
15523
+ })));
15444
15524
  } else {
15445
15525
  return /*#__PURE__*/React__default["default"].createElement("div", {
15446
15526
  className: "col-lg-6 col-md-12 mb-3"
@@ -15451,7 +15531,7 @@ var Checkout = function Checkout(props) {
15451
15531
  style: {
15452
15532
  color: 'var(--danger)'
15453
15533
  }
15454
- }, "*")), /*#__PURE__*/React__default["default"].createElement("input", {
15534
+ }, "*")), /*#__PURE__*/React__default["default"].createElement("select", {
15455
15535
  type: 'text',
15456
15536
  className: "".concat(formstyles.form_control, " ").concat(checkoutstyles.form_control),
15457
15537
  value: item.value,
@@ -15463,52 +15543,15 @@ var Checkout = function Checkout(props) {
15463
15543
  style: {
15464
15544
  boxShadow: 'none'
15465
15545
  }
15466
- }));
15467
- }
15468
- }
15469
- if (item.type == 'selectbox') {
15470
- var selectboxarr = [];
15471
- if ((item === null || item === void 0 ? void 0 : item.selectboxvalues) != undefined && (item === null || item === void 0 ? void 0 : item.selectboxvalues) != null) {
15472
- var jsones = JSON.parse(item === null || item === void 0 ? void 0 : item.selectboxvalues);
15473
- // var jsones = JSON.parse(undefined);
15474
- if (jsones != undefined && jsones != null && Array.isArray(jsones)) {
15475
- jsones === null || jsones === void 0 || jsones.forEach(function (slecitem) {
15476
- selectboxarr.push({
15477
- value_en: slecitem.value_en,
15478
- value_ar: slecitem.value_ar
15479
- });
15480
- });
15481
- }
15546
+ }, /*#__PURE__*/React__default["default"].createElement("option", {
15547
+ value: ""
15548
+ }, langdetect == 'en' ? 'Choose' : 'اختر'), selectboxarr === null || selectboxarr === void 0 ? void 0 : selectboxarr.map(function (option, optionIndex) {
15549
+ return /*#__PURE__*/React__default["default"].createElement("option", {
15550
+ key: optionIndex,
15551
+ value: option.value_en
15552
+ }, langdetect == 'en' ? option.value_en : option.value_ar);
15553
+ })));
15482
15554
  }
15483
- return /*#__PURE__*/React__default["default"].createElement("div", {
15484
- className: "col-lg-6 col-md-12 mb-3"
15485
- }, /*#__PURE__*/React__default["default"].createElement("label", {
15486
- className: "".concat(checkoutstyles.input_label_name) + ' d-flex align-items-start '
15487
- }, langdetect == 'en' ? item.title_en : item.title_ar, item.isrequired == 1 && /*#__PURE__*/React__default["default"].createElement("sup", {
15488
- "class": "mx-2",
15489
- style: {
15490
- color: 'var(--danger)'
15491
- }
15492
- }, "*")), /*#__PURE__*/React__default["default"].createElement("select", {
15493
- type: 'text',
15494
- className: "".concat(formstyles.form_control, " ").concat(checkoutstyles.form_control),
15495
- value: item.value,
15496
- onChange: function onChange(event) {
15497
- var temporderextrafeilds = _toConsumableArray__default["default"](orderextrafeilds);
15498
- temporderextrafeilds[index].value = event.target.value;
15499
- setorderextrafeilds(_toConsumableArray__default["default"](temporderextrafeilds));
15500
- },
15501
- style: {
15502
- boxShadow: 'none'
15503
- }
15504
- }, /*#__PURE__*/React__default["default"].createElement("option", {
15505
- value: ""
15506
- }, langdetect == 'en' ? 'Choose' : 'اختر'), selectboxarr === null || selectboxarr === void 0 ? void 0 : selectboxarr.map(function (option, optionIndex) {
15507
- return /*#__PURE__*/React__default["default"].createElement("option", {
15508
- key: optionIndex,
15509
- value: option.value_en
15510
- }, langdetect == 'en' ? option.value_en : option.value_ar);
15511
- })));
15512
15555
  }
15513
15556
  })))), sectionproperties.showpaymentfooter == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
15514
15557
  className: "col-lg-12 p-0 w-100"
@@ -15525,15 +15568,15 @@ var Checkout = function Checkout(props) {
15525
15568
  })), /*#__PURE__*/React__default["default"].createElement("div", {
15526
15569
  className: "row m-0 w-100 mb-3 pl-3 pr-3"
15527
15570
  }, authdetailsContext.instinfo.acceptCOD == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
15528
- className: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i21 = authdetailsContext.instinfo) === null || _authdetailsContext$i21 === void 0 ? void 0 : _authdetailsContext$i21.contactinfo.instid) == '67d7e9d5dbe11' ? 'col-xl-12 col-lg-12 col-md-12 mb-3 px-4 py-3 px-sm-3' : 'col-xl-4 col-lg-4 col-md-12 mb-3',
15571
+ className: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i25 = authdetailsContext.instinfo) === null || _authdetailsContext$i25 === void 0 ? void 0 : _authdetailsContext$i25.contactinfo.instid) == '67d7e9d5dbe11' ? 'col-xl-12 col-lg-12 col-md-12 mb-3 px-4 py-3 px-sm-3' : 'col-xl-4 col-lg-4 col-md-12 mb-3',
15529
15572
  style: {
15530
- border: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i22 = authdetailsContext.instinfo) === null || _authdetailsContext$i22 === void 0 ? void 0 : _authdetailsContext$i22.contactinfo.instid) == '67d7e9d5dbe11' ? '1px solid #ccc' : 0,
15573
+ border: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i26 = authdetailsContext.instinfo) === null || _authdetailsContext$i26 === void 0 ? void 0 : _authdetailsContext$i26.contactinfo.instid) == '67d7e9d5dbe11' ? '1px solid #ccc' : 0,
15531
15574
  borderRadius: 15
15532
15575
  }
15533
15576
  }, /*#__PURE__*/React__default["default"].createElement("div", {
15534
15577
  "class": "row m-0 w-100 d-flex align-items-center"
15535
15578
  }, /*#__PURE__*/React__default["default"].createElement("div", {
15536
- "class": (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i23 = authdetailsContext.instinfo) === null || _authdetailsContext$i23 === void 0 ? void 0 : _authdetailsContext$i23.contactinfo.instid) == '67d7e9d5dbe11' ? 'col-9 p-0' : 'col-12 p-0'
15579
+ "class": (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i27 = authdetailsContext.instinfo) === null || _authdetailsContext$i27 === void 0 ? void 0 : _authdetailsContext$i27.contactinfo.instid) == '67d7e9d5dbe11' ? 'col-9 p-0' : 'col-12 p-0'
15537
15580
  }, /*#__PURE__*/React__default["default"].createElement("label", {
15538
15581
  className: langdetect == 'en' ? "".concat(formstyles.checkbox, " ").concat(checkoutstyles.checkbox, " ") + ' d-flex mb-0 ' : "".concat(formstyles.checkbox, " ").concat(formstyles.checkboxtranslated) + ' d-flex mb-0 ',
15539
15582
  "for": "codcheckbox"
@@ -15559,21 +15602,21 @@ var Checkout = function Checkout(props) {
15559
15602
  style: {
15560
15603
  color: sectionproperties.checkbox_color
15561
15604
  }
15562
- }, langdetect == 'en' ? sectionproperties.cod_text_en : sectionproperties.cod_text_ar))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i24 = authdetailsContext.instinfo) === null || _authdetailsContext$i24 === void 0 ? void 0 : _authdetailsContext$i24.contactinfo.instid) == '67d7e9d5dbe11' && /*#__PURE__*/React__default["default"].createElement("div", {
15605
+ }, langdetect == 'en' ? sectionproperties.cod_text_en : sectionproperties.cod_text_ar))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i28 = authdetailsContext.instinfo) === null || _authdetailsContext$i28 === void 0 ? void 0 : _authdetailsContext$i28.contactinfo.instid) == '67d7e9d5dbe11' && /*#__PURE__*/React__default["default"].createElement("div", {
15563
15606
  "class": "col-3 text-end p-0"
15564
15607
  }, /*#__PURE__*/React__default["default"].createElement("img", {
15565
15608
  src: 'https://tabex-co.com/storage/StaticImages/cod.png',
15566
15609
  "class": checkoutstyles.codimage + ' mx-2 '
15567
15610
  })))), authdetailsContext.instinfo.acceptInstapay == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
15568
- className: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i25 = authdetailsContext.instinfo) === null || _authdetailsContext$i25 === void 0 ? void 0 : _authdetailsContext$i25.contactinfo.instid) == '67d7e9d5dbe11' ? 'col-xl-12 col-lg-12 col-md-12 mb-3 px-4 py-3 px-sm-3' : 'col-xl-4 col-lg-4 col-md-12 mb-3',
15611
+ className: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i29 = authdetailsContext.instinfo) === null || _authdetailsContext$i29 === void 0 ? void 0 : _authdetailsContext$i29.contactinfo.instid) == '67d7e9d5dbe11' ? 'col-xl-12 col-lg-12 col-md-12 mb-3 px-4 py-3 px-sm-3' : 'col-xl-4 col-lg-4 col-md-12 mb-3',
15569
15612
  style: {
15570
- border: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i26 = authdetailsContext.instinfo) === null || _authdetailsContext$i26 === void 0 ? void 0 : _authdetailsContext$i26.contactinfo.instid) == '67d7e9d5dbe11' ? '1px solid #ccc' : 0,
15613
+ border: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i30 = authdetailsContext.instinfo) === null || _authdetailsContext$i30 === void 0 ? void 0 : _authdetailsContext$i30.contactinfo.instid) == '67d7e9d5dbe11' ? '1px solid #ccc' : 0,
15571
15614
  borderRadius: 15
15572
15615
  }
15573
15616
  }, /*#__PURE__*/React__default["default"].createElement("div", {
15574
15617
  "class": "row m-0 w-100 d-flex align-items-center"
15575
15618
  }, /*#__PURE__*/React__default["default"].createElement("div", {
15576
- "class": (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i27 = authdetailsContext.instinfo) === null || _authdetailsContext$i27 === void 0 ? void 0 : _authdetailsContext$i27.contactinfo.instid) == '67d7e9d5dbe11' ? 'col-9 p-0' : 'col-12 p-0'
15619
+ "class": (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i31 = authdetailsContext.instinfo) === null || _authdetailsContext$i31 === void 0 ? void 0 : _authdetailsContext$i31.contactinfo.instid) == '67d7e9d5dbe11' ? 'col-9 p-0' : 'col-12 p-0'
15577
15620
  }, /*#__PURE__*/React__default["default"].createElement("label", {
15578
15621
  className: langdetect == 'en' ? "".concat(formstyles.checkbox, " ").concat(checkoutstyles.checkbox, " ") + ' d-flex mb-0 ' : "".concat(formstyles.checkbox, " ").concat(formstyles.checkboxtranslated) + ' d-flex mb-0 ',
15579
15622
  "for": "codcheckbox"
@@ -15600,7 +15643,7 @@ var Checkout = function Checkout(props) {
15600
15643
  style: {
15601
15644
  color: sectionproperties.checkbox_color
15602
15645
  }
15603
- }, langdetect == 'en' ? sectionproperties.instapaytitleen : sectionproperties.instapaytitlear))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i28 = authdetailsContext.instinfo) === null || _authdetailsContext$i28 === void 0 ? void 0 : _authdetailsContext$i28.contactinfo.instid) == '67d7e9d5dbe11' && /*#__PURE__*/React__default["default"].createElement("div", {
15646
+ }, langdetect == 'en' ? sectionproperties.instapaytitleen : sectionproperties.instapaytitlear))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i32 = authdetailsContext.instinfo) === null || _authdetailsContext$i32 === void 0 ? void 0 : _authdetailsContext$i32.contactinfo.instid) == '67d7e9d5dbe11' && /*#__PURE__*/React__default["default"].createElement("div", {
15604
15647
  "class": "col-3 text-end p-0"
15605
15648
  }, /*#__PURE__*/React__default["default"].createElement("img", {
15606
15649
  src: 'https://tabex-co.com/storage/StaticImages/instapay.png',
@@ -15631,15 +15674,15 @@ var Checkout = function Checkout(props) {
15631
15674
  /*#__PURE__*/
15632
15675
  // <div className=""
15633
15676
  React__default["default"].createElement("div", {
15634
- className: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i29 = authdetailsContext.instinfo) === null || _authdetailsContext$i29 === void 0 ? void 0 : _authdetailsContext$i29.contactinfo.instid) == '67d7e9d5dbe11' ? 'col-xl-12 col-lg-12 col-md-12 mb-3 px-4 py-3 px-sm-3' : 'col-xl-4 col-lg-4 col-md-12 mb-3',
15677
+ className: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i33 = authdetailsContext.instinfo) === null || _authdetailsContext$i33 === void 0 ? void 0 : _authdetailsContext$i33.contactinfo.instid) == '67d7e9d5dbe11' ? 'col-xl-12 col-lg-12 col-md-12 mb-3 px-4 py-3 px-sm-3' : 'col-xl-4 col-lg-4 col-md-12 mb-3',
15635
15678
  style: {
15636
- border: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i30 = authdetailsContext.instinfo) === null || _authdetailsContext$i30 === void 0 ? void 0 : _authdetailsContext$i30.contactinfo.instid) == '67d7e9d5dbe11' ? '1px solid #ccc' : 0,
15679
+ border: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i34 = authdetailsContext.instinfo) === null || _authdetailsContext$i34 === void 0 ? void 0 : _authdetailsContext$i34.contactinfo.instid) == '67d7e9d5dbe11' ? '1px solid #ccc' : 0,
15637
15680
  borderRadius: 15
15638
15681
  }
15639
15682
  }, /*#__PURE__*/React__default["default"].createElement("div", {
15640
15683
  "class": "row m-0 w-100 d-flex align-items-center"
15641
15684
  }, /*#__PURE__*/React__default["default"].createElement("div", {
15642
- "class": (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i31 = authdetailsContext.instinfo) === null || _authdetailsContext$i31 === void 0 ? void 0 : _authdetailsContext$i31.contactinfo.instid) == '67d7e9d5dbe11' ? 'col-9 p-0' : 'col-12 p-0'
15685
+ "class": (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i35 = authdetailsContext.instinfo) === null || _authdetailsContext$i35 === void 0 ? void 0 : _authdetailsContext$i35.contactinfo.instid) == '67d7e9d5dbe11' ? 'col-9 p-0' : 'col-12 p-0'
15643
15686
  }, /*#__PURE__*/React__default["default"].createElement("label", {
15644
15687
  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 '
15645
15688
  }, /*#__PURE__*/React__default["default"].createElement("input", {
@@ -15660,7 +15703,7 @@ var Checkout = function Checkout(props) {
15660
15703
  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"
15661
15704
  })), /*#__PURE__*/React__default["default"].createElement("p", {
15662
15705
  className: "".concat(formstyles.checkbox_label) + ' ml-2 mb-0 wordbreak cursor-pointer mr-2 '
15663
- }, langdetect == 'en' ? sectionproperties.onlinepaymenttexten : sectionproperties.onlinepaymenttextar))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i32 = authdetailsContext.instinfo) === null || _authdetailsContext$i32 === void 0 ? void 0 : _authdetailsContext$i32.contactinfo.instid) == '67d7e9d5dbe11' && /*#__PURE__*/React__default["default"].createElement("div", {
15706
+ }, langdetect == 'en' ? sectionproperties.onlinepaymenttexten : sectionproperties.onlinepaymenttextar))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i36 = authdetailsContext.instinfo) === null || _authdetailsContext$i36 === void 0 ? void 0 : _authdetailsContext$i36.contactinfo.instid) == '67d7e9d5dbe11' && /*#__PURE__*/React__default["default"].createElement("div", {
15664
15707
  "class": "col-3 text-end p-0"
15665
15708
  }, /*#__PURE__*/React__default["default"].createElement("img", {
15666
15709
  src: 'https://tabex-co.com/storage/StaticImages/visamaster.png',
@@ -15709,7 +15752,7 @@ var Checkout = function Checkout(props) {
15709
15752
  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"
15710
15753
  })), /*#__PURE__*/React__default["default"].createElement("p", {
15711
15754
  className: "".concat(formstyles.checkbox_label) + ' ml-2 mb-0 wordbreak cursor-pointer mr-2 '
15712
- }, langdetect == 'en' ? sectionproperties.walletnameen : sectionproperties.walletnamear))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i33 = authdetailsContext.instinfo) === null || _authdetailsContext$i33 === void 0 ? void 0 : _authdetailsContext$i33.acceptForsaCard) == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
15755
+ }, langdetect == 'en' ? sectionproperties.walletnameen : sectionproperties.walletnamear))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i37 = authdetailsContext.instinfo) === null || _authdetailsContext$i37 === void 0 ? void 0 : _authdetailsContext$i37.acceptForsaCard) == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
15713
15756
  className: "col-xl-4 col-lg-4 col-md-12 mb-3"
15714
15757
  }, /*#__PURE__*/React__default["default"].createElement("label", {
15715
15758
  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 '
@@ -15731,7 +15774,7 @@ var Checkout = function Checkout(props) {
15731
15774
  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"
15732
15775
  })), /*#__PURE__*/React__default["default"].createElement("p", {
15733
15776
  className: "".concat(formstyles.checkbox_label) + ' ml-2 mb-0 wordbreak cursor-pointer mr-2 '
15734
- }, langdetect == 'en' ? 'Forsa' : ' Forsa'))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i34 = authdetailsContext.instinfo) === null || _authdetailsContext$i34 === void 0 ? void 0 : _authdetailsContext$i34.acceptSouhoolaCard) == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
15777
+ }, langdetect == 'en' ? 'Forsa' : ' Forsa'))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i38 = authdetailsContext.instinfo) === null || _authdetailsContext$i38 === void 0 ? void 0 : _authdetailsContext$i38.acceptSouhoolaCard) == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
15735
15778
  className: "col-xl-4 col-lg-4 col-md-12 mb-3"
15736
15779
  }, /*#__PURE__*/React__default["default"].createElement("label", {
15737
15780
  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 '
@@ -15753,7 +15796,7 @@ var Checkout = function Checkout(props) {
15753
15796
  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"
15754
15797
  })), /*#__PURE__*/React__default["default"].createElement("p", {
15755
15798
  className: "".concat(formstyles.checkbox_label) + ' ml-2 mb-0 wordbreak cursor-pointer mr-2 '
15756
- }, langdetect == 'en' ? 'Souhoola' : ' Souhoola'))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i35 = authdetailsContext.instinfo) === null || _authdetailsContext$i35 === void 0 ? void 0 : _authdetailsContext$i35.acceptonlinePaypal) == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
15799
+ }, langdetect == 'en' ? 'Souhoola' : ' Souhoola'))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i39 = authdetailsContext.instinfo) === null || _authdetailsContext$i39 === void 0 ? void 0 : _authdetailsContext$i39.acceptonlinePaypal) == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
15757
15800
  className: "col-xl-4 col-lg-4 col-md-12 mb-3"
15758
15801
  }, /*#__PURE__*/React__default["default"].createElement("label", {
15759
15802
  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 '
@@ -15775,7 +15818,7 @@ var Checkout = function Checkout(props) {
15775
15818
  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"
15776
15819
  })), /*#__PURE__*/React__default["default"].createElement("p", {
15777
15820
  className: "".concat(formstyles.checkbox_label, " + ' ml-2 mb-0 wordbreak cursor-pointer mr-2 '")
15778
- }, langdetect == 'en' ? 'Paypal' : ' Paypal'))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i36 = authdetailsContext.instinfo) === null || _authdetailsContext$i36 === void 0 ? void 0 : _authdetailsContext$i36.acceptBankInstallementsCard) == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
15821
+ }, langdetect == 'en' ? 'Paypal' : ' Paypal'))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i40 = authdetailsContext.instinfo) === null || _authdetailsContext$i40 === void 0 ? void 0 : _authdetailsContext$i40.acceptBankInstallementsCard) == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
15779
15822
  className: "col-xl-4 col-lg-4 col-md-12 mb-3"
15780
15823
  }, /*#__PURE__*/React__default["default"].createElement("label", {
15781
15824
  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 '
@@ -15797,7 +15840,7 @@ var Checkout = function Checkout(props) {
15797
15840
  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"
15798
15841
  })), /*#__PURE__*/React__default["default"].createElement("p", {
15799
15842
  className: "".concat(formstyles.checkbox_label) + ' ml-2 mb-0 wordbreak cursor-pointer mr-2 '
15800
- }, langdetect == 'en' ? 'Bank Installments' : ' التقسيط عن طريق البنك'))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i37 = authdetailsContext.instinfo) === null || _authdetailsContext$i37 === void 0 ? void 0 : _authdetailsContext$i37.acceptAmanCard) == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
15843
+ }, langdetect == 'en' ? 'Bank Installments' : ' التقسيط عن طريق البنك'))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i41 = authdetailsContext.instinfo) === null || _authdetailsContext$i41 === void 0 ? void 0 : _authdetailsContext$i41.acceptAmanCard) == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
15801
15844
  className: "col-xl-4 col-lg-4 col-md-12 mb-3"
15802
15845
  }, /*#__PURE__*/React__default["default"].createElement("label", {
15803
15846
  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 '
@@ -15819,7 +15862,7 @@ var Checkout = function Checkout(props) {
15819
15862
  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"
15820
15863
  })), /*#__PURE__*/React__default["default"].createElement("p", {
15821
15864
  className: "".concat(formstyles.checkbox_label) + ' ml-2 mb-0 wordbreak cursor-pointer mr-2 '
15822
- }, langdetect == 'en' ? 'Aman' : 'Aman'))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i38 = authdetailsContext.instinfo) === null || _authdetailsContext$i38 === void 0 ? void 0 : _authdetailsContext$i38.acceptTamara) == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
15865
+ }, langdetect == 'en' ? 'Aman' : 'Aman'))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i42 = authdetailsContext.instinfo) === null || _authdetailsContext$i42 === void 0 ? void 0 : _authdetailsContext$i42.acceptTamara) == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
15823
15866
  className: "col-xl-4 col-lg-4 col-md-12 mb-3"
15824
15867
  }, /*#__PURE__*/React__default["default"].createElement("label", {
15825
15868
  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 '
@@ -15841,7 +15884,7 @@ var Checkout = function Checkout(props) {
15841
15884
  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"
15842
15885
  })), /*#__PURE__*/React__default["default"].createElement("p", {
15843
15886
  className: "".concat(formstyles.checkbox_label) + ' ml-2 mb-0 wordbreak cursor-pointer mr-2 '
15844
- }, langdetect == 'en' ? 'Tamara' : ' تمارا'))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i39 = authdetailsContext.instinfo) === null || _authdetailsContext$i39 === void 0 ? void 0 : _authdetailsContext$i39.acceptTabby) == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
15887
+ }, langdetect == 'en' ? 'Tamara' : ' تمارا'))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i43 = authdetailsContext.instinfo) === null || _authdetailsContext$i43 === void 0 ? void 0 : _authdetailsContext$i43.acceptTabby) == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
15845
15888
  className: "col-xl-4 col-lg-4 col-md-12 mb-3"
15846
15889
  }, /*#__PURE__*/React__default["default"].createElement("label", {
15847
15890
  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 '