tabexseriescomponents 0.50.109 → 0.50.112
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs.js +334 -292
- package/dist/index.esm.js +334 -292
- package/dist/index.umd.js +334 -292
- package/package.json +1 -1
package/dist/index.cjs.js
CHANGED
|
@@ -34275,7 +34275,7 @@ var Simpleheader = function Simpleheader(props) {
|
|
|
34275
34275
|
}
|
|
34276
34276
|
}, sectionproperties.cartBtnTextfontsize != 0 && /*#__PURE__*/React__default["default"].createElement("span", {
|
|
34277
34277
|
"class": langdetect != 'ar' ? 'mr-2' : 'ml-2'
|
|
34278
|
-
}, langdetect == 'en' ? sectionproperties.cartBtnContentenglish : langdetect == 'rus' ? sectionproperties.
|
|
34278
|
+
}, langdetect == 'en' ? sectionproperties.cartBtnContentenglish : langdetect == 'rus' ? sectionproperties.cartBtnContentrus : sectionproperties.cartBtnContentarabic), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
34279
34279
|
"class": "".concat(header_cssstyles.badge_counter_header_notifications, " ").concat(header_cssstyles.cartbadge)
|
|
34280
34280
|
}, (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue === void 0 || (_fetchcustomercartQue = _fetchcustomercartQue.data) === null || _fetchcustomercartQue === void 0 ? void 0 : _fetchcustomercartQue.customercart) != null ? fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue2 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue2 === void 0 || (_fetchcustomercartQue2 = _fetchcustomercartQue2.data) === null || _fetchcustomercartQue2 === void 0 ? void 0 : _fetchcustomercartQue2.customercart.cartitems_count_withquantity : 0), /*#__PURE__*/React__default["default"].createElement("i", {
|
|
34281
34281
|
"class": "h-100 allcentered"
|
|
@@ -53258,7 +53258,7 @@ var Footer8 = function Footer8(props) {
|
|
|
53258
53258
|
fontSize: 14,
|
|
53259
53259
|
fontWeight: 400
|
|
53260
53260
|
}
|
|
53261
|
-
},
|
|
53261
|
+
}, langdetect == 'en' ? 'Villa No. 298 B - South Police Acemy - Fifth Settlement - New Cairo - Cairo - Egypt.' : langdetect == 'fr' ? 'Villa n° 298 B – Académie de Police Sud – Cinquième Caire – Nouveau Caire – Le Caire – Égypte' : 'فيلا رقم ٢٩٨ ب - أكاديمية الشرطة الجنوبية - التجمع الخامس - القاهرة الجديدة - القاهرة - مصر')), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
53262
53262
|
"class": "col-lg-12 p-0 text-start mt-4 mb-2"
|
|
53263
53263
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
53264
53264
|
"class": "".concat(footerStyles.iconTextStyle),
|
|
@@ -53283,7 +53283,7 @@ var Footer8 = function Footer8(props) {
|
|
|
53283
53283
|
fontSize: 14,
|
|
53284
53284
|
fontWeight: 400
|
|
53285
53285
|
}
|
|
53286
|
-
},
|
|
53286
|
+
}, langdetect == 'en' ? 'Units No. (40, 41, 42), Industrial Zone, Arab Al-Awamer Complex, Assiut Governorate' : langdetect == 'fr' ? 'Unités n° (40, 41, 42), Zone Industrielle, Complexe Arab Al-Awamer, Gouvernorat d’Assiout' : 'الوحدات رقم (40، 41، 42)، المنطقة الصناعية، مجمع عرب العوامر، محافظة أسيوط')))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
53287
53287
|
"class": "col-lg-4 col-md-12 d-none d-md-flex flex-column mb-md-3 mt-3"
|
|
53288
53288
|
}, /*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.Accordion, {
|
|
53289
53289
|
"class": "w-100",
|
|
@@ -53335,7 +53335,7 @@ var Footer8 = function Footer8(props) {
|
|
|
53335
53335
|
"class": "col-lg-12 p-0 text-start mb-2"
|
|
53336
53336
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
53337
53337
|
"class": "".concat(footerStyles.textStyles)
|
|
53338
|
-
}, sectionproperties["addresstitle_".concat(langdetect)] || sectionproperties.addresstitle_en)), templatepropcontext === null || templatepropcontext === void 0 || (_templatepropcontext$3 = templatepropcontext.pagesnprop) === null || _templatepropcontext$3 === void 0 ? void 0 : _templatepropcontext$3.map(function (item, index) {
|
|
53338
|
+
}, langdetect == 'fr' ? 'Liens rapides' : sectionproperties["addresstitle_".concat(langdetect)] || sectionproperties.addresstitle_en)), templatepropcontext === null || templatepropcontext === void 0 || (_templatepropcontext$3 = templatepropcontext.pagesnprop) === null || _templatepropcontext$3 === void 0 ? void 0 : _templatepropcontext$3.map(function (item, index) {
|
|
53339
53339
|
if (item.isnavigation == 1 && item.isactive == 1) {
|
|
53340
53340
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
53341
53341
|
"class": "col-lg-12 p-0 text-start mb-2",
|
|
@@ -53543,7 +53543,7 @@ var Footer8 = function Footer8(props) {
|
|
|
53543
53543
|
color: '#fff'
|
|
53544
53544
|
}
|
|
53545
53545
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
53546
|
-
"class": ' m-0 font-14 font-weight-500
|
|
53546
|
+
"class": ' m-0 font-14 font-weight-500 cursor-pointer ',
|
|
53547
53547
|
onClick: function onClick() {
|
|
53548
53548
|
routingcountext(StaticPagesLinksContext.PrivacyPolicy);
|
|
53549
53549
|
}
|
|
@@ -53554,7 +53554,7 @@ var Footer8 = function Footer8(props) {
|
|
|
53554
53554
|
},
|
|
53555
53555
|
className: "mx-2"
|
|
53556
53556
|
}, ' ', "-", ' '), /*#__PURE__*/React__default["default"].createElement("p", {
|
|
53557
|
-
"class": ' m-0 font-14 font-weight-500
|
|
53557
|
+
"class": ' m-0 font-14 font-weight-500 cursor-pointer ',
|
|
53558
53558
|
onClick: function onClick() {
|
|
53559
53559
|
routingcountext(StaticPagesLinksContext.ShippingPolicy);
|
|
53560
53560
|
}
|
|
@@ -53565,7 +53565,7 @@ var Footer8 = function Footer8(props) {
|
|
|
53565
53565
|
},
|
|
53566
53566
|
className: "mx-2"
|
|
53567
53567
|
}, ' ', "-", ' '), /*#__PURE__*/React__default["default"].createElement("p", {
|
|
53568
|
-
"class": ' m-0 font-14 mx-1 font-weight-500
|
|
53568
|
+
"class": ' m-0 font-14 mx-1 font-weight-500 cursor-pointer ',
|
|
53569
53569
|
onClick: function onClick() {
|
|
53570
53570
|
routingcountext(StaticPagesLinksContext.RefundPolicy);
|
|
53571
53571
|
}
|
|
@@ -67964,7 +67964,7 @@ var Freetextsection = function Freetextsection(props) {
|
|
|
67964
67964
|
fontWeight: sectionproperties.prodCatFontWeight,
|
|
67965
67965
|
textAlign: sectionproperties.descriptionCentered == 'Centered' ? 'center' : langdetect != 'ar' ? 'left' : 'right'
|
|
67966
67966
|
}
|
|
67967
|
-
}, langdetect
|
|
67967
|
+
}, langdetect == 'ar' ? sectionproperties.descriptionContentAr : sectionproperties["descriptionContent".concat(langdetect)] || sectionproperties.descriptionContentEn));
|
|
67968
67968
|
};
|
|
67969
67969
|
var SectionContent = function SectionContent(type) {
|
|
67970
67970
|
var _maincontainerarrayof2, _maincontainerarrayof3;
|
|
@@ -68532,7 +68532,9 @@ var Image_with_leftwords = function Image_with_leftwords(props) {
|
|
|
68532
68532
|
"class": sectionproperties.text2centered == 'Justify' ? section_styles.editortext + ' pb-0 pl-md-2 pr-md-2 ' : section_styles.editortext + ' pb-0 text-md-center pl-md-2 pr-md-2 ',
|
|
68533
68533
|
style: {},
|
|
68534
68534
|
dangerouslySetInnerHTML: {
|
|
68535
|
-
__html: langdetect == '
|
|
68535
|
+
__html: langdetect == 'ar' ? sectionproperties.text2editortextar : sectionproperties["contenteditor".concat(langdetect)] || sectionproperties.contenteditor
|
|
68536
|
+
|
|
68537
|
+
// langdetect == 'en' ? sectionproperties.contenteditor : langdetect == 'rus' ? sectionproperties.slideshowText2Content_rus : sectionproperties.text2editortextar,
|
|
68536
68538
|
}
|
|
68537
68539
|
})), sectionproperties.generalbtn_show == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
68538
68540
|
"class": sectionproperties.generalbtn_position == 'Centered' ? 'col-lg-12 p-0 allcentered' : 'col-lg-12 p-0 text-start'
|
|
@@ -68755,7 +68757,12 @@ var Image_with_leftwords = function Image_with_leftwords(props) {
|
|
|
68755
68757
|
"class": sectionproperties.text2centered == 'Justify' ? section_styles.editortext + ' pb-0 pl-md-2 pr-md-2 ' : section_styles.editortext + ' pb-0 text-md-center pl-md-2 pr-md-2 ',
|
|
68756
68758
|
style: {},
|
|
68757
68759
|
dangerouslySetInnerHTML: {
|
|
68758
|
-
__html: langdetect == '
|
|
68760
|
+
__html: langdetect == 'ar' ? sectionproperties.text2editortextar : sectionproperties["contenteditor".concat(langdetect)] || sectionproperties.contenteditor
|
|
68761
|
+
// langdetect == 'en'
|
|
68762
|
+
// ? sectionproperties.contenteditor
|
|
68763
|
+
// : langdetect == 'rus'
|
|
68764
|
+
// ? sectionproperties.slideshowText2Content_rus
|
|
68765
|
+
// : sectionproperties.text2editortextar,
|
|
68759
68766
|
}
|
|
68760
68767
|
})), sectionproperties.generalbtn_show == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
68761
68768
|
"class": sectionproperties.generalbtn_position == 'Centered' ? 'col-lg-12 p-0 allcentered' : 'col-lg-12 p-0 text-start justify-content-md-center'
|
|
@@ -68906,7 +68913,12 @@ var Image_with_leftwords = function Image_with_leftwords(props) {
|
|
|
68906
68913
|
"class": sectionproperties.text2centered == 'Justify' ? section_styles.editortext + ' pb-0 pl-md-2 pr-md-2 ' : section_styles.editortext + ' pb-0 text-md-center pl-md-2 pr-md-2 ',
|
|
68907
68914
|
style: {},
|
|
68908
68915
|
dangerouslySetInnerHTML: {
|
|
68909
|
-
__html: langdetect == '
|
|
68916
|
+
__html: langdetect == 'ar' ? sectionproperties.text2editortextar : sectionproperties["contenteditor".concat(langdetect)] || sectionproperties.contenteditor
|
|
68917
|
+
// langdetect == 'en'
|
|
68918
|
+
// ? sectionproperties.contenteditor
|
|
68919
|
+
// : langdetect == 'rus'
|
|
68920
|
+
// ? sectionproperties.slideshowText2Content_rus
|
|
68921
|
+
// : sectionproperties.text2editortextar,
|
|
68910
68922
|
}
|
|
68911
68923
|
})), sectionproperties.generalbtn_show == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
68912
68924
|
"class": sectionproperties.generalbtn_position == 'Centered' ? 'col-lg-12 p-0 allcentered' : 'col-lg-12 p-0 text-start justify-content-md-center'
|
|
@@ -69057,7 +69069,12 @@ var Image_with_leftwords = function Image_with_leftwords(props) {
|
|
|
69057
69069
|
"class": sectionproperties.text2centered == 'Justify' ? section_styles.editortext + ' pb-0 pl-md-2 pr-md-2 ' : section_styles.editortext + ' pb-0 text-md-center pl-md-2 pr-md-2 ',
|
|
69058
69070
|
style: {},
|
|
69059
69071
|
dangerouslySetInnerHTML: {
|
|
69060
|
-
__html: langdetect == '
|
|
69072
|
+
__html: langdetect == 'ar' ? sectionproperties.text2editortextar : sectionproperties["contenteditor".concat(langdetect)] || sectionproperties.contenteditor
|
|
69073
|
+
// langdetect == 'en'
|
|
69074
|
+
// ? sectionproperties.contenteditor
|
|
69075
|
+
// : langdetect == 'rus'
|
|
69076
|
+
// ? sectionproperties.slideshowText2Content_rus
|
|
69077
|
+
// : sectionproperties.text2editortextar,
|
|
69061
69078
|
}
|
|
69062
69079
|
})), sectionproperties.generalbtn_show == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
69063
69080
|
"class": sectionproperties.generalbtn_position == 'Centered' ? 'col-lg-12 p-0 allcentered' : 'col-lg-12 p-0 text-start justify-content-md-center'
|
|
@@ -69208,7 +69225,12 @@ var Image_with_leftwords = function Image_with_leftwords(props) {
|
|
|
69208
69225
|
"class": sectionproperties.text2centered == 'Justify' ? section_styles.editortext + ' pb-0 pl-md-2 pr-md-2 ' : section_styles.editortext + ' pb-0 text-md-center pl-md-2 pr-md-2 ',
|
|
69209
69226
|
style: {},
|
|
69210
69227
|
dangerouslySetInnerHTML: {
|
|
69211
|
-
__html: langdetect == '
|
|
69228
|
+
__html: langdetect == 'ar' ? sectionproperties.text2editortextar : sectionproperties["contenteditor".concat(langdetect)] || sectionproperties.contenteditor
|
|
69229
|
+
// langdetect == 'en'
|
|
69230
|
+
// ? sectionproperties.contenteditor
|
|
69231
|
+
// : langdetect == 'rus'
|
|
69232
|
+
// ? sectionproperties.slideshowText2Content_rus
|
|
69233
|
+
// : sectionproperties.text2editortextar,
|
|
69212
69234
|
}
|
|
69213
69235
|
})), sectionproperties.generalbtn_show == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
69214
69236
|
"class": sectionproperties.generalbtn_position == 'Centered' ? 'col-lg-12 p-0 allcentered' : 'col-lg-12 p-0 text-start justify-content-md-center'
|
|
@@ -69497,7 +69519,12 @@ var Image_with_leftwords = function Image_with_leftwords(props) {
|
|
|
69497
69519
|
"class": sectionproperties.text2centered == 'Justify' ? section_styles.editortext + ' pb-0 pl-md-2 pr-md-2 ' : section_styles.editortext + ' pb-0 text-md-center pl-md-2 pr-md-2 ',
|
|
69498
69520
|
style: {},
|
|
69499
69521
|
dangerouslySetInnerHTML: {
|
|
69500
|
-
__html: langdetect == '
|
|
69522
|
+
__html: langdetect == 'ar' ? sectionproperties.text2editortextar : sectionproperties["contenteditor".concat(langdetect)] || sectionproperties.contenteditor
|
|
69523
|
+
// langdetect == 'en'
|
|
69524
|
+
// ? sectionproperties.contenteditor
|
|
69525
|
+
// : langdetect == 'rus'
|
|
69526
|
+
// ? sectionproperties.slideshowText2Content_rus
|
|
69527
|
+
// : sectionproperties.text2editortextar,
|
|
69501
69528
|
}
|
|
69502
69529
|
})), sectionproperties.generalbtn_show == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
69503
69530
|
"class": sectionproperties.generalbtn_position == 'Centered' ? 'col-lg-12 p-0 allcentered' : 'col-lg-12 p-0 text-start justify-content-md-center'
|
|
@@ -69688,7 +69715,12 @@ var Image_with_leftwords = function Image_with_leftwords(props) {
|
|
|
69688
69715
|
"class": sectionproperties.text2centered == 'Justify' ? section_styles.editortext + ' pb-0 pl-md-2 pr-md-2 ' : section_styles.editortext + ' pb-0 text-md-center pl-md-2 pr-md-2 ',
|
|
69689
69716
|
style: {},
|
|
69690
69717
|
dangerouslySetInnerHTML: {
|
|
69691
|
-
__html: langdetect == '
|
|
69718
|
+
__html: langdetect == 'ar' ? sectionproperties.text2editortextar : sectionproperties["contenteditor".concat(langdetect)] || sectionproperties.contenteditor
|
|
69719
|
+
// langdetect == 'en'
|
|
69720
|
+
// ? sectionproperties.contenteditor
|
|
69721
|
+
// : langdetect == 'rus'
|
|
69722
|
+
// ? sectionproperties.slideshowText2Content_rus
|
|
69723
|
+
// : sectionproperties.text2editortextar,
|
|
69692
69724
|
}
|
|
69693
69725
|
})), sectionproperties.generalbtn_show == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
69694
69726
|
"class": sectionproperties.generalbtn_position == 'Centered' ? 'col-lg-12 p-0 allcentered' : 'col-lg-12 p-0 text-start justify-content-md-center'
|
|
@@ -69844,7 +69876,12 @@ var Image_with_leftwords = function Image_with_leftwords(props) {
|
|
|
69844
69876
|
"class": sectionproperties.text2centered == 'Justify' ? section_styles.editortext + ' pb-0 pl-md-2 pr-md-2 ' : section_styles.editortext + ' pb-0 text-md-center pl-md-2 pr-md-2 ',
|
|
69845
69877
|
style: {},
|
|
69846
69878
|
dangerouslySetInnerHTML: {
|
|
69847
|
-
__html: langdetect == '
|
|
69879
|
+
__html: langdetect == 'ar' ? sectionproperties.text2editortextar : sectionproperties["contenteditor".concat(langdetect)] || sectionproperties.contenteditor
|
|
69880
|
+
// langdetect == 'en'
|
|
69881
|
+
// ? sectionproperties.contenteditor
|
|
69882
|
+
// : langdetect == 'rus'
|
|
69883
|
+
// ? sectionproperties.slideshowText2Content_rus
|
|
69884
|
+
// : sectionproperties.text2editortextar,
|
|
69848
69885
|
}
|
|
69849
69886
|
})), sectionproperties.generalbtn_show == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
69850
69887
|
"class": sectionproperties.generalbtn_position == 'Centered' ? 'col-lg-12 p-0 allcentered' : 'col-lg-12 p-0 text-start justify-content-md-center'
|
|
@@ -70000,7 +70037,12 @@ var Image_with_leftwords = function Image_with_leftwords(props) {
|
|
|
70000
70037
|
"class": sectionproperties.text2centered == 'Justify' ? section_styles.editortext + ' pb-0 pl-md-2 pr-md-2 ' : section_styles.editortext + ' pb-0 text-md-center pl-md-2 pr-md-2 ',
|
|
70001
70038
|
style: {},
|
|
70002
70039
|
dangerouslySetInnerHTML: {
|
|
70003
|
-
__html: langdetect == '
|
|
70040
|
+
__html: langdetect == 'ar' ? sectionproperties.text2editortextar : sectionproperties["contenteditor".concat(langdetect)] || sectionproperties.contenteditor
|
|
70041
|
+
// langdetect == 'en'
|
|
70042
|
+
// ? sectionproperties.contenteditor
|
|
70043
|
+
// : langdetect == 'rus'
|
|
70044
|
+
// ? sectionproperties.slideshowText2Content_rus
|
|
70045
|
+
// : sectionproperties.text2editortextar,
|
|
70004
70046
|
}
|
|
70005
70047
|
})), sectionproperties.generalbtn_show == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
70006
70048
|
"class": sectionproperties.generalbtn_position == 'Centered' ? 'col-lg-12 p-0 allcentered' : 'col-lg-12 p-0 text-start justify-content-md-center'
|
|
@@ -73446,7 +73488,7 @@ var Slideshowzoom = function Slideshowzoom(props) {
|
|
|
73446
73488
|
style: {
|
|
73447
73489
|
textAlign: sectionproperties.text1centered == 'Centered' ? 'center' : langdetect != 'ar' ? 'left' : 'right'
|
|
73448
73490
|
}
|
|
73449
|
-
}, langdetect
|
|
73491
|
+
}, langdetect == 'ar' ? item.titleen : langdetect == 'fr' ? item.titlefr : item.titlear)), sectionproperties.showanimation == 'Yes' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
73450
73492
|
"class": sectionproperties.text1centered == 'Centered' ? 'col-lg-12 allcentered mb-1' : 'col-lg-12 mb-1 text-start',
|
|
73451
73493
|
"data-aos": 'fade-up'
|
|
73452
73494
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
@@ -73454,7 +73496,7 @@ var Slideshowzoom = function Slideshowzoom(props) {
|
|
|
73454
73496
|
style: {
|
|
73455
73497
|
textAlign: sectionproperties.text1centered == 'Centered' ? 'center' : langdetect != 'ar' ? 'left' : 'right'
|
|
73456
73498
|
}
|
|
73457
|
-
}, langdetect
|
|
73499
|
+
}, langdetect == 'ar' ? item.titleen : langdetect == 'fr' ? item.titlefr : item.titlear)), sectionproperties.slideshowText2ContentFontSize != 0 && sectionproperties.showanimation == 'Yes' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
73458
73500
|
"class": sectionproperties.text2centered == 'Centered' ? 'col-lg-12 allcentered mb-3' : 'col-lg-12 mb-3 text-start ',
|
|
73459
73501
|
"data-aos": 'fade-up'
|
|
73460
73502
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
@@ -73462,14 +73504,14 @@ var Slideshowzoom = function Slideshowzoom(props) {
|
|
|
73462
73504
|
style: {
|
|
73463
73505
|
textAlign: sectionproperties.text1centered == 'Centered' ? 'center' : langdetect != 'ar' ? 'left' : 'right'
|
|
73464
73506
|
}
|
|
73465
|
-
}, langdetect
|
|
73507
|
+
}, langdetect == 'en' ? item.descriptionen : langdetect == 'fr' ? item.descriptionfr : item.descriptionar)), sectionproperties.slideshowText2ContentFontSize != 0 && sectionproperties.showanimation != 'Yes' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
73466
73508
|
"class": sectionproperties.text2centered == 'Centered' ? 'col-lg-12 allcentered mb-3' : 'col-lg-12 mb-3 text-start '
|
|
73467
73509
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
73468
73510
|
className: slideshow_styles.text2styles + ' m-0 p-0 wordbreak ',
|
|
73469
73511
|
style: {
|
|
73470
73512
|
textAlign: sectionproperties.text1centered == 'Centered' ? 'center' : langdetect != 'ar' ? 'left' : 'right'
|
|
73471
73513
|
}
|
|
73472
|
-
}, langdetect
|
|
73514
|
+
}, langdetect == 'en' ? item.descriptionen : langdetect == 'fr' ? item.descriptionfr : item.descriptionar)), sectionproperties.generalbtn_show == 'Show' && sectionproperties.showanimation != 'Yes' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
73473
73515
|
"class":
|
|
73474
73516
|
// sectionproperties.generalbtn_position == 'Centered'
|
|
73475
73517
|
// ? 'col-lg-12 allcentered'
|
|
@@ -75104,7 +75146,7 @@ var ServiceSectionWithImage = function ServiceSectionWithImage(props) {
|
|
|
75104
75146
|
function ownKeys$K(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; }
|
|
75105
75147
|
function _objectSpread$K(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$K(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$K(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
75106
75148
|
var ThreeSectionsWithSlideshow = function ThreeSectionsWithSlideshow(props) {
|
|
75107
|
-
var _useState = React.useState(
|
|
75149
|
+
var _useState = React.useState(''),
|
|
75108
75150
|
_useState2 = _slicedToArray__default["default"](_useState, 2),
|
|
75109
75151
|
sectionproperties = _useState2[0],
|
|
75110
75152
|
setsectionproperties = _useState2[1];
|
|
@@ -75127,7 +75169,7 @@ var ThreeSectionsWithSlideshow = function ThreeSectionsWithSlideshow(props) {
|
|
|
75127
75169
|
_useState8 = _slicedToArray__default["default"](_useState7, 2);
|
|
75128
75170
|
_useState8[0];
|
|
75129
75171
|
var setshowdownheadermenu = _useState8[1];
|
|
75130
|
-
var _useState9 = React.useState(
|
|
75172
|
+
var _useState9 = React.useState(''),
|
|
75131
75173
|
_useState0 = _slicedToArray__default["default"](_useState9, 2),
|
|
75132
75174
|
Choosenindex = _useState0[0],
|
|
75133
75175
|
setChoosenindex = _useState0[1];
|
|
@@ -75184,13 +75226,13 @@ var ThreeSectionsWithSlideshow = function ThreeSectionsWithSlideshow(props) {
|
|
|
75184
75226
|
};
|
|
75185
75227
|
var slideshow_styles = {
|
|
75186
75228
|
imgcontainer: glamor.css({
|
|
75187
|
-
|
|
75188
|
-
width:
|
|
75189
|
-
height:
|
|
75190
|
-
background:
|
|
75229
|
+
':before': {
|
|
75230
|
+
width: '100%',
|
|
75231
|
+
height: '100%',
|
|
75232
|
+
background: 'rgba(0,0,0,0.8)',
|
|
75191
75233
|
zIndex: 1,
|
|
75192
|
-
position:
|
|
75193
|
-
content:
|
|
75234
|
+
position: 'absolute',
|
|
75235
|
+
content: 's',
|
|
75194
75236
|
fontSize: 0,
|
|
75195
75237
|
left: 0,
|
|
75196
75238
|
right: 0,
|
|
@@ -75199,38 +75241,38 @@ var ThreeSectionsWithSlideshow = function ThreeSectionsWithSlideshow(props) {
|
|
|
75199
75241
|
}
|
|
75200
75242
|
}),
|
|
75201
75243
|
categoryname: glamor.css({
|
|
75202
|
-
color:
|
|
75203
|
-
fontSize: sectionproperties.subheader_categorytitle_fontSize +
|
|
75244
|
+
color: '#000',
|
|
75245
|
+
fontSize: sectionproperties.subheader_categorytitle_fontSize + 'px',
|
|
75204
75246
|
textTransform: sectionproperties.subheader_categorytitle_textTransform,
|
|
75205
75247
|
fontWeight: sectionproperties.subheader_categorytitle_textfontweight,
|
|
75206
|
-
transition:
|
|
75207
|
-
|
|
75248
|
+
transition: '.3s',
|
|
75249
|
+
':hover': {
|
|
75208
75250
|
color: sectionproperties.subheader_categorytitle_coloronhover
|
|
75209
75251
|
}
|
|
75210
75252
|
}),
|
|
75211
75253
|
parentcollection: glamor.css({
|
|
75212
75254
|
color: sectionproperties.subheader_collectiontitle_fontColor,
|
|
75213
|
-
fontSize: sectionproperties.subheader_collectiontitle_fontSize +
|
|
75255
|
+
fontSize: sectionproperties.subheader_collectiontitle_fontSize + 'px',
|
|
75214
75256
|
textTransform: sectionproperties.subheader_collectiontitle_textTransform,
|
|
75215
75257
|
fontWeight: sectionproperties.subheader_collectiontitle_textfontweight,
|
|
75216
|
-
transition:
|
|
75217
|
-
|
|
75258
|
+
transition: '.3s',
|
|
75259
|
+
':hover': {
|
|
75218
75260
|
color: sectionproperties.subheader_collectiontitle_coloronhover
|
|
75219
75261
|
}
|
|
75220
75262
|
}),
|
|
75221
75263
|
collectionName: glamor.css({
|
|
75222
75264
|
color: sectionproperties.collectionsectiontextcolor,
|
|
75223
|
-
fontSize: sectionproperties.collectionsectiontextfontsize +
|
|
75265
|
+
fontSize: sectionproperties.collectionsectiontextfontsize + 'px',
|
|
75224
75266
|
textTransform: sectionproperties.collectionsectiontexttransform,
|
|
75225
75267
|
fontWeight: sectionproperties.collectionsectiontextfontweight,
|
|
75226
|
-
transition:
|
|
75227
|
-
|
|
75268
|
+
transition: '.3s',
|
|
75269
|
+
':hover': {
|
|
75228
75270
|
color: sectionproperties.collectionsectiontextcoloronhover
|
|
75229
75271
|
}
|
|
75230
75272
|
}),
|
|
75231
75273
|
dropdowntitle: glamor.css({
|
|
75232
75274
|
color: sectionproperties.collectionssectiontitlecolor,
|
|
75233
|
-
fontSize: sectionproperties.collectionssectiontitlefontsize +
|
|
75275
|
+
fontSize: sectionproperties.collectionssectiontitlefontsize + 'px',
|
|
75234
75276
|
fontWeight: sectionproperties.collectionssectiontitlefonteweight,
|
|
75235
75277
|
textTransform: sectionproperties.collectionssectiontitletexttransfrom,
|
|
75236
75278
|
backgroundColor: sectionproperties.collectionssectiontitlebgcolor
|
|
@@ -75242,62 +75284,62 @@ var ThreeSectionsWithSlideshow = function ThreeSectionsWithSlideshow(props) {
|
|
|
75242
75284
|
"class": "col-lg-12 p-0"
|
|
75243
75285
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
75244
75286
|
"class": "row m-0 w-100"
|
|
75245
|
-
}, sectionproperties.collectionssectionshow ==
|
|
75287
|
+
}, sectionproperties.collectionssectionshow == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
75246
75288
|
"class": "col-lg-2 d-md-none",
|
|
75247
75289
|
style: {
|
|
75248
|
-
height: sectionproperties.collectionsectionheight +
|
|
75290
|
+
height: sectionproperties.collectionsectionheight + 'vh'
|
|
75249
75291
|
}
|
|
75250
75292
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
75251
75293
|
"class": "row m-0 w-100",
|
|
75252
75294
|
style: {
|
|
75253
75295
|
background: sectionproperties.collectionssectionbgcolor,
|
|
75254
|
-
boxShadow:
|
|
75296
|
+
boxShadow: '0 0 10px ' + sectionproperties.collectionssectionshadowcolor
|
|
75255
75297
|
}
|
|
75256
75298
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
75257
75299
|
"class": "col-lg-12 p-0"
|
|
75258
75300
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
75259
75301
|
"class": "row m-0 w-100"
|
|
75260
75302
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
75261
|
-
className: slideshow_styles.dropdowntitle +
|
|
75303
|
+
className: slideshow_styles.dropdowntitle + ' col-lg-12 p-0 d-flex ',
|
|
75262
75304
|
style: {
|
|
75263
|
-
justifyContent: sectionproperties.titlecentered ==
|
|
75305
|
+
justifyContent: sectionproperties.titlecentered == 'Centered' ? 'center' : 'start'
|
|
75264
75306
|
}
|
|
75265
75307
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
75266
75308
|
className: "m-0 p-3 w-100 d-flex",
|
|
75267
75309
|
style: {
|
|
75268
|
-
justifyContent: sectionproperties.titlecentered ==
|
|
75310
|
+
justifyContent: sectionproperties.titlecentered == 'Centered' ? 'center' : 'start'
|
|
75269
75311
|
}
|
|
75270
|
-
},
|
|
75312
|
+
}, sectionproperties["collectionssectiontitle".concat(langdetect)] || sectionproperties.collectionssectiontitleen)), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
75271
75313
|
"class": "col-lg-12 flex-column cat_dropdown_hover scrollvertical pt-3 px-2",
|
|
75272
75314
|
style: {
|
|
75273
|
-
height: sectionproperties.height +
|
|
75274
|
-
overflowY:
|
|
75315
|
+
height: sectionproperties.height + 'vh',
|
|
75316
|
+
overflowY: 'scroll'
|
|
75275
75317
|
}
|
|
75276
|
-
}, sectionproperties.fetchparenttype ==
|
|
75318
|
+
}, sectionproperties.fetchparenttype == 'Categories' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i2 = authdetailsContext.instinfo) === null || _authdetailsContext$i2 === void 0 || (_authdetailsContext$i2 = _authdetailsContext$i2.instcategories) === null || _authdetailsContext$i2 === void 0 ? void 0 : _authdetailsContext$i2.map(function (item, index) {
|
|
75277
75319
|
if (item.isshowntocustomers == 1 && item.isinftiler == 1) {
|
|
75278
75320
|
var _authdetailsContext$i3;
|
|
75279
75321
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
75280
|
-
"class": slideshow_styles.categoryname +
|
|
75322
|
+
"class": slideshow_styles.categoryname + ' row ml-0 mr-0 w-100 cursor-pointer ',
|
|
75281
75323
|
onMouseEnter: function onMouseEnter() {
|
|
75282
75324
|
setshowdownheadermenu(true);
|
|
75283
75325
|
setChoosenindex(index);
|
|
75284
75326
|
}
|
|
75285
75327
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
75286
|
-
className:
|
|
75328
|
+
className: ' col-lg-10 col-md-10 col-sm-10 p-0 d-flex justify-content-start align-items-center p-0 '
|
|
75287
75329
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
75288
|
-
"class":
|
|
75330
|
+
"class": ' m-0 p-0 wordbreak wordbreak1 ',
|
|
75289
75331
|
onClick: function onClick() {
|
|
75290
|
-
routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true,
|
|
75332
|
+
routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'categories/' + item.categoryid);
|
|
75291
75333
|
},
|
|
75292
75334
|
style: {
|
|
75293
75335
|
fontSize: 15,
|
|
75294
75336
|
fontWeight: 600
|
|
75295
75337
|
}
|
|
75296
75338
|
}, item["title_".concat(langdetect)] || item.title_en)), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
75297
|
-
className:
|
|
75339
|
+
className: 'col-lg-2 col-md-2 col-sm-2 d-flex justify-content-end align-items-center p-0 '
|
|
75298
75340
|
}, /*#__PURE__*/React__default["default"].createElement("i", {
|
|
75299
|
-
className:
|
|
75300
|
-
}, langdetect !=
|
|
75341
|
+
className: ' p-0 h-100 allcentered '
|
|
75342
|
+
}, langdetect != 'ar' ? /*#__PURE__*/React__default["default"].createElement(BsChevronRight.BsChevronRight, {
|
|
75301
75343
|
size: sectionproperties.collectionsectioniconfontsize
|
|
75302
75344
|
}) : /*#__PURE__*/React__default["default"].createElement(BsChevronLeft.BsChevronLeft, {
|
|
75303
75345
|
size: sectionproperties.collectionsectioniconfontsize
|
|
@@ -75307,30 +75349,30 @@ var ThreeSectionsWithSlideshow = function ThreeSectionsWithSlideshow(props) {
|
|
|
75307
75349
|
"class": "m-0"
|
|
75308
75350
|
})));
|
|
75309
75351
|
}
|
|
75310
|
-
})), sectionproperties.fetchparenttype ==
|
|
75352
|
+
})), sectionproperties.fetchparenttype == 'Parent Collections' && (pcollarray === null || pcollarray === void 0 ? void 0 : pcollarray.map(function (item, index) {
|
|
75311
75353
|
if (item.isshowntocustomers == 1) {
|
|
75312
75354
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
75313
|
-
"class": slideshow_styles.parentcollection +
|
|
75355
|
+
"class": slideshow_styles.parentcollection + ' row ml-0 mr-0 w-100 cursor-pointer ',
|
|
75314
75356
|
onMouseEnter: function onMouseEnter() {
|
|
75315
75357
|
setshowdownheadermenu(true);
|
|
75316
75358
|
setChoosenindex(index);
|
|
75317
75359
|
}
|
|
75318
75360
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
75319
|
-
className:
|
|
75361
|
+
className: ' col-lg-10 col-md-10 col-sm-10 p-0 d-flex justify-content-start align-items-center p-0 '
|
|
75320
75362
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
75321
|
-
"class":
|
|
75363
|
+
"class": ' m-0 p-0 wordbreak wordbreak1 ',
|
|
75322
75364
|
onClick: function onClick() {
|
|
75323
|
-
routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true,
|
|
75365
|
+
routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'parentcollections/' + item.parentcollectionid);
|
|
75324
75366
|
},
|
|
75325
75367
|
style: {
|
|
75326
75368
|
fontSize: 15,
|
|
75327
75369
|
fontWeight: 600
|
|
75328
75370
|
}
|
|
75329
75371
|
}, item["title_".concat(langdetect)] || item.title_en)), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
75330
|
-
className:
|
|
75372
|
+
className: 'col-lg-2 col-md-2 col-sm-2 d-flex justify-content-end align-items-center p-0 '
|
|
75331
75373
|
}, /*#__PURE__*/React__default["default"].createElement("i", {
|
|
75332
|
-
className:
|
|
75333
|
-
}, langdetect !=
|
|
75374
|
+
className: ' p-0 h-100 allcentered '
|
|
75375
|
+
}, langdetect != 'ar' ? /*#__PURE__*/React__default["default"].createElement(BsChevronRight.BsChevronRight, {
|
|
75334
75376
|
size: sectionproperties.collectionsectioniconfontsize
|
|
75335
75377
|
}) : /*#__PURE__*/React__default["default"].createElement(BsChevronLeft.BsChevronLeft, {
|
|
75336
75378
|
size: sectionproperties.collectionsectioniconfontsize
|
|
@@ -75340,22 +75382,22 @@ var ThreeSectionsWithSlideshow = function ThreeSectionsWithSlideshow(props) {
|
|
|
75340
75382
|
"class": "m-0"
|
|
75341
75383
|
})));
|
|
75342
75384
|
}
|
|
75343
|
-
})), sectionproperties.fetchparenttype ==
|
|
75385
|
+
})), sectionproperties.fetchparenttype == 'Collections' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i4 = authdetailsContext.instinfo) === null || _authdetailsContext$i4 === void 0 ? void 0 : _authdetailsContext$i4.instcollections.map(function (item, index) {
|
|
75344
75386
|
if (item.isshowntocustomers == 1) {
|
|
75345
75387
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
75346
|
-
"class": slideshow_styles.parentcollection +
|
|
75388
|
+
"class": slideshow_styles.parentcollection + ' row ml-0 mr-0 w-100 cursor-pointer ',
|
|
75347
75389
|
onMouseEnter: function onMouseEnter() {
|
|
75348
75390
|
setshowdownheadermenu(true);
|
|
75349
75391
|
setChoosenindex(index);
|
|
75350
75392
|
}
|
|
75351
75393
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
75352
|
-
className:
|
|
75353
|
-
}, sectionproperties.showcatimage ==
|
|
75394
|
+
className: ' col-lg-12 col-md-12 col-sm-12 p-0 d-flex justify-content-start align-items-center p-0 '
|
|
75395
|
+
}, sectionproperties.showcatimage == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
75354
75396
|
style: {
|
|
75355
|
-
width:
|
|
75356
|
-
height:
|
|
75357
|
-
marginRight: langdetect !=
|
|
75358
|
-
marginLeft: langdetect ==
|
|
75397
|
+
width: '4.5vh',
|
|
75398
|
+
height: '4.5vh',
|
|
75399
|
+
marginRight: langdetect != 'ar' ? '5px' : 0,
|
|
75400
|
+
marginLeft: langdetect == 'ar' ? '5px' : 0
|
|
75359
75401
|
}
|
|
75360
75402
|
}, /*#__PURE__*/React__default["default"].createElement(Imagekitimagecomp, {
|
|
75361
75403
|
urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
|
|
@@ -75363,14 +75405,14 @@ var ThreeSectionsWithSlideshow = function ThreeSectionsWithSlideshow(props) {
|
|
|
75363
75405
|
path: item.collectionlogo,
|
|
75364
75406
|
loading: "lazy",
|
|
75365
75407
|
style: {
|
|
75366
|
-
width:
|
|
75367
|
-
height:
|
|
75368
|
-
objectFit:
|
|
75408
|
+
width: '100%',
|
|
75409
|
+
height: '100%',
|
|
75410
|
+
objectFit: 'contain'
|
|
75369
75411
|
}
|
|
75370
75412
|
})), /*#__PURE__*/React__default["default"].createElement("p", {
|
|
75371
|
-
"class":
|
|
75413
|
+
"class": ' m-0 p-0 wordbreak wordbreak1 ',
|
|
75372
75414
|
onClick: function onClick() {
|
|
75373
|
-
routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true,
|
|
75415
|
+
routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'collections/' + item.collectionid);
|
|
75374
75416
|
},
|
|
75375
75417
|
style: {
|
|
75376
75418
|
fontSize: 14,
|
|
@@ -75382,13 +75424,13 @@ var ThreeSectionsWithSlideshow = function ThreeSectionsWithSlideshow(props) {
|
|
|
75382
75424
|
"class": "m-0"
|
|
75383
75425
|
})));
|
|
75384
75426
|
}
|
|
75385
|
-
}))), sectionproperties.fetchparenttype ==
|
|
75386
|
-
"class": langdetect !=
|
|
75427
|
+
}))), sectionproperties.fetchparenttype == 'Categories' && Choosenindex.length != 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i5 = authdetailsContext.instinfo) === null || _authdetailsContext$i5 === void 0 || (_authdetailsContext$i5 = _authdetailsContext$i5.instcategories[Choosenindex]) === null || _authdetailsContext$i5 === void 0 || (_authdetailsContext$i5 = _authdetailsContext$i5.parentcolletions) === null || _authdetailsContext$i5 === void 0 ? void 0 : _authdetailsContext$i5.length) != 0 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
75428
|
+
"class": langdetect != 'ar' ? 'cat_dropdown-menu cat_dropdown cat_dropdownen' : 'cat_dropdown-menu cat_dropdown cat_dropdownar',
|
|
75387
75429
|
style: {
|
|
75388
|
-
minHeight: sectionproperties.height +
|
|
75430
|
+
minHeight: sectionproperties.height + 'vh'
|
|
75389
75431
|
},
|
|
75390
75432
|
onMouseLeave: function onMouseLeave() {
|
|
75391
|
-
setChoosenindex(
|
|
75433
|
+
setChoosenindex('');
|
|
75392
75434
|
}
|
|
75393
75435
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
75394
75436
|
"class": "row m-0 w-100"
|
|
@@ -75397,12 +75439,12 @@ var ThreeSectionsWithSlideshow = function ThreeSectionsWithSlideshow(props) {
|
|
|
75397
75439
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
75398
75440
|
"class": "col-lg-4 p-0"
|
|
75399
75441
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
75400
|
-
"class": slideshow_styles.parentcollection +
|
|
75442
|
+
"class": slideshow_styles.parentcollection + ' m-0 p-0 mb-3 cursor-pointer wordbreak wordbreak2 ',
|
|
75401
75443
|
onClick: function onClick() {
|
|
75402
|
-
routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true,
|
|
75444
|
+
routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'parentcollections/' + item.parentcollectionid);
|
|
75403
75445
|
},
|
|
75404
75446
|
style: {
|
|
75405
|
-
textAlign: langdetect !=
|
|
75447
|
+
textAlign: langdetect != 'ar' ? 'left' : 'right',
|
|
75406
75448
|
fontSize: 15,
|
|
75407
75449
|
fontWeight: 600
|
|
75408
75450
|
}
|
|
@@ -75410,24 +75452,24 @@ var ThreeSectionsWithSlideshow = function ThreeSectionsWithSlideshow(props) {
|
|
|
75410
75452
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
75411
75453
|
"class": "col-lg-12 pl-1 pr-1"
|
|
75412
75454
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
75413
|
-
"class": slideshow_styles.collectionName +
|
|
75455
|
+
"class": slideshow_styles.collectionName + ' cursor-pointer wordbreak wordbreak2 mb-1 ',
|
|
75414
75456
|
onClick: function onClick() {
|
|
75415
|
-
routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true,
|
|
75457
|
+
routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'collections/' + item.collectionid);
|
|
75416
75458
|
},
|
|
75417
75459
|
style: {
|
|
75418
|
-
textAlign: langdetect !=
|
|
75460
|
+
textAlign: langdetect != 'ar' ? 'left' : 'right',
|
|
75419
75461
|
fontSize: 14,
|
|
75420
75462
|
fontWeight: 400
|
|
75421
75463
|
}
|
|
75422
75464
|
}, item["title_".concat(langdetect)] || item.title_en));
|
|
75423
75465
|
}));
|
|
75424
|
-
}))), sectionproperties.fetchparenttype ==
|
|
75425
|
-
"class": langdetect !=
|
|
75466
|
+
}))), sectionproperties.fetchparenttype == 'Parent Collections' && Choosenindex.length != 0 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
75467
|
+
"class": langdetect != 'ar' ? 'cat_dropdown-menu cat_dropdown cat_dropdownen' : 'cat_dropdown-menu cat_dropdown cat_dropdownar',
|
|
75426
75468
|
style: {
|
|
75427
|
-
minHeight: sectionproperties.height +
|
|
75469
|
+
minHeight: sectionproperties.height + 'vh'
|
|
75428
75470
|
},
|
|
75429
75471
|
onMouseLeave: function onMouseLeave() {
|
|
75430
|
-
setChoosenindex(
|
|
75472
|
+
setChoosenindex('');
|
|
75431
75473
|
}
|
|
75432
75474
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
75433
75475
|
"class": "row m-0 w-100"
|
|
@@ -75435,27 +75477,27 @@ var ThreeSectionsWithSlideshow = function ThreeSectionsWithSlideshow(props) {
|
|
|
75435
75477
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
75436
75478
|
"class": "col-lg-4 p-0",
|
|
75437
75479
|
onClick: function onClick() {
|
|
75438
|
-
routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true,
|
|
75480
|
+
routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'collections/' + item.collectionid);
|
|
75439
75481
|
}
|
|
75440
75482
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
75441
75483
|
"class": "col-lg-12 pl-1 pr-1"
|
|
75442
75484
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
75443
|
-
"class": slideshow_styles.collectionName +
|
|
75485
|
+
"class": slideshow_styles.collectionName + ' cursor-pointer wordbreak wordbreak2 mb-1 ',
|
|
75444
75486
|
style: {
|
|
75445
|
-
textAlign: langdetect !=
|
|
75487
|
+
textAlign: langdetect != 'ar' ? 'left' : 'right',
|
|
75446
75488
|
fontSize: 15,
|
|
75447
75489
|
fontWeight: 500
|
|
75448
75490
|
}
|
|
75449
75491
|
}, item["title_".concat(langdetect)] || item.title_en)));
|
|
75450
75492
|
}))))))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
75451
|
-
"class": sectionproperties.collectionssectionshow ==
|
|
75493
|
+
"class": sectionproperties.collectionssectionshow == 'Show' ? 'col-lg-10 col-md-12 col-sm-12 p-0 d-flex justify-content-center h-sm-auto' : 'col-lg-12 p-0 d-flex justify-content-center h-sm-auto',
|
|
75452
75494
|
style: {
|
|
75453
|
-
height: sectionproperties.bgcovercontain ==
|
|
75495
|
+
height: sectionproperties.bgcovercontain == 'Cover' ? sectionproperties.height + 'vh' : 'auto'
|
|
75454
75496
|
}
|
|
75455
75497
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
75456
75498
|
className: "row m-0 w-100"
|
|
75457
75499
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
75458
|
-
"class":
|
|
75500
|
+
"class": ' col-lg-8 mb-md-3 p-md-0 '
|
|
75459
75501
|
}, /*#__PURE__*/React__default["default"].createElement(reactSlideshowImage.Zoom, _extends__default["default"]({}, Slideshowsettings, {
|
|
75460
75502
|
transitionDuration: 1500,
|
|
75461
75503
|
duration: 1500,
|
|
@@ -75463,72 +75505,72 @@ var ThreeSectionsWithSlideshow = function ThreeSectionsWithSlideshow(props) {
|
|
|
75463
75505
|
easing: "ease"
|
|
75464
75506
|
}), Object.keys(bgimagearrayofobjs).length != 0 && bgimagearrayofobjs.map(function (item, index) {
|
|
75465
75507
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
75466
|
-
"class":
|
|
75508
|
+
"class": 'row m-0 w-100'
|
|
75467
75509
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
75468
|
-
"class":
|
|
75510
|
+
"class": ' p-0 align-items-center d-flex d-md-none ',
|
|
75469
75511
|
key: index,
|
|
75470
75512
|
style: {
|
|
75471
|
-
cursor: item.IsClickableimg ==
|
|
75472
|
-
width:
|
|
75473
|
-
height:
|
|
75513
|
+
cursor: item.IsClickableimg == 'Yes' ? 'pointer' : 'default',
|
|
75514
|
+
width: '100%',
|
|
75515
|
+
height: '100%'
|
|
75474
75516
|
},
|
|
75475
75517
|
onClick: function onClick() {
|
|
75476
|
-
if (item.IsClickableimg ==
|
|
75518
|
+
if (item.IsClickableimg == 'Yes') {
|
|
75477
75519
|
if (item.clickableimg_page_route && item.clickableimg_page_route.length != 0) {
|
|
75478
|
-
routingcountext(item.clickableimg_page_route, false,
|
|
75520
|
+
routingcountext(item.clickableimg_page_route, false, '');
|
|
75479
75521
|
} else {
|
|
75480
|
-
routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true,
|
|
75522
|
+
routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'collections/' + item.Clickableimg_getcoection);
|
|
75481
75523
|
}
|
|
75482
75524
|
}
|
|
75483
75525
|
}
|
|
75484
75526
|
}, /*#__PURE__*/React__default["default"].createElement(Imagekitimagecomp, {
|
|
75485
75527
|
urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
|
|
75486
75528
|
publicKey: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimagepublickey,
|
|
75487
|
-
path: langdetect !=
|
|
75529
|
+
path: langdetect != 'ar' ? '/tr:w-' + sectionproperties.imagetr_w + ',h-' + sectionproperties.imagetr_h + '/' + item.bgsection_image : '/tr:w-' + sectionproperties.imagetr_w + ',h-' + sectionproperties.imagetr_h + '/' + item.bgsection_image_ar,
|
|
75488
75530
|
style: {
|
|
75489
|
-
cursor: item.IsClickableimg ==
|
|
75490
|
-
objectFit:
|
|
75531
|
+
cursor: item.IsClickableimg == 'Yes' ? 'pointer' : 'default',
|
|
75532
|
+
objectFit: 'contain',
|
|
75491
75533
|
margin: 0,
|
|
75492
75534
|
padding: 0,
|
|
75493
|
-
width:
|
|
75494
|
-
height:
|
|
75495
|
-
borderTopLeftRadius: langdetect !=
|
|
75496
|
-
borderTopRightRadius: langdetect !=
|
|
75497
|
-
borderBottomRightRadius: langdetect !=
|
|
75498
|
-
borderBottomLeftRadius: langdetect !=
|
|
75535
|
+
width: '100%',
|
|
75536
|
+
height: '100%',
|
|
75537
|
+
borderTopLeftRadius: langdetect != 'ar' ? sectionproperties.image_bordertopleftradius + 'px' : sectionproperties.image_bordertoprightradius + 'px',
|
|
75538
|
+
borderTopRightRadius: langdetect != 'ar' ? sectionproperties.image_bordertoprightradius + 'px' : sectionproperties.image_bordertopleftradius + 'px',
|
|
75539
|
+
borderBottomRightRadius: langdetect != 'ar' ? sectionproperties.image_borderBottomRightRadius + 'px' : sectionproperties.image_borderBottomLeftRadius + 'px',
|
|
75540
|
+
borderBottomLeftRadius: langdetect != 'ar' ? sectionproperties.image_borderBottomLeftRadius + 'px' : sectionproperties.image_borderBottomRightRadius + 'px'
|
|
75499
75541
|
}
|
|
75500
75542
|
})), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
75501
|
-
"class":
|
|
75543
|
+
"class": ' p-0 align-items-center d-none d-md-flex ',
|
|
75502
75544
|
key: index,
|
|
75503
75545
|
style: {
|
|
75504
|
-
cursor: item.IsClickableimg ==
|
|
75505
|
-
width:
|
|
75506
|
-
height:
|
|
75546
|
+
cursor: item.IsClickableimg == 'Yes' ? 'pointer' : 'default',
|
|
75547
|
+
width: '100%',
|
|
75548
|
+
height: '100%'
|
|
75507
75549
|
},
|
|
75508
75550
|
onClick: function onClick() {
|
|
75509
|
-
if (item.IsClickableimg ==
|
|
75551
|
+
if (item.IsClickableimg == 'Yes') {
|
|
75510
75552
|
if (item.clickableimg_page_route && item.clickableimg_page_route.length != 0) {
|
|
75511
|
-
routingcountext(item.clickableimg_page_route, false,
|
|
75553
|
+
routingcountext(item.clickableimg_page_route, false, '');
|
|
75512
75554
|
} else {
|
|
75513
|
-
routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true,
|
|
75555
|
+
routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'collections/' + item.Clickableimg_getcoection);
|
|
75514
75556
|
}
|
|
75515
75557
|
}
|
|
75516
75558
|
}
|
|
75517
75559
|
}, /*#__PURE__*/React__default["default"].createElement(Imagekitimagecomp, {
|
|
75518
75560
|
urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
|
|
75519
75561
|
publicKey: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimagepublickey,
|
|
75520
|
-
path: langdetect !=
|
|
75562
|
+
path: langdetect != 'ar' ? '/tr:w-' + sectionproperties.imagetr_w_resp + ',h-' + sectionproperties.imagetr_h_resp + '/' + item.bgsection_imageresponsive : '/tr:w-' + sectionproperties.imagetr_w_resp + ',h-' + sectionproperties.imagetr_h_resp + '/' + item.bgsection_imageresponsive_ar,
|
|
75521
75563
|
style: {
|
|
75522
|
-
cursor: item.IsClickableimg ==
|
|
75523
|
-
objectFit:
|
|
75564
|
+
cursor: item.IsClickableimg == 'Yes' ? 'pointer' : 'default',
|
|
75565
|
+
objectFit: 'contain',
|
|
75524
75566
|
margin: 0,
|
|
75525
75567
|
padding: 0,
|
|
75526
|
-
width:
|
|
75527
|
-
height:
|
|
75528
|
-
borderTopLeftRadius: langdetect !=
|
|
75529
|
-
borderTopRightRadius: langdetect !=
|
|
75530
|
-
borderBottomRightRadius: langdetect !=
|
|
75531
|
-
borderBottomLeftRadius: langdetect !=
|
|
75568
|
+
width: '100%',
|
|
75569
|
+
height: '100%',
|
|
75570
|
+
borderTopLeftRadius: langdetect != 'ar' ? sectionproperties.image_bordertopleftradius + 'px' : sectionproperties.image_bordertoprightradius + 'px',
|
|
75571
|
+
borderTopRightRadius: langdetect != 'ar' ? sectionproperties.image_bordertoprightradius + 'px' : sectionproperties.image_bordertopleftradius + 'px',
|
|
75572
|
+
borderBottomRightRadius: langdetect != 'ar' ? sectionproperties.image_borderBottomRightRadius + 'px' : sectionproperties.image_borderBottomLeftRadius + 'px',
|
|
75573
|
+
borderBottomLeftRadius: langdetect != 'ar' ? sectionproperties.image_borderBottomLeftRadius + 'px' : sectionproperties.image_borderBottomRightRadius + 'px'
|
|
75532
75574
|
}
|
|
75533
75575
|
})));
|
|
75534
75576
|
}))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
@@ -75539,92 +75581,92 @@ var ThreeSectionsWithSlideshow = function ThreeSectionsWithSlideshow(props) {
|
|
|
75539
75581
|
"class": "col-lg-12 col-md-6 col-sm-6 p-0 mb-xl-3 mb-lg-3 pl-md-1 pl-sm-1 pr-md-1 pr-sm-1"
|
|
75540
75582
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
75541
75583
|
style: {
|
|
75542
|
-
position:
|
|
75543
|
-
cursor: ((_arrayofobjectimageso = arrayofobjectimagesonly2[0]) === null || _arrayofobjectimageso === void 0 ? void 0 : _arrayofobjectimageso.IsClickableimg) ==
|
|
75584
|
+
position: 'relative',
|
|
75585
|
+
cursor: ((_arrayofobjectimageso = arrayofobjectimagesonly2[0]) === null || _arrayofobjectimageso === void 0 ? void 0 : _arrayofobjectimageso.IsClickableimg) == 'Yes' ? 'pointer' : 'default'
|
|
75544
75586
|
},
|
|
75545
75587
|
onClick: function onClick() {
|
|
75546
|
-
if (arrayofobjectimagesonly2[0].IsClickableimg ==
|
|
75588
|
+
if (arrayofobjectimagesonly2[0].IsClickableimg == 'Yes') {
|
|
75547
75589
|
if (arrayofobjectimagesonly2[0].clickableimg_page_route != undefined && arrayofobjectimagesonly2[0].clickableimg_page_route.length != 0) {
|
|
75548
75590
|
// routingcountext(arrayofobjectimagesonly2[0].clickableimg_page_route, false, '');
|
|
75549
|
-
window.open(arrayofobjectimagesonly2[0].clickableimg_page_route,
|
|
75591
|
+
window.open(arrayofobjectimagesonly2[0].clickableimg_page_route, '_blank');
|
|
75550
75592
|
} else {
|
|
75551
|
-
routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true,
|
|
75593
|
+
routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'collections/' + arrayofobjectimagesonly2[0].Clickableimg_getcoection2);
|
|
75552
75594
|
}
|
|
75553
75595
|
}
|
|
75554
75596
|
}
|
|
75555
75597
|
}, /*#__PURE__*/React__default["default"].createElement(Imagekitimagecomp, {
|
|
75556
75598
|
urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
|
|
75557
75599
|
publicKey: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimagepublickey,
|
|
75558
|
-
path: arrayofobjectimagesonly2.length != 0 ? langdetect !=
|
|
75600
|
+
path: arrayofobjectimagesonly2.length != 0 ? langdetect != 'ar' ? (_arrayofobjectimageso2 = arrayofobjectimagesonly2[0]) === null || _arrayofobjectimageso2 === void 0 ? void 0 : _arrayofobjectimageso2.bgsection_image2 : (_arrayofobjectimageso3 = arrayofobjectimagesonly2[0]) === null || _arrayofobjectimageso3 === void 0 ? void 0 : _arrayofobjectimageso3.bgsection_image_ar2 : '',
|
|
75559
75601
|
style: {
|
|
75560
|
-
height:
|
|
75561
|
-
width:
|
|
75562
|
-
objectFit:
|
|
75563
|
-
borderTopLeftRadius: sectionproperties.image_bordertopleftradius +
|
|
75564
|
-
borderTopRightRadius: sectionproperties.image_bordertoprightradius +
|
|
75565
|
-
borderBottomLeftRadius: sectionproperties.image_borderBottomLeftRadius +
|
|
75566
|
-
borderBottomRightRadius: sectionproperties.image_borderBottomRightRadius +
|
|
75602
|
+
height: '100%',
|
|
75603
|
+
width: '100%',
|
|
75604
|
+
objectFit: 'contain',
|
|
75605
|
+
borderTopLeftRadius: sectionproperties.image_bordertopleftradius + 'px',
|
|
75606
|
+
borderTopRightRadius: sectionproperties.image_bordertoprightradius + 'px',
|
|
75607
|
+
borderBottomLeftRadius: sectionproperties.image_borderBottomLeftRadius + 'px',
|
|
75608
|
+
borderBottomRightRadius: sectionproperties.image_borderBottomRightRadius + 'px'
|
|
75567
75609
|
}
|
|
75568
75610
|
}))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
75569
75611
|
"class": "col-lg-12 col-md-6 col-sm-6 p-0 mb-xl-3 mb-lg-3 pl-md-1 pl-sm-1 pr-md-1 pr-sm-1"
|
|
75570
75612
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
75571
75613
|
style: {
|
|
75572
|
-
position:
|
|
75573
|
-
cursor: ((_arrayofobjectimageso4 = arrayofobjectimagesonly2[1]) === null || _arrayofobjectimageso4 === void 0 ? void 0 : _arrayofobjectimageso4.IsClickableimg) ==
|
|
75614
|
+
position: 'relative',
|
|
75615
|
+
cursor: ((_arrayofobjectimageso4 = arrayofobjectimagesonly2[1]) === null || _arrayofobjectimageso4 === void 0 ? void 0 : _arrayofobjectimageso4.IsClickableimg) == 'Yes' ? 'pointer' : 'default'
|
|
75574
75616
|
},
|
|
75575
75617
|
onClick: function onClick() {
|
|
75576
|
-
if (arrayofobjectimagesonly2[1].IsClickableimg ==
|
|
75618
|
+
if (arrayofobjectimagesonly2[1].IsClickableimg == 'Yes') {
|
|
75577
75619
|
if (arrayofobjectimagesonly2[1].clickableimg_page_route != undefined && arrayofobjectimagesonly2[1].clickableimg_page_route.length != 0) {
|
|
75578
75620
|
// routingcountext(arrayofobjectimagesonly2[1].clickableimg_page_route, false, '');
|
|
75579
|
-
window.open(arrayofobjectimagesonly2[1].clickableimg_page_route,
|
|
75621
|
+
window.open(arrayofobjectimagesonly2[1].clickableimg_page_route, '_blank');
|
|
75580
75622
|
} else {
|
|
75581
|
-
routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true,
|
|
75623
|
+
routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'collections/' + arrayofobjectimagesonly2[1].Clickableimg_getcoection2);
|
|
75582
75624
|
}
|
|
75583
75625
|
}
|
|
75584
75626
|
}
|
|
75585
75627
|
}, /*#__PURE__*/React__default["default"].createElement(Imagekitimagecomp, {
|
|
75586
75628
|
urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
|
|
75587
75629
|
publicKey: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimagepublickey,
|
|
75588
|
-
path: arrayofobjectimagesonly2.length != 0 ? langdetect !=
|
|
75630
|
+
path: arrayofobjectimagesonly2.length != 0 ? langdetect != 'ar' ? (_arrayofobjectimageso5 = arrayofobjectimagesonly2[1]) === null || _arrayofobjectimageso5 === void 0 ? void 0 : _arrayofobjectimageso5.bgsection_image2 : (_arrayofobjectimageso6 = arrayofobjectimagesonly2[1]) === null || _arrayofobjectimageso6 === void 0 ? void 0 : _arrayofobjectimageso6.bgsection_image_ar2 : '',
|
|
75589
75631
|
style: {
|
|
75590
|
-
height:
|
|
75591
|
-
width:
|
|
75592
|
-
objectFit:
|
|
75593
|
-
borderTopLeftRadius: sectionproperties.image_bordertopleftradius +
|
|
75594
|
-
borderTopRightRadius: sectionproperties.image_bordertoprightradius +
|
|
75595
|
-
borderBottomLeftRadius: sectionproperties.image_borderBottomLeftRadius +
|
|
75596
|
-
borderBottomRightRadius: sectionproperties.image_borderBottomRightRadius +
|
|
75632
|
+
height: '100%',
|
|
75633
|
+
width: '100%',
|
|
75634
|
+
objectFit: 'contain',
|
|
75635
|
+
borderTopLeftRadius: sectionproperties.image_bordertopleftradius + 'px',
|
|
75636
|
+
borderTopRightRadius: sectionproperties.image_bordertoprightradius + 'px',
|
|
75637
|
+
borderBottomLeftRadius: sectionproperties.image_borderBottomLeftRadius + 'px',
|
|
75638
|
+
borderBottomRightRadius: sectionproperties.image_borderBottomRightRadius + 'px'
|
|
75597
75639
|
}
|
|
75598
75640
|
})))))))));
|
|
75599
75641
|
};
|
|
75600
75642
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
75601
|
-
"class": sectionproperties.collectionssectionshow ==
|
|
75643
|
+
"class": sectionproperties.collectionssectionshow == 'Show' ? 'row ml-0 mr-0 w-100 d-flex justify-content-center px-1025-1 pl-md-2 pr-md-2' : sectionproperties.width == '100' ? 'row ml-0 mr-0 w-100 d-flex justify-content-center px-md-3' : 'row ml-0 mr-0 w-100 d-flex justify-content-center px-1025-1 pl-md-2 pr-md-2',
|
|
75602
75644
|
style: {
|
|
75603
|
-
paddingBottom: sectionproperties.marginBottom +
|
|
75604
|
-
paddingLeft: langdetect !=
|
|
75605
|
-
paddingRight: langdetect !=
|
|
75645
|
+
paddingBottom: sectionproperties.marginBottom + 'px',
|
|
75646
|
+
paddingLeft: langdetect != 'ar' ? sectionproperties.paddingLeft + 'px' : sectionproperties.paddingRight + 'px',
|
|
75647
|
+
paddingRight: langdetect != 'ar' ? sectionproperties.paddingRight + 'px' : sectionproperties.paddingLeft + 'px',
|
|
75606
75648
|
background: sectionproperties.backgroundColor
|
|
75607
75649
|
},
|
|
75608
75650
|
onMouseEnter: function onMouseEnter() {
|
|
75609
|
-
setChoosenindex(
|
|
75651
|
+
setChoosenindex('');
|
|
75610
75652
|
}
|
|
75611
75653
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
75612
75654
|
"class": "col-lg-12 p-0"
|
|
75613
75655
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
75614
75656
|
"class": "row m-0 w-100 d-flex d-md-none",
|
|
75615
75657
|
style: {
|
|
75616
|
-
paddingTop: sectionproperties.marginTop +
|
|
75658
|
+
paddingTop: sectionproperties.marginTop + 'px'
|
|
75617
75659
|
},
|
|
75618
75660
|
onMouseLeave: function onMouseLeave() {
|
|
75619
|
-
setChoosenindex(
|
|
75661
|
+
setChoosenindex('');
|
|
75620
75662
|
}
|
|
75621
75663
|
}, SlideshowContent()), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
75622
75664
|
"class": "row m-0 w-100 d-none d-md-flex",
|
|
75623
75665
|
style: {
|
|
75624
|
-
paddingTop: sectionproperties.marginTopResp +
|
|
75666
|
+
paddingTop: sectionproperties.marginTopResp + 'px'
|
|
75625
75667
|
},
|
|
75626
75668
|
onMouseLeave: function onMouseLeave() {
|
|
75627
|
-
setChoosenindex(
|
|
75669
|
+
setChoosenindex('');
|
|
75628
75670
|
}
|
|
75629
75671
|
}, SlideshowContent())));
|
|
75630
75672
|
};
|
|
@@ -75710,11 +75752,11 @@ function ownKeys$I(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymb
|
|
|
75710
75752
|
function _objectSpread$I(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$I(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$I(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
75711
75753
|
var Categorycard_details_onhover = function Categorycard_details_onhover(props) {
|
|
75712
75754
|
var _authdetailsContext$i, _authdetailsContext$i2;
|
|
75713
|
-
var _useState = React.useState(
|
|
75755
|
+
var _useState = React.useState(''),
|
|
75714
75756
|
_useState2 = _slicedToArray__default["default"](_useState, 2),
|
|
75715
75757
|
sectionproperties = _useState2[0],
|
|
75716
75758
|
setsectionproperties = _useState2[1];
|
|
75717
|
-
var _useState3 = React.useState(
|
|
75759
|
+
var _useState3 = React.useState(''),
|
|
75718
75760
|
_useState4 = _slicedToArray__default["default"](_useState3, 2),
|
|
75719
75761
|
variantObj = _useState4[0];
|
|
75720
75762
|
_useState4[1];
|
|
@@ -75733,11 +75775,11 @@ var Categorycard_details_onhover = function Categorycard_details_onhover(props)
|
|
|
75733
75775
|
props.actions.NotificationManager;
|
|
75734
75776
|
props.actions.AddtoCartContext;
|
|
75735
75777
|
props.actions.AddtoCartMutationContext;
|
|
75736
|
-
var _useState7 = React.useState(
|
|
75778
|
+
var _useState7 = React.useState(''),
|
|
75737
75779
|
_useState8 = _slicedToArray__default["default"](_useState7, 2);
|
|
75738
75780
|
_useState8[0];
|
|
75739
75781
|
_useState8[1];
|
|
75740
|
-
var _useState9 = React.useState(
|
|
75782
|
+
var _useState9 = React.useState(''),
|
|
75741
75783
|
_useState0 = _slicedToArray__default["default"](_useState9, 2),
|
|
75742
75784
|
Variant_Color_ImageObj = _useState0[0];
|
|
75743
75785
|
_useState0[1];
|
|
@@ -75757,12 +75799,12 @@ var Categorycard_details_onhover = function Categorycard_details_onhover(props)
|
|
|
75757
75799
|
setitem(props.cardinfoitemprops);
|
|
75758
75800
|
}, [props.cardinfoitemprops]);
|
|
75759
75801
|
React.useEffect(function () {
|
|
75760
|
-
var productImagetoBeSelected =
|
|
75802
|
+
var productImagetoBeSelected = '';
|
|
75761
75803
|
var Tempitem = _objectSpread$I({}, item);
|
|
75762
75804
|
productImagetoBeSelected = item.productmainimage;
|
|
75763
|
-
if (variantObj != undefined && variantObj != null && Object.keys(variantObj).length != 0 && variantObj !=
|
|
75805
|
+
if (variantObj != undefined && variantObj != null && Object.keys(variantObj).length != 0 && variantObj != '') {
|
|
75764
75806
|
var variatgalleryid = variantObj.variantgalleryid;
|
|
75765
|
-
if (variatgalleryid != undefined && variatgalleryid != null && variatgalleryid !=
|
|
75807
|
+
if (variatgalleryid != undefined && variatgalleryid != null && variatgalleryid != '') {
|
|
75766
75808
|
var _item$productimages;
|
|
75767
75809
|
item === null || item === void 0 || (_item$productimages = item.productimages) === null || _item$productimages === void 0 || _item$productimages.forEach(function (item, index) {
|
|
75768
75810
|
if (item.galleryid == variatgalleryid) {
|
|
@@ -75775,12 +75817,12 @@ var Categorycard_details_onhover = function Categorycard_details_onhover(props)
|
|
|
75775
75817
|
setitem(_objectSpread$I({}, Tempitem));
|
|
75776
75818
|
}, [variantObj]);
|
|
75777
75819
|
React.useEffect(function () {
|
|
75778
|
-
var productImagetoBeSelected =
|
|
75820
|
+
var productImagetoBeSelected = '';
|
|
75779
75821
|
var Tempitem = _objectSpread$I({}, item);
|
|
75780
75822
|
productImagetoBeSelected = item.productmainimage;
|
|
75781
|
-
if (Variant_Color_ImageObj != undefined && Variant_Color_ImageObj != null && Object.keys(Variant_Color_ImageObj).length != 0 && Variant_Color_ImageObj !=
|
|
75823
|
+
if (Variant_Color_ImageObj != undefined && Variant_Color_ImageObj != null && Object.keys(Variant_Color_ImageObj).length != 0 && Variant_Color_ImageObj != '') {
|
|
75782
75824
|
var variatgalleryid = Variant_Color_ImageObj.variantgalleryid;
|
|
75783
|
-
if (variatgalleryid != undefined && variatgalleryid != null && variatgalleryid !=
|
|
75825
|
+
if (variatgalleryid != undefined && variatgalleryid != null && variatgalleryid != '') {
|
|
75784
75826
|
var _item$productimages2;
|
|
75785
75827
|
item === null || item === void 0 || (_item$productimages2 = item.productimages) === null || _item$productimages2 === void 0 || _item$productimages2.forEach(function (item, index) {
|
|
75786
75828
|
if (item.galleryid == variatgalleryid) {
|
|
@@ -75794,137 +75836,137 @@ var Categorycard_details_onhover = function Categorycard_details_onhover(props)
|
|
|
75794
75836
|
}, [Variant_Color_ImageObj]);
|
|
75795
75837
|
var card_cssstyles = {
|
|
75796
75838
|
innersection: glamor.css({
|
|
75797
|
-
paddingLeft: sectionproperties.innersectionpaddinghorizontal +
|
|
75798
|
-
paddingRight: sectionproperties.innersectionpaddinghorizontal +
|
|
75799
|
-
|
|
75839
|
+
paddingLeft: sectionproperties.innersectionpaddinghorizontal + 'px',
|
|
75840
|
+
paddingRight: sectionproperties.innersectionpaddinghorizontal + 'px',
|
|
75841
|
+
'@media (max-width: 800px)': {
|
|
75800
75842
|
paddingLeft: sectionproperties.innersectionpaddinghorizontal == 0 ? 0 : 5,
|
|
75801
75843
|
paddingRight: sectionproperties.innersectionpaddinghorizontal == 0 ? 0 : 5
|
|
75802
75844
|
}
|
|
75803
75845
|
}),
|
|
75804
75846
|
productcard: glamor.css({
|
|
75805
|
-
minWidth: props.sectiontypeprops2 ==
|
|
75806
|
-
maxWidth: props.sectiontypeprops2 ==
|
|
75807
|
-
|
|
75808
|
-
minWidth: props.sectiontypeprops2 ==
|
|
75809
|
-
maxWidth: props.sectiontypeprops2 ==
|
|
75847
|
+
minWidth: props.sectiontypeprops2 == 'vertical' ? '100%' : sectionproperties.width + 'px',
|
|
75848
|
+
maxWidth: props.sectiontypeprops2 == 'vertical' ? '100%' : sectionproperties.width + 'px',
|
|
75849
|
+
'@media (max-width: 800px)': {
|
|
75850
|
+
minWidth: props.sectiontypeprops2 == 'vertical' ? '100%' : sectionproperties.widthresponsive + 'px',
|
|
75851
|
+
maxWidth: props.sectiontypeprops2 == 'vertical' ? '100%' : sectionproperties.widthresponsive + 'px'
|
|
75810
75852
|
}
|
|
75811
75853
|
}),
|
|
75812
75854
|
productcardimagecont: glamor.css({
|
|
75813
|
-
position:
|
|
75814
|
-
overflow:
|
|
75815
|
-
height: sectionproperties.image_height == 0 ?
|
|
75816
|
-
background: sectionproperties.image_bgtransparent ==
|
|
75817
|
-
border: sectionproperties.image_borderType ==
|
|
75818
|
-
borderBottom: sectionproperties.image_borderwidth +
|
|
75819
|
-
borderBottomLeftRadius: langdetect !=
|
|
75820
|
-
borderBottomRightRadius: langdetect !=
|
|
75821
|
-
borderTopLeftRadius: langdetect !=
|
|
75822
|
-
borderTopRightRadius: langdetect !=
|
|
75823
|
-
transition:
|
|
75824
|
-
|
|
75825
|
-
height: sectionproperties.height_responsive == 0 ?
|
|
75855
|
+
position: 'relative',
|
|
75856
|
+
overflow: 'hidden',
|
|
75857
|
+
height: sectionproperties.image_height == 0 ? 'auto' : sectionproperties.image_height + 'px',
|
|
75858
|
+
background: sectionproperties.image_bgtransparent == 'Transparent' ? '' : sectionproperties.image_bgcolor,
|
|
75859
|
+
border: sectionproperties.image_borderType == 'All' ? sectionproperties.image_borderwidth + 'px solid ' + sectionproperties.image_bordercolor : 0,
|
|
75860
|
+
borderBottom: sectionproperties.image_borderwidth + 'px solid ' + sectionproperties.image_bordercolor,
|
|
75861
|
+
borderBottomLeftRadius: langdetect != 'ar' ? sectionproperties.image_borderBottomLeftRadius + 'px' : sectionproperties.image_borderBottomRightRadius + 'px',
|
|
75862
|
+
borderBottomRightRadius: langdetect != 'ar' ? sectionproperties.image_borderBottomRightRadius + 'px' : sectionproperties.image_borderBottomLeftRadius + 'px',
|
|
75863
|
+
borderTopLeftRadius: langdetect != 'ar' ? sectionproperties.image_bordertopleftradius + 'px' : sectionproperties.image_bordertoprightradius + 'px',
|
|
75864
|
+
borderTopRightRadius: langdetect != 'ar' ? sectionproperties.image_bordertoprightradius + 'px' : sectionproperties.image_bordertopleftradius + 'px',
|
|
75865
|
+
transition: '.3s',
|
|
75866
|
+
'@media (max-width: 800px)': {
|
|
75867
|
+
height: sectionproperties.height_responsive == 0 ? 'auto' : sectionproperties.height_responsive != null ? sectionproperties.height_responsive + 'px' : sectionproperties.image_height + 'px'
|
|
75826
75868
|
}
|
|
75827
75869
|
}),
|
|
75828
75870
|
productNameStyles: glamor.css({
|
|
75829
75871
|
color: sectionproperties.prodNameColor,
|
|
75830
|
-
fontSize: sectionproperties.prodNameFontSize +
|
|
75872
|
+
fontSize: sectionproperties.prodNameFontSize + 'px',
|
|
75831
75873
|
textTransform: sectionproperties.prodNameTextTranform,
|
|
75832
75874
|
fontWeight: sectionproperties.prodNameFontWeight,
|
|
75833
|
-
transition:
|
|
75834
|
-
cursor:
|
|
75835
|
-
|
|
75875
|
+
transition: '.3s',
|
|
75876
|
+
cursor: 'pointer',
|
|
75877
|
+
':hover': {
|
|
75836
75878
|
color: sectionproperties.prodNameColorOnHover
|
|
75837
75879
|
}
|
|
75838
75880
|
}),
|
|
75839
75881
|
cart_btn: glamor.css({
|
|
75840
|
-
width: sectionproperties.cartBtnWidth == 0 ?
|
|
75841
|
-
height: sectionproperties.cartBtnHeight +
|
|
75842
|
-
background: sectionproperties.cartbtn_bgtransparent ==
|
|
75843
|
-
borderRadius:
|
|
75844
|
-
color:
|
|
75845
|
-
fontSize:
|
|
75882
|
+
width: sectionproperties.cartBtnWidth == 0 ? 'auto' : sectionproperties.cartBtnWidth + 'px',
|
|
75883
|
+
height: sectionproperties.cartBtnHeight + 'px',
|
|
75884
|
+
background: sectionproperties.cartbtn_bgtransparent == 'Transparent' ? 'transparent' : sectionproperties.cartBtnbgColor,
|
|
75885
|
+
borderRadius: '0px',
|
|
75886
|
+
color: 'white',
|
|
75887
|
+
fontSize: '14px',
|
|
75846
75888
|
// textTransform: sectionproperties.cartBtnTexttransform,
|
|
75847
75889
|
fontWeight: 400,
|
|
75848
|
-
border: sectionproperties.cartbtnborderwidth +
|
|
75849
|
-
transition:
|
|
75850
|
-
textDecoration: sectionproperties.cartbtntextdecoration ==
|
|
75851
|
-
|
|
75852
|
-
background: sectionproperties.cartbtn_transparentbgcoloronhover ==
|
|
75853
|
-
color:
|
|
75890
|
+
border: sectionproperties.cartbtnborderwidth + 'px solid ' + sectionproperties.cartbtnbordercolor,
|
|
75891
|
+
transition: '.3s',
|
|
75892
|
+
textDecoration: sectionproperties.cartbtntextdecoration == 'Underline' ? 'underline' : 'none',
|
|
75893
|
+
':hover': {
|
|
75894
|
+
background: sectionproperties.cartbtn_transparentbgcoloronhover == 'Transparent' ? 'transparent' : sectionproperties.cartBtnbgColoronhover,
|
|
75895
|
+
color: 'white',
|
|
75854
75896
|
borderColor: sectionproperties.cartBtnTextcoloronhover
|
|
75855
75897
|
}
|
|
75856
75898
|
}),
|
|
75857
75899
|
outstockbadge: glamor.css({
|
|
75858
|
-
width: sectionproperties.outstock_width +
|
|
75859
|
-
height: sectionproperties.outstock_height +
|
|
75900
|
+
width: sectionproperties.outstock_width + 'px',
|
|
75901
|
+
height: sectionproperties.outstock_height + 'px',
|
|
75860
75902
|
background: sectionproperties.outstock_bg,
|
|
75861
75903
|
color: sectionproperties.outstock_color,
|
|
75862
|
-
fontSize: sectionproperties.outstock_fontSize +
|
|
75863
|
-
borderRadius: sectionproperties.outstock_borderradius +
|
|
75864
|
-
position:
|
|
75904
|
+
fontSize: sectionproperties.outstock_fontSize + 'px',
|
|
75905
|
+
borderRadius: sectionproperties.outstock_borderradius + 'px',
|
|
75906
|
+
position: 'absolute',
|
|
75865
75907
|
zIndex: 2,
|
|
75866
75908
|
top: 0,
|
|
75867
75909
|
bottom: 0,
|
|
75868
75910
|
left: 0,
|
|
75869
75911
|
right: 0,
|
|
75870
|
-
margin:
|
|
75912
|
+
margin: 'auto'
|
|
75871
75913
|
}),
|
|
75872
75914
|
profitcontainer: glamor.css({
|
|
75873
|
-
width: sectionproperties.profitcontainerwidth +
|
|
75874
|
-
height: sectionproperties.profitcontainerheight +
|
|
75915
|
+
width: sectionproperties.profitcontainerwidth + '%',
|
|
75916
|
+
height: sectionproperties.profitcontainerheight + 'px',
|
|
75875
75917
|
background: sectionproperties.profitcontainerbgcolor,
|
|
75876
|
-
border: sectionproperties.profitcontainerborderwidth +
|
|
75877
|
-
borderRadius: sectionproperties.profitcontainerborderradius +
|
|
75918
|
+
border: sectionproperties.profitcontainerborderwidth + 'px solid' + sectionproperties.profitcontainerbordercolor,
|
|
75919
|
+
borderRadius: sectionproperties.profitcontainerborderradius + 'px',
|
|
75878
75920
|
color: sectionproperties.profitcontainercolor,
|
|
75879
|
-
|
|
75880
|
-
width:
|
|
75921
|
+
'@media (max-width: 800px)': {
|
|
75922
|
+
width: '100%'
|
|
75881
75923
|
}
|
|
75882
75924
|
}),
|
|
75883
75925
|
productDescStyles: glamor.css({
|
|
75884
75926
|
color: sectionproperties.prodCatColor,
|
|
75885
|
-
fontSize: sectionproperties.prodCatFontSize +
|
|
75927
|
+
fontSize: sectionproperties.prodCatFontSize + 'px',
|
|
75886
75928
|
fontWeight: sectionproperties.prodCatFontWeight
|
|
75887
75929
|
}),
|
|
75888
75930
|
pinfohover: glamor.css({
|
|
75889
75931
|
opacity: 0,
|
|
75890
|
-
background: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i = authdetailsContext.instinfo) === null || _authdetailsContext$i === void 0 ? void 0 : _authdetailsContext$i.contactinfo.instid) ==
|
|
75891
|
-
position:
|
|
75932
|
+
background: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i = authdetailsContext.instinfo) === null || _authdetailsContext$i === void 0 ? void 0 : _authdetailsContext$i.contactinfo.instid) == '6807d313bae63' ? 'rgb(238,75,36,0.9)' : (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i2 = authdetailsContext.instinfo) === null || _authdetailsContext$i2 === void 0 ? void 0 : _authdetailsContext$i2.instid) == '67d6bda67adf6' ? 'rgb(5,35,61,0.7)' : sectionproperties.backgroundColor,
|
|
75933
|
+
position: 'absolute',
|
|
75892
75934
|
top: 0,
|
|
75893
|
-
transition:
|
|
75935
|
+
transition: '.3s'
|
|
75894
75936
|
}),
|
|
75895
75937
|
icontainer: glamor.css({
|
|
75896
|
-
|
|
75938
|
+
':hover .pinfohover': {
|
|
75897
75939
|
opacity: 1,
|
|
75898
|
-
transition:
|
|
75940
|
+
transition: '.3s'
|
|
75899
75941
|
}
|
|
75900
75942
|
}),
|
|
75901
75943
|
cardconttt: glamor.css({
|
|
75902
|
-
background: sectionproperties.backgroundColortransparent ==
|
|
75903
|
-
borderBottomLeftRadius: langdetect !=
|
|
75904
|
-
borderBottomRightRadius: langdetect !=
|
|
75905
|
-
borderTopLeftRadius: langdetect !=
|
|
75906
|
-
borderTopRightRadius: langdetect !=
|
|
75907
|
-
marginTop: sectionproperties.marginTop +
|
|
75908
|
-
marginBottom: sectionproperties.marginBottom +
|
|
75909
|
-
border: sectionproperties.sectioncardborderwidth +
|
|
75910
|
-
paddingTop: sectionproperties.paddingTop +
|
|
75911
|
-
paddingBottom: sectionproperties.paddingBottom +
|
|
75912
|
-
paddingLeft: langdetect !=
|
|
75913
|
-
paddingRight: langdetect !=
|
|
75914
|
-
transition:
|
|
75915
|
-
|
|
75916
|
-
backgroundColor: sectionproperties.backgroundColortransparent !=
|
|
75944
|
+
background: sectionproperties.backgroundColortransparent == 'Transparent' ? 'transparent' : sectionproperties.backgroundColor,
|
|
75945
|
+
borderBottomLeftRadius: langdetect != 'ar' ? sectionproperties.borderBottomLeftRadius + 'px' : sectionproperties.borderBottomRightRadius + 'px',
|
|
75946
|
+
borderBottomRightRadius: langdetect != 'ar' ? sectionproperties.borderBottomRightRadius + 'px' : sectionproperties.borderBottomLeftRadius + 'px',
|
|
75947
|
+
borderTopLeftRadius: langdetect != 'ar' ? sectionproperties.borderTopLeftRadius + 'px' : sectionproperties.borderTopRightRadius + 'px',
|
|
75948
|
+
borderTopRightRadius: langdetect != 'ar' ? sectionproperties.borderTopRightRadius + 'px' : sectionproperties.borderTopLeftRadius + 'px',
|
|
75949
|
+
marginTop: sectionproperties.marginTop + 'px',
|
|
75950
|
+
marginBottom: sectionproperties.marginBottom + 'px',
|
|
75951
|
+
border: sectionproperties.sectioncardborderwidth + 'px solid ' + sectionproperties.sectioncardbordercolor,
|
|
75952
|
+
paddingTop: sectionproperties.paddingTop + 'px',
|
|
75953
|
+
paddingBottom: sectionproperties.paddingBottom + 'px',
|
|
75954
|
+
paddingLeft: langdetect != 'ar' ? sectionproperties.paddingLeft + 'px' : sectionproperties.paddingRight + 'px',
|
|
75955
|
+
paddingRight: langdetect != 'ar' ? sectionproperties.paddingRight + 'px' : sectionproperties.paddingLeft + 'px',
|
|
75956
|
+
transition: '.3s',
|
|
75957
|
+
':hover': {
|
|
75958
|
+
backgroundColor: sectionproperties.backgroundColortransparent != 'Transparent' && sectionproperties.backgroundColor == '#ffffff' ? 'rgba(250,250,250,' + sectionproperties.bgopacityonhover + ')' : 1,
|
|
75917
75959
|
transition: 0.3,
|
|
75918
|
-
boxShadow:
|
|
75960
|
+
boxShadow: '0 0 10px ' + sectionproperties.sectioncardshadowcoloronhover
|
|
75919
75961
|
}
|
|
75920
75962
|
}),
|
|
75921
75963
|
sku: glamor.css({
|
|
75922
|
-
fontSize: sectionproperties.skuFontSize +
|
|
75964
|
+
fontSize: sectionproperties.skuFontSize + 'px',
|
|
75923
75965
|
color: sectionproperties.skuColor,
|
|
75924
75966
|
fontWeight: sectionproperties.skuFontWeight
|
|
75925
75967
|
})
|
|
75926
75968
|
};
|
|
75927
|
-
var _useState1 = React.useState(
|
|
75969
|
+
var _useState1 = React.useState(''),
|
|
75928
75970
|
_useState10 = _slicedToArray__default["default"](_useState1, 2),
|
|
75929
75971
|
secondimage = _useState10[0],
|
|
75930
75972
|
setsecondimage = _useState10[1];
|
|
@@ -75968,35 +76010,35 @@ var Categorycard_details_onhover = function Categorycard_details_onhover(props)
|
|
|
75968
76010
|
|
|
75969
76011
|
var Image = function Image(type) {
|
|
75970
76012
|
var transition = false;
|
|
75971
|
-
if (sectionproperties.hideshowcardtransition ==
|
|
76013
|
+
if (sectionproperties.hideshowcardtransition == 'Show' && type != 'responsive') {
|
|
75972
76014
|
transition = true;
|
|
75973
76015
|
}
|
|
75974
76016
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
75975
76017
|
"class": "w-100 cursor-pointer",
|
|
75976
76018
|
style: {
|
|
75977
|
-
position:
|
|
76019
|
+
position: 'relative'
|
|
75978
76020
|
}
|
|
75979
76021
|
}, /*#__PURE__*/React__default["default"].createElement(Imagekitimagecomp, {
|
|
75980
|
-
"class": transition ? cardstyles$8.intialimage :
|
|
76022
|
+
"class": transition ? cardstyles$8.intialimage : '',
|
|
75981
76023
|
urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
|
|
75982
76024
|
publicKey: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimagepublickey,
|
|
75983
|
-
path:
|
|
76025
|
+
path: '/tr:w-' + sectionproperties.imagetr_w + ',h-' + sectionproperties.imagetr_h + '/' + item.image,
|
|
75984
76026
|
loading: "lazy",
|
|
75985
76027
|
style: {
|
|
75986
|
-
width: sectionproperties.imageInnerWidth_Height +
|
|
75987
|
-
height: sectionproperties.imageInnerWidth_Height +
|
|
75988
|
-
objectFit: sectionproperties.bgcovercontain ==
|
|
76028
|
+
width: sectionproperties.imageInnerWidth_Height + '%',
|
|
76029
|
+
height: sectionproperties.imageInnerWidth_Height + '%',
|
|
76030
|
+
objectFit: sectionproperties.bgcovercontain == 'Cover' ? 'cover' : 'contain'
|
|
75989
76031
|
}
|
|
75990
76032
|
}), transition && /*#__PURE__*/React__default["default"].createElement(Imagekitimagecomp, {
|
|
75991
76033
|
"class": cardstyles$8.secondaryimage,
|
|
75992
76034
|
urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
|
|
75993
76035
|
publicKey: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimagepublickey,
|
|
75994
|
-
path:
|
|
76036
|
+
path: '/tr:w-' + sectionproperties.imagetr_w + ',h-' + sectionproperties.imagetr_h + '/' + secondimage,
|
|
75995
76037
|
loading: "lazy",
|
|
75996
76038
|
style: {
|
|
75997
|
-
width: sectionproperties.imageInnerWidth_Height +
|
|
75998
|
-
height: sectionproperties.imageInnerWidth_Height +
|
|
75999
|
-
objectFit: sectionproperties.bgcovercontain ==
|
|
76039
|
+
width: sectionproperties.imageInnerWidth_Height + '%',
|
|
76040
|
+
height: sectionproperties.imageInnerWidth_Height + '%',
|
|
76041
|
+
objectFit: sectionproperties.bgcovercontain == 'Cover' ? 'cover' : 'contain'
|
|
76000
76042
|
}
|
|
76001
76043
|
}));
|
|
76002
76044
|
};
|
|
@@ -76011,11 +76053,11 @@ var Categorycard_details_onhover = function Categorycard_details_onhover(props)
|
|
|
76011
76053
|
});
|
|
76012
76054
|
|
|
76013
76055
|
// Check if it's the second click
|
|
76014
|
-
if (sectionproperties.hideshowcardtransition ==
|
|
76056
|
+
if (sectionproperties.hideshowcardtransition == 'Show') {
|
|
76015
76057
|
if (clickCount === 1) {
|
|
76016
76058
|
// Do whatever you want on the second click
|
|
76017
76059
|
var productidtobesend = null;
|
|
76018
|
-
if (sectionproperties.urlwithproductname ==
|
|
76060
|
+
if (sectionproperties.urlwithproductname == 'Yes') {
|
|
76019
76061
|
productidtobesend = item.productendpointurl;
|
|
76020
76062
|
} else {
|
|
76021
76063
|
productidtobesend = item.productid;
|
|
@@ -76024,7 +76066,7 @@ var Categorycard_details_onhover = function Categorycard_details_onhover(props)
|
|
|
76024
76066
|
}
|
|
76025
76067
|
} else {
|
|
76026
76068
|
var productidtobesend = null;
|
|
76027
|
-
if (sectionproperties.urlwithproductname ==
|
|
76069
|
+
if (sectionproperties.urlwithproductname == 'Yes') {
|
|
76028
76070
|
productidtobesend = item.productendpointurl;
|
|
76029
76071
|
} else {
|
|
76030
76072
|
productidtobesend = item.productid;
|
|
@@ -76033,30 +76075,30 @@ var Categorycard_details_onhover = function Categorycard_details_onhover(props)
|
|
|
76033
76075
|
}
|
|
76034
76076
|
};
|
|
76035
76077
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
76036
|
-
"class": props.sectiontypeprops2 ==
|
|
76078
|
+
"class": props.sectiontypeprops2 == 'vertical' ? sectionproperties.card_marginLeft == 0 && sectionproperties.card_marginRight == 0 ? "".concat(card_cssstyles.productcard) + ' w-100 ' : "".concat(card_cssstyles.productcard) + ' w-100 px-md-1 ' : " ".concat(card_cssstyles.productcard),
|
|
76037
76079
|
style: {
|
|
76038
|
-
paddingLeft: langdetect !=
|
|
76039
|
-
paddingRight: langdetect !=
|
|
76080
|
+
paddingLeft: langdetect != 'ar' ? sectionproperties.card_marginLeft + 'px' : sectionproperties.card_marginRight + 'px',
|
|
76081
|
+
paddingRight: langdetect != 'ar' ? sectionproperties.card_marginRight + 'px' : sectionproperties.card_marginLeft + 'px'
|
|
76040
76082
|
}
|
|
76041
76083
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
76042
|
-
"class": card_cssstyles.cardconttt +
|
|
76084
|
+
"class": card_cssstyles.cardconttt + ' cursor-pointer w-100 ',
|
|
76043
76085
|
style: {}
|
|
76044
76086
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
76045
|
-
"class": card_cssstyles.icontainer +
|
|
76087
|
+
"class": card_cssstyles.icontainer + ' w-100 ',
|
|
76046
76088
|
style: {
|
|
76047
|
-
position:
|
|
76089
|
+
position: 'relative'
|
|
76048
76090
|
}
|
|
76049
76091
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
76050
|
-
"class": sectionproperties.hideshowcardtransition ==
|
|
76092
|
+
"class": sectionproperties.hideshowcardtransition == 'Show' ? " ".concat(card_cssstyles.productcardimagecont, " ").concat(cardstyles$8.imagecontainer) + ' d-flex d-md-none ' : " ".concat(card_cssstyles.productcardimagecont, " ") + ' d-flex d-md-none ',
|
|
76051
76093
|
style: {
|
|
76052
|
-
marginBottom: sectionproperties.image_mb +
|
|
76094
|
+
marginBottom: sectionproperties.image_mb + 'px'
|
|
76053
76095
|
},
|
|
76054
76096
|
onClick: function onClick(e) {
|
|
76055
76097
|
var _sectionproperties$se;
|
|
76056
|
-
if (((_sectionproperties$se = sectionproperties.sectionproperties) === null || _sectionproperties$se === void 0 ? void 0 : _sectionproperties$se.onClickRoute) ==
|
|
76098
|
+
if (((_sectionproperties$se = sectionproperties.sectionproperties) === null || _sectionproperties$se === void 0 ? void 0 : _sectionproperties$se.onClickRoute) == 'None') ; else {
|
|
76057
76099
|
e.stopPropagation();
|
|
76058
76100
|
var productidtobesend = null;
|
|
76059
|
-
if (sectionproperties.urlwithproductname ==
|
|
76101
|
+
if (sectionproperties.urlwithproductname == 'Yes') {
|
|
76060
76102
|
productidtobesend = item.productendpointurl;
|
|
76061
76103
|
} else {
|
|
76062
76104
|
productidtobesend = item.productid;
|
|
@@ -76064,24 +76106,24 @@ var Categorycard_details_onhover = function Categorycard_details_onhover(props)
|
|
|
76064
76106
|
cardonclickfunctionContext(sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.onClickRoute, productidtobesend, props.fetchingtypeprops, item.collectionid);
|
|
76065
76107
|
}
|
|
76066
76108
|
}
|
|
76067
|
-
}, Image(
|
|
76068
|
-
"class": sectionproperties.hideshowcardtransition ==
|
|
76109
|
+
}, Image('normal')), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
76110
|
+
"class": sectionproperties.hideshowcardtransition == 'Show' ? " ".concat(card_cssstyles.productcardimagecont, " ").concat(cardstyles$8.imagecontainer) + ' d-none d-md-flex ' : " ".concat(card_cssstyles.productcardimagecont, " ") + ' d-none d-md-flex ',
|
|
76069
76111
|
style: {
|
|
76070
|
-
marginBottom: sectionproperties.image_mb +
|
|
76112
|
+
marginBottom: sectionproperties.image_mb + 'px'
|
|
76071
76113
|
},
|
|
76072
76114
|
onClick: function onClick(e) {
|
|
76073
|
-
if ((sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.onClickRoute) ==
|
|
76115
|
+
if ((sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.onClickRoute) == 'None') ; else {
|
|
76074
76116
|
handleClick();
|
|
76075
76117
|
}
|
|
76076
76118
|
}
|
|
76077
|
-
}, Image(
|
|
76078
|
-
"class": card_cssstyles.pinfohover +
|
|
76119
|
+
}, Image('normal')), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
76120
|
+
"class": card_cssstyles.pinfohover + ' row m-0 w-100 pinfohover h-100 d-flex align-items-center ',
|
|
76079
76121
|
onClick: function onClick(e) {
|
|
76080
76122
|
var _sectionproperties$se2;
|
|
76081
|
-
if (((_sectionproperties$se2 = sectionproperties.sectionproperties) === null || _sectionproperties$se2 === void 0 ? void 0 : _sectionproperties$se2.onClickRoute) ==
|
|
76123
|
+
if (((_sectionproperties$se2 = sectionproperties.sectionproperties) === null || _sectionproperties$se2 === void 0 ? void 0 : _sectionproperties$se2.onClickRoute) == 'None') ; else {
|
|
76082
76124
|
e.stopPropagation();
|
|
76083
76125
|
var productidtobesend = null;
|
|
76084
|
-
if (sectionproperties.urlwithproductname ==
|
|
76126
|
+
if (sectionproperties.urlwithproductname == 'Yes') {
|
|
76085
76127
|
productidtobesend = item.productendpointurl;
|
|
76086
76128
|
} else {
|
|
76087
76129
|
productidtobesend = item.productid;
|
|
@@ -76092,13 +76134,13 @@ var Categorycard_details_onhover = function Categorycard_details_onhover(props)
|
|
|
76092
76134
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
76093
76135
|
"class": "row m-0 w-100 px-3"
|
|
76094
76136
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
76095
|
-
"class":
|
|
76137
|
+
"class": ' col-lg-12 pl-0 pr-0 ',
|
|
76096
76138
|
style: {}
|
|
76097
76139
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
76098
76140
|
onClick: function onClick() {
|
|
76099
|
-
if ((sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.onClickRoute) ==
|
|
76141
|
+
if ((sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.onClickRoute) == 'None') ; else {
|
|
76100
76142
|
var productidtobesend = null;
|
|
76101
|
-
if (sectionproperties.urlwithproductname ==
|
|
76143
|
+
if (sectionproperties.urlwithproductname == 'Yes') {
|
|
76102
76144
|
productidtobesend = item.productendpointurl;
|
|
76103
76145
|
} else {
|
|
76104
76146
|
productidtobesend = item.productid;
|
|
@@ -76106,31 +76148,31 @@ var Categorycard_details_onhover = function Categorycard_details_onhover(props)
|
|
|
76106
76148
|
cardonclickfunctionContext(sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.onClickRoute, productidtobesend, props.fetchingtypeprops, item.collectionid);
|
|
76107
76149
|
}
|
|
76108
76150
|
},
|
|
76109
|
-
"class": sectionproperties.wordbreak ==
|
|
76151
|
+
"class": sectionproperties.wordbreak == '1' ? "".concat(card_cssstyles.productNameStyles) + ' wordbreak wordbreak1 font-md-13 m-0 ' : "".concat(card_cssstyles.productNameStyles) + ' wordbreak wordbreak2 font-md-13 wordbreak-md-4 m-0 ',
|
|
76110
76152
|
style: {
|
|
76111
|
-
textAlign: sectionproperties.productnamecentered ==
|
|
76153
|
+
textAlign: sectionproperties.productnamecentered == 'Centered' ? 'center' : langdetect != 'ar' ? 'left' : 'right'
|
|
76112
76154
|
}
|
|
76113
76155
|
}, item.name)), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
76114
|
-
"class":
|
|
76156
|
+
"class": ' col-lg-12 p-0 ',
|
|
76115
76157
|
style: {}
|
|
76116
76158
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
76117
|
-
"class": sectionproperties.descriptionwordbreak ==
|
|
76159
|
+
"class": sectionproperties.descriptionwordbreak == 'None' ? "".concat(card_cssstyles.productDescStyles) + ' p-0 mt-1 ' : "".concat(card_cssstyles.productDescStyles) + ' p-0 wordbreak wordbreak4 mt-1 ',
|
|
76118
76160
|
style: {
|
|
76119
|
-
textAlign: sectionproperties.productnamecentered ==
|
|
76161
|
+
textAlign: sectionproperties.productnamecentered == 'Centered' ? 'center' : langdetect != 'ar' ? 'left' : 'right'
|
|
76120
76162
|
},
|
|
76121
76163
|
dangerouslySetInnerHTML: {
|
|
76122
76164
|
__html: item.shortdescription
|
|
76123
76165
|
}
|
|
76124
76166
|
})), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
76125
|
-
"class":
|
|
76167
|
+
"class": ' col-lg-12 p-0 '
|
|
76126
76168
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
76127
|
-
"class": "".concat(card_cssstyles.cart_btn) +
|
|
76169
|
+
"class": "".concat(card_cssstyles.cart_btn) + ' m-0 p-0 d-flex align-items-center justify-content-start mt-1 ',
|
|
76128
76170
|
onClick: function onClick() {
|
|
76129
76171
|
cardonclickfunctionContext(sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.onClickRoute, item.productid, props.fetchingtypeprops, item.collectionid);
|
|
76130
76172
|
}
|
|
76131
76173
|
}, /*#__PURE__*/React__default["default"].createElement("span", {
|
|
76132
76174
|
"class": "w-100 allcentered"
|
|
76133
|
-
}, langdetect
|
|
76175
|
+
}, langdetect == 'en' ? sectionproperties.cartBtnContentenglish : langdetect == 'ar' ? sectionproperties.cartBtnContentarabic : sectionproperties["cartBtnContent".concat(langdetect)] || sectionproperties.cartBtnContentenglish))))))));
|
|
76134
76176
|
};
|
|
76135
76177
|
|
|
76136
76178
|
var css_248z$e = "\r\n@media (max-width: 576px) {\r\n .generalCardsStyles-module_productcard__3PgiR {\r\n max-width: 280px !important;\r\n min-width: 280px !important;\r\n }\r\n .generalCardsStyles-module_Simpleproductcard__GhVP7 {\r\n max-width: 250px !important;\r\n min-width: 250px !important;\r\n }\r\n .generalCardsStyles-module_ClassicCategoryCard__UWO1a{\r\n max-width: 330px !important;\r\n min-width: 330px !important;\r\n }\r\n .generalCardsStyles-module_newproductcard__ATddn{\r\n max-width: 330px !important;\r\n min-width: 330px !important;\r\n }\r\n}\r\n@-webkit-keyframes generalCardsStyles-module_fadeIn__xhIy3 {\r\n from {\r\n opacity: 0;\r\n }\r\n to {\r\n opacity: 1;\r\n }\r\n}\r\n@keyframes generalCardsStyles-module_fadeIn__xhIy3 {\r\n from {\r\n opacity: 0;\r\n }\r\n to {\r\n opacity: 1 !important;\r\n }\r\n}\r\n\r\n.generalCardsStyles-module_imagecontainer__9bhlL {\r\n transition: all 0.4s !important;\r\n position: relative !important;\r\n}\r\n.generalCardsStyles-module_intialimage__JUCyy {\r\n visibility: visible !important;\r\n opacity: 1 !important;\r\n transition: visibility 0.4s, opacity 0.4s linear !important;\r\n\r\n position: absolute !important;\r\n top: 0 !important;\r\n left: 0 !important;\r\n}\r\n.generalCardsStyles-module_secondaryimage__FrA62 {\r\n visibility: hidden !important;\r\n\r\n opacity: 0 !important;\r\n transition: visibility 0.4s, opacity 0.4s linear !important;\r\n position: absolute !important;\r\n top: 0 !important;\r\n left: 0 !important;\r\n}\r\n\r\n.generalCardsStyles-module_imagecontainer__9bhlL:hover .generalCardsStyles-module_intialimage__JUCyy {\r\n visibility: hidden !important;\r\n\r\n opacity: 0 !important;\r\n transition: visibility 0.4s, opacity 0.4s linear !important;\r\n\r\n position: absolute !important;\r\n top: 0 !important;\r\n left: 0 !important;\r\n}\r\n.generalCardsStyles-module_imagecontainer__9bhlL:hover .generalCardsStyles-module_secondaryimage__FrA62 {\r\n visibility: visible !important;\r\n\r\n opacity: 1 !important;\r\n transition: visibility 0.4s, opacity 0.4s linear !important;\r\n\r\n position: absolute !important;\r\n top: 0 !important;\r\n left: 0 !important;\r\n}";
|