tabexseriescomponents 0.0.571 → 0.0.573

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.umd.js CHANGED
@@ -16531,192 +16531,180 @@
16531
16531
  function ownKeys$2a(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; }
16532
16532
  function _objectSpread$2a(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$2a(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$2a(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
16533
16533
  var CollectionsFilterHorizontal = function CollectionsFilterHorizontal(props) {
16534
- var _authdetailsContext$i;
16535
16534
  props.actions.lang;
16536
16535
  var langdetect = props.actions.langdetect;
16537
16536
  props.actions.productfiltercontext;
16538
16537
  props.actions.setproductfiltercontext;
16539
16538
  var ProductFilterObjContext = props.actions.ProductFilterObjContext;
16540
16539
  var setProductFilterObjContext = props.actions.setProductFilterObjContext;
16541
- var authdetailsContext = props.actions.authdetailsContext;
16540
+ props.actions.authdetailsContext;
16542
16541
  var routingcountext = props.actions.routingcountext;
16543
16542
  var StaticPagesLinksContext = props.actions.StaticPagesLinksContext;
16544
16543
  props.actions.ikimagecredcontext;
16545
- var FetchQueriesEngineContext = props.actions.FetchQueriesEngineContext;
16546
- var setFetchQueriesEngineContext = props.actions.setFetchQueriesEngineContext;
16544
+ props.actions.FetchQueriesEngineContext;
16545
+ props.actions.setFetchQueriesEngineContext;
16546
+ props.actions.fetchcollectionsQueryContext;
16547
+ var fetchCategoriesQueryContext = props.actions.fetchCategoriesQueryContext;
16547
16548
  var _useState = React.useState(''),
16548
16549
  _useState2 = _slicedToArray__default["default"](_useState, 2),
16549
16550
  sectionproperties = _useState2[0],
16550
16551
  setsectionproperties = _useState2[1];
16551
16552
  var _useState3 = React.useState([]),
16552
- _useState4 = _slicedToArray__default["default"](_useState3, 2),
16553
- collectionstobevisible = _useState4[0],
16554
- setcollectionstobevisible = _useState4[1];
16555
- var _useState5 = React.useState(_toConsumableArray__default["default"](authdetailsContext.instinfo.instcollections)),
16553
+ _useState4 = _slicedToArray__default["default"](_useState3, 2);
16554
+ _useState4[0];
16555
+ _useState4[1];
16556
+ // const [instcollections, setinstcollections] = useState([...fetchcollectionsQueryContext?.data?.data?.collections]);
16557
+ var _useState5 = React.useState([]),
16556
16558
  _useState6 = _slicedToArray__default["default"](_useState5, 2),
16557
- instcollections = _useState6[0],
16558
- setinstcollections = _useState6[1];
16559
- var _useState7 = React.useState(_toConsumableArray__default["default"](authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i = authdetailsContext.instinfo) === null || _authdetailsContext$i === void 0 ? void 0 : _authdetailsContext$i.instcategories)),
16560
- _useState8 = _slicedToArray__default["default"](_useState7, 2),
16561
- instcategories = _useState8[0],
16562
- setinstcategories = _useState8[1];
16563
- var _useState9 = React.useState(false),
16564
- _useState10 = _slicedToArray__default["default"](_useState9, 2);
16565
- _useState10[0];
16566
- _useState10[1];
16559
+ instcategories = _useState6[0],
16560
+ setinstcategories = _useState6[1];
16561
+ var _useState7 = React.useState(false),
16562
+ _useState8 = _slicedToArray__default["default"](_useState7, 2);
16563
+ _useState8[0];
16564
+ _useState8[1];
16567
16565
  React.useEffect(function () {
16568
- filterupdater();
16566
+ // filterupdater();
16569
16567
  }, []);
16570
16568
  React.useEffect(function () {
16571
- var _authdetailsContext$i2;
16572
- setinstcollections(_toConsumableArray__default["default"](authdetailsContext.instinfo.instcollections));
16573
- setinstcategories(_toConsumableArray__default["default"](authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i2 = authdetailsContext.instinfo) === null || _authdetailsContext$i2 === void 0 ? void 0 : _authdetailsContext$i2.instcategories));
16574
- }, [authdetailsContext]);
16569
+ if (fetchCategoriesQueryContext.isSuccess) {
16570
+ var _fetchCategoriesQuery;
16571
+ setinstcategories(_toConsumableArray__default["default"](fetchCategoriesQueryContext === null || fetchCategoriesQueryContext === void 0 || (_fetchCategoriesQuery = fetchCategoriesQueryContext.data) === null || _fetchCategoriesQuery === void 0 || (_fetchCategoriesQuery = _fetchCategoriesQuery.data) === null || _fetchCategoriesQuery === void 0 ? void 0 : _fetchCategoriesQuery.categories));
16572
+ }
16573
+ }, [fetchCategoriesQueryContext.isSuccess]);
16575
16574
  React.useEffect(function () {
16576
16575
  if (props.sectionpropertiesprops != undefined && props.sectionpropertiesprops.length != 0) {
16577
16576
  setsectionproperties(props.sectionpropertiesprops);
16578
16577
  }
16579
16578
  }, [props.sectionpropertiesprops]);
16580
16579
  React.useEffect(function () {
16581
- filterupdater();
16582
- }, [ProductFilterObjContext]);
16583
- React.useEffect(function () {
16584
- if ((sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.filterretreivetype) == 'Depend on chosen parent group') {
16585
- if ((ProductFilterObjContext === null || ProductFilterObjContext === void 0 ? void 0 : ProductFilterObjContext.collections) != undefined && (ProductFilterObjContext === null || ProductFilterObjContext === void 0 ? void 0 : ProductFilterObjContext.collections) != null && Array.isArray(ProductFilterObjContext === null || ProductFilterObjContext === void 0 ? void 0 : ProductFilterObjContext.collections)) {
16586
- var _parentidsfound;
16587
- var collectiontobevisible = [];
16588
- var parentidsfound = [];
16589
- if (ProductFilterObjContext.ProductFetchingType == 'Parent Collection') {
16590
- parentidsfound = ProductFilterObjContext === null || ProductFilterObjContext === void 0 ? void 0 : ProductFilterObjContext.collections;
16591
- } else if (ProductFilterObjContext.ProductFetchingType == 'Category') {
16592
- instcategories === null || instcategories === void 0 || instcategories.forEach(function (catitem, catindex) {
16593
- var _ProductFilterObjCont;
16594
- ProductFilterObjContext === null || ProductFilterObjContext === void 0 || (_ProductFilterObjCont = ProductFilterObjContext.collections) === null || _ProductFilterObjCont === void 0 || _ProductFilterObjCont.forEach(function (colitem2, colindex2) {
16595
- if (catitem.categoryid == colitem2) {
16596
- var _catitem$parentcollet;
16597
- catitem === null || catitem === void 0 || (_catitem$parentcollet = catitem.parentcolletions) === null || _catitem$parentcollet === void 0 || _catitem$parentcollet.forEach(function (parentcolitem, parentcolindex) {
16598
- parentidsfound.push(parentcolitem.parentcollectionid);
16599
- });
16600
- }
16601
- });
16602
- });
16603
- } else {
16604
- instcategories === null || instcategories === void 0 || instcategories.forEach(function (catitem, catindex) {
16605
- var _catitem$parentcollet2;
16606
- catitem === null || catitem === void 0 || (_catitem$parentcollet2 = catitem.parentcolletions) === null || _catitem$parentcollet2 === void 0 || _catitem$parentcollet2.forEach(function (parentcolitem, parentcolindex) {
16607
- var _parentcolitem$collec;
16608
- parentcolitem === null || parentcolitem === void 0 || (_parentcolitem$collec = parentcolitem.collections) === null || _parentcolitem$collec === void 0 || _parentcolitem$collec.forEach(function (colitem, colindex) {
16609
- var _ProductFilterObjCont2;
16610
- ProductFilterObjContext === null || ProductFilterObjContext === void 0 || (_ProductFilterObjCont2 = ProductFilterObjContext.collections) === null || _ProductFilterObjCont2 === void 0 || _ProductFilterObjCont2.forEach(function (colitem2, colindex2) {
16611
- if (colitem.collectionid == colitem2) {
16612
- parentidsfound.push(parentcolitem.parentcollectionid);
16613
- }
16614
- });
16615
- });
16616
- });
16617
- });
16618
- }
16619
- parentidsfound = parentidsfound.filter(function (val, id, array) {
16620
- return array.indexOf(val) == id;
16621
- });
16622
- if (((_parentidsfound = parentidsfound) === null || _parentidsfound === void 0 ? void 0 : _parentidsfound.length) != 0) {
16623
- instcategories === null || instcategories === void 0 || instcategories.forEach(function (catitem, catindex) {
16624
- var _catitem$parentcollet3;
16625
- catitem === null || catitem === void 0 || (_catitem$parentcollet3 = catitem.parentcolletions) === null || _catitem$parentcollet3 === void 0 || _catitem$parentcollet3.forEach(function (parentcolitem, parentcolindex) {
16626
- var _parentidsfound2;
16627
- (_parentidsfound2 = parentidsfound) === null || _parentidsfound2 === void 0 || _parentidsfound2.forEach(function (parentidfounditem, parentidfoundindex) {
16628
- if (parentidfounditem == (parentcolitem === null || parentcolitem === void 0 ? void 0 : parentcolitem.parentcollectionid)) {
16629
- var _parentcolitem$collec2;
16630
- parentcolitem === null || parentcolitem === void 0 || (_parentcolitem$collec2 = parentcolitem.collections) === null || _parentcolitem$collec2 === void 0 || _parentcolitem$collec2.forEach(function (colitem, colindex) {
16631
- var iscolexists = false;
16632
- collectiontobevisible === null || collectiontobevisible === void 0 || collectiontobevisible.forEach(function (colitemex, colindexex) {
16633
- if (colitemex.collectionid == colitem.collectionid) {
16634
- iscolexists = true;
16635
- }
16636
- });
16637
- if (iscolexists == false) {
16638
- collectiontobevisible.push(colitem);
16639
- }
16640
- });
16641
- }
16642
- });
16643
- });
16644
- });
16645
- if ((collectiontobevisible === null || collectiontobevisible === void 0 ? void 0 : collectiontobevisible.length) != 0) {
16646
- setcollectionstobevisible(collectiontobevisible);
16647
- } else {
16648
- setcollectionstobevisible(instcollections);
16649
- }
16650
- } else {
16651
- setcollectionstobevisible(instcollections);
16652
- }
16653
- } else {
16654
- setcollectionstobevisible(instcollections);
16655
- }
16656
- } else {
16657
- setcollectionstobevisible(instcollections);
16658
- }
16580
+ // filterupdater();
16659
16581
  }, [ProductFilterObjContext]);
