tabexseriescomponents 0.0.387 → 0.0.388

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
@@ -17416,9 +17416,13 @@ var Subheader = function Subheader(props) {
17416
17416
  var _fetchCategoriesQuery;
17417
17417
  var temppcollarray = _toConsumableArray__default["default"](pcollarray);
17418
17418
  fetchCategoriesQueryContext === null || fetchCategoriesQueryContext === void 0 || (_fetchCategoriesQuery = fetchCategoriesQueryContext.data) === null || _fetchCategoriesQuery === void 0 || (_fetchCategoriesQuery = _fetchCategoriesQuery.data) === null || _fetchCategoriesQuery === void 0 || _fetchCategoriesQuery.categories.forEach(function (arrayItem) {
17419
- arrayItem === null || arrayItem === void 0 || arrayItem.parentcolletions.forEach(function (item) {
17420
- temppcollarray.push(item);
17421
- });
17419
+ if (arrayItem.isshowntocustomers == 1 && arrayItem.isinftiler == 1) {
17420
+ arrayItem === null || arrayItem === void 0 || arrayItem.parentcolletions.forEach(function (item) {
17421
+ if (item.isshowntocustomers == 1 && arrayItem.isinftiler == 1) {
17422
+ temppcollarray.push(item);
17423
+ }
17424
+ });
17425
+ }
17422
17426
  });
17423
17427
  setpcollarray(_toConsumableArray__default["default"](temppcollarray));
17424
17428
  }
@@ -17845,7 +17849,7 @@ var Subheader = function Subheader(props) {
17845
17849
  function ownKeys$1Y(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; }
17846
17850
  function _objectSpread$1Y(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$1Y(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$1Y(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
17847
17851
  var Headerresponsive = function Headerresponsive(props) {
17848
- var _logoarrayofobjects$, _logoarrayofobjects$2, _authdetailsContext$c, _authdetailsContext$c2, _authdetailsContext$i, _authdetailsContext$i2, _authdetailsContext$i3, _authdetailsContext$i4, _authdetailsContext$i5, _fetchCategoriesQuery;
17852
+ var _logoarrayofobjects$, _logoarrayofobjects$2, _authdetailsContext$c, _authdetailsContext$c2, _authdetailsContext$i, _authdetailsContext$i2, _authdetailsContext$i3, _authdetailsContext$i4, _authdetailsContext$i5, _fetchCategoriesQuery, _authdetailsContext$i9;
17849
17853
  var actions = props.actions;
17850
17854
  var LogoutMutationContext = props.actions.LogoutMutationContext;
17851
17855
  var setsidecartnavshowcontext = props.actions.setsidecartnavshowcontext;
@@ -18617,7 +18621,7 @@ var Headerresponsive = function Headerresponsive(props) {
18617
18621
  }, langdetect == 'en' ? item.pagename : item.pagename_ar))), /*#__PURE__*/React__default["default"].createElement("div", {
18618
18622
  className: "col-lg-12"
18619
18623
  }, /*#__PURE__*/React__default["default"].createElement("hr", {
18620
- className: "mt-3 mb-3",
18624
+ className: "mt-4 mb-4",
18621
18625
  style: {
18622
18626
  borderColor: sectionproperties.resp_header_separatorbg
18623
18627
  }
@@ -18635,7 +18639,7 @@ var Headerresponsive = function Headerresponsive(props) {
18635
18639
  }, langdetect == 'en' ? sectionproperties.previousorders_titleen : sectionproperties.previousorders_titlear)), /*#__PURE__*/React__default["default"].createElement("div", {
18636
18640
  className: "col-lg-12"
18637
18641
  }, /*#__PURE__*/React__default["default"].createElement("hr", {
18638
- className: "mt-3 mb-3",
18642
+ className: "mt-4 mb-4",
18639
18643
  style: {
18640
18644
  borderColor: sectionproperties.resp_header_separatorbg
18641
18645
  }
@@ -18651,7 +18655,7 @@ var Headerresponsive = function Headerresponsive(props) {
18651
18655
  }, lang.wishlist)), /*#__PURE__*/React__default["default"].createElement("div", {
18652
18656
  className: "col-lg-12"
18653
18657
  }, /*#__PURE__*/React__default["default"].createElement("hr", {
18654
- className: "mt-3 mb-3",
18658
+ className: "mt-4 mb-4",
18655
18659
  style: {
18656
18660
  borderColor: sectionproperties.resp_header_separatorbg
18657
18661
  }
@@ -18718,12 +18722,27 @@ var Headerresponsive = function Headerresponsive(props) {
18718
18722
  backgroundColor: 'white'
18719
18723
  },
18720
18724
  backdrop: true
18721
- }, /*#__PURE__*/React__default["default"].createElement(reactBootstrap.Offcanvas.Header, null, /*#__PURE__*/React__default["default"].createElement(reactBootstrap.Offcanvas.Title, null, /*#__PURE__*/React__default["default"].createElement("div", {
18725
+ }, /*#__PURE__*/React__default["default"].createElement(reactBootstrap.Offcanvas.Header, null, /*#__PURE__*/React__default["default"].createElement(reactBootstrap.Offcanvas.Title, null, langdetect == 'en' && /*#__PURE__*/React__default["default"].createElement("div", {
18722
18726
  "class": "allcentered",
18723
18727
  style: {
18724
18728
  position: 'absolute',
18725
- right: langdetect == 'en' ? -34 : '',
18726
- left: langdetect == 'en' ? -34 : '',
18729
+ right: -34,
18730
+ top: 5,
18731
+ width: 30,
18732
+ height: 30,
18733
+ background: '#000'
18734
+ },
18735
+ onClick: function onClick() {
18736
+ setopenCnvas(false);
18737
+ }
18738
+ }, /*#__PURE__*/React__default["default"].createElement(IoMdClose.IoMdClose, {
18739
+ color: '#fff',
18740
+ size: 16
18741
+ })), langdetect == 'ar' && /*#__PURE__*/React__default["default"].createElement("div", {
18742
+ "class": "allcentered",
18743
+ style: {
18744
+ position: 'absolute',
18745
+ left: -34,
18727
18746
  top: 5,
18728
18747
  width: 30,
18729
18748
  height: 30,
@@ -18835,7 +18854,7 @@ var Headerresponsive = function Headerresponsive(props) {
18835
18854
  }, lang.wishlist)), /*#__PURE__*/React__default["default"].createElement("div", {
18836
18855
  className: "col-lg-12 p-0"
18837
18856
  }, /*#__PURE__*/React__default["default"].createElement("hr", {
18838
- className: "mt-3 mb-3",
18857
+ className: "mt-4 mb-4",
18839
18858
  style: {
18840
18859
  borderColor: sectionproperties.resp_header_separatorbg
18841
18860
  }
@@ -18851,7 +18870,7 @@ var Headerresponsive = function Headerresponsive(props) {
18851
18870
  className: "".concat(header_cssstyles.navbar_item_text_responsive) + ' mb-0 p-0 '
18852
18871
  }, lang.policies)))))), activeTab == 'categories' && /*#__PURE__*/React__default["default"].createElement("div", {
18853
18872
  className: ' row m-0 w-100 accordionContainer anim'
18854
- }, /*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.Accordion, {
18873
+ }, sectionproperties.subheaderParentType == 'Categories' && /*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.Accordion, {
18855
18874
  allowMultipleExpanded: true,
18856
18875
  allowZeroExpanded: true
18857
18876
  }, fetchCategoriesQueryContext === null || fetchCategoriesQueryContext === void 0 || (_fetchCategoriesQuery = fetchCategoriesQueryContext.data) === null || _fetchCategoriesQuery === void 0 || (_fetchCategoriesQuery = _fetchCategoriesQuery.data) === null || _fetchCategoriesQuery === void 0 ? void 0 : _fetchCategoriesQuery.categories.map(function (item, index) {
@@ -18899,7 +18918,7 @@ var Headerresponsive = function Headerresponsive(props) {
18899
18918
  }))), /*#__PURE__*/React__default["default"].createElement("div", {
18900
18919
  className: "col-lg-12 p-0"
18901
18920
  }, /*#__PURE__*/React__default["default"].createElement("hr", {
18902
- className: "mt-3 mb-3",
18921
+ className: "mt-4 mb-4",
18903
18922
  style: {
18904
18923
  borderColor: sectionproperties.resp_header_separatorbg
18905
18924
  }
@@ -18950,7 +18969,7 @@ var Headerresponsive = function Headerresponsive(props) {
18950
18969
  }))), /*#__PURE__*/React__default["default"].createElement("div", {
18951
18970
  className: "col-lg-12 p-0"
18952
18971
  }, /*#__PURE__*/React__default["default"].createElement("hr", {
18953
- className: "mt-3 mb-3",
18972
+ className: "mt-4 mb-4",
18954
18973
  style: {
18955
18974
  borderColor: sectionproperties.resp_header_separatorbg
18956
18975
  }
@@ -18973,7 +18992,7 @@ var Headerresponsive = function Headerresponsive(props) {
18973
18992
  }, langdetect == 'en' ? collitem.title_en : collitem.title_ar))), /*#__PURE__*/React__default["default"].createElement("div", {
18974
18993
  className: "col-lg-12 p-0"
18975
18994
  }, /*#__PURE__*/React__default["default"].createElement("hr", {
18976
- className: "mt-3 mb-3",
18995
+ className: "mt-4 mb-4",
18977
18996
  style: {
18978
18997
  borderColor: sectionproperties.resp_header_separatorbg
18979
18998
  }
@@ -18983,6 +19002,27 @@ var Headerresponsive = function Headerresponsive(props) {
18983
19002
  }
18984
19003
  }))))));
18985
19004
  }
19005
+ })), sectionproperties.subheaderParentType == 'Collections' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i9 = authdetailsContext.instinfo) === null || _authdetailsContext$i9 === void 0 || (_authdetailsContext$i9 = _authdetailsContext$i9.instcollections) === null || _authdetailsContext$i9 === void 0 ? void 0 : _authdetailsContext$i9.map(function (collitem, collindex) {
19006
+ if (collitem.isshowntocustomers == 1) {
19007
+ return /*#__PURE__*/React__default["default"].createElement("div", {
19008
+ className: ' row m-0 p-0 mb-2 w-100 '
19009
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
19010
+ className: "col-12 p-0 text-start px-3",
19011
+ onClick: function onClick() {
19012
+ routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'collections/' + collitem.collectionid);
19013
+ setopenCnvas(false);
19014
+ }
19015
+ }, /*#__PURE__*/React__default["default"].createElement("p", {
19016
+ className: "".concat(header_cssstyles.navbar_item_text_responsive) + ' mb-0 p-0 '
19017
+ }, langdetect == 'en' ? collitem.title_en : collitem.title_ar)), /*#__PURE__*/React__default["default"].createElement("div", {
19018
+ className: "col-lg-12 p-0"
19019
+ }, /*#__PURE__*/React__default["default"].createElement("hr", {
19020
+ className: "mt-4 mb-4",
19021
+ style: {
19022
+ borderColor: sectionproperties.resp_header_separatorbg
19023
+ }
19024
+ })));
19025
+ }
18986
19026
  })))))));
