tabexseriescomponents 0.0.239 → 0.0.240

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.cjs.js CHANGED
@@ -1060,17 +1060,247 @@ var IKurlEndpoint = 'https://ik.imagekit.io/ft8rkss6u';
1060
1060
  var IKpublicKey = 'public_VBLwXEfKbDK0O9amvBYlyz5R3Nw=';
1061
1061
  var serverbaselink$1 = 'https://tabex-co.com';
1062
1062
 
1063
+ //productidprops
1064
+ var Variantoptions = function Variantoptions(props) {
1065
+ var _fetchProductInfoQuer, _fetchProductInfoQuer2, _fetchProductInfoQuer3, _ProductInfoObj$data, _ProductInfoObj$data$, _ProductInfoObj$data$2;
1066
+ var lang = props.actions.lang;
1067
+ var langdetect = props.actions.langdetect;
1068
+ var selectproductoptionvalue = props.actions.selectproductoptionvalue;
1069
+ var clearchoosenvaluesbutkeepcurrentvalue = props.actions.clearchoosenvaluesbutkeepcurrentvalue;
1070
+ var fetchProductInfoQueryContext = props.actions.fetchProductInfoQueryContext;
1071
+ var sectionproperties = props.actions.sectionproperties;
1072
+ var ProductInfoObj = props.actions.ProductInfoObj;
1073
+ return /*#__PURE__*/React__default["default"].createElement(React__default["default"].Fragment, null, (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 ? void 0 : (_fetchProductInfoQuer = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer === void 0 ? void 0 : (_fetchProductInfoQuer2 = _fetchProductInfoQuer.data) === null || _fetchProductInfoQuer2 === void 0 ? void 0 : (_fetchProductInfoQuer3 = _fetchProductInfoQuer2.productinfo) === null || _fetchProductInfoQuer3 === void 0 ? void 0 : _fetchProductInfoQuer3.hasvariants) == 1 && sectionproperties.productInformationType == 'Product/Service Information' && /*#__PURE__*/React__default["default"].createElement("div", {
1074
+ className: "row m-0 w-100 d-flex align-items-start"
1075
+ }, ProductInfoObj === null || ProductInfoObj === void 0 ? void 0 : (_ProductInfoObj$data = ProductInfoObj.data) === null || _ProductInfoObj$data === void 0 ? void 0 : (_ProductInfoObj$data$ = _ProductInfoObj$data.productinfo) === null || _ProductInfoObj$data$ === void 0 ? void 0 : (_ProductInfoObj$data$2 = _ProductInfoObj$data$.productoptions) === null || _ProductInfoObj$data$2 === void 0 ? void 0 : _ProductInfoObj$data$2.map(function (item, index) {
1076
+ return /*#__PURE__*/React__default["default"].createElement("div", {
1077
+ className: "col-lg-12 p-0 mb-3 d-flex justify-content-start"
1078
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
1079
+ className: "row m-0 w-100 d-flex align-items-start"
1080
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
1081
+ className: "col-lg-12 col-md-12 p-0 d-flex"
1082
+ }, /*#__PURE__*/React__default["default"].createElement("p", {
1083
+ className: ' m-0 p-0 wordbreak',
1084
+ style: {
1085
+ color: sectionproperties.varianttitle_color,
1086
+ fontWeight: sectionproperties.varianttitle_fontweight,
1087
+ textTransform: sectionproperties.varianttitle_texttransform,
1088
+ fontSize: sectionproperties.varianttitle_fontSize + 'px'
1089
+ }
1090
+ }, lang.select, " ", langdetect == 'en' ? item.optionname : item.optionname_ar, ":")), /*#__PURE__*/React__default["default"].createElement("div", {
1091
+ className: "col-lg-12 col-md-12 d-flex pb-md-3 justify-content-start align-items-start scrollhorixontalcontainer pt-3 pb-3",
1092
+ style: {
1093
+ paddingTop: sectionproperties.showRemovebutton == 'Show' ? '1rem' : 0
1094
+ }
1095
+ }, item.optionvalues.map(function (optionvaluesitem, optionvaluesindex) {
1096
+ var isoptionvalueselected = 0;
1097
+ if (optionvaluesitem.isselected == 1) {
1098
+ isoptionvalueselected = 1;
1099
+ } else {
1100
+ isoptionvalueselected = 0;
1101
+ }
1102
+ var isoptionvaluedenabled = 0;
1103
+ if (optionvaluesitem.isenabled == 1) {
1104
+ isoptionvaluedenabled = 1;
1105
+ } else {
1106
+ isoptionvaluedenabled = 0;
1107
+ }
1108
+ if (item.optionname == 'color' || item.optionname == 'Color') {
1109
+ return /*#__PURE__*/React__default["default"].createElement("div", {
1110
+ className: productinfostyles.color_container + ' mr-2 variabttcontainer ' + "".concat(isoptionvalueselected == 1 ? productinfostyles.color_container_active : ''),
1111
+ onClick: function onClick() {
1112
+ if (optionvaluesitem.isenabled == 1) {
1113
+ selectproductoptionvalue(index, optionvaluesitem, optionvaluesindex);
1114
+ } else {
1115
+ clearchoosenvaluesbutkeepcurrentvalue(index, optionvaluesitem, optionvaluesindex);
1116
+ }
1117
+ },
1118
+ style: {
1119
+ background: optionvaluesitem.valuename,
1120
+ opacity: isoptionvaluedenabled == 1 ? 1 : 0.2,
1121
+ cursor: isoptionvaluedenabled == 1 ? 'pointer' : 'not-allowed'
1122
+ }
1123
+ });
1124
+ } else if (item.optionname == 'size' || item.optionname == 'Size') {
1125
+ return /*#__PURE__*/React__default["default"].createElement("div", {
1126
+ className: "".concat(productinfostyles.variant_container, " ").concat(productinfostyles.size_variant_container) + ' mr-2 variabttcontainer allcentered ' + "".concat(isoptionvalueselected == 1 ? productinfostyles.variant_container_active : ''),
1127
+ onClick: function onClick() {
1128
+ if (optionvaluesitem.isenabled == 1) {
1129
+ selectproductoptionvalue(index, optionvaluesitem, optionvaluesindex);
1130
+ } else {
1131
+ clearchoosenvaluesbutkeepcurrentvalue(index, optionvaluesitem, optionvaluesindex);
1132
+ }
1133
+ },
1134
+ style: {
1135
+ cursor: isoptionvaluedenabled == 1 ? 'pointer' : 'not-allowed',
1136
+ backgroundColor: isoptionvalueselected == 1 ? 'green' : isoptionvaluedenabled == 1 ? sectionproperties.variantcontainer_bgcolor : 'grey',
1137
+ minWidth: sectionproperties.variantcontainer_minwidth + 'px',
1138
+ height: sectionproperties.variantcontainer_height + 'px',
1139
+ borderRadius: sectionproperties.variantcontainer_borderBottomLeftRadius + 'px',
1140
+ position: 'relative'
1141
+ }
1142
+ }, isoptionvalueselected == 1 && sectionproperties.showRemovebutton == 'Show' && /*#__PURE__*/React__default["default"].createElement("p", {
1143
+ "class": "m-0 p-0 bg-danger bgdanger-hover",
1144
+ style: {
1145
+ position: 'absolute',
1146
+ top: '-15px',
1147
+ right: '-5px',
1148
+ width: '3vh',
1149
+ height: '3vh',
1150
+ borderRadius: 100
1151
+ }
1152
+ }, /*#__PURE__*/React__default["default"].createElement("i", {
1153
+ "class": "h-100 allcentered"
1154
+ }, /*#__PURE__*/React__default["default"].createElement(IoMdClose.IoMdClose, null))), /*#__PURE__*/React__default["default"].createElement("p", {
1155
+ className: 'font-12 wordbreak m-0 p-0 d-flex align-items-center justify-content-center',
1156
+ style: {
1157
+ color: sectionproperties.variantcontainer_color,
1158
+ fontSize: sectionproperties.variantcontainer_fontSize + 'px'
1159
+ }
1160
+ }, langdetect == 'en' ? optionvaluesitem.valuename : optionvaluesitem.valuename_ar));
1161
+ } else {
1162
+ return /*#__PURE__*/React__default["default"].createElement("div", {
1163
+ className: productinfostyles.variant_container + ' mr-2 variabttcontainer allcentered pl-2 pr-2 ' + "".concat(isoptionvalueselected == 1 ? productinfostyles.variant_container_active : ''),
1164
+ onClick: function onClick() {
1165
+ if (optionvaluesitem.isenabled == 1) {
1166
+ selectproductoptionvalue(index, optionvaluesitem, optionvaluesindex);
1167
+ } else {
1168
+ clearchoosenvaluesbutkeepcurrentvalue(index, optionvaluesitem, optionvaluesindex);
1169
+ }
1170
+ },
1171
+ style: {
1172
+ backgroundColor: isoptionvalueselected == 1 ? 'green' : isoptionvaluedenabled == 1 ? sectionproperties.variantcontainer_bgcolor : 'grey',
1173
+ width: 'auto',
1174
+ height: sectionproperties.variantcontainer_height + 'px',
1175
+ borderRadius: sectionproperties.variantcontainer_borderBottomLeftRadius + 'px',
1176
+ position: 'relative'
1177
+ }
1178
+ }, isoptionvalueselected == 1 && sectionproperties.showRemovebutton == 'Show' && /*#__PURE__*/React__default["default"].createElement("p", {
1179
+ "class": "m-0 p-0 bg-danger bgdanger-hover",
1180
+ style: {
1181
+ position: 'absolute',
1182
+ top: '-15px',
1183
+ right: '-5px',
1184
+ width: '3vh',
1185
+ height: '3vh',
1186
+ borderRadius: 100
1187
+ }
1188
+ }, /*#__PURE__*/React__default["default"].createElement("i", {
1189
+ "class": "h-100 allcentered"
1190
+ }, /*#__PURE__*/React__default["default"].createElement(IoMdClose.IoMdClose, null))), /*#__PURE__*/React__default["default"].createElement("p", {
1191
+ className: 'm-0 p-0 allcentered',
1192
+ style: {
1193
+ color: sectionproperties.variantcontainer_color,
1194
+ fontSize: sectionproperties.variantcontainer_fontSize + 'px'
1195
+ }
1196
+ }, langdetect == 'en' ? optionvaluesitem.valuename : optionvaluesitem.valuename_ar));
1197
+ }
1198
+ }))));
1199
+ })));
1200
+ };
1201
+
1202
+ //productidprops
1203
+ var ProductHeaderPricing = function ProductHeaderPricing(props) {
1204
+ props.actions.lang;
1205
+ var langdetect = props.actions.langdetect;
1206
+ var fetchProductInfoQueryContext = props.actions.fetchProductInfoQueryContext;
1207
+ var sectionproperties = props.actions.sectionproperties;
1208
+ var authdetailsContext = props.actions.authdetailsContext;
1209
+ var variantindexcompleted = props.actions.variantindexcompleted;
1210
+ var getprice_discountpriceprops = props.actions.getprice_discountpriceprops;
1211
+ var quantityconditionfoundobjprops = props.actions.quantityconditionfoundobjprops;
1212
+ return /*#__PURE__*/React__default["default"].createElement(React__default["default"].Fragment, null, sectionproperties.showDefaultPricingSection == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
1213
+ "class": "col-lg-12 p-0 mb-3 d-flex justift-content-start",
1214
+ style: {
1215
+ background: sectionproperties.reservation_bgcolor,
1216
+ borderRadius: sectionproperties.reservation_borderradius + 'px'
1217
+ }
1218
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
1219
+ "class": "row m-0 w-100",
1220
+ style: {
1221
+ paddingLeft: sectionproperties.reservation_padding_left + 'rem',
1222
+ paddingRight: sectionproperties.reservation_padding_right + 'rem',
1223
+ paddingTop: sectionproperties.reservation_padding_top + 'rem',
1224
+ paddingBottom: sectionproperties.reservation_padding_bottom + 'rem'
1225
+ }
1226
+ }, /*#__PURE__*/React__default["default"].createElement("span", {
1227
+ style: {
1228
+ fontSize: sectionproperties.defaultPriceFontSize + 'px',
1229
+ fontWeight: sectionproperties.defaultPriceFontWeight,
1230
+ color: sectionproperties.defaultPriceColor
1231
+ }
1232
+ }, quantityconditionfoundobjprops != null && /*#__PURE__*/React__default["default"].createElement(React__default["default"].Fragment, null, (quantityconditionfoundobjprops === null || quantityconditionfoundobjprops === void 0 ? void 0 : quantityconditionfoundobjprops.type) == 'add' ? '+' : '-', quantityconditionfoundobjprops === null || quantityconditionfoundobjprops === void 0 ? void 0 : quantityconditionfoundobjprops.value, "%")), /*#__PURE__*/React__default["default"].createElement("div", {
1233
+ "class": "col-lg-12 p-0 d-flex justift-content-start"
1234
+ }, /*#__PURE__*/React__default["default"].createElement("p", {
1235
+ "class": "m-0 p-0"
1236
+ }, /*#__PURE__*/React__default["default"].createElement("span", {
1237
+ style: {
1238
+ fontSize: sectionproperties.defaultPriceFontSize + 'px',
1239
+ fontWeight: sectionproperties.defaultPriceFontWeight,
1240
+ color: sectionproperties.defaultPriceColor
1241
+ }
1242
+ }, langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', ' ', fetchProductInfoQueryContext.data.data.productinfo.hassale == 0 ? getprice_discountpriceprops('defaultprice', 0, variantindexcompleted) : getprice_discountpriceprops('defaultsaleprice', 0, variantindexcompleted), ' ', langdetect == 'en' ? '' : authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar), fetchProductInfoQueryContext.data.data.productinfo.hassale == 1 && /*#__PURE__*/React__default["default"].createElement("span", {
1243
+ style: {
1244
+ fontSize: sectionproperties.defaultSalePriceFontSize + 'px',
1245
+ fontWeight: sectionproperties.defaultSalePriceFontWeight,
1246
+ color: sectionproperties.defaultSalePriceColor
1247
+ }
1248
+ }, ' ', "-", ' '), fetchProductInfoQueryContext.data.data.productinfo.hassale == 1 && /*#__PURE__*/React__default["default"].createElement("span", {
1249
+ "class": "linethrough",
1250
+ style: {
1251
+ fontSize: sectionproperties.defaultSalePriceFontSize + 'px',
1252
+ fontWeight: sectionproperties.defaultSalePriceFontWeight,
1253
+ color: sectionproperties.defaultSalePriceColor
1254
+ }
1255
+ }, langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', " ", getprice_discountpriceprops('defaultprice', 0, variantindexcompleted), ' ', langdetect == 'en' ? '' : authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar))), fetchProductInfoQueryContext.data.data.productinfo.hassale == 1 && sectionproperties.showpill == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
1256
+ "class": "col-lg-12 p-0 d-flex align-items-center justift-content-start"
1257
+ }, /*#__PURE__*/React__default["default"].createElement("p", {
1258
+ "class": "m-0 p-0 d-flex align-items-center justift-content-start"
1259
+ }, /*#__PURE__*/React__default["default"].createElement("span", {
1260
+ style: {
1261
+ fontSize: sectionproperties.counterTitleFontSize + 'px',
1262
+ color: sectionproperties.counterTitleColor,
1263
+ fontWeight: sectionproperties.counterTitleFontWeight
1264
+ }
1265
+ }, langdetect == 'en' ? sectionproperties.countertitleen : sectionproperties.countertitlear), /*#__PURE__*/React__default["default"].createElement("span", {
1266
+ "class": "ml-1 mr-1",
1267
+ style: {
1268
+ fontSize: sectionproperties.counterValueFontSize + 'px',
1269
+ color: sectionproperties.counterValueColor,
1270
+ fontWeight: sectionproperties.counterValueFontWeight
1271
+ }
1272
+ }, parseFloat(getprice_discountpriceprops('defaultprice', 0, variantindexcompleted) - getprice_discountpriceprops('defaultsaleprice', 0, variantindexcompleted)), ' ', langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar)), /*#__PURE__*/React__default["default"].createElement("div", {
1273
+ style: {
1274
+ background: sectionproperties.pillbgcolor,
1275
+ width: 'fit-content',
1276
+ borderRadius: sectionproperties.pillborderBottomLeftRadius + 'px',
1277
+ border: sectionproperties.pillBorderWidth + 'px solid ' + sectionproperties.pillBorderColor,
1278
+ direction: 'ltr'
1279
+ },
1280
+ "class": "ml-2 mr-2"
1281
+ }, /*#__PURE__*/React__default["default"].createElement("p", {
1282
+ "class": "m-0 pl-2 pr-2 py-0",
1283
+ style: {
1284
+ color: sectionproperties.pillcolor,
1285
+ fontWeight: sectionproperties.pillfontWeight,
1286
+ fontSize: '13px',
1287
+ lineHeight: '25px'
1288
+ }
1289
+ }, '-' + Math.round(10.0 * ((parseFloat(getprice_discountpriceprops('defaultprice', 0, variantindexcompleted)) - parseFloat(getprice_discountpriceprops('defaultsaleprice', 0, variantindexcompleted))) / parseFloat(getprice_discountpriceprops('defaultprice', 0, variantindexcompleted))) * 100) / 10.0 + '%'))))));
1290
+ };
1291
+
1063
1292
  function ownKeys$1_(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
1064
1293
  function _objectSpread$1_(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$1_(Object(source), !0).forEach(function (key) { _defineProperty__default["default"](target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$1_(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
1065
1294
  var Product_itemtype = function Product_itemtype(props) {
1066
- var _fetchProductInfoQuer, _fetchProductInfoQuer2, _fetchProductInfoQuer3, _fetchProductInfoQuer4, _fetchProductInfoQuer5, _fetchProductInfoQuer6, _fetchProductInfoQuer7, _fetchProductInfoQuer8, _fetchProductInfoQuer9, _fetchProductInfoQuer10, _fetchProductInfoQuer11, _fetchProductInfoQuer12, _ProductInfoObj$data, _ProductInfoObj$data$, _ProductInfoObj$data$2, _fetchProductInfoQuer13, _fetchProductInfoQuer14, _fetchProductInfoQuer15, _ProductInfoObj$data2, _ProductInfoObj$data3, _ProductInfoObj$data4;
1295
+ var _fetchProductInfoQuer, _fetchProductInfoQuer2, _fetchProductInfoQuer3, _fetchProductInfoQuer4, _fetchProductInfoQuer5, _fetchProductInfoQuer6, _fetchProductInfoQuer7, _fetchProductInfoQuer8, _fetchProductInfoQuer9, _fetchProductInfoQuer10, _fetchProductInfoQuer11, _fetchProductInfoQuer12, _ProductInfoObj$data, _ProductInfoObj$data$, _ProductInfoObj$data$2;
1067
1296
  var lang = props.actions.lang;
1068
1297
  var langdetect = props.actions.langdetect;
1069
1298
  var srcfromprops = props.actions.srcfromprops;
1070
1299
  props.actions.returnpolicyobj;
1071
1300
  var productinfo_cssstyles = props.actions.productinfo_cssstyles;
1072
1301
  var addtocartfunc = props.actions.addtocartfunc;
1073
- var selectproductoptionvalue = props.actions.selectproductoptionvalue;
1302
+ props.actions.selectproductoptionvalue;
1303
+ props.actions.clearchoosenvaluesbutkeepcurrentvalue;
1074
1304
  var productimagesarray = props.actions.productimagesarray;
1075
1305
  var fetchProductInfoQueryContext = props.actions.fetchProductInfoQueryContext;
1076
1306
  var sectionproperties = props.actions.sectionproperties;
@@ -1086,7 +1316,7 @@ var Product_itemtype = function Product_itemtype(props) {
1086
1316
  props.actions.relatedproducts;
1087
1317
  var StaticPagesLinksContext = props.actions.StaticPagesLinksContext;
1088
1318
  var getprice_discountpriceprops = props.actions.getprice_discountpriceprops;
1089
- var quantityconditionfoundobjprops = props.actions.quantityconditionfoundobjprops;
1319
+ props.actions.quantityconditionfoundobjprops;
1090
1320
  var StoreInfoprops = props.actions.StoreInfoprops;
1091
1321
  var _useState = React.useState(false),
1092
1322
  _useState2 = _slicedToArray__default["default"](_useState, 2);
@@ -1222,84 +1452,9 @@ var Product_itemtype = function Product_itemtype(props) {
1222
1452
  style: {
1223
1453
  textAlign: langdetect == 'en' ? 'left' : 'right'
1224
1454
  }
1225
- }, langdetect == 'en' ? 'Delivery Time' : 'مدة الشحن', ": ", fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 ? void 0 : (_fetchProductInfoQuer7 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer7 === void 0 ? void 0 : (_fetchProductInfoQuer8 = _fetchProductInfoQuer7.data) === null || _fetchProductInfoQuer8 === void 0 ? void 0 : (_fetchProductInfoQuer9 = _fetchProductInfoQuer8.productinfo) === null || _fetchProductInfoQuer9 === void 0 ? void 0 : _fetchProductInfoQuer9.deliverydatetext)), sectionproperties.showDefaultPricingSection == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
1226
- "class": "col-lg-12 p-0 mb-3 d-flex justift-content-start",
1227
- style: {
1228
- background: sectionproperties.reservation_bgcolor,
1229
- borderRadius: sectionproperties.reservation_borderradius + 'px'
1230
- }
1231
- }, /*#__PURE__*/React__default["default"].createElement("div", {
1232
- "class": "row m-0 w-100",
1233
- style: {
1234
- paddingLeft: sectionproperties.reservation_padding_left + 'rem',
1235
- paddingRight: sectionproperties.reservation_padding_right + 'rem',
1236
- paddingTop: sectionproperties.reservation_padding_top + 'rem',
1237
- paddingBottom: sectionproperties.reservation_padding_bottom + 'rem'
1238
- }
1239
- }, /*#__PURE__*/React__default["default"].createElement("span", {
1240
- style: {
1241
- fontSize: sectionproperties.defaultPriceFontSize + 'px',
1242
- fontWeight: sectionproperties.defaultPriceFontWeight,
1243
- color: sectionproperties.defaultPriceColor
1244
- }
1245
- }, quantityconditionfoundobjprops != null && /*#__PURE__*/React__default["default"].createElement(React__default["default"].Fragment, null, (quantityconditionfoundobjprops === null || quantityconditionfoundobjprops === void 0 ? void 0 : quantityconditionfoundobjprops.type) == 'add' ? '+' : '-', quantityconditionfoundobjprops === null || quantityconditionfoundobjprops === void 0 ? void 0 : quantityconditionfoundobjprops.value, "%")), /*#__PURE__*/React__default["default"].createElement("div", {
1246
- "class": "col-lg-12 p-0 d-flex justift-content-start"
1247
- }, /*#__PURE__*/React__default["default"].createElement("p", {
1248
- "class": "m-0 p-0"
1249
- }, /*#__PURE__*/React__default["default"].createElement("span", {
1250
- style: {
1251
- fontSize: sectionproperties.defaultPriceFontSize + 'px',
1252
- fontWeight: sectionproperties.defaultPriceFontWeight,
1253
- color: sectionproperties.defaultPriceColor
1254
- }
1255
- }, langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', ' ', fetchProductInfoQueryContext.data.data.productinfo.hassale == 0 ? getprice_discountpriceprops('defaultprice', 0, variantindexcompleted) : getprice_discountpriceprops('defaultsaleprice', 0, variantindexcompleted), ' ', langdetect == 'en' ? '' : authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar), fetchProductInfoQueryContext.data.data.productinfo.hassale == 1 && /*#__PURE__*/React__default["default"].createElement("span", {
1256
- style: {
1257
- fontSize: sectionproperties.defaultSalePriceFontSize + 'px',
1258
- fontWeight: sectionproperties.defaultSalePriceFontWeight,
1259
- color: sectionproperties.defaultSalePriceColor
1260
- }
1261
- }, ' ', "-", ' '), fetchProductInfoQueryContext.data.data.productinfo.hassale == 1 && /*#__PURE__*/React__default["default"].createElement("span", {
1262
- "class": "linethrough",
1263
- style: {
1264
- fontSize: sectionproperties.defaultSalePriceFontSize + 'px',
1265
- fontWeight: sectionproperties.defaultSalePriceFontWeight,
1266
- color: sectionproperties.defaultSalePriceColor
1267
- }
1268
- }, langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', " ", getprice_discountpriceprops('defaultprice', 0, variantindexcompleted), ' ', langdetect == 'en' ? '' : authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar))), fetchProductInfoQueryContext.data.data.productinfo.hassale == 1 && sectionproperties.showpill == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
1269
- "class": "col-lg-12 p-0 d-flex align-items-center justift-content-start"
1270
- }, /*#__PURE__*/React__default["default"].createElement("p", {
1271
- "class": "m-0 p-0 d-flex align-items-center justift-content-start"
1272
- }, /*#__PURE__*/React__default["default"].createElement("span", {
1273
- style: {
1274
- fontSize: sectionproperties.counterTitleFontSize + 'px',
1275
- color: sectionproperties.counterTitleColor,
1276
- fontWeight: sectionproperties.counterTitleFontWeight
1277
- }
1278
- }, langdetect == 'en' ? sectionproperties.countertitleen : sectionproperties.countertitlear), /*#__PURE__*/React__default["default"].createElement("span", {
1279
- "class": "ml-1 mr-1",
1280
- style: {
1281
- fontSize: sectionproperties.counterValueFontSize + 'px',
1282
- color: sectionproperties.counterValueColor,
1283
- fontWeight: sectionproperties.counterValueFontWeight
1284
- }
1285
- }, parseFloat(getprice_discountpriceprops('defaultprice', 0, variantindexcompleted) - getprice_discountpriceprops('defaultsaleprice', 0, variantindexcompleted)), ' ', langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar)), /*#__PURE__*/React__default["default"].createElement("div", {
1286
- style: {
1287
- background: sectionproperties.pillbgcolor,
1288
- width: 'fit-content',
1289
- borderRadius: sectionproperties.pillborderBottomLeftRadius + 'px',
1290
- border: sectionproperties.pillBorderWidth + 'px solid ' + sectionproperties.pillBorderColor,
1291
- direction: 'ltr'
1292
- },
1293
- "class": "ml-2 mr-2"
1294
- }, /*#__PURE__*/React__default["default"].createElement("p", {
1295
- "class": "m-0 pl-2 pr-2 py-0",
1296
- style: {
1297
- color: sectionproperties.pillcolor,
1298
- fontWeight: sectionproperties.pillfontWeight,
1299
- fontSize: '13px',
1300
- lineHeight: '25px'
1301
- }
1302
- }, '-' + Math.round(10.0 * ((parseFloat(getprice_discountpriceprops('defaultprice', 0, variantindexcompleted)) - parseFloat(getprice_discountpriceprops('defaultsaleprice', 0, variantindexcompleted))) / parseFloat(getprice_discountpriceprops('defaultprice', 0, variantindexcompleted))) * 100) / 10.0 + '%'))))), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 ? void 0 : (_fetchProductInfoQuer10 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer10 === void 0 ? void 0 : (_fetchProductInfoQuer11 = _fetchProductInfoQuer10.data) === null || _fetchProductInfoQuer11 === void 0 ? void 0 : (_fetchProductInfoQuer12 = _fetchProductInfoQuer11.productinfo) === null || _fetchProductInfoQuer12 === void 0 ? void 0 : _fetchProductInfoQuer12.hasvariants) == 1 && sectionproperties.productInformationType == 'Profile' && /*#__PURE__*/React__default["default"].createElement("div", {
1455
+ }, langdetect == 'en' ? 'Delivery Time' : 'مدة الشحن', ": ", fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 ? void 0 : (_fetchProductInfoQuer7 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer7 === void 0 ? void 0 : (_fetchProductInfoQuer8 = _fetchProductInfoQuer7.data) === null || _fetchProductInfoQuer8 === void 0 ? void 0 : (_fetchProductInfoQuer9 = _fetchProductInfoQuer8.productinfo) === null || _fetchProductInfoQuer9 === void 0 ? void 0 : _fetchProductInfoQuer9.deliverydatetext)), /*#__PURE__*/React__default["default"].createElement(ProductHeaderPricing, {
1456
+ actions: props.actions
1457
+ }), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 ? void 0 : (_fetchProductInfoQuer10 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer10 === void 0 ? void 0 : (_fetchProductInfoQuer11 = _fetchProductInfoQuer10.data) === null || _fetchProductInfoQuer11 === void 0 ? void 0 : (_fetchProductInfoQuer12 = _fetchProductInfoQuer11.productinfo) === null || _fetchProductInfoQuer12 === void 0 ? void 0 : _fetchProductInfoQuer12.hasvariants) == 1 && sectionproperties.productInformationType == 'Profile' && /*#__PURE__*/React__default["default"].createElement("div", {
1303
1458
  className: "row m-0 w-100 d-flex align-items-start"
1304
1459
  }, ProductInfoObj === null || ProductInfoObj === void 0 ? void 0 : (_ProductInfoObj$data = ProductInfoObj.data) === null || _ProductInfoObj$data === void 0 ? void 0 : (_ProductInfoObj$data$ = _ProductInfoObj$data.productinfo) === null || _ProductInfoObj$data$ === void 0 ? void 0 : (_ProductInfoObj$data$2 = _ProductInfoObj$data$.productoptions) === null || _ProductInfoObj$data$2 === void 0 ? void 0 : _ProductInfoObj$data$2.map(function (item, index) {
1305
1460
  return /*#__PURE__*/React__default["default"].createElement("div", {
@@ -1359,127 +1514,9 @@ var Product_itemtype = function Product_itemtype(props) {
1359
1514
  }
1360
1515
  }, langdetect == 'en' ? optionvaluesitem.valuename : optionvaluesitem.valuename_ar));
1361
1516
  })));
1362
- })), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 ? void 0 : (_fetchProductInfoQuer13 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer13 === void 0 ? void 0 : (_fetchProductInfoQuer14 = _fetchProductInfoQuer13.data) === null || _fetchProductInfoQuer14 === void 0 ? void 0 : (_fetchProductInfoQuer15 = _fetchProductInfoQuer14.productinfo) === null || _fetchProductInfoQuer15 === void 0 ? void 0 : _fetchProductInfoQuer15.hasvariants) == 1 && sectionproperties.productInformationType == 'Product/Service Information' && /*#__PURE__*/React__default["default"].createElement("div", {
1363
- className: "row m-0 w-100 d-flex align-items-start"
1364
- }, ProductInfoObj === null || ProductInfoObj === void 0 ? void 0 : (_ProductInfoObj$data2 = ProductInfoObj.data) === null || _ProductInfoObj$data2 === void 0 ? void 0 : (_ProductInfoObj$data3 = _ProductInfoObj$data2.productinfo) === null || _ProductInfoObj$data3 === void 0 ? void 0 : (_ProductInfoObj$data4 = _ProductInfoObj$data3.productoptions) === null || _ProductInfoObj$data4 === void 0 ? void 0 : _ProductInfoObj$data4.map(function (item, index) {
1365
- return /*#__PURE__*/React__default["default"].createElement("div", {
1366
- className: "col-lg-12 p-0 mb-3 d-flex justify-content-start"
1367
- }, /*#__PURE__*/React__default["default"].createElement("div", {
1368
- className: "row m-0 w-100 d-flex align-items-start"
1369
- }, /*#__PURE__*/React__default["default"].createElement("div", {
1370
- className: "col-lg-12 col-md-12 p-0 d-flex"
1371
- }, /*#__PURE__*/React__default["default"].createElement("p", {
1372
- className: ' m-0 p-0 wordbreak',
1373
- style: {
1374
- color: sectionproperties.varianttitle_color,
1375
- fontWeight: sectionproperties.varianttitle_fontweight,
1376
- textTransform: sectionproperties.varianttitle_texttransform,
1377
- fontSize: sectionproperties.varianttitle_fontSize + 'px'
1378
- }
1379
- }, lang.select, " ", langdetect == 'en' ? item.optionname : item.optionname_ar, ":")), /*#__PURE__*/React__default["default"].createElement("div", {
1380
- className: "col-lg-12 col-md-12 d-flex pb-md-3 justify-content-start align-items-start scrollhorixontalcontainer pt-3 pb-3",
1381
- style: {
1382
- paddingTop: sectionproperties.showRemovebutton == 'Show' ? '1rem' : 0
1383
- }
1384
- }, item.optionvalues.map(function (optionvaluesitem, optionvaluesindex) {
1385
- var isoptionvalueselected = 0;
1386
- if (optionvaluesitem.isselected == 1) {
1387
- isoptionvalueselected = 1;
1388
- } else {
1389
- isoptionvalueselected = 0;
1390
- }
1391
- var isoptionvaluedenabled = 0;
1392
- if (optionvaluesitem.isenabled == 1) {
1393
- isoptionvaluedenabled = 1;
1394
- } else {
1395
- isoptionvaluedenabled = 0;
1396
- }
1397
- if (item.optionname == 'color' || item.optionname == 'Color') {
1398
- return /*#__PURE__*/React__default["default"].createElement("div", {
1399
- className: productinfostyles.color_container + ' mr-2 variabttcontainer ' + "".concat(isoptionvalueselected == 1 ? productinfostyles.color_container_active : ''),
1400
- onClick: function onClick() {
1401
- if (optionvaluesitem.isenabled == 1) {
1402
- selectproductoptionvalue(index, optionvaluesitem, optionvaluesindex);
1403
- }
1404
- },
1405
- style: {
1406
- background: optionvaluesitem.valuename,
1407
- opacity: isoptionvaluedenabled == 1 ? 1 : 0.2,
1408
- cursor: isoptionvaluedenabled == 1 ? 'pointer' : 'not-allowed'
1409
- }
1410
- });
1411
- } else if (item.optionname == 'size' || item.optionname == 'Size') {
1412
- return /*#__PURE__*/React__default["default"].createElement("div", {
1413
- className: "".concat(productinfostyles.variant_container, " ").concat(productinfostyles.size_variant_container) + ' mr-2 variabttcontainer allcentered ' + "".concat(isoptionvalueselected == 1 ? productinfostyles.variant_container_active : ''),
1414
- onClick: function onClick() {
1415
- if (optionvaluesitem.isenabled == 1) {
1416
- selectproductoptionvalue(index, optionvaluesitem, optionvaluesindex);
1417
- }
1418
- },
1419
- style: {
1420
- cursor: isoptionvaluedenabled == 1 ? 'pointer' : 'not-allowed',
1421
- backgroundColor: isoptionvalueselected == 1 ? 'green' : isoptionvaluedenabled == 1 ? sectionproperties.variantcontainer_bgcolor : 'grey',
1422
- minWidth: sectionproperties.variantcontainer_minwidth + 'px',
1423
- height: sectionproperties.variantcontainer_height + 'px',
1424
- borderRadius: sectionproperties.variantcontainer_borderBottomLeftRadius + 'px',
1425
- position: 'relative'
1426
- }
1427
- }, isoptionvalueselected == 1 && sectionproperties.showRemovebutton == 'Show' && /*#__PURE__*/React__default["default"].createElement("p", {
1428
- "class": "m-0 p-0 bg-danger bgdanger-hover",
1429
- style: {
1430
- position: 'absolute',
1431
- top: '-15px',
1432
- right: '-5px',
1433
- width: '3vh',
1434
- height: '3vh',
1435
- borderRadius: 100
1436
- }
1437
- }, /*#__PURE__*/React__default["default"].createElement("i", {
1438
- "class": "h-100 allcentered"
1439
- }, /*#__PURE__*/React__default["default"].createElement(IoMdClose.IoMdClose, null))), /*#__PURE__*/React__default["default"].createElement("p", {
1440
- className: 'font-12 wordbreak m-0 p-0 d-flex align-items-center justify-content-center',
1441
- style: {
1442
- color: sectionproperties.variantcontainer_color,
1443
- fontSize: sectionproperties.variantcontainer_fontSize + 'px'
1444
- }
1445
- }, langdetect == 'en' ? optionvaluesitem.valuename : optionvaluesitem.valuename_ar));
1446
- } else {
1447
- return /*#__PURE__*/React__default["default"].createElement("div", {
1448
- className: productinfostyles.variant_container + ' mr-2 variabttcontainer allcentered pl-2 pr-2 ' + "".concat(isoptionvalueselected == 1 ? productinfostyles.variant_container_active : ''),
1449
- onClick: function onClick() {
1450
- if (optionvaluesitem.isenabled == 1) {
1451
- selectproductoptionvalue(index, optionvaluesitem, optionvaluesindex);
1452
- }
1453
- },
1454
- style: {
1455
- backgroundColor: isoptionvalueselected == 1 ? 'green' : isoptionvaluedenabled == 1 ? sectionproperties.variantcontainer_bgcolor : 'grey',
1456
- width: 'auto',
1457
- height: sectionproperties.variantcontainer_height + 'px',
1458
- borderRadius: sectionproperties.variantcontainer_borderBottomLeftRadius + 'px',
1459
- position: 'relative'
1460
- }
1461
- }, isoptionvalueselected == 1 && sectionproperties.showRemovebutton == 'Show' && /*#__PURE__*/React__default["default"].createElement("p", {
1462
- "class": "m-0 p-0 bg-danger bgdanger-hover",
1463
- style: {
1464
- position: 'absolute',
1465
- top: '-15px',
1466
- right: '-5px',
1467
- width: '3vh',
1468
- height: '3vh',
1469
- borderRadius: 100
1470
- }
1471
- }, /*#__PURE__*/React__default["default"].createElement("i", {
1472
- "class": "h-100 allcentered"
1473
- }, /*#__PURE__*/React__default["default"].createElement(IoMdClose.IoMdClose, null))), /*#__PURE__*/React__default["default"].createElement("p", {
1474
- className: 'm-0 p-0 allcentered',
1475
- style: {
1476
- color: sectionproperties.variantcontainer_color,
1477
- fontSize: sectionproperties.variantcontainer_fontSize + 'px'
1478
- }
1479
- }, langdetect == 'en' ? optionvaluesitem.valuename : optionvaluesitem.valuename_ar));
1480
- }
1481
- }))));
1482
- })), sectionproperties.quantitybtn_show == 'Show' && sectionproperties.cartBtnShow == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
1517
+ })), /*#__PURE__*/React__default["default"].createElement(Variantoptions, {
1518
+ actions: props.actions
1519
+ }), sectionproperties.quantitybtn_show == 'Show' && sectionproperties.cartBtnShow == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
1483
1520
  className: "col-lg-12 p-0 mb-3"
