tabexseriescomponents 0.0.347 → 0.0.349

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
@@ -31,9 +31,6 @@ var FiShoppingBag = require('@react-icons/all-files/fi/FiShoppingBag');
31
31
  var FiShoppingCart = require('@react-icons/all-files/fi/FiShoppingCart');
32
32
  var AiFillStar$1 = require('@react-icons/all-files/ai/AiFillStar');
33
33
  var AiOutlineStar = require('@react-icons/all-files/ai/AiOutlineStar');
34
- var AiOutlineTwitter = require('@react-icons/all-files/ai/AiOutlineTwitter');
35
- var FaWhatsapp = require('@react-icons/all-files/fa/FaWhatsapp');
36
- var FaLinkedinIn = require('@react-icons/all-files/fa/FaLinkedinIn');
37
34
  var reactShare = require('react-share');
38
35
  var FiMinus = require('@react-icons/all-files/fi/FiMinus');
39
36
  var FiPlus = require('@react-icons/all-files/fi/FiPlus');
@@ -93,6 +90,7 @@ var HiOutlineArrowLeft = require('@react-icons/all-files/hi/HiOutlineArrowLeft')
93
90
  var ReactPaginate = require('react-paginate');
94
91
  var FaFacebook = require('@react-icons/all-files/fa/FaFacebook');
95
92
  var AiFillInstagram = require('@react-icons/all-files/ai/AiFillInstagram');
93
+ var FaWhatsapp = require('@react-icons/all-files/fa/FaWhatsapp');
96
94
  var BiGlobe = require('@react-icons/all-files/bi/BiGlobe');
97
95
  var MdKeyboardArrowDown = require('@react-icons/all-files/md/MdKeyboardArrowDown');
98
96
  var FaMoneyBillWave = require('@react-icons/all-files/fa/FaMoneyBillWave');
@@ -2179,12 +2177,15 @@ var DescriptionContent = function DescriptionContent(props) {
2179
2177
  function ownKeys$2n(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; }
2180
2178
  function _objectSpread$2n(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$2n(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$2n(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
2181
2179
  var Product_itemtype = function Product_itemtype(props) {
2182
- var _fetchProductInfoQuer14, _fetchProductInfoQuer15, _fetchProductInfoQuer16, _fetchProductInfoQuer17, _fetchProductInfoQuer18, _fetchProductInfoQuer19, _fetchProductInfoQuer20, _fetchProductInfoQuer21, _fetchProductInfoQuer22, _fetchProductInfoQuer23, _fetchProductInfoQuer24, _fetchProductInfoQuer25, _fetchProductInfoQuer26, _fetchProductInfoQuer27, _fetchProductInfoQuer28, _ProductInfoObj$data, _fetchProductInfoQuer29, _fetchProductInfoQuer30, _fetchProductInfoQuer31, _fetchProductInfoQuer32, _fetchProductInfoQuer33, _fetchProductInfoQuer34, _fetchProductInfoQuer35;
2180
+ var _fetchProductInfoQuer2, _fetchProductInfoQuer3, _fetchProductInfoQuer4, _fetchProductInfoQuer5, _fetchProductInfoQuer6, _fetchProductInfoQuer7, _fetchProductInfoQuer8, _fetchProductInfoQuer9, _fetchProductInfoQuer10, _fetchProductInfoQuer11, _fetchProductInfoQuer12, _fetchProductInfoQuer13, _fetchProductInfoQuer14, _fetchProductInfoQuer15, _fetchProductInfoQuer16, _fetchProductInfoQuer17, _ProductInfoObj$data, _fetchProductInfoQuer18, _fetchProductInfoQuer19, _fetchProductInfoQuer20, _fetchProductInfoQuer21, _fetchProductInfoQuer22, _fetchProductInfoQuer24, _fetchProductInfoQuer25, _fetchProductInfoQuer26, _fetchProductInfoQuer28, _fetchProductInfoQuer29, _fetchProductInfoQuer30, _fetchProductInfoQuer31, _fetchProductInfoQuer32, _fetchProductInfoQuer33, _fetchProductInfoQuer34;
2183
2181
  var lang = props.actions.lang;
2184
2182
  var langdetect = props.actions.langdetect;
2185
2183
  var srcfromprops = props.actions.srcfromprops;
2184
+ props.actions.returnpolicyobj;
2186
2185
  var productinfo_cssstyles = props.actions.productinfo_cssstyles;
2187
2186
  var addtocartfunc = props.actions.addtocartfunc;
2187
+ props.actions.selectproductoptionvalue;
2188
+ props.actions.clearchoosenvaluesbutkeepcurrentvalue;
2188
2189
  var productimagesarray = props.actions.productimagesarray;
2189
2190
  var fetchProductInfoQueryContext = props.actions.fetchProductInfoQueryContext;
2190
2191
  var sectionproperties = props.actions.sectionproperties;
@@ -2245,395 +2246,71 @@ var Product_itemtype = function Product_itemtype(props) {
2245
2246
  }
2246
2247
  return titlelang;
2247
2248
  }
2248
- var GalleryStyle1Section = function GalleryStyle1Section() {
2249
- return /*#__PURE__*/React__default["default"].createElement("div", {
2250
- className: sectionproperties.maximizegalleryfullscreen == 'Yes' ? ' col-lg-12 p-0 maximize ' : 'col-lg-12 p-0',
2251
- style: {
2252
- width: '100%',
2253
- height: 'auto'
2254
- }
2255
- }, productimagesarray.length == 0 && /*#__PURE__*/React__default["default"].createElement("div", {
2256
- style: {
2257
- width: '100%',
2258
- height: '30vh',
2259
- background: '#eee',
2260
- borderRadius: 10
2261
- }
2262
- }, /*#__PURE__*/React__default["default"].createElement("i", {
2263
- "class": "h-100 allcentered text-light"
2264
- }, /*#__PURE__*/React__default["default"].createElement(FiLayers.FiLayers, {
2265
- size: 26
2266
- }))), productimagesarray.length != 0 && /*#__PURE__*/React__default["default"].createElement("div", {
2267
- "class": "w-100 d-block d-md-none"
2268
- }, /*#__PURE__*/React__default["default"].createElement(ImageGallery__default["default"], {
2269
- items: productimagesarray,
2270
- thumbnailPosition: sectionproperties.thumbnailposition == 'Bottom' ? 'bottom' : 'left',
2271
- showNav: false,
2272
- showPlayButton: false,
2273
- showFullscreenButton: true,
2274
- startIndex: currentshowingimageindex
2275
- })), productimagesarray.length != 0 && /*#__PURE__*/React__default["default"].createElement("div", {
2276
- "class": "w-100 d-none d-md-block"
2277
- }, /*#__PURE__*/React__default["default"].createElement(ImageGallery__default["default"], {
2278
- items: productimagesarray,
2279
- thumbnailPosition: 'bottom',
2280
- showNav: false,
2281
- showPlayButton: false,
2282
- showFullscreenButton: true,
2283
- startIndex: currentshowingimageindex
2284
- })));
2285
- };
2286
- var ProductNameSection = function ProductNameSection() {
2287
- return /*#__PURE__*/React__default["default"].createElement("p", {
2288
- className: 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 ',
2289
- onClick: function onClick() {
2290
- if (srcfromprops == 'templatedraftrouter') {
2291
- routingcountext(StaticPagesLinksContext.productinfo, true, fetchProductInfoQueryContext.data.data.productinfo.productid);
2292
- }
2293
- },
2294
- style: {
2295
- textAlign: langdetect == 'en' ? 'left' : 'right'
2296
- }
2297
- }, langdetect == 'en' ? fetchProductInfoQueryContext.data.data.productinfo.name_en : fetchProductInfoQueryContext.data.data.productinfo.name_ar);
2298
- };
2299
- var SKUSection = function SKUSection() {
2300
- var _fetchProductInfoQuer, _fetchProductInfoQuer2;
2301
- return /*#__PURE__*/React__default["default"].createElement("div", {
2302
- "class": sectionproperties.availabilitybtnposition == 'Under SKU' && sectionproperties.show_availability == 'Show' ? 'row m-0 w-100 mt-3' : 'row m-0 w-100'
2303
- }, sectionproperties.showSKU == 'Show' && sectionproperties.productInformationType == 'Product/Service Information' && /*#__PURE__*/React__default["default"].createElement("div", {
2304
- "class": sectionproperties.availabilitybtnposition == 'Under SKU' && sectionproperties.show_availability == 'Show' ? 'col-lg-12 p-0 mb-1 d-flex justify-content-start' : sectionproperties.deliverytimeshow == 'Show' && (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.deliverydatetext) != null ? 'col-lg-12 p-0 mb-2 d-flex justify-content-start' : 'col-lg-12 p-0 mb-3 d-flex justify-content-start'
2305
- }, /*#__PURE__*/React__default["default"].createElement("p", {
2306
- "class": "m-0 p-0 d-flex justify-content-start"
2307
- }, /*#__PURE__*/React__default["default"].createElement("span", {
2308
- style: {
2309
- color: sectionproperties.skuColor,
2310
- fontWeight: sectionproperties.skuFontWeight,
2311
- fontSize: sectionproperties.skuFontSize + 'px',
2312
- textAlign: langdetect == 'en' ? 'left' : 'right'
2313
- }
2314
- }, langdetect == 'en' ? sectionproperties.skutitleEn : sectionproperties.skutitleAr, ":", ' '), /*#__PURE__*/React__default["default"].createElement("span", {
2315
- "class": "ml-1 mr-1",
2316
- style: {
2317
- color: '#7e859b',
2318
- fontWeight: sectionproperties.skuSecondaryFontWeight,
2319
- fontSize: sectionproperties.skuFontSize + 'px',
2320
- textAlign: langdetect == 'en' ? 'left' : 'right'
2321
- }
2322
- }, fetchProductInfoQueryContext.data.data.productinfo.sku))), sectionproperties.availabilitybtnposition == 'Under SKU' && sectionproperties.show_availability == 'Show' && (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.isproducttobesold) == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
2323
- "class": 'col-lg-12 p-0 mb-3 d-flex justify-content-start'
2324
- }, /*#__PURE__*/React__default["default"].createElement("p", {
2325
- "class": "m-0 p-0 d-flex justify-content-start"
2326
- }, /*#__PURE__*/React__default["default"].createElement("span", {
2327
- style: {
2328
- fontSize: sectionproperties.availability_fontsize + 'px',
2329
- color: sectionproperties.availability_textcolor,
2330
- textAlign: langdetect == 'en' ? 'left' : 'right',
2331
- fontWeight: sectionproperties.skuFontWeight
2332
- }
2333
- }, lang.availability, ":"), /*#__PURE__*/React__default["default"].createElement("span", {
2334
- "class": "ml-1 mr-1",
2335
- style: {
2336
- color: fetchProductInfoQueryContext.data.data.productinfo.quantavailtype == 'nolimit' ? sectionproperties.availability_availabletextcolor : sectionproperties.availability_limitedtextcolor,
2337
- fontSize: sectionproperties.availability_fontsize + 'px',
2338
- fontWeight: sectionproperties.skuSecondaryFontWeight,
2339
- textAlign: langdetect == 'en' ? 'left' : 'right'
2340
- }
2341
- }, fetchProductInfoQueryContext.data.data.productinfo.quantavailtype == 'nolimit' ? lang.instock : lang.limitedquantity))));
2342
- };
2343
2249
  var ShareButtonsContainer = function ShareButtonsContainer() {
2344
2250
  return /*#__PURE__*/React__default["default"].createElement("div", {
2345
2251
  "class": "row m-0 w-100"
2346
2252
  }, /*#__PURE__*/React__default["default"].createElement("div", {
2347
2253
  "class": "col-lg-12 d-flex justify-content-center flex-column align-items-center p-0"
2348
2254
  }, /*#__PURE__*/React__default["default"].createElement("p", {
2349
- "class": "m-0 p-0 w-100",
2255
+ "class": "m-0 p-0",
2350
2256
  style: {
2351
2257
  fontWeight: sectionproperties.sharebtn_FontWeight,
2352
2258
  color: sectionproperties.sharebtn_color,
2353
- fontSize: sectionproperties.sharebtn_fontSize + 'px',
2354
- textAlign: sectionproperties.sharecentered == 'Centered' ? 'center' : langdetect == 'en' ? 'left' : 'right'
2259
+ fontSize: sectionproperties.sharebtn_fontSize + 'px'
2355
2260
  }
2356
2261
  }, langdetect == 'en' ? sectionproperties.sharebtn_contentEn : sectionproperties.sharebtn_contentAr), /*#__PURE__*/React__default["default"].createElement("div", {
2357
- className: "Demo__container w-100 m-0 d-flex align-items-center mt-3",
2358
- style: {
2359
- justifyContent: srcfromprops != 'templatedraftrouter' ? 'start' : sectionproperties.sharecentered == 'Centered' ? 'center' : 'start'
2360
- }
2262
+ className: "Demo__container w-100 m-0 allcentered mt-3"
2361
2263
  }, /*#__PURE__*/React__default["default"].createElement("div", {
2362
- className: "Demo__some-network ml-2 mr-2 allcentered"
2264
+ className: "Demo__some-network ml-2 mr-2"
2363
2265
  }, /*#__PURE__*/React__default["default"].createElement(reactShare.FacebookShareButton, {
2364
2266
  url: shareUrl,
2365
2267
  quote: title,
2366
- className: "Demo__some-network__share-button allcentered"
2367
- }, /*#__PURE__*/React__default["default"].createElement("div", {
2368
- "class": productinfo_cssstyles.shareicon + ' allcentered ',
2369
- style: {}
2370
- }, /*#__PURE__*/React__default["default"].createElement("i", {
2371
- "class": "h-100 allcentered"
2372
- }, /*#__PURE__*/React__default["default"].createElement(FaFacebookF.FaFacebookF, null))))), /*#__PURE__*/React__default["default"].createElement("div", {
2373
- className: "Demo__some-network ml-2 mr-2 allcentered"
2268
+ className: "Demo__some-network__share-button"
2269
+ }, /*#__PURE__*/React__default["default"].createElement(reactShare.FacebookIcon, {
2270
+ size: 40,
2271
+ round: true
2272
+ }))), /*#__PURE__*/React__default["default"].createElement("div", {
2273
+ className: "Demo__some-network ml-2 mr-2"
2374
2274
  }, /*#__PURE__*/React__default["default"].createElement(reactShare.TwitterShareButton, {
2375
2275
  url: shareUrl,
2376
2276
  title: title,
2377
- className: "Demo__some-network__share-button allcentered"
2378
- }, /*#__PURE__*/React__default["default"].createElement("div", {
2379
- "class": productinfo_cssstyles.shareicon + ' allcentered ',
2380
- style: {}
2381
- }, /*#__PURE__*/React__default["default"].createElement("i", {
2382
- "class": "h-100 allcentered"
2383
- }, /*#__PURE__*/React__default["default"].createElement(AiOutlineTwitter.AiOutlineTwitter, {
2384
- size: 16
2385
- }))))), /*#__PURE__*/React__default["default"].createElement("div", {
2277
+ className: "Demo__some-network__share-button"
2278
+ }, /*#__PURE__*/React__default["default"].createElement(reactShare.TwitterIcon, {
2279
+ size: 40,
2280
+ round: true
2281
+ }))), /*#__PURE__*/React__default["default"].createElement("div", {
2386
2282
  className: "Demo__some-network ml-2 mr-2"
2387
2283
  }, /*#__PURE__*/React__default["default"].createElement(reactShare.WhatsappShareButton, {
2388
2284
  url: shareUrl,
2389
2285
  title: title,
2390
2286
  separator: ":: ",
2391
2287
  className: "Demo__some-network__share-button"
2392
- }, /*#__PURE__*/React__default["default"].createElement("div", {
2393
- "class": productinfo_cssstyles.shareicon + ' allcentered ',
2394
- style: {}
2395
- }, /*#__PURE__*/React__default["default"].createElement("i", {
2396
- "class": "h-100 allcentered"
2397
- }, /*#__PURE__*/React__default["default"].createElement(FaWhatsapp.FaWhatsapp, {
2398
- size: 16
2399
- }))))), sectionproperties.showsharelinkedin == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
2288
+ }, /*#__PURE__*/React__default["default"].createElement(reactShare.WhatsappIcon, {
2289
+ size: 40,
2290
+ round: true
2291
+ }))), sectionproperties.showsharelinkedin == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
2400
2292
  className: "Demo__some-network ml-2 mr-2"
2401
2293
  }, /*#__PURE__*/React__default["default"].createElement(reactShare.LinkedinShareButton, {
2402
2294
  url: shareUrl,
2403
2295
  title: title,
2404
2296
  separator: ":: ",
2405
2297
  className: "Demo__some-network__share-button"
2406
- }, /*#__PURE__*/React__default["default"].createElement("div", {
2407
- "class": productinfo_cssstyles.shareicon + ' allcentered ',
2408
- style: {}
2409
- }, /*#__PURE__*/React__default["default"].createElement("i", {
2410
- "class": "h-100 allcentered"
2411
- }, /*#__PURE__*/React__default["default"].createElement(FaLinkedinIn.FaLinkedinIn, null))))))));
2412
- };
2413
- var Quantitybtn_Cartbtn_Favbottombtn = function Quantitybtn_Cartbtn_Favbottombtn() {
2414
- var _fetchProductInfoQuer3, _fetchProductInfoQuer4, _fetchProductInfoQuer5, _fetchProductInfoQuer7, _fetchProductInfoQuer8, _fetchProductInfoQuer9, _fetchProductInfoQuer11, _fetchProductInfoQuer12;
2415
- return /*#__PURE__*/React__default["default"].createElement("div", {
2416
- "class": "col-lg-12 p-0"
2417
- }, /*#__PURE__*/React__default["default"].createElement("div", {
2418
- "class": "row m-0 w-100 d-flex align-items-center",
2419
- style: {
2420
- justifyContent: sectionproperties.cartbtncentered == 'Centered' ? 'center' : 'start'
2421
- }
2422
- }, sectionproperties.quantitybtn_show == 'Show' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer3 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer3 === void 0 || (_fetchProductInfoQuer3 = _fetchProductInfoQuer3.data) === null || _fetchProductInfoQuer3 === void 0 || (_fetchProductInfoQuer3 = _fetchProductInfoQuer3.productinfo) === null || _fetchProductInfoQuer3 === void 0 ? void 0 : _fetchProductInfoQuer3.isproducttobesold) == 1 && (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.isproducthasquantitychange) == 1 && /*#__PURE__*/React__default["default"].createElement("button", {
2423
- className: " ".concat(productinfo_cssstyles.quantitybtn) + ' p-0 d-flex align-items-center justify-content-center mb-sm-2 ',
2424
- style: {
2425
- height: sectionproperties.quantitybtn_height + 'px',
2426
- width: sectionproperties.quantitybtn_width + 'px',
2427
- flexDirection: 'row',
2428
- direction: 'ltr'
2429
- }
2430
- }, /*#__PURE__*/React__default["default"].createElement("span", {
2431
- className: "".concat(productinfo_cssstyles.minus_quantitybtn_icon_container) + ' m-1 ',
2432
- onClick: function onClick() {
2433
- var tempaddtocardpayloadobj = _objectSpread$2n({}, addtocardpayloadobj);
2434
- if (tempaddtocardpayloadobj.quantity > 0) {
2435
- tempaddtocardpayloadobj.quantity = tempaddtocardpayloadobj.quantity - 1;
2436
- }
2437
- setaddtocardpayloadobj(_objectSpread$2n({}, tempaddtocardpayloadobj));
2438
- }
2439
- }, /*#__PURE__*/React__default["default"].createElement("i", {
2440
- className: sectionproperties.quantityiconstyle == 'Arrows' ? 'fa fa-chevron-down' : 'h-100 allcentered',
2441
- style: {
2442
- fontSize: sectionproperties.remove_quantitybtn_textfontsize + 'px'
2443
- }
2444
- }, sectionproperties.quantityiconstyle == 'Plus/Minus' && /*#__PURE__*/React__default["default"].createElement(FiMinus.FiMinus, {
2445
- size: sectionproperties.remove_quantitybtn_textfontsize
2446
- }))), /*#__PURE__*/React__default["default"].createElement("span", {
2447
- className: "".concat(productinfo_cssstyles.quantitybtn_text)
2448
- }, addtocardpayloadobj.quantity), /*#__PURE__*/React__default["default"].createElement("span", {
2449
- className: "".concat(productinfo_cssstyles.add_quantitybtn_icon_container) + ' m-1 ',
2450
- onClick: function onClick() {
2451
- var tempaddtocardpayloadobj = _objectSpread$2n({}, addtocardpayloadobj);
2452
- tempaddtocardpayloadobj.quantity = tempaddtocardpayloadobj.quantity + 1;
2453
- setaddtocardpayloadobj(_objectSpread$2n({}, tempaddtocardpayloadobj));
2454
- }
2455
- }, /*#__PURE__*/React__default["default"].createElement("i", {
2456
- className: sectionproperties.quantityiconstyle == 'Arrows' ? 'fa fa-chevron-up' : 'h-100 allcentered'
2457
- // className="fa fa-chevron-up"
2458
- ,
2459
- style: {
2460
- fontSize: sectionproperties.add_quantitybtn_textfontsize + 'px'
2461
- }
2462
- }, sectionproperties.quantityiconstyle == 'Plus/Minus' && /*#__PURE__*/React__default["default"].createElement(FiPlus.FiPlus, {
2463
- size: sectionproperties.add_quantitybtn_textfontsize
2464
- })))), sectionproperties.cartbtnalone == 'Besides Other Buttons' && sectionproperties.cartBtnShow == 'Show' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer5 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer5 === void 0 || (_fetchProductInfoQuer5 = _fetchProductInfoQuer5.data) === null || _fetchProductInfoQuer5 === void 0 || (_fetchProductInfoQuer5 = _fetchProductInfoQuer5.productinfo) === null || _fetchProductInfoQuer5 === void 0 ? void 0 : _fetchProductInfoQuer5.isproducttobesold) == 1 && /*#__PURE__*/React__default["default"].createElement("button", {
2465
- className: "".concat(productinfo_cssstyles.cart_btn, " ") + ' ml-2 mr-2 d-flex align-items-center justify-content-center mb-sm-2 ',
2466
- onClick: function onClick() {
2467
- if (fetchProductInfoQueryContext.data.data.productinfo.product_calltoaction == 'Call') {
2468
- var _fetchProductInfoQuer6;
2469
- window.open('tel:' + ((_fetchProductInfoQuer6 = fetchProductInfoQueryContext.data.data.productinfo) === null || _fetchProductInfoQuer6 === void 0 ? void 0 : _fetchProductInfoQuer6.product_phonenumber), '_blank');
2470
- } else {
2471
- if (fetchProductInfoQueryContext.data.data.productinfo.maximumproductquant >= addtocardpayloadobj.quantity && fetchProductInfoQueryContext.data.data.productinfo.minimumproductquant <= addtocardpayloadobj.quantity) {
2472
- addtocartfunc();
2473
- } else {
2474
- NotificationManager.warning('', lang.maximum + ': ' + fetchProductInfoQueryContext.data.data.productinfo.maximumproductquant + ', ' + lang.minimum + ': ' + fetchProductInfoQueryContext.data.data.productinfo.minimumproductquant);
2475
- }
2476
- }
2477
- },
2478
- disabled: AddtoCartMutationContext.isLoading == true ? true : false
2479
- }, !AddtoCartMutationContext.isLoading && /*#__PURE__*/React__default["default"].createElement("span", {
2480
- className: ' d-flex align-items-center justify-content-center '
2481
- }, /*#__PURE__*/React__default["default"].createElement("i", {
2482
- className: langdetect == 'en' ? 'h-100 d-flex align-items-center justify-content-center mr-2' : 'h-100 d-flex align-items-center justify-content-center ml-2'
2483
- }, sectionproperties.carticonstyle == 'Shopping bag 1' && /*#__PURE__*/React__default["default"].createElement(FiShoppingBag.FiShoppingBag, {
2484
- className: "",
2485
- size: sectionproperties.cartBtn_iconFontSize
2486
- }), sectionproperties.carticonstyle == 'Shopping bag 2' && /*#__PURE__*/React__default["default"].createElement(CgShoppingBag.CgShoppingBag, {
2487
- className: "",
2488
- size: sectionproperties.cartBtn_iconFontSize
2489
- }), sectionproperties.carticonstyle == 'Shopping bag 3' && /*#__PURE__*/React__default["default"].createElement(BsBag.BsBag, {
2490
- className: "",
2491
- size: sectionproperties.cartBtn_iconFontSize
2492
- }), sectionproperties.carticonstyle == 'Shopping bag 4' && /*#__PURE__*/React__default["default"].createElement(IoBagHandleOutline.IoBagHandleOutline, {
2493
- className: "",
2494
- size: sectionproperties.cartBtn_iconFontSize
2495
- }), sectionproperties.carticonstyle == 'Shopping cart 1' && /*#__PURE__*/React__default["default"].createElement(FiShoppingCart.FiShoppingCart, {
2496
- className: "",
2497
- size: sectionproperties.cartBtn_iconFontSize
2498
- }), sectionproperties.carticonstyle == 'Shopping cart 2' && /*#__PURE__*/React__default["default"].createElement(MdAddShoppingCart.MdAddShoppingCart, {
2499
- size: sectionproperties.cartBtn_iconFontSize
2500
- })), langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer7 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer7 === void 0 || (_fetchProductInfoQuer7 = _fetchProductInfoQuer7.data) === null || _fetchProductInfoQuer7 === void 0 || (_fetchProductInfoQuer7 = _fetchProductInfoQuer7.productinfo) === null || _fetchProductInfoQuer7 === void 0 ? void 0 : _fetchProductInfoQuer7.productactionbuttontext_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.productactionbuttontext_ar), AddtoCartMutationContext.isLoading && /*#__PURE__*/React__default["default"].createElement("div", {
2501
- className: ' d-flex align-items-center justify-content-center '
2502
- }, /*#__PURE__*/React__default["default"].createElement(reactCssfxLoading.CircularProgress, {
2503
- color: "white",
2504
- width: "20px",
2505
- height: "20px",
2506
- duration: "1s"
2507
- }))), sectionproperties.btnposition == 'Bottom' && sectionproperties.favBtnShow == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
2508
- className: productinfo_cssstyles.wishlist_btn + ' d-flex justify-content-center align-items-center mb-sm-2 ',
2509
- onClick: function onClick() {
2510
- addtofavoritescontext(fetchProductInfoQueryContext.data.data.productinfo.productid);
2511
- },
2512
- style: {
2513
- background: fetchProductInfoQueryContext.data.data.productinfo.IsFavExists == true ? sectionproperties.activebgcolor : ''
2514
- }
2515
- }, /*#__PURE__*/React__default["default"].createElement("i", {
2516
- className: "h-100 d-flex align-items-center justify-content-center"
2517
- }, fetchProductInfoQueryContext.data.data.productinfo.IsFavExists && /*#__PURE__*/React__default["default"].createElement("i", {
2518
- className: "h-100 d-flex align-items-center justify-content-center"
2519
- }, sectionproperties.faviconshape == 'Star Shape' && /*#__PURE__*/React__default["default"].createElement(AiFillStar$1.AiFillStar, {
2520
- size: sectionproperties.favBtnIconfontsize,
2521
- style: {
2522
- color: sectionproperties.activefaviconcolor
2523
- }
2524
- }), sectionproperties.faviconshape == 'Heart Shape' && /*#__PURE__*/React__default["default"].createElement(FaHeart$1.FaHeart, {
2525
- size: sectionproperties.favBtnIconfontsize,
2526
- style: {
2527
- color: sectionproperties.activefaviconcolor
2528
- }
2529
- })), !fetchProductInfoQueryContext.data.data.productinfo.IsFavExists && /*#__PURE__*/React__default["default"].createElement("i", {
2530
- className: "h-100 d-flex align-items-center justify-content-center"
2531
- }, sectionproperties.faviconshape == 'Star Shape' && /*#__PURE__*/React__default["default"].createElement(AiOutlineStar.AiOutlineStar, {
2532
- size: sectionproperties.favBtnIconfontsize
2533
- }), sectionproperties.faviconshape == 'Heart Shape' && /*#__PURE__*/React__default["default"].createElement(FaRegHeart.FaRegHeart, {
2534
- size: sectionproperties.favBtnIconfontsize
2535
- }))), !fetchProductInfoQueryContext.data.data.productinfo.IsFavExists && sectionproperties.favBtnTextfontsize != 0 && /*#__PURE__*/React__default["default"].createElement("p", {
2536
- "class": "m-0 p-0",
2537
- style: {
2538
- fontSize: sectionproperties.favBtnTextfontsize + 'px'
2539
- }
2540
- }, langdetect == 'en' ? sectionproperties.favbtncontent_en : sectionproperties.favbtncontent_ar), fetchProductInfoQueryContext.data.data.productinfo.IsFavExists && sectionproperties.favBtnTextfontsize != 0 && /*#__PURE__*/React__default["default"].createElement("p", {
2541
- "class": "m-0 p-0",
2542
- style: {
2543
- fontSize: sectionproperties.favBtnTextfontsize + 'px'
2544
- }
2545
- }, langdetect == 'en' ? sectionproperties.favbtnaddedcontent_en : sectionproperties.favbtnaddedcontent_ar))), sectionproperties.cartbtnalone == 'Alone' && sectionproperties.cartBtnShow == 'Show' && (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.isproducttobesold) == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
2546
- "class": "row m-0 w-100 mt-3",
2547
- style: {
2548
- overflow: 'hidden'
2549
- }
2550
- }, /*#__PURE__*/React__default["default"].createElement("button", {
2551
- className: "".concat(productinfo_cssstyles.cart_btn, " ") + ' d-flex align-items-center justify-content-center mb-sm-2 ',
2552
- style: {
2553
- width: sectionproperties.cartBtnWidth + '%'
2554
- },
2555
- onClick: function onClick() {
2556
- if (fetchProductInfoQueryContext.data.data.productinfo.product_calltoaction == 'Call') {
2557
- var _fetchProductInfoQuer10;
2558
- window.open('tel:' + ((_fetchProductInfoQuer10 = fetchProductInfoQueryContext.data.data.productinfo) === null || _fetchProductInfoQuer10 === void 0 ? void 0 : _fetchProductInfoQuer10.product_phonenumber), '_blank');
2559
- } else {
2560
- if (fetchProductInfoQueryContext.data.data.productinfo.maximumproductquant >= addtocardpayloadobj.quantity && fetchProductInfoQueryContext.data.data.productinfo.minimumproductquant <= addtocardpayloadobj.quantity) {
2561
- addtocartfunc();
2562
- } else {
2563
- NotificationManager.warning('', lang.maximum + ': ' + fetchProductInfoQueryContext.data.data.productinfo.maximumproductquant + ', ' + lang.minimum + ': ' + fetchProductInfoQueryContext.data.data.productinfo.minimumproductquant);
2564
- }
2565
- }
2566
- },
2567
- disabled: AddtoCartMutationContext.isLoading == true ? true : false
2568
- }, !AddtoCartMutationContext.isLoading && /*#__PURE__*/React__default["default"].createElement("span", {
2569
- className: ' d-flex align-items-center justify-content-center '
2570
- }, /*#__PURE__*/React__default["default"].createElement("i", {
2571
- className: langdetect == 'en' ? 'h-100 d-flex align-items-center justify-content-center mr-2' : 'h-100 d-flex align-items-center justify-content-center ml-2'
2572
- }, sectionproperties.carticonstyle == 'Shopping bag 1' && /*#__PURE__*/React__default["default"].createElement(FiShoppingBag.FiShoppingBag, {
2573
- className: "",
2574
- size: sectionproperties.cartBtn_iconFontSize
2575
- }), sectionproperties.carticonstyle == 'Shopping bag 2' && /*#__PURE__*/React__default["default"].createElement(CgShoppingBag.CgShoppingBag, {
2576
- className: "",
2577
- size: sectionproperties.cartBtn_iconFontSize
2578
- }), sectionproperties.carticonstyle == 'Shopping bag 3' && /*#__PURE__*/React__default["default"].createElement(BsBag.BsBag, {
2579
- className: "",
2580
- size: sectionproperties.cartBtn_iconFontSize
2581
- }), sectionproperties.carticonstyle == 'Shopping bag 4' && /*#__PURE__*/React__default["default"].createElement(IoBagHandleOutline.IoBagHandleOutline, {
2582
- className: "",
2583
- size: sectionproperties.cartBtn_iconFontSize
2584
- }), sectionproperties.carticonstyle == 'Shopping cart 1' && /*#__PURE__*/React__default["default"].createElement(FiShoppingCart.FiShoppingCart, {
2585
- className: "",
2586
- size: sectionproperties.cartBtn_iconFontSize
2587
- }), sectionproperties.carticonstyle == 'Shopping cart 2' && /*#__PURE__*/React__default["default"].createElement(MdAddShoppingCart.MdAddShoppingCart, {
2588
- size: sectionproperties.cartBtn_iconFontSize
2589
- })), langdetect == 'en' ? 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.productactionbuttontext_en : fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer12 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer12 === void 0 || (_fetchProductInfoQuer12 = _fetchProductInfoQuer12.data) === null || _fetchProductInfoQuer12 === void 0 || (_fetchProductInfoQuer12 = _fetchProductInfoQuer12.productinfo) === null || _fetchProductInfoQuer12 === void 0 ? void 0 : _fetchProductInfoQuer12.productactionbuttontext_ar), AddtoCartMutationContext.isLoading && /*#__PURE__*/React__default["default"].createElement("div", {
2590
- className: ' d-flex align-items-center justify-content-center '
2591
- }, /*#__PURE__*/React__default["default"].createElement(reactCssfxLoading.CircularProgress, {
2592
- color: "white",
2593
- width: "20px",
2594
- height: "20px",
2595
- duration: "1s"
2596
- }))), sectionproperties.btnposition == 'Besides Cart Button' && sectionproperties.favBtnShow == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
2597
- className: productinfo_cssstyles.wishlist_btn + ' d-flex justify-content-center align-items-center mb-sm-2 mx-3 ',
2598
- onClick: function onClick() {
2599
- addtofavoritescontext(fetchProductInfoQueryContext.data.data.productinfo.productid);
2600
- },
2601
- style: {
2602
- background: fetchProductInfoQueryContext.data.data.productinfo.IsFavExists == true ? sectionproperties.activebgcolor : ''
2603
- }
2604
- }, /*#__PURE__*/React__default["default"].createElement("i", {
2605
- className: "h-100 d-flex align-items-center justify-content-center"
2606
- }, fetchProductInfoQueryContext.data.data.productinfo.IsFavExists && /*#__PURE__*/React__default["default"].createElement("i", {
2607
- className: "h-100 d-flex align-items-center justify-content-center"
2608
- }, sectionproperties.faviconshape == 'Star Shape' && /*#__PURE__*/React__default["default"].createElement(AiFillStar$1.AiFillStar, {
2609
- size: sectionproperties.favBtnIconfontsize,
2610
- style: {
2611
- color: sectionproperties.activefaviconcolor
2612
- }
2613
- }), sectionproperties.faviconshape == 'Heart Shape' && /*#__PURE__*/React__default["default"].createElement(FaHeart$1.FaHeart, {
2614
- size: sectionproperties.favBtnIconfontsize,
2615
- style: {
2616
- color: sectionproperties.activefaviconcolor
2617
- }
2618
- })), !fetchProductInfoQueryContext.data.data.productinfo.IsFavExists && /*#__PURE__*/React__default["default"].createElement("i", {
2619
- className: "h-100 d-flex align-items-center justify-content-center"
2620
- }, sectionproperties.faviconshape == 'Star Shape' && /*#__PURE__*/React__default["default"].createElement(AiOutlineStar.AiOutlineStar, {
2621
- size: sectionproperties.favBtnIconfontsize
2622
- }), sectionproperties.faviconshape == 'Heart Shape' && /*#__PURE__*/React__default["default"].createElement(FaRegHeart.FaRegHeart, {
2623
- size: sectionproperties.favBtnIconfontsize
2298
+ }, /*#__PURE__*/React__default["default"].createElement(reactShare.LinkedinIcon, {
2299
+ size: 40,
2300
+ round: true
2624
2301
  }))))));
