@mailstep/design-system 0.1.0 → 0.1.2

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.
Files changed (37) hide show
  1. package/build/dts/ui/Elements/Alert/index.d.ts +1 -1
  2. package/build/dts/ui/Elements/Avatar/index.d.ts +1 -1
  3. package/build/dts/ui/Elements/Badge/index.d.ts +1 -1
  4. package/build/dts/ui/Elements/BorderedBox/index.d.ts +1 -1
  5. package/build/dts/ui/Elements/Button/index.d.ts +1 -1
  6. package/build/dts/ui/Elements/Card/index.d.ts +0 -2
  7. package/build/dts/ui/Elements/Dropdown/index.d.ts +1 -1
  8. package/build/dts/ui/Elements/ErrorMessage/index.d.ts +1 -1
  9. package/build/dts/ui/Elements/Icon/index.d.ts +1 -1
  10. package/build/dts/ui/Elements/Icon/stories/Icon.stories.d.ts +1 -1
  11. package/build/dts/ui/Elements/Image/index.d.ts +1 -1
  12. package/build/dts/ui/Elements/Label/index.d.ts +0 -2
  13. package/build/dts/ui/Elements/Line/index.d.ts +1 -1
  14. package/build/dts/ui/Elements/Link/index.d.ts +1 -1
  15. package/build/dts/ui/Elements/Logo/index.d.ts +1 -1
  16. package/build/dts/ui/Elements/Pagination/index.d.ts +1 -1
  17. package/build/dts/ui/Elements/Paragraph/index.d.ts +1 -1
  18. package/build/dts/ui/Elements/Portal/index.d.ts +1 -2
  19. package/build/dts/ui/Elements/ProgressBar/index.d.ts +1 -1
  20. package/build/dts/ui/Elements/SimpleLink/SimpleLink.d.ts +19 -0
  21. package/build/dts/ui/Elements/SimpleLink/index.d.ts +2 -2
  22. package/build/dts/ui/Elements/SpaceAround/index.d.ts +1 -1
  23. package/build/dts/ui/Elements/Spinner/index.d.ts +1 -1
  24. package/build/dts/ui/Elements/Tag/index.d.ts +1 -1
  25. package/build/dts/ui/Elements/Text/index.d.ts +1 -1
  26. package/build/dts/ui/Elements/Toast/index.d.ts +1 -1
  27. package/build/dts/ui/Elements/Toggle/index.d.ts +1 -1
  28. package/build/dts/ui/Forms/Checkbox/index.d.ts +1 -1
  29. package/build/dts/ui/Forms/Input/index.d.ts +1 -1
  30. package/build/dts/ui/Forms/RadioButton/index.d.ts +1 -1
  31. package/build/dts/ui/ThemeProvider/index.d.ts +1 -1
  32. package/build/dts/ui/index.d.ts +1 -0
  33. package/build/index.es.js +833 -518
  34. package/build/index.es.js.map +1 -1
  35. package/build/index.js +859 -517
  36. package/build/index.js.map +1 -1
  37. package/package.json +1 -1
package/build/index.es.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
2
2
  import React, { useState, useEffect, useRef, useCallback, memo, useMemo } from 'react';
3
3
  import ReactDom from 'react-dom';
4
- import styled, { useTheme, th, x, css, down, system, keyframes as keyframes$1 } from '@xstyled/styled-components';
4
+ import styled, { useTheme, th, ThemeProvider, Preflight, x, css, down, system, keyframes as keyframes$1 } from '@xstyled/styled-components';
5
5
  import { FontAwesomeIcon } from '@fortawesome/react-fontawesome';
6
6
  import { library } from '@fortawesome/fontawesome-svg-core';
7
7
  import { faCoffee as faCoffee$2 } from '@fortawesome/pro-light-svg-icons/faCoffee';
@@ -107,7 +107,7 @@ import styled$1, { keyframes } from 'styled-components';
107
107
  import 'swiper/css';
108
108
  import { Swiper, SwiperSlide } from 'swiper/react';
109
109
  import { NavLink, Link as Link$1 } from 'react-router-dom';
110
- import 'react-image';
110
+ import { Img } from 'react-image';
111
111
 
