se-design 0.0.107 → 0.0.109

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 (260) hide show
  1. package/dist/assets/icons/rounded-plus.svg +11 -0
  2. package/dist/assets/style.css +1 -1
  3. package/dist/components/Avatar/index.d.ts +10 -0
  4. package/dist/components/Button/index.d.ts +1 -1
  5. package/dist/components/CustomModal/index.d.ts +9 -0
  6. package/dist/components/Dropdown/index.d.ts +1 -0
  7. package/dist/components/LoadingModal/index.d.ts +5 -0
  8. package/dist/components/Spinner/index.d.ts +2 -0
  9. package/dist/components/index.d.ts +4 -0
  10. package/dist/index.js +70 -62
  11. package/dist/index.js.map +1 -1
  12. package/dist/index10.js +16 -30
  13. package/dist/index10.js.map +1 -1
  14. package/dist/index100.js +5 -0
  15. package/dist/index100.js.map +1 -0
  16. package/dist/index101.js +5 -0
  17. package/dist/index101.js.map +1 -0
  18. package/dist/index102.js +152 -0
  19. package/dist/index102.js.map +1 -0
  20. package/dist/index11.js +14 -29
  21. package/dist/index11.js.map +1 -1
  22. package/dist/index118.js +1233 -6
  23. package/dist/index118.js.map +1 -1
  24. package/dist/index119.js +7 -35
  25. package/dist/index119.js.map +1 -1
  26. package/dist/index12.js +6 -19
  27. package/dist/index12.js.map +1 -1
  28. package/dist/index120.js +10 -2
  29. package/dist/index120.js.map +1 -1
  30. package/dist/index121.js +4 -7
  31. package/dist/index121.js.map +1 -1
  32. package/dist/index122.js +165 -322
  33. package/dist/index122.js.map +1 -1
  34. package/dist/index123.js +11 -50
  35. package/dist/index123.js.map +1 -1
  36. package/dist/index124.js +6 -2
  37. package/dist/index124.js.map +1 -1
  38. package/dist/index125.js +5 -75
  39. package/dist/index125.js.map +1 -1
  40. package/dist/index126.js +37 -92
  41. package/dist/index126.js.map +1 -1
  42. package/dist/index127.js +2 -52
  43. package/dist/index127.js.map +1 -1
  44. package/dist/index128.js +7 -7
  45. package/dist/index128.js.map +1 -1
  46. package/dist/index129.js +326 -4
  47. package/dist/index129.js.map +1 -1
  48. package/dist/index13.js +30 -123
  49. package/dist/index13.js.map +1 -1
  50. package/dist/index130.js +47 -49
  51. package/dist/index130.js.map +1 -1
  52. package/dist/index131.js +2 -2
  53. package/dist/index132.js +76 -2
  54. package/dist/index132.js.map +1 -1
  55. package/dist/index133.js +96 -0
  56. package/dist/index133.js.map +1 -0
  57. package/dist/index134.js +55 -0
  58. package/dist/index134.js.map +1 -0
  59. package/dist/index135.js +11 -0
  60. package/dist/index135.js.map +1 -0
  61. package/dist/index136.js +8 -0
  62. package/dist/index136.js.map +1 -0
  63. package/dist/index137.js +55 -0
  64. package/dist/index137.js.map +1 -0
  65. package/dist/index138.js +5 -0
  66. package/dist/index138.js.map +1 -0
  67. package/dist/index139.js +5 -0
  68. package/dist/index139.js.map +1 -0
  69. package/dist/index14.js +30 -28
  70. package/dist/index14.js.map +1 -1
  71. package/dist/index15.js +19 -27
  72. package/dist/index15.js.map +1 -1
  73. package/dist/index16.js +116 -71
  74. package/dist/index16.js.map +1 -1
  75. package/dist/index17.js +28 -38
  76. package/dist/index17.js.map +1 -1
  77. package/dist/index18.js +26 -22
  78. package/dist/index18.js.map +1 -1
  79. package/dist/index19.js +77 -67
  80. package/dist/index19.js.map +1 -1
  81. package/dist/index20.js +36 -132
  82. package/dist/index20.js.map +1 -1
  83. package/dist/index21.js +20 -16
  84. package/dist/index21.js.map +1 -1
  85. package/dist/index22.js +67 -44
  86. package/dist/index22.js.map +1 -1
  87. package/dist/index23.js +133 -28
  88. package/dist/index23.js.map +1 -1
  89. package/dist/index24.js +15 -60
  90. package/dist/index24.js.map +1 -1
  91. package/dist/index25.js +44 -41
  92. package/dist/index25.js.map +1 -1
  93. package/dist/index26.js +28 -97
  94. package/dist/index26.js.map +1 -1
  95. package/dist/index27.js +61 -55
  96. package/dist/index27.js.map +1 -1
  97. package/dist/index28.js +42 -38
  98. package/dist/index28.js.map +1 -1
  99. package/dist/index29.js +95 -31
  100. package/dist/index29.js.map +1 -1
  101. package/dist/index3.js +2 -2
  102. package/dist/index3.js.map +1 -1
  103. package/dist/index30.js +58 -33
  104. package/dist/index30.js.map +1 -1
  105. package/dist/index31.js +36 -44
  106. package/dist/index31.js.map +1 -1
  107. package/dist/index32.js +35 -38
  108. package/dist/index32.js.map +1 -1
  109. package/dist/index33.js +29 -30
  110. package/dist/index33.js.map +1 -1
  111. package/dist/index34.js +44 -49
  112. package/dist/index34.js.map +1 -1
  113. package/dist/index35.js +36 -69
  114. package/dist/index35.js.map +1 -1
  115. package/dist/index36.js +27 -47
  116. package/dist/index36.js.map +1 -1
  117. package/dist/index37.js +48 -68
  118. package/dist/index37.js.map +1 -1
  119. package/dist/index38.js +67 -83
  120. package/dist/index38.js.map +1 -1
  121. package/dist/index39.js +48 -32
  122. package/dist/index39.js.map +1 -1
  123. package/dist/index4.js +79 -77
  124. package/dist/index4.js.map +1 -1
  125. package/dist/index40.js +74 -2
  126. package/dist/index40.js.map +1 -1
  127. package/dist/index41.js +87 -2
  128. package/dist/index41.js.map +1 -1
  129. package/dist/index42.js +38 -2
  130. package/dist/index42.js.map +1 -1
  131. package/dist/index43.js +29 -2
  132. package/dist/index43.js.map +1 -1
  133. package/dist/index44.js +1 -1
  134. package/dist/index44.js.map +1 -1
  135. package/dist/index45.js +1 -1
  136. package/dist/index45.js.map +1 -1
  137. package/dist/index46.js +1 -1
  138. package/dist/index46.js.map +1 -1
  139. package/dist/index47.js +1 -1
  140. package/dist/index47.js.map +1 -1
  141. package/dist/index48.js +1 -1
  142. package/dist/index48.js.map +1 -1
  143. package/dist/index49.js +1 -1
  144. package/dist/index49.js.map +1 -1
  145. package/dist/index5.js +1 -1
  146. package/dist/index50.js +1 -1
  147. package/dist/index50.js.map +1 -1
  148. package/dist/index51.js +1 -1
  149. package/dist/index51.js.map +1 -1
  150. package/dist/index52.js +1 -1
  151. package/dist/index52.js.map +1 -1
  152. package/dist/index53.js +1 -1
  153. package/dist/index53.js.map +1 -1
  154. package/dist/index54.js +1 -1
  155. package/dist/index54.js.map +1 -1
  156. package/dist/index55.js +2 -2
  157. package/dist/index55.js.map +1 -1
  158. package/dist/index56.js +1 -1
  159. package/dist/index56.js.map +1 -1
  160. package/dist/index57.js +1 -1
  161. package/dist/index57.js.map +1 -1
  162. package/dist/index58.js +1 -1
  163. package/dist/index58.js.map +1 -1
  164. package/dist/index59.js +2 -2
  165. package/dist/index59.js.map +1 -1
  166. package/dist/index60.js +1 -1
  167. package/dist/index60.js.map +1 -1
  168. package/dist/index61.js +2 -2
  169. package/dist/index61.js.map +1 -1
  170. package/dist/index62.js +1 -1
  171. package/dist/index62.js.map +1 -1
  172. package/dist/index63.js +1 -1
  173. package/dist/index63.js.map +1 -1
  174. package/dist/index64.js +1 -1
  175. package/dist/index64.js.map +1 -1
  176. package/dist/index65.js +2 -2
  177. package/dist/index65.js.map +1 -1
  178. package/dist/index66.js +1 -1
  179. package/dist/index66.js.map +1 -1
  180. package/dist/index67.js +1 -1
  181. package/dist/index67.js.map +1 -1
  182. package/dist/index68.js +1 -1
  183. package/dist/index68.js.map +1 -1
  184. package/dist/index69.js +1 -1
  185. package/dist/index69.js.map +1 -1
  186. package/dist/index70.js +1 -1
  187. package/dist/index70.js.map +1 -1
  188. package/dist/index71.js +1 -1
  189. package/dist/index71.js.map +1 -1
  190. package/dist/index72.js +1 -1
  191. package/dist/index72.js.map +1 -1
  192. package/dist/index73.js +1 -1
  193. package/dist/index73.js.map +1 -1
  194. package/dist/index74.js +1 -1
  195. package/dist/index74.js.map +1 -1
  196. package/dist/index75.js +1 -1
  197. package/dist/index75.js.map +1 -1
  198. package/dist/index76.js +1 -1
  199. package/dist/index76.js.map +1 -1
  200. package/dist/index77.js +1 -1
  201. package/dist/index77.js.map +1 -1
  202. package/dist/index78.js +2 -2
  203. package/dist/index78.js.map +1 -1
  204. package/dist/index79.js +2 -2
  205. package/dist/index79.js.map +1 -1
  206. package/dist/index80.js +1 -1
  207. package/dist/index80.js.map +1 -1
  208. package/dist/index81.js +1 -1
  209. package/dist/index81.js.map +1 -1
  210. package/dist/index82.js +2 -2
  211. package/dist/index82.js.map +1 -1
  212. package/dist/index83.js +2 -2
  213. package/dist/index83.js.map +1 -1
  214. package/dist/index84.js +2 -2
  215. package/dist/index84.js.map +1 -1
  216. package/dist/index85.js +1 -1
  217. package/dist/index85.js.map +1 -1
  218. package/dist/index86.js +1 -1
  219. package/dist/index86.js.map +1 -1
  220. package/dist/index87.js +2 -2
  221. package/dist/index87.js.map +1 -1
  222. package/dist/index88.js +1 -1
  223. package/dist/index88.js.map +1 -1
  224. package/dist/index89.js +1 -1
  225. package/dist/index89.js.map +1 -1
  226. package/dist/index90.js +1 -1
  227. package/dist/index90.js.map +1 -1
  228. package/dist/index91.js +1 -1
  229. package/dist/index91.js.map +1 -1
  230. package/dist/index92.js +2 -2
  231. package/dist/index92.js.map +1 -1
  232. package/dist/index93.js +1 -1
  233. package/dist/index93.js.map +1 -1
  234. package/dist/index94.js +2 -2
  235. package/dist/index94.js.map +1 -1
  236. package/dist/index95.js +1 -1
  237. package/dist/index95.js.map +1 -1
  238. package/dist/index96.js +2 -2
  239. package/dist/index96.js.map +1 -1
  240. package/dist/index97.js +2 -149
  241. package/dist/index97.js.map +1 -1
  242. package/dist/index98.js +5 -0
  243. package/dist/index98.js.map +1 -0
  244. package/dist/index99.js +5 -0
  245. package/dist/index99.js.map +1 -0
  246. package/package.json +1 -1
  247. package/dist/index111.js +0 -1236
  248. package/dist/index111.js.map +0 -1
  249. package/dist/index112.js +0 -13
  250. package/dist/index112.js.map +0 -1
  251. package/dist/index113.js +0 -13
  252. package/dist/index113.js.map +0 -1
  253. package/dist/index114.js +0 -8
  254. package/dist/index114.js.map +0 -1
  255. package/dist/index115.js +0 -173
  256. package/dist/index115.js.map +0 -1
  257. package/dist/index116.js +0 -14
  258. package/dist/index116.js.map +0 -1
  259. package/dist/index117.js +0 -9
  260. package/dist/index117.js.map +0 -1