18987
19027
  };
18988
19028
 
@@ -19176,7 +19216,7 @@ var SocialMediaSection = function SocialMediaSection(props) {
19176
19216
  function ownKeys$1V(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; }
19177
19217
  function _objectSpread$1V(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$1V(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$1V(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
19178
19218
  var HeaderresponsiveStyle2 = function HeaderresponsiveStyle2(props) {
19179
- var _css, _logoarrayofobjects$, _logoarrayofobjects$2;
19219
+ var _css, _logoarrayofobjects$, _logoarrayofobjects$2, _returnpolicyobj, _returnpolicyobj2, _returnpolicyobj3, _returnpolicyobj4, _returnpolicyobj5, _returnpolicyobj6, _returnpolicyobj7, _returnpolicyobj8;
19180
19220
  var actions = props.actions;
19181
19221
  var LogoutMutationContext = props.actions.LogoutMutationContext;
19182
19222
  var setsidecartnavshowcontext = props.actions.setsidecartnavshowcontext;
@@ -19184,7 +19224,7 @@ var HeaderresponsiveStyle2 = function HeaderresponsiveStyle2(props) {
19184
19224
  props.actions.StatePagePropertiesContext;
19185
19225
  var lang = props.actions.lang;
19186
19226
  var langdetect = props.actions.langdetect;
19187
- props.actions.setlang;
19227
+ var setlang = props.actions.setlang;
19188
19228
  var templatepropcontext = props.actions.templatepropcontext;
19189
19229
  var authdetailsContext = props.actions.authdetailsContext;
19190
19230
  var fetchcustomercartQueryContext = props.actions.fetchcustomercartQueryContext;
@@ -19225,9 +19265,9 @@ var HeaderresponsiveStyle2 = function HeaderresponsiveStyle2(props) {
19225
19265
  _useState12[0];
19226
19266
  _useState12[1];
19227
19267
  var _useState13 = React.useState(''),
19228
- _useState14 = _slicedToArray__default["default"](_useState13, 2);
19229
- _useState14[0];
19230
- _useState14[1];
19268
+ _useState14 = _slicedToArray__default["default"](_useState13, 2),
19269
+ activeTab = _useState14[0],
19270
+ setactiveTab = _useState14[1];
19231
19271
  React.useEffect(function () {
19232
19272
  if (templateproperties_context.length != 0 && templateproperties_context.logoarrayofobjects != undefined) {
19233
19273
  var logoarrayofobjectsparsed = JSON.parse(templateproperties_context.logoarrayofobjects);
@@ -19235,6 +19275,7 @@ var HeaderresponsiveStyle2 = function HeaderresponsiveStyle2(props) {
19235
19275
  setlogoarrayofobjects(_toConsumableArray__default["default"](logoarrayofobjectsparsed));
19236
19276
  }
19237
19277
  }
19278
+ // alert(JSON.stringify(templateproperties_context));
19238
19279
  }, [templateproperties_context]);
19239
19280
  var header_cssstyles = {
19240
19281
  header_logo: glamor.css({
@@ -19400,15 +19441,25 @@ var HeaderresponsiveStyle2 = function HeaderresponsiveStyle2(props) {
19400
19441
  }
19401
19442
  })
19402
19443
  };
19444
+ var returnpolicyobj = function returnpolicyobj(policytype) {
19445
+ var _authdetailsContext$i;
19446
+ var policyobj = {};
19447
+ 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) {
19448
+ if (item.policytype == policytype) {
19449
+ policyobj = item;
19450
+ }
19451
+ });
19452
+ return policyobj;
19453
+ };
19403
19454
  var CartButton = function CartButton() {
19404
19455
  var _fetchcustomercartQue2, _fetchcustomercartQue3;
19405
19456
  return /*#__PURE__*/React__default["default"].createElement("div", {
19406
- "class": "d-flex align-items-center mx-2",
19457
+ "class": "d-flex align-items-center",
19407
19458
  style: {
19408
19459
  position: 'relative'
19409
19460
  }
19410
19461
  }, /*#__PURE__*/React__default["default"].createElement("button", {
19411
- className: "".concat(header_cssstyles.addtocartbtn_resp) + ' d-flex align-items-center justify-content-center ml-1 p-0 ',
19462
+ className: "".concat(header_cssstyles.addtocartbtn_resp) + ' d-flex align-items-center justify-content-center p-0 ',
19412
19463
  onClick: function onClick() {
19413
19464
  var _fetchcustomercartQue;
19414
19465
  if ((fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue === void 0 || (_fetchcustomercartQue = _fetchcustomercartQue.data) === null || _fetchcustomercartQue === void 0 || (_fetchcustomercartQue = _fetchcustomercartQue.customercart) === null || _fetchcustomercartQue === void 0 || (_fetchcustomercartQue = _fetchcustomercartQue.cartitems) === null || _fetchcustomercartQue === void 0 ? void 0 : _fetchcustomercartQue.length) > 7) {
@@ -19529,7 +19580,46 @@ var HeaderresponsiveStyle2 = function HeaderresponsiveStyle2(props) {
19529
19580
  zIndex: 10000,
19530
19581
  overflow: 'scroll'
19531
19582
  }
19583
+ }, sectionproperties.responsiveheaderstyle == 'Style 2 With Subheader' && /*#__PURE__*/React__default["default"].createElement("div", {
19584
+ className: "row m-0 w-100 mb-5",
19585
+ style: {
19586
+ borderBottom: '1px solid #eee'
19587
+ }
19532
19588
  }, /*#__PURE__*/React__default["default"].createElement("div", {
19589
+ className: 'col-6 allcentered py-3',
19590
+ onClick: function onClick() {
19591
+ setactiveTab('menu');
19592
+ },
19593
+ style: {
19594
+ background: activeTab == 'menu' ? 'white' : '#eee'
19595
+ }
19596
+ }, /*#__PURE__*/React__default["default"].createElement("p", {
19597
+ className: "m-0 p-0",
19598
+ style: {
19599
+ textTransform: 'uppercase',
19600
+ fontWeight: 500,
19601
+ fontSize: '15px',
19602
+ transition: '.3s',
19603
+ color: '#000'
19604
+ }
19605
+ }, langdetect == 'en' ? 'MENU' : 'القائمة')), /*#__PURE__*/React__default["default"].createElement("div", {
19606
+ className: 'col-6 allcentered py-3',
19607
+ onClick: function onClick() {
19608
+ setactiveTab('categories');
19609
+ },
19610
+ style: {
19611
+ background: activeTab == 'categories' ? 'white' : '#eee'
19612
+ }
19613
+ }, /*#__PURE__*/React__default["default"].createElement("p", {
19614
+ className: "m-0 p-0",
19615
+ style: {
19616
+ textTransform: 'uppercase',
19617
+ fontWeight: 500,
19618
+ fontSize: '15px',
19619
+ transition: '.3s',
19620
+ color: '#000'
19621
+ }
19622
+ }, langdetect == 'en' ? 'SHOP' : 'تسوق'))), sectionproperties.responsiveheaderstyle != 'Style 2 With Subheader' && /*#__PURE__*/React__default["default"].createElement("div", {
19533
19623
  "class": "col-lg-12 text-end anim"
19534
19624
  }, /*#__PURE__*/React__default["default"].createElement("i", {
19535
19625
  "class": ' h-100 allcentered ',
@@ -19571,7 +19661,7 @@ var HeaderresponsiveStyle2 = function HeaderresponsiveStyle2(props) {
19571
19661
  }
19572
19662
  })));
19573
19663
  }
19574
- }), /*#__PURE__*/React__default["default"].createElement("div", {
19664
+ }), templateproperties_context.showfavorites == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
19575
19665
  className: "row m-0 w-100 anim"
19576
19666
  }, /*#__PURE__*/React__default["default"].createElement("div", {
19577
19667
  className: "col-lg-12 pl-0 pr-0 d-flex justify-content-start my-1"
@@ -19589,7 +19679,7 @@ var HeaderresponsiveStyle2 = function HeaderresponsiveStyle2(props) {
19589
19679
  style: {
19590
19680
  borderColor: sectionproperties.resp_header_separatorbg
19591
19681
  }
19592
- }))), /*#__PURE__*/React__default["default"].createElement("div", {
19682
+ }))), templateproperties_context.separatepolicies == 'No' && templateproperties_context.showpolicies == 'Yes' && /*#__PURE__*/React__default["default"].createElement("div", {
19593
19683
  className: "row m-0 w-100 anim"
19594
19684
  }, /*#__PURE__*/React__default["default"].createElement("div", {
19595
19685
  className: "col-lg-12 pl-0 pr-0 d-flex justify-content-start my-1"
@@ -19600,7 +19690,79 @@ var HeaderresponsiveStyle2 = function HeaderresponsiveStyle2(props) {
19600
19690
  }
19601
19691
  }, /*#__PURE__*/React__default["default"].createElement("p", {
19602
19692
  className: "".concat(header_cssstyles.navbar_item_text_responsive) + ' mb-0 p-0 '
19603
- }, lang.policies))), authdetailsContext.loggedin == true && templateproperties_context.showprevorder == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
19693
+ }, lang.policies))), /*#__PURE__*/React__default["default"].createElement("div", {
19694
+ className: "col-lg-12 p-0"
19695
+ }, /*#__PURE__*/React__default["default"].createElement("hr", {
19696
+ className: "mt-3 mb-3",
19697
+ style: {
19698
+ borderColor: sectionproperties.resp_header_separatorbg
19699
+ }
19700
+ }))), templateproperties_context.separatepolicies == 'Yes' && templateproperties_context.showpolicies == 'Yes' && /*#__PURE__*/React__default["default"].createElement("div", {
19701
+ className: "row m-0 w-100 anim"
19702
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
19703
+ className: "col-lg-12 pl-0 pr-0 d-flex justify-content-start my-1"
19704
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
19705
+ onClick: function onClick() {
19706
+ routingcountext(StaticPagesLinksContext.PrivacyPolicy);
19707
+ setmenuactive(false);
19708
+ }
19709
+ }, /*#__PURE__*/React__default["default"].createElement("p", {
19710
+ className: "".concat(header_cssstyles.navbar_item_text_responsive) + ' mb-0 p-0 '
19711
+ }, 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))), /*#__PURE__*/React__default["default"].createElement("div", {
19712
+ className: "col-lg-12 p-0"
19713
+ }, /*#__PURE__*/React__default["default"].createElement("hr", {
19714
+ className: "mt-3 mb-3",
19715
+ style: {
19716
+ borderColor: sectionproperties.resp_header_separatorbg
19717
+ }
19718
+ }))), templateproperties_context.separatepolicies == 'Yes' && templateproperties_context.showpolicies == 'Yes' && /*#__PURE__*/React__default["default"].createElement("div", {
19719
+ className: "row m-0 w-100 anim"
19720
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
19721
+ className: "col-lg-12 pl-0 pr-0 d-flex justify-content-start my-1"
19722
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
19723
+ onClick: function onClick() {
19724
+ routingcountext(StaticPagesLinksContext.ShippingPolicy);
19725
+ setmenuactive(false);
19726
+ }
19727
+ }, /*#__PURE__*/React__default["default"].createElement("p", {
19728
+ className: "".concat(header_cssstyles.navbar_item_text_responsive) + ' mb-0 p-0 '
19729
+ }, 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))), /*#__PURE__*/React__default["default"].createElement("div", {
19730
+ className: "col-lg-12 p-0"
19731
+ }, /*#__PURE__*/React__default["default"].createElement("hr", {
19732
+ className: "mt-3 mb-3",
19733
+ style: {
19734
+ borderColor: sectionproperties.resp_header_separatorbg
19735
+ }
19736
+ }))), templateproperties_context.separatepolicies == 'Yes' && templateproperties_context.showpolicies == 'Yes' && /*#__PURE__*/React__default["default"].createElement("div", {
19737
+ className: "row m-0 w-100 anim"
19738
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
19739
+ className: "col-lg-12 pl-0 pr-0 d-flex justify-content-start my-1"
19740
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
19741
+ onClick: function onClick() {
19742
+ routingcountext(StaticPagesLinksContext.RefundPolicy);
19743
+ setmenuactive(false);
19744
+ }
19745
+ }, /*#__PURE__*/React__default["default"].createElement("p", {
19746
+ className: "".concat(header_cssstyles.navbar_item_text_responsive) + ' mb-0 p-0 '
19747
+ }, langdetect == 'en' ? (_returnpolicyobj5 = returnpolicyobj('Refund Policy')) === null || _returnpolicyobj5 === void 0 ? void 0 : _returnpolicyobj5.policypagename_en : (_returnpolicyobj6 = returnpolicyobj('Refund Policy')) === null || _returnpolicyobj6 === void 0 ? void 0 : _returnpolicyobj6.policypagename_ar))), /*#__PURE__*/React__default["default"].createElement("div", {
19748
+ className: "col-lg-12 p-0"
19749
+ }, /*#__PURE__*/React__default["default"].createElement("hr", {
19750
+ className: "mt-3 mb-3",
19751
+ style: {
19752
+ borderColor: sectionproperties.resp_header_separatorbg
19753
+ }
19754
+ }))), templateproperties_context.separatepolicies == 'Yes' && templateproperties_context.showpolicies == 'Yes' && /*#__PURE__*/React__default["default"].createElement("div", {
19755
+ className: "row m-0 w-100 anim"
19756
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
19757
+ className: "col-lg-12 pl-0 pr-0 d-flex justify-content-start my-1"
19758
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
19759
+ onClick: function onClick() {
19760
+ routingcountext(StaticPagesLinksContext.TermsConditions);
19761
+ setmenuactive(false);
19762
+ }
19763
+ }, /*#__PURE__*/React__default["default"].createElement("p", {
19764
+ className: "".concat(header_cssstyles.navbar_item_text_responsive) + ' mb-0 p-0 '
19765
+ }, langdetect == 'en' ? (_returnpolicyobj7 = returnpolicyobj('Terms & Conditions')) === null || _returnpolicyobj7 === void 0 ? void 0 : _returnpolicyobj7.policypagename_en : (_returnpolicyobj8 = returnpolicyobj('Terms & Conditions')) === null || _returnpolicyobj8 === void 0 ? void 0 : _returnpolicyobj8.policypagename_ar))), /*#__PURE__*/React__default["default"].createElement("div", {
19604
19766
  className: "col-lg-12 p-0"
19605
19767
  }, /*#__PURE__*/React__default["default"].createElement("hr", {
19606
19768
  className: "mt-3 mb-3",
@@ -19618,7 +19780,60 @@ var HeaderresponsiveStyle2 = function HeaderresponsiveStyle2(props) {
19618
19780
  }
19619
19781
  }, /*#__PURE__*/React__default["default"].createElement("p", {
19620
19782
  className: "".concat(header_cssstyles.navbar_item_text_responsive) + ' mb-0 p-0 '
19621
- }, langdetect == 'en' ? sectionproperties.previousorders_titleen : sectionproperties.previousorders_titlear)))), /*#__PURE__*/React__default["default"].createElement("div", {
19783
+ }, langdetect == 'en' ? templateproperties_context.previousorders_titleen : templateproperties_context.previousorders_titlear))), /*#__PURE__*/React__default["default"].createElement("div", {
19784
+ className: "col-lg-12 p-0"
19785
+ }, /*#__PURE__*/React__default["default"].createElement("hr", {
19786
+ className: "mt-3 mb-3",
19787
+ style: {
19788
+ borderColor: sectionproperties.resp_header_separatorbg
19789
+ }
19790
+ }))), sectionproperties.showlanuagecontainer == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
19791
+ className: "row m-0 w-100 anim"
19792
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
19793
+ "class": header_cssstyles.navbarItem + ' col-lg-12 p-0 d-flex align-items-center justify-content-start mb-2 ',
19794
+ style: {}
19795
+ }, /*#__PURE__*/React__default["default"].createElement("p", {
19796
+ "class": "".concat(header_cssstyles.navbar_item_text_responsive) + ' m-0 p-0 ',
19797
+ style: {
19798
+ cursor: 'default'
19799
+ }
19800
+ }, langdetect == 'en' ? 'Language' : 'اللغة')), /*#__PURE__*/React__default["default"].createElement("div", {
19801
+ "class": "col-lg-12 p-0 d-flex align-items-center justify-content-start my-1"
19802
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
19803
+ "class": "row m-0 w-100",
19804
+ style: {
19805
+ background: sectionproperties.langcontainerbgresp,
19806
+ borderRadius: 5
19807
+ }
19808
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
19809
+ "class": header_cssstyles.navbarItem + ' col-6 p-0 allcentered py-2 px-2 cursor-pointer ',
19810
+ onClick: function onClick() {
19811
+ setlang('en');
19812
+ setmenuactive(false);
19813
+ }
19814
+ }, /*#__PURE__*/React__default["default"].createElement("p", {
19815
+ "class": "m-0 p-0 w-100 allcentered py-3",
19816
+ style: {
19817
+ background: langdetect == 'en' ? sectionproperties.langcontainerbgresp_active : 'transparent',
19818
+ borderRadius: 5,
19819
+ fontSize: 15,
19820
+ color: sectionproperties.language_container_color_resp
19821
+ }
19822
+ }, "English")), /*#__PURE__*/React__default["default"].createElement("div", {
19823
+ "class": header_cssstyles.navbarItem + ' col-6 p-0 allcentered py-2 px-2 cursor-pointer ',
19824
+ onClick: function onClick() {
19825
+ setlang('ar');
19826
+ setmenuactive(false);
19827
+ }
19828
+ }, /*#__PURE__*/React__default["default"].createElement("p", {
19829
+ "class": "m-0 p-0 w-100 allcentered py-3",
19830
+ style: {
19831
+ borderRadius: 5,
19832
+ background: langdetect == 'ar' ? sectionproperties.langcontainerbgresp_active : 'transparent',
19833
+ fontSize: 15,
19834
+ color: sectionproperties.language_container_color_resp
19835
+ }
19836
+ }, "\u0644\u063A\u0629 \u0639\u0631\u0628\u064A\u0629"))))), sectionproperties.ShowUserBtn == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
19622
19837
  "class": "row m-0 w-100 mt-5"
