@dicebear/pixel-art-neutral 4.9.0 → 4.10.2

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.
File without changes
package/dist/index.d.ts CHANGED
@@ -4,7 +4,7 @@
4
4
  * Code licensed under MIT License.
5
5
  * Copyright (c) 2021 Florian Körner
6
6
  *
7
- * Design "Pixel Art - Neutral" by Plastic Jam licensed under MIT.
7
+ * Design "8biticon" by Plastic Jam licensed under MIT.
8
8
  * License: https://github.com/dicebear/dicebear/blob/main/packages/%40dicebear/pixel-art-neutral/LICENSE
9
9
  */
10
10
  declare let create: import("@dicebear/avatars").StyleCreate<import("./options").Options>, meta: import("@dicebear/avatars").StyleMeta, schema: import("json-schema").JSONSchema7;
package/dist/index.es.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import { utils } from '@dicebear/avatars';
2
2
 
3
- var schema$1 = {
3
+ const schema$1 = {
4
4
  "title": "Options",
5
5
  "$schema": "http://json-schema.org/draft-07/schema#",
6
6
  "properties": {
@@ -115,175 +115,69 @@ var schema$1 = {
115
115
  "additionalProperties": false
116
116
  };
117
117
 
118
- var eyes = {
119
- 'variant13': function variant13(components, colors) {
120
- return "\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";
121
- },
122
- 'variant12': function variant12(components, colors) {
123
- return "\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";
124
- },
125
- 'variant11': function variant11(components, colors) {
126
- return "\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";
127
- },
128
- 'variant10': function variant10(components, colors) {
129
- return "\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";
130
- },
131
- 'variant09': function variant09(components, colors) {
132
- 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";
133
- },
134
- 'variant08': function variant08(components, colors) {
135
- 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";
136
- },
137
- 'variant07': function variant07(components, colors) {
138
- 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";
139
- },
140
- 'variant06': function variant06(components, colors) {
141
- 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";
142
- },
143
- 'variant05': function variant05(components, colors) {
144
- 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";
145
- },
146
- 'variant04': function variant04(components, colors) {
147
- 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";
148
- },
149
- 'variant03': function variant03(components, colors) {
150
- 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";
151
- },
152
- 'variant02': function variant02(components, colors) {
153
- 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";
154
- },
155
- 'variant01': function variant01(components, colors) {
156
- 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";
157
- }
118
+ const eyes = {
119
+ '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",
120
+ '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",
121
+ '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",
122
+ '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",
123
+ '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",
124
+ '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",
125
+ '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",
126
+ '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",
127
+ '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",
128
+ '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",
129
+ '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",
130
+ '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",
131
+ '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"
158
132
  };
159
133
 
160
- var eyebrows = {
161
- 'variant13': function variant13(components, colors) {
162
- return "\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");
163
- },
164
- 'variant12': function variant12(components, colors) {
165
- return "\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");
166
- },
167
- 'variant11': function variant11(components, colors) {
168
- return "\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");
169
- },
170
- 'variant10': function variant10(components, colors) {
171
- return "\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");
172
- },
173
- 'variant09': function variant09(components, colors) {
174
- 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");
175
- },
176
- 'variant08': function variant08(components, colors) {
177
- 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");
178
- },
179
- 'variant07': function variant07(components, colors) {
180
- 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");
181
- },
182
- 'variant06': function variant06(components, colors) {
183
- 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");
184
- },
185
- 'variant05': function variant05(components, colors) {
186
- 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");
187
- },
188
- 'variant04': function variant04(components, colors) {
189
- 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");
190
- },
191
- 'variant03': function variant03(components, colors) {
192
- 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");
193
- },
194
- 'variant02': function variant02(components, colors) {
195
- 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");
196
- },
197
- 'variant01': function variant01(components, colors) {
198
- 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");
199
- }
134
+ const eyebrows = {
135
+ '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"),
136
+ '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"),
137
+ '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"),
138
+ '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"),
139
+ '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"),
140
+ '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"),
141
+ '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"),
142
+ '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"),
143
+ '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"),
144
+ '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"),
145
+ '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"),
146
+ '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"),
147
+ '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")
200
148
  };
201
149
 
202
- var mouth$1 = {
203
- 'surprised03': function surprised03(components, colors) {
204
- return "\n<path d=\"M9 12v2h2v-2H9Z\" fill=\"".concat(colors.mouth.value, "\"/>\n");
205
- },
206
- 'surprised02': function surprised02(components, colors) {
207
- return "\n<path d=\"M9 13v1h1v-1H9Z\" fill=\"".concat(colors.mouth.value, "\"/>\n");
208
- },
209
- 'happy09': function happy09(components, colors) {
210
- return "\n<path d=\"M7 12v1h1v1h4v-1H8v-1H7Z\" fill=\"".concat(colors.mouth.value, "\"/>\n");
211
- },
212
- 'happy08': function happy08(components, colors) {
213
- return "\n<path d=\"M10 12v1H9v1h2v-2h-1Z\" fill=\"".concat(colors.mouth.value, "\"/>\n");
214
- },
215
- 'happy07': function happy07(components, colors) {
216
- return "\n<path d=\"M8 13v1h4v-1h1v-1h-1v1H8Z\" fill=\"".concat(colors.mouth.value, "\"/>\n");
217
- },
218
- 'happy06': function happy06(components, colors) {
219
- return "\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");
220
- },
221
- 'happy05': function happy05(components, colors) {
222
- return "\n<path d=\"M8 12v1h1v1h2v-1h1v-1H8Z\" fill=\"".concat(colors.mouth.value, "\"/>\n");
223
- },
224
- 'happy04': function happy04(components, colors) {
225
- return "\n<path d=\"M9 13v1h2v-1h1v-1h-1v1H9Z\" fill=\"".concat(colors.mouth.value, "\"/>\n");
226
- },
227
- 'happy03': function happy03(components, colors) {
228
- return "\n<path d=\"M8 12v1h1v1h2v-1H9v-1H8Z\" fill=\"".concat(colors.mouth.value, "\"/>\n");
229
- },
230
- 'happy02': function happy02(components, colors) {
231
- return "\n<path d=\"M8 12v1h1v1h2v-1h1v-1h-1v-1H9v1H8Z\" fill=\"".concat(colors.mouth.value, "\"/>\n<path d=\"M9 12v1h2v-1H9Z\" fill=\"#fff\"/>\n");
232
- },
233
- 'happy01': function happy01(components, colors) {
234
- 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");
235
- },
236
- 'sad08': function sad08(components, colors) {
237
- return "\n<path d=\"M9 12v1H8v1h4v-1h-1v-1H9Z\" fill=\"".concat(colors.mouth.value, "\"/>\n");
238
- },
239
- 'sad07': function sad07(components, colors) {
240
- return "\n<path d=\"M11 12v1H9v1H8v-1h1v-1h2Z\" fill=\"".concat(colors.mouth.value, "\"/>\n");
241
- },
242
- 'sad06': function sad06(components, colors) {
243
- return "\n<path d=\"M8 12h3v1H8v-1Z\" fill=\"".concat(colors.mouth.value, "\"/>\n");
244
- },
245
- 'sad05': function sad05(components, colors) {
246
- return "\n<path d=\"M8 12h4v1H8v-1Z\" fill=\"".concat(colors.mouth.value, "\"/>\n");
247
- },
248
- 'sad04': function sad04(components, colors) {
249
- return "\n<path d=\"M9 12h2v1H9v-1Z\" fill=\"".concat(colors.mouth.value, "\"/>\n");
250
- },
251
- 'sad03': function sad03(components, colors) {
252
- return "\n<path d=\"M8 12v1h3v1h1v-1h-1v-1H8Z\" fill=\"".concat(colors.mouth.value, "\"/>\n");
253
- },
254
- 'sad02': function sad02(components, colors) {
255
- return "\n<path d=\"M8 13v1h1v-1h3v-1H9v1H8Z\" fill=\"".concat(colors.mouth.value, "\"/>\n");
256
- },
257
- 'sad01': function sad01(components, colors) {
258
- return "\n<path d=\"M10 12v1h1v1h1v-2h-2Z\" fill=\"".concat(colors.mouth.value, "\"/>\n");
259
- },
260
- 'surprised01': function surprised01(components, colors) {
261
- return "\n<path d=\"M8 12v2h4v-2H8Z\" fill=\"#fff\"/>\n";
262
- }
150
+ const mouth$1 = {
151
+ 'surprised03': (components, colors) => "\n<path d=\"M9 12v2h2v-2H9Z\" fill=\"".concat(colors.mouth.value, "\"/>\n"),
152
+ 'surprised02': (components, colors) => "\n<path d=\"M9 13v1h1v-1H9Z\" fill=\"".concat(colors.mouth.value, "\"/>\n"),
153
+ 'happy09': (components, colors) => "\n<path d=\"M7 12v1h1v1h4v-1H8v-1H7Z\" fill=\"".concat(colors.mouth.value, "\"/>\n"),
154
+ 'happy08': (components, colors) => "\n<path d=\"M10 12v1H9v1h2v-2h-1Z\" fill=\"".concat(colors.mouth.value, "\"/>\n"),
155
+ 'happy07': (components, colors) => "\n<path d=\"M8 13v1h4v-1h1v-1h-1v1H8Z\" fill=\"".concat(colors.mouth.value, "\"/>\n"),
156
+ '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"),
157
+ 'happy05': (components, colors) => "\n<path d=\"M8 12v1h1v1h2v-1h1v-1H8Z\" fill=\"".concat(colors.mouth.value, "\"/>\n"),
158
+ 'happy04': (components, colors) => "\n<path d=\"M9 13v1h2v-1h1v-1h-1v1H9Z\" fill=\"".concat(colors.mouth.value, "\"/>\n"),
159
+ 'happy03': (components, colors) => "\n<path d=\"M8 12v1h1v1h2v-1H9v-1H8Z\" fill=\"".concat(colors.mouth.value, "\"/>\n"),
160
+ '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"),
161
+ '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"),
162
+ 'sad08': (components, colors) => "\n<path d=\"M9 12v1H8v1h4v-1h-1v-1H9Z\" fill=\"".concat(colors.mouth.value, "\"/>\n"),
163
+ 'sad07': (components, colors) => "\n<path d=\"M11 12v1H9v1H8v-1h1v-1h2Z\" fill=\"".concat(colors.mouth.value, "\"/>\n"),
164
+ 'sad06': (components, colors) => "\n<path d=\"M8 12h3v1H8v-1Z\" fill=\"".concat(colors.mouth.value, "\"/>\n"),
165
+ 'sad05': (components, colors) => "\n<path d=\"M8 12h4v1H8v-1Z\" fill=\"".concat(colors.mouth.value, "\"/>\n"),
166
+ 'sad04': (components, colors) => "\n<path d=\"M9 12h2v1H9v-1Z\" fill=\"".concat(colors.mouth.value, "\"/>\n"),
167
+ 'sad03': (components, colors) => "\n<path d=\"M8 12v1h3v1h1v-1h-1v-1H8Z\" fill=\"".concat(colors.mouth.value, "\"/>\n"),
168
+ 'sad02': (components, colors) => "\n<path d=\"M8 13v1h1v-1h3v-1H9v1H8Z\" fill=\"".concat(colors.mouth.value, "\"/>\n"),
169
+ 'sad01': (components, colors) => "\n<path d=\"M10 12v1h1v1h1v-2h-2Z\" fill=\"".concat(colors.mouth.value, "\"/>\n"),
170
+ 'surprised01': (components, colors) => "\n<path d=\"M8 12v2h4v-2H8Z\" fill=\"#fff\"/>\n"
263
171
  };
264
172
 
265
- var glasses$1 = {
266
- 'variant07': function variant07(components, colors) {
267
- return "\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-4v1H9l-.036-1H4v1H3v1h1v3h5V8h2v3h5V8h1V7h-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");
268
- },
269
- 'variant06': function variant06(components, colors) {
270
- 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=\"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");
271
- },
272
- 'variant05': function variant05(components, colors) {
273
- 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");
274
- },
275
- 'variant04': function variant04(components, colors) {
276
- 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");
277
- },
278
- 'variant03': function variant03(components, colors) {
279
- 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");
280
- },
281
- 'variant02': function variant02(components, colors) {
282
- 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");
283
- },
284
- 'variant01': function variant01(components, colors) {
285
- 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");
286
- }
173
+ const glasses$1 = {
174
+ '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-4v1H9l-.036-1H4v1H3v1h1v3h5V8h2v3h5V8h1V7h-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"),
175
+ '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"),
176
+ '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"),
177
+ '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"),
178
+ '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"),
179
+ '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"),
180
+ '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")
287
181
  };
