tabexseriescomponents 0.0.570 → 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.cjs.js CHANGED
@@ -4082,12 +4082,32 @@ var Serviceinfotabs = function Serviceinfotabs(props) {
4082
4082
  slot = '10' + slotsubstr2 + ' PM';
4083
4083
  } else if (slotsubstr == '23') {
4084
4084
  slot = '11' + slotsubstr2 + ' PM';
4085
- } else if (slotsubstr == '24') {
4086
- slot = '12' + slotsubstr2 + ' PM';
4087
4085
  } else if (slotsubstr == '00') {
4088
- slot = '00' + slotsubstr2 + ' AM';
4089
- } else {
4090
- slot = slotsubstr + slotsubstr2 + ' AM';
4086
+ slot = '12' + slotsubstr2 + ' AM';
4087
+ } else if (slotsubstr == '01') {
4088
+ slot = '01' + slotsubstr2 + ' AM';
4089
+ } else if (slotsubstr == '02') {
4090
+ slot = '02' + slotsubstr2 + ' AM';
4091
+ } else if (slotsubstr == '03') {
4092
+ slot = '03' + slotsubstr2 + ' AM';
4093
+ } else if (slotsubstr == '04') {
4094
+ slot = '04' + slotsubstr2 + ' AM';
4095
+ } else if (slotsubstr == '05') {
4096
+ slot = '05' + slotsubstr2 + ' AM';
4097
+ } else if (slotsubstr == '06') {
4098
+ slot = '06' + slotsubstr2 + ' AM';
4099
+ } else if (slotsubstr == '07') {
4100
+ slot = '07' + slotsubstr2 + ' AM';
4101
+ } else if (slotsubstr == '08') {
4102
+ slot = '08' + slotsubstr2 + ' AM';
4103
+ } else if (slotsubstr == '09') {
4104
+ slot = '09' + slotsubstr2 + ' AM';
4105
+ } else if (slotsubstr == '10') {
4106
+ slot = '10' + slotsubstr2 + ' AM';
4107
+ } else if (slotsubstr == '11') {
4108
+ slot = '11' + slotsubstr2 + ' AM';
4109
+ } else if (slotsubstr == '12') {
4110
+ slot = '12' + slotsubstr2 + ' PM';
4091
4111
  }
4092
4112
  if (item.available) {
4093
4113
  return /*#__PURE__*/React__default["default"].createElement("div", {
@@ -16687,192 +16707,180 @@ var Filter$1 = function Filter(props) {
16687
16707
  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; }
16688
16708
  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; }
16689
16709
  var CollectionsFilterHorizontal = function CollectionsFilterHorizontal(props) {
16690
- var _authdetailsContext$i;
16691
16710
  props.actions.lang;
16692
16711
  var langdetect = props.actions.langdetect;
16693
16712
  props.actions.productfiltercontext;
16694
16713
  props.actions.setproductfiltercontext;
16695
16714
  var ProductFilterObjContext = props.actions.ProductFilterObjContext;
16696
16715
  var setProductFilterObjContext = props.actions.setProductFilterObjContext;
16697
- var authdetailsContext = props.actions.authdetailsContext;
16716
+ props.actions.authdetailsContext;
16698
16717
  var routingcountext = props.actions.routingcountext;
16699
16718
  var StaticPagesLinksContext = props.actions.StaticPagesLinksContext;
16700
16719
  props.actions.ikimagecredcontext;
16701
- var FetchQueriesEngineContext = props.actions.FetchQueriesEngineContext;
16702
- var setFetchQueriesEngineContext = props.actions.setFetchQueriesEngineContext;
16720
+ props.actions.FetchQueriesEngineContext;
16721
+ props.actions.setFetchQueriesEngineContext;
16722
+ props.actions.fetchcollectionsQueryContext;
16723
+ var fetchCategoriesQueryContext = props.actions.fetchCategoriesQueryContext;
16703
16724
  var _useState = React.useState(''),
16704
16725
  _useState2 = _slicedToArray__default["default"](_useState, 2),
16705
16726
  sectionproperties = _useState2[0],
16706
16727
  setsectionproperties = _useState2[1];
16707
16728
  var _useState3 = React.useState([]),
16708
- _useState4 = _slicedToArray__default["default"](_useState3, 2),
16709
- collectionstobevisible = _useState4[0],
16710
- setcollectionstobevisible = _useState4[1];
16711
- var _useState5 = React.useState(_toConsumableArray__default["default"](authdetailsContext.instinfo.instcollections)),
16729
+ _useState4 = _slicedToArray__default["default"](_useState3, 2);
16730
+ _useState4[0];
16731
+ _useState4[1];
16732
+ // const [instcollections, setinstcollections] = useState([...fetchcollectionsQueryContext?.data?.data?.collections]);
16733
+ var _useState5 = React.useState([]),
16712
16734
  _useState6 = _slicedToArray__default["default"](_useState5, 2),
16713
- instcollections = _useState6[0],
16714
- setinstcollections = _useState6[1];
16715
- 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)),
16716
- _useState8 = _slicedToArray__default["default"](_useState7, 2),
16717
- instcategories = _useState8[0],
16718
- setinstcategories = _useState8[1];
16719
- var _useState9 = React.useState(false),
16720
- _useState10 = _slicedToArray__default["default"](_useState9, 2);
16721
- _useState10[0];
16722
- _useState10[1];
16735
+ instcategories = _useState6[0],
16736
+ setinstcategories = _useState6[1];
16737
+ var _useState7 = React.useState(false),
16738
+ _useState8 = _slicedToArray__default["default"](_useState7, 2);
16739
+ _useState8[0];
16740
+ _useState8[1];
16723
16741
  React.useEffect(function () {
16724
- filterupdater();
16742
+ // filterupdater();
16725
16743
  }, []);
16726
16744
  React.useEffect(function () {
16727
- var _authdetailsContext$i2;
16728
- setinstcollections(_toConsumableArray__default["default"](authdetailsContext.instinfo.instcollections));
16729
- setinstcategories(_toConsumableArray__default["default"](authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i2 = authdetailsContext.instinfo) === null || _authdetailsContext$i2 === void 0 ? void 0 : _authdetailsContext$i2.instcategories));
16730
- }, [authdetailsContext]);
16745
+ if (fetchCategoriesQueryContext.isSuccess) {
16746
+ var _fetchCategoriesQuery;
16747
+ 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));
16748
+ }
16749
+ }, [fetchCategoriesQueryContext.isSuccess]);
16731
16750
  React.useEffect(function () {
16732
16751
  if (props.sectionpropertiesprops != undefined && props.sectionpropertiesprops.length != 0) {
16733
16752
  setsectionproperties(props.sectionpropertiesprops);
16734
16753
  }
16735
16754
  }, [props.sectionpropertiesprops]);
16736
16755
  React.useEffect(function () {
16737
- filterupdater();
16756
+ // filterupdater();
16738
16757
  }, [ProductFilterObjContext]);