19623
19838
  }, !authdetailsContext.loggedin && /*#__PURE__*/React__default["default"].createElement("button", {
19624
19839
  "class": "".concat(header_cssstyles.userbtn_respContainer) + ' anim d-flex align-items-center justify-content-start p-0 m-0 ',
@@ -20037,7 +20252,7 @@ var ElegantHeader = function ElegantHeader(props) {
20037
20252
  "class": header_cssstyles.textSlider + ' mb-0 p-0 '
20038
20253
  }, langdetect == 'en' ? (_textarray$ = textarray[0]) === null || _textarray$ === void 0 ? void 0 : _textarray$.textEnglish : (_textarray$2 = textarray[0]) === null || _textarray$2 === void 0 ? void 0 : _textarray$2.textArabic))), /*#__PURE__*/React__default["default"].createElement("div", {
20039
20254
  "class": "col-lg-4 p-0 text-end"
20040
- }, langdetect == 'ar' && /*#__PURE__*/React__default["default"].createElement("div", {
20255
+ }, langdetect == 'ar' && sectionproperties.showlanuagecontainer == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
20041
20256
  "class": "".concat(header_cssstyles.languagecontainer) + ' allcentered mx-4 ',
20042
20257
  onClick: function onClick() {
20043
20258
  setlang('en');
@@ -20057,7 +20272,7 @@ var ElegantHeader = function ElegantHeader(props) {
20057
20272
  "class": "ml-2 mr-2"
20058
20273
  }), /*#__PURE__*/React__default["default"].createElement("p", {
20059
20274
  "class": "m-0 p-0"
20060
- }, "\u0639")), langdetect == 'en' && /*#__PURE__*/React__default["default"].createElement("div", {
20275
+ }, "\u0639")), langdetect == 'en' && sectionproperties.showlanuagecontainer == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
20061
20276
  "class": "".concat(header_cssstyles.languagecontainer) + ' allcentered mx-4 ',
