tabexseriescomponents 0.0.821 → 0.0.823

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.cjs.js CHANGED
@@ -1357,83 +1357,6 @@ var defaultstyles = {
1357
1357
  });
1358
1358
  }
1359
1359
  };
1360
- var defaultstyleswhite = {
1361
- option: function option(provided, state) {
1362
- return _objectSpread$2A(_objectSpread$2A({}, provided), {}, {
1363
- borderBottom: '1px solid #e6e6e6',
1364
- backgroundColor: state.isSelected ? '' : '',
1365
- padding: 5,
1366
- textTransform: 'capitalize',
1367
- color: state.isSelected ? '#eac435' : 'black',
1368
- transition: '.3s',
1369
- '&:hover': {
1370
- cursor: 'pointer'
1371
- }
1372
- });
1373
- },
1374
- control: function control() {
1375
- return {
1376
- borderBottom: '1px solid #ccc',
1377
- display: 'flex',
1378
- cursor: 'pointer',
1379
- padding: 0,
1380
- transition: '.3s',
1381
- backgroundColor: 'white'
1382
- };
1383
- },
1384
- dropdownIndicator: function dropdownIndicator(provided) {
1385
- return _objectSpread$2A(_objectSpread$2A({}, provided), {}, {
1386
- '&:hover': {
1387
- // color: '#eac435',
1388
- }
1389
- });
1390
- }
1391
- };
1392
- var defaultstylestranslatedwhite = {
1393
- option: function option(provided, state) {
1394
- return _objectSpread$2A(_objectSpread$2A({}, provided), {}, {
1395
- borderBottom: '1px solid #e6e6e6',
1396
- backgroundColor: state.isSelected ? '' : '',
1397
- padding: 5,
1398
- textTransform: 'capitalize',
1399
- // color: state.isSelected ? '#eac435' : '#022648',
1400
- color: state.isSelected ? '#eac435' : '#ffffff',
1401
- transition: '.3s',
1402
- textAlign: 'right',
1403
- '&:hover': {
1404
- // color: '#eac435',
1405
- cursor: 'pointer'
1406
- }
1407
- });
1408
- },
1409
- control: function control() {
1410
- return {
1411
- borderBottom: '1px solid #ccc',
1412
- backgroundColor: 'white',
1413
- display: 'flex',
1414
- cursor: 'pointer',
1415
- padding: 0,
1416
- transition: '.3s',
1417
- textAlign: 'right',
1418
- '&:hover': {
1419
- // boxShadow: '0px 9px 20px rgba(75, 72, 72, 0.3)',
1420
- // borderRadius: '10px',
1421
- }
1422
- };
1423
- },
1424
- dropdownIndicator: function dropdownIndicator(provided) {
1425
- return _objectSpread$2A(_objectSpread$2A({}, provided), {}, {
1426
- '&:hover': {
1427
- // color: '#eac435',
1428
- }
1429
- });
1430
- },
1431
- placeholder: function placeholder(provided, state) {
1432
- return _objectSpread$2A(_objectSpread$2A({}, provided), {}, {
1433
- textAlign: 'right'
1434
- });
1435
- }
1436
- };
1437
1360
  var defaultstylestranslated = {
1438
1361
  option: function option(provided, state) {
1439
1362
  return _objectSpread$2A(_objectSpread$2A({}, provided), {}, {
@@ -1773,7 +1696,7 @@ var Variantoptions = function Variantoptions(props) {
1773
1696
  onClick: function onClick() {
1774
1697
  setopensizeguidemodal(true);
1775
1698
  }
1776
- }, langdetect == 'en' ? sectionproperties.sizeguidecontentenglish : sectionproperties.sizeguidecontentenglish))), langdetect == 'en' && (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 || (_fetchProductInfoQuer2 = _fetchProductInfoQuer2.variants[variantindexcompleted]) === null || _fetchProductInfoQuer2 === void 0 ? void 0 : _fetchProductInfoQuer2.variantdescription_en) && /*#__PURE__*/React__default["default"].createElement("div", {
1699
+ }, langdetect == 'en' ? sectionproperties.sizeguidecontentenglish : sectionproperties.sizeguidecontentarabic))), langdetect == 'en' && (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 || (_fetchProductInfoQuer2 = _fetchProductInfoQuer2.variants[variantindexcompleted]) === null || _fetchProductInfoQuer2 === void 0 ? void 0 : _fetchProductInfoQuer2.variantdescription_en) && /*#__PURE__*/React__default["default"].createElement("div", {
1777
1700
  "class": "my-3 col-lg-12 p-0"
1778
1701
  }, /*#__PURE__*/React__default["default"].createElement("p", {
1779
1702
  className: 'm-0 p-0 wordbreak',
@@ -2590,7 +2513,7 @@ var DescriptionContent = function DescriptionContent(props) {
2590
2513
  function ownKeys$2y(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; }
2591
2514
  function _objectSpread$2y(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$2y(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$2y(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
2592
2515
  var Product_itemtype = function Product_itemtype(props) {
2593
- var _authdetailsContext$i, _authdetailsContext$i2, _fetchProductInfoQuer2, _fetchProductInfoQuer3, _fetchProductInfoQuer4, _fetchProductInfoQuer5, _fetchProductInfoQuer6, _fetchProductInfoQuer7, _fetchProductInfoQuer8, _fetchProductInfoQuer9, _fetchProductInfoQuer10, _fetchProductInfoQuer11, _fetchProductInfoQuer12, _fetchProductInfoQuer13, _fetchProductInfoQuer14, _fetchProductInfoQuer15, _fetchProductInfoQuer16, _fetchProductInfoQuer17, _fetchProductInfoQuer18, _fetchProductInfoQuer19, _fetchProductInfoQuer20, _fetchProductInfoQuer21, _fetchProductInfoQuer22, _fetchProductInfoQuer23, _fetchProductInfoQuer24, _fetchProductInfoQuer25, _fetchProductInfoQuer26, _fetchProductInfoQuer27, _fetchProductInfoQuer28, _fetchProductInfoQuer29, _fetchProductInfoQuer30, _fetchProductInfoQuer31, _fetchProductInfoQuer42, _fetchProductInfoQuer43, _fetchProductInfoQuer45, _fetchProductInfoQuer46, _fetchProductInfoQuer47, _fetchProductInfoQuer49, _fetchProductInfoQuer50, _fetchProductInfoQuer51, _fetchProductInfoQuer52, _fetchProductInfoQuer53, _fetchProductInfoQuer54, _returnpolicyobj, _returnpolicyobj2, _returnpolicyobj3, _returnpolicyobj4, _returnpolicyobj5, _returnpolicyobj6, _returnpolicyobj7, _returnpolicyobj8, _fetchProductInfoQuer55, _fetchProductInfoQuer56, _fetchProductInfoQuer57, _fetchProductInfoQuer58, _fetchProductInfoQuer59, _fetchProductInfoQuer60, _fetchProductInfoQuer61, _fetchProductInfoQuer62, _fetchProductInfoQuer63, _fetchProductInfoQuer64, _fetchProductInfoQuer65, _fetchProductInfoQuer66, _fetchProductInfoQuer67;
2516
+ var _authdetailsContext$i, _authdetailsContext$i2, _fetchProductInfoQuer2, _fetchProductInfoQuer3, _fetchProductInfoQuer4, _fetchProductInfoQuer5, _fetchProductInfoQuer6, _fetchProductInfoQuer7, _fetchProductInfoQuer8, _fetchProductInfoQuer9, _fetchProductInfoQuer10, _fetchProductInfoQuer11, _fetchProductInfoQuer12, _fetchProductInfoQuer13, _fetchProductInfoQuer14, _fetchProductInfoQuer15, _fetchProductInfoQuer16, _fetchProductInfoQuer17, _fetchProductInfoQuer18, _fetchProductInfoQuer19, _fetchProductInfoQuer20, _fetchProductInfoQuer21, _fetchProductInfoQuer22, _fetchProductInfoQuer23, _fetchProductInfoQuer24, _fetchProductInfoQuer25, _fetchProductInfoQuer26, _fetchProductInfoQuer27, _fetchProductInfoQuer28, _fetchProductInfoQuer29, _fetchProductInfoQuer30, _fetchProductInfoQuer31, _fetchProductInfoQuer42, _fetchProductInfoQuer43, _fetchProductInfoQuer45, _fetchProductInfoQuer46, _fetchProductInfoQuer47, _fetchProductInfoQuer49, _fetchProductInfoQuer50, _fetchProductInfoQuer51, _fetchProductInfoQuer52, _fetchProductInfoQuer53, _fetchProductInfoQuer54, _fetchProductInfoQuer55, _fetchProductInfoQuer56, _fetchProductInfoQuer57, _returnpolicyobj, _returnpolicyobj2, _returnpolicyobj3, _returnpolicyobj4, _returnpolicyobj5, _returnpolicyobj6, _returnpolicyobj7, _returnpolicyobj8, _fetchProductInfoQuer58, _fetchProductInfoQuer59, _fetchProductInfoQuer60, _fetchProductInfoQuer61, _fetchProductInfoQuer62, _fetchProductInfoQuer63, _fetchProductInfoQuer64, _fetchProductInfoQuer65, _fetchProductInfoQuer66, _fetchProductInfoQuer67, _fetchProductInfoQuer68, _fetchProductInfoQuer69, _fetchProductInfoQuer70, _sizeguideimage$;
2594
2517
  var lang = props.actions.lang;
2595
2518
  var langdetect = props.actions.langdetect;
2596
2519
  var srcfromprops = props.actions.srcfromprops;
@@ -2618,33 +2541,40 @@ var Product_itemtype = function Product_itemtype(props) {
2618
2541
  var currentshowingimageindex_pro = props.actions.currentshowingimageindex;
2619
2542
  var StoreInfoprops = props.actions.StoreInfoprops;
2620
2543
  props.actions.productimagesarray;
2544
+ var sizeguideimage = props.actions.sizeguideimage;
2545
+ // const setopensizeguidemodal = props.actions.setopensizeguidemodal;
2546
+ // const opensizeguidemodal = props.actions.opensizeguidemodal;
2547
+ var _useState = React.useState(false),
2548
+ _useState2 = _slicedToArray__default["default"](_useState, 2),
2549
+ opensizeguidemodal = _useState2[0],
2550
+ setopensizeguidemodal = _useState2[1];
2621
2551
  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 + '/productinform/' + fetchProductInfoQueryContext.data.data.productinfo.productid);
2622
2552
  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 + '/productinform/' + fetchProductInfoQueryContext.data.data.productinfo.productid);
2623
- var _useState = React.useState(currentshowingimageindex_pro),
2624
- _useState2 = _slicedToArray__default["default"](_useState, 2),
2625
- currentshowingimageindex = _useState2[0],
2626
- setcurrentshowingimageindex = _useState2[1];
2627
- // const DescriptionContent = props.actions.DescriptionContent;
2628
- var _useState3 = React.useState(''),
2553
+ var _useState3 = React.useState(currentshowingimageindex_pro),
2629
2554
  _useState4 = _slicedToArray__default["default"](_useState3, 2),
2630
- shareUrl = _useState4[0],
2631
- setshareUrl = _useState4[1];
2555
+ currentshowingimageindex = _useState4[0],
2556
+ setcurrentshowingimageindex = _useState4[1];
2557
+ // const DescriptionContent = props.actions.DescriptionContent;
2632
2558
  var _useState5 = React.useState(''),
2633
2559
  _useState6 = _slicedToArray__default["default"](_useState5, 2),
2634
- title = _useState6[0],
2635
- settitle = _useState6[1];
2636
- var _useState7 = React.useState(fetchProductInfoQueryContext.data.data.productinfo),
2637
- _useState8 = _slicedToArray__default["default"](_useState7, 2);
2638
- _useState8[0];
2639
- var setitem = _useState8[1];
2640
- var _useState9 = React.useState(''),
2560
+ shareUrl = _useState6[0],
2561
+ setshareUrl = _useState6[1];
2562
+ var _useState7 = React.useState(''),
2563
+ _useState8 = _slicedToArray__default["default"](_useState7, 2),
2564
+ title = _useState8[0],
2565
+ settitle = _useState8[1];
2566
+ var _useState9 = React.useState(fetchProductInfoQueryContext.data.data.productinfo),
2641
2567
  _useState10 = _slicedToArray__default["default"](_useState9, 2);
2642
2568
  _useState10[0];
2643
- var settotalprice = _useState10[1];
2644
- var _useState11 = React.useState(null),
2645
- _useState12 = _slicedToArray__default["default"](_useState11, 2),
2646
- gallery = _useState12[0],
2647
- setGallery = _useState12[1]; // Store reference to the gallery
2569
+ var setitem = _useState10[1];
2570
+ var _useState11 = React.useState(''),
2571
+ _useState12 = _slicedToArray__default["default"](_useState11, 2);
2572
+ _useState12[0];
2573
+ var settotalprice = _useState12[1];
2574
+ var _useState13 = React.useState(null),
2575
+ _useState14 = _slicedToArray__default["default"](_useState13, 2),
2576
+ gallery = _useState14[0],
2577
+ setGallery = _useState14[1]; // Store reference to the gallery
2648
2578
  var toggleFullScreen = function toggleFullScreen() {
2649
2579
  if (gallery) {
2650
2580
  gallery.toggleFullScreen();
@@ -3654,8 +3584,19 @@ var Product_itemtype = function Product_itemtype(props) {
3654
3584
  fontSize: sectionproperties.featurevaluefontsize
3655
3585
  }
3656
3586
  }, langdetect == 'en' ? fitem === null || fitem === void 0 ? void 0 : fitem.value_en : fitem === null || fitem === void 0 ? void 0 : fitem.value_ar))));
3657
- }))), sectionproperties.descriptionstyle == 'Style 2' && /*#__PURE__*/React__default["default"].createElement("div", {
3658
- "class": "col-lg-12 col-md-12 p-md-0 mt-3"
3587
+ }))), sectionproperties.showsizeguidebtn == 'Show' && sizeguideimage.length != 0 && (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 ? void 0 : _fetchProductInfoQuer53.hasvariants) == 0 && /*#__PURE__*/React__default["default"].createElement("div", {
3588
+ "class": "col-12 text-start mt-3"
3589
+ }, /*#__PURE__*/React__default["default"].createElement("p", {
3590
+ "class": productinfo_cssstyles.sizeguidebtn + ' m-0 p-0 cursor-pointer mb-auto ',
3591
+ onClick: function onClick() {
3592
+ setopensizeguidemodal(true);
3593
+ }
3594
+ }, langdetect == 'en' ? sectionproperties.sizeguidecontentenglish : sectionproperties.sizeguidecontentarabic)), sectionproperties.showsizeguidebtn == 'Show' && sizeguideimage.length != 0 && (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.hasvariants) == 0 && /*#__PURE__*/React__default["default"].createElement("div", {
3595
+ "class": "col-lg-12 col-md-12 my-3 p-md-0"
3596
+ }, /*#__PURE__*/React__default["default"].createElement("hr", {
3597
+ "class": "m-0"
3598
+ })), sectionproperties.descriptionstyle == 'Style 2' && /*#__PURE__*/React__default["default"].createElement("div", {
3599
+ "class": sectionproperties.showsizeguidebtn == 'Show' && sizeguideimage.length != 0 && (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.hasvariants) == 0 ? 'col-lg-12 col-md-12 p-md-0' : 'col-lg-12 col-md-12 p-md-0 mt-3'
3659
3600
  }, /*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.Accordion, {
3660
3601
  allowMultipleExpanded: true,
3661
3602
  allowZeroExpanded: true
@@ -3734,7 +3675,7 @@ var Product_itemtype = function Product_itemtype(props) {
3734
3675
  color: sectionproperties.prodCatColor
3735
3676
  },
3736
3677
  dangerouslySetInnerHTML: {
3737
- __html: langdetect == 'en' ? 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 ? void 0 : _fetchProductInfoQuer53.short_description_en : 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.short_description_ar
3678
+ __html: langdetect == 'en' ? 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.short_description_en : 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.short_description_ar
3738
3679
  }
3739
3680
  })))))), sectionproperties.descriptionstyle == 'Style 2' && sectionproperties.showshortdescription == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
3740
3681
  "class": "col-lg-12 col-md-12 my-3 p-md-0"
@@ -3859,7 +3800,7 @@ var Product_itemtype = function Product_itemtype(props) {
3859
3800
  onClick: function onClick() {
3860
3801
  routingcountext(StaticPagesLinksContext.RefundPolicy);
3861
3802
  }
3862
- }, "SEE MORE")))))), (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.isproducttobesold) == 1 && sectionproperties.showtotalsection == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
3803
+ }, "SEE MORE")))))), (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.isproducttobesold) == 1 && sectionproperties.showtotalsection == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
3863
3804
  className: "col-lg-12 p-0 mb-3"
3864
3805
  }, /*#__PURE__*/React__default["default"].createElement("div", {
3865
3806
  className: "row m-0 w-100 d-flex flex-row"
@@ -3882,7 +3823,7 @@ var Product_itemtype = function Product_itemtype(props) {
3882
3823
  }
3883
3824
  }, /*#__PURE__*/React__default["default"].createElement("span", {
3884
3825
  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 '
3885
- }, langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.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 || (_fetchProductInfoQuer56 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer56 === void 0 || (_fetchProductInfoQuer56 = _fetchProductInfoQuer56.data) === null || _fetchProductInfoQuer56 === void 0 || (_fetchProductInfoQuer56 = _fetchProductInfoQuer56.productinfo) === null || _fetchProductInfoQuer56 === void 0 || (_fetchProductInfoQuer56 = _fetchProductInfoQuer56.variants[variantindexcompleted]) === null || _fetchProductInfoQuer56 === void 0 ? void 0 : _fetchProductInfoQuer56.hassale) == 1 && parseFloat(getprice_discountpriceprops('defaultsaleprice', 1, variantindexcompleted)).toFixed(2), variantindexcompleted != undefined && variantindexcompleted.length != 0 && (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 || (_fetchProductInfoQuer57 = _fetchProductInfoQuer57.variants[variantindexcompleted]) === null || _fetchProductInfoQuer57 === void 0 ? void 0 : _fetchProductInfoQuer57.hassale) == 0 && parseFloat(getprice_discountpriceprops('defaultprice', 1, variantindexcompleted)).toFixed(2), langdetect == 'en' ? '' : authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar)), /*#__PURE__*/React__default["default"].createElement("p", {
3826
+ }, langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.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 || (_fetchProductInfoQuer59 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer59 === void 0 || (_fetchProductInfoQuer59 = _fetchProductInfoQuer59.data) === null || _fetchProductInfoQuer59 === void 0 || (_fetchProductInfoQuer59 = _fetchProductInfoQuer59.productinfo) === null || _fetchProductInfoQuer59 === void 0 || (_fetchProductInfoQuer59 = _fetchProductInfoQuer59.variants[variantindexcompleted]) === null || _fetchProductInfoQuer59 === void 0 ? void 0 : _fetchProductInfoQuer59.hassale) == 1 && parseFloat(getprice_discountpriceprops('defaultsaleprice', 1, variantindexcompleted)).toFixed(2), variantindexcompleted != undefined && variantindexcompleted.length != 0 && (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 || (_fetchProductInfoQuer60 = _fetchProductInfoQuer60.variants[variantindexcompleted]) === null || _fetchProductInfoQuer60 === void 0 ? void 0 : _fetchProductInfoQuer60.hassale) == 0 && parseFloat(getprice_discountpriceprops('defaultprice', 1, variantindexcompleted)).toFixed(2), langdetect == 'en' ? '' : authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar)), /*#__PURE__*/React__default["default"].createElement("p", {
3886
3827
  className: 'm-0 p-0 linethrough wordbreak',
3887
3828
  style: {
3888
3829
  color: sectionproperties.prodsalePriceColor,
@@ -3896,14 +3837,14 @@ var Product_itemtype = function Product_itemtype(props) {
3896
3837
  style: {
3897
3838
  textDecoration: 'none'
3898
3839
  }
3899
- }, "-"), langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', ' ', parseFloat(getprice_discountpriceprops('defaultprice', 1, variantindexcompleted)), ' ', langdetect == 'en' ? '' : authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar), variantindexcompleted != undefined && variantindexcompleted.length != 0 && (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 || (_fetchProductInfoQuer58 = _fetchProductInfoQuer58.variants[variantindexcompleted]) === null || _fetchProductInfoQuer58 === void 0 ? void 0 : _fetchProductInfoQuer58.hassale) == 1 && /*#__PURE__*/React__default["default"].createElement("span", {
3840
+ }, "-"), langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', ' ', parseFloat(getprice_discountpriceprops('defaultprice', 1, variantindexcompleted)), ' ', langdetect == 'en' ? '' : authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar), variantindexcompleted != undefined && variantindexcompleted.length != 0 && (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 || (_fetchProductInfoQuer61 = _fetchProductInfoQuer61.variants[variantindexcompleted]) === null || _fetchProductInfoQuer61 === void 0 ? void 0 : _fetchProductInfoQuer61.hassale) == 1 && /*#__PURE__*/React__default["default"].createElement("span", {
3900
3841
  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 '
