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.esm.js CHANGED
@@ -13745,7 +13745,7 @@ styleInject(css_248z$G);
13745
13745
  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; }
13746
13746
  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(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; }
13747
13747
  var Checkout = function Checkout(props) {
13748
- 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;
13748
+ 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;
13749
13749
  var _useState = useState(null),
13750
13750
  _useState2 = _slicedToArray(_useState, 2);
13751
13751
  _useState2[0];
@@ -15254,7 +15254,115 @@ var Checkout = function Checkout(props) {
15254
15254
 
15255
15255
  var currentDate = year + '-' + month + '-' + day;
15256
15256
  if (item.type == 'date') {
15257
- var _authdetailsContext$i19, _authdetailsContext$i20;
15257
+ // events mart
15258
+
15259
+ if (item.title_en == 'Event Date') {
15260
+ var _authdetailsContext$i19, _authdetailsContext$i20;
15261
+ return /*#__PURE__*/React.createElement("div", {
15262
+ className: "col-lg-6 col-md-12 mb-3"
15263
+ }, /*#__PURE__*/React.createElement("label", {
15264
+ className: "".concat(checkoutstyles.input_label_name) + ' d-flex align-items-start flex-column ',
15265
+ style: {
15266
+ textTransform: 'none'
15267
+ }
15268
+ }, /*#__PURE__*/React.createElement("span", null, langdetect == 'en' ? item.title_en : item.title_ar, item.isrequired == 1 && /*#__PURE__*/React.createElement("sup", {
15269
+ "class": "mx-2",
15270
+ style: {
15271
+ color: 'var(--danger)'
15272
+ }
15273
+ }, "*")), /*#__PURE__*/React.createElement("span", {
15274
+ style: {
15275
+ fontSize: 13,
15276
+ fontWeight: 300
15277
+ }
15278
+ }, langdetect == 'en' ? 'Note: You can only select a date starting 10 days from today. Earlier dates are not allowed.' : 'ملاحظة: يمكنك اختيار تاريخ يبدأ بعد 10 أيام من اليوم فقط. لا يُسمح باختيار تواريخ أقدم.')), /*#__PURE__*/React.createElement("input", {
15279
+ type: 'date',
15280
+ className: "".concat(formstyles.form_control, " ").concat(checkoutstyles.form_control),
15281
+ value: item.value
15282
+ // onChange={(event) => {
15283
+ // var temporderextrafeilds = [...orderextrafeilds];
15284
+ // temporderextrafeilds[index].value = event.target.value;
15285
+ // setorderextrafeilds([...temporderextrafeilds]);
15286
+ // }}
15287
+ ,
15288
+ onChange: function onChange(event) {
15289
+ var _authdetailsContext$i17;
15290
+ 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') {
15291
+ var selectedDate = event.target.value;
15292
+ if (selectedDate != undefined && selectedDate != null && selectedDate != '' && selectedDate.length != 0) {
15293
+ var _authdetailsContext$i18;
15294
+ 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;
15295
+ if (minDate && selectedDate < minDate) {
15296
+ // alert(`Please select a date on or after ${minDate}`);
15297
+ return;
15298
+ }
15299
+ var temporderextrafeilds = _toConsumableArray(orderextrafeilds);
15300
+ temporderextrafeilds[index].value = selectedDate;
15301
+ setorderextrafeilds(_toConsumableArray(temporderextrafeilds));
15302
+ }
15303
+ } else {
15304
+ var temporderextrafeilds = _toConsumableArray(orderextrafeilds);
15305
+ temporderextrafeilds[index].value = event.target.value;
15306
+ setorderextrafeilds(_toConsumableArray(temporderextrafeilds));
15307
+ }
15308
+ },
15309
+ style: {
15310
+ boxShadow: 'none'
15311
+ },
15312
+ 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
15313
+ .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
15314
+ }));
15315
+ } else {
15316
+ var _authdetailsContext$i23, _authdetailsContext$i24;
15317
+ return /*#__PURE__*/React.createElement("div", {
15318
+ className: "col-lg-6 col-md-12 mb-3"
15319
+ }, /*#__PURE__*/React.createElement("label", {
15320
+ className: "".concat(checkoutstyles.input_label_name) + ' d-flex align-items-start '
15321
+ }, langdetect == 'en' ? item.title_en : item.title_ar, item.isrequired == 1 && /*#__PURE__*/React.createElement("sup", {
15322
+ "class": "mx-2",
15323
+ style: {
15324
+ color: 'var(--danger)'
15325
+ }
15326
+ }, "*")), /*#__PURE__*/React.createElement("input", {
15327
+ type: 'date',
15328
+ className: "".concat(formstyles.form_control, " ").concat(checkoutstyles.form_control),
15329
+ value: item.value
15330
+ // onChange={(event) => {
15331
+ // var temporderextrafeilds = [...orderextrafeilds];
15332
+ // temporderextrafeilds[index].value = event.target.value;
15333
+ // setorderextrafeilds([...temporderextrafeilds]);
15334
+ // }}
15335
+ ,
15336
+ onChange: function onChange(event) {
15337
+ var _authdetailsContext$i21;
15338
+ 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') {
15339
+ var selectedDate = event.target.value;
15340
+ if (selectedDate != undefined && selectedDate != null && selectedDate != '' && selectedDate.length != 0) {
15341
+ var _authdetailsContext$i22;
15342
+ 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;
15343
+ if (minDate && selectedDate < minDate) {
15344
+ // alert(`Please select a date on or after ${minDate}`);
15345
+ return;
15346
+ }
15347
+ var temporderextrafeilds = _toConsumableArray(orderextrafeilds);
15348
+ temporderextrafeilds[index].value = selectedDate;
15349
+ setorderextrafeilds(_toConsumableArray(temporderextrafeilds));
15350
+ }
15351
+ } else {
15352
+ var temporderextrafeilds = _toConsumableArray(orderextrafeilds);
15353
+ temporderextrafeilds[index].value = event.target.value;
15354
+ setorderextrafeilds(_toConsumableArray(temporderextrafeilds));
15355
+ }
15356
+ },
15357
+ style: {
15358
+ boxShadow: 'none'
15359
+ },
15360
+ 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
15361
+ .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
15362
+ }));
15363
+ }
15364
+ }
15365
+ if (item.type == 'time') {
15258
15366
  return /*#__PURE__*/React.createElement("div", {
15259
15367
  className: "col-lg-6 col-md-12 mb-3"
15260
15368
  }, /*#__PURE__*/React.createElement("label", {
@@ -15265,55 +15373,39 @@ var Checkout = function Checkout(props) {
15265
15373
  color: 'var(--danger)'
15266
15374
  }
15267
15375
  }, "*")), /*#__PURE__*/React.createElement("input", {
15268
- type: 'date',
15376
+ type: 'time',
15269
15377
  className: "".concat(formstyles.form_control, " ").concat(checkoutstyles.form_control),
15270
- value: item.value
15271
- // onChange={(event) => {
15272
- // var temporderextrafeilds = [...orderextrafeilds];
15273
- // temporderextrafeilds[index].value = event.target.value;
15274
- // setorderextrafeilds([...temporderextrafeilds]);
15275
- // }}
15276
- ,
15378
+ value: item.value,
15277
15379
  onChange: function onChange(event) {
15278
- var _authdetailsContext$i17;
15279
- 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') {
15280
- var selectedDate = event.target.value;
15281
- if (selectedDate != undefined && selectedDate != null && selectedDate != '' && selectedDate.length != 0) {
15282
- var _authdetailsContext$i18;
15283
- 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;
15284
- if (minDate && selectedDate < minDate) {
15285
- // alert(`Please select a date on or after ${minDate}`);
15286
- return;
15287
- }
15288
- var temporderextrafeilds = _toConsumableArray(orderextrafeilds);
15289
- temporderextrafeilds[index].value = selectedDate;
15290
- setorderextrafeilds(_toConsumableArray(temporderextrafeilds));
15291
- }
15292
- } else {
15293
- var temporderextrafeilds = _toConsumableArray(orderextrafeilds);
15294
- temporderextrafeilds[index].value = event.target.value;
15295
- setorderextrafeilds(_toConsumableArray(temporderextrafeilds));
15296
- }
15380
+ var temporderextrafeilds = _toConsumableArray(orderextrafeilds);
15381
+ temporderextrafeilds[index].value = event.target.value;
15382
+ setorderextrafeilds(_toConsumableArray(temporderextrafeilds));
15297
15383
  },
15298
15384
  style: {
15299
15385
  boxShadow: 'none'
15300
- },
15301
- 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
15302
- .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
15386
+ }
15303
15387
  }));