20062
20277
  onClick: function onClick() {
20063
20278
  setlang('ar');
@@ -20077,7 +20292,7 @@ var ElegantHeader = function ElegantHeader(props) {
20077
20292
  "class": "ml-2 mr-2"
20078
20293
  }), /*#__PURE__*/React__default["default"].createElement("p", {
20079
20294
  "class": "m-0 p-0"
20080
- }, "En")), /*#__PURE__*/React__default["default"].createElement("div", {
20295
+ }, "En")), sectionproperties.ShowUserBtn == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
20081
20296
  "class": "allcentered"
20082
20297
  }, /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"], null, /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"].Toggle, null, !authdetailsContext.loggedin && /*#__PURE__*/React__default["default"].createElement("div", {
20083
20298
  "class": "".concat(header_cssstyles.user_btn) + ' d-flex align-items-center justify-content-center pt-1 ',
@@ -20108,7 +20323,7 @@ var ElegantHeader = function ElegantHeader(props) {
20108
20323
  style: {
20109
20324
  minWidth: '200px'
20110
20325
  }
20111
- }, /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"].Item, {
20326
+ }, templateproperties_context.showprevorder == 'Show' && /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"].Item, {
20112
20327
  onClick: function onClick() {
20113
20328
  routingcountext(StaticPagesLinksContext.Ordershistory);
20114
20329
  }
@@ -20116,7 +20331,7 @@ var ElegantHeader = function ElegantHeader(props) {
20116
20331
  "class": "".concat(header_cssstyles.dropdownitemcontainer) + ' allcenetered m-0 p-0 '
20117
20332
  }, /*#__PURE__*/React__default["default"].createElement("p", {
20118
20333
  "class": ' allcenetered m-0 p-0 '
20119
- }, langdetect == 'en' ? sectionproperties.previousorders_titleen : sectionproperties.previousorders_titlear))), /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"].Divider, null), /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"].Item, {
20334
+ }, langdetect == 'en' ? templateproperties_context.previousorders_titleen : templateproperties_context.previousorders_titlear))), templateproperties_context.showprevorder == 'Show' && /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"].Divider, null), templateproperties_context.showfavorites == 'Show' && /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"].Item, {
20120
20335
  onClick: function onClick() {
20121
20336
  routingcountext(StaticPagesLinksContext.Wishlist);
20122
20337
  }
@@ -20124,7 +20339,7 @@ var ElegantHeader = function ElegantHeader(props) {
20124
20339
  "class": "".concat(header_cssstyles.dropdownitemcontainer) + ' allcenetered m-0 p-0 '
20125
20340
  }, /*#__PURE__*/React__default["default"].createElement("p", {
20126
20341
  "class": ' allcenetered m-0 p-0 '
20127
- }, langdetect == 'en' ? sectionproperties.wishlisttitle_en : sectionproperties.wishlisttitle_ar))), /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"].Divider, null), /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"].Item, {
20342
+ }, langdetect == 'en' ? sectionproperties.wishlisttitle_en : sectionproperties.wishlisttitle_ar))), templateproperties_context.showfavorites == 'Show' && /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"].Divider, null), /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"].Item, {
20128
20343
  onClick: function onClick() {
20129
20344
  LogoutMutationContext.mutate();
20130
20345
  }
@@ -20176,6 +20391,11 @@ var ElegantHeader = function ElegantHeader(props) {
20176
20391
  size: sectionproperties.searchbarcontfontsize
20177
20392
  })))), /*#__PURE__*/React__default["default"].createElement("div", {
20178
20393
  "class": "col-xl-8 col-lg-10 p-0 allcentered flex-row"
20394
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
20395
+ "class": ' scrollhorizontal w-100 align-items-center justify-content-center ',
20396
+ style: {
20397
+ display: sectionproperties.showhidesubheader == 'Show' && sectionproperties.subheaderposition == 'Besides Top Navigation' ? 'none' : 'flex'
20398
+ }
20179
20399
  }, templatepropcontext.pagesnprop.map(function (item, index) {
20180
20400
  if (item.isnavigation == 1 && item.isactive == 1) {
20181
20401
  return /*#__PURE__*/React__default["default"].createElement("div", {
@@ -20185,6 +20405,15 @@ var ElegantHeader = function ElegantHeader(props) {
20185
20405
  }
20186
20406
  }, langdetect == 'en' ? item.pagename : item.pagename_ar);
20187
20407
  }
20408
+ })), sectionproperties.showhidesubheader == 'Show' && sectionproperties.subheaderposition == 'Besides Top Navigation' && /*#__PURE__*/React__default["default"].createElement(Subheader, {
20409
+ sectionpropertiesprops: sectionproperties,
20410
+ actions: actions,
20411
+ subheaderpropertiesprops: {
20412
+ subheaderpositionprops: 'in nav',
20413
+ paddingLeftprops: '25px',
20414
+ paddingRightprops: '25px',
20415
+ subheadercontentpositionprops: 'center'
20416
+ }
20188
20417
  })), /*#__PURE__*/React__default["default"].createElement("div", {
20189
20418
  "class": "col-xl-2 col-lg-1 col-md-6 col-sm-12 p-0 d-flex align-items-center justify-content-end"
20190
20419
  }, sectionproperties.favBtnShow == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
@@ -25345,7 +25574,7 @@ var Simpleheader = function Simpleheader(props) {
25345
25574
  }
25346
25575
  }, /*#__PURE__*/React__default["default"].createElement(FiSearch.FiSearch, {
25347
25576
  size: sectionproperties.searchbaricon_fontsize
25348
- })), sectionproperties.cartBtnShow == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
25577
+ })), sectionproperties.favBtnShow == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
25349
25578
  "class": langdetect == 'en' ? "".concat(header_cssstyles.wishlist_btn) + ' cursor-pointer allcentered ml-3 ' : "".concat(header_cssstyles.wishlist_btn) + ' cursor-pointer allcentered mr-3 ',