16739
- React.useEffect(function () {
16740
- if ((sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.filterretreivetype) == 'Depend on chosen parent group') {
16741
- 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)) {
16742
- var _parentidsfound;
16743
- var collectiontobevisible = [];
16744
- var parentidsfound = [];
16745
- if (ProductFilterObjContext.ProductFetchingType == 'Parent Collection') {
16746
- parentidsfound = ProductFilterObjContext === null || ProductFilterObjContext === void 0 ? void 0 : ProductFilterObjContext.collections;
16747
- } else if (ProductFilterObjContext.ProductFetchingType == 'Category') {
16748
- instcategories === null || instcategories === void 0 || instcategories.forEach(function (catitem, catindex) {
16749
- var _ProductFilterObjCont;
16750
- ProductFilterObjContext === null || ProductFilterObjContext === void 0 || (_ProductFilterObjCont = ProductFilterObjContext.collections) === null || _ProductFilterObjCont === void 0 || _ProductFilterObjCont.forEach(function (colitem2, colindex2) {
16751
- if (catitem.categoryid == colitem2) {
16752
- var _catitem$parentcollet;
16753
- catitem === null || catitem === void 0 || (_catitem$parentcollet = catitem.parentcolletions) === null || _catitem$parentcollet === void 0 || _catitem$parentcollet.forEach(function (parentcolitem, parentcolindex) {
16754
- parentidsfound.push(parentcolitem.parentcollectionid);
16755
- });
16756
- }
16757
- });
16758
- });
16759
- } else {
16760
- instcategories === null || instcategories === void 0 || instcategories.forEach(function (catitem, catindex) {
16761
- var _catitem$parentcollet2;
16762
- catitem === null || catitem === void 0 || (_catitem$parentcollet2 = catitem.parentcolletions) === null || _catitem$parentcollet2 === void 0 || _catitem$parentcollet2.forEach(function (parentcolitem, parentcolindex) {
16763
- var _parentcolitem$collec;
16764
- parentcolitem === null || parentcolitem === void 0 || (_parentcolitem$collec = parentcolitem.collections) === null || _parentcolitem$collec === void 0 || _parentcolitem$collec.forEach(function (colitem, colindex) {
16765
- var _ProductFilterObjCont2;
16766
- ProductFilterObjContext === null || ProductFilterObjContext === void 0 || (_ProductFilterObjCont2 = ProductFilterObjContext.collections) === null || _ProductFilterObjCont2 === void 0 || _ProductFilterObjCont2.forEach(function (colitem2, colindex2) {
16767
- if (colitem.collectionid == colitem2) {
16768
- parentidsfound.push(parentcolitem.parentcollectionid);
16769
- }
16770
- });
16771
- });
16772
- });
16773
- });
16774
- }
16775
- parentidsfound = parentidsfound.filter(function (val, id, array) {
16776
- return array.indexOf(val) == id;
16777
- });
16778
- if (((_parentidsfound = parentidsfound) === null || _parentidsfound === void 0 ? void 0 : _parentidsfound.length) != 0) {
16779
- instcategories === null || instcategories === void 0 || instcategories.forEach(function (catitem, catindex) {
16780
- var _catitem$parentcollet3;
16781
- catitem === null || catitem === void 0 || (_catitem$parentcollet3 = catitem.parentcolletions) === null || _catitem$parentcollet3 === void 0 || _catitem$parentcollet3.forEach(function (parentcolitem, parentcolindex) {
16782
- var _parentidsfound2;
16783
- (_parentidsfound2 = parentidsfound) === null || _parentidsfound2 === void 0 || _parentidsfound2.forEach(function (parentidfounditem, parentidfoundindex) {
16784
- if (parentidfounditem == (parentcolitem === null || parentcolitem === void 0 ? void 0 : parentcolitem.parentcollectionid)) {
16785
- var _parentcolitem$collec2;
16786
- parentcolitem === null || parentcolitem === void 0 || (_parentcolitem$collec2 = parentcolitem.collections) === null || _parentcolitem$collec2 === void 0 || _parentcolitem$collec2.forEach(function (colitem, colindex) {
16787
- var iscolexists = false;
16788
- collectiontobevisible === null || collectiontobevisible === void 0 || collectiontobevisible.forEach(function (colitemex, colindexex) {
16789
- if (colitemex.collectionid == colitem.collectionid) {
16790
- iscolexists = true;
16791
- }
16792
- });
16793
- if (iscolexists == false) {
16794
- collectiontobevisible.push(colitem);
16795
- }
16796
- });
16797
- }
16798
- });
16799
- });
16800
- });
16801
- if ((collectiontobevisible === null || collectiontobevisible === void 0 ? void 0 : collectiontobevisible.length) != 0) {
16802
- setcollectionstobevisible(collectiontobevisible);
16803
- } else {
16804
- setcollectionstobevisible(instcollections);
16805
- }
16806
- } else {
16807
- setcollectionstobevisible(instcollections);
16808
- }
16809
- } else {
16810
- setcollectionstobevisible(instcollections);
16811
- }
16812
- } else {
16813
- setcollectionstobevisible(instcollections);
16814
- }
16815
- }, [ProductFilterObjContext]);
16816
- var filterupdater = function filterupdater() {
16817
- setTimeout(function () {
16818
- var tempFetchQueriesEngineContext = _objectSpread$2a({}, FetchQueriesEngineContext);
16819
- tempFetchQueriesEngineContext.fetchtabexcountries = true;
16820
- setFetchQueriesEngineContext(tempFetchQueriesEngineContext);
16821
- }, 100);
16822
- if (instcategories.length != 0) {
16823
- var _ProductFilterObjCont3;
16824
- var tempInstcategories = _toConsumableArray__default["default"](instcategories);
16825
- tempInstcategories.forEach(function (catitem, catindex) {
16826
- catitem.parentcolletions.forEach(function (parentcolitem, parentcolindex) {
16827
- parentcolitem.collections.forEach(function (colitem, colindex) {
16828
- colitem.isfilterselected = false;
16829
- });
16830
- });
16831
- });
16832
- ProductFilterObjContext === null || ProductFilterObjContext === void 0 || (_ProductFilterObjCont3 = ProductFilterObjContext.collections) === null || _ProductFilterObjCont3 === void 0 || _ProductFilterObjCont3.forEach(function (filteritem, filterindex) {
16833
- tempInstcategories.forEach(function (catitem, catindex) {
16834
- catitem.parentcolletions.forEach(function (parentcolitem, parentcolindex) {
16835
- parentcolitem.collections.forEach(function (colitem, colindex) {
16836
- if (colitem.collectionid == filteritem) {
16837
- colitem.isfilterselected = true;
16838
- }
16839
- });
16840
- });
16841
- });
16842
- });
16843
- setinstcategories(_toConsumableArray__default["default"](tempInstcategories));
16844
- }
16845
- if (instcollections.length != 0) {
16846
- var _ProductFilterObjCont4;
16847
- var tempInstcollections = _toConsumableArray__default["default"](instcollections);
16848
- tempInstcollections.forEach(function (instfilteritem, valefilteritemindex) {
16849
- instfilteritem.isfilterselected = false;
16850
- });
16851
- ProductFilterObjContext === null || ProductFilterObjContext === void 0 || (_ProductFilterObjCont4 = ProductFilterObjContext.collections) === null || _ProductFilterObjCont4 === void 0 || _ProductFilterObjCont4.forEach(function (filteritem, filterindex) {
16852
- tempInstcollections === null || tempInstcollections === void 0 || tempInstcollections.forEach(function (instfilteritem, instfilterindex) {
16853
- if (instfilteritem.collectionid == filteritem) {
16854
- instfilteritem.isfilterselected = true;
16855
- }
16856
- });
16857
- });
16858
- setinstcollections(_toConsumableArray__default["default"](tempInstcollections));
16859
- }
16860
- };
16758
+
16759
+ // useEffect(() => {
16760
+ // if (sectionproperties?.filterretreivetype == 'Depend on chosen parent group') {
16761
+ // if (ProductFilterObjContext?.collections != undefined && ProductFilterObjContext?.collections != null && Array.isArray(ProductFilterObjContext?.collections)) {
16762
+ // var collectiontobevisible = [];
16763
+ // var parentidsfound = [];
16764
+ // if (ProductFilterObjContext.ProductFetchingType == 'Parent Collection') {
16765
+ // parentidsfound = ProductFilterObjContext?.collections;
16766
+ // } else if (ProductFilterObjContext.ProductFetchingType == 'Category') {
16767
+ // instcategories?.forEach(function (catitem, catindex) {
16768
+ // ProductFilterObjContext?.collections?.forEach(function (colitem2, colindex2) {
16769
+ // if (catitem.categoryid == colitem2) {
16770
+ // catitem?.parentcolletions?.forEach(function (parentcolitem, parentcolindex) {
16771
+ // parentidsfound.push(parentcolitem.parentcollectionid);
16772
+ // });
16773
+ // }
16774
+ // });
16775
+ // });
16776
+ // } else {
16777
+ // instcategories?.forEach(function (catitem, catindex) {
16778
+ // catitem?.parentcolletions?.forEach(function (parentcolitem, parentcolindex) {
16779
+ // parentcolitem?.collections?.forEach(function (colitem, colindex) {
16780
+ // ProductFilterObjContext?.collections?.forEach(function (colitem2, colindex2) {
16781
+ // if (colitem.collectionid == colitem2) {
16782
+ // parentidsfound.push(parentcolitem.parentcollectionid);
16783
+ // }
16784
+ // });
16785
+ // });
16786
+ // });
16787
+ // });
16788
+ // }
16789
+
16790
+ // parentidsfound = parentidsfound.filter((val, id, array) => array.indexOf(val) == id);
16791
+
16792
+ // if (parentidsfound?.length != 0) {
16793
+ // instcategories?.forEach(function (catitem, catindex) {
16794
+ // catitem?.parentcolletions?.forEach(function (parentcolitem, parentcolindex) {
16795
+ // parentidsfound?.forEach(function (parentidfounditem, parentidfoundindex) {
16796
+ // if (parentidfounditem == parentcolitem?.parentcollectionid) {
16797
+ // parentcolitem?.collections?.forEach(function (colitem, colindex) {
16798
+ // var iscolexists = false;
16799
+ // collectiontobevisible?.forEach(function (colitemex, colindexex) {
16800
+ // if (colitemex.collectionid == colitem.collectionid) {
16801
+ // iscolexists = true;
16802
+ // }
16803
+ // });
16804
+ // if (iscolexists == false) {
16805
+ // collectiontobevisible.push(colitem);
16806
+ // }
16807
+ // });
16808
+ // }
16809
+ // });
16810
+ // });
16811
+ // });
16812
+
16813
+ // if (collectiontobevisible?.length != 0) {
16814
+ // setcollectionstobevisible(collectiontobevisible);
16815
+ // } else {
16816
+ // setcollectionstobevisible(instcollections);
16817
+ // }
16818
+ // } else {
16819
+ // setcollectionstobevisible(instcollections);
16820
+ // }
16821
+ // } else {
16822
+ // setcollectionstobevisible(instcollections);
16823
+ // }
16824
+ // } else {
16825
+ // setcollectionstobevisible(instcollections);
16826
+ // }
16827
+ // }, [ProductFilterObjContext]);
16828
+
16829
+ // const filterupdater = () => {
16830
+ // if (instcategories.length != 0) {
16831
+ // var tempInstcategories = [...instcategories];
16832
+ // tempInstcategories.forEach(function (catitem, catindex) {
16833
+ // catitem.parentcolletions.forEach(function (parentcolitem, parentcolindex) {
16834
+ // parentcolitem.collections.forEach(function (colitem, colindex) {
16835
+ // colitem.isfilterselected = false;
16836
+ // });
16837
+ // });
16838
+ // });
16839
+
16840
+ // ProductFilterObjContext?.collections?.forEach(function (filteritem, filterindex) {
16841
+ // tempInstcategories.forEach(function (catitem, catindex) {
16842
+ // catitem.parentcolletions.forEach(function (parentcolitem, parentcolindex) {
16843
+ // parentcolitem.collections.forEach(function (colitem, colindex) {
16844
+ // if (colitem.collectionid == filteritem) {
16845
+ // colitem.isfilterselected = true;
16846
+ // }
16847
+ // });
16848
+ // });
16849
+ // });
16850
+ // });
16851
+
16852
+ // setinstcategories([...tempInstcategories]);
16853
+ // }
16854
+ // // if (instcollections.length != 0) {
16855
+ // // var tempInstcollections = [...instcollections];
16856
+ // // tempInstcollections.forEach(function (instfilteritem, valefilteritemindex) {
16857
+ // // instfilteritem.isfilterselected = false;
16858
+ // // });
16859
+ // // ProductFilterObjContext?.collections?.forEach(function (filteritem, filterindex) {
16860
+ // // tempInstcollections?.forEach(function (instfilteritem, instfilterindex) {
16861
+ // // if (instfilteritem.collectionid == filteritem) {
16862
+ // // instfilteritem.isfilterselected = true;
16863
+ // // }
16864
+ // // });
16865
+ // // });
16866
+ // // setinstcollections([...tempInstcollections]);
16867
+ // // }
16868
+ // };
16861
16869
  var setCollectionFilterFunc = function setCollectionFilterFunc(collectionid) {
16862
16870
  var _tempfetchproductsfil;
16863
16871
  var tempfetchproductsfilerobjcontext = _objectSpread$2a({}, ProductFilterObjContext);
16864
16872
  var CollectionExists = false;
16865
- tempfetchproductsfilerobjcontext === null || tempfetchproductsfilerobjcontext === void 0 || (_tempfetchproductsfil = tempfetchproductsfilerobjcontext.collections) === null || _tempfetchproductsfil === void 0 || _tempfetchproductsfil.forEach(function (filteritem, filterindex) {
16873
+ tempfetchproductsfilerobjcontext === null || tempfetchproductsfilerobjcontext === void 0 || (_tempfetchproductsfil = tempfetchproductsfilerobjcontext.categories) === null || _tempfetchproductsfil === void 0 || _tempfetchproductsfil.forEach(function (filteritem, filterindex) {
16866
16874
  if (filteritem == collectionid) {
16867
16875
  CollectionExists = true;
16868
- tempfetchproductsfilerobjcontext.collections.splice(filterindex, 1);
16876
+ tempfetchproductsfilerobjcontext.categories.splice(filterindex, 1);
16869
16877
  }
16870
16878
  });
16871
16879
  if (!CollectionExists) {
16872
- if (tempfetchproductsfilerobjcontext.collections != undefined && Array.isArray(tempfetchproductsfilerobjcontext.collections)) {
16873
- tempfetchproductsfilerobjcontext.collections = [collectionid];
16880
+ if (tempfetchproductsfilerobjcontext.categories != undefined && Array.isArray(tempfetchproductsfilerobjcontext.categories)) {
16881
+ tempfetchproductsfilerobjcontext.categories = [collectionid];
16874
16882
  } else {
16875
- tempfetchproductsfilerobjcontext.collections = [collectionid];
16883
+ tempfetchproductsfilerobjcontext.categories = [collectionid];
16876
16884
  }
16877
16885
  }
16878
16886
  tempfetchproductsfilerobjcontext.page = 0;
@@ -16885,11 +16893,11 @@ var CollectionsFilterHorizontal = function CollectionsFilterHorizontal(props) {
16885
16893
  var CollectionsFilter = function CollectionsFilter() {
16886
16894
  return /*#__PURE__*/React__default["default"].createElement("div", {
16887
16895
  "class": "col-lg-12 p-0 scrollhorixontalcontainer text-center px-sm-3"
16888
- }, collectionstobevisible.map(function (item, index) {
16896
+ }, instcategories.map(function (item, index) {
16889
16897
  return /*#__PURE__*/React__default["default"].createElement("p", {
16890
16898
  "class": filter_cssstyles.filteritem + ' m-0 p-0 cursor-pointer scrollhorixontaldiv mx-4 mx-sm-2 ',
16891
16899
  onClick: function onClick() {
16892
- setCollectionFilterFunc(item.collectionid);
16900
+ setCollectionFilterFunc(item.categoryid);
16893
16901
  },
16894
16902
  style: {
16895
16903
  color: item.isfilterselected ? sectionproperties.activecat_color : ''
@@ -42568,7 +42576,7 @@ var Footer1 = function Footer1(props) {
42568
42576
  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; }
42569
42577
  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; }
42570
42578
  var Footer2 = function Footer2(props) {
42571
- var _logoarrayofobjects$, _logoarrayofobjects$2, _authdetailsContext$i, _authdetailsContext$i8, _authdetailsContext$i11, _authdetailsContext$i14, _authdetailsContext$i18, _authdetailsContext$i19;
42579
+ var _logoarrayofobjects$, _logoarrayofobjects$2, _authdetailsContext$i2, _authdetailsContext$i9, _authdetailsContext$i12, _authdetailsContext$i15, _returnpolicyobj, _returnpolicyobj2, _returnpolicyobj3, _returnpolicyobj4, _returnpolicyobj5, _returnpolicyobj6, _authdetailsContext$i19, _authdetailsContext$i20;
42572
42580
  var _useState = React.useState(''),
42573
42581
  _useState2 = _slicedToArray__default["default"](_useState, 2),
42574
42582
  sectionproperties = _useState2[0],
@@ -42729,6 +42737,16 @@ var Footer2 = function Footer2(props) {
42729
42737
  }
42730
42738
  })
42731
42739
  };
42740
+ var returnpolicyobj = function returnpolicyobj(policytype) {
42741
+ var _authdetailsContext$i;
42742
+ var policyobj = {};
42743
+ 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) {
42744
+ if (item.policytype == policytype) {
42745
+ policyobj = item;
42746
+ }
42747
+ });
42748
+ return policyobj;
42749
+ };
42732
42750
  return /*#__PURE__*/React__default["default"].createElement("div", {
42733
42751
  "class": "row m-0 w-100 d-flex justify-content-center"
42734
42752
  }, /*#__PURE__*/React__default["default"].createElement("footer", {
@@ -42758,15 +42776,15 @@ var Footer2 = function Footer2(props) {
42758
42776
  fontSize: sectionproperties.titlefontsize + 'px',
42759
42777
  marginLeft: sectionproperties.titlemarginleft + 'px'
42760
42778
  }
42761
- }, 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", {
42779
+ }, 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", {
42762
42780
  "class": " col-lg-12 d-flex flex-row align-items-center justify-content-center "
42763
42781
  }, sectionproperties.fbbtn_show == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
42764
42782
  "class": "".concat(footerStyles.facebook_btn) + ' d-flex align-items-center justify-content-center ml-3 mr-3 ',
42765
42783
  onClick: function onClick() {
42766
- var _authdetailsContext$i2;
42767
- if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i2 = authdetailsContext.instinfo) === null || _authdetailsContext$i2 === void 0 ? void 0 : _authdetailsContext$i2.facebooklink) != null) {
42768
- var _authdetailsContext$i3;
42769
- window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i3 = authdetailsContext.instinfo) === null || _authdetailsContext$i3 === void 0 ? void 0 : _authdetailsContext$i3.facebooklink, '_blank');
42784
+ var _authdetailsContext$i3;
42785
+ if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i3 = authdetailsContext.instinfo) === null || _authdetailsContext$i3 === void 0 ? void 0 : _authdetailsContext$i3.facebooklink) != null) {
42786
+ var _authdetailsContext$i4;
42787
+ window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i4 = authdetailsContext.instinfo) === null || _authdetailsContext$i4 === void 0 ? void 0 : _authdetailsContext$i4.facebooklink, '_blank');
42770
42788
  }
