@grafana/aws-sdk 0.3.1 → 0.3.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (91) hide show
  1. package/README.md +3 -0
  2. package/dist/esm/{src/components → components}/ConnectionConfig.js +5 -14
  3. package/dist/esm/components/ConnectionConfig.js.map +1 -0
  4. package/dist/esm/components/ConnectionConfig.styles.js +8 -0
  5. package/dist/esm/components/ConnectionConfig.styles.js.map +1 -0
  6. package/dist/esm/{src/components → components}/Divider.js +6 -1
  7. package/dist/esm/components/Divider.js.map +1 -0
  8. package/dist/esm/{src/components → components}/NewConnectionConfig.js +3 -4
  9. package/dist/esm/components/NewConnectionConfig.js.map +1 -0
  10. package/dist/esm/components/SIGV4ConnectionConfig.js.map +1 -0
  11. package/dist/esm/components/utils/version.js +43 -0
  12. package/dist/esm/components/utils/version.js.map +1 -0
  13. package/dist/esm/{src/index.js → index.js} +2 -6
  14. package/dist/esm/{src/index.js.map → index.js.map} +1 -1
  15. package/dist/esm/providers.js.map +1 -0
  16. package/dist/esm/regions.js.map +1 -0
  17. package/dist/esm/sql/ConfigEditor/ConfigSelect.js.map +1 -0
  18. package/dist/esm/sql/ConfigEditor/InlineInput.js.map +1 -0
  19. package/dist/esm/sql/QueryEditor/FillValueSelect.js.map +1 -0
  20. package/dist/esm/sql/QueryEditor/FormatSelect.js.map +1 -0
  21. package/dist/esm/sql/QueryEditor/QueryCodeEditor.js.map +1 -0
  22. package/dist/esm/{src/sql → sql}/QueryEditor/QueryEditorHeader.js +1 -1
  23. package/dist/esm/sql/QueryEditor/QueryEditorHeader.js.map +1 -0
  24. package/dist/esm/sql/ResourceSelector.js.map +1 -0
  25. package/dist/esm/sql/types.js.map +1 -0
  26. package/dist/esm/sql/utils/utils.js.map +1 -0
  27. package/dist/esm/types.js.map +1 -0
  28. package/dist/index.d.ts +5 -4
  29. package/dist/index.js +50 -2038
  30. package/dist/index.js.map +1 -1
  31. package/package.json +4 -4
  32. package/dist/esm/node_modules/@emotion/cache/dist/emotion-cache.esm.js +0 -654
  33. package/dist/esm/node_modules/@emotion/cache/dist/emotion-cache.esm.js.map +0 -1
  34. package/dist/esm/node_modules/@emotion/css/create-instance/dist/emotion-css-create-instance.esm.js +0 -145
  35. package/dist/esm/node_modules/@emotion/css/create-instance/dist/emotion-css-create-instance.esm.js.map +0 -1
  36. package/dist/esm/node_modules/@emotion/css/dist/emotion-css.esm.js +0 -10
  37. package/dist/esm/node_modules/@emotion/css/dist/emotion-css.esm.js.map +0 -1
  38. package/dist/esm/node_modules/@emotion/hash/dist/emotion-hash.esm.js +0 -56
  39. package/dist/esm/node_modules/@emotion/hash/dist/emotion-hash.esm.js.map +0 -1
  40. package/dist/esm/node_modules/@emotion/memoize/dist/emotion-memoize.esm.js +0 -10
  41. package/dist/esm/node_modules/@emotion/memoize/dist/emotion-memoize.esm.js.map +0 -1
  42. package/dist/esm/node_modules/@emotion/serialize/dist/emotion-serialize.esm.js +0 -317
  43. package/dist/esm/node_modules/@emotion/serialize/dist/emotion-serialize.esm.js.map +0 -1
  44. package/dist/esm/node_modules/@emotion/sheet/dist/emotion-sheet.esm.js +0 -155
  45. package/dist/esm/node_modules/@emotion/sheet/dist/emotion-sheet.esm.js.map +0 -1
  46. package/dist/esm/node_modules/@emotion/unitless/dist/emotion-unitless.esm.js +0 -51
  47. package/dist/esm/node_modules/@emotion/unitless/dist/emotion-unitless.esm.js.map +0 -1
  48. package/dist/esm/node_modules/@emotion/utils/dist/emotion-utils.esm.js +0 -54
  49. package/dist/esm/node_modules/@emotion/utils/dist/emotion-utils.esm.js.map +0 -1
  50. package/dist/esm/node_modules/@emotion/weak-memoize/dist/emotion-weak-memoize.esm.js +0 -17
  51. package/dist/esm/node_modules/@emotion/weak-memoize/dist/emotion-weak-memoize.esm.js.map +0 -1
  52. package/dist/esm/node_modules/stylis/src/Enum.js +0 -12
  53. package/dist/esm/node_modules/stylis/src/Enum.js.map +0 -1
  54. package/dist/esm/node_modules/stylis/src/Middleware.js +0 -33
  55. package/dist/esm/node_modules/stylis/src/Middleware.js.map +0 -1
  56. package/dist/esm/node_modules/stylis/src/Parser.js +0 -194
  57. package/dist/esm/node_modules/stylis/src/Parser.js.map +0 -1
  58. package/dist/esm/node_modules/stylis/src/Serializer.js +0 -38
  59. package/dist/esm/node_modules/stylis/src/Serializer.js.map +0 -1
  60. package/dist/esm/node_modules/stylis/src/Tokenizer.js +0 -224
  61. package/dist/esm/node_modules/stylis/src/Tokenizer.js.map +0 -1
  62. package/dist/esm/node_modules/stylis/src/Utility.js +0 -118
  63. package/dist/esm/node_modules/stylis/src/Utility.js.map +0 -1
  64. package/dist/esm/src/components/ConnectionConfig.js.map +0 -1
  65. package/dist/esm/src/components/Divider.js.map +0 -1
  66. package/dist/esm/src/components/NewConnectionConfig.js.map +0 -1
  67. package/dist/esm/src/components/SIGV4ConnectionConfig.js.map +0 -1
  68. package/dist/esm/src/providers.js.map +0 -1
  69. package/dist/esm/src/regions.js.map +0 -1
  70. package/dist/esm/src/sql/ConfigEditor/ConfigSelect.js.map +0 -1
  71. package/dist/esm/src/sql/ConfigEditor/InlineInput.js.map +0 -1
  72. package/dist/esm/src/sql/QueryEditor/FillValueSelect.js.map +0 -1
  73. package/dist/esm/src/sql/QueryEditor/FormatSelect.js.map +0 -1
  74. package/dist/esm/src/sql/QueryEditor/QueryCodeEditor.js.map +0 -1
  75. package/dist/esm/src/sql/QueryEditor/QueryEditorHeader.js.map +0 -1
  76. package/dist/esm/src/sql/ResourceSelector.js.map +0 -1
  77. package/dist/esm/src/sql/types.js.map +0 -1
  78. package/dist/esm/src/sql/utils/utils.js.map +0 -1
  79. package/dist/esm/src/types.js.map +0 -1
  80. /package/dist/esm/{src/components → components}/SIGV4ConnectionConfig.js +0 -0
  81. /package/dist/esm/{src/providers.js → providers.js} +0 -0
  82. /package/dist/esm/{src/regions.js → regions.js} +0 -0
  83. /package/dist/esm/{src/sql → sql}/ConfigEditor/ConfigSelect.js +0 -0
  84. /package/dist/esm/{src/sql → sql}/ConfigEditor/InlineInput.js +0 -0
  85. /package/dist/esm/{src/sql → sql}/QueryEditor/FillValueSelect.js +0 -0
  86. /package/dist/esm/{src/sql → sql}/QueryEditor/FormatSelect.js +0 -0
  87. /package/dist/esm/{src/sql → sql}/QueryEditor/QueryCodeEditor.js +0 -0
  88. /package/dist/esm/{src/sql → sql}/ResourceSelector.js +0 -0
  89. /package/dist/esm/{src/sql → sql}/types.js +0 -0
  90. /package/dist/esm/{src/sql → sql}/utils/utils.js +0 -0
  91. /package/dist/esm/{src/types.js → types.js} +0 -0
