clean-jsdoc-theme 3.3.2 → 4.0.0

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 (58) hide show
  1. package/CHANGELOG.md +16 -0
  2. package/LICENSE +1 -1
  3. package/README.md +203 -310
  4. package/jsdoc-config.json +7 -5
  5. package/minify.js +48 -0
  6. package/package.json +10 -6
  7. package/publish.js +805 -870
  8. package/static/fonts/Inconsolata-Regular.ttf +0 -0
  9. package/static/fonts/OpenSans-Regular.ttf +0 -0
  10. package/static/fonts/WorkSans-Bold.ttf +0 -0
  11. package/static/scripts/core.js +576 -0
  12. package/static/scripts/core.min.js +23 -0
  13. package/static/scripts/resize.js +59 -54
  14. package/static/scripts/search.js +217 -56
  15. package/static/scripts/search.min.js +11 -0
  16. package/static/scripts/third-party/hljs-line-num.js +1 -0
  17. package/static/scripts/third-party/hljs.js +1173 -0
  18. package/static/scripts/third-party/popper.js +6 -0
  19. package/static/scripts/third-party/tippy.js +2 -0
  20. package/static/scripts/third-party/tocbot.js +1 -0
  21. package/static/styles/clean-jsdoc-theme-base.css +738 -190
  22. package/static/styles/clean-jsdoc-theme-dark.css +208 -121
  23. package/static/styles/clean-jsdoc-theme-light.css +241 -168
  24. package/static/styles/clean-jsdoc-theme.min.css +1 -0
  25. package/tmpl/container.tmpl +13 -12
  26. package/tmpl/details.tmpl +16 -16
  27. package/tmpl/examples.tmpl +3 -1
  28. package/tmpl/icons.tmpl +43 -5
  29. package/tmpl/layout.tmpl +60 -79
  30. package/tmpl/members.tmpl +1 -2
  31. package/tmpl/method.tmpl +3 -4
  32. package/tmpl/mobile-sidebar.tmpl +21 -0
  33. package/tmpl/navbar-actions.tmpl +19 -0
  34. package/tmpl/navbar-menu.tmpl +21 -0
  35. package/tmpl/navbar.tmpl +14 -0
  36. package/tmpl/returns.tmpl +1 -1
  37. package/tmpl/search.tmpl +17 -0
  38. package/tmpl/sidebar-items.tmpl +24 -0
  39. package/tmpl/sidebar-title.tmpl +10 -0
  40. package/tmpl/sidebar.tmpl +9 -0
  41. package/tmpl/source.tmpl +7 -2
  42. package/tmpl/toc.tmpl +4 -0
  43. package/helpers/navbarBuilder.js +0 -0
  44. package/static/fonts/MavenPro-Regular.ttf +0 -0
  45. package/static/fonts/Montserrat-Regular.ttf +0 -0
  46. package/static/fonts/Muli-Black.ttf +0 -0
  47. package/static/fonts/OFL-hind.txt +0 -93
  48. package/static/fonts/OFL-montserrat.txt +0 -93
  49. package/static/scripts/fix-code-block.js +0 -53
  50. package/static/scripts/fix-navbar.js +0 -25
  51. package/static/scripts/linenumber.js +0 -25
  52. package/static/scripts/misc.js +0 -217
  53. package/static/scripts/third-party/lang-css.js +0 -2
  54. package/static/scripts/third-party/prettify.js +0 -28
  55. package/static/styles/reset.css +0 -351
  56. package/static/styles/third-party/ionicons.min.css +0 -11
  57. package/static/styles/third-party/prettify-jsdoc.css +0 -111
  58. package/static/styles/third-party/prettify-tomorrow.css +0 -5