42771
42789
  }
42772
42790
  }, /*#__PURE__*/React__default["default"].createElement(FaFacebookF.FaFacebookF, {
@@ -42774,10 +42792,10 @@ var Footer2 = function Footer2(props) {
42774
42792
  })), sectionproperties.instbtn_show == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
42775
42793
  "class": "".concat(footerStyles.instgram_btn) + ' d-flex align-items-center justify-content-center ml-3 mr-3 ',
42776
42794
  onClick: function onClick() {
42777
- var _authdetailsContext$i4;
42778
- if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i4 = authdetailsContext.instinfo) === null || _authdetailsContext$i4 === void 0 ? void 0 : _authdetailsContext$i4.instagramlink) != null) {
42779
- var _authdetailsContext$i5;
42780
- window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i5 = authdetailsContext.instinfo) === null || _authdetailsContext$i5 === void 0 ? void 0 : _authdetailsContext$i5.instagramlink, '_blank');
42795
+ var _authdetailsContext$i5;
42796
+ if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i5 = authdetailsContext.instinfo) === null || _authdetailsContext$i5 === void 0 ? void 0 : _authdetailsContext$i5.instagramlink) != null) {
42797
+ var _authdetailsContext$i6;
42798
+ window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i6 = authdetailsContext.instinfo) === null || _authdetailsContext$i6 === void 0 ? void 0 : _authdetailsContext$i6.instagramlink, '_blank');
42781
42799
  }