2625
2302
  };
2626
2303
  // {fetchProductInfoQueryContext.data.data.productinfo.hassale == 0
2627
2304
  // ? parseFloat(getprice_discountpriceprops('defaultprice', 1, variantindexcompleted)).toFixed(2)
2628
2305
  // : parseFloat(getprice_discountpriceprops('defaultsaleprice', 1, variantindexcompleted)).toFixed(2)}
2629
2306
  React.useEffect(function () {
2630
- var _fetchProductInfoQuer13;
2307
+ var _fetchProductInfoQuer;
2631
2308
  var totalprice = '';
2632
2309
  if (variantindexcompleted.length == 0 && fetchProductInfoQueryContext.data.data.productinfo.hassale == 0) {
2633
2310
  totalprice = parseFloat(getprice_discountpriceprops('defaultprice', 1, variantindexcompleted)).toFixed(2);
2634
2311
  } else if (variantindexcompleted.length == 0 && fetchProductInfoQueryContext.data.data.productinfo.hassale == 1) {
2635
2312
  totalprice = parseFloat(getprice_discountpriceprops('defaultsaleprice', 1, variantindexcompleted)).toFixed(2);
2636
- } else if (variantindexcompleted.length != 0 && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer13 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer13 === void 0 || (_fetchProductInfoQuer13 = _fetchProductInfoQuer13.data) === null || _fetchProductInfoQuer13 === void 0 || (_fetchProductInfoQuer13 = _fetchProductInfoQuer13.productinfo) === null || _fetchProductInfoQuer13 === void 0 || (_fetchProductInfoQuer13 = _fetchProductInfoQuer13.variants[variantindexcompleted]) === null || _fetchProductInfoQuer13 === void 0 ? void 0 : _fetchProductInfoQuer13.hassale) == 1) {
2313
+ } else if (variantindexcompleted.length != 0 && (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 || (_fetchProductInfoQuer = _fetchProductInfoQuer.variants[variantindexcompleted]) === null || _fetchProductInfoQuer === void 0 ? void 0 : _fetchProductInfoQuer.hassale) == 1) {
2637
2314
  totalprice = parseFloat(getprice_discountpriceprops('defaultsaleprice', 1, variantindexcompleted)).toFixed(2);
2638
2315
  } else {
2639
2316
  totalprice = parseFloat(getprice_discountpriceprops('defaultprice', 1, variantindexcompleted)).toFixed(2);
@@ -2649,13 +2326,13 @@ var Product_itemtype = function Product_itemtype(props) {
2649
2326
  }, /*#__PURE__*/React__default["default"].createElement("div", {
2650
2327
  "class": ' col-lg-12 p-0 '
2651
2328
  }, /*#__PURE__*/React__default["default"].createElement("div", {
2652
- "class": srcfromprops == 'templatedraftrouter' ? "".concat(productinfo_cssstyles.cardcontainer) + ' row ml-0 mr-0 w-100 px-2 px-1025-1 p-sm-0 ' : "".concat(productinfo_cssstyles.cardcontainer) + ' row ml-0 mr-0 w-100 pl-md-3 pr-md-3 px-1025-1 ',
2329
+ "class": "".concat(productinfo_cssstyles.cardcontainer) + ' row ml-0 mr-0 w-100 pl-md-3 pr-md-3 px-1025-1 ',
2653
2330
  style: {
2654
2331
  minHeight: sectionproperties.height + 'vh'
2655
2332
  }
2656
2333
  }, sectionproperties.gallerystyle == 'Style 2' && /*#__PURE__*/React__default["default"].createElement("div", {
2657
2334
  "class": "w-100 scrollhorizontalwithscrollbar"
2658
- }, (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer14 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer14 === void 0 || (_fetchProductInfoQuer14 = _fetchProductInfoQuer14.data) === null || _fetchProductInfoQuer14 === void 0 || (_fetchProductInfoQuer14 = _fetchProductInfoQuer14.productinfo) === null || _fetchProductInfoQuer14 === void 0 || (_fetchProductInfoQuer14 = _fetchProductInfoQuer14.productimages) === null || _fetchProductInfoQuer14 === void 0 ? void 0 : _fetchProductInfoQuer14.length) != 0 && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer15 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer15 === void 0 || (_fetchProductInfoQuer15 = _fetchProductInfoQuer15.data) === null || _fetchProductInfoQuer15 === void 0 || (_fetchProductInfoQuer15 = _fetchProductInfoQuer15.productinfo) === null || _fetchProductInfoQuer15 === void 0 ? void 0 : _fetchProductInfoQuer15.productimages.map(function (item, index) {
2335
+ }, (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer2 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer2 === void 0 || (_fetchProductInfoQuer2 = _fetchProductInfoQuer2.data) === null || _fetchProductInfoQuer2 === void 0 || (_fetchProductInfoQuer2 = _fetchProductInfoQuer2.productinfo) === null || _fetchProductInfoQuer2 === void 0 || (_fetchProductInfoQuer2 = _fetchProductInfoQuer2.productimages) === null || _fetchProductInfoQuer2 === void 0 ? void 0 : _fetchProductInfoQuer2.length) != 0 && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer3 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer3 === void 0 || (_fetchProductInfoQuer3 = _fetchProductInfoQuer3.data) === null || _fetchProductInfoQuer3 === void 0 || (_fetchProductInfoQuer3 = _fetchProductInfoQuer3.productinfo) === null || _fetchProductInfoQuer3 === void 0 ? void 0 : _fetchProductInfoQuer3.productimages.map(function (item, index) {
2659
2336
  return /*#__PURE__*/React__default["default"].createElement("div", {
2660
2337
  "class": ' scrollhorizontalcard mx-2 ',
2661
2338
  style: {
@@ -2686,17 +2363,60 @@ var Product_itemtype = function Product_itemtype(props) {
2686
2363
  className: 'row m-0 w-100'
2687
2364
  }, sectionproperties.gallerystyle == 'Style 1' && /*#__PURE__*/React__default["default"].createElement("div", {
2688
2365
  className: "col-xl-5 col-lg-4 col-md-12 col-sm-12 mb-md-3 pb-md-4 pl-1 pr-1"
2689
- }, GalleryStyle1Section()), /*#__PURE__*/React__default["default"].createElement("div", {
2366
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
2367
+ className: sectionproperties.maximizegalleryfullscreen == 'Yes' ? ' col-lg-12 p-0 maximize ' : 'col-lg-12 p-0',
2368
+ style: {
2369
+ width: '100%',
2370
+ height: 'auto'
2371
+ }
2372
+ }, productimagesarray.length == 0 && /*#__PURE__*/React__default["default"].createElement("div", {
2373
+ style: {
2374
+ width: '100%',
2375
+ height: '30vh',
2376
+ background: '#eee',
2377
+ borderRadius: 10
2378
+ }
2379
+ }, /*#__PURE__*/React__default["default"].createElement("i", {
2380
+ "class": "h-100 allcentered text-light"
2381
+ }, /*#__PURE__*/React__default["default"].createElement(FiLayers.FiLayers, {
2382
+ size: 26
2383
+ }))), productimagesarray.length != 0 && /*#__PURE__*/React__default["default"].createElement("div", {
2384
+ "class": "w-100 d-block d-md-none"
2385
+ }, /*#__PURE__*/React__default["default"].createElement(ImageGallery__default["default"], {
2386
+ items: productimagesarray,
2387
+ thumbnailPosition: sectionproperties.thumbnailposition == 'Bottom' ? 'bottom' : 'left',
2388
+ showNav: false,
2389
+ showPlayButton: false,
2390
+ showFullscreenButton: true,
2391
+ startIndex: currentshowingimageindex
2392
+ })), productimagesarray.length != 0 && /*#__PURE__*/React__default["default"].createElement("div", {
2393
+ "class": "w-100 d-none d-md-block"
2394
+ }, /*#__PURE__*/React__default["default"].createElement(ImageGallery__default["default"], {
2395
+ items: productimagesarray,
2396
+ thumbnailPosition: 'bottom',
2397
+ showNav: false,
2398
+ showPlayButton: false,
2399
+ showFullscreenButton: true,
2400
+ startIndex: currentshowingimageindex
2401
+ })))), /*#__PURE__*/React__default["default"].createElement("div", {
2690
2402
  className: sectionproperties.gallerystyle == 'Style 1' ? langdetect == 'en' ? 'col-xl-7 col-lg-8 col-md-12 col-sm-12 pl-4 pr-0 p-md-0' : 'col-xl-7 col-lg-8 col-md-12 col-sm-12 pl-0 pr-4 p-md-0' : 'col-xl-12 col-lg-12 col-md-12 col-sm-12 px-3 px-md-2'
2691
2403
  }, /*#__PURE__*/React__default["default"].createElement("div", {
2692
2404
  className: "row m-0 w-100"
2693
2405
  }, /*#__PURE__*/React__default["default"].createElement("div", {
2694
- className: (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer16 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer16 === void 0 || (_fetchProductInfoQuer16 = _fetchProductInfoQuer16.data) === null || _fetchProductInfoQuer16 === void 0 || (_fetchProductInfoQuer16 = _fetchProductInfoQuer16.productinfo) === null || _fetchProductInfoQuer16 === void 0 ? void 0 : _fetchProductInfoQuer16.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'
2695
- }, ProductNameSection()), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer17 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer17 === void 0 || (_fetchProductInfoQuer17 = _fetchProductInfoQuer17.data) === null || _fetchProductInfoQuer17 === void 0 || (_fetchProductInfoQuer17 = _fetchProductInfoQuer17.productinfo) === null || _fetchProductInfoQuer17 === void 0 ? void 0 : _fetchProductInfoQuer17.productcanrate) == 1 && sectionproperties.showrating == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
2406
+ 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'
2407
+ }, /*#__PURE__*/React__default["default"].createElement("p", {
2408
+ className: "".concat(productinfo_cssstyles.productname, " ").concat(productinfo_cssstyles.productnamehover) + ' m-0 p-0 wordbreak d-flex justify-content-start cursor-pointer font-sm-15 ',
2409
+ onClick: function onClick() {
2410
+ routingcountext(StaticPagesLinksContext.productinfo, true, fetchProductInfoQueryContext.data.data.productinfo.productid);
2411
+ },
2412
+ style: {
2413
+ textAlign: langdetect == 'en' ? 'left' : 'right'
2414
+ }
2415
+ }, langdetect == 'en' ? fetchProductInfoQueryContext.data.data.productinfo.name_en : fetchProductInfoQueryContext.data.data.productinfo.name_ar)), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer5 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer5 === void 0 || (_fetchProductInfoQuer5 = _fetchProductInfoQuer5.data) === null || _fetchProductInfoQuer5 === void 0 || (_fetchProductInfoQuer5 = _fetchProductInfoQuer5.productinfo) === null || _fetchProductInfoQuer5 === void 0 ? void 0 : _fetchProductInfoQuer5.productcanrate) == 1 && sectionproperties.showrating == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
2696
2416
  className: "col-lg-4 col-md-4 col-sm-4 p-0 mb-1 d-flex justify-content-end align-items-center"
2697
2417
  }, /*#__PURE__*/React__default["default"].createElement(ReactStars__default["default"], {
2698
2418
  count: 5,
2699
- value: fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer18 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer18 === void 0 || (_fetchProductInfoQuer18 = _fetchProductInfoQuer18.data) === null || _fetchProductInfoQuer18 === void 0 || (_fetchProductInfoQuer18 = _fetchProductInfoQuer18.productinfo) === null || _fetchProductInfoQuer18 === void 0 ? void 0 : _fetchProductInfoQuer18.productoverallrate,
2419
+ value: fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer6 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer6 === void 0 || (_fetchProductInfoQuer6 = _fetchProductInfoQuer6.data) === null || _fetchProductInfoQuer6 === void 0 || (_fetchProductInfoQuer6 = _fetchProductInfoQuer6.productinfo) === null || _fetchProductInfoQuer6 === void 0 ? void 0 : _fetchProductInfoQuer6.productoverallrate,
2700
2420
  edit: false,
2701
2421
  size: 18,
2702
2422
  emptyIcon: /*#__PURE__*/React__default["default"].createElement("i", {
@@ -2717,7 +2437,7 @@ var Product_itemtype = function Product_itemtype(props) {
2717
2437
  activeColor: "#ffd700"
2718
2438
  })), /*#__PURE__*/React__default["default"].createElement("div", {
2719
2439
  className: "col-lg-4 col-md-4 col-sm-4 p-0 mb-1 d-flex justify-content-end align-items-center"
2720
- }, sectionproperties.availabilitybtnposition == 'Top' && sectionproperties.show_availability == 'Show' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer19 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer19 === void 0 || (_fetchProductInfoQuer19 = _fetchProductInfoQuer19.data) === null || _fetchProductInfoQuer19 === void 0 || (_fetchProductInfoQuer19 = _fetchProductInfoQuer19.productinfo) === null || _fetchProductInfoQuer19 === void 0 ? void 0 : _fetchProductInfoQuer19.isproducttobesold) == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
2440
+ }, sectionproperties.availabilitybtnposition == 'Top' && sectionproperties.show_availability == 'Show' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer7 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer7 === void 0 || (_fetchProductInfoQuer7 = _fetchProductInfoQuer7.data) === null || _fetchProductInfoQuer7 === void 0 || (_fetchProductInfoQuer7 = _fetchProductInfoQuer7.productinfo) === null || _fetchProductInfoQuer7 === void 0 ? void 0 : _fetchProductInfoQuer7.isproducttobesold) == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
2721
2441
  style: {
2722
2442
  width: sectionproperties.availability_width + 'px',
2723
2443
  height: sectionproperties.availability_height + 'px',
@@ -2769,7 +2489,7 @@ var Product_itemtype = function Product_itemtype(props) {
2769
2489
  }, /*#__PURE__*/React__default["default"].createElement(DescriptionContent, {
2770
2490
  actions: props.actions,
2771
2491
  srcfromprops: 'undername'
2772
- })), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer20 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer20 === void 0 || (_fetchProductInfoQuer20 = _fetchProductInfoQuer20.data) === null || _fetchProductInfoQuer20 === void 0 || (_fetchProductInfoQuer20 = _fetchProductInfoQuer20.productinfo) === null || _fetchProductInfoQuer20 === void 0 ? void 0 : _fetchProductInfoQuer20.vendorinfo) != null && sectionproperties.showvendor == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
2492
+ })), (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.vendorinfo) != null && sectionproperties.showvendor == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
2773
2493
  "class": "col-lg-12 p-0 d-flex justify-content-start mt-2 mb-2"
2774
2494
  }, /*#__PURE__*/React__default["default"].createElement("p", {
2775
2495
  "class": "m-0 p-0",
@@ -2780,15 +2500,32 @@ var Product_itemtype = function Product_itemtype(props) {
2780
2500
  style: {
2781
2501
  fontWeight: 600
2782
2502
  }
2783
- }, fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer21 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer21 === void 0 || (_fetchProductInfoQuer21 = _fetchProductInfoQuer21.data) === null || _fetchProductInfoQuer21 === void 0 || (_fetchProductInfoQuer21 = _fetchProductInfoQuer21.productinfo) === null || _fetchProductInfoQuer21 === void 0 || (_fetchProductInfoQuer21 = _fetchProductInfoQuer21.vendorinfo) === null || _fetchProductInfoQuer21 === void 0 ? void 0 : _fetchProductInfoQuer21.vendorname))), /*#__PURE__*/React__default["default"].createElement("div", {
2784
- "class": "col-lg-12 p-0"
2785
- }, SKUSection()), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer22 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer22 === void 0 || (_fetchProductInfoQuer22 = _fetchProductInfoQuer22.data) === null || _fetchProductInfoQuer22 === void 0 || (_fetchProductInfoQuer22 = _fetchProductInfoQuer22.productinfo) === null || _fetchProductInfoQuer22 === void 0 ? void 0 : _fetchProductInfoQuer22.currentquantity) < 1 && sectionproperties.showoutofstock == 'Show' && (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.quantavailtype) == 'limit' && (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.hasvariants) == 0 && /*#__PURE__*/React__default["default"].createElement("div", {
2503
+ }, 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 || (_fetchProductInfoQuer9 = _fetchProductInfoQuer9.vendorinfo) === null || _fetchProductInfoQuer9 === void 0 ? void 0 : _fetchProductInfoQuer9.vendorname))), sectionproperties.showSKU == 'Show' && sectionproperties.productInformationType == 'Product/Service Information' && /*#__PURE__*/React__default["default"].createElement("div", {
2504
+ "class": sectionproperties.deliverytimeshow == 'Show' && (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.deliverydatetext) != null ? 'col-lg-12 p-0 mb-2 d-flex justify-content-start' : 'col-lg-12 p-0 mb-3 d-flex justify-content-start'
2505
+ }, /*#__PURE__*/React__default["default"].createElement("p", {
2506
+ "class": "m-0 p-0 d-flex justify-content-start"
2507
+ }, /*#__PURE__*/React__default["default"].createElement("span", {
2508
+ style: {
2509
+ color: sectionproperties.skuColor,
2510
+ fontWeight: sectionproperties.skuFontWeight,
2511
+ fontSize: sectionproperties.skuFontSize + 'px',
2512
+ textAlign: langdetect == 'en' ? 'left' : 'right'
2513
+ }
2514
+ }, langdetect == 'en' ? sectionproperties.skutitleEn : sectionproperties.skutitleAr, ":", ' '), /*#__PURE__*/React__default["default"].createElement("span", {
2515
+ "class": "ml-1 mr-1",
2516
+ style: {
2517
+ color: '#7e859b',
2518
+ fontWeight: sectionproperties.skuSecondaryFontWeight,
2519
+ fontSize: sectionproperties.skuFontSize + 'px',
2520
+ textAlign: langdetect == 'en' ? 'left' : 'right'
2521
+ }
2522
+ }, fetchProductInfoQueryContext.data.data.productinfo.sku))), (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.currentquantity) < 1 && sectionproperties.showoutofstock == 'Show' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer12 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer12 === void 0 || (_fetchProductInfoQuer12 = _fetchProductInfoQuer12.data) === null || _fetchProductInfoQuer12 === void 0 || (_fetchProductInfoQuer12 = _fetchProductInfoQuer12.productinfo) === null || _fetchProductInfoQuer12 === void 0 ? void 0 : _fetchProductInfoQuer12.quantavailtype) == 'limit' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer13 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer13 === void 0 || (_fetchProductInfoQuer13 = _fetchProductInfoQuer13.data) === null || _fetchProductInfoQuer13 === void 0 || (_fetchProductInfoQuer13 = _fetchProductInfoQuer13.productinfo) === null || _fetchProductInfoQuer13 === void 0 ? void 0 : _fetchProductInfoQuer13.hasvariants) == 0 && /*#__PURE__*/React__default["default"].createElement("div", {
2786
2523
  "class": "col-lg-12 p-0 d-flex justify-content-start mb-2"
2787
2524
  }, /*#__PURE__*/React__default["default"].createElement("div", {
2788
2525
  "class": "".concat(productinfo_cssstyles.outstockbadge) + ' allcentered '
2789
2526
  }, /*#__PURE__*/React__default["default"].createElement("p", {
2790
2527
  "class": "m-0 p-0"
2791
- }, langdetect == 'en' ? sectionproperties.outstock_contenten : sectionproperties.outstock_contentar))), sectionproperties.deliverytimeshow == 'Show' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer25 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer25 === void 0 || (_fetchProductInfoQuer25 = _fetchProductInfoQuer25.data) === null || _fetchProductInfoQuer25 === void 0 || (_fetchProductInfoQuer25 = _fetchProductInfoQuer25.productinfo) === null || _fetchProductInfoQuer25 === void 0 ? void 0 : _fetchProductInfoQuer25.deliverydatetext) != null && /*#__PURE__*/React__default["default"].createElement("div", {
2528
+ }, langdetect == 'en' ? sectionproperties.outstock_contenten : sectionproperties.outstock_contentar))), sectionproperties.deliverytimeshow == 'Show' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer14 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer14 === void 0 || (_fetchProductInfoQuer14 = _fetchProductInfoQuer14.data) === null || _fetchProductInfoQuer14 === void 0 || (_fetchProductInfoQuer14 = _fetchProductInfoQuer14.productinfo) === null || _fetchProductInfoQuer14 === void 0 ? void 0 : _fetchProductInfoQuer14.deliverydatetext) != null && /*#__PURE__*/React__default["default"].createElement("div", {
2792
2529
  "class": "mb-4 col-lg-12 allcentered",
2793
2530
  style: {
2794
2531
  width: '100%',
@@ -2809,9 +2546,9 @@ var Product_itemtype = function Product_itemtype(props) {
2809
2546
  textAlign: langdetect == 'en' ? 'left' : 'right',
2810
2547
  color: sectionproperties.deliverytimecontainercolor
2811
2548
  }
2812
- }, sectionproperties.showdeliverytitle == 'Show' && /*#__PURE__*/React__default["default"].createElement("span", null, langdetect == 'en' ? sectionproperties.deliverycontent_en : sectionproperties.deliverycontent_ar, ": "), ' ', fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer26 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer26 === void 0 || (_fetchProductInfoQuer26 = _fetchProductInfoQuer26.data) === null || _fetchProductInfoQuer26 === void 0 || (_fetchProductInfoQuer26 = _fetchProductInfoQuer26.productinfo) === null || _fetchProductInfoQuer26 === void 0 ? void 0 : _fetchProductInfoQuer26.deliverydatetext)), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer27 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer27 === void 0 || (_fetchProductInfoQuer27 = _fetchProductInfoQuer27.data) === null || _fetchProductInfoQuer27 === void 0 || (_fetchProductInfoQuer27 = _fetchProductInfoQuer27.productinfo) === null || _fetchProductInfoQuer27 === void 0 ? void 0 : _fetchProductInfoQuer27.isproducttobesold) == 1 && /*#__PURE__*/React__default["default"].createElement(ProductHeaderPricing, {
2549
+ }, sectionproperties.showdeliverytitle == 'Show' && /*#__PURE__*/React__default["default"].createElement("span", null, langdetect == 'en' ? sectionproperties.deliverycontent_en : sectionproperties.deliverycontent_ar, ": "), ' ', fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer15 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer15 === void 0 || (_fetchProductInfoQuer15 = _fetchProductInfoQuer15.data) === null || _fetchProductInfoQuer15 === void 0 || (_fetchProductInfoQuer15 = _fetchProductInfoQuer15.productinfo) === null || _fetchProductInfoQuer15 === void 0 ? void 0 : _fetchProductInfoQuer15.deliverydatetext)), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer16 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer16 === void 0 || (_fetchProductInfoQuer16 = _fetchProductInfoQuer16.data) === null || _fetchProductInfoQuer16 === void 0 || (_fetchProductInfoQuer16 = _fetchProductInfoQuer16.productinfo) === null || _fetchProductInfoQuer16 === void 0 ? void 0 : _fetchProductInfoQuer16.isproducttobesold) == 1 && /*#__PURE__*/React__default["default"].createElement(ProductHeaderPricing, {
2813
2550
  actions: props.actions
2814
- }), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer28 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer28 === void 0 || (_fetchProductInfoQuer28 = _fetchProductInfoQuer28.data) === null || _fetchProductInfoQuer28 === void 0 || (_fetchProductInfoQuer28 = _fetchProductInfoQuer28.productinfo) === null || _fetchProductInfoQuer28 === void 0 ? void 0 : _fetchProductInfoQuer28.hasvariants) == 1 && sectionproperties.productInformationType == 'Profile' && /*#__PURE__*/React__default["default"].createElement("div", {
2551
+ }), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer17 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer17 === void 0 || (_fetchProductInfoQuer17 = _fetchProductInfoQuer17.data) === null || _fetchProductInfoQuer17 === void 0 || (_fetchProductInfoQuer17 = _fetchProductInfoQuer17.productinfo) === null || _fetchProductInfoQuer17 === void 0 ? void 0 : _fetchProductInfoQuer17.hasvariants) == 1 && sectionproperties.productInformationType == 'Profile' && /*#__PURE__*/React__default["default"].createElement("div", {
2815
2552
  className: "row m-0 w-100 d-flex align-items-start"
2816
2553
  }, ProductInfoObj === null || ProductInfoObj === void 0 || (_ProductInfoObj$data = ProductInfoObj.data) === null || _ProductInfoObj$data === void 0 || (_ProductInfoObj$data = _ProductInfoObj$data.productinfo) === null || _ProductInfoObj$data === void 0 || (_ProductInfoObj$data = _ProductInfoObj$data.productoptions) === null || _ProductInfoObj$data === void 0 ? void 0 : _ProductInfoObj$data.map(function (item, index) {
2817
2554
  return /*#__PURE__*/React__default["default"].createElement("div", {
@@ -2875,7 +2612,9 @@ var Product_itemtype = function Product_itemtype(props) {
2875
2612
  actions: props.actions
2876
2613
  }), sectionproperties.showextrafield == 'Show' && /*#__PURE__*/React__default["default"].createElement(ProductExtraFields, {
2877
2614
  actions: props.actions
2878
- }), sectionproperties.quantitybtn_show == 'Show' && sectionproperties.cartBtnShow == 'Show' && srcfromprops != 'templatedraftrouter' && /*#__PURE__*/React__default["default"].createElement("div", {
2615
+ }), sectionproperties.gallerystyle == 'Style 2' && sectionproperties.prodCatShow == 'Show' && /*#__PURE__*/React__default["default"].createElement(DescriptionContent, {
2616
+ actions: props.actions
2617
+ }), sectionproperties.quantitybtn_show == 'Show' && sectionproperties.cartBtnShow == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
2879
2618
  className: "col-lg-12 p-0 mb-3"
2880
2619
  }, /*#__PURE__*/React__default["default"].createElement("hr", {
2881
2620
  className: "mb-0 mt-2"
@@ -2886,8 +2625,8 @@ var Product_itemtype = function Product_itemtype(props) {
2886
2625
  }
2887
2626
  }, /*#__PURE__*/React__default["default"].createElement("div", {
2888
2627
  className: "row m-0 w-100 d-flex align-items-center"
2889
- }, (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer29 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer29 === void 0 || (_fetchProductInfoQuer29 = _fetchProductInfoQuer29.data) === null || _fetchProductInfoQuer29 === void 0 || (_fetchProductInfoQuer29 = _fetchProductInfoQuer29.productinfo) === null || _fetchProductInfoQuer29 === void 0 ? void 0 : _fetchProductInfoQuer29.isproducttobesold) == 1 && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer30 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer30 === void 0 || (_fetchProductInfoQuer30 = _fetchProductInfoQuer30.data) === null || _fetchProductInfoQuer30 === void 0 || (_fetchProductInfoQuer30 = _fetchProductInfoQuer30.productinfo) === null || _fetchProductInfoQuer30 === void 0 ? void 0 : _fetchProductInfoQuer30.isproducthasquantitychange) == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
2890
- className: "col-lg-12 p-0 mb-2 d-flex justify-content-start"
2628
+ }, (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer18 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer18 === void 0 || (_fetchProductInfoQuer18 = _fetchProductInfoQuer18.data) === null || _fetchProductInfoQuer18 === void 0 || (_fetchProductInfoQuer18 = _fetchProductInfoQuer18.productinfo) === null || _fetchProductInfoQuer18 === void 0 ? void 0 : _fetchProductInfoQuer18.isproducttobesold) == 1 && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer19 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer19 === void 0 || (_fetchProductInfoQuer19 = _fetchProductInfoQuer19.data) === null || _fetchProductInfoQuer19 === void 0 || (_fetchProductInfoQuer19 = _fetchProductInfoQuer19.productinfo) === null || _fetchProductInfoQuer19 === void 0 ? void 0 : _fetchProductInfoQuer19.isproducthasquantitychange) == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
2629
+ className: "col-lg-12 p-0 mb-2 d-flex justofy-content-start"
2891
2630
  }, /*#__PURE__*/React__default["default"].createElement("p", {
2892
2631
  className: "m-0 p-0",
2893
2632
  style: {
@@ -2896,7 +2635,216 @@ var Product_itemtype = function Product_itemtype(props) {
2896
2635
  textTransform: sectionproperties.generaltext_textTransform,
2897
2636
  fontWeight: sectionproperties.generaltext_fontWeight
2898
2637
  }
2899
- }, lang.quantity, ":")), Quantitybtn_Cartbtn_Favbottombtn())), sectionproperties.productInformationType == 'Product/Service Information' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer31 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer31 === void 0 || (_fetchProductInfoQuer31 = _fetchProductInfoQuer31.data) === null || _fetchProductInfoQuer31 === void 0 || (_fetchProductInfoQuer31 = _fetchProductInfoQuer31.productinfo) === null || _fetchProductInfoQuer31 === void 0 ? void 0 : _fetchProductInfoQuer31.isproducttobesold) == 1 && sectionproperties.showtotalsection == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
2638
+ }, lang.quantity, ":")), /*#__PURE__*/React__default["default"].createElement("div", {
2639
+ "class": "col-lg-12 p-0"
2640
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
2641
+ "class": "row m-0 w-100 d-flex align-items-center",
2642
+ style: {
2643
+ justifyContent: sectionproperties.cartbtncentered == 'Centered' ? 'center' : 'start'
2644
+ }
2645
+ }, sectionproperties.quantitybtn_show == 'Show' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer20 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer20 === void 0 || (_fetchProductInfoQuer20 = _fetchProductInfoQuer20.data) === null || _fetchProductInfoQuer20 === void 0 || (_fetchProductInfoQuer20 = _fetchProductInfoQuer20.productinfo) === null || _fetchProductInfoQuer20 === void 0 ? void 0 : _fetchProductInfoQuer20.isproducttobesold) == 1 && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer21 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer21 === void 0 || (_fetchProductInfoQuer21 = _fetchProductInfoQuer21.data) === null || _fetchProductInfoQuer21 === void 0 || (_fetchProductInfoQuer21 = _fetchProductInfoQuer21.productinfo) === null || _fetchProductInfoQuer21 === void 0 ? void 0 : _fetchProductInfoQuer21.isproducthasquantitychange) == 1 && /*#__PURE__*/React__default["default"].createElement("button", {
2646
+ className: " ".concat(productinfo_cssstyles.quantitybtn) + ' p-0 d-flex align-items-center justify-content-center mb-sm-2 ',
2647
+ style: {
2648
+ height: sectionproperties.quantitybtn_height + 'px',
2649
+ width: sectionproperties.quantitybtn_width + 'px',
2650
+ flexDirection: 'row',
2651
+ direction: 'ltr'
2652
+ }
2653
+ }, /*#__PURE__*/React__default["default"].createElement("span", {
2654
+ className: "".concat(productinfo_cssstyles.minus_quantitybtn_icon_container) + ' m-1 ',
2655
+ onClick: function onClick() {
2656
+ var tempaddtocardpayloadobj = _objectSpread$2n({}, addtocardpayloadobj);
2657
+ if (tempaddtocardpayloadobj.quantity > 0) {
2658
+ tempaddtocardpayloadobj.quantity = tempaddtocardpayloadobj.quantity - 1;
2659
+ }
2660
+ setaddtocardpayloadobj(_objectSpread$2n({}, tempaddtocardpayloadobj));
2661
+ }
2662
+ }, /*#__PURE__*/React__default["default"].createElement("i", {
2663
+ className: sectionproperties.quantityiconstyle == 'Arrows' ? 'fa fa-chevron-down' : 'h-100 allcentered',
2664
+ style: {
2665
+ fontSize: sectionproperties.remove_quantitybtn_textfontsize + 'px'
2666
+ }
2667
+ }, sectionproperties.quantityiconstyle == 'Plus/Minus' && /*#__PURE__*/React__default["default"].createElement(FiMinus.FiMinus, {
2668
+ size: sectionproperties.remove_quantitybtn_textfontsize
2669
+ }))), /*#__PURE__*/React__default["default"].createElement("span", {
2670
+ className: "".concat(productinfo_cssstyles.quantitybtn_text)
2671
+ }, addtocardpayloadobj.quantity), /*#__PURE__*/React__default["default"].createElement("span", {
2672
+ className: "".concat(productinfo_cssstyles.add_quantitybtn_icon_container) + ' m-1 ',
2673
+ onClick: function onClick() {
2674
+ var tempaddtocardpayloadobj = _objectSpread$2n({}, addtocardpayloadobj);
2675
+ tempaddtocardpayloadobj.quantity = tempaddtocardpayloadobj.quantity + 1;
2676
+ setaddtocardpayloadobj(_objectSpread$2n({}, tempaddtocardpayloadobj));
2677
+ }
2678
+ }, /*#__PURE__*/React__default["default"].createElement("i", {
2679
+ className: sectionproperties.quantityiconstyle == 'Arrows' ? 'fa fa-chevron-up' : 'h-100 allcentered'
2680
+ // className="fa fa-chevron-up"
2681
+ ,
2682
+ style: {
2683
+ fontSize: sectionproperties.add_quantitybtn_textfontsize + 'px'
2684
+ }
2685
+ }, sectionproperties.quantityiconstyle == 'Plus/Minus' && /*#__PURE__*/React__default["default"].createElement(FiPlus.FiPlus, {
2686
+ size: sectionproperties.add_quantitybtn_textfontsize
2687
+ })))), sectionproperties.cartbtnalone == 'Besides Other Buttons' && sectionproperties.cartBtnShow == 'Show' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer22 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer22 === void 0 || (_fetchProductInfoQuer22 = _fetchProductInfoQuer22.data) === null || _fetchProductInfoQuer22 === void 0 || (_fetchProductInfoQuer22 = _fetchProductInfoQuer22.productinfo) === null || _fetchProductInfoQuer22 === void 0 ? void 0 : _fetchProductInfoQuer22.isproducttobesold) == 1 && /*#__PURE__*/React__default["default"].createElement("button", {
2688
+ className: "".concat(productinfo_cssstyles.cart_btn, " ") + ' ml-2 mr-2 d-flex align-items-center justify-content-center mb-sm-2 ',
2689
+ onClick: function onClick() {
2690
+ if (fetchProductInfoQueryContext.data.data.productinfo.product_calltoaction == 'Call') {
2691
+ var _fetchProductInfoQuer23;
2692
+ window.open('tel:' + ((_fetchProductInfoQuer23 = fetchProductInfoQueryContext.data.data.productinfo) === null || _fetchProductInfoQuer23 === void 0 ? void 0 : _fetchProductInfoQuer23.product_phonenumber), '_blank');
2693
+ } else {
2694
+ if (fetchProductInfoQueryContext.data.data.productinfo.maximumproductquant >= addtocardpayloadobj.quantity && fetchProductInfoQueryContext.data.data.productinfo.minimumproductquant <= addtocardpayloadobj.quantity) {
2695
+ addtocartfunc();
2696
+ } else {
2697
+ NotificationManager.warning('', lang.maximum + ': ' + fetchProductInfoQueryContext.data.data.productinfo.maximumproductquant + ', ' + lang.minimum + ': ' + fetchProductInfoQueryContext.data.data.productinfo.minimumproductquant);
2698
+ }
2699
+ }
2700
+ },
2701
+ disabled: AddtoCartMutationContext.isLoading == true ? true : false
2702
+ }, !AddtoCartMutationContext.isLoading && /*#__PURE__*/React__default["default"].createElement("span", {
2703
+ className: ' d-flex align-items-center justify-content-center '
2704
+ }, /*#__PURE__*/React__default["default"].createElement("i", {
2705
+ className: langdetect == 'en' ? 'h-100 d-flex align-items-center justify-content-center mr-2' : 'h-100 d-flex align-items-center justify-content-center ml-2'
2706
+ }, sectionproperties.carticonstyle == 'Shopping bag 1' && /*#__PURE__*/React__default["default"].createElement(FiShoppingBag.FiShoppingBag, {
2707
+ className: "",
2708
+ size: sectionproperties.cartBtn_iconFontSize
2709
+ }), sectionproperties.carticonstyle == 'Shopping bag 2' && /*#__PURE__*/React__default["default"].createElement(CgShoppingBag.CgShoppingBag, {
2710
+ className: "",
2711
+ size: sectionproperties.cartBtn_iconFontSize
2712
+ }), sectionproperties.carticonstyle == 'Shopping bag 3' && /*#__PURE__*/React__default["default"].createElement(BsBag.BsBag, {
2713
+ className: "",
2714
+ size: sectionproperties.cartBtn_iconFontSize
2715
+ }), sectionproperties.carticonstyle == 'Shopping bag 4' && /*#__PURE__*/React__default["default"].createElement(IoBagHandleOutline.IoBagHandleOutline, {
2716
+ className: "",
2717
+ size: sectionproperties.cartBtn_iconFontSize
2718
+ }), sectionproperties.carticonstyle == 'Shopping cart 1' && /*#__PURE__*/React__default["default"].createElement(FiShoppingCart.FiShoppingCart, {
2719
+ className: "",
2720
+ size: sectionproperties.cartBtn_iconFontSize
2721
+ }), sectionproperties.carticonstyle == 'Shopping cart 2' && /*#__PURE__*/React__default["default"].createElement(MdAddShoppingCart.MdAddShoppingCart, {
2722
+ size: sectionproperties.cartBtn_iconFontSize
2723
+ })), langdetect == 'en' ? 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.productactionbuttontext_en : fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer25 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer25 === void 0 || (_fetchProductInfoQuer25 = _fetchProductInfoQuer25.data) === null || _fetchProductInfoQuer25 === void 0 || (_fetchProductInfoQuer25 = _fetchProductInfoQuer25.productinfo) === null || _fetchProductInfoQuer25 === void 0 ? void 0 : _fetchProductInfoQuer25.productactionbuttontext_ar), AddtoCartMutationContext.isLoading && /*#__PURE__*/React__default["default"].createElement("div", {
2724
+ className: ' d-flex align-items-center justify-content-center '
2725
+ }, /*#__PURE__*/React__default["default"].createElement(reactCssfxLoading.CircularProgress, {
2726
+ color: "white",
2727
+ width: "20px",
2728
+ height: "20px",
2729
+ duration: "1s"
2730
+ }))), sectionproperties.btnposition == 'Bottom' && sectionproperties.favBtnShow == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
2731
+ className: productinfo_cssstyles.wishlist_btn + ' d-flex justify-content-center align-items-center mb-sm-2 ',
2732
+ onClick: function onClick() {
2733
+ addtofavoritescontext(fetchProductInfoQueryContext.data.data.productinfo.productid);
2734
+ },
2735
+ style: {
2736
+ background: fetchProductInfoQueryContext.data.data.productinfo.IsFavExists == true ? sectionproperties.activebgcolor : ''
2737
+ }
2738
+ }, /*#__PURE__*/React__default["default"].createElement("i", {
2739
+ className: "h-100 d-flex align-items-center justify-content-center"
2740
+ }, fetchProductInfoQueryContext.data.data.productinfo.IsFavExists && /*#__PURE__*/React__default["default"].createElement("i", {
2741
+ className: "h-100 d-flex align-items-center justify-content-center"
2742
+ }, sectionproperties.faviconshape == 'Star Shape' && /*#__PURE__*/React__default["default"].createElement(AiFillStar$1.AiFillStar, {
2743
+ size: sectionproperties.favBtnIconfontsize,
2744
+ style: {
2745
+ color: sectionproperties.activefaviconcolor
2746
+ }
2747
+ }), sectionproperties.faviconshape == 'Heart Shape' && /*#__PURE__*/React__default["default"].createElement(FaHeart$1.FaHeart, {
2748
+ size: sectionproperties.favBtnIconfontsize,
2749
+ style: {
2750
+ color: sectionproperties.activefaviconcolor
2751
+ }
2752
+ })), !fetchProductInfoQueryContext.data.data.productinfo.IsFavExists && /*#__PURE__*/React__default["default"].createElement("i", {
2753
+ className: "h-100 d-flex align-items-center justify-content-center"
2754
+ }, sectionproperties.faviconshape == 'Star Shape' && /*#__PURE__*/React__default["default"].createElement(AiOutlineStar.AiOutlineStar, {
2755
+ size: sectionproperties.favBtnIconfontsize
2756
+ }), sectionproperties.faviconshape == 'Heart Shape' && /*#__PURE__*/React__default["default"].createElement(FaRegHeart.FaRegHeart, {
2757
+ size: sectionproperties.favBtnIconfontsize
2758
+ }))), !fetchProductInfoQueryContext.data.data.productinfo.IsFavExists && sectionproperties.favBtnTextfontsize != 0 && /*#__PURE__*/React__default["default"].createElement("p", {
2759
+ "class": "m-0 p-0",
2760
+ style: {
2761
+ fontSize: sectionproperties.favBtnTextfontsize + 'px'
2762
+ }
2763
+ }, langdetect == 'en' ? sectionproperties.favbtncontent_en : sectionproperties.favbtncontent_ar), fetchProductInfoQueryContext.data.data.productinfo.IsFavExists && sectionproperties.favBtnTextfontsize != 0 && /*#__PURE__*/React__default["default"].createElement("p", {
2764
+ "class": "m-0 p-0",
2765
+ style: {
2766
+ fontSize: sectionproperties.favBtnTextfontsize + 'px'
2767
+ }
2768
+ }, langdetect == 'en' ? sectionproperties.favbtnaddedcontent_en : sectionproperties.favbtnaddedcontent_ar))), sectionproperties.cartbtnalone == 'Alone' && sectionproperties.cartBtnShow == 'Show' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer26 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer26 === void 0 || (_fetchProductInfoQuer26 = _fetchProductInfoQuer26.data) === null || _fetchProductInfoQuer26 === void 0 || (_fetchProductInfoQuer26 = _fetchProductInfoQuer26.productinfo) === null || _fetchProductInfoQuer26 === void 0 ? void 0 : _fetchProductInfoQuer26.isproducttobesold) == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
2769
+ "class": "row m-0 w-100 mt-3",
2770
+ style: {
2771
+ overflow: 'hidden'
2772
+ }
2773
+ }, /*#__PURE__*/React__default["default"].createElement("button", {
2774
+ className: "".concat(productinfo_cssstyles.cart_btn, " ") + ' d-flex align-items-center justify-content-center mb-sm-2 ',
2775
+ style: {
2776
+ width: sectionproperties.cartBtnWidth + '%'
2777
+ },
2778
+ onClick: function onClick() {
2779
+ if (fetchProductInfoQueryContext.data.data.productinfo.product_calltoaction == 'Call') {
2780
+ var _fetchProductInfoQuer27;
2781
+ window.open('tel:' + ((_fetchProductInfoQuer27 = fetchProductInfoQueryContext.data.data.productinfo) === null || _fetchProductInfoQuer27 === void 0 ? void 0 : _fetchProductInfoQuer27.product_phonenumber), '_blank');
2782
+ } else {
2783
+ if (fetchProductInfoQueryContext.data.data.productinfo.maximumproductquant >= addtocardpayloadobj.quantity && fetchProductInfoQueryContext.data.data.productinfo.minimumproductquant <= addtocardpayloadobj.quantity) {
2784
+ addtocartfunc();
2785
+ } else {
2786
+ NotificationManager.warning('', lang.maximum + ': ' + fetchProductInfoQueryContext.data.data.productinfo.maximumproductquant + ', ' + lang.minimum + ': ' + fetchProductInfoQueryContext.data.data.productinfo.minimumproductquant);
2787
+ }
2788
+ }
2789
+ },
2790
+ disabled: AddtoCartMutationContext.isLoading == true ? true : false
2791
+ }, !AddtoCartMutationContext.isLoading && /*#__PURE__*/React__default["default"].createElement("span", {
2792
+ className: ' d-flex align-items-center justify-content-center '
2793
+ }, /*#__PURE__*/React__default["default"].createElement("i", {
2794
+ className: langdetect == 'en' ? 'h-100 d-flex align-items-center justify-content-center mr-2' : 'h-100 d-flex align-items-center justify-content-center ml-2'
2795
+ }, sectionproperties.carticonstyle == 'Shopping bag 1' && /*#__PURE__*/React__default["default"].createElement(FiShoppingBag.FiShoppingBag, {
2796
+ className: "",
2797
+ size: sectionproperties.cartBtn_iconFontSize
2798
+ }), sectionproperties.carticonstyle == 'Shopping bag 2' && /*#__PURE__*/React__default["default"].createElement(CgShoppingBag.CgShoppingBag, {
2799
+ className: "",
2800
+ size: sectionproperties.cartBtn_iconFontSize
2801
+ }), sectionproperties.carticonstyle == 'Shopping bag 3' && /*#__PURE__*/React__default["default"].createElement(BsBag.BsBag, {
2802
+ className: "",
2803
+ size: sectionproperties.cartBtn_iconFontSize
2804
+ }), sectionproperties.carticonstyle == 'Shopping bag 4' && /*#__PURE__*/React__default["default"].createElement(IoBagHandleOutline.IoBagHandleOutline, {
2805
+ className: "",
2806
+ size: sectionproperties.cartBtn_iconFontSize
2807
+ }), sectionproperties.carticonstyle == 'Shopping cart 1' && /*#__PURE__*/React__default["default"].createElement(FiShoppingCart.FiShoppingCart, {
2808
+ className: "",
2809
+ size: sectionproperties.cartBtn_iconFontSize
2810
+ }), sectionproperties.carticonstyle == 'Shopping cart 2' && /*#__PURE__*/React__default["default"].createElement(MdAddShoppingCart.MdAddShoppingCart, {
2811
+ size: sectionproperties.cartBtn_iconFontSize
2812
+ })), langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer28 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer28 === void 0 || (_fetchProductInfoQuer28 = _fetchProductInfoQuer28.data) === null || _fetchProductInfoQuer28 === void 0 || (_fetchProductInfoQuer28 = _fetchProductInfoQuer28.productinfo) === null || _fetchProductInfoQuer28 === void 0 ? void 0 : _fetchProductInfoQuer28.productactionbuttontext_en : fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer29 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer29 === void 0 || (_fetchProductInfoQuer29 = _fetchProductInfoQuer29.data) === null || _fetchProductInfoQuer29 === void 0 || (_fetchProductInfoQuer29 = _fetchProductInfoQuer29.productinfo) === null || _fetchProductInfoQuer29 === void 0 ? void 0 : _fetchProductInfoQuer29.productactionbuttontext_ar), AddtoCartMutationContext.isLoading && /*#__PURE__*/React__default["default"].createElement("div", {
2813
+ className: ' d-flex align-items-center justify-content-center '
2814
+ }, /*#__PURE__*/React__default["default"].createElement(reactCssfxLoading.CircularProgress, {
2815
+ color: "white",
2816
+ width: "20px",
2817
+ height: "20px",
2818
+ duration: "1s"
2819
+ }))), sectionproperties.btnposition == 'Besides Cart Button' && sectionproperties.favBtnShow == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
2820
+ className: productinfo_cssstyles.wishlist_btn + ' d-flex justify-content-center align-items-center mb-sm-2 mx-3 ',
2821
+ onClick: function onClick() {
2822
+ addtofavoritescontext(fetchProductInfoQueryContext.data.data.productinfo.productid);
2823
+ },
2824
+ style: {
2825
+ background: fetchProductInfoQueryContext.data.data.productinfo.IsFavExists == true ? sectionproperties.activebgcolor : ''
2826
+ }
2827
+ }, /*#__PURE__*/React__default["default"].createElement("i", {
2828
+ className: "h-100 d-flex align-items-center justify-content-center"
2829
+ }, fetchProductInfoQueryContext.data.data.productinfo.IsFavExists && /*#__PURE__*/React__default["default"].createElement("i", {
2830
+ className: "h-100 d-flex align-items-center justify-content-center"
2831
+ }, sectionproperties.faviconshape == 'Star Shape' && /*#__PURE__*/React__default["default"].createElement(AiFillStar$1.AiFillStar, {
2832
+ size: sectionproperties.favBtnIconfontsize,
2833
+ style: {
2834
+ color: sectionproperties.activefaviconcolor
2835
+ }
2836
+ }), sectionproperties.faviconshape == 'Heart Shape' && /*#__PURE__*/React__default["default"].createElement(FaHeart$1.FaHeart, {
2837
+ size: sectionproperties.favBtnIconfontsize,
2838
+ style: {
2839
+ color: sectionproperties.activefaviconcolor
2840
+ }
2841
+ })), !fetchProductInfoQueryContext.data.data.productinfo.IsFavExists && /*#__PURE__*/React__default["default"].createElement("i", {
2842
+ className: "h-100 d-flex align-items-center justify-content-center"
2843
+ }, sectionproperties.faviconshape == 'Star Shape' && /*#__PURE__*/React__default["default"].createElement(AiOutlineStar.AiOutlineStar, {
2844
+ size: sectionproperties.favBtnIconfontsize
2845
+ }), sectionproperties.faviconshape == 'Heart Shape' && /*#__PURE__*/React__default["default"].createElement(FaRegHeart.FaRegHeart, {
2846
+ size: sectionproperties.favBtnIconfontsize
2847
+ })))))))), sectionproperties.productInformationType == 'Product/Service Information' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer30 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer30 === void 0 || (_fetchProductInfoQuer30 = _fetchProductInfoQuer30.data) === null || _fetchProductInfoQuer30 === void 0 || (_fetchProductInfoQuer30 = _fetchProductInfoQuer30.productinfo) === null || _fetchProductInfoQuer30 === void 0 ? void 0 : _fetchProductInfoQuer30.isproducttobesold) == 1 && sectionproperties.showtotalsection == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
2900
2848
  className: "col-lg-12 p-0 mb-3"
