speaker-calibration 2.2.160 → 2.2.162

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 (121) hide show
  1. package/.eslintignore +71 -71
  2. package/.eslintrc.json +40 -40
  3. package/.github/workflows/update-phrases.yml +37 -0
  4. package/.prettierignore +69 -69
  5. package/.prettierrc +14 -14
  6. package/LICENSE +20 -20
  7. package/README.md +133 -133
  8. package/__mocks__/fileMock.js +1 -1
  9. package/__mocks__/styleMock.js +1 -1
  10. package/babel.config.js +3 -3
  11. package/coverage/clover.xml +71 -71
  12. package/coverage/coverage-final.json +224 -224
  13. package/coverage/lcov-report/PythonServerInterface.js.html +265 -265
  14. package/coverage/lcov-report/base.css +354 -354
  15. package/coverage/lcov-report/block-navigation.js +82 -82
  16. package/coverage/lcov-report/index.html +123 -123
  17. package/coverage/lcov-report/prettify.css +101 -101
  18. package/coverage/lcov-report/prettify.js +937 -937
  19. package/coverage/lcov-report/sorter.js +189 -189
  20. package/coverage/lcov-report/src/index.html +121 -121
  21. package/coverage/lcov-report/src/server/PythonServerInterface.js.html +268 -268
  22. package/coverage/lcov-report/src/server/index.html +123 -123
  23. package/coverage/lcov-report/src/tasks/audioCalibrator.js.html +499 -499
  24. package/coverage/lcov-report/src/tasks/audioRecorder.js.html +412 -412
  25. package/coverage/lcov-report/src/tasks/index.html +143 -143
  26. package/coverage/lcov-report/src/tasks/volume/index.html +123 -123
  27. package/coverage/lcov-report/src/tasks/volume/volume.js.html +409 -409
  28. package/coverage/lcov-report/src/utils.js.html +172 -172
  29. package/coverage/lcov.info +91 -91
  30. package/dist/example/credentials.json.gpg +0 -0
  31. package/dist/example/fetch-languages-sheets.js +77 -77
  32. package/dist/example/i18n.js +23984 -35693
  33. package/dist/example/index.html +47 -47
  34. package/dist/example/listener.html +62 -62
  35. package/dist/example/listener.js +132 -132
  36. package/dist/example/server.js +51 -51
  37. package/dist/example/speaker.html +145 -145
  38. package/dist/example/speakerUI.js +273 -273
  39. package/dist/example/styles.css +96 -92
  40. package/dist/main.js +17 -17
  41. package/dist/mlsGen.js +6814 -6814
  42. package/dist/mlsGen.wasm +0 -0
  43. package/dist/package-lock.json +1018 -1018
  44. package/dist/package.json +18 -18
  45. package/doc/AudioCalibrator.html +417 -417
  46. package/doc/AudioPeer.html +251 -251
  47. package/doc/AudioRecorder.html +195 -195
  48. package/doc/ImpulseResponse.html +215 -215
  49. package/doc/Listener.html +308 -308
  50. package/doc/MlsGenInterface.html +226 -226
  51. package/doc/MyEventEmitter.html +274 -274
  52. package/doc/PythonServerAPI.html +109 -109
  53. package/doc/Speaker.html +276 -276
  54. package/doc/Takes%20a%20target%20element%20where%20html%20elements%20will%20be%20appended..html +128 -128
  55. package/doc/Takes%20the%20url%20of%20the%20current%20site%0Aand%20a%20target%20element%20where%20html%20elements%20will%20be%20appended..html +138 -138
  56. package/doc/Takes%20the%20url%20of%20the%20current%20site%20and%20a%20target%20element%20where%20html%20elements%20will%20be%20appended..html +137 -137
  57. package/doc/Volume.html +88 -88
  58. package/doc/audioCalibrator.js.html +179 -179
  59. package/doc/audioPeer.js.html +175 -175
  60. package/doc/audioRecorder.js.html +163 -163
  61. package/doc/creates%20a%20new%20AudioRecorder%20instance.%20%0ASets%20up%20the%20audio%20context%20and%20file%20reader..html +114 -114
  62. package/doc/fonts/OpenSans-Bold-webfont.svg +1829 -1829
  63. package/doc/fonts/OpenSans-BoldItalic-webfont.svg +1829 -1829
  64. package/doc/fonts/OpenSans-Italic-webfont.svg +1829 -1829
  65. package/doc/fonts/OpenSans-Light-webfont.svg +1830 -1830
  66. package/doc/fonts/OpenSans-LightItalic-webfont.svg +1834 -1834
  67. package/doc/fonts/OpenSans-Regular-webfont.svg +1830 -1830
  68. package/doc/global.html +308 -308
  69. package/doc/index.html +58 -58
  70. package/doc/listener.js.html +170 -170
  71. package/doc/mlsGen_mlsGenInterface.js.html +117 -117
  72. package/doc/myEventEmitter.js.html +124 -124
  73. package/doc/peer-connection_audioPeer.js.html +188 -188
  74. package/doc/peer-connection_listener.js.html +311 -311
  75. package/doc/peer-connection_speaker.js.html +381 -381
  76. package/doc/scripts/linenumber.js +25 -25
  77. package/doc/scripts/prettify/Apache-License-2.0.txt +202 -202
  78. package/doc/scripts/prettify/lang-css.js +24 -24
  79. package/doc/scripts/prettify/prettify.js +640 -640
  80. package/doc/server_PythonServerAPI.js.html +160 -160
  81. package/doc/speaker.js.html +248 -248
  82. package/doc/styles/jsdoc-default.css +371 -371
  83. package/doc/styles/prettify-jsdoc.css +111 -111
  84. package/doc/styles/prettify-tomorrow.css +163 -163
  85. package/doc/tasks_audioCalibrator.js.html +207 -207
  86. package/doc/tasks_audioRecorder.js.html +190 -190
  87. package/doc/tasks_impulse-response_impulseResponse.js.html +442 -442
  88. package/doc/tasks_impulse-response_mlsGen_mlsGenInterface.js.html +175 -175
  89. package/doc/tasks_volume_volume.js.html +185 -185
  90. package/doc/utils.js.html +105 -105
  91. package/jest.config.js +173 -173
  92. package/makefile +74 -0
  93. package/netlify.toml +26 -26
  94. package/package.json +71 -69
  95. package/src/config/firebase.js +26 -26
  96. package/src/index.html +21 -21
  97. package/src/main.js +23 -23
  98. package/src/myEventEmitter.js +83 -83
  99. package/src/peer-connection/audioPeer.js +178 -151
  100. package/src/peer-connection/listener.js +338 -338
  101. package/src/peer-connection/peerErrors.js +25 -25
  102. package/src/peer-connection/speaker.js +574 -550
  103. package/src/server/PythonServerAPI.js +796 -796
  104. package/src/tasks/audioCalibrator.js +323 -323
  105. package/src/tasks/audioRecorder.js +315 -315
  106. package/src/tasks/combination/combination.js +2901 -2901
  107. package/src/tasks/combination/mlsGen/mlsGen.cpp +98 -98
  108. package/src/tasks/combination/mlsGen/mlsGen.hpp +303 -303
  109. package/src/tasks/combination/mlsGen/mlsGenInterface.js +131 -131
  110. package/src/tasks/combination/mlsGen/mlsGenTest.cpp +180 -180
  111. package/src/tasks/impulse-response/impulseResponse.js +610 -610
  112. package/src/tasks/impulse-response/mlsGen/mlsGen.cpp +98 -98
  113. package/src/tasks/impulse-response/mlsGen/mlsGen.hpp +303 -303
  114. package/src/tasks/impulse-response/mlsGen/mlsGenInterface.js +131 -131
  115. package/src/tasks/impulse-response/mlsGen/mlsGenTest.cpp +180 -180
  116. package/src/tasks/volume/volume.cpp +2 -2
  117. package/src/tasks/volume/volume.hpp +22 -22
  118. package/src/tasks/volume/volume.js +279 -279
  119. package/src/utils.js +135 -135
  120. package/webpack.config.js +37 -37
  121. package/.gitignore +0 -81
