se-design 0.0.98 → 0.0.99

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (160) hide show
  1. package/dist/assets/icons/attachment.svg +3 -0
  2. package/dist/assets/icons/banner-demo-img.svg +51 -0
  3. package/dist/assets/icons/file-red.svg +8 -0
  4. package/dist/assets/icons/next.svg +3 -0
  5. package/dist/assets/icons/padlock.svg +5 -0
  6. package/dist/assets/icons/slideout.svg +12 -0
  7. package/dist/assets/icons/sms.svg +3 -0
  8. package/dist/assets/icons/space.svg +3 -0
  9. package/dist/assets/style.css +1 -1
  10. package/dist/components/Badge/index.d.ts +11 -0
  11. package/dist/components/Banner/index.d.ts +18 -0
  12. package/dist/components/Button/index.d.ts +5 -1
  13. package/dist/components/HamburgerMenu/index.d.ts +2 -4
  14. package/dist/components/Header/index.d.ts +1 -0
  15. package/dist/components/Icon/index.d.ts +5 -1
  16. package/dist/components/KebabMenu/index.d.ts +1 -1
  17. package/dist/components/LabelChip/index.d.ts +6 -1
  18. package/dist/components/MenuItem/index.d.ts +1 -1
  19. package/dist/components/Pagination/index.d.ts +9 -0
  20. package/dist/components/Popover/index.d.ts +1 -1
  21. package/dist/components/SidebarOverlay/index.d.ts +2 -1
  22. package/dist/components/Tabs/index.d.ts +1 -1
  23. package/dist/components/index.d.ts +3 -1
  24. package/dist/index.js +26 -22
  25. package/dist/index.js.map +1 -1
  26. package/dist/index10.js +9 -9
  27. package/dist/index10.js.map +1 -1
  28. package/dist/index11.js +9 -8
  29. package/dist/index11.js.map +1 -1
  30. package/dist/index12.js +9 -9
  31. package/dist/index12.js.map +1 -1
  32. package/dist/index13.js +14 -14
  33. package/dist/index13.js.map +1 -1
  34. package/dist/index14.js +16 -14
  35. package/dist/index14.js.map +1 -1
  36. package/dist/index15.js +26 -66
  37. package/dist/index15.js.map +1 -1
  38. package/dist/index16.js +30 -30
  39. package/dist/index16.js.map +1 -1
  40. package/dist/index17.js +9 -9
  41. package/dist/index17.js.map +1 -1
  42. package/dist/index18.js +9 -9
  43. package/dist/index18.js.map +1 -1
  44. package/dist/index19.js +4 -4
  45. package/dist/index19.js.map +1 -1
  46. package/dist/index20.js +4 -4
  47. package/dist/index20.js.map +1 -1
  48. package/dist/index21.js +3 -3
  49. package/dist/index21.js.map +1 -1
  50. package/dist/index22.js +20 -19
  51. package/dist/index22.js.map +1 -1
  52. package/dist/index23.js +19 -19
  53. package/dist/index23.js.map +1 -1
  54. package/dist/index24.js +62 -2
  55. package/dist/index24.js.map +1 -1
  56. package/dist/index25.js +27 -2
  57. package/dist/index25.js.map +1 -1
  58. package/dist/index26.js +1 -1
  59. package/dist/index26.js.map +1 -1
  60. package/dist/index27.js +1 -1
  61. package/dist/index27.js.map +1 -1
  62. package/dist/index28.js +1 -1
  63. package/dist/index28.js.map +1 -1
  64. package/dist/index29.js +1 -1
  65. package/dist/index29.js.map +1 -1
  66. package/dist/index3.js +15 -13
  67. package/dist/index3.js.map +1 -1
  68. package/dist/index30.js +2 -2
  69. package/dist/index30.js.map +1 -1
  70. package/dist/index31.js +1 -1
  71. package/dist/index31.js.map +1 -1
  72. package/dist/index32.js +2 -149
  73. package/dist/index32.js.map +1 -1
  74. package/dist/index33.js +5 -0
  75. package/dist/index33.js.map +1 -0
  76. package/dist/index34.js +5 -0
  77. package/dist/index34.js.map +1 -0
  78. package/dist/index35.js +2 -10
  79. package/dist/index35.js.map +1 -1
  80. package/dist/index36.js +1 -9
  81. package/dist/index36.js.map +1 -1
  82. package/dist/index37.js +2 -5
  83. package/dist/index37.js.map +1 -1
  84. package/dist/index38.js +2 -170
  85. package/dist/index38.js.map +1 -1
  86. package/dist/index39.js +2 -11
  87. package/dist/index39.js.map +1 -1
  88. package/dist/index4.js +43 -25
  89. package/dist/index4.js.map +1 -1
  90. package/dist/index40.js +2 -6
  91. package/dist/index40.js.map +1 -1
  92. package/dist/index41.js +2 -6
  93. package/dist/index41.js.map +1 -1
  94. package/dist/index42.js +148 -37
  95. package/dist/index42.js.map +1 -1
  96. package/dist/index46.js +8 -48
  97. package/dist/index46.js.map +1 -1
  98. package/dist/index47.js +10 -2
  99. package/dist/index47.js.map +1 -1
  100. package/dist/index48.js +4 -75
  101. package/dist/index48.js.map +1 -1
  102. package/dist/index49.js +162 -85
  103. package/dist/index49.js.map +1 -1
  104. package/dist/index5.js +5 -5
  105. package/dist/index5.js.map +1 -1
  106. package/dist/index50.js +11 -52
  107. package/dist/index50.js.map +1 -1
  108. package/dist/index51.js +5 -7
  109. package/dist/index51.js.map +1 -1
  110. package/dist/index52.js +5 -4
  111. package/dist/index52.js.map +1 -1
  112. package/dist/index53.js +35 -49
  113. package/dist/index53.js.map +1 -1
  114. package/dist/index54.js +2 -2
  115. package/dist/index55.js +8 -2
  116. package/dist/index55.js.map +1 -1
  117. package/dist/{index45.js → index56.js} +6 -6
  118. package/dist/{index45.js.map → index56.js.map} +1 -1
  119. package/dist/index57.js +53 -0
  120. package/dist/index57.js.map +1 -0
  121. package/dist/index58.js +5 -0
  122. package/dist/index58.js.map +1 -0
  123. package/dist/index59.js +79 -0
  124. package/dist/index59.js.map +1 -0
  125. package/dist/index6.js +3 -3
  126. package/dist/index6.js.map +1 -1
  127. package/dist/index60.js +96 -0
  128. package/dist/index60.js.map +1 -0
  129. package/dist/index61.js +55 -0
  130. package/dist/index61.js.map +1 -0
  131. package/dist/index62.js +11 -0
  132. package/dist/index62.js.map +1 -0
  133. package/dist/index63.js +8 -0
  134. package/dist/index63.js.map +1 -0
  135. package/dist/index64.js +55 -0
  136. package/dist/index64.js.map +1 -0
  137. package/dist/index65.js +5 -0
  138. package/dist/index65.js.map +1 -0
  139. package/dist/index66.js +5 -0
  140. package/dist/index66.js.map +1 -0
  141. package/dist/index7.js +21 -7
  142. package/dist/index7.js.map +1 -1
  143. package/dist/index8.js +38 -20
  144. package/dist/index8.js.map +1 -1
  145. package/dist/index9.js +12 -12
  146. package/dist/index9.js.map +1 -1
  147. package/dist/typographyMixin.scss +79 -0
  148. package/package.json +3 -2
  149. package/dist/components/Button/Button.stories.d.ts +0 -26
  150. package/dist/components/HamburgerMenu/HamburgerMenu.stories.d.ts +0 -6
  151. package/dist/components/Icon/Icon.stories.d.ts +0 -6
  152. package/dist/components/Icon/Icon.types.d.ts +0 -4
  153. package/dist/components/KebabMenu/KebabMenu.stories.d.ts +0 -8
  154. package/dist/components/Modal/Modal.stories.d.ts +0 -12
  155. package/dist/components/SplitButton/SplitButton.stories.d.ts +0 -13
  156. package/dist/components/Tag/index.d.ts +0 -6
  157. package/dist/index43.js +0 -5
  158. package/dist/index43.js.map +0 -1
  159. package/dist/index44.js +0 -11
  160. package/dist/index44.js.map +0 -1