42782
42800
  }
42783
42801
  }, /*#__PURE__*/React__default["default"].createElement(AiFillInstagram.AiFillInstagram, {
@@ -42785,43 +42803,43 @@ var Footer2 = function Footer2(props) {
42785
42803
  })), sectionproperties.youtbtn_show == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
42786
42804
  "class": "".concat(footerStyles.youtube_btn) + ' d-flex align-items-center justify-content-center ml-3 mr-3 ',
42787
42805
  onClick: function onClick() {
42788
- var _authdetailsContext$i6;
42789
- if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i6 = authdetailsContext.instinfo) === null || _authdetailsContext$i6 === void 0 ? void 0 : _authdetailsContext$i6.whatsappnumber) != null) {
42790
- var _authdetailsContext$i7;
42791
- 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');
42806
+ var _authdetailsContext$i7;
42807
+ if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i7 = authdetailsContext.instinfo) === null || _authdetailsContext$i7 === void 0 ? void 0 : _authdetailsContext$i7.whatsappnumber) != null) {
42808
+ var _authdetailsContext$i8;
42809
+ 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');
42792
42810
  }
42793
42811
  }
42794
42812
  }, /*#__PURE__*/React__default["default"].createElement(FaWhatsapp.FaWhatsapp, {
42795
42813
  size: sectionproperties.youtubebtniconfontsize
42796
- })), (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", {
42814
+ })), (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", {
42797
42815
  "class": "".concat(footerStyles.youtube_btn) + ' d-flex align-items-center justify-content-center ml-3 mr-3 ',
42798
42816
  onClick: function onClick() {
42799
- var _authdetailsContext$i9;
42800
- if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i9 = authdetailsContext.instinfo) === null || _authdetailsContext$i9 === void 0 ? void 0 : _authdetailsContext$i9.youtubelink) != null) {
42801
- var _authdetailsContext$i10;
42802
- window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i10 = authdetailsContext.instinfo) === null || _authdetailsContext$i10 === void 0 ? void 0 : _authdetailsContext$i10.youtubelink, '_blank');
42817
+ var _authdetailsContext$i10;
42818
+ if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i10 = authdetailsContext.instinfo) === null || _authdetailsContext$i10 === void 0 ? void 0 : _authdetailsContext$i10.youtubelink) != null) {
42819
+ var _authdetailsContext$i11;
42820
+ window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i11 = authdetailsContext.instinfo) === null || _authdetailsContext$i11 === void 0 ? void 0 : _authdetailsContext$i11.youtubelink, '_blank');
42803
42821
  }