2901
2849
  }, /*#__PURE__*/React__default["default"].createElement("div", {
2902
2850
  className: "row m-0 w-100 d-flex flex-row"
@@ -2919,7 +2867,7 @@ var Product_itemtype = function Product_itemtype(props) {
2919
2867
  }
2920
2868
  }, /*#__PURE__*/React__default["default"].createElement("span", {
2921
2869
  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 '
2922
- }, 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 || (_fetchProductInfoQuer32 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer32 === void 0 || (_fetchProductInfoQuer32 = _fetchProductInfoQuer32.data) === null || _fetchProductInfoQuer32 === void 0 || (_fetchProductInfoQuer32 = _fetchProductInfoQuer32.productinfo) === null || _fetchProductInfoQuer32 === void 0 || (_fetchProductInfoQuer32 = _fetchProductInfoQuer32.variants[variantindexcompleted]) === null || _fetchProductInfoQuer32 === void 0 ? void 0 : _fetchProductInfoQuer32.hassale) == 1 && parseFloat(getprice_discountpriceprops('defaultsaleprice', 1, variantindexcompleted)).toFixed(2), variantindexcompleted != undefined && variantindexcompleted.length != 0 && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer33 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer33 === void 0 || (_fetchProductInfoQuer33 = _fetchProductInfoQuer33.data) === null || _fetchProductInfoQuer33 === void 0 || (_fetchProductInfoQuer33 = _fetchProductInfoQuer33.productinfo) === null || _fetchProductInfoQuer33 === void 0 || (_fetchProductInfoQuer33 = _fetchProductInfoQuer33.variants[variantindexcompleted]) === null || _fetchProductInfoQuer33 === void 0 ? void 0 : _fetchProductInfoQuer33.hassale) == 0 && parseFloat(getprice_discountpriceprops('defaultprice', 1, variantindexcompleted)).toFixed(2), langdetect == 'en' ? '' : authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar)), /*#__PURE__*/React__default["default"].createElement("p", {
2870
+ }, 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 || (_fetchProductInfoQuer31 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer31 === void 0 || (_fetchProductInfoQuer31 = _fetchProductInfoQuer31.data) === null || _fetchProductInfoQuer31 === void 0 || (_fetchProductInfoQuer31 = _fetchProductInfoQuer31.productinfo) === null || _fetchProductInfoQuer31 === void 0 || (_fetchProductInfoQuer31 = _fetchProductInfoQuer31.variants[variantindexcompleted]) === null || _fetchProductInfoQuer31 === void 0 ? void 0 : _fetchProductInfoQuer31.hassale) == 1 && parseFloat(getprice_discountpriceprops('defaultsaleprice', 1, variantindexcompleted)).toFixed(2), variantindexcompleted != undefined && variantindexcompleted.length != 0 && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer32 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer32 === void 0 || (_fetchProductInfoQuer32 = _fetchProductInfoQuer32.data) === null || _fetchProductInfoQuer32 === void 0 || (_fetchProductInfoQuer32 = _fetchProductInfoQuer32.productinfo) === null || _fetchProductInfoQuer32 === void 0 || (_fetchProductInfoQuer32 = _fetchProductInfoQuer32.variants[variantindexcompleted]) === null || _fetchProductInfoQuer32 === void 0 ? void 0 : _fetchProductInfoQuer32.hassale) == 0 && parseFloat(getprice_discountpriceprops('defaultprice', 1, variantindexcompleted)).toFixed(2), langdetect == 'en' ? '' : authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar)), /*#__PURE__*/React__default["default"].createElement("p", {
2923
2871
  className: 'm-0 p-0 linethrough wordbreak',
2924
2872
  style: {
2925
2873
  color: sectionproperties.prodsalePriceColor,
@@ -2933,14 +2881,14 @@ var Product_itemtype = function Product_itemtype(props) {
2933
2881
  style: {
2934
2882
  textDecoration: 'none'
2935
2883
  }
2936
- }, "-"), 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 || (_fetchProductInfoQuer34 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer34 === void 0 || (_fetchProductInfoQuer34 = _fetchProductInfoQuer34.data) === null || _fetchProductInfoQuer34 === void 0 || (_fetchProductInfoQuer34 = _fetchProductInfoQuer34.productinfo) === null || _fetchProductInfoQuer34 === void 0 || (_fetchProductInfoQuer34 = _fetchProductInfoQuer34.variants[variantindexcompleted]) === null || _fetchProductInfoQuer34 === void 0 ? void 0 : _fetchProductInfoQuer34.hassale) == 1 && /*#__PURE__*/React__default["default"].createElement("span", {
2884
+ }, "-"), 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 || (_fetchProductInfoQuer33 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer33 === void 0 || (_fetchProductInfoQuer33 = _fetchProductInfoQuer33.data) === null || _fetchProductInfoQuer33 === void 0 || (_fetchProductInfoQuer33 = _fetchProductInfoQuer33.productinfo) === null || _fetchProductInfoQuer33 === void 0 || (_fetchProductInfoQuer33 = _fetchProductInfoQuer33.variants[variantindexcompleted]) === null || _fetchProductInfoQuer33 === void 0 ? void 0 : _fetchProductInfoQuer33.hassale) == 1 && /*#__PURE__*/React__default["default"].createElement("span", {
2937
2885
  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 '
2938
2886
  }, /*#__PURE__*/React__default["default"].createElement("span", {
2939
2887
  className: "ml-2 mr-2",
2940
2888
  style: {
2941
2889
  textDecoration: 'none'
2942
2890
  }
2943
- }, "-"), 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 || (_fetchProductInfoQuer35 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer35 === void 0 || (_fetchProductInfoQuer35 = _fetchProductInfoQuer35.data) === null || _fetchProductInfoQuer35 === void 0 || (_fetchProductInfoQuer35 = _fetchProductInfoQuer35.productinfo) === null || _fetchProductInfoQuer35 === void 0 ? void 0 : _fetchProductInfoQuer35.isproducttobesold) == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
2891
+ }, "-"), 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 || (_fetchProductInfoQuer34 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer34 === void 0 || (_fetchProductInfoQuer34 = _fetchProductInfoQuer34.data) === null || _fetchProductInfoQuer34 === void 0 || (_fetchProductInfoQuer34 = _fetchProductInfoQuer34.productinfo) === null || _fetchProductInfoQuer34 === void 0 ? void 0 : _fetchProductInfoQuer34.isproducttobesold) == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
2944
2892
  className: "col-lg-12 p-0 mb-3 mt-2"
2945
2893
  }, /*#__PURE__*/React__default["default"].createElement("div", {
2946
2894
  style: {
@@ -2966,7 +2914,7 @@ var Product_itemtype = function Product_itemtype(props) {
2966
2914
  className: "font-weight-600"
2967
2915
  }, lang.availability, ":"), /*#__PURE__*/React__default["default"].createElement("span", {
2968
2916
  className: "ml-1 mr-1"
2969
- }, fetchProductInfoQueryContext.data.data.productinfo.quantavailtype == 'nolimit' ? lang.available : lang.limitedquantity)))), sectionproperties.showShareButton == 'Show' && sectionproperties.sharebtnstyle == 'Style 1' && srcfromprops != 'templatedraftrouter' && /*#__PURE__*/React__default["default"].createElement("div", {
2917
+ }, fetchProductInfoQueryContext.data.data.productinfo.quantavailtype == 'nolimit' ? lang.available : lang.limitedquantity)))), sectionproperties.showShareButton == 'Show' && sectionproperties.sharebtnstyle == 'Style 1' && /*#__PURE__*/React__default["default"].createElement("div", {
2970
2918
  "class": "col-lg-12 p-0"
2971
2919
  }, /*#__PURE__*/React__default["default"].createElement("hr", {
2972
2920
  "class": "mb-3 mt-3",
@@ -2985,6 +2933,11 @@ var Product_itemtype = function Product_itemtype(props) {
2985
2933
  paddingRight: langdetect == 'ar' ? '.5rem' : 0
2986
2934
  }
2987
2935
  }, StoreInfoprops(), sectionproperties.showShareButton == 'Show' && sectionproperties.sharebtnstyle == 'Style 2' && /*#__PURE__*/React__default["default"].createElement("div", {
2936
+ "class": productinfo_cssstyles.storeinfocontainer + ' col-lg-12 p-0 ',
2937
+ style: {}
2938
+ }, /*#__PURE__*/React__default["default"].createElement("hr", {
2939
+ "class": "my-3"
2940
+ })), sectionproperties.showShareButton == 'Show' && sectionproperties.sharebtnstyle == 'Style 2' && /*#__PURE__*/React__default["default"].createElement("div", {
2988
2941
  "class": "col-lg-12 p-0 allcentered mt-2"
2989
2942
  }, ShareButtonsContainer()))))))), sectionproperties.storeinfoposition == 'On The Right' && /*#__PURE__*/React__default["default"].createElement("div", {
2990
2943
  className: langdetect == 'en' ? 'col-lg-3 pr-0 border-md-none p-md-0 pt-4 pl-md-0 pr-md-0' : 'col-lg-3 pl-0 border-md-none md-0 pt-4 pl-md-0 pr-md-0',
@@ -7527,9 +7480,12 @@ var Wishlist = function Wishlist(props) {
7527
7480
  }, /*#__PURE__*/React__default["default"].createElement("div", {
7528
7481
  className: ' col-lg-12 table_responsive p-0 '
7529
7482
  }, /*#__PURE__*/React__default["default"].createElement("table", {
7530
- className: 'table'
7483
+ className: 'table table_thbg'
7531
7484
  }, /*#__PURE__*/React__default["default"].createElement("thead", {
7532
- className: ""
7485
+ className: "",
7486
+ style: {
7487
+ background: '#eee'
7488
+ }
7533
7489
  }, /*#__PURE__*/React__default["default"].createElement("th", {
7534
7490
  className: langdetect == 'en' ? 'text-left font-weight-500 font-14 text-light mw-150 mw-md-300' : 'text-right font-weight-500 font-14 text-light mw-150 mw-md-300'
7535
7491
  }, langdetect == 'en' ? sectionproperties.productnametitle_en : sectionproperties.productnametitle_ar), sectionproperties.cartBtnShow == 'Show' && /*#__PURE__*/React__default["default"].createElement("th", {
@@ -7627,7 +7583,7 @@ var Wishlist = function Wishlist(props) {
7627
7583
  function ownKeys$2f(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; }
7628
7584
  function _objectSpread$2f(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$2f(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$2f(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
7629
7585
  var Viewcart = function Viewcart(props) {
7630
- var _bgimagesarray$, _bgimagesarray$5, _bgimagesarray$6, _bgimagesarray$7, _bgimagesarray$8, _fetchcustomercartQue7, _fetchcustomercartQue8, _fetchcustomercartQue9;
7586
+ var _bgimagesarray$, _bgimagesarray$5, _bgimagesarray$6, _bgimagesarray$7, _bgimagesarray$8, _fetchcustomercartQue7, _fetchcustomercartQue8;
7631
7587
  var lang = props.actions.lang;
7632
7588
  var langdetect = props.actions.langdetect;
7633
7589
  var fetchcustomercartQueryContext = props.actions.fetchcustomercartQueryContext;
@@ -7867,8 +7823,10 @@ var Viewcart = function Viewcart(props) {
7867
7823
  }
7868
7824
  }),
7869
7825
  tableimagecont: glamor.css({
7870
- width: sectionproperties.prodimage_width + 'px',
7871
- height: sectionproperties.prodimage_height + 'px',
7826
+ width: '70px',
7827
+ height: sectionproperties.prodimage__borderBottomLeftRadius == 100 ? '70px' : '60px',
7828
+ border: sectionproperties.prodimage_borderwidth + 'px solid ' + sectionproperties.prodimage_color,
7829
+ backgroundColor: sectionproperties.prodimage_bgcolor,
7872
7830
  display: 'flex',
7873
7831
  alignItems: 'center',
7874
7832
  justifyContent: 'center',
@@ -7881,22 +7839,6 @@ var Viewcart = function Viewcart(props) {
7881
7839
  '@media (max-width: 800px)': {
7882
7840
  paddingTop: sectionproperties.marginTopResp + 'px'
7883
7841
  }
7884
- }),
7885
- shopbuttonstyles: glamor.css({
7886
- width: sectionproperties.generalbtn_width == 0 ? '100%' : sectionproperties.generalbtn_width + '%',
7887
- height: sectionproperties.generalbtn_height + 'px',
7888
- borderRadius: sectionproperties.generalbtnborderradius,
7889
- backgroundColor: sectionproperties.generalbtn_bgColor,
7890
- color: sectionproperties.generalbtn_textColor,
7891
- border: sectionproperties.generalbtn_borderwidth + 'px solid ' + sectionproperties.generalbtn_bordercolor,
7892
- fontSize: sectionproperties.generalbtn_fontsize + 'px',
7893
- fontWeight: sectionproperties.generalbtn_fontweight,
7894
- ':hover': {
7895
- transition: '.3s',
7896
- backgroundColor: sectionproperties.generalbtn_bgColoronhover,
7897
- color: sectionproperties.generalbtn_textColoronhover,
7898
- borderColor: sectionproperties.generalbtn_textColoronhover
7899
- }
7900
7842
  })
7901
7843
  };
7902
7844
  var _useState5 = React.useState([]),
@@ -7936,7 +7878,7 @@ var Viewcart = function Viewcart(props) {
7936
7878
  "class": sectionproperties.bgcovercontainresponsive == 'Contain' ? 'h-sm-auto mb-sm-4' : '',
7937
7879
  style: {
7938
7880
  width: sectionproperties.image_width + 'vw',
7939
- height: 'auto',
7881
+ height: sectionproperties.image_height == 0 ? 'auto' : sectionproperties.image_height + 'vh',
7940
7882
  marginBottom: sectionproperties.image_mb + 'px',
7941
7883
  position: 'relative'
7942
7884
  }
@@ -7948,11 +7890,15 @@ var Viewcart = function Viewcart(props) {
7948
7890
  style: {
7949
7891
  height: '100%',
7950
7892
  width: '100%',
7951
- objectFit: 'contain',
7952
7893
  margin: 0,
7953
7894
  padding: 0,
7954
- borderRadius: sectionproperties.imageborderradius + 'px',
7955
- zIndex: -1
7895
+ background: sectionproperties.image_bgcolor,
7896
+ borderTopLeftRadius: sectionproperties.image_bordertopleftradius + 'px',
7897
+ borderTopRightRadius: sectionproperties.image_bordertoprightradius + 'px',
7898
+ borderBottomLeftRadius: sectionproperties.image_borderBottomLeftRadius + 'px',
7899
+ borderBottomRightRadius: sectionproperties.image_borderBottomRightRadius + 'px',
7900
+ zIndex: -1,
7901
+ objectFit: sectionproperties.bgcovercontain
7956
7902
  }
7957
7903
  }), /*#__PURE__*/React__default["default"].createElement(Imagekitimagecomp, {
7958
7904
  urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
@@ -7962,13 +7908,34 @@ var Viewcart = function Viewcart(props) {
7962
7908
  style: {
7963
7909
  height: '100%',
7964
7910
  width: '100%',
7965
- objectFit: 'contain',
7966
7911
  margin: 0,
7967
7912
  padding: 0,
7968
- borderRadius: sectionproperties.imageborderradius + 'px',
7913
+ objectFit: sectionproperties.bgcovercontainresponsive,
7914
+ background: sectionproperties.image_bgcolor,
7915
+ borderTopLeftRadius: sectionproperties.image_bordertopleftradius + 'px',
7916
+ borderTopRightRadius: sectionproperties.image_bordertoprightradius + 'px',
7917
+ borderBottomLeftRadius: sectionproperties.image_borderBottomLeftRadius + 'px',
7918
+ borderBottomRightRadius: sectionproperties.image_borderBottomRightRadius + 'px',
7969
7919
  zIndex: -1
7970
7920
  }
7971
- }))), /*#__PURE__*/React__default["default"].createElement("div", {
7921
+ }), /*#__PURE__*/React__default["default"].createElement("div", {
7922
+ className: ' col-lg-12 p-0 w-100 d-flex align-items-center justify-content-center ',
7923
+ style: {
7924
+ position: 'absolute',
7925
+ top: 0,
7926
+ right: 0,
7927
+ bottom: 0,
7928
+ left: 0
7929
+ }
7930
+ }, /*#__PURE__*/React__default["default"].createElement("p", {
7931
+ className: ' m-0 p-0 ',
7932
+ style: {
7933
+ fontSize: sectionproperties.imagetextfontsize + 'px',
7934
+ color: sectionproperties.imagetextcolor,
7935
+ textTransform: sectionproperties.imagetexttextTransform,
7936
+ fontWeight: sectionproperties.imagetextfontWeight
7937
+ }
7938
+ }, lang.mycart)))), /*#__PURE__*/React__default["default"].createElement("div", {
7972
7939
  className: "col-lg-12 p-0"
7973
7940
  }, /*#__PURE__*/React__default["default"].createElement("div", {
7974
7941
  className: 'row ml-0 mr-0 d-flex justify-content-center w-100 pl-lg-4 pr-lg-4 pl-md-3 pr-md-3 pl-sm-2 pr-sm-2',
@@ -7980,9 +7947,9 @@ var Viewcart = function Viewcart(props) {
7980
7947
  borderBottomLeftRadius: sectionproperties.borderBottomLeftRadius + 'px',
7981
7948
  borderBottomRightRadius: sectionproperties.borderBottomRightRadius + 'px',
7982
7949
  borderTopLeftRadius: sectionproperties.borderTopLeftRadius + 'px',
7983
- borderTopRightRadius: sectionproperties.borderTopRightRadius + 'px',
7984
- borderColor: sectionproperties.sectioncardbordercolor,
7985
- border: sectionproperties.sectioncardborderwidth + 'px solid'
7950
+ borderTopRightRadius: sectionproperties.borderTopRightRadius + 'px'
7951
+ // borderColor: sectionproperties.sectioncardbordercolor,
7952
+ // border: sectionproperties.sectioncardborderwidth + 'px solid',
7986
7953
  }
7987
7954
  }, /*#__PURE__*/React__default["default"].createElement("div", {
7988
7955
  className: 'col-lg-12 p-0'
@@ -7991,7 +7958,7 @@ var Viewcart = function Viewcart(props) {
7991
7958
  actions: actions
7992
7959
  })), /*#__PURE__*/React__default["default"].createElement("div", {
7993
7960
  className: 'col-lg-12 d-flex w-100 p-0'
7994
- }, (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue7 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue7 === void 0 || (_fetchcustomercartQue7 = _fetchcustomercartQue7.data) === null || _fetchcustomercartQue7 === void 0 || (_fetchcustomercartQue7 = _fetchcustomercartQue7.customercart) === null || _fetchcustomercartQue7 === void 0 || (_fetchcustomercartQue7 = _fetchcustomercartQue7.cartitems) === null || _fetchcustomercartQue7 === void 0 ? void 0 : _fetchcustomercartQue7.length) != 0 && /*#__PURE__*/React__default["default"].createElement("div", {
7961
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
7995
7962
  className: "row m-0 w-100"
7996
7963
  }, /*#__PURE__*/React__default["default"].createElement("div", {
7997
7964
  className: langdetect == 'en' ? 'col-lg-9 pr-0' : 'col-lg-9 pl-0'
@@ -8007,7 +7974,10 @@ var Viewcart = function Viewcart(props) {
8007
7974
  }, /*#__PURE__*/React__default["default"].createElement("table", {
8008
7975
  className: 'table table_thbg'
8009
7976
  }, /*#__PURE__*/React__default["default"].createElement("thead", {
8010
- className: ""
7977
+ className: "",
7978
+ style: {
7979
+ background: '#eee'
7980
+ }
8011
7981
  }, /*#__PURE__*/React__default["default"].createElement("th", {
8012
7982
  className: langdetect == 'en' ? 'text-left font-weight-500 font-14 text-light mw-150 mw-md-300' : 'text-right font-weight-500 font-14 text-light mw-150 mw-md-300'
8013
7983
  }, langdetect == 'en' ? sectionproperties.productnametitle_en : sectionproperties.productnametitle_ar), /*#__PURE__*/React__default["default"].createElement("th", {
@@ -8024,7 +7994,7 @@ var Viewcart = function Viewcart(props) {
8024
7994
  }
8025
7995
  }, lang.total), /*#__PURE__*/React__default["default"].createElement("th", {
8026
7996
  className: "text-capitalize text-center font-weight-500 font-14 text-uppercase text-light"
8027
- }, lang.remove)), /*#__PURE__*/React__default["default"].createElement("tbody", null, fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue8 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue8 === void 0 || (_fetchcustomercartQue8 = _fetchcustomercartQue8.data) === null || _fetchcustomercartQue8 === void 0 || (_fetchcustomercartQue8 = _fetchcustomercartQue8.customercart) === null || _fetchcustomercartQue8 === void 0 || (_fetchcustomercartQue8 = _fetchcustomercartQue8.cartitems) === null || _fetchcustomercartQue8 === void 0 ? void 0 : _fetchcustomercartQue8.map(function (item, index) {
7997
+ }, lang.remove)), /*#__PURE__*/React__default["default"].createElement("tbody", null, fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue7 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue7 === void 0 || (_fetchcustomercartQue7 = _fetchcustomercartQue7.data) === null || _fetchcustomercartQue7 === void 0 || (_fetchcustomercartQue7 = _fetchcustomercartQue7.customercart) === null || _fetchcustomercartQue7 === void 0 || (_fetchcustomercartQue7 = _fetchcustomercartQue7.cartitems) === null || _fetchcustomercartQue7 === void 0 ? void 0 : _fetchcustomercartQue7.map(function (item, index) {
8028
7998
  return /*#__PURE__*/React__default["default"].createElement("tr", {
8029
7999
  className: "border-none"
8030
8000
  }, /*#__PURE__*/React__default["default"].createElement("td", {
@@ -8040,7 +8010,8 @@ var Viewcart = function Viewcart(props) {
8040
8010
  style: {
8041
8011
  width: '100%',
8042
8012
  height: '100%',
8043
- objectFit: 'contain'
8013
+ objectFit: sectionproperties.prodimage__borderBottomLeftRadius == '100' ? 'cover' : 'contain',
8014
+ borderRadius: sectionproperties.prodimage__borderBottomLeftRadius + 'px'
8044
8015
  },
8045
8016
  loading: "lazy"
8046
8017
  })), /*#__PURE__*/React__default["default"].createElement("div", {
@@ -8194,18 +8165,16 @@ var Viewcart = function Viewcart(props) {
8194
8165
  deletecartitemContext(item);
8195
8166
  }
8196
8167
  }, lang.remove)));
8197
- })))))), /*#__PURE__*/React__default["default"].createElement("div", {
8198
- className: langdetect == 'en' ? ' col-lg-3 pr-0 px-sm-0 mb-4 ' : ' col-lg-3 pl-0 px-sm-0 mb-4'
8199
- }, Summary())), (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue9 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue9 === void 0 || (_fetchcustomercartQue9 = _fetchcustomercartQue9.data) === null || _fetchcustomercartQue9 === void 0 || (_fetchcustomercartQue9 = _fetchcustomercartQue9.customercart) === null || _fetchcustomercartQue9 === void 0 ? void 0 : _fetchcustomercartQue9.cartitems.length) == 0 && /*#__PURE__*/React__default["default"].createElement("div", {
8200
- className: "row m-0 w-100 d-flex align-items-center justify-content-center pt-5 pb-5",
8168
+ })))), (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue8 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue8 === void 0 || (_fetchcustomercartQue8 = _fetchcustomercartQue8.data) === null || _fetchcustomercartQue8 === void 0 || (_fetchcustomercartQue8 = _fetchcustomercartQue8.customercart) === null || _fetchcustomercartQue8 === void 0 ? void 0 : _fetchcustomercartQue8.cartitems.length) == 0 && /*#__PURE__*/React__default["default"].createElement("div", {
8169
+ className: "row m-0 w-100 d-flex align-items-center justify-content-center h-100 pt-5 pb-5",
8201
8170
  style: {
8202
- height: '60vh'
8171
+ height: '50vh'
8203
8172
  }
8204
8173
  }, /*#__PURE__*/React__default["default"].createElement("div", {
8205
8174
  className: ' col-lg-12 d-flex align-items-center justify-content-center text-light flex-column h-100 pt-5 pb-5 '
8206
8175
  }, /*#__PURE__*/React__default["default"].createElement("div", {
8207
8176
  className: "col-lg-12 d-flex align-items-center justify-content-center text-light flex-column"
8208
- }, sectionproperties.noproducticontype == 'Cart' && sectionproperties.noprod_iconfontSize != 0 && /*#__PURE__*/React__default["default"].createElement("img", {
8177
+ }, sectionproperties.noproducticontype == 'Cart' && /*#__PURE__*/React__default["default"].createElement("img", {
8209
8178
  src: 'https://tabex-co.com/storage/StaticImages/shoppingcart.png',
8210
8179
  style: {
8211
8180
  maxWidth: '250px',
@@ -8223,12 +8192,9 @@ var Viewcart = function Viewcart(props) {
8223
8192
  color: sectionproperties.noprod_color,
8224
8193
  fontSize: sectionproperties.noprod_fontSize + 'px'
8225
8194
  }
8226
- }, langdetect == 'en' ? sectionproperties.nocards_content_en : sectionproperties.nocards_content_ar), /*#__PURE__*/React__default["default"].createElement("button", {
8227
- className: "".concat(viewcart_cssstyles.shopbuttonstyles) + ' mt-4 d-flex align-items-center justify-content-center ',
8228
- onClick: function onClick() {
8229
- routingcountext(StaticPagesLinksContext.GeneralProductsComponent, false);
8230
- }
8231
- }, langdetect == 'en' ? sectionproperties.generalbtn_content : sectionproperties.slideshow_btn_text_ar))))))));
8195
+ }, langdetect == 'en' ? sectionproperties.nocards_content_en : sectionproperties.nocards_content_ar)))))), /*#__PURE__*/React__default["default"].createElement("div", {
8196
+ className: langdetect == 'en' ? ' col-lg-3 pr-0 px-sm-0 mb-4 ' : ' col-lg-3 pl-0 px-sm-0 mb-4'
8197
+ }, Summary()))))));
8232
8198
  };