3901
3842
  }, /*#__PURE__*/React__default["default"].createElement("span", {
3902
3843
  className: "ml-2 mr-2",
3903
3844
  style: {
3904
3845
  textDecoration: 'none'
3905
3846
  }
3906
- }, "-"), langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', ' ', parseFloat(getprice_discountpriceprops('defaultprice', 1, variantindexcompleted)), ' ', langdetect == 'en' ? '' : authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar))))), sectionproperties.availabilitybtnposition == 'Bottom' && sectionproperties.show_availability == 'Show' && (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.isproducttobesold) == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
3847
+ }, "-"), langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', ' ', parseFloat(getprice_discountpriceprops('defaultprice', 1, variantindexcompleted)), ' ', langdetect == 'en' ? '' : authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar))))), sectionproperties.availabilitybtnposition == 'Bottom' && sectionproperties.show_availability == 'Show' && (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.isproducttobesold) == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
3907
3848
  className: "col-lg-12 p-0 mb-3 mt-2"
3908
3849
  }, /*#__PURE__*/React__default["default"].createElement("div", {
3909
3850
  style: {
@@ -3974,7 +3915,7 @@ var Product_itemtype = function Product_itemtype(props) {
3974
3915
  }, /*#__PURE__*/React__default["default"].createElement(Imagekitimagecomp, {
3975
3916
  urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
3976
3917
  publicKey: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimagepublickey,
3977
- path: '/tr:w-' + sectionproperties.imagetr_w + ',h-' + sectionproperties.imagetr_h + '/' + (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.productmainimage),
3918
+ path: '/tr:w-' + sectionproperties.imagetr_w + ',h-' + sectionproperties.imagetr_h + '/' + (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.productmainimage),
3978
3919
  style: {
3979
3920
  width: '100%',
3980
3921
  height: '100%',
@@ -4007,13 +3948,13 @@ var Product_itemtype = function Product_itemtype(props) {
4007
3948
  color: sectionproperties.prodCatColor
4008
3949
  },
4009
3950
  dangerouslySetInnerHTML: {
4010
- __html: langdetect == 'en' ? 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.short_description_en : fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer62 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer62 === void 0 || (_fetchProductInfoQuer62 = _fetchProductInfoQuer62.data) === null || _fetchProductInfoQuer62 === void 0 || (_fetchProductInfoQuer62 = _fetchProductInfoQuer62.productinfo) === null || _fetchProductInfoQuer62 === void 0 ? void 0 : _fetchProductInfoQuer62.short_description_ar
3951
+ __html: langdetect == 'en' ? 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.short_description_en : 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.short_description_ar
4011
3952
  }
4012
3953
  })))), /*#__PURE__*/React__default["default"].createElement("div", {
4013
3954
  "class": "col-lg-12 text-start p-md-0"
4014
3955
  }, /*#__PURE__*/React__default["default"].createElement("div", {
4015
3956
  className: "row m-0 w-100"
4016
- }, 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 || (_fetchProductInfoQuer63 = _fetchProductInfoQuer63.productfeatures) === null || _fetchProductInfoQuer63 === void 0 ? void 0 : _fetchProductInfoQuer63.map(function (fitem, findex) {
3957
+ }, fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer66 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer66 === void 0 || (_fetchProductInfoQuer66 = _fetchProductInfoQuer66.data) === null || _fetchProductInfoQuer66 === void 0 || (_fetchProductInfoQuer66 = _fetchProductInfoQuer66.productinfo) === null || _fetchProductInfoQuer66 === void 0 || (_fetchProductInfoQuer66 = _fetchProductInfoQuer66.productfeatures) === null || _fetchProductInfoQuer66 === void 0 ? void 0 : _fetchProductInfoQuer66.map(function (fitem, findex) {
4017
3958
  return /*#__PURE__*/React__default["default"].createElement("div", {
4018
3959
  "class": ' col-md-6 p-0 mb-3 mt-2 col-lg-' + sectionproperties.featuresnumcols
4019
3960
  }, /*#__PURE__*/React__default["default"].createElement("div", {
@@ -4055,7 +3996,7 @@ var Product_itemtype = function Product_itemtype(props) {
4055
3996
  "class": "col-lg-12 p-0 my-4"
4056
3997
  }, /*#__PURE__*/React__default["default"].createElement("div", {
4057
3998
  "class": "row m-0 w-100"
4058
- }, (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 || (_fetchProductInfoQuer64 = _fetchProductInfoQuer64.productimages) === null || _fetchProductInfoQuer64 === void 0 ? void 0 : _fetchProductInfoQuer64.length) != 0 && (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.productimages.map(function (item, index) {
3999
+ }, (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 || (_fetchProductInfoQuer67 = _fetchProductInfoQuer67.productimages) === null || _fetchProductInfoQuer67 === void 0 ? void 0 : _fetchProductInfoQuer67.length) != 0 && (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.productimages.map(function (item, index) {
4059
4000
  return /*#__PURE__*/React__default["default"].createElement("div", {
4060
4001
  "class": "col-lg-4 col-sm-12 mb-md-2 p-md-0"
4061
4002
  }, /*#__PURE__*/React__default["default"].createElement("div", {
@@ -4082,9 +4023,46 @@ var Product_itemtype = function Product_itemtype(props) {
4082
4023
  textAlign: langdetect == 'en' ? 'left' : 'right'
4083
4024
  },
4084
4025
  dangerouslySetInnerHTML: {
4085
- __html: langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer66 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer66 === void 0 || (_fetchProductInfoQuer66 = _fetchProductInfoQuer66.data) === null || _fetchProductInfoQuer66 === void 0 || (_fetchProductInfoQuer66 = _fetchProductInfoQuer66.productinfo) === null || _fetchProductInfoQuer66 === void 0 ? void 0 : _fetchProductInfoQuer66.description_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.description_ar
4026
+ __html: langdetect == 'en' ? 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.description_en : fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer70 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer70 === void 0 || (_fetchProductInfoQuer70 = _fetchProductInfoQuer70.data) === null || _fetchProductInfoQuer70 === void 0 || (_fetchProductInfoQuer70 = _fetchProductInfoQuer70.productinfo) === null || _fetchProductInfoQuer70 === void 0 ? void 0 : _fetchProductInfoQuer70.description_ar
4086
4027
  }
4087
- })))))));
4028
+ })))))), sizeguideimage.length != 0 && /*#__PURE__*/React__default["default"].createElement(reactBootstrap.Modal, {
4029
+ show: opensizeguidemodal,
4030
+ onHide: function onHide() {
4031
+ setopensizeguidemodal(false);
4032
+ },
4033
+ centered: true,
4034
+ size: 'lg'
4035
+ }, /*#__PURE__*/React__default["default"].createElement(reactBootstrap.Modal.Body, null, /*#__PURE__*/React__default["default"].createElement("div", {
4036
+ className: "allcentered cursor-pointer",
4037
+ onClick: function onClick() {
4038
+ setopensizeguidemodal(false);
4039
+ },
4040
+ style: {
4041
+ position: 'absolute',
4042
+ top: 10,
4043
+ width: 35,
4044
+ height: 35,
4045
+ right: 10
4046
+ }
4047
+ }, /*#__PURE__*/React__default["default"].createElement("i", {
4048
+ "class": ' h-100 allcentered text-black '
4049
+ }, /*#__PURE__*/React__default["default"].createElement(IoMdClose.IoMdClose, {
4050
+ size: 25,
4051
+ "class": productinfo_cssstyles.closemodalbtn
4052
+ }))), /*#__PURE__*/React__default["default"].createElement("div", {
4053
+ "class": ' w-100 h-100 px-4 py-5 ',
4054
+ style: {}
4055
+ }, /*#__PURE__*/React__default["default"].createElement(Imagekitimagecomp, {
4056
+ urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
4057
+ publicKey: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimagepublickey,
4058
+ path: (_sizeguideimage$ = sizeguideimage[0]) === null || _sizeguideimage$ === void 0 ? void 0 : _sizeguideimage$.original,
4059
+ style: {
4060
+ width: '100%',
4061
+ height: '100%',
4062
+ objectFit: 'contain'
4063
+ },
4064
+ loading: "lazy"
4065
+ }))), /*#__PURE__*/React__default["default"].createElement(reactBootstrap.Modal.Footer, null)));
4088
4066
  };
4089
4067
 
4090
4068
  function ownKeys$2x(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
@@ -6552,46 +6530,50 @@ var Productinfo = function Productinfo(props) {
6552
6530
  _useState28 = _slicedToArray__default["default"](_useState27, 2),
6553
6531
  addtocardpayloadobj = _useState28[0],
6554
6532
  setaddtocardpayloadobj = _useState28[1];
6555
- var _useState29 = React.useState(''),
6556
- _useState30 = _slicedToArray__default["default"](_useState29, 2),
6557
- variantindexcompleted = _useState30[0],
6558
- setvariantindexcompleted = _useState30[1];
6533
+ var _useState29 = React.useState(false),
6534
+ _useState30 = _slicedToArray__default["default"](_useState29, 2);
6535
+ _useState30[0];
6536
+ var setopensizeguidemodal = _useState30[1];
6559
6537
  var _useState31 = React.useState(''),
6560
6538
  _useState32 = _slicedToArray__default["default"](_useState31, 2),
6561
- variantindex = _useState32[0],
6562
- setvariantindex = _useState32[1];
6563
- var _useState33 = React.useState(false),
6539
+ variantindexcompleted = _useState32[0],
6540
+ setvariantindexcompleted = _useState32[1];
6541
+ var _useState33 = React.useState(''),
6564
6542
  _useState34 = _slicedToArray__default["default"](_useState33, 2),
6565
- isloaded = _useState34[0],
6566
- setisloaded = _useState34[1];
6543
+ variantindex = _useState34[0],
6544
+ setvariantindex = _useState34[1];
6567
6545
  var _useState35 = React.useState(false),
6568
- _useState36 = _slicedToArray__default["default"](_useState35, 2);
6569
- _useState36[0];
6570
- _useState36[1];
6571
- var _useState37 = React.useState(0),
6572
- _useState38 = _slicedToArray__default["default"](_useState37, 2),
6573
- currentshowingimageindex = _useState38[0],
6574
- setcurrentshowingimageindex = _useState38[1];
6575
- var _useState39 = React.useState(''),
6546
+ _useState36 = _slicedToArray__default["default"](_useState35, 2),
6547
+ isloaded = _useState36[0],
6548
+ setisloaded = _useState36[1];
6549
+ var _useState37 = React.useState(false),
6550
+ _useState38 = _slicedToArray__default["default"](_useState37, 2);
6551
+ _useState38[0];
6552
+ _useState38[1];
6553
+ var _useState39 = React.useState(0),
6576
6554
  _useState40 = _slicedToArray__default["default"](_useState39, 2),
6577
- tabIndex = _useState40[0],
6578
- setTabIndex = _useState40[1];
6555
+ currentshowingimageindex = _useState40[0],
6556
+ setcurrentshowingimageindex = _useState40[1];
6579
6557
  var _useState41 = React.useState(''),
6580
6558
  _useState42 = _slicedToArray__default["default"](_useState41, 2),
6581
- tabname = _useState42[0],
6582
- settabname = _useState42[1];
6583
- var _useState43 = React.useState([]),
6559
+ tabIndex = _useState42[0],
6560
+ setTabIndex = _useState42[1];
6561
+ var _useState43 = React.useState(''),
6584
6562
  _useState44 = _slicedToArray__default["default"](_useState43, 2),
6585
- sizeguideimage = _useState44[0],
6586
- setsizeguideimage = _useState44[1];
6563
+ tabname = _useState44[0],
6564
+ settabname = _useState44[1];
6587
6565
  var _useState45 = React.useState([]),
6588
6566
  _useState46 = _slicedToArray__default["default"](_useState45, 2),
6589
- productVideos = _useState46[0],
6590
- setproductVideos = _useState46[1];
6567
+ sizeguideimage = _useState46[0],
6568
+ setsizeguideimage = _useState46[1];
6591
6569
  var _useState47 = React.useState([]),
6592
6570
  _useState48 = _slicedToArray__default["default"](_useState47, 2),
6593
- variantvalueidentifier = _useState48[0],
6594
- setvariantvalueidentifier = _useState48[1];
6571
+ productVideos = _useState48[0],
6572
+ setproductVideos = _useState48[1];
6573
+ var _useState49 = React.useState([]),
6574
+ _useState50 = _slicedToArray__default["default"](_useState49, 2),
6575
+ variantvalueidentifier = _useState50[0],
6576
+ setvariantvalueidentifier = _useState50[1];
6595
6577
  var handleTabChange = function handleTabChange(event, newTabIndex) {
6596
6578
  setTabIndex(newTabIndex);
6597
6579
  };
@@ -7281,6 +7263,16 @@ var Productinfo = function Productinfo(props) {
7281
7263
  color: sectionproperties.applybtn_Textcoloronhover
7282
7264
  }
7283
7265
  }),
7266
+ sizeguidebtn: glamor.css({
7267
+ color: sectionproperties.sizeguidebtncolor,
7268
+ fontSize: sectionproperties.sizeguidebtnfontsize + 'px',
7269
+ transition: '.3s',
7270
+ textDecoration: 'underline',
7271
+ ':hover': {
7272
+ color: sectionproperties.sizeguidebtncoloronhover,
7273
+ fontWeight: sectionproperties.sizeguidebtnfontweight
7274
+ }
7275
+ }),
7284
7276
  form_control: glamor.css((_css = {
7285
7277
  position: 'relative',
7286
7278
  display: 'flex',
@@ -7405,6 +7397,13 @@ var Productinfo = function Productinfo(props) {
7405
7397
  background: sectionproperties.remove_quantitybtn_bgcoloronhover
7406
7398
  }
7407
7399
  }),
7400
+ closemodalbtn: glamor.css({
7401
+ color: sectionproperties.sizeguidebtncolor,
7402
+ transition: '.3s',
7403
+ ':hover': {
7404
+ color: sectionproperties.sizeguidebtncoloronhover
7405
+ }
7406
+ }),
7408
7407
  relatedproductcardcont: glamor.css({
7409
7408
  ':hover .relatedproductNameStyles': {
7410
7409
  color: sectionproperties.relatedprodNameColoronhover
@@ -7938,7 +7937,7 @@ var Productinfo = function Productinfo(props) {
7938
7937
  langdetect: langdetect,
7939
7938
  lang: lang,
7940
7939
  srcfromprops: props.srcfromprops
7941
- }, _defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_ref, "returnpolicyobj", returnpolicyobj), "productinfo_cssstyles", productinfo_cssstyles), "addtocartfunc", addtocartfunc), "selectproductoptionvalue", selectproductoptionvalue), "clearchoosenvaluesbutkeepcurrentvalue", clearchoosenvaluesbutkeepcurrentvalue), "productimagesarray", productimagesarray), "fetchProductInfoQueryContext", fetchProductInfoQueryContext), "ProductInfoObj", ProductInfoObj), "sectionproperties", sectionproperties), "addtocardpayloadobj", addtocardpayloadobj), _defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_ref, "setaddtocardpayloadobj", setaddtocardpayloadobj), "routingcountext", routingcountext), "AddtoCartMutationContext", AddtoCartMutationContext), "authdetailsContext", authdetailsContext), "addtofavoritescontext", addtofavoritescontext), "variantindexcompleted", variantindexcompleted), "StaticPagesLinksContext", StaticPagesLinksContext), "NotificationManager", NotificationManager), "GeneralAPIMutationContext", GeneralAPIMutationContext), "quantityconditionfoundobjprops", quantityconditionfoundobj), _defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_ref, "relatedproducts", relatedproducts), "getprice_discountpriceprops", getprice_discountpriceprops), "StoreInfoprops", StoreInfo), "currentshowingimageindex", currentshowingimageindex), "setcurrentshowingimageindex", setcurrentshowingimageindex), "templatepropcontext", templatepropcontext), "ikimagecredcontext", ikimagecredcontext), "variantindex", variantindex), "setvariantindex", setvariantindex), "variantsku", variantsku), _defineProperty__default["default"](_defineProperty__default["default"](_ref, "variantvalueidentifier", variantvalueidentifier), "sizeguideimage", sizeguideimage))
7940
+ }, _defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_ref, "returnpolicyobj", returnpolicyobj), "productinfo_cssstyles", productinfo_cssstyles), "addtocartfunc", addtocartfunc), "selectproductoptionvalue", selectproductoptionvalue), "clearchoosenvaluesbutkeepcurrentvalue", clearchoosenvaluesbutkeepcurrentvalue), "productimagesarray", productimagesarray), "fetchProductInfoQueryContext", fetchProductInfoQueryContext), "ProductInfoObj", ProductInfoObj), "sectionproperties", sectionproperties), "addtocardpayloadobj", addtocardpayloadobj), _defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_ref, "setaddtocardpayloadobj", setaddtocardpayloadobj), "routingcountext", routingcountext), "AddtoCartMutationContext", AddtoCartMutationContext), "authdetailsContext", authdetailsContext), "addtofavoritescontext", addtofavoritescontext), "variantindexcompleted", variantindexcompleted), "StaticPagesLinksContext", StaticPagesLinksContext), "NotificationManager", NotificationManager), "GeneralAPIMutationContext", GeneralAPIMutationContext), "quantityconditionfoundobjprops", quantityconditionfoundobj), _defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_ref, "relatedproducts", relatedproducts), "getprice_discountpriceprops", getprice_discountpriceprops), "StoreInfoprops", StoreInfo), "currentshowingimageindex", currentshowingimageindex), "setcurrentshowingimageindex", setcurrentshowingimageindex), "templatepropcontext", templatepropcontext), "ikimagecredcontext", ikimagecredcontext), "variantindex", variantindex), "setvariantindex", setvariantindex), "variantsku", variantsku), _defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_ref, "variantvalueidentifier", variantvalueidentifier), "sizeguideimage", sizeguideimage), "setopensizeguidemodal", setopensizeguidemodal))
7942
7941
  }), fetchProductInfoQueryContext.data.data.productinfo.item_type == 'Article' && /*#__PURE__*/React__default["default"].createElement(Article_itemtype, {
7943
7942
  actions: (_ref2 = {
7944
7943
  variantnotchosendisclaimer: variantnotchosendisclaimer,
@@ -7959,7 +7958,7 @@ var Productinfo = function Productinfo(props) {
7959
7958
  langdetect: langdetect,
7960
7959
  lang: lang,
7961
7960
  srcfromprops: props.srcfromprops
7962
- }, _defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_ref3, "returnpolicyobj", returnpolicyobj), "productinfo_cssstyles", productinfo_cssstyles), "addtocartfunc", addtocartfunc), "selectproductoptionvalue", selectproductoptionvalue), "clearchoosenvaluesbutkeepcurrentvalue", clearchoosenvaluesbutkeepcurrentvalue), "productimagesarray", productimagesarray), "fetchProductInfoQueryContext", fetchProductInfoQueryContext), "sectionproperties", sectionproperties), "addtocardpayloadobj", addtocardpayloadobj), "ProductInfoObj", ProductInfoObj), _defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_ref3, "currentshowingimageindex", currentshowingimageindex), "setcurrentshowingimageindex", setcurrentshowingimageindex), "setaddtocardpayloadobj", setaddtocardpayloadobj), "routingcountext", routingcountext), "AddtoCartMutationContext", AddtoCartMutationContext), "authdetailsContext", authdetailsContext), "addtofavoritescontext", addtofavoritescontext), "StaticPagesLinksContext", StaticPagesLinksContext), "variantindexcompleted", variantindexcompleted), "GeneralAPIMutationContext", GeneralAPIMutationContext), _defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_ref3, "NotificationManager", NotificationManager), "getprice_discountpriceprops", getprice_discountpriceprops), "quantityconditionfoundobjprops", quantityconditionfoundobj), "relatedproducts", relatedproducts), "getQuantityCondition", getQuantityCondition), "StoreInfoprops", StoreInfo), "templatepropcontext", templatepropcontext), "ikimagecredcontext", ikimagecredcontext), "sizeguideimage", sizeguideimage))
7961
+ }, _defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_ref3, "returnpolicyobj", returnpolicyobj), "productinfo_cssstyles", productinfo_cssstyles), "addtocartfunc", addtocartfunc), "selectproductoptionvalue", selectproductoptionvalue), "clearchoosenvaluesbutkeepcurrentvalue", clearchoosenvaluesbutkeepcurrentvalue), "productimagesarray", productimagesarray), "fetchProductInfoQueryContext", fetchProductInfoQueryContext), "sectionproperties", sectionproperties), "addtocardpayloadobj", addtocardpayloadobj), "ProductInfoObj", ProductInfoObj), _defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_ref3, "currentshowingimageindex", currentshowingimageindex), "setcurrentshowingimageindex", setcurrentshowingimageindex), "setaddtocardpayloadobj", setaddtocardpayloadobj), "routingcountext", routingcountext), "AddtoCartMutationContext", AddtoCartMutationContext), "authdetailsContext", authdetailsContext), "addtofavoritescontext", addtofavoritescontext), "StaticPagesLinksContext", StaticPagesLinksContext), "variantindexcompleted", variantindexcompleted), "GeneralAPIMutationContext", GeneralAPIMutationContext), _defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_ref3, "NotificationManager", NotificationManager), "getprice_discountpriceprops", getprice_discountpriceprops), "quantityconditionfoundobjprops", quantityconditionfoundobj), "relatedproducts", relatedproducts), "getQuantityCondition", getQuantityCondition), "StoreInfoprops", StoreInfo), "templatepropcontext", templatepropcontext), "ikimagecredcontext", ikimagecredcontext), "sizeguideimage", sizeguideimage), "setopensizeguidemodal", setopensizeguidemodal))
7963
7962
  }), props.srcfromprops != 'templatedraftrouter' && /*#__PURE__*/React__default["default"].createElement("div", {
7964
7963
  className: sectionproperties.card_marginLeft != 0 ? ' col-lg-12 p-0 pl-lg-3 pr-lg-3 pl-md-4 pr-md-4 pl-sm-1 pr-sm-1 ' : ' col-lg-12 p-sm-0 ',
7965
7964
  style: {
@@ -12999,6 +12998,8 @@ var CustomerInformationForm = function CustomerInformationForm(props) {
12999
12998
  }
13000
12999
  }, sectionproperties.hidecountrystatecity == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
13001
13000
  className: sectionproperties.cardstyletype == 'Style 1' ? 'col-lg-4 col-md-12 col-sm-12 mb-4 p-sm-0' : 'col-lg-12 col-md-12 col-sm-12 mb-4 p-sm-0'
13001
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
13002
+ "class": sectionproperties.inputfieldcolor == '#ffffff' ? 'col-lg-12 p-0 selectwhite' : 'col-lg-12 p-0'
13002
13003
  }, /*#__PURE__*/React__default["default"].createElement("label", {
13003
13004
  className: formstyles.input_label_name + ' d-flex justify-content-start '
13004
13005
  }, lang.country, customeraddressrequierd == 1 && /*#__PURE__*/React__default["default"].createElement("span", {
@@ -13013,7 +13014,7 @@ var CustomerInformationForm = function CustomerInformationForm(props) {
13013
13014
  width: "20px",
13014
13015
  height: "20px",
13015
13016
  duration: "1s"
13016
- })), !fetchTabexCountriesQueryContext.isFetching && fetchTabexCountriesQueryContext.isSuccess && sectionproperties.inputfieldcolor != '#ffffff' && /*#__PURE__*/React__default["default"].createElement(Select$2, {
13017
+ })), !fetchTabexCountriesQueryContext.isFetching && fetchTabexCountriesQueryContext.isSuccess && /*#__PURE__*/React__default["default"].createElement(Select$2, {
13017
13018
  options: fetchTabexCountriesQueryContext.data.data.countries,
13018
13019
  getOptionLabel: function getOptionLabel(option) {
13019
13020
  var crname = '';
@@ -13043,42 +13044,11 @@ var CustomerInformationForm = function CustomerInformationForm(props) {
13043
13044
  payloadobjchange('countryid', option.id);
13044
13045
  },
13045
13046
  styles: langdetect == 'en' ? defaultstyles : defaultstylestranslated,
13046
- placeholder: langdetect == 'en' ? 'Choose Country' : 'إختر البلد',
13047
13047
  isSearchable: true
13048
- }), !fetchTabexCountriesQueryContext.isFetching && fetchTabexCountriesQueryContext.isSuccess && sectionproperties.inputfieldcolor == '#ffffff' && /*#__PURE__*/React__default["default"].createElement(Select$2, {
13049
- options: fetchTabexCountriesQueryContext.data.data.countries,
13050
- getOptionLabel: function getOptionLabel(option) {
13051
- var crname = '';
13052
- if (langdetect == 'en') {
13053
- crname = option.name;
13054
- } else if (langdetect == 'ar') {
13055
- if (option.name_ar != null) {
13056
- crname = option.name_ar;
13057
- } else {
13058
- crname = option.name;
13059
- }
13060
- }
13061
- return crname;
13062
- },
13063
- getOptionValue: function getOptionValue(option) {
13064
- return option.id;
13065
- },
13066
- autocomplete: "new-password",
13067
- value: fetchTabexCountriesQueryContext.data.data.countries.filter(function (option) {
13068
- return option.id == payloadobj.countryid;
13069
- }),
13070
- onChange: function onChange(option) {
13071
- var tempFetchTabexStatesPayloadobjContext = _objectSpread$2n({}, FetchTabexStatesPayloadobjContext);
13072
- tempFetchTabexStatesPayloadobjContext.functype = 'states';
13073
- tempFetchTabexStatesPayloadobjContext.country_id = option.id;
13074
- setFetchTabexStatesPayloadobjContext(_objectSpread$2n({}, tempFetchTabexStatesPayloadobjContext));
13075
- payloadobjchange('countryid', option.id);
13076
- },
13077
- styles: langdetect == 'en' ? defaultstyleswhite : defaultstylestranslatedwhite,
13078
- placeholder: langdetect == 'en' ? 'Choose Country' : 'إختر البلد',
13079
- isSearchable: true
13080
- })), sectionproperties.hidecountrystatecity == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
13048
+ }))), sectionproperties.hidecountrystatecity == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
13081
13049
  className: sectionproperties.cardstyletype == 'Style 1' ? 'col-lg-4 col-md-12 col-sm-12 mb-4 p-sm-0' : 'col-lg-12 col-md-12 col-sm-12 mb-4 p-sm-0'