42804
42822
  }
42805
42823
  }, /*#__PURE__*/React__default["default"].createElement(AiFillYoutube.AiFillYoutube, {
42806
42824
  size: sectionproperties.instgrambtniconfontsize
42807
- })), (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", {
42825
+ })), (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", {
42808
42826
  "class": "".concat(footerStyles.youtube_btn) + ' d-flex align-items-center justify-content-center ml-3 mr-3 ',
42809
42827
  onClick: function onClick() {
42810
- var _authdetailsContext$i12;
42811
- if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i12 = authdetailsContext.instinfo) === null || _authdetailsContext$i12 === void 0 ? void 0 : _authdetailsContext$i12.linkedinlink) != null) {
42812
- var _authdetailsContext$i13;
42813
- window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i13 = authdetailsContext.instinfo) === null || _authdetailsContext$i13 === void 0 ? void 0 : _authdetailsContext$i13.linkedinlink, '_blank');
42828
+ var _authdetailsContext$i13;
42829
+ if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i13 = authdetailsContext.instinfo) === null || _authdetailsContext$i13 === void 0 ? void 0 : _authdetailsContext$i13.linkedinlink) != null) {
42830
+ var _authdetailsContext$i14;
42831
+ window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i14 = authdetailsContext.instinfo) === null || _authdetailsContext$i14 === void 0 ? void 0 : _authdetailsContext$i14.linkedinlink, '_blank');
42814
42832
  }
42815
42833
  }
42816
42834
  }, /*#__PURE__*/React__default["default"].createElement(FaLinkedinIn.FaLinkedinIn, {
42817
42835
  size: sectionproperties.instgrambtniconfontsize
42818
- })), (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", {
42836
+ })), (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", {
42819
42837
  "class": "".concat(footerStyles.youtube_btn) + ' d-flex align-items-center justify-content-center ml-3 mr-3 ',
42820
42838
  onClick: function onClick() {
42821
- var _authdetailsContext$i15;
42822
- if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i15 = authdetailsContext.instinfo) === null || _authdetailsContext$i15 === void 0 ? void 0 : _authdetailsContext$i15.tiktoklink) != null) {
42823
- var _authdetailsContext$i16;
42824
- window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i16 = authdetailsContext.instinfo) === null || _authdetailsContext$i16 === void 0 ? void 0 : _authdetailsContext$i16.tiktoklink, '_blank');
42839
+ var _authdetailsContext$i16;
42840
+ if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i16 = authdetailsContext.instinfo) === null || _authdetailsContext$i16 === void 0 ? void 0 : _authdetailsContext$i16.tiktoklink) != null) {
42841
+ var _authdetailsContext$i17;
42842
+ window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i17 = authdetailsContext.instinfo) === null || _authdetailsContext$i17 === void 0 ? void 0 : _authdetailsContext$i17.tiktoklink, '_blank');
42825
42843
  }
42826
42844
  }
42827
42845
  }, /*#__PURE__*/React__default["default"].createElement(IoLogoTiktok.IoLogoTiktok, {
@@ -42874,12 +42892,31 @@ var Footer2 = function Footer2(props) {
42874
42892
  }
42875
42893
  }, lang.orderhistory), /*#__PURE__*/React__default["default"].createElement("div", {
42876
42894
  "class": "".concat(footerStyles.vl) + ' d-flex align-items-center justify-content-center mb-3'
42877
- }), /*#__PURE__*/React__default["default"].createElement("p", {
42895
+ }), sectionproperties.separatepolicies == 'No' && /*#__PURE__*/React__default["default"].createElement("p", {
42878
42896
  "class": "".concat(footerStyles.footersubtitlestyles) + ' mb-md-0 ',
42879
42897
  onClick: function onClick() {
42880
42898
  routingcountext(StaticPagesLinksContext.Policies);
42881
42899
  }
42882
- }, lang.policies)), sectionproperties.showhidesubpages == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
42900
+ }, lang.policies), sectionproperties.separatepolicies == 'Yes' && /*#__PURE__*/React__default["default"].createElement("p", {
42901
+ "class": "".concat(footerStyles.footersubtitlestyles) + ' mb-md-0 ',
42902
+ onClick: function onClick() {
42903
+ routingcountext(StaticPagesLinksContext.PrivacyPolicy);
42904
+ }
42905
+ }, 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", {
42906
+ "class": "".concat(footerStyles.vl) + ' d-flex align-items-center justify-content-center mb-3'
42907
+ }), sectionproperties.separatepolicies == 'Yes' && /*#__PURE__*/React__default["default"].createElement("p", {
42908
+ "class": "".concat(footerStyles.footersubtitlestyles) + ' mb-md-0 ',
42909
+ onClick: function onClick() {
42910
+ routingcountext(StaticPagesLinksContext.ShippingPolicy);
42911
+ }
42912
+ }, 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", {
42913
+ "class": "".concat(footerStyles.vl) + ' d-flex align-items-center justify-content-center mb-3'
42914
+ }), sectionproperties.separatepolicies == 'Yes' && /*#__PURE__*/React__default["default"].createElement("p", {
42915
+ "class": "".concat(footerStyles.footersubtitlestyles) + ' mb-md-0 ',
42916
+ onClick: function onClick() {
42917
+ routingcountext(StaticPagesLinksContext.RefundPolicy);
42918
+ }
42919
+ }, 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", {
42883
42920
  "class": "d-none d-md-block align-items-center justify-content-center mt-3 p-0 row m-0 w-100"
42884
42921
  }, /*#__PURE__*/React__default["default"].createElement("div", {
42885
42922
  "class": "row m-0 w-100"
@@ -42913,12 +42950,12 @@ var Footer2 = function Footer2(props) {
42913
42950
  }, /*#__PURE__*/React__default["default"].createElement("p", {
42914
42951
  "class": ' storeinfotext d-flex align-items-center justify-content-md-center cursor-pointer text-transform-none ',
42915
42952
  onClick: function onClick() {
42916
- var _authdetailsContext$i17;
42917
- 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');
42953
+ var _authdetailsContext$i18;
42954
+ 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');
42918
42955
  }
42919
42956
  }, /*#__PURE__*/React__default["default"].createElement("i", {
42920
42957
  "class": ' fa fa-at mr-2 ml-2 '
42921
- }), 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", {
42958
+ }), 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", {
42922
42959
  "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 '
42923
42960
  }, /*#__PURE__*/React__default["default"].createElement("p", {
42924
42961
  "class": ' storeinfotext d-flex align-items-center justify-content-md-center cursor-pointer ',
@@ -42935,21 +42972,21 @@ var Footer2 = function Footer2(props) {
42935
42972
  "class": ' h-100 d-flex align-items-center justify-content-center mr-2 ml-2 '
42936
42973
  }, /*#__PURE__*/React__default["default"].createElement(IoLocationSharp.IoLocationSharp, {
42937
42974
  size: sectionproperties.footerinfoicon_fontsize
42938
- })), 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", {
42975
+ })), 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", {
42939
42976
  "class": "col-lg-12 d-flex align-items-center justify-content-center p-sm-0"