8233
8199
 
8234
8200
  var css_248z$G = "/* Forms */\n.form-module_form_control__4-RGw {\n display: block;\n width: 100%;\n /* height: 25px; */\n /* font-size: 1rem; */\n font-weight: 500;\n /* color: #444054; */\n /* background-color: white; */\n /* border-radius: 20px; */\n /* box-shadow: 0 0 10px #e6e6e6; */\n /* height: 40px; */\n padding-left: 0;\n padding-right: 0;\n /* font-size: 14px; */\n transition: background 0s ease-out;\n padding: 0 10px;\n}\n.form-module_textarea__zG0ed{\n resize: none;\n /* background-color: #eee; */\n}\n@media screen and (prefers-reduced-motion: reduce) {\n .form-module_form_control__4-RGw {\n transition: none;\n }\n}\n.form-module_form_control__4-RGw::-ms-expand {\n background-color: transparent;\n border: 0;\n}\n.form-module_form_control__4-RGw::placeholder {\n color: #eac435;\n opacity: 1;\n}\n.form-module_form_control__4-RGw:disabled,\n.form-module_form_control__4-RGw[readonly] {\n background-color: #e9ecef;\n opacity: 1;\n cursor: not-allowed;\n}\ntextarea.form-module_form_control__4-RGw {\n /* min-height: 100px !important; */\n padding-top: 10px;\n padding-bottom: 10px;\n}\n.form-module_form_control__4-RGw:focus {\n transition-duration: 0.3s;\n box-shadow: none;\n /* box-shadow: 0 0 10px #ccc; */\n}\n.form-module_form_control__4-RGw::-moz-placeholder {\n color: #aaaaaa;\n font-weight: 400;\n font-size: 14px;\n}\n.form-module_form_control__4-RGw:-ms-input-placeholder {\n color: #aaaaaa;\n font-weight: 400;\n font-size: 14px;\n}\n.form-module_form_control__4-RGw::-webkit-input-placeholder {\n color: #aaaaaa;\n font-weight: 400;\n font-size: 14px;\n}\n\n.form-module_form_control_border_none__TJvdZ {\n background-image: none;\n}\n.form-module_form_control__4-RGw.form-module_disabled__AtvSI,\n.form-module_form_control__4-RGw:disabled,\n.form-module_form_control__4-RGw[disabled] {\n cursor: not-allowed;\n}\n.form-module_input_label_name__416wN {\n font-size: 16px;\n text-transform: capitalize;\n color: var(--cardheader);\n font-weight: 500;\n}\n.form-module_input_label_name-bolder__UQn0a {\n font-weight: 500;\n}\n.form-module_input_icon__X-CzC {\n position: absolute;\n bottom: 5px;\n left: 0;\n color: #d9d9d9;\n}\n/* Radio Buttons */\n.form-module_radiobtn_label__-4Hoi {\n display: flex;\n cursor: pointer;\n font-weight: 500;\n position: relative;\n overflow: hidden;\n margin-bottom: 0;\n}\n.form-module_radiobtn_label__-4Hoi input {\n position: absolute;\n left: -9999px;\n display: none;\n}\n.form-module_radiobtn_label__-4Hoi input:checked + span {\n background-color: #f0f5f5;\n color: var(--focus);\n font-weight: 500;\n}\n.form-module_radiobtn_label__-4Hoi input:checked + span:before {\n box-shadow: inset 0 0 0 0.3em #eac435;\n}\n.form-module_radiobtn_label__-4Hoi span {\n display: flex;\n align-items: center;\n text-transform: capitalize;\n padding: 0.375em 0.75em 0.375em 0.375em;\n border-radius: 99em;\n transition: 0.25s ease;\n font-weight: normal;\n color: var(--focus);\n}\n.form-module_radiobtn_label__-4Hoi span:hover {\n background-color: #e6e6e6;\n}\n.form-module_radiobtn_label__-4Hoi span:before {\n display: flex;\n flex-shrink: 0;\n content: '';\n background-color: #fff;\n width: 1em;\n height: 1em;\n border-radius: 50%;\n margin-right: 0.375em;\n transition: 0.25s ease;\n box-shadow: inset 0 0 0 0.125em var(--focus);\n}\n.form-module_radiobtn_label__-4Hoi.form-module_text-grey__JdZMY span:before {\n box-shadow: inset 0 0 0 0.125em grey;\n}\n.form-module_radiobtn_label__-4Hoi input.form-module_disabled__AtvSI {\n cursor: not-allowed;\n}\n.form-module_radiobtn_label_translated__WN5Jj span:before {\n display: flex;\n flex-shrink: 0;\n content: '';\n background-color: #fff;\n width: 1em;\n height: 1em;\n border-radius: 50%;\n margin-left: 0.375em;\n margin-right: 0;\n transition: 0.25s ease;\n box-shadow: inset 0 0 0 0.125em var(--focus);\n}\n.form-module_radiobtn_label_translated__WN5Jj input.form-module_disabled__AtvSI {\n cursor: not-allowed;\n}\n\n/* Checkbox */\n.form-module_checkbox__XPkWy {\n --border: #022648;\n --border-hover: #959ed0;\n --tick: #fff;\n position: relative;\n /* color: var(--cardheader); */\n}\n.form-module_checkbox_label__VvcKs {\n font-size: 16px;\n text-transform: capitalize;\n font-weight: 500;\n cursor: pointer;\n}\n.form-module_checkbox__XPkWy:hover {\n /* color: var(--border-hover); */\n}\n.form-module_checkbox__XPkWy input,\n.form-module_checkbox__XPkWy svg {\n width: 16px;\n height: 16px;\n display: block;\n}\n.form-module_checkbox_sub__QWYil input {\n width: 15px;\n height: 15px;\n}\n.form-module_checkbox__XPkWy input {\n -webkit-appearance: none;\n -moz-appearance: none;\n position: relative;\n outline: none;\n background: white;\n border: none;\n margin: 0;\n padding: 0;\n cursor: pointer;\n border-radius: 4px;\n transition: box-shadow 0.3s;\n box-shadow: inset 0 0 0 var(--s, 1px) var(--b, var(--border));\n}\n.form-module_checkbox__XPkWy input:disabled {\n cursor: not-allowed;\n}\n.form-module_checkbox__XPkWy input:hover {\n /* --s: 2px; */\n /* --b: var(--border-hover); */\n}\n.form-module_checkbox__XPkWy input:checked {\n /* --b: var(--secondary); */\n}\n.form-module_checkbox__XPkWy svg {\n pointer-events: none;\n fill: none;\n stroke-width: 2px;\n stroke-linecap: round;\n stroke-linejoin: round;\n /* stroke: var(--stroke, var(--secondary)); */\n position: absolute;\n top: 0;\n left: 0;\n width: 16px;\n height: 21px;\n transform: scale(var(--scale, 1)) translateZ(0);\n}\n.form-module_checkbox_sub__QWYil svg {\n pointer-events: none;\n fill: none;\n stroke-width: 2px;\n stroke-linecap: round;\n stroke-linejoin: round;\n stroke: var(--stroke, var(--secondary));\n position: absolute;\n top: 0;\n left: 0;\n width: 16px;\n height: 21px;\n transform: scale(var(--scale, 1)) translateZ(0);\n}\n.form-module_checkboxtranslated__zvEV- svg {\n right: 0;\n}\n.form-module_checkbox__XPkWy input:checked {\n --s: 2px;\n transition-delay: 0.4s;\n}\n.form-module_checkbox__XPkWy input:checked + svg {\n --a: 16.1 86.12;\n --o: 102.22;\n}\n.form-module_checkbox__XPkWy svg {\n stroke-dasharray: var(--a, 86.12);\n stroke-dashoffset: var(--o, 86.12);\n transition: stroke-dasharray 0.6s, stroke-dashoffset 0.6s;\n}\n";
