@bigbinary/neeto-site-blocks 1.8.27 → 1.9.0
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 +117 -43
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.css +1 -1
- package/dist/index.css.map +1 -1
- package/dist/index.js +117 -43
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs.js
CHANGED
|
@@ -4937,20 +4937,20 @@ var blendColors = function blendColors(_ref2) {
|
|
|
4937
4937
|
// Generate the final blended color string in hex format
|
|
4938
4938
|
return "#".concat((r << 16 | g << 8 | b).toString(16).padStart(6, "0"));
|
|
4939
4939
|
};
|
|
4940
|
-
var validateUrl = function validateUrl(url) {
|
|
4941
|
-
return url ? validateYouTubeUrl(url) || validateLoomUrl(url) || validateVimeoUrl(url) : false;
|
|
4940
|
+
var validateUrl = function validateUrl(url, autoPlay) {
|
|
4941
|
+
return url ? validateYouTubeUrl(url, autoPlay) || validateLoomUrl(url, autoPlay) || validateVimeoUrl(url, autoPlay) : false;
|
|
4942
4942
|
};
|
|
4943
|
-
var validateYouTubeUrl = function validateYouTubeUrl(url) {
|
|
4943
|
+
var validateYouTubeUrl = function validateYouTubeUrl(url, autoPlay) {
|
|
4944
4944
|
var match = url.match(YOUTUBE_URL_REGEXP);
|
|
4945
|
-
return match && "https://www.youtube.com/embed/".concat(match[5]);
|
|
4945
|
+
return match && "https://www.youtube.com/embed/".concat(match[5]).concat(autoPlay ? "?autoplay=1" : "");
|
|
4946
4946
|
};
|
|
4947
|
-
var validateVimeoUrl = function validateVimeoUrl(url) {
|
|
4947
|
+
var validateVimeoUrl = function validateVimeoUrl(url, autoPlay) {
|
|
4948
4948
|
var match = url.match(VIMEO_URL_REGEXP);
|
|
4949
|
-
return match && "https://player.vimeo.com/video/".concat(match[4], "?h=").concat(match[5]);
|
|
4949
|
+
return match && "https://player.vimeo.com/video/".concat(match[4], "?h=").concat(match[5]).concat(autoPlay ? "&autoplay=1" : "");
|
|
4950
4950
|
};
|
|
4951
|
-
var validateLoomUrl = function validateLoomUrl(url) {
|
|
4951
|
+
var validateLoomUrl = function validateLoomUrl(url, autoPlay) {
|
|
4952
4952
|
var match = url.match(LOOM_URL_REGEXP);
|
|
4953
|
-
return match && "https://www.loom.com/embed/".concat(match[4], "?t=").concat(match[5] || "");
|
|
4953
|
+
return match && "https://www.loom.com/embed/".concat(match[4], "?t=").concat(match[5] || "").concat(autoPlay ? "&autoplay=1" : "");
|
|
4954
4954
|
};
|
|
4955
4955
|
var applyResponsiveClasses = function applyResponsiveClasses(_ref3) {
|
|
4956
4956
|
var fieldValue = _ref3.fieldValue,
|
|
@@ -14763,7 +14763,7 @@ var withConditionalRender = function withConditionalRender(Component, condition)
|
|
|
14763
14763
|
return ConditionalRender;
|
|
14764
14764
|
};
|
|
14765
14765
|
|
|
14766
|
-
var _excluded$A = ["id", "disableButtonAndLinks", "wrapperClassName", "index"];
|
|
14766
|
+
var _excluded$A = ["id", "disableButtonAndLinks", "wrapperClassName", "index", "image"];
|
|
14767
14767
|
var StyledImage = styled__default["default"].img.attrs(function () {
|
|
14768
14768
|
return {
|
|
14769
14769
|
className: "hover:mix-blend-multiply"
|
|
@@ -14794,6 +14794,7 @@ var StyledImageWithWrapper = function StyledImageWithWrapper(_ref2) {
|
|
|
14794
14794
|
disableButtonAndLinks = _ref2.disableButtonAndLinks,
|
|
14795
14795
|
wrapperClassName = _ref2.wrapperClassName,
|
|
14796
14796
|
index = _ref2.index,
|
|
14797
|
+
image = _ref2.image,
|
|
14797
14798
|
props = _objectWithoutProperties__default["default"](_ref2, _excluded$A);
|
|
14798
14799
|
var _useElementClick = useElementClick({
|
|
14799
14800
|
id: id,
|
|
@@ -14805,7 +14806,13 @@ var StyledImageWithWrapper = function StyledImageWithWrapper(_ref2) {
|
|
|
14805
14806
|
"neeto-site-highlight__element": disableButtonAndLinks
|
|
14806
14807
|
}, wrapperClassName, wrapperClassName)),
|
|
14807
14808
|
onClick: disableButtonAndLinks && handleImageClick
|
|
14808
|
-
}, /*#__PURE__*/React__default["default"].createElement(StyledImage,
|
|
14809
|
+
}, /*#__PURE__*/React__default["default"].createElement(StyledImage, _extends__default["default"]({
|
|
14810
|
+
as: image !== null && image !== void 0 ? image : "img",
|
|
14811
|
+
height: 0,
|
|
14812
|
+
objectFit: "contain",
|
|
14813
|
+
sizes: "100vw",
|
|
14814
|
+
width: 0
|
|
14815
|
+
}, props)));
|
|
14809
14816
|
};
|
|
14810
14817
|
var StyledImage$1 = withConditionalRender(StyledImageWithWrapper, prop("src"));
|
|
14811
14818
|
|
|
@@ -16265,7 +16272,7 @@ var useBreakpoints = function useBreakpoints(breakpointOverrides) {
|
|
|
16265
16272
|
};
|
|
16266
16273
|
var useBreakpoints$1 = useBreakpoints;
|
|
16267
16274
|
|
|
16268
|
-
var _excluded$v = ["isEmbedded", "src", "design", "videoUrl"];
|
|
16275
|
+
var _excluded$v = ["isEmbedded", "src", "design", "videoUrl", "autoPlay"];
|
|
16269
16276
|
function ownKeys$i(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
16270
16277
|
function _objectSpread$i(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$i(Object(source), !0).forEach(function (key) { _defineProperty__default["default"](target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$i(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
16271
16278
|
var Media = function Media(_ref) {
|
|
@@ -16273,17 +16280,21 @@ var Media = function Media(_ref) {
|
|
|
16273
16280
|
src = _ref.src,
|
|
16274
16281
|
design = _ref.design,
|
|
16275
16282
|
videoUrl = _ref.videoUrl,
|
|
16283
|
+
autoPlay = _ref.autoPlay,
|
|
16276
16284
|
otherProps = _objectWithoutProperties__default["default"](_ref, _excluded$v);
|
|
16277
16285
|
if (isEmbedded) {
|
|
16278
16286
|
var _design$width;
|
|
16279
|
-
return videoUrl && /*#__PURE__*/React__default["default"].createElement(
|
|
16287
|
+
return videoUrl && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
16288
|
+
className: "relative h-0 w-full overflow-hidden pb-[56.25%]"
|
|
16289
|
+
}, /*#__PURE__*/React__default["default"].createElement(StyledWrapper, {
|
|
16280
16290
|
allow: "accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture",
|
|
16281
16291
|
as: "iframe",
|
|
16292
|
+
className: "absolute left-0 top-0 h-full w-full border-0",
|
|
16282
16293
|
design: dissoc("width", design),
|
|
16283
16294
|
height: "300px",
|
|
16284
|
-
src: validateUrl(videoUrl),
|
|
16295
|
+
src: validateUrl(videoUrl, autoPlay),
|
|
16285
16296
|
width: "".concat((_design$width = design === null || design === void 0 ? void 0 : design.width) !== null && _design$width !== void 0 ? _design$width : "100", "%")
|
|
16286
|
-
});
|
|
16297
|
+
}));
|
|
16287
16298
|
}
|
|
16288
16299
|
return /*#__PURE__*/React__default["default"].createElement(StyledImage$1, _objectSpread$i({
|
|
16289
16300
|
design: design,
|
|
@@ -21354,7 +21365,7 @@ const SwiperSlide = /*#__PURE__*/React.forwardRef(function (_temp, externalRef)
|
|
|
21354
21365
|
});
|
|
21355
21366
|
SwiperSlide.displayName = 'SwiperSlide';
|
|
21356
21367
|
|
|
21357
|
-
var _excluded$r = ["configurations", "className", "id", "disableButtonAndLinks"];
|
|
21368
|
+
var _excluded$r = ["configurations", "className", "id", "disableButtonAndLinks", "image"];
|
|
21358
21369
|
function ownKeys$h(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
21359
21370
|
function _objectSpread$h(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$h(Object(source), !0).forEach(function (key) { _defineProperty__default["default"](target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$h(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
21360
21371
|
var CardsInGridView = function CardsInGridView(_ref) {
|
|
@@ -21363,6 +21374,7 @@ var CardsInGridView = function CardsInGridView(_ref) {
|
|
|
21363
21374
|
className = _ref$className === void 0 ? "" : _ref$className,
|
|
21364
21375
|
id = _ref.id,
|
|
21365
21376
|
disableButtonAndLinks = _ref.disableButtonAndLinks,
|
|
21377
|
+
image = _ref.image,
|
|
21366
21378
|
otherProps = _objectWithoutProperties__default["default"](_ref, _excluded$r);
|
|
21367
21379
|
var _useState = React.useState(0),
|
|
21368
21380
|
_useState2 = _slicedToArray__default["default"](_useState, 2),
|
|
@@ -21405,6 +21417,7 @@ var CardsInGridView = function CardsInGridView(_ref) {
|
|
|
21405
21417
|
to: href
|
|
21406
21418
|
}, otherProps), /*#__PURE__*/React__default["default"].createElement(StyledImage$1, {
|
|
21407
21419
|
disableButtonAndLinks: disableButtonAndLinks,
|
|
21420
|
+
image: image,
|
|
21408
21421
|
index: index,
|
|
21409
21422
|
design: mergeRight(design.cardImage, style),
|
|
21410
21423
|
id: "cards-in-grid-view-".concat(index, "-image"),
|
|
@@ -21631,7 +21644,7 @@ var CardsWithCustomizableGrid = function CardsWithCustomizableGrid(_ref) {
|
|
|
21631
21644
|
}, button, otherProps)))));
|
|
21632
21645
|
};
|
|
21633
21646
|
|
|
21634
|
-
var _excluded$p = ["configurations", "className", "id", "disableButtonAndLinks"];
|
|
21647
|
+
var _excluded$p = ["configurations", "className", "id", "disableButtonAndLinks", "image"];
|
|
21635
21648
|
function ownKeys$g(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
21636
21649
|
function _objectSpread$g(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$g(Object(source), !0).forEach(function (key) { _defineProperty__default["default"](target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$g(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
21637
21650
|
var CardsWithImage = function CardsWithImage(_ref) {
|
|
@@ -21640,6 +21653,7 @@ var CardsWithImage = function CardsWithImage(_ref) {
|
|
|
21640
21653
|
className = _ref$className === void 0 ? "" : _ref$className,
|
|
21641
21654
|
id = _ref.id,
|
|
21642
21655
|
disableButtonAndLinks = _ref.disableButtonAndLinks,
|
|
21656
|
+
image = _ref.image,
|
|
21643
21657
|
otherProps = _objectWithoutProperties__default["default"](_ref, _excluded$p);
|
|
21644
21658
|
var properties = configurations.properties,
|
|
21645
21659
|
design = configurations.design;
|
|
@@ -21712,6 +21726,7 @@ var CardsWithImage = function CardsWithImage(_ref) {
|
|
|
21712
21726
|
className: "absolute bottom-0 right-0 flex items-end justify-end"
|
|
21713
21727
|
}, /*#__PURE__*/React__default["default"].createElement(StyledImage$1, {
|
|
21714
21728
|
disableButtonAndLinks: disableButtonAndLinks,
|
|
21729
|
+
image: image,
|
|
21715
21730
|
index: index,
|
|
21716
21731
|
className: "!justify-self-end",
|
|
21717
21732
|
design: design.cardImage,
|
|
@@ -39393,7 +39408,7 @@ var CtaWithEmailAction = function CtaWithEmailAction(_ref) {
|
|
|
39393
39408
|
}, otherProps), promotionText));
|
|
39394
39409
|
};
|
|
39395
39410
|
|
|
39396
|
-
var _excluded$m = ["configurations", "className", "id"];
|
|
39411
|
+
var _excluded$m = ["configurations", "className", "id", "image"];
|
|
39397
39412
|
function ownKeys$e(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
39398
39413
|
function _objectSpread$e(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$e(Object(source), !0).forEach(function (key) { _defineProperty__default["default"](target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$e(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
39399
39414
|
var CtaWithLogo = function CtaWithLogo(_ref) {
|
|
@@ -39401,6 +39416,7 @@ var CtaWithLogo = function CtaWithLogo(_ref) {
|
|
|
39401
39416
|
_ref$className = _ref.className,
|
|
39402
39417
|
className = _ref$className === void 0 ? "" : _ref$className,
|
|
39403
39418
|
id = _ref.id,
|
|
39419
|
+
image = _ref.image,
|
|
39404
39420
|
otherProps = _objectWithoutProperties__default["default"](_ref, _excluded$m);
|
|
39405
39421
|
var properties = configurations.properties,
|
|
39406
39422
|
design = configurations.design;
|
|
@@ -39422,6 +39438,7 @@ var CtaWithLogo = function CtaWithLogo(_ref) {
|
|
|
39422
39438
|
design: design.body,
|
|
39423
39439
|
nestedClassName: baseClasses
|
|
39424
39440
|
}, /*#__PURE__*/React__default["default"].createElement(StyledImage$1, {
|
|
39441
|
+
image: image,
|
|
39425
39442
|
alt: "logo",
|
|
39426
39443
|
className: "col-span-10 col-start-2 mx-auto sm:col-span-2 sm:col-start-1",
|
|
39427
39444
|
design: design.logo,
|
|
@@ -39462,15 +39479,17 @@ var Embed = function Embed(_ref) {
|
|
|
39462
39479
|
enableAnimation = properties.enableAnimation;
|
|
39463
39480
|
return /*#__PURE__*/React__default["default"].createElement(BlockWrapper, {
|
|
39464
39481
|
className: className,
|
|
39465
|
-
design: design.body,
|
|
39466
39482
|
enableAnimation: enableAnimation,
|
|
39467
39483
|
id: id,
|
|
39468
|
-
|
|
39469
|
-
|
|
39484
|
+
design: design.body,
|
|
39485
|
+
nestedClassName: "h-full flex items-center justify-center"
|
|
39486
|
+
}, neetoCist.isNotEmpty(content) ? /*#__PURE__*/React__default["default"].createElement(Interweave, {
|
|
39487
|
+
content: content,
|
|
39470
39488
|
allowList: ["iframe"],
|
|
39471
|
-
className: "ns-embed-block flex h-
|
|
39472
|
-
|
|
39473
|
-
|
|
39489
|
+
className: "ns-embed-block relative flex h-0 w-full pb-[56.25%] lg:static lg:pb-0"
|
|
39490
|
+
}) : /*#__PURE__*/React__default["default"].createElement(Typography$1, {
|
|
39491
|
+
className: "text-center font-semibold"
|
|
39492
|
+
}, "No content to display"));
|
|
39474
39493
|
};
|
|
39475
39494
|
|
|
39476
39495
|
var _excluded$l = ["configurations", "className", "id"],
|
|
@@ -39655,7 +39674,7 @@ var FeatureWithBulletList = function FeatureWithBulletList(_ref) {
|
|
|
39655
39674
|
}, otherProps), description)), /*#__PURE__*/React__default["default"].createElement(BulletList, null));
|
|
39656
39675
|
};
|
|
39657
39676
|
|
|
39658
|
-
var _excluded$j = ["configurations", "className", "id"];
|
|
39677
|
+
var _excluded$j = ["configurations", "className", "id", "image"];
|
|
39659
39678
|
function ownKeys$b(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
39660
39679
|
function _objectSpread$b(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$b(Object(source), !0).forEach(function (key) { _defineProperty__default["default"](target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$b(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
39661
39680
|
var FeatureWithDetails = function FeatureWithDetails(_ref) {
|
|
@@ -39663,6 +39682,7 @@ var FeatureWithDetails = function FeatureWithDetails(_ref) {
|
|
|
39663
39682
|
_ref$className = _ref.className,
|
|
39664
39683
|
className = _ref$className === void 0 ? "" : _ref$className,
|
|
39665
39684
|
id = _ref.id,
|
|
39685
|
+
image = _ref.image,
|
|
39666
39686
|
otherProps = _objectWithoutProperties__default["default"](_ref, _excluded$j);
|
|
39667
39687
|
var properties = configurations.properties,
|
|
39668
39688
|
design = configurations.design;
|
|
@@ -39677,6 +39697,7 @@ var FeatureWithDetails = function FeatureWithDetails(_ref) {
|
|
|
39677
39697
|
mediaPosition = _properties$media.position,
|
|
39678
39698
|
isEmbedded = _properties$media.isEmbedded,
|
|
39679
39699
|
videoUrl = _properties$media.videoUrl,
|
|
39700
|
+
autoPlay = _properties$media.autoPlay,
|
|
39680
39701
|
src = properties.backgroundImage.src;
|
|
39681
39702
|
var mediaURL = isEmbedded ? videoUrl : imageUrl;
|
|
39682
39703
|
var baseClasses = "grid grid-cols-12 items-center sm:gap-x-2 lg:gap-x-4 grid-flow-row-dense";
|
|
@@ -39740,6 +39761,8 @@ var FeatureWithDetails = function FeatureWithDetails(_ref) {
|
|
|
39740
39761
|
}))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
39741
39762
|
className: mediaBaseClasses
|
|
39742
39763
|
}, /*#__PURE__*/React__default["default"].createElement(Media, {
|
|
39764
|
+
autoPlay: autoPlay,
|
|
39765
|
+
image: image,
|
|
39743
39766
|
isEmbedded: isEmbedded,
|
|
39744
39767
|
videoUrl: videoUrl,
|
|
39745
39768
|
design: design.media,
|
|
@@ -39750,12 +39773,13 @@ var FeatureWithDetails = function FeatureWithDetails(_ref) {
|
|
|
39750
39773
|
})));
|
|
39751
39774
|
};
|
|
39752
39775
|
|
|
39753
|
-
var _excluded$i = ["configurations", "className", "id"];
|
|
39776
|
+
var _excluded$i = ["configurations", "className", "id", "image"];
|
|
39754
39777
|
var FeatureWithGrid = function FeatureWithGrid(_ref) {
|
|
39755
39778
|
var configurations = _ref.configurations,
|
|
39756
39779
|
_ref$className = _ref.className,
|
|
39757
39780
|
className = _ref$className === void 0 ? "" : _ref$className,
|
|
39758
39781
|
id = _ref.id,
|
|
39782
|
+
image = _ref.image,
|
|
39759
39783
|
otherProps = _objectWithoutProperties__default["default"](_ref, _excluded$i);
|
|
39760
39784
|
var properties = configurations.properties,
|
|
39761
39785
|
design = configurations.design;
|
|
@@ -39769,6 +39793,7 @@ var FeatureWithGrid = function FeatureWithGrid(_ref) {
|
|
|
39769
39793
|
imageURL = _properties$media.src,
|
|
39770
39794
|
isEmbedded = _properties$media.isEmbedded,
|
|
39771
39795
|
videoUrl = _properties$media.videoUrl,
|
|
39796
|
+
autoPlay = _properties$media.autoPlay,
|
|
39772
39797
|
src = properties.backgroundImage.src;
|
|
39773
39798
|
var baseClasses = "grid grid-cols-12 gap-4";
|
|
39774
39799
|
var gridClasses = function gridClasses(index) {
|
|
@@ -39798,6 +39823,8 @@ var FeatureWithGrid = function FeatureWithGrid(_ref) {
|
|
|
39798
39823
|
id: "feature-with-grid-description",
|
|
39799
39824
|
style: design.description
|
|
39800
39825
|
}, otherProps), description), /*#__PURE__*/React__default["default"].createElement(Media, {
|
|
39826
|
+
autoPlay: autoPlay,
|
|
39827
|
+
image: image,
|
|
39801
39828
|
isEmbedded: isEmbedded,
|
|
39802
39829
|
videoUrl: videoUrl,
|
|
39803
39830
|
className: "m-auto",
|
|
@@ -39817,6 +39844,7 @@ var FeatureWithGrid = function FeatureWithGrid(_ref) {
|
|
|
39817
39844
|
className: gridClasses(index),
|
|
39818
39845
|
key: getUniqueKey(featureTitle, featureDescription, index)
|
|
39819
39846
|
}, /*#__PURE__*/React__default["default"].createElement(StyledImage$1, {
|
|
39847
|
+
image: image,
|
|
39820
39848
|
index: index,
|
|
39821
39849
|
alt: featureImageAlt,
|
|
39822
39850
|
design: design.featureImage,
|
|
@@ -39840,12 +39868,13 @@ var FeatureWithGrid = function FeatureWithGrid(_ref) {
|
|
|
39840
39868
|
}));
|
|
39841
39869
|
};
|
|
39842
39870
|
|
|
39843
|
-
var _excluded$h = ["configurations", "className", "id"];
|
|
39871
|
+
var _excluded$h = ["configurations", "className", "id", "image"];
|
|
39844
39872
|
var FeatureWithImage = function FeatureWithImage(_ref) {
|
|
39845
39873
|
var configurations = _ref.configurations,
|
|
39846
39874
|
_ref$className = _ref.className,
|
|
39847
39875
|
className = _ref$className === void 0 ? "" : _ref$className,
|
|
39848
39876
|
id = _ref.id,
|
|
39877
|
+
image = _ref.image,
|
|
39849
39878
|
otherProps = _objectWithoutProperties__default["default"](_ref, _excluded$h);
|
|
39850
39879
|
var properties = configurations.properties,
|
|
39851
39880
|
design = configurations.design;
|
|
@@ -39858,6 +39887,7 @@ var FeatureWithImage = function FeatureWithImage(_ref) {
|
|
|
39858
39887
|
mediaPosition = _properties$media.position,
|
|
39859
39888
|
isEmbedded = _properties$media.isEmbedded,
|
|
39860
39889
|
videoUrl = _properties$media.videoUrl,
|
|
39890
|
+
autoPlay = _properties$media.autoPlay,
|
|
39861
39891
|
src = properties.backgroundImage.src;
|
|
39862
39892
|
var mediaURL = isEmbedded ? videoUrl : imageUrl;
|
|
39863
39893
|
var baseClasses = "grid grid-cols-12 items-center grid-flow-row-dense";
|
|
@@ -39891,6 +39921,8 @@ var FeatureWithImage = function FeatureWithImage(_ref) {
|
|
|
39891
39921
|
}, otherProps), description)), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
39892
39922
|
className: mediaBaseClasses
|
|
39893
39923
|
}, /*#__PURE__*/React__default["default"].createElement(Media, {
|
|
39924
|
+
autoPlay: autoPlay,
|
|
39925
|
+
image: image,
|
|
39894
39926
|
isEmbedded: isEmbedded,
|
|
39895
39927
|
videoUrl: videoUrl,
|
|
39896
39928
|
design: design.media,
|
|
@@ -39954,12 +39986,13 @@ var FeatureWithJumboText = function FeatureWithJumboText(_ref) {
|
|
|
39954
39986
|
}, otherProps), description)));
|
|
39955
39987
|
};
|
|
39956
39988
|
|
|
39957
|
-
var _excluded$f = ["configurations", "className", "id"];
|
|
39989
|
+
var _excluded$f = ["configurations", "className", "id", "image"];
|
|
39958
39990
|
var FeatureWithList = function FeatureWithList(_ref) {
|
|
39959
39991
|
var configurations = _ref.configurations,
|
|
39960
39992
|
_ref$className = _ref.className,
|
|
39961
39993
|
className = _ref$className === void 0 ? "" : _ref$className,
|
|
39962
39994
|
id = _ref.id,
|
|
39995
|
+
image = _ref.image,
|
|
39963
39996
|
otherProps = _objectWithoutProperties__default["default"](_ref, _excluded$f);
|
|
39964
39997
|
var properties = configurations.properties,
|
|
39965
39998
|
design = configurations.design;
|
|
@@ -39974,6 +40007,7 @@ var FeatureWithList = function FeatureWithList(_ref) {
|
|
|
39974
40007
|
mediaPosition = _properties$media.position,
|
|
39975
40008
|
isEmbedded = _properties$media.isEmbedded,
|
|
39976
40009
|
videoUrl = _properties$media.videoUrl,
|
|
40010
|
+
autoPlay = _properties$media.autoPlay,
|
|
39977
40011
|
src = properties.backgroundImage.src;
|
|
39978
40012
|
var mediaURL = isEmbedded ? videoUrl : imageURL;
|
|
39979
40013
|
var baseClasses = "grid grid-cols-12 lg:gap-x-4 sm:gap-x-2 items-center grid-flow-row-dense";
|
|
@@ -40032,6 +40066,8 @@ var FeatureWithList = function FeatureWithList(_ref) {
|
|
|
40032
40066
|
}))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
40033
40067
|
className: mediaBaseClasses
|
|
40034
40068
|
}, /*#__PURE__*/React__default["default"].createElement(Media, {
|
|
40069
|
+
autoPlay: autoPlay,
|
|
40070
|
+
image: image,
|
|
40035
40071
|
isEmbedded: isEmbedded,
|
|
40036
40072
|
videoUrl: videoUrl,
|
|
40037
40073
|
design: design.media,
|
|
@@ -40042,12 +40078,13 @@ var FeatureWithList = function FeatureWithList(_ref) {
|
|
|
40042
40078
|
})));
|
|
40043
40079
|
};
|
|
40044
40080
|
|
|
40045
|
-
var _excluded$e = ["configurations", "className", "id"];
|
|
40081
|
+
var _excluded$e = ["configurations", "className", "id", "image"];
|
|
40046
40082
|
var FeatureWithProgressBar = function FeatureWithProgressBar(_ref) {
|
|
40047
40083
|
var configurations = _ref.configurations,
|
|
40048
40084
|
_ref$className = _ref.className,
|
|
40049
40085
|
className = _ref$className === void 0 ? "" : _ref$className,
|
|
40050
40086
|
id = _ref.id,
|
|
40087
|
+
image = _ref.image,
|
|
40051
40088
|
otherProps = _objectWithoutProperties__default["default"](_ref, _excluded$e);
|
|
40052
40089
|
var _useState = React.useState(configurations.properties.features[0].id),
|
|
40053
40090
|
_useState2 = _slicedToArray__default["default"](_useState, 2),
|
|
@@ -40157,6 +40194,8 @@ var FeatureWithProgressBar = function FeatureWithProgressBar(_ref) {
|
|
|
40157
40194
|
})), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
40158
40195
|
className: imageBaseClasses
|
|
40159
40196
|
}, /*#__PURE__*/React__default["default"].createElement(Media, {
|
|
40197
|
+
image: image,
|
|
40198
|
+
autoPlay: features[selectedTabId - 1].media.autoPlay,
|
|
40160
40199
|
design: design.media,
|
|
40161
40200
|
disableButtonAndLinks: otherProps.disableButtonAndLinks,
|
|
40162
40201
|
id: "feature-with-progress-bar-".concat(selectedTabId - 1, "-media"),
|
|
@@ -40167,7 +40206,7 @@ var FeatureWithProgressBar = function FeatureWithProgressBar(_ref) {
|
|
|
40167
40206
|
})));
|
|
40168
40207
|
};
|
|
40169
40208
|
|
|
40170
|
-
var _excluded$d = ["configurations", "className", "id"];
|
|
40209
|
+
var _excluded$d = ["configurations", "className", "id", "image"];
|
|
40171
40210
|
function ownKeys$a(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
40172
40211
|
function _objectSpread$a(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$a(Object(source), !0).forEach(function (key) { _defineProperty__default["default"](target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$a(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
40173
40212
|
var FooterClassic = function FooterClassic(_ref) {
|
|
@@ -40175,6 +40214,7 @@ var FooterClassic = function FooterClassic(_ref) {
|
|
|
40175
40214
|
_ref$className = _ref.className,
|
|
40176
40215
|
className = _ref$className === void 0 ? "" : _ref$className,
|
|
40177
40216
|
id = _ref.id,
|
|
40217
|
+
image = _ref.image,
|
|
40178
40218
|
otherProps = _objectWithoutProperties__default["default"](_ref, _excluded$d);
|
|
40179
40219
|
var properties = configurations.properties,
|
|
40180
40220
|
design = configurations.design;
|
|
@@ -40207,6 +40247,7 @@ var FooterClassic = function FooterClassic(_ref) {
|
|
|
40207
40247
|
}), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
40208
40248
|
className: "col-span-12 sm:col-span-12 sm:mx-20 sm:flex sm:justify-between sm:gap-y-0"
|
|
40209
40249
|
}, /*#__PURE__*/React__default["default"].createElement(StyledImage$1, {
|
|
40250
|
+
image: image,
|
|
40210
40251
|
design: design.logo,
|
|
40211
40252
|
disableButtonAndLinks: otherProps.disableButtonAndLinks,
|
|
40212
40253
|
id: "footer-classic-logo",
|
|
@@ -40258,6 +40299,7 @@ var FooterClassic = function FooterClassic(_ref) {
|
|
|
40258
40299
|
design: design.body,
|
|
40259
40300
|
nestedClassName: baseClasses
|
|
40260
40301
|
}, /*#__PURE__*/React__default["default"].createElement(StyledImage$1, {
|
|
40302
|
+
image: image,
|
|
40261
40303
|
design: design.logo,
|
|
40262
40304
|
disableButtonAndLinks: otherProps.disableButtonAndLinks,
|
|
40263
40305
|
id: "footer-classic-logo",
|
|
@@ -40305,7 +40347,7 @@ var FooterClassic = function FooterClassic(_ref) {
|
|
|
40305
40347
|
}, otherProps), copyrightText));
|
|
40306
40348
|
};
|
|
40307
40349
|
|
|
40308
|
-
var _excluded$c = ["configurations", "className", "id"];
|
|
40350
|
+
var _excluded$c = ["configurations", "className", "id", "image"];
|
|
40309
40351
|
function ownKeys$9(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
40310
40352
|
function _objectSpread$9(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$9(Object(source), !0).forEach(function (key) { _defineProperty__default["default"](target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$9(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
40311
40353
|
var FooterWithIcons = function FooterWithIcons(_ref) {
|
|
@@ -40313,6 +40355,7 @@ var FooterWithIcons = function FooterWithIcons(_ref) {
|
|
|
40313
40355
|
_ref$className = _ref.className,
|
|
40314
40356
|
className = _ref$className === void 0 ? "" : _ref$className,
|
|
40315
40357
|
id = _ref.id,
|
|
40358
|
+
image = _ref.image,
|
|
40316
40359
|
otherProps = _objectWithoutProperties__default["default"](_ref, _excluded$c);
|
|
40317
40360
|
var properties = configurations.properties,
|
|
40318
40361
|
design = configurations.design;
|
|
@@ -40336,6 +40379,7 @@ var FooterWithIcons = function FooterWithIcons(_ref) {
|
|
|
40336
40379
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
40337
40380
|
className: "col-span-12 grid grid-cols-8 gap-y-4 sm:col-span-7 sm:w-full sm:gap-x-4 lg:col-span-6"
|
|
40338
40381
|
}, /*#__PURE__*/React__default["default"].createElement(StyledImage$1, {
|
|
40382
|
+
image: image,
|
|
40339
40383
|
design: design.logo,
|
|
40340
40384
|
disableButtonAndLinks: otherProps.disableButtonAndLinks,
|
|
40341
40385
|
id: "footer-with-icons-logo",
|
|
@@ -40380,7 +40424,7 @@ var FooterWithIcons = function FooterWithIcons(_ref) {
|
|
|
40380
40424
|
}, otherProps), copyrightText));
|
|
40381
40425
|
};
|
|
40382
40426
|
|
|
40383
|
-
var _excluded$b = ["configurations", "className", "id"];
|
|
40427
|
+
var _excluded$b = ["configurations", "className", "id", "image"];
|
|
40384
40428
|
function ownKeys$8(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
40385
40429
|
function _objectSpread$8(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$8(Object(source), !0).forEach(function (key) { _defineProperty__default["default"](target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$8(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
40386
40430
|
var FooterWithLinks = function FooterWithLinks(_ref) {
|
|
@@ -40388,6 +40432,7 @@ var FooterWithLinks = function FooterWithLinks(_ref) {
|
|
|
40388
40432
|
_ref$className = _ref.className,
|
|
40389
40433
|
className = _ref$className === void 0 ? "" : _ref$className,
|
|
40390
40434
|
id = _ref.id,
|
|
40435
|
+
image = _ref.image,
|
|
40391
40436
|
otherProps = _objectWithoutProperties__default["default"](_ref, _excluded$b);
|
|
40392
40437
|
var properties = configurations.properties,
|
|
40393
40438
|
design = configurations.design;
|
|
@@ -40415,6 +40460,7 @@ var FooterWithLinks = function FooterWithLinks(_ref) {
|
|
|
40415
40460
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
40416
40461
|
className: "flex items-center gap-x-2"
|
|
40417
40462
|
}, /*#__PURE__*/React__default["default"].createElement(StyledImage$1, {
|
|
40463
|
+
image: image,
|
|
40418
40464
|
design: design.logo,
|
|
40419
40465
|
disableButtonAndLinks: otherProps.disableButtonAndLinks,
|
|
40420
40466
|
id: "footer-with-links-logo",
|
|
@@ -42348,7 +42394,8 @@ var GalleryClassic = function GalleryClassic(_ref) {
|
|
|
42348
42394
|
_ref$className = _ref.className,
|
|
42349
42395
|
className = _ref$className === void 0 ? "" : _ref$className,
|
|
42350
42396
|
id = _ref.id,
|
|
42351
|
-
disableButtonAndLinks = _ref.disableButtonAndLinks
|
|
42397
|
+
disableButtonAndLinks = _ref.disableButtonAndLinks,
|
|
42398
|
+
image = _ref.image;
|
|
42352
42399
|
var swiperRef = React.useRef(null);
|
|
42353
42400
|
var properties = configurations.properties,
|
|
42354
42401
|
design = configurations.design;
|
|
@@ -42424,6 +42471,7 @@ var GalleryClassic = function GalleryClassic(_ref) {
|
|
|
42424
42471
|
key: getUniqueKey(src, title, index)
|
|
42425
42472
|
}, /*#__PURE__*/React__default["default"].createElement(StyledImage$1, {
|
|
42426
42473
|
disableButtonAndLinks: disableButtonAndLinks,
|
|
42474
|
+
image: image,
|
|
42427
42475
|
index: index,
|
|
42428
42476
|
src: src,
|
|
42429
42477
|
alt: caption,
|
|
@@ -42444,12 +42492,13 @@ var GalleryClassic = function GalleryClassic(_ref) {
|
|
|
42444
42492
|
}));
|
|
42445
42493
|
};
|
|
42446
42494
|
|
|
42447
|
-
var _excluded$a = ["configurations", "className", "id"];
|
|
42495
|
+
var _excluded$a = ["configurations", "className", "id", "image"];
|
|
42448
42496
|
var GalleryWithAutoplay = function GalleryWithAutoplay(_ref) {
|
|
42449
42497
|
var configurations = _ref.configurations,
|
|
42450
42498
|
_ref$className = _ref.className,
|
|
42451
42499
|
className = _ref$className === void 0 ? "" : _ref$className,
|
|
42452
42500
|
id = _ref.id,
|
|
42501
|
+
image = _ref.image,
|
|
42453
42502
|
otherProps = _objectWithoutProperties__default["default"](_ref, _excluded$a);
|
|
42454
42503
|
var _useState = React.useState(null),
|
|
42455
42504
|
_useState2 = _slicedToArray__default["default"](_useState, 2),
|
|
@@ -42513,6 +42562,7 @@ var GalleryWithAutoplay = function GalleryWithAutoplay(_ref) {
|
|
|
42513
42562
|
className: "swiper__wrapper",
|
|
42514
42563
|
key: getUniqueKey(src, caption, index)
|
|
42515
42564
|
}, /*#__PURE__*/React__default["default"].createElement(StyledImage$1, {
|
|
42565
|
+
image: image,
|
|
42516
42566
|
index: index,
|
|
42517
42567
|
src: src,
|
|
42518
42568
|
alt: caption,
|
|
@@ -42549,6 +42599,7 @@ var GalleryWithAutoplay = function GalleryWithAutoplay(_ref) {
|
|
|
42549
42599
|
key: getUniqueKey(src, title, index)
|
|
42550
42600
|
}, /*#__PURE__*/React__default["default"].createElement(StyledImage$1, {
|
|
42551
42601
|
alt: alt,
|
|
42602
|
+
image: image,
|
|
42552
42603
|
index: index,
|
|
42553
42604
|
src: src,
|
|
42554
42605
|
title: title,
|
|
@@ -42577,7 +42628,7 @@ var useElementVisible = function useElementVisible(ref) {
|
|
|
42577
42628
|
return isIntersecting;
|
|
42578
42629
|
};
|
|
42579
42630
|
|
|
42580
|
-
var _excluded$9 = ["configurations", "className", "currentPath", "id"];
|
|
42631
|
+
var _excluded$9 = ["configurations", "className", "currentPath", "id", "image"];
|
|
42581
42632
|
function ownKeys$7(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
42582
42633
|
function _objectSpread$7(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$7(Object(source), !0).forEach(function (key) { _defineProperty__default["default"](target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$7(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
42583
42634
|
var HeaderWithButtons = function HeaderWithButtons(_ref) {
|
|
@@ -42586,6 +42637,7 @@ var HeaderWithButtons = function HeaderWithButtons(_ref) {
|
|
|
42586
42637
|
className = _ref$className === void 0 ? "" : _ref$className,
|
|
42587
42638
|
currentPath = _ref.currentPath,
|
|
42588
42639
|
id = _ref.id,
|
|
42640
|
+
image = _ref.image,
|
|
42589
42641
|
otherProps = _objectWithoutProperties__default["default"](_ref, _excluded$9);
|
|
42590
42642
|
var _useState = React.useState(false),
|
|
42591
42643
|
_useState2 = _slicedToArray__default["default"](_useState, 2),
|
|
@@ -42617,6 +42669,7 @@ var HeaderWithButtons = function HeaderWithButtons(_ref) {
|
|
|
42617
42669
|
"col-span-3 sm:col-span-4 sm:col-start-2": neetoCist.isNotEmpty(buttons)
|
|
42618
42670
|
})
|
|
42619
42671
|
}, otherProps), /*#__PURE__*/React__default["default"].createElement(StyledImage$1, {
|
|
42672
|
+
image: image,
|
|
42620
42673
|
className: "max-h-8 sm:max-h-10 lg:max-h-14",
|
|
42621
42674
|
design: design.logo,
|
|
42622
42675
|
src: properties.logo.src
|
|
@@ -42679,7 +42732,7 @@ var HeaderWithButtons = function HeaderWithButtons(_ref) {
|
|
|
42679
42732
|
}))));
|
|
42680
42733
|
};
|
|
42681
42734
|
|
|
42682
|
-
var _excluded$8 = ["configurations", "className", "id"];
|
|
42735
|
+
var _excluded$8 = ["configurations", "className", "id", "image"];
|
|
42683
42736
|
function ownKeys$6(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
42684
42737
|
function _objectSpread$6(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$6(Object(source), !0).forEach(function (key) { _defineProperty__default["default"](target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$6(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
42685
42738
|
var HeaderWithDropdownLinks = function HeaderWithDropdownLinks(_ref) {
|
|
@@ -42687,6 +42740,7 @@ var HeaderWithDropdownLinks = function HeaderWithDropdownLinks(_ref) {
|
|
|
42687
42740
|
_ref$className = _ref.className,
|
|
42688
42741
|
className = _ref$className === void 0 ? "" : _ref$className,
|
|
42689
42742
|
id = _ref.id,
|
|
42743
|
+
image = _ref.image,
|
|
42690
42744
|
otherProps = _objectWithoutProperties__default["default"](_ref, _excluded$8);
|
|
42691
42745
|
var _useState = React.useState(false),
|
|
42692
42746
|
_useState2 = _slicedToArray__default["default"](_useState, 2),
|
|
@@ -42732,6 +42786,7 @@ var HeaderWithDropdownLinks = function HeaderWithDropdownLinks(_ref) {
|
|
|
42732
42786
|
className: "flex w-full gap-x-2",
|
|
42733
42787
|
to: properties.logo.to
|
|
42734
42788
|
}, otherProps), /*#__PURE__*/React__default["default"].createElement(StyledImage$1, {
|
|
42789
|
+
image: image,
|
|
42735
42790
|
className: "max-h-8 sm:max-h-10 lg:max-h-14",
|
|
42736
42791
|
design: design.logo,
|
|
42737
42792
|
disableButtonAndLinks: otherProps.disableButtonAndLinks,
|
|
@@ -42790,7 +42845,7 @@ var HeaderWithDropdownLinks = function HeaderWithDropdownLinks(_ref) {
|
|
|
42790
42845
|
})))));
|
|
42791
42846
|
};
|
|
42792
42847
|
|
|
42793
|
-
var _excluded$7 = ["configurations", "className", "currentPath", "id"];
|
|
42848
|
+
var _excluded$7 = ["configurations", "className", "currentPath", "id", "image"];
|
|
42794
42849
|
function ownKeys$5(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
42795
42850
|
function _objectSpread$5(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$5(Object(source), !0).forEach(function (key) { _defineProperty__default["default"](target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$5(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
42796
42851
|
var HeaderWithIcons = function HeaderWithIcons(_ref) {
|
|
@@ -42799,6 +42854,7 @@ var HeaderWithIcons = function HeaderWithIcons(_ref) {
|
|
|
42799
42854
|
className = _ref$className === void 0 ? "" : _ref$className,
|
|
42800
42855
|
currentPath = _ref.currentPath,
|
|
42801
42856
|
id = _ref.id,
|
|
42857
|
+
image = _ref.image,
|
|
42802
42858
|
otherProps = _objectWithoutProperties__default["default"](_ref, _excluded$7);
|
|
42803
42859
|
var _useState = React.useState(false),
|
|
42804
42860
|
_useState2 = _slicedToArray__default["default"](_useState, 2),
|
|
@@ -42838,6 +42894,7 @@ var HeaderWithIcons = function HeaderWithIcons(_ref) {
|
|
|
42838
42894
|
className: "col-span-6 col-start-4 m-auto flex max-h-8 justify-center sm:col-span-4 sm:col-start-5 sm:max-h-10 lg:col-span-3 lg:col-start-6 lg:max-h-14",
|
|
42839
42895
|
to: properties.logo.to
|
|
42840
42896
|
}, otherProps), /*#__PURE__*/React__default["default"].createElement(StyledImage$1, {
|
|
42897
|
+
image: image,
|
|
42841
42898
|
design: design.logo,
|
|
42842
42899
|
disableButtonAndLinks: otherProps.disableButtonAndLinks,
|
|
42843
42900
|
id: "header-with-icons-logo",
|
|
@@ -42909,7 +42966,7 @@ var HeaderWithIcons = function HeaderWithIcons(_ref) {
|
|
|
42909
42966
|
})))));
|
|
42910
42967
|
};
|
|
42911
42968
|
|
|
42912
|
-
var _excluded$6 = ["configurations", "className", "id", "currentPath"];
|
|
42969
|
+
var _excluded$6 = ["configurations", "className", "id", "currentPath", "image"];
|
|
42913
42970
|
function ownKeys$4(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
42914
42971
|
function _objectSpread$4(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$4(Object(source), !0).forEach(function (key) { _defineProperty__default["default"](target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$4(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
42915
42972
|
var HeaderWithLogoTitle = function HeaderWithLogoTitle(_ref) {
|
|
@@ -42918,6 +42975,7 @@ var HeaderWithLogoTitle = function HeaderWithLogoTitle(_ref) {
|
|
|
42918
42975
|
className = _ref$className === void 0 ? "" : _ref$className,
|
|
42919
42976
|
id = _ref.id,
|
|
42920
42977
|
currentPath = _ref.currentPath,
|
|
42978
|
+
image = _ref.image,
|
|
42921
42979
|
otherProps = _objectWithoutProperties__default["default"](_ref, _excluded$6);
|
|
42922
42980
|
var _useState = React.useState(false),
|
|
42923
42981
|
_useState2 = _slicedToArray__default["default"](_useState, 2),
|
|
@@ -42951,6 +43009,7 @@ var HeaderWithLogoTitle = function HeaderWithLogoTitle(_ref) {
|
|
|
42951
43009
|
className: "flex w-full gap-x-2",
|
|
42952
43010
|
to: properties.logo.to
|
|
42953
43011
|
}, otherProps), /*#__PURE__*/React__default["default"].createElement(StyledImage$1, {
|
|
43012
|
+
image: image,
|
|
42954
43013
|
className: "max-h-8 sm:max-h-10 lg:max-h-14",
|
|
42955
43014
|
design: design.logo,
|
|
42956
43015
|
disableButtonAndLinks: otherProps.disableButtonAndLinks,
|
|
@@ -43024,7 +43083,7 @@ var HeaderWithLogoTitle = function HeaderWithLogoTitle(_ref) {
|
|
|
43024
43083
|
}))));
|
|
43025
43084
|
};
|
|
43026
43085
|
|
|
43027
|
-
var _excluded$5 = ["configurations", "className", "id"];
|
|
43086
|
+
var _excluded$5 = ["configurations", "className", "id", "image"];
|
|
43028
43087
|
function ownKeys$3(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
43029
43088
|
function _objectSpread$3(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$3(Object(source), !0).forEach(function (key) { _defineProperty__default["default"](target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$3(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
43030
43089
|
var HeroWithCallToAction = function HeroWithCallToAction(_ref) {
|
|
@@ -43032,6 +43091,7 @@ var HeroWithCallToAction = function HeroWithCallToAction(_ref) {
|
|
|
43032
43091
|
_ref$className = _ref.className,
|
|
43033
43092
|
className = _ref$className === void 0 ? "" : _ref$className,
|
|
43034
43093
|
id = _ref.id,
|
|
43094
|
+
image = _ref.image,
|
|
43035
43095
|
otherProps = _objectWithoutProperties__default["default"](_ref, _excluded$5);
|
|
43036
43096
|
var properties = configurations.properties,
|
|
43037
43097
|
design = configurations.design;
|
|
@@ -43045,6 +43105,7 @@ var HeroWithCallToAction = function HeroWithCallToAction(_ref) {
|
|
|
43045
43105
|
mediaPosition = _properties$media.position,
|
|
43046
43106
|
isEmbedded = _properties$media.isEmbedded,
|
|
43047
43107
|
videoUrl = _properties$media.videoUrl,
|
|
43108
|
+
autoPlay = _properties$media.autoPlay,
|
|
43048
43109
|
src = properties.backgroundImage.src;
|
|
43049
43110
|
var mediaURL = isEmbedded ? videoUrl : imageURL;
|
|
43050
43111
|
var baseClasses = "grid sm:gap-x-6 gap-y-6 grid-cols-12 items-center grid-flow-row-dense";
|
|
@@ -43105,6 +43166,8 @@ var HeroWithCallToAction = function HeroWithCallToAction(_ref) {
|
|
|
43105
43166
|
}))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
43106
43167
|
className: mediaBaseClasses
|
|
43107
43168
|
}, /*#__PURE__*/React__default["default"].createElement(Media, {
|
|
43169
|
+
autoPlay: autoPlay,
|
|
43170
|
+
image: image,
|
|
43108
43171
|
isEmbedded: isEmbedded,
|
|
43109
43172
|
videoUrl: videoUrl,
|
|
43110
43173
|
design: design.media,
|
|
@@ -43114,7 +43177,7 @@ var HeroWithCallToAction = function HeroWithCallToAction(_ref) {
|
|
|
43114
43177
|
})));
|
|
43115
43178
|
};
|
|
43116
43179
|
|
|
43117
|
-
var _excluded$4 = ["configurations", "className", "id", "disableButtonAndLinks"];
|
|
43180
|
+
var _excluded$4 = ["configurations", "className", "id", "disableButtonAndLinks", "image"];
|
|
43118
43181
|
function ownKeys$2(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
43119
43182
|
function _objectSpread$2(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$2(Object(source), !0).forEach(function (key) { _defineProperty__default["default"](target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$2(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
43120
43183
|
var HeroWithGallery = function HeroWithGallery(_ref) {
|
|
@@ -43123,6 +43186,7 @@ var HeroWithGallery = function HeroWithGallery(_ref) {
|
|
|
43123
43186
|
className = _ref$className === void 0 ? "" : _ref$className,
|
|
43124
43187
|
id = _ref.id,
|
|
43125
43188
|
disableButtonAndLinks = _ref.disableButtonAndLinks,
|
|
43189
|
+
image = _ref.image,
|
|
43126
43190
|
otherProps = _objectWithoutProperties__default["default"](_ref, _excluded$4);
|
|
43127
43191
|
var _useState = React.useState(null),
|
|
43128
43192
|
_useState2 = _slicedToArray__default["default"](_useState, 2),
|
|
@@ -43231,7 +43295,9 @@ var HeroWithGallery = function HeroWithGallery(_ref) {
|
|
|
43231
43295
|
}))
|
|
43232
43296
|
}, /*#__PURE__*/React__default["default"].createElement(Media, {
|
|
43233
43297
|
disableButtonAndLinks: disableButtonAndLinks,
|
|
43298
|
+
image: image,
|
|
43234
43299
|
index: index,
|
|
43300
|
+
autoPlay: media.autoPlay,
|
|
43235
43301
|
design: design.media,
|
|
43236
43302
|
id: "hero-with-gallery-slide-".concat(index, "-media"),
|
|
43237
43303
|
isEmbedded: media.isEmbedded,
|
|
@@ -43298,7 +43364,8 @@ var LogoClouds = function LogoClouds(_ref) {
|
|
|
43298
43364
|
_ref$className = _ref.className,
|
|
43299
43365
|
className = _ref$className === void 0 ? "" : _ref$className,
|
|
43300
43366
|
id = _ref.id,
|
|
43301
|
-
disableButtonAndLinks = _ref.disableButtonAndLinks
|
|
43367
|
+
disableButtonAndLinks = _ref.disableButtonAndLinks,
|
|
43368
|
+
image = _ref.image;
|
|
43302
43369
|
var properties = configurations.properties,
|
|
43303
43370
|
design = configurations.design;
|
|
43304
43371
|
var _properties$logos = properties.logos,
|
|
@@ -43347,6 +43414,7 @@ var LogoClouds = function LogoClouds(_ref) {
|
|
|
43347
43414
|
}, /*#__PURE__*/React__default["default"].createElement(StyledImage$1, {
|
|
43348
43415
|
alt: alt,
|
|
43349
43416
|
disableButtonAndLinks: disableButtonAndLinks,
|
|
43417
|
+
image: image,
|
|
43350
43418
|
index: index,
|
|
43351
43419
|
src: src,
|
|
43352
43420
|
title: title,
|
|
@@ -43562,7 +43630,8 @@ var Slides = function Slides(_ref) {
|
|
|
43562
43630
|
id = _ref.id,
|
|
43563
43631
|
disableButtonAndLinks = _ref.disableButtonAndLinks,
|
|
43564
43632
|
pageUrl = _ref.pageUrl,
|
|
43565
|
-
hostUrl = _ref.hostUrl
|
|
43633
|
+
hostUrl = _ref.hostUrl,
|
|
43634
|
+
image = _ref.image;
|
|
43566
43635
|
var _useState = React.useState(0),
|
|
43567
43636
|
_useState2 = _slicedToArray__default["default"](_useState, 2),
|
|
43568
43637
|
activeIndex = _useState2[0],
|
|
@@ -43603,6 +43672,7 @@ var Slides = function Slides(_ref) {
|
|
|
43603
43672
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
43604
43673
|
className: "bottom-0 col-span-12 flex w-full justify-center sm:absolute sm:col-span-10 sm:col-start-2"
|
|
43605
43674
|
}, /*#__PURE__*/React__default["default"].createElement(StyledImage$1, {
|
|
43675
|
+
image: image,
|
|
43606
43676
|
design: design.image,
|
|
43607
43677
|
src: imageUrl
|
|
43608
43678
|
}));
|
|
@@ -43679,7 +43749,7 @@ var Slides = function Slides(_ref) {
|
|
|
43679
43749
|
}));
|
|
43680
43750
|
};
|
|
43681
43751
|
|
|
43682
|
-
var _excluded$1 = ["configurations", "className", "id"];
|
|
43752
|
+
var _excluded$1 = ["configurations", "className", "id", "image"];
|
|
43683
43753
|
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
43684
43754
|
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty__default["default"](target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
43685
43755
|
var TestimonialWithSlider = function TestimonialWithSlider(_ref) {
|
|
@@ -43687,6 +43757,7 @@ var TestimonialWithSlider = function TestimonialWithSlider(_ref) {
|
|
|
43687
43757
|
_ref$className = _ref.className,
|
|
43688
43758
|
className = _ref$className === void 0 ? "" : _ref$className,
|
|
43689
43759
|
id = _ref.id,
|
|
43760
|
+
image = _ref.image,
|
|
43690
43761
|
otherProps = _objectWithoutProperties__default["default"](_ref, _excluded$1);
|
|
43691
43762
|
var _useState = React.useState(null),
|
|
43692
43763
|
_useState2 = _slicedToArray__default["default"](_useState, 2),
|
|
@@ -43758,6 +43829,7 @@ var TestimonialWithSlider = function TestimonialWithSlider(_ref) {
|
|
|
43758
43829
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
43759
43830
|
className: imageClasses(imagePosition)
|
|
43760
43831
|
}, /*#__PURE__*/React__default["default"].createElement(StyledImage$1, {
|
|
43832
|
+
image: image,
|
|
43761
43833
|
index: index,
|
|
43762
43834
|
src: src,
|
|
43763
43835
|
className: "ns-testimonial-image-aspect-ratio object-cover",
|
|
@@ -43810,12 +43882,13 @@ var TestimonialWithSlider = function TestimonialWithSlider(_ref) {
|
|
|
43810
43882
|
}, button, otherProps))));
|
|
43811
43883
|
};
|
|
43812
43884
|
|
|
43813
|
-
var _excluded = ["configurations", "className", "id"];
|
|
43885
|
+
var _excluded = ["configurations", "className", "id", "image"];
|
|
43814
43886
|
var TestimonialWithVerticalView = function TestimonialWithVerticalView(_ref) {
|
|
43815
43887
|
var configurations = _ref.configurations,
|
|
43816
43888
|
_ref$className = _ref.className,
|
|
43817
43889
|
className = _ref$className === void 0 ? "" : _ref$className,
|
|
43818
43890
|
id = _ref.id,
|
|
43891
|
+
image = _ref.image,
|
|
43819
43892
|
otherProps = _objectWithoutProperties__default["default"](_ref, _excluded);
|
|
43820
43893
|
var properties = configurations.properties,
|
|
43821
43894
|
design = configurations.design;
|
|
@@ -43873,6 +43946,7 @@ var TestimonialWithVerticalView = function TestimonialWithVerticalView(_ref) {
|
|
|
43873
43946
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
43874
43947
|
className: imageClasses
|
|
43875
43948
|
}, /*#__PURE__*/React__default["default"].createElement(StyledImage$1, {
|
|
43949
|
+
image: image,
|
|
43876
43950
|
index: index,
|
|
43877
43951
|
src: src,
|
|
43878
43952
|
className: "ns-testimonial-image-aspect-ratio",
|