@thecb/components 10.3.0 → 10.3.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.cjs.js CHANGED
@@ -19256,6 +19256,7 @@ function _wrapNativeSuper(Class) {
19256
19256
  }
19257
19257
 
19258
19258
  // based on https://github.com/styled-components/styled-components/blob/fcf6f3804c57a14dd7984dfab7bc06ee2edca044/src/utils/error.js
19259
+
19259
19260
  /**
19260
19261
  * Parse errors.md and turn it into a simple hash of code: message
19261
19262
  * @private
@@ -19340,71 +19341,84 @@ var ERRORS = {
19340
19341
  "77": "remToPx expects a value in \"rem\" but you provided it in \"%s\".\n\n",
19341
19342
  "78": "base must be set in \"px\" or \"%\" but you set it in \"%s\".\n"
19342
19343
  };
19343
-
19344
19344
  /**
19345
19345
  * super basic version of sprintf
19346
19346
  * @private
19347
19347
  */
19348
+
19348
19349
  function format() {
19349
19350
  for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
19350
19351
  args[_key] = arguments[_key];
19351
19352
  }
19353
+
19352
19354
  var a = args[0];
19353
19355
  var b = [];
19354
19356
  var c;
19357
+
19355
19358
  for (c = 1; c < args.length; c += 1) {
19356
19359
  b.push(args[c]);
19357
19360
  }
19361
+
19358
19362
  b.forEach(function (d) {
19359
19363
  a = a.replace(/%[a-z]/, d);
19360
19364
  });
19361
19365
  return a;
19362
19366
  }
19363
-
19364
19367
  /**
19365
19368
  * Create an error file out of errors.md for development and a simple web link to the full errors
19366
19369
  * in production mode.
19367
19370
  * @private
19368
19371
  */
19372
+
19373
+
19369
19374
  var PolishedError = /*#__PURE__*/function (_Error) {
19370
19375
  _inheritsLoose(PolishedError, _Error);
19376
+
19371
19377
  function PolishedError(code) {
19372
19378
  var _this;
19379
+
19373
19380
  if (process.env.NODE_ENV === 'production') {
19374
19381
  _this = _Error.call(this, "An error occurred. See https://github.com/styled-components/polished/blob/main/src/internalHelpers/errors.md#" + code + " for more information.") || this;
19375
19382
  } else {
19376
19383
  for (var _len2 = arguments.length, args = new Array(_len2 > 1 ? _len2 - 1 : 0), _key2 = 1; _key2 < _len2; _key2++) {
19377
19384
  args[_key2 - 1] = arguments[_key2];
19378
19385
  }
19386
+
19379
19387
  _this = _Error.call(this, format.apply(void 0, [ERRORS[code]].concat(args))) || this;
19380
19388
  }
19389
+
19381
19390
  return _assertThisInitialized(_this);
19382
19391
  }
19392
+
19383
19393
  return PolishedError;
19384
19394
  }( /*#__PURE__*/_wrapNativeSuper(Error));
19385
19395
 
19386
19396
  function colorToInt(color) {
19387
19397
  return Math.round(color * 255);
19388
19398
  }
19399
+
19389
19400
  function convertToInt(red, green, blue) {
19390
19401
  return colorToInt(red) + "," + colorToInt(green) + "," + colorToInt(blue);
19391
19402
  }
19403
+
19392
19404
  function hslToRgb(hue, saturation, lightness, convert) {
19393
19405
  if (convert === void 0) {
19394
19406
  convert = convertToInt;
19395
19407
  }
19408
+
19396
19409
  if (saturation === 0) {
19397
19410
  // achromatic
19398
19411
  return convert(lightness, lightness, lightness);
19399
- }
19412
+ } // formulae from https://en.wikipedia.org/wiki/HSL_and_HSV
19413
+
19400
19414
 
19401
- // formulae from https://en.wikipedia.org/wiki/HSL_and_HSV
19402
19415
  var huePrime = (hue % 360 + 360) % 360 / 60;
19403
19416
  var chroma = (1 - Math.abs(2 * lightness - 1)) * saturation;
19404
19417
  var secondComponent = chroma * (1 - Math.abs(huePrime % 2 - 1));
19405
19418
  var red = 0;
19406
19419
  var green = 0;
19407
19420
  var blue = 0;