25350
25579
  onClick: function onClick() {
25351
25580
  routingcountext(StaticPagesLinksContext.Wishlist);
@@ -25367,7 +25596,7 @@ var Simpleheader = function Simpleheader(props) {
25367
25596
  }
25368
25597
  })), sectionproperties.showfavbadge == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
25369
25598
  "class": "".concat(headerstyles$9.badge_counter_header_notifications, " ").concat(header_cssstyles.badge_counter_header_notifications)
25370
- }, /*#__PURE__*/React__default["default"].createElement("span", null, " ", favoriteprojectscountContext.length >= 10 ? '+9' : favoriteprojectscountContext.length)))), sectionproperties.favBtnShow == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
25599
+ }, /*#__PURE__*/React__default["default"].createElement("span", null, " ", favoriteprojectscountContext.length >= 10 ? '+9' : favoriteprojectscountContext.length)))), sectionproperties.cartBtnShow == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
25371
25600
  style: {
25372
25601
  position: 'relative'
25373
25602
  },
@@ -25576,7 +25805,7 @@ var Simpleheader = function Simpleheader(props) {
25576
25805
  "class": "".concat(header_cssstyles.dropdownitem) + ' dropdownitem allcenetered m-0 p-0 '
25577
25806
  }, /*#__PURE__*/React__default["default"].createElement(BiLogOutCircle.BiLogOutCircle, {
25578
25807
  "class": langdetect == 'en' ? 'mr-2' : 'ml-2'
25579
- }), lang.logout))))), /*#__PURE__*/React__default["default"].createElement("div", {
25808
+ }), lang.logout))))), sectionproperties.showlanuagecontainer == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
25580
25809
  "class": langdetect == 'en' ? ' allcentered m-0 cursor-pointer ml-3 ' : ' m-0 cursor-pointer mr-3 ',