15304
15388
  }
15305
- if (item.type == 'time') {
15389
+ if (item.type == 'text') {
15306
15390
  return /*#__PURE__*/React.createElement("div", {
15307
15391
  className: "col-lg-6 col-md-12 mb-3"
15308
15392
  }, /*#__PURE__*/React.createElement("label", {
15309
- className: "".concat(checkoutstyles.input_label_name) + ' d-flex align-items-start '
15310
- }, langdetect == 'en' ? item.title_en : item.title_ar, item.isrequired == 1 && /*#__PURE__*/React.createElement("sup", {
15393
+ className: "".concat(checkoutstyles.input_label_name) + ' d-flex align-items-start flex-column ',
15394
+ style: {
15395
+ textTransform: 'none'
15396
+ }
15397
+ }, /*#__PURE__*/React.createElement("span", null, langdetect == 'en' ? item.title_en : item.title_ar, item.isrequired == 1 && /*#__PURE__*/React.createElement("sup", {
15311
15398
  "class": "mx-2",
15312
15399
  style: {
15313
15400
  color: 'var(--danger)'
15314
15401
  }
15315
- }, "*")), /*#__PURE__*/React.createElement("input", {
15316
- type: 'time',
15402
+ }, "*")), /*#__PURE__*/React.createElement("span", {
15403
+ style: {
15404
+ fontSize: 13,
15405
+ fontWeight: 300
15406
+ }
15407
+ }, langdetect == 'en' ? 'Note: You can only select a date starting 10 days from today. Earlier dates are not allowed.' : 'ملاحظة: يمكنك اختيار تاريخ يبدأ بعد 10 أيام من اليوم فقط. لا يُسمح باختيار تواريخ أقدم.')), /*#__PURE__*/React.createElement("input", {
15408
+ type: 'text',
15317
15409
  className: "".concat(formstyles.form_control, " ").concat(checkoutstyles.form_control),
15318
15410
  value: item.value,
15319
15411
  onChange: function onChange(event) {
@@ -15326,40 +15418,21 @@ var Checkout = function Checkout(props) {
15326
15418
  }
15327
15419
  }));
15328
15420
  }
15329
- if (item.type == 'text') {
15330
- // events mart
15331
- if (item.title_en == 'Event Date') {
15332
- return /*#__PURE__*/React.createElement("div", {
15333
- className: "col-lg-6 col-md-12 mb-3"
15334
- }, /*#__PURE__*/React.createElement("label", {
15335
- className: "".concat(checkoutstyles.input_label_name) + ' d-flex align-items-start flex-column ',
15336
- style: {
15337
- textTransform: 'none'
15338
- }
15339
- }, /*#__PURE__*/React.createElement("span", null, langdetect == 'en' ? item.title_en : item.title_ar, item.isrequired == 1 && /*#__PURE__*/React.createElement("sup", {
15340
- "class": "mx-2",
15341
- style: {
15342
- color: 'var(--danger)'
15343
- }
15344
- }, "*")), /*#__PURE__*/React.createElement("span", {
15345
- style: {
15346
- fontSize: 13,
15347
- fontWeight: 300
15348
- }
15349
- }, langdetect == 'en' ? 'Note: You can only select a date starting 10 days from today. Earlier dates are not allowed.' : 'ملاحظة: يمكنك اختيار تاريخ يبدأ بعد 10 أيام من اليوم فقط. لا يُسمح باختيار تواريخ أقدم.')), /*#__PURE__*/React.createElement("input", {
15350
- type: 'text',
15351
- className: "".concat(formstyles.form_control, " ").concat(checkoutstyles.form_control),
15352
- value: item.value,
15353
- onChange: function onChange(event) {
15354
- var temporderextrafeilds = _toConsumableArray(orderextrafeilds);
15355
- temporderextrafeilds[index].value = event.target.value;
15356
- setorderextrafeilds(_toConsumableArray(temporderextrafeilds));
15357
- },
15358
- style: {
15359
- boxShadow: 'none'
15360
- }
15361
- }));
15362
- } else if (item.title_en == 'Event Type') {
15421
+ if (item.type == 'selectbox') {
15422
+ var selectboxarr = [];
15423
+ if ((item === null || item === void 0 ? void 0 : item.selectboxvalues) != undefined && (item === null || item === void 0 ? void 0 : item.selectboxvalues) != null) {
15424
+ var jsones = JSON.parse(item === null || item === void 0 ? void 0 : item.selectboxvalues);
15425
+ // var jsones = JSON.parse(undefined);
15426
+ if (jsones != undefined && jsones != null && Array.isArray(jsones)) {
15427
+ jsones === null || jsones === void 0 || jsones.forEach(function (slecitem) {
15428
+ selectboxarr.push({
15429
+ value_en: slecitem.value_en,
15430
+ value_ar: slecitem.value_ar
15431
+ });
15432
+ });
15433
+ }
15434
+ }
15435
+ if (item.title_en == 'Event Type') {
15363
15436
  return /*#__PURE__*/React.createElement("div", {
15364
15437
  className: "col-lg-6 col-md-12 mb-3"
15365
15438
  }, /*#__PURE__*/React.createElement("label", {
@@ -15377,7 +15450,7 @@ var Checkout = function Checkout(props) {
15377
15450
  fontSize: 13,
15378
15451
  fontWeight: 300
15379
15452
  }
15380
- }, 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.createElement("input", {
15453
+ }, 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.createElement("select", {
15381
15454
  type: 'text',
15382
15455
  className: "".concat(formstyles.form_control, " ").concat(checkoutstyles.form_control),
15383
15456
  value: item.value,
@@ -15389,7 +15462,14 @@ var Checkout = function Checkout(props) {
15389
15462
  style: {
15390
15463
  boxShadow: 'none'
15391
15464
  }
15392
- }));
15465
+ }, /*#__PURE__*/React.createElement("option", {
15466
+ value: ""
15467
+ }, langdetect == 'en' ? 'Choose' : 'اختر'), selectboxarr === null || selectboxarr === void 0 ? void 0 : selectboxarr.map(function (option, optionIndex) {
15468
+ return /*#__PURE__*/React.createElement("option", {
15469
+ key: optionIndex,
15470
+ value: option.value_en
15471
+ }, langdetect == 'en' ? option.value_en : option.value_ar);
15472
+ })));
15393
15473
  } else {
15394
15474
  return /*#__PURE__*/React.createElement("div", {
15395
15475
  className: "col-lg-6 col-md-12 mb-3"
@@ -15400,7 +15480,7 @@ var Checkout = function Checkout(props) {
15400
15480
  style: {
15401
15481
  color: 'var(--danger)'
15402
15482
  }
15403
- }, "*")), /*#__PURE__*/React.createElement("input", {
15483
+ }, "*")), /*#__PURE__*/React.createElement("select", {
15404
15484
  type: 'text',
15405
15485
  className: "".concat(formstyles.form_control, " ").concat(checkoutstyles.form_control),
15406
15486
  value: item.value,
@@ -15412,52 +15492,15 @@ var Checkout = function Checkout(props) {
15412
15492
  style: {
15413
15493
  boxShadow: 'none'
15414
15494
  }
15415
- }));
15416
- }
15417
- }
15418
- if (item.type == 'selectbox') {
15419
- var selectboxarr = [];
15420
- if ((item === null || item === void 0 ? void 0 : item.selectboxvalues) != undefined && (item === null || item === void 0 ? void 0 : item.selectboxvalues) != null) {
15421
- var jsones = JSON.parse(item === null || item === void 0 ? void 0 : item.selectboxvalues);
15422
- // var jsones = JSON.parse(undefined);
15423
- if (jsones != undefined && jsones != null && Array.isArray(jsones)) {
15424
- jsones === null || jsones === void 0 || jsones.forEach(function (slecitem) {
15425
- selectboxarr.push({
15426
- value_en: slecitem.value_en,
15427
- value_ar: slecitem.value_ar
15428
- });
15429
- });
15430
- }
15495
+ }, /*#__PURE__*/React.createElement("option", {
15496
+ value: ""
15497
+ }, langdetect == 'en' ? 'Choose' : 'اختر'), selectboxarr === null || selectboxarr === void 0 ? void 0 : selectboxarr.map(function (option, optionIndex) {
15498
+ return /*#__PURE__*/React.createElement("option", {
15499
+ key: optionIndex,
15500
+ value: option.value_en
15501
+ }, langdetect == 'en' ? option.value_en : option.value_ar);
15502
+ })));
15431
15503
  }
15432
- return /*#__PURE__*/React.createElement("div", {
15433
- className: "col-lg-6 col-md-12 mb-3"
15434
- }, /*#__PURE__*/React.createElement("label", {
15435
- className: "".concat(checkoutstyles.input_label_name) + ' d-flex align-items-start '
15436
- }, langdetect == 'en' ? item.title_en : item.title_ar, item.isrequired == 1 && /*#__PURE__*/React.createElement("sup", {
15437
- "class": "mx-2",
15438
- style: {
15439
- color: 'var(--danger)'
15440
- }
15441
- }, "*")), /*#__PURE__*/React.createElement("select", {
15442
- type: 'text',
15443
- className: "".concat(formstyles.form_control, " ").concat(checkoutstyles.form_control),
15444
- value: item.value,
15445
- onChange: function onChange(event) {
15446
- var temporderextrafeilds = _toConsumableArray(orderextrafeilds);
15447
- temporderextrafeilds[index].value = event.target.value;
15448
- setorderextrafeilds(_toConsumableArray(temporderextrafeilds));
15449
- },
15450
- style: {
15451
- boxShadow: 'none'
15452
- }
15453
- }, /*#__PURE__*/React.createElement("option", {
15454
- value: ""
15455
- }, langdetect == 'en' ? 'Choose' : 'اختر'), selectboxarr === null || selectboxarr === void 0 ? void 0 : selectboxarr.map(function (option, optionIndex) {
15456
- return /*#__PURE__*/React.createElement("option", {
15457
- key: optionIndex,
15458
- value: option.value_en
15459
- }, langdetect == 'en' ? option.value_en : option.value_ar);
15460
- })));
15461
15504
  }