@@ -8544,15 +8510,13 @@ var Checkout = function Checkout(props) {
8544
8510
  })), _defineProperty__default["default"](_checkoutstyles, "containerstyles", glamor.css({
8545
8511
  marginTop: sectionproperties.marginTop + 'px',
8546
8512
  marginBottom: sectionproperties.marginBottom + 'px',
8547
- paddingLeft: sectionproperties.paddingLeft + 'px',
8548
- paddingRight: sectionproperties.paddingRight + 'px',
8513
+ paddingLeft: sectionproperties.cardpaddinghorizontal + 'px',
8514
+ paddingRight: sectionproperties.cardpaddinghorizontal + 'px',
8549
8515
  paddingTop: sectionproperties.paddingTop + 'px',
8550
8516
  paddingBottom: sectionproperties.paddingBottom + 'px',
8551
8517
  background: sectionproperties.backgroundColor,
8552
- borderBottomLeftRadius: sectionproperties.borderBottomLeftRadius + 'px',
8553
- borderBottomRightRadius: sectionproperties.borderBottomRightRadius + 'px',
8554
- borderTopLeftRadius: sectionproperties.borderTopLeftRadius + 'px',
8555
- borderTopRightRadius: sectionproperties.borderTopRightRadius + 'px',
8518
+ borderTop: sectionproperties.sectioncardborderwidth + 'px solid ' + sectionproperties.sectioncardbordercolor,
8519
+ minHeight: '70vh',
8556
8520
  '@media (max-width: 800px)': {
8557
8521
  marginTop: sectionproperties.marginTopResp + 'px'
8558
8522
  }
@@ -8950,13 +8914,16 @@ var Checkout = function Checkout(props) {
8950
8914
  __html: langdetect == 'en' ? sectionproperties.text1editortexten : sectionproperties.text1editortextar
8951
8915
  }
8952
8916
  })), /*#__PURE__*/React__default["default"].createElement("div", {
8953
- className: "col-lg-12 d-flex align-items-center justify-content-center mb-2 mt-sm-3",
8917
+ className: "col-lg-12 d-flex align-items-center justify-content-center mt-4 p-0 mb-2 mt-sm-3",
8954
8918
  style: {
8955
8919
  marginTop: sectionproperties.showtotalsection == 'Show' ? 0 : '0.5rem'
8956
8920
  }
8957
8921
  }, /*#__PURE__*/React__default["default"].createElement("button", {
8958
8922
  className: " ".concat(checkoutstyles.checkoutbtnstyles) + ' d-flex align-items-center justify-content-center ',
8959
8923
  onClick: function onClick() {
8924
+ if (sectionproperties.showpaymentfooter == 'Hide') {
8925
+ cartinfoupdater('paymentmethod', 'cod');
8926
+ }
8960
8927
  addorderfuncrunner();
8961
8928
  // AddOrderMutationContext.mutate(payloadobj);
8962
8929
  },
@@ -8972,7 +8939,9 @@ var Checkout = function Checkout(props) {
8972
8939
  return /*#__PURE__*/React__default["default"].createElement("div", {
8973
8940
  className: 'row m-0 w-100 d-flex justify-content-center p-sm-0 '
8974
8941
  }, /*#__PURE__*/React__default["default"].createElement("div", {
8975
- className: checkoutstyles.containerstyles + ' col-lg-12 w-100 d-flex justify-content-center pl-md-3 pr-md-3 pl-sm-2 pr-sm-2 '
8942
+ className: ' col-lg-12 w-100 d-flex justify-content-center p-0 '
8943
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
8944
+ className: checkoutstyles.containerstyles + ' w-100 d-flex justify-content-center px-md-2 '
8976
8945
  }, /*#__PURE__*/React__default["default"].createElement("div", {
8977
8946
  className: 'row m-0 w-100 justify-content-center '
8978
8947
  }, /*#__PURE__*/React__default["default"].createElement("div", {
@@ -9336,7 +9305,7 @@ var Checkout = function Checkout(props) {
9336
9305
  resize: 'none',
9337
9306
  boxShadow: 'none'
9338
9307
  }
9339
- }))))), /*#__PURE__*/React__default["default"].createElement("div", {
9308
+ }))))), sectionproperties.showpaymentfooter == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
9340
9309
  className: "col-lg-12 p-0 w-100"
