tabexseriescomponents 0.0.433 → 0.0.434

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.esm.js CHANGED
@@ -30,6 +30,11 @@ import { FiShoppingBag } from '@react-icons/all-files/fi/FiShoppingBag';
30
30
  import { FiShoppingCart } from '@react-icons/all-files/fi/FiShoppingCart';
31
31
  import { AiFillStar as AiFillStar$1 } from '@react-icons/all-files/ai/AiFillStar';
32
32
  import { AiOutlineStar } from '@react-icons/all-files/ai/AiOutlineStar';
33
+ import { FaPlus } from '@react-icons/all-files/fa/FaPlus';
34
+ import { FaMinus } from '@react-icons/all-files/fa/FaMinus';
35
+ import { FiBox } from '@react-icons/all-files/fi/FiBox';
36
+ import { RiArrowGoBackLine } from '@react-icons/all-files/ri/RiArrowGoBackLine';
37
+ import { Accordion, AccordionItem, AccordionItemHeading, AccordionItemButton, AccordionItemState, AccordionItemPanel } from 'react-accessible-accordion';
33
38
  import { FacebookShareButton, FacebookIcon, TwitterShareButton, WhatsappShareButton, WhatsappIcon, LinkedinShareButton, LinkedinIcon, TwitterIcon } from 'react-share';
34
39
  import { FiMinus } from '@react-icons/all-files/fi/FiMinus';
35
40
  import { FiPlus } from '@react-icons/all-files/fi/FiPlus';
@@ -70,7 +75,6 @@ import '@react-icons/all-files/ri/RiArrowUpSLine';
70
75
  import '@react-icons/all-files/ri/RiArrowDownSLine';
71
76
  import { IoIosArrowRoundForward } from '@react-icons/all-files/io/IoIosArrowRoundForward';
72
77
  import { IoIosArrowRoundBack } from '@react-icons/all-files/io/IoIosArrowRoundBack';
73
- import { Accordion, AccordionItem, AccordionItemHeading, AccordionItemButton, AccordionItemState, AccordionItemPanel } from 'react-accessible-accordion';
74
78
  import { FiChevronUp } from '@react-icons/all-files/fi/FiChevronUp';
75
79
  import { FiChevronDown } from '@react-icons/all-files/fi/FiChevronDown';
76
80
  import { HiOutlinePlus } from '@react-icons/all-files/hi/HiOutlinePlus';
@@ -137,8 +141,6 @@ import { FaLinkedinIn } from '@react-icons/all-files/fa/FaLinkedinIn';
137
141
  import { RiRoadMapLine } from '@react-icons/all-files/ri/RiRoadMapLine';
138
142
  import { HiOutlineClock } from '@react-icons/all-files/hi/HiOutlineClock';
139
143
  import { AiOutlineLinkedin } from '@react-icons/all-files/ai/AiOutlineLinkedin';
140
- import { FaPlus } from '@react-icons/all-files/fa/FaPlus';
141
- import { FaMinus } from '@react-icons/all-files/fa/FaMinus';
142
144
  import { FaArrowAltCircleRight } from '@react-icons/all-files/fa/FaArrowAltCircleRight';
143
145
  import { FaArrowAltCircleLeft } from '@react-icons/all-files/fa/FaArrowAltCircleLeft';
144
146
  import Select$5 from 'react-select';