25581
25810
  style: {
25582
25811
  minWidth: '30px'
@@ -25611,7 +25840,10 @@ var Simpleheader = function Simpleheader(props) {
25611
25840
  paddingRightprops: '25px',
25612
25841
  subheadercontentpositionprops: sectionproperties.header_centered == 'Centered' ? 'center' : 'start'
25613
25842
  }
25614
- })))))), /*#__PURE__*/React__default["default"].createElement(Headerresponsive, {
25843
+ })))))), sectionproperties.responsiveheaderstyle == 'Style 1' && /*#__PURE__*/React__default["default"].createElement(Headerresponsive, {
25844
+ sectionpropertiesprops: sectionproperties,
25845
+ actions: actions
25846
+ }), sectionproperties.responsiveheaderstyle == 'Style 2' && /*#__PURE__*/React__default["default"].createElement(HeaderresponsiveStyle2, {
25615
25847
  sectionpropertiesprops: sectionproperties,
25616
25848
  actions: actions
25617
25849
  }), /*#__PURE__*/React__default["default"].createElement(reactBootstrap.Offcanvas, {
@@ -42226,7 +42458,7 @@ var ModernFooter = function ModernFooter(props) {
42226
42458
  style: {
42227
42459
  textAlign: langdetect == 'en' ? 'left' : 'right'
42228
42460
  }
42229
- }, lang.orderhistory))), templateproperties_context.showpolicies == 'Show' && sectionproperties.separatepolicies == 'No' && /*#__PURE__*/React__default["default"].createElement("div", {
42461
+ }, langdetect == 'en' ? templateproperties_context.previousorders_titleen : templateproperties_context.previousorders_titlear))), templateproperties_context.showpolicies == 'Show' && templateproperties_context.separatepolicies == 'No' && /*#__PURE__*/React__default["default"].createElement("div", {
42230
42462
  "class": "col-lg-12 col-md-12 col-sm-12 p-0 d-flex mb-1"
42231
42463
  }, /*#__PURE__*/React__default["default"].createElement("div", {
42232
42464
  onClick: function onClick() {
@@ -42237,7 +42469,7 @@ var ModernFooter = function ModernFooter(props) {
42237
42469
  style: {
42238
42470
  textAlign: langdetect == 'en' ? 'left' : 'right'
42239
42471
  }
42240
- }, langdetect == 'en' ? sectionproperties.policiestexten : sectionproperties.policiestextar))), templateproperties_context.showpolicies == 'Show' && sectionproperties.separatepolicies == 'Yes' && /*#__PURE__*/React__default["default"].createElement("div", {
42472
+ }, langdetect == 'en' ? sectionproperties.policiestexten : sectionproperties.policiestextar))), templateproperties_context.showpolicies == 'Show' && templateproperties_context.separatepolicies == 'Yes' && /*#__PURE__*/React__default["default"].createElement("div", {
42241
42473
  "class": "col-lg-12 col-md-12 col-sm-12 p-0 d-flex mb-1"
42242
42474
  }, /*#__PURE__*/React__default["default"].createElement("div", {
42243
42475
  onClick: function onClick() {
@@ -42248,7 +42480,7 @@ var ModernFooter = function ModernFooter(props) {
42248
42480
  style: {
42249
42481
  textAlign: langdetect == 'en' ? 'left' : 'right'
42250
42482
  }
42251
- }, 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))), templateproperties_context.showpolicies == 'Show' && sectionproperties.separatepolicies == 'Yes' && /*#__PURE__*/React__default["default"].createElement("div", {
42483
+ }, 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))), templateproperties_context.showpolicies == 'Show' && templateproperties_context.separatepolicies == 'Yes' && /*#__PURE__*/React__default["default"].createElement("div", {
42252
42484
  "class": "col-lg-12 col-md-12 col-sm-12 p-0 d-flex mb-1"
42253
42485
  }, /*#__PURE__*/React__default["default"].createElement("div", {
42254
42486
  onClick: function onClick() {
@@ -42259,7 +42491,7 @@ var ModernFooter = function ModernFooter(props) {
42259
42491
  style: {
42260
42492
  textAlign: langdetect == 'en' ? 'left' : 'right'
42261
42493
  }
42262
- }, 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))), templateproperties_context.showpolicies == 'Show' && sectionproperties.separatepolicies == 'Yes' && /*#__PURE__*/React__default["default"].createElement("div", {
42494
+ }, 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))), templateproperties_context.showpolicies == 'Show' && templateproperties_context.separatepolicies == 'Yes' && /*#__PURE__*/React__default["default"].createElement("div", {
42263
42495
  "class": "col-lg-12 col-md-12 col-sm-12 p-0 d-flex mb-1"
42264
42496
  }, /*#__PURE__*/React__default["default"].createElement("div", {
42265
42497
  onClick: function onClick() {
@@ -42270,7 +42502,7 @@ var ModernFooter = function ModernFooter(props) {
42270
42502
  style: {
42271
42503
  textAlign: langdetect == 'en' ? 'left' : 'right'
42272
42504
  }
42273
- }, 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))), templateproperties_context.showpolicies == 'Show' && sectionproperties.separatepolicies == 'Yes' && /*#__PURE__*/React__default["default"].createElement("div", {
42505
+ }, 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))), templateproperties_context.showpolicies == 'Show' && templateproperties_context.separatepolicies == 'Yes' && /*#__PURE__*/React__default["default"].createElement("div", {
42274
42506
  "class": "col-lg-12 col-md-12 col-sm-12 p-0 d-flex mb-1"
42275
42507
  }, /*#__PURE__*/React__default["default"].createElement("div", {
42276
42508
  onClick: function onClick() {
@@ -42301,7 +42533,7 @@ var ModernFooter = function ModernFooter(props) {
42301
42533
  }
42302
42534
  }
42303
42535
  }, sectionproperties.fbiconfontsize != 0 && /*#__PURE__*/React__default["default"].createElement(FaFacebookF.FaFacebookF, {
42304
- "class": 'mr-2',
42536
+ "class": langdetect == 'en' ? 'mr-2' : 'ml-2',
42305
42537
  size: sectionproperties.fbiconfontsize
42306
42538
  }), sectionproperties.fblinktext)), sectionproperties.instbtn_show == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i5 = authdetailsContext.instinfo) === null || _authdetailsContext$i5 === void 0 ? void 0 : _authdetailsContext$i5.instagramlink) != null && /*#__PURE__*/React__default["default"].createElement("div", {
42307
42539
  "class": "col-lg-12 d-flex justify-content-start align-items-center p-0 mb-1"
@@ -42315,7 +42547,7 @@ var ModernFooter = function ModernFooter(props) {
42315
42547
  }
42316
42548
  }
42317
42549
  }, sectionproperties.instagramiconfontsize != 0 && /*#__PURE__*/React__default["default"].createElement(AiFillInstagram.AiFillInstagram, {
42318
- "class": 'mr-2',
42550
+ "class": langdetect == 'en' ? 'mr-2' : 'ml-2',
42319
42551
  size: sectionproperties.instagramiconfontsize
42320
42552
  }), sectionproperties.instagramlinktext)), sectionproperties.youtbtn_show == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i8 = authdetailsContext.instinfo) === null || _authdetailsContext$i8 === void 0 ? void 0 : _authdetailsContext$i8.whatsappnumber) != null && /*#__PURE__*/React__default["default"].createElement("div", {
42321
42553
  "class": "col-lg-12 d-flex justify-content-start align-items-center p-0 mb-1"
@@ -42329,7 +42561,7 @@ var ModernFooter = function ModernFooter(props) {
42329
42561
  }
42330
42562
  }
42331
42563
  }, sectionproperties.whatsappiconfontsize != 0 && /*#__PURE__*/React__default["default"].createElement(FaWhatsapp.FaWhatsapp, {
42332
- "class": 'mr-2',
42564
+ "class": langdetect == 'en' ? 'mr-2' : 'ml-2',
42333
42565
  size: sectionproperties.whatsappiconfontsize
42334
42566
  }), sectionproperties.whatsapplinktext)), sectionproperties.linkedinbtnshow == 'Show' && (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", {
42335
42567
  "class": "col-lg-12 d-flex justify-content-start align-items-center p-0 mb-1"
@@ -42343,7 +42575,7 @@ var ModernFooter = function ModernFooter(props) {
42343
42575
  }
42344
42576
  }