15462
15505
  })))), sectionproperties.showpaymentfooter == 'Show' && /*#__PURE__*/React.createElement("div", {
15463
15506
  className: "col-lg-12 p-0 w-100"
@@ -15474,15 +15517,15 @@ var Checkout = function Checkout(props) {
15474
15517
  })), /*#__PURE__*/React.createElement("div", {
15475
15518
  className: "row m-0 w-100 mb-3 pl-3 pr-3"
15476
15519
  }, authdetailsContext.instinfo.acceptCOD == 1 && /*#__PURE__*/React.createElement("div", {
15477
- 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',
15520
+ 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',
15478
15521
  style: {
15479
- 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,
15522
+ 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,
15480
15523
  borderRadius: 15
15481
15524
  }
15482
15525
  }, /*#__PURE__*/React.createElement("div", {
15483
15526
  "class": "row m-0 w-100 d-flex align-items-center"
15484
15527
  }, /*#__PURE__*/React.createElement("div", {
15485
- "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'
15528
+ "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'
15486
15529
  }, /*#__PURE__*/React.createElement("label", {
15487
15530
  className: langdetect == 'en' ? "".concat(formstyles.checkbox, " ").concat(checkoutstyles.checkbox, " ") + ' d-flex mb-0 ' : "".concat(formstyles.checkbox, " ").concat(formstyles.checkboxtranslated) + ' d-flex mb-0 ',
15488
15531
  "for": "codcheckbox"
@@ -15508,21 +15551,21 @@ var Checkout = function Checkout(props) {
15508
15551
  style: {
15509
15552
  color: sectionproperties.checkbox_color
15510
15553
  }
15511
- }, 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.createElement("div", {
15554
+ }, 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.createElement("div", {
15512
15555
  "class": "col-3 text-end p-0"
15513
15556
  }, /*#__PURE__*/React.createElement("img", {
15514
15557
  src: 'https://tabex-co.com/storage/StaticImages/cod.png',
15515
15558
  "class": checkoutstyles.codimage + ' mx-2 '
15516
15559
  })))), authdetailsContext.instinfo.acceptInstapay == 1 && /*#__PURE__*/React.createElement("div", {
15517
- 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',
15560
+ 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',
15518
15561
  style: {
15519
- 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,
15562
+ 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,
15520
15563
  borderRadius: 15
15521
15564
  }
15522
15565
  }, /*#__PURE__*/React.createElement("div", {
15523
15566
  "class": "row m-0 w-100 d-flex align-items-center"
15524
15567
  }, /*#__PURE__*/React.createElement("div", {
15525
- "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'
15568
+ "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'
15526
15569
  }, /*#__PURE__*/React.createElement("label", {
15527
15570
  className: langdetect == 'en' ? "".concat(formstyles.checkbox, " ").concat(checkoutstyles.checkbox, " ") + ' d-flex mb-0 ' : "".concat(formstyles.checkbox, " ").concat(formstyles.checkboxtranslated) + ' d-flex mb-0 ',
15528
15571
  "for": "codcheckbox"
@@ -15549,7 +15592,7 @@ var Checkout = function Checkout(props) {
15549
15592
  style: {
15550
15593
  color: sectionproperties.checkbox_color
15551
15594
  }
15552
- }, 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.createElement("div", {
15595
+ }, 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.createElement("div", {
15553
15596
  "class": "col-3 text-end p-0"
15554
15597
  }, /*#__PURE__*/React.createElement("img", {
15555
15598
  src: 'https://tabex-co.com/storage/StaticImages/instapay.png',
@@ -15580,15 +15623,15 @@ var Checkout = function Checkout(props) {
15580
15623
  /*#__PURE__*/
15581
15624
  // <div className=""
15582
15625
  React.createElement("div", {
15583
- 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',
15626
+ 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',
15584
15627
  style: {
15585
- 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,
15628
+ 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,
15586
15629
  borderRadius: 15
15587
15630
  }
15588
15631
  }, /*#__PURE__*/React.createElement("div", {
15589
15632
  "class": "row m-0 w-100 d-flex align-items-center"
15590
15633
  }, /*#__PURE__*/React.createElement("div", {
15591
- "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'
15634
+ "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'
15592
15635
  }, /*#__PURE__*/React.createElement("label", {
15593
15636
  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 '
15594
15637
  }, /*#__PURE__*/React.createElement("input", {
@@ -15609,7 +15652,7 @@ var Checkout = function Checkout(props) {
15609
15652
  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"
15610
15653
  })), /*#__PURE__*/React.createElement("p", {
15611
15654
  className: "".concat(formstyles.checkbox_label) + ' ml-2 mb-0 wordbreak cursor-pointer mr-2 '
15612
- }, 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.createElement("div", {
15655
+ }, 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.createElement("div", {
15613
15656
  "class": "col-3 text-end p-0"
15614
15657
  }, /*#__PURE__*/React.createElement("img", {
15615
15658
  src: 'https://tabex-co.com/storage/StaticImages/visamaster.png',
@@ -15658,7 +15701,7 @@ var Checkout = function Checkout(props) {
15658
15701
  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"
15659
15702
  })), /*#__PURE__*/React.createElement("p", {
15660
15703
  className: "".concat(formstyles.checkbox_label) + ' ml-2 mb-0 wordbreak cursor-pointer mr-2 '
15661
- }, 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.createElement("div", {
15704
+ }, 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.createElement("div", {
15662
15705
  className: "col-xl-4 col-lg-4 col-md-12 mb-3"
15663
15706
  }, /*#__PURE__*/React.createElement("label", {
15664
15707
  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 '
@@ -15680,7 +15723,7 @@ var Checkout = function Checkout(props) {
15680
15723
  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"
15681
15724
  })), /*#__PURE__*/React.createElement("p", {
15682
15725
  className: "".concat(formstyles.checkbox_label) + ' ml-2 mb-0 wordbreak cursor-pointer mr-2 '
15683
- }, 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.createElement("div", {
15726
+ }, 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.createElement("div", {
15684
15727
  className: "col-xl-4 col-lg-4 col-md-12 mb-3"
15685
15728
  }, /*#__PURE__*/React.createElement("label", {
15686
15729
  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 '
@@ -15702,7 +15745,7 @@ var Checkout = function Checkout(props) {
15702
15745
  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"
15703
15746
  })), /*#__PURE__*/React.createElement("p", {
15704
15747
  className: "".concat(formstyles.checkbox_label) + ' ml-2 mb-0 wordbreak cursor-pointer mr-2 '
15705
- }, 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.createElement("div", {
15748
+ }, 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.createElement("div", {
15706
15749
  className: "col-xl-4 col-lg-4 col-md-12 mb-3"
15707
15750
  }, /*#__PURE__*/React.createElement("label", {
15708
15751
  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 '
@@ -15724,7 +15767,7 @@ var Checkout = function Checkout(props) {
15724
15767
  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"
15725
15768
  })), /*#__PURE__*/React.createElement("p", {
15726
15769
  className: "".concat(formstyles.checkbox_label, " + ' ml-2 mb-0 wordbreak cursor-pointer mr-2 '")
15727
- }, 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.createElement("div", {
15770
+ }, 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.createElement("div", {
15728
15771
  className: "col-xl-4 col-lg-4 col-md-12 mb-3"
15729
15772
  }, /*#__PURE__*/React.createElement("label", {
15730
15773
  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 '
@@ -15746,7 +15789,7 @@ var Checkout = function Checkout(props) {
15746
15789
  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"
15747
15790
  })), /*#__PURE__*/React.createElement("p", {
15748
15791
  className: "".concat(formstyles.checkbox_label) + ' ml-2 mb-0 wordbreak cursor-pointer mr-2 '
15749
- }, 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.createElement("div", {
15792
+ }, 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.createElement("div", {
15750
15793
  className: "col-xl-4 col-lg-4 col-md-12 mb-3"
15751
15794
  }, /*#__PURE__*/React.createElement("label", {
15752
15795
  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 '
@@ -15768,7 +15811,7 @@ var Checkout = function Checkout(props) {
15768
15811
  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"
15769
15812
  })), /*#__PURE__*/React.createElement("p", {
15770
15813
  className: "".concat(formstyles.checkbox_label) + ' ml-2 mb-0 wordbreak cursor-pointer mr-2 '
15771
- }, 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.createElement("div", {
15814
+ }, 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.createElement("div", {
15772
15815
  className: "col-xl-4 col-lg-4 col-md-12 mb-3"
15773
15816
  }, /*#__PURE__*/React.createElement("label", {
15774
15817
  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 '
@@ -15790,7 +15833,7 @@ var Checkout = function Checkout(props) {
15790
15833
  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"
15791
15834
  })), /*#__PURE__*/React.createElement("p", {
15792
15835
  className: "".concat(formstyles.checkbox_label) + ' ml-2 mb-0 wordbreak cursor-pointer mr-2 '
15793
- }, 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.createElement("div", {
15836
+ }, 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.createElement("div", {
15794
15837
  className: "col-xl-4 col-lg-4 col-md-12 mb-3"
15795
15838
  }, /*#__PURE__*/React.createElement("label", {
15796
15839
  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 '