tabexseriescomponents 0.0.348 → 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.esm.js CHANGED
@@ -29,10 +29,7 @@ import { FiShoppingBag } from '@react-icons/all-files/fi/FiShoppingBag';
29
29
  import { FiShoppingCart } from '@react-icons/all-files/fi/FiShoppingCart';
30
30
  import { AiFillStar as AiFillStar$1 } from '@react-icons/all-files/ai/AiFillStar';
31
31
  import { AiOutlineStar } from '@react-icons/all-files/ai/AiOutlineStar';
32
- import { AiOutlineTwitter } from '@react-icons/all-files/ai/AiOutlineTwitter';
33
- import { FaWhatsapp } from '@react-icons/all-files/fa/FaWhatsapp';
34
- import { FaLinkedinIn } from '@react-icons/all-files/fa/FaLinkedinIn';
35
- import { FacebookShareButton, TwitterShareButton, WhatsappShareButton, LinkedinShareButton, FacebookIcon, TwitterIcon, WhatsappIcon, LinkedinIcon } from 'react-share';
32
+ import { FacebookShareButton, FacebookIcon, TwitterShareButton, TwitterIcon, WhatsappShareButton, WhatsappIcon, LinkedinShareButton, LinkedinIcon } from 'react-share';
36
33
  import { FiMinus } from '@react-icons/all-files/fi/FiMinus';
37
34
  import { FiPlus } from '@react-icons/all-files/fi/FiPlus';
38
35
  import ReactStars from 'react-rating-stars-component';
@@ -56,7 +53,7 @@ import { HiOutlineChevronLeft } from '@react-icons/all-files/hi/HiOutlineChevron
56
53
  import { GoGlobe } from '@react-icons/all-files/go/GoGlobe';
57
54
  import { VscGlobe } from '@react-icons/all-files/vsc/VscGlobe';
58
55
  import { HiOutlineTrash } from '@react-icons/all-files/hi/HiOutlineTrash';
59
- import '@react-icons/all-files/bi/BiSad';
56
+ import { BiSad } from '@react-icons/all-files/bi/BiSad';
60
57
  import { FiCalendar } from '@react-icons/all-files/fi/FiCalendar';
61
58
  import Dropdown from 'react-bootstrap/Dropdown';
62
59
  import _asyncToGenerator from '@babel/runtime/helpers/asyncToGenerator';
@@ -91,6 +88,7 @@ import { HiOutlineArrowLeft } from '@react-icons/all-files/hi/HiOutlineArrowLeft
91
88
  import ReactPaginate from 'react-paginate';
92
89
  import { FaFacebook } from '@react-icons/all-files/fa/FaFacebook';
93
90
  import { AiFillInstagram } from '@react-icons/all-files/ai/AiFillInstagram';
91
+ import { FaWhatsapp } from '@react-icons/all-files/fa/FaWhatsapp';
94
92
  import { BiGlobe } from '@react-icons/all-files/bi/BiGlobe';
95
93
  import { MdKeyboardArrowDown } from '@react-icons/all-files/md/MdKeyboardArrowDown';
96
94
  import { FaMoneyBillWave } from '@react-icons/all-files/fa/FaMoneyBillWave';
@@ -2130,12 +2128,15 @@ var DescriptionContent = function DescriptionContent(props) {
2130
2128
  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; }
2131
2129
  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(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; }
2132
2130
  var Product_itemtype = function Product_itemtype(props) {
2133
- 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;
2131
+ 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;
2134
2132
  var lang = props.actions.lang;
2135
2133
  var langdetect = props.actions.langdetect;
2136
2134
  var srcfromprops = props.actions.srcfromprops;
2135
+ props.actions.returnpolicyobj;
2137
2136
  var productinfo_cssstyles = props.actions.productinfo_cssstyles;
2138
2137
  var addtocartfunc = props.actions.addtocartfunc;
2138
+ props.actions.selectproductoptionvalue;
2139
+ props.actions.clearchoosenvaluesbutkeepcurrentvalue;
2139
2140
  var productimagesarray = props.actions.productimagesarray;
2140
2141
  var fetchProductInfoQueryContext = props.actions.fetchProductInfoQueryContext;
2141
2142
  var sectionproperties = props.actions.sectionproperties;
@@ -2196,395 +2197,71 @@ var Product_itemtype = function Product_itemtype(props) {
2196
2197
  }
2197
2198
  return titlelang;
2198
2199
  }