@@ -2150,7 +2152,7 @@ var DescriptionContent = function DescriptionContent(props) {
2150
2152
  setShowMore = _useState2[1];
2151
2153
  var ikimagecredcontext = props.actions.ikimagecredcontext;
2152
2154
  return /*#__PURE__*/React.createElement("div", {
2153
- "class": props.srcfromprops == 'undername' ? 'col-lg-12 p-0 w-100' : sectionproperties.gallerystyle == 'Style 1' ? 'col-lg-12 pl-5 pr-5 p-md-0 w-100' : 'col-lg-12 p-0 w-100'
2155
+ "class": props.srcfromprops == 'undername' ? 'col-lg-12 p-0 w-100' : props.srcfromprops == 'undername' ? 'col-lg-12 p-0 w-100' : sectionproperties.gallerystyle == 'Style 1' ? 'col-lg-12 pl-5 pr-5 p-md-0 w-100' : 'col-lg-12 p-0 w-100'
2154
2156
  }, /*#__PURE__*/React.createElement("div", {
2155
2157
  "class": "row m-0 w-100"
2156
2158
  }, sectionproperties.gallerystyle == 'Style 2' && /*#__PURE__*/React.createElement("div", {
@@ -2163,13 +2165,13 @@ var DescriptionContent = function DescriptionContent(props) {
2163
2165
  fontWeight: sectionproperties.prodCatFontWeight
2164
2166
  }
2165
2167
  }, langdetect == 'en' ? sectionproperties.descriptionContentEn : sectionproperties.descriptionContentAr)), langdetect == 'en' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer === void 0 || (_fetchProductInfoQuer = _fetchProductInfoQuer.data) === null || _fetchProductInfoQuer === void 0 || (_fetchProductInfoQuer = _fetchProductInfoQuer.productinfo) === null || _fetchProductInfoQuer === void 0 ? void 0 : _fetchProductInfoQuer.description_en) != '' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer2 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer2 === void 0 || (_fetchProductInfoQuer2 = _fetchProductInfoQuer2.data) === null || _fetchProductInfoQuer2 === void 0 || (_fetchProductInfoQuer2 = _fetchProductInfoQuer2.productinfo) === null || _fetchProductInfoQuer2 === void 0 ? void 0 : _fetchProductInfoQuer2.description_en) != null && sectionproperties.prodCatShow == 'Show' && /*#__PURE__*/React.createElement("div", {
2166
- className: "col-lg-12 p-0 mb-4 d-flex justify-content-center"
2168
+ className: props.srcfromprops == 'collap' ? 'col-lg-12 p-0 d-flex justify-content-center' : 'col-lg-12 p-0 mb-4 d-flex justify-content-center'
2167
2169
  }, /*#__PURE__*/React.createElement("div", {
2168
2170
  className: "row m-0 w-100 d-flex"
2169
2171
  }, /*#__PURE__*/React.createElement("div", {
2170
2172
  "class": "col-lg-12 p-0 d-flex justify-content-start"
2171
2173
  }, /*#__PURE__*/React.createElement("p", {
2172
- className: 'text-black m-0 p-0 wordbreak',
2174
+ className: 'm-0 p-0 wordbreak',
2173
2175
  style: {
2174
2176
  textAlign: langdetect == 'en' ? 'left' : 'right'
2175
2177
  },
@@ -2237,11 +2239,11 @@ var DescriptionContent = function DescriptionContent(props) {
2237
2239
  function ownKeys$2t(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; }
2238
2240
  function _objectSpread$2t(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$2t(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$2t(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
2239
2241
  var Product_itemtype = function Product_itemtype(props) {
2240
- var _fetchProductInfoQuer2, _fetchProductInfoQuer3, _fetchProductInfoQuer4, _fetchProductInfoQuer5, _fetchProductInfoQuer6, _fetchProductInfoQuer7, _fetchProductInfoQuer8, _fetchProductInfoQuer9, _fetchProductInfoQuer10, _fetchProductInfoQuer11, _fetchProductInfoQuer12, _fetchProductInfoQuer13, _fetchProductInfoQuer14, _fetchProductInfoQuer15, _fetchProductInfoQuer16, _fetchProductInfoQuer17, _fetchProductInfoQuer18, _fetchProductInfoQuer19, _fetchProductInfoQuer20, _fetchProductInfoQuer21, _fetchProductInfoQuer22, _fetchProductInfoQuer23, _fetchProductInfoQuer24, _fetchProductInfoQuer25, _fetchProductInfoQuer26, _fetchProductInfoQuer27, _fetchProductInfoQuer29, _fetchProductInfoQuer30, _fetchProductInfoQuer31, _fetchProductInfoQuer33, _fetchProductInfoQuer34, _fetchProductInfoQuer35, _fetchProductInfoQuer36, _fetchProductInfoQuer37, _fetchProductInfoQuer38, _fetchProductInfoQuer39, _fetchProductInfoQuer40;
2242
+ var _fetchProductInfoQuer2, _fetchProductInfoQuer3, _fetchProductInfoQuer4, _fetchProductInfoQuer5, _fetchProductInfoQuer6, _fetchProductInfoQuer7, _fetchProductInfoQuer8, _fetchProductInfoQuer9, _fetchProductInfoQuer10, _fetchProductInfoQuer11, _fetchProductInfoQuer12, _fetchProductInfoQuer13, _fetchProductInfoQuer14, _fetchProductInfoQuer15, _fetchProductInfoQuer16, _fetchProductInfoQuer17, _fetchProductInfoQuer18, _fetchProductInfoQuer19, _fetchProductInfoQuer20, _fetchProductInfoQuer21, _fetchProductInfoQuer22, _fetchProductInfoQuer23, _fetchProductInfoQuer24, _fetchProductInfoQuer25, _fetchProductInfoQuer26, _fetchProductInfoQuer27, _fetchProductInfoQuer29, _fetchProductInfoQuer30, _fetchProductInfoQuer31, _fetchProductInfoQuer33, _fetchProductInfoQuer34, _fetchProductInfoQuer35, _fetchProductInfoQuer36, _fetchProductInfoQuer37, _returnpolicyobj, _returnpolicyobj2, _returnpolicyobj3, _returnpolicyobj4, _returnpolicyobj5, _returnpolicyobj6, _returnpolicyobj7, _returnpolicyobj8, _fetchProductInfoQuer38, _fetchProductInfoQuer39, _fetchProductInfoQuer40, _fetchProductInfoQuer41, _fetchProductInfoQuer42;
2241
2243
  var lang = props.actions.lang;
2242
2244
  var langdetect = props.actions.langdetect;
2243
2245
  var srcfromprops = props.actions.srcfromprops;
2244
- props.actions.returnpolicyobj;
2246
+ var returnpolicyobj = props.actions.returnpolicyobj;
2245
2247
  var productinfo_cssstyles = props.actions.productinfo_cssstyles;
2246
2248
  var addtocartfunc = props.actions.addtocartfunc;
2247
2249
  props.actions.selectproductoptionvalue;
@@ -2506,7 +2508,17 @@ var Product_itemtype = function Product_itemtype(props) {
2506
2508
  // }
2507
2509
  }, /*#__PURE__*/React.createElement("div", {
2508
2510
  className: sectionproperties.evencols == 'Yes' ? 'row m-0 w-100 mt-md-5' : 'row m-0 w-100'
2509
- }, /*#__PURE__*/React.createElement("div", {
2511
+ }, sectionproperties.showmeasurementunit == 'Show' && /*#__PURE__*/React.createElement("div", {
2512
+ className: 'col-lg-12 p-0 mb-1 d-flex justify-content-start align-items-center mb-1 mt-3'
2513
+ }, /*#__PURE__*/React.createElement("p", {
2514
+ className: ' m-0 p-0 wordbreak d-flex justify-content-start ',
2515
+ style: {
2516
+ textAlign: langdetect == 'en' ? 'left' : 'right',
2517
+ fontWeight: 400,
2518
+ color: sectionproperties.measurementunitcolor,
2519
+ fontSize: sectionproperties.measurementunitcolor + 'px'
2520
+ }
2521
+ }, fetchProductInfoQueryContext.data.data.productinfo.measurmentunit)), /*#__PURE__*/React.createElement("div", {
2510
2522
  className: (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer4 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer4 === void 0 || (_fetchProductInfoQuer4 = _fetchProductInfoQuer4.data) === null || _fetchProductInfoQuer4 === void 0 || (_fetchProductInfoQuer4 = _fetchProductInfoQuer4.productinfo) === null || _fetchProductInfoQuer4 === void 0 ? void 0 : _fetchProductInfoQuer4.productcanrate) == 1 ? 'col-lg-8 col-md-8 col-sm-8 p-0 mb-1 d-flex justify-content-start align-items-center' : sectionproperties.btnposition == 'Top' ? 'col-lg-8 col-md-8 col-sm-8 p-0 mb-1 d-flex justify-content-start align-items-center' : sectionproperties.availabilitybtnposition == 'Top' && sectionproperties.show_availability == 'Show' ? 'col-lg-8 col-md-8 col-sm-8 p-0 mb-1 d-flex justify-content-start align-items-center' : 'col-lg-12 p-0 mb-1 d-flex justify-content-start align-items-center'
2511
2523
  }, /*#__PURE__*/React.createElement("p", {
2512
2524
  className: props.srcfromprops != 'templatedraftrouter' ? "".concat(productinfo_cssstyles.productname, " ").concat(productinfo_cssstyles.productnamehover) + ' m-0 p-0 wordbreak d-flex justify-content-start cursor-pointer font-sm-15 ' : "".concat(productinfo_cssstyles.productname) + ' m-0 p-0 wordbreak d-flex justify-content-start font-sm-15 ',
@@ -2592,7 +2604,7 @@ var Product_itemtype = function Product_itemtype(props) {
2592
2604
  size: sectionproperties.favBtnIconfontsize
2593
2605
  }))))), sectionproperties.showSKU == 'Show' && sectionproperties.productInformationType == 'Product/Service Information' && sectionproperties.skuposition == 'Top' && /*#__PURE__*/React.createElement("div", {
2594
2606
  "class": 'col-lg-12 p-0 my-3 d-flex justify-content-start'
2595
- }, ProductsSKUContainer()), langdetect == 'en' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer8 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer8 === void 0 || (_fetchProductInfoQuer8 = _fetchProductInfoQuer8.data) === null || _fetchProductInfoQuer8 === void 0 || (_fetchProductInfoQuer8 = _fetchProductInfoQuer8.productinfo) === null || _fetchProductInfoQuer8 === void 0 ? void 0 : _fetchProductInfoQuer8.short_description_en) != null && /*#__PURE__*/React.createElement("div", {
2607
+ }, ProductsSKUContainer()), langdetect == 'en' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer8 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer8 === void 0 || (_fetchProductInfoQuer8 = _fetchProductInfoQuer8.data) === null || _fetchProductInfoQuer8 === void 0 || (_fetchProductInfoQuer8 = _fetchProductInfoQuer8.productinfo) === null || _fetchProductInfoQuer8 === void 0 ? void 0 : _fetchProductInfoQuer8.short_description_en) != null && sectionproperties.descriptionstyle == 'Style 1' && /*#__PURE__*/React.createElement("div", {
2596
2608
  "class": "col-lg-12 p-0"
2597
2609
  }, /*#__PURE__*/React.createElement("div", {
2598
2610
  "class": "col-lg-12 p-0 d-flex justify-content-start"
@@ -2604,7 +2616,7 @@ var Product_itemtype = function Product_itemtype(props) {
2604
2616
  dangerouslySetInnerHTML: {
2605
2617
  __html: fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer9 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer9 === void 0 || (_fetchProductInfoQuer9 = _fetchProductInfoQuer9.data) === null || _fetchProductInfoQuer9 === void 0 || (_fetchProductInfoQuer9 = _fetchProductInfoQuer9.productinfo) === null || _fetchProductInfoQuer9 === void 0 ? void 0 : _fetchProductInfoQuer9.short_description_en
2606
2618
  }
2607
- }))), langdetect == 'ar' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer10 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer10 === void 0 || (_fetchProductInfoQuer10 = _fetchProductInfoQuer10.data) === null || _fetchProductInfoQuer10 === void 0 || (_fetchProductInfoQuer10 = _fetchProductInfoQuer10.productinfo) === null || _fetchProductInfoQuer10 === void 0 ? void 0 : _fetchProductInfoQuer10.short_description_ar) != null && /*#__PURE__*/React.createElement("div", {
2619
+ }))), langdetect == 'ar' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer10 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer10 === void 0 || (_fetchProductInfoQuer10 = _fetchProductInfoQuer10.data) === null || _fetchProductInfoQuer10 === void 0 || (_fetchProductInfoQuer10 = _fetchProductInfoQuer10.productinfo) === null || _fetchProductInfoQuer10 === void 0 ? void 0 : _fetchProductInfoQuer10.short_description_ar) != null && sectionproperties.descriptionstyle == 'Style 1' && /*#__PURE__*/React.createElement("div", {
2608
2620
  "class": "col-lg-12 p-0"
2609
2621
  }, /*#__PURE__*/React.createElement("div", {
2610
2622
  "class": "col-lg-12 p-0 d-flex justify-content-start"
@@ -2616,7 +2628,7 @@ var Product_itemtype = function Product_itemtype(props) {
2616
2628
  dangerouslySetInnerHTML: {
2617
2629
  __html: fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer11 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer11 === void 0 || (_fetchProductInfoQuer11 = _fetchProductInfoQuer11.data) === null || _fetchProductInfoQuer11 === void 0 || (_fetchProductInfoQuer11 = _fetchProductInfoQuer11.productinfo) === null || _fetchProductInfoQuer11 === void 0 ? void 0 : _fetchProductInfoQuer11.short_description_ar
2618
2630
  }
2619
- }))), sectionproperties.descriptionposition == 'Top' && /*#__PURE__*/React.createElement("div", {
2631
+ }))), sectionproperties.descriptionposition == 'Top' && sectionproperties.descriptionstyle == 'Style 1' && /*#__PURE__*/React.createElement("div", {
2620
2632
  "class": "col-lg-12 p-0"
2621
2633
  }, /*#__PURE__*/React.createElement("div", {
2622
2634
  "class": "row m-0 w-100"
@@ -2754,7 +2766,7 @@ var Product_itemtype = function Product_itemtype(props) {
2754
2766
  marginTop: sectionproperties.ctabuttnnsmarginvertical + 'px',
2755
2767
  marginBottom: sectionproperties.ctabuttnnsmarginvertical + 'px'
2756
2768
  }
2757
- }, (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer23 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer23 === void 0 || (_fetchProductInfoQuer23 = _fetchProductInfoQuer23.data) === null || _fetchProductInfoQuer23 === void 0 || (_fetchProductInfoQuer23 = _fetchProductInfoQuer23.productinfo) === null || _fetchProductInfoQuer23 === void 0 ? void 0 : _fetchProductInfoQuer23.isproducttobesold) == 1 && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer24 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer24 === void 0 || (_fetchProductInfoQuer24 = _fetchProductInfoQuer24.data) === null || _fetchProductInfoQuer24 === void 0 || (_fetchProductInfoQuer24 = _fetchProductInfoQuer24.productinfo) === null || _fetchProductInfoQuer24 === void 0 ? void 0 : _fetchProductInfoQuer24.isproducthasquantitychange) == 1 && /*#__PURE__*/React.createElement("div", {
2769
+ }, (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer23 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer23 === void 0 || (_fetchProductInfoQuer23 = _fetchProductInfoQuer23.data) === null || _fetchProductInfoQuer23 === void 0 || (_fetchProductInfoQuer23 = _fetchProductInfoQuer23.productinfo) === null || _fetchProductInfoQuer23 === void 0 ? void 0 : _fetchProductInfoQuer23.isproducttobesold) == 1 && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer24 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer24 === void 0 || (_fetchProductInfoQuer24 = _fetchProductInfoQuer24.data) === null || _fetchProductInfoQuer24 === void 0 || (_fetchProductInfoQuer24 = _fetchProductInfoQuer24.productinfo) === null || _fetchProductInfoQuer24 === void 0 ? void 0 : _fetchProductInfoQuer24.isproducthasquantitychange) == 1 && sectionproperties.quantitybtn_show == 'Show' && /*#__PURE__*/React.createElement("div", {
2758
2770
  className: "col-lg-12 p-0 mb-2 d-flex justofy-content-start"
2759
2771
  }, /*#__PURE__*/React.createElement("p", {
2760
2772
  className: "m-0 p-0",
@@ -3019,7 +3031,219 @@ var Product_itemtype = function Product_itemtype(props) {
3019
3031
  width: "20px",
3020
3032
  height: "20px",
3021
3033
  duration: "1s"
3022
- }))))))), sectionproperties.productInformationType == 'Product/Service Information' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer36 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer36 === void 0 || (_fetchProductInfoQuer36 = _fetchProductInfoQuer36.data) === null || _fetchProductInfoQuer36 === void 0 || (_fetchProductInfoQuer36 = _fetchProductInfoQuer36.productinfo) === null || _fetchProductInfoQuer36 === void 0 ? void 0 : _fetchProductInfoQuer36.isproducttobesold) == 1 && sectionproperties.showtotalsection == 'Show' && /*#__PURE__*/React.createElement("div", {
3034
+ }))))))), sectionproperties.descriptionstyle == 'Style 2' && /*#__PURE__*/React.createElement("div", {
3035
+ "class": "col-lg-12 col-md-12 p-md-0 mt-3"
3036
+ }, /*#__PURE__*/React.createElement(Accordion, {
3037
+ allowMultipleExpanded: true,
3038
+ allowZeroExpanded: true
3039
+ }, /*#__PURE__*/React.createElement(AccordionItem, null, /*#__PURE__*/React.createElement(AccordionItemHeading, null, /*#__PURE__*/React.createElement(AccordionItemButton, null, /*#__PURE__*/React.createElement("div", {
3040
+ "class": "row m-0 w-100"
3041
+ }, /*#__PURE__*/React.createElement("div", {
3042
+ className: "col-lg-10 col-md-10 col-sm-10 p-0 d-flex align-items-center justify-content-start"
3043
+ }, /*#__PURE__*/React.createElement("p", {
3044
+ "class": "m-0 p-0",
3045
+ style: {
3046
+ textAlign: langdetect == 'en' ? 'left' : 'right',
3047
+ fontWeight: sectionproperties.prodCatFontWeight,
3048
+ color: sectionproperties.prodCatColor,
3049
+ fontSize: sectionproperties.prodCatFontSize + 'px'
3050
+ }
3051
+ }, langdetect == 'en' ? sectionproperties.descriptionContentEn : sectionproperties.descriptionContentAr)), /*#__PURE__*/React.createElement("div", {
3052
+ className: "col-lg-2 col-md-2 col-sm-2 p-0"
3053
+ }, /*#__PURE__*/React.createElement(AccordionItemState, null, function (state) {
3054
+ if (state.expanded == true) {
3055
+ return /*#__PURE__*/React.createElement("i", {
3056
+ className: ' h-100 d-flex align-items-center justify-content-end '
3057
+ }, /*#__PURE__*/React.createElement(FaMinus, {
3058
+ color: sectionproperties.prodCatColor
3059
+ }));
3060
+ } else {
3061
+ return /*#__PURE__*/React.createElement("i", {
3062
+ className: ' h-100 d-flex align-items-center justify-content-end '
3063
+ }, /*#__PURE__*/React.createElement(FaPlus, {
3064
+ color: sectionproperties.prodCatColor
3065
+ }));
3066
+ }
3067
+ }))))), /*#__PURE__*/React.createElement(AccordionItemPanel, {
3068
+ className: "p-0"
3069
+ }, /*#__PURE__*/React.createElement("div", {
3070
+ "class": "col-lg-12 p-0 mt-3"
3071
+ }, /*#__PURE__*/React.createElement(DescriptionContent, {
3072
+ actions: props.actions,
3073
+ srcfromprops: 'collap'
3074
+ })))))), sectionproperties.descriptionstyle == 'Style 2' && /*#__PURE__*/React.createElement("div", {
3075
+ "class": "col-lg-12 col-md-12 my-3 p-md-0"
3076
+ }, /*#__PURE__*/React.createElement("hr", {
3077
+ "class": "m-0"
3078
+ })), sectionproperties.descriptionstyle == 'Style 2' && sectionproperties.showshortdescription == 'Show' && /*#__PURE__*/React.createElement("div", {
3079
+ "class": "col-lg-12 col-md-12 p-md-0"
3080
+ }, /*#__PURE__*/React.createElement(Accordion, {
3081
+ allowMultipleExpanded: true,
3082
+ allowZeroExpanded: true
3083
+ }, /*#__PURE__*/React.createElement(AccordionItem, null, /*#__PURE__*/React.createElement(AccordionItemHeading, null, /*#__PURE__*/React.createElement(AccordionItemButton, null, /*#__PURE__*/React.createElement("div", {
3084
+ "class": "row m-0 w-100"
3085
+ }, /*#__PURE__*/React.createElement("div", {
3086
+ className: "col-lg-10 col-md-10 col-sm-10 p-0 d-flex align-items-center justify-content-start"
3087
+ }, /*#__PURE__*/React.createElement("p", {
3088
+ "class": "m-0 p-0",
3089
+ style: {
3090
+ textAlign: langdetect == 'en' ? 'left' : 'right',
3091
+ fontWeight: sectionproperties.prodCatFontWeight,
3092
+ color: sectionproperties.prodCatColor,
3093
+ fontSize: sectionproperties.prodCatFontSize + 'px'
3094
+ }
3095
+ }, langdetect == 'en' ? sectionproperties.shortdescriptiontitle_en : sectionproperties.shortdescriptiontitle_ar)), /*#__PURE__*/React.createElement("div", {
3096
+ className: "col-lg-2 col-md-2 col-sm-2 p-0"
3097
+ }, /*#__PURE__*/React.createElement(AccordionItemState, null, function (state) {
3098
+ if (state.expanded == true) {
3099
+ return /*#__PURE__*/React.createElement("i", {
3100
+ className: ' h-100 d-flex align-items-center justify-content-end '
3101
+ }, /*#__PURE__*/React.createElement(FaMinus, {
3102
+ color: sectionproperties.prodCatColor
3103
+ }));
3104
+ } else {
3105
+ return /*#__PURE__*/React.createElement("i", {
3106
+ className: ' h-100 d-flex align-items-center justify-content-end '
3107
+ }, /*#__PURE__*/React.createElement(FaPlus, {
3108
+ color: sectionproperties.prodCatColor
3109
+ }));
3110
+ }
3111
+ }))))), /*#__PURE__*/React.createElement(AccordionItemPanel, {
3112
+ className: "p-0"
3113
+ }, /*#__PURE__*/React.createElement("div", {
3114
+ "class": "col-lg-12 p-0 mt-3"
3115
+ }, /*#__PURE__*/React.createElement("p", {
3116
+ className: 'm-0 p-0 wordbreak',
3117
+ style: {
3118
+ textAlign: langdetect == 'en' ? 'left' : 'right'
3119
+ },
3120
+ dangerouslySetInnerHTML: {
3121
+ __html: langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer36 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer36 === void 0 || (_fetchProductInfoQuer36 = _fetchProductInfoQuer36.data) === null || _fetchProductInfoQuer36 === void 0 || (_fetchProductInfoQuer36 = _fetchProductInfoQuer36.productinfo) === null || _fetchProductInfoQuer36 === void 0 ? void 0 : _fetchProductInfoQuer36.short_description_en : fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer37 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer37 === void 0 || (_fetchProductInfoQuer37 = _fetchProductInfoQuer37.data) === null || _fetchProductInfoQuer37 === void 0 || (_fetchProductInfoQuer37 = _fetchProductInfoQuer37.productinfo) === null || _fetchProductInfoQuer37 === void 0 ? void 0 : _fetchProductInfoQuer37.short_description_ar
3122
+ }
3123
+ })))))), sectionproperties.descriptionstyle == 'Style 2' && /*#__PURE__*/React.createElement("div", {
3124
+ "class": "col-lg-12 col-md-12 my-3 p-md-0"
3125
+ }, /*#__PURE__*/React.createElement("hr", {
3126
+ "class": "m-0"
3127
+ })), sectionproperties.descriptionstyle == 'Style 2' && sectionproperties.showshortdescription == 'Show' && /*#__PURE__*/React.createElement("div", {
3128
+ "class": "col-lg-12 col-md-12 p-md-0"
3129
+ }, /*#__PURE__*/React.createElement(Accordion, {
3130
+ allowMultipleExpanded: true,
3131
+ allowZeroExpanded: true
3132
+ }, /*#__PURE__*/React.createElement(AccordionItem, null, /*#__PURE__*/React.createElement(AccordionItemHeading, null, /*#__PURE__*/React.createElement(AccordionItemButton, null, /*#__PURE__*/React.createElement("div", {
3133
+ "class": "row m-0 w-100"
3134
+ }, /*#__PURE__*/React.createElement("div", {
3135
+ className: "col-lg-10 col-md-10 col-sm-10 p-0 d-flex align-items-center justify-content-start"
3136
+ }, /*#__PURE__*/React.createElement("p", {
3137
+ "class": "m-0 p-0 ",
3138
+ style: {
3139
+ textAlign: langdetect == 'en' ? 'left' : 'right',
3140
+ fontWeight: sectionproperties.prodCatFontWeight,
3141
+ color: sectionproperties.prodCatColor,
3142
+ fontSize: sectionproperties.prodCatFontSize + 'px'
3143
+ }
3144
+ }, langdetect == 'en' ? sectionproperties.policiestitleen : sectionproperties.policiestitlear)), /*#__PURE__*/React.createElement("div", {
3145
+ className: "col-lg-2 col-md-2 col-sm-2 p-0"
3146
+ }, /*#__PURE__*/React.createElement(AccordionItemState, null, function (state) {
3147
+ if (state.expanded == true) {
3148
+ return /*#__PURE__*/React.createElement("i", {
3149
+ className: ' h-100 d-flex align-items-center justify-content-end '
3150
+ }, /*#__PURE__*/React.createElement(FaMinus, {
3151
+ color: sectionproperties.prodCatColor
3152
+ }));
3153
+ } else {
3154
+ return /*#__PURE__*/React.createElement("i", {
3155
+ className: ' h-100 d-flex align-items-center justify-content-end '
3156
+ }, /*#__PURE__*/React.createElement(FaPlus, {
3157
+ color: sectionproperties.prodCatColor
3158
+ }));
3159
+ }
3160
+ }))))), /*#__PURE__*/React.createElement(AccordionItemPanel, {
3161
+ className: "p-0"
3162
+ }, /*#__PURE__*/React.createElement("div", {
3163
+ "class": "col-lg-12 p-0 mb-3 d-flex flex-row text-start align-items-center mt-3"
3164
+ }, /*#__PURE__*/React.createElement("i", {
3165
+ "class": "h-100 allcentered mx-2"
3166
+ }, /*#__PURE__*/React.createElement(FiBox, {
3167
+ size: 15,
3168
+ style: {
3169
+ color: sectionproperties.prodCatColor
3170
+ }
3171
+ })), /*#__PURE__*/React.createElement("p", {
3172
+ "class": "m-0 p-0 text-uppercase",
3173
+ style: {
3174
+ textAlign: langdetect == 'en' ? 'left' : 'right',
3175
+ fontWeight: sectionproperties.prodCatFontWeight,
3176
+ color: sectionproperties.prodCatColor,
3177
+ fontSize: '14px'
3178
+ }
3179
+ }, langdetect == 'en' ? (_returnpolicyobj = returnpolicyobj('Shipping Policy')) === null || _returnpolicyobj === void 0 ? void 0 : _returnpolicyobj.policypagename_en : (_returnpolicyobj2 = returnpolicyobj('Shipping Policy')) === null || _returnpolicyobj2 === void 0 ? void 0 : _returnpolicyobj2.policypagename_ar)), /*#__PURE__*/React.createElement("div", {
3180
+ "class": "col-lg-12 p-0 mb-4 px-4"
3181
+ }, /*#__PURE__*/React.createElement("p", {
3182
+ className: ' m-0 p-0 wordbreak ',
3183
+ style: {
3184
+ textAlign: langdetect == 'en' ? 'left' : 'right',
3185
+ fontWeight: sectionproperties.prodCatFontWeight,
3186
+ color: sectionproperties.prodCatColor,
3187
+ fontSize: '15px'
3188
+ },
3189
+ dangerouslySetInnerHTML: {
3190
+ __html: langdetect == 'en' ? (_returnpolicyobj3 = returnpolicyobj('Shipping Policy')) === null || _returnpolicyobj3 === void 0 ? void 0 : _returnpolicyobj3.policysummary_en : (_returnpolicyobj4 = returnpolicyobj('Shipping Policy')) === null || _returnpolicyobj4 === void 0 ? void 0 : _returnpolicyobj4.policysummary_ar
3191
+ }
3192
+ })), /*#__PURE__*/React.createElement("div", {
3193
+ "class": "col-lg-12 p-0 mb-4 px-4"
3194
+ }, /*#__PURE__*/React.createElement("p", {
3195
+ className: ' m-0 p-0 wordbreak cursor-pointer ',
3196
+ style: {
3197
+ textAlign: langdetect == 'en' ? 'left' : 'right',
3198
+ textDecoration: 'underline',
3199
+ color: sectionproperties.prodCatColor
3200
+ },
3201
+ onClick: function onClick() {
3202
+ routingcountext(StaticPagesLinksContext.ShippingPolicy);
3203
+ }
3204
+ }, "SEE MORE")), /*#__PURE__*/React.createElement("div", {
3205
+ "class": "col-lg-12 p-0 mb-3 d-flex flex-row text-start align-items-center"
3206
+ }, /*#__PURE__*/React.createElement("i", {
3207
+ "class": "h-100 allcentered mx-2"
3208
+ }, /*#__PURE__*/React.createElement(RiArrowGoBackLine, {
3209
+ size: 15,
3210
+ style: {
3211
+ color: sectionproperties.prodCatColor
3212
+ }
3213
+ })), /*#__PURE__*/React.createElement("p", {
3214
+ "class": "m-0 p-0 text-uppercase",
3215
+ style: {
3216
+ textAlign: langdetect == 'en' ? 'left' : 'right',
3217
+ fontWeight: sectionproperties.prodCatFontWeight,
3218
+ color: sectionproperties.prodCatColor,
3219
+ fontSize: '14px'
3220
+ }
3221
+ }, langdetect == 'en' ? (_returnpolicyobj5 = returnpolicyobj('Refund Policy')) === null || _returnpolicyobj5 === void 0 ? void 0 : _returnpolicyobj5.policypagename_en : (_returnpolicyobj6 = returnpolicyobj('Refund Policy')) === null || _returnpolicyobj6 === void 0 ? void 0 : _returnpolicyobj6.policypagename_ar)), /*#__PURE__*/React.createElement("div", {
3222
+ "class": "col-lg-12 p-0 mb-4 px-4"
3223
+ }, /*#__PURE__*/React.createElement("p", {
3224
+ className: ' m-0 p-0 wordbreak ',
3225
+ style: {
3226
+ textAlign: langdetect == 'en' ? 'left' : 'right',
3227
+ fontWeight: sectionproperties.prodCatFontWeight,
3228
+ color: sectionproperties.prodCatColor,
3229
+ fontSize: '15px'
3230
+ },
3231
+ dangerouslySetInnerHTML: {
3232
+ __html: langdetect == 'en' ? (_returnpolicyobj7 = returnpolicyobj('Refund Policy')) === null || _returnpolicyobj7 === void 0 ? void 0 : _returnpolicyobj7.policysummary_en : (_returnpolicyobj8 = returnpolicyobj('Refund Policy')) === null || _returnpolicyobj8 === void 0 ? void 0 : _returnpolicyobj8.policysummary_ar
3233
+ }
3234
+ })), /*#__PURE__*/React.createElement("div", {
3235
+ "class": "col-lg-12 p-0 mb-4 px-4"
3236
+ }, /*#__PURE__*/React.createElement("p", {
3237
+ className: ' m-0 p-0 wordbreak cursor-pointer ',
3238
+ style: {
3239
+ textAlign: langdetect == 'en' ? 'left' : 'right',
3240
+ textDecoration: 'underline',
3241
+ color: sectionproperties.prodCatColor
3242
+ },
3243
+ onClick: function onClick() {
3244
+ routingcountext(StaticPagesLinksContext.RefundPolicy);
3245
+ }
3246
+ }, "SEE MORE")))))), sectionproperties.productInformationType == 'Product/Service Information' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer38 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer38 === void 0 || (_fetchProductInfoQuer38 = _fetchProductInfoQuer38.data) === null || _fetchProductInfoQuer38 === void 0 || (_fetchProductInfoQuer38 = _fetchProductInfoQuer38.productinfo) === null || _fetchProductInfoQuer38 === void 0 ? void 0 : _fetchProductInfoQuer38.isproducttobesold) == 1 && sectionproperties.showtotalsection == 'Show' && /*#__PURE__*/React.createElement("div", {
3023
3247
  className: "col-lg-12 p-0 mb-3"
3024
3248
  }, /*#__PURE__*/React.createElement("div", {
3025
3249
  className: "row m-0 w-100 d-flex flex-row"
@@ -3042,7 +3266,7 @@ var Product_itemtype = function Product_itemtype(props) {
3042
3266
  }
3043
3267
  }, /*#__PURE__*/React.createElement("span", {
3044
3268
  className: langdetect == 'en' ? ' d-flex align-items-center justify-content-end wordbreak text-right ' : ' d-flex align-items-center justify-content-end wordbreak text-left '
3045
- }, langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', ' ', variantindexcompleted != undefined && variantindexcompleted.length == 0 && fetchProductInfoQueryContext.data.data.productinfo.hassale == 0 && parseFloat(getprice_discountpriceprops('defaultprice', 1, variantindexcompleted)).toFixed(2), variantindexcompleted != undefined && variantindexcompleted.length == 0 && fetchProductInfoQueryContext.data.data.productinfo.hassale == 1 && parseFloat(getprice_discountpriceprops('defaultsaleprice', 1, variantindexcompleted)).toFixed(2), variantindexcompleted != undefined && variantindexcompleted.length != 0 && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer37 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer37 === void 0 || (_fetchProductInfoQuer37 = _fetchProductInfoQuer37.data) === null || _fetchProductInfoQuer37 === void 0 || (_fetchProductInfoQuer37 = _fetchProductInfoQuer37.productinfo) === null || _fetchProductInfoQuer37 === void 0 || (_fetchProductInfoQuer37 = _fetchProductInfoQuer37.variants[variantindexcompleted]) === null || _fetchProductInfoQuer37 === void 0 ? void 0 : _fetchProductInfoQuer37.hassale) == 1 && parseFloat(getprice_discountpriceprops('defaultsaleprice', 1, variantindexcompleted)).toFixed(2), variantindexcompleted != undefined && variantindexcompleted.length != 0 && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer38 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer38 === void 0 || (_fetchProductInfoQuer38 = _fetchProductInfoQuer38.data) === null || _fetchProductInfoQuer38 === void 0 || (_fetchProductInfoQuer38 = _fetchProductInfoQuer38.productinfo) === null || _fetchProductInfoQuer38 === void 0 || (_fetchProductInfoQuer38 = _fetchProductInfoQuer38.variants[variantindexcompleted]) === null || _fetchProductInfoQuer38 === void 0 ? void 0 : _fetchProductInfoQuer38.hassale) == 0 && parseFloat(getprice_discountpriceprops('defaultprice', 1, variantindexcompleted)).toFixed(2), langdetect == 'en' ? '' : authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar)), /*#__PURE__*/React.createElement("p", {
3269
+ }, langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', ' ', variantindexcompleted != undefined && variantindexcompleted.length == 0 && fetchProductInfoQueryContext.data.data.productinfo.hassale == 0 && parseFloat(getprice_discountpriceprops('defaultprice', 1, variantindexcompleted)).toFixed(2), variantindexcompleted != undefined && variantindexcompleted.length == 0 && fetchProductInfoQueryContext.data.data.productinfo.hassale == 1 && parseFloat(getprice_discountpriceprops('defaultsaleprice', 1, variantindexcompleted)).toFixed(2), variantindexcompleted != undefined && variantindexcompleted.length != 0 && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer39 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer39 === void 0 || (_fetchProductInfoQuer39 = _fetchProductInfoQuer39.data) === null || _fetchProductInfoQuer39 === void 0 || (_fetchProductInfoQuer39 = _fetchProductInfoQuer39.productinfo) === null || _fetchProductInfoQuer39 === void 0 || (_fetchProductInfoQuer39 = _fetchProductInfoQuer39.variants[variantindexcompleted]) === null || _fetchProductInfoQuer39 === void 0 ? void 0 : _fetchProductInfoQuer39.hassale) == 1 && parseFloat(getprice_discountpriceprops('defaultsaleprice', 1, variantindexcompleted)).toFixed(2), variantindexcompleted != undefined && variantindexcompleted.length != 0 && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer40 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer40 === void 0 || (_fetchProductInfoQuer40 = _fetchProductInfoQuer40.data) === null || _fetchProductInfoQuer40 === void 0 || (_fetchProductInfoQuer40 = _fetchProductInfoQuer40.productinfo) === null || _fetchProductInfoQuer40 === void 0 || (_fetchProductInfoQuer40 = _fetchProductInfoQuer40.variants[variantindexcompleted]) === null || _fetchProductInfoQuer40 === void 0 ? void 0 : _fetchProductInfoQuer40.hassale) == 0 && parseFloat(getprice_discountpriceprops('defaultprice', 1, variantindexcompleted)).toFixed(2), langdetect == 'en' ? '' : authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar)), /*#__PURE__*/React.createElement("p", {
3046
3270
  className: 'm-0 p-0 linethrough wordbreak',
3047
3271
  style: {
3048
3272
  color: sectionproperties.prodsalePriceColor,
@@ -3056,14 +3280,14 @@ var Product_itemtype = function Product_itemtype(props) {
3056
3280
  style: {
3057
3281
  textDecoration: 'none'
3058
3282
  }
3059
- }, "-"), langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', ' ', parseFloat(getprice_discountpriceprops('defaultprice', 1, variantindexcompleted)), ' ', langdetect == 'en' ? '' : authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar), variantindexcompleted != undefined && variantindexcompleted.length != 0 && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer39 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer39 === void 0 || (_fetchProductInfoQuer39 = _fetchProductInfoQuer39.data) === null || _fetchProductInfoQuer39 === void 0 || (_fetchProductInfoQuer39 = _fetchProductInfoQuer39.productinfo) === null || _fetchProductInfoQuer39 === void 0 || (_fetchProductInfoQuer39 = _fetchProductInfoQuer39.variants[variantindexcompleted]) === null || _fetchProductInfoQuer39 === void 0 ? void 0 : _fetchProductInfoQuer39.hassale) == 1 && /*#__PURE__*/React.createElement("span", {
3283
+ }, "-"), langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', ' ', parseFloat(getprice_discountpriceprops('defaultprice', 1, variantindexcompleted)), ' ', langdetect == 'en' ? '' : authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar), variantindexcompleted != undefined && variantindexcompleted.length != 0 && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer41 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer41 === void 0 || (_fetchProductInfoQuer41 = _fetchProductInfoQuer41.data) === null || _fetchProductInfoQuer41 === void 0 || (_fetchProductInfoQuer41 = _fetchProductInfoQuer41.productinfo) === null || _fetchProductInfoQuer41 === void 0 || (_fetchProductInfoQuer41 = _fetchProductInfoQuer41.variants[variantindexcompleted]) === null || _fetchProductInfoQuer41 === void 0 ? void 0 : _fetchProductInfoQuer41.hassale) == 1 && /*#__PURE__*/React.createElement("span", {
3060
3284
  className: langdetect == 'en' ? ' d-flex align-items-center justify-content-end wordbreak text-right wordbreak ' : ' d-flex align-items-center justify-content-end wordbreak text-left wordbreak '
