tabexseriescomponents 0.2.1337 → 0.2.1339

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
@@ -45,6 +45,8 @@ import ReactStars from 'react-rating-stars-component';
45
45
  import { FiLayers } from '@react-icons/all-files/fi/FiLayers';
46
46
  import '@react-icons/all-files/hi/HiOutlinePlusCircle';
47
47
  import '@react-icons/all-files/hi/HiOutlineMinusCircle';
48
+ import { FiChevronDown } from '@react-icons/all-files/fi/FiChevronDown';
49
+ import { FiChevronUp } from '@react-icons/all-files/fi/FiChevronUp';
48
50
  import TextareaAutosize from 'react-textarea-autosize';
49
51
  import { FiCalendar } from '@react-icons/all-files/fi/FiCalendar';
50
52
  import InputRange from 'react-input-range';
@@ -83,8 +85,6 @@ import '@react-icons/all-files/ri/RiArrowUpSLine';
83
85
  import '@react-icons/all-files/ri/RiArrowDownSLine';
84
86
  import '@react-icons/all-files/io/IoIosArrowRoundForward';
85
87
  import '@react-icons/all-files/io/IoIosArrowRoundBack';
86
- import { FiChevronUp } from '@react-icons/all-files/fi/FiChevronUp';
87
- import { FiChevronDown } from '@react-icons/all-files/fi/FiChevronDown';
88
88
  import { HiOutlinePlus } from '@react-icons/all-files/hi/HiOutlinePlus';
89
89
  import { AiOutlineMinus } from '@react-icons/all-files/ai/AiOutlineMinus';
90
90
  import 'react-router-dom';
@@ -564,8 +564,8 @@ var FacebookLoginButton = function FacebookLoginButton(props) {
564
564
  });
565
565
  };
566
566
 
567
- function ownKeys$2L(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; }
568
- function _objectSpread$2L(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$2L(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$2L(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
567
+ function ownKeys$2M(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; }
568
+ function _objectSpread$2M(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$2M(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$2M(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
569
569
  var Login = function Login(props) {
570
570
  var _css;
571
571
  var StatePagePropertiesContext = props.actions.StatePagePropertiesContext;
@@ -641,7 +641,7 @@ var Login = function Login(props) {
641
641
  StatePagePropertiesContext === null || StatePagePropertiesContext === void 0 || (_StatePagePropertiesC = StatePagePropertiesContext.pageobj) === null || _StatePagePropertiesC === void 0 || (_StatePagePropertiesC = _StatePagePropertiesC.pageproperties) === null || _StatePagePropertiesC === void 0 || _StatePagePropertiesC.forEach(function (arrayItem, arrayindex) {
642
642
  secpropobj[arrayItem.property_css_name] = arrayItem.property_value;
643
643
  });
644
- setsectionproperties(_objectSpread$2L({}, secpropobj));
644
+ setsectionproperties(_objectSpread$2M({}, secpropobj));
645
645
  }
646
646
  }, [StatePagePropertiesContext]);
647
647
  useEffect(function () {
@@ -809,9 +809,9 @@ var Login = function Login(props) {
809
809
  className: "".concat(loginstyles2.form_control),
810
810
  value: payloadobj.email,
811
811
  onChange: function onChange(event) {
812
- var temppayloadobj = _objectSpread$2L({}, payloadobj);
812
+ var temppayloadobj = _objectSpread$2M({}, payloadobj);
813
813
  temppayloadobj.email = event.target.value;
814
- setpayloadobj(_objectSpread$2L({}, temppayloadobj));
814
+ setpayloadobj(_objectSpread$2M({}, temppayloadobj));
815
815
  },
816
816
  style: {
817
817
  background: sectionproperties.input_bgcolor,
@@ -828,9 +828,9 @@ var Login = function Login(props) {
828
828
  textplaceholder: "",
829
829
  value: payloadobj.password,
830
830
  onChange: function onChange(event) {
831
- var temppayloadobj = _objectSpread$2L({}, payloadobj);
831
+ var temppayloadobj = _objectSpread$2M({}, payloadobj);
832
832
  temppayloadobj.password = event.target.value;
833
- setpayloadobj(_objectSpread$2L({}, temppayloadobj));
833
+ setpayloadobj(_objectSpread$2M({}, temppayloadobj));
834
834
  },
835
835
  style: _defineProperty(_defineProperty(_defineProperty(_defineProperty({
836
836
  background: sectionproperties.input_bgcolor,
@@ -1028,9 +1028,9 @@ var Login = function Login(props) {
1028
1028
  className: "".concat(loginstyles2.form_control),
1029
1029
  value: forgotpasswordpayload.email,
1030
1030
  onChange: function onChange(event) {
1031
- var temppayloadobj = _objectSpread$2L({}, forgotpasswordpayload);
1031
+ var temppayloadobj = _objectSpread$2M({}, forgotpasswordpayload);
1032
1032
  temppayloadobj.email = event.target.value;
1033
- setforgotpasswordpayload(_objectSpread$2L({}, temppayloadobj));
1033
+ setforgotpasswordpayload(_objectSpread$2M({}, temppayloadobj));
1034
1034
  },
1035
1035
  disabled: forgetpasswordstage == 'verify' ? true : false,
1036
1036
  style: {
@@ -1046,9 +1046,9 @@ var Login = function Login(props) {
1046
1046
  className: "".concat(loginstyles2.form_control),
1047
1047
  value: forgotpasswordpayload.code,
1048
1048
  onChange: function onChange(event) {
1049
- var temppayloadobj = _objectSpread$2L({}, forgotpasswordpayload);
1049
+ var temppayloadobj = _objectSpread$2M({}, forgotpasswordpayload);
1050
1050
  temppayloadobj.code = event.target.value;
1051
- setforgotpasswordpayload(_objectSpread$2L({}, temppayloadobj));
1051
+ setforgotpasswordpayload(_objectSpread$2M({}, temppayloadobj));
1052
1052
  },
1053
1053
  style: {
1054
1054
  background: sectionproperties.input_bgcolor,
@@ -1063,9 +1063,9 @@ var Login = function Login(props) {
1063
1063
  className: "".concat(loginstyles2.form_control),
1064
1064
  value: forgotpasswordpayload.newpassword,
1065
1065
  onChange: function onChange(event) {
1066
- var temppayloadobj = _objectSpread$2L({}, forgotpasswordpayload);
1066
+ var temppayloadobj = _objectSpread$2M({}, forgotpasswordpayload);
1067
1067
  temppayloadobj.newpassword = event.target.value;
1068
- setforgotpasswordpayload(_objectSpread$2L({}, temppayloadobj));
1068
+ setforgotpasswordpayload(_objectSpread$2M({}, temppayloadobj));
1069
1069
  },
1070
1070
  style: {
1071
1071
  background: sectionproperties.input_bgcolor,
@@ -1080,9 +1080,9 @@ var Login = function Login(props) {
1080
1080
  className: "".concat(loginstyles2.form_control),
1081
1081
  value: forgotpasswordpayload.confirmnewpassword,
1082
1082
  onChange: function onChange(event) {
1083
- var temppayloadobj = _objectSpread$2L({}, forgotpasswordpayload);
1083
+ var temppayloadobj = _objectSpread$2M({}, forgotpasswordpayload);
1084
1084
  temppayloadobj.confirmnewpassword = event.target.value;
1085
- setforgotpasswordpayload(_objectSpread$2L({}, temppayloadobj));
1085
+ setforgotpasswordpayload(_objectSpread$2M({}, temppayloadobj));
1086
1086
  },
1087
1087
  style: {
1088
1088
  background: sectionproperties.input_bgcolor,
@@ -1095,7 +1095,7 @@ var Login = function Login(props) {
1095
1095
  onClick: function onClick() {
1096
1096
  if (forgotpasswordpayload.email.length != 0) {
1097
1097
  var runfunc = false;
1098
- var tempforgotpasswordpayload = _objectSpread$2L({}, forgotpasswordpayload);
1098
+ var tempforgotpasswordpayload = _objectSpread$2M({}, forgotpasswordpayload);
1099
1099
  tempforgotpasswordpayload.functype = forgetpasswordstage;
1100
1100
  if (forgetpasswordstage == 'verify') {
1101
1101
  if (tempforgotpasswordpayload.newpassword.length != 0 && tempforgotpasswordpayload.code.length != 0) {
@@ -1315,11 +1315,11 @@ var css_248z$J = "@media screen and (max-width: 800px) {\r\n .signup-module_r
1315
1315
  var loginstyles = {"rightContainer":"signup-module_rightContainer__yEcoL","rightContainerTrans":"signup-module_rightContainerTrans__fkdBH","rightContainerText":"signup-module_rightContainerText__-pvN-","form_control":"signup-module_form_control__7s76W","anim-shadow":"signup-module_anim-shadow__CsxhG","login_input_icon":"signup-module_login_input_icon__RDTS0","form_control_border_none":"signup-module_form_control_border_none__HjUMS","disabled":"signup-module_disabled__h55ao","leftcontainer":"signup-module_leftcontainer__bqfnN","form_controltextarea":"signup-module_form_controltextarea__-LGz6","checkbox":"signup-module_checkbox__8ejBx","checkbox_label":"signup-module_checkbox_label__d84Q2","checkbox_sub":"signup-module_checkbox_sub__WQLUX","checkboxtranslated":"signup-module_checkboxtranslated__4xHR-","showpassword_input_icon":"signup-module_showpassword_input_icon__cVHRS","showpassword_input_icontrans":"signup-module_showpassword_input_icontrans__vmV5q"};
1316
1316
  styleInject(css_248z$J);
1317
1317
 
1318
- function ownKeys$2K(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; }
1319
- function _objectSpread$2K(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$2K(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$2K(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
1318
+ function ownKeys$2L(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; }
1319
+ function _objectSpread$2L(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$2L(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$2L(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
1320
1320
  var selectcustomStyles = {
1321
1321
  option: function option(provided, state) {
1322
- return _objectSpread$2K(_objectSpread$2K({}, provided), {}, {
1322
+ return _objectSpread$2L(_objectSpread$2L({}, provided), {}, {
1323
1323
  borderBottom: '1px solid #e6e6e6',
1324
1324
  backgroundColor: state.isSelected ? '' : '',
1325
1325
  padding: 5,
@@ -1348,7 +1348,7 @@ var selectcustomStyles = {
1348
1348
  };
1349
1349
  var selectcustomStylesTranslated = {
1350
1350
  option: function option(provided, state) {
1351
- return _objectSpread$2K(_objectSpread$2K({}, provided), {}, {
1351
+ return _objectSpread$2L(_objectSpread$2L({}, provided), {}, {
1352
1352
  borderBottom: '1px solid #e6e6e6',
1353
1353
  backgroundColor: state.isSelected ? '' : '',
1354
1354
  padding: 5,
@@ -1377,14 +1377,14 @@ var selectcustomStylesTranslated = {
1377
1377
  };
1378
1378
  },
1379
1379
  placeholder: function placeholder(provided, state) {
1380
- return _objectSpread$2K(_objectSpread$2K({}, provided), {}, {
1380
+ return _objectSpread$2L(_objectSpread$2L({}, provided), {}, {
1381
1381
  textAlign: 'right'
1382
1382
  });
1383
1383
  }
1384
1384
  };
1385
1385
  var defaultstyles = {
1386
1386
  option: function option(provided, state) {
1387
- return _objectSpread$2K(_objectSpread$2K({}, provided), {}, {
1387
+ return _objectSpread$2L(_objectSpread$2L({}, provided), {}, {
1388
1388
  borderBottom: '1px solid #e6e6e6',
1389
1389
  backgroundColor: state.isSelected ? '' : '',
1390
1390
  padding: 5,
@@ -1411,21 +1411,21 @@ var defaultstyles = {
1411
1411
  });
1412
1412
  },
1413
1413
  dropdownIndicator: function dropdownIndicator(provided) {
1414
- return _objectSpread$2K(_objectSpread$2K({}, provided), {}, {
1414
+ return _objectSpread$2L(_objectSpread$2L({}, provided), {}, {
1415
1415
  '&:hover': {
1416
1416
  // color: '#eac435',
1417
1417
  }
1418
1418
  });
1419
1419
  },
1420
1420
  placeholder: function placeholder(provided, state) {
1421
- return _objectSpread$2K(_objectSpread$2K({}, provided), {}, {
1421
+ return _objectSpread$2L(_objectSpread$2L({}, provided), {}, {
1422
1422
  color: '#000000'
1423
1423
  });
1424
1424
  }
1425
1425
  };
1426
1426
  var defaultstylestranslated = {
1427
1427
  option: function option(provided, state) {
1428
- return _objectSpread$2K(_objectSpread$2K({}, provided), {}, {
1428
+ return _objectSpread$2L(_objectSpread$2L({}, provided), {}, {
1429
1429
  borderBottom: '1px solid #e6e6e6',
1430
1430
  backgroundColor: state.isSelected ? '' : '',
1431
1431
  padding: 5,
@@ -1456,14 +1456,14 @@ var defaultstylestranslated = {
1456
1456
  };
1457
1457
  },
1458
1458
  dropdownIndicator: function dropdownIndicator(provided) {
1459
- return _objectSpread$2K(_objectSpread$2K({}, provided), {}, {
1459
+ return _objectSpread$2L(_objectSpread$2L({}, provided), {}, {
1460
1460
  '&:hover': {
1461
1461
  // color: '#eac435',
1462
1462
  }
1463
1463
  });
1464
1464
  },
1465
1465
  placeholder: function placeholder(provided, state) {
1466
- return _objectSpread$2K(_objectSpread$2K({}, provided), {}, {
1466
+ return _objectSpread$2L(_objectSpread$2L({}, provided), {}, {
1467
1467
  textAlign: 'right',
1468
1468
  color: '#000000'
1469
1469
  });
@@ -1471,7 +1471,7 @@ var defaultstylestranslated = {
1471
1471
  };
1472
1472
  var defaultstylesnone = {
1473
1473
  option: function option(provided, state) {
1474
- return _objectSpread$2K(_objectSpread$2K({}, provided), {}, {
1474
+ return _objectSpread$2L(_objectSpread$2L({}, provided), {}, {
1475
1475
  borderBottom: '1px solid #e6e6e6',
1476
1476
  backgroundColor: state.isSelected ? '' : '',
1477
1477
  padding: 5,
@@ -1499,7 +1499,7 @@ var defaultstylesnone = {
1499
1499
  };
1500
1500
  },
1501
1501
  dropdownIndicator: function dropdownIndicator(provided) {
1502
- return _objectSpread$2K(_objectSpread$2K({}, provided), {}, {
1502
+ return _objectSpread$2L(_objectSpread$2L({}, provided), {}, {
1503
1503
  '&:hover': {
1504
1504
  // color: '#eac435',
1505
1505
  }
@@ -1507,8 +1507,8 @@ var defaultstylesnone = {
1507
1507
  }
1508
1508
  };
1509
1509
 
1510
- function ownKeys$2J(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; }
1511
- function _objectSpread$2J(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$2J(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$2J(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
1510
+ function ownKeys$2K(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; }
1511
+ function _objectSpread$2K(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$2K(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$2K(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
1512
1512
  var Select$3 = /*#__PURE__*/React.lazy(function () {
1513
1513
  return import('react-select');
1514
1514
  });
@@ -2331,11 +2331,11 @@ var Variantoptions = function Variantoptions(props) {
2331
2331
  }
2332
2332
  }
2333
2333
  },
2334
- styles: _objectSpread$2J(_objectSpread$2J({}, defaultstylesnone), {}, {
2334
+ styles: _objectSpread$2K(_objectSpread$2K({}, defaultstylesnone), {}, {
2335
2335
  option: function option(provided, state) {
2336
2336
  var _issingleoptionoutofs2;
2337
2337
  var isOut = ((_issingleoptionoutofs2 = issingleoptionoutofstock(state.data)) === null || _issingleoptionoutofs2 === void 0 ? void 0 : _issingleoptionoutofs2.isoutofstock) === true;
2338
- return _objectSpread$2J(_objectSpread$2J({}, provided), {}, {
2338
+ return _objectSpread$2K(_objectSpread$2K({}, provided), {}, {
2339
2339
  textDecoration: isOut ? 'line-through' : 'none',
2340
2340
  // color: '#000',
2341
2341
  // cursor: isOut ? 'not-allowed' : 'pointer',
@@ -2345,7 +2345,7 @@ var Variantoptions = function Variantoptions(props) {
2345
2345
  singleValue: function singleValue(provided, state) {
2346
2346
  var _issingleoptionoutofs3;
2347
2347
  var isOut = ((_issingleoptionoutofs3 = issingleoptionoutofstock(state.data)) === null || _issingleoptionoutofs3 === void 0 ? void 0 : _issingleoptionoutofs3.isoutofstock) === true;
2348
- return _objectSpread$2J(_objectSpread$2J({}, provided), {}, {
2348
+ return _objectSpread$2K(_objectSpread$2K({}, provided), {}, {
2349
2349
  textDecoration: isOut ? 'line-through' : 'none',
2350
2350
  // color: '#000',
2351
2351
  color: isOut ? '#7c7a7a' : provided.color
@@ -2397,11 +2397,11 @@ var Variantoptions = function Variantoptions(props) {
2397
2397
  }
2398
2398
  }
2399
2399
  },
2400
- styles: _objectSpread$2J(_objectSpread$2J({}, defaultstylesnone), {}, {
2400
+ styles: _objectSpread$2K(_objectSpread$2K({}, defaultstylesnone), {}, {
2401
2401
  option: function option(provided, state) {
2402
2402
  var _issingleoptionoutofs5;
2403
2403
  var isOut = ((_issingleoptionoutofs5 = issingleoptionoutofstock(state.data)) === null || _issingleoptionoutofs5 === void 0 ? void 0 : _issingleoptionoutofs5.isoutofstock) === true;
2404
- return _objectSpread$2J(_objectSpread$2J({}, provided), {}, {
2404
+ return _objectSpread$2K(_objectSpread$2K({}, provided), {}, {
2405
2405
  textDecoration: isOut ? 'line-through' : 'none',
2406
2406
  // color: '#000',
2407
2407
  // cursor: isOut ? 'not-allowed' : 'pointer',
@@ -2411,7 +2411,7 @@ var Variantoptions = function Variantoptions(props) {
2411
2411
  singleValue: function singleValue(provided, state) {
2412
2412
  var _issingleoptionoutofs6;
2413
2413
  var isOut = ((_issingleoptionoutofs6 = issingleoptionoutofstock(state.data)) === null || _issingleoptionoutofs6 === void 0 ? void 0 : _issingleoptionoutofs6.isoutofstock) === true;
2414
- return _objectSpread$2J(_objectSpread$2J({}, provided), {}, {
2414
+ return _objectSpread$2K(_objectSpread$2K({}, provided), {}, {
2415
2415
  textDecoration: isOut ? 'line-through' : 'none',
2416
2416
  // color: '#000',
2417
2417
  color: isOut ? '#7c7a7a' : provided.color
@@ -2702,6 +2702,326 @@ var ProductExtras = function ProductExtras(props) {
2702
2702
  }));
2703
2703
  };
2704
2704
 
2705
+ function ownKeys$2J(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; }
2706
+ function _objectSpread$2J(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$2J(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$2J(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
2707
+ var ProductExtras_charm = function ProductExtras_charm(props) {
2708
+ var _fetchProductInfoQuer;
2709
+ props.actions.lang;
2710
+ var ikimagecredcontext = props.actions.ikimagecredcontext;
2711
+ var langdetect = props.actions.langdetect;
2712
+ var fetchProductInfoQueryContext = props.actions.fetchProductInfoQueryContext;
2713
+ props.actions.GeneralAPIMutationContext;
2714
+ props.actions.NotificationManager;
2715
+ var sectionproperties = props.actions.sectionproperties;
2716
+ props.actions.addtocardpayloadobj;
2717
+ props.actions.setaddtocardpayloadobj;
2718
+ var addtocartfunc_extras = props.actions.addtocartfunc_extras;
2719
+ var product_prod_extras_array = props.actions.product_prod_extras_array;
2720
+ var setproduct_prod_extras_array = props.actions.setproduct_prod_extras_array;
2721
+ var variantindexcompleted = props.actions.variantindexcompleted;
2722
+ props.actions;
2723
+ var productid = fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer === void 0 || (_fetchProductInfoQuer = _fetchProductInfoQuer.data) === null || _fetchProductInfoQuer === void 0 || (_fetchProductInfoQuer = _fetchProductInfoQuer.productinfo) === null || _fetchProductInfoQuer === void 0 ? void 0 : _fetchProductInfoQuer.productid;
2724
+ // const templatepropcontext = props.actions.templatepropcontext;
2725
+
2726
+ // const addtocartfunc = props.addtocartfunc;
2727
+ var authdetailsContext = props.actions.authdetailsContext;
2728
+ props.actions.productinfo_cssstyles;
2729
+ var _useState = useState([]),
2730
+ _useState2 = _slicedToArray(_useState, 2);
2731
+ _useState2[0];
2732
+ _useState2[1];
2733
+ var _useState3 = useState(false),
2734
+ _useState4 = _slicedToArray(_useState3, 2);
2735
+ _useState4[0];
2736
+ _useState4[1];
2737
+ var _useState5 = useState(false),
2738
+ _useState6 = _slicedToArray(_useState5, 2);
2739
+ _useState6[0];
2740
+ _useState6[1];
2741
+ var _useState7 = useState('all'),
2742
+ _useState8 = _slicedToArray(_useState7, 2),
2743
+ filterproductreviews = _useState8[0];
2744
+ _useState8[1];
2745
+ var _useState9 = useState([]),
2746
+ _useState0 = _slicedToArray(_useState9, 2);
2747
+ _useState0[0];
2748
+ _useState0[1];
2749
+ // const [product_prod_extras_array, setproduct_prod_extras_array] = useState([]);
2750
+ useEffect(function () {
2751
+ if (fetchProductInfoQueryContext.isSuccess) ;
2752
+ }, [filterproductreviews]);
2753
+ useEffect(function () {
2754
+ if (fetchProductInfoQueryContext.isSuccess) {
2755
+ var _fetchProductInfoQuer2;
2756
+ var tempprodextraarr = _toConsumableArray(fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer2 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer2 === void 0 || (_fetchProductInfoQuer2 = _fetchProductInfoQuer2.data) === null || _fetchProductInfoQuer2 === void 0 || (_fetchProductInfoQuer2 = _fetchProductInfoQuer2.productinfo) === null || _fetchProductInfoQuer2 === void 0 ? void 0 : _fetchProductInfoQuer2.product_extras);
2757
+ setproduct_prod_extras_array(_toConsumableArray(tempprodextraarr));
2758
+ }
2759
+ }, [fetchProductInfoQueryContext.isSuccess, fetchProductInfoQueryContext.data]);
2760
+ var formstyles = {
2761
+ input_label_name: css({
2762
+ color: sectionproperties.form_labelcolor,
2763
+ textTransform: sectionproperties.form_labeltexttransform,
2764
+ fontWeight: sectionproperties.form_labelfontweight,
2765
+ fontSize: sectionproperties.form_labelfontsize + 'px'
2766
+ }),
2767
+ extracontainer: css({
2768
+ ':hover': {
2769
+ transitions: '.3s',
2770
+ color: '#4faa47'
2771
+ }
2772
+ }),
2773
+ variantButton: css({
2774
+ minWidth: 42,
2775
+ border: '1px solid #ccc',
2776
+ borderRadius: 18,
2777
+ backgroundColor: '#fff',
2778
+ color: '#000',
2779
+ display: 'flex',
2780
+ flexDirection: 'column',
2781
+ alignItems: 'center',
2782
+ justifyContent: 'center',
2783
+ padding: '8px 14px',
2784
+ cursor: 'pointer',
2785
+ transition: '0.2s ease',
2786
+ marginRight: 8,
2787
+ marginBottom: 8,
2788
+ fontSize: 13
2789
+ }),
2790
+ variantButtonActive: css({
2791
+ backgroundColor: '#4faa47',
2792
+ border: '1px solid #4faa47',
2793
+ color: '#fff'
2794
+ }),
2795
+ variantThumbnail: css({
2796
+ width: 56,
2797
+ height: 56,
2798
+ objectFit: 'cover',
2799
+ borderRadius: 12,
2800
+ marginBottom: 6
2801
+ }),
2802
+ variantLabel: css({
2803
+ lineHeight: 1.2,
2804
+ textAlign: 'center'
2805
+ }),
2806
+ variantPrice: css({
2807
+ lineHeight: 1.2,
2808
+ textAlign: 'center',
2809
+ fontSize: 11,
2810
+ marginTop: 4,
2811
+ opacity: 0.8
2812
+ })
2813
+ };
2814
+ var getSelectedChoiceId = function getSelectedChoiceId(extraitem) {
2815
+ var _extraitem$variants;
2816
+ if (extraitem !== null && extraitem !== void 0 && extraitem.variantid) {
2817
+ return extraitem.variantid;
2818
+ }
2819
+ if (extraitem !== null && extraitem !== void 0 && extraitem.selected_option_valueid) {
2820
+ return extraitem.selected_option_valueid;
2821
+ }
2822
+ if (extraitem !== null && extraitem !== void 0 && extraitem.variants && (extraitem === null || extraitem === void 0 || (_extraitem$variants = extraitem.variants) === null || _extraitem$variants === void 0 ? void 0 : _extraitem$variants.length) != 0) {
2823
+ var activevariant = extraitem.variants.find(function (variantitem) {
2824
+ return parseFloat((variantitem === null || variantitem === void 0 ? void 0 : variantitem.quantity) || 0) > 0 && (variantitem === null || variantitem === void 0 ? void 0 : variantitem.variantid);
2825
+ });
2826
+ if (activevariant !== null && activevariant !== void 0 && activevariant.variantid) {
2827
+ return activevariant.variantid;
2828
+ }
2829
+ }
2830
+ return null;
2831
+ };
2832
+ var getExtraChoices = function getExtraChoices(extraitem) {
2833
+ var _extraitem$productinf, _extraitem$productinf2;
2834
+ var variants = (extraitem === null || extraitem === void 0 || (_extraitem$productinf = extraitem.productinfo) === null || _extraitem$productinf === void 0 ? void 0 : _extraitem$productinf.variants) || [];
2835
+ var variantByValueId = {};
2836
+ variants.forEach(function (variantitem) {
2837
+ var _variantitem$varianto;
2838
+ variantitem === null || variantitem === void 0 || (_variantitem$varianto = variantitem.variantoptions) === null || _variantitem$varianto === void 0 || _variantitem$varianto.forEach(function (variantoptionitem) {
2839
+ if (variantoptionitem !== null && variantoptionitem !== void 0 && variantoptionitem.valueid) {
2840
+ variantByValueId[variantoptionitem.valueid] = variantitem;
2841
+ }
2842
+ });
2843
+ });
2844
+ var optionChoices = (extraitem === null || extraitem === void 0 || (_extraitem$productinf2 = extraitem.productinfo) === null || _extraitem$productinf2 === void 0 || (_extraitem$productinf2 = _extraitem$productinf2.productoptions) === null || _extraitem$productinf2 === void 0 ? void 0 : _extraitem$productinf2.flatMap(function (optionitem) {
2845
+ var _optionitem$optionval;
2846
+ return (optionitem === null || optionitem === void 0 || (_optionitem$optionval = optionitem.optionvalues) === null || _optionitem$optionval === void 0 ? void 0 : _optionitem$optionval.map(function (valueitem) {
2847
+ var _extraitem$productinf3;
2848
+ var matchedVariant = variantByValueId[valueitem === null || valueitem === void 0 ? void 0 : valueitem.valueid];
2849
+ return {
2850
+ id: (valueitem === null || valueitem === void 0 ? void 0 : valueitem.valueid) || (matchedVariant === null || matchedVariant === void 0 ? void 0 : matchedVariant.variantid),
2851
+ variantid: (matchedVariant === null || matchedVariant === void 0 ? void 0 : matchedVariant.variantid) || null,
2852
+ valueid: valueitem === null || valueitem === void 0 ? void 0 : valueitem.valueid,
2853
+ thumbnail_url: (valueitem === null || valueitem === void 0 ? void 0 : valueitem.thumbnail_url) || null,
2854
+ price: (matchedVariant === null || matchedVariant === void 0 ? void 0 : matchedVariant.variantprice) || (matchedVariant === null || matchedVariant === void 0 ? void 0 : matchedVariant.variantsaleprice) || (extraitem === null || extraitem === void 0 || (_extraitem$productinf3 = extraitem.productinfo) === null || _extraitem$productinf3 === void 0 ? void 0 : _extraitem$productinf3.defaultprice) || '0.00',
2855
+ label: langdetect == 'en' ? (valueitem === null || valueitem === void 0 ? void 0 : valueitem.valuename) || (optionitem === null || optionitem === void 0 ? void 0 : optionitem.optionname) : (valueitem === null || valueitem === void 0 ? void 0 : valueitem.valuename_ar) || (valueitem === null || valueitem === void 0 ? void 0 : valueitem.valuename) || (optionitem === null || optionitem === void 0 ? void 0 : optionitem.optionname_ar) || (optionitem === null || optionitem === void 0 ? void 0 : optionitem.optionname)
2856
+ };
2857
+ })) || [];
2858
+ })) || [];
2859
+ if (optionChoices.length != 0) {
2860
+ return optionChoices;
2861
+ }
2862
+ return variants.map(function (variantitem) {
2863
+ var _extraitem$productinf4, _variantitem$varianto2;
2864
+ return {
2865
+ id: variantitem === null || variantitem === void 0 ? void 0 : variantitem.variantid,
2866
+ variantid: variantitem === null || variantitem === void 0 ? void 0 : variantitem.variantid,
2867
+ thumbnail_url: (variantitem === null || variantitem === void 0 ? void 0 : variantitem.thumbnail_url) || null,
2868
+ price: (variantitem === null || variantitem === void 0 ? void 0 : variantitem.variantprice) || (variantitem === null || variantitem === void 0 ? void 0 : variantitem.variantsaleprice) || (extraitem === null || extraitem === void 0 || (_extraitem$productinf4 = extraitem.productinfo) === null || _extraitem$productinf4 === void 0 ? void 0 : _extraitem$productinf4.defaultprice) || '0.00',
2869
+ label: (variantitem === null || variantitem === void 0 || (_variantitem$varianto2 = variantitem.variantoptions) === null || _variantitem$varianto2 === void 0 || (_variantitem$varianto2 = _variantitem$varianto2.map(function (optionitem) {
2870
+ return langdetect == 'en' ? (optionitem === null || optionitem === void 0 ? void 0 : optionitem.valuename) || (optionitem === null || optionitem === void 0 ? void 0 : optionitem.optionname) : (optionitem === null || optionitem === void 0 ? void 0 : optionitem.valuename_ar) || (optionitem === null || optionitem === void 0 ? void 0 : optionitem.valuename) || (optionitem === null || optionitem === void 0 ? void 0 : optionitem.optionname_ar) || (optionitem === null || optionitem === void 0 ? void 0 : optionitem.optionname);
2871
+ })) === null || _variantitem$varianto2 === void 0 || (_variantitem$varianto2 = _variantitem$varianto2.filter(Boolean)) === null || _variantitem$varianto2 === void 0 ? void 0 : _variantitem$varianto2.join(' / ')) || (variantitem === null || variantitem === void 0 ? void 0 : variantitem.sku)
2872
+ };
2873
+ });
2874
+ };
2875
+ var handleSelectExtra = function handleSelectExtra(item, index) {
2876
+ var _fetchProductInfoQuer3, _item$productinfo, _item$productinfo2, _item$productinfo3, _item$productinfo4;
2877
+ var selectedvariant = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : null;
2878
+ var can_add_extras = false;
2879
+ if ((fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer3 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer3 === void 0 || (_fetchProductInfoQuer3 = _fetchProductInfoQuer3.data) === null || _fetchProductInfoQuer3 === void 0 || (_fetchProductInfoQuer3 = _fetchProductInfoQuer3.productinfo) === null || _fetchProductInfoQuer3 === void 0 ? void 0 : _fetchProductInfoQuer3.hasvariants) == 1) {
2880
+ if (selectedvariant !== null && selectedvariant !== void 0 && selectedvariant.variantid || selectedvariant !== null && selectedvariant !== void 0 && selectedvariant.valueid) {
2881
+ can_add_extras = true;
2882
+ } else if (variantindexcompleted != undefined && variantindexcompleted != null && (variantindexcompleted === null || variantindexcompleted === void 0 ? void 0 : variantindexcompleted.length) != 0) {
2883
+ can_add_extras = true;
2884
+ } else {
2885
+ alert('Please select a variant to be able to add extras');
2886
+ }
2887
+ } else {
2888
+ can_add_extras = true;
2889
+ }
2890
+ if (!can_add_extras) {
2891
+ return;
2892
+ }
2893
+ var tempproduct_prod_extras_array = _toConsumableArray(product_prod_extras_array);
2894
+ var variantid = null;
2895
+ if (variantindexcompleted != undefined && variantindexcompleted != null && (variantindexcompleted === null || variantindexcompleted === void 0 ? void 0 : variantindexcompleted.length) != 0) {
2896
+ var _fetchProductInfoQuer4;
2897
+ variantid = fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer4 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer4 === void 0 || (_fetchProductInfoQuer4 = _fetchProductInfoQuer4.data) === null || _fetchProductInfoQuer4 === void 0 || (_fetchProductInfoQuer4 = _fetchProductInfoQuer4.productinfo) === null || _fetchProductInfoQuer4 === void 0 || (_fetchProductInfoQuer4 = _fetchProductInfoQuer4.variants[variantindexcompleted]) === null || _fetchProductInfoQuer4 === void 0 ? void 0 : _fetchProductInfoQuer4.variantid;
2898
+ }
2899
+ var selectedVariantId = (selectedvariant === null || selectedvariant === void 0 ? void 0 : selectedvariant.variantid) || null;
2900
+ var selectedOptionValueId = (selectedvariant === null || selectedvariant === void 0 ? void 0 : selectedvariant.valueid) || null;
2901
+ tempproduct_prod_extras_array[index] = _objectSpread$2J(_objectSpread$2J({}, tempproduct_prod_extras_array[index]), {}, {
2902
+ quantity: 1,
2903
+ variantid: selectedVariantId,
2904
+ selected_option_valueid: selectedOptionValueId,
2905
+ selected_variantids: selectedVariantId ? [selectedVariantId] : [],
2906
+ selected_option_valueids: selectedOptionValueId ? [selectedOptionValueId] : [],
2907
+ main_ref_variantid: variantid,
2908
+ main_ref_productid: productid,
2909
+ item_type: 'Extras',
2910
+ hasvariants: (item === null || item === void 0 || (_item$productinfo = item.productinfo) === null || _item$productinfo === void 0 ? void 0 : _item$productinfo.hasvariants) || 0,
2911
+ productinfo: item === null || item === void 0 ? void 0 : item.productinfo,
2912
+ variants: (item === null || item === void 0 || (_item$productinfo2 = item.productinfo) === null || _item$productinfo2 === void 0 || (_item$productinfo2 = _item$productinfo2.variants) === null || _item$productinfo2 === void 0 ? void 0 : _item$productinfo2.map(function (variantitem) {
2913
+ return _objectSpread$2J(_objectSpread$2J({}, variantitem), {}, {
2914
+ quantity: (variantitem === null || variantitem === void 0 ? void 0 : variantitem.variantid) == selectedVariantId ? 1 : 0
2915
+ });
2916
+ })) || []
2917
+ });
2918
+ addtocartfunc_extras(false, {
2919
+ functype: 'add',
2920
+ item_type: 'Extras',
2921
+ productid: item === null || item === void 0 || (_item$productinfo3 = item.productinfo) === null || _item$productinfo3 === void 0 ? void 0 : _item$productinfo3.productid,
2922
+ main_ref_productid: productid,
2923
+ main_ref_variantid: variantid,
2924
+ variantid: selectedVariantId || '',
2925
+ quantity: 1,
2926
+ hasvariants: (item === null || item === void 0 || (_item$productinfo4 = item.productinfo) === null || _item$productinfo4 === void 0 ? void 0 : _item$productinfo4.hasvariants) || 0,
2927
+ date: '',
2928
+ time: '',
2929
+ from: '',
2930
+ to: '',
2931
+ extrafields: []
2932
+ });
2933
+ setproduct_prod_extras_array(_toConsumableArray(tempproduct_prod_extras_array));
2934
+ };
2935
+ return /*#__PURE__*/React.createElement("div", {
2936
+ className: 'row w-100 ml-0 mr-0 mt-3'
2937
+ }, product_prod_extras_array === null || product_prod_extras_array === void 0 ? void 0 : product_prod_extras_array.map(function (item, index) {
2938
+ var _item$productinfo5, _item$productinfo6, _item$productinfo7, _item$productinfo8, _item$productinfo9;
2939
+ var selectedChoiceId = getSelectedChoiceId(item);
2940
+ var extraChoices = getExtraChoices(item);
2941
+ var hasVariants = (item === null || item === void 0 || (_item$productinfo5 = item.productinfo) === null || _item$productinfo5 === void 0 ? void 0 : _item$productinfo5.hasvariants) == 1 && (extraChoices === null || extraChoices === void 0 ? void 0 : extraChoices.length) != 0;
2942
+ return /*#__PURE__*/React.createElement("div", {
2943
+ "class": "col-12 p-0"
2944
+ }, /*#__PURE__*/React.createElement(Accordion, {
2945
+ allowMultipleExpanded: true,
2946
+ allowZeroExpanded: true,
2947
+ key: (item === null || item === void 0 || (_item$productinfo6 = item.productinfo) === null || _item$productinfo6 === void 0 ? void 0 : _item$productinfo6.productid) || index
2948
+ }, /*#__PURE__*/React.createElement(AccordionItem, {
2949
+ uuid: 0
2950
+ }, /*#__PURE__*/React.createElement(AccordionItemHeading, null, /*#__PURE__*/React.createElement(AccordionItemButton, null, /*#__PURE__*/React.createElement("div", {
2951
+ className: ' row m-0 p-0 mb-2 pl-md-3 pr-md-3 '
2952
+ }, /*#__PURE__*/React.createElement("div", {
2953
+ className: "col-lg-10 col-md-10 col-sm-10 p-0"
2954
+ }, /*#__PURE__*/React.createElement("div", {
2955
+ "class": "row m-0 w-100"
2956
+ }, /*#__PURE__*/React.createElement("div", {
2957
+ "class": "col-12 p-0 text-start"
2958
+ }, /*#__PURE__*/React.createElement("p", {
2959
+ className: "".concat(formstyles.input_label_name) + ' m-0 p-0 '
2960
+ }, item === null || item === void 0 || (_item$productinfo7 = item.productinfo) === null || _item$productinfo7 === void 0 ? void 0 : _item$productinfo7.name_en)), /*#__PURE__*/React.createElement("div", {
2961
+ "class": "col-12 p-0 text-start"
2962
+ }, /*#__PURE__*/React.createElement("p", {
2963
+ className: ' m-0 p-0 ',
2964
+ style: {
2965
+ color: '#ccc',
2966
+ fontSize: 15
2967
+ },
2968
+ dangerouslySetInnerHTML: {
2969
+ __html: langdetect == 'en' ? item === null || item === void 0 || (_item$productinfo8 = item.productinfo) === null || _item$productinfo8 === void 0 ? void 0 : _item$productinfo8.description_en : item === null || item === void 0 || (_item$productinfo9 = item.productinfo) === null || _item$productinfo9 === void 0 ? void 0 : _item$productinfo9.description_ar
2970
+ }
2971
+ })))), /*#__PURE__*/React.createElement("div", {
2972
+ className: "col-lg-2 col-md-2 col-sm-2 p-0"
2973
+ }, /*#__PURE__*/React.createElement(AccordionItemState, null, function (state) {
2974
+ if (state.expanded == true) {
2975
+ return /*#__PURE__*/React.createElement("i", {
2976
+ className: ' collapsetitle h-100 d-flex align-items-center justify-content-end '
2977
+ }, /*#__PURE__*/React.createElement(FiChevronUp, null));
2978
+ } else {
2979
+ return /*#__PURE__*/React.createElement("i", {
2980
+ className: ' collapsetitle h-100 d-flex align-items-center justify-content-end '
2981
+ }, /*#__PURE__*/React.createElement(FiChevronDown, null));
2982
+ }
2983
+ }))))), /*#__PURE__*/React.createElement(AccordionItemPanel, {
2984
+ className: "p-0"
2985
+ }, /*#__PURE__*/React.createElement("div", {
2986
+ "class": "col-12 p-0 mt-2"
2987
+ }, hasVariants ? /*#__PURE__*/React.createElement("div", {
2988
+ "class": "d-flex flex-wrap align-items-center"
2989
+ }, extraChoices === null || extraChoices === void 0 ? void 0 : extraChoices.map(function (choiceitem) {
2990
+ var choiceId = (choiceitem === null || choiceitem === void 0 ? void 0 : choiceitem.variantid) || (choiceitem === null || choiceitem === void 0 ? void 0 : choiceitem.valueid);
2991
+ var isActive = selectedChoiceId == choiceId;
2992
+ return /*#__PURE__*/React.createElement("button", {
2993
+ key: choiceitem === null || choiceitem === void 0 ? void 0 : choiceitem.id,
2994
+ type: "button",
2995
+ className: "".concat(formstyles.variantButton, " ").concat(isActive ? formstyles.variantButtonActive : ''),
2996
+ onClick: function onClick() {
2997
+ handleSelectExtra(item, index, choiceitem);
2998
+ }
2999
+ }, choiceitem !== null && choiceitem !== void 0 && choiceitem.thumbnail_url ? /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(Imagekitimagecomp, {
3000
+ urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
3001
+ publicKey: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimagepublickey,
3002
+ path: choiceitem === null || choiceitem === void 0 ? void 0 : choiceitem.thumbnail_url,
3003
+ loading: "lazy",
3004
+ "class": formstyles.variantThumbnail,
3005
+ className: formstyles.variantThumbnail
3006
+ }), /*#__PURE__*/React.createElement("span", {
3007
+ className: formstyles.variantLabel
3008
+ }, choiceitem === null || choiceitem === void 0 ? void 0 : choiceitem.label), /*#__PURE__*/React.createElement("span", {
3009
+ className: formstyles.variantPrice
3010
+ }, sectionproperties.removedecimals == 'Without Decimals and Separated With Comma' ? Math.floor((choiceitem === null || choiceitem === void 0 ? void 0 : choiceitem.price) || 0).toLocaleString() : choiceitem === null || choiceitem === void 0 ? void 0 : choiceitem.price, ' ', langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar)) : /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement("span", {
3011
+ className: formstyles.variantLabel
3012
+ }, choiceitem === null || choiceitem === void 0 ? void 0 : choiceitem.label), /*#__PURE__*/React.createElement("span", {
3013
+ className: formstyles.variantPrice
3014
+ }, sectionproperties.removedecimals == 'Without Decimals and Separated With Comma' ? Math.floor((choiceitem === null || choiceitem === void 0 ? void 0 : choiceitem.price) || 0).toLocaleString() : choiceitem === null || choiceitem === void 0 ? void 0 : choiceitem.price, ' ', langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar)));
3015
+ })) : /*#__PURE__*/React.createElement("button", {
3016
+ type: "button",
3017
+ className: "".concat(formstyles.variantButton, " ").concat(parseFloat((item === null || item === void 0 ? void 0 : item.quantity) || 0) > 0 ? formstyles.variantButtonActive : ''),
3018
+ onClick: function onClick() {
3019
+ handleSelectExtra(item, index, null);
3020
+ }
3021
+ }, langdetect == 'en' ? 'Select' : 'اختر'))))));
3022
+ }));
3023
+ };
3024
+
2705
3025
  var ProductHeaderPricing = function ProductHeaderPricing(props) {
2706
3026
  var _fetchProductInfoQuer6, _fetchProductInfoQuer7, _fetchProductInfoQuer8, _fetchProductInfoQuer9, _fetchProductInfoQuer0, _fetchProductInfoQuer1, _fetchProductInfoQuer10, _fetchProductInfoQuer11, _fetchProductInfoQuer12, _fetchProductInfoQuer13, _fetchProductInfoQuer14, _fetchProductInfoQuer15, _fetchProductInfoQuer16, _fetchProductInfoQuer17, _fetchProductInfoQuer18, _fetchProductInfoQuer19, _fetchProductInfoQuer20, _fetchProductInfoQuer21, _fetchProductInfoQuer22;
2707
3027
  props.actions.lang;
@@ -3943,7 +4263,7 @@ var ProductFileUploader = function ProductFileUploader(props) {
3943
4263
  };
3944
4264
 
3945
4265
  function ownKeys$2F(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;}function _objectSpread$2F(e){for(var r=1;r<arguments.length;r++){var t=null!=arguments[r]?arguments[r]:{};r%2?ownKeys$2F(Object(t),!0).forEach(function(r){_defineProperty(e,r,t[r]);}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):ownKeys$2F(Object(t)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r));});}return e;}//productidprops
3946
- var Product_itemtype=function Product_itemtype(props){var _authdetailsContext$i,_authdetailsContext$i2,_authdetailsContext$i6,_authdetailsContext$i7,_authdetailsContext$i8,_authdetailsContext$i9,_authdetailsContext$i0,_fetchProductInfoQuer33,_fetchProductInfoQuer34,_fetchProductInfoQuer35,_fetchProductInfoQuer36,_authdetailsContext$i1,_authdetailsContext$i10,_authdetailsContext$i11,_fetchProductInfoQuer37,_fetchProductInfoQuer38,_fetchProductInfoQuer39,_fetchProductInfoQuer40,_fetchProductInfoQuer41,_fetchProductInfoQuer42,_fetchProductInfoQuer43,_fetchProductInfoQuer44,_fetchProductInfoQuer45,_fetchProductInfoQuer46,_fetchProductInfoQuer47,_fetchProductInfoQuer48,_fetchProductInfoQuer49,_authdetailsContext$i12,_fetchProductInfoQuer50,_fetchProductInfoQuer51,_authdetailsContext$i13,_authdetailsContext$i14,_authdetailsContext$i15,_authdetailsContext$i16,_fetchProductInfoQuer53,_fetchProductInfoQuer54,_fetchProductInfoQuer55,_fetchProductInfoQuer56,_fetchProductInfoQuer57,_fetchProductInfoQuer58,_fetchProductInfoQuer59,_fetchProductInfoQuer60,_authdetailsContext$i17,_fetchProductInfoQuer61,_fetchProductInfoQuer62,_fetchProductInfoQuer63,_fetchProductInfoQuer64,_fetchProductInfoQuer65,_fetchProductInfoQuer67,_fetchProductInfoQuer68,_authdetailsContext$i18,_authdetailsContext$i19,_fetchProductInfoQuer69,_fetchProductInfoQuer71,_fetchProductInfoQuer72,_authdetailsContext$i20,_fetchProductInfoQuer73,_authdetailsContext$i21,_fetchProductInfoQuer74,_fetchProductInfoQuer75,_fetchProductInfoQuer76,_fetchProductInfoQuer77,_fetchProductInfoQuer78,_fetchProductInfoQuer79,_authdetailsContext$i22,_returnpolicyobj,_returnpolicyobj2,_returnpolicyobj3,_returnpolicyobj4,_returnpolicyobj5,_returnpolicyobj6,_returnpolicyobj7,_returnpolicyobj8,_fetchProductInfoQuer80,_fetchProductInfoQuer81,_authdetailsContext$i23,_authdetailsContext$i24,_authdetailsContext$i25,_authdetailsContext$i26,_authdetailsContext$i27,_authdetailsContext$i28,_authdetailsContext$i29,_fetchProductInfoQuer82,_authdetailsContext$i30,_authdetailsContext$i31,_authdetailsContext$i32,_authdetailsContext$i33,_authdetailsContext$i34,_authdetailsContext$i35,_fetchProductInfoQuer83,_fetchProductInfoQuer84,_fetchProductInfoQuer85,_fetchProductInfoQuer86,_fetchProductInfoQuer87,_fetchProductInfoQuer88,_fetchProductInfoQuer89,_fetchProductInfoQuer90,_fetchProductInfoQuer91,_fetchProductInfoQuer92,_fetchProductInfoQuer93,_fetchProductInfoQuer94,_fetchProductInfoQuer95,_fetchProductInfoQuer96,_fetchProductInfoQuer98,_fetchProductInfoQuer99,_fetchProductInfoQuer100,_fetchProductInfoQuer101,_fetchProductInfoQuer102,_fetchProductInfoQuer103,_fetchProductInfoQuer104,_fetchProductInfoQuer105,_fetchProductInfoQuer106,_fetchProductInfoQuer107,_fetchProductInfoQuer108,_fetchProductInfoQuer109,_fetchProductInfoQuer110,_fetchProductInfoQuer112,_fetchProductInfoQuer113,_fetchProductInfoQuer114,_fetchProductInfoQuer116,_fetchProductInfoQuer117,_fetchProductInfoQuer118,_fetchProductInfoQuer119,_fetchProductInfoQuer120,_fetchProductInfoQuer121,_fetchProductInfoQuer122,_fetchProductInfoQuer123,_fetchProductInfoQuer124,_returnpolicyobj9,_returnpolicyobj0,_returnpolicyobj1,_returnpolicyobj10,_returnpolicyobj11,_returnpolicyobj12,_returnpolicyobj13,_returnpolicyobj14,_fetchProductInfoQuer125,_fetchProductInfoQuer126,_fetchProductInfoQuer127,_fetchProductInfoQuer128,_fetchProductInfoQuer129,_fetchProductInfoQuer130,_fetchProductInfoQuer131,_fetchProductInfoQuer132,_fetchProductInfoQuer133,_fetchProductInfoQuer134,_fetchProductInfoQuer135,_fetchProductInfoQuer136,_authdetailsContext$i36,_authdetailsContext$i37,_authdetailsContext$i38,_fetchProductInfoQuer137,_fetchProductInfoQuer138,_fetchProductInfoQuer139,_fetchProductInfoQuer140,_fetchProductInfoQuer141,_fetchProductInfoQuer142,_fetchProductInfoQuer143,_fetchProductInfoQuer144,_authdetailsContext$i39,_fetchProductInfoQuer145,_fetchProductInfoQuer146,_fetchProductInfoQuer147,_fetchProductInfoQuer148,_fetchProductInfoQuer149,_fetchProductInfoQuer150,_fetchProductInfoQuer151,_fetchProductInfoQuer154,_fetchProductInfoQuer155,_authdetailsContext$i40,_fetchProductInfoQuer156,_fetchProductInfoQuer157,_fetchProductInfoQuer158,_fetchProductInfoQuer159,_fetchProductInfoQuer160,_fetchProductInfoQuer161,_fetchProductInfoQuer162,_fetchProductInfoQuer165,_fetchProductInfoQuer166,_sizeguideimage$,_authdetailsContext$i41,_fetchProductInfoQuer168,_fetchProductInfoQuer169;var lang=props.actions.lang;var actions=props.actions;var langdetect=props.actions.langdetect;props.actions.srcfromprops;var returnpolicyobj=props.actions.returnpolicyobj;var productinfo_cssstyles=props.actions.productinfo_cssstyles;var addtocartfunc=props.actions.addtocartfunc;props.actions.selectproductoptionvalue;props.actions.clearchoosenvaluesbutkeepcurrentvalue;props.actions.fetchAuthorizationQueryContext;var productimagesarray=props.actions.productimagesarray;var fetchProductInfoQueryContext=props.actions.fetchProductInfoQueryContext;var sectionproperties=props.actions.sectionproperties;var addtocardpayloadobj=props.actions.addtocardpayloadobj;var setaddtocardpayloadobj=props.actions.setaddtocardpayloadobj;var routingcountext=props.actions.routingcountext;var AddtoCartMutationContext=props.actions.AddtoCartMutationContext;var authdetailsContext=props.actions.authdetailsContext;var variantsku=props.actions.variantsku;var addtofavoritescontext=props.actions.addtofavoritescontext;var variantindexcompleted=props.actions.variantindexcompleted;props.actions.productVideos;props.actions.ProductInfoObj;var NotificationManager=props.actions.NotificationManager;var StaticPagesLinksContext=props.actions.StaticPagesLinksContext;var getprice_discountpriceprops=props.actions.getprice_discountpriceprops;props.actions.addtocartfunc_extras;// const getprice_discountpricepropsnormalonly = props.actions.getprice_discountpricepropsnormalonly;
4266
+ var Product_itemtype=function Product_itemtype(props){var _authdetailsContext$i,_authdetailsContext$i2,_authdetailsContext$i6,_authdetailsContext$i7,_authdetailsContext$i8,_authdetailsContext$i9,_authdetailsContext$i0,_fetchProductInfoQuer33,_fetchProductInfoQuer34,_fetchProductInfoQuer35,_fetchProductInfoQuer36,_authdetailsContext$i1,_authdetailsContext$i10,_authdetailsContext$i11,_fetchProductInfoQuer37,_fetchProductInfoQuer38,_fetchProductInfoQuer39,_fetchProductInfoQuer40,_fetchProductInfoQuer41,_fetchProductInfoQuer42,_fetchProductInfoQuer43,_fetchProductInfoQuer44,_fetchProductInfoQuer45,_fetchProductInfoQuer46,_fetchProductInfoQuer47,_fetchProductInfoQuer48,_fetchProductInfoQuer49,_authdetailsContext$i12,_fetchProductInfoQuer50,_fetchProductInfoQuer51,_authdetailsContext$i13,_authdetailsContext$i14,_authdetailsContext$i15,_authdetailsContext$i16,_fetchProductInfoQuer53,_fetchProductInfoQuer54,_fetchProductInfoQuer55,_fetchProductInfoQuer56,_fetchProductInfoQuer57,_fetchProductInfoQuer58,_fetchProductInfoQuer59,_fetchProductInfoQuer60,_authdetailsContext$i17,_authdetailsContext$i18,_authdetailsContext$i19,_fetchProductInfoQuer61,_fetchProductInfoQuer62,_fetchProductInfoQuer63,_fetchProductInfoQuer64,_fetchProductInfoQuer65,_fetchProductInfoQuer67,_fetchProductInfoQuer68,_authdetailsContext$i20,_authdetailsContext$i21,_fetchProductInfoQuer69,_fetchProductInfoQuer71,_fetchProductInfoQuer72,_authdetailsContext$i22,_fetchProductInfoQuer73,_authdetailsContext$i23,_fetchProductInfoQuer74,_fetchProductInfoQuer75,_fetchProductInfoQuer76,_fetchProductInfoQuer77,_fetchProductInfoQuer78,_fetchProductInfoQuer79,_authdetailsContext$i24,_returnpolicyobj,_returnpolicyobj2,_returnpolicyobj3,_returnpolicyobj4,_returnpolicyobj5,_returnpolicyobj6,_returnpolicyobj7,_returnpolicyobj8,_fetchProductInfoQuer80,_fetchProductInfoQuer81,_authdetailsContext$i25,_authdetailsContext$i26,_authdetailsContext$i27,_authdetailsContext$i28,_authdetailsContext$i29,_authdetailsContext$i30,_authdetailsContext$i31,_fetchProductInfoQuer82,_authdetailsContext$i32,_authdetailsContext$i33,_authdetailsContext$i34,_authdetailsContext$i35,_authdetailsContext$i36,_authdetailsContext$i37,_fetchProductInfoQuer83,_fetchProductInfoQuer84,_fetchProductInfoQuer85,_fetchProductInfoQuer86,_fetchProductInfoQuer87,_fetchProductInfoQuer88,_fetchProductInfoQuer89,_fetchProductInfoQuer90,_fetchProductInfoQuer91,_fetchProductInfoQuer92,_fetchProductInfoQuer93,_fetchProductInfoQuer94,_fetchProductInfoQuer95,_fetchProductInfoQuer96,_fetchProductInfoQuer98,_fetchProductInfoQuer99,_fetchProductInfoQuer100,_fetchProductInfoQuer101,_fetchProductInfoQuer102,_fetchProductInfoQuer103,_fetchProductInfoQuer104,_fetchProductInfoQuer105,_authdetailsContext$i38,_authdetailsContext$i39,_fetchProductInfoQuer106,_fetchProductInfoQuer107,_fetchProductInfoQuer108,_fetchProductInfoQuer109,_fetchProductInfoQuer110,_fetchProductInfoQuer112,_fetchProductInfoQuer113,_fetchProductInfoQuer114,_fetchProductInfoQuer116,_fetchProductInfoQuer117,_fetchProductInfoQuer118,_fetchProductInfoQuer119,_fetchProductInfoQuer120,_fetchProductInfoQuer121,_fetchProductInfoQuer122,_fetchProductInfoQuer123,_fetchProductInfoQuer124,_returnpolicyobj9,_returnpolicyobj0,_returnpolicyobj1,_returnpolicyobj10,_returnpolicyobj11,_returnpolicyobj12,_returnpolicyobj13,_returnpolicyobj14,_fetchProductInfoQuer125,_fetchProductInfoQuer126,_fetchProductInfoQuer127,_fetchProductInfoQuer128,_fetchProductInfoQuer129,_fetchProductInfoQuer130,_fetchProductInfoQuer131,_fetchProductInfoQuer132,_fetchProductInfoQuer133,_fetchProductInfoQuer134,_fetchProductInfoQuer135,_fetchProductInfoQuer136,_authdetailsContext$i40,_authdetailsContext$i41,_authdetailsContext$i42,_fetchProductInfoQuer137,_fetchProductInfoQuer138,_fetchProductInfoQuer139,_fetchProductInfoQuer140,_fetchProductInfoQuer141,_fetchProductInfoQuer142,_fetchProductInfoQuer143,_fetchProductInfoQuer144,_authdetailsContext$i43,_fetchProductInfoQuer145,_fetchProductInfoQuer146,_fetchProductInfoQuer147,_fetchProductInfoQuer148,_fetchProductInfoQuer149,_fetchProductInfoQuer150,_fetchProductInfoQuer151,_fetchProductInfoQuer154,_fetchProductInfoQuer155,_authdetailsContext$i44,_fetchProductInfoQuer156,_fetchProductInfoQuer157,_fetchProductInfoQuer158,_fetchProductInfoQuer159,_fetchProductInfoQuer160,_fetchProductInfoQuer161,_fetchProductInfoQuer162,_fetchProductInfoQuer165,_fetchProductInfoQuer166,_sizeguideimage$,_authdetailsContext$i45,_fetchProductInfoQuer168,_fetchProductInfoQuer169;var lang=props.actions.lang;var actions=props.actions;var langdetect=props.actions.langdetect;props.actions.srcfromprops;var returnpolicyobj=props.actions.returnpolicyobj;var productinfo_cssstyles=props.actions.productinfo_cssstyles;var addtocartfunc=props.actions.addtocartfunc;props.actions.selectproductoptionvalue;props.actions.clearchoosenvaluesbutkeepcurrentvalue;props.actions.fetchAuthorizationQueryContext;var productimagesarray=props.actions.productimagesarray;var fetchProductInfoQueryContext=props.actions.fetchProductInfoQueryContext;var sectionproperties=props.actions.sectionproperties;var addtocardpayloadobj=props.actions.addtocardpayloadobj;var setaddtocardpayloadobj=props.actions.setaddtocardpayloadobj;var routingcountext=props.actions.routingcountext;var AddtoCartMutationContext=props.actions.AddtoCartMutationContext;var authdetailsContext=props.actions.authdetailsContext;var variantsku=props.actions.variantsku;var addtofavoritescontext=props.actions.addtofavoritescontext;var variantindexcompleted=props.actions.variantindexcompleted;props.actions.productVideos;props.actions.ProductInfoObj;var NotificationManager=props.actions.NotificationManager;var StaticPagesLinksContext=props.actions.StaticPagesLinksContext;var getprice_discountpriceprops=props.actions.getprice_discountpriceprops;props.actions.addtocartfunc_extras;// const getprice_discountpricepropsnormalonly = props.actions.getprice_discountpricepropsnormalonly;
3947
4267
  var ikimagecredcontext=props.actions.ikimagecredcontext;var currentshowingimageindex_pro=props.actions.currentshowingimageindex;var StoreInfoprops=props.actions.StoreInfoprops;props.actions.productimagesarray;var sizeguideimage=props.actions.sizeguideimage;// const setopensizeguidemodal = props.actions.setopensizeguidemodal;
3948
4268
  // const opensizeguidemodal = props.actions.opensizeguidemodal;
3949
4269
  var _useState=useState(false),_useState2=_slicedToArray(_useState,2),opensizeguidemodal=_useState2[0],setopensizeguidemodal=_useState2[1];var productpdfsarray=props.actions.productpdfsarray;var _useState3=useState(false),_useState4=_slicedToArray(_useState3,2),isCompared=_useState4[0],setIsCompared=_useState4[1];var whatsappUrl="https://wa.me/".concat(authdetailsContext===null||authdetailsContext===void 0||(_authdetailsContext$i=authdetailsContext.instinfo)===null||_authdetailsContext$i===void 0?void 0:_authdetailsContext$i.whatsappnumber,"?text=").concat(sectionproperties.directwabtnmessageen+' '+'https://'+authdetailsContext.instinfo.instcred.instexternaldomain+'/productinfo/'+fetchProductInfoQueryContext.data.data.productinfo.productid);var whatsappUrl_ar="https://wa.me/".concat(authdetailsContext===null||authdetailsContext===void 0||(_authdetailsContext$i2=authdetailsContext.instinfo)===null||_authdetailsContext$i2===void 0?void 0:_authdetailsContext$i2.whatsappnumber,"?text=").concat(sectionproperties.directwabtnmessagear+' '+'https://'+authdetailsContext.instinfo.instcred.instexternaldomain+'/productinfo/'+fetchProductInfoQueryContext.data.data.productinfo.productid);var _useState5=useState(currentshowingimageindex_pro),_useState6=_slicedToArray(_useState5,2),currentshowingimageindex=_useState6[0],setcurrentshowingimageindex=_useState6[1];// const DescriptionContent = props.actions.DescriptionContent;
@@ -4016,22 +4336,22 @@ overflow:'hidden'// border: authdetailsContext?.instinfo?.contactinfo.instid ==
4016
4336
  // : 'col-xl-6 col-lg-8 col-md-12 col-sm-12 pl-0 pr-4 p-md-0'
4017
4337
  // : 'col-xl-12 col-lg-12 col-md-12 col-sm-12 px-3 px-md-2'
4018
4338
  // }
4019
- },/*#__PURE__*/React.createElement("div",{className:sectionproperties.evencols=='Yes'?'row m-0 w-100':'row m-0 w-100'},sectionproperties.showmeasurementunit=='Show'&&sectionproperties.measurementunitposition=='Above Name'&&MeasurementUnitSection(),sectionproperties.quantityshow=='Show'&&/*#__PURE__*/React.createElement("div",{"class":"col-lg-12 p-0 text-start"},/*#__PURE__*/React.createElement("p",{"class":"m-0 p-0",style:{fontSize:sectionproperties.quantityfontsize,color:sectionproperties.quantitycolor,fontWeight:sectionproperties.quantityfontweight}},langdetect=='en'?sectionproperties.qtytextinen:sectionproperties.qtytextinar,":",' ',fetchProductInfoQueryContext.data.data.productinfo.currentquantity)),/*#__PURE__*/React.createElement("div",{className:(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer37=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer37===void 0||(_fetchProductInfoQuer37=_fetchProductInfoQuer37.data)===null||_fetchProductInfoQuer37===void 0||(_fetchProductInfoQuer37=_fetchProductInfoQuer37.productinfo)===null||_fetchProductInfoQuer37===void 0?void 0:_fetchProductInfoQuer37.productcanrate)==1?'col-lg-8 col-md-8 col-sm-8 p-0 mb-1 d-flex align-items-center':sectionproperties.btnposition=='Top'?'col-lg-8 col-md-8 col-sm-8 p-0 mb-1 d-flex align-items-center':sectionproperties.availabilitybtnposition=='Top'&&sectionproperties.show_availability=='Show'?'col-lg-8 col-md-8 col-sm-8 p-0 mb-1 d-flex align-items-center':'col-lg-12 p-0 mb-1 d-flex align-items-center',style:{justifyContent:sectionproperties.productnamecentered=='Centered'?'center':'start'}},ProductNameSection()),(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer38=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer38===void 0||(_fetchProductInfoQuer38=_fetchProductInfoQuer38.data)===null||_fetchProductInfoQuer38===void 0||(_fetchProductInfoQuer38=_fetchProductInfoQuer38.productinfo)===null||_fetchProductInfoQuer38===void 0?void 0:_fetchProductInfoQuer38.productcanrate)==1&&sectionproperties.showrating=='Show'&&/*#__PURE__*/React.createElement("div",{className:"col-lg-4 col-md-4 col-sm-4 p-0 mb-1 d-flex justify-content-end align-items-center"},/*#__PURE__*/React.createElement(ReactStars,{count:5,value:fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer39=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer39===void 0||(_fetchProductInfoQuer39=_fetchProductInfoQuer39.data)===null||_fetchProductInfoQuer39===void 0||(_fetchProductInfoQuer39=_fetchProductInfoQuer39.productinfo)===null||_fetchProductInfoQuer39===void 0?void 0:_fetchProductInfoQuer39.productoverallrate,edit:false,size:18,emptyIcon:/*#__PURE__*/React.createElement("i",{className:"far fa-star",style:{color:'#FAB400'}}),halfIcon:/*#__PURE__*/React.createElement("i",{className:"fa fa-star-half-alt style={{ color: '#FAB400' }}"}),filledIcon:/*#__PURE__*/React.createElement("i",{className:"fa fa-star",style:{color:'#FAB400'}}),activeColor:"#ffd700"})),/*#__PURE__*/React.createElement("div",{className:"col-lg-4 col-md-4 col-sm-4 p-0 mb-1 d-flex justify-content-end align-items-center"},sectionproperties.availabilitybtnposition=='Top'&&sectionproperties.show_availability=='Show'&&(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer40=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer40===void 0||(_fetchProductInfoQuer40=_fetchProductInfoQuer40.data)===null||_fetchProductInfoQuer40===void 0||(_fetchProductInfoQuer40=_fetchProductInfoQuer40.productinfo)===null||_fetchProductInfoQuer40===void 0?void 0:_fetchProductInfoQuer40.isproducttobesold)==1&&/*#__PURE__*/React.createElement("div",{style:{width:sectionproperties.availability_width+'px',height:sectionproperties.availability_height+'px',background:fetchProductInfoQueryContext.data.data.productinfo.quantavailtype=='nolimit'?sectionproperties.availability_availablebgcolor:sectionproperties.availability_limitedbgcolor,borderRadius:sectionproperties.availability_borderrradius+'px',border:fetchProductInfoQueryContext.data.data.productinfo.quantavailtype=='nolimit'?sectionproperties.availability_borderwidtth+'px solid '+sectionproperties.availability_availabletextcolor:sectionproperties.availability_borderwidtth+'px solid '+sectionproperties.availability_limitedtextcolor,justifyContent:sectionproperties.availabilitytextalignment=='Centered'?'center':'start'},className:"d-flex align-items-center pl-3 pr-3 mx-2"},/*#__PURE__*/React.createElement("p",{className:"m-0 p-0 font-weight-500 wordbreak",style:{color:fetchProductInfoQueryContext.data.data.productinfo.quantavailtype=='nolimit'?sectionproperties.availability_availabletextcolor:sectionproperties.availability_limitedtextcolor,fontSize:sectionproperties.availability_fontsize+'px',textAlign:sectionproperties.availabilitytextalignment=='Centered'?'center':langdetect=='en'?'left':'right'}},/*#__PURE__*/React.createElement("span",{className:"ml-1 mr-1"},fetchProductInfoQueryContext.data.data.productinfo.quantavailtype=='nolimit'?lang.available:lang.limitedquantity))),sectionproperties.btnposition=='Top'&&sectionproperties.favBtnShow=='Show'&&/*#__PURE__*/React.createElement("div",{className:productinfo_cssstyles.wishlist_btn+' d-flex justify-content-center align-items-center mb-sm-2 ',onClick:function onClick(){addtofavoritescontext(fetchProductInfoQueryContext.data.data.productinfo.productid);setIsFavorite(!IsFavorite);},style:{background:fetchProductInfoQueryContext.data.data.productinfo.IsFavExists==true?sectionproperties.activebgcolor:''}},/*#__PURE__*/React.createElement("i",{className:"h-100 d-flex align-items-center justify-content-center"},IsFavorite&&/*#__PURE__*/React.createElement("i",{className:"h-100 d-flex align-items-center justify-content-center"},sectionproperties.faviconshape=='Star Shape'&&/*#__PURE__*/React.createElement(AiFillStar$1,{size:sectionproperties.favBtnIconfontsize,style:{color:sectionproperties.activefaviconcolor}}),sectionproperties.faviconshape=='Heart Shape'&&/*#__PURE__*/React.createElement(FaHeart$1,{size:sectionproperties.favBtnIconfontsize,style:{color:sectionproperties.activefaviconcolor}})),!IsFavorite&&/*#__PURE__*/React.createElement("i",{className:"h-100 d-flex align-items-center justify-content-center"},sectionproperties.faviconshape=='Star Shape'&&/*#__PURE__*/React.createElement(AiOutlineStar,{size:sectionproperties.favBtnIconfontsize}),sectionproperties.faviconshape=='Heart Shape'&&/*#__PURE__*/React.createElement(FaRegHeart,{size:sectionproperties.favBtnIconfontsize}))))),sectionproperties.showSKU=='Show'&&sectionproperties.skuposition=='Top'&&/*#__PURE__*/React.createElement("div",{"class":'col-lg-12 p-0 my-3 d-flex justify-content-start'},ProductsSKUContainer()),sectionproperties.defaultpricingposition=='Under Name'&&(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer41=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer41===void 0||(_fetchProductInfoQuer41=_fetchProductInfoQuer41.data)===null||_fetchProductInfoQuer41===void 0||(_fetchProductInfoQuer41=_fetchProductInfoQuer41.productinfo)===null||_fetchProductInfoQuer41===void 0?void 0:_fetchProductInfoQuer41.isproducttobesold)==1&&/*#__PURE__*/React.createElement(ProductHeaderPricing,{actions:props.actions}),sectionproperties.showfeatures=='Show'&&sectionproperties.featuresposition=='Under Name'&&sectionproperties.featurestyle!='Table'&&/*#__PURE__*/React.createElement("div",{"class":"col-lg-12 text-start p-0"},/*#__PURE__*/React.createElement("div",{className:"row m-0 w-100"},fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer42=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer42===void 0||(_fetchProductInfoQuer42=_fetchProductInfoQuer42.data)===null||_fetchProductInfoQuer42===void 0||(_fetchProductInfoQuer42=_fetchProductInfoQuer42.productinfo)===null||_fetchProductInfoQuer42===void 0||(_fetchProductInfoQuer42=_fetchProductInfoQuer42.productfeatures)===null||_fetchProductInfoQuer42===void 0?void 0:_fetchProductInfoQuer42.map(function(fitem,findex){return/*#__PURE__*/React.createElement("div",{"class":' col-md-12 p-0 mb-3 mt-2 col-lg-'+sectionproperties.featuresnumcols},/*#__PURE__*/React.createElement("div",{"class":"row m-0 w-100 text-start"},/*#__PURE__*/React.createElement("div",{"class":"col-lg-12 text-start mb-3 text-uppercase p-0"},/*#__PURE__*/React.createElement("div",{style:{width:'20px'},"class":langdetect=='en'?'mr-2':'ml-2'},/*#__PURE__*/React.createElement(Imagekitimagecomp,{urlEndpoint:ikimagecredcontext===null||ikimagecredcontext===void 0?void 0:ikimagecredcontext.ikimageendpoint,publicKey:ikimagecredcontext===null||ikimagecredcontext===void 0?void 0:ikimagecredcontext.ikimagepublickey,path:fitem===null||fitem===void 0?void 0:fitem.feature_image_url,loading:"lazy",style:{maxWidth:'100%',maxHeight:'100%'}})),/*#__PURE__*/React.createElement("p",{"class":"m-0 p-0",style:{color:sectionproperties.featurecolor,fontWeight:sectionproperties.featurefontweight,fontSize:sectionproperties.featurefontsize}},langdetect=='en'?fitem===null||fitem===void 0?void 0:fitem.name_en:fitem===null||fitem===void 0?void 0:fitem.name_ar)),/*#__PURE__*/React.createElement("div",{"class":"col-lg-12 text-start text-capitalize"},/*#__PURE__*/React.createElement("p",{"class":"m-0 p-0",style:{color:sectionproperties.featurevaluecolor,fontWeight:sectionproperties.featurevaluefontweight,fontSize:sectionproperties.featurevaluefontsize}},langdetect=='en'?fitem===null||fitem===void 0?void 0:fitem.value_en:fitem===null||fitem===void 0?void 0:fitem.value_ar))));}))),sectionproperties.descriptionposition=='Under Name'&&sectionproperties.descriptionstyle=='Style 1'&&sectionproperties.showshortdescription=='Show'&&/*#__PURE__*/React.createElement("div",{"class":"col-lg-12 p-0"},/*#__PURE__*/React.createElement("div",{"class":"row m-0 w-100"},sectionproperties.showshortdescription=='Show'&&/*#__PURE__*/React.createElement("div",{"class":"col-lg-12 p-0 mb-2"},/*#__PURE__*/React.createElement("p",{style:{textAlign:langdetect=='en'?'left':'right',color:sectionproperties.generaltext_fontColor}},ShortDescriptionTitle())),/*#__PURE__*/React.createElement("div",{"class":"col-lg-12 p-0"},/*#__PURE__*/React.createElement("p",{className:'m-0 p-0 wordbreak',style:{textAlign:langdetect=='en'?'left':'right',color:sectionproperties.prodCatColor},dangerouslySetInnerHTML:{__html:langdetect=='en'?fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer43=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer43===void 0||(_fetchProductInfoQuer43=_fetchProductInfoQuer43.data)===null||_fetchProductInfoQuer43===void 0||(_fetchProductInfoQuer43=_fetchProductInfoQuer43.productinfo)===null||_fetchProductInfoQuer43===void 0?void 0:_fetchProductInfoQuer43.short_description_en:fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer44=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer44===void 0||(_fetchProductInfoQuer44=_fetchProductInfoQuer44.data)===null||_fetchProductInfoQuer44===void 0||(_fetchProductInfoQuer44=_fetchProductInfoQuer44.productinfo)===null||_fetchProductInfoQuer44===void 0?void 0:_fetchProductInfoQuer44.short_description_ar}})))),sectionproperties.showvendor=='Hide'&&sectionproperties.showfeatures=='Show'&&sectionproperties.featuresposition=='Under Name'&&sectionproperties.featurestyle=='Table'&&/*#__PURE__*/React.createElement("div",{"class":"col-lg-12 text-start p-0"},ProductFeaturesTable()),sectionproperties.showfeatures=='Show'&&sectionproperties.featuresposition=='Under Pricing'&&sectionproperties.featurestyle=='Table'&&/*#__PURE__*/React.createElement("div",{"class":"col-lg-12 text-start p-0"},ProductFeaturesTable()),langdetect=='en'&&(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer45=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer45===void 0||(_fetchProductInfoQuer45=_fetchProductInfoQuer45.data)===null||_fetchProductInfoQuer45===void 0||(_fetchProductInfoQuer45=_fetchProductInfoQuer45.productinfo)===null||_fetchProductInfoQuer45===void 0?void 0:_fetchProductInfoQuer45.short_description_en)!=null&&sectionproperties.descriptionstyle=='Style 1'&&sectionproperties.showshortdescription=='Show'&&/*#__PURE__*/React.createElement("div",{"class":"col-lg-12 p-0"},/*#__PURE__*/React.createElement("div",{"class":"col-lg-12 p-0 d-flex justify-content-start"},/*#__PURE__*/React.createElement("p",{className:'text-black m-0 p-0 wordbreak',style:{textAlign:langdetect=='en'?'left':'right'},dangerouslySetInnerHTML:{__html:fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer46=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer46===void 0||(_fetchProductInfoQuer46=_fetchProductInfoQuer46.data)===null||_fetchProductInfoQuer46===void 0||(_fetchProductInfoQuer46=_fetchProductInfoQuer46.productinfo)===null||_fetchProductInfoQuer46===void 0?void 0:_fetchProductInfoQuer46.short_description_en}}))),langdetect=='ar'&&sectionproperties.showshortdescription=='Show'&&(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer47=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer47===void 0||(_fetchProductInfoQuer47=_fetchProductInfoQuer47.data)===null||_fetchProductInfoQuer47===void 0||(_fetchProductInfoQuer47=_fetchProductInfoQuer47.productinfo)===null||_fetchProductInfoQuer47===void 0?void 0:_fetchProductInfoQuer47.short_description_ar)!=null&&sectionproperties.descriptionstyle=='Style 1'&&/*#__PURE__*/React.createElement("div",{"class":"col-lg-12 p-0"},/*#__PURE__*/React.createElement("div",{"class":"col-lg-12 p-0 d-flex justify-content-start"},/*#__PURE__*/React.createElement("p",{className:'text-black m-0 p-0 wordbreak',style:{textAlign:langdetect=='en'?'left':'right'},dangerouslySetInnerHTML:{__html:fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer48=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer48===void 0||(_fetchProductInfoQuer48=_fetchProductInfoQuer48.data)===null||_fetchProductInfoQuer48===void 0||(_fetchProductInfoQuer48=_fetchProductInfoQuer48.productinfo)===null||_fetchProductInfoQuer48===void 0?void 0:_fetchProductInfoQuer48.short_description_ar}}))),(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer49=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer49===void 0||(_fetchProductInfoQuer49=_fetchProductInfoQuer49.data)===null||_fetchProductInfoQuer49===void 0||(_fetchProductInfoQuer49=_fetchProductInfoQuer49.productinfo)===null||_fetchProductInfoQuer49===void 0?void 0:_fetchProductInfoQuer49.vendorinfo)!=null&&sectionproperties.showvendor=='Show'&&/*#__PURE__*/React.createElement("div",{"class":"col-lg-12 p-0 d-flex justify-content-start align-items-center mt-2 mb-3"},(authdetailsContext===null||authdetailsContext===void 0||(_authdetailsContext$i12=authdetailsContext.instinfo)===null||_authdetailsContext$i12===void 0?void 0:_authdetailsContext$i12.contactinfo.instid)=='683c163d7f996'&&(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer50=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer50===void 0||(_fetchProductInfoQuer50=_fetchProductInfoQuer50.data)===null||_fetchProductInfoQuer50===void 0||(_fetchProductInfoQuer50=_fetchProductInfoQuer50.productinfo)===null||_fetchProductInfoQuer50===void 0?void 0:_fetchProductInfoQuer50.vendorinfo.vendorlogourl)!=null&&/*#__PURE__*/React.createElement("div",{"class":productinfo_cssstyles.vendorlogo,style:{}},/*#__PURE__*/React.createElement(Imagekitimagecomp,{urlEndpoint:ikimagecredcontext===null||ikimagecredcontext===void 0?void 0:ikimagecredcontext.ikimageendpoint,publicKey:ikimagecredcontext===null||ikimagecredcontext===void 0?void 0:ikimagecredcontext.ikimagepublickey,path:fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer51=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer51===void 0||(_fetchProductInfoQuer51=_fetchProductInfoQuer51.data)===null||_fetchProductInfoQuer51===void 0||(_fetchProductInfoQuer51=_fetchProductInfoQuer51.productinfo)===null||_fetchProductInfoQuer51===void 0?void 0:_fetchProductInfoQuer51.vendorinfo.vendorlogourl,loading:"lazy",style:{width:'100%',height:'100%',objectFit:'contain',border:'1px solid #ccc',borderRadius:100}})),/*#__PURE__*/React.createElement("p",{"class":"".concat(productinfo_cssstyles.productname," ").concat(productinfo_cssstyles.productnamehover)+' m-0 p-0 ',style:{cursor:sectionproperties.vendornameclickable=='Yes'?'pointer':'',fontSize:14},onClick:function onClick(){if(sectionproperties.vendornameclickable=='Yes'){var _fetchProductInfoQuer52;routingcountext(StaticPagesLinksContext.GeneralProductsComponent,true,encodeURIComponent(JSON.stringify({vendorsarr:[fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer52=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer52===void 0||(_fetchProductInfoQuer52=_fetchProductInfoQuer52.data)===null||_fetchProductInfoQuer52===void 0||(_fetchProductInfoQuer52=_fetchProductInfoQuer52.productinfo)===null||_fetchProductInfoQuer52===void 0||(_fetchProductInfoQuer52=_fetchProductInfoQuer52.vendorinfo)===null||_fetchProductInfoQuer52===void 0?void 0:_fetchProductInfoQuer52.vendorid]})));}}},(authdetailsContext===null||authdetailsContext===void 0||(_authdetailsContext$i13=authdetailsContext.instinfo)===null||_authdetailsContext$i13===void 0?void 0:_authdetailsContext$i13.contactinfo.instid)!='683c163d7f996'&&(authdetailsContext===null||authdetailsContext===void 0||(_authdetailsContext$i14=authdetailsContext.instinfo)===null||_authdetailsContext$i14===void 0?void 0:_authdetailsContext$i14.contactinfo.instid)!='67f3c23abb18f'&&(authdetailsContext===null||authdetailsContext===void 0||(_authdetailsContext$i15=authdetailsContext.instinfo)===null||_authdetailsContext$i15===void 0?void 0:_authdetailsContext$i15.contactinfo.instid)!='6805437ab0f3b'&&/*#__PURE__*/React.createElement("span",null," ",langdetect=='en'?sectionproperties.vendortitleen:sectionproperties.vendortitlear,": "),/*#__PURE__*/React.createElement("span",{style:{fontWeight:600,textDecoration:(authdetailsContext===null||authdetailsContext===void 0||(_authdetailsContext$i16=authdetailsContext.instinfo)===null||_authdetailsContext$i16===void 0?void 0:_authdetailsContext$i16.contactinfo.instid)=='67f3c23abb18f'?'underline':'none'}},fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer53=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer53===void 0||(_fetchProductInfoQuer53=_fetchProductInfoQuer53.data)===null||_fetchProductInfoQuer53===void 0||(_fetchProductInfoQuer53=_fetchProductInfoQuer53.productinfo)===null||_fetchProductInfoQuer53===void 0||(_fetchProductInfoQuer53=_fetchProductInfoQuer53.vendorinfo)===null||_fetchProductInfoQuer53===void 0?void 0:_fetchProductInfoQuer53.vendorname))),sectionproperties.showSKU=='Show'&&sectionproperties.skuposition=='Bottom'&&/*#__PURE__*/React.createElement("div",{"class":sectionproperties.deliverytimeshow=='Show'&&(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer54=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer54===void 0||(_fetchProductInfoQuer54=_fetchProductInfoQuer54.data)===null||_fetchProductInfoQuer54===void 0||(_fetchProductInfoQuer54=_fetchProductInfoQuer54.productinfo)===null||_fetchProductInfoQuer54===void 0?void 0:_fetchProductInfoQuer54.deliverydatetext)!=null?'col-lg-12 p-0 mb-2 d-flex justify-content-start':'col-lg-12 p-0 mb-3 d-flex justify-content-start'},ProductsSKUContainer()),sectionproperties.showvendor=='Show'&&sectionproperties.showfeatures=='Show'&&sectionproperties.featuresposition=='Under Name'&&sectionproperties.featurestyle=='Table'&&/*#__PURE__*/React.createElement("div",{"class":"col-lg-12 text-start p-0"},ProductFeaturesTable()),(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer55=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer55===void 0||(_fetchProductInfoQuer55=_fetchProductInfoQuer55.data)===null||_fetchProductInfoQuer55===void 0||(_fetchProductInfoQuer55=_fetchProductInfoQuer55.productinfo)===null||_fetchProductInfoQuer55===void 0?void 0:_fetchProductInfoQuer55.currentquantity)<1&&sectionproperties.showoutofstock=='Show'&&(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer56=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer56===void 0||(_fetchProductInfoQuer56=_fetchProductInfoQuer56.data)===null||_fetchProductInfoQuer56===void 0||(_fetchProductInfoQuer56=_fetchProductInfoQuer56.productinfo)===null||_fetchProductInfoQuer56===void 0?void 0:_fetchProductInfoQuer56.quantavailtype)=='limit'&&(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer57=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer57===void 0||(_fetchProductInfoQuer57=_fetchProductInfoQuer57.data)===null||_fetchProductInfoQuer57===void 0||(_fetchProductInfoQuer57=_fetchProductInfoQuer57.productinfo)===null||_fetchProductInfoQuer57===void 0?void 0:_fetchProductInfoQuer57.hasvariants)==0&&/*#__PURE__*/React.createElement("div",{"class":"col-lg-12 p-0 d-flex justify-content-start mb-2"},/*#__PURE__*/React.createElement("div",{"class":"".concat(productinfo_cssstyles.outstockbadge)+' allcentered '},/*#__PURE__*/React.createElement("p",{"class":"m-0 p-0"},langdetect=='en'?sectionproperties.outstock_contenten:sectionproperties.outstock_contentar))),sectionproperties.deliverytimeshow=='Show'&&(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer58=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer58===void 0||(_fetchProductInfoQuer58=_fetchProductInfoQuer58.data)===null||_fetchProductInfoQuer58===void 0||(_fetchProductInfoQuer58=_fetchProductInfoQuer58.productinfo)===null||_fetchProductInfoQuer58===void 0?void 0:_fetchProductInfoQuer58.deliverydatetext)!=null&&/*#__PURE__*/React.createElement("div",{"class":"mb-4 col-lg-12 allcentered",style:{width:'100%',backgroundColor:sectionproperties.deliverytimecontainerBg,paddingLeft:sectionproperties.deliverytimecontainerpaddinghorizontal+'px',paddingRight:sectionproperties.deliverytimecontainerpaddinghorizontal+'px',paddingTop:sectionproperties.deliverytimecontainerpaddingvertical+'px',paddingBottom:sectionproperties.deliverytimecontainerpaddingvertical+'px',border:sectionproperties.deliverytimecontainerborderwidth+'px solid '+sectionproperties.deliverytimecontainerbordercolor,borderRadius:sectionproperties.deliverytimecontainerborderradius+'px',fontSize:sectionproperties.deliverytimecontainerfontsize+'px',fontWeight:sectionproperties.deliverytimecontainerfontWeight,marginTop:15}},/*#__PURE__*/React.createElement("p",{"class":"m-0 p-0 ",style:{textAlign:langdetect=='en'?'left':'right',color:sectionproperties.deliverytimecontainercolor}},sectionproperties.showdeliverytitle=='Show'&&/*#__PURE__*/React.createElement("span",null,langdetect=='en'?sectionproperties.deliverycontent_en:sectionproperties.deliverycontent_ar,": "),' ',fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer59=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer59===void 0||(_fetchProductInfoQuer59=_fetchProductInfoQuer59.data)===null||_fetchProductInfoQuer59===void 0||(_fetchProductInfoQuer59=_fetchProductInfoQuer59.productinfo)===null||_fetchProductInfoQuer59===void 0?void 0:_fetchProductInfoQuer59.deliverydatetext)),sectionproperties.descriptionposition!='Under Name'&&sectionproperties.descriptionposition=='Top'&&sectionproperties.descriptionstyle=='Style 1'&&sectionproperties.prodCatShow=='Show'&&/*#__PURE__*/React.createElement("div",{"class":"col-lg-12 p-0"},/*#__PURE__*/React.createElement(DescriptionContent,{actions:props.actions,srcfromprops:'undername'})),sectionproperties.defaultpricingposition=='Under Description'&&(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer60=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer60===void 0||(_fetchProductInfoQuer60=_fetchProductInfoQuer60.data)===null||_fetchProductInfoQuer60===void 0||(_fetchProductInfoQuer60=_fetchProductInfoQuer60.productinfo)===null||_fetchProductInfoQuer60===void 0?void 0:_fetchProductInfoQuer60.isproducttobesold)==1&&/*#__PURE__*/React.createElement(ProductHeaderPricing,{actions:props.actions}),/*#__PURE__*/React.createElement(Variantoptions,{actions:props.actions}),/*#__PURE__*/React.createElement(ProductExtras,{actions:props.actions,srcfromprops:'servicestyle2',addtocartfunc:addtocartfunc}),sectionproperties.showextrafield=='Show'&&/*#__PURE__*/React.createElement(ProductExtraFields,{actions:props.actions}),sectionproperties.gallerystyle!='Style 1'&&sectionproperties.prodCatShow=='Show'&&sectionproperties.descriptionposition!='Top'&&/*#__PURE__*/React.createElement(DescriptionContent,{actions:props.actions}),(authdetailsContext===null||authdetailsContext===void 0||(_authdetailsContext$i17=authdetailsContext.instinfo)===null||_authdetailsContext$i17===void 0?void 0:_authdetailsContext$i17.contactinfo.instid)=='68ada0669b7c7'&&/*#__PURE__*/React.createElement("div",{"class":"col-lg-12 p-0"},/*#__PURE__*/React.createElement(ProductFileUploader,{actions:props.actions})),sectionproperties.showfeatures=='Show'&&sectionproperties.featuresposition!='Under Name'&&sectionproperties.featuresposition=='Under Description'&&sectionproperties.featurestyle!='Table'&&/*#__PURE__*/React.createElement("div",{"class":"col-lg-12 text-start p-md-0 mb-3"},ProductFeaturesArray()),/*#__PURE__*/React.createElement("div",{className:"col-lg-12 p-0 mb-3",style:{// display: sectionproperties.quantitybtn_show == 'Hide' && sectionproperties.cartBtnShow == 'Hide' ? 'none' : 'flex',
4020
- }},/*#__PURE__*/React.createElement("div",{className:"row mx-0 w-100 d-flex align-items-center",style:{marginTop:sectionproperties.ctabuttnnsmarginvertical+'px',marginBottom:sectionproperties.ctabuttnnsmarginvertical+'px'}},(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer61=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer61===void 0||(_fetchProductInfoQuer61=_fetchProductInfoQuer61.data)===null||_fetchProductInfoQuer61===void 0||(_fetchProductInfoQuer61=_fetchProductInfoQuer61.productinfo)===null||_fetchProductInfoQuer61===void 0?void 0:_fetchProductInfoQuer61.isproducttobesold)==1&&(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer62=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer62===void 0||(_fetchProductInfoQuer62=_fetchProductInfoQuer62.data)===null||_fetchProductInfoQuer62===void 0||(_fetchProductInfoQuer62=_fetchProductInfoQuer62.productinfo)===null||_fetchProductInfoQuer62===void 0?void 0:_fetchProductInfoQuer62.isproducthasquantitychange)==1&&sectionproperties.quantitybtn_show=='Show'&&/*#__PURE__*/React.createElement("div",{className:"col-lg-12 p-0 mb-2 d-flex justofy-content-start"},/*#__PURE__*/React.createElement("p",{className:"m-0 p-0",style:{color:sectionproperties.generaltext_fontColor,fontSize:sectionproperties.generaltext_fontSize+'px',textTransform:sectionproperties.generaltext_textTransform,fontWeight:sectionproperties.generaltext_fontWeight}},langdetect=='en'?sectionproperties.quantitybtnen:sectionproperties.quantitybtnar,":")),/*#__PURE__*/React.createElement("div",{"class":"col-lg-12 p-0"},/*#__PURE__*/React.createElement("div",{"class":"row m-0 w-100 d-flex align-items-center",style:{justifyContent:sectionproperties.cartbtncentered=='Centered'?'center':'start'}},sectionproperties.quantitybtn_show=='Show'&&(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer63=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer63===void 0||(_fetchProductInfoQuer63=_fetchProductInfoQuer63.data)===null||_fetchProductInfoQuer63===void 0||(_fetchProductInfoQuer63=_fetchProductInfoQuer63.productinfo)===null||_fetchProductInfoQuer63===void 0?void 0:_fetchProductInfoQuer63.isproducttobesold)==1&&(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer64=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer64===void 0||(_fetchProductInfoQuer64=_fetchProductInfoQuer64.data)===null||_fetchProductInfoQuer64===void 0||(_fetchProductInfoQuer64=_fetchProductInfoQuer64.productinfo)===null||_fetchProductInfoQuer64===void 0?void 0:_fetchProductInfoQuer64.isproducthasquantitychange)==1&&QuantityButton(),sectionproperties.cartbtnalone=='Besides Other Buttons'&&sectionproperties.cartBtnShow=='Show'&&(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer65=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer65===void 0||(_fetchProductInfoQuer65=_fetchProductInfoQuer65.data)===null||_fetchProductInfoQuer65===void 0||(_fetchProductInfoQuer65=_fetchProductInfoQuer65.productinfo)===null||_fetchProductInfoQuer65===void 0?void 0:_fetchProductInfoQuer65.isproducttobesold)==1&&/*#__PURE__*/React.createElement("button",{className:"".concat(productinfo_cssstyles.cart_btn," ")+' ml-2 d-flex align-items-center justify-content-center mb-sm-2 ',style:{width:sectionproperties.cartBtnWidth==100?'auto':sectionproperties.cartBtnWidth+'%',flex:sectionproperties.cartBtnWidth==100?1:''},onClick:function onClick(){if(fetchProductInfoQueryContext.data.data.productinfo.product_calltoaction=='Call'){var _fetchProductInfoQuer66;window.open('tel:'+((_fetchProductInfoQuer66=fetchProductInfoQueryContext.data.data.productinfo)===null||_fetchProductInfoQuer66===void 0?void 0:_fetchProductInfoQuer66.product_phonenumber),'_blank');}else {if(fetchProductInfoQueryContext.data.data.productinfo.maximumproductquant>=addtocardpayloadobj.quantity&&fetchProductInfoQueryContext.data.data.productinfo.minimumproductquant<=addtocardpayloadobj.quantity){addtocartfunc();}else {NotificationManager.warning('',lang.maximum+': '+fetchProductInfoQueryContext.data.data.productinfo.maximumproductquant+', '+lang.minimum+': '+fetchProductInfoQueryContext.data.data.productinfo.minimumproductquant);}}},disabled:AddtoCartMutationContext.isLoading==true?true:false},!AddtoCartMutationContext.isLoading&&/*#__PURE__*/React.createElement("span",{className:' d-flex align-items-center justify-content-center ',style:{fontWeight:sectionproperties.cartBtnTextfontweight}},/*#__PURE__*/React.createElement("i",{className:langdetect=='en'?'h-100 d-flex align-items-center justify-content-center mr-2':'h-100 d-flex align-items-center justify-content-center ml-2'},sectionproperties.carticonstyle=='Shopping bag 1'&&/*#__PURE__*/React.createElement(FiShoppingBag,{className:"",size:sectionproperties.cartBtn_iconFontSize}),sectionproperties.carticonstyle=='Shopping bag 2'&&/*#__PURE__*/React.createElement(CgShoppingBag,{className:"",size:sectionproperties.cartBtn_iconFontSize}),sectionproperties.carticonstyle=='Shopping bag 3'&&/*#__PURE__*/React.createElement(BsBag,{className:"",size:sectionproperties.cartBtn_iconFontSize}),sectionproperties.carticonstyle=='Shopping bag 4'&&/*#__PURE__*/React.createElement(IoBagHandleOutline,{className:"",size:sectionproperties.cartBtn_iconFontSize}),sectionproperties.carticonstyle=='Shopping cart 1'&&/*#__PURE__*/React.createElement(FiShoppingCart,{className:"",size:sectionproperties.cartBtn_iconFontSize}),sectionproperties.carticonstyle=='Shopping cart 2'&&/*#__PURE__*/React.createElement(MdAddShoppingCart,{size:sectionproperties.cartBtn_iconFontSize})),langdetect=='en'?fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer67=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer67===void 0||(_fetchProductInfoQuer67=_fetchProductInfoQuer67.data)===null||_fetchProductInfoQuer67===void 0||(_fetchProductInfoQuer67=_fetchProductInfoQuer67.productinfo)===null||_fetchProductInfoQuer67===void 0?void 0:_fetchProductInfoQuer67.productactionbuttontext_en:fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer68=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer68===void 0||(_fetchProductInfoQuer68=_fetchProductInfoQuer68.data)===null||_fetchProductInfoQuer68===void 0||(_fetchProductInfoQuer68=_fetchProductInfoQuer68.productinfo)===null||_fetchProductInfoQuer68===void 0?void 0:_fetchProductInfoQuer68.productactionbuttontext_ar),AddtoCartMutationContext.isLoading&&/*#__PURE__*/React.createElement("div",{className:' d-flex align-items-center justify-content-center '},/*#__PURE__*/React.createElement(CircularProgress,{color:sectionproperties.cartBtnTextcolor,width:"20px",height:"20px",duration:"1s"}))),sectionproperties.btnposition=='Bottom'&&sectionproperties.favBtnShow=='Show'&&/*#__PURE__*/React.createElement("div",{className:productinfo_cssstyles.wishlist_btn+' d-flex justify-content-center align-items-center mb-sm-2 ',onClick:function onClick(){addtofavoritescontext(fetchProductInfoQueryContext.data.data.productinfo.productid);setIsFavorite(!IsFavorite);},style:{background:fetchProductInfoQueryContext.data.data.productinfo.IsFavExists==true?sectionproperties.activebgcolor:''}},/*#__PURE__*/React.createElement("i",{className:"h-100 d-flex align-items-center justify-content-center"},IsFavorite&&/*#__PURE__*/React.createElement("i",{className:"h-100 d-flex align-items-center justify-content-center"},sectionproperties.faviconshape=='Star Shape'&&/*#__PURE__*/React.createElement(AiFillStar$1,{size:sectionproperties.favBtnIconfontsize,style:{color:sectionproperties.activefaviconcolor}}),sectionproperties.faviconshape=='Heart Shape'&&/*#__PURE__*/React.createElement(FaHeart$1,{size:sectionproperties.favBtnIconfontsize,style:{color:sectionproperties.activefaviconcolor}})),!IsFavorite&&/*#__PURE__*/React.createElement("i",{className:"h-100 d-flex align-items-center justify-content-center"},sectionproperties.faviconshape=='Star Shape'&&/*#__PURE__*/React.createElement(AiOutlineStar,{size:sectionproperties.favBtnIconfontsize}),sectionproperties.faviconshape=='Heart Shape'&&/*#__PURE__*/React.createElement(FaRegHeart,{size:sectionproperties.favBtnIconfontsize}))),!IsFavorite&&sectionproperties.favBtnTextfontsize!=0&&/*#__PURE__*/React.createElement("p",{"class":"m-0 p-0",style:{fontSize:sectionproperties.favBtnTextfontsize+'px'}},langdetect=='en'?sectionproperties.favbtncontent_en:sectionproperties.favbtncontent_ar),IsFavorite&&sectionproperties.favBtnTextfontsize!=0&&/*#__PURE__*/React.createElement("p",{"class":"m-0 p-0",style:{fontSize:sectionproperties.favBtnTextfontsize+'px'}},langdetect=='en'?sectionproperties.favbtnaddedcontent_en:sectionproperties.favbtnaddedcontent_ar)),(authdetailsContext===null||authdetailsContext===void 0||(_authdetailsContext$i18=authdetailsContext.instinfo)===null||_authdetailsContext$i18===void 0?void 0:_authdetailsContext$i18.contactinfo.instid)=='694befd291698'&&/*#__PURE__*/React.createElement("div",{"class":"col-12 p-0 mt-3"},/*#__PURE__*/React.createElement("button",{className:sectionproperties.cartbtntramsitionafterwhile=='Yes'?"".concat(productinfo_cssstyles.cart_btn," ")+' d-flex align-items-center justify-content-center mb-sm-2 cart_btnvibrate ':"".concat(productinfo_cssstyles.cart_btn," ")+' d-flex align-items-center justify-content-center mb-sm-2 ',style:{width:'100%'},onClick:function onClick(){var productId=fetchProductInfoQueryContext.data.data.productinfo.productid;// Replace this with a real ID (e.g., passed via props)
4339
+ },/*#__PURE__*/React.createElement("div",{className:sectionproperties.evencols=='Yes'?'row m-0 w-100':'row m-0 w-100'},sectionproperties.showmeasurementunit=='Show'&&sectionproperties.measurementunitposition=='Above Name'&&MeasurementUnitSection(),sectionproperties.quantityshow=='Show'&&/*#__PURE__*/React.createElement("div",{"class":"col-lg-12 p-0 text-start"},/*#__PURE__*/React.createElement("p",{"class":"m-0 p-0",style:{fontSize:sectionproperties.quantityfontsize,color:sectionproperties.quantitycolor,fontWeight:sectionproperties.quantityfontweight}},langdetect=='en'?sectionproperties.qtytextinen:sectionproperties.qtytextinar,":",' ',fetchProductInfoQueryContext.data.data.productinfo.currentquantity)),/*#__PURE__*/React.createElement("div",{className:(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer37=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer37===void 0||(_fetchProductInfoQuer37=_fetchProductInfoQuer37.data)===null||_fetchProductInfoQuer37===void 0||(_fetchProductInfoQuer37=_fetchProductInfoQuer37.productinfo)===null||_fetchProductInfoQuer37===void 0?void 0:_fetchProductInfoQuer37.productcanrate)==1?'col-lg-8 col-md-8 col-sm-8 p-0 mb-1 d-flex align-items-center':sectionproperties.btnposition=='Top'?'col-lg-8 col-md-8 col-sm-8 p-0 mb-1 d-flex align-items-center':sectionproperties.availabilitybtnposition=='Top'&&sectionproperties.show_availability=='Show'?'col-lg-8 col-md-8 col-sm-8 p-0 mb-1 d-flex align-items-center':'col-lg-12 p-0 mb-1 d-flex align-items-center',style:{justifyContent:sectionproperties.productnamecentered=='Centered'?'center':'start'}},ProductNameSection()),(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer38=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer38===void 0||(_fetchProductInfoQuer38=_fetchProductInfoQuer38.data)===null||_fetchProductInfoQuer38===void 0||(_fetchProductInfoQuer38=_fetchProductInfoQuer38.productinfo)===null||_fetchProductInfoQuer38===void 0?void 0:_fetchProductInfoQuer38.productcanrate)==1&&sectionproperties.showrating=='Show'&&/*#__PURE__*/React.createElement("div",{className:"col-lg-4 col-md-4 col-sm-4 p-0 mb-1 d-flex justify-content-end align-items-center"},/*#__PURE__*/React.createElement(ReactStars,{count:5,value:fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer39=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer39===void 0||(_fetchProductInfoQuer39=_fetchProductInfoQuer39.data)===null||_fetchProductInfoQuer39===void 0||(_fetchProductInfoQuer39=_fetchProductInfoQuer39.productinfo)===null||_fetchProductInfoQuer39===void 0?void 0:_fetchProductInfoQuer39.productoverallrate,edit:false,size:18,emptyIcon:/*#__PURE__*/React.createElement("i",{className:"far fa-star",style:{color:'#FAB400'}}),halfIcon:/*#__PURE__*/React.createElement("i",{className:"fa fa-star-half-alt style={{ color: '#FAB400' }}"}),filledIcon:/*#__PURE__*/React.createElement("i",{className:"fa fa-star",style:{color:'#FAB400'}}),activeColor:"#ffd700"})),/*#__PURE__*/React.createElement("div",{className:"col-lg-4 col-md-4 col-sm-4 p-0 mb-1 d-flex justify-content-end align-items-center"},sectionproperties.availabilitybtnposition=='Top'&&sectionproperties.show_availability=='Show'&&(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer40=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer40===void 0||(_fetchProductInfoQuer40=_fetchProductInfoQuer40.data)===null||_fetchProductInfoQuer40===void 0||(_fetchProductInfoQuer40=_fetchProductInfoQuer40.productinfo)===null||_fetchProductInfoQuer40===void 0?void 0:_fetchProductInfoQuer40.isproducttobesold)==1&&/*#__PURE__*/React.createElement("div",{style:{width:sectionproperties.availability_width+'px',height:sectionproperties.availability_height+'px',background:fetchProductInfoQueryContext.data.data.productinfo.quantavailtype=='nolimit'?sectionproperties.availability_availablebgcolor:sectionproperties.availability_limitedbgcolor,borderRadius:sectionproperties.availability_borderrradius+'px',border:fetchProductInfoQueryContext.data.data.productinfo.quantavailtype=='nolimit'?sectionproperties.availability_borderwidtth+'px solid '+sectionproperties.availability_availabletextcolor:sectionproperties.availability_borderwidtth+'px solid '+sectionproperties.availability_limitedtextcolor,justifyContent:sectionproperties.availabilitytextalignment=='Centered'?'center':'start'},className:"d-flex align-items-center pl-3 pr-3 mx-2"},/*#__PURE__*/React.createElement("p",{className:"m-0 p-0 font-weight-500 wordbreak",style:{color:fetchProductInfoQueryContext.data.data.productinfo.quantavailtype=='nolimit'?sectionproperties.availability_availabletextcolor:sectionproperties.availability_limitedtextcolor,fontSize:sectionproperties.availability_fontsize+'px',textAlign:sectionproperties.availabilitytextalignment=='Centered'?'center':langdetect=='en'?'left':'right'}},/*#__PURE__*/React.createElement("span",{className:"ml-1 mr-1"},fetchProductInfoQueryContext.data.data.productinfo.quantavailtype=='nolimit'?lang.available:lang.limitedquantity))),sectionproperties.btnposition=='Top'&&sectionproperties.favBtnShow=='Show'&&/*#__PURE__*/React.createElement("div",{className:productinfo_cssstyles.wishlist_btn+' d-flex justify-content-center align-items-center mb-sm-2 ',onClick:function onClick(){addtofavoritescontext(fetchProductInfoQueryContext.data.data.productinfo.productid);setIsFavorite(!IsFavorite);},style:{background:fetchProductInfoQueryContext.data.data.productinfo.IsFavExists==true?sectionproperties.activebgcolor:''}},/*#__PURE__*/React.createElement("i",{className:"h-100 d-flex align-items-center justify-content-center"},IsFavorite&&/*#__PURE__*/React.createElement("i",{className:"h-100 d-flex align-items-center justify-content-center"},sectionproperties.faviconshape=='Star Shape'&&/*#__PURE__*/React.createElement(AiFillStar$1,{size:sectionproperties.favBtnIconfontsize,style:{color:sectionproperties.activefaviconcolor}}),sectionproperties.faviconshape=='Heart Shape'&&/*#__PURE__*/React.createElement(FaHeart$1,{size:sectionproperties.favBtnIconfontsize,style:{color:sectionproperties.activefaviconcolor}})),!IsFavorite&&/*#__PURE__*/React.createElement("i",{className:"h-100 d-flex align-items-center justify-content-center"},sectionproperties.faviconshape=='Star Shape'&&/*#__PURE__*/React.createElement(AiOutlineStar,{size:sectionproperties.favBtnIconfontsize}),sectionproperties.faviconshape=='Heart Shape'&&/*#__PURE__*/React.createElement(FaRegHeart,{size:sectionproperties.favBtnIconfontsize}))))),sectionproperties.showSKU=='Show'&&sectionproperties.skuposition=='Top'&&/*#__PURE__*/React.createElement("div",{"class":'col-lg-12 p-0 my-3 d-flex justify-content-start'},ProductsSKUContainer()),sectionproperties.defaultpricingposition=='Under Name'&&(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer41=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer41===void 0||(_fetchProductInfoQuer41=_fetchProductInfoQuer41.data)===null||_fetchProductInfoQuer41===void 0||(_fetchProductInfoQuer41=_fetchProductInfoQuer41.productinfo)===null||_fetchProductInfoQuer41===void 0?void 0:_fetchProductInfoQuer41.isproducttobesold)==1&&/*#__PURE__*/React.createElement(ProductHeaderPricing,{actions:props.actions}),sectionproperties.showfeatures=='Show'&&sectionproperties.featuresposition=='Under Name'&&sectionproperties.featurestyle!='Table'&&/*#__PURE__*/React.createElement("div",{"class":"col-lg-12 text-start p-0"},/*#__PURE__*/React.createElement("div",{className:"row m-0 w-100"},fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer42=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer42===void 0||(_fetchProductInfoQuer42=_fetchProductInfoQuer42.data)===null||_fetchProductInfoQuer42===void 0||(_fetchProductInfoQuer42=_fetchProductInfoQuer42.productinfo)===null||_fetchProductInfoQuer42===void 0||(_fetchProductInfoQuer42=_fetchProductInfoQuer42.productfeatures)===null||_fetchProductInfoQuer42===void 0?void 0:_fetchProductInfoQuer42.map(function(fitem,findex){return/*#__PURE__*/React.createElement("div",{"class":' col-md-12 p-0 mb-3 mt-2 col-lg-'+sectionproperties.featuresnumcols},/*#__PURE__*/React.createElement("div",{"class":"row m-0 w-100 text-start"},/*#__PURE__*/React.createElement("div",{"class":"col-lg-12 text-start mb-3 text-uppercase p-0"},/*#__PURE__*/React.createElement("div",{style:{width:'20px'},"class":langdetect=='en'?'mr-2':'ml-2'},/*#__PURE__*/React.createElement(Imagekitimagecomp,{urlEndpoint:ikimagecredcontext===null||ikimagecredcontext===void 0?void 0:ikimagecredcontext.ikimageendpoint,publicKey:ikimagecredcontext===null||ikimagecredcontext===void 0?void 0:ikimagecredcontext.ikimagepublickey,path:fitem===null||fitem===void 0?void 0:fitem.feature_image_url,loading:"lazy",style:{maxWidth:'100%',maxHeight:'100%'}})),/*#__PURE__*/React.createElement("p",{"class":"m-0 p-0",style:{color:sectionproperties.featurecolor,fontWeight:sectionproperties.featurefontweight,fontSize:sectionproperties.featurefontsize}},langdetect=='en'?fitem===null||fitem===void 0?void 0:fitem.name_en:fitem===null||fitem===void 0?void 0:fitem.name_ar)),/*#__PURE__*/React.createElement("div",{"class":"col-lg-12 text-start text-capitalize"},/*#__PURE__*/React.createElement("p",{"class":"m-0 p-0",style:{color:sectionproperties.featurevaluecolor,fontWeight:sectionproperties.featurevaluefontweight,fontSize:sectionproperties.featurevaluefontsize}},langdetect=='en'?fitem===null||fitem===void 0?void 0:fitem.value_en:fitem===null||fitem===void 0?void 0:fitem.value_ar))));}))),sectionproperties.descriptionposition=='Under Name'&&sectionproperties.descriptionstyle=='Style 1'&&sectionproperties.showshortdescription=='Show'&&/*#__PURE__*/React.createElement("div",{"class":"col-lg-12 p-0"},/*#__PURE__*/React.createElement("div",{"class":"row m-0 w-100"},sectionproperties.showshortdescription=='Show'&&/*#__PURE__*/React.createElement("div",{"class":"col-lg-12 p-0 mb-2"},/*#__PURE__*/React.createElement("p",{style:{textAlign:langdetect=='en'?'left':'right',color:sectionproperties.generaltext_fontColor}},ShortDescriptionTitle())),/*#__PURE__*/React.createElement("div",{"class":"col-lg-12 p-0"},/*#__PURE__*/React.createElement("p",{className:'m-0 p-0 wordbreak',style:{textAlign:langdetect=='en'?'left':'right',color:sectionproperties.prodCatColor},dangerouslySetInnerHTML:{__html:langdetect=='en'?fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer43=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer43===void 0||(_fetchProductInfoQuer43=_fetchProductInfoQuer43.data)===null||_fetchProductInfoQuer43===void 0||(_fetchProductInfoQuer43=_fetchProductInfoQuer43.productinfo)===null||_fetchProductInfoQuer43===void 0?void 0:_fetchProductInfoQuer43.short_description_en:fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer44=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer44===void 0||(_fetchProductInfoQuer44=_fetchProductInfoQuer44.data)===null||_fetchProductInfoQuer44===void 0||(_fetchProductInfoQuer44=_fetchProductInfoQuer44.productinfo)===null||_fetchProductInfoQuer44===void 0?void 0:_fetchProductInfoQuer44.short_description_ar}})))),sectionproperties.showvendor=='Hide'&&sectionproperties.showfeatures=='Show'&&sectionproperties.featuresposition=='Under Name'&&sectionproperties.featurestyle=='Table'&&/*#__PURE__*/React.createElement("div",{"class":"col-lg-12 text-start p-0"},ProductFeaturesTable()),sectionproperties.showfeatures=='Show'&&sectionproperties.featuresposition=='Under Pricing'&&sectionproperties.featurestyle=='Table'&&/*#__PURE__*/React.createElement("div",{"class":"col-lg-12 text-start p-0"},ProductFeaturesTable()),langdetect=='en'&&(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer45=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer45===void 0||(_fetchProductInfoQuer45=_fetchProductInfoQuer45.data)===null||_fetchProductInfoQuer45===void 0||(_fetchProductInfoQuer45=_fetchProductInfoQuer45.productinfo)===null||_fetchProductInfoQuer45===void 0?void 0:_fetchProductInfoQuer45.short_description_en)!=null&&sectionproperties.descriptionstyle=='Style 1'&&sectionproperties.showshortdescription=='Show'&&/*#__PURE__*/React.createElement("div",{"class":"col-lg-12 p-0"},/*#__PURE__*/React.createElement("div",{"class":"col-lg-12 p-0 d-flex justify-content-start"},/*#__PURE__*/React.createElement("p",{className:'text-black m-0 p-0 wordbreak',style:{textAlign:langdetect=='en'?'left':'right'},dangerouslySetInnerHTML:{__html:fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer46=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer46===void 0||(_fetchProductInfoQuer46=_fetchProductInfoQuer46.data)===null||_fetchProductInfoQuer46===void 0||(_fetchProductInfoQuer46=_fetchProductInfoQuer46.productinfo)===null||_fetchProductInfoQuer46===void 0?void 0:_fetchProductInfoQuer46.short_description_en}}))),langdetect=='ar'&&sectionproperties.showshortdescription=='Show'&&(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer47=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer47===void 0||(_fetchProductInfoQuer47=_fetchProductInfoQuer47.data)===null||_fetchProductInfoQuer47===void 0||(_fetchProductInfoQuer47=_fetchProductInfoQuer47.productinfo)===null||_fetchProductInfoQuer47===void 0?void 0:_fetchProductInfoQuer47.short_description_ar)!=null&&sectionproperties.descriptionstyle=='Style 1'&&/*#__PURE__*/React.createElement("div",{"class":"col-lg-12 p-0"},/*#__PURE__*/React.createElement("div",{"class":"col-lg-12 p-0 d-flex justify-content-start"},/*#__PURE__*/React.createElement("p",{className:'text-black m-0 p-0 wordbreak',style:{textAlign:langdetect=='en'?'left':'right'},dangerouslySetInnerHTML:{__html:fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer48=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer48===void 0||(_fetchProductInfoQuer48=_fetchProductInfoQuer48.data)===null||_fetchProductInfoQuer48===void 0||(_fetchProductInfoQuer48=_fetchProductInfoQuer48.productinfo)===null||_fetchProductInfoQuer48===void 0?void 0:_fetchProductInfoQuer48.short_description_ar}}))),(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer49=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer49===void 0||(_fetchProductInfoQuer49=_fetchProductInfoQuer49.data)===null||_fetchProductInfoQuer49===void 0||(_fetchProductInfoQuer49=_fetchProductInfoQuer49.productinfo)===null||_fetchProductInfoQuer49===void 0?void 0:_fetchProductInfoQuer49.vendorinfo)!=null&&sectionproperties.showvendor=='Show'&&/*#__PURE__*/React.createElement("div",{"class":"col-lg-12 p-0 d-flex justify-content-start align-items-center mt-2 mb-3"},(authdetailsContext===null||authdetailsContext===void 0||(_authdetailsContext$i12=authdetailsContext.instinfo)===null||_authdetailsContext$i12===void 0?void 0:_authdetailsContext$i12.contactinfo.instid)=='683c163d7f996'&&(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer50=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer50===void 0||(_fetchProductInfoQuer50=_fetchProductInfoQuer50.data)===null||_fetchProductInfoQuer50===void 0||(_fetchProductInfoQuer50=_fetchProductInfoQuer50.productinfo)===null||_fetchProductInfoQuer50===void 0?void 0:_fetchProductInfoQuer50.vendorinfo.vendorlogourl)!=null&&/*#__PURE__*/React.createElement("div",{"class":productinfo_cssstyles.vendorlogo,style:{}},/*#__PURE__*/React.createElement(Imagekitimagecomp,{urlEndpoint:ikimagecredcontext===null||ikimagecredcontext===void 0?void 0:ikimagecredcontext.ikimageendpoint,publicKey:ikimagecredcontext===null||ikimagecredcontext===void 0?void 0:ikimagecredcontext.ikimagepublickey,path:fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer51=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer51===void 0||(_fetchProductInfoQuer51=_fetchProductInfoQuer51.data)===null||_fetchProductInfoQuer51===void 0||(_fetchProductInfoQuer51=_fetchProductInfoQuer51.productinfo)===null||_fetchProductInfoQuer51===void 0?void 0:_fetchProductInfoQuer51.vendorinfo.vendorlogourl,loading:"lazy",style:{width:'100%',height:'100%',objectFit:'contain',border:'1px solid #ccc',borderRadius:100}})),/*#__PURE__*/React.createElement("p",{"class":"".concat(productinfo_cssstyles.productname," ").concat(productinfo_cssstyles.productnamehover)+' m-0 p-0 ',style:{cursor:sectionproperties.vendornameclickable=='Yes'?'pointer':'',fontSize:14},onClick:function onClick(){if(sectionproperties.vendornameclickable=='Yes'){var _fetchProductInfoQuer52;routingcountext(StaticPagesLinksContext.GeneralProductsComponent,true,encodeURIComponent(JSON.stringify({vendorsarr:[fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer52=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer52===void 0||(_fetchProductInfoQuer52=_fetchProductInfoQuer52.data)===null||_fetchProductInfoQuer52===void 0||(_fetchProductInfoQuer52=_fetchProductInfoQuer52.productinfo)===null||_fetchProductInfoQuer52===void 0||(_fetchProductInfoQuer52=_fetchProductInfoQuer52.vendorinfo)===null||_fetchProductInfoQuer52===void 0?void 0:_fetchProductInfoQuer52.vendorid]})));}}},(authdetailsContext===null||authdetailsContext===void 0||(_authdetailsContext$i13=authdetailsContext.instinfo)===null||_authdetailsContext$i13===void 0?void 0:_authdetailsContext$i13.contactinfo.instid)!='683c163d7f996'&&(authdetailsContext===null||authdetailsContext===void 0||(_authdetailsContext$i14=authdetailsContext.instinfo)===null||_authdetailsContext$i14===void 0?void 0:_authdetailsContext$i14.contactinfo.instid)!='67f3c23abb18f'&&(authdetailsContext===null||authdetailsContext===void 0||(_authdetailsContext$i15=authdetailsContext.instinfo)===null||_authdetailsContext$i15===void 0?void 0:_authdetailsContext$i15.contactinfo.instid)!='6805437ab0f3b'&&/*#__PURE__*/React.createElement("span",null," ",langdetect=='en'?sectionproperties.vendortitleen:sectionproperties.vendortitlear,": "),/*#__PURE__*/React.createElement("span",{style:{fontWeight:600,textDecoration:(authdetailsContext===null||authdetailsContext===void 0||(_authdetailsContext$i16=authdetailsContext.instinfo)===null||_authdetailsContext$i16===void 0?void 0:_authdetailsContext$i16.contactinfo.instid)=='67f3c23abb18f'?'underline':'none'}},fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer53=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer53===void 0||(_fetchProductInfoQuer53=_fetchProductInfoQuer53.data)===null||_fetchProductInfoQuer53===void 0||(_fetchProductInfoQuer53=_fetchProductInfoQuer53.productinfo)===null||_fetchProductInfoQuer53===void 0||(_fetchProductInfoQuer53=_fetchProductInfoQuer53.vendorinfo)===null||_fetchProductInfoQuer53===void 0?void 0:_fetchProductInfoQuer53.vendorname))),sectionproperties.showSKU=='Show'&&sectionproperties.skuposition=='Bottom'&&/*#__PURE__*/React.createElement("div",{"class":sectionproperties.deliverytimeshow=='Show'&&(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer54=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer54===void 0||(_fetchProductInfoQuer54=_fetchProductInfoQuer54.data)===null||_fetchProductInfoQuer54===void 0||(_fetchProductInfoQuer54=_fetchProductInfoQuer54.productinfo)===null||_fetchProductInfoQuer54===void 0?void 0:_fetchProductInfoQuer54.deliverydatetext)!=null?'col-lg-12 p-0 mb-2 d-flex justify-content-start':'col-lg-12 p-0 mb-3 d-flex justify-content-start'},ProductsSKUContainer()),sectionproperties.showvendor=='Show'&&sectionproperties.showfeatures=='Show'&&sectionproperties.featuresposition=='Under Name'&&sectionproperties.featurestyle=='Table'&&/*#__PURE__*/React.createElement("div",{"class":"col-lg-12 text-start p-0"},ProductFeaturesTable()),(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer55=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer55===void 0||(_fetchProductInfoQuer55=_fetchProductInfoQuer55.data)===null||_fetchProductInfoQuer55===void 0||(_fetchProductInfoQuer55=_fetchProductInfoQuer55.productinfo)===null||_fetchProductInfoQuer55===void 0?void 0:_fetchProductInfoQuer55.currentquantity)<1&&sectionproperties.showoutofstock=='Show'&&(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer56=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer56===void 0||(_fetchProductInfoQuer56=_fetchProductInfoQuer56.data)===null||_fetchProductInfoQuer56===void 0||(_fetchProductInfoQuer56=_fetchProductInfoQuer56.productinfo)===null||_fetchProductInfoQuer56===void 0?void 0:_fetchProductInfoQuer56.quantavailtype)=='limit'&&(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer57=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer57===void 0||(_fetchProductInfoQuer57=_fetchProductInfoQuer57.data)===null||_fetchProductInfoQuer57===void 0||(_fetchProductInfoQuer57=_fetchProductInfoQuer57.productinfo)===null||_fetchProductInfoQuer57===void 0?void 0:_fetchProductInfoQuer57.hasvariants)==0&&/*#__PURE__*/React.createElement("div",{"class":"col-lg-12 p-0 d-flex justify-content-start mb-2"},/*#__PURE__*/React.createElement("div",{"class":"".concat(productinfo_cssstyles.outstockbadge)+' allcentered '},/*#__PURE__*/React.createElement("p",{"class":"m-0 p-0"},langdetect=='en'?sectionproperties.outstock_contenten:sectionproperties.outstock_contentar))),sectionproperties.deliverytimeshow=='Show'&&(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer58=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer58===void 0||(_fetchProductInfoQuer58=_fetchProductInfoQuer58.data)===null||_fetchProductInfoQuer58===void 0||(_fetchProductInfoQuer58=_fetchProductInfoQuer58.productinfo)===null||_fetchProductInfoQuer58===void 0?void 0:_fetchProductInfoQuer58.deliverydatetext)!=null&&/*#__PURE__*/React.createElement("div",{"class":"mb-4 col-lg-12 allcentered",style:{width:'100%',backgroundColor:sectionproperties.deliverytimecontainerBg,paddingLeft:sectionproperties.deliverytimecontainerpaddinghorizontal+'px',paddingRight:sectionproperties.deliverytimecontainerpaddinghorizontal+'px',paddingTop:sectionproperties.deliverytimecontainerpaddingvertical+'px',paddingBottom:sectionproperties.deliverytimecontainerpaddingvertical+'px',border:sectionproperties.deliverytimecontainerborderwidth+'px solid '+sectionproperties.deliverytimecontainerbordercolor,borderRadius:sectionproperties.deliverytimecontainerborderradius+'px',fontSize:sectionproperties.deliverytimecontainerfontsize+'px',fontWeight:sectionproperties.deliverytimecontainerfontWeight,marginTop:15}},/*#__PURE__*/React.createElement("p",{"class":"m-0 p-0 ",style:{textAlign:langdetect=='en'?'left':'right',color:sectionproperties.deliverytimecontainercolor}},sectionproperties.showdeliverytitle=='Show'&&/*#__PURE__*/React.createElement("span",null,langdetect=='en'?sectionproperties.deliverycontent_en:sectionproperties.deliverycontent_ar,": "),' ',fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer59=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer59===void 0||(_fetchProductInfoQuer59=_fetchProductInfoQuer59.data)===null||_fetchProductInfoQuer59===void 0||(_fetchProductInfoQuer59=_fetchProductInfoQuer59.productinfo)===null||_fetchProductInfoQuer59===void 0?void 0:_fetchProductInfoQuer59.deliverydatetext)),sectionproperties.descriptionposition!='Under Name'&&sectionproperties.descriptionposition=='Top'&&sectionproperties.descriptionstyle=='Style 1'&&sectionproperties.prodCatShow=='Show'&&/*#__PURE__*/React.createElement("div",{"class":"col-lg-12 p-0"},/*#__PURE__*/React.createElement(DescriptionContent,{actions:props.actions,srcfromprops:'undername'})),sectionproperties.defaultpricingposition=='Under Description'&&(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer60=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer60===void 0||(_fetchProductInfoQuer60=_fetchProductInfoQuer60.data)===null||_fetchProductInfoQuer60===void 0||(_fetchProductInfoQuer60=_fetchProductInfoQuer60.productinfo)===null||_fetchProductInfoQuer60===void 0?void 0:_fetchProductInfoQuer60.isproducttobesold)==1&&/*#__PURE__*/React.createElement(ProductHeaderPricing,{actions:props.actions}),/*#__PURE__*/React.createElement(Variantoptions,{actions:props.actions}),(authdetailsContext===null||authdetailsContext===void 0||(_authdetailsContext$i17=authdetailsContext.instinfo)===null||_authdetailsContext$i17===void 0?void 0:_authdetailsContext$i17.contactinfo.instid)!='69c80c37de30b'&&/*#__PURE__*/React.createElement(ProductExtras,{actions:props.actions,srcfromprops:'servicestyle2',addtocartfunc:addtocartfunc}),(authdetailsContext===null||authdetailsContext===void 0||(_authdetailsContext$i18=authdetailsContext.instinfo)===null||_authdetailsContext$i18===void 0?void 0:_authdetailsContext$i18.contactinfo.instid)=='69c80c37de30b'&&/*#__PURE__*/React.createElement(ProductExtras_charm,{actions:props.actions,srcfromprops:'servicestyle2',addtocartfunc:addtocartfunc}),sectionproperties.showextrafield=='Show'&&/*#__PURE__*/React.createElement(ProductExtraFields,{actions:props.actions}),sectionproperties.gallerystyle!='Style 1'&&sectionproperties.prodCatShow=='Show'&&sectionproperties.descriptionposition!='Top'&&/*#__PURE__*/React.createElement(DescriptionContent,{actions:props.actions}),(authdetailsContext===null||authdetailsContext===void 0||(_authdetailsContext$i19=authdetailsContext.instinfo)===null||_authdetailsContext$i19===void 0?void 0:_authdetailsContext$i19.contactinfo.instid)=='68ada0669b7c7'&&/*#__PURE__*/React.createElement("div",{"class":"col-lg-12 p-0"},/*#__PURE__*/React.createElement(ProductFileUploader,{actions:props.actions})),sectionproperties.showfeatures=='Show'&&sectionproperties.featuresposition!='Under Name'&&sectionproperties.featuresposition=='Under Description'&&sectionproperties.featurestyle!='Table'&&/*#__PURE__*/React.createElement("div",{"class":"col-lg-12 text-start p-md-0 mb-3"},ProductFeaturesArray()),/*#__PURE__*/React.createElement("div",{className:"col-lg-12 p-0 mb-3",style:{// display: sectionproperties.quantitybtn_show == 'Hide' && sectionproperties.cartBtnShow == 'Hide' ? 'none' : 'flex',
4340
+ }},/*#__PURE__*/React.createElement("div",{className:"row mx-0 w-100 d-flex align-items-center",style:{marginTop:sectionproperties.ctabuttnnsmarginvertical+'px',marginBottom:sectionproperties.ctabuttnnsmarginvertical+'px'}},(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer61=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer61===void 0||(_fetchProductInfoQuer61=_fetchProductInfoQuer61.data)===null||_fetchProductInfoQuer61===void 0||(_fetchProductInfoQuer61=_fetchProductInfoQuer61.productinfo)===null||_fetchProductInfoQuer61===void 0?void 0:_fetchProductInfoQuer61.isproducttobesold)==1&&(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer62=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer62===void 0||(_fetchProductInfoQuer62=_fetchProductInfoQuer62.data)===null||_fetchProductInfoQuer62===void 0||(_fetchProductInfoQuer62=_fetchProductInfoQuer62.productinfo)===null||_fetchProductInfoQuer62===void 0?void 0:_fetchProductInfoQuer62.isproducthasquantitychange)==1&&sectionproperties.quantitybtn_show=='Show'&&/*#__PURE__*/React.createElement("div",{className:"col-lg-12 p-0 mb-2 d-flex justofy-content-start"},/*#__PURE__*/React.createElement("p",{className:"m-0 p-0",style:{color:sectionproperties.generaltext_fontColor,fontSize:sectionproperties.generaltext_fontSize+'px',textTransform:sectionproperties.generaltext_textTransform,fontWeight:sectionproperties.generaltext_fontWeight}},langdetect=='en'?sectionproperties.quantitybtnen:sectionproperties.quantitybtnar,":")),/*#__PURE__*/React.createElement("div",{"class":"col-lg-12 p-0"},/*#__PURE__*/React.createElement("div",{"class":"row m-0 w-100 d-flex align-items-center",style:{justifyContent:sectionproperties.cartbtncentered=='Centered'?'center':'start'}},sectionproperties.quantitybtn_show=='Show'&&(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer63=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer63===void 0||(_fetchProductInfoQuer63=_fetchProductInfoQuer63.data)===null||_fetchProductInfoQuer63===void 0||(_fetchProductInfoQuer63=_fetchProductInfoQuer63.productinfo)===null||_fetchProductInfoQuer63===void 0?void 0:_fetchProductInfoQuer63.isproducttobesold)==1&&(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer64=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer64===void 0||(_fetchProductInfoQuer64=_fetchProductInfoQuer64.data)===null||_fetchProductInfoQuer64===void 0||(_fetchProductInfoQuer64=_fetchProductInfoQuer64.productinfo)===null||_fetchProductInfoQuer64===void 0?void 0:_fetchProductInfoQuer64.isproducthasquantitychange)==1&&QuantityButton(),sectionproperties.cartbtnalone=='Besides Other Buttons'&&sectionproperties.cartBtnShow=='Show'&&(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer65=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer65===void 0||(_fetchProductInfoQuer65=_fetchProductInfoQuer65.data)===null||_fetchProductInfoQuer65===void 0||(_fetchProductInfoQuer65=_fetchProductInfoQuer65.productinfo)===null||_fetchProductInfoQuer65===void 0?void 0:_fetchProductInfoQuer65.isproducttobesold)==1&&/*#__PURE__*/React.createElement("button",{className:"".concat(productinfo_cssstyles.cart_btn," ")+' ml-2 d-flex align-items-center justify-content-center mb-sm-2 ',style:{width:sectionproperties.cartBtnWidth==100?'auto':sectionproperties.cartBtnWidth+'%',flex:sectionproperties.cartBtnWidth==100?1:''},onClick:function onClick(){if(fetchProductInfoQueryContext.data.data.productinfo.product_calltoaction=='Call'){var _fetchProductInfoQuer66;window.open('tel:'+((_fetchProductInfoQuer66=fetchProductInfoQueryContext.data.data.productinfo)===null||_fetchProductInfoQuer66===void 0?void 0:_fetchProductInfoQuer66.product_phonenumber),'_blank');}else {if(fetchProductInfoQueryContext.data.data.productinfo.maximumproductquant>=addtocardpayloadobj.quantity&&fetchProductInfoQueryContext.data.data.productinfo.minimumproductquant<=addtocardpayloadobj.quantity){addtocartfunc();}else {NotificationManager.warning('',lang.maximum+': '+fetchProductInfoQueryContext.data.data.productinfo.maximumproductquant+', '+lang.minimum+': '+fetchProductInfoQueryContext.data.data.productinfo.minimumproductquant);}}},disabled:AddtoCartMutationContext.isLoading==true?true:false},!AddtoCartMutationContext.isLoading&&/*#__PURE__*/React.createElement("span",{className:' d-flex align-items-center justify-content-center ',style:{fontWeight:sectionproperties.cartBtnTextfontweight}},/*#__PURE__*/React.createElement("i",{className:langdetect=='en'?'h-100 d-flex align-items-center justify-content-center mr-2':'h-100 d-flex align-items-center justify-content-center ml-2'},sectionproperties.carticonstyle=='Shopping bag 1'&&/*#__PURE__*/React.createElement(FiShoppingBag,{className:"",size:sectionproperties.cartBtn_iconFontSize}),sectionproperties.carticonstyle=='Shopping bag 2'&&/*#__PURE__*/React.createElement(CgShoppingBag,{className:"",size:sectionproperties.cartBtn_iconFontSize}),sectionproperties.carticonstyle=='Shopping bag 3'&&/*#__PURE__*/React.createElement(BsBag,{className:"",size:sectionproperties.cartBtn_iconFontSize}),sectionproperties.carticonstyle=='Shopping bag 4'&&/*#__PURE__*/React.createElement(IoBagHandleOutline,{className:"",size:sectionproperties.cartBtn_iconFontSize}),sectionproperties.carticonstyle=='Shopping cart 1'&&/*#__PURE__*/React.createElement(FiShoppingCart,{className:"",size:sectionproperties.cartBtn_iconFontSize}),sectionproperties.carticonstyle=='Shopping cart 2'&&/*#__PURE__*/React.createElement(MdAddShoppingCart,{size:sectionproperties.cartBtn_iconFontSize})),langdetect=='en'?fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer67=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer67===void 0||(_fetchProductInfoQuer67=_fetchProductInfoQuer67.data)===null||_fetchProductInfoQuer67===void 0||(_fetchProductInfoQuer67=_fetchProductInfoQuer67.productinfo)===null||_fetchProductInfoQuer67===void 0?void 0:_fetchProductInfoQuer67.productactionbuttontext_en:fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer68=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer68===void 0||(_fetchProductInfoQuer68=_fetchProductInfoQuer68.data)===null||_fetchProductInfoQuer68===void 0||(_fetchProductInfoQuer68=_fetchProductInfoQuer68.productinfo)===null||_fetchProductInfoQuer68===void 0?void 0:_fetchProductInfoQuer68.productactionbuttontext_ar),AddtoCartMutationContext.isLoading&&/*#__PURE__*/React.createElement("div",{className:' d-flex align-items-center justify-content-center '},/*#__PURE__*/React.createElement(CircularProgress,{color:sectionproperties.cartBtnTextcolor,width:"20px",height:"20px",duration:"1s"}))),sectionproperties.btnposition=='Bottom'&&sectionproperties.favBtnShow=='Show'&&/*#__PURE__*/React.createElement("div",{className:productinfo_cssstyles.wishlist_btn+' d-flex justify-content-center align-items-center mb-sm-2 ',onClick:function onClick(){addtofavoritescontext(fetchProductInfoQueryContext.data.data.productinfo.productid);setIsFavorite(!IsFavorite);},style:{background:fetchProductInfoQueryContext.data.data.productinfo.IsFavExists==true?sectionproperties.activebgcolor:''}},/*#__PURE__*/React.createElement("i",{className:"h-100 d-flex align-items-center justify-content-center"},IsFavorite&&/*#__PURE__*/React.createElement("i",{className:"h-100 d-flex align-items-center justify-content-center"},sectionproperties.faviconshape=='Star Shape'&&/*#__PURE__*/React.createElement(AiFillStar$1,{size:sectionproperties.favBtnIconfontsize,style:{color:sectionproperties.activefaviconcolor}}),sectionproperties.faviconshape=='Heart Shape'&&/*#__PURE__*/React.createElement(FaHeart$1,{size:sectionproperties.favBtnIconfontsize,style:{color:sectionproperties.activefaviconcolor}})),!IsFavorite&&/*#__PURE__*/React.createElement("i",{className:"h-100 d-flex align-items-center justify-content-center"},sectionproperties.faviconshape=='Star Shape'&&/*#__PURE__*/React.createElement(AiOutlineStar,{size:sectionproperties.favBtnIconfontsize}),sectionproperties.faviconshape=='Heart Shape'&&/*#__PURE__*/React.createElement(FaRegHeart,{size:sectionproperties.favBtnIconfontsize}))),!IsFavorite&&sectionproperties.favBtnTextfontsize!=0&&/*#__PURE__*/React.createElement("p",{"class":"m-0 p-0",style:{fontSize:sectionproperties.favBtnTextfontsize+'px'}},langdetect=='en'?sectionproperties.favbtncontent_en:sectionproperties.favbtncontent_ar),IsFavorite&&sectionproperties.favBtnTextfontsize!=0&&/*#__PURE__*/React.createElement("p",{"class":"m-0 p-0",style:{fontSize:sectionproperties.favBtnTextfontsize+'px'}},langdetect=='en'?sectionproperties.favbtnaddedcontent_en:sectionproperties.favbtnaddedcontent_ar)),(authdetailsContext===null||authdetailsContext===void 0||(_authdetailsContext$i20=authdetailsContext.instinfo)===null||_authdetailsContext$i20===void 0?void 0:_authdetailsContext$i20.contactinfo.instid)=='694befd291698'&&/*#__PURE__*/React.createElement("div",{"class":"col-12 p-0 mt-3"},/*#__PURE__*/React.createElement("button",{className:sectionproperties.cartbtntramsitionafterwhile=='Yes'?"".concat(productinfo_cssstyles.cart_btn," ")+' d-flex align-items-center justify-content-center mb-sm-2 cart_btnvibrate ':"".concat(productinfo_cssstyles.cart_btn," ")+' d-flex align-items-center justify-content-center mb-sm-2 ',style:{width:'100%'},onClick:function onClick(){var productId=fetchProductInfoQueryContext.data.data.productinfo.productid;// Replace this with a real ID (e.g., passed via props)
4021
4341
  var key='comparedProducts';// Get current list from localStorage
4022
4342
  var existing=JSON.parse(localStorage.getItem(key))||[];// Check if the product is already in the list
4023
4343
  var index=existing.indexOf(productId);if(index>-1){// If exists, remove it (toggle off)
4024
4344
  existing.splice(index,1);setIsCompared(false);}else {// If not, add it (toggle on)
4025
4345
  existing.push(productId);setIsCompared(true);}// Update localStorage
4026
4346
  localStorage.setItem(key,JSON.stringify(existing));// Optionally show feedback (remove this in production)
4027
- }},isCompared?lang.remove:lang.compare)),(authdetailsContext===null||authdetailsContext===void 0||(_authdetailsContext$i19=authdetailsContext.instinfo)===null||_authdetailsContext$i19===void 0?void 0:_authdetailsContext$i19.contactinfo.instid)=='696e02860f043'&&/*#__PURE__*/React.createElement("div",{"class":"col-12 p-0 mt-3"},/*#__PURE__*/React.createElement("button",{className:sectionproperties.cartbtntramsitionafterwhile=='Yes'?"".concat(productinfo_cssstyles.cart_btn," ")+' d-flex align-items-center justify-content-center mb-sm-2 cart_btnvibrate ':"".concat(productinfo_cssstyles.cart_btn," ")+' d-flex align-items-center justify-content-center mb-sm-2 ',style:{width:'100%'},onClick:function onClick(){var productId=fetchProductInfoQueryContext.data.data.productinfo.productid;// Replace this with a real ID (e.g., passed via props)
4347
+ }},isCompared?lang.remove:lang.compare)),(authdetailsContext===null||authdetailsContext===void 0||(_authdetailsContext$i21=authdetailsContext.instinfo)===null||_authdetailsContext$i21===void 0?void 0:_authdetailsContext$i21.contactinfo.instid)=='696e02860f043'&&/*#__PURE__*/React.createElement("div",{"class":"col-12 p-0 mt-3"},/*#__PURE__*/React.createElement("button",{className:sectionproperties.cartbtntramsitionafterwhile=='Yes'?"".concat(productinfo_cssstyles.cart_btn," ")+' d-flex align-items-center justify-content-center mb-sm-2 cart_btnvibrate ':"".concat(productinfo_cssstyles.cart_btn," ")+' d-flex align-items-center justify-content-center mb-sm-2 ',style:{width:'100%'},onClick:function onClick(){var productId=fetchProductInfoQueryContext.data.data.productinfo.productid;// Replace this with a real ID (e.g., passed via props)
4028
4348
  var key='comparedProducts';// Get current list from localStorage
4029
4349
  var existing=JSON.parse(localStorage.getItem(key))||[];// Check if the product is already in the list
4030
4350
  var index=existing.indexOf(productId);if(index>-1){// If exists, remove it (toggle off)
4031
4351
  existing.splice(index,1);setIsCompared(false);}else {// If not, add it (toggle on)
4032
4352
  existing.push(productId);setIsCompared(true);}// Update localStorage
4033
4353
  localStorage.setItem(key,JSON.stringify(existing));// Optionally show feedback (remove this in production)
4034
- }},isCompared?lang.remove:lang.compare))),sectionproperties.cartbtnalone=='Alone'&&sectionproperties.cartBtnShow=='Show'&&(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer69=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer69===void 0||(_fetchProductInfoQuer69=_fetchProductInfoQuer69.data)===null||_fetchProductInfoQuer69===void 0||(_fetchProductInfoQuer69=_fetchProductInfoQuer69.productinfo)===null||_fetchProductInfoQuer69===void 0?void 0:_fetchProductInfoQuer69.isproducttobesold)==1&&/*#__PURE__*/React.createElement("div",{"class":"row m-0 w-100 mt-3",style:{overflow:'hidden'}},/*#__PURE__*/React.createElement("button",{className:sectionproperties.cartbtntramsitionafterwhile=='Yes'?"".concat(productinfo_cssstyles.cart_btn," ")+' d-flex align-items-center justify-content-center mb-sm-2 cart_btnvibrate ':"".concat(productinfo_cssstyles.cart_btn," ")+' d-flex align-items-center justify-content-center mb-sm-2 ',style:{width:sectionproperties.cartBtnWidth+'%',borderRadius:sectionproperties.cart_btn_borderBottomLeftRadius+'px'},onClick:function onClick(){if(fetchProductInfoQueryContext.data.data.productinfo.product_calltoaction=='Call'){var _fetchProductInfoQuer70;window.open('tel:'+((_fetchProductInfoQuer70=fetchProductInfoQueryContext.data.data.productinfo)===null||_fetchProductInfoQuer70===void 0?void 0:_fetchProductInfoQuer70.product_phonenumber),'_blank');}else {if(fetchProductInfoQueryContext.data.data.productinfo.maximumproductquant>=addtocardpayloadobj.quantity&&fetchProductInfoQueryContext.data.data.productinfo.minimumproductquant<=addtocardpayloadobj.quantity){addtocartfunc();}else {NotificationManager.warning('',lang.maximum+': '+fetchProductInfoQueryContext.data.data.productinfo.maximumproductquant+', '+lang.minimum+': '+fetchProductInfoQueryContext.data.data.productinfo.minimumproductquant);}}},disabled:AddtoCartMutationContext.isLoading==true?true:false},!AddtoCartMutationContext.isLoading&&/*#__PURE__*/React.createElement("span",{className:' d-flex align-items-center justify-content-center ',style:{fontWeight:sectionproperties.cartBtnTextfontweight}},/*#__PURE__*/React.createElement("i",{className:langdetect=='en'?'h-100 d-flex align-items-center justify-content-center mr-2':'h-100 d-flex align-items-center justify-content-center ml-2'},sectionproperties.carticonstyle=='Shopping bag 1'&&/*#__PURE__*/React.createElement(FiShoppingBag,{className:"",size:sectionproperties.cartBtn_iconFontSize}),sectionproperties.carticonstyle=='Shopping bag 2'&&/*#__PURE__*/React.createElement(CgShoppingBag,{className:"",size:sectionproperties.cartBtn_iconFontSize}),sectionproperties.carticonstyle=='Shopping bag 3'&&/*#__PURE__*/React.createElement(BsBag,{className:"",size:sectionproperties.cartBtn_iconFontSize}),sectionproperties.carticonstyle=='Shopping bag 4'&&/*#__PURE__*/React.createElement(IoBagHandleOutline,{className:"",size:sectionproperties.cartBtn_iconFontSize}),sectionproperties.carticonstyle=='Shopping cart 1'&&/*#__PURE__*/React.createElement(FiShoppingCart,{className:"",size:sectionproperties.cartBtn_iconFontSize}),sectionproperties.carticonstyle=='Shopping cart 2'&&/*#__PURE__*/React.createElement(MdAddShoppingCart,{size:sectionproperties.cartBtn_iconFontSize})),langdetect=='en'?fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer71=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer71===void 0||(_fetchProductInfoQuer71=_fetchProductInfoQuer71.data)===null||_fetchProductInfoQuer71===void 0||(_fetchProductInfoQuer71=_fetchProductInfoQuer71.productinfo)===null||_fetchProductInfoQuer71===void 0?void 0:_fetchProductInfoQuer71.productactionbuttontext_en:fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer72=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer72===void 0||(_fetchProductInfoQuer72=_fetchProductInfoQuer72.data)===null||_fetchProductInfoQuer72===void 0||(_fetchProductInfoQuer72=_fetchProductInfoQuer72.productinfo)===null||_fetchProductInfoQuer72===void 0?void 0:_fetchProductInfoQuer72.productactionbuttontext_ar),AddtoCartMutationContext.isLoading&&/*#__PURE__*/React.createElement("div",{className:' d-flex align-items-center justify-content-center '},/*#__PURE__*/React.createElement(CircularProgress,{color:sectionproperties.cartBtnTextcolor,width:"20px",height:"20px",duration:"1s"}))),sectionproperties.btnposition=='Besides Cart Button'&&sectionproperties.favBtnShow=='Show'&&/*#__PURE__*/React.createElement("div",{className:productinfo_cssstyles.wishlist_btn+' d-flex justify-content-center align-items-center mb-sm-2 mx-3 ',onClick:function onClick(){addtofavoritescontext(fetchProductInfoQueryContext.data.data.productinfo.productid);setIsFavorite(!IsFavorite);},style:{background:fetchProductInfoQueryContext.data.data.productinfo.IsFavExists==true?sectionproperties.activebgcolor:''}},/*#__PURE__*/React.createElement("i",{className:"h-100 d-flex align-items-center justify-content-center"},IsFavorite&&/*#__PURE__*/React.createElement("i",{className:"h-100 d-flex align-items-center justify-content-center"},sectionproperties.faviconshape=='Star Shape'&&/*#__PURE__*/React.createElement(AiFillStar$1,{size:sectionproperties.favBtnIconfontsize,style:{color:sectionproperties.activefaviconcolor}}),sectionproperties.faviconshape=='Heart Shape'&&/*#__PURE__*/React.createElement(FaHeart$1,{size:sectionproperties.favBtnIconfontsize,style:{color:sectionproperties.activefaviconcolor}})),!IsFavorite&&/*#__PURE__*/React.createElement("i",{className:"h-100 d-flex align-items-center justify-content-center"},sectionproperties.faviconshape=='Star Shape'&&/*#__PURE__*/React.createElement(AiOutlineStar,{size:sectionproperties.favBtnIconfontsize}),sectionproperties.faviconshape=='Heart Shape'&&/*#__PURE__*/React.createElement(FaRegHeart,{size:sectionproperties.favBtnIconfontsize}))))),(authdetailsContext===null||authdetailsContext===void 0||(_authdetailsContext$i20=authdetailsContext.instinfo)===null||_authdetailsContext$i20===void 0?void 0:_authdetailsContext$i20.contactinfo.instid)=='6995aff955278'&&fetchProductInfoQueryContext.data.data.productinfo.productid!='69c4fffc42d0b'&&/*#__PURE__*/React.createElement("button",{className:"".concat(productinfo_cssstyles.cart_btn," ")+' d-flex align-items-center justify-content-center mb-sm-2 ',style:{width:'100%',borderRadius:sectionproperties.cart_btn_borderBottomLeftRadius+'px'},onClick:function onClick(){routingcountext('productinfo/69c4fffc42d0b',false,'');window.location.reload();}},langdetect=='en'?'Get The Card':'احصل على البطاقة'),productpdfsarray.length!=0&&/*#__PURE__*/React.createElement("div",{"class":"row m-0 w-100 mt-2",style:{overflow:'hidden'}},PDFContainer()),sectionproperties.showdirectwabtn=='Show'&&/*#__PURE__*/React.createElement("div",{"class":"row m-0 w-100 mt-3",style:{overflow:'hidden'}},/*#__PURE__*/React.createElement("a",{href:langdetect=='en'?whatsappUrl:whatsappUrl_ar,target:"_blank",rel:"noopener noreferrer",style:{width:'100%'}},/*#__PURE__*/React.createElement("button",{className:"".concat(productinfo_cssstyles.cart_btn," ")+' d-flex align-items-center justify-content-center mb-sm-2 ',style:{width:sectionproperties.cartBtnWidth+'%'}},langdetect=='en'?sectionproperties.directwabtntitleen:sectionproperties.directwabtntitlear))),sectionproperties.showbuynowbtn=='Show'&&(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer73=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer73===void 0||(_fetchProductInfoQuer73=_fetchProductInfoQuer73.data)===null||_fetchProductInfoQuer73===void 0||(_fetchProductInfoQuer73=_fetchProductInfoQuer73.productinfo)===null||_fetchProductInfoQuer73===void 0?void 0:_fetchProductInfoQuer73.isproducttobesold)==1&&/*#__PURE__*/React.createElement("div",{"class":"row m-0 w-100 mt-3",style:{overflow:'hidden'}},/*#__PURE__*/React.createElement("button",{className:"".concat(productinfo_cssstyles.buynow," ")+' d-flex align-items-center justify-content-center mb-sm-2 ',style:{},onClick:function onClick(){addtocartfunc(1);},disabled:AddtoCartMutationContext.isLoading==true?true:false},!AddtoCartMutationContext.isLoading&&/*#__PURE__*/React.createElement("span",{className:' d-flex align-items-center justify-content-center '},langdetect=='en'?'Buy It Now':'إشترى الان'),AddtoCartMutationContext.isLoading&&/*#__PURE__*/React.createElement("div",{className:' d-flex align-items-center justify-content-center '},/*#__PURE__*/React.createElement(CircularProgress,{color:sectionproperties.cartBtnTextcolor,width:"20px",height:"20px",duration:"1s"})))),(authdetailsContext===null||authdetailsContext===void 0||(_authdetailsContext$i21=authdetailsContext.instinfo)===null||_authdetailsContext$i21===void 0?void 0:_authdetailsContext$i21.contactinfo.instid)=='69a3437faf64f'&&/*#__PURE__*/React.createElement("div",{"class":"col-12 p-0 mt-3 mb-3"},/*#__PURE__*/React.createElement("button",{className:"".concat(productinfo_cssstyles.cart_btn," ")+' d-flex align-items-center justify-content-center mb-sm-2 mb-2 ',style:{width:sectionproperties.cartBtnWidth+'%'},onClick:function onClick(){var productId=fetchProductInfoQueryContext.data.data.productinfo.productid;// Replace this with a real ID (e.g., passed via props)
4354
+ }},isCompared?lang.remove:lang.compare))),sectionproperties.cartbtnalone=='Alone'&&sectionproperties.cartBtnShow=='Show'&&(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer69=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer69===void 0||(_fetchProductInfoQuer69=_fetchProductInfoQuer69.data)===null||_fetchProductInfoQuer69===void 0||(_fetchProductInfoQuer69=_fetchProductInfoQuer69.productinfo)===null||_fetchProductInfoQuer69===void 0?void 0:_fetchProductInfoQuer69.isproducttobesold)==1&&/*#__PURE__*/React.createElement("div",{"class":"row m-0 w-100 mt-3",style:{overflow:'hidden'}},/*#__PURE__*/React.createElement("button",{className:sectionproperties.cartbtntramsitionafterwhile=='Yes'?"".concat(productinfo_cssstyles.cart_btn," ")+' d-flex align-items-center justify-content-center mb-sm-2 cart_btnvibrate ':"".concat(productinfo_cssstyles.cart_btn," ")+' d-flex align-items-center justify-content-center mb-sm-2 ',style:{width:sectionproperties.cartBtnWidth+'%',borderRadius:sectionproperties.cart_btn_borderBottomLeftRadius+'px'},onClick:function onClick(){if(fetchProductInfoQueryContext.data.data.productinfo.product_calltoaction=='Call'){var _fetchProductInfoQuer70;window.open('tel:'+((_fetchProductInfoQuer70=fetchProductInfoQueryContext.data.data.productinfo)===null||_fetchProductInfoQuer70===void 0?void 0:_fetchProductInfoQuer70.product_phonenumber),'_blank');}else {if(fetchProductInfoQueryContext.data.data.productinfo.maximumproductquant>=addtocardpayloadobj.quantity&&fetchProductInfoQueryContext.data.data.productinfo.minimumproductquant<=addtocardpayloadobj.quantity){addtocartfunc();}else {NotificationManager.warning('',lang.maximum+': '+fetchProductInfoQueryContext.data.data.productinfo.maximumproductquant+', '+lang.minimum+': '+fetchProductInfoQueryContext.data.data.productinfo.minimumproductquant);}}},disabled:AddtoCartMutationContext.isLoading==true?true:false},!AddtoCartMutationContext.isLoading&&/*#__PURE__*/React.createElement("span",{className:' d-flex align-items-center justify-content-center ',style:{fontWeight:sectionproperties.cartBtnTextfontweight}},/*#__PURE__*/React.createElement("i",{className:langdetect=='en'?'h-100 d-flex align-items-center justify-content-center mr-2':'h-100 d-flex align-items-center justify-content-center ml-2'},sectionproperties.carticonstyle=='Shopping bag 1'&&/*#__PURE__*/React.createElement(FiShoppingBag,{className:"",size:sectionproperties.cartBtn_iconFontSize}),sectionproperties.carticonstyle=='Shopping bag 2'&&/*#__PURE__*/React.createElement(CgShoppingBag,{className:"",size:sectionproperties.cartBtn_iconFontSize}),sectionproperties.carticonstyle=='Shopping bag 3'&&/*#__PURE__*/React.createElement(BsBag,{className:"",size:sectionproperties.cartBtn_iconFontSize}),sectionproperties.carticonstyle=='Shopping bag 4'&&/*#__PURE__*/React.createElement(IoBagHandleOutline,{className:"",size:sectionproperties.cartBtn_iconFontSize}),sectionproperties.carticonstyle=='Shopping cart 1'&&/*#__PURE__*/React.createElement(FiShoppingCart,{className:"",size:sectionproperties.cartBtn_iconFontSize}),sectionproperties.carticonstyle=='Shopping cart 2'&&/*#__PURE__*/React.createElement(MdAddShoppingCart,{size:sectionproperties.cartBtn_iconFontSize})),langdetect=='en'?fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer71=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer71===void 0||(_fetchProductInfoQuer71=_fetchProductInfoQuer71.data)===null||_fetchProductInfoQuer71===void 0||(_fetchProductInfoQuer71=_fetchProductInfoQuer71.productinfo)===null||_fetchProductInfoQuer71===void 0?void 0:_fetchProductInfoQuer71.productactionbuttontext_en:fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer72=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer72===void 0||(_fetchProductInfoQuer72=_fetchProductInfoQuer72.data)===null||_fetchProductInfoQuer72===void 0||(_fetchProductInfoQuer72=_fetchProductInfoQuer72.productinfo)===null||_fetchProductInfoQuer72===void 0?void 0:_fetchProductInfoQuer72.productactionbuttontext_ar),AddtoCartMutationContext.isLoading&&/*#__PURE__*/React.createElement("div",{className:' d-flex align-items-center justify-content-center '},/*#__PURE__*/React.createElement(CircularProgress,{color:sectionproperties.cartBtnTextcolor,width:"20px",height:"20px",duration:"1s"}))),sectionproperties.btnposition=='Besides Cart Button'&&sectionproperties.favBtnShow=='Show'&&/*#__PURE__*/React.createElement("div",{className:productinfo_cssstyles.wishlist_btn+' d-flex justify-content-center align-items-center mb-sm-2 mx-3 ',onClick:function onClick(){addtofavoritescontext(fetchProductInfoQueryContext.data.data.productinfo.productid);setIsFavorite(!IsFavorite);},style:{background:fetchProductInfoQueryContext.data.data.productinfo.IsFavExists==true?sectionproperties.activebgcolor:''}},/*#__PURE__*/React.createElement("i",{className:"h-100 d-flex align-items-center justify-content-center"},IsFavorite&&/*#__PURE__*/React.createElement("i",{className:"h-100 d-flex align-items-center justify-content-center"},sectionproperties.faviconshape=='Star Shape'&&/*#__PURE__*/React.createElement(AiFillStar$1,{size:sectionproperties.favBtnIconfontsize,style:{color:sectionproperties.activefaviconcolor}}),sectionproperties.faviconshape=='Heart Shape'&&/*#__PURE__*/React.createElement(FaHeart$1,{size:sectionproperties.favBtnIconfontsize,style:{color:sectionproperties.activefaviconcolor}})),!IsFavorite&&/*#__PURE__*/React.createElement("i",{className:"h-100 d-flex align-items-center justify-content-center"},sectionproperties.faviconshape=='Star Shape'&&/*#__PURE__*/React.createElement(AiOutlineStar,{size:sectionproperties.favBtnIconfontsize}),sectionproperties.faviconshape=='Heart Shape'&&/*#__PURE__*/React.createElement(FaRegHeart,{size:sectionproperties.favBtnIconfontsize}))))),(authdetailsContext===null||authdetailsContext===void 0||(_authdetailsContext$i22=authdetailsContext.instinfo)===null||_authdetailsContext$i22===void 0?void 0:_authdetailsContext$i22.contactinfo.instid)=='6995aff955278'&&fetchProductInfoQueryContext.data.data.productinfo.productid!='69c4fffc42d0b'&&/*#__PURE__*/React.createElement("button",{className:"".concat(productinfo_cssstyles.cart_btn," ")+' d-flex align-items-center justify-content-center mb-sm-2 ',style:{width:'100%',borderRadius:sectionproperties.cart_btn_borderBottomLeftRadius+'px'},onClick:function onClick(){routingcountext('productinfo/69c4fffc42d0b',false,'');window.location.reload();}},langdetect=='en'?'Get The Card':'احصل على البطاقة'),productpdfsarray.length!=0&&/*#__PURE__*/React.createElement("div",{"class":"row m-0 w-100 mt-2",style:{overflow:'hidden'}},PDFContainer()),sectionproperties.showdirectwabtn=='Show'&&/*#__PURE__*/React.createElement("div",{"class":"row m-0 w-100 mt-3",style:{overflow:'hidden'}},/*#__PURE__*/React.createElement("a",{href:langdetect=='en'?whatsappUrl:whatsappUrl_ar,target:"_blank",rel:"noopener noreferrer",style:{width:'100%'}},/*#__PURE__*/React.createElement("button",{className:"".concat(productinfo_cssstyles.cart_btn," ")+' d-flex align-items-center justify-content-center mb-sm-2 ',style:{width:sectionproperties.cartBtnWidth+'%'}},langdetect=='en'?sectionproperties.directwabtntitleen:sectionproperties.directwabtntitlear))),sectionproperties.showbuynowbtn=='Show'&&(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer73=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer73===void 0||(_fetchProductInfoQuer73=_fetchProductInfoQuer73.data)===null||_fetchProductInfoQuer73===void 0||(_fetchProductInfoQuer73=_fetchProductInfoQuer73.productinfo)===null||_fetchProductInfoQuer73===void 0?void 0:_fetchProductInfoQuer73.isproducttobesold)==1&&/*#__PURE__*/React.createElement("div",{"class":"row m-0 w-100 mt-3",style:{overflow:'hidden'}},/*#__PURE__*/React.createElement("button",{className:"".concat(productinfo_cssstyles.buynow," ")+' d-flex align-items-center justify-content-center mb-sm-2 ',style:{},onClick:function onClick(){addtocartfunc(1);},disabled:AddtoCartMutationContext.isLoading==true?true:false},!AddtoCartMutationContext.isLoading&&/*#__PURE__*/React.createElement("span",{className:' d-flex align-items-center justify-content-center '},langdetect=='en'?'Buy It Now':'إشترى الان'),AddtoCartMutationContext.isLoading&&/*#__PURE__*/React.createElement("div",{className:' d-flex align-items-center justify-content-center '},/*#__PURE__*/React.createElement(CircularProgress,{color:sectionproperties.cartBtnTextcolor,width:"20px",height:"20px",duration:"1s"})))),(authdetailsContext===null||authdetailsContext===void 0||(_authdetailsContext$i23=authdetailsContext.instinfo)===null||_authdetailsContext$i23===void 0?void 0:_authdetailsContext$i23.contactinfo.instid)=='69a3437faf64f'&&/*#__PURE__*/React.createElement("div",{"class":"col-12 p-0 mt-3 mb-3"},/*#__PURE__*/React.createElement("button",{className:"".concat(productinfo_cssstyles.cart_btn," ")+' d-flex align-items-center justify-content-center mb-sm-2 mb-2 ',style:{width:sectionproperties.cartBtnWidth+'%'},onClick:function onClick(){var productId=fetchProductInfoQueryContext.data.data.productinfo.productid;// Replace this with a real ID (e.g., passed via props)
4035
4355
  var key='comparedProducts';// Get current list from localStorage
4036
4356
  var existing=JSON.parse(localStorage.getItem(key))||[];// Check if the product is already in the list
4037
4357
  var index=existing.indexOf(productId);if(index>-1){// If exists, remove it (toggle off)
@@ -4039,17 +4359,17 @@ existing.splice(index,1);setIsCompared(false);}else {// If not, add it (toggle o
4039
4359
  existing.push(productId);setIsCompared(true);}// Update localStorage
4040
4360
  localStorage.setItem(key,JSON.stringify(existing));// Optionally show feedback (remove this in production)
4041
4361
  }},isCompared?lang.remove:lang.compare)),sectionproperties.showfeatures=='Show'&&sectionproperties.featuresposition=='Under CTA'&&sectionproperties.featurestyle=='Table'&&/*#__PURE__*/React.createElement("div",{"class":"col-lg-12 text-start p-0"},ProductFeaturesTable()),sectionproperties.showpaymentfooter=='Show'&&/*#__PURE__*/React.createElement("div",{"class":"row m-0 w-100 mt-5 allcentered"// style={{ overflow: 'hidden', border: '1px solid #ccc', borderRadius: 10 }}
4042
- },sectionproperties.showvisa=='Show'&&/*#__PURE__*/React.createElement("div",{className:'mx-3 allcentered',style:{width:'60px',height:'40px'}},/*#__PURE__*/React.createElement("img",{src:'https://tabex-co.com/storage/StaticImages/visa.png',style:{maxWidth:'100%',maxHeight:'100%'}})),sectionproperties.showmastercard=='Show'&&/*#__PURE__*/React.createElement("div",{className:'mx-3 allcentered',style:{width:'50px',height:'40px'}},/*#__PURE__*/React.createElement("img",{src:'https://tabex-co.com/storage/StaticImages/mastercard.png',style:{maxWidth:'100%',maxHeight:'100%'}})),sectionproperties.showfawry=='Show'&&/*#__PURE__*/React.createElement("div",{className:'mx-3 allcentered',style:{width:'70px',height:'40px'}},/*#__PURE__*/React.createElement("img",{src:'https://tabex-co.com/storage/StaticImages/fawry.png',style:{maxWidth:'100%',maxHeight:'100%'}})),sectionproperties.showmeeza=='Show'&&/*#__PURE__*/React.createElement("div",{className:'mx-3 allcentered',style:{width:'50px',height:'40px'}},/*#__PURE__*/React.createElement("img",{src:'https://tabex-co.com/storage/StaticImages/meezaimage.png',style:{maxWidth:'100%',maxHeight:'100%'}}))),sectionproperties.storeinfoposition=='Below Information'&&props.actions.srcfromprops!='templatedraftrouter'&&/*#__PURE__*/React.createElement("div",{"class":"row m-0 w-100 mt-3",style:{overflow:'hidden'}},StoreInfoprops('belowinfo'))))),sectionproperties.descriptionposition=='Under CTA'&&sectionproperties.prodCatShow=='Show'&&/*#__PURE__*/React.createElement("div",{"class":"col-lg-12 p-0 mt-2"},/*#__PURE__*/React.createElement("div",{"class":"row m-0 w-100"},/*#__PURE__*/React.createElement("div",{"class":"col-lg-12 p-0 mb-2 "},/*#__PURE__*/React.createElement("p",{"class":"m-0 p-0",style:{textAlign:langdetect=='en'?'left':'right',fontWeight:sectionproperties.prodCatFontWeight,color:sectionproperties.prodCatColor,fontSize:sectionproperties.prodCatFontSize+'px'}},langdetect=='en'?sectionproperties.descriptionContentEn:sectionproperties.descriptionContentAr)),/*#__PURE__*/React.createElement("div",{"class":"col-lg-12 p-0"},/*#__PURE__*/React.createElement(DescriptionContent,{actions:props.actions,srcfromprops:'undername'})))),sectionproperties.descriptionstyle=='Style 2'&&/*#__PURE__*/React.createElement("div",{"class":"col-lg-12 p-md-0"},/*#__PURE__*/React.createElement("hr",{"class":"my-3"})),sectionproperties.showfeatures=='Show'&&sectionproperties.featuresposition!='Under Name'&&sectionproperties.featuresposition!='Under Description'&&sectionproperties.featurestyle!='Table'&&/*#__PURE__*/React.createElement("div",{"class":"col-lg-12 text-start p-md-0"},/*#__PURE__*/React.createElement("div",{className:"row m-0 w-100"},fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer74=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer74===void 0||(_fetchProductInfoQuer74=_fetchProductInfoQuer74.data)===null||_fetchProductInfoQuer74===void 0||(_fetchProductInfoQuer74=_fetchProductInfoQuer74.productinfo)===null||_fetchProductInfoQuer74===void 0||(_fetchProductInfoQuer74=_fetchProductInfoQuer74.productfeatures)===null||_fetchProductInfoQuer74===void 0?void 0:_fetchProductInfoQuer74.map(function(fitem,findex){return/*#__PURE__*/React.createElement("div",{"class":' col-md-12 p-0 mb-3 mt-2 col-lg-'+sectionproperties.featuresnumcols},/*#__PURE__*/React.createElement("div",{"class":"row m-0 w-100 text-start"},/*#__PURE__*/React.createElement("div",{"class":"col-lg-12 text-start mb-3 text-uppercase p-0"},/*#__PURE__*/React.createElement("div",{style:{width:'20px'},"class":langdetect=='en'?'mr-2':'ml-2'},/*#__PURE__*/React.createElement(Imagekitimagecomp,{urlEndpoint:ikimagecredcontext===null||ikimagecredcontext===void 0?void 0:ikimagecredcontext.ikimageendpoint,publicKey:ikimagecredcontext===null||ikimagecredcontext===void 0?void 0:ikimagecredcontext.ikimagepublickey,path:fitem===null||fitem===void 0?void 0:fitem.feature_image_url,loading:"lazy",style:{maxWidth:'100%',maxHeight:'100%'}})),/*#__PURE__*/React.createElement("p",{"class":"m-0 p-0",style:{color:sectionproperties.featurecolor,fontWeight:sectionproperties.featurefontweight,fontSize:sectionproperties.featurefontsize}},langdetect=='en'?fitem===null||fitem===void 0?void 0:fitem.name_en:fitem===null||fitem===void 0?void 0:fitem.name_ar)),/*#__PURE__*/React.createElement("div",{"class":"col-lg-12 text-start text-capitalize"},/*#__PURE__*/React.createElement("p",{"class":"m-0 p-0",style:{color:sectionproperties.featurevaluecolor,fontWeight:sectionproperties.featurevaluefontweight,fontSize:sectionproperties.featurevaluefontsize}},langdetect=='en'?fitem===null||fitem===void 0?void 0:fitem.value_en:fitem===null||fitem===void 0?void 0:fitem.value_ar))));}))),sectionproperties.showsizeguidebtn=='Show'&&sizeguideimage.length!=0&&(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer75=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer75===void 0||(_fetchProductInfoQuer75=_fetchProductInfoQuer75.data)===null||_fetchProductInfoQuer75===void 0||(_fetchProductInfoQuer75=_fetchProductInfoQuer75.productinfo)===null||_fetchProductInfoQuer75===void 0?void 0:_fetchProductInfoQuer75.hasvariants)==0&&/*#__PURE__*/React.createElement("div",{"class":"col-12 text-start mt-3"},/*#__PURE__*/React.createElement("p",{"class":productinfo_cssstyles.sizeguidebtn+' m-0 p-0 cursor-pointer mb-auto ',onClick:function onClick(){setopensizeguidemodal(true);}},langdetect=='en'?sectionproperties.sizeguidecontentenglish:sectionproperties.sizeguidecontentarabic)),sectionproperties.showsizeguidebtn=='Show'&&sizeguideimage.length!=0&&(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer76=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer76===void 0||(_fetchProductInfoQuer76=_fetchProductInfoQuer76.data)===null||_fetchProductInfoQuer76===void 0||(_fetchProductInfoQuer76=_fetchProductInfoQuer76.productinfo)===null||_fetchProductInfoQuer76===void 0?void 0:_fetchProductInfoQuer76.hasvariants)==0&&/*#__PURE__*/React.createElement("div",{"class":"col-lg-12 col-md-12 my-3 p-md-0"},/*#__PURE__*/React.createElement("hr",{"class":"m-0"})),sectionproperties.descriptionstyle=='Style 2'&&/*#__PURE__*/React.createElement("div",{"class":sectionproperties.showsizeguidebtn=='Show'&&sizeguideimage.length!=0&&(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer77=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer77===void 0||(_fetchProductInfoQuer77=_fetchProductInfoQuer77.data)===null||_fetchProductInfoQuer77===void 0||(_fetchProductInfoQuer77=_fetchProductInfoQuer77.productinfo)===null||_fetchProductInfoQuer77===void 0?void 0:_fetchProductInfoQuer77.hasvariants)==0?'col-lg-12 col-md-12 p-md-0':'col-lg-12 col-md-12 p-md-0 mt-3'},sectionproperties.descriptioncollapseopen=='Yes'&&/*#__PURE__*/React.createElement(Accordion,{allowMultipleExpanded:true,allowZeroExpanded:true,preExpanded:[0]},DescriptionAccordion()),sectionproperties.descriptioncollapseopen!='Yes'&&/*#__PURE__*/React.createElement(Accordion,{allowMultipleExpanded:true,allowZeroExpanded:true},DescriptionAccordion())),sectionproperties.descriptionstyle=='Style 2'&&/*#__PURE__*/React.createElement("div",{"class":"col-lg-12 col-md-12 my-3 p-md-0"},/*#__PURE__*/React.createElement("hr",{"class":"m-0"})),sectionproperties.descriptionstyle=='Style 2'&&sectionproperties.showshortdescription=='Show'&&/*#__PURE__*/React.createElement("div",{"class":"col-lg-12 col-md-12 p-md-0"},/*#__PURE__*/React.createElement(Accordion,{allowMultipleExpanded:true,allowZeroExpanded:true},/*#__PURE__*/React.createElement(AccordionItem,null,/*#__PURE__*/React.createElement(AccordionItemHeading,null,/*#__PURE__*/React.createElement(AccordionItemButton,null,/*#__PURE__*/React.createElement("div",{"class":"row m-0 w-100"},/*#__PURE__*/React.createElement("div",{className:"col-lg-10 col-md-10 col-sm-10 p-0 d-flex align-items-center"},ShortDescriptionTitle()),/*#__PURE__*/React.createElement("div",{className:"col-lg-2 col-md-2 col-sm-2 p-0"},/*#__PURE__*/React.createElement(AccordionItemState,null,function(state){if(state.expanded==true){return/*#__PURE__*/React.createElement("i",{className:' h-100 d-flex align-items-center justify-content-end '},/*#__PURE__*/React.createElement(FaMinus,{color:sectionproperties.prodCatColor}));}else {return/*#__PURE__*/React.createElement("i",{className:' h-100 d-flex align-items-center justify-content-end '},/*#__PURE__*/React.createElement(FaPlus,{color:sectionproperties.prodCatColor}));}}))))),/*#__PURE__*/React.createElement(AccordionItemPanel,{className:"p-0"},/*#__PURE__*/React.createElement("div",{"class":"col-lg-12 pl-3 pr-3 mt-3"},/*#__PURE__*/React.createElement("p",{className:'m-0 p-0 wordbreak',style:{textAlign:langdetect=='en'?'left':'right',color:sectionproperties.prodCatColor},dangerouslySetInnerHTML:{__html:langdetect=='en'?fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer78=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer78===void 0||(_fetchProductInfoQuer78=_fetchProductInfoQuer78.data)===null||_fetchProductInfoQuer78===void 0||(_fetchProductInfoQuer78=_fetchProductInfoQuer78.productinfo)===null||_fetchProductInfoQuer78===void 0?void 0:_fetchProductInfoQuer78.short_description_en:fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer79=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer79===void 0||(_fetchProductInfoQuer79=_fetchProductInfoQuer79.data)===null||_fetchProductInfoQuer79===void 0||(_fetchProductInfoQuer79=_fetchProductInfoQuer79.productinfo)===null||_fetchProductInfoQuer79===void 0?void 0:_fetchProductInfoQuer79.short_description_ar}})))))),sectionproperties.descriptionstyle=='Style 2'&&sectionproperties.showshortdescription=='Show'&&/*#__PURE__*/React.createElement("div",{"class":"col-lg-12 col-md-12 my-3 p-md-0"},/*#__PURE__*/React.createElement("hr",{"class":"m-0"})),sectionproperties.descriptionstyle=='Style 2'&&(authdetailsContext===null||authdetailsContext===void 0||(_authdetailsContext$i22=authdetailsContext.instinfo)===null||_authdetailsContext$i22===void 0?void 0:_authdetailsContext$i22.contactinfo.instid)!='6852e5ed44e14'&&/*#__PURE__*/React.createElement("div",{"class":sectionproperties.eviewssectionstyle=='In Collapse'?'col-lg-12 col-md-12 p-md-0':'col-lg-12 col-md-12 p-md-0 mb-3',style:{display:sectionproperties.showfirstpolicy=='Hide'&&sectionproperties.showsecondpolicy=='Hide'?'none':'flex'}},/*#__PURE__*/React.createElement(Accordion,{allowMultipleExpanded:true,allowZeroExpanded:true},/*#__PURE__*/React.createElement(AccordionItem,null,/*#__PURE__*/React.createElement(AccordionItemHeading,null,/*#__PURE__*/React.createElement(AccordionItemButton,null,/*#__PURE__*/React.createElement("div",{"class":"row m-0 w-100"},/*#__PURE__*/React.createElement("div",{className:"col-lg-10 col-md-10 col-sm-10 p-0 d-flex align-items-center justify-content-start"},/*#__PURE__*/React.createElement("p",{"class":"m-0 p-0 ",style:{textAlign:langdetect=='en'?'left':'right',fontWeight:sectionproperties.prodCatFontWeight,color:sectionproperties.prodCatColor,fontSize:sectionproperties.prodCatFontSize+'px'}},langdetect=='en'?sectionproperties.policiestitleen:sectionproperties.policiestitlear)),/*#__PURE__*/React.createElement("div",{className:"col-lg-2 col-md-2 col-sm-2 p-0"},/*#__PURE__*/React.createElement(AccordionItemState,null,function(state){if(state.expanded==true){return/*#__PURE__*/React.createElement("i",{className:' h-100 d-flex align-items-center justify-content-end '},/*#__PURE__*/React.createElement(FaMinus,{color:sectionproperties.prodCatColor}));}else {return/*#__PURE__*/React.createElement("i",{className:' h-100 d-flex align-items-center justify-content-end '},/*#__PURE__*/React.createElement(FaPlus,{color:sectionproperties.prodCatColor}));}}))))),/*#__PURE__*/React.createElement(AccordionItemPanel,{className:"p-0"},sectionproperties.showfirstpolicy=='Show'&&/*#__PURE__*/React.createElement("div",{"class":"col-lg-12 p-0 mb-3 d-flex flex-row text-start align-items-center mt-3"},/*#__PURE__*/React.createElement("i",{"class":"h-100 allcentered mx-2"},/*#__PURE__*/React.createElement(FiBox$1,{size:15,style:{color:sectionproperties.prodCatColor}})),/*#__PURE__*/React.createElement("p",{"class":"m-0 p-0 text-uppercase",style:{textAlign:langdetect=='en'?'left':'right',fontWeight:sectionproperties.prodCatFontWeight,color:sectionproperties.prodCatColor,fontSize:'14px'}},langdetect=='en'?(_returnpolicyobj=returnpolicyobj('Shipping Policy'))===null||_returnpolicyobj===void 0?void 0:_returnpolicyobj.policypagename_en:(_returnpolicyobj2=returnpolicyobj('Shipping Policy'))===null||_returnpolicyobj2===void 0?void 0:_returnpolicyobj2.policypagename_ar)),sectionproperties.showfirstpolicy=='Show'&&/*#__PURE__*/React.createElement("div",{"class":"col-lg-12 p-0 mb-4 px-4"},/*#__PURE__*/React.createElement("p",{className:' m-0 p-0 wordbreak ',style:{textAlign:langdetect=='en'?'left':'right',fontWeight:sectionproperties.prodCatFontWeight,color:sectionproperties.prodCatColor,fontSize:'15px'},dangerouslySetInnerHTML:{__html:langdetect=='en'?(_returnpolicyobj3=returnpolicyobj('Shipping Policy'))===null||_returnpolicyobj3===void 0?void 0:_returnpolicyobj3.policysummary_en:(_returnpolicyobj4=returnpolicyobj('Shipping Policy'))===null||_returnpolicyobj4===void 0?void 0:_returnpolicyobj4.policysummary_ar}})),sectionproperties.showfirstpolicy=='Show'&&/*#__PURE__*/React.createElement("div",{"class":"col-lg-12 p-0 mb-4 px-4"},/*#__PURE__*/React.createElement("p",{className:' m-0 p-0 wordbreak cursor-pointer ',style:{textAlign:langdetect=='en'?'left':'right',textDecoration:'underline',color:sectionproperties.prodCatColor},onClick:function onClick(){routingcountext(StaticPagesLinksContext.ShippingPolicy);}},"SEE MORE")),/*#__PURE__*/React.createElement("div",{"class":"col-lg-12 p-0 mb-3 d-flex flex-row text-start align-items-center"},/*#__PURE__*/React.createElement("i",{"class":"h-100 allcentered mx-2"},/*#__PURE__*/React.createElement(RiArrowGoBackLine,{size:15,style:{color:sectionproperties.prodCatColor}})),/*#__PURE__*/React.createElement("p",{"class":"m-0 p-0 text-uppercase",style:{textAlign:langdetect=='en'?'left':'right',fontWeight:sectionproperties.prodCatFontWeight,color:sectionproperties.prodCatColor,fontSize:'14px'}},langdetect=='en'?(_returnpolicyobj5=returnpolicyobj('Refund Policy'))===null||_returnpolicyobj5===void 0?void 0:_returnpolicyobj5.policypagename_en:(_returnpolicyobj6=returnpolicyobj('Refund Policy'))===null||_returnpolicyobj6===void 0?void 0:_returnpolicyobj6.policypagename_ar)),/*#__PURE__*/React.createElement("div",{"class":"col-lg-12 p-0 mb-4 px-4"},/*#__PURE__*/React.createElement("p",{className:' m-0 p-0 wordbreak ',style:{textAlign:langdetect=='en'?'left':'right',fontWeight:sectionproperties.prodCatFontWeight,color:sectionproperties.prodCatColor,fontSize:'15px'},dangerouslySetInnerHTML:{__html:langdetect=='en'?(_returnpolicyobj7=returnpolicyobj('Refund Policy'))===null||_returnpolicyobj7===void 0?void 0:_returnpolicyobj7.policysummary_en:(_returnpolicyobj8=returnpolicyobj('Refund Policy'))===null||_returnpolicyobj8===void 0?void 0:_returnpolicyobj8.policysummary_ar}})),/*#__PURE__*/React.createElement("div",{"class":"col-lg-12 p-0 mb-4 px-4"},/*#__PURE__*/React.createElement("p",{className:' m-0 p-0 wordbreak cursor-pointer ',style:{textAlign:langdetect=='en'?'left':'right',textDecoration:'underline',color:sectionproperties.prodCatColor},onClick:function onClick(){routingcountext(StaticPagesLinksContext.RefundPolicy);}},"SEE MORE")))))),sectionproperties.descriptionstyle=='Style 2'&&sectionproperties.reviewssectionstyle=='In Collapse'&&/*#__PURE__*/React.createElement("div",{"class":"col-lg-12 col-md-12 my-3 p-md-0"},/*#__PURE__*/React.createElement("hr",{"class":"m-0"})),sectionproperties.descriptionstyle=='Style 2'&&sectionproperties.reviewssectionstyle=='In Collapse'&&/*#__PURE__*/React.createElement("div",{"class":"col-lg-12 col-md-12 p-md-0"},/*#__PURE__*/React.createElement(Accordion,{allowMultipleExpanded:true,allowZeroExpanded:true},/*#__PURE__*/React.createElement(AccordionItem,null,/*#__PURE__*/React.createElement(AccordionItemHeading,null,/*#__PURE__*/React.createElement(AccordionItemButton,null,/*#__PURE__*/React.createElement("div",{"class":"row m-0 w-100"},/*#__PURE__*/React.createElement("div",{className:"col-lg-10 col-md-10 col-sm-10 p-0 d-flex align-items-center"},/*#__PURE__*/React.createElement("p",{"class":"m-0",style:{textAlign:langdetect=='en'?'left':'right',fontWeight:sectionproperties.prodCatFontWeight,color:sectionproperties.prodCatColor,fontSize:sectionproperties.prodCatFontSize+'px'}},langdetect=='en'?'REVIEWS':'التقييمات')),/*#__PURE__*/React.createElement("div",{className:"col-lg-2 col-md-2 col-sm-2 p-0"},/*#__PURE__*/React.createElement(AccordionItemState,null,function(state){if(state.expanded==true){return/*#__PURE__*/React.createElement("i",{className:' h-100 d-flex align-items-center justify-content-end '},/*#__PURE__*/React.createElement(FaMinus,{color:sectionproperties.prodCatColor}));}else {return/*#__PURE__*/React.createElement("i",{className:' h-100 d-flex align-items-center justify-content-end '},/*#__PURE__*/React.createElement(FaPlus,{color:sectionproperties.prodCatColor}));}}))))),/*#__PURE__*/React.createElement(AccordionItemPanel,{className:"p-0"},/*#__PURE__*/React.createElement("div",{"class":"col-lg-12 pl-3 pr-3 mt-3"},/*#__PURE__*/React.createElement(ProductReviews,{actions:_objectSpread$2F(_objectSpread$2F({},actions),{},{productinfo_cssstyles:productinfo_cssstyles,sectionproperties:sectionproperties,srcfrom:'collapsepinfo'})// actions={props.actions}
4362
+ },sectionproperties.showvisa=='Show'&&/*#__PURE__*/React.createElement("div",{className:'mx-3 allcentered',style:{width:'60px',height:'40px'}},/*#__PURE__*/React.createElement("img",{src:'https://tabex-co.com/storage/StaticImages/visa.png',style:{maxWidth:'100%',maxHeight:'100%'}})),sectionproperties.showmastercard=='Show'&&/*#__PURE__*/React.createElement("div",{className:'mx-3 allcentered',style:{width:'50px',height:'40px'}},/*#__PURE__*/React.createElement("img",{src:'https://tabex-co.com/storage/StaticImages/mastercard.png',style:{maxWidth:'100%',maxHeight:'100%'}})),sectionproperties.showfawry=='Show'&&/*#__PURE__*/React.createElement("div",{className:'mx-3 allcentered',style:{width:'70px',height:'40px'}},/*#__PURE__*/React.createElement("img",{src:'https://tabex-co.com/storage/StaticImages/fawry.png',style:{maxWidth:'100%',maxHeight:'100%'}})),sectionproperties.showmeeza=='Show'&&/*#__PURE__*/React.createElement("div",{className:'mx-3 allcentered',style:{width:'50px',height:'40px'}},/*#__PURE__*/React.createElement("img",{src:'https://tabex-co.com/storage/StaticImages/meezaimage.png',style:{maxWidth:'100%',maxHeight:'100%'}}))),sectionproperties.storeinfoposition=='Below Information'&&props.actions.srcfromprops!='templatedraftrouter'&&/*#__PURE__*/React.createElement("div",{"class":"row m-0 w-100 mt-3",style:{overflow:'hidden'}},StoreInfoprops('belowinfo'))))),sectionproperties.descriptionposition=='Under CTA'&&sectionproperties.prodCatShow=='Show'&&/*#__PURE__*/React.createElement("div",{"class":"col-lg-12 p-0 mt-2"},/*#__PURE__*/React.createElement("div",{"class":"row m-0 w-100"},/*#__PURE__*/React.createElement("div",{"class":"col-lg-12 p-0 mb-2 "},/*#__PURE__*/React.createElement("p",{"class":"m-0 p-0",style:{textAlign:langdetect=='en'?'left':'right',fontWeight:sectionproperties.prodCatFontWeight,color:sectionproperties.prodCatColor,fontSize:sectionproperties.prodCatFontSize+'px'}},langdetect=='en'?sectionproperties.descriptionContentEn:sectionproperties.descriptionContentAr)),/*#__PURE__*/React.createElement("div",{"class":"col-lg-12 p-0"},/*#__PURE__*/React.createElement(DescriptionContent,{actions:props.actions,srcfromprops:'undername'})))),sectionproperties.descriptionstyle=='Style 2'&&/*#__PURE__*/React.createElement("div",{"class":"col-lg-12 p-md-0"},/*#__PURE__*/React.createElement("hr",{"class":"my-3"})),sectionproperties.showfeatures=='Show'&&sectionproperties.featuresposition!='Under Name'&&sectionproperties.featuresposition!='Under Description'&&sectionproperties.featurestyle!='Table'&&/*#__PURE__*/React.createElement("div",{"class":"col-lg-12 text-start p-md-0"},/*#__PURE__*/React.createElement("div",{className:"row m-0 w-100"},fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer74=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer74===void 0||(_fetchProductInfoQuer74=_fetchProductInfoQuer74.data)===null||_fetchProductInfoQuer74===void 0||(_fetchProductInfoQuer74=_fetchProductInfoQuer74.productinfo)===null||_fetchProductInfoQuer74===void 0||(_fetchProductInfoQuer74=_fetchProductInfoQuer74.productfeatures)===null||_fetchProductInfoQuer74===void 0?void 0:_fetchProductInfoQuer74.map(function(fitem,findex){return/*#__PURE__*/React.createElement("div",{"class":' col-md-12 p-0 mb-3 mt-2 col-lg-'+sectionproperties.featuresnumcols},/*#__PURE__*/React.createElement("div",{"class":"row m-0 w-100 text-start"},/*#__PURE__*/React.createElement("div",{"class":"col-lg-12 text-start mb-3 text-uppercase p-0"},/*#__PURE__*/React.createElement("div",{style:{width:'20px'},"class":langdetect=='en'?'mr-2':'ml-2'},/*#__PURE__*/React.createElement(Imagekitimagecomp,{urlEndpoint:ikimagecredcontext===null||ikimagecredcontext===void 0?void 0:ikimagecredcontext.ikimageendpoint,publicKey:ikimagecredcontext===null||ikimagecredcontext===void 0?void 0:ikimagecredcontext.ikimagepublickey,path:fitem===null||fitem===void 0?void 0:fitem.feature_image_url,loading:"lazy",style:{maxWidth:'100%',maxHeight:'100%'}})),/*#__PURE__*/React.createElement("p",{"class":"m-0 p-0",style:{color:sectionproperties.featurecolor,fontWeight:sectionproperties.featurefontweight,fontSize:sectionproperties.featurefontsize}},langdetect=='en'?fitem===null||fitem===void 0?void 0:fitem.name_en:fitem===null||fitem===void 0?void 0:fitem.name_ar)),/*#__PURE__*/React.createElement("div",{"class":"col-lg-12 text-start text-capitalize"},/*#__PURE__*/React.createElement("p",{"class":"m-0 p-0",style:{color:sectionproperties.featurevaluecolor,fontWeight:sectionproperties.featurevaluefontweight,fontSize:sectionproperties.featurevaluefontsize}},langdetect=='en'?fitem===null||fitem===void 0?void 0:fitem.value_en:fitem===null||fitem===void 0?void 0:fitem.value_ar))));}))),sectionproperties.showsizeguidebtn=='Show'&&sizeguideimage.length!=0&&(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer75=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer75===void 0||(_fetchProductInfoQuer75=_fetchProductInfoQuer75.data)===null||_fetchProductInfoQuer75===void 0||(_fetchProductInfoQuer75=_fetchProductInfoQuer75.productinfo)===null||_fetchProductInfoQuer75===void 0?void 0:_fetchProductInfoQuer75.hasvariants)==0&&/*#__PURE__*/React.createElement("div",{"class":"col-12 text-start mt-3"},/*#__PURE__*/React.createElement("p",{"class":productinfo_cssstyles.sizeguidebtn+' m-0 p-0 cursor-pointer mb-auto ',onClick:function onClick(){setopensizeguidemodal(true);}},langdetect=='en'?sectionproperties.sizeguidecontentenglish:sectionproperties.sizeguidecontentarabic)),sectionproperties.showsizeguidebtn=='Show'&&sizeguideimage.length!=0&&(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer76=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer76===void 0||(_fetchProductInfoQuer76=_fetchProductInfoQuer76.data)===null||_fetchProductInfoQuer76===void 0||(_fetchProductInfoQuer76=_fetchProductInfoQuer76.productinfo)===null||_fetchProductInfoQuer76===void 0?void 0:_fetchProductInfoQuer76.hasvariants)==0&&/*#__PURE__*/React.createElement("div",{"class":"col-lg-12 col-md-12 my-3 p-md-0"},/*#__PURE__*/React.createElement("hr",{"class":"m-0"})),sectionproperties.descriptionstyle=='Style 2'&&/*#__PURE__*/React.createElement("div",{"class":sectionproperties.showsizeguidebtn=='Show'&&sizeguideimage.length!=0&&(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer77=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer77===void 0||(_fetchProductInfoQuer77=_fetchProductInfoQuer77.data)===null||_fetchProductInfoQuer77===void 0||(_fetchProductInfoQuer77=_fetchProductInfoQuer77.productinfo)===null||_fetchProductInfoQuer77===void 0?void 0:_fetchProductInfoQuer77.hasvariants)==0?'col-lg-12 col-md-12 p-md-0':'col-lg-12 col-md-12 p-md-0 mt-3'},sectionproperties.descriptioncollapseopen=='Yes'&&/*#__PURE__*/React.createElement(Accordion,{allowMultipleExpanded:true,allowZeroExpanded:true,preExpanded:[0]},DescriptionAccordion()),sectionproperties.descriptioncollapseopen!='Yes'&&/*#__PURE__*/React.createElement(Accordion,{allowMultipleExpanded:true,allowZeroExpanded:true},DescriptionAccordion())),sectionproperties.descriptionstyle=='Style 2'&&/*#__PURE__*/React.createElement("div",{"class":"col-lg-12 col-md-12 my-3 p-md-0"},/*#__PURE__*/React.createElement("hr",{"class":"m-0"})),sectionproperties.descriptionstyle=='Style 2'&&sectionproperties.showshortdescription=='Show'&&/*#__PURE__*/React.createElement("div",{"class":"col-lg-12 col-md-12 p-md-0"},/*#__PURE__*/React.createElement(Accordion,{allowMultipleExpanded:true,allowZeroExpanded:true},/*#__PURE__*/React.createElement(AccordionItem,null,/*#__PURE__*/React.createElement(AccordionItemHeading,null,/*#__PURE__*/React.createElement(AccordionItemButton,null,/*#__PURE__*/React.createElement("div",{"class":"row m-0 w-100"},/*#__PURE__*/React.createElement("div",{className:"col-lg-10 col-md-10 col-sm-10 p-0 d-flex align-items-center"},ShortDescriptionTitle()),/*#__PURE__*/React.createElement("div",{className:"col-lg-2 col-md-2 col-sm-2 p-0"},/*#__PURE__*/React.createElement(AccordionItemState,null,function(state){if(state.expanded==true){return/*#__PURE__*/React.createElement("i",{className:' h-100 d-flex align-items-center justify-content-end '},/*#__PURE__*/React.createElement(FaMinus,{color:sectionproperties.prodCatColor}));}else {return/*#__PURE__*/React.createElement("i",{className:' h-100 d-flex align-items-center justify-content-end '},/*#__PURE__*/React.createElement(FaPlus,{color:sectionproperties.prodCatColor}));}}))))),/*#__PURE__*/React.createElement(AccordionItemPanel,{className:"p-0"},/*#__PURE__*/React.createElement("div",{"class":"col-lg-12 pl-3 pr-3 mt-3"},/*#__PURE__*/React.createElement("p",{className:'m-0 p-0 wordbreak',style:{textAlign:langdetect=='en'?'left':'right',color:sectionproperties.prodCatColor},dangerouslySetInnerHTML:{__html:langdetect=='en'?fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer78=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer78===void 0||(_fetchProductInfoQuer78=_fetchProductInfoQuer78.data)===null||_fetchProductInfoQuer78===void 0||(_fetchProductInfoQuer78=_fetchProductInfoQuer78.productinfo)===null||_fetchProductInfoQuer78===void 0?void 0:_fetchProductInfoQuer78.short_description_en:fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer79=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer79===void 0||(_fetchProductInfoQuer79=_fetchProductInfoQuer79.data)===null||_fetchProductInfoQuer79===void 0||(_fetchProductInfoQuer79=_fetchProductInfoQuer79.productinfo)===null||_fetchProductInfoQuer79===void 0?void 0:_fetchProductInfoQuer79.short_description_ar}})))))),sectionproperties.descriptionstyle=='Style 2'&&sectionproperties.showshortdescription=='Show'&&/*#__PURE__*/React.createElement("div",{"class":"col-lg-12 col-md-12 my-3 p-md-0"},/*#__PURE__*/React.createElement("hr",{"class":"m-0"})),sectionproperties.descriptionstyle=='Style 2'&&(authdetailsContext===null||authdetailsContext===void 0||(_authdetailsContext$i24=authdetailsContext.instinfo)===null||_authdetailsContext$i24===void 0?void 0:_authdetailsContext$i24.contactinfo.instid)!='6852e5ed44e14'&&/*#__PURE__*/React.createElement("div",{"class":sectionproperties.eviewssectionstyle=='In Collapse'?'col-lg-12 col-md-12 p-md-0':'col-lg-12 col-md-12 p-md-0 mb-3',style:{display:sectionproperties.showfirstpolicy=='Hide'&&sectionproperties.showsecondpolicy=='Hide'?'none':'flex'}},/*#__PURE__*/React.createElement(Accordion,{allowMultipleExpanded:true,allowZeroExpanded:true},/*#__PURE__*/React.createElement(AccordionItem,null,/*#__PURE__*/React.createElement(AccordionItemHeading,null,/*#__PURE__*/React.createElement(AccordionItemButton,null,/*#__PURE__*/React.createElement("div",{"class":"row m-0 w-100"},/*#__PURE__*/React.createElement("div",{className:"col-lg-10 col-md-10 col-sm-10 p-0 d-flex align-items-center justify-content-start"},/*#__PURE__*/React.createElement("p",{"class":"m-0 p-0 ",style:{textAlign:langdetect=='en'?'left':'right',fontWeight:sectionproperties.prodCatFontWeight,color:sectionproperties.prodCatColor,fontSize:sectionproperties.prodCatFontSize+'px'}},langdetect=='en'?sectionproperties.policiestitleen:sectionproperties.policiestitlear)),/*#__PURE__*/React.createElement("div",{className:"col-lg-2 col-md-2 col-sm-2 p-0"},/*#__PURE__*/React.createElement(AccordionItemState,null,function(state){if(state.expanded==true){return/*#__PURE__*/React.createElement("i",{className:' h-100 d-flex align-items-center justify-content-end '},/*#__PURE__*/React.createElement(FaMinus,{color:sectionproperties.prodCatColor}));}else {return/*#__PURE__*/React.createElement("i",{className:' h-100 d-flex align-items-center justify-content-end '},/*#__PURE__*/React.createElement(FaPlus,{color:sectionproperties.prodCatColor}));}}))))),/*#__PURE__*/React.createElement(AccordionItemPanel,{className:"p-0"},sectionproperties.showfirstpolicy=='Show'&&/*#__PURE__*/React.createElement("div",{"class":"col-lg-12 p-0 mb-3 d-flex flex-row text-start align-items-center mt-3"},/*#__PURE__*/React.createElement("i",{"class":"h-100 allcentered mx-2"},/*#__PURE__*/React.createElement(FiBox$1,{size:15,style:{color:sectionproperties.prodCatColor}})),/*#__PURE__*/React.createElement("p",{"class":"m-0 p-0 text-uppercase",style:{textAlign:langdetect=='en'?'left':'right',fontWeight:sectionproperties.prodCatFontWeight,color:sectionproperties.prodCatColor,fontSize:'14px'}},langdetect=='en'?(_returnpolicyobj=returnpolicyobj('Shipping Policy'))===null||_returnpolicyobj===void 0?void 0:_returnpolicyobj.policypagename_en:(_returnpolicyobj2=returnpolicyobj('Shipping Policy'))===null||_returnpolicyobj2===void 0?void 0:_returnpolicyobj2.policypagename_ar)),sectionproperties.showfirstpolicy=='Show'&&/*#__PURE__*/React.createElement("div",{"class":"col-lg-12 p-0 mb-4 px-4"},/*#__PURE__*/React.createElement("p",{className:' m-0 p-0 wordbreak ',style:{textAlign:langdetect=='en'?'left':'right',fontWeight:sectionproperties.prodCatFontWeight,color:sectionproperties.prodCatColor,fontSize:'15px'},dangerouslySetInnerHTML:{__html:langdetect=='en'?(_returnpolicyobj3=returnpolicyobj('Shipping Policy'))===null||_returnpolicyobj3===void 0?void 0:_returnpolicyobj3.policysummary_en:(_returnpolicyobj4=returnpolicyobj('Shipping Policy'))===null||_returnpolicyobj4===void 0?void 0:_returnpolicyobj4.policysummary_ar}})),sectionproperties.showfirstpolicy=='Show'&&/*#__PURE__*/React.createElement("div",{"class":"col-lg-12 p-0 mb-4 px-4"},/*#__PURE__*/React.createElement("p",{className:' m-0 p-0 wordbreak cursor-pointer ',style:{textAlign:langdetect=='en'?'left':'right',textDecoration:'underline',color:sectionproperties.prodCatColor},onClick:function onClick(){routingcountext(StaticPagesLinksContext.ShippingPolicy);}},"SEE MORE")),/*#__PURE__*/React.createElement("div",{"class":"col-lg-12 p-0 mb-3 d-flex flex-row text-start align-items-center"},/*#__PURE__*/React.createElement("i",{"class":"h-100 allcentered mx-2"},/*#__PURE__*/React.createElement(RiArrowGoBackLine,{size:15,style:{color:sectionproperties.prodCatColor}})),/*#__PURE__*/React.createElement("p",{"class":"m-0 p-0 text-uppercase",style:{textAlign:langdetect=='en'?'left':'right',fontWeight:sectionproperties.prodCatFontWeight,color:sectionproperties.prodCatColor,fontSize:'14px'}},langdetect=='en'?(_returnpolicyobj5=returnpolicyobj('Refund Policy'))===null||_returnpolicyobj5===void 0?void 0:_returnpolicyobj5.policypagename_en:(_returnpolicyobj6=returnpolicyobj('Refund Policy'))===null||_returnpolicyobj6===void 0?void 0:_returnpolicyobj6.policypagename_ar)),/*#__PURE__*/React.createElement("div",{"class":"col-lg-12 p-0 mb-4 px-4"},/*#__PURE__*/React.createElement("p",{className:' m-0 p-0 wordbreak ',style:{textAlign:langdetect=='en'?'left':'right',fontWeight:sectionproperties.prodCatFontWeight,color:sectionproperties.prodCatColor,fontSize:'15px'},dangerouslySetInnerHTML:{__html:langdetect=='en'?(_returnpolicyobj7=returnpolicyobj('Refund Policy'))===null||_returnpolicyobj7===void 0?void 0:_returnpolicyobj7.policysummary_en:(_returnpolicyobj8=returnpolicyobj('Refund Policy'))===null||_returnpolicyobj8===void 0?void 0:_returnpolicyobj8.policysummary_ar}})),/*#__PURE__*/React.createElement("div",{"class":"col-lg-12 p-0 mb-4 px-4"},/*#__PURE__*/React.createElement("p",{className:' m-0 p-0 wordbreak cursor-pointer ',style:{textAlign:langdetect=='en'?'left':'right',textDecoration:'underline',color:sectionproperties.prodCatColor},onClick:function onClick(){routingcountext(StaticPagesLinksContext.RefundPolicy);}},"SEE MORE")))))),sectionproperties.descriptionstyle=='Style 2'&&sectionproperties.reviewssectionstyle=='In Collapse'&&/*#__PURE__*/React.createElement("div",{"class":"col-lg-12 col-md-12 my-3 p-md-0"},/*#__PURE__*/React.createElement("hr",{"class":"m-0"})),sectionproperties.descriptionstyle=='Style 2'&&sectionproperties.reviewssectionstyle=='In Collapse'&&/*#__PURE__*/React.createElement("div",{"class":"col-lg-12 col-md-12 p-md-0"},/*#__PURE__*/React.createElement(Accordion,{allowMultipleExpanded:true,allowZeroExpanded:true},/*#__PURE__*/React.createElement(AccordionItem,null,/*#__PURE__*/React.createElement(AccordionItemHeading,null,/*#__PURE__*/React.createElement(AccordionItemButton,null,/*#__PURE__*/React.createElement("div",{"class":"row m-0 w-100"},/*#__PURE__*/React.createElement("div",{className:"col-lg-10 col-md-10 col-sm-10 p-0 d-flex align-items-center"},/*#__PURE__*/React.createElement("p",{"class":"m-0",style:{textAlign:langdetect=='en'?'left':'right',fontWeight:sectionproperties.prodCatFontWeight,color:sectionproperties.prodCatColor,fontSize:sectionproperties.prodCatFontSize+'px'}},langdetect=='en'?'REVIEWS':'التقييمات')),/*#__PURE__*/React.createElement("div",{className:"col-lg-2 col-md-2 col-sm-2 p-0"},/*#__PURE__*/React.createElement(AccordionItemState,null,function(state){if(state.expanded==true){return/*#__PURE__*/React.createElement("i",{className:' h-100 d-flex align-items-center justify-content-end '},/*#__PURE__*/React.createElement(FaMinus,{color:sectionproperties.prodCatColor}));}else {return/*#__PURE__*/React.createElement("i",{className:' h-100 d-flex align-items-center justify-content-end '},/*#__PURE__*/React.createElement(FaPlus,{color:sectionproperties.prodCatColor}));}}))))),/*#__PURE__*/React.createElement(AccordionItemPanel,{className:"p-0"},/*#__PURE__*/React.createElement("div",{"class":"col-lg-12 pl-3 pr-3 mt-3"},/*#__PURE__*/React.createElement(ProductReviews,{actions:_objectSpread$2F(_objectSpread$2F({},actions),{},{productinfo_cssstyles:productinfo_cssstyles,sectionproperties:sectionproperties,srcfrom:'collapsepinfo'})// actions={props.actions}
4043
4363
  // srcfromprops={'collapsepinfo'}
4044
- })))))),(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer80=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer80===void 0||(_fetchProductInfoQuer80=_fetchProductInfoQuer80.data)===null||_fetchProductInfoQuer80===void 0||(_fetchProductInfoQuer80=_fetchProductInfoQuer80.productinfo)===null||_fetchProductInfoQuer80===void 0?void 0:_fetchProductInfoQuer80.isproducttobesold)==1&&sectionproperties.showtotalsection=='Show'&&/*#__PURE__*/React.createElement("div",{className:"col-lg-12 p-0 mb-3"},TotalSection()),sectionproperties.availabilitybtnposition=='Bottom'&&sectionproperties.show_availability=='Show'&&(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer81=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer81===void 0||(_fetchProductInfoQuer81=_fetchProductInfoQuer81.data)===null||_fetchProductInfoQuer81===void 0||(_fetchProductInfoQuer81=_fetchProductInfoQuer81.productinfo)===null||_fetchProductInfoQuer81===void 0?void 0:_fetchProductInfoQuer81.isproducttobesold)==1&&/*#__PURE__*/React.createElement("div",{className:"col-lg-12 p-0 mb-3 mt-2"},/*#__PURE__*/React.createElement("div",{style:{width:sectionproperties.availability_width+'px',height:sectionproperties.availability_height+'px',background:fetchProductInfoQueryContext.data.data.productinfo.quantavailtype=='nolimit'?sectionproperties.availability_availablebgcolor:sectionproperties.availability_limitedbgcolor,borderRadius:sectionproperties.availability_borderrradius+'px',border:fetchProductInfoQueryContext.data.data.productinfo.quantavailtype=='nolimit'?sectionproperties.availability_borderwidtth+'px solid '+sectionproperties.availability_availabletextcolor:sectionproperties.availability_borderwidtth+'px solid '+sectionproperties.availability_limitedtextcolor,justifyContent:sectionproperties.availabilitytextalignment=='Centered'?'center':'start'},className:"d-flex align-items-center pl-3 pr-3"},/*#__PURE__*/React.createElement("p",{className:"m-0 p-0 font-weight-500 wordbreak",style:{color:fetchProductInfoQueryContext.data.data.productinfo.quantavailtype=='nolimit'?sectionproperties.availability_availabletextcolor:sectionproperties.availability_limitedtextcolor,fontSize:sectionproperties.availability_fontsize+'px',textAlign:sectionproperties.availabilitytextalignment=='Centered'?'center':langdetect=='en'?'left':'right'}},/*#__PURE__*/React.createElement("span",{style:{color:sectionproperties.availability_textcolor},className:"font-weight-600"},lang.availability,":"),/*#__PURE__*/React.createElement("span",{className:"ml-1 mr-1"},fetchProductInfoQueryContext.data.data.productinfo.quantavailtype=='nolimit'?lang.available:lang.limitedquantity)))),sectionproperties.showShareButton=='Show'&&sectionproperties.sharebtnstyle=='Style 1'&&(authdetailsContext===null||authdetailsContext===void 0||(_authdetailsContext$i23=authdetailsContext.instinfo)===null||_authdetailsContext$i23===void 0?void 0:_authdetailsContext$i23.contactinfo.instid)!='69a3437faf64f'&&/*#__PURE__*/React.createElement("div",{"class":"col-lg-12 p-0"},/*#__PURE__*/React.createElement("hr",{"class":"mb-3 mt-3",style:{borderColor:'#eee'}})),sectionproperties.showShareButton=='Show'&&sectionproperties.sharebtnstyle=='Style 1'&&/*#__PURE__*/React.createElement("div",{"class":"col-lg-12 mt-2 p-0"},ShareButtonsContainer()))))),sectionproperties.storeinfoposition=='On The Right'&&/*#__PURE__*/React.createElement("div",{className:(authdetailsContext===null||authdetailsContext===void 0||(_authdetailsContext$i24=authdetailsContext.instinfo)===null||_authdetailsContext$i24===void 0?void 0:_authdetailsContext$i24.contactinfo.instid)=='69a3437faf64f'?langdetect=='en'?'col-lg-3 pr-0 border-md-none p-md-0 pl-md-0 pr-md-0':'col-lg-3 pl-0 border-md-none md-0 pl-md-0 pr-md-0':langdetect=='en'?'col-lg-3 pr-0 border-md-none p-md-0 pt-4 pl-md-0 pr-md-0':'col-lg-3 pl-0 border-md-none md-0 pt-4 pl-md-0 pr-md-0',style:{borderLeft:(authdetailsContext===null||authdetailsContext===void 0||(_authdetailsContext$i25=authdetailsContext.instinfo)===null||_authdetailsContext$i25===void 0?void 0:_authdetailsContext$i25.contactinfo.instid)=='69a3437faf64f'?0:langdetect=='en'?'1px solid #eee':0,borderRight:(authdetailsContext===null||authdetailsContext===void 0||(_authdetailsContext$i26=authdetailsContext.instinfo)===null||_authdetailsContext$i26===void 0?void 0:_authdetailsContext$i26.contactinfo.instid)=='69a3437faf64f'?0:langdetect=='ar'?'1px solid #eee':0,display:sectionproperties.showfooterphonenumber=='Hide'&&sectionproperties.showfooteremail=='Hide'&&sectionproperties.showstoreinfo2=='Hide'&&sectionproperties.showstoreinfo1=='Hide'?'none':'block'}},/*#__PURE__*/React.createElement("div",{"class":(authdetailsContext===null||authdetailsContext===void 0||(_authdetailsContext$i27=authdetailsContext.instinfo)===null||_authdetailsContext$i27===void 0?void 0:_authdetailsContext$i27.contactinfo.instid)=='69a3437faf64f'?' px-3 px-msd-0 row m-0 w-100 py-4':' row m-0 w-100',style:{paddingLeft:langdetect=='en'?'.5em':0,paddingRight:langdetect=='ar'?'.5rem':0,background:(authdetailsContext===null||authdetailsContext===void 0||(_authdetailsContext$i28=authdetailsContext.instinfo)===null||_authdetailsContext$i28===void 0?void 0:_authdetailsContext$i28.contactinfo.instid)=='69a3437faf64f'?'#fff':'transparent',borderRadius:10,border:(authdetailsContext===null||authdetailsContext===void 0||(_authdetailsContext$i29=authdetailsContext.instinfo)===null||_authdetailsContext$i29===void 0?void 0:_authdetailsContext$i29.contactinfo.instid)=='69a3437faf64f'?'1px solid #eee':0}},StoreInfoprops(),sectionproperties.showsizeguidebtn=='Show'&&sizeguideimage.length!=0&&(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer82=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer82===void 0||(_fetchProductInfoQuer82=_fetchProductInfoQuer82.data)===null||_fetchProductInfoQuer82===void 0||(_fetchProductInfoQuer82=_fetchProductInfoQuer82.productinfo)===null||_fetchProductInfoQuer82===void 0?void 0:_fetchProductInfoQuer82.hasvariants)==0&&/*#__PURE__*/React.createElement("div",{"class":"col-lg-12 allcentered mb-2 p-sm-0 mt-2"},/*#__PURE__*/React.createElement("button",{"class":productinfo_cssstyles.sizeguidebtn,style:{width:'100%',height:50,border:'1px solid '+sectionproperties.footerinfotext_color,borderRadius:sectionproperties.storeinfobtnborderradius+'px',textDecoration:'none',fontSize:18,fontWeight:600},onClick:function onClick(){setopensizeguidemodal(true);}},langdetect=='en'?sectionproperties.sizeguidecontentenglish:sectionproperties.sizeguidecontentarabic)),sectionproperties.showShareButton=='Show'&&sectionproperties.sharebtnstyle=='Style 2'&&/*#__PURE__*/React.createElement("div",{"class":"col-lg-12 p-0"},/*#__PURE__*/React.createElement("hr",{"class":"my-3"})),sectionproperties.showShareButton=='Show'&&sectionproperties.sharebtnstyle=='Style 2'&&/*#__PURE__*/React.createElement("div",{"class":"col-lg-12 p-0 allcentered mt-2"},ShareButtonsContainer())),sectionproperties.showShareButton=='Show'&&sectionproperties.sharebtnstyle=='Style 1'&&(authdetailsContext===null||authdetailsContext===void 0||(_authdetailsContext$i30=authdetailsContext.instinfo)===null||_authdetailsContext$i30===void 0?void 0:_authdetailsContext$i30.contactinfo.instid)=='69a3437faf64f'&&/*#__PURE__*/React.createElement("div",{"class":(authdetailsContext===null||authdetailsContext===void 0||(_authdetailsContext$i31=authdetailsContext.instinfo)===null||_authdetailsContext$i31===void 0?void 0:_authdetailsContext$i31.contactinfo.instid)=='69a3437faf64f'?' px-3 px-md-0 row m-0 w-100 py-4 mt-4':' row m-0 w-100',style:{paddingLeft:langdetect=='en'?'.5em':0,paddingRight:langdetect=='ar'?'.5rem':0,background:(authdetailsContext===null||authdetailsContext===void 0||(_authdetailsContext$i32=authdetailsContext.instinfo)===null||_authdetailsContext$i32===void 0?void 0:_authdetailsContext$i32.contactinfo.instid)=='69a3437faf64f'?'#fff':'transparent',borderRadius:10,border:(authdetailsContext===null||authdetailsContext===void 0||(_authdetailsContext$i33=authdetailsContext.instinfo)===null||_authdetailsContext$i33===void 0?void 0:_authdetailsContext$i33.contactinfo.instid)=='69a3437faf64f'?'1px solid #eee':0}},ShareButtonsContainer())))),(authdetailsContext===null||authdetailsContext===void 0||(_authdetailsContext$i34=authdetailsContext.instinfo)===null||_authdetailsContext$i34===void 0?void 0:_authdetailsContext$i34.contactinfo.instid)=='68ee3bb0c9b16'&&/*#__PURE__*/React.createElement("div",{"class":"my-4 col-lg-12 text-start p-0"},ProductFeaturesTable())),Object.keys(sectionproperties).length!=0&&(authdetailsContext===null||authdetailsContext===void 0||(_authdetailsContext$i35=authdetailsContext.instinfo)===null||_authdetailsContext$i35===void 0?void 0:_authdetailsContext$i35.contactinfo.instid)=='684fdf3f9e856'&&/*#__PURE__*/React.createElement("div",{"class":"".concat(productinfo_cssstyles.cardcontainer)+' row ml-0 mr-0 w-100 pl-md-2 pr-md-2 px-1025-1 ',style:{minHeight:sectionproperties.height+'vh'}},/*#__PURE__*/React.createElement("div",{"class":"col-lg-12 p-0"},/*#__PURE__*/React.createElement("div",{"class":sectionproperties.infomarionsectionpaddinghorizontal==0?'row mx-0 w-100':'row mx-0 w-100'// class={sectionproperties.infomarionsectionpaddinghorizontal == 0 ? 'row mx-0 w-100' : 'row mx-0 w-100 px-md-3'}
4364
+ })))))),(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer80=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer80===void 0||(_fetchProductInfoQuer80=_fetchProductInfoQuer80.data)===null||_fetchProductInfoQuer80===void 0||(_fetchProductInfoQuer80=_fetchProductInfoQuer80.productinfo)===null||_fetchProductInfoQuer80===void 0?void 0:_fetchProductInfoQuer80.isproducttobesold)==1&&sectionproperties.showtotalsection=='Show'&&/*#__PURE__*/React.createElement("div",{className:"col-lg-12 p-0 mb-3"},TotalSection()),sectionproperties.availabilitybtnposition=='Bottom'&&sectionproperties.show_availability=='Show'&&(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer81=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer81===void 0||(_fetchProductInfoQuer81=_fetchProductInfoQuer81.data)===null||_fetchProductInfoQuer81===void 0||(_fetchProductInfoQuer81=_fetchProductInfoQuer81.productinfo)===null||_fetchProductInfoQuer81===void 0?void 0:_fetchProductInfoQuer81.isproducttobesold)==1&&/*#__PURE__*/React.createElement("div",{className:"col-lg-12 p-0 mb-3 mt-2"},/*#__PURE__*/React.createElement("div",{style:{width:sectionproperties.availability_width+'px',height:sectionproperties.availability_height+'px',background:fetchProductInfoQueryContext.data.data.productinfo.quantavailtype=='nolimit'?sectionproperties.availability_availablebgcolor:sectionproperties.availability_limitedbgcolor,borderRadius:sectionproperties.availability_borderrradius+'px',border:fetchProductInfoQueryContext.data.data.productinfo.quantavailtype=='nolimit'?sectionproperties.availability_borderwidtth+'px solid '+sectionproperties.availability_availabletextcolor:sectionproperties.availability_borderwidtth+'px solid '+sectionproperties.availability_limitedtextcolor,justifyContent:sectionproperties.availabilitytextalignment=='Centered'?'center':'start'},className:"d-flex align-items-center pl-3 pr-3"},/*#__PURE__*/React.createElement("p",{className:"m-0 p-0 font-weight-500 wordbreak",style:{color:fetchProductInfoQueryContext.data.data.productinfo.quantavailtype=='nolimit'?sectionproperties.availability_availabletextcolor:sectionproperties.availability_limitedtextcolor,fontSize:sectionproperties.availability_fontsize+'px',textAlign:sectionproperties.availabilitytextalignment=='Centered'?'center':langdetect=='en'?'left':'right'}},/*#__PURE__*/React.createElement("span",{style:{color:sectionproperties.availability_textcolor},className:"font-weight-600"},lang.availability,":"),/*#__PURE__*/React.createElement("span",{className:"ml-1 mr-1"},fetchProductInfoQueryContext.data.data.productinfo.quantavailtype=='nolimit'?lang.available:lang.limitedquantity)))),sectionproperties.showShareButton=='Show'&&sectionproperties.sharebtnstyle=='Style 1'&&(authdetailsContext===null||authdetailsContext===void 0||(_authdetailsContext$i25=authdetailsContext.instinfo)===null||_authdetailsContext$i25===void 0?void 0:_authdetailsContext$i25.contactinfo.instid)!='69a3437faf64f'&&/*#__PURE__*/React.createElement("div",{"class":"col-lg-12 p-0"},/*#__PURE__*/React.createElement("hr",{"class":"mb-3 mt-3",style:{borderColor:'#eee'}})),sectionproperties.showShareButton=='Show'&&sectionproperties.sharebtnstyle=='Style 1'&&/*#__PURE__*/React.createElement("div",{"class":"col-lg-12 mt-2 p-0"},ShareButtonsContainer()))))),sectionproperties.storeinfoposition=='On The Right'&&/*#__PURE__*/React.createElement("div",{className:(authdetailsContext===null||authdetailsContext===void 0||(_authdetailsContext$i26=authdetailsContext.instinfo)===null||_authdetailsContext$i26===void 0?void 0:_authdetailsContext$i26.contactinfo.instid)=='69a3437faf64f'?langdetect=='en'?'col-lg-3 pr-0 border-md-none p-md-0 pl-md-0 pr-md-0':'col-lg-3 pl-0 border-md-none md-0 pl-md-0 pr-md-0':langdetect=='en'?'col-lg-3 pr-0 border-md-none p-md-0 pt-4 pl-md-0 pr-md-0':'col-lg-3 pl-0 border-md-none md-0 pt-4 pl-md-0 pr-md-0',style:{borderLeft:(authdetailsContext===null||authdetailsContext===void 0||(_authdetailsContext$i27=authdetailsContext.instinfo)===null||_authdetailsContext$i27===void 0?void 0:_authdetailsContext$i27.contactinfo.instid)=='69a3437faf64f'?0:langdetect=='en'?'1px solid #eee':0,borderRight:(authdetailsContext===null||authdetailsContext===void 0||(_authdetailsContext$i28=authdetailsContext.instinfo)===null||_authdetailsContext$i28===void 0?void 0:_authdetailsContext$i28.contactinfo.instid)=='69a3437faf64f'?0:langdetect=='ar'?'1px solid #eee':0,display:sectionproperties.showfooterphonenumber=='Hide'&&sectionproperties.showfooteremail=='Hide'&&sectionproperties.showstoreinfo2=='Hide'&&sectionproperties.showstoreinfo1=='Hide'?'none':'block'}},/*#__PURE__*/React.createElement("div",{"class":(authdetailsContext===null||authdetailsContext===void 0||(_authdetailsContext$i29=authdetailsContext.instinfo)===null||_authdetailsContext$i29===void 0?void 0:_authdetailsContext$i29.contactinfo.instid)=='69a3437faf64f'?' px-3 px-msd-0 row m-0 w-100 py-4':' row m-0 w-100',style:{paddingLeft:langdetect=='en'?'.5em':0,paddingRight:langdetect=='ar'?'.5rem':0,background:(authdetailsContext===null||authdetailsContext===void 0||(_authdetailsContext$i30=authdetailsContext.instinfo)===null||_authdetailsContext$i30===void 0?void 0:_authdetailsContext$i30.contactinfo.instid)=='69a3437faf64f'?'#fff':'transparent',borderRadius:10,border:(authdetailsContext===null||authdetailsContext===void 0||(_authdetailsContext$i31=authdetailsContext.instinfo)===null||_authdetailsContext$i31===void 0?void 0:_authdetailsContext$i31.contactinfo.instid)=='69a3437faf64f'?'1px solid #eee':0}},StoreInfoprops(),sectionproperties.showsizeguidebtn=='Show'&&sizeguideimage.length!=0&&(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer82=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer82===void 0||(_fetchProductInfoQuer82=_fetchProductInfoQuer82.data)===null||_fetchProductInfoQuer82===void 0||(_fetchProductInfoQuer82=_fetchProductInfoQuer82.productinfo)===null||_fetchProductInfoQuer82===void 0?void 0:_fetchProductInfoQuer82.hasvariants)==0&&/*#__PURE__*/React.createElement("div",{"class":"col-lg-12 allcentered mb-2 p-sm-0 mt-2"},/*#__PURE__*/React.createElement("button",{"class":productinfo_cssstyles.sizeguidebtn,style:{width:'100%',height:50,border:'1px solid '+sectionproperties.footerinfotext_color,borderRadius:sectionproperties.storeinfobtnborderradius+'px',textDecoration:'none',fontSize:18,fontWeight:600},onClick:function onClick(){setopensizeguidemodal(true);}},langdetect=='en'?sectionproperties.sizeguidecontentenglish:sectionproperties.sizeguidecontentarabic)),sectionproperties.showShareButton=='Show'&&sectionproperties.sharebtnstyle=='Style 2'&&/*#__PURE__*/React.createElement("div",{"class":"col-lg-12 p-0"},/*#__PURE__*/React.createElement("hr",{"class":"my-3"})),sectionproperties.showShareButton=='Show'&&sectionproperties.sharebtnstyle=='Style 2'&&/*#__PURE__*/React.createElement("div",{"class":"col-lg-12 p-0 allcentered mt-2"},ShareButtonsContainer())),sectionproperties.showShareButton=='Show'&&sectionproperties.sharebtnstyle=='Style 1'&&(authdetailsContext===null||authdetailsContext===void 0||(_authdetailsContext$i32=authdetailsContext.instinfo)===null||_authdetailsContext$i32===void 0?void 0:_authdetailsContext$i32.contactinfo.instid)=='69a3437faf64f'&&/*#__PURE__*/React.createElement("div",{"class":(authdetailsContext===null||authdetailsContext===void 0||(_authdetailsContext$i33=authdetailsContext.instinfo)===null||_authdetailsContext$i33===void 0?void 0:_authdetailsContext$i33.contactinfo.instid)=='69a3437faf64f'?' px-3 px-md-0 row m-0 w-100 py-4 mt-4':' row m-0 w-100',style:{paddingLeft:langdetect=='en'?'.5em':0,paddingRight:langdetect=='ar'?'.5rem':0,background:(authdetailsContext===null||authdetailsContext===void 0||(_authdetailsContext$i34=authdetailsContext.instinfo)===null||_authdetailsContext$i34===void 0?void 0:_authdetailsContext$i34.contactinfo.instid)=='69a3437faf64f'?'#fff':'transparent',borderRadius:10,border:(authdetailsContext===null||authdetailsContext===void 0||(_authdetailsContext$i35=authdetailsContext.instinfo)===null||_authdetailsContext$i35===void 0?void 0:_authdetailsContext$i35.contactinfo.instid)=='69a3437faf64f'?'1px solid #eee':0}},ShareButtonsContainer())))),(authdetailsContext===null||authdetailsContext===void 0||(_authdetailsContext$i36=authdetailsContext.instinfo)===null||_authdetailsContext$i36===void 0?void 0:_authdetailsContext$i36.contactinfo.instid)=='68ee3bb0c9b16'&&/*#__PURE__*/React.createElement("div",{"class":"my-4 col-lg-12 text-start p-0"},ProductFeaturesTable())),Object.keys(sectionproperties).length!=0&&(authdetailsContext===null||authdetailsContext===void 0||(_authdetailsContext$i37=authdetailsContext.instinfo)===null||_authdetailsContext$i37===void 0?void 0:_authdetailsContext$i37.contactinfo.instid)=='684fdf3f9e856'&&/*#__PURE__*/React.createElement("div",{"class":"".concat(productinfo_cssstyles.cardcontainer)+' row ml-0 mr-0 w-100 pl-md-2 pr-md-2 px-1025-1 ',style:{minHeight:sectionproperties.height+'vh'}},/*#__PURE__*/React.createElement("div",{"class":"col-lg-12 p-0"},/*#__PURE__*/React.createElement("div",{"class":sectionproperties.infomarionsectionpaddinghorizontal==0?'row mx-0 w-100':'row mx-0 w-100'// class={sectionproperties.infomarionsectionpaddinghorizontal == 0 ? 'row mx-0 w-100' : 'row mx-0 w-100 px-md-3'}
4045
4365
  ,style:{marginTop:sectionproperties.gallerystyle=='Style 2'?'3rem':0,paddingLeft:sectionproperties.infomarionsectionpaddinghorizontal+'px',paddingRight:sectionproperties.infomarionsectionpaddinghorizontal+'px'}},/*#__PURE__*/React.createElement("div",{className:sectionproperties.showfooterphonenumber=='Hide'&&sectionproperties.showfooteremail=='Hide'&&sectionproperties.showstoreinfo2=='Hide'&&sectionproperties.showstoreinfo1=='Hide'?'col-lg-12':sectionproperties.storeinfoposition=='Below Information'?'col-lg-12':langdetect=='en'?'col-lg-9 pl-0 mb-md-3 p-md-0':'col-lg-9 pr-0 mb-md-3 p-md-0',style:{marginBottom:sectionproperties.evencols=='Yes'?'60px':0}},/*#__PURE__*/React.createElement("div",{className:'row m-0 w-100'},sectionproperties.gallerystyle=='Style 1'&&/*#__PURE__*/React.createElement("div",{className:' col-xl-8 col-lg-6 col-md-12 col-sm-12 mb-md-2 pl-1 pr-1 evencols '},/*#__PURE__*/React.createElement("div",{className:sectionproperties.maximizegalleryfullscreen=='Yes'?' col-lg-12 p-0 maximize ':'col-lg-12 p-0',style:{width:'100%'}},productimagesarray.length==0&&/*#__PURE__*/React.createElement("div",{style:{width:'100%',height:'30vh',background:'#eee',borderRadius:10}},/*#__PURE__*/React.createElement("i",{"class":"h-100 allcentered text-light"},/*#__PURE__*/React.createElement(FiLayers,{size:26}))),productimagesarray.length!=0&&/*#__PURE__*/React.createElement("div",{"class":"row m-0 w-100 d-md-none"},/*#__PURE__*/React.createElement("div",{"class":"col-lg-6 p-0",style:{background:'#f1ede7'}},/*#__PURE__*/React.createElement(ImageGallery,{items:productimagesarray.slice(0,1)// thumbnailPosition={sectionproperties.thumbnailposition == 'Bottom' ? 'bottom' : 'left'}
4046
4366
  ,showNav:false,showPlayButton:false,showFullscreenButton:false,startIndex:currentshowingimageindex,onSlide:function onSlide(d){setcurrentshowingimageindex(d);},showThumbnails:false,ref:function ref(el){return setGallery(el);},onClick:function onClick(){if(sectionproperties.showgalleryfullscreenbtn=='Yes'){toggleFullScreen();}}})),/*#__PURE__*/React.createElement("div",{"class":"col-lg-6 p-0"},/*#__PURE__*/React.createElement(ImageGallery,{items:productimagesarray.slice(1,2)// thumbnailPosition={sectionproperties.thumbnailposition == 'Bottom' ? 'bottom' : 'left'}
4047
4367
  ,showNav:false,showPlayButton:false,showFullscreenButton:false,startIndex:currentshowingimageindex,onSlide:function onSlide(d){setcurrentshowingimageindex(d);},showThumbnails:false,ref:function ref(el){return setGallery(el);},onClick:function onClick(){if(sectionproperties.showgalleryfullscreenbtn=='Yes'){toggleFullScreen();}}})),(productimagesarray===null||productimagesarray===void 0?void 0:productimagesarray.length)>2&&/*#__PURE__*/React.createElement("div",{"class":"col-lg-6 p-0"},/*#__PURE__*/React.createElement(ImageGallery,{items:productimagesarray.slice(2,3)// thumbnailPosition={sectionproperties.thumbnailposition == 'Bottom' ? 'bottom' : 'left'}
4048
4368
  ,showNav:false,showPlayButton:false,showFullscreenButton:false,startIndex:currentshowingimageindex,onSlide:function onSlide(d){setcurrentshowingimageindex(d);},showThumbnails:false,ref:function ref(el){return setGallery(el);},onClick:function onClick(){if(sectionproperties.showgalleryfullscreenbtn=='Yes'){toggleFullScreen();}}})),(productimagesarray===null||productimagesarray===void 0?void 0:productimagesarray.length)>2&&/*#__PURE__*/React.createElement("div",{"class":"col-lg-6 p-0"},/*#__PURE__*/React.createElement(ImageGallery,{items:productimagesarray.slice(3,4)// thumbnailPosition={sectionproperties.thumbnailposition == 'Bottom' ? 'bottom' : 'left'}
4049
4369
  ,showNav:false,showPlayButton:false,showFullscreenButton:false,startIndex:currentshowingimageindex,onSlide:function onSlide(d){setcurrentshowingimageindex(d);},showThumbnails:false,ref:function ref(el){return setGallery(el);},onClick:function onClick(){if(sectionproperties.showgalleryfullscreenbtn=='Yes'){toggleFullScreen();}}}))),productimagesarray.length!=0&&/*#__PURE__*/React.createElement("div",{"class":"w-100 d-none d-md-block"},/*#__PURE__*/React.createElement(ImageGallery,{items:productimagesarray,thumbnailPosition:'bottom',showNav:false,showPlayButton:false,showFullscreenButton:sectionproperties.showgalleryfullscreenbtn=='Yes'?true:false,startIndex:currentshowingimageindex,showThumbnails:sectionproperties.showthumbnail=='Hide'?false:true,onSlide:function onSlide(d){setcurrentshowingimageindex(d);},onClick:function onClick(){}})))),/*#__PURE__*/React.createElement("div",{className:'col-xl-4 col-lg-6 col-md-12 col-sm-12 pl-4 px-md-2'},/*#__PURE__*/React.createElement("div",{className:sectionproperties.evencols=='Yes'?'row m-0 w-100':'row m-0 w-100'},sectionproperties.quantityshow=='Show'&&/*#__PURE__*/React.createElement("div",{"class":"col-lg-12 p-0 text-start"},/*#__PURE__*/React.createElement("p",{"class":"m-0 p-0",style:{fontSize:sectionproperties.quantityfontsize,color:sectionproperties.quantitycolor,fontWeight:sectionproperties.quantityfontweight}},langdetect=='en'?sectionproperties.qtytextinen:sectionproperties.qtytextinar,":",' ',fetchProductInfoQueryContext.data.data.productinfo.currentquantity)),/*#__PURE__*/React.createElement("div",{className:(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer83=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer83===void 0||(_fetchProductInfoQuer83=_fetchProductInfoQuer83.data)===null||_fetchProductInfoQuer83===void 0||(_fetchProductInfoQuer83=_fetchProductInfoQuer83.productinfo)===null||_fetchProductInfoQuer83===void 0?void 0:_fetchProductInfoQuer83.productcanrate)==1?'col-lg-8 col-md-8 col-sm-8 p-0 mb-1 d-flex align-items-center':sectionproperties.btnposition=='Top'?'col-lg-8 col-md-8 col-sm-8 p-0 mb-1 d-flex align-items-center':sectionproperties.availabilitybtnposition=='Top'&&sectionproperties.show_availability=='Show'?'col-lg-8 col-md-8 col-sm-8 p-0 mb-1 d-flex align-items-center':'col-lg-12 p-0 mb-1 d-flex align-items-center',style:{justifyContent:sectionproperties.productnamecentered=='Centered'?'center':'start'}},ProductNameSection()),(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer84=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer84===void 0||(_fetchProductInfoQuer84=_fetchProductInfoQuer84.data)===null||_fetchProductInfoQuer84===void 0||(_fetchProductInfoQuer84=_fetchProductInfoQuer84.productinfo)===null||_fetchProductInfoQuer84===void 0?void 0:_fetchProductInfoQuer84.productcanrate)==1&&sectionproperties.showrating=='Show'&&/*#__PURE__*/React.createElement("div",{className:"col-lg-4 col-md-4 col-sm-4 p-0 mb-1 d-flex justify-content-end align-items-center"},/*#__PURE__*/React.createElement(ReactStars,{count:5,value:fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer85=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer85===void 0||(_fetchProductInfoQuer85=_fetchProductInfoQuer85.data)===null||_fetchProductInfoQuer85===void 0||(_fetchProductInfoQuer85=_fetchProductInfoQuer85.productinfo)===null||_fetchProductInfoQuer85===void 0?void 0:_fetchProductInfoQuer85.productoverallrate,edit:false,size:18,emptyIcon:/*#__PURE__*/React.createElement("i",{className:"far fa-star",style:{color:'#FAB400'}}),halfIcon:/*#__PURE__*/React.createElement("i",{className:"fa fa-star-half-alt style={{ color: '#FAB400' }}"}),filledIcon:/*#__PURE__*/React.createElement("i",{className:"fa fa-star",style:{color:'#FAB400'}}),activeColor:"#ffd700"})),/*#__PURE__*/React.createElement("div",{className:"col-lg-4 col-md-4 col-sm-4 p-0 mb-1 d-flex justify-content-end align-items-center"},sectionproperties.availabilitybtnposition=='Top'&&sectionproperties.show_availability=='Show'&&(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer86=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer86===void 0||(_fetchProductInfoQuer86=_fetchProductInfoQuer86.data)===null||_fetchProductInfoQuer86===void 0||(_fetchProductInfoQuer86=_fetchProductInfoQuer86.productinfo)===null||_fetchProductInfoQuer86===void 0?void 0:_fetchProductInfoQuer86.isproducttobesold)==1&&/*#__PURE__*/React.createElement("div",{style:{width:sectionproperties.availability_width+'px',height:sectionproperties.availability_height+'px',background:fetchProductInfoQueryContext.data.data.productinfo.quantavailtype=='nolimit'?sectionproperties.availability_availablebgcolor:sectionproperties.availability_limitedbgcolor,borderRadius:sectionproperties.availability_borderrradius+'px',border:fetchProductInfoQueryContext.data.data.productinfo.quantavailtype=='nolimit'?sectionproperties.availability_borderwidtth+'px solid '+sectionproperties.availability_availabletextcolor:sectionproperties.availability_borderwidtth+'px solid '+sectionproperties.availability_limitedtextcolor,justifyContent:sectionproperties.availabilitytextalignment=='Centered'?'center':'start'},className:"d-flex align-items-center pl-3 pr-3 mx-2"},/*#__PURE__*/React.createElement("p",{className:"m-0 p-0 font-weight-500 wordbreak",style:{color:fetchProductInfoQueryContext.data.data.productinfo.quantavailtype=='nolimit'?sectionproperties.availability_availabletextcolor:sectionproperties.availability_limitedtextcolor,fontSize:sectionproperties.availability_fontsize+'px',textAlign:sectionproperties.availabilitytextalignment=='Centered'?'center':langdetect=='en'?'left':'right'}},/*#__PURE__*/React.createElement("span",{className:"ml-1 mr-1"},fetchProductInfoQueryContext.data.data.productinfo.quantavailtype=='nolimit'?lang.available:lang.limitedquantity))),sectionproperties.btnposition=='Top'&&sectionproperties.favBtnShow=='Show'&&/*#__PURE__*/React.createElement("div",{className:productinfo_cssstyles.wishlist_btn+' d-flex justify-content-center align-items-center mb-sm-2 ',onClick:function onClick(){addtofavoritescontext(fetchProductInfoQueryContext.data.data.productinfo.productid);setIsFavorite(!IsFavorite);},style:{background:fetchProductInfoQueryContext.data.data.productinfo.IsFavExists==true?sectionproperties.activebgcolor:''}},/*#__PURE__*/React.createElement("i",{className:"h-100 d-flex align-items-center justify-content-center"},IsFavorite&&/*#__PURE__*/React.createElement("i",{className:"h-100 d-flex align-items-center justify-content-center"},sectionproperties.faviconshape=='Star Shape'&&/*#__PURE__*/React.createElement(AiFillStar$1,{size:sectionproperties.favBtnIconfontsize,style:{color:sectionproperties.activefaviconcolor}}),sectionproperties.faviconshape=='Heart Shape'&&/*#__PURE__*/React.createElement(FaHeart$1,{size:sectionproperties.favBtnIconfontsize,style:{color:sectionproperties.activefaviconcolor}})),!IsFavorite&&/*#__PURE__*/React.createElement("i",{className:"h-100 d-flex align-items-center justify-content-center"},sectionproperties.faviconshape=='Star Shape'&&/*#__PURE__*/React.createElement(AiOutlineStar,{size:sectionproperties.favBtnIconfontsize}),sectionproperties.faviconshape=='Heart Shape'&&/*#__PURE__*/React.createElement(FaRegHeart,{size:sectionproperties.favBtnIconfontsize}))))),sectionproperties.showSKU=='Show'&&sectionproperties.skuposition=='Top'&&/*#__PURE__*/React.createElement("div",{"class":'col-lg-12 p-0 my-3 d-flex justify-content-start'},ProductsSKUContainer()),sectionproperties.showfeatures=='Show'&&sectionproperties.featuresposition=='Under Name'&&sectionproperties.featurestyle!='Table'&&/*#__PURE__*/React.createElement("div",{"class":"col-lg-12 text-start p-0"},/*#__PURE__*/React.createElement("div",{className:"row m-0 w-100"},fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer87=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer87===void 0||(_fetchProductInfoQuer87=_fetchProductInfoQuer87.data)===null||_fetchProductInfoQuer87===void 0||(_fetchProductInfoQuer87=_fetchProductInfoQuer87.productinfo)===null||_fetchProductInfoQuer87===void 0||(_fetchProductInfoQuer87=_fetchProductInfoQuer87.productfeatures)===null||_fetchProductInfoQuer87===void 0?void 0:_fetchProductInfoQuer87.map(function(fitem,findex){return/*#__PURE__*/React.createElement("div",{"class":' col-md-12 p-0 mb-3 mt-2 col-lg-'+sectionproperties.featuresnumcols},/*#__PURE__*/React.createElement("div",{"class":"row m-0 w-100 text-start"},/*#__PURE__*/React.createElement("div",{"class":"col-lg-12 text-start mb-3 text-uppercase p-0"},/*#__PURE__*/React.createElement("div",{style:{width:'20px'},"class":langdetect=='en'?'mr-2':'ml-2'},/*#__PURE__*/React.createElement(Imagekitimagecomp,{urlEndpoint:ikimagecredcontext===null||ikimagecredcontext===void 0?void 0:ikimagecredcontext.ikimageendpoint,publicKey:ikimagecredcontext===null||ikimagecredcontext===void 0?void 0:ikimagecredcontext.ikimagepublickey,path:fitem===null||fitem===void 0?void 0:fitem.feature_image_url,loading:"lazy",style:{maxWidth:'100%',maxHeight:'100%'}})),/*#__PURE__*/React.createElement("p",{"class":"m-0 p-0",style:{color:sectionproperties.featurecolor,fontWeight:sectionproperties.featurefontweight,fontSize:sectionproperties.featurefontsize}},langdetect=='en'?fitem===null||fitem===void 0?void 0:fitem.name_en:fitem===null||fitem===void 0?void 0:fitem.name_ar)),/*#__PURE__*/React.createElement("div",{"class":"col-lg-12 text-start text-capitalize"},/*#__PURE__*/React.createElement("p",{"class":"m-0 p-0",style:{color:sectionproperties.featurevaluecolor,fontWeight:sectionproperties.featurevaluefontweight,fontSize:sectionproperties.featurevaluefontsize}},langdetect=='en'?fitem===null||fitem===void 0?void 0:fitem.value_en:fitem===null||fitem===void 0?void 0:fitem.value_ar))));}))),sectionproperties.showshortdescription=='Show'&&sectionproperties.descriptionposition=='Under Name'&&sectionproperties.descriptionstyle=='Style 1'&&/*#__PURE__*/React.createElement("div",{"class":"col-lg-12 p-0"},/*#__PURE__*/React.createElement("div",{"class":"row m-0 w-100"},sectionproperties.showshortdescription=='Show'&&/*#__PURE__*/React.createElement("div",{"class":"col-lg-12 p-0 mb-2"},/*#__PURE__*/React.createElement("p",{style:{textAlign:langdetect=='en'?'left':'right',color:sectionproperties.generaltext_fontColor}},ShortDescriptionTitle())),/*#__PURE__*/React.createElement("div",{"class":"col-lg-12 p-0"},/*#__PURE__*/React.createElement("p",{className:'m-0 p-0 wordbreak',style:{textAlign:langdetect=='en'?'left':'right',color:sectionproperties.prodCatColor},dangerouslySetInnerHTML:{__html:langdetect=='en'?fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer88=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer88===void 0||(_fetchProductInfoQuer88=_fetchProductInfoQuer88.data)===null||_fetchProductInfoQuer88===void 0||(_fetchProductInfoQuer88=_fetchProductInfoQuer88.productinfo)===null||_fetchProductInfoQuer88===void 0?void 0:_fetchProductInfoQuer88.short_description_en:fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer89=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer89===void 0||(_fetchProductInfoQuer89=_fetchProductInfoQuer89.data)===null||_fetchProductInfoQuer89===void 0||(_fetchProductInfoQuer89=_fetchProductInfoQuer89.productinfo)===null||_fetchProductInfoQuer89===void 0?void 0:_fetchProductInfoQuer89.short_description_ar}})))),sectionproperties.showfeatures=='Show'&&sectionproperties.featuresposition=='Under Name'&&sectionproperties.featurestyle=='Table'&&/*#__PURE__*/React.createElement("div",{"class":"col-lg-12 text-start p-md-0"},/*#__PURE__*/React.createElement("div",{"class":"row m-0 w-100"},/*#__PURE__*/React.createElement("div",{"class":"col-lg-12 p-0 my-3"},/*#__PURE__*/React.createElement("p",{className:"m-0 p-0",style:{color:sectionproperties.featurestitlecolor,fontSize:sectionproperties.featurestitlefontsize+'px',fontWeight:600}},langdetect=='en'?sectionproperties.featurestitleen:sectionproperties.featurestitlear)),/*#__PURE__*/React.createElement("div",{className:"col-lg-12 m-0 w-100 p-0"},/*#__PURE__*/React.createElement("table",{className:'table tablevertical'},fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer90=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer90===void 0||(_fetchProductInfoQuer90=_fetchProductInfoQuer90.data)===null||_fetchProductInfoQuer90===void 0||(_fetchProductInfoQuer90=_fetchProductInfoQuer90.productinfo)===null||_fetchProductInfoQuer90===void 0||(_fetchProductInfoQuer90=_fetchProductInfoQuer90.productfeatures)===null||_fetchProductInfoQuer90===void 0?void 0:_fetchProductInfoQuer90.map(function(fitem,findex){return/*#__PURE__*/React.createElement("tr",null,/*#__PURE__*/React.createElement("th",{style:{textTransform:'capitalize',// color: '#000',
4050
- color:sectionproperties.featurecolor,fontWeight:sectionproperties.featurefontweight,fontSize:sectionproperties.featurefontsize}},/*#__PURE__*/React.createElement("div",{"class":"row m-0 d-flex align-items-center"},(fitem===null||fitem===void 0?void 0:fitem.feature_image_url)!=null&&/*#__PURE__*/React.createElement("div",{style:{width:'20px'},"class":langdetect=='en'?'mr-2':'ml-2'},/*#__PURE__*/React.createElement(Imagekitimagecomp,{urlEndpoint:ikimagecredcontext===null||ikimagecredcontext===void 0?void 0:ikimagecredcontext.ikimageendpoint,publicKey:ikimagecredcontext===null||ikimagecredcontext===void 0?void 0:ikimagecredcontext.ikimagepublickey,path:fitem===null||fitem===void 0?void 0:fitem.feature_image_url,loading:"lazy",style:{maxWidth:'100%',maxHeight:'100%'}})),langdetect=='en'?fitem===null||fitem===void 0?void 0:fitem.name_en:fitem===null||fitem===void 0?void 0:fitem.name_ar)),/*#__PURE__*/React.createElement("td",{style:{color:sectionproperties.featurevaluecolor,fontWeight:sectionproperties.featurevaluefontweight,fontSize:sectionproperties.featurevaluefontsize}},langdetect=='en'?fitem===null||fitem===void 0?void 0:fitem.value_en:fitem===null||fitem===void 0?void 0:fitem.value_ar));}))))),sectionproperties.defaultpricingposition=='Under Name'&&(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer91=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer91===void 0||(_fetchProductInfoQuer91=_fetchProductInfoQuer91.data)===null||_fetchProductInfoQuer91===void 0||(_fetchProductInfoQuer91=_fetchProductInfoQuer91.productinfo)===null||_fetchProductInfoQuer91===void 0?void 0:_fetchProductInfoQuer91.isproducttobesold)==1&&/*#__PURE__*/React.createElement(ProductHeaderPricing,{actions:props.actions}),sectionproperties.showmeasurementunit=='Show'&&sectionproperties.measurementunitposition=='Above Name'&&MeasurementUnitSection(),sectionproperties.showfeatures=='Show'&&sectionproperties.featuresposition=='Under Pricing'&&sectionproperties.featurestyle=='Table'&&/*#__PURE__*/React.createElement("div",{"class":"col-lg-12 text-start p-0"},ProductFeaturesTable()),langdetect=='en'&&sectionproperties.showshortdescription=='Show'&&(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer92=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer92===void 0||(_fetchProductInfoQuer92=_fetchProductInfoQuer92.data)===null||_fetchProductInfoQuer92===void 0||(_fetchProductInfoQuer92=_fetchProductInfoQuer92.productinfo)===null||_fetchProductInfoQuer92===void 0?void 0:_fetchProductInfoQuer92.short_description_en)!=null&&sectionproperties.descriptionstyle=='Style 1'&&/*#__PURE__*/React.createElement("div",{"class":"col-lg-12 p-0"},/*#__PURE__*/React.createElement("div",{"class":"col-lg-12 p-0 d-flex justify-content-start"},/*#__PURE__*/React.createElement("p",{className:'text-black m-0 p-0 wordbreak',style:{textAlign:langdetect=='en'?'left':'right'},dangerouslySetInnerHTML:{__html:fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer93=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer93===void 0||(_fetchProductInfoQuer93=_fetchProductInfoQuer93.data)===null||_fetchProductInfoQuer93===void 0||(_fetchProductInfoQuer93=_fetchProductInfoQuer93.productinfo)===null||_fetchProductInfoQuer93===void 0?void 0:_fetchProductInfoQuer93.short_description_en}}))),langdetect=='ar'&&sectionproperties.showshortdescription=='Show'&&(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer94=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer94===void 0||(_fetchProductInfoQuer94=_fetchProductInfoQuer94.data)===null||_fetchProductInfoQuer94===void 0||(_fetchProductInfoQuer94=_fetchProductInfoQuer94.productinfo)===null||_fetchProductInfoQuer94===void 0?void 0:_fetchProductInfoQuer94.short_description_ar)!=null&&sectionproperties.descriptionstyle=='Style 1'&&/*#__PURE__*/React.createElement("div",{"class":"col-lg-12 p-0"},/*#__PURE__*/React.createElement("div",{"class":"col-lg-12 p-0 d-flex justify-content-start"},/*#__PURE__*/React.createElement("p",{className:'text-black m-0 p-0 wordbreak',style:{textAlign:langdetect=='en'?'left':'right'},dangerouslySetInnerHTML:{__html:fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer95=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer95===void 0||(_fetchProductInfoQuer95=_fetchProductInfoQuer95.data)===null||_fetchProductInfoQuer95===void 0||(_fetchProductInfoQuer95=_fetchProductInfoQuer95.productinfo)===null||_fetchProductInfoQuer95===void 0?void 0:_fetchProductInfoQuer95.short_description_ar}}))),(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer96=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer96===void 0||(_fetchProductInfoQuer96=_fetchProductInfoQuer96.data)===null||_fetchProductInfoQuer96===void 0||(_fetchProductInfoQuer96=_fetchProductInfoQuer96.productinfo)===null||_fetchProductInfoQuer96===void 0?void 0:_fetchProductInfoQuer96.vendorinfo)!=null&&sectionproperties.showvendor=='Show'&&/*#__PURE__*/React.createElement("div",{"class":"col-lg-12 p-0 d-flex justify-content-start mt-2 mb-2"},/*#__PURE__*/React.createElement("p",{"class":"m-0 p-0",style:{color:'#000',cursor:sectionproperties.vendornameclickable=='Yes'?'pointer':''},onClick:function onClick(){if(sectionproperties.vendornameclickable=='Yes'){var _fetchProductInfoQuer97;routingcountext(StaticPagesLinksContext.GeneralProductsComponent,true,encodeURIComponent(JSON.stringify({vendorsarr:[fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer97=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer97===void 0||(_fetchProductInfoQuer97=_fetchProductInfoQuer97.data)===null||_fetchProductInfoQuer97===void 0||(_fetchProductInfoQuer97=_fetchProductInfoQuer97.productinfo)===null||_fetchProductInfoQuer97===void 0||(_fetchProductInfoQuer97=_fetchProductInfoQuer97.vendorinfo)===null||_fetchProductInfoQuer97===void 0?void 0:_fetchProductInfoQuer97.vendorid]})));}}},langdetect=='en'?sectionproperties.vendortitleen:sectionproperties.vendortitlear,":",' ',/*#__PURE__*/React.createElement("span",{style:{fontWeight:600}},fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer98=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer98===void 0||(_fetchProductInfoQuer98=_fetchProductInfoQuer98.data)===null||_fetchProductInfoQuer98===void 0||(_fetchProductInfoQuer98=_fetchProductInfoQuer98.productinfo)===null||_fetchProductInfoQuer98===void 0||(_fetchProductInfoQuer98=_fetchProductInfoQuer98.vendorinfo)===null||_fetchProductInfoQuer98===void 0?void 0:_fetchProductInfoQuer98.vendorname))),sectionproperties.showSKU=='Show'&&sectionproperties.skuposition=='Bottom'&&/*#__PURE__*/React.createElement("div",{"class":sectionproperties.deliverytimeshow=='Show'&&(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer99=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer99===void 0||(_fetchProductInfoQuer99=_fetchProductInfoQuer99.data)===null||_fetchProductInfoQuer99===void 0||(_fetchProductInfoQuer99=_fetchProductInfoQuer99.productinfo)===null||_fetchProductInfoQuer99===void 0?void 0:_fetchProductInfoQuer99.deliverydatetext)!=null?'col-lg-12 p-0 mb-2 d-flex justify-content-start':'col-lg-12 p-0 mb-3 d-flex justify-content-start'},ProductsSKUContainer()),(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer100=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer100===void 0||(_fetchProductInfoQuer100=_fetchProductInfoQuer100.data)===null||_fetchProductInfoQuer100===void 0||(_fetchProductInfoQuer100=_fetchProductInfoQuer100.productinfo)===null||_fetchProductInfoQuer100===void 0?void 0:_fetchProductInfoQuer100.currentquantity)<1&&sectionproperties.showoutofstock=='Show'&&(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer101=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer101===void 0||(_fetchProductInfoQuer101=_fetchProductInfoQuer101.data)===null||_fetchProductInfoQuer101===void 0||(_fetchProductInfoQuer101=_fetchProductInfoQuer101.productinfo)===null||_fetchProductInfoQuer101===void 0?void 0:_fetchProductInfoQuer101.quantavailtype)=='limit'&&(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer102=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer102===void 0||(_fetchProductInfoQuer102=_fetchProductInfoQuer102.data)===null||_fetchProductInfoQuer102===void 0||(_fetchProductInfoQuer102=_fetchProductInfoQuer102.productinfo)===null||_fetchProductInfoQuer102===void 0?void 0:_fetchProductInfoQuer102.hasvariants)==0&&/*#__PURE__*/React.createElement("div",{"class":"col-lg-12 p-0 d-flex justify-content-start mb-2"},/*#__PURE__*/React.createElement("div",{"class":"".concat(productinfo_cssstyles.outstockbadge)+' allcentered '},/*#__PURE__*/React.createElement("p",{"class":"m-0 p-0"},langdetect=='en'?sectionproperties.outstock_contenten:sectionproperties.outstock_contentar))),sectionproperties.deliverytimeshow=='Show'&&(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer103=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer103===void 0||(_fetchProductInfoQuer103=_fetchProductInfoQuer103.data)===null||_fetchProductInfoQuer103===void 0||(_fetchProductInfoQuer103=_fetchProductInfoQuer103.productinfo)===null||_fetchProductInfoQuer103===void 0?void 0:_fetchProductInfoQuer103.deliverydatetext)!=null&&/*#__PURE__*/React.createElement("div",{"class":"mb-4 col-lg-12 allcentered",style:{width:'100%',backgroundColor:sectionproperties.deliverytimecontainerBg,paddingLeft:sectionproperties.deliverytimecontainerpaddinghorizontal+'px',paddingRight:sectionproperties.deliverytimecontainerpaddinghorizontal+'px',paddingTop:sectionproperties.deliverytimecontainerpaddingvertical+'px',paddingBottom:sectionproperties.deliverytimecontainerpaddingvertical+'px',border:sectionproperties.deliverytimecontainerborderwidth+'px solid '+sectionproperties.deliverytimecontainerbordercolor,borderRadius:sectionproperties.deliverytimecontainerborderradius+'px',fontSize:sectionproperties.deliverytimecontainerfontsize+'px',fontWeight:sectionproperties.deliverytimecontainerfontWeight,marginTop:15}},/*#__PURE__*/React.createElement("p",{"class":"m-0 p-0 ",style:{textAlign:langdetect=='en'?'left':'right',color:sectionproperties.deliverytimecontainercolor}},sectionproperties.showdeliverytitle=='Show'&&/*#__PURE__*/React.createElement("span",null,langdetect=='en'?sectionproperties.deliverycontent_en:sectionproperties.deliverycontent_ar,": "),' ',fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer104=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer104===void 0||(_fetchProductInfoQuer104=_fetchProductInfoQuer104.data)===null||_fetchProductInfoQuer104===void 0||(_fetchProductInfoQuer104=_fetchProductInfoQuer104.productinfo)===null||_fetchProductInfoQuer104===void 0?void 0:_fetchProductInfoQuer104.deliverydatetext)),sectionproperties.defaultpricingposition!='Under Name'&&(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer105=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer105===void 0||(_fetchProductInfoQuer105=_fetchProductInfoQuer105.data)===null||_fetchProductInfoQuer105===void 0||(_fetchProductInfoQuer105=_fetchProductInfoQuer105.productinfo)===null||_fetchProductInfoQuer105===void 0?void 0:_fetchProductInfoQuer105.isproducttobesold)==1&&/*#__PURE__*/React.createElement(ProductHeaderPricing,{actions:props.actions}),sectionproperties.descriptionposition!='Under Name'&&sectionproperties.descriptionposition=='Top'&&sectionproperties.descriptionstyle=='Style 1'&&sectionproperties.showshortdescription=='Show'&&/*#__PURE__*/React.createElement("div",{"class":"col-lg-12 p-0"},/*#__PURE__*/React.createElement("div",{"class":"row m-0 w-100"},sectionproperties.showshortdescription=='Show'&&/*#__PURE__*/React.createElement("div",{"class":"col-lg-12 p-0 mb-2 "},/*#__PURE__*/React.createElement("p",{style:{textAlign:langdetect=='en'?'left':'right',color:sectionproperties.generaltext_fontColor,fontWeight:700,fontSize:17}},langdetect=='en'?'Description':'التفاصيل')),/*#__PURE__*/React.createElement("div",{"class":"col-lg-12 p-0"},/*#__PURE__*/React.createElement(DescriptionContent,{actions:props.actions,srcfromprops:'undername'})))),/*#__PURE__*/React.createElement(Variantoptions,{actions:props.actions}),/*#__PURE__*/React.createElement(ProductExtras,{actions:props.actions,srcfromprops:'servicestyle2',addtocartfunc:addtocartfunc}),sectionproperties.showextrafield=='Show'&&/*#__PURE__*/React.createElement(ProductExtraFields,{actions:props.actions}),sectionproperties.gallerystyle!='Style 1'&&sectionproperties.prodCatShow=='Show'&&sectionproperties.descriptionposition!='Top'&&/*#__PURE__*/React.createElement(DescriptionContent,{actions:props.actions}),sectionproperties.quantitybtn_show=='Show'&&sectionproperties.cartBtnShow=='Show'&&/*#__PURE__*/React.createElement("div",{className:"col-lg-12 p-0 mb-3"},/*#__PURE__*/React.createElement("hr",{className:"mb-0 mt-2"})),/*#__PURE__*/React.createElement("div",{className:"col-lg-12 p-0 mb-3",style:{display:sectionproperties.quantitybtn_show=='Hide'&&sectionproperties.cartBtnShow=='Hide'?'none':'flex'}},/*#__PURE__*/React.createElement("div",{className:"row mx-0 w-100 d-flex align-items-center",style:{marginTop:sectionproperties.ctabuttnnsmarginvertical+'px',marginBottom:sectionproperties.ctabuttnnsmarginvertical+'px'}},(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer106=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer106===void 0||(_fetchProductInfoQuer106=_fetchProductInfoQuer106.data)===null||_fetchProductInfoQuer106===void 0||(_fetchProductInfoQuer106=_fetchProductInfoQuer106.productinfo)===null||_fetchProductInfoQuer106===void 0?void 0:_fetchProductInfoQuer106.isproducttobesold)==1&&(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer107=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer107===void 0||(_fetchProductInfoQuer107=_fetchProductInfoQuer107.data)===null||_fetchProductInfoQuer107===void 0||(_fetchProductInfoQuer107=_fetchProductInfoQuer107.productinfo)===null||_fetchProductInfoQuer107===void 0?void 0:_fetchProductInfoQuer107.isproducthasquantitychange)==1&&sectionproperties.quantitybtn_show=='Show'&&/*#__PURE__*/React.createElement("div",{className:"col-lg-12 p-0 mb-2 d-flex justofy-content-start"},/*#__PURE__*/React.createElement("p",{className:"m-0 p-0",style:{color:sectionproperties.generaltext_fontColor,fontSize:sectionproperties.generaltext_fontSize+'px',textTransform:sectionproperties.generaltext_textTransform,fontWeight:sectionproperties.generaltext_fontWeight}},langdetect=='en'?sectionproperties.quantitybtnen:sectionproperties.quantitybtnar,":")),/*#__PURE__*/React.createElement("div",{"class":"col-lg-12 p-0"},/*#__PURE__*/React.createElement("div",{"class":"row m-0 w-100 d-flex align-items-center",style:{justifyContent:sectionproperties.cartbtncentered=='Centered'?'center':'start'}},sectionproperties.quantitybtn_show=='Show'&&(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer108=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer108===void 0||(_fetchProductInfoQuer108=_fetchProductInfoQuer108.data)===null||_fetchProductInfoQuer108===void 0||(_fetchProductInfoQuer108=_fetchProductInfoQuer108.productinfo)===null||_fetchProductInfoQuer108===void 0?void 0:_fetchProductInfoQuer108.isproducttobesold)==1&&(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer109=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer109===void 0||(_fetchProductInfoQuer109=_fetchProductInfoQuer109.data)===null||_fetchProductInfoQuer109===void 0||(_fetchProductInfoQuer109=_fetchProductInfoQuer109.productinfo)===null||_fetchProductInfoQuer109===void 0?void 0:_fetchProductInfoQuer109.isproducthasquantitychange)==1&&QuantityButton(),sectionproperties.showfeatures=='Show'&&sectionproperties.featuresposition!='Under Name'&&sectionproperties.featuresposition=='Under Description'&&sectionproperties.featurestyle!='Table'&&/*#__PURE__*/React.createElement("div",{"class":"col-lg-12 text-start p-md-0"},ProductFeaturesArray()),sectionproperties.cartbtnalone=='Besides Other Buttons'&&sectionproperties.cartBtnShow=='Show'&&(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer110=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer110===void 0||(_fetchProductInfoQuer110=_fetchProductInfoQuer110.data)===null||_fetchProductInfoQuer110===void 0||(_fetchProductInfoQuer110=_fetchProductInfoQuer110.productinfo)===null||_fetchProductInfoQuer110===void 0?void 0:_fetchProductInfoQuer110.isproducttobesold)==1&&/*#__PURE__*/React.createElement("button",{className:"".concat(productinfo_cssstyles.cart_btn," ")+' ml-2 mr-2 d-flex align-items-center justify-content-center mb-sm-2 ',onClick:function onClick(){if(fetchProductInfoQueryContext.data.data.productinfo.product_calltoaction=='Call'){var _fetchProductInfoQuer111;window.open('tel:'+((_fetchProductInfoQuer111=fetchProductInfoQueryContext.data.data.productinfo)===null||_fetchProductInfoQuer111===void 0?void 0:_fetchProductInfoQuer111.product_phonenumber),'_blank');}else {if(fetchProductInfoQueryContext.data.data.productinfo.maximumproductquant>=addtocardpayloadobj.quantity&&fetchProductInfoQueryContext.data.data.productinfo.minimumproductquant<=addtocardpayloadobj.quantity){addtocartfunc();}else {NotificationManager.warning('',lang.maximum+': '+fetchProductInfoQueryContext.data.data.productinfo.maximumproductquant+', '+lang.minimum+': '+fetchProductInfoQueryContext.data.data.productinfo.minimumproductquant);}}},disabled:AddtoCartMutationContext.isLoading==true?true:false},!AddtoCartMutationContext.isLoading&&/*#__PURE__*/React.createElement("span",{className:' d-flex align-items-center justify-content-center ',style:{fontWeight:sectionproperties.cartBtnTextfontweight}},/*#__PURE__*/React.createElement("i",{className:langdetect=='en'?'h-100 d-flex align-items-center justify-content-center mr-2':'h-100 d-flex align-items-center justify-content-center ml-2'},sectionproperties.carticonstyle=='Shopping bag 1'&&/*#__PURE__*/React.createElement(FiShoppingBag,{className:"",size:sectionproperties.cartBtn_iconFontSize}),sectionproperties.carticonstyle=='Shopping bag 2'&&/*#__PURE__*/React.createElement(CgShoppingBag,{className:"",size:sectionproperties.cartBtn_iconFontSize}),sectionproperties.carticonstyle=='Shopping bag 3'&&/*#__PURE__*/React.createElement(BsBag,{className:"",size:sectionproperties.cartBtn_iconFontSize}),sectionproperties.carticonstyle=='Shopping bag 4'&&/*#__PURE__*/React.createElement(IoBagHandleOutline,{className:"",size:sectionproperties.cartBtn_iconFontSize}),sectionproperties.carticonstyle=='Shopping cart 1'&&/*#__PURE__*/React.createElement(FiShoppingCart,{className:"",size:sectionproperties.cartBtn_iconFontSize}),sectionproperties.carticonstyle=='Shopping cart 2'&&/*#__PURE__*/React.createElement(MdAddShoppingCart,{size:sectionproperties.cartBtn_iconFontSize})),langdetect=='en'?fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer112=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer112===void 0||(_fetchProductInfoQuer112=_fetchProductInfoQuer112.data)===null||_fetchProductInfoQuer112===void 0||(_fetchProductInfoQuer112=_fetchProductInfoQuer112.productinfo)===null||_fetchProductInfoQuer112===void 0?void 0:_fetchProductInfoQuer112.productactionbuttontext_en:fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer113=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer113===void 0||(_fetchProductInfoQuer113=_fetchProductInfoQuer113.data)===null||_fetchProductInfoQuer113===void 0||(_fetchProductInfoQuer113=_fetchProductInfoQuer113.productinfo)===null||_fetchProductInfoQuer113===void 0?void 0:_fetchProductInfoQuer113.productactionbuttontext_ar),AddtoCartMutationContext.isLoading&&/*#__PURE__*/React.createElement("div",{className:' d-flex align-items-center justify-content-center '},/*#__PURE__*/React.createElement(CircularProgress,{color:sectionproperties.cartBtnTextcolor,width:"20px",height:"20px",duration:"1s"}))),sectionproperties.btnposition=='Bottom'&&sectionproperties.favBtnShow=='Show'&&/*#__PURE__*/React.createElement("div",{className:productinfo_cssstyles.wishlist_btn+' d-flex justify-content-center align-items-center mb-sm-2 ',onClick:function onClick(){addtofavoritescontext(fetchProductInfoQueryContext.data.data.productinfo.productid);setIsFavorite(!IsFavorite);},style:{background:fetchProductInfoQueryContext.data.data.productinfo.IsFavExists==true?sectionproperties.activebgcolor:''}},/*#__PURE__*/React.createElement("i",{className:"h-100 d-flex align-items-center justify-content-center"},IsFavorite&&/*#__PURE__*/React.createElement("i",{className:"h-100 d-flex align-items-center justify-content-center"},sectionproperties.faviconshape=='Star Shape'&&/*#__PURE__*/React.createElement(AiFillStar$1,{size:sectionproperties.favBtnIconfontsize,style:{color:sectionproperties.activefaviconcolor}}),sectionproperties.faviconshape=='Heart Shape'&&/*#__PURE__*/React.createElement(FaHeart$1,{size:sectionproperties.favBtnIconfontsize,style:{color:sectionproperties.activefaviconcolor}})),!IsFavorite&&/*#__PURE__*/React.createElement("i",{className:"h-100 d-flex align-items-center justify-content-center"},sectionproperties.faviconshape=='Star Shape'&&/*#__PURE__*/React.createElement(AiOutlineStar,{size:sectionproperties.favBtnIconfontsize}),sectionproperties.faviconshape=='Heart Shape'&&/*#__PURE__*/React.createElement(FaRegHeart,{size:sectionproperties.favBtnIconfontsize}))),!IsFavorite&&sectionproperties.favBtnTextfontsize!=0&&/*#__PURE__*/React.createElement("p",{"class":"m-0 p-0",style:{fontSize:sectionproperties.favBtnTextfontsize+'px'}},langdetect=='en'?sectionproperties.favbtncontent_en:sectionproperties.favbtncontent_ar),IsFavorite&&sectionproperties.favBtnTextfontsize!=0&&/*#__PURE__*/React.createElement("p",{"class":"m-0 p-0",style:{fontSize:sectionproperties.favBtnTextfontsize+'px'}},langdetect=='en'?sectionproperties.favbtnaddedcontent_en:sectionproperties.favbtnaddedcontent_ar))),sectionproperties.cartbtnalone=='Alone'&&sectionproperties.cartBtnShow=='Show'&&(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer114=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer114===void 0||(_fetchProductInfoQuer114=_fetchProductInfoQuer114.data)===null||_fetchProductInfoQuer114===void 0||(_fetchProductInfoQuer114=_fetchProductInfoQuer114.productinfo)===null||_fetchProductInfoQuer114===void 0?void 0:_fetchProductInfoQuer114.isproducttobesold)==1&&/*#__PURE__*/React.createElement("div",{"class":"row m-0 w-100 mt-3",style:{overflow:'hidden'}},/*#__PURE__*/React.createElement("button",{className:sectionproperties.cartbtntramsitionafterwhile=='Yes'?"".concat(productinfo_cssstyles.cart_btn," ")+' d-flex align-items-center justify-content-center mb-sm-2 cart_btnvibrate ':"".concat(productinfo_cssstyles.cart_btn," ")+' d-flex align-items-center justify-content-center mb-sm-2 ',style:{width:sectionproperties.cartBtnWidth+'%'},onClick:function onClick(){if(fetchProductInfoQueryContext.data.data.productinfo.product_calltoaction=='Call'){var _fetchProductInfoQuer115;window.open('tel:'+((_fetchProductInfoQuer115=fetchProductInfoQueryContext.data.data.productinfo)===null||_fetchProductInfoQuer115===void 0?void 0:_fetchProductInfoQuer115.product_phonenumber),'_blank');}else {if(fetchProductInfoQueryContext.data.data.productinfo.maximumproductquant>=addtocardpayloadobj.quantity&&fetchProductInfoQueryContext.data.data.productinfo.minimumproductquant<=addtocardpayloadobj.quantity){addtocartfunc();}else {NotificationManager.warning('',lang.maximum+': '+fetchProductInfoQueryContext.data.data.productinfo.maximumproductquant+', '+lang.minimum+': '+fetchProductInfoQueryContext.data.data.productinfo.minimumproductquant);}}},disabled:AddtoCartMutationContext.isLoading==true?true:false},!AddtoCartMutationContext.isLoading&&/*#__PURE__*/React.createElement("span",{className:' d-flex align-items-center justify-content-center ',style:{fontWeight:sectionproperties.cartBtnTextfontweight}},/*#__PURE__*/React.createElement("i",{className:langdetect=='en'?'h-100 d-flex align-items-center justify-content-center mr-2':'h-100 d-flex align-items-center justify-content-center ml-2'},sectionproperties.carticonstyle=='Shopping bag 1'&&/*#__PURE__*/React.createElement(FiShoppingBag,{className:"",size:sectionproperties.cartBtn_iconFontSize}),sectionproperties.carticonstyle=='Shopping bag 2'&&/*#__PURE__*/React.createElement(CgShoppingBag,{className:"",size:sectionproperties.cartBtn_iconFontSize}),sectionproperties.carticonstyle=='Shopping bag 3'&&/*#__PURE__*/React.createElement(BsBag,{className:"",size:sectionproperties.cartBtn_iconFontSize}),sectionproperties.carticonstyle=='Shopping bag 4'&&/*#__PURE__*/React.createElement(IoBagHandleOutline,{className:"",size:sectionproperties.cartBtn_iconFontSize}),sectionproperties.carticonstyle=='Shopping cart 1'&&/*#__PURE__*/React.createElement(FiShoppingCart,{className:"",size:sectionproperties.cartBtn_iconFontSize}),sectionproperties.carticonstyle=='Shopping cart 2'&&/*#__PURE__*/React.createElement(MdAddShoppingCart,{size:sectionproperties.cartBtn_iconFontSize})),langdetect=='en'?fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer116=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer116===void 0||(_fetchProductInfoQuer116=_fetchProductInfoQuer116.data)===null||_fetchProductInfoQuer116===void 0||(_fetchProductInfoQuer116=_fetchProductInfoQuer116.productinfo)===null||_fetchProductInfoQuer116===void 0?void 0:_fetchProductInfoQuer116.productactionbuttontext_en:fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer117=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer117===void 0||(_fetchProductInfoQuer117=_fetchProductInfoQuer117.data)===null||_fetchProductInfoQuer117===void 0||(_fetchProductInfoQuer117=_fetchProductInfoQuer117.productinfo)===null||_fetchProductInfoQuer117===void 0?void 0:_fetchProductInfoQuer117.productactionbuttontext_ar),AddtoCartMutationContext.isLoading&&/*#__PURE__*/React.createElement("div",{className:' d-flex align-items-center justify-content-center '},/*#__PURE__*/React.createElement(CircularProgress,{color:sectionproperties.cartBtnTextcolor,width:"20px",height:"20px",duration:"1s"}))),sectionproperties.btnposition=='Besides Cart Button'&&sectionproperties.favBtnShow=='Show'&&/*#__PURE__*/React.createElement("div",{className:productinfo_cssstyles.wishlist_btn+' d-flex justify-content-center align-items-center mb-sm-2 mx-3 ',onClick:function onClick(){addtofavoritescontext(fetchProductInfoQueryContext.data.data.productinfo.productid);setIsFavorite(!IsFavorite);},style:{background:fetchProductInfoQueryContext.data.data.productinfo.IsFavExists==true?sectionproperties.activebgcolor:''}},/*#__PURE__*/React.createElement("i",{className:"h-100 d-flex align-items-center justify-content-center"},IsFavorite&&/*#__PURE__*/React.createElement("i",{className:"h-100 d-flex align-items-center justify-content-center"},sectionproperties.faviconshape=='Star Shape'&&/*#__PURE__*/React.createElement(AiFillStar$1,{size:sectionproperties.favBtnIconfontsize,style:{color:sectionproperties.activefaviconcolor}}),sectionproperties.faviconshape=='Heart Shape'&&/*#__PURE__*/React.createElement(FaHeart$1,{size:sectionproperties.favBtnIconfontsize,style:{color:sectionproperties.activefaviconcolor}})),!IsFavorite&&/*#__PURE__*/React.createElement("i",{className:"h-100 d-flex align-items-center justify-content-center"},sectionproperties.faviconshape=='Star Shape'&&/*#__PURE__*/React.createElement(AiOutlineStar,{size:sectionproperties.favBtnIconfontsize}),sectionproperties.faviconshape=='Heart Shape'&&/*#__PURE__*/React.createElement(FaRegHeart,{size:sectionproperties.favBtnIconfontsize}))))),productpdfsarray.length!=0&&/*#__PURE__*/React.createElement("div",{"class":"row m-0 w-100 mt-2",style:{overflow:'hidden'}},PDFContainer()),sectionproperties.showdirectwabtn=='Show'&&/*#__PURE__*/React.createElement("div",{"class":"row m-0 w-100 mt-3",style:{overflow:'hidden'}},/*#__PURE__*/React.createElement("a",{href:langdetect=='en'?whatsappUrl:whatsappUrl_ar,target:"_blank",rel:"noopener noreferrer",style:{width:'100%'}},/*#__PURE__*/React.createElement("button",{className:"".concat(productinfo_cssstyles.cart_btn," ")+' d-flex align-items-center justify-content-center mb-sm-2 ',style:{width:sectionproperties.cartBtnWidth+'%'}},langdetect=='en'?sectionproperties.directwabtntitleen:sectionproperties.directwabtntitlear))),sectionproperties.cartbtnalone=='Alone'&&sectionproperties.showbuynowbtn=='Show'&&(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer118=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer118===void 0||(_fetchProductInfoQuer118=_fetchProductInfoQuer118.data)===null||_fetchProductInfoQuer118===void 0||(_fetchProductInfoQuer118=_fetchProductInfoQuer118.productinfo)===null||_fetchProductInfoQuer118===void 0?void 0:_fetchProductInfoQuer118.isproducttobesold)==1&&/*#__PURE__*/React.createElement("div",{"class":"row m-0 w-100 mt-3",style:{overflow:'hidden'}},/*#__PURE__*/React.createElement("button",{className:"".concat(productinfo_cssstyles.buynow," ")+' d-flex align-items-center justify-content-center mb-sm-2 ',onClick:function onClick(){addtocartfunc('forcetocheckout');},disabled:AddtoCartMutationContext.isLoading==true?true:false},!AddtoCartMutationContext.isLoading&&/*#__PURE__*/React.createElement("span",{className:' d-flex align-items-center justify-content-center '},langdetect=='en'?'Buy It Now':'إشترى الان'),AddtoCartMutationContext.isLoading&&/*#__PURE__*/React.createElement("div",{className:' d-flex align-items-center justify-content-center '},/*#__PURE__*/React.createElement(CircularProgress,{color:sectionproperties.cartBtnTextcolor,width:"20px",height:"20px",duration:"1s"})))),sectionproperties.storeinfoposition=='Below Information'&&/*#__PURE__*/React.createElement("div",{"class":"row m-0 w-100 mt-3",style:{overflow:'hidden'}},StoreInfoprops('belowinfo'))))),sectionproperties.descriptionstyle=='Style 2'&&/*#__PURE__*/React.createElement("div",{"class":"col-lg-12 p-md-0"},/*#__PURE__*/React.createElement("hr",{"class":"my-3"})),sectionproperties.showfeatures=='Show'&&sectionproperties.featuresposition!='Under Name'&&sectionproperties.featuresposition!='Under Description'&&sectionproperties.featurestyle!='Table'&&/*#__PURE__*/React.createElement("div",{"class":"col-lg-12 text-start p-md-0"},/*#__PURE__*/React.createElement("div",{className:"row m-0 w-100"},fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer119=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer119===void 0||(_fetchProductInfoQuer119=_fetchProductInfoQuer119.data)===null||_fetchProductInfoQuer119===void 0||(_fetchProductInfoQuer119=_fetchProductInfoQuer119.productinfo)===null||_fetchProductInfoQuer119===void 0||(_fetchProductInfoQuer119=_fetchProductInfoQuer119.productfeatures)===null||_fetchProductInfoQuer119===void 0?void 0:_fetchProductInfoQuer119.map(function(fitem,findex){return/*#__PURE__*/React.createElement("div",{"class":' col-md-12 p-0 mb-3 mt-2 col-lg-'+sectionproperties.featuresnumcols},/*#__PURE__*/React.createElement("div",{"class":"row m-0 w-100 text-start"},/*#__PURE__*/React.createElement("div",{"class":"col-lg-12 text-start mb-3 text-uppercase p-0"},/*#__PURE__*/React.createElement("div",{style:{width:'20px'},"class":langdetect=='en'?'mr-2':'ml-2'},/*#__PURE__*/React.createElement(Imagekitimagecomp,{urlEndpoint:ikimagecredcontext===null||ikimagecredcontext===void 0?void 0:ikimagecredcontext.ikimageendpoint,publicKey:ikimagecredcontext===null||ikimagecredcontext===void 0?void 0:ikimagecredcontext.ikimagepublickey,path:fitem===null||fitem===void 0?void 0:fitem.feature_image_url,loading:"lazy",style:{maxWidth:'100%',maxHeight:'100%'}})),/*#__PURE__*/React.createElement("p",{"class":"m-0 p-0",style:{color:sectionproperties.featurecolor,fontWeight:sectionproperties.featurefontweight,fontSize:sectionproperties.featurefontsize}},langdetect=='en'?fitem===null||fitem===void 0?void 0:fitem.name_en:fitem===null||fitem===void 0?void 0:fitem.name_ar)),/*#__PURE__*/React.createElement("div",{"class":"col-lg-12 text-start text-capitalize"},/*#__PURE__*/React.createElement("p",{"class":"m-0 p-0",style:{color:sectionproperties.featurevaluecolor,fontWeight:sectionproperties.featurevaluefontweight,fontSize:sectionproperties.featurevaluefontsize}},langdetect=='en'?fitem===null||fitem===void 0?void 0:fitem.value_en:fitem===null||fitem===void 0?void 0:fitem.value_ar))));}))),sectionproperties.showsizeguidebtn=='Show'&&sizeguideimage.length!=0&&(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer120=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer120===void 0||(_fetchProductInfoQuer120=_fetchProductInfoQuer120.data)===null||_fetchProductInfoQuer120===void 0||(_fetchProductInfoQuer120=_fetchProductInfoQuer120.productinfo)===null||_fetchProductInfoQuer120===void 0?void 0:_fetchProductInfoQuer120.hasvariants)==0&&/*#__PURE__*/React.createElement("div",{"class":"col-12 text-start mt-3"},/*#__PURE__*/React.createElement("p",{"class":productinfo_cssstyles.sizeguidebtn+' m-0 p-0 cursor-pointer mb-auto ',onClick:function onClick(){setopensizeguidemodal(true);}},langdetect=='en'?sectionproperties.sizeguidecontentenglish:sectionproperties.sizeguidecontentarabic)),sectionproperties.showsizeguidebtn=='Show'&&sizeguideimage.length!=0&&(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer121=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer121===void 0||(_fetchProductInfoQuer121=_fetchProductInfoQuer121.data)===null||_fetchProductInfoQuer121===void 0||(_fetchProductInfoQuer121=_fetchProductInfoQuer121.productinfo)===null||_fetchProductInfoQuer121===void 0?void 0:_fetchProductInfoQuer121.hasvariants)==0&&/*#__PURE__*/React.createElement("div",{"class":"col-lg-12 col-md-12 my-3 p-md-0"},/*#__PURE__*/React.createElement("hr",{"class":"m-0"})),sectionproperties.descriptionstyle=='Style 2'&&/*#__PURE__*/React.createElement("div",{"class":sectionproperties.showsizeguidebtn=='Show'&&sizeguideimage.length!=0&&(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer122=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer122===void 0||(_fetchProductInfoQuer122=_fetchProductInfoQuer122.data)===null||_fetchProductInfoQuer122===void 0||(_fetchProductInfoQuer122=_fetchProductInfoQuer122.productinfo)===null||_fetchProductInfoQuer122===void 0?void 0:_fetchProductInfoQuer122.hasvariants)==0?'col-lg-12 col-md-12 p-md-0':'col-lg-12 col-md-12 p-md-0 mt-3'},sectionproperties.descriptioncollapseopen=='Yes'&&/*#__PURE__*/React.createElement(Accordion,{allowMultipleExpanded:true,allowZeroExpanded:true,preExpanded:[0]},DescriptionAccordion()),sectionproperties.descriptioncollapseopen!='Yes'&&/*#__PURE__*/React.createElement(Accordion,{allowMultipleExpanded:true,allowZeroExpanded:true},DescriptionAccordion())),sectionproperties.descriptionstyle=='Style 2'&&/*#__PURE__*/React.createElement("div",{"class":"col-lg-12 col-md-12 my-3 p-md-0"},/*#__PURE__*/React.createElement("hr",{"class":"m-0"})),sectionproperties.descriptionstyle=='Style 2'&&sectionproperties.showshortdescription=='Show'&&/*#__PURE__*/React.createElement("div",{"class":"col-lg-12 col-md-12 p-md-0"},/*#__PURE__*/React.createElement(Accordion,{allowMultipleExpanded:true,allowZeroExpanded:true},/*#__PURE__*/React.createElement(AccordionItem,null,/*#__PURE__*/React.createElement(AccordionItemHeading,null,/*#__PURE__*/React.createElement(AccordionItemButton,null,/*#__PURE__*/React.createElement("div",{"class":"row m-0 w-100"},/*#__PURE__*/React.createElement("div",{className:"col-lg-10 col-md-10 col-sm-10 p-0 d-flex align-items-center"},ShortDescriptionTitle()),/*#__PURE__*/React.createElement("div",{className:"col-lg-2 col-md-2 col-sm-2 p-0"},/*#__PURE__*/React.createElement(AccordionItemState,null,function(state){if(state.expanded==true){return/*#__PURE__*/React.createElement("i",{className:' h-100 d-flex align-items-center justify-content-end '},/*#__PURE__*/React.createElement(FaMinus,{color:sectionproperties.prodCatColor}));}else {return/*#__PURE__*/React.createElement("i",{className:' h-100 d-flex align-items-center justify-content-end '},/*#__PURE__*/React.createElement(FaPlus,{color:sectionproperties.prodCatColor}));}}))))),/*#__PURE__*/React.createElement(AccordionItemPanel,{className:"p-0"},/*#__PURE__*/React.createElement("div",{"class":"col-lg-12 pl-3 pr-3 mt-3"},/*#__PURE__*/React.createElement("p",{className:'m-0 p-0 wordbreak',style:{textAlign:langdetect=='en'?'left':'right',color:sectionproperties.prodCatColor},dangerouslySetInnerHTML:{__html:langdetect=='en'?fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer123=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer123===void 0||(_fetchProductInfoQuer123=_fetchProductInfoQuer123.data)===null||_fetchProductInfoQuer123===void 0||(_fetchProductInfoQuer123=_fetchProductInfoQuer123.productinfo)===null||_fetchProductInfoQuer123===void 0?void 0:_fetchProductInfoQuer123.short_description_en:fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer124=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer124===void 0||(_fetchProductInfoQuer124=_fetchProductInfoQuer124.data)===null||_fetchProductInfoQuer124===void 0||(_fetchProductInfoQuer124=_fetchProductInfoQuer124.productinfo)===null||_fetchProductInfoQuer124===void 0?void 0:_fetchProductInfoQuer124.short_description_ar}})))))),sectionproperties.descriptionstyle=='Style 2'&&sectionproperties.showshortdescription=='Show'&&/*#__PURE__*/React.createElement("div",{"class":"col-lg-12 col-md-12 my-3 p-md-0"},/*#__PURE__*/React.createElement("hr",{"class":"m-0"})),sectionproperties.descriptionstyle=='Style 2'&&/*#__PURE__*/React.createElement("div",{"class":sectionproperties.eviewssectionstyle=='In Collapse'?'col-lg-12 col-md-12 p-md-0':'col-lg-12 col-md-12 p-md-0 mb-3'},/*#__PURE__*/React.createElement(Accordion,{allowMultipleExpanded:true,allowZeroExpanded:true},/*#__PURE__*/React.createElement(AccordionItem,null,/*#__PURE__*/React.createElement(AccordionItemHeading,null,/*#__PURE__*/React.createElement(AccordionItemButton,null,/*#__PURE__*/React.createElement("div",{"class":"row m-0 w-100"},/*#__PURE__*/React.createElement("div",{className:"col-lg-10 col-md-10 col-sm-10 p-0 d-flex align-items-center justify-content-start"},/*#__PURE__*/React.createElement("p",{"class":"m-0 p-0 ",style:{textAlign:langdetect=='en'?'left':'right',fontWeight:sectionproperties.prodCatFontWeight,color:sectionproperties.prodCatColor,fontSize:sectionproperties.prodCatFontSize+'px'}},langdetect=='en'?sectionproperties.policiestitleen:sectionproperties.policiestitlear)),/*#__PURE__*/React.createElement("div",{className:"col-lg-2 col-md-2 col-sm-2 p-0"},/*#__PURE__*/React.createElement(AccordionItemState,null,function(state){if(state.expanded==true){return/*#__PURE__*/React.createElement("i",{className:' h-100 d-flex align-items-center justify-content-end '},/*#__PURE__*/React.createElement(FaMinus,{color:sectionproperties.prodCatColor}));}else {return/*#__PURE__*/React.createElement("i",{className:' h-100 d-flex align-items-center justify-content-end '},/*#__PURE__*/React.createElement(FaPlus,{color:sectionproperties.prodCatColor}));}}))))),/*#__PURE__*/React.createElement(AccordionItemPanel,{className:"p-0"},sectionproperties.showfirstpolicy=='Show'&&/*#__PURE__*/React.createElement("div",{"class":"col-lg-12 p-0 mb-3 d-flex flex-row text-start align-items-center mt-3"},/*#__PURE__*/React.createElement("i",{"class":"h-100 allcentered mx-2"},/*#__PURE__*/React.createElement(FiBox$1,{size:15,style:{color:sectionproperties.prodCatColor}})),/*#__PURE__*/React.createElement("p",{"class":"m-0 p-0 text-uppercase",style:{textAlign:langdetect=='en'?'left':'right',fontWeight:sectionproperties.prodCatFontWeight,color:sectionproperties.prodCatColor,fontSize:'14px'}},langdetect=='en'?(_returnpolicyobj9=returnpolicyobj('Shipping Policy'))===null||_returnpolicyobj9===void 0?void 0:_returnpolicyobj9.policypagename_en:(_returnpolicyobj0=returnpolicyobj('Shipping Policy'))===null||_returnpolicyobj0===void 0?void 0:_returnpolicyobj0.policypagename_ar)),sectionproperties.showfirstpolicy=='Show'&&/*#__PURE__*/React.createElement("div",{"class":"col-lg-12 p-0 mb-4 px-4"},/*#__PURE__*/React.createElement("p",{className:' m-0 p-0 wordbreak ',style:{textAlign:langdetect=='en'?'left':'right',fontWeight:sectionproperties.prodCatFontWeight,color:sectionproperties.prodCatColor,fontSize:'15px'},dangerouslySetInnerHTML:{__html:langdetect=='en'?(_returnpolicyobj1=returnpolicyobj('Shipping Policy'))===null||_returnpolicyobj1===void 0?void 0:_returnpolicyobj1.policysummary_en:(_returnpolicyobj10=returnpolicyobj('Shipping Policy'))===null||_returnpolicyobj10===void 0?void 0:_returnpolicyobj10.policysummary_ar}})),sectionproperties.showfirstpolicy=='Show'&&/*#__PURE__*/React.createElement("div",{"class":"col-lg-12 p-0 mb-4 px-4"},/*#__PURE__*/React.createElement("p",{className:' m-0 p-0 wordbreak cursor-pointer ',style:{textAlign:langdetect=='en'?'left':'right',textDecoration:'underline',color:sectionproperties.prodCatColor},onClick:function onClick(){routingcountext(StaticPagesLinksContext.ShippingPolicy);}},"SEE MORE")),/*#__PURE__*/React.createElement("div",{"class":"col-lg-12 p-0 mb-3 d-flex flex-row text-start align-items-center"},/*#__PURE__*/React.createElement("i",{"class":"h-100 allcentered mx-2"},/*#__PURE__*/React.createElement(RiArrowGoBackLine,{size:15,style:{color:sectionproperties.prodCatColor}})),/*#__PURE__*/React.createElement("p",{"class":"m-0 p-0 text-uppercase",style:{textAlign:langdetect=='en'?'left':'right',fontWeight:sectionproperties.prodCatFontWeight,color:sectionproperties.prodCatColor,fontSize:'14px'}},langdetect=='en'?(_returnpolicyobj11=returnpolicyobj('Refund Policy'))===null||_returnpolicyobj11===void 0?void 0:_returnpolicyobj11.policypagename_en:(_returnpolicyobj12=returnpolicyobj('Refund Policy'))===null||_returnpolicyobj12===void 0?void 0:_returnpolicyobj12.policypagename_ar)),/*#__PURE__*/React.createElement("div",{"class":"col-lg-12 p-0 mb-4 px-4"},/*#__PURE__*/React.createElement("p",{className:' m-0 p-0 wordbreak ',style:{textAlign:langdetect=='en'?'left':'right',fontWeight:sectionproperties.prodCatFontWeight,color:sectionproperties.prodCatColor,fontSize:'15px'},dangerouslySetInnerHTML:{__html:langdetect=='en'?(_returnpolicyobj13=returnpolicyobj('Refund Policy'))===null||_returnpolicyobj13===void 0?void 0:_returnpolicyobj13.policysummary_en:(_returnpolicyobj14=returnpolicyobj('Refund Policy'))===null||_returnpolicyobj14===void 0?void 0:_returnpolicyobj14.policysummary_ar}})),/*#__PURE__*/React.createElement("div",{"class":"col-lg-12 p-0 mb-4 px-4"},/*#__PURE__*/React.createElement("p",{className:' m-0 p-0 wordbreak cursor-pointer ',style:{textAlign:langdetect=='en'?'left':'right',textDecoration:'underline',color:sectionproperties.prodCatColor},onClick:function onClick(){routingcountext(StaticPagesLinksContext.RefundPolicy);}},"SEE MORE")))))),sectionproperties.descriptionstyle=='Style 2'&&sectionproperties.reviewssectionstyle=='In Collapse'&&/*#__PURE__*/React.createElement("div",{"class":"col-lg-12 col-md-12 my-3 p-md-0"},/*#__PURE__*/React.createElement("hr",{"class":"m-0"})),sectionproperties.descriptionstyle=='Style 2'&&sectionproperties.reviewssectionstyle=='In Collapse'&&/*#__PURE__*/React.createElement("div",{"class":"col-lg-12 col-md-12 p-md-0"},/*#__PURE__*/React.createElement(Accordion,{allowMultipleExpanded:true,allowZeroExpanded:true},/*#__PURE__*/React.createElement(AccordionItem,null,/*#__PURE__*/React.createElement(AccordionItemHeading,null,/*#__PURE__*/React.createElement(AccordionItemButton,null,/*#__PURE__*/React.createElement("div",{"class":"row m-0 w-100"},/*#__PURE__*/React.createElement("div",{className:"col-lg-10 col-md-10 col-sm-10 p-0 d-flex align-items-center"},/*#__PURE__*/React.createElement("p",{"class":"m-0",style:{textAlign:langdetect=='en'?'left':'right',fontWeight:sectionproperties.prodCatFontWeight,color:sectionproperties.prodCatColor,fontSize:sectionproperties.prodCatFontSize+'px'}},langdetect=='en'?'REVIEWS':'التقييمات')),/*#__PURE__*/React.createElement("div",{className:"col-lg-2 col-md-2 col-sm-2 p-0"},/*#__PURE__*/React.createElement(AccordionItemState,null,function(state){if(state.expanded==true){return/*#__PURE__*/React.createElement("i",{className:' h-100 d-flex align-items-center justify-content-end '},/*#__PURE__*/React.createElement(FaMinus,{color:sectionproperties.prodCatColor}));}else {return/*#__PURE__*/React.createElement("i",{className:' h-100 d-flex align-items-center justify-content-end '},/*#__PURE__*/React.createElement(FaPlus,{color:sectionproperties.prodCatColor}));}}))))),/*#__PURE__*/React.createElement(AccordionItemPanel,{className:"p-0"},/*#__PURE__*/React.createElement("div",{"class":"col-lg-12 pl-3 pr-3 mt-3"},/*#__PURE__*/React.createElement(ProductReviews,{actions:_objectSpread$2F(_objectSpread$2F({},actions),{},{productinfo_cssstyles:productinfo_cssstyles,sectionproperties:sectionproperties,srcfrom:'collapsepinfo'})// actions={props.actions}
4370
+ color:sectionproperties.featurecolor,fontWeight:sectionproperties.featurefontweight,fontSize:sectionproperties.featurefontsize}},/*#__PURE__*/React.createElement("div",{"class":"row m-0 d-flex align-items-center"},(fitem===null||fitem===void 0?void 0:fitem.feature_image_url)!=null&&/*#__PURE__*/React.createElement("div",{style:{width:'20px'},"class":langdetect=='en'?'mr-2':'ml-2'},/*#__PURE__*/React.createElement(Imagekitimagecomp,{urlEndpoint:ikimagecredcontext===null||ikimagecredcontext===void 0?void 0:ikimagecredcontext.ikimageendpoint,publicKey:ikimagecredcontext===null||ikimagecredcontext===void 0?void 0:ikimagecredcontext.ikimagepublickey,path:fitem===null||fitem===void 0?void 0:fitem.feature_image_url,loading:"lazy",style:{maxWidth:'100%',maxHeight:'100%'}})),langdetect=='en'?fitem===null||fitem===void 0?void 0:fitem.name_en:fitem===null||fitem===void 0?void 0:fitem.name_ar)),/*#__PURE__*/React.createElement("td",{style:{color:sectionproperties.featurevaluecolor,fontWeight:sectionproperties.featurevaluefontweight,fontSize:sectionproperties.featurevaluefontsize}},langdetect=='en'?fitem===null||fitem===void 0?void 0:fitem.value_en:fitem===null||fitem===void 0?void 0:fitem.value_ar));}))))),sectionproperties.defaultpricingposition=='Under Name'&&(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer91=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer91===void 0||(_fetchProductInfoQuer91=_fetchProductInfoQuer91.data)===null||_fetchProductInfoQuer91===void 0||(_fetchProductInfoQuer91=_fetchProductInfoQuer91.productinfo)===null||_fetchProductInfoQuer91===void 0?void 0:_fetchProductInfoQuer91.isproducttobesold)==1&&/*#__PURE__*/React.createElement(ProductHeaderPricing,{actions:props.actions}),sectionproperties.showmeasurementunit=='Show'&&sectionproperties.measurementunitposition=='Above Name'&&MeasurementUnitSection(),sectionproperties.showfeatures=='Show'&&sectionproperties.featuresposition=='Under Pricing'&&sectionproperties.featurestyle=='Table'&&/*#__PURE__*/React.createElement("div",{"class":"col-lg-12 text-start p-0"},ProductFeaturesTable()),langdetect=='en'&&sectionproperties.showshortdescription=='Show'&&(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer92=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer92===void 0||(_fetchProductInfoQuer92=_fetchProductInfoQuer92.data)===null||_fetchProductInfoQuer92===void 0||(_fetchProductInfoQuer92=_fetchProductInfoQuer92.productinfo)===null||_fetchProductInfoQuer92===void 0?void 0:_fetchProductInfoQuer92.short_description_en)!=null&&sectionproperties.descriptionstyle=='Style 1'&&/*#__PURE__*/React.createElement("div",{"class":"col-lg-12 p-0"},/*#__PURE__*/React.createElement("div",{"class":"col-lg-12 p-0 d-flex justify-content-start"},/*#__PURE__*/React.createElement("p",{className:'text-black m-0 p-0 wordbreak',style:{textAlign:langdetect=='en'?'left':'right'},dangerouslySetInnerHTML:{__html:fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer93=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer93===void 0||(_fetchProductInfoQuer93=_fetchProductInfoQuer93.data)===null||_fetchProductInfoQuer93===void 0||(_fetchProductInfoQuer93=_fetchProductInfoQuer93.productinfo)===null||_fetchProductInfoQuer93===void 0?void 0:_fetchProductInfoQuer93.short_description_en}}))),langdetect=='ar'&&sectionproperties.showshortdescription=='Show'&&(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer94=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer94===void 0||(_fetchProductInfoQuer94=_fetchProductInfoQuer94.data)===null||_fetchProductInfoQuer94===void 0||(_fetchProductInfoQuer94=_fetchProductInfoQuer94.productinfo)===null||_fetchProductInfoQuer94===void 0?void 0:_fetchProductInfoQuer94.short_description_ar)!=null&&sectionproperties.descriptionstyle=='Style 1'&&/*#__PURE__*/React.createElement("div",{"class":"col-lg-12 p-0"},/*#__PURE__*/React.createElement("div",{"class":"col-lg-12 p-0 d-flex justify-content-start"},/*#__PURE__*/React.createElement("p",{className:'text-black m-0 p-0 wordbreak',style:{textAlign:langdetect=='en'?'left':'right'},dangerouslySetInnerHTML:{__html:fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer95=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer95===void 0||(_fetchProductInfoQuer95=_fetchProductInfoQuer95.data)===null||_fetchProductInfoQuer95===void 0||(_fetchProductInfoQuer95=_fetchProductInfoQuer95.productinfo)===null||_fetchProductInfoQuer95===void 0?void 0:_fetchProductInfoQuer95.short_description_ar}}))),(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer96=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer96===void 0||(_fetchProductInfoQuer96=_fetchProductInfoQuer96.data)===null||_fetchProductInfoQuer96===void 0||(_fetchProductInfoQuer96=_fetchProductInfoQuer96.productinfo)===null||_fetchProductInfoQuer96===void 0?void 0:_fetchProductInfoQuer96.vendorinfo)!=null&&sectionproperties.showvendor=='Show'&&/*#__PURE__*/React.createElement("div",{"class":"col-lg-12 p-0 d-flex justify-content-start mt-2 mb-2"},/*#__PURE__*/React.createElement("p",{"class":"m-0 p-0",style:{color:'#000',cursor:sectionproperties.vendornameclickable=='Yes'?'pointer':''},onClick:function onClick(){if(sectionproperties.vendornameclickable=='Yes'){var _fetchProductInfoQuer97;routingcountext(StaticPagesLinksContext.GeneralProductsComponent,true,encodeURIComponent(JSON.stringify({vendorsarr:[fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer97=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer97===void 0||(_fetchProductInfoQuer97=_fetchProductInfoQuer97.data)===null||_fetchProductInfoQuer97===void 0||(_fetchProductInfoQuer97=_fetchProductInfoQuer97.productinfo)===null||_fetchProductInfoQuer97===void 0||(_fetchProductInfoQuer97=_fetchProductInfoQuer97.vendorinfo)===null||_fetchProductInfoQuer97===void 0?void 0:_fetchProductInfoQuer97.vendorid]})));}}},langdetect=='en'?sectionproperties.vendortitleen:sectionproperties.vendortitlear,":",' ',/*#__PURE__*/React.createElement("span",{style:{fontWeight:600}},fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer98=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer98===void 0||(_fetchProductInfoQuer98=_fetchProductInfoQuer98.data)===null||_fetchProductInfoQuer98===void 0||(_fetchProductInfoQuer98=_fetchProductInfoQuer98.productinfo)===null||_fetchProductInfoQuer98===void 0||(_fetchProductInfoQuer98=_fetchProductInfoQuer98.vendorinfo)===null||_fetchProductInfoQuer98===void 0?void 0:_fetchProductInfoQuer98.vendorname))),sectionproperties.showSKU=='Show'&&sectionproperties.skuposition=='Bottom'&&/*#__PURE__*/React.createElement("div",{"class":sectionproperties.deliverytimeshow=='Show'&&(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer99=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer99===void 0||(_fetchProductInfoQuer99=_fetchProductInfoQuer99.data)===null||_fetchProductInfoQuer99===void 0||(_fetchProductInfoQuer99=_fetchProductInfoQuer99.productinfo)===null||_fetchProductInfoQuer99===void 0?void 0:_fetchProductInfoQuer99.deliverydatetext)!=null?'col-lg-12 p-0 mb-2 d-flex justify-content-start':'col-lg-12 p-0 mb-3 d-flex justify-content-start'},ProductsSKUContainer()),(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer100=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer100===void 0||(_fetchProductInfoQuer100=_fetchProductInfoQuer100.data)===null||_fetchProductInfoQuer100===void 0||(_fetchProductInfoQuer100=_fetchProductInfoQuer100.productinfo)===null||_fetchProductInfoQuer100===void 0?void 0:_fetchProductInfoQuer100.currentquantity)<1&&sectionproperties.showoutofstock=='Show'&&(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer101=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer101===void 0||(_fetchProductInfoQuer101=_fetchProductInfoQuer101.data)===null||_fetchProductInfoQuer101===void 0||(_fetchProductInfoQuer101=_fetchProductInfoQuer101.productinfo)===null||_fetchProductInfoQuer101===void 0?void 0:_fetchProductInfoQuer101.quantavailtype)=='limit'&&(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer102=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer102===void 0||(_fetchProductInfoQuer102=_fetchProductInfoQuer102.data)===null||_fetchProductInfoQuer102===void 0||(_fetchProductInfoQuer102=_fetchProductInfoQuer102.productinfo)===null||_fetchProductInfoQuer102===void 0?void 0:_fetchProductInfoQuer102.hasvariants)==0&&/*#__PURE__*/React.createElement("div",{"class":"col-lg-12 p-0 d-flex justify-content-start mb-2"},/*#__PURE__*/React.createElement("div",{"class":"".concat(productinfo_cssstyles.outstockbadge)+' allcentered '},/*#__PURE__*/React.createElement("p",{"class":"m-0 p-0"},langdetect=='en'?sectionproperties.outstock_contenten:sectionproperties.outstock_contentar))),sectionproperties.deliverytimeshow=='Show'&&(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer103=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer103===void 0||(_fetchProductInfoQuer103=_fetchProductInfoQuer103.data)===null||_fetchProductInfoQuer103===void 0||(_fetchProductInfoQuer103=_fetchProductInfoQuer103.productinfo)===null||_fetchProductInfoQuer103===void 0?void 0:_fetchProductInfoQuer103.deliverydatetext)!=null&&/*#__PURE__*/React.createElement("div",{"class":"mb-4 col-lg-12 allcentered",style:{width:'100%',backgroundColor:sectionproperties.deliverytimecontainerBg,paddingLeft:sectionproperties.deliverytimecontainerpaddinghorizontal+'px',paddingRight:sectionproperties.deliverytimecontainerpaddinghorizontal+'px',paddingTop:sectionproperties.deliverytimecontainerpaddingvertical+'px',paddingBottom:sectionproperties.deliverytimecontainerpaddingvertical+'px',border:sectionproperties.deliverytimecontainerborderwidth+'px solid '+sectionproperties.deliverytimecontainerbordercolor,borderRadius:sectionproperties.deliverytimecontainerborderradius+'px',fontSize:sectionproperties.deliverytimecontainerfontsize+'px',fontWeight:sectionproperties.deliverytimecontainerfontWeight,marginTop:15}},/*#__PURE__*/React.createElement("p",{"class":"m-0 p-0 ",style:{textAlign:langdetect=='en'?'left':'right',color:sectionproperties.deliverytimecontainercolor}},sectionproperties.showdeliverytitle=='Show'&&/*#__PURE__*/React.createElement("span",null,langdetect=='en'?sectionproperties.deliverycontent_en:sectionproperties.deliverycontent_ar,": "),' ',fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer104=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer104===void 0||(_fetchProductInfoQuer104=_fetchProductInfoQuer104.data)===null||_fetchProductInfoQuer104===void 0||(_fetchProductInfoQuer104=_fetchProductInfoQuer104.productinfo)===null||_fetchProductInfoQuer104===void 0?void 0:_fetchProductInfoQuer104.deliverydatetext)),sectionproperties.defaultpricingposition!='Under Name'&&(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer105=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer105===void 0||(_fetchProductInfoQuer105=_fetchProductInfoQuer105.data)===null||_fetchProductInfoQuer105===void 0||(_fetchProductInfoQuer105=_fetchProductInfoQuer105.productinfo)===null||_fetchProductInfoQuer105===void 0?void 0:_fetchProductInfoQuer105.isproducttobesold)==1&&/*#__PURE__*/React.createElement(ProductHeaderPricing,{actions:props.actions}),sectionproperties.descriptionposition!='Under Name'&&sectionproperties.descriptionposition=='Top'&&sectionproperties.descriptionstyle=='Style 1'&&sectionproperties.showshortdescription=='Show'&&/*#__PURE__*/React.createElement("div",{"class":"col-lg-12 p-0"},/*#__PURE__*/React.createElement("div",{"class":"row m-0 w-100"},sectionproperties.showshortdescription=='Show'&&/*#__PURE__*/React.createElement("div",{"class":"col-lg-12 p-0 mb-2 "},/*#__PURE__*/React.createElement("p",{style:{textAlign:langdetect=='en'?'left':'right',color:sectionproperties.generaltext_fontColor,fontWeight:700,fontSize:17}},langdetect=='en'?'Description':'التفاصيل')),/*#__PURE__*/React.createElement("div",{"class":"col-lg-12 p-0"},/*#__PURE__*/React.createElement(DescriptionContent,{actions:props.actions,srcfromprops:'undername'})))),/*#__PURE__*/React.createElement(Variantoptions,{actions:props.actions}),(authdetailsContext===null||authdetailsContext===void 0||(_authdetailsContext$i38=authdetailsContext.instinfo)===null||_authdetailsContext$i38===void 0?void 0:_authdetailsContext$i38.contactinfo.instid)!='69c80c37de30b'&&/*#__PURE__*/React.createElement(ProductExtras,{actions:props.actions,srcfromprops:'servicestyle2',addtocartfunc:addtocartfunc}),(authdetailsContext===null||authdetailsContext===void 0||(_authdetailsContext$i39=authdetailsContext.instinfo)===null||_authdetailsContext$i39===void 0?void 0:_authdetailsContext$i39.contactinfo.instid)=='69c80c37de30b'&&/*#__PURE__*/React.createElement(ProductExtras_charm,{actions:props.actions,srcfromprops:'servicestyle2',addtocartfunc:addtocartfunc}),sectionproperties.showextrafield=='Show'&&/*#__PURE__*/React.createElement(ProductExtraFields,{actions:props.actions}),sectionproperties.gallerystyle!='Style 1'&&sectionproperties.prodCatShow=='Show'&&sectionproperties.descriptionposition!='Top'&&/*#__PURE__*/React.createElement(DescriptionContent,{actions:props.actions}),sectionproperties.quantitybtn_show=='Show'&&sectionproperties.cartBtnShow=='Show'&&/*#__PURE__*/React.createElement("div",{className:"col-lg-12 p-0 mb-3"},/*#__PURE__*/React.createElement("hr",{className:"mb-0 mt-2"})),/*#__PURE__*/React.createElement("div",{className:"col-lg-12 p-0 mb-3",style:{display:sectionproperties.quantitybtn_show=='Hide'&&sectionproperties.cartBtnShow=='Hide'?'none':'flex'}},/*#__PURE__*/React.createElement("div",{className:"row mx-0 w-100 d-flex align-items-center",style:{marginTop:sectionproperties.ctabuttnnsmarginvertical+'px',marginBottom:sectionproperties.ctabuttnnsmarginvertical+'px'}},(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer106=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer106===void 0||(_fetchProductInfoQuer106=_fetchProductInfoQuer106.data)===null||_fetchProductInfoQuer106===void 0||(_fetchProductInfoQuer106=_fetchProductInfoQuer106.productinfo)===null||_fetchProductInfoQuer106===void 0?void 0:_fetchProductInfoQuer106.isproducttobesold)==1&&(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer107=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer107===void 0||(_fetchProductInfoQuer107=_fetchProductInfoQuer107.data)===null||_fetchProductInfoQuer107===void 0||(_fetchProductInfoQuer107=_fetchProductInfoQuer107.productinfo)===null||_fetchProductInfoQuer107===void 0?void 0:_fetchProductInfoQuer107.isproducthasquantitychange)==1&&sectionproperties.quantitybtn_show=='Show'&&/*#__PURE__*/React.createElement("div",{className:"col-lg-12 p-0 mb-2 d-flex justofy-content-start"},/*#__PURE__*/React.createElement("p",{className:"m-0 p-0",style:{color:sectionproperties.generaltext_fontColor,fontSize:sectionproperties.generaltext_fontSize+'px',textTransform:sectionproperties.generaltext_textTransform,fontWeight:sectionproperties.generaltext_fontWeight}},langdetect=='en'?sectionproperties.quantitybtnen:sectionproperties.quantitybtnar,":")),/*#__PURE__*/React.createElement("div",{"class":"col-lg-12 p-0"},/*#__PURE__*/React.createElement("div",{"class":"row m-0 w-100 d-flex align-items-center",style:{justifyContent:sectionproperties.cartbtncentered=='Centered'?'center':'start'}},sectionproperties.quantitybtn_show=='Show'&&(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer108=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer108===void 0||(_fetchProductInfoQuer108=_fetchProductInfoQuer108.data)===null||_fetchProductInfoQuer108===void 0||(_fetchProductInfoQuer108=_fetchProductInfoQuer108.productinfo)===null||_fetchProductInfoQuer108===void 0?void 0:_fetchProductInfoQuer108.isproducttobesold)==1&&(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer109=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer109===void 0||(_fetchProductInfoQuer109=_fetchProductInfoQuer109.data)===null||_fetchProductInfoQuer109===void 0||(_fetchProductInfoQuer109=_fetchProductInfoQuer109.productinfo)===null||_fetchProductInfoQuer109===void 0?void 0:_fetchProductInfoQuer109.isproducthasquantitychange)==1&&QuantityButton(),sectionproperties.showfeatures=='Show'&&sectionproperties.featuresposition!='Under Name'&&sectionproperties.featuresposition=='Under Description'&&sectionproperties.featurestyle!='Table'&&/*#__PURE__*/React.createElement("div",{"class":"col-lg-12 text-start p-md-0"},ProductFeaturesArray()),sectionproperties.cartbtnalone=='Besides Other Buttons'&&sectionproperties.cartBtnShow=='Show'&&(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer110=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer110===void 0||(_fetchProductInfoQuer110=_fetchProductInfoQuer110.data)===null||_fetchProductInfoQuer110===void 0||(_fetchProductInfoQuer110=_fetchProductInfoQuer110.productinfo)===null||_fetchProductInfoQuer110===void 0?void 0:_fetchProductInfoQuer110.isproducttobesold)==1&&/*#__PURE__*/React.createElement("button",{className:"".concat(productinfo_cssstyles.cart_btn," ")+' ml-2 mr-2 d-flex align-items-center justify-content-center mb-sm-2 ',onClick:function onClick(){if(fetchProductInfoQueryContext.data.data.productinfo.product_calltoaction=='Call'){var _fetchProductInfoQuer111;window.open('tel:'+((_fetchProductInfoQuer111=fetchProductInfoQueryContext.data.data.productinfo)===null||_fetchProductInfoQuer111===void 0?void 0:_fetchProductInfoQuer111.product_phonenumber),'_blank');}else {if(fetchProductInfoQueryContext.data.data.productinfo.maximumproductquant>=addtocardpayloadobj.quantity&&fetchProductInfoQueryContext.data.data.productinfo.minimumproductquant<=addtocardpayloadobj.quantity){addtocartfunc();}else {NotificationManager.warning('',lang.maximum+': '+fetchProductInfoQueryContext.data.data.productinfo.maximumproductquant+', '+lang.minimum+': '+fetchProductInfoQueryContext.data.data.productinfo.minimumproductquant);}}},disabled:AddtoCartMutationContext.isLoading==true?true:false},!AddtoCartMutationContext.isLoading&&/*#__PURE__*/React.createElement("span",{className:' d-flex align-items-center justify-content-center ',style:{fontWeight:sectionproperties.cartBtnTextfontweight}},/*#__PURE__*/React.createElement("i",{className:langdetect=='en'?'h-100 d-flex align-items-center justify-content-center mr-2':'h-100 d-flex align-items-center justify-content-center ml-2'},sectionproperties.carticonstyle=='Shopping bag 1'&&/*#__PURE__*/React.createElement(FiShoppingBag,{className:"",size:sectionproperties.cartBtn_iconFontSize}),sectionproperties.carticonstyle=='Shopping bag 2'&&/*#__PURE__*/React.createElement(CgShoppingBag,{className:"",size:sectionproperties.cartBtn_iconFontSize}),sectionproperties.carticonstyle=='Shopping bag 3'&&/*#__PURE__*/React.createElement(BsBag,{className:"",size:sectionproperties.cartBtn_iconFontSize}),sectionproperties.carticonstyle=='Shopping bag 4'&&/*#__PURE__*/React.createElement(IoBagHandleOutline,{className:"",size:sectionproperties.cartBtn_iconFontSize}),sectionproperties.carticonstyle=='Shopping cart 1'&&/*#__PURE__*/React.createElement(FiShoppingCart,{className:"",size:sectionproperties.cartBtn_iconFontSize}),sectionproperties.carticonstyle=='Shopping cart 2'&&/*#__PURE__*/React.createElement(MdAddShoppingCart,{size:sectionproperties.cartBtn_iconFontSize})),langdetect=='en'?fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer112=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer112===void 0||(_fetchProductInfoQuer112=_fetchProductInfoQuer112.data)===null||_fetchProductInfoQuer112===void 0||(_fetchProductInfoQuer112=_fetchProductInfoQuer112.productinfo)===null||_fetchProductInfoQuer112===void 0?void 0:_fetchProductInfoQuer112.productactionbuttontext_en:fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer113=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer113===void 0||(_fetchProductInfoQuer113=_fetchProductInfoQuer113.data)===null||_fetchProductInfoQuer113===void 0||(_fetchProductInfoQuer113=_fetchProductInfoQuer113.productinfo)===null||_fetchProductInfoQuer113===void 0?void 0:_fetchProductInfoQuer113.productactionbuttontext_ar),AddtoCartMutationContext.isLoading&&/*#__PURE__*/React.createElement("div",{className:' d-flex align-items-center justify-content-center '},/*#__PURE__*/React.createElement(CircularProgress,{color:sectionproperties.cartBtnTextcolor,width:"20px",height:"20px",duration:"1s"}))),sectionproperties.btnposition=='Bottom'&&sectionproperties.favBtnShow=='Show'&&/*#__PURE__*/React.createElement("div",{className:productinfo_cssstyles.wishlist_btn+' d-flex justify-content-center align-items-center mb-sm-2 ',onClick:function onClick(){addtofavoritescontext(fetchProductInfoQueryContext.data.data.productinfo.productid);setIsFavorite(!IsFavorite);},style:{background:fetchProductInfoQueryContext.data.data.productinfo.IsFavExists==true?sectionproperties.activebgcolor:''}},/*#__PURE__*/React.createElement("i",{className:"h-100 d-flex align-items-center justify-content-center"},IsFavorite&&/*#__PURE__*/React.createElement("i",{className:"h-100 d-flex align-items-center justify-content-center"},sectionproperties.faviconshape=='Star Shape'&&/*#__PURE__*/React.createElement(AiFillStar$1,{size:sectionproperties.favBtnIconfontsize,style:{color:sectionproperties.activefaviconcolor}}),sectionproperties.faviconshape=='Heart Shape'&&/*#__PURE__*/React.createElement(FaHeart$1,{size:sectionproperties.favBtnIconfontsize,style:{color:sectionproperties.activefaviconcolor}})),!IsFavorite&&/*#__PURE__*/React.createElement("i",{className:"h-100 d-flex align-items-center justify-content-center"},sectionproperties.faviconshape=='Star Shape'&&/*#__PURE__*/React.createElement(AiOutlineStar,{size:sectionproperties.favBtnIconfontsize}),sectionproperties.faviconshape=='Heart Shape'&&/*#__PURE__*/React.createElement(FaRegHeart,{size:sectionproperties.favBtnIconfontsize}))),!IsFavorite&&sectionproperties.favBtnTextfontsize!=0&&/*#__PURE__*/React.createElement("p",{"class":"m-0 p-0",style:{fontSize:sectionproperties.favBtnTextfontsize+'px'}},langdetect=='en'?sectionproperties.favbtncontent_en:sectionproperties.favbtncontent_ar),IsFavorite&&sectionproperties.favBtnTextfontsize!=0&&/*#__PURE__*/React.createElement("p",{"class":"m-0 p-0",style:{fontSize:sectionproperties.favBtnTextfontsize+'px'}},langdetect=='en'?sectionproperties.favbtnaddedcontent_en:sectionproperties.favbtnaddedcontent_ar))),sectionproperties.cartbtnalone=='Alone'&&sectionproperties.cartBtnShow=='Show'&&(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer114=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer114===void 0||(_fetchProductInfoQuer114=_fetchProductInfoQuer114.data)===null||_fetchProductInfoQuer114===void 0||(_fetchProductInfoQuer114=_fetchProductInfoQuer114.productinfo)===null||_fetchProductInfoQuer114===void 0?void 0:_fetchProductInfoQuer114.isproducttobesold)==1&&/*#__PURE__*/React.createElement("div",{"class":"row m-0 w-100 mt-3",style:{overflow:'hidden'}},/*#__PURE__*/React.createElement("button",{className:sectionproperties.cartbtntramsitionafterwhile=='Yes'?"".concat(productinfo_cssstyles.cart_btn," ")+' d-flex align-items-center justify-content-center mb-sm-2 cart_btnvibrate ':"".concat(productinfo_cssstyles.cart_btn," ")+' d-flex align-items-center justify-content-center mb-sm-2 ',style:{width:sectionproperties.cartBtnWidth+'%'},onClick:function onClick(){if(fetchProductInfoQueryContext.data.data.productinfo.product_calltoaction=='Call'){var _fetchProductInfoQuer115;window.open('tel:'+((_fetchProductInfoQuer115=fetchProductInfoQueryContext.data.data.productinfo)===null||_fetchProductInfoQuer115===void 0?void 0:_fetchProductInfoQuer115.product_phonenumber),'_blank');}else {if(fetchProductInfoQueryContext.data.data.productinfo.maximumproductquant>=addtocardpayloadobj.quantity&&fetchProductInfoQueryContext.data.data.productinfo.minimumproductquant<=addtocardpayloadobj.quantity){addtocartfunc();}else {NotificationManager.warning('',lang.maximum+': '+fetchProductInfoQueryContext.data.data.productinfo.maximumproductquant+', '+lang.minimum+': '+fetchProductInfoQueryContext.data.data.productinfo.minimumproductquant);}}},disabled:AddtoCartMutationContext.isLoading==true?true:false},!AddtoCartMutationContext.isLoading&&/*#__PURE__*/React.createElement("span",{className:' d-flex align-items-center justify-content-center ',style:{fontWeight:sectionproperties.cartBtnTextfontweight}},/*#__PURE__*/React.createElement("i",{className:langdetect=='en'?'h-100 d-flex align-items-center justify-content-center mr-2':'h-100 d-flex align-items-center justify-content-center ml-2'},sectionproperties.carticonstyle=='Shopping bag 1'&&/*#__PURE__*/React.createElement(FiShoppingBag,{className:"",size:sectionproperties.cartBtn_iconFontSize}),sectionproperties.carticonstyle=='Shopping bag 2'&&/*#__PURE__*/React.createElement(CgShoppingBag,{className:"",size:sectionproperties.cartBtn_iconFontSize}),sectionproperties.carticonstyle=='Shopping bag 3'&&/*#__PURE__*/React.createElement(BsBag,{className:"",size:sectionproperties.cartBtn_iconFontSize}),sectionproperties.carticonstyle=='Shopping bag 4'&&/*#__PURE__*/React.createElement(IoBagHandleOutline,{className:"",size:sectionproperties.cartBtn_iconFontSize}),sectionproperties.carticonstyle=='Shopping cart 1'&&/*#__PURE__*/React.createElement(FiShoppingCart,{className:"",size:sectionproperties.cartBtn_iconFontSize}),sectionproperties.carticonstyle=='Shopping cart 2'&&/*#__PURE__*/React.createElement(MdAddShoppingCart,{size:sectionproperties.cartBtn_iconFontSize})),langdetect=='en'?fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer116=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer116===void 0||(_fetchProductInfoQuer116=_fetchProductInfoQuer116.data)===null||_fetchProductInfoQuer116===void 0||(_fetchProductInfoQuer116=_fetchProductInfoQuer116.productinfo)===null||_fetchProductInfoQuer116===void 0?void 0:_fetchProductInfoQuer116.productactionbuttontext_en:fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer117=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer117===void 0||(_fetchProductInfoQuer117=_fetchProductInfoQuer117.data)===null||_fetchProductInfoQuer117===void 0||(_fetchProductInfoQuer117=_fetchProductInfoQuer117.productinfo)===null||_fetchProductInfoQuer117===void 0?void 0:_fetchProductInfoQuer117.productactionbuttontext_ar),AddtoCartMutationContext.isLoading&&/*#__PURE__*/React.createElement("div",{className:' d-flex align-items-center justify-content-center '},/*#__PURE__*/React.createElement(CircularProgress,{color:sectionproperties.cartBtnTextcolor,width:"20px",height:"20px",duration:"1s"}))),sectionproperties.btnposition=='Besides Cart Button'&&sectionproperties.favBtnShow=='Show'&&/*#__PURE__*/React.createElement("div",{className:productinfo_cssstyles.wishlist_btn+' d-flex justify-content-center align-items-center mb-sm-2 mx-3 ',onClick:function onClick(){addtofavoritescontext(fetchProductInfoQueryContext.data.data.productinfo.productid);setIsFavorite(!IsFavorite);},style:{background:fetchProductInfoQueryContext.data.data.productinfo.IsFavExists==true?sectionproperties.activebgcolor:''}},/*#__PURE__*/React.createElement("i",{className:"h-100 d-flex align-items-center justify-content-center"},IsFavorite&&/*#__PURE__*/React.createElement("i",{className:"h-100 d-flex align-items-center justify-content-center"},sectionproperties.faviconshape=='Star Shape'&&/*#__PURE__*/React.createElement(AiFillStar$1,{size:sectionproperties.favBtnIconfontsize,style:{color:sectionproperties.activefaviconcolor}}),sectionproperties.faviconshape=='Heart Shape'&&/*#__PURE__*/React.createElement(FaHeart$1,{size:sectionproperties.favBtnIconfontsize,style:{color:sectionproperties.activefaviconcolor}})),!IsFavorite&&/*#__PURE__*/React.createElement("i",{className:"h-100 d-flex align-items-center justify-content-center"},sectionproperties.faviconshape=='Star Shape'&&/*#__PURE__*/React.createElement(AiOutlineStar,{size:sectionproperties.favBtnIconfontsize}),sectionproperties.faviconshape=='Heart Shape'&&/*#__PURE__*/React.createElement(FaRegHeart,{size:sectionproperties.favBtnIconfontsize}))))),productpdfsarray.length!=0&&/*#__PURE__*/React.createElement("div",{"class":"row m-0 w-100 mt-2",style:{overflow:'hidden'}},PDFContainer()),sectionproperties.showdirectwabtn=='Show'&&/*#__PURE__*/React.createElement("div",{"class":"row m-0 w-100 mt-3",style:{overflow:'hidden'}},/*#__PURE__*/React.createElement("a",{href:langdetect=='en'?whatsappUrl:whatsappUrl_ar,target:"_blank",rel:"noopener noreferrer",style:{width:'100%'}},/*#__PURE__*/React.createElement("button",{className:"".concat(productinfo_cssstyles.cart_btn," ")+' d-flex align-items-center justify-content-center mb-sm-2 ',style:{width:sectionproperties.cartBtnWidth+'%'}},langdetect=='en'?sectionproperties.directwabtntitleen:sectionproperties.directwabtntitlear))),sectionproperties.cartbtnalone=='Alone'&&sectionproperties.showbuynowbtn=='Show'&&(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer118=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer118===void 0||(_fetchProductInfoQuer118=_fetchProductInfoQuer118.data)===null||_fetchProductInfoQuer118===void 0||(_fetchProductInfoQuer118=_fetchProductInfoQuer118.productinfo)===null||_fetchProductInfoQuer118===void 0?void 0:_fetchProductInfoQuer118.isproducttobesold)==1&&/*#__PURE__*/React.createElement("div",{"class":"row m-0 w-100 mt-3",style:{overflow:'hidden'}},/*#__PURE__*/React.createElement("button",{className:"".concat(productinfo_cssstyles.buynow," ")+' d-flex align-items-center justify-content-center mb-sm-2 ',onClick:function onClick(){addtocartfunc('forcetocheckout');},disabled:AddtoCartMutationContext.isLoading==true?true:false},!AddtoCartMutationContext.isLoading&&/*#__PURE__*/React.createElement("span",{className:' d-flex align-items-center justify-content-center '},langdetect=='en'?'Buy It Now':'إشترى الان'),AddtoCartMutationContext.isLoading&&/*#__PURE__*/React.createElement("div",{className:' d-flex align-items-center justify-content-center '},/*#__PURE__*/React.createElement(CircularProgress,{color:sectionproperties.cartBtnTextcolor,width:"20px",height:"20px",duration:"1s"})))),sectionproperties.storeinfoposition=='Below Information'&&/*#__PURE__*/React.createElement("div",{"class":"row m-0 w-100 mt-3",style:{overflow:'hidden'}},StoreInfoprops('belowinfo'))))),sectionproperties.descriptionstyle=='Style 2'&&/*#__PURE__*/React.createElement("div",{"class":"col-lg-12 p-md-0"},/*#__PURE__*/React.createElement("hr",{"class":"my-3"})),sectionproperties.showfeatures=='Show'&&sectionproperties.featuresposition!='Under Name'&&sectionproperties.featuresposition!='Under Description'&&sectionproperties.featurestyle!='Table'&&/*#__PURE__*/React.createElement("div",{"class":"col-lg-12 text-start p-md-0"},/*#__PURE__*/React.createElement("div",{className:"row m-0 w-100"},fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer119=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer119===void 0||(_fetchProductInfoQuer119=_fetchProductInfoQuer119.data)===null||_fetchProductInfoQuer119===void 0||(_fetchProductInfoQuer119=_fetchProductInfoQuer119.productinfo)===null||_fetchProductInfoQuer119===void 0||(_fetchProductInfoQuer119=_fetchProductInfoQuer119.productfeatures)===null||_fetchProductInfoQuer119===void 0?void 0:_fetchProductInfoQuer119.map(function(fitem,findex){return/*#__PURE__*/React.createElement("div",{"class":' col-md-12 p-0 mb-3 mt-2 col-lg-'+sectionproperties.featuresnumcols},/*#__PURE__*/React.createElement("div",{"class":"row m-0 w-100 text-start"},/*#__PURE__*/React.createElement("div",{"class":"col-lg-12 text-start mb-3 text-uppercase p-0"},/*#__PURE__*/React.createElement("div",{style:{width:'20px'},"class":langdetect=='en'?'mr-2':'ml-2'},/*#__PURE__*/React.createElement(Imagekitimagecomp,{urlEndpoint:ikimagecredcontext===null||ikimagecredcontext===void 0?void 0:ikimagecredcontext.ikimageendpoint,publicKey:ikimagecredcontext===null||ikimagecredcontext===void 0?void 0:ikimagecredcontext.ikimagepublickey,path:fitem===null||fitem===void 0?void 0:fitem.feature_image_url,loading:"lazy",style:{maxWidth:'100%',maxHeight:'100%'}})),/*#__PURE__*/React.createElement("p",{"class":"m-0 p-0",style:{color:sectionproperties.featurecolor,fontWeight:sectionproperties.featurefontweight,fontSize:sectionproperties.featurefontsize}},langdetect=='en'?fitem===null||fitem===void 0?void 0:fitem.name_en:fitem===null||fitem===void 0?void 0:fitem.name_ar)),/*#__PURE__*/React.createElement("div",{"class":"col-lg-12 text-start text-capitalize"},/*#__PURE__*/React.createElement("p",{"class":"m-0 p-0",style:{color:sectionproperties.featurevaluecolor,fontWeight:sectionproperties.featurevaluefontweight,fontSize:sectionproperties.featurevaluefontsize}},langdetect=='en'?fitem===null||fitem===void 0?void 0:fitem.value_en:fitem===null||fitem===void 0?void 0:fitem.value_ar))));}))),sectionproperties.showsizeguidebtn=='Show'&&sizeguideimage.length!=0&&(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer120=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer120===void 0||(_fetchProductInfoQuer120=_fetchProductInfoQuer120.data)===null||_fetchProductInfoQuer120===void 0||(_fetchProductInfoQuer120=_fetchProductInfoQuer120.productinfo)===null||_fetchProductInfoQuer120===void 0?void 0:_fetchProductInfoQuer120.hasvariants)==0&&/*#__PURE__*/React.createElement("div",{"class":"col-12 text-start mt-3"},/*#__PURE__*/React.createElement("p",{"class":productinfo_cssstyles.sizeguidebtn+' m-0 p-0 cursor-pointer mb-auto ',onClick:function onClick(){setopensizeguidemodal(true);}},langdetect=='en'?sectionproperties.sizeguidecontentenglish:sectionproperties.sizeguidecontentarabic)),sectionproperties.showsizeguidebtn=='Show'&&sizeguideimage.length!=0&&(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer121=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer121===void 0||(_fetchProductInfoQuer121=_fetchProductInfoQuer121.data)===null||_fetchProductInfoQuer121===void 0||(_fetchProductInfoQuer121=_fetchProductInfoQuer121.productinfo)===null||_fetchProductInfoQuer121===void 0?void 0:_fetchProductInfoQuer121.hasvariants)==0&&/*#__PURE__*/React.createElement("div",{"class":"col-lg-12 col-md-12 my-3 p-md-0"},/*#__PURE__*/React.createElement("hr",{"class":"m-0"})),sectionproperties.descriptionstyle=='Style 2'&&/*#__PURE__*/React.createElement("div",{"class":sectionproperties.showsizeguidebtn=='Show'&&sizeguideimage.length!=0&&(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer122=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer122===void 0||(_fetchProductInfoQuer122=_fetchProductInfoQuer122.data)===null||_fetchProductInfoQuer122===void 0||(_fetchProductInfoQuer122=_fetchProductInfoQuer122.productinfo)===null||_fetchProductInfoQuer122===void 0?void 0:_fetchProductInfoQuer122.hasvariants)==0?'col-lg-12 col-md-12 p-md-0':'col-lg-12 col-md-12 p-md-0 mt-3'},sectionproperties.descriptioncollapseopen=='Yes'&&/*#__PURE__*/React.createElement(Accordion,{allowMultipleExpanded:true,allowZeroExpanded:true,preExpanded:[0]},DescriptionAccordion()),sectionproperties.descriptioncollapseopen!='Yes'&&/*#__PURE__*/React.createElement(Accordion,{allowMultipleExpanded:true,allowZeroExpanded:true},DescriptionAccordion())),sectionproperties.descriptionstyle=='Style 2'&&/*#__PURE__*/React.createElement("div",{"class":"col-lg-12 col-md-12 my-3 p-md-0"},/*#__PURE__*/React.createElement("hr",{"class":"m-0"})),sectionproperties.descriptionstyle=='Style 2'&&sectionproperties.showshortdescription=='Show'&&/*#__PURE__*/React.createElement("div",{"class":"col-lg-12 col-md-12 p-md-0"},/*#__PURE__*/React.createElement(Accordion,{allowMultipleExpanded:true,allowZeroExpanded:true},/*#__PURE__*/React.createElement(AccordionItem,null,/*#__PURE__*/React.createElement(AccordionItemHeading,null,/*#__PURE__*/React.createElement(AccordionItemButton,null,/*#__PURE__*/React.createElement("div",{"class":"row m-0 w-100"},/*#__PURE__*/React.createElement("div",{className:"col-lg-10 col-md-10 col-sm-10 p-0 d-flex align-items-center"},ShortDescriptionTitle()),/*#__PURE__*/React.createElement("div",{className:"col-lg-2 col-md-2 col-sm-2 p-0"},/*#__PURE__*/React.createElement(AccordionItemState,null,function(state){if(state.expanded==true){return/*#__PURE__*/React.createElement("i",{className:' h-100 d-flex align-items-center justify-content-end '},/*#__PURE__*/React.createElement(FaMinus,{color:sectionproperties.prodCatColor}));}else {return/*#__PURE__*/React.createElement("i",{className:' h-100 d-flex align-items-center justify-content-end '},/*#__PURE__*/React.createElement(FaPlus,{color:sectionproperties.prodCatColor}));}}))))),/*#__PURE__*/React.createElement(AccordionItemPanel,{className:"p-0"},/*#__PURE__*/React.createElement("div",{"class":"col-lg-12 pl-3 pr-3 mt-3"},/*#__PURE__*/React.createElement("p",{className:'m-0 p-0 wordbreak',style:{textAlign:langdetect=='en'?'left':'right',color:sectionproperties.prodCatColor},dangerouslySetInnerHTML:{__html:langdetect=='en'?fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer123=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer123===void 0||(_fetchProductInfoQuer123=_fetchProductInfoQuer123.data)===null||_fetchProductInfoQuer123===void 0||(_fetchProductInfoQuer123=_fetchProductInfoQuer123.productinfo)===null||_fetchProductInfoQuer123===void 0?void 0:_fetchProductInfoQuer123.short_description_en:fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer124=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer124===void 0||(_fetchProductInfoQuer124=_fetchProductInfoQuer124.data)===null||_fetchProductInfoQuer124===void 0||(_fetchProductInfoQuer124=_fetchProductInfoQuer124.productinfo)===null||_fetchProductInfoQuer124===void 0?void 0:_fetchProductInfoQuer124.short_description_ar}})))))),sectionproperties.descriptionstyle=='Style 2'&&sectionproperties.showshortdescription=='Show'&&/*#__PURE__*/React.createElement("div",{"class":"col-lg-12 col-md-12 my-3 p-md-0"},/*#__PURE__*/React.createElement("hr",{"class":"m-0"})),sectionproperties.descriptionstyle=='Style 2'&&/*#__PURE__*/React.createElement("div",{"class":sectionproperties.eviewssectionstyle=='In Collapse'?'col-lg-12 col-md-12 p-md-0':'col-lg-12 col-md-12 p-md-0 mb-3'},/*#__PURE__*/React.createElement(Accordion,{allowMultipleExpanded:true,allowZeroExpanded:true},/*#__PURE__*/React.createElement(AccordionItem,null,/*#__PURE__*/React.createElement(AccordionItemHeading,null,/*#__PURE__*/React.createElement(AccordionItemButton,null,/*#__PURE__*/React.createElement("div",{"class":"row m-0 w-100"},/*#__PURE__*/React.createElement("div",{className:"col-lg-10 col-md-10 col-sm-10 p-0 d-flex align-items-center justify-content-start"},/*#__PURE__*/React.createElement("p",{"class":"m-0 p-0 ",style:{textAlign:langdetect=='en'?'left':'right',fontWeight:sectionproperties.prodCatFontWeight,color:sectionproperties.prodCatColor,fontSize:sectionproperties.prodCatFontSize+'px'}},langdetect=='en'?sectionproperties.policiestitleen:sectionproperties.policiestitlear)),/*#__PURE__*/React.createElement("div",{className:"col-lg-2 col-md-2 col-sm-2 p-0"},/*#__PURE__*/React.createElement(AccordionItemState,null,function(state){if(state.expanded==true){return/*#__PURE__*/React.createElement("i",{className:' h-100 d-flex align-items-center justify-content-end '},/*#__PURE__*/React.createElement(FaMinus,{color:sectionproperties.prodCatColor}));}else {return/*#__PURE__*/React.createElement("i",{className:' h-100 d-flex align-items-center justify-content-end '},/*#__PURE__*/React.createElement(FaPlus,{color:sectionproperties.prodCatColor}));}}))))),/*#__PURE__*/React.createElement(AccordionItemPanel,{className:"p-0"},sectionproperties.showfirstpolicy=='Show'&&/*#__PURE__*/React.createElement("div",{"class":"col-lg-12 p-0 mb-3 d-flex flex-row text-start align-items-center mt-3"},/*#__PURE__*/React.createElement("i",{"class":"h-100 allcentered mx-2"},/*#__PURE__*/React.createElement(FiBox$1,{size:15,style:{color:sectionproperties.prodCatColor}})),/*#__PURE__*/React.createElement("p",{"class":"m-0 p-0 text-uppercase",style:{textAlign:langdetect=='en'?'left':'right',fontWeight:sectionproperties.prodCatFontWeight,color:sectionproperties.prodCatColor,fontSize:'14px'}},langdetect=='en'?(_returnpolicyobj9=returnpolicyobj('Shipping Policy'))===null||_returnpolicyobj9===void 0?void 0:_returnpolicyobj9.policypagename_en:(_returnpolicyobj0=returnpolicyobj('Shipping Policy'))===null||_returnpolicyobj0===void 0?void 0:_returnpolicyobj0.policypagename_ar)),sectionproperties.showfirstpolicy=='Show'&&/*#__PURE__*/React.createElement("div",{"class":"col-lg-12 p-0 mb-4 px-4"},/*#__PURE__*/React.createElement("p",{className:' m-0 p-0 wordbreak ',style:{textAlign:langdetect=='en'?'left':'right',fontWeight:sectionproperties.prodCatFontWeight,color:sectionproperties.prodCatColor,fontSize:'15px'},dangerouslySetInnerHTML:{__html:langdetect=='en'?(_returnpolicyobj1=returnpolicyobj('Shipping Policy'))===null||_returnpolicyobj1===void 0?void 0:_returnpolicyobj1.policysummary_en:(_returnpolicyobj10=returnpolicyobj('Shipping Policy'))===null||_returnpolicyobj10===void 0?void 0:_returnpolicyobj10.policysummary_ar}})),sectionproperties.showfirstpolicy=='Show'&&/*#__PURE__*/React.createElement("div",{"class":"col-lg-12 p-0 mb-4 px-4"},/*#__PURE__*/React.createElement("p",{className:' m-0 p-0 wordbreak cursor-pointer ',style:{textAlign:langdetect=='en'?'left':'right',textDecoration:'underline',color:sectionproperties.prodCatColor},onClick:function onClick(){routingcountext(StaticPagesLinksContext.ShippingPolicy);}},"SEE MORE")),/*#__PURE__*/React.createElement("div",{"class":"col-lg-12 p-0 mb-3 d-flex flex-row text-start align-items-center"},/*#__PURE__*/React.createElement("i",{"class":"h-100 allcentered mx-2"},/*#__PURE__*/React.createElement(RiArrowGoBackLine,{size:15,style:{color:sectionproperties.prodCatColor}})),/*#__PURE__*/React.createElement("p",{"class":"m-0 p-0 text-uppercase",style:{textAlign:langdetect=='en'?'left':'right',fontWeight:sectionproperties.prodCatFontWeight,color:sectionproperties.prodCatColor,fontSize:'14px'}},langdetect=='en'?(_returnpolicyobj11=returnpolicyobj('Refund Policy'))===null||_returnpolicyobj11===void 0?void 0:_returnpolicyobj11.policypagename_en:(_returnpolicyobj12=returnpolicyobj('Refund Policy'))===null||_returnpolicyobj12===void 0?void 0:_returnpolicyobj12.policypagename_ar)),/*#__PURE__*/React.createElement("div",{"class":"col-lg-12 p-0 mb-4 px-4"},/*#__PURE__*/React.createElement("p",{className:' m-0 p-0 wordbreak ',style:{textAlign:langdetect=='en'?'left':'right',fontWeight:sectionproperties.prodCatFontWeight,color:sectionproperties.prodCatColor,fontSize:'15px'},dangerouslySetInnerHTML:{__html:langdetect=='en'?(_returnpolicyobj13=returnpolicyobj('Refund Policy'))===null||_returnpolicyobj13===void 0?void 0:_returnpolicyobj13.policysummary_en:(_returnpolicyobj14=returnpolicyobj('Refund Policy'))===null||_returnpolicyobj14===void 0?void 0:_returnpolicyobj14.policysummary_ar}})),/*#__PURE__*/React.createElement("div",{"class":"col-lg-12 p-0 mb-4 px-4"},/*#__PURE__*/React.createElement("p",{className:' m-0 p-0 wordbreak cursor-pointer ',style:{textAlign:langdetect=='en'?'left':'right',textDecoration:'underline',color:sectionproperties.prodCatColor},onClick:function onClick(){routingcountext(StaticPagesLinksContext.RefundPolicy);}},"SEE MORE")))))),sectionproperties.descriptionstyle=='Style 2'&&sectionproperties.reviewssectionstyle=='In Collapse'&&/*#__PURE__*/React.createElement("div",{"class":"col-lg-12 col-md-12 my-3 p-md-0"},/*#__PURE__*/React.createElement("hr",{"class":"m-0"})),sectionproperties.descriptionstyle=='Style 2'&&sectionproperties.reviewssectionstyle=='In Collapse'&&/*#__PURE__*/React.createElement("div",{"class":"col-lg-12 col-md-12 p-md-0"},/*#__PURE__*/React.createElement(Accordion,{allowMultipleExpanded:true,allowZeroExpanded:true},/*#__PURE__*/React.createElement(AccordionItem,null,/*#__PURE__*/React.createElement(AccordionItemHeading,null,/*#__PURE__*/React.createElement(AccordionItemButton,null,/*#__PURE__*/React.createElement("div",{"class":"row m-0 w-100"},/*#__PURE__*/React.createElement("div",{className:"col-lg-10 col-md-10 col-sm-10 p-0 d-flex align-items-center"},/*#__PURE__*/React.createElement("p",{"class":"m-0",style:{textAlign:langdetect=='en'?'left':'right',fontWeight:sectionproperties.prodCatFontWeight,color:sectionproperties.prodCatColor,fontSize:sectionproperties.prodCatFontSize+'px'}},langdetect=='en'?'REVIEWS':'التقييمات')),/*#__PURE__*/React.createElement("div",{className:"col-lg-2 col-md-2 col-sm-2 p-0"},/*#__PURE__*/React.createElement(AccordionItemState,null,function(state){if(state.expanded==true){return/*#__PURE__*/React.createElement("i",{className:' h-100 d-flex align-items-center justify-content-end '},/*#__PURE__*/React.createElement(FaMinus,{color:sectionproperties.prodCatColor}));}else {return/*#__PURE__*/React.createElement("i",{className:' h-100 d-flex align-items-center justify-content-end '},/*#__PURE__*/React.createElement(FaPlus,{color:sectionproperties.prodCatColor}));}}))))),/*#__PURE__*/React.createElement(AccordionItemPanel,{className:"p-0"},/*#__PURE__*/React.createElement("div",{"class":"col-lg-12 pl-3 pr-3 mt-3"},/*#__PURE__*/React.createElement(ProductReviews,{actions:_objectSpread$2F(_objectSpread$2F({},actions),{},{productinfo_cssstyles:productinfo_cssstyles,sectionproperties:sectionproperties,srcfrom:'collapsepinfo'})// actions={props.actions}
4051
4371
  // srcfromprops={'collapsepinfo'}
4052
- })))))),(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer125=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer125===void 0||(_fetchProductInfoQuer125=_fetchProductInfoQuer125.data)===null||_fetchProductInfoQuer125===void 0||(_fetchProductInfoQuer125=_fetchProductInfoQuer125.productinfo)===null||_fetchProductInfoQuer125===void 0?void 0:_fetchProductInfoQuer125.isproducttobesold)==1&&sectionproperties.showtotalsection=='Show'&&/*#__PURE__*/React.createElement("div",{className:"col-lg-12 p-0 mb-3"},/*#__PURE__*/React.createElement("div",{className:"row m-0 w-100 d-flex flex-row"},/*#__PURE__*/React.createElement("p",{className:"m-0 p-0",style:{color:sectionproperties.total_color,fontSize:sectionproperties.total_fontsize+'px',fontWeight:sectionproperties.total_fontweight,textTransform:sectionproperties.total_texttransform}},lang.total,":"),/*#__PURE__*/React.createElement("div",{className:"col-lg-9 col-md-9 col-sm-9 d-flex align-items-center pl-1 pr-1"},/*#__PURE__*/React.createElement("p",{className:'m-0 p-0 wordbreak d-flex align-items-center justify-content-end',style:{fontSize:sectionproperties.prodpriceFontSize+'px',fontWeight:sectionproperties.prodPriceFontWeight,color:sectionproperties.prodPriceColor}},/*#__PURE__*/React.createElement("span",{className:langdetect=='en'?' d-flex align-items-center justify-content-end wordbreak text-right ':' d-flex align-items-center justify-content-end wordbreak text-left '},langdetect=='en'?fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer126=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer126===void 0||(_fetchProductInfoQuer126=_fetchProductInfoQuer126.data)===null||_fetchProductInfoQuer126===void 0?void 0:_fetchProductInfoQuer126.currencyname_en:'',' ',variantindexcompleted!=undefined&&variantindexcompleted.length==0&&fetchProductInfoQueryContext.data.data.productinfo.hassale==0&&parseFloat(getprice_discountpriceprops('defaultprice',1,variantindexcompleted)).toFixed(2),variantindexcompleted!=undefined&&variantindexcompleted.length==0&&fetchProductInfoQueryContext.data.data.productinfo.hassale==1&&parseFloat(getprice_discountpriceprops('defaultsaleprice',1,variantindexcompleted)).toFixed(2),variantindexcompleted!=undefined&&variantindexcompleted.length!=0&&(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer127=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer127===void 0||(_fetchProductInfoQuer127=_fetchProductInfoQuer127.data)===null||_fetchProductInfoQuer127===void 0||(_fetchProductInfoQuer127=_fetchProductInfoQuer127.productinfo)===null||_fetchProductInfoQuer127===void 0||(_fetchProductInfoQuer127=_fetchProductInfoQuer127.variants[variantindexcompleted])===null||_fetchProductInfoQuer127===void 0?void 0:_fetchProductInfoQuer127.hassale)==1&&parseFloat(getprice_discountpriceprops('defaultsaleprice',1,variantindexcompleted)).toFixed(2),variantindexcompleted!=undefined&&variantindexcompleted.length!=0&&(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer128=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer128===void 0||(_fetchProductInfoQuer128=_fetchProductInfoQuer128.data)===null||_fetchProductInfoQuer128===void 0||(_fetchProductInfoQuer128=_fetchProductInfoQuer128.productinfo)===null||_fetchProductInfoQuer128===void 0||(_fetchProductInfoQuer128=_fetchProductInfoQuer128.variants[variantindexcompleted])===null||_fetchProductInfoQuer128===void 0?void 0:_fetchProductInfoQuer128.hassale)==0&&parseFloat(getprice_discountpriceprops('defaultprice',1,variantindexcompleted)).toFixed(2),langdetect=='en'?'':fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer129=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer129===void 0||(_fetchProductInfoQuer129=_fetchProductInfoQuer129.data)===null||_fetchProductInfoQuer129===void 0?void 0:_fetchProductInfoQuer129.currencyname_ar)),/*#__PURE__*/React.createElement("p",{className:'m-0 p-0 linethrough wordbreak',style:{color:sectionproperties.prodsalePriceColor,fontSize:sectionproperties.prodsalepriceFontSize+'px',fontWeight:sectionproperties.prodsalePriceFontWeight}},fetchProductInfoQueryContext.data.data.productinfo.hassale==1&&variantindexcompleted!=undefined&&variantindexcompleted.length==0&&/*#__PURE__*/React.createElement("span",{className:langdetect=='en'?' d-flex align-items-center justify-content-end wordbreak text-right wordbreak ':' d-flex align-items-center justify-content-end wordbreak text-left wordbreak '},/*#__PURE__*/React.createElement("span",{className:"ml-2 mr-2",style:{textDecoration:'none'}},"-"),langdetect=='en'?fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer130=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer130===void 0||(_fetchProductInfoQuer130=_fetchProductInfoQuer130.data)===null||_fetchProductInfoQuer130===void 0?void 0:_fetchProductInfoQuer130.currencyname_en:'',' ',parseFloat(getprice_discountpriceprops('defaultprice',1,variantindexcompleted)),' ',langdetect=='en'?'':fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer131=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer131===void 0||(_fetchProductInfoQuer131=_fetchProductInfoQuer131.data)===null||_fetchProductInfoQuer131===void 0?void 0:_fetchProductInfoQuer131.currencyname_ar),variantindexcompleted!=undefined&&variantindexcompleted.length!=0&&(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer132=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer132===void 0||(_fetchProductInfoQuer132=_fetchProductInfoQuer132.data)===null||_fetchProductInfoQuer132===void 0||(_fetchProductInfoQuer132=_fetchProductInfoQuer132.productinfo)===null||_fetchProductInfoQuer132===void 0||(_fetchProductInfoQuer132=_fetchProductInfoQuer132.variants[variantindexcompleted])===null||_fetchProductInfoQuer132===void 0?void 0:_fetchProductInfoQuer132.hassale)==1&&/*#__PURE__*/React.createElement("span",{className:langdetect=='en'?' d-flex align-items-center justify-content-end wordbreak text-right wordbreak ':' d-flex align-items-center justify-content-end wordbreak text-left wordbreak '},/*#__PURE__*/React.createElement("span",{className:"ml-2 mr-2",style:{textDecoration:'none'}},"-"),langdetect=='en'?fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer133=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer133===void 0||(_fetchProductInfoQuer133=_fetchProductInfoQuer133.data)===null||_fetchProductInfoQuer133===void 0?void 0:_fetchProductInfoQuer133.currencyname_en:'',' ',parseFloat(getprice_discountpriceprops('defaultprice',1,variantindexcompleted)),' ',langdetect=='en'?'':fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer134=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer134===void 0||(_fetchProductInfoQuer134=_fetchProductInfoQuer134.data)===null||_fetchProductInfoQuer134===void 0?void 0:_fetchProductInfoQuer134.currencyname_ar))))),sectionproperties.availabilitybtnposition=='Bottom'&&sectionproperties.show_availability=='Show'&&(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer135=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer135===void 0||(_fetchProductInfoQuer135=_fetchProductInfoQuer135.data)===null||_fetchProductInfoQuer135===void 0||(_fetchProductInfoQuer135=_fetchProductInfoQuer135.productinfo)===null||_fetchProductInfoQuer135===void 0?void 0:_fetchProductInfoQuer135.isproducttobesold)==1&&/*#__PURE__*/React.createElement("div",{className:"col-lg-12 p-0 mb-3 mt-2"},/*#__PURE__*/React.createElement("div",{style:{width:sectionproperties.availability_width+'px',height:sectionproperties.availability_height+'px',background:fetchProductInfoQueryContext.data.data.productinfo.quantavailtype=='nolimit'?sectionproperties.availability_availablebgcolor:sectionproperties.availability_limitedbgcolor,borderRadius:sectionproperties.availability_borderrradius+'px',border:fetchProductInfoQueryContext.data.data.productinfo.quantavailtype=='nolimit'?sectionproperties.availability_borderwidtth+'px solid '+sectionproperties.availability_availabletextcolor:sectionproperties.availability_borderwidtth+'px solid '+sectionproperties.availability_limitedtextcolor,justifyContent:sectionproperties.availabilitytextalignment=='Centered'?'center':'start'},className:"d-flex align-items-center pl-3 pr-3"},/*#__PURE__*/React.createElement("p",{className:"m-0 p-0 font-weight-500 wordbreak",style:{color:fetchProductInfoQueryContext.data.data.productinfo.quantavailtype=='nolimit'?sectionproperties.availability_availabletextcolor:sectionproperties.availability_limitedtextcolor,fontSize:sectionproperties.availability_fontsize+'px',textAlign:sectionproperties.availabilitytextalignment=='Centered'?'center':langdetect=='en'?'left':'right'}},/*#__PURE__*/React.createElement("span",{style:{color:sectionproperties.availability_textcolor},className:"font-weight-600"},lang.availability,":"),/*#__PURE__*/React.createElement("span",{className:"ml-1 mr-1"},fetchProductInfoQueryContext.data.data.productinfo.quantavailtype=='nolimit'?lang.available:lang.limitedquantity)))),sectionproperties.showShareButton=='Show'&&sectionproperties.sharebtnstyle=='Style 1'&&/*#__PURE__*/React.createElement("div",{"class":"col-lg-12 p-0"},/*#__PURE__*/React.createElement("hr",{"class":"mb-3 mt-3",style:{borderColor:'#eee'}})),sectionproperties.showShareButton=='Show'&&sectionproperties.sharebtnstyle=='Style 1'&&/*#__PURE__*/React.createElement("div",{"class":"col-lg-12 mt-2 p-0"},ShareButtonsContainer()))))),sectionproperties.storeinfoposition=='On The Right'&&/*#__PURE__*/React.createElement("div",{className:langdetect=='en'?'col-lg-3 pr-0 border-md-none p-md-0 pt-4 pl-md-0 pr-md-0':'col-lg-3 pl-0 border-md-none md-0 pt-4 pl-md-0 pr-md-0',style:{borderLeft:langdetect=='en'?'1px solid #eee':0,borderRight:langdetect=='ar'?'1px solid #eee':0,display:sectionproperties.showfooterphonenumber=='Hide'&&sectionproperties.showfooteremail=='Hide'&&sectionproperties.showstoreinfo2=='Hide'&&sectionproperties.showstoreinfo1=='Hide'?'none':'block'}},/*#__PURE__*/React.createElement("div",{"class":"row m-0 w-100",style:{paddingLeft:langdetect=='en'?'.5em':0,paddingRight:langdetect=='ar'?'.5rem':0}},StoreInfoprops(),sectionproperties.showsizeguidebtn=='Show'&&sizeguideimage.length!=0&&(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer136=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer136===void 0||(_fetchProductInfoQuer136=_fetchProductInfoQuer136.data)===null||_fetchProductInfoQuer136===void 0||(_fetchProductInfoQuer136=_fetchProductInfoQuer136.productinfo)===null||_fetchProductInfoQuer136===void 0?void 0:_fetchProductInfoQuer136.hasvariants)==0&&/*#__PURE__*/React.createElement("div",{"class":"col-lg-12 allcentered mb-2 p-sm-0 mt-2"},/*#__PURE__*/React.createElement("button",{"class":productinfo_cssstyles.sizeguidebtn,style:{width:'100%',height:50,border:'1px solid '+sectionproperties.footerinfotext_color,borderRadius:sectionproperties.storeinfobtnborderradius+'px',textDecoration:'none',fontSize:18,fontWeight:600},onClick:function onClick(){setopensizeguidemodal(true);}},langdetect=='en'?sectionproperties.sizeguidecontentenglish:sectionproperties.sizeguidecontentarabic)),sectionproperties.showShareButton=='Show'&&sectionproperties.sharebtnstyle=='Style 2'&&/*#__PURE__*/React.createElement("div",{"class":"col-lg-12 p-0"},/*#__PURE__*/React.createElement("hr",{"class":"my-3"})),sectionproperties.showShareButton=='Show'&&sectionproperties.sharebtnstyle=='Style 2'&&/*#__PURE__*/React.createElement("div",{"class":"col-lg-12 p-0 allcentered mt-2"},ShareButtonsContainer())))))),Object.keys(sectionproperties).length!=0&&sectionproperties.productInformationType=='Portfolio'&&(authdetailsContext===null||authdetailsContext===void 0||(_authdetailsContext$i36=authdetailsContext.instinfo)===null||_authdetailsContext$i36===void 0?void 0:_authdetailsContext$i36.contactinfo.instid)!='678d1831ef638'&&(authdetailsContext===null||authdetailsContext===void 0||(_authdetailsContext$i37=authdetailsContext.instinfo)===null||_authdetailsContext$i37===void 0?void 0:_authdetailsContext$i37.contactinfo.instid)!='6911f91dc52ac'&&(authdetailsContext===null||authdetailsContext===void 0||(_authdetailsContext$i38=authdetailsContext.instinfo)===null||_authdetailsContext$i38===void 0?void 0:_authdetailsContext$i38.contactinfo.instid)!='680a0b8a31930'&&/*#__PURE__*/React.createElement("div",{"class":"".concat(productinfo_cssstyles.cardcontainer)+' row ml-0 mr-0 w-100 ',style:{minHeight:sectionproperties.height+'vh',paddingLeft:sectionproperties.productInformationType=='Portfolio'?0:'',paddingRight:sectionproperties.productInformationType=='Portfolio'?0:''}},/*#__PURE__*/React.createElement("div",{"class":"col-lg-12 allcentered p-0 mb-2"},/*#__PURE__*/React.createElement("div",{className:"h-100",style:{width:sectionproperties.image_width+'%'}},/*#__PURE__*/React.createElement(Imagekitimagecomp,{urlEndpoint:ikimagecredcontext===null||ikimagecredcontext===void 0?void 0:ikimagecredcontext.ikimageendpoint,publicKey:ikimagecredcontext===null||ikimagecredcontext===void 0?void 0:ikimagecredcontext.ikimagepublickey,path:'/tr:w-'+sectionproperties.imagetr_w+',h-'+sectionproperties.imagetr_h+'/'+(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer137=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer137===void 0||(_fetchProductInfoQuer137=_fetchProductInfoQuer137.data)===null||_fetchProductInfoQuer137===void 0||(_fetchProductInfoQuer137=_fetchProductInfoQuer137.productinfo)===null||_fetchProductInfoQuer137===void 0?void 0:_fetchProductInfoQuer137.productmainimage),style:{width:'100%',height:'100%',objectFit:'contain'},loading:"lazy"}))),/*#__PURE__*/React.createElement("div",{"class":"px-md-3 px-1025-1 col-12",style:{paddingRight:langdetect=='en'?sectionproperties.paddingRight+'px':sectionproperties.paddingLeft+'px',paddingLeft:langdetect=='en'?sectionproperties.paddingLeft+'px':sectionproperties.paddingRight+'px'}},sectionproperties.showmeasurementunit=='Show'&&MeasurementUnitSection(),/*#__PURE__*/React.createElement("div",{className:'col-lg-12 p-0 mb-1 d-flex align-items-center',style:{justifyContent:sectionproperties.productnamecentered=='Centered'?'center':'start'}},ProductNameSection()),/*#__PURE__*/React.createElement("div",{"class":"col-lg-12 col-md-12 p-0"},/*#__PURE__*/React.createElement("div",{"class":"row m-0 w-100"},/*#__PURE__*/React.createElement("div",{className:"col-lg-12 p-0 d-flex align-items-center"},ShortDescriptionTitle()),/*#__PURE__*/React.createElement("div",{"class":"col-lg-12 mt-3"},/*#__PURE__*/React.createElement("p",{className:'m-0 p-0 wordbreak',style:{textAlign:sectionproperties.productnamecentered=='Centered'?'center':langdetect=='en'?'left':'right',color:sectionproperties.prodCatColor},dangerouslySetInnerHTML:{__html:langdetect=='en'?fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer138=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer138===void 0||(_fetchProductInfoQuer138=_fetchProductInfoQuer138.data)===null||_fetchProductInfoQuer138===void 0||(_fetchProductInfoQuer138=_fetchProductInfoQuer138.productinfo)===null||_fetchProductInfoQuer138===void 0?void 0:_fetchProductInfoQuer138.short_description_en:fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer139=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer139===void 0||(_fetchProductInfoQuer139=_fetchProductInfoQuer139.data)===null||_fetchProductInfoQuer139===void 0||(_fetchProductInfoQuer139=_fetchProductInfoQuer139.productinfo)===null||_fetchProductInfoQuer139===void 0?void 0:_fetchProductInfoQuer139.short_description_ar}})))),/*#__PURE__*/React.createElement("div",{"class":"col-lg-12 text-start p-md-0"},/*#__PURE__*/React.createElement("div",{className:"row m-0 w-100"},fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer140=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer140===void 0||(_fetchProductInfoQuer140=_fetchProductInfoQuer140.data)===null||_fetchProductInfoQuer140===void 0||(_fetchProductInfoQuer140=_fetchProductInfoQuer140.productinfo)===null||_fetchProductInfoQuer140===void 0||(_fetchProductInfoQuer140=_fetchProductInfoQuer140.productfeatures)===null||_fetchProductInfoQuer140===void 0?void 0:_fetchProductInfoQuer140.map(function(fitem,findex){return/*#__PURE__*/React.createElement("div",{"class":' col-md-6 p-0 mb-3 mt-2 col-lg-'+sectionproperties.featuresnumcols},/*#__PURE__*/React.createElement("div",{"class":"row m-0 w-100 text-start"},/*#__PURE__*/React.createElement("div",{"class":"col-lg-12 text-start mb-3 text-uppercase p-0"},/*#__PURE__*/React.createElement("div",{style:{width:'20px'},"class":langdetect=='en'?'mr-2':'ml-2'},/*#__PURE__*/React.createElement(Imagekitimagecomp,{urlEndpoint:ikimagecredcontext===null||ikimagecredcontext===void 0?void 0:ikimagecredcontext.ikimageendpoint,publicKey:ikimagecredcontext===null||ikimagecredcontext===void 0?void 0:ikimagecredcontext.ikimagepublickey,path:fitem===null||fitem===void 0?void 0:fitem.feature_image_url,loading:"lazy",style:{maxWidth:'100%',maxHeight:'100%'}})),/*#__PURE__*/React.createElement("p",{"class":"m-0 p-0",style:{color:sectionproperties.featurecolor,fontWeight:sectionproperties.featurefontweight,fontSize:sectionproperties.featurefontsize}},langdetect=='en'?fitem===null||fitem===void 0?void 0:fitem.name_en:fitem===null||fitem===void 0?void 0:fitem.name_ar)),/*#__PURE__*/React.createElement("div",{"class":"col-lg-12 text-start text-capitalize"},/*#__PURE__*/React.createElement("p",{"class":"m-0 p-0",style:{color:sectionproperties.featurevaluecolor,fontWeight:sectionproperties.featurevaluefontweight,fontSize:sectionproperties.featurevaluefontsize}},langdetect=='en'?fitem===null||fitem===void 0?void 0:fitem.value_en:fitem===null||fitem===void 0?void 0:fitem.value_ar))));}))),/*#__PURE__*/React.createElement("div",{"class":"col-lg-12 p-0 my-4"},/*#__PURE__*/React.createElement("div",{"class":"row m-0 w-100"},(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer141=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer141===void 0||(_fetchProductInfoQuer141=_fetchProductInfoQuer141.data)===null||_fetchProductInfoQuer141===void 0||(_fetchProductInfoQuer141=_fetchProductInfoQuer141.productinfo)===null||_fetchProductInfoQuer141===void 0||(_fetchProductInfoQuer141=_fetchProductInfoQuer141.productimages)===null||_fetchProductInfoQuer141===void 0?void 0:_fetchProductInfoQuer141.length)!=0&&(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer142=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer142===void 0||(_fetchProductInfoQuer142=_fetchProductInfoQuer142.data)===null||_fetchProductInfoQuer142===void 0||(_fetchProductInfoQuer142=_fetchProductInfoQuer142.productinfo)===null||_fetchProductInfoQuer142===void 0?void 0:_fetchProductInfoQuer142.productimages.map(function(item,index){return/*#__PURE__*/React.createElement("div",{"class":"col-lg-4 col-sm-12 mb-md-2 p-md-0"},/*#__PURE__*/React.createElement("div",{"class":' w-100 h-100',style:{}},/*#__PURE__*/React.createElement(Imagekitimagecomp,{urlEndpoint:ikimagecredcontext===null||ikimagecredcontext===void 0?void 0:ikimagecredcontext.ikimageendpoint,publicKey:ikimagecredcontext===null||ikimagecredcontext===void 0?void 0:ikimagecredcontext.ikimagepublickey,path:'/tr:w-500,h-500/'+item.path,style:{width:'100%',height:'100%',objectFit:'contain'},loading:"lazy"})));})))),/*#__PURE__*/React.createElement("div",{"class":"col-lg-12 p-0 my-5"},/*#__PURE__*/React.createElement("div",{"class":"col-lg-12 p-0 d-flex justify-content-start"},/*#__PURE__*/React.createElement("p",{className:'text-black m-0 p-0 wordbreak',style:{textAlign:langdetect=='en'?'left':'right'},dangerouslySetInnerHTML:{__html:langdetect=='en'?fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer143=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer143===void 0||(_fetchProductInfoQuer143=_fetchProductInfoQuer143.data)===null||_fetchProductInfoQuer143===void 0||(_fetchProductInfoQuer143=_fetchProductInfoQuer143.productinfo)===null||_fetchProductInfoQuer143===void 0?void 0:_fetchProductInfoQuer143.description_en:fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer144=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer144===void 0||(_fetchProductInfoQuer144=_fetchProductInfoQuer144.data)===null||_fetchProductInfoQuer144===void 0||(_fetchProductInfoQuer144=_fetchProductInfoQuer144.productinfo)===null||_fetchProductInfoQuer144===void 0?void 0:_fetchProductInfoQuer144.description_ar}}))))),Object.keys(sectionproperties).length!=0&&(authdetailsContext===null||authdetailsContext===void 0||(_authdetailsContext$i39=authdetailsContext.instinfo)===null||_authdetailsContext$i39===void 0?void 0:_authdetailsContext$i39.contactinfo.instid)=='6911f91dc52ac'&&/*#__PURE__*/React.createElement("div",{"class":"".concat(productinfo_cssstyles.cardcontainer)+' row ml-0 mr-0 w-100 pl-md-2 pr-md-2 px-0 ',style:{minHeight:'100vh'}},/*#__PURE__*/React.createElement("div",{"class":"row m-0 w-100"},/*#__PURE__*/React.createElement("div",{"class":"col-lg-12 p-0 mb-3"},/*#__PURE__*/React.createElement("div",{"class":"row m-0 w-100"},/*#__PURE__*/React.createElement("div",{"class":'col-lg-12 p-0 d-flex justify-content-center h-sm-auto'// style={{ height: sectionproperties.bgcovercontain == 'Cover' ? sectionproperties.height + 'vh' : 'auto' }}
4372
+ })))))),(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer125=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer125===void 0||(_fetchProductInfoQuer125=_fetchProductInfoQuer125.data)===null||_fetchProductInfoQuer125===void 0||(_fetchProductInfoQuer125=_fetchProductInfoQuer125.productinfo)===null||_fetchProductInfoQuer125===void 0?void 0:_fetchProductInfoQuer125.isproducttobesold)==1&&sectionproperties.showtotalsection=='Show'&&/*#__PURE__*/React.createElement("div",{className:"col-lg-12 p-0 mb-3"},/*#__PURE__*/React.createElement("div",{className:"row m-0 w-100 d-flex flex-row"},/*#__PURE__*/React.createElement("p",{className:"m-0 p-0",style:{color:sectionproperties.total_color,fontSize:sectionproperties.total_fontsize+'px',fontWeight:sectionproperties.total_fontweight,textTransform:sectionproperties.total_texttransform}},lang.total,":"),/*#__PURE__*/React.createElement("div",{className:"col-lg-9 col-md-9 col-sm-9 d-flex align-items-center pl-1 pr-1"},/*#__PURE__*/React.createElement("p",{className:'m-0 p-0 wordbreak d-flex align-items-center justify-content-end',style:{fontSize:sectionproperties.prodpriceFontSize+'px',fontWeight:sectionproperties.prodPriceFontWeight,color:sectionproperties.prodPriceColor}},/*#__PURE__*/React.createElement("span",{className:langdetect=='en'?' d-flex align-items-center justify-content-end wordbreak text-right ':' d-flex align-items-center justify-content-end wordbreak text-left '},langdetect=='en'?fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer126=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer126===void 0||(_fetchProductInfoQuer126=_fetchProductInfoQuer126.data)===null||_fetchProductInfoQuer126===void 0?void 0:_fetchProductInfoQuer126.currencyname_en:'',' ',variantindexcompleted!=undefined&&variantindexcompleted.length==0&&fetchProductInfoQueryContext.data.data.productinfo.hassale==0&&parseFloat(getprice_discountpriceprops('defaultprice',1,variantindexcompleted)).toFixed(2),variantindexcompleted!=undefined&&variantindexcompleted.length==0&&fetchProductInfoQueryContext.data.data.productinfo.hassale==1&&parseFloat(getprice_discountpriceprops('defaultsaleprice',1,variantindexcompleted)).toFixed(2),variantindexcompleted!=undefined&&variantindexcompleted.length!=0&&(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer127=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer127===void 0||(_fetchProductInfoQuer127=_fetchProductInfoQuer127.data)===null||_fetchProductInfoQuer127===void 0||(_fetchProductInfoQuer127=_fetchProductInfoQuer127.productinfo)===null||_fetchProductInfoQuer127===void 0||(_fetchProductInfoQuer127=_fetchProductInfoQuer127.variants[variantindexcompleted])===null||_fetchProductInfoQuer127===void 0?void 0:_fetchProductInfoQuer127.hassale)==1&&parseFloat(getprice_discountpriceprops('defaultsaleprice',1,variantindexcompleted)).toFixed(2),variantindexcompleted!=undefined&&variantindexcompleted.length!=0&&(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer128=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer128===void 0||(_fetchProductInfoQuer128=_fetchProductInfoQuer128.data)===null||_fetchProductInfoQuer128===void 0||(_fetchProductInfoQuer128=_fetchProductInfoQuer128.productinfo)===null||_fetchProductInfoQuer128===void 0||(_fetchProductInfoQuer128=_fetchProductInfoQuer128.variants[variantindexcompleted])===null||_fetchProductInfoQuer128===void 0?void 0:_fetchProductInfoQuer128.hassale)==0&&parseFloat(getprice_discountpriceprops('defaultprice',1,variantindexcompleted)).toFixed(2),langdetect=='en'?'':fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer129=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer129===void 0||(_fetchProductInfoQuer129=_fetchProductInfoQuer129.data)===null||_fetchProductInfoQuer129===void 0?void 0:_fetchProductInfoQuer129.currencyname_ar)),/*#__PURE__*/React.createElement("p",{className:'m-0 p-0 linethrough wordbreak',style:{color:sectionproperties.prodsalePriceColor,fontSize:sectionproperties.prodsalepriceFontSize+'px',fontWeight:sectionproperties.prodsalePriceFontWeight}},fetchProductInfoQueryContext.data.data.productinfo.hassale==1&&variantindexcompleted!=undefined&&variantindexcompleted.length==0&&/*#__PURE__*/React.createElement("span",{className:langdetect=='en'?' d-flex align-items-center justify-content-end wordbreak text-right wordbreak ':' d-flex align-items-center justify-content-end wordbreak text-left wordbreak '},/*#__PURE__*/React.createElement("span",{className:"ml-2 mr-2",style:{textDecoration:'none'}},"-"),langdetect=='en'?fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer130=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer130===void 0||(_fetchProductInfoQuer130=_fetchProductInfoQuer130.data)===null||_fetchProductInfoQuer130===void 0?void 0:_fetchProductInfoQuer130.currencyname_en:'',' ',parseFloat(getprice_discountpriceprops('defaultprice',1,variantindexcompleted)),' ',langdetect=='en'?'':fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer131=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer131===void 0||(_fetchProductInfoQuer131=_fetchProductInfoQuer131.data)===null||_fetchProductInfoQuer131===void 0?void 0:_fetchProductInfoQuer131.currencyname_ar),variantindexcompleted!=undefined&&variantindexcompleted.length!=0&&(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer132=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer132===void 0||(_fetchProductInfoQuer132=_fetchProductInfoQuer132.data)===null||_fetchProductInfoQuer132===void 0||(_fetchProductInfoQuer132=_fetchProductInfoQuer132.productinfo)===null||_fetchProductInfoQuer132===void 0||(_fetchProductInfoQuer132=_fetchProductInfoQuer132.variants[variantindexcompleted])===null||_fetchProductInfoQuer132===void 0?void 0:_fetchProductInfoQuer132.hassale)==1&&/*#__PURE__*/React.createElement("span",{className:langdetect=='en'?' d-flex align-items-center justify-content-end wordbreak text-right wordbreak ':' d-flex align-items-center justify-content-end wordbreak text-left wordbreak '},/*#__PURE__*/React.createElement("span",{className:"ml-2 mr-2",style:{textDecoration:'none'}},"-"),langdetect=='en'?fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer133=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer133===void 0||(_fetchProductInfoQuer133=_fetchProductInfoQuer133.data)===null||_fetchProductInfoQuer133===void 0?void 0:_fetchProductInfoQuer133.currencyname_en:'',' ',parseFloat(getprice_discountpriceprops('defaultprice',1,variantindexcompleted)),' ',langdetect=='en'?'':fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer134=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer134===void 0||(_fetchProductInfoQuer134=_fetchProductInfoQuer134.data)===null||_fetchProductInfoQuer134===void 0?void 0:_fetchProductInfoQuer134.currencyname_ar))))),sectionproperties.availabilitybtnposition=='Bottom'&&sectionproperties.show_availability=='Show'&&(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer135=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer135===void 0||(_fetchProductInfoQuer135=_fetchProductInfoQuer135.data)===null||_fetchProductInfoQuer135===void 0||(_fetchProductInfoQuer135=_fetchProductInfoQuer135.productinfo)===null||_fetchProductInfoQuer135===void 0?void 0:_fetchProductInfoQuer135.isproducttobesold)==1&&/*#__PURE__*/React.createElement("div",{className:"col-lg-12 p-0 mb-3 mt-2"},/*#__PURE__*/React.createElement("div",{style:{width:sectionproperties.availability_width+'px',height:sectionproperties.availability_height+'px',background:fetchProductInfoQueryContext.data.data.productinfo.quantavailtype=='nolimit'?sectionproperties.availability_availablebgcolor:sectionproperties.availability_limitedbgcolor,borderRadius:sectionproperties.availability_borderrradius+'px',border:fetchProductInfoQueryContext.data.data.productinfo.quantavailtype=='nolimit'?sectionproperties.availability_borderwidtth+'px solid '+sectionproperties.availability_availabletextcolor:sectionproperties.availability_borderwidtth+'px solid '+sectionproperties.availability_limitedtextcolor,justifyContent:sectionproperties.availabilitytextalignment=='Centered'?'center':'start'},className:"d-flex align-items-center pl-3 pr-3"},/*#__PURE__*/React.createElement("p",{className:"m-0 p-0 font-weight-500 wordbreak",style:{color:fetchProductInfoQueryContext.data.data.productinfo.quantavailtype=='nolimit'?sectionproperties.availability_availabletextcolor:sectionproperties.availability_limitedtextcolor,fontSize:sectionproperties.availability_fontsize+'px',textAlign:sectionproperties.availabilitytextalignment=='Centered'?'center':langdetect=='en'?'left':'right'}},/*#__PURE__*/React.createElement("span",{style:{color:sectionproperties.availability_textcolor},className:"font-weight-600"},lang.availability,":"),/*#__PURE__*/React.createElement("span",{className:"ml-1 mr-1"},fetchProductInfoQueryContext.data.data.productinfo.quantavailtype=='nolimit'?lang.available:lang.limitedquantity)))),sectionproperties.showShareButton=='Show'&&sectionproperties.sharebtnstyle=='Style 1'&&/*#__PURE__*/React.createElement("div",{"class":"col-lg-12 p-0"},/*#__PURE__*/React.createElement("hr",{"class":"mb-3 mt-3",style:{borderColor:'#eee'}})),sectionproperties.showShareButton=='Show'&&sectionproperties.sharebtnstyle=='Style 1'&&/*#__PURE__*/React.createElement("div",{"class":"col-lg-12 mt-2 p-0"},ShareButtonsContainer()))))),sectionproperties.storeinfoposition=='On The Right'&&/*#__PURE__*/React.createElement("div",{className:langdetect=='en'?'col-lg-3 pr-0 border-md-none p-md-0 pt-4 pl-md-0 pr-md-0':'col-lg-3 pl-0 border-md-none md-0 pt-4 pl-md-0 pr-md-0',style:{borderLeft:langdetect=='en'?'1px solid #eee':0,borderRight:langdetect=='ar'?'1px solid #eee':0,display:sectionproperties.showfooterphonenumber=='Hide'&&sectionproperties.showfooteremail=='Hide'&&sectionproperties.showstoreinfo2=='Hide'&&sectionproperties.showstoreinfo1=='Hide'?'none':'block'}},/*#__PURE__*/React.createElement("div",{"class":"row m-0 w-100",style:{paddingLeft:langdetect=='en'?'.5em':0,paddingRight:langdetect=='ar'?'.5rem':0}},StoreInfoprops(),sectionproperties.showsizeguidebtn=='Show'&&sizeguideimage.length!=0&&(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer136=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer136===void 0||(_fetchProductInfoQuer136=_fetchProductInfoQuer136.data)===null||_fetchProductInfoQuer136===void 0||(_fetchProductInfoQuer136=_fetchProductInfoQuer136.productinfo)===null||_fetchProductInfoQuer136===void 0?void 0:_fetchProductInfoQuer136.hasvariants)==0&&/*#__PURE__*/React.createElement("div",{"class":"col-lg-12 allcentered mb-2 p-sm-0 mt-2"},/*#__PURE__*/React.createElement("button",{"class":productinfo_cssstyles.sizeguidebtn,style:{width:'100%',height:50,border:'1px solid '+sectionproperties.footerinfotext_color,borderRadius:sectionproperties.storeinfobtnborderradius+'px',textDecoration:'none',fontSize:18,fontWeight:600},onClick:function onClick(){setopensizeguidemodal(true);}},langdetect=='en'?sectionproperties.sizeguidecontentenglish:sectionproperties.sizeguidecontentarabic)),sectionproperties.showShareButton=='Show'&&sectionproperties.sharebtnstyle=='Style 2'&&/*#__PURE__*/React.createElement("div",{"class":"col-lg-12 p-0"},/*#__PURE__*/React.createElement("hr",{"class":"my-3"})),sectionproperties.showShareButton=='Show'&&sectionproperties.sharebtnstyle=='Style 2'&&/*#__PURE__*/React.createElement("div",{"class":"col-lg-12 p-0 allcentered mt-2"},ShareButtonsContainer())))))),Object.keys(sectionproperties).length!=0&&sectionproperties.productInformationType=='Portfolio'&&(authdetailsContext===null||authdetailsContext===void 0||(_authdetailsContext$i40=authdetailsContext.instinfo)===null||_authdetailsContext$i40===void 0?void 0:_authdetailsContext$i40.contactinfo.instid)!='678d1831ef638'&&(authdetailsContext===null||authdetailsContext===void 0||(_authdetailsContext$i41=authdetailsContext.instinfo)===null||_authdetailsContext$i41===void 0?void 0:_authdetailsContext$i41.contactinfo.instid)!='6911f91dc52ac'&&(authdetailsContext===null||authdetailsContext===void 0||(_authdetailsContext$i42=authdetailsContext.instinfo)===null||_authdetailsContext$i42===void 0?void 0:_authdetailsContext$i42.contactinfo.instid)!='680a0b8a31930'&&/*#__PURE__*/React.createElement("div",{"class":"".concat(productinfo_cssstyles.cardcontainer)+' row ml-0 mr-0 w-100 ',style:{minHeight:sectionproperties.height+'vh',paddingLeft:sectionproperties.productInformationType=='Portfolio'?0:'',paddingRight:sectionproperties.productInformationType=='Portfolio'?0:''}},/*#__PURE__*/React.createElement("div",{"class":"col-lg-12 allcentered p-0 mb-2"},/*#__PURE__*/React.createElement("div",{className:"h-100",style:{width:sectionproperties.image_width+'%'}},/*#__PURE__*/React.createElement(Imagekitimagecomp,{urlEndpoint:ikimagecredcontext===null||ikimagecredcontext===void 0?void 0:ikimagecredcontext.ikimageendpoint,publicKey:ikimagecredcontext===null||ikimagecredcontext===void 0?void 0:ikimagecredcontext.ikimagepublickey,path:'/tr:w-'+sectionproperties.imagetr_w+',h-'+sectionproperties.imagetr_h+'/'+(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer137=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer137===void 0||(_fetchProductInfoQuer137=_fetchProductInfoQuer137.data)===null||_fetchProductInfoQuer137===void 0||(_fetchProductInfoQuer137=_fetchProductInfoQuer137.productinfo)===null||_fetchProductInfoQuer137===void 0?void 0:_fetchProductInfoQuer137.productmainimage),style:{width:'100%',height:'100%',objectFit:'contain'},loading:"lazy"}))),/*#__PURE__*/React.createElement("div",{"class":"px-md-3 px-1025-1 col-12",style:{paddingRight:langdetect=='en'?sectionproperties.paddingRight+'px':sectionproperties.paddingLeft+'px',paddingLeft:langdetect=='en'?sectionproperties.paddingLeft+'px':sectionproperties.paddingRight+'px'}},sectionproperties.showmeasurementunit=='Show'&&MeasurementUnitSection(),/*#__PURE__*/React.createElement("div",{className:'col-lg-12 p-0 mb-1 d-flex align-items-center',style:{justifyContent:sectionproperties.productnamecentered=='Centered'?'center':'start'}},ProductNameSection()),/*#__PURE__*/React.createElement("div",{"class":"col-lg-12 col-md-12 p-0"},/*#__PURE__*/React.createElement("div",{"class":"row m-0 w-100"},/*#__PURE__*/React.createElement("div",{className:"col-lg-12 p-0 d-flex align-items-center"},ShortDescriptionTitle()),/*#__PURE__*/React.createElement("div",{"class":"col-lg-12 mt-3"},/*#__PURE__*/React.createElement("p",{className:'m-0 p-0 wordbreak',style:{textAlign:sectionproperties.productnamecentered=='Centered'?'center':langdetect=='en'?'left':'right',color:sectionproperties.prodCatColor},dangerouslySetInnerHTML:{__html:langdetect=='en'?fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer138=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer138===void 0||(_fetchProductInfoQuer138=_fetchProductInfoQuer138.data)===null||_fetchProductInfoQuer138===void 0||(_fetchProductInfoQuer138=_fetchProductInfoQuer138.productinfo)===null||_fetchProductInfoQuer138===void 0?void 0:_fetchProductInfoQuer138.short_description_en:fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer139=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer139===void 0||(_fetchProductInfoQuer139=_fetchProductInfoQuer139.data)===null||_fetchProductInfoQuer139===void 0||(_fetchProductInfoQuer139=_fetchProductInfoQuer139.productinfo)===null||_fetchProductInfoQuer139===void 0?void 0:_fetchProductInfoQuer139.short_description_ar}})))),/*#__PURE__*/React.createElement("div",{"class":"col-lg-12 text-start p-md-0"},/*#__PURE__*/React.createElement("div",{className:"row m-0 w-100"},fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer140=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer140===void 0||(_fetchProductInfoQuer140=_fetchProductInfoQuer140.data)===null||_fetchProductInfoQuer140===void 0||(_fetchProductInfoQuer140=_fetchProductInfoQuer140.productinfo)===null||_fetchProductInfoQuer140===void 0||(_fetchProductInfoQuer140=_fetchProductInfoQuer140.productfeatures)===null||_fetchProductInfoQuer140===void 0?void 0:_fetchProductInfoQuer140.map(function(fitem,findex){return/*#__PURE__*/React.createElement("div",{"class":' col-md-6 p-0 mb-3 mt-2 col-lg-'+sectionproperties.featuresnumcols},/*#__PURE__*/React.createElement("div",{"class":"row m-0 w-100 text-start"},/*#__PURE__*/React.createElement("div",{"class":"col-lg-12 text-start mb-3 text-uppercase p-0"},/*#__PURE__*/React.createElement("div",{style:{width:'20px'},"class":langdetect=='en'?'mr-2':'ml-2'},/*#__PURE__*/React.createElement(Imagekitimagecomp,{urlEndpoint:ikimagecredcontext===null||ikimagecredcontext===void 0?void 0:ikimagecredcontext.ikimageendpoint,publicKey:ikimagecredcontext===null||ikimagecredcontext===void 0?void 0:ikimagecredcontext.ikimagepublickey,path:fitem===null||fitem===void 0?void 0:fitem.feature_image_url,loading:"lazy",style:{maxWidth:'100%',maxHeight:'100%'}})),/*#__PURE__*/React.createElement("p",{"class":"m-0 p-0",style:{color:sectionproperties.featurecolor,fontWeight:sectionproperties.featurefontweight,fontSize:sectionproperties.featurefontsize}},langdetect=='en'?fitem===null||fitem===void 0?void 0:fitem.name_en:fitem===null||fitem===void 0?void 0:fitem.name_ar)),/*#__PURE__*/React.createElement("div",{"class":"col-lg-12 text-start text-capitalize"},/*#__PURE__*/React.createElement("p",{"class":"m-0 p-0",style:{color:sectionproperties.featurevaluecolor,fontWeight:sectionproperties.featurevaluefontweight,fontSize:sectionproperties.featurevaluefontsize}},langdetect=='en'?fitem===null||fitem===void 0?void 0:fitem.value_en:fitem===null||fitem===void 0?void 0:fitem.value_ar))));}))),/*#__PURE__*/React.createElement("div",{"class":"col-lg-12 p-0 my-4"},/*#__PURE__*/React.createElement("div",{"class":"row m-0 w-100"},(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer141=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer141===void 0||(_fetchProductInfoQuer141=_fetchProductInfoQuer141.data)===null||_fetchProductInfoQuer141===void 0||(_fetchProductInfoQuer141=_fetchProductInfoQuer141.productinfo)===null||_fetchProductInfoQuer141===void 0||(_fetchProductInfoQuer141=_fetchProductInfoQuer141.productimages)===null||_fetchProductInfoQuer141===void 0?void 0:_fetchProductInfoQuer141.length)!=0&&(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer142=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer142===void 0||(_fetchProductInfoQuer142=_fetchProductInfoQuer142.data)===null||_fetchProductInfoQuer142===void 0||(_fetchProductInfoQuer142=_fetchProductInfoQuer142.productinfo)===null||_fetchProductInfoQuer142===void 0?void 0:_fetchProductInfoQuer142.productimages.map(function(item,index){return/*#__PURE__*/React.createElement("div",{"class":"col-lg-4 col-sm-12 mb-md-2 p-md-0"},/*#__PURE__*/React.createElement("div",{"class":' w-100 h-100',style:{}},/*#__PURE__*/React.createElement(Imagekitimagecomp,{urlEndpoint:ikimagecredcontext===null||ikimagecredcontext===void 0?void 0:ikimagecredcontext.ikimageendpoint,publicKey:ikimagecredcontext===null||ikimagecredcontext===void 0?void 0:ikimagecredcontext.ikimagepublickey,path:'/tr:w-500,h-500/'+item.path,style:{width:'100%',height:'100%',objectFit:'contain'},loading:"lazy"})));})))),/*#__PURE__*/React.createElement("div",{"class":"col-lg-12 p-0 my-5"},/*#__PURE__*/React.createElement("div",{"class":"col-lg-12 p-0 d-flex justify-content-start"},/*#__PURE__*/React.createElement("p",{className:'text-black m-0 p-0 wordbreak',style:{textAlign:langdetect=='en'?'left':'right'},dangerouslySetInnerHTML:{__html:langdetect=='en'?fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer143=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer143===void 0||(_fetchProductInfoQuer143=_fetchProductInfoQuer143.data)===null||_fetchProductInfoQuer143===void 0||(_fetchProductInfoQuer143=_fetchProductInfoQuer143.productinfo)===null||_fetchProductInfoQuer143===void 0?void 0:_fetchProductInfoQuer143.description_en:fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer144=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer144===void 0||(_fetchProductInfoQuer144=_fetchProductInfoQuer144.data)===null||_fetchProductInfoQuer144===void 0||(_fetchProductInfoQuer144=_fetchProductInfoQuer144.productinfo)===null||_fetchProductInfoQuer144===void 0?void 0:_fetchProductInfoQuer144.description_ar}}))))),Object.keys(sectionproperties).length!=0&&(authdetailsContext===null||authdetailsContext===void 0||(_authdetailsContext$i43=authdetailsContext.instinfo)===null||_authdetailsContext$i43===void 0?void 0:_authdetailsContext$i43.contactinfo.instid)=='6911f91dc52ac'&&/*#__PURE__*/React.createElement("div",{"class":"".concat(productinfo_cssstyles.cardcontainer)+' row ml-0 mr-0 w-100 pl-md-2 pr-md-2 px-0 ',style:{minHeight:'100vh'}},/*#__PURE__*/React.createElement("div",{"class":"row m-0 w-100"},/*#__PURE__*/React.createElement("div",{"class":"col-lg-12 p-0 mb-3"},/*#__PURE__*/React.createElement("div",{"class":"row m-0 w-100"},/*#__PURE__*/React.createElement("div",{"class":'col-lg-12 p-0 d-flex justify-content-center h-sm-auto'// style={{ height: sectionproperties.bgcovercontain == 'Cover' ? sectionproperties.height + 'vh' : 'auto' }}
4053
4373
  ,style:{height:'60vh'}},/*#__PURE__*/React.createElement("div",{"class":'h-sm-auto',style:{position:'relative',width:'100vw',// height: sectionproperties.bgcovercontain == 'Cover' ? sectionproperties.height + 'vh' : 'auto',
4054
4374
  height:'60vh',overflow:'hidden'}},/*#__PURE__*/React.createElement(Slide,_extends({},Slideshowsettings,{transitionDuration:1500,duration:1500,arrow:true,easing:"ease"}),(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer145=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer145===void 0||(_fetchProductInfoQuer145=_fetchProductInfoQuer145.data)===null||_fetchProductInfoQuer145===void 0||(_fetchProductInfoQuer145=_fetchProductInfoQuer145.productinfo)===null||_fetchProductInfoQuer145===void 0||(_fetchProductInfoQuer145=_fetchProductInfoQuer145.productimages)===null||_fetchProductInfoQuer145===void 0?void 0:_fetchProductInfoQuer145.length)!=0&&(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer146=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer146===void 0||(_fetchProductInfoQuer146=_fetchProductInfoQuer146.data)===null||_fetchProductInfoQuer146===void 0||(_fetchProductInfoQuer146=_fetchProductInfoQuer146.productinfo)===null||_fetchProductInfoQuer146===void 0?void 0:_fetchProductInfoQuer146.productimages.map(function(item,index){if(item.is_size_guide!=1){return/*#__PURE__*/React.createElement("div",{"class":"row m-0 w-100 h-sm-auto",style:{// height: sectionproperties.bgcovercontain == 'Cover' ? sectionproperties.height + 'vh' : 'auto',
4055
4375
  height:'60vh'}},/*#__PURE__*/React.createElement("div",{"class":'p-0 align-items-center d-flex',key:index,style:_defineProperty({direction:langdetect=='en'?'ltr':'rtl',width:'100%',height:'100%'},"height",'60vh')},/*#__PURE__*/React.createElement(Imagekitimagecomp,{urlEndpoint:ikimagecredcontext===null||ikimagecredcontext===void 0?void 0:ikimagecredcontext.ikimageendpoint,publicKey:ikimagecredcontext===null||ikimagecredcontext===void 0?void 0:ikimagecredcontext.ikimagepublickey,path:'/tr:w-2000,h-700/'+item.path,style:{objectFit:sectionproperties.bgcovercontain=='Contain'?'contain':'cover',margin:0,padding:0,width:'100%',height:'100%'}})));}}))))))),/*#__PURE__*/React.createElement("div",{"class":"row m-0 w-100 px-5 mt-3 px-md-2"},/*#__PURE__*/React.createElement("div",{"class":"col-lg-9"},/*#__PURE__*/React.createElement("div",{"class":"row m-0 w-100 "},sectionproperties.showmeasurementunit=='Show'&&sectionproperties.measurementunitposition=='Above Name'&&MeasurementUnitSection(),/*#__PURE__*/React.createElement("div",{"class":"col-lg-12 p-0 text-start mb-2"},/*#__PURE__*/React.createElement("p",{className:"".concat(productinfo_cssstyles.productname)+' m-0 p-0 wordbreak d-flex font-sm-15 ',style:{textAlign:langdetect=='en'?'left':'right'}},langdetect=='en'?fetchProductInfoQueryContext.data.data.productinfo.name_en:fetchProductInfoQueryContext.data.data.productinfo.name_ar)),/*#__PURE__*/React.createElement("div",{"class":"col-lg-12 p-0 text-start mb-4"},/*#__PURE__*/React.createElement(ProductHeaderPricing,{actions:props.actions})),/*#__PURE__*/React.createElement("div",{"class":"col-lg-12 p-0 text-start mb-4"},/*#__PURE__*/React.createElement("p",{className:'m-0 p-0 wordbreak',style:{textAlign:langdetect=='en'?'left':'right',color:sectionproperties.prodCatColor},dangerouslySetInnerHTML:{__html:langdetect=='en'?fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer147=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer147===void 0||(_fetchProductInfoQuer147=_fetchProductInfoQuer147.data)===null||_fetchProductInfoQuer147===void 0||(_fetchProductInfoQuer147=_fetchProductInfoQuer147.productinfo)===null||_fetchProductInfoQuer147===void 0?void 0:_fetchProductInfoQuer147.description_en:fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer148=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer148===void 0||(_fetchProductInfoQuer148=_fetchProductInfoQuer148.data)===null||_fetchProductInfoQuer148===void 0||(_fetchProductInfoQuer148=_fetchProductInfoQuer148.productinfo)===null||_fetchProductInfoQuer148===void 0?void 0:_fetchProductInfoQuer148.description_ar}})),/*#__PURE__*/React.createElement("div",{"class":"col-lg-12 col-md-12 p-0 mb-4"},/*#__PURE__*/React.createElement("div",{"class":"row m-0 w-100"},/*#__PURE__*/React.createElement(Accordion,{allowMultipleExpanded:true,allowZeroExpanded:true,preExpanded:[0]},/*#__PURE__*/React.createElement(AccordionItem,{uuid:0},/*#__PURE__*/React.createElement(AccordionItemHeading,null,/*#__PURE__*/React.createElement(AccordionItemButton,null,/*#__PURE__*/React.createElement("div",{className:"col-lg-12 col-md-12 col-sm-12 p-0 d-flex align-items-center"},/*#__PURE__*/React.createElement(AccordionItemState,null,function(state){if(state.expanded==true){return/*#__PURE__*/React.createElement("i",{className:' h-100 d-flex align-items-center justify-content-end '},/*#__PURE__*/React.createElement(FaMinus,{color:sectionproperties.prodCatColor,size:20}));}else {return/*#__PURE__*/React.createElement("i",{className:' h-100 d-flex align-items-center justify-content-end '},/*#__PURE__*/React.createElement(FaPlus,{color:sectionproperties.prodCatColor,size:20}));}}),/*#__PURE__*/React.createElement("p",{className:"m-0 p-0 mx-4",style:{textAlign:langdetect=='en'?'left':'right',fontWeight:500,// fontWeight: sectionproperties.prodCatFontWeight,
@@ -4057,7 +4377,7 @@ color:sectionproperties.prodCatColor,// fontSize: sectionproperties.prodCatFontS
4057
4377
  fontSize:'24px'}},langdetect=='en'?'Facilities':'Facilities')))),/*#__PURE__*/React.createElement(AccordionItemPanel,{className:"p-0"},/*#__PURE__*/React.createElement("div",{"class":"row m-0 w-100 pl-3 pr-3 mt-3"},fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer149=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer149===void 0||(_fetchProductInfoQuer149=_fetchProductInfoQuer149.data)===null||_fetchProductInfoQuer149===void 0||(_fetchProductInfoQuer149=_fetchProductInfoQuer149.productinfo)===null||_fetchProductInfoQuer149===void 0||(_fetchProductInfoQuer149=_fetchProductInfoQuer149.productfeatures)===null||_fetchProductInfoQuer149===void 0?void 0:_fetchProductInfoQuer149.map(function(fitem,findex){return/*#__PURE__*/React.createElement("div",{"class":' col-md-12 p-0 mb-3 mt-2 col-xl-3 col-lg-4 col-md-6 col-sm-12 mb-3 d-flex align-items-center'},/*#__PURE__*/React.createElement("div",{"class":"row m-0 w-100 text-start"},/*#__PURE__*/React.createElement("div",{"class":"col-lg-12 text-start text-uppercase p-0"},/*#__PURE__*/React.createElement("div",{style:{width:'30px'},"class":langdetect=='en'?'mr-3':'ml-3'},/*#__PURE__*/React.createElement(Imagekitimagecomp,{urlEndpoint:ikimagecredcontext===null||ikimagecredcontext===void 0?void 0:ikimagecredcontext.ikimageendpoint,publicKey:ikimagecredcontext===null||ikimagecredcontext===void 0?void 0:ikimagecredcontext.ikimagepublickey,path:fitem===null||fitem===void 0?void 0:fitem.feature_image_url,loading:"lazy",style:{maxWidth:'100%',maxHeight:'100%'}})),/*#__PURE__*/React.createElement("p",{"class":"m-0 p-0",style:{color:sectionproperties.featurecolor,fontWeight:sectionproperties.featurefontweight,fontSize:17// fontSize: sectionproperties.featurefontsize,
4058
4378
  }},langdetect=='en'?fitem===null||fitem===void 0?void 0:fitem.name_en:fitem===null||fitem===void 0?void 0:fitem.name_ar)),fitem.type!='Checkbox'&&/*#__PURE__*/React.createElement("div",{"class":"col-lg-12 text-start text-capitalize"},/*#__PURE__*/React.createElement("p",{"class":"m-0 p-0",style:{color:sectionproperties.featurevaluecolor,fontWeight:sectionproperties.featurevaluefontweight,fontSize:sectionproperties.featurevaluefontsize}},langdetect=='en'?fitem===null||fitem===void 0?void 0:fitem.value_en:fitem===null||fitem===void 0?void 0:fitem.value_ar))));}))))))),/*#__PURE__*/React.createElement("div",{"class":"col-lg-12 col-md-12 p-0 mb-4"},/*#__PURE__*/React.createElement("div",{"class":"row m-0 w-100"},/*#__PURE__*/React.createElement(Accordion,{allowMultipleExpanded:true,allowZeroExpanded:true,preExpanded:[0]},/*#__PURE__*/React.createElement(AccordionItem,{uuid:0},/*#__PURE__*/React.createElement(AccordionItemHeading,null,/*#__PURE__*/React.createElement(AccordionItemButton,null,/*#__PURE__*/React.createElement("div",{className:"col-lg-12 col-md-12 col-sm-12 p-0 d-flex align-items-center"},/*#__PURE__*/React.createElement(AccordionItemState,null,function(state){if(state.expanded==true){return/*#__PURE__*/React.createElement("i",{className:' h-100 d-flex align-items-center justify-content-end '},/*#__PURE__*/React.createElement(FaMinus,{color:sectionproperties.prodCatColor,size:20}));}else {return/*#__PURE__*/React.createElement("i",{className:' h-100 d-flex align-items-center justify-content-end '},/*#__PURE__*/React.createElement(FaPlus,{color:sectionproperties.prodCatColor,size:20}));}}),/*#__PURE__*/React.createElement("p",{className:"m-0 p-0 mx-4",style:{textAlign:langdetect=='en'?'left':'right',fontWeight:500,// fontWeight: sectionproperties.prodCatFontWeight,
4059
4379
  color:sectionproperties.prodCatColor,// fontSize: sectionproperties.prodCatFontSize + 'px',
4060
- fontSize:'24px'}},langdetect=='en'?'Developer':'Developer')))),/*#__PURE__*/React.createElement(AccordionItemPanel,{className:"p-0"},/*#__PURE__*/React.createElement("div",{"class":"row m-0 w-100 px-2 mt-3 d-flex flex-row",style:{color:'#000'}},/*#__PURE__*/React.createElement("div",{"class":"col-lg-2 col-md-12 mb-md-3"},/*#__PURE__*/React.createElement("div",{style:{width:'100px',borderRadius:100,border:'1px solid #ccc'},"class":langdetect=='en'?'mr-3':'ml-3'},/*#__PURE__*/React.createElement(Imagekitimagecomp,{urlEndpoint:ikimagecredcontext===null||ikimagecredcontext===void 0?void 0:ikimagecredcontext.ikimageendpoint,publicKey:ikimagecredcontext===null||ikimagecredcontext===void 0?void 0:ikimagecredcontext.ikimagepublickey,path:fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer150=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer150===void 0||(_fetchProductInfoQuer150=_fetchProductInfoQuer150.data)===null||_fetchProductInfoQuer150===void 0||(_fetchProductInfoQuer150=_fetchProductInfoQuer150.productinfo)===null||_fetchProductInfoQuer150===void 0||(_fetchProductInfoQuer150=_fetchProductInfoQuer150.vendorinfo)===null||_fetchProductInfoQuer150===void 0?void 0:_fetchProductInfoQuer150.vendorlogourl,loading:"lazy",style:{maxWidth:'100%',maxHeight:'100%',borderRadius:100}}))),/*#__PURE__*/React.createElement("div",{"class":"col-lg-10 col-md-12"},/*#__PURE__*/React.createElement("p",{"class":"m-0 p-0",style:{fontSize:17,color:sectionproperties.featurecolor}},fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer151=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer151===void 0||(_fetchProductInfoQuer151=_fetchProductInfoQuer151.data)===null||_fetchProductInfoQuer151===void 0||(_fetchProductInfoQuer151=_fetchProductInfoQuer151.productinfo)===null||_fetchProductInfoQuer151===void 0||(_fetchProductInfoQuer151=_fetchProductInfoQuer151.vendorinfo)===null||_fetchProductInfoQuer151===void 0?void 0:_fetchProductInfoQuer151.address)))))))))),/*#__PURE__*/React.createElement("div",{"class":"col-lg-3"},/*#__PURE__*/React.createElement("div",{"class":"row m-0 w-100"},/*#__PURE__*/React.createElement("div",{"class":"col-12 p-0 text-end text-md-center mb-5 mb-md-4"},/*#__PURE__*/React.createElement("button",{className:' mx-4 mx-md-2 d-flex align-items-center justify-content-center ',onClick:function onClick(){var _fetchProductInfoQuer152;window.open('tel:'+((_fetchProductInfoQuer152=fetchProductInfoQueryContext.data.data.productinfo)===null||_fetchProductInfoQuer152===void 0?void 0:_fetchProductInfoQuer152.product_phonenumber),'_blank');},style:{width:'40%',borderRadius:7,color:'white',fontSize:15,height:43,background:'#005495'}},/*#__PURE__*/React.createElement(IoCall,{size:16}),/*#__PURE__*/React.createElement("span",{"class":langdetect=='en'?'ml-1':'mr-1'},"Call Us")),/*#__PURE__*/React.createElement("a",{href:langdetect=='en'?whatsappUrl:whatsappUrl_ar,target:"_blank",rel:"noopener noreferrer",style:{width:'40%'},"class":"mx-md-2"},/*#__PURE__*/React.createElement("button",{className:' d-flex align-items-center justify-content-center ',style:{width:'100%',borderRadius:7,color:'white',fontSize:15,height:43,background:'#4cd964'}},/*#__PURE__*/React.createElement(FaWhatsapp,{size:16}),/*#__PURE__*/React.createElement("span",{"class":langdetect=='en'?'ml-1':'mr-1'},"WhatsApp")))),/*#__PURE__*/React.createElement("div",{"class":"col-12 allcentered mb-3 p-md-0"},/*#__PURE__*/React.createElement("button",{className:"".concat(productinfo_cssstyles.sizeguidebtn2," ")+' ml-2 mr-2 d-flex align-items-center justify-content-center mb-sm-2 ',onClick:function onClick(){setopensizeguidemodal(true);}},/*#__PURE__*/React.createElement("p",{"class":' m-0 p-0 cursor-pointer '},langdetect=='en'?sectionproperties.sizeguidecontentenglish:sectionproperties.sizeguidecontentarabic))),sectionproperties.cartBtnShow=='Show'&&/*#__PURE__*/React.createElement("div",{"class":"col-12 allcentered p-md-0 mb-md-5"},/*#__PURE__*/React.createElement("button",{className:"".concat(productinfo_cssstyles.cart_btn," ")+' ml-2 mr-2 d-flex align-items-center justify-content-center mb-sm-2 ',onClick:function onClick(){if(fetchProductInfoQueryContext.data.data.productinfo.product_calltoaction=='Call'){var _fetchProductInfoQuer153;window.open('tel:'+((_fetchProductInfoQuer153=fetchProductInfoQueryContext.data.data.productinfo)===null||_fetchProductInfoQuer153===void 0?void 0:_fetchProductInfoQuer153.product_phonenumber),'_blank');}else {if(fetchProductInfoQueryContext.data.data.productinfo.maximumproductquant>=addtocardpayloadobj.quantity&&fetchProductInfoQueryContext.data.data.productinfo.minimumproductquant<=addtocardpayloadobj.quantity){addtocartfunc();}else {NotificationManager.warning('',lang.maximum+': '+fetchProductInfoQueryContext.data.data.productinfo.maximumproductquant+', '+lang.minimum+': '+fetchProductInfoQueryContext.data.data.productinfo.minimumproductquant);}}},disabled:AddtoCartMutationContext.isLoading==true?true:false},!AddtoCartMutationContext.isLoading&&/*#__PURE__*/React.createElement("span",{className:' d-flex align-items-center justify-content-center ',style:{fontWeight:sectionproperties.cartBtnTextfontweight}},/*#__PURE__*/React.createElement("i",{className:langdetect=='en'?'h-100 d-flex align-items-center justify-content-center mr-2':'h-100 d-flex align-items-center justify-content-center ml-2'},sectionproperties.carticonstyle=='Shopping bag 1'&&/*#__PURE__*/React.createElement(FiShoppingBag,{className:"",size:sectionproperties.cartBtn_iconFontSize}),sectionproperties.carticonstyle=='Shopping bag 2'&&/*#__PURE__*/React.createElement(CgShoppingBag,{className:"",size:sectionproperties.cartBtn_iconFontSize}),sectionproperties.carticonstyle=='Shopping bag 3'&&/*#__PURE__*/React.createElement(BsBag,{className:"",size:sectionproperties.cartBtn_iconFontSize}),sectionproperties.carticonstyle=='Shopping bag 4'&&/*#__PURE__*/React.createElement(IoBagHandleOutline,{className:"",size:sectionproperties.cartBtn_iconFontSize}),sectionproperties.carticonstyle=='Shopping cart 1'&&/*#__PURE__*/React.createElement(FiShoppingCart,{className:"",size:sectionproperties.cartBtn_iconFontSize}),sectionproperties.carticonstyle=='Shopping cart 2'&&/*#__PURE__*/React.createElement(MdAddShoppingCart,{size:sectionproperties.cartBtn_iconFontSize})),langdetect=='en'?fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer154=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer154===void 0||(_fetchProductInfoQuer154=_fetchProductInfoQuer154.data)===null||_fetchProductInfoQuer154===void 0||(_fetchProductInfoQuer154=_fetchProductInfoQuer154.productinfo)===null||_fetchProductInfoQuer154===void 0?void 0:_fetchProductInfoQuer154.productactionbuttontext_en:fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer155=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer155===void 0||(_fetchProductInfoQuer155=_fetchProductInfoQuer155.data)===null||_fetchProductInfoQuer155===void 0||(_fetchProductInfoQuer155=_fetchProductInfoQuer155.productinfo)===null||_fetchProductInfoQuer155===void 0?void 0:_fetchProductInfoQuer155.productactionbuttontext_ar),AddtoCartMutationContext.isLoading&&/*#__PURE__*/React.createElement("div",{className:' d-flex align-items-center justify-content-center '},/*#__PURE__*/React.createElement(CircularProgress,{color:sectionproperties.cartBtnTextcolor,width:"20px",height:"20px",duration:"1s"}))))))))),Object.keys(sectionproperties).length!=0&&(authdetailsContext===null||authdetailsContext===void 0||(_authdetailsContext$i40=authdetailsContext.instinfo)===null||_authdetailsContext$i40===void 0?void 0:_authdetailsContext$i40.contactinfo.instid)=='678d1831ef638'&&/*#__PURE__*/React.createElement("div",{"class":"".concat(productinfo_cssstyles.cardcontainer)+' row ml-0 mr-0 w-100 pl-md-2 pr-md-2 px-0 ',style:{minHeight:'100vh'}},/*#__PURE__*/React.createElement("div",{"class":"row m-0 w-100"},/*#__PURE__*/React.createElement("div",{"class":"col-lg-12 p-0 mb-3"},/*#__PURE__*/React.createElement("div",{"class":"row m-0 w-100"},/*#__PURE__*/React.createElement("div",{"class":'col-lg-12 p-0 d-flex justify-content-center h-sm-auto'// style={{ height: sectionproperties.bgcovercontain == 'Cover' ? sectionproperties.height + 'vh' : 'auto' }}
4380
+ fontSize:'24px'}},langdetect=='en'?'Developer':'Developer')))),/*#__PURE__*/React.createElement(AccordionItemPanel,{className:"p-0"},/*#__PURE__*/React.createElement("div",{"class":"row m-0 w-100 px-2 mt-3 d-flex flex-row",style:{color:'#000'}},/*#__PURE__*/React.createElement("div",{"class":"col-lg-2 col-md-12 mb-md-3"},/*#__PURE__*/React.createElement("div",{style:{width:'100px',borderRadius:100,border:'1px solid #ccc'},"class":langdetect=='en'?'mr-3':'ml-3'},/*#__PURE__*/React.createElement(Imagekitimagecomp,{urlEndpoint:ikimagecredcontext===null||ikimagecredcontext===void 0?void 0:ikimagecredcontext.ikimageendpoint,publicKey:ikimagecredcontext===null||ikimagecredcontext===void 0?void 0:ikimagecredcontext.ikimagepublickey,path:fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer150=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer150===void 0||(_fetchProductInfoQuer150=_fetchProductInfoQuer150.data)===null||_fetchProductInfoQuer150===void 0||(_fetchProductInfoQuer150=_fetchProductInfoQuer150.productinfo)===null||_fetchProductInfoQuer150===void 0||(_fetchProductInfoQuer150=_fetchProductInfoQuer150.vendorinfo)===null||_fetchProductInfoQuer150===void 0?void 0:_fetchProductInfoQuer150.vendorlogourl,loading:"lazy",style:{maxWidth:'100%',maxHeight:'100%',borderRadius:100}}))),/*#__PURE__*/React.createElement("div",{"class":"col-lg-10 col-md-12"},/*#__PURE__*/React.createElement("p",{"class":"m-0 p-0",style:{fontSize:17,color:sectionproperties.featurecolor}},fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer151=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer151===void 0||(_fetchProductInfoQuer151=_fetchProductInfoQuer151.data)===null||_fetchProductInfoQuer151===void 0||(_fetchProductInfoQuer151=_fetchProductInfoQuer151.productinfo)===null||_fetchProductInfoQuer151===void 0||(_fetchProductInfoQuer151=_fetchProductInfoQuer151.vendorinfo)===null||_fetchProductInfoQuer151===void 0?void 0:_fetchProductInfoQuer151.address)))))))))),/*#__PURE__*/React.createElement("div",{"class":"col-lg-3"},/*#__PURE__*/React.createElement("div",{"class":"row m-0 w-100"},/*#__PURE__*/React.createElement("div",{"class":"col-12 p-0 text-end text-md-center mb-5 mb-md-4"},/*#__PURE__*/React.createElement("button",{className:' mx-4 mx-md-2 d-flex align-items-center justify-content-center ',onClick:function onClick(){var _fetchProductInfoQuer152;window.open('tel:'+((_fetchProductInfoQuer152=fetchProductInfoQueryContext.data.data.productinfo)===null||_fetchProductInfoQuer152===void 0?void 0:_fetchProductInfoQuer152.product_phonenumber),'_blank');},style:{width:'40%',borderRadius:7,color:'white',fontSize:15,height:43,background:'#005495'}},/*#__PURE__*/React.createElement(IoCall,{size:16}),/*#__PURE__*/React.createElement("span",{"class":langdetect=='en'?'ml-1':'mr-1'},"Call Us")),/*#__PURE__*/React.createElement("a",{href:langdetect=='en'?whatsappUrl:whatsappUrl_ar,target:"_blank",rel:"noopener noreferrer",style:{width:'40%'},"class":"mx-md-2"},/*#__PURE__*/React.createElement("button",{className:' d-flex align-items-center justify-content-center ',style:{width:'100%',borderRadius:7,color:'white',fontSize:15,height:43,background:'#4cd964'}},/*#__PURE__*/React.createElement(FaWhatsapp,{size:16}),/*#__PURE__*/React.createElement("span",{"class":langdetect=='en'?'ml-1':'mr-1'},"WhatsApp")))),/*#__PURE__*/React.createElement("div",{"class":"col-12 allcentered mb-3 p-md-0"},/*#__PURE__*/React.createElement("button",{className:"".concat(productinfo_cssstyles.sizeguidebtn2," ")+' ml-2 mr-2 d-flex align-items-center justify-content-center mb-sm-2 ',onClick:function onClick(){setopensizeguidemodal(true);}},/*#__PURE__*/React.createElement("p",{"class":' m-0 p-0 cursor-pointer '},langdetect=='en'?sectionproperties.sizeguidecontentenglish:sectionproperties.sizeguidecontentarabic))),sectionproperties.cartBtnShow=='Show'&&/*#__PURE__*/React.createElement("div",{"class":"col-12 allcentered p-md-0 mb-md-5"},/*#__PURE__*/React.createElement("button",{className:"".concat(productinfo_cssstyles.cart_btn," ")+' ml-2 mr-2 d-flex align-items-center justify-content-center mb-sm-2 ',onClick:function onClick(){if(fetchProductInfoQueryContext.data.data.productinfo.product_calltoaction=='Call'){var _fetchProductInfoQuer153;window.open('tel:'+((_fetchProductInfoQuer153=fetchProductInfoQueryContext.data.data.productinfo)===null||_fetchProductInfoQuer153===void 0?void 0:_fetchProductInfoQuer153.product_phonenumber),'_blank');}else {if(fetchProductInfoQueryContext.data.data.productinfo.maximumproductquant>=addtocardpayloadobj.quantity&&fetchProductInfoQueryContext.data.data.productinfo.minimumproductquant<=addtocardpayloadobj.quantity){addtocartfunc();}else {NotificationManager.warning('',lang.maximum+': '+fetchProductInfoQueryContext.data.data.productinfo.maximumproductquant+', '+lang.minimum+': '+fetchProductInfoQueryContext.data.data.productinfo.minimumproductquant);}}},disabled:AddtoCartMutationContext.isLoading==true?true:false},!AddtoCartMutationContext.isLoading&&/*#__PURE__*/React.createElement("span",{className:' d-flex align-items-center justify-content-center ',style:{fontWeight:sectionproperties.cartBtnTextfontweight}},/*#__PURE__*/React.createElement("i",{className:langdetect=='en'?'h-100 d-flex align-items-center justify-content-center mr-2':'h-100 d-flex align-items-center justify-content-center ml-2'},sectionproperties.carticonstyle=='Shopping bag 1'&&/*#__PURE__*/React.createElement(FiShoppingBag,{className:"",size:sectionproperties.cartBtn_iconFontSize}),sectionproperties.carticonstyle=='Shopping bag 2'&&/*#__PURE__*/React.createElement(CgShoppingBag,{className:"",size:sectionproperties.cartBtn_iconFontSize}),sectionproperties.carticonstyle=='Shopping bag 3'&&/*#__PURE__*/React.createElement(BsBag,{className:"",size:sectionproperties.cartBtn_iconFontSize}),sectionproperties.carticonstyle=='Shopping bag 4'&&/*#__PURE__*/React.createElement(IoBagHandleOutline,{className:"",size:sectionproperties.cartBtn_iconFontSize}),sectionproperties.carticonstyle=='Shopping cart 1'&&/*#__PURE__*/React.createElement(FiShoppingCart,{className:"",size:sectionproperties.cartBtn_iconFontSize}),sectionproperties.carticonstyle=='Shopping cart 2'&&/*#__PURE__*/React.createElement(MdAddShoppingCart,{size:sectionproperties.cartBtn_iconFontSize})),langdetect=='en'?fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer154=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer154===void 0||(_fetchProductInfoQuer154=_fetchProductInfoQuer154.data)===null||_fetchProductInfoQuer154===void 0||(_fetchProductInfoQuer154=_fetchProductInfoQuer154.productinfo)===null||_fetchProductInfoQuer154===void 0?void 0:_fetchProductInfoQuer154.productactionbuttontext_en:fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer155=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer155===void 0||(_fetchProductInfoQuer155=_fetchProductInfoQuer155.data)===null||_fetchProductInfoQuer155===void 0||(_fetchProductInfoQuer155=_fetchProductInfoQuer155.productinfo)===null||_fetchProductInfoQuer155===void 0?void 0:_fetchProductInfoQuer155.productactionbuttontext_ar),AddtoCartMutationContext.isLoading&&/*#__PURE__*/React.createElement("div",{className:' d-flex align-items-center justify-content-center '},/*#__PURE__*/React.createElement(CircularProgress,{color:sectionproperties.cartBtnTextcolor,width:"20px",height:"20px",duration:"1s"}))))))))),Object.keys(sectionproperties).length!=0&&(authdetailsContext===null||authdetailsContext===void 0||(_authdetailsContext$i44=authdetailsContext.instinfo)===null||_authdetailsContext$i44===void 0?void 0:_authdetailsContext$i44.contactinfo.instid)=='678d1831ef638'&&/*#__PURE__*/React.createElement("div",{"class":"".concat(productinfo_cssstyles.cardcontainer)+' row ml-0 mr-0 w-100 pl-md-2 pr-md-2 px-0 ',style:{minHeight:'100vh'}},/*#__PURE__*/React.createElement("div",{"class":"row m-0 w-100"},/*#__PURE__*/React.createElement("div",{"class":"col-lg-12 p-0 mb-3"},/*#__PURE__*/React.createElement("div",{"class":"row m-0 w-100"},/*#__PURE__*/React.createElement("div",{"class":'col-lg-12 p-0 d-flex justify-content-center h-sm-auto'// style={{ height: sectionproperties.bgcovercontain == 'Cover' ? sectionproperties.height + 'vh' : 'auto' }}
4061
4381
  ,style:{height:'60vh'}},/*#__PURE__*/React.createElement("div",{"class":'h-sm-auto',style:{position:'relative',width:'100vw',// height: sectionproperties.bgcovercontain == 'Cover' ? sectionproperties.height + 'vh' : 'auto',
4062
4382
  height:'60vh',overflow:'hidden'}},/*#__PURE__*/React.createElement(Slide,_extends({},Slideshowsettings,{transitionDuration:1500,duration:1500,arrow:true,easing:"ease"}),(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer156=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer156===void 0||(_fetchProductInfoQuer156=_fetchProductInfoQuer156.data)===null||_fetchProductInfoQuer156===void 0||(_fetchProductInfoQuer156=_fetchProductInfoQuer156.productinfo)===null||_fetchProductInfoQuer156===void 0||(_fetchProductInfoQuer156=_fetchProductInfoQuer156.productimages)===null||_fetchProductInfoQuer156===void 0?void 0:_fetchProductInfoQuer156.length)!=0&&(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer157=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer157===void 0||(_fetchProductInfoQuer157=_fetchProductInfoQuer157.data)===null||_fetchProductInfoQuer157===void 0||(_fetchProductInfoQuer157=_fetchProductInfoQuer157.productinfo)===null||_fetchProductInfoQuer157===void 0?void 0:_fetchProductInfoQuer157.productimages.map(function(item,index){if(item.is_size_guide!=1){return/*#__PURE__*/React.createElement("div",{"class":"row m-0 w-100 h-sm-auto",style:{// height: sectionproperties.bgcovercontain == 'Cover' ? sectionproperties.height + 'vh' : 'auto',
4063
4383
  height:'60vh'}},/*#__PURE__*/React.createElement("div",{"class":'p-0 align-items-center d-flex',key:index,style:_defineProperty({direction:langdetect=='en'?'ltr':'rtl',width:'100%',height:'100%'},"height",'60vh')},/*#__PURE__*/React.createElement(Imagekitimagecomp,{urlEndpoint:ikimagecredcontext===null||ikimagecredcontext===void 0?void 0:ikimagecredcontext.ikimageendpoint,publicKey:ikimagecredcontext===null||ikimagecredcontext===void 0?void 0:ikimagecredcontext.ikimagepublickey,path:'/tr:w-2000,h-700/'+item.path,style:{objectFit:sectionproperties.bgcovercontain=='Contain'?'contain':'cover',margin:0,padding:0,width:'100%',height:'100%'}})));}}))))))),/*#__PURE__*/React.createElement("div",{"class":"row m-0 w-100 px-5 mt-3 px-md-2"},/*#__PURE__*/React.createElement("div",{"class":"col-lg-9"},/*#__PURE__*/React.createElement("div",{"class":"row m-0 w-100 "},sectionproperties.showmeasurementunit=='Show'&&sectionproperties.measurementunitposition=='Above Name'&&MeasurementUnitSection(),/*#__PURE__*/React.createElement("div",{"class":"col-lg-12 p-0 text-start mb-2"},/*#__PURE__*/React.createElement("p",{className:"".concat(productinfo_cssstyles.productname)+' m-0 p-0 wordbreak d-flex font-sm-15 ',style:{textAlign:langdetect=='en'?'left':'right'}},langdetect=='en'?fetchProductInfoQueryContext.data.data.productinfo.name_en:fetchProductInfoQueryContext.data.data.productinfo.name_ar)),/*#__PURE__*/React.createElement("div",{"class":"col-lg-12 p-0 text-start mb-4"},/*#__PURE__*/React.createElement(ProductHeaderPricing,{actions:props.actions})),/*#__PURE__*/React.createElement("div",{"class":"col-lg-12 p-0 text-start mb-4"},/*#__PURE__*/React.createElement("p",{className:'m-0 p-0 wordbreak',style:{textAlign:langdetect=='en'?'left':'right',color:sectionproperties.prodCatColor},dangerouslySetInnerHTML:{__html:langdetect=='en'?fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer158=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer158===void 0||(_fetchProductInfoQuer158=_fetchProductInfoQuer158.data)===null||_fetchProductInfoQuer158===void 0||(_fetchProductInfoQuer158=_fetchProductInfoQuer158.productinfo)===null||_fetchProductInfoQuer158===void 0?void 0:_fetchProductInfoQuer158.description_en:fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer159=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer159===void 0||(_fetchProductInfoQuer159=_fetchProductInfoQuer159.data)===null||_fetchProductInfoQuer159===void 0||(_fetchProductInfoQuer159=_fetchProductInfoQuer159.productinfo)===null||_fetchProductInfoQuer159===void 0?void 0:_fetchProductInfoQuer159.description_ar}})),/*#__PURE__*/React.createElement("div",{"class":"col-lg-12 col-md-12 p-0 mb-4"},/*#__PURE__*/React.createElement("div",{"class":"row m-0 w-100"},/*#__PURE__*/React.createElement(Accordion,{allowMultipleExpanded:true,allowZeroExpanded:true,preExpanded:[0]},/*#__PURE__*/React.createElement(AccordionItem,{uuid:0},/*#__PURE__*/React.createElement(AccordionItemHeading,null,/*#__PURE__*/React.createElement(AccordionItemButton,null,/*#__PURE__*/React.createElement("div",{className:"col-lg-12 col-md-12 col-sm-12 p-0 d-flex align-items-center"},/*#__PURE__*/React.createElement(AccordionItemState,null,function(state){if(state.expanded==true){return/*#__PURE__*/React.createElement("i",{className:' h-100 d-flex align-items-center justify-content-end '},/*#__PURE__*/React.createElement(FaMinus,{color:sectionproperties.prodCatColor,size:20}));}else {return/*#__PURE__*/React.createElement("i",{className:' h-100 d-flex align-items-center justify-content-end '},/*#__PURE__*/React.createElement(FaPlus,{color:sectionproperties.prodCatColor,size:20}));}}),/*#__PURE__*/React.createElement("p",{className:"m-0 p-0 mx-4",style:{textAlign:langdetect=='en'?'left':'right',fontWeight:500,// fontWeight: sectionproperties.prodCatFontWeight,
@@ -4065,7 +4385,7 @@ color:sectionproperties.prodCatColor,// fontSize: sectionproperties.prodCatFontS
4065
4385
  fontSize:'24px'}},langdetect=='en'?'Facilities':'Facilities')))),/*#__PURE__*/React.createElement(AccordionItemPanel,{className:"p-0"},/*#__PURE__*/React.createElement("div",{"class":"row m-0 w-100 pl-3 pr-3 mt-3"},fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer160=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer160===void 0||(_fetchProductInfoQuer160=_fetchProductInfoQuer160.data)===null||_fetchProductInfoQuer160===void 0||(_fetchProductInfoQuer160=_fetchProductInfoQuer160.productinfo)===null||_fetchProductInfoQuer160===void 0||(_fetchProductInfoQuer160=_fetchProductInfoQuer160.productfeatures)===null||_fetchProductInfoQuer160===void 0?void 0:_fetchProductInfoQuer160.map(function(fitem,findex){return/*#__PURE__*/React.createElement("div",{"class":' col-md-12 p-0 mb-3 mt-2 col-xl-3 col-lg-4 col-md-6 col-sm-12 mb-3 d-flex align-items-center'},/*#__PURE__*/React.createElement("div",{"class":"row m-0 w-100 text-start"},/*#__PURE__*/React.createElement("div",{"class":"col-lg-12 text-start text-uppercase p-0"},/*#__PURE__*/React.createElement("div",{style:{width:'30px'},"class":langdetect=='en'?'mr-3':'ml-3'},/*#__PURE__*/React.createElement(Imagekitimagecomp,{urlEndpoint:ikimagecredcontext===null||ikimagecredcontext===void 0?void 0:ikimagecredcontext.ikimageendpoint,publicKey:ikimagecredcontext===null||ikimagecredcontext===void 0?void 0:ikimagecredcontext.ikimagepublickey,path:fitem===null||fitem===void 0?void 0:fitem.feature_image_url,loading:"lazy",style:{maxWidth:'100%',maxHeight:'100%'}})),/*#__PURE__*/React.createElement("p",{"class":"m-0 p-0",style:{color:sectionproperties.featurecolor,fontWeight:sectionproperties.featurefontweight,fontSize:17// fontSize: sectionproperties.featurefontsize,
4066
4386
  }},langdetect=='en'?fitem===null||fitem===void 0?void 0:fitem.name_en:fitem===null||fitem===void 0?void 0:fitem.name_ar)),fitem.type!='Checkbox'&&/*#__PURE__*/React.createElement("div",{"class":"col-lg-12 text-start text-capitalize"},/*#__PURE__*/React.createElement("p",{"class":"m-0 p-0",style:{color:sectionproperties.featurevaluecolor,fontWeight:sectionproperties.featurevaluefontweight,fontSize:sectionproperties.featurevaluefontsize}},langdetect=='en'?fitem===null||fitem===void 0?void 0:fitem.value_en:fitem===null||fitem===void 0?void 0:fitem.value_ar))));}))))))),/*#__PURE__*/React.createElement("div",{"class":"col-lg-12 col-md-12 p-0 mb-4"},/*#__PURE__*/React.createElement("div",{"class":"row m-0 w-100"},/*#__PURE__*/React.createElement(Accordion,{allowMultipleExpanded:true,allowZeroExpanded:true,preExpanded:[0]},/*#__PURE__*/React.createElement(AccordionItem,{uuid:0},/*#__PURE__*/React.createElement(AccordionItemHeading,null,/*#__PURE__*/React.createElement(AccordionItemButton,null,/*#__PURE__*/React.createElement("div",{className:"col-lg-12 col-md-12 col-sm-12 p-0 d-flex align-items-center"},/*#__PURE__*/React.createElement(AccordionItemState,null,function(state){if(state.expanded==true){return/*#__PURE__*/React.createElement("i",{className:' h-100 d-flex align-items-center justify-content-end '},/*#__PURE__*/React.createElement(FaMinus,{color:sectionproperties.prodCatColor,size:20}));}else {return/*#__PURE__*/React.createElement("i",{className:' h-100 d-flex align-items-center justify-content-end '},/*#__PURE__*/React.createElement(FaPlus,{color:sectionproperties.prodCatColor,size:20}));}}),/*#__PURE__*/React.createElement("p",{className:"m-0 p-0 mx-4",style:{textAlign:langdetect=='en'?'left':'right',fontWeight:500,// fontWeight: sectionproperties.prodCatFontWeight,
4067
4387
  color:sectionproperties.prodCatColor,// fontSize: sectionproperties.prodCatFontSize + 'px',
4068
- fontSize:'24px'}},langdetect=='en'?'Developer':'Developer')))),/*#__PURE__*/React.createElement(AccordionItemPanel,{className:"p-0"},/*#__PURE__*/React.createElement("div",{"class":"row m-0 w-100 px-2 mt-3 d-flex flex-row",style:{color:'#000'}},/*#__PURE__*/React.createElement("div",{"class":"col-lg-2 col-md-12 mb-md-3"},/*#__PURE__*/React.createElement("div",{style:{width:'100px',borderRadius:100,border:'1px solid #ccc'},"class":langdetect=='en'?'mr-3':'ml-3'},/*#__PURE__*/React.createElement(Imagekitimagecomp,{urlEndpoint:ikimagecredcontext===null||ikimagecredcontext===void 0?void 0:ikimagecredcontext.ikimageendpoint,publicKey:ikimagecredcontext===null||ikimagecredcontext===void 0?void 0:ikimagecredcontext.ikimagepublickey,path:fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer161=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer161===void 0||(_fetchProductInfoQuer161=_fetchProductInfoQuer161.data)===null||_fetchProductInfoQuer161===void 0||(_fetchProductInfoQuer161=_fetchProductInfoQuer161.productinfo)===null||_fetchProductInfoQuer161===void 0||(_fetchProductInfoQuer161=_fetchProductInfoQuer161.vendorinfo)===null||_fetchProductInfoQuer161===void 0?void 0:_fetchProductInfoQuer161.vendorlogourl,loading:"lazy",style:{maxWidth:'100%',maxHeight:'100%',borderRadius:100}}))),/*#__PURE__*/React.createElement("div",{"class":"col-lg-10 col-md-12"},/*#__PURE__*/React.createElement("p",{"class":"m-0 p-0",style:{fontSize:17,color:sectionproperties.featurecolor}},fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer162=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer162===void 0||(_fetchProductInfoQuer162=_fetchProductInfoQuer162.data)===null||_fetchProductInfoQuer162===void 0||(_fetchProductInfoQuer162=_fetchProductInfoQuer162.productinfo)===null||_fetchProductInfoQuer162===void 0||(_fetchProductInfoQuer162=_fetchProductInfoQuer162.vendorinfo)===null||_fetchProductInfoQuer162===void 0?void 0:_fetchProductInfoQuer162.address)))))))))),/*#__PURE__*/React.createElement("div",{"class":"col-lg-3"},/*#__PURE__*/React.createElement("div",{"class":"row m-0 w-100"},/*#__PURE__*/React.createElement("div",{"class":"col-12 p-0 text-end text-md-center mb-5 mb-md-4"},/*#__PURE__*/React.createElement("button",{className:' mx-4 mx-md-2 d-flex align-items-center justify-content-center ',onClick:function onClick(){var _fetchProductInfoQuer163;window.open('tel:'+((_fetchProductInfoQuer163=fetchProductInfoQueryContext.data.data.productinfo)===null||_fetchProductInfoQuer163===void 0?void 0:_fetchProductInfoQuer163.product_phonenumber),'_blank');},style:{width:'40%',borderRadius:7,color:'white',fontSize:15,height:43,background:'#005495'}},/*#__PURE__*/React.createElement(IoCall,{size:16}),/*#__PURE__*/React.createElement("span",{"class":langdetect=='en'?'ml-1':'mr-1'},"Call Us")),/*#__PURE__*/React.createElement("a",{href:langdetect=='en'?whatsappUrl:whatsappUrl_ar,target:"_blank",rel:"noopener noreferrer",style:{width:'40%'},"class":"mx-md-2"},/*#__PURE__*/React.createElement("button",{className:' d-flex align-items-center justify-content-center ',style:{width:'100%',borderRadius:7,color:'white',fontSize:15,height:43,background:'#4cd964'}},/*#__PURE__*/React.createElement(FaWhatsapp,{size:16}),/*#__PURE__*/React.createElement("span",{"class":langdetect=='en'?'ml-1':'mr-1'},"WhatsApp")))),/*#__PURE__*/React.createElement("div",{"class":"col-12 allcentered mb-3 p-md-0"},/*#__PURE__*/React.createElement("button",{className:"".concat(productinfo_cssstyles.sizeguidebtn2," ")+' ml-2 mr-2 d-flex align-items-center justify-content-center mb-sm-2 ',onClick:function onClick(){setopensizeguidemodal(true);}},/*#__PURE__*/React.createElement("p",{"class":' m-0 p-0 cursor-pointer '},langdetect=='en'?sectionproperties.sizeguidecontentenglish:sectionproperties.sizeguidecontentarabic))),/*#__PURE__*/React.createElement("div",{"class":"col-12 allcentered p-md-0 mb-md-5"},/*#__PURE__*/React.createElement("button",{className:"".concat(productinfo_cssstyles.cart_btn," ")+' ml-2 mr-2 d-flex align-items-center justify-content-center mb-sm-2 ',onClick:function onClick(){if(fetchProductInfoQueryContext.data.data.productinfo.product_calltoaction=='Call'){var _fetchProductInfoQuer164;window.open('tel:'+((_fetchProductInfoQuer164=fetchProductInfoQueryContext.data.data.productinfo)===null||_fetchProductInfoQuer164===void 0?void 0:_fetchProductInfoQuer164.product_phonenumber),'_blank');}else {if(fetchProductInfoQueryContext.data.data.productinfo.maximumproductquant>=addtocardpayloadobj.quantity&&fetchProductInfoQueryContext.data.data.productinfo.minimumproductquant<=addtocardpayloadobj.quantity){addtocartfunc();}else {NotificationManager.warning('',lang.maximum+': '+fetchProductInfoQueryContext.data.data.productinfo.maximumproductquant+', '+lang.minimum+': '+fetchProductInfoQueryContext.data.data.productinfo.minimumproductquant);}}},disabled:AddtoCartMutationContext.isLoading==true?true:false},!AddtoCartMutationContext.isLoading&&/*#__PURE__*/React.createElement("span",{className:' d-flex align-items-center justify-content-center ',style:{fontWeight:sectionproperties.cartBtnTextfontweight}},/*#__PURE__*/React.createElement("i",{className:langdetect=='en'?'h-100 d-flex align-items-center justify-content-center mr-2':'h-100 d-flex align-items-center justify-content-center ml-2'},sectionproperties.carticonstyle=='Shopping bag 1'&&/*#__PURE__*/React.createElement(FiShoppingBag,{className:"",size:sectionproperties.cartBtn_iconFontSize}),sectionproperties.carticonstyle=='Shopping bag 2'&&/*#__PURE__*/React.createElement(CgShoppingBag,{className:"",size:sectionproperties.cartBtn_iconFontSize}),sectionproperties.carticonstyle=='Shopping bag 3'&&/*#__PURE__*/React.createElement(BsBag,{className:"",size:sectionproperties.cartBtn_iconFontSize}),sectionproperties.carticonstyle=='Shopping bag 4'&&/*#__PURE__*/React.createElement(IoBagHandleOutline,{className:"",size:sectionproperties.cartBtn_iconFontSize}),sectionproperties.carticonstyle=='Shopping cart 1'&&/*#__PURE__*/React.createElement(FiShoppingCart,{className:"",size:sectionproperties.cartBtn_iconFontSize}),sectionproperties.carticonstyle=='Shopping cart 2'&&/*#__PURE__*/React.createElement(MdAddShoppingCart,{size:sectionproperties.cartBtn_iconFontSize})),langdetect=='en'?fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer165=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer165===void 0||(_fetchProductInfoQuer165=_fetchProductInfoQuer165.data)===null||_fetchProductInfoQuer165===void 0||(_fetchProductInfoQuer165=_fetchProductInfoQuer165.productinfo)===null||_fetchProductInfoQuer165===void 0?void 0:_fetchProductInfoQuer165.productactionbuttontext_en:fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer166=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer166===void 0||(_fetchProductInfoQuer166=_fetchProductInfoQuer166.data)===null||_fetchProductInfoQuer166===void 0||(_fetchProductInfoQuer166=_fetchProductInfoQuer166.productinfo)===null||_fetchProductInfoQuer166===void 0?void 0:_fetchProductInfoQuer166.productactionbuttontext_ar),AddtoCartMutationContext.isLoading&&/*#__PURE__*/React.createElement("div",{className:' d-flex align-items-center justify-content-center '},/*#__PURE__*/React.createElement(CircularProgress,{color:sectionproperties.cartBtnTextcolor,width:"20px",height:"20px",duration:"1s"})))))))))),sizeguideimage.length!=0&&/*#__PURE__*/React.createElement(Modal,{show:opensizeguidemodal,onHide:function onHide(){setopensizeguidemodal(false);},centered:true,size:'lg'},/*#__PURE__*/React.createElement(Modal.Body,null,/*#__PURE__*/React.createElement("div",{className:"allcentered cursor-pointer",onClick:function onClick(){setopensizeguidemodal(false);},style:{position:'absolute',top:10,width:35,height:35,right:10}},/*#__PURE__*/React.createElement("i",{"class":' h-100 allcentered text-black '},/*#__PURE__*/React.createElement(IoMdClose,{size:25,"class":productinfo_cssstyles.closemodalbtn}))),/*#__PURE__*/React.createElement("div",{"class":' w-100 h-100 px-4 py-5 ',style:{}},/*#__PURE__*/React.createElement(Imagekitimagecomp,{urlEndpoint:ikimagecredcontext===null||ikimagecredcontext===void 0?void 0:ikimagecredcontext.ikimageendpoint,publicKey:ikimagecredcontext===null||ikimagecredcontext===void 0?void 0:ikimagecredcontext.ikimagepublickey,path:(_sizeguideimage$=sizeguideimage[0])===null||_sizeguideimage$===void 0?void 0:_sizeguideimage$.original,style:{width:'100%',height:'100%',objectFit:'contain'},loading:"lazy"}))),/*#__PURE__*/React.createElement(Modal.Footer,null)),Object.keys(sectionproperties).length!=0&&(authdetailsContext===null||authdetailsContext===void 0||(_authdetailsContext$i41=authdetailsContext.instinfo)===null||_authdetailsContext$i41===void 0?void 0:_authdetailsContext$i41.contactinfo.instid)=='68319d088f13e'&&/*#__PURE__*/React.createElement("div",{"class":"col-12 p-0",style:{position:'fixed',bottom:0,background:'#fafafa',zIndex:999,boxShadow:'0 0 10px #ccc'}},/*#__PURE__*/React.createElement("div",{"class":"row m-0 w-100 px-2 py-3"},/*#__PURE__*/React.createElement("div",{"class":"col-5 allcentered"},QuantityButton('fixedcontainer')),/*#__PURE__*/React.createElement("div",{"class":"col-5"},/*#__PURE__*/React.createElement("div",{"class":"row m-0 w-100",style:{overflow:'hidden'}},/*#__PURE__*/React.createElement("button",{className:"".concat(productinfo_cssstyles.cart_btn," ")+' d-flex align-items-center justify-content-center ',style:{width:sectionproperties.cartBtnWidth+'%'},onClick:function onClick(){if(fetchProductInfoQueryContext.data.data.productinfo.product_calltoaction=='Call'){var _fetchProductInfoQuer167;window.open('tel:'+((_fetchProductInfoQuer167=fetchProductInfoQueryContext.data.data.productinfo)===null||_fetchProductInfoQuer167===void 0?void 0:_fetchProductInfoQuer167.product_phonenumber),'_blank');}else {if(fetchProductInfoQueryContext.data.data.productinfo.maximumproductquant>=addtocardpayloadobj.quantity&&fetchProductInfoQueryContext.data.data.productinfo.minimumproductquant<=addtocardpayloadobj.quantity){addtocartfunc();}else {NotificationManager.warning('',lang.maximum+': '+fetchProductInfoQueryContext.data.data.productinfo.maximumproductquant+', '+lang.minimum+': '+fetchProductInfoQueryContext.data.data.productinfo.minimumproductquant);}}},disabled:AddtoCartMutationContext.isLoading==true?true:false},!AddtoCartMutationContext.isLoading&&/*#__PURE__*/React.createElement("span",{className:' d-flex align-items-center justify-content-center ',style:{fontWeight:sectionproperties.cartBtnTextfontweight}},/*#__PURE__*/React.createElement("i",{className:langdetect=='en'?'h-100 d-flex align-items-center justify-content-center mr-2':'h-100 d-flex align-items-center justify-content-center ml-2'},sectionproperties.carticonstyle=='Shopping bag 1'&&/*#__PURE__*/React.createElement(FiShoppingBag,{className:"",size:sectionproperties.cartBtn_iconFontSize}),sectionproperties.carticonstyle=='Shopping bag 2'&&/*#__PURE__*/React.createElement(CgShoppingBag,{className:"",size:sectionproperties.cartBtn_iconFontSize}),sectionproperties.carticonstyle=='Shopping bag 3'&&/*#__PURE__*/React.createElement(BsBag,{className:"",size:sectionproperties.cartBtn_iconFontSize}),sectionproperties.carticonstyle=='Shopping bag 4'&&/*#__PURE__*/React.createElement(IoBagHandleOutline,{className:"",size:sectionproperties.cartBtn_iconFontSize}),sectionproperties.carticonstyle=='Shopping cart 1'&&/*#__PURE__*/React.createElement(FiShoppingCart,{className:"",size:sectionproperties.cartBtn_iconFontSize}),sectionproperties.carticonstyle=='Shopping cart 2'&&/*#__PURE__*/React.createElement(MdAddShoppingCart,{size:sectionproperties.cartBtn_iconFontSize})),langdetect=='en'?fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer168=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer168===void 0||(_fetchProductInfoQuer168=_fetchProductInfoQuer168.data)===null||_fetchProductInfoQuer168===void 0||(_fetchProductInfoQuer168=_fetchProductInfoQuer168.productinfo)===null||_fetchProductInfoQuer168===void 0?void 0:_fetchProductInfoQuer168.productactionbuttontext_en:fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer169=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer169===void 0||(_fetchProductInfoQuer169=_fetchProductInfoQuer169.data)===null||_fetchProductInfoQuer169===void 0||(_fetchProductInfoQuer169=_fetchProductInfoQuer169.productinfo)===null||_fetchProductInfoQuer169===void 0?void 0:_fetchProductInfoQuer169.productactionbuttontext_ar),AddtoCartMutationContext.isLoading&&/*#__PURE__*/React.createElement("div",{className:' d-flex align-items-center justify-content-center '},/*#__PURE__*/React.createElement(CircularProgress,{color:sectionproperties.cartBtnTextcolor,width:"20px",height:"20px",duration:"1s"}))))),/*#__PURE__*/React.createElement("div",{"class":"col-2 col-md-12 mt-md-2 allcentered"},/*#__PURE__*/React.createElement("button",{className:"".concat(productinfo_cssstyles.cart_btn," ")+' d-flex align-items-center justify-content-center ',style:{width:sectionproperties.cartBtnWidth+'%'},onClick:function onClick(){Ar_redirector();}},"DishDrop")))));};
4388
+ fontSize:'24px'}},langdetect=='en'?'Developer':'Developer')))),/*#__PURE__*/React.createElement(AccordionItemPanel,{className:"p-0"},/*#__PURE__*/React.createElement("div",{"class":"row m-0 w-100 px-2 mt-3 d-flex flex-row",style:{color:'#000'}},/*#__PURE__*/React.createElement("div",{"class":"col-lg-2 col-md-12 mb-md-3"},/*#__PURE__*/React.createElement("div",{style:{width:'100px',borderRadius:100,border:'1px solid #ccc'},"class":langdetect=='en'?'mr-3':'ml-3'},/*#__PURE__*/React.createElement(Imagekitimagecomp,{urlEndpoint:ikimagecredcontext===null||ikimagecredcontext===void 0?void 0:ikimagecredcontext.ikimageendpoint,publicKey:ikimagecredcontext===null||ikimagecredcontext===void 0?void 0:ikimagecredcontext.ikimagepublickey,path:fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer161=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer161===void 0||(_fetchProductInfoQuer161=_fetchProductInfoQuer161.data)===null||_fetchProductInfoQuer161===void 0||(_fetchProductInfoQuer161=_fetchProductInfoQuer161.productinfo)===null||_fetchProductInfoQuer161===void 0||(_fetchProductInfoQuer161=_fetchProductInfoQuer161.vendorinfo)===null||_fetchProductInfoQuer161===void 0?void 0:_fetchProductInfoQuer161.vendorlogourl,loading:"lazy",style:{maxWidth:'100%',maxHeight:'100%',borderRadius:100}}))),/*#__PURE__*/React.createElement("div",{"class":"col-lg-10 col-md-12"},/*#__PURE__*/React.createElement("p",{"class":"m-0 p-0",style:{fontSize:17,color:sectionproperties.featurecolor}},fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer162=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer162===void 0||(_fetchProductInfoQuer162=_fetchProductInfoQuer162.data)===null||_fetchProductInfoQuer162===void 0||(_fetchProductInfoQuer162=_fetchProductInfoQuer162.productinfo)===null||_fetchProductInfoQuer162===void 0||(_fetchProductInfoQuer162=_fetchProductInfoQuer162.vendorinfo)===null||_fetchProductInfoQuer162===void 0?void 0:_fetchProductInfoQuer162.address)))))))))),/*#__PURE__*/React.createElement("div",{"class":"col-lg-3"},/*#__PURE__*/React.createElement("div",{"class":"row m-0 w-100"},/*#__PURE__*/React.createElement("div",{"class":"col-12 p-0 text-end text-md-center mb-5 mb-md-4"},/*#__PURE__*/React.createElement("button",{className:' mx-4 mx-md-2 d-flex align-items-center justify-content-center ',onClick:function onClick(){var _fetchProductInfoQuer163;window.open('tel:'+((_fetchProductInfoQuer163=fetchProductInfoQueryContext.data.data.productinfo)===null||_fetchProductInfoQuer163===void 0?void 0:_fetchProductInfoQuer163.product_phonenumber),'_blank');},style:{width:'40%',borderRadius:7,color:'white',fontSize:15,height:43,background:'#005495'}},/*#__PURE__*/React.createElement(IoCall,{size:16}),/*#__PURE__*/React.createElement("span",{"class":langdetect=='en'?'ml-1':'mr-1'},"Call Us")),/*#__PURE__*/React.createElement("a",{href:langdetect=='en'?whatsappUrl:whatsappUrl_ar,target:"_blank",rel:"noopener noreferrer",style:{width:'40%'},"class":"mx-md-2"},/*#__PURE__*/React.createElement("button",{className:' d-flex align-items-center justify-content-center ',style:{width:'100%',borderRadius:7,color:'white',fontSize:15,height:43,background:'#4cd964'}},/*#__PURE__*/React.createElement(FaWhatsapp,{size:16}),/*#__PURE__*/React.createElement("span",{"class":langdetect=='en'?'ml-1':'mr-1'},"WhatsApp")))),/*#__PURE__*/React.createElement("div",{"class":"col-12 allcentered mb-3 p-md-0"},/*#__PURE__*/React.createElement("button",{className:"".concat(productinfo_cssstyles.sizeguidebtn2," ")+' ml-2 mr-2 d-flex align-items-center justify-content-center mb-sm-2 ',onClick:function onClick(){setopensizeguidemodal(true);}},/*#__PURE__*/React.createElement("p",{"class":' m-0 p-0 cursor-pointer '},langdetect=='en'?sectionproperties.sizeguidecontentenglish:sectionproperties.sizeguidecontentarabic))),/*#__PURE__*/React.createElement("div",{"class":"col-12 allcentered p-md-0 mb-md-5"},/*#__PURE__*/React.createElement("button",{className:"".concat(productinfo_cssstyles.cart_btn," ")+' ml-2 mr-2 d-flex align-items-center justify-content-center mb-sm-2 ',onClick:function onClick(){if(fetchProductInfoQueryContext.data.data.productinfo.product_calltoaction=='Call'){var _fetchProductInfoQuer164;window.open('tel:'+((_fetchProductInfoQuer164=fetchProductInfoQueryContext.data.data.productinfo)===null||_fetchProductInfoQuer164===void 0?void 0:_fetchProductInfoQuer164.product_phonenumber),'_blank');}else {if(fetchProductInfoQueryContext.data.data.productinfo.maximumproductquant>=addtocardpayloadobj.quantity&&fetchProductInfoQueryContext.data.data.productinfo.minimumproductquant<=addtocardpayloadobj.quantity){addtocartfunc();}else {NotificationManager.warning('',lang.maximum+': '+fetchProductInfoQueryContext.data.data.productinfo.maximumproductquant+', '+lang.minimum+': '+fetchProductInfoQueryContext.data.data.productinfo.minimumproductquant);}}},disabled:AddtoCartMutationContext.isLoading==true?true:false},!AddtoCartMutationContext.isLoading&&/*#__PURE__*/React.createElement("span",{className:' d-flex align-items-center justify-content-center ',style:{fontWeight:sectionproperties.cartBtnTextfontweight}},/*#__PURE__*/React.createElement("i",{className:langdetect=='en'?'h-100 d-flex align-items-center justify-content-center mr-2':'h-100 d-flex align-items-center justify-content-center ml-2'},sectionproperties.carticonstyle=='Shopping bag 1'&&/*#__PURE__*/React.createElement(FiShoppingBag,{className:"",size:sectionproperties.cartBtn_iconFontSize}),sectionproperties.carticonstyle=='Shopping bag 2'&&/*#__PURE__*/React.createElement(CgShoppingBag,{className:"",size:sectionproperties.cartBtn_iconFontSize}),sectionproperties.carticonstyle=='Shopping bag 3'&&/*#__PURE__*/React.createElement(BsBag,{className:"",size:sectionproperties.cartBtn_iconFontSize}),sectionproperties.carticonstyle=='Shopping bag 4'&&/*#__PURE__*/React.createElement(IoBagHandleOutline,{className:"",size:sectionproperties.cartBtn_iconFontSize}),sectionproperties.carticonstyle=='Shopping cart 1'&&/*#__PURE__*/React.createElement(FiShoppingCart,{className:"",size:sectionproperties.cartBtn_iconFontSize}),sectionproperties.carticonstyle=='Shopping cart 2'&&/*#__PURE__*/React.createElement(MdAddShoppingCart,{size:sectionproperties.cartBtn_iconFontSize})),langdetect=='en'?fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer165=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer165===void 0||(_fetchProductInfoQuer165=_fetchProductInfoQuer165.data)===null||_fetchProductInfoQuer165===void 0||(_fetchProductInfoQuer165=_fetchProductInfoQuer165.productinfo)===null||_fetchProductInfoQuer165===void 0?void 0:_fetchProductInfoQuer165.productactionbuttontext_en:fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer166=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer166===void 0||(_fetchProductInfoQuer166=_fetchProductInfoQuer166.data)===null||_fetchProductInfoQuer166===void 0||(_fetchProductInfoQuer166=_fetchProductInfoQuer166.productinfo)===null||_fetchProductInfoQuer166===void 0?void 0:_fetchProductInfoQuer166.productactionbuttontext_ar),AddtoCartMutationContext.isLoading&&/*#__PURE__*/React.createElement("div",{className:' d-flex align-items-center justify-content-center '},/*#__PURE__*/React.createElement(CircularProgress,{color:sectionproperties.cartBtnTextcolor,width:"20px",height:"20px",duration:"1s"})))))))))),sizeguideimage.length!=0&&/*#__PURE__*/React.createElement(Modal,{show:opensizeguidemodal,onHide:function onHide(){setopensizeguidemodal(false);},centered:true,size:'lg'},/*#__PURE__*/React.createElement(Modal.Body,null,/*#__PURE__*/React.createElement("div",{className:"allcentered cursor-pointer",onClick:function onClick(){setopensizeguidemodal(false);},style:{position:'absolute',top:10,width:35,height:35,right:10}},/*#__PURE__*/React.createElement("i",{"class":' h-100 allcentered text-black '},/*#__PURE__*/React.createElement(IoMdClose,{size:25,"class":productinfo_cssstyles.closemodalbtn}))),/*#__PURE__*/React.createElement("div",{"class":' w-100 h-100 px-4 py-5 ',style:{}},/*#__PURE__*/React.createElement(Imagekitimagecomp,{urlEndpoint:ikimagecredcontext===null||ikimagecredcontext===void 0?void 0:ikimagecredcontext.ikimageendpoint,publicKey:ikimagecredcontext===null||ikimagecredcontext===void 0?void 0:ikimagecredcontext.ikimagepublickey,path:(_sizeguideimage$=sizeguideimage[0])===null||_sizeguideimage$===void 0?void 0:_sizeguideimage$.original,style:{width:'100%',height:'100%',objectFit:'contain'},loading:"lazy"}))),/*#__PURE__*/React.createElement(Modal.Footer,null)),Object.keys(sectionproperties).length!=0&&(authdetailsContext===null||authdetailsContext===void 0||(_authdetailsContext$i45=authdetailsContext.instinfo)===null||_authdetailsContext$i45===void 0?void 0:_authdetailsContext$i45.contactinfo.instid)=='68319d088f13e'&&/*#__PURE__*/React.createElement("div",{"class":"col-12 p-0",style:{position:'fixed',bottom:0,background:'#fafafa',zIndex:999,boxShadow:'0 0 10px #ccc'}},/*#__PURE__*/React.createElement("div",{"class":"row m-0 w-100 px-2 py-3"},/*#__PURE__*/React.createElement("div",{"class":"col-5 allcentered"},QuantityButton('fixedcontainer')),/*#__PURE__*/React.createElement("div",{"class":"col-5"},/*#__PURE__*/React.createElement("div",{"class":"row m-0 w-100",style:{overflow:'hidden'}},/*#__PURE__*/React.createElement("button",{className:"".concat(productinfo_cssstyles.cart_btn," ")+' d-flex align-items-center justify-content-center ',style:{width:sectionproperties.cartBtnWidth+'%'},onClick:function onClick(){if(fetchProductInfoQueryContext.data.data.productinfo.product_calltoaction=='Call'){var _fetchProductInfoQuer167;window.open('tel:'+((_fetchProductInfoQuer167=fetchProductInfoQueryContext.data.data.productinfo)===null||_fetchProductInfoQuer167===void 0?void 0:_fetchProductInfoQuer167.product_phonenumber),'_blank');}else {if(fetchProductInfoQueryContext.data.data.productinfo.maximumproductquant>=addtocardpayloadobj.quantity&&fetchProductInfoQueryContext.data.data.productinfo.minimumproductquant<=addtocardpayloadobj.quantity){addtocartfunc();}else {NotificationManager.warning('',lang.maximum+': '+fetchProductInfoQueryContext.data.data.productinfo.maximumproductquant+', '+lang.minimum+': '+fetchProductInfoQueryContext.data.data.productinfo.minimumproductquant);}}},disabled:AddtoCartMutationContext.isLoading==true?true:false},!AddtoCartMutationContext.isLoading&&/*#__PURE__*/React.createElement("span",{className:' d-flex align-items-center justify-content-center ',style:{fontWeight:sectionproperties.cartBtnTextfontweight}},/*#__PURE__*/React.createElement("i",{className:langdetect=='en'?'h-100 d-flex align-items-center justify-content-center mr-2':'h-100 d-flex align-items-center justify-content-center ml-2'},sectionproperties.carticonstyle=='Shopping bag 1'&&/*#__PURE__*/React.createElement(FiShoppingBag,{className:"",size:sectionproperties.cartBtn_iconFontSize}),sectionproperties.carticonstyle=='Shopping bag 2'&&/*#__PURE__*/React.createElement(CgShoppingBag,{className:"",size:sectionproperties.cartBtn_iconFontSize}),sectionproperties.carticonstyle=='Shopping bag 3'&&/*#__PURE__*/React.createElement(BsBag,{className:"",size:sectionproperties.cartBtn_iconFontSize}),sectionproperties.carticonstyle=='Shopping bag 4'&&/*#__PURE__*/React.createElement(IoBagHandleOutline,{className:"",size:sectionproperties.cartBtn_iconFontSize}),sectionproperties.carticonstyle=='Shopping cart 1'&&/*#__PURE__*/React.createElement(FiShoppingCart,{className:"",size:sectionproperties.cartBtn_iconFontSize}),sectionproperties.carticonstyle=='Shopping cart 2'&&/*#__PURE__*/React.createElement(MdAddShoppingCart,{size:sectionproperties.cartBtn_iconFontSize})),langdetect=='en'?fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer168=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer168===void 0||(_fetchProductInfoQuer168=_fetchProductInfoQuer168.data)===null||_fetchProductInfoQuer168===void 0||(_fetchProductInfoQuer168=_fetchProductInfoQuer168.productinfo)===null||_fetchProductInfoQuer168===void 0?void 0:_fetchProductInfoQuer168.productactionbuttontext_en:fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer169=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer169===void 0||(_fetchProductInfoQuer169=_fetchProductInfoQuer169.data)===null||_fetchProductInfoQuer169===void 0||(_fetchProductInfoQuer169=_fetchProductInfoQuer169.productinfo)===null||_fetchProductInfoQuer169===void 0?void 0:_fetchProductInfoQuer169.productactionbuttontext_ar),AddtoCartMutationContext.isLoading&&/*#__PURE__*/React.createElement("div",{className:' d-flex align-items-center justify-content-center '},/*#__PURE__*/React.createElement(CircularProgress,{color:sectionproperties.cartBtnTextcolor,width:"20px",height:"20px",duration:"1s"}))))),/*#__PURE__*/React.createElement("div",{"class":"col-2 col-md-12 mt-md-2 allcentered"},/*#__PURE__*/React.createElement("button",{className:"".concat(productinfo_cssstyles.cart_btn," ")+' d-flex align-items-center justify-content-center ',style:{width:sectionproperties.cartBtnWidth+'%'},onClick:function onClick(){Ar_redirector();}},"DishDrop")))));};
4069
4389
 
4070
4390
  function ownKeys$2E(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; }
4071
4391
  function _objectSpread$2E(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$2E(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$2E(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
@@ -80993,11 +81313,34 @@ var Slideshowzoom = function Slideshowzoom(props) {
80993
81313
  }
80994
81314
  }),
80995
81315
  slideshow_btn_mazl: css({
80996
- zIndex: 1000,
81316
+ // zIndex: 1000,
81317
+ // height: sectionproperties.generalbtn_height + 'px',
81318
+ // width: sectionproperties.generalbtn_width + 'px',
81319
+ // background: 'transparent',
81320
+ // color: sectionproperties.generalbtn_bgColor,
81321
+ // borderTopLeftRadius: sectionproperties.generalbtn_bordertopleftradius + 'px',
81322
+ // borderTopRightRadius: sectionproperties.generalbtn_bordertoprightradius + 'px',
81323
+ // borderBottomLeftRadius: sectionproperties.generalbtn_borderbottomleftradius + 'px',
81324
+ // borderBottomRightRadius: sectionproperties.generalbtn_borderbottomrightradius + 'px',
81325
+ // fontSize: sectionproperties.generalbtn_fontsize + 'px',
81326
+ // lineHeight: sectionproperties.generalbtn_fontsize + 'px',
81327
+ // textTransform: sectionproperties.generalbtn_texttransform,
81328
+ // fontWeight: sectionproperties.generalbtn_fontweight,
81329
+ // transition: '.3s',
81330
+ // border: '1px solid ' + sectionproperties.generalbtn_bgColor,
81331
+ // ':hover': {
81332
+ // background: sectionproperties.generalbtn_bgColor,
81333
+ // color: 'white',
81334
+ // },
81335
+ // '@media (max-width: 800px)': {
81336
+ // width: sectionproperties.generalbtnwidthresp + 'px',
81337
+ // height: sectionproperties.generalbtnheightresponsive + 'px',
81338
+ // fontSize: sectionproperties.generalbtnfontsizeresp + 'px',
81339
+ // },
80997
81340
  height: sectionproperties.generalbtn_height + 'px',
80998
81341
  width: sectionproperties.generalbtn_width + 'px',
80999
- background: 'transparent',
81000
- color: sectionproperties.generalbtn_bgColor,
81342
+ background: sectionproperties.generalbtn_bgColor,
81343
+ color: sectionproperties.generalbtn_textColor,
81001
81344
  borderTopLeftRadius: sectionproperties.generalbtn_bordertopleftradius + 'px',
81002
81345
  borderTopRightRadius: sectionproperties.generalbtn_bordertoprightradius + 'px',
81003
81346
  borderBottomLeftRadius: sectionproperties.generalbtn_borderbottomleftradius + 'px',
@@ -81007,10 +81350,9 @@ var Slideshowzoom = function Slideshowzoom(props) {
81007
81350
  textTransform: sectionproperties.generalbtn_texttransform,
81008
81351
  fontWeight: sectionproperties.generalbtn_fontweight,
81009
81352
  transition: '.3s',
81010
- border: '1px solid ' + sectionproperties.generalbtn_bgColor,
81011
81353
  ':hover': {
81012
- background: sectionproperties.generalbtn_bgColor,
81013
- color: 'white'
81354
+ background: sectionproperties.generalbtn_bgColoronhover,
81355
+ color: sectionproperties.generalbtn_textColoronhover
81014
81356
  },
81015
81357
  '@media (max-width: 800px)': {
81016
81358
  width: sectionproperties.generalbtnwidthresp + 'px',
@@ -81019,7 +81361,29 @@ var Slideshowzoom = function Slideshowzoom(props) {
81019
81361
  }
81020
81362
  }),
81021
81363
  slideshow_btn2mazal: css({
81022
- zIndex: 1000,
81364
+ // zIndex: 1000,
81365
+ // height: sectionproperties.generalbtn_height + 'px',
81366
+ // width: sectionproperties.generalbtn_width + 'px',
81367
+ // background: sectionproperties.generalbtn_bgColor,
81368
+ // color: sectionproperties.generalbtn_textColor,
81369
+ // borderTopLeftRadius: sectionproperties.generalbtn_bordertopleftradius + 'px',
81370
+ // borderTopRightRadius: sectionproperties.generalbtn_bordertoprightradius + 'px',
81371
+ // borderBottomLeftRadius: sectionproperties.generalbtn_borderbottomleftradius + 'px',
81372
+ // borderBottomRightRadius: sectionproperties.generalbtn_borderbottomrightradius + 'px',
81373
+ // fontSize: sectionproperties.generalbtn_fontsize + 'px',
81374
+ // lineHeight: sectionproperties.generalbtn_fontsize + 'px',
81375
+ // textTransform: sectionproperties.generalbtn_texttransform,
81376
+ // fontWeight: sectionproperties.generalbtn_fontweight,
81377
+ // transition: '.3s',
81378
+ // ':hover': {
81379
+ // background: sectionproperties.generalbtn_bgColoronhover,
81380
+ // color: sectionproperties.generalbtn_textColoronhover,
81381
+ // },
81382
+ // '@media (max-width: 800px)': {
81383
+ // width: sectionproperties.generalbtnwidthresp + 'px',
81384
+ // height: sectionproperties.generalbtnheightresponsive + 'px',
81385
+ // fontSize: sectionproperties.generalbtnfontsizeresp + 'px',
81386
+ // },
81023
81387
  height: sectionproperties.generalbtn_height + 'px',
81024
81388
  width: sectionproperties.generalbtn_width + 'px',
81025
81389
  background: sectionproperties.generalbtn_bgColor,