2199
- var GalleryStyle1Section = function GalleryStyle1Section() {
2200
- return /*#__PURE__*/React.createElement("div", {
2201
- className: sectionproperties.maximizegalleryfullscreen == 'Yes' ? ' col-lg-12 p-0 maximize ' : 'col-lg-12 p-0',
2202
- style: {
2203
- width: '100%',
2204
- height: 'auto'
2205
- }
2206
- }, productimagesarray.length == 0 && /*#__PURE__*/React.createElement("div", {
2207
- style: {
2208
- width: '100%',
2209
- height: '30vh',
2210
- background: '#eee',
2211
- borderRadius: 10
2212
- }
2213
- }, /*#__PURE__*/React.createElement("i", {
2214
- "class": "h-100 allcentered text-light"
2215
- }, /*#__PURE__*/React.createElement(FiLayers, {
2216
- size: 26
2217
- }))), productimagesarray.length != 0 && /*#__PURE__*/React.createElement("div", {
2218
- "class": "w-100 d-block d-md-none"
2219
- }, /*#__PURE__*/React.createElement(ImageGallery, {
2220
- items: productimagesarray,
2221
- thumbnailPosition: sectionproperties.thumbnailposition == 'Bottom' ? 'bottom' : 'left',
2222
- showNav: false,
2223
- showPlayButton: false,
2224
- showFullscreenButton: true,
2225
- startIndex: currentshowingimageindex
2226
- })), productimagesarray.length != 0 && /*#__PURE__*/React.createElement("div", {
2227
- "class": "w-100 d-none d-md-block"
2228
- }, /*#__PURE__*/React.createElement(ImageGallery, {
2229
- items: productimagesarray,
2230
- thumbnailPosition: 'bottom',
2231
- showNav: false,
2232
- showPlayButton: false,
2233
- showFullscreenButton: true,
2234
- startIndex: currentshowingimageindex
2235
- })));
2236
- };
2237
- var ProductNameSection = function ProductNameSection() {
2238
- return /*#__PURE__*/React.createElement("p", {
2239
- 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 ',
2240
- onClick: function onClick() {
2241
- if (srcfromprops == 'templatedraftrouter') {
2242
- routingcountext(StaticPagesLinksContext.productinfo, true, fetchProductInfoQueryContext.data.data.productinfo.productid);
2243
- }
2244
- },
2245
- style: {
2246
- textAlign: langdetect == 'en' ? 'left' : 'right'
2247
- }
2248
- }, langdetect == 'en' ? fetchProductInfoQueryContext.data.data.productinfo.name_en : fetchProductInfoQueryContext.data.data.productinfo.name_ar);
2249
- };
2250
- var SKUSection = function SKUSection() {
2251
- var _fetchProductInfoQuer, _fetchProductInfoQuer2;
2252
- return /*#__PURE__*/React.createElement("div", {
2253
- "class": sectionproperties.availabilitybtnposition == 'Under SKU' && sectionproperties.show_availability == 'Show' ? 'row m-0 w-100 mt-3' : 'row m-0 w-100'
2254
- }, sectionproperties.showSKU == 'Show' && sectionproperties.productInformationType == 'Product/Service Information' && /*#__PURE__*/React.createElement("div", {
2255
- "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'
2256
- }, /*#__PURE__*/React.createElement("p", {
2257
- "class": "m-0 p-0 d-flex justify-content-start"
2258
- }, /*#__PURE__*/React.createElement("span", {
2259
- style: {
2260
- color: sectionproperties.skuColor,
2261
- fontWeight: sectionproperties.skuFontWeight,
2262
- fontSize: sectionproperties.skuFontSize + 'px',
2263
- textAlign: langdetect == 'en' ? 'left' : 'right'
2264
- }
2265
- }, langdetect == 'en' ? sectionproperties.skutitleEn : sectionproperties.skutitleAr, ":", ' '), /*#__PURE__*/React.createElement("span", {
2266
- "class": "ml-1 mr-1",
2267
- style: {
2268
- color: '#7e859b',
2269
- fontWeight: sectionproperties.skuSecondaryFontWeight,
2270
- fontSize: sectionproperties.skuFontSize + 'px',
2271
- textAlign: langdetect == 'en' ? 'left' : 'right'
2272
- }
2273
- }, 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.createElement("div", {
2274
- "class": 'col-lg-12 p-0 mb-3 d-flex justify-content-start'
2275
- }, /*#__PURE__*/React.createElement("p", {
2276
- "class": "m-0 p-0 d-flex justify-content-start"
2277
- }, /*#__PURE__*/React.createElement("span", {
2278
- style: {
2279
- fontSize: sectionproperties.availability_fontsize + 'px',
2280
- color: sectionproperties.availability_textcolor,
2281
- textAlign: langdetect == 'en' ? 'left' : 'right',
2282
- fontWeight: sectionproperties.skuFontWeight
2283
- }
2284
- }, lang.availability, ":"), /*#__PURE__*/React.createElement("span", {
2285
- "class": "ml-1 mr-1",
2286
- style: {
2287
- color: fetchProductInfoQueryContext.data.data.productinfo.quantavailtype == 'nolimit' ? sectionproperties.availability_availabletextcolor : sectionproperties.availability_limitedtextcolor,
2288
- fontSize: sectionproperties.availability_fontsize + 'px',
2289
- fontWeight: sectionproperties.skuSecondaryFontWeight,
2290
- textAlign: langdetect == 'en' ? 'left' : 'right'
2291
- }
2292
- }, fetchProductInfoQueryContext.data.data.productinfo.quantavailtype == 'nolimit' ? lang.instock : lang.limitedquantity))));
2293
- };
2294
2200
  var ShareButtonsContainer = function ShareButtonsContainer() {
2295
2201
  return /*#__PURE__*/React.createElement("div", {
2296
2202
  "class": "row m-0 w-100"
2297
2203
  }, /*#__PURE__*/React.createElement("div", {
2298
2204
  "class": "col-lg-12 d-flex justify-content-center flex-column align-items-center p-0"
2299
2205
  }, /*#__PURE__*/React.createElement("p", {
2300
- "class": "m-0 p-0 w-100",
2206
+ "class": "m-0 p-0",
2301
2207
  style: {
2302
2208
  fontWeight: sectionproperties.sharebtn_FontWeight,
2303
2209
  color: sectionproperties.sharebtn_color,
2304
- fontSize: sectionproperties.sharebtn_fontSize + 'px',
2305
- textAlign: sectionproperties.sharecentered == 'Centered' ? 'center' : langdetect == 'en' ? 'left' : 'right'
2210
+ fontSize: sectionproperties.sharebtn_fontSize + 'px'
2306
2211
  }
2307
2212
  }, langdetect == 'en' ? sectionproperties.sharebtn_contentEn : sectionproperties.sharebtn_contentAr), /*#__PURE__*/React.createElement("div", {
2308
- className: "Demo__container w-100 m-0 d-flex align-items-center mt-3",
2309
- style: {
2310
- justifyContent: srcfromprops != 'templatedraftrouter' ? 'start' : sectionproperties.sharecentered == 'Centered' ? 'center' : 'start'
2311
- }
2213
+ className: "Demo__container w-100 m-0 allcentered mt-3"
2312
2214
  }, /*#__PURE__*/React.createElement("div", {
2313
- className: "Demo__some-network ml-2 mr-2 allcentered"
2215
+ className: "Demo__some-network ml-2 mr-2"
2314
2216
  }, /*#__PURE__*/React.createElement(FacebookShareButton, {
2315
2217
  url: shareUrl,
2316
2218
  quote: title,
2317
- className: "Demo__some-network__share-button allcentered"
2318
- }, /*#__PURE__*/React.createElement("div", {
2319
- "class": productinfo_cssstyles.shareicon + ' allcentered ',
2320
- style: {}
2321
- }, /*#__PURE__*/React.createElement("i", {
2322
- "class": "h-100 allcentered"
2323
- }, /*#__PURE__*/React.createElement(FaFacebookF, null))))), /*#__PURE__*/React.createElement("div", {
2324
- className: "Demo__some-network ml-2 mr-2 allcentered"
2219
+ className: "Demo__some-network__share-button"
2220
+ }, /*#__PURE__*/React.createElement(FacebookIcon, {
2221
+ size: 40,
2222
+ round: true
2223
+ }))), /*#__PURE__*/React.createElement("div", {
2224
+ className: "Demo__some-network ml-2 mr-2"
2325
2225
  }, /*#__PURE__*/React.createElement(TwitterShareButton, {
2326
2226
  url: shareUrl,
2327
2227
  title: title,
2328
- className: "Demo__some-network__share-button allcentered"
2329
- }, /*#__PURE__*/React.createElement("div", {
2330
- "class": productinfo_cssstyles.shareicon + ' allcentered ',
2331
- style: {}
2332
- }, /*#__PURE__*/React.createElement("i", {
2333
- "class": "h-100 allcentered"
2334
- }, /*#__PURE__*/React.createElement(AiOutlineTwitter, {
2335
- size: 16
2336
- }))))), /*#__PURE__*/React.createElement("div", {
2228
+ className: "Demo__some-network__share-button"
2229
+ }, /*#__PURE__*/React.createElement(TwitterIcon, {
2230
+ size: 40,
2231
+ round: true
2232
+ }))), /*#__PURE__*/React.createElement("div", {
2337
2233
  className: "Demo__some-network ml-2 mr-2"
2338
2234
  }, /*#__PURE__*/React.createElement(WhatsappShareButton, {
2339
2235
  url: shareUrl,
2340
2236
  title: title,
2341
2237
  separator: ":: ",
2342
2238
  className: "Demo__some-network__share-button"
2343
- }, /*#__PURE__*/React.createElement("div", {
2344
- "class": productinfo_cssstyles.shareicon + ' allcentered ',
2345
- style: {}
2346
- }, /*#__PURE__*/React.createElement("i", {
2347
- "class": "h-100 allcentered"
2348
- }, /*#__PURE__*/React.createElement(FaWhatsapp, {
2349
- size: 16
2350
- }))))), sectionproperties.showsharelinkedin == 'Show' && /*#__PURE__*/React.createElement("div", {
2239
+ }, /*#__PURE__*/React.createElement(WhatsappIcon, {
2240
+ size: 40,
2241
+ round: true
2242
+ }))), sectionproperties.showsharelinkedin == 'Show' && /*#__PURE__*/React.createElement("div", {
2351
2243
  className: "Demo__some-network ml-2 mr-2"
2352
2244
  }, /*#__PURE__*/React.createElement(LinkedinShareButton, {
2353
2245
  url: shareUrl,
2354
2246
  title: title,
2355
2247
  separator: ":: ",
2356
2248
  className: "Demo__some-network__share-button"
2357
- }, /*#__PURE__*/React.createElement("div", {
2358
- "class": productinfo_cssstyles.shareicon + ' allcentered ',
2359
- style: {}
2360
- }, /*#__PURE__*/React.createElement("i", {
2361
- "class": "h-100 allcentered"
2362
- }, /*#__PURE__*/React.createElement(FaLinkedinIn, null))))))));
2363
- };
2364
- var Quantitybtn_Cartbtn_Favbottombtn = function Quantitybtn_Cartbtn_Favbottombtn() {
2365
- var _fetchProductInfoQuer3, _fetchProductInfoQuer4, _fetchProductInfoQuer5, _fetchProductInfoQuer7, _fetchProductInfoQuer8, _fetchProductInfoQuer9, _fetchProductInfoQuer11, _fetchProductInfoQuer12;
2366
- return /*#__PURE__*/React.createElement("div", {
2367
- "class": "col-lg-12 p-0"
2368
- }, /*#__PURE__*/React.createElement("div", {
2369
- "class": "row m-0 w-100 d-flex align-items-center",
2370
- style: {
2371
- justifyContent: sectionproperties.cartbtncentered == 'Centered' ? 'center' : 'start'
2372
- }
2373
- }, 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.createElement("button", {
2374
- className: " ".concat(productinfo_cssstyles.quantitybtn) + ' p-0 d-flex align-items-center justify-content-center mb-sm-2 ',
2375
- style: {
2376
- height: sectionproperties.quantitybtn_height + 'px',
2377
- width: sectionproperties.quantitybtn_width + 'px',
2378
- flexDirection: 'row',
2379
- direction: 'ltr'
2380
- }
2381
- }, /*#__PURE__*/React.createElement("span", {
2382
- className: "".concat(productinfo_cssstyles.minus_quantitybtn_icon_container) + ' m-1 ',
2383
- onClick: function onClick() {
2384
- var tempaddtocardpayloadobj = _objectSpread$2n({}, addtocardpayloadobj);
2385
- if (tempaddtocardpayloadobj.quantity > 0) {
2386
- tempaddtocardpayloadobj.quantity = tempaddtocardpayloadobj.quantity - 1;
2387
- }
2388
- setaddtocardpayloadobj(_objectSpread$2n({}, tempaddtocardpayloadobj));
2389
- }
2390
- }, /*#__PURE__*/React.createElement("i", {
2391
- className: sectionproperties.quantityiconstyle == 'Arrows' ? 'fa fa-chevron-down' : 'h-100 allcentered',
2392
- style: {
2393
- fontSize: sectionproperties.remove_quantitybtn_textfontsize + 'px'
2394
- }
2395
- }, sectionproperties.quantityiconstyle == 'Plus/Minus' && /*#__PURE__*/React.createElement(FiMinus, {
2396
- size: sectionproperties.remove_quantitybtn_textfontsize
2397
- }))), /*#__PURE__*/React.createElement("span", {
2398
- className: "".concat(productinfo_cssstyles.quantitybtn_text)
2399
- }, addtocardpayloadobj.quantity), /*#__PURE__*/React.createElement("span", {
2400
- className: "".concat(productinfo_cssstyles.add_quantitybtn_icon_container) + ' m-1 ',
2401
- onClick: function onClick() {
2402
- var tempaddtocardpayloadobj = _objectSpread$2n({}, addtocardpayloadobj);
2403
- tempaddtocardpayloadobj.quantity = tempaddtocardpayloadobj.quantity + 1;
2404
- setaddtocardpayloadobj(_objectSpread$2n({}, tempaddtocardpayloadobj));
2405
- }
2406
- }, /*#__PURE__*/React.createElement("i", {
2407
- className: sectionproperties.quantityiconstyle == 'Arrows' ? 'fa fa-chevron-up' : 'h-100 allcentered'
2408
- // className="fa fa-chevron-up"
2409
- ,
2410
- style: {
2411
- fontSize: sectionproperties.add_quantitybtn_textfontsize + 'px'
2412
- }
2413
- }, sectionproperties.quantityiconstyle == 'Plus/Minus' && /*#__PURE__*/React.createElement(FiPlus, {
2414
- size: sectionproperties.add_quantitybtn_textfontsize
2415
- })))), 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.createElement("button", {
2416
- className: "".concat(productinfo_cssstyles.cart_btn, " ") + ' ml-2 mr-2 d-flex align-items-center justify-content-center mb-sm-2 ',
2417
- onClick: function onClick() {
2418
- if (fetchProductInfoQueryContext.data.data.productinfo.product_calltoaction == 'Call') {
2419
- var _fetchProductInfoQuer6;
2420
- window.open('tel:' + ((_fetchProductInfoQuer6 = fetchProductInfoQueryContext.data.data.productinfo) === null || _fetchProductInfoQuer6 === void 0 ? void 0 : _fetchProductInfoQuer6.product_phonenumber), '_blank');
2421
- } else {
2422
- if (fetchProductInfoQueryContext.data.data.productinfo.maximumproductquant >= addtocardpayloadobj.quantity && fetchProductInfoQueryContext.data.data.productinfo.minimumproductquant <= addtocardpayloadobj.quantity) {
2423
- addtocartfunc();
2424
- } else {
2425
- NotificationManager.warning('', lang.maximum + ': ' + fetchProductInfoQueryContext.data.data.productinfo.maximumproductquant + ', ' + lang.minimum + ': ' + fetchProductInfoQueryContext.data.data.productinfo.minimumproductquant);
2426
- }
2427
- }
2428
- },
2429
- disabled: AddtoCartMutationContext.isLoading == true ? true : false
2430
- }, !AddtoCartMutationContext.isLoading && /*#__PURE__*/React.createElement("span", {
2431
- className: ' d-flex align-items-center justify-content-center '
2432
- }, /*#__PURE__*/React.createElement("i", {
2433
- 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'
2434
- }, sectionproperties.carticonstyle == 'Shopping bag 1' && /*#__PURE__*/React.createElement(FiShoppingBag, {
2435
- className: "",
2436
- size: sectionproperties.cartBtn_iconFontSize
2437
- }), sectionproperties.carticonstyle == 'Shopping bag 2' && /*#__PURE__*/React.createElement(CgShoppingBag, {
2438
- className: "",
2439
- size: sectionproperties.cartBtn_iconFontSize
2440
- }), sectionproperties.carticonstyle == 'Shopping bag 3' && /*#__PURE__*/React.createElement(BsBag, {
2441
- className: "",
2442
- size: sectionproperties.cartBtn_iconFontSize
2443
- }), sectionproperties.carticonstyle == 'Shopping bag 4' && /*#__PURE__*/React.createElement(IoBagHandleOutline, {
2444
- className: "",
2445
- size: sectionproperties.cartBtn_iconFontSize
2446
- }), sectionproperties.carticonstyle == 'Shopping cart 1' && /*#__PURE__*/React.createElement(FiShoppingCart, {
2447
- className: "",
2448
- size: sectionproperties.cartBtn_iconFontSize
2449
- }), sectionproperties.carticonstyle == 'Shopping cart 2' && /*#__PURE__*/React.createElement(MdAddShoppingCart, {
2450
- size: sectionproperties.cartBtn_iconFontSize
2451
- })), 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.createElement("div", {
2452
- className: ' d-flex align-items-center justify-content-center '
2453
- }, /*#__PURE__*/React.createElement(CircularProgress, {
2454
- color: "white",
2455
- width: "20px",
2456
- height: "20px",
2457
- duration: "1s"
2458
- }))), sectionproperties.btnposition == 'Bottom' && sectionproperties.favBtnShow == 'Show' && /*#__PURE__*/React.createElement("div", {
2459
- className: productinfo_cssstyles.wishlist_btn + ' d-flex justify-content-center align-items-center mb-sm-2 ',
2460
- onClick: function onClick() {
2461
- addtofavoritescontext(fetchProductInfoQueryContext.data.data.productinfo.productid);
2462
- },
2463
- style: {
2464
- background: fetchProductInfoQueryContext.data.data.productinfo.IsFavExists == true ? sectionproperties.activebgcolor : ''
2465
- }
2466
- }, /*#__PURE__*/React.createElement("i", {
2467
- className: "h-100 d-flex align-items-center justify-content-center"
2468
- }, fetchProductInfoQueryContext.data.data.productinfo.IsFavExists && /*#__PURE__*/React.createElement("i", {
2469
- className: "h-100 d-flex align-items-center justify-content-center"
2470
- }, sectionproperties.faviconshape == 'Star Shape' && /*#__PURE__*/React.createElement(AiFillStar$1, {
2471
- size: sectionproperties.favBtnIconfontsize,
2472
- style: {
2473
- color: sectionproperties.activefaviconcolor
2474
- }
2475
- }), sectionproperties.faviconshape == 'Heart Shape' && /*#__PURE__*/React.createElement(FaHeart$1, {
2476
- size: sectionproperties.favBtnIconfontsize,
2477
- style: {
2478
- color: sectionproperties.activefaviconcolor
2479
- }
2480
- })), !fetchProductInfoQueryContext.data.data.productinfo.IsFavExists && /*#__PURE__*/React.createElement("i", {
2481
- className: "h-100 d-flex align-items-center justify-content-center"
2482
- }, sectionproperties.faviconshape == 'Star Shape' && /*#__PURE__*/React.createElement(AiOutlineStar, {
2483
- size: sectionproperties.favBtnIconfontsize
2484
- }), sectionproperties.faviconshape == 'Heart Shape' && /*#__PURE__*/React.createElement(FaRegHeart, {
2485
- size: sectionproperties.favBtnIconfontsize
2486
- }))), !fetchProductInfoQueryContext.data.data.productinfo.IsFavExists && sectionproperties.favBtnTextfontsize != 0 && /*#__PURE__*/React.createElement("p", {
2487
- "class": "m-0 p-0",
2488
- style: {
2489
- fontSize: sectionproperties.favBtnTextfontsize + 'px'
2490
- }
2491
- }, langdetect == 'en' ? sectionproperties.favbtncontent_en : sectionproperties.favbtncontent_ar), fetchProductInfoQueryContext.data.data.productinfo.IsFavExists && sectionproperties.favBtnTextfontsize != 0 && /*#__PURE__*/React.createElement("p", {
2492
- "class": "m-0 p-0",
2493
- style: {
2494
- fontSize: sectionproperties.favBtnTextfontsize + 'px'
2495
- }
2496
- }, 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.createElement("div", {
2497
- "class": "row m-0 w-100 mt-3",
2498
- style: {
2499
- overflow: 'hidden'
2500
- }
2501
- }, /*#__PURE__*/React.createElement("button", {
2502
- className: "".concat(productinfo_cssstyles.cart_btn, " ") + ' d-flex align-items-center justify-content-center mb-sm-2 ',
2503
- style: {
2504
- width: sectionproperties.cartBtnWidth + '%'
2505
- },
2506
- onClick: function onClick() {
2507
- if (fetchProductInfoQueryContext.data.data.productinfo.product_calltoaction == 'Call') {
2508
- var _fetchProductInfoQuer10;
2509
- window.open('tel:' + ((_fetchProductInfoQuer10 = fetchProductInfoQueryContext.data.data.productinfo) === null || _fetchProductInfoQuer10 === void 0 ? void 0 : _fetchProductInfoQuer10.product_phonenumber), '_blank');
2510
- } else {
2511
- if (fetchProductInfoQueryContext.data.data.productinfo.maximumproductquant >= addtocardpayloadobj.quantity && fetchProductInfoQueryContext.data.data.productinfo.minimumproductquant <= addtocardpayloadobj.quantity) {
2512
- addtocartfunc();
2513
- } else {
2514
- NotificationManager.warning('', lang.maximum + ': ' + fetchProductInfoQueryContext.data.data.productinfo.maximumproductquant + ', ' + lang.minimum + ': ' + fetchProductInfoQueryContext.data.data.productinfo.minimumproductquant);
2515
- }
2516
- }
2517
- },
2518
- disabled: AddtoCartMutationContext.isLoading == true ? true : false
2519
- }, !AddtoCartMutationContext.isLoading && /*#__PURE__*/React.createElement("span", {
2520
- className: ' d-flex align-items-center justify-content-center '
2521
- }, /*#__PURE__*/React.createElement("i", {
2522
- 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'
2523
- }, sectionproperties.carticonstyle == 'Shopping bag 1' && /*#__PURE__*/React.createElement(FiShoppingBag, {
2524
- className: "",
2525
- size: sectionproperties.cartBtn_iconFontSize
2526
- }), sectionproperties.carticonstyle == 'Shopping bag 2' && /*#__PURE__*/React.createElement(CgShoppingBag, {
2527
- className: "",
2528
- size: sectionproperties.cartBtn_iconFontSize
2529
- }), sectionproperties.carticonstyle == 'Shopping bag 3' && /*#__PURE__*/React.createElement(BsBag, {
2530
- className: "",
2531
- size: sectionproperties.cartBtn_iconFontSize
2532
- }), sectionproperties.carticonstyle == 'Shopping bag 4' && /*#__PURE__*/React.createElement(IoBagHandleOutline, {
2533
- className: "",
2534
- size: sectionproperties.cartBtn_iconFontSize
2535
- }), sectionproperties.carticonstyle == 'Shopping cart 1' && /*#__PURE__*/React.createElement(FiShoppingCart, {
2536
- className: "",
2537
- size: sectionproperties.cartBtn_iconFontSize
2538
- }), sectionproperties.carticonstyle == 'Shopping cart 2' && /*#__PURE__*/React.createElement(MdAddShoppingCart, {
2539
- size: sectionproperties.cartBtn_iconFontSize
2540
- })), 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.createElement("div", {
2541
- className: ' d-flex align-items-center justify-content-center '
2542
- }, /*#__PURE__*/React.createElement(CircularProgress, {
2543
- color: "white",
2544
- width: "20px",
2545
- height: "20px",
2546
- duration: "1s"
2547
- }))), sectionproperties.btnposition == 'Besides Cart Button' && sectionproperties.favBtnShow == 'Show' && /*#__PURE__*/React.createElement("div", {
2548
- className: productinfo_cssstyles.wishlist_btn + ' d-flex justify-content-center align-items-center mb-sm-2 mx-3 ',
2549
- onClick: function onClick() {
2550
- addtofavoritescontext(fetchProductInfoQueryContext.data.data.productinfo.productid);
2551
- },
2552
- style: {
2553
- background: fetchProductInfoQueryContext.data.data.productinfo.IsFavExists == true ? sectionproperties.activebgcolor : ''
2554
- }
2555
- }, /*#__PURE__*/React.createElement("i", {
2556
- className: "h-100 d-flex align-items-center justify-content-center"
2557
- }, fetchProductInfoQueryContext.data.data.productinfo.IsFavExists && /*#__PURE__*/React.createElement("i", {
2558
- className: "h-100 d-flex align-items-center justify-content-center"
2559
- }, sectionproperties.faviconshape == 'Star Shape' && /*#__PURE__*/React.createElement(AiFillStar$1, {
2560
- size: sectionproperties.favBtnIconfontsize,
2561
- style: {
2562
- color: sectionproperties.activefaviconcolor
2563
- }
2564
- }), sectionproperties.faviconshape == 'Heart Shape' && /*#__PURE__*/React.createElement(FaHeart$1, {
2565
- size: sectionproperties.favBtnIconfontsize,
2566
- style: {
2567
- color: sectionproperties.activefaviconcolor
2568
- }
2569
- })), !fetchProductInfoQueryContext.data.data.productinfo.IsFavExists && /*#__PURE__*/React.createElement("i", {
2570
- className: "h-100 d-flex align-items-center justify-content-center"
2571
- }, sectionproperties.faviconshape == 'Star Shape' && /*#__PURE__*/React.createElement(AiOutlineStar, {
2572
- size: sectionproperties.favBtnIconfontsize
2573
- }), sectionproperties.faviconshape == 'Heart Shape' && /*#__PURE__*/React.createElement(FaRegHeart, {
2574
- size: sectionproperties.favBtnIconfontsize
2249
+ }, /*#__PURE__*/React.createElement(LinkedinIcon, {
2250
+ size: 40,
2251
+ round: true
2575
2252
  }))))));
2576
2253
  };
2577
2254
  // {fetchProductInfoQueryContext.data.data.productinfo.hassale == 0
2578
2255
  // ? parseFloat(getprice_discountpriceprops('defaultprice', 1, variantindexcompleted)).toFixed(2)
2579
2256
  // : parseFloat(getprice_discountpriceprops('defaultsaleprice', 1, variantindexcompleted)).toFixed(2)}
2580
2257
  useEffect(function () {
2581
- var _fetchProductInfoQuer13;
2258
+ var _fetchProductInfoQuer;
2582
2259
  var totalprice = '';
2583
2260
  if (variantindexcompleted.length == 0 && fetchProductInfoQueryContext.data.data.productinfo.hassale == 0) {
2584
2261
  totalprice = parseFloat(getprice_discountpriceprops('defaultprice', 1, variantindexcompleted)).toFixed(2);
2585
2262
  } else if (variantindexcompleted.length == 0 && fetchProductInfoQueryContext.data.data.productinfo.hassale == 1) {
2586
2263
  totalprice = parseFloat(getprice_discountpriceprops('defaultsaleprice', 1, variantindexcompleted)).toFixed(2);
2587
- } 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) {
2264
+ } 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) {
2588
2265
  totalprice = parseFloat(getprice_discountpriceprops('defaultsaleprice', 1, variantindexcompleted)).toFixed(2);
2589
2266
  } else {
2590
2267
  totalprice = parseFloat(getprice_discountpriceprops('defaultprice', 1, variantindexcompleted)).toFixed(2);
@@ -2600,13 +2277,13 @@ var Product_itemtype = function Product_itemtype(props) {
2600
2277
  }, /*#__PURE__*/React.createElement("div", {
2601
2278
  "class": ' col-lg-12 p-0 '
2602
2279
  }, /*#__PURE__*/React.createElement("div", {
2603
- "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 ',
2280
+ "class": "".concat(productinfo_cssstyles.cardcontainer) + ' row ml-0 mr-0 w-100 pl-md-3 pr-md-3 px-1025-1 ',
2604
2281
  style: {
2605
2282
  minHeight: sectionproperties.height + 'vh'
2606
2283
  }
2607
2284
  }, sectionproperties.gallerystyle == 'Style 2' && /*#__PURE__*/React.createElement("div", {
2608
2285
  "class": "w-100 scrollhorizontalwithscrollbar"
2609
- }, (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) {
2286
+ }, (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) {
2610
2287
  return /*#__PURE__*/React.createElement("div", {
2611
2288
  "class": ' scrollhorizontalcard mx-2 ',
2612
2289
  style: {
@@ -2637,17 +2314,60 @@ var Product_itemtype = function Product_itemtype(props) {
2637
2314
  className: 'row m-0 w-100'
2638
2315
  }, sectionproperties.gallerystyle == 'Style 1' && /*#__PURE__*/React.createElement("div", {
2639
2316
  className: "col-xl-5 col-lg-4 col-md-12 col-sm-12 mb-md-3 pb-md-4 pl-1 pr-1"
2640
- }, GalleryStyle1Section()), /*#__PURE__*/React.createElement("div", {
2317
+ }, /*#__PURE__*/React.createElement("div", {
2318
+ className: sectionproperties.maximizegalleryfullscreen == 'Yes' ? ' col-lg-12 p-0 maximize ' : 'col-lg-12 p-0',
2319
+ style: {
2320
+ width: '100%',
2321
+ height: 'auto'
2322
+ }
2323
+ }, productimagesarray.length == 0 && /*#__PURE__*/React.createElement("div", {
2324
+ style: {
2325
+ width: '100%',
2326
+ height: '30vh',
2327
+ background: '#eee',
2328
+ borderRadius: 10
2329
+ }
2330
+ }, /*#__PURE__*/React.createElement("i", {
2331
+ "class": "h-100 allcentered text-light"
2332
+ }, /*#__PURE__*/React.createElement(FiLayers, {
2333
+ size: 26
2334
+ }))), productimagesarray.length != 0 && /*#__PURE__*/React.createElement("div", {
2335
+ "class": "w-100 d-block d-md-none"
2336
+ }, /*#__PURE__*/React.createElement(ImageGallery, {
2337
+ items: productimagesarray,
2338
+ thumbnailPosition: sectionproperties.thumbnailposition == 'Bottom' ? 'bottom' : 'left',
2339
+ showNav: false,
2340
+ showPlayButton: false,
2341
+ showFullscreenButton: true,
2342
+ startIndex: currentshowingimageindex
2343
+ })), productimagesarray.length != 0 && /*#__PURE__*/React.createElement("div", {
2344
+ "class": "w-100 d-none d-md-block"
2345
+ }, /*#__PURE__*/React.createElement(ImageGallery, {
2346
+ items: productimagesarray,
2347
+ thumbnailPosition: 'bottom',
2348
+ showNav: false,
2349
+ showPlayButton: false,
2350
+ showFullscreenButton: true,
2351
+ startIndex: currentshowingimageindex
2352
+ })))), /*#__PURE__*/React.createElement("div", {
2641
2353
  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'
2642
2354
  }, /*#__PURE__*/React.createElement("div", {
2643
2355
  className: "row m-0 w-100"
2644
2356
  }, /*#__PURE__*/React.createElement("div", {
2645
- 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'
2646
- }, 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.createElement("div", {
2357
+ 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'
2358
+ }, /*#__PURE__*/React.createElement("p", {
2359
+ className: "".concat(productinfo_cssstyles.productname, " ").concat(productinfo_cssstyles.productnamehover) + ' m-0 p-0 wordbreak d-flex justify-content-start cursor-pointer font-sm-15 ',
2360
+ onClick: function onClick() {
2361
+ routingcountext(StaticPagesLinksContext.productinfo, true, fetchProductInfoQueryContext.data.data.productinfo.productid);
2362
+ },
2363
+ style: {
2364
+ textAlign: langdetect == 'en' ? 'left' : 'right'
2365
+ }
2366
+ }, 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.createElement("div", {
2647
2367
  className: "col-lg-4 col-md-4 col-sm-4 p-0 mb-1 d-flex justify-content-end align-items-center"
2648
2368
  }, /*#__PURE__*/React.createElement(ReactStars, {
2649
2369
  count: 5,
2650
- 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,
2370
+ 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,
2651
2371
  edit: false,
2652
2372
  size: 18,
2653
2373
  emptyIcon: /*#__PURE__*/React.createElement("i", {
@@ -2668,7 +2388,7 @@ var Product_itemtype = function Product_itemtype(props) {
2668
2388
  activeColor: "#ffd700"
2669
2389
  })), /*#__PURE__*/React.createElement("div", {
2670
2390
  className: "col-lg-4 col-md-4 col-sm-4 p-0 mb-1 d-flex justify-content-end align-items-center"
2671
- }, 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.createElement("div", {
2391
+ }, 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.createElement("div", {
2672
2392
  style: {
2673
2393
  width: sectionproperties.availability_width + 'px',
2674
2394
  height: sectionproperties.availability_height + 'px',
@@ -2715,139 +2435,367 @@ var Product_itemtype = function Product_itemtype(props) {
2715
2435
  size: sectionproperties.favBtnIconfontsize
2716
2436
  }), sectionproperties.faviconshape == 'Heart Shape' && /*#__PURE__*/React.createElement(FaRegHeart, {
2717
2437
  size: sectionproperties.favBtnIconfontsize
2718
- }))))), sectionproperties.descriptionposition == 'Top' && /*#__PURE__*/React.createElement("div", {
2719
- "class": "col-lg-12 p-0"
2720
- }, /*#__PURE__*/React.createElement(DescriptionContent, {
2721
- actions: props.actions,
2722
- srcfromprops: 'undername'
2723
- })), (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.createElement("div", {
2724
- "class": "col-lg-12 p-0 d-flex justify-content-start mt-2 mb-2"
2725
- }, /*#__PURE__*/React.createElement("p", {
2726
- "class": "m-0 p-0",
2727
- style: {
2728
- color: '#000'
2729
- }
2730
- }, langdetect == 'en' ? 'Seller' : 'البائع', ":", ' ', /*#__PURE__*/React.createElement("span", {
2731
- style: {
2732
- fontWeight: 600
2733
- }
2734
- }, 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.createElement("div", {
2735
- "class": "col-lg-12 p-0"
2736
- }, 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.createElement("div", {
2737
- "class": "col-lg-12 p-0 d-flex justify-content-start mb-2"
2738
- }, /*#__PURE__*/React.createElement("div", {
2739
- "class": "".concat(productinfo_cssstyles.outstockbadge) + ' allcentered '
2740
- }, /*#__PURE__*/React.createElement("p", {
2741
- "class": "m-0 p-0"
2742
- }, 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.createElement("div", {
2743
- "class": "mb-4 col-lg-12 allcentered",
2744
- style: {
2745
- width: '100%',
2746
- backgroundColor: sectionproperties.deliverytimecontainerBg,
2747
- paddingLeft: sectionproperties.deliverytimecontainerpaddinghorizontal + 'px',
2748
- paddingRight: sectionproperties.deliverytimecontainerpaddinghorizontal + 'px',
2749
- paddingTop: sectionproperties.deliverytimecontainerpaddingvertical + 'px',
2750
- paddingBottom: sectionproperties.deliverytimecontainerpaddingvertical + 'px',
2751
- border: sectionproperties.deliverytimecontainerborderwidth + 'px solid ' + sectionproperties.deliverytimecontainerbordercolor,
2752
- borderRadius: sectionproperties.deliverytimecontainerborderradius + 'px',
2753
- fontSize: sectionproperties.deliverytimecontainerfontsize + 'px',
2754
- fontWeight: sectionproperties.deliverytimecontainerfontWeight,
2755
- marginTop: 15
2756
- }
2757
- }, /*#__PURE__*/React.createElement("p", {
2758
- "class": "m-0 p-0 ",
2759
- style: {
2760
- textAlign: langdetect == 'en' ? 'left' : 'right',
2761
- color: sectionproperties.deliverytimecontainercolor
2762
- }
2763
- }, sectionproperties.showdeliverytitle == 'Show' && /*#__PURE__*/React.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.createElement(ProductHeaderPricing, {
2764
- actions: props.actions
2765
- }), (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.createElement("div", {
2766
- className: "row m-0 w-100 d-flex align-items-start"
2767
- }, 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) {
2768
- return /*#__PURE__*/React.createElement("div", {
2769
- className: "col-lg-12 p-0 d-flex justify-content-start",
2770
- style: {
2771
- position: 'relative'
2772
- }
2773
- }, /*#__PURE__*/React.createElement("div", {
2774
- style: {
2775
- width: 2,
2776
- height: '100%',
2777
- background: sectionproperties.upperseparatorbgcolor,
2778
- position: 'absolute',
2779
- top: 7
2780
- }
2781
- }), /*#__PURE__*/React.createElement("div", {
2782
- style: {
2783
- width: 10,
2784
- height: 10,
2785
- background: sectionproperties.upperseparatorsecondarybgcolor,
2786
- borderRadius: 100,
2787
- position: 'absolute',
2788
- top: 7,
2789
- left: langdetect == 'en' ? -4 : '',
2790
- right: langdetect == 'ar' ? -4 : ''
2791
- }
2792
- }), /*#__PURE__*/React.createElement("div", {
2793
- className: "row m-0 w-100 d-flex align-items-start pb-3",
2794
- style: {
2795
- paddingLeft: langdetect == 'en' ? '1rem' : 0,
2796
- paddingRight: langdetect == 'ar' ? '1rem' : 0
2797
- }
2798
- }, /*#__PURE__*/React.createElement("p", {
2799
- className: ' m-0 p-0 wordbreak',
2800
- style: {
2801
- color: sectionproperties.varianttitle_color,
2802
- fontWeight: sectionproperties.varianttitle_fontweight,
2803
- textTransform: sectionproperties.varianttitle_texttransform,
2804
- fontSize: sectionproperties.varianttitle_fontSize + 'px'
2805
- }
2806
- }, langdetect == 'en' ? item.optionname : item.optionname_ar, ":"), item.optionvalues.map(function (optionvaluesitem, optionvaluesindex) {
2807
- return /*#__PURE__*/React.createElement("div", {
2808
- className: productinfostyles.variant_container + ' mr-2 variabttcontainer allcentered ',
2809
- style: {
2810
- backgroundColor: sectionproperties.variantcontainer_bgcolortransparent == 'Transparent' ? 'transparent' : sectionproperties.variantcontainer_bgcolor,
2811
- minWidth: sectionproperties.variantcontainer_bgcolortransparent == 'Transparent' ? 'auto' : sectionproperties.variantcontainer_minwidth + 'px',
2812
- height: sectionproperties.variantcontainer_bgcolortransparent == 'Transparent' ? 'auto' : sectionproperties.variantcontainer_height + 'px',
2813
- borderRadius: sectionproperties.variantcontainer_borderBottomLeftRadius + 'px',
2814
- transform: 'none',
2815
- cursor: 'default'
2816
- }
2817
- }, /*#__PURE__*/React.createElement("p", {
2818
- className: 'm-0 p-0 allcentered font-weight-500',
2819
- style: {
2820
- color: sectionproperties.variantcontainer_color,
2821
- fontSize: sectionproperties.variantcontainer_fontSize + 'px'
2822
- }
2823
- }, langdetect == 'en' ? optionvaluesitem.valuename : optionvaluesitem.valuename_ar));
2824
- })));
2825
- })), /*#__PURE__*/React.createElement(Variantoptions, {
2826
- actions: props.actions
2827
- }), sectionproperties.showextrafield == 'Show' && /*#__PURE__*/React.createElement(ProductExtraFields, {
2828
- actions: props.actions
2829
- }), sectionproperties.quantitybtn_show == 'Show' && sectionproperties.cartBtnShow == 'Show' && srcfromprops != 'templatedraftrouter' && /*#__PURE__*/React.createElement("div", {
2830
- className: "col-lg-12 p-0 mb-3"
2831
- }, /*#__PURE__*/React.createElement("hr", {
2832
- className: "mb-0 mt-2"
2833
- })), /*#__PURE__*/React.createElement("div", {
2834
- className: "col-lg-12 p-0 mb-3",
2835
- style: {
2836
- display: sectionproperties.quantitybtn_show == 'Hide' && sectionproperties.cartBtnShow == 'Hide' ? 'none' : 'flex'
2837
- }
2838
- }, /*#__PURE__*/React.createElement("div", {
2839
- className: "row m-0 w-100 d-flex align-items-center"
2840
- }, (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.createElement("div", {
2841
- className: "col-lg-12 p-0 mb-2 d-flex justify-content-start"
2842
- }, /*#__PURE__*/React.createElement("p", {
2843
- className: "m-0 p-0",
2844
- style: {
2845
- color: sectionproperties.generaltext_fontColor,
2846
- fontSize: sectionproperties.generaltext_fontSize + 'px',
2847
- textTransform: sectionproperties.generaltext_textTransform,
2848
- fontWeight: sectionproperties.generaltext_fontWeight
2849
- }
2850
- }, 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.createElement("div", {
2438
+ }))))), sectionproperties.descriptionposition == 'Top' && /*#__PURE__*/React.createElement("div", {
2439
+ "class": "col-lg-12 p-0"
2440
+ }, /*#__PURE__*/React.createElement(DescriptionContent, {
2441
+ actions: props.actions,
2442
+ srcfromprops: 'undername'
2443
+ })), (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.createElement("div", {
2444
+ "class": "col-lg-12 p-0 d-flex justify-content-start mt-2 mb-2"
2445
+ }, /*#__PURE__*/React.createElement("p", {
2446
+ "class": "m-0 p-0",
2447
+ style: {
2448
+ color: '#000'
2449
+ }
2450
+ }, langdetect == 'en' ? 'Seller' : 'البائع', ":", ' ', /*#__PURE__*/React.createElement("span", {
2451
+ style: {
2452
+ fontWeight: 600
2453
+ }
2454
+ }, 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.createElement("div", {
2455
+ "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'
2456
+ }, /*#__PURE__*/React.createElement("p", {
2457
+ "class": "m-0 p-0 d-flex justify-content-start"
2458
+ }, /*#__PURE__*/React.createElement("span", {
2459
+ style: {
2460
+ color: sectionproperties.skuColor,
2461
+ fontWeight: sectionproperties.skuFontWeight,
2462
+ fontSize: sectionproperties.skuFontSize + 'px',
2463
+ textAlign: langdetect == 'en' ? 'left' : 'right'
2464
+ }
2465
+ }, langdetect == 'en' ? sectionproperties.skutitleEn : sectionproperties.skutitleAr, ":", ' '), /*#__PURE__*/React.createElement("span", {
2466
+ "class": "ml-1 mr-1",
2467
+ style: {
2468
+ color: '#7e859b',
2469
+ fontWeight: sectionproperties.skuSecondaryFontWeight,
2470
+ fontSize: sectionproperties.skuFontSize + 'px',
2471
+ textAlign: langdetect == 'en' ? 'left' : 'right'
2472
+ }
2473
+ }, 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.createElement("div", {
2474
+ "class": "col-lg-12 p-0 d-flex justify-content-start mb-2"
2475
+ }, /*#__PURE__*/React.createElement("div", {
2476
+ "class": "".concat(productinfo_cssstyles.outstockbadge) + ' allcentered '
2477
+ }, /*#__PURE__*/React.createElement("p", {
2478
+ "class": "m-0 p-0"
2479
+ }, 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.createElement("div", {
2480
+ "class": "mb-4 col-lg-12 allcentered",
2481
+ style: {
2482
+ width: '100%',
2483
+ backgroundColor: sectionproperties.deliverytimecontainerBg,
2484
+ paddingLeft: sectionproperties.deliverytimecontainerpaddinghorizontal + 'px',
2485
+ paddingRight: sectionproperties.deliverytimecontainerpaddinghorizontal + 'px',
2486
+ paddingTop: sectionproperties.deliverytimecontainerpaddingvertical + 'px',
2487
+ paddingBottom: sectionproperties.deliverytimecontainerpaddingvertical + 'px',
2488
+ border: sectionproperties.deliverytimecontainerborderwidth + 'px solid ' + sectionproperties.deliverytimecontainerbordercolor,
2489
+ borderRadius: sectionproperties.deliverytimecontainerborderradius + 'px',
2490
+ fontSize: sectionproperties.deliverytimecontainerfontsize + 'px',
2491
+ fontWeight: sectionproperties.deliverytimecontainerfontWeight,
2492
+ marginTop: 15
2493
+ }
2494
+ }, /*#__PURE__*/React.createElement("p", {
2495
+ "class": "m-0 p-0 ",
2496
+ style: {
2497
+ textAlign: langdetect == 'en' ? 'left' : 'right',
2498
+ color: sectionproperties.deliverytimecontainercolor
2499
+ }
2500
+ }, sectionproperties.showdeliverytitle == 'Show' && /*#__PURE__*/React.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.createElement(ProductHeaderPricing, {
2501
+ actions: props.actions
2502
+ }), (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.createElement("div", {
2503
+ className: "row m-0 w-100 d-flex align-items-start"
2504
+ }, 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) {
2505
+ return /*#__PURE__*/React.createElement("div", {
2506
+ className: "col-lg-12 p-0 d-flex justify-content-start",
2507
+ style: {
2508
+ position: 'relative'
2509
+ }
2510
+ }, /*#__PURE__*/React.createElement("div", {
2511
+ style: {
2512
+ width: 2,
2513
+ height: '100%',
2514
+ background: sectionproperties.upperseparatorbgcolor,
2515
+ position: 'absolute',
2516
+ top: 7
2517
+ }
2518
+ }), /*#__PURE__*/React.createElement("div", {
2519
+ style: {
2520
+ width: 10,
2521
+ height: 10,
2522
+ background: sectionproperties.upperseparatorsecondarybgcolor,
2523
+ borderRadius: 100,
2524
+ position: 'absolute',
2525
+ top: 7,
2526
+ left: langdetect == 'en' ? -4 : '',
2527
+ right: langdetect == 'ar' ? -4 : ''
2528
+ }
2529
+ }), /*#__PURE__*/React.createElement("div", {
2530
+ className: "row m-0 w-100 d-flex align-items-start pb-3",
2531
+ style: {
2532
+ paddingLeft: langdetect == 'en' ? '1rem' : 0,
2533
+ paddingRight: langdetect == 'ar' ? '1rem' : 0
2534
+ }
2535
+ }, /*#__PURE__*/React.createElement("p", {
2536
+ className: ' m-0 p-0 wordbreak',
2537
+ style: {
2538
+ color: sectionproperties.varianttitle_color,
2539
+ fontWeight: sectionproperties.varianttitle_fontweight,
2540
+ textTransform: sectionproperties.varianttitle_texttransform,
2541
+ fontSize: sectionproperties.varianttitle_fontSize + 'px'
2542
+ }
2543
+ }, langdetect == 'en' ? item.optionname : item.optionname_ar, ":"), item.optionvalues.map(function (optionvaluesitem, optionvaluesindex) {
2544
+ return /*#__PURE__*/React.createElement("div", {
2545
+ className: productinfostyles.variant_container + ' mr-2 variabttcontainer allcentered ',
2546
+ style: {
2547
+ backgroundColor: sectionproperties.variantcontainer_bgcolortransparent == 'Transparent' ? 'transparent' : sectionproperties.variantcontainer_bgcolor,
2548
+ minWidth: sectionproperties.variantcontainer_bgcolortransparent == 'Transparent' ? 'auto' : sectionproperties.variantcontainer_minwidth + 'px',
2549
+ height: sectionproperties.variantcontainer_bgcolortransparent == 'Transparent' ? 'auto' : sectionproperties.variantcontainer_height + 'px',
2550
+ borderRadius: sectionproperties.variantcontainer_borderBottomLeftRadius + 'px',
2551
+ transform: 'none',
2552
+ cursor: 'default'
2553
+ }
2554
+ }, /*#__PURE__*/React.createElement("p", {
2555
+ className: 'm-0 p-0 allcentered font-weight-500',
2556
+ style: {
2557
+ color: sectionproperties.variantcontainer_color,
2558
+ fontSize: sectionproperties.variantcontainer_fontSize + 'px'
2559
+ }
2560
+ }, langdetect == 'en' ? optionvaluesitem.valuename : optionvaluesitem.valuename_ar));
2561
+ })));
2562
+ })), /*#__PURE__*/React.createElement(Variantoptions, {
2563
+ actions: props.actions
2564
+ }), sectionproperties.showextrafield == 'Show' && /*#__PURE__*/React.createElement(ProductExtraFields, {
2565
+ actions: props.actions
2566
+ }), sectionproperties.gallerystyle == 'Style 2' && sectionproperties.prodCatShow == 'Show' && /*#__PURE__*/React.createElement(DescriptionContent, {
2567
+ actions: props.actions
2568
+ }), sectionproperties.quantitybtn_show == 'Show' && sectionproperties.cartBtnShow == 'Show' && /*#__PURE__*/React.createElement("div", {
2569
+ className: "col-lg-12 p-0 mb-3"
2570
+ }, /*#__PURE__*/React.createElement("hr", {
2571
+ className: "mb-0 mt-2"
2572
+ })), /*#__PURE__*/React.createElement("div", {
2573
+ className: "col-lg-12 p-0 mb-3",
2574
+ style: {
2575
+ display: sectionproperties.quantitybtn_show == 'Hide' && sectionproperties.cartBtnShow == 'Hide' ? 'none' : 'flex'
2576
+ }
2577
+ }, /*#__PURE__*/React.createElement("div", {
2578
+ className: "row m-0 w-100 d-flex align-items-center"
2579
+ }, (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.createElement("div", {
2580
+ className: "col-lg-12 p-0 mb-2 d-flex justofy-content-start"
2581
+ }, /*#__PURE__*/React.createElement("p", {
2582
+ className: "m-0 p-0",
2583
+ style: {
2584
+ color: sectionproperties.generaltext_fontColor,
2585
+ fontSize: sectionproperties.generaltext_fontSize + 'px',
2586
+ textTransform: sectionproperties.generaltext_textTransform,
2587
+ fontWeight: sectionproperties.generaltext_fontWeight
2588
+ }
2589
+ }, lang.quantity, ":")), /*#__PURE__*/React.createElement("div", {
2590
+ "class": "col-lg-12 p-0"
2591
+ }, /*#__PURE__*/React.createElement("div", {
2592
+ "class": "row m-0 w-100 d-flex align-items-center",
2593
+ style: {
2594
+ justifyContent: sectionproperties.cartbtncentered == 'Centered' ? 'center' : 'start'
2595
+ }
2596
+ }, 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.createElement("button", {
2597
+ className: " ".concat(productinfo_cssstyles.quantitybtn) + ' p-0 d-flex align-items-center justify-content-center mb-sm-2 ',
2598
+ style: {
2599
+ height: sectionproperties.quantitybtn_height + 'px',
2600
+ width: sectionproperties.quantitybtn_width + 'px',
2601
+ flexDirection: 'row',
2602
+ direction: 'ltr'
2603
+ }
2604
+ }, /*#__PURE__*/React.createElement("span", {
2605
+ className: "".concat(productinfo_cssstyles.minus_quantitybtn_icon_container) + ' m-1 ',
2606
+ onClick: function onClick() {
2607
+ var tempaddtocardpayloadobj = _objectSpread$2n({}, addtocardpayloadobj);
2608
+ if (tempaddtocardpayloadobj.quantity > 0) {
2609
+ tempaddtocardpayloadobj.quantity = tempaddtocardpayloadobj.quantity - 1;
2610
+ }
2611
+ setaddtocardpayloadobj(_objectSpread$2n({}, tempaddtocardpayloadobj));
2612
+ }
2613
+ }, /*#__PURE__*/React.createElement("i", {
2614
+ className: sectionproperties.quantityiconstyle == 'Arrows' ? 'fa fa-chevron-down' : 'h-100 allcentered',
2615
+ style: {
2616
+ fontSize: sectionproperties.remove_quantitybtn_textfontsize + 'px'
2617
+ }
2618
+ }, sectionproperties.quantityiconstyle == 'Plus/Minus' && /*#__PURE__*/React.createElement(FiMinus, {
2619
+ size: sectionproperties.remove_quantitybtn_textfontsize
2620
+ }))), /*#__PURE__*/React.createElement("span", {
2621
+ className: "".concat(productinfo_cssstyles.quantitybtn_text)
2622
+ }, addtocardpayloadobj.quantity), /*#__PURE__*/React.createElement("span", {
2623
+ className: "".concat(productinfo_cssstyles.add_quantitybtn_icon_container) + ' m-1 ',
2624
+ onClick: function onClick() {
2625
+ var tempaddtocardpayloadobj = _objectSpread$2n({}, addtocardpayloadobj);
2626
+ tempaddtocardpayloadobj.quantity = tempaddtocardpayloadobj.quantity + 1;
2627
+ setaddtocardpayloadobj(_objectSpread$2n({}, tempaddtocardpayloadobj));
2628
+ }
2629
+ }, /*#__PURE__*/React.createElement("i", {
2630
+ className: sectionproperties.quantityiconstyle == 'Arrows' ? 'fa fa-chevron-up' : 'h-100 allcentered'
2631
+ // className="fa fa-chevron-up"
2632
+ ,
2633
+ style: {
2634
+ fontSize: sectionproperties.add_quantitybtn_textfontsize + 'px'
2635
+ }
2636
+ }, sectionproperties.quantityiconstyle == 'Plus/Minus' && /*#__PURE__*/React.createElement(FiPlus, {
2637
+ size: sectionproperties.add_quantitybtn_textfontsize
2638
+ })))), 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.createElement("button", {
2639
+ className: "".concat(productinfo_cssstyles.cart_btn, " ") + ' ml-2 mr-2 d-flex align-items-center justify-content-center mb-sm-2 ',
2640
+ onClick: function onClick() {
2641
+ if (fetchProductInfoQueryContext.data.data.productinfo.product_calltoaction == 'Call') {
2642
+ var _fetchProductInfoQuer23;
2643
+ window.open('tel:' + ((_fetchProductInfoQuer23 = fetchProductInfoQueryContext.data.data.productinfo) === null || _fetchProductInfoQuer23 === void 0 ? void 0 : _fetchProductInfoQuer23.product_phonenumber), '_blank');
2644
+ } else {
2645
+ if (fetchProductInfoQueryContext.data.data.productinfo.maximumproductquant >= addtocardpayloadobj.quantity && fetchProductInfoQueryContext.data.data.productinfo.minimumproductquant <= addtocardpayloadobj.quantity) {
2646
+ addtocartfunc();
2647
+ } else {
2648
+ NotificationManager.warning('', lang.maximum + ': ' + fetchProductInfoQueryContext.data.data.productinfo.maximumproductquant + ', ' + lang.minimum + ': ' + fetchProductInfoQueryContext.data.data.productinfo.minimumproductquant);
2649
+ }
2650
+ }
2651
+ },
2652
+ disabled: AddtoCartMutationContext.isLoading == true ? true : false
2653
+ }, !AddtoCartMutationContext.isLoading && /*#__PURE__*/React.createElement("span", {
2654
+ className: ' d-flex align-items-center justify-content-center '
2655
+ }, /*#__PURE__*/React.createElement("i", {
2656
+ 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'
2657
+ }, sectionproperties.carticonstyle == 'Shopping bag 1' && /*#__PURE__*/React.createElement(FiShoppingBag, {
2658
+ className: "",
2659
+ size: sectionproperties.cartBtn_iconFontSize
2660
+ }), sectionproperties.carticonstyle == 'Shopping bag 2' && /*#__PURE__*/React.createElement(CgShoppingBag, {
2661
+ className: "",
2662
+ size: sectionproperties.cartBtn_iconFontSize
2663
+ }), sectionproperties.carticonstyle == 'Shopping bag 3' && /*#__PURE__*/React.createElement(BsBag, {
2664
+ className: "",
2665
+ size: sectionproperties.cartBtn_iconFontSize
2666
+ }), sectionproperties.carticonstyle == 'Shopping bag 4' && /*#__PURE__*/React.createElement(IoBagHandleOutline, {
2667
+ className: "",
2668
+ size: sectionproperties.cartBtn_iconFontSize
2669
+ }), sectionproperties.carticonstyle == 'Shopping cart 1' && /*#__PURE__*/React.createElement(FiShoppingCart, {
2670
+ className: "",
2671
+ size: sectionproperties.cartBtn_iconFontSize
2672
+ }), sectionproperties.carticonstyle == 'Shopping cart 2' && /*#__PURE__*/React.createElement(MdAddShoppingCart, {
2673
+ size: sectionproperties.cartBtn_iconFontSize
2674
+ })), 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.createElement("div", {
2675
+ className: ' d-flex align-items-center justify-content-center '
2676
+ }, /*#__PURE__*/React.createElement(CircularProgress, {
2677
+ color: "white",
2678
+ width: "20px",
2679
+ height: "20px",
2680
+ duration: "1s"
2681
+ }))), sectionproperties.btnposition == 'Bottom' && sectionproperties.favBtnShow == 'Show' && /*#__PURE__*/React.createElement("div", {
2682
+ className: productinfo_cssstyles.wishlist_btn + ' d-flex justify-content-center align-items-center mb-sm-2 ',
2683
+ onClick: function onClick() {
2684
+ addtofavoritescontext(fetchProductInfoQueryContext.data.data.productinfo.productid);
2685
+ },
2686
+ style: {
2687
+ background: fetchProductInfoQueryContext.data.data.productinfo.IsFavExists == true ? sectionproperties.activebgcolor : ''
2688
+ }
2689
+ }, /*#__PURE__*/React.createElement("i", {
2690
+ className: "h-100 d-flex align-items-center justify-content-center"
2691
+ }, fetchProductInfoQueryContext.data.data.productinfo.IsFavExists && /*#__PURE__*/React.createElement("i", {
2692
+ className: "h-100 d-flex align-items-center justify-content-center"
2693
+ }, sectionproperties.faviconshape == 'Star Shape' && /*#__PURE__*/React.createElement(AiFillStar$1, {
2694
+ size: sectionproperties.favBtnIconfontsize,
2695
+ style: {
2696
+ color: sectionproperties.activefaviconcolor
2697
+ }
2698
+ }), sectionproperties.faviconshape == 'Heart Shape' && /*#__PURE__*/React.createElement(FaHeart$1, {
2699
+ size: sectionproperties.favBtnIconfontsize,
2700
+ style: {
2701
+ color: sectionproperties.activefaviconcolor
2702
+ }
2703
+ })), !fetchProductInfoQueryContext.data.data.productinfo.IsFavExists && /*#__PURE__*/React.createElement("i", {
2704
+ className: "h-100 d-flex align-items-center justify-content-center"
2705
+ }, sectionproperties.faviconshape == 'Star Shape' && /*#__PURE__*/React.createElement(AiOutlineStar, {
2706
+ size: sectionproperties.favBtnIconfontsize
2707
+ }), sectionproperties.faviconshape == 'Heart Shape' && /*#__PURE__*/React.createElement(FaRegHeart, {
2708
+ size: sectionproperties.favBtnIconfontsize
2709
+ }))), !fetchProductInfoQueryContext.data.data.productinfo.IsFavExists && sectionproperties.favBtnTextfontsize != 0 && /*#__PURE__*/React.createElement("p", {
2710
+ "class": "m-0 p-0",
2711
+ style: {
2712
+ fontSize: sectionproperties.favBtnTextfontsize + 'px'
2713
+ }
2714
+ }, langdetect == 'en' ? sectionproperties.favbtncontent_en : sectionproperties.favbtncontent_ar), fetchProductInfoQueryContext.data.data.productinfo.IsFavExists && sectionproperties.favBtnTextfontsize != 0 && /*#__PURE__*/React.createElement("p", {
2715
+ "class": "m-0 p-0",
2716
+ style: {
2717
+ fontSize: sectionproperties.favBtnTextfontsize + 'px'
2718
+ }
2719
+ }, 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.createElement("div", {
2720
+ "class": "row m-0 w-100 mt-3",
2721
+ style: {
2722
+ overflow: 'hidden'
2723
+ }
2724
+ }, /*#__PURE__*/React.createElement("button", {
2725
+ className: "".concat(productinfo_cssstyles.cart_btn, " ") + ' d-flex align-items-center justify-content-center mb-sm-2 ',
2726
+ style: {
2727
+ width: sectionproperties.cartBtnWidth + '%'
2728
+ },
2729
+ onClick: function onClick() {
2730
+ if (fetchProductInfoQueryContext.data.data.productinfo.product_calltoaction == 'Call') {
2731
+ var _fetchProductInfoQuer27;
2732
+ window.open('tel:' + ((_fetchProductInfoQuer27 = fetchProductInfoQueryContext.data.data.productinfo) === null || _fetchProductInfoQuer27 === void 0 ? void 0 : _fetchProductInfoQuer27.product_phonenumber), '_blank');
2733
+ } else {
2734
+ if (fetchProductInfoQueryContext.data.data.productinfo.maximumproductquant >= addtocardpayloadobj.quantity && fetchProductInfoQueryContext.data.data.productinfo.minimumproductquant <= addtocardpayloadobj.quantity) {
2735
+ addtocartfunc();
2736
+ } else {
2737
+ NotificationManager.warning('', lang.maximum + ': ' + fetchProductInfoQueryContext.data.data.productinfo.maximumproductquant + ', ' + lang.minimum + ': ' + fetchProductInfoQueryContext.data.data.productinfo.minimumproductquant);
2738
+ }
2739
+ }
2740
+ },
2741
+ disabled: AddtoCartMutationContext.isLoading == true ? true : false
2742
+ }, !AddtoCartMutationContext.isLoading && /*#__PURE__*/React.createElement("span", {
2743
+ className: ' d-flex align-items-center justify-content-center '
2744
+ }, /*#__PURE__*/React.createElement("i", {
2745
+ 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'
2746
+ }, sectionproperties.carticonstyle == 'Shopping bag 1' && /*#__PURE__*/React.createElement(FiShoppingBag, {
2747
+ className: "",
2748
+ size: sectionproperties.cartBtn_iconFontSize
2749
+ }), sectionproperties.carticonstyle == 'Shopping bag 2' && /*#__PURE__*/React.createElement(CgShoppingBag, {
2750
+ className: "",
2751
+ size: sectionproperties.cartBtn_iconFontSize
2752
+ }), sectionproperties.carticonstyle == 'Shopping bag 3' && /*#__PURE__*/React.createElement(BsBag, {
2753
+ className: "",
2754
+ size: sectionproperties.cartBtn_iconFontSize
2755
+ }), sectionproperties.carticonstyle == 'Shopping bag 4' && /*#__PURE__*/React.createElement(IoBagHandleOutline, {
2756
+ className: "",
2757
+ size: sectionproperties.cartBtn_iconFontSize
2758
+ }), sectionproperties.carticonstyle == 'Shopping cart 1' && /*#__PURE__*/React.createElement(FiShoppingCart, {
2759
+ className: "",
2760
+ size: sectionproperties.cartBtn_iconFontSize
2761
+ }), sectionproperties.carticonstyle == 'Shopping cart 2' && /*#__PURE__*/React.createElement(MdAddShoppingCart, {
2762
+ size: sectionproperties.cartBtn_iconFontSize
2763
+ })), 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.createElement("div", {
2764
+ className: ' d-flex align-items-center justify-content-center '
2765
+ }, /*#__PURE__*/React.createElement(CircularProgress, {
2766
+ color: "white",
2767
+ width: "20px",
2768
+ height: "20px",
2769
+ duration: "1s"
2770
+ }))), sectionproperties.btnposition == 'Besides Cart Button' && sectionproperties.favBtnShow == 'Show' && /*#__PURE__*/React.createElement("div", {
2771
+ className: productinfo_cssstyles.wishlist_btn + ' d-flex justify-content-center align-items-center mb-sm-2 mx-3 ',
2772
+ onClick: function onClick() {
2773
+ addtofavoritescontext(fetchProductInfoQueryContext.data.data.productinfo.productid);
2774
+ },
2775
+ style: {
2776
+ background: fetchProductInfoQueryContext.data.data.productinfo.IsFavExists == true ? sectionproperties.activebgcolor : ''
2777
+ }
2778
+ }, /*#__PURE__*/React.createElement("i", {
2779
+ className: "h-100 d-flex align-items-center justify-content-center"
2780
+ }, fetchProductInfoQueryContext.data.data.productinfo.IsFavExists && /*#__PURE__*/React.createElement("i", {
2781
+ className: "h-100 d-flex align-items-center justify-content-center"
2782
+ }, sectionproperties.faviconshape == 'Star Shape' && /*#__PURE__*/React.createElement(AiFillStar$1, {
2783
+ size: sectionproperties.favBtnIconfontsize,
2784
+ style: {
2785
+ color: sectionproperties.activefaviconcolor
2786
+ }
2787
+ }), sectionproperties.faviconshape == 'Heart Shape' && /*#__PURE__*/React.createElement(FaHeart$1, {
2788
+ size: sectionproperties.favBtnIconfontsize,
2789
+ style: {
2790
+ color: sectionproperties.activefaviconcolor
2791
+ }
2792
+ })), !fetchProductInfoQueryContext.data.data.productinfo.IsFavExists && /*#__PURE__*/React.createElement("i", {
2793
+ className: "h-100 d-flex align-items-center justify-content-center"
2794
+ }, sectionproperties.faviconshape == 'Star Shape' && /*#__PURE__*/React.createElement(AiOutlineStar, {
2795
+ size: sectionproperties.favBtnIconfontsize
2796
+ }), sectionproperties.faviconshape == 'Heart Shape' && /*#__PURE__*/React.createElement(FaRegHeart, {
2797
+ size: sectionproperties.favBtnIconfontsize
2798
+ })))))))), 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.createElement("div", {
2851
2799
  className: "col-lg-12 p-0 mb-3"
2852
2800
  }, /*#__PURE__*/React.createElement("div", {
2853
2801
  className: "row m-0 w-100 d-flex flex-row"
@@ -2870,7 +2818,7 @@ var Product_itemtype = function Product_itemtype(props) {
2870
2818
  }
2871
2819
  }, /*#__PURE__*/React.createElement("span", {
2872
2820
  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 '
2873
- }, 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.createElement("p", {
2821
+ }, 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.createElement("p", {
2874
2822
  className: 'm-0 p-0 linethrough wordbreak',
2875
2823
  style: {
2876
2824
  color: sectionproperties.prodsalePriceColor,
@@ -2884,14 +2832,14 @@ var Product_itemtype = function Product_itemtype(props) {
2884
2832
  style: {
2885
2833
  textDecoration: 'none'
2886
2834
  }
2887
- }, "-"), 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.createElement("span", {
2835
+ }, "-"), 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.createElement("span", {
2888
2836
  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 '
2889
2837
  }, /*#__PURE__*/React.createElement("span", {
2890
2838
  className: "ml-2 mr-2",
2891
2839
  style: {
2892
2840
  textDecoration: 'none'
2893
2841
  }
2894
- }, "-"), 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.createElement("div", {
2842
+ }, "-"), 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.createElement("div", {
2895
2843
  className: "col-lg-12 p-0 mb-3 mt-2"
2896
2844
  }, /*#__PURE__*/React.createElement("div", {
2897
2845
  style: {
@@ -2917,7 +2865,7 @@ var Product_itemtype = function Product_itemtype(props) {
2917
2865
  className: "font-weight-600"
2918
2866
  }, lang.availability, ":"), /*#__PURE__*/React.createElement("span", {
2919
2867
  className: "ml-1 mr-1"
2920
- }, fetchProductInfoQueryContext.data.data.productinfo.quantavailtype == 'nolimit' ? lang.available : lang.limitedquantity)))), sectionproperties.showShareButton == 'Show' && sectionproperties.sharebtnstyle == 'Style 1' && srcfromprops != 'templatedraftrouter' && /*#__PURE__*/React.createElement("div", {
2868
+ }, fetchProductInfoQueryContext.data.data.productinfo.quantavailtype == 'nolimit' ? lang.available : lang.limitedquantity)))), sectionproperties.showShareButton == 'Show' && sectionproperties.sharebtnstyle == 'Style 1' && /*#__PURE__*/React.createElement("div", {
2921
2869
  "class": "col-lg-12 p-0"
2922
2870
  }, /*#__PURE__*/React.createElement("hr", {
2923
2871
  "class": "mb-3 mt-3",
@@ -2936,6 +2884,11 @@ var Product_itemtype = function Product_itemtype(props) {
2936
2884
  paddingRight: langdetect == 'ar' ? '.5rem' : 0
2937
2885
  }
2938
2886
  }, StoreInfoprops(), sectionproperties.showShareButton == 'Show' && sectionproperties.sharebtnstyle == 'Style 2' && /*#__PURE__*/React.createElement("div", {
2887
+ "class": productinfo_cssstyles.storeinfocontainer + ' col-lg-12 p-0 ',
2888
+ style: {}
2889
+ }, /*#__PURE__*/React.createElement("hr", {
2890
+ "class": "my-3"
2891
+ })), sectionproperties.showShareButton == 'Show' && sectionproperties.sharebtnstyle == 'Style 2' && /*#__PURE__*/React.createElement("div", {
2939
2892
  "class": "col-lg-12 p-0 allcentered mt-2"
2940
2893
  }, ShareButtonsContainer()))))))), sectionproperties.storeinfoposition == 'On The Right' && /*#__PURE__*/React.createElement("div", {
2941
2894
  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',
@@ -7129,16 +7082,14 @@ function ownKeys$2g(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySym
7129
7082
  function _objectSpread$2g(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$2g(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$2g(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
7130
7083
  var Wishlist = function Wishlist(props) {
7131
7084
  var _bgimagesarray$, _bgimagesarray$5, _bgimagesarray$6, _bgimagesarray$7, _bgimagesarray$8;
7132
- props.actions.lang;
7085
+ var lang = props.actions.lang;
7133
7086
  var langdetect = props.actions.langdetect;
7134
- var routingcountext = props.actions.routingcountext;
7135
7087
  var fetchFavoriteProductsQueryContext = props.actions.fetchFavoriteProductsQueryContext;
7136
7088
  var FetchQueriesEngineContext = props.actions.FetchQueriesEngineContext;
7137
7089
  var setFetchQueriesEngineContext = props.actions.setFetchQueriesEngineContext;
7138
7090
  var addtofavoritescontext = props.actions.addtofavoritescontext;
7139
7091
  var setShowProductInfoModalContext = props.actions.setShowProductInfoModalContext;
7140
7092
  var ikimagecredcontext = props.actions.ikimagecredcontext;
7141
- var StaticPagesLinksContext = props.actions.StaticPagesLinksContext;
7142
7093
  var setProductIdProdutInfoModalContext = props.actions.setProductIdProdutInfoModalContext;
7143
7094
  var StatePagePropertiesContext = props.actions.StatePagePropertiesContext;
7144
7095
  var actions = props.actions;
@@ -7150,7 +7101,6 @@ var Wishlist = function Wishlist(props) {
7150
7101
  _useState4 = _slicedToArray(_useState3, 2),
7151
7102
  bgimagesarray = _useState4[0],
7152
7103
  setbgimagesarray = _useState4[1];
7153
- var authdetailsContext = props.actions.authdetailsContext;
7154
7104
  useEffect(function () {
7155
7105
  if (Object.keys(StatePagePropertiesContext).length != 0) {
7156
7106
  var secpropobj = {};
@@ -7203,23 +7153,22 @@ var Wishlist = function Wishlist(props) {
7203
7153
  cart_btn: css({
7204
7154
  width: sectionproperties.cartBtnWidth + 'px',
7205
7155
  height: sectionproperties.cartBtnHeight + 'px',
7206
- background: sectionproperties.cartBtnbgColor,
7156
+ background: sectionproperties.cartbtn_bgtransparent == 'Transparent' ? 'transparent' : sectionproperties.cartBtnbgColor,
7207
7157
  borderRadius: sectionproperties.cart_btn_borderBottomLeftRadius + 'px',
7208
7158
  color: sectionproperties.cartBtnTextcolor,
7209
7159
  textTransform: sectionproperties.cartBtnTexttransform,
7210
7160
  fontWeight: sectionproperties.cartBtnTextfontweight,
7211
7161
  border: sectionproperties.cartbtnborderwidth + 'px solid ' + sectionproperties.cartbtnbordercolor,
7212
- fontSize: sectionproperties.cartBtnTextfontsize + 'px',
7213
7162
  transition: '.3s',
7214
7163
  ':hover': {
7215
- background: sectionproperties.cartBtnbgColoronhover,
7164
+ background: sectionproperties.cartbtn_transparentbgcoloronhover == 'Transparent' ? 'transparent' : sectionproperties.cartBtnbgColoronhover,
7216
7165
  color: sectionproperties.cartBtnTextcoloronhover,
7217
7166
  borderColor: sectionproperties.cartBtnTextcoloronhover
7218
7167
  }
7219
7168
  }),
7220
7169
  trash_btn: css({
7221
- width: sectionproperties.trashbtn_Width == 0 ? 'auto' : sectionproperties.trashbtn_Width + 'px',
7222
- height: sectionproperties.trashbtn_Height == 0 ? 'auto' : sectionproperties.trashbtn_Height + 'px',
7170
+ width: sectionproperties.trashbtn_Width + 'px',
7171
+ height: sectionproperties.trashbtn_Height + 'px',
7223
7172
  background: sectionproperties.trashbtn_bgColortransparent == 'Transparent' ? 'transparent' : sectionproperties.trashbtn_bgColor,
7224
7173
  color: sectionproperties.trashbtn_Textcolor,
7225
7174
  borderRadius: sectionproperties.trashbtn_borderBottomLeftRadius + 'px',
@@ -7231,13 +7180,20 @@ var Wishlist = function Wishlist(props) {
7231
7180
  }
7232
7181
  }),
7233
7182
  imagecont: css({
7234
- width: '100px',
7235
- height: '90px',
7183
+ width: '70px',
7184
+ height: '60px',
7185
+ border: sectionproperties.prodimage_borderwidth + 'px solid ' + sectionproperties.prodimage_color,
7236
7186
  backgroundColor: sectionproperties.prodimage_bgcolor,
7237
- borderRadius: sectionproperties.productimageborderradius + 'px',
7187
+ borderBottomLeftRadius: sectionproperties.prodimage__borderBottomLeftRadius + 'px',
7188
+ borderBottomRightRadius: sectionproperties.prodimage__borderBottomRightRadius + 'px',
7189
+ borderTopLeftRadius: sectionproperties.prodimage__borderTopLeftRadius + 'px',
7190
+ borderTopRightRadius: sectionproperties.prodimage__borderTopRightRadius + 'px',
7238
7191
  display: 'flex',
7239
7192
  alignItems: 'center',
7240
7193
  justifyContent: 'center',
7194
+ backgroundRepeat: 'no-repeat',
7195
+ backgroundSize: 'cover',
7196
+ backgroundPosition: 'center',
7241
7197
  position: 'relative'
7242
7198
  }),
7243
7199
  containerstyle: css({
@@ -7247,23 +7203,6 @@ var Wishlist = function Wishlist(props) {
7247
7203
  '@media (max-width: 800px)': {
7248
7204
  marginTop: sectionproperties.marginTopResp + 'px'
7249
7205
  }
7250
- }),
7251
- btnstyles: css({
7252
- width: sectionproperties.generalbtn_width + '%',
7253
- height: sectionproperties.generalbtn_height + 'px',
7254
- borderRadius: sectionproperties.generalbtnborderradius + 'px',
7255
- background: sectionproperties.generalbtn_bgColor,
7256
- color: sectionproperties.generalbtn_textColor,
7257
- fontSize: sectionproperties.generalbtn_fontsize + 'px',
7258
- fontWeight: sectionproperties.generalbtn_fontweight,
7259
- ':hover': {
7260
- transition: '.3s',
7261
- color: sectionproperties.generalbtn_textColoronhover,
7262
- backgroundColor: sectionproperties.generalbtn_bgColoronhover
7263
- },
7264
- '@media (max-width: 800px)': {
7265
- width: '80%'
7266
- }
7267
7206
  })
7268
7207
  };
7269
7208
  useEffect(function () {
@@ -7314,7 +7253,10 @@ var Wishlist = function Wishlist(props) {
7314
7253
  margin: 0,
7315
7254
  padding: 0,
7316
7255
  background: sectionproperties.image_bgcolor,
7317
- borderRadius: sectionproperties.imageborderradius + 'px',
7256
+ borderTopLeftRadius: sectionproperties.image_bordertopleftradius + 'px',
7257
+ borderTopRightRadius: sectionproperties.image_bordertoprightradius + 'px',
7258
+ borderBottomLeftRadius: sectionproperties.image_borderBottomLeftRadius + 'px',
7259
+ borderBottomRightRadius: sectionproperties.image_borderBottomRightRadius + 'px',
7318
7260
  zIndex: -1,
7319
7261
  objectFit: sectionproperties.bgcovercontain
7320
7262
  }
@@ -7330,19 +7272,45 @@ var Wishlist = function Wishlist(props) {
7330
7272
  padding: 0,
7331
7273
  objectFit: sectionproperties.bgcovercontainresponsive,
7332
7274
  background: sectionproperties.image_bgcolor,
7333
- borderRadius: sectionproperties.imageborderradius + 'px',
7275
+ borderTopLeftRadius: sectionproperties.image_bordertopleftradius + 'px',
7276
+ borderTopRightRadius: sectionproperties.image_bordertoprightradius + 'px',
7277
+ borderBottomLeftRadius: sectionproperties.image_borderBottomLeftRadius + 'px',
7278
+ borderBottomRightRadius: sectionproperties.image_borderBottomRightRadius + 'px',
7334
7279
  zIndex: -1
7335
7280
  }
7336
- }))), /*#__PURE__*/React.createElement("div", {
7281
+ }), /*#__PURE__*/React.createElement("div", {
7282
+ className: ' col-lg-12 p-0 w-100 d-flex align-items-center justify-content-center ',
7283
+ style: {
7284
+ position: 'absolute',
7285
+ top: 0,
7286
+ right: 0,
7287
+ bottom: 0,
7288
+ left: 0
7289
+ }
7290
+ }, /*#__PURE__*/React.createElement("p", {
7291
+ className: ' m-0 p-0 ',
7292
+ style: {
7293
+ fontSize: sectionproperties.imagetextfontsize + 'px',
7294
+ color: sectionproperties.imagetextcolor,
7295
+ textTransform: sectionproperties.imagetexttextTransform,
7296
+ fontWeight: sectionproperties.imagetextfontWeight
7297
+ }
7298
+ }, lang.mywishlist)))), /*#__PURE__*/React.createElement("div", {
7337
7299
  className: "col-lg-12 p-0"
7338
7300
  }, /*#__PURE__*/React.createElement("div", {
7339
7301
  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',
7340
7302
  style: {
7341
- paddingLeft: sectionproperties.cardpaddinghorizontal + 'px',
7342
- paddingRight: sectionproperties.cardpaddinghorizontal + 'px',
7303
+ width: sectionproperties.width + 'vw',
7304
+ paddingLeft: sectionproperties.paddingLeft + 'px',
7305
+ paddingRight: sectionproperties.paddingRight + 'px',
7343
7306
  paddingTop: sectionproperties.paddingTop + 'px',
7344
7307
  paddingBottom: sectionproperties.paddingBottom + 'px',
7345
- borderTop: sectionproperties.sectioncardborderwidth + 'px solid ' + sectionproperties.sectioncardbordercolor
7308
+ borderBottomLeftRadius: sectionproperties.borderBottomLeftRadius + 'px',
7309
+ borderBottomRightRadius: sectionproperties.borderBottomRightRadius + 'px',
7310
+ borderTopLeftRadius: sectionproperties.borderTopLeftRadius + 'px',
7311
+ borderTopRightRadius: sectionproperties.borderTopRightRadius + 'px',
7312
+ borderColor: sectionproperties.sectioncardbordercolor,
7313
+ border: sectionproperties.sectioncardborderwidth + 'px solid'
7346
7314
  }
7347
7315
  }, /*#__PURE__*/React.createElement("div", {
7348
7316
  className: 'col-lg-12 p-0'
@@ -7352,118 +7320,24 @@ var Wishlist = function Wishlist(props) {
7352
7320
  })), /*#__PURE__*/React.createElement("div", {
7353
7321
  className: 'col-lg-12 p-0'
7354
7322
  }, fetchFavoriteProductsQueryContext.isFetching && /*#__PURE__*/React.createElement("div", {
7355
- className: "row m-0 w-100 align-items-center justify-content-center",
7356
- style: {
7357
- height: '50vh',
7358
- padding: '20px'
7359
- }
7360
- }, sectionproperties.showbgimage == 'Hide' && /*#__PURE__*/React.createElement("div", {
7361
- className: "col-lg-12 col-md-12 col-sm-12 d-flex align-items-center justify-content-start p-0",
7362
- style: {
7363
- marginTop: sectionproperties.sectionTitleMarginTop + 'px',
7364
- marginBottom: sectionproperties.sectionTitleMarginBottom + 'px'
7365
- }
7366
- }, /*#__PURE__*/React.createElement("p", {
7367
- "class": "m-0 p-0 mt-5 mt-sm-2",
7368
- style: {
7369
- fontSize: sectionproperties.sectionTitleFontSize + 'px',
7370
- color: sectionproperties.sectionTitleColor,
7371
- fontWeight: sectionproperties.sectionTitleFontWeight
7372
- }
7373
- }, langdetect == 'en' ? sectionproperties.sectionTitleContent : sectionproperties.sectionTitleContent_ar)), /*#__PURE__*/React.createElement("div", {
7374
- "class": "col-lg-12 p-0 d-flex d-md-none"
7375
- }, /*#__PURE__*/React.createElement("table", {
7376
- className: 'table'
7377
- }, /*#__PURE__*/React.createElement("thead", {
7378
- className: ""
7379
- }, /*#__PURE__*/React.createElement("th", {
7380
- className: 'mw-150 mw-md-300'
7381
- }, /*#__PURE__*/React.createElement("p", {
7382
- "class": "my-1 is-loading"
7383
- })), /*#__PURE__*/React.createElement("th", {
7384
- className: "text-center",
7385
- style: {
7386
- minWidth: '100px'
7387
- }
7388
- }, /*#__PURE__*/React.createElement("p", {
7389
- "class": "my-1 is-loading"
7390
- })), /*#__PURE__*/React.createElement("th", {
7391
- className: "text-center"
7392
- }, /*#__PURE__*/React.createElement("p", {
7393
- "class": "my-1 is-loading"
7394
- }))), /*#__PURE__*/React.createElement("tbody", null, _toConsumableArray(Array(3)).map(function (item, index) {
7395
- return /*#__PURE__*/React.createElement("tr", {
7396
- className: ""
7397
- }, /*#__PURE__*/React.createElement("td", {
7398
- className: "mw-150 mw-md-300"
7399
- }, /*#__PURE__*/React.createElement("p", {
7400
- "class": "my-1 is-loading"
7401
- })), /*#__PURE__*/React.createElement("td", {
7402
- className: "text-center",
7403
- style: {
7404
- minWidth: '100px'
7405
- }
7406
- }, /*#__PURE__*/React.createElement("p", {
7407
- "class": "my-1 is-loading"
7408
- })), /*#__PURE__*/React.createElement("td", {
7409
- className: "text-center",
7410
- style: {
7411
- minWidth: '100px'
7412
- }
7413
- }, /*#__PURE__*/React.createElement("p", {
7414
- "class": "my-1 is-loading"
7415
- })));
7416
- })))), /*#__PURE__*/React.createElement("div", {
7417
- "class": "col-lg-12 p-0 d-none d-md-flex"
7418
- }, /*#__PURE__*/React.createElement("div", {
7419
- className: "row m-0 w-100 align-items-center justify-content-center",
7323
+ className: "w-100 d-flex align-items-center justify-content-center",
7420
7324
  style: {
7421
7325
  height: '50vh'
7422
7326
  }
7423
- }, _toConsumableArray(Array(3)).map(function (item, index) {
7424
- return /*#__PURE__*/React.createElement("div", {
7425
- "class": "col-lg-12 p-0"
7426
- }, /*#__PURE__*/React.createElement("div", {
7427
- "class": "row m-0 w-100"
7428
- }, /*#__PURE__*/React.createElement("div", {
7429
- className: ' col-3 p-0 '
7430
- }, /*#__PURE__*/React.createElement("div", {
7431
- className: "".concat(wishlist_cssstyles.imagecont) + ' w-100 p-0 is-loading image '
7432
- })), /*#__PURE__*/React.createElement("div", {
7433
- className: "col-9 pt-2"
7434
- }, /*#__PURE__*/React.createElement("div", {
7435
- "class": "row m-0 w-100 d-flex"
7436
- }, /*#__PURE__*/React.createElement("div", {
7437
- "class": "col-10 p-0 mb-1"
7438
- }, /*#__PURE__*/React.createElement("p", {
7439
- className: ' m-0 p-0 is-loading mb-auto '
7440
- })), /*#__PURE__*/React.createElement("div", {
7441
- "class": "col-lg-12 p-0"
7442
- }, /*#__PURE__*/React.createElement("p", {
7443
- "class": ' m-0 p-0 is-loading '
7444
- })))), /*#__PURE__*/React.createElement("div", {
7445
- "class": "col-lg-12 allcentered p-0 mt-4"
7446
- }, /*#__PURE__*/React.createElement("button", {
7447
- className: ' w-100 is-loading ',
7448
- style: {
7449
- height: sectionproperties.cartBtnHeight + 'px'
7450
- }
7451
- })), /*#__PURE__*/React.createElement("div", {
7452
- "class": "col-lg-12 p-0 my-3",
7453
- style: {
7454
- background: '#eee',
7455
- height: 1,
7456
- width: '100%'
7457
- }
7458
- })));
7459
- })))), !fetchFavoriteProductsQueryContext.isFetching && fetchFavoriteProductsQueryContext.isSuccess && /*#__PURE__*/React.createElement("div", {
7327
+ }, /*#__PURE__*/React.createElement(Messaging, {
7328
+ color: "#ccc",
7329
+ width: "10px",
7330
+ height: "10px",
7331
+ duration: "1s"
7332
+ })), !fetchFavoriteProductsQueryContext.isFetching && fetchFavoriteProductsQueryContext.isSuccess && /*#__PURE__*/React.createElement("div", {
7460
7333
  className: "row ml-0 mr-0 w-100 "
7461
7334
  }, /*#__PURE__*/React.createElement("div", {
7462
7335
  className: 'col-lg-12 d-flex w-100 p-0'
7463
- }, sectionproperties.pagedesign == 'Design 1 (Cards)' && fetchFavoriteProductsQueryContext.data.data.products.length != 0 && /*#__PURE__*/React.createElement("div", {
7336
+ }, sectionproperties.pagedesign == 'Design 1 (Cards)' && /*#__PURE__*/React.createElement("div", {
7464
7337
  className: 'row m-0 d-flex justify-content-center w-100',
7465
7338
  style: {
7466
7339
  background: sectionproperties.reservation_bgcolor,
7340
+ border: sectionproperties.innersectionborderWidth + 'px solid ' + sectionproperties.innersectionborderColor,
7467
7341
  borderRadius: sectionproperties.reservation_borderradius + 'px',
7468
7342
  padding: '20px',
7469
7343
  minHeight: '70vh'
@@ -7528,7 +7402,24 @@ var Wishlist = function Wishlist(props) {
7528
7402
  fontSize: sectionproperties.cartBtnTextfontsize + 'px'
7529
7403
  }
7530
7404
  }, langdetect == 'en' ? sectionproperties.cartBtnContentenglish : sectionproperties.cartBtnContentarabic))));
7531
- })))), sectionproperties.pagedesign == 'Design 2 (Table)' && fetchFavoriteProductsQueryContext.data.data.products.length != 0 && /*#__PURE__*/React.createElement("div", {
7405
+ })), fetchFavoriteProductsQueryContext.data.data.products.length == 0 && /*#__PURE__*/React.createElement("div", {
7406
+ className: "row m-0 w-100 d-flex align-items-center justify-content-center h-100",
7407
+ style: {
7408
+ height: '50vh'
7409
+ }
7410
+ }, /*#__PURE__*/React.createElement("div", {
7411
+ className: ' col-lg-12 d-flex align-items-center justify-content-center text-light flex-column h-100 pt-5 pb-5 '
7412
+ }, /*#__PURE__*/React.createElement(BiSad, {
7413
+ size: sectionproperties.noprod_iconfontSize,
7414
+ color: sectionproperties.noprod_iconcolor
7415
+ }), /*#__PURE__*/React.createElement("p", {
7416
+ "class": "m-0 p-0 mt-2",
7417
+ style: {
7418
+ fontWeight: sectionproperties.noprod_fontWeight,
7419
+ color: sectionproperties.noprod_color,
7420
+ fontSize: sectionproperties.noprod_fontSize + 'px'
7421
+ }
7422
+ }, langdetect == 'en' ? sectionproperties.nocards_content_en : sectionproperties.nocards_content_ar))))), sectionproperties.pagedesign == 'Design 2 (Table)' && /*#__PURE__*/React.createElement("div", {
7532
7423
  className: ' row m-0 w-100 p-sm-3 ',
7533
7424
  style: {
7534
7425
  background: sectionproperties.reservation_bgcolor,
@@ -7538,49 +7429,24 @@ var Wishlist = function Wishlist(props) {
7538
7429
  minHeight: '70vh'
7539
7430
  }
7540
7431
  }, /*#__PURE__*/React.createElement("div", {
7541
- className: ' row m-0 w-100 d-block '
7542
- }, sectionproperties.showbgimage == 'Hide' && /*#__PURE__*/React.createElement("div", {
7543
- className: "col-lg-12 col-md-12 col-sm-12 d-flex align-items-center justify-content-start p-0",
7544
- style: {
7545
- marginTop: sectionproperties.sectionTitleMarginTop + 'px',
7546
- marginBottom: sectionproperties.sectionTitleMarginBottom + 'px'
7547
- }
7548
- }, /*#__PURE__*/React.createElement("p", {
7549
- "class": "m-0 p-0 mt-5 mt-sm-2",
7550
- style: {
7551
- fontSize: sectionproperties.sectionTitleFontSize + 'px',
7552
- color: sectionproperties.sectionTitleColor,
7553
- fontWeight: sectionproperties.sectionTitleFontWeight
7554
- }
7555
- }, langdetect == 'en' ? sectionproperties.sectionTitleContent : sectionproperties.sectionTitleContent_ar)), /*#__PURE__*/React.createElement("div", {
7556
- className: ' col-lg-12 table_responsive p-0 d-block d-md-none '
7432
+ className: ' col-lg-12 table_responsive p-0 '
7557
7433
  }, /*#__PURE__*/React.createElement("table", {
7558
- className: 'table'
7434
+ className: 'table table_thbg'
7559
7435
  }, /*#__PURE__*/React.createElement("thead", {
7560
- className: ""
7561
- }, /*#__PURE__*/React.createElement("th", {
7562
- className: langdetect == 'en' ? 'text-left font-weight-500 font-14 mw-150 mw-md-300' : 'text-right font-weight-500 font-14 mw-150 mw-md-300',
7563
- style: {
7564
- color: sectionproperties.sectionTitleColor
7565
- }
7566
- }, langdetect == 'en' ? sectionproperties.productnametitle_en : sectionproperties.productnametitle_ar), sectionproperties.prodPriceShow == 'Show' && /*#__PURE__*/React.createElement("th", {
7567
- className: "text-center font-weight-500 font-14",
7568
- style: {
7569
- minWidth: '100px',
7570
- color: sectionproperties.sectionTitleColor
7571
- }
7572
- }, langdetect == 'en' ? 'Unit Price' : 'السعر'), sectionproperties.cartBtnShow == 'Show' && /*#__PURE__*/React.createElement("th", {
7573
- className: "text-center font-weight-500 font-14",
7436
+ className: "",
7574
7437
  style: {
7575
- minWidth: '100px',
7576
- color: sectionproperties.sectionTitleColor
7438
+ background: '#eee'
7577
7439
  }
7578
- }), /*#__PURE__*/React.createElement("th", {
7579
- className: "text-center font-weight-500 font-14",
7440
+ }, /*#__PURE__*/React.createElement("th", {
7441
+ 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'
7442
+ }, langdetect == 'en' ? sectionproperties.productnametitle_en : sectionproperties.productnametitle_ar), sectionproperties.cartBtnShow == 'Show' && /*#__PURE__*/React.createElement("th", {
7443
+ className: "text-center font-weight-500 font-14 text-light",
7580
7444
  style: {
7581
- color: sectionproperties.sectionTitleColor
7445
+ minWidth: '100px'
7582
7446
  }
7583
- })), /*#__PURE__*/React.createElement("tbody", null, fetchFavoriteProductsQueryContext.data.data.products.map(function (item, index) {
7447
+ }, langdetect == 'en' ? sectionproperties.cartBtnContentenglish : sectionproperties.cartBtnContentarabic), /*#__PURE__*/React.createElement("th", {
7448
+ className: "text-center font-weight-500 font-14 text-light"
7449
+ }, lang.remove)), /*#__PURE__*/React.createElement("tbody", null, fetchFavoriteProductsQueryContext.data.data.products.map(function (item, index) {
7584
7450
  return /*#__PURE__*/React.createElement("tr", {
7585
7451
  className: "border-none"
7586
7452
  }, /*#__PURE__*/React.createElement("td", {
@@ -7596,28 +7462,14 @@ var Wishlist = function Wishlist(props) {
7596
7462
  style: {
7597
7463
  width: '100%',
7598
7464
  height: '100%',
7599
- objectFit: 'contain'
7465
+ objectFit: 'cover'
7600
7466
  },
7601
7467
  loading: "lazy"
7602
7468
  })), /*#__PURE__*/React.createElement("div", {
7603
- className: "col-lg-9 col-md-9 col-sm-8 pt-2"
7604
- }, /*#__PURE__*/React.createElement("p", {
7605
- className: "".concat(wishlist_cssstyles.productNameStyles) + ' m-0 p-0 wordbreak wordbreak3 mb-auto ',
7606
- style: {
7607
- textAlign: langdetect == 'en' ? 'left' : 'right'
7608
- }
7609
- }, item.name_en)))), sectionproperties.prodPriceShow = /*#__PURE__*/React.createElement("td", {
7610
- className: "text-center",
7611
- style: {
7612
- minWidth: '100px'
7613
- }
7614
- }, /*#__PURE__*/React.createElement("div", {
7615
- "class": "row m-0 w-100 allcentered flex-column"
7469
+ className: "col-lg-9 col-md-9 col-sm-8"
7616
7470
  }, /*#__PURE__*/React.createElement("p", {
7617
- "class": wishlist_cssstyles.productPricestyles + ' m-0 p-0 '
7618
- }, langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', ' ', item.hassale == 1 ? item.defaultsaleprice : item.defaultprice, ' ', langdetect == 'ar' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar : ''), item.hassale == 1 && /*#__PURE__*/React.createElement("p", {
7619
- "class": wishlist_cssstyles.productsalePricestyles + ' m-0 p-0 linethrough mt-2 '
7620
- }, langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', " ", item.defaultprice, ' ', langdetect == 'ar' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar : ''))), sectionproperties.cartBtnShow == 'Show' && /*#__PURE__*/React.createElement("td", {
7471
+ className: "".concat(wishlist_cssstyles.productNameStyles) + ' m-0 p-0 wordbreak wordbreak3 d-flex justify-content-start mb-auto '
7472
+ }, item.name_en)))), sectionproperties.cartBtnShow == 'Show' && /*#__PURE__*/React.createElement("td", {
7621
7473
  className: "text-center",
7622
7474
  style: {
7623
7475
  minWidth: '100px'
@@ -7628,7 +7480,28 @@ var Wishlist = function Wishlist(props) {
7628
7480
  setShowProductInfoModalContext(true);
7629
7481
  setProductIdProdutInfoModalContext(item.productid);
7630
7482
  }
7631
- }, langdetect == 'en' ? item.productactionbuttontext_en : item.productactionbuttontext_ar)), /*#__PURE__*/React.createElement("td", {
7483
+ }, sectionproperties.carticonstyle == 'Shopping bag 1' && /*#__PURE__*/React.createElement(FiShoppingBag, {
7484
+ className: "",
7485
+ size: sectionproperties.cartBtn_iconFontSize
7486
+ }), sectionproperties.carticonstyle == 'Shopping bag 2' && /*#__PURE__*/React.createElement(CgShoppingBag, {
7487
+ className: "",
7488
+ size: sectionproperties.cartBtn_iconFontSize
7489
+ }), sectionproperties.carticonstyle == 'Shopping bag 3' && /*#__PURE__*/React.createElement(BsBag, {
7490
+ className: "",
7491
+ size: sectionproperties.cartBtn_iconFontSize
7492
+ }), sectionproperties.carticonstyle == 'Shopping bag 4' && /*#__PURE__*/React.createElement(IoBagHandleOutline, {
7493
+ className: "",
7494
+ size: sectionproperties.cartBtn_iconFontSize
7495
+ }), sectionproperties.carticonstyle == 'Shopping cart 1' && /*#__PURE__*/React.createElement(FiShoppingCart, {
7496
+ className: "",
7497
+ size: sectionproperties.cartBtn_iconFontSize
7498
+ }), sectionproperties.carticonstyle == 'Shopping cart 2' && /*#__PURE__*/React.createElement(MdAddShoppingCart, {
7499
+ className: "",
7500
+ size: sectionproperties.cartBtn_iconFontSize
7501
+ }), sectionproperties.carticonstyle == 'Calendar 1' && /*#__PURE__*/React.createElement(FiCalendar, {
7502
+ className: "",
7503
+ size: sectionproperties.cartBtn_iconFontSize
7504
+ }))), /*#__PURE__*/React.createElement("td", {
7632
7505
  className: "text-center"
7633
7506
  }, /*#__PURE__*/React.createElement("button", {
7634
7507
  className: " ".concat(wishlist_cssstyles.trash_btn) + ' d-flex align-items-center justify-content-center text-uppercase font-weight-500 m-auto ',
@@ -7638,110 +7511,22 @@ var Wishlist = function Wishlist(props) {
7638
7511
  style: {
7639
7512
  fontSize: sectionproperties.trashbtn_Textfontsize + 'px'
7640
7513
  }
7641
- }, /*#__PURE__*/React.createElement(HiOutlineTrash, {
7642
- size: sectionproperties.trashbtn_Textfontsize
7643
- }))));
7644
- })))), /*#__PURE__*/React.createElement("div", {
7645
- className: ' col-lg-12 p-0 d-none d-md-flex align-items-center justify-content-start '
7646
- }, /*#__PURE__*/React.createElement("div", {
7647
- className: ' row m-0 w-100 d-flex align-items-center justify-content-start '
7648
- }, fetchFavoriteProductsQueryContext.data.data.products.map(function (item, index) {
7649
- return /*#__PURE__*/React.createElement("div", {
7650
- "class": "col-lg-12 p-0"
7651
- }, /*#__PURE__*/React.createElement("div", {
7652
- "class": "row m-0 w-100"
7653
- }, /*#__PURE__*/React.createElement("div", {
7654
- className: ' col-3 p-0 '
7655
- }, /*#__PURE__*/React.createElement("div", {
7656
- className: "".concat(wishlist_cssstyles.imagecont) + ' w-100 p-0 '
7657
- }, /*#__PURE__*/React.createElement(Imagekitimagecomp, {
7658
- urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
7659
- publicKey: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimagepublickey,
7660
- path: item.productmainimage,
7661
- style: {
7662
- width: '100%',
7663
- height: '100%',
7664
- objectFit: 'contain'
7665
- },
7666
- loading: "lazy"
7667
- }))), /*#__PURE__*/React.createElement("div", {
7668
- className: "col-9 pt-2"
7669
- }, /*#__PURE__*/React.createElement("div", {
7670
- "class": "row m-0 w-100 d-flex"
7671
- }, /*#__PURE__*/React.createElement("div", {
7672
- "class": "col-10 p-0 d-flex align-items-center justify-content-start"
7673
- }, /*#__PURE__*/React.createElement("p", {
7674
- className: "".concat(wishlist_cssstyles.productNameStyles) + ' m-0 p-0 wordbreak wordbreak3 mb-auto ',
7675
- style: {
7676
- textAlign: langdetect == 'en' ? 'left' : 'right'
7677
- }
7678
- }, item.name_en)), /*#__PURE__*/React.createElement("div", {
7679
- "class": "col-2 p-0 d-flex align-items-center justify-content-end"
7680
- }, /*#__PURE__*/React.createElement("button", {
7681
- className: " ".concat(wishlist_cssstyles.trash_btnresp) + ' allcentered ',
7682
- onClick: function onClick() {
7683
- addtofavoritescontext(item.productid);
7684
- }
7685
- }, /*#__PURE__*/React.createElement(HiOutlineTrash, {
7686
- size: sectionproperties.trashbtn_Textfontsize
7687
- }))), sectionproperties.prodPriceShow = /*#__PURE__*/React.createElement("div", {
7688
- "class": "col-lg-12 p-0 d-flex align-items-center justify-content-start"
7689
- }, /*#__PURE__*/React.createElement("p", {
7690
- "class": wishlist_cssstyles.productPricestyles + ' m-0 p-0 '
7691
- }, langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', ' ', item.hassale == 1 ? item.defaultsaleprice : item.defaultprice, ' ', langdetect == 'ar' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar : ''), item.hassale == 1 && /*#__PURE__*/React.createElement("p", {
7692
- "class": wishlist_cssstyles.productsalePricestyles + ' m-0 p-0 linethrough mx-2 mt-auto '
7693
- }, langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', " ", item.defaultprice, ' ', langdetect == 'ar' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar : '')))), sectionproperties.cartBtnShow == 'Show' && /*#__PURE__*/React.createElement("div", {
7694
- "class": "col-lg-12 allcentered p-0 mt-4"
7695
- }, /*#__PURE__*/React.createElement("button", {
7696
- className: "".concat(wishlist_cssstyles.cart_btn) + ' w-100 ',
7697
- onClick: function onClick() {
7698
- setShowProductInfoModalContext(true);
7699
- setProductIdProdutInfoModalContext(item.productid);
7700
- }
7701
- }, langdetect == 'en' ? item.productactionbuttontext_en : item.productactionbuttontext_ar)), /*#__PURE__*/React.createElement("div", {
7702
- "class": "col-lg-12 p-0 my-3",
7703
- style: {
7704
- background: '#eee',
7705
- height: 1,
7706
- width: '100%'
7707
- }
7708
- })));
7709
- }))))), fetchFavoriteProductsQueryContext.data.data.products.length == 0 && /*#__PURE__*/React.createElement("div", {
7710
- className: "row m-0 w-100 d-flex justify-content-center pt-5 pb-5",
7711
- style: {
7712
- maxHeight: '60vh',
7713
- padding: '20px'
7714
- }
7514
+ }, lang.remove)));
7515
+ }))), fetchFavoriteProductsQueryContext.data.data.products.length == 0 && /*#__PURE__*/React.createElement("div", {
7516
+ className: "row m-0 w-100 d-flex align-items-center justify-content-center pt-5 pb-5"
7715
7517
  }, /*#__PURE__*/React.createElement("div", {
7716
- className: "col-lg-12 col-md-12 col-sm-12 d-flex align-items-center justify-content-start p-0",
7717
- style: {
7718
- marginTop: sectionproperties.sectionTitleMarginTop + 'px',
7719
- marginBottom: sectionproperties.sectionTitleMarginBottom + 'px'
7720
- }
7721
- }, /*#__PURE__*/React.createElement("p", {
7722
- "class": "m-0 p-0 mt-5 mt-sm-2",
7723
- style: {
7724
- fontSize: sectionproperties.sectionTitleFontSize + 'px',
7725
- color: sectionproperties.sectionTitleColor,
7726
- fontWeight: sectionproperties.sectionTitleFontWeight
7727
- }
7728
- }, langdetect == 'en' ? sectionproperties.sectionTitleContent : sectionproperties.sectionTitleContent_ar)), /*#__PURE__*/React.createElement("div", {
7729
- className: ' col-lg-12 d-flex align-items-center justify-content-start text-light px-0 mb-3 '
7730
- }, /*#__PURE__*/React.createElement("p", {
7731
- "class": sectionproperties.noprod_iconfontSize == 0 ? 'm-0 p-0' : 'm-0 p-0 mt-2',
7518
+ className: ' col-lg-12 d-flex align-items-center justify-content-center text-light flex-column h-100 pt-5 pb-5 '
7519
+ }, /*#__PURE__*/React.createElement(BiSad, {
7520
+ size: sectionproperties.noprod_iconfontSize,
7521
+ color: sectionproperties.noprod_iconcolor
7522
+ }), /*#__PURE__*/React.createElement("p", {
7523
+ "class": "m-0 p-0 mt-2",
7732
7524
  style: {
7733
7525
  fontWeight: sectionproperties.noprod_fontWeight,
7734
7526
  color: sectionproperties.noprod_color,
7735
7527
  fontSize: sectionproperties.noprod_fontSize + 'px'
7736
7528
  }
7737
- }, langdetect == 'en' ? sectionproperties.nocards_content_en : sectionproperties.nocards_content_ar)), /*#__PURE__*/React.createElement("div", {
7738
- className: ' col-lg-12 d-flex align-items-center justify-content-start text-light px-0 mb-5 '
7739
- }, /*#__PURE__*/React.createElement("button", {
7740
- "class": "".concat(wishlist_cssstyles.btnstyles),
7741
- onClick: function onClick() {
7742
- routingcountext(StaticPagesLinksContext.GeneralProductsComponent, false);
7743
- }
7744
- }, langdetect == 'en' ? sectionproperties.generalbtn_content : sectionproperties.slideshow_btn_text_ar))))))), /*#__PURE__*/React.createElement("div", {
7529
+ }, langdetect == 'en' ? sectionproperties.nocards_content_en : sectionproperties.nocards_content_ar))))))))), /*#__PURE__*/React.createElement("div", {
7745
7530
  className: "col-lg-12 d-flex align-items-center justify-content-center p-0 "
7746
7531
  })));
7747
7532
  };
@@ -7749,7 +7534,7 @@ var Wishlist = function Wishlist(props) {
7749
7534
  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; }
7750
7535
  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(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; }
7751
7536
  var Viewcart = function Viewcart(props) {
7752
- var _bgimagesarray$, _bgimagesarray$5, _bgimagesarray$6, _bgimagesarray$7, _bgimagesarray$8, _fetchcustomercartQue7, _fetchcustomercartQue8, _fetchcustomercartQue9;
7537
+ var _bgimagesarray$, _bgimagesarray$5, _bgimagesarray$6, _bgimagesarray$7, _bgimagesarray$8, _fetchcustomercartQue7, _fetchcustomercartQue8;
7753
7538
  var lang = props.actions.lang;
7754
7539
  var langdetect = props.actions.langdetect;
7755
7540
  var fetchcustomercartQueryContext = props.actions.fetchcustomercartQueryContext;
@@ -7772,10 +7557,6 @@ var Viewcart = function Viewcart(props) {
7772
7557
  _useState4 = _slicedToArray(_useState3, 2);
7773
7558
  _useState4[0];
7774
7559
  var setimagesarray = _useState4[1];
7775
- var _useState5 = useState([]),
7776
- _useState6 = _slicedToArray(_useState5, 2),
7777
- bgimagesarray = _useState6[0],
7778
- setbgimagesarray = _useState6[1];
7779
7560
  useEffect(function () {
7780
7561
  if (Object.keys(StatePagePropertiesContext).length != 0) {
7781
7562
  var _StatePagePropertiesC;
@@ -7802,16 +7583,6 @@ var Viewcart = function Viewcart(props) {
7802
7583
  }
7803
7584
  }
7804
7585
  }, [sectionproperties]);
7805
- useEffect(function () {
7806
- if (sectionproperties.length != 0) {
7807
- if (sectionproperties.arrayofobjectimagesonly != null) {
7808
- var arrayofobjectimagesonlyparsed = JSON.parse(sectionproperties.arrayofobjectimagesonly);
7809
- if (Array.isArray(arrayofobjectimagesonlyparsed)) {
7810
- setbgimagesarray(_toConsumableArray(arrayofobjectimagesonlyparsed));
7811
- }
7812
- }
7813
- }
7814
- }, [sectionproperties]);
7815
7586
  var Summary = function Summary() {
7816
7587
  var _fetchcustomercartQue, _fetchcustomercartQue2, _fetchcustomercartQue3, _fetchcustomercartQue4, _fetchcustomercartQue5, _fetchcustomercartQue6;
7817
7588
  return /*#__PURE__*/React.createElement("div", {
@@ -7883,23 +7654,6 @@ var Viewcart = function Viewcart(props) {
7883
7654
  }, langdetect == 'en' ? sectionproperties.checkoutButtonContenten : sectionproperties.checkoutButtonContentar)))));
7884
7655
  };
7885
7656
  var viewcart_cssstyles = {
7886
- btnstyles: css({
7887
- width: sectionproperties.generalbtn_width + '%',
7888
- height: sectionproperties.generalbtn_height + 'px',
7889
- borderRadius: sectionproperties.generalbtnborderradius + 'px',
7890
- background: sectionproperties.generalbtn_bgColor,
7891
- color: sectionproperties.generalbtn_textColor,
7892
- fontSize: sectionproperties.generalbtn_fontsize + 'px',
7893
- fontWeight: sectionproperties.generalbtn_fontweight,
7894
- ':hover': {
7895
- transition: '.3s',
7896
- color: sectionproperties.generalbtn_textColoronhover,
7897
- backgroundColor: sectionproperties.generalbtn_bgColoronhover
7898
- },
7899
- '@media (max-width: 800px)': {
7900
- width: '80%'
7901
- }
7902
- }),
7903
7657
  checkoutbtnstyles: css({
7904
7658
  background: sectionproperties.checkoutBtnbgColortranparent == 'Transparent' ? 'transparent' : sectionproperties.checkoutBtnbgColor,
7905
7659
  width: sectionproperties.checkoutBtnWidth + 'px',
@@ -8020,8 +7774,10 @@ var Viewcart = function Viewcart(props) {
8020
7774
  }
8021
7775
  }),
8022
7776
  tableimagecont: css({
8023
- width: sectionproperties.prodimage_width + 'px',
8024
- height: sectionproperties.prodimage_height + 'px',
7777
+ width: '70px',
7778
+ height: sectionproperties.prodimage__borderBottomLeftRadius == 100 ? '70px' : '60px',
7779
+ border: sectionproperties.prodimage_borderwidth + 'px solid ' + sectionproperties.prodimage_color,
7780
+ backgroundColor: sectionproperties.prodimage_bgcolor,
8025
7781
  display: 'flex',
8026
7782
  alignItems: 'center',
8027
7783
  justifyContent: 'center',
@@ -8036,6 +7792,20 @@ var Viewcart = function Viewcart(props) {
8036
7792
  }
8037
7793
  })
8038
7794
  };
7795
+ var _useState5 = useState([]),
7796
+ _useState6 = _slicedToArray(_useState5, 2),
7797
+ bgimagesarray = _useState6[0],
7798
+ setbgimagesarray = _useState6[1];
7799
+ useEffect(function () {
7800
+ if (sectionproperties.length != 0) {
7801
+ if (sectionproperties.arrayofobjectimagesonly != null) {
7802
+ var arrayofobjectimagesonlyparsed = JSON.parse(sectionproperties.arrayofobjectimagesonly);
7803
+ if (Array.isArray(arrayofobjectimagesonlyparsed)) {
7804
+ setbgimagesarray(_toConsumableArray(arrayofobjectimagesonlyparsed));
7805
+ }
7806
+ }
7807
+ }
7808
+ }, [sectionproperties]);
8039
7809
  return /*#__PURE__*/React.createElement("div", {
8040
7810
  className: viewcart_cssstyles.containerstyles + ' row ml-0 mr-0 w-100 d-flex justify-content-center ',
8041
7811
  style: {}
@@ -8059,7 +7829,7 @@ var Viewcart = function Viewcart(props) {
8059
7829
  "class": sectionproperties.bgcovercontainresponsive == 'Contain' ? 'h-sm-auto mb-sm-4' : '',
8060
7830
  style: {
8061
7831
  width: sectionproperties.image_width + 'vw',
8062
- height: 'auto',
7832
+ height: sectionproperties.image_height == 0 ? 'auto' : sectionproperties.image_height + 'vh',
8063
7833
  marginBottom: sectionproperties.image_mb + 'px',
8064
7834
  position: 'relative'
8065
7835
  }
@@ -8071,11 +7841,15 @@ var Viewcart = function Viewcart(props) {
8071
7841
  style: {
8072
7842
  height: '100%',
8073
7843
  width: '100%',
8074
- objectFit: 'contain',
8075
7844
  margin: 0,
8076
7845
  padding: 0,
8077
- borderRadius: sectionproperties.imageborderradius + 'px',
8078
- zIndex: -1
7846
+ background: sectionproperties.image_bgcolor,
7847
+ borderTopLeftRadius: sectionproperties.image_bordertopleftradius + 'px',
7848
+ borderTopRightRadius: sectionproperties.image_bordertoprightradius + 'px',
7849
+ borderBottomLeftRadius: sectionproperties.image_borderBottomLeftRadius + 'px',
7850
+ borderBottomRightRadius: sectionproperties.image_borderBottomRightRadius + 'px',
7851
+ zIndex: -1,
7852
+ objectFit: sectionproperties.bgcovercontain
8079
7853
  }
8080
7854
  }), /*#__PURE__*/React.createElement(Imagekitimagecomp, {
8081
7855
  urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
@@ -8085,22 +7859,48 @@ var Viewcart = function Viewcart(props) {
8085
7859
  style: {
8086
7860
  height: '100%',
8087
7861
  width: '100%',
8088
- objectFit: 'contain',
8089
7862
  margin: 0,
8090
7863
  padding: 0,
8091
- borderRadius: sectionproperties.imageborderradius + 'px',
7864
+ objectFit: sectionproperties.bgcovercontainresponsive,
7865
+ background: sectionproperties.image_bgcolor,
7866
+ borderTopLeftRadius: sectionproperties.image_bordertopleftradius + 'px',
7867
+ borderTopRightRadius: sectionproperties.image_bordertoprightradius + 'px',
7868
+ borderBottomLeftRadius: sectionproperties.image_borderBottomLeftRadius + 'px',
7869
+ borderBottomRightRadius: sectionproperties.image_borderBottomRightRadius + 'px',
8092
7870
  zIndex: -1
8093
7871
  }
8094
- }))), /*#__PURE__*/React.createElement("div", {
7872
+ }), /*#__PURE__*/React.createElement("div", {
7873
+ className: ' col-lg-12 p-0 w-100 d-flex align-items-center justify-content-center ',
7874
+ style: {
7875
+ position: 'absolute',
7876
+ top: 0,
7877
+ right: 0,
7878
+ bottom: 0,
7879
+ left: 0
7880
+ }
7881
+ }, /*#__PURE__*/React.createElement("p", {
7882
+ className: ' m-0 p-0 ',
7883
+ style: {
7884
+ fontSize: sectionproperties.imagetextfontsize + 'px',
7885
+ color: sectionproperties.imagetextcolor,
7886
+ textTransform: sectionproperties.imagetexttextTransform,
7887
+ fontWeight: sectionproperties.imagetextfontWeight
7888
+ }
7889
+ }, lang.mycart)))), /*#__PURE__*/React.createElement("div", {
8095
7890
  className: "col-lg-12 p-0"
8096
7891
  }, /*#__PURE__*/React.createElement("div", {
8097
7892
  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',
8098
7893
  style: {
8099
- paddingLeft: sectionproperties.cardpaddinghorizontal + 'px',
8100
- paddingRight: sectionproperties.cardpaddinghorizontal + 'px',
7894
+ paddingLeft: sectionproperties.paddingLeft + 'px',
7895
+ paddingRight: sectionproperties.paddingRight + 'px',
8101
7896
  paddingTop: sectionproperties.paddingTop + 'px',
8102
7897
  paddingBottom: sectionproperties.paddingBottom + 'px',
8103
- border: sectionproperties.sectioncardborderwidth + 'px solid ' + sectionproperties.sectioncardbordercolor
7898
+ borderBottomLeftRadius: sectionproperties.borderBottomLeftRadius + 'px',
7899
+ borderBottomRightRadius: sectionproperties.borderBottomRightRadius + 'px',
7900
+ borderTopLeftRadius: sectionproperties.borderTopLeftRadius + 'px',
7901
+ borderTopRightRadius: sectionproperties.borderTopRightRadius + 'px'
7902
+ // borderColor: sectionproperties.sectioncardbordercolor,
7903
+ // border: sectionproperties.sectioncardborderwidth + 'px solid',
8104
7904
  }
8105
7905
  }, /*#__PURE__*/React.createElement("div", {
8106
7906
  className: 'col-lg-12 p-0'
@@ -8109,7 +7909,7 @@ var Viewcart = function Viewcart(props) {
8109
7909
  actions: actions
8110
7910
  })), /*#__PURE__*/React.createElement("div", {
8111
7911
  className: 'col-lg-12 d-flex w-100 p-0'
8112
- }, (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.createElement("div", {
7912
+ }, /*#__PURE__*/React.createElement("div", {
8113
7913
  className: "row m-0 w-100"
8114
7914
  }, /*#__PURE__*/React.createElement("div", {
8115
7915
  className: langdetect == 'en' ? 'col-lg-9 pr-0' : 'col-lg-9 pl-0'
@@ -8125,7 +7925,10 @@ var Viewcart = function Viewcart(props) {
8125
7925
  }, /*#__PURE__*/React.createElement("table", {
8126
7926
  className: 'table table_thbg'
8127
7927
  }, /*#__PURE__*/React.createElement("thead", {
8128
- className: ""
7928
+ className: "",
7929
+ style: {
7930
+ background: '#eee'
7931
+ }
8129
7932
  }, /*#__PURE__*/React.createElement("th", {
8130
7933
  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'
8131
7934
  }, langdetect == 'en' ? sectionproperties.productnametitle_en : sectionproperties.productnametitle_ar), /*#__PURE__*/React.createElement("th", {
@@ -8142,7 +7945,7 @@ var Viewcart = function Viewcart(props) {
8142
7945
  }
8143
7946
  }, lang.total), /*#__PURE__*/React.createElement("th", {
8144
7947
  className: "text-capitalize text-center font-weight-500 font-14 text-uppercase text-light"
8145
- }, lang.remove)), /*#__PURE__*/React.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) {
7948
+ }, lang.remove)), /*#__PURE__*/React.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) {
8146
7949
  return /*#__PURE__*/React.createElement("tr", {
8147
7950
  className: "border-none"
8148
7951
  }, /*#__PURE__*/React.createElement("td", {
@@ -8158,7 +7961,8 @@ var Viewcart = function Viewcart(props) {
8158
7961
  style: {
8159
7962
  width: '100%',
8160
7963
  height: '100%',
8161
- objectFit: 'contain'
7964
+ objectFit: sectionproperties.prodimage__borderBottomLeftRadius == '100' ? 'cover' : 'contain',
7965
+ borderRadius: sectionproperties.prodimage__borderBottomLeftRadius + 'px'
8162
7966
  },
8163
7967
  loading: "lazy"
8164
7968
  })), /*#__PURE__*/React.createElement("div", {
@@ -8312,43 +8116,36 @@ var Viewcart = function Viewcart(props) {
8312
8116
  deletecartitemContext(item);
8313
8117
  }
8314
8118
  }, lang.remove)));
8315
- })))))), /*#__PURE__*/React.createElement("div", {
8316
- className: langdetect == 'en' ? ' col-lg-3 pr-0 px-sm-0 mb-4 ' : ' col-lg-3 pl-0 px-sm-0 mb-4'
8317
- }, 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.createElement("div", {
8318
- className: "row m-0 w-100 d-flex justify-content-center pt-5 pb-5",
8119
+ })))), (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.createElement("div", {
8120
+ className: "row m-0 w-100 d-flex align-items-center justify-content-center h-100 pt-5 pb-5",
8319
8121
  style: {
8320
- maxHeight: '60vh'
8122
+ height: '50vh'
8321
8123
  }
8322
8124
  }, /*#__PURE__*/React.createElement("div", {
8323
- className: "col-lg-12 col-md-12 col-sm-12 d-flex align-items-center justify-content-start p-0",
8125
+ className: ' col-lg-12 d-flex align-items-center justify-content-center text-light flex-column h-100 pt-5 pb-5 '
8126
+ }, /*#__PURE__*/React.createElement("div", {
8127
+ className: "col-lg-12 d-flex align-items-center justify-content-center text-light flex-column"
8128
+ }, sectionproperties.noproducticontype == 'Cart' && /*#__PURE__*/React.createElement("img", {
8129
+ src: 'https://tabex-co.com/storage/StaticImages/shoppingcart.png',
8324
8130
  style: {
8325
- marginTop: sectionproperties.sectionTitleMarginTop + 'px',
8326
- marginBottom: sectionproperties.sectionTitleMarginBottom + 'px'
8131
+ maxWidth: '250px',
8132
+ maxHeight: '250px'
8327
8133
  }
8328
- }, /*#__PURE__*/React.createElement("p", {
8329
- "class": "m-0 p-0",
8134
+ }), sectionproperties.noproducticontype == 'Calendar' && /*#__PURE__*/React.createElement(FiCalendar, {
8330
8135
  style: {
8331
- fontSize: sectionproperties.sectionTitleFontSize + 'px',
8332
- color: sectionproperties.sectionTitleColor,
8333
- fontWeight: sectionproperties.sectionTitleFontWeight
8136
+ fontSize: sectionproperties.noprod_iconfontSize + 'px',
8137
+ color: sectionproperties.noprod_iconcolor
8334
8138
  }
8335
- }, langdetect == 'en' ? sectionproperties.sectionTitleContent : sectionproperties.sectionTitleContent_ar)), /*#__PURE__*/React.createElement("div", {
8336
- className: ' col-lg-12 d-flex align-items-center justify-content-start text-light px-0 mb-3 '
8337
- }, /*#__PURE__*/React.createElement("p", {
8338
- "class": sectionproperties.noprod_iconfontSize == 0 ? 'm-0 p-0' : 'm-0 p-0 mt-2',
8139
+ }), /*#__PURE__*/React.createElement("p", {
8140
+ "class": "m-0 p-0 mt-2",
8339
8141
  style: {
8340
8142
  fontWeight: sectionproperties.noprod_fontWeight,
8341
8143
  color: sectionproperties.noprod_color,
8342
8144
  fontSize: sectionproperties.noprod_fontSize + 'px'
8343
8145
  }
8344
- }, langdetect == 'en' ? sectionproperties.nocards_content_en : sectionproperties.nocards_content_ar)), /*#__PURE__*/React.createElement("div", {
8345
- className: ' col-lg-12 d-flex align-items-center justify-content-start text-light px-0 mb-5 '
8346
- }, /*#__PURE__*/React.createElement("button", {
8347
- "class": "".concat(viewcart_cssstyles.btnstyles),
8348
- onClick: function onClick() {
8349
- routingcountext(StaticPagesLinksContext.GeneralProductsComponent, false);
8350
- }
8351
- }, langdetect == 'en' ? sectionproperties.generalbtn_content : sectionproperties.slideshow_btn_text_ar)))))));
8146
+ }, langdetect == 'en' ? sectionproperties.nocards_content_en : sectionproperties.nocards_content_ar)))))), /*#__PURE__*/React.createElement("div", {
8147
+ className: langdetect == 'en' ? ' col-lg-3 pr-0 px-sm-0 mb-4 ' : ' col-lg-3 pl-0 px-sm-0 mb-4'
8148
+ }, Summary()))))));
8352
8149
  };
8353
8150
 
8354
8151
  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";
@@ -9583,7 +9380,7 @@ var Checkout = function Checkout(props) {
9583
9380
  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"
9584
9381
  })), /*#__PURE__*/React.createElement("p", {
9585
9382
  className: "".concat(formstyles.checkbox_label) + ' ml-2 mb-0 wordbreak cursor-pointer mr-2 '
9586
- }, " 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.createElement("div", {
9383
+ }, 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.createElement("div", {
9587
9384
  className: "col-lg-12 p-0 w-100 mb-3"
9588
9385
  }, /*#__PURE__*/React.createElement("div", {
9589
9386
  style: {
@@ -16501,6 +16298,10 @@ var Searchlist$1 = function Searchlist(props) {
16501
16298
  color: sectionproperties.searchlist_prodNameColorOnHover
16502
16299
  }
16503
16300
  }),
16301
+ productnamecont: css({
16302
+ paddingLeft: langdetect == 'en' ? '0.25rem' : 0,
16303
+ paddingRight: langdetect == 'ar' ? '0.25rem' : 0
16304
+ }),
16504
16305
  productNameStyles: css({
16505
16306
  fontSize: sectionproperties.searchlist_prodNameFontSize + 'px',
16506
16307
  textTransform: sectionproperties.searchlist_prodNameTextTranform,
@@ -16608,7 +16409,7 @@ var Searchlist$1 = function Searchlist(props) {
16608
16409
  borderRadius: sectionproperties.searchlist_prodimage_borderradius + 'px'
16609
16410
  }
16610
16411
  })), /*#__PURE__*/React.createElement("div", {
16611
- "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',
16412
+ "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 ',
16612
16413
  style: {
16613
16414
  alignItems: sectionproperties.searchlistshowprice == 'Show' ? 'start' : 'center'
16614
16415
  }
@@ -18351,8 +18152,8 @@ var HeaderresponsiveStyle2 = function HeaderresponsiveStyle2(props) {
18351
18152
  setmenuactive = _useState6[1];
18352
18153
  var _useState7 = useState(false),
18353
18154
  _useState8 = _slicedToArray(_useState7, 2),
18354
- openSearch = _useState8[0],
18355
- setopenSearch = _useState8[1];
18155
+ openSearch = _useState8[0];
18156
+ _useState8[1];
18356
18157
  useEffect(function () {
18357
18158
  if (props.sectionpropertiesprops != undefined) {
18358
18159
  setsectionproperties(_objectSpread$1T({}, props.sectionpropertiesprops));
@@ -18623,12 +18424,7 @@ var HeaderresponsiveStyle2 = function HeaderresponsiveStyle2(props) {
18623
18424
  }
18624
18425
  }))), /*#__PURE__*/React.createElement("div", {
18625
18426
  className: "col-md-6 col-sm-6 d-flex align-items-center justify-content-end p-0"
18626
- }, /*#__PURE__*/React.createElement("i", {
18627
- "class": "h-100 allcentered",
18628
- onClick: function onClick() {
18629
- setopenSearch(true);
18630
- }
18631
- }, /*#__PURE__*/React.createElement(IoSearchOutline, null)), sectionproperties.cartBtnShow == 'Show' && CartButton(), /*#__PURE__*/React.createElement("i", {
18427
+ }, sectionproperties.cartBtnShow == 'Show' && CartButton(), /*#__PURE__*/React.createElement("i", {
18632
18428
  "class": ' h-100 allcentered ',
18633
18429
  style: {
18634
18430
  color: sectionproperties.cart_BtnTextcolor_resp
@@ -34604,10 +34400,14 @@ var TwoTieredHeader = function TwoTieredHeader(props) {
34604
34400
  }, /*#__PURE__*/React.createElement("div", {
34605
34401
  "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 ',
34606
34402
  style: {
34607
- display: 'flex'
34403
+ display: 'flex',
34404
+ color: '#000'
34608
34405
  }
34609
34406
  }, /*#__PURE__*/React.createElement("div", {
34610
- "class": 'col-lg-10 d-flex justify-content-start m-0 p-0'
34407
+ "class": header_cssstyles.categorydropdownbtn + ' col-lg-10 d-flex justify-content-start m-0 p-0 ',
34408
+ style: {
34409
+ color: '#000'
34410
+ }
34611
34411
  }, langdetect == 'en' ? sectionproperties.generalbtn_content : sectionproperties.slideshow_btn_text_ar), /*#__PURE__*/React.createElement("div", {
34612
34412
  "class": "col-lg-2 p-0 h-100 d-flex align-items-center justify-content-end"
34613
34413
  }, /*#__PURE__*/React.createElement("i", {