3061
3285
  }, /*#__PURE__*/React.createElement("span", {
3062
3286
  className: "ml-2 mr-2",
3063
3287
  style: {
3064
3288
  textDecoration: 'none'
3065
3289
  }
3066
- }, "-"), langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', ' ', parseFloat(getprice_discountpriceprops('defaultprice', 1, variantindexcompleted)), ' ', langdetect == 'en' ? '' : authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar))))), sectionproperties.availabilitybtnposition == 'Bottom' && sectionproperties.show_availability == 'Show' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer40 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer40 === void 0 || (_fetchProductInfoQuer40 = _fetchProductInfoQuer40.data) === null || _fetchProductInfoQuer40 === void 0 || (_fetchProductInfoQuer40 = _fetchProductInfoQuer40.productinfo) === null || _fetchProductInfoQuer40 === void 0 ? void 0 : _fetchProductInfoQuer40.isproducttobesold) == 1 && /*#__PURE__*/React.createElement("div", {
3290
+ }, "-"), langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', ' ', parseFloat(getprice_discountpriceprops('defaultprice', 1, variantindexcompleted)), ' ', langdetect == 'en' ? '' : authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar))))), sectionproperties.availabilitybtnposition == 'Bottom' && sectionproperties.show_availability == 'Show' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer42 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer42 === void 0 || (_fetchProductInfoQuer42 = _fetchProductInfoQuer42.data) === null || _fetchProductInfoQuer42 === void 0 || (_fetchProductInfoQuer42 = _fetchProductInfoQuer42.productinfo) === null || _fetchProductInfoQuer42 === void 0 ? void 0 : _fetchProductInfoQuer42.isproducttobesold) == 1 && /*#__PURE__*/React.createElement("div", {
3067
3291
  className: "col-lg-12 p-0 mb-3 mt-2"