112
112
  var statusToColors = {
113
113
  info: { fontColor: 'gray1', backgroundColor: 'lightGray7', fill: 'gray1' },
@@ -367,12 +367,12 @@ var Container$4 = styled.div(templateObject_1$v || (templateObject_1$v = __makeT
367
367
  return ($mounted ? 1 : 0);
368
368
  });
369
369
  var Header = styled.div(templateObject_2$n || (templateObject_2$n = __makeTemplateObject(["\n margin-bottom: 15px;\n color: typoPrimary;\n font-size: 18px;\n font-weight: bold;\n display: flex;\n align-items: center;\n"], ["\n margin-bottom: 15px;\n color: typoPrimary;\n font-size: 18px;\n font-weight: bold;\n display: flex;\n align-items: center;\n"])));
370
- var Wrapper$1 = styled.div(templateObject_3$k || (templateObject_3$k = __makeTemplateObject(["\n font-size: 14px;\n font-weight: 400;\n"], ["\n font-size: 14px;\n font-weight: 400;\n"])));
370
+ var Wrapper$4 = styled.div(templateObject_3$k || (templateObject_3$k = __makeTemplateObject(["\n font-size: 14px;\n font-weight: 400;\n"], ["\n font-size: 14px;\n font-weight: 400;\n"])));
371
371
  var Status = styled.div(templateObject_4$f || (templateObject_4$f = __makeTemplateObject(["\n position: absolute;\n left: 0;\n top: 0;\n padding: 6px 10px;\n text-transform: uppercase;\n border-radius: 12px 0 12px 0;\n background-color: ", ";\n"], ["\n position: absolute;\n left: 0;\n top: 0;\n padding: 6px 10px;\n text-transform: uppercase;\n border-radius: 12px 0 12px 0;\n background-color: ", ";\n"])), function (_a) {
372
372
  var background = _a.background;
373
373
  return th.color(background);
374
374
  });
375
- var CloseBtn = styled.div(templateObject_5$9 || (templateObject_5$9 = __makeTemplateObject(["\n cursor: pointer;\n position: absolute;\n top: 12px;\n right: 12px;\n"], ["\n cursor: pointer;\n position: absolute;\n top: 12px;\n right: 12px;\n"])));
375
+ var CloseBtn$1 = styled.div(templateObject_5$9 || (templateObject_5$9 = __makeTemplateObject(["\n cursor: pointer;\n position: absolute;\n top: 12px;\n right: 12px;\n"], ["\n cursor: pointer;\n position: absolute;\n top: 12px;\n right: 12px;\n"])));
376
376
  var StatusText = styled.span(templateObject_6$9 || (templateObject_6$9 = __makeTemplateObject(["\n display: inline-block;\n margin-left: 6px;\n font-size: 14px;\n font-weight: 700;\n color: ", ";\n"], ["\n display: inline-block;\n margin-left: 6px;\n font-size: 14px;\n font-weight: 700;\n color: ", ";\n"])), function (_a) {
377
377
  var fontColor = _a.fontColor;
378
378
  return th.color(fontColor);
@@ -389,10 +389,10 @@ var CornerDialog = function (_a) {
389
389
  var _d = statusToColors[intent], fontColor = _d.fontColor, backgroundColor = _d.backgroundColor, fill = _d.fill;
390
390
  if (!isOpen)
391
391
  return null;
392
- return (jsx(Portal, { children: jsxs(Container$4, { "$mounted": isMounted, children: [jsxs(Status, { background: backgroundColor, children: [jsx(Icon, { icon: statusToIcon[intent], fill: fill }), jsx(StatusText, { fontColor: fontColor, children: statusToTitle[intent]() })] }), jsx(Header, { children: title }), jsx(CloseBtn, { onClick: onClose, children: jsx(Icon, { icon: "close", size: "25px" }) }), jsx(Wrapper$1, { children: children })] }) }));
392
+ return (jsx(Portal, { children: jsxs(Container$4, { "$mounted": isMounted, children: [jsxs(Status, { background: backgroundColor, children: [jsx(Icon, { icon: statusToIcon[intent], fill: fill }), jsx(StatusText, { fontColor: fontColor, children: statusToTitle[intent]() })] }), jsx(Header, { children: title }), jsx(CloseBtn$1, { onClick: onClose, children: jsx(Icon, { icon: "close", size: "25px" }) }), jsx(Wrapper$4, { children: children })] }) }));
393
393
  };
394
394
 
395
- var StyledWrapper = styled.span(templateObject_1$u || (templateObject_1$u = __makeTemplateObject(["\n display: flex;\n justify-content: center;\n align-items: center;\n"], ["\n display: flex;\n justify-content: center;\n align-items: center;\n"])));
395
+ var StyledWrapper$1 = styled.span(templateObject_1$u || (templateObject_1$u = __makeTemplateObject(["\n display: flex;\n justify-content: center;\n align-items: center;\n"], ["\n display: flex;\n justify-content: center;\n align-items: center;\n"])));
396
396
  var LoadingIconWrapper = styled.div(templateObject_2$m || (templateObject_2$m = __makeTemplateObject(["\n & svg {\n margin-right: ", ";\n }\n"], ["\n & svg {\n margin-right: ", ";\n }\n"])), function (_a) {
397
397
  var $addMargin = _a.$addMargin;
398
398
  return ($addMargin ? '0.5em' : '0');
@@ -443,7 +443,7 @@ var Svg = styled.svg(templateObject_3$i || (templateObject_3$i = __makeTemplateO
443
443
  var $variant = _a.$variant;
444
444
  return ($variant === 'sm' ? '16' : '40');
445
445
  }, KeyframesCircularRotate);
446
- var Circle = styled.circle(templateObject_4$d || (templateObject_4$d = __makeTemplateObject(["\n animation: ", " 1.4s ease-in-out infinite;\n stroke-dasharray: 80px, 200px;\n stroke-dashoffset: 0px;\n stroke: ", ";\n"], ["\n animation: ", " 1.4s ease-in-out infinite;\n stroke-dasharray: 80px, 200px;\n stroke-dashoffset: 0px;\n stroke: ", ";\n"])), KeyframesCircularDash, function (_a) {
446
+ var Circle$1 = styled.circle(templateObject_4$d || (templateObject_4$d = __makeTemplateObject(["\n animation: ", " 1.4s ease-in-out infinite;\n stroke-dasharray: 80px, 200px;\n stroke-dashoffset: 0px;\n stroke: ", ";\n"], ["\n animation: ", " 1.4s ease-in-out infinite;\n stroke-dasharray: 80px, 200px;\n stroke-dashoffset: 0px;\n stroke: ", ";\n"])), KeyframesCircularDash, function (_a) {
447
447
  var color = _a.color;
448
448
  return (color ? th.color(color) : th.color('blue2'));
449
449
  });
@@ -462,12 +462,12 @@ var appearanceToFontColorMap = {
462
462
  var Spinner = function (_a) {
463
463
  var _b = _a.variant, variant = _b === void 0 ? 'default' : _b, appearance = _a.appearance;
464
464
  var color = appearance ? appearanceToFontColorMap[appearance] : 'blue2';
465
- return (jsx(Svg, { viewBox: "22 22 44 44", "$variant": variant, children: jsx(Circle, { cx: "44", cy: "44", r: "20.2", fill: "none", strokeWidth: "3.6", color: color }) }));
465
+ return (jsx(Svg, { viewBox: "22 22 44 44", "$variant": variant, children: jsx(Circle$1, { cx: "44", cy: "44", r: "20.2", fill: "none", strokeWidth: "3.6", color: color }) }));
466
466
  };
467
467
 
468
468
  var Button = function (_a) {
469
469
  var isLoading = _a.isLoading, loadingText = _a.loadingText, icon = _a.icon, _b = _a.appearance, appearance = _b === void 0 ? 'primary' : _b, _c = _a.disabled, disabled = _c === void 0 ? false : _c, _d = _a.sizing, sizing = _d === void 0 ? 'normal' : _d, buttonRef = _a.buttonRef, onClick = _a.onClick, _e = _a.fullWidth, fullWidth = _e === void 0 ? false : _e, props = __rest(_a, ["isLoading", "loadingText", "icon", "appearance", "disabled", "sizing", "buttonRef", "onClick", "fullWidth"]);
470
- return (jsx(StyledButton, __assign({}, props, { onClick: !disabled && !isLoading ? onClick : undefined, "data-appearance": appearance, "data-sizing": sizing, disabled: disabled, ref: buttonRef, fullWidth: fullWidth, children: jsxs(StyledWrapper, { children: [icon && (typeof icon === 'string' ? jsx(StyledIcon, { "$addMargin": !!props.children, icon: icon }) : icon), isLoading ? (jsxs(Fragment, { children: [jsx(LoadingIconWrapper, { "$addMargin": !!loadingText || !!props.children, children: jsx(Spinner, { variant: "sm" }) }), loadingText || loadingText === '' ? loadingText : 'Loading'] })) : (props.children)] }) })));
470
+ return (jsx(StyledButton, __assign({}, props, { onClick: !disabled && !isLoading ? onClick : undefined, "data-appearance": appearance, "data-sizing": sizing, disabled: disabled, ref: buttonRef, fullWidth: fullWidth, children: jsxs(StyledWrapper$1, { children: [icon && (typeof icon === 'string' ? jsx(StyledIcon, { "$addMargin": !!props.children, icon: icon }) : icon), isLoading ? (jsxs(Fragment, { children: [jsx(LoadingIconWrapper, { "$addMargin": !!loadingText || !!props.children, children: jsx(Spinner, { variant: "sm" }) }), loadingText || loadingText === '' ? loadingText : 'Loading'] })) : (props.children)] }) })));
471
471
  };
472
472
 
473
473
  var defaultTheme$1 = {
@@ -840,6 +840,11 @@ var themes = {
840
840
  mailwise: defaultTheme
841
841
  };
842
842
 
843
+ var MailstepThemeProvider = function (_a) {
844
+ var children = _a.children, _b = _a.theme, theme = _b === void 0 ? 'default' : _b, _c = _a.preflight, preflight = _c === void 0 ? true : _c;
845
+ return (jsxs(ThemeProvider, { theme: themes[theme], children: [preflight && jsx(Preflight, {}), children] }));
846
+ };
847
+
843
848
  var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};
844
849
 
845
850
  function getDefaultExportFromCjs (x) {
@@ -1838,27 +1843,27 @@ var _root = root$c;
1838
1843
  var root$b = _root;
1839
1844
 
1840
1845
  /** Built-in value references. */
1841
- var Symbol$6 = root$b.Symbol;
1846
+ var Symbol$7 = root$b.Symbol;
1842
1847
 
1843
- var _Symbol = Symbol$6;
1848
+ var _Symbol = Symbol$7;
1844
1849
 
1845
- var Symbol$5 = _Symbol;
1850
+ var Symbol$6 = _Symbol;
1846
1851
 
1847
1852
  /** Used for built-in method references. */
1848
- var objectProto$h = Object.prototype;
1853
+ var objectProto$f = Object.prototype;
1849
1854
 
1850
1855
  /** Used to check objects for own properties. */
1851
- var hasOwnProperty$e = objectProto$h.hasOwnProperty;
1856
+ var hasOwnProperty$c = objectProto$f.hasOwnProperty;
1852
1857
 
1853
1858
  /**
1854
1859
  * Used to resolve the
1855
1860
  * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)
1856
1861
  * of values.
1857
1862
  */
1858
- var nativeObjectToString$1 = objectProto$h.toString;
1863
+ var nativeObjectToString$1 = objectProto$f.toString;
1859
1864
 
1860
1865
  /** Built-in value references. */
1861
- var symToStringTag$1 = Symbol$5 ? Symbol$5.toStringTag : undefined;
1866
+ var symToStringTag$1 = Symbol$6 ? Symbol$6.toStringTag : undefined;
1862
1867
 
1863
1868
  /**
1864
1869
  * A specialized version of `baseGetTag` which ignores `Symbol.toStringTag` values.
@@ -1868,7 +1873,7 @@ var symToStringTag$1 = Symbol$5 ? Symbol$5.toStringTag : undefined;
1868
1873
  * @returns {string} Returns the raw `toStringTag`.
1869
1874
  */
1870
1875
  function getRawTag$1(value) {
1871
- var isOwn = hasOwnProperty$e.call(value, symToStringTag$1),
1876
+ var isOwn = hasOwnProperty$c.call(value, symToStringTag$1),
1872
1877
  tag = value[symToStringTag$1];
1873
1878
 
1874
1879
  try {
@@ -1891,14 +1896,14 @@ var _getRawTag = getRawTag$1;
1891
1896
 
1892
1897
  /** Used for built-in method references. */
1893
1898
 
1894
- var objectProto$g = Object.prototype;
1899
+ var objectProto$e = Object.prototype;
1895
1900
 
1896
1901
  /**
1897
1902
  * Used to resolve the
1898
1903
  * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)
1899
1904
  * of values.
1900
1905
  */
1901
- var nativeObjectToString = objectProto$g.toString;
1906
+ var nativeObjectToString = objectProto$e.toString;
1902
1907
 
1903
1908
  /**
1904
1909
  * Converts `value` to a string using `Object.prototype.toString`.
@@ -1913,7 +1918,7 @@ function objectToString$1(value) {
1913
1918
 
1914
1919
  var _objectToString = objectToString$1;
1915
1920
 
1916
- var Symbol$4 = _Symbol,
1921
+ var Symbol$5 = _Symbol,
1917
1922
  getRawTag = _getRawTag,
1918
1923
  objectToString = _objectToString;
1919
1924
 
@@ -1922,7 +1927,7 @@ var nullTag = '[object Null]',
1922
1927
  undefinedTag = '[object Undefined]';
1923
1928
 
1924
1929
  /** Built-in value references. */
1925
- var symToStringTag = Symbol$4 ? Symbol$4.toStringTag : undefined;
1930
+ var symToStringTag = Symbol$5 ? Symbol$5.toStringTag : undefined;
1926
1931
 
1927
1932
  /**
1928
1933
  * The base implementation of `getTag` without fallbacks for buggy environments.
@@ -1931,7 +1936,7 @@ var symToStringTag = Symbol$4 ? Symbol$4.toStringTag : undefined;
1931
1936
  * @param {*} value The value to query.
1932
1937
  * @returns {string} Returns the `toStringTag`.
1933
1938
  */
1934
- function baseGetTag$6(value) {
1939
+ function baseGetTag$7(value) {
1935
1940
  if (value == null) {
1936
1941
  return value === undefined ? undefinedTag : nullTag;
1937
1942
  }
@@ -1940,7 +1945,7 @@ function baseGetTag$6(value) {
1940
1945
  : objectToString(value);
1941
1946
  }
1942
1947
 
1943
- var _baseGetTag = baseGetTag$6;
1948
+ var _baseGetTag = baseGetTag$7;
1944
1949
 
1945
1950
  /**
1946
1951
  * Checks if `value` is the
@@ -1975,7 +1980,7 @@ function isObject$8(value) {
1975
1980
 
1976
1981
  var isObject_1 = isObject$8;
1977
1982
 
1978
- var baseGetTag$5 = _baseGetTag,
1983
+ var baseGetTag$6 = _baseGetTag,
1979
1984
  isObject$7 = isObject_1;
1980
1985
 
1981
1986
  /** `Object#toString` result references. */
@@ -2007,7 +2012,7 @@ function isFunction$2(value) {
2007
2012
  }
2008
2013
  // The use of `Object#toString` avoids issues with the `typeof` operator
2009
2014
  // in Safari 9 which returns 'object' for typed arrays and other constructors.
2010
- var tag = baseGetTag$5(value);
2015
+ var tag = baseGetTag$6(value);
2011
2016
  return tag == funcTag$2 || tag == genTag$1 || tag == asyncTag || tag == proxyTag;
2012
2017
  }
2013
2018
 
@@ -2085,17 +2090,17 @@ var reIsHostCtor = /^\[object .+?Constructor\]$/;
2085
2090
 
2086
2091
  /** Used for built-in method references. */
2087
2092
  var funcProto$1 = Function.prototype,
2088
- objectProto$f = Object.prototype;
2093
+ objectProto$d = Object.prototype;
2089
2094
 
2090
2095
  /** Used to resolve the decompiled source of functions. */
2091
2096
  var funcToString$1 = funcProto$1.toString;
2092
2097
 
2093
2098
  /** Used to check objects for own properties. */
2094
- var hasOwnProperty$d = objectProto$f.hasOwnProperty;
2099
+ var hasOwnProperty$b = objectProto$d.hasOwnProperty;
2095
2100
 
2096
2101
  /** Used to detect if a method is native. */
2097
2102
  var reIsNative = RegExp('^' +
2098
- funcToString$1.call(hasOwnProperty$d).replace(reRegExpChar, '\\$&')
2103
+ funcToString$1.call(hasOwnProperty$b).replace(reRegExpChar, '\\$&')
2099
2104
  .replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, '$1.*?') + '$'
2100
2105
  );
2101
2106
 
@@ -2143,18 +2148,18 @@ var baseIsNative = _baseIsNative,
2143
2148
  * @param {string} key The key of the method to get.
2144
2149
  * @returns {*} Returns the function if it's native, else `undefined`.
2145
2150
  */
2146
- function getNative$7(object, key) {
2151
+ function getNative$6(object, key) {
2147
2152
  var value = getValue(object, key);
2148
2153
  return baseIsNative(value) ? value : undefined;
2149
2154
  }
2150
2155
 
2151
- var _getNative = getNative$7;
2156
+ var _getNative = getNative$6;
2152
2157
 
2153
- var getNative$6 = _getNative,
2158
+ var getNative$5 = _getNative,
2154
2159
  root$9 = _root;
2155
2160
 
2156
2161
  /* Built-in method references that are verified to be native. */
2157
- var WeakMap$2 = getNative$6(root$9, 'WeakMap');
2162
+ var WeakMap$2 = getNative$5(root$9, 'WeakMap');
2158
2163
 
2159
2164
  var _WeakMap = WeakMap$2;
2160
2165
 
@@ -2496,10 +2501,10 @@ var _realNames = realNames$1;
2496
2501
  var realNames = _realNames;
2497
2502
 
2498
2503
  /** Used for built-in method references. */
2499
- var objectProto$e = Object.prototype;
2504
+ var objectProto$c = Object.prototype;
2500
2505
 
2501
2506
  /** Used to check objects for own properties. */
2502
- var hasOwnProperty$c = objectProto$e.hasOwnProperty;
2507
+ var hasOwnProperty$a = objectProto$c.hasOwnProperty;
2503
2508
 
2504
2509
  /**
2505
2510
  * Gets the name of `func`.
@@ -2511,7 +2516,7 @@ var hasOwnProperty$c = objectProto$e.hasOwnProperty;
2511
2516
  function getFuncName$1(func) {
2512
2517
  var result = (func.name + ''),
2513
2518
  array = realNames[result],
2514
- length = hasOwnProperty$c.call(realNames, result) ? array.length : 0;
2519
+ length = hasOwnProperty$a.call(realNames, result) ? array.length : 0;
2515
2520
 
2516
2521
  while (length--) {
2517
2522
  var data = array[length],
@@ -2572,9 +2577,9 @@ var _LodashWrapper = LodashWrapper$2;
2572
2577
  * // => false
2573
2578
  */
2574
2579
 
2575
- var isArray$9 = Array.isArray;
2580
+ var isArray$a = Array.isArray;
2576
2581
 
2577
- var isArray_1 = isArray$9;
2582
+ var isArray_1 = isArray$a;
2578
2583
 
2579
2584
  /**
2580
2585
  * Checks if `value` is object-like. A value is object-like if it's not `null`
@@ -2601,11 +2606,11 @@ var isArray_1 = isArray$9;
2601
2606
  * // => false
2602
2607
  */
2603
2608
 
2604
- function isObjectLike$a(value) {
2609
+ function isObjectLike$b(value) {
2605
2610
  return value != null && typeof value == 'object';
2606
2611
  }
2607
2612
 
2608
- var isObjectLike_1 = isObjectLike$a;
2613
+ var isObjectLike_1 = isObjectLike$b;
2609
2614
 
2610
2615
  /**
2611
2616
  * Copies the values of `source` to `array`.
@@ -2656,15 +2661,15 @@ var _wrapperClone = wrapperClone$1;
2656
2661
  var LazyWrapper$1 = _LazyWrapper,
2657
2662
  LodashWrapper = _LodashWrapper,
2658
2663
  baseLodash = _baseLodash,
2659
- isArray$8 = isArray_1,
2660
- isObjectLike$9 = isObjectLike_1,
2664
+ isArray$9 = isArray_1,
2665
+ isObjectLike$a = isObjectLike_1,
2661
2666
  wrapperClone = _wrapperClone;
2662
2667
 
2663
2668
  /** Used for built-in method references. */
2664
- var objectProto$d = Object.prototype;
2669
+ var objectProto$b = Object.prototype;
2665
2670
 
2666
2671
  /** Used to check objects for own properties. */
2667
- var hasOwnProperty$b = objectProto$d.hasOwnProperty;
2672
+ var hasOwnProperty$9 = objectProto$b.hasOwnProperty;
2668
2673
 
2669
2674
  /**
2670
2675
  * Creates a `lodash` object which wraps `value` to enable implicit method
@@ -2784,11 +2789,11 @@ var hasOwnProperty$b = objectProto$d.hasOwnProperty;
2784
2789
  * // => true
2785
2790
  */
2786
2791
  function lodash$1(value) {
2787
- if (isObjectLike$9(value) && !isArray$8(value) && !(value instanceof LazyWrapper$1)) {
2792
+ if (isObjectLike$a(value) && !isArray$9(value) && !(value instanceof LazyWrapper$1)) {
2788
2793
  if (value instanceof LodashWrapper) {
2789
2794
  return value;
2790
2795
  }
2791
- if (hasOwnProperty$b.call(value, '__wrapped__')) {
2796
+ if (hasOwnProperty$9.call(value, '__wrapped__')) {
2792
2797
  return wrapperClone(value);
2793
2798
  }
2794
2799
  }
@@ -2962,11 +2967,11 @@ function constant$1(value) {
2962
2967
 
2963
2968
  var constant_1 = constant$1;
2964
2969
 
2965
- var getNative$5 = _getNative;
2970
+ var getNative$4 = _getNative;
2966
2971
 
2967
2972
  var defineProperty$2 = (function() {
2968
2973
  try {
2969
- var func = getNative$5(Object, 'defineProperty');
2974
+ var func = getNative$4(Object, 'defineProperty');
2970
2975
  func({}, '', {});
2971
2976
  return func;
2972
2977
  } catch (e) {}
@@ -3685,47 +3690,39 @@ function baseTrim$1(string) {
3685
3690
 
3686
3691
  var _baseTrim = baseTrim$1;
3687
3692
 
3688
- var isSymbol_1;
3689
- var hasRequiredIsSymbol;
3690
-
3691
- function requireIsSymbol () {
3692
- if (hasRequiredIsSymbol) return isSymbol_1;
3693
- hasRequiredIsSymbol = 1;
3694
- var baseGetTag = _baseGetTag,
3695
- isObjectLike = isObjectLike_1;
3696
-
3697
- /** `Object#toString` result references. */
3698
- var symbolTag = '[object Symbol]';
3693
+ var baseGetTag$5 = _baseGetTag,
3694
+ isObjectLike$9 = isObjectLike_1;
3699
3695
 
3700
- /**
3701
- * Checks if `value` is classified as a `Symbol` primitive or object.
3702
- *
3703
- * @static
3704
- * @memberOf _
3705
- * @since 4.0.0
3706
- * @category Lang
3707
- * @param {*} value The value to check.
3708
- * @returns {boolean} Returns `true` if `value` is a symbol, else `false`.
3709
- * @example
3710
- *
3711
- * _.isSymbol(Symbol.iterator);
3712
- * // => true
3713
- *
3714
- * _.isSymbol('abc');
3715
- * // => false
3716
- */
3717
- function isSymbol(value) {
3718
- return typeof value == 'symbol' ||
3719
- (isObjectLike(value) && baseGetTag(value) == symbolTag);
3720
- }
3696
+ /** `Object#toString` result references. */
3697
+ var symbolTag$3 = '[object Symbol]';
3721
3698
 
3722
- isSymbol_1 = isSymbol;
3723
- return isSymbol_1;
3699
+ /**
3700
+ * Checks if `value` is classified as a `Symbol` primitive or object.
3701
+ *
3702
+ * @static
3703
+ * @memberOf _
3704
+ * @since 4.0.0
3705
+ * @category Lang
3706
+ * @param {*} value The value to check.
3707
+ * @returns {boolean} Returns `true` if `value` is a symbol, else `false`.
3708
+ * @example
3709
+ *
3710
+ * _.isSymbol(Symbol.iterator);
3711
+ * // => true
3712
+ *
3713
+ * _.isSymbol('abc');
3714
+ * // => false
3715
+ */
3716
+ function isSymbol$3(value) {
3717
+ return typeof value == 'symbol' ||
3718
+ (isObjectLike$9(value) && baseGetTag$5(value) == symbolTag$3);
3724
3719
  }
3725
3720
 
3721
+ var isSymbol_1 = isSymbol$3;
3722
+
3726
3723
  var baseTrim = _baseTrim,
3727
3724
  isObject$3 = isObject_1,
3728
- isSymbol$1 = requireIsSymbol();
3725
+ isSymbol$2 = isSymbol_1;
3729
3726
 
3730
3727
  /** Used as references for various `Number` constants. */
3731
3728
  var NAN = 0 / 0;
@@ -3769,7 +3766,7 @@ function toNumber$1(value) {
3769
3766
  if (typeof value == 'number') {
3770
3767
  return value;
3771
3768
  }
3772
- if (isSymbol$1(value)) {
3769
+ if (isSymbol$2(value)) {
3773
3770
  return NAN;
3774
3771
  }
3775
3772
  if (isObject$3(value)) {
@@ -3791,7 +3788,7 @@ var toNumber_1 = toNumber$1;
3791
3788
  var toNumber = toNumber_1;
3792
3789
 
3793
3790
  /** Used as references for various `Number` constants. */
3794
- var INFINITY = 1 / 0,
3791
+ var INFINITY$1 = 1 / 0,
3795
3792
  MAX_INTEGER = 1.7976931348623157e+308;
3796
3793
 
3797
3794
  /**
@@ -3822,7 +3819,7 @@ function toFinite$1(value) {
3822
3819
  return value === 0 ? value : 0;
3823
3820
  }
3824
3821
  value = toNumber(value);
3825
- if (value === INFINITY || value === -INFINITY) {
3822
+ if (value === INFINITY$1 || value === -INFINITY$1) {
3826
3823
  var sign = (value < 0 ? -1 : 1);
3827
3824
  return sign * MAX_INTEGER;
3828
3825
  }
@@ -4074,10 +4071,10 @@ var baseAssignValue$1 = _baseAssignValue,
4074
4071
  eq$2 = eq_1;
4075
4072
 
4076
4073
  /** Used for built-in method references. */
4077
- var objectProto$c = Object.prototype;
4074
+ var objectProto$a = Object.prototype;
4078
4075
 
4079
4076
  /** Used to check objects for own properties. */
4080
- var hasOwnProperty$a = objectProto$c.hasOwnProperty;
4077
+ var hasOwnProperty$8 = objectProto$a.hasOwnProperty;
4081
4078
 
4082
4079
  /**
4083
4080
  * Assigns `value` to `key` of `object` if the existing value is not equivalent
@@ -4091,7 +4088,7 @@ var hasOwnProperty$a = objectProto$c.hasOwnProperty;
4091
4088
  */
4092
4089
  function assignValue$2(object, key, value) {
4093
4090
  var objValue = object[key];
4094
- if (!(hasOwnProperty$a.call(object, key) && eq$2(objValue, value)) ||
4091
+ if (!(hasOwnProperty$8.call(object, key) && eq$2(objValue, value)) ||
4095
4092
  (value === undefined && !(key in object))) {
4096
4093
  baseAssignValue$1(object, key, value);
4097
4094
  }
@@ -4185,13 +4182,13 @@ var baseIsArguments = _baseIsArguments,
4185
4182
  isObjectLike$7 = isObjectLike_1;
4186
4183
 
4187
4184
  /** Used for built-in method references. */
4188
- var objectProto$b = Object.prototype;
4185
+ var objectProto$9 = Object.prototype;
4189
4186
 
4190
4187
  /** Used to check objects for own properties. */
4191
- var hasOwnProperty$9 = objectProto$b.hasOwnProperty;
4188
+ var hasOwnProperty$7 = objectProto$9.hasOwnProperty;
4192
4189
 
4193
4190
  /** Built-in value references. */
4194
- var propertyIsEnumerable$1 = objectProto$b.propertyIsEnumerable;
4191
+ var propertyIsEnumerable$1 = objectProto$9.propertyIsEnumerable;
4195
4192
 
4196
4193
  /**
4197
4194
  * Checks if `value` is likely an `arguments` object.
@@ -4212,7 +4209,7 @@ var propertyIsEnumerable$1 = objectProto$b.propertyIsEnumerable;
4212
4209
  * // => false
4213
4210
  */
4214
4211
  var isArguments$3 = baseIsArguments(function() { return arguments; }()) ? baseIsArguments : function(value) {
4215
- return isObjectLike$7(value) && hasOwnProperty$9.call(value, 'callee') &&
4212
+ return isObjectLike$7(value) && hasOwnProperty$7.call(value, 'callee') &&
4216
4213
  !propertyIsEnumerable$1.call(value, 'callee');
4217
4214
  };
4218
4215
 
@@ -4468,16 +4465,16 @@ var isTypedArray_1 = isTypedArray$2;
4468
4465
 
4469
4466
  var baseTimes = _baseTimes,
4470
4467
  isArguments$2 = isArguments_1,
4471
- isArray$7 = isArray_1,
4468
+ isArray$8 = isArray_1,
4472
4469
  isBuffer$2 = isBufferExports,
4473
4470
  isIndex$1 = _isIndex,
4474
4471
  isTypedArray$1 = isTypedArray_1;
4475
4472
 
4476
4473
  /** Used for built-in method references. */
4477
- var objectProto$a = Object.prototype;
4474
+ var objectProto$8 = Object.prototype;
4478
4475
 
4479
4476
  /** Used to check objects for own properties. */
4480
- var hasOwnProperty$8 = objectProto$a.hasOwnProperty;
4477
+ var hasOwnProperty$6 = objectProto$8.hasOwnProperty;
4481
4478
 
4482
4479
  /**
4483
4480
  * Creates an array of the enumerable property names of the array-like `value`.
@@ -4488,7 +4485,7 @@ var hasOwnProperty$8 = objectProto$a.hasOwnProperty;
4488
4485
  * @returns {Array} Returns the array of property names.
4489
4486
  */
4490
4487
  function arrayLikeKeys$2(value, inherited) {
4491
- var isArr = isArray$7(value),
4488
+ var isArr = isArray$8(value),
4492
4489
  isArg = !isArr && isArguments$2(value),
4493
4490
  isBuff = !isArr && !isArg && isBuffer$2(value),
4494
4491
  isType = !isArr && !isArg && !isBuff && isTypedArray$1(value),
@@ -4497,7 +4494,7 @@ function arrayLikeKeys$2(value, inherited) {
4497
4494
  length = result.length;
4498
4495
 
4499
4496
  for (var key in value) {
4500
- if ((inherited || hasOwnProperty$8.call(value, key)) &&
4497
+ if ((inherited || hasOwnProperty$6.call(value, key)) &&
4501
4498
  !(skipIndexes && (
4502
4499
  // Safari 9 has enumerable `arguments.length` in strict mode.
4503
4500
  key == 'length' ||
@@ -4518,7 +4515,7 @@ var _arrayLikeKeys = arrayLikeKeys$2;
4518
4515
 
4519
4516
  /** Used for built-in method references. */
4520
4517
 
4521
- var objectProto$9 = Object.prototype;
4518
+ var objectProto$7 = Object.prototype;
4522
4519
 
4523
4520
  /**
4524
4521
  * Checks if `value` is likely a prototype object.
@@ -4529,7 +4526,7 @@ var objectProto$9 = Object.prototype;
4529
4526
  */
4530
4527
  function isPrototype$3(value) {
4531
4528
  var Ctor = value && value.constructor,
4532
- proto = (typeof Ctor == 'function' && Ctor.prototype) || objectProto$9;
4529
+ proto = (typeof Ctor == 'function' && Ctor.prototype) || objectProto$7;
4533
4530
 
4534
4531
  return value === proto;
4535
4532
  }
@@ -4564,10 +4561,10 @@ var isPrototype$2 = _isPrototype,
4564
4561
  nativeKeys = _nativeKeys;
4565
4562
 
4566
4563
  /** Used for built-in method references. */
4567
- var objectProto$8 = Object.prototype;
4564
+ var objectProto$6 = Object.prototype;
4568
4565
 
4569
4566
  /** Used to check objects for own properties. */
4570
- var hasOwnProperty$7 = objectProto$8.hasOwnProperty;
4567
+ var hasOwnProperty$5 = objectProto$6.hasOwnProperty;
4571
4568
 
4572
4569
  /**
4573
4570
  * The base implementation of `_.keys` which doesn't treat sparse arrays as dense.
@@ -4582,7 +4579,7 @@ function baseKeys$1(object) {
4582
4579
  }
4583
4580
  var result = [];
4584
4581
  for (var key in Object(object)) {
4585
- if (hasOwnProperty$7.call(object, key) && key != 'constructor') {
4582
+ if (hasOwnProperty$5.call(object, key) && key != 'constructor') {
4586
4583
  result.push(key);
4587
4584
  }
4588
4585
  }
@@ -4831,7 +4828,7 @@ var listCacheClear = _listCacheClear,
4831
4828
  * @constructor
4832
4829
  * @param {Array} [entries] The key-value pairs to cache.
4833
4830
  */
4834
- function ListCache$4(entries) {
4831
+ function ListCache$3(entries) {
4835
4832
  var index = -1,
4836
4833
  length = entries == null ? 0 : entries.length;
4837
4834
 
@@ -4843,15 +4840,15 @@ function ListCache$4(entries) {
4843
4840
  }
4844
4841
 
4845
4842
  // Add methods to `ListCache`.
4846
- ListCache$4.prototype.clear = listCacheClear;
4847
- ListCache$4.prototype['delete'] = listCacheDelete;
4848
- ListCache$4.prototype.get = listCacheGet;
4849
- ListCache$4.prototype.has = listCacheHas;
4850
- ListCache$4.prototype.set = listCacheSet;
4843
+ ListCache$3.prototype.clear = listCacheClear;
4844
+ ListCache$3.prototype['delete'] = listCacheDelete;
4845
+ ListCache$3.prototype.get = listCacheGet;
4846
+ ListCache$3.prototype.has = listCacheHas;
4847
+ ListCache$3.prototype.set = listCacheSet;
4851
4848
 
4852
- var _ListCache = ListCache$4;
4849
+ var _ListCache = ListCache$3;
4853
4850
 
4854
- var ListCache$3 = _ListCache;
4851
+ var ListCache$2 = _ListCache;
4855
4852
 
4856
4853
  /**
4857
4854
  * Removes all key-value entries from the stack.
@@ -4861,7 +4858,7 @@ var ListCache$3 = _ListCache;
4861
4858
  * @memberOf Stack
4862
4859
  */
4863
4860
  function stackClear$1() {
4864
- this.__data__ = new ListCache$3;
4861
+ this.__data__ = new ListCache$2;
4865
4862
  this.size = 0;
4866
4863
  }
4867
4864
 
@@ -4919,36 +4916,52 @@ function stackHas$1(key) {
4919
4916
 
4920
4917
  var _stackHas = stackHas$1;
4921
4918
 
4922
- var getNative$4 = _getNative,
4919
+ var getNative$3 = _getNative,
4923
4920
  root$4 = _root;
4924
4921
 
4925
4922
  /* Built-in method references that are verified to be native. */
4926
- var Map$3 = getNative$4(root$4, 'Map');
4923
+ var Map$2 = getNative$3(root$4, 'Map');
4927
4924
 
4928
- var _Map = Map$3;
4925
+ var _Map = Map$2;
4929
4926
 
4930
- var getNative$3 = _getNative;
4927
+ var _nativeCreate;
4928
+ var hasRequired_nativeCreate;
4931
4929
 
4932
- /* Built-in method references that are verified to be native. */
4933
- var nativeCreate$4 = getNative$3(Object, 'create');
4934
-
4935
- var _nativeCreate = nativeCreate$4;
4930
+ function require_nativeCreate () {
4931
+ if (hasRequired_nativeCreate) return _nativeCreate;
4932
+ hasRequired_nativeCreate = 1;
4933
+ var getNative = _getNative;
4936
4934
 
4937
- var nativeCreate$3 = _nativeCreate;
4935
+ /* Built-in method references that are verified to be native. */
4936
+ var nativeCreate = getNative(Object, 'create');
4938
4937
 
4939
- /**
4940
- * Removes all key-value entries from the hash.
4941
- *
4942
- * @private
4943
- * @name clear
4944
- * @memberOf Hash
4945
- */
4946
- function hashClear$1() {
4947
- this.__data__ = nativeCreate$3 ? nativeCreate$3(null) : {};
4948
- this.size = 0;
4938
+ _nativeCreate = nativeCreate;
4939
+ return _nativeCreate;
4949
4940
  }
4950
4941
 
4951
- var _hashClear = hashClear$1;
4942
+ var _hashClear;
4943
+ var hasRequired_hashClear;
4944
+
4945
+ function require_hashClear () {
4946
+ if (hasRequired_hashClear) return _hashClear;
4947
+ hasRequired_hashClear = 1;
4948
+ var nativeCreate = require_nativeCreate();
4949
+
4950
+ /**
4951
+ * Removes all key-value entries from the hash.
4952
+ *
4953
+ * @private
4954
+ * @name clear
4955
+ * @memberOf Hash
4956
+ */
4957
+ function hashClear() {
4958
+ this.__data__ = nativeCreate ? nativeCreate(null) : {};
4959
+ this.size = 0;
4960
+ }
4961
+
4962
+ _hashClear = hashClear;
4963
+ return _hashClear;
4964
+ }
4952
4965
 
4953
4966
  /**
4954
4967
  * Removes `key` and its value from the hash.
@@ -4961,148 +4974,196 @@ var _hashClear = hashClear$1;
4961
4974
  * @returns {boolean} Returns `true` if the entry was removed, else `false`.
4962
4975
  */
4963
4976
 
4964
- function hashDelete$1(key) {
4965
- var result = this.has(key) && delete this.__data__[key];
4966
- this.size -= result ? 1 : 0;
4967
- return result;
4977
+ var _hashDelete;
4978
+ var hasRequired_hashDelete;
4979
+
4980
+ function require_hashDelete () {
4981
+ if (hasRequired_hashDelete) return _hashDelete;
4982
+ hasRequired_hashDelete = 1;
4983
+ function hashDelete(key) {
4984
+ var result = this.has(key) && delete this.__data__[key];
4985
+ this.size -= result ? 1 : 0;
4986
+ return result;
4987
+ }
4988
+
4989
+ _hashDelete = hashDelete;
4990
+ return _hashDelete;
4968
4991
  }
4969
4992
 
4970
- var _hashDelete = hashDelete$1;
4993
+ var _hashGet;
4994
+ var hasRequired_hashGet;
4971
4995
 
4972
- var nativeCreate$2 = _nativeCreate;
4996
+ function require_hashGet () {
4997
+ if (hasRequired_hashGet) return _hashGet;
4998
+ hasRequired_hashGet = 1;
4999
+ var nativeCreate = require_nativeCreate();
4973
5000
 
4974
- /** Used to stand-in for `undefined` hash values. */
4975
- var HASH_UNDEFINED$2 = '__lodash_hash_undefined__';
5001
+ /** Used to stand-in for `undefined` hash values. */
5002
+ var HASH_UNDEFINED = '__lodash_hash_undefined__';
4976
5003
 
4977
- /** Used for built-in method references. */
4978
- var objectProto$7 = Object.prototype;
5004
+ /** Used for built-in method references. */
5005
+ var objectProto = Object.prototype;
4979
5006
 
4980
- /** Used to check objects for own properties. */
4981
- var hasOwnProperty$6 = objectProto$7.hasOwnProperty;
5007
+ /** Used to check objects for own properties. */
5008
+ var hasOwnProperty = objectProto.hasOwnProperty;
4982
5009
 
4983
- /**
4984
- * Gets the hash value for `key`.
4985
- *
4986
- * @private
4987
- * @name get
4988
- * @memberOf Hash
4989
- * @param {string} key The key of the value to get.
4990
- * @returns {*} Returns the entry value.
4991
- */
4992
- function hashGet$1(key) {
4993
- var data = this.__data__;
4994
- if (nativeCreate$2) {
4995
- var result = data[key];
4996
- return result === HASH_UNDEFINED$2 ? undefined : result;
4997
- }
4998
- return hasOwnProperty$6.call(data, key) ? data[key] : undefined;
5010
+ /**
5011
+ * Gets the hash value for `key`.
5012
+ *
5013
+ * @private
5014
+ * @name get
5015
+ * @memberOf Hash
5016
+ * @param {string} key The key of the value to get.
5017
+ * @returns {*} Returns the entry value.
5018
+ */
5019
+ function hashGet(key) {
5020
+ var data = this.__data__;
5021
+ if (nativeCreate) {
5022
+ var result = data[key];
5023
+ return result === HASH_UNDEFINED ? undefined : result;
5024
+ }
5025
+ return hasOwnProperty.call(data, key) ? data[key] : undefined;
5026
+ }
5027
+
5028
+ _hashGet = hashGet;
5029
+ return _hashGet;
4999
5030
  }
5000
5031
 
5001
- var _hashGet = hashGet$1;
5032
+ var _hashHas;
5033
+ var hasRequired_hashHas;
5002
5034
 
5003
- var nativeCreate$1 = _nativeCreate;
5035
+ function require_hashHas () {
5036
+ if (hasRequired_hashHas) return _hashHas;
5037
+ hasRequired_hashHas = 1;
5038
+ var nativeCreate = require_nativeCreate();
5004
5039
 
5005
- /** Used for built-in method references. */
5006
- var objectProto$6 = Object.prototype;
5040
+ /** Used for built-in method references. */
5041
+ var objectProto = Object.prototype;
5007
5042
 
5008
- /** Used to check objects for own properties. */
5009
- var hasOwnProperty$5 = objectProto$6.hasOwnProperty;
5043
+ /** Used to check objects for own properties. */
5044
+ var hasOwnProperty = objectProto.hasOwnProperty;
5010
5045
 
5011
- /**
5012
- * Checks if a hash value for `key` exists.
5013
- *
5014
- * @private
5015
- * @name has
5016
- * @memberOf Hash
5017
- * @param {string} key The key of the entry to check.
5018
- * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.
5019
- */
5020
- function hashHas$1(key) {
5021
- var data = this.__data__;
5022
- return nativeCreate$1 ? (data[key] !== undefined) : hasOwnProperty$5.call(data, key);
5046
+ /**
5047
+ * Checks if a hash value for `key` exists.
5048
+ *
5049
+ * @private
5050
+ * @name has
5051
+ * @memberOf Hash
5052
+ * @param {string} key The key of the entry to check.
5053
+ * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.
5054
+ */
5055
+ function hashHas(key) {
5056
+ var data = this.__data__;
5057
+ return nativeCreate ? (data[key] !== undefined) : hasOwnProperty.call(data, key);
5058
+ }
5059
+
5060
+ _hashHas = hashHas;
5061
+ return _hashHas;
5023
5062
  }
5024
5063
 
5025
- var _hashHas = hashHas$1;
5064
+ var _hashSet;
5065
+ var hasRequired_hashSet;
5026
5066
 
5027
- var nativeCreate = _nativeCreate;
5067
+ function require_hashSet () {
5068
+ if (hasRequired_hashSet) return _hashSet;
5069
+ hasRequired_hashSet = 1;
5070
+ var nativeCreate = require_nativeCreate();
5028
5071
 
5029
- /** Used to stand-in for `undefined` hash values. */
5030
- var HASH_UNDEFINED$1 = '__lodash_hash_undefined__';
5072
+ /** Used to stand-in for `undefined` hash values. */
5073
+ var HASH_UNDEFINED = '__lodash_hash_undefined__';
5031
5074
 
5032
- /**
5033
- * Sets the hash `key` to `value`.
5034
- *
5035
- * @private
5036
- * @name set
5037
- * @memberOf Hash
5038
- * @param {string} key The key of the value to set.
5039
- * @param {*} value The value to set.
5040
- * @returns {Object} Returns the hash instance.
5041
- */
5042
- function hashSet$1(key, value) {
5043
- var data = this.__data__;
5044
- this.size += this.has(key) ? 0 : 1;
5045
- data[key] = (nativeCreate && value === undefined) ? HASH_UNDEFINED$1 : value;
5046
- return this;
5075
+ /**
5076
+ * Sets the hash `key` to `value`.
5077
+ *
5078
+ * @private
5079
+ * @name set
5080
+ * @memberOf Hash
5081
+ * @param {string} key The key of the value to set.
5082
+ * @param {*} value The value to set.
5083
+ * @returns {Object} Returns the hash instance.
5084
+ */
5085
+ function hashSet(key, value) {
5086
+ var data = this.__data__;
5087
+ this.size += this.has(key) ? 0 : 1;
5088
+ data[key] = (nativeCreate && value === undefined) ? HASH_UNDEFINED : value;
5089
+ return this;
5090
+ }
5091
+
5092
+ _hashSet = hashSet;
5093
+ return _hashSet;
5047
5094
  }
5048
5095
 
5049
- var _hashSet = hashSet$1;
5096
+ var _Hash;
5097
+ var hasRequired_Hash;
5050
5098
 
5051
- var hashClear = _hashClear,
5052
- hashDelete = _hashDelete,
5053
- hashGet = _hashGet,
5054
- hashHas = _hashHas,
5055
- hashSet = _hashSet;
5099
+ function require_Hash () {
5100
+ if (hasRequired_Hash) return _Hash;
5101
+ hasRequired_Hash = 1;
5102
+ var hashClear = require_hashClear(),
5103
+ hashDelete = require_hashDelete(),
5104
+ hashGet = require_hashGet(),
5105
+ hashHas = require_hashHas(),
5106
+ hashSet = require_hashSet();
5056
5107
 
5057
- /**
5058
- * Creates a hash object.
5059
- *
5060
- * @private
5061
- * @constructor
5062
- * @param {Array} [entries] The key-value pairs to cache.
5063
- */
5064
- function Hash$1(entries) {
5065
- var index = -1,
5066
- length = entries == null ? 0 : entries.length;
5108
+ /**
5109
+ * Creates a hash object.
5110
+ *
5111
+ * @private
5112
+ * @constructor
5113
+ * @param {Array} [entries] The key-value pairs to cache.
5114
+ */
5115
+ function Hash(entries) {
5116
+ var index = -1,
5117
+ length = entries == null ? 0 : entries.length;
5118
+
5119
+ this.clear();
5120
+ while (++index < length) {
5121
+ var entry = entries[index];
5122
+ this.set(entry[0], entry[1]);
5123
+ }
5124
+ }
5067
5125
 
5068
- this.clear();
5069
- while (++index < length) {
5070
- var entry = entries[index];
5071
- this.set(entry[0], entry[1]);
5072
- }
5126
+ // Add methods to `Hash`.
5127
+ Hash.prototype.clear = hashClear;
5128
+ Hash.prototype['delete'] = hashDelete;
5129
+ Hash.prototype.get = hashGet;
5130
+ Hash.prototype.has = hashHas;
5131
+ Hash.prototype.set = hashSet;
5132
+
5133
+ _Hash = Hash;
5134
+ return _Hash;
5073
5135
  }
5074
5136
 
5075
- // Add methods to `Hash`.
5076
- Hash$1.prototype.clear = hashClear;
5077
- Hash$1.prototype['delete'] = hashDelete;
5078
- Hash$1.prototype.get = hashGet;
5079
- Hash$1.prototype.has = hashHas;
5080
- Hash$1.prototype.set = hashSet;
5137
+ var _mapCacheClear;
5138
+ var hasRequired_mapCacheClear;
5081
5139
 
5082
- var _Hash = Hash$1;
5140
+ function require_mapCacheClear () {
5141
+ if (hasRequired_mapCacheClear) return _mapCacheClear;
5142
+ hasRequired_mapCacheClear = 1;
5143
+ var Hash = require_Hash(),
5144
+ ListCache = _ListCache,
5145
+ Map = _Map;
5083
5146
 
5084
- var Hash = _Hash,
5085
- ListCache$2 = _ListCache,
5086
- Map$2 = _Map;
5147
+ /**
5148
+ * Removes all key-value entries from the map.
5149
+ *
5150
+ * @private
5151
+ * @name clear
5152
+ * @memberOf MapCache
5153
+ */
5154
+ function mapCacheClear() {
5155
+ this.size = 0;
5156
+ this.__data__ = {
5157
+ 'hash': new Hash,
5158
+ 'map': new (Map || ListCache),
5159
+ 'string': new Hash
5160
+ };
5161
+ }
5087
5162
 
5088
- /**
5089
- * Removes all key-value entries from the map.
5090
- *
5091
- * @private
5092
- * @name clear
5093
- * @memberOf MapCache
5094
- */
5095
- function mapCacheClear$1() {
5096
- this.size = 0;
5097
- this.__data__ = {
5098
- 'hash': new Hash,
5099
- 'map': new (Map$2 || ListCache$2),
5100
- 'string': new Hash
5101
- };
5163
+ _mapCacheClear = mapCacheClear;
5164
+ return _mapCacheClear;
5102
5165
  }
5103
5166
 
5104
- var _mapCacheClear = mapCacheClear$1;
5105
-
5106
5167
  /**
5107
5168
  * Checks if `value` is suitable for use as unique object key.
5108
5169
  *
@@ -5111,146 +5172,202 @@ var _mapCacheClear = mapCacheClear$1;
5111
5172
  * @returns {boolean} Returns `true` if `value` is suitable, else `false`.
5112
5173
  */
5113
5174
 
5114
- function isKeyable$1(value) {
5115
- var type = typeof value;
5116
- return (type == 'string' || type == 'number' || type == 'symbol' || type == 'boolean')
5117
- ? (value !== '__proto__')
5118
- : (value === null);
5119
- }
5120
-
5121
- var _isKeyable = isKeyable$1;
5175
+ var _isKeyable;
5176
+ var hasRequired_isKeyable;
5122
5177
 
5123
- var isKeyable = _isKeyable;
5178
+ function require_isKeyable () {
5179
+ if (hasRequired_isKeyable) return _isKeyable;
5180
+ hasRequired_isKeyable = 1;
5181
+ function isKeyable(value) {
5182
+ var type = typeof value;
5183
+ return (type == 'string' || type == 'number' || type == 'symbol' || type == 'boolean')
5184
+ ? (value !== '__proto__')
5185
+ : (value === null);
5186
+ }
5124
5187
 
5125
- /**
5126
- * Gets the data for `map`.
5127
- *
5128
- * @private
5129
- * @param {Object} map The map to query.
5130
- * @param {string} key The reference key.
5131
- * @returns {*} Returns the map data.
5132
- */
5133
- function getMapData$4(map, key) {
5134
- var data = map.__data__;
5135
- return isKeyable(key)
5136
- ? data[typeof key == 'string' ? 'string' : 'hash']
5137
- : data.map;
5188
+ _isKeyable = isKeyable;
5189
+ return _isKeyable;
5138
5190
  }
5139
5191
 
5140
- var _getMapData = getMapData$4;
5192
+ var _getMapData;
5193
+ var hasRequired_getMapData;
5141
5194
 
5142
- var getMapData$3 = _getMapData;
5195
+ function require_getMapData () {
5196
+ if (hasRequired_getMapData) return _getMapData;
5197
+ hasRequired_getMapData = 1;
5198
+ var isKeyable = require_isKeyable();
5143
5199
 
5144
- /**
5145
- * Removes `key` and its value from the map.
5146
- *
5147
- * @private
5148
- * @name delete
5149
- * @memberOf MapCache
5150
- * @param {string} key The key of the value to remove.
5151
- * @returns {boolean} Returns `true` if the entry was removed, else `false`.
5152
- */
5153
- function mapCacheDelete$1(key) {
5154
- var result = getMapData$3(this, key)['delete'](key);
5155
- this.size -= result ? 1 : 0;
5156
- return result;
5200
+ /**
5201
+ * Gets the data for `map`.
5202
+ *
5203
+ * @private
5204
+ * @param {Object} map The map to query.
5205
+ * @param {string} key The reference key.
5206
+ * @returns {*} Returns the map data.
5207
+ */
5208
+ function getMapData(map, key) {
5209
+ var data = map.__data__;
5210
+ return isKeyable(key)
5211
+ ? data[typeof key == 'string' ? 'string' : 'hash']
5212
+ : data.map;
5213
+ }
5214
+
5215
+ _getMapData = getMapData;
5216
+ return _getMapData;
5157
5217
  }
5158
5218
 
5159
- var _mapCacheDelete = mapCacheDelete$1;
5219
+ var _mapCacheDelete;
5220
+ var hasRequired_mapCacheDelete;
5160
5221
 
5161
- var getMapData$2 = _getMapData;
5222
+ function require_mapCacheDelete () {
5223
+ if (hasRequired_mapCacheDelete) return _mapCacheDelete;
5224
+ hasRequired_mapCacheDelete = 1;
5225
+ var getMapData = require_getMapData();
5162
5226
 
5163
- /**
5164
- * Gets the map value for `key`.
5165
- *
5166
- * @private
5167
- * @name get
5168
- * @memberOf MapCache
5169
- * @param {string} key The key of the value to get.
5170
- * @returns {*} Returns the entry value.
5171
- */
5172
- function mapCacheGet$1(key) {
5173
- return getMapData$2(this, key).get(key);
5227
+ /**
5228
+ * Removes `key` and its value from the map.
5229
+ *
5230
+ * @private
5231
+ * @name delete
5232
+ * @memberOf MapCache
5233
+ * @param {string} key The key of the value to remove.
5234
+ * @returns {boolean} Returns `true` if the entry was removed, else `false`.
5235
+ */
5236
+ function mapCacheDelete(key) {
5237
+ var result = getMapData(this, key)['delete'](key);
5238
+ this.size -= result ? 1 : 0;
5239
+ return result;
5240
+ }
5241
+
5242
+ _mapCacheDelete = mapCacheDelete;
5243
+ return _mapCacheDelete;
5174
5244
  }
5175
5245
 
5176
- var _mapCacheGet = mapCacheGet$1;
5246
+ var _mapCacheGet;
5247
+ var hasRequired_mapCacheGet;
5177
5248
 
5178
- var getMapData$1 = _getMapData;
5249
+ function require_mapCacheGet () {
5250
+ if (hasRequired_mapCacheGet) return _mapCacheGet;
5251
+ hasRequired_mapCacheGet = 1;
5252
+ var getMapData = require_getMapData();
5179
5253
 
5180
- /**
5181
- * Checks if a map value for `key` exists.
5182
- *
5183
- * @private
5184
- * @name has
5185
- * @memberOf MapCache
5186
- * @param {string} key The key of the entry to check.
5187
- * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.
5188
- */
5189
- function mapCacheHas$1(key) {
5190
- return getMapData$1(this, key).has(key);
5254
+ /**
5255
+ * Gets the map value for `key`.
5256
+ *
5257
+ * @private
5258
+ * @name get
5259
+ * @memberOf MapCache
5260
+ * @param {string} key The key of the value to get.
5261
+ * @returns {*} Returns the entry value.
5262
+ */
5263
+ function mapCacheGet(key) {
5264
+ return getMapData(this, key).get(key);
5265
+ }
5266
+
5267
+ _mapCacheGet = mapCacheGet;
5268
+ return _mapCacheGet;
5191
5269
  }
5192
5270
 
5193
- var _mapCacheHas = mapCacheHas$1;
5271
+ var _mapCacheHas;
5272
+ var hasRequired_mapCacheHas;
5194
5273
 
5195
- var getMapData = _getMapData;
5274
+ function require_mapCacheHas () {
5275
+ if (hasRequired_mapCacheHas) return _mapCacheHas;
5276
+ hasRequired_mapCacheHas = 1;
5277
+ var getMapData = require_getMapData();
5196
5278
 
5197
- /**
5198
- * Sets the map `key` to `value`.
5199
- *
5200
- * @private
5201
- * @name set
5202
- * @memberOf MapCache
5203
- * @param {string} key The key of the value to set.
5204
- * @param {*} value The value to set.
5205
- * @returns {Object} Returns the map cache instance.
5206
- */
5207
- function mapCacheSet$1(key, value) {
5208
- var data = getMapData(this, key),
5209
- size = data.size;
5279
+ /**
5280
+ * Checks if a map value for `key` exists.
5281
+ *
5282
+ * @private
5283
+ * @name has
5284
+ * @memberOf MapCache
5285
+ * @param {string} key The key of the entry to check.
5286
+ * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.
5287
+ */
5288
+ function mapCacheHas(key) {
5289
+ return getMapData(this, key).has(key);
5290
+ }
5210
5291
 
5211
- data.set(key, value);
5212
- this.size += data.size == size ? 0 : 1;
5213
- return this;
5292
+ _mapCacheHas = mapCacheHas;
5293
+ return _mapCacheHas;
5214
5294
  }
5215
5295
 
5216
- var _mapCacheSet = mapCacheSet$1;
5296
+ var _mapCacheSet;
5297
+ var hasRequired_mapCacheSet;
5217
5298
 
5218
- var mapCacheClear = _mapCacheClear,
5219
- mapCacheDelete = _mapCacheDelete,
5220
- mapCacheGet = _mapCacheGet,
5221
- mapCacheHas = _mapCacheHas,
5222
- mapCacheSet = _mapCacheSet;
5299
+ function require_mapCacheSet () {
5300
+ if (hasRequired_mapCacheSet) return _mapCacheSet;
5301
+ hasRequired_mapCacheSet = 1;
5302
+ var getMapData = require_getMapData();
5223
5303
 
5224
- /**
5225
- * Creates a map cache object to store key-value pairs.
5226
- *
5227
- * @private
5228
- * @constructor
5229
- * @param {Array} [entries] The key-value pairs to cache.
5230
- */
5231
- function MapCache$2(entries) {
5232
- var index = -1,
5233
- length = entries == null ? 0 : entries.length;
5304
+ /**
5305
+ * Sets the map `key` to `value`.
5306
+ *
5307
+ * @private
5308
+ * @name set
5309
+ * @memberOf MapCache
5310
+ * @param {string} key The key of the value to set.
5311
+ * @param {*} value The value to set.
5312
+ * @returns {Object} Returns the map cache instance.
5313
+ */
5314
+ function mapCacheSet(key, value) {
5315
+ var data = getMapData(this, key),
5316
+ size = data.size;
5234
5317
 
5235
- this.clear();
5236
- while (++index < length) {
5237
- var entry = entries[index];
5238
- this.set(entry[0], entry[1]);
5239
- }
5318
+ data.set(key, value);
5319
+ this.size += data.size == size ? 0 : 1;
5320
+ return this;
5321
+ }
5322
+
5323
+ _mapCacheSet = mapCacheSet;
5324
+ return _mapCacheSet;
5240
5325
  }
5241
5326
 
5242
- // Add methods to `MapCache`.
5243
- MapCache$2.prototype.clear = mapCacheClear;
5244
- MapCache$2.prototype['delete'] = mapCacheDelete;
5245
- MapCache$2.prototype.get = mapCacheGet;
5246
- MapCache$2.prototype.has = mapCacheHas;
5247
- MapCache$2.prototype.set = mapCacheSet;
5327
+ var _MapCache;
5328
+ var hasRequired_MapCache;
5248
5329
 
5249
- var _MapCache = MapCache$2;
5330
+ function require_MapCache () {
5331
+ if (hasRequired_MapCache) return _MapCache;
5332
+ hasRequired_MapCache = 1;
5333
+ var mapCacheClear = require_mapCacheClear(),
5334
+ mapCacheDelete = require_mapCacheDelete(),
5335
+ mapCacheGet = require_mapCacheGet(),
5336
+ mapCacheHas = require_mapCacheHas(),
5337
+ mapCacheSet = require_mapCacheSet();
5338
+
5339
+ /**
5340
+ * Creates a map cache object to store key-value pairs.
5341
+ *
5342
+ * @private
5343
+ * @constructor
5344
+ * @param {Array} [entries] The key-value pairs to cache.
5345
+ */
5346
+ function MapCache(entries) {
5347
+ var index = -1,
5348
+ length = entries == null ? 0 : entries.length;
5349
+
5350
+ this.clear();
5351
+ while (++index < length) {
5352
+ var entry = entries[index];
5353
+ this.set(entry[0], entry[1]);
5354
+ }
5355
+ }
5356
+
5357
+ // Add methods to `MapCache`.
5358
+ MapCache.prototype.clear = mapCacheClear;
5359
+ MapCache.prototype['delete'] = mapCacheDelete;
5360
+ MapCache.prototype.get = mapCacheGet;
5361
+ MapCache.prototype.has = mapCacheHas;
5362
+ MapCache.prototype.set = mapCacheSet;
5363
+
5364
+ _MapCache = MapCache;
5365
+ return _MapCache;
5366
+ }
5250
5367
 
5251
5368
  var ListCache$1 = _ListCache,
5252
5369
  Map$1 = _Map,
5253
- MapCache$1 = _MapCache;
5370
+ MapCache$1 = require_MapCache();
5254
5371
 
5255
5372
  /** Used as the size to enable large array optimizations. */
5256
5373
  var LARGE_ARRAY_SIZE = 200;
@@ -5635,7 +5752,7 @@ function copySymbolsIn$1(source, object) {
5635
5752
  var _copySymbolsIn = copySymbolsIn$1;
5636
5753
 
5637
5754
  var arrayPush$1 = _arrayPush,
5638
- isArray$6 = isArray_1;
5755
+ isArray$7 = isArray_1;
5639
5756
 
5640
5757
  /**
5641
5758
  * The base implementation of `getAllKeys` and `getAllKeysIn` which uses
@@ -5650,7 +5767,7 @@ var arrayPush$1 = _arrayPush,
5650
5767
  */
5651
5768
  function baseGetAllKeys$2(object, keysFunc, symbolsFunc) {
5652
5769
  var result = keysFunc(object);
5653
- return isArray$6(object) ? result : arrayPush$1(result, symbolsFunc(object));
5770
+ return isArray$7(object) ? result : arrayPush$1(result, symbolsFunc(object));
5654
5771
  }
5655
5772
 
5656
5773
  var _baseGetAllKeys = baseGetAllKeys$2;
@@ -5861,11 +5978,11 @@ function cloneRegExp$1(regexp) {
5861
5978
 
5862
5979
  var _cloneRegExp = cloneRegExp$1;
5863
5980
 
5864
- var Symbol$3 = _Symbol;
5981
+ var Symbol$4 = _Symbol;
5865
5982
 
5866
5983
  /** Used to convert symbols to primitives and strings. */
5867
- var symbolProto$1 = Symbol$3 ? Symbol$3.prototype : undefined,
5868
- symbolValueOf$1 = symbolProto$1 ? symbolProto$1.valueOf : undefined;
5984
+ var symbolProto$2 = Symbol$4 ? Symbol$4.prototype : undefined,
5985
+ symbolValueOf$1 = symbolProto$2 ? symbolProto$2.valueOf : undefined;
5869
5986
 
5870
5987
  /**
5871
5988
  * Creates a clone of the `symbol` object.
@@ -6103,7 +6220,7 @@ var Stack$2 = _Stack,
6103
6220
  initCloneArray = _initCloneArray,
6104
6221
  initCloneByTag = _initCloneByTag,
6105
6222
  initCloneObject = _initCloneObject,
6106
- isArray$5 = isArray_1,
6223
+ isArray$6 = isArray_1,
6107
6224
  isBuffer$1 = isBufferExports,
6108
6225
  isMap = isMap_1,
6109
6226
  isObject$1 = isObject_1,
@@ -6192,7 +6309,7 @@ function baseClone$2(value, bitmask, customizer, key, object, stack) {
6192
6309
  if (!isObject$1(value)) {
6193
6310
  return value;
6194
6311
  }
6195
- var isArr = isArray$5(value);
6312
+ var isArr = isArray$6(value);
6196
6313
  if (isArr) {
6197
6314
  result = initCloneArray(value);
6198
6315
  if (!isDeep) {
@@ -6516,7 +6633,7 @@ function setCacheHas$1(value) {
6516
6633
 
6517
6634
  var _setCacheHas = setCacheHas$1;
6518
6635
 
6519
- var MapCache = _MapCache,
6636
+ var MapCache = require_MapCache(),
6520
6637
  setCacheAdd = _setCacheAdd,
6521
6638
  setCacheHas = _setCacheHas;
6522
6639
 
@@ -6709,7 +6826,7 @@ function setToArray$1(set) {
6709
6826
 
6710
6827
  var _setToArray = setToArray$1;
6711
6828
 
6712
- var Symbol$2 = _Symbol,
6829
+ var Symbol$3 = _Symbol,
6713
6830
  Uint8Array = _Uint8Array,
6714
6831
  eq = eq_1,
6715
6832
  equalArrays$1 = _equalArrays,
@@ -6735,8 +6852,8 @@ var arrayBufferTag = '[object ArrayBuffer]',
6735
6852
  dataViewTag = '[object DataView]';
6736
6853
 
6737
6854
  /** Used to convert symbols to primitives and strings. */
6738
- var symbolProto = Symbol$2 ? Symbol$2.prototype : undefined,
6739
- symbolValueOf = symbolProto ? symbolProto.valueOf : undefined;
6855
+ var symbolProto$1 = Symbol$3 ? Symbol$3.prototype : undefined,
6856
+ symbolValueOf = symbolProto$1 ? symbolProto$1.valueOf : undefined;
6740
6857
 
6741
6858
  /**
6742
6859
  * A specialized version of `baseIsEqualDeep` for comparing objects of
@@ -6918,7 +7035,7 @@ var Stack$1 = _Stack,
6918
7035
  equalByTag = _equalByTag,
6919
7036
  equalObjects = _equalObjects,
6920
7037
  getTag = _getTag,
6921
- isArray$4 = isArray_1,
7038
+ isArray$5 = isArray_1,
6922
7039
  isBuffer = isBufferExports,
6923
7040
  isTypedArray = isTypedArray_1;
6924
7041
 
@@ -6951,8 +7068,8 @@ var hasOwnProperty = objectProto.hasOwnProperty;
6951
7068
  * @returns {boolean} Returns `true` if the objects are equivalent, else `false`.
6952
7069
  */
6953
7070
  function baseIsEqualDeep$1(object, other, bitmask, customizer, equalFunc, stack) {
6954
- var objIsArr = isArray$4(object),
6955
- othIsArr = isArray$4(other),
7071
+ var objIsArr = isArray$5(object),
7072
+ othIsArr = isArray$5(other),
6956
7073
  objTag = objIsArr ? arrayTag : getTag(object),
6957
7074
  othTag = othIsArr ? arrayTag : getTag(other);
6958
7075
 
@@ -7182,7 +7299,7 @@ function require_isKey () {
7182
7299
  if (hasRequired_isKey) return _isKey;
7183
7300
  hasRequired_isKey = 1;
7184
7301
  var isArray = isArray_1,
7185
- isSymbol = requireIsSymbol();
7302
+ isSymbol = isSymbol_1;
7186
7303
 
7187
7304
  /** Used to match property names within property paths. */
7188
7305
  var reIsDeepProp = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,
@@ -7219,7 +7336,7 @@ var hasRequiredMemoize;
7219
7336
  function requireMemoize () {
7220
7337
  if (hasRequiredMemoize) return memoize_1;
7221
7338
  hasRequiredMemoize = 1;
7222
- var MapCache = _MapCache;
7339
+ var MapCache = require_MapCache();
7223
7340
 
7224
7341
  /** Error message constants. */
7225
7342
  var FUNC_ERROR_TEXT = 'Expected a function';
@@ -7376,7 +7493,7 @@ function require_stringToPath () {
7376
7493
  * @returns {Array} Returns the new mapped array.
7377
7494
  */
7378
7495
 
7379
- function arrayMap$1(array, iteratee) {
7496
+ function arrayMap$2(array, iteratee) {
7380
7497
  var index = -1,
7381
7498
  length = array == null ? 0 : array.length,
7382
7499
  result = Array(length);
@@ -7387,91 +7504,75 @@ function arrayMap$1(array, iteratee) {
7387
7504
  return result;
7388
7505
  }
7389
7506
 
7390
- var _arrayMap = arrayMap$1;
7507
+ var _arrayMap = arrayMap$2;
7391
7508
 
7392
- var _baseToString;
7393
- var hasRequired_baseToString;
7394
-
7395
- function require_baseToString () {
7396
- if (hasRequired_baseToString) return _baseToString;
7397
- hasRequired_baseToString = 1;
7398
- var Symbol = _Symbol,
7399
- arrayMap = _arrayMap,
7400
- isArray = isArray_1,
7401
- isSymbol = requireIsSymbol();
7402
-
7403
- /** Used as references for various `Number` constants. */
7404
- var INFINITY = 1 / 0;
7509
+ var Symbol$2 = _Symbol,
7510
+ arrayMap$1 = _arrayMap,
7511
+ isArray$4 = isArray_1,
7512
+ isSymbol$1 = isSymbol_1;
7405
7513
 
7406
- /** Used to convert symbols to primitives and strings. */
7407
- var symbolProto = Symbol ? Symbol.prototype : undefined,
7408
- symbolToString = symbolProto ? symbolProto.toString : undefined;
7514
+ /** Used as references for various `Number` constants. */
7515
+ var INFINITY = 1 / 0;
7409
7516
 
7410
- /**
7411
- * The base implementation of `_.toString` which doesn't convert nullish
7412
- * values to empty strings.
7413
- *
7414
- * @private
7415
- * @param {*} value The value to process.
7416
- * @returns {string} Returns the string.
7417
- */
7418
- function baseToString(value) {
7419
- // Exit early for strings to avoid a performance hit in some environments.
7420
- if (typeof value == 'string') {
7421
- return value;
7422
- }
7423
- if (isArray(value)) {
7424
- // Recursively convert values (susceptible to call stack limits).
7425
- return arrayMap(value, baseToString) + '';
7426
- }
7427
- if (isSymbol(value)) {
7428
- return symbolToString ? symbolToString.call(value) : '';
7429
- }
7430
- var result = (value + '');
7431
- return (result == '0' && (1 / value) == -INFINITY) ? '-0' : result;
7432
- }
7517
+ /** Used to convert symbols to primitives and strings. */
7518
+ var symbolProto = Symbol$2 ? Symbol$2.prototype : undefined,
7519
+ symbolToString = symbolProto ? symbolProto.toString : undefined;
7433
7520
 
7434
- _baseToString = baseToString;
7435
- return _baseToString;
7521
+ /**
7522
+ * The base implementation of `_.toString` which doesn't convert nullish
7523
+ * values to empty strings.
7524
+ *
7525
+ * @private
7526
+ * @param {*} value The value to process.
7527
+ * @returns {string} Returns the string.
7528
+ */
7529
+ function baseToString$1(value) {
7530
+ // Exit early for strings to avoid a performance hit in some environments.
7531
+ if (typeof value == 'string') {
7532
+ return value;
7533
+ }
7534
+ if (isArray$4(value)) {
7535
+ // Recursively convert values (susceptible to call stack limits).
7536
+ return arrayMap$1(value, baseToString$1) + '';
7537
+ }
7538
+ if (isSymbol$1(value)) {
7539
+ return symbolToString ? symbolToString.call(value) : '';
7540
+ }
7541
+ var result = (value + '');
7542
+ return (result == '0' && (1 / value) == -INFINITY) ? '-0' : result;
7436
7543
  }
7437
7544
 
7438
- var toString_1;
7439
- var hasRequiredToString;
7545
+ var _baseToString = baseToString$1;
7440
7546
 
7441
- function requireToString () {
7442
- if (hasRequiredToString) return toString_1;
7443
- hasRequiredToString = 1;
7444
- var baseToString = require_baseToString();
7547
+ var baseToString = _baseToString;
7445
7548
 
7446
- /**
7447
- * Converts `value` to a string. An empty string is returned for `null`
7448
- * and `undefined` values. The sign of `-0` is preserved.
7449
- *
7450
- * @static
7451
- * @memberOf _
7452
- * @since 4.0.0
7453
- * @category Lang
7454
- * @param {*} value The value to convert.
7455
- * @returns {string} Returns the converted string.
7456
- * @example
7457
- *
7458
- * _.toString(null);
7459
- * // => ''
7460
- *
7461
- * _.toString(-0);
7462
- * // => '-0'
7463
- *
7464
- * _.toString([1, 2, 3]);
7465
- * // => '1,2,3'
7466
- */
7467
- function toString(value) {
7468
- return value == null ? '' : baseToString(value);
7469
- }
7470
-
7471
- toString_1 = toString;
7472
- return toString_1;
7549
+ /**
7550
+ * Converts `value` to a string. An empty string is returned for `null`
7551
+ * and `undefined` values. The sign of `-0` is preserved.
7552
+ *
7553
+ * @static
7554
+ * @memberOf _
7555
+ * @since 4.0.0
7556
+ * @category Lang
7557
+ * @param {*} value The value to convert.
7558
+ * @returns {string} Returns the converted string.
7559
+ * @example
7560
+ *
7561
+ * _.toString(null);
7562
+ * // => ''
7563
+ *
7564
+ * _.toString(-0);
7565
+ * // => '-0'
7566
+ *
7567
+ * _.toString([1, 2, 3]);
7568
+ * // => '1,2,3'
7569
+ */
7570
+ function toString$1(value) {
7571
+ return value == null ? '' : baseToString(value);
7473
7572
  }
7474
7573
 
7574
+ var toString_1 = toString$1;
7575
+
7475
7576
  var _castPath;
7476
7577
  var hasRequired_castPath;
7477
7578
 
@@ -7481,7 +7582,7 @@ function require_castPath () {
7481
7582
  var isArray = isArray_1,
7482
7583
  isKey = require_isKey(),
7483
7584
  stringToPath = require_stringToPath(),
7484
- toString = requireToString();
7585
+ toString = toString_1;
7485
7586
 
7486
7587
  /**
7487
7588
  * Casts `value` to a path array if it's not one.
@@ -7508,7 +7609,7 @@ var hasRequired_toKey;
7508
7609
  function require_toKey () {
7509
7610
  if (hasRequired_toKey) return _toKey;
7510
7611
  hasRequired_toKey = 1;
7511
- var isSymbol = requireIsSymbol();
7612
+ var isSymbol = isSymbol_1;
7512
7613
 
7513
7614
  /** Used as references for various `Number` constants. */
7514
7615
  var INFINITY = 1 / 0;
@@ -8057,10 +8158,10 @@ var rearg_1 = rearg;
8057
8158
  var arrayMap = _arrayMap,
8058
8159
  copyArray = _copyArray,
8059
8160
  isArray = isArray_1,
8060
- isSymbol = requireIsSymbol(),
8161
+ isSymbol = isSymbol_1,
8061
8162
  stringToPath = require_stringToPath(),
8062
8163
  toKey = require_toKey(),
8063
- toString = requireToString();
8164
+ toString = toString_1;
8064
8165
 
8065
8166
  /**
8066
8167
  * Converts `value` to a property path array.
@@ -8271,7 +8372,7 @@ var useModal = function (initialState) {
8271
8372
  };
8272
8373
 
8273
8374
  var Container$3 = styled.div(templateObject_1$r || (templateObject_1$r = __makeTemplateObject(["\n width: 100%;\n height: 100%;\n position: relative;\n"], ["\n width: 100%;\n height: 100%;\n position: relative;\n"])));
8274
- var Image$1 = styled.img(templateObject_2$j || (templateObject_2$j = __makeTemplateObject(["\n width: 100%;\n height: 100%;\n"], ["\n width: 100%;\n height: 100%;\n"])));
8375
+ var Image$2 = styled.img(templateObject_2$j || (templateObject_2$j = __makeTemplateObject(["\n width: 100%;\n height: 100%;\n"], ["\n width: 100%;\n height: 100%;\n"])));
8275
8376
  var ButtonContainer = styled.div(templateObject_3$g || (templateObject_3$g = __makeTemplateObject(["\n width: 100%;\n display: flex;\n justify-content: center;\n position: absolute;\n bottom: -60px;\n"], ["\n width: 100%;\n display: flex;\n justify-content: center;\n position: absolute;\n bottom: -60px;\n"])));
8276
8377
  var templateObject_1$r, templateObject_2$j, templateObject_3$g;
8277
8378
 
@@ -8281,7 +8382,7 @@ var LightBox = function (_a) {
8281
8382
  return null;
8282
8383
  return (jsx(Modal, { isShown: isLightBoxOpen, onClose: onCloseLightBox, mobileFullscreen: true, miniCloseBtn: true, withCloseIcon: true, children: jsx(Swiper, { initialSlide: initialSlide, slidesPerView: 1, autoHeight: true, children: images.map(function (item) {
8283
8384
  var _a;
8284
- return (jsx(SwiperSlide, { children: jsxs(Container$3, { children: [jsx(Image$1, { src: (_a = item.originalUrl) !== null && _a !== void 0 ? _a : item.url, loading: "lazy", alt: "" }), !!item.withLightBoxAction && lightBoxAction && lightBoxActionTitle && (jsx(ButtonContainer, { children: jsx(Button, { onClick: lightBoxAction(item.id), appearance: "primaryLight", children: lightBoxActionTitle }) }))] }) }, item.id));
8385
+ return (jsx(SwiperSlide, { children: jsxs(Container$3, { children: [jsx(Image$2, { src: (_a = item.originalUrl) !== null && _a !== void 0 ? _a : item.url, loading: "lazy", alt: "" }), !!item.withLightBoxAction && lightBoxAction && lightBoxActionTitle && (jsx(ButtonContainer, { children: jsx(Button, { onClick: lightBoxAction(item.id), appearance: "primaryLight", children: lightBoxActionTitle }) }))] }) }, item.id));
8285
8386
  }) }) }));
8286
8387
  };
8287
8388
 
@@ -8302,7 +8403,7 @@ var useLightBox = function () {
8302
8403
  };
8303
8404
 
8304
8405
  var Container$2 = styled.div(templateObject_1$q || (templateObject_1$q = __makeTemplateObject(["\n position: relative;\n flex-shrink: 0;\n height: 85px !important;\n width: 85px !important;\n border-radius: ", ";\n border: ", ";\n border-color: ", ";\n display: flex;\n justify-content: center;\n align-items: center;\n cursor: pointer;\n margin-right: 15px;\n"], ["\n position: relative;\n flex-shrink: 0;\n height: 85px !important;\n width: 85px !important;\n border-radius: ", ";\n border: ", ";\n border-color: ", ";\n display: flex;\n justify-content: center;\n align-items: center;\n cursor: pointer;\n margin-right: 15px;\n"])), th.radius('lg'), th.border('mediumSlim'), th.color('red1'));
8305
- var HiddenInput = styled.input(templateObject_2$i || (templateObject_2$i = __makeTemplateObject(["\n opacity: 0;\n position: absolute;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n cursor: pointer;\n"], ["\n opacity: 0;\n position: absolute;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n cursor: pointer;\n"])));
8406
+ var HiddenInput$1 = styled.input(templateObject_2$i || (templateObject_2$i = __makeTemplateObject(["\n opacity: 0;\n position: absolute;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n cursor: pointer;\n"], ["\n opacity: 0;\n position: absolute;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n cursor: pointer;\n"])));
8306
8407
  var templateObject_1$q, templateObject_2$i;
8307
8408
 
8308
8409
  var AddPhoto = function (_a) {
@@ -8327,11 +8428,11 @@ var AddPhoto = function (_a) {
8327
8428
  }, [onImageUpload]);
8328
8429
  if (!onImageUpload)
8329
8430
  return null;
8330
- return (jsxs(Container$2, { children: [jsx(HiddenInput, { onChange: handleImageUpload, type: "file", accept: "image/*" }), jsxs("svg", { width: "36", height: "36", viewBox: "0 0 37 34", fill: "#DB2B19", xmlns: "http://www.w3.org/2000/svg", children: [jsx("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M9.82792 6.14124C10.7187 5.25044 11.9269 4.75 13.1867 4.75H19C19.8745 4.75 20.5833 5.45889 20.5833 6.33333C20.5833 7.20778 19.8745 7.91667 19 7.91667H13.1867C12.7668 7.91667 12.364 8.08349 12.0671 8.38041L10.7554 9.69209C9.86461 10.5829 8.65643 11.0833 7.39665 11.0833H4.75C3.87556 11.0833 3.16667 11.7922 3.16667 12.6667V28.5C3.16667 29.3745 3.87556 30.0833 4.75 30.0833H26.9167C27.7911 30.0833 28.5 29.3745 28.5 28.5V17.4167C28.5 16.5422 29.2089 15.8333 30.0833 15.8333C30.9578 15.8333 31.6667 16.5422 31.6667 17.4167V28.5C31.6667 31.1234 29.5401 33.25 26.9167 33.25H4.75C2.12665 33.25 0 31.1234 0 28.5V12.6667C0 10.0433 2.12665 7.91667 4.75 7.91667H7.39665C7.81658 7.91667 8.21931 7.74985 8.51624 7.45292L9.82792 6.14124Z" }), jsx("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M7.9165 20.5834C7.9165 16.2112 11.4609 12.6667 15.8332 12.6667C20.2054 12.6667 23.7498 16.2112 23.7498 20.5834C23.7498 24.9556 20.2054 28.5001 15.8332 28.5001C11.4609 28.5001 7.9165 24.9556 7.9165 20.5834ZM15.8332 15.8334C13.2098 15.8334 11.0832 17.96 11.0832 20.5834C11.0832 23.2068 13.2098 25.3334 15.8332 25.3334C18.4566 25.3334 20.5832 23.2068 20.5832 20.5834C20.5832 17.96 18.4566 15.8334 15.8332 15.8334Z" }), jsx("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M23.75 6.33333C23.75 5.45889 24.4589 4.75 25.3333 4.75H34.8333C35.7078 4.75 36.4167 5.45889 36.4167 6.33333C36.4167 7.20778 35.7078 7.91667 34.8333 7.91667H25.3333C24.4589 7.91667 23.75 7.20778 23.75 6.33333Z" }), jsx("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M30.0833 0C30.9578 0 31.6667 0.70889 31.6667 1.58333V11.0833C31.6667 11.9578 30.9578 12.6667 30.0833 12.6667C29.2089 12.6667 28.5 11.9578 28.5 11.0833V1.58333C28.5 0.70889 29.2089 0 30.0833 0Z" })] })] }));
8431
+ return (jsxs(Container$2, { children: [jsx(HiddenInput$1, { onChange: handleImageUpload, type: "file", accept: "image/*" }), jsxs("svg", { width: "36", height: "36", viewBox: "0 0 37 34", fill: "#DB2B19", xmlns: "http://www.w3.org/2000/svg", children: [jsx("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M9.82792 6.14124C10.7187 5.25044 11.9269 4.75 13.1867 4.75H19C19.8745 4.75 20.5833 5.45889 20.5833 6.33333C20.5833 7.20778 19.8745 7.91667 19 7.91667H13.1867C12.7668 7.91667 12.364 8.08349 12.0671 8.38041L10.7554 9.69209C9.86461 10.5829 8.65643 11.0833 7.39665 11.0833H4.75C3.87556 11.0833 3.16667 11.7922 3.16667 12.6667V28.5C3.16667 29.3745 3.87556 30.0833 4.75 30.0833H26.9167C27.7911 30.0833 28.5 29.3745 28.5 28.5V17.4167C28.5 16.5422 29.2089 15.8333 30.0833 15.8333C30.9578 15.8333 31.6667 16.5422 31.6667 17.4167V28.5C31.6667 31.1234 29.5401 33.25 26.9167 33.25H4.75C2.12665 33.25 0 31.1234 0 28.5V12.6667C0 10.0433 2.12665 7.91667 4.75 7.91667H7.39665C7.81658 7.91667 8.21931 7.74985 8.51624 7.45292L9.82792 6.14124Z" }), jsx("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M7.9165 20.5834C7.9165 16.2112 11.4609 12.6667 15.8332 12.6667C20.2054 12.6667 23.7498 16.2112 23.7498 20.5834C23.7498 24.9556 20.2054 28.5001 15.8332 28.5001C11.4609 28.5001 7.9165 24.9556 7.9165 20.5834ZM15.8332 15.8334C13.2098 15.8334 11.0832 17.96 11.0832 20.5834C11.0832 23.2068 13.2098 25.3334 15.8332 25.3334C18.4566 25.3334 20.5832 23.2068 20.5832 20.5834C20.5832 17.96 18.4566 15.8334 15.8332 15.8334Z" }), jsx("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M23.75 6.33333C23.75 5.45889 24.4589 4.75 25.3333 4.75H34.8333C35.7078 4.75 36.4167 5.45889 36.4167 6.33333C36.4167 7.20778 35.7078 7.91667 34.8333 7.91667H25.3333C24.4589 7.91667 23.75 7.20778 23.75 6.33333Z" }), jsx("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M30.0833 0C30.9578 0 31.6667 0.70889 31.6667 1.58333V11.0833C31.6667 11.9578 30.9578 12.6667 30.0833 12.6667C29.2089 12.6667 28.5 11.9578 28.5 11.0833V1.58333C28.5 0.70889 29.2089 0 30.0833 0Z" })] })] }));
8331
8432
  };
8332
8433
 
8333
8434
  styled.div(templateObject_1$p || (templateObject_1$p = __makeTemplateObject([""], [""])));
8334
- var Image = styled.img(templateObject_2$h || (templateObject_2$h = __makeTemplateObject(["\n border-radius: ", ";\n"], ["\n border-radius: ", ";\n"])), th.radius('lg'));
8435
+ var Image$1 = styled.img(templateObject_2$h || (templateObject_2$h = __makeTemplateObject(["\n border-radius: ", ";\n"], ["\n border-radius: ", ";\n"])), th.radius('lg'));
8335
8436
  var templateObject_1$p, templateObject_2$h;
8336
8437
 
8337
8438
  var fontSizeMap = {
@@ -8421,7 +8522,7 @@ var ImageElement = function (_a) {
8421
8522
  var label = _a.label, onImageRemove = _a.onImageRemove, onOpenLightBox = _a.onOpenLightBox, imageUrl = _a.imageUrl;
8422
8523
  if (!imageUrl)
8423
8524
  return null;
8424
- return (jsxs(x.div, { position: "relative", pr: "15px", pt: "15px", w: "100px", children: [jsx(Image, { src: imageUrl, alt: "", width: "85px", height: "85px", onClick: onOpenLightBox }), onImageRemove && jsx(CloseButton, { onImageRemove: onImageRemove }), jsx(ImageTag, { label: label })] }));
8525
+ return (jsxs(x.div, { position: "relative", pr: "15px", pt: "15px", w: "100px", children: [jsx(Image$1, { src: imageUrl, alt: "", width: "85px", height: "85px", onClick: onOpenLightBox }), onImageRemove && jsx(CloseButton, { onImageRemove: onImageRemove }), jsx(ImageTag, { label: label })] }));
8425
8526
  };
8426
8527
 
8427
8528
  var ImageListContainer = styled.div(templateObject_1$l || (templateObject_1$l = __makeTemplateObject(["\n display: flex;\n overflow-x: scroll;\n -ms-overflow-style: none;\n scrollbar-width: none;\n position: relative;\n\n &::-webkit-scrollbar {\n display: none;\n }\n"], ["\n display: flex;\n overflow-x: scroll;\n -ms-overflow-style: none;\n scrollbar-width: none;\n position: relative;\n\n &::-webkit-scrollbar {\n display: none;\n }\n"])));
@@ -8450,7 +8551,7 @@ var Tab$1 = styled.div(templateObject_5$7 || (templateObject_5$7 = __makeTemplat
8450
8551
  var TabPanel = styled.div(templateObject_6$7 || (templateObject_6$7 = __makeTemplateObject(["\n min-height: 3rem;\n display: flex;\n align-items: flex-end;\n overflow: auto;\n width: fit-content;\n position: relative;\n &:after {\n content: '';\n position: absolute;\n bottom: 0;\n left: 0;\n right: 0;\n background-color: ", ";\n height: 2px;\n }\n"], ["\n min-height: 3rem;\n display: flex;\n align-items: flex-end;\n overflow: auto;\n width: fit-content;\n position: relative;\n &:after {\n content: '';\n position: absolute;\n bottom: 0;\n left: 0;\n right: 0;\n background-color: ", ";\n height: 2px;\n }\n"])), th.color('bgLightGray1'));
8451
8552
  var templateObject_1$k, templateObject_2$g, templateObject_3$f, templateObject_4$b, templateObject_5$7, templateObject_6$7;
8452
8553
 
8453
- var Text$1 = function (props) { return jsx(x.div, __assign({ as: "span" }, props)); };
8554
+ var Text$3 = function (props) { return jsx(x.div, __assign({ as: "span" }, props)); };
8454
8555
 
8455
8556
  var Tab = function (_a) {
8456
8557
  var tabDefinition = _a.tabDefinition, value = _a.value, isActive = _a.isActive, onTabSwitch = _a.onTabSwitch;
@@ -8458,7 +8559,7 @@ var Tab = function (_a) {
8458
8559
  var handleOnClick = useCallback(function () {
8459
8560
  onTabSwitch(value);
8460
8561
  }, [onTabSwitch, value]);
8461
- return (jsx(StyledTabWrapper, { children: jsxs(Tab$1, { onClick: handleOnClick, active: isActive, children: [icon && (jsx(StyledImageBox, { children: jsx(Icon, { icon: icon }) })), jsx(Text$1, { children: label }), isActive && badgeCount && badgeCount > 0 && (jsx(RoundedWrap, { children: jsx(Text$1, { variant: "medium", children: badgeCount }) }))] }) }));
8562
+ return (jsx(StyledTabWrapper, { children: jsxs(Tab$1, { onClick: handleOnClick, active: isActive, children: [icon && (jsx(StyledImageBox, { children: jsx(Icon, { icon: icon }) })), jsx(Text$3, { children: label }), isActive && badgeCount && badgeCount > 0 && (jsx(RoundedWrap, { children: jsx(Text$3, { variant: "medium", children: badgeCount }) }))] }) }));
8462
8563
  };
8463
8564
  var Tabs = function (_a) {
8464
8565
  var tabsDefinition = _a.tabsDefinition, activeTab = _a.activeTab, onTabSwitch = _a.onTabSwitch;
@@ -8477,7 +8578,7 @@ var useTabs = function (tabDefinitions) {
8477
8578
  return { activeTab: activeTab, onTabSwitch: onTabSwitch };
8478
8579
  };
8479
8580
 
8480
- var StyledLink = styled(NavLink)(templateObject_2$f || (templateObject_2$f = __makeTemplateObject(["\n color: ", ";\n cursor: pointer;\n :visited {\n color: ", ";\n }\n :hover {\n color: ", ";\n }\n :active {\n color: ", ";\n }\n :focus {\n outline: none;\n }\n font-family: ", ";\n font-size: ", ";\n\n ", "\n"], ["\n color: ", ";\n cursor: pointer;\n :visited {\n color: ", ";\n }\n :hover {\n color: ", ";\n }\n :active {\n color: ", ";\n }\n :focus {\n outline: none;\n }\n font-family: ", ";\n font-size: ", ";\n\n ", "\n"])), function (_a) {
8581
+ var StyledLink$1 = styled(NavLink)(templateObject_2$f || (templateObject_2$f = __makeTemplateObject(["\n color: ", ";\n cursor: pointer;\n :visited {\n color: ", ";\n }\n :hover {\n color: ", ";\n }\n :active {\n color: ", ";\n }\n :focus {\n outline: none;\n }\n font-family: ", ";\n font-size: ", ";\n\n ", "\n"], ["\n color: ", ";\n cursor: pointer;\n :visited {\n color: ", ";\n }\n :hover {\n color: ", ";\n }\n :active {\n color: ", ";\n }\n :focus {\n outline: none;\n }\n font-family: ", ";\n font-size: ", ";\n\n ", "\n"])), function (_a) {
8481
8582
  var color = _a.color;
8482
8583
  return createRgba(color, 0.7);
8483
8584
  }, function (_a) {
@@ -8501,7 +8602,7 @@ var Link = function (props) {
8501
8602
  var theme = useTheme();
8502
8603
  var themeColor = props.color ? th.color(props.color)({ theme: theme }) : undefined;
8503
8604
  var themeFontSize = th.fontSize(props.size)({ theme: theme });
8504
- return (jsx(StyledLink, __assign({}, props, { color: themeColor, size: themeFontSize, children: props.children })));
8605
+ return (jsx(StyledLink$1, __assign({}, props, { color: themeColor, size: themeFontSize, children: props.children })));
8505
8606
  };
8506
8607
  Link.defaultProps = {
8507
8608
  to: '',
@@ -8513,36 +8614,68 @@ Link.defaultProps = {
8513
8614
  };
8514
8615
  var templateObject_1$j, templateObject_2$f;
8515
8616
 
8516
- styled$1(x.div)(templateObject_1$i || (templateObject_1$i = __makeTemplateObject(["\n width: 100%;\n display: flex;\n min-height: 48px;\n align-items: center;\n justify-content: space-between;\n border: ", ";\n border-radius: 8px;\n background-color: ", ";\n color: ", ";\n font-family: ", ";\n padding: 6px 5px 6px 5px;\n margin-bottom: 5px;\n position: relative;\n"], ["\n width: 100%;\n display: flex;\n min-height: 48px;\n align-items: center;\n justify-content: space-between;\n border: ", ";\n border-radius: 8px;\n background-color: ", ";\n color: ", ";\n font-family: ", ";\n padding: 6px 5px 6px 5px;\n margin-bottom: 5px;\n position: relative;\n"])), function (_a) {
8617
+ var StyledAlert = styled$1(x.div)(templateObject_1$i || (templateObject_1$i = __makeTemplateObject(["\n width: 100%;\n display: flex;\n min-height: 48px;\n align-items: center;\n justify-content: space-between;\n border: ", ";\n border-radius: 8px;\n background-color: ", ";\n color: ", ";\n font-family: ", ";\n padding: 6px 5px 6px 5px;\n margin-bottom: 5px;\n position: relative;\n"], ["\n width: 100%;\n display: flex;\n min-height: 48px;\n align-items: center;\n justify-content: space-between;\n border: ", ";\n border-radius: 8px;\n background-color: ", ";\n color: ", ";\n font-family: ", ";\n padding: 6px 5px 6px 5px;\n margin-bottom: 5px;\n position: relative;\n"])), function (_a) {
8517
8618
  var $inline = _a.$inline, $colorFill = _a.$colorFill;
8518
8619
  return ($inline ? "solid 1px ".concat($colorFill) : 'none');
8519
8620
  }, function (_a) {
8520
8621
  var $bgColor = _a.$bgColor;
8521
8622
  return $bgColor;
8522
8623
  }, th('colors.textPrimary'), th('fonts.primary'));
8523
- styled$1(x.div)(templateObject_2$e || (templateObject_2$e = __makeTemplateObject(["\n width: 4px;\n height: 36px;\n border-radius: 94px;\n background-color: ", ";\n"], ["\n width: 4px;\n height: 36px;\n border-radius: 94px;\n background-color: ", ";\n"])), function (_a) {
8624
+ var VerticalSeparator = styled$1(x.div)(templateObject_2$e || (templateObject_2$e = __makeTemplateObject(["\n width: 4px;\n height: 36px;\n border-radius: 94px;\n background-color: ", ";\n"], ["\n width: 4px;\n height: 36px;\n border-radius: 94px;\n background-color: ", ";\n"])), function (_a) {
8524
8625
  var $colorFill = _a.$colorFill;
8525
8626
  return $colorFill;
8526
8627
  });
8527
- styled$1(x.div)(templateObject_3$e || (templateObject_3$e = __makeTemplateObject(["\n margin: 0 13px 0 9px;\n"], ["\n margin: 0 13px 0 9px;\n"])));
8528
- styled$1.span(templateObject_4$a || (templateObject_4$a = __makeTemplateObject(["\n font-size: 14px;\n line-height: 18px;\n font-weight: 600;\n"], ["\n font-size: 14px;\n line-height: 18px;\n font-weight: 600;\n"])));
8529
- styled$1.span(templateObject_5$6 || (templateObject_5$6 = __makeTemplateObject(["\n font-size: 14px;\n line-height: 20px;\n font-weight: 400;\n"], ["\n font-size: 14px;\n line-height: 20px;\n font-weight: 400;\n"])));
8530
- styled$1(Link)(templateObject_6$6 || (templateObject_6$6 = __makeTemplateObject(["\n font-size: 14px;\n font-weight: 600;\n color: ", ";\n margin-right: 10px;\n"], ["\n font-size: 14px;\n font-weight: 600;\n color: ", ";\n margin-right: 10px;\n"])), function (_a) {
8628
+ var IconWrap = styled$1(x.div)(templateObject_3$e || (templateObject_3$e = __makeTemplateObject(["\n margin: 0 13px 0 9px;\n"], ["\n margin: 0 13px 0 9px;\n"])));
8629
+ var Title$1 = styled$1.span(templateObject_4$a || (templateObject_4$a = __makeTemplateObject(["\n font-size: 14px;\n line-height: 18px;\n font-weight: 600;\n"], ["\n font-size: 14px;\n line-height: 18px;\n font-weight: 600;\n"])));
8630
+ var Text$2 = styled$1.span(templateObject_5$6 || (templateObject_5$6 = __makeTemplateObject(["\n font-size: 14px;\n line-height: 20px;\n font-weight: 400;\n"], ["\n font-size: 14px;\n line-height: 20px;\n font-weight: 400;\n"])));
8631
+ var LinkWrapper = styled$1(Link)(templateObject_6$6 || (templateObject_6$6 = __makeTemplateObject(["\n font-size: 14px;\n font-weight: 600;\n color: ", ";\n margin-right: 10px;\n"], ["\n font-size: 14px;\n font-weight: 600;\n color: ", ";\n margin-right: 10px;\n"])), function (_a) {
8531
8632
  var $colorFill = _a.$colorFill;
8532
8633
  return $colorFill;
8533
8634
  });
8534
- styled$1.button(templateObject_7$4 || (templateObject_7$4 = __makeTemplateObject(["\n margin-right: 10px;\n font-size: 14px;\n font-weight: 600;\n color: ", ";\n border: none;\n background-color: transparent;\n cursor: pointer;\n"], ["\n margin-right: 10px;\n font-size: 14px;\n font-weight: 600;\n color: ", ";\n border: none;\n background-color: transparent;\n cursor: pointer;\n"])), function (_a) {
8635
+ var ActionButton = styled$1.button(templateObject_7$4 || (templateObject_7$4 = __makeTemplateObject(["\n margin-right: 10px;\n font-size: 14px;\n font-weight: 600;\n color: ", ";\n border: none;\n background-color: transparent;\n cursor: pointer;\n"], ["\n margin-right: 10px;\n font-size: 14px;\n font-weight: 600;\n color: ", ";\n border: none;\n background-color: transparent;\n cursor: pointer;\n"])), function (_a) {
8535
8636
  var $colorFill = _a.$colorFill;
8536
8637
  return $colorFill;
8537
8638
  });
8538
- styled$1.button(templateObject_8$1 || (templateObject_8$1 = __makeTemplateObject(["\n height: 30px;\n width: 30px;\n display: flex;\n justify-content: center;\n align-items: center;\n border: none;\n margin-right: 5px;\n background-color: transparent;\n & :hover {\n cursor: pointer;\n }\n"], ["\n height: 30px;\n width: 30px;\n display: flex;\n justify-content: center;\n align-items: center;\n border: none;\n margin-right: 5px;\n background-color: transparent;\n & :hover {\n cursor: pointer;\n }\n"])));
8539
- styled$1.div(templateObject_9$1 || (templateObject_9$1 = __makeTemplateObject(["\n position: absolute;\n top: 3px;\n right: 8px;\n color: ", ";\n font-size: 10px;\n"], ["\n position: absolute;\n top: 3px;\n right: 8px;\n color: ", ";\n font-size: 10px;\n"])), th('colors.gray'));
8639
+ var CloseBtn = styled$1.button(templateObject_8$1 || (templateObject_8$1 = __makeTemplateObject(["\n height: 30px;\n width: 30px;\n display: flex;\n justify-content: center;\n align-items: center;\n border: none;\n margin-right: 5px;\n background-color: transparent;\n & :hover {\n cursor: pointer;\n }\n"], ["\n height: 30px;\n width: 30px;\n display: flex;\n justify-content: center;\n align-items: center;\n border: none;\n margin-right: 5px;\n background-color: transparent;\n & :hover {\n cursor: pointer;\n }\n"])));
8640
+ var Description = styled$1.div(templateObject_9$1 || (templateObject_9$1 = __makeTemplateObject(["\n position: absolute;\n top: 3px;\n right: 8px;\n color: ", ";\n font-size: 10px;\n"], ["\n position: absolute;\n top: 3px;\n right: 8px;\n color: ", ";\n font-size: 10px;\n"])), th('colors.gray'));
8540
8641
  var templateObject_1$i, templateObject_2$e, templateObject_3$e, templateObject_4$a, templateObject_5$6, templateObject_6$6, templateObject_7$4, templateObject_8$1, templateObject_9$1;
8541
8642
 
8542
- styled.div(templateObject_1$h || (templateObject_1$h = __makeTemplateObject(["\n display: flex;\n justify-content: center;\n align-items: center;\n border-radius: 50%;\n overflow: hidden;\n color: ", ";\n background-color: ", ";\n width: ", ";\n height: ", ";\n svg {\n font-size: ", ";\n }\n :hover {\n background-color: ", ";\n }\n"], ["\n display: flex;\n justify-content: center;\n align-items: center;\n border-radius: 50%;\n overflow: hidden;\n color: ", ";\n background-color: ", ";\n width: ", ";\n height: ", ";\n svg {\n font-size: ", ";\n }\n :hover {\n background-color: ", ";\n }\n"])), function (props) { return props.$colorFront ? th.color(props.$colorFront) : 'auto'; }, function (props) { return props.$colorBack ? th.color(props.$colorBack) : 'auto'; }, function (props) { return "".concat(props.size, "px"); }, function (props) { return "".concat(props.size, "px"); }, function (props) { return "".concat(props.size / 2, "px"); }, function (props) { return props.$hoverColorBack ? th.color(props.$hoverColorBack) : 'auto'; });
8643
+ var alertBackgroundColor = {
8644
+ success: 'green10',
8645
+ info: 'blue10',
8646
+ warning: 'yellow10',
8647
+ danger: 'red10',
8648
+ };
8649
+ var alertColorFill = {
8650
+ success: 'successColor',
8651
+ info: 'blue60',
8652
+ warning: 'yellow70',
8653
+ danger: 'dangerColor',
8654
+ };
8655
+ var alertIconMap = {
8656
+ success: 'circleCheck',
8657
+ info: 'info',
8658
+ warning: 'circleTriangle',
8659
+ danger: 'circleTriangle',
8660
+ };
8661
+ var Alert = function (props) {
8662
+ var intent = props.intent, inline = props.inline, onClick = props.onClick, onClose = props.onClose, title = props.title, text = props.text, href = props.href, actionLabel = props.actionLabel, actionType = props.actionType, desc = props.desc, _a = props.closeAnywhere, closeAnywhere = _a === void 0 ? false : _a;
8663
+ var theme = useTheme();
8664
+ var bgColor = th.color(intent ? alertBackgroundColor[intent] : 'transparent')({ theme: theme });
8665
+ var colorFill = th.color(intent ? alertColorFill[intent] : 'transparent')({ theme: theme });
8666
+ var icon = intent && alertIconMap[intent];
8667
+ return (jsxs(StyledAlert, { "$bgColor": bgColor, "$colorFill": colorFill, "$inline": inline, onClick: closeAnywhere ? onClose : undefined, children: [jsxs(x.div, { display: "flex", alignItems: "center", children: [inline && jsx(VerticalSeparator, { "$colorFill": colorFill }), icon && (jsx(IconWrap, { children: jsx(Icon, { icon: icon, size: "20px", fill: colorFill }) })), jsxs("div", { children: [jsx(Title$1, { children: title }), jsxs(Text$2, { children: [" ", text] })] })] }), jsxs(x.div, { display: "flex", alignItems: "center", children: [href && actionType === 'link' && (jsx(LinkWrapper, { "$colorFill": colorFill, to: href, children: actionLabel !== null && actionLabel !== void 0 ? actionLabel : 'Link' })), onClick && actionType === 'button' && (jsx(ActionButton, { "$colorFill": colorFill, onClick: onClick, children: actionLabel !== null && actionLabel !== void 0 ? actionLabel : 'Submit' })), onClose && !closeAnywhere && (jsx(CloseBtn, { onClick: onClose, children: jsx(Icon, { icon: "close", size: "15px", fill: "gray" }) })), desc && jsx(Description, { children: desc })] })] }));
8668
+ };
8669
+
8670
+ var defaultDimension = 100;
8671
+ var StyledAvatarWrap = styled.div(templateObject_1$h || (templateObject_1$h = __makeTemplateObject(["\n display: flex;\n justify-content: center;\n align-items: center;\n border-radius: 50%;\n overflow: hidden;\n color: ", ";\n background-color: ", ";\n width: ", ";\n height: ", ";\n svg {\n font-size: ", ";\n }\n :hover {\n background-color: ", ";\n }\n"], ["\n display: flex;\n justify-content: center;\n align-items: center;\n border-radius: 50%;\n overflow: hidden;\n color: ", ";\n background-color: ", ";\n width: ", ";\n height: ", ";\n svg {\n font-size: ", ";\n }\n :hover {\n background-color: ", ";\n }\n"])), function (props) { return props.$colorFront ? th.color(props.$colorFront) : 'auto'; }, function (props) { return props.$colorBack ? th.color(props.$colorBack) : 'auto'; }, function (props) { return "".concat(props.size, "px"); }, function (props) { return "".concat(props.size, "px"); }, function (props) { return "".concat(props.size / 2, "px"); }, function (props) { return props.$hoverColorBack ? th.color(props.$hoverColorBack) : 'auto'; });
8672
+ var Avatar = function (_a) {
8673
+ var src = _a.src, _b = _a.size, size = _b === void 0 ? defaultDimension : _b, colorFront = _a.colorFront, colorBack = _a.colorBack, className = _a.className, hoverColorBack = _a.hoverColorBack, rest = __rest(_a, ["src", "size", "colorFront", "colorBack", "className", "hoverColorBack"]);
8674
+ return (jsx(Fragment, { children: jsx(StyledAvatarWrap, __assign({ size: size, className: className, "$colorBack": colorBack || 'red2', "$colorFront": colorFront || 'white', "$hoverColorBack": hoverColorBack }, rest, { children: src ? jsx("img", { src: src, width: size, height: size }) : jsx(Icon, { icon: "avatar" }) })) }));
8675
+ };
8543
8676
  var templateObject_1$h;
8544
8677
 
8545
- styled.div(templateObject_1$g || (templateObject_1$g = __makeTemplateObject(["\n display: flex;\n align-items: center;\n justify-content: center;\n padding: 2px;\n color: white;\n background-color: ", ";\n border-radius: 50%;\n width: ", ";\n height: ", ";\n\n .label {\n font-family: ", ";\n font-weight: 600;\n vertical-align: middle;\n text-align: center;\n font-size: ", ";\n }\n\n position: absolute;\n top: 0;\n right: 0;\n transform: translate(", ");\n"], ["\n display: flex;\n align-items: center;\n justify-content: center;\n padding: 2px;\n color: white;\n background-color: ", ";\n border-radius: 50%;\n width: ", ";\n height: ", ";\n\n .label {\n font-family: ", ";\n font-weight: 600;\n vertical-align: middle;\n text-align: center;\n font-size: ", ";\n }\n\n position: absolute;\n top: 0;\n right: 0;\n transform: translate(", ");\n"])), function (_a) {
8678
+ var Circle = styled.div(templateObject_1$g || (templateObject_1$g = __makeTemplateObject(["\n display: flex;\n align-items: center;\n justify-content: center;\n padding: 2px;\n color: white;\n background-color: ", ";\n border-radius: 50%;\n width: ", ";\n height: ", ";\n\n .label {\n font-family: ", ";\n font-weight: 600;\n vertical-align: middle;\n text-align: center;\n font-size: ", ";\n }\n\n position: absolute;\n top: 0;\n right: 0;\n transform: translate(", ");\n"], ["\n display: flex;\n align-items: center;\n justify-content: center;\n padding: 2px;\n color: white;\n background-color: ", ";\n border-radius: 50%;\n width: ", ";\n height: ", ";\n\n .label {\n font-family: ", ";\n font-weight: 600;\n vertical-align: middle;\n text-align: center;\n font-size: ", ";\n }\n\n position: absolute;\n top: 0;\n right: 0;\n transform: translate(", ");\n"])), function (_a) {
8546
8679
  var color = _a.color;
8547
8680
  return color;
8548
8681
  }, function (_a) {
@@ -8558,14 +8691,28 @@ styled.div(templateObject_1$g || (templateObject_1$g = __makeTemplateObject(["\n
8558
8691
  var topPosition = _a.topPosition;
8559
8692
  return (topPosition ? '75%, -75%' : '50%, -50%');
8560
8693
  });
8561
- styled.div(templateObject_3$d || (templateObject_3$d = __makeTemplateObject(["\n position: relative;\n ", ";\n"], ["\n position: relative;\n ", ";\n"])), function (_a) {
8694
+ var RelativeWrap = styled.div(templateObject_3$d || (templateObject_3$d = __makeTemplateObject(["\n position: relative;\n ", ";\n"], ["\n position: relative;\n ", ";\n"])), function (_a) {
8562
8695
  var width = _a.width;
8563
8696
  return width
8564
8697
  ? css(templateObject_2$d || (templateObject_2$d = __makeTemplateObject(["\n width: ", ";\n "], ["\n width: ", ";\n "])), width) : '';
8565
8698
  });
8699
+ var Badge = function (_a) {
8700
+ var children = _a.children, _b = _a.color, color = _b === void 0 ? 'red2' : _b, _c = _a.size, size = _c === void 0 ? 6 : _c, _d = _a.fontSize, fontSize = _d === void 0 ? 10 : _d, label = _a.label, childWidth = _a.childWidth, topPosition = _a.topPosition;
8701
+ var theme = useTheme();
8702
+ var themeColor = th.color(color)({ theme: theme });
8703
+ var themeSize = th.fontSize(size)({ theme: theme });
8704
+ if (!label || (typeof label === 'number' && label <= 0)) {
8705
+ return jsx(Fragment, { children: children });
8706
+ }
8707
+ return (jsxs(RelativeWrap, { width: childWidth, children: [jsx(Circle, { color: themeColor, size: themeSize, topPosition: topPosition, fontSize: fontSize, children: jsx("div", { className: "label", children: label }) }), children] }));
8708
+ };
8566
8709
  var templateObject_1$g, templateObject_2$d, templateObject_3$d;
8567
8710
 
8568
- styled(x.div)(templateObject_1$f || (templateObject_1$f = __makeTemplateObject(["\n display: flex;\n box-sizing: border-box;\n flex-direction: column;\n padding: 3;\n border: slim;\n border-color: lightGray3;\n border-radius: md;\n"], ["\n display: flex;\n box-sizing: border-box;\n flex-direction: column;\n padding: 3;\n border: slim;\n border-color: lightGray3;\n border-radius: md;\n"])));
8711
+ var StyledBox = styled(x.div)(templateObject_1$f || (templateObject_1$f = __makeTemplateObject(["\n display: flex;\n box-sizing: border-box;\n flex-direction: column;\n padding: 3;\n border: slim;\n border-color: lightGray3;\n border-radius: md;\n"], ["\n display: flex;\n box-sizing: border-box;\n flex-direction: column;\n padding: 3;\n border: slim;\n border-color: lightGray3;\n border-radius: md;\n"])));
8712
+ var BorderedBox = function (_a) {
8713
+ var children = _a.children, className = _a.className, id = _a.id, rest = __rest(_a, ["children", "className", "id"]);
8714
+ return (jsx(StyledBox, __assign({ id: id, className: className }, rest, { children: children })));
8715
+ };
8569
8716
  var templateObject_1$f;
8570
8717
 
8571
8718
  var wrapper = css(templateObject_1$e || (templateObject_1$e = __makeTemplateObject(["\n display: flex;\n box-sizing: border-box;\n font-family: ", ";\n :after {\n box-sizing: border-box;\n }\n"], ["\n display: flex;\n box-sizing: border-box;\n font-family: ", ";\n :after {\n box-sizing: border-box;\n }\n"])), th('fonts.primary'));
@@ -8593,7 +8740,7 @@ var ImageWrapper = styled(x.div)(templateObject_5$5 || (templateObject_5$5 = __m
8593
8740
  var color = _a.color;
8594
8741
  return color;
8595
8742
  }, down('lg', css(templateObject_4$9 || (templateObject_4$9 = __makeTemplateObject(["\n display: none;\n "], ["\n display: none;\n "])))));
8596
- var StyledImage = styled(x.div)(templateObject_6$5 || (templateObject_6$5 = __makeTemplateObject(["\n display: flex;\n align-self: center;\n justify-content: center;\n object-fit: cover;\n"], ["\n display: flex;\n align-self: center;\n justify-content: center;\n object-fit: cover;\n"])));
8743
+ var StyledImage$1 = styled(x.div)(templateObject_6$5 || (templateObject_6$5 = __makeTemplateObject(["\n display: flex;\n align-self: center;\n justify-content: center;\n object-fit: cover;\n"], ["\n display: flex;\n align-self: center;\n justify-content: center;\n object-fit: cover;\n"])));
8597
8744
  var StyledBody = styled(x.div)(templateObject_7$3 || (templateObject_7$3 = __makeTemplateObject(["\n ", ";\n justify-content: center;\n flex-direction: column;\n"], ["\n ", ";\n justify-content: center;\n flex-direction: column;\n"])), wrapper);
8598
8745
  var templateObject_1$e, templateObject_2$c, templateObject_3$c, templateObject_4$9, templateObject_5$5, templateObject_6$5, templateObject_7$3;
8599
8746
 
@@ -8609,7 +8756,7 @@ var CardImage = function (_a) {
8609
8756
  var children = _a.children, _b = _a.color, color = _b === void 0 ? 'white' : _b, rest = __rest(_a, ["children", "color"]);
8610
8757
  var theme = useTheme();
8611
8758
  var themeColor = th.color(color)({ theme: theme });
8612
- return (jsx(ImageWrapper, { color: themeColor, children: jsx(StyledImage, __assign({}, rest, { children: children })) }));
8759
+ return (jsx(ImageWrapper, { color: themeColor, children: jsx(StyledImage$1, __assign({}, rest, { children: children })) }));
8613
8760
  };
8614
8761
 
8615
8762
  var ArrowInnerB = styled.div(templateObject_1$d || (templateObject_1$d = __makeTemplateObject([""], [""])));
@@ -8618,7 +8765,7 @@ var Arrow = styled.div(templateObject_3$b || (templateObject_3$b = __makeTemplat
8618
8765
  var verticalShift = _a.verticalShift;
8619
8766
  return (verticalShift ? 'calc(50% + 70px)' : 'calc(50%)');
8620
8767
  }, ArrowInnerA, ArrowInnerB, th.color('white'));
8621
- styled.div(templateObject_4$8 || (templateObject_4$8 = __makeTemplateObject(["\n position: absolute;\n\n ", "\n\n width: fit-content;\n height: fit-content;\n display: block;\n z-index: 1;\n\n ", " {\n display: ", ";\n }\n"], ["\n position: absolute;\n\n ", "\n\n width: fit-content;\n height: fit-content;\n display: block;\n z-index: 1;\n\n ", " {\n display: ", ";\n }\n"])), function (_a) {
8768
+ var StyledDropdownWrap = styled.div(templateObject_4$8 || (templateObject_4$8 = __makeTemplateObject(["\n position: absolute;\n\n ", "\n\n width: fit-content;\n height: fit-content;\n display: block;\n z-index: 1;\n\n ", " {\n display: ", ";\n }\n"], ["\n position: absolute;\n\n ", "\n\n width: fit-content;\n height: fit-content;\n display: block;\n z-index: 1;\n\n ", " {\n display: ", ";\n }\n"])), function (_a) {
8622
8769
  var customDropdownPosition = _a.customDropdownPosition, verticalShift = _a.verticalShift;
8623
8770
  return customDropdownPosition
8624
8771
  ? customDropdownPosition
@@ -8627,18 +8774,39 @@ styled.div(templateObject_4$8 || (templateObject_4$8 = __makeTemplateObject(["\n
8627
8774
  var showArrow = _a.showArrow;
8628
8775
  return (showArrow ? 'block' : 'none');
8629
8776
  });
8777
+ var Dropdown = function (_a) {
8778
+ var show = _a.show, className = _a.className, wrapRef = _a.wrapRef, children = _a.children, showArrow = _a.showArrow, verticalShift = _a.verticalShift, customDropdownPosition = _a.customDropdownPosition;
8779
+ return (jsx(Fragment, { children: show && (jsxs(StyledDropdownWrap, { ref: wrapRef, className: className, showArrow: showArrow, verticalShift: verticalShift, customDropdownPosition: customDropdownPosition, children: [jsx(Arrow, { verticalShift: verticalShift, children: jsx(ArrowInnerA, { children: jsx(ArrowInnerB, {}) }) }), children] })) }));
8780
+ };
8630
8781
  var templateObject_1$d, templateObject_2$b, templateObject_3$b, templateObject_4$8;
8631
8782
 
8632
8783
  var tooltip = css(templateObject_1$c || (templateObject_1$c = __makeTemplateObject(["\n span {\n display: none;\n position: absolute;\n width: 120px;\n background-color: red1;\n color: white;\n text-align: center;\n border-radius: md;\n padding: 1;\n z-index: 1;\n transition: opacity 0.3s;\n top: 0;\n margin-top: -4px;\n left: 100%;\n margin-left: 2;\n box-shadow: tooltipBoxShadow;\n\n :after {\n content: '';\n position: absolute;\n top: 3px;\n right: 100%;\n border: mediumThick;\n border-color: transparent ", " transparent transparent;\n }\n }\n\n :hover {\n cursor: pointer;\n span {\n display: block;\n }\n }\n"], ["\n span {\n display: none;\n position: absolute;\n width: 120px;\n background-color: red1;\n color: white;\n text-align: center;\n border-radius: md;\n padding: 1;\n z-index: 1;\n transition: opacity 0.3s;\n top: 0;\n margin-top: -4px;\n left: 100%;\n margin-left: 2;\n box-shadow: tooltipBoxShadow;\n\n :after {\n content: '';\n position: absolute;\n top: 3px;\n right: 100%;\n border: mediumThick;\n border-color: transparent ", " transparent transparent;\n }\n }\n\n :hover {\n cursor: pointer;\n span {\n display: block;\n }\n }\n"])), th.color('red1'));
8633
- styled.div(templateObject_2$a || (templateObject_2$a = __makeTemplateObject(["\n color: red1;\n font-size: 1;\n display: flex;\n align-items: flex-start;\n\n svg {\n min-width: 13px;\n width: 13px;\n fill: red1;\n }\n"], ["\n color: red1;\n font-size: 1;\n display: flex;\n align-items: flex-start;\n\n svg {\n min-width: 13px;\n width: 13px;\n fill: red1;\n }\n"])));
8634
- styled.div(templateObject_3$a || (templateObject_3$a = __makeTemplateObject(["\n .inline {\n margin-top: 1;\n svg {\n margin-right: 2;\n }\n }\n .tooltip {\n ", "\n svg {\n position: absolute;\n top: 0;\n right: 0;\n }\n }\n"], ["\n .inline {\n margin-top: 1;\n svg {\n margin-right: 2;\n }\n }\n .tooltip {\n ", "\n svg {\n position: absolute;\n top: 0;\n right: 0;\n }\n }\n"])), tooltip);
8784
+ var ErrorWrap = styled.div(templateObject_2$a || (templateObject_2$a = __makeTemplateObject(["\n color: red1;\n font-size: 1;\n display: flex;\n align-items: flex-start;\n\n svg {\n min-width: 13px;\n width: 13px;\n fill: red1;\n }\n"], ["\n color: red1;\n font-size: 1;\n display: flex;\n align-items: flex-start;\n\n svg {\n min-width: 13px;\n width: 13px;\n fill: red1;\n }\n"])));
8785
+ var StyledWrapper = styled.div(templateObject_3$a || (templateObject_3$a = __makeTemplateObject(["\n .inline {\n margin-top: 1;\n svg {\n margin-right: 2;\n }\n }\n .tooltip {\n ", "\n svg {\n position: absolute;\n top: 0;\n right: 0;\n }\n }\n"], ["\n .inline {\n margin-top: 1;\n svg {\n margin-right: 2;\n }\n }\n .tooltip {\n ", "\n svg {\n position: absolute;\n top: 0;\n right: 0;\n }\n }\n"])), tooltip);
8786
+ var ErrorMessage = function (_a) {
8787
+ var children = _a.children, appearance = _a.appearance;
8788
+ return (jsx(StyledWrapper, { children: jsxs(ErrorWrap, { className: appearance, children: [jsx(Icon, { icon: "danger" }), jsx("span", { children: children })] }) }));
8789
+ };
8635
8790
  var templateObject_1$c, templateObject_2$a, templateObject_3$a;
8636
8791
 
8792
+ var formatScrSet = function (srcSet, imageProps) {
8793
+ return Object.entries(srcSet)
8794
+ .map(function (_a) {
8795
+ var width = _a[0], src = _a[1];
8796
+ return "".concat(src, " ").concat(width);
8797
+ })
8798
+ .join(', ');
8799
+ };
8800
+ var Image = function (props) {
8801
+ var srcSetString = props.srcSet ? formatScrSet(props.srcSet) : undefined;
8802
+ return jsx(Img, __assign({}, props, { srcSet: srcSetString, src: props.src }));
8803
+ };
8804
+
8637
8805
  var style = css(templateObject_1$b || (templateObject_1$b = __makeTemplateObject(["\n color: ", ";\n font-family: ", ";\n font-weight: bold;\n display: block;\n margin-bottom: 6px;\n"], ["\n color: ", ";\n font-family: ", ";\n font-weight: bold;\n display: block;\n margin-bottom: 6px;\n"])), function (_a) {
8638
8806
  var $isInvalid = _a.$isInvalid;
8639
8807
  return ($isInvalid ? th.color('red1') : th.color('typoPrimary'));
8640
8808
  }, th('fonts.primary'));
8641
- var Label$1 = styled.label(templateObject_3$9 || (templateObject_3$9 = __makeTemplateObject(["\n margin-left: 8px;\n ", ";\n ", "\n ", ";\n"], ["\n margin-left: 8px;\n ", ";\n ", "\n ", ";\n"])), style, function (_a) {
8809
+ var Label$2 = styled.label(templateObject_3$9 || (templateObject_3$9 = __makeTemplateObject(["\n margin-left: 8px;\n ", ";\n ", "\n ", ";\n"], ["\n margin-left: 8px;\n ", ";\n ", "\n ", ";\n"])), style, function (_a) {
8642
8810
  var fontSize = _a.fontSize;
8643
8811
  return fontSize
8644
8812
  ? css(templateObject_2$9 || (templateObject_2$9 = __makeTemplateObject(["\n font-size: ", ";\n "], ["\n font-size: ", ";\n "])), fontSize) : null;
@@ -8652,31 +8820,87 @@ var gabs = {
8652
8820
  medium: '10px',
8653
8821
  large: '20px',
8654
8822
  };
8655
- styled.div(templateObject_1$a || (templateObject_1$a = __makeTemplateObject(["\n width: 100%;\n border-bottom: 1px ", ";\n border-bottom-color: lightGray3;\n margin: ", ";\n"], ["\n width: 100%;\n border-bottom: 1px ", ";\n border-bottom-color: lightGray3;\n margin: ", ";\n"])), function (_a) {
8823
+ var LineComponent = styled.div(templateObject_1$a || (templateObject_1$a = __makeTemplateObject(["\n width: 100%;\n border-bottom: 1px ", ";\n border-bottom-color: lightGray3;\n margin: ", ";\n"], ["\n width: 100%;\n border-bottom: 1px ", ";\n border-bottom-color: lightGray3;\n margin: ", ";\n"])), function (_a) {
8656
8824
  var variant = _a.variant;
8657
8825
  return variant;
8658
8826
  }, function (_a) {
8659
8827
  var gab = _a.gab, gabTop = _a.gabTop, gabBottom = _a.gabBottom;
8660
8828
  return "".concat(gabs[gab] || gabs[gabTop], " 0 ").concat(gabs[gab] || gabs[gabBottom]);
8661
8829
  });
8830
+ var Line = function (_a) {
8831
+ var _b = _a.gab, gab = _b === void 0 ? 'none' : _b, _c = _a.gabTop, gabTop = _c === void 0 ? 'none' : _c, _d = _a.gabBottom, gabBottom = _d === void 0 ? 'none' : _d, _e = _a.variant, variant = _e === void 0 ? 'solid' : _e;
8832
+ return (jsx(LineComponent, { gab: gab, gabTop: gabTop, gabBottom: gabBottom, variant: variant }));
8833
+ };
8662
8834
  var templateObject_1$a;
8663
8835
 
8836
+ var logoWhiteImage = "ba2267d1dea00b65.png";
8837
+
8838
+ var logoBlackImage = "2b1ddee3e1b3cc7f.png";
8839
+
8840
+ var logoMImage = "data:image/png;base64,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";
8841
+
8842
+ var logoSvg = "data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22239.398%22%20height%3D%2268.428%22%20viewBox%3D%220%200%20239.398%2068.428%22%3E%20%20%3Cg%20id%3D%22Group_7689%22%20data-name%3D%22Group%207689%22%20transform%3D%22translate%28-9808.002%2019883.955%29%22%3E%20%20%20%20%3Cpath%20id%3D%22Path_3997%22%20data-name%3D%22Path%203997%22%20d%3D%22M264.019%2C322.535V303.762c0-1.3-.145-3.624-1.957-3.624-2.611%2C0-2.9%2C3.407-2.9%2C5.293v17.1H246.62V303.907c0-1.522-.073-3.481-2.028-3.481-2.9%2C0-2.828%2C3.191-2.828%2C5.293v16.817h-12.54V288.683h12.54v1.741c0%2C1.3-.073%2C2.609-.145%2C3.914%2C1.957-3.7%2C4.133-6.38%2C8.625-6.38%2C4.787%2C0%2C7.251%2C2.973%2C8.989%2C7.032%2C1.45-4.131%2C3.7-7.032%2C8.409-7.032a8.921%2C8.921%2C0%2C0%2C1%2C5.945%2C2.247c2.682%2C2.466%2C2.972%2C5.728%2C2.972%2C9.134v23.2Z%22%20transform%3D%22translate%289578.778%20-20153.648%29%22%20fill%3D%22%23e4001b%22%2F%3E%20%20%20%20%3Cpath%20id%3D%22Path_3998%22%20data-name%3D%22Path%203998%22%20d%3D%22M279.461%2C322.535c.145-1.883.29-3.843.435-5.726-1.812%2C3.624-4.349%2C6.452-8.7%2C6.452-8.554%2C0-10.294-11.31-10.294-17.831%2C0-6.742%2C1.959-17.472%2C10.583-17.472%2C4.06%2C0%2C6.525%2C2.683%2C8.119%2C6.09-.145-1.812-.145-3.551-.362-5.365h12.83v33.852Zm-2.754-24.211c-3.262%2C0-3.191%2C6.235-3.191%2C8.48%2C0%2C1.886.145%2C6.091%2C2.827%2C6.091%2C3.336%2C0%2C2.973-6.525%2C2.973-8.773C279.316%2C302.312%2C279.243%2C298.324%2C276.707%2C298.324Z%22%20transform%3D%22translate%289599.282%20-20153.648%29%22%20fill%3D%22%23121415%22%2F%3E%20%20%20%20%3Cpath%20id%3D%22Path_3999%22%20data-name%3D%22Path%203999%22%20d%3D%22M290.049%2C292.215a7.409%2C7.409%2C0%2C0%2C1-7.322-7.393%2C7.322%2C7.322%2C0%2C1%2C1%2C7.322%2C7.393Zm-6.307%2C37.041V295.4h12.54v33.852Z%22%20transform%3D%22translate%289613.406%20-20160.371%29%22%20fill%3D%22%23121415%22%2F%3E%20%20%20%20%3Cpath%20id%3D%22Path_4000%22%20data-name%3D%22Path%204000%22%20d%3D%22M294.475%2C329.712V276.869h12.54v52.843Z%22%20transform%3D%22translate%289621.012%20-20160.824%29%22%20fill%3D%22%23121415%22%2F%3E%20%20%20%20%3Cpath%20id%3D%22Path_4001%22%20data-name%3D%22Path%204001%22%20d%3D%22M325.662%2C299.92c-1.3-1.3-3.187-2.973-5.146-2.973a1.748%2C1.748%2C0%2C0%2C0-1.957%2C1.6c0%2C4.059%2C11.961%2C2.609%2C11.961%2C12.83%2C0%2C7.683-6.523%2C11.888-13.628%2C11.888-4.711%2C0-7.974-1.377-12.033-3.553l4.566-9.351c1.522%2C1.595%2C3.988%2C3.552%2C6.307%2C3.552%2C1.087%2C0%2C2.464-.507%2C2.464-1.812%2C0-3.479-12.18-2.537-12.18-12.54%2C0-7.538%2C7.1-11.6%2C13.919-11.6a22.292%2C22.292%2C0%2C0%2C1%2C10.076%2C2.756Z%22%20transform%3D%22translate%289627.732%20-20153.648%29%22%20fill%3D%22%23121415%22%2F%3E%20%20%20%20%3Cpath%20id%3D%22Path_4002%22%20data-name%3D%22Path%204002%22%20d%3D%22M340.167%2C329.712v-17.9c0-1.45.073-4.133-1.958-4.133-2.464%2C0-2.68%2C3.191-2.68%2C5v17.034H322.986V276.869h12.542v18.92c0%2C2.174-.145%2C4.349-.29%2C6.523%2C1.665-3.914%2C4.349-7.177%2C8.915-7.177%2C6.525%2C0%2C8.625%2C5.945%2C8.625%2C11.526v23.051Z%22%20transform%3D%22translate%289639.464%20-20160.824%29%22%20fill%3D%22%23121415%22%2F%3E%20%20%20%20%3Cpath%20id%3D%22Path_4003%22%20data-name%3D%22Path%204003%22%20d%3D%22M351.3%2C292.215a7.409%2C7.409%2C0%2C0%2C1-7.32-7.393%2C7.321%2C7.321%2C0%2C1%2C1%2C7.32%2C7.393Zm-6.307%2C37.041V295.4h12.54v33.852Z%22%20transform%3D%22translate%289653.049%20-20160.371%29%22%20fill%3D%22%23121415%22%2F%3E%20%20%20%20%3Cpath%20id%3D%22Path_4004%22%20data-name%3D%22Path%204004%22%20d%3D%22M367.972%2C293.468c1.74-3.263%2C3.843-5.51%2C7.757-5.51%2C8.625%2C0%2C11.018%2C10.875%2C11.018%2C17.688%2C0%2C6.74-2.031%2C17.616-10.728%2C17.616-3.914%2C0-6.088-2.25-8.047-5.293.145%2C1.884.292%2C3.7.292%2C5.581v14.571H355.723V288.683h12.541Zm2.827%2C4.856c-2.682%2C0-2.9%2C5.22-2.9%2C7.106%2C0%2C1.81.218%2C7.246%2C2.828%2C7.246%2C2.827%2C0%2C3.044-5.582%2C3.044-7.538C373.772%2C303.254%2C373.482%2C298.324%2C370.8%2C298.324Z%22%20transform%3D%22translate%289660.653%20-20153.648%29%22%20fill%3D%22%23121415%22%2F%3E%20%20%3C%2Fg%3E%3C%2Fsvg%3E";
8843
+
8844
+ var logoMailstepBlack = "data:image/svg+xml,%3Csvg%20width%3D%22138px%22%20height%3D%2239px%22%20viewBox%3D%220%200%20138%2039%22%20version%3D%221.1%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22%20class%3D%22Header-logo%22%3E%20%3Ctitle%3EGroup%209%3C%2Ftitle%3E%20%3Cdefs%3E%20%20%3Cpolygon%20id%3D%22path-1%22%20points%3D%226.359447e-05%200%20137.821904%200%20137.821904%2038.9675115%206.359447e-05%2038.9675115%22%3E%3C%2Fpolygon%3E%20%3C%2Fdefs%3E%20%3Cg%20id%3D%22HP%22%20stroke%3D%22none%22%20stroke-width%3D%221%22%20fill%3D%22none%22%20fill-rule%3D%22evenodd%22%3E%20%20%3Cg%20id%3D%22HP-1.2-%28tmav%C3%A1%29%22%20transform%3D%22translate%28-260.000000%2C%20-29.000000%29%22%3E%20%20%20%3Cg%20id%3D%22Group-9%22%20transform%3D%22translate%28260.000000%2C%2029.000000%29%22%3E%20%20%20%20%3Cg%20id%3D%22Clip-2%22%3E%3C%2Fg%3E%20%20%20%20%3Cpath%20%20fill%3D%22black%22%20d%3D%22M48.9009677%2C30.6111982%20L55.5624885%2C30.6111982%20L55.5624885%2C10.4867281%20L48.9009677%2C10.4867281%20L48.9009677%2C30.6111982%20Z%20M52.198341%2C0%20C49.7499539%2C0%2048.5575576%2C1.97142857%2048.5575576%2C3.98419355%20C48.5575576%2C5.9524424%2049.7499539%2C7.9683871%2052.198341%2C7.9683871%20C54.6721659%2C7.9683871%2055.8836406%2C5.9524424%2055.8836406%2C3.98419355%20C55.8836406%2C1.97142857%2054.6721659%2C0%2052.198341%2C0%20L52.198341%2C0%20Z%20M58.5164516%2C30.6111982%20L65.1557143%2C30.6111982%20L65.1557143%2C0.206682028%20L58.5164516%2C0.206682028%20L58.5164516%2C30.6111982%20Z%20M75.8491244%2C17.882765%20C74.4977419%2C17.583871%2074.0176037%2C17.3104147%2074.0176037%2C16.6903687%20C74.0176037%2C16.2102304%2074.313318%2C15.8223041%2075.6201843%2C15.8223041%20C76.739447%2C15.8223041%2078.1130876%2C16.3247005%2079.143318%2C16.7380645%20L80.4501843%2C11.6091705%20C79.143318%2C10.9000922%2077.8618894%2C10.2800461%2074.2465438%2C10.2800461%20C69.9411982%2C10.2800461%2067.8807373%2C13.6473733%2067.8807373%2C16.9415668%20C67.8807373%2C20.0576959%2069.184424%2C22.1849309%2072.1383871%2C23.0084793%20C73.6042396%2C23.4218433%2074.1066359%2C23.9496774%2074.1066359%2C24.5665438%20C74.1066359%2C25.1834101%2073.6042396%2C25.5268203%2072.7584332%2C25.5268203%20C71.4515668%2C25.5268203%2070.0334101%2C25.024424%2068.7742396%2C24.2676498%20L67.1239631%2C28.5284793%20C68.6375115%2C29.8321659%2070.4435945%2C31.1135945%2073.4198157%2C31.1135945%20C78.6631797%2C31.1135945%2081.2514747%2C27.9306912%2081.2514747%2C24.2453917%20C81.2514747%2C21.4058986%2079.46447%2C18.6141014%2075.8491244%2C17.882765%20L75.8491244%2C17.882765%20Z%20M91.1404147%2C10.4867281%20L91.1404147%2C4.69327189%20L84.478894%2C4.69327189%20L84.478894%2C10.4867281%20L82.8317972%2C10.4867281%20L82.8317972%2C16.7825806%20L84.478894%2C16.7825806%20L84.478894%2C30.6111982%20L91.1404147%2C30.6111982%20L91.1404147%2C16.7825806%20L93.4775115%2C16.7825806%20L93.4775115%2C10.4867281%20L91.1404147%2C10.4867281%20Z%22%20id%3D%22Fill-1%22%20class%3D%22Header-logoLetter%22%3E%3C%2Fpath%3E%20%20%20%20%3Cpath%20%20fill%3D%22black%22%20d%3D%22M122.069553%2C24.3598935%20L122.047295%2C24.3598935%20C120.629139%2C24.3598935%20119.894623%2C22.5506309%20119.894623%2C20.7445479%20C119.894623%2C18.9575433%20120.629139%2C17.1482806%20122.047295%2C17.1482806%20L122.069553%2C17.1482806%20C123.49089%2C17.1482806%20124.222226%2C18.9575433%20124.222226%2C20.7445479%20C124.222226%2C22.5506309%20123.49089%2C24.3598935%20122.069553%2C24.3598935%20M124.085498%2C10.1878659%20C123.239692%2C10.1878659%20122.597388%2C10.3722899%20122.047295%2C10.6711839%20C121.109277%2C11.1735802%20120.536927%2C12.0448244%20120.056788%2C12.9128889%20L120.056788%2C10.4867599%20L113.417526%2C10.4867599%20L113.417526%2C38.9675433%20L120.056788%2C38.9675433%20L120.056788%2C28.7097553%20C120.444715%2C29.4188336%20120.924853%2C30.2900779%20122.047295%2C30.7479581%20C122.575129%2C30.9768982%20123.214254%2C31.1136263%20124.085498%2C31.1136263%20C128.365406%2C31.1136263%20130.518079%2C25.8957%20130.518079%2C20.674594%20C130.518079%2C15.4089719%20128.365406%2C10.1878659%20124.085498%2C10.1878659%22%20id%3D%22Fill-5%22%20class%3D%22Header-logoLetter%22%3E%3C%2Fpath%3E%20%20%20%20%3Cpath%20%20fill%3D%22black%22%20d%3D%22M101.465009%2C17.882765%20C101.465009%2C17.3899078%20101.579479%2C16.7698618%20101.865654%2C16.2770046%20C102.151829%2C15.7809677%20102.609709%2C15.4089401%20103.296529%2C15.4089401%20C104.647912%2C15.4311982%20105.12805%2C16.8048387%20105.12805%2C17.882765%20L101.465009%2C17.882765%20Z%20M111.357129%2C21.7270507%20L111.357129%2C20.8589862%20C111.357129%2C15.4089401%20108.953258%2C10.3277419%20103.296529%2C10.1878341%20L103.067589%2C10.1878341%20C97.620723%2C10.1878341%2094.8957%2C15.5011521%2094.8957%2C20.7445161%20C94.8957%2C26.0101382%2097.620723%2C31.2757604%20103.023073%2C31.2757604%20L103.296529%2C31.2757604%20C108.196483%2C31.1612903%20110.256944%2C28.0928571%20111.2204%2C24.932212%20C111.287175%2C24.6110599%20111.334871%2C24.2676498%20111.334871%2C23.9242396%20L105.12805%2C23.9242396%20C104.991322%2C24.8654378%20104.695608%2C25.9401843%20103.344225%2C25.9401843%20C103.321967%2C25.9401843%20103.321967%2C25.9179263%20103.296529%2C25.9179263%20C102.037359%2C25.8956682%20101.375976%2C24.7032719%20101.375976%2C21.7270507%20L111.357129%2C21.7270507%20Z%22%20id%3D%22Fill-6%22%20class%3D%22Header-logoLetter%22%3E%3C%2Fpath%3E%20%20%20%20%3Cpath%20%20fill%3D%22black%22%20d%3D%22M36.8371286%2C24.1086954%20L36.8148705%2C24.1086954%20C35.256806%2C24.1086954%2034.5922438%2C22.2326585%2034.5922438%2C20.3089258%20C34.5922438%2C18.362935%2035.3013221%2C16.4837184%2036.8148705%2C16.4837184%20L36.8371286%2C16.4837184%20C38.3029811%2C16.4837184%2039.0565756%2C18.3851931%2039.0565756%2C20.3089258%20C39.0565756%2C22.2326585%2038.3029811%2C24.1086954%2036.8371286%2C24.1086954%20L36.8371286%2C24.1086954%20Z%20M39.1933037%2C10.4867599%20L39.1933037%2C12.6616908%20C38.7131654%2C11.6537184%2038.0263452%2C10.8746862%2036.8371286%2C10.509018%20C36.3569903%2C10.3500318%2035.8068982%2C10.2800779%2035.164594%2C10.2800779%20C30.7002622%2C10.2800779%2028.5030733%2C15.453488%2028.5030733%2C20.674594%20C28.5030733%2C25.8480041%2030.7002622%2C31.0214143%2035.164594%2C31.0214143%20C35.8291562%2C31.0214143%2036.3569903%2C30.932382%2036.8371286%2C30.7479581%20C38.1885111%2C30.2678198%2038.8276355%2C29.1676355%2039.1933037%2C28.321829%20L39.1933037%2C30.61123%20L45.7435341%2C30.61123%20L45.7435341%2C10.4867599%20L39.1933037%2C10.4867599%20Z%22%20id%3D%22Fill-7%22%20class%3D%22Header-logoLetter%22%3E%3C%2Fpath%3E%20%20%20%20%3Cpath%20%20d%3D%22M9.86738157%2C30.6104986%20L16.5295382%2C30.6104986%20L16.5295382%2C19.049024%20C16.5295382%2C17.9272175%2016.7584783%2C16.3246369%2018.2236949%2C16.3246369%20C19.6660175%2C16.3246369%2019.8033816%2C18.0187935%2019.8033816%2C19.049024%20L19.8033816%2C30.6104986%20L26.4655382%2C30.6104986%20L26.4655382%2C16.668047%20C26.4655382%2C13.3713097%2024.6798055%2C10.1661484%2021.0167641%2C10.1661484%20C17.9718608%2C10.1661484%2016.9874184%2C11.3337429%2016.0945521%2C12.3868673%20C15.3848378%2C11.2650608%2014.3546074%2C10.1661484%2011.5615382%2C10.1661484%20C9.06609124%2C10.1661484%207.4635106%2C11.4940009%206.59353825%2C12.5929134%20L6.59353825%2C10.4637705%20L6.359447e-05%2C10.4637705%20L6.359447e-05%2C30.6104986%20L6.57064424%2C30.6104986%20L6.57064424%2C19.049024%20C6.57064424%2C17.8585355%206.82247834%2C16.3246369%208.2190129%2C16.3246369%20C9.68422949%2C16.3246369%209.86738157%2C17.8585355%209.86738157%2C19.049024%20L9.86738157%2C30.6104986%20Z%22%20id%3D%22Fill-8%22%20fill%3D%22%23E20714%22%3E%3C%2Fpath%3E%20%20%20%3C%2Fg%3E%20%20%3C%2Fg%3E%20%3C%2Fg%3E%3C%2Fsvg%3E";
8845
+
8846
+ var logoMailstepWhite = "data:image/svg+xml,%3Csvg%20width%3D%22138px%22%20height%3D%2239px%22%20viewBox%3D%220%200%20138%2039%22%20version%3D%221.1%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22%20class%3D%22Header-logo%22%3E%20%3Ctitle%3EGroup%209%3C%2Ftitle%3E%20%3Cdefs%3E%20%20%3Cpolygon%20id%3D%22path-1%22%20points%3D%226.359447e-05%200%20137.821904%200%20137.821904%2038.9675115%206.359447e-05%2038.9675115%22%3E%3C%2Fpolygon%3E%20%3C%2Fdefs%3E%20%3Cg%20id%3D%22HP%22%20stroke%3D%22none%22%20stroke-width%3D%221%22%20fill%3D%22none%22%20fill-rule%3D%22evenodd%22%3E%20%20%3Cg%20id%3D%22HP-1.2-%28tmav%C3%A1%29%22%20transform%3D%22translate%28-260.000000%2C%20-29.000000%29%22%3E%20%20%20%3Cg%20id%3D%22Group-9%22%20transform%3D%22translate%28260.000000%2C%2029.000000%29%22%3E%20%20%20%20%3Cg%20id%3D%22Clip-2%22%3E%3C%2Fg%3E%20%20%20%20%3Cpath%20%20fill%3D%22white%22%20d%3D%22M48.9009677%2C30.6111982%20L55.5624885%2C30.6111982%20L55.5624885%2C10.4867281%20L48.9009677%2C10.4867281%20L48.9009677%2C30.6111982%20Z%20M52.198341%2C0%20C49.7499539%2C0%2048.5575576%2C1.97142857%2048.5575576%2C3.98419355%20C48.5575576%2C5.9524424%2049.7499539%2C7.9683871%2052.198341%2C7.9683871%20C54.6721659%2C7.9683871%2055.8836406%2C5.9524424%2055.8836406%2C3.98419355%20C55.8836406%2C1.97142857%2054.6721659%2C0%2052.198341%2C0%20L52.198341%2C0%20Z%20M58.5164516%2C30.6111982%20L65.1557143%2C30.6111982%20L65.1557143%2C0.206682028%20L58.5164516%2C0.206682028%20L58.5164516%2C30.6111982%20Z%20M75.8491244%2C17.882765%20C74.4977419%2C17.583871%2074.0176037%2C17.3104147%2074.0176037%2C16.6903687%20C74.0176037%2C16.2102304%2074.313318%2C15.8223041%2075.6201843%2C15.8223041%20C76.739447%2C15.8223041%2078.1130876%2C16.3247005%2079.143318%2C16.7380645%20L80.4501843%2C11.6091705%20C79.143318%2C10.9000922%2077.8618894%2C10.2800461%2074.2465438%2C10.2800461%20C69.9411982%2C10.2800461%2067.8807373%2C13.6473733%2067.8807373%2C16.9415668%20C67.8807373%2C20.0576959%2069.184424%2C22.1849309%2072.1383871%2C23.0084793%20C73.6042396%2C23.4218433%2074.1066359%2C23.9496774%2074.1066359%2C24.5665438%20C74.1066359%2C25.1834101%2073.6042396%2C25.5268203%2072.7584332%2C25.5268203%20C71.4515668%2C25.5268203%2070.0334101%2C25.024424%2068.7742396%2C24.2676498%20L67.1239631%2C28.5284793%20C68.6375115%2C29.8321659%2070.4435945%2C31.1135945%2073.4198157%2C31.1135945%20C78.6631797%2C31.1135945%2081.2514747%2C27.9306912%2081.2514747%2C24.2453917%20C81.2514747%2C21.4058986%2079.46447%2C18.6141014%2075.8491244%2C17.882765%20L75.8491244%2C17.882765%20Z%20M91.1404147%2C10.4867281%20L91.1404147%2C4.69327189%20L84.478894%2C4.69327189%20L84.478894%2C10.4867281%20L82.8317972%2C10.4867281%20L82.8317972%2C16.7825806%20L84.478894%2C16.7825806%20L84.478894%2C30.6111982%20L91.1404147%2C30.6111982%20L91.1404147%2C16.7825806%20L93.4775115%2C16.7825806%20L93.4775115%2C10.4867281%20L91.1404147%2C10.4867281%20Z%22%20id%3D%22Fill-1%22%20class%3D%22Header-logoLetter%22%3E%3C%2Fpath%3E%20%20%20%20%3Cpath%20%20fill%3D%22white%22%20d%3D%22M122.069553%2C24.3598935%20L122.047295%2C24.3598935%20C120.629139%2C24.3598935%20119.894623%2C22.5506309%20119.894623%2C20.7445479%20C119.894623%2C18.9575433%20120.629139%2C17.1482806%20122.047295%2C17.1482806%20L122.069553%2C17.1482806%20C123.49089%2C17.1482806%20124.222226%2C18.9575433%20124.222226%2C20.7445479%20C124.222226%2C22.5506309%20123.49089%2C24.3598935%20122.069553%2C24.3598935%20M124.085498%2C10.1878659%20C123.239692%2C10.1878659%20122.597388%2C10.3722899%20122.047295%2C10.6711839%20C121.109277%2C11.1735802%20120.536927%2C12.0448244%20120.056788%2C12.9128889%20L120.056788%2C10.4867599%20L113.417526%2C10.4867599%20L113.417526%2C38.9675433%20L120.056788%2C38.9675433%20L120.056788%2C28.7097553%20C120.444715%2C29.4188336%20120.924853%2C30.2900779%20122.047295%2C30.7479581%20C122.575129%2C30.9768982%20123.214254%2C31.1136263%20124.085498%2C31.1136263%20C128.365406%2C31.1136263%20130.518079%2C25.8957%20130.518079%2C20.674594%20C130.518079%2C15.4089719%20128.365406%2C10.1878659%20124.085498%2C10.1878659%22%20id%3D%22Fill-5%22%20class%3D%22Header-logoLetter%22%3E%3C%2Fpath%3E%20%20%20%20%3Cpath%20%20fill%3D%22white%22%20d%3D%22M101.465009%2C17.882765%20C101.465009%2C17.3899078%20101.579479%2C16.7698618%20101.865654%2C16.2770046%20C102.151829%2C15.7809677%20102.609709%2C15.4089401%20103.296529%2C15.4089401%20C104.647912%2C15.4311982%20105.12805%2C16.8048387%20105.12805%2C17.882765%20L101.465009%2C17.882765%20Z%20M111.357129%2C21.7270507%20L111.357129%2C20.8589862%20C111.357129%2C15.4089401%20108.953258%2C10.3277419%20103.296529%2C10.1878341%20L103.067589%2C10.1878341%20C97.620723%2C10.1878341%2094.8957%2C15.5011521%2094.8957%2C20.7445161%20C94.8957%2C26.0101382%2097.620723%2C31.2757604%20103.023073%2C31.2757604%20L103.296529%2C31.2757604%20C108.196483%2C31.1612903%20110.256944%2C28.0928571%20111.2204%2C24.932212%20C111.287175%2C24.6110599%20111.334871%2C24.2676498%20111.334871%2C23.9242396%20L105.12805%2C23.9242396%20C104.991322%2C24.8654378%20104.695608%2C25.9401843%20103.344225%2C25.9401843%20C103.321967%2C25.9401843%20103.321967%2C25.9179263%20103.296529%2C25.9179263%20C102.037359%2C25.8956682%20101.375976%2C24.7032719%20101.375976%2C21.7270507%20L111.357129%2C21.7270507%20Z%22%20id%3D%22Fill-6%22%20class%3D%22Header-logoLetter%22%3E%3C%2Fpath%3E%20%20%20%20%3Cpath%20%20fill%3D%22white%22%20d%3D%22M36.8371286%2C24.1086954%20L36.8148705%2C24.1086954%20C35.256806%2C24.1086954%2034.5922438%2C22.2326585%2034.5922438%2C20.3089258%20C34.5922438%2C18.362935%2035.3013221%2C16.4837184%2036.8148705%2C16.4837184%20L36.8371286%2C16.4837184%20C38.3029811%2C16.4837184%2039.0565756%2C18.3851931%2039.0565756%2C20.3089258%20C39.0565756%2C22.2326585%2038.3029811%2C24.1086954%2036.8371286%2C24.1086954%20L36.8371286%2C24.1086954%20Z%20M39.1933037%2C10.4867599%20L39.1933037%2C12.6616908%20C38.7131654%2C11.6537184%2038.0263452%2C10.8746862%2036.8371286%2C10.509018%20C36.3569903%2C10.3500318%2035.8068982%2C10.2800779%2035.164594%2C10.2800779%20C30.7002622%2C10.2800779%2028.5030733%2C15.453488%2028.5030733%2C20.674594%20C28.5030733%2C25.8480041%2030.7002622%2C31.0214143%2035.164594%2C31.0214143%20C35.8291562%2C31.0214143%2036.3569903%2C30.932382%2036.8371286%2C30.7479581%20C38.1885111%2C30.2678198%2038.8276355%2C29.1676355%2039.1933037%2C28.321829%20L39.1933037%2C30.61123%20L45.7435341%2C30.61123%20L45.7435341%2C10.4867599%20L39.1933037%2C10.4867599%20Z%22%20id%3D%22Fill-7%22%20class%3D%22Header-logoLetter%22%3E%3C%2Fpath%3E%20%20%20%20%3Cpath%20%20d%3D%22M9.86738157%2C30.6104986%20L16.5295382%2C30.6104986%20L16.5295382%2C19.049024%20C16.5295382%2C17.9272175%2016.7584783%2C16.3246369%2018.2236949%2C16.3246369%20C19.6660175%2C16.3246369%2019.8033816%2C18.0187935%2019.8033816%2C19.049024%20L19.8033816%2C30.6104986%20L26.4655382%2C30.6104986%20L26.4655382%2C16.668047%20C26.4655382%2C13.3713097%2024.6798055%2C10.1661484%2021.0167641%2C10.1661484%20C17.9718608%2C10.1661484%2016.9874184%2C11.3337429%2016.0945521%2C12.3868673%20C15.3848378%2C11.2650608%2014.3546074%2C10.1661484%2011.5615382%2C10.1661484%20C9.06609124%2C10.1661484%207.4635106%2C11.4940009%206.59353825%2C12.5929134%20L6.59353825%2C10.4637705%20L6.359447e-05%2C10.4637705%20L6.359447e-05%2C30.6104986%20L6.57064424%2C30.6104986%20L6.57064424%2C19.049024%20C6.57064424%2C17.8585355%206.82247834%2C16.3246369%208.2190129%2C16.3246369%20C9.68422949%2C16.3246369%209.86738157%2C17.8585355%209.86738157%2C19.049024%20L9.86738157%2C30.6104986%20Z%22%20id%3D%22Fill-8%22%20fill%3D%22%23E20714%22%3E%3C%2Fpath%3E%20%20%20%3C%2Fg%3E%20%20%3C%2Fg%3E%20%3C%2Fg%3E%3C%2Fsvg%3E";
8847
+
8848
+ var logoMailwise = "data:image/svg+xml,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22utf-8%22%3F%3E%3Csvg%20viewBox%3D%22143.525%20169.971%20204.219%2043.361%22%20width%3D%22204.219%22%20height%3D%2243.361%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%20%20%3Cdefs%3E%20%20%20%20%3CclipPath%20clipPathUnits%3D%22userSpaceOnUse%22%20id%3D%22clipPath18%22%3E%20%20%20%20%20%20%3Cpath%20d%3D%22M%200%2C595.28%20H%20595.28%20V%200%20H%200%20Z%22%20id%3D%22path16%22%20%2F%3E%20%20%20%20%3C%2FclipPath%3E%20%20%3C%2Fdefs%3E%20%20%3Cg%20id%3D%22g10%22%20transform%3D%22matrix%281.333333%2C%200%2C%200%2C%20-1.333333%2C%20-151.218994%2C%20588.503967%29%22%3E%20%20%20%20%3Cg%20id%3D%22g12%22%3E%20%20%20%20%20%20%3Cg%20id%3D%22g14%22%20clip-path%3D%22url%28%23clipPath18%29%22%3E%20%20%20%20%20%20%20%20%3Cg%20id%3D%22g20%22%20transform%3D%22translate%28242.1812%2C281.8203%29%22%3E%20%20%20%20%20%20%20%20%20%20%3Cpath%20%20%20%20%20%20%20%20%20%20%20%20d%3D%22m%200%2C0%20v%2011.396%20c%200%2C0.793%20-0.088%2C2.202%20-1.188%2C2.202%20-1.584%2C0%20-1.76%2C-2.069%20-1.76%2C-3.213%20V%200%20h%20-7.614%20v%2011.309%20c%200%2C0.924%20-0.043%2C2.113%20-1.232%2C2.113%20-1.76%2C0%20-1.716%2C-1.937%20-1.716%2C-3.213%20V%200%20h%20-7.613%20v%2020.551%20h%207.613%20v%20-1.057%20c%200%2C-0.792%20-0.044%2C-1.584%20-0.088%2C-2.376%201.188%2C2.244%202.508%2C3.872%205.237%2C3.872%202.904%2C0%204.401%2C-1.803%205.457%2C-4.268%200.88%2C2.508%202.244%2C4.268%205.104%2C4.268%201.321%2C0%202.641%2C-0.484%203.609%2C-1.363%20C%207.437%2C18.13%207.613%2C16.15%207.613%2C14.082%20V%200%20Z%22%20%20%20%20%20%20%20%20%20%20%20%20style%3D%22fill%3A%23ec2227%3Bfill-opacity%3A1%3Bfill-rule%3Anonzero%3Bstroke%3Anone%22%20id%3D%22path22%22%20%2F%3E%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%20%20%20%20%3Cg%20id%3D%22g24%22%20transform%3D%22translate%28262.3306%2C296.5176%29%22%3E%20%20%20%20%20%20%20%20%20%20%3Cpath%20%20%20%20%20%20%20%20%20%20%20%20d%3D%22m%200%2C0%20c%20-1.98%2C0%20-1.936%2C-3.784%20-1.936%2C-5.148%200%2C-1.145%200.088%2C-3.697%201.716%2C-3.697%202.025%2C0%201.804%2C3.96%201.804%2C5.325%20C%201.584%2C-2.42%201.541%2C0%200%2C0%20m%201.672%2C-14.697%20c%200.089%2C1.143%200.177%2C2.332%200.265%2C3.476%20-1.101%2C-2.201%20-2.64%2C-3.917%20-5.281%2C-3.917%20-5.193%2C0%20-6.25%2C6.865%20-6.25%2C10.826%200%2C4.092%201.19%2C10.605%206.426%2C10.605%202.465%2C0%203.961%2C-1.628%204.929%2C-3.696%20-0.089%2C1.1%20-0.089%2C2.156%20-0.22%2C3.257%20H%209.33%20v%20-20.551%20z%22%20%20%20%20%20%20%20%20%20%20%20%20style%3D%22fill%3A%23fff%3Bfill-opacity%3A1%3Bfill-rule%3Anonzero%3Bstroke%3Anone%22%20id%3D%22path26%22%20%2F%3E%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%20%20%20%20%3Cpath%20%20%20%20%20%20%20%20%20%20d%3D%22m%20275.177%2C302.371%20h%207.613%20V%20281.82%20h%20-7.613%20z%20m%203.829%2C1.936%20c%20-2.464%2C0%20-4.445%2C2.068%20-4.445%2C4.489%200%2C2.42%202.024%2C4.4%204.445%2C4.4%202.42%2C0%204.445%2C-1.98%204.445%2C-4.4%200%2C-2.464%20-1.981%2C-4.489%20-4.445%2C-4.489%22%20%20%20%20%20%20%20%20%20%20style%3D%22fill%3A%23fff%3Bfill-opacity%3A1%3Bfill-rule%3Anonzero%3Bstroke%3Anone%22%20id%3D%22path28%22%20%2F%3E%20%20%20%20%20%20%20%20%3Cpath%20d%3D%22m%20286.309%2C313.9%20h%207.613%20v%20-32.08%20h%20-7.613%20z%22%20%20%20%20%20%20%20%20%20%20style%3D%22fill%3A%23fff%3Bfill-opacity%3A1%3Bfill-rule%3Anonzero%3Bstroke%3Anone%22%20id%3D%22path30%22%20%2F%3E%20%20%20%20%20%20%20%20%3Cg%20id%3D%22g32%22%20transform%3D%22translate%28319.707%2C281.8203%29%22%3E%20%20%20%20%20%20%20%20%20%20%3Cpath%20%20%20%20%20%20%20%20%20%20%20%20d%3D%22M%200%2C0%20H%20-7.525%20L%20-9.109%2C12.321%20-11.441%2C0%20h%20-7.481%20l%20-5.105%2C20.551%20h%207.48%20c%200.748%2C-4.137%201.629%2C-8.23%201.938%2C-12.41%200.396%2C4.18%201.408%2C8.317%202.332%2C12.41%20h%206.513%20c%200.703%2C-4.137%201.452%2C-8.23%201.803%2C-12.41%200.617%2C4.18%201.453%2C8.273%202.334%2C12.41%20h%207.611%20z%22%20%20%20%20%20%20%20%20%20%20%20%20style%3D%22fill%3A%23fff%3Bfill-opacity%3A1%3Bfill-rule%3Anonzero%3Bstroke%3Anone%22%20id%3D%22path34%22%20%2F%3E%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%20%20%20%20%3Cpath%20%20%20%20%20%20%20%20%20%20d%3D%22m%20327.447%2C302.371%20h%207.613%20V%20281.82%20h%20-7.613%20z%20m%203.83%2C1.936%20c%20-2.465%2C0%20-4.445%2C2.068%20-4.445%2C4.489%200%2C2.42%202.023%2C4.4%204.445%2C4.4%202.42%2C0%204.444%2C-1.98%204.444%2C-4.4%200%2C-2.464%20-1.981%2C-4.489%20-4.444%2C-4.489%22%20%20%20%20%20%20%20%20%20%20style%3D%22fill%3A%23fff%3Bfill-opacity%3A1%3Bfill-rule%3Anonzero%3Bstroke%3Anone%22%20id%3D%22path36%22%20%2F%3E%20%20%20%20%20%20%20%20%3Cg%20id%3D%22g38%22%20transform%3D%22translate%28350.4609%2C295.5498%29%22%3E%20%20%20%20%20%20%20%20%20%20%3Cpath%20%20%20%20%20%20%20%20%20%20%20%20d%3D%22m%200%2C0%20c%20-0.791%2C0.792%20-1.936%2C1.804%20-3.123%2C1.804%20-0.572%2C0%20-1.189%2C-0.308%20-1.189%2C-0.968%200%2C-2.464%207.261%2C-1.584%207.261%2C-7.789%200%2C-4.665%20-3.961%2C-7.217%20-8.273%2C-7.217%20-2.86%2C0%20-4.84%2C0.836%20-7.305%2C2.156%20l%202.772%2C5.677%20c%200.923%2C-0.969%202.421%2C-2.156%203.83%2C-2.156%200.66%2C0%201.496%2C0.308%201.496%2C1.099%200%2C2.114%20-7.395%2C1.541%20-7.395%2C7.614%200%2C4.577%204.313%2C7.041%208.449%2C7.041%202.202%2C0%204.182%2C-0.703%206.118%2C-1.672%20z%22%20%20%20%20%20%20%20%20%20%20%20%20style%3D%22fill%3A%23fff%3Bfill-opacity%3A1%3Bfill-rule%3Anonzero%3Bstroke%3Anone%22%20id%3D%22path40%22%20%2F%3E%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%20%20%20%20%3Cg%20id%3D%22g42%22%20transform%3D%22translate%28366.6523%2C294.582%29%22%3E%20%20%20%20%20%20%20%20%20%20%3Cpath%20%20%20%20%20%20%20%20%20%20%20%20d%3D%22M%200%2C0%20C%20-0.043%2C1.1%20-0.439%2C2.596%20-1.805%2C2.596%20-3.168%2C2.596%20-3.52%2C1.1%20-3.564%2C0%20Z%20m%207.262%2C-5.854%20c%20-1.057%2C-4.796%20-4.358%2C-7.348%20-9.155%2C-7.348%20-6.293%2C0%20-9.373%2C4.4%20-9.373%2C10.341%200%2C5.809%203.346%2C11.046%209.594%2C11.046%206.293%2C0%209.242%2C-5.149%209.242%2C-10.87%200%2C-0.484%20-0.045%2C-0.924%20-0.045%2C-1.408%20H%20-3.652%20c%200%2C-1.144%200.175%2C-3.169%201.759%2C-3.169%200.881%2C0%201.541%2C0.616%201.717%2C1.453%20z%22%20%20%20%20%20%20%20%20%20%20%20%20style%3D%22fill%3A%23fff%3Bfill-opacity%3A1%3Bfill-rule%3Anonzero%3Bstroke%3Anone%22%20id%3D%22path44%22%20%2F%3E%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%3C%2Fg%3E%20%20%3C%2Fg%3E%3C%2Fsvg%3E";
8849
+
8850
+ var logoMailwiseSmall = "data:image/svg+xml,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22utf-8%22%3F%3E%3Csvg%20viewBox%3D%22143.525%20169.971%2084.219%2043.361%22%20width%3D%2284.219%22%20height%3D%2243.361%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%20%20%3Cdefs%3E%20%20%20%20%3CclipPath%20clipPathUnits%3D%22userSpaceOnUse%22%20id%3D%22clipPath18%22%3E%20%20%20%20%20%20%3Cpath%20d%3D%22M%200%2C595.28%20H%20595.28%20V%200%20H%200%20Z%22%20id%3D%22path16%22%2F%3E%20%20%20%20%3C%2FclipPath%3E%20%20%3C%2Fdefs%3E%20%20%3Cg%20id%3D%22g10%22%20transform%3D%22matrix%281.333333%2C%200%2C%200%2C%20-1.333333%2C%20-151.218994%2C%20588.503967%29%22%3E%20%20%20%20%3Cg%20id%3D%22g12%22%3E%20%20%20%20%20%20%3Cg%20id%3D%22g14%22%20clip-path%3D%22url%28%23clipPath18%29%22%3E%20%20%20%20%20%20%20%20%3Cg%20id%3D%22g20%22%20transform%3D%22translate%28242.1812%2C281.8203%29%22%3E%20%20%20%20%20%20%20%20%20%20%3Cpath%20d%3D%22m%200%2C0%20v%2011.396%20c%200%2C0.793%20-0.088%2C2.202%20-1.188%2C2.202%20-1.584%2C0%20-1.76%2C-2.069%20-1.76%2C-3.213%20V%200%20h%20-7.614%20v%2011.309%20c%200%2C0.924%20-0.043%2C2.113%20-1.232%2C2.113%20-1.76%2C0%20-1.716%2C-1.937%20-1.716%2C-3.213%20V%200%20h%20-7.613%20v%2020.551%20h%207.613%20v%20-1.057%20c%200%2C-0.792%20-0.044%2C-1.584%20-0.088%2C-2.376%201.188%2C2.244%202.508%2C3.872%205.237%2C3.872%202.904%2C0%204.401%2C-1.803%205.457%2C-4.268%200.88%2C2.508%202.244%2C4.268%205.104%2C4.268%201.321%2C0%202.641%2C-0.484%203.609%2C-1.363%20C%207.437%2C18.13%207.613%2C16.15%207.613%2C14.082%20V%200%20Z%22%20style%3D%22fill%3A%23ec2227%3Bfill-opacity%3A1%3Bfill-rule%3Anonzero%3Bstroke%3Anone%22%20id%3D%22path22%22%2F%3E%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%20%20%20%20%3Cg%20id%3D%22g32%22%20transform%3D%22translate%28275.707%2C281.8203%29%22%3E%20%20%20%20%20%20%20%20%20%20%3Cpath%20d%3D%22M%200%2C0%20H%20-7.525%20L%20-9.109%2C12.321%20-11.441%2C0%20h%20-7.481%20l%20-5.105%2C20.551%20h%207.48%20c%200.748%2C-4.137%201.629%2C-8.23%201.938%2C-12.41%200.396%2C4.18%201.408%2C8.317%202.332%2C12.41%20h%206.513%20c%200.703%2C-4.137%201.452%2C-8.23%201.803%2C-12.41%200.617%2C4.18%201.453%2C8.273%202.334%2C12.41%20h%207.611%20z%22%20style%3D%22fill%3A%23fff%3Bfill-opacity%3A1%3Bfill-rule%3Anonzero%3Bstroke%3Anone%22%20id%3D%22path34%22%2F%3E%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%3C%2Fg%3E%20%20%3C%2Fg%3E%3C%2Fsvg%3E";
8851
+
8852
+ var logoMailwrap = "data:image/svg+xml,%3Csvg%20version%3D%221.2%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20259%2053%22%20width%3D%22259%22%20height%3D%2253%22%3E%3Cdefs%3E%3CclipPath%20clipPathUnits%3D%22userSpaceOnUse%22%20id%3D%22cp1%22%3E%3Cpath%20d%3D%22m-294.22-374.2h793.71v793.7h-793.71z%22%20%2F%3E%3C%2FclipPath%3E%3Cimage%20%20width%3D%2210%22%20height%3D%224%22%20id%3D%22img1%22%20href%3D%22data%3Aimage%2Fpng%3Bbase64%2CiVBORw0KGgoAAAANSUhEUgAAAAoAAAAEAQMAAACN9jyOAAAAAXNSR0IB2cksfwAAAAZQTFRF%2F%2F%2F%2F%2F%2F%2F%2FVXz1bAAAAAJ0Uk5T%2F8%2FubO9rAAAADUlEQVR4nGNgcGCAAQACjABB8%2FvblwAAAABJRU5ErkJggg%3D%3D%22%2F%3E%3Cimage%20%20width%3D%2210%22%20height%3D%224%22%20id%3D%22img2%22%20href%3D%22data%3Aimage%2Fpng%3Bbase64%2CiVBORw0KGgoAAAANSUhEUgAAAAoAAAAEAQMAAACN9jyOAAAAAXNSR0IB2cksfwAAAAZQTFRF%2F%2F%2F%2F%2F%2F%2F%2FVXz1bAAAAAJ0Uk5T%2F8%2FubO9rAAAADUlEQVR4nGNgcGCAAQACjABB8%2FvblwAAAABJRU5ErkJggg%3D%3D%22%2F%3E%3Cimage%20%20width%3D%2225%22%20height%3D%2229%22%20id%3D%22img3%22%20href%3D%22data%3Aimage%2Fpng%3Bbase64%2CiVBORw0KGgoAAAANSUhEUgAAABkAAAAdCAMAAABopjdHAAAAAXNSR0IB2cksfwAAAMNQTFRF%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2FWcU9VgAAAEF0Uk5TgH8gAK%2FP%2F0CQvxAwYMDv33Cgb58%2FXz706%2Fz%2B9vD3GHVCWIt%2BUTUvTa0GDzgB8y7k8h%2F49SMI%2FS0dFgQSERkUCQJ4fsqRAAAAxElEQVR4nHXSZxOCMAwG4EqgLMWFCxX3QHGLe%2F3%2FXyXeSZv2ru%2BnJM%2BXNFdCclk0AE03qKGb8AuhLCZY%2F8p2RHHzrNQl4SUlghSQeBoWIZZSikqhLhadGLwpIbEBHI91ZSSV9BFVvikSP5UaX0ESn7eS1BvNFqVBu9MNJAl7%2FcFwNJ5MZ3NJIsiyQLJM%2B5gJusFqDUK4bEKVbHcq2SvlcETjOIm4nM5sLP%2BdCxoLElxVQpObYgMK94dK4PnC1xEf8f6w8gsBxRaZ5mJdeAAAAABJRU5ErkJggg%3D%3D%22%2F%3E%3C%2Fdefs%3E%3Cstyle%3E.s0%7Bfill%3A%23ec2227%7D.s1%7Bfill%3A%23ffffff%7D%3C%2Fstyle%3E%3Cg%20clip-path%3D%22url%28%23cp1%29%22%3E%3Cpath%20class%3D%22s0%22%20d%3D%22m28.7%2043.7v-15.2c0-1-0.1-2.9-1.6-2.9c-2.1%200-2.3%202.8-2.3%204.3v13.8h-10.2v-15c0-1.3-0.1-2.9-1.6-2.9c-2.4%200-2.3%202.6-2.3%204.3v13.6h-10.2v-27.4h10.2v1.5q0%201.5-0.1%203.1c1.5-3%203.3-5.1%206.9-5.1c3.9%200%205.9%202.4%207.3%205.6c1.2-3.3%203-5.6%206.8-5.6c1.8%200%203.5%200.6%204.8%201.8c2.2%202%202.4%204.6%202.4%207.4v18.7z%22%20%2F%3E%3Cpath%20fill-rule%3D%22evenodd%22%20class%3D%22s1%22%20d%3D%22m57.8%2043.7c0.1-1.5%200.2-3.1%200.3-4.6c-1.4%202.9-3.5%205.2-7%205.2c-6.9%200-8.3-9.1-8.3-14.4c0-5.5%201.5-14.1%208.5-14.1c3.3%200%205.3%202.1%206.6%204.9c-0.1-1.5-0.1-2.9-0.3-4.4h10.4v27.4zm-2.2-19.6c-2.7%200-2.6%205.1-2.6%206.9c0%201.5%200.1%204.9%202.3%204.9c2.7%200%202.4-5.2%202.4-7.1c0-1.4-0.1-4.7-2.1-4.7z%22%20%2F%3E%3Cpath%20fill-rule%3D%22evenodd%22%20class%3D%22s1%22%20d%3D%22m203%2043v-27.4h10.3c-0.2%201.5-0.2%202.9-0.3%204.3c1.3-2.7%203.3-4.9%206.5-4.9c6.9%200%208.5%208.7%208.5%2014.1c0%205.3-1.4%2014.5-8.3%2014.5c-3.4%200-5.5-2.3-6.9-5.2c0.1%201.5%200.2%203.1%200.3%204.6zm10.3-14.9c0%201.8-0.3%207.1%202.3%207.1c2.2%200%202.3-3.4%202.3-4.9c0-1.9%200.1-6.9-2.6-6.9c-2%200-2%203.2-2%204.7z%22%20%2F%3E%3Cuse%20%20href%3D%22%23img1%22%20x%3D%22203%22%20y%3D%2243%22%20%2F%3E%3Cuse%20%20href%3D%22%23img2%22%20x%3D%22203%22%20y%3D%2247%22%20%2F%3E%3Cuse%20%20href%3D%22%23img3%22%20x%3D%22143%22%20y%3D%2215%22%20%2F%3E%3Cpath%20fill-rule%3D%22evenodd%22%20class%3D%22s1%22%20d%3D%22m186.8%2042.7c0.1-1.5%200.2-3.1%200.3-4.6c-1.4%202.9-3.5%205.2-7%205.2c-6.9%200-8.3-9.1-8.3-14.4c0-5.5%201.5-14.1%208.5-14.1c3.3%200%205.3%202.1%206.6%204.9c-0.1-1.5-0.1-2.9-0.3-4.4h10.4v27.4zm-2.2-19.6c-2.7%200-2.6%205.1-2.6%206.9c0%201.5%200.1%204.9%202.3%204.9c2.7%200%202.4-5.2%202.4-7.1c0-1.4-0.1-4.7-2.1-4.7z%22%20%2F%3E%3Cpath%20class%3D%22s1%22%20d%3D%22m72.7%2016.3h10.1v27.4h-10.1zm5.1-2.5c-3.3%200-5.9-2.8-5.9-6c0-3.2%202.7-5.9%205.9-5.9c3.2%200%205.9%202.7%205.9%205.9c0%203.3-2.6%206-5.9%206z%22%20%2F%3E%3Cpath%20class%3D%22s1%22%20d%3D%22m87.5%201h10.2v42.7h-10.2z%22%20%2F%3E%3Cpath%20class%3D%22s1%22%20d%3D%22m132.1%2043.7h-10.1l-2.1-16.4l-3.1%2016.4h-10l-6.8-27.4h10c1%205.6%202.2%2011%202.6%2016.6c0.5-5.6%201.9-11.1%203.1-16.6h8.7c0.9%205.6%201.9%2011%202.4%2016.6c0.8-5.6%201.9-11%203.1-16.6h10.1z%22%20%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E";
8853
+
8854
+ var logoMailstock = "data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22%20version%3D%221.1%22%20width%3D%22413pt%22%20height%3D%2288pt%22%20viewBox%3D%220%200%20413%2088%22%3E%3Cpath%20transform%3D%22matrix%281%2C0%2C0%2C-1%2C171.06104%2C86.17261%29%22%20d%3D%22M0%20.000092V84.17261H19.958207V.000092H0Z%22%20fill%3D%22%23111d27%22%2F%3E%3Cpath%20transform%3D%22matrix%281%2C0%2C0%2C-1%2C140.26087%2C86.173099%29%22%20d%3D%22M11.652962%2059.00191C5.190824%2059.00191%200%2064.42806%200%2070.77764%200%2077.12744%205.306221%2082.325199%2011.652962%2082.325199%2017.997326%2082.325199%2023.30333%2077.12744%2023.30333%2070.77764%2023.30333%2064.31278%2018.112614%2059.00191%2011.652962%2059.00191ZM1.615021-.000031V53.92225H21.573128V-.000031H1.615021Z%22%20fill%3D%22%23111d27%22%2F%3E%3Cpath%20transform%3D%22matrix%281%2C0%2C0%2C-1%2C83.04443%2C87.33032%29%22%20d%3D%22M29.534775%201.157085C29.76557%204.15609%2029.996148%207.278378%2030.226943%2010.277489%2027.343092%204.504959%2023.30592-.000038%2016.382302-.000038%202.768454-.000038%200%2018.015187%200%2028.402909%200%2039.14231%203.117238%2056.233888%2016.843674%2056.233888%2023.30592%2056.233888%2027.227696%2051.959669%2029.76557%2046.533624%2029.534775%2049.419839%2029.534777%2052.19055%2029.1888%2055.079359H49.608278V1.157085H29.534775ZM25.151627%2039.722169C19.960698%2039.722169%2020.0735%2029.790808%2020.0735%2026.214648%2020.0735%2023.210343%2020.304295%2016.51168%2024.572047%2016.51168%2029.88075%2016.51168%2029.304198%2026.904704%2029.304198%2030.486163%2029.304198%2033.369779%2029.1888%2039.722169%2025.151627%2039.722169Z%22%20fill%3D%22%23111d27%22%2F%3E%3Cpath%20transform%3D%22matrix%281%2C0%2C0%2C-1%2C0%2C86.17334%29%22%20d%3D%22M55.37576%20.000092V29.903843C55.37576%2031.981799%2055.145074%2035.676378%2052.26133%2035.676378%2048.106164%2035.676378%2047.644685%2030.250224%2047.644685%2027.24592V.000092H27.686583V29.672959C27.686583%2032.097406%2027.571187%2035.2172%2024.45946%2035.2172%2019.842814%2035.2172%2019.95821%2030.134837%2019.95821%2026.786747V.000092H0V53.922376H19.95821V51.148958C19.95821%2049.070894%2019.842812%2046.99283%2019.727416%2044.914766%2022.841843%2050.802686%2026.305058%2055.076906%2033.454069%2055.076906%2041.072446%2055.076906%2044.99433%2050.34081%2047.760084%2043.875734%2050.067056%2050.456304%2053.642965%2055.076906%2061.14324%2055.076906%2064.60375%2055.076906%2068.06427%2053.806989%2070.60463%2051.49804%2074.87249%2047.569986%2075.33386%2042.374826%2075.33386%2036.948778V.000092H55.37576Z%22%20fill%3D%22%23e4001b%22%2F%3E%3Cpath%20transform%3D%22matrix%281%2C0%2C0%2C-1%2C199%2C57.5%29%22%20d%3D%22M0-23%206.5-12.053574C8.381761-13.232147%2010.84161-14.428574%2012.234113-15%2013.626616-15.535713%2014.546954-15%2015.676011-15%2016.842703-15%2017.747296-14.714287%2018.5-14%2019.29034-13.285713%2018.895546-13.125%2018.895546-12.053574%2018.895546-10.196434%2018.263522-9.214287%2014.5-7%2013.521484-6.42857%2012.526893-5.32143%2012-5%207.82234-3.392857%205.467773-1.17857%204%201%202.532227%203.214287%201%207%201%2010%201%2014.928574%203.263371%2020.142857%206.5%2023%209.736629%2025.892857%2015.005259%2027.5%2020.5%2027.5%2023.247372%2027.5%2025.669886%2025.607144%2028.15381%2024.857144%2030.67537%2024.142857%2033.102846%2023.017857%2035.436227%2021.482144L29%2010C27.532227%2011.17857%2025.279599%2012.42857%2024%2013%2022.758038%2013.57143%2021.591422%2013.714287%2020.5%2013.714287%2019.258038%2013.714287%2019.064906%2014.25%2018.274565%2013.607143%2017.52186%2012.964287%2017.145508%2012.125%2017.145508%2011.089287%2017.145508%209.553574%2018.895546%207.767857%2022.395623%205.732143%2023.487044%205.089287%2024.333836%204.571426%2024.935999%204.17857%2028.850062%201.60714%2031.578616-.839283%2033.12166-3.160713%2034.664705-5.446426%2035.436227-8.160713%2035.436227-11.303574%2035.436227-16.410714%2033.66737-20.553574%2030.129658-23.732148%2026.591948-26.91072%2022.720555-29%2017-29%2014.214994-29%2010.52156-28.89286%208-28%205.47844-27.10714%202.333383-24.85714%200-23Z%22%20fill%3D%22%23111d27%22%2F%3E%3Cpath%20transform%3D%22matrix%281%2C0%2C0%2C-1%2C199%2C70%29%22%20d%3D%22M45.5-15.5V26.107144H39.5V38L45.5%2038.5V53L62%2053.5%2062.5%2038.5%2067.81079%2037.517858V26.214287L62.5%2025.5V-15.5H45.5Z%22%20fill%3D%22%23111d27%22%2F%3E%3Cpath%20transform%3D%22matrix%281%2C0%2C0%2C-1%2C199%2C57.5%29%22%20d%3D%22M95.89494-15.803574C98.604679-15.803574%20100.03223-14.035713%20101.5-11.5%20103.00541-8.928574%20103-5.785717%20103-1.07143%20103%203.60714%20103.00541%206.464287%20101.5%209%20100.03223%2011.57143%2098.70973%2013%2096%2013%2093.29027%2013%2091.09645%2012.339283%2089.62868%209.80357%2088.160907%207.267857%2087.42702%203.642857%2087.42702-1.07143%2087.42702-5.82143%2088.160907-9.464287%2089.62868-12%2091.09645-14.535713%2093.18521-15.803574%2095.89494-15.803574ZM118.984149-1.178574C118.984149-9.535721%20116.87657-16.178574%20112.66143-21.107148%20108.48392-26.03572%20102.895099-29.5%2095.89494-29.5%2088.857158-29.5%2083.177509-26.89286%2079-22%2074.86012-17.071427%2072-9.89286%2072-1.5%2072%206.821426%2073.36012%2013.607143%2077.5%2018.5%2081.677509%2023.392857%2088.46221%2027%2095.5%2027%20102.53779%2027%20108.540378%2023.51786%20112.71788%2018.589287%20116.895389%2013.69643%20118.984149%207.10714%20118.984149-1.178574Z%22%20fill%3D%22%23111d27%22%2F%3E%3Cpath%20transform%3D%22matrix%281%2C0%2C0%2C-1%2C199%2C56.5%29%22%20d%3D%22M158%207.892857C156.79567%208.75%20154.62906%209.107143%20153.5%209.5%20152.37094%209.892857%20151.62906%2011%20150.5%2011%20147.56446%2011%20145.243%2010.321426%20143.51178%207.892857%20141.78057%205.5%20140.91495%202.25%20140.91495-1.857143%20140.91495-6.178574%20141.78057-9.51786%20143.51178-11.875%20145.28064-14.196426%20147.76456-15.357147%20150.96355-15.357147%20152.16788-15.357147%20153.29694-15.14286%20154.35073-14.714287%20155.40451-14.25%20156.42066-13.553574%20157.39917-12.625L158-27C156.41933-28.035714%20154.03083-29%20152.26197-29.5%20150.53075-30%20148.81835-30%20146.89894-30%20140.42569-30%20135.33879-27.89286%20131.5-23%20127.698848-18.10714%20125-10.607147%20125-2.178574%20125%206.142853%20126.16121%2012.69643%20130%2017.589287%20133.83879%2022.482144%20140.06438%2025.5%20146.5%2025.5%20148.34413%2025.5%20151.26879%2025.357144%20153%2025%20154.73122%2024.678572%20155.70558%2023.624999%20157.39917%2022.946427L158%207.892857Z%22%20fill%3D%22%23111d27%22%2F%3E%3Cpath%20transform%3D%22matrix%281%2C0%2C0%2C-1%2C199%2C86.5%29%22%20d%3D%22M182%2033.5C182.37636%2034.464288%20182.86768%2035.17857%20184.1849%2037.785715%20184.486%2038.357145%20184.03437%2039.214288%20184.1849%2039.5L192%2054.5%20211%2054.017858%20197%2032%20212%20.5H193.5L183%2025%20182%200%20165.5%20.5V85L182.5%2085.5%20182%2033.5Z%22%20fill%3D%22%23111d27%22%2F%3E%3Cpath%20transform%3D%22matrix%281%2C0%2C0%2C-1%2C197%2C88%29%22%20d%3D%22M0%206.873573%208.112396%2020.575928%209.812165%2019.509476C11.637133%2018.364464%2013.170879%2017.548417%2014.425851%2017.030571%2015.657531%2016.558014%2016.668778%2016.363198%2017.486027%2016.363198%2018.20603%2016.363198%2018.668665%2016.566102%2019.031836%2016.911339L19.048197%2016.926888%2019.064949%2016.942055C19.467207%2017.306237%2019.665062%2017.725029%2019.665062%2018.327004%2019.665062%2018.659142%2019.49702%2019.229493%2018.720646%2020.070862%2017.949364%2020.906716%2016.707556%2021.864708%2014.903319%2022.928307%2013.919963%2023.503579%2013.153638%2023.958786%2012.610038%2024.290989L12.591011%2024.30262%2012.572281%2024.314675C8.848638%2026.711419%206.063878%2029.135544%204.394174%2031.618195L4.386657%2031.629372C2.697623%2034.182024%201.887312%2037.14496%201.887312%2040.447767%201.887312%2045.802679%203.660206%2050.22622%207.356931%2053.497579%2011.033004%2056.786909%2015.916603%2058.344194%2021.788922%2058.344194%2024.723053%2058.344194%2027.535742%2057.94338%2030.21791%2057.13389%2032.947526%2056.357404%2035.556734%2055.141206%2038.043607%2053.50159L39.49536%2052.544439%2030.939042%2038.822935%2029.225722%2040.201097C27.83841%2041.317018%2026.600428%2042.095617%2025.510382%2042.583253L25.500412%2042.587717%2025.490504%2042.59228C24.436635%2043.078023%2023.550316%2043.27272%2022.808028%2043.27272%2021.937138%2043.27272%2021.387413%2043.05854%2021.003188%2042.752408%2020.692214%2042.47995%2020.515757%2042.141866%2020.515757%2041.578023%2020.515757%2041.466154%2020.5897%2041.054368%2021.324118%2040.30366%2022.03605%2039.575937%2023.190606%2038.715246%2024.875256%2037.733694L24.88438%2037.72837C25.98838%2037.076929%2026.866574%2036.53954%2027.506445%2036.12135L27.511538%2036.118017C31.5257%2033.476179%2034.49765%2030.85572%2036.242128%2028.22924%2038.01233%2025.600045%2038.859678%2022.525086%2038.859678%2019.080513%2038.859678%2013.511452%2036.913003%208.855713%2032.944799%205.284073%2028.983857%201.718979%2023.84463%200%2017.712494%200%2014.700911%200%2011.814631%20.484459%209.066181%201.459366%206.310124%202.436974%203.690784%203.930916%201.206608%205.91156L0%206.873573ZM34.640989%2027.261425C33.093458%2029.593705%2030.356968%2032.051565%2026.431519%2034.63501%2025.827605%2035.029706%2024.978348%2035.54998%2023.88375%2036.195844%2020.373496%2038.24107%2018.618367%2040.035135%2018.618367%2041.578023%2018.618367%2042.61858%2018.995814%2043.461786%2019.750708%2044.107648%2020.543347%2044.75351%2021.562453%2045.07644%2022.808028%2045.07644%2023.902625%2045.07644%2025.072709%2044.789388%2026.318284%2044.21529%2027.154704%2043.841115%2028.031208%2043.337377%2028.9478%2042.704084%2029.437533%2042.365716%2029.938708%2041.990365%2030.451327%2041.578023L36.962285%2052.019449C34.622114%2053.56234%2032.187585%2054.6926%2029.65869%2055.41022%2027.16754%2056.163728%2024.544283%2056.54048%2021.788922%2056.54048%2016.278197%2056.54048%2011.899811%2055.08729%208.653768%2052.180917%205.407724%2049.31042%203.784703%2045.39937%203.784703%2040.447767%203.784703%2037.433748%204.520725%2034.81442%205.992768%2032.589784%207.464811%2030.401032%2010.012576%2028.140519%2013.636066%2025.808239%2014.164492%2025.48531%2014.919387%2025.036789%2015.900748%2024.462693%2019.675217%2022.238053%2021.562453%2020.192826%2021.562453%2018.327004%2021.562453%2017.250565%2021.166134%2016.353547%2020.373496%2015.635918%2019.6186%2014.918289%2018.65611%2014.559479%2017.486027%2014.559479%2016.353686%2014.559479%2015.089238%2014.82859%2013.692684%2015.366806%2012.707684%2015.771721%2011.600636%2016.328362%2010.371542%2017.03672%209.858002%2017.332688%209.323154%2017.655137%208.767002%2018.004075L2.425894%207.293541C4.766065%205.427719%207.200597%204.046288%209.729491%203.149261%2012.258386%202.252235%2014.919387%201.803719%2017.712494%201.803719%2023.449688%201.803719%2028.092286%203.400429%2031.640286%206.593857%2035.188287%209.787285%2036.962285%2013.949501%2036.962285%2019.080513%2036.962285%2022.238053%2036.18852%2024.96503%2034.640989%2027.261425ZM46.18901%20.968788V42.41157H40.130987V57.375406H46.18901V72.606967H65.270389V57.375406H71.328418V42.41157H65.270389V.968788H46.18901ZM63.372999%2044.21529H69.43102V55.571687H63.372999V70.80325H48.0864V55.571687H42.028379V44.21529H48.0864V2.772507H63.372999V44.21529ZM102.21833%2019.249222%20102.22272%2019.256806C103.508708%2021.45726%20104.24864%2024.764687%20104.24864%2029.360478%20104.24864%2033.920057%20103.5087%2037.18657%20102.22826%2039.34713L102.22051%2039.360208%20102.21299%2039.3734C101.01726%2041.47191%2099.5092%2042.30393%2097.59686%2042.30393%2095.67087%2042.30393%2094.16482%2041.47637%2092.975399%2039.41791%2091.724979%2037.253904%2091.0017%2033.963617%2091.0017%2029.360478%2091.0017%2024.71867%2091.725849%2021.411736%2092.975399%2019.249222%2094.16482%2017.190758%2095.67087%2016.363198%2097.59686%2016.363198%2099.52286%2016.363198%20101.02891%2017.190758%20102.21833%2019.249222ZM79.24599%208.047409%2079.24127%208.053024C74.744419%2013.416008%2072.59972%2020.547867%2072.59972%2029.25283%2072.59972%2037.889425%2074.74618%2044.96915%2079.245479%2050.29617L79.25073%2050.302389C83.82503%2055.66937%2090.00617%2058.344194%2097.59686%2058.344194%20105.191738%2058.344194%20111.37317%2055.648229%20115.9454%2050.245714%20120.48314%2044.919977%20122.65062%2037.85766%20122.65062%2029.25283%20122.65062%2020.576378%20120.46432%2013.459595%20115.887989%208.097565%20111.31804%202.698265%20105.15724%200%2097.59686%200%2090.00617%200%2083.82503%202.674835%2079.25075%208.041832L79.24599%208.047409ZM114.41212%209.231125C118.63952%2014.182732%20120.75323%2020.856629%20120.75323%2029.25283%20120.75323%2037.577264%20118.658397%2044.197347%20114.468738%2049.11307%20110.279079%2054.064676%20104.65512%2056.54048%2097.59686%2056.54048%2090.538608%2056.54048%2084.91464%2054.082616%2080.72498%2049.166894%2076.57307%2044.251169%2074.49711%2037.61315%2074.49711%2029.25283%2074.49711%2020.820755%2076.57307%2014.128906%2080.72498%209.177299%2084.91464%204.261574%2090.538608%201.803719%2097.59686%201.803719%20104.61738%201.803719%20110.22246%204.279518%20114.41212%209.231125ZM161.17739%2036.94798%20158.14156%2039.112436C157.04624%2039.89337%20156.03787%2040.424566%20155.11655%2040.745706%20154.17974%2041.07225%20153.26805%2041.227495%20152.37271%2041.227495%20150.0969%2041.227495%20148.32921%2040.335695%20146.92378%2038.360689L146.91646%2038.350389C145.47014%2036.34789%20144.64522%2033.48318%20144.64522%2029.575764%20144.64522%2025.43708%20145.47676%2022.503678%20146.89933%2020.555413%20148.2914%2018.732468%20150.18962%2017.816384%20152.82566%2017.816384%20153.77951%2017.816384%20154.64783%2017.983292%20155.4495%2018.305985%20156.26198%2018.668633%20157.0939%2019.230278%20157.93833%2020.033005L161.17739%2023.11213V3.925072L160.35808%203.387283C158.61699%202.244461%20156.75911%201.38884%20154.78826%20.830139%20152.86394%20.273964%20150.84812%200%20148.74922%200%20141.66255%200%20135.92522%202.723465%20131.71425%208.100143L131.70891%208.106964C127.57903%2013.432335%20125.620449%2020.545189%20125.620449%2029.25283%20125.620449%2037.862154%20127.60222%2044.921403%20131.77088%2050.24405%20135.97939%2055.61757%20141.69614%2058.344194%20148.74922%2058.344194%20150.72191%2058.344194%20152.6437%2058.153398%20154.51161%2057.76879%20156.37467%2057.42092%20158.21051%2056.882417%20160.01802%2056.15692L161.17739%2055.69158V36.94798ZM154.12784%2056.002264C152.39157%2056.361078%20150.59873%2056.54048%20148.74922%2056.54048%20142.29488%2056.54048%20137.14273%2054.082616%20133.29277%2049.166894%20129.44281%2044.251169%20127.51784%2037.61315%20127.51784%2029.25283%20127.51784%2020.784867%20129.42395%2014.093025%20133.23616%209.177299%20137.08612%204.261574%20142.25713%201.803719%20148.74922%201.803719%20150.6742%201.803719%20152.5048%202.054878%20154.24108%202.55722%20156.01508%203.059563%20157.69472%203.831001%20159.28%204.871559V18.757576C158.66249%2018.170548%20158.03002%2017.675866%20157.3826%2017.273522%20157.00115%2017.036469%20156.6145%2016.831475%20156.22267%2016.658532%20155.16582%2016.227959%20154.03348%2016.012665%20152.82566%2016.012665%20149.61736%2016.012665%20147.1262%2017.178803%20145.3522%2019.511086%20143.61594%2021.879242%20142.74782%2025.234143%20142.74782%2029.575764%20142.74782%2033.7021%20143.61594%2036.967294%20145.3522%2039.37133%20147.08847%2041.811254%20149.42862%2043.03121%20152.37271%2043.03121%20153.50505%2043.03121%20154.6374%2042.833868%20155.76975%2042.43917%20156.29912%2042.254648%20156.83673%2042.019155%20157.3826%2041.73269%20158.00437%2041.406396%20158.63683%2041.013975%20159.28%2040.55541V54.49525C157.58148%2055.176996%20155.8641%2055.679334%20154.12784%2056.002264ZM195.995%202.772507%20183.59587%2031.56717V2.772507H168.25266V86.19629H183.59587V33.881509C183.90724%2034.680719%20186.54645%2034.577524%20187.5%2036.5%20187.70235%2036.90793%20187.76876%2038.041498%20188%2038.5L186.82305%2040.55541%20194.69281%2055.571687H211.961L198.08983%2033.612398%20213.03673%202.772507H195.995ZM200.2328%2033.50122%20216%20.968788H194.72148L185.49326%2022.39962V.968788H166.35526V88H185.49326V42.062925L193.51828%2057.375406H215.31357L200.2328%2033.50122ZM103.881359%2018.380829C102.40931%2015.83326%20100.31448%2014.559479%2097.59686%2014.559479%2094.87924%2014.559479%2092.78442%2015.83326%2091.31237%2018.380829%2089.840328%2020.928399%2089.10431%2024.58828%2089.10431%2029.360478%2089.10431%2034.096796%2089.840328%2037.73873%2091.31237%2040.2863%2092.78442%2042.83387%2094.87924%2044.107648%2097.59686%2044.107648%20100.31448%2044.107648%20102.40931%2042.815927%20103.881359%2040.23248%20105.39114%2037.684915%20106.146038%2034.060918%20106.146038%2029.360478%20106.146038%2024.62416%20105.39114%2020.964272%20103.881359%2018.380829Z%22%20fill%3D%22%23111d27%22%20fill-rule%3D%22evenodd%22%2F%3E%3C%2Fsvg%3E";
8855
+
8664
8856
  var defaultSizes = {
8665
8857
  small: '31px',
8666
8858
  medium: '46px',
8667
8859
  big: '61px', // cca 200px width on full logo
8668
8860
  };
8669
- styled.img(templateObject_1$9 || (templateObject_1$9 = __makeTemplateObject(["\n width: ", ";\n height: ", ";\n"], ["\n width: ", ";\n height: ", ";\n"])), function (_a) {
8861
+ var variantMap = {
8862
+ mailship: {
8863
+ white: logoWhiteImage,
8864
+ black: logoBlackImage,
8865
+ m: logoMImage,
8866
+ s: logoSvg,
8867
+ },
8868
+ mailwise: {
8869
+ black: logoMailwise,
8870
+ s: logoMailwiseSmall,
8871
+ },
8872
+ mailstock: {
8873
+ black: logoMailstock,
8874
+ },
8875
+ mailstep: {
8876
+ black: logoMailstepBlack,
8877
+ white: logoMailstepWhite,
8878
+ },
8879
+ mailwrap: {
8880
+ black: logoMailwrap,
8881
+ },
8882
+ };
8883
+ var StyledImage = styled.img(templateObject_1$9 || (templateObject_1$9 = __makeTemplateObject(["\n width: ", ";\n height: ", ";\n"], ["\n width: ", ";\n height: ", ";\n"])), function (_a) {
8670
8884
  var width = _a.width;
8671
8885
  return width || 'auto';
8672
8886
  }, function (_a) {
8673
8887
  var height = _a.height, width = _a.width, size = _a.size;
8674
8888
  return height || (width ? 'auto' : size ? defaultSizes[size] : defaultSizes['medium']);
8675
8889
  });
8890
+ var Logo = function (_a) {
8891
+ var _b = _a.brand, brand = _b === void 0 ? 'mailship' : _b, variant = _a.variant, size = _a.size, width = _a.width, height = _a.height, rest = __rest(_a, ["brand", "variant", "size", "width", "height"]);
8892
+ var variants = variantMap[brand];
8893
+ var logo = variants[variant];
8894
+ if (!logo) {
8895
+ console.warn('No variant for this logo exists.');
8896
+ return null;
8897
+ }
8898
+ return jsx(StyledImage, __assign({ src: logo, size: size, width: width, height: height }, rest));
8899
+ };
8676
8900
  var templateObject_1$9;
8677
8901
 
8678
- styled(x.div)(templateObject_1$8 || (templateObject_1$8 = __makeTemplateObject(["\n display: inline-flex;\n align-items: center;\n\n & > *:not(:last-child) {\n margin-right: 4px;\n }\n"], ["\n display: inline-flex;\n align-items: center;\n\n & > *:not(:last-child) {\n margin-right: 4px;\n }\n"])));
8679
- styled.button(templateObject_2$8 || (templateObject_2$8 = __makeTemplateObject(["\n background-color: transparent;\n border: none;\n cursor: ", ";\n opacity: ", ";\n"], ["\n background-color: transparent;\n border: none;\n cursor: ", ";\n opacity: ", ";\n"])), function (_a) {
8902
+ var Wrapper$3 = styled(x.div)(templateObject_1$8 || (templateObject_1$8 = __makeTemplateObject(["\n display: inline-flex;\n align-items: center;\n\n & > *:not(:last-child) {\n margin-right: 4px;\n }\n"], ["\n display: inline-flex;\n align-items: center;\n\n & > *:not(:last-child) {\n margin-right: 4px;\n }\n"])));
8903
+ var Btn = styled.button(templateObject_2$8 || (templateObject_2$8 = __makeTemplateObject(["\n background-color: transparent;\n border: none;\n cursor: ", ";\n opacity: ", ";\n"], ["\n background-color: transparent;\n border: none;\n cursor: ", ";\n opacity: ", ";\n"])), function (_a) {
8680
8904
  var disabled = _a.disabled;
8681
8905
  return (disabled ? 'default' : 'pointer');
8682
8906
  }, function (_a) {
@@ -8684,9 +8908,9 @@ styled.button(templateObject_2$8 || (templateObject_2$8 = __makeTemplateObject([
8684
8908
  return (disabled ? 0 : 1);
8685
8909
  });
8686
8910
  var ArrowIcon = styled(Icon)(templateObject_3$8 || (templateObject_3$8 = __makeTemplateObject(["\n border-radius: 50%;\n aspect-ratio: 1 / 1;\n width: 16px;\n display: flex;\n align-items: center;\n color: gray1;\n\n &:hover {\n color: blue2;\n }\n"], ["\n border-radius: 50%;\n aspect-ratio: 1 / 1;\n width: 16px;\n display: flex;\n align-items: center;\n color: gray1;\n\n &:hover {\n color: blue2;\n }\n"])));
8687
- styled(ArrowIcon)(templateObject_4$6 || (templateObject_4$6 = __makeTemplateObject(["\n margin: 0 8px;\n font-size: 11px;\n & > svg {\n width: 10px;\n }\n"], ["\n margin: 0 8px;\n font-size: 11px;\n & > svg {\n width: 10px;\n }\n"])));
8688
- styled.div(templateObject_5$4 || (templateObject_5$4 = __makeTemplateObject(["\n color: gray1;\n"], ["\n color: gray1;\n"])));
8689
- styled.span(templateObject_6$4 || (templateObject_6$4 = __makeTemplateObject(["\n height: 18px;\n min-width: 18px;\n display: flex;\n border-radius: 50%;\n align-items: center;\n justify-content: center;\n cursor: pointer;\n margin: 0 4px;\n color: ", ";\n font-size: 14px;\n font-weight: ", ";\n font-family: ", ";\n line-height: 1em;\n\n &:hover {\n color: blue2;\n }\n"], ["\n height: 18px;\n min-width: 18px;\n display: flex;\n border-radius: 50%;\n align-items: center;\n justify-content: center;\n cursor: pointer;\n margin: 0 4px;\n color: ", ";\n font-size: 14px;\n font-weight: ", ";\n font-family: ", ";\n line-height: 1em;\n\n &:hover {\n color: blue2;\n }\n"])), function (_a) {
8911
+ var GoIcon = styled(ArrowIcon)(templateObject_4$6 || (templateObject_4$6 = __makeTemplateObject(["\n margin: 0 8px;\n font-size: 11px;\n & > svg {\n width: 10px;\n }\n"], ["\n margin: 0 8px;\n font-size: 11px;\n & > svg {\n width: 10px;\n }\n"])));
8912
+ var DotsWrapper = styled.div(templateObject_5$4 || (templateObject_5$4 = __makeTemplateObject(["\n color: gray1;\n"], ["\n color: gray1;\n"])));
8913
+ var PageBtn = styled.span(templateObject_6$4 || (templateObject_6$4 = __makeTemplateObject(["\n height: 18px;\n min-width: 18px;\n display: flex;\n border-radius: 50%;\n align-items: center;\n justify-content: center;\n cursor: pointer;\n margin: 0 4px;\n color: ", ";\n font-size: 14px;\n font-weight: ", ";\n font-family: ", ";\n line-height: 1em;\n\n &:hover {\n color: blue2;\n }\n"], ["\n height: 18px;\n min-width: 18px;\n display: flex;\n border-radius: 50%;\n align-items: center;\n justify-content: center;\n cursor: pointer;\n margin: 0 4px;\n color: ", ";\n font-size: 14px;\n font-weight: ", ";\n font-family: ", ";\n line-height: 1em;\n\n &:hover {\n color: blue2;\n }\n"])), function (_a) {
8690
8914
  var isCurrent = _a.isCurrent;
8691
8915
  return (isCurrent ? th.color('red1') : th.color('gray1'));
8692
8916
  }, function (_a) {
@@ -8695,20 +8919,61 @@ styled.span(templateObject_6$4 || (templateObject_6$4 = __makeTemplateObject(["\
8695
8919
  }, th('fonts.primary'));
8696
8920
  var templateObject_1$8, templateObject_2$8, templateObject_3$8, templateObject_4$6, templateObject_5$4, templateObject_6$4;
8697
8921
 
8698
- styled.div(templateObject_1$7 || (templateObject_1$7 = __makeTemplateObject(["\n position: relative;\n display: flex;\n width: 100%;\n min-width: 250px;\n height: ", ";\n color: ", ";\n background-color: ", ";\n justify-content: center;\n border: slim;\n border-color: ", ";\n border-radius: md;\n overflow: hidden;\n"], ["\n position: relative;\n display: flex;\n width: 100%;\n min-width: 250px;\n height: ", ";\n color: ", ";\n background-color: ", ";\n justify-content: center;\n border: slim;\n border-color: ", ";\n border-radius: md;\n overflow: hidden;\n"])), function (props) { return (props.variant === 'thin' ? "12px" : "35px"); }, th('colors.white'), function (props) {
8922
+ var Pagination = function (_a) {
8923
+ var onPageChange = _a.onPageChange, itemPerPage = _a.itemPerPage, itemCount = _a.itemCount, page = _a.page;
8924
+ var setPage = useCallback(function (number) { return function () {
8925
+ if (onPageChange) {
8926
+ onPageChange(number);
8927
+ }
8928
+ }; }, [onPageChange]);
8929
+ var pageX = page !== null && page !== void 0 ? page : 1;
8930
+ var pageCount = Math.max(Math.ceil((itemCount !== null && itemCount !== void 0 ? itemCount : 0) / (itemPerPage !== null && itemPerPage !== void 0 ? itemPerPage : 3)), 1);
8931
+ var arrayOfPages = useMemo(function () {
8932
+ var pageNumbers = Array.from({ length: pageCount }, function (_, i) { return i + 1; });
8933
+ // first and last page are still visible
8934
+ // if number of pages is less than 6 (display all pages without dots and duplication of first and last char)
8935
+ if (pageCount < 6) {
8936
+ return pageNumbers.slice(1, pageCount - 1);
8937
+ // if current page is less than 5 (display first 5 pages)
8938
+ }
8939
+ else if (pageX < 5) {
8940
+ return pageNumbers.slice(1, 5);
8941
+ // display last 5 pages
8942
+ }
8943
+ else if (pageX > pageCount - 4) {
8944
+ return pageNumbers.slice(pageCount - 5, pageCount - 1);
8945
+ }
8946
+ else {
8947
+ // display dispersion of 2 chars from current page (part between dots)
8948
+ return pageNumbers.slice(pageX - 3, pageX + 2);
8949
+ }
8950
+ }, [pageCount, pageX]);
8951
+ return (jsxs(Wrapper$3, { children: [jsx(Btn, { disabled: pageX <= 1, onClick: setPage(pageX - 1), children: jsx(GoIcon, { icon: "goLeft", isActive: pageX > 1 }) }), jsx(PageBtn, { isCurrent: pageX === 1, onClick: setPage(1), children: 1 }), pageX >= 5 && pageCount > 6 && jsx(DotsWrapper, { children: "..." }), arrayOfPages === null || arrayOfPages === void 0 ? void 0 : arrayOfPages.map(function (number) { return (jsx(PageBtn, { isCurrent: pageX === number, onClick: setPage(number !== null && number !== void 0 ? number : 1), children: number }, number)); }), pageX < pageCount - 3 && pageCount > 6 && jsx(DotsWrapper, { children: "..." }), pageCount !== 1 && (jsx(PageBtn, { isCurrent: pageX === pageCount, onClick: setPage(pageCount), children: pageCount })), jsx(Btn, { disabled: pageX >= pageCount, onClick: setPage(pageX + 1), children: jsx(GoIcon, { icon: "goRight", isActive: pageX < pageCount }) })] }));
8952
+ };
8953
+
8954
+ var Paragraph = function () { return jsx("p", { children: "paragraph" }); };
8955
+
8956
+ var StyledProgressBar = styled.div(templateObject_1$7 || (templateObject_1$7 = __makeTemplateObject(["\n position: relative;\n display: flex;\n width: 100%;\n min-width: 250px;\n height: ", ";\n color: ", ";\n background-color: ", ";\n justify-content: center;\n border: slim;\n border-color: ", ";\n border-radius: md;\n overflow: hidden;\n"], ["\n position: relative;\n display: flex;\n width: 100%;\n min-width: 250px;\n height: ", ";\n color: ", ";\n background-color: ", ";\n justify-content: center;\n border: slim;\n border-color: ", ";\n border-radius: md;\n overflow: hidden;\n"])), function (props) { return (props.variant === 'thin' ? "12px" : "35px"); }, th('colors.white'), function (props) {
8699
8957
  return props.status === 'finished' ? createRgba(props.theme.colors.success, 0.4) : "".concat(th('colors.red1'));
8700
8958
  }, function (props) { return (props.status === 'finished' ? "".concat(th('colors.success')) : "".concat(th('colors.red1'))); });
8701
8959
  var slide = keyframes$1(templateObject_2$7 || (templateObject_2$7 = __makeTemplateObject(["\n0%{\n background-position-x: 0%;\n}\n100% {\n background-position-x: 500px;\n}\n"], ["\n0%{\n background-position-x: 0%;\n}\n100% {\n background-position-x: 500px;\n}\n"])));
8702
8960
  var StyledStatusFinished = css(templateObject_3$7 || (templateObject_3$7 = __makeTemplateObject(["\n background: repeating-linear-gradient(\n -45deg,\n ", ",\n ", " 10px,\n ", " 10px,\n ", " 22.1px\n );\n background-size: 4000px 50px;\n"], ["\n background: repeating-linear-gradient(\n -45deg,\n ", ",\n ", " 10px,\n ", " 10px,\n ", " 22.1px\n );\n background-size: 4000px 50px;\n"])), function (props) { return createRgba(props.theme.colors.success, 0.4); }, function (props) { return createRgba(props.theme.colors.success, 0.4); }, th('colors.success'), th('colors.success'));
8703
8961
  var StyledStatusLoading = css(templateObject_4$5 || (templateObject_4$5 = __makeTemplateObject(["\n background: repeating-linear-gradient(\n -45deg,\n ", ",\n ", " 10px,\n ", " 10px,\n ", " 22.1px\n );\n background-size: 4000px 50px;\n"], ["\n background: repeating-linear-gradient(\n -45deg,\n ", ",\n ", " 10px,\n ", " 10px,\n ", " 22.1px\n );\n background-size: 4000px 50px;\n"])), th('colors.red1'), th('colors.red1'), th('colors.red1'), th('colors.red1'));
8704
8962
  var StyledStatusError = css(templateObject_5$3 || (templateObject_5$3 = __makeTemplateObject(["\n background: repeating-linear-gradient(\n -45deg,\n ", ",\n ", " 10px,\n ", " 10px,\n ", " 22.1px\n );\n background-size: 4000px 50px;\n"], ["\n background: repeating-linear-gradient(\n -45deg,\n ", ",\n ", " 10px,\n ", " 10px,\n ", " 22.1px\n );\n background-size: 4000px 50px;\n"])), th('colors.red1'), th('colors.red1'), th('colors.red1'), th('colors.red1'));
8705
- styled.div(templateObject_6$3 || (templateObject_6$3 = __makeTemplateObject(["\n position: absolute;\n top: 0;\n left: 0;\n width: ", ";\n height: 35px;\n animation: ", " 20s linear infinite;\n transition: width 500ms;\n ", "\n"], ["\n position: absolute;\n top: 0;\n left: 0;\n width: ", ";\n height: 35px;\n animation: ", " 20s linear infinite;\n transition: width 500ms;\n ", "\n"])), function (props) { return "".concat(props.progress, "%"); }, slide, function (props) {
8963
+ var Progress = styled.div(templateObject_6$3 || (templateObject_6$3 = __makeTemplateObject(["\n position: absolute;\n top: 0;\n left: 0;\n width: ", ";\n height: 35px;\n animation: ", " 20s linear infinite;\n transition: width 500ms;\n ", "\n"], ["\n position: absolute;\n top: 0;\n left: 0;\n width: ", ";\n height: 35px;\n animation: ", " 20s linear infinite;\n transition: width 500ms;\n ", "\n"])), function (props) { return "".concat(props.progress, "%"); }, slide, function (props) {
8706
8964
  return props.status === 'finished' ? StyledStatusFinished : props.status === 'error' ? StyledStatusError : StyledStatusLoading;
8707
8965
  });
8708
- styled.span(templateObject_7$2 || (templateObject_7$2 = __makeTemplateObject(["\n position: relative;\n align-self: center;\n"], ["\n position: relative;\n align-self: center;\n"])));
8966
+ var ProgressDescription = styled.span(templateObject_7$2 || (templateObject_7$2 = __makeTemplateObject(["\n position: relative;\n align-self: center;\n"], ["\n position: relative;\n align-self: center;\n"])));
8709
8967
  var templateObject_1$7, templateObject_2$7, templateObject_3$7, templateObject_4$5, templateObject_5$3, templateObject_6$3, templateObject_7$2;
8710
8968
 
8711
- styled(Link$1)(templateObject_3$6 || (templateObject_3$6 = __makeTemplateObject(["\n color: inherit;\n cursor: pointer;\n\n :visited {\n color: inherit;\n }\n :hover {\n color: inherit;\n }\n :active {\n color: inherit;\n }\n :focus {\n outline: none;\n }\n\n ", "\n\n ", "\n"], ["\n color: inherit;\n cursor: pointer;\n\n :visited {\n color: inherit;\n }\n :hover {\n color: inherit;\n }\n :active {\n color: inherit;\n }\n :focus {\n outline: none;\n }\n\n ", "\n\n ", "\n"])), function (_a) {
8969
+ var ProgressBar = function (_a) {
8970
+ var _b = _a.progress, progress = _b === void 0 ? 0 : _b, status = _a.status, errorMessage = _a.errorMessage, noText = _a.noText, variant = _a.variant;
8971
+ if (progress > 100 || progress < 0)
8972
+ console.warn('Progress value should be number between 0 and 100.');
8973
+ return (jsxs(StyledProgressBar, { status: status, variant: variant, children: [jsx(Progress, { progress: progress, status: status }), !noText && jsx(ProgressDescription, { children: status === 'error' && errorMessage ? errorMessage : "".concat(progress, "%") })] }));
8974
+ };
8975
+
8976
+ var StyledLink = styled(Link$1)(templateObject_3$6 || (templateObject_3$6 = __makeTemplateObject(["\n color: inherit;\n cursor: pointer;\n\n :visited {\n color: inherit;\n }\n :hover {\n color: inherit;\n }\n :active {\n color: inherit;\n }\n :focus {\n outline: none;\n }\n\n ", "\n\n ", "\n"], ["\n color: inherit;\n cursor: pointer;\n\n :visited {\n color: inherit;\n }\n :hover {\n color: inherit;\n }\n :active {\n color: inherit;\n }\n :focus {\n outline: none;\n }\n\n ", "\n\n ", "\n"])), function (_a) {
8712
8977
  var disabled = _a.disabled;
8713
8978
  return disabled
8714
8979
  ? css(templateObject_1$6 || (templateObject_1$6 = __makeTemplateObject(["\n pointer-events: none;\n opacity: 0.5;\n "], ["\n pointer-events: none;\n opacity: 0.5;\n "]))) : null;
@@ -8719,7 +8984,7 @@ styled(Link$1)(templateObject_3$6 || (templateObject_3$6 = __makeTemplateObject(
8719
8984
  });
8720
8985
  var templateObject_1$6, templateObject_2$6, templateObject_3$6;
8721
8986
 
8722
- var Wrapper = styled(x.div)(templateObject_3$5 || (templateObject_3$5 = __makeTemplateObject(["\n width: ", ";\n position: relative;\n box-sizing: border-box;\n ", ";\n ", ";\n"], ["\n width: ", ";\n position: relative;\n box-sizing: border-box;\n ", ";\n ", ";\n"])), function (_a) {
8987
+ var Wrapper$2 = styled(x.div)(templateObject_3$5 || (templateObject_3$5 = __makeTemplateObject(["\n width: ", ";\n position: relative;\n box-sizing: border-box;\n ", ";\n ", ";\n"], ["\n width: ", ";\n position: relative;\n box-sizing: border-box;\n ", ";\n ", ";\n"])), function (_a) {
8723
8988
  var $marginLeft = _a.$marginLeft, $marginRight = _a.$marginRight;
8724
8989
  return "calc(100% - ".concat($marginLeft || '0px', " - ").concat($marginRight || '0px', ")");
8725
8990
  }, function (_a) {
@@ -8740,35 +9005,49 @@ var SpaceAroundWrap = function (_a) {
8740
9005
  var theme = useTheme();
8741
9006
  var themeMarginLeft = typeof spaceAround !== 'boolean' && (spaceAround === null || spaceAround === void 0 ? void 0 : spaceAround.marginLeft) ? th.space(spaceAround === null || spaceAround === void 0 ? void 0 : spaceAround.marginLeft)({ theme: theme }) : 0;
8742
9007
  var themeMarginRight = typeof spaceAround !== 'boolean' && (spaceAround === null || spaceAround === void 0 ? void 0 : spaceAround.marginRight) ? th.space(spaceAround === null || spaceAround === void 0 ? void 0 : spaceAround.marginRight)({ theme: theme }) : 0;
8743
- return (jsx(Wrapper, __assign({ "$spaceAround": spaceAround, "$spaceBetween": spaceBetween, "$marginRight": themeMarginRight, "$marginLeft": themeMarginLeft }, rest, { children: children })));
9008
+ return (jsx(Wrapper$2, __assign({ "$spaceAround": spaceAround, "$spaceBetween": spaceBetween, "$marginRight": themeMarginRight, "$marginLeft": themeMarginLeft }, rest, { children: children })));
8744
9009
  };
8745
9010
  var templateObject_1$5, templateObject_2$5, templateObject_3$5;
8746
9011
 
8747
- styled.span(templateObject_1$4 || (templateObject_1$4 = __makeTemplateObject(["\n display: block;\n margin-bottom: 5px;\n line-height: 18px;\n font-weight: 700;\n color: ", ";\n"], ["\n display: block;\n margin-bottom: 5px;\n line-height: 18px;\n font-weight: 700;\n color: ", ";\n"])), th('colors.blue2'));
8748
- styled.span(templateObject_2$4 || (templateObject_2$4 = __makeTemplateObject(["\n display: block;\n font-size: 12px;\n line-height: 18px;\n font-weight: 500;\n color: ", ";\n"], ["\n display: block;\n font-size: 12px;\n line-height: 18px;\n font-weight: 500;\n color: ", ";\n"])), th('colors.gray1'));
8749
- styled.div(templateObject_3$4 || (templateObject_3$4 = __makeTemplateObject(["\n display: flex;\n justify-content: space-between;\n"], ["\n display: flex;\n justify-content: space-between;\n"])));
8750
- styled.span(templateObject_4$4 || (templateObject_4$4 = __makeTemplateObject(["\n display: flex;\n align-items: center;\n margin-left: 15px;\n\n svg {\n cursor: pointer;\n }\n"], ["\n display: flex;\n align-items: center;\n margin-left: 15px;\n\n svg {\n cursor: pointer;\n }\n"])));
9012
+ var toastTitleMap = {
9013
+ info: 'Info',
9014
+ success: 'Success',
9015
+ error: 'Error',
9016
+ warning: 'Warning',
9017
+ };
9018
+ var Title = styled.span(templateObject_1$4 || (templateObject_1$4 = __makeTemplateObject(["\n display: block;\n margin-bottom: 5px;\n line-height: 18px;\n font-weight: 700;\n color: ", ";\n"], ["\n display: block;\n margin-bottom: 5px;\n line-height: 18px;\n font-weight: 700;\n color: ", ";\n"])), th('colors.blue2'));
9019
+ var Text$1 = styled.span(templateObject_2$4 || (templateObject_2$4 = __makeTemplateObject(["\n display: block;\n font-size: 12px;\n line-height: 18px;\n font-weight: 500;\n color: ", ";\n"], ["\n display: block;\n font-size: 12px;\n line-height: 18px;\n font-weight: 500;\n color: ", ";\n"])), th('colors.gray1'));
9020
+ var ContentWrapper = styled.div(templateObject_3$4 || (templateObject_3$4 = __makeTemplateObject(["\n display: flex;\n justify-content: space-between;\n"], ["\n display: flex;\n justify-content: space-between;\n"])));
9021
+ var CloseWrapper = styled.span(templateObject_4$4 || (templateObject_4$4 = __makeTemplateObject(["\n display: flex;\n align-items: center;\n margin-left: 15px;\n\n svg {\n cursor: pointer;\n }\n"], ["\n display: flex;\n align-items: center;\n margin-left: 15px;\n\n svg {\n cursor: pointer;\n }\n"])));
9022
+ var Toast = function (_a) {
9023
+ var closeToast = _a.closeToast, title = _a.title, text = _a.text, type = _a.type;
9024
+ return (jsxs(ContentWrapper, { children: [jsxs("div", { children: [jsx(Title, { children: title || toastTitleMap[type] }), text && jsx(Text$1, { children: text })] }), jsx(CloseWrapper, { children: jsx("div", { onClick: closeToast, children: jsx(Icon, { icon: "close" }) }) })] }));
9025
+ };
8751
9026
  var templateObject_1$4, templateObject_2$4, templateObject_3$4, templateObject_4$4;
8752
9027
 
8753
- styled(SpaceAroundWrap)(templateObject_1$3 || (templateObject_1$3 = __makeTemplateObject(["\n ", "\n"], ["\n ", "\n"])), function (_a) {
9028
+ var StyledSpaceAroundWrap = styled(SpaceAroundWrap)(templateObject_1$3 || (templateObject_1$3 = __makeTemplateObject(["\n ", "\n"], ["\n ", "\n"])), function (_a) {
8754
9029
  var $labelPosition = _a.$labelPosition;
8755
9030
  return ($labelPosition === 'left' ? 'display: flex; align-items: center; margin-top: 1rem' : '');
8756
9031
  });
8757
- styled(FieldLabel)(templateObject_2$3 || (templateObject_2$3 = __makeTemplateObject(["\n ", "\n"], ["\n ", "\n"])), function (_a) {
9032
+ var StyledFieldLabel = styled(FieldLabel)(templateObject_2$3 || (templateObject_2$3 = __makeTemplateObject(["\n ", "\n"], ["\n ", "\n"])), function (_a) {
8758
9033
  var labelPosition = _a.labelPosition;
8759
9034
  return (labelPosition === 'left' ? 'margin-bottom: 0; margin-right: 1rem;' : '');
8760
9035
  });
8761
9036
  var disabledStyles = css(templateObject_3$3 || (templateObject_3$3 = __makeTemplateObject(["\n opacity: 0.4;\n"], ["\n opacity: 0.4;\n"])));
8762
- styled.div(templateObject_4$3 || (templateObject_4$3 = __makeTemplateObject(["\n aspect-ratio: 1 / 1;\n width: 100%;\n height: 100%;\n border-radius: 7px;\n background-color: lightGray5;\n border: 3px solid;\n border-color: lightGray5;\n position: relative;\n transition: all 100ms ease-out;\n\n ", "\n\n input:checked + & {\n background-color: red1;\n border-color: red1;\n\n & > span {\n transform: translate(75%, -50%);\n background-color: white;\n }\n }\n"], ["\n aspect-ratio: 1 / 1;\n width: 100%;\n height: 100%;\n border-radius: 7px;\n background-color: lightGray5;\n border: 3px solid;\n border-color: lightGray5;\n position: relative;\n transition: all 100ms ease-out;\n\n ", "\n\n input:checked + & {\n background-color: red1;\n border-color: red1;\n\n & > span {\n transform: translate(75%, -50%);\n background-color: white;\n }\n }\n"])), function (props) { return (props.disabled ? disabledStyles : ''); });
9037
+ var StyledToggle = styled.div(templateObject_4$3 || (templateObject_4$3 = __makeTemplateObject(["\n aspect-ratio: 1 / 1;\n width: 100%;\n height: 100%;\n border-radius: 7px;\n background-color: lightGray5;\n border: 3px solid;\n border-color: lightGray5;\n position: relative;\n transition: all 100ms ease-out;\n\n ", "\n\n input:checked + & {\n background-color: red1;\n border-color: red1;\n\n & > span {\n transform: translate(75%, -50%);\n background-color: white;\n }\n }\n"], ["\n aspect-ratio: 1 / 1;\n width: 100%;\n height: 100%;\n border-radius: 7px;\n background-color: lightGray5;\n border: 3px solid;\n border-color: lightGray5;\n position: relative;\n transition: all 100ms ease-out;\n\n ", "\n\n input:checked + & {\n background-color: red1;\n border-color: red1;\n\n & > span {\n transform: translate(75%, -50%);\n background-color: white;\n }\n }\n"])), function (props) { return (props.disabled ? disabledStyles : ''); });
8763
9038
  var StyledDot = styled.span(templateObject_5$2 || (templateObject_5$2 = __makeTemplateObject(["\n aspect-ratio: 1 / 1;\n background-color: white;\n border-radius: 50%;\n position: absolute;\n top: 50%;\n left: 10%;\n transform: translate(-20%, -50%);\n transition: all 100ms ease-out;\n"], ["\n aspect-ratio: 1 / 1;\n background-color: white;\n border-radius: 50%;\n position: absolute;\n top: 50%;\n left: 10%;\n transform: translate(-20%, -50%);\n transition: all 100ms ease-out;\n"])));
8764
- styled.input(templateObject_6$2 || (templateObject_6$2 = __makeTemplateObject(["\n opacity: 0;\n width: 100%;\n height: 100%;\n position: absolute;\n left: 0;\n top: 0;\n border-radius: 7px;\n z-index: 1;\n margin: 0;\n\n ", "\n"], ["\n opacity: 0;\n width: 100%;\n height: 100%;\n position: absolute;\n left: 0;\n top: 0;\n border-radius: 7px;\n z-index: 1;\n margin: 0;\n\n ", "\n"])), function (_a) {
9039
+ var HiddenInput = styled.input(templateObject_6$2 || (templateObject_6$2 = __makeTemplateObject(["\n opacity: 0;\n width: 100%;\n height: 100%;\n position: absolute;\n left: 0;\n top: 0;\n border-radius: 7px;\n z-index: 1;\n margin: 0;\n\n ", "\n"], ["\n opacity: 0;\n width: 100%;\n height: 100%;\n position: absolute;\n left: 0;\n top: 0;\n border-radius: 7px;\n z-index: 1;\n margin: 0;\n\n ", "\n"])), function (_a) {
8765
9040
  var $enabled = _a.$enabled;
8766
9041
  return ($enabled ? 'cursor: pointer;' : '');
8767
9042
  });
8768
- styled.div(templateObject_7$1 || (templateObject_7$1 = __makeTemplateObject(["\n position: relative;\n border-radius: 8px;\n overflow: hidden;\n flex-shrink: 0;\n &[data-appearance='primary'] {\n width: 24px;\n height: 14px;\n ", " {\n height: 10px;\n }\n }\n &[data-appearance='grid'] {\n width: 28px;\n height: 16px;\n ", " {\n height: 12px;\n }\n }\n"], ["\n position: relative;\n border-radius: 8px;\n overflow: hidden;\n flex-shrink: 0;\n &[data-appearance='primary'] {\n width: 24px;\n height: 14px;\n ", " {\n height: 10px;\n }\n }\n &[data-appearance='grid'] {\n width: 28px;\n height: 16px;\n ", " {\n height: 12px;\n }\n }\n"])), StyledDot, StyledDot);
9043
+ var Wrapper$1 = styled.div(templateObject_7$1 || (templateObject_7$1 = __makeTemplateObject(["\n position: relative;\n border-radius: 8px;\n overflow: hidden;\n flex-shrink: 0;\n &[data-appearance='primary'] {\n width: 24px;\n height: 14px;\n ", " {\n height: 10px;\n }\n }\n &[data-appearance='grid'] {\n width: 28px;\n height: 16px;\n ", " {\n height: 12px;\n }\n }\n"], ["\n position: relative;\n border-radius: 8px;\n overflow: hidden;\n flex-shrink: 0;\n &[data-appearance='primary'] {\n width: 24px;\n height: 14px;\n ", " {\n height: 10px;\n }\n }\n &[data-appearance='grid'] {\n width: 28px;\n height: 16px;\n ", " {\n height: 12px;\n }\n }\n"])), StyledDot, StyledDot);
9044
+ var Toggle = function (_a) {
9045
+ var onChange = _a.onChange, label = _a.label, name = _a.name, checked = _a.checked, defaultChecked = _a.defaultChecked, _b = _a.spaceAround, spaceAround = _b === void 0 ? false : _b, _c = _a.disabled, disabled = _c === void 0 ? false : _c, _d = _a.labelPosition, labelPosition = _d === void 0 ? 'default' : _d, _e = _a.variant, variant = _e === void 0 ? 'primary' : _e, _f = _a.spaceBetween, spaceBetween = _f === void 0 ? false : _f, rest = __rest(_a, ["onChange", "label", "name", "checked", "defaultChecked", "spaceAround", "disabled", "labelPosition", "variant", "spaceBetween"]);
9046
+ return (jsxs(StyledSpaceAroundWrap, { spaceBetween: spaceBetween, spaceAround: spaceAround, "$labelPosition": labelPosition, children: [label && (jsx(StyledFieldLabel, { htmlFor: name, labelPosition: labelPosition, children: label })), jsxs(Wrapper$1, { "data-appearance": variant, children: [jsx(HiddenInput, { name: name, type: "checkbox", checked: checked, "$enabled": !disabled, defaultChecked: defaultChecked, onChange: !disabled ? onChange : undefined, disabled: disabled, "data-cy": "".concat(name, "Switch") }), jsx(StyledToggle, __assign({ active: !!checked, disabled: disabled }, rest, { children: jsx(StyledDot, {}) }))] })] }));
9047
+ };
8769
9048
  var templateObject_1$3, templateObject_2$3, templateObject_3$3, templateObject_4$3, templateObject_5$2, templateObject_6$2, templateObject_7$1;
8770
9049
 
8771
- var Text = function (props) { return jsx(Text$1, __assign({}, props, { fontWeight: props.variant })); };
9050
+ var Text = function (props) { return jsx(Text$3, __assign({}, props, { fontWeight: props.variant })); };
8772
9051
  Text.defaultProps = { fontFamily: 'primary' };
8773
9052
  // Paragraphs
8774
9053
  var Paragraph1 = function (props) { return jsx(Text, __assign({}, props, { fontWeight: props.variant })); };
@@ -8815,16 +9094,16 @@ var CheckboxWrap = styled.div(templateObject_3$2 || (templateObject_3$2 = __make
8815
9094
  var size = _a.size;
8816
9095
  return size;
8817
9096
  });
8818
- var Label = styled.span(templateObject_4$2 || (templateObject_4$2 = __makeTemplateObject(["\n margin: 0;\n margin-left: 8px;\n font-size: 14px;\n"], ["\n margin: 0;\n margin-left: 8px;\n font-size: 14px;\n"])));
9097
+ var Label$1 = styled.span(templateObject_4$2 || (templateObject_4$2 = __makeTemplateObject(["\n margin: 0;\n margin-left: 8px;\n font-size: 14px;\n"], ["\n margin: 0;\n margin-left: 8px;\n font-size: 14px;\n"])));
8819
9098
  var templateObject_1$2, templateObject_2$2, templateObject_3$2, templateObject_4$2;
8820
9099
 
8821
9100
  var Checkbox = function (_a) {
8822
9101
  var name = _a.name, label = _a.label, onChange = _a.onChange, checked = _a.checked, defaultChecked = _a.defaultChecked, _b = _a.size, size = _b === void 0 ? 4 : _b, className = _a.className, disabled = _a.disabled, inputRef = _a.inputRef, readOnly = _a.readOnly, _c = _a.minusIcon, minusIcon = _c === void 0 ? false : _c;
8823
9102
  var theme = useTheme();
8824
9103
  var themeSize = th.fontSize(size)({ theme: theme });
8825
- return (jsxs(CheckboxWrap, { size: themeSize, className: className, children: [jsx("input", { type: "checkbox", ref: inputRef, name: name, checked: checked, defaultChecked: defaultChecked, disabled: disabled, onChange: onChange, value: "", readOnly: readOnly, "data-cy": name && "".concat(name, "Checkbox") }), jsx(FakeInput, { size: themeSize, children: jsx(CheckIcon, { icon: minusIcon ? 'minus' : 'check', size: themeSize }) }), label && jsx(Label, { children: label })] }));
9104
+ return (jsxs(CheckboxWrap, { size: themeSize, className: className, children: [jsx("input", { type: "checkbox", ref: inputRef, name: name, checked: checked, defaultChecked: defaultChecked, disabled: disabled, onChange: onChange, value: "", readOnly: readOnly, "data-cy": name && "".concat(name, "Checkbox") }), jsx(FakeInput, { size: themeSize, children: jsx(CheckIcon, { icon: minusIcon ? 'minus' : 'check', size: themeSize }) }), label && jsx(Label$1, { children: label })] }));
8826
9105
  };
8827
- memo(Checkbox);
9106
+ var Checkbox$1 = memo(Checkbox);
8828
9107
 
8829
9108
  var resolvePaddingRight = function (props) {
8830
9109
  var $icon = props.$icon, $iconPlacement = props.$iconPlacement, $isClearable = props.$isClearable, $hasSuffix = props.$hasSuffix;
@@ -8844,9 +9123,9 @@ var InputIcon = styled.div(templateObject_1$1 || (templateObject_1$1 = __makeTem
8844
9123
  var right = _a.right;
8845
9124
  return (right ? '0.5em' : 'auto');
8846
9125
  });
8847
- styled.div(templateObject_2$1 || (templateObject_2$1 = __makeTemplateObject(["\n position: absolute;\n top: 0.2em;\n right: 0.5em;\n"], ["\n position: absolute;\n top: 0.2em;\n right: 0.5em;\n"])));
8848
- styled.div(templateObject_3$1 || (templateObject_3$1 = __makeTemplateObject(["\n display: flex;\n svg {\n :hover {\n cursor: pointer;\n color: blue2;\n }\n }\n"], ["\n display: flex;\n svg {\n :hover {\n cursor: pointer;\n color: blue2;\n }\n }\n"])));
8849
- styled.input(templateObject_5$1 || (templateObject_5$1 = __makeTemplateObject(["\n ", ";\n border: slim;\n border-color: ", ";\n box-sizing: border-box;\n background-clip: padding-box;\n padding-top: 0.5em;\n padding-bottom: 0.5em;\n padding-right: ", "em;\n display: block;\n width: 100%;\n font-family: ", ";\n font-size: 14px;\n font-weight: medium;\n transition: inputTransition;\n\n ~ ", " {\n svg {\n stroke: lightGray3;\n }\n }\n\n ::placeholder {\n color: lightGray3;\n opacity: 1;\n }\n\n :focus {\n background-color: white;\n border-color: blue2;\n color: typoPrimary;\n outline: 0;\n\n ~ ", " {\n svg {\n stroke: blue2;\n }\n }\n }\n ", ";\n :disabled,\n :disabled:hover {\n background-color: lightGray1;\n border-color: lightGray3;\n color: gray;\n }\n\n text-overflow: ellipsis;\n\n -moz-appearance: textfield;\n appearance: textfield;\n ::-webkit-inner-spin-button {\n -webkit-appearance: none;\n }\n"], ["\n ", ";\n border: slim;\n border-color: ", ";\n box-sizing: border-box;\n background-clip: padding-box;\n padding-top: 0.5em;\n padding-bottom: 0.5em;\n padding-right: ", "em;\n display: block;\n width: 100%;\n font-family: ", ";\n font-size: 14px;\n font-weight: medium;\n transition: inputTransition;\n\n ~ ", " {\n svg {\n stroke: lightGray3;\n }\n }\n\n ::placeholder {\n color: lightGray3;\n opacity: 1;\n }\n\n :focus {\n background-color: white;\n border-color: blue2;\n color: typoPrimary;\n outline: 0;\n\n ~ ", " {\n svg {\n stroke: blue2;\n }\n }\n }\n ", ";\n :disabled,\n :disabled:hover {\n background-color: lightGray1;\n border-color: lightGray3;\n color: gray;\n }\n\n text-overflow: ellipsis;\n\n -moz-appearance: textfield;\n appearance: textfield;\n ::-webkit-inner-spin-button {\n -webkit-appearance: none;\n }\n"])), system, function (_a) {
9126
+ var IconsController = styled.div(templateObject_2$1 || (templateObject_2$1 = __makeTemplateObject(["\n position: absolute;\n top: 0.2em;\n right: 0.5em;\n"], ["\n position: absolute;\n top: 0.2em;\n right: 0.5em;\n"])));
9127
+ var IconWrapper = styled.div(templateObject_3$1 || (templateObject_3$1 = __makeTemplateObject(["\n display: flex;\n svg {\n :hover {\n cursor: pointer;\n color: blue2;\n }\n }\n"], ["\n display: flex;\n svg {\n :hover {\n cursor: pointer;\n color: blue2;\n }\n }\n"])));
9128
+ var StyledInput = styled.input(templateObject_5$1 || (templateObject_5$1 = __makeTemplateObject(["\n ", ";\n border: slim;\n border-color: ", ";\n box-sizing: border-box;\n background-clip: padding-box;\n padding-top: 0.5em;\n padding-bottom: 0.5em;\n padding-right: ", "em;\n display: block;\n width: 100%;\n font-family: ", ";\n font-size: 14px;\n font-weight: medium;\n transition: inputTransition;\n\n ~ ", " {\n svg {\n stroke: lightGray3;\n }\n }\n\n ::placeholder {\n color: lightGray3;\n opacity: 1;\n }\n\n :focus {\n background-color: white;\n border-color: blue2;\n color: typoPrimary;\n outline: 0;\n\n ~ ", " {\n svg {\n stroke: blue2;\n }\n }\n }\n ", ";\n :disabled,\n :disabled:hover {\n background-color: lightGray1;\n border-color: lightGray3;\n color: gray;\n }\n\n text-overflow: ellipsis;\n\n -moz-appearance: textfield;\n appearance: textfield;\n ::-webkit-inner-spin-button {\n -webkit-appearance: none;\n }\n"], ["\n ", ";\n border: slim;\n border-color: ", ";\n box-sizing: border-box;\n background-clip: padding-box;\n padding-top: 0.5em;\n padding-bottom: 0.5em;\n padding-right: ", "em;\n display: block;\n width: 100%;\n font-family: ", ";\n font-size: 14px;\n font-weight: medium;\n transition: inputTransition;\n\n ~ ", " {\n svg {\n stroke: lightGray3;\n }\n }\n\n ::placeholder {\n color: lightGray3;\n opacity: 1;\n }\n\n :focus {\n background-color: white;\n border-color: blue2;\n color: typoPrimary;\n outline: 0;\n\n ~ ", " {\n svg {\n stroke: blue2;\n }\n }\n }\n ", ";\n :disabled,\n :disabled:hover {\n background-color: lightGray1;\n border-color: lightGray3;\n color: gray;\n }\n\n text-overflow: ellipsis;\n\n -moz-appearance: textfield;\n appearance: textfield;\n ::-webkit-inner-spin-button {\n -webkit-appearance: none;\n }\n"])), system, function (_a) {
8850
9129
  var $isInvalid = _a.$isInvalid;
8851
9130
  return ($isInvalid ? th.color('red1') : th.color('lightGray6'));
8852
9131
  }, function (props) { return resolvePaddingRight(props); }, th('fonts.primary'), InputIcon, InputIcon, function (_a) {
@@ -8854,13 +9133,13 @@ styled.input(templateObject_5$1 || (templateObject_5$1 = __makeTemplateObject(["
8854
9133
  return big
8855
9134
  ? css(templateObject_4$1 || (templateObject_4$1 = __makeTemplateObject(["\n font-size: 30px;\n color: gray;\n font-weight: semiBold;\n padding: 0 0.5rem 0 1.25rem;\n "], ["\n font-size: 30px;\n color: gray;\n font-weight: semiBold;\n padding: 0 0.5rem 0 1.25rem;\n "]))) : '';
8856
9135
  });
8857
- styled.div(templateObject_6$1 || (templateObject_6$1 = __makeTemplateObject(["\n position: relative;\n"], ["\n position: relative;\n"])));
8858
- styled.div(templateObject_8 || (templateObject_8 = __makeTemplateObject(["\n position: absolute;\n right: 0;\n top: 0;\n font-size: 14px;\n font-weight: 700;\n height: 100%;\n width: 40px;\n padding: 2;\n color: typoPrimary;\n font-family: ", ";\n display: flex;\n align-items: center;\n justify-content: center;\n transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;\n border: slim;\n border-top-right-radius: lg;\n border-bottom-right-radius: lg;\n border-left: none;\n\n ", ";\n\n input:focus ~ & {\n border-color: blue2;\n }\n"], ["\n position: absolute;\n right: 0;\n top: 0;\n font-size: 14px;\n font-weight: 700;\n height: 100%;\n width: 40px;\n padding: 2;\n color: typoPrimary;\n font-family: ", ";\n display: flex;\n align-items: center;\n justify-content: center;\n transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;\n border: slim;\n border-top-right-radius: lg;\n border-bottom-right-radius: lg;\n border-left: none;\n\n ", ";\n\n input:focus ~ & {\n border-color: blue2;\n }\n"])), th('fonts.primary'), function (_a) {
9136
+ var InputWrap = styled.div(templateObject_6$1 || (templateObject_6$1 = __makeTemplateObject(["\n position: relative;\n"], ["\n position: relative;\n"])));
9137
+ var Suffix = styled.div(templateObject_8 || (templateObject_8 = __makeTemplateObject(["\n position: absolute;\n right: 0;\n top: 0;\n font-size: 14px;\n font-weight: 700;\n height: 100%;\n width: 40px;\n padding: 2;\n color: typoPrimary;\n font-family: ", ";\n display: flex;\n align-items: center;\n justify-content: center;\n transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;\n border: slim;\n border-top-right-radius: lg;\n border-bottom-right-radius: lg;\n border-left: none;\n\n ", ";\n\n input:focus ~ & {\n border-color: blue2;\n }\n"], ["\n position: absolute;\n right: 0;\n top: 0;\n font-size: 14px;\n font-weight: 700;\n height: 100%;\n width: 40px;\n padding: 2;\n color: typoPrimary;\n font-family: ", ";\n display: flex;\n align-items: center;\n justify-content: center;\n transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;\n border: slim;\n border-top-right-radius: lg;\n border-bottom-right-radius: lg;\n border-left: none;\n\n ", ";\n\n input:focus ~ & {\n border-color: blue2;\n }\n"])), th('fonts.primary'), function (_a) {
8859
9138
  var $isPointer = _a.$isPointer;
8860
9139
  return $isPointer
8861
9140
  ? css(templateObject_7 || (templateObject_7 = __makeTemplateObject(["\n cursor: pointer;\n "], ["\n cursor: pointer;\n "]))) : '';
8862
9141
  });
8863
- styled.div(templateObject_9 || (templateObject_9 = __makeTemplateObject(["\n position: relative;\n color: ", ";\n & > * {\n border-color: ", ";\n color: ", ";\n }\n :hover > * {\n border-color: ", ";\n }\n &:focus-within {\n color: typoPrimary;\n }\n .primary {\n line-height: 0;\n height: 38px;\n border-radius: lg;\n ~ ", " {\n top: 10px;\n }\n }\n .grid {\n line-height: 1.2px;\n border-radius: md;\n ~ ", " {\n top: 7px;\n }\n }\n .left {\n padding-left: ", ";\n }\n .right {\n padding-right: 1.4em;\n padding-left: 1em;\n }\n"], ["\n position: relative;\n color: ", ";\n & > * {\n border-color: ", ";\n color: ", ";\n }\n :hover > * {\n border-color: ", ";\n }\n &:focus-within {\n color: typoPrimary;\n }\n .primary {\n line-height: 0;\n height: 38px;\n border-radius: lg;\n ~ ", " {\n top: 10px;\n }\n }\n .grid {\n line-height: 1.2px;\n border-radius: md;\n ~ ", " {\n top: 7px;\n }\n }\n .left {\n padding-left: ", ";\n }\n .right {\n padding-right: 1.4em;\n padding-left: 1em;\n }\n"])), function (_a) {
9142
+ var InputRow = styled.div(templateObject_9 || (templateObject_9 = __makeTemplateObject(["\n position: relative;\n color: ", ";\n & > * {\n border-color: ", ";\n color: ", ";\n }\n :hover > * {\n border-color: ", ";\n }\n &:focus-within {\n color: typoPrimary;\n }\n .primary {\n line-height: 0;\n height: 38px;\n border-radius: lg;\n ~ ", " {\n top: 10px;\n }\n }\n .grid {\n line-height: 1.2px;\n border-radius: md;\n ~ ", " {\n top: 7px;\n }\n }\n .left {\n padding-left: ", ";\n }\n .right {\n padding-right: 1.4em;\n padding-left: 1em;\n }\n"], ["\n position: relative;\n color: ", ";\n & > * {\n border-color: ", ";\n color: ", ";\n }\n :hover > * {\n border-color: ", ";\n }\n &:focus-within {\n color: typoPrimary;\n }\n .primary {\n line-height: 0;\n height: 38px;\n border-radius: lg;\n ~ ", " {\n top: 10px;\n }\n }\n .grid {\n line-height: 1.2px;\n border-radius: md;\n ~ ", " {\n top: 7px;\n }\n }\n .left {\n padding-left: ", ";\n }\n .right {\n padding-right: 1.4em;\n padding-left: 1em;\n }\n"])), function (_a) {
8864
9143
  var $isInvalid = _a.$isInvalid;
8865
9144
  return ($isInvalid ? th.color('red1') : th.color('gray'));
8866
9145
  }, function (_a) {
@@ -8876,19 +9155,55 @@ styled.div(templateObject_9 || (templateObject_9 = __makeTemplateObject(["\n po
8876
9155
  var $icon = _a.$icon;
8877
9156
  return ($icon ? '3em' : '1em');
8878
9157
  });
8879
- styled.div(templateObject_10 || (templateObject_10 = __makeTemplateObject(["\n span {\n display: none;\n position: absolute;\n width: 120px;\n background-color: white;\n color: red1;\n border-color: red1;\n border: 1px solid;\n text-align: center;\n border-radius: lg;\n padding: 1 3;\n margin: 1;\n z-index: 1;\n transition: opacity 0.3s;\n top: 0;\n left: 100%;\n margin-left: 2;\n box-shadow: tooltipBoxShadow;\n\n :after {\n content: '';\n position: absolute;\n top: 0px;\n right: 100%;\n border: mediumThick;\n border-color: transparent ", " transparent transparent;\n }\n }\n\n :hover {\n cursor: pointer;\n span {\n display: block;\n }\n }\n"], ["\n span {\n display: none;\n position: absolute;\n width: 120px;\n background-color: white;\n color: red1;\n border-color: red1;\n border: 1px solid;\n text-align: center;\n border-radius: lg;\n padding: 1 3;\n margin: 1;\n z-index: 1;\n transition: opacity 0.3s;\n top: 0;\n left: 100%;\n margin-left: 2;\n box-shadow: tooltipBoxShadow;\n\n :after {\n content: '';\n position: absolute;\n top: 0px;\n right: 100%;\n border: mediumThick;\n border-color: transparent ", " transparent transparent;\n }\n }\n\n :hover {\n cursor: pointer;\n span {\n display: block;\n }\n }\n"])), th.color('red1'));
9158
+ var Tooltip = styled.div(templateObject_10 || (templateObject_10 = __makeTemplateObject(["\n span {\n display: none;\n position: absolute;\n width: 120px;\n background-color: white;\n color: red1;\n border-color: red1;\n border: 1px solid;\n text-align: center;\n border-radius: lg;\n padding: 1 3;\n margin: 1;\n z-index: 1;\n transition: opacity 0.3s;\n top: 0;\n left: 100%;\n margin-left: 2;\n box-shadow: tooltipBoxShadow;\n\n :after {\n content: '';\n position: absolute;\n top: 0px;\n right: 100%;\n border: mediumThick;\n border-color: transparent ", " transparent transparent;\n }\n }\n\n :hover {\n cursor: pointer;\n span {\n display: block;\n }\n }\n"], ["\n span {\n display: none;\n position: absolute;\n width: 120px;\n background-color: white;\n color: red1;\n border-color: red1;\n border: 1px solid;\n text-align: center;\n border-radius: lg;\n padding: 1 3;\n margin: 1;\n z-index: 1;\n transition: opacity 0.3s;\n top: 0;\n left: 100%;\n margin-left: 2;\n box-shadow: tooltipBoxShadow;\n\n :after {\n content: '';\n position: absolute;\n top: 0px;\n right: 100%;\n border: mediumThick;\n border-color: transparent ", " transparent transparent;\n }\n }\n\n :hover {\n cursor: pointer;\n span {\n display: block;\n }\n }\n"])), th.color('red1'));
8880
9159
  var templateObject_1$1, templateObject_2$1, templateObject_3$1, templateObject_4$1, templateObject_5$1, templateObject_6$1, templateObject_7, templateObject_8, templateObject_9, templateObject_10;
8881
9160
 
8882
- styled.div(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n display: flex;\n align-items: center;\n height: auto;\n width: auto;\n box-sizing: border-box;\n"], ["\n display: flex;\n align-items: center;\n height: auto;\n width: auto;\n box-sizing: border-box;\n"])));
8883
- styled.div(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n display: flex;\n position: relative;\n width: 18px;\n height: 18px;\n & > span > span {\n width: 10px;\n height: 10px;\n }\n & > * {\n position: absolute;\n width: 100%;\n height: 100%;\n left: 0;\n top: 0;\n }\n"], ["\n display: flex;\n position: relative;\n width: 18px;\n height: 18px;\n & > span > span {\n width: 10px;\n height: 10px;\n }\n & > * {\n position: absolute;\n width: 100%;\n height: 100%;\n left: 0;\n top: 0;\n }\n"])));
8884
- styled.span(templateObject_3 || (templateObject_3 = __makeTemplateObject(["\n border-radius: 50%;\n background-color: white;\n border: 1.5px solid;\n border-color: lightGray5;\n pointer-events: none;\n cursor: pointer;\n position: relative;\n\n & span {\n position: absolute;\n left: 50%;\n top: 50%;\n transform: translate(-50%, -50%);\n box-sizing: border-box;\n border-radius: 50%;\n transition: opacity 100ms ease-out;\n background-color: white;\n }\n\n input[type='radio']:checked + & {\n border-color: red1;\n }\n\n input[type='radio']:disabled + & {\n border-color: gray1;\n }\n\n input[type='radio']:not(:disabled):not(:checked):hover + & {\n border-color: gray1;\n }\n\n input[type='radio']:hover:not(:disabled):not(:checked) + & > span,\n input[type='radio']:checked:disabled + & > span {\n background-color: gray1;\n }\n\n input[type='radio']:checked + & > span {\n background-color: red1;\n }\n"], ["\n border-radius: 50%;\n background-color: white;\n border: 1.5px solid;\n border-color: lightGray5;\n pointer-events: none;\n cursor: pointer;\n position: relative;\n\n & span {\n position: absolute;\n left: 50%;\n top: 50%;\n transform: translate(-50%, -50%);\n box-sizing: border-box;\n border-radius: 50%;\n transition: opacity 100ms ease-out;\n background-color: white;\n }\n\n input[type='radio']:checked + & {\n border-color: red1;\n }\n\n input[type='radio']:disabled + & {\n border-color: gray1;\n }\n\n input[type='radio']:not(:disabled):not(:checked):hover + & {\n border-color: gray1;\n }\n\n input[type='radio']:hover:not(:disabled):not(:checked) + & > span,\n input[type='radio']:checked:disabled + & > span {\n background-color: gray1;\n }\n\n input[type='radio']:checked + & > span {\n background-color: red1;\n }\n"])));
8885
- styled.span(templateObject_4 || (templateObject_4 = __makeTemplateObject(["\n width: 10px;\n height: 10px;\n"], ["\n width: 10px;\n height: 10px;\n"])));
8886
- styled.input(templateObject_5 || (templateObject_5 = __makeTemplateObject(["\n opacity: 0;\n border-radius: 50%;\n width: 18px;\n height: 18px;\n cursor: ", ";\n margin: 0;\n"], ["\n opacity: 0;\n border-radius: 50%;\n width: 18px;\n height: 18px;\n cursor: ", ";\n margin: 0;\n"])), function (_a) {
9161
+ var Input = function (_a) {
9162
+ var _b = _a.appearance, appearance = _b === void 0 ? 'primary' : _b, type = _a.type, name = _a.name, label = _a.label, value = _a.value, icon = _a.icon, disabled = _a.disabled, error = _a.error, _c = _a.isInvalid, isInvalid = _c === void 0 ? undefined : _c, _d = _a.spaceAround, spaceAround = _d === void 0 ? false : _d, inputRef = _a.inputRef, autoComplete = _a.autoComplete, isLoading = _a.isLoading, className = _a.className, suffix = _a.suffix, suffixOnClick = _a.suffixOnClick, errorAppearance = _a.errorAppearance, _e = _a.iconPlacement, iconPlacement = _e === void 0 ? 'left' : _e, iconOnClick = _a.iconOnClick, iconTooltip = _a.iconTooltip, big = _a.big, _f = _a.showArrowsController, showArrowsController = _f === void 0 ? false : _f, onClear = _a.onClear, alwaysShowClear = _a.alwaysShowClear, setNumber = _a.setNumber, onEnter = _a.onEnter, _g = _a.forceFocus, forceFocus = _g === void 0 ? false : _g, _h = _a.autoFocus, autoFocus = _h === void 0 ? false : _h, onBlur = _a.onBlur, rest = __rest(_a, ["appearance", "type", "name", "label", "value", "icon", "disabled", "error", "isInvalid", "spaceAround", "inputRef", "autoComplete", "isLoading", "className", "suffix", "suffixOnClick", "errorAppearance", "iconPlacement", "iconOnClick", "iconTooltip", "big", "showArrowsController", "onClear", "alwaysShowClear", "setNumber", "onEnter", "forceFocus", "autoFocus", "onBlur"]);
9163
+ var $isInvalid = isInvalid !== undefined ? isInvalid : !!error;
9164
+ var $isClearable = !!onClear && (!!value || alwaysShowClear) && !disabled && !isLoading;
9165
+ var $hasSuffix = !!suffix;
9166
+ var checkIconPlacement = showArrowsController ? 'left' : iconPlacement;
9167
+ var onAddItem = useCallback(function () { return setNumber && setNumber(function (base) { return base + 1; }); }, [setNumber]);
9168
+ var onRemoveItem = useCallback(function () {
9169
+ setNumber && setNumber(function (base) { return (base > 1 ? base - 1 : 1); });
9170
+ }, [setNumber]);
9171
+ var internalRef = useRef();
9172
+ var ref = (inputRef || internalRef);
9173
+ useEffect(function () {
9174
+ var _a;
9175
+ forceFocus && !disabled && !isLoading && ((_a = ref === null || ref === void 0 ? void 0 : ref.current) === null || _a === void 0 ? void 0 : _a.focus());
9176
+ }, [disabled, forceFocus, isLoading]);
9177
+ var handleBlur = useCallback(function (event) {
9178
+ var _a, _b, _c, _d, _e;
9179
+ onBlur === null || onBlur === void 0 ? void 0 : onBlur(event);
9180
+ if (forceFocus && ((_b = (_a = event.relatedTarget) === null || _a === void 0 ? void 0 : _a.tagName) === null || _b === void 0 ? void 0 : _b.toLowerCase()) !== 'input' || ((_d = (_c = event.relatedTarget) === null || _c === void 0 ? void 0 : _c.type) === null || _d === void 0 ? void 0 : _d.toLowerCase()) !== 'text') {
9181
+ (_e = event.target) === null || _e === void 0 ? void 0 : _e.focus();
9182
+ }
9183
+ }, [forceFocus, onBlur]);
9184
+ var handleKeyDown = useCallback(function (event) {
9185
+ if (event.key === 'Enter') {
9186
+ onEnter === null || onEnter === void 0 ? void 0 : onEnter();
9187
+ }
9188
+ }, [onEnter]);
9189
+ return (jsxs(SpaceAroundWrap, { spaceAround: spaceAround, className: className, children: [jsxs(InputWrap, { children: [label && (jsx(FieldLabel, { htmlFor: name, "$isInvalid": $isInvalid, children: label })), jsxs(InputRow, { hasValue: !!value, "$isInvalid": $isInvalid, disabled: !!disabled, "$icon": icon, children: [jsx(StyledInput, __assign({ autoFocus: autoFocus, className: "".concat(appearance, " ").concat(checkIconPlacement), type: type, name: name, "data-cy": "".concat(name, "Inp"), value: value, "$isInvalid": $isInvalid, "$isClearable": $isClearable, "$hasSuffix": $hasSuffix, disabled: disabled || isLoading, ref: ref, autoComplete: autoComplete, onKeyDown: handleKeyDown, big: big, onBlur: handleBlur }, rest)), icon && (jsx(InputIcon, { right: showArrowsController ? false : iconPlacement === 'right', onClick: iconOnClick, children: jsxs(Tooltip, { children: [jsx(Icon, { icon: icon }), iconTooltip && jsx("span", { children: iconTooltip })] }) })), showArrowsController && (jsxs(IconsController, { children: [jsx(IconWrapper, { onClick: onAddItem, children: jsx(Icon, { icon: "goUp", fill: "gray1" }) }), jsx(IconWrapper, { onClick: onRemoveItem, children: jsx(Icon, { icon: "goDown", fill: "gray1" }) })] })), $isClearable && (jsx(InputIcon, { right: true, onClick: onClear, children: jsx(Icon, { icon: "deleteX", size: "16px", fill: "lightGray3" }) })), suffix && (jsx(Suffix, { onClick: suffixOnClick, "$isPointer": !!suffixOnClick, "$isInvalid": $isInvalid, children: suffix })), isLoading && (jsx(InputIcon, { right: true, children: jsx(Spinner, { variant: "sm" }) }))] })] }), error && jsx(ErrorMessage, { appearance: errorAppearance, children: error })] }));
9190
+ };
9191
+
9192
+ var Wrapper = styled.div(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n display: flex;\n align-items: center;\n height: auto;\n width: auto;\n box-sizing: border-box;\n"], ["\n display: flex;\n align-items: center;\n height: auto;\n width: auto;\n box-sizing: border-box;\n"])));
9193
+ var Item = styled.div(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n display: flex;\n position: relative;\n width: 18px;\n height: 18px;\n & > span > span {\n width: 10px;\n height: 10px;\n }\n & > * {\n position: absolute;\n width: 100%;\n height: 100%;\n left: 0;\n top: 0;\n }\n"], ["\n display: flex;\n position: relative;\n width: 18px;\n height: 18px;\n & > span > span {\n width: 10px;\n height: 10px;\n }\n & > * {\n position: absolute;\n width: 100%;\n height: 100%;\n left: 0;\n top: 0;\n }\n"])));
9194
+ var PaintoverLayer = styled.span(templateObject_3 || (templateObject_3 = __makeTemplateObject(["\n border-radius: 50%;\n background-color: white;\n border: 1.5px solid;\n border-color: lightGray5;\n pointer-events: none;\n cursor: pointer;\n position: relative;\n\n & span {\n position: absolute;\n left: 50%;\n top: 50%;\n transform: translate(-50%, -50%);\n box-sizing: border-box;\n border-radius: 50%;\n transition: opacity 100ms ease-out;\n background-color: white;\n }\n\n input[type='radio']:checked + & {\n border-color: red1;\n }\n\n input[type='radio']:disabled + & {\n border-color: gray1;\n }\n\n input[type='radio']:not(:disabled):not(:checked):hover + & {\n border-color: gray1;\n }\n\n input[type='radio']:hover:not(:disabled):not(:checked) + & > span,\n input[type='radio']:checked:disabled + & > span {\n background-color: gray1;\n }\n\n input[type='radio']:checked + & > span {\n background-color: red1;\n }\n"], ["\n border-radius: 50%;\n background-color: white;\n border: 1.5px solid;\n border-color: lightGray5;\n pointer-events: none;\n cursor: pointer;\n position: relative;\n\n & span {\n position: absolute;\n left: 50%;\n top: 50%;\n transform: translate(-50%, -50%);\n box-sizing: border-box;\n border-radius: 50%;\n transition: opacity 100ms ease-out;\n background-color: white;\n }\n\n input[type='radio']:checked + & {\n border-color: red1;\n }\n\n input[type='radio']:disabled + & {\n border-color: gray1;\n }\n\n input[type='radio']:not(:disabled):not(:checked):hover + & {\n border-color: gray1;\n }\n\n input[type='radio']:hover:not(:disabled):not(:checked) + & > span,\n input[type='radio']:checked:disabled + & > span {\n background-color: gray1;\n }\n\n input[type='radio']:checked + & > span {\n background-color: red1;\n }\n"])));
9195
+ var CenterDot = styled.span(templateObject_4 || (templateObject_4 = __makeTemplateObject(["\n width: 10px;\n height: 10px;\n"], ["\n width: 10px;\n height: 10px;\n"])));
9196
+ var StyledRadio = styled.input(templateObject_5 || (templateObject_5 = __makeTemplateObject(["\n opacity: 0;\n border-radius: 50%;\n width: 18px;\n height: 18px;\n cursor: ", ";\n margin: 0;\n"], ["\n opacity: 0;\n border-radius: 50%;\n width: 18px;\n height: 18px;\n cursor: ", ";\n margin: 0;\n"])), function (_a) {
8887
9197
  var disabled = _a.disabled;
8888
9198
  return (disabled ? 'default' : 'pointer');
8889
9199
  });
8890
- styled.span(templateObject_6 || (templateObject_6 = __makeTemplateObject(["\n margin: 0;\n margin-left: 8px;\n font-size: 14px;\n"], ["\n margin: 0;\n margin-left: 8px;\n font-size: 14px;\n"])));
9200
+ var Label = styled.span(templateObject_6 || (templateObject_6 = __makeTemplateObject(["\n margin: 0;\n margin-left: 8px;\n font-size: 14px;\n"], ["\n margin: 0;\n margin-left: 8px;\n font-size: 14px;\n"])));
8891
9201
  var templateObject_1, templateObject_2, templateObject_3, templateObject_4, templateObject_5, templateObject_6;
8892
9202
 
8893
- export { Card, CardBody, CardImage, CornerDialog, FieldLabel, FlagCZ, FlagUSA, H1, H2, H3, H4, H5, H6, H7, ImageList, Label$1 as Label, LightBox, Modal, Paragraph1, Paragraph2, Paragraph3, Paragraph4, Paragraph5, Tabs, Text, iconDictionary, palletes, useClickOutside, useLightBox, useModal, useTabs };
9203
+ var RadioButton = function (_a) {
9204
+ var label = _a.label, id = _a.id, name = _a.name, _b = _a.disabled, disabled = _b === void 0 ? false : _b, onChange = _a.onChange, rest = __rest(_a, ["label", "id", "name", "disabled", "onChange"]);
9205
+ return (jsxs(Wrapper, { children: [jsxs(Item, { children: [jsx(StyledRadio, __assign({ type: "radio", id: id, name: name, disabled: disabled, onChange: onChange }, rest)), jsx(PaintoverLayer, { disabled: disabled, children: jsx(CenterDot, {}) })] }), label && jsx(Label, { children: label })] }));
9206
+ };
9207
+
9208
+ export { Alert, Avatar, Badge, BorderedBox, Button, Card, CardBody, CardImage, Checkbox$1 as Checkbox, CornerDialog, Dropdown, ErrorMessage, FieldLabel, FlagCZ, FlagUSA, H1, H2, H3, H4, H5, H6, H7, Icon, Image, ImageList, Input, Label$2 as Label, LightBox, Line, Link, Logo, Modal, Pagination, Paragraph, Paragraph1, Paragraph2, Paragraph3, Paragraph4, Paragraph5, Portal, ProgressBar, RadioButton, StyledLink as SimpleLink, SpaceAroundWrap, Spinner, Tabs, Tag, Text, MailstepThemeProvider as ThemeProvider, Toast, Toggle, iconDictionary, palletes, themes, useClickOutside, useLightBox, useModal, useTabs };
8894
9209
  //# sourceMappingURL=index.es.js.map