package/dist/index42.js CHANGED
@@ -1,41 +1,152 @@
1
- /*!
2
- * content-type
3
- * Copyright(c) 2015 Douglas Christopher Wilson
4
- * MIT Licensed
5
- */
6
- var p = /; *([!#$%&'*+.^_`|~0-9A-Za-z-]+) *= *("(?:[\u000b\u0020\u0021\u0023-\u005b\u005d-\u007e\u0080-\u00ff]|\\[\u000b\u0020-\u00ff])*"|[!#$%&'*+.^_`|~0-9A-Za-z-]+) */g, s = /\\([\u000b\u0020-\u00ff])/g, d = /^[!#$%&'*+.^_`|~0-9A-Za-z-]+\/[!#$%&'*+.^_`|~0-9A-Za-z-]+$/, c = u;
7
- function u(e) {
8
- if (!e)
9
- throw new TypeError("argument string is required");
10
- var r = typeof e == "object" ? y(e) : e;
11
- if (typeof r != "string")
12
- throw new TypeError("argument string is required to be a string");
13
- var n = r.indexOf(";"), a = n !== -1 ? r.slice(0, n).trim() : r.trim();
14
- if (!d.test(a))
15
- throw new TypeError("invalid media type");
16
- var o = new w(a.toLowerCase());
17
- if (n !== -1) {
18
- var f, i, t;
19
- for (p.lastIndex = n; i = p.exec(r); ) {
20
- if (i.index !== n)
21
- throw new TypeError("invalid parameter format");
22
- n += i[0].length, f = i[1].toLowerCase(), t = i[2], t.charCodeAt(0) === 34 && (t = t.slice(1, -1), t.indexOf("\\") !== -1 && (t = t.replace(s, "$1"))), o.parameters[f] = t;
23
- }
24
- if (n !== r.length)
25
- throw new TypeError("invalid parameter format");
1
+ import N from "./index46.js";
2
+ import R from "./index47.js";
3
+ import D from "./index48.js";
4
+ import { SVGInjector as A } from "./index49.js";
5
+ import { p as t } from "./index50.js";
6
+ import * as h from "react";
7
+ var O = function(s) {
8
+ var o = (s == null ? void 0 : s.ownerDocument) || document;
9
+ return o.defaultView || window;
10
+ }, U = function(s, o) {
11
+ for (var r in s)
12
+ if (!(r in o))
13
+ return !0;
14
+ for (var e in o)
15
+ if (s[e] !== o[e])
16
+ return !0;
17
+ return !1;
18
+ }, H = ["afterInjection", "beforeInjection", "desc", "evalScripts", "fallback", "httpRequestWithCredentials", "loading", "renumerateIRIElements", "src", "title", "useRequestCache", "wrapper"], v = "http://www.w3.org/2000/svg", q = "http://www.w3.org/1999/xlink", V = /* @__PURE__ */ function(c) {
19
+ function s() {
20
+ for (var r, e = arguments.length, n = new Array(e), a = 0; a < e; a++)
21
+ n[a] = arguments[a];
22
+ return r = c.call.apply(c, [this].concat(n)) || this, r.initialState = {
23
+ hasError: !1,
24
+ isLoading: !0
25
+ }, r.state = r.initialState, r._isMounted = !1, r.reactWrapper = void 0, r.nonReactWrapper = void 0, r.refCallback = function(u) {
26
+ r.reactWrapper = u;
27
+ }, r;
26
28
  }
27
- return o;
28
- }
29
- function y(e) {
30
- var r;
31
- if (typeof e.getHeader == "function" ? r = e.getHeader("content-type") : typeof e.headers == "object" && (r = e.headers && e.headers["content-type"]), typeof r != "string")
32
- throw new TypeError("content-type header is missing from object");
33
- return r;
34
- }
35
- function w(e) {
36
- this.parameters = /* @__PURE__ */ Object.create(null), this.type = e;
37
- }
29
+ D(s, c);
30
+ var o = s.prototype;
31
+ return o.renderSVG = function() {
32
+ var e = this;
33
+ if (this.reactWrapper instanceof O(this.reactWrapper).Node) {
34
+ var n = this.props, a = n.desc, u = n.evalScripts, S = n.httpRequestWithCredentials, E = n.renumerateIRIElements, G = n.src, b = n.title, g = n.useRequestCache, w = this.props.onError, x = this.props.beforeInjection, y = this.props.afterInjection, f = this.props.wrapper, l, p;
35
+ f === "svg" ? (l = document.createElementNS(v, f), l.setAttribute("xmlns", v), l.setAttribute("xmlns:xlink", q), p = document.createElementNS(v, f)) : (l = document.createElement(f), p = document.createElement(f)), l.appendChild(p), p.dataset.src = G, this.nonReactWrapper = this.reactWrapper.appendChild(l);
36
+ var I = function(i) {
37
+ if (e.removeSVG(), !e._isMounted) {
38
+ w(i);
39
+ return;
40
+ }
41
+ e.setState(function() {
42
+ return {
43
+ hasError: !0,
44
+ isLoading: !1
45
+ };
46
+ }, function() {
47
+ w(i);
48
+ });
49
+ }, L = function(i, d) {
50
+ if (i) {
51
+ I(i);
52
+ return;
53
+ }
54
+ e._isMounted && e.setState(function() {
55
+ return {
56
+ isLoading: !1
57
+ };
58
+ }, function() {
59
+ try {
60
+ y(d);
61
+ } catch (m) {
62
+ I(m);
63
+ }
64
+ });
65
+ }, M = function(i) {
66
+ if (i.setAttribute("role", "img"), a) {
67
+ var d = i.querySelector(":scope > desc");
68
+ d && i.removeChild(d);
69
+ var m = document.createElement("desc");
70
+ m.innerHTML = a, i.prepend(m);
71
+ }
72
+ if (b) {
73
+ var j = i.querySelector(":scope > title");
74
+ j && i.removeChild(j);
75
+ var C = document.createElement("title");
76
+ C.innerHTML = b, i.prepend(C);
77
+ }
78
+ try {
79
+ x(i);
80
+ } catch (k) {
81
+ I(k);
82
+ }
83
+ };
84
+ A(p, {
85
+ afterEach: L,
86
+ beforeEach: M,
87
+ cacheRequests: g,
88
+ evalScripts: u,
89
+ httpRequestWithCredentials: S,
90
+ renumerateIRIElements: E
91
+ });
92
+ }
93
+ }, o.removeSVG = function() {
94
+ var e;
95
+ (e = this.nonReactWrapper) != null && e.parentNode && (this.nonReactWrapper.parentNode.removeChild(this.nonReactWrapper), this.nonReactWrapper = null);
96
+ }, o.componentDidMount = function() {
97
+ this._isMounted = !0, this.renderSVG();
98
+ }, o.componentDidUpdate = function(e) {
99
+ var n = this;
100
+ U(R({}, e), this.props) && this.setState(function() {
101
+ return n.initialState;
102
+ }, function() {
103
+ n.removeSVG(), n.renderSVG();
104
+ });
105
+ }, o.componentWillUnmount = function() {
106
+ this._isMounted = !1, this.removeSVG();
107
+ }, o.render = function() {
108
+ var e = this.props, n = e.fallback, a = e.loading, u = e.wrapper, S = N(e, H), E = u;
109
+ return /* @__PURE__ */ h.createElement(E, R({}, S, {
110
+ ref: this.refCallback
111
+ }, u === "svg" ? {
112
+ xmlns: v,
113
+ xmlnsXlink: q
114
+ } : {}), this.state.isLoading && a && /* @__PURE__ */ h.createElement(a, null), this.state.hasError && n && /* @__PURE__ */ h.createElement(n, null));
115
+ }, s;
116
+ }(h.Component);
117
+ V.defaultProps = {
118
+ afterInjection: function() {
119
+ },
120
+ beforeInjection: function() {
121
+ },
122
+ desc: "",
123
+ evalScripts: "never",
124
+ fallback: null,
125
+ httpRequestWithCredentials: !1,
126
+ loading: null,
127
+ onError: function() {
128
+ },
129
+ renumerateIRIElements: !0,
130
+ title: "",
131
+ useRequestCache: !0,
132
+ wrapper: "div"
133
+ };
134
+ V.propTypes = {
135
+ afterInjection: t.func,
136
+ beforeInjection: t.func,
137
+ desc: t.string,
138
+ evalScripts: t.oneOf(["always", "once", "never"]),
139
+ fallback: t.oneOfType([t.func, t.object, t.string]),
140
+ httpRequestWithCredentials: t.bool,
141
+ loading: t.oneOfType([t.func, t.object, t.string]),
142
+ onError: t.func,
143
+ renumerateIRIElements: t.bool,
144
+ src: t.string.isRequired,
145
+ title: t.string,
146
+ useRequestCache: t.bool,
147
+ wrapper: t.oneOf(["div", "span", "svg"])
148
+ };
38
149
  export {
39
- c as parse
150
+ V as ReactSVG
40
151
  };
41
152
  //# sourceMappingURL=index42.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index42.js","sources":["../node_modules/content-type/index.js"],"sourcesContent":["/*!\n * content-type\n * Copyright(c) 2015 Douglas Christopher Wilson\n * MIT Licensed\n */\n\n'use strict'\n\n/**\n * RegExp to match *( \";\" parameter ) in RFC 7231 sec 3.1.1.1\n *\n * parameter = token \"=\" ( token / quoted-string )\n * token = 1*tchar\n * tchar = \"!\" / \"#\" / \"$\" / \"%\" / \"&\" / \"'\" / \"*\"\n * / \"+\" / \"-\" / \".\" / \"^\" / \"_\" / \"`\" / \"|\" / \"~\"\n * / DIGIT / ALPHA\n * ; any VCHAR, except delimiters\n * quoted-string = DQUOTE *( qdtext / quoted-pair ) DQUOTE\n * qdtext = HTAB / SP / %x21 / %x23-5B / %x5D-7E / obs-text\n * obs-text = %x80-FF\n * quoted-pair = \"\\\" ( HTAB / SP / VCHAR / obs-text )\n */\nvar PARAM_REGEXP = /; *([!#$%&'*+.^_`|~0-9A-Za-z-]+) *= *(\"(?:[\\u000b\\u0020\\u0021\\u0023-\\u005b\\u005d-\\u007e\\u0080-\\u00ff]|\\\\[\\u000b\\u0020-\\u00ff])*\"|[!#$%&'*+.^_`|~0-9A-Za-z-]+) */g // eslint-disable-line no-control-regex\nvar TEXT_REGEXP = /^[\\u000b\\u0020-\\u007e\\u0080-\\u00ff]+$/ // eslint-disable-line no-control-regex\nvar TOKEN_REGEXP = /^[!#$%&'*+.^_`|~0-9A-Za-z-]+$/\n\n/**\n * RegExp to match quoted-pair in RFC 7230 sec 3.2.6\n *\n * quoted-pair = \"\\\" ( HTAB / SP / VCHAR / obs-text )\n * obs-text = %x80-FF\n */\nvar QESC_REGEXP = /\\\\([\\u000b\\u0020-\\u00ff])/g // eslint-disable-line no-control-regex\n\n/**\n * RegExp to match chars that must be quoted-pair in RFC 7230 sec 3.2.6\n */\nvar QUOTE_REGEXP = /([\\\\\"])/g\n\n/**\n * RegExp to match type in RFC 7231 sec 3.1.1.1\n *\n * media-type = type \"/\" subtype\n * type = token\n * subtype = token\n */\nvar TYPE_REGEXP = /^[!#$%&'*+.^_`|~0-9A-Za-z-]+\\/[!#$%&'*+.^_`|~0-9A-Za-z-]+$/\n\n/**\n * Module exports.\n * @public\n */\n\nexports.format = format\nexports.parse = parse\n\n/**\n * Format object to media type.\n *\n * @param {object} obj\n * @return {string}\n * @public\n */\n\nfunction format (obj) {\n if (!obj || typeof obj !== 'object') {\n throw new TypeError('argument obj is required')\n }\n\n var parameters = obj.parameters\n var type = obj.type\n\n if (!type || !TYPE_REGEXP.test(type)) {\n throw new TypeError('invalid type')\n }\n\n var string = type\n\n // append parameters\n if (parameters && typeof parameters === 'object') {\n var param\n var params = Object.keys(parameters).sort()\n\n for (var i = 0; i < params.length; i++) {\n param = params[i]\n\n if (!TOKEN_REGEXP.test(param)) {\n throw new TypeError('invalid parameter name')\n }\n\n string += '; ' + param + '=' + qstring(parameters[param])\n }\n }\n\n return string\n}\n\n/**\n * Parse media type to object.\n *\n * @param {string|object} string\n * @return {Object}\n * @public\n */\n\nfunction parse (string) {\n if (!string) {\n throw new TypeError('argument string is required')\n }\n\n // support req/res-like objects as argument\n var header = typeof string === 'object'\n ? getcontenttype(string)\n : string\n\n if (typeof header !== 'string') {\n throw new TypeError('argument string is required to be a string')\n }\n\n var index = header.indexOf(';')\n var type = index !== -1\n ? header.slice(0, index).trim()\n : header.trim()\n\n if (!TYPE_REGEXP.test(type)) {\n throw new TypeError('invalid media type')\n }\n\n var obj = new ContentType(type.toLowerCase())\n\n // parse parameters\n if (index !== -1) {\n var key\n var match\n var value\n\n PARAM_REGEXP.lastIndex = index\n\n while ((match = PARAM_REGEXP.exec(header))) {\n if (match.index !== index) {\n throw new TypeError('invalid parameter format')\n }\n\n index += match[0].length\n key = match[1].toLowerCase()\n value = match[2]\n\n if (value.charCodeAt(0) === 0x22 /* \" */) {\n // remove quotes\n value = value.slice(1, -1)\n\n // remove escapes\n if (value.indexOf('\\\\') !== -1) {\n value = value.replace(QESC_REGEXP, '$1')\n }\n }\n\n obj.parameters[key] = value\n }\n\n if (index !== header.length) {\n throw new TypeError('invalid parameter format')\n }\n }\n\n return obj\n}\n\n/**\n * Get content-type from req/res objects.\n *\n * @param {object}\n * @return {Object}\n * @private\n */\n\nfunction getcontenttype (obj) {\n var header\n\n if (typeof obj.getHeader === 'function') {\n // res-like\n header = obj.getHeader('content-type')\n } else if (typeof obj.headers === 'object') {\n // req-like\n header = obj.headers && obj.headers['content-type']\n }\n\n if (typeof header !== 'string') {\n throw new TypeError('content-type header is missing from object')\n }\n\n return header\n}\n\n/**\n * Quote a string if necessary.\n *\n * @param {string} val\n * @return {string}\n * @private\n */\n\nfunction qstring (val) {\n var str = String(val)\n\n // no need to quote tokens\n if (TOKEN_REGEXP.test(str)) {\n return str\n }\n\n if (str.length > 0 && !TEXT_REGEXP.test(str)) {\n throw new TypeError('invalid parameter value')\n }\n\n return '\"' + str.replace(QUOTE_REGEXP, '\\\\$1') + '\"'\n}\n\n/**\n * Class to represent a content type.\n * @private\n */\nfunction ContentType (type) {\n this.parameters = Object.create(null)\n this.type = type\n}\n"],"names":["PARAM_REGEXP","QESC_REGEXP","TYPE_REGEXP","parse_1","parse","string","header","getcontenttype","index","type","obj","ContentType","key","match","value"],"mappings":";;;;;AAsBA,IAAIA,IAAe,oKAUfC,IAAc,8BAcdC,IAAc,8DAQlBC,IAAgBC;AAmDhB,SAASA,EAAOC,GAAQ;AACtB,MAAI,CAACA;AACH,UAAM,IAAI,UAAU,6BAA6B;AAInD,MAAIC,IAAS,OAAOD,KAAW,WAC3BE,EAAeF,CAAM,IACrBA;AAEJ,MAAI,OAAOC,KAAW;AACpB,UAAM,IAAI,UAAU,4CAA4C;AAGlE,MAAIE,IAAQF,EAAO,QAAQ,GAAG,GAC1BG,IAAOD,MAAU,KACjBF,EAAO,MAAM,GAAGE,CAAK,EAAE,KAAI,IAC3BF,EAAO,KAAI;AAEf,MAAI,CAACJ,EAAY,KAAKO,CAAI;AACxB,UAAM,IAAI,UAAU,oBAAoB;AAG1C,MAAIC,IAAM,IAAIC,EAAYF,EAAK,YAAa,CAAA;AAG5C,MAAID,MAAU,IAAI;AAChB,QAAII,GACAC,GACAC;AAIJ,SAFAd,EAAa,YAAYQ,GAEjBK,IAAQb,EAAa,KAAKM,CAAM,KAAI;AAC1C,UAAIO,EAAM,UAAUL;AAClB,cAAM,IAAI,UAAU,0BAA0B;AAGhD,MAAAA,KAASK,EAAM,CAAC,EAAE,QAClBD,IAAMC,EAAM,CAAC,EAAE,YAAW,GAC1BC,IAAQD,EAAM,CAAC,GAEXC,EAAM,WAAW,CAAC,MAAM,OAE1BA,IAAQA,EAAM,MAAM,GAAG,EAAE,GAGrBA,EAAM,QAAQ,IAAI,MAAM,OAC1BA,IAAQA,EAAM,QAAQb,GAAa,IAAI,KAI3CS,EAAI,WAAWE,CAAG,IAAIE;AAAA,IAC5B;AAEI,QAAIN,MAAUF,EAAO;AACnB,YAAM,IAAI,UAAU,0BAA0B;AAAA,EAEpD;AAEE,SAAOI;AACT;AAUA,SAASH,EAAgBG,GAAK;AAC5B,MAAIJ;AAUJ,MARI,OAAOI,EAAI,aAAc,aAE3BJ,IAASI,EAAI,UAAU,cAAc,IAC5B,OAAOA,EAAI,WAAY,aAEhCJ,IAASI,EAAI,WAAWA,EAAI,QAAQ,cAAc,IAGhD,OAAOJ,KAAW;AACpB,UAAM,IAAI,UAAU,4CAA4C;AAGlE,SAAOA;AACT;AA6BA,SAASK,EAAaF,GAAM;AAC1B,OAAK,aAAa,uBAAO,OAAO,IAAI,GACpC,KAAK,OAAOA;AACd;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index42.js","sources":["../node_modules/react-svg/dist/react-svg.esm.js"],"sourcesContent":["import _objectWithoutPropertiesLoose from '@babel/runtime/helpers/objectWithoutPropertiesLoose';\nimport _extends from '@babel/runtime/helpers/extends';\nimport _inheritsLoose from '@babel/runtime/helpers/inheritsLoose';\nimport { SVGInjector } from '@tanem/svg-injector';\nimport * as PropTypes from 'prop-types';\nimport * as React from 'react';\n\n// Hat-tip: https://github.com/mui/material-ui/tree/master/packages/mui-utils/src.\nvar ownerWindow = function ownerWindow(node) {\n var doc = (node == null ? undefined : node.ownerDocument) || document;\n return doc.defaultView || window;\n};\n\n// Hat-tip: https://github.com/developit/preact-compat/blob/master/src/index.js#L402.\nvar shallowDiffers = function shallowDiffers(a, b) {\n for (var i in a) {\n if (!(i in b)) {\n return true;\n }\n }\n for (var _i in b) {\n if (a[_i] !== b[_i]) {\n return true;\n }\n }\n return false;\n};\n\nvar _excluded = [\"afterInjection\", \"beforeInjection\", \"desc\", \"evalScripts\", \"fallback\", \"httpRequestWithCredentials\", \"loading\", \"renumerateIRIElements\", \"src\", \"title\", \"useRequestCache\", \"wrapper\"];\nvar svgNamespace = 'http://www.w3.org/2000/svg';\nvar xlinkNamespace = 'http://www.w3.org/1999/xlink';\nvar ReactSVG = /*#__PURE__*/function (_React$Component) {\n function ReactSVG() {\n var _this;\n for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {\n args[_key] = arguments[_key];\n }\n _this = _React$Component.call.apply(_React$Component, [this].concat(args)) || this;\n _this.initialState = {\n hasError: false,\n isLoading: true\n };\n _this.state = _this.initialState;\n _this._isMounted = false;\n _this.reactWrapper = undefined;\n _this.nonReactWrapper = undefined;\n _this.refCallback = function (reactWrapper) {\n _this.reactWrapper = reactWrapper;\n };\n return _this;\n }\n _inheritsLoose(ReactSVG, _React$Component);\n var _proto = ReactSVG.prototype;\n _proto.renderSVG = function renderSVG() {\n var _this2 = this;\n /* istanbul ignore else */\n if (this.reactWrapper instanceof ownerWindow(this.reactWrapper).Node) {\n var _this$props = this.props,\n desc = _this$props.desc,\n evalScripts = _this$props.evalScripts,\n httpRequestWithCredentials = _this$props.httpRequestWithCredentials,\n renumerateIRIElements = _this$props.renumerateIRIElements,\n src = _this$props.src,\n title = _this$props.title,\n useRequestCache = _this$props.useRequestCache;\n /* eslint-disable @typescript-eslint/no-non-null-assertion */\n var onError = this.props.onError;\n var beforeInjection = this.props.beforeInjection;\n var afterInjection = this.props.afterInjection;\n var wrapper = this.props.wrapper;\n var nonReactWrapper;\n var nonReactTarget;\n if (wrapper === 'svg') {\n nonReactWrapper = document.createElementNS(svgNamespace, wrapper);\n nonReactWrapper.setAttribute('xmlns', svgNamespace);\n nonReactWrapper.setAttribute('xmlns:xlink', xlinkNamespace);\n nonReactTarget = document.createElementNS(svgNamespace, wrapper);\n } else {\n nonReactWrapper = document.createElement(wrapper);\n nonReactTarget = document.createElement(wrapper);\n }\n nonReactWrapper.appendChild(nonReactTarget);\n nonReactTarget.dataset.src = src;\n this.nonReactWrapper = this.reactWrapper.appendChild(nonReactWrapper);\n var handleError = function handleError(error) {\n _this2.removeSVG();\n if (!_this2._isMounted) {\n onError(error);\n return;\n }\n _this2.setState(function () {\n return {\n hasError: true,\n isLoading: false\n };\n }, function () {\n onError(error);\n });\n };\n var afterEach = function afterEach(error, svg) {\n if (error) {\n handleError(error);\n return;\n }\n // TODO (Tane): It'd be better to cleanly unsubscribe from SVGInjector\n // callbacks instead of tracking a property like this.\n if (_this2._isMounted) {\n _this2.setState(function () {\n return {\n isLoading: false\n };\n }, function () {\n try {\n afterInjection(svg);\n } catch (afterInjectionError) {\n handleError(afterInjectionError);\n }\n });\n }\n };\n var beforeEach = function beforeEach(svg) {\n svg.setAttribute('role', 'img');\n if (desc) {\n var originalDesc = svg.querySelector(':scope > desc');\n if (originalDesc) {\n svg.removeChild(originalDesc);\n }\n var newDesc = document.createElement('desc');\n newDesc.innerHTML = desc;\n svg.prepend(newDesc);\n }\n if (title) {\n var originalTitle = svg.querySelector(':scope > title');\n if (originalTitle) {\n svg.removeChild(originalTitle);\n }\n var newTitle = document.createElement('title');\n newTitle.innerHTML = title;\n svg.prepend(newTitle);\n }\n try {\n beforeInjection(svg);\n } catch (error) {\n handleError(error);\n }\n };\n SVGInjector(nonReactTarget, {\n afterEach: afterEach,\n beforeEach: beforeEach,\n cacheRequests: useRequestCache,\n evalScripts: evalScripts,\n httpRequestWithCredentials: httpRequestWithCredentials,\n renumerateIRIElements: renumerateIRIElements\n });\n }\n };\n _proto.removeSVG = function removeSVG() {\n var _this$nonReactWrapper;\n if ((_this$nonReactWrapper = this.nonReactWrapper) != null && _this$nonReactWrapper.parentNode) {\n this.nonReactWrapper.parentNode.removeChild(this.nonReactWrapper);\n this.nonReactWrapper = null;\n }\n };\n _proto.componentDidMount = function componentDidMount() {\n this._isMounted = true;\n this.renderSVG();\n };\n _proto.componentDidUpdate = function componentDidUpdate(prevProps) {\n var _this3 = this;\n if (shallowDiffers(_extends({}, prevProps), this.props)) {\n this.setState(function () {\n return _this3.initialState;\n }, function () {\n _this3.removeSVG();\n _this3.renderSVG();\n });\n }\n };\n _proto.componentWillUnmount = function componentWillUnmount() {\n this._isMounted = false;\n this.removeSVG();\n };\n _proto.render = function render() {\n /* eslint-disable @typescript-eslint/no-unused-vars */\n var _this$props2 = this.props;\n _this$props2.afterInjection;\n _this$props2.beforeInjection;\n _this$props2.desc;\n _this$props2.evalScripts;\n var Fallback = _this$props2.fallback;\n _this$props2.httpRequestWithCredentials;\n var Loading = _this$props2.loading;\n _this$props2.renumerateIRIElements;\n _this$props2.src;\n _this$props2.title;\n _this$props2.useRequestCache;\n var wrapper = _this$props2.wrapper,\n rest = _objectWithoutPropertiesLoose(_this$props2, _excluded);\n /* eslint-enable @typescript-eslint/no-unused-vars */\n // eslint-disable-next-line @typescript-eslint/no-non-null-assertion\n var Wrapper = wrapper;\n return /*#__PURE__*/React.createElement(Wrapper, _extends({}, rest, {\n ref: this.refCallback\n }, wrapper === 'svg' ? {\n xmlns: svgNamespace,\n xmlnsXlink: xlinkNamespace\n } : {}), this.state.isLoading && Loading && /*#__PURE__*/React.createElement(Loading, null), this.state.hasError && Fallback && /*#__PURE__*/React.createElement(Fallback, null));\n };\n return ReactSVG;\n}(React.Component);\nReactSVG.defaultProps = {\n afterInjection: function afterInjection() {\n return undefined;\n },\n beforeInjection: function beforeInjection() {\n return undefined;\n },\n desc: '',\n evalScripts: 'never',\n fallback: null,\n httpRequestWithCredentials: false,\n loading: null,\n onError: function onError() {\n return undefined;\n },\n renumerateIRIElements: true,\n title: '',\n useRequestCache: true,\n wrapper: 'div'\n};\nReactSVG.propTypes = {\n afterInjection: PropTypes.func,\n beforeInjection: PropTypes.func,\n desc: PropTypes.string,\n evalScripts: PropTypes.oneOf(['always', 'once', 'never']),\n fallback: PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.string]),\n httpRequestWithCredentials: PropTypes.bool,\n loading: PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.string]),\n onError: PropTypes.func,\n renumerateIRIElements: PropTypes.bool,\n src: PropTypes.string.isRequired,\n title: PropTypes.string,\n useRequestCache: PropTypes.bool,\n wrapper: PropTypes.oneOf(['div', 'span', 'svg'])\n} ;\n\nexport { ReactSVG };\n//# sourceMappingURL=react-svg.esm.js.map\n"],"names":["_objectWithoutPropertiesLoose","_extends","_inheritsLoose","SVGInjector","propTypesExports","React","ownerWindow","node","doc","shallowDiffers","a","b","i","_i","_excluded","svgNamespace","xlinkNamespace","ReactSVG","_React$Component","_this","_len","args","_key","reactWrapper","_proto","_this2","_this$props","desc","evalScripts","httpRequestWithCredentials","renumerateIRIElements","src","title","useRequestCache","onError","beforeInjection","afterInjection","wrapper","nonReactWrapper","nonReactTarget","handleError","error","afterEach","svg","afterInjectionError","beforeEach","originalDesc","newDesc","originalTitle","newTitle","_this$nonReactWrapper","prevProps","_this3","_this$props2","Fallback","Loading","rest","Wrapper","PropTypes.func","PropTypes.string","PropTypes.oneOf","PropTypes.oneOfType","PropTypes.object","PropTypes.bool"],"mappings":"AAOA,OAAAA,OAAA;AAAA,OAAAC,OAAA;AAAA,OAAAC,OAAA;AAAA,SAAA,eAAAC,SAAA;AAAA,SAAA,KAAAC,SAAA;AAAA,YAAAC,OAAA;AACA,IAAIC,IAAc,SAAqBC,GAAM;AAC3C,MAAIC,KAAOD,KAAQ,OAAO,SAAYA,EAAK,kBAAkB;AAC7D,SAAOC,EAAI,eAAe;AAC5B,GAGIC,IAAiB,SAAwBC,GAAGC,GAAG;AACjD,WAASC,KAA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,EAAgB,OAAC;AAAA,EACtB,OAAOA,EAAgB;AAAA,EACvB,iBAAiBI,EAAc;AAAA,EAC/B,SAASH,EAAAA,MAAgB,CAAC,OAAO,QAAQ,KAAK,CAAC;AACjD;","x_google_ignoreList":[0]}
package/dist/index46.js CHANGED
@@ -1,53 +1,13 @@
1
- import { __require as u } from "./index51.js";
2
- var o, p;
3
- function g() {
4
- if (p) return o;
5
- p = 1;
6
- var c = u();
7
- function n() {
1
+ function r(t, i) {
2
+ if (t == null) return {};
3
+ var o = {};
4
+ for (var e in t) if ({}.hasOwnProperty.call(t, e)) {
5
+ if (i.indexOf(e) !== -1) continue;
6
+ o[e] = t[e];
8
7
  }
9
- function i() {
10
- }
11
- return i.resetWarningCache = n, o = function() {
12
- function e(h, y, m, f, l, s) {
13
- if (s !== c) {
14
- var a = new Error(
15
- "Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types"
16
- );
17
- throw a.name = "Invariant Violation", a;
18
- }
19
- }
20
- e.isRequired = e;
21
- function r() {
22
- return e;
23
- }
24
- var t = {
25
- array: e,
26
- bigint: e,
27
- bool: e,
28
- func: e,
29
- number: e,
30
- object: e,
31
- string: e,
32
- symbol: e,
33
- any: e,
34
- arrayOf: r,
35
- element: e,
36
- elementType: e,
37
- instanceOf: r,
38
- node: e,
39
- objectOf: r,
40
- oneOf: r,
41
- oneOfType: r,
42
- shape: r,
43
- exact: r,
44
- checkPropTypes: i,
45
- resetWarningCache: n
46
- };
47
- return t.PropTypes = t, t;
48
- }, o;
8
+ return o;
49
9
  }
50
10
  export {
51
- g as __require
11
+ r as default
52
12
  };
53
13
  //# sourceMappingURL=index46.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index46.js","sources":["../node_modules/prop-types/factoryWithThrowingShims.js"],"sourcesContent":["/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n'use strict';\n\nvar ReactPropTypesSecret = require('./lib/ReactPropTypesSecret');\n\nfunction emptyFunction() {}\nfunction emptyFunctionWithReset() {}\nemptyFunctionWithReset.resetWarningCache = emptyFunction;\n\nmodule.exports = function() {\n function shim(props, propName, componentName, location, propFullName, secret) {\n if (secret === ReactPropTypesSecret) {\n // It is still safe when called from React.\n return;\n }\n var err = new Error(\n 'Calling PropTypes validators directly is not supported by the `prop-types` package. ' +\n 'Use PropTypes.checkPropTypes() to call them. ' +\n 'Read more at http://fb.me/use-check-prop-types'\n );\n err.name = 'Invariant Violation';\n throw err;\n };\n shim.isRequired = shim;\n function getShim() {\n return shim;\n };\n // Important!\n // Keep this list in sync with production version in `./factoryWithTypeCheckers.js`.\n var ReactPropTypes = {\n array: shim,\n bigint: shim,\n bool: shim,\n func: shim,\n number: shim,\n object: shim,\n string: shim,\n symbol: shim,\n\n any: shim,\n arrayOf: getShim,\n element: shim,\n elementType: shim,\n instanceOf: getShim,\n node: shim,\n objectOf: getShim,\n oneOf: getShim,\n oneOfType: getShim,\n shape: getShim,\n exact: getShim,\n\n checkPropTypes: emptyFunctionWithReset,\n resetWarningCache: emptyFunction\n };\n\n ReactPropTypes.PropTypes = ReactPropTypes;\n\n return ReactPropTypes;\n};\n"],"names":["ReactPropTypesSecret","require$$0","emptyFunction","emptyFunctionWithReset","factoryWithThrowingShims","shim","props","propName","componentName","location","propFullName","secret","err","getShim","ReactPropTypes"],"mappings":";;;;;AASA,MAAIA,IAAuBC,EAAqC;AAEhE,WAASC,IAAgB;AAAA,EAAA;AACzB,WAASC,IAAyB;AAAA,EAAA;AAClC,SAAAA,EAAuB,oBAAoBD,GAE3CE,IAAiB,WAAW;AAC1B,aAASC,EAAKC,GAAOC,GAAUC,GAAeC,GAAUC,GAAcC,GAAQ;AAC5E,UAAIA,MAAWX,GAIf;AAAA,YAAIY,IAAM,IAAI;AAAA,UACZ;AAAA,QAGD;AACD,cAAAA,EAAI,OAAO,uBACLA;AAAA;AAAA,IACV;AACE,IAAAP,EAAK,aAAaA;AAClB,aAASQ,IAAU;AACjB,aAAOR;AAAA,IAEX;AAEE,QAAIS,IAAiB;AAAA,MACnB,OAAOT;AAAA,MACP,QAAQA;AAAA,MACR,MAAMA;AAAA,MACN,MAAMA;AAAA,MACN,QAAQA;AAAA,MACR,QAAQA;AAAA,MACR,QAAQA;AAAA,MACR,QAAQA;AAAA,MAER,KAAKA;AAAA,MACL,SAASQ;AAAA,MACT,SAASR;AAAA,MACT,aAAaA;AAAA,MACb,YAAYQ;AAAA,MACZ,MAAMR;AAAA,MACN,UAAUQ;AAAA,MACV,OAAOA;AAAA,MACP,WAAWA;AAAA,MACX,OAAOA;AAAA,MACP,OAAOA;AAAA,MAEP,gBAAgBV;AAAA,MAChB,mBAAmBD;AAAA,IACpB;AAED,WAAAY,EAAe,YAAYA,GAEpBA;AAAA,EACR;;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index46.js","sources":["../node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js"],"sourcesContent":["function _objectWithoutPropertiesLoose(r, e) {\n if (null == r) return {};\n var t = {};\n for (var n in r) if ({}.hasOwnProperty.call(r, n)) {\n if (-1 !== e.indexOf(n)) continue;\n t[n] = r[n];\n }\n return t;\n}\nexport { _objectWithoutPropertiesLoose as default };"],"names":["_objectWithoutPropertiesLoose","r","e","t","n"],"mappings":"AAAA,SAASA,EAA8BC,GAAGC,GAAG;AAC3C,MAAYD,KAAR,KAAW,QAAO,CAAE;AACxB,MAAIE,IAAI,CAAE;AACV,WAASC,KAAKH,EAAG,KAAI,CAAA,EAAG,eAAe,KAAKA,GAAGG,CAAC,GAAG;AACjD,QAAWF,EAAE,QAAQE,CAAC,MAAlB,GAAqB;AACzB,IAAAD,EAAEC,CAAC,IAAIH,EAAEG,CAAC;AAAA,EACd;AACE,SAAOD;AACT;","x_google_ignoreList":[0]}
package/dist/index47.js CHANGED
@@ -1,5 +1,13 @@
1
- var e = { exports: {} };
1
+ function e() {
2
+ return e = Object.assign ? Object.assign.bind() : function(t) {
3
+ for (var n = 1; n < arguments.length; n++) {
4
+ var a = arguments[n];
5
+ for (var r in a) ({}).hasOwnProperty.call(a, r) && (t[r] = a[r]);
6
+ }
7
+ return t;
8
+ }, e.apply(null, arguments);
9
+ }
2
10
  export {
3
- e as __module
11
+ e as default
4
12
  };
5
13
  //# sourceMappingURL=index47.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index47.js","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
1
+ {"version":3,"file":"index47.js","sources":["../node_modules/@babel/runtime/helpers/esm/extends.js"],"sourcesContent":["function _extends() {\n return _extends = Object.assign ? Object.assign.bind() : function (n) {\n for (var e = 1; e < arguments.length; e++) {\n var t = arguments[e];\n for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]);\n }\n return n;\n }, _extends.apply(null, arguments);\n}\nexport { _extends as default };"],"names":["_extends","n","e","t"],"mappings":"AAAA,SAASA,IAAW;AAClB,SAAOA,IAAW,OAAO,SAAS,OAAO,OAAO,KAAI,IAAK,SAAUC,GAAG;AACpE,aAASC,IAAI,GAAGA,IAAI,UAAU,QAAQA,KAAK;AACzC,UAAIC,IAAI,UAAUD,CAAC;AACnB,eAAS,KAAKC,EAAG,EAAC,CAAE,GAAE,eAAe,KAAKA,GAAG,CAAC,MAAMF,EAAE,CAAC,IAAIE,EAAE,CAAC;AAAA,IACpE;AACI,WAAOF;AAAA,EACR,GAAED,EAAS,MAAM,MAAM,SAAS;AACnC;","x_google_ignoreList":[0]}
package/dist/index48.js CHANGED
@@ -1,79 +1,8 @@
1
- import { __exports as r } from "./index54.js";
2
- /** @license React v16.13.1
3
- * react-is.production.min.js
4
- *
5
- * Copyright (c) Facebook, Inc. and its affiliates.
6
- *
7
- * This source code is licensed under the MIT license found in the
8
- * LICENSE file in the root directory of this source tree.
9
- */
10
- var _;
11
- function g() {
12
- if (_) return r;
13
- _ = 1;
14
- var t = typeof Symbol == "function" && Symbol.for, a = t ? Symbol.for("react.element") : 60103, b = t ? Symbol.for("react.portal") : 60106, n = t ? Symbol.for("react.fragment") : 60107, c = t ? Symbol.for("react.strict_mode") : 60108, f = t ? Symbol.for("react.profiler") : 60114, i = t ? Symbol.for("react.provider") : 60109, s = t ? Symbol.for("react.context") : 60110, d = t ? Symbol.for("react.async_mode") : 60111, u = t ? Symbol.for("react.concurrent_mode") : 60111, y = t ? Symbol.for("react.forward_ref") : 60112, l = t ? Symbol.for("react.suspense") : 60113, x = t ? Symbol.for("react.suspense_list") : 60120, m = t ? Symbol.for("react.memo") : 60115, p = t ? Symbol.for("react.lazy") : 60116, C = t ? Symbol.for("react.block") : 60121, M = t ? Symbol.for("react.fundamental") : 60117, v = t ? Symbol.for("react.responder") : 60118, w = t ? Symbol.for("react.scope") : 60119;
15
- function o(e) {
16
- if (typeof e == "object" && e !== null) {
17
- var S = e.$$typeof;
18
- switch (S) {
19
- case a:
20
- switch (e = e.type, e) {
21
- case d:
22
- case u:
23
- case n:
24
- case f:
25
- case c:
26
- case l:
27
- return e;
28
- default:
29
- switch (e = e && e.$$typeof, e) {
30
- case s:
31
- case y:
32
- case p:
33
- case m:
34
- case i:
35
- return e;
36
- default:
37
- return S;
38
- }
39
- }
40
- case b:
41
- return S;
42
- }
43
- }
44
- }
45
- function $(e) {
46
- return o(e) === u;
47
- }
48
- return r.AsyncMode = d, r.ConcurrentMode = u, r.ContextConsumer = s, r.ContextProvider = i, r.Element = a, r.ForwardRef = y, r.Fragment = n, r.Lazy = p, r.Memo = m, r.Portal = b, r.Profiler = f, r.StrictMode = c, r.Suspense = l, r.isAsyncMode = function(e) {
49
- return $(e) || o(e) === d;
50
- }, r.isConcurrentMode = $, r.isContextConsumer = function(e) {
51
- return o(e) === s;
52
- }, r.isContextProvider = function(e) {
53
- return o(e) === i;
54
- }, r.isElement = function(e) {
55
- return typeof e == "object" && e !== null && e.$$typeof === a;
56
- }, r.isForwardRef = function(e) {
57
- return o(e) === y;
58
- }, r.isFragment = function(e) {
59
- return o(e) === n;
60
- }, r.isLazy = function(e) {
61
- return o(e) === p;
62
- }, r.isMemo = function(e) {
63
- return o(e) === m;
64
- }, r.isPortal = function(e) {
65
- return o(e) === b;
66
- }, r.isProfiler = function(e) {
67
- return o(e) === f;
68
- }, r.isStrictMode = function(e) {
69
- return o(e) === c;
70
- }, r.isSuspense = function(e) {
71
- return o(e) === l;
72
- }, r.isValidElementType = function(e) {
73
- return typeof e == "string" || typeof e == "function" || e === n || e === u || e === f || e === c || e === l || e === x || typeof e == "object" && e !== null && (e.$$typeof === p || e.$$typeof === m || e.$$typeof === i || e.$$typeof === s || e.$$typeof === y || e.$$typeof === M || e.$$typeof === v || e.$$typeof === w || e.$$typeof === C);
74
- }, r.typeOf = o, r;
1
+ import e from "./index51.js";
2
+ function p(o, t) {
3
+ o.prototype = Object.create(t.prototype), o.prototype.constructor = o, e(o, t);
75
4
  }
76
5
  export {
77
- g as __require
6
+ p as default
78
7
  };
79
8
  //# sourceMappingURL=index48.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index48.js","sources":["../node_modules/prop-types/node_modules/react-is/cjs/react-is.production.min.js"],"sourcesContent":["/** @license React v16.13.1\n * react-is.production.min.js\n *\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n'use strict';var b=\"function\"===typeof Symbol&&Symbol.for,c=b?Symbol.for(\"react.element\"):60103,d=b?Symbol.for(\"react.portal\"):60106,e=b?Symbol.for(\"react.fragment\"):60107,f=b?Symbol.for(\"react.strict_mode\"):60108,g=b?Symbol.for(\"react.profiler\"):60114,h=b?Symbol.for(\"react.provider\"):60109,k=b?Symbol.for(\"react.context\"):60110,l=b?Symbol.for(\"react.async_mode\"):60111,m=b?Symbol.for(\"react.concurrent_mode\"):60111,n=b?Symbol.for(\"react.forward_ref\"):60112,p=b?Symbol.for(\"react.suspense\"):60113,q=b?\nSymbol.for(\"react.suspense_list\"):60120,r=b?Symbol.for(\"react.memo\"):60115,t=b?Symbol.for(\"react.lazy\"):60116,v=b?Symbol.for(\"react.block\"):60121,w=b?Symbol.for(\"react.fundamental\"):60117,x=b?Symbol.for(\"react.responder\"):60118,y=b?Symbol.for(\"react.scope\"):60119;\nfunction z(a){if(\"object\"===typeof a&&null!==a){var u=a.$$typeof;switch(u){case c:switch(a=a.type,a){case l:case m:case e:case g:case f:case p:return a;default:switch(a=a&&a.$$typeof,a){case k:case n:case t:case r:case h:return a;default:return u}}case d:return u}}}function A(a){return z(a)===m}exports.AsyncMode=l;exports.ConcurrentMode=m;exports.ContextConsumer=k;exports.ContextProvider=h;exports.Element=c;exports.ForwardRef=n;exports.Fragment=e;exports.Lazy=t;exports.Memo=r;exports.Portal=d;\nexports.Profiler=g;exports.StrictMode=f;exports.Suspense=p;exports.isAsyncMode=function(a){return A(a)||z(a)===l};exports.isConcurrentMode=A;exports.isContextConsumer=function(a){return z(a)===k};exports.isContextProvider=function(a){return z(a)===h};exports.isElement=function(a){return\"object\"===typeof a&&null!==a&&a.$$typeof===c};exports.isForwardRef=function(a){return z(a)===n};exports.isFragment=function(a){return z(a)===e};exports.isLazy=function(a){return z(a)===t};\nexports.isMemo=function(a){return z(a)===r};exports.isPortal=function(a){return z(a)===d};exports.isProfiler=function(a){return z(a)===g};exports.isStrictMode=function(a){return z(a)===f};exports.isSuspense=function(a){return z(a)===p};\nexports.isValidElementType=function(a){return\"string\"===typeof a||\"function\"===typeof a||a===e||a===m||a===g||a===f||a===p||a===q||\"object\"===typeof a&&null!==a&&(a.$$typeof===t||a.$$typeof===r||a.$$typeof===h||a.$$typeof===k||a.$$typeof===n||a.$$typeof===w||a.$$typeof===x||a.$$typeof===y||a.$$typeof===v)};exports.typeOf=z;\n"],"names":["b","c","d","e","f","g","h","k","l","m","n","p","q","r","t","v","w","x","y","z","a","u","A","reactIs_production_min"],"mappings":";;;;;;;;;;;;;AASa,MAAIA,IAAe,OAAO,UAApB,cAA4B,OA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AAE;AAAC,WAAOD,EAAEC,CAAC,MAAIP;AAAA,EAAC,GAAEU,aAAiB,SAASH,GAAE;AAAC,WAAOD,EAAEC,CAAC,MAAIlB;AAAA,EAAC,GAAEqB,EAAkB,aAAC,SAASH,GAAE;AAAC,WAAOD,EAAEC,CAAC,MAAIf;AAAA,EAAC,GAAEkB,EAAA,eAAqB,SAASH,GAAE;AAAC,WAAOD,EAAEC,CAAC,MAAIhB;AAAA,EAAC,GAAEmB,EAAA,aAAmB,SAASH,GAAE;AAAC,WAAOD,EAAEC,CAAC,MAAIT;AAAA,EAAC,GAChNY,EAAA,qBAAC,SAASH,GAAE;AAAC,WAAiB,OAAOA,KAAlB,YAAkC,OAAOA,KAApB,cAAuBA,MAAIjB,KAAGiB,MAAIX,KAAGW,MAAIf,KAAGe,MAAIhB,KAAGgB,MAAIT,KAAGS,MAAIR,KAAc,OAAOQ,KAAlB,YAA4BA,MAAP,SAAWA,EAAE,aAAWN,KAAGM,EAAE,aAAWP,KAAGO,EAAE,aAAWd,KAAGc,EAAE,aAAWb,KAAGa,EAAE,aAAWV,KAAGU,EAAE,aAAWJ,KAAGI,EAAE,aAAWH,KAAGG,EAAE,aAAWF,KAAGE,EAAE,aAAWL;AAAA,EAAE,GAAEQ,EAAc,SAACJ;;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index48.js","sources":["../node_modules/@babel/runtime/helpers/esm/inheritsLoose.js"],"sourcesContent":["import setPrototypeOf from \"./setPrototypeOf.js\";\nfunction _inheritsLoose(t, o) {\n t.prototype = Object.create(o.prototype), t.prototype.constructor = t, setPrototypeOf(t, o);\n}\nexport { _inheritsLoose as default };"],"names":["_setPrototypeOf","_inheritsLoose","t","o","setPrototypeOf"],"mappings":"AACA,OAAAA,OAAA;AAAA,SAASC,EAAeC,GAAGC,GAAG;AAC5B,EAAAD,EAAE,YAAY,OAAO,OAAOC,EAAE,SAAS,GAAGD,EAAE,UAAU,cAAcA,GAAGE,EAAeF,GAAGC,CAAC;AAC5F;","x_google_ignoreList":[0]}