3068
3292
  }, /*#__PURE__*/React.createElement("div", {
3069
3293
  style: {
@@ -45075,8 +45299,9 @@ var Newsletterfooter = function Newsletterfooter(props) {
45075
45299
  }, /*#__PURE__*/React.createElement("div", {
45076
45300
  "class": "row m-0 w-100 d-none d-md-flex editor-accordion"
45077
45301
  }, /*#__PURE__*/React.createElement(Accordion, {
45302
+ "class": "w-100",
45078
45303
  allowMultipleExpanded: true,
45079
- "class": "w-100"
45304
+ allowZeroExpanded: true
45080
45305
  }, /*#__PURE__*/React.createElement(AccordionItem, null, /*#__PURE__*/React.createElement(AccordionItemHeading, null, /*#__PURE__*/React.createElement(AccordionItemButton, null, /*#__PURE__*/React.createElement("div", {
45081
45306
  "class": "row m-0 w-100"
45082
45307
  }, /*#__PURE__*/React.createElement("div", {
@@ -45107,6 +45332,7 @@ var Newsletterfooter = function Newsletterfooter(props) {
45107
45332
  "class": "row m-0 w-100 d-none d-md-flex editor-accordion"
45108
45333
  }, /*#__PURE__*/React.createElement(Accordion, {
45109
45334
  allowMultipleExpanded: true,
45335
+ allowZeroExpanded: true,
45110
45336
  "class": "w-100"
45111
45337
  }, /*#__PURE__*/React.createElement(AccordionItem, null, /*#__PURE__*/React.createElement(AccordionItemHeading, null, /*#__PURE__*/React.createElement(AccordionItemButton, null, /*#__PURE__*/React.createElement("div", {
45112
45338
  "class": "row m-0 w-100"
@@ -45629,7 +45855,9 @@ var Newsletterincenter = function Newsletterincenter(props) {
45629
45855
  }, /*#__PURE__*/React.createElement("hr", null)), /*#__PURE__*/React.createElement("div", {
45630
45856
  "class": "col-lg-12 col-md-12 d-none d-md-flex"
45631
45857
  }, /*#__PURE__*/React.createElement(Accordion, {
45632
- "class": "w-100"
45858
+ "class": "w-100",
45859
+ allowMultipleExpanded: true,
45860
+ allowZeroExpanded: true
45633
45861
  }, /*#__PURE__*/React.createElement(AccordionItem, null, /*#__PURE__*/React.createElement(AccordionItemHeading, null, /*#__PURE__*/React.createElement(AccordionItemButton, null, /*#__PURE__*/React.createElement("div", {
45634
45862
  "class": "row m-0 w-100"
45635
45863
  }, /*#__PURE__*/React.createElement("div", {
@@ -45657,7 +45885,9 @@ var Newsletterincenter = function Newsletterincenter(props) {
45657
45885
  }, /*#__PURE__*/React.createElement("hr", null)), /*#__PURE__*/React.createElement("div", {
45658
45886
  "class": "col-lg-12 col-md-12 d-none d-md-flex"
45659
45887
  }, /*#__PURE__*/React.createElement(Accordion, {
45660
- "class": "w-100"
45888
+ "class": "w-100",
45889
+ allowMultipleExpanded: true,
45890
+ allowZeroExpanded: true
45661
45891
  }, /*#__PURE__*/React.createElement(AccordionItem, null, /*#__PURE__*/React.createElement(AccordionItemHeading, null, /*#__PURE__*/React.createElement(AccordionItemButton, null, /*#__PURE__*/React.createElement("div", {
45662
45892
  "class": "row m-0 w-100"
45663
45893
  }, /*#__PURE__*/React.createElement("div", {
@@ -71051,6 +71281,82 @@ var Simpleproductcard = function Simpleproductcard(props) {
71051
71281
  fontWeight: sectionproperties.prodCatFontWeight
71052
71282
  })
71053
71283
  };
71284
+ var _useState5 = useState(''),
71285
+ _useState6 = _slicedToArray(_useState5, 2),
71286
+ secondimage = _useState6[0],
71287
+ setsecondimage = _useState6[1];
71288
+ useEffect(function () {
71289
+ var _props$cardinfoitempr;
71290
+ setitem(props.cardinfoitemprops);
71291
+ if ((props === null || props === void 0 || (_props$cardinfoitempr = props.cardinfoitemprops) === null || _props$cardinfoitempr === void 0 || (_props$cardinfoitempr = _props$cardinfoitempr.productimages) === null || _props$cardinfoitempr === void 0 ? void 0 : _props$cardinfoitempr.length) == 1) {
71292
+ var _props$cardinfoitempr2;
71293
+ setsecondimage(props === null || props === void 0 || (_props$cardinfoitempr2 = props.cardinfoitemprops) === null || _props$cardinfoitempr2 === void 0 ? void 0 : _props$cardinfoitempr2.image);
71294
+ } else {
71295
+ var _props$cardinfoitempr3, _props$cardinfoitempr4;
71296
+ if ((props === null || props === void 0 ? void 0 : props.cardinfoitemprops) != undefined && (props === null || props === void 0 || (_props$cardinfoitempr3 = props.cardinfoitemprops) === null || _props$cardinfoitempr3 === void 0 ? void 0 : _props$cardinfoitempr3.productimages) != undefined && Array.isArray(props === null || props === void 0 || (_props$cardinfoitempr4 = props.cardinfoitemprops) === null || _props$cardinfoitempr4 === void 0 ? void 0 : _props$cardinfoitempr4.productimages)) {
71297
+ var _props$cardinfoitempr5, _props$cardinfoitempr6, _props$cardinfoitempr7;
71298
+ if ((props === null || props === void 0 || (_props$cardinfoitempr5 = props.cardinfoitemprops) === null || _props$cardinfoitempr5 === void 0 ? void 0 : _props$cardinfoitempr5.productimages[0]) != undefined && (props === null || props === void 0 || (_props$cardinfoitempr6 = props.cardinfoitemprops) === null || _props$cardinfoitempr6 === void 0 || (_props$cardinfoitempr6 = _props$cardinfoitempr6.productimages[0]) === null || _props$cardinfoitempr6 === void 0 ? void 0 : _props$cardinfoitempr6.path) == (props === null || props === void 0 || (_props$cardinfoitempr7 = props.cardinfoitemprops) === null || _props$cardinfoitempr7 === void 0 ? void 0 : _props$cardinfoitempr7.image)) {
71299
+ var _props$cardinfoitempr8;
71300
+ if ((props === null || props === void 0 || (_props$cardinfoitempr8 = props.cardinfoitemprops) === null || _props$cardinfoitempr8 === void 0 || (_props$cardinfoitempr8 = _props$cardinfoitempr8.productimages[1]) === null || _props$cardinfoitempr8 === void 0 ? void 0 : _props$cardinfoitempr8.length) != 0) {
71301
+ var _props$cardinfoitempr9;
71302
+ setsecondimage(props === null || props === void 0 || (_props$cardinfoitempr9 = props.cardinfoitemprops) === null || _props$cardinfoitempr9 === void 0 || (_props$cardinfoitempr9 = _props$cardinfoitempr9.productimages[1]) === null || _props$cardinfoitempr9 === void 0 ? void 0 : _props$cardinfoitempr9.path);
71303
+ } else {
71304
+ var _props$cardinfoitempr10;
71305
+ setsecondimage(props === null || props === void 0 || (_props$cardinfoitempr10 = props.cardinfoitemprops) === null || _props$cardinfoitempr10 === void 0 ? void 0 : _props$cardinfoitempr10.image);
71306
+ }
71307
+ } else {
71308
+ var _props$cardinfoitempr11;
71309
+ setsecondimage(props === null || props === void 0 || (_props$cardinfoitempr11 = props.cardinfoitemprops) === null || _props$cardinfoitempr11 === void 0 || (_props$cardinfoitempr11 = _props$cardinfoitempr11.productimages[0]) === null || _props$cardinfoitempr11 === void 0 ? void 0 : _props$cardinfoitempr11.path);
71310
+ }
71311
+ }
71312
+ }
71313
+ }, [props.cardinfoitemprops]);
71314
+ var Image = function Image(type) {
71315
+ var transition = false;
71316
+ if (sectionproperties.hideshowcardtransition == 'Show' && type != 'responsive') {
71317
+ transition = true;
71318
+ }
71319
+ return /*#__PURE__*/React.createElement("div", {
71320
+ "class": "w-100 cursor-pointer",
71321
+ style: {
71322
+ position: 'relative'
71323
+ }
71324
+ }, /*#__PURE__*/React.createElement(Imagekitimagecomp, {
71325
+ "class": transition ? cardstyles$7.intialimage : '',
71326
+ urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
71327
+ publicKey: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimagepublickey,
71328
+ path: '/tr:w-' + sectionproperties.imagetr_w + ',h-' + sectionproperties.imagetr_h + '/' + item.image,
71329
+ loading: "lazy",
71330
+ style: {
71331
+ width: sectionproperties.imageInnerWidth_Height + '%',
71332
+ height: sectionproperties.imageInnerWidth_Height + '%',
71333
+ objectFit: sectionproperties.bgcovercontain == 'Cover' ? 'cover' : 'contain'
71334
+ },
71335
+ onClick: function onClick(e) {
71336
+ e.stopPropagation();
71337
+ cardonclickfunctionContext(sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.onClickRoute, item.productid, props.fetchingtypeprops, item.collectionid);
71338
+ }
71339
+ }), transition && /*#__PURE__*/React.createElement(Imagekitimagecomp, {
71340
+ "class": cardstyles$7.secondaryimage,
71341
+ urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
71342
+ publicKey: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimagepublickey,
71343
+ path: '/tr:w-' + sectionproperties.imagetr_w + ',h-' + sectionproperties.imagetr_h + '/' + secondimage,
71344
+ loading: "lazy",
71345
+ style: {
71346
+ width: sectionproperties.imageInnerWidth_Height + '%',
71347
+ height: sectionproperties.imageInnerWidth_Height + '%',
71348
+ objectFit: sectionproperties.bgcovercontain == 'Cover' ? 'cover' : 'contain'
71349
+ },
71350
+ onClick: function onClick(e) {
71351
+ e.stopPropagation();
71352
+ cardonclickfunctionContext(sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.onClickRoute, item.productid, props.fetchingtypeprops, item.collectionid);
71353
+
71354
+ // setShowProductInfoModalContext(true);
71355
+ // setProductIdProdutInfoModalContext(item.productid);
71356
+ }
71357
+ }));
71358
+ };
71359
+
71054
71360
  return /*#__PURE__*/React.createElement("div", {
71055
71361
  "class": props.sectiontypeprops2 == 'vertical' ? "".concat(card_cssstyles.productcard) + ' w-100 px-md-1 ' : " ".concat(card_cssstyles.productcard),
71056
71362
  style: {
@@ -71166,31 +71472,16 @@ var Simpleproductcard = function Simpleproductcard(props) {
71166
71472
  direction: 'ltr'
71167
71473
  }
71168
71474
  }, langdetect == 'en' ? 'Save' : 'وفر', " ", langdetect == 'en' ? item.currencyname : '', ' ', parseFloat(Math.round(parseInt(item.defaultprice) - parseInt(item.defaultsaleprice))).toFixed(0), " ", langdetect == 'en' ? '' : item.currencyname)), /*#__PURE__*/React.createElement("div", {
71169
- onClick: function onClick() {
71170
- if ((sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.onClickRoute) == 'Product Information') {
71171
- // setShowProductInfoModalContext(true);
71172
- // setProductIdProdutInfoModalContext(item.productid);
71173
- cardonclickfunctionContext(sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.onClickRoute, item.productid, props.fetchingtypeprops, item.collectionid);
71174
- } else {
71175
- cardonclickfunctionContext(sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.onClickRoute, item.productid, props.fetchingtypeprops, item.collectionid);
71176
- }
71177
- },
71178
- "class": "".concat(card_cssstyles.productcardimagecont) + ' w-100 p-0 d-flex align-items-center justify-content-center ',
71475
+ "class": sectionproperties.hideshowcardtransition == 'Show' ? " ".concat(card_cssstyles.productcardimagecont, " ").concat(cardstyles$7.imagecontainer) + ' d-flex d-md-none ' : " ".concat(card_cssstyles.productcardimagecont, " ") + ' d-flex d-md-none ',
71179
71476
  style: {
71180
- zIndex: 1,
71181
71477
  marginBottom: sectionproperties.image_mb + 'px'
71182
71478
  }
71183
- }, item.image != '' && /*#__PURE__*/React.createElement(Imagekitimagecomp, {
71184
- urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
71185
- publicKey: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimagepublickey,
71186
- path: '/tr:w-' + sectionproperties.imagetr_w + ',h-' + sectionproperties.imagetr_h + '/' + item.image,
71187
- loading: "lazy",
71479
+ }, Image('normal')), /*#__PURE__*/React.createElement("div", {
71480
+ "class": card_cssstyles.productcardimagecont + ' d-none d-md-flex ',
71188
71481
  style: {
71189
- width: sectionproperties.imageInnerWidth_Height + '%',
71190
- height: sectionproperties.imageInnerWidth_Height + '%',
71191
- objectFit: sectionproperties.bgcovercontain == 'Cover' ? 'cover' : 'contain'
71482
+ marginBottom: sectionproperties.image_mb + 'px'
71192
71483
  }
71193
- })), item.currentquantity < 1 && sectionproperties.showoutofstock == 'Show' && item.quantavailtype == 'limit' && item.hasvariants == 0 && /*#__PURE__*/React.createElement("div", {
71484
+ }, Image('responsive')), item.currentquantity < 1 && sectionproperties.showoutofstock == 'Show' && item.quantavailtype == 'limit' && item.hasvariants == 0 && /*#__PURE__*/React.createElement("div", {
71194
71485
  "class": "".concat(card_cssstyles.outstockbadge) + ' allcentered '
71195
71486
  }, /*#__PURE__*/React.createElement("p", {
71196
71487
  "class": "m-0 p-0"