16660
- var filterupdater = function filterupdater() {
16661
- setTimeout(function () {
16662
- var tempFetchQueriesEngineContext = _objectSpread$2a({}, FetchQueriesEngineContext);
16663
- tempFetchQueriesEngineContext.fetchtabexcountries = true;
16664
- setFetchQueriesEngineContext(tempFetchQueriesEngineContext);
16665
- }, 100);
16666
- if (instcategories.length != 0) {
16667
- var _ProductFilterObjCont3;
16668
- var tempInstcategories = _toConsumableArray__default["default"](instcategories);
16669
- tempInstcategories.forEach(function (catitem, catindex) {
16670
- catitem.parentcolletions.forEach(function (parentcolitem, parentcolindex) {
16671
- parentcolitem.collections.forEach(function (colitem, colindex) {
16672
- colitem.isfilterselected = false;
16673
- });
16674
- });
16675
- });
16676
- ProductFilterObjContext === null || ProductFilterObjContext === void 0 || (_ProductFilterObjCont3 = ProductFilterObjContext.collections) === null || _ProductFilterObjCont3 === void 0 || _ProductFilterObjCont3.forEach(function (filteritem, filterindex) {
16677
- tempInstcategories.forEach(function (catitem, catindex) {
16678
- catitem.parentcolletions.forEach(function (parentcolitem, parentcolindex) {
16679
- parentcolitem.collections.forEach(function (colitem, colindex) {
16680
- if (colitem.collectionid == filteritem) {
16681
- colitem.isfilterselected = true;
16682
- }
16683
- });
16684
- });
16685
- });
16686
- });
16687
- setinstcategories(_toConsumableArray__default["default"](tempInstcategories));
16688
- }
16689
- if (instcollections.length != 0) {
16690
- var _ProductFilterObjCont4;
16691
- var tempInstcollections = _toConsumableArray__default["default"](instcollections);
16692
- tempInstcollections.forEach(function (instfilteritem, valefilteritemindex) {
16693
- instfilteritem.isfilterselected = false;
16694
- });
16695
- ProductFilterObjContext === null || ProductFilterObjContext === void 0 || (_ProductFilterObjCont4 = ProductFilterObjContext.collections) === null || _ProductFilterObjCont4 === void 0 || _ProductFilterObjCont4.forEach(function (filteritem, filterindex) {
16696
- tempInstcollections === null || tempInstcollections === void 0 || tempInstcollections.forEach(function (instfilteritem, instfilterindex) {
16697
- if (instfilteritem.collectionid == filteritem) {
16698
- instfilteritem.isfilterselected = true;
16699
- }
16700
- });
16701
- });
16702
- setinstcollections(_toConsumableArray__default["default"](tempInstcollections));
16703
- }
16704
- };
16582
+
16583
+ // useEffect(() => {
16584
+ // if (sectionproperties?.filterretreivetype == 'Depend on chosen parent group') {
16585
+ // if (ProductFilterObjContext?.collections != undefined && ProductFilterObjContext?.collections != null && Array.isArray(ProductFilterObjContext?.collections)) {
16586
+ // var collectiontobevisible = [];
16587
+ // var parentidsfound = [];
16588
+ // if (ProductFilterObjContext.ProductFetchingType == 'Parent Collection') {
16589
+ // parentidsfound = ProductFilterObjContext?.collections;
16590
+ // } else if (ProductFilterObjContext.ProductFetchingType == 'Category') {
16591
+ // instcategories?.forEach(function (catitem, catindex) {
16592
+ // ProductFilterObjContext?.collections?.forEach(function (colitem2, colindex2) {
16593
+ // if (catitem.categoryid == colitem2) {
16594
+ // catitem?.parentcolletions?.forEach(function (parentcolitem, parentcolindex) {
16595
+ // parentidsfound.push(parentcolitem.parentcollectionid);
16596
+ // });
16597
+ // }
16598
+ // });
16599
+ // });
16600
+ // } else {
16601
+ // instcategories?.forEach(function (catitem, catindex) {
16602
+ // catitem?.parentcolletions?.forEach(function (parentcolitem, parentcolindex) {
16603
+ // parentcolitem?.collections?.forEach(function (colitem, colindex) {
16604
+ // ProductFilterObjContext?.collections?.forEach(function (colitem2, colindex2) {
16605
+ // if (colitem.collectionid == colitem2) {
16606
+ // parentidsfound.push(parentcolitem.parentcollectionid);
16607
+ // }
16608
+ // });
16609
+ // });
16610
+ // });
16611
+ // });
16612
+ // }
16613
+
16614
+ // parentidsfound = parentidsfound.filter((val, id, array) => array.indexOf(val) == id);
16615
+
16616
+ // if (parentidsfound?.length != 0) {
16617
+ // instcategories?.forEach(function (catitem, catindex) {
16618
+ // catitem?.parentcolletions?.forEach(function (parentcolitem, parentcolindex) {
16619
+ // parentidsfound?.forEach(function (parentidfounditem, parentidfoundindex) {
16620
+ // if (parentidfounditem == parentcolitem?.parentcollectionid) {
16621
+ // parentcolitem?.collections?.forEach(function (colitem, colindex) {
16622
+ // var iscolexists = false;
16623
+ // collectiontobevisible?.forEach(function (colitemex, colindexex) {
16624
+ // if (colitemex.collectionid == colitem.collectionid) {
16625
+ // iscolexists = true;
16626
+ // }
16627
+ // });
16628
+ // if (iscolexists == false) {
16629
+ // collectiontobevisible.push(colitem);
16630
+ // }
16631
+ // });
16632
+ // }
16633
+ // });
16634
+ // });
16635
+ // });
16636
+
16637
+ // if (collectiontobevisible?.length != 0) {
16638
+ // setcollectionstobevisible(collectiontobevisible);
16639
+ // } else {
16640
+ // setcollectionstobevisible(instcollections);
16641
+ // }
16642
+ // } else {
16643
+ // setcollectionstobevisible(instcollections);
16644
+ // }
16645
+ // } else {
16646
+ // setcollectionstobevisible(instcollections);
16647
+ // }
16648
+ // } else {
16649
+ // setcollectionstobevisible(instcollections);
16650
+ // }
16651
+ // }, [ProductFilterObjContext]);
16652
+
16653
+ // const filterupdater = () => {
16654
+ // if (instcategories.length != 0) {
16655
+ // var tempInstcategories = [...instcategories];
16656
+ // tempInstcategories.forEach(function (catitem, catindex) {
16657
+ // catitem.parentcolletions.forEach(function (parentcolitem, parentcolindex) {
16658
+ // parentcolitem.collections.forEach(function (colitem, colindex) {
16659
+ // colitem.isfilterselected = false;
16660
+ // });
16661
+ // });
16662
+ // });
16663
+
16664
+ // ProductFilterObjContext?.collections?.forEach(function (filteritem, filterindex) {
16665
+ // tempInstcategories.forEach(function (catitem, catindex) {
16666
+ // catitem.parentcolletions.forEach(function (parentcolitem, parentcolindex) {
16667
+ // parentcolitem.collections.forEach(function (colitem, colindex) {
16668
+ // if (colitem.collectionid == filteritem) {
16669
+ // colitem.isfilterselected = true;
16670
+ // }
16671
+ // });
16672
+ // });
16673
+ // });
16674
+ // });
16675
+
16676
+ // setinstcategories([...tempInstcategories]);
16677
+ // }
16678
+ // // if (instcollections.length != 0) {
16679
+ // // var tempInstcollections = [...instcollections];
16680
+ // // tempInstcollections.forEach(function (instfilteritem, valefilteritemindex) {
16681
+ // // instfilteritem.isfilterselected = false;
16682
+ // // });
16683
+ // // ProductFilterObjContext?.collections?.forEach(function (filteritem, filterindex) {
16684
+ // // tempInstcollections?.forEach(function (instfilteritem, instfilterindex) {
16685
+ // // if (instfilteritem.collectionid == filteritem) {
16686
+ // // instfilteritem.isfilterselected = true;
16687
+ // // }
16688
+ // // });
16689
+ // // });
16690
+ // // setinstcollections([...tempInstcollections]);
16691
+ // // }
16692
+ // };
16705
16693
  var setCollectionFilterFunc = function setCollectionFilterFunc(collectionid) {
16706
16694
  var _tempfetchproductsfil;
16707
16695
  var tempfetchproductsfilerobjcontext = _objectSpread$2a({}, ProductFilterObjContext);
16708
16696
  var CollectionExists = false;
16709
- tempfetchproductsfilerobjcontext === null || tempfetchproductsfilerobjcontext === void 0 || (_tempfetchproductsfil = tempfetchproductsfilerobjcontext.collections) === null || _tempfetchproductsfil === void 0 || _tempfetchproductsfil.forEach(function (filteritem, filterindex) {
16697
+ tempfetchproductsfilerobjcontext === null || tempfetchproductsfilerobjcontext === void 0 || (_tempfetchproductsfil = tempfetchproductsfilerobjcontext.categories) === null || _tempfetchproductsfil === void 0 || _tempfetchproductsfil.forEach(function (filteritem, filterindex) {
16710
16698
  if (filteritem == collectionid) {
16711
16699
  CollectionExists = true;
16712
- tempfetchproductsfilerobjcontext.collections.splice(filterindex, 1);
16700
+ tempfetchproductsfilerobjcontext.categories.splice(filterindex, 1);
16713
16701
  }
16714
16702
  });
16715
16703
  if (!CollectionExists) {
16716
- if (tempfetchproductsfilerobjcontext.collections != undefined && Array.isArray(tempfetchproductsfilerobjcontext.collections)) {
16717
- tempfetchproductsfilerobjcontext.collections = [collectionid];
16704
+ if (tempfetchproductsfilerobjcontext.categories != undefined && Array.isArray(tempfetchproductsfilerobjcontext.categories)) {
16705
+ tempfetchproductsfilerobjcontext.categories = [collectionid];
16718
16706
  } else {
16719
- tempfetchproductsfilerobjcontext.collections = [collectionid];
16707
+ tempfetchproductsfilerobjcontext.categories = [collectionid];
16720
16708
  }
16721
16709
  }
16722
16710
  tempfetchproductsfilerobjcontext.page = 0;
@@ -16729,11 +16717,11 @@
16729
16717
  var CollectionsFilter = function CollectionsFilter() {
16730
16718
  return /*#__PURE__*/React__default["default"].createElement("div", {
16731
16719
  "class": "col-lg-12 p-0 scrollhorixontalcontainer text-center px-sm-3"
16732
- }, collectionstobevisible.map(function (item, index) {
16720
+ }, instcategories.map(function (item, index) {
16733
16721
  return /*#__PURE__*/React__default["default"].createElement("p", {
16734
16722
  "class": filter_cssstyles.filteritem + ' m-0 p-0 cursor-pointer scrollhorixontaldiv mx-4 mx-sm-2 ',
16735
16723
  onClick: function onClick() {
16736
- setCollectionFilterFunc(item.collectionid);
16724
+ setCollectionFilterFunc(item.categoryid);
16737
16725
  },
16738
16726
  style: {
16739
16727
  color: item.isfilterselected ? sectionproperties.activecat_color : ''
@@ -42412,7 +42400,7 @@
42412
42400
  function ownKeys$1B(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; }
42413
42401
  function _objectSpread$1B(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$1B(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$1B(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
42414
42402
  var Footer2 = function Footer2(props) {
42415
- var _logoarrayofobjects$, _logoarrayofobjects$2, _authdetailsContext$i, _authdetailsContext$i8, _authdetailsContext$i11, _authdetailsContext$i14, _authdetailsContext$i18, _authdetailsContext$i19;
42403
+ var _logoarrayofobjects$, _logoarrayofobjects$2, _authdetailsContext$i2, _authdetailsContext$i9, _authdetailsContext$i12, _authdetailsContext$i15, _returnpolicyobj, _returnpolicyobj2, _returnpolicyobj3, _returnpolicyobj4, _returnpolicyobj5, _returnpolicyobj6, _authdetailsContext$i19, _authdetailsContext$i20;
42416
42404
  var _useState = React.useState(''),
42417
42405
  _useState2 = _slicedToArray__default["default"](_useState, 2),
42418
42406
  sectionproperties = _useState2[0],
@@ -42573,6 +42561,16 @@
42573
42561
  }
42574
42562
  })
42575
42563
  };
42564
+ var returnpolicyobj = function returnpolicyobj(policytype) {
42565
+ var _authdetailsContext$i;
42566
+ var policyobj = {};
42567
+ authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i = authdetailsContext.instinfo) === null || _authdetailsContext$i === void 0 || (_authdetailsContext$i = _authdetailsContext$i.instpolicies) === null || _authdetailsContext$i === void 0 || _authdetailsContext$i.forEach(function (item, index) {
42568
+ if (item.policytype == policytype) {
42569
+ policyobj = item;
42570
+ }
42571
+ });
42572
+ return policyobj;
42573
+ };
42576
42574
  return /*#__PURE__*/React__default["default"].createElement("div", {
42577
42575
  "class": "row m-0 w-100 d-flex justify-content-center"
42578
42576
  }, /*#__PURE__*/React__default["default"].createElement("footer", {
@@ -42602,15 +42600,15 @@
42602
42600
  fontSize: sectionproperties.titlefontsize + 'px',
42603
42601
  marginLeft: sectionproperties.titlemarginleft + 'px'
42604
42602
  }
42605
- }, authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i = authdetailsContext.instinfo) === null || _authdetailsContext$i === void 0 ? void 0 : _authdetailsContext$i.storename_en)), /*#__PURE__*/React__default["default"].createElement("div", {
42603
+ }, authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i2 = authdetailsContext.instinfo) === null || _authdetailsContext$i2 === void 0 ? void 0 : _authdetailsContext$i2.storename_en)), /*#__PURE__*/React__default["default"].createElement("div", {
42606
42604
  "class": " col-lg-12 d-flex flex-row align-items-center justify-content-center "
42607
42605
  }, sectionproperties.fbbtn_show == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
42608
42606
  "class": "".concat(footerStyles.facebook_btn) + ' d-flex align-items-center justify-content-center ml-3 mr-3 ',
42609
42607
  onClick: function onClick() {
42610
- var _authdetailsContext$i2;
42611
- if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i2 = authdetailsContext.instinfo) === null || _authdetailsContext$i2 === void 0 ? void 0 : _authdetailsContext$i2.facebooklink) != null) {
42612
- var _authdetailsContext$i3;
42613
- window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i3 = authdetailsContext.instinfo) === null || _authdetailsContext$i3 === void 0 ? void 0 : _authdetailsContext$i3.facebooklink, '_blank');
42608
+ var _authdetailsContext$i3;
42609
+ if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i3 = authdetailsContext.instinfo) === null || _authdetailsContext$i3 === void 0 ? void 0 : _authdetailsContext$i3.facebooklink) != null) {
42610
+ var _authdetailsContext$i4;
42611
+ window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i4 = authdetailsContext.instinfo) === null || _authdetailsContext$i4 === void 0 ? void 0 : _authdetailsContext$i4.facebooklink, '_blank');
42614
42612
  }