42940
42977
  }, /*#__PURE__*/React__default["default"].createElement("img", {
42941
42978
  "class": "".concat(footerStyles.apptore) + ' d-flex justify-content-center align-items-center cursor-pointer mx-2 ',
42942
42979
  src: 'https://tabex-co.com/storage/StaticImages/appstore.png',
42943
42980
  onClick: function onClick() {
42944
- var _authdetailsContext$i20;
42945
- window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i20 = authdetailsContext.instinfo) === null || _authdetailsContext$i20 === void 0 ? void 0 : _authdetailsContext$i20.mobileapplink_appstore, '_blank');
42981
+ var _authdetailsContext$i21;
42982
+ window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i21 = authdetailsContext.instinfo) === null || _authdetailsContext$i21 === void 0 ? void 0 : _authdetailsContext$i21.mobileapplink_appstore, '_blank');
42946
42983
  }
42947
42984
  }), /*#__PURE__*/React__default["default"].createElement("img", {
42948
42985
  "class": "".concat(footerStyles.googleplay) + ' d-flex justify-content-center align-items-center cursor-pointer mx-2 ',
42949
42986
  src: 'https://tabex-co.com/storage/StaticImages/googleplay.png',
42950
42987
  onClick: function onClick() {
42951
- var _authdetailsContext$i21;
42952
- window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i21 = authdetailsContext.instinfo) === null || _authdetailsContext$i21 === void 0 ? void 0 : _authdetailsContext$i21.mobileapplink_playstore, '_blank');
42988
+ var _authdetailsContext$i22;
42989
+ window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i22 = authdetailsContext.instinfo) === null || _authdetailsContext$i22 === void 0 ? void 0 : _authdetailsContext$i22.mobileapplink_playstore, '_blank');
42953
42990
  }
42954
42991
  })))));
42955
42992
  };
@@ -69270,7 +69307,7 @@ var Horizontalcard = function Horizontalcard(props) {
69270
69307
  setitem(props.cardinfoitemprops);
69271
69308
  }, [props.cardinfoitemprops]);
69272
69309
  var card_cssstyles = {
69273
- productcard: glamor.css({
69310
+ productcard: glamor.css(_defineProperty__default["default"]({
69274
69311
  marginTop: sectionproperties.marginTop + 'px',
69275
69312
  marginBottom: sectionproperties.marginBottom + 'px',
69276
69313
  background: sectionproperties.backgroundColortransparent == 'Transparent' ? 'transparent' : sectionproperties.backgroundColor,
@@ -69279,9 +69316,8 @@ var Horizontalcard = function Horizontalcard(props) {
69279
69316
  borderTopLeftRadius: langdetect == 'en' ? sectionproperties.borderTopLeftRadius + 'px' : sectionproperties.borderTopRightRadius + 'px',
69280
69317
  borderTopRightRadius: langdetect == 'en' ? sectionproperties.borderTopRightRadius + 'px' : sectionproperties.borderTopLeftRadius + 'px',
69281
69318
  border: sectionproperties.bordertype == 'All' ? sectionproperties.sectioncardborderwidth + 'px solid ' + sectionproperties.sectioncardbordercolor : '',
69282
- borderBottom: sectionproperties.sectioncardborderwidth + 'px solid ' + sectionproperties.sectioncardbordercolor,
69283
- boxShadow: '0 0 10px ' + sectionproperties.sectioncardshadowcolor
69284
- }),
69319
+ borderBottom: sectionproperties.bordertype == 'Bottom' ? sectionproperties.sectioncardborderwidth + 'px solid ' + sectionproperties.sectioncardbordercolor : ''
69320
+ }, "border", sectionproperties.bordertype == 'All' ? sectionproperties.sectioncardborderwidth + 'px solid ' + sectionproperties.sectioncardbordercolor : '')),
69285
69321
  productNameStyles: glamor.css({
69286
69322
  color: sectionproperties.prodNameColor,
69287
69323
  fontSize: sectionproperties.prodNameFontSize + 'px',
@@ -69449,7 +69485,7 @@ var Horizontalcard = function Horizontalcard(props) {
69449
69485
  position: 'relative'
69450
69486
  }
69451
69487
  }, /*#__PURE__*/React__default["default"].createElement("div", {
69452
- "class": 'col-lg-9 col-md-9 col-sm-9 p-0 mb-2',
69488
+ "class": 'col-lg-9 col-md-9 col-sm-9 p-0 mb-2 d-flex align-items-center',
69453
69489
  style: {
69454
69490
  minHeight: '6vh'
69455
69491
  }
@@ -69498,7 +69534,7 @@ var Horizontalcard = function Horizontalcard(props) {
69498
69534
  style: {
69499
69535
  textAlign: langdetect == 'en' ? 'left' : 'right'
69500
69536
  }
69501
- }, plainString(langdetect == 'en' ? item.description_en : item.description_ar))), sectionproperties.cartBtnShow == 'Show' && props.numberOfColsvertical == '1' && /*#__PURE__*/React__default["default"].createElement("div", {
69537
+ }, plainString(langdetect == 'en' ? item.description : item.description))), sectionproperties.cartBtnShow == 'Show' && props.numberOfColsvertical == '1' && /*#__PURE__*/React__default["default"].createElement("div", {
69502
69538
  "class": "col-lg-3 col-md-12 col-sm-12 p-0 d-flex align-items-center justify-content-end justify-content-md-start"
69503
69539
  }, /*#__PURE__*/React__default["default"].createElement("button", {
69504
69540
  "class": card_cssstyles.cart_btn,
@@ -69508,14 +69544,42 @@ var Horizontalcard = function Horizontalcard(props) {
69508
69544
  }
69509
69545
  }, langdetect == 'en' ? sectionproperties.cartBtnContentenglish : sectionproperties.cartBtnContentarabic)), item.isproducttobesold == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
69510
69546
  "class": "col-lg-12 p-0 d-flex align-items-center"
69511
- }, sectionproperties.prodPriceShow == 'Show' && /*#__PURE__*/React__default["default"].createElement("p", {
69547
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
69548
+ "class": "row m-0 w-100"
69549
+ }, sectionproperties.prodPriceShow == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
69550
+ "class": "col-lg-12 p-0 text-start"
69551
+ }, /*#__PURE__*/React__default["default"].createElement("p", {
69512
69552
  "class": card_cssstyles.productPricestyles + ' m-0 p-0 '
69513
- }, 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", {
69553
+ }, langdetect == 'en' ? item.currencyname : '', " ", item.hassale == 1 ? item.defaultsaleprice : item.defaultprice, ' ', langdetect == 'en' ? '' : item.currencyname)), /*#__PURE__*/React__default["default"].createElement("div", {
69554
+ "class": "col-lg-12 p-0 text-start"
69555
+ }, item.hassale == 1 && sectionproperties.prodsalePriceshow == 'Show' && /*#__PURE__*/React__default["default"].createElement("p", {
69514
69556
  "class": card_cssstyles.productSalePricestyles + ' m-0 p-0 ml-2 mr-2 ',
69515
69557
  style: {
69516
69558
  textDecoration: 'line-through'
69517
69559
  }
69518
- }, langdetect == 'en' ? item.currencyname : '', " ", item.defaultprice, " ", langdetect == 'en' ? '' : item.currencyname)), sectionproperties.cartBtnShow == 'Show' && props.numberOfColsvertical != '1' && /*#__PURE__*/React__default["default"].createElement("div", {
69560
+ }, langdetect == 'en' ? item.currencyname : '', " ", item.defaultprice, " ", langdetect == 'en' ? '' : item.currencyname), sectionproperties.showpill == 'Show' && item.hassale == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
69561
+ "class": 'allcentered',
69562
+ style: {
69563
+ width: sectionproperties.pillwidth + 'px',
69564
+ height: sectionproperties.pillheight + 'px',
69565
+ background: sectionproperties.pillbgcolor,
69566
+ borderRadius: sectionproperties.pillborderBottomLeftRadius + 'px'
69567
+ }
69568
+ }, sectionproperties.countertype == 'Percentage' && /*#__PURE__*/React__default["default"].createElement("p", {
69569
+ "class": "m-0 p-0",
69570
+ style: {
69571
+ color: sectionproperties.pillcolor,
69572
+ fontSize: sectionproperties.pillfontSize + 'px',
69573
+ direction: 'ltr'
69574
+ }
69575
+ }, '-' + 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", {
69576
+ "class": "m-0 p-0 text-uppercase",
69577
+ style: {
69578
+ color: sectionproperties.pillcolor,
69579
+ fontSize: sectionproperties.pillfontSize + 'px',
69580
+ direction: 'ltr'
69581
+ }
69582
+ }, 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", {
69519
69583
  "class": "col-lg-12 p-0 d-flex align-items-center mt-2"