9341
9310
  }, /*#__PURE__*/React__default["default"].createElement("div", {
9342
9311
  "class": "".concat(checkoutstyles.innersection) + ' w-100 mb-3 '
@@ -9460,7 +9429,7 @@ var Checkout = function Checkout(props) {
9460
9429
  d: "M5,10.75 L8.5,14.25 L19.4,2.3 C18.8333333,1.43333333 18.0333333,1 17,1 L4,1 C2.35,1 1,2.35 1,4 L1,17 C1,18.65 2.35,20 4,20 L17,20 C18.65,20 20,18.65 20,17 L20,7.99769186"
9461
9430
  })), /*#__PURE__*/React__default["default"].createElement("p", {
9462
9431
  className: "".concat(formstyles.checkbox_label) + ' ml-2 mb-0 wordbreak cursor-pointer mr-2 '
9463
- }, " Mobile Wallet")))))), (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue75 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue75 === void 0 || (_fetchcustomercartQue75 = _fetchcustomercartQue75.data) === null || _fetchcustomercartQue75 === void 0 ? void 0 : _fetchcustomercartQue75.customercart.paymentmethod) == 'onlinepayment1' && /*#__PURE__*/React__default["default"].createElement("div", {
9432
+ }, langdetect == 'en' ? 'Mobile Wallet' : 'المحفظة الإلكترونية')))))), (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue75 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue75 === void 0 || (_fetchcustomercartQue75 = _fetchcustomercartQue75.data) === null || _fetchcustomercartQue75 === void 0 ? void 0 : _fetchcustomercartQue75.customercart.paymentmethod) == 'onlinepayment1' && /*#__PURE__*/React__default["default"].createElement("div", {
9464
9433
  className: "col-lg-12 p-0 w-100 mb-3"
9465
9434
  }, /*#__PURE__*/React__default["default"].createElement("div", {
9466
9435
  style: {
@@ -9562,7 +9531,7 @@ var Checkout = function Checkout(props) {
9562
9531
  }
9563
9532
  })))))), /*#__PURE__*/React__default["default"].createElement("div", {
9564
9533
  className: langdetect == 'en' ? 'col-lg-4 col-md-12 pr-0' : 'col-lg-4 col-md-12 pl-0'
9565
- }, Mycart()))));
9534
+ }, Mycart())))));
9566
9535
  };
