tabexseriescomponents 0.60.3 → 0.60.5
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 +87 -83
- package/dist/index.esm.js +85 -81
- package/dist/index.umd.js +89 -85
- package/package.json +1 -1
package/dist/index.cjs.js
CHANGED
|
@@ -49,6 +49,8 @@ require('@react-icons/all-files/hi/HiOutlinePlusCircle');
|
|
|
49
49
|
require('@react-icons/all-files/hi/HiOutlineMinusCircle');
|
|
50
50
|
var TextareaAutosize = require('react-textarea-autosize');
|
|
51
51
|
var InputRange = require('react-input-range');
|
|
52
|
+
var _asyncToGenerator = require('@babel/runtime/helpers/asyncToGenerator');
|
|
53
|
+
var _regeneratorRuntime = require('@babel/runtime/regenerator');
|
|
52
54
|
var AiOutlineClockCircle = require('@react-icons/all-files/ai/AiOutlineClockCircle');
|
|
53
55
|
var AiOutlinePlus = require('@react-icons/all-files/ai/AiOutlinePlus');
|
|
54
56
|
var AiOutlineCheck = require('@react-icons/all-files/ai/AiOutlineCheck');
|
|
@@ -69,8 +71,6 @@ var HiOutlineChevronLeft = require('@react-icons/all-files/hi/HiOutlineChevronLe
|
|
|
69
71
|
var GoGlobe = require('@react-icons/all-files/go/GoGlobe');
|
|
70
72
|
var VscGlobe = require('@react-icons/all-files/vsc/VscGlobe');
|
|
71
73
|
var Dropdown = require('react-bootstrap/Dropdown');
|
|
72
|
-
var _asyncToGenerator = require('@babel/runtime/helpers/asyncToGenerator');
|
|
73
|
-
var _regeneratorRuntime = require('@babel/runtime/regenerator');
|
|
74
74
|
var HiUser = require('@react-icons/all-files/hi/HiUser');
|
|
75
75
|
var GrMail = require('@react-icons/all-files/gr/GrMail');
|
|
76
76
|
var FiCheckCircle = require('@react-icons/all-files/fi/FiCheckCircle');
|
|
@@ -214,11 +214,11 @@ var ImageGallery__default = /*#__PURE__*/_interopDefaultLegacy(ImageGallery);
|
|
|
214
214
|
var ReactStars__default = /*#__PURE__*/_interopDefaultLegacy(ReactStars);
|
|
215
215
|
var TextareaAutosize__default = /*#__PURE__*/_interopDefaultLegacy(TextareaAutosize);
|
|
216
216
|
var InputRange__default = /*#__PURE__*/_interopDefaultLegacy(InputRange);
|
|
217
|
+
var _asyncToGenerator__default = /*#__PURE__*/_interopDefaultLegacy(_asyncToGenerator);
|
|
218
|
+
var _regeneratorRuntime__default = /*#__PURE__*/_interopDefaultLegacy(_regeneratorRuntime);
|
|
217
219
|
var DatePicker__default = /*#__PURE__*/_interopDefaultLegacy(DatePicker);
|
|
218
220
|
var ReactPlayer__default = /*#__PURE__*/_interopDefaultLegacy(ReactPlayer);
|
|
219
221
|
var Dropdown__default = /*#__PURE__*/_interopDefaultLegacy(Dropdown);
|
|
220
|
-
var _asyncToGenerator__default = /*#__PURE__*/_interopDefaultLegacy(_asyncToGenerator);
|
|
221
|
-
var _regeneratorRuntime__default = /*#__PURE__*/_interopDefaultLegacy(_regeneratorRuntime);
|
|
222
222
|
var Select__default = /*#__PURE__*/_interopDefaultLegacy(Select$5);
|
|
223
223
|
var PhoneInput__default = /*#__PURE__*/_interopDefaultLegacy(PhoneInput);
|
|
224
224
|
var ReactPaginate__default = /*#__PURE__*/_interopDefaultLegacy(ReactPaginate);
|
|
@@ -4016,7 +4016,7 @@ var Variantoptions_f_quantity_cond = function Variantoptions_f_quantity_cond(pro
|
|
|
4016
4016
|
function ownKeys$2C(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
4017
4017
|
function _objectSpread$2C(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$2C(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$2C(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
4018
4018
|
var ProductQuantityConditions_W_Variants = function ProductQuantityConditions_W_Variants(props) {
|
|
4019
|
-
var _fetchProductInfoQuer,
|
|
4019
|
+
var _fetchProductInfoQuer, _fetchProductInfoQuer8, _fetchProductInfoQuer9;
|
|
4020
4020
|
props.actions.lang;
|
|
4021
4021
|
var langdetect = props.actions.langdetect;
|
|
4022
4022
|
var authdetailsContext = props.actions.authdetailsContext;
|
|
@@ -4030,6 +4030,7 @@ var ProductQuantityConditions_W_Variants = function ProductQuantityConditions_W_
|
|
|
4030
4030
|
// const templatepropcontext = props.actions.templatepropcontext;
|
|
4031
4031
|
var AddtoCartContext = props.actions.AddtoCartContext;
|
|
4032
4032
|
var productinfo_cssstyles = props.actions.productinfo_cssstyles;
|
|
4033
|
+
var getprice_discountpriceprops = props.actions.getprice_discountpriceprops;
|
|
4033
4034
|
var _useState = React.useState([]),
|
|
4034
4035
|
_useState2 = _slicedToArray__default["default"](_useState, 2);
|
|
4035
4036
|
_useState2[0];
|
|
@@ -4068,6 +4069,11 @@ var ProductQuantityConditions_W_Variants = function ProductQuantityConditions_W_
|
|
|
4068
4069
|
return prev === uuid ? null : uuid;
|
|
4069
4070
|
}); // toggle
|
|
4070
4071
|
};
|
|
4072
|
+
function sleep(ms) {
|
|
4073
|
+
return new Promise(function (resolve) {
|
|
4074
|
+
return setTimeout(resolve, ms);
|
|
4075
|
+
});
|
|
4076
|
+
}
|
|
4071
4077
|
var handleVariantId = function handleVariantId(index, variantid) {
|
|
4072
4078
|
var temp = _toConsumableArray__default["default"](choosen_variant_ids_Ref.current);
|
|
4073
4079
|
if (variantid && variantid.trim() !== '') {
|
|
@@ -4152,7 +4158,17 @@ var ProductQuantityConditions_W_Variants = function ProductQuantityConditions_W_
|
|
|
4152
4158
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4153
4159
|
className: 'row w-100 ml-0 mr-0'
|
|
4154
4160
|
}, quantityconditions === null || quantityconditions === void 0 ? void 0 : quantityconditions.map(function (item, index) {
|
|
4155
|
-
var _fetchProductInfoQuer7
|
|
4161
|
+
var _fetchProductInfoQuer7;
|
|
4162
|
+
var price = 0;
|
|
4163
|
+
if ((fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer7 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer7 === void 0 || (_fetchProductInfoQuer7 = _fetchProductInfoQuer7.data) === null || _fetchProductInfoQuer7 === void 0 || (_fetchProductInfoQuer7 = _fetchProductInfoQuer7.productinfo) === null || _fetchProductInfoQuer7 === void 0 ? void 0 : _fetchProductInfoQuer7.hassale) == 1) {
|
|
4164
|
+
price = getprice_discountpriceprops('defaultsaleprice', 0, undefined);
|
|
4165
|
+
} else {
|
|
4166
|
+
price = getprice_discountpriceprops('defaultprice', 0, undefined);
|
|
4167
|
+
}
|
|
4168
|
+
var pricewithtotal = price * item.toq;
|
|
4169
|
+
var discountedPrice = pricewithtotal * (item.value / 100);
|
|
4170
|
+
var priceafterdiscount = pricewithtotal - discountedPrice;
|
|
4171
|
+
priceafterdiscount = priceafterdiscount.toFixed(2);
|
|
4156
4172
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4157
4173
|
"class": "col-lg-12 p-3 mb-3",
|
|
4158
4174
|
style: {
|
|
@@ -4181,11 +4197,11 @@ var ProductQuantityConditions_W_Variants = function ProductQuantityConditions_W_
|
|
|
4181
4197
|
style: {
|
|
4182
4198
|
color: '#5f848e'
|
|
4183
4199
|
}
|
|
4184
|
-
},
|
|
4200
|
+
}, priceafterdiscount, langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar), ' ', "\u0628\u062F\u0644\u0627 \u0645\u0646", ' ', /*#__PURE__*/React__default["default"].createElement("span", {
|
|
4185
4201
|
style: {
|
|
4186
4202
|
color: '#5f848e'
|
|
4187
4203
|
}
|
|
4188
|
-
},
|
|
4204
|
+
}, pricewithtotal, 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(reactAccessibleAccordion.AccordionItemPanel, {
|
|
4189
4205
|
className: "p-0"
|
|
4190
4206
|
}, _toConsumableArray__default["default"](Array(item.toq)).map(function (_, index) {
|
|
4191
4207
|
return /*#__PURE__*/React__default["default"].createElement(Variantoptions_f_quantity_cond, {
|
|
@@ -4222,28 +4238,48 @@ var ProductQuantityConditions_W_Variants = function ProductQuantityConditions_W_
|
|
|
4222
4238
|
;
|
|
4223
4239
|
}), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4224
4240
|
"class": "col-12 allcentered cursor-pointer mt-3",
|
|
4225
|
-
onClick: function
|
|
4226
|
-
var variantIds
|
|
4227
|
-
|
|
4241
|
+
onClick: /*#__PURE__*/_asyncToGenerator__default["default"](/*#__PURE__*/_regeneratorRuntime__default["default"].mark(function _callee() {
|
|
4242
|
+
var variantIds, counts, _i, _Object$entries, _Object$entries$_i, id, quantity;
|
|
4243
|
+
return _regeneratorRuntime__default["default"].wrap(function (_context) {
|
|
4244
|
+
while (1) switch (_context.prev = _context.next) {
|
|
4245
|
+
case 0:
|
|
4246
|
+
variantIds = choosen_variant_ids_Ref.current || [];
|
|
4247
|
+
counts = {}; // Count occurrences of each ID
|
|
4248
|
+
variantIds.forEach(function (id) {
|
|
4249
|
+
if (id != null && id !== '') {
|
|
4250
|
+
counts[id] = (counts[id] || 0) + 1;
|
|
4251
|
+
}
|
|
4252
|
+
});
|
|
4228
4253
|
|
|
4229
|
-
|
|
4230
|
-
|
|
4231
|
-
|
|
4232
|
-
|
|
4254
|
+
// Call addtocartfunc with quantity for each unique ID
|
|
4255
|
+
// Object.entries(counts).forEach(([id, quantity]) => {
|
|
4256
|
+
// addtocartfunc(false, id, quantity);
|
|
4257
|
+
// });
|
|
4258
|
+
_i = 0, _Object$entries = Object.entries(counts);
|
|
4259
|
+
case 1:
|
|
4260
|
+
if (!(_i < _Object$entries.length)) {
|
|
4261
|
+
_context.next = 4;
|
|
4262
|
+
break;
|
|
4263
|
+
}
|
|
4264
|
+
_Object$entries$_i = _slicedToArray__default["default"](_Object$entries[_i], 2), id = _Object$entries$_i[0], quantity = _Object$entries$_i[1];
|
|
4265
|
+
_context.next = 2;
|
|
4266
|
+
return addtocartfunc(false, id, quantity);
|
|
4267
|
+
case 2:
|
|
4268
|
+
_context.next = 3;
|
|
4269
|
+
return sleep(1500);
|
|
4270
|
+
case 3:
|
|
4271
|
+
_i++;
|
|
4272
|
+
_context.next = 1;
|
|
4273
|
+
break;
|
|
4274
|
+
case 4:
|
|
4275
|
+
case "end":
|
|
4276
|
+
return _context.stop();
|
|
4233
4277
|
}
|
|
4234
|
-
});
|
|
4235
|
-
|
|
4236
|
-
// Call addtocartfunc with quantity for each unique ID
|
|
4237
|
-
Object.entries(counts).forEach(function (_ref) {
|
|
4238
|
-
var _ref2 = _slicedToArray__default["default"](_ref, 2),
|
|
4239
|
-
id = _ref2[0],
|
|
4240
|
-
quantity = _ref2[1];
|
|
4241
|
-
addtocartfunc(false, id, quantity);
|
|
4242
|
-
});
|
|
4243
|
-
}
|
|
4278
|
+
}, _callee);
|
|
4279
|
+
}))
|
|
4244
4280
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
4245
4281
|
className: "".concat(productinfo_cssstyles.cart_btn, " ") + ' w-100 m-0 p-0 d-flex align-items-center justify-content-center mb-sm-2 '
|
|
4246
|
-
}, langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
4282
|
+
}, langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer8 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer8 === void 0 || (_fetchProductInfoQuer8 = _fetchProductInfoQuer8.data) === null || _fetchProductInfoQuer8 === void 0 || (_fetchProductInfoQuer8 = _fetchProductInfoQuer8.productinfo) === null || _fetchProductInfoQuer8 === void 0 ? void 0 : _fetchProductInfoQuer8.productactionbuttontext_en : fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer9 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer9 === void 0 || (_fetchProductInfoQuer9 = _fetchProductInfoQuer9.data) === null || _fetchProductInfoQuer9 === void 0 || (_fetchProductInfoQuer9 = _fetchProductInfoQuer9.productinfo) === null || _fetchProductInfoQuer9 === void 0 ? void 0 : _fetchProductInfoQuer9.productactionbuttontext_ar)))));
|
|
4247
4283
|
};
|
|
4248
4284
|
|
|
4249
4285
|
function ownKeys$2B(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
@@ -8802,12 +8838,6 @@ var Service_itemtype = function Service_itemtype(props) {
|
|
|
8802
8838
|
settitle(fetchProductInfoQueryContext.data.data.productinfo.name_en);
|
|
8803
8839
|
setshareUrl('https://' + authdetailsContext.instinfo.instcred.instexternaldomain + '/productinform/' + fetchProductInfoQueryContext.data.data.productinfo.productid);
|
|
8804
8840
|
}, [props.itemprops]);
|
|
8805
|
-
var Slideshowsettings = {
|
|
8806
|
-
indicators: true,
|
|
8807
|
-
arrows: true,
|
|
8808
|
-
pauseOnHover: false,
|
|
8809
|
-
scale: 2
|
|
8810
|
-
};
|
|
8811
8841
|
function stringIsEnglish(str) {
|
|
8812
8842
|
var titlelang = 'English';
|
|
8813
8843
|
var arabic = /[\u0600-\u06FF]/;
|
|
@@ -9505,9 +9535,6 @@ var Service_itemtype = function Service_itemtype(props) {
|
|
|
9505
9535
|
}
|
|
9506
9536
|
}, langdetect == 'en' ? sectionproperties.sizeguidecontentenglish : sectionproperties.sizeguidecontentarabic))), /*#__PURE__*/React__default["default"].createElement(Variantoptions, {
|
|
9507
9537
|
actions: props.actions
|
|
9508
|
-
}), /*#__PURE__*/React__default["default"].createElement(ProductExtras, {
|
|
9509
|
-
addtocartfunc: addtocartfunc,
|
|
9510
|
-
actions: props.actions
|
|
9511
9538
|
}), /*#__PURE__*/React__default["default"].createElement(Serviceinfotabs, {
|
|
9512
9539
|
actions: {
|
|
9513
9540
|
fetchProductInfoQueryContext: fetchProductInfoQueryContext,
|
|
@@ -9527,6 +9554,9 @@ var Service_itemtype = function Service_itemtype(props) {
|
|
|
9527
9554
|
StaticPagesLinksContext: StaticPagesLinksContext,
|
|
9528
9555
|
addtofavoritescontext: addtofavoritescontext
|
|
9529
9556
|
}
|
|
9557
|
+
}), /*#__PURE__*/React__default["default"].createElement(ProductExtras, {
|
|
9558
|
+
addtocartfunc: addtocartfunc,
|
|
9559
|
+
actions: props.actions
|
|
9530
9560
|
})))))), sectionproperties.descriptionstyle != 'Style 2' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
9531
9561
|
"class": "col-lg-12 d-flex align-items-center justify-content-start p-0 flex-column"
|
|
9532
9562
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
@@ -9601,53 +9631,27 @@ var Service_itemtype = function Service_itemtype(props) {
|
|
|
9601
9631
|
paddingTop: '60px'
|
|
9602
9632
|
}
|
|
9603
9633
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
9604
|
-
"class": 'col-lg-12 p-0 d-flex justify-content-center h-sm-auto
|
|
9605
|
-
style: {
|
|
9606
|
-
height: '60vh'
|
|
9607
|
-
}
|
|
9634
|
+
"class": 'col-lg-12 p-0 d-flex justify-content-center h-sm-auto mb-5'
|
|
9608
9635
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
9609
|
-
"class": '
|
|
9610
|
-
|
|
9611
|
-
|
|
9612
|
-
|
|
9613
|
-
|
|
9614
|
-
|
|
9615
|
-
|
|
9616
|
-
|
|
9617
|
-
|
|
9618
|
-
|
|
9619
|
-
|
|
9620
|
-
|
|
9621
|
-
|
|
9622
|
-
|
|
9623
|
-
|
|
9624
|
-
|
|
9625
|
-
|
|
9626
|
-
|
|
9627
|
-
|
|
9628
|
-
}
|
|
9629
|
-
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
9630
|
-
"class": 'p-0 align-items-center d-flex',
|
|
9631
|
-
key: index,
|
|
9632
|
-
style: _defineProperty__default["default"]({
|
|
9633
|
-
direction: langdetect == 'en' ? 'ltr' : 'rtl',
|
|
9634
|
-
width: '100%',
|
|
9635
|
-
height: '100%'
|
|
9636
|
-
}, "height", '60vh')
|
|
9637
|
-
}, /*#__PURE__*/React__default["default"].createElement(Imagekitimagecomp, {
|
|
9638
|
-
urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
|
|
9639
|
-
publicKey: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimagepublickey,
|
|
9640
|
-
path: item.path,
|
|
9641
|
-
style: {
|
|
9642
|
-
objectFit: sectionproperties.bgcovercontain == 'Contain' ? 'contain' : 'cover',
|
|
9643
|
-
margin: 0,
|
|
9644
|
-
padding: 0,
|
|
9645
|
-
width: '100%',
|
|
9646
|
-
height: '100%'
|
|
9647
|
-
}
|
|
9648
|
-
})));
|
|
9649
|
-
}
|
|
9650
|
-
}))))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
9636
|
+
"class": 'row m-0 w-100'
|
|
9637
|
+
}, (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer17 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer17 === void 0 || (_fetchProductInfoQuer17 = _fetchProductInfoQuer17.data) === null || _fetchProductInfoQuer17 === void 0 || (_fetchProductInfoQuer17 = _fetchProductInfoQuer17.productinfo) === null || _fetchProductInfoQuer17 === void 0 || (_fetchProductInfoQuer17 = _fetchProductInfoQuer17.productimages) === null || _fetchProductInfoQuer17 === void 0 ? void 0 : _fetchProductInfoQuer17.length) != 0 && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer18 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer18 === void 0 || (_fetchProductInfoQuer18 = _fetchProductInfoQuer18.data) === null || _fetchProductInfoQuer18 === void 0 || (_fetchProductInfoQuer18 = _fetchProductInfoQuer18.productinfo) === null || _fetchProductInfoQuer18 === void 0 ? void 0 : _fetchProductInfoQuer18.productimages.map(function (item, index) {
|
|
9638
|
+
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
9639
|
+
"class": "col-lg-3 col-md-4 col-md-6 mb-md-2 p-md-0"
|
|
9640
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
9641
|
+
"class": ' w-100 h-100',
|
|
9642
|
+
style: {}
|
|
9643
|
+
}, /*#__PURE__*/React__default["default"].createElement(Imagekitimagecomp, {
|
|
9644
|
+
urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
|
|
9645
|
+
publicKey: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimagepublickey,
|
|
9646
|
+
path: '/tr:w-500,h-500/' + item.path,
|
|
9647
|
+
style: {
|
|
9648
|
+
width: '100%',
|
|
9649
|
+
height: '100%',
|
|
9650
|
+
objectFit: 'contain'
|
|
9651
|
+
},
|
|
9652
|
+
loading: "lazy"
|
|
9653
|
+
})));
|
|
9654
|
+
})))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
9651
9655
|
"class": "col-lg-8"
|
|
9652
9656
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
9653
9657
|
"class": "row m-0 w-100",
|
|
@@ -9733,10 +9737,10 @@ var Service_itemtype = function Service_itemtype(props) {
|
|
|
9733
9737
|
borderRadius: 10,
|
|
9734
9738
|
boxShadow: '0 0 10px #ccc'
|
|
9735
9739
|
}
|
|
9736
|
-
}, /*#__PURE__*/React__default["default"].createElement(ProductHeaderPricing, {
|
|
9740
|
+
}, sectionproperties.showDefaultPricingSection == 'Show' && /*#__PURE__*/React__default["default"].createElement(ProductHeaderPricing, {
|
|
9737
9741
|
actions: props.actions,
|
|
9738
9742
|
srcfromprops: 'servicestyle2'
|
|
9739
|
-
}), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
9743
|
+
}), sectionproperties.showDefaultPricingSection == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
9740
9744
|
"class": "col-12 p-0"
|
|
9741
9745
|
}, /*#__PURE__*/React__default["default"].createElement("hr", null)), /*#__PURE__*/React__default["default"].createElement(ProductExtras, {
|
|
9742
9746
|
actions: props.actions,
|
package/dist/index.esm.js
CHANGED
|
@@ -47,6 +47,8 @@ import '@react-icons/all-files/hi/HiOutlinePlusCircle';
|
|
|
47
47
|
import '@react-icons/all-files/hi/HiOutlineMinusCircle';
|
|
48
48
|
import TextareaAutosize from 'react-textarea-autosize';
|
|
49
49
|
import InputRange from 'react-input-range';
|
|
50
|
+
import _asyncToGenerator from '@babel/runtime/helpers/asyncToGenerator';
|
|
51
|
+
import _regeneratorRuntime from '@babel/runtime/regenerator';
|
|
50
52
|
import { AiOutlineClockCircle } from '@react-icons/all-files/ai/AiOutlineClockCircle';
|
|
51
53
|
import { AiOutlinePlus } from '@react-icons/all-files/ai/AiOutlinePlus';
|
|
52
54
|
import { AiOutlineCheck } from '@react-icons/all-files/ai/AiOutlineCheck';
|
|
@@ -67,8 +69,6 @@ import { HiOutlineChevronLeft } from '@react-icons/all-files/hi/HiOutlineChevron
|
|
|
67
69
|
import { GoGlobe } from '@react-icons/all-files/go/GoGlobe';
|
|
68
70
|
import { VscGlobe } from '@react-icons/all-files/vsc/VscGlobe';
|
|
69
71
|
import Dropdown from 'react-bootstrap/Dropdown';
|
|
70
|
-
import _asyncToGenerator from '@babel/runtime/helpers/asyncToGenerator';
|
|
71
|
-
import _regeneratorRuntime from '@babel/runtime/regenerator';
|
|
72
72
|
import { HiUser } from '@react-icons/all-files/hi/HiUser';
|
|
73
73
|
import { GrMail } from '@react-icons/all-files/gr/GrMail';
|
|
74
74
|
import { FiCheckCircle } from '@react-icons/all-files/fi/FiCheckCircle';
|
|
@@ -3965,7 +3965,7 @@ var Variantoptions_f_quantity_cond = function Variantoptions_f_quantity_cond(pro
|
|
|
3965
3965
|
function ownKeys$2C(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
3966
3966
|
function _objectSpread$2C(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$2C(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$2C(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
3967
3967
|
var ProductQuantityConditions_W_Variants = function ProductQuantityConditions_W_Variants(props) {
|
|
3968
|
-
var _fetchProductInfoQuer,
|
|
3968
|
+
var _fetchProductInfoQuer, _fetchProductInfoQuer8, _fetchProductInfoQuer9;
|
|
3969
3969
|
props.actions.lang;
|
|
3970
3970
|
var langdetect = props.actions.langdetect;
|
|
3971
3971
|
var authdetailsContext = props.actions.authdetailsContext;
|
|
@@ -3979,6 +3979,7 @@ var ProductQuantityConditions_W_Variants = function ProductQuantityConditions_W_
|
|
|
3979
3979
|
// const templatepropcontext = props.actions.templatepropcontext;
|
|
3980
3980
|
var AddtoCartContext = props.actions.AddtoCartContext;
|
|
3981
3981
|
var productinfo_cssstyles = props.actions.productinfo_cssstyles;
|
|
3982
|
+
var getprice_discountpriceprops = props.actions.getprice_discountpriceprops;
|
|
3982
3983
|
var _useState = useState([]),
|
|
3983
3984
|
_useState2 = _slicedToArray(_useState, 2);
|
|
3984
3985
|
_useState2[0];
|
|
@@ -4017,6 +4018,11 @@ var ProductQuantityConditions_W_Variants = function ProductQuantityConditions_W_
|
|
|
4017
4018
|
return prev === uuid ? null : uuid;
|
|
4018
4019
|
}); // toggle
|
|
4019
4020
|
};
|
|
4021
|
+
function sleep(ms) {
|
|
4022
|
+
return new Promise(function (resolve) {
|
|
4023
|
+
return setTimeout(resolve, ms);
|
|
4024
|
+
});
|
|
4025
|
+
}
|
|
4020
4026
|
var handleVariantId = function handleVariantId(index, variantid) {
|
|
4021
4027
|
var temp = _toConsumableArray(choosen_variant_ids_Ref.current);
|
|
4022
4028
|
if (variantid && variantid.trim() !== '') {
|
|
@@ -4101,7 +4107,17 @@ var ProductQuantityConditions_W_Variants = function ProductQuantityConditions_W_
|
|
|
4101
4107
|
}, /*#__PURE__*/React.createElement("div", {
|
|
4102
4108
|
className: 'row w-100 ml-0 mr-0'
|
|
4103
4109
|
}, quantityconditions === null || quantityconditions === void 0 ? void 0 : quantityconditions.map(function (item, index) {
|
|
4104
|
-
var _fetchProductInfoQuer7
|
|
4110
|
+
var _fetchProductInfoQuer7;
|
|
4111
|
+
var price = 0;
|
|
4112
|
+
if ((fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer7 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer7 === void 0 || (_fetchProductInfoQuer7 = _fetchProductInfoQuer7.data) === null || _fetchProductInfoQuer7 === void 0 || (_fetchProductInfoQuer7 = _fetchProductInfoQuer7.productinfo) === null || _fetchProductInfoQuer7 === void 0 ? void 0 : _fetchProductInfoQuer7.hassale) == 1) {
|
|
4113
|
+
price = getprice_discountpriceprops('defaultsaleprice', 0, undefined);
|
|
4114
|
+
} else {
|
|
4115
|
+
price = getprice_discountpriceprops('defaultprice', 0, undefined);
|
|
4116
|
+
}
|
|
4117
|
+
var pricewithtotal = price * item.toq;
|
|
4118
|
+
var discountedPrice = pricewithtotal * (item.value / 100);
|
|
4119
|
+
var priceafterdiscount = pricewithtotal - discountedPrice;
|
|
4120
|
+
priceafterdiscount = priceafterdiscount.toFixed(2);
|
|
4105
4121
|
return /*#__PURE__*/React.createElement("div", {
|
|
4106
4122
|
"class": "col-lg-12 p-3 mb-3",
|
|
4107
4123
|
style: {
|
|
@@ -4130,11 +4146,11 @@ var ProductQuantityConditions_W_Variants = function ProductQuantityConditions_W_
|
|
|
4130
4146
|
style: {
|
|
4131
4147
|
color: '#5f848e'
|
|
4132
4148
|
}
|
|
4133
|
-
},
|
|
4149
|
+
}, priceafterdiscount, langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar), ' ', "\u0628\u062F\u0644\u0627 \u0645\u0646", ' ', /*#__PURE__*/React.createElement("span", {
|
|
4134
4150
|
style: {
|
|
4135
4151
|
color: '#5f848e'
|
|
4136
4152
|
}
|
|
4137
|
-
},
|
|
4153
|
+
}, pricewithtotal, langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar)))), /*#__PURE__*/React.createElement(AccordionItemPanel, {
|
|
4138
4154
|
className: "p-0"
|
|
4139
4155
|
}, _toConsumableArray(Array(item.toq)).map(function (_, index) {
|
|
4140
4156
|
return /*#__PURE__*/React.createElement(Variantoptions_f_quantity_cond, {
|
|
@@ -4171,28 +4187,48 @@ var ProductQuantityConditions_W_Variants = function ProductQuantityConditions_W_
|
|
|
4171
4187
|
;
|
|
4172
4188
|
}), /*#__PURE__*/React.createElement("div", {
|
|
4173
4189
|
"class": "col-12 allcentered cursor-pointer mt-3",
|
|
4174
|
-
onClick: function
|
|
4175
|
-
var variantIds
|
|
4176
|
-
|
|
4190
|
+
onClick: /*#__PURE__*/_asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee() {
|
|
4191
|
+
var variantIds, counts, _i, _Object$entries, _Object$entries$_i, id, quantity;
|
|
4192
|
+
return _regeneratorRuntime.wrap(function (_context) {
|
|
4193
|
+
while (1) switch (_context.prev = _context.next) {
|
|
4194
|
+
case 0:
|
|
4195
|
+
variantIds = choosen_variant_ids_Ref.current || [];
|
|
4196
|
+
counts = {}; // Count occurrences of each ID
|
|
4197
|
+
variantIds.forEach(function (id) {
|
|
4198
|
+
if (id != null && id !== '') {
|
|
4199
|
+
counts[id] = (counts[id] || 0) + 1;
|
|
4200
|
+
}
|
|
4201
|
+
});
|
|
4177
4202
|
|
|
4178
|
-
|
|
4179
|
-
|
|
4180
|
-
|
|
4181
|
-
|
|
4203
|
+
// Call addtocartfunc with quantity for each unique ID
|
|
4204
|
+
// Object.entries(counts).forEach(([id, quantity]) => {
|
|
4205
|
+
// addtocartfunc(false, id, quantity);
|
|
4206
|
+
// });
|
|
4207
|
+
_i = 0, _Object$entries = Object.entries(counts);
|
|
4208
|
+
case 1:
|
|
4209
|
+
if (!(_i < _Object$entries.length)) {
|
|
4210
|
+
_context.next = 4;
|
|
4211
|
+
break;
|
|
4212
|
+
}
|
|
4213
|
+
_Object$entries$_i = _slicedToArray(_Object$entries[_i], 2), id = _Object$entries$_i[0], quantity = _Object$entries$_i[1];
|
|
4214
|
+
_context.next = 2;
|
|
4215
|
+
return addtocartfunc(false, id, quantity);
|
|
4216
|
+
case 2:
|
|
4217
|
+
_context.next = 3;
|
|
4218
|
+
return sleep(1500);
|
|
4219
|
+
case 3:
|
|
4220
|
+
_i++;
|
|
4221
|
+
_context.next = 1;
|
|
4222
|
+
break;
|
|
4223
|
+
case 4:
|
|
4224
|
+
case "end":
|
|
4225
|
+
return _context.stop();
|
|
4182
4226
|
}
|
|
4183
|
-
});
|
|
4184
|
-
|
|
4185
|
-
// Call addtocartfunc with quantity for each unique ID
|
|
4186
|
-
Object.entries(counts).forEach(function (_ref) {
|
|
4187
|
-
var _ref2 = _slicedToArray(_ref, 2),
|
|
4188
|
-
id = _ref2[0],
|
|
4189
|
-
quantity = _ref2[1];
|
|
4190
|
-
addtocartfunc(false, id, quantity);
|
|
4191
|
-
});
|
|
4192
|
-
}
|
|
4227
|
+
}, _callee);
|
|
4228
|
+
}))
|
|
4193
4229
|
}, /*#__PURE__*/React.createElement("p", {
|
|
4194
4230
|
className: "".concat(productinfo_cssstyles.cart_btn, " ") + ' w-100 m-0 p-0 d-flex align-items-center justify-content-center mb-sm-2 '
|
|
4195
|
-
}, langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
4231
|
+
}, langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer8 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer8 === void 0 || (_fetchProductInfoQuer8 = _fetchProductInfoQuer8.data) === null || _fetchProductInfoQuer8 === void 0 || (_fetchProductInfoQuer8 = _fetchProductInfoQuer8.productinfo) === null || _fetchProductInfoQuer8 === void 0 ? void 0 : _fetchProductInfoQuer8.productactionbuttontext_en : fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer9 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer9 === void 0 || (_fetchProductInfoQuer9 = _fetchProductInfoQuer9.data) === null || _fetchProductInfoQuer9 === void 0 || (_fetchProductInfoQuer9 = _fetchProductInfoQuer9.productinfo) === null || _fetchProductInfoQuer9 === void 0 ? void 0 : _fetchProductInfoQuer9.productactionbuttontext_ar)))));
|
|
4196
4232
|
};
|
|
4197
4233
|
|
|
4198
4234
|
function ownKeys$2B(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
@@ -8751,12 +8787,6 @@ var Service_itemtype = function Service_itemtype(props) {
|
|
|
8751
8787
|
settitle(fetchProductInfoQueryContext.data.data.productinfo.name_en);
|
|
8752
8788
|
setshareUrl('https://' + authdetailsContext.instinfo.instcred.instexternaldomain + '/productinform/' + fetchProductInfoQueryContext.data.data.productinfo.productid);
|
|
8753
8789
|
}, [props.itemprops]);
|
|
8754
|
-
var Slideshowsettings = {
|
|
8755
|
-
indicators: true,
|
|
8756
|
-
arrows: true,
|
|
8757
|
-
pauseOnHover: false,
|
|
8758
|
-
scale: 2
|
|
8759
|
-
};
|
|
8760
8790
|
function stringIsEnglish(str) {
|
|
8761
8791
|
var titlelang = 'English';
|
|
8762
8792
|
var arabic = /[\u0600-\u06FF]/;
|
|
@@ -9454,9 +9484,6 @@ var Service_itemtype = function Service_itemtype(props) {
|
|
|
9454
9484
|
}
|
|
9455
9485
|
}, langdetect == 'en' ? sectionproperties.sizeguidecontentenglish : sectionproperties.sizeguidecontentarabic))), /*#__PURE__*/React.createElement(Variantoptions, {
|
|
9456
9486
|
actions: props.actions
|
|
9457
|
-
}), /*#__PURE__*/React.createElement(ProductExtras, {
|
|
9458
|
-
addtocartfunc: addtocartfunc,
|
|
9459
|
-
actions: props.actions
|
|
9460
9487
|
}), /*#__PURE__*/React.createElement(Serviceinfotabs, {
|
|
9461
9488
|
actions: {
|
|
9462
9489
|
fetchProductInfoQueryContext: fetchProductInfoQueryContext,
|
|
@@ -9476,6 +9503,9 @@ var Service_itemtype = function Service_itemtype(props) {
|
|
|
9476
9503
|
StaticPagesLinksContext: StaticPagesLinksContext,
|
|
9477
9504
|
addtofavoritescontext: addtofavoritescontext
|
|
9478
9505
|
}
|
|
9506
|
+
}), /*#__PURE__*/React.createElement(ProductExtras, {
|
|
9507
|
+
addtocartfunc: addtocartfunc,
|
|
9508
|
+
actions: props.actions
|
|
9479
9509
|
})))))), sectionproperties.descriptionstyle != 'Style 2' && /*#__PURE__*/React.createElement("div", {
|
|
9480
9510
|
"class": "col-lg-12 d-flex align-items-center justify-content-start p-0 flex-column"
|
|
9481
9511
|
}, /*#__PURE__*/React.createElement("p", {
|
|
@@ -9550,53 +9580,27 @@ var Service_itemtype = function Service_itemtype(props) {
|
|
|
9550
9580
|
paddingTop: '60px'
|
|
9551
9581
|
}
|
|
9552
9582
|
}, /*#__PURE__*/React.createElement("div", {
|
|
9553
|
-
"class": 'col-lg-12 p-0 d-flex justify-content-center h-sm-auto
|
|
9554
|
-
style: {
|
|
9555
|
-
height: '60vh'
|
|
9556
|
-
}
|
|
9583
|
+
"class": 'col-lg-12 p-0 d-flex justify-content-center h-sm-auto mb-5'
|
|
9557
9584
|
}, /*#__PURE__*/React.createElement("div", {
|
|
9558
|
-
"class": '
|
|
9559
|
-
|
|
9560
|
-
|
|
9561
|
-
|
|
9562
|
-
|
|
9563
|
-
|
|
9564
|
-
|
|
9565
|
-
|
|
9566
|
-
|
|
9567
|
-
|
|
9568
|
-
|
|
9569
|
-
|
|
9570
|
-
|
|
9571
|
-
|
|
9572
|
-
|
|
9573
|
-
|
|
9574
|
-
|
|
9575
|
-
|
|
9576
|
-
|
|
9577
|
-
}
|
|
9578
|
-
}, /*#__PURE__*/React.createElement("div", {
|
|
9579
|
-
"class": 'p-0 align-items-center d-flex',
|
|
9580
|
-
key: index,
|
|
9581
|
-
style: _defineProperty({
|
|
9582
|
-
direction: langdetect == 'en' ? 'ltr' : 'rtl',
|
|
9583
|
-
width: '100%',
|
|
9584
|
-
height: '100%'
|
|
9585
|
-
}, "height", '60vh')
|
|
9586
|
-
}, /*#__PURE__*/React.createElement(Imagekitimagecomp, {
|
|
9587
|
-
urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
|
|
9588
|
-
publicKey: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimagepublickey,
|
|
9589
|
-
path: item.path,
|
|
9590
|
-
style: {
|
|
9591
|
-
objectFit: sectionproperties.bgcovercontain == 'Contain' ? 'contain' : 'cover',
|
|
9592
|
-
margin: 0,
|
|
9593
|
-
padding: 0,
|
|
9594
|
-
width: '100%',
|
|
9595
|
-
height: '100%'
|
|
9596
|
-
}
|
|
9597
|
-
})));
|
|
9598
|
-
}
|
|
9599
|
-
}))))), /*#__PURE__*/React.createElement("div", {
|
|
9585
|
+
"class": 'row m-0 w-100'
|
|
9586
|
+
}, (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer17 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer17 === void 0 || (_fetchProductInfoQuer17 = _fetchProductInfoQuer17.data) === null || _fetchProductInfoQuer17 === void 0 || (_fetchProductInfoQuer17 = _fetchProductInfoQuer17.productinfo) === null || _fetchProductInfoQuer17 === void 0 || (_fetchProductInfoQuer17 = _fetchProductInfoQuer17.productimages) === null || _fetchProductInfoQuer17 === void 0 ? void 0 : _fetchProductInfoQuer17.length) != 0 && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer18 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer18 === void 0 || (_fetchProductInfoQuer18 = _fetchProductInfoQuer18.data) === null || _fetchProductInfoQuer18 === void 0 || (_fetchProductInfoQuer18 = _fetchProductInfoQuer18.productinfo) === null || _fetchProductInfoQuer18 === void 0 ? void 0 : _fetchProductInfoQuer18.productimages.map(function (item, index) {
|
|
9587
|
+
return /*#__PURE__*/React.createElement("div", {
|
|
9588
|
+
"class": "col-lg-3 col-md-4 col-md-6 mb-md-2 p-md-0"
|
|
9589
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
9590
|
+
"class": ' w-100 h-100',
|
|
9591
|
+
style: {}
|
|
9592
|
+
}, /*#__PURE__*/React.createElement(Imagekitimagecomp, {
|
|
9593
|
+
urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
|
|
9594
|
+
publicKey: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimagepublickey,
|
|
9595
|
+
path: '/tr:w-500,h-500/' + item.path,
|
|
9596
|
+
style: {
|
|
9597
|
+
width: '100%',
|
|
9598
|
+
height: '100%',
|
|
9599
|
+
objectFit: 'contain'
|
|
9600
|
+
},
|
|
9601
|
+
loading: "lazy"
|
|
9602
|
+
})));
|
|
9603
|
+
})))), /*#__PURE__*/React.createElement("div", {
|
|
9600
9604
|
"class": "col-lg-8"
|
|
9601
9605
|
}, /*#__PURE__*/React.createElement("div", {
|
|
9602
9606
|
"class": "row m-0 w-100",
|
|
@@ -9682,10 +9686,10 @@ var Service_itemtype = function Service_itemtype(props) {
|
|
|
9682
9686
|
borderRadius: 10,
|
|
9683
9687
|
boxShadow: '0 0 10px #ccc'
|
|
9684
9688
|
}
|
|
9685
|
-
}, /*#__PURE__*/React.createElement(ProductHeaderPricing, {
|
|
9689
|
+
}, sectionproperties.showDefaultPricingSection == 'Show' && /*#__PURE__*/React.createElement(ProductHeaderPricing, {
|
|
9686
9690
|
actions: props.actions,
|
|
9687
9691
|
srcfromprops: 'servicestyle2'
|
|
9688
|
-
}), /*#__PURE__*/React.createElement("div", {
|
|
9692
|
+
}), sectionproperties.showDefaultPricingSection == 'Show' && /*#__PURE__*/React.createElement("div", {
|
|
9689
9693
|
"class": "col-12 p-0"
|
|
9690
9694
|
}, /*#__PURE__*/React.createElement("hr", null)), /*#__PURE__*/React.createElement(ProductExtras, {
|
|
9691
9695
|
actions: props.actions,
|
package/dist/index.umd.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
(function (global, factory) {
|
|
2
|
-
typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory(require('@babel/runtime/helpers/slicedToArray'), require('react'), require('@babel/runtime/helpers/classCallCheck'), require('@babel/runtime/helpers/createClass'), require('@babel/runtime/helpers/possibleConstructorReturn'), require('@babel/runtime/helpers/getPrototypeOf'), require('@babel/runtime/helpers/inherits'), require('@babel/runtime/helpers/defineProperty'), require('universal-cookie'), require('react-cssfx-loading'), require('glamor'), require('@react-oauth/google'), require('jwt-decode'), require('@react-icons/all-files/fa/FaFacebookF'), require('@react-icons/all-files/ai/AiOutlineUser'), require('@react-icons/all-files/io/IoMdClose'), require('react-bootstrap'), require('imagekitio-react'), require('@babel/runtime/helpers/toConsumableArray'), require('@babel/runtime/helpers/typeof'), require('@babel/runtime/helpers/extends'), require('react-image-gallery'), require('@react-icons/all-files/md/MdAddShoppingCart'), require('@react-icons/all-files/io5/IoBagHandleOutline'), require('@react-icons/all-files/bs/BsBag'), require('@react-icons/all-files/cg/CgShoppingBag'), require('@react-icons/all-files/fa/FaRegHeart'), require('@react-icons/all-files/fa/FaHeart'), require('@react-icons/all-files/fi/FiShoppingBag'), require('@react-icons/all-files/fi/FiShoppingCart'), require('@react-icons/all-files/ai/AiFillStar'), require('@react-icons/all-files/ai/AiOutlineStar'), require('@react-icons/all-files/fa/FaWhatsapp'), require('@react-icons/all-files/io5/IoCall'), require('@react-icons/all-files/fa/FaPlus'), require('@react-icons/all-files/fa/FaMinus'), require('@react-icons/all-files/fi/FiBox'), require('react-slideshow-image'), require('@react-icons/all-files/ri/RiArrowGoBackLine'), require('react-accessible-accordion'), require('react-share'), require('@react-icons/all-files/fi/FiMinus'), require('@react-icons/all-files/fi/FiPlus'), require('react-rating-stars-component'), require('@react-icons/all-files/fi/FiLayers'), require('@react-icons/all-files/hi/HiOutlinePlusCircle'), require('@react-icons/all-files/hi/HiOutlineMinusCircle'), require('react-textarea-autosize'), require('react-input-range'), require('@react-icons/all-files/ai/AiOutlineClockCircle'), require('@react-icons/all-files/ai/AiOutlinePlus'), require('@react-icons/all-files/ai/AiOutlineCheck'), require('react-datepicker'), require('@react-icons/all-files/fi/FiCalendar'), require('react-horizontal-scrolling-menu'), require('@mui/material'), require('@react-icons/all-files/hi/HiOutlinePhone'), require('@react-icons/all-files/ai/AiOutlineMail'), require('@react-icons/all-files/fa/FaShippingFast'), require('@react-icons/all-files/ri/RiSecurePaymentLine'), require('react-player'), require('@react-icons/all-files/ai/AiOutlineSecurityScan'), require('@react-icons/all-files/fa/FaStar'), require('@react-icons/all-files/io5/IoLocationSharp'), require('@react-icons/all-files/hi/HiOutlineChevronRight'), require('@react-icons/all-files/hi/HiOutlineChevronLeft'), require('@react-icons/all-files/go/GoGlobe'), require('@react-icons/all-files/vsc/VscGlobe'), require('react-bootstrap/Dropdown'), require('@
|
|
3
|
-
typeof define === 'function' && define.amd ? define(['@babel/runtime/helpers/slicedToArray', 'react', '@babel/runtime/helpers/classCallCheck', '@babel/runtime/helpers/createClass', '@babel/runtime/helpers/possibleConstructorReturn', '@babel/runtime/helpers/getPrototypeOf', '@babel/runtime/helpers/inherits', '@babel/runtime/helpers/defineProperty', 'universal-cookie', 'react-cssfx-loading', 'glamor', '@react-oauth/google', 'jwt-decode', '@react-icons/all-files/fa/FaFacebookF', '@react-icons/all-files/ai/AiOutlineUser', '@react-icons/all-files/io/IoMdClose', 'react-bootstrap', 'imagekitio-react', '@babel/runtime/helpers/toConsumableArray', '@babel/runtime/helpers/typeof', '@babel/runtime/helpers/extends', 'react-image-gallery', '@react-icons/all-files/md/MdAddShoppingCart', '@react-icons/all-files/io5/IoBagHandleOutline', '@react-icons/all-files/bs/BsBag', '@react-icons/all-files/cg/CgShoppingBag', '@react-icons/all-files/fa/FaRegHeart', '@react-icons/all-files/fa/FaHeart', '@react-icons/all-files/fi/FiShoppingBag', '@react-icons/all-files/fi/FiShoppingCart', '@react-icons/all-files/ai/AiFillStar', '@react-icons/all-files/ai/AiOutlineStar', '@react-icons/all-files/fa/FaWhatsapp', '@react-icons/all-files/io5/IoCall', '@react-icons/all-files/fa/FaPlus', '@react-icons/all-files/fa/FaMinus', '@react-icons/all-files/fi/FiBox', 'react-slideshow-image', '@react-icons/all-files/ri/RiArrowGoBackLine', 'react-accessible-accordion', 'react-share', '@react-icons/all-files/fi/FiMinus', '@react-icons/all-files/fi/FiPlus', 'react-rating-stars-component', '@react-icons/all-files/fi/FiLayers', '@react-icons/all-files/hi/HiOutlinePlusCircle', '@react-icons/all-files/hi/HiOutlineMinusCircle', 'react-textarea-autosize', 'react-input-range', '@react-icons/all-files/ai/AiOutlineClockCircle', '@react-icons/all-files/ai/AiOutlinePlus', '@react-icons/all-files/ai/AiOutlineCheck', 'react-datepicker', '@react-icons/all-files/fi/FiCalendar', 'react-horizontal-scrolling-menu', '@mui/material', '@react-icons/all-files/hi/HiOutlinePhone', '@react-icons/all-files/ai/AiOutlineMail', '@react-icons/all-files/fa/FaShippingFast', '@react-icons/all-files/ri/RiSecurePaymentLine', 'react-player', '@react-icons/all-files/ai/AiOutlineSecurityScan', '@react-icons/all-files/fa/FaStar', '@react-icons/all-files/io5/IoLocationSharp', '@react-icons/all-files/hi/HiOutlineChevronRight', '@react-icons/all-files/hi/HiOutlineChevronLeft', '@react-icons/all-files/go/GoGlobe', '@react-icons/all-files/vsc/VscGlobe', 'react-bootstrap/Dropdown', '@
|
|
4
|
-
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, global.tabexseriescomponents = factory(global._slicedToArray, global.React, global._classCallCheck, global._createClass, global._possibleConstructorReturn, global._getPrototypeOf, global._inherits, global._defineProperty, global.Cookies, global.reactCssfxLoading, global.glamor, global.google, global.jwtDecode, global.FaFacebookF, global.AiOutlineUser, global.IoMdClose, global.reactBootstrap, global.imagekitioReact, global._toConsumableArray, global._typeof, global._extends, global.ImageGallery, global.MdAddShoppingCart, global.IoBagHandleOutline, global.BsBag, global.CgShoppingBag, global.FaRegHeart, global.FaHeart$1, global.FiShoppingBag, global.FiShoppingCart, global.AiFillStar$1, global.AiOutlineStar, global.FaWhatsapp, global.IoCall, global.FaPlus, global.FaMinus, global.FiBox$1, global.reactSlideshowImage, global.RiArrowGoBackLine, global.reactAccessibleAccordion, global.reactShare, global.FiMinus, global.FiPlus, global.ReactStars, global.FiLayers, null, null, global.TextareaAutosize, global.InputRange, global.AiOutlineClockCircle, global.AiOutlinePlus, global.AiOutlineCheck, global.DatePicker, global.FiCalendar, global.reactHorizontalScrollingMenu, global.material, global.HiOutlinePhone, global.AiOutlineMail, global.FaShippingFast, global.RiSecurePaymentLine, global.ReactPlayer, global.AiOutlineSecurityScan, global.FaStar, global.IoLocationSharp, global.HiOutlineChevronRight, global.HiOutlineChevronLeft, global.GoGlobe, global.VscGlobe, global.Dropdown, global.
|
|
5
|
-
})(this, (function (_slicedToArray, React, _classCallCheck, _createClass, _possibleConstructorReturn, _getPrototypeOf, _inherits, _defineProperty, Cookies, reactCssfxLoading, glamor, google, jwtDecode, FaFacebookF, AiOutlineUser, IoMdClose, reactBootstrap, imagekitioReact, _toConsumableArray, _typeof, _extends, ImageGallery, MdAddShoppingCart, IoBagHandleOutline, BsBag, CgShoppingBag, FaRegHeart, FaHeart$1, FiShoppingBag, FiShoppingCart, AiFillStar$1, AiOutlineStar, FaWhatsapp, IoCall, FaPlus, FaMinus, FiBox$1, reactSlideshowImage, RiArrowGoBackLine, reactAccessibleAccordion, reactShare, FiMinus, FiPlus, ReactStars, FiLayers, HiOutlinePlusCircle, HiOutlineMinusCircle, TextareaAutosize, InputRange, AiOutlineClockCircle, AiOutlinePlus, AiOutlineCheck, DatePicker, FiCalendar, reactHorizontalScrollingMenu, material, HiOutlinePhone, AiOutlineMail, FaShippingFast, RiSecurePaymentLine, ReactPlayer, AiOutlineSecurityScan, FaStar, IoLocationSharp, HiOutlineChevronRight, HiOutlineChevronLeft, GoGlobe, VscGlobe, Dropdown,
|
|
2
|
+
typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory(require('@babel/runtime/helpers/slicedToArray'), require('react'), require('@babel/runtime/helpers/classCallCheck'), require('@babel/runtime/helpers/createClass'), require('@babel/runtime/helpers/possibleConstructorReturn'), require('@babel/runtime/helpers/getPrototypeOf'), require('@babel/runtime/helpers/inherits'), require('@babel/runtime/helpers/defineProperty'), require('universal-cookie'), require('react-cssfx-loading'), require('glamor'), require('@react-oauth/google'), require('jwt-decode'), require('@react-icons/all-files/fa/FaFacebookF'), require('@react-icons/all-files/ai/AiOutlineUser'), require('@react-icons/all-files/io/IoMdClose'), require('react-bootstrap'), require('imagekitio-react'), require('@babel/runtime/helpers/toConsumableArray'), require('@babel/runtime/helpers/typeof'), require('@babel/runtime/helpers/extends'), require('react-image-gallery'), require('@react-icons/all-files/md/MdAddShoppingCart'), require('@react-icons/all-files/io5/IoBagHandleOutline'), require('@react-icons/all-files/bs/BsBag'), require('@react-icons/all-files/cg/CgShoppingBag'), require('@react-icons/all-files/fa/FaRegHeart'), require('@react-icons/all-files/fa/FaHeart'), require('@react-icons/all-files/fi/FiShoppingBag'), require('@react-icons/all-files/fi/FiShoppingCart'), require('@react-icons/all-files/ai/AiFillStar'), require('@react-icons/all-files/ai/AiOutlineStar'), require('@react-icons/all-files/fa/FaWhatsapp'), require('@react-icons/all-files/io5/IoCall'), require('@react-icons/all-files/fa/FaPlus'), require('@react-icons/all-files/fa/FaMinus'), require('@react-icons/all-files/fi/FiBox'), require('react-slideshow-image'), require('@react-icons/all-files/ri/RiArrowGoBackLine'), require('react-accessible-accordion'), require('react-share'), require('@react-icons/all-files/fi/FiMinus'), require('@react-icons/all-files/fi/FiPlus'), require('react-rating-stars-component'), require('@react-icons/all-files/fi/FiLayers'), require('@react-icons/all-files/hi/HiOutlinePlusCircle'), require('@react-icons/all-files/hi/HiOutlineMinusCircle'), require('react-textarea-autosize'), require('react-input-range'), require('@babel/runtime/helpers/asyncToGenerator'), require('@babel/runtime/regenerator'), require('@react-icons/all-files/ai/AiOutlineClockCircle'), require('@react-icons/all-files/ai/AiOutlinePlus'), require('@react-icons/all-files/ai/AiOutlineCheck'), require('react-datepicker'), require('@react-icons/all-files/fi/FiCalendar'), require('react-horizontal-scrolling-menu'), require('@mui/material'), require('@react-icons/all-files/hi/HiOutlinePhone'), require('@react-icons/all-files/ai/AiOutlineMail'), require('@react-icons/all-files/fa/FaShippingFast'), require('@react-icons/all-files/ri/RiSecurePaymentLine'), require('react-player'), require('@react-icons/all-files/ai/AiOutlineSecurityScan'), require('@react-icons/all-files/fa/FaStar'), require('@react-icons/all-files/io5/IoLocationSharp'), require('@react-icons/all-files/hi/HiOutlineChevronRight'), require('@react-icons/all-files/hi/HiOutlineChevronLeft'), require('@react-icons/all-files/go/GoGlobe'), require('@react-icons/all-files/vsc/VscGlobe'), require('react-bootstrap/Dropdown'), require('@react-icons/all-files/hi/HiUser'), require('@react-icons/all-files/gr/GrMail'), require('@react-icons/all-files/fi/FiCheckCircle'), require('@react-icons/all-files/bi/BiPhone'), require('react-select'), require('react-phone-input-2'), require('@mui/system'), require('@react-icons/all-files/bs/BsChevronLeft'), require('@react-icons/all-files/bs/BsChevronRight'), require('@react-icons/all-files/ri/RiArrowUpSLine'), require('@react-icons/all-files/ri/RiArrowDownSLine'), require('@react-icons/all-files/io/IoIosArrowRoundForward'), require('@react-icons/all-files/io/IoIosArrowRoundBack'), require('@react-icons/all-files/fi/FiChevronUp'), require('@react-icons/all-files/fi/FiChevronDown'), require('@react-icons/all-files/hi/HiOutlinePlus'), require('@react-icons/all-files/ai/AiOutlineMinus'), require('react-router-dom'), require('react-query'), require('@react-icons/all-files/io5/IoBagCheckOutline'), require('@react-icons/all-files/io5/IoBagRemoveOutline'), require('react-intersection-observer'), require('@react-icons/all-files/fi/FiFilter'), require('@react-icons/all-files/fi/FiSliders'), require('@react-icons/all-files/fi/FiChevronLeft'), require('@react-icons/all-files/fi/FiChevronRight'), require('@react-icons/all-files/hi/HiOutlineArrowRight'), require('@react-icons/all-files/hi/HiOutlineArrowLeft'), require('react-paginate'), require('@react-icons/all-files/fa/FaFacebook'), require('@react-icons/all-files/ai/AiFillInstagram'), require('@react-icons/all-files/bi/BiGlobe'), require('@react-icons/all-files/md/MdKeyboardArrowDown'), require('@react-icons/all-files/fa/FaMoneyBillWave'), require('@react-icons/all-files/bi/BiLogOutCircle'), require('@react-icons/all-files/bi/BiChevronDown'), require('@react-icons/all-files/bi/BiUser'), require('@react-icons/all-files/ai/AiOutlineLogin'), require('@react-icons/all-files/ai/AiOutlineUserAdd'), require('@react-icons/all-files/ri/RiSearchLine'), require('@react-icons/all-files/cg/CgMenuLeft'), require('@react-icons/all-files/cg/CgMenuRight'), require('@react-icons/all-files/hi/HiOutlineShoppingBag'), require('@react-icons/all-files/ri/RiHandbagLine'), require('@react-icons/all-files/ai/AiOutlineClose'), require('@react-icons/all-files/vsc/VscMenu'), require('@react-icons/all-files/vsc/VscHeart'), require('@react-icons/all-files/io5/IoSearchOutline'), require('@react-icons/all-files/ai/AiFillYoutube'), require('@react-icons/all-files/io5/IoLogoTiktok'), require('@react-icons/all-files/fa/FaLinkedinIn'), require('@react-icons/all-files/fa/FaMap'), require('@react-icons/all-files/fi/FiMenu'), require('@react-icons/all-files/bs/BsChevronDown'), require('@react-icons/all-files/io5/IoClose'), require('@react-icons/all-files/md/MdArrowBack'), require('@react-icons/all-files/bi/BiSearch'), require('@react-icons/all-files/fi/FiUser'), require('@react-icons/all-files/ai/AiOutlineHeart'), require('@react-icons/all-files/fi/FiPhone'), require('@react-icons/all-files/hi/HiMenuAlt4'), require('@react-icons/all-files/fi/FiSearch'), require('@react-icons/all-files/bs/BsSearch'), require('@react-icons/all-files/ai/AiOutlinePhone'), require('@react-icons/all-files/go/GoSearch'), require('@react-icons/all-files/ai/AiOutlineInstagram'), require('@react-icons/all-files/md/MdKeyboardArrowUp'), require('@react-icons/all-files/ri/RiUserSettingsLine'), require('@react-icons/all-files/hi/HiUserCircle'), require('@react-icons/all-files/bs/BsInfoCircle'), require('@react-icons/all-files/ai/AiFillPhone'), require('@react-icons/all-files/fa/FaTelegramPlane'), require('@react-icons/all-files/fa/FaPhoneAlt'), require('@react-icons/all-files/fa/FaPhone'), require('@react-icons/all-files/fi/FiGlobe'), require('@react-icons/all-files/fi/FiArrowUpRight'), require('@react-icons/all-files/bi/BiUserCircle'), require('@react-icons/all-files/fi/FiArrowUpLeft'), require('@react-icons/all-files/go/GoLocation'), require('@react-icons/all-files/fa/FaSnapchat'), require('@react-icons/all-files/fi/FiHome'), require('@react-icons/all-files/ri/RiRoadMapLine'), require('@react-icons/all-files/hi/HiOutlineClock'), require('@react-icons/all-files/fa/FaGoogle'), require('@react-icons/all-files/ai/AiOutlineLinkedin'), require('@react-icons/all-files/fa/FaPinterestP'), require('@react-icons/all-files/fa/FaTripadvisor'), require('@react-icons/all-files/fa/FaBehance'), require('@react-icons/all-files/fa/FaArrowAltCircleRight'), require('@react-icons/all-files/fa/FaArrowAltCircleLeft'), require('axios'), require('@react-icons/all-files/go/GoStar'), require('@react-icons/all-files/io/IoIosStar'), require('react-countdown-circle-timer'), require('react-type-animation'), require('react-animated-numbers'), require('react-background-slideshow'), require('@react-icons/all-files/hi/HiOutlineLocationMarker'), require('@react-icons/all-files/fi/FiPhoneCall'), require('@react-icons/all-files/fa/FaRegEye'), require('@react-icons/all-files/bs/BsArrowRight'), require('@react-icons/all-files/bs/BsArrowLeft'), require('@react-icons/all-files/bs/BsEye'), require('@react-icons/all-files/bi/BiTimeFive'), require('@react-icons/all-files/io/IoIosArrowUp')) :
|
|
3
|
+
typeof define === 'function' && define.amd ? define(['@babel/runtime/helpers/slicedToArray', 'react', '@babel/runtime/helpers/classCallCheck', '@babel/runtime/helpers/createClass', '@babel/runtime/helpers/possibleConstructorReturn', '@babel/runtime/helpers/getPrototypeOf', '@babel/runtime/helpers/inherits', '@babel/runtime/helpers/defineProperty', 'universal-cookie', 'react-cssfx-loading', 'glamor', '@react-oauth/google', 'jwt-decode', '@react-icons/all-files/fa/FaFacebookF', '@react-icons/all-files/ai/AiOutlineUser', '@react-icons/all-files/io/IoMdClose', 'react-bootstrap', 'imagekitio-react', '@babel/runtime/helpers/toConsumableArray', '@babel/runtime/helpers/typeof', '@babel/runtime/helpers/extends', 'react-image-gallery', '@react-icons/all-files/md/MdAddShoppingCart', '@react-icons/all-files/io5/IoBagHandleOutline', '@react-icons/all-files/bs/BsBag', '@react-icons/all-files/cg/CgShoppingBag', '@react-icons/all-files/fa/FaRegHeart', '@react-icons/all-files/fa/FaHeart', '@react-icons/all-files/fi/FiShoppingBag', '@react-icons/all-files/fi/FiShoppingCart', '@react-icons/all-files/ai/AiFillStar', '@react-icons/all-files/ai/AiOutlineStar', '@react-icons/all-files/fa/FaWhatsapp', '@react-icons/all-files/io5/IoCall', '@react-icons/all-files/fa/FaPlus', '@react-icons/all-files/fa/FaMinus', '@react-icons/all-files/fi/FiBox', 'react-slideshow-image', '@react-icons/all-files/ri/RiArrowGoBackLine', 'react-accessible-accordion', 'react-share', '@react-icons/all-files/fi/FiMinus', '@react-icons/all-files/fi/FiPlus', 'react-rating-stars-component', '@react-icons/all-files/fi/FiLayers', '@react-icons/all-files/hi/HiOutlinePlusCircle', '@react-icons/all-files/hi/HiOutlineMinusCircle', 'react-textarea-autosize', 'react-input-range', '@babel/runtime/helpers/asyncToGenerator', '@babel/runtime/regenerator', '@react-icons/all-files/ai/AiOutlineClockCircle', '@react-icons/all-files/ai/AiOutlinePlus', '@react-icons/all-files/ai/AiOutlineCheck', 'react-datepicker', '@react-icons/all-files/fi/FiCalendar', 'react-horizontal-scrolling-menu', '@mui/material', '@react-icons/all-files/hi/HiOutlinePhone', '@react-icons/all-files/ai/AiOutlineMail', '@react-icons/all-files/fa/FaShippingFast', '@react-icons/all-files/ri/RiSecurePaymentLine', 'react-player', '@react-icons/all-files/ai/AiOutlineSecurityScan', '@react-icons/all-files/fa/FaStar', '@react-icons/all-files/io5/IoLocationSharp', '@react-icons/all-files/hi/HiOutlineChevronRight', '@react-icons/all-files/hi/HiOutlineChevronLeft', '@react-icons/all-files/go/GoGlobe', '@react-icons/all-files/vsc/VscGlobe', 'react-bootstrap/Dropdown', '@react-icons/all-files/hi/HiUser', '@react-icons/all-files/gr/GrMail', '@react-icons/all-files/fi/FiCheckCircle', '@react-icons/all-files/bi/BiPhone', 'react-select', 'react-phone-input-2', '@mui/system', '@react-icons/all-files/bs/BsChevronLeft', '@react-icons/all-files/bs/BsChevronRight', '@react-icons/all-files/ri/RiArrowUpSLine', '@react-icons/all-files/ri/RiArrowDownSLine', '@react-icons/all-files/io/IoIosArrowRoundForward', '@react-icons/all-files/io/IoIosArrowRoundBack', '@react-icons/all-files/fi/FiChevronUp', '@react-icons/all-files/fi/FiChevronDown', '@react-icons/all-files/hi/HiOutlinePlus', '@react-icons/all-files/ai/AiOutlineMinus', 'react-router-dom', 'react-query', '@react-icons/all-files/io5/IoBagCheckOutline', '@react-icons/all-files/io5/IoBagRemoveOutline', 'react-intersection-observer', '@react-icons/all-files/fi/FiFilter', '@react-icons/all-files/fi/FiSliders', '@react-icons/all-files/fi/FiChevronLeft', '@react-icons/all-files/fi/FiChevronRight', '@react-icons/all-files/hi/HiOutlineArrowRight', '@react-icons/all-files/hi/HiOutlineArrowLeft', 'react-paginate', '@react-icons/all-files/fa/FaFacebook', '@react-icons/all-files/ai/AiFillInstagram', '@react-icons/all-files/bi/BiGlobe', '@react-icons/all-files/md/MdKeyboardArrowDown', '@react-icons/all-files/fa/FaMoneyBillWave', '@react-icons/all-files/bi/BiLogOutCircle', '@react-icons/all-files/bi/BiChevronDown', '@react-icons/all-files/bi/BiUser', '@react-icons/all-files/ai/AiOutlineLogin', '@react-icons/all-files/ai/AiOutlineUserAdd', '@react-icons/all-files/ri/RiSearchLine', '@react-icons/all-files/cg/CgMenuLeft', '@react-icons/all-files/cg/CgMenuRight', '@react-icons/all-files/hi/HiOutlineShoppingBag', '@react-icons/all-files/ri/RiHandbagLine', '@react-icons/all-files/ai/AiOutlineClose', '@react-icons/all-files/vsc/VscMenu', '@react-icons/all-files/vsc/VscHeart', '@react-icons/all-files/io5/IoSearchOutline', '@react-icons/all-files/ai/AiFillYoutube', '@react-icons/all-files/io5/IoLogoTiktok', '@react-icons/all-files/fa/FaLinkedinIn', '@react-icons/all-files/fa/FaMap', '@react-icons/all-files/fi/FiMenu', '@react-icons/all-files/bs/BsChevronDown', '@react-icons/all-files/io5/IoClose', '@react-icons/all-files/md/MdArrowBack', '@react-icons/all-files/bi/BiSearch', '@react-icons/all-files/fi/FiUser', '@react-icons/all-files/ai/AiOutlineHeart', '@react-icons/all-files/fi/FiPhone', '@react-icons/all-files/hi/HiMenuAlt4', '@react-icons/all-files/fi/FiSearch', '@react-icons/all-files/bs/BsSearch', '@react-icons/all-files/ai/AiOutlinePhone', '@react-icons/all-files/go/GoSearch', '@react-icons/all-files/ai/AiOutlineInstagram', '@react-icons/all-files/md/MdKeyboardArrowUp', '@react-icons/all-files/ri/RiUserSettingsLine', '@react-icons/all-files/hi/HiUserCircle', '@react-icons/all-files/bs/BsInfoCircle', '@react-icons/all-files/ai/AiFillPhone', '@react-icons/all-files/fa/FaTelegramPlane', '@react-icons/all-files/fa/FaPhoneAlt', '@react-icons/all-files/fa/FaPhone', '@react-icons/all-files/fi/FiGlobe', '@react-icons/all-files/fi/FiArrowUpRight', '@react-icons/all-files/bi/BiUserCircle', '@react-icons/all-files/fi/FiArrowUpLeft', '@react-icons/all-files/go/GoLocation', '@react-icons/all-files/fa/FaSnapchat', '@react-icons/all-files/fi/FiHome', '@react-icons/all-files/ri/RiRoadMapLine', '@react-icons/all-files/hi/HiOutlineClock', '@react-icons/all-files/fa/FaGoogle', '@react-icons/all-files/ai/AiOutlineLinkedin', '@react-icons/all-files/fa/FaPinterestP', '@react-icons/all-files/fa/FaTripadvisor', '@react-icons/all-files/fa/FaBehance', '@react-icons/all-files/fa/FaArrowAltCircleRight', '@react-icons/all-files/fa/FaArrowAltCircleLeft', 'axios', '@react-icons/all-files/go/GoStar', '@react-icons/all-files/io/IoIosStar', 'react-countdown-circle-timer', 'react-type-animation', 'react-animated-numbers', 'react-background-slideshow', '@react-icons/all-files/hi/HiOutlineLocationMarker', '@react-icons/all-files/fi/FiPhoneCall', '@react-icons/all-files/fa/FaRegEye', '@react-icons/all-files/bs/BsArrowRight', '@react-icons/all-files/bs/BsArrowLeft', '@react-icons/all-files/bs/BsEye', '@react-icons/all-files/bi/BiTimeFive', '@react-icons/all-files/io/IoIosArrowUp'], factory) :
|
|
4
|
+
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, global.tabexseriescomponents = factory(global._slicedToArray, global.React, global._classCallCheck, global._createClass, global._possibleConstructorReturn, global._getPrototypeOf, global._inherits, global._defineProperty, global.Cookies, global.reactCssfxLoading, global.glamor, global.google, global.jwtDecode, global.FaFacebookF, global.AiOutlineUser, global.IoMdClose, global.reactBootstrap, global.imagekitioReact, global._toConsumableArray, global._typeof, global._extends, global.ImageGallery, global.MdAddShoppingCart, global.IoBagHandleOutline, global.BsBag, global.CgShoppingBag, global.FaRegHeart, global.FaHeart$1, global.FiShoppingBag, global.FiShoppingCart, global.AiFillStar$1, global.AiOutlineStar, global.FaWhatsapp, global.IoCall, global.FaPlus, global.FaMinus, global.FiBox$1, global.reactSlideshowImage, global.RiArrowGoBackLine, global.reactAccessibleAccordion, global.reactShare, global.FiMinus, global.FiPlus, global.ReactStars, global.FiLayers, null, null, global.TextareaAutosize, global.InputRange, global._asyncToGenerator, global._regeneratorRuntime, global.AiOutlineClockCircle, global.AiOutlinePlus, global.AiOutlineCheck, global.DatePicker, global.FiCalendar, global.reactHorizontalScrollingMenu, global.material, global.HiOutlinePhone, global.AiOutlineMail, global.FaShippingFast, global.RiSecurePaymentLine, global.ReactPlayer, global.AiOutlineSecurityScan, global.FaStar, global.IoLocationSharp, global.HiOutlineChevronRight, global.HiOutlineChevronLeft, global.GoGlobe, global.VscGlobe, global.Dropdown, global.HiUser, global.GrMail, global.FiCheckCircle, global.BiPhone, global.Select$5, global.PhoneInput, null, global.BsChevronLeft, global.BsChevronRight, null, null, null, null, global.FiChevronUp, global.FiChevronDown, global.HiOutlinePlus, global.AiOutlineMinus, null, null, global.IoBagCheckOutline, global.IoBagRemoveOutline, global.reactIntersectionObserver, global.FiFilter, global.FiSliders, global.FiChevronLeft, global.FiChevronRight, global.HiOutlineArrowRight, global.HiOutlineArrowLeft, global.ReactPaginate, global.FaFacebook, global.AiFillInstagram, global.BiGlobe, global.MdKeyboardArrowDown, global.FaMoneyBillWave, global.BiLogOutCircle, global.BiChevronDown, global.BiUser, global.AiOutlineLogin, global.AiOutlineUserAdd, global.RiSearchLine, global.CgMenuLeft, global.CgMenuRight, global.HiOutlineShoppingBag, global.RiHandbagLine, global.AiOutlineClose, global.VscMenu, global.VscHeart, global.IoSearchOutline, global.AiFillYoutube, global.IoLogoTiktok, global.FaLinkedinIn, global.FaMap, global.FiMenu, global.BsChevronDown, global.IoClose, global.MdArrowBack, global.BiSearch, global.FiUser, global.AiOutlineHeart, global.FiPhone, global.HiMenuAlt4, global.FiSearch, global.BsSearch, global.AiOutlinePhone, global.GoSearch, global.AiOutlineInstagram, global.MdKeyboardArrowUp, global.RiUserSettingsLine, global.HiUserCircle, global.BsInfoCircle, global.AiFillPhone, global.FaTelegramPlane, global.FaPhoneAlt, global.FaPhone, global.FiGlobe, global.FiArrowUpRight, global.BiUserCircle, global.FiArrowUpLeft, global.GoLocation, global.FaSnapchat, global.FiHome, global.RiRoadMapLine, global.HiOutlineClock, global.FaGoogle, global.AiOutlineLinkedin, global.FaPinterestP, global.FaTripadvisor, global.FaBehance, global.FaArrowAltCircleRight, global.FaArrowAltCircleLeft, global.axios, global.GoStar, global.IoIosStar, global.reactCountdownCircleTimer, global.reactTypeAnimation, global.AnimatedNumbers, global.BackgroundSlideshow, global.HiOutlineLocationMarker, global.FiPhoneCall, global.FaRegEye, global.BsArrowRight, global.BsArrowLeft, global.BsEye, global.BiTimeFive, global.IoIosArrowUp));
|
|
5
|
+
})(this, (function (_slicedToArray, React, _classCallCheck, _createClass, _possibleConstructorReturn, _getPrototypeOf, _inherits, _defineProperty, Cookies, reactCssfxLoading, glamor, google, jwtDecode, FaFacebookF, AiOutlineUser, IoMdClose, reactBootstrap, imagekitioReact, _toConsumableArray, _typeof, _extends, ImageGallery, MdAddShoppingCart, IoBagHandleOutline, BsBag, CgShoppingBag, FaRegHeart, FaHeart$1, FiShoppingBag, FiShoppingCart, AiFillStar$1, AiOutlineStar, FaWhatsapp, IoCall, FaPlus, FaMinus, FiBox$1, reactSlideshowImage, RiArrowGoBackLine, reactAccessibleAccordion, reactShare, FiMinus, FiPlus, ReactStars, FiLayers, HiOutlinePlusCircle, HiOutlineMinusCircle, TextareaAutosize, InputRange, _asyncToGenerator, _regeneratorRuntime, AiOutlineClockCircle, AiOutlinePlus, AiOutlineCheck, DatePicker, FiCalendar, reactHorizontalScrollingMenu, material, HiOutlinePhone, AiOutlineMail, FaShippingFast, RiSecurePaymentLine, ReactPlayer, AiOutlineSecurityScan, FaStar, IoLocationSharp, HiOutlineChevronRight, HiOutlineChevronLeft, GoGlobe, VscGlobe, Dropdown, HiUser, GrMail, FiCheckCircle, BiPhone, Select$5, PhoneInput, system, BsChevronLeft, BsChevronRight, RiArrowUpSLine, RiArrowDownSLine, IoIosArrowRoundForward, IoIosArrowRoundBack, FiChevronUp, FiChevronDown, HiOutlinePlus, AiOutlineMinus, reactRouterDom, reactQuery, IoBagCheckOutline, IoBagRemoveOutline, reactIntersectionObserver, FiFilter, FiSliders, FiChevronLeft, FiChevronRight, HiOutlineArrowRight, HiOutlineArrowLeft, ReactPaginate, FaFacebook, AiFillInstagram, BiGlobe, MdKeyboardArrowDown, FaMoneyBillWave, BiLogOutCircle, BiChevronDown, BiUser, AiOutlineLogin, AiOutlineUserAdd, RiSearchLine, CgMenuLeft, CgMenuRight, HiOutlineShoppingBag, RiHandbagLine, AiOutlineClose, VscMenu, VscHeart, IoSearchOutline, AiFillYoutube, IoLogoTiktok, FaLinkedinIn, FaMap, FiMenu, BsChevronDown, IoClose, MdArrowBack, BiSearch, FiUser, AiOutlineHeart, FiPhone, HiMenuAlt4, FiSearch, BsSearch, AiOutlinePhone, GoSearch, AiOutlineInstagram, MdKeyboardArrowUp, RiUserSettingsLine, HiUserCircle, BsInfoCircle, AiFillPhone, FaTelegramPlane, FaPhoneAlt, FaPhone, FiGlobe, FiArrowUpRight, BiUserCircle, FiArrowUpLeft, GoLocation, FaSnapchat, FiHome, RiRoadMapLine, HiOutlineClock, FaGoogle, AiOutlineLinkedin, FaPinterestP, FaTripadvisor, FaBehance, FaArrowAltCircleRight, FaArrowAltCircleLeft, axios, GoStar, IoIosStar, reactCountdownCircleTimer, reactTypeAnimation, AnimatedNumbers, BackgroundSlideshow, HiOutlineLocationMarker, FiPhoneCall, FaRegEye, BsArrowRight, BsArrowLeft, BsEye, BiTimeFive, IoIosArrowUp) { 'use strict';
|
|
6
6
|
|
|
7
7
|
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
|
8
8
|
|
|
@@ -23,11 +23,11 @@
|
|
|
23
23
|
var ReactStars__default = /*#__PURE__*/_interopDefaultLegacy(ReactStars);
|
|
24
24
|
var TextareaAutosize__default = /*#__PURE__*/_interopDefaultLegacy(TextareaAutosize);
|
|
25
25
|
var InputRange__default = /*#__PURE__*/_interopDefaultLegacy(InputRange);
|
|
26
|
+
var _asyncToGenerator__default = /*#__PURE__*/_interopDefaultLegacy(_asyncToGenerator);
|
|
27
|
+
var _regeneratorRuntime__default = /*#__PURE__*/_interopDefaultLegacy(_regeneratorRuntime);
|
|
26
28
|
var DatePicker__default = /*#__PURE__*/_interopDefaultLegacy(DatePicker);
|
|
27
29
|
var ReactPlayer__default = /*#__PURE__*/_interopDefaultLegacy(ReactPlayer);
|
|
28
30
|
var Dropdown__default = /*#__PURE__*/_interopDefaultLegacy(Dropdown);
|
|
29
|
-
var _asyncToGenerator__default = /*#__PURE__*/_interopDefaultLegacy(_asyncToGenerator);
|
|
30
|
-
var _regeneratorRuntime__default = /*#__PURE__*/_interopDefaultLegacy(_regeneratorRuntime);
|
|
31
31
|
var Select__default = /*#__PURE__*/_interopDefaultLegacy(Select$5);
|
|
32
32
|
var PhoneInput__default = /*#__PURE__*/_interopDefaultLegacy(PhoneInput);
|
|
33
33
|
var ReactPaginate__default = /*#__PURE__*/_interopDefaultLegacy(ReactPaginate);
|
|
@@ -3825,7 +3825,7 @@
|
|
|
3825
3825
|
function ownKeys$2C(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
3826
3826
|
function _objectSpread$2C(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$2C(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$2C(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
3827
3827
|
var ProductQuantityConditions_W_Variants = function ProductQuantityConditions_W_Variants(props) {
|
|
3828
|
-
var _fetchProductInfoQuer,
|
|
3828
|
+
var _fetchProductInfoQuer, _fetchProductInfoQuer8, _fetchProductInfoQuer9;
|
|
3829
3829
|
props.actions.lang;
|
|
3830
3830
|
var langdetect = props.actions.langdetect;
|
|
3831
3831
|
var authdetailsContext = props.actions.authdetailsContext;
|
|
@@ -3839,6 +3839,7 @@
|
|
|
3839
3839
|
// const templatepropcontext = props.actions.templatepropcontext;
|
|
3840
3840
|
var AddtoCartContext = props.actions.AddtoCartContext;
|
|
3841
3841
|
var productinfo_cssstyles = props.actions.productinfo_cssstyles;
|
|
3842
|
+
var getprice_discountpriceprops = props.actions.getprice_discountpriceprops;
|
|
3842
3843
|
var _useState = React.useState([]),
|
|
3843
3844
|
_useState2 = _slicedToArray__default["default"](_useState, 2);
|
|
3844
3845
|
_useState2[0];
|
|
@@ -3877,6 +3878,11 @@
|
|
|
3877
3878
|
return prev === uuid ? null : uuid;
|
|
3878
3879
|
}); // toggle
|
|
3879
3880
|
};
|
|
3881
|
+
function sleep(ms) {
|
|
3882
|
+
return new Promise(function (resolve) {
|
|
3883
|
+
return setTimeout(resolve, ms);
|
|
3884
|
+
});
|
|
3885
|
+
}
|
|
3880
3886
|
var handleVariantId = function handleVariantId(index, variantid) {
|
|
3881
3887
|
var temp = _toConsumableArray__default["default"](choosen_variant_ids_Ref.current);
|
|
3882
3888
|
if (variantid && variantid.trim() !== '') {
|
|
@@ -3961,7 +3967,17 @@
|
|
|
3961
3967
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
3962
3968
|
className: 'row w-100 ml-0 mr-0'
|
|
3963
3969
|
}, quantityconditions === null || quantityconditions === void 0 ? void 0 : quantityconditions.map(function (item, index) {
|
|
3964
|
-
var _fetchProductInfoQuer7
|
|
3970
|
+
var _fetchProductInfoQuer7;
|
|
3971
|
+
var price = 0;
|
|
3972
|
+
if ((fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer7 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer7 === void 0 || (_fetchProductInfoQuer7 = _fetchProductInfoQuer7.data) === null || _fetchProductInfoQuer7 === void 0 || (_fetchProductInfoQuer7 = _fetchProductInfoQuer7.productinfo) === null || _fetchProductInfoQuer7 === void 0 ? void 0 : _fetchProductInfoQuer7.hassale) == 1) {
|
|
3973
|
+
price = getprice_discountpriceprops('defaultsaleprice', 0, undefined);
|
|
3974
|
+
} else {
|
|
3975
|
+
price = getprice_discountpriceprops('defaultprice', 0, undefined);
|
|
3976
|
+
}
|
|
3977
|
+
var pricewithtotal = price * item.toq;
|
|
3978
|
+
var discountedPrice = pricewithtotal * (item.value / 100);
|
|
3979
|
+
var priceafterdiscount = pricewithtotal - discountedPrice;
|
|
3980
|
+
priceafterdiscount = priceafterdiscount.toFixed(2);
|
|
3965
3981
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
3966
3982
|
"class": "col-lg-12 p-3 mb-3",
|
|
3967
3983
|
style: {
|
|
@@ -3990,11 +4006,11 @@
|
|
|
3990
4006
|
style: {
|
|
3991
4007
|
color: '#5f848e'
|
|
3992
4008
|
}
|
|
3993
|
-
},
|
|
4009
|
+
}, priceafterdiscount, langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar), ' ', "\u0628\u062F\u0644\u0627 \u0645\u0646", ' ', /*#__PURE__*/React__default["default"].createElement("span", {
|
|
3994
4010
|
style: {
|
|
3995
4011
|
color: '#5f848e'
|
|
3996
4012
|
}
|
|
3997
|
-
},
|
|
4013
|
+
}, pricewithtotal, 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(reactAccessibleAccordion.AccordionItemPanel, {
|
|
3998
4014
|
className: "p-0"
|
|
3999
4015
|
}, _toConsumableArray__default["default"](Array(item.toq)).map(function (_, index) {
|
|
4000
4016
|
return /*#__PURE__*/React__default["default"].createElement(Variantoptions_f_quantity_cond, {
|
|
@@ -4031,28 +4047,48 @@
|
|
|
4031
4047
|
;
|
|
4032
4048
|
}), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4033
4049
|
"class": "col-12 allcentered cursor-pointer mt-3",
|
|
4034
|
-
onClick: function
|
|
4035
|
-
var variantIds
|
|
4036
|
-
|
|
4050
|
+
onClick: /*#__PURE__*/_asyncToGenerator__default["default"](/*#__PURE__*/_regeneratorRuntime__default["default"].mark(function _callee() {
|
|
4051
|
+
var variantIds, counts, _i, _Object$entries, _Object$entries$_i, id, quantity;
|
|
4052
|
+
return _regeneratorRuntime__default["default"].wrap(function (_context) {
|
|
4053
|
+
while (1) switch (_context.prev = _context.next) {
|
|
4054
|
+
case 0:
|
|
4055
|
+
variantIds = choosen_variant_ids_Ref.current || [];
|
|
4056
|
+
counts = {}; // Count occurrences of each ID
|
|
4057
|
+
variantIds.forEach(function (id) {
|
|
4058
|
+
if (id != null && id !== '') {
|
|
4059
|
+
counts[id] = (counts[id] || 0) + 1;
|
|
4060
|
+
}
|
|
4061
|
+
});
|
|
4037
4062
|
|
|
4038
|
-
|
|
4039
|
-
|
|
4040
|
-
|
|
4041
|
-
|
|
4063
|
+
// Call addtocartfunc with quantity for each unique ID
|
|
4064
|
+
// Object.entries(counts).forEach(([id, quantity]) => {
|
|
4065
|
+
// addtocartfunc(false, id, quantity);
|
|
4066
|
+
// });
|
|
4067
|
+
_i = 0, _Object$entries = Object.entries(counts);
|
|
4068
|
+
case 1:
|
|
4069
|
+
if (!(_i < _Object$entries.length)) {
|
|
4070
|
+
_context.next = 4;
|
|
4071
|
+
break;
|
|
4072
|
+
}
|
|
4073
|
+
_Object$entries$_i = _slicedToArray__default["default"](_Object$entries[_i], 2), id = _Object$entries$_i[0], quantity = _Object$entries$_i[1];
|
|
4074
|
+
_context.next = 2;
|
|
4075
|
+
return addtocartfunc(false, id, quantity);
|
|
4076
|
+
case 2:
|
|
4077
|
+
_context.next = 3;
|
|
4078
|
+
return sleep(1500);
|
|
4079
|
+
case 3:
|
|
4080
|
+
_i++;
|
|
4081
|
+
_context.next = 1;
|
|
4082
|
+
break;
|
|
4083
|
+
case 4:
|
|
4084
|
+
case "end":
|
|
4085
|
+
return _context.stop();
|
|
4042
4086
|
}
|
|
4043
|
-
});
|
|
4044
|
-
|
|
4045
|
-
// Call addtocartfunc with quantity for each unique ID
|
|
4046
|
-
Object.entries(counts).forEach(function (_ref) {
|
|
4047
|
-
var _ref2 = _slicedToArray__default["default"](_ref, 2),
|
|
4048
|
-
id = _ref2[0],
|
|
4049
|
-
quantity = _ref2[1];
|
|
4050
|
-
addtocartfunc(false, id, quantity);
|
|
4051
|
-
});
|
|
4052
|
-
}
|
|
4087
|
+
}, _callee);
|
|
4088
|
+
}))
|
|
4053
4089
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
4054
4090
|
className: "".concat(productinfo_cssstyles.cart_btn, " ") + ' w-100 m-0 p-0 d-flex align-items-center justify-content-center mb-sm-2 '
|
|
4055
|
-
}, langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
4091
|
+
}, langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer8 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer8 === void 0 || (_fetchProductInfoQuer8 = _fetchProductInfoQuer8.data) === null || _fetchProductInfoQuer8 === void 0 || (_fetchProductInfoQuer8 = _fetchProductInfoQuer8.productinfo) === null || _fetchProductInfoQuer8 === void 0 ? void 0 : _fetchProductInfoQuer8.productactionbuttontext_en : fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer9 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer9 === void 0 || (_fetchProductInfoQuer9 = _fetchProductInfoQuer9.data) === null || _fetchProductInfoQuer9 === void 0 || (_fetchProductInfoQuer9 = _fetchProductInfoQuer9.productinfo) === null || _fetchProductInfoQuer9 === void 0 ? void 0 : _fetchProductInfoQuer9.productactionbuttontext_ar)))));
|
|
4056
4092
|
};
|
|
4057
4093
|
|
|
4058
4094
|
function ownKeys$2B(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
@@ -8611,12 +8647,6 @@
|
|
|
8611
8647
|
settitle(fetchProductInfoQueryContext.data.data.productinfo.name_en);
|
|
8612
8648
|
setshareUrl('https://' + authdetailsContext.instinfo.instcred.instexternaldomain + '/productinform/' + fetchProductInfoQueryContext.data.data.productinfo.productid);
|
|
8613
8649
|
}, [props.itemprops]);
|
|
8614
|
-
var Slideshowsettings = {
|
|
8615
|
-
indicators: true,
|
|
8616
|
-
arrows: true,
|
|
8617
|
-
pauseOnHover: false,
|
|
8618
|
-
scale: 2
|
|
8619
|
-
};
|
|
8620
8650
|
function stringIsEnglish(str) {
|
|
8621
8651
|
var titlelang = 'English';
|
|
8622
8652
|
var arabic = /[\u0600-\u06FF]/;
|
|
@@ -9314,9 +9344,6 @@
|
|
|
9314
9344
|
}
|
|
9315
9345
|
}, langdetect == 'en' ? sectionproperties.sizeguidecontentenglish : sectionproperties.sizeguidecontentarabic))), /*#__PURE__*/React__default["default"].createElement(Variantoptions, {
|
|
9316
9346
|
actions: props.actions
|
|
9317
|
-
}), /*#__PURE__*/React__default["default"].createElement(ProductExtras, {
|
|
9318
|
-
addtocartfunc: addtocartfunc,
|
|
9319
|
-
actions: props.actions
|
|
9320
9347
|
}), /*#__PURE__*/React__default["default"].createElement(Serviceinfotabs, {
|
|
9321
9348
|
actions: {
|
|
9322
9349
|
fetchProductInfoQueryContext: fetchProductInfoQueryContext,
|
|
@@ -9336,6 +9363,9 @@
|
|
|
9336
9363
|
StaticPagesLinksContext: StaticPagesLinksContext,
|
|
9337
9364
|
addtofavoritescontext: addtofavoritescontext
|
|
9338
9365
|
}
|
|
9366
|
+
}), /*#__PURE__*/React__default["default"].createElement(ProductExtras, {
|
|
9367
|
+
addtocartfunc: addtocartfunc,
|
|
9368
|
+
actions: props.actions
|
|
9339
9369
|
})))))), sectionproperties.descriptionstyle != 'Style 2' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
9340
9370
|
"class": "col-lg-12 d-flex align-items-center justify-content-start p-0 flex-column"
|
|
9341
9371
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
@@ -9410,53 +9440,27 @@
|
|
|
9410
9440
|
paddingTop: '60px'
|
|
9411
9441
|
}
|
|
9412
9442
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
9413
|
-
"class": 'col-lg-12 p-0 d-flex justify-content-center h-sm-auto
|
|
9414
|
-
style: {
|
|
9415
|
-
height: '60vh'
|
|
9416
|
-
}
|
|
9443
|
+
"class": 'col-lg-12 p-0 d-flex justify-content-center h-sm-auto mb-5'
|
|
9417
9444
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
9418
|
-
"class": '
|
|
9419
|
-
|
|
9420
|
-
|
|
9421
|
-
|
|
9422
|
-
|
|
9423
|
-
|
|
9424
|
-
|
|
9425
|
-
|
|
9426
|
-
|
|
9427
|
-
|
|
9428
|
-
|
|
9429
|
-
|
|
9430
|
-
|
|
9431
|
-
|
|
9432
|
-
|
|
9433
|
-
|
|
9434
|
-
|
|
9435
|
-
|
|
9436
|
-
|
|
9437
|
-
}
|
|
9438
|
-
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
9439
|
-
"class": 'p-0 align-items-center d-flex',
|
|
9440
|
-
key: index,
|
|
9441
|
-
style: _defineProperty__default["default"]({
|
|
9442
|
-
direction: langdetect == 'en' ? 'ltr' : 'rtl',
|
|
9443
|
-
width: '100%',
|
|
9444
|
-
height: '100%'
|
|
9445
|
-
}, "height", '60vh')
|
|
9446
|
-
}, /*#__PURE__*/React__default["default"].createElement(Imagekitimagecomp, {
|
|
9447
|
-
urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
|
|
9448
|
-
publicKey: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimagepublickey,
|
|
9449
|
-
path: item.path,
|
|
9450
|
-
style: {
|
|
9451
|
-
objectFit: sectionproperties.bgcovercontain == 'Contain' ? 'contain' : 'cover',
|
|
9452
|
-
margin: 0,
|
|
9453
|
-
padding: 0,
|
|
9454
|
-
width: '100%',
|
|
9455
|
-
height: '100%'
|
|
9456
|
-
}
|
|
9457
|
-
})));
|
|
9458
|
-
}
|
|
9459
|
-
}))))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
9445
|
+
"class": 'row m-0 w-100'
|
|
9446
|
+
}, (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer17 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer17 === void 0 || (_fetchProductInfoQuer17 = _fetchProductInfoQuer17.data) === null || _fetchProductInfoQuer17 === void 0 || (_fetchProductInfoQuer17 = _fetchProductInfoQuer17.productinfo) === null || _fetchProductInfoQuer17 === void 0 || (_fetchProductInfoQuer17 = _fetchProductInfoQuer17.productimages) === null || _fetchProductInfoQuer17 === void 0 ? void 0 : _fetchProductInfoQuer17.length) != 0 && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer18 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer18 === void 0 || (_fetchProductInfoQuer18 = _fetchProductInfoQuer18.data) === null || _fetchProductInfoQuer18 === void 0 || (_fetchProductInfoQuer18 = _fetchProductInfoQuer18.productinfo) === null || _fetchProductInfoQuer18 === void 0 ? void 0 : _fetchProductInfoQuer18.productimages.map(function (item, index) {
|
|
9447
|
+
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
9448
|
+
"class": "col-lg-3 col-md-4 col-md-6 mb-md-2 p-md-0"
|
|
9449
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
9450
|
+
"class": ' w-100 h-100',
|
|
9451
|
+
style: {}
|
|
9452
|
+
}, /*#__PURE__*/React__default["default"].createElement(Imagekitimagecomp, {
|
|
9453
|
+
urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
|
|
9454
|
+
publicKey: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimagepublickey,
|
|
9455
|
+
path: '/tr:w-500,h-500/' + item.path,
|
|
9456
|
+
style: {
|
|
9457
|
+
width: '100%',
|
|
9458
|
+
height: '100%',
|
|
9459
|
+
objectFit: 'contain'
|
|
9460
|
+
},
|
|
9461
|
+
loading: "lazy"
|
|
9462
|
+
})));
|
|
9463
|
+
})))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
9460
9464
|
"class": "col-lg-8"
|
|
9461
9465
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
9462
9466
|
"class": "row m-0 w-100",
|
|
@@ -9542,10 +9546,10 @@
|
|
|
9542
9546
|
borderRadius: 10,
|
|
9543
9547
|
boxShadow: '0 0 10px #ccc'
|
|
9544
9548
|
}
|
|
9545
|
-
}, /*#__PURE__*/React__default["default"].createElement(ProductHeaderPricing, {
|
|
9549
|
+
}, sectionproperties.showDefaultPricingSection == 'Show' && /*#__PURE__*/React__default["default"].createElement(ProductHeaderPricing, {
|
|
9546
9550
|
actions: props.actions,
|
|
9547
9551
|
srcfromprops: 'servicestyle2'
|
|
9548
|
-
}), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
9552
|
+
}), sectionproperties.showDefaultPricingSection == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
9549
9553
|
"class": "col-12 p-0"
|
|
9550
9554
|
}, /*#__PURE__*/React__default["default"].createElement("hr", null)), /*#__PURE__*/React__default["default"].createElement(ProductExtras, {
|
|
9551
9555
|
actions: props.actions,
|