42345
42577
  }, sectionproperties.linkedinbtniconfontsize != 0 && /*#__PURE__*/React__default["default"].createElement(AiOutlineLinkedin.AiOutlineLinkedin, {
42346
- "class": 'mr-2',
42578
+ "class": langdetect == 'en' ? 'mr-2' : 'ml-2',
42347
42579
  size: sectionproperties.linkedinbtniconfontsize
42348
42580
  }), sectionproperties.linkedinlinktext)), (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", {
42349
42581
  "class": "col-lg-12 d-flex justify-content-start align-items-center p-0 mb-1"
@@ -42357,7 +42589,7 @@ var ModernFooter = function ModernFooter(props) {
42357
42589
  }
42358
42590
  }
42359
42591
  }, sectionproperties.instagramiconfontsize != 0 && /*#__PURE__*/React__default["default"].createElement(IoLogoTiktok.IoLogoTiktok, {
42360
- "class": 'mr-2',
42592
+ "class": langdetect == 'en' ? 'mr-2' : 'ml-2',
42361
42593
  size: sectionproperties.instagramiconfontsize
42362
42594
  }), langdetect == 'en' ? 'TikTok' : 'TikTok')), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i17 = authdetailsContext.instinfo) === null || _authdetailsContext$i17 === void 0 ? void 0 : _authdetailsContext$i17.telegramlink) != null && /*#__PURE__*/React__default["default"].createElement("div", {
42363
42595
  "class": "col-lg-12 d-flex justify-content-start align-items-center p-0 mb-1"
@@ -42371,7 +42603,7 @@ var ModernFooter = function ModernFooter(props) {
42371
42603
  }
42372
42604
  }
42373
42605
  }, sectionproperties.instagramiconfontsize != 0 && /*#__PURE__*/React__default["default"].createElement(FaTelegramPlane.FaTelegramPlane, {
42374
- "class": 'mr-2',
42606
+ "class": langdetect == 'en' ? 'mr-2' : 'ml-2',
42375
42607
  size: sectionproperties.instagramiconfontsize
42376
42608
  }), langdetect == 'en' ? 'Telegram' : 'Telegram')))), /*#__PURE__*/React__default["default"].createElement("div", {
42377
42609
  "class": sectionproperties.showdownloadsection == 'Show' || sectionproperties.showpaymentfooter == 'Show' ? 'col-lg-3 col-md-12 col-sm-12 mt-md-3' : 'col-lg-4 col-md-12 col-sm-12 mt-md-3',
@@ -52731,6 +52963,8 @@ var Image_with_leftwords = function Image_with_leftwords(props) {
52731
52963
  var _authdetailsContext$i2;
52732
52964
  window.open('https://api.whatsapp.com/send?phone=' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i2 = authdetailsContext.instinfo) === null || _authdetailsContext$i2 === void 0 ? void 0 : _authdetailsContext$i2.whatsappnumber), '_blank');
52733
52965
  }