1484
1521
  }, /*#__PURE__*/React__default["default"].createElement("hr", {
1485
1522
  className: "mb-0 mt-2"
@@ -2336,7 +2373,8 @@ var Service_itemtype = function Service_itemtype(props) {
2336
2373
  var GeneralAPIMutationContext = props.actions.GeneralAPIMutationContext;
2337
2374
  var NotificationManager = props.actions.NotificationManager;
2338
2375
  var getprice_discountpriceprops = props.actions.getprice_discountpriceprops;
2339
- var quantityconditionfoundobjprops = props.actions.quantityconditionfoundobjprops;
2376
+ props.actions.quantityconditionfoundobjprops;
2377
+ props.actions.variantindexcompleted;
2340
2378
  var StoreInfoprops = props.actions.StoreInfoprops;
2341
2379
  var _useState = React.useState(''),
2342
2380
  _useState2 = _slicedToArray__default["default"](_useState, 2),
@@ -2536,84 +2574,9 @@ var Service_itemtype = function Service_itemtype(props) {
2536
2574
  style: {
2537
2575
  textAlign: langdetect == 'en' ? 'left' : 'right'
2538
2576
  }
2539
- }, fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 ? void 0 : (_fetchProductInfoQuer7 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer7 === void 0 ? void 0 : (_fetchProductInfoQuer8 = _fetchProductInfoQuer7.data) === null || _fetchProductInfoQuer8 === void 0 ? void 0 : (_fetchProductInfoQuer9 = _fetchProductInfoQuer8.productinfo) === null || _fetchProductInfoQuer9 === void 0 ? void 0 : _fetchProductInfoQuer9.deliverydatetext)), sectionproperties.showDefaultPricingSection == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
2540
- "class": "col-lg-12 p-0 mb-3 d-flex justift-content-start",
2541
- style: {
2542
- background: sectionproperties.reservation_bgcolor,
2543
- borderRadius: sectionproperties.reservation_borderradius + 'px'
2544
- }
2545
- }, /*#__PURE__*/React__default["default"].createElement("div", {
2546
- "class": "row m-0 w-100",
2547
- style: {
2548
- paddingLeft: sectionproperties.reservation_padding_left + 'rem',
2549
- paddingRight: sectionproperties.reservation_padding_right + 'rem',
2550
- paddingTop: sectionproperties.reservation_padding_top + 'rem',
2551
- paddingBottom: sectionproperties.reservation_padding_bottom + 'rem'
2552
- }
2553
- }, /*#__PURE__*/React__default["default"].createElement("span", {
2554
- style: {
2555
- fontSize: sectionproperties.defaultPriceFontSize + 'px',
2556
- fontWeight: sectionproperties.defaultPriceFontWeight,
2557
- color: sectionproperties.defaultPriceColor
2558
- }
2559
- }, quantityconditionfoundobjprops != null && /*#__PURE__*/React__default["default"].createElement(React__default["default"].Fragment, null, (quantityconditionfoundobjprops === null || quantityconditionfoundobjprops === void 0 ? void 0 : quantityconditionfoundobjprops.type) == 'add' ? '+' : '-', quantityconditionfoundobjprops === null || quantityconditionfoundobjprops === void 0 ? void 0 : quantityconditionfoundobjprops.value, "%")), /*#__PURE__*/React__default["default"].createElement("div", {
2560
- "class": "col-lg-12 p-0 d-flex justift-content-start"
2561
- }, /*#__PURE__*/React__default["default"].createElement("p", {
2562
- "class": "m-0 p-0"
2563
- }, /*#__PURE__*/React__default["default"].createElement("span", {
2564
- style: {
2565
- fontSize: sectionproperties.defaultPriceFontSize + 'px',
2566
- fontWeight: sectionproperties.defaultPriceFontWeight,
2567
- color: sectionproperties.defaultPriceColor
2568
- }
2569
- }, langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', ' ', fetchProductInfoQueryContext.data.data.productinfo.hassale == 0 ? getprice_discountpriceprops('defaultprice', 0) : getprice_discountpriceprops('defaultsaleprice', 0), ' ', langdetect == 'en' ? '' : authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar), fetchProductInfoQueryContext.data.data.productinfo.hassale == 1 && /*#__PURE__*/React__default["default"].createElement("span", {
2570
- style: {
2571
- fontSize: sectionproperties.defaultSalePriceFontSize + 'px',
2572
- fontWeight: sectionproperties.defaultSalePriceFontWeight,
2573
- color: sectionproperties.defaultSalePriceColor
2574
- }
2575
- }, ' ', "-", ' '), fetchProductInfoQueryContext.data.data.productinfo.hassale == 1 && /*#__PURE__*/React__default["default"].createElement("span", {
2576
- "class": "linethrough",
2577
- style: {
2578
- fontSize: sectionproperties.defaultSalePriceFontSize + 'px',
2579
- fontWeight: sectionproperties.defaultSalePriceFontWeight,
2580
- color: sectionproperties.defaultSalePriceColor
2581
- }
2582
- }, langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', " ", getprice_discountpriceprops('defaultprice', 0), ' ', langdetect == 'en' ? '' : authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar))), fetchProductInfoQueryContext.data.data.productinfo.hassale == 1 && sectionproperties.showpill == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
2583
- "class": "col-lg-12 p-0 d-flex align-items-center justift-content-start"
2584
- }, /*#__PURE__*/React__default["default"].createElement("p", {
2585
- "class": "m-0 p-0 d-flex align-items-center justift-content-start"
2586
- }, /*#__PURE__*/React__default["default"].createElement("span", {
2587
- style: {
2588
- fontSize: sectionproperties.counterTitleFontSize + 'px',
2589
- color: sectionproperties.counterTitleColor,
2590
- fontWeight: sectionproperties.counterTitleFontWeight
2591
- }
2592
- }, langdetect == 'en' ? sectionproperties.countertitleen : sectionproperties.countertitlear), /*#__PURE__*/React__default["default"].createElement("span", {
2593
- "class": "ml-1 mr-1",
2594
- style: {
2595
- fontSize: sectionproperties.counterValueFontSize + 'px',
2596
- color: sectionproperties.counterValueColor,
2597
- fontWeight: sectionproperties.counterValueFontWeight
2598
- }
2599
- }, parseFloat(getprice_discountpriceprops('defaultprice', 0) - getprice_discountpriceprops('defaultsaleprice', 0)), ' ', langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar)), /*#__PURE__*/React__default["default"].createElement("div", {
2600
- style: {
2601
- background: sectionproperties.pillbgcolor,
2602
- width: 'fit-content',
2603
- borderRadius: sectionproperties.pillborderBottomLeftRadius + 'px',
2604
- border: sectionproperties.pillBorderWidth + 'px solid ' + sectionproperties.pillBorderColor,
2605
- direction: 'ltr'
2606
- },
2607
- "class": "ml-2 mr-2"
2608
- }, /*#__PURE__*/React__default["default"].createElement("p", {
2609
- "class": "m-0 pl-2 pr-2 py-0",
2610
- style: {
2611
- color: sectionproperties.pillcolor,
2612
- fontWeight: sectionproperties.pillfontWeight,
2613
- fontSize: '13px',
2614
- lineHeight: '25px'
2615
- }
2616
- }, '-' + Math.round(10.0 * ((parseFloat(getprice_discountpriceprops('defaultprice', 0)) - parseFloat(getprice_discountpriceprops('defaultsaleprice', 0))) / parseFloat(getprice_discountpriceprops('defaultprice', 0))) * 100) / 10.0 + '%'))))), /*#__PURE__*/React__default["default"].createElement("div", {
2577
+ }, fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 ? void 0 : (_fetchProductInfoQuer7 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer7 === void 0 ? void 0 : (_fetchProductInfoQuer8 = _fetchProductInfoQuer7.data) === null || _fetchProductInfoQuer8 === void 0 ? void 0 : (_fetchProductInfoQuer9 = _fetchProductInfoQuer8.productinfo) === null || _fetchProductInfoQuer9 === void 0 ? void 0 : _fetchProductInfoQuer9.deliverydatetext)), /*#__PURE__*/React__default["default"].createElement(ProductHeaderPricing, {
2578
+ actions: props.actions
2579
+ }), /*#__PURE__*/React__default["default"].createElement("div", {
2617
2580
  "class": "col-lg-12 d-flex align-items-center justify-content-start p-0 flex-column"
2618
2581
  }, /*#__PURE__*/React__default["default"].createElement("p", {
2619
2582
  "class": "m-0 p-0 mb-2 w-100",
@@ -2637,7 +2600,9 @@ var Service_itemtype = function Service_itemtype(props) {
2637
2600
  "class": langdetect == 'en' ? productinfo_cssstyles.before + ' before ' : productinfo_cssstyles.before + ' beforear '
2638
2601
  })), /*#__PURE__*/React__default["default"].createElement("div", {
2639
2602
  "class": "col-lg-12 p-0"
2640
- }, /*#__PURE__*/React__default["default"].createElement(Serviceinfotabs, {
2603
+ }, /*#__PURE__*/React__default["default"].createElement(Variantoptions, {
2604
+ actions: props.actions
2605
+ }), /*#__PURE__*/React__default["default"].createElement(Serviceinfotabs, {
2641
2606
  actions: {
2642
2607
  fetchProductInfoQueryContext: fetchProductInfoQueryContext,
2643
2608
  sectionproperties: sectionproperties,
@@ -2893,8 +2858,24 @@ var Productinfo = function Productinfo(props) {
2893
2858
  }
2894
2859
  }
2895
2860
  }, [fetchProductInfoQueryContext.isSuccess, fetchProductInfoQueryContext.data]);
2896
- var selectproductoptionvalue = function selectproductoptionvalue(optionindex, optionvaluesitem, optionvaluesindex) {
2861
+ var clearchoosenvaluesbutkeepcurrentvalue = function clearchoosenvaluesbutkeepcurrentvalue(optionindex, optionvaluesitem, optionvaluesindex) {
2862
+ var _productarr$data, _productarr$data$prod, _productarr$data$prod2;
2897
2863
  var productarr = ProductInfoObj;
2864
+ productarr === null || productarr === void 0 ? void 0 : (_productarr$data = productarr.data) === null || _productarr$data === void 0 ? void 0 : (_productarr$data$prod = _productarr$data.productinfo) === null || _productarr$data$prod === void 0 ? void 0 : (_productarr$data$prod2 = _productarr$data$prod.productoptions) === null || _productarr$data$prod2 === void 0 ? void 0 : _productarr$data$prod2.forEach(function (item, index) {
2865
+ var _item$optionvalues;
2866
+ item.isselected = 0;
2867
+ item === null || item === void 0 ? void 0 : (_item$optionvalues = item.optionvalues) === null || _item$optionvalues === void 0 ? void 0 : _item$optionvalues.forEach(function (valueitem, valueindex) {
2868
+ valueitem.isselected = 0;
2869
+ });
2870
+ });
2871
+ selectproductoptionvalue(optionindex, optionvaluesitem, optionvaluesindex, productarr);
2872
+ };
2873
+ var selectproductoptionvalue = function selectproductoptionvalue(optionindex, optionvaluesitem, optionvaluesindex, productarrtobepassed) {
2874
+ if (productarrtobepassed == undefined || productarrtobepassed == null) {
2875
+ var productarr = ProductInfoObj;
2876
+ } else {
2877
+ var productarr = productarrtobepassed;
2878
+ }
2898
2879
  var isselected = productarr.data.productinfo.productoptions[optionindex].optionvalues[optionvaluesindex].isselected;
2899
2880
  if (isselected == 1) {
2900
2881
  productarr.data.productinfo.productoptions[optionindex].optionvalues[optionvaluesindex].isselected = 0;
@@ -2913,8 +2894,8 @@ var Productinfo = function Productinfo(props) {
2913
2894
  var variantchecker = function variantchecker() {
2914
2895
  var productarr = ProductInfoObj;
2915
2896
  if (Object.keys(productarr).length != 0) {
2916
- var _productarr$data, _productarr$data$prod;
2917
- if ((productarr === null || productarr === void 0 ? void 0 : (_productarr$data = productarr.data) === null || _productarr$data === void 0 ? void 0 : (_productarr$data$prod = _productarr$data.productinfo) === null || _productarr$data$prod === void 0 ? void 0 : _productarr$data$prod.hasvariants) == 1) {
2897
+ var _productarr$data2, _productarr$data2$pro;
2898
+ if ((productarr === null || productarr === void 0 ? void 0 : (_productarr$data2 = productarr.data) === null || _productarr$data2 === void 0 ? void 0 : (_productarr$data2$pro = _productarr$data2.productinfo) === null || _productarr$data2$pro === void 0 ? void 0 : _productarr$data2$pro.hasvariants) == 1) {
2918
2899
  var selectedoptionsvalues = [];
2919
2900
  var variantsaccessible = [];
2920
2901
  productarr.data.productinfo.productoptions.forEach(function (productoptionsitem, productoptionsindex) {
@@ -3618,14 +3599,14 @@ var Productinfo = function Productinfo(props) {
3618
3599
  langdetect: langdetect,
3619
3600
  lang: lang,
3620
3601
  srcfromprops: props.srcfromprops
3621
- }, _defineProperty__default["default"](_ref, "returnpolicyobj", returnpolicyobj), _defineProperty__default["default"](_ref, "productinfo_cssstyles", productinfo_cssstyles), _defineProperty__default["default"](_ref, "addtocartfunc", addtocartfunc), _defineProperty__default["default"](_ref, "selectproductoptionvalue", selectproductoptionvalue), _defineProperty__default["default"](_ref, "productimagesarray", productimagesarray), _defineProperty__default["default"](_ref, "fetchProductInfoQueryContext", fetchProductInfoQueryContext), _defineProperty__default["default"](_ref, "ProductInfoObj", ProductInfoObj), _defineProperty__default["default"](_ref, "sectionproperties", sectionproperties), _defineProperty__default["default"](_ref, "addtocardpayloadobj", addtocardpayloadobj), _defineProperty__default["default"](_ref, "setaddtocardpayloadobj", setaddtocardpayloadobj), _defineProperty__default["default"](_ref, "routingcountext", routingcountext), _defineProperty__default["default"](_ref, "AddtoCartMutationContext", AddtoCartMutationContext), _defineProperty__default["default"](_ref, "authdetailsContext", authdetailsContext), _defineProperty__default["default"](_ref, "addtofavoritescontext", addtofavoritescontext), _defineProperty__default["default"](_ref, "variantindexcompleted", variantindexcompleted), _defineProperty__default["default"](_ref, "StaticPagesLinksContext", StaticPagesLinksContext), _defineProperty__default["default"](_ref, "NotificationManager", NotificationManager), _defineProperty__default["default"](_ref, "quantityconditionfoundobjprops", quantityconditionfoundobj), _defineProperty__default["default"](_ref, "relatedproducts", relatedproducts), _defineProperty__default["default"](_ref, "getprice_discountpriceprops", getprice_discountpriceprops), _defineProperty__default["default"](_ref, "StoreInfoprops", StoreInfo), _ref)
3602
+ }, _defineProperty__default["default"](_ref, "returnpolicyobj", returnpolicyobj), _defineProperty__default["default"](_ref, "productinfo_cssstyles", productinfo_cssstyles), _defineProperty__default["default"](_ref, "addtocartfunc", addtocartfunc), _defineProperty__default["default"](_ref, "selectproductoptionvalue", selectproductoptionvalue), _defineProperty__default["default"](_ref, "clearchoosenvaluesbutkeepcurrentvalue", clearchoosenvaluesbutkeepcurrentvalue), _defineProperty__default["default"](_ref, "productimagesarray", productimagesarray), _defineProperty__default["default"](_ref, "fetchProductInfoQueryContext", fetchProductInfoQueryContext), _defineProperty__default["default"](_ref, "ProductInfoObj", ProductInfoObj), _defineProperty__default["default"](_ref, "sectionproperties", sectionproperties), _defineProperty__default["default"](_ref, "addtocardpayloadobj", addtocardpayloadobj), _defineProperty__default["default"](_ref, "setaddtocardpayloadobj", setaddtocardpayloadobj), _defineProperty__default["default"](_ref, "routingcountext", routingcountext), _defineProperty__default["default"](_ref, "AddtoCartMutationContext", AddtoCartMutationContext), _defineProperty__default["default"](_ref, "authdetailsContext", authdetailsContext), _defineProperty__default["default"](_ref, "addtofavoritescontext", addtofavoritescontext), _defineProperty__default["default"](_ref, "variantindexcompleted", variantindexcompleted), _defineProperty__default["default"](_ref, "StaticPagesLinksContext", StaticPagesLinksContext), _defineProperty__default["default"](_ref, "NotificationManager", NotificationManager), _defineProperty__default["default"](_ref, "quantityconditionfoundobjprops", quantityconditionfoundobj), _defineProperty__default["default"](_ref, "relatedproducts", relatedproducts), _defineProperty__default["default"](_ref, "getprice_discountpriceprops", getprice_discountpriceprops), _defineProperty__default["default"](_ref, "StoreInfoprops", StoreInfo), _ref)
3622
3603
  }), fetchProductInfoQueryContext.data.data.productinfo.item_type == 'service' && /*#__PURE__*/React__default["default"].createElement(Service_itemtype, {
3623
3604
  actions: (_ref2 = {
3624
3605
  returnpolicyobj: returnpolicyobj,
3625
3606
  langdetect: langdetect,
3626
3607
  lang: lang,
3627
3608
  srcfromprops: props.srcfromprops
3628
- }, _defineProperty__default["default"](_ref2, "returnpolicyobj", returnpolicyobj), _defineProperty__default["default"](_ref2, "productinfo_cssstyles", productinfo_cssstyles), _defineProperty__default["default"](_ref2, "addtocartfunc", addtocartfunc), _defineProperty__default["default"](_ref2, "selectproductoptionvalue", selectproductoptionvalue), _defineProperty__default["default"](_ref2, "productimagesarray", productimagesarray), _defineProperty__default["default"](_ref2, "fetchProductInfoQueryContext", fetchProductInfoQueryContext), _defineProperty__default["default"](_ref2, "sectionproperties", sectionproperties), _defineProperty__default["default"](_ref2, "addtocardpayloadobj", addtocardpayloadobj), _defineProperty__default["default"](_ref2, "setaddtocardpayloadobj", setaddtocardpayloadobj), _defineProperty__default["default"](_ref2, "routingcountext", routingcountext), _defineProperty__default["default"](_ref2, "AddtoCartMutationContext", AddtoCartMutationContext), _defineProperty__default["default"](_ref2, "authdetailsContext", authdetailsContext), _defineProperty__default["default"](_ref2, "addtofavoritescontext", addtofavoritescontext), _defineProperty__default["default"](_ref2, "StaticPagesLinksContext", StaticPagesLinksContext), _defineProperty__default["default"](_ref2, "variantindexcompleted", variantindexcompleted), _defineProperty__default["default"](_ref2, "GeneralAPIMutationContext", GeneralAPIMutationContext), _defineProperty__default["default"](_ref2, "NotificationManager", NotificationManager), _defineProperty__default["default"](_ref2, "getprice_discountpriceprops", getprice_discountpriceprops), _defineProperty__default["default"](_ref2, "quantityconditionfoundobjprops", quantityconditionfoundobj), _defineProperty__default["default"](_ref2, "relatedproducts", relatedproducts), _defineProperty__default["default"](_ref2, "getQuantityCondition", getQuantityCondition), _defineProperty__default["default"](_ref2, "StoreInfoprops", StoreInfo), _ref2)
3609
+ }, _defineProperty__default["default"](_ref2, "returnpolicyobj", returnpolicyobj), _defineProperty__default["default"](_ref2, "productinfo_cssstyles", productinfo_cssstyles), _defineProperty__default["default"](_ref2, "addtocartfunc", addtocartfunc), _defineProperty__default["default"](_ref2, "selectproductoptionvalue", selectproductoptionvalue), _defineProperty__default["default"](_ref2, "clearchoosenvaluesbutkeepcurrentvalue", clearchoosenvaluesbutkeepcurrentvalue), _defineProperty__default["default"](_ref2, "productimagesarray", productimagesarray), _defineProperty__default["default"](_ref2, "fetchProductInfoQueryContext", fetchProductInfoQueryContext), _defineProperty__default["default"](_ref2, "sectionproperties", sectionproperties), _defineProperty__default["default"](_ref2, "addtocardpayloadobj", addtocardpayloadobj), _defineProperty__default["default"](_ref2, "ProductInfoObj", ProductInfoObj), _defineProperty__default["default"](_ref2, "setaddtocardpayloadobj", setaddtocardpayloadobj), _defineProperty__default["default"](_ref2, "routingcountext", routingcountext), _defineProperty__default["default"](_ref2, "AddtoCartMutationContext", AddtoCartMutationContext), _defineProperty__default["default"](_ref2, "authdetailsContext", authdetailsContext), _defineProperty__default["default"](_ref2, "addtofavoritescontext", addtofavoritescontext), _defineProperty__default["default"](_ref2, "StaticPagesLinksContext", StaticPagesLinksContext), _defineProperty__default["default"](_ref2, "variantindexcompleted", variantindexcompleted), _defineProperty__default["default"](_ref2, "GeneralAPIMutationContext", GeneralAPIMutationContext), _defineProperty__default["default"](_ref2, "NotificationManager", NotificationManager), _defineProperty__default["default"](_ref2, "getprice_discountpriceprops", getprice_discountpriceprops), _defineProperty__default["default"](_ref2, "quantityconditionfoundobjprops", quantityconditionfoundobj), _defineProperty__default["default"](_ref2, "relatedproducts", relatedproducts), _defineProperty__default["default"](_ref2, "getQuantityCondition", getQuantityCondition), _defineProperty__default["default"](_ref2, "StoreInfoprops", StoreInfo), _ref2)
3629
3610
  }), /*#__PURE__*/React__default["default"].createElement("div", {
3630
3611
  className: sectionproperties.card_marginLeft != 0 ? ' col-lg-12 p-0 pl-lg-3 pr-lg-3 pl-md-4 pr-md-4 pl-sm-1 pr-sm-1 ' : ' col-lg-12 p-sm-0 ',
3631
3612
  style: {
@@ -10935,7 +10916,7 @@ var CardsSection = function CardsSection(props) {
10935
10916
  return /*#__PURE__*/React__default["default"].createElement("div", {
10936
10917
  className: section_cssstyles.cards_sections + ' row ml-0 mr-0 w-100 p-md-0 px-1025-1 '
10937
10918
  }, sectionproperties.view_as_slider_vertical == 'Slider (Horizontal)' && /*#__PURE__*/React__default["default"].createElement("div", {
10938
- "class": langdetect == 'en' ? 'col-lg-12 p-0 pl-sm-2' : 'col-lg-12 p-0 pr-sm-2'
10919
+ "class": langdetect == 'en' ? sectionproperties.paddingLeft != 0 ? 'col-lg-12 p-0 pl-sm-2' : 'col-lg-12 p-0 ' : sectionproperties.paddingRight != 0 ? 'col-lg-12 p-0 pr-sm-2' : 'col-lg-12 p-0 '
10939
10920
  }, /*#__PURE__*/React__default["default"].createElement(reactHorizontalScrollingMenu.ScrollMenu, {
10940
10921
  transitionBehavior: 'auto',
10941
10922
  wrapperClassName: '',
@@ -26484,7 +26465,7 @@ var googleplay = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAjsAAAC8CAYAAACe
26484
26465
  function ownKeys$1o(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
26485
26466
  function _objectSpread$1o(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$1o(Object(source), !0).forEach(function (key) { _defineProperty__default["default"](target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$1o(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
26486
26467
  var Allinonefooter = function Allinonefooter(props) {
26487
- var _logoarrayofobjects$, _logoarrayofobjects$2, _authdetailsContext$i6, _authdetailsContext$i7, _templatepropcontext$;
26468
+ var _logoarrayofobjects$, _logoarrayofobjects$2, _authdetailsContext$i6, _authdetailsContext$i7, _templatepropcontext$, _authdetailsContext$i10, _authdetailsContext$i13, _authdetailsContext$i16;
26488
26469
  var _useState = React.useState(''),
26489
26470
  _useState2 = _slicedToArray__default["default"](_useState, 2),
26490
26471
  sectionproperties = _useState2[0],
@@ -26877,35 +26858,35 @@ var Allinonefooter = function Allinonefooter(props) {
26877
26858
  }
26878
26859
  }, langdetect == 'en' ? sectionproperties.otherinfotitle2en : sectionproperties.otherinfotitle2ar)), /*#__PURE__*/React__default["default"].createElement("div", {
26879
26860
  "class": "col-lg-12 p-0 d-flex align-items-center justify-content-start"
26880
- }, sectionproperties.fbbtn_show == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
26861
+ }, sectionproperties.fbbtn_show == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 ? void 0 : (_authdetailsContext$i10 = authdetailsContext.instinfo) === null || _authdetailsContext$i10 === void 0 ? void 0 : _authdetailsContext$i10.facebooklink) != null && /*#__PURE__*/React__default["default"].createElement("div", {
26881
26862
  "class": "".concat(footerStyles.facebook_btn) + ' d-flex align-items-center justify-content-center ',
26882
26863
  onClick: function onClick() {
26883
- var _authdetailsContext$i10;
26884
- if ((authdetailsContext === null || authdetailsContext === void 0 ? void 0 : (_authdetailsContext$i10 = authdetailsContext.instinfo) === null || _authdetailsContext$i10 === void 0 ? void 0 : _authdetailsContext$i10.facebooklink) != null) {
26885
- var _authdetailsContext$i11;
26886
- window.open(authdetailsContext === null || authdetailsContext === void 0 ? void 0 : (_authdetailsContext$i11 = authdetailsContext.instinfo) === null || _authdetailsContext$i11 === void 0 ? void 0 : _authdetailsContext$i11.facebooklink, '_blank');
26864
+ var _authdetailsContext$i11;
26865
+ if ((authdetailsContext === null || authdetailsContext === void 0 ? void 0 : (_authdetailsContext$i11 = authdetailsContext.instinfo) === null || _authdetailsContext$i11 === void 0 ? void 0 : _authdetailsContext$i11.facebooklink) != null) {
26866
+ var _authdetailsContext$i12;
26867
+ window.open(authdetailsContext === null || authdetailsContext === void 0 ? void 0 : (_authdetailsContext$i12 = authdetailsContext.instinfo) === null || _authdetailsContext$i12 === void 0 ? void 0 : _authdetailsContext$i12.facebooklink, '_blank');
26887
26868
  }
26888
26869
  }
26889
26870
  }, /*#__PURE__*/React__default["default"].createElement(FaFacebookF.FaFacebookF, {
26890
26871
  size: sectionproperties.facebkbtnniconfontsize
26891
- })), sectionproperties.instbtn_show == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
26872
+ })), sectionproperties.instbtn_show == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 ? void 0 : (_authdetailsContext$i13 = authdetailsContext.instinfo) === null || _authdetailsContext$i13 === void 0 ? void 0 : _authdetailsContext$i13.instagramlink) != null && /*#__PURE__*/React__default["default"].createElement("div", {
26892
26873
  "class": "".concat(footerStyles.instgram_btn) + ' d-flex align-items-center justify-content-center ml-3 mr-3 ',
26893
26874
  onClick: function onClick() {
26894
- var _authdetailsContext$i12;
26895
- if ((authdetailsContext === null || authdetailsContext === void 0 ? void 0 : (_authdetailsContext$i12 = authdetailsContext.instinfo) === null || _authdetailsContext$i12 === void 0 ? void 0 : _authdetailsContext$i12.instagramlink) != null) {
26896
- var _authdetailsContext$i13;
26897
- window.open(authdetailsContext === null || authdetailsContext === void 0 ? void 0 : (_authdetailsContext$i13 = authdetailsContext.instinfo) === null || _authdetailsContext$i13 === void 0 ? void 0 : _authdetailsContext$i13.instagramlink, '_blank');
26875
+ var _authdetailsContext$i14;
26876
+ if ((authdetailsContext === null || authdetailsContext === void 0 ? void 0 : (_authdetailsContext$i14 = authdetailsContext.instinfo) === null || _authdetailsContext$i14 === void 0 ? void 0 : _authdetailsContext$i14.instagramlink) != null) {
26877
+ var _authdetailsContext$i15;
26878
+ window.open(authdetailsContext === null || authdetailsContext === void 0 ? void 0 : (_authdetailsContext$i15 = authdetailsContext.instinfo) === null || _authdetailsContext$i15 === void 0 ? void 0 : _authdetailsContext$i15.instagramlink, '_blank');
26898
26879
  }
26899
26880
  }
26900
26881
  }, /*#__PURE__*/React__default["default"].createElement(AiFillInstagram.AiFillInstagram, {
26901
26882
  size: sectionproperties.instgrambtniconfontsize
26902
- })), sectionproperties.youtbtn_show == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
26883
+ })), sectionproperties.youtbtn_show == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 ? void 0 : (_authdetailsContext$i16 = authdetailsContext.instinfo) === null || _authdetailsContext$i16 === void 0 ? void 0 : _authdetailsContext$i16.whatsappnumber) != null && /*#__PURE__*/React__default["default"].createElement("div", {
26903
26884
  "class": "".concat(footerStyles.youtube_btn) + ' d-flex align-items-center justify-content-center ',
26904
26885
  onClick: function onClick() {
26905
- var _authdetailsContext$i14;
26906
- if ((authdetailsContext === null || authdetailsContext === void 0 ? void 0 : (_authdetailsContext$i14 = authdetailsContext.instinfo) === null || _authdetailsContext$i14 === void 0 ? void 0 : _authdetailsContext$i14.whatsappnumber) != null) {
26907
- var _authdetailsContext$i15;
26908
- window.open('https://api.whatsapp.com/send?phone=' + (authdetailsContext === null || authdetailsContext === void 0 ? void 0 : (_authdetailsContext$i15 = authdetailsContext.instinfo) === null || _authdetailsContext$i15 === void 0 ? void 0 : _authdetailsContext$i15.whatsappnumber), '_blank');
26886
+ var _authdetailsContext$i17;
26887
+ if ((authdetailsContext === null || authdetailsContext === void 0 ? void 0 : (_authdetailsContext$i17 = authdetailsContext.instinfo) === null || _authdetailsContext$i17 === void 0 ? void 0 : _authdetailsContext$i17.whatsappnumber) != null) {
26888
+ var _authdetailsContext$i18;
26889
+ window.open('https://api.whatsapp.com/send?phone=' + (authdetailsContext === null || authdetailsContext === void 0 ? void 0 : (_authdetailsContext$i18 = authdetailsContext.instinfo) === null || _authdetailsContext$i18 === void 0 ? void 0 : _authdetailsContext$i18.whatsappnumber), '_blank');
26909
26890
  }
26910
26891
  }
26911
26892
  }, /*#__PURE__*/React__default["default"].createElement(FaWhatsapp.FaWhatsapp, {
@@ -27980,7 +27961,7 @@ var mastercard = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAACAAAAATYAgMAAAD2
27980
27961
  function ownKeys$1k(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
27981
27962
  function _objectSpread$1k(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$1k(Object(source), !0).forEach(function (key) { _defineProperty__default["default"](target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$1k(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
27982
27963
  var Footer4 = function Footer4(props) {
27983
- var _logoarrayofobjects$, _logoarrayofobjects$2, _templatepropcontext$, _authdetailsContext$i, _authdetailsContext$i4, _authdetailsContext$i5;
27964
+ var _logoarrayofobjects$, _logoarrayofobjects$2, _templatepropcontext$, _authdetailsContext$i, _authdetailsContext$i4, _authdetailsContext$i5, _authdetailsContext$i8, _authdetailsContext$i11, _authdetailsContext$i14;
27984
27965
  var StatePagePropertiesContext = props.actions.StatePagePropertiesContext;
27985
27966
  var lang = props.actions.lang;
27986
27967
  var langdetect = props.actions.langdetect;
@@ -28318,39 +28299,39 @@ var Footer4 = function Footer4(props) {
28318
28299
  color: sectionproperties.generaltext_fontColor,
28319
28300
  fontWeight: sectionproperties.generaltext_fontWeight
28320
28301
  }
28321
- }, langdetect == 'en' ? sectionproperties.general_text_content : sectionproperties.general_text_content_ar), sectionproperties.fbbtn_show == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
28302
+ }, langdetect == 'en' ? sectionproperties.general_text_content : sectionproperties.general_text_content_ar), sectionproperties.fbbtn_show == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 ? void 0 : (_authdetailsContext$i8 = authdetailsContext.instinfo) === null || _authdetailsContext$i8 === void 0 ? void 0 : _authdetailsContext$i8.facebooklink) && /*#__PURE__*/React__default["default"].createElement("div", {
28322
28303
  className: langdetect == 'en' ? "".concat(footerStyles.facebook_btn) + ' allcentered mr-3 mr-sm-4 ' : "".concat(footerStyles.facebook_btn) + ' allcentered ml-3 ml-sm-4 ',
28323
28304
  onClick: function onClick() {
28324
- var _authdetailsContext$i8;
28325
- if ((authdetailsContext === null || authdetailsContext === void 0 ? void 0 : (_authdetailsContext$i8 = authdetailsContext.instinfo) === null || _authdetailsContext$i8 === void 0 ? void 0 : _authdetailsContext$i8.facebooklink) != null) {
28326
- var _authdetailsContext$i9;
28327
- window.open(authdetailsContext === null || authdetailsContext === void 0 ? void 0 : (_authdetailsContext$i9 = authdetailsContext.instinfo) === null || _authdetailsContext$i9 === void 0 ? void 0 : _authdetailsContext$i9.facebooklink, '_blank');
28305
+ var _authdetailsContext$i9;
28306
+ if ((authdetailsContext === null || authdetailsContext === void 0 ? void 0 : (_authdetailsContext$i9 = authdetailsContext.instinfo) === null || _authdetailsContext$i9 === void 0 ? void 0 : _authdetailsContext$i9.facebooklink) != null) {
28307
+ var _authdetailsContext$i10;
28308
+ window.open(authdetailsContext === null || authdetailsContext === void 0 ? void 0 : (_authdetailsContext$i10 = authdetailsContext.instinfo) === null || _authdetailsContext$i10 === void 0 ? void 0 : _authdetailsContext$i10.facebooklink, '_blank');
28328
28309
  }
28329
28310
  }
28330
28311
  }, /*#__PURE__*/React__default["default"].createElement("i", {
28331
28312
  className: "h-100 allcentered"
28332
28313
  }, /*#__PURE__*/React__default["default"].createElement(FaFacebookF.FaFacebookF, {
28333
28314
  size: sectionproperties.facebkbtnniconfontsize
28334
- }))), sectionproperties.instbtn_show == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
28315
+ }))), sectionproperties.instbtn_show == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 ? void 0 : (_authdetailsContext$i11 = authdetailsContext.instinfo) === null || _authdetailsContext$i11 === void 0 ? void 0 : _authdetailsContext$i11.instagramlink) != null && /*#__PURE__*/React__default["default"].createElement("div", {
28335
28316
  className: langdetect == 'en' ? "".concat(footerStyles.instgram_btn) + ' allcentered mr-3 mr-sm-4 ' : "".concat(footerStyles.instgram_btn) + ' allcentered ml-3 ml-sm-4 ',
28336
28317
  onClick: function onClick() {
28337
- var _authdetailsContext$i10;
28338
- if ((authdetailsContext === null || authdetailsContext === void 0 ? void 0 : (_authdetailsContext$i10 = authdetailsContext.instinfo) === null || _authdetailsContext$i10 === void 0 ? void 0 : _authdetailsContext$i10.instagramlink) != null) {
28339
- var _authdetailsContext$i11;
28340
- window.open(authdetailsContext === null || authdetailsContext === void 0 ? void 0 : (_authdetailsContext$i11 = authdetailsContext.instinfo) === null || _authdetailsContext$i11 === void 0 ? void 0 : _authdetailsContext$i11.instagramlink, '_blank');
28318
+ var _authdetailsContext$i12;
28319
+ if ((authdetailsContext === null || authdetailsContext === void 0 ? void 0 : (_authdetailsContext$i12 = authdetailsContext.instinfo) === null || _authdetailsContext$i12 === void 0 ? void 0 : _authdetailsContext$i12.instagramlink) != null) {
28320
+ var _authdetailsContext$i13;
28321
+ window.open(authdetailsContext === null || authdetailsContext === void 0 ? void 0 : (_authdetailsContext$i13 = authdetailsContext.instinfo) === null || _authdetailsContext$i13 === void 0 ? void 0 : _authdetailsContext$i13.instagramlink, '_blank');
28341
28322
  }
28342
28323
  }
28343
28324
  }, /*#__PURE__*/React__default["default"].createElement("i", {
28344
28325
  className: "h-100 allcentered"
28345
28326
  }, /*#__PURE__*/React__default["default"].createElement(AiFillInstagram.AiFillInstagram, {
28346
28327
  size: sectionproperties.instgrambtniconfontsize
28347
- }))), sectionproperties.youtbtn_show == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
28328
+ }))), sectionproperties.youtbtn_show == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 ? void 0 : (_authdetailsContext$i14 = authdetailsContext.instinfo) === null || _authdetailsContext$i14 === void 0 ? void 0 : _authdetailsContext$i14.whatsappnumber) != null && /*#__PURE__*/React__default["default"].createElement("div", {
28348
28329
  className: langdetect == 'en' ? "".concat(footerStyles.youtube_btn) + ' allcentered mr-3 mr-sm-4 ' : "".concat(footerStyles.youtube_btn) + ' allcentered ml-3 ml-sm-4 ',
28349
28330
  onClick: function onClick() {
28350
- var _authdetailsContext$i12;
28351
- if ((authdetailsContext === null || authdetailsContext === void 0 ? void 0 : (_authdetailsContext$i12 = authdetailsContext.instinfo) === null || _authdetailsContext$i12 === void 0 ? void 0 : _authdetailsContext$i12.whatsappnumber) != null) {
28352
- var _authdetailsContext$i13;
28353
- window.open('https://api.whatsapp.com/send?phone=' + (authdetailsContext === null || authdetailsContext === void 0 ? void 0 : (_authdetailsContext$i13 = authdetailsContext.instinfo) === null || _authdetailsContext$i13 === void 0 ? void 0 : _authdetailsContext$i13.whatsappnumber), '_blank');
28331
+ var _authdetailsContext$i15;
28332
+ if ((authdetailsContext === null || authdetailsContext === void 0 ? void 0 : (_authdetailsContext$i15 = authdetailsContext.instinfo) === null || _authdetailsContext$i15 === void 0 ? void 0 : _authdetailsContext$i15.whatsappnumber) != null) {
28333
+ var _authdetailsContext$i16;
28334
+ window.open('https://api.whatsapp.com/send?phone=' + (authdetailsContext === null || authdetailsContext === void 0 ? void 0 : (_authdetailsContext$i16 = authdetailsContext.instinfo) === null || _authdetailsContext$i16 === void 0 ? void 0 : _authdetailsContext$i16.whatsappnumber), '_blank');
28354
28335
  }
28355
28336
  }
28356
28337
  }, /*#__PURE__*/React__default["default"].createElement("i", {
@@ -28559,6 +28540,14 @@ var Footer5 = function Footer5(props) {
28559
28540
  top: 0,
28560
28541
  bottom: 0
28561
28542
  }
28543
+ }),
28544
+ apptore: glamor.css({
28545
+ width: '100%',
28546
+ objectFit: 'contain'
28547
+ }),
28548
+ googleplay: glamor.css({
28549
+ width: '100%',
28550
+ objectFit: 'contain'
28562
28551
  })
28563
28552
  };
28564
28553
  return /*#__PURE__*/React__default["default"].createElement("div", {
@@ -28598,7 +28587,10 @@ var Footer5 = function Footer5(props) {
28598
28587
  }, /*#__PURE__*/React__default["default"].createElement("div", {
28599
28588
  className: "col-lg-12 allcentered p-0"
28600
28589
  }, /*#__PURE__*/React__default["default"].createElement("div", {
28601
- className: "".concat(footerStyles.footerlogo) + ' d-flex flex-column align-items-center justify-content-start '
28590
+ className: "".concat(footerStyles.footerlogo) + ' d-flex flex-column align-items-center justify-content-start cursor-pointer ',
28591
+ onClick: function onClick() {
28592
+ routingcountext('home');
28593
+ }
28602
28594
  }, /*#__PURE__*/React__default["default"].createElement(imagekitioReact.IKImage, {
28603
28595
  urlEndpoint: IKurlEndpoint,
28604
28596
  publicKey: IKpublicKey,
@@ -28732,7 +28724,10 @@ var Footer5 = function Footer5(props) {
28732
28724
  }, /*#__PURE__*/React__default["default"].createElement("div", {
28733
28725
  className: "col-lg-12 allcentered"
28734
28726
  }, /*#__PURE__*/React__default["default"].createElement("div", {
28735
- className: "".concat(footerStyles.footerlogo) + ' d-flex flex-column align-items-center justify-content-start '
28727
+ className: "".concat(footerStyles.footerlogo) + ' d-flex flex-column align-items-center justify-content-start cursor-pointer ',
28728
+ onClick: function onClick() {
28729
+ routingcountext('home');
28730
+ }
28736
28731
  }, /*#__PURE__*/React__default["default"].createElement(imagekitioReact.IKImage, {
28737
28732
  urlEndpoint: IKurlEndpoint,
28738
28733
  publicKey: IKpublicKey,
@@ -28861,6 +28856,40 @@ var Footer5 = function Footer5(props) {
28861
28856
  }, /*#__PURE__*/React__default["default"].createElement("img", {
28862
28857
  src: mastercard,
28863
28858
  className: "".concat(footerStyles.payimg)
28859
+ })))), sectionproperties.showdownloadsection == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
28860
+ className: "row m-0 w-100 mt-3"
28861
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
28862
+ className: "col-lg-12 p-0 d-flex justify-content-md-center"
28863
+ }, /*#__PURE__*/React__default["default"].createElement("p", {
28864
+ className: "".concat(footerStyles.footertitlestyles) + ' m-0 p-0 '
28865
+ }, langdetect == 'en' ? sectionproperties.otherinfotitle1en : sectionproperties.otherinfotitle1ar)), /*#__PURE__*/React__default["default"].createElement("div", {
28866
+ className: "col-lg-12 mt-2 p-0 m-0 w-100 d-flex flex-row align-items-center justify-content-start justify-content-md-center"
28867
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
28868
+ "class": 'col-lg-6 col-md-4 col-sm-6 p-0 '
28869
+ }, /*#__PURE__*/React__default["default"].createElement("img", {
28870
+ "class": "".concat(footerStyles.apptore) + ' d-flex justify-content-center align-items-center cursor-pointer ',
28871
+ src: appstore,
28872
+ onClick: function onClick() {
28873
+ var _authdetailsContext$i25;
28874
+ window.open(authdetailsContext === null || authdetailsContext === void 0 ? void 0 : (_authdetailsContext$i25 = authdetailsContext.instinfo) === null || _authdetailsContext$i25 === void 0 ? void 0 : _authdetailsContext$i25.mobileapplink_appstore, '_blank');
28875
+ },
28876
+ style: {
28877
+ width: '80%',
28878
+ height: '80%'
28879
+ }
28880
+ })), /*#__PURE__*/React__default["default"].createElement("div", {
28881
+ "class": 'col-lg-6 col-md-4 col-sm-6 p-0'
28882
+ }, /*#__PURE__*/React__default["default"].createElement("img", {
28883
+ "class": "".concat(footerStyles.googleplay) + ' d-flex justify-content-start align-items-center cursor-pointer ',
28884
+ src: googleplay,
28885
+ onClick: function onClick() {
28886
+ var _authdetailsContext$i26;
28887
+ window.open(authdetailsContext === null || authdetailsContext === void 0 ? void 0 : (_authdetailsContext$i26 = authdetailsContext.instinfo) === null || _authdetailsContext$i26 === void 0 ? void 0 : _authdetailsContext$i26.mobileapplink_playstore, '_blank');
28888
+ },
28889
+ style: {
28890
+ width: '80%',
28891
+ height: '80%'
28892
+ }
28864
28893
  }))))))));
28865
28894
  };
28866
28895
 
@@ -36638,11 +36667,11 @@ var VideosSection = function VideosSection(props) {
36638
36667
  }, sectionproperties.slideshowtext1_show == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
36639
36668
  className: bgcssstyles.text1styles + ' col-lg-12 p-0 w-100 d-flex align-items-center '
36640
36669
  }, /*#__PURE__*/React__default["default"].createElement("p", {
36641
- className: bgcssstyles.text1styles + ' d-flex wordbreak m-0 p-0 '
36670
+ className: bgcssstyles.text1styles + ' d-flex wordbreak m-0 p-0 w-100 '
36642
36671
  }, langdetect == 'en' ? item.title_en : item.title_ar)), sectionproperties.slideshowtext2_show == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
36643
36672
  className: bgcssstyles.text2styles + ' col-lg-12 p-0 w-100 d-flex '
36644
36673
  }, /*#__PURE__*/React__default["default"].createElement("p", {
36645
- className: bgcssstyles.text2styles + ' d-flex wordbreak m-0 p-0 '
36674
+ className: bgcssstyles.text2styles + ' d-flex wordbreak m-0 p-0 w-100 '
36646
36675
  }, langdetect == 'en' ? item.description_en : item.description_ar)));
36647
36676
  };
36648
36677
  return /*#__PURE__*/React__default["default"].createElement("div", {
@@ -41707,8 +41736,8 @@ var CardWithTextOnly = function CardWithTextOnly(props) {
41707
41736
  }, item.name)));
41708
41737
  };
