tabexseriescomponents 0.2.1379 → 0.2.1381
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 +20 -8
- package/dist/index.esm.js +20 -8
- package/dist/index.umd.js +20 -8
- package/package.json +1 -1
package/dist/index.cjs.js
CHANGED
|
@@ -4362,7 +4362,7 @@ function _createForOfIteratorHelper$1(r, e) { var t = "undefined" != typeof Symb
|
|
|
4362
4362
|
function _unsupportedIterableToArray$1(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray$1(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray$1(r, a) : void 0; } }
|
|
4363
4363
|
function _arrayLikeToArray$1(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
|
|
4364
4364
|
var Product_freqbought_tog = function Product_freqbought_tog(props) {
|
|
4365
|
-
var _fetchProductInfoQuer, _ProductInfoObj$data;
|
|
4365
|
+
var _fetchProductInfoQuer, _ProductInfoObj$data, _authdetailsContext$i;
|
|
4366
4366
|
props.actions.lang;
|
|
4367
4367
|
var langdetect = props.actions.langdetect;
|
|
4368
4368
|
var ikimagecredcontext = props.actions.ikimagecredcontext;
|
|
@@ -4379,7 +4379,7 @@ var Product_freqbought_tog = function Product_freqbought_tog(props) {
|
|
|
4379
4379
|
// const templatepropcontext = props.actions.templatepropcontext;
|
|
4380
4380
|
props.actions.fetchAuthorizationQueryContext;
|
|
4381
4381
|
props.addtocartfunc;
|
|
4382
|
-
props.actions.authdetailsContext;
|
|
4382
|
+
var authdetailsContext = props.actions.authdetailsContext;
|
|
4383
4383
|
var ProductInfoObj = props.actions.ProductInfoObj;
|
|
4384
4384
|
var addtocartfunc_extras = props.actions.addtocartfunc_extras;
|
|
4385
4385
|
var productinfo_cssstyles = props.actions.productinfo_cssstyles;
|
|
@@ -4464,7 +4464,7 @@ var Product_freqbought_tog = function Product_freqbought_tog(props) {
|
|
|
4464
4464
|
fontSize: 14
|
|
4465
4465
|
}
|
|
4466
4466
|
}, (item === null || item === void 0 || (_item$productinfo3 = item.productinfo) === null || _item$productinfo3 === void 0 ? void 0 : _item$productinfo3.hassale) == 1 ? item === null || item === void 0 || (_item$productinfo4 = item.productinfo) === null || _item$productinfo4 === void 0 ? void 0 : _item$productinfo4.defaultsaleprice : item === null || item === void 0 || (_item$productinfo5 = item.productinfo) === null || _item$productinfo5 === void 0 ? void 0 : _item$productinfo5.defaultprice))));
|
|
4467
|
-
}), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4467
|
+
}), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i = authdetailsContext.instinfo) === null || _authdetailsContext$i === void 0 ? void 0 : _authdetailsContext$i.contactinfo.instid) != '6a32811bd5933' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4468
4468
|
"class": "col-12 allcentered p-0"
|
|
4469
4469
|
}, /*#__PURE__*/React__default["default"].createElement("button", {
|
|
4470
4470
|
"class": "".concat(productinfo_cssstyles.cart_btn),
|
|
@@ -58509,7 +58509,7 @@ var Footer7 = function Footer7(props) {
|
|
|
58509
58509
|
function ownKeys$1E(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; }
|
|
58510
58510
|
function _objectSpread$1E(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$1E(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$1E(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
58511
58511
|
var Footer8 = function Footer8(props) {
|
|
58512
|
-
var _css, _authdetailsContext$i2, _authdetailsContext$i3, _logoarrayofobjects$, _logoarrayofobjects$2, _authdetailsContext$i4, _authdetailsContext$i5, _logoarrayofobjects$3, _logoarrayofobjects$4, _authdetailsContext$i6, _authdetailsContext$i7, _authdetailsContext$i8, _authdetailsContext$i9, _authdetailsContext$i0, _authdetailsContext$i1, _authdetailsContext$i10, _authdetailsContext$i11, _authdetailsContext$i12, _authdetailsContext$i13, _authdetailsContext$i17, _authdetailsContext$i18, _authdetailsContext$i21, _authdetailsContext$i22, _authdetailsContext$i25, _authdetailsContext$i28, _authdetailsContext$i31, _authdetailsContext$i34, _authdetailsContext$i37, _authdetailsContext$i40, _authdetailsContext$i43, _authdetailsContext$i46, _authdetailsContext$i49, _authdetailsContext$i50, _authdetailsContext$i52, _templatepropcontext$, _returnpolicyobj, _returnpolicyobj2, _returnpolicyobj3, _returnpolicyobj4, _returnpolicyobj5, _returnpolicyobj6, _returnpolicyobj7, _returnpolicyobj8, _fetchcustomercartQue, _fetchcustomercartQue2, _authdetailsContext$i53, _logoarrayofobjects$5, _logoarrayofobjects$6, _authdetailsContext$i54, _authdetailsContext$i55, _authdetailsContext$i57, _authdetailsContext$i60, _authdetailsContext$i63, _authdetailsContext$i66, _authdetailsContext$i69, _returnpolicyobj9, _returnpolicyobj0, _returnpolicyobj1, _returnpolicyobj10, _returnpolicyobj11, _returnpolicyobj12, _authdetailsContext$i72, _logoarrayofobjects$7, _logoarrayofobjects$8, _templatepropcontext$2, _templatepropcontext$3, _fetchCategoriesQuery, _fetchCategoriesQuery2, _authdetailsContext$i74, _authdetailsContext$i75, _authdetailsContext$i78, _authdetailsContext$i81, _authdetailsContext$i84, _authdetailsContext$i87, _authdetailsContext$i89, _returnpolicyobj13, _returnpolicyobj14, _returnpolicyobj15, _returnpolicyobj16, _returnpolicyobj17, _returnpolicyobj18;
|
|
58512
|
+
var _css, _authdetailsContext$i2, _authdetailsContext$i3, _bgimagearrayofobjs$, _bgimagearrayofobjs$2, _logoarrayofobjects$, _logoarrayofobjects$2, _authdetailsContext$i4, _authdetailsContext$i5, _bgimagearrayofobjs$3, _bgimagearrayofobjs$4, _logoarrayofobjects$3, _logoarrayofobjects$4, _authdetailsContext$i6, _authdetailsContext$i7, _authdetailsContext$i8, _authdetailsContext$i9, _authdetailsContext$i0, _authdetailsContext$i1, _authdetailsContext$i10, _authdetailsContext$i11, _authdetailsContext$i12, _authdetailsContext$i13, _authdetailsContext$i17, _authdetailsContext$i18, _authdetailsContext$i21, _authdetailsContext$i22, _authdetailsContext$i25, _authdetailsContext$i28, _authdetailsContext$i31, _authdetailsContext$i34, _authdetailsContext$i37, _authdetailsContext$i40, _authdetailsContext$i43, _authdetailsContext$i46, _authdetailsContext$i49, _authdetailsContext$i50, _authdetailsContext$i52, _templatepropcontext$, _returnpolicyobj, _returnpolicyobj2, _returnpolicyobj3, _returnpolicyobj4, _returnpolicyobj5, _returnpolicyobj6, _returnpolicyobj7, _returnpolicyobj8, _fetchcustomercartQue, _fetchcustomercartQue2, _authdetailsContext$i53, _bgimagearrayofobjs$5, _bgimagearrayofobjs$6, _logoarrayofobjects$5, _logoarrayofobjects$6, _authdetailsContext$i54, _authdetailsContext$i55, _authdetailsContext$i57, _authdetailsContext$i60, _authdetailsContext$i63, _authdetailsContext$i66, _authdetailsContext$i69, _returnpolicyobj9, _returnpolicyobj0, _returnpolicyobj1, _returnpolicyobj10, _returnpolicyobj11, _returnpolicyobj12, _authdetailsContext$i72, _bgimagearrayofobjs$7, _bgimagearrayofobjs$8, _logoarrayofobjects$7, _logoarrayofobjects$8, _templatepropcontext$2, _templatepropcontext$3, _fetchCategoriesQuery, _fetchCategoriesQuery2, _authdetailsContext$i74, _authdetailsContext$i75, _authdetailsContext$i78, _authdetailsContext$i81, _authdetailsContext$i84, _authdetailsContext$i87, _authdetailsContext$i89, _returnpolicyobj13, _returnpolicyobj14, _returnpolicyobj15, _returnpolicyobj16, _returnpolicyobj17, _returnpolicyobj18;
|
|
58513
58513
|
var _useState = React.useState(''),
|
|
58514
58514
|
_useState2 = _slicedToArray__default["default"](_useState, 2),
|
|
58515
58515
|
sectionproperties = _useState2[0],
|
|
@@ -58778,6 +58778,18 @@ var Footer8 = function Footer8(props) {
|
|
|
58778
58778
|
}
|
|
58779
58779
|
}
|
|
58780
58780
|
}, [templateproperties_context]);
|
|
58781
|
+
var _useState7 = React.useState([]),
|
|
58782
|
+
_useState8 = _slicedToArray__default["default"](_useState7, 2),
|
|
58783
|
+
bgimagearrayofobjs = _useState8[0],
|
|
58784
|
+
setbgimagearrayofobjs = _useState8[1];
|
|
58785
|
+
React.useEffect(function () {
|
|
58786
|
+
if (sectionproperties.length != 0 && sectionproperties.logoarrayofobjects != undefined) {
|
|
58787
|
+
var bg1_arrayofobjsparsed = JSON.parse(sectionproperties.logoarrayofobjects);
|
|
58788
|
+
if (Array.isArray(bg1_arrayofobjsparsed)) {
|
|
58789
|
+
setbgimagearrayofobjs(_toConsumableArray__default["default"](bg1_arrayofobjsparsed));
|
|
58790
|
+
}
|
|
58791
|
+
}
|
|
58792
|
+
}, [sectionproperties]);
|
|
58781
58793
|
return /*#__PURE__*/React__default["default"].createElement("footer", {
|
|
58782
58794
|
"class": "row m-0 w-100 justify-content-center"
|
|
58783
58795
|
}, (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i2 = authdetailsContext.instinfo) === null || _authdetailsContext$i2 === void 0 ? void 0 : _authdetailsContext$i2.instid) != '67b1bb900a541' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i3 = authdetailsContext.instinfo) === null || _authdetailsContext$i3 === void 0 ? void 0 : _authdetailsContext$i3.instid) != '67d6bda67adf6' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
@@ -58798,7 +58810,7 @@ var Footer8 = function Footer8(props) {
|
|
|
58798
58810
|
}, /*#__PURE__*/React__default["default"].createElement(Imagekitimagecomp, {
|
|
58799
58811
|
urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
|
|
58800
58812
|
publicKey: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimagepublickey,
|
|
58801
|
-
path: langdetect == 'en' ? (_logoarrayofobjects$ = logoarrayofobjects[0]) === null || _logoarrayofobjects$ === void 0 ? void 0 : _logoarrayofobjects$.englishlogo : (_logoarrayofobjects$2 = logoarrayofobjects[0]) === null || _logoarrayofobjects$2 === void 0 ? void 0 : _logoarrayofobjects$2.arabiclogo,
|
|
58813
|
+
path: sectionproperties.replacelogo == 'Yes' ? langdetect == 'en' ? (_bgimagearrayofobjs$ = bgimagearrayofobjs[0]) === null || _bgimagearrayofobjs$ === void 0 ? void 0 : _bgimagearrayofobjs$.englishlogo : (_bgimagearrayofobjs$2 = bgimagearrayofobjs[0]) === null || _bgimagearrayofobjs$2 === void 0 ? void 0 : _bgimagearrayofobjs$2.arabiclogo : langdetect == 'en' ? (_logoarrayofobjects$ = logoarrayofobjects[0]) === null || _logoarrayofobjects$ === void 0 ? void 0 : _logoarrayofobjects$.englishlogo : (_logoarrayofobjects$2 = logoarrayofobjects[0]) === null || _logoarrayofobjects$2 === void 0 ? void 0 : _logoarrayofobjects$2.arabiclogo,
|
|
58802
58814
|
style: {
|
|
58803
58815
|
width: '100%',
|
|
58804
58816
|
height: '100%',
|
|
@@ -58822,7 +58834,7 @@ var Footer8 = function Footer8(props) {
|
|
|
58822
58834
|
}, /*#__PURE__*/React__default["default"].createElement(Imagekitimagecomp, {
|
|
58823
58835
|
urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
|
|
58824
58836
|
publicKey: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimagepublickey,
|
|
58825
|
-
path: langdetect == 'en' ? (_logoarrayofobjects$3 = logoarrayofobjects[0]) === null || _logoarrayofobjects$3 === void 0 ? void 0 : _logoarrayofobjects$3.englishlogo : (_logoarrayofobjects$4 = logoarrayofobjects[0]) === null || _logoarrayofobjects$4 === void 0 ? void 0 : _logoarrayofobjects$4.arabiclogo,
|
|
58837
|
+
path: sectionproperties.replacelogo == 'Yes' ? langdetect == 'en' ? (_bgimagearrayofobjs$3 = bgimagearrayofobjs[0]) === null || _bgimagearrayofobjs$3 === void 0 ? void 0 : _bgimagearrayofobjs$3.englishlogo : (_bgimagearrayofobjs$4 = bgimagearrayofobjs[0]) === null || _bgimagearrayofobjs$4 === void 0 ? void 0 : _bgimagearrayofobjs$4.arabiclogo : langdetect == 'en' ? (_logoarrayofobjects$3 = logoarrayofobjects[0]) === null || _logoarrayofobjects$3 === void 0 ? void 0 : _logoarrayofobjects$3.englishlogo : (_logoarrayofobjects$4 = logoarrayofobjects[0]) === null || _logoarrayofobjects$4 === void 0 ? void 0 : _logoarrayofobjects$4.arabiclogo,
|
|
58826
58838
|
style: {
|
|
58827
58839
|
width: '100%',
|
|
58828
58840
|
height: '100%',
|
|
@@ -59477,7 +59489,7 @@ var Footer8 = function Footer8(props) {
|
|
|
59477
59489
|
}, /*#__PURE__*/React__default["default"].createElement(Imagekitimagecomp, {
|
|
59478
59490
|
urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
|
|
59479
59491
|
publicKey: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimagepublickey,
|
|
59480
|
-
path: langdetect == 'en' ? (_logoarrayofobjects$5 = logoarrayofobjects[0]) === null || _logoarrayofobjects$5 === void 0 ? void 0 : _logoarrayofobjects$5.englishlogo : (_logoarrayofobjects$6 = logoarrayofobjects[0]) === null || _logoarrayofobjects$6 === void 0 ? void 0 : _logoarrayofobjects$6.arabiclogo,
|
|
59492
|
+
path: sectionproperties.replacelogo == 'Yes' ? langdetect == 'en' ? (_bgimagearrayofobjs$5 = bgimagearrayofobjs[0]) === null || _bgimagearrayofobjs$5 === void 0 ? void 0 : _bgimagearrayofobjs$5.englishlogo : (_bgimagearrayofobjs$6 = bgimagearrayofobjs[0]) === null || _bgimagearrayofobjs$6 === void 0 ? void 0 : _bgimagearrayofobjs$6.arabiclogo : langdetect == 'en' ? (_logoarrayofobjects$5 = logoarrayofobjects[0]) === null || _logoarrayofobjects$5 === void 0 ? void 0 : _logoarrayofobjects$5.englishlogo : (_logoarrayofobjects$6 = logoarrayofobjects[0]) === null || _logoarrayofobjects$6 === void 0 ? void 0 : _logoarrayofobjects$6.arabiclogo,
|
|
59481
59493
|
style: {
|
|
59482
59494
|
width: '100%',
|
|
59483
59495
|
height: '100%',
|
|
@@ -59843,7 +59855,7 @@ var Footer8 = function Footer8(props) {
|
|
|
59843
59855
|
}, /*#__PURE__*/React__default["default"].createElement(Imagekitimagecomp, {
|
|
59844
59856
|
urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
|
|
59845
59857
|
publicKey: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimagepublickey,
|
|
59846
|
-
path: langdetect == 'en' ? (_logoarrayofobjects$7 = logoarrayofobjects[0]) === null || _logoarrayofobjects$7 === void 0 ? void 0 : _logoarrayofobjects$7.englishlogo : (_logoarrayofobjects$8 = logoarrayofobjects[0]) === null || _logoarrayofobjects$8 === void 0 ? void 0 : _logoarrayofobjects$8.arabiclogo,
|
|
59858
|
+
path: sectionproperties.replacelogo == 'Yes' ? langdetect == 'en' ? (_bgimagearrayofobjs$7 = bgimagearrayofobjs[0]) === null || _bgimagearrayofobjs$7 === void 0 ? void 0 : _bgimagearrayofobjs$7.englishlogo : (_bgimagearrayofobjs$8 = bgimagearrayofobjs[0]) === null || _bgimagearrayofobjs$8 === void 0 ? void 0 : _bgimagearrayofobjs$8.arabiclogo : langdetect == 'en' ? (_logoarrayofobjects$7 = logoarrayofobjects[0]) === null || _logoarrayofobjects$7 === void 0 ? void 0 : _logoarrayofobjects$7.englishlogo : (_logoarrayofobjects$8 = logoarrayofobjects[0]) === null || _logoarrayofobjects$8 === void 0 ? void 0 : _logoarrayofobjects$8.arabiclogo,
|
|
59847
59859
|
style: {
|
|
59848
59860
|
width: '100%',
|
|
59849
59861
|
height: '100%',
|
package/dist/index.esm.js
CHANGED
|
@@ -4311,7 +4311,7 @@ function _createForOfIteratorHelper$1(r, e) { var t = "undefined" != typeof Symb
|
|
|
4311
4311
|
function _unsupportedIterableToArray$1(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray$1(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray$1(r, a) : void 0; } }
|
|
4312
4312
|
function _arrayLikeToArray$1(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
|
|
4313
4313
|
var Product_freqbought_tog = function Product_freqbought_tog(props) {
|
|
4314
|
-
var _fetchProductInfoQuer, _ProductInfoObj$data;
|
|
4314
|
+
var _fetchProductInfoQuer, _ProductInfoObj$data, _authdetailsContext$i;
|
|
4315
4315
|
props.actions.lang;
|
|
4316
4316
|
var langdetect = props.actions.langdetect;
|
|
4317
4317
|
var ikimagecredcontext = props.actions.ikimagecredcontext;
|
|
@@ -4328,7 +4328,7 @@ var Product_freqbought_tog = function Product_freqbought_tog(props) {
|
|
|
4328
4328
|
// const templatepropcontext = props.actions.templatepropcontext;
|
|
4329
4329
|
props.actions.fetchAuthorizationQueryContext;
|
|
4330
4330
|
props.addtocartfunc;
|
|
4331
|
-
props.actions.authdetailsContext;
|
|
4331
|
+
var authdetailsContext = props.actions.authdetailsContext;
|
|
4332
4332
|
var ProductInfoObj = props.actions.ProductInfoObj;
|
|
4333
4333
|
var addtocartfunc_extras = props.actions.addtocartfunc_extras;
|
|
4334
4334
|
var productinfo_cssstyles = props.actions.productinfo_cssstyles;
|
|
@@ -4413,7 +4413,7 @@ var Product_freqbought_tog = function Product_freqbought_tog(props) {
|
|
|
4413
4413
|
fontSize: 14
|
|
4414
4414
|
}
|
|
4415
4415
|
}, (item === null || item === void 0 || (_item$productinfo3 = item.productinfo) === null || _item$productinfo3 === void 0 ? void 0 : _item$productinfo3.hassale) == 1 ? item === null || item === void 0 || (_item$productinfo4 = item.productinfo) === null || _item$productinfo4 === void 0 ? void 0 : _item$productinfo4.defaultsaleprice : item === null || item === void 0 || (_item$productinfo5 = item.productinfo) === null || _item$productinfo5 === void 0 ? void 0 : _item$productinfo5.defaultprice))));
|
|
4416
|
-
}), /*#__PURE__*/React.createElement("div", {
|
|
4416
|
+
}), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i = authdetailsContext.instinfo) === null || _authdetailsContext$i === void 0 ? void 0 : _authdetailsContext$i.contactinfo.instid) != '6a32811bd5933' && /*#__PURE__*/React.createElement("div", {
|
|
4417
4417
|
"class": "col-12 allcentered p-0"
|
|
4418
4418
|
}, /*#__PURE__*/React.createElement("button", {
|
|
4419
4419
|
"class": "".concat(productinfo_cssstyles.cart_btn),
|
|
@@ -58458,7 +58458,7 @@ var Footer7 = function Footer7(props) {
|
|
|
58458
58458
|
function ownKeys$1E(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; }
|
|
58459
58459
|
function _objectSpread$1E(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$1E(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$1E(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
58460
58460
|
var Footer8 = function Footer8(props) {
|
|
58461
|
-
var _css, _authdetailsContext$i2, _authdetailsContext$i3, _logoarrayofobjects$, _logoarrayofobjects$2, _authdetailsContext$i4, _authdetailsContext$i5, _logoarrayofobjects$3, _logoarrayofobjects$4, _authdetailsContext$i6, _authdetailsContext$i7, _authdetailsContext$i8, _authdetailsContext$i9, _authdetailsContext$i0, _authdetailsContext$i1, _authdetailsContext$i10, _authdetailsContext$i11, _authdetailsContext$i12, _authdetailsContext$i13, _authdetailsContext$i17, _authdetailsContext$i18, _authdetailsContext$i21, _authdetailsContext$i22, _authdetailsContext$i25, _authdetailsContext$i28, _authdetailsContext$i31, _authdetailsContext$i34, _authdetailsContext$i37, _authdetailsContext$i40, _authdetailsContext$i43, _authdetailsContext$i46, _authdetailsContext$i49, _authdetailsContext$i50, _authdetailsContext$i52, _templatepropcontext$, _returnpolicyobj, _returnpolicyobj2, _returnpolicyobj3, _returnpolicyobj4, _returnpolicyobj5, _returnpolicyobj6, _returnpolicyobj7, _returnpolicyobj8, _fetchcustomercartQue, _fetchcustomercartQue2, _authdetailsContext$i53, _logoarrayofobjects$5, _logoarrayofobjects$6, _authdetailsContext$i54, _authdetailsContext$i55, _authdetailsContext$i57, _authdetailsContext$i60, _authdetailsContext$i63, _authdetailsContext$i66, _authdetailsContext$i69, _returnpolicyobj9, _returnpolicyobj0, _returnpolicyobj1, _returnpolicyobj10, _returnpolicyobj11, _returnpolicyobj12, _authdetailsContext$i72, _logoarrayofobjects$7, _logoarrayofobjects$8, _templatepropcontext$2, _templatepropcontext$3, _fetchCategoriesQuery, _fetchCategoriesQuery2, _authdetailsContext$i74, _authdetailsContext$i75, _authdetailsContext$i78, _authdetailsContext$i81, _authdetailsContext$i84, _authdetailsContext$i87, _authdetailsContext$i89, _returnpolicyobj13, _returnpolicyobj14, _returnpolicyobj15, _returnpolicyobj16, _returnpolicyobj17, _returnpolicyobj18;
|
|
58461
|
+
var _css, _authdetailsContext$i2, _authdetailsContext$i3, _bgimagearrayofobjs$, _bgimagearrayofobjs$2, _logoarrayofobjects$, _logoarrayofobjects$2, _authdetailsContext$i4, _authdetailsContext$i5, _bgimagearrayofobjs$3, _bgimagearrayofobjs$4, _logoarrayofobjects$3, _logoarrayofobjects$4, _authdetailsContext$i6, _authdetailsContext$i7, _authdetailsContext$i8, _authdetailsContext$i9, _authdetailsContext$i0, _authdetailsContext$i1, _authdetailsContext$i10, _authdetailsContext$i11, _authdetailsContext$i12, _authdetailsContext$i13, _authdetailsContext$i17, _authdetailsContext$i18, _authdetailsContext$i21, _authdetailsContext$i22, _authdetailsContext$i25, _authdetailsContext$i28, _authdetailsContext$i31, _authdetailsContext$i34, _authdetailsContext$i37, _authdetailsContext$i40, _authdetailsContext$i43, _authdetailsContext$i46, _authdetailsContext$i49, _authdetailsContext$i50, _authdetailsContext$i52, _templatepropcontext$, _returnpolicyobj, _returnpolicyobj2, _returnpolicyobj3, _returnpolicyobj4, _returnpolicyobj5, _returnpolicyobj6, _returnpolicyobj7, _returnpolicyobj8, _fetchcustomercartQue, _fetchcustomercartQue2, _authdetailsContext$i53, _bgimagearrayofobjs$5, _bgimagearrayofobjs$6, _logoarrayofobjects$5, _logoarrayofobjects$6, _authdetailsContext$i54, _authdetailsContext$i55, _authdetailsContext$i57, _authdetailsContext$i60, _authdetailsContext$i63, _authdetailsContext$i66, _authdetailsContext$i69, _returnpolicyobj9, _returnpolicyobj0, _returnpolicyobj1, _returnpolicyobj10, _returnpolicyobj11, _returnpolicyobj12, _authdetailsContext$i72, _bgimagearrayofobjs$7, _bgimagearrayofobjs$8, _logoarrayofobjects$7, _logoarrayofobjects$8, _templatepropcontext$2, _templatepropcontext$3, _fetchCategoriesQuery, _fetchCategoriesQuery2, _authdetailsContext$i74, _authdetailsContext$i75, _authdetailsContext$i78, _authdetailsContext$i81, _authdetailsContext$i84, _authdetailsContext$i87, _authdetailsContext$i89, _returnpolicyobj13, _returnpolicyobj14, _returnpolicyobj15, _returnpolicyobj16, _returnpolicyobj17, _returnpolicyobj18;
|
|
58462
58462
|
var _useState = useState(''),
|
|
58463
58463
|
_useState2 = _slicedToArray(_useState, 2),
|
|
58464
58464
|
sectionproperties = _useState2[0],
|
|
@@ -58727,6 +58727,18 @@ var Footer8 = function Footer8(props) {
|
|
|
58727
58727
|
}
|
|
58728
58728
|
}
|
|
58729
58729
|
}, [templateproperties_context]);
|
|
58730
|
+
var _useState7 = useState([]),
|
|
58731
|
+
_useState8 = _slicedToArray(_useState7, 2),
|
|
58732
|
+
bgimagearrayofobjs = _useState8[0],
|
|
58733
|
+
setbgimagearrayofobjs = _useState8[1];
|
|
58734
|
+
useEffect(function () {
|
|
58735
|
+
if (sectionproperties.length != 0 && sectionproperties.logoarrayofobjects != undefined) {
|
|
58736
|
+
var bg1_arrayofobjsparsed = JSON.parse(sectionproperties.logoarrayofobjects);
|
|
58737
|
+
if (Array.isArray(bg1_arrayofobjsparsed)) {
|
|
58738
|
+
setbgimagearrayofobjs(_toConsumableArray(bg1_arrayofobjsparsed));
|
|
58739
|
+
}
|
|
58740
|
+
}
|
|
58741
|
+
}, [sectionproperties]);
|
|
58730
58742
|
return /*#__PURE__*/React.createElement("footer", {
|
|
58731
58743
|
"class": "row m-0 w-100 justify-content-center"
|
|
58732
58744
|
}, (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i2 = authdetailsContext.instinfo) === null || _authdetailsContext$i2 === void 0 ? void 0 : _authdetailsContext$i2.instid) != '67b1bb900a541' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i3 = authdetailsContext.instinfo) === null || _authdetailsContext$i3 === void 0 ? void 0 : _authdetailsContext$i3.instid) != '67d6bda67adf6' && /*#__PURE__*/React.createElement("div", {
|
|
@@ -58747,7 +58759,7 @@ var Footer8 = function Footer8(props) {
|
|
|
58747
58759
|
}, /*#__PURE__*/React.createElement(Imagekitimagecomp, {
|
|
58748
58760
|
urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
|
|
58749
58761
|
publicKey: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimagepublickey,
|
|
58750
|
-
path: langdetect == 'en' ? (_logoarrayofobjects$ = logoarrayofobjects[0]) === null || _logoarrayofobjects$ === void 0 ? void 0 : _logoarrayofobjects$.englishlogo : (_logoarrayofobjects$2 = logoarrayofobjects[0]) === null || _logoarrayofobjects$2 === void 0 ? void 0 : _logoarrayofobjects$2.arabiclogo,
|
|
58762
|
+
path: sectionproperties.replacelogo == 'Yes' ? langdetect == 'en' ? (_bgimagearrayofobjs$ = bgimagearrayofobjs[0]) === null || _bgimagearrayofobjs$ === void 0 ? void 0 : _bgimagearrayofobjs$.englishlogo : (_bgimagearrayofobjs$2 = bgimagearrayofobjs[0]) === null || _bgimagearrayofobjs$2 === void 0 ? void 0 : _bgimagearrayofobjs$2.arabiclogo : langdetect == 'en' ? (_logoarrayofobjects$ = logoarrayofobjects[0]) === null || _logoarrayofobjects$ === void 0 ? void 0 : _logoarrayofobjects$.englishlogo : (_logoarrayofobjects$2 = logoarrayofobjects[0]) === null || _logoarrayofobjects$2 === void 0 ? void 0 : _logoarrayofobjects$2.arabiclogo,
|
|
58751
58763
|
style: {
|
|
58752
58764
|
width: '100%',
|
|
58753
58765
|
height: '100%',
|
|
@@ -58771,7 +58783,7 @@ var Footer8 = function Footer8(props) {
|
|
|
58771
58783
|
}, /*#__PURE__*/React.createElement(Imagekitimagecomp, {
|
|
58772
58784
|
urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
|
|
58773
58785
|
publicKey: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimagepublickey,
|
|
58774
|
-
path: langdetect == 'en' ? (_logoarrayofobjects$3 = logoarrayofobjects[0]) === null || _logoarrayofobjects$3 === void 0 ? void 0 : _logoarrayofobjects$3.englishlogo : (_logoarrayofobjects$4 = logoarrayofobjects[0]) === null || _logoarrayofobjects$4 === void 0 ? void 0 : _logoarrayofobjects$4.arabiclogo,
|
|
58786
|
+
path: sectionproperties.replacelogo == 'Yes' ? langdetect == 'en' ? (_bgimagearrayofobjs$3 = bgimagearrayofobjs[0]) === null || _bgimagearrayofobjs$3 === void 0 ? void 0 : _bgimagearrayofobjs$3.englishlogo : (_bgimagearrayofobjs$4 = bgimagearrayofobjs[0]) === null || _bgimagearrayofobjs$4 === void 0 ? void 0 : _bgimagearrayofobjs$4.arabiclogo : langdetect == 'en' ? (_logoarrayofobjects$3 = logoarrayofobjects[0]) === null || _logoarrayofobjects$3 === void 0 ? void 0 : _logoarrayofobjects$3.englishlogo : (_logoarrayofobjects$4 = logoarrayofobjects[0]) === null || _logoarrayofobjects$4 === void 0 ? void 0 : _logoarrayofobjects$4.arabiclogo,
|
|
58775
58787
|
style: {
|
|
58776
58788
|
width: '100%',
|
|
58777
58789
|
height: '100%',
|
|
@@ -59426,7 +59438,7 @@ var Footer8 = function Footer8(props) {
|
|
|
59426
59438
|
}, /*#__PURE__*/React.createElement(Imagekitimagecomp, {
|
|
59427
59439
|
urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
|
|
59428
59440
|
publicKey: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimagepublickey,
|
|
59429
|
-
path: langdetect == 'en' ? (_logoarrayofobjects$5 = logoarrayofobjects[0]) === null || _logoarrayofobjects$5 === void 0 ? void 0 : _logoarrayofobjects$5.englishlogo : (_logoarrayofobjects$6 = logoarrayofobjects[0]) === null || _logoarrayofobjects$6 === void 0 ? void 0 : _logoarrayofobjects$6.arabiclogo,
|
|
59441
|
+
path: sectionproperties.replacelogo == 'Yes' ? langdetect == 'en' ? (_bgimagearrayofobjs$5 = bgimagearrayofobjs[0]) === null || _bgimagearrayofobjs$5 === void 0 ? void 0 : _bgimagearrayofobjs$5.englishlogo : (_bgimagearrayofobjs$6 = bgimagearrayofobjs[0]) === null || _bgimagearrayofobjs$6 === void 0 ? void 0 : _bgimagearrayofobjs$6.arabiclogo : langdetect == 'en' ? (_logoarrayofobjects$5 = logoarrayofobjects[0]) === null || _logoarrayofobjects$5 === void 0 ? void 0 : _logoarrayofobjects$5.englishlogo : (_logoarrayofobjects$6 = logoarrayofobjects[0]) === null || _logoarrayofobjects$6 === void 0 ? void 0 : _logoarrayofobjects$6.arabiclogo,
|
|
59430
59442
|
style: {
|
|
59431
59443
|
width: '100%',
|
|
59432
59444
|
height: '100%',
|
|
@@ -59792,7 +59804,7 @@ var Footer8 = function Footer8(props) {
|
|
|
59792
59804
|
}, /*#__PURE__*/React.createElement(Imagekitimagecomp, {
|
|
59793
59805
|
urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
|
|
59794
59806
|
publicKey: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimagepublickey,
|
|
59795
|
-
path: langdetect == 'en' ? (_logoarrayofobjects$7 = logoarrayofobjects[0]) === null || _logoarrayofobjects$7 === void 0 ? void 0 : _logoarrayofobjects$7.englishlogo : (_logoarrayofobjects$8 = logoarrayofobjects[0]) === null || _logoarrayofobjects$8 === void 0 ? void 0 : _logoarrayofobjects$8.arabiclogo,
|
|
59807
|
+
path: sectionproperties.replacelogo == 'Yes' ? langdetect == 'en' ? (_bgimagearrayofobjs$7 = bgimagearrayofobjs[0]) === null || _bgimagearrayofobjs$7 === void 0 ? void 0 : _bgimagearrayofobjs$7.englishlogo : (_bgimagearrayofobjs$8 = bgimagearrayofobjs[0]) === null || _bgimagearrayofobjs$8 === void 0 ? void 0 : _bgimagearrayofobjs$8.arabiclogo : langdetect == 'en' ? (_logoarrayofobjects$7 = logoarrayofobjects[0]) === null || _logoarrayofobjects$7 === void 0 ? void 0 : _logoarrayofobjects$7.englishlogo : (_logoarrayofobjects$8 = logoarrayofobjects[0]) === null || _logoarrayofobjects$8 === void 0 ? void 0 : _logoarrayofobjects$8.arabiclogo,
|
|
59796
59808
|
style: {
|
|
59797
59809
|
width: '100%',
|
|
59798
59810
|
height: '100%',
|
package/dist/index.umd.js
CHANGED
|
@@ -4166,7 +4166,7 @@
|
|
|
4166
4166
|
function _unsupportedIterableToArray$1(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray$1(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray$1(r, a) : void 0; } }
|
|
4167
4167
|
function _arrayLikeToArray$1(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
|
|
4168
4168
|
var Product_freqbought_tog = function Product_freqbought_tog(props) {
|
|
4169
|
-
var _fetchProductInfoQuer, _ProductInfoObj$data;
|
|
4169
|
+
var _fetchProductInfoQuer, _ProductInfoObj$data, _authdetailsContext$i;
|
|
4170
4170
|
props.actions.lang;
|
|
4171
4171
|
var langdetect = props.actions.langdetect;
|
|
4172
4172
|
var ikimagecredcontext = props.actions.ikimagecredcontext;
|
|
@@ -4183,7 +4183,7 @@
|
|
|
4183
4183
|
// const templatepropcontext = props.actions.templatepropcontext;
|
|
4184
4184
|
props.actions.fetchAuthorizationQueryContext;
|
|
4185
4185
|
props.addtocartfunc;
|
|
4186
|
-
props.actions.authdetailsContext;
|
|
4186
|
+
var authdetailsContext = props.actions.authdetailsContext;
|
|
4187
4187
|
var ProductInfoObj = props.actions.ProductInfoObj;
|
|
4188
4188
|
var addtocartfunc_extras = props.actions.addtocartfunc_extras;
|
|
4189
4189
|
var productinfo_cssstyles = props.actions.productinfo_cssstyles;
|
|
@@ -4268,7 +4268,7 @@
|
|
|
4268
4268
|
fontSize: 14
|
|
4269
4269
|
}
|
|
4270
4270
|
}, (item === null || item === void 0 || (_item$productinfo3 = item.productinfo) === null || _item$productinfo3 === void 0 ? void 0 : _item$productinfo3.hassale) == 1 ? item === null || item === void 0 || (_item$productinfo4 = item.productinfo) === null || _item$productinfo4 === void 0 ? void 0 : _item$productinfo4.defaultsaleprice : item === null || item === void 0 || (_item$productinfo5 = item.productinfo) === null || _item$productinfo5 === void 0 ? void 0 : _item$productinfo5.defaultprice))));
|
|
4271
|
-
}), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4271
|
+
}), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i = authdetailsContext.instinfo) === null || _authdetailsContext$i === void 0 ? void 0 : _authdetailsContext$i.contactinfo.instid) != '6a32811bd5933' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4272
4272
|
"class": "col-12 allcentered p-0"
|
|
4273
4273
|
}, /*#__PURE__*/React__default["default"].createElement("button", {
|
|
4274
4274
|
"class": "".concat(productinfo_cssstyles.cart_btn),
|
|
@@ -58313,7 +58313,7 @@
|
|
|
58313
58313
|
function ownKeys$1E(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; }
|
|
58314
58314
|
function _objectSpread$1E(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$1E(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$1E(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
58315
58315
|
var Footer8 = function Footer8(props) {
|
|
58316
|
-
var _css, _authdetailsContext$i2, _authdetailsContext$i3, _logoarrayofobjects$, _logoarrayofobjects$2, _authdetailsContext$i4, _authdetailsContext$i5, _logoarrayofobjects$3, _logoarrayofobjects$4, _authdetailsContext$i6, _authdetailsContext$i7, _authdetailsContext$i8, _authdetailsContext$i9, _authdetailsContext$i0, _authdetailsContext$i1, _authdetailsContext$i10, _authdetailsContext$i11, _authdetailsContext$i12, _authdetailsContext$i13, _authdetailsContext$i17, _authdetailsContext$i18, _authdetailsContext$i21, _authdetailsContext$i22, _authdetailsContext$i25, _authdetailsContext$i28, _authdetailsContext$i31, _authdetailsContext$i34, _authdetailsContext$i37, _authdetailsContext$i40, _authdetailsContext$i43, _authdetailsContext$i46, _authdetailsContext$i49, _authdetailsContext$i50, _authdetailsContext$i52, _templatepropcontext$, _returnpolicyobj, _returnpolicyobj2, _returnpolicyobj3, _returnpolicyobj4, _returnpolicyobj5, _returnpolicyobj6, _returnpolicyobj7, _returnpolicyobj8, _fetchcustomercartQue, _fetchcustomercartQue2, _authdetailsContext$i53, _logoarrayofobjects$5, _logoarrayofobjects$6, _authdetailsContext$i54, _authdetailsContext$i55, _authdetailsContext$i57, _authdetailsContext$i60, _authdetailsContext$i63, _authdetailsContext$i66, _authdetailsContext$i69, _returnpolicyobj9, _returnpolicyobj0, _returnpolicyobj1, _returnpolicyobj10, _returnpolicyobj11, _returnpolicyobj12, _authdetailsContext$i72, _logoarrayofobjects$7, _logoarrayofobjects$8, _templatepropcontext$2, _templatepropcontext$3, _fetchCategoriesQuery, _fetchCategoriesQuery2, _authdetailsContext$i74, _authdetailsContext$i75, _authdetailsContext$i78, _authdetailsContext$i81, _authdetailsContext$i84, _authdetailsContext$i87, _authdetailsContext$i89, _returnpolicyobj13, _returnpolicyobj14, _returnpolicyobj15, _returnpolicyobj16, _returnpolicyobj17, _returnpolicyobj18;
|
|
58316
|
+
var _css, _authdetailsContext$i2, _authdetailsContext$i3, _bgimagearrayofobjs$, _bgimagearrayofobjs$2, _logoarrayofobjects$, _logoarrayofobjects$2, _authdetailsContext$i4, _authdetailsContext$i5, _bgimagearrayofobjs$3, _bgimagearrayofobjs$4, _logoarrayofobjects$3, _logoarrayofobjects$4, _authdetailsContext$i6, _authdetailsContext$i7, _authdetailsContext$i8, _authdetailsContext$i9, _authdetailsContext$i0, _authdetailsContext$i1, _authdetailsContext$i10, _authdetailsContext$i11, _authdetailsContext$i12, _authdetailsContext$i13, _authdetailsContext$i17, _authdetailsContext$i18, _authdetailsContext$i21, _authdetailsContext$i22, _authdetailsContext$i25, _authdetailsContext$i28, _authdetailsContext$i31, _authdetailsContext$i34, _authdetailsContext$i37, _authdetailsContext$i40, _authdetailsContext$i43, _authdetailsContext$i46, _authdetailsContext$i49, _authdetailsContext$i50, _authdetailsContext$i52, _templatepropcontext$, _returnpolicyobj, _returnpolicyobj2, _returnpolicyobj3, _returnpolicyobj4, _returnpolicyobj5, _returnpolicyobj6, _returnpolicyobj7, _returnpolicyobj8, _fetchcustomercartQue, _fetchcustomercartQue2, _authdetailsContext$i53, _bgimagearrayofobjs$5, _bgimagearrayofobjs$6, _logoarrayofobjects$5, _logoarrayofobjects$6, _authdetailsContext$i54, _authdetailsContext$i55, _authdetailsContext$i57, _authdetailsContext$i60, _authdetailsContext$i63, _authdetailsContext$i66, _authdetailsContext$i69, _returnpolicyobj9, _returnpolicyobj0, _returnpolicyobj1, _returnpolicyobj10, _returnpolicyobj11, _returnpolicyobj12, _authdetailsContext$i72, _bgimagearrayofobjs$7, _bgimagearrayofobjs$8, _logoarrayofobjects$7, _logoarrayofobjects$8, _templatepropcontext$2, _templatepropcontext$3, _fetchCategoriesQuery, _fetchCategoriesQuery2, _authdetailsContext$i74, _authdetailsContext$i75, _authdetailsContext$i78, _authdetailsContext$i81, _authdetailsContext$i84, _authdetailsContext$i87, _authdetailsContext$i89, _returnpolicyobj13, _returnpolicyobj14, _returnpolicyobj15, _returnpolicyobj16, _returnpolicyobj17, _returnpolicyobj18;
|
|
58317
58317
|
var _useState = React.useState(''),
|
|
58318
58318
|
_useState2 = _slicedToArray__default["default"](_useState, 2),
|
|
58319
58319
|
sectionproperties = _useState2[0],
|
|
@@ -58582,6 +58582,18 @@
|
|
|
58582
58582
|
}
|
|
58583
58583
|
}
|
|
58584
58584
|
}, [templateproperties_context]);
|
|
58585
|
+
var _useState7 = React.useState([]),
|
|
58586
|
+
_useState8 = _slicedToArray__default["default"](_useState7, 2),
|
|
58587
|
+
bgimagearrayofobjs = _useState8[0],
|
|
58588
|
+
setbgimagearrayofobjs = _useState8[1];
|
|
58589
|
+
React.useEffect(function () {
|
|
58590
|
+
if (sectionproperties.length != 0 && sectionproperties.logoarrayofobjects != undefined) {
|
|
58591
|
+
var bg1_arrayofobjsparsed = JSON.parse(sectionproperties.logoarrayofobjects);
|
|
58592
|
+
if (Array.isArray(bg1_arrayofobjsparsed)) {
|
|
58593
|
+
setbgimagearrayofobjs(_toConsumableArray__default["default"](bg1_arrayofobjsparsed));
|
|
58594
|
+
}
|
|
58595
|
+
}
|
|
58596
|
+
}, [sectionproperties]);
|
|
58585
58597
|
return /*#__PURE__*/React__default["default"].createElement("footer", {
|
|
58586
58598
|
"class": "row m-0 w-100 justify-content-center"
|
|
58587
58599
|
}, (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i2 = authdetailsContext.instinfo) === null || _authdetailsContext$i2 === void 0 ? void 0 : _authdetailsContext$i2.instid) != '67b1bb900a541' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i3 = authdetailsContext.instinfo) === null || _authdetailsContext$i3 === void 0 ? void 0 : _authdetailsContext$i3.instid) != '67d6bda67adf6' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
@@ -58602,7 +58614,7 @@
|
|
|
58602
58614
|
}, /*#__PURE__*/React__default["default"].createElement(Imagekitimagecomp, {
|
|
58603
58615
|
urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
|
|
58604
58616
|
publicKey: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimagepublickey,
|
|
58605
|
-
path: langdetect == 'en' ? (_logoarrayofobjects$ = logoarrayofobjects[0]) === null || _logoarrayofobjects$ === void 0 ? void 0 : _logoarrayofobjects$.englishlogo : (_logoarrayofobjects$2 = logoarrayofobjects[0]) === null || _logoarrayofobjects$2 === void 0 ? void 0 : _logoarrayofobjects$2.arabiclogo,
|
|
58617
|
+
path: sectionproperties.replacelogo == 'Yes' ? langdetect == 'en' ? (_bgimagearrayofobjs$ = bgimagearrayofobjs[0]) === null || _bgimagearrayofobjs$ === void 0 ? void 0 : _bgimagearrayofobjs$.englishlogo : (_bgimagearrayofobjs$2 = bgimagearrayofobjs[0]) === null || _bgimagearrayofobjs$2 === void 0 ? void 0 : _bgimagearrayofobjs$2.arabiclogo : langdetect == 'en' ? (_logoarrayofobjects$ = logoarrayofobjects[0]) === null || _logoarrayofobjects$ === void 0 ? void 0 : _logoarrayofobjects$.englishlogo : (_logoarrayofobjects$2 = logoarrayofobjects[0]) === null || _logoarrayofobjects$2 === void 0 ? void 0 : _logoarrayofobjects$2.arabiclogo,
|
|
58606
58618
|
style: {
|
|
58607
58619
|
width: '100%',
|
|
58608
58620
|
height: '100%',
|
|
@@ -58626,7 +58638,7 @@
|
|
|
58626
58638
|
}, /*#__PURE__*/React__default["default"].createElement(Imagekitimagecomp, {
|
|
58627
58639
|
urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
|
|
58628
58640
|
publicKey: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimagepublickey,
|
|
58629
|
-
path: langdetect == 'en' ? (_logoarrayofobjects$3 = logoarrayofobjects[0]) === null || _logoarrayofobjects$3 === void 0 ? void 0 : _logoarrayofobjects$3.englishlogo : (_logoarrayofobjects$4 = logoarrayofobjects[0]) === null || _logoarrayofobjects$4 === void 0 ? void 0 : _logoarrayofobjects$4.arabiclogo,
|
|
58641
|
+
path: sectionproperties.replacelogo == 'Yes' ? langdetect == 'en' ? (_bgimagearrayofobjs$3 = bgimagearrayofobjs[0]) === null || _bgimagearrayofobjs$3 === void 0 ? void 0 : _bgimagearrayofobjs$3.englishlogo : (_bgimagearrayofobjs$4 = bgimagearrayofobjs[0]) === null || _bgimagearrayofobjs$4 === void 0 ? void 0 : _bgimagearrayofobjs$4.arabiclogo : langdetect == 'en' ? (_logoarrayofobjects$3 = logoarrayofobjects[0]) === null || _logoarrayofobjects$3 === void 0 ? void 0 : _logoarrayofobjects$3.englishlogo : (_logoarrayofobjects$4 = logoarrayofobjects[0]) === null || _logoarrayofobjects$4 === void 0 ? void 0 : _logoarrayofobjects$4.arabiclogo,
|
|
58630
58642
|
style: {
|
|
58631
58643
|
width: '100%',
|
|
58632
58644
|
height: '100%',
|
|
@@ -59281,7 +59293,7 @@
|
|
|
59281
59293
|
}, /*#__PURE__*/React__default["default"].createElement(Imagekitimagecomp, {
|
|
59282
59294
|
urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
|
|
59283
59295
|
publicKey: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimagepublickey,
|
|
59284
|
-
path: langdetect == 'en' ? (_logoarrayofobjects$5 = logoarrayofobjects[0]) === null || _logoarrayofobjects$5 === void 0 ? void 0 : _logoarrayofobjects$5.englishlogo : (_logoarrayofobjects$6 = logoarrayofobjects[0]) === null || _logoarrayofobjects$6 === void 0 ? void 0 : _logoarrayofobjects$6.arabiclogo,
|
|
59296
|
+
path: sectionproperties.replacelogo == 'Yes' ? langdetect == 'en' ? (_bgimagearrayofobjs$5 = bgimagearrayofobjs[0]) === null || _bgimagearrayofobjs$5 === void 0 ? void 0 : _bgimagearrayofobjs$5.englishlogo : (_bgimagearrayofobjs$6 = bgimagearrayofobjs[0]) === null || _bgimagearrayofobjs$6 === void 0 ? void 0 : _bgimagearrayofobjs$6.arabiclogo : langdetect == 'en' ? (_logoarrayofobjects$5 = logoarrayofobjects[0]) === null || _logoarrayofobjects$5 === void 0 ? void 0 : _logoarrayofobjects$5.englishlogo : (_logoarrayofobjects$6 = logoarrayofobjects[0]) === null || _logoarrayofobjects$6 === void 0 ? void 0 : _logoarrayofobjects$6.arabiclogo,
|
|
59285
59297
|
style: {
|
|
59286
59298
|
width: '100%',
|
|
59287
59299
|
height: '100%',
|
|
@@ -59647,7 +59659,7 @@
|
|
|
59647
59659
|
}, /*#__PURE__*/React__default["default"].createElement(Imagekitimagecomp, {
|
|
59648
59660
|
urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
|
|
59649
59661
|
publicKey: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimagepublickey,
|
|
59650
|
-
path: langdetect == 'en' ? (_logoarrayofobjects$7 = logoarrayofobjects[0]) === null || _logoarrayofobjects$7 === void 0 ? void 0 : _logoarrayofobjects$7.englishlogo : (_logoarrayofobjects$8 = logoarrayofobjects[0]) === null || _logoarrayofobjects$8 === void 0 ? void 0 : _logoarrayofobjects$8.arabiclogo,
|
|
59662
|
+
path: sectionproperties.replacelogo == 'Yes' ? langdetect == 'en' ? (_bgimagearrayofobjs$7 = bgimagearrayofobjs[0]) === null || _bgimagearrayofobjs$7 === void 0 ? void 0 : _bgimagearrayofobjs$7.englishlogo : (_bgimagearrayofobjs$8 = bgimagearrayofobjs[0]) === null || _bgimagearrayofobjs$8 === void 0 ? void 0 : _bgimagearrayofobjs$8.arabiclogo : langdetect == 'en' ? (_logoarrayofobjects$7 = logoarrayofobjects[0]) === null || _logoarrayofobjects$7 === void 0 ? void 0 : _logoarrayofobjects$7.englishlogo : (_logoarrayofobjects$8 = logoarrayofobjects[0]) === null || _logoarrayofobjects$8 === void 0 ? void 0 : _logoarrayofobjects$8.arabiclogo,
|
|
59651
59663
|
style: {
|
|
59652
59664
|
width: '100%',
|
|
59653
59665
|
height: '100%',
|