42615
42613
  }
42616
42614
  }, /*#__PURE__*/React__default["default"].createElement(FaFacebookF.FaFacebookF, {
@@ -42618,10 +42616,10 @@
42618
42616
  })), sectionproperties.instbtn_show == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
42619
42617
  "class": "".concat(footerStyles.instgram_btn) + ' d-flex align-items-center justify-content-center ml-3 mr-3 ',
42620
42618
  onClick: function onClick() {
42621
- var _authdetailsContext$i4;
42622
- if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i4 = authdetailsContext.instinfo) === null || _authdetailsContext$i4 === void 0 ? void 0 : _authdetailsContext$i4.instagramlink) != null) {
42623
- var _authdetailsContext$i5;
42624
- window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i5 = authdetailsContext.instinfo) === null || _authdetailsContext$i5 === void 0 ? void 0 : _authdetailsContext$i5.instagramlink, '_blank');
42619
+ var _authdetailsContext$i5;
42620
+ if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i5 = authdetailsContext.instinfo) === null || _authdetailsContext$i5 === void 0 ? void 0 : _authdetailsContext$i5.instagramlink) != null) {
42621
+ var _authdetailsContext$i6;
42622
+ window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i6 = authdetailsContext.instinfo) === null || _authdetailsContext$i6 === void 0 ? void 0 : _authdetailsContext$i6.instagramlink, '_blank');
42625
42623
  }