41709
41738
 
41710
- var css_248z$e = "\n@media (max-width: 576px) {\n .generalCardsStyles-module_productcard__3PgiR {\n max-width: 280px !important;\n min-width: 280px !important;\n }\n .generalCardsStyles-module_Simpleproductcard__GhVP7 {\n max-width: 250px !important;\n min-width: 250px !important;\n }\n .generalCardsStyles-module_ClassicCategoryCard__UWO1a{\n max-width: 330px !important;\n min-width: 330px !important;\n }\n}\n";
41711
- var generalCardsStyles = {"productcard":"generalCardsStyles-module_productcard__3PgiR","Simpleproductcard":"generalCardsStyles-module_Simpleproductcard__GhVP7","ClassicCategoryCard":"generalCardsStyles-module_ClassicCategoryCard__UWO1a"};
41739
+ var css_248z$e = "\n@media (max-width: 576px) {\n .generalCardsStyles-module_productcard__3PgiR {\n max-width: 280px !important;\n min-width: 280px !important;\n }\n .generalCardsStyles-module_Simpleproductcard__GhVP7 {\n max-width: 250px !important;\n min-width: 250px !important;\n }\n .generalCardsStyles-module_ClassicCategoryCard__UWO1a{\n max-width: 330px !important;\n min-width: 330px !important;\n }\n .generalCardsStyles-module_newproductcard__ATddn{\n max-width: 330px !important;\n min-width: 330px !important;\n }\n}\n";
41740
+ var generalCardsStyles = {"productcard":"generalCardsStyles-module_productcard__3PgiR","Simpleproductcard":"generalCardsStyles-module_Simpleproductcard__GhVP7","ClassicCategoryCard":"generalCardsStyles-module_ClassicCategoryCard__UWO1a","newproductcard":"generalCardsStyles-module_newproductcard__ATddn"};
41712
41741
  styleInject(css_248z$e);