288
182
 
289
183
  var components = /*#__PURE__*/Object.freeze({
@@ -295,9 +189,9 @@ var components = /*#__PURE__*/Object.freeze({
295
189
  });
296
190
 
297
191
  function pickComponent(prng, group) {
298
- var values = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : [];
299
- var componentCollection = components;
300
- var key = prng.pick(values);
192
+ let values = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : [];
193
+ const componentCollection = components;
194
+ const key = prng.pick(values);
301
195
 
302
196
  if (componentCollection[group][key]) {
303
197
  return {
@@ -309,7 +203,7 @@ function pickComponent(prng, group) {
309
203
  }
310
204
  }
311
205
 
312
- var skin = {
206
+ const skin = {
313
207
  'variant01': 'rgba(255, 219, 172, 1)',
314
208
  'variant02': 'rgba(245, 207, 160, 1)',
315
209
  'variant03': 'rgba(234, 195, 147, 1)',
@@ -320,7 +214,7 @@ var skin = {
320
214
  'variant08': 'rgba(141, 85, 36, 1)'
321
215
  };
322
216
 
323
- var hair = {
217
+ const hair = {
324
218
  'variant01': 'rgba(202, 177, 136, 1)',
325
219
  'variant02': 'rgba(167, 137, 97, 1)',
326
220
  'variant03': 'rgba(131, 98, 59, 1)',
@@ -333,14 +227,14 @@ var hair = {
333
227
  'variant10': 'rgba(40, 21, 10, 1)'
334
228
  };
335
229
 
336
- var mouth = {
230
+ const mouth = {
337
231
  'variant01': 'rgba(210, 153, 133, 1)',
338
232
  'variant02': 'rgba(201, 130, 118, 1)',
339
233
  'variant03': 'rgba(227, 93, 106, 1)',
340
234
  'variant04': 'rgba(222, 15, 13, 1)'
341
235
  };
342
236
 
343
- var glasses = {
237
+ const glasses = {
344
238
  'green01': 'rgba(95, 112, 92, 1)',
345
239
  'blue01': 'rgba(67, 103, 125, 1)',
346
240
  'red01': 'rgba(160, 75, 93, 1)',
@@ -360,20 +254,20 @@ var colors = /*#__PURE__*/Object.freeze({
360
254
  function pickColor(prng, group, values) {
361
255
  var _colorCollection$grou;
362
256
 
363
- var colorCollection = colors;
257
+ const colorCollection = colors;
364
258
 
365
259
  if (values.length === 0) {
366
260
  values.push('transparent');
367
261
  }
368
262
 
369
- var key = prng.pick(values);
263
+ const key = prng.pick(values);
370
264
  return {
371
265
  name: key,
372
266
  value: (_colorCollection$grou = colorCollection[group][key]) !== null && _colorCollection$grou !== void 0 ? _colorCollection$grou : key
373
267
  };
374
268
  }
375
269
 
376
- var style = {
270
+ const style = {
377
271
  meta: {
378
272
  title: 'Pixel Art - Neutral',
379
273
  creator: 'Plastic Jam',
@@ -383,27 +277,29 @@ var style = {
383
277
  }
384
278
  },
385
279
  schema: schema$1,
386
- create: function create(_ref) {
280
+ create: _ref => {
387
281
  var _options$hairColor, _options$mouthColor, _options$glassesColor, _components$eyes$valu, _components$eyes, _components$eyebrows$, _components$eyebrows, _components$mouth$val, _components$mouth, _components$glasses$v, _components$glasses;
388
282
 
389
- var prng = _ref.prng,
390
- options = _ref.options;
391
- var eyesComponent = pickComponent(prng, 'eyes', options.eyes);
392
- var eyebrowsComponent = pickComponent(prng, 'eyebrows', options.eyebrows);
393
- var mouthComponent = pickComponent(prng, 'mouth', options.mouth);
394
- var glassesComponent = pickComponent(prng, 'glasses', options.glasses);
395
- var components = {
283
+ let {
284
+ prng,
285
+ options
286
+ } = _ref;
287
+ const eyesComponent = pickComponent(prng, 'eyes', options.eyes);
288
+ const eyebrowsComponent = pickComponent(prng, 'eyebrows', options.eyebrows);
289
+ const mouthComponent = pickComponent(prng, 'mouth', options.mouth);
290
+ const glassesComponent = pickComponent(prng, 'glasses', options.glasses);
291
+ const components = {
396
292
  'eyes': eyesComponent,
397
293
  'eyebrows': eyebrowsComponent,
398
294
  'mouth': mouthComponent,
399
295
  'glasses': prng.bool(options.glassesProbability) ? glassesComponent : undefined
400
296
  };
401
- var colors = {
297
+ const colors = {
402
298
  'hair': pickColor(prng, 'hair', (_options$hairColor = options.hairColor) !== null && _options$hairColor !== void 0 ? _options$hairColor : []),
403
299
  'mouth': pickColor(prng, 'mouth', (_options$mouthColor = options.mouthColor) !== null && _options$mouthColor !== void 0 ? _options$mouthColor : []),
404
300
  'glasses': pickColor(prng, 'glasses', (_options$glassesColor = options.glassesColor) !== null && _options$glassesColor !== void 0 ? _options$glassesColor : [])
405
301
  };
406
- var backgroundColor = typeof options.backgroundColor === 'string' ? [options.backgroundColor] : options.backgroundColor;
302
+ const backgroundColor = typeof options.backgroundColor === 'string' ? [options.backgroundColor] : options.backgroundColor;
407
303
  options.backgroundColor = pickColor(prng, 'skin', backgroundColor !== null && backgroundColor !== void 0 ? backgroundColor : []).value;
408
304
  return {
409
305
  attributes: {
@@ -421,12 +317,14 @@ var style = {
421
317
  * Code licensed under MIT License.
422
318
  * Copyright (c) 2021 Florian Körner
423
319
  *
424
- * Design "Pixel Art - Neutral" by Plastic Jam licensed under MIT.
320
+ * Design "8biticon" by Plastic Jam licensed under MIT.
425
321
  * License: https://github.com/dicebear/dicebear/blob/main/packages/%40dicebear/pixel-art-neutral/LICENSE
426
322
  */
427
- var create = style.create,
428
- meta = style.meta,
429
- schema = style.schema;
323
+ let {
324
+ create,
325
+ meta,
326
+ schema
327
+ } = style;
430
328
  /** @deprecated will be removed in Version 5.0 */
431
329
 
432
330
  var index = utils.style.createLegacyWrapper(style);
package/dist/index.js CHANGED
@@ -4,7 +4,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  var avatars = require('@dicebear/avatars');
6
6
 
7
- var schema$1 = {
7
+ const schema$1 = {
8
8
  "title": "Options",
9
9
  "$schema": "http://json-schema.org/draft-07/schema#",
10
10
  "properties": {
@@ -119,175 +119,69 @@ var schema$1 = {
119
119
  "additionalProperties": false
120
120
  };
121
121
 
122
- var eyes = {
123
- 'variant13': function variant13(components, colors) {
124
- return "\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";
125
- },
126
- 'variant12': function variant12(components, colors) {
127
- return "\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";
128
- },
129
- 'variant11': function variant11(components, colors) {
130
- return "\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";
131
- },
132
- 'variant10': function variant10(components, colors) {
133
- return "\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";
134
- },
135
- 'variant09': function variant09(components, colors) {
136
- 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";
137
- },
138
- 'variant08': function variant08(components, colors) {
139
- 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";
140
- },
141
- 'variant07': function variant07(components, colors) {
142
- 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";
143
- },
144
- 'variant06': function variant06(components, colors) {
145
- 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";
146
- },
147
- 'variant05': function variant05(components, colors) {
148
- 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";
149
- },
150
- 'variant04': function variant04(components, colors) {
151
- 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";
152
- },
153
- 'variant03': function variant03(components, colors) {
154
- 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";
155
- },
156
- 'variant02': function variant02(components, colors) {
157
- 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";
158
- },
159
- 'variant01': function variant01(components, colors) {
160
- 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";
161
- }
122
+ const eyes = {
123
+ '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",
124
+ '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",
125
+ '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",
126
+ '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",
127
+ '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",
128
+ '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",
129
+ '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",
130
+ '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",
131
+ '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",
132
+ '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",
133
+ '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",
134
+ '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",
135
+ '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"
162
136
  };
163
137
 
164
- var eyebrows = {
165
- 'variant13': function variant13(components, colors) {
166
- return "\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");
167
- },
168
- 'variant12': function variant12(components, colors) {
169
- return "\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");
170
- },
171
- 'variant11': function variant11(components, colors) {
172
- return "\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");
173
- },
174
- 'variant10': function variant10(components, colors) {
175
- return "\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");
176
- },
177
- 'variant09': function variant09(components, colors) {
178
- 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");
179
- },
180
- 'variant08': function variant08(components, colors) {
181
- 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");
182
- },
183
- 'variant07': function variant07(components, colors) {
184
- 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");
185
- },
186
- 'variant06': function variant06(components, colors) {
187
- 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");
188
- },
189
- 'variant05': function variant05(components, colors) {
190
- 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");
191
- },
192
- 'variant04': function variant04(components, colors) {
193
- 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");
194
- },
195
- 'variant03': function variant03(components, colors) {
196
- 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");
197
- },
198
- 'variant02': function variant02(components, colors) {
199
- 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");
200
- },
201
- 'variant01': function variant01(components, colors) {
202
- 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");
203
- }
138
+ const eyebrows = {
139
+ '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"),
140
+ '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"),
141
+ '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"),
142
+ '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"),
143
+ '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"),
144
+ '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"),
145
+ '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"),
146
+ '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"),
147
+ '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"),
148
+ '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"),
149
+ '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"),
150
+ '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"),
151
+ '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")
204
152
  };
205
153
 
206
- var mouth$1 = {
207
- 'surprised03': function surprised03(components, colors) {
208
- return "\n<path d=\"M9 12v2h2v-2H9Z\" fill=\"".concat(colors.mouth.value, "\"/>\n");
209
- },
210
- 'surprised02': function surprised02(components, colors) {
211
- return "\n<path d=\"M9 13v1h1v-1H9Z\" fill=\"".concat(colors.mouth.value, "\"/>\n");
212
- },
213
- 'happy09': function happy09(components, colors) {
214
- return "\n<path d=\"M7 12v1h1v1h4v-1H8v-1H7Z\" fill=\"".concat(colors.mouth.value, "\"/>\n");
215
- },
216
- 'happy08': function happy08(components, colors) {
217
- return "\n<path d=\"M10 12v1H9v1h2v-2h-1Z\" fill=\"".concat(colors.mouth.value, "\"/>\n");
218
- },
219
- 'happy07': function happy07(components, colors) {
220
- return "\n<path d=\"M8 13v1h4v-1h1v-1h-1v1H8Z\" fill=\"".concat(colors.mouth.value, "\"/>\n");
221
- },
222
- 'happy06': function happy06(components, colors) {
223
- return "\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");
224
- },
225
- 'happy05': function happy05(components, colors) {
226
- return "\n<path d=\"M8 12v1h1v1h2v-1h1v-1H8Z\" fill=\"".concat(colors.mouth.value, "\"/>\n");
227
- },
228
- 'happy04': function happy04(components, colors) {
229
- return "\n<path d=\"M9 13v1h2v-1h1v-1h-1v1H9Z\" fill=\"".concat(colors.mouth.value, "\"/>\n");
230
- },
231
- 'happy03': function happy03(components, colors) {
232
- return "\n<path d=\"M8 12v1h1v1h2v-1H9v-1H8Z\" fill=\"".concat(colors.mouth.value, "\"/>\n");
233
- },
234
- 'happy02': function happy02(components, colors) {
235
- return "\n<path d=\"M8 12v1h1v1h2v-1h1v-1h-1v-1H9v1H8Z\" fill=\"".concat(colors.mouth.value, "\"/>\n<path d=\"M9 12v1h2v-1H9Z\" fill=\"#fff\"/>\n");
236
- },
237
- 'happy01': function happy01(components, colors) {
238
- 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");
239
- },
240
- 'sad08': function sad08(components, colors) {
241
- return "\n<path d=\"M9 12v1H8v1h4v-1h-1v-1H9Z\" fill=\"".concat(colors.mouth.value, "\"/>\n");
242
- },
243
- 'sad07': function sad07(components, colors) {
244
- return "\n<path d=\"M11 12v1H9v1H8v-1h1v-1h2Z\" fill=\"".concat(colors.mouth.value, "\"/>\n");
245
- },
246
- 'sad06': function sad06(components, colors) {
247
- return "\n<path d=\"M8 12h3v1H8v-1Z\" fill=\"".concat(colors.mouth.value, "\"/>\n");
248
- },
249
- 'sad05': function sad05(components, colors) {
250
- return "\n<path d=\"M8 12h4v1H8v-1Z\" fill=\"".concat(colors.mouth.value, "\"/>\n");
251
- },
252
- 'sad04': function sad04(components, colors) {
253
- return "\n<path d=\"M9 12h2v1H9v-1Z\" fill=\"".concat(colors.mouth.value, "\"/>\n");
254
- },
255
- 'sad03': function sad03(components, colors) {
256
- return "\n<path d=\"M8 12v1h3v1h1v-1h-1v-1H8Z\" fill=\"".concat(colors.mouth.value, "\"/>\n");
257
- },
258
- 'sad02': function sad02(components, colors) {
259
- return "\n<path d=\"M8 13v1h1v-1h3v-1H9v1H8Z\" fill=\"".concat(colors.mouth.value, "\"/>\n");
260
- },
261
- 'sad01': function sad01(components, colors) {
262
- return "\n<path d=\"M10 12v1h1v1h1v-2h-2Z\" fill=\"".concat(colors.mouth.value, "\"/>\n");
263
- },
264
- 'surprised01': function surprised01(components, colors) {
265
- return "\n<path d=\"M8 12v2h4v-2H8Z\" fill=\"#fff\"/>\n";
266
- }
154
+ const mouth$1 = {
155
+ 'surprised03': (components, colors) => "\n<path d=\"M9 12v2h2v-2H9Z\" fill=\"".concat(colors.mouth.value, "\"/>\n"),
156
+ 'surprised02': (components, colors) => "\n<path d=\"M9 13v1h1v-1H9Z\" fill=\"".concat(colors.mouth.value, "\"/>\n"),
157
+ 'happy09': (components, colors) => "\n<path d=\"M7 12v1h1v1h4v-1H8v-1H7Z\" fill=\"".concat(colors.mouth.value, "\"/>\n"),
158
+ 'happy08': (components, colors) => "\n<path d=\"M10 12v1H9v1h2v-2h-1Z\" fill=\"".concat(colors.mouth.value, "\"/>\n"),
159
+ 'happy07': (components, colors) => "\n<path d=\"M8 13v1h4v-1h1v-1h-1v1H8Z\" fill=\"".concat(colors.mouth.value, "\"/>\n"),
160
+ '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"),
161
+ 'happy05': (components, colors) => "\n<path d=\"M8 12v1h1v1h2v-1h1v-1H8Z\" fill=\"".concat(colors.mouth.value, "\"/>\n"),
162
+ 'happy04': (components, colors) => "\n<path d=\"M9 13v1h2v-1h1v-1h-1v1H9Z\" fill=\"".concat(colors.mouth.value, "\"/>\n"),
163
+ 'happy03': (components, colors) => "\n<path d=\"M8 12v1h1v1h2v-1H9v-1H8Z\" fill=\"".concat(colors.mouth.value, "\"/>\n"),
164
+ '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"),
165
+ '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"),
166
+ 'sad08': (components, colors) => "\n<path d=\"M9 12v1H8v1h4v-1h-1v-1H9Z\" fill=\"".concat(colors.mouth.value, "\"/>\n"),
167
+ 'sad07': (components, colors) => "\n<path d=\"M11 12v1H9v1H8v-1h1v-1h2Z\" fill=\"".concat(colors.mouth.value, "\"/>\n"),
168
+ 'sad06': (components, colors) => "\n<path d=\"M8 12h3v1H8v-1Z\" fill=\"".concat(colors.mouth.value, "\"/>\n"),
169
+ 'sad05': (components, colors) => "\n<path d=\"M8 12h4v1H8v-1Z\" fill=\"".concat(colors.mouth.value, "\"/>\n"),
170
+ 'sad04': (components, colors) => "\n<path d=\"M9 12h2v1H9v-1Z\" fill=\"".concat(colors.mouth.value, "\"/>\n"),
171
+ 'sad03': (components, colors) => "\n<path d=\"M8 12v1h3v1h1v-1h-1v-1H8Z\" fill=\"".concat(colors.mouth.value, "\"/>\n"),
172
+ 'sad02': (components, colors) => "\n<path d=\"M8 13v1h1v-1h3v-1H9v1H8Z\" fill=\"".concat(colors.mouth.value, "\"/>\n"),
173
+ 'sad01': (components, colors) => "\n<path d=\"M10 12v1h1v1h1v-2h-2Z\" fill=\"".concat(colors.mouth.value, "\"/>\n"),
174
+ 'surprised01': (components, colors) => "\n<path d=\"M8 12v2h4v-2H8Z\" fill=\"#fff\"/>\n"
267
175
  };
268
176
 
269
- var glasses$1 = {
270
- 'variant07': function variant07(components, colors) {
271
- return "\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-4v1H9l-.036-1H4v1H3v1h1v3h5V8h2v3h5V8h1V7h-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");
272
- },
273
- 'variant06': function variant06(components, colors) {
274
- 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=\"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");
275
- },
276
- 'variant05': function variant05(components, colors) {
277
- 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");
278
- },
279
- 'variant04': function variant04(components, colors) {
280
- 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");
281
- },
282
- 'variant03': function variant03(components, colors) {
283
- 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");
284
- },
285
- 'variant02': function variant02(components, colors) {
286
- 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");
287
- },
288
- 'variant01': function variant01(components, colors) {
289
- 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");
290
- }
177
+ const glasses$1 = {
178
+ '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-4v1H9l-.036-1H4v1H3v1h1v3h5V8h2v3h5V8h1V7h-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"),
179
+ '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"),
180
+ '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"),
181
+ '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"),
182
+ '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"),
183
+ '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"),
184
+ '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")
291
185
  };
292
186
 
293
187
  var components = /*#__PURE__*/Object.freeze({
@@ -299,9 +193,9 @@ var components = /*#__PURE__*/Object.freeze({
299
193
  });
300
194
 
301
195
  function pickComponent(prng, group) {
302
- var values = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : [];
303
- var componentCollection = components;
304
- var key = prng.pick(values);
196
+ let values = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : [];
197
+ const componentCollection = components;
198
+ const key = prng.pick(values);
305
199
 
306
200
  if (componentCollection[group][key]) {
307
201
  return {
@@ -313,7 +207,7 @@ function pickComponent(prng, group) {
313
207
  }
314
208
  }
315
209
 
316
- var skin = {
210
+ const skin = {
317
211
  'variant01': 'rgba(255, 219, 172, 1)',
318
212
  'variant02': 'rgba(245, 207, 160, 1)',
319
213
  'variant03': 'rgba(234, 195, 147, 1)',
@@ -324,7 +218,7 @@ var skin = {
324
218
  'variant08': 'rgba(141, 85, 36, 1)'
325
219
  };
326
220
 
327
- var hair = {
221
+ const hair = {
328
222
  'variant01': 'rgba(202, 177, 136, 1)',
329
223
  'variant02': 'rgba(167, 137, 97, 1)',
330
224
  'variant03': 'rgba(131, 98, 59, 1)',
@@ -337,14 +231,14 @@ var hair = {
337
231
  'variant10': 'rgba(40, 21, 10, 1)'
338
232
  };
339
233
 
340
- var mouth = {
234
+ const mouth = {
341
235
  'variant01': 'rgba(210, 153, 133, 1)',
342
236
  'variant02': 'rgba(201, 130, 118, 1)',
343
237
  'variant03': 'rgba(227, 93, 106, 1)',
344
238
  'variant04': 'rgba(222, 15, 13, 1)'
345
239
  };
346
240
 
347
- var glasses = {
241
+ const glasses = {
348
242
  'green01': 'rgba(95, 112, 92, 1)',
349
243
  'blue01': 'rgba(67, 103, 125, 1)',
350
244
  'red01': 'rgba(160, 75, 93, 1)',
@@ -364,20 +258,20 @@ var colors = /*#__PURE__*/Object.freeze({
364
258
  function pickColor(prng, group, values) {
365
259
  var _colorCollection$grou;
366
260
 
367
- var colorCollection = colors;
261
+ const colorCollection = colors;
368
262
 
369
263
  if (values.length === 0) {
370
264
  values.push('transparent');
371
265
  }
372
266
 
373
- var key = prng.pick(values);
267
+ const key = prng.pick(values);
374
268
  return {
375
269
  name: key,
376
270
  value: (_colorCollection$grou = colorCollection[group][key]) !== null && _colorCollection$grou !== void 0 ? _colorCollection$grou : key
377
271
  };
378
272
  }
379
273
 
380
- var style = {
274
+ const style = {
381
275
  meta: {
382
276
  title: 'Pixel Art - Neutral',
383
277
  creator: 'Plastic Jam',
@@ -387,27 +281,29 @@ var style = {
387
281
  }
388
282
  },
389
283
  schema: schema$1,
390
- create: function create(_ref) {
284
+ create: _ref => {
391
285
  var _options$hairColor, _options$mouthColor, _options$glassesColor, _components$eyes$valu, _components$eyes, _components$eyebrows$, _components$eyebrows, _components$mouth$val, _components$mouth, _components$glasses$v, _components$glasses;
392
286
 
393
- var prng = _ref.prng,
394
- options = _ref.options;
395
- var eyesComponent = pickComponent(prng, 'eyes', options.eyes);
396
- var eyebrowsComponent = pickComponent(prng, 'eyebrows', options.eyebrows);
397
- var mouthComponent = pickComponent(prng, 'mouth', options.mouth);
398
- var glassesComponent = pickComponent(prng, 'glasses', options.glasses);
399
- var components = {
287
+ let {
288
+ prng,
289
+ options
290
+ } = _ref;
291
+ const eyesComponent = pickComponent(prng, 'eyes', options.eyes);
292
+ const eyebrowsComponent = pickComponent(prng, 'eyebrows', options.eyebrows);
293
+ const mouthComponent = pickComponent(prng, 'mouth', options.mouth);
294
+ const glassesComponent = pickComponent(prng, 'glasses', options.glasses);
295
+ const components = {
400
296
  'eyes': eyesComponent,
401
297
  'eyebrows': eyebrowsComponent,
402
298
  'mouth': mouthComponent,
403
299
  'glasses': prng.bool(options.glassesProbability) ? glassesComponent : undefined
404
300
  };
405
- var colors = {
301
+ const colors = {
406
302
  'hair': pickColor(prng, 'hair', (_options$hairColor = options.hairColor) !== null && _options$hairColor !== void 0 ? _options$hairColor : []),
407
303
  'mouth': pickColor(prng, 'mouth', (_options$mouthColor = options.mouthColor) !== null && _options$mouthColor !== void 0 ? _options$mouthColor : []),
408
304
  'glasses': pickColor(prng, 'glasses', (_options$glassesColor = options.glassesColor) !== null && _options$glassesColor !== void 0 ? _options$glassesColor : [])
409
305
  };
410
- var backgroundColor = typeof options.backgroundColor === 'string' ? [options.backgroundColor] : options.backgroundColor;
306
+ const backgroundColor = typeof options.backgroundColor === 'string' ? [options.backgroundColor] : options.backgroundColor;
411
307
  options.backgroundColor = pickColor(prng, 'skin', backgroundColor !== null && backgroundColor !== void 0 ? backgroundColor : []).value;
412
308
  return {
413
309
  attributes: {
@@ -425,17 +321,19 @@ var style = {
425
321
  * Code licensed under MIT License.
426
322
  * Copyright (c) 2021 Florian Körner
427
323
  *
428
- * Design "Pixel Art - Neutral" by Plastic Jam licensed under MIT.
324
+ * Design "8biticon" by Plastic Jam licensed under MIT.
429
325
  * License: https://github.com/dicebear/dicebear/blob/main/packages/%40dicebear/pixel-art-neutral/LICENSE
430
326
  */
431
- var create = style.create,
432
- meta = style.meta,
433
- schema = style.schema;
327
+ let {
328
+ create,
329
+ meta,
330
+ schema
331
+ } = style;
434
332
  /** @deprecated will be removed in Version 5.0 */
435
333
 
436
334
  var index = avatars.utils.style.createLegacyWrapper(style);
437
335
 
438
336
  exports.create = create;
439
- exports['default'] = index;
337
+ exports["default"] = index;
440
338
  exports.meta = meta;
441
339
  exports.schema = schema;
package/dist/index.umd.js CHANGED
@@ -1,10 +1,10 @@
1
- !function(a,n){"object"==typeof exports&&"undefined"!=typeof module?n(exports,require("@dicebear/avatars")):"function"==typeof define&&define.amd?define(["exports","@dicebear/avatars"],n):n(((a="undefined"!=typeof globalThis?globalThis:a||self).DiceBear=a.DiceBear||{},a.DiceBear.PixelArtNeutral={}),a.DiceBear)}(this,(function(a,n){"use strict";var h=Object.freeze({__proto__:null,eyes:{variant13:function(a,n){return'\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'},variant12:function(a,n){return'\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'},variant11:function(a,n){return'\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'},variant10:function(a,n){return'\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'},variant09:function(a,n){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'},variant08:function(a,n){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'},variant07:function(a,n){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'},variant06:function(a,n){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'},variant05:function(a,n){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'},variant04:function(a,n){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'},variant03:function(a,n){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'},variant02:function(a,n){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'},variant01:function(a,n){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'}},eyebrows:{variant13:function(a,n){return'\n<g fill-rule="evenodd" clip-rule="evenodd">\n<path d="M8 4v1H7v1H5V5h2V4h1Zm4 0h1v1h2v1h-2V5h-1V4Z" fill="'.concat(n.hair.value,'"/>\n<path d="M8 4v1H7v1H5V5h2V4h1Zm4 0h1v1h2v1h-2V5h-1V4Z" fill="#000" fill-opacity=".1"/>\n</g>\n')},variant12:function(a,n){return'\n<g fill-rule="evenodd" clip-rule="evenodd">\n<path d="M6 5h3v2H8V6H6V5Zm5 0h3v1h-2v1h-1V5Z" fill="'.concat(n.hair.value,'"/>\n<path d="M6 5h3v2H8V6H6V5Zm5 0h3v1h-2v1h-1V5Z" fill="#000" fill-opacity=".1"/>\n</g>\n')},variant11:function(a,n){return'\n<g fill-rule="evenodd" clip-rule="evenodd">\n<path d="M5 5h3v1h1v1H8V6H5V5Zm10 0h-3v1h-1v1h1V6h3V5Z" fill="'.concat(n.hair.value,'"/>\n<path d="M5 5h3v1h1v1H8V6H5V5Zm10 0h-3v1h-1v1h1V6h3V5Z" fill="#000" fill-opacity=".1"/>\n</g>\n')},variant10:function(a,n){return'\n<g fill-rule="evenodd" clip-rule="evenodd">\n<path d="M6 5H4v2h1V6h1V5Zm8 0h2v2h-1V6h-1V5Z" fill="'.concat(n.hair.value,'"/>\n<path d="M6 5H4v2h1V6h1V5Zm8 0h2v2h-1V6h-1V5Z" fill="#000" fill-opacity=".1"/>\n</g>\n')},variant09:function(a,n){return'\n<g fill-rule="evenodd" clip-rule="evenodd">\n<path d="M5 6h2v1H5V6Zm8 0h2v1h-2V6Z" fill="'.concat(n.hair.value,'"/>\n<path d="M5 6h2v1H5V6Zm8 0h2v1h-2V6Z" fill="#000" fill-opacity=".1"/>\n</g>\n')},variant08:function(a,n){return'\n<g fill-rule="evenodd" clip-rule="evenodd">\n<path d="M6 5h1v1h1v1H5V6h1V5Zm7 0h1v1h1v1h-3V6h1V5Z" fill="'.concat(n.hair.value,'"/>\n<path d="M6 5h1v1h1v1H5V6h1V5Zm7 0h1v1h1v1h-3V6h1V5Z" fill="#000" fill-opacity=".1"/>\n</g>\n')},variant07:function(a,n){return'\n<g fill-rule="evenodd" clip-rule="evenodd">\n<path d="M6 5h2v1h1v1H8V6H6V5Zm8 0h-2v1h-1v1h1V6h2V5Z" fill="'.concat(n.hair.value,'"/>\n<path d="M6 5h2v1h1v1H8V6H6V5Zm8 0h-2v1h-1v1h1V6h2V5Z" fill="#000" fill-opacity=".1"/>\n</g>\n')},variant06:function(a,n){return'\n<g fill-rule="evenodd" clip-rule="evenodd">\n<path d="M12 7V6h1V5h1v1h1v1h-1V6h-1v1h-1ZM5 7V6h1V5h1v1h1v1H7V6H6v1H5Z" fill="'.concat(n.hair.value,'"/>\n<path d="M12 7V6h1V5h1v1h1v1h-1V6h-1v1h-1ZM5 7V6h1V5h1v1h1v1H7V6H6v1H5Z" fill="#000" fill-opacity=".1"/>\n</g>\n')},variant05:function(a,n){return'\n<g fill-rule="evenodd" clip-rule="evenodd">\n<path d="M7 5v1H5v1H4V6h1V5h2Zm6 0h2v1h1v1h-1V6h-2V5Z" fill="'.concat(n.hair.value,'"/>\n<path d="M7 5v1H5v1H4V6h1V5h2Zm6 0h2v1h1v1h-1V6h-2V5Z" fill="#000" fill-opacity=".1"/>\n</g>\n')},variant04:function(a,n){return'\n<g fill-rule="evenodd" clip-rule="evenodd">\n<path d="M4 7V5h3v1H5v1H4Zm12-2v2h-1V6h-2V5h3Z" fill="'.concat(n.hair.value,'"/>\n<path d="M4 7V5h3v1H5v1H4Zm12-2v2h-1V6h-2V5h3Z" fill="#000" fill-opacity=".1"/>\n</g>\n')},variant03:function(a,n){return'\n<g fill-rule="evenodd" clip-rule="evenodd">\n<path d="M7 5h1v1h1v1H8V6H7V5Zm6 0v1h-1v1h-1V6h1V5h1Z" fill="'.concat(n.hair.value,'"/>\n<path d="M7 5h1v1h1v1H8V6H7V5Zm6 0v1h-1v1h-1V6h1V5h1Z" fill="#000" fill-opacity=".1"/>\n</g>\n')},variant02:function(a,n){return'\n<g fill-rule="evenodd" clip-rule="evenodd">\n<path d="M4 7V6h1V5h1v1H5v1H4Zm10-2h1v1h1v1h-1V6h-1V5Z" fill="'.concat(n.hair.value,'"/>\n<path d="M4 7V6h1V5h1v1H5v1H4Zm10-2h1v1h1v1h-1V6h-1V5Z" fill="#000" fill-opacity=".1"/>\n</g>\n')},variant01:function(a,n){return'\n<g fill-rule="evenodd" clip-rule="evenodd">\n<path d="M7 5v1H5v1H4V6h1V5h2Zm7 0v1h-2v1h-1V6h1V5h2Z" fill="'.concat(n.hair.value,'"/>\n<path d="M7 5v1H5v1H4V6h1V5h2Zm7 0v1h-2v1h-1V6h1V5h2Z" fill="#000" fill-opacity=".1"/>\n</g>\n')}},mouth:{surprised03:function(a,n){return'\n<path d="M9 12v2h2v-2H9Z" fill="'.concat(n.mouth.value,'"/>\n')},surprised02:function(a,n){return'\n<path d="M9 13v1h1v-1H9Z" fill="'.concat(n.mouth.value,'"/>\n')},happy09:function(a,n){return'\n<path d="M7 12v1h1v1h4v-1H8v-1H7Z" fill="'.concat(n.mouth.value,'"/>\n')},happy08:function(a,n){return'\n<path d="M10 12v1H9v1h2v-2h-1Z" fill="'.concat(n.mouth.value,'"/>\n')},happy07:function(a,n){return'\n<path d="M8 13v1h4v-1h1v-1h-1v1H8Z" fill="'.concat(n.mouth.value,'"/>\n')},happy06:function(a,n){return'\n<path d="M9 12v2h2v-1h-1v-1H9Z" fill="'.concat(n.mouth.value,'"/>\n<path d="M11 14v-1h-1v-1H9v1h1v1h1Z" fill="#fff" fill-opacity=".2"/>\n')},happy05:function(a,n){return'\n<path d="M8 12v1h1v1h2v-1h1v-1H8Z" fill="'.concat(n.mouth.value,'"/>\n')},happy04:function(a,n){return'\n<path d="M9 13v1h2v-1h1v-1h-1v1H9Z" fill="'.concat(n.mouth.value,'"/>\n')},happy03:function(a,n){return'\n<path d="M8 12v1h1v1h2v-1H9v-1H8Z" fill="'.concat(n.mouth.value,'"/>\n')},happy02:function(a,n){return'\n<path d="M8 12v1h1v1h2v-1h1v-1h-1v-1H9v1H8Z" fill="'.concat(n.mouth.value,'"/>\n<path d="M9 12v1h2v-1H9Z" fill="#fff"/>\n')},happy01:function(a,n){return'\n<path d="M8 12v1h1v1h2v-1h1v-1h-1v-1H9v1H8Z" fill="'.concat(n.mouth.value,'"/>\n<path d="M9 12v1h2v-1H9Z" fill="#fff" fill-opacity=".2"/>\n')},sad08:function(a,n){return'\n<path d="M9 12v1H8v1h4v-1h-1v-1H9Z" fill="'.concat(n.mouth.value,'"/>\n')},sad07:function(a,n){return'\n<path d="M11 12v1H9v1H8v-1h1v-1h2Z" fill="'.concat(n.mouth.value,'"/>\n')},sad06:function(a,n){return'\n<path d="M8 12h3v1H8v-1Z" fill="'.concat(n.mouth.value,'"/>\n')},sad05:function(a,n){return'\n<path d="M8 12h4v1H8v-1Z" fill="'.concat(n.mouth.value,'"/>\n')},sad04:function(a,n){return'\n<path d="M9 12h2v1H9v-1Z" fill="'.concat(n.mouth.value,'"/>\n')},sad03:function(a,n){return'\n<path d="M8 12v1h3v1h1v-1h-1v-1H8Z" fill="'.concat(n.mouth.value,'"/>\n')},sad02:function(a,n){return'\n<path d="M8 13v1h1v-1h3v-1H9v1H8Z" fill="'.concat(n.mouth.value,'"/>\n')},sad01:function(a,n){return'\n<path d="M10 12v1h1v1h1v-2h-2Z" fill="'.concat(n.mouth.value,'"/>\n')},surprised01:function(a,n){return'\n<path d="M8 12v2h4v-2H8Z" fill="#fff"/>\n'}},glasses:{variant07:function(a,n){return'\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-4v1H9l-.036-1H4v1H3v1h1v3h5V8h2v3h5V8h1V7h-1V6h-5Zm-6 4V7h3v3H5Z" fill="'.concat(n.glasses.value,'"/>\n<path d="M3 7h1v1H3V7Zm6 0h2v1H9V7Zm7 0h1v1h-1V7Z" fill="#fff" fill-opacity=".2"/>\n</g>\n')},variant06:function(a,n){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="M5 7v2h3V7H5ZM4 6v1H3v1h1v1h1v1h3V9h1V8h2v1h1v1h3V9h1V8h1V7h-1V6h-5v1H9V6H4Zm8 1v2h3V7h-3Z" fill="'.concat(n.glasses.value,'"/>\n<path d="M3 7h1v1H3V7Zm6 0h2v1H9V7Zm7 0h1v1h-1V7Z" fill="#fff" fill-opacity=".2"/>\n</g>\n')},variant05:function(a,n){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(n.glasses.value,'"/>\n<path d="M3 7v1h1V7H3Zm6 0v1h2V7H9Zm7 0v1h1V7h-1Z" fill="#fff" fill-opacity=".2"/>\n</g>\n')},variant04:function(a,n){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(n.glasses.value,'"/>\n<path d="M3 7h1v1H3V7Zm6 0h2v1H9V7Zm7 0h1v1h-1V7Z" fill="#fff" fill-opacity=".2"/>\n</g>\n')},variant03:function(a,n){return'\n<g fill-rule="evenodd" clip-rule="evenodd">\n<path d="M4 8H3V7h1V6h5v1h2V6h5v1h1v1h-1v2h-5V8H9v2H4V8Zm1 0V7h3v2H5V8Zm7-1v2h3V7h-3Z" fill="'.concat(n.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')},variant02:function(a,n){return'\n<g fill-rule="evenodd" clip-rule="evenodd">\n<path d="M4 8H3V7h14v1h-1v2h-5V8H9v2H4V8Zm1 0h3v1H5V8Zm7 0h3v1h-3V8Z" fill="'.concat(n.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')},variant01:function(a,n){return'\n<path d="M3 8V7h1V6h2v1h1V6h2v1h2V6h2v1h1V6h2v1h1v1h-1v1h-1v1h-1v1h-1v-1h-1V9h-1V8H9v1H8v1H7v1H6v-1H5V9H4V8H3Z" fill="'.concat(n.glasses.value,'"/>\n<path fill-rule="evenodd" clip-rule="evenodd" d="M3 7v1h1V7h1V6H4v1H3Zm5-1v1h1v1h2V7h1V6h-1v1H9V6H8Zm7 0v1h1v1h1V7h-1V6h-1Z" fill="#fff" fill-opacity=".2"/>\n')}}});function t(a,n){var t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],v=h,l=a.pick(t);return v[n][l]?{name:l,value:v[n][l]}:void 0}var v=Object.freeze({__proto__:null,skin:{variant01:"rgba(255, 219, 172, 1)",variant02:"rgba(245, 207, 160, 1)",variant03:"rgba(234, 195, 147, 1)",variant04:"rgba(224, 182, 135, 1)",variant05:"rgba(203, 158, 110, 1)",variant06:"rgba(182, 134, 85, 1)",variant07:"rgba(162, 109, 61, 1)",variant08:"rgba(141, 85, 36, 1)"},hair:{variant01:"rgba(202, 177, 136, 1)",variant02:"rgba(167, 137, 97, 1)",variant03:"rgba(131, 98, 59, 1)",variant04:"rgba(96, 58, 20, 1)",variant05:"rgba(96, 48, 21, 1)",variant06:"rgba(97, 38, 22, 1)",variant07:"rgba(97, 28, 23, 1)",variant08:"rgba(78, 26, 19, 1)",variant09:"rgba(59, 23, 14, 1)",variant10:"rgba(40, 21, 10, 1)"},mouth:{variant01:"rgba(210, 153, 133, 1)",variant02:"rgba(201, 130, 118, 1)",variant03:"rgba(227, 93, 106, 1)",variant04:"rgba(222, 15, 13, 1)"},glasses:{green01:"rgba(95, 112, 92, 1)",blue01:"rgba(67, 103, 125, 1)",red01:"rgba(160, 75, 93, 1)",black01:"rgba(75, 75, 75, 1)",black02:"rgba(50, 50, 50, 1)",black03:"rgba(25, 25, 25, 1)"}});function l(a,n,h){var t,l=v;0===h.length&&h.push("transparent");var i=a.pick(h);return{name:i,value:null!==(t=l[n][i])&&void 0!==t?t:i}}var i={meta:{title:"Pixel Art - Neutral",creator:"Plastic Jam",license:{name:"MIT",url:"https://github.com/dicebear/dicebear/blob/main/packages/%40dicebear/pixel-art-neutral/LICENSE"}},schema:{title:"Options",$schema:"http://json-schema.org/draft-07/schema#",properties:{eyes:{title:"Eyes",type:"array",items:{type:"string",enum:["variant13","variant12","variant11","variant10","variant09","variant08","variant07","variant06","variant05","variant04","variant03","variant02","variant01"]},default:["variant13","variant12","variant11","variant10","variant09","variant08","variant07","variant06","variant05","variant04","variant03","variant02","variant01"]},eyebrows:{title:"Eyebrows",type:"array",items:{type:"string",enum:["variant13","variant12","variant11","variant10","variant09","variant08","variant07","variant06","variant05","variant04","variant03","variant02","variant01"]},default:["variant13","variant12","variant11","variant10","variant09","variant08","variant07","variant06","variant05","variant04","variant03","variant02","variant01"]},mouth:{title:"Mouth",type:"array",items:{type:"string",enum:["surprised03","surprised02","happy09","happy08","happy07","happy06","happy05","happy04","happy03","happy02","happy01","sad08","sad07","sad06","sad05","sad04","sad03","sad02","sad01","surprised01"]},default:["surprised03","surprised02","happy09","happy08","happy07","happy06","happy05","happy04","happy03","happy02","happy01","sad08","sad07","sad06","sad05","sad04","sad03","sad02","sad01","surprised01"]},glasses:{title:"Glasses",type:"array",items:{type:"string",enum:["variant07","variant06","variant05","variant04","variant03","variant02","variant01"]},default:["variant07","variant06","variant05","variant04","variant03","variant02","variant01"]},glassesProbability:{title:"Glasses Probability",default:20,type:"integer",minimum:0,maximum:100},backgroundColor:{title:"Background Color",anyOf:[{type:"string",pattern:"^#([a-fA-F0-9]{3}|[a-fA-F0-9]{4}|[a-fA-F0-9]{6}|[a-fA-F0-9]{8})$"},{type:"string",pattern:"^[0-9a-zA-Z]+$"},{type:"array",items:{anyOf:[{type:"string",pattern:"^[0-9a-zA-Z]+$"},{type:"string",pattern:"^#([a-fA-F0-9]{3}|[a-fA-F0-9]{4}|[a-fA-F0-9]{6}|[a-fA-F0-9]{8})$"}]}}],default:["variant01","variant02","variant03","variant04","variant05","variant06","variant07","variant08"]},hairColor:{title:"Hair Color",type:"array",items:{anyOf:[{type:"string",enum:["variant01","variant02","variant03","variant04","variant05","variant06","variant07","variant08","variant09","variant10"]},{type:"string",pattern:"^#([a-fA-F0-9]{3}|[a-fA-F0-9]{4}|[a-fA-F0-9]{6}|[a-fA-F0-9]{8})$"}]},default:["variant01","variant02","variant03","variant04","variant05","variant06","variant07","variant08","variant09","variant10"]},mouthColor:{title:"Mouth Color",type:"array",items:{anyOf:[{type:"string",enum:["variant01","variant02","variant03","variant04"]},{type:"string",pattern:"^#([a-fA-F0-9]{3}|[a-fA-F0-9]{4}|[a-fA-F0-9]{6}|[a-fA-F0-9]{8})$"}]},default:["variant01","variant02","variant03","variant04"]},glassesColor:{title:"Glasses Color",type:"array",items:{anyOf:[{type:"string",enum:["green01","blue01","red01","black01","black02","black03"]},{type:"string",pattern:"^#([a-fA-F0-9]{3}|[a-fA-F0-9]{4}|[a-fA-F0-9]{6}|[a-fA-F0-9]{8})$"}]},default:["green01","blue01","red01","black01","black02","black03"]}},additionalProperties:!1},create:function(a){var n,h,v,i,r,e,f,o,d,u,p,V=a.prng,c=a.options,Z=t(V,"eyes",c.eyes),s=t(V,"eyebrows",c.eyebrows),H=t(V,"mouth",c.mouth),m=t(V,"glasses",c.glasses),g={eyes:Z,eyebrows:s,mouth:H,glasses:V.bool(c.glassesProbability)?m:void 0},y={hair:l(V,"hair",null!==(n=c.hairColor)&&void 0!==n?n:[]),mouth:l(V,"mouth",null!==(h=c.mouthColor)&&void 0!==h?h:[]),glasses:l(V,"glasses",null!==(v=c.glassesColor)&&void 0!==v?v:[])},M="string"==typeof c.backgroundColor?[c.backgroundColor]:c.backgroundColor;return c.backgroundColor=l(V,"skin",null!=M?M:[]).value,{attributes:{viewBox:"0 0 14 14",fill:"none"},body:'\n<g transform="translate(-3 -3)">\n'.concat(null!==(i=null===(r=g.eyes)||void 0===r?void 0:r.value(g,y))&&void 0!==i?i:"",'\n</g>\n<g transform="translate(-3 -3)">\n').concat(null!==(e=null===(f=g.eyebrows)||void 0===f?void 0:f.value(g,y))&&void 0!==e?e:"",'\n</g>\n<g transform="translate(-3 -2)">\n').concat(null!==(o=null===(d=g.mouth)||void 0===d?void 0:d.value(g,y))&&void 0!==o?o:"",'\n</g>\n<g transform="translate(-3 -3)">\n').concat(null!==(u=null===(p=g.glasses)||void 0===p?void 0:p.value(g,y))&&void 0!==u?u:"","\n</g>\n")}}},r=i.create,e=i.meta,f=i.schema,o=n.utils.style.createLegacyWrapper(i);
1
+ !function(a,h){"object"==typeof exports&&"undefined"!=typeof module?h(exports,require("@dicebear/avatars")):"function"==typeof define&&define.amd?define(["exports","@dicebear/avatars"],h):h(((a="undefined"!=typeof globalThis?globalThis:a||self).DiceBear=a.DiceBear||{},a.DiceBear.PixelArtNeutral={}),a.DiceBear)}(this,(function(a,h){"use strict";var v=Object.freeze({__proto__:null,eyes:{variant13:(a,h)=>'\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',variant12:(a,h)=>'\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',variant11:(a,h)=>'\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',variant10:(a,h)=>'\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',variant09:(a,h)=>'\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',variant08:(a,h)=>'\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',variant07:(a,h)=>'\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',variant06:(a,h)=>'\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',variant05:(a,h)=>'\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',variant04:(a,h)=>'\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',variant03:(a,h)=>'\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',variant02:(a,h)=>'\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',variant01:(a,h)=>'\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'},eyebrows:{variant13:(a,h)=>'\n<g fill-rule="evenodd" clip-rule="evenodd">\n<path d="M8 4v1H7v1H5V5h2V4h1Zm4 0h1v1h2v1h-2V5h-1V4Z" fill="'.concat(h.hair.value,'"/>\n<path d="M8 4v1H7v1H5V5h2V4h1Zm4 0h1v1h2v1h-2V5h-1V4Z" fill="#000" fill-opacity=".1"/>\n</g>\n'),variant12:(a,h)=>'\n<g fill-rule="evenodd" clip-rule="evenodd">\n<path d="M6 5h3v2H8V6H6V5Zm5 0h3v1h-2v1h-1V5Z" fill="'.concat(h.hair.value,'"/>\n<path d="M6 5h3v2H8V6H6V5Zm5 0h3v1h-2v1h-1V5Z" fill="#000" fill-opacity=".1"/>\n</g>\n'),variant11:(a,h)=>'\n<g fill-rule="evenodd" clip-rule="evenodd">\n<path d="M5 5h3v1h1v1H8V6H5V5Zm10 0h-3v1h-1v1h1V6h3V5Z" fill="'.concat(h.hair.value,'"/>\n<path d="M5 5h3v1h1v1H8V6H5V5Zm10 0h-3v1h-1v1h1V6h3V5Z" fill="#000" fill-opacity=".1"/>\n</g>\n'),variant10:(a,h)=>'\n<g fill-rule="evenodd" clip-rule="evenodd">\n<path d="M6 5H4v2h1V6h1V5Zm8 0h2v2h-1V6h-1V5Z" fill="'.concat(h.hair.value,'"/>\n<path d="M6 5H4v2h1V6h1V5Zm8 0h2v2h-1V6h-1V5Z" fill="#000" fill-opacity=".1"/>\n</g>\n'),variant09:(a,h)=>'\n<g fill-rule="evenodd" clip-rule="evenodd">\n<path d="M5 6h2v1H5V6Zm8 0h2v1h-2V6Z" fill="'.concat(h.hair.value,'"/>\n<path d="M5 6h2v1H5V6Zm8 0h2v1h-2V6Z" fill="#000" fill-opacity=".1"/>\n</g>\n'),variant08:(a,h)=>'\n<g fill-rule="evenodd" clip-rule="evenodd">\n<path d="M6 5h1v1h1v1H5V6h1V5Zm7 0h1v1h1v1h-3V6h1V5Z" fill="'.concat(h.hair.value,'"/>\n<path d="M6 5h1v1h1v1H5V6h1V5Zm7 0h1v1h1v1h-3V6h1V5Z" fill="#000" fill-opacity=".1"/>\n</g>\n'),variant07:(a,h)=>'\n<g fill-rule="evenodd" clip-rule="evenodd">\n<path d="M6 5h2v1h1v1H8V6H6V5Zm8 0h-2v1h-1v1h1V6h2V5Z" fill="'.concat(h.hair.value,'"/>\n<path d="M6 5h2v1h1v1H8V6H6V5Zm8 0h-2v1h-1v1h1V6h2V5Z" fill="#000" fill-opacity=".1"/>\n</g>\n'),variant06:(a,h)=>'\n<g fill-rule="evenodd" clip-rule="evenodd">\n<path d="M12 7V6h1V5h1v1h1v1h-1V6h-1v1h-1ZM5 7V6h1V5h1v1h1v1H7V6H6v1H5Z" fill="'.concat(h.hair.value,'"/>\n<path d="M12 7V6h1V5h1v1h1v1h-1V6h-1v1h-1ZM5 7V6h1V5h1v1h1v1H7V6H6v1H5Z" fill="#000" fill-opacity=".1"/>\n</g>\n'),variant05:(a,h)=>'\n<g fill-rule="evenodd" clip-rule="evenodd">\n<path d="M7 5v1H5v1H4V6h1V5h2Zm6 0h2v1h1v1h-1V6h-2V5Z" fill="'.concat(h.hair.value,'"/>\n<path d="M7 5v1H5v1H4V6h1V5h2Zm6 0h2v1h1v1h-1V6h-2V5Z" fill="#000" fill-opacity=".1"/>\n</g>\n'),variant04:(a,h)=>'\n<g fill-rule="evenodd" clip-rule="evenodd">\n<path d="M4 7V5h3v1H5v1H4Zm12-2v2h-1V6h-2V5h3Z" fill="'.concat(h.hair.value,'"/>\n<path d="M4 7V5h3v1H5v1H4Zm12-2v2h-1V6h-2V5h3Z" fill="#000" fill-opacity=".1"/>\n</g>\n'),variant03:(a,h)=>'\n<g fill-rule="evenodd" clip-rule="evenodd">\n<path d="M7 5h1v1h1v1H8V6H7V5Zm6 0v1h-1v1h-1V6h1V5h1Z" fill="'.concat(h.hair.value,'"/>\n<path d="M7 5h1v1h1v1H8V6H7V5Zm6 0v1h-1v1h-1V6h1V5h1Z" fill="#000" fill-opacity=".1"/>\n</g>\n'),variant02:(a,h)=>'\n<g fill-rule="evenodd" clip-rule="evenodd">\n<path d="M4 7V6h1V5h1v1H5v1H4Zm10-2h1v1h1v1h-1V6h-1V5Z" fill="'.concat(h.hair.value,'"/>\n<path d="M4 7V6h1V5h1v1H5v1H4Zm10-2h1v1h1v1h-1V6h-1V5Z" fill="#000" fill-opacity=".1"/>\n</g>\n'),variant01:(a,h)=>'\n<g fill-rule="evenodd" clip-rule="evenodd">\n<path d="M7 5v1H5v1H4V6h1V5h2Zm7 0v1h-2v1h-1V6h1V5h2Z" fill="'.concat(h.hair.value,'"/>\n<path d="M7 5v1H5v1H4V6h1V5h2Zm7 0v1h-2v1h-1V6h1V5h2Z" fill="#000" fill-opacity=".1"/>\n</g>\n')},mouth:{surprised03:(a,h)=>'\n<path d="M9 12v2h2v-2H9Z" fill="'.concat(h.mouth.value,'"/>\n'),surprised02:(a,h)=>'\n<path d="M9 13v1h1v-1H9Z" fill="'.concat(h.mouth.value,'"/>\n'),happy09:(a,h)=>'\n<path d="M7 12v1h1v1h4v-1H8v-1H7Z" fill="'.concat(h.mouth.value,'"/>\n'),happy08:(a,h)=>'\n<path d="M10 12v1H9v1h2v-2h-1Z" fill="'.concat(h.mouth.value,'"/>\n'),happy07:(a,h)=>'\n<path d="M8 13v1h4v-1h1v-1h-1v1H8Z" fill="'.concat(h.mouth.value,'"/>\n'),happy06:(a,h)=>'\n<path d="M9 12v2h2v-1h-1v-1H9Z" fill="'.concat(h.mouth.value,'"/>\n<path d="M11 14v-1h-1v-1H9v1h1v1h1Z" fill="#fff" fill-opacity=".2"/>\n'),happy05:(a,h)=>'\n<path d="M8 12v1h1v1h2v-1h1v-1H8Z" fill="'.concat(h.mouth.value,'"/>\n'),happy04:(a,h)=>'\n<path d="M9 13v1h2v-1h1v-1h-1v1H9Z" fill="'.concat(h.mouth.value,'"/>\n'),happy03:(a,h)=>'\n<path d="M8 12v1h1v1h2v-1H9v-1H8Z" fill="'.concat(h.mouth.value,'"/>\n'),happy02:(a,h)=>'\n<path d="M8 12v1h1v1h2v-1h1v-1h-1v-1H9v1H8Z" fill="'.concat(h.mouth.value,'"/>\n<path d="M9 12v1h2v-1H9Z" fill="#fff"/>\n'),happy01:(a,h)=>'\n<path d="M8 12v1h1v1h2v-1h1v-1h-1v-1H9v1H8Z" fill="'.concat(h.mouth.value,'"/>\n<path d="M9 12v1h2v-1H9Z" fill="#fff" fill-opacity=".2"/>\n'),sad08:(a,h)=>'\n<path d="M9 12v1H8v1h4v-1h-1v-1H9Z" fill="'.concat(h.mouth.value,'"/>\n'),sad07:(a,h)=>'\n<path d="M11 12v1H9v1H8v-1h1v-1h2Z" fill="'.concat(h.mouth.value,'"/>\n'),sad06:(a,h)=>'\n<path d="M8 12h3v1H8v-1Z" fill="'.concat(h.mouth.value,'"/>\n'),sad05:(a,h)=>'\n<path d="M8 12h4v1H8v-1Z" fill="'.concat(h.mouth.value,'"/>\n'),sad04:(a,h)=>'\n<path d="M9 12h2v1H9v-1Z" fill="'.concat(h.mouth.value,'"/>\n'),sad03:(a,h)=>'\n<path d="M8 12v1h3v1h1v-1h-1v-1H8Z" fill="'.concat(h.mouth.value,'"/>\n'),sad02:(a,h)=>'\n<path d="M8 13v1h1v-1h3v-1H9v1H8Z" fill="'.concat(h.mouth.value,'"/>\n'),sad01:(a,h)=>'\n<path d="M10 12v1h1v1h1v-2h-2Z" fill="'.concat(h.mouth.value,'"/>\n'),surprised01:(a,h)=>'\n<path d="M8 12v2h4v-2H8Z" fill="#fff"/>\n'},glasses:{variant07:(a,h)=>'\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-4v1H9l-.036-1H4v1H3v1h1v3h5V8h2v3h5V8h1V7h-1V6h-5Zm-6 4V7h3v3H5Z" fill="'.concat(h.glasses.value,'"/>\n<path d="M3 7h1v1H3V7Zm6 0h2v1H9V7Zm7 0h1v1h-1V7Z" fill="#fff" fill-opacity=".2"/>\n</g>\n'),variant06:(a,h)=>'\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(h.glasses.value,'"/>\n<path d="M3 7h1v1H3V7Zm6 0h2v1H9V7Zm7 0h1v1h-1V7Z" fill="#fff" fill-opacity=".2"/>\n</g>\n'),variant05:(a,h)=>'\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(h.glasses.value,'"/>\n<path d="M3 7v1h1V7H3Zm6 0v1h2V7H9Zm7 0v1h1V7h-1Z" fill="#fff" fill-opacity=".2"/>\n</g>\n'),variant04:(a,h)=>'\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(h.glasses.value,'"/>\n<path d="M3 7h1v1H3V7Zm6 0h2v1H9V7Zm7 0h1v1h-1V7Z" fill="#fff" fill-opacity=".2"/>\n</g>\n'),variant03:(a,h)=>'\n<g fill-rule="evenodd" clip-rule="evenodd">\n<path d="M4 8H3V7h1V6h5v1h2V6h5v1h1v1h-1v2h-5V8H9v2H4V8Zm1 0V7h3v2H5V8Zm7-1v2h3V7h-3Z" fill="'.concat(h.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'),variant02:(a,h)=>'\n<g fill-rule="evenodd" clip-rule="evenodd">\n<path d="M4 8H3V7h14v1h-1v2h-5V8H9v2H4V8Zm1 0h3v1H5V8Zm7 0h3v1h-3V8Z" fill="'.concat(h.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'),variant01:(a,h)=>'\n<path d="M3 8V7h1V6h2v1h1V6h2v1h2V6h2v1h1V6h2v1h1v1h-1v1h-1v1h-1v1h-1v-1h-1V9h-1V8H9v1H8v1H7v1H6v-1H5V9H4V8H3Z" fill="'.concat(h.glasses.value,'"/>\n<path fill-rule="evenodd" clip-rule="evenodd" d="M3 7v1h1V7h1V6H4v1H3Zm5-1v1h1v1h2V7h1V6h-1v1H9V6H8Zm7 0v1h1v1h1V7h-1V6h-1Z" fill="#fff" fill-opacity=".2"/>\n')}});function l(a,h){let l=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];const n=v,t=a.pick(l);return n[h][t]?{name:t,value:n[h][t]}:void 0}var n=Object.freeze({__proto__:null,skin:{variant01:"rgba(255, 219, 172, 1)",variant02:"rgba(245, 207, 160, 1)",variant03:"rgba(234, 195, 147, 1)",variant04:"rgba(224, 182, 135, 1)",variant05:"rgba(203, 158, 110, 1)",variant06:"rgba(182, 134, 85, 1)",variant07:"rgba(162, 109, 61, 1)",variant08:"rgba(141, 85, 36, 1)"},hair:{variant01:"rgba(202, 177, 136, 1)",variant02:"rgba(167, 137, 97, 1)",variant03:"rgba(131, 98, 59, 1)",variant04:"rgba(96, 58, 20, 1)",variant05:"rgba(96, 48, 21, 1)",variant06:"rgba(97, 38, 22, 1)",variant07:"rgba(97, 28, 23, 1)",variant08:"rgba(78, 26, 19, 1)",variant09:"rgba(59, 23, 14, 1)",variant10:"rgba(40, 21, 10, 1)"},mouth:{variant01:"rgba(210, 153, 133, 1)",variant02:"rgba(201, 130, 118, 1)",variant03:"rgba(227, 93, 106, 1)",variant04:"rgba(222, 15, 13, 1)"},glasses:{green01:"rgba(95, 112, 92, 1)",blue01:"rgba(67, 103, 125, 1)",red01:"rgba(160, 75, 93, 1)",black01:"rgba(75, 75, 75, 1)",black02:"rgba(50, 50, 50, 1)",black03:"rgba(25, 25, 25, 1)"}});function t(a,h,v){var l;const t=n;0===v.length&&v.push("transparent");const i=a.pick(v);return{name:i,value:null!==(l=t[h][i])&&void 0!==l?l:i}}const i={meta:{title:"Pixel Art - Neutral",creator:"Plastic Jam",license:{name:"MIT",url:"https://github.com/dicebear/dicebear/blob/main/packages/%40dicebear/pixel-art-neutral/LICENSE"}},schema:{title:"Options",$schema:"http://json-schema.org/draft-07/schema#",properties:{eyes:{title:"Eyes",type:"array",items:{type:"string",enum:["variant13","variant12","variant11","variant10","variant09","variant08","variant07","variant06","variant05","variant04","variant03","variant02","variant01"]},default:["variant13","variant12","variant11","variant10","variant09","variant08","variant07","variant06","variant05","variant04","variant03","variant02","variant01"]},eyebrows:{title:"Eyebrows",type:"array",items:{type:"string",enum:["variant13","variant12","variant11","variant10","variant09","variant08","variant07","variant06","variant05","variant04","variant03","variant02","variant01"]},default:["variant13","variant12","variant11","variant10","variant09","variant08","variant07","variant06","variant05","variant04","variant03","variant02","variant01"]},mouth:{title:"Mouth",type:"array",items:{type:"string",enum:["surprised03","surprised02","happy09","happy08","happy07","happy06","happy05","happy04","happy03","happy02","happy01","sad08","sad07","sad06","sad05","sad04","sad03","sad02","sad01","surprised01"]},default:["surprised03","surprised02","happy09","happy08","happy07","happy06","happy05","happy04","happy03","happy02","happy01","sad08","sad07","sad06","sad05","sad04","sad03","sad02","sad01","surprised01"]},glasses:{title:"Glasses",type:"array",items:{type:"string",enum:["variant07","variant06","variant05","variant04","variant03","variant02","variant01"]},default:["variant07","variant06","variant05","variant04","variant03","variant02","variant01"]},glassesProbability:{title:"Glasses Probability",default:20,type:"integer",minimum:0,maximum:100},backgroundColor:{title:"Background Color",anyOf:[{type:"string",pattern:"^#([a-fA-F0-9]{3}|[a-fA-F0-9]{4}|[a-fA-F0-9]{6}|[a-fA-F0-9]{8})$"},{type:"string",pattern:"^[0-9a-zA-Z]+$"},{type:"array",items:{anyOf:[{type:"string",pattern:"^[0-9a-zA-Z]+$"},{type:"string",pattern:"^#([a-fA-F0-9]{3}|[a-fA-F0-9]{4}|[a-fA-F0-9]{6}|[a-fA-F0-9]{8})$"}]}}],default:["variant01","variant02","variant03","variant04","variant05","variant06","variant07","variant08"]},hairColor:{title:"Hair Color",type:"array",items:{anyOf:[{type:"string",enum:["variant01","variant02","variant03","variant04","variant05","variant06","variant07","variant08","variant09","variant10"]},{type:"string",pattern:"^#([a-fA-F0-9]{3}|[a-fA-F0-9]{4}|[a-fA-F0-9]{6}|[a-fA-F0-9]{8})$"}]},default:["variant01","variant02","variant03","variant04","variant05","variant06","variant07","variant08","variant09","variant10"]},mouthColor:{title:"Mouth Color",type:"array",items:{anyOf:[{type:"string",enum:["variant01","variant02","variant03","variant04"]},{type:"string",pattern:"^#([a-fA-F0-9]{3}|[a-fA-F0-9]{4}|[a-fA-F0-9]{6}|[a-fA-F0-9]{8})$"}]},default:["variant01","variant02","variant03","variant04"]},glassesColor:{title:"Glasses Color",type:"array",items:{anyOf:[{type:"string",enum:["green01","blue01","red01","black01","black02","black03"]},{type:"string",pattern:"^#([a-fA-F0-9]{3}|[a-fA-F0-9]{4}|[a-fA-F0-9]{6}|[a-fA-F0-9]{8})$"}]},default:["green01","blue01","red01","black01","black02","black03"]}},additionalProperties:!1},create:a=>{var h,v,n,i,e,r,f,d,p,o,V;let{prng:u,options:c}=a;const Z=l(u,"eyes",c.eyes),s=l(u,"eyebrows",c.eyebrows),H=l(u,"mouth",c.mouth),m=l(u,"glasses",c.glasses),g={eyes:Z,eyebrows:s,mouth:H,glasses:u.bool(c.glassesProbability)?m:void 0},y={hair:t(u,"hair",null!==(h=c.hairColor)&&void 0!==h?h:[]),mouth:t(u,"mouth",null!==(v=c.mouthColor)&&void 0!==v?v:[]),glasses:t(u,"glasses",null!==(n=c.glassesColor)&&void 0!==n?n:[])},M="string"==typeof c.backgroundColor?[c.backgroundColor]:c.backgroundColor;return c.backgroundColor=t(u,"skin",null!=M?M:[]).value,{attributes:{viewBox:"0 0 14 14",fill:"none"},body:'\n<g transform="translate(-3 -3)">\n'.concat(null!==(i=null===(e=g.eyes)||void 0===e?void 0:e.value(g,y))&&void 0!==i?i:"",'\n</g>\n<g transform="translate(-3 -3)">\n').concat(null!==(r=null===(f=g.eyebrows)||void 0===f?void 0:f.value(g,y))&&void 0!==r?r:"",'\n</g>\n<g transform="translate(-3 -2)">\n').concat(null!==(d=null===(p=g.mouth)||void 0===p?void 0:p.value(g,y))&&void 0!==d?d:"",'\n</g>\n<g transform="translate(-3 -3)">\n').concat(null!==(o=null===(V=g.glasses)||void 0===V?void 0:V.value(g,y))&&void 0!==o?o:"","\n</g>\n")}}};
2
2
  /*!
3
3
  * Pixel Art - Neutral (@dicebear/pixel-art-neutral)
4
4
  *
5
5
  * Code licensed under MIT License.
6
6
  * Copyright (c) 2021 Florian Körner
7
7
  *
8
- * Design "Pixel Art - Neutral" by Plastic Jam licensed under MIT.
8
+ * Design "8biticon" by Plastic Jam licensed under MIT.
9
9
  * License: https://github.com/dicebear/dicebear/blob/main/packages/%40dicebear/pixel-art-neutral/LICENSE
10
- */a.create=r,a.default=o,a.meta=e,a.schema=f,Object.defineProperty(a,"__esModule",{value:!0})}));
10
+ */let{create:e,meta:r,schema:f}=i;var d=h.utils.style.createLegacyWrapper(i);a.create=e,a.default=d,a.meta=r,a.schema=f,Object.defineProperty(a,"__esModule",{value:!0})}));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dicebear/pixel-art-neutral",
3
- "version": "4.9.0",
3
+ "version": "4.10.2",
4
4
  "description": "Avatar style for DiceBear",
5
5
  "keywords": [
6
6
  "dicebear"
@@ -29,11 +29,11 @@
29
29
  "build": "dicebear-project build DiceBear.PixelArtNeutral"
30
30
  },
31
31
  "devDependencies": {
32
- "@dicebear/avatars": "^4.9.0",
32
+ "@dicebear/avatars": "^4.10.2",
33
33
  "@tsconfig/recommended": "^1.0.0",
34
34
  "@types/jest": "^26.0.22",
35
35
  "@types/node": "^10.11.6",
36
- "dicebear-project": "^4.9.0",
36
+ "dicebear-project": "^4.10.2",
37
37
  "jest": "^26.6.3",
38
38
  "ts-jest": "^26.5.4",
39
39
  "typescript": "^4.2.3",
@@ -42,5 +42,5 @@
42
42
  "peerDependencies": {
43
43
  "@dicebear/avatars": "^4.6.0"
44
44
  },
45
- "gitHead": "c7186fa45cea6868084cea68337a2d50e573db39"
45
+ "gitHead": "28ffc2046de961f814b3c5804c562dd318821a7b"
46
46
  }