42626
42624
  }
42627
42625
  }, /*#__PURE__*/React__default["default"].createElement(AiFillInstagram.AiFillInstagram, {
@@ -42629,43 +42627,43 @@
42629
42627
  })), sectionproperties.youtbtn_show == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
42630
42628
  "class": "".concat(footerStyles.youtube_btn) + ' d-flex align-items-center justify-content-center ml-3 mr-3 ',
42631
42629
  onClick: function onClick() {
42632
- var _authdetailsContext$i6;
42633
- if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i6 = authdetailsContext.instinfo) === null || _authdetailsContext$i6 === void 0 ? void 0 : _authdetailsContext$i6.whatsappnumber) != null) {
42634
- var _authdetailsContext$i7;
42635
- window.open('https://api.whatsapp.com/send?phone=' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i7 = authdetailsContext.instinfo) === null || _authdetailsContext$i7 === void 0 ? void 0 : _authdetailsContext$i7.whatsappnumber), '_blank');
42630
+ var _authdetailsContext$i7;
42631
+ if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i7 = authdetailsContext.instinfo) === null || _authdetailsContext$i7 === void 0 ? void 0 : _authdetailsContext$i7.whatsappnumber) != null) {
42632
+ var _authdetailsContext$i8;
42633
+ window.open('https://api.whatsapp.com/send?phone=' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i8 = authdetailsContext.instinfo) === null || _authdetailsContext$i8 === void 0 ? void 0 : _authdetailsContext$i8.whatsappnumber), '_blank');
42636
42634
  }
42637
42635
  }
42638
42636
  }, /*#__PURE__*/React__default["default"].createElement(FaWhatsapp.FaWhatsapp, {
42639
42637
  size: sectionproperties.youtubebtniconfontsize
42640
- })), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i8 = authdetailsContext.instinfo) === null || _authdetailsContext$i8 === void 0 ? void 0 : _authdetailsContext$i8.youtubelink) != null && /*#__PURE__*/React__default["default"].createElement("div", {
42638
+ })), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i9 = authdetailsContext.instinfo) === null || _authdetailsContext$i9 === void 0 ? void 0 : _authdetailsContext$i9.youtubelink) != null && /*#__PURE__*/React__default["default"].createElement("div", {
42641
42639
  "class": "".concat(footerStyles.youtube_btn) + ' d-flex align-items-center justify-content-center ml-3 mr-3 ',
42642
42640
  onClick: function onClick() {
42643
- var _authdetailsContext$i9;
42644
- if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i9 = authdetailsContext.instinfo) === null || _authdetailsContext$i9 === void 0 ? void 0 : _authdetailsContext$i9.youtubelink) != null) {
42645
- var _authdetailsContext$i10;
42646
- window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i10 = authdetailsContext.instinfo) === null || _authdetailsContext$i10 === void 0 ? void 0 : _authdetailsContext$i10.youtubelink, '_blank');
42641
+ var _authdetailsContext$i10;
42642
+ if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i10 = authdetailsContext.instinfo) === null || _authdetailsContext$i10 === void 0 ? void 0 : _authdetailsContext$i10.youtubelink) != null) {
42643
+ var _authdetailsContext$i11;
42644
+ window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i11 = authdetailsContext.instinfo) === null || _authdetailsContext$i11 === void 0 ? void 0 : _authdetailsContext$i11.youtubelink, '_blank');
42647
42645
  }
42648
42646
  }
42649
42647
  }, /*#__PURE__*/React__default["default"].createElement(AiFillYoutube.AiFillYoutube, {
42650
42648
  size: sectionproperties.instgrambtniconfontsize
42651
- })), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i11 = authdetailsContext.instinfo) === null || _authdetailsContext$i11 === void 0 ? void 0 : _authdetailsContext$i11.linkedinlink) != null && /*#__PURE__*/React__default["default"].createElement("div", {
42649
+ })), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i12 = authdetailsContext.instinfo) === null || _authdetailsContext$i12 === void 0 ? void 0 : _authdetailsContext$i12.linkedinlink) != null && /*#__PURE__*/React__default["default"].createElement("div", {
42652
42650
  "class": "".concat(footerStyles.youtube_btn) + ' d-flex align-items-center justify-content-center ml-3 mr-3 ',
42653
42651
  onClick: function onClick() {
42654
- var _authdetailsContext$i12;
42655
- if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i12 = authdetailsContext.instinfo) === null || _authdetailsContext$i12 === void 0 ? void 0 : _authdetailsContext$i12.linkedinlink) != null) {
42656
- var _authdetailsContext$i13;
42657
- window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i13 = authdetailsContext.instinfo) === null || _authdetailsContext$i13 === void 0 ? void 0 : _authdetailsContext$i13.linkedinlink, '_blank');
42652
+ var _authdetailsContext$i13;
42653
+ if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i13 = authdetailsContext.instinfo) === null || _authdetailsContext$i13 === void 0 ? void 0 : _authdetailsContext$i13.linkedinlink) != null) {
42654
+ var _authdetailsContext$i14;
42655
+ window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i14 = authdetailsContext.instinfo) === null || _authdetailsContext$i14 === void 0 ? void 0 : _authdetailsContext$i14.linkedinlink, '_blank');
42658
42656
  }
42659
42657
  }