@@ -1,319 +1,392 @@
1
- ::selection {
1
+ .light ::selection {
2
2
  background: #ffce76;
3
3
  color: #1d1919;
4
4
  }
5
5
 
6
- body {
6
+ body.light {
7
7
  background-color: #fff;
8
- color: #2f343a;
8
+ color: #111;
9
9
  }
10
10
 
11
- a,
12
- a:active {
13
- color: #530fff;
11
+ .light a,
12
+ .light a:active {
13
+ color: #007bff;
14
14
  }
15
15
 
16
- hr {
17
- border: 1px solid #eee;
16
+ .light h1,
17
+ .light h2,
18
+ .light h3,
19
+ .light h4,
20
+ .light h5,
21
+ .light h6 {
22
+ color: #111;
18
23
  }
19
24
 
20
- h1,
21
- h2,
22
- h3,
23
- h4,
24
- h5,
25
- h6 {
26
- color: #2f343a;
25
+ .light .sidebar {
26
+ background-color: #f7f7f7;
27
+ color: #222;
27
28
  }
28
29
 
29
- h1,
30
- h2 {
31
- border-bottom: 0.0625rem solid #eee;
30
+ .light .sidebar-title {
31
+ color: #222;
32
32
  }
33
33
 
34
- .navbar {
35
- background: #f8f8fa;
34
+ .light .sidebar-section-title {
35
+ color: #222;
36
36
  }
37
37
 
38
- .navbar-ham {
39
- background: #ddd;
38
+ .light .sidebar-section-title:hover {
39
+ background: #eee;
40
40
  }
41
41
 
42
- .navbar-ham .first,
43
- .navbar-ham .second,
44
- .navbar-ham .third {
45
- background: #000;
42
+ .light .with-arrow {
43
+ fill: #111;
46
44
  }
47
45
 
48
- .navbar-resize {
46
+ .light .sidebar-section-children-container {
49
47
  background: #eee;
50
48
  }
51
49
 
52
- .resize-dots-container .dots {
53
- background-color: #000;
50
+ .light .sidebar-section-children a:hover {
51
+ background: #e0e0e0;
54
52
  }
55
53
 
56
- blockquote {
57
- background: #f7f7f7;
58
- color: #888;
54
+ .light .sidebar-section-children a {
55
+ color: #111;
59
56
  }
60
57
 
58
+ .light .navbar-container {
59
+ background: #fff;
60
+ }
61
61
 
62
- .search-box-input-container {
63
- background: rgba(0, 0, 0, 0.02);
62
+ .light .icon-button svg,
63
+ .light .navbar-item a {
64
+ color: #222;
65
+ fill: #222;
64
66
  }
65
67
 
66
- .search-icon {
67
- fill: #888;
68
+ .light .tippy-box {
69
+ background: #eee;
70
+ color: #111;
68
71
  }
69
72
 
70
- .search-box-input {
71
- color: #000;
73
+ .light .tippy-arrow {
74
+ color: #f1f1f1;
72
75
  }
73
76
 
74
- .search-box-input::placeholder {
75
- color: #888;
77
+ .light .font-size-tooltip .icon-button svg {
78
+ fill: #111;
76
79
  }
77
80
 
78
- .search-box-input:focus + .search-icon {
79
- fill: #000;
81
+ .light .font-size-tooltip .icon-button.disabled svg {
82
+ fill: #999;
80
83
  }
81
84
 
82
- .search-item-ul {
83
- background: #eee;
85
+ .light .icon-button:hover {
86
+ background: #f1f1f1;
84
87
  }
85
88
 
86
- .search-item-ul li:hover {
87
- background: rgba(0, 0, 0, 0.1);
89
+ .light .icon-button:active {
90
+ background: #e5e5e5;
88
91
  }
89
92
 
90
- .search-item-ul a,
91
- .search-item-ul li {
92
- color: #000;
93
+ .light .navbar-item a:active {
94
+ color: #333;
95
+ background-color: #eee;
93
96
  }
94
97
 
95
- .accordion-heading {
96
- color: #000;
97
- fill: #000;
98
+ .light .navbar-item:hover {
99
+ background: #f7f7f7;
98
100
  }
99
101
 
100
- .accordion-content {
101
- background: rgba(0, 0, 0, 0.02);
102
+ .light .footer {
103
+ background: #f7f7f7;
104
+ color: #111;
102
105
  }
103
106
 
104
- .accordion-content a {
105
- color: #000;
107
+ .light .footer a {
108
+ color: #111;
106
109
  }
107
110
 
108
- .methods.accordion-content {
109
- background: #e9e9e9;
111
+ .light .toc-link {
112
+ color: #999;
113
+ transition: color 0.3s;
114
+ font-size: 0.875rem;
110
115
  }
111
116
 
112
- .menu-link {
113
- color: #000;
117
+ .light .toc-link.is-active-link {
118
+ color: #111;
119
+ }
120
+
121
+ .light .has-anchor .link-anchor {
122
+ color: #ddd;
123
+ }
124
+
125
+ .light .has-anchor .link-anchor:hover {
126
+ color: #ccc;
114
127
  }
115
128
 
116
- .signature-attributes {
129
+ .light .signature-attributes {
117
130
  color: #aaa;
118
131
  }
119
132
 
120
- .ancestors {
133
+ .light .ancestors {
121
134
  color: #999;
122
135
  }
123
136
 
124
- .ancestors a {
137
+ .light .ancestors a {
125
138
  color: #999 !important;
126
139
  }
127
140
 
128
- .important {
141
+ .light .important {
129
142
  color: #950b02;
130
143
  }
131
144
 
132
- .type-signature {
145
+ .light .type-signature {
133
146
  color: #00918e;
134
147
  }
135
148
 
136
- .name,
137
- .name a {
149
+ .light .name,
150
+ .light .name a {
138
151
  color: #293a80;
139
152
  }
140
153
 
141
- .details {
154
+ .light .details {
142
155
  background: #f9f9f9;
143
156
  color: #101010;
144
157
  }
145
158
 
146
- .member-item-container strong,
147
- .method-member-container strong {
159
+ .light .details a {
160
+ color: #111;
161
+ }
162
+
163
+ .light .member-item-container strong,
164
+ .light .method-member-container strong {
148
165
  color: #000;
149
166
  }
150
167
 
151
- .prettyprint,
152
- .pre-top-bar-container {
153
- background: #000;
168
+ .light .prettyprint {
169
+ background: #f7f7f7;
170
+ }
171
+
172
+ .light .pre-div {
173
+ background: #f7f7f7;
154
174
  }
155
175
 
156
- .prettyprint code {
157
- background-color: #000;
176
+ .light .hljs .hljs-ln-numbers {
177
+ color: #aaa;
158
178
  }
159
179
 
160
- .prettyprint.linenums li {
161
- border-left: 3px #222831 solid;
180
+ .light .hljs .selected {
181
+ background: #ccc;
162
182
  }
163
183
 
164
- /* stylelint-disable */
165
- .prettyprint.linenums li.selected,
166
- .prettyprint.linenums li.selected * {
167
- background-color: #404040;
184
+ .light table.hljs-ln td {
185
+ background: none;
168
186
  }
169
- /* stylelint-enable */
170
187
 
171
- table,
172
- .params,
173
- .props {
174
- box-shadow: 0 0 15px -4px rgba(0, 0, 0, 0.1);
188
+ .light .hljs .selected .hljs-ln-numbers {
189
+ color: #444;
175
190
  }
176
191
 
177
- table .name,
178
- .params .name,
179
- .props .name,
180
- .name code {
192
+ .light .pre-top-bar-container {
193
+ background-color: #eee;
194
+ }
195
+
196
+ .light .prettyprint code {
197
+ background-color: #f7f7f7;
198
+ }
199
+
200
+ .light table .name,
201
+ .light .params .name,
202
+ .light .props .name,
203
+ .light .name code {
181
204
  color: #4d4e53;
182
205
  }
183
206
 
184
- table td,
185
- .params td {
186
- border-top: 1px solid #eee;
207
+ .light table td,
208
+ .light .params td {
209
+ background: #f7f7f7;
187
210
  }
188
211
 
189
- table thead tr,
190
- .params thead tr,
191
- .props thead tr {
192
- background-color: #fff;
193
- color: #000;
212
+ .light table thead th,
213
+ .light .params thead th,
214
+ .light .props thead th {
215
+ background-color: #eee;
216
+ color: #111;
194
217
  }
195
218
 
196
219
  /* stylelint-disable */
197
- table .params thead tr,
198
- .params .params thead tr,
199
- .props .props thead tr {
200
- background-color: #fff;
201
- color: #000;
220
+ .light table .params thead tr,
221
+ .light .params .params thead tr,
222
+ .light .props .props thead tr {
223
+ background-color: #eee;
224
+ color: #111;
202
225
  }
203
226
 
204
- /* dl.param-type {
205
- border-bottom: 1px solid hsl(0, 0%, 87%);
206
- } */
207
-
208
- .disabled {
227
+ .light .disabled {
209
228
  color: #454545;
210
229
  }
211
230
 
212
-
213
- .code-copy-icon-container {
214
- fill: #fff;
231
+ .light .code-copy-icon-container {
232
+ fill: #111;
215
233
  }
216
234
 
217
- .code-copy-icon-container:hover {
218
- background-color: #fff;
219
- fill: #000;
235
+ .light .code-copy-icon-container:hover {
236
+ background-color: #ddd;
220
237
  }
221
238
 
222
- .code-lang-name {
223
- color: #ff8a00;
239
+ .light .code-lang-name {
240
+ color: #ff0000;
224
241
  }
225
242
 
226
- .tooltip {
243
+ .light .tooltip {
227
244
  background: #ffce76;
228
245
  color: #000;
229
246
  }
230
247
 
231
- .tooltip .pun,
232
- .tooltip .typ {
248
+ .light .tooltip .pun,
249
+ .light .tooltip .typ {
233
250
  background: #ffce76;
234
251
  color: #000;
235
252
  }
236
253
 
237
- .pln {
238
- color: #f5d67b;
254
+ /* Code */
255
+
256
+ .light .hljs-comment,
257
+ .light .hljs-quote {
258
+ color: #a0a1a7;
239
259
  }
240
260
 
241
- /* string content */
242
- .str {
243
- color: #55ae95;
261
+ .light .hljs-doctag,
262
+ .light .hljs-keyword,
263
+ .light .hljs-formula {
264
+ color: #a626a4;
244
265
  }
245
266
 
246
- /* a keyword */
247
- .kwd {
248
- color: #5edfff;
267
+ .light .hljs-section,
268
+ .light .hljs-name,
269
+ .light .hljs-selector-tag,
270
+ .light .hljs-deletion,
271
+ .light .hljs-subst {
272
+ color: #e45649;
249
273
  }
250
274
 
251
- /* a comment */
252
- .com {
253
- color: #a0a0a0;
275
+ .light .hljs-literal {
276
+ color: #0184bb;
254
277
  }
255
278
 
256
- /* a type name */
257
- .typ {
258
- color: #f5d67b;
279
+ .light .hljs-string,
280
+ .light .hljs-regexp,
281
+ .light .hljs-addition,
282
+ .light .hljs-attribute,
283
+ .light .hljs-meta .hljs-string {
284
+ color: #50a14f;
259
285
  }
260
286
 
261
- /* a literal value */
262
- .lit {
263
- color: #f5d67b;
287
+ .light .hljs-attr,
288
+ .light .hljs-variable,
289
+ .light .hljs-template-variable,
290
+ .light .hljs-type,
291
+ .light .hljs-selector-class,
292
+ .light .hljs-selector-attr,
293
+ .light .hljs-selector-pseudo,
294
+ .light .hljs-number {
295
+ color: #986801;
264
296
  }
265
297
 
266
- /* punctuation */
267
- .pun {
268
- color: #72e0d1;
298
+ .light .hljs-symbol,
299
+ .light .hljs-bullet,
300
+ .light .hljs-link,
301
+ .light .hljs-meta,
302
+ .light .hljs-selector-id,
303
+ .light .hljs-title {
304
+ color: #4078f2;
269
305
  }
270
306
 
271
- /* lisp open bracket */
272
- .opn {
273
- color: #72e0d1;
307
+ .light .hljs-built_in,
308
+ .light .hljs-title.class_,
309
+ .light .hljs-class .hljs-title {
310
+ color: #c18401;
274
311
  }
275
312
 
276
- /* lisp close bracket */
277
- .clo {
278
- color: #72e0d1;
313
+ .light .hljs-emphasis {
314
+ font-style: italic;
279
315
  }
280
316
 
281
- /* a markup tag name */
282
- .tag {
283
- color: #007bff;
317
+ .light .hljs-strong {
318
+ font-weight: bold;
284
319
  }
285
320
 
286
- /* a markup attribute name */
287
- .atn {
288
- color: #f5d67b;
321
+ .light .hljs-link {
322
+ text-decoration: underline;
289
323
  }
290
324
 
291
- /* a markup attribute value */
292
- .atv {
293
- color: #3e999f;
325
+ /* Code Ends */
326
+
327
+ .light blockquote {
328
+ background: #eee;
329
+ color: #111;
294
330
  }
295
331
 
296
- /* a declaration */
297
- .dec {
298
- color: #f5871f;
332
+ .light code {
333
+ background: #eee;
334
+ color: #000;
299
335
  }
300
336
 
301
- /* a variable name */
302
- .var {
303
- color: #f5d67b;
337
+ .light .search-container {
338
+ background: rgba(0, 0, 0, 0.1);
304
339
  }
305
340
 
306
- /* a function name */
307
- .fun {
308
- color: #4271ae;
341
+ .light .search-close-button svg {
342
+ fill: #f00;
309
343
  }
310
344
 
311
- ol.linenums li {
312
- color: #fff;
345
+ .light .search-container .wrapper {
346
+ background: #eee;
313
347
  }
314
348
 
349
+ .light .search-result-c {
350
+ color: #aaa;
351
+ }
315
352
 
316
- code {
317
- background: #eee;
318
- color: #000;
353
+ .light .search-box-c svg {
354
+ fill: #333;
355
+ }
356
+
357
+ .light .search-input {
358
+ background: #f7f7f7;
359
+ color: #111;
360
+ }
361
+
362
+ .light .search-result-item {
363
+ background: #f7f7f7;
364
+ }
365
+
366
+ .light .search-result-item:hover {
367
+ background: #e9e9e9;
368
+ }
369
+
370
+ .light .search-result-item:active {
371
+ background: #f7f7f7;
372
+ }
373
+
374
+ .light .search-result-item-title {
375
+ color: #111;
376
+ }
377
+
378
+ .light .search-result-item-p {
379
+ color: #aaa;
380
+ }
381
+
382
+ .light .mobile-menu-icon-container .icon-button {
383
+ background: #e5e5e5;
384
+ }
385
+
386
+ .light .mobile-sidebar-container {
387
+ background: #fff;
388
+ }
389
+
390
+ .light .mobile-sidebar-wrapper {
391
+ background: #f7f7f7;
319
392
  }
@@ -0,0 +1 @@
1
+ @font-face{font-family:"heading";src:url(../fonts/WorkSans-Bold.ttf)format("truetype")}@font-face{font-family:"body";src:url(../fonts/OpenSans-Regular.ttf)format("truetype")}@font-face{font-family:"code";src:url(../fonts/Inconsolata-Regular.ttf)format("truetype")}*{box-sizing:border-box;margin:0;padding:0}html,body{min-height:100%;width:100%;line-height:1.75}body{font-family:"body";overflow-x:hidden;position:relative}h1,h2,h3,h4,h5,h6{font-family:"heading";font-weight:400}h1{font-size:3.5rem;margin:0}h2{font-size:2.25rem;margin:2rem 0 0}h3{font-size:2rem;margin:2rem 0 0}h4{font-size:1.5rem;margin:1.5rem 0 0}h5{font-size:1.25rem}h6{font-size:1rem}img{max-width:100%}a{text-decoration:none}a:hover{text-decoration:underline}a img{margin-right:.5rem}p{margin:1rem 0}article ul{list-style:none;padding-left:1rem}article ul li::before{content:"— ";margin-right:.5rem}article ul li,article ol li{padding:.5rem 0}article ol{padding-left:1rem}.variation{display:none}.signature-attributes{font-style:italic;font-weight:lighter}.ancestors a{text-decoration:none}.important{font-weight:700}.yes-def{text-indent:-1000px}.signature{font-family:"code"}.name{font-family:"code";font-weight:700}blockquote{font-size:.875rem;padding:.0625rem 1.25rem;border-radius:1rem}.details{border-radius:1rem;margin:1rem 0}.details .details-item-container{display:flex;padding:1rem 2rem}dt{font-family:heading}.details dt{float:left;min-width:180px;padding:0 10px}.details ul{margin:0}.details ul{list-style-type:none}.details ul li{display:inline-block;margin-right:10px;padding:0;word-break:break-word}.details ul li::before{content:"";margin:0}.details ul li p{margin:0}.details pre.prettyprint{margin:0}.details .object-value{padding-top:0}.description{margin-bottom:32px}.method-member-container table{margin-top:15px}.pre-div .hljs-ln{margin:0}.code-caption{font-size:.875rem}.prettyprint{font-size:.875rem;overflow:auto}pre.prettyprint{margin-top:3rem}.prettyprint.source{width:inherit}.prettyprint code{display:block;font-size:1rem;line-height:1.75;padding:0 0 1rem}h4.name{margin-top:.5rem}.params,.props,table{border-collapse:separate;border-spacing:0 .5rem;border-radius:.5rem;font-size:.875rem;margin:0;width:100%}table td:first-child,.params td:first-child,table thead th:first-child,.params thead th:first-child,.props thead th:first-child{border-top-left-radius:1rem;border-bottom-left-radius:1rem}table td:last-child,.params td:last-child,table thead th:last-child,.params thead th:last-child,.props thead th:last-child{border-top-right-radius:1rem;border-bottom-right-radius:1rem}table th,.params th{position:sticky;top:0}.params .name,.props .name,.name code{font-family:"code";font-size:1rem}.params td,.params th,.props td,.props th,th,td{display:table-cell;margin:0;padding:1rem 2rem;text-align:left;vertical-align:top}.params thead tr,.props thead tr{font-weight:700}.params .params thead tr,.props .props thead tr{font-weight:700}.params td.description>p:first-child,.props td.description>p:first-child{margin-top:0;padding-top:0}.params td.description>p:last-child,.props td.description>p:last-child{margin-bottom:0;padding-bottom:0}dl.param-type{margin-bottom:1rem;padding-bottom:1rem}.param-type dt,.param-type dd{display:inline-block}.param-type dd{font-family:"code";font-size:1rem}code{border-radius:.3rem;font-family:"code";font-size:1rem;padding:.1rem .4rem}.mt-20{margin-top:1.5rem}.codepen-form{bottom:0;position:absolute;right:.6125rem}.body-wrapper{display:flex;flex-direction:column;height:100vh;position:relative}.sidebar-container{position:fixed;display:flex;padding:1rem;top:0;bottom:0;left:0;width:25rem;z-index:10}.sidebar{border-radius:1rem;flex:1;padding:1.5rem 0;overflow:hidden;display:flex;flex-direction:column}.sidebar-title{margin:0;padding:0 2rem;text-decoration:none;font-size:1.5rem;font-family:heading}.sidebar-title:hover{text-decoration:none}.sidebar-items-container{margin-top:5rem;overflow:auto;flex:1;position:relative}.sidebar-section-title{padding:.5rem 2rem;font-family:heading;font-size:1.25rem;border-radius:1rem}.with-arrow{align-items:center;cursor:pointer;display:flex}.with-arrow div{flex:1}.with-arrow svg{height:1rem;width:1rem;transition:transform .3s}.with-arrow[data-isopen=true] svg{transform:rotate(180deg)}.sidebar-section-children-container{border-radius:.5rem;overflow:hidden}.sidebar-section-children a{display:block;width:100%;padding:.25rem 2rem}.sidebar-section-children a{text-decoration:none}.with-arrow[data-isopen=false]+.sidebar-section-children-container{height:0;overflow:hidden}.with-arrow[data-isopen=true]+.sidebar-section-children-container{height:auto}.toc-container{position:fixed;top:0;right:4rem;bottom:0;width:16rem;z-index:10}.toc-content{padding-top:10rem;display:flex;flex-direction:column;height:100%}#toc{margin:2rem 0;flex:1;overflow:auto}.toc-list{padding-left:1rem;list-style:none}.toc-link{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;width:100%}.toc-link.is-active-link{font-family:heading}.has-anchor{position:relative}.link-anchor{padding:0 .5rem}.has-anchor .link-anchor{position:absolute;left:0;transform:translateX(-100%);text-decoration:none;visibility:hidden}.has-anchor:hover .link-anchor{visibility:visible}.navbar-container{position:fixed;z-index:10;top:0;left:25rem;right:25rem;height:7rem;padding-top:1rem;display:flex;justify-content:center}.navbar{display:flex;padding:1rem 4rem 1rem 2rem;flex:1;max-width:60rem}.navbar-left-items{display:flex;flex:1}.navbar-right-items{display:flex}.icon-button svg{height:1rem;width:1rem}.icon-button{background:0 0;display:inline-flex;border:0;padding:.5rem;border-radius:50%;cursor:pointer;transition:background .3s}.navbar-right-item{display:flex;justify-content:center;align-items:center;margin:0 .25rem}.navbar-item{border-radius:.5rem;overflow:hidden}.navbar-item a{display:inline-block;padding:1rem 2rem;text-decoration:none;transition:.3s}.font-size-tooltip{display:flex;align-items:center;margin:0-.5rem}.font-size-tooltip .icon-button.disabled{pointer-events:none}.main-content{position:relative;flex:1;overflow:auto;display:flex;flex-direction:column;align-items:center;padding:7rem 25rem 0}.main-wrapper{width:100%;max-width:60rem;padding:0 4rem 1rem}.p-h-n{padding:.4rem 1rem}.footer{width:100%;margin:5rem 0 0 0;border-radius:1rem;font-size:.875rem;display:flex;justify-content:center}.source-page+.footer{margin-top:3rem}.footer .wrapper{flex:1;padding:1rem 2rem;max-width:70rem}pre{position:relative}.hljs table td{background:0 0;padding:0 .6125rem;line-height:1.5;border-radius:0}.hljs .hljs-ln-numbers{width:2rem;white-space:nowrap;user-select:none;padding-left:1.5rem}.pre-div{position:relative;border-radius:1rem;overflow:hidden;margin:2rem 0}.pre-top-bar-container{align-items:center;display:flex;justify-content:space-between;left:0;padding:.3125rem 1.5rem;position:absolute;right:0;top:0;z-index:1}.code-copy-icon-container{align-items:center;border-radius:50%;cursor:pointer;display:flex;height:1.875rem;justify-content:center;transition:.3s;width:1.875rem}.code-copy-icon-container>div{margin-top:.25rem;position:relative}.sm-icon{height:1rem;width:1rem}.code-lang-name{font-family:"body";font-size:.75rem}.tooltip{border-radius:.3125rem;opacity:0;padding:.1875rem .5rem;position:absolute;right:2rem;top:-.125rem;transform:scale(0);transition:.3s}.show-tooltip{opacity:1;transform:scale(1)}.allow-overflow{overflow:auto}.bold{font-family:heading}.search-container{position:fixed;top:0;bottom:0;right:0;left:0;justify-content:center;z-index:50;align-items:flex-start}.search-container .wrapper{width:100%;max-width:60rem;padding:4rem 2rem 2rem;border-radius:1rem;margin:3rem 25rem;position:relative}.search-close-button{position:absolute;top:1rem;right:1rem}.search-result-c{min-height:20rem;max-height:40rem;overflow:auto;padding:2rem 0}.search-box-c{width:100%;position:relative;display:flex;align-items:center}.search-box-c svg{height:1.5rem;width:1.5rem;position:absolute;left:1.5rem}.search-input{border:0;border-radius:1rem;width:100%;flex:1;padding:1rem 2rem 1rem 4rem;font-family:body;font-size:1.25rem}.search-result-item{display:block;text-decoration:none;padding:1rem;border-radius:1rem;margin:1rem 0}.search-result-item:hover{text-decoration:none}.search-result-item:active{text-decoration:none}.search-result-item-title{font-family:heading;font-size:1.5rem}.search-result-item-p{font-size:.875rem}.mobile-menu-icon-container{display:none;position:fixed;bottom:1.5rem;right:2rem;z-index:30}.mobile-menu-icon-container .icon-button svg{height:2rem;width:2rem}.mobile-sidebar-container{position:fixed;top:0;right:0;left:0;bottom:0;padding:1rem;z-index:25;display:none}.mobile-sidebar-container.show{display:block}.mobile-sidebar-wrapper{border-radius:1rem;height:100%;width:100%;display:flex;flex-direction:column;padding-top:2rem}.mobile-nav-links{display:flex;flex-wrap:wrap;padding-top:2rem}.mobile-sidebar-items-c{flex:1;overflow:auto}.mobile-navbar-actions{display:flex;padding:1rem}@media screen and (max-width:100em){.toc-container{display:none}.main-content{padding:7rem 0 0 25rem}.search-container .wrapper{margin-right:1rem}.navbar-container{right:1rem}}@media screen and (min-width:65em){.mobile-sidebar-container.show{display:none}}@media screen and (max-width:65em){h1{font-size:3rem}h2{font-size:2rem}h3{font-size:1.875}h4,h5,h6{font-size:1rem}.main-wrapper{padding:0 1rem 1rem}.search-result-c{max-height:25rem}.mobile-menu-icon-container{display:block}.sidebar-container{display:none}.search-container .wrapper{margin-left:1rem}.main-content{padding-left:0;padding-top:1rem}.navbar-container{display:none}.source-page+.footer,.footer{margin-top:2rem}.has-anchor:hover .link-anchor{visibility:hidden}}.rel{position:relative}.icon-button.codepen-button svg{height:1.5rem;width:1.5rem}.table-div{width:100%;overflow:auto}::selection{background:#ffce76;color:#222}body{background-color:#1a1a1a;color:#fff}a,a:active{color:#0bf}h1,h2,h3,h4,h5,h6{color:#fff}.sidebar{background-color:#222;color:#999}.sidebar-title{color:#999}.sidebar-section-title{color:#999}.sidebar-section-title:hover{background:#252525}.with-arrow{fill:#999}.sidebar-section-children-container{background:#292929}.sidebar-section-children a:hover{background:#2c2c2c}.sidebar-section-children a{color:#fff}.navbar-container{background:#1a1a1a}.icon-button svg,.navbar-item a{color:#999;fill:#999}.font-size-tooltip .icon-button svg{fill:#fff}.font-size-tooltip .icon-button.disabled{background:#999}.icon-button:hover{background:#333}.icon-button:active{background:#444}.navbar-item a:active{color:#aaa;background-color:#222}.navbar-item:hover{background:#202020}.footer{background:#222;color:#999}.footer a{color:#999}.toc-link{color:#777;transition:color .3s;font-size:.875rem}.toc-link.is-active-link{color:#fff}.has-anchor .link-anchor{color:#555}.has-anchor .link-anchor:hover{color:#888}tt,code,kbd,samp{background:#222}.signature-attributes{color:#aaa}.ancestors{color:#999}.ancestors a{color:#999!important}.important{color:#950b02}.type-signature{color:#00918e}.name,.name a{color:#f7f7f7}.details{background:#222;color:#fff}.details a{color:#fff}.prettyprint{background:#222}.member-item-container strong,.method-member-container strong{color:#fff}.pre-top-bar-container{background:#292929}.prettyprint.source,.prettyprint code{background-color:#222;color:#c9d1d9}.pre-div{background-color:#222}.hljs .hljs-ln-numbers{color:#777}.hljs .selected{background:#444}.hljs .selected .hljs-ln-numbers{color:#eee}table .name,.params .name,.props .name,.name code{color:#fff}table td,.params td{background-color:#292929}table thead th,.params thead th,.props thead th{background-color:#222;color:#fff}table .params thead tr,.params .params thead tr,.props .props thead tr{background-color:#222;color:#fff}.disabled{color:#aaa}.code-copy-icon-container{fill:#fff}.code-copy-icon-container:hover{background-color:#444}.code-lang-name{color:#ff8a00}.tooltip{background:#ffce76;color:#222}.tooltip .pun,.tooltip .typ{background:#ffce76;color:#222}.hljs-comment{color:#8b949e}.hljs-doctag,.hljs-keyword,.hljs-template-tag,.hljs-variable.language_{color:#ff7b72}.hljs-template-variable,.hljs-type{color:#30ac7c}.hljs-meta,.hljs-string,.hljs-regexp{color:#a5d6ff}.hljs-title.class_,.hljs-title{color:#ffa657}.hljs-title.class_.inherited__,.hljs-title.function_{color:#d2a8ff}.hljs-attr,.hljs-attribute,.hljs-literal,.hljs-meta,.hljs-number,.hljs-operator,.hljs-selector-attr,.hljs-selector-class,.hljs-selector-id,.hljs-variable{color:#79c0ff}.hljs-meta .hljs-string,.hljs-regexp,.hljs-string{color:#a5d6ff}.hljs-built_in,.hljs-symbol{color:#ffa657}.hljs-code,.hljs-comment,.hljs-formula{color:#8b949e}.hljs-name,.hljs-quote,.hljs-selector-pseudo,.hljs-selector-tag{color:#7ee787}.hljs-subst{color:#c9d1d9}.hljs-section{color:#1f6feb;font-weight:700}.hljs-bullet{color:#f2cc60}.hljs-emphasis{color:#c9d1d9;font-style:italic}.hljs-strong{color:#c9d1d9;font-weight:700}blockquote{background:#222;color:#fff}.search-container{background:rgba(255,255,255,.1)}.icon-button.search-close-button svg{fill:#a00}.search-container .wrapper{background:#222}.search-result-c{color:#666}.search-box-c{fill:#333}.search-input{background:#333;color:#fff}.search-box-c svg{fill:#fff}.search-result-item{background:#333}.search-result-item:hover{background:#444}.search-result-item:active{background:#555}.search-result-item-title{color:#fff}.search-result-item-p{color:#aaa}.mobile-menu-icon-container .icon-button{background:#333}.mobile-sidebar-container{background:#1a1a1a}.mobile-sidebar-wrapper{background:#222}.light ::selection{background:#ffce76;color:#1d1919}body.light{background-color:#fff;color:#111}.light a,.light a:active{color:#007bff}.light h1,.light h2,.light h3,.light h4,.light h5,.light h6{color:#111}.light .sidebar{background-color:#f7f7f7;color:#222}.light .sidebar-title{color:#222}.light .sidebar-section-title{color:#222}.light .sidebar-section-title:hover{background:#eee}.light .with-arrow{fill:#111}.light .sidebar-section-children-container{background:#eee}.light .sidebar-section-children a:hover{background:#e0e0e0}.light .sidebar-section-children a{color:#111}.light .navbar-container{background:#fff}.light .icon-button svg,.light .navbar-item a{color:#222;fill:#222}.light .tippy-box{background:#eee;color:#111}.light .tippy-arrow{color:#f1f1f1}.light .font-size-tooltip .icon-button svg{fill:#111}.light .font-size-tooltip .icon-button.disabled svg{fill:#999}.light .icon-button:hover{background:#f1f1f1}.light .icon-button:active{background:#e5e5e5}.light .navbar-item a:active{color:#333;background-color:#eee}.light .navbar-item:hover{background:#f7f7f7}.light .footer{background:#f7f7f7;color:#111}.light .footer a{color:#111}.light .toc-link{color:#999;transition:color .3s;font-size:.875rem}.light .toc-link.is-active-link{color:#111}.light .has-anchor .link-anchor{color:#ddd}.light .has-anchor .link-anchor:hover{color:#ccc}.light .signature-attributes{color:#aaa}.light .ancestors{color:#999}.light .ancestors a{color:#999!important}.light .important{color:#950b02}.light .type-signature{color:#00918e}.light .name,.light .name a{color:#293a80}.light .details{background:#f9f9f9;color:#101010}.light .details a{color:#111}.light .member-item-container strong,.light .method-member-container strong{color:#000}.light .prettyprint{background:#f7f7f7}.light .pre-div{background:#f7f7f7}.light .hljs .hljs-ln-numbers{color:#aaa}.light .hljs .selected{background:#ccc}.light table.hljs-ln td{background:0 0}.light .hljs .selected .hljs-ln-numbers{color:#444}.light .pre-top-bar-container{background-color:#eee}.light .prettyprint code{background-color:#f7f7f7}.light table .name,.light .params .name,.light .props .name,.light .name code{color:#4d4e53}.light table td,.light .params td{background:#f7f7f7}.light table thead th,.light .params thead th,.light .props thead th{background-color:#eee;color:#111}.light table .params thead tr,.light .params .params thead tr,.light .props .props thead tr{background-color:#eee;color:#111}.light .disabled{color:#454545}.light .code-copy-icon-container{fill:#111}.light .code-copy-icon-container:hover{background-color:#ddd}.light .code-lang-name{color:red}.light .tooltip{background:#ffce76;color:#000}.light .tooltip .pun,.light .tooltip .typ{background:#ffce76;color:#000}.light .hljs-comment,.light .hljs-quote{color:#a0a1a7}.light .hljs-doctag,.light .hljs-keyword,.light .hljs-formula{color:#a626a4}.light .hljs-section,.light .hljs-name,.light .hljs-selector-tag,.light .hljs-deletion,.light .hljs-subst{color:#e45649}.light .hljs-literal{color:#0184bb}.light .hljs-string,.light .hljs-regexp,.light .hljs-addition,.light .hljs-attribute,.light .hljs-meta .hljs-string{color:#50a14f}.light .hljs-attr,.light .hljs-variable,.light .hljs-template-variable,.light .hljs-type,.light .hljs-selector-class,.light .hljs-selector-attr,.light .hljs-selector-pseudo,.light .hljs-number{color:#986801}.light .hljs-symbol,.light .hljs-bullet,.light .hljs-link,.light .hljs-meta,.light .hljs-selector-id,.light .hljs-title{color:#4078f2}.light .hljs-built_in,.light .hljs-title.class_,.light .hljs-class .hljs-title{color:#c18401}.light .hljs-emphasis{font-style:italic}.light .hljs-strong{font-weight:700}.light .hljs-link{text-decoration:underline}.light blockquote{background:#eee;color:#111}.light code{background:#eee;color:#000}.light .search-container{background:rgba(0,0,0,.1)}.light .search-close-button svg{fill:red}.light .search-container .wrapper{background:#eee}.light .search-result-c{color:#aaa}.light .search-box-c svg{fill:#333}.light .search-input{background:#f7f7f7;color:#111}.light .search-result-item{background:#f7f7f7}.light .search-result-item:hover{background:#e9e9e9}.light .search-result-item:active{background:#f7f7f7}.light .search-result-item-title{color:#111}.light .search-result-item-p{color:#aaa}.light .mobile-menu-icon-container .icon-button{background:#e5e5e5}.light .mobile-sidebar-container{background:#fff}.light .mobile-sidebar-wrapper{background:#f7f7f7}