@@ -1,371 +1,371 @@
1
- @font-face {
2
- font-family: 'Open Sans';
3
- font-weight: normal;
4
- font-style: normal;
5
- src: url('../fonts/OpenSans-Regular-webfont.eot');
6
- src: local('Open Sans'), local('OpenSans'),
7
- url('../fonts/OpenSans-Regular-webfont.eot?#iefix') format('embedded-opentype'),
8
- url('../fonts/OpenSans-Regular-webfont.woff') format('woff'),
9
- url('../fonts/OpenSans-Regular-webfont.svg#open_sansregular') format('svg');
10
- }
11
-
12
- @font-face {
13
- font-family: 'Open Sans Light';
14
- font-weight: normal;
15
- font-style: normal;
16
- src: url('../fonts/OpenSans-Light-webfont.eot');
17
- src: local('Open Sans Light'), local('OpenSans Light'),
18
- url('../fonts/OpenSans-Light-webfont.eot?#iefix') format('embedded-opentype'),
19
- url('../fonts/OpenSans-Light-webfont.woff') format('woff'),
20
- url('../fonts/OpenSans-Light-webfont.svg#open_sanslight') format('svg');
21
- }
22
-
23
- html {
24
- overflow: auto;
25
- background-color: #fff;
26
- font-size: 14px;
27
- }
28
-
29
- body {
30
- font-family: 'Open Sans', sans-serif;
31
- line-height: 1.5;
32
- color: #4d4e53;
33
- background-color: white;
34
- }
35
-
36
- a,
37
- a:visited,
38
- a:active {
39
- color: #0095dd;
40
- text-decoration: none;
41
- }
42
-
43
- a:hover {
44
- text-decoration: underline;
45
- }
46
-
47
- header {
48
- display: block;
49
- padding: 0px 4px;
50
- }
51
-
52
- tt,
53
- code,
54
- kbd,
55
- samp {
56
- font-family: Consolas, Monaco, 'Andale Mono', monospace;
57
- }
58
-
59
- .class-description {
60
- font-size: 130%;
61
- line-height: 140%;
62
- margin-bottom: 1em;
63
- margin-top: 1em;
64
- }
65
-
66
- .class-description:empty {
67
- margin: 0;
68
- }
69
-
70
- #main {
71
- float: left;
72
- width: 70%;
73
- }
74
-
75
- article dl {
76
- margin-bottom: 40px;
77
- }
78
-
79
- article img {
80
- max-width: 100%;
81
- }
82
-
83
- section {
84
- display: block;
85
- background-color: #fff;
86
- padding: 12px 24px;
87
- border-bottom: 1px solid #ccc;
88
- margin-right: 30px;
89
- }
90
-
91
- .variation {
92
- display: none;
93
- }
94
-
95
- .signature-attributes {
96
- font-size: 60%;
97
- color: #aaa;
98
- font-style: italic;
99
- font-weight: lighter;
100
- }
101
-
102
- nav {
103
- display: block;
104
- float: right;
105
- margin-top: 28px;
106
- width: 30%;
107
- box-sizing: border-box;
108
- border-left: 1px solid #ccc;
109
- padding-left: 16px;
110
- }
111
-
112
- nav ul {
113
- font-family: 'Lucida Grande', 'Lucida Sans Unicode', arial, sans-serif;
114
- font-size: 100%;
115
- line-height: 17px;
116
- padding: 0;
117
- margin: 0;
118
- list-style-type: none;
119
- }
120
-
121
- nav ul a,
122
- nav ul a:visited,
123
- nav ul a:active {
124
- font-family: Consolas, Monaco, 'Andale Mono', monospace;
125
- line-height: 18px;
126
- color: #4d4e53;
127
- }
128
-
129
- nav h3 {
130
- margin-top: 12px;
131
- }
132
-
133
- nav li {
134
- margin-top: 6px;
135
- }
136
-
137
- footer {
138
- display: block;
139
- padding: 6px;
140
- margin-top: 12px;
141
- font-style: italic;
142
- font-size: 90%;
143
- }
144
-
145
- h1,
146
- h2,
147
- h3,
148
- h4 {
149
- font-weight: 200;
150
- margin: 0;
151
- }
152
-
153
- h1 {
154
- font-family: 'Open Sans Light', sans-serif;
155
- font-size: 48px;
156
- letter-spacing: -2px;
157
- margin: 12px 24px 20px;
158
- }
159
-
160
- h2,
161
- h3.subsection-title {
162
- font-size: 30px;
163
- font-weight: 700;
164
- letter-spacing: -1px;
165
- margin-bottom: 12px;
166
- }
167
-
168
- h3 {
169
- font-size: 24px;
170
- letter-spacing: -0.5px;
171
- margin-bottom: 12px;
172
- }
173
-
174
- h4 {
175
- font-size: 18px;
176
- letter-spacing: -0.33px;
177
- margin-bottom: 12px;
178
- color: #4d4e53;
179
- }
180
-
181
- h5,
182
- .container-overview .subsection-title {
183
- font-size: 120%;
184
- font-weight: bold;
185
- letter-spacing: -0.01em;
186
- margin: 8px 0 3px 0;
187
- }
188
-
189
- h6 {
190
- font-size: 100%;
191
- letter-spacing: -0.01em;
192
- margin: 6px 0 3px 0;
193
- font-style: italic;
194
- }
195
-
196
- table {
197
- border-spacing: 0;
198
- border: 0;
199
- border-collapse: collapse;
200
- }
201
-
202
- td,
203
- th {
204
- border: 1px solid #ddd;
205
- margin: 0px;
206
- text-align: left;
207
- vertical-align: top;
208
- padding: 4px 6px;
209
- display: table-cell;
210
- }
211
-
212
- thead tr {
213
- background-color: #ddd;
214
- font-weight: bold;
215
- }
216
-
217
- th {
218
- border-right: 1px solid #aaa;
219
- }
220
- tr > th:last-child {
221
- border-right: 1px solid #ddd;
222
- }
223
-
224
- .ancestors,
225
- .attribs {
226
- color: #999;
227
- }
228
- .ancestors a,
229
- .attribs a {
230
- color: #999 !important;
231
- text-decoration: none;
232
- }
233
-
234
- .clear {
235
- clear: both;
236
- }
237
-
238
- .important {
239
- font-weight: bold;
240
- color: #950b02;
241
- }
242
-
243
- .yes-def {
244
- text-indent: -1000px;
245
- }
246
-
247
- .type-signature {
248
- color: #aaa;
249
- }
250
-
251
- .name,
252
- .signature {
253
- font-family: Consolas, Monaco, 'Andale Mono', monospace;
254
- }
255
-
256
- .details {
257
- margin-top: 14px;
258
- border-left: 2px solid #ddd;
259
- }
260
- .details dt {
261
- width: 120px;
262
- float: left;
263
- padding-left: 10px;
264
- padding-top: 6px;
265
- }
266
- .details dd {
267
- margin-left: 70px;
268
- }
269
- .details ul {
270
- margin: 0;
271
- }
272
- .details ul {
273
- list-style-type: none;
274
- }
275
- .details li {
276
- margin-left: 30px;
277
- padding-top: 6px;
278
- }
279
- .details pre.prettyprint {
280
- margin: 0;
281
- }
282
- .details .object-value {
283
- padding-top: 0;
284
- }
285
-
286
- .description {
287
- margin-bottom: 1em;
288
- margin-top: 1em;
289
- }
290
-
291
- .code-caption {
292
- font-style: italic;
293
- font-size: 107%;
294
- margin: 0;
295
- }
296
-
297
- .source {
298
- border: 1px solid #ddd;
299
- width: 80%;
300
- overflow: auto;
301
- }
302
-
303
- .prettyprint.source {
304
- width: inherit;
305
- }
306
-
307
- .source code {
308
- font-size: 100%;
309
- line-height: 18px;
310
- display: block;
311
- padding: 4px 12px;
312
- margin: 0;
313
- background-color: #fff;
314
- color: #4d4e53;
315
- }
316
-
317
- .prettyprint code span.line {
318
- display: inline-block;
319
- }
320
-
321
- .prettyprint.linenums {
322
- padding-left: 70px;
323
- -webkit-user-select: none;
324
- -moz-user-select: none;
325
- -ms-user-select: none;
326
- user-select: none;
327
- }
328
-
329
- .prettyprint.linenums ol {
330
- padding-left: 0;
331
- }
332
-
333
- .prettyprint.linenums li {
334
- border-left: 3px #ddd solid;
335
- }
336
-
337
- .prettyprint.linenums li.selected,
338
- .prettyprint.linenums li.selected * {
339
- background-color: lightyellow;
340
- }
341
-
342
- .prettyprint.linenums li * {
343
- -webkit-user-select: text;
344
- -moz-user-select: text;
345
- -ms-user-select: text;
346
- user-select: text;
347
- }
348
-
349
- .params .name,
350
- .props .name,
351
- .name code {
352
- color: #4d4e53;
353
- font-family: Consolas, Monaco, 'Andale Mono', monospace;
354
- font-size: 100%;
355
- }
356
-
357
- .params td.description > p:first-child,
358
- .props td.description > p:first-child {
359
- margin-top: 0;
360
- padding-top: 0;
361
- }
362
-
363
- .params td.description > p:last-child,
364
- .props td.description > p:last-child {
365
- margin-bottom: 0;
366
- padding-bottom: 0;
367
- }
368
-
369
- .disabled {
370
- color: #454545;
371
- }
1
+ @font-face {
2
+ font-family: 'Open Sans';
3
+ font-weight: normal;
4
+ font-style: normal;
5
+ src: url('../fonts/OpenSans-Regular-webfont.eot');
6
+ src: local('Open Sans'), local('OpenSans'),
7
+ url('../fonts/OpenSans-Regular-webfont.eot?#iefix') format('embedded-opentype'),
8
+ url('../fonts/OpenSans-Regular-webfont.woff') format('woff'),
9
+ url('../fonts/OpenSans-Regular-webfont.svg#open_sansregular') format('svg');
10
+ }
11
+
12
+ @font-face {
13
+ font-family: 'Open Sans Light';
14
+ font-weight: normal;
15
+ font-style: normal;
16
+ src: url('../fonts/OpenSans-Light-webfont.eot');
17
+ src: local('Open Sans Light'), local('OpenSans Light'),
18
+ url('../fonts/OpenSans-Light-webfont.eot?#iefix') format('embedded-opentype'),
19
+ url('../fonts/OpenSans-Light-webfont.woff') format('woff'),
20
+ url('../fonts/OpenSans-Light-webfont.svg#open_sanslight') format('svg');
21
+ }
22
+
23
+ html {
24
+ overflow: auto;
25
+ background-color: #fff;
26
+ font-size: 14px;
27
+ }
28
+
29
+ body {
30
+ font-family: 'Open Sans', sans-serif;
31
+ line-height: 1.5;
32
+ color: #4d4e53;
33
+ background-color: white;
34
+ }
35
+
36
+ a,
37
+ a:visited,
38
+ a:active {
39
+ color: #0095dd;
40
+ text-decoration: none;
41
+ }
42
+
43
+ a:hover {
44
+ text-decoration: underline;
45
+ }
46
+
47
+ header {
48
+ display: block;
49
+ padding: 0px 4px;
50
+ }
51
+
52
+ tt,
53
+ code,
54
+ kbd,
55
+ samp {
56
+ font-family: Consolas, Monaco, 'Andale Mono', monospace;
57
+ }
58
+
59
+ .class-description {
60
+ font-size: 130%;
61
+ line-height: 140%;
62
+ margin-bottom: 1em;
63
+ margin-top: 1em;
64
+ }
65
+
66
+ .class-description:empty {
67
+ margin: 0;
68
+ }
69
+
70
+ #main {
71
+ float: left;
72
+ width: 70%;
73
+ }
74
+
75
+ article dl {
76
+ margin-bottom: 40px;
77
+ }
78
+
79
+ article img {
80
+ max-width: 100%;
81
+ }
82
+
83
+ section {
84
+ display: block;
85
+ background-color: #fff;
86
+ padding: 12px 24px;
87
+ border-bottom: 1px solid #ccc;
88
+ margin-right: 30px;
89
+ }
90
+
91
+ .variation {
92
+ display: none;
93
+ }
94
+
95
+ .signature-attributes {
96
+ font-size: 60%;
97
+ color: #aaa;
98
+ font-style: italic;
99
+ font-weight: lighter;
100
+ }
101
+
102
+ nav {
103
+ display: block;
104
+ float: right;
105
+ margin-top: 28px;
106
+ width: 30%;
107
+ box-sizing: border-box;
108
+ border-left: 1px solid #ccc;
109
+ padding-left: 16px;
110
+ }
111
+
112
+ nav ul {
113
+ font-family: 'Lucida Grande', 'Lucida Sans Unicode', arial, sans-serif;
114
+ font-size: 100%;
115
+ line-height: 17px;
116
+ padding: 0;
117
+ margin: 0;
118
+ list-style-type: none;
119
+ }
120
+
121
+ nav ul a,
122
+ nav ul a:visited,
123
+ nav ul a:active {
124
+ font-family: Consolas, Monaco, 'Andale Mono', monospace;
125
+ line-height: 18px;
126
+ color: #4d4e53;
127
+ }
128
+
129
+ nav h3 {
130
+ margin-top: 12px;
131
+ }
132
+
133
+ nav li {
134
+ margin-top: 6px;
135
+ }
136
+
137
+ footer {
138
+ display: block;
139
+ padding: 6px;
140
+ margin-top: 12px;
141
+ font-style: italic;
142
+ font-size: 90%;
143
+ }
144
+
145
+ h1,
146
+ h2,
147
+ h3,
148
+ h4 {
149
+ font-weight: 200;
150
+ margin: 0;
151
+ }
152
+
153
+ h1 {
154
+ font-family: 'Open Sans Light', sans-serif;
155
+ font-size: 48px;
156
+ letter-spacing: -2px;
157
+ margin: 12px 24px 20px;
158
+ }
159
+
160
+ h2,
161
+ h3.subsection-title {
162
+ font-size: 30px;
163
+ font-weight: 700;
164
+ letter-spacing: -1px;
165
+ margin-bottom: 12px;
166
+ }
167
+
168
+ h3 {
169
+ font-size: 24px;
170
+ letter-spacing: -0.5px;
171
+ margin-bottom: 12px;
172
+ }
173
+
174
+ h4 {
175
+ font-size: 18px;
176
+ letter-spacing: -0.33px;
177
+ margin-bottom: 12px;
178
+ color: #4d4e53;
179
+ }
180
+
181
+ h5,
182
+ .container-overview .subsection-title {
183
+ font-size: 120%;
184
+ font-weight: bold;
185
+ letter-spacing: -0.01em;
186
+ margin: 8px 0 3px 0;
187
+ }
188
+
189
+ h6 {
190
+ font-size: 100%;
191
+ letter-spacing: -0.01em;
192
+ margin: 6px 0 3px 0;
193
+ font-style: italic;
194
+ }
195
+
196
+ table {
197
+ border-spacing: 0;
198
+ border: 0;
199
+ border-collapse: collapse;
200
+ }
201
+
202
+ td,
203
+ th {
204
+ border: 1px solid #ddd;
205
+ margin: 0px;
206
+ text-align: left;
207
+ vertical-align: top;
208
+ padding: 4px 6px;
209
+ display: table-cell;
210
+ }
211
+
212
+ thead tr {
213
+ background-color: #ddd;
214
+ font-weight: bold;
215
+ }
216
+
217
+ th {
218
+ border-right: 1px solid #aaa;
219
+ }
220
+ tr > th:last-child {
221
+ border-right: 1px solid #ddd;
222
+ }
223
+
224
+ .ancestors,
225
+ .attribs {
226
+ color: #999;
227
+ }
228
+ .ancestors a,
229
+ .attribs a {
230
+ color: #999 !important;
231
+ text-decoration: none;
232
+ }
233
+
234
+ .clear {
235
+ clear: both;
236
+ }
237
+
238
+ .important {
239
+ font-weight: bold;
240
+ color: #950b02;
241
+ }
242
+
243
+ .yes-def {
244
+ text-indent: -1000px;
245
+ }
246
+
247
+ .type-signature {
248
+ color: #aaa;
249
+ }
250
+
251
+ .name,
252
+ .signature {
253
+ font-family: Consolas, Monaco, 'Andale Mono', monospace;
254
+ }
255
+
256
+ .details {
257
+ margin-top: 14px;
258
+ border-left: 2px solid #ddd;
259
+ }
260
+ .details dt {
261
+ width: 120px;
262
+ float: left;
263
+ padding-left: 10px;
264
+ padding-top: 6px;
265
+ }
266
+ .details dd {
267
+ margin-left: 70px;
268
+ }
269
+ .details ul {
270
+ margin: 0;
271
+ }
272
+ .details ul {
273
+ list-style-type: none;
274
+ }
275
+ .details li {
276
+ margin-left: 30px;
277
+ padding-top: 6px;
278
+ }
279
+ .details pre.prettyprint {
280
+ margin: 0;
281
+ }
282
+ .details .object-value {
283
+ padding-top: 0;
284
+ }
285
+
286
+ .description {
287
+ margin-bottom: 1em;
288
+ margin-top: 1em;
289
+ }
290
+
291
+ .code-caption {
292
+ font-style: italic;
293
+ font-size: 107%;
294
+ margin: 0;
295
+ }
296
+
297
+ .source {
298
+ border: 1px solid #ddd;
299
+ width: 80%;
300
+ overflow: auto;
301
+ }
302
+
303
+ .prettyprint.source {
304
+ width: inherit;
305
+ }
306
+
307
+ .source code {
308
+ font-size: 100%;
309
+ line-height: 18px;
310
+ display: block;
311
+ padding: 4px 12px;
312
+ margin: 0;
313
+ background-color: #fff;
314
+ color: #4d4e53;
315
+ }
316
+
317
+ .prettyprint code span.line {
318
+ display: inline-block;
319
+ }
320
+
321
+ .prettyprint.linenums {
322
+ padding-left: 70px;
323
+ -webkit-user-select: none;
324
+ -moz-user-select: none;
325
+ -ms-user-select: none;
326
+ user-select: none;
327
+ }
328
+
329
+ .prettyprint.linenums ol {
330
+ padding-left: 0;
331
+ }
332
+
333
+ .prettyprint.linenums li {
334
+ border-left: 3px #ddd solid;
335
+ }
336
+
337
+ .prettyprint.linenums li.selected,
338
+ .prettyprint.linenums li.selected * {
339
+ background-color: lightyellow;
340
+ }
341
+
342
+ .prettyprint.linenums li * {
343
+ -webkit-user-select: text;
344
+ -moz-user-select: text;
345
+ -ms-user-select: text;
346
+ user-select: text;
347
+ }
348
+
349
+ .params .name,
350
+ .props .name,
351
+ .name code {
352
+ color: #4d4e53;
353
+ font-family: Consolas, Monaco, 'Andale Mono', monospace;
354
+ font-size: 100%;
355
+ }
356
+
357
+ .params td.description > p:first-child,
358
+ .props td.description > p:first-child {
359
+ margin-top: 0;
360
+ padding-top: 0;
361
+ }
362
+
363
+ .params td.description > p:last-child,
364
+ .props td.description > p:last-child {
365
+ margin-bottom: 0;
366
+ padding-bottom: 0;
367
+ }
368
+
369
+ .disabled {
370
+ color: #454545;
371
+ }