42660
42658
  }, /*#__PURE__*/React__default["default"].createElement(FaLinkedinIn.FaLinkedinIn, {
42661
42659
  size: sectionproperties.instgrambtniconfontsize
42662
- })), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i14 = authdetailsContext.instinfo) === null || _authdetailsContext$i14 === void 0 ? void 0 : _authdetailsContext$i14.tiktoklink) != null && /*#__PURE__*/React__default["default"].createElement("div", {
42660
+ })), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i15 = authdetailsContext.instinfo) === null || _authdetailsContext$i15 === void 0 ? void 0 : _authdetailsContext$i15.tiktoklink) != null && /*#__PURE__*/React__default["default"].createElement("div", {
42663
42661
  "class": "".concat(footerStyles.youtube_btn) + ' d-flex align-items-center justify-content-center ml-3 mr-3 ',
42664
42662
  onClick: function onClick() {
42665
- var _authdetailsContext$i15;
42666
- if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i15 = authdetailsContext.instinfo) === null || _authdetailsContext$i15 === void 0 ? void 0 : _authdetailsContext$i15.tiktoklink) != null) {
42667
- var _authdetailsContext$i16;
42668
- window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i16 = authdetailsContext.instinfo) === null || _authdetailsContext$i16 === void 0 ? void 0 : _authdetailsContext$i16.tiktoklink, '_blank');
42663
+ var _authdetailsContext$i16;
42664
+ if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i16 = authdetailsContext.instinfo) === null || _authdetailsContext$i16 === void 0 ? void 0 : _authdetailsContext$i16.tiktoklink) != null) {
42665
+ var _authdetailsContext$i17;
42666
+ window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i17 = authdetailsContext.instinfo) === null || _authdetailsContext$i17 === void 0 ? void 0 : _authdetailsContext$i17.tiktoklink, '_blank');
42669
42667
  }
42670
42668
  }
42671
42669
  }, /*#__PURE__*/React__default["default"].createElement(IoLogoTiktok.IoLogoTiktok, {
@@ -42718,12 +42716,31 @@
42718
42716
  }
42719
42717
  }, lang.orderhistory), /*#__PURE__*/React__default["default"].createElement("div", {
42720
42718
  "class": "".concat(footerStyles.vl) + ' d-flex align-items-center justify-content-center mb-3'
42721
- }), /*#__PURE__*/React__default["default"].createElement("p", {
42719
+ }), sectionproperties.separatepolicies == 'No' && /*#__PURE__*/React__default["default"].createElement("p", {
42722
42720
  "class": "".concat(footerStyles.footersubtitlestyles) + ' mb-md-0 ',
42723
42721
  onClick: function onClick() {
42724
42722
  routingcountext(StaticPagesLinksContext.Policies);
42725
42723
  }
42726
- }, lang.policies)), sectionproperties.showhidesubpages == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
42724
+ }, lang.policies), sectionproperties.separatepolicies == 'Yes' && /*#__PURE__*/React__default["default"].createElement("p", {
42725
+ "class": "".concat(footerStyles.footersubtitlestyles) + ' mb-md-0 ',
42726
+ onClick: function onClick() {
42727
+ routingcountext(StaticPagesLinksContext.PrivacyPolicy);
42728
+ }
42729
+ }, langdetect == 'en' ? (_returnpolicyobj = returnpolicyobj('Privacy Policy')) === null || _returnpolicyobj === void 0 ? void 0 : _returnpolicyobj.policypagename_en : (_returnpolicyobj2 = returnpolicyobj('Privacy Policy')) === null || _returnpolicyobj2 === void 0 ? void 0 : _returnpolicyobj2.policypagename_ar), sectionproperties.separatepolicies == 'Yes' && /*#__PURE__*/React__default["default"].createElement("div", {
42730
+ "class": "".concat(footerStyles.vl) + ' d-flex align-items-center justify-content-center mb-3'
42731
+ }), sectionproperties.separatepolicies == 'Yes' && /*#__PURE__*/React__default["default"].createElement("p", {
42732
+ "class": "".concat(footerStyles.footersubtitlestyles) + ' mb-md-0 ',
42733
+ onClick: function onClick() {
42734
+ routingcountext(StaticPagesLinksContext.ShippingPolicy);
42735
+ }
42736
+ }, langdetect == 'en' ? (_returnpolicyobj3 = returnpolicyobj('Shipping Policy')) === null || _returnpolicyobj3 === void 0 ? void 0 : _returnpolicyobj3.policypagename_en : (_returnpolicyobj4 = returnpolicyobj('Shipping Policy')) === null || _returnpolicyobj4 === void 0 ? void 0 : _returnpolicyobj4.policypagename_ar), sectionproperties.separatepolicies == 'Yes' && /*#__PURE__*/React__default["default"].createElement("div", {
42737
+ "class": "".concat(footerStyles.vl) + ' d-flex align-items-center justify-content-center mb-3'
42738
+ }), sectionproperties.separatepolicies == 'Yes' && /*#__PURE__*/React__default["default"].createElement("p", {
42739
+ "class": "".concat(footerStyles.footersubtitlestyles) + ' mb-md-0 ',
42740
+ onClick: function onClick() {
42741
+ routingcountext(StaticPagesLinksContext.RefundPolicy);
42742
+ }
42743
+ }, 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)), sectionproperties.showhidesubpages == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
42727
42744
  "class": "d-none d-md-block align-items-center justify-content-center mt-3 p-0 row m-0 w-100"
42728
42745
  }, /*#__PURE__*/React__default["default"].createElement("div", {
42729
42746
  "class": "row m-0 w-100"
@@ -42757,12 +42774,12 @@
42757
42774
  }, /*#__PURE__*/React__default["default"].createElement("p", {
42758
42775
  "class": ' storeinfotext d-flex align-items-center justify-content-md-center cursor-pointer text-transform-none ',
42759
42776
  onClick: function onClick() {
42760
- var _authdetailsContext$i17;
42761
- window.open('mailto:' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i17 = authdetailsContext.instinfo) === null || _authdetailsContext$i17 === void 0 || (_authdetailsContext$i17 = _authdetailsContext$i17.contactinfo) === null || _authdetailsContext$i17 === void 0 ? void 0 : _authdetailsContext$i17.email), '_self');
42777
+ var _authdetailsContext$i18;
42778
+ window.open('mailto:' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i18 = authdetailsContext.instinfo) === null || _authdetailsContext$i18 === void 0 || (_authdetailsContext$i18 = _authdetailsContext$i18.contactinfo) === null || _authdetailsContext$i18 === void 0 ? void 0 : _authdetailsContext$i18.email), '_self');
42762
42779
  }
42763
42780
  }, /*#__PURE__*/React__default["default"].createElement("i", {
42764
42781
  "class": ' fa fa-at mr-2 ml-2 '
42765
- }), authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i18 = authdetailsContext.instinfo) === null || _authdetailsContext$i18 === void 0 || (_authdetailsContext$i18 = _authdetailsContext$i18.contactinfo) === null || _authdetailsContext$i18 === void 0 ? void 0 : _authdetailsContext$i18.email)), /*#__PURE__*/React__default["default"].createElement("div", {
42782
+ }), authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i19 = authdetailsContext.instinfo) === null || _authdetailsContext$i19 === void 0 || (_authdetailsContext$i19 = _authdetailsContext$i19.contactinfo) === null || _authdetailsContext$i19 === void 0 ? void 0 : _authdetailsContext$i19.email)), /*#__PURE__*/React__default["default"].createElement("div", {
42766
42783
  "class": "".concat(footerStyles.footerinfotext) + ' col-lg-4 col-md-4 col-sm-12 d-flex justify-content-center justify-content-md-center align-items-start p-0 '
42767
42784
  }, /*#__PURE__*/React__default["default"].createElement("p", {
42768
42785
  "class": ' storeinfotext d-flex align-items-center justify-content-md-center cursor-pointer ',
@@ -42779,21 +42796,21 @@
42779
42796
  "class": ' h-100 d-flex align-items-center justify-content-center mr-2 ml-2 '
42780
42797
  }, /*#__PURE__*/React__default["default"].createElement(IoLocationSharp.IoLocationSharp, {
42781
42798
  size: sectionproperties.footerinfoicon_fontsize
42782
- })), authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i19 = authdetailsContext.instinfo) === null || _authdetailsContext$i19 === void 0 ? void 0 : _authdetailsContext$i19.address_en)))), sectionproperties.showdownloadsection == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
42799
+ })), authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i20 = authdetailsContext.instinfo) === null || _authdetailsContext$i20 === void 0 ? void 0 : _authdetailsContext$i20.address_en)))), sectionproperties.showdownloadsection == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
42783
42800
  "class": "col-lg-12 d-flex align-items-center justify-content-center p-sm-0"