69520
69584
  }, /*#__PURE__*/React__default["default"].createElement("button", {
69521
69585
  "class": card_cssstyles.cart_btn,
@@ -74214,9 +74278,9 @@ var Simpleproductcard = function Simpleproductcard(props) {
74214
74278
  var StatePagePropertiesContext = props.actions.StatePagePropertiesContext;
74215
74279
  props.actions.lang;
74216
74280
  var langdetect = props.actions.langdetect;
74217
- props.actions.setShowProductInfoModalContext;
74281
+ var setShowProductInfoModalContext = props.actions.setShowProductInfoModalContext;
74218
74282
  var addtofavoritescontext = props.actions.addtofavoritescontext;
74219
- props.actions.setProductIdProdutInfoModalContext;
74283
+ var setProductIdProdutInfoModalContext = props.actions.setProductIdProdutInfoModalContext;
74220
74284
  var cardonclickfunctionContext = props.actions.cardonclickfunctionContext;
74221
74285
  var ikimagecredcontext = props.actions.ikimagecredcontext;
74222
74286
  props.actions.NotificationManager;
@@ -74246,6 +74310,12 @@ var Simpleproductcard = function Simpleproductcard(props) {
74246
74310
  '@media (max-width: 800px)': {
74247
74311
  minWidth: props.sectiontypeprops2 == 'vertical' ? '100%' : sectionproperties.widthresponsive + 'px',
74248
74312
  maxWidth: props.sectiontypeprops2 == 'vertical' ? '100%' : sectionproperties.widthresponsive + 'px'
74313
+ },
74314
+ ':hover .iconsContainer': {
74315
+ opacity: 1,
74316
+ transition: 'all, 0.4s',
74317
+ right: 10,
74318
+ transform: "translateX(0px)"
74249
74319
  }
74250
74320
  }),
74251
74321
  productcardimagecont: glamor.css({
@@ -74370,6 +74440,26 @@ var Simpleproductcard = function Simpleproductcard(props) {
74370
74440
  backgroundColor: sectionproperties.backgroundColortransparent != 'Transparent' && sectionproperties.backgroundColor == '#ffffff' ? 'rgba(250,250,250,' + sectionproperties.bgopacityonhover + ')' : 1,
74371
74441
  transition: 0.3
74372
74442
  }
74443
+ }),
74444
+ iconsContainer: glamor.css({
74445
+ display: 'flex',
74446
+ flexDirection: 'column',
74447
+ position: 'absolute',
74448
+ top: 5,
74449
+ right: -15,
74450
+ opacity: 0,
74451
+ transform: "translateX(5px)",
74452
+ zIndex: 10,
74453
+ '@media (max-width: 800px)': {
74454
+ opacity: 1,
74455
+ right: 10
74456
+ }
74457
+ }),
74458
+ iconsContainer2: glamor.css({
74459
+ opacity: 1,
74460
+ transition: 'all, 0.4s',
74461
+ right: 10,
74462
+ transform: "translateX(0px)"
74373
74463
  })
74374
74464
  };
74375
74465
  var _useState5 = React.useState(''),
@@ -74468,6 +74558,32 @@ var Simpleproductcard = function Simpleproductcard(props) {
74468
74558
  cardonclickfunctionContext(sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.onClickRoute, productidtobesend, props.fetchingtypeprops, item.collectionid);
74469
74559
  }
74470
74560
  };