13050
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
13051
+ "class": sectionproperties.inputfieldcolor == '#ffffff' ? 'col-lg-12 p-0 selectwhite' : 'col-lg-12 p-0'
13082
13052
  }, /*#__PURE__*/React__default["default"].createElement("label", {
13083
13053
  className: formstyles.input_label_name + ' d-flex justify-content-start '
13084
13054
  }, lang.choosestategov, ' ', customeraddressrequierd == 1 && /*#__PURE__*/React__default["default"].createElement("span", {
@@ -13097,7 +13067,7 @@ var CustomerInformationForm = function CustomerInformationForm(props) {
13097
13067
  styles: langdetect == 'en' ? defaultstyles : defaultstylestranslated,
13098
13068
  placeholder: lang.choosestategov,
13099
13069
  isSearchable: true
13100
- }), !fetchTabexStatesQueryContext.isFetching && fetchTabexStatesQueryContext.isSuccess && sectionproperties.inputfieldcolor != '#ffffff' && /*#__PURE__*/React__default["default"].createElement(Select$2, {
13070
+ }), !fetchTabexStatesQueryContext.isFetching && fetchTabexStatesQueryContext.isSuccess && /*#__PURE__*/React__default["default"].createElement(Select$2, {
13101
13071
  options: fetchTabexStatesQueryContext.data.data.states,
13102
13072
  getOptionLabel: function getOptionLabel(option) {
13103
13073
  var crname = '';
@@ -13127,42 +13097,11 @@ var CustomerInformationForm = function CustomerInformationForm(props) {
13127
13097
  payloadobjchange('stateid', option.id);
13128
13098
  },
13129
13099
  styles: langdetect == 'en' ? defaultstyles : defaultstylestranslated,
13130
- placeholder: lang.choosestategov,
13131
13100
  isSearchable: true
13132
- }), !fetchTabexStatesQueryContext.isFetching && fetchTabexStatesQueryContext.isSuccess && sectionproperties.inputfieldcolor == '#ffffff' && /*#__PURE__*/React__default["default"].createElement(Select$2, {
13133
- options: fetchTabexStatesQueryContext.data.data.states,
13134
- getOptionLabel: function getOptionLabel(option) {
13135
- var crname = '';
13136
- if (langdetect == 'en') {
13137
- crname = option.name;
13138
- } else if (langdetect == 'ar') {
13139
- if (option.name_ar != null) {
13140
- crname = option.name_ar;
13141
- } else {
13142
- crname = option.name;
13143
- }
13144
- }
13145
- return crname;
13146
- },
13147
- getOptionValue: function getOptionValue(option) {
13148
- return option.id;
13149
- },
13150
- autocomplete: "new-password",
13151
- value: fetchTabexStatesQueryContext.data.data.states.filter(function (option) {
13152
- return option.id == payloadobj.stateid;
13153
- }),
13154
- onChange: function onChange(option) {
13155
- var tempFetchTabexStatesPayloadobjContext = _objectSpread$2n({}, FetchTabexStatesPayloadobjContext);
13156
- tempFetchTabexStatesPayloadobjContext.functype = 'cities';
13157
- tempFetchTabexStatesPayloadobjContext.state_id = option.id;
13158
- setFetchTabexStatesPayloadobjContext(_objectSpread$2n({}, tempFetchTabexStatesPayloadobjContext));
13159
- payloadobjchange('stateid', option.id);
13160
- },
13161
- styles: langdetect == 'en' ? defaultstyleswhite : defaultstylestranslatedwhite,
13162
- placeholder: lang.choosestategov,
13163
- isSearchable: true
13164
- })), sectionproperties.hidecountrystatecity == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
13101
+ }))), sectionproperties.hidecountrystatecity == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
13165
13102
  className: sectionproperties.cardstyletype == 'Style 1' ? 'col-lg-4 col-md-12 col-sm-12 mb-4 p-sm-0' : 'col-lg-12 col-md-12 col-sm-12 mb-4 p-sm-0'