9567
9536
 
9568
9537
  function ownKeys$2d(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; }
@@ -12033,7 +12002,7 @@ var CartSlider = function CartSlider(props) {
12033
12002
  setsidecartnavshowWorkplaceDesigncontext(false);
12034
12003
  setsidecartnavshowcontext(false);
12035
12004
  },
12036
- placement: "end",
12005
+ placement: langdetect == 'en' ? 'end' : 'start',
12037
12006
  scroll: true,
12038
12007
  style: {
12039
12008
  backgroundColor: sectionproperties.backgroundColor,
@@ -12224,25 +12193,39 @@ var CartSlider = function CartSlider(props) {
12224
12193
  "class": "col-9 p-0 d-flex justify-content-start align-items-center"
12225
12194
  }, /*#__PURE__*/React__default["default"].createElement("button", {
12226
12195
  className: " ".concat(cart_cssstyles.quantitybtn) + ' px-2 d-flex align-items-center justify-content-center '
12227
- }, /*#__PURE__*/React__default["default"].createElement("span", {
12196
+ }, langdetect == 'en' && /*#__PURE__*/React__default["default"].createElement("span", {
12228
12197
  className: "".concat(cart_cssstyles.minus_quantitybtn_icon_container) + ' m-1 ',
12229
12198
  onClick: function onClick() {
12230
12199
  ChangeCartItemQuantityContext(item, parseInt(parseInt(item.quantity) - 1));
12231
12200
  }
12232
12201
  }, /*#__PURE__*/React__default["default"].createElement(FiMinus.FiMinus, {
12233
12202
  size: sectionproperties.remove_quantitybtn_textfontsize
12203
+ })), langdetect == 'ar' && /*#__PURE__*/React__default["default"].createElement("span", {
12204
+ className: "".concat(cart_cssstyles.add_quantitybtn_icon_container) + ' m-1 ',
12205
+ onClick: function onClick() {
12206
+ ChangeCartItemQuantityContext(item, parseInt(parseInt(item.quantity) + 1));
12207
+ }
12208
+ }, /*#__PURE__*/React__default["default"].createElement(FiPlus.FiPlus, {
12209
+ size: sectionproperties.add_quantitybtn_textfontsize
12234
12210
  })), /*#__PURE__*/React__default["default"].createElement("span", {
12235
12211
  className: "".concat(cart_cssstyles.quantitybtn_text) + ' d-flex align-items-center justify-content-center ',
12236
12212
  style: {
12237
12213
  background: 'transparent'
12238
12214
  }
12239
- }, item.quantity), /*#__PURE__*/React__default["default"].createElement("span", {
12215
+ }, item.quantity), langdetect == 'en' && /*#__PURE__*/React__default["default"].createElement("span", {
12240
12216
  className: "".concat(cart_cssstyles.add_quantitybtn_icon_container) + ' m-1 ',
12241
12217
  onClick: function onClick() {
12242
12218
  ChangeCartItemQuantityContext(item, parseInt(parseInt(item.quantity) + 1));
12243
12219
  }
12244
12220
  }, /*#__PURE__*/React__default["default"].createElement(FiPlus.FiPlus, {
12245
12221
  size: sectionproperties.add_quantitybtn_textfontsize
12222
+ })), langdetect == 'ar' && /*#__PURE__*/React__default["default"].createElement("span", {
12223
+ className: "".concat(cart_cssstyles.minus_quantitybtn_icon_container) + ' m-1 ',
12224
+ onClick: function onClick() {
12225
+ ChangeCartItemQuantityContext(item, parseInt(parseInt(item.quantity) - 1));
12226
+ }
12227
+ }, /*#__PURE__*/React__default["default"].createElement(FiMinus.FiMinus, {
12228
+ size: sectionproperties.remove_quantitybtn_textfontsize
12246
12229
  })))), /*#__PURE__*/React__default["default"].createElement("div", {
12247
12230
  "class": "col-3 p-0 d-flex justify-content-end align-items-center"
12248
12231
  }, /*#__PURE__*/React__default["default"].createElement("p", {
@@ -15268,7 +15251,7 @@ var CardsSection = function CardsSection(props) {
15268
15251
  } else if (item.tabexsectioninfo.sectioncompname == 'Card20') {
15269
15252
  bootstapclass = ' col-xl-12 p-0 col-lg-12 col-md-4 col-sm-10 d-flex justify-content-center p-0 ml-sm-auto mr-sm-auto';
15270
15253
  } else if (item.tabexsectioninfo.sectioncompname == 'Simplecategorycardwithtextbelow') {
15271
- bootstapclass = ' col-xl-12 p-0 col-lg-12 col-md-4 col-sm-6 d-flex justify-content-center p-0 ';
15254
+ bootstapclass = ' col-xl-12 p-0 col-lg-12 col-md-4 d-flex justify-content-center p-0 col-sm-' + sectionproperties.numberOfColsverticalresp;
15272
15255
  } else if (item.tabexsectioninfo.sectioncompname == 'Categorycard_with_twolinestransition') {
15273
15256
  bootstapclass = ' col-xl-12 p-0 col-lg-12 col-md-6 col-sm-12 d-flex justify-content-center p-0 ';
15274
15257
  } else if (item.tabexsectioninfo.sectioncompname == 'HorizontalCategoryCard') {
@@ -16364,6 +16347,10 @@ var Searchlist$1 = function Searchlist(props) {
16364
16347
  color: sectionproperties.searchlist_prodNameColorOnHover
16365
16348
  }
16366
16349
  }),
16350
+ productnamecont: glamor.css({
16351
+ paddingLeft: langdetect == 'en' ? '0.25rem' : 0,
16352
+ paddingRight: langdetect == 'ar' ? '0.25rem' : 0
16353
+ }),
16367
16354
  productNameStyles: glamor.css({
16368
16355
  fontSize: sectionproperties.searchlist_prodNameFontSize + 'px',
16369
16356
  textTransform: sectionproperties.searchlist_prodNameTextTranform,
@@ -16471,7 +16458,7 @@ var Searchlist$1 = function Searchlist(props) {
16471
16458
  borderRadius: sectionproperties.searchlist_prodimage_borderradius + 'px'
16472
16459
  }
16473
16460
  })), /*#__PURE__*/React__default["default"].createElement("div", {
16474
- "class": props.srcfromprops == 'StylishHeader' ? 'col-lg-11 col-md-11 col-sm-9 pl-1 pr-0 d-flex' : props.srcfromprops == 'searchlistsliderheaderfullwidth' ? 'col-lg-9 col-md-10 col-sm-9 pl-1 pr-0 d-flex' : 'col-lg-10 col-md-11 col-sm-9 pl-1 pr-0 d-flex',
16461
+ "class": props.srcfromprops == 'StylishHeader' ? searchlist_styles.productnamecont + ' col-lg-11 col-md-11 col-sm-9 d-flex ' : props.srcfromprops == 'searchlistsliderheaderfullwidth' ? searchlist_styles.productnamecont + ' col-lg-9 col-md-10 col-sm-9 d-flex ' : searchlist_styles.productnamecont + ' col-lg-10 col-md-11 col-sm-9 d-flex ',
16475
16462
  style: {
16476
16463
  alignItems: sectionproperties.searchlistshowprice == 'Show' ? 'start' : 'center'
16477
16464
  }
@@ -18214,8 +18201,8 @@ var HeaderresponsiveStyle2 = function HeaderresponsiveStyle2(props) {
18214
18201
  setmenuactive = _useState6[1];
18215
18202
  var _useState7 = React.useState(false),
18216
18203
  _useState8 = _slicedToArray__default["default"](_useState7, 2),
18217
- openSearch = _useState8[0],
18218
- setopenSearch = _useState8[1];
18204
+ openSearch = _useState8[0];
18205
+ _useState8[1];
18219
18206
  React.useEffect(function () {
18220
18207
  if (props.sectionpropertiesprops != undefined) {
18221
18208
  setsectionproperties(_objectSpread$1T({}, props.sectionpropertiesprops));
@@ -18486,12 +18473,7 @@ var HeaderresponsiveStyle2 = function HeaderresponsiveStyle2(props) {
18486
18473
  }
18487
18474
  }))), /*#__PURE__*/React__default["default"].createElement("div", {
18488
18475
  className: "col-md-6 col-sm-6 d-flex align-items-center justify-content-end p-0"
18489
- }, /*#__PURE__*/React__default["default"].createElement("i", {
18490
- "class": "h-100 allcentered",
18491
- onClick: function onClick() {
18492
- setopenSearch(true);
18493
- }
18494
- }, /*#__PURE__*/React__default["default"].createElement(IoSearchOutline.IoSearchOutline, null)), sectionproperties.cartBtnShow == 'Show' && CartButton(), /*#__PURE__*/React__default["default"].createElement("i", {
18476
+ }, sectionproperties.cartBtnShow == 'Show' && CartButton(), /*#__PURE__*/React__default["default"].createElement("i", {
18495
18477
  "class": ' h-100 allcentered ',
18496
18478
  style: {
18497
18479
  color: sectionproperties.cart_BtnTextcolor_resp
@@ -18666,7 +18648,7 @@ var ElegantHeader = function ElegantHeader(props) {
18666
18648
  var StatePagePropertiesContext = props.actions.StatePagePropertiesContext;
18667
18649
  var lang = props.actions.lang;
18668
18650
  var langdetect = props.actions.langdetect;
18669
- props.actions.setlang;
18651
+ var setlang = props.actions.setlang;
18670
18652
  var templatepropcontext = props.actions.templatepropcontext;
18671
18653
  var authdetailsContext = props.actions.authdetailsContext;
18672
18654
  var templateproperties_context = props.actions.templateproperties_context;
@@ -18997,7 +18979,10 @@ var ElegantHeader = function ElegantHeader(props) {
18997
18979
  }, 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", {
18998
18980
  "class": "col-lg-4 p-0 text-end"
18999
18981
  }, langdetect == 'ar' && /*#__PURE__*/React__default["default"].createElement("div", {
19000
- "class": "".concat(header_cssstyles.languagecontainer) + ' allcentered mx-4 '
18982
+ "class": "".concat(header_cssstyles.languagecontainer) + ' allcentered mx-4 ',
18983
+ onClick: function onClick() {
18984
+ setlang('en');
18985
+ }
19001
18986
  }, /*#__PURE__*/React__default["default"].createElement("img", {
19002
18987
  src: 'https://tabex-co.com/storage/StaticImages/egyptflag.png',
19003
18988
  style: {
@@ -19014,7 +18999,10 @@ var ElegantHeader = function ElegantHeader(props) {
19014
18999
  }), /*#__PURE__*/React__default["default"].createElement("p", {
19015
19000
  "class": "m-0 p-0"
19016
19001
  }, "\u0639")), langdetect == 'en' && /*#__PURE__*/React__default["default"].createElement("div", {
19017
- "class": "".concat(header_cssstyles.languagecontainer) + ' allcentered mx-4 '
19002
+ "class": "".concat(header_cssstyles.languagecontainer) + ' allcentered mx-4 ',
19003
+ onClick: function onClick() {
19004
+ setlang('ar');
19005
+ }
19018
19006
  }, /*#__PURE__*/React__default["default"].createElement("img", {
19019
19007
  src: 'https://tabex-co.com/storage/StaticImages/usflag.png',
19020
19008
  style: {
@@ -19033,7 +19021,7 @@ var ElegantHeader = function ElegantHeader(props) {
19033
19021
  }, "En")), /*#__PURE__*/React__default["default"].createElement("div", {
19034
19022
  "class": "allcentered"
19035
19023
  }, /*#__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", {
19036
- "class": "".concat(header_cssstyles.user_btn) + ' d-flex align-items-center justify-content-center ',
19024
+ "class": "".concat(header_cssstyles.user_btn) + ' d-flex align-items-center justify-content-center pt-1 ',
19037
19025
  sytle: {
19038
19026
  position: 'relative'
19039
19027
  },
@@ -19170,7 +19158,7 @@ var ElegantHeader = function ElegantHeader(props) {
19170
19158
  top: sectionproperties.wishlistbadgetop + 'px',
19171
19159
  right: sectionproperties.wishlistbadgeright + 'px'
19172
19160
  }
19173
- }, /*#__PURE__*/React__default["default"].createElement("span", null, favoriteprojectscountContext.length >= 10 ? '+9' : favoriteprojectscountContext.length)))), sectionproperties.cartBtnShow == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
19161
+ }, /*#__PURE__*/React__default["default"].createElement("span", null, favoriteprojectscountContext.length >= 10 ? '+9' : favoriteprojectscountContext.length == 0 ? 0 : favoriteprojectscountContext.length)))), sectionproperties.cartBtnShow == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
19174
19162
  "class": " ".concat(header_cssstyles.cart_btn) + ' cursor-pointer allcentered ',
19175
19163
  onClick: function onClick() {
19176
19164
  setsidecartnavshowcontext(true);
@@ -24367,16 +24355,6 @@ var Simpleheader = function Simpleheader(props) {
24367
24355
  }), sectionproperties.faviconshape == 'Star Shape' && /*#__PURE__*/React__default["default"].createElement(AiFillStar$1.AiFillStar, {
24368
24356
  "class": langdetect == 'en' ? 'mr-2' : 'ml-2'
24369
24357
  }), " ", lang.wishlist))), /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"].Divider, null), /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"].Item, {
24370
- onClick: function onClick() {
24371
- routingcountext(StaticPagesLinksContext.Policies);
24372
- }
24373
- }, /*#__PURE__*/React__default["default"].createElement("div", {
24374
- "class": "".concat(header_cssstyles.dropdownitemcontainer) + ' allcenetered m-0 p-0 '
24375
- }, /*#__PURE__*/React__default["default"].createElement("p", {
24376
- "class": "".concat(header_cssstyles.dropdownitem) + ' dropdownitem allcenetered m-0 p-0 '
24377
- }, /*#__PURE__*/React__default["default"].createElement(AiOutlineSecurityScan.AiOutlineSecurityScan, {
24378
- "class": langdetect == 'en' ? 'mr-2' : 'ml-2'
24379
- }), lang.policies))), /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"].Divider, null), /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"].Item, {
24380
24358
  onClick: function onClick() {
24381
24359
  LogoutMutationContext.mutate();
24382
24360
  }
@@ -34471,10 +34449,14 @@ var TwoTieredHeader = function TwoTieredHeader(props) {
34471
34449
  }, /*#__PURE__*/React__default["default"].createElement("div", {
34472
34450
  "class": langdetect == 'en' ? "".concat(header_cssstyles.categorydropdownbtn) + ' row w-100 m-0 align-items-center pl-2 ' : "".concat(header_cssstyles.categorydropdownbtn) + ' row w-100 m-0 align-items-center pr-2 ',
34473
34451
  style: {
34474
- display: 'flex'
34452
+ display: 'flex',
34453
+ color: '#000'
34475
34454
  }
34476
34455
  }, /*#__PURE__*/React__default["default"].createElement("div", {
34477
- "class": 'col-lg-10 d-flex justify-content-start m-0 p-0'
34456
+ "class": header_cssstyles.categorydropdownbtn + ' col-lg-10 d-flex justify-content-start m-0 p-0 ',
34457
+ style: {
34458
+ color: '#000'
34459
+ }
34478
34460
  }, langdetect == 'en' ? sectionproperties.generalbtn_content : sectionproperties.slideshow_btn_text_ar), /*#__PURE__*/React__default["default"].createElement("div", {
34479
34461
  "class": "col-lg-2 p-0 h-100 d-flex align-items-center justify-content-end"
34480
34462
  }, /*#__PURE__*/React__default["default"].createElement("i", {
@@ -43026,7 +43008,7 @@ var ModernCardsSection = function ModernCardsSection(props) {
43026
43008
  fontSize: sectionproperties.sectionTitleFontSizeresp + 'px'
43027
43009
  }
43028
43010
  }, SectionTitle()), sectionproperties.prodCatShow == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
43029
- "class": sectionproperties.sectiontitleposition == 'Centered' ? 'col-lg-12 d-flex align-items-center justify-content-center mb-md-0' : 'col-lg-12 d-flex align-items-center justify-content-start justify-content-md-center mb-md-0',
43011
+ "class": sectionproperties.sectiontitleposition == 'Centered' ? 'col-lg-12 d-flex align-items-center justify-content-center mb-md-0' : 'col-lg-12 d-flex align-items-center justify-content-start justify-content-md-center mb-md-0 p-0',
43030
43012
  style: {
43031
43013
  marginBottom: sectionproperties.descriptionMarginBottom + 'px'
43032
43014
  }
@@ -43089,7 +43071,10 @@ var ModernCardsSection = function ModernCardsSection(props) {
43089
43071
  }, /*#__PURE__*/React__default["default"].createElement(reactHorizontalScrollingMenu.ScrollMenu, {
43090
43072
  transitionBehavior: 'auto',
43091
43073
  wrapperClassName: '',
43092
- itemClassName: item.tabexsectioninfo.sectioncompname == 'Productcard6' ? 'scrollmenuclassnameitemProductcard6' : item.tabexsectioninfo.sectioncompname == 'Productcard_with_circularhover' ? 'scrollmenuclassnameitemProductcardcircularhover' : item.tabexsectioninfo.sectioncompname == 'Productcard_with_circularbg' ? 'scrollmenuclassnameitemProductcard_with_circularbg' : item.tabexsectioninfo.sectioncompname == 'Categorycard_with_twolinestransition' ? 'scrollmenuclassnameitemCategorycard_with_twolinestransition' : item.tabexsectioninfo.sectioncompname == 'Productcard_with_slideanimation' ? 'scrollmenuclassnameitemProductcard_with_slideanimation' : item.tabexsectioninfo.sectioncompname == 'Categorycard_withtext' ? 'scrollmenuclassnameitemCategorycard_withtext' : item.tabexsectioninfo.sectioncompname == 'Productcard_animatedbuttons' ? 'scrollmenuclassnameitemProductcard_animatedbuttons' : item.tabexsectioninfo.sectioncompname == 'Productcard_with_variants' ? 'scrollmenuclassnameitemProductcard_with_variants' : item.tabexsectioninfo.sectioncompname == 'Productcarddefault' ? 'scrollmenuclassnameitemProductcarddefault' : item.tabexsectioninfo.sectioncompname == 'Simpleproductcard' ? section_cssstyles.scrollmenuclassnameitemSimpleproductcard + ' scrollmenuclassnameitemSimpleproductcard ' : item.tabexsectioninfo.sectioncompname == 'Categorycard_with_trianglebg' ? 'scrollmenuclassnameitemCategorycard_with_trianglebg' : item.tabexsectioninfo.sectioncompname == 'Productcard_with_textonhover' ? 'scrollmenuclassnameitemProductcard_with_textonhover' : item.tabexsectioninfo.sectioncompname == 'Categorycard_slidebgscaled' ? 'scrollmenuclassnameitemCategorycard_slidebgscaled' : item.tabexsectioninfo.sectioncompname == 'Categorycard_fullimage' ? 'scrollmenuclassnameitemCategorycard_Categorycard_fullimage' : item.tabexsectioninfo.sectioncompname == 'Card20' ? 'scrollmenuclassnameitemCard20' : item.tabexsectioninfo.sectioncompname == 'UpSlideEffectCard' ? 'scrollmenuclassnameitemUpSlideEffectCard' : '',
43074
+ itemClassName: item.tabexsectioninfo.sectioncompname == 'Productcard6' ? 'scrollmenuclassnameitemProductcard6' : item.tabexsectioninfo.sectioncompname == 'Productcard_with_circularhover' ? 'scrollmenuclassnameitemProductcardcircularhover' : item.tabexsectioninfo.sectioncompname == 'Productcard_with_circularbg' ? 'scrollmenuclassnameitemProductcard_with_circularbg' : item.tabexsectioninfo.sectioncompname == 'Categorycard_with_twolinestransition' ? 'scrollmenuclassnameitemCategorycard_with_twolinestransition' : item.tabexsectioninfo.sectioncompname == 'Productcard_with_slideanimation' ? 'scrollmenuclassnameitemProductcard_with_slideanimation' : item.tabexsectioninfo.sectioncompname == 'Categorycard_withtext' ? 'scrollmenuclassnameitemCategorycard_withtext' : item.tabexsectioninfo.sectioncompname == 'Productcard_animatedbuttons' ? 'scrollmenuclassnameitemProductcard_animatedbuttons' : item.tabexsectioninfo.sectioncompname == 'Productcard_with_variants' ? 'scrollmenuclassnameitemProductcard_with_variants' : item.tabexsectioninfo.sectioncompname == 'Productcarddefault' ? 'scrollmenuclassnameitemProductcarddefault' :
43075
+ // : item.tabexsectioninfo.sectioncompname == 'Simpleproductcard'
43076
+ // ? section_cssstyles.scrollmenuclassnameitemSimpleproductcard + ' scrollmenuclassnameitemSimpleproductcard '
43077
+ item.tabexsectioninfo.sectioncompname == 'Categorycard_with_trianglebg' ? 'scrollmenuclassnameitemCategorycard_with_trianglebg' : item.tabexsectioninfo.sectioncompname == 'Productcard_with_textonhover' ? 'scrollmenuclassnameitemProductcard_with_textonhover' : item.tabexsectioninfo.sectioncompname == 'Categorycard_slidebgscaled' ? 'scrollmenuclassnameitemCategorycard_slidebgscaled' : item.tabexsectioninfo.sectioncompname == 'Categorycard_fullimage' ? 'scrollmenuclassnameitemCategorycard_Categorycard_fullimage' : item.tabexsectioninfo.sectioncompname == 'Card20' ? 'scrollmenuclassnameitemCard20' : item.tabexsectioninfo.sectioncompname == 'UpSlideEffectCard' ? 'scrollmenuclassnameitemUpSlideEffectCard' : '',
43093
43078
  scrollContainerClassName: 'scrollmenuclasssubscrollbar'
43094
43079
  }, cardsarray.map(function (cardinfoitem, cardinfoindex) {
43095
43080
  return /*#__PURE__*/React__default["default"].createElement("div", {
@@ -47279,18 +47264,14 @@ var BackgroundImageWithTopContent = function BackgroundImageWithTopContent(props
47279
47264
  }, [sectionproperties]);
47280
47265
  var sectionstyles = {
47281
47266
  btnstyles: glamor.css({
47282
- width: sectionproperties.generalbtn_width + 'px',
47267
+ width: sectionproperties.generalbtn_width + '%',
47283
47268
  height: sectionproperties.generalbtn_height + 'px',
47284
47269
  background: sectionproperties.generalbtn_bgColor,
47285
- borderTopLeftRadius: sectionproperties.generalbtn_bordertopleftradius + 'px',
47286
- borderTopRightRadius: sectionproperties.generalbtn_bordertoprightradius + 'px',
47287
- borderBottomLeftRadius: sectionproperties.generalbtn_borderbottomleftradius + 'px',
47288
- borderBottomRightRadius: sectionproperties.generalbtn_borderbottomrightradius + 'px',
47270
+ borderRadius: sectionproperties.generalbtnborderradius + 'px',
47289
47271
  border: sectionproperties.generalbtn_borderwidth + 'px solid ' + sectionproperties.generalbtn_bordercolor,
47290
47272
  color: sectionproperties.generalbtn_textColor,
47291
47273
  fontSize: sectionproperties.generalbtn_fontsize + 'px',
47292
47274
  fontWeight: sectionproperties.generalbtn_fontweight,
47293
- textTransform: sectionproperties.generalbtn_texttransform,
47294
47275
  ':hover': {
47295
47276
  transition: '.3s',
47296
47277
  background: sectionproperties.generalbtn_bgColoronhover,
@@ -47348,6 +47329,7 @@ var BackgroundImageWithTopContent = function BackgroundImageWithTopContent(props
47348
47329
  position: 'relative',
47349
47330
  marginLeft: sectionproperties.card_marginLeft + 'px',
47350
47331
  marginRight: sectionproperties.card_marginRight + 'px',
47332
+ backgroundColor: 'white',
47351
47333
  '@media (max-width: 800px)': {
47352
47334
  height: sectionproperties.height_responsive + 'vh'
47353
47335
  }
@@ -47370,7 +47352,7 @@ var BackgroundImageWithTopContent = function BackgroundImageWithTopContent(props
47370
47352
  height: '100%',
47371
47353
  objectFit: 'cover'
47372
47354
  }
47373
- })), sectionproperties.cardstyletype == 'Style 1' && /*#__PURE__*/React__default["default"].createElement("div", {
47355
+ })), sectionproperties.sectionstyletype == 'Style 1' && /*#__PURE__*/React__default["default"].createElement("div", {
47374
47356
  "class": "row m-0 w-100 justify-content-center mt-sm-5 mb-sm-5"
47375
47357
  }, /*#__PURE__*/React__default["default"].createElement("div", {
47376
47358
  "class": "col-lg-6 col-md-9 col-sm-9 p-0 mt-auto mb-auto text-align-start"
@@ -47436,7 +47418,7 @@ var BackgroundImageWithTopContent = function BackgroundImageWithTopContent(props
47436
47418
  // onClick={() => {
47437
47419
  // routingcountext(StaticPagesLinksContext.GeneralProductsComponent);
47438
47420
  // }}
47439
- }, langdetect == 'en' ? sectionproperties.generalbtn_content : sectionproperties.slideshow_btn_text_ar)))), sectionproperties.cardstyletype == 'Style 2' && /*#__PURE__*/React__default["default"].createElement("div", {
47421
+ }, langdetect == 'en' ? sectionproperties.generalbtn_content : sectionproperties.slideshow_btn_text_ar)))), sectionproperties.sectionstyletype == 'Style 2' && /*#__PURE__*/React__default["default"].createElement("div", {
47440
47422
  "class": "row m-0 w-100 allcentered",
47441
47423
  style: {
47442
47424
  zIndex: 2
@@ -47505,9 +47487,7 @@ var BackgroundImageWithTopContent = function BackgroundImageWithTopContent(props
47505
47487
  getOptionValue: function getOptionValue(option) {
47506
47488
  return option.collectionid;
47507
47489
  },
47508
- autocomplete: "new-password"
47509
- // value={fetchTabexCountriesQueryContext.data.data.countries.filter((option) => option.id == props?.payloadobj?.countryid)}
47510
- ,
47490
+ autocomplete: "new-password",
47511
47491
  onChange: function onChange(option) {
47512
47492
  var temp = payloadobj;
47513
47493
  temp.collections = [];
@@ -47519,10 +47499,7 @@ var BackgroundImageWithTopContent = function BackgroundImageWithTopContent(props
47519
47499
  placeholder: ''
47520
47500
  })), /*#__PURE__*/React__default["default"].createElement("div", {
47521
47501
  "class": sectionproperties.showcollectionsfilter == 'Show' && sectionproperties.showpricerange == 'Show' && sectionproperties.showpricerange == 'Show' ? 'col-lg-8 p-0' : sectionproperties.showpricerange == 'Show' ? 'col-lg-9 p-0' : sectionproperties.showcollectionsfilter == 'Show' && sectionproperties.showcollectionsfilter == 'Show' && sectionproperties.showpricerange == 'Hide' ? 'col-lg-8 p-0' : 'col-lg-12 p-0'
47522
- }, /*#__PURE__*/React__default["default"].createElement(CustomerAddressForm
47523
- // customeraddressrequierd={customeraddressrequierd}
47524
- // payloadobj={payloadobj}
47525
- , {
47502
+ }, /*#__PURE__*/React__default["default"].createElement(CustomerAddressForm, {
47526
47503
  payloadobj: payloadobj,
47527
47504
  setpayloadobj: setpayloadobj,
47528
47505
  sectionproperties: sectionproperties
@@ -47603,7 +47580,191 @@ var BackgroundImageWithTopContent = function BackgroundImageWithTopContent(props
47603
47580
  routingcountext(StaticPagesLinksContext.Innervendor, true, encodeURIComponent(JSON.stringify(tempfetchproductsfilerobjcontext)));
47604
47581
  }
47605
47582
  }
47606
- }, langdetect == 'en' ? sectionproperties.generalbtn_content : sectionproperties.slideshow_btn_text_ar)))))));
47583
+ }, langdetect == 'en' ? sectionproperties.generalbtn_content : sectionproperties.slideshow_btn_text_ar)))))), sectionproperties.sectionstyletype == 'Style 3' && /*#__PURE__*/React__default["default"].createElement("div", {
47584
+ "class": "row m-0 w-100 allcentered mt-auto mb-4 px-4",
47585
+ style: {
47586
+ zIndex: 2
47587
+ }
47588
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
47589
+ "class": "row m-0 w-100 d-flex align-items-center justify-content-start"
47590
+ }, sectionproperties.sectiontitleshow == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
47591
+ "class": "col-lg-12 col-md-12 col-sm-12 p-0 d-flex align-items-center justify-content-start"
47592
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
47593
+ "class": "wordbreak",
47594
+ style: {
47595
+ fontSize: sectionproperties.sectionTitleFontSize + 'px',
47596
+ color: sectionproperties.sectionTitleColor,
47597
+ textTransform: sectionproperties.sectionTitleTextTransform,
47598
+ fontWeight: sectionproperties.sectionTitleFontWeight,
47599
+ textAlign: langdetect == 'en' ? 'left' : 'right',
47600
+ marginBottom: sectionproperties.prodCatShow == 'Show' ? 0 : 20
47601
+ }
47602
+ }, langdetect == 'en' ? sectionproperties.sectionTitleContent : sectionproperties.sectionTitleContent_ar)), sectionproperties.prodCatShow == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
47603
+ "class": "col-lg-12 col-md-12 col-sm-12 p-0 allcentered"
47604
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
47605
+ style: {
47606
+ fontSize: sectionproperties.prodCatFontSize + 'px',
47607
+ color: sectionproperties.prodCatColor,
47608
+ textTransform: sectionproperties.prodCatTextTranform,
47609
+ fontWeight: sectionproperties.prodCatFontWeight,
47610
+ maxWidth: '500px'
47611
+ }
47612
+ }, langdetect == 'en' ? sectionproperties.descriptionContentEn : sectionproperties.descriptionContentAr)), /*#__PURE__*/React__default["default"].createElement("div", {
47613
+ "class": 'col-lg-10 col-md-12 col-sm-12 allcentered mt-3',
47614
+ style: {
47615
+ backgroundColor: sectionproperties.reservation_bgcolor,
47616
+ borderRadius: sectionproperties.reservation_borderradius + 'px',
47617
+ paddingTop: sectionproperties.reservation_padding_top + 'px',
47618
+ paddingBottom: sectionproperties.reservation_padding_bottom + 'px',
47619
+ paddingLeft: sectionproperties.reservation_padding_left + 'px',
47620
+ paddingRight: sectionproperties.reservation_padding_right + 'px'
47621
+ }
47622
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
47623
+ "class": "row m-0 w-100 allcentered"
47624
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
47625
+ "class": "col-lg-12 p-0"
47626
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
47627
+ "class": "row m-0 w-100 d-flex align-items-center justify-content-start"
47628
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
47629
+ "class": "col-lg-2 col-md-12 d-flex flex-column align-items-center justify-content-start mb-md-3"
47630
+ }, /*#__PURE__*/React__default["default"].createElement("label", {
47631
+ className: "".concat(sectionstyles.input_label_name) + ' mb-3 w-100 ',
47632
+ style: {
47633
+ textAlign: langdetect == 'en' ? 'left' : 'right'
47634
+ }
47635
+ }, langdetect == 'en' ? 'Brand' : 'الماركة'), /*#__PURE__*/React__default["default"].createElement("div", {
47636
+ "class": 'col-lg-12 p-0'
47637
+ }, /*#__PURE__*/React__default["default"].createElement(Select__default["default"], {
47638
+ options: [{
47639
+ label: 'Tesla',
47640
+ value: 1
47641
+ }, {
47642
+ label: 'VW',
47643
+ value: 0
47644
+ }, {
47645
+ label: 'BYD',
47646
+ value: 0
47647
+ }],
47648
+ styles: langdetect == 'en' ? defaultstyles : defaultstylestranslated,
47649
+ placeholder: ''
47650
+ }))), /*#__PURE__*/React__default["default"].createElement("div", {
47651
+ "class": "col-lg-2 col-md-12 d-flex flex-column align-items-center justify-content-start mb-md-3"
47652
+ }, /*#__PURE__*/React__default["default"].createElement("label", {
47653
+ className: "".concat(sectionstyles.input_label_name) + ' mb-3 w-100 ',
47654
+ style: {
47655
+ textAlign: langdetect == 'en' ? 'left' : 'right'
47656
+ }
47657
+ }, langdetect == 'en' ? 'KM' : 'KM'), /*#__PURE__*/React__default["default"].createElement("div", {
47658
+ "class": 'col-lg-12 p-0'
47659
+ }, /*#__PURE__*/React__default["default"].createElement(Select__default["default"], {
47660
+ options: [{
47661
+ label: '100000',
47662
+ value: 1
47663
+ }, {
47664
+ label: '50000',
47665
+ value: 0
47666
+ }, {
47667
+ label: '30000',
47668
+ value: 0
47669
+ }],
47670
+ styles: langdetect == 'en' ? defaultstyles : defaultstylestranslated,
47671
+ placeholder: ''
47672
+ }))), /*#__PURE__*/React__default["default"].createElement("div", {
47673
+ "class": "col-lg-2 col-md-12 d-flex flex-column align-items-center justify-content-start mb-md-3"
47674
+ }, /*#__PURE__*/React__default["default"].createElement("label", {
47675
+ className: "".concat(sectionstyles.input_label_name) + ' mb-3 w-100 ',
47676
+ style: {
47677
+ textAlign: langdetect == 'en' ? 'left' : 'right'
47678
+ }
47679
+ }, langdetect == 'en' ? 'Model Year' : 'السنة'), /*#__PURE__*/React__default["default"].createElement("div", {
47680
+ "class": 'col-lg-12 p-0'
47681
+ }, /*#__PURE__*/React__default["default"].createElement(Select__default["default"], {
47682
+ options: [{
47683
+ label: '2023',
47684
+ value: 1
47685
+ }, {
47686
+ label: '2022',
47687
+ value: 0
47688
+ }, {
47689
+ label: '2021',
47690
+ value: 0
47691
+ }],
47692
+ styles: langdetect == 'en' ? defaultstyles : defaultstylestranslated,
47693
+ placeholder: ''
47694
+ }))), /*#__PURE__*/React__default["default"].createElement("div", {
47695
+ className: "".concat(langdetect == 'en' ? 'text-left' : 'text-right') + ' col-lg-3 col-md-12 col-sm-12 mb-md-3 '
47696
+ }, /*#__PURE__*/React__default["default"].createElement("label", {
47697
+ className: "".concat(sectionstyles.input_label_name) + ' mb-3 w-100',
47698
+ style: {
47699
+ textAlign: langdetect == 'en' ? 'left' : 'right'
47700
+ }
47701
+ }, langdetect == 'en' ? 'Price' : 'السعر'), /*#__PURE__*/React__default["default"].createElement("div", {
47702
+ "class": 'col-lg-12 pl-4 pr-4 mt-2 mb-2',
47703
+ style: {
47704
+ direction: 'ltr'
47705
+ }
47706
+ }, /*#__PURE__*/React__default["default"].createElement(InputRange__default["default"], {
47707
+ draggableTrack: true,
47708
+ formatLabel: function formatLabel(value) {
47709
+ return "".concat(value);
47710
+ },
47711
+ maxValue: parseInt(sectionproperties.filterpricemaxvalue),
47712
+ minValue: parseInt(sectionproperties.filterpriceminvalue),
47713
+ value: pricevalue,
47714
+ onChange: function onChange(value) {
47715
+ setpricevalue(_objectSpread$16({}, value));
47716
+ }
47717
+ }))), /*#__PURE__*/React__default["default"].createElement("div", {
47718
+ "class": "col-lg-1"
47719
+ }), /*#__PURE__*/React__default["default"].createElement("div", {
47720
+ "class": "col-lg-2 col-md-12 d-flex align-items-center justify-content-end"
47721
+ }, /*#__PURE__*/React__default["default"].createElement("button", {
47722
+ "class": sectionstyles.btnstyles + ' allcentered ',
47723
+ onClick: function onClick() {
47724
+ var _payloadobj$countryid2, _payloadobj$stateid2, _payloadobj$cityid2, _pricevalue$min2, _pricevalue$max2;
47725
+ var tempfetchproductsfilerobjcontext = _objectSpread$16({}, fetchproductsfilerobjcontext);
47726
+ if ((payloadobj === null || payloadobj === void 0 ? void 0 : payloadobj.countryid) != null && (payloadobj === null || payloadobj === void 0 || (_payloadobj$countryid2 = payloadobj.countryid) === null || _payloadobj$countryid2 === void 0 ? void 0 : _payloadobj$countryid2.length) != 0) {
47727
+ if ((sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.generalbtnonclick) == 'Products') {
47728
+ tempfetchproductsfilerobjcontext.country_ids = [payloadobj.countryid];
47729
+ } else {
47730
+ tempfetchproductsfilerobjcontext.countryid = payloadobj.countryid;
47731
+ }
47732
+ }
47733
+ if ((payloadobj === null || payloadobj === void 0 ? void 0 : payloadobj.stateid) != null && (payloadobj === null || payloadobj === void 0 || (_payloadobj$stateid2 = payloadobj.stateid) === null || _payloadobj$stateid2 === void 0 ? void 0 : _payloadobj$stateid2.length) != 0) {
47734
+ if ((sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.generalbtnonclick) == 'Products') {
47735
+ tempfetchproductsfilerobjcontext.state_ids = [payloadobj.stateid];
47736
+ } else {
47737
+ tempfetchproductsfilerobjcontext.stateid = payloadobj.stateid;
47738
+ }
47739
+ }
47740
+ if ((payloadobj === null || payloadobj === void 0 ? void 0 : payloadobj.cityid) != null && (payloadobj === null || payloadobj === void 0 || (_payloadobj$cityid2 = payloadobj.cityid) === null || _payloadobj$cityid2 === void 0 ? void 0 : _payloadobj$cityid2.length) != 0) {
47741
+ if ((sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.generalbtnonclick) == 'Products') {
47742
+ tempfetchproductsfilerobjcontext.city_ids = [payloadobj.cityid];
47743
+ } else {
47744
+ tempfetchproductsfilerobjcontext.cityid = payloadobj.cityid;
47745
+ }
47746
+ }
47747
+ if ((payloadobj === null || payloadobj === void 0 ? void 0 : payloadobj.collections) != null && payloadobj.collections.length != 0) {
47748
+ tempfetchproductsfilerobjcontext.collections = payloadobj.collections;
47749
+ }
47750
+ if ((pricevalue === null || pricevalue === void 0 ? void 0 : pricevalue.min) != null && (pricevalue === null || pricevalue === void 0 || (_pricevalue$min2 = pricevalue.min) === null || _pricevalue$min2 === void 0 ? void 0 : _pricevalue$min2.length) != 0) {
47751
+ tempfetchproductsfilerobjcontext.price_min = pricevalue.min;
47752
+ }
47753
+ if ((pricevalue === null || pricevalue === void 0 ? void 0 : pricevalue.max) != null && (pricevalue === null || pricevalue === void 0 || (_pricevalue$max2 = pricevalue.max) === null || _pricevalue$max2 === void 0 ? void 0 : _pricevalue$max2.length) != 0) {
47754
+ if (sectionproperties.showpricerange == 'Hide') {
47755
+ tempfetchproductsfilerobjcontext.price_max = 99999999999999;
47756
+ } else {
47757
+ tempfetchproductsfilerobjcontext.price_max = pricevalue.max;
47758
+ }
47759
+ }
47760
+ if ((sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.generalbtnonclick) == 'Products') {
47761
+ routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, encodeURIComponent(JSON.stringify(tempfetchproductsfilerobjcontext)));
47762
+ }
47763
+ if ((sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.generalbtnonclick) == 'Vendors') {
47764
+ routingcountext(StaticPagesLinksContext.Innervendor, true, encodeURIComponent(JSON.stringify(tempfetchproductsfilerobjcontext)));
47765
+ }
47766
+ }
47767
+ }, langdetect == 'en' ? sectionproperties.generalbtn_content : sectionproperties.slideshow_btn_text_ar)))))))));
47607
47768
  };
47608
47769
 
47609
47770
  function ownKeys$15(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; }
@@ -65452,7 +65613,7 @@ var Simpleproductcard = function Simpleproductcard(props) {
65452
65613
  }), sectionproperties.carticonstyle == 'Shopping cart 2' && /*#__PURE__*/React__default["default"].createElement(MdAddShoppingCart.MdAddShoppingCart, {
65453
65614
  size: sectionproperties.cartBtn_iconFontSize
65454
65615
  })), langdetect == 'en' ? sectionproperties.cartBtnContentenglish : sectionproperties.cartBtnContentarabic)))), sectionproperties.showrating == 'Show' && item.productcanrate == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
65455
- "class": "col-lg-12 d-flex align-items-center",
65616
+ "class": "col-lg-12 d-flex align-items-center p-0",
65456
65617
  style: {
65457
65618
  justifyContent: sectionproperties.productnamecentered == 'Centered' ? 'center' : 'start'
65458
65619
  }