41713
41742
 
41714
41743
  function ownKeys$C(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
@@ -43032,29 +43061,17 @@ var NewProductcard = function NewProductcard(props) {
43032
43061
  var setShowProductInfoModalContext = props.actions.setShowProductInfoModalContext;
43033
43062
  var addtofavoritescontext = props.actions.addtofavoritescontext;
43034
43063
  var setProductIdProdutInfoModalContext = props.actions.setProductIdProdutInfoModalContext;
43035
- props.actions.AddtoCartContext;
43036
- props.actions.AddtoCartMutationContext;
43037
- props.actions.StaticPagesLinksContext;
43038
- props.actions.routingcountext;
43039
43064
  var cardonclickfunctionContext = props.actions.cardonclickfunctionContext;
43040
43065
  React.useEffect(function () {
43041
- if (props.srcfrom == 'addsectionform') {
43042
- var secpropobj = {};
43043
- props.defaultproperties.forEach(function (defaultpropobj, defaultpropindex) {
43044
- secpropobj[defaultpropobj.property_css_name] = defaultpropobj.property_value;
43045
- });
43046
- setsectionproperties(_objectSpread$y({}, secpropobj));
43047
- } else {
43048
- var secpropobj = {};
43049
- StatePagePropertiesContext.pageobj.sections.forEach(function (sectionitem, sectionindex) {
43050
- if (sectionitem.sectionid == props.sectionidprops) {
43051
- sectionitem.sectionproperties.forEach(function (sectionpropertiesobj, sectionpropertiesindex) {
43052
- secpropobj[sectionpropertiesobj.property_css_name] = sectionpropertiesobj.property_value;
43053
- });
43054
- }
43055
- });
43056
- setsectionproperties(_objectSpread$y({}, secpropobj));
43057
- }
43066
+ var secpropobj = {};
43067
+ StatePagePropertiesContext.pageobj.sections.forEach(function (sectionitem, sectionindex) {
43068
+ if (sectionitem.sectionid == props.sectionidprops) {
43069
+ sectionitem.sectionproperties.forEach(function (sectionpropertiesobj, sectionpropertiesindex) {
43070
+ secpropobj[sectionpropertiesobj.property_css_name] = sectionpropertiesobj.property_value;
43071
+ });
43072
+ }
43073
+ });
43074
+ setsectionproperties(_objectSpread$y({}, secpropobj));
43058
43075
  }, [StatePagePropertiesContext]);
43059
43076
  React.useEffect(function () {
43060
43077
  setitem(props.cardinfoitemprops);
@@ -43065,7 +43082,15 @@ var NewProductcard = function NewProductcard(props) {
43065
43082
  height: sectionproperties.variantcontainer_height + 'vh',
43066
43083
  borderRadius: sectionproperties.variantcontainer_borderBottomLeftRadius + 'px'
43067
43084
  }),
43068
- productcard: glamor.css((_css = {
43085
+ productcard: glamor.css({
43086
+ minWidth: props.sectiontypeprops2 == 'vertical' ? '100%' : sectionproperties.width + 'px',
43087
+ maxWidth: props.sectiontypeprops2 == 'vertical' ? '100%' : sectionproperties.width + 'px',
43088
+ '@media (max-width: 800px)': {
43089
+ minWidth: sectionproperties.widthresponsive + 'px',
43090
+ maxWidth: sectionproperties.widthresponsive + 'px'
43091
+ }
43092
+ }),
43093
+ innerproductcard: glamor.css((_css = {
43069
43094
  background: sectionproperties.backgroundColortransparent == 'Transparent' ? 'transparent' : sectionproperties.backgroundColor,
43070
43095
  opacity: sectionproperties.cardbg_opacity,
43071
43096
  borderBottomLeftRadius: langdetect == 'en' ? sectionproperties.borderBottomLeftRadius + 'px' : sectionproperties.borderBottomRightRadius + 'px',
@@ -43089,7 +43114,6 @@ var NewProductcard = function NewProductcard(props) {
43089
43114
  opacity: 1
43090
43115
  }), _css)),
43091
43116
  productcard_imgcontainer: glamor.css({
43092
- height: sectionproperties.image_height + 'px',
43093
43117
  background: sectionproperties.image_bgtransparent == 'Transparent' ? '' : sectionproperties.image_bgcolor,
43094
43118
  border: sectionproperties.image_borderwidth + 'px solid ' + sectionproperties.image_bordercolor,
43095
43119
  borderBottomLeftRadius: langdetect == 'en' ? sectionproperties.image_borderBottomLeftRadius + 'px' : sectionproperties.image_borderBottomRightRadius + 'px',
@@ -43230,164 +43254,182 @@ var NewProductcard = function NewProductcard(props) {
43230
43254
  zIndex: 10000
43231
43255
  })
43232
43256
  };
43257
+ var ImageContent = function ImageContent() {
43258
+ return /*#__PURE__*/React__default["default"].createElement("div", {
43259
+ "class": "w-100"
43260
+ }, /*#__PURE__*/React__default["default"].createElement(imagekitioReact.IKImage, {
43261
+ urlEndpoint: IKurlEndpoint,
43262
+ publicKey: IKpublicKey,
43263
+ path: '/tr:w-' + sectionproperties.imagetr_w + ',h-' + sectionproperties.imagetr_h + '/' + item.image,
43264
+ loading: "lazy",
43265
+ style: {
43266
+ width: '100%',
43267
+ height: '100%',
43268
+ objectFit: sectionproperties.bgcovercontain == 'Contain' ? 'contain' : 'cover',
43269
+ borderBottomLeftRadius: langdetect == 'en' ? sectionproperties.image_borderBottomLeftRadius + 'px' : sectionproperties.image_borderBottomRightRadius + 'px',
43270
+ borderBottomRightRadius: langdetect == 'en' ? sectionproperties.image_borderBottomRightRadius + 'px' : sectionproperties.image_borderBottomLeftRadius + 'px',
43271
+ borderTopLeftRadius: langdetect == 'en' ? sectionproperties.image_bordertopleftradius + 'px' : sectionproperties.image_bordertoprightradius + 'px',
43272
+ borderTopRightRadius: langdetect == 'en' ? sectionproperties.image_bordertoprightradius + 'px' : sectionproperties.image_bordertopleftradius + 'px'
43273
+ }
43274
+ }), sectionproperties.favBtnShow == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
43275
+ "class": "".concat(card_cssstyles.wishlist_btn) + ' wishlist_btn cursor-pointer ',
43276
+ onClick: function onClick(e) {
43277
+ e.stopPropagation();
43278
+ addtofavoritescontext(item.productid);
43279
+ }
43280
+ }, item.IsFavExists && /*#__PURE__*/React__default["default"].createElement("i", {
43281
+ "class": "h-100 d-flex align-items-center justify-content-center"
43282
+ }, sectionproperties.faviconshape == 'Star Shape' && /*#__PURE__*/React__default["default"].createElement(AiFillStar.AiFillStar, {
43283
+ size: sectionproperties.favBtnIconfontsize,
43284
+ style: {
43285
+ color: sectionproperties.activefaviconcolor
43286
+ }
43287
+ }), sectionproperties.faviconshape == 'Heart Shape' && /*#__PURE__*/React__default["default"].createElement(FaHeart.FaHeart, {
43288
+ size: sectionproperties.favBtnIconfontsize,
43289
+ style: {
43290
+ color: sectionproperties.activefaviconcolor
43291
+ }
43292
+ })), !item.IsFavExists && /*#__PURE__*/React__default["default"].createElement("i", {
43293
+ "class": "h-100 d-flex align-items-center justify-content-center"
43294
+ }, sectionproperties.faviconshape == 'Star Shape' && /*#__PURE__*/React__default["default"].createElement(AiOutlineStar.AiOutlineStar, {
43295
+ size: sectionproperties.favBtnIconfontsize
43296
+ }), sectionproperties.faviconshape == 'Heart Shape' && /*#__PURE__*/React__default["default"].createElement(FaRegHeart.FaRegHeart, {
43297
+ size: sectionproperties.favBtnIconfontsize
43298
+ }))), sectionproperties.showbadge == 'Show' && item.hassale == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
43299
+ "class": "allcentered",
43300
+ style: {
43301
+ position: 'absolute',
43302
+ top: sectionproperties.badge_top + 'px',
43303
+ right: sectionproperties.badge_right + 'px',
43304
+ width: sectionproperties.badge_width + 'px',
43305
+ height: sectionproperties.badge_height + 'px',
43306
+ background: sectionproperties.badge_bgcolor,
43307
+ borderRadius: sectionproperties.badge_borderradius + 'px',
43308
+ border: sectionproperties.badgeborderwidth + 'px solid ' + sectionproperties.badge_color
43309
+ }
43310
+ }, /*#__PURE__*/React__default["default"].createElement("p", {
43311
+ "class": "m-0 p-0 text-uppercase",
43312
+ style: {
43313
+ color: sectionproperties.badge_color,
43314
+ fontSize: sectionproperties.badge_fontsize + 'px'
43315
+ }
43316
+ }, langdetect == 'en' ? sectionproperties.badgeContentEn : sectionproperties.badgeContentAr)), sectionproperties.showpill == 'Show' && item.hassale == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
43317
+ "class": "allcentered",
43318
+ style: {
43319
+ position: 'absolute',
43320
+ top: sectionproperties.pillpositionfromtop + 'px',
43321
+ right: sectionproperties.pillpositionfromright + 'px',
43322
+ width: sectionproperties.pillwidth + 'px',
43323
+ height: sectionproperties.pillheight + 'px',
43324
+ background: sectionproperties.pillbgcolor,
43325
+ borderRadius: sectionproperties.pillborderBottomLeftRadius + 'px'
43326
+ }
43327
+ }, /*#__PURE__*/React__default["default"].createElement("p", {
43328
+ "class": "m-0 p-0 text-uppercase",
43329
+ style: {
43330
+ color: sectionproperties.pillcolor,
43331
+ fontSize: sectionproperties.pillfontSize + 'px',
43332
+ direction: 'ltr'
43333
+ }
43334
+ }, '-' + Math.round(10.0 * ((parseInt(item.defaultprice) - parseInt(item.defaultsaleprice)) / parseInt(item.defaultprice)) * 100) / 10.0 + '%')), /*#__PURE__*/React__default["default"].createElement("div", {
43335
+ "class": "".concat(card_cssstyles.buttoncont) + ' buttoncont row w-100 m-0 d-flex justify-content-center align-items-center '
43336
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
43337
+ "class": "col-lg-12 p-0 mb-2"
43338
+ }, /*#__PURE__*/React__default["default"].createElement("button", {
43339
+ "class": "".concat(card_cssstyles.quickshow_btn) + ' cursor-pointer d-flex d-md-none d-sm-none justify-content-center align-items-center quickshow_btn ',
43340
+ onClick: function onClick(e) {
43341
+ e.stopPropagation();
43342
+ setShowProductInfoModalContext(true);
43343
+ setProductIdProdutInfoModalContext(item.productid);
43344
+ }
43345
+ }, langdetect == 'en' ? sectionproperties.slideshow_btn_text : sectionproperties.slideshow_btn_text_ar)), /*#__PURE__*/React__default["default"].createElement("div", {
43346
+ "class": "col-lg-12 p-0"
43347
+ }, sectionproperties.cartBtnShow == 'Show' && /*#__PURE__*/React__default["default"].createElement("button", {
43348
+ "class": "".concat(card_cssstyles.cart_btn) + ' cursor-pointer d-flex d-md-none d-sm-none justify-content-center align-items-center cart_btn ',
43349
+ onClick: function onClick(e) {
43350
+ e.stopPropagation();
43351
+ cardonclickfunctionContext(sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.onClickRoute, item.productid, props.fetchingtypeprops, item.collectionid);
43352
+ }
43353
+ }, langdetect == 'en' ? sectionproperties.cartBtnContentenglish : sectionproperties.cartBtnContentarabic))), /*#__PURE__*/React__default["default"].createElement("div", {
43354
+ style: {
43355
+ bottom: 0,
43356
+ position: 'absolute',
43357
+ width: '100%'
43358
+ },
43359
+ "class": "d-none d-md-flex d-sm-flex"
43360
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
43361
+ style: {
43362
+ background: sectionproperties.slideshow_btn_bg,
43363
+ color: sectionproperties.generalbtn_textColor,
43364
+ height: '40px'
43365
+ },
43366
+ "class": "col-lg-6 p-0 d-flex align-items-center justify-content-center",
43367
+ onClick: function onClick(e) {
43368
+ e.stopPropagation();
43369
+ setShowProductInfoModalContext(true);
43370
+ setProductIdProdutInfoModalContext(item.productid);
43371
+ }
43372
+ }, /*#__PURE__*/React__default["default"].createElement(BsEye.BsEye, {
43373
+ size: sectionproperties.cartBtn_iconFontSize
43374
+ })), /*#__PURE__*/React__default["default"].createElement("div", {
43375
+ style: {
43376
+ background: sectionproperties.cartbtn_bgtransparent == 'Transparent' ? 'transparent' : sectionproperties.cartBtnbgColor,
43377
+ color: sectionproperties.cartBtnTextcolor,
43378
+ height: '40px'
43379
+ },
43380
+ "class": "col-lg-6 p-0 d-flex align-items-center justify-content-center",
43381
+ onClick: function onClick(e) {
43382
+ e.stopPropagation();
43383
+ cardonclickfunctionContext(sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.onClickRoute, item.productid, props.fetchingtypeprops, item.collectionid);
43384
+ }
43385
+ }, sectionproperties.carticonstyle == 'Shopping bag 1' && /*#__PURE__*/React__default["default"].createElement(FiShoppingBag.FiShoppingBag, {
43386
+ "class": "",
43387
+ size: sectionproperties.cartBtn_iconFontSize
43388
+ }), sectionproperties.carticonstyle == 'Shopping bag 2' && /*#__PURE__*/React__default["default"].createElement(CgShoppingBag.CgShoppingBag, {
43389
+ "class": "",
43390
+ size: sectionproperties.cartBtn_iconFontSize
43391
+ }), sectionproperties.carticonstyle == 'Shopping bag 3' && /*#__PURE__*/React__default["default"].createElement(BsBag.BsBag, {
43392
+ "class": "",
43393
+ size: sectionproperties.cartBtn_iconFontSize
43394
+ }), sectionproperties.carticonstyle == 'Shopping bag 4' && /*#__PURE__*/React__default["default"].createElement(RiHandbagLine.RiHandbagLine, {
43395
+ size: sectionproperties.cartBtn_iconFontSize
43396
+ }), sectionproperties.carticonstyle == 'Shopping cart 1' && /*#__PURE__*/React__default["default"].createElement(FiShoppingCart.FiShoppingCart, {
43397
+ "class": "",
43398
+ size: sectionproperties.cartBtn_iconFontSize
43399
+ }), sectionproperties.carticonstyle == 'Shopping cart 2' && /*#__PURE__*/React__default["default"].createElement(MdAddShoppingCart.MdAddShoppingCart, {
43400
+ size: sectionproperties.cartBtn_iconFontSize
43401
+ }))));
43402
+ };
43233
43403
  return /*#__PURE__*/React__default["default"].createElement("div", {
43234
- "class": "row m-0 w-100",
43404
+ // ${generalCardsStyles.newproductcard}
43405
+ "class": props.sectiontypeprops2 == 'vertical' ? "".concat(card_cssstyles.productcard) + ' w-100 ' : " ".concat(card_cssstyles.productcard),
43235
43406
  style: {
43236
43407
  paddingLeft: langdetect == 'en' ? sectionproperties.card_marginLeft + 'px' : sectionproperties.card_marginRight + 'px',
43237
43408
  paddingRight: langdetect == 'en' ? sectionproperties.card_marginRight + 'px' : sectionproperties.card_marginLeft + 'px'
43238
43409
  }
43239
43410
  }, sectionproperties.length != 0 && /*#__PURE__*/React__default["default"].createElement("div", {
43240
- "class": "".concat(card_cssstyles.productcard) + ' w-100 '
43411
+ "class": "".concat(card_cssstyles.innerproductcard) + ' w-100 '
43241
43412
  }, /*#__PURE__*/React__default["default"].createElement("div", {
43242
43413
  onClick: function onClick() {
43243
43414
  cardonclickfunctionContext(sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.onClickRoute, item.productid, props.fetchingtypeprops, item.collectionid);
43244
43415
  },
43245
- "class": "".concat(card_cssstyles.productcard_imgcontainer) + ' cursor-pointer ',
43416
+ "class": "".concat(card_cssstyles.productcard_imgcontainer) + ' cursor-pointer d-flex d-md-none w-100 ',
43246
43417
  style: {
43247
43418
  position: 'relative',
43248
- marginBottom: sectionproperties.image_mb + 'px'
43249
- }
43250
- }, /*#__PURE__*/React__default["default"].createElement(imagekitioReact.IKImage, {
43251
- urlEndpoint: IKurlEndpoint,
43252
- publicKey: IKpublicKey,
43253
- path: '/tr:w-' + sectionproperties.imagetr_w + ',h-' + sectionproperties.imagetr_h + '/' + item.image,
43254
- loading: "lazy",
43255
- style: {
43256
- width: '100%',
43257
- height: '100%',
43258
- objectFit: sectionproperties.bgcovercontain == 'Contain' ? 'contain' : 'cover',
43259
- borderBottomLeftRadius: langdetect == 'en' ? sectionproperties.image_borderBottomLeftRadius + 'px' : sectionproperties.image_borderBottomRightRadius + 'px',
43260
- borderBottomRightRadius: langdetect == 'en' ? sectionproperties.image_borderBottomRightRadius + 'px' : sectionproperties.image_borderBottomLeftRadius + 'px',
43261
- borderTopLeftRadius: langdetect == 'en' ? sectionproperties.image_bordertopleftradius + 'px' : sectionproperties.image_bordertoprightradius + 'px',
43262
- borderTopRightRadius: langdetect == 'en' ? sectionproperties.image_bordertoprightradius + 'px' : sectionproperties.image_bordertopleftradius + 'px'
43263
- }
43264
- }), sectionproperties.favBtnShow == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
43265
- "class": "".concat(card_cssstyles.wishlist_btn) + ' wishlist_btn cursor-pointer ',
43266
- onClick: function onClick(e) {
43267
- e.stopPropagation();
43268
- addtofavoritescontext(item.productid);
43269
- }
43270
- }, item.IsFavExists && /*#__PURE__*/React__default["default"].createElement("i", {
43271
- "class": "h-100 d-flex align-items-center justify-content-center"
43272
- }, sectionproperties.faviconshape == 'Star Shape' && /*#__PURE__*/React__default["default"].createElement(AiFillStar.AiFillStar, {
43273
- size: sectionproperties.favBtnIconfontsize,
43274
- style: {
43275
- color: sectionproperties.activefaviconcolor
43276
- }
43277
- }), sectionproperties.faviconshape == 'Heart Shape' && /*#__PURE__*/React__default["default"].createElement(FaHeart.FaHeart, {
43278
- size: sectionproperties.favBtnIconfontsize,
43279
- style: {
43280
- color: sectionproperties.activefaviconcolor
43281
- }
43282
- })), !item.IsFavExists && /*#__PURE__*/React__default["default"].createElement("i", {
43283
- "class": "h-100 d-flex align-items-center justify-content-center"
43284
- }, sectionproperties.faviconshape == 'Star Shape' && /*#__PURE__*/React__default["default"].createElement(AiOutlineStar.AiOutlineStar, {
43285
- size: sectionproperties.favBtnIconfontsize
43286
- }), sectionproperties.faviconshape == 'Heart Shape' && /*#__PURE__*/React__default["default"].createElement(FaRegHeart.FaRegHeart, {
43287
- size: sectionproperties.favBtnIconfontsize
43288
- }))), sectionproperties.showbadge == 'Show' && item.hassale == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
43289
- "class": "allcentered",
43290
- style: {
43291
- position: 'absolute',
43292
- top: sectionproperties.badge_top + 'px',
43293
- right: sectionproperties.badge_right + 'px',
43294
- width: sectionproperties.badge_width + 'px',
43295
- height: sectionproperties.badge_height + 'px',
43296
- background: sectionproperties.badge_bgcolor,
43297
- borderRadius: sectionproperties.badge_borderradius + 'px'
43298
- }
43299
- }, /*#__PURE__*/React__default["default"].createElement("p", {
43300
- "class": "m-0 p-0 text-uppercase",
43301
- style: {
43302
- color: sectionproperties.badge_color,
43303
- fontSize: sectionproperties.badge_fontsize + 'px'
43304
- }
43305
- }, langdetect == 'en' ? sectionproperties.badgeContentEn : sectionproperties.badgeContentAr)), sectionproperties.showpill == 'Show' && item.hassale == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
43306
- "class": "allcentered",
43307
- style: {
43308
- position: 'absolute',
43309
- top: sectionproperties.pillpositionfromtop + 'px',
43310
- right: sectionproperties.pillpositionfromright + 'px',
43311
- width: sectionproperties.pillwidth + 'px',
43312
- height: sectionproperties.pillheight + 'px',
43313
- background: sectionproperties.pillbgcolor,
43314
- borderRadius: sectionproperties.pillborderBottomLeftRadius + 'px'
43315
- }
43316
- }, /*#__PURE__*/React__default["default"].createElement("p", {
43317
- "class": "m-0 p-0 text-uppercase",
43318
- style: {
43319
- color: sectionproperties.pillcolor,
43320
- fontSize: sectionproperties.pillfontSize + 'px',
43321
- direction: 'ltr'
43322
- }
43323
- }, '-' + Math.round(10.0 * ((parseInt(item.defaultprice) - parseInt(item.defaultsaleprice)) / parseInt(item.defaultprice)) * 100) / 10.0 + '%')), /*#__PURE__*/React__default["default"].createElement("div", {
43324
- "class": "".concat(card_cssstyles.buttoncont) + ' buttoncont row w-100 m-0 d-flex justify-content-center align-items-center '
43325
- }, /*#__PURE__*/React__default["default"].createElement("div", {
43326
- "class": "col-lg-12 p-0 mb-2"
43327
- }, /*#__PURE__*/React__default["default"].createElement("button", {
43328
- "class": "".concat(card_cssstyles.quickshow_btn) + ' cursor-pointer d-flex d-md-none d-sm-none justify-content-center align-items-center quickshow_btn ',
43329
- onClick: function onClick(e) {
43330
- e.stopPropagation();
43331
- setShowProductInfoModalContext(true);
43332
- setProductIdProdutInfoModalContext(item.productid);
43419
+ marginBottom: sectionproperties.image_mb + 'px',
43420
+ height: sectionproperties.image_height + 'px'
43333
43421
  }
43334
- }, langdetect == 'en' ? sectionproperties.slideshow_btn_text : sectionproperties.slideshow_btn_text_ar)), /*#__PURE__*/React__default["default"].createElement("div", {
43335
- "class": "col-lg-12 p-0"
43336
- }, sectionproperties.cartBtnShow == 'Show' && /*#__PURE__*/React__default["default"].createElement("button", {
43337
- "class": "".concat(card_cssstyles.cart_btn) + ' cursor-pointer d-flex d-md-none d-sm-none justify-content-center align-items-center cart_btn ',
43338
- onClick: function onClick(e) {
43339
- e.stopPropagation();
43422
+ }, ImageContent()), /*#__PURE__*/React__default["default"].createElement("div", {
43423
+ onClick: function onClick() {
43340
43424
  cardonclickfunctionContext(sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.onClickRoute, item.productid, props.fetchingtypeprops, item.collectionid);
43341
- }
43342
- }, langdetect == 'en' ? sectionproperties.cartBtnContentenglish : sectionproperties.cartBtnContentarabic))), /*#__PURE__*/React__default["default"].createElement("div", {
43343
- style: {
43344
- bottom: 0,
43345
- position: 'absolute',
43346
- width: '100%'
43347
43425
  },
43348
- "class": "d-none d-md-flex d-sm-flex"
43349
- }, /*#__PURE__*/React__default["default"].createElement("div", {
43350
- style: {
43351
- background: sectionproperties.slideshow_btn_bg,
43352
- color: sectionproperties.generalbtn_textColor,
43353
- height: '40px'
43354
- },
43355
- "class": "col-lg-6 p-0 d-flex align-items-center justify-content-center",
43356
- onClick: function onClick(e) {
43357
- e.stopPropagation();
43358
- setShowProductInfoModalContext(true);
43359
- setProductIdProdutInfoModalContext(item.productid);
43360
- }
43361
- }, /*#__PURE__*/React__default["default"].createElement(BsEye.BsEye, {
43362
- size: sectionproperties.cartBtn_iconFontSize
43363
- })), /*#__PURE__*/React__default["default"].createElement("div", {
43426
+ "class": "".concat(card_cssstyles.productcard_imgcontainer) + ' cursor-pointer d-none d-md-flex ',
43364
43427
  style: {
43365
- background: sectionproperties.cartbtn_bgtransparent == 'Transparent' ? 'transparent' : sectionproperties.cartBtnbgColor,
43366
- color: sectionproperties.cartBtnTextcolor,
43367
- height: '40px'
43368
- },
43369
- "class": "col-lg-6 p-0 d-flex align-items-center justify-content-center",
43370
- onClick: function onClick(e) {
43371
- e.stopPropagation();
43372
- cardonclickfunctionContext(sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.onClickRoute, item.productid, props.fetchingtypeprops, item.collectionid);
43428
+ position: 'relative',
43429
+ marginBottom: sectionproperties.image_mb + 'px',
43430
+ height: sectionproperties.height_responsive + 'px'
43373
43431
  }
43374
- }, sectionproperties.carticonstyle == 'Shopping bag 1' && /*#__PURE__*/React__default["default"].createElement(FiShoppingBag.FiShoppingBag, {
43375
- "class": "",
43376
- size: sectionproperties.cartBtn_iconFontSize
43377
- }), sectionproperties.carticonstyle == 'Shopping bag 2' && /*#__PURE__*/React__default["default"].createElement(CgShoppingBag.CgShoppingBag, {
43378
- "class": "",
43379
- size: sectionproperties.cartBtn_iconFontSize
43380
- }), sectionproperties.carticonstyle == 'Shopping bag 3' && /*#__PURE__*/React__default["default"].createElement(BsBag.BsBag, {
43381
- "class": "",
43382
- size: sectionproperties.cartBtn_iconFontSize
43383
- }), sectionproperties.carticonstyle == 'Shopping bag 4' && /*#__PURE__*/React__default["default"].createElement(RiHandbagLine.RiHandbagLine, {
43384
- size: sectionproperties.cartBtn_iconFontSize
43385
- }), sectionproperties.carticonstyle == 'Shopping cart 1' && /*#__PURE__*/React__default["default"].createElement(FiShoppingCart.FiShoppingCart, {
43386
- "class": "",
43387
- size: sectionproperties.cartBtn_iconFontSize
43388
- }), sectionproperties.carticonstyle == 'Shopping cart 2' && /*#__PURE__*/React__default["default"].createElement(MdAddShoppingCart.MdAddShoppingCart, {
43389
- size: sectionproperties.cartBtn_iconFontSize
43390
- })))), /*#__PURE__*/React__default["default"].createElement("div", {
43432
+ }, ImageContent()), /*#__PURE__*/React__default["default"].createElement("div", {
43391
43433
  "class": 'row m-0 w-100 text-start d-flex justify-content-start mt-2'
43392
43434
  }, sectionproperties.prodNameShow == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
43393
43435
  "class": "col-lg-12 d-flex justify-content-start p-0"
@@ -43400,7 +43442,10 @@ var NewProductcard = function NewProductcard(props) {
43400
43442
  textAlign: sectionproperties.productnamecentered == 'Centered' ? 'center' : langdetect == 'en' ? 'left' : 'right'
43401
43443
  }
43402
43444
  }, item.name)), /*#__PURE__*/React__default["default"].createElement("div", {
43403
- "class": "col-lg-12 d-flex align-items-center justify-content-start p-0"
43445
+ "class": "col-lg-12 d-flex align-items-center p-0",
43446
+ style: {
43447
+ justifyContent: sectionproperties.productnamecentered == 'Centered' ? 'center' : langdetect == 'en' ? 'left' : 'right'
43448
+ }
43404
43449
  }, sectionproperties.prodPriceShow == 'Show' && /*#__PURE__*/React__default["default"].createElement("p", {
43405
43450
  "class": "".concat(card_cssstyles.productPricestyles) + ' m-0 p-0 '
43406
43451
  }, langdetect == 'en' ? item.currencyname : '', " ", item.hassale == 1 ? item.defaultsaleprice : item.defaultprice, " ", langdetect == 'en' ? '' : item.currencyname, ' '), sectionproperties.prodsalePriceshow == 'Show' && item.hassale == 1 && /*#__PURE__*/React__default["default"].createElement("p", {
@@ -47237,7 +47282,7 @@ var Horizontalcard = function Horizontalcard(props) {
47237
47282
  fontSize: sectionproperties.badge_fontsize + 'px'
47238
47283
  }
47239
47284
  }, langdetect == 'en' ? sectionproperties.badgeContentEn : sectionproperties.badgeContentAr))), /*#__PURE__*/React__default["default"].createElement("div", {
47240
- "class": sectionproperties.image_show == 'Show' ? 'col-lg-8 col-md-8 col-sm-8 pt-2' : 'col-lg-12 col-md-12 col-sm-12 pt-2',
47285
+ "class": sectionproperties.image_show == 'show' ? 'col-lg-8 col-md-8 col-sm-8 pt-2' : 'col-lg-12 col-md-12 col-sm-12 pt-2',
47241
47286
  style: {
47242
47287
  paddingRight: langdetect == 'en' ? 0 : '',
47243
47288
  paddingLeft: langdetect == 'ar' ? 0 : '',