42784
42801
  }, /*#__PURE__*/React__default["default"].createElement("img", {
42785
42802
  "class": "".concat(footerStyles.apptore) + ' d-flex justify-content-center align-items-center cursor-pointer mx-2 ',
42786
42803
  src: 'https://tabex-co.com/storage/StaticImages/appstore.png',
42787
42804
  onClick: function onClick() {
42788
- var _authdetailsContext$i20;
42789
- window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i20 = authdetailsContext.instinfo) === null || _authdetailsContext$i20 === void 0 ? void 0 : _authdetailsContext$i20.mobileapplink_appstore, '_blank');
42805
+ var _authdetailsContext$i21;
42806
+ window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i21 = authdetailsContext.instinfo) === null || _authdetailsContext$i21 === void 0 ? void 0 : _authdetailsContext$i21.mobileapplink_appstore, '_blank');
42790
42807
  }
42791
42808
  }), /*#__PURE__*/React__default["default"].createElement("img", {
42792
42809
  "class": "".concat(footerStyles.googleplay) + ' d-flex justify-content-center align-items-center cursor-pointer mx-2 ',
42793
42810
  src: 'https://tabex-co.com/storage/StaticImages/googleplay.png',
42794
42811
  onClick: function onClick() {
42795
- var _authdetailsContext$i21;
42796
- window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i21 = authdetailsContext.instinfo) === null || _authdetailsContext$i21 === void 0 ? void 0 : _authdetailsContext$i21.mobileapplink_playstore, '_blank');
42812
+ var _authdetailsContext$i22;
42813
+ window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i22 = authdetailsContext.instinfo) === null || _authdetailsContext$i22 === void 0 ? void 0 : _authdetailsContext$i22.mobileapplink_playstore, '_blank');
42797
42814
  }
42798
42815
  })))));
42799
42816
  };
@@ -69114,7 +69131,7 @@
69114
69131
  setitem(props.cardinfoitemprops);
69115
69132
  }, [props.cardinfoitemprops]);
69116
69133
  var card_cssstyles = {
69117
- productcard: glamor.css({
69134
+ productcard: glamor.css(_defineProperty__default["default"]({
69118
69135
  marginTop: sectionproperties.marginTop + 'px',
69119
69136
  marginBottom: sectionproperties.marginBottom + 'px',
69120
69137
  background: sectionproperties.backgroundColortransparent == 'Transparent' ? 'transparent' : sectionproperties.backgroundColor,
@@ -69123,9 +69140,8 @@
69123
69140
  borderTopLeftRadius: langdetect == 'en' ? sectionproperties.borderTopLeftRadius + 'px' : sectionproperties.borderTopRightRadius + 'px',
69124
69141
  borderTopRightRadius: langdetect == 'en' ? sectionproperties.borderTopRightRadius + 'px' : sectionproperties.borderTopLeftRadius + 'px',
69125
69142
  border: sectionproperties.bordertype == 'All' ? sectionproperties.sectioncardborderwidth + 'px solid ' + sectionproperties.sectioncardbordercolor : '',
69126
- borderBottom: sectionproperties.sectioncardborderwidth + 'px solid ' + sectionproperties.sectioncardbordercolor,
69127
- boxShadow: '0 0 10px ' + sectionproperties.sectioncardshadowcolor
69128
- }),
69143
+ borderBottom: sectionproperties.bordertype == 'Bottom' ? sectionproperties.sectioncardborderwidth + 'px solid ' + sectionproperties.sectioncardbordercolor : ''
69144
+ }, "border", sectionproperties.bordertype == 'All' ? sectionproperties.sectioncardborderwidth + 'px solid ' + sectionproperties.sectioncardbordercolor : '')),
69129
69145
  productNameStyles: glamor.css({
69130
69146
  color: sectionproperties.prodNameColor,
69131
69147
  fontSize: sectionproperties.prodNameFontSize + 'px',
@@ -69293,7 +69309,7 @@
69293
69309
  position: 'relative'
69294
69310
  }
69295
69311
  }, /*#__PURE__*/React__default["default"].createElement("div", {
69296
- "class": 'col-lg-9 col-md-9 col-sm-9 p-0 mb-2',
69312
+ "class": 'col-lg-9 col-md-9 col-sm-9 p-0 mb-2 d-flex align-items-center',
69297
69313
  style: {
69298
69314
  minHeight: '6vh'
69299
69315
  }
@@ -69342,7 +69358,7 @@
69342
69358
  style: {
69343
69359
  textAlign: langdetect == 'en' ? 'left' : 'right'
69344
69360
  }
69345
- }, plainString(langdetect == 'en' ? item.description_en : item.description_ar))), sectionproperties.cartBtnShow == 'Show' && props.numberOfColsvertical == '1' && /*#__PURE__*/React__default["default"].createElement("div", {
69361
+ }, plainString(langdetect == 'en' ? item.description : item.description))), sectionproperties.cartBtnShow == 'Show' && props.numberOfColsvertical == '1' && /*#__PURE__*/React__default["default"].createElement("div", {
69346
69362
  "class": "col-lg-3 col-md-12 col-sm-12 p-0 d-flex align-items-center justify-content-end justify-content-md-start"
69347
69363
  }, /*#__PURE__*/React__default["default"].createElement("button", {
69348
69364
  "class": card_cssstyles.cart_btn,
@@ -69352,14 +69368,42 @@
69352
69368
  }
69353
69369
  }, langdetect == 'en' ? sectionproperties.cartBtnContentenglish : sectionproperties.cartBtnContentarabic)), item.isproducttobesold == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
69354
69370
  "class": "col-lg-12 p-0 d-flex align-items-center"