52966
+ } else if (sectionproperties.btntype == 'App/Web Page') {
52967
+ window.open(sectionproperties.btnlink, '_target');
52734
52968
  } else {
52735
52969
  window.open(sectionproperties.btnlink, '_blank');
52736
52970
  }
@@ -52821,7 +53055,17 @@ var Image_with_leftwords = function Image_with_leftwords(props) {
52821
53055
  width: sectionproperties.width + 'vw'
52822
53056
  }
52823
53057
  }, /*#__PURE__*/React__default["default"].createElement("div", {
52824
- "class": sectionproperties.paddingLeft != 0 && sectionproperties.paddingRight != 0 ? section_styles.sectioncintainer + ' row m-0 w-100 d-flex justify-content-between plr-1025-1 pr-md-3 pl-md-3 ' : sectionproperties.paddingLeft != 0 ? langdetect == 'en' ? section_styles.sectioncintainer + ' row m-0 w-100 d-flex justify-content-between pl-1025-1 pl-md-3 ' : section_styles.sectioncintainer + ' row m-0 w-100 d-flex justify-content-between pr-1025-1 pr-md-3 ' : sectionproperties.paddingRight != 0 ? langdetect == 'en' ? section_styles.sectioncintainer + ' row m-0 w-100 d-flex justify-content-between pr-1025-1 pr-md-3 ' : section_styles.sectioncintainer + ' row m-0 w-100 d-flex justify-content-between pl-1025-1 pl-md-3 ' : section_styles.sectioncintainer + ' row m-0 w-100 d-flex justify-content-between ',
53058
+ "class":
53059
+ // sectionproperties.paddingLeft != 0 && sectionproperties.paddingRight != 0
53060
+ // ? section_styles.sectioncintainer + ' row m-0 w-100 d-flex justify-content-between plr-1025-1 pr-md-3 pl-md-3 '
53061
+ // : sectionproperties.paddingLeft == 0 && sectionproperties.paddingRight == 0
53062
+ // ? section_styles.sectioncintainer + ' row m-0 w-100 d-flex justify-content-between '
53063
+ // : sectionproperties.paddingLeft != 0
53064
+ // ? section_styles.sectioncintainer + ' row m-0 w-100 d-flex justify-content-between pr-1025-1 px-md-3 '
53065
+ // : sectionproperties.paddingRight != 0
53066
+ // ? section_styles.sectioncintainer + ' row m-0 w-100 d-flex justify-content-between pr-1025-1 px-md-3 '
53067
+ // : section_styles.sectioncintainer + ' row m-0 w-100 d-flex justify-content-between '
53068
+ sectionproperties.paddingLeft != 0 && sectionproperties.paddingRight != 0 ? section_styles.sectioncintainer + ' row m-0 w-100 d-flex justify-content-between plr-1025-1 pr-md-3 pl-md-3 ' : sectionproperties.paddingLeft == 0 && sectionproperties.paddingRight == 0 ? section_styles.sectioncintainer + ' row m-0 w-100 d-flex justify-content-between px-md-0 ' : sectionproperties.paddingLeft != 0 ? section_styles.sectioncintainer + ' row m-0 w-100 d-flex justify-content-between plr-1025-1 pr-md-3 pl-md-3 ' : sectionproperties.paddingRight != 0 ? section_styles.sectioncintainer + ' row m-0 w-100 d-flex justify-content-between plr-1025-1 pr-md-3 pl-md-3 ' : section_styles.sectioncintainer + ' row m-0 w-100 d-flex justify-content-between px-md-0 ',
52825
53069
  style: {
52826
53070
  paddingLeft: langdetect == 'en' ? sectionproperties.paddingLeft + 'px' : sectionproperties.paddingRight + 'px',
52827
53071
  paddingRight: langdetect == 'en' ? sectionproperties.paddingRight + 'px' : sectionproperties.paddingLeft + 'px',
@@ -53217,7 +53461,9 @@ var Servicesection = function Servicesection(props) {
53217
53461
  cursor: cardinfoitem.iscardclickable == 'Yes' ? 'pointer' : 'default'
53218
53462
  },
53219
53463
  onClick: function onClick() {
53220
- if (cardinfoitem.iscardclickable == 'Yes') {
53464
+ if (cardinfoitem.iscardclickable == 'Yes' && cardinfoitem.clickabletabtype == 'Same Tab') {
53465
+ window.open(cardinfoitem.btnlink, '_target');
53466
+ } else if (cardinfoitem.iscardclickable == 'Yes' && cardinfoitem.clickabletabtype == 'New Tab') {
53221
53467
  window.open(cardinfoitem.btnlink, '_blank');
53222
53468
  }
53223
53469
  }
@@ -63722,12 +63968,25 @@ var ServiceCard = function ServiceCard(props) {
63722
63968
  onClick: function onClick() {
63723
63969
  cardonclickfunctionContext(sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.onClickRoute, item.productid, props.fetchingtypeprops, item.collectionid);
63724
63970
  }
63725
- }, sectionproperties.prodNameShow == 'Show' && /*#__PURE__*/React__default["default"].createElement("p", {
63971
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
63972
+ "class": "row m-0 w-100"
63973
+ }, sectionproperties.prodNameShow == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
63974
+ "class": "col-lg-12 p-0"
63975
+ }, /*#__PURE__*/React__default["default"].createElement("p", {
63726
63976
  "class": "".concat(card_cssstyles.productNameStyles) + ' font-md-15 wordbreak wordbreak1 m-0 ',
63727
63977
  style: {
63728
63978
  textAlign: langdetect == 'en' ? 'left' : 'right'
63729
63979
  }
63730
- }, item.name)))), /*#__PURE__*/React__default["default"].createElement("div", {
63980
+ }, item.name)), sectionproperties.showmeasurementunit == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
63981
+ "class": "col-lg-12 p-0"
63982
+ }, /*#__PURE__*/React__default["default"].createElement("p", {
63983
+ "class": ' wordbreak wordbreak1 m-0 ',
63984
+ style: {
63985
+ textAlign: langdetect == 'en' ? 'left' : 'right',
63986
+ fontSize: sectionproperties.measurementunitfontsize + 'px',
63987
+ color: sectionproperties.measurementunitcolor
63988
+ }
63989
+ }, item.measurmentunit)))))), /*#__PURE__*/React__default["default"].createElement("div", {
63731
63990
  "class": "col-lg-12 p-0"
63732
63991
  }, /*#__PURE__*/React__default["default"].createElement("div", {
63733
63992
  "class": "row w-100 m-0 d-flex"