19421
+
19408
19422
  if (huePrime >= 0 && huePrime < 1) {
19409
19423
  red = chroma;
19410
19424
  green = secondComponent;
@@ -19424,6 +19438,7 @@ function hslToRgb(hue, saturation, lightness, convert) {
19424
19438
  red = chroma;
19425
19439
  blue = secondComponent;
19426
19440
  }
19441
+
19427
19442
  var lightnessModification = lightness - chroma / 2;
19428
19443
  var finalRed = red + lightnessModification;
19429
19444
  var finalGreen = green + lightnessModification;
@@ -19581,11 +19596,11 @@ var namedColorMap = {
19581
19596
  yellow: 'ff0',
19582
19597
  yellowgreen: '9acd32'
19583
19598
  };
19584
-
19585
19599
  /**
19586
19600
  * Checks if a string is a CSS named color and returns its equivalent hex value, otherwise returns the original color.
19587
19601
  * @private
19588
19602
  */
19603
+
19589
19604
  function nameToHex(color) {
19590
19605
  if (typeof color !== 'string') return color;
19591
19606
  var normalizedColorName = color.toLowerCase();
@@ -19600,7 +19615,6 @@ var rgbRegex = /^rgb\(\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*\
19600
19615
  var rgbaRegex = /^rgb(?:a)?\(\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,|\/)\s*([-+]?\d*[.]?\d+[%]?)\s*\)$/i;
19601
19616
  var hslRegex = /^hsl\(\s*(\d{0,3}[.]?[0-9]+(?:deg)?)\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*\)$/i;
19602
19617
  var hslaRegex = /^hsl(?:a)?\(\s*(\d{0,3}[.]?[0-9]+(?:deg)?)\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,|\/)\s*([-+]?\d*[.]?\d+[%]?)\s*\)$/i;
19603
-
19604
19618
  /**
19605
19619
  * Returns an RgbColor or RgbaColor object. This utility function is only useful
19606
19620
  * if want to extract a color component. With the color util `toColorString` you
@@ -19612,11 +19626,14 @@ var hslaRegex = /^hsl(?:a)?\(\s*(\d{0,3}[.]?[0-9]+(?:deg)?)\s*(?:,)?\s*(\d{1,3}[
19612
19626
  * // Assigns `{ red: 92, green: 102, blue: 112, alpha: 0.75 }` to color2
19613
19627
  * const color2 = parseToRgb('hsla(210, 10%, 40%, 0.75)');
19614
19628
  */
19629
+
19615
19630
  function parseToRgb(color) {
19616
19631
  if (typeof color !== 'string') {
19617
19632
  throw new PolishedError(3);
19618
19633
  }
19634
+
19619
19635
  var normalizedColor = nameToHex(color);
19636
+
19620
19637
  if (normalizedColor.match(hexRegex)) {
19621
19638
  return {
19622
19639
  red: parseInt("" + normalizedColor[1] + normalizedColor[2], 16),
@@ -19624,6 +19641,7 @@ function parseToRgb(color) {
19624
19641
  blue: parseInt("" + normalizedColor[5] + normalizedColor[6], 16)
19625
19642
  };
19626
19643
  }
19644
+
19627
19645
  if (normalizedColor.match(hexRgbaRegex)) {
19628
19646
  var alpha = parseFloat((parseInt("" + normalizedColor[7] + normalizedColor[8], 16) / 255).toFixed(2));
19629
19647
  return {
@@ -19633,6 +19651,7 @@ function parseToRgb(color) {
19633
19651
  alpha: alpha
19634
19652
  };
19635
19653
  }
19654
+
19636
19655
  if (normalizedColor.match(reducedHexRegex)) {
19637
19656
  return {
19638
19657
  red: parseInt("" + normalizedColor[1] + normalizedColor[1], 16),
@@ -19640,8 +19659,10 @@ function parseToRgb(color) {
19640
19659
  blue: parseInt("" + normalizedColor[3] + normalizedColor[3], 16)
19641
19660
  };
19642
19661
  }
19662
+
19643
19663
  if (normalizedColor.match(reducedRgbaHexRegex)) {
19644
19664
  var _alpha = parseFloat((parseInt("" + normalizedColor[4] + normalizedColor[4], 16) / 255).toFixed(2));
19665
+
19645
19666
  return {
19646
19667
  red: parseInt("" + normalizedColor[1] + normalizedColor[1], 16),
19647
19668
  green: parseInt("" + normalizedColor[2] + normalizedColor[2], 16),
@@ -19649,7 +19670,9 @@ function parseToRgb(color) {
19649
19670
  alpha: _alpha
19650
19671
  };
19651
19672
  }
19673
+
19652
19674
  var rgbMatched = rgbRegex.exec(normalizedColor);
19675
+
19653
19676
  if (rgbMatched) {
19654
19677
  return {
19655
19678
  red: parseInt("" + rgbMatched[1], 10),
@@ -19657,7 +19680,9 @@ function parseToRgb(color) {
19657
19680
  blue: parseInt("" + rgbMatched[3], 10)
19658
19681
  };
19659
19682
  }
19683
+
19660
19684
  var rgbaMatched = rgbaRegex.exec(normalizedColor.substring(0, 50));
19685
+
19661
19686
  if (rgbaMatched) {
19662
19687
  return {
19663
19688
  red: parseInt("" + rgbaMatched[1], 10),
@@ -19666,32 +19691,44 @@ function parseToRgb(color) {
19666
19691
  alpha: parseFloat("" + rgbaMatched[4]) > 1 ? parseFloat("" + rgbaMatched[4]) / 100 : parseFloat("" + rgbaMatched[4])
19667
19692
  };
19668
19693
  }
19694
+
19669
19695
  var hslMatched = hslRegex.exec(normalizedColor);
19696
+
19670
19697
  if (hslMatched) {
19671
19698
  var hue = parseInt("" + hslMatched[1], 10);
19672
19699
  var saturation = parseInt("" + hslMatched[2], 10) / 100;
19673
19700
  var lightness = parseInt("" + hslMatched[3], 10) / 100;
19674
19701
  var rgbColorString = "rgb(" + hslToRgb(hue, saturation, lightness) + ")";
19675
19702
  var hslRgbMatched = rgbRegex.exec(rgbColorString);
19703
+
19676
19704
  if (!hslRgbMatched) {
19677
19705
  throw new PolishedError(4, normalizedColor, rgbColorString);
19678
19706
  }
19707
+
19679
19708
  return {
19680
19709
  red: parseInt("" + hslRgbMatched[1], 10),
19681
19710
  green: parseInt("" + hslRgbMatched[2], 10),
19682
19711
  blue: parseInt("" + hslRgbMatched[3], 10)
19683
19712
  };
19684
19713
  }
19714
+
19685
19715
  var hslaMatched = hslaRegex.exec(normalizedColor.substring(0, 50));
19716
+
19686
19717
  if (hslaMatched) {
19687
19718
  var _hue = parseInt("" + hslaMatched[1], 10);
19719
+
19688
19720
  var _saturation = parseInt("" + hslaMatched[2], 10) / 100;
19721
+
19689
19722
  var _lightness = parseInt("" + hslaMatched[3], 10) / 100;
19723
+
19690
19724
  var _rgbColorString = "rgb(" + hslToRgb(_hue, _saturation, _lightness) + ")";
19725
+
19691
19726
  var _hslRgbMatched = rgbRegex.exec(_rgbColorString);
19727
+
19692
19728
  if (!_hslRgbMatched) {
19693
19729
  throw new PolishedError(4, normalizedColor, _rgbColorString);
19694
19730
  }
19731
+
19695
19732
  return {
19696
19733
  red: parseInt("" + _hslRgbMatched[1], 10),
19697
19734
  green: parseInt("" + _hslRgbMatched[2], 10),
@@ -19699,80 +19736,8 @@ function parseToRgb(color) {
19699
19736
  alpha: parseFloat("" + hslaMatched[4]) > 1 ? parseFloat("" + hslaMatched[4]) / 100 : parseFloat("" + hslaMatched[4])
19700
19737
  };
19701
19738
  }
19702
- throw new PolishedError(5);
19703
- }
19704
-
19705
- function rgbToHsl(color) {
19706
- // make sure rgb are contained in a set of [0, 255]
19707
- var red = color.red / 255;
19708
- var green = color.green / 255;
19709
- var blue = color.blue / 255;
19710
- var max = Math.max(red, green, blue);
19711
- var min = Math.min(red, green, blue);
19712
- var lightness = (max + min) / 2;
19713
- if (max === min) {
19714
- // achromatic
19715
- if (color.alpha !== undefined) {
19716
- return {
19717
- hue: 0,
19718
- saturation: 0,
19719
- lightness: lightness,
19720
- alpha: color.alpha
19721
- };
19722
- } else {
19723
- return {
19724
- hue: 0,
19725
- saturation: 0,
19726
- lightness: lightness
19727
- };
19728
- }
19729
- }
19730
- var hue;
19731
- var delta = max - min;
19732
- var saturation = lightness > 0.5 ? delta / (2 - max - min) : delta / (max + min);
19733
- switch (max) {
19734
- case red:
19735
- hue = (green - blue) / delta + (green < blue ? 6 : 0);
19736
- break;
19737
- case green:
19738
- hue = (blue - red) / delta + 2;
19739
- break;
19740
- default:
19741
- // blue case
19742
- hue = (red - green) / delta + 4;
19743
- break;
19744
- }
19745
- hue *= 60;
19746
- if (color.alpha !== undefined) {
19747
- return {
19748
- hue: hue,
19749
- saturation: saturation,
19750
- lightness: lightness,
19751
- alpha: color.alpha
19752
- };
19753
- }
19754
- return {
19755
- hue: hue,
19756
- saturation: saturation,
19757
- lightness: lightness
19758
- };
19759
- }
19760
19739
 
19761
- /**
19762
- * Returns an HslColor or HslaColor object. This utility function is only useful
19763
- * if want to extract a color component. With the color util `toColorString` you
19764
- * can convert a HslColor or HslaColor object back to a string.
19765
- *
19766
- * @example
19767
- * // Assigns `{ hue: 0, saturation: 1, lightness: 0.5 }` to color1
19768
- * const color1 = parseToHsl('rgb(255, 0, 0)');
19769
- * // Assigns `{ hue: 128, saturation: 1, lightness: 0.5, alpha: 0.75 }` to color2
19770
- * const color2 = parseToHsl('hsla(128, 100%, 50%, 0.75)');
19771
- */
19772
- function parseToHsl(color) {
19773
- // Note: At a later stage we can optimize this function as right now a hsl
19774
- // color would be parsed converted to rgb values and converted back to hsl.
19775
- return rgbToHsl(parseToRgb(color));
19740
+ throw new PolishedError(5);
19776
19741
  }
19777
19742
 
19778
19743
  /**
@@ -19783,8 +19748,10 @@ var reduceHexValue = function reduceHexValue(value) {
19783
19748
  if (value.length === 7 && value[1] === value[2] && value[3] === value[4] && value[5] === value[6]) {
19784
19749
  return "#" + value[1] + value[3] + value[5];
19785
19750
  }
19751
+
19786
19752
  return value;
19787
19753
  };
19754
+
19788
19755
  var reduceHexValue$1 = reduceHexValue;
19789
19756
 
19790
19757
  function numberToHex(value) {
@@ -19792,83 +19759,6 @@ function numberToHex(value) {
19792
19759
  return hex.length === 1 ? "0" + hex : hex;
19793
19760
  }
19794
19761
 
19795
- function colorToHex(color) {
19796
- return numberToHex(Math.round(color * 255));
19797
- }
19798
- function convertToHex(red, green, blue) {
19799
- return reduceHexValue$1("#" + colorToHex(red) + colorToHex(green) + colorToHex(blue));
19800
- }
19801
- function hslToHex(hue, saturation, lightness) {
19802
- return hslToRgb(hue, saturation, lightness, convertToHex);
19803
- }
19804
-
19805
- /**
19806
- * Returns a string value for the color. The returned result is the smallest possible hex notation.
19807
- *
19808
- * @example
19809
- * // Styles as object usage
19810
- * const styles = {
19811
- * background: hsl(359, 0.75, 0.4),
19812
- * background: hsl({ hue: 360, saturation: 0.75, lightness: 0.4 }),
19813
- * }
19814
- *
19815
- * // styled-components usage
19816
- * const div = styled.div`
19817
- * background: ${hsl(359, 0.75, 0.4)};
19818
- * background: ${hsl({ hue: 360, saturation: 0.75, lightness: 0.4 })};
19819
- * `
19820
- *
19821
- * // CSS in JS Output
19822
- *
19823
- * element {
19824
- * background: "#b3191c";
19825
- * background: "#b3191c";
19826
- * }
19827
- */
19828
- function hsl(value, saturation, lightness) {
19829
- if (typeof value === 'number' && typeof saturation === 'number' && typeof lightness === 'number') {
19830
- return hslToHex(value, saturation, lightness);
19831
- } else if (typeof value === 'object' && saturation === undefined && lightness === undefined) {
19832
- return hslToHex(value.hue, value.saturation, value.lightness);
19833
- }
19834
- throw new PolishedError(1);
19835
- }
19836
-
19837
- /**
19838
- * Returns a string value for the color. The returned result is the smallest possible rgba or hex notation.
19839
- *
19840
- * @example
19841
- * // Styles as object usage
19842
- * const styles = {
19843
- * background: hsla(359, 0.75, 0.4, 0.7),
19844
- * background: hsla({ hue: 360, saturation: 0.75, lightness: 0.4, alpha: 0,7 }),
19845
- * background: hsla(359, 0.75, 0.4, 1),
19846
- * }
19847
- *
19848
- * // styled-components usage
19849
- * const div = styled.div`
19850
- * background: ${hsla(359, 0.75, 0.4, 0.7)};
19851
- * background: ${hsla({ hue: 360, saturation: 0.75, lightness: 0.4, alpha: 0,7 })};
19852
- * background: ${hsla(359, 0.75, 0.4, 1)};
19853
- * `
19854
- *
19855
- * // CSS in JS Output
19856
- *
19857
- * element {
19858
- * background: "rgba(179,25,28,0.7)";
19859
- * background: "rgba(179,25,28,0.7)";
19860
- * background: "#b3191c";
19861
- * }
19862
- */
19863
- function hsla$1(value, saturation, lightness, alpha) {
19864
- if (typeof value === 'number' && typeof saturation === 'number' && typeof lightness === 'number' && typeof alpha === 'number') {
19865
- return alpha >= 1 ? hslToHex(value, saturation, lightness) : "rgba(" + hslToRgb(value, saturation, lightness) + "," + alpha + ")";
19866
- } else if (typeof value === 'object' && saturation === undefined && lightness === undefined && alpha === undefined) {
19867
- return value.alpha >= 1 ? hslToHex(value.hue, value.saturation, value.lightness) : "rgba(" + hslToRgb(value.hue, value.saturation, value.lightness) + "," + value.alpha + ")";
19868
- }
19869
- throw new PolishedError(2);
19870
- }
19871
-
19872
19762
  /**
19873
19763
  * Returns a string value for the color. The returned result is the smallest possible hex notation.
19874
19764
  *
@@ -19898,6 +19788,7 @@ function rgb(value, green, blue) {
19898
19788
  } else if (typeof value === 'object' && green === undefined && blue === undefined) {
19899
19789
  return reduceHexValue$1("#" + numberToHex(value.red) + numberToHex(value.green) + numberToHex(value.blue));
19900
19790
  }
19791
+
19901
19792
  throw new PolishedError(6);
19902
19793
  }
19903
19794
 
@@ -19944,60 +19835,8 @@ function rgba$1(firstValue, secondValue, thirdValue, fourthValue) {
19944
19835
  } else if (typeof firstValue === 'object' && secondValue === undefined && thirdValue === undefined && fourthValue === undefined) {
19945
19836
  return firstValue.alpha >= 1 ? rgb(firstValue.red, firstValue.green, firstValue.blue) : "rgba(" + firstValue.red + "," + firstValue.green + "," + firstValue.blue + "," + firstValue.alpha + ")";
19946
19837
  }
19947
- throw new PolishedError(7);
19948
- }
19949
19838
 
19950
- var isRgb = function isRgb(color) {
19951
- return typeof color.red === 'number' && typeof color.green === 'number' && typeof color.blue === 'number' && (typeof color.alpha !== 'number' || typeof color.alpha === 'undefined');
19952
- };
19953
- var isRgba$1 = function isRgba(color) {
19954
- return typeof color.red === 'number' && typeof color.green === 'number' && typeof color.blue === 'number' && typeof color.alpha === 'number';
19955
- };
19956
- var isHsl = function isHsl(color) {
19957
- return typeof color.hue === 'number' && typeof color.saturation === 'number' && typeof color.lightness === 'number' && (typeof color.alpha !== 'number' || typeof color.alpha === 'undefined');
19958
- };
19959
- var isHsla$1 = function isHsla(color) {
19960
- return typeof color.hue === 'number' && typeof color.saturation === 'number' && typeof color.lightness === 'number' && typeof color.alpha === 'number';
19961
- };
19962
-
19963
- /**
19964
- * Converts a RgbColor, RgbaColor, HslColor or HslaColor object to a color string.
19965
- * This util is useful in case you only know on runtime which color object is
19966
- * used. Otherwise we recommend to rely on `rgb`, `rgba`, `hsl` or `hsla`.
19967
- *
19968
- * @example
19969
- * // Styles as object usage
19970
- * const styles = {
19971
- * background: toColorString({ red: 255, green: 205, blue: 100 }),
19972
- * background: toColorString({ red: 255, green: 205, blue: 100, alpha: 0.72 }),
19973
- * background: toColorString({ hue: 240, saturation: 1, lightness: 0.5 }),
19974
- * background: toColorString({ hue: 360, saturation: 0.75, lightness: 0.4, alpha: 0.72 }),
19975
- * }
19976
- *
19977
- * // styled-components usage
19978
- * const div = styled.div`
19979
- * background: ${toColorString({ red: 255, green: 205, blue: 100 })};
19980
- * background: ${toColorString({ red: 255, green: 205, blue: 100, alpha: 0.72 })};
19981
- * background: ${toColorString({ hue: 240, saturation: 1, lightness: 0.5 })};
19982
- * background: ${toColorString({ hue: 360, saturation: 0.75, lightness: 0.4, alpha: 0.72 })};
19983
- * `
19984
- *
19985
- * // CSS in JS Output
19986
- * element {
19987
- * background: "#ffcd64";
19988
- * background: "rgba(255,205,100,0.72)";
19989
- * background: "#00f";
19990
- * background: "rgba(179,25,25,0.72)";
19991
- * }
19992
- */
19993
-
19994
- function toColorString(color) {
19995
- if (typeof color !== 'object') throw new PolishedError(8);
19996
- if (isRgba$1(color)) return rgba$1(color);
19997
- if (isRgb(color)) return rgb(color);
19998
- if (isHsla$1(color)) return hsla$1(color);
19999
- if (isHsl(color)) return hsl(color);
20000
- throw new PolishedError(8);
19839
+ throw new PolishedError(7);
20001
19840
  }
20002
19841
 
20003
19842
  // Type definitions taken from https://github.com/gcanti/flow-static-land/blob/master/src/Fun.js
@@ -20010,156 +19849,14 @@ function curried(f, length, acc) {
20010
19849
  var combined = acc.concat(Array.prototype.slice.call(arguments));
20011
19850
  return combined.length >= length ? f.apply(this, combined) : curried(f, length, combined);
20012
19851
  };
20013
- }
19852
+ } // eslint-disable-next-line no-redeclare
19853
+
20014
19854
 
20015
- // eslint-disable-next-line no-redeclare
20016
19855
  function curry(f) {
20017
19856
  // eslint-disable-line no-redeclare
20018
19857
  return curried(f, f.length, []);
20019
19858
  }
20020
19859
 
20021
- /**
20022
- * Changes the hue of the color. Hue is a number between 0 to 360. The first
20023
- * argument for adjustHue is the amount of degrees the color is rotated around
20024
- * the color wheel, always producing a positive hue value.
20025
- *
20026
- * @example
20027
- * // Styles as object usage
20028
- * const styles = {
20029
- * background: adjustHue(180, '#448'),
20030
- * background: adjustHue('180', 'rgba(101,100,205,0.7)'),
20031
- * }
20032
- *
20033
- * // styled-components usage
20034
- * const div = styled.div`
20035
- * background: ${adjustHue(180, '#448')};
20036
- * background: ${adjustHue('180', 'rgba(101,100,205,0.7)')};
20037
- * `
20038
- *
20039
- * // CSS in JS Output
20040
- * element {
20041
- * background: "#888844";
20042
- * background: "rgba(136,136,68,0.7)";
20043
- * }
20044
- */
20045
- function adjustHue(degree, color) {
20046
- if (color === 'transparent') return color;
20047
- var hslColor = parseToHsl(color);
20048
- return toColorString(_extends$1({}, hslColor, {
20049
- hue: hslColor.hue + parseFloat(degree)
20050
- }));
20051
- }
20052
-
20053
- // prettier-ignore
20054
- var curriedAdjustHue = curry /* ::<number | string, string, string> */(adjustHue);
20055
-
20056
- function guard(lowerBoundary, upperBoundary, value) {
20057
- return Math.max(lowerBoundary, Math.min(upperBoundary, value));
20058
- }
20059
-
20060
- /**
20061
- * Returns a string value for the darkened color.
20062
- *
20063
- * @example
20064
- * // Styles as object usage
20065
- * const styles = {
20066
- * background: darken(0.2, '#FFCD64'),
20067
- * background: darken('0.2', 'rgba(255,205,100,0.7)'),
20068
- * }
20069
- *
20070
- * // styled-components usage
20071
- * const div = styled.div`
20072
- * background: ${darken(0.2, '#FFCD64')};
20073
- * background: ${darken('0.2', 'rgba(255,205,100,0.7)')};
20074
- * `
20075
- *
20076
- * // CSS in JS Output
20077
- *
20078
- * element {
20079
- * background: "#ffbd31";
20080
- * background: "rgba(255,189,49,0.7)";
20081
- * }
20082
- */
20083
- function darken(amount, color) {
20084
- if (color === 'transparent') return color;
20085
- var hslColor = parseToHsl(color);
20086
- return toColorString(_extends$1({}, hslColor, {
20087
- lightness: guard(0, 1, hslColor.lightness - parseFloat(amount))
20088
- }));
20089
- }
20090
-
20091
- // prettier-ignore
20092
- var curriedDarken = curry /* ::<number | string, string, string> */(darken);
20093
-
20094
- /**
20095
- * Decreases the intensity of a color. Its range is between 0 to 1. The first
20096
- * argument of the desaturate function is the amount by how much the color
20097
- * intensity should be decreased.
20098
- *
20099
- * @example
20100
- * // Styles as object usage
20101
- * const styles = {
20102
- * background: desaturate(0.2, '#CCCD64'),
20103
- * background: desaturate('0.2', 'rgba(204,205,100,0.7)'),
20104
- * }
20105
- *
20106
- * // styled-components usage
20107
- * const div = styled.div`
20108
- * background: ${desaturate(0.2, '#CCCD64')};
20109
- * background: ${desaturate('0.2', 'rgba(204,205,100,0.7)')};
20110
- * `
20111
- *
20112
- * // CSS in JS Output
20113
- * element {
20114
- * background: "#b8b979";
20115
- * background: "rgba(184,185,121,0.7)";
20116
- * }
20117
- */
20118
- function desaturate(amount, color) {
20119
- if (color === 'transparent') return color;
20120
- var hslColor = parseToHsl(color);
20121
- return toColorString(_extends$1({}, hslColor, {
20122
- saturation: guard(0, 1, hslColor.saturation - parseFloat(amount))
20123
- }));
20124
- }
20125
-
20126
- // prettier-ignore
20127
- var curriedDesaturate = curry /* ::<number | string, string, string> */(desaturate);
20128
-
20129
- /**
20130
- * Returns a string value for the lightened color.
20131
- *
20132
- * @example
20133
- * // Styles as object usage
20134
- * const styles = {
20135
- * background: lighten(0.2, '#CCCD64'),
20136
- * background: lighten('0.2', 'rgba(204,205,100,0.7)'),
20137
- * }
20138
- *
20139
- * // styled-components usage
20140
- * const div = styled.div`
20141
- * background: ${lighten(0.2, '#FFCD64')};
20142
- * background: ${lighten('0.2', 'rgba(204,205,100,0.7)')};
20143
- * `
20144
- *
20145
- * // CSS in JS Output
20146
- *
20147
- * element {
20148
- * background: "#e5e6b1";
20149
- * background: "rgba(229,230,177,0.7)";
20150
- * }
20151
- */
20152
- function lighten(amount, color) {
20153
- if (color === 'transparent') return color;
20154
- var hslColor = parseToHsl(color);
20155
- return toColorString(_extends$1({}, hslColor, {
20156
- lightness: guard(0, 1, hslColor.lightness + parseFloat(amount))
20157
- }));
20158
- }
20159
-
20160
- // prettier-ignore
20161
- var curriedLighten = curry /* ::<number | string, string, string> */(lighten);
20162
-
20163
19860
  /**
20164
19861
  * Mixes the two provided colors together by calculating the average of each of the RGB components weighted to the first color by the provided weight.
20165
19862
  *
@@ -20186,21 +19883,25 @@ var curriedLighten = curry /* ::<number | string, string, string> */(lighten);
20186
19883
  * background: "rgba(63, 0, 191, 0.75)";
20187
19884
  * }
20188
19885
  */
19886
+
20189
19887
  function mix$1(weight, color, otherColor) {
20190
19888
  if (color === 'transparent') return otherColor;
20191
19889
  if (otherColor === 'transparent') return color;
20192
19890
  if (weight === 0) return otherColor;
20193
19891
  var parsedColor1 = parseToRgb(color);
19892
+
20194
19893
  var color1 = _extends$1({}, parsedColor1, {
20195
19894
  alpha: typeof parsedColor1.alpha === 'number' ? parsedColor1.alpha : 1
20196
19895
  });
19896
+
20197
19897
  var parsedColor2 = parseToRgb(otherColor);
19898
+
20198
19899
  var color2 = _extends$1({}, parsedColor2, {
20199
19900
  alpha: typeof parsedColor2.alpha === 'number' ? parsedColor2.alpha : 1
20200
- });
20201
-
20202
- // The formula is copied from the original Sass implementation:
19901
+ }); // The formula is copied from the original Sass implementation:
20203
19902
  // http://sass-lang.com/documentation/Sass/Script/Functions.html#mix-instance_method
19903
+
19904
+
20204
19905
  var alphaDelta = color1.alpha - color2.alpha;
20205
19906
  var x = parseFloat(weight) * 2 - 1;
20206
19907
  var y = x * alphaDelta === -1 ? x : x + alphaDelta;
@@ -20214,217 +19915,13 @@ function mix$1(weight, color, otherColor) {
20214
19915
  alpha: color1.alpha * parseFloat(weight) + color2.alpha * (1 - parseFloat(weight))
20215
19916
  };
20216
19917
  return rgba$1(mixedColor);
20217
- }
20218
-
20219
- // prettier-ignore
20220
- var curriedMix = curry /* ::<number | string, string, string, string> */(mix$1);
20221
- var mix$1$1 = curriedMix;
20222
-
20223
- /**
20224
- * Increases the opacity of a color. Its range for the amount is between 0 to 1.
20225
- *
20226
- *
20227
- * @example
20228
- * // Styles as object usage
20229
- * const styles = {
20230
- * background: opacify(0.1, 'rgba(255, 255, 255, 0.9)');
20231
- * background: opacify(0.2, 'hsla(0, 0%, 100%, 0.5)'),
20232
- * background: opacify('0.5', 'rgba(255, 0, 0, 0.2)'),
20233
- * }
20234
- *
20235
- * // styled-components usage
20236
- * const div = styled.div`
20237
- * background: ${opacify(0.1, 'rgba(255, 255, 255, 0.9)')};
20238
- * background: ${opacify(0.2, 'hsla(0, 0%, 100%, 0.5)')},
20239
- * background: ${opacify('0.5', 'rgba(255, 0, 0, 0.2)')},
20240
- * `
20241
- *
20242
- * // CSS in JS Output
20243
- *
20244
- * element {
20245
- * background: "#fff";
20246
- * background: "rgba(255,255,255,0.7)";
20247
- * background: "rgba(255,0,0,0.7)";
20248
- * }
20249
- */
20250
- function opacify(amount, color) {
20251
- if (color === 'transparent') return color;
20252
- var parsedColor = parseToRgb(color);
20253
- var alpha = typeof parsedColor.alpha === 'number' ? parsedColor.alpha : 1;
20254
- var colorWithAlpha = _extends$1({}, parsedColor, {
20255
- alpha: guard(0, 1, (alpha * 100 + parseFloat(amount) * 100) / 100)
20256
- });
20257
- return rgba$1(colorWithAlpha);
20258
- }
19918
+ } // prettier-ignore
20259
19919
 
20260
- // prettier-ignore
20261
- var curriedOpacify = curry /* ::<number | string, string, string> */(opacify);
20262
19920
 
20263
- /**
20264
- * Increases the intensity of a color. Its range is between 0 to 1. The first
20265
- * argument of the saturate function is the amount by how much the color
20266
- * intensity should be increased.
20267
- *
20268
- * @example
20269
- * // Styles as object usage
20270
- * const styles = {
20271
- * background: saturate(0.2, '#CCCD64'),
20272
- * background: saturate('0.2', 'rgba(204,205,100,0.7)'),
20273
- * }
20274
- *
20275
- * // styled-components usage
20276
- * const div = styled.div`
20277
- * background: ${saturate(0.2, '#FFCD64')};
20278
- * background: ${saturate('0.2', 'rgba(204,205,100,0.7)')};
20279
- * `
20280
- *
20281
- * // CSS in JS Output
20282
- *
20283
- * element {
20284
- * background: "#e0e250";
20285
- * background: "rgba(224,226,80,0.7)";
20286
- * }
20287
- */
20288
- function saturate(amount, color) {
20289
- if (color === 'transparent') return color;
20290
- var hslColor = parseToHsl(color);
20291
- return toColorString(_extends$1({}, hslColor, {
20292
- saturation: guard(0, 1, hslColor.saturation + parseFloat(amount))
20293
- }));
20294
- }
20295
-
20296
- // prettier-ignore
20297
- var curriedSaturate = curry /* ::<number | string, string, string> */(saturate);
20298
-
20299
- /**
20300
- * Sets the hue of a color to the provided value. The hue range can be
20301
- * from 0 and 359.
20302
- *
20303
- * @example
20304
- * // Styles as object usage
20305
- * const styles = {
20306
- * background: setHue(42, '#CCCD64'),
20307
- * background: setHue('244', 'rgba(204,205,100,0.7)'),
20308
- * }
20309
- *
20310
- * // styled-components usage
20311
- * const div = styled.div`
20312
- * background: ${setHue(42, '#CCCD64')};
20313
- * background: ${setHue('244', 'rgba(204,205,100,0.7)')};
20314
- * `
20315
- *
20316
- * // CSS in JS Output
20317
- * element {
20318
- * background: "#cdae64";
20319
- * background: "rgba(107,100,205,0.7)";
20320
- * }
20321
- */
20322
- function setHue(hue, color) {
20323
- if (color === 'transparent') return color;
20324
- return toColorString(_extends$1({}, parseToHsl(color), {
20325
- hue: parseFloat(hue)
20326
- }));
20327
- }
20328
-
20329
- // prettier-ignore
20330
- var curriedSetHue = curry /* ::<number | string, string, string> */(setHue);
20331
-
20332
- /**
20333
- * Sets the lightness of a color to the provided value. The lightness range can be
20334
- * from 0 and 1.
20335
- *
20336
- * @example
20337
- * // Styles as object usage
20338
- * const styles = {
20339
- * background: setLightness(0.2, '#CCCD64'),
20340
- * background: setLightness('0.75', 'rgba(204,205,100,0.7)'),
20341
- * }
20342
- *
20343
- * // styled-components usage
20344
- * const div = styled.div`
20345
- * background: ${setLightness(0.2, '#CCCD64')};
20346
- * background: ${setLightness('0.75', 'rgba(204,205,100,0.7)')};
20347
- * `
20348
- *
20349
- * // CSS in JS Output
20350
- * element {
20351
- * background: "#4d4d19";
20352
- * background: "rgba(223,224,159,0.7)";
20353
- * }
20354
- */
20355
- function setLightness(lightness, color) {
20356
- if (color === 'transparent') return color;
20357
- return toColorString(_extends$1({}, parseToHsl(color), {
20358
- lightness: parseFloat(lightness)
20359
- }));
20360
- }
20361
-
20362
- // prettier-ignore
20363
- var curriedSetLightness = curry /* ::<number | string, string, string> */(setLightness);
20364
-
20365
- /**
20366
- * Sets the saturation of a color to the provided value. The saturation range can be
20367
- * from 0 and 1.
20368
- *
20369
- * @example
20370
- * // Styles as object usage
20371
- * const styles = {
20372
- * background: setSaturation(0.2, '#CCCD64'),
20373
- * background: setSaturation('0.75', 'rgba(204,205,100,0.7)'),
20374
- * }
20375
- *
20376
- * // styled-components usage
20377
- * const div = styled.div`
20378
- * background: ${setSaturation(0.2, '#CCCD64')};
20379
- * background: ${setSaturation('0.75', 'rgba(204,205,100,0.7)')};
20380
- * `
20381
- *
20382
- * // CSS in JS Output
20383
- * element {
20384
- * background: "#adad84";
20385
- * background: "rgba(228,229,76,0.7)";
20386
- * }
20387
- */
20388
- function setSaturation(saturation, color) {
20389
- if (color === 'transparent') return color;
20390
- return toColorString(_extends$1({}, parseToHsl(color), {
20391
- saturation: parseFloat(saturation)
20392
- }));
20393
- }
20394
-
20395
- // prettier-ignore
20396
- var curriedSetSaturation = curry /* ::<number | string, string, string> */(setSaturation);
20397
-
20398
- /**
20399
- * Shades a color by mixing it with black. `shade` can produce
20400
- * hue shifts, where as `darken` manipulates the luminance channel and therefore
20401
- * doesn't produce hue shifts.
20402
- *
20403
- * @example
20404
- * // Styles as object usage
20405
- * const styles = {
20406
- * background: shade(0.25, '#00f')
20407
- * }
20408
- *
20409
- * // styled-components usage
20410
- * const div = styled.div`
20411
- * background: ${shade(0.25, '#00f')};
20412
- * `
20413
- *
20414
- * // CSS in JS Output
20415
- *
20416
- * element {
20417
- * background: "#00003f";
20418
- * }
20419
- */
20420
-
20421
- function shade(percentage, color) {
20422
- if (color === 'transparent') return color;
20423
- return mix$1$1(parseFloat(percentage), 'rgb(0, 0, 0)', color);
20424
- }
20425
-
20426
- // prettier-ignore
20427
- var curriedShade = curry /* ::<number | string, string, string> */(shade);
19921
+ var curriedMix = /*#__PURE__*/curry
19922
+ /* ::<number | string, string, string, string> */
19923
+ (mix$1);
19924
+ var mix$1$1 = curriedMix;
20428
19925
 
20429
19926
  /**
20430
19927
  * Tints a color by mixing it with white. `tint` can produce
@@ -20452,51 +19949,13 @@ var curriedShade = curry /* ::<number | string, string, string> */(shade);
20452
19949
  function tint(percentage, color) {
20453
19950
  if (color === 'transparent') return color;
20454
19951
  return mix$1$1(parseFloat(percentage), 'rgb(255, 255, 255)', color);
20455
- }
20456
-
20457
- // prettier-ignore
20458
- var curriedTint = curry /* ::<number | string, string, string> */(tint);
20459
- var curriedTint$1 = curriedTint;
19952
+ } // prettier-ignore
20460
19953
 
20461
- /**
20462
- * Decreases the opacity of a color. Its range for the amount is between 0 to 1.
20463
- *
20464
- *
20465
- * @example
20466
- * // Styles as object usage
20467
- * const styles = {
20468
- * background: transparentize(0.1, '#fff'),
20469
- * background: transparentize(0.2, 'hsl(0, 0%, 100%)'),
20470
- * background: transparentize('0.5', 'rgba(255, 0, 0, 0.8)'),
20471
- * }
20472
- *
20473
- * // styled-components usage
20474
- * const div = styled.div`
20475
- * background: ${transparentize(0.1, '#fff')};
20476
- * background: ${transparentize(0.2, 'hsl(0, 0%, 100%)')};
20477
- * background: ${transparentize('0.5', 'rgba(255, 0, 0, 0.8)')};
20478
- * `
20479
- *
20480
- * // CSS in JS Output
20481
- *
20482
- * element {
20483
- * background: "rgba(255,255,255,0.9)";
20484
- * background: "rgba(255,255,255,0.8)";
20485
- * background: "rgba(255,0,0,0.3)";
20486
- * }
20487
- */
20488
- function transparentize(amount, color) {
20489
- if (color === 'transparent') return color;
20490
- var parsedColor = parseToRgb(color);
20491
- var alpha = typeof parsedColor.alpha === 'number' ? parsedColor.alpha : 1;
20492
- var colorWithAlpha = _extends$1({}, parsedColor, {
20493
- alpha: guard(0, 1, +(alpha * 100 - parseFloat(amount) * 100).toFixed(2) / 100)
20494
- });
20495
- return rgba$1(colorWithAlpha);
20496
- }
20497
19954
 
20498
- // prettier-ignore
20499
- var curriedTransparentize = curry /* ::<number | string, string, string> */(transparentize);
19955
+ var curriedTint = /*#__PURE__*/curry
19956
+ /* ::<number | string, string, string> */
19957
+ (tint);
19958
+ var curriedTint$1 = curriedTint;
20500
19959
 
20501
19960
  var linkColor = MATISSE_BLUE;
20502
19961
  var fallbackValues$8 = {
@@ -23187,19 +22646,32 @@ var toIndexedObject = function (it) {
23187
22646
  return indexedObject(requireObjectCoercible(it));
23188
22647
  };
23189
22648
 
23190
- // https://tc39.es/ecma262/#sec-IsHTMLDDA-internal-slot
23191
22649
  var documentAll = typeof document == 'object' && document.all;
23192
22650
 
22651
+ // https://tc39.es/ecma262/#sec-IsHTMLDDA-internal-slot
22652
+ // eslint-disable-next-line unicorn/no-typeof-undefined -- required for testing
22653
+ var IS_HTMLDDA = typeof documentAll == 'undefined' && documentAll !== undefined;
22654
+
22655
+ var documentAll_1 = {
22656
+ all: documentAll,
22657
+ IS_HTMLDDA: IS_HTMLDDA
22658
+ };
22659
+
22660
+ var documentAll$1 = documentAll_1.all;
22661
+
23193
22662
  // `IsCallable` abstract operation
23194
22663
  // https://tc39.es/ecma262/#sec-iscallable
23195
- // eslint-disable-next-line unicorn/no-typeof-undefined -- required for testing
23196
- var isCallable = typeof documentAll == 'undefined' && documentAll !== undefined ? function (argument) {
23197
- return typeof argument == 'function' || argument === documentAll;
22664
+ var isCallable = documentAll_1.IS_HTMLDDA ? function (argument) {
22665
+ return typeof argument == 'function' || argument === documentAll$1;
23198
22666
  } : function (argument) {
23199
22667
  return typeof argument == 'function';
23200
22668
  };
23201
22669
 
23202
- var isObject = function (it) {
22670
+ var documentAll$2 = documentAll_1.all;
22671
+
22672
+ var isObject = documentAll_1.IS_HTMLDDA ? function (it) {
22673
+ return typeof it == 'object' ? it !== null : isCallable(it) || it === documentAll$2;
22674
+ } : function (it) {
23203
22675
  return typeof it == 'object' ? it !== null : isCallable(it);
23204
22676
  };
23205
22677
 
@@ -23335,10 +22807,10 @@ var shared = createCommonjsModule(function (module) {
23335
22807
  (module.exports = function (key, value) {
23336
22808
  return sharedStore[key] || (sharedStore[key] = value !== undefined ? value : {});
23337
22809
  })('versions', []).push({
23338
- version: '3.35.1',
22810
+ version: '3.33.3',
23339
22811
  mode: 'global',
23340
- copyright: '© 2014-2024 Denis Pushkarev (zloirock.ru)',
23341
- license: 'https://github.com/zloirock/core-js/blob/v3.35.1/LICENSE',
22812
+ copyright: '© 2014-2023 Denis Pushkarev (zloirock.ru)',
22813
+ license: 'https://github.com/zloirock/core-js/blob/v3.33.3/LICENSE',
23342
22814
  source: 'https://github.com/zloirock/core-js'
23343
22815
  });
23344
22816
  });
@@ -23635,7 +23107,7 @@ var TEMPLATE = String(String).split('String');
23635
23107
 
23636
23108
  var makeBuiltIn = module.exports = function (value, name, options) {
23637
23109
  if (stringSlice($String(name), 0, 7) === 'Symbol(') {
23638
- name = '[' + replace($String(name), /^Symbol\(([^)]*)\).*$/, '$1') + ']';
23110
+ name = '[' + replace($String(name), /^Symbol\(([^)]*)\)/, '$1') + ']';
23639
23111
  }
23640
23112
  if (options && options.getter) name = 'get ' + name;
23641
23113
  if (options && options.setter) name = 'set ' + name;
@@ -23723,8 +23195,7 @@ var min$1 = Math.min;
23723
23195
  // `ToLength` abstract operation
23724
23196
  // https://tc39.es/ecma262/#sec-tolength
23725
23197
  var toLength = function (argument) {
23726
- var len = toIntegerOrInfinity(argument);
23727
- return len > 0 ? min$1(len, 0x1FFFFFFFFFFFFF) : 0; // 2 ** 53 - 1 == 9007199254740991
23198
+ return argument > 0 ? min$1(toIntegerOrInfinity(argument), 0x1FFFFFFFFFFFFF) : 0; // 2 ** 53 - 1 == 9007199254740991
23728
23199
  };
23729
23200
 
23730
23201
  // `LengthOfArrayLike` abstract operation
@@ -23884,7 +23355,7 @@ var _export = function (options, source) {
23884
23355
  } else if (STATIC) {
23885
23356
  target = global_1[TARGET] || defineGlobalProperty(TARGET, {});
23886
23357
  } else {
23887
- target = global_1[TARGET] && global_1[TARGET].prototype;
23358
+ target = (global_1[TARGET] || {}).prototype;
23888
23359
  }
23889
23360
  if (target) for (key in source) {
23890
23361
  sourceProperty = source[key];
@@ -24147,15 +23618,11 @@ var functionUncurryThisAccessor = function (object, key, method) {
24147
23618
  } catch (error) { /* empty */ }
24148
23619
  };
24149
23620
 
24150
- var isPossiblePrototype = function (argument) {
24151
- return isObject(argument) || argument === null;
24152
- };
24153
-
24154
23621
  var $String$4 = String;
24155
23622
  var $TypeError$6 = TypeError;
24156
23623
 
24157
23624
  var aPossiblePrototype = function (argument) {
24158
- if (isPossiblePrototype(argument)) return argument;
23625
+ if (typeof argument == 'object' || isCallable(argument)) return argument;
24159
23626
  throw new $TypeError$6("Can't set " + $String$4(argument) + ' as a prototype');
24160
23627
  };
24161
23628
 
@@ -46208,7 +45675,9 @@ var Modal$1 = function Modal(_ref) {
46208
45675
  _ref$dataQa = _ref.dataQa,
46209
45676
  dataQa = _ref$dataQa === void 0 ? null : _ref$dataQa,
46210
45677
  _ref$initialFocusSele = _ref.initialFocusSelector,
46211
- initialFocusSelector = _ref$initialFocusSele === void 0 ? "" : _ref$initialFocusSele;
45678
+ initialFocusSelector = _ref$initialFocusSele === void 0 ? "" : _ref$initialFocusSele,
45679
+ _ref$blurUnderlay = _ref.blurUnderlay,
45680
+ blurUnderlay = _ref$blurUnderlay === void 0 ? true : _ref$blurUnderlay;
46212
45681
  var _useContext = React.useContext(styled.ThemeContext),
46213
45682
  isMobile = _useContext.isMobile;
46214
45683
  var modalContainerRef = React.useRef(null);
@@ -46228,7 +45697,10 @@ var Modal$1 = function Modal(_ref) {
46228
45697
  display: "flex",
46229
45698
  flexDirection: "column",
46230
45699
  justifyContent: "center",
46231
- alignItems: "center"
45700
+ alignItems: "center",
45701
+ background: "rgba(41, 42, 51, 0.45)",
45702
+ backdropFilter: blurUnderlay ? "blur(4px)" : "none",
45703
+ WebkitBackdropFilter: blurUnderlay ? "blur(4px)" : "none"
46232
45704
  },
46233
45705
  dialogStyle: {
46234
45706
  width: customWidth || "615px",