@dicebear/pixel-art 4.10.0 → 5.0.0-alpha.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.
- package/LICENSE +1 -1
- package/README.md +4 -3
- package/dist/colors/accessories.d.ts +1 -1
- package/dist/colors/clothes.d.ts +1 -1
- package/dist/colors/glasses.d.ts +1 -1
- package/dist/colors/hair.d.ts +1 -1
- package/dist/colors/hat.d.ts +1 -1
- package/dist/colors/mouth.d.ts +1 -1
- package/dist/colors/skin.d.ts +1 -1
- package/dist/core.d.ts +1 -1
- package/dist/hooks/onPostCreate.d.ts +5 -4
- package/dist/hooks/onPreCreate.d.ts +4 -3
- package/dist/index.d.ts +4 -6
- package/dist/index.es.js +1031 -732
- package/dist/index.js +1031 -732
- package/dist/index.umd.js +5 -3
- package/dist/meta/components.d.ts +4 -0
- package/dist/options.d.ts +21 -42
- package/dist/utils/getColors.d.ts +9 -0
- package/dist/utils/getComponents.d.ts +9 -0
- package/dist/utils/pickColor.d.ts +8 -2
- package/dist/utils/pickComponent.d.ts +8 -2
- package/package.json +5 -5
- package/dist/schema.d.ts +0 -2
package/dist/index.js
CHANGED
|
@@ -2,627 +2,765 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
var
|
|
6
|
-
|
|
5
|
+
var title = "Options";
|
|
6
|
+
var $schema = "http://json-schema.org/draft-07/schema#";
|
|
7
|
+
var properties = {
|
|
8
|
+
accessories: {
|
|
9
|
+
type: "array",
|
|
10
|
+
items: {
|
|
11
|
+
type: "string",
|
|
12
|
+
"enum": [
|
|
13
|
+
"variant04",
|
|
14
|
+
"variant03",
|
|
15
|
+
"variant02",
|
|
16
|
+
"variant01"
|
|
17
|
+
]
|
|
18
|
+
},
|
|
19
|
+
"default": [
|
|
20
|
+
"variant04",
|
|
21
|
+
"variant03",
|
|
22
|
+
"variant02",
|
|
23
|
+
"variant01"
|
|
24
|
+
]
|
|
25
|
+
},
|
|
26
|
+
accessoriesColor: {
|
|
27
|
+
type: "array",
|
|
28
|
+
items: {
|
|
29
|
+
anyOf: [
|
|
30
|
+
{
|
|
31
|
+
type: "string",
|
|
32
|
+
pattern: "^#([a-fA-F0-9]{3}|[a-fA-F0-9]{4}|[a-fA-F0-9]{6}|[a-fA-F0-9]{8})$"
|
|
33
|
+
},
|
|
34
|
+
{
|
|
35
|
+
type: "string",
|
|
36
|
+
"enum": [
|
|
37
|
+
"gold01",
|
|
38
|
+
"gold02",
|
|
39
|
+
"gold03",
|
|
40
|
+
"silver01",
|
|
41
|
+
"silver02"
|
|
42
|
+
]
|
|
43
|
+
}
|
|
44
|
+
]
|
|
45
|
+
},
|
|
46
|
+
"default": [
|
|
47
|
+
"gold01",
|
|
48
|
+
"gold02",
|
|
49
|
+
"gold03",
|
|
50
|
+
"silver01",
|
|
51
|
+
"silver02"
|
|
52
|
+
]
|
|
53
|
+
},
|
|
54
|
+
accessoriesProbability: {
|
|
55
|
+
type: "integer",
|
|
56
|
+
minimum: 0,
|
|
57
|
+
maximum: 100,
|
|
58
|
+
"default": 10
|
|
59
|
+
},
|
|
60
|
+
beard: {
|
|
61
|
+
type: "array",
|
|
62
|
+
items: {
|
|
63
|
+
type: "string",
|
|
64
|
+
"enum": [
|
|
65
|
+
"variant04",
|
|
66
|
+
"variant03",
|
|
67
|
+
"variant02",
|
|
68
|
+
"variant01"
|
|
69
|
+
]
|
|
70
|
+
},
|
|
71
|
+
"default": [
|
|
72
|
+
"variant04",
|
|
73
|
+
"variant03",
|
|
74
|
+
"variant02",
|
|
75
|
+
"variant01"
|
|
76
|
+
]
|
|
77
|
+
},
|
|
78
|
+
beardProbability: {
|
|
79
|
+
type: "integer",
|
|
80
|
+
minimum: 0,
|
|
81
|
+
maximum: 100,
|
|
82
|
+
"default": 10
|
|
83
|
+
},
|
|
84
|
+
clothesColor: {
|
|
85
|
+
type: "array",
|
|
86
|
+
items: {
|
|
87
|
+
anyOf: [
|
|
88
|
+
{
|
|
89
|
+
type: "string",
|
|
90
|
+
pattern: "^#([a-fA-F0-9]{3}|[a-fA-F0-9]{4}|[a-fA-F0-9]{6}|[a-fA-F0-9]{8})$"
|
|
91
|
+
},
|
|
92
|
+
{
|
|
93
|
+
type: "string",
|
|
94
|
+
"enum": [
|
|
95
|
+
"yellow01",
|
|
96
|
+
"yellow02",
|
|
97
|
+
"yellow03",
|
|
98
|
+
"red01",
|
|
99
|
+
"red02",
|
|
100
|
+
"red03",
|
|
101
|
+
"blue01",
|
|
102
|
+
"blue02",
|
|
103
|
+
"blue03",
|
|
104
|
+
"green01",
|
|
105
|
+
"green02",
|
|
106
|
+
"green03"
|
|
107
|
+
]
|
|
108
|
+
}
|
|
109
|
+
]
|
|
110
|
+
},
|
|
111
|
+
"default": [
|
|
112
|
+
"yellow01",
|
|
113
|
+
"yellow02",
|
|
114
|
+
"yellow03",
|
|
115
|
+
"red01",
|
|
116
|
+
"red02",
|
|
117
|
+
"red03",
|
|
118
|
+
"blue01",
|
|
119
|
+
"blue02",
|
|
120
|
+
"blue03",
|
|
121
|
+
"green01",
|
|
122
|
+
"green02",
|
|
123
|
+
"green03"
|
|
124
|
+
]
|
|
125
|
+
},
|
|
126
|
+
clothing: {
|
|
127
|
+
type: "array",
|
|
128
|
+
items: {
|
|
129
|
+
type: "string",
|
|
130
|
+
"enum": [
|
|
131
|
+
"variant25",
|
|
132
|
+
"variant24",
|
|
133
|
+
"variant23",
|
|
134
|
+
"variant22",
|
|
135
|
+
"variant21",
|
|
136
|
+
"variant20",
|
|
137
|
+
"variant19",
|
|
138
|
+
"variant18",
|
|
139
|
+
"variant17",
|
|
140
|
+
"variant16",
|
|
141
|
+
"variant15",
|
|
142
|
+
"variant14",
|
|
143
|
+
"variant13",
|
|
144
|
+
"variant12",
|
|
145
|
+
"variant11",
|
|
146
|
+
"variant10",
|
|
147
|
+
"variant09",
|
|
148
|
+
"variant08",
|
|
149
|
+
"variant07",
|
|
150
|
+
"variant06",
|
|
151
|
+
"variant05",
|
|
152
|
+
"variant04",
|
|
153
|
+
"variant03",
|
|
154
|
+
"variant02",
|
|
155
|
+
"variant01"
|
|
156
|
+
]
|
|
157
|
+
},
|
|
158
|
+
"default": [
|
|
159
|
+
"variant25",
|
|
160
|
+
"variant24",
|
|
161
|
+
"variant23",
|
|
162
|
+
"variant22",
|
|
163
|
+
"variant21",
|
|
164
|
+
"variant20",
|
|
165
|
+
"variant19",
|
|
166
|
+
"variant18",
|
|
167
|
+
"variant17",
|
|
168
|
+
"variant16",
|
|
169
|
+
"variant15",
|
|
170
|
+
"variant14",
|
|
171
|
+
"variant13",
|
|
172
|
+
"variant12",
|
|
173
|
+
"variant11",
|
|
174
|
+
"variant10",
|
|
175
|
+
"variant09",
|
|
176
|
+
"variant08",
|
|
177
|
+
"variant07",
|
|
178
|
+
"variant06",
|
|
179
|
+
"variant05",
|
|
180
|
+
"variant04",
|
|
181
|
+
"variant03",
|
|
182
|
+
"variant02",
|
|
183
|
+
"variant01"
|
|
184
|
+
]
|
|
185
|
+
},
|
|
186
|
+
eyebrows: {
|
|
187
|
+
type: "array",
|
|
188
|
+
items: {
|
|
189
|
+
type: "string",
|
|
190
|
+
"enum": [
|
|
191
|
+
"variant13",
|
|
192
|
+
"variant12",
|
|
193
|
+
"variant11",
|
|
194
|
+
"variant10",
|
|
195
|
+
"variant09",
|
|
196
|
+
"variant08",
|
|
197
|
+
"variant07",
|
|
198
|
+
"variant06",
|
|
199
|
+
"variant05",
|
|
200
|
+
"variant04",
|
|
201
|
+
"variant03",
|
|
202
|
+
"variant02",
|
|
203
|
+
"variant01"
|
|
204
|
+
]
|
|
205
|
+
},
|
|
206
|
+
"default": [
|
|
207
|
+
"variant13",
|
|
208
|
+
"variant12",
|
|
209
|
+
"variant11",
|
|
210
|
+
"variant10",
|
|
211
|
+
"variant09",
|
|
212
|
+
"variant08",
|
|
213
|
+
"variant07",
|
|
214
|
+
"variant06",
|
|
215
|
+
"variant05",
|
|
216
|
+
"variant04",
|
|
217
|
+
"variant03",
|
|
218
|
+
"variant02",
|
|
219
|
+
"variant01"
|
|
220
|
+
]
|
|
221
|
+
},
|
|
222
|
+
eyes: {
|
|
223
|
+
type: "array",
|
|
224
|
+
items: {
|
|
225
|
+
type: "string",
|
|
226
|
+
"enum": [
|
|
227
|
+
"variant13",
|
|
228
|
+
"variant12",
|
|
229
|
+
"variant11",
|
|
230
|
+
"variant10",
|
|
231
|
+
"variant09",
|
|
232
|
+
"variant08",
|
|
233
|
+
"variant07",
|
|
234
|
+
"variant06",
|
|
235
|
+
"variant05",
|
|
236
|
+
"variant04",
|
|
237
|
+
"variant03",
|
|
238
|
+
"variant02",
|
|
239
|
+
"variant01"
|
|
240
|
+
]
|
|
241
|
+
},
|
|
242
|
+
"default": [
|
|
243
|
+
"variant13",
|
|
244
|
+
"variant12",
|
|
245
|
+
"variant11",
|
|
246
|
+
"variant10",
|
|
247
|
+
"variant09",
|
|
248
|
+
"variant08",
|
|
249
|
+
"variant07",
|
|
250
|
+
"variant06",
|
|
251
|
+
"variant05",
|
|
252
|
+
"variant04",
|
|
253
|
+
"variant03",
|
|
254
|
+
"variant02",
|
|
255
|
+
"variant01"
|
|
256
|
+
]
|
|
257
|
+
},
|
|
258
|
+
glasses: {
|
|
259
|
+
type: "array",
|
|
260
|
+
items: {
|
|
261
|
+
type: "string",
|
|
262
|
+
"enum": [
|
|
263
|
+
"variant07",
|
|
264
|
+
"variant06",
|
|
265
|
+
"variant05",
|
|
266
|
+
"variant04",
|
|
267
|
+
"variant03",
|
|
268
|
+
"variant02",
|
|
269
|
+
"variant01"
|
|
270
|
+
]
|
|
271
|
+
},
|
|
272
|
+
"default": [
|
|
273
|
+
"variant07",
|
|
274
|
+
"variant06",
|
|
275
|
+
"variant05",
|
|
276
|
+
"variant04",
|
|
277
|
+
"variant03",
|
|
278
|
+
"variant02",
|
|
279
|
+
"variant01"
|
|
280
|
+
]
|
|
281
|
+
},
|
|
282
|
+
glassesColor: {
|
|
283
|
+
type: "array",
|
|
284
|
+
items: {
|
|
285
|
+
anyOf: [
|
|
286
|
+
{
|
|
287
|
+
type: "string",
|
|
288
|
+
pattern: "^#([a-fA-F0-9]{3}|[a-fA-F0-9]{4}|[a-fA-F0-9]{6}|[a-fA-F0-9]{8})$"
|
|
289
|
+
},
|
|
290
|
+
{
|
|
291
|
+
type: "string",
|
|
292
|
+
"enum": [
|
|
293
|
+
"green01",
|
|
294
|
+
"blue01",
|
|
295
|
+
"red01",
|
|
296
|
+
"black01",
|
|
297
|
+
"black02",
|
|
298
|
+
"black03"
|
|
299
|
+
]
|
|
300
|
+
}
|
|
301
|
+
]
|
|
302
|
+
},
|
|
303
|
+
"default": [
|
|
304
|
+
"green01",
|
|
305
|
+
"blue01",
|
|
306
|
+
"red01",
|
|
307
|
+
"black01",
|
|
308
|
+
"black02",
|
|
309
|
+
"black03"
|
|
310
|
+
]
|
|
311
|
+
},
|
|
312
|
+
glassesProbability: {
|
|
313
|
+
type: "integer",
|
|
314
|
+
minimum: 0,
|
|
315
|
+
maximum: 100,
|
|
316
|
+
"default": 20
|
|
317
|
+
},
|
|
318
|
+
hair: {
|
|
319
|
+
type: "array",
|
|
320
|
+
items: {
|
|
321
|
+
type: "string",
|
|
322
|
+
"enum": [
|
|
323
|
+
"short11",
|
|
324
|
+
"short10",
|
|
325
|
+
"short09",
|
|
326
|
+
"short08",
|
|
327
|
+
"short07",
|
|
328
|
+
"short06",
|
|
329
|
+
"short05",
|
|
330
|
+
"short04",
|
|
331
|
+
"short03",
|
|
332
|
+
"short02",
|
|
333
|
+
"long15",
|
|
334
|
+
"short01",
|
|
335
|
+
"long14",
|
|
336
|
+
"long13",
|
|
337
|
+
"long12",
|
|
338
|
+
"long11",
|
|
339
|
+
"long10",
|
|
340
|
+
"long09",
|
|
341
|
+
"long08",
|
|
342
|
+
"long07",
|
|
343
|
+
"long06",
|
|
344
|
+
"long05",
|
|
345
|
+
"long04",
|
|
346
|
+
"long03",
|
|
347
|
+
"long02",
|
|
348
|
+
"long01"
|
|
349
|
+
]
|
|
350
|
+
},
|
|
351
|
+
"default": [
|
|
352
|
+
"short11",
|
|
353
|
+
"short10",
|
|
354
|
+
"short09",
|
|
355
|
+
"short08",
|
|
356
|
+
"short07",
|
|
357
|
+
"short06",
|
|
358
|
+
"short05",
|
|
359
|
+
"short04",
|
|
360
|
+
"short03",
|
|
361
|
+
"short02",
|
|
362
|
+
"long15",
|
|
363
|
+
"short01",
|
|
364
|
+
"long14",
|
|
365
|
+
"long13",
|
|
366
|
+
"long12",
|
|
367
|
+
"long11",
|
|
368
|
+
"long10",
|
|
369
|
+
"long09",
|
|
370
|
+
"long08",
|
|
371
|
+
"long07",
|
|
372
|
+
"long06",
|
|
373
|
+
"long05",
|
|
374
|
+
"long04",
|
|
375
|
+
"long03",
|
|
376
|
+
"long02",
|
|
377
|
+
"long01"
|
|
378
|
+
]
|
|
379
|
+
},
|
|
380
|
+
hairColor: {
|
|
381
|
+
type: "array",
|
|
382
|
+
items: {
|
|
383
|
+
anyOf: [
|
|
384
|
+
{
|
|
385
|
+
type: "string",
|
|
386
|
+
pattern: "^#([a-fA-F0-9]{3}|[a-fA-F0-9]{4}|[a-fA-F0-9]{6}|[a-fA-F0-9]{8})$"
|
|
387
|
+
},
|
|
388
|
+
{
|
|
389
|
+
type: "string",
|
|
390
|
+
"enum": [
|
|
391
|
+
"variant01",
|
|
392
|
+
"variant02",
|
|
393
|
+
"variant03",
|
|
394
|
+
"variant04",
|
|
395
|
+
"variant05",
|
|
396
|
+
"variant06",
|
|
397
|
+
"variant07",
|
|
398
|
+
"variant08",
|
|
399
|
+
"variant09",
|
|
400
|
+
"variant10"
|
|
401
|
+
]
|
|
402
|
+
}
|
|
403
|
+
]
|
|
404
|
+
},
|
|
405
|
+
"default": [
|
|
406
|
+
"variant01",
|
|
407
|
+
"variant02",
|
|
408
|
+
"variant03",
|
|
409
|
+
"variant04",
|
|
410
|
+
"variant05",
|
|
411
|
+
"variant06",
|
|
412
|
+
"variant07",
|
|
413
|
+
"variant08",
|
|
414
|
+
"variant09",
|
|
415
|
+
"variant10"
|
|
416
|
+
]
|
|
417
|
+
},
|
|
418
|
+
hairProbability: {
|
|
419
|
+
type: "integer",
|
|
420
|
+
minimum: 0,
|
|
421
|
+
maximum: 100,
|
|
422
|
+
"default": 100
|
|
423
|
+
},
|
|
424
|
+
hat: {
|
|
425
|
+
type: "array",
|
|
426
|
+
items: {
|
|
427
|
+
type: "string",
|
|
428
|
+
"enum": [
|
|
429
|
+
"variant01",
|
|
430
|
+
"variant02",
|
|
431
|
+
"variant03",
|
|
432
|
+
"variant04",
|
|
433
|
+
"variant05",
|
|
434
|
+
"variant06",
|
|
435
|
+
"variant07",
|
|
436
|
+
"variant08",
|
|
437
|
+
"variant09",
|
|
438
|
+
"variant10",
|
|
439
|
+
"variant11",
|
|
440
|
+
"variant12"
|
|
441
|
+
]
|
|
442
|
+
},
|
|
443
|
+
"default": [
|
|
444
|
+
"variant01",
|
|
445
|
+
"variant02",
|
|
446
|
+
"variant03",
|
|
447
|
+
"variant04",
|
|
448
|
+
"variant05",
|
|
449
|
+
"variant06",
|
|
450
|
+
"variant07",
|
|
451
|
+
"variant08",
|
|
452
|
+
"variant09",
|
|
453
|
+
"variant10",
|
|
454
|
+
"variant11",
|
|
455
|
+
"variant12"
|
|
456
|
+
]
|
|
457
|
+
},
|
|
458
|
+
hatColor: {
|
|
459
|
+
type: "array",
|
|
460
|
+
items: {
|
|
461
|
+
anyOf: [
|
|
462
|
+
{
|
|
463
|
+
type: "string",
|
|
464
|
+
pattern: "^#([a-fA-F0-9]{3}|[a-fA-F0-9]{4}|[a-fA-F0-9]{6}|[a-fA-F0-9]{8})$"
|
|
465
|
+
},
|
|
466
|
+
{
|
|
467
|
+
type: "string",
|
|
468
|
+
"enum": [
|
|
469
|
+
"pink01",
|
|
470
|
+
"blue01",
|
|
471
|
+
"green01",
|
|
472
|
+
"purple01",
|
|
473
|
+
"red01",
|
|
474
|
+
"black01",
|
|
475
|
+
"gray01"
|
|
476
|
+
]
|
|
477
|
+
}
|
|
478
|
+
]
|
|
479
|
+
},
|
|
480
|
+
"default": [
|
|
481
|
+
"pink01",
|
|
482
|
+
"blue01",
|
|
483
|
+
"green01",
|
|
484
|
+
"purple01",
|
|
485
|
+
"red01",
|
|
486
|
+
"black01",
|
|
487
|
+
"gray01"
|
|
488
|
+
]
|
|
489
|
+
},
|
|
490
|
+
hatProbability: {
|
|
491
|
+
type: "integer",
|
|
492
|
+
minimum: 0,
|
|
493
|
+
maximum: 100,
|
|
494
|
+
"default": 10
|
|
495
|
+
},
|
|
496
|
+
mouth: {
|
|
497
|
+
type: "array",
|
|
498
|
+
items: {
|
|
499
|
+
type: "string",
|
|
500
|
+
"enum": [
|
|
501
|
+
"surprised03",
|
|
502
|
+
"surprised02",
|
|
503
|
+
"happy09",
|
|
504
|
+
"happy08",
|
|
505
|
+
"happy07",
|
|
506
|
+
"happy06",
|
|
507
|
+
"happy05",
|
|
508
|
+
"happy04",
|
|
509
|
+
"happy03",
|
|
510
|
+
"happy02",
|
|
511
|
+
"happy01",
|
|
512
|
+
"sad08",
|
|
513
|
+
"sad07",
|
|
514
|
+
"sad06",
|
|
515
|
+
"sad05",
|
|
516
|
+
"sad04",
|
|
517
|
+
"sad03",
|
|
518
|
+
"sad02",
|
|
519
|
+
"sad01",
|
|
520
|
+
"surprised01"
|
|
521
|
+
]
|
|
522
|
+
},
|
|
523
|
+
"default": [
|
|
524
|
+
"surprised03",
|
|
525
|
+
"surprised02",
|
|
526
|
+
"happy09",
|
|
527
|
+
"happy08",
|
|
528
|
+
"happy07",
|
|
529
|
+
"happy06",
|
|
530
|
+
"happy05",
|
|
531
|
+
"happy04",
|
|
532
|
+
"happy03",
|
|
533
|
+
"happy02",
|
|
534
|
+
"happy01",
|
|
535
|
+
"sad08",
|
|
536
|
+
"sad07",
|
|
537
|
+
"sad06",
|
|
538
|
+
"sad05",
|
|
539
|
+
"sad04",
|
|
540
|
+
"sad03",
|
|
541
|
+
"sad02",
|
|
542
|
+
"sad01",
|
|
543
|
+
"surprised01"
|
|
544
|
+
]
|
|
545
|
+
},
|
|
546
|
+
mouthColor: {
|
|
547
|
+
type: "array",
|
|
548
|
+
items: {
|
|
549
|
+
anyOf: [
|
|
550
|
+
{
|
|
551
|
+
type: "string",
|
|
552
|
+
pattern: "^#([a-fA-F0-9]{3}|[a-fA-F0-9]{4}|[a-fA-F0-9]{6}|[a-fA-F0-9]{8})$"
|
|
553
|
+
},
|
|
554
|
+
{
|
|
555
|
+
type: "string",
|
|
556
|
+
"enum": [
|
|
557
|
+
"variant01",
|
|
558
|
+
"variant02",
|
|
559
|
+
"variant03",
|
|
560
|
+
"variant04"
|
|
561
|
+
]
|
|
562
|
+
}
|
|
563
|
+
]
|
|
564
|
+
},
|
|
565
|
+
"default": [
|
|
566
|
+
"variant01",
|
|
567
|
+
"variant02",
|
|
568
|
+
"variant03",
|
|
569
|
+
"variant04"
|
|
570
|
+
]
|
|
571
|
+
},
|
|
572
|
+
skinColor: {
|
|
573
|
+
type: "array",
|
|
574
|
+
items: {
|
|
575
|
+
anyOf: [
|
|
576
|
+
{
|
|
577
|
+
type: "string",
|
|
578
|
+
pattern: "^#([a-fA-F0-9]{3}|[a-fA-F0-9]{4}|[a-fA-F0-9]{6}|[a-fA-F0-9]{8})$"
|
|
579
|
+
},
|
|
580
|
+
{
|
|
581
|
+
type: "string",
|
|
582
|
+
"enum": [
|
|
583
|
+
"variant01",
|
|
584
|
+
"variant02",
|
|
585
|
+
"variant03",
|
|
586
|
+
"variant04",
|
|
587
|
+
"variant05",
|
|
588
|
+
"variant06",
|
|
589
|
+
"variant07",
|
|
590
|
+
"variant08"
|
|
591
|
+
]
|
|
592
|
+
}
|
|
593
|
+
]
|
|
594
|
+
},
|
|
595
|
+
"default": [
|
|
596
|
+
"variant01",
|
|
597
|
+
"variant02",
|
|
598
|
+
"variant03",
|
|
599
|
+
"variant04",
|
|
600
|
+
"variant05",
|
|
601
|
+
"variant06",
|
|
602
|
+
"variant07",
|
|
603
|
+
"variant08"
|
|
604
|
+
]
|
|
605
|
+
}
|
|
606
|
+
};
|
|
607
|
+
var additionalProperties = false;
|
|
7
608
|
var schema$1 = {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
"title": "Beard",
|
|
13
|
-
"type": "array",
|
|
14
|
-
"items": {
|
|
15
|
-
"type": "string",
|
|
16
|
-
"enum": ["variant04", "variant03", "variant02", "variant01"]
|
|
17
|
-
},
|
|
18
|
-
"default": ["variant04", "variant03", "variant02", "variant01"]
|
|
19
|
-
},
|
|
20
|
-
"beardProbability": {
|
|
21
|
-
"title": "Beard Probability",
|
|
22
|
-
"default": 10,
|
|
23
|
-
"type": "integer",
|
|
24
|
-
"minimum": 0,
|
|
25
|
-
"maximum": 100
|
|
26
|
-
},
|
|
27
|
-
"eyes": {
|
|
28
|
-
"title": "Eyes",
|
|
29
|
-
"type": "array",
|
|
30
|
-
"items": {
|
|
31
|
-
"type": "string",
|
|
32
|
-
"enum": ["variant13", "variant12", "variant11", "variant10", "variant09", "variant08", "variant07", "variant06", "variant05", "variant04", "variant03", "variant02", "variant01"]
|
|
33
|
-
},
|
|
34
|
-
"default": ["variant13", "variant12", "variant11", "variant10", "variant09", "variant08", "variant07", "variant06", "variant05", "variant04", "variant03", "variant02", "variant01"]
|
|
35
|
-
},
|
|
36
|
-
"eyebrows": {
|
|
37
|
-
"title": "Eyebrows",
|
|
38
|
-
"type": "array",
|
|
39
|
-
"items": {
|
|
40
|
-
"type": "string",
|
|
41
|
-
"enum": ["variant13", "variant12", "variant11", "variant10", "variant09", "variant08", "variant07", "variant06", "variant05", "variant04", "variant03", "variant02", "variant01"]
|
|
42
|
-
},
|
|
43
|
-
"default": ["variant13", "variant12", "variant11", "variant10", "variant09", "variant08", "variant07", "variant06", "variant05", "variant04", "variant03", "variant02", "variant01"]
|
|
44
|
-
},
|
|
45
|
-
"mouth": {
|
|
46
|
-
"title": "Mouth",
|
|
47
|
-
"type": "array",
|
|
48
|
-
"items": {
|
|
49
|
-
"type": "string",
|
|
50
|
-
"enum": ["surprised03", "surprised02", "happy09", "happy08", "happy07", "happy06", "happy05", "happy04", "happy03", "happy02", "happy01", "sad08", "sad07", "sad06", "sad05", "sad04", "sad03", "sad02", "sad01", "surprised01"]
|
|
51
|
-
},
|
|
52
|
-
"default": ["surprised03", "surprised02", "happy09", "happy08", "happy07", "happy06", "happy05", "happy04", "happy03", "happy02", "happy01", "sad08", "sad07", "sad06", "sad05", "sad04", "sad03", "sad02", "sad01", "surprised01"]
|
|
53
|
-
},
|
|
54
|
-
"hair": {
|
|
55
|
-
"title": "Hair",
|
|
56
|
-
"type": "array",
|
|
57
|
-
"items": {
|
|
58
|
-
"type": "string",
|
|
59
|
-
"enum": ["short11", "short10", "short09", "short08", "short07", "short06", "short05", "short04", "short03", "short02", "long15", "short01", "long14", "long13", "long12", "long11", "long10", "long09", "long08", "long07", "long06", "long05", "long04", "long03", "long02", "long01"]
|
|
60
|
-
},
|
|
61
|
-
"default": ["short11", "short10", "short09", "short08", "short07", "short06", "short05", "short04", "short03", "short02", "long15", "short01", "long14", "long13", "long12", "long11", "long10", "long09", "long08", "long07", "long06", "long05", "long04", "long03", "long02", "long01"]
|
|
62
|
-
},
|
|
63
|
-
"hairProbability": {
|
|
64
|
-
"title": "Hair Probability",
|
|
65
|
-
"default": 100,
|
|
66
|
-
"type": "integer",
|
|
67
|
-
"minimum": 0,
|
|
68
|
-
"maximum": 100
|
|
69
|
-
},
|
|
70
|
-
"accessories": {
|
|
71
|
-
"title": "Accessories",
|
|
72
|
-
"type": "array",
|
|
73
|
-
"items": {
|
|
74
|
-
"type": "string",
|
|
75
|
-
"enum": ["variant04", "variant03", "variant02", "variant01"]
|
|
76
|
-
},
|
|
77
|
-
"default": ["variant04", "variant03", "variant02", "variant01"]
|
|
78
|
-
},
|
|
79
|
-
"accessoriesProbability": {
|
|
80
|
-
"title": "Accessories Probability",
|
|
81
|
-
"default": 10,
|
|
82
|
-
"type": "integer",
|
|
83
|
-
"minimum": 0,
|
|
84
|
-
"maximum": 100
|
|
85
|
-
},
|
|
86
|
-
"glasses": {
|
|
87
|
-
"title": "Glasses",
|
|
88
|
-
"type": "array",
|
|
89
|
-
"items": {
|
|
90
|
-
"type": "string",
|
|
91
|
-
"enum": ["variant07", "variant06", "variant05", "variant04", "variant03", "variant02", "variant01"]
|
|
92
|
-
},
|
|
93
|
-
"default": ["variant07", "variant06", "variant05", "variant04", "variant03", "variant02", "variant01"]
|
|
94
|
-
},
|
|
95
|
-
"glassesProbability": {
|
|
96
|
-
"title": "Glasses Probability",
|
|
97
|
-
"default": 20,
|
|
98
|
-
"type": "integer",
|
|
99
|
-
"minimum": 0,
|
|
100
|
-
"maximum": 100
|
|
101
|
-
},
|
|
102
|
-
"hat": {
|
|
103
|
-
"title": "Hat",
|
|
104
|
-
"type": "array",
|
|
105
|
-
"items": {
|
|
106
|
-
"type": "string",
|
|
107
|
-
"enum": ["variant01", "variant02", "variant03", "variant04", "variant05", "variant06", "variant07", "variant08", "variant09", "variant10", "variant11", "variant12"]
|
|
108
|
-
},
|
|
109
|
-
"default": ["variant01", "variant02", "variant03", "variant04", "variant05", "variant06", "variant07", "variant08", "variant09", "variant10", "variant11", "variant12"]
|
|
110
|
-
},
|
|
111
|
-
"hatProbability": {
|
|
112
|
-
"title": "Hat Probability",
|
|
113
|
-
"default": 10,
|
|
114
|
-
"type": "integer",
|
|
115
|
-
"minimum": 0,
|
|
116
|
-
"maximum": 100
|
|
117
|
-
},
|
|
118
|
-
"clothing": {
|
|
119
|
-
"title": "Clothing",
|
|
120
|
-
"type": "array",
|
|
121
|
-
"items": {
|
|
122
|
-
"type": "string",
|
|
123
|
-
"enum": ["variant25", "variant24", "variant23", "variant22", "variant21", "variant20", "variant19", "variant18", "variant17", "variant16", "variant15", "variant14", "variant13", "variant12", "variant11", "variant10", "variant09", "variant08", "variant07", "variant06", "variant05", "variant04", "variant03", "variant02", "variant01"]
|
|
124
|
-
},
|
|
125
|
-
"default": ["variant25", "variant24", "variant23", "variant22", "variant21", "variant20", "variant19", "variant18", "variant17", "variant16", "variant15", "variant14", "variant13", "variant12", "variant11", "variant10", "variant09", "variant08", "variant07", "variant06", "variant05", "variant04", "variant03", "variant02", "variant01"]
|
|
126
|
-
},
|
|
127
|
-
"skinColor": {
|
|
128
|
-
"title": "Skin Color",
|
|
129
|
-
"type": "array",
|
|
130
|
-
"items": {
|
|
131
|
-
"anyOf": [{
|
|
132
|
-
"type": "string",
|
|
133
|
-
"enum": ["variant01", "variant02", "variant03", "variant04", "variant05", "variant06", "variant07", "variant08"]
|
|
134
|
-
}, {
|
|
135
|
-
"type": "string",
|
|
136
|
-
"pattern": "^#([a-fA-F0-9]{3}|[a-fA-F0-9]{4}|[a-fA-F0-9]{6}|[a-fA-F0-9]{8})$"
|
|
137
|
-
}]
|
|
138
|
-
},
|
|
139
|
-
"default": ["variant01", "variant02", "variant03", "variant04", "variant05", "variant06", "variant07", "variant08"]
|
|
140
|
-
},
|
|
141
|
-
"hairColor": {
|
|
142
|
-
"title": "Hair Color",
|
|
143
|
-
"type": "array",
|
|
144
|
-
"items": {
|
|
145
|
-
"anyOf": [{
|
|
146
|
-
"type": "string",
|
|
147
|
-
"enum": ["variant01", "variant02", "variant03", "variant04", "variant05", "variant06", "variant07", "variant08", "variant09", "variant10"]
|
|
148
|
-
}, {
|
|
149
|
-
"type": "string",
|
|
150
|
-
"pattern": "^#([a-fA-F0-9]{3}|[a-fA-F0-9]{4}|[a-fA-F0-9]{6}|[a-fA-F0-9]{8})$"
|
|
151
|
-
}]
|
|
152
|
-
},
|
|
153
|
-
"default": ["variant01", "variant02", "variant03", "variant04", "variant05", "variant06", "variant07", "variant08", "variant09", "variant10"]
|
|
154
|
-
},
|
|
155
|
-
"accessoriesColor": {
|
|
156
|
-
"title": "Accessories Color",
|
|
157
|
-
"type": "array",
|
|
158
|
-
"items": {
|
|
159
|
-
"anyOf": [{
|
|
160
|
-
"type": "string",
|
|
161
|
-
"enum": ["gold01", "gold02", "gold03", "silver01", "silver02"]
|
|
162
|
-
}, {
|
|
163
|
-
"type": "string",
|
|
164
|
-
"pattern": "^#([a-fA-F0-9]{3}|[a-fA-F0-9]{4}|[a-fA-F0-9]{6}|[a-fA-F0-9]{8})$"
|
|
165
|
-
}]
|
|
166
|
-
},
|
|
167
|
-
"default": ["gold01", "gold02", "gold03", "silver01", "silver02"]
|
|
168
|
-
},
|
|
169
|
-
"mouthColor": {
|
|
170
|
-
"title": "Mouth Color",
|
|
171
|
-
"type": "array",
|
|
172
|
-
"items": {
|
|
173
|
-
"anyOf": [{
|
|
174
|
-
"type": "string",
|
|
175
|
-
"enum": ["variant01", "variant02", "variant03", "variant04"]
|
|
176
|
-
}, {
|
|
177
|
-
"type": "string",
|
|
178
|
-
"pattern": "^#([a-fA-F0-9]{3}|[a-fA-F0-9]{4}|[a-fA-F0-9]{6}|[a-fA-F0-9]{8})$"
|
|
179
|
-
}]
|
|
180
|
-
},
|
|
181
|
-
"default": ["variant01", "variant02", "variant03", "variant04"]
|
|
182
|
-
},
|
|
183
|
-
"clothesColor": {
|
|
184
|
-
"title": "Clothes Color",
|
|
185
|
-
"type": "array",
|
|
186
|
-
"items": {
|
|
187
|
-
"anyOf": [{
|
|
188
|
-
"type": "string",
|
|
189
|
-
"enum": ["yellow01", "yellow02", "yellow03", "red01", "red02", "red03", "blue01", "blue02", "blue03", "green01", "green02", "green03"]
|
|
190
|
-
}, {
|
|
191
|
-
"type": "string",
|
|
192
|
-
"pattern": "^#([a-fA-F0-9]{3}|[a-fA-F0-9]{4}|[a-fA-F0-9]{6}|[a-fA-F0-9]{8})$"
|
|
193
|
-
}]
|
|
194
|
-
},
|
|
195
|
-
"default": ["yellow01", "yellow02", "yellow03", "red01", "red02", "red03", "blue01", "blue02", "blue03", "green01", "green02", "green03"]
|
|
196
|
-
},
|
|
197
|
-
"hatColor": {
|
|
198
|
-
"title": "Hat Color",
|
|
199
|
-
"type": "array",
|
|
200
|
-
"items": {
|
|
201
|
-
"anyOf": [{
|
|
202
|
-
"type": "string",
|
|
203
|
-
"enum": ["pink01", "blue01", "green01", "purple01", "red01", "black01", "gray01"]
|
|
204
|
-
}, {
|
|
205
|
-
"type": "string",
|
|
206
|
-
"pattern": "^#([a-fA-F0-9]{3}|[a-fA-F0-9]{4}|[a-fA-F0-9]{6}|[a-fA-F0-9]{8})$"
|
|
207
|
-
}]
|
|
208
|
-
},
|
|
209
|
-
"default": ["pink01", "blue01", "green01", "purple01", "red01", "black01", "gray01"]
|
|
210
|
-
},
|
|
211
|
-
"glassesColor": {
|
|
212
|
-
"title": "Glasses Color",
|
|
213
|
-
"type": "array",
|
|
214
|
-
"items": {
|
|
215
|
-
"anyOf": [{
|
|
216
|
-
"type": "string",
|
|
217
|
-
"enum": ["green01", "blue01", "red01", "black01", "black02", "black03"]
|
|
218
|
-
}, {
|
|
219
|
-
"type": "string",
|
|
220
|
-
"pattern": "^#([a-fA-F0-9]{3}|[a-fA-F0-9]{4}|[a-fA-F0-9]{6}|[a-fA-F0-9]{8})$"
|
|
221
|
-
}]
|
|
222
|
-
},
|
|
223
|
-
"default": ["green01", "blue01", "red01", "black01", "black02", "black03"]
|
|
224
|
-
}
|
|
225
|
-
},
|
|
226
|
-
"additionalProperties": false
|
|
609
|
+
title: title,
|
|
610
|
+
$schema: $schema,
|
|
611
|
+
properties: properties,
|
|
612
|
+
additionalProperties: additionalProperties
|
|
227
613
|
};
|
|
228
614
|
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
return "\n<path opacity=\".9\" d=\"M4 13h1v1h1v1h8v-1h1v-1h1v-3h-1v1h-1v1H6v-1H5v-1H4v3Z\" fill=\"".concat(colors.hair.value, "\"/>\n");
|
|
235
|
-
},
|
|
236
|
-
'variant02': function variant02(components, colors) {
|
|
237
|
-
return "\n<path opacity=\".9\" d=\"M4 11v2h1v1h1v1h8v-1h1v-1h1v-2H4Z\" fill=\"".concat(colors.hair.value, "\"/>\n");
|
|
238
|
-
},
|
|
239
|
-
'variant01': function variant01(components, colors) {
|
|
240
|
-
return "\n<path opacity=\".9\" d=\"M4 8v5h1v1h1v1h8v-1h1v-1h1V8h-1v2h-1v1h-1l-.059 1H7v-1H6v-1H5V8H4Z\" fill=\"".concat(colors.hair.value, "\"/>\n");
|
|
241
|
-
}
|
|
615
|
+
const beard = {
|
|
616
|
+
variant04: (components, colors) => "\n<path opacity=\".9\" d=\"M4 10v3h1v1h1v1h8v-1h1v-1h1v-3h-2v1H6v-1H4Z\" fill=\"".concat(colors.hair.value, "\"/>\n"),
|
|
617
|
+
variant03: (components, colors) => "\n<path opacity=\".9\" d=\"M4 13h1v1h1v1h8v-1h1v-1h1v-3h-1v1h-1v1H6v-1H5v-1H4v3Z\" fill=\"".concat(colors.hair.value, "\"/>\n"),
|
|
618
|
+
variant02: (components, colors) => "\n<path opacity=\".9\" d=\"M4 11v2h1v1h1v1h8v-1h1v-1h1v-2H4Z\" fill=\"".concat(colors.hair.value, "\"/>\n"),
|
|
619
|
+
variant01: (components, colors) => "\n<path opacity=\".9\" d=\"M4 8v5h1v1h1v1h8v-1h1v-1h1V8h-1v2h-1v1h-1v1H7v-1H6v-1H5V8H4Z\" fill=\"".concat(colors.hair.value, "\"/>\n")
|
|
242
620
|
};
|
|
243
621
|
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
return "\n<g fill-rule=\"evenodd\" clip-rule=\"evenodd\">\n<path d=\"M5 8h2v1H5V8Zm7 0h2v1h-2V8Z\" fill=\"#fff\"/>\n<path d=\"M7 8h1v1H7V8Zm7 0h1v1h-1V8Z\" fill=\"#000\"/>\n</g>\n";
|
|
259
|
-
},
|
|
260
|
-
'variant08': function variant08(components, colors) {
|
|
261
|
-
return "\n<g fill-rule=\"evenodd\" clip-rule=\"evenodd\">\n<path d=\"M6 8h1v1H6V8Zm7 0h1v1h-1V8Z\" fill=\"#fff\"/>\n<path d=\"M7 8h1v1H7V8Zm5 0h1v1h-1V8Z\" fill=\"#000\"/>\n</g>\n";
|
|
262
|
-
},
|
|
263
|
-
'variant07': function variant07(components, colors) {
|
|
264
|
-
return "\n<g fill-rule=\"evenodd\" clip-rule=\"evenodd\">\n<path d=\"M5 7v1h3V7H5Zm7 0h3v1h-3V7Z\" fill=\"#fff\"/>\n<path d=\"M5 9V8h1V7h1v1h1v1H5Zm7 0V8h1V7h1v1h1v1h-3Z\" fill=\"#000\"/>\n<path d=\"M5 9V8h1V7h1v1h1v1H7V8H6v1H5Zm7 0V8h1V7h1v1h1v1h-1V8h-1v1h-1Z\" fill=\"#fff\" fill-opacity=\".5\"/>\n</g>\n";
|
|
265
|
-
},
|
|
266
|
-
'variant06': function variant06(components, colors) {
|
|
267
|
-
return "\n<g fill-rule=\"evenodd\" clip-rule=\"evenodd\">\n<path d=\"M5 8h3v1H5V8Zm7 0h3v1h-3V8Z\" fill=\"#fff\"/>\n<path d=\"M6 8h1v1H6V8Zm7 0h1v1h-1V8Z\" fill=\"#000\"/>\n</g>\n";
|
|
268
|
-
},
|
|
269
|
-
'variant05': function variant05(components, colors) {
|
|
270
|
-
return "\n<g fill-rule=\"evenodd\" clip-rule=\"evenodd\">\n<path d=\"M5 7h3v2H5V7Zm7 0h3v2h-3V7Z\" fill=\"#fff\"/>\n<path d=\"M5 8h2v1H5V8Zm7 0h2v1h-2V8Z\" fill=\"#000\"/>\n</g>\n";
|
|
271
|
-
},
|
|
272
|
-
'variant04': function variant04(components, colors) {
|
|
273
|
-
return "\n<g fill-rule=\"evenodd\" clip-rule=\"evenodd\">\n<path d=\"M5 7h3v3H5V7Zm7 0h3v3h-3V7Z\" fill=\"#fff\"/>\n<path d=\"M6 8h1v1H6V8Zm7 0h1v1h-1V8Z\" fill=\"#000\"/>\n</g>\n";
|
|
274
|
-
},
|
|
275
|
-
'variant03': function variant03(components, colors) {
|
|
276
|
-
return "\n<g fill-rule=\"evenodd\" clip-rule=\"evenodd\">\n<path d=\"M5 7h3v3H5V7Zm7 0h3v3h-3V7Z\" fill=\"#fff\"/>\n<path d=\"M6 7h2v2H6V7Zm7 0h2v2h-2V7Z\" fill=\"#000\"/>\n<path d=\"M6 7v1h1v1h1V8H7V7H6Zm7 0v1h1v1h1V8h-1V7h-1Z\" fill=\"#fff\" fill-opacity=\".4\"/>\n<path d=\"M7 7v1h1V7H7Zm7 0h1v1h-1V7Z\" fill=\"#fff\" fill-opacity=\".7\"/>\n</g>\n";
|
|
277
|
-
},
|
|
278
|
-
'variant02': function variant02(components, colors) {
|
|
279
|
-
return "\n<g fill-rule=\"evenodd\" clip-rule=\"evenodd\">\n<path d=\"M5 7h3v3H5V7Zm7 0h3v3h-3V7Z\" fill=\"#fff\"/>\n<path d=\"M5 8h2v1H5V8Zm7 0h2v1h-2V8Z\" fill=\"#000\"/>\n<path d=\"M5 8h1v1H5V8Zm7 0h1v1h-1V8Z\" fill=\"#fff\" fill-opacity=\".7\"/>\n</g>\n";
|
|
280
|
-
},
|
|
281
|
-
'variant01': function variant01(components, colors) {
|
|
282
|
-
return "\n<g fill-rule=\"evenodd\" clip-rule=\"evenodd\">\n<path d=\"M6 7h1v2H5V8h1V7Zm7 0h1v2h-2V8h1V7Z\" fill=\"#fff\"/>\n<path d=\"M7 7v1H6v1h2V7H7Zm7 0v1h-1v1h2V7h-1Z\" fill=\"#000\"/>\n<path d=\"M7 7v1h1V7H7ZM6 8v1h1V8H6Zm8-1v1h1V7h-1Zm-1 1v1h1V8h-1Z\" fill=\"#fff\" fill-opacity=\".5\"/>\n</g>\n";
|
|
283
|
-
}
|
|
622
|
+
const eyes = {
|
|
623
|
+
variant13: (components, colors) => "\n<g fill-rule=\"evenodd\" clip-rule=\"evenodd\">\n<path d=\"M5 9V7h3v2H5Zm7-2h3v2h-3V7Z\" fill=\"#fff\"/>\n<path d=\"M7 8v1h1V8H7Zm7 0h1v1h-1V8Z\" fill=\"#000\"/>\n</g>\n",
|
|
624
|
+
variant12: (components, colors) => "\n<g fill-rule=\"evenodd\" clip-rule=\"evenodd\">\n<path d=\"M5 7h3v2H5V7Zm7 0h3v2h-3V7Z\" fill=\"#fff\"/>\n<path d=\"M6 8h1v1H6V8Zm7 1V8h1v1h-1Z\" fill=\"#000\"/>\n</g>\n",
|
|
625
|
+
variant11: (components, colors) => "\n<g fill-rule=\"evenodd\" clip-rule=\"evenodd\">\n<path d=\"M5 7h3v2H5V7Zm7 0h3v2h-3V7Z\" fill=\"#fff\"/>\n<path d=\"M7 8h1v1H7V8Zm5 0h1v1h-1V8Z\" fill=\"#000\"/>\n</g>\n",
|
|
626
|
+
variant10: (components, colors) => "\n<g fill-rule=\"evenodd\" clip-rule=\"evenodd\">\n<path d=\"M6 7h1v1h1v1H6V7Zm6 0h1v1h1v1h-2V7Z\" fill=\"#fff\"/>\n<path d=\"M6 8h1v1H6V8Zm6 0h1v1h-1V8Z\" fill=\"#000\"/>\n</g>\n",
|
|
627
|
+
variant09: (components, colors) => "\n<g fill-rule=\"evenodd\" clip-rule=\"evenodd\">\n<path d=\"M5 8h2v1H5V8Zm7 0h2v1h-2V8Z\" fill=\"#fff\"/>\n<path d=\"M7 8h1v1H7V8Zm7 0h1v1h-1V8Z\" fill=\"#000\"/>\n</g>\n",
|
|
628
|
+
variant08: (components, colors) => "\n<g fill-rule=\"evenodd\" clip-rule=\"evenodd\">\n<path d=\"M6 8h1v1H6V8Zm7 0h1v1h-1V8Z\" fill=\"#fff\"/>\n<path d=\"M7 8h1v1H7V8Zm5 0h1v1h-1V8Z\" fill=\"#000\"/>\n</g>\n",
|
|
629
|
+
variant07: (components, colors) => "\n<g fill-rule=\"evenodd\" clip-rule=\"evenodd\">\n<path d=\"M5 7v1h3V7H5Zm7 0h3v1h-3V7Z\" fill=\"#fff\"/>\n<path d=\"M5 9V8h1V7h1v1h1v1H5Zm7 0V8h1V7h1v1h1v1h-3Z\" fill=\"#000\"/>\n<path d=\"M5 9V8h1V7h1v1h1v1H7V8H6v1H5Zm7 0V8h1V7h1v1h1v1h-1V8h-1v1h-1Z\" fill=\"#fff\" fill-opacity=\".5\"/>\n</g>\n",
|
|
630
|
+
variant06: (components, colors) => "\n<g fill-rule=\"evenodd\" clip-rule=\"evenodd\">\n<path d=\"M5 8h3v1H5V8Zm7 0h3v1h-3V8Z\" fill=\"#fff\"/>\n<path d=\"M6 8h1v1H6V8Zm7 0h1v1h-1V8Z\" fill=\"#000\"/>\n</g>\n",
|
|
631
|
+
variant05: (components, colors) => "\n<g fill-rule=\"evenodd\" clip-rule=\"evenodd\">\n<path d=\"M5 7h3v2H5V7Zm7 0h3v2h-3V7Z\" fill=\"#fff\"/>\n<path d=\"M5 8h2v1H5V8Zm7 0h2v1h-2V8Z\" fill=\"#000\"/>\n</g>\n",
|
|
632
|
+
variant04: (components, colors) => "\n<g fill-rule=\"evenodd\" clip-rule=\"evenodd\">\n<path d=\"M5 7h3v3H5V7Zm7 0h3v3h-3V7Z\" fill=\"#fff\"/>\n<path d=\"M6 8h1v1H6V8Zm7 0h1v1h-1V8Z\" fill=\"#000\"/>\n</g>\n",
|
|
633
|
+
variant03: (components, colors) => "\n<g fill-rule=\"evenodd\" clip-rule=\"evenodd\">\n<path d=\"M5 7h3v3H5V7Zm7 0h3v3h-3V7Z\" fill=\"#fff\"/>\n<path d=\"M6 7h2v2H6V7Zm7 0h2v2h-2V7Z\" fill=\"#000\"/>\n<path d=\"M6 7v1h1v1h1V8H7V7H6Zm7 0v1h1v1h1V8h-1V7h-1Z\" fill=\"#fff\" fill-opacity=\".4\"/>\n<path d=\"M7 7v1h1V7H7Zm7 0h1v1h-1V7Z\" fill=\"#fff\" fill-opacity=\".7\"/>\n</g>\n",
|
|
634
|
+
variant02: (components, colors) => "\n<g fill-rule=\"evenodd\" clip-rule=\"evenodd\">\n<path d=\"M5 7h3v3H5V7Zm7 0h3v3h-3V7Z\" fill=\"#fff\"/>\n<path d=\"M5 8h2v1H5V8Zm7 0h2v1h-2V8Z\" fill=\"#000\"/>\n<path d=\"M5 8h1v1H5V8Zm7 0h1v1h-1V8Z\" fill=\"#fff\" fill-opacity=\".7\"/>\n</g>\n",
|
|
635
|
+
variant01: (components, colors) => "\n<g fill-rule=\"evenodd\" clip-rule=\"evenodd\">\n<path d=\"M6 7h1v2H5V8h1V7Zm7 0h1v2h-2V8h1V7Z\" fill=\"#fff\"/>\n<path d=\"M7 7v1H6v1h2V7H7Zm7 0v1h-1v1h2V7h-1Z\" fill=\"#000\"/>\n<path d=\"M7 7v1h1V7H7ZM6 8v1h1V8H6Zm8-1v1h1V7h-1Zm-1 1v1h1V8h-1Z\" fill=\"#fff\" fill-opacity=\".5\"/>\n</g>\n"
|
|
284
636
|
};
|
|
285
637
|
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
return "\n<g fill-rule=\"evenodd\" clip-rule=\"evenodd\">\n<path d=\"M5 6h2v1H5V6Zm8 0h2v1h-2V6Z\" fill=\"".concat(colors.hair.value, "\"/>\n<path d=\"M5 6h2v1H5V6Zm8 0h2v1h-2V6Z\" fill=\"#000\" fill-opacity=\".1\"/>\n</g>\n");
|
|
301
|
-
},
|
|
302
|
-
'variant08': function variant08(components, colors) {
|
|
303
|
-
return "\n<g fill-rule=\"evenodd\" clip-rule=\"evenodd\">\n<path d=\"M6 5h1v1h1v1H5V6h1V5Zm7 0h1v1h1v1h-3V6h1V5Z\" fill=\"".concat(colors.hair.value, "\"/>\n<path d=\"M6 5h1v1h1v1H5V6h1V5Zm7 0h1v1h1v1h-3V6h1V5Z\" fill=\"#000\" fill-opacity=\".1\"/>\n</g>\n");
|
|
304
|
-
},
|
|
305
|
-
'variant07': function variant07(components, colors) {
|
|
306
|
-
return "\n<g fill-rule=\"evenodd\" clip-rule=\"evenodd\">\n<path d=\"M6 5h2v1h1v1H8V6H6V5Zm8 0h-2v1h-1v1h1V6h2V5Z\" fill=\"".concat(colors.hair.value, "\"/>\n<path d=\"M6 5h2v1h1v1H8V6H6V5Zm8 0h-2v1h-1v1h1V6h2V5Z\" fill=\"#000\" fill-opacity=\".1\"/>\n</g>\n");
|
|
307
|
-
},
|
|
308
|
-
'variant06': function variant06(components, colors) {
|
|
309
|
-
return "\n<g fill-rule=\"evenodd\" clip-rule=\"evenodd\">\n<path d=\"M12 7V6h1V5h1v1h1v1h-1V6h-1v1h-1ZM5 7V6h1V5h1v1h1v1H7V6H6v1H5Z\" fill=\"".concat(colors.hair.value, "\"/>\n<path d=\"M12 7V6h1V5h1v1h1v1h-1V6h-1v1h-1ZM5 7V6h1V5h1v1h1v1H7V6H6v1H5Z\" fill=\"#000\" fill-opacity=\".1\"/>\n</g>\n");
|
|
310
|
-
},
|
|
311
|
-
'variant05': function variant05(components, colors) {
|
|
312
|
-
return "\n<g fill-rule=\"evenodd\" clip-rule=\"evenodd\">\n<path d=\"M7 5v1H5v1H4V6h1V5h2Zm6 0h2v1h1v1h-1V6h-2V5Z\" fill=\"".concat(colors.hair.value, "\"/>\n<path d=\"M7 5v1H5v1H4V6h1V5h2Zm6 0h2v1h1v1h-1V6h-2V5Z\" fill=\"#000\" fill-opacity=\".1\"/>\n</g>\n");
|
|
313
|
-
},
|
|
314
|
-
'variant04': function variant04(components, colors) {
|
|
315
|
-
return "\n<g fill-rule=\"evenodd\" clip-rule=\"evenodd\">\n<path d=\"M4 7V5h3v1H5v1H4Zm12-2v2h-1V6h-2V5h3Z\" fill=\"".concat(colors.hair.value, "\"/>\n<path d=\"M4 7V5h3v1H5v1H4Zm12-2v2h-1V6h-2V5h3Z\" fill=\"#000\" fill-opacity=\".1\"/>\n</g>\n");
|
|
316
|
-
},
|
|
317
|
-
'variant03': function variant03(components, colors) {
|
|
318
|
-
return "\n<g fill-rule=\"evenodd\" clip-rule=\"evenodd\">\n<path d=\"M7 5h1v1h1v1H8V6H7V5Zm6 0v1h-1v1h-1V6h1V5h1Z\" fill=\"".concat(colors.hair.value, "\"/>\n<path d=\"M7 5h1v1h1v1H8V6H7V5Zm6 0v1h-1v1h-1V6h1V5h1Z\" fill=\"#000\" fill-opacity=\".1\"/>\n</g>\n");
|
|
319
|
-
},
|
|
320
|
-
'variant02': function variant02(components, colors) {
|
|
321
|
-
return "\n<g fill-rule=\"evenodd\" clip-rule=\"evenodd\">\n<path d=\"M4 7V6h1V5h1v1H5v1H4Zm10-2h1v1h1v1h-1V6h-1V5Z\" fill=\"".concat(colors.hair.value, "\"/>\n<path d=\"M4 7V6h1V5h1v1H5v1H4Zm10-2h1v1h1v1h-1V6h-1V5Z\" fill=\"#000\" fill-opacity=\".1\"/>\n</g>\n");
|
|
322
|
-
},
|
|
323
|
-
'variant01': function variant01(components, colors) {
|
|
324
|
-
return "\n<g fill-rule=\"evenodd\" clip-rule=\"evenodd\">\n<path d=\"M7 5v1H5v1H4V6h1V5h2Zm7 0v1h-2v1h-1V6h1V5h2Z\" fill=\"".concat(colors.hair.value, "\"/>\n<path d=\"M7 5v1H5v1H4V6h1V5h2Zm7 0v1h-2v1h-1V6h1V5h2Z\" fill=\"#000\" fill-opacity=\".1\"/>\n</g>\n");
|
|
325
|
-
}
|
|
638
|
+
const eyebrows = {
|
|
639
|
+
variant13: (components, colors) => "\n<g fill-rule=\"evenodd\" clip-rule=\"evenodd\">\n<path d=\"M8 4v1H7v1H5V5h2V4h1Zm4 0h1v1h2v1h-2V5h-1V4Z\" fill=\"".concat(colors.hair.value, "\"/>\n<path d=\"M8 4v1H7v1H5V5h2V4h1Zm4 0h1v1h2v1h-2V5h-1V4Z\" fill=\"#000\" fill-opacity=\".1\"/>\n</g>\n"),
|
|
640
|
+
variant12: (components, colors) => "\n<g fill-rule=\"evenodd\" clip-rule=\"evenodd\">\n<path d=\"M6 5h3v2H8V6H6V5Zm5 0h3v1h-2v1h-1V5Z\" fill=\"".concat(colors.hair.value, "\"/>\n<path d=\"M6 5h3v2H8V6H6V5Zm5 0h3v1h-2v1h-1V5Z\" fill=\"#000\" fill-opacity=\".1\"/>\n</g>\n"),
|
|
641
|
+
variant11: (components, colors) => "\n<g fill-rule=\"evenodd\" clip-rule=\"evenodd\">\n<path d=\"M5 5h3v1h1v1H8V6H5V5Zm10 0h-3v1h-1v1h1V6h3V5Z\" fill=\"".concat(colors.hair.value, "\"/>\n<path d=\"M5 5h3v1h1v1H8V6H5V5Zm10 0h-3v1h-1v1h1V6h3V5Z\" fill=\"#000\" fill-opacity=\".1\"/>\n</g>\n"),
|
|
642
|
+
variant10: (components, colors) => "\n<g fill-rule=\"evenodd\" clip-rule=\"evenodd\">\n<path d=\"M6 5H4v2h1V6h1V5Zm8 0h2v2h-1V6h-1V5Z\" fill=\"".concat(colors.hair.value, "\"/>\n<path d=\"M6 5H4v2h1V6h1V5Zm8 0h2v2h-1V6h-1V5Z\" fill=\"#000\" fill-opacity=\".1\"/>\n</g>\n"),
|
|
643
|
+
variant09: (components, colors) => "\n<g fill-rule=\"evenodd\" clip-rule=\"evenodd\">\n<path d=\"M5 6h2v1H5V6Zm8 0h2v1h-2V6Z\" fill=\"".concat(colors.hair.value, "\"/>\n<path d=\"M5 6h2v1H5V6Zm8 0h2v1h-2V6Z\" fill=\"#000\" fill-opacity=\".1\"/>\n</g>\n"),
|
|
644
|
+
variant08: (components, colors) => "\n<g fill-rule=\"evenodd\" clip-rule=\"evenodd\">\n<path d=\"M6 5h1v1h1v1H5V6h1V5Zm7 0h1v1h1v1h-3V6h1V5Z\" fill=\"".concat(colors.hair.value, "\"/>\n<path d=\"M6 5h1v1h1v1H5V6h1V5Zm7 0h1v1h1v1h-3V6h1V5Z\" fill=\"#000\" fill-opacity=\".1\"/>\n</g>\n"),
|
|
645
|
+
variant07: (components, colors) => "\n<g fill-rule=\"evenodd\" clip-rule=\"evenodd\">\n<path d=\"M6 5h2v1h1v1H8V6H6V5Zm8 0h-2v1h-1v1h1V6h2V5Z\" fill=\"".concat(colors.hair.value, "\"/>\n<path d=\"M6 5h2v1h1v1H8V6H6V5Zm8 0h-2v1h-1v1h1V6h2V5Z\" fill=\"#000\" fill-opacity=\".1\"/>\n</g>\n"),
|
|
646
|
+
variant06: (components, colors) => "\n<g fill-rule=\"evenodd\" clip-rule=\"evenodd\">\n<path d=\"M12 7V6h1V5h1v1h1v1h-1V6h-1v1h-1ZM5 7V6h1V5h1v1h1v1H7V6H6v1H5Z\" fill=\"".concat(colors.hair.value, "\"/>\n<path d=\"M12 7V6h1V5h1v1h1v1h-1V6h-1v1h-1ZM5 7V6h1V5h1v1h1v1H7V6H6v1H5Z\" fill=\"#000\" fill-opacity=\".1\"/>\n</g>\n"),
|
|
647
|
+
variant05: (components, colors) => "\n<g fill-rule=\"evenodd\" clip-rule=\"evenodd\">\n<path d=\"M7 5v1H5v1H4V6h1V5h2Zm6 0h2v1h1v1h-1V6h-2V5Z\" fill=\"".concat(colors.hair.value, "\"/>\n<path d=\"M7 5v1H5v1H4V6h1V5h2Zm6 0h2v1h1v1h-1V6h-2V5Z\" fill=\"#000\" fill-opacity=\".1\"/>\n</g>\n"),
|
|
648
|
+
variant04: (components, colors) => "\n<g fill-rule=\"evenodd\" clip-rule=\"evenodd\">\n<path d=\"M4 7V5h3v1H5v1H4Zm12-2v2h-1V6h-2V5h3Z\" fill=\"".concat(colors.hair.value, "\"/>\n<path d=\"M4 7V5h3v1H5v1H4Zm12-2v2h-1V6h-2V5h3Z\" fill=\"#000\" fill-opacity=\".1\"/>\n</g>\n"),
|
|
649
|
+
variant03: (components, colors) => "\n<g fill-rule=\"evenodd\" clip-rule=\"evenodd\">\n<path d=\"M7 5h1v1h1v1H8V6H7V5Zm6 0v1h-1v1h-1V6h1V5h1Z\" fill=\"".concat(colors.hair.value, "\"/>\n<path d=\"M7 5h1v1h1v1H8V6H7V5Zm6 0v1h-1v1h-1V6h1V5h1Z\" fill=\"#000\" fill-opacity=\".1\"/>\n</g>\n"),
|
|
650
|
+
variant02: (components, colors) => "\n<g fill-rule=\"evenodd\" clip-rule=\"evenodd\">\n<path d=\"M4 7V6h1V5h1v1H5v1H4Zm10-2h1v1h1v1h-1V6h-1V5Z\" fill=\"".concat(colors.hair.value, "\"/>\n<path d=\"M4 7V6h1V5h1v1H5v1H4Zm10-2h1v1h1v1h-1V6h-1V5Z\" fill=\"#000\" fill-opacity=\".1\"/>\n</g>\n"),
|
|
651
|
+
variant01: (components, colors) => "\n<g fill-rule=\"evenodd\" clip-rule=\"evenodd\">\n<path d=\"M7 5v1H5v1H4V6h1V5h2Zm7 0v1h-2v1h-1V6h1V5h2Z\" fill=\"".concat(colors.hair.value, "\"/>\n<path d=\"M7 5v1H5v1H4V6h1V5h2Zm7 0v1h-2v1h-1V6h1V5h2Z\" fill=\"#000\" fill-opacity=\".1\"/>\n</g>\n")
|
|
326
652
|
};
|
|
327
653
|
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
},
|
|
350
|
-
'happy04': function happy04(components, colors) {
|
|
351
|
-
return "\n<path d=\"M9 13v1h2v-1h1v-1h-1v1H9Z\" fill=\"".concat(colors.mouth.value, "\"/>\n");
|
|
352
|
-
},
|
|
353
|
-
'happy03': function happy03(components, colors) {
|
|
354
|
-
return "\n<path d=\"M8 12v1h1v1h2v-1H9v-1H8Z\" fill=\"".concat(colors.mouth.value, "\"/>\n");
|
|
355
|
-
},
|
|
356
|
-
'happy02': function happy02(components, colors) {
|
|
357
|
-
return "\n<path d=\"M8 12v1h1v1h2v-1h1v-1h-1v-1H9v1H8Z\" fill=\"".concat(colors.mouth.value, "\"/>\n<path d=\"M9 12v1h2v-1H9Z\" fill=\"#fff\"/>\n");
|
|
358
|
-
},
|
|
359
|
-
'happy01': function happy01(components, colors) {
|
|
360
|
-
return "\n<path d=\"M8 12v1h1v1h2v-1h1v-1h-1v-1H9v1H8Z\" fill=\"".concat(colors.mouth.value, "\"/>\n<path d=\"M9 12v1h2v-1H9Z\" fill=\"#fff\" fill-opacity=\".2\"/>\n");
|
|
361
|
-
},
|
|
362
|
-
'sad08': function sad08(components, colors) {
|
|
363
|
-
return "\n<path d=\"M9 12v1H8v1h4v-1h-1v-1H9Z\" fill=\"".concat(colors.mouth.value, "\"/>\n");
|
|
364
|
-
},
|
|
365
|
-
'sad07': function sad07(components, colors) {
|
|
366
|
-
return "\n<path d=\"M11 12v1H9v1H8v-1h1v-1h2Z\" fill=\"".concat(colors.mouth.value, "\"/>\n");
|
|
367
|
-
},
|
|
368
|
-
'sad06': function sad06(components, colors) {
|
|
369
|
-
return "\n<path d=\"M8 12h3v1H8v-1Z\" fill=\"".concat(colors.mouth.value, "\"/>\n");
|
|
370
|
-
},
|
|
371
|
-
'sad05': function sad05(components, colors) {
|
|
372
|
-
return "\n<path d=\"M8 12h4v1H8v-1Z\" fill=\"".concat(colors.mouth.value, "\"/>\n");
|
|
373
|
-
},
|
|
374
|
-
'sad04': function sad04(components, colors) {
|
|
375
|
-
return "\n<path d=\"M9 12h2v1H9v-1Z\" fill=\"".concat(colors.mouth.value, "\"/>\n");
|
|
376
|
-
},
|
|
377
|
-
'sad03': function sad03(components, colors) {
|
|
378
|
-
return "\n<path d=\"M8 12v1h3v1h1v-1h-1v-1H8Z\" fill=\"".concat(colors.mouth.value, "\"/>\n");
|
|
379
|
-
},
|
|
380
|
-
'sad02': function sad02(components, colors) {
|
|
381
|
-
return "\n<path d=\"M8 13v1h1v-1h3v-1H9v1H8Z\" fill=\"".concat(colors.mouth.value, "\"/>\n");
|
|
382
|
-
},
|
|
383
|
-
'sad01': function sad01(components, colors) {
|
|
384
|
-
return "\n<path d=\"M10 12v1h1v1h1v-2h-2Z\" fill=\"".concat(colors.mouth.value, "\"/>\n");
|
|
385
|
-
},
|
|
386
|
-
'surprised01': function surprised01(components, colors) {
|
|
387
|
-
return "\n<path d=\"M8 12v2h4v-2H8Z\" fill=\"#fff\"/>\n";
|
|
388
|
-
}
|
|
654
|
+
const mouth$1 = {
|
|
655
|
+
surprised03: (components, colors) => "\n<path d=\"M9 12v2h2v-2H9Z\" fill=\"".concat(colors.mouth.value, "\"/>\n"),
|
|
656
|
+
surprised02: (components, colors) => "\n<path d=\"M9 13v1h1v-1H9Z\" fill=\"".concat(colors.mouth.value, "\"/>\n"),
|
|
657
|
+
happy09: (components, colors) => "\n<path d=\"M7 12v1h1v1h4v-1H8v-1H7Z\" fill=\"".concat(colors.mouth.value, "\"/>\n"),
|
|
658
|
+
happy08: (components, colors) => "\n<path d=\"M10 12v1H9v1h2v-2h-1Z\" fill=\"".concat(colors.mouth.value, "\"/>\n"),
|
|
659
|
+
happy07: (components, colors) => "\n<path d=\"M8 13v1h4v-1h1v-1h-1v1H8Z\" fill=\"".concat(colors.mouth.value, "\"/>\n"),
|
|
660
|
+
happy06: (components, colors) => "\n<path d=\"M9 12v2h2v-1h-1v-1H9Z\" fill=\"".concat(colors.mouth.value, "\"/>\n<path d=\"M11 14v-1h-1v-1H9v1h1v1h1Z\" fill=\"#fff\" fill-opacity=\".2\"/>\n"),
|
|
661
|
+
happy05: (components, colors) => "\n<path d=\"M8 12v1h1v1h2v-1h1v-1H8Z\" fill=\"".concat(colors.mouth.value, "\"/>\n"),
|
|
662
|
+
happy04: (components, colors) => "\n<path d=\"M9 13v1h2v-1h1v-1h-1v1H9Z\" fill=\"".concat(colors.mouth.value, "\"/>\n"),
|
|
663
|
+
happy03: (components, colors) => "\n<path d=\"M8 12v1h1v1h2v-1H9v-1H8Z\" fill=\"".concat(colors.mouth.value, "\"/>\n"),
|
|
664
|
+
happy02: (components, colors) => "\n<path d=\"M8 12v1h1v1h2v-1h1v-1h-1v-1H9v1H8Z\" fill=\"".concat(colors.mouth.value, "\"/>\n<path d=\"M9 12v1h2v-1H9Z\" fill=\"#fff\"/>\n"),
|
|
665
|
+
happy01: (components, colors) => "\n<path d=\"M8 12v1h1v1h2v-1h1v-1h-1v-1H9v1H8Z\" fill=\"".concat(colors.mouth.value, "\"/>\n<path d=\"M9 12v1h2v-1H9Z\" fill=\"#fff\" fill-opacity=\".2\"/>\n"),
|
|
666
|
+
sad08: (components, colors) => "\n<path d=\"M9 12v1H8v1h4v-1h-1v-1H9Z\" fill=\"".concat(colors.mouth.value, "\"/>\n"),
|
|
667
|
+
sad07: (components, colors) => "\n<path d=\"M11 12v1H9v1H8v-1h1v-1h2Z\" fill=\"".concat(colors.mouth.value, "\"/>\n"),
|
|
668
|
+
sad06: (components, colors) => "\n<path d=\"M8 12h3v1H8v-1Z\" fill=\"".concat(colors.mouth.value, "\"/>\n"),
|
|
669
|
+
sad05: (components, colors) => "\n<path d=\"M8 12h4v1H8v-1Z\" fill=\"".concat(colors.mouth.value, "\"/>\n"),
|
|
670
|
+
sad04: (components, colors) => "\n<path d=\"M9 12h2v1H9v-1Z\" fill=\"".concat(colors.mouth.value, "\"/>\n"),
|
|
671
|
+
sad03: (components, colors) => "\n<path d=\"M8 12v1h3v1h1v-1h-1v-1H8Z\" fill=\"".concat(colors.mouth.value, "\"/>\n"),
|
|
672
|
+
sad02: (components, colors) => "\n<path d=\"M8 13v1h1v-1h3v-1H9v1H8Z\" fill=\"".concat(colors.mouth.value, "\"/>\n"),
|
|
673
|
+
sad01: (components, colors) => "\n<path d=\"M10 12v1h1v1h1v-2h-2Z\" fill=\"".concat(colors.mouth.value, "\"/>\n"),
|
|
674
|
+
surprised01: (components, colors) => "\n<path d=\"M8 12v2h4v-2H8Z\" fill=\"#fff\"/>\n"
|
|
389
675
|
};
|
|
390
676
|
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
},
|
|
419
|
-
'short02': function short02(components, colors) {
|
|
420
|
-
return "\n<path d=\"M3 5H2v3h2V5h1V4h1v1h2V4h4V3h1v1h1v1h1v1h1v2h1V7h1V5h-1V4h-1V3h-1V2h-1V1h-1v1h-2V1h-1v1H7V1H5v1H4v1H3v2Z\" fill=\"".concat(colors.hair.value, "\"/>\n");
|
|
421
|
-
},
|
|
422
|
-
'long15': function long15(components, colors) {
|
|
423
|
-
return "\n<path d=\"M1 7h1v5h1v1h1V7h1V6h1V4h1V3h6v1h1v1h1v1h1v7h1v-2h1V7h-1V6h1V4h-1v1h-1V3h1V2h-1v1h-1V2h-1V1h-1V0h-1v1H6V0H5v1H4V0H3v1h1v2H3V2H2v1h1v1H2v2H1v1Z\" fill=\"".concat(colors.hair.value, "\"/>\n");
|
|
424
|
-
},
|
|
425
|
-
'short01': function short01(components, colors) {
|
|
426
|
-
return "\n<path d=\"M6 3v1H5v1H4v3h2V7h1V6h4V5h1V4h1v1h-1v1h1v1h1v1h2V5h-1V4h-1V3H6Z\" fill=\"".concat(colors.hair.value, "\"/>\n");
|
|
427
|
-
},
|
|
428
|
-
'long14': function long14(components, colors) {
|
|
429
|
-
return "\n<path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M3 11v6h1v-1h4v-1H6v-1H5v-1H4v-2H3Zm0-3h2V5h10v3h2V4h-1V3H4v1H3v4Zm13 3h1v6h-1v-1h-4v-1h2v-1h1v-1h1v-2Z\" fill=\"".concat(colors.hair.value, "\"/>\n");
|
|
430
|
-
},
|
|
431
|
-
'long13': function long13(components, colors) {
|
|
432
|
-
return "\n<path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M3 11v5h2v-3H4v-2H3Zm0-3h2V5h10v3h2V4h-1V3H4v1H3v4Zm13 3h1v5h-2v-3h1v-2Z\" fill=\"".concat(colors.hair.value, "\"/>\n");
|
|
433
|
-
},
|
|
434
|
-
'long12': function long12(components, colors) {
|
|
435
|
-
return "\n<path d=\"M4 13h1v1H3V4h1V3h1V2h10v1h1v1h1v10h-2v-1h1V5H4v8Z\" fill=\"".concat(colors.hair.value, "\"/>\n");
|
|
436
|
-
},
|
|
437
|
-
'long11': function long11(components, colors) {
|
|
438
|
-
return "\n<path d=\"M2 18h2v-1h4v-2H6v-1H5v-1H4V5h1V4h1v1h1V4h1v1h1V4h6v1h1v8h-1v1h-1v1h-2v2h4v1h2V4h-1V3h-1V2H4v1H3v1H2v14Z\" fill=\"".concat(colors.hair.value, "\"/>\n");
|
|
439
|
-
},
|
|
440
|
-
'long10': function long10(components, colors) {
|
|
441
|
-
return "\n<path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M3 14.104V11h1v2h1v1l-2 .104ZM17 11v3h-2v-1h1v-2h1ZM3 8h1V5h1V4h1V3h8v1h1v1h1v3h1V4h-1V3h-1V2H5v1H4v1H3v4Z\" fill=\"".concat(colors.hair.value, "\"/>\n");
|
|
442
|
-
},
|
|
443
|
-
'long09': function long09(components, colors) {
|
|
444
|
-
return "\n<path d=\"M2 15h2V5h12v10h2V4h-1V3h-1V2H4v1H3v1H2v11Z\" fill=\"".concat(colors.hair.value, "\"/>\n");
|
|
445
|
-
},
|
|
446
|
-
'long08': function long08(components, colors) {
|
|
447
|
-
return "\n<path d=\"M2 14h2V7h1V6h1V5h1V4h1V3h6v1h1v1h1v9h2V3h-1V2h-1V1H4v1H3v1H2v11Z\" fill=\"".concat(colors.hair.value, "\"/>\n");
|
|
448
|
-
},
|
|
449
|
-
'long07': function long07(components, colors) {
|
|
450
|
-
return "\n<path d=\"M4 5v3h1V5h2v1h1V5h1v1h1V5h5v3h1V5h1V3.016h-1V2h-2v1l-8 .016V2H4v1.016H3V5h1Z\" fill=\"".concat(colors.hair.value, "\"/>\n");
|
|
451
|
-
},
|
|
452
|
-
'long06': function long06(components, colors) {
|
|
453
|
-
return "\n<path d=\"M3 11h1V9h1V8h1V7h1V6h1V5h5v1h3V5h-1V4h-1V3H5v1H4v1H3v6Z\" fill=\"".concat(colors.hair.value, "\"/>\n");
|
|
454
|
-
},
|
|
455
|
-
'long05': function long05(components, colors) {
|
|
456
|
-
return "\n<path d=\"M2 17h2v-1h4v-1H6v-1H5v-1H3.998L4 11H3V8h1V5h1V4h6V3h1v1h1V3h1v1h1v1h1v3h1v3h-1v2h-1v1h-1v1h-2v1h4v1h2V4h-1V3h-1V2h-1V1H5v1H4v1H3v1H2v13Z\" fill=\"".concat(colors.hair.value, "\"/>\n");
|
|
457
|
-
},
|
|
458
|
-
'long04': function long04(components, colors) {
|
|
459
|
-
return "\n<path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M3 14h2v-1H4v-2H3v3Zm12 0h2v-3h-1v2h-1v1Zm2-6V3h-1V2H4v1H3v5h1V5h1V4h1V3h8v1h1v1h1v3h1Z\" fill=\"".concat(colors.hair.value, "\"/>\n");
|
|
460
|
-
},
|
|
461
|
-
'long03': function long03(components, colors) {
|
|
462
|
-
return "\n<path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M3 13v1H2v2H1v1h1v-1h1v-1h1v-1h1v-1H4v-2H3v2Zm0-5h1V7h1V6h1V5h8v1h1v1h1v1h1V4h-1V3h-1V2H5v1H4v1H3v4Z\" fill=\"".concat(colors.hair.value, "\"/>\n");
|
|
463
|
-
},
|
|
464
|
-
'long02': function long02(components, colors) {
|
|
465
|
-
return "\n<path d=\"M2 15h4v-1H5v-1H4V6h2V5h2V4h1V3h4v1h1v1h1v1h1v7h-1v1h-1v1h4V4h-1V3h-1V2h-1V1H5v1H4v1H3v1H2v11Z\" fill=\"".concat(colors.hair.value, "\"/>\n");
|
|
466
|
-
},
|
|
467
|
-
'long01': function long01(components, colors) {
|
|
468
|
-
return "\n<path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M3 11v3H2v2H1v1h1v-1h1v-1h1v-1h1v-1H4v-2H3Zm14 0v3h1v2h1v1h-1v-1h-1v-1h-1v-1h-1v-1h1v-2h1Zm-1-3h1V4h-1V3h-1V2H5v1H4v1H3v4h1V7h1V6h1V5h8v1h1v1h1v1Z\" fill=\"".concat(colors.hair.value, "\"/>\n");
|
|
469
|
-
}
|
|
677
|
+
const hair$1 = {
|
|
678
|
+
short11: (components, colors) => "\n<path d=\"M4 4v2h1V5h1V4h8v1h1v1h1V4h-1V3H5v1H4Z\" fill=\"".concat(colors.hair.value, "\"/>\n"),
|
|
679
|
+
short10: (components, colors) => "\n<path d=\"M6 2h8v1h1v1h1v3h-1V6h-1V5h-1V4H9v1H7v1H6v1H4V4h1V3h1V2Z\" fill=\"".concat(colors.hair.value, "\"/>\n"),
|
|
680
|
+
short09: (components, colors) => "\n<path d=\"M4 7h1V5h1V4h2v1h1v1h2V5h1V4h2v1h1v2h1V5h-1V4h-1V3H6v1H5v1H4v2Z\" fill=\"".concat(colors.hair.value, "\"/>\n"),
|
|
681
|
+
short08: (components, colors) => "\n<path d=\"M3 8h1V5h12v3h1V4h-1V3h-1V2H5v1H4v1H3v4Z\" fill=\"".concat(colors.hair.value, "\"/>\n"),
|
|
682
|
+
short07: (components, colors) => "\n<path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M2 5v1h1v1h2V5h1V3H4v1H3v1H2Zm6-1h2v1h2V4h1V3H8v1Zm6 1h1v2h2V6h1V5h-1V4h-1V3h-2v2Z\" fill=\"".concat(colors.hair.value, "\"/>\n"),
|
|
683
|
+
short06: (components, colors) => "\n<path d=\"M3 8h1V5h2V3h8v1h1v1h1v3h1V3h-2V2h-2V1h-1v1h-2V1H9v1H8V1H7v1H5v1H4v1H3v4Z\" fill=\"".concat(colors.hair.value, "\"/>\n"),
|
|
684
|
+
short05: (components, colors) => "\n<path d=\"M11 5V4h1V3H8v1h1v1h2Z\" fill=\"".concat(colors.hair.value, "\"/>\n"),
|
|
685
|
+
short04: (components, colors) => "\n<path d=\"M3 8h1V6h2V5h2V4h1v1h2v1h2v1h2v1h2V5h-1V4h-1V3H5v1H4v1H3v3Z\" fill=\"".concat(colors.hair.value, "\"/>\n"),
|
|
686
|
+
short03: (components, colors) => "\n<path d=\"M5 5h10V4h-1V3H6v1H5v1Z\" fill=\"".concat(colors.hair.value, "\"/>\n"),
|
|
687
|
+
short02: (components, colors) => "\n<path d=\"M3 5H2v3h2V5h1V4h1v1h2V4h4V3h1v1h1v1h1v1h1v2h1V7h1V5h-1V4h-1V3h-1V2h-1V1h-1v1h-2V1h-1v1H7V1H5v1H4v1H3v2Z\" fill=\"".concat(colors.hair.value, "\"/>\n"),
|
|
688
|
+
long15: (components, colors) => "\n<path d=\"M1 7h1v5h1v1h1V7h1V6h1V4h1V3h6v1h1v1h1v1h1v7h1v-2h1V7h-1V6h1V4h-1v1h-1V3h1V2h-1v1h-1V2h-1V1h-1V0h-1v1H6V0H5v1H4V0H3v1h1v2H3V2H2v1h1v1H2v2H1v1Z\" fill=\"".concat(colors.hair.value, "\"/>\n"),
|
|
689
|
+
short01: (components, colors) => "\n<path d=\"M6 3v1H5v1H4v3h2V7h1V6h4V5h1V4h1v1h-1v1h1v1h1v1h2V5h-1V4h-1V3H6Z\" fill=\"".concat(colors.hair.value, "\"/>\n"),
|
|
690
|
+
long14: (components, colors) => "\n<path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M3 11v6h1v-1h4v-1H6v-1H5v-1H4v-2H3Zm0-3h2V5h10v3h2V4h-1V3H4v1H3v4Zm13 3h1v6h-1v-1h-4v-1h2v-1h1v-1h1v-2Z\" fill=\"".concat(colors.hair.value, "\"/>\n"),
|
|
691
|
+
long13: (components, colors) => "\n<path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M3 11v5h2v-3H4v-2H3Zm0-3h2V5h10v3h2V4h-1V3H4v1H3v4Zm13 3h1v5h-2v-3h1v-2Z\" fill=\"".concat(colors.hair.value, "\"/>\n"),
|
|
692
|
+
long12: (components, colors) => "\n<path d=\"M4 13h1v1H3V4h1V3h1V2h10v1h1v1h1v10h-2v-1h1V5H4v8Z\" fill=\"".concat(colors.hair.value, "\"/>\n"),
|
|
693
|
+
long11: (components, colors) => "\n<path d=\"M2 18h2v-1h4v-2H6v-1H5v-1H4V5h1V4h1v1h1V4h1v1h1V4h6v1h1v8h-1v1h-1v1h-2v2h4v1h2V4h-1V3h-1V2H4v1H3v1H2v14Z\" fill=\"".concat(colors.hair.value, "\"/>\n"),
|
|
694
|
+
long10: (components, colors) => "\n<path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M3 14.1V11h1v2h1v1l-2 .1ZM17 11v3h-2v-1h1v-2h1ZM3 8h1V5h1V4h1V3h8v1h1v1h1v3h1V4h-1V3h-1V2H5v1H4v1H3v4Z\" fill=\"".concat(colors.hair.value, "\"/>\n"),
|
|
695
|
+
long09: (components, colors) => "\n<path d=\"M2 15h2V5h12v10h2V4h-1V3h-1V2H4v1H3v1H2v11Z\" fill=\"".concat(colors.hair.value, "\"/>\n"),
|
|
696
|
+
long08: (components, colors) => "\n<path d=\"M2 14h2V7h1V6h1V5h1V4h1V3h6v1h1v1h1v9h2V3h-1V2h-1V1H4v1H3v1H2v11Z\" fill=\"".concat(colors.hair.value, "\"/>\n"),
|
|
697
|
+
long07: (components, colors) => "\n<path d=\"M4 5v3h1V5h2v1h1V5h1v1h1V5h5v3h1V5h1V3h-1V2h-2v1H6V2H4v1H3v2h1Z\" fill=\"".concat(colors.hair.value, "\"/>\n"),
|
|
698
|
+
long06: (components, colors) => "\n<path d=\"M3 11h1V9h1V8h1V7h1V6h1V5h5v1h3V5h-1V4h-1V3H5v1H4v1H3v6Z\" fill=\"".concat(colors.hair.value, "\"/>\n"),
|
|
699
|
+
long05: (components, colors) => "\n<path d=\"M2 17h2v-1h4v-1H6v-1H5v-1H4v-2H3V8h1V5h1V4h6V3h1v1h1V3h1v1h1v1h1v3h1v3h-1v2h-1v1h-1v1h-2v1h4v1h2V4h-1V3h-1V2h-1V1H5v1H4v1H3v1H2v13Z\" fill=\"".concat(colors.hair.value, "\"/>\n"),
|
|
700
|
+
long04: (components, colors) => "\n<path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M3 14h2v-1H4v-2H3v3Zm12 0h2v-3h-1v2h-1v1Zm2-6V3h-1V2H4v1H3v5h1V5h1V4h1V3h8v1h1v1h1v3h1Z\" fill=\"".concat(colors.hair.value, "\"/>\n"),
|
|
701
|
+
long03: (components, colors) => "\n<path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M3 13v1H2v2H1v1h1v-1h1v-1h1v-1h1v-1H4v-2H3v2Zm0-5h1V7h1V6h1V5h8v1h1v1h1v1h1V4h-1V3h-1V2H5v1H4v1H3v4Z\" fill=\"".concat(colors.hair.value, "\"/>\n"),
|
|
702
|
+
long02: (components, colors) => "\n<path d=\"M2 15h4v-1H5v-1H4V6h2V5h2V4h1V3h4v1h1v1h1v1h1v7h-1v1h-1v1h4V4h-1V3h-1V2h-1V1H5v1H4v1H3v1H2v11Z\" fill=\"".concat(colors.hair.value, "\"/>\n"),
|
|
703
|
+
long01: (components, colors) => "\n<path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M3 11v3H2v2H1v1h1v-1h1v-1h1v-1h1v-1H4v-2H3Zm14 0v3h1v2h1v1h-1v-1h-1v-1h-1v-1h-1v-1h1v-2h1Zm-1-3h1V4h-1V3h-1V2H5v1H4v1H3v4h1V7h1V6h1V5h8v1h1v1h1v1Z\" fill=\"".concat(colors.hair.value, "\"/>\n")
|
|
470
704
|
};
|
|
471
705
|
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
return "\n<path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M3 10v2h1v-2H3Zm13 0h1v2h-1v-2Z\" fill=\"".concat(colors.accessories.value, "\"/>\n");
|
|
478
|
-
},
|
|
479
|
-
'variant02': function variant02(components, colors) {
|
|
480
|
-
return "\n<g fill-rule=\"evenodd\" clip-rule=\"evenodd\">\n<path d=\"M3 10v2h1v-2H3Zm13 0h1v2h-1v-2Z\" fill=\"".concat(colors.accessories.value, "\"/>\n<path d=\"M3 10v1h1v-1H3Zm13 0h1v1h-1v-1Z\" fill=\"#fff\" fill-opacity=\".4\"/>\n</g>\n");
|
|
481
|
-
},
|
|
482
|
-
'variant01': function variant01(components, colors) {
|
|
483
|
-
return "\n<g fill=\"".concat(colors.accessories.value, "\">\n<path d=\"M4 11H2v2h2v-2ZM18 11h-2v2h2v-2Z\"/>\n</g>\n");
|
|
484
|
-
}
|
|
706
|
+
const accessories$1 = {
|
|
707
|
+
variant04: (components, colors) => "\n<path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M3 10v1h1v-1H3Zm13 0v1h1v-1h-1Z\" fill=\"".concat(colors.accessories.value, "\"/>\n"),
|
|
708
|
+
variant03: (components, colors) => "\n<path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M3 10v2h1v-2H3Zm13 0h1v2h-1v-2Z\" fill=\"".concat(colors.accessories.value, "\"/>\n"),
|
|
709
|
+
variant02: (components, colors) => "\n<g fill-rule=\"evenodd\" clip-rule=\"evenodd\">\n<path d=\"M3 10v2h1v-2H3Zm13 0h1v2h-1v-2Z\" fill=\"".concat(colors.accessories.value, "\"/>\n<path d=\"M3 10v1h1v-1H3Zm13 0h1v1h-1v-1Z\" fill=\"#fff\" fill-opacity=\".4\"/>\n</g>\n"),
|
|
710
|
+
variant01: (components, colors) => "\n<path d=\"M4 11H2v2h2v-2ZM18 11h-2v2h2v-2Z\" fill=\"".concat(colors.accessories.value, "\"/>\n")
|
|
485
711
|
};
|
|
486
712
|
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
return "\n<g fill-rule=\"evenodd\" clip-rule=\"evenodd\">\n<path opacity=\".2\" d=\"M5 8h3v1H5V8Zm7 0h3v1h-3V8Z\" fill=\"#fff\"/>\n<path opacity=\".2\" d=\"M7 8h1v1H7V8Zm7 0h1v1h-1V8Z\" fill=\"#fff\"/>\n<path d=\"M5 8v1h3V8H5ZM3 7v1h1v1h1v1h3V9h1V8h2v1h1v1h3V9h1V8h1V7H3Zm9 1v1h3V8h-3Z\" fill=\"".concat(colors.glasses.value, "\"/>\n<path d=\"M3 7v1h1V7H3Zm6 0v1h2V7H9Zm7 0v1h1V7h-1Z\" fill=\"#fff\" fill-opacity=\".2\"/>\n</g>\n");
|
|
496
|
-
},
|
|
497
|
-
'variant04': function variant04(components, colors) {
|
|
498
|
-
return "\n<g fill-rule=\"evenodd\" clip-rule=\"evenodd\">\n<path opacity=\".2\" d=\"M5 7h3v2H5V7Zm7 0h3v2h-3V7Z\" fill=\"#fff\"/>\n<path opacity=\".2\" d=\"M7 7h1v1H7V7Zm7 0h1v1h-1V7Z\" fill=\"#fff\"/>\n<path d=\"M12 7v2h3V7h-3ZM8 6H5v1H3v1h1v1h1v1h3V9h1V8h2v1h1v1h3V9h1V8h1V7h-2V6h-3v1H8V6ZM5 7v2h3V7H5Z\" fill=\"".concat(colors.glasses.value, "\"/>\n<path d=\"M3 7h1v1H3V7Zm6 0h2v1H9V7Zm7 0h1v1h-1V7Z\" fill=\"#fff\" fill-opacity=\".2\"/>\n</g>\n");
|
|
499
|
-
},
|
|
500
|
-
'variant03': function variant03(components, colors) {
|
|
501
|
-
return "\n<g fill-rule=\"evenodd\" clip-rule=\"evenodd\">\n<path d=\"M4 8H3V7h1V6h5v1h2V6h5v1h1v1h-1v2h-5V8H9v2H4V8Zm1 0V7h3v2H5V8Zm7-1v2h3V7h-3Z\" fill=\"".concat(colors.glasses.value, "\"/>\n<path opacity=\".2\" d=\"M5 7h3v2H5V7Zm7 0h3v2h-3V7Z\" fill=\"#fff\"/>\n<path opacity=\".2\" d=\"M14 7h1v1h-1V7ZM7 7h1v1H7V7Z\" fill=\"#fff\"/>\n<path d=\"M3 8V7h1v1H3Zm6-1v1h2V7H9Zm7 0v1h1V7h-1Z\" fill=\"#fff\" fill-opacity=\".2\"/>\n</g>\n");
|
|
502
|
-
},
|
|
503
|
-
'variant02': function variant02(components, colors) {
|
|
504
|
-
return "\n<g fill-rule=\"evenodd\" clip-rule=\"evenodd\">\n<path d=\"M4 8H3V7h14v1h-1v2h-5V8H9v2H4V8Zm1 0h3v1H5V8Zm7 0h3v1h-3V8Z\" fill=\"".concat(colors.glasses.value, "\"/>\n<path opacity=\".2\" d=\"M7 8v1h1V8H7Zm7 0v1h1V8h-1Z\" fill=\"#fff\"/>\n<path opacity=\".2\" d=\"M5 8h3v1H5V8Zm7 0h3v1h-3V8Z\" fill=\"#fff\"/>\n<path d=\"M3 7v1h1V7H3Zm13 0v1h1V7h-1ZM9 7v1h2V7H9Z\" fill=\"#fff\" fill-opacity=\".2\"/>\n</g>\n");
|
|
505
|
-
},
|
|
506
|
-
'variant01': function variant01(components, colors) {
|
|
507
|
-
return "\n<path d=\"M3 8V7h1V6h2v1h1V6h2v1h2V6h2v1h1V6h2v1h1v1h-1v1h-1v1h-1v1h-1v-1h-1V9h-1V8H9v1H8v1H7v1H6v-1H5V9H4V8H3Z\" fill=\"".concat(colors.glasses.value, "\"/>\n<path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M3 7v1h1V7h1V6H4v1H3Zm5-1v1h1v1h2V7h1V6h-1v1H9V6H8Zm7 0v1h1v1h1V7h-1V6h-1Z\" fill=\"#fff\" fill-opacity=\".2\"/>\n");
|
|
508
|
-
}
|
|
713
|
+
const glasses$1 = {
|
|
714
|
+
variant07: (components, colors) => "\n<g fill-rule=\"evenodd\" clip-rule=\"evenodd\">\n<path opacity=\".2\" d=\"M5 7h3v3H5V7Zm7 0h3v3h-3V7Z\" fill=\"#fff\"/>\n<path opacity=\".2\" d=\"M7 7h1v1H7V7Zm7 0h1v1h-1V7Z\" fill=\"#fff\"/>\n<path d=\"M12 10V7h3v3h-3Zm-1-4v1H9V6H4v1H3v1h1v3h5V8h2v3h5V8h1V7h-1V6h-5Zm-6 4V7h3v3H5Z\" fill=\"".concat(colors.glasses.value, "\"/>\n<path d=\"M3 7h1v1H3V7Zm6 0h2v1H9V7Zm7 0h1v1h-1V7Z\" fill=\"#fff\" fill-opacity=\".2\"/>\n</g>\n"),
|
|
715
|
+
variant06: (components, colors) => "\n<g fill-rule=\"evenodd\" clip-rule=\"evenodd\">\n<path opacity=\".2\" d=\"M5 7h3v2H5V7Zm7 0h3v2h-3V7Z\" fill=\"#fff\"/>\n<path opacity=\".2\" d=\"M7 7h1v1H7V7Zm7 0h1v1h-1V7Z\" fill=\"#fff\"/>\n<path d=\"M5 7v2h3V7H5ZM4 6v1H3v1h1v1h1v1h3V9h1V8h2v1h1v1h3V9h1V8h1V7h-1V6h-5v1H9V6H4Zm8 1v2h3V7h-3Z\" fill=\"".concat(colors.glasses.value, "\"/>\n<path d=\"M3 7h1v1H3V7Zm6 0h2v1H9V7Zm7 0h1v1h-1V7Z\" fill=\"#fff\" fill-opacity=\".2\"/>\n</g>\n"),
|
|
716
|
+
variant05: (components, colors) => "\n<g fill-rule=\"evenodd\" clip-rule=\"evenodd\">\n<path opacity=\".2\" d=\"M5 8h3v1H5V8Zm7 0h3v1h-3V8Z\" fill=\"#fff\"/>\n<path opacity=\".2\" d=\"M7 8h1v1H7V8Zm7 0h1v1h-1V8Z\" fill=\"#fff\"/>\n<path d=\"M5 8v1h3V8H5ZM3 7v1h1v1h1v1h3V9h1V8h2v1h1v1h3V9h1V8h1V7H3Zm9 1v1h3V8h-3Z\" fill=\"".concat(colors.glasses.value, "\"/>\n<path d=\"M3 7v1h1V7H3Zm6 0v1h2V7H9Zm7 0v1h1V7h-1Z\" fill=\"#fff\" fill-opacity=\".2\"/>\n</g>\n"),
|
|
717
|
+
variant04: (components, colors) => "\n<g fill-rule=\"evenodd\" clip-rule=\"evenodd\">\n<path opacity=\".2\" d=\"M5 7h3v2H5V7Zm7 0h3v2h-3V7Z\" fill=\"#fff\"/>\n<path opacity=\".2\" d=\"M7 7h1v1H7V7Zm7 0h1v1h-1V7Z\" fill=\"#fff\"/>\n<path d=\"M12 7v2h3V7h-3ZM8 6H5v1H3v1h1v1h1v1h3V9h1V8h2v1h1v1h3V9h1V8h1V7h-2V6h-3v1H8V6ZM5 7v2h3V7H5Z\" fill=\"".concat(colors.glasses.value, "\"/>\n<path d=\"M3 7h1v1H3V7Zm6 0h2v1H9V7Zm7 0h1v1h-1V7Z\" fill=\"#fff\" fill-opacity=\".2\"/>\n</g>\n"),
|
|
718
|
+
variant03: (components, colors) => "\n<g fill-rule=\"evenodd\" clip-rule=\"evenodd\">\n<path d=\"M4 8H3V7h1V6h5v1h2V6h5v1h1v1h-1v2h-5V8H9v2H4V8Zm1 0V7h3v2H5V8Zm7-1v2h3V7h-3Z\" fill=\"".concat(colors.glasses.value, "\"/>\n<path opacity=\".2\" d=\"M5 7h3v2H5V7Zm7 0h3v2h-3V7Z\" fill=\"#fff\"/>\n<path opacity=\".2\" d=\"M14 7h1v1h-1V7ZM7 7h1v1H7V7Z\" fill=\"#fff\"/>\n<path d=\"M3 8V7h1v1H3Zm6-1v1h2V7H9Zm7 0v1h1V7h-1Z\" fill=\"#fff\" fill-opacity=\".2\"/>\n</g>\n"),
|
|
719
|
+
variant02: (components, colors) => "\n<g fill-rule=\"evenodd\" clip-rule=\"evenodd\">\n<path d=\"M4 8H3V7h14v1h-1v2h-5V8H9v2H4V8Zm1 0h3v1H5V8Zm7 0h3v1h-3V8Z\" fill=\"".concat(colors.glasses.value, "\"/>\n<path opacity=\".2\" d=\"M7 8v1h1V8H7Zm7 0v1h1V8h-1Z\" fill=\"#fff\"/>\n<path opacity=\".2\" d=\"M5 8h3v1H5V8Zm7 0h3v1h-3V8Z\" fill=\"#fff\"/>\n<path d=\"M3 7v1h1V7H3Zm13 0v1h1V7h-1ZM9 7v1h2V7H9Z\" fill=\"#fff\" fill-opacity=\".2\"/>\n</g>\n"),
|
|
720
|
+
variant01: (components, colors) => "\n<path d=\"M3 8V7h1V6h2v1h1V6h2v1h2V6h2v1h1V6h2v1h1v1h-1v1h-1v1h-1v1h-1v-1h-1V9h-1V8H9v1H8v1H7v1H6v-1H5V9H4V8H3Z\" fill=\"".concat(colors.glasses.value, "\"/>\n<path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M3 7v1h1V7h1V6H4v1H3Zm5-1v1h1v1h2V7h1V6h-1v1H9V6H8Zm7 0v1h1v1h1V7h-1V6h-1Z\" fill=\"#fff\" fill-opacity=\".2\"/>\n")
|
|
509
721
|
};
|
|
510
722
|
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
'variant05': function variant05(components, colors) {
|
|
525
|
-
return "\n<path d=\"M3 5V3h2V1h10v2h2v2H3Z\" fill=\"".concat(colors.hat.value, "\"/>\n<path d=\"M4 1v2h12V1H4Z\" fill=\"#fff\" fill-opacity=\".2\"/>\n");
|
|
526
|
-
},
|
|
527
|
-
'variant06': function variant06(components, colors) {
|
|
528
|
-
return "\n<path d=\"M3 5V4h2V1h10v3h2v1H3Z\" fill=\"".concat(colors.hat.value, "\"/>\n<path d=\"M5 1v3h10V1H5Z\" fill=\"#fff\" fill-opacity=\".2\"/>\n");
|
|
529
|
-
},
|
|
530
|
-
'variant07': function variant07(components, colors) {
|
|
531
|
-
return "\n<path d=\"M3 6V4h1V3h1V2h10v1h1v1h1v2H3Z\" fill=\"".concat(colors.hat.value, "\"/>\n<path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M4 3v1h12V3H4ZM3 5v1h14V5H3Z\" fill=\"#fff\" fill-opacity=\".2\"/>\n");
|
|
532
|
-
},
|
|
533
|
-
'variant08': function variant08(components, colors) {
|
|
534
|
-
return "\n<path d=\"M14 2H6v1H5v1H4v2h14V5h-2V4h-1V3h-1V2Z\" fill=\"".concat(colors.hat.value, "\"/>\n<path d=\"M5 6h1V5h1V4h1V3H7v1H6v1H5v1Z\" fill=\"#fff\" fill-opacity=\".2\"/>\n");
|
|
535
|
-
},
|
|
536
|
-
'variant09': function variant09(components, colors) {
|
|
537
|
-
return "\n<path d=\"M5 1v2H3v2h14V3h-2V1H5Z\" fill=\"".concat(colors.hat.value, "\"/>\n<path d=\"M14 3V0h-1v3h1Z\" fill=\"#fff\" fill-opacity=\".2\"/>\n");
|
|
538
|
-
},
|
|
539
|
-
'variant10': function variant10(components, colors) {
|
|
540
|
-
return "\n<path d=\"M4 0v5H2v1h16V5h-2V0H4Z\" fill=\"".concat(colors.hat.value, "\"/>\n<path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M15 3V0h-1v3h1Zm-2-3v2h-1V0h1Z\" fill=\"#fff\" fill-opacity=\".2\"/>\n");
|
|
541
|
-
},
|
|
542
|
-
'variant11': function variant11(components, colors) {
|
|
543
|
-
return "\n<path d=\"M3 3v2h14V3h-1V2h-1V1H5v1H4v1H3Z\" fill=\"".concat(colors.hat.value, "\"/>\n<path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M14 1v4h-1V1h1Zm-2 0v4h-1V1h1Z\" fill=\"#fff\" fill-opacity=\".2\"/>\n");
|
|
544
|
-
},
|
|
545
|
-
'variant12': function variant12(components, colors) {
|
|
546
|
-
return "\n<path d=\"M5 4H4v2h14V5h-2V4h-1V3h-1V2H6v1H5v1Z\" fill=\"".concat(colors.hat.value, "\"/>\n<path d=\"M14 4h-3v1h3V4Z\" fill=\"#fff\" fill-opacity=\".2\"/>\n");
|
|
547
|
-
}
|
|
723
|
+
const hat$1 = {
|
|
724
|
+
variant01: (components, colors) => "\n<path d=\"M4 1v2H2v2h16V3h-2V1H4Z\" fill=\"".concat(colors.hat.value, "\"/>\n"),
|
|
725
|
+
variant02: (components, colors) => "\n<path d=\"M4 4H2v1h16V4h-2V1H4v3Z\" fill=\"".concat(colors.hat.value, "\"/>\n"),
|
|
726
|
+
variant03: (components, colors) => "\n<path d=\"M3 4v2h14V4h-1V3h-1V2H5v1H4v1H3Z\" fill=\"".concat(colors.hat.value, "\"/>\n"),
|
|
727
|
+
variant04: (components, colors) => "\n<path d=\"M6 1v1H5v1H4v2h14V4h-2V3h-1V2h-1V1H6Z\" fill=\"".concat(colors.hat.value, "\"/>\n"),
|
|
728
|
+
variant05: (components, colors) => "\n<path d=\"M3 5V3h2V1h10v2h2v2H3Z\" fill=\"".concat(colors.hat.value, "\"/>\n<path d=\"M4 1v2h12V1H4Z\" fill=\"#fff\" fill-opacity=\".2\"/>\n"),
|
|
729
|
+
variant06: (components, colors) => "\n<path d=\"M3 5V4h2V1h10v3h2v1H3Z\" fill=\"".concat(colors.hat.value, "\"/>\n<path d=\"M5 1v3h10V1H5Z\" fill=\"#fff\" fill-opacity=\".2\"/>\n"),
|
|
730
|
+
variant07: (components, colors) => "\n<path d=\"M3 6V4h1V3h1V2h10v1h1v1h1v2H3Z\" fill=\"".concat(colors.hat.value, "\"/>\n<path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M4 3v1h12V3H4ZM3 5v1h14V5H3Z\" fill=\"#fff\" fill-opacity=\".2\"/>\n"),
|
|
731
|
+
variant08: (components, colors) => "\n<path d=\"M14 2H6v1H5v1H4v2h14V5h-2V4h-1V3h-1V2Z\" fill=\"".concat(colors.hat.value, "\"/>\n<path d=\"M5 6h1V5h1V4h1V3H7v1H6v1H5v1Z\" fill=\"#fff\" fill-opacity=\".2\"/>\n"),
|
|
732
|
+
variant09: (components, colors) => "\n<path d=\"M5 1v2H3v2h14V3h-2V1H5Z\" fill=\"".concat(colors.hat.value, "\"/>\n<path d=\"M14 3V0h-1v3h1Z\" fill=\"#fff\" fill-opacity=\".2\"/>\n"),
|
|
733
|
+
variant10: (components, colors) => "\n<path d=\"M4 0v5H2v1h16V5h-2V0H4Z\" fill=\"".concat(colors.hat.value, "\"/>\n<path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M15 3V0h-1v3h1Zm-2-3v2h-1V0h1Z\" fill=\"#fff\" fill-opacity=\".2\"/>\n"),
|
|
734
|
+
variant11: (components, colors) => "\n<path d=\"M3 3v2h14V3h-1V2h-1V1H5v1H4v1H3Z\" fill=\"".concat(colors.hat.value, "\"/>\n<path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M14 1v4h-1V1h1Zm-2 0v4h-1V1h1Z\" fill=\"#fff\" fill-opacity=\".2\"/>\n"),
|
|
735
|
+
variant12: (components, colors) => "\n<path d=\"M5 4H4v2h14V5h-2V4h-1V3h-1V2H6v1H5v1Z\" fill=\"".concat(colors.hat.value, "\"/>\n<path d=\"M14 4h-3v1h3V4Z\" fill=\"#fff\" fill-opacity=\".2\"/>\n")
|
|
548
736
|
};
|
|
549
737
|
|
|
550
|
-
|
|
551
|
-
|
|
552
|
-
|
|
553
|
-
|
|
554
|
-
|
|
555
|
-
|
|
556
|
-
|
|
557
|
-
|
|
558
|
-
|
|
559
|
-
|
|
560
|
-
|
|
561
|
-
|
|
562
|
-
|
|
563
|
-
|
|
564
|
-
|
|
565
|
-
|
|
566
|
-
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
|
|
570
|
-
|
|
571
|
-
|
|
572
|
-
|
|
573
|
-
|
|
574
|
-
|
|
575
|
-
|
|
576
|
-
return "\n<path d=\"M3 20v-3h1v-1h4v1h4v-1h4v1h1v3H3Z\" fill=\"".concat(colors.clothes.value, "\"/>\n<path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M3 20v-2h1v2H3Zm3 0v-2h2v2H6Zm4 0v-2h2v2h-2Zm4 0v-2h2v2h-2Zm2-3v1h1v-1h-1Zm-2 1v-2h-2v2h2Zm-6-1v1h2v-1H8Zm-4-1v2h2v-2H4Z\" fill=\"#fff\" fill-opacity=\".2\"/>\n");
|
|
577
|
-
},
|
|
578
|
-
'variant16': function variant16(components, colors) {
|
|
579
|
-
return "\n<path d=\"M3 20v-3h1v-1h4v1h4v-1h4v1h1v3H3Z\" fill=\"".concat(colors.clothes.value, "\"/>\n<path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M3 19h14v1H3v-1Zm0-2h14v1H3v-1Z\" fill=\"#fff\" fill-opacity=\".2\"/>\n");
|
|
580
|
-
},
|
|
581
|
-
'variant15': function variant15(components, colors) {
|
|
582
|
-
return "\n<path d=\"M3 20v-3h1v-1h4v1h4v-1h4v1h1v3H3Z\" fill=\"".concat(colors.clothes.value, "\"/>\n");
|
|
583
|
-
},
|
|
584
|
-
'variant14': function variant14(components, colors) {
|
|
585
|
-
return "\n<path d=\"M3 20v-3h1v-1h4.027L8 15h4l.011 1H16v1h1v3H3Z\" fill=\"".concat(colors.clothes.value, "\"/>\n<path d=\"M3 20v-3h1v-1h12v1h1v3H3Z\" fill=\"#fff\" fill-opacity=\".2\"/>\n<path d=\"M12 20v-1h3v1h-3Z\" fill=\"#fff\" fill-opacity=\".2\"/>\n");
|
|
586
|
-
},
|
|
587
|
-
'variant13': function variant13(components, colors) {
|
|
588
|
-
return "\n<path d=\"M3 20v-3h1v-1h12v1h1v3H3Z\" fill=\"".concat(colors.clothes.value, "\"/>\n");
|
|
589
|
-
},
|
|
590
|
-
'variant12': function variant12(components, colors) {
|
|
591
|
-
return "\n<path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M4 16v4h4v-1H7v-1H6v-1H5v-1H4Zm12 0v4h-4v-1h1v-1h1v-1h1v-1h1Z\" fill=\"".concat(colors.clothes.value, "\"/>\n");
|
|
592
|
-
},
|
|
593
|
-
'variant11': function variant11(components, colors) {
|
|
594
|
-
return "\n<path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M5 16h1v2h1v1h1v1H5v-4Zm9 0h1v4h-3v-1h1v-1h1v-2Z\" fill=\"".concat(colors.clothes.value, "\"/>\n");
|
|
595
|
-
},
|
|
596
|
-
'variant10': function variant10(components, colors) {
|
|
597
|
-
return "\n<path d=\"M4 20v-2h1v-1h1v-1h2v1h1v1h2v-1h1v-1h2v1h1v1h1v2H4Z\" fill=\"".concat(colors.clothes.value, "\"/>\n");
|
|
598
|
-
},
|
|
599
|
-
'variant09': function variant09(components, colors) {
|
|
600
|
-
return "\n<path d=\"M3 20v-3h1v-1h4v1h1v1h2v-1h1v-1h4v1h1v3H3Z\" fill=\"".concat(colors.clothes.value, "\"/>\n<path d=\"M3 20v-3h1v-1h2v1h1v1h1v1h4v-1h1v-1h1v-1h2v1h1v3H3Z\" fill=\"#fff\" fill-opacity=\".2\"/>\n");
|
|
601
|
-
},
|
|
602
|
-
'variant08': function variant08(components, colors) {
|
|
603
|
-
return "\n<path d=\"M3 20v-3h1v-1h5v1h2v-1h5v1h1v3H3Z\" fill=\"".concat(colors.clothes.value, "\"/>\n<path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M3 20v-2h1v1h3v1H3Zm14 0v-2h-1v1h-3v1h4Z\" fill=\"#fff\" fill-opacity=\".4\"/>\n<path d=\"M7 16H4v1H3v1h1v1h3v1h6v-1h3v-1h1v-1h-1v-1h-3v1H7v-1Z\" fill=\"#fff\" fill-opacity=\".2\"/>\n");
|
|
604
|
-
},
|
|
605
|
-
'variant07': function variant07(components, colors) {
|
|
606
|
-
return "\n<path d=\"M3 20v-3h1v-1h4v1h4v-1h4v1h1v3H3Z\" fill=\"".concat(colors.clothes.value, "\"/>\n<path d=\"M15 20h2v-3h-1v-1h-4v1H8v-1H4v1H3v3h2v-2h10v2Z\" fill=\"#fff\" fill-opacity=\".4\"/>\n");
|
|
607
|
-
},
|
|
608
|
-
'variant06': function variant06(components, colors) {
|
|
609
|
-
return "\n<path d=\"M3 20v-3h1v-1h4v1h1v1h2v-1h1v-1h4v1h1v3H3Z\" fill=\"".concat(colors.clothes.value, "\"/>\n<path d=\"M6 16v1h1v1h1v1h4v-1h1v-1h1v-1h-2v1h-1v1H9v-1H8v-1H6Z\" fill=\"#fff\" fill-opacity=\".4\"/>\n<path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M13 20v-1h2v1h-2Zm1-4v1h2v-1h-2Zm-8 0H4v1h2v-1Z\" fill=\"#fff\" fill-opacity=\".2\"/>\n");
|
|
610
|
-
},
|
|
611
|
-
'variant05': function variant05(components, colors) {
|
|
612
|
-
return "\n<path d=\"M3 20v-3h1v-1h3v1h1v1h1v1h2v-1h1v-1h1v-1h3v1h1v3H3Z\" fill=\"".concat(colors.clothes.value, "\"/>\n");
|
|
613
|
-
},
|
|
614
|
-
'variant04': function variant04(components, colors) {
|
|
615
|
-
return "\n<path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M3 20v-3h1v-1h2v1h1v1h1v1h1v1H3Zm14 0v-3h-1v-1h-2v1h-1v1h-1v1h-1v1h6Z\" fill=\"".concat(colors.clothes.value, "\"/>\n");
|
|
616
|
-
},
|
|
617
|
-
'variant03': function variant03(components, colors) {
|
|
618
|
-
return "\n<g fill=\"".concat(colors.clothes.value, "\">\n<path d=\"M4 16v4h4v-1H7v-1H6v-2H4ZM16 20v-4h-2v2h-1v1h-1v1h4Z\"/>\n</g>\n");
|
|
619
|
-
},
|
|
620
|
-
'variant02': function variant02(components, colors) {
|
|
621
|
-
return "\n<path d=\"M3 20v-3h1v-1h3v1h1v1h1v1h2v-1h1v-1h1v-1h3v1h1v3H3Z\" fill=\"".concat(colors.clothes.value, "\"/>\n<path d=\"M6 16v1h1v1h1v1h1v1h2v-1h1v-1h1v-1h1v-1h-1v1h-1v1h-1v1H9v-1H8v-1H7v-1H6Z\" fill=\"#fff\" fill-opacity=\".4\"/>\n<path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M15 16v1h-1v1h-1v1h-1v1h-1v-1h1v-1h1v-1h1v-1h1ZM5 16v1h1v1h1v1h1v1h1v-1H8v-1H7v-1H6v-1H5Z\" fill=\"#fff\" fill-opacity=\".2\"/>\n<path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M3 20h1v-3h1v1h1v1h1v1h1v-1H7v-1H6v-1H5v-1H4v1H3v3Zm14 0v-3h-1v-1h-1v1h-1v1h-1v1h-1v1h1v-1h1v-1h1v-1h1v3h1Z\" fill=\"#fff\" fill-opacity=\".1\"/>\n");
|
|
622
|
-
},
|
|
623
|
-
'variant01': function variant01(components, colors) {
|
|
624
|
-
return "\n<path d=\"M3 20v-3h1v-1h5v1h2v-1h5v1h1v3H3Z\" fill=\"".concat(colors.clothes.value, "\"/>\n<path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M3 17h14v1H3v-1Zm0 2v1h14v-1H3Z\" fill=\"#fff\" fill-opacity=\".2\"/>\n");
|
|
625
|
-
}
|
|
738
|
+
const clothing = {
|
|
739
|
+
variant25: (components, colors) => "\n<path d=\"M3 20v-3h1v-1h12v1h1v3H3Z\" fill=\"".concat(colors.clothes.value, "\"/>\n<path d=\"M5 20v-2h1v-1h8v1h1v2h-2v-1h-2v1H9v-1H7v1H5Z\" fill=\"#fff\" fill-opacity=\".2\"/>\n"),
|
|
740
|
+
variant24: (components, colors) => "\n<path d=\"M3 20v-3h1v-1h12v1h1v3H3Z\" fill=\"".concat(colors.clothes.value, "\"/>\n<path d=\"M8 16H4v1H3v3h14v-3h-1v-1h-4v1h1v1h-1v1h-1v-1H9v1H8v-1H7v-1h1v-1Z\" fill=\"#fff\" fill-opacity=\".2\"/>\n<path d=\"M9 16v1h2v-1H9Z\" fill=\"#fff\"/>\n"),
|
|
741
|
+
variant23: (components, colors) => "\n<path d=\"M3 20v-3h1v-1h12v1h1v3H3Z\" fill=\"".concat(colors.clothes.value, "\"/>\n<path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M9 16H4v1H3v3h6v-2H8v-1h1v-1Zm2 0h5v1h1v3h-6v-2h1v-1h-1v-1Z\" fill=\"#fff\" fill-opacity=\".3\"/>\n"),
|
|
742
|
+
variant22: (components, colors) => "\n<path d=\"M3 20v-3h1v-1h3v2h6v-2h3v1h1v3H3Z\" fill=\"".concat(colors.clothes.value, "\"/>\n<path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M5 16H4v1H3v3h2v-4Zm1 0h1v2h6v-2h1v4H6v-4Zm9 0h1v1h1v3h-2v-4Z\" fill=\"#fff\" fill-opacity=\".2\"/>\n"),
|
|
743
|
+
variant21: (components, colors) => "\n<path d=\"M3 20v-3h1v-1h4v1h1v1h2v-1h1v-1h4v1h1v3H3Z\" fill=\"".concat(colors.clothes.value, "\"/>\n<path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M4 17v-1h3v1H4Zm9 0v-1h3v1h-3Z\" fill=\"#fff\" fill-opacity=\".2\"/>\n"),
|
|
744
|
+
variant20: (components, colors) => "\n<path d=\"M3 20v-3h1v-1h3v-1h1v1h1v1h2v-1h1v-1h1v1h3v1h1v3H3Z\" fill=\"".concat(colors.clothes.value, "\"/>\n<path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M6 16H4v1H3v3h6v-2H8v-1H6v-1Zm2 0h1-1Zm3 0h1-1Zm2 0h1v1h-2v1h-1v2h6v-3h-1v-1h-3Z\" fill=\"#fff\" fill-opacity=\".2\"/>\n"),
|
|
745
|
+
variant19: (components, colors) => "\n<path d=\"M5 16H4v1H3v3h14v-3h-1v-1h-3v1H7v-1H5Z\" fill=\"".concat(colors.clothes.value, "\"/>\n<path d=\"M10 20v-1h3v1h-3Z\" fill=\"#fff\" fill-opacity=\".5\"/>\n<path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M5 16H4v1H3v3h1v-1h1v-3Zm1 0h1v1h6v-1h1v2H6v-2Zm9 0h1v1h1v3h-1v-1h-1v-3Z\" fill=\"#fff\" fill-opacity=\".8\"/>\n"),
|
|
746
|
+
variant18: (components, colors) => "\n<path d=\"M3 20v-3h1v-1h4v1h4v-1h4v1h1v3H3Z\" fill=\"".concat(colors.clothes.value, "\"/>\n<path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M3 20v-1h1v1H3Zm2 0v-1h1v1H5Zm2 0v-1h1v1H7Zm2 0v-1h1v1H9Zm2 0v-1h1v1h-1Zm2 0v-1h1v1h-1Zm2 0v-1h1v1h-1Zm1-2h1v1h-1v-1Zm-2 0h1v1h-1v-1Zm-2 0h1v1h-1v-1Zm-2 0h1v1h-1v-1Zm-2 0h1v1H8v-1Zm-2 0h1v1H6v-1Zm-2 0h1v1H4v-1Zm-1-1h1v1H3v-1Zm2 0h1v1H5v-1Zm2 0h1v1H7v-1Zm2 0h1v1H9v-1Zm2 0h1v1h-1v-1Zm2 0h1v1h-1v-1Zm2 0h1v1h-1v-1ZM4 16h1v1H4v-1Zm2 0h1v1H6v-1Zm6 0h1v1h-1v-1Zm2 0h1v1h-1v-1Z\" fill=\"#fff\" fill-opacity=\".2\"/>\n"),
|
|
747
|
+
variant17: (components, colors) => "\n<path d=\"M3 20v-3h1v-1h4v1h4v-1h4v1h1v3H3Z\" fill=\"".concat(colors.clothes.value, "\"/>\n<path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M3 20v-2h1v2H3Zm3 0v-2h2v2H6Zm4 0v-2h2v2h-2Zm4 0v-2h2v2h-2Zm2-3v1h1v-1h-1Zm-2 1v-2h-2v2h2Zm-6-1v1h2v-1H8Zm-4-1v2h2v-2H4Z\" fill=\"#fff\" fill-opacity=\".2\"/>\n"),
|
|
748
|
+
variant16: (components, colors) => "\n<path d=\"M3 20v-3h1v-1h4v1h4v-1h4v1h1v3H3Z\" fill=\"".concat(colors.clothes.value, "\"/>\n<path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M3 19h14v1H3v-1Zm0-2h14v1H3v-1Z\" fill=\"#fff\" fill-opacity=\".2\"/>\n"),
|
|
749
|
+
variant15: (components, colors) => "\n<path d=\"M3 20v-3h1v-1h4v1h4v-1h4v1h1v3H3Z\" fill=\"".concat(colors.clothes.value, "\"/>\n"),
|
|
750
|
+
variant14: (components, colors) => "\n<path d=\"M3 20v-3h1v-1h4v-1h4v1h4v1h1v3H3Z\" fill=\"".concat(colors.clothes.value, "\"/>\n<path d=\"M3 20v-3h1v-1h12v1h1v3H3Z\" fill=\"#fff\" fill-opacity=\".2\"/>\n<path d=\"M12 20v-1h3v1h-3Z\" fill=\"#fff\" fill-opacity=\".2\"/>\n"),
|
|
751
|
+
variant13: (components, colors) => "\n<path d=\"M3 20v-3h1v-1h12v1h1v3H3Z\" fill=\"".concat(colors.clothes.value, "\"/>\n"),
|
|
752
|
+
variant12: (components, colors) => "\n<path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M4 16v4h4v-1H7v-1H6v-1H5v-1H4Zm12 0v4h-4v-1h1v-1h1v-1h1v-1h1Z\" fill=\"".concat(colors.clothes.value, "\"/>\n"),
|
|
753
|
+
variant11: (components, colors) => "\n<path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M5 16h1v2h1v1h1v1H5v-4Zm9 0h1v4h-3v-1h1v-1h1v-2Z\" fill=\"".concat(colors.clothes.value, "\"/>\n"),
|
|
754
|
+
variant10: (components, colors) => "\n<path d=\"M4 20v-2h1v-1h1v-1h2v1h1v1h2v-1h1v-1h2v1h1v1h1v2H4Z\" fill=\"".concat(colors.clothes.value, "\"/>\n"),
|
|
755
|
+
variant09: (components, colors) => "\n<path d=\"M3 20v-3h1v-1h4v1h1v1h2v-1h1v-1h4v1h1v3H3Z\" fill=\"".concat(colors.clothes.value, "\"/>\n<path d=\"M3 20v-3h1v-1h2v1h1v1h1v1h4v-1h1v-1h1v-1h2v1h1v3H3Z\" fill=\"#fff\" fill-opacity=\".2\"/>\n"),
|
|
756
|
+
variant08: (components, colors) => "\n<path d=\"M3 20v-3h1v-1h5v1h2v-1h5v1h1v3H3Z\" fill=\"".concat(colors.clothes.value, "\"/>\n<path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M3 20v-2h1v1h3v1H3Zm14 0v-2h-1v1h-3v1h4Z\" fill=\"#fff\" fill-opacity=\".4\"/>\n<path d=\"M7 16H4v1H3v1h1v1h3v1h6v-1h3v-1h1v-1h-1v-1h-3v1H7v-1Z\" fill=\"#fff\" fill-opacity=\".2\"/>\n"),
|
|
757
|
+
variant07: (components, colors) => "\n<path d=\"M3 20v-3h1v-1h4v1h4v-1h4v1h1v3H3Z\" fill=\"".concat(colors.clothes.value, "\"/>\n<path d=\"M15 20h2v-3h-1v-1h-4v1H8v-1H4v1H3v3h2v-2h10v2Z\" fill=\"#fff\" fill-opacity=\".4\"/>\n"),
|
|
758
|
+
variant06: (components, colors) => "\n<path d=\"M3 20v-3h1v-1h4v1h1v1h2v-1h1v-1h4v1h1v3H3Z\" fill=\"".concat(colors.clothes.value, "\"/>\n<path d=\"M6 16v1h1v1h1v1h4v-1h1v-1h1v-1h-2v1h-1v1H9v-1H8v-1H6Z\" fill=\"#fff\" fill-opacity=\".4\"/>\n<path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M13 20v-1h2v1h-2Zm1-4v1h2v-1h-2Zm-8 0H4v1h2v-1Z\" fill=\"#fff\" fill-opacity=\".2\"/>\n"),
|
|
759
|
+
variant05: (components, colors) => "\n<path d=\"M3 20v-3h1v-1h3v1h1v1h1v1h2v-1h1v-1h1v-1h3v1h1v3H3Z\" fill=\"".concat(colors.clothes.value, "\"/>\n"),
|
|
760
|
+
variant04: (components, colors) => "\n<path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M3 20v-3h1v-1h2v1h1v1h1v1h1v1H3Zm14 0v-3h-1v-1h-2v1h-1v1h-1v1h-1v1h6Z\" fill=\"".concat(colors.clothes.value, "\"/>\n"),
|
|
761
|
+
variant03: (components, colors) => "\n<path d=\"M4 16v4h4v-1H7v-1H6v-2H4ZM16 20v-4h-2v2h-1v1h-1v1h4Z\" fill=\"".concat(colors.clothes.value, "\"/>\n"),
|
|
762
|
+
variant02: (components, colors) => "\n<path d=\"M3 20v-3h1v-1h3v1h1v1h1v1h2v-1h1v-1h1v-1h3v1h1v3H3Z\" fill=\"".concat(colors.clothes.value, "\"/>\n<path d=\"M6 16v1h1v1h1v1h1v1h2v-1h1v-1h1v-1h1v-1h-1v1h-1v1h-1v1H9v-1H8v-1H7v-1H6Z\" fill=\"#fff\" fill-opacity=\".4\"/>\n<path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M15 16v1h-1v1h-1v1h-1v1h-1v-1h1v-1h1v-1h1v-1h1ZM5 16v1h1v1h1v1h1v1h1v-1H8v-1H7v-1H6v-1H5Z\" fill=\"#fff\" fill-opacity=\".2\"/>\n<path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M3 20h1v-3h1v1h1v1h1v1h1v-1H7v-1H6v-1H5v-1H4v1H3v3Zm14 0v-3h-1v-1h-1v1h-1v1h-1v1h-1v1h1v-1h1v-1h1v-1h1v3h1Z\" fill=\"#fff\" fill-opacity=\".1\"/>\n"),
|
|
763
|
+
variant01: (components, colors) => "\n<path d=\"M3 20v-3h1v-1h5v1h2v-1h5v1h1v3H3Z\" fill=\"".concat(colors.clothes.value, "\"/>\n<path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M3 17h14v1H3v-1Zm0 2v1h14v-1H3Z\" fill=\"#fff\" fill-opacity=\".2\"/>\n")
|
|
626
764
|
};
|
|
627
765
|
|
|
628
766
|
var components = /*#__PURE__*/Object.freeze({
|
|
@@ -638,10 +776,14 @@ var components = /*#__PURE__*/Object.freeze({
|
|
|
638
776
|
clothing: clothing
|
|
639
777
|
});
|
|
640
778
|
|
|
641
|
-
function pickComponent(
|
|
642
|
-
|
|
643
|
-
|
|
644
|
-
|
|
779
|
+
function pickComponent(_ref) {
|
|
780
|
+
let {
|
|
781
|
+
prng,
|
|
782
|
+
group,
|
|
783
|
+
values = []
|
|
784
|
+
} = _ref;
|
|
785
|
+
const componentCollection = components;
|
|
786
|
+
const key = prng.pick(values);
|
|
645
787
|
|
|
646
788
|
if (componentCollection[group][key]) {
|
|
647
789
|
return {
|
|
@@ -653,77 +795,140 @@ function pickComponent(prng, group) {
|
|
|
653
795
|
}
|
|
654
796
|
}
|
|
655
797
|
|
|
656
|
-
|
|
657
|
-
|
|
658
|
-
|
|
659
|
-
|
|
660
|
-
|
|
661
|
-
|
|
662
|
-
|
|
663
|
-
|
|
664
|
-
|
|
798
|
+
function getComponents(_ref) {
|
|
799
|
+
let {
|
|
800
|
+
prng,
|
|
801
|
+
options
|
|
802
|
+
} = _ref;
|
|
803
|
+
const beardComponent = pickComponent({
|
|
804
|
+
prng,
|
|
805
|
+
group: 'beard',
|
|
806
|
+
values: options.beard
|
|
807
|
+
});
|
|
808
|
+
const eyesComponent = pickComponent({
|
|
809
|
+
prng,
|
|
810
|
+
group: 'eyes',
|
|
811
|
+
values: options.eyes
|
|
812
|
+
});
|
|
813
|
+
const eyebrowsComponent = pickComponent({
|
|
814
|
+
prng,
|
|
815
|
+
group: 'eyebrows',
|
|
816
|
+
values: options.eyebrows
|
|
817
|
+
});
|
|
818
|
+
const mouthComponent = pickComponent({
|
|
819
|
+
prng,
|
|
820
|
+
group: 'mouth',
|
|
821
|
+
values: options.mouth
|
|
822
|
+
});
|
|
823
|
+
const hairComponent = pickComponent({
|
|
824
|
+
prng,
|
|
825
|
+
group: 'hair',
|
|
826
|
+
values: options.hair
|
|
827
|
+
});
|
|
828
|
+
const accessoriesComponent = pickComponent({
|
|
829
|
+
prng,
|
|
830
|
+
group: 'accessories',
|
|
831
|
+
values: options.accessories
|
|
832
|
+
});
|
|
833
|
+
const glassesComponent = pickComponent({
|
|
834
|
+
prng,
|
|
835
|
+
group: 'glasses',
|
|
836
|
+
values: options.glasses
|
|
837
|
+
});
|
|
838
|
+
const hatComponent = pickComponent({
|
|
839
|
+
prng,
|
|
840
|
+
group: 'hat',
|
|
841
|
+
values: options.hat
|
|
842
|
+
});
|
|
843
|
+
const clothingComponent = pickComponent({
|
|
844
|
+
prng,
|
|
845
|
+
group: 'clothing',
|
|
846
|
+
values: options.clothing
|
|
847
|
+
});
|
|
848
|
+
return {
|
|
849
|
+
beard: prng.bool(options.beardProbability) ? beardComponent : undefined,
|
|
850
|
+
eyes: eyesComponent,
|
|
851
|
+
eyebrows: eyebrowsComponent,
|
|
852
|
+
mouth: mouthComponent,
|
|
853
|
+
hair: prng.bool(options.hairProbability) ? hairComponent : undefined,
|
|
854
|
+
accessories: prng.bool(options.accessoriesProbability) ? accessoriesComponent : undefined,
|
|
855
|
+
glasses: prng.bool(options.glassesProbability) ? glassesComponent : undefined,
|
|
856
|
+
hat: prng.bool(options.hatProbability) ? hatComponent : undefined,
|
|
857
|
+
clothing: clothingComponent
|
|
858
|
+
};
|
|
859
|
+
}
|
|
860
|
+
|
|
861
|
+
const skin = {
|
|
862
|
+
variant01: 'rgba(255, 219, 172, 1)',
|
|
863
|
+
variant02: 'rgba(245, 207, 160, 1)',
|
|
864
|
+
variant03: 'rgba(234, 195, 147, 1)',
|
|
865
|
+
variant04: 'rgba(224, 182, 135, 1)',
|
|
866
|
+
variant05: 'rgba(203, 158, 110, 1)',
|
|
867
|
+
variant06: 'rgba(182, 134, 85, 1)',
|
|
868
|
+
variant07: 'rgba(162, 109, 61, 1)',
|
|
869
|
+
variant08: 'rgba(141, 85, 36, 1)'
|
|
665
870
|
};
|
|
666
871
|
|
|
667
|
-
|
|
668
|
-
|
|
669
|
-
|
|
670
|
-
|
|
671
|
-
|
|
672
|
-
|
|
673
|
-
|
|
674
|
-
|
|
675
|
-
|
|
676
|
-
|
|
677
|
-
|
|
872
|
+
const hair = {
|
|
873
|
+
variant01: 'rgba(202, 177, 136, 1)',
|
|
874
|
+
variant02: 'rgba(167, 137, 97, 1)',
|
|
875
|
+
variant03: 'rgba(131, 98, 59, 1)',
|
|
876
|
+
variant04: 'rgba(96, 58, 20, 1)',
|
|
877
|
+
variant05: 'rgba(96, 48, 21, 1)',
|
|
878
|
+
variant06: 'rgba(97, 38, 22, 1)',
|
|
879
|
+
variant07: 'rgba(97, 28, 23, 1)',
|
|
880
|
+
variant08: 'rgba(78, 26, 19, 1)',
|
|
881
|
+
variant09: 'rgba(59, 23, 14, 1)',
|
|
882
|
+
variant10: 'rgba(40, 21, 10, 1)'
|
|
678
883
|
};
|
|
679
884
|
|
|
680
|
-
|
|
681
|
-
|
|
682
|
-
|
|
683
|
-
|
|
684
|
-
|
|
685
|
-
|
|
885
|
+
const accessories = {
|
|
886
|
+
gold01: 'rgba(218, 165, 32, 1)',
|
|
887
|
+
gold02: 'rgba(255, 215, 0, 1)',
|
|
888
|
+
gold03: 'rgba(250, 250, 210, 1)',
|
|
889
|
+
silver01: 'rgba(211, 211, 211, 1)',
|
|
890
|
+
silver02: 'rgba(169, 169, 169, 1)'
|
|
686
891
|
};
|
|
687
892
|
|
|
688
|
-
|
|
689
|
-
|
|
690
|
-
|
|
691
|
-
|
|
692
|
-
|
|
893
|
+
const mouth = {
|
|
894
|
+
variant01: 'rgba(210, 153, 133, 1)',
|
|
895
|
+
variant02: 'rgba(201, 130, 118, 1)',
|
|
896
|
+
variant03: 'rgba(227, 93, 106, 1)',
|
|
897
|
+
variant04: 'rgba(222, 15, 13, 1)'
|
|
693
898
|
};
|
|
694
899
|
|
|
695
|
-
|
|
696
|
-
|
|
697
|
-
|
|
698
|
-
|
|
699
|
-
|
|
700
|
-
|
|
701
|
-
|
|
702
|
-
|
|
703
|
-
|
|
704
|
-
|
|
705
|
-
|
|
706
|
-
|
|
707
|
-
|
|
900
|
+
const clothes = {
|
|
901
|
+
yellow01: 'rgba(255, 238, 173, 1)',
|
|
902
|
+
yellow02: 'rgba(255, 217, 105, 1)',
|
|
903
|
+
yellow03: 'rgba(255, 196, 37, 1)',
|
|
904
|
+
red01: 'rgba(255, 111, 105, 1)',
|
|
905
|
+
red02: 'rgba(209, 17, 65, 1)',
|
|
906
|
+
red03: 'rgba(174, 0, 1, 1)',
|
|
907
|
+
blue01: 'rgba(91, 192, 222, 1)',
|
|
908
|
+
blue02: 'rgba(66, 139, 202, 1)',
|
|
909
|
+
blue03: 'rgba(3, 57, 108, 1)',
|
|
910
|
+
green01: 'rgba(136, 216, 176, 1)',
|
|
911
|
+
green02: 'rgba(68, 197, 133, 1)',
|
|
912
|
+
green03: 'rgba(0, 177, 89, 1)'
|
|
708
913
|
};
|
|
709
914
|
|
|
710
|
-
|
|
711
|
-
|
|
712
|
-
|
|
713
|
-
|
|
714
|
-
|
|
715
|
-
|
|
716
|
-
|
|
717
|
-
|
|
915
|
+
const hat = {
|
|
916
|
+
pink01: 'rgba(204, 97, 146, 1)',
|
|
917
|
+
blue01: 'rgba(38, 99, 163, 1)',
|
|
918
|
+
green01: 'rgba(61, 138, 107, 1)',
|
|
919
|
+
purple01: 'rgba(97, 79, 138, 1)',
|
|
920
|
+
red01: 'rgba(166, 33, 22, 1)',
|
|
921
|
+
black01: 'rgba(46, 30, 5, 1)',
|
|
922
|
+
gray01: 'rgba(152, 151, 137, 1)'
|
|
718
923
|
};
|
|
719
924
|
|
|
720
|
-
|
|
721
|
-
|
|
722
|
-
|
|
723
|
-
|
|
724
|
-
|
|
725
|
-
|
|
726
|
-
|
|
925
|
+
const glasses = {
|
|
926
|
+
green01: 'rgba(95, 112, 92, 1)',
|
|
927
|
+
blue01: 'rgba(67, 103, 125, 1)',
|
|
928
|
+
red01: 'rgba(160, 75, 93, 1)',
|
|
929
|
+
black01: 'rgba(75, 75, 75, 1)',
|
|
930
|
+
black02: 'rgba(50, 50, 50, 1)',
|
|
931
|
+
black03: 'rgba(25, 25, 25, 1)'
|
|
727
932
|
};
|
|
728
933
|
|
|
729
934
|
var colors = /*#__PURE__*/Object.freeze({
|
|
@@ -737,37 +942,111 @@ var colors = /*#__PURE__*/Object.freeze({
|
|
|
737
942
|
glasses: glasses
|
|
738
943
|
});
|
|
739
944
|
|
|
740
|
-
function pickColor(
|
|
945
|
+
function pickColor(_ref) {
|
|
741
946
|
var _colorCollection$grou;
|
|
742
947
|
|
|
743
|
-
|
|
948
|
+
let {
|
|
949
|
+
prng,
|
|
950
|
+
group,
|
|
951
|
+
values = []
|
|
952
|
+
} = _ref;
|
|
953
|
+
const colorCollection = colors;
|
|
744
954
|
|
|
745
955
|
if (values.length === 0) {
|
|
746
956
|
values.push('transparent');
|
|
747
957
|
}
|
|
748
958
|
|
|
749
|
-
|
|
959
|
+
const key = prng.pick(values);
|
|
750
960
|
return {
|
|
751
961
|
name: key,
|
|
752
962
|
value: (_colorCollection$grou = colorCollection[group][key]) !== null && _colorCollection$grou !== void 0 ? _colorCollection$grou : key
|
|
753
963
|
};
|
|
754
964
|
}
|
|
755
965
|
|
|
756
|
-
function
|
|
757
|
-
|
|
758
|
-
|
|
759
|
-
|
|
966
|
+
function getColors(_ref) {
|
|
967
|
+
let {
|
|
968
|
+
prng,
|
|
969
|
+
options
|
|
970
|
+
} = _ref;
|
|
971
|
+
return {
|
|
972
|
+
skin: pickColor({
|
|
973
|
+
prng,
|
|
974
|
+
group: 'skin',
|
|
975
|
+
values: options.skinColor
|
|
976
|
+
}),
|
|
977
|
+
hair: pickColor({
|
|
978
|
+
prng,
|
|
979
|
+
group: 'hair',
|
|
980
|
+
values: options.hairColor
|
|
981
|
+
}),
|
|
982
|
+
accessories: pickColor({
|
|
983
|
+
prng,
|
|
984
|
+
group: 'accessories',
|
|
985
|
+
values: options.accessoriesColor
|
|
986
|
+
}),
|
|
987
|
+
mouth: pickColor({
|
|
988
|
+
prng,
|
|
989
|
+
group: 'mouth',
|
|
990
|
+
values: options.mouthColor
|
|
991
|
+
}),
|
|
992
|
+
clothes: pickColor({
|
|
993
|
+
prng,
|
|
994
|
+
group: 'clothes',
|
|
995
|
+
values: options.clothesColor
|
|
996
|
+
}),
|
|
997
|
+
hat: pickColor({
|
|
998
|
+
prng,
|
|
999
|
+
group: 'hat',
|
|
1000
|
+
values: options.hatColor
|
|
1001
|
+
}),
|
|
1002
|
+
glasses: pickColor({
|
|
1003
|
+
prng,
|
|
1004
|
+
group: 'glasses',
|
|
1005
|
+
values: options.glassesColor
|
|
1006
|
+
})
|
|
1007
|
+
};
|
|
760
1008
|
}
|
|
761
1009
|
|
|
762
|
-
|
|
763
|
-
|
|
764
|
-
|
|
765
|
-
|
|
766
|
-
|
|
767
|
-
|
|
768
|
-
|
|
1010
|
+
const dimensions = {
|
|
1011
|
+
beard: {
|
|
1012
|
+
width: 20,
|
|
1013
|
+
height: 20
|
|
1014
|
+
},
|
|
1015
|
+
eyes: {
|
|
1016
|
+
width: 20,
|
|
1017
|
+
height: 20
|
|
1018
|
+
},
|
|
1019
|
+
eyebrows: {
|
|
1020
|
+
width: 20,
|
|
1021
|
+
height: 20
|
|
1022
|
+
},
|
|
1023
|
+
mouth: {
|
|
1024
|
+
width: 20,
|
|
1025
|
+
height: 20
|
|
1026
|
+
},
|
|
1027
|
+
hair: {
|
|
1028
|
+
width: 20,
|
|
1029
|
+
height: 20
|
|
1030
|
+
},
|
|
1031
|
+
accessories: {
|
|
1032
|
+
width: 20,
|
|
1033
|
+
height: 20
|
|
1034
|
+
},
|
|
1035
|
+
glasses: {
|
|
1036
|
+
width: 20,
|
|
1037
|
+
height: 20
|
|
1038
|
+
},
|
|
1039
|
+
hat: {
|
|
1040
|
+
width: 20,
|
|
1041
|
+
height: 20
|
|
1042
|
+
},
|
|
1043
|
+
clothing: {
|
|
1044
|
+
width: 20,
|
|
1045
|
+
height: 20
|
|
1046
|
+
}
|
|
1047
|
+
};
|
|
769
1048
|
|
|
770
|
-
|
|
1049
|
+
const style = {
|
|
771
1050
|
meta: {
|
|
772
1051
|
title: 'Pixel Art',
|
|
773
1052
|
creator: 'Plastic Jam',
|
|
@@ -777,57 +1056,76 @@ var style = {
|
|
|
777
1056
|
}
|
|
778
1057
|
},
|
|
779
1058
|
schema: schema$1,
|
|
780
|
-
create:
|
|
781
|
-
var
|
|
782
|
-
|
|
783
|
-
|
|
784
|
-
|
|
785
|
-
|
|
786
|
-
|
|
787
|
-
|
|
1059
|
+
create: _ref => {
|
|
1060
|
+
var _components$beard$val, _components$beard, _components$eyes$valu, _components$eyes, _components$eyebrows$, _components$eyebrows, _components$mouth$val, _components$mouth, _components$hair$valu, _components$hair, _components$accessori, _components$accessori2, _components$glasses$v, _components$glasses, _components$hat$value, _components$hat, _components$clothing$, _components$clothing;
|
|
1061
|
+
|
|
1062
|
+
let {
|
|
1063
|
+
prng,
|
|
1064
|
+
options
|
|
1065
|
+
} = _ref;
|
|
1066
|
+
const components = getComponents({
|
|
1067
|
+
prng,
|
|
1068
|
+
options
|
|
788
1069
|
});
|
|
789
|
-
|
|
790
|
-
|
|
791
|
-
|
|
792
|
-
var mouthComponent = pickComponent(prng, 'mouth', options.mouth);
|
|
793
|
-
var hairComponent = pickComponent(prng, 'hair', options.hair);
|
|
794
|
-
var accessoriesComponent = pickComponent(prng, 'accessories', options.accessories);
|
|
795
|
-
var glassesComponent = pickComponent(prng, 'glasses', options.glasses);
|
|
796
|
-
var hatComponent = pickComponent(prng, 'hat', options.hat);
|
|
797
|
-
var clothingComponent = pickComponent(prng, 'clothing', options.clothing);
|
|
798
|
-
var components = {
|
|
799
|
-
'beard': prng.bool(options.beardProbability) ? beardComponent : undefined,
|
|
800
|
-
'eyes': eyesComponent,
|
|
801
|
-
'eyebrows': eyebrowsComponent,
|
|
802
|
-
'mouth': mouthComponent,
|
|
803
|
-
'hair': prng.bool(options.hairProbability) ? hairComponent : undefined,
|
|
804
|
-
'accessories': prng.bool(options.accessoriesProbability) ? accessoriesComponent : undefined,
|
|
805
|
-
'glasses': prng.bool(options.glassesProbability) ? glassesComponent : undefined,
|
|
806
|
-
'hat': prng.bool(options.hatProbability) ? hatComponent : undefined,
|
|
807
|
-
'clothing': clothingComponent
|
|
808
|
-
};
|
|
809
|
-
var colors = {
|
|
810
|
-
'skin': pickColor(prng, 'skin', (_options$skinColor = options.skinColor) !== null && _options$skinColor !== void 0 ? _options$skinColor : []),
|
|
811
|
-
'hair': pickColor(prng, 'hair', (_options$hairColor = options.hairColor) !== null && _options$hairColor !== void 0 ? _options$hairColor : []),
|
|
812
|
-
'accessories': pickColor(prng, 'accessories', (_options$accessoriesC = options.accessoriesColor) !== null && _options$accessoriesC !== void 0 ? _options$accessoriesC : []),
|
|
813
|
-
'mouth': pickColor(prng, 'mouth', (_options$mouthColor = options.mouthColor) !== null && _options$mouthColor !== void 0 ? _options$mouthColor : []),
|
|
814
|
-
'clothes': pickColor(prng, 'clothes', (_options$clothesColor = options.clothesColor) !== null && _options$clothesColor !== void 0 ? _options$clothesColor : []),
|
|
815
|
-
'hat': pickColor(prng, 'hat', (_options$hatColor = options.hatColor) !== null && _options$hatColor !== void 0 ? _options$hatColor : []),
|
|
816
|
-
'glasses': pickColor(prng, 'glasses', (_options$glassesColor = options.glassesColor) !== null && _options$glassesColor !== void 0 ? _options$glassesColor : [])
|
|
817
|
-
};
|
|
818
|
-
onPostCreate({
|
|
819
|
-
prng: prng,
|
|
820
|
-
options: options,
|
|
821
|
-
components: components,
|
|
822
|
-
colors: colors
|
|
1070
|
+
const colors = getColors({
|
|
1071
|
+
prng,
|
|
1072
|
+
options
|
|
823
1073
|
});
|
|
824
1074
|
return {
|
|
825
1075
|
attributes: {
|
|
826
1076
|
viewBox: '0 0 20 20',
|
|
827
|
-
fill: 'none'
|
|
1077
|
+
fill: 'none',
|
|
1078
|
+
'shape-rendering': 'auto'
|
|
828
1079
|
},
|
|
829
|
-
body: "\n<path d=\"M6 4V3h8v1h1v1h1v3h1v3h-1v2h-1v1h-1v1h-2v1h4v1h1v3H3v-3h1v-1h4v-1H6v-1H5v-1H4v-2H3V8h1V5h1V4h1Z\" fill=\"".concat(colors.skin.value, "\"/>\n<path d=\"M6 3v1H5v1H4v3H3v3h1v2h1v1h1v1h8v-1h1v-1h1v-2h1V8h-1V5h-1V4h-1V3H6Z\" fill=\"#fff\" fill-opacity=\".1\"/>\n
|
|
1080
|
+
body: "\n<path d=\"M6 4V3h8v1h1v1h1v3h1v3h-1v2h-1v1h-1v1h-2v1h4v1h1v3H3v-3h1v-1h4v-1H6v-1H5v-1H4v-2H3V8h1V5h1V4h1Z\" fill=\"".concat(colors.skin.value, "\"/>\n<path d=\"M6 3v1H5v1H4v3H3v3h1v2h1v1h1v1h8v-1h1v-1h1v-2h1V8h-1V5h-1V4h-1V3H6Z\" fill=\"#fff\" fill-opacity=\".1\"/>\n").concat((_components$beard$val = (_components$beard = components.beard) === null || _components$beard === void 0 ? void 0 : _components$beard.value(components, colors)) !== null && _components$beard$val !== void 0 ? _components$beard$val : '', "\n").concat((_components$eyes$valu = (_components$eyes = components.eyes) === null || _components$eyes === void 0 ? void 0 : _components$eyes.value(components, colors)) !== null && _components$eyes$valu !== void 0 ? _components$eyes$valu : '', "\n").concat((_components$eyebrows$ = (_components$eyebrows = components.eyebrows) === null || _components$eyebrows === void 0 ? void 0 : _components$eyebrows.value(components, colors)) !== null && _components$eyebrows$ !== void 0 ? _components$eyebrows$ : '', "\n").concat((_components$mouth$val = (_components$mouth = components.mouth) === null || _components$mouth === void 0 ? void 0 : _components$mouth.value(components, colors)) !== null && _components$mouth$val !== void 0 ? _components$mouth$val : '', "\n").concat((_components$hair$valu = (_components$hair = components.hair) === null || _components$hair === void 0 ? void 0 : _components$hair.value(components, colors)) !== null && _components$hair$valu !== void 0 ? _components$hair$valu : '', "\n").concat((_components$accessori = (_components$accessori2 = components.accessories) === null || _components$accessori2 === void 0 ? void 0 : _components$accessori2.value(components, colors)) !== null && _components$accessori !== void 0 ? _components$accessori : '', "\n").concat((_components$glasses$v = (_components$glasses = components.glasses) === null || _components$glasses === void 0 ? void 0 : _components$glasses.value(components, colors)) !== null && _components$glasses$v !== void 0 ? _components$glasses$v : '', "\n").concat((_components$hat$value = (_components$hat = components.hat) === null || _components$hat === void 0 ? void 0 : _components$hat.value(components, colors)) !== null && _components$hat$value !== void 0 ? _components$hat$value : '', "\n").concat((_components$clothing$ = (_components$clothing = components.clothing) === null || _components$clothing === void 0 ? void 0 : _components$clothing.value(components, colors)) !== null && _components$clothing$ !== void 0 ? _components$clothing$ : '', "\n")
|
|
830
1081
|
};
|
|
1082
|
+
},
|
|
1083
|
+
preview: _ref2 => {
|
|
1084
|
+
let {
|
|
1085
|
+
prng,
|
|
1086
|
+
options,
|
|
1087
|
+
property
|
|
1088
|
+
} = _ref2;
|
|
1089
|
+
const componentGroup = property.toString();
|
|
1090
|
+
const colorGroup = property.toString().replace(/Color$/, '');
|
|
1091
|
+
const components = getComponents({
|
|
1092
|
+
prng,
|
|
1093
|
+
options
|
|
1094
|
+
});
|
|
1095
|
+
const colors = getColors({
|
|
1096
|
+
prng,
|
|
1097
|
+
options
|
|
1098
|
+
});
|
|
1099
|
+
|
|
1100
|
+
if (componentGroup in components) {
|
|
1101
|
+
var _components$component, _components$component2;
|
|
1102
|
+
|
|
1103
|
+
const {
|
|
1104
|
+
width,
|
|
1105
|
+
height
|
|
1106
|
+
} = dimensions[componentGroup];
|
|
1107
|
+
return {
|
|
1108
|
+
attributes: {
|
|
1109
|
+
viewBox: "0 0 ".concat(width, " ").concat(height),
|
|
1110
|
+
fill: 'none',
|
|
1111
|
+
'shape-rendering': 'auto'
|
|
1112
|
+
},
|
|
1113
|
+
body: (_components$component = (_components$component2 = components[componentGroup]) === null || _components$component2 === void 0 ? void 0 : _components$component2.value(components, colors)) !== null && _components$component !== void 0 ? _components$component : ''
|
|
1114
|
+
};
|
|
1115
|
+
}
|
|
1116
|
+
|
|
1117
|
+
if (colorGroup in colors) {
|
|
1118
|
+
return {
|
|
1119
|
+
attributes: {
|
|
1120
|
+
viewBox: "0 0 1 1",
|
|
1121
|
+
fill: 'none',
|
|
1122
|
+
'shape-rendering': 'auto'
|
|
1123
|
+
},
|
|
1124
|
+
body: "<rect width=\"1\" height=\"1\" fill=\"".concat(colors[colorGroup].value, "\" />")
|
|
1125
|
+
};
|
|
1126
|
+
}
|
|
1127
|
+
|
|
1128
|
+
return undefined;
|
|
831
1129
|
}
|
|
832
1130
|
};
|
|
833
1131
|
|
|
@@ -836,18 +1134,19 @@ var style = {
|
|
|
836
1134
|
*
|
|
837
1135
|
* Code licensed under MIT License.
|
|
838
1136
|
* Copyright (c) 2021 Florian Körner
|
|
1137
|
+
* Copyright (c) 2021 Plastic Jam
|
|
839
1138
|
*
|
|
840
|
-
* Design "
|
|
1139
|
+
* Design "Pixel Art" by Plastic Jam licensed under MIT.
|
|
841
1140
|
* License: https://github.com/dicebear/dicebear/blob/main/packages/%40dicebear/pixel-art/LICENSE
|
|
842
1141
|
*/
|
|
843
|
-
|
|
844
|
-
|
|
845
|
-
|
|
846
|
-
|
|
847
|
-
|
|
848
|
-
|
|
1142
|
+
let {
|
|
1143
|
+
create,
|
|
1144
|
+
preview,
|
|
1145
|
+
meta,
|
|
1146
|
+
schema
|
|
1147
|
+
} = style;
|
|
849
1148
|
|
|
850
1149
|
exports.create = create;
|
|
851
|
-
exports['default'] = index;
|
|
852
1150
|
exports.meta = meta;
|
|
1151
|
+
exports.preview = preview;
|
|
853
1152
|
exports.schema = schema;
|