13103
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
13104
+ "class": sectionproperties.inputfieldcolor == '#ffffff' ? 'col-lg-12 p-0 selectwhite' : 'col-lg-12 p-0'
13166
13105
  }, /*#__PURE__*/React__default["default"].createElement("label", {
13167
13106
  className: formstyles.input_label_name + ' d-flex justify-content-start '
13168
13107
  }, lang.city, customeraddressrequierd == 1 && /*#__PURE__*/React__default["default"].createElement("span", {
@@ -13181,7 +13120,7 @@ var CustomerInformationForm = function CustomerInformationForm(props) {
13181
13120
  placeholder: lang.choosecity,
13182
13121
  styles: langdetect == 'en' ? defaultstyles : defaultstylestranslated,
13183
13122
  isSearchable: true
13184
- }), !fetchTabexCitiesQueryContext.isFetching && fetchTabexCitiesQueryContext.isSuccess && sectionproperties.inputfieldcolor != '#ffffff' && /*#__PURE__*/React__default["default"].createElement(Select$2, {
13123
+ }), !fetchTabexCitiesQueryContext.isFetching && fetchTabexCitiesQueryContext.isSuccess && /*#__PURE__*/React__default["default"].createElement(Select$2, {
13185
13124
  options: fetchTabexCitiesQueryContext.data.data.cities,
13186
13125
  getOptionLabel: function getOptionLabel(option) {
13187
13126
  var crname = '';
@@ -13209,35 +13148,7 @@ var CustomerInformationForm = function CustomerInformationForm(props) {
13209
13148
  styles: langdetect == 'en' ? defaultstyles : defaultstylestranslated,
13210
13149
  placeholder: lang.choosecity,
13211
13150
  isSearchable: true
13212
- }), !fetchTabexCitiesQueryContext.isFetching && fetchTabexCitiesQueryContext.isSuccess && sectionproperties.inputfieldcolor == '#ffffff' && /*#__PURE__*/React__default["default"].createElement(Select$2, {
13213
- options: fetchTabexCitiesQueryContext.data.data.cities,
13214
- getOptionLabel: function getOptionLabel(option) {
13215
- var crname = '';
13216
- if (langdetect == 'en') {
13217
- crname = option.name;
13218
- } else if (langdetect == 'ar') {
13219
- if (option.name_ar != null) {
13220
- crname = option.name_ar;
13221
- } else {
13222
- crname = option.name;
13223
- }
13224
- }
13225
- return crname;
13226
- },
13227
- getOptionValue: function getOptionValue(option) {
13228
- return option.id;
13229
- },
13230
- autocomplete: "new-password",
13231
- value: fetchTabexCitiesQueryContext.data.data.cities.filter(function (option) {
13232
- return option.id == payloadobj.cityid;
13233
- }),
13234
- onChange: function onChange(option) {
13235
- payloadobjchange('cityid', option.id);
13236
- },
13237
- styles: langdetect == 'en' ? defaultstyleswhite : defaultstylestranslatedwhite,
13238
- placeholder: lang.choosecity,
13239
- isSearchable: true
13240
- })), sectionproperties.hideaddress == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
13151
+ }))), sectionproperties.hideaddress == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
13241
13152
  className: 'col-lg-12 col-md-12 col-sm-12 mb-4 p-sm-0'
