@veripass/react-sdk 1.0.2 → 1.0.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -76,6 +76,14 @@ function _createClass(e, r, t) {
76
76
  writable: !1
77
77
  }), e;
78
78
  }
79
+ function _defineProperty(e, r, t) {
80
+ return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, {
81
+ value: t,
82
+ enumerable: !0,
83
+ configurable: !0,
84
+ writable: !0
85
+ }) : e[r] = t, e;
86
+ }
79
87
  function _get() {
80
88
  return _get = "undefined" != typeof Reflect && Reflect.get ? Reflect.get.bind() : function (e, t, r) {
81
89
  var p = _superPropBase(e, t);
@@ -140,6 +148,27 @@ function _iterableToArrayLimit(r, l) {
140
148
  function _nonIterableRest() {
141
149
  throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
142
150
  }
151
+ function ownKeys(e, r) {
152
+ var t = Object.keys(e);
153
+ if (Object.getOwnPropertySymbols) {
154
+ var o = Object.getOwnPropertySymbols(e);
155
+ r && (o = o.filter(function (r) {
156
+ return Object.getOwnPropertyDescriptor(e, r).enumerable;
157
+ })), t.push.apply(t, o);
158
+ }
159
+ return t;
160
+ }
161
+ function _objectSpread2(e) {
162
+ for (var r = 1; r < arguments.length; r++) {
163
+ var t = null != arguments[r] ? arguments[r] : {};
164
+ r % 2 ? ownKeys(Object(t), !0).forEach(function (r) {
165
+ _defineProperty(e, r, t[r]);
166
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) {
167
+ Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r));
168
+ });
169
+ }
170
+ return e;
171
+ }
143
172
  function _possibleConstructorReturn(t, e) {
144
173
  if (e && ("object" == typeof e || "function" == typeof e)) return e;
145
174
  if (void 0 !== e) throw new TypeError("Derived constructors may only return object or undefined");
@@ -458,6 +487,13 @@ function _superPropBase(t, o) {
458
487
  for (; !{}.hasOwnProperty.call(t, o) && null !== (t = _getPrototypeOf(t)););
459
488
  return t;
460
489
  }
490
+ function _taggedTemplateLiteral(e, t) {
491
+ return t || (t = e.slice(0)), Object.freeze(Object.defineProperties(e, {
492
+ raw: {
493
+ value: Object.freeze(t)
494
+ }
495
+ }));
496
+ }
461
497
  function _toPrimitive(t, r) {
462
498
  if ("object" != typeof t || !t) return t;
463
499
  var e = t[Symbol.toPrimitive];
@@ -37504,6 +37540,918 @@ function requireClient () {
37504
37540
  var sweetalert2ReactContent_umdExports = sweetalert2ReactContent_umd.exports;
37505
37541
  var withReactContent = /*@__PURE__*/getDefaultExportFromCjs(sweetalert2ReactContent_umdExports);
37506
37542
 
37543
+ /******************************************************************************
37544
+ Copyright (c) Microsoft Corporation.
37545
+
37546
+ Permission to use, copy, modify, and/or distribute this software for any
37547
+ purpose with or without fee is hereby granted.
37548
+
37549
+ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
37550
+ REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
37551
+ AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
37552
+ INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
37553
+ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
37554
+ OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
37555
+ PERFORMANCE OF THIS SOFTWARE.
37556
+ ***************************************************************************** */
37557
+ /* global Reflect, Promise */
37558
+
37559
+
37560
+ var __assign = function() {
37561
+ __assign = Object.assign || function __assign(t) {
37562
+ for (var s, i = 1, n = arguments.length; i < n; i++) {
37563
+ s = arguments[i];
37564
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];
37565
+ }
37566
+ return t;
37567
+ };
37568
+ return __assign.apply(this, arguments);
37569
+ };
37570
+
37571
+ function __spreadArray(to, from, pack) {
37572
+ if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {
37573
+ if (ar || !(i in from)) {
37574
+ if (!ar) ar = Array.prototype.slice.call(from, 0, i);
37575
+ ar[i] = from[i];
37576
+ }
37577
+ }
37578
+ return to.concat(ar || Array.prototype.slice.call(from));
37579
+ }
37580
+
37581
+ function memoize$3(fn) {
37582
+ var cache = Object.create(null);
37583
+ return function (arg) {
37584
+ if (cache[arg] === undefined) cache[arg] = fn(arg);
37585
+ return cache[arg];
37586
+ };
37587
+ }
37588
+
37589
+ var reactPropsRegex$1 = /^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|download|draggable|encType|enterKeyHint|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/; // https://esbench.com/bench/5bfee68a4cd7e6009ef61d23
37590
+
37591
+ var isPropValid$1 = /* #__PURE__ */memoize$3(function (prop) {
37592
+ return reactPropsRegex$1.test(prop) || prop.charCodeAt(0) === 111
37593
+ /* o */
37594
+ && prop.charCodeAt(1) === 110
37595
+ /* n */
37596
+ && prop.charCodeAt(2) < 91;
37597
+ }
37598
+ /* Z+1 */
37599
+ );
37600
+
37601
+ var MS$1 = '-ms-';
37602
+ var MOZ$1 = '-moz-';
37603
+ var WEBKIT$1 = '-webkit-';
37604
+
37605
+ var COMMENT$1 = 'comm';
37606
+ var RULESET$1 = 'rule';
37607
+ var DECLARATION$1 = 'decl';
37608
+ var IMPORT$1 = '@import';
37609
+ var KEYFRAMES$1 = '@keyframes';
37610
+ var LAYER$1 = '@layer';
37611
+
37612
+ /**
37613
+ * @param {number}
37614
+ * @return {number}
37615
+ */
37616
+ var abs$1 = Math.abs;
37617
+
37618
+ /**
37619
+ * @param {number}
37620
+ * @return {string}
37621
+ */
37622
+ var from$1 = String.fromCharCode;
37623
+
37624
+ /**
37625
+ * @param {object}
37626
+ * @return {object}
37627
+ */
37628
+ var assign$1 = Object.assign;
37629
+
37630
+ /**
37631
+ * @param {string} value
37632
+ * @param {number} length
37633
+ * @return {number}
37634
+ */
37635
+ function hash$1 (value, length) {
37636
+ return charat$1(value, 0) ^ 45 ? (((((((length << 2) ^ charat$1(value, 0)) << 2) ^ charat$1(value, 1)) << 2) ^ charat$1(value, 2)) << 2) ^ charat$1(value, 3) : 0
37637
+ }
37638
+
37639
+ /**
37640
+ * @param {string} value
37641
+ * @return {string}
37642
+ */
37643
+ function trim$2 (value) {
37644
+ return value.trim()
37645
+ }
37646
+
37647
+ /**
37648
+ * @param {string} value
37649
+ * @param {RegExp} pattern
37650
+ * @return {string?}
37651
+ */
37652
+ function match$1 (value, pattern) {
37653
+ return (value = pattern.exec(value)) ? value[0] : value
37654
+ }
37655
+
37656
+ /**
37657
+ * @param {string} value
37658
+ * @param {(string|RegExp)} pattern
37659
+ * @param {string} replacement
37660
+ * @return {string}
37661
+ */
37662
+ function replace$1 (value, pattern, replacement) {
37663
+ return value.replace(pattern, replacement)
37664
+ }
37665
+
37666
+ /**
37667
+ * @param {string} value
37668
+ * @param {string} search
37669
+ * @param {number} position
37670
+ * @return {number}
37671
+ */
37672
+ function indexof$1 (value, search, position) {
37673
+ return value.indexOf(search, position)
37674
+ }
37675
+
37676
+ /**
37677
+ * @param {string} value
37678
+ * @param {number} index
37679
+ * @return {number}
37680
+ */
37681
+ function charat$1 (value, index) {
37682
+ return value.charCodeAt(index) | 0
37683
+ }
37684
+
37685
+ /**
37686
+ * @param {string} value
37687
+ * @param {number} begin
37688
+ * @param {number} end
37689
+ * @return {string}
37690
+ */
37691
+ function substr$1 (value, begin, end) {
37692
+ return value.slice(begin, end)
37693
+ }
37694
+
37695
+ /**
37696
+ * @param {string} value
37697
+ * @return {number}
37698
+ */
37699
+ function strlen$1 (value) {
37700
+ return value.length
37701
+ }
37702
+
37703
+ /**
37704
+ * @param {any[]} value
37705
+ * @return {number}
37706
+ */
37707
+ function sizeof$1 (value) {
37708
+ return value.length
37709
+ }
37710
+
37711
+ /**
37712
+ * @param {any} value
37713
+ * @param {any[]} array
37714
+ * @return {any}
37715
+ */
37716
+ function append$1 (value, array) {
37717
+ return array.push(value), value
37718
+ }
37719
+
37720
+ /**
37721
+ * @param {string[]} array
37722
+ * @param {function} callback
37723
+ * @return {string}
37724
+ */
37725
+ function combine$1 (array, callback) {
37726
+ return array.map(callback).join('')
37727
+ }
37728
+
37729
+ /**
37730
+ * @param {string[]} array
37731
+ * @param {RegExp} pattern
37732
+ * @return {string[]}
37733
+ */
37734
+ function filter (array, pattern) {
37735
+ return array.filter(function (value) { return !match$1(value, pattern) })
37736
+ }
37737
+
37738
+ var line$1 = 1;
37739
+ var column$1 = 1;
37740
+ var length$1 = 0;
37741
+ var position$1 = 0;
37742
+ var character$1 = 0;
37743
+ var characters$1 = '';
37744
+
37745
+ /**
37746
+ * @param {string} value
37747
+ * @param {object | null} root
37748
+ * @param {object | null} parent
37749
+ * @param {string} type
37750
+ * @param {string[] | string} props
37751
+ * @param {object[] | string} children
37752
+ * @param {object[]} siblings
37753
+ * @param {number} length
37754
+ */
37755
+ function node$1 (value, root, parent, type, props, children, length, siblings) {
37756
+ return {value: value, root: root, parent: parent, type: type, props: props, children: children, line: line$1, column: column$1, length: length, return: '', siblings: siblings}
37757
+ }
37758
+
37759
+ /**
37760
+ * @param {object} root
37761
+ * @param {object} props
37762
+ * @return {object}
37763
+ */
37764
+ function copy$1 (root, props) {
37765
+ return assign$1(node$1('', null, null, '', null, null, 0, root.siblings), root, {length: -root.length}, props)
37766
+ }
37767
+
37768
+ /**
37769
+ * @param {object} root
37770
+ */
37771
+ function lift (root) {
37772
+ while (root.root)
37773
+ root = copy$1(root.root, {children: [root]});
37774
+
37775
+ append$1(root, root.siblings);
37776
+ }
37777
+
37778
+ /**
37779
+ * @return {number}
37780
+ */
37781
+ function char$1 () {
37782
+ return character$1
37783
+ }
37784
+
37785
+ /**
37786
+ * @return {number}
37787
+ */
37788
+ function prev$1 () {
37789
+ character$1 = position$1 > 0 ? charat$1(characters$1, --position$1) : 0;
37790
+
37791
+ if (column$1--, character$1 === 10)
37792
+ column$1 = 1, line$1--;
37793
+
37794
+ return character$1
37795
+ }
37796
+
37797
+ /**
37798
+ * @return {number}
37799
+ */
37800
+ function next$1 () {
37801
+ character$1 = position$1 < length$1 ? charat$1(characters$1, position$1++) : 0;
37802
+
37803
+ if (column$1++, character$1 === 10)
37804
+ column$1 = 1, line$1++;
37805
+
37806
+ return character$1
37807
+ }
37808
+
37809
+ /**
37810
+ * @return {number}
37811
+ */
37812
+ function peek$1 () {
37813
+ return charat$1(characters$1, position$1)
37814
+ }
37815
+
37816
+ /**
37817
+ * @return {number}
37818
+ */
37819
+ function caret$1 () {
37820
+ return position$1
37821
+ }
37822
+
37823
+ /**
37824
+ * @param {number} begin
37825
+ * @param {number} end
37826
+ * @return {string}
37827
+ */
37828
+ function slice$1 (begin, end) {
37829
+ return substr$1(characters$1, begin, end)
37830
+ }
37831
+
37832
+ /**
37833
+ * @param {number} type
37834
+ * @return {number}
37835
+ */
37836
+ function token$1 (type) {
37837
+ switch (type) {
37838
+ // \0 \t \n \r \s whitespace token
37839
+ case 0: case 9: case 10: case 13: case 32:
37840
+ return 5
37841
+ // ! + , / > @ ~ isolate token
37842
+ case 33: case 43: case 44: case 47: case 62: case 64: case 126:
37843
+ // ; { } breakpoint token
37844
+ case 59: case 123: case 125:
37845
+ return 4
37846
+ // : accompanied token
37847
+ case 58:
37848
+ return 3
37849
+ // " ' ( [ opening delimit token
37850
+ case 34: case 39: case 40: case 91:
37851
+ return 2
37852
+ // ) ] closing delimit token
37853
+ case 41: case 93:
37854
+ return 1
37855
+ }
37856
+
37857
+ return 0
37858
+ }
37859
+
37860
+ /**
37861
+ * @param {string} value
37862
+ * @return {any[]}
37863
+ */
37864
+ function alloc$1 (value) {
37865
+ return line$1 = column$1 = 1, length$1 = strlen$1(characters$1 = value), position$1 = 0, []
37866
+ }
37867
+
37868
+ /**
37869
+ * @param {any} value
37870
+ * @return {any}
37871
+ */
37872
+ function dealloc$1 (value) {
37873
+ return characters$1 = '', value
37874
+ }
37875
+
37876
+ /**
37877
+ * @param {number} type
37878
+ * @return {string}
37879
+ */
37880
+ function delimit$1 (type) {
37881
+ return trim$2(slice$1(position$1 - 1, delimiter$1(type === 91 ? type + 2 : type === 40 ? type + 1 : type)))
37882
+ }
37883
+
37884
+ /**
37885
+ * @param {number} type
37886
+ * @return {string}
37887
+ */
37888
+ function whitespace$1 (type) {
37889
+ while (character$1 = peek$1())
37890
+ if (character$1 < 33)
37891
+ next$1();
37892
+ else
37893
+ break
37894
+
37895
+ return token$1(type) > 2 || token$1(character$1) > 3 ? '' : ' '
37896
+ }
37897
+
37898
+ /**
37899
+ * @param {number} index
37900
+ * @param {number} count
37901
+ * @return {string}
37902
+ */
37903
+ function escaping$1 (index, count) {
37904
+ while (--count && next$1())
37905
+ // not 0-9 A-F a-f
37906
+ if (character$1 < 48 || character$1 > 102 || (character$1 > 57 && character$1 < 65) || (character$1 > 70 && character$1 < 97))
37907
+ break
37908
+
37909
+ return slice$1(index, caret$1() + (count < 6 && peek$1() == 32 && next$1() == 32))
37910
+ }
37911
+
37912
+ /**
37913
+ * @param {number} type
37914
+ * @return {number}
37915
+ */
37916
+ function delimiter$1 (type) {
37917
+ while (next$1())
37918
+ switch (character$1) {
37919
+ // ] ) " '
37920
+ case type:
37921
+ return position$1
37922
+ // " '
37923
+ case 34: case 39:
37924
+ if (type !== 34 && type !== 39)
37925
+ delimiter$1(character$1);
37926
+ break
37927
+ // (
37928
+ case 40:
37929
+ if (type === 41)
37930
+ delimiter$1(type);
37931
+ break
37932
+ // \
37933
+ case 92:
37934
+ next$1();
37935
+ break
37936
+ }
37937
+
37938
+ return position$1
37939
+ }
37940
+
37941
+ /**
37942
+ * @param {number} type
37943
+ * @param {number} index
37944
+ * @return {number}
37945
+ */
37946
+ function commenter$1 (type, index) {
37947
+ while (next$1())
37948
+ // //
37949
+ if (type + character$1 === 47 + 10)
37950
+ break
37951
+ // /*
37952
+ else if (type + character$1 === 42 + 42 && peek$1() === 47)
37953
+ break
37954
+
37955
+ return '/*' + slice$1(index, position$1 - 1) + '*' + from$1(type === 47 ? type : next$1())
37956
+ }
37957
+
37958
+ /**
37959
+ * @param {number} index
37960
+ * @return {string}
37961
+ */
37962
+ function identifier$1 (index) {
37963
+ while (!token$1(peek$1()))
37964
+ next$1();
37965
+
37966
+ return slice$1(index, position$1)
37967
+ }
37968
+
37969
+ /**
37970
+ * @param {string} value
37971
+ * @return {object[]}
37972
+ */
37973
+ function compile$1 (value) {
37974
+ return dealloc$1(parse$1('', null, null, null, [''], value = alloc$1(value), 0, [0], value))
37975
+ }
37976
+
37977
+ /**
37978
+ * @param {string} value
37979
+ * @param {object} root
37980
+ * @param {object?} parent
37981
+ * @param {string[]} rule
37982
+ * @param {string[]} rules
37983
+ * @param {string[]} rulesets
37984
+ * @param {number[]} pseudo
37985
+ * @param {number[]} points
37986
+ * @param {string[]} declarations
37987
+ * @return {object}
37988
+ */
37989
+ function parse$1 (value, root, parent, rule, rules, rulesets, pseudo, points, declarations) {
37990
+ var index = 0;
37991
+ var offset = 0;
37992
+ var length = pseudo;
37993
+ var atrule = 0;
37994
+ var property = 0;
37995
+ var previous = 0;
37996
+ var variable = 1;
37997
+ var scanning = 1;
37998
+ var ampersand = 1;
37999
+ var character = 0;
38000
+ var type = '';
38001
+ var props = rules;
38002
+ var children = rulesets;
38003
+ var reference = rule;
38004
+ var characters = type;
38005
+
38006
+ while (scanning)
38007
+ switch (previous = character, character = next$1()) {
38008
+ // (
38009
+ case 40:
38010
+ if (previous != 108 && charat$1(characters, length - 1) == 58) {
38011
+ if (indexof$1(characters += replace$1(delimit$1(character), '&', '&\f'), '&\f', abs$1(index ? points[index - 1] : 0)) != -1)
38012
+ ampersand = -1;
38013
+ break
38014
+ }
38015
+ // " ' [
38016
+ case 34: case 39: case 91:
38017
+ characters += delimit$1(character);
38018
+ break
38019
+ // \t \n \r \s
38020
+ case 9: case 10: case 13: case 32:
38021
+ characters += whitespace$1(previous);
38022
+ break
38023
+ // \
38024
+ case 92:
38025
+ characters += escaping$1(caret$1() - 1, 7);
38026
+ continue
38027
+ // /
38028
+ case 47:
38029
+ switch (peek$1()) {
38030
+ case 42: case 47:
38031
+ append$1(comment$1(commenter$1(next$1(), caret$1()), root, parent, declarations), declarations);
38032
+ break
38033
+ default:
38034
+ characters += '/';
38035
+ }
38036
+ break
38037
+ // {
38038
+ case 123 * variable:
38039
+ points[index++] = strlen$1(characters) * ampersand;
38040
+ // } ; \0
38041
+ case 125 * variable: case 59: case 0:
38042
+ switch (character) {
38043
+ // \0 }
38044
+ case 0: case 125: scanning = 0;
38045
+ // ;
38046
+ case 59 + offset: if (ampersand == -1) characters = replace$1(characters, /\f/g, '');
38047
+ if (property > 0 && (strlen$1(characters) - length))
38048
+ append$1(property > 32 ? declaration$1(characters + ';', rule, parent, length - 1, declarations) : declaration$1(replace$1(characters, ' ', '') + ';', rule, parent, length - 2, declarations), declarations);
38049
+ break
38050
+ // @ ;
38051
+ case 59: characters += ';';
38052
+ // { rule/at-rule
38053
+ default:
38054
+ append$1(reference = ruleset$1(characters, root, parent, index, offset, rules, points, type, props = [], children = [], length, rulesets), rulesets);
38055
+
38056
+ if (character === 123)
38057
+ if (offset === 0)
38058
+ parse$1(characters, root, reference, reference, props, rulesets, length, points, children);
38059
+ else
38060
+ switch (atrule === 99 && charat$1(characters, 3) === 110 ? 100 : atrule) {
38061
+ // d l m s
38062
+ case 100: case 108: case 109: case 115:
38063
+ parse$1(value, reference, reference, rule && append$1(ruleset$1(value, reference, reference, 0, 0, rules, points, type, rules, props = [], length, children), children), rules, children, length, points, rule ? props : children);
38064
+ break
38065
+ default:
38066
+ parse$1(characters, reference, reference, reference, [''], children, 0, points, children);
38067
+ }
38068
+ }
38069
+
38070
+ index = offset = property = 0, variable = ampersand = 1, type = characters = '', length = pseudo;
38071
+ break
38072
+ // :
38073
+ case 58:
38074
+ length = 1 + strlen$1(characters), property = previous;
38075
+ default:
38076
+ if (variable < 1)
38077
+ if (character == 123)
38078
+ --variable;
38079
+ else if (character == 125 && variable++ == 0 && prev$1() == 125)
38080
+ continue
38081
+
38082
+ switch (characters += from$1(character), character * variable) {
38083
+ // &
38084
+ case 38:
38085
+ ampersand = offset > 0 ? 1 : (characters += '\f', -1);
38086
+ break
38087
+ // ,
38088
+ case 44:
38089
+ points[index++] = (strlen$1(characters) - 1) * ampersand, ampersand = 1;
38090
+ break
38091
+ // @
38092
+ case 64:
38093
+ // -
38094
+ if (peek$1() === 45)
38095
+ characters += delimit$1(next$1());
38096
+
38097
+ atrule = peek$1(), offset = length = strlen$1(type = characters += identifier$1(caret$1())), character++;
38098
+ break
38099
+ // -
38100
+ case 45:
38101
+ if (previous === 45 && strlen$1(characters) == 2)
38102
+ variable = 0;
38103
+ }
38104
+ }
38105
+
38106
+ return rulesets
38107
+ }
38108
+
38109
+ /**
38110
+ * @param {string} value
38111
+ * @param {object} root
38112
+ * @param {object?} parent
38113
+ * @param {number} index
38114
+ * @param {number} offset
38115
+ * @param {string[]} rules
38116
+ * @param {number[]} points
38117
+ * @param {string} type
38118
+ * @param {string[]} props
38119
+ * @param {string[]} children
38120
+ * @param {number} length
38121
+ * @param {object[]} siblings
38122
+ * @return {object}
38123
+ */
38124
+ function ruleset$1 (value, root, parent, index, offset, rules, points, type, props, children, length, siblings) {
38125
+ var post = offset - 1;
38126
+ var rule = offset === 0 ? rules : [''];
38127
+ var size = sizeof$1(rule);
38128
+
38129
+ for (var i = 0, j = 0, k = 0; i < index; ++i)
38130
+ for (var x = 0, y = substr$1(value, post + 1, post = abs$1(j = points[i])), z = value; x < size; ++x)
38131
+ if (z = trim$2(j > 0 ? rule[x] + ' ' + y : replace$1(y, /&\f/g, rule[x])))
38132
+ props[k++] = z;
38133
+
38134
+ return node$1(value, root, parent, offset === 0 ? RULESET$1 : type, props, children, length, siblings)
38135
+ }
38136
+
38137
+ /**
38138
+ * @param {number} value
38139
+ * @param {object} root
38140
+ * @param {object?} parent
38141
+ * @param {object[]} siblings
38142
+ * @return {object}
38143
+ */
38144
+ function comment$1 (value, root, parent, siblings) {
38145
+ return node$1(value, root, parent, COMMENT$1, from$1(char$1()), substr$1(value, 2, -2), 0, siblings)
38146
+ }
38147
+
38148
+ /**
38149
+ * @param {string} value
38150
+ * @param {object} root
38151
+ * @param {object?} parent
38152
+ * @param {number} length
38153
+ * @param {object[]} siblings
38154
+ * @return {object}
38155
+ */
38156
+ function declaration$1 (value, root, parent, length, siblings) {
38157
+ return node$1(value, root, parent, DECLARATION$1, substr$1(value, 0, length), substr$1(value, length + 1, -1), length, siblings)
38158
+ }
38159
+
38160
+ /**
38161
+ * @param {string} value
38162
+ * @param {number} length
38163
+ * @param {object[]} children
38164
+ * @return {string}
38165
+ */
38166
+ function prefix$1 (value, length, children) {
38167
+ switch (hash$1(value, length)) {
38168
+ // color-adjust
38169
+ case 5103:
38170
+ return WEBKIT$1 + 'print-' + value + value
38171
+ // animation, animation-(delay|direction|duration|fill-mode|iteration-count|name|play-state|timing-function)
38172
+ case 5737: case 4201: case 3177: case 3433: case 1641: case 4457: case 2921:
38173
+ // text-decoration, filter, clip-path, backface-visibility, column, box-decoration-break
38174
+ case 5572: case 6356: case 5844: case 3191: case 6645: case 3005:
38175
+ // mask, mask-image, mask-(mode|clip|size), mask-(repeat|origin), mask-position, mask-composite,
38176
+ case 6391: case 5879: case 5623: case 6135: case 4599: case 4855:
38177
+ // background-clip, columns, column-(count|fill|gap|rule|rule-color|rule-style|rule-width|span|width)
38178
+ case 4215: case 6389: case 5109: case 5365: case 5621: case 3829:
38179
+ return WEBKIT$1 + value + value
38180
+ // tab-size
38181
+ case 4789:
38182
+ return MOZ$1 + value + value
38183
+ // appearance, user-select, transform, hyphens, text-size-adjust
38184
+ case 5349: case 4246: case 4810: case 6968: case 2756:
38185
+ return WEBKIT$1 + value + MOZ$1 + value + MS$1 + value + value
38186
+ // writing-mode
38187
+ case 5936:
38188
+ switch (charat$1(value, length + 11)) {
38189
+ // vertical-l(r)
38190
+ case 114:
38191
+ return WEBKIT$1 + value + MS$1 + replace$1(value, /[svh]\w+-[tblr]{2}/, 'tb') + value
38192
+ // vertical-r(l)
38193
+ case 108:
38194
+ return WEBKIT$1 + value + MS$1 + replace$1(value, /[svh]\w+-[tblr]{2}/, 'tb-rl') + value
38195
+ // horizontal(-)tb
38196
+ case 45:
38197
+ return WEBKIT$1 + value + MS$1 + replace$1(value, /[svh]\w+-[tblr]{2}/, 'lr') + value
38198
+ // default: fallthrough to below
38199
+ }
38200
+ // flex, flex-direction, scroll-snap-type, writing-mode
38201
+ case 6828: case 4268: case 2903:
38202
+ return WEBKIT$1 + value + MS$1 + value + value
38203
+ // order
38204
+ case 6165:
38205
+ return WEBKIT$1 + value + MS$1 + 'flex-' + value + value
38206
+ // align-items
38207
+ case 5187:
38208
+ return WEBKIT$1 + value + replace$1(value, /(\w+).+(:[^]+)/, WEBKIT$1 + 'box-$1$2' + MS$1 + 'flex-$1$2') + value
38209
+ // align-self
38210
+ case 5443:
38211
+ return WEBKIT$1 + value + MS$1 + 'flex-item-' + replace$1(value, /flex-|-self/g, '') + (!match$1(value, /flex-|baseline/) ? MS$1 + 'grid-row-' + replace$1(value, /flex-|-self/g, '') : '') + value
38212
+ // align-content
38213
+ case 4675:
38214
+ return WEBKIT$1 + value + MS$1 + 'flex-line-pack' + replace$1(value, /align-content|flex-|-self/g, '') + value
38215
+ // flex-shrink
38216
+ case 5548:
38217
+ return WEBKIT$1 + value + MS$1 + replace$1(value, 'shrink', 'negative') + value
38218
+ // flex-basis
38219
+ case 5292:
38220
+ return WEBKIT$1 + value + MS$1 + replace$1(value, 'basis', 'preferred-size') + value
38221
+ // flex-grow
38222
+ case 6060:
38223
+ return WEBKIT$1 + 'box-' + replace$1(value, '-grow', '') + WEBKIT$1 + value + MS$1 + replace$1(value, 'grow', 'positive') + value
38224
+ // transition
38225
+ case 4554:
38226
+ return WEBKIT$1 + replace$1(value, /([^-])(transform)/g, '$1' + WEBKIT$1 + '$2') + value
38227
+ // cursor
38228
+ case 6187:
38229
+ return replace$1(replace$1(replace$1(value, /(zoom-|grab)/, WEBKIT$1 + '$1'), /(image-set)/, WEBKIT$1 + '$1'), value, '') + value
38230
+ // background, background-image
38231
+ case 5495: case 3959:
38232
+ return replace$1(value, /(image-set\([^]*)/, WEBKIT$1 + '$1' + '$`$1')
38233
+ // justify-content
38234
+ case 4968:
38235
+ return replace$1(replace$1(value, /(.+:)(flex-)?(.*)/, WEBKIT$1 + 'box-pack:$3' + MS$1 + 'flex-pack:$3'), /s.+-b[^;]+/, 'justify') + WEBKIT$1 + value + value
38236
+ // justify-self
38237
+ case 4200:
38238
+ if (!match$1(value, /flex-|baseline/)) return MS$1 + 'grid-column-align' + substr$1(value, length) + value
38239
+ break
38240
+ // grid-template-(columns|rows)
38241
+ case 2592: case 3360:
38242
+ return MS$1 + replace$1(value, 'template-', '') + value
38243
+ // grid-(row|column)-start
38244
+ case 4384: case 3616:
38245
+ if (children && children.some(function (element, index) { return length = index, match$1(element.props, /grid-\w+-end/) })) {
38246
+ return ~indexof$1(value + (children = children[length].value), 'span', 0) ? value : (MS$1 + replace$1(value, '-start', '') + value + MS$1 + 'grid-row-span:' + (~indexof$1(children, 'span', 0) ? match$1(children, /\d+/) : +match$1(children, /\d+/) - +match$1(value, /\d+/)) + ';')
38247
+ }
38248
+ return MS$1 + replace$1(value, '-start', '') + value
38249
+ // grid-(row|column)-end
38250
+ case 4896: case 4128:
38251
+ return (children && children.some(function (element) { return match$1(element.props, /grid-\w+-start/) })) ? value : MS$1 + replace$1(replace$1(value, '-end', '-span'), 'span ', '') + value
38252
+ // (margin|padding)-inline-(start|end)
38253
+ case 4095: case 3583: case 4068: case 2532:
38254
+ return replace$1(value, /(.+)-inline(.+)/, WEBKIT$1 + '$1$2') + value
38255
+ // (min|max)?(width|height|inline-size|block-size)
38256
+ case 8116: case 7059: case 5753: case 5535:
38257
+ case 5445: case 5701: case 4933: case 4677:
38258
+ case 5533: case 5789: case 5021: case 4765:
38259
+ // stretch, max-content, min-content, fill-available
38260
+ if (strlen$1(value) - 1 - length > 6)
38261
+ switch (charat$1(value, length + 1)) {
38262
+ // (m)ax-content, (m)in-content
38263
+ case 109:
38264
+ // -
38265
+ if (charat$1(value, length + 4) !== 45)
38266
+ break
38267
+ // (f)ill-available, (f)it-content
38268
+ case 102:
38269
+ return replace$1(value, /(.+:)(.+)-([^]+)/, '$1' + WEBKIT$1 + '$2-$3' + '$1' + MOZ$1 + (charat$1(value, length + 3) == 108 ? '$3' : '$2-$3')) + value
38270
+ // (s)tretch
38271
+ case 115:
38272
+ return ~indexof$1(value, 'stretch', 0) ? prefix$1(replace$1(value, 'stretch', 'fill-available'), length, children) + value : value
38273
+ }
38274
+ break
38275
+ // grid-(column|row)
38276
+ case 5152: case 5920:
38277
+ return replace$1(value, /(.+?):(\d+)(\s*\/\s*(span)?\s*(\d+))?(.*)/, function (_, a, b, c, d, e, f) { return (MS$1 + a + ':' + b + f) + (c ? (MS$1 + a + '-span:' + (d ? e : +e - +b)) + f : '') + value })
38278
+ // position: sticky
38279
+ case 4949:
38280
+ // stick(y)?
38281
+ if (charat$1(value, length + 6) === 121)
38282
+ return replace$1(value, ':', ':' + WEBKIT$1) + value
38283
+ break
38284
+ // display: (flex|inline-flex|grid|inline-grid)
38285
+ case 6444:
38286
+ switch (charat$1(value, charat$1(value, 14) === 45 ? 18 : 11)) {
38287
+ // (inline-)?fle(x)
38288
+ case 120:
38289
+ return replace$1(value, /(.+:)([^;\s!]+)(;|(\s+)?!.+)?/, '$1' + WEBKIT$1 + (charat$1(value, 14) === 45 ? 'inline-' : '') + 'box$3' + '$1' + WEBKIT$1 + '$2$3' + '$1' + MS$1 + '$2box$3') + value
38290
+ // (inline-)?gri(d)
38291
+ case 100:
38292
+ return replace$1(value, ':', ':' + MS$1) + value
38293
+ }
38294
+ break
38295
+ // scroll-margin, scroll-margin-(top|right|bottom|left)
38296
+ case 5719: case 2647: case 2135: case 3927: case 2391:
38297
+ return replace$1(value, 'scroll-', 'scroll-snap-') + value
38298
+ }
38299
+
38300
+ return value
38301
+ }
38302
+
38303
+ /**
38304
+ * @param {object[]} children
38305
+ * @param {function} callback
38306
+ * @return {string}
38307
+ */
38308
+ function serialize$1 (children, callback) {
38309
+ var output = '';
38310
+
38311
+ for (var i = 0; i < children.length; i++)
38312
+ output += callback(children[i], i, children, callback) || '';
38313
+
38314
+ return output
38315
+ }
38316
+
38317
+ /**
38318
+ * @param {object} element
38319
+ * @param {number} index
38320
+ * @param {object[]} children
38321
+ * @param {function} callback
38322
+ * @return {string}
38323
+ */
38324
+ function stringify$1 (element, index, children, callback) {
38325
+ switch (element.type) {
38326
+ case LAYER$1: if (element.children.length) break
38327
+ case IMPORT$1: case DECLARATION$1: return element.return = element.return || element.value
38328
+ case COMMENT$1: return ''
38329
+ case KEYFRAMES$1: return element.return = element.value + '{' + serialize$1(element.children, callback) + '}'
38330
+ case RULESET$1: if (!strlen$1(element.value = element.props.join(','))) return ''
38331
+ }
38332
+
38333
+ return strlen$1(children = serialize$1(element.children, callback)) ? element.return = element.value + '{' + children + '}' : ''
38334
+ }
38335
+
38336
+ /**
38337
+ * @param {function[]} collection
38338
+ * @return {function}
38339
+ */
38340
+ function middleware$1 (collection) {
38341
+ var length = sizeof$1(collection);
38342
+
38343
+ return function (element, index, children, callback) {
38344
+ var output = '';
38345
+
38346
+ for (var i = 0; i < length; i++)
38347
+ output += collection[i](element, index, children, callback) || '';
38348
+
38349
+ return output
38350
+ }
38351
+ }
38352
+
38353
+ /**
38354
+ * @param {function} callback
38355
+ * @return {function}
38356
+ */
38357
+ function rulesheet$1 (callback) {
38358
+ return function (element) {
38359
+ if (!element.root)
38360
+ if (element = element.return)
38361
+ callback(element);
38362
+ }
38363
+ }
38364
+
38365
+ /**
38366
+ * @param {object} element
38367
+ * @param {number} index
38368
+ * @param {object[]} children
38369
+ * @param {function} callback
38370
+ */
38371
+ function prefixer$1 (element, index, children, callback) {
38372
+ if (element.length > -1)
38373
+ if (!element.return)
38374
+ switch (element.type) {
38375
+ case DECLARATION$1: element.return = prefix$1(element.value, element.length, children);
38376
+ return
38377
+ case KEYFRAMES$1:
38378
+ return serialize$1([copy$1(element, {value: replace$1(element.value, '@', '@' + WEBKIT$1)})], callback)
38379
+ case RULESET$1:
38380
+ if (element.length)
38381
+ return combine$1(children = element.props, function (value) {
38382
+ switch (match$1(value, callback = /(::plac\w+|:read-\w+)/)) {
38383
+ // :read-(only|write)
38384
+ case ':read-only': case ':read-write':
38385
+ lift(copy$1(element, {props: [replace$1(value, /:(read-\w+)/, ':' + MOZ$1 + '$1')]}));
38386
+ lift(copy$1(element, {props: [value]}));
38387
+ assign$1(element, {props: filter(children, callback)});
38388
+ break
38389
+ // :placeholder
38390
+ case '::placeholder':
38391
+ lift(copy$1(element, {props: [replace$1(value, /:(plac\w+)/, ':' + WEBKIT$1 + 'input-$1')]}));
38392
+ lift(copy$1(element, {props: [replace$1(value, /:(plac\w+)/, ':' + MOZ$1 + '$1')]}));
38393
+ lift(copy$1(element, {props: [replace$1(value, /:(plac\w+)/, MS$1 + 'input-$1')]}));
38394
+ lift(copy$1(element, {props: [value]}));
38395
+ assign$1(element, {props: filter(children, callback)});
38396
+ break
38397
+ }
38398
+
38399
+ return ''
38400
+ })
38401
+ }
38402
+ }
38403
+
38404
+ var unitlessKeys$1 = {
38405
+ animationIterationCount: 1,
38406
+ borderImageOutset: 1,
38407
+ borderImageSlice: 1,
38408
+ borderImageWidth: 1,
38409
+ boxFlex: 1,
38410
+ boxFlexGroup: 1,
38411
+ boxOrdinalGroup: 1,
38412
+ columnCount: 1,
38413
+ columns: 1,
38414
+ flex: 1,
38415
+ flexGrow: 1,
38416
+ flexPositive: 1,
38417
+ flexShrink: 1,
38418
+ flexNegative: 1,
38419
+ flexOrder: 1,
38420
+ gridRow: 1,
38421
+ gridRowEnd: 1,
38422
+ gridRowSpan: 1,
38423
+ gridRowStart: 1,
38424
+ gridColumn: 1,
38425
+ gridColumnEnd: 1,
38426
+ gridColumnSpan: 1,
38427
+ gridColumnStart: 1,
38428
+ msGridRow: 1,
38429
+ msGridRowSpan: 1,
38430
+ msGridColumn: 1,
38431
+ msGridColumnSpan: 1,
38432
+ fontWeight: 1,
38433
+ lineHeight: 1,
38434
+ opacity: 1,
38435
+ order: 1,
38436
+ orphans: 1,
38437
+ tabSize: 1,
38438
+ widows: 1,
38439
+ zIndex: 1,
38440
+ zoom: 1,
38441
+ WebkitLineClamp: 1,
38442
+ // SVG-related properties
38443
+ fillOpacity: 1,
38444
+ floodOpacity: 1,
38445
+ stopOpacity: 1,
38446
+ strokeDasharray: 1,
38447
+ strokeDashoffset: 1,
38448
+ strokeMiterlimit: 1,
38449
+ strokeOpacity: 1,
38450
+ strokeWidth: 1
38451
+ };
38452
+
38453
+ var f="undefined"!=typeof process&&void 0!==process.env&&(process.env.REACT_APP_SC_ATTR||process.env.SC_ATTR)||"data-styled",m="active",y="data-styled-version",v="6.1.8",g="/*!sc*/\n",S="undefined"!=typeof window&&"HTMLElement"in window,w=Boolean("boolean"==typeof SC_DISABLE_SPEEDY?SC_DISABLE_SPEEDY:"undefined"!=typeof process&&void 0!==process.env&&void 0!==process.env.REACT_APP_SC_DISABLE_SPEEDY&&""!==process.env.REACT_APP_SC_DISABLE_SPEEDY?"false"!==process.env.REACT_APP_SC_DISABLE_SPEEDY&&process.env.REACT_APP_SC_DISABLE_SPEEDY:"undefined"!=typeof process&&void 0!==process.env&&void 0!==process.env.SC_DISABLE_SPEEDY&&""!==process.env.SC_DISABLE_SPEEDY?"false"!==process.env.SC_DISABLE_SPEEDY&&process.env.SC_DISABLE_SPEEDY:"production"!==process.env.NODE_ENV),E=/invalid hook call/i,N=new Set,P=function(t,n){if("production"!==process.env.NODE_ENV){var o=n?' with the id of "'.concat(n,'"'):"",s="The component ".concat(t).concat(o," has been created dynamically.\n")+"You may see this warning because you've called styled inside another component.\nTo resolve this only create new StyledComponents outside of any render method and function component.",i=console.error;try{var a=!0;console.error=function(t){for(var n=[],o=1;o<arguments.length;o++)n[o-1]=arguments[o];E.test(t)?(a=!1,N.delete(s)):i.apply(void 0,__spreadArray([t],n,!1));},React.useRef(),a&&!N.has(s)&&(console.warn(s),N.add(s));}catch(e){E.test(e.message)&&N.delete(s);}finally{console.error=i;}}},_=Object.freeze([]),C=Object.freeze({});function I(e,t,n){return void 0===n&&(n=C),e.theme!==n.theme&&e.theme||t||n.theme}var A=new Set(["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","track","u","ul","use","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","marker","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"]),O=/[!"#$%&'()*+,./:;<=>?@[\\\]^`{|}~-]+/g,D=/(^-|-$)/g;function R(e){return e.replace(O,"-").replace(D,"")}var T=/(a)(d)/gi,k=52,j=function(e){return String.fromCharCode(e+(e>25?39:97))};function x(e){var t,n="";for(t=Math.abs(e);t>k;t=t/k|0)n=j(t%k)+n;return (j(t%k)+n).replace(T,"$1-$2")}var V,F=5381,M=function(e,t){for(var n=t.length;n;)e=33*e^t.charCodeAt(--n);return e},$=function(e){return M(F,e)};function z(e){return x($(e)>>>0)}function B(e){return "production"!==process.env.NODE_ENV&&"string"==typeof e&&e||e.displayName||e.name||"Component"}function L(e){return "string"==typeof e&&("production"===process.env.NODE_ENV||e.charAt(0)===e.charAt(0).toLowerCase())}var G="function"==typeof Symbol&&Symbol.for,Y=G?Symbol.for("react.memo"):60115,W=G?Symbol.for("react.forward_ref"):60112,q={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},H={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},U={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},J=((V={})[W]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},V[Y]=U,V);function X(e){return ("type"in(t=e)&&t.type.$$typeof)===Y?U:"$$typeof"in e?J[e.$$typeof]:q;var t;}var Z=Object.defineProperty,K=Object.getOwnPropertyNames,Q=Object.getOwnPropertySymbols,ee=Object.getOwnPropertyDescriptor,te=Object.getPrototypeOf,ne=Object.prototype;function oe(e,t,n){if("string"!=typeof t){if(ne){var o=te(t);o&&o!==ne&&oe(e,o,n);}var r=K(t);Q&&(r=r.concat(Q(t)));for(var s=X(e),i=X(t),a=0;a<r.length;++a){var c=r[a];if(!(c in H||n&&n[c]||i&&c in i||s&&c in s)){var l=ee(t,c);try{Z(e,c,l);}catch(e){}}}}return e}function re(e){return "function"==typeof e}function se(e){return "object"==typeof e&&"styledComponentId"in e}function ie(e,t){return e&&t?"".concat(e," ").concat(t):e||t||""}function ae(e,t){if(0===e.length)return "";for(var n=e[0],o=1;o<e.length;o++)n+=t?t+e[o]:e[o];return n}function ce(e){return null!==e&&"object"==typeof e&&e.constructor.name===Object.name&&!("props"in e&&e.$$typeof)}function le(e,t,n){if(void 0===n&&(n=!1),!n&&!ce(e)&&!Array.isArray(e))return t;if(Array.isArray(t))for(var o=0;o<t.length;o++)e[o]=le(e[o],t[o]);else if(ce(t))for(var o in t)e[o]=le(e[o],t[o]);return e}function ue(e,t){Object.defineProperty(e,"toString",{value:t});}var pe="production"!==process.env.NODE_ENV?{1:"Cannot create styled-component for component: %s.\n\n",2:"Can't collect styles once you've consumed a `ServerStyleSheet`'s styles! `ServerStyleSheet` is a one off instance for each server-side render cycle.\n\n- Are you trying to reuse it across renders?\n- Are you accidentally calling collectStyles twice?\n\n",3:"Streaming SSR is only supported in a Node.js environment; Please do not try to call this method in the browser.\n\n",4:"The `StyleSheetManager` expects a valid target or sheet prop!\n\n- Does this error occur on the client and is your target falsy?\n- Does this error occur on the server and is the sheet falsy?\n\n",5:"The clone method cannot be used on the client!\n\n- Are you running in a client-like environment on the server?\n- Are you trying to run SSR on the client?\n\n",6:"Trying to insert a new style tag, but the given Node is unmounted!\n\n- Are you using a custom target that isn't mounted?\n- Does your document not have a valid head element?\n- Have you accidentally removed a style tag manually?\n\n",7:'ThemeProvider: Please return an object from your "theme" prop function, e.g.\n\n```js\ntheme={() => ({})}\n```\n\n',8:'ThemeProvider: Please make your "theme" prop an object.\n\n',9:"Missing document `<head>`\n\n",10:"Cannot find a StyleSheet instance. Usually this happens if there are multiple copies of styled-components loaded at once. Check out this issue for how to troubleshoot and fix the common cases where this situation can happen: https://github.com/styled-components/styled-components/issues/1941#issuecomment-417862021\n\n",11:"_This error was replaced with a dev-time warning, it will be deleted for v4 final._ [createGlobalStyle] received children which will not be rendered. Please use the component without passing children elements.\n\n",12:"It seems you are interpolating a keyframe declaration (%s) into an untagged string. This was supported in styled-components v3, but is not longer supported in v4 as keyframes are now injected on-demand. Please wrap your string in the css\\`\\` helper which ensures the styles are injected correctly. See https://www.styled-components.com/docs/api#css\n\n",13:"%s is not a styled component and cannot be referred to via component selector. See https://www.styled-components.com/docs/advanced#referring-to-other-components for more details.\n\n",14:'ThemeProvider: "theme" prop is required.\n\n',15:"A stylis plugin has been supplied that is not named. We need a name for each plugin to be able to prevent styling collisions between different stylis configurations within the same app. Before you pass your plugin to `<StyleSheetManager stylisPlugins={[]}>`, please make sure each plugin is uniquely-named, e.g.\n\n```js\nObject.defineProperty(importedPlugin, 'name', { value: 'some-unique-name' });\n```\n\n",16:"Reached the limit of how many styled components may be created at group %s.\nYou may only create up to 1,073,741,824 components. If you're creating components dynamically,\nas for instance in your render method then you may be running into this limitation.\n\n",17:"CSSStyleSheet could not be found on HTMLStyleElement.\nHas styled-components' style tag been unmounted or altered by another script?\n",18:"ThemeProvider: Please make sure your useTheme hook is within a `<ThemeProvider>`"}:{};function de(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var n=e[0],o=[],r=1,s=e.length;r<s;r+=1)o.push(e[r]);return o.forEach(function(e){n=n.replace(/%[a-z]/,e);}),n}function he(t){for(var n=[],o=1;o<arguments.length;o++)n[o-1]=arguments[o];return "production"===process.env.NODE_ENV?new Error("An error occurred. See https://github.com/styled-components/styled-components/blob/main/packages/styled-components/src/utils/errors.md#".concat(t," for more information.").concat(n.length>0?" Args: ".concat(n.join(", ")):"")):new Error(de.apply(void 0,__spreadArray([pe[t]],n,!1)).trim())}var fe=function(){function e(e){this.groupSizes=new Uint32Array(512),this.length=512,this.tag=e;}return e.prototype.indexOfGroup=function(e){for(var t=0,n=0;n<e;n++)t+=this.groupSizes[n];return t},e.prototype.insertRules=function(e,t){if(e>=this.groupSizes.length){for(var n=this.groupSizes,o=n.length,r=o;e>=r;)if((r<<=1)<0)throw he(16,"".concat(e));this.groupSizes=new Uint32Array(r),this.groupSizes.set(n),this.length=r;for(var s=o;s<r;s++)this.groupSizes[s]=0;}for(var i=this.indexOfGroup(e+1),a=(s=0,t.length);s<a;s++)this.tag.insertRule(i,t[s])&&(this.groupSizes[e]++,i++);},e.prototype.clearGroup=function(e){if(e<this.length){var t=this.groupSizes[e],n=this.indexOfGroup(e),o=n+t;this.groupSizes[e]=0;for(var r=n;r<o;r++)this.tag.deleteRule(n);}},e.prototype.getGroup=function(e){var t="";if(e>=this.length||0===this.groupSizes[e])return t;for(var n=this.groupSizes[e],o=this.indexOfGroup(e),r=o+n,s=o;s<r;s++)t+="".concat(this.tag.getRule(s)).concat(g);return t},e}(),me=new Map,ye=new Map,ve=1,ge=function(e){if(me.has(e))return me.get(e);for(;ye.has(ve);)ve++;var t=ve++;if("production"!==process.env.NODE_ENV&&((0|t)<0||t>1073741824))throw he(16,"".concat(t));return me.set(e,t),ye.set(t,e),t},Se=function(e,t){ve=t+1,me.set(e,t),ye.set(t,e);},we="style[".concat(f,"][").concat(y,'="').concat(v,'"]'),be=new RegExp("^".concat(f,'\\.g(\\d+)\\[id="([\\w\\d-]+)"\\].*?"([^"]*)')),Ee=function(e,t,n){for(var o,r=n.split(","),s=0,i=r.length;s<i;s++)(o=r[s])&&e.registerName(t,o);},Ne=function(e,t){for(var n,o=(null!==(n=t.textContent)&&void 0!==n?n:"").split(g),r=[],s=0,i=o.length;s<i;s++){var a=o[s].trim();if(a){var c=a.match(be);if(c){var l=0|parseInt(c[1],10),u=c[2];0!==l&&(Se(u,l),Ee(e,u,c[3]),e.getTag().insertRules(l,r)),r.length=0;}else r.push(a);}}};function Pe(){return "undefined"!=typeof __webpack_nonce__?__webpack_nonce__:null}var _e=function(e){var t=document.head,n=e||t,o=document.createElement("style"),r=function(e){var t=Array.from(e.querySelectorAll("style[".concat(f,"]")));return t[t.length-1]}(n),s=void 0!==r?r.nextSibling:null;o.setAttribute(f,m),o.setAttribute(y,v);var i=Pe();return i&&o.setAttribute("nonce",i),n.insertBefore(o,s),o},Ce=function(){function e(e){this.element=_e(e),this.element.appendChild(document.createTextNode("")),this.sheet=function(e){if(e.sheet)return e.sheet;for(var t=document.styleSheets,n=0,o=t.length;n<o;n++){var r=t[n];if(r.ownerNode===e)return r}throw he(17)}(this.element),this.length=0;}return e.prototype.insertRule=function(e,t){try{return this.sheet.insertRule(t,e),this.length++,!0}catch(e){return !1}},e.prototype.deleteRule=function(e){this.sheet.deleteRule(e),this.length--;},e.prototype.getRule=function(e){var t=this.sheet.cssRules[e];return t&&t.cssText?t.cssText:""},e}(),Ie=function(){function e(e){this.element=_e(e),this.nodes=this.element.childNodes,this.length=0;}return e.prototype.insertRule=function(e,t){if(e<=this.length&&e>=0){var n=document.createTextNode(t);return this.element.insertBefore(n,this.nodes[e]||null),this.length++,!0}return !1},e.prototype.deleteRule=function(e){this.element.removeChild(this.nodes[e]),this.length--;},e.prototype.getRule=function(e){return e<this.length?this.nodes[e].textContent:""},e}(),Ae=function(){function e(e){this.rules=[],this.length=0;}return e.prototype.insertRule=function(e,t){return e<=this.length&&(this.rules.splice(e,0,t),this.length++,!0)},e.prototype.deleteRule=function(e){this.rules.splice(e,1),this.length--;},e.prototype.getRule=function(e){return e<this.length?this.rules[e]:""},e}(),Oe=S,De={isServer:!S,useCSSOMInjection:!w},Re=function(){function e(e,n,o){void 0===e&&(e=C),void 0===n&&(n={});var r=this;this.options=__assign(__assign({},De),e),this.gs=n,this.names=new Map(o),this.server=!!e.isServer,!this.server&&S&&Oe&&(Oe=!1,function(e){for(var t=document.querySelectorAll(we),n=0,o=t.length;n<o;n++){var r=t[n];r&&r.getAttribute(f)!==m&&(Ne(e,r),r.parentNode&&r.parentNode.removeChild(r));}}(this)),ue(this,function(){return function(e){for(var t=e.getTag(),n=t.length,o="",r=function(n){var r=function(e){return ye.get(e)}(n);if(void 0===r)return "continue";var s=e.names.get(r),i=t.getGroup(n);if(void 0===s||0===i.length)return "continue";var a="".concat(f,".g").concat(n,'[id="').concat(r,'"]'),c="";void 0!==s&&s.forEach(function(e){e.length>0&&(c+="".concat(e,","));}),o+="".concat(i).concat(a,'{content:"').concat(c,'"}').concat(g);},s=0;s<n;s++)r(s);return o}(r)});}return e.registerId=function(e){return ge(e)},e.prototype.reconstructWithOptions=function(n,o){return void 0===o&&(o=!0),new e(__assign(__assign({},this.options),n),this.gs,o&&this.names||void 0)},e.prototype.allocateGSInstance=function(e){return this.gs[e]=(this.gs[e]||0)+1},e.prototype.getTag=function(){return this.tag||(this.tag=(e=function(e){var t=e.useCSSOMInjection,n=e.target;return e.isServer?new Ae(n):t?new Ce(n):new Ie(n)}(this.options),new fe(e)));var e;},e.prototype.hasNameForId=function(e,t){return this.names.has(e)&&this.names.get(e).has(t)},e.prototype.registerName=function(e,t){if(ge(e),this.names.has(e))this.names.get(e).add(t);else {var n=new Set;n.add(t),this.names.set(e,n);}},e.prototype.insertRules=function(e,t,n){this.registerName(e,t),this.getTag().insertRules(ge(e),n);},e.prototype.clearNames=function(e){this.names.has(e)&&this.names.get(e).clear();},e.prototype.clearRules=function(e){this.getTag().clearGroup(ge(e)),this.clearNames(e);},e.prototype.clearTag=function(){this.tag=void 0;},e}(),Te=/&/g,ke=/^\s*\/\/.*$/gm;function je(e,t){return e.map(function(e){return "rule"===e.type&&(e.value="".concat(t," ").concat(e.value),e.value=e.value.replaceAll(",",",".concat(t," ")),e.props=e.props.map(function(e){return "".concat(t," ").concat(e)})),Array.isArray(e.children)&&"@keyframes"!==e.type&&(e.children=je(e.children,t)),e})}function xe(e){var t,n,o,r=void 0===e?C:e,s=r.options,i=void 0===s?C:s,a=r.plugins,c=void 0===a?_:a,l=function(e,o,r){return r.startsWith(n)&&r.endsWith(n)&&r.replaceAll(n,"").length>0?".".concat(t):e},u=c.slice();u.push(function(e){e.type===RULESET$1&&e.value.includes("&")&&(e.props[0]=e.props[0].replace(Te,n).replace(o,l));}),i.prefix&&u.push(prefixer$1),u.push(stringify$1);var p=function(e,r,s,a){void 0===r&&(r=""),void 0===s&&(s=""),void 0===a&&(a="&"),t=a,n=r,o=new RegExp("\\".concat(n,"\\b"),"g");var c=e.replace(ke,""),l=compile$1(s||r?"".concat(s," ").concat(r," { ").concat(c," }"):c);i.namespace&&(l=je(l,i.namespace));var p=[];return serialize$1(l,middleware$1(u.concat(rulesheet$1(function(e){return p.push(e)})))),p};return p.hash=c.length?c.reduce(function(e,t){return t.name||he(15),M(e,t.name)},F).toString():"",p}var Ve=new Re,Fe=xe(),Me=React.createContext({shouldForwardProp:void 0,styleSheet:Ve,stylis:Fe});Me.Consumer;React.createContext(void 0);function Be(){return React.useContext(Me)}var Ge=function(){function e(e,t){var n=this;this.inject=function(e,t){void 0===t&&(t=Fe);var o=n.name+t.hash;e.hasNameForId(n.id,o)||e.insertRules(n.id,o,t(n.rules,o,"@keyframes"));},this.name=e,this.id="sc-keyframes-".concat(e),this.rules=t,ue(this,function(){throw he(12,String(n.name))});}return e.prototype.getName=function(e){return void 0===e&&(e=Fe),this.name+e.hash},e}(),Ye=function(e){return e>="A"&&e<="Z"};function We(e){for(var t="",n=0;n<e.length;n++){var o=e[n];if(1===n&&"-"===o&&"-"===e[0])return e;Ye(o)?t+="-"+o.toLowerCase():t+=o;}return t.startsWith("ms-")?"-"+t:t}var qe=function(e){return null==e||!1===e||""===e},He=function(t){var n,o,r=[];for(var s in t){var i=t[s];t.hasOwnProperty(s)&&!qe(i)&&(Array.isArray(i)&&i.isCss||re(i)?r.push("".concat(We(s),":"),i,";"):ce(i)?r.push.apply(r,__spreadArray(__spreadArray(["".concat(s," {")],He(i),!1),["}"],!1)):r.push("".concat(We(s),": ").concat((n=s,null==(o=i)||"boolean"==typeof o||""===o?"":"number"!=typeof o||0===o||n in unitlessKeys$1||n.startsWith("--")?String(o).trim():"".concat(o,"px")),";")));}return r};function Ue(e,t,n,o){if(qe(e))return [];if(se(e))return [".".concat(e.styledComponentId)];if(re(e)){if(!re(s=e)||s.prototype&&s.prototype.isReactComponent||!t)return [e];var r=e(t);return "production"===process.env.NODE_ENV||"object"!=typeof r||Array.isArray(r)||r instanceof Ge||ce(r)||null===r||console.error("".concat(B(e)," is not a styled component and cannot be referred to via component selector. See https://www.styled-components.com/docs/advanced#referring-to-other-components for more details.")),Ue(r,t,n,o)}var s;return e instanceof Ge?n?(e.inject(n,o),[e.getName(o)]):[e]:ce(e)?He(e):Array.isArray(e)?Array.prototype.concat.apply(_,e.map(function(e){return Ue(e,t,n,o)})):[e.toString()]}function Je(e){for(var t=0;t<e.length;t+=1){var n=e[t];if(re(n)&&!se(n))return !1}return !0}var Xe=$(v),Ze=function(){function e(e,t,n){this.rules=e,this.staticRulesId="",this.isStatic="production"===process.env.NODE_ENV&&(void 0===n||n.isStatic)&&Je(e),this.componentId=t,this.baseHash=M(Xe,t),this.baseStyle=n,Re.registerId(t);}return e.prototype.generateAndInjectStyles=function(e,t,n){var o=this.baseStyle?this.baseStyle.generateAndInjectStyles(e,t,n):"";if(this.isStatic&&!n.hash)if(this.staticRulesId&&t.hasNameForId(this.componentId,this.staticRulesId))o=ie(o,this.staticRulesId);else {var r=ae(Ue(this.rules,e,t,n)),s=x(M(this.baseHash,r)>>>0);if(!t.hasNameForId(this.componentId,s)){var i=n(r,".".concat(s),void 0,this.componentId);t.insertRules(this.componentId,s,i);}o=ie(o,s),this.staticRulesId=s;}else {for(var a=M(this.baseHash,n.hash),c="",l=0;l<this.rules.length;l++){var u=this.rules[l];if("string"==typeof u)c+=u,"production"!==process.env.NODE_ENV&&(a=M(a,u));else if(u){var p=ae(Ue(u,e,t,n));a=M(a,p+l),c+=p;}}if(c){var d=x(a>>>0);t.hasNameForId(this.componentId,d)||t.insertRules(this.componentId,d,n(c,".".concat(d),void 0,this.componentId)),o=ie(o,d);}}return o},e}(),Ke=React.createContext(void 0);Ke.Consumer;var nt={},ot=new Set;function rt(e,r,s){var i=se(e),a=e,c=!L(e),p=r.attrs,d=void 0===p?_:p,h=r.componentId,f=void 0===h?function(e,t){var n="string"!=typeof e?"sc":R(e);nt[n]=(nt[n]||0)+1;var o="".concat(n,"-").concat(z(v+n+nt[n]));return t?"".concat(t,"-").concat(o):o}(r.displayName,r.parentComponentId):h,m=r.displayName,y=void 0===m?function(e){return L(e)?"styled.".concat(e):"Styled(".concat(B(e),")")}(e):m,g=r.displayName&&r.componentId?"".concat(R(r.displayName),"-").concat(r.componentId):r.componentId||f,S=i&&a.attrs?a.attrs.concat(d).filter(Boolean):d,w=r.shouldForwardProp;if(i&&a.shouldForwardProp){var b=a.shouldForwardProp;if(r.shouldForwardProp){var E=r.shouldForwardProp;w=function(e,t){return b(e,t)&&E(e,t)};}else w=b;}var N=new Ze(s,g,i?a.componentStyle:void 0);function O(e,r){return function(e,r,s){var i=e.attrs,a=e.componentStyle,c=e.defaultProps,p=e.foldedComponentIds,d=e.styledComponentId,h=e.target,f=React.useContext(Ke),m=Be(),y=e.shouldForwardProp||m.shouldForwardProp;"production"!==process.env.NODE_ENV&&React.useDebugValue(d);var v=I(r,f,c)||C,g=function(e,n,o){for(var r,s=__assign(__assign({},n),{className:void 0,theme:o}),i=0;i<e.length;i+=1){var a=re(r=e[i])?r(s):r;for(var c in a)s[c]="className"===c?ie(s[c],a[c]):"style"===c?__assign(__assign({},s[c]),a[c]):a[c];}return n.className&&(s.className=ie(s.className,n.className)),s}(i,r,v),S=g.as||h,w={};for(var b in g)void 0===g[b]||"$"===b[0]||"as"===b||"theme"===b&&g.theme===v||("forwardedAs"===b?w.as=g.forwardedAs:y&&!y(b,S)||(w[b]=g[b],y||"development"!==process.env.NODE_ENV||isPropValid$1(b)||ot.has(b)||!A.has(S)||(ot.add(b),console.warn('styled-components: it looks like an unknown prop "'.concat(b,'" is being sent through to the DOM, which will likely trigger a React console error. If you would like automatic filtering of unknown props, you can opt-into that behavior via `<StyleSheetManager shouldForwardProp={...}>` (connect an API like `@emotion/is-prop-valid`) or consider using transient props (`$` prefix for automatic filtering.)')))));var E=function(e,t){var n=Be(),o=e.generateAndInjectStyles(t,n.styleSheet,n.stylis);return "production"!==process.env.NODE_ENV&&React.useDebugValue(o),o}(a,g);"production"!==process.env.NODE_ENV&&e.warnTooManyClasses&&e.warnTooManyClasses(E);var N=ie(p,d);return E&&(N+=" "+E),g.className&&(N+=" "+g.className),w[L(S)&&!A.has(S)?"class":"className"]=N,w.ref=s,React.createElement(S,w)}(D,e,r)}O.displayName=y;var D=React.forwardRef(O);return D.attrs=S,D.componentStyle=N,D.displayName=y,D.shouldForwardProp=w,D.foldedComponentIds=i?ie(a.foldedComponentIds,a.styledComponentId):"",D.styledComponentId=g,D.target=i?a.target:e,Object.defineProperty(D,"defaultProps",{get:function(){return this._foldedDefaultProps},set:function(e){this._foldedDefaultProps=i?function(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];for(var o=0,r=t;o<r.length;o++)le(e,r[o],!0);return e}({},a.defaultProps,e):e;}}),"production"!==process.env.NODE_ENV&&(P(y,g),D.warnTooManyClasses=function(e,t){var n={},o=!1;return function(r){if(!o&&(n[r]=!0,Object.keys(n).length>=200)){var s=t?' with the id of "'.concat(t,'"'):"";console.warn("Over ".concat(200," classes were generated for component ").concat(e).concat(s,".\n")+"Consider using the attrs method, together with a style object for frequently changed styles.\nExample:\n const Component = styled.div.attrs(props => ({\n style: {\n background: props.background,\n },\n }))`width: 100%;`\n\n <Component />"),o=!0,n={};}}}(y,g)),ue(D,function(){return ".".concat(D.styledComponentId)}),c&&oe(D,e,{attrs:!0,componentStyle:!0,displayName:!0,foldedComponentIds:!0,shouldForwardProp:!0,styledComponentId:!0,target:!0}),D}function st(e,t){for(var n=[e[0]],o=0,r=t.length;o<r;o+=1)n.push(t[o],e[o+1]);return n}var it=function(e){return Object.assign(e,{isCss:!0})};function at(t){for(var n=[],o=1;o<arguments.length;o++)n[o-1]=arguments[o];if(re(t)||ce(t))return it(Ue(st(_,__spreadArray([t],n,!0))));var r=t;return 0===n.length&&1===r.length&&"string"==typeof r[0]?Ue(r):it(Ue(st(r,n)))}function ct(n,o,r){if(void 0===r&&(r=C),!o)throw he(1,o);var s=function(t){for(var s=[],i=1;i<arguments.length;i++)s[i-1]=arguments[i];return n(o,r,at.apply(void 0,__spreadArray([t],s,!1)))};return s.attrs=function(e){return ct(n,o,__assign(__assign({},r),{attrs:Array.prototype.concat(r.attrs,e).filter(Boolean)}))},s.withConfig=function(e){return ct(n,o,__assign(__assign({},r),e))},s}var lt=function(e){return ct(rt,e)},ut=lt;A.forEach(function(e){ut[e]=lt(e);});"production"!==process.env.NODE_ENV&&"undefined"!=typeof navigator&&"ReactNative"===navigator.product&&console.warn("It looks like you've imported 'styled-components' on React Native.\nPerhaps you're looking to import 'styled-components/native'?\nRead more about this at https://www.styled-components.com/docs/basics#react-native");var vt="__sc-".concat(f,"__");"production"!==process.env.NODE_ENV&&"test"!==process.env.NODE_ENV&&"undefined"!=typeof window&&(window[vt]||(window[vt]=0),1===window[vt]&&console.warn("It looks like there are several instances of 'styled-components' initialized in this application. This may cause dynamic styles to not render properly, errors during the rehydration process, a missing theme prop, and makes your application bigger without good reason.\n\nSee https://s-c.sh/2BAXzed for more info."),window[vt]+=1);
38454
+
37507
38455
  const common = {
37508
38456
  black: '#000',
37509
38457
  white: '#fff'
@@ -57927,6 +58875,18 @@ process.env.NODE_ENV !== "production" ? TextField.propTypes /* remove-proptypes
57927
58875
  } : void 0;
57928
58876
  var TextField$1 = TextField;
57929
58877
 
58878
+ var VisibilityIcon = createSvgIcon( /*#__PURE__*/jsxRuntime.jsx("path", {
58879
+ d: "M12 4.5C7 4.5 2.73 7.61 1 12c1.73 4.39 6 7.5 11 7.5s9.27-3.11 11-7.5c-1.73-4.39-6-7.5-11-7.5M12 17c-2.76 0-5-2.24-5-5s2.24-5 5-5 5 2.24 5 5-2.24 5-5 5m0-8c-1.66 0-3 1.34-3 3s1.34 3 3 3 3-1.34 3-3-1.34-3-3-3"
58880
+ }), 'Visibility');
58881
+
58882
+ var VisibilityOffIcon = createSvgIcon( /*#__PURE__*/jsxRuntime.jsx("path", {
58883
+ d: "M12 7c2.76 0 5 2.24 5 5 0 .65-.13 1.26-.36 1.83l2.92 2.92c1.51-1.26 2.7-2.89 3.43-4.75-1.73-4.39-6-7.5-11-7.5-1.4 0-2.74.25-3.98.7l2.16 2.16C10.74 7.13 11.35 7 12 7M2 4.27l2.28 2.28.46.46C3.08 8.3 1.78 10.02 1 12c1.73 4.39 6 7.5 11 7.5 1.55 0 3.03-.3 4.38-.84l.42.42L19.73 22 21 20.73 3.27 3zM7.53 9.8l1.55 1.55c-.05.21-.08.43-.08.65 0 1.66 1.34 3 3 3 .22 0 .44-.03.65-.08l1.55 1.55c-.67.33-1.41.53-2.2.53-2.76 0-5-2.24-5-5 0-.79.2-1.53.53-2.2m4.31-.78 3.15 3.15.02-.16c0-1.66-1.34-3-3-3z"
58884
+ }), 'VisibilityOff');
58885
+
58886
+ var LockIcon = createSvgIcon( /*#__PURE__*/jsxRuntime.jsx("path", {
58887
+ d: "M18 8h-1V6c0-2.76-2.24-5-5-5S7 3.24 7 6v2H6c-1.1 0-2 .9-2 2v10c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V10c0-1.1-.9-2-2-2m-6 9c-1.1 0-2-.9-2-2s.9-2 2-2 2 .9 2 2-.9 2-2 2m3.1-9H8.9V6c0-1.71 1.39-3.1 3.1-3.1s3.1 1.39 3.1 3.1z"
58888
+ }), 'Lock');
58889
+
57930
58890
  function bind(fn, thisArg) {
57931
58891
  return function wrap() {
57932
58892
  return fn.apply(thisArg, arguments);
@@ -61943,7 +62903,7 @@ var BaseApi = /*#__PURE__*/function () {
61943
62903
  key: "post",
61944
62904
  value: (function () {
61945
62905
  var _post = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee5(payload, settings) {
61946
- var result;
62906
+ var endpoint, result;
61947
62907
  return _regeneratorRuntime().wrap(function _callee5$(_context5) {
61948
62908
  while (1) switch (_context5.prev = _context5.next) {
61949
62909
  case 0:
@@ -61954,21 +62914,22 @@ var BaseApi = /*#__PURE__*/function () {
61954
62914
  }
61955
62915
  return _context5.abrupt("return", null);
61956
62916
  case 3:
61957
- _context5.next = 5;
61958
- return this.request().post("".concat(settings !== null && settings !== void 0 && settings.debug ? this.serviceEndpoints.baseUrlDev : this.serviceEndpoints.baseUrlProd).concat((settings === null || settings === void 0 ? void 0 : settings.endpoint) || this.serviceEndpoints.post), payload);
61959
- case 5:
62917
+ endpoint = "".concat(settings !== null && settings !== void 0 && settings.debug ? this.serviceEndpoints.baseUrlDev : this.serviceEndpoints.baseUrlProd).concat((settings === null || settings === void 0 ? void 0 : settings.endpoint) || this.serviceEndpoints.post);
62918
+ _context5.next = 6;
62919
+ return this.request().post(endpoint, payload);
62920
+ case 6:
61960
62921
  result = _context5.sent;
61961
62922
  return _context5.abrupt("return", result.data);
61962
- case 9:
61963
- _context5.prev = 9;
62923
+ case 10:
62924
+ _context5.prev = 10;
61964
62925
  _context5.t0 = _context5["catch"](0);
61965
62926
  console.error(_context5.t0);
61966
62927
  return _context5.abrupt("return", _context5.t0.response.data);
61967
- case 13:
62928
+ case 14:
61968
62929
  case "end":
61969
62930
  return _context5.stop();
61970
62931
  }
61971
- }, _callee5, this, [[0, 9]]);
62932
+ }, _callee5, this, [[0, 10]]);
61972
62933
  }));
61973
62934
  function post(_x5, _x6) {
61974
62935
  return _post.apply(this, arguments);
@@ -62116,6 +63077,7 @@ var SecurityService = /*#__PURE__*/function (_BaseApi) {
62116
63077
  _this.api_key = (args === null || args === void 0 ? void 0 : args.apiKey) || '';
62117
63078
  _this.serviceEndpoints = {
62118
63079
  baseUrlProd: undefined,
63080
+ baseUrlDev: undefined,
62119
63081
  signUpWithPassword: '/security/signup/standard',
62120
63082
  signInStandard: '/security/signin/standard',
62121
63083
  emailRecoverPassword: '/security/password/reset/standard',
@@ -62133,10 +63095,9 @@ var SecurityService = /*#__PURE__*/function (_BaseApi) {
62133
63095
  return _regeneratorRuntime().wrap(function _callee$(_context) {
62134
63096
  while (1) switch (_context.prev = _context.next) {
62135
63097
  case 0:
62136
- return _context.abrupt("return", _get(_getPrototypeOf(SecurityService.prototype), "post", this).call(this, payload, {
62137
- endpoint: this.serviceEndpoints.signUpWithPassword,
62138
- settings: this.settings
62139
- }));
63098
+ return _context.abrupt("return", _get(_getPrototypeOf(SecurityService.prototype), "post", this).call(this, payload, _objectSpread2({
63099
+ endpoint: this.serviceEndpoints.signUpWithPassword
63100
+ }, this.settings)));
62140
63101
  case 1:
62141
63102
  case "end":
62142
63103
  return _context.stop();
@@ -62155,10 +63116,9 @@ var SecurityService = /*#__PURE__*/function (_BaseApi) {
62155
63116
  return _regeneratorRuntime().wrap(function _callee2$(_context2) {
62156
63117
  while (1) switch (_context2.prev = _context2.next) {
62157
63118
  case 0:
62158
- return _context2.abrupt("return", _get(_getPrototypeOf(SecurityService.prototype), "post", this).call(this, payload, {
62159
- endpoint: this.serviceEndpoints.signInStandard,
62160
- settings: this.settings
62161
- }));
63119
+ return _context2.abrupt("return", _get(_getPrototypeOf(SecurityService.prototype), "post", this).call(this, payload, _objectSpread2({
63120
+ endpoint: this.serviceEndpoints.signInStandard
63121
+ }, this.settings)));
62162
63122
  case 1:
62163
63123
  case "end":
62164
63124
  return _context2.stop();
@@ -62177,10 +63137,9 @@ var SecurityService = /*#__PURE__*/function (_BaseApi) {
62177
63137
  return _regeneratorRuntime().wrap(function _callee3$(_context3) {
62178
63138
  while (1) switch (_context3.prev = _context3.next) {
62179
63139
  case 0:
62180
- return _context3.abrupt("return", _get(_getPrototypeOf(SecurityService.prototype), "post", this).call(this, payload, {
62181
- endpoint: this.serviceEndpoints.logout,
62182
- settings: this.settings
62183
- }));
63140
+ return _context3.abrupt("return", _get(_getPrototypeOf(SecurityService.prototype), "post", this).call(this, payload, _objectSpread2({
63141
+ endpoint: this.serviceEndpoints.logout
63142
+ }, this.settings)));
62184
63143
  case 1:
62185
63144
  case "end":
62186
63145
  return _context3.stop();
@@ -62199,10 +63158,9 @@ var SecurityService = /*#__PURE__*/function (_BaseApi) {
62199
63158
  return _regeneratorRuntime().wrap(function _callee4$(_context4) {
62200
63159
  while (1) switch (_context4.prev = _context4.next) {
62201
63160
  case 0:
62202
- return _context4.abrupt("return", _get(_getPrototypeOf(SecurityService.prototype), "post", this).call(this, payload, {
62203
- endpoint: this.serviceEndpoints.emailRecoverPassword,
62204
- settings: this.settings
62205
- }));
63161
+ return _context4.abrupt("return", _get(_getPrototypeOf(SecurityService.prototype), "post", this).call(this, payload, _objectSpread2({
63162
+ endpoint: this.serviceEndpoints.emailRecoverPassword
63163
+ }, this.settings)));
62206
63164
  case 1:
62207
63165
  case "end":
62208
63166
  return _context4.stop();
@@ -62236,12 +63194,16 @@ var SecurityService = /*#__PURE__*/function (_BaseApi) {
62236
63194
  }]);
62237
63195
  }(BaseApi);
62238
63196
 
63197
+ var _templateObject, _templateObject2;
63198
+ var StandarSigninContainer = ut.section(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n margin: 0 auto;\n min-width: 400px;\n\n @media (min-width: 768px) {\n max-width: 66.6667%; /* 8/12 */\n }\n\n @media (min-width: 992px) {\n max-width: 50%; /* 6/12 */\n }\n\n @media (min-width: 1200px) {\n max-width: 41.6667%; /* 5/12 */\n }\n"])));
63199
+ var KarlaTypography = ut(Typography$1)(_templateObject2 || (_templateObject2 = _taggedTemplateLiteral(["\n font-family: 'Karla', 'Roboto', sans-serif !important;\n font-weight: 600;\n"])));
62239
63200
  var swal = withReactContent(Swal);
62240
63201
  var statusCodeMessages = {
62241
63202
  461: 'The data provided does not match any registered application',
62242
63203
  462: 'Unauthorized user. After 3 failed attempts, your account will be locked for 24 hours.',
62243
63204
  463: 'The user is not registered in this application, needs to register',
62244
63205
  464: 'Unauthorized. After 3 failed attempts, your account will be locked for 24 hours.',
63206
+ 465: 'API key is missing or invalid',
62245
63207
  401: 'Error authenticating'
62246
63208
  };
62247
63209
  function signInStandard(_x) {
@@ -62297,7 +63259,9 @@ var VeripassStandardSignin = function VeripassStandardSignin(_ref2) {
62297
63259
  _ref2$redirectUrl = _ref2.redirectUrl,
62298
63260
  redirectUrl = _ref2$redirectUrl === void 0 ? '' : _ref2$redirectUrl,
62299
63261
  _ref2$debug = _ref2.debug,
62300
- debug = _ref2$debug === void 0 ? false : _ref2$debug;
63262
+ debug = _ref2$debug === void 0 ? false : _ref2$debug,
63263
+ _ref2$apiKey = _ref2.apiKey,
63264
+ apiKey = _ref2$apiKey === void 0 ? '' : _ref2$apiKey;
62301
63265
  // Hooks
62302
63266
  var authProvider = useAuth();
62303
63267
  var location = useLocation();
@@ -62315,7 +63279,7 @@ var VeripassStandardSignin = function VeripassStandardSignin(_ref2) {
62315
63279
  setShowPassword = _React$useState2[1];
62316
63280
 
62317
63281
  // Entity states
62318
- var _useState3 = React.useState(null),
63282
+ var _useState3 = React.useState(''),
62319
63283
  _useState4 = _slicedToArray(_useState3, 2),
62320
63284
  email = _useState4[0],
62321
63285
  setEmail = _useState4[1];
@@ -62354,9 +63318,6 @@ var VeripassStandardSignin = function VeripassStandardSignin(_ref2) {
62354
63318
  break;
62355
63319
  }
62356
63320
  };
62357
- var initializeComponent = function initializeComponent() {
62358
- setErrors();
62359
- };
62360
63321
  var handleSubmit = /*#__PURE__*/function () {
62361
63322
  var _ref4 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee(event) {
62362
63323
  return _regeneratorRuntime().wrap(function _callee$(_context) {
@@ -62399,6 +63360,7 @@ var VeripassStandardSignin = function VeripassStandardSignin(_ref2) {
62399
63360
  },
62400
63361
  authProvider: authProvider,
62401
63362
  redirectUrl: redirectUrl,
63363
+ apiKey: apiKey,
62402
63364
  debug: debug
62403
63365
  });
62404
63366
  case 13:
@@ -62422,15 +63384,13 @@ var VeripassStandardSignin = function VeripassStandardSignin(_ref2) {
62422
63384
  return _ref4.apply(this, arguments);
62423
63385
  };
62424
63386
  }();
63387
+ var initializeComponent = function initializeComponent() {
63388
+ setErrors();
63389
+ };
62425
63390
  React.useEffect(function () {
62426
63391
  initializeComponent();
62427
63392
  }, []);
62428
- return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement("section", {
62429
- style: {
62430
- maxWidth: '600px',
62431
- margin: '0 auto'
62432
- }
62433
- }, /*#__PURE__*/React.createElement("header", {
63393
+ return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(StandarSigninContainer, null, /*#__PURE__*/React.createElement("header", {
62434
63394
  style: {
62435
63395
  textAlign: 'center'
62436
63396
  }
@@ -62446,25 +63406,25 @@ var VeripassStandardSignin = function VeripassStandardSignin(_ref2) {
62446
63406
  }
62447
63407
  })), /*#__PURE__*/React.createElement(Typography$1, {
62448
63408
  variant: "body2",
62449
- color: "textSecondary",
62450
63409
  style: {
62451
63410
  marginTop: '16px',
62452
- marginBottom: '24px'
63411
+ marginBottom: '24px',
63412
+ color: '#98a6ad',
63413
+ fontWeight: 300
62453
63414
  }
62454
63415
  }, organizationSlogan)), /*#__PURE__*/React.createElement("section", {
62455
63416
  style: {
62456
- border: '1px solid #ccc',
63417
+ border: '1px solid #f2f2f2',
62457
63418
  borderRadius: '8px',
62458
- padding: '16px'
63419
+ padding: '16px',
63420
+ boxShadow: '0 .75rem 6rem rgba(56, 65, 74, 0.03)'
62459
63421
  }
62460
63422
  }, /*#__PURE__*/React.createElement("div", {
62461
63423
  style: {
62462
63424
  textAlign: 'center',
62463
63425
  marginBottom: '32px'
62464
63426
  }
62465
- }, /*#__PURE__*/React.createElement(Typography$1, {
62466
- variant: "h6"
62467
- }, "Log in using email address")), /*#__PURE__*/React.createElement("form", {
63427
+ }, /*#__PURE__*/React.createElement(KarlaTypography, null, "Log in using email address")), /*#__PURE__*/React.createElement("form", {
62468
63428
  onSubmit: handleSubmit,
62469
63429
  autoComplete: "off"
62470
63430
  }, /*#__PURE__*/React.createElement("section", {
@@ -62512,50 +63472,59 @@ var VeripassStandardSignin = function VeripassStandardSignin(_ref2) {
62512
63472
  event.preventDefault();
62513
63473
  },
62514
63474
  edge: "end"
62515
- }, showPassword ? /*#__PURE__*/React.createElement("i", {
62516
- className: "fe-eye-off"
62517
- }) : /*#__PURE__*/React.createElement("i", {
62518
- className: "fe-eye"
62519
- })))
63475
+ }, showPassword ? /*#__PURE__*/React.createElement(VisibilityIcon, null) : /*#__PURE__*/React.createElement(VisibilityOffIcon, null)))
62520
63476
  },
62521
63477
  InputLabelProps: {
62522
63478
  shrink: true
62523
63479
  }
62524
63480
  })), /*#__PURE__*/React.createElement("section", {
62525
63481
  style: {
62526
- display: 'flex',
62527
- justifyContent: 'flex-end',
62528
- marginBottom: '16px'
63482
+ marginBottom: '16px',
63483
+ width: '100%'
62529
63484
  }
62530
63485
  }, /*#__PURE__*/React.createElement(Link, {
62531
63486
  to: "recover-password",
63487
+ underline: "hover",
62532
63488
  style: {
62533
63489
  marginLeft: '8px',
62534
- color: 'gray'
63490
+ color: 'gray',
63491
+ width: '100%',
63492
+ display: 'flex',
63493
+ justifyContent: 'flex-end',
63494
+ textDecoration: 'none'
62535
63495
  }
62536
- }, /*#__PURE__*/React.createElement("i", {
62537
- className: "fa fa-lock",
63496
+ }, /*#__PURE__*/React.createElement(LockIcon, {
62538
63497
  style: {
62539
- marginRight: '4px'
63498
+ marginRight: '5px',
63499
+ color: '#98a6ad',
63500
+ fontSize: '18px'
62540
63501
  }
62541
- }), "Forgot password?")), /*#__PURE__*/React.createElement("footer", {
63502
+ }), /*#__PURE__*/React.createElement(Typography$1, {
63503
+ variant: "body2",
63504
+ style: {
63505
+ color: '#98a6ad',
63506
+ fontWeight: '400'
63507
+ }
63508
+ }, "Forgot password?"))), /*#__PURE__*/React.createElement("footer", {
62542
63509
  style: {
62543
63510
  marginBottom: '16px',
62544
63511
  display: 'flex',
62545
63512
  justifyContent: 'center'
62546
63513
  }
62547
63514
  }, /*#__PURE__*/React.createElement(Button$1, {
62548
- variant: "outlined",
63515
+ type: "submit",
63516
+ variant: "contained",
62549
63517
  disabled: isLoading,
62550
63518
  sx: {
62551
63519
  display: 'flex',
62552
63520
  alignItems: 'center',
62553
63521
  border: '2px solid #232931',
62554
- backgroundColor: isLoading ? '#323a46' : 'transparent',
62555
- color: isLoading ? '#fff' : '#000',
63522
+ backgroundColor: '#323a46',
63523
+ color: '#fff',
62556
63524
  '&:hover': {
62557
- backgroundColor: isLoading ? '#2b323b' : 'transparent'
62558
- }
63525
+ backgroundColor: '#3d4c61'
63526
+ },
63527
+ width: '100%'
62559
63528
  }
62560
63529
  }, isLoading && /*#__PURE__*/React.createElement(CircularProgress$1, {
62561
63530
  size: 20,