69355
- }, sectionproperties.prodPriceShow == 'Show' && /*#__PURE__*/React__default["default"].createElement("p", {
69371
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
69372
+ "class": "row m-0 w-100"
69373
+ }, sectionproperties.prodPriceShow == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
69374
+ "class": "col-lg-12 p-0 text-start"
69375
+ }, /*#__PURE__*/React__default["default"].createElement("p", {
69356
69376
  "class": card_cssstyles.productPricestyles + ' m-0 p-0 '
69357
- }, langdetect == 'en' ? item.currencyname : '', " ", item.hassale == 1 ? item.defaultsaleprice : item.defaultprice, ' ', langdetect == 'en' ? '' : item.currencyname), item.hassale == 1 && sectionproperties.prodsalePriceshow == 'Show' && /*#__PURE__*/React__default["default"].createElement("p", {
69377
+ }, langdetect == 'en' ? item.currencyname : '', " ", item.hassale == 1 ? item.defaultsaleprice : item.defaultprice, ' ', langdetect == 'en' ? '' : item.currencyname)), /*#__PURE__*/React__default["default"].createElement("div", {
69378
+ "class": "col-lg-12 p-0 text-start"
69379
+ }, item.hassale == 1 && sectionproperties.prodsalePriceshow == 'Show' && /*#__PURE__*/React__default["default"].createElement("p", {
69358
69380
  "class": card_cssstyles.productSalePricestyles + ' m-0 p-0 ml-2 mr-2 ',
69359
69381
  style: {
69360
69382
  textDecoration: 'line-through'
69361
69383
  }
69362
- }, langdetect == 'en' ? item.currencyname : '', " ", item.defaultprice, " ", langdetect == 'en' ? '' : item.currencyname)), sectionproperties.cartBtnShow == 'Show' && props.numberOfColsvertical != '1' && /*#__PURE__*/React__default["default"].createElement("div", {
69384
+ }, langdetect == 'en' ? item.currencyname : '', " ", item.defaultprice, " ", langdetect == 'en' ? '' : item.currencyname), sectionproperties.showpill == 'Show' && item.hassale == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
69385
+ "class": 'allcentered',
69386
+ style: {
69387
+ width: sectionproperties.pillwidth + 'px',
69388
+ height: sectionproperties.pillheight + 'px',
69389
+ background: sectionproperties.pillbgcolor,
69390
+ borderRadius: sectionproperties.pillborderBottomLeftRadius + 'px'
69391
+ }
69392
+ }, sectionproperties.countertype == 'Percentage' && /*#__PURE__*/React__default["default"].createElement("p", {
69393
+ "class": "m-0 p-0",
69394
+ style: {
69395
+ color: sectionproperties.pillcolor,
69396
+ fontSize: sectionproperties.pillfontSize + 'px',
69397
+ direction: 'ltr'
69398
+ }
69399
+ }, '-' + parseFloat(Math.round(10.0 * ((parseInt(item.defaultprice) - parseInt(item.defaultsaleprice)) / parseInt(item.defaultprice)) * 100) / 10.0).toFixed(0) + '%'), sectionproperties.countertype == 'Value' && /*#__PURE__*/React__default["default"].createElement("p", {
69400
+ "class": "m-0 p-0 text-uppercase",
69401
+ style: {
69402
+ color: sectionproperties.pillcolor,
69403
+ fontSize: sectionproperties.pillfontSize + 'px',
69404
+ direction: 'ltr'
69405
+ }
69406
+ }, langdetect == 'en' ? 'Save' : 'وفر', " ", langdetect == 'en' ? item.currencyname : '', ' ', parseFloat(Math.round(parseInt(item.defaultprice) - parseInt(item.defaultsaleprice))).toFixed(0), ' ', langdetect == 'en' ? '' : item.currencyname))))), sectionproperties.cartBtnShow == 'Show' && props.numberOfColsvertical != '1' && /*#__PURE__*/React__default["default"].createElement("div", {
69363
69407
  "class": "col-lg-12 p-0 d-flex align-items-center mt-2"
69364
69408
  }, /*#__PURE__*/React__default["default"].createElement("button", {
69365
69409
  "class": card_cssstyles.cart_btn,
@@ -74058,9 +74102,9 @@
74058
74102
  var StatePagePropertiesContext = props.actions.StatePagePropertiesContext;
74059
74103
  props.actions.lang;
74060
74104
  var langdetect = props.actions.langdetect;
74061
- props.actions.setShowProductInfoModalContext;
74105
+ var setShowProductInfoModalContext = props.actions.setShowProductInfoModalContext;
74062
74106
  var addtofavoritescontext = props.actions.addtofavoritescontext;
74063
- props.actions.setProductIdProdutInfoModalContext;
74107
+ var setProductIdProdutInfoModalContext = props.actions.setProductIdProdutInfoModalContext;
74064
74108
  var cardonclickfunctionContext = props.actions.cardonclickfunctionContext;
74065
74109
  var ikimagecredcontext = props.actions.ikimagecredcontext;
74066
74110
  props.actions.NotificationManager;
@@ -74090,6 +74134,12 @@
74090
74134
  '@media (max-width: 800px)': {
74091
74135
  minWidth: props.sectiontypeprops2 == 'vertical' ? '100%' : sectionproperties.widthresponsive + 'px',
74092
74136
  maxWidth: props.sectiontypeprops2 == 'vertical' ? '100%' : sectionproperties.widthresponsive + 'px'
74137
+ },
74138
+ ':hover .iconsContainer': {
74139
+ opacity: 1,
74140
+ transition: 'all, 0.4s',
74141
+ right: 10,
74142
+ transform: "translateX(0px)"
74093
74143
  }
74094
74144
  }),
74095
74145
  productcardimagecont: glamor.css({
@@ -74214,6 +74264,26 @@
74214
74264
  backgroundColor: sectionproperties.backgroundColortransparent != 'Transparent' && sectionproperties.backgroundColor == '#ffffff' ? 'rgba(250,250,250,' + sectionproperties.bgopacityonhover + ')' : 1,
74215
74265
  transition: 0.3
74216
74266
  }
74267
+ }),
74268
+ iconsContainer: glamor.css({
74269
+ display: 'flex',
74270
+ flexDirection: 'column',
74271
+ position: 'absolute',
74272
+ top: 5,
74273
+ right: -15,
74274
+ opacity: 0,
74275
+ transform: "translateX(5px)",
74276
+ zIndex: 10,
74277
+ '@media (max-width: 800px)': {
74278
+ opacity: 1,
74279
+ right: 10
74280
+ }
74281
+ }),
74282
+ iconsContainer2: glamor.css({
74283
+ opacity: 1,
74284
+ transition: 'all, 0.4s',
74285
+ right: 10,
74286
+ transform: "translateX(0px)"
74217
74287
  })
74218
74288
  };
74219
74289
  var _useState5 = React.useState(''),
@@ -74312,6 +74382,32 @@
74312
74382
  cardonclickfunctionContext(sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.onClickRoute, productidtobesend, props.fetchingtypeprops, item.collectionid);
74313
74383
  }
74314
74384
  };