13242
13153
  }, /*#__PURE__*/React__default["default"].createElement("label", {
13243
13154
  className: "".concat(formstyles.input_label_name) + ' mb-1 d-flex align-items-start '
@@ -23757,7 +23668,7 @@ var SocialMediaSection = function SocialMediaSection(props) {
23757
23668
  function ownKeys$21(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; }
23758
23669
  function _objectSpread$21(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$21(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$21(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
23759
23670
  var HeaderresponsiveStyle2 = function HeaderresponsiveStyle2(props) {
23760
- var _authdetailsContext$i4, _authdetailsContext$i5, _returnpolicyobj, _returnpolicyobj2, _returnpolicyobj3, _returnpolicyobj4, _returnpolicyobj5, _returnpolicyobj6, _returnpolicyobj7, _returnpolicyobj8, _authdetailsContext$i7, _authdetailsContext$i8, _authdetailsContext$i9, _returnpolicyobj9, _returnpolicyobj10, _returnpolicyobj11, _returnpolicyobj12, _returnpolicyobj13, _returnpolicyobj14, _returnpolicyobj15, _returnpolicyobj16, _returnpolicyobj17, _returnpolicyobj18, _returnpolicyobj19, _returnpolicyobj20, _returnpolicyobj21, _returnpolicyobj22, _returnpolicyobj23, _returnpolicyobj24;
23671
+ var _authdetailsContext$i4, _authdetailsContext$i5, _returnpolicyobj, _returnpolicyobj2, _returnpolicyobj3, _returnpolicyobj4, _returnpolicyobj5, _returnpolicyobj6, _returnpolicyobj7, _returnpolicyobj8, _authdetailsContext$i7, _authdetailsContext$i8, _authdetailsContext$i9, _returnpolicyobj9, _returnpolicyobj10, _returnpolicyobj11, _returnpolicyobj12, _returnpolicyobj13, _returnpolicyobj14, _returnpolicyobj15, _returnpolicyobj16, _authdetailsContext$i10, _returnpolicyobj17, _returnpolicyobj18, _returnpolicyobj19, _returnpolicyobj20, _returnpolicyobj21, _returnpolicyobj22, _returnpolicyobj23, _returnpolicyobj24;
23761
23672
  var actions = props.actions;
23762
23673
  var LogoutMutationContext = props.actions.LogoutMutationContext;
23763
23674
  var setsidecartnavshowcontext = props.actions.setsidecartnavshowcontext;
@@ -25207,7 +25118,92 @@ var HeaderresponsiveStyle2 = function HeaderresponsiveStyle2(props) {
25207
25118
  }
25208
25119
  }, lang.logout))))), activeTab == 'categories' && sectionproperties.responsiveheaderstyle != 'Style 2 With Merged Subheader' && /*#__PURE__*/React__default["default"].createElement("div", {
25209
25120
  className: ' row m-0 w-100 accordionContainer anim'
25210
- }, sectionproperties.subheaderParentType == 'Categories' && CategoriesAccordion(), sectionproperties.subheaderParentType == 'Parent Collections' && ParentCollectionsAccordion(), sectionproperties.subheaderParentType == 'Collections' && CollectionsAccordion())))), sectionproperties.length != 0 && sectionproperties.responsiveheaderstyle == 'Style 2 With Merged Subheader' && /*#__PURE__*/React__default["default"].createElement(reactBootstrap.Offcanvas, {
25121
+ }, sectionproperties.subheaderParentType == 'Categories' && CategoriesAccordion(), sectionproperties.subheaderParentType == 'Parent Collections' && ParentCollectionsAccordion(), sectionproperties.subheaderParentType == 'Collections' && CollectionsAccordion(), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i10 = authdetailsContext.instinfo) === null || _authdetailsContext$i10 === void 0 ? void 0 : _authdetailsContext$i10.contactinfo.instid) == '6783c92e08789' && /*#__PURE__*/React__default["default"].createElement("div", {
25122
+ "class": "row m-0 w-100"
25123
+ }, sectionproperties.showlanuagecontainer == 'Show' && sectionproperties.langresponsiveposition == 'In Menu' && /*#__PURE__*/React__default["default"].createElement("div", {
25124
+ className: "row m-0 w-100 pl-3 pr-3"
25125
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
25126
+ "class": header_cssstyles.navbarItem + ' col-lg-12 p-0 d-flex align-items-center justify-content-start mb-2 ',
25127
+ style: {}
25128
+ }, /*#__PURE__*/React__default["default"].createElement("p", {
25129
+ "class": "".concat(header_cssstyles.navbar_item_text_responsive) + ' m-0 p-0 ',
25130
+ style: {
25131
+ cursor: 'default'
25132
+ }
25133
+ }, langdetect == 'en' ? 'Language' : 'اللغة')), /*#__PURE__*/React__default["default"].createElement("div", {
25134
+ "class": "col-lg-12 p-0 d-flex align-items-center justify-content-start my-1"
25135
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
25136
+ "class": "row m-0 w-100",
25137
+ style: {
25138
+ background: sectionproperties.langcontainerbgresp,
25139
+ borderRadius: 5
25140
+ }
25141
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
25142
+ "class": header_cssstyles.navbarItem + ' col-6 p-0 allcentered py-2 px-2 cursor-pointer ',
25143
+ onClick: function onClick() {
25144
+ setlang('en');
25145
+ setmenuactive(false);
25146
+ }
25147
+ }, /*#__PURE__*/React__default["default"].createElement("p", {
25148
+ "class": "m-0 p-0 w-100 allcentered py-3",
25149
+ style: {
25150
+ background: langdetect == 'en' ? sectionproperties.langcontainerbgresp_active : 'transparent',
25151
+ borderRadius: 5,
25152
+ fontSize: 15,
25153
+ color: sectionproperties.language_container_color_resp
25154
+ }
25155
+ }, "English")), /*#__PURE__*/React__default["default"].createElement("div", {
25156
+ "class": header_cssstyles.navbarItem + ' col-6 p-0 allcentered py-2 px-2 cursor-pointer ',
25157
+ onClick: function onClick() {
25158
+ setlang('ar');
25159
+ setmenuactive(false);
25160
+ }
25161
+ }, /*#__PURE__*/React__default["default"].createElement("p", {
25162
+ "class": "m-0 p-0 w-100 allcentered py-3",
25163
+ style: {
25164
+ borderRadius: 5,
25165
+ background: langdetect == 'ar' ? sectionproperties.langcontainerbgresp_active : 'transparent',
25166
+ fontSize: 15,
25167
+ color: sectionproperties.language_container_color_resp
25168
+ }
25169
+ }, "\u0644\u063A\u0629 \u0639\u0631\u0628\u064A\u0629"))))), sectionproperties.ShowUserBtn == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
25170
+ className: "row m-0 w-100 pl-3 pr-3 mt-5"
25171
+ }, !authdetailsContext.loggedin && /*#__PURE__*/React__default["default"].createElement("button", {
25172
+ "class": "".concat(header_cssstyles.userbtn_respContainer) + ' anim d-flex align-items-center justify-content-start p-0 m-0 ',
25173
+ onClick: function onClick() {
25174
+ routingcountext(StaticPagesLinksContext.Login);
25175
+ setmenuactive(false);
25176
+ }
25177
+ }, /*#__PURE__*/React__default["default"].createElement("i", {
25178
+ "class": "".concat(header_cssstyles.userbtnLoggedin_icon) + ' h-100 allcentered userbtn_resp m-0 p-0 p-0 '
25179
+ }, /*#__PURE__*/React__default["default"].createElement(BiUser.BiUser, null)), /*#__PURE__*/React__default["default"].createElement("span", {
25180
+ "class": "userbtn_resp mx-2"
25181
+ }, langdetect == 'en' ? 'Login/Register' : 'تسجيل دخول/إنشاء حساب')), authdetailsContext.loggedin && /*#__PURE__*/React__default["default"].createElement("button", {
25182
+ "class": "".concat(header_cssstyles.userbtn_respContainer) + ' anim d-flex align-items-center justify-content-start p-0 m-0 ',
25183
+ onClick: function onClick() {
25184
+ routingcountext(StaticPagesLinksContext.accountinfo);
25185
+ setmenuactive(false);
25186
+ }
25187
+ }, /*#__PURE__*/React__default["default"].createElement("i", {
25188
+ "class": "".concat(header_cssstyles.userbtnLoggedin_icon) + ' h-100 allcentered userbtn_resp m-0 p-0 p-0 '
25189
+ }, /*#__PURE__*/React__default["default"].createElement(BiUser.BiUser, null)), /*#__PURE__*/React__default["default"].createElement("span", {
25190
+ "class": header_cssstyles.loggedintext + ' text-start text-overflow d-block loggedintext mx-2 '
25191
+ }, authdetailsContext.customerinfo.name))), authdetailsContext.loggedin && /*#__PURE__*/React__default["default"].createElement("div", {
25192
+ className: "row m-0 w-100"
25193
+ }, /*#__PURE__*/React__default["default"].createElement("button", {
25194
+ "class": ' d-flex align-items-center justify-content-center p-0 m-0 ',
25195
+ onClick: function onClick() {
25196
+ LogoutMutationContext.mutate();
25197
+ setmenuactive(false);
25198
+ },
25199
+ style: {
25200
+ width: '90%',
25201
+ height: 40,
25202
+ background: 'white',
25203
+ color: '#000',
25204
+ fontSize: 16
25205
+ }
25206
+ }, lang.logout))))))), sectionproperties.length != 0 && sectionproperties.responsiveheaderstyle == 'Style 2 With Merged Subheader' && /*#__PURE__*/React__default["default"].createElement(reactBootstrap.Offcanvas, {
25211
25207
  show: openmenuCanvas,
25212
25208
  onHide: function onHide() {
25213
25209
  setopenmenuCanvas(false);