package/dist/index122.js CHANGED
@@ -1,330 +1,173 @@
1
- import { __require as F } from "./index121.js";
2
- import { __require as N } from "./index127.js";
3
- import { __require as ee } from "./index128.js";
4
- import { __require as re } from "./index129.js";
5
- import { __require as ne } from "./index130.js";
6
- var A, C;
7
- function oe() {
8
- if (C) return A;
9
- C = 1;
10
- var k = F(), W = N(), h = ee(), j = re(), R = ne(), T = function() {
11
- };
12
- process.env.NODE_ENV !== "production" && (T = function(x) {
13
- var S = "Warning: " + x;
14
- typeof console != "undefined" && console.error(S);
1
+ import { __spreadArray as D } from "./index125.js";
2
+ import { parse as fe } from "./index126.js";
3
+ var g = /* @__PURE__ */ new Map(), Y = function(e) {
4
+ return e.cloneNode(!0);
5
+ }, z = function() {
6
+ return window.location.protocol === "file:";
7
+ }, Z = function(e, o, n) {
8
+ var t = new XMLHttpRequest();
9
+ t.onreadystatechange = function() {
15
10
  try {
16
- throw new Error(S);
17
- } catch (_) {
11
+ if (!/\.svg/i.test(e) && t.readyState === 2) {
12
+ var u = t.getResponseHeader("Content-Type");
13
+ if (!u)
14
+ throw new Error("Content type not found");
15
+ var i = fe(u).type;
16
+ if (!(i === "image/svg+xml" || i === "text/plain"))
17
+ throw new Error("Invalid content type: ".concat(i));
18
+ }
19
+ if (t.readyState === 4) {
20
+ if (t.status === 404 || t.responseXML === null)
21
+ throw new Error(z() ? "Note: SVG injection ajax calls do not work locally without adjusting security settings in your browser. Or consider using a local webserver." : "Unable to load SVG file: " + e);
22
+ if (t.status === 200 || z() && t.status === 0)
23
+ n(null, t);
24
+ else
25
+ throw new Error("There was a problem injecting the SVG: " + t.status + " " + t.statusText);
26
+ }
27
+ } catch (a) {
28
+ if (t.abort(), a instanceof Error)
29
+ n(a, t);
30
+ else
31
+ throw a;
32
+ }
33
+ }, t.open("GET", e), t.withCredentials = o, t.overrideMimeType && t.overrideMimeType("text/xml"), t.send();
34
+ }, p = {}, B = function(e, o) {
35
+ p[e] = p[e] || [], p[e].push(o);
36
+ }, se = function(e) {
37
+ for (var o = function(i, a) {
38
+ setTimeout(function() {
39
+ if (Array.isArray(p[e])) {
40
+ var f = g.get(e), v = p[e][i];
41
+ f instanceof SVGSVGElement && v(null, Y(f)), f instanceof Error && v(f), i === p[e].length - 1 && delete p[e];
42
+ }
43
+ }, 0);
44
+ }, n = 0, t = p[e].length; n < t; n++)
45
+ o(n);
46
+ }, le = function(e, o, n) {
47
+ if (g.has(e)) {
48
+ var t = g.get(e);
49
+ if (t === void 0) {
50
+ B(e, n);
51
+ return;
52
+ }
53
+ if (t instanceof SVGSVGElement) {
54
+ n(null, Y(t));
55
+ return;
18
56
  }
57
+ }
58
+ g.set(e, void 0), B(e, n), Z(e, o, function(u, i) {
59
+ var a;
60
+ u ? g.set(e, u) : ((a = i.responseXML) === null || a === void 0 ? void 0 : a.documentElement) instanceof SVGSVGElement && g.set(e, i.responseXML.documentElement), se(e);
61
+ });
62
+ }, ce = function(e, o, n) {
63
+ Z(e, o, function(t, u) {
64
+ var i;
65
+ t ? n(t) : ((i = u.responseXML) === null || i === void 0 ? void 0 : i.documentElement) instanceof SVGSVGElement && n(null, u.responseXML.documentElement);
19
66
  });
20
- function E() {
21
- return null;
67
+ }, de = 0, pe = function() {
68
+ return ++de;
69
+ }, l = [], J = {}, ve = "http://www.w3.org/2000/svg", F = "http://www.w3.org/1999/xlink", K = function(e, o, n, t, u, i, a) {
70
+ var f = e.getAttribute("data-src") || e.getAttribute("src");
71
+ if (!f) {
72
+ a(new Error("Invalid data-src or src attribute"));
73
+ return;
22
74
  }
23
- return A = function(x, S) {
24
- var _ = typeof Symbol == "function" && Symbol.iterator, D = "@@iterator";
25
- function m(e) {
26
- var r = e && (_ && e[_] || e[D]);
27
- if (typeof r == "function")
28
- return r;
29
- }
30
- var P = "<<anonymous>>", w = {
31
- array: p("array"),
32
- bigint: p("bigint"),
33
- bool: p("boolean"),
34
- func: p("function"),
35
- number: p("number"),
36
- object: p("object"),
37
- string: p("string"),
38
- symbol: p("symbol"),
39
- any: M(),
40
- arrayOf: U,
41
- element: B(),
42
- elementType: J(),
43
- instanceOf: z,
44
- node: G(),
45
- objectOf: H,
46
- oneOf: L,
47
- oneOfType: X,
48
- shape: K,
49
- exact: Q
50
- };
51
- function Y(e, r) {
52
- return e === r ? e !== 0 || 1 / e === 1 / r : e !== e && r !== r;
53
- }
54
- function d(e, r) {
55
- this.message = e, this.data = r && typeof r == "object" ? r : {}, this.stack = "";
56
- }
57
- d.prototype = Error.prototype;
58
- function v(e) {
59
- if (process.env.NODE_ENV !== "production")
60
- var r = {}, u = 0;
61
- function i(f, t, a, o, c, s, y) {
62
- if (o = o || P, s = s || a, y !== h) {
63
- if (S) {
64
- var l = new Error(
65
- "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"
66
- );
67
- throw l.name = "Invariant Violation", l;
68
- } else if (process.env.NODE_ENV !== "production" && typeof console != "undefined") {
69
- var b = o + ":" + a;
70
- !r[b] && // Avoid spamming the console because they are often not actionable except for lib authors
71
- u < 3 && (T(
72
- "You are manually calling a React.PropTypes validation function for the `" + s + "` prop on `" + o + "`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."
73
- ), r[b] = !0, u++);
74
- }
75
- }
76
- return t[a] == null ? f ? t[a] === null ? new d("The " + c + " `" + s + "` is marked as required " + ("in `" + o + "`, but its value is `null`.")) : new d("The " + c + " `" + s + "` is marked as required in " + ("`" + o + "`, but its value is `undefined`.")) : null : e(t, a, o, c, s);
77
- }
78
- var n = i.bind(null, !1);
79
- return n.isRequired = i.bind(null, !0), n;
80
- }
81
- function p(e) {
82
- function r(u, i, n, f, t, a) {
83
- var o = u[i], c = g(o);
84
- if (c !== e) {
85
- var s = O(o);
86
- return new d(
87
- "Invalid " + f + " `" + t + "` of type " + ("`" + s + "` supplied to `" + n + "`, expected ") + ("`" + e + "`."),
88
- { expectedType: e }
89
- );
90
- }
91
- return null;
92
- }
93
- return v(r);
94
- }
95
- function M() {
96
- return v(E);
97
- }
98
- function U(e) {
99
- function r(u, i, n, f, t) {
100
- if (typeof e != "function")
101
- return new d("Property `" + t + "` of component `" + n + "` has invalid PropType notation inside arrayOf.");
102
- var a = u[i];
103
- if (!Array.isArray(a)) {
104
- var o = g(a);
105
- return new d("Invalid " + f + " `" + t + "` of type " + ("`" + o + "` supplied to `" + n + "`, expected an array."));
106
- }
107
- for (var c = 0; c < a.length; c++) {
108
- var s = e(a, c, n, f, t + "[" + c + "]", h);
109
- if (s instanceof Error)
110
- return s;
111
- }
112
- return null;
113
- }
114
- return v(r);
115
- }
116
- function B() {
117
- function e(r, u, i, n, f) {
118
- var t = r[u];
119
- if (!x(t)) {
120
- var a = g(t);
121
- return new d("Invalid " + n + " `" + f + "` of type " + ("`" + a + "` supplied to `" + i + "`, expected a single ReactElement."));
122
- }
123
- return null;
124
- }
125
- return v(e);
126
- }
127
- function J() {
128
- function e(r, u, i, n, f) {
129
- var t = r[u];
130
- if (!k.isValidElementType(t)) {
131
- var a = g(t);
132
- return new d("Invalid " + n + " `" + f + "` of type " + ("`" + a + "` supplied to `" + i + "`, expected a single ReactElement type."));
133
- }
134
- return null;
135
- }
136
- return v(e);
137
- }
138
- function z(e) {
139
- function r(u, i, n, f, t) {
140
- if (!(u[i] instanceof e)) {
141
- var a = e.name || P, o = V(u[i]);
142
- return new d("Invalid " + f + " `" + t + "` of type " + ("`" + o + "` supplied to `" + n + "`, expected ") + ("instance of `" + a + "`."));
143
- }
144
- return null;
145
- }
146
- return v(r);
147
- }
148
- function L(e) {
149
- if (!Array.isArray(e))
150
- return process.env.NODE_ENV !== "production" && (arguments.length > 1 ? T(
151
- "Invalid arguments supplied to oneOf, expected an array, got " + arguments.length + " arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z])."
152
- ) : T("Invalid argument supplied to oneOf, expected an array.")), E;
153
- function r(u, i, n, f, t) {
154
- for (var a = u[i], o = 0; o < e.length; o++)
155
- if (Y(a, e[o]))
156
- return null;
157
- var c = JSON.stringify(e, function(y, l) {
158
- var b = O(l);
159
- return b === "symbol" ? String(l) : l;
160
- });
161
- return new d("Invalid " + f + " `" + t + "` of value `" + String(a) + "` " + ("supplied to `" + n + "`, expected one of " + c + "."));
162
- }
163
- return v(r);
164
- }
165
- function H(e) {
166
- function r(u, i, n, f, t) {
167
- if (typeof e != "function")
168
- return new d("Property `" + t + "` of component `" + n + "` has invalid PropType notation inside objectOf.");
169
- var a = u[i], o = g(a);
170
- if (o !== "object")
171
- return new d("Invalid " + f + " `" + t + "` of type " + ("`" + o + "` supplied to `" + n + "`, expected an object."));
172
- for (var c in a)
173
- if (j(a, c)) {
174
- var s = e(a, c, n, f, t + "." + c, h);
175
- if (s instanceof Error)
176
- return s;
75
+ if (l.indexOf(e) !== -1) {
76
+ l.splice(l.indexOf(e), 1), e = null;
77
+ return;
78
+ }
79
+ l.push(e), e.setAttribute("src", "");
80
+ var v = t ? le : ce;
81
+ v(f, u, function(j, r) {
82
+ if (!r) {
83
+ l.splice(l.indexOf(e), 1), e = null, a(j);
84
+ return;
85
+ }
86
+ var w = e.getAttribute("id");
87
+ w && r.setAttribute("id", w);
88
+ var S = e.getAttribute("title");
89
+ S && r.setAttribute("title", S);
90
+ var E = e.getAttribute("width");
91
+ E && r.setAttribute("width", E);
92
+ var y = e.getAttribute("height");
93
+ y && r.setAttribute("height", y);
94
+ var G = Array.from(new Set(D(D(D([], (r.getAttribute("class") || "").split(" "), !0), ["injected-svg"], !1), (e.getAttribute("class") || "").split(" "), !0))).join(" ").trim();
95
+ r.setAttribute("class", G);
96
+ var b = e.getAttribute("style");
97
+ b && r.setAttribute("style", b), r.setAttribute("data-src", f);
98
+ var R = [].filter.call(e.attributes, function(s) {
99
+ return /^data-\w[\w-]*$/.test(s.name);
100
+ });
101
+ if (Array.prototype.forEach.call(R, function(s) {
102
+ s.name && s.value && r.setAttribute(s.name, s.value);
103
+ }), n) {
104
+ var h = {
105
+ clipPath: ["clip-path"],
106
+ "color-profile": ["color-profile"],
107
+ cursor: ["cursor"],
108
+ filter: ["filter"],
109
+ linearGradient: ["fill", "stroke"],
110
+ marker: ["marker", "marker-start", "marker-mid", "marker-end"],
111
+ mask: ["mask"],
112
+ path: [],
113
+ pattern: ["fill", "stroke"],
114
+ radialGradient: ["fill", "stroke"]
115
+ }, C, d, m, T, k;
116
+ Object.keys(h).forEach(function(s) {
117
+ C = s, m = h[s], d = r.querySelectorAll(C + "[id]");
118
+ for (var ne = function(I, me) {
119
+ T = d[I].id, k = T + "-" + pe();
120
+ var M;
121
+ Array.prototype.forEach.call(m, function(W) {
122
+ M = r.querySelectorAll("[" + W + '*="' + T + '"]');
123
+ for (var O = 0, ue = M.length; O < ue; O++) {
124
+ var $ = M[O].getAttribute(W);
125
+ $ && !$.match(new RegExp('url\\("?#' + T + '"?\\)')) || M[O].setAttribute(W, "url(#" + k + ")");
126
+ }
127
+ });
128
+ for (var U = r.querySelectorAll("[*|href]"), H = [], N = 0, ae = U.length; N < ae; N++) {
129
+ var P = U[N].getAttributeNS(F, "href");
130
+ P && P.toString() === "#" + d[I].id && H.push(U[N]);
177
131
  }
178
- return null;
179
- }
180
- return v(r);
181
- }
182
- function X(e) {
183
- if (!Array.isArray(e))
184
- return process.env.NODE_ENV !== "production" && T("Invalid argument supplied to oneOfType, expected an instance of array."), E;
185
- for (var r = 0; r < e.length; r++) {
186
- var u = e[r];
187
- if (typeof u != "function")
188
- return T(
189
- "Invalid argument supplied to oneOfType. Expected an array of check functions, but received " + $(u) + " at index " + r + "."
190
- ), E;
191
- }
192
- function i(n, f, t, a, o) {
193
- for (var c = [], s = 0; s < e.length; s++) {
194
- var y = e[s], l = y(n, f, t, a, o, h);
195
- if (l == null)
196
- return null;
197
- l.data && j(l.data, "expectedType") && c.push(l.data.expectedType);
198
- }
199
- var b = c.length > 0 ? ", expected one of type [" + c.join(", ") + "]" : "";
200
- return new d("Invalid " + a + " `" + o + "` supplied to " + ("`" + t + "`" + b + "."));
201
- }
202
- return v(i);
203
- }
204
- function G() {
205
- function e(r, u, i, n, f) {
206
- return I(r[u]) ? null : new d("Invalid " + n + " `" + f + "` supplied to " + ("`" + i + "`, expected a ReactNode."));
207
- }
208
- return v(e);
209
- }
210
- function q(e, r, u, i, n) {
211
- return new d(
212
- (e || "React class") + ": " + r + " type `" + u + "." + i + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + n + "`."
213
- );
214
- }
215
- function K(e) {
216
- function r(u, i, n, f, t) {
217
- var a = u[i], o = g(a);
218
- if (o !== "object")
219
- return new d("Invalid " + f + " `" + t + "` of type `" + o + "` " + ("supplied to `" + n + "`, expected `object`."));
220
- for (var c in e) {
221
- var s = e[c];
222
- if (typeof s != "function")
223
- return q(n, f, t, c, O(s));
224
- var y = s(a, c, n, f, t + "." + c, h);
225
- if (y)
226
- return y;
227
- }
228
- return null;
229
- }
230
- return v(r);
231
- }
232
- function Q(e) {
233
- function r(u, i, n, f, t) {
234
- var a = u[i], o = g(a);
235
- if (o !== "object")
236
- return new d("Invalid " + f + " `" + t + "` of type `" + o + "` " + ("supplied to `" + n + "`, expected `object`."));
237
- var c = W({}, u[i], e);
238
- for (var s in c) {
239
- var y = e[s];
240
- if (j(e, s) && typeof y != "function")
241
- return q(n, f, t, s, O(y));
242
- if (!y)
243
- return new d(
244
- "Invalid " + f + " `" + t + "` key `" + s + "` supplied to `" + n + "`.\nBad object: " + JSON.stringify(u[i], null, " ") + `
245
- Valid keys: ` + JSON.stringify(Object.keys(e), null, " ")
246
- );
247
- var l = y(a, s, n, f, t + "." + s, h);
248
- if (l)
249
- return l;
250
- }
251
- return null;
252
- }
253
- return v(r);
254
- }
255
- function I(e) {
256
- switch (typeof e) {
257
- case "number":
258
- case "string":
259
- case "undefined":
260
- return !0;
261
- case "boolean":
262
- return !e;
263
- case "object":
264
- if (Array.isArray(e))
265
- return e.every(I);
266
- if (e === null || x(e))
267
- return !0;
268
- var r = m(e);
269
- if (r) {
270
- var u = r.call(e), i;
271
- if (r !== e.entries) {
272
- for (; !(i = u.next()).done; )
273
- if (!I(i.value))
274
- return !1;
275
- } else
276
- for (; !(i = u.next()).done; ) {
277
- var n = i.value;
278
- if (n && !I(n[1]))
279
- return !1;
280
- }
281
- } else
282
- return !1;
283
- return !0;
284
- default:
285
- return !1;
286
- }
287
- }
288
- function Z(e, r) {
289
- return e === "symbol" ? !0 : r ? r["@@toStringTag"] === "Symbol" || typeof Symbol == "function" && r instanceof Symbol : !1;
290
- }
291
- function g(e) {
292
- var r = typeof e;
293
- return Array.isArray(e) ? "array" : e instanceof RegExp ? "object" : Z(r, e) ? "symbol" : r;
294
- }
295
- function O(e) {
296
- if (typeof e == "undefined" || e === null)
297
- return "" + e;
298
- var r = g(e);
299
- if (r === "object") {
300
- if (e instanceof Date)
301
- return "date";
302
- if (e instanceof RegExp)
303
- return "regexp";
304
- }
305
- return r;
306
- }
307
- function $(e) {
308
- var r = O(e);
309
- switch (r) {
310
- case "array":
311
- case "object":
312
- return "an " + r;
313
- case "boolean":
314
- case "date":
315
- case "regexp":
316
- return "a " + r;
317
- default:
318
- return r;
319
- }
320
- }
321
- function V(e) {
322
- return !e.constructor || !e.constructor.name ? P : e.constructor.name;
323
- }
324
- return w.checkPropTypes = R, w.resetWarningCache = R.resetWarningCache, w.PropTypes = w, w;
325
- }, A;
326
- }
132
+ for (var Q = 0, oe = H.length; Q < oe; Q++)
133
+ H[Q].setAttributeNS(F, "href", "#" + k);
134
+ d[I].id = k;
135
+ }, _ = 0, ie = d.length; _ < ie; _++)
136
+ ne(_);
137
+ });
138
+ }
139
+ r.removeAttribute("xmlns:a");
140
+ for (var x = r.querySelectorAll("script"), L = [], V, q, A = 0, ee = x.length; A < ee; A++)
141
+ q = x[A].getAttribute("type"), (!q || q === "application/ecmascript" || q === "application/javascript" || q === "text/javascript") && (V = x[A].innerText || x[A].textContent, V && L.push(V), r.removeChild(x[A]));
142
+ if (L.length > 0 && (o === "always" || o === "once" && !J[f])) {
143
+ for (var X = 0, te = L.length; X < te; X++)
144
+ new Function(L[X])(window);
145
+ J[f] = !0;
146
+ }
147
+ var re = r.querySelectorAll("style");
148
+ if (Array.prototype.forEach.call(re, function(s) {
149
+ s.textContent += "";
150
+ }), r.setAttribute("xmlns", ve), r.setAttribute("xmlns:xlink", F), i(r), !e.parentNode) {
151
+ l.splice(l.indexOf(e), 1), e = null, a(new Error("Parent node is null"));
152
+ return;
153
+ }
154
+ e.parentNode.replaceChild(r, e), l.splice(l.indexOf(e), 1), e = null, a(null, r);
155
+ });
156
+ }, we = function(e, o) {
157
+ var n = o === void 0 ? {} : o, t = n.afterAll, u = t === void 0 ? function() {
158
+ } : t, i = n.afterEach, a = i === void 0 ? function() {
159
+ } : i, f = n.beforeEach, v = f === void 0 ? function() {
160
+ } : f, j = n.cacheRequests, r = j === void 0 ? !0 : j, w = n.evalScripts, S = w === void 0 ? "never" : w, E = n.httpRequestWithCredentials, y = E === void 0 ? !1 : E, G = n.renumerateIRIElements, b = G === void 0 ? !0 : G;
161
+ if (e && "length" in e)
162
+ for (var R = 0, h = 0, C = e.length; h < C; h++)
163
+ K(e[h], S, b, r, y, v, function(d, m) {
164
+ a(d, m), e && "length" in e && e.length === ++R && u(R);
165
+ });
166
+ else e ? K(e, S, b, r, y, v, function(d, m) {
167
+ a(d, m), u(1), e = null;
168
+ }) : u(0);
169
+ };
327
170
  export {
328
- oe as __require
171
+ we as SVGInjector
329
172
  };
330
173
  //# sourceMappingURL=index122.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index122.js","sources":["../node_modules/prop-types/factoryWithTypeCheckers.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 ReactIs = require('react-is');\nvar assign = require('object-assign');\n\nvar ReactPropTypesSecret = require('./lib/ReactPropTypesSecret');\nvar has = require('./lib/has');\nvar checkPropTypes = require('./checkPropTypes');\n\nvar printWarning = function() {};\n\nif (process.env.NODE_ENV !== 'production') {\n printWarning = function(text) {\n var message = 'Warning: ' + text;\n if (typeof console !== 'undefined') {\n console.error(message);\n }\n try {\n // --- Welcome to debugging React ---\n // This error was thrown as a convenience so that you can use this stack\n // to find the callsite that caused this warning to fire.\n throw new Error(message);\n } catch (x) {}\n };\n}\n\nfunction emptyFunctionThatReturnsNull() {\n return null;\n}\n\nmodule.exports = function(isValidElement, throwOnDirectAccess) {\n /* global Symbol */\n var ITERATOR_SYMBOL = typeof Symbol === 'function' && Symbol.iterator;\n var FAUX_ITERATOR_SYMBOL = '@@iterator'; // Before Symbol spec.\n\n /**\n * Returns the iterator method function contained on the iterable object.\n *\n * Be sure to invoke the function with the iterable as context:\n *\n * var iteratorFn = getIteratorFn(myIterable);\n * if (iteratorFn) {\n * var iterator = iteratorFn.call(myIterable);\n * ...\n * }\n *\n * @param {?object} maybeIterable\n * @return {?function}\n */\n function getIteratorFn(maybeIterable) {\n var iteratorFn = maybeIterable && (ITERATOR_SYMBOL && maybeIterable[ITERATOR_SYMBOL] || maybeIterable[FAUX_ITERATOR_SYMBOL]);\n if (typeof iteratorFn === 'function') {\n return iteratorFn;\n }\n }\n\n /**\n * Collection of methods that allow declaration and validation of props that are\n * supplied to React components. Example usage:\n *\n * var Props = require('ReactPropTypes');\n * var MyArticle = React.createClass({\n * propTypes: {\n * // An optional string prop named \"description\".\n * description: Props.string,\n *\n * // A required enum prop named \"category\".\n * category: Props.oneOf(['News','Photos']).isRequired,\n *\n * // A prop named \"dialog\" that requires an instance of Dialog.\n * dialog: Props.instanceOf(Dialog).isRequired\n * },\n * render: function() { ... }\n * });\n *\n * A more formal specification of how these methods are used:\n *\n * type := array|bool|func|object|number|string|oneOf([...])|instanceOf(...)\n * decl := ReactPropTypes.{type}(.isRequired)?\n *\n * Each and every declaration produces a function with the same signature. This\n * allows the creation of custom validation functions. For example:\n *\n * var MyLink = React.createClass({\n * propTypes: {\n * // An optional string or URI prop named \"href\".\n * href: function(props, propName, componentName) {\n * var propValue = props[propName];\n * if (propValue != null && typeof propValue !== 'string' &&\n * !(propValue instanceof URI)) {\n * return new Error(\n * 'Expected a string or an URI for ' + propName + ' in ' +\n * componentName\n * );\n * }\n * }\n * },\n * render: function() {...}\n * });\n *\n * @internal\n */\n\n var ANONYMOUS = '<<anonymous>>';\n\n // Important!\n // Keep this list in sync with production version in `./factoryWithThrowingShims.js`.\n var ReactPropTypes = {\n array: createPrimitiveTypeChecker('array'),\n bigint: createPrimitiveTypeChecker('bigint'),\n bool: createPrimitiveTypeChecker('boolean'),\n func: createPrimitiveTypeChecker('function'),\n number: createPrimitiveTypeChecker('number'),\n object: createPrimitiveTypeChecker('object'),\n string: createPrimitiveTypeChecker('string'),\n symbol: createPrimitiveTypeChecker('symbol'),\n\n any: createAnyTypeChecker(),\n arrayOf: createArrayOfTypeChecker,\n element: createElementTypeChecker(),\n elementType: createElementTypeTypeChecker(),\n instanceOf: createInstanceTypeChecker,\n node: createNodeChecker(),\n objectOf: createObjectOfTypeChecker,\n oneOf: createEnumTypeChecker,\n oneOfType: createUnionTypeChecker,\n shape: createShapeTypeChecker,\n exact: createStrictShapeTypeChecker,\n };\n\n /**\n * inlined Object.is polyfill to avoid requiring consumers ship their own\n * https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/is\n */\n /*eslint-disable no-self-compare*/\n function is(x, y) {\n // SameValue algorithm\n if (x === y) {\n // Steps 1-5, 7-10\n // Steps 6.b-6.e: +0 != -0\n return x !== 0 || 1 / x === 1 / y;\n } else {\n // Step 6.a: NaN == NaN\n return x !== x && y !== y;\n }\n }\n /*eslint-enable no-self-compare*/\n\n /**\n * We use an Error-like object for backward compatibility as people may call\n * PropTypes directly and inspect their output. However, we don't use real\n * Errors anymore. We don't inspect their stack anyway, and creating them\n * is prohibitively expensive if they are created too often, such as what\n * happens in oneOfType() for any type before the one that matched.\n */\n function PropTypeError(message, data) {\n this.message = message;\n this.data = data && typeof data === 'object' ? data: {};\n this.stack = '';\n }\n // Make `instanceof Error` still work for returned errors.\n PropTypeError.prototype = Error.prototype;\n\n function createChainableTypeChecker(validate) {\n if (process.env.NODE_ENV !== 'production') {\n var manualPropTypeCallCache = {};\n var manualPropTypeWarningCount = 0;\n }\n function checkType(isRequired, props, propName, componentName, location, propFullName, secret) {\n componentName = componentName || ANONYMOUS;\n propFullName = propFullName || propName;\n\n if (secret !== ReactPropTypesSecret) {\n if (throwOnDirectAccess) {\n // New behavior only for users of `prop-types` package\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 } else if (process.env.NODE_ENV !== 'production' && typeof console !== 'undefined') {\n // Old behavior for people using React.PropTypes\n var cacheKey = componentName + ':' + propName;\n if (\n !manualPropTypeCallCache[cacheKey] &&\n // Avoid spamming the console because they are often not actionable except for lib authors\n manualPropTypeWarningCount < 3\n ) {\n printWarning(\n 'You are manually calling a React.PropTypes validation ' +\n 'function for the `' + propFullName + '` prop on `' + componentName + '`. This is deprecated ' +\n 'and will throw in the standalone `prop-types` package. ' +\n 'You may be seeing this warning due to a third-party PropTypes ' +\n 'library. See https://fb.me/react-warning-dont-call-proptypes ' + 'for details.'\n );\n manualPropTypeCallCache[cacheKey] = true;\n manualPropTypeWarningCount++;\n }\n }\n }\n if (props[propName] == null) {\n if (isRequired) {\n if (props[propName] === null) {\n return new PropTypeError('The ' + location + ' `' + propFullName + '` is marked as required ' + ('in `' + componentName + '`, but its value is `null`.'));\n }\n return new PropTypeError('The ' + location + ' `' + propFullName + '` is marked as required in ' + ('`' + componentName + '`, but its value is `undefined`.'));\n }\n return null;\n } else {\n return validate(props, propName, componentName, location, propFullName);\n }\n }\n\n var chainedCheckType = checkType.bind(null, false);\n chainedCheckType.isRequired = checkType.bind(null, true);\n\n return chainedCheckType;\n }\n\n function createPrimitiveTypeChecker(expectedType) {\n function validate(props, propName, componentName, location, propFullName, secret) {\n var propValue = props[propName];\n var propType = getPropType(propValue);\n if (propType !== expectedType) {\n // `propValue` being instance of, say, date/regexp, pass the 'object'\n // check, but we can offer a more precise error message here rather than\n // 'of type `object`'.\n var preciseType = getPreciseType(propValue);\n\n return new PropTypeError(\n 'Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + preciseType + '` supplied to `' + componentName + '`, expected ') + ('`' + expectedType + '`.'),\n {expectedType: expectedType}\n );\n }\n return null;\n }\n return createChainableTypeChecker(validate);\n }\n\n function createAnyTypeChecker() {\n return createChainableTypeChecker(emptyFunctionThatReturnsNull);\n }\n\n function createArrayOfTypeChecker(typeChecker) {\n function validate(props, propName, componentName, location, propFullName) {\n if (typeof typeChecker !== 'function') {\n return new PropTypeError('Property `' + propFullName + '` of component `' + componentName + '` has invalid PropType notation inside arrayOf.');\n }\n var propValue = props[propName];\n if (!Array.isArray(propValue)) {\n var propType = getPropType(propValue);\n return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + propType + '` supplied to `' + componentName + '`, expected an array.'));\n }\n for (var i = 0; i < propValue.length; i++) {\n var error = typeChecker(propValue, i, componentName, location, propFullName + '[' + i + ']', ReactPropTypesSecret);\n if (error instanceof Error) {\n return error;\n }\n }\n return null;\n }\n return createChainableTypeChecker(validate);\n }\n\n function createElementTypeChecker() {\n function validate(props, propName, componentName, location, propFullName) {\n var propValue = props[propName];\n if (!isValidElement(propValue)) {\n var propType = getPropType(propValue);\n return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + propType + '` supplied to `' + componentName + '`, expected a single ReactElement.'));\n }\n return null;\n }\n return createChainableTypeChecker(validate);\n }\n\n function createElementTypeTypeChecker() {\n function validate(props, propName, componentName, location, propFullName) {\n var propValue = props[propName];\n if (!ReactIs.isValidElementType(propValue)) {\n var propType = getPropType(propValue);\n return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + propType + '` supplied to `' + componentName + '`, expected a single ReactElement type.'));\n }\n return null;\n }\n return createChainableTypeChecker(validate);\n }\n\n function createInstanceTypeChecker(expectedClass) {\n function validate(props, propName, componentName, location, propFullName) {\n if (!(props[propName] instanceof expectedClass)) {\n var expectedClassName = expectedClass.name || ANONYMOUS;\n var actualClassName = getClassName(props[propName]);\n return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + actualClassName + '` supplied to `' + componentName + '`, expected ') + ('instance of `' + expectedClassName + '`.'));\n }\n return null;\n }\n return createChainableTypeChecker(validate);\n }\n\n function createEnumTypeChecker(expectedValues) {\n if (!Array.isArray(expectedValues)) {\n if (process.env.NODE_ENV !== 'production') {\n if (arguments.length > 1) {\n printWarning(\n 'Invalid arguments supplied to oneOf, expected an array, got ' + arguments.length + ' arguments. ' +\n 'A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z]).'\n );\n } else {\n printWarning('Invalid argument supplied to oneOf, expected an array.');\n }\n }\n return emptyFunctionThatReturnsNull;\n }\n\n function validate(props, propName, componentName, location, propFullName) {\n var propValue = props[propName];\n for (var i = 0; i < expectedValues.length; i++) {\n if (is(propValue, expectedValues[i])) {\n return null;\n }\n }\n\n var valuesString = JSON.stringify(expectedValues, function replacer(key, value) {\n var type = getPreciseType(value);\n if (type === 'symbol') {\n return String(value);\n }\n return value;\n });\n return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of value `' + String(propValue) + '` ' + ('supplied to `' + componentName + '`, expected one of ' + valuesString + '.'));\n }\n return createChainableTypeChecker(validate);\n }\n\n function createObjectOfTypeChecker(typeChecker) {\n function validate(props, propName, componentName, location, propFullName) {\n if (typeof typeChecker !== 'function') {\n return new PropTypeError('Property `' + propFullName + '` of component `' + componentName + '` has invalid PropType notation inside objectOf.');\n }\n var propValue = props[propName];\n var propType = getPropType(propValue);\n if (propType !== 'object') {\n return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + propType + '` supplied to `' + componentName + '`, expected an object.'));\n }\n for (var key in propValue) {\n if (has(propValue, key)) {\n var error = typeChecker(propValue, key, componentName, location, propFullName + '.' + key, ReactPropTypesSecret);\n if (error instanceof Error) {\n return error;\n }\n }\n }\n return null;\n }\n return createChainableTypeChecker(validate);\n }\n\n function createUnionTypeChecker(arrayOfTypeCheckers) {\n if (!Array.isArray(arrayOfTypeCheckers)) {\n process.env.NODE_ENV !== 'production' ? printWarning('Invalid argument supplied to oneOfType, expected an instance of array.') : void 0;\n return emptyFunctionThatReturnsNull;\n }\n\n for (var i = 0; i < arrayOfTypeCheckers.length; i++) {\n var checker = arrayOfTypeCheckers[i];\n if (typeof checker !== 'function') {\n printWarning(\n 'Invalid argument supplied to oneOfType. Expected an array of check functions, but ' +\n 'received ' + getPostfixForTypeWarning(checker) + ' at index ' + i + '.'\n );\n return emptyFunctionThatReturnsNull;\n }\n }\n\n function validate(props, propName, componentName, location, propFullName) {\n var expectedTypes = [];\n for (var i = 0; i < arrayOfTypeCheckers.length; i++) {\n var checker = arrayOfTypeCheckers[i];\n var checkerResult = checker(props, propName, componentName, location, propFullName, ReactPropTypesSecret);\n if (checkerResult == null) {\n return null;\n }\n if (checkerResult.data && has(checkerResult.data, 'expectedType')) {\n expectedTypes.push(checkerResult.data.expectedType);\n }\n }\n var expectedTypesMessage = (expectedTypes.length > 0) ? ', expected one of type [' + expectedTypes.join(', ') + ']': '';\n return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` supplied to ' + ('`' + componentName + '`' + expectedTypesMessage + '.'));\n }\n return createChainableTypeChecker(validate);\n }\n\n function createNodeChecker() {\n function validate(props, propName, componentName, location, propFullName) {\n if (!isNode(props[propName])) {\n return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` supplied to ' + ('`' + componentName + '`, expected a ReactNode.'));\n }\n return null;\n }\n return createChainableTypeChecker(validate);\n }\n\n function invalidValidatorError(componentName, location, propFullName, key, type) {\n return new PropTypeError(\n (componentName || 'React class') + ': ' + location + ' type `' + propFullName + '.' + key + '` is invalid; ' +\n 'it must be a function, usually from the `prop-types` package, but received `' + type + '`.'\n );\n }\n\n function createShapeTypeChecker(shapeTypes) {\n function validate(props, propName, componentName, location, propFullName) {\n var propValue = props[propName];\n var propType = getPropType(propValue);\n if (propType !== 'object') {\n return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type `' + propType + '` ' + ('supplied to `' + componentName + '`, expected `object`.'));\n }\n for (var key in shapeTypes) {\n var checker = shapeTypes[key];\n if (typeof checker !== 'function') {\n return invalidValidatorError(componentName, location, propFullName, key, getPreciseType(checker));\n }\n var error = checker(propValue, key, componentName, location, propFullName + '.' + key, ReactPropTypesSecret);\n if (error) {\n return error;\n }\n }\n return null;\n }\n return createChainableTypeChecker(validate);\n }\n\n function createStrictShapeTypeChecker(shapeTypes) {\n function validate(props, propName, componentName, location, propFullName) {\n var propValue = props[propName];\n var propType = getPropType(propValue);\n if (propType !== 'object') {\n return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type `' + propType + '` ' + ('supplied to `' + componentName + '`, expected `object`.'));\n }\n // We need to check all keys in case some are required but missing from props.\n var allKeys = assign({}, props[propName], shapeTypes);\n for (var key in allKeys) {\n var checker = shapeTypes[key];\n if (has(shapeTypes, key) && typeof checker !== 'function') {\n return invalidValidatorError(componentName, location, propFullName, key, getPreciseType(checker));\n }\n if (!checker) {\n return new PropTypeError(\n 'Invalid ' + location + ' `' + propFullName + '` key `' + key + '` supplied to `' + componentName + '`.' +\n '\\nBad object: ' + JSON.stringify(props[propName], null, ' ') +\n '\\nValid keys: ' + JSON.stringify(Object.keys(shapeTypes), null, ' ')\n );\n }\n var error = checker(propValue, key, componentName, location, propFullName + '.' + key, ReactPropTypesSecret);\n if (error) {\n return error;\n }\n }\n return null;\n }\n\n return createChainableTypeChecker(validate);\n }\n\n function isNode(propValue) {\n switch (typeof propValue) {\n case 'number':\n case 'string':\n case 'undefined':\n return true;\n case 'boolean':\n return !propValue;\n case 'object':\n if (Array.isArray(propValue)) {\n return propValue.every(isNode);\n }\n if (propValue === null || isValidElement(propValue)) {\n return true;\n }\n\n var iteratorFn = getIteratorFn(propValue);\n if (iteratorFn) {\n var iterator = iteratorFn.call(propValue);\n var step;\n if (iteratorFn !== propValue.entries) {\n while (!(step = iterator.next()).done) {\n if (!isNode(step.value)) {\n return false;\n }\n }\n } else {\n // Iterator will provide entry [k,v] tuples rather than values.\n while (!(step = iterator.next()).done) {\n var entry = step.value;\n if (entry) {\n if (!isNode(entry[1])) {\n return false;\n }\n }\n }\n }\n } else {\n return false;\n }\n\n return true;\n default:\n return false;\n }\n }\n\n function isSymbol(propType, propValue) {\n // Native Symbol.\n if (propType === 'symbol') {\n return true;\n }\n\n // falsy value can't be a Symbol\n if (!propValue) {\n return false;\n }\n\n // 19.4.3.5 Symbol.prototype[@@toStringTag] === 'Symbol'\n if (propValue['@@toStringTag'] === 'Symbol') {\n return true;\n }\n\n // Fallback for non-spec compliant Symbols which are polyfilled.\n if (typeof Symbol === 'function' && propValue instanceof Symbol) {\n return true;\n }\n\n return false;\n }\n\n // Equivalent of `typeof` but with special handling for array and regexp.\n function getPropType(propValue) {\n var propType = typeof propValue;\n if (Array.isArray(propValue)) {\n return 'array';\n }\n if (propValue instanceof RegExp) {\n // Old webkits (at least until Android 4.0) return 'function' rather than\n // 'object' for typeof a RegExp. We'll normalize this here so that /bla/\n // passes PropTypes.object.\n return 'object';\n }\n if (isSymbol(propType, propValue)) {\n return 'symbol';\n }\n return propType;\n }\n\n // This handles more types than `getPropType`. Only used for error messages.\n // See `createPrimitiveTypeChecker`.\n function getPreciseType(propValue) {\n if (typeof propValue === 'undefined' || propValue === null) {\n return '' + propValue;\n }\n var propType = getPropType(propValue);\n if (propType === 'object') {\n if (propValue instanceof Date) {\n return 'date';\n } else if (propValue instanceof RegExp) {\n return 'regexp';\n }\n }\n return propType;\n }\n\n // Returns a string that is postfixed to a warning about an invalid type.\n // For example, \"undefined\" or \"of type array\"\n function getPostfixForTypeWarning(value) {\n var type = getPreciseType(value);\n switch (type) {\n case 'array':\n case 'object':\n return 'an ' + type;\n case 'boolean':\n case 'date':\n case 'regexp':\n return 'a ' + type;\n default:\n return type;\n }\n }\n\n // Returns class name of the object, if any.\n function getClassName(propValue) {\n if (!propValue.constructor || !propValue.constructor.name) {\n return ANONYMOUS;\n }\n return propValue.constructor.name;\n }\n\n ReactPropTypes.checkPropTypes = checkPropTypes;\n ReactPropTypes.resetWarningCache = checkPropTypes.resetWarningCache;\n ReactPropTypes.PropTypes = ReactPropTypes;\n\n return ReactPropTypes;\n};\n"],"names":["ReactIs","require$$0","assign","require$$1","ReactPropTypesSecret","require$$2","has","require$$3","checkPropTypes","require$$4","printWarning","text","message","x","emptyFunctionThatReturnsNull","factoryWithTypeCheckers","isValidElement","throwOnDirectAccess","ITERATOR_SYMBOL","FAUX_ITERATOR_SYMBOL","getIteratorFn","maybeIterable","iteratorFn","ANONYMOUS","ReactPropTypes","createPrimitiveTypeChecker","createAnyTypeChecker","createArrayOfTypeChecker","createElementTypeChecker","createElementTypeTypeChecker","createInstanceTypeChecker","createNodeChecker","createObjectOfTypeChecker","createEnumTypeChecker","createUnionTypeChecker","createShapeTypeChecker","createStrictShapeTypeChecker","is","y","PropTypeError","data","createChainableTypeChecker","validate","manualPropTypeCallCache","manualPropTypeWarningCount","checkType","isRequired","props","propName","componentName","location","propFullName","secret","err","cacheKey","chainedCheckType","expectedType","propValue","propType","getPropType","preciseType","getPreciseType","typeChecker","i","error","expectedClass","expectedClassName","actualClassName","getClassName","expectedValues","valuesString","key","value","type","arrayOfTypeCheckers","checker","getPostfixForTypeWarning","expectedTypes","checkerResult","expectedTypesMessage","isNode","invalidValidatorError","shapeTypes","allKeys","iterator","step","entry","isSymbol"],"mappings":";;;;;;;;;AASA,MAAIA,IAAUC,EAAmB,GAC7BC,IAASC,EAAwB,GAEjCC,IAAuBC,GAAqC,GAC5DC,IAAMC,GAAoB,GAC1BC,IAAiBC,GAA2B,GAE5CC,IAAe,WAAW;A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A,CAAS,IAClB,UAELA,aAAqB,SAIhB,WAEL8B,EAAS7B,GAAUD,CAAS,IACvB,WAEFC;AAAA;AAKT,aAASG,EAAeJ,GAAW;AACjC,UAAI,OAAOA,KAAc,eAAeA,MAAc;AACpD,eAAO,KAAKA;AAEd,UAAIC,IAAWC,EAAYF,CAAS;AACpC,UAAIC,MAAa,UAAU;AACzB,YAAID,aAAqB;AACvB,iBAAO;AACF,YAAIA,aAAqB;AAC9B,iBAAO;AAAA;AAGX,aAAOC;AAAA;AAKT,aAASkB,EAAyBJ,GAAO;AACvC,UAAIC,IAAOZ,EAAeW,CAAK;AAC/B,cAAQC,GAAI;AAAA,QACV,KAAK;AAAA,QACL,KAAK;AACH,iBAAO,QAAQA;AAAA,QACjB,KAAK;AAAA,QACL,KAAK;AAAA,QACL,KAAK;AACH,iBAAO,OAAOA;AAAA,QAChB;AACE,iBAAOA;AAAA;;AAKb,aAASL,EAAaX,GAAW;AAC/B,aAAI,CAACA,EAAU,eAAe,CAACA,EAAU,YAAY,OAC5ClC,IAEFkC,EAAU,YAAY;AAAA;AAG/B,WAAAjC,EAAe,iBAAiBhB,GAChCgB,EAAe,oBAAoBhB,EAAe,mBAClDgB,EAAe,YAAYA,GAEpBA;AAAA,EACR;;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index122.js","sources":["../node_modules/@tanem/svg-injector/dist/svg-injector.esm.js"],"sourcesContent":["import { __spreadArray } from 'tslib';\nimport { parse } from 'content-type';\n\nvar cache = new Map();\n\nvar cloneSvg = function cloneSvg(sourceSvg) {\n return sourceSvg.cloneNode(true);\n};\n\nvar isLocal = function isLocal() {\n return window.location.protocol === 'file:';\n};\n\nvar makeAjaxRequest = function makeAjaxRequest(url, httpRequestWithCredentials, callback) {\n var httpRequest = new XMLHttpRequest();\n httpRequest.onreadystatechange = function () {\n try {\n if (!/\\.svg/i.test(url) && httpRequest.readyState === 2) {\n var contentType = httpRequest.getResponseHeader('Content-Type');\n if (!contentType) {\n throw new Error('Content type not found');\n }\n var type = parse(contentType).type;\n if (!(type === 'image/svg+xml' || type === 'text/plain')) {\n throw new Error(\"Invalid content type: \".concat(type));\n }\n }\n if (httpRequest.readyState === 4) {\n if (httpRequest.status === 404 || httpRequest.responseXML === null) {\n throw new Error(isLocal() ? 'Note: SVG injection ajax calls do not work locally without ' + 'adjusting security settings in your browser. Or consider ' + 'using a local webserver.' : 'Unable to load SVG file: ' + url);\n }\n if (httpRequest.status === 200 || isLocal() && httpRequest.status === 0) {\n callback(null, httpRequest);\n } else {\n throw new Error('There was a problem injecting the SVG: ' + httpRequest.status + ' ' + httpRequest.statusText);\n }\n }\n } catch (error) {\n httpRequest.abort();\n if (error instanceof Error) {\n callback(error, httpRequest);\n } else {\n throw error;\n }\n }\n };\n httpRequest.open('GET', url);\n httpRequest.withCredentials = httpRequestWithCredentials;\n if (httpRequest.overrideMimeType) {\n httpRequest.overrideMimeType('text/xml');\n }\n httpRequest.send();\n};\n\nvar requestQueue = {};\nvar queueRequest = function queueRequest(url, callback) {\n requestQueue[url] = requestQueue[url] || [];\n requestQueue[url].push(callback);\n};\nvar processRequestQueue = function processRequestQueue(url) {\n var _loop_1 = function _loop_1(i, len) {\n setTimeout(function () {\n if (Array.isArray(requestQueue[url])) {\n var cacheValue = cache.get(url);\n var callback = requestQueue[url][i];\n if (cacheValue instanceof SVGSVGElement) {\n callback(null, cloneSvg(cacheValue));\n }\n if (cacheValue instanceof Error) {\n callback(cacheValue);\n }\n if (i === requestQueue[url].length - 1) {\n delete requestQueue[url];\n }\n }\n }, 0);\n };\n for (var i = 0, len = requestQueue[url].length; i < len; i++) {\n _loop_1(i);\n }\n};\n\nvar loadSvgCached = function loadSvgCached(url, httpRequestWithCredentials, callback) {\n if (cache.has(url)) {\n var cacheValue = cache.get(url);\n if (cacheValue === undefined) {\n queueRequest(url, callback);\n return;\n }\n if (cacheValue instanceof SVGSVGElement) {\n callback(null, cloneSvg(cacheValue));\n return;\n }\n }\n cache.set(url, undefined);\n queueRequest(url, callback);\n makeAjaxRequest(url, httpRequestWithCredentials, function (error, httpRequest) {\n var _a;\n if (error) {\n cache.set(url, error);\n } else if (((_a = httpRequest.responseXML) === null || _a === void 0 ? void 0 : _a.documentElement) instanceof SVGSVGElement) {\n cache.set(url, httpRequest.responseXML.documentElement);\n }\n processRequestQueue(url);\n });\n};\n\nvar loadSvgUncached = function loadSvgUncached(url, httpRequestWithCredentials, callback) {\n makeAjaxRequest(url, httpRequestWithCredentials, function (error, httpRequest) {\n var _a;\n if (error) {\n callback(error);\n } else if (((_a = httpRequest.responseXML) === null || _a === void 0 ? void 0 : _a.documentElement) instanceof SVGSVGElement) {\n callback(null, httpRequest.responseXML.documentElement);\n }\n });\n};\n\nvar idCounter = 0;\nvar uniqueId = function uniqueId() {\n return ++idCounter;\n};\n\nvar injectedElements = [];\nvar ranScripts = {};\nvar svgNamespace = 'http://www.w3.org/2000/svg';\nvar xlinkNamespace = 'http://www.w3.org/1999/xlink';\nvar injectElement = function injectElement(el, evalScripts, renumerateIRIElements, cacheRequests, httpRequestWithCredentials, beforeEach, callback) {\n var elUrl = el.getAttribute('data-src') || el.getAttribute('src');\n if (!elUrl) {\n callback(new Error('Invalid data-src or src attribute'));\n return;\n }\n if (injectedElements.indexOf(el) !== -1) {\n injectedElements.splice(injectedElements.indexOf(el), 1);\n el = null;\n return;\n }\n injectedElements.push(el);\n el.setAttribute('src', '');\n var loadSvg = cacheRequests ? loadSvgCached : loadSvgUncached;\n loadSvg(elUrl, httpRequestWithCredentials, function (error, svg) {\n if (!svg) {\n injectedElements.splice(injectedElements.indexOf(el), 1);\n el = null;\n callback(error);\n return;\n }\n var elId = el.getAttribute('id');\n if (elId) {\n svg.setAttribute('id', elId);\n }\n var elTitle = el.getAttribute('title');\n if (elTitle) {\n svg.setAttribute('title', elTitle);\n }\n var elWidth = el.getAttribute('width');\n if (elWidth) {\n svg.setAttribute('width', elWidth);\n }\n var elHeight = el.getAttribute('height');\n if (elHeight) {\n svg.setAttribute('height', elHeight);\n }\n var mergedClasses = Array.from(new Set(__spreadArray(__spreadArray(__spreadArray([], (svg.getAttribute('class') || '').split(' '), true), ['injected-svg'], false), (el.getAttribute('class') || '').split(' '), true))).join(' ').trim();\n svg.setAttribute('class', mergedClasses);\n var elStyle = el.getAttribute('style');\n if (elStyle) {\n svg.setAttribute('style', elStyle);\n }\n svg.setAttribute('data-src', elUrl);\n var elData = [].filter.call(el.attributes, function (at) {\n return /^data-\\w[\\w-]*$/.test(at.name);\n });\n Array.prototype.forEach.call(elData, function (dataAttr) {\n if (dataAttr.name && dataAttr.value) {\n svg.setAttribute(dataAttr.name, dataAttr.value);\n }\n });\n if (renumerateIRIElements) {\n var iriElementsAndProperties_1 = {\n clipPath: ['clip-path'],\n 'color-profile': ['color-profile'],\n cursor: ['cursor'],\n filter: ['filter'],\n linearGradient: ['fill', 'stroke'],\n marker: ['marker', 'marker-start', 'marker-mid', 'marker-end'],\n mask: ['mask'],\n path: [],\n pattern: ['fill', 'stroke'],\n radialGradient: ['fill', 'stroke']\n };\n var element_1;\n var elements_1;\n var properties_1;\n var currentId_1;\n var newId_1;\n Object.keys(iriElementsAndProperties_1).forEach(function (key) {\n element_1 = key;\n properties_1 = iriElementsAndProperties_1[key];\n elements_1 = svg.querySelectorAll(element_1 + '[id]');\n var _loop_1 = function _loop_1(a, elementsLen) {\n currentId_1 = elements_1[a].id;\n newId_1 = currentId_1 + '-' + uniqueId();\n var referencingElements;\n Array.prototype.forEach.call(properties_1, function (property) {\n referencingElements = svg.querySelectorAll('[' + property + '*=\"' + currentId_1 + '\"]');\n for (var b = 0, referencingElementLen = referencingElements.length; b < referencingElementLen; b++) {\n var attrValue = referencingElements[b].getAttribute(property);\n if (attrValue && !attrValue.match(new RegExp('url\\\\(\"?#' + currentId_1 + '\"?\\\\)'))) {\n continue;\n }\n referencingElements[b].setAttribute(property, 'url(#' + newId_1 + ')');\n }\n });\n var allLinks = svg.querySelectorAll('[*|href]');\n var links = [];\n for (var c = 0, allLinksLen = allLinks.length; c < allLinksLen; c++) {\n var href = allLinks[c].getAttributeNS(xlinkNamespace, 'href');\n if (href && href.toString() === '#' + elements_1[a].id) {\n links.push(allLinks[c]);\n }\n }\n for (var d = 0, linksLen = links.length; d < linksLen; d++) {\n links[d].setAttributeNS(xlinkNamespace, 'href', '#' + newId_1);\n }\n elements_1[a].id = newId_1;\n };\n for (var a = 0, elementsLen = elements_1.length; a < elementsLen; a++) {\n _loop_1(a);\n }\n });\n }\n svg.removeAttribute('xmlns:a');\n var scripts = svg.querySelectorAll('script');\n var scriptsToEval = [];\n var script;\n var scriptType;\n for (var i = 0, scriptsLen = scripts.length; i < scriptsLen; i++) {\n scriptType = scripts[i].getAttribute('type');\n if (!scriptType || scriptType === 'application/ecmascript' || scriptType === 'application/javascript' || scriptType === 'text/javascript') {\n script = scripts[i].innerText || scripts[i].textContent;\n if (script) {\n scriptsToEval.push(script);\n }\n svg.removeChild(scripts[i]);\n }\n }\n if (scriptsToEval.length > 0 && (evalScripts === 'always' || evalScripts === 'once' && !ranScripts[elUrl])) {\n for (var l = 0, scriptsToEvalLen = scriptsToEval.length; l < scriptsToEvalLen; l++) {\n new Function(scriptsToEval[l])(window);\n }\n ranScripts[elUrl] = true;\n }\n var styleTags = svg.querySelectorAll('style');\n Array.prototype.forEach.call(styleTags, function (styleTag) {\n styleTag.textContent += '';\n });\n svg.setAttribute('xmlns', svgNamespace);\n svg.setAttribute('xmlns:xlink', xlinkNamespace);\n beforeEach(svg);\n if (!el.parentNode) {\n injectedElements.splice(injectedElements.indexOf(el), 1);\n el = null;\n callback(new Error('Parent node is null'));\n return;\n }\n el.parentNode.replaceChild(svg, el);\n injectedElements.splice(injectedElements.indexOf(el), 1);\n el = null;\n callback(null, svg);\n });\n};\n\nvar SVGInjector = function SVGInjector(elements, _a) {\n var _b = _a === void 0 ? {} : _a,\n _c = _b.afterAll,\n afterAll = _c === void 0 ? function () {\n return undefined;\n } : _c,\n _d = _b.afterEach,\n afterEach = _d === void 0 ? function () {\n return undefined;\n } : _d,\n _e = _b.beforeEach,\n beforeEach = _e === void 0 ? function () {\n return undefined;\n } : _e,\n _f = _b.cacheRequests,\n cacheRequests = _f === void 0 ? true : _f,\n _g = _b.evalScripts,\n evalScripts = _g === void 0 ? 'never' : _g,\n _h = _b.httpRequestWithCredentials,\n httpRequestWithCredentials = _h === void 0 ? false : _h,\n _j = _b.renumerateIRIElements,\n renumerateIRIElements = _j === void 0 ? true : _j;\n if (elements && 'length' in elements) {\n var elementsLoaded_1 = 0;\n for (var i = 0, j = elements.length; i < j; i++) {\n injectElement(elements[i], evalScripts, renumerateIRIElements, cacheRequests, httpRequestWithCredentials, beforeEach, function (error, svg) {\n afterEach(error, svg);\n if (elements && 'length' in elements && elements.length === ++elementsLoaded_1) {\n afterAll(elementsLoaded_1);\n }\n });\n }\n } else if (elements) {\n injectElement(elements, evalScripts, renumerateIRIElements, cacheRequests, httpRequestWithCredentials, beforeEach, function (error, svg) {\n afterEach(error, svg);\n afterAll(1);\n elements = null;\n });\n } else {\n afterAll(0);\n }\n};\n\nexport { SVGInjector };\n//# sourceMappingURL=svg-injector.esm.js.map\n"],"names":["__spreadArray","parse_1","cache","cloneSvg","sourceSvg","isLocal","makeAjaxRequest","url","httpRequestWithCredentials","callback","httpRequest","contentType","type","parse","error","requestQueue","queueRequest","processRequestQueue","_loop_1","len","cacheValue","i","loadSvgCached","_a","loadSvgUncached","idCounter","uniqueId","injectedElements","ranScripts","svgNamespace","xlinkNamespace","injectElement","el","evalScripts","renumerateIRIElements","cacheRequests","beforeEach","elUrl","loadSvg","svg","elId","elTitle","elWidth","elHeight","mergedClasses","elStyle","elData","at","dataAttr","iriElementsAndProperties_1","element_1","elements_1","properties_1","currentId_1","newId_1","key","a","elementsLen","referencingElements","property","b","referencingElementLen","attrValue","allLinks","links","c","allLinksLen","href","d","linksLen","scripts","scriptsToEval","script","scriptType","scriptsLen","l","scriptsToEvalLen","styleTags","styleTag","SVGInjector","elements","_b","_c","afterAll","_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