@bigbinary/neeto-site-blocks 1.8.1 → 1.8.3
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 +377 -70
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.js +377 -70
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs.js
CHANGED
|
@@ -2108,6 +2108,53 @@ function _curry2(fn) {
|
|
|
2108
2108
|
};
|
|
2109
2109
|
}
|
|
2110
2110
|
|
|
2111
|
+
/**
|
|
2112
|
+
* Optimized internal three-arity curry function.
|
|
2113
|
+
*
|
|
2114
|
+
* @private
|
|
2115
|
+
* @category Function
|
|
2116
|
+
* @param {Function} fn The function to curry.
|
|
2117
|
+
* @return {Function} The curried function.
|
|
2118
|
+
*/
|
|
2119
|
+
|
|
2120
|
+
function _curry3(fn) {
|
|
2121
|
+
return function f3(a, b, c) {
|
|
2122
|
+
switch (arguments.length) {
|
|
2123
|
+
case 0:
|
|
2124
|
+
return f3;
|
|
2125
|
+
|
|
2126
|
+
case 1:
|
|
2127
|
+
return _isPlaceholder(a) ? f3 : _curry2(function (_b, _c) {
|
|
2128
|
+
return fn(a, _b, _c);
|
|
2129
|
+
});
|
|
2130
|
+
|
|
2131
|
+
case 2:
|
|
2132
|
+
return _isPlaceholder(a) && _isPlaceholder(b) ? f3 : _isPlaceholder(a) ? _curry2(function (_a, _c) {
|
|
2133
|
+
return fn(_a, b, _c);
|
|
2134
|
+
}) : _isPlaceholder(b) ? _curry2(function (_b, _c) {
|
|
2135
|
+
return fn(a, _b, _c);
|
|
2136
|
+
}) : _curry1(function (_c) {
|
|
2137
|
+
return fn(a, b, _c);
|
|
2138
|
+
});
|
|
2139
|
+
|
|
2140
|
+
default:
|
|
2141
|
+
return _isPlaceholder(a) && _isPlaceholder(b) && _isPlaceholder(c) ? f3 : _isPlaceholder(a) && _isPlaceholder(b) ? _curry2(function (_a, _b) {
|
|
2142
|
+
return fn(_a, _b, c);
|
|
2143
|
+
}) : _isPlaceholder(a) && _isPlaceholder(c) ? _curry2(function (_a, _c) {
|
|
2144
|
+
return fn(_a, b, _c);
|
|
2145
|
+
}) : _isPlaceholder(b) && _isPlaceholder(c) ? _curry2(function (_b, _c) {
|
|
2146
|
+
return fn(a, _b, _c);
|
|
2147
|
+
}) : _isPlaceholder(a) ? _curry1(function (_a) {
|
|
2148
|
+
return fn(_a, b, c);
|
|
2149
|
+
}) : _isPlaceholder(b) ? _curry1(function (_b) {
|
|
2150
|
+
return fn(a, _b, c);
|
|
2151
|
+
}) : _isPlaceholder(c) ? _curry1(function (_c) {
|
|
2152
|
+
return fn(a, b, _c);
|
|
2153
|
+
}) : fn(a, b, c);
|
|
2154
|
+
}
|
|
2155
|
+
};
|
|
2156
|
+
}
|
|
2157
|
+
|
|
2111
2158
|
/**
|
|
2112
2159
|
* Tests whether or not an object is an array.
|
|
2113
2160
|
*
|
|
@@ -2579,6 +2626,36 @@ _curry2(function prop(p, obj) {
|
|
|
2579
2626
|
return _isInteger(p) ? nth(p, obj) : obj[p];
|
|
2580
2627
|
});
|
|
2581
2628
|
|
|
2629
|
+
/**
|
|
2630
|
+
* Makes a shallow clone of an object, setting or overriding the specified
|
|
2631
|
+
* property with the given value. Note that this copies and flattens prototype
|
|
2632
|
+
* properties onto the new object as well. All non-primitive properties are
|
|
2633
|
+
* copied by reference.
|
|
2634
|
+
*
|
|
2635
|
+
* @private
|
|
2636
|
+
* @param {String|Number} prop The property name to set
|
|
2637
|
+
* @param {*} val The new value
|
|
2638
|
+
* @param {Object|Array} obj The object to clone
|
|
2639
|
+
* @return {Object|Array} A new object equivalent to the original except for the changed property.
|
|
2640
|
+
*/
|
|
2641
|
+
|
|
2642
|
+
function _assoc(prop, val, obj) {
|
|
2643
|
+
if (_isInteger(prop) && _isArray(obj)) {
|
|
2644
|
+
var arr = [].concat(obj);
|
|
2645
|
+
arr[prop] = val;
|
|
2646
|
+
return arr;
|
|
2647
|
+
}
|
|
2648
|
+
|
|
2649
|
+
var result = {};
|
|
2650
|
+
|
|
2651
|
+
for (var p in obj) {
|
|
2652
|
+
result[p] = obj[p];
|
|
2653
|
+
}
|
|
2654
|
+
|
|
2655
|
+
result[prop] = val;
|
|
2656
|
+
return result;
|
|
2657
|
+
}
|
|
2658
|
+
|
|
2582
2659
|
/**
|
|
2583
2660
|
* Checks if the input value is `null` or `undefined`.
|
|
2584
2661
|
*
|
|
@@ -2603,6 +2680,76 @@ _curry1(function isNil(x) {
|
|
|
2603
2680
|
return x == null;
|
|
2604
2681
|
});
|
|
2605
2682
|
|
|
2683
|
+
/**
|
|
2684
|
+
* Makes a shallow clone of an object, setting or overriding the nodes required
|
|
2685
|
+
* to create the given path, and placing the specific value at the tail end of
|
|
2686
|
+
* that path. Note that this copies and flattens prototype properties onto the
|
|
2687
|
+
* new object as well. All non-primitive properties are copied by reference.
|
|
2688
|
+
*
|
|
2689
|
+
* @func
|
|
2690
|
+
* @memberOf R
|
|
2691
|
+
* @since v0.8.0
|
|
2692
|
+
* @category Object
|
|
2693
|
+
* @typedefn Idx = String | Int | Symbol
|
|
2694
|
+
* @sig [Idx] -> a -> {a} -> {a}
|
|
2695
|
+
* @param {Array} path the path to set
|
|
2696
|
+
* @param {*} val The new value
|
|
2697
|
+
* @param {Object} obj The object to clone
|
|
2698
|
+
* @return {Object} A new object equivalent to the original except along the specified path.
|
|
2699
|
+
* @see R.dissocPath
|
|
2700
|
+
* @example
|
|
2701
|
+
*
|
|
2702
|
+
* R.assocPath(['a', 'b', 'c'], 42, {a: {b: {c: 0}}}); //=> {a: {b: {c: 42}}}
|
|
2703
|
+
*
|
|
2704
|
+
* // Any missing or non-object keys in path will be overridden
|
|
2705
|
+
* R.assocPath(['a', 'b', 'c'], 42, {a: 5}); //=> {a: {b: {c: 42}}}
|
|
2706
|
+
*/
|
|
2707
|
+
|
|
2708
|
+
var assocPath =
|
|
2709
|
+
/*#__PURE__*/
|
|
2710
|
+
_curry3(function assocPath(path, val, obj) {
|
|
2711
|
+
if (path.length === 0) {
|
|
2712
|
+
return val;
|
|
2713
|
+
}
|
|
2714
|
+
|
|
2715
|
+
var idx = path[0];
|
|
2716
|
+
|
|
2717
|
+
if (path.length > 1) {
|
|
2718
|
+
var nextObj = !isNil(obj) && _has(idx, obj) && typeof obj[idx] === 'object' ? obj[idx] : _isInteger(path[1]) ? [] : {};
|
|
2719
|
+
val = assocPath(Array.prototype.slice.call(path, 1), val, nextObj);
|
|
2720
|
+
}
|
|
2721
|
+
|
|
2722
|
+
return _assoc(idx, val, obj);
|
|
2723
|
+
});
|
|
2724
|
+
|
|
2725
|
+
/**
|
|
2726
|
+
* Makes a shallow clone of an object, setting or overriding the specified
|
|
2727
|
+
* property with the given value. Note that this copies and flattens prototype
|
|
2728
|
+
* properties onto the new object as well. All non-primitive properties are
|
|
2729
|
+
* copied by reference.
|
|
2730
|
+
*
|
|
2731
|
+
* @func
|
|
2732
|
+
* @memberOf R
|
|
2733
|
+
* @since v0.8.0
|
|
2734
|
+
* @category Object
|
|
2735
|
+
* @typedefn Idx = String | Int
|
|
2736
|
+
* @sig Idx -> a -> {k: v} -> {k: v}
|
|
2737
|
+
* @param {String|Number} prop The property name to set
|
|
2738
|
+
* @param {*} val The new value
|
|
2739
|
+
* @param {Object} obj The object to clone
|
|
2740
|
+
* @return {Object} A new object equivalent to the original except for the changed property.
|
|
2741
|
+
* @see R.dissoc, R.pick
|
|
2742
|
+
* @example
|
|
2743
|
+
*
|
|
2744
|
+
* R.assoc('c', 3, {a: 1, b: 2}); //=> {a: 1, b: 2, c: 3}
|
|
2745
|
+
*/
|
|
2746
|
+
|
|
2747
|
+
var assoc =
|
|
2748
|
+
/*#__PURE__*/
|
|
2749
|
+
_curry3(function assoc(prop, val, obj) {
|
|
2750
|
+
return assocPath([prop], val, obj);
|
|
2751
|
+
});
|
|
2752
|
+
|
|
2606
2753
|
function _identity(x) {
|
|
2607
2754
|
return x;
|
|
2608
2755
|
}
|
|
@@ -2631,6 +2778,158 @@ var identity =
|
|
|
2631
2778
|
/*#__PURE__*/
|
|
2632
2779
|
_curry1(_identity);
|
|
2633
2780
|
|
|
2781
|
+
/**
|
|
2782
|
+
* Removes the sub-list of `list` starting at index `start` and containing
|
|
2783
|
+
* `count` elements. _Note that this is not destructive_: it returns a copy of
|
|
2784
|
+
* the list with the changes.
|
|
2785
|
+
* <small>No lists have been harmed in the application of this function.</small>
|
|
2786
|
+
*
|
|
2787
|
+
* @func
|
|
2788
|
+
* @memberOf R
|
|
2789
|
+
* @since v0.2.2
|
|
2790
|
+
* @category List
|
|
2791
|
+
* @sig Number -> Number -> [a] -> [a]
|
|
2792
|
+
* @param {Number} start The position to start removing elements
|
|
2793
|
+
* @param {Number} count The number of elements to remove
|
|
2794
|
+
* @param {Array} list The list to remove from
|
|
2795
|
+
* @return {Array} A new Array with `count` elements from `start` removed.
|
|
2796
|
+
* @see R.without
|
|
2797
|
+
* @example
|
|
2798
|
+
*
|
|
2799
|
+
* R.remove(2, 3, [1,2,3,4,5,6,7,8]); //=> [1,2,6,7,8]
|
|
2800
|
+
*/
|
|
2801
|
+
|
|
2802
|
+
var remove =
|
|
2803
|
+
/*#__PURE__*/
|
|
2804
|
+
_curry3(function remove(start, count, list) {
|
|
2805
|
+
var result = Array.prototype.slice.call(list, 0);
|
|
2806
|
+
result.splice(start, count);
|
|
2807
|
+
return result;
|
|
2808
|
+
});
|
|
2809
|
+
|
|
2810
|
+
/**
|
|
2811
|
+
* Returns a new object that does not contain a `prop` property.
|
|
2812
|
+
*
|
|
2813
|
+
* @private
|
|
2814
|
+
* @param {String|Number} prop The name of the property to dissociate
|
|
2815
|
+
* @param {Object|Array} obj The object to clone
|
|
2816
|
+
* @return {Object} A new object equivalent to the original but without the specified property
|
|
2817
|
+
*/
|
|
2818
|
+
|
|
2819
|
+
function _dissoc(prop, obj) {
|
|
2820
|
+
if (obj == null) {
|
|
2821
|
+
return obj;
|
|
2822
|
+
}
|
|
2823
|
+
|
|
2824
|
+
if (_isInteger(prop) && _isArray(obj)) {
|
|
2825
|
+
return remove(prop, 1, obj);
|
|
2826
|
+
}
|
|
2827
|
+
|
|
2828
|
+
var result = {};
|
|
2829
|
+
|
|
2830
|
+
for (var p in obj) {
|
|
2831
|
+
result[p] = obj[p];
|
|
2832
|
+
}
|
|
2833
|
+
|
|
2834
|
+
delete result[prop];
|
|
2835
|
+
return result;
|
|
2836
|
+
}
|
|
2837
|
+
|
|
2838
|
+
/**
|
|
2839
|
+
* Makes a shallow clone of an object. Note that this copies and flattens
|
|
2840
|
+
* prototype properties onto the new object as well. All non-primitive
|
|
2841
|
+
* properties are copied by reference.
|
|
2842
|
+
*
|
|
2843
|
+
* @private
|
|
2844
|
+
* @param {String|Integer} prop The prop operating
|
|
2845
|
+
* @param {Object|Array} obj The object to clone
|
|
2846
|
+
* @return {Object|Array} A new object equivalent to the original.
|
|
2847
|
+
*/
|
|
2848
|
+
|
|
2849
|
+
function _shallowCloneObject(prop, obj) {
|
|
2850
|
+
if (_isInteger(prop) && _isArray(obj)) {
|
|
2851
|
+
return [].concat(obj);
|
|
2852
|
+
}
|
|
2853
|
+
|
|
2854
|
+
var result = {};
|
|
2855
|
+
|
|
2856
|
+
for (var p in obj) {
|
|
2857
|
+
result[p] = obj[p];
|
|
2858
|
+
}
|
|
2859
|
+
|
|
2860
|
+
return result;
|
|
2861
|
+
}
|
|
2862
|
+
/**
|
|
2863
|
+
* Makes a shallow clone of an object, omitting the property at the given path.
|
|
2864
|
+
* Note that this copies and flattens prototype properties onto the new object
|
|
2865
|
+
* as well. All non-primitive properties are copied by reference.
|
|
2866
|
+
*
|
|
2867
|
+
* @func
|
|
2868
|
+
* @memberOf R
|
|
2869
|
+
* @since v0.11.0
|
|
2870
|
+
* @category Object
|
|
2871
|
+
* @typedefn Idx = String | Int | Symbol
|
|
2872
|
+
* @sig [Idx] -> {k: v} -> {k: v}
|
|
2873
|
+
* @param {Array} path The path to the value to omit
|
|
2874
|
+
* @param {Object} obj The object to clone
|
|
2875
|
+
* @return {Object} A new object without the property at path
|
|
2876
|
+
* @see R.assocPath
|
|
2877
|
+
* @example
|
|
2878
|
+
*
|
|
2879
|
+
* R.dissocPath(['a', 'b', 'c'], {a: {b: {c: 42}}}); //=> {a: {b: {}}}
|
|
2880
|
+
*/
|
|
2881
|
+
|
|
2882
|
+
|
|
2883
|
+
var dissocPath =
|
|
2884
|
+
/*#__PURE__*/
|
|
2885
|
+
_curry2(function dissocPath(path, obj) {
|
|
2886
|
+
if (obj == null) {
|
|
2887
|
+
return obj;
|
|
2888
|
+
}
|
|
2889
|
+
|
|
2890
|
+
switch (path.length) {
|
|
2891
|
+
case 0:
|
|
2892
|
+
return obj;
|
|
2893
|
+
|
|
2894
|
+
case 1:
|
|
2895
|
+
return _dissoc(path[0], obj);
|
|
2896
|
+
|
|
2897
|
+
default:
|
|
2898
|
+
var head = path[0];
|
|
2899
|
+
var tail = Array.prototype.slice.call(path, 1);
|
|
2900
|
+
|
|
2901
|
+
if (obj[head] == null) {
|
|
2902
|
+
return _shallowCloneObject(head, obj);
|
|
2903
|
+
} else {
|
|
2904
|
+
return assoc(head, dissocPath(tail, obj[head]), obj);
|
|
2905
|
+
}
|
|
2906
|
+
|
|
2907
|
+
}
|
|
2908
|
+
});
|
|
2909
|
+
|
|
2910
|
+
/**
|
|
2911
|
+
* Returns a new object that does not contain a `prop` property.
|
|
2912
|
+
*
|
|
2913
|
+
* @func
|
|
2914
|
+
* @memberOf R
|
|
2915
|
+
* @since v0.10.0
|
|
2916
|
+
* @category Object
|
|
2917
|
+
* @sig String -> {k: v} -> {k: v}
|
|
2918
|
+
* @param {String} prop The name of the property to dissociate
|
|
2919
|
+
* @param {Object} obj The object to clone
|
|
2920
|
+
* @return {Object} A new object equivalent to the original but without the specified property
|
|
2921
|
+
* @see R.assoc, R.omit
|
|
2922
|
+
* @example
|
|
2923
|
+
*
|
|
2924
|
+
* R.dissoc('b', {a: 1, b: 2, c: 3}); //=> {a: 1, c: 3}
|
|
2925
|
+
*/
|
|
2926
|
+
|
|
2927
|
+
var dissoc =
|
|
2928
|
+
/*#__PURE__*/
|
|
2929
|
+
_curry2(function dissoc(prop, obj) {
|
|
2930
|
+
return dissocPath([prop], obj);
|
|
2931
|
+
});
|
|
2932
|
+
|
|
2634
2933
|
/**
|
|
2635
2934
|
* Tests whether or not an object is a typed array.
|
|
2636
2935
|
*
|
|
@@ -4694,8 +4993,8 @@ var isLinkHighlighted = function isLinkHighlighted(to, currentPath) {
|
|
|
4694
4993
|
return currentPath.pathName === to && isEmpty(currentPath.hash) || currentPath.hash === to;
|
|
4695
4994
|
};
|
|
4696
4995
|
|
|
4697
|
-
function ownKeys$
|
|
4698
|
-
function _objectSpread$
|
|
4996
|
+
function ownKeys$l(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; }
|
|
4997
|
+
function _objectSpread$l(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$l(Object(source), !0).forEach(function (key) { _defineProperty__default["default"](target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$l(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
4699
4998
|
var StyledWrapper = styled__default["default"].div.attrs(function (props) {
|
|
4700
4999
|
return {
|
|
4701
5000
|
className: generateResponsiveStyles(props.design)
|
|
@@ -4719,11 +5018,11 @@ var StyledWrapper = styled__default["default"].div.attrs(function (props) {
|
|
|
4719
5018
|
borderWidth: (_design$border2 = design.border) === null || _design$border2 === void 0 ? void 0 : _design$border2.borderWidth
|
|
4720
5019
|
};
|
|
4721
5020
|
var borderColorStyles = pickBy(identity, borderColors);
|
|
4722
|
-
var backgroundStyles = _objectSpread$
|
|
5021
|
+
var backgroundStyles = _objectSpread$l({
|
|
4723
5022
|
position: "relative",
|
|
4724
5023
|
zIndex: 0
|
|
4725
5024
|
}, backgroundImage.src ? {
|
|
4726
|
-
"&::before": _objectSpread$
|
|
5025
|
+
"&::before": _objectSpread$l({
|
|
4727
5026
|
content: "''",
|
|
4728
5027
|
position: "absolute",
|
|
4729
5028
|
top: 0,
|
|
@@ -14298,6 +14597,7 @@ var useElementClick = function useElementClick(_ref) {
|
|
|
14298
14597
|
// This function is used as the click handler for "Link" and "Button" elements in the to highlight the element
|
|
14299
14598
|
var handleClick = function handleClick(event) {
|
|
14300
14599
|
event.preventDefault();
|
|
14600
|
+
if (!id) return;
|
|
14301
14601
|
setTimeout(function () {
|
|
14302
14602
|
var accordion = document.querySelector("[data-accordion-id=".concat(id.replace(/-[^-]+$/, ""), "]"));
|
|
14303
14603
|
var element = document.querySelector("[data-element-id=".concat(id, "]"));
|
|
@@ -15721,8 +16021,8 @@ var Button = function Button(_ref) {
|
|
|
15721
16021
|
var Button$1 = withConditionalRender(Button, prop("label"));
|
|
15722
16022
|
|
|
15723
16023
|
var _excluded$w = ["to", "label", "style", "className", "icon", "action", "baseUrl", "draftMode", "link", "isHighlighted", "disableButtonAndLinks", "children", "disableHovering", "setIsMenuOpen", "id", "index"];
|
|
15724
|
-
function ownKeys$
|
|
15725
|
-
function _objectSpread$
|
|
16024
|
+
function ownKeys$k(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; }
|
|
16025
|
+
function _objectSpread$k(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$k(Object(source), !0).forEach(function (key) { _defineProperty__default["default"](target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$k(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
15726
16026
|
var LinkElement = function LinkElement(_ref) {
|
|
15727
16027
|
var _ref$to = _ref.to,
|
|
15728
16028
|
to = _ref$to === void 0 ? "" : _ref$to,
|
|
@@ -15764,7 +16064,7 @@ var LinkElement = function LinkElement(_ref) {
|
|
|
15764
16064
|
setIsMenuOpen && setIsMenuOpen(false);
|
|
15765
16065
|
disableButtonAndLinks && handleClick(event);
|
|
15766
16066
|
};
|
|
15767
|
-
var commonProps = _objectSpread$
|
|
16067
|
+
var commonProps = _objectSpread$k({
|
|
15768
16068
|
className: classnames([baseClass, className]),
|
|
15769
16069
|
design: style,
|
|
15770
16070
|
href: to !== null && to !== void 0 ? to : "",
|
|
@@ -15794,11 +16094,11 @@ var Link = withConditionalRender(LinkElement, function () {
|
|
|
15794
16094
|
return !!(prop("label") || prop("icon"));
|
|
15795
16095
|
});
|
|
15796
16096
|
|
|
15797
|
-
var _excluded$v = ["
|
|
15798
|
-
function ownKeys$
|
|
15799
|
-
function _objectSpread$
|
|
16097
|
+
var _excluded$v = ["dropdownLink", "design", "index", "height", "className", "totalLength", "paddingHorizontal"];
|
|
16098
|
+
function ownKeys$j(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; }
|
|
16099
|
+
function _objectSpread$j(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$j(Object(source), !0).forEach(function (key) { _defineProperty__default["default"](target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$j(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
15800
16100
|
var Dropdown = function Dropdown(_ref) {
|
|
15801
|
-
var
|
|
16101
|
+
var dropdownLink = _ref.dropdownLink,
|
|
15802
16102
|
design = _ref.design,
|
|
15803
16103
|
index = _ref.index,
|
|
15804
16104
|
height = _ref.height,
|
|
@@ -15816,8 +16116,8 @@ var Dropdown = function Dropdown(_ref) {
|
|
|
15816
16116
|
isSize = _useBreakpoints.isSize;
|
|
15817
16117
|
var isSmallerScreen = isSize("mobile") || isSize("tablet");
|
|
15818
16118
|
var isLargerScreen = isSize("desktop") || isSize("largeDesktop");
|
|
15819
|
-
var label =
|
|
15820
|
-
subLinks =
|
|
16119
|
+
var label = dropdownLink.label,
|
|
16120
|
+
subLinks = dropdownLink.subLinks;
|
|
15821
16121
|
var renderDropdownItems = function renderDropdownItems(className) {
|
|
15822
16122
|
return subLinks.map(function (subLink, index) {
|
|
15823
16123
|
return /*#__PURE__*/React__default["default"].createElement(Link, _extends__default["default"]({
|
|
@@ -15826,7 +16126,7 @@ var Dropdown = function Dropdown(_ref) {
|
|
|
15826
16126
|
key: getUniqueKey(subLink.label, subLink.to, index),
|
|
15827
16127
|
setIsMenuOpen: setIsOpen,
|
|
15828
16128
|
style: design
|
|
15829
|
-
}, _objectSpread$
|
|
16129
|
+
}, _objectSpread$j(_objectSpread$j({
|
|
15830
16130
|
index: index
|
|
15831
16131
|
}, subLink), otherProps)));
|
|
15832
16132
|
});
|
|
@@ -15904,8 +16204,8 @@ var Dropdown = function Dropdown(_ref) {
|
|
|
15904
16204
|
}, renderDropdownItems("rounded-md px-4 py-2 hover:bg-gray-100")))));
|
|
15905
16205
|
};
|
|
15906
16206
|
|
|
15907
|
-
function ownKeys$
|
|
15908
|
-
function _objectSpread$
|
|
16207
|
+
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; }
|
|
16208
|
+
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; }
|
|
15909
16209
|
var subscribe = function subscribe(listener) {
|
|
15910
16210
|
window.addEventListener("resize", listener);
|
|
15911
16211
|
return function () {
|
|
@@ -15914,7 +16214,7 @@ var subscribe = function subscribe(listener) {
|
|
|
15914
16214
|
};
|
|
15915
16215
|
var getCurrentSize = function getCurrentSize(window, breakpointOverrides) {
|
|
15916
16216
|
var innerWidth = window.innerWidth;
|
|
15917
|
-
var sizes = _objectSpread$
|
|
16217
|
+
var sizes = _objectSpread$i({
|
|
15918
16218
|
mobile: innerWidth < 768,
|
|
15919
16219
|
tablet: innerWidth >= 768 && innerWidth < 1024,
|
|
15920
16220
|
desktop: innerWidth >= 1024 && innerWidth < 1280,
|
|
@@ -15940,21 +16240,25 @@ var useBreakpoints = function useBreakpoints(breakpointOverrides) {
|
|
|
15940
16240
|
var useBreakpoints$1 = useBreakpoints;
|
|
15941
16241
|
|
|
15942
16242
|
var _excluded$u = ["isEmbedded", "src", "design"];
|
|
16243
|
+
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; }
|
|
16244
|
+
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; }
|
|
15943
16245
|
var Media = function Media(_ref) {
|
|
15944
16246
|
var isEmbedded = _ref.isEmbedded,
|
|
15945
16247
|
src = _ref.src,
|
|
15946
16248
|
design = _ref.design,
|
|
15947
16249
|
otherProps = _objectWithoutProperties__default["default"](_ref, _excluded$u);
|
|
15948
16250
|
if (isEmbedded) {
|
|
15949
|
-
|
|
16251
|
+
var _design$width;
|
|
16252
|
+
return /*#__PURE__*/React__default["default"].createElement(StyledWrapper, {
|
|
15950
16253
|
allow: "accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture",
|
|
15951
|
-
|
|
16254
|
+
as: "iframe",
|
|
16255
|
+
design: dissoc("width", design),
|
|
15952
16256
|
height: "300px",
|
|
15953
16257
|
src: validateUrl(src),
|
|
15954
|
-
|
|
16258
|
+
width: "".concat((_design$width = design === null || design === void 0 ? void 0 : design.width) !== null && _design$width !== void 0 ? _design$width : "100", "%")
|
|
15955
16259
|
});
|
|
15956
16260
|
}
|
|
15957
|
-
return /*#__PURE__*/React__default["default"].createElement(StyledImage$1,
|
|
16261
|
+
return /*#__PURE__*/React__default["default"].createElement(StyledImage$1, _objectSpread$h({
|
|
15958
16262
|
design: design,
|
|
15959
16263
|
src: src
|
|
15960
16264
|
}, otherProps));
|
|
@@ -21019,8 +21323,8 @@ const SwiperSlide = /*#__PURE__*/React.forwardRef(function (_temp, externalRef)
|
|
|
21019
21323
|
});
|
|
21020
21324
|
SwiperSlide.displayName = 'SwiperSlide';
|
|
21021
21325
|
|
|
21022
|
-
function ownKeys$
|
|
21023
|
-
function _objectSpread$
|
|
21326
|
+
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; }
|
|
21327
|
+
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; }
|
|
21024
21328
|
var CardsInGridView = function CardsInGridView(_ref) {
|
|
21025
21329
|
var configurations = _ref.configurations,
|
|
21026
21330
|
_ref$className = _ref.className,
|
|
@@ -21143,7 +21447,7 @@ var CardsInGridView = function CardsInGridView(_ref) {
|
|
|
21143
21447
|
}, cards.map(function (card, index) {
|
|
21144
21448
|
return /*#__PURE__*/React__default["default"].createElement(SwiperSlide, {
|
|
21145
21449
|
key: getUniqueKey(card.title, card.description, index)
|
|
21146
|
-
}, renderCard(_objectSpread$
|
|
21450
|
+
}, renderCard(_objectSpread$g(_objectSpread$g({}, card), {}, {
|
|
21147
21451
|
index: index
|
|
21148
21452
|
})));
|
|
21149
21453
|
}))), /*#__PURE__*/React__default["default"].createElement(ArrowButton, {
|
|
@@ -21158,7 +21462,7 @@ var CardsInGridView = function CardsInGridView(_ref) {
|
|
|
21158
21462
|
}, /*#__PURE__*/React__default["default"].createElement(Button$1, _extends__default["default"]({
|
|
21159
21463
|
className: "col-span-12 flex justify-center sm:col-span-6 sm:col-start-4 lg:col-span-4 lg:col-start-5",
|
|
21160
21464
|
style: design.button
|
|
21161
|
-
}, _objectSpread$
|
|
21465
|
+
}, _objectSpread$g(_objectSpread$g({}, button), {}, {
|
|
21162
21466
|
disableButtonAndLinks: disableButtonAndLinks
|
|
21163
21467
|
}), {
|
|
21164
21468
|
id: "cards-in-grid-view-action-button"
|
|
@@ -21191,7 +21495,7 @@ var CardsInGridView = function CardsInGridView(_ref) {
|
|
|
21191
21495
|
}, cards.map(function (card, index) {
|
|
21192
21496
|
return /*#__PURE__*/React__default["default"].createElement(React__default["default"].Fragment, {
|
|
21193
21497
|
key: getUniqueKey(card.title, card.description, index)
|
|
21194
|
-
}, renderCard(_objectSpread$
|
|
21498
|
+
}, renderCard(_objectSpread$g(_objectSpread$g({}, card), {}, {
|
|
21195
21499
|
index: index
|
|
21196
21500
|
})));
|
|
21197
21501
|
})), isButtonRequired && /*#__PURE__*/React__default["default"].createElement(StyledWrapper, {
|
|
@@ -21202,7 +21506,7 @@ var CardsInGridView = function CardsInGridView(_ref) {
|
|
|
21202
21506
|
}, /*#__PURE__*/React__default["default"].createElement(Button$1, _extends__default["default"]({
|
|
21203
21507
|
className: "flex w-full justify-center sm:w-1/2 lg:w-1/3",
|
|
21204
21508
|
style: design.button
|
|
21205
|
-
}, _objectSpread$
|
|
21509
|
+
}, _objectSpread$g(_objectSpread$g({}, button), {}, {
|
|
21206
21510
|
disableButtonAndLinks: disableButtonAndLinks
|
|
21207
21511
|
}), {
|
|
21208
21512
|
id: "cards-in-grid-view-action-button"
|
|
@@ -21297,8 +21601,8 @@ var CardsWithCustomizableGrid = function CardsWithCustomizableGrid(_ref) {
|
|
|
21297
21601
|
};
|
|
21298
21602
|
|
|
21299
21603
|
var _excluded$p = ["configurations", "className", "id"];
|
|
21300
|
-
function ownKeys$
|
|
21301
|
-
function _objectSpread$
|
|
21604
|
+
function ownKeys$f(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; }
|
|
21605
|
+
function _objectSpread$f(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$f(Object(source), !0).forEach(function (key) { _defineProperty__default["default"](target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$f(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
21302
21606
|
var CardsWithImage = function CardsWithImage(_ref) {
|
|
21303
21607
|
var configurations = _ref.configurations,
|
|
21304
21608
|
_ref$className = _ref.className,
|
|
@@ -21349,7 +21653,7 @@ var CardsWithImage = function CardsWithImage(_ref) {
|
|
|
21349
21653
|
className: gridBaseClasses,
|
|
21350
21654
|
duration: 0.01,
|
|
21351
21655
|
key: getUniqueKey(title, description, index),
|
|
21352
|
-
design: _objectSpread$
|
|
21656
|
+
design: _objectSpread$f(_objectSpread$f({}, design.card), {}, {
|
|
21353
21657
|
paddingHorizontal: 0,
|
|
21354
21658
|
paddingVertical: 0
|
|
21355
21659
|
}),
|
|
@@ -21381,7 +21685,7 @@ var CardsWithImage = function CardsWithImage(_ref) {
|
|
|
21381
21685
|
}), isAddMoreRequired && /*#__PURE__*/React__default["default"].createElement(MotionWrapper, {
|
|
21382
21686
|
enableAnimation: enableAnimation,
|
|
21383
21687
|
className: "ns-card-animation col-span-12 flex h-40 items-center justify-center transition-all duration-300 ease-in-out sm:col-span-6 lg:col-span-4",
|
|
21384
|
-
design: _objectSpread$
|
|
21688
|
+
design: _objectSpread$f(_objectSpread$f({}, design.card), {}, {
|
|
21385
21689
|
paddingHorizontal: 0,
|
|
21386
21690
|
paddingVertical: 0,
|
|
21387
21691
|
backgroundColor: "transparent"
|
|
@@ -21396,8 +21700,8 @@ var CardsWithImage = function CardsWithImage(_ref) {
|
|
|
21396
21700
|
};
|
|
21397
21701
|
|
|
21398
21702
|
var _excluded$o = ["configurations", "className", "id"];
|
|
21399
|
-
function ownKeys$
|
|
21400
|
-
function _objectSpread$
|
|
21703
|
+
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; }
|
|
21704
|
+
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; }
|
|
21401
21705
|
var CtaClassic = function CtaClassic(_ref) {
|
|
21402
21706
|
var configurations = _ref.configurations,
|
|
21403
21707
|
_ref$className = _ref.className,
|
|
@@ -21441,7 +21745,7 @@ var CtaClassic = function CtaClassic(_ref) {
|
|
|
21441
21745
|
id: "cta-classic-button-".concat(index),
|
|
21442
21746
|
key: index,
|
|
21443
21747
|
style: button.type === "primary" ? design.primaryButton : design.secondaryButton
|
|
21444
|
-
}, _objectSpread$
|
|
21748
|
+
}, _objectSpread$e(_objectSpread$e({
|
|
21445
21749
|
index: index
|
|
21446
21750
|
}, button), otherProps)));
|
|
21447
21751
|
})));
|
|
@@ -39054,8 +39358,8 @@ var CtaWithEmailAction = function CtaWithEmailAction(_ref) {
|
|
|
39054
39358
|
};
|
|
39055
39359
|
|
|
39056
39360
|
var _excluded$m = ["configurations", "className", "id"];
|
|
39057
|
-
function ownKeys$
|
|
39058
|
-
function _objectSpread$
|
|
39361
|
+
function ownKeys$d(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; }
|
|
39362
|
+
function _objectSpread$d(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$d(Object(source), !0).forEach(function (key) { _defineProperty__default["default"](target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$d(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
39059
39363
|
var CtaWithLogo = function CtaWithLogo(_ref) {
|
|
39060
39364
|
var configurations = _ref.configurations,
|
|
39061
39365
|
_ref$className = _ref.className,
|
|
@@ -39107,7 +39411,7 @@ var CtaWithLogo = function CtaWithLogo(_ref) {
|
|
|
39107
39411
|
id: "cta-with-logo-button-".concat(index, "-button"),
|
|
39108
39412
|
key: index,
|
|
39109
39413
|
style: design.button
|
|
39110
|
-
}, _objectSpread$
|
|
39414
|
+
}, _objectSpread$d(_objectSpread$d({}, button), {}, {
|
|
39111
39415
|
index: index
|
|
39112
39416
|
}, otherProps)));
|
|
39113
39417
|
})));
|
|
@@ -39136,8 +39440,8 @@ var Embed = function Embed(_ref) {
|
|
|
39136
39440
|
|
|
39137
39441
|
var _excluded$l = ["configurations", "className", "id"],
|
|
39138
39442
|
_excluded2 = ["question", "answer", "design", "enableAnimation", "index"];
|
|
39139
|
-
function ownKeys$
|
|
39140
|
-
function _objectSpread$
|
|
39443
|
+
function ownKeys$c(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
39444
|
+
function _objectSpread$c(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$c(Object(source), !0).forEach(function (key) { _defineProperty__default["default"](target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$c(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
39141
39445
|
var FaqWithHamburgerView = function FaqWithHamburgerView(_ref) {
|
|
39142
39446
|
var configurations = _ref.configurations,
|
|
39143
39447
|
_ref$className = _ref.className,
|
|
@@ -39169,7 +39473,7 @@ var FaqWithHamburgerView = function FaqWithHamburgerView(_ref) {
|
|
|
39169
39473
|
}, faqs.map(function (_ref2, index) {
|
|
39170
39474
|
var question = _ref2.question,
|
|
39171
39475
|
answer = _ref2.answer;
|
|
39172
|
-
return /*#__PURE__*/React__default["default"].createElement(FAQItem, _extends__default["default"]({}, _objectSpread$
|
|
39476
|
+
return /*#__PURE__*/React__default["default"].createElement(FAQItem, _extends__default["default"]({}, _objectSpread$c({
|
|
39173
39477
|
answer: answer,
|
|
39174
39478
|
design: design,
|
|
39175
39479
|
enableAnimation: enableAnimation,
|
|
@@ -39259,8 +39563,8 @@ var FAQItem = function FAQItem(_ref3) {
|
|
|
39259
39563
|
};
|
|
39260
39564
|
|
|
39261
39565
|
var _excluded$k = ["configurations", "className", "id"];
|
|
39262
|
-
function ownKeys$
|
|
39263
|
-
function _objectSpread$
|
|
39566
|
+
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; }
|
|
39567
|
+
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; }
|
|
39264
39568
|
var FeatureWithBulletList = function FeatureWithBulletList(_ref) {
|
|
39265
39569
|
var configurations = _ref.configurations,
|
|
39266
39570
|
_ref$className = _ref.className,
|
|
@@ -39289,7 +39593,7 @@ var FeatureWithBulletList = function FeatureWithBulletList(_ref) {
|
|
|
39289
39593
|
id: "feature-with-bullet-list-bullet-".concat(index, "-title"),
|
|
39290
39594
|
key: getUniqueKey(featureTitle, index),
|
|
39291
39595
|
style: design.bulletList
|
|
39292
|
-
}, _objectSpread$
|
|
39596
|
+
}, _objectSpread$b(_objectSpread$b({}, otherProps), {}, {
|
|
39293
39597
|
index: index
|
|
39294
39598
|
})), featureTitle);
|
|
39295
39599
|
})));
|
|
@@ -39320,8 +39624,8 @@ var FeatureWithBulletList = function FeatureWithBulletList(_ref) {
|
|
|
39320
39624
|
};
|
|
39321
39625
|
|
|
39322
39626
|
var _excluded$j = ["configurations", "className", "id"];
|
|
39323
|
-
function ownKeys$
|
|
39324
|
-
function _objectSpread$
|
|
39627
|
+
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; }
|
|
39628
|
+
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; }
|
|
39325
39629
|
var FeatureWithDetails = function FeatureWithDetails(_ref) {
|
|
39326
39630
|
var configurations = _ref.configurations,
|
|
39327
39631
|
_ref$className = _ref.className,
|
|
@@ -39385,7 +39689,7 @@ var FeatureWithDetails = function FeatureWithDetails(_ref) {
|
|
|
39385
39689
|
key: getUniqueKey(featureTitle, featureDescription, index)
|
|
39386
39690
|
}, icon && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
39387
39691
|
className: "flex-shrink-0"
|
|
39388
|
-
}, renderIcon(_objectSpread$
|
|
39692
|
+
}, renderIcon(_objectSpread$a({
|
|
39389
39693
|
name: icon,
|
|
39390
39694
|
type: icon.type
|
|
39391
39695
|
}, design.icon))), /*#__PURE__*/React__default["default"].createElement("div", null, /*#__PURE__*/React__default["default"].createElement(Typography$1, _extends__default["default"]({
|
|
@@ -39822,8 +40126,8 @@ var FeatureWithProgressBar = function FeatureWithProgressBar(_ref) {
|
|
|
39822
40126
|
};
|
|
39823
40127
|
|
|
39824
40128
|
var _excluded$d = ["configurations", "className", "id"];
|
|
39825
|
-
function ownKeys$
|
|
39826
|
-
function _objectSpread$
|
|
40129
|
+
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; }
|
|
40130
|
+
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; }
|
|
39827
40131
|
var FooterClassic = function FooterClassic(_ref) {
|
|
39828
40132
|
var configurations = _ref.configurations,
|
|
39829
40133
|
_ref$className = _ref.className,
|
|
@@ -39882,13 +40186,13 @@ var FooterClassic = function FooterClassic(_ref) {
|
|
|
39882
40186
|
id: "footer-classic-social-icons-".concat(index, "-link"),
|
|
39883
40187
|
key: getUniqueKey(_icon.name, index),
|
|
39884
40188
|
icon: function icon() {
|
|
39885
|
-
return renderIcon(_objectSpread$
|
|
40189
|
+
return renderIcon(_objectSpread$9({
|
|
39886
40190
|
name: _icon.name,
|
|
39887
40191
|
type: _icon.type,
|
|
39888
40192
|
className: "hover:text-gray-600"
|
|
39889
40193
|
}, design.socialIcon));
|
|
39890
40194
|
}
|
|
39891
|
-
}, _objectSpread$
|
|
40195
|
+
}, _objectSpread$9(_objectSpread$9({
|
|
39892
40196
|
index: index
|
|
39893
40197
|
}, _icon), otherProps)));
|
|
39894
40198
|
})), /*#__PURE__*/React__default["default"].createElement(Typography$1, _extends__default["default"]({
|
|
@@ -39937,13 +40241,13 @@ var FooterClassic = function FooterClassic(_ref) {
|
|
|
39937
40241
|
id: "footer-classic-social-icons-".concat(index, "-link"),
|
|
39938
40242
|
key: getUniqueKey(_icon2.name, index),
|
|
39939
40243
|
icon: function icon() {
|
|
39940
|
-
return renderIcon(_objectSpread$
|
|
40244
|
+
return renderIcon(_objectSpread$9({
|
|
39941
40245
|
name: _icon2.name,
|
|
39942
40246
|
type: _icon2.type,
|
|
39943
40247
|
className: "hover:text-gray-600"
|
|
39944
40248
|
}, design.socialIcon));
|
|
39945
40249
|
}
|
|
39946
|
-
}, _objectSpread$
|
|
40250
|
+
}, _objectSpread$9(_objectSpread$9({
|
|
39947
40251
|
index: index
|
|
39948
40252
|
}, _icon2), otherProps)));
|
|
39949
40253
|
})), /*#__PURE__*/React__default["default"].createElement(Typography$1, _extends__default["default"]({
|
|
@@ -39954,8 +40258,8 @@ var FooterClassic = function FooterClassic(_ref) {
|
|
|
39954
40258
|
};
|
|
39955
40259
|
|
|
39956
40260
|
var _excluded$c = ["configurations", "className", "id"];
|
|
39957
|
-
function ownKeys$
|
|
39958
|
-
function _objectSpread$
|
|
40261
|
+
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; }
|
|
40262
|
+
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; }
|
|
39959
40263
|
var FooterWithIcons = function FooterWithIcons(_ref) {
|
|
39960
40264
|
var configurations = _ref.configurations,
|
|
39961
40265
|
_ref$className = _ref.className,
|
|
@@ -40007,13 +40311,13 @@ var FooterWithIcons = function FooterWithIcons(_ref) {
|
|
|
40007
40311
|
id: "footer-with-icons-social-icon-".concat(index, "-link"),
|
|
40008
40312
|
key: getUniqueKey(_icon.name, index),
|
|
40009
40313
|
icon: function icon() {
|
|
40010
|
-
return renderIcon(_objectSpread$
|
|
40314
|
+
return renderIcon(_objectSpread$8({
|
|
40011
40315
|
name: _icon.name,
|
|
40012
40316
|
type: _icon.type,
|
|
40013
40317
|
className: "text-red-60 hover:text-gray-600"
|
|
40014
40318
|
}, design.socialIcon));
|
|
40015
40319
|
}
|
|
40016
|
-
}, _objectSpread$
|
|
40320
|
+
}, _objectSpread$8(_objectSpread$8({
|
|
40017
40321
|
index: index
|
|
40018
40322
|
}, _icon), otherProps)));
|
|
40019
40323
|
})), /*#__PURE__*/React__default["default"].createElement(Typography$1, _extends__default["default"]({
|
|
@@ -40025,8 +40329,8 @@ var FooterWithIcons = function FooterWithIcons(_ref) {
|
|
|
40025
40329
|
};
|
|
40026
40330
|
|
|
40027
40331
|
var _excluded$b = ["configurations", "className", "id"];
|
|
40028
|
-
function ownKeys$
|
|
40029
|
-
function _objectSpread$
|
|
40332
|
+
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; }
|
|
40333
|
+
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; }
|
|
40030
40334
|
var FooterWithLinks = function FooterWithLinks(_ref) {
|
|
40031
40335
|
var configurations = _ref.configurations,
|
|
40032
40336
|
_ref$className = _ref.className,
|
|
@@ -40117,12 +40421,12 @@ var FooterWithLinks = function FooterWithLinks(_ref) {
|
|
|
40117
40421
|
id: "footer-with-links-social-links-".concat(index, "-icon"),
|
|
40118
40422
|
key: getUniqueKey(_icon.name, index),
|
|
40119
40423
|
icon: function icon() {
|
|
40120
|
-
return renderIcon(_objectSpread$
|
|
40424
|
+
return renderIcon(_objectSpread$7({
|
|
40121
40425
|
name: _icon.name,
|
|
40122
40426
|
type: _icon.type
|
|
40123
40427
|
}, design.socialIcon));
|
|
40124
40428
|
}
|
|
40125
|
-
}, _objectSpread$
|
|
40429
|
+
}, _objectSpread$7(_objectSpread$7({
|
|
40126
40430
|
index: index
|
|
40127
40431
|
}, _icon), otherProps)));
|
|
40128
40432
|
})), /*#__PURE__*/React__default["default"].createElement("ul", {
|
|
@@ -42216,8 +42520,8 @@ var useElementVisible = function useElementVisible(ref) {
|
|
|
42216
42520
|
};
|
|
42217
42521
|
|
|
42218
42522
|
var _excluded$9 = ["configurations", "className", "currentPath", "id"];
|
|
42219
|
-
function ownKeys$
|
|
42220
|
-
function _objectSpread$
|
|
42523
|
+
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; }
|
|
42524
|
+
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; }
|
|
42221
42525
|
var HeaderWithButtons = function HeaderWithButtons(_ref) {
|
|
42222
42526
|
var configurations = _ref.configurations,
|
|
42223
42527
|
_ref$className = _ref.className,
|
|
@@ -42267,7 +42571,7 @@ var HeaderWithButtons = function HeaderWithButtons(_ref) {
|
|
|
42267
42571
|
isHighlighted: isLinkHighlighted(link.to, currentPath),
|
|
42268
42572
|
key: getUniqueKey(link.label, index),
|
|
42269
42573
|
style: design.links
|
|
42270
|
-
}, _objectSpread$
|
|
42574
|
+
}, _objectSpread$6(_objectSpread$6({
|
|
42271
42575
|
index: index
|
|
42272
42576
|
}, link), otherProps)));
|
|
42273
42577
|
})), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
@@ -42277,7 +42581,7 @@ var HeaderWithButtons = function HeaderWithButtons(_ref) {
|
|
|
42277
42581
|
id: "header-with-buttons-buttons-".concat(index, "-button"),
|
|
42278
42582
|
key: getUniqueKey(button.label, index),
|
|
42279
42583
|
style: button.type === "primary" ? design.primaryButtons : design.secondaryButtons
|
|
42280
|
-
}, _objectSpread$
|
|
42584
|
+
}, _objectSpread$6(_objectSpread$6({
|
|
42281
42585
|
index: index
|
|
42282
42586
|
}, button), otherProps)));
|
|
42283
42587
|
})), /*#__PURE__*/React__default["default"].createElement("button", {
|
|
@@ -42300,7 +42604,7 @@ var HeaderWithButtons = function HeaderWithButtons(_ref) {
|
|
|
42300
42604
|
fontSize: "1.25em",
|
|
42301
42605
|
fontWeight: "500"
|
|
42302
42606
|
})
|
|
42303
|
-
}, _objectSpread$
|
|
42607
|
+
}, _objectSpread$6(_objectSpread$6({
|
|
42304
42608
|
index: index,
|
|
42305
42609
|
setIsMenuOpen: setIsMenuOpen
|
|
42306
42610
|
}, button), otherProps)));
|
|
@@ -42308,6 +42612,8 @@ var HeaderWithButtons = function HeaderWithButtons(_ref) {
|
|
|
42308
42612
|
};
|
|
42309
42613
|
|
|
42310
42614
|
var _excluded$8 = ["configurations", "className", "id"];
|
|
42615
|
+
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; }
|
|
42616
|
+
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; }
|
|
42311
42617
|
var HeaderWithDropdownLinks = function HeaderWithDropdownLinks(_ref) {
|
|
42312
42618
|
var configurations = _ref.configurations,
|
|
42313
42619
|
_ref$className = _ref.className,
|
|
@@ -42372,17 +42678,18 @@ var HeaderWithDropdownLinks = function HeaderWithDropdownLinks(_ref) {
|
|
|
42372
42678
|
})
|
|
42373
42679
|
}, otherProps), properties.logo.title))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
42374
42680
|
className: "col-span-6 col-start-7 flex items-center justify-end gap-x-6 sm:col-span-5 sm:col-start-8 lg:col-span-7 lg:col-start-6"
|
|
42375
|
-
}, properties.links.map(function (
|
|
42681
|
+
}, properties.links.map(function (dropdownLink, index) {
|
|
42376
42682
|
return /*#__PURE__*/React__default["default"].createElement(Dropdown, _extends__default["default"]({
|
|
42377
|
-
index: index,
|
|
42378
|
-
link: link,
|
|
42379
42683
|
className: "hidden lg:block",
|
|
42380
42684
|
design: design.links,
|
|
42381
42685
|
height: headerHeight,
|
|
42382
|
-
key: getUniqueKey(
|
|
42686
|
+
key: getUniqueKey(dropdownLink.label, dropdownLink.to, index),
|
|
42383
42687
|
paddingHorizontal: design.body.paddingHorizontal,
|
|
42384
42688
|
totalLength: properties.links.length
|
|
42385
|
-
},
|
|
42689
|
+
}, _objectSpread$5({
|
|
42690
|
+
dropdownLink: dropdownLink,
|
|
42691
|
+
index: index
|
|
42692
|
+
}, otherProps)));
|
|
42386
42693
|
})), /*#__PURE__*/React__default["default"].createElement("button", {
|
|
42387
42694
|
className: "col-span-1 col-start-1 flex items-center sm:col-span-1 lg:hidden",
|
|
42388
42695
|
onClick: function onClick() {
|