@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.js
CHANGED
|
@@ -4891,20 +4891,20 @@ var blendColors = function blendColors(_ref2) {
|
|
|
4891
4891
|
// Generate the final blended color string in hex format
|
|
4892
4892
|
return "#".concat((r << 16 | g << 8 | b).toString(16).padStart(6, "0"));
|
|
4893
4893
|
};
|
|
4894
|
-
var validateUrl = function validateUrl(url) {
|
|
4895
|
-
return url ? validateYouTubeUrl(url) || validateLoomUrl(url) || validateVimeoUrl(url) : false;
|
|
4894
|
+
var validateUrl = function validateUrl(url, autoPlay) {
|
|
4895
|
+
return url ? validateYouTubeUrl(url, autoPlay) || validateLoomUrl(url, autoPlay) || validateVimeoUrl(url, autoPlay) : false;
|
|
4896
4896
|
};
|
|
4897
|
-
var validateYouTubeUrl = function validateYouTubeUrl(url) {
|
|
4897
|
+
var validateYouTubeUrl = function validateYouTubeUrl(url, autoPlay) {
|
|
4898
4898
|
var match = url.match(YOUTUBE_URL_REGEXP);
|
|
4899
|
-
return match && "https://www.youtube.com/embed/".concat(match[5]);
|
|
4899
|
+
return match && "https://www.youtube.com/embed/".concat(match[5]).concat(autoPlay ? "?autoplay=1" : "");
|
|
4900
4900
|
};
|
|
4901
|
-
var validateVimeoUrl = function validateVimeoUrl(url) {
|
|
4901
|
+
var validateVimeoUrl = function validateVimeoUrl(url, autoPlay) {
|
|
4902
4902
|
var match = url.match(VIMEO_URL_REGEXP);
|
|
4903
|
-
return match && "https://player.vimeo.com/video/".concat(match[4], "?h=").concat(match[5]);
|
|
4903
|
+
return match && "https://player.vimeo.com/video/".concat(match[4], "?h=").concat(match[5]).concat(autoPlay ? "&autoplay=1" : "");
|
|
4904
4904
|
};
|
|
4905
|
-
var validateLoomUrl = function validateLoomUrl(url) {
|
|
4905
|
+
var validateLoomUrl = function validateLoomUrl(url, autoPlay) {
|
|
4906
4906
|
var match = url.match(LOOM_URL_REGEXP);
|
|
4907
|
-
return match && "https://www.loom.com/embed/".concat(match[4], "?t=").concat(match[5] || "");
|
|
4907
|
+
return match && "https://www.loom.com/embed/".concat(match[4], "?t=").concat(match[5] || "").concat(autoPlay ? "&autoplay=1" : "");
|
|
4908
4908
|
};
|
|
4909
4909
|
var applyResponsiveClasses = function applyResponsiveClasses(_ref3) {
|
|
4910
4910
|
var fieldValue = _ref3.fieldValue,
|
|
@@ -14717,7 +14717,7 @@ var withConditionalRender = function withConditionalRender(Component, condition)
|
|
|
14717
14717
|
return ConditionalRender;
|
|
14718
14718
|
};
|
|
14719
14719
|
|
|
14720
|
-
var _excluded$A = ["id", "disableButtonAndLinks", "wrapperClassName", "index"];
|
|
14720
|
+
var _excluded$A = ["id", "disableButtonAndLinks", "wrapperClassName", "index", "image"];
|
|
14721
14721
|
var StyledImage = styled.img.attrs(function () {
|
|
14722
14722
|
return {
|
|
14723
14723
|
className: "hover:mix-blend-multiply"
|
|
@@ -14748,6 +14748,7 @@ var StyledImageWithWrapper = function StyledImageWithWrapper(_ref2) {
|
|
|
14748
14748
|
disableButtonAndLinks = _ref2.disableButtonAndLinks,
|
|
14749
14749
|
wrapperClassName = _ref2.wrapperClassName,
|
|
14750
14750
|
index = _ref2.index,
|
|
14751
|
+
image = _ref2.image,
|
|
14751
14752
|
props = _objectWithoutProperties(_ref2, _excluded$A);
|
|
14752
14753
|
var _useElementClick = useElementClick({
|
|
14753
14754
|
id: id,
|
|
@@ -14759,7 +14760,13 @@ var StyledImageWithWrapper = function StyledImageWithWrapper(_ref2) {
|
|
|
14759
14760
|
"neeto-site-highlight__element": disableButtonAndLinks
|
|
14760
14761
|
}, wrapperClassName, wrapperClassName)),
|
|
14761
14762
|
onClick: disableButtonAndLinks && handleImageClick
|
|
14762
|
-
}, /*#__PURE__*/React__default.createElement(StyledImage,
|
|
14763
|
+
}, /*#__PURE__*/React__default.createElement(StyledImage, _extends$2({
|
|
14764
|
+
as: image !== null && image !== void 0 ? image : "img",
|
|
14765
|
+
height: 0,
|
|
14766
|
+
objectFit: "contain",
|
|
14767
|
+
sizes: "100vw",
|
|
14768
|
+
width: 0
|
|
14769
|
+
}, props)));
|
|
14763
14770
|
};
|
|
14764
14771
|
var StyledImage$1 = withConditionalRender(StyledImageWithWrapper, prop("src"));
|
|
14765
14772
|
|
|
@@ -16219,7 +16226,7 @@ var useBreakpoints = function useBreakpoints(breakpointOverrides) {
|
|
|
16219
16226
|
};
|
|
16220
16227
|
var useBreakpoints$1 = useBreakpoints;
|
|
16221
16228
|
|
|
16222
|
-
var _excluded$v = ["isEmbedded", "src", "design", "videoUrl"];
|
|
16229
|
+
var _excluded$v = ["isEmbedded", "src", "design", "videoUrl", "autoPlay"];
|
|
16223
16230
|
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; }
|
|
16224
16231
|
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$1(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; }
|
|
16225
16232
|
var Media = function Media(_ref) {
|
|
@@ -16227,17 +16234,21 @@ var Media = function Media(_ref) {
|
|
|
16227
16234
|
src = _ref.src,
|
|
16228
16235
|
design = _ref.design,
|
|
16229
16236
|
videoUrl = _ref.videoUrl,
|
|
16237
|
+
autoPlay = _ref.autoPlay,
|
|
16230
16238
|
otherProps = _objectWithoutProperties(_ref, _excluded$v);
|
|
16231
16239
|
if (isEmbedded) {
|
|
16232
16240
|
var _design$width;
|
|
16233
|
-
return videoUrl && /*#__PURE__*/React__default.createElement(
|
|
16241
|
+
return videoUrl && /*#__PURE__*/React__default.createElement("div", {
|
|
16242
|
+
className: "relative h-0 w-full overflow-hidden pb-[56.25%]"
|
|
16243
|
+
}, /*#__PURE__*/React__default.createElement(StyledWrapper, {
|
|
16234
16244
|
allow: "accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture",
|
|
16235
16245
|
as: "iframe",
|
|
16246
|
+
className: "absolute left-0 top-0 h-full w-full border-0",
|
|
16236
16247
|
design: dissoc("width", design),
|
|
16237
16248
|
height: "300px",
|
|
16238
|
-
src: validateUrl(videoUrl),
|
|
16249
|
+
src: validateUrl(videoUrl, autoPlay),
|
|
16239
16250
|
width: "".concat((_design$width = design === null || design === void 0 ? void 0 : design.width) !== null && _design$width !== void 0 ? _design$width : "100", "%")
|
|
16240
|
-
});
|
|
16251
|
+
}));
|
|
16241
16252
|
}
|
|
16242
16253
|
return /*#__PURE__*/React__default.createElement(StyledImage$1, _objectSpread$i({
|
|
16243
16254
|
design: design,
|
|
@@ -21308,7 +21319,7 @@ const SwiperSlide = /*#__PURE__*/forwardRef(function (_temp, externalRef) {
|
|
|
21308
21319
|
});
|
|
21309
21320
|
SwiperSlide.displayName = 'SwiperSlide';
|
|
21310
21321
|
|
|
21311
|
-
var _excluded$r = ["configurations", "className", "id", "disableButtonAndLinks"];
|
|
21322
|
+
var _excluded$r = ["configurations", "className", "id", "disableButtonAndLinks", "image"];
|
|
21312
21323
|
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; }
|
|
21313
21324
|
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$1(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; }
|
|
21314
21325
|
var CardsInGridView = function CardsInGridView(_ref) {
|
|
@@ -21317,6 +21328,7 @@ var CardsInGridView = function CardsInGridView(_ref) {
|
|
|
21317
21328
|
className = _ref$className === void 0 ? "" : _ref$className,
|
|
21318
21329
|
id = _ref.id,
|
|
21319
21330
|
disableButtonAndLinks = _ref.disableButtonAndLinks,
|
|
21331
|
+
image = _ref.image,
|
|
21320
21332
|
otherProps = _objectWithoutProperties(_ref, _excluded$r);
|
|
21321
21333
|
var _useState = useState(0),
|
|
21322
21334
|
_useState2 = _slicedToArray(_useState, 2),
|
|
@@ -21359,6 +21371,7 @@ var CardsInGridView = function CardsInGridView(_ref) {
|
|
|
21359
21371
|
to: href
|
|
21360
21372
|
}, otherProps), /*#__PURE__*/React__default.createElement(StyledImage$1, {
|
|
21361
21373
|
disableButtonAndLinks: disableButtonAndLinks,
|
|
21374
|
+
image: image,
|
|
21362
21375
|
index: index,
|
|
21363
21376
|
design: mergeRight(design.cardImage, style),
|
|
21364
21377
|
id: "cards-in-grid-view-".concat(index, "-image"),
|
|
@@ -21585,7 +21598,7 @@ var CardsWithCustomizableGrid = function CardsWithCustomizableGrid(_ref) {
|
|
|
21585
21598
|
}, button, otherProps)))));
|
|
21586
21599
|
};
|
|
21587
21600
|
|
|
21588
|
-
var _excluded$p = ["configurations", "className", "id", "disableButtonAndLinks"];
|
|
21601
|
+
var _excluded$p = ["configurations", "className", "id", "disableButtonAndLinks", "image"];
|
|
21589
21602
|
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; }
|
|
21590
21603
|
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$1(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; }
|
|
21591
21604
|
var CardsWithImage = function CardsWithImage(_ref) {
|
|
@@ -21594,6 +21607,7 @@ var CardsWithImage = function CardsWithImage(_ref) {
|
|
|
21594
21607
|
className = _ref$className === void 0 ? "" : _ref$className,
|
|
21595
21608
|
id = _ref.id,
|
|
21596
21609
|
disableButtonAndLinks = _ref.disableButtonAndLinks,
|
|
21610
|
+
image = _ref.image,
|
|
21597
21611
|
otherProps = _objectWithoutProperties(_ref, _excluded$p);
|
|
21598
21612
|
var properties = configurations.properties,
|
|
21599
21613
|
design = configurations.design;
|
|
@@ -21666,6 +21680,7 @@ var CardsWithImage = function CardsWithImage(_ref) {
|
|
|
21666
21680
|
className: "absolute bottom-0 right-0 flex items-end justify-end"
|
|
21667
21681
|
}, /*#__PURE__*/React__default.createElement(StyledImage$1, {
|
|
21668
21682
|
disableButtonAndLinks: disableButtonAndLinks,
|
|
21683
|
+
image: image,
|
|
21669
21684
|
index: index,
|
|
21670
21685
|
className: "!justify-self-end",
|
|
21671
21686
|
design: design.cardImage,
|
|
@@ -39347,7 +39362,7 @@ var CtaWithEmailAction = function CtaWithEmailAction(_ref) {
|
|
|
39347
39362
|
}, otherProps), promotionText));
|
|
39348
39363
|
};
|
|
39349
39364
|
|
|
39350
|
-
var _excluded$m = ["configurations", "className", "id"];
|
|
39365
|
+
var _excluded$m = ["configurations", "className", "id", "image"];
|
|
39351
39366
|
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; }
|
|
39352
39367
|
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$1(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; }
|
|
39353
39368
|
var CtaWithLogo = function CtaWithLogo(_ref) {
|
|
@@ -39355,6 +39370,7 @@ var CtaWithLogo = function CtaWithLogo(_ref) {
|
|
|
39355
39370
|
_ref$className = _ref.className,
|
|
39356
39371
|
className = _ref$className === void 0 ? "" : _ref$className,
|
|
39357
39372
|
id = _ref.id,
|
|
39373
|
+
image = _ref.image,
|
|
39358
39374
|
otherProps = _objectWithoutProperties(_ref, _excluded$m);
|
|
39359
39375
|
var properties = configurations.properties,
|
|
39360
39376
|
design = configurations.design;
|
|
@@ -39376,6 +39392,7 @@ var CtaWithLogo = function CtaWithLogo(_ref) {
|
|
|
39376
39392
|
design: design.body,
|
|
39377
39393
|
nestedClassName: baseClasses
|
|
39378
39394
|
}, /*#__PURE__*/React__default.createElement(StyledImage$1, {
|
|
39395
|
+
image: image,
|
|
39379
39396
|
alt: "logo",
|
|
39380
39397
|
className: "col-span-10 col-start-2 mx-auto sm:col-span-2 sm:col-start-1",
|
|
39381
39398
|
design: design.logo,
|
|
@@ -39416,15 +39433,17 @@ var Embed = function Embed(_ref) {
|
|
|
39416
39433
|
enableAnimation = properties.enableAnimation;
|
|
39417
39434
|
return /*#__PURE__*/React__default.createElement(BlockWrapper, {
|
|
39418
39435
|
className: className,
|
|
39419
|
-
design: design.body,
|
|
39420
39436
|
enableAnimation: enableAnimation,
|
|
39421
39437
|
id: id,
|
|
39422
|
-
|
|
39423
|
-
|
|
39438
|
+
design: design.body,
|
|
39439
|
+
nestedClassName: "h-full flex items-center justify-center"
|
|
39440
|
+
}, isNotEmpty(content) ? /*#__PURE__*/React__default.createElement(Interweave, {
|
|
39441
|
+
content: content,
|
|
39424
39442
|
allowList: ["iframe"],
|
|
39425
|
-
className: "ns-embed-block flex h-
|
|
39426
|
-
|
|
39427
|
-
|
|
39443
|
+
className: "ns-embed-block relative flex h-0 w-full pb-[56.25%] lg:static lg:pb-0"
|
|
39444
|
+
}) : /*#__PURE__*/React__default.createElement(Typography$1, {
|
|
39445
|
+
className: "text-center font-semibold"
|
|
39446
|
+
}, "No content to display"));
|
|
39428
39447
|
};
|
|
39429
39448
|
|
|
39430
39449
|
var _excluded$l = ["configurations", "className", "id"],
|
|
@@ -39609,7 +39628,7 @@ var FeatureWithBulletList = function FeatureWithBulletList(_ref) {
|
|
|
39609
39628
|
}, otherProps), description)), /*#__PURE__*/React__default.createElement(BulletList, null));
|
|
39610
39629
|
};
|
|
39611
39630
|
|
|
39612
|
-
var _excluded$j = ["configurations", "className", "id"];
|
|
39631
|
+
var _excluded$j = ["configurations", "className", "id", "image"];
|
|
39613
39632
|
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; }
|
|
39614
39633
|
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$1(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; }
|
|
39615
39634
|
var FeatureWithDetails = function FeatureWithDetails(_ref) {
|
|
@@ -39617,6 +39636,7 @@ var FeatureWithDetails = function FeatureWithDetails(_ref) {
|
|
|
39617
39636
|
_ref$className = _ref.className,
|
|
39618
39637
|
className = _ref$className === void 0 ? "" : _ref$className,
|
|
39619
39638
|
id = _ref.id,
|
|
39639
|
+
image = _ref.image,
|
|
39620
39640
|
otherProps = _objectWithoutProperties(_ref, _excluded$j);
|
|
39621
39641
|
var properties = configurations.properties,
|
|
39622
39642
|
design = configurations.design;
|
|
@@ -39631,6 +39651,7 @@ var FeatureWithDetails = function FeatureWithDetails(_ref) {
|
|
|
39631
39651
|
mediaPosition = _properties$media.position,
|
|
39632
39652
|
isEmbedded = _properties$media.isEmbedded,
|
|
39633
39653
|
videoUrl = _properties$media.videoUrl,
|
|
39654
|
+
autoPlay = _properties$media.autoPlay,
|
|
39634
39655
|
src = properties.backgroundImage.src;
|
|
39635
39656
|
var mediaURL = isEmbedded ? videoUrl : imageUrl;
|
|
39636
39657
|
var baseClasses = "grid grid-cols-12 items-center sm:gap-x-2 lg:gap-x-4 grid-flow-row-dense";
|
|
@@ -39694,6 +39715,8 @@ var FeatureWithDetails = function FeatureWithDetails(_ref) {
|
|
|
39694
39715
|
}))), /*#__PURE__*/React__default.createElement("div", {
|
|
39695
39716
|
className: mediaBaseClasses
|
|
39696
39717
|
}, /*#__PURE__*/React__default.createElement(Media, {
|
|
39718
|
+
autoPlay: autoPlay,
|
|
39719
|
+
image: image,
|
|
39697
39720
|
isEmbedded: isEmbedded,
|
|
39698
39721
|
videoUrl: videoUrl,
|
|
39699
39722
|
design: design.media,
|
|
@@ -39704,12 +39727,13 @@ var FeatureWithDetails = function FeatureWithDetails(_ref) {
|
|
|
39704
39727
|
})));
|
|
39705
39728
|
};
|
|
39706
39729
|
|
|
39707
|
-
var _excluded$i = ["configurations", "className", "id"];
|
|
39730
|
+
var _excluded$i = ["configurations", "className", "id", "image"];
|
|
39708
39731
|
var FeatureWithGrid = function FeatureWithGrid(_ref) {
|
|
39709
39732
|
var configurations = _ref.configurations,
|
|
39710
39733
|
_ref$className = _ref.className,
|
|
39711
39734
|
className = _ref$className === void 0 ? "" : _ref$className,
|
|
39712
39735
|
id = _ref.id,
|
|
39736
|
+
image = _ref.image,
|
|
39713
39737
|
otherProps = _objectWithoutProperties(_ref, _excluded$i);
|
|
39714
39738
|
var properties = configurations.properties,
|
|
39715
39739
|
design = configurations.design;
|
|
@@ -39723,6 +39747,7 @@ var FeatureWithGrid = function FeatureWithGrid(_ref) {
|
|
|
39723
39747
|
imageURL = _properties$media.src,
|
|
39724
39748
|
isEmbedded = _properties$media.isEmbedded,
|
|
39725
39749
|
videoUrl = _properties$media.videoUrl,
|
|
39750
|
+
autoPlay = _properties$media.autoPlay,
|
|
39726
39751
|
src = properties.backgroundImage.src;
|
|
39727
39752
|
var baseClasses = "grid grid-cols-12 gap-4";
|
|
39728
39753
|
var gridClasses = function gridClasses(index) {
|
|
@@ -39752,6 +39777,8 @@ var FeatureWithGrid = function FeatureWithGrid(_ref) {
|
|
|
39752
39777
|
id: "feature-with-grid-description",
|
|
39753
39778
|
style: design.description
|
|
39754
39779
|
}, otherProps), description), /*#__PURE__*/React__default.createElement(Media, {
|
|
39780
|
+
autoPlay: autoPlay,
|
|
39781
|
+
image: image,
|
|
39755
39782
|
isEmbedded: isEmbedded,
|
|
39756
39783
|
videoUrl: videoUrl,
|
|
39757
39784
|
className: "m-auto",
|
|
@@ -39771,6 +39798,7 @@ var FeatureWithGrid = function FeatureWithGrid(_ref) {
|
|
|
39771
39798
|
className: gridClasses(index),
|
|
39772
39799
|
key: getUniqueKey(featureTitle, featureDescription, index)
|
|
39773
39800
|
}, /*#__PURE__*/React__default.createElement(StyledImage$1, {
|
|
39801
|
+
image: image,
|
|
39774
39802
|
index: index,
|
|
39775
39803
|
alt: featureImageAlt,
|
|
39776
39804
|
design: design.featureImage,
|
|
@@ -39794,12 +39822,13 @@ var FeatureWithGrid = function FeatureWithGrid(_ref) {
|
|
|
39794
39822
|
}));
|
|
39795
39823
|
};
|
|
39796
39824
|
|
|
39797
|
-
var _excluded$h = ["configurations", "className", "id"];
|
|
39825
|
+
var _excluded$h = ["configurations", "className", "id", "image"];
|
|
39798
39826
|
var FeatureWithImage = function FeatureWithImage(_ref) {
|
|
39799
39827
|
var configurations = _ref.configurations,
|
|
39800
39828
|
_ref$className = _ref.className,
|
|
39801
39829
|
className = _ref$className === void 0 ? "" : _ref$className,
|
|
39802
39830
|
id = _ref.id,
|
|
39831
|
+
image = _ref.image,
|
|
39803
39832
|
otherProps = _objectWithoutProperties(_ref, _excluded$h);
|
|
39804
39833
|
var properties = configurations.properties,
|
|
39805
39834
|
design = configurations.design;
|
|
@@ -39812,6 +39841,7 @@ var FeatureWithImage = function FeatureWithImage(_ref) {
|
|
|
39812
39841
|
mediaPosition = _properties$media.position,
|
|
39813
39842
|
isEmbedded = _properties$media.isEmbedded,
|
|
39814
39843
|
videoUrl = _properties$media.videoUrl,
|
|
39844
|
+
autoPlay = _properties$media.autoPlay,
|
|
39815
39845
|
src = properties.backgroundImage.src;
|
|
39816
39846
|
var mediaURL = isEmbedded ? videoUrl : imageUrl;
|
|
39817
39847
|
var baseClasses = "grid grid-cols-12 items-center grid-flow-row-dense";
|
|
@@ -39845,6 +39875,8 @@ var FeatureWithImage = function FeatureWithImage(_ref) {
|
|
|
39845
39875
|
}, otherProps), description)), /*#__PURE__*/React__default.createElement("div", {
|
|
39846
39876
|
className: mediaBaseClasses
|
|
39847
39877
|
}, /*#__PURE__*/React__default.createElement(Media, {
|
|
39878
|
+
autoPlay: autoPlay,
|
|
39879
|
+
image: image,
|
|
39848
39880
|
isEmbedded: isEmbedded,
|
|
39849
39881
|
videoUrl: videoUrl,
|
|
39850
39882
|
design: design.media,
|
|
@@ -39908,12 +39940,13 @@ var FeatureWithJumboText = function FeatureWithJumboText(_ref) {
|
|
|
39908
39940
|
}, otherProps), description)));
|
|
39909
39941
|
};
|
|
39910
39942
|
|
|
39911
|
-
var _excluded$f = ["configurations", "className", "id"];
|
|
39943
|
+
var _excluded$f = ["configurations", "className", "id", "image"];
|
|
39912
39944
|
var FeatureWithList = function FeatureWithList(_ref) {
|
|
39913
39945
|
var configurations = _ref.configurations,
|
|
39914
39946
|
_ref$className = _ref.className,
|
|
39915
39947
|
className = _ref$className === void 0 ? "" : _ref$className,
|
|
39916
39948
|
id = _ref.id,
|
|
39949
|
+
image = _ref.image,
|
|
39917
39950
|
otherProps = _objectWithoutProperties(_ref, _excluded$f);
|
|
39918
39951
|
var properties = configurations.properties,
|
|
39919
39952
|
design = configurations.design;
|
|
@@ -39928,6 +39961,7 @@ var FeatureWithList = function FeatureWithList(_ref) {
|
|
|
39928
39961
|
mediaPosition = _properties$media.position,
|
|
39929
39962
|
isEmbedded = _properties$media.isEmbedded,
|
|
39930
39963
|
videoUrl = _properties$media.videoUrl,
|
|
39964
|
+
autoPlay = _properties$media.autoPlay,
|
|
39931
39965
|
src = properties.backgroundImage.src;
|
|
39932
39966
|
var mediaURL = isEmbedded ? videoUrl : imageURL;
|
|
39933
39967
|
var baseClasses = "grid grid-cols-12 lg:gap-x-4 sm:gap-x-2 items-center grid-flow-row-dense";
|
|
@@ -39986,6 +40020,8 @@ var FeatureWithList = function FeatureWithList(_ref) {
|
|
|
39986
40020
|
}))), /*#__PURE__*/React__default.createElement("div", {
|
|
39987
40021
|
className: mediaBaseClasses
|
|
39988
40022
|
}, /*#__PURE__*/React__default.createElement(Media, {
|
|
40023
|
+
autoPlay: autoPlay,
|
|
40024
|
+
image: image,
|
|
39989
40025
|
isEmbedded: isEmbedded,
|
|
39990
40026
|
videoUrl: videoUrl,
|
|
39991
40027
|
design: design.media,
|
|
@@ -39996,12 +40032,13 @@ var FeatureWithList = function FeatureWithList(_ref) {
|
|
|
39996
40032
|
})));
|
|
39997
40033
|
};
|
|
39998
40034
|
|
|
39999
|
-
var _excluded$e = ["configurations", "className", "id"];
|
|
40035
|
+
var _excluded$e = ["configurations", "className", "id", "image"];
|
|
40000
40036
|
var FeatureWithProgressBar = function FeatureWithProgressBar(_ref) {
|
|
40001
40037
|
var configurations = _ref.configurations,
|
|
40002
40038
|
_ref$className = _ref.className,
|
|
40003
40039
|
className = _ref$className === void 0 ? "" : _ref$className,
|
|
40004
40040
|
id = _ref.id,
|
|
40041
|
+
image = _ref.image,
|
|
40005
40042
|
otherProps = _objectWithoutProperties(_ref, _excluded$e);
|
|
40006
40043
|
var _useState = useState(configurations.properties.features[0].id),
|
|
40007
40044
|
_useState2 = _slicedToArray(_useState, 2),
|
|
@@ -40111,6 +40148,8 @@ var FeatureWithProgressBar = function FeatureWithProgressBar(_ref) {
|
|
|
40111
40148
|
})), /*#__PURE__*/React__default.createElement("div", {
|
|
40112
40149
|
className: imageBaseClasses
|
|
40113
40150
|
}, /*#__PURE__*/React__default.createElement(Media, {
|
|
40151
|
+
image: image,
|
|
40152
|
+
autoPlay: features[selectedTabId - 1].media.autoPlay,
|
|
40114
40153
|
design: design.media,
|
|
40115
40154
|
disableButtonAndLinks: otherProps.disableButtonAndLinks,
|
|
40116
40155
|
id: "feature-with-progress-bar-".concat(selectedTabId - 1, "-media"),
|
|
@@ -40121,7 +40160,7 @@ var FeatureWithProgressBar = function FeatureWithProgressBar(_ref) {
|
|
|
40121
40160
|
})));
|
|
40122
40161
|
};
|
|
40123
40162
|
|
|
40124
|
-
var _excluded$d = ["configurations", "className", "id"];
|
|
40163
|
+
var _excluded$d = ["configurations", "className", "id", "image"];
|
|
40125
40164
|
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; }
|
|
40126
40165
|
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$1(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; }
|
|
40127
40166
|
var FooterClassic = function FooterClassic(_ref) {
|
|
@@ -40129,6 +40168,7 @@ var FooterClassic = function FooterClassic(_ref) {
|
|
|
40129
40168
|
_ref$className = _ref.className,
|
|
40130
40169
|
className = _ref$className === void 0 ? "" : _ref$className,
|
|
40131
40170
|
id = _ref.id,
|
|
40171
|
+
image = _ref.image,
|
|
40132
40172
|
otherProps = _objectWithoutProperties(_ref, _excluded$d);
|
|
40133
40173
|
var properties = configurations.properties,
|
|
40134
40174
|
design = configurations.design;
|
|
@@ -40161,6 +40201,7 @@ var FooterClassic = function FooterClassic(_ref) {
|
|
|
40161
40201
|
}), /*#__PURE__*/React__default.createElement("div", {
|
|
40162
40202
|
className: "col-span-12 sm:col-span-12 sm:mx-20 sm:flex sm:justify-between sm:gap-y-0"
|
|
40163
40203
|
}, /*#__PURE__*/React__default.createElement(StyledImage$1, {
|
|
40204
|
+
image: image,
|
|
40164
40205
|
design: design.logo,
|
|
40165
40206
|
disableButtonAndLinks: otherProps.disableButtonAndLinks,
|
|
40166
40207
|
id: "footer-classic-logo",
|
|
@@ -40212,6 +40253,7 @@ var FooterClassic = function FooterClassic(_ref) {
|
|
|
40212
40253
|
design: design.body,
|
|
40213
40254
|
nestedClassName: baseClasses
|
|
40214
40255
|
}, /*#__PURE__*/React__default.createElement(StyledImage$1, {
|
|
40256
|
+
image: image,
|
|
40215
40257
|
design: design.logo,
|
|
40216
40258
|
disableButtonAndLinks: otherProps.disableButtonAndLinks,
|
|
40217
40259
|
id: "footer-classic-logo",
|
|
@@ -40259,7 +40301,7 @@ var FooterClassic = function FooterClassic(_ref) {
|
|
|
40259
40301
|
}, otherProps), copyrightText));
|
|
40260
40302
|
};
|
|
40261
40303
|
|
|
40262
|
-
var _excluded$c = ["configurations", "className", "id"];
|
|
40304
|
+
var _excluded$c = ["configurations", "className", "id", "image"];
|
|
40263
40305
|
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; }
|
|
40264
40306
|
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$1(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; }
|
|
40265
40307
|
var FooterWithIcons = function FooterWithIcons(_ref) {
|
|
@@ -40267,6 +40309,7 @@ var FooterWithIcons = function FooterWithIcons(_ref) {
|
|
|
40267
40309
|
_ref$className = _ref.className,
|
|
40268
40310
|
className = _ref$className === void 0 ? "" : _ref$className,
|
|
40269
40311
|
id = _ref.id,
|
|
40312
|
+
image = _ref.image,
|
|
40270
40313
|
otherProps = _objectWithoutProperties(_ref, _excluded$c);
|
|
40271
40314
|
var properties = configurations.properties,
|
|
40272
40315
|
design = configurations.design;
|
|
@@ -40290,6 +40333,7 @@ var FooterWithIcons = function FooterWithIcons(_ref) {
|
|
|
40290
40333
|
}, /*#__PURE__*/React__default.createElement("div", {
|
|
40291
40334
|
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"
|
|
40292
40335
|
}, /*#__PURE__*/React__default.createElement(StyledImage$1, {
|
|
40336
|
+
image: image,
|
|
40293
40337
|
design: design.logo,
|
|
40294
40338
|
disableButtonAndLinks: otherProps.disableButtonAndLinks,
|
|
40295
40339
|
id: "footer-with-icons-logo",
|
|
@@ -40334,7 +40378,7 @@ var FooterWithIcons = function FooterWithIcons(_ref) {
|
|
|
40334
40378
|
}, otherProps), copyrightText));
|
|
40335
40379
|
};
|
|
40336
40380
|
|
|
40337
|
-
var _excluded$b = ["configurations", "className", "id"];
|
|
40381
|
+
var _excluded$b = ["configurations", "className", "id", "image"];
|
|
40338
40382
|
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; }
|
|
40339
40383
|
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$1(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; }
|
|
40340
40384
|
var FooterWithLinks = function FooterWithLinks(_ref) {
|
|
@@ -40342,6 +40386,7 @@ var FooterWithLinks = function FooterWithLinks(_ref) {
|
|
|
40342
40386
|
_ref$className = _ref.className,
|
|
40343
40387
|
className = _ref$className === void 0 ? "" : _ref$className,
|
|
40344
40388
|
id = _ref.id,
|
|
40389
|
+
image = _ref.image,
|
|
40345
40390
|
otherProps = _objectWithoutProperties(_ref, _excluded$b);
|
|
40346
40391
|
var properties = configurations.properties,
|
|
40347
40392
|
design = configurations.design;
|
|
@@ -40369,6 +40414,7 @@ var FooterWithLinks = function FooterWithLinks(_ref) {
|
|
|
40369
40414
|
}, /*#__PURE__*/React__default.createElement("div", {
|
|
40370
40415
|
className: "flex items-center gap-x-2"
|
|
40371
40416
|
}, /*#__PURE__*/React__default.createElement(StyledImage$1, {
|
|
40417
|
+
image: image,
|
|
40372
40418
|
design: design.logo,
|
|
40373
40419
|
disableButtonAndLinks: otherProps.disableButtonAndLinks,
|
|
40374
40420
|
id: "footer-with-links-logo",
|
|
@@ -42302,7 +42348,8 @@ var GalleryClassic = function GalleryClassic(_ref) {
|
|
|
42302
42348
|
_ref$className = _ref.className,
|
|
42303
42349
|
className = _ref$className === void 0 ? "" : _ref$className,
|
|
42304
42350
|
id = _ref.id,
|
|
42305
|
-
disableButtonAndLinks = _ref.disableButtonAndLinks
|
|
42351
|
+
disableButtonAndLinks = _ref.disableButtonAndLinks,
|
|
42352
|
+
image = _ref.image;
|
|
42306
42353
|
var swiperRef = useRef(null);
|
|
42307
42354
|
var properties = configurations.properties,
|
|
42308
42355
|
design = configurations.design;
|
|
@@ -42378,6 +42425,7 @@ var GalleryClassic = function GalleryClassic(_ref) {
|
|
|
42378
42425
|
key: getUniqueKey(src, title, index)
|
|
42379
42426
|
}, /*#__PURE__*/React__default.createElement(StyledImage$1, {
|
|
42380
42427
|
disableButtonAndLinks: disableButtonAndLinks,
|
|
42428
|
+
image: image,
|
|
42381
42429
|
index: index,
|
|
42382
42430
|
src: src,
|
|
42383
42431
|
alt: caption,
|
|
@@ -42398,12 +42446,13 @@ var GalleryClassic = function GalleryClassic(_ref) {
|
|
|
42398
42446
|
}));
|
|
42399
42447
|
};
|
|
42400
42448
|
|
|
42401
|
-
var _excluded$a = ["configurations", "className", "id"];
|
|
42449
|
+
var _excluded$a = ["configurations", "className", "id", "image"];
|
|
42402
42450
|
var GalleryWithAutoplay = function GalleryWithAutoplay(_ref) {
|
|
42403
42451
|
var configurations = _ref.configurations,
|
|
42404
42452
|
_ref$className = _ref.className,
|
|
42405
42453
|
className = _ref$className === void 0 ? "" : _ref$className,
|
|
42406
42454
|
id = _ref.id,
|
|
42455
|
+
image = _ref.image,
|
|
42407
42456
|
otherProps = _objectWithoutProperties(_ref, _excluded$a);
|
|
42408
42457
|
var _useState = useState(null),
|
|
42409
42458
|
_useState2 = _slicedToArray(_useState, 2),
|
|
@@ -42467,6 +42516,7 @@ var GalleryWithAutoplay = function GalleryWithAutoplay(_ref) {
|
|
|
42467
42516
|
className: "swiper__wrapper",
|
|
42468
42517
|
key: getUniqueKey(src, caption, index)
|
|
42469
42518
|
}, /*#__PURE__*/React__default.createElement(StyledImage$1, {
|
|
42519
|
+
image: image,
|
|
42470
42520
|
index: index,
|
|
42471
42521
|
src: src,
|
|
42472
42522
|
alt: caption,
|
|
@@ -42503,6 +42553,7 @@ var GalleryWithAutoplay = function GalleryWithAutoplay(_ref) {
|
|
|
42503
42553
|
key: getUniqueKey(src, title, index)
|
|
42504
42554
|
}, /*#__PURE__*/React__default.createElement(StyledImage$1, {
|
|
42505
42555
|
alt: alt,
|
|
42556
|
+
image: image,
|
|
42506
42557
|
index: index,
|
|
42507
42558
|
src: src,
|
|
42508
42559
|
title: title,
|
|
@@ -42531,7 +42582,7 @@ var useElementVisible = function useElementVisible(ref) {
|
|
|
42531
42582
|
return isIntersecting;
|
|
42532
42583
|
};
|
|
42533
42584
|
|
|
42534
|
-
var _excluded$9 = ["configurations", "className", "currentPath", "id"];
|
|
42585
|
+
var _excluded$9 = ["configurations", "className", "currentPath", "id", "image"];
|
|
42535
42586
|
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; }
|
|
42536
42587
|
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$1(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; }
|
|
42537
42588
|
var HeaderWithButtons = function HeaderWithButtons(_ref) {
|
|
@@ -42540,6 +42591,7 @@ var HeaderWithButtons = function HeaderWithButtons(_ref) {
|
|
|
42540
42591
|
className = _ref$className === void 0 ? "" : _ref$className,
|
|
42541
42592
|
currentPath = _ref.currentPath,
|
|
42542
42593
|
id = _ref.id,
|
|
42594
|
+
image = _ref.image,
|
|
42543
42595
|
otherProps = _objectWithoutProperties(_ref, _excluded$9);
|
|
42544
42596
|
var _useState = useState(false),
|
|
42545
42597
|
_useState2 = _slicedToArray(_useState, 2),
|
|
@@ -42571,6 +42623,7 @@ var HeaderWithButtons = function HeaderWithButtons(_ref) {
|
|
|
42571
42623
|
"col-span-3 sm:col-span-4 sm:col-start-2": isNotEmpty(buttons)
|
|
42572
42624
|
})
|
|
42573
42625
|
}, otherProps), /*#__PURE__*/React__default.createElement(StyledImage$1, {
|
|
42626
|
+
image: image,
|
|
42574
42627
|
className: "max-h-8 sm:max-h-10 lg:max-h-14",
|
|
42575
42628
|
design: design.logo,
|
|
42576
42629
|
src: properties.logo.src
|
|
@@ -42633,7 +42686,7 @@ var HeaderWithButtons = function HeaderWithButtons(_ref) {
|
|
|
42633
42686
|
}))));
|
|
42634
42687
|
};
|
|
42635
42688
|
|
|
42636
|
-
var _excluded$8 = ["configurations", "className", "id"];
|
|
42689
|
+
var _excluded$8 = ["configurations", "className", "id", "image"];
|
|
42637
42690
|
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; }
|
|
42638
42691
|
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$1(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; }
|
|
42639
42692
|
var HeaderWithDropdownLinks = function HeaderWithDropdownLinks(_ref) {
|
|
@@ -42641,6 +42694,7 @@ var HeaderWithDropdownLinks = function HeaderWithDropdownLinks(_ref) {
|
|
|
42641
42694
|
_ref$className = _ref.className,
|
|
42642
42695
|
className = _ref$className === void 0 ? "" : _ref$className,
|
|
42643
42696
|
id = _ref.id,
|
|
42697
|
+
image = _ref.image,
|
|
42644
42698
|
otherProps = _objectWithoutProperties(_ref, _excluded$8);
|
|
42645
42699
|
var _useState = useState(false),
|
|
42646
42700
|
_useState2 = _slicedToArray(_useState, 2),
|
|
@@ -42686,6 +42740,7 @@ var HeaderWithDropdownLinks = function HeaderWithDropdownLinks(_ref) {
|
|
|
42686
42740
|
className: "flex w-full gap-x-2",
|
|
42687
42741
|
to: properties.logo.to
|
|
42688
42742
|
}, otherProps), /*#__PURE__*/React__default.createElement(StyledImage$1, {
|
|
42743
|
+
image: image,
|
|
42689
42744
|
className: "max-h-8 sm:max-h-10 lg:max-h-14",
|
|
42690
42745
|
design: design.logo,
|
|
42691
42746
|
disableButtonAndLinks: otherProps.disableButtonAndLinks,
|
|
@@ -42744,7 +42799,7 @@ var HeaderWithDropdownLinks = function HeaderWithDropdownLinks(_ref) {
|
|
|
42744
42799
|
})))));
|
|
42745
42800
|
};
|
|
42746
42801
|
|
|
42747
|
-
var _excluded$7 = ["configurations", "className", "currentPath", "id"];
|
|
42802
|
+
var _excluded$7 = ["configurations", "className", "currentPath", "id", "image"];
|
|
42748
42803
|
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; }
|
|
42749
42804
|
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$1(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; }
|
|
42750
42805
|
var HeaderWithIcons = function HeaderWithIcons(_ref) {
|
|
@@ -42753,6 +42808,7 @@ var HeaderWithIcons = function HeaderWithIcons(_ref) {
|
|
|
42753
42808
|
className = _ref$className === void 0 ? "" : _ref$className,
|
|
42754
42809
|
currentPath = _ref.currentPath,
|
|
42755
42810
|
id = _ref.id,
|
|
42811
|
+
image = _ref.image,
|
|
42756
42812
|
otherProps = _objectWithoutProperties(_ref, _excluded$7);
|
|
42757
42813
|
var _useState = useState(false),
|
|
42758
42814
|
_useState2 = _slicedToArray(_useState, 2),
|
|
@@ -42792,6 +42848,7 @@ var HeaderWithIcons = function HeaderWithIcons(_ref) {
|
|
|
42792
42848
|
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",
|
|
42793
42849
|
to: properties.logo.to
|
|
42794
42850
|
}, otherProps), /*#__PURE__*/React__default.createElement(StyledImage$1, {
|
|
42851
|
+
image: image,
|
|
42795
42852
|
design: design.logo,
|
|
42796
42853
|
disableButtonAndLinks: otherProps.disableButtonAndLinks,
|
|
42797
42854
|
id: "header-with-icons-logo",
|
|
@@ -42863,7 +42920,7 @@ var HeaderWithIcons = function HeaderWithIcons(_ref) {
|
|
|
42863
42920
|
})))));
|
|
42864
42921
|
};
|
|
42865
42922
|
|
|
42866
|
-
var _excluded$6 = ["configurations", "className", "id", "currentPath"];
|
|
42923
|
+
var _excluded$6 = ["configurations", "className", "id", "currentPath", "image"];
|
|
42867
42924
|
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; }
|
|
42868
42925
|
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$1(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; }
|
|
42869
42926
|
var HeaderWithLogoTitle = function HeaderWithLogoTitle(_ref) {
|
|
@@ -42872,6 +42929,7 @@ var HeaderWithLogoTitle = function HeaderWithLogoTitle(_ref) {
|
|
|
42872
42929
|
className = _ref$className === void 0 ? "" : _ref$className,
|
|
42873
42930
|
id = _ref.id,
|
|
42874
42931
|
currentPath = _ref.currentPath,
|
|
42932
|
+
image = _ref.image,
|
|
42875
42933
|
otherProps = _objectWithoutProperties(_ref, _excluded$6);
|
|
42876
42934
|
var _useState = useState(false),
|
|
42877
42935
|
_useState2 = _slicedToArray(_useState, 2),
|
|
@@ -42905,6 +42963,7 @@ var HeaderWithLogoTitle = function HeaderWithLogoTitle(_ref) {
|
|
|
42905
42963
|
className: "flex w-full gap-x-2",
|
|
42906
42964
|
to: properties.logo.to
|
|
42907
42965
|
}, otherProps), /*#__PURE__*/React__default.createElement(StyledImage$1, {
|
|
42966
|
+
image: image,
|
|
42908
42967
|
className: "max-h-8 sm:max-h-10 lg:max-h-14",
|
|
42909
42968
|
design: design.logo,
|
|
42910
42969
|
disableButtonAndLinks: otherProps.disableButtonAndLinks,
|
|
@@ -42978,7 +43037,7 @@ var HeaderWithLogoTitle = function HeaderWithLogoTitle(_ref) {
|
|
|
42978
43037
|
}))));
|
|
42979
43038
|
};
|
|
42980
43039
|
|
|
42981
|
-
var _excluded$5 = ["configurations", "className", "id"];
|
|
43040
|
+
var _excluded$5 = ["configurations", "className", "id", "image"];
|
|
42982
43041
|
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; }
|
|
42983
43042
|
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$1(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; }
|
|
42984
43043
|
var HeroWithCallToAction = function HeroWithCallToAction(_ref) {
|
|
@@ -42986,6 +43045,7 @@ var HeroWithCallToAction = function HeroWithCallToAction(_ref) {
|
|
|
42986
43045
|
_ref$className = _ref.className,
|
|
42987
43046
|
className = _ref$className === void 0 ? "" : _ref$className,
|
|
42988
43047
|
id = _ref.id,
|
|
43048
|
+
image = _ref.image,
|
|
42989
43049
|
otherProps = _objectWithoutProperties(_ref, _excluded$5);
|
|
42990
43050
|
var properties = configurations.properties,
|
|
42991
43051
|
design = configurations.design;
|
|
@@ -42999,6 +43059,7 @@ var HeroWithCallToAction = function HeroWithCallToAction(_ref) {
|
|
|
42999
43059
|
mediaPosition = _properties$media.position,
|
|
43000
43060
|
isEmbedded = _properties$media.isEmbedded,
|
|
43001
43061
|
videoUrl = _properties$media.videoUrl,
|
|
43062
|
+
autoPlay = _properties$media.autoPlay,
|
|
43002
43063
|
src = properties.backgroundImage.src;
|
|
43003
43064
|
var mediaURL = isEmbedded ? videoUrl : imageURL;
|
|
43004
43065
|
var baseClasses = "grid sm:gap-x-6 gap-y-6 grid-cols-12 items-center grid-flow-row-dense";
|
|
@@ -43059,6 +43120,8 @@ var HeroWithCallToAction = function HeroWithCallToAction(_ref) {
|
|
|
43059
43120
|
}))), /*#__PURE__*/React__default.createElement("div", {
|
|
43060
43121
|
className: mediaBaseClasses
|
|
43061
43122
|
}, /*#__PURE__*/React__default.createElement(Media, {
|
|
43123
|
+
autoPlay: autoPlay,
|
|
43124
|
+
image: image,
|
|
43062
43125
|
isEmbedded: isEmbedded,
|
|
43063
43126
|
videoUrl: videoUrl,
|
|
43064
43127
|
design: design.media,
|
|
@@ -43068,7 +43131,7 @@ var HeroWithCallToAction = function HeroWithCallToAction(_ref) {
|
|
|
43068
43131
|
})));
|
|
43069
43132
|
};
|
|
43070
43133
|
|
|
43071
|
-
var _excluded$4 = ["configurations", "className", "id", "disableButtonAndLinks"];
|
|
43134
|
+
var _excluded$4 = ["configurations", "className", "id", "disableButtonAndLinks", "image"];
|
|
43072
43135
|
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; }
|
|
43073
43136
|
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$1(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; }
|
|
43074
43137
|
var HeroWithGallery = function HeroWithGallery(_ref) {
|
|
@@ -43077,6 +43140,7 @@ var HeroWithGallery = function HeroWithGallery(_ref) {
|
|
|
43077
43140
|
className = _ref$className === void 0 ? "" : _ref$className,
|
|
43078
43141
|
id = _ref.id,
|
|
43079
43142
|
disableButtonAndLinks = _ref.disableButtonAndLinks,
|
|
43143
|
+
image = _ref.image,
|
|
43080
43144
|
otherProps = _objectWithoutProperties(_ref, _excluded$4);
|
|
43081
43145
|
var _useState = useState(null),
|
|
43082
43146
|
_useState2 = _slicedToArray(_useState, 2),
|
|
@@ -43185,7 +43249,9 @@ var HeroWithGallery = function HeroWithGallery(_ref) {
|
|
|
43185
43249
|
}))
|
|
43186
43250
|
}, /*#__PURE__*/React__default.createElement(Media, {
|
|
43187
43251
|
disableButtonAndLinks: disableButtonAndLinks,
|
|
43252
|
+
image: image,
|
|
43188
43253
|
index: index,
|
|
43254
|
+
autoPlay: media.autoPlay,
|
|
43189
43255
|
design: design.media,
|
|
43190
43256
|
id: "hero-with-gallery-slide-".concat(index, "-media"),
|
|
43191
43257
|
isEmbedded: media.isEmbedded,
|
|
@@ -43252,7 +43318,8 @@ var LogoClouds = function LogoClouds(_ref) {
|
|
|
43252
43318
|
_ref$className = _ref.className,
|
|
43253
43319
|
className = _ref$className === void 0 ? "" : _ref$className,
|
|
43254
43320
|
id = _ref.id,
|
|
43255
|
-
disableButtonAndLinks = _ref.disableButtonAndLinks
|
|
43321
|
+
disableButtonAndLinks = _ref.disableButtonAndLinks,
|
|
43322
|
+
image = _ref.image;
|
|
43256
43323
|
var properties = configurations.properties,
|
|
43257
43324
|
design = configurations.design;
|
|
43258
43325
|
var _properties$logos = properties.logos,
|
|
@@ -43301,6 +43368,7 @@ var LogoClouds = function LogoClouds(_ref) {
|
|
|
43301
43368
|
}, /*#__PURE__*/React__default.createElement(StyledImage$1, {
|
|
43302
43369
|
alt: alt,
|
|
43303
43370
|
disableButtonAndLinks: disableButtonAndLinks,
|
|
43371
|
+
image: image,
|
|
43304
43372
|
index: index,
|
|
43305
43373
|
src: src,
|
|
43306
43374
|
title: title,
|
|
@@ -43516,7 +43584,8 @@ var Slides = function Slides(_ref) {
|
|
|
43516
43584
|
id = _ref.id,
|
|
43517
43585
|
disableButtonAndLinks = _ref.disableButtonAndLinks,
|
|
43518
43586
|
pageUrl = _ref.pageUrl,
|
|
43519
|
-
hostUrl = _ref.hostUrl
|
|
43587
|
+
hostUrl = _ref.hostUrl,
|
|
43588
|
+
image = _ref.image;
|
|
43520
43589
|
var _useState = useState(0),
|
|
43521
43590
|
_useState2 = _slicedToArray(_useState, 2),
|
|
43522
43591
|
activeIndex = _useState2[0],
|
|
@@ -43557,6 +43626,7 @@ var Slides = function Slides(_ref) {
|
|
|
43557
43626
|
return /*#__PURE__*/React__default.createElement("div", {
|
|
43558
43627
|
className: "bottom-0 col-span-12 flex w-full justify-center sm:absolute sm:col-span-10 sm:col-start-2"
|
|
43559
43628
|
}, /*#__PURE__*/React__default.createElement(StyledImage$1, {
|
|
43629
|
+
image: image,
|
|
43560
43630
|
design: design.image,
|
|
43561
43631
|
src: imageUrl
|
|
43562
43632
|
}));
|
|
@@ -43633,7 +43703,7 @@ var Slides = function Slides(_ref) {
|
|
|
43633
43703
|
}));
|
|
43634
43704
|
};
|
|
43635
43705
|
|
|
43636
|
-
var _excluded$1 = ["configurations", "className", "id"];
|
|
43706
|
+
var _excluded$1 = ["configurations", "className", "id", "image"];
|
|
43637
43707
|
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; }
|
|
43638
43708
|
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$1(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; }
|
|
43639
43709
|
var TestimonialWithSlider = function TestimonialWithSlider(_ref) {
|
|
@@ -43641,6 +43711,7 @@ var TestimonialWithSlider = function TestimonialWithSlider(_ref) {
|
|
|
43641
43711
|
_ref$className = _ref.className,
|
|
43642
43712
|
className = _ref$className === void 0 ? "" : _ref$className,
|
|
43643
43713
|
id = _ref.id,
|
|
43714
|
+
image = _ref.image,
|
|
43644
43715
|
otherProps = _objectWithoutProperties(_ref, _excluded$1);
|
|
43645
43716
|
var _useState = useState(null),
|
|
43646
43717
|
_useState2 = _slicedToArray(_useState, 2),
|
|
@@ -43712,6 +43783,7 @@ var TestimonialWithSlider = function TestimonialWithSlider(_ref) {
|
|
|
43712
43783
|
}, /*#__PURE__*/React__default.createElement("div", {
|
|
43713
43784
|
className: imageClasses(imagePosition)
|
|
43714
43785
|
}, /*#__PURE__*/React__default.createElement(StyledImage$1, {
|
|
43786
|
+
image: image,
|
|
43715
43787
|
index: index,
|
|
43716
43788
|
src: src,
|
|
43717
43789
|
className: "ns-testimonial-image-aspect-ratio object-cover",
|
|
@@ -43764,12 +43836,13 @@ var TestimonialWithSlider = function TestimonialWithSlider(_ref) {
|
|
|
43764
43836
|
}, button, otherProps))));
|
|
43765
43837
|
};
|
|
43766
43838
|
|
|
43767
|
-
var _excluded = ["configurations", "className", "id"];
|
|
43839
|
+
var _excluded = ["configurations", "className", "id", "image"];
|
|
43768
43840
|
var TestimonialWithVerticalView = function TestimonialWithVerticalView(_ref) {
|
|
43769
43841
|
var configurations = _ref.configurations,
|
|
43770
43842
|
_ref$className = _ref.className,
|
|
43771
43843
|
className = _ref$className === void 0 ? "" : _ref$className,
|
|
43772
43844
|
id = _ref.id,
|
|
43845
|
+
image = _ref.image,
|
|
43773
43846
|
otherProps = _objectWithoutProperties(_ref, _excluded);
|
|
43774
43847
|
var properties = configurations.properties,
|
|
43775
43848
|
design = configurations.design;
|
|
@@ -43827,6 +43900,7 @@ var TestimonialWithVerticalView = function TestimonialWithVerticalView(_ref) {
|
|
|
43827
43900
|
}, /*#__PURE__*/React__default.createElement("div", {
|
|
43828
43901
|
className: imageClasses
|
|
43829
43902
|
}, /*#__PURE__*/React__default.createElement(StyledImage$1, {
|
|
43903
|
+
image: image,
|
|
43830
43904
|
index: index,
|
|
43831
43905
|
src: src,
|
|
43832
43906
|
className: "ns-testimonial-image-aspect-ratio",
|