@@ -1,317 +0,0 @@
1
- import murmur2 from '../../hash/dist/emotion-hash.esm.js';
2
- import unitlessKeys from '../../unitless/dist/emotion-unitless.esm.js';
3
- import memoize from '../../memoize/dist/emotion-memoize.esm.js';
4
-
5
- var ILLEGAL_ESCAPE_SEQUENCE_ERROR = "You have illegal escape sequence in your template literal, most likely inside content's property value.\nBecause you write your CSS inside a JavaScript string you actually have to do double escaping, so for example \"content: '\\00d7';\" should become \"content: '\\\\00d7';\".\nYou can read more about this here:\nhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_literals#ES2018_revision_of_illegal_escape_sequences";
6
- var UNDEFINED_AS_OBJECT_KEY_ERROR = "You have passed in falsy value as style object's key (can happen when in example you pass unexported component as computed key).";
7
- var hyphenateRegex = /[A-Z]|^ms/g;
8
- var animationRegex = /_EMO_([^_]+?)_([^]*?)_EMO_/g;
9
-
10
- var isCustomProperty = function isCustomProperty(property) {
11
- return property.charCodeAt(1) === 45;
12
- };
13
-
14
- var isProcessableValue = function isProcessableValue(value) {
15
- return value != null && typeof value !== 'boolean';
16
- };
17
-
18
- var processStyleName = /* #__PURE__ */memoize(function (styleName) {
19
- return isCustomProperty(styleName) ? styleName : styleName.replace(hyphenateRegex, '-$&').toLowerCase();
20
- });
21
-
22
- var processStyleValue = function processStyleValue(key, value) {
23
- switch (key) {
24
- case 'animation':
25
- case 'animationName':
26
- {
27
- if (typeof value === 'string') {
28
- return value.replace(animationRegex, function (match, p1, p2) {
29
- cursor = {
30
- name: p1,
31
- styles: p2,
32
- next: cursor
33
- };
34
- return p1;
35
- });
36
- }
37
- }
38
- }
39
-
40
- if (unitlessKeys[key] !== 1 && !isCustomProperty(key) && typeof value === 'number' && value !== 0) {
41
- return value + 'px';
42
- }
43
-
44
- return value;
45
- };
46
-
47
- if (process.env.NODE_ENV !== 'production') {
48
- var contentValuePattern = /(var|attr|counters?|url|element|(((repeating-)?(linear|radial))|conic)-gradient)\(|(no-)?(open|close)-quote/;
49
- var contentValues = ['normal', 'none', 'initial', 'inherit', 'unset'];
50
- var oldProcessStyleValue = processStyleValue;
51
- var msPattern = /^-ms-/;
52
- var hyphenPattern = /-(.)/g;
53
- var hyphenatedCache = {};
54
-
55
- processStyleValue = function processStyleValue(key, value) {
56
- if (key === 'content') {
57
- if (typeof value !== 'string' || contentValues.indexOf(value) === -1 && !contentValuePattern.test(value) && (value.charAt(0) !== value.charAt(value.length - 1) || value.charAt(0) !== '"' && value.charAt(0) !== "'")) {
58
- throw new Error("You seem to be using a value for 'content' without quotes, try replacing it with `content: '\"" + value + "\"'`");
59
- }
60
- }
61
-
62
- var processed = oldProcessStyleValue(key, value);
63
-
64
- if (processed !== '' && !isCustomProperty(key) && key.indexOf('-') !== -1 && hyphenatedCache[key] === undefined) {
65
- hyphenatedCache[key] = true;
66
- console.error("Using kebab-case for css properties in objects is not supported. Did you mean " + key.replace(msPattern, 'ms-').replace(hyphenPattern, function (str, _char) {
67
- return _char.toUpperCase();
68
- }) + "?");
69
- }
70
-
71
- return processed;
72
- };
73
- }
74
-
75
- var noComponentSelectorMessage = 'Component selectors can only be used in conjunction with ' + '@emotion/babel-plugin, the swc Emotion plugin, or another Emotion-aware ' + 'compiler transform.';
76
-
77
- function handleInterpolation(mergedProps, registered, interpolation) {
78
- if (interpolation == null) {
79
- return '';
80
- }
81
-
82
- if (interpolation.__emotion_styles !== undefined) {
83
- if (process.env.NODE_ENV !== 'production' && interpolation.toString() === 'NO_COMPONENT_SELECTOR') {
84
- throw new Error(noComponentSelectorMessage);
85
- }
86
-
87
- return interpolation;
88
- }
89
-
90
- switch (typeof interpolation) {
91
- case 'boolean':
92
- {
93
- return '';
94
- }
95
-
96
- case 'object':
97
- {
98
- if (interpolation.anim === 1) {
99
- cursor = {
100
- name: interpolation.name,
101
- styles: interpolation.styles,
102
- next: cursor
103
- };
104
- return interpolation.name;
105
- }
106
-
107
- if (interpolation.styles !== undefined) {
108
- var next = interpolation.next;
109
-
110
- if (next !== undefined) {
111
- // not the most efficient thing ever but this is a pretty rare case
112
- // and there will be very few iterations of this generally
113
- while (next !== undefined) {
114
- cursor = {
115
- name: next.name,
116
- styles: next.styles,
117
- next: cursor
118
- };
119
- next = next.next;
120
- }
121
- }
122
-
123
- var styles = interpolation.styles + ";";
124
-
125
- if (process.env.NODE_ENV !== 'production' && interpolation.map !== undefined) {
126
- styles += interpolation.map;
127
- }
128
-
129
- return styles;
130
- }
131
-
132
- return createStringFromObject(mergedProps, registered, interpolation);
133
- }
134
-
135
- case 'function':
136
- {
137
- if (mergedProps !== undefined) {
138
- var previousCursor = cursor;
139
- var result = interpolation(mergedProps);
140
- cursor = previousCursor;
141
- return handleInterpolation(mergedProps, registered, result);
142
- } else if (process.env.NODE_ENV !== 'production') {
143
- console.error('Functions that are interpolated in css calls will be stringified.\n' + 'If you want to have a css call based on props, create a function that returns a css call like this\n' + 'let dynamicStyle = (props) => css`color: ${props.color}`\n' + 'It can be called directly with props or interpolated in a styled call like this\n' + "let SomeComponent = styled('div')`${dynamicStyle}`");
144
- }
145
-
146
- break;
147
- }
148
-
149
- case 'string':
150
- if (process.env.NODE_ENV !== 'production') {
151
- var matched = [];
152
- var replaced = interpolation.replace(animationRegex, function (match, p1, p2) {
153
- var fakeVarName = "animation" + matched.length;
154
- matched.push("const " + fakeVarName + " = keyframes`" + p2.replace(/^@keyframes animation-\w+/, '') + "`");
155
- return "${" + fakeVarName + "}";
156
- });
157
-
158
- if (matched.length) {
159
- console.error('`keyframes` output got interpolated into plain string, please wrap it with `css`.\n\n' + 'Instead of doing this:\n\n' + [].concat(matched, ["`" + replaced + "`"]).join('\n') + '\n\nYou should wrap it with `css` like this:\n\n' + ("css`" + replaced + "`"));
160
- }
161
- }
162
-
163
- break;
164
- } // finalize string values (regular strings and functions interpolated into css calls)
165
-
166
-
167
- if (registered == null) {
168
- return interpolation;
169
- }
170
-
171
- var cached = registered[interpolation];
172
- return cached !== undefined ? cached : interpolation;
173
- }
174
-
175
- function createStringFromObject(mergedProps, registered, obj) {
176
- var string = '';
177
-
178
- if (Array.isArray(obj)) {
179
- for (var i = 0; i < obj.length; i++) {
180
- string += handleInterpolation(mergedProps, registered, obj[i]) + ";";
181
- }
182
- } else {
183
- for (var _key in obj) {
184
- var value = obj[_key];
185
-
186
- if (typeof value !== 'object') {
187
- if (registered != null && registered[value] !== undefined) {
188
- string += _key + "{" + registered[value] + "}";
189
- } else if (isProcessableValue(value)) {
190
- string += processStyleName(_key) + ":" + processStyleValue(_key, value) + ";";
191
- }
192
- } else {
193
- if (_key === 'NO_COMPONENT_SELECTOR' && process.env.NODE_ENV !== 'production') {
194
- throw new Error(noComponentSelectorMessage);
195
- }
196
-
197
- if (Array.isArray(value) && typeof value[0] === 'string' && (registered == null || registered[value[0]] === undefined)) {
198
- for (var _i = 0; _i < value.length; _i++) {
199
- if (isProcessableValue(value[_i])) {
200
- string += processStyleName(_key) + ":" + processStyleValue(_key, value[_i]) + ";";
201
- }
202
- }
203
- } else {
204
- var interpolated = handleInterpolation(mergedProps, registered, value);
205
-
206
- switch (_key) {
207
- case 'animation':
208
- case 'animationName':
209
- {
210
- string += processStyleName(_key) + ":" + interpolated + ";";
211
- break;
212
- }
213
-
214
- default:
215
- {
216
- if (process.env.NODE_ENV !== 'production' && _key === 'undefined') {
217
- console.error(UNDEFINED_AS_OBJECT_KEY_ERROR);
218
- }
219
-
220
- string += _key + "{" + interpolated + "}";
221
- }
222
- }
223
- }
224
- }
225
- }
226
- }
227
-
228
- return string;
229
- }
230
-
231
- var labelPattern = /label:\s*([^\s;\n{]+)\s*(;|$)/g;
232
- var sourceMapPattern;
233
-
234
- if (process.env.NODE_ENV !== 'production') {
235
- sourceMapPattern = /\/\*#\ssourceMappingURL=data:application\/json;\S+\s+\*\//g;
236
- } // this is the cursor for keyframes
237
- // keyframes are stored on the SerializedStyles object as a linked list
238
-
239
-
240
- var cursor;
241
- var serializeStyles = function serializeStyles(args, registered, mergedProps) {
242
- if (args.length === 1 && typeof args[0] === 'object' && args[0] !== null && args[0].styles !== undefined) {
243
- return args[0];
244
- }
245
-
246
- var stringMode = true;
247
- var styles = '';
248
- cursor = undefined;
249
- var strings = args[0];
250
-
251
- if (strings == null || strings.raw === undefined) {
252
- stringMode = false;
253
- styles += handleInterpolation(mergedProps, registered, strings);
254
- } else {
255
- if (process.env.NODE_ENV !== 'production' && strings[0] === undefined) {
256
- console.error(ILLEGAL_ESCAPE_SEQUENCE_ERROR);
257
- }
258
-
259
- styles += strings[0];
260
- } // we start at 1 since we've already handled the first arg
261
-
262
-
263
- for (var i = 1; i < args.length; i++) {
264
- styles += handleInterpolation(mergedProps, registered, args[i]);
265
-
266
- if (stringMode) {
267
- if (process.env.NODE_ENV !== 'production' && strings[i] === undefined) {
268
- console.error(ILLEGAL_ESCAPE_SEQUENCE_ERROR);
269
- }
270
-
271
- styles += strings[i];
272
- }
273
- }
274
-
275
- var sourceMap;
276
-
277
- if (process.env.NODE_ENV !== 'production') {
278
- styles = styles.replace(sourceMapPattern, function (match) {
279
- sourceMap = match;
280
- return '';
281
- });
282
- } // using a global regex with .exec is stateful so lastIndex has to be reset each time
283
-
284
-
285
- labelPattern.lastIndex = 0;
286
- var identifierName = '';
287
- var match; // https://esbench.com/bench/5b809c2cf2949800a0f61fb5
288
-
289
- while ((match = labelPattern.exec(styles)) !== null) {
290
- identifierName += '-' + // $FlowFixMe we know it's not null
291
- match[1];
292
- }
293
-
294
- var name = murmur2(styles) + identifierName;
295
-
296
- if (process.env.NODE_ENV !== 'production') {
297
- // $FlowFixMe SerializedStyles type doesn't have toString property (and we don't want to add it)
298
- return {
299
- name: name,
300
- styles: styles,
301
- map: sourceMap,
302
- next: cursor,
303
- toString: function toString() {
304
- return "You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop).";
305
- }
306
- };
307
- }
308
-
309
- return {
310
- name: name,
311
- styles: styles,
312
- next: cursor
313
- };
314
- };
315
-
316
- export { serializeStyles };
317
- //# sourceMappingURL=emotion-serialize.esm.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"emotion-serialize.esm.js","sources":["../../../../../../node_modules/@emotion/serialize/dist/emotion-serialize.esm.js"],"sourcesContent":["import hashString from '@emotion/hash';\nimport unitless from '@emotion/unitless';\nimport memoize from '@emotion/memoize';\n\nvar ILLEGAL_ESCAPE_SEQUENCE_ERROR = \"You have illegal escape sequence in your template literal, most likely inside content's property value.\\nBecause you write your CSS inside a JavaScript string you actually have to do double escaping, so for example \\\"content: '\\\\00d7';\\\" should become \\\"content: '\\\\\\\\00d7';\\\".\\nYou can read more about this here:\\nhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_literals#ES2018_revision_of_illegal_escape_sequences\";\nvar UNDEFINED_AS_OBJECT_KEY_ERROR = \"You have passed in falsy value as style object's key (can happen when in example you pass unexported component as computed key).\";\nvar hyphenateRegex = /[A-Z]|^ms/g;\nvar animationRegex = /_EMO_([^_]+?)_([^]*?)_EMO_/g;\n\nvar isCustomProperty = function isCustomProperty(property) {\n return property.charCodeAt(1) === 45;\n};\n\nvar isProcessableValue = function isProcessableValue(value) {\n return value != null && typeof value !== 'boolean';\n};\n\nvar processStyleName = /* #__PURE__ */memoize(function (styleName) {\n return isCustomProperty(styleName) ? styleName : styleName.replace(hyphenateRegex, '-$&').toLowerCase();\n});\n\nvar processStyleValue = function processStyleValue(key, value) {\n switch (key) {\n case 'animation':\n case 'animationName':\n {\n if (typeof value === 'string') {\n return value.replace(animationRegex, function (match, p1, p2) {\n cursor = {\n name: p1,\n styles: p2,\n next: cursor\n };\n return p1;\n });\n }\n }\n }\n\n if (unitless[key] !== 1 && !isCustomProperty(key) && typeof value === 'number' && value !== 0) {\n return value + 'px';\n }\n\n return value;\n};\n\nif (process.env.NODE_ENV !== 'production') {\n var contentValuePattern = /(var|attr|counters?|url|element|(((repeating-)?(linear|radial))|conic)-gradient)\\(|(no-)?(open|close)-quote/;\n var contentValues = ['normal', 'none', 'initial', 'inherit', 'unset'];\n var oldProcessStyleValue = processStyleValue;\n var msPattern = /^-ms-/;\n var hyphenPattern = /-(.)/g;\n var hyphenatedCache = {};\n\n processStyleValue = function processStyleValue(key, value) {\n if (key === 'content') {\n if (typeof value !== 'string' || contentValues.indexOf(value) === -1 && !contentValuePattern.test(value) && (value.charAt(0) !== value.charAt(value.length - 1) || value.charAt(0) !== '\"' && value.charAt(0) !== \"'\")) {\n throw new Error(\"You seem to be using a value for 'content' without quotes, try replacing it with `content: '\\\"\" + value + \"\\\"'`\");\n }\n }\n\n var processed = oldProcessStyleValue(key, value);\n\n if (processed !== '' && !isCustomProperty(key) && key.indexOf('-') !== -1 && hyphenatedCache[key] === undefined) {\n hyphenatedCache[key] = true;\n console.error(\"Using kebab-case for css properties in objects is not supported. Did you mean \" + key.replace(msPattern, 'ms-').replace(hyphenPattern, function (str, _char) {\n return _char.toUpperCase();\n }) + \"?\");\n }\n\n return processed;\n };\n}\n\nvar noComponentSelectorMessage = 'Component selectors can only be used in conjunction with ' + '@emotion/babel-plugin, the swc Emotion plugin, or another Emotion-aware ' + 'compiler transform.';\n\nfunction handleInterpolation(mergedProps, registered, interpolation) {\n if (interpolation == null) {\n return '';\n }\n\n if (interpolation.__emotion_styles !== undefined) {\n if (process.env.NODE_ENV !== 'production' && interpolation.toString() === 'NO_COMPONENT_SELECTOR') {\n throw new Error(noComponentSelectorMessage);\n }\n\n return interpolation;\n }\n\n switch (typeof interpolation) {\n case 'boolean':\n {\n return '';\n }\n\n case 'object':\n {\n if (interpolation.anim === 1) {\n cursor = {\n name: interpolation.name,\n styles: interpolation.styles,\n next: cursor\n };\n return interpolation.name;\n }\n\n if (interpolation.styles !== undefined) {\n var next = interpolation.next;\n\n if (next !== undefined) {\n // not the most efficient thing ever but this is a pretty rare case\n // and there will be very few iterations of this generally\n while (next !== undefined) {\n cursor = {\n name: next.name,\n styles: next.styles,\n next: cursor\n };\n next = next.next;\n }\n }\n\n var styles = interpolation.styles + \";\";\n\n if (process.env.NODE_ENV !== 'production' && interpolation.map !== undefined) {\n styles += interpolation.map;\n }\n\n return styles;\n }\n\n return createStringFromObject(mergedProps, registered, interpolation);\n }\n\n case 'function':\n {\n if (mergedProps !== undefined) {\n var previousCursor = cursor;\n var result = interpolation(mergedProps);\n cursor = previousCursor;\n return handleInterpolation(mergedProps, registered, result);\n } else if (process.env.NODE_ENV !== 'production') {\n console.error('Functions that are interpolated in css calls will be stringified.\\n' + 'If you want to have a css call based on props, create a function that returns a css call like this\\n' + 'let dynamicStyle = (props) => css`color: ${props.color}`\\n' + 'It can be called directly with props or interpolated in a styled call like this\\n' + \"let SomeComponent = styled('div')`${dynamicStyle}`\");\n }\n\n break;\n }\n\n case 'string':\n if (process.env.NODE_ENV !== 'production') {\n var matched = [];\n var replaced = interpolation.replace(animationRegex, function (match, p1, p2) {\n var fakeVarName = \"animation\" + matched.length;\n matched.push(\"const \" + fakeVarName + \" = keyframes`\" + p2.replace(/^@keyframes animation-\\w+/, '') + \"`\");\n return \"${\" + fakeVarName + \"}\";\n });\n\n if (matched.length) {\n console.error('`keyframes` output got interpolated into plain string, please wrap it with `css`.\\n\\n' + 'Instead of doing this:\\n\\n' + [].concat(matched, [\"`\" + replaced + \"`\"]).join('\\n') + '\\n\\nYou should wrap it with `css` like this:\\n\\n' + (\"css`\" + replaced + \"`\"));\n }\n }\n\n break;\n } // finalize string values (regular strings and functions interpolated into css calls)\n\n\n if (registered == null) {\n return interpolation;\n }\n\n var cached = registered[interpolation];\n return cached !== undefined ? cached : interpolation;\n}\n\nfunction createStringFromObject(mergedProps, registered, obj) {\n var string = '';\n\n if (Array.isArray(obj)) {\n for (var i = 0; i < obj.length; i++) {\n string += handleInterpolation(mergedProps, registered, obj[i]) + \";\";\n }\n } else {\n for (var _key in obj) {\n var value = obj[_key];\n\n if (typeof value !== 'object') {\n if (registered != null && registered[value] !== undefined) {\n string += _key + \"{\" + registered[value] + \"}\";\n } else if (isProcessableValue(value)) {\n string += processStyleName(_key) + \":\" + processStyleValue(_key, value) + \";\";\n }\n } else {\n if (_key === 'NO_COMPONENT_SELECTOR' && process.env.NODE_ENV !== 'production') {\n throw new Error(noComponentSelectorMessage);\n }\n\n if (Array.isArray(value) && typeof value[0] === 'string' && (registered == null || registered[value[0]] === undefined)) {\n for (var _i = 0; _i < value.length; _i++) {\n if (isProcessableValue(value[_i])) {\n string += processStyleName(_key) + \":\" + processStyleValue(_key, value[_i]) + \";\";\n }\n }\n } else {\n var interpolated = handleInterpolation(mergedProps, registered, value);\n\n switch (_key) {\n case 'animation':\n case 'animationName':\n {\n string += processStyleName(_key) + \":\" + interpolated + \";\";\n break;\n }\n\n default:\n {\n if (process.env.NODE_ENV !== 'production' && _key === 'undefined') {\n console.error(UNDEFINED_AS_OBJECT_KEY_ERROR);\n }\n\n string += _key + \"{\" + interpolated + \"}\";\n }\n }\n }\n }\n }\n }\n\n return string;\n}\n\nvar labelPattern = /label:\\s*([^\\s;\\n{]+)\\s*(;|$)/g;\nvar sourceMapPattern;\n\nif (process.env.NODE_ENV !== 'production') {\n sourceMapPattern = /\\/\\*#\\ssourceMappingURL=data:application\\/json;\\S+\\s+\\*\\//g;\n} // this is the cursor for keyframes\n// keyframes are stored on the SerializedStyles object as a linked list\n\n\nvar cursor;\nvar serializeStyles = function serializeStyles(args, registered, mergedProps) {\n if (args.length === 1 && typeof args[0] === 'object' && args[0] !== null && args[0].styles !== undefined) {\n return args[0];\n }\n\n var stringMode = true;\n var styles = '';\n cursor = undefined;\n var strings = args[0];\n\n if (strings == null || strings.raw === undefined) {\n stringMode = false;\n styles += handleInterpolation(mergedProps, registered, strings);\n } else {\n if (process.env.NODE_ENV !== 'production' && strings[0] === undefined) {\n console.error(ILLEGAL_ESCAPE_SEQUENCE_ERROR);\n }\n\n styles += strings[0];\n } // we start at 1 since we've already handled the first arg\n\n\n for (var i = 1; i < args.length; i++) {\n styles += handleInterpolation(mergedProps, registered, args[i]);\n\n if (stringMode) {\n if (process.env.NODE_ENV !== 'production' && strings[i] === undefined) {\n console.error(ILLEGAL_ESCAPE_SEQUENCE_ERROR);\n }\n\n styles += strings[i];\n }\n }\n\n var sourceMap;\n\n if (process.env.NODE_ENV !== 'production') {\n styles = styles.replace(sourceMapPattern, function (match) {\n sourceMap = match;\n return '';\n });\n } // using a global regex with .exec is stateful so lastIndex has to be reset each time\n\n\n labelPattern.lastIndex = 0;\n var identifierName = '';\n var match; // https://esbench.com/bench/5b809c2cf2949800a0f61fb5\n\n while ((match = labelPattern.exec(styles)) !== null) {\n identifierName += '-' + // $FlowFixMe we know it's not null\n match[1];\n }\n\n var name = hashString(styles) + identifierName;\n\n if (process.env.NODE_ENV !== 'production') {\n // $FlowFixMe SerializedStyles type doesn't have toString property (and we don't want to add it)\n return {\n name: name,\n styles: styles,\n map: sourceMap,\n next: cursor,\n toString: function toString() {\n return \"You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop).\";\n }\n };\n }\n\n return {\n name: name,\n styles: styles,\n next: cursor\n };\n};\n\nexport { serializeStyles };\n"],"names":["unitless","hashString"],"mappings":";;;;AAIA,IAAI,6BAA6B,GAAG,4bAA4b,CAAC;AACje,IAAI,6BAA6B,GAAG,kIAAkI,CAAC;AACvK,IAAI,cAAc,GAAG,YAAY,CAAC;AAClC,IAAI,cAAc,GAAG,6BAA6B,C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AC,CAAC,CAAC,CAAC;AACb,GAAG;AACH;AACA,EAAE,IAAI,IAAI,GAAGC,OAAU,CAAC,MAAM,CAAC,GAAG,cAAc,CAAC;AACjD;AACA,EAAE,IAAI,OAAO,CAAC,GAAG,CAAC,QAAQ,KAAK,YAAY,EAAE;AAC7C;AACA,IAAI,OAAO;AACX,MAAM,IAAI,EAAE,IAAI;AAChB,MAAM,MAAM,EAAE,MAAM;AACpB,MAAM,GAAG,EAAE,SAAS;AACpB,MAAM,IAAI,EAAE,MAAM;AAClB,MAAM,QAAQ,EAAE,SAAS,QAAQ,GAAG;AACpC,QAAQ,OAAO,iOAAiO,CAAC;AACjP,OAAO;AACP,KAAK,CAAC;AACN,GAAG;AACH;AACA,EAAE,OAAO;AACT,IAAI,IAAI,EAAE,IAAI;AACd,IAAI,MAAM,EAAE,MAAM;AAClB,IAAI,IAAI,EAAE,MAAM;AAChB,GAAG,CAAC;AACJ;;;;"}
@@ -1,155 +0,0 @@
1
- /*
2
-
3
- Based off glamor's StyleSheet, thanks Sunil ❤️
4
-
5
- high performance StyleSheet for css-in-js systems
6
-
7
- - uses multiple style tags behind the scenes for millions of rules
8
- - uses `insertRule` for appending in production for *much* faster performance
9
-
10
- // usage
11
-
12
- import { StyleSheet } from '@emotion/sheet'
13
-
14
- let styleSheet = new StyleSheet({ key: '', container: document.head })
15
-
16
- styleSheet.insert('#box { border: 1px solid red; }')
17
- - appends a css rule into the stylesheet
18
-
19
- styleSheet.flush()
20
- - empties the stylesheet of all its contents
21
-
22
- */
23
- // $FlowFixMe
24
- function sheetForTag(tag) {
25
- if (tag.sheet) {
26
- // $FlowFixMe
27
- return tag.sheet;
28
- } // this weirdness brought to you by firefox
29
-
30
- /* istanbul ignore next */
31
-
32
-
33
- for (var i = 0; i < document.styleSheets.length; i++) {
34
- if (document.styleSheets[i].ownerNode === tag) {
35
- // $FlowFixMe
36
- return document.styleSheets[i];
37
- }
38
- }
39
- }
40
-
41
- function createStyleElement(options) {
42
- var tag = document.createElement('style');
43
- tag.setAttribute('data-emotion', options.key);
44
-
45
- if (options.nonce !== undefined) {
46
- tag.setAttribute('nonce', options.nonce);
47
- }
48
-
49
- tag.appendChild(document.createTextNode(''));
50
- tag.setAttribute('data-s', '');
51
- return tag;
52
- }
53
-
54
- var StyleSheet = /*#__PURE__*/function () {
55
- // Using Node instead of HTMLElement since container may be a ShadowRoot
56
- function StyleSheet(options) {
57
- var _this = this;
58
-
59
- this._insertTag = function (tag) {
60
- var before;
61
-
62
- if (_this.tags.length === 0) {
63
- if (_this.insertionPoint) {
64
- before = _this.insertionPoint.nextSibling;
65
- } else if (_this.prepend) {
66
- before = _this.container.firstChild;
67
- } else {
68
- before = _this.before;
69
- }
70
- } else {
71
- before = _this.tags[_this.tags.length - 1].nextSibling;
72
- }
73
-
74
- _this.container.insertBefore(tag, before);
75
-
76
- _this.tags.push(tag);
77
- };
78
-
79
- this.isSpeedy = options.speedy === undefined ? process.env.NODE_ENV === 'production' : options.speedy;
80
- this.tags = [];
81
- this.ctr = 0;
82
- this.nonce = options.nonce; // key is the value of the data-emotion attribute, it's used to identify different sheets
83
-
84
- this.key = options.key;
85
- this.container = options.container;
86
- this.prepend = options.prepend;
87
- this.insertionPoint = options.insertionPoint;
88
- this.before = null;
89
- }
90
-
91
- var _proto = StyleSheet.prototype;
92
-
93
- _proto.hydrate = function hydrate(nodes) {
94
- nodes.forEach(this._insertTag);
95
- };
96
-
97
- _proto.insert = function insert(rule) {
98
- // the max length is how many rules we have per style tag, it's 65000 in speedy mode
99
- // it's 1 in dev because we insert source maps that map a single rule to a location
100
- // and you can only have one source map per style tag
101
- if (this.ctr % (this.isSpeedy ? 65000 : 1) === 0) {
102
- this._insertTag(createStyleElement(this));
103
- }
104
-
105
- var tag = this.tags[this.tags.length - 1];
106
-
107
- if (process.env.NODE_ENV !== 'production') {
108
- var isImportRule = rule.charCodeAt(0) === 64 && rule.charCodeAt(1) === 105;
109
-
110
- if (isImportRule && this._alreadyInsertedOrderInsensitiveRule) {
111
- // this would only cause problem in speedy mode
112
- // but we don't want enabling speedy to affect the observable behavior
113
- // so we report this error at all times
114
- console.error("You're attempting to insert the following rule:\n" + rule + '\n\n`@import` rules must be before all other types of rules in a stylesheet but other rules have already been inserted. Please ensure that `@import` rules are before all other rules.');
115
- }
116
- this._alreadyInsertedOrderInsensitiveRule = this._alreadyInsertedOrderInsensitiveRule || !isImportRule;
117
- }
118
-
119
- if (this.isSpeedy) {
120
- var sheet = sheetForTag(tag);
121
-
122
- try {
123
- // this is the ultrafast version, works across browsers
124
- // the big drawback is that the css won't be editable in devtools
125
- sheet.insertRule(rule, sheet.cssRules.length);
126
- } catch (e) {
127
- if (process.env.NODE_ENV !== 'production' && !/:(-moz-placeholder|-moz-focus-inner|-moz-focusring|-ms-input-placeholder|-moz-read-write|-moz-read-only|-ms-clear|-ms-expand|-ms-reveal){/.test(rule)) {
128
- console.error("There was a problem inserting the following rule: \"" + rule + "\"", e);
129
- }
130
- }
131
- } else {
132
- tag.appendChild(document.createTextNode(rule));
133
- }
134
-
135
- this.ctr++;
136
- };
137
-
138
- _proto.flush = function flush() {
139
- // $FlowFixMe
140
- this.tags.forEach(function (tag) {
141
- return tag.parentNode && tag.parentNode.removeChild(tag);
142
- });
143
- this.tags = [];
144
- this.ctr = 0;
145
-
146
- if (process.env.NODE_ENV !== 'production') {
147
- this._alreadyInsertedOrderInsensitiveRule = false;
148
- }
149
- };
150
-
151
- return StyleSheet;
152
- }();
153
-
154
- export { StyleSheet };
155
- //# sourceMappingURL=emotion-sheet.esm.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"emotion-sheet.esm.js","sources":["../../../../../../node_modules/@emotion/sheet/dist/emotion-sheet.esm.js"],"sourcesContent":["/*\n\nBased off glamor's StyleSheet, thanks Sunil ❤️\n\nhigh performance StyleSheet for css-in-js systems\n\n- uses multiple style tags behind the scenes for millions of rules\n- uses `insertRule` for appending in production for *much* faster performance\n\n// usage\n\nimport { StyleSheet } from '@emotion/sheet'\n\nlet styleSheet = new StyleSheet({ key: '', container: document.head })\n\nstyleSheet.insert('#box { border: 1px solid red; }')\n- appends a css rule into the stylesheet\n\nstyleSheet.flush()\n- empties the stylesheet of all its contents\n\n*/\n// $FlowFixMe\nfunction sheetForTag(tag) {\n if (tag.sheet) {\n // $FlowFixMe\n return tag.sheet;\n } // this weirdness brought to you by firefox\n\n /* istanbul ignore next */\n\n\n for (var i = 0; i < document.styleSheets.length; i++) {\n if (document.styleSheets[i].ownerNode === tag) {\n // $FlowFixMe\n return document.styleSheets[i];\n }\n }\n}\n\nfunction createStyleElement(options) {\n var tag = document.createElement('style');\n tag.setAttribute('data-emotion', options.key);\n\n if (options.nonce !== undefined) {\n tag.setAttribute('nonce', options.nonce);\n }\n\n tag.appendChild(document.createTextNode(''));\n tag.setAttribute('data-s', '');\n return tag;\n}\n\nvar StyleSheet = /*#__PURE__*/function () {\n // Using Node instead of HTMLElement since container may be a ShadowRoot\n function StyleSheet(options) {\n var _this = this;\n\n this._insertTag = function (tag) {\n var before;\n\n if (_this.tags.length === 0) {\n if (_this.insertionPoint) {\n before = _this.insertionPoint.nextSibling;\n } else if (_this.prepend) {\n before = _this.container.firstChild;\n } else {\n before = _this.before;\n }\n } else {\n before = _this.tags[_this.tags.length - 1].nextSibling;\n }\n\n _this.container.insertBefore(tag, before);\n\n _this.tags.push(tag);\n };\n\n this.isSpeedy = options.speedy === undefined ? process.env.NODE_ENV === 'production' : options.speedy;\n this.tags = [];\n this.ctr = 0;\n this.nonce = options.nonce; // key is the value of the data-emotion attribute, it's used to identify different sheets\n\n this.key = options.key;\n this.container = options.container;\n this.prepend = options.prepend;\n this.insertionPoint = options.insertionPoint;\n this.before = null;\n }\n\n var _proto = StyleSheet.prototype;\n\n _proto.hydrate = function hydrate(nodes) {\n nodes.forEach(this._insertTag);\n };\n\n _proto.insert = function insert(rule) {\n // the max length is how many rules we have per style tag, it's 65000 in speedy mode\n // it's 1 in dev because we insert source maps that map a single rule to a location\n // and you can only have one source map per style tag\n if (this.ctr % (this.isSpeedy ? 65000 : 1) === 0) {\n this._insertTag(createStyleElement(this));\n }\n\n var tag = this.tags[this.tags.length - 1];\n\n if (process.env.NODE_ENV !== 'production') {\n var isImportRule = rule.charCodeAt(0) === 64 && rule.charCodeAt(1) === 105;\n\n if (isImportRule && this._alreadyInsertedOrderInsensitiveRule) {\n // this would only cause problem in speedy mode\n // but we don't want enabling speedy to affect the observable behavior\n // so we report this error at all times\n console.error(\"You're attempting to insert the following rule:\\n\" + rule + '\\n\\n`@import` rules must be before all other types of rules in a stylesheet but other rules have already been inserted. Please ensure that `@import` rules are before all other rules.');\n }\n this._alreadyInsertedOrderInsensitiveRule = this._alreadyInsertedOrderInsensitiveRule || !isImportRule;\n }\n\n if (this.isSpeedy) {\n var sheet = sheetForTag(tag);\n\n try {\n // this is the ultrafast version, works across browsers\n // the big drawback is that the css won't be editable in devtools\n sheet.insertRule(rule, sheet.cssRules.length);\n } catch (e) {\n if (process.env.NODE_ENV !== 'production' && !/:(-moz-placeholder|-moz-focus-inner|-moz-focusring|-ms-input-placeholder|-moz-read-write|-moz-read-only|-ms-clear|-ms-expand|-ms-reveal){/.test(rule)) {\n console.error(\"There was a problem inserting the following rule: \\\"\" + rule + \"\\\"\", e);\n }\n }\n } else {\n tag.appendChild(document.createTextNode(rule));\n }\n\n this.ctr++;\n };\n\n _proto.flush = function flush() {\n // $FlowFixMe\n this.tags.forEach(function (tag) {\n return tag.parentNode && tag.parentNode.removeChild(tag);\n });\n this.tags = [];\n this.ctr = 0;\n\n if (process.env.NODE_ENV !== 'production') {\n this._alreadyInsertedOrderInsensitiveRule = false;\n }\n };\n\n return StyleSheet;\n}();\n\nexport { StyleSheet };\n"],"names":[],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS,WAAW,CAAC,GAAG,EAAE;AAC1B,EAAE,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
- boxOrdinalGroup: 1,
9
- columnCount: 1,
10
- columns: 1,
11
- flex: 1,
12
- flexGrow: 1,
13
- flexPositive: 1,
14
- flexShrink: 1,
15
- flexNegative: 1,
16
- flexOrder: 1,
17
- gridRow: 1,
18
- gridRowEnd: 1,
19
- gridRowSpan: 1,
20
- gridRowStart: 1,
21
- gridColumn: 1,
22
- gridColumnEnd: 1,
23
- gridColumnSpan: 1,
24
- gridColumnStart: 1,
25
- msGridRow: 1,
26
- msGridRowSpan: 1,
27
- msGridColumn: 1,
28
- msGridColumnSpan: 1,
29
- fontWeight: 1,
30
- lineHeight: 1,
31
- opacity: 1,
32
- order: 1,
33
- orphans: 1,
34
- tabSize: 1,
35
- widows: 1,
36
- zIndex: 1,
37
- zoom: 1,
38
- WebkitLineClamp: 1,
39
- // SVG-related properties
40
- fillOpacity: 1,
41
- floodOpacity: 1,
42
- stopOpacity: 1,
43
- strokeDasharray: 1,
44
- strokeDashoffset: 1,
45
- strokeMiterlimit: 1,
46
- strokeOpacity: 1,
47
- strokeWidth: 1
48
- };
49
-
50
- export { unitlessKeys as default };
51
- //# sourceMappingURL=emotion-unitless.esm.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"emotion-unitless.esm.js","sources":["../../../../../../node_modules/@emotion/unitless/dist/emotion-unitless.esm.js"],"sourcesContent":["var unitlessKeys = {\n animationIterationCount: 1,\n borderImageOutset: 1,\n borderImageSlice: 1,\n borderImageWidth: 1,\n boxFlex: 1,\n boxFlexGroup: 1,\n boxOrdinalGroup: 1,\n columnCount: 1,\n columns: 1,\n flex: 1,\n flexGrow: 1,\n flexPositive: 1,\n flexShrink: 1,\n flexNegative: 1,\n flexOrder: 1,\n gridRow: 1,\n gridRowEnd: 1,\n gridRowSpan: 1,\n gridRowStart: 1,\n gridColumn: 1,\n gridColumnEnd: 1,\n gridColumnSpan: 1,\n gridColumnStart: 1,\n msGridRow: 1,\n msGridRowSpan: 1,\n msGridColumn: 1,\n msGridColumnSpan: 1,\n fontWeight: 1,\n lineHeight: 1,\n opacity: 1,\n order: 1,\n orphans: 1,\n tabSize: 1,\n widows: 1,\n zIndex: 1,\n zoom: 1,\n WebkitLineClamp: 1,\n // SVG-related properties\n fillOpacity: 1,\n floodOpacity: 1,\n stopOpacity: 1,\n strokeDasharray: 1,\n strokeDashoffset: 1,\n strokeMiterlimit: 1,\n strokeOpacity: 1,\n strokeWidth: 1\n};\n\nexport default unitlessKeys;\n"],"names":[],"mappings":"AAAG,IAAC,YAAY,GAAG;AACnB,EAAE,uBAAuB,EAAE,CAAC;AAC5B,EAAE,iBAAiB,EAAE,CAAC;AACtB,EAAE,gBAAgB,EAAE,CAAC;AACrB,EAAE,gBAAgB,EAAE,CAAC;AACrB,EAAE,OAAO,EAAE,CAAC;AACZ,EAAE,YAAY,EAAE,CAAC;AACjB,EAAE,eAAe,EAAE,CAAC;AACpB,EAAE,WAAW,EAAE,CAAC;AAChB,EAAE,OAAO,EAAE,CAAC;AACZ,EAAE,IAAI,EAAE,CAAC;AACT,EAAE,QAAQ,EAAE,CAAC;AACb,EAAE,YAAY,EAAE,CAAC;AACjB,EAAE,UAAU,EAAE,CAAC;AACf,EAAE,YAAY,EAAE,CAAC;AACjB,EAAE,SAAS,EAAE,CAAC;AACd,EAAE,OAAO,EAAE,CAAC;AACZ,EAAE,UAAU,EAAE,CAAC;AACf,EAAE,WAAW,EAAE,CAAC;AAChB,EAAE,YAAY,EAAE,CAAC;AACjB,EAAE,UAAU,EAAE,CAAC;AACf,EAAE,aAAa,EAAE,CAAC;AAClB,EAAE,cAAc,EAAE,CAAC;AACnB,EAAE,eAAe,EAAE,CAAC;AACpB,EAAE,SAAS,EAAE,CAAC;AACd,EAAE,aAAa,EAAE,CAAC;AAClB,EAAE,YAAY,EAAE,CAAC;AACjB,EAAE,gBAAgB,EAAE,CAAC;AACrB,EAAE,UAAU,EAAE,CAAC;AACf,EAAE,UAAU,EAAE,CAAC;AACf,EAAE,OAAO,EAAE,CAAC;AACZ,EAAE,KAAK,EAAE,CAAC;AACV,EAAE,OAAO,EAAE,CAAC;AACZ,EAAE,OAAO,EAAE,CAAC;AACZ,EAAE,MAAM,EAAE,CAAC;AACX,EAAE,MAAM,EAAE,CAAC;AACX,EAAE,IAAI,EAAE,CAAC;AACT,EAAE,eAAe,EAAE,CAAC;AACpB;AACA,EAAE,WAAW,EAAE,CAAC;AAChB,EAAE,YAAY,EAAE,CAAC;AACjB,EAAE,WAAW,EAAE,CAAC;AAChB,EAAE,eAAe,EAAE,CAAC;AACpB,EAAE,gBAAgB,EAAE,CAAC;AACrB,EAAE,gBAAgB,EAAE,CAAC;AACrB,EAAE,aAAa,EAAE,CAAC;AAClB,EAAE,WAAW,EAAE,CAAC;AAChB;;;;"}
@@ -1,54 +0,0 @@
1
- var isBrowser = typeof document !== 'undefined';
2
- function getRegisteredStyles(registered, registeredStyles, classNames) {
3
- var rawClassName = '';
4
- classNames.split(' ').forEach(function (className) {
5
- if (registered[className] !== undefined) {
6
- registeredStyles.push(registered[className] + ";");
7
- } else {
8
- rawClassName += className + " ";
9
- }
10
- });
11
- return rawClassName;
12
- }
13
- var registerStyles = function registerStyles(cache, serialized, isStringTag) {
14
- var className = cache.key + "-" + serialized.name;
15
-
16
- if ( // we only need to add the styles to the registered cache if the
17
- // class name could be used further down
18
- // the tree but if it's a string tag, we know it won't
19
- // so we don't have to add it to registered cache.
20
- // this improves memory usage since we can avoid storing the whole style string
21
- (isStringTag === false || // we need to always store it if we're in compat mode and
22
- // in node since emotion-server relies on whether a style is in
23
- // the registered cache to know whether a style is global or not
24
- // also, note that this check will be dead code eliminated in the browser
25
- isBrowser === false && cache.compat !== undefined) && cache.registered[className] === undefined) {
26
- cache.registered[className] = serialized.styles;
27
- }
28
- };
29
- var insertStyles = function insertStyles(cache, serialized, isStringTag) {
30
- registerStyles(cache, serialized, isStringTag);
31
- var className = cache.key + "-" + serialized.name;
32
-
33
- if (cache.inserted[serialized.name] === undefined) {
34
- var stylesForSSR = '';
35
- var current = serialized;
36
-
37
- do {
38
- var maybeStyles = cache.insert(serialized === current ? "." + className : '', current, cache.sheet, true);
39
-
40
- if (!isBrowser && maybeStyles !== undefined) {
41
- stylesForSSR += maybeStyles;
42
- }
43
-
44
- current = current.next;
45
- } while (current !== undefined);
46
-
47
- if (!isBrowser && stylesForSSR.length !== 0) {
48
- return stylesForSSR;
49
- }
50
- }
51
- };
52
-
53
- export { getRegisteredStyles, insertStyles, registerStyles };
54
- //# sourceMappingURL=emotion-utils.esm.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"emotion-utils.esm.js","sources":["../../../../../../node_modules/@emotion/utils/dist/emotion-utils.esm.js"],"sourcesContent":["var isBrowser = typeof document !== 'undefined';\nfunction getRegisteredStyles(registered, registeredStyles, classNames) {\n var rawClassName = '';\n classNames.split(' ').forEach(function (className) {\n if (registered[className] !== undefined) {\n registeredStyles.push(registered[className] + \";\");\n } else {\n rawClassName += className + \" \";\n }\n });\n return rawClassName;\n}\nvar registerStyles = function registerStyles(cache, serialized, isStringTag) {\n var className = cache.key + \"-\" + serialized.name;\n\n if ( // we only need to add the styles to the registered cache if the\n // class name could be used further down\n // the tree but if it's a string tag, we know it won't\n // so we don't have to add it to registered cache.\n // this improves memory usage since we can avoid storing the whole style string\n (isStringTag === false || // we need to always store it if we're in compat mode and\n // in node since emotion-server relies on whether a style is in\n // the registered cache to know whether a style is global or not\n // also, note that this check will be dead code eliminated in the browser\n isBrowser === false && cache.compat !== undefined) && cache.registered[className] === undefined) {\n cache.registered[className] = serialized.styles;\n }\n};\nvar insertStyles = function insertStyles(cache, serialized, isStringTag) {\n registerStyles(cache, serialized, isStringTag);\n var className = cache.key + \"-\" + serialized.name;\n\n if (cache.inserted[serialized.name] === undefined) {\n var stylesForSSR = '';\n var current = serialized;\n\n do {\n var maybeStyles = cache.insert(serialized === current ? \".\" + className : '', current, cache.sheet, true);\n\n if (!isBrowser && maybeStyles !== undefined) {\n stylesForSSR += maybeStyles;\n }\n\n current = current.next;\n } while (current !== undefined);\n\n if (!isBrowser && stylesForSSR.length !== 0) {\n return stylesForSSR;\n }\n }\n};\n\nexport { getRegisteredStyles, insertStyles, registerStyles };\n"],"names":[],"mappings":"AAAA,IAAI,SAAS,GAAG,OAAO,QAAQ,KAAK,WAAW,CAAC;AAChD,SAAS,mBAAmB,CAAC,UAAU,EAAE,gBAAgB,EAAE,UAAU,EAAE;AACvE,EAAE,IAAI,YAAY,GAAG,EAAE,CAAC;AACxB,EAAE,UAAU,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,OAAO,CAAC,UAAU,SAAS,EAAE;AACrD,IAAI,IAAI,UAAU,CAAC,SAAS,CAAC,KAAK,SAAS,EAAE;AAC7C,MAAM,gBAAgB,CAAC,IAAI,CAAC,UAAU,CAAC,SAAS,CAAC,GAAG,GAAG,CAAC,CAAC;AACzD,KAAK,MAAM;AACX,MAAM,YAAY,IAAI,SAAS,GAAG,GAAG,CAAC;AACtC,KAAK;AACL,GAAG,CAAC,CAAC;AACL,EAAE,OAAO,YAAY,CAAC;AACtB,CAAC;AACE,IAAC,cAAc,GAAG,SAAS,cAAc,CAAC,KAAK,EAAE,UAAU,EAAE,WAAW,EAAE;AAC7E,EAAE,IAAI,SAAS,GAAG,KAAK,CAAC,GAAG,GAAG,GAAG,GAAG,UAAU,CAAC,IAAI,CAAC;AACpD;AACA,EAAE;AACF;AACA;AACA;AACA;AACA,EAAE,CAAC,WAAW,KAAK,KAAK;AACxB;AACA;AACA;AACA,EAAE,SAAS,KAAK,KAAK,IAAI,KAAK,CAAC,MAAM,KAAK,SAAS,KAAK,KAAK,CAAC,UAAU,CAAC,SAAS,CAAC,KAAK,SAAS,EAAE;AACnG,IAAI,KAAK,CAAC,UAAU,CAAC,SAAS,CAAC,GAAG,UAAU,CAAC,MAAM,CAAC;AACpD,GAAG;AACH,EAAE;AACC,IAAC,YAAY,GAAG,SAAS,YAAY,CAAC,KAAK,EAAE,UAAU,EAAE,WAAW,EAAE;AACzE,EAAE,cAAc,CAA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