74561
+ var PillContainer = function PillContainer() {
74562
+ return /*#__PURE__*/React__default["default"].createElement("div", {
74563
+ "class": sectionproperties.pillwidth == 0 ? ' px-2 allcentered' : 'allcentered',
74564
+ style: {
74565
+ zIndex: 2,
74566
+ width: sectionproperties.pillwidth == 0 ? 'auto' : sectionproperties.pillwidth + 'px',
74567
+ height: sectionproperties.pillheight + 'px',
74568
+ background: sectionproperties.pillbgcolor,
74569
+ borderRadius: sectionproperties.pillborderBottomLeftRadius + 'px'
74570
+ }
74571
+ }, sectionproperties.countertype == 'Percentage' && /*#__PURE__*/React__default["default"].createElement("p", {
74572
+ "class": "m-0 p-0",
74573
+ style: {
74574
+ color: sectionproperties.pillcolor,
74575
+ fontSize: sectionproperties.pillfontSize + 'px',
74576
+ direction: 'ltr'
74577
+ }
74578
+ }, '-' + 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", {
74579
+ "class": "m-0 p-0 text-uppercase",
74580
+ style: {
74581
+ color: sectionproperties.pillcolor,
74582
+ fontSize: sectionproperties.pillfontSize + 'px',
74583
+ direction: 'ltr'
74584
+ }
74585
+ }, langdetect == 'en' ? 'Save' : 'وفر', " ", langdetect == 'en' ? item.currencyname : '', ' ', parseFloat(Math.round(parseInt(item.defaultprice) - parseInt(item.defaultsaleprice))).toFixed(0), " ", langdetect == 'en' ? '' : item.currencyname));
74586
+ };
74471
74587
  return /*#__PURE__*/React__default["default"].createElement("div", {
74472
74588
  "class": props.sectiontypeprops2 == 'vertical' ? "".concat(card_cssstyles.productcard) + ' w-100 px-md-1 ' : " ".concat(card_cssstyles.productcard),
74473
74589
  style: {
@@ -74489,7 +74605,43 @@ var Simpleproductcard = function Simpleproductcard(props) {
74489
74605
  style: {
74490
74606
  position: 'relative'
74491
74607
  }
74608
+ }, sectionproperties.btnswithtransition == 'With Transition' && /*#__PURE__*/React__default["default"].createElement("div", {
74609
+ "class": "".concat(card_cssstyles.iconsContainer) + ' iconsContainer p-0 d-flex '
74492
74610
  }, sectionproperties.favBtnShow == 'Show' && /*#__PURE__*/React__default["default"].createElement("button", {
74611
+ "class": " ".concat(card_cssstyles.wishlist_btn) + ' mt-2 mb-2 ',
74612
+ onClick: function onClick() {
74613
+ addtofavoritescontext(item.productid);
74614
+ }
74615
+ }, item.IsFavExists && /*#__PURE__*/React__default["default"].createElement("i", {
74616
+ "class": "h-100 d-flex align-items-center justify-content-center icon"
74617
+ }, sectionproperties.faviconshape == 'Star Shape' && /*#__PURE__*/React__default["default"].createElement(AiFillStar$1.AiFillStar, {
74618
+ size: sectionproperties.favBtnIconfontsize,
74619
+ style: {
74620
+ color: sectionproperties.activefaviconcolor
74621
+ }
74622
+ }), sectionproperties.faviconshape == 'Heart Shape' && /*#__PURE__*/React__default["default"].createElement(FaHeart$1.FaHeart, {
74623
+ size: sectionproperties.favBtnIconfontsize,
74624
+ style: {
74625
+ color: sectionproperties.activefaviconcolor
74626
+ }
74627
+ })), !item.IsFavExists && /*#__PURE__*/React__default["default"].createElement("i", {
74628
+ "class": "h-100 d-flex align-items-center justify-content-center icon"
74629
+ }, sectionproperties.faviconshape == 'Star Shape' && /*#__PURE__*/React__default["default"].createElement(AiOutlineStar.AiOutlineStar, {
74630
+ size: sectionproperties.favBtnIconfontsize
74631
+ }), sectionproperties.faviconshape == 'Heart Shape' && /*#__PURE__*/React__default["default"].createElement(FaRegHeart.FaRegHeart, {
74632
+ size: sectionproperties.favBtnIconfontsize
74633
+ }))), sectionproperties.showproductinfomodalbtn == 'Show' && /*#__PURE__*/React__default["default"].createElement("button", {
74634
+ "class": "".concat(card_cssstyles.wishlist_btn) + ' ',
74635
+ onClick: function onClick(e) {
74636
+ e.stopPropagation();
74637
+ setShowProductInfoModalContext(true);
74638
+ setProductIdProdutInfoModalContext(item.productid);
74639
+ }
74640
+ }, /*#__PURE__*/React__default["default"].createElement("i", {
74641
+ "class": "h-100 d-flex align-items-center justify-content-center icon"
74642
+ }, /*#__PURE__*/React__default["default"].createElement(BsEye.BsEye, {
74643
+ size: sectionproperties.generalbtn_fontsize
74644
+ })))), sectionproperties.favBtnShow == 'Show' && sectionproperties.btnswithtransition != 'With Transition' && /*#__PURE__*/React__default["default"].createElement("button", {
74493
74645
  "class": " ".concat(card_cssstyles.wishlist_btn) + ' m-0 p-0 d-flex align-items-center justify-content-center ',
74494
74646
  onClick: function onClick(e) {
74495
74647
  e.stopPropagation();
@@ -74530,7 +74682,7 @@ var Simpleproductcard = function Simpleproductcard(props) {
74530
74682
  top: sectionproperties.badge_top + 'px',
74531
74683
  left: langdetect == 'en' ? sectionproperties.badge_right + 'px' : '',
74532
74684
  right: langdetect == 'en' ? '' : sectionproperties.badge_right + 'px',
74533
- width: sectionproperties.badge_width + 'px',
74685
+ width: sectionproperties.badge_width == 0 ? '90%' : sectionproperties.badge_width + 'px',
74534
74686
  height: sectionproperties.badge_height + 'px',
74535
74687
  background: sectionproperties.badge_bgcolor,
74536
74688
  borderRadius: sectionproperties.badge_borderradius + 'px'
@@ -74541,34 +74693,14 @@ var Simpleproductcard = function Simpleproductcard(props) {
74541
74693
  color: sectionproperties.badge_color,
74542
74694
  fontSize: sectionproperties.badge_fontsize + 'px'
74543
74695
  }
74544
- }, langdetect == 'en' ? sectionproperties.badgeContentEn : sectionproperties.badgeContentAr)), sectionproperties.showpill == 'Show' && item.hassale == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
74545
- "class": sectionproperties.pillwidth == 0 ? ' px-2 allcentered' : 'allcentered',
74696
+ }, langdetect == 'en' ? sectionproperties.badgeContentEn : sectionproperties.badgeContentAr)), sectionproperties.showpill == 'Show' && item.hassale == 1 && sectionproperties.counterposition == 'Top' && /*#__PURE__*/React__default["default"].createElement("div", {
74546
74697
  style: {
74547
- zIndex: 2,
74548
74698
  position: 'absolute',
74549
74699
  top: sectionproperties.pillpositionfromtop + 'px',
74550
74700
  left: langdetect == 'en' ? sectionproperties.pillpositionfromright + 'px' : '',
74551
- right: langdetect == 'en' ? '' : sectionproperties.pillpositionfromright + 'px',
74552
- width: sectionproperties.pillwidth == 0 ? 'auto' : sectionproperties.pillwidth + 'px',
74553
- height: sectionproperties.pillheight + 'px',
74554
- background: sectionproperties.pillbgcolor,
74555
- borderRadius: sectionproperties.pillborderBottomLeftRadius + 'px'
74556
- }
74557
- }, sectionproperties.countertype == 'Percentage' && /*#__PURE__*/React__default["default"].createElement("p", {
74558
- "class": "m-0 p-0",
74559
- style: {
74560
- color: sectionproperties.pillcolor,
74561
- fontSize: sectionproperties.pillfontSize + 'px',
74562
- direction: 'ltr'
74701
+ right: langdetect == 'en' ? '' : sectionproperties.pillpositionfromright + 'px'
74563
74702
  }
74564
- }, '-' + 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", {
74565
- "class": "m-0 p-0 text-uppercase",
74566
- style: {
74567
- color: sectionproperties.pillcolor,
74568
- fontSize: sectionproperties.pillfontSize + 'px',
74569
- direction: 'ltr'
74570
- }
74571
- }, 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", {
74703
+ }, 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", {
74572
74704
  "class": "allcentered",
74573
74705
  style: {
74574
74706
  position: 'absolute',
@@ -74690,17 +74822,19 @@ var Simpleproductcard = function Simpleproductcard(props) {
74690
74822
  marginBottom: sectionproperties.productpricemarginBottom + 'px'
74691
74823
  }
74692
74824
  }, /*#__PURE__*/React__default["default"].createElement("div", {
74693
- "class": ' d-flex align-items-center p-0 mb-0 flex-column ',
74825
+ "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 ',
74694
74826
  style: {
74695
74827
  textAlign: sectionproperties.productnamecentered == 'Centered' ? 'center' : langdetect == 'en' ? 'left' : 'right'
74696
74828
  }
74697
74829
  }, sectionproperties.prodPriceShow == 'Show' && /*#__PURE__*/React__default["default"].createElement("p", {
74698
- "class": "".concat(card_cssstyles.productPricestyles) + ' m-0 '
74830
+ "class": sectionproperties.priceDirection == 'Horizontal Direction' ? "".concat(card_cssstyles.productPricestyles) + ' m-0 ' : "".concat(card_cssstyles.productPricestyles) + ' m-0 '
74699
74831
  }, 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", {
74700
- "class": " d-flex align-items-center p-0 mb-0"
74832
+ "class": sectionproperties.priceDirection == 'Horizontal' ? ' d-flex align-items-center p-0 mb-0 ' : ' d-flex align-items-center p-0 mb-0'
74701
74833
  }, /*#__PURE__*/React__default["default"].createElement("p", {
74702
74834
  "class": "".concat(card_cssstyles.productSalePricestyles) + ' linethrough m-0 mr-2 ml-2 '
74703
- }, langdetect == 'en' ? item.currencyname : '', " ", item.defaultprice, " ", langdetect == 'en' ? '' : item.currencyname)))), sectionproperties.showprofitcontainer == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
74835
+ }, 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", {
74836
+ style: {}
74837
+ }, PillContainer()))), sectionproperties.showprofitcontainer == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
74704
74838
  "class": "col-lg-12 p-0",
74705
74839
  style: {
74706
74840
  justifyContent: sectionproperties.productnamecentered == 'Centered' ? 'center' : 'start'