74385
+ var PillContainer = function PillContainer() {
74386
+ return /*#__PURE__*/React__default["default"].createElement("div", {
74387
+ "class": sectionproperties.pillwidth == 0 ? ' px-2 allcentered' : 'allcentered',
74388
+ style: {
74389
+ zIndex: 2,
74390
+ width: sectionproperties.pillwidth == 0 ? 'auto' : sectionproperties.pillwidth + 'px',
74391
+ height: sectionproperties.pillheight + 'px',
74392
+ background: sectionproperties.pillbgcolor,
74393
+ borderRadius: sectionproperties.pillborderBottomLeftRadius + 'px'
74394
+ }
74395
+ }, sectionproperties.countertype == 'Percentage' && /*#__PURE__*/React__default["default"].createElement("p", {
74396
+ "class": "m-0 p-0",
74397
+ style: {
74398
+ color: sectionproperties.pillcolor,
74399
+ fontSize: sectionproperties.pillfontSize + 'px',
74400
+ direction: 'ltr'
74401
+ }
74402
+ }, '-' + parseFloat(Math.round(10.0 * ((parseInt(item.defaultprice) - parseInt(item.defaultsaleprice)) / parseInt(item.defaultprice)) * 100) / 10.0).toFixed(0) + '%'), sectionproperties.countertype == 'Value' && /*#__PURE__*/React__default["default"].createElement("p", {
74403
+ "class": "m-0 p-0 text-uppercase",
74404
+ style: {
74405
+ color: sectionproperties.pillcolor,
74406
+ fontSize: sectionproperties.pillfontSize + 'px',
74407
+ direction: 'ltr'
74408
+ }
74409
+ }, langdetect == 'en' ? 'Save' : 'وفر', " ", langdetect == 'en' ? item.currencyname : '', ' ', parseFloat(Math.round(parseInt(item.defaultprice) - parseInt(item.defaultsaleprice))).toFixed(0), " ", langdetect == 'en' ? '' : item.currencyname));
74410
+ };
74315
74411
  return /*#__PURE__*/React__default["default"].createElement("div", {
74316
74412
  "class": props.sectiontypeprops2 == 'vertical' ? "".concat(card_cssstyles.productcard) + ' w-100 px-md-1 ' : " ".concat(card_cssstyles.productcard),
74317
74413
  style: {
@@ -74333,7 +74429,43 @@
74333
74429
  style: {
74334
74430
  position: 'relative'
74335
74431
  }
74432
+ }, sectionproperties.btnswithtransition == 'With Transition' && /*#__PURE__*/React__default["default"].createElement("div", {
74433
+ "class": "".concat(card_cssstyles.iconsContainer) + ' iconsContainer p-0 d-flex '
74336
74434
  }, sectionproperties.favBtnShow == 'Show' && /*#__PURE__*/React__default["default"].createElement("button", {
74435
+ "class": " ".concat(card_cssstyles.wishlist_btn) + ' mt-2 mb-2 ',
74436
+ onClick: function onClick() {
74437
+ addtofavoritescontext(item.productid);
74438
+ }
74439
+ }, item.IsFavExists && /*#__PURE__*/React__default["default"].createElement("i", {
74440
+ "class": "h-100 d-flex align-items-center justify-content-center icon"
74441
+ }, sectionproperties.faviconshape == 'Star Shape' && /*#__PURE__*/React__default["default"].createElement(AiFillStar$1.AiFillStar, {
74442
+ size: sectionproperties.favBtnIconfontsize,
74443
+ style: {
74444
+ color: sectionproperties.activefaviconcolor
74445
+ }
74446
+ }), sectionproperties.faviconshape == 'Heart Shape' && /*#__PURE__*/React__default["default"].createElement(FaHeart$1.FaHeart, {
74447
+ size: sectionproperties.favBtnIconfontsize,
74448
+ style: {
74449
+ color: sectionproperties.activefaviconcolor
74450
+ }
74451
+ })), !item.IsFavExists && /*#__PURE__*/React__default["default"].createElement("i", {
74452
+ "class": "h-100 d-flex align-items-center justify-content-center icon"
74453
+ }, sectionproperties.faviconshape == 'Star Shape' && /*#__PURE__*/React__default["default"].createElement(AiOutlineStar.AiOutlineStar, {
74454
+ size: sectionproperties.favBtnIconfontsize
74455
+ }), sectionproperties.faviconshape == 'Heart Shape' && /*#__PURE__*/React__default["default"].createElement(FaRegHeart.FaRegHeart, {
74456
+ size: sectionproperties.favBtnIconfontsize
74457
+ }))), sectionproperties.showproductinfomodalbtn == 'Show' && /*#__PURE__*/React__default["default"].createElement("button", {
74458
+ "class": "".concat(card_cssstyles.wishlist_btn) + ' ',
74459
+ onClick: function onClick(e) {
74460
+ e.stopPropagation();
74461
+ setShowProductInfoModalContext(true);
74462
+ setProductIdProdutInfoModalContext(item.productid);
74463
+ }
74464
+ }, /*#__PURE__*/React__default["default"].createElement("i", {
74465
+ "class": "h-100 d-flex align-items-center justify-content-center icon"
74466
+ }, /*#__PURE__*/React__default["default"].createElement(BsEye.BsEye, {
74467
+ size: sectionproperties.generalbtn_fontsize
74468
+ })))), sectionproperties.favBtnShow == 'Show' && sectionproperties.btnswithtransition != 'With Transition' && /*#__PURE__*/React__default["default"].createElement("button", {
74337
74469
  "class": " ".concat(card_cssstyles.wishlist_btn) + ' m-0 p-0 d-flex align-items-center justify-content-center ',
74338
74470
  onClick: function onClick(e) {
74339
74471
  e.stopPropagation();
@@ -74374,7 +74506,7 @@
74374
74506
  top: sectionproperties.badge_top + 'px',
74375
74507
  left: langdetect == 'en' ? sectionproperties.badge_right + 'px' : '',
74376
74508
  right: langdetect == 'en' ? '' : sectionproperties.badge_right + 'px',
74377
- width: sectionproperties.badge_width + 'px',
74509
+ width: sectionproperties.badge_width == 0 ? '90%' : sectionproperties.badge_width + 'px',
74378
74510
  height: sectionproperties.badge_height + 'px',
74379
74511
  background: sectionproperties.badge_bgcolor,
74380
74512
  borderRadius: sectionproperties.badge_borderradius + 'px'
@@ -74385,34 +74517,14 @@
74385
74517
  color: sectionproperties.badge_color,
74386
74518
  fontSize: sectionproperties.badge_fontsize + 'px'
74387
74519
  }
74388
- }, langdetect == 'en' ? sectionproperties.badgeContentEn : sectionproperties.badgeContentAr)), sectionproperties.showpill == 'Show' && item.hassale == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
74389
- "class": sectionproperties.pillwidth == 0 ? ' px-2 allcentered' : 'allcentered',
74520
+ }, langdetect == 'en' ? sectionproperties.badgeContentEn : sectionproperties.badgeContentAr)), sectionproperties.showpill == 'Show' && item.hassale == 1 && sectionproperties.counterposition == 'Top' && /*#__PURE__*/React__default["default"].createElement("div", {
74390
74521
  style: {
74391
- zIndex: 2,
74392
74522
  position: 'absolute',
74393
74523
  top: sectionproperties.pillpositionfromtop + 'px',
74394
74524
  left: langdetect == 'en' ? sectionproperties.pillpositionfromright + 'px' : '',
74395
- right: langdetect == 'en' ? '' : sectionproperties.pillpositionfromright + 'px',
74396
- width: sectionproperties.pillwidth == 0 ? 'auto' : sectionproperties.pillwidth + 'px',
74397
- height: sectionproperties.pillheight + 'px',
74398
- background: sectionproperties.pillbgcolor,
74399
- borderRadius: sectionproperties.pillborderBottomLeftRadius + 'px'
74400
- }
74401
- }, sectionproperties.countertype == 'Percentage' && /*#__PURE__*/React__default["default"].createElement("p", {
74402
- "class": "m-0 p-0",
74403
- style: {
74404
- color: sectionproperties.pillcolor,
74405
- fontSize: sectionproperties.pillfontSize + 'px',
74406
- direction: 'ltr'
74525
+ right: langdetect == 'en' ? '' : sectionproperties.pillpositionfromright + 'px'
74407
74526
  }
74408
- }, '-' + parseFloat(Math.round(10.0 * ((parseInt(item.defaultprice) - parseInt(item.defaultsaleprice)) / parseInt(item.defaultprice)) * 100) / 10.0).toFixed(0) + '%'), sectionproperties.countertype == 'Value' && /*#__PURE__*/React__default["default"].createElement("p", {
74409
- "class": "m-0 p-0 text-uppercase",
74410
- style: {
74411
- color: sectionproperties.pillcolor,
74412
- fontSize: sectionproperties.pillfontSize + 'px',
74413
- direction: 'ltr'
74414
- }
74415
- }, langdetect == 'en' ? 'Save' : 'وفر', " ", langdetect == 'en' ? item.currencyname : '', ' ', parseFloat(Math.round(parseInt(item.defaultprice) - parseInt(item.defaultsaleprice))).toFixed(0), " ", langdetect == 'en' ? '' : item.currencyname)), (item === null || item === void 0 ? void 0 : item.producttags) != undefined && (item === null || item === void 0 || (_item$producttags = item.producttags) === null || _item$producttags === void 0 ? void 0 : _item$producttags.length) != 0 && sectionproperties.showtag == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
74527
+ }, PillContainer()), (item === null || item === void 0 ? void 0 : item.producttags) != undefined && (item === null || item === void 0 || (_item$producttags = item.producttags) === null || _item$producttags === void 0 ? void 0 : _item$producttags.length) != 0 && sectionproperties.showtag == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
74416
74528
  "class": "allcentered",
74417
74529
  style: {
74418
74530
  position: 'absolute',
@@ -74534,17 +74646,19 @@
74534
74646
  marginBottom: sectionproperties.productpricemarginBottom + 'px'
74535
74647
  }
74536
74648
  }, /*#__PURE__*/React__default["default"].createElement("div", {
74537
- "class": ' d-flex align-items-center p-0 mb-0 flex-column ',
74649
+ "class": sectionproperties.priceDirection == 'Horizontal Direction' ? ' d-flex align-items-center p-0 mb-0 flex-row ' : ' d-flex align-items-center p-0 mb-0 flex-column ',
74538
74650
  style: {
74539
74651
  textAlign: sectionproperties.productnamecentered == 'Centered' ? 'center' : langdetect == 'en' ? 'left' : 'right'
74540
74652
  }
74541
74653
  }, sectionproperties.prodPriceShow == 'Show' && /*#__PURE__*/React__default["default"].createElement("p", {
74542
- "class": "".concat(card_cssstyles.productPricestyles) + ' m-0 '
74654
+ "class": sectionproperties.priceDirection == 'Horizontal Direction' ? "".concat(card_cssstyles.productPricestyles) + ' m-0 ' : "".concat(card_cssstyles.productPricestyles) + ' m-0 '
74543
74655
  }, langdetect == 'en' ? item.currencyname : '', " ", item.hassale == 1 ? item.defaultsaleprice : item.defaultprice, ' ', langdetect == 'en' ? '' : item.currencyname), sectionproperties.prodsalePriceshow == 'Show' && item.hassale == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
74544
- "class": " d-flex align-items-center p-0 mb-0"
74656
+ "class": sectionproperties.priceDirection == 'Horizontal' ? ' d-flex align-items-center p-0 mb-0 ' : ' d-flex align-items-center p-0 mb-0'
74545
74657
  }, /*#__PURE__*/React__default["default"].createElement("p", {
74546
74658
  "class": "".concat(card_cssstyles.productSalePricestyles) + ' linethrough m-0 mr-2 ml-2 '
74547
- }, langdetect == 'en' ? item.currencyname : '', " ", item.defaultprice, " ", langdetect == 'en' ? '' : item.currencyname)))), sectionproperties.showprofitcontainer == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
74659
+ }, langdetect == 'en' ? item.currencyname : '', " ", item.defaultprice, " ", langdetect == 'en' ? '' : item.currencyname)), sectionproperties.showpill == 'Show' && item.hassale == 1 && sectionproperties.counterposition == 'Besides Sale Price' && /*#__PURE__*/React__default["default"].createElement("div", {
74660
+ style: {}
74661
+ }, PillContainer()))), sectionproperties.showprofitcontainer == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
74548
74662
  "class": "col-lg-12 p-0",
74549
74663
  style: {
74550
74664
  justifyContent: sectionproperties.productnamecentered == 'Centered' ? 'center' : 'start'