AutoGPT is the vision of accessible AI for everyone, to use and to build on. Our mission is to provide the tools, so that you can focus on what matters.
feat(platform): Notion-style expert avatars with a face picker in the raise flow (#14548)
Ubbe19e7d5c0c969
diff --git a/autogpt_platform/backend/backend/copilot/tools/expert_avatar.py b/autogpt_platform/backend/backend/copilot/tools/expert_avatar.pyindex cb66827f5e..f7a15beaf4 100644--- a/autogpt_platform/backend/backend/copilot/tools/expert_avatar.py+++ b/autogpt_platform/backend/backend/copilot/tools/expert_avatar.py@@ -1,62 +1,95 @@-"""Generated expert avatars: a shape, a colour and one accessory.+"""Generated expert avatars: a Notion-style face, seeded from the name.-The frontend draws these from a site-relative ``/avatars/<shape>.<color>.<accessory>.svg``-URL, so an expert raised by Otto gets a face without an upload. The id-lists and the name hash mirror ``components/molecules/BotAvatar/helpers.ts``-so a name seeds the same look on both sides.+The frontend draws these from a site-relative+``/avatars/notion/<indices>.<color>.svg`` URL, so an expert raised by Otto gets+a face without an upload. The category list, part counts, "none" odds and the+name hash all mirror ``components/molecules/NotionAvatar/helpers.ts``, so a+name seeds the same look on both sides — there is a test asserting it."""-AVATAR_SHAPES = ["round", "dome", "squircle", "wide", "bean"]+# Draw order, back to front. Must match NOTION_CATEGORIES on the frontend.+NOTION_CATEGORIES = [+ "face",+ "nose",+ "mouth",+ "eyes",+ "eyebrows",+ "glasses",+ "hair",+ "accessories",+ "details",+ "beard",+]++NOTION_PART_COUNTS = {+ "face": 16,+ "nose": 14,+ "mouth": 20,+ "eyes": 14,+ "eyebrows": 16,+ "glasses": 15,+ "hair": 59,+ "accessories": 15,+ "details": 14,+ "beard": 17,+}++# Index 0 draws nothing for these, and sampling uniformly would put glasses and+# a beard on almost every face.+_NONE_ODDS = {+ "glasses": 0.55,+ "beard": 0.6,+ "accessories": 0.7,+ "details": 0.65,+ "hair": 0.04,+}++# Named looks Otto can ask for, each a pool of parts that read that way. The+# specific part inside a pool stays seeded, so two experts wearing glasses do+# not end up in identical frames.+AVATAR_GLASSES = {+ "none": [0],+ "glasses": [1, 2, 3, 4, 5, 6, 14],+ "sunglasses": [7, 8, 9, 10, 11, 12],+}++AVATAR_BEARD = {+ "none": [0],+ "stubble": [2, 5, 12],+ "full": [1, 3, 4, 13],+ "moustache": [14, 15],+}++AVATAR_HAT = {+ "none": [0],+ "cap": [11, 12],+}+AVATAR_COLORS = [- "lavender",- "plum",+ "rose",+ "red",+ "orange","amber",+ "yellow",+ "lime",+ "green",+ "emerald",+ "teal",+ "cyan","sky",- "mint",- "coral",+ "blue","indigo",- "butter",-]-AVATAR_ACCESSORIES = [- "none",- "glasses",- "headset",- "star",- "bow",- "badge",- "crown",- "propeller",- "ears",- "flower",- "bowtie",- "headband",+ "violet",+ "fuchsia",]-# Accent colour token family -> avatar colour, tuned so the accent and the-# face agree without the model having to pick twice.-_TOKEN_COLORS = {- "rose": "plum",- "red": "coral",- "orange": "coral",- "amber": "amber",- "yellow": "butter",- "lime": "mint",- "green": "mint",- "emerald": "mint",- "teal": "sky",- "cyan": "sky",- "sky": "sky",- "blue": "sky",- "indigo": "indigo",- "violet": "lavender",- "fuchsia": "plum",-}-def avatar_color_for_token(token: str | None) -> str | None:+ """The accent family is the avatar colour, so no two accents share a face."""if not token:return None- return _TOKEN_COLORS.get(token.split("-", 1)[0])+ family = token.split("-", 1)[0]+ return family if family in AVATAR_COLORS else Nonedef _hash_seed(value: str) -> int:@@ -78,26 +111,52 @@ def _seeded_random(seed: int):return next_value-def seeded_avatar(name: str) -> tuple[str, str, str]:- """Shape / colour / accessory the frontend would seed for *name*."""+def seeded_avatar(name: str) -> tuple[dict[str, int], str]:+ """Parts and colour the frontend would seed for *name*.++ Draws in the same order and the same number of times as ``randomNotionConfig``:+ one value per always-drawn category, and for a category that can be absent,+ one value for the coin flip plus a second only when it lands on a part.+ """random = _seeded_random(_hash_seed(name.lower()))- shape = AVATAR_SHAPES[int(random() * len(AVATAR_SHAPES))]+ parts: dict[str, int] = {}+ for category in NOTION_CATEGORIES:+ count = NOTION_PART_COUNTS[category]+ none_odds = _NONE_ODDS.get(category)+ if none_odds is None:+ parts[category] = int(random() * count)+ elif random() < none_odds:+ parts[category] = 0+ else:+ parts[category] = 1 + int(random() * (count - 1))color = AVATAR_COLORS[int(random() * len(AVATAR_COLORS))]- accessory = AVATAR_ACCESSORIES[int(random() * len(AVATAR_ACCESSORIES))]- return shape, color, accessory+ return parts, color+++def _pool_choice(name: str, category: str, pool: list[int]) -> int:+ """Deterministic pick within a named look, off the same name."""+ return pool[_hash_seed(f"{name.lower()}:{category}") % len(pool)]def build_avatar_url(name: str,*,- shape: str | None = None,- accessory: str | None = None,+ glasses: str | None = None,+ beard: str | None = None,+ hat: str | None = None,color_token: str | None = None,) -> str:"""Resolve the generated-avatar URL, seeding whatever was not chosen."""- seeded_shape, seeded_color, seeded_accessory = seeded_avatar(name)- return (- f"/avatars/{shape or seeded_shape}."- f"{avatar_color_for_token(color_token) or seeded_color}."- f"{accessory or seeded_accessory}.svg"- )+ parts, seeded_color = seeded_avatar(name)++ for category, choice, options in (+ ("glasses", glasses, AVATAR_GLASSES),+ ("beard", beard, AVATAR_BEARD),+ ("accessories", hat, AVATAR_HAT),+ ):+ if choice and choice in options:+ parts[category] = _pool_choice(name, category, options[choice])++ color = avatar_color_for_token(color_token) or seeded_color+ indices = "-".join(str(parts[category]) for category in NOTION_CATEGORIES)+ return f"/avatars/notion/{indices}.{color}.svg"diff --git a/autogpt_platform/backend/backend/copilot/tools/expert_avatar_test.py b/autogpt_platform/backend/backend/copilot/tools/expert_avatar_test.pynew file mode 100644index 0000000000..e60c8fadd8--- /dev/null+++ b/autogpt_platform/backend/backend/copilot/tools/expert_avatar_test.py@@ -0,0 +1,85 @@+from backend.copilot.tools.expert_avatar import (+ AVATAR_BEARD,+ AVATAR_COLORS,+ AVATAR_GLASSES,+ AVATAR_HAT,+ NOTION_CATEGORIES,+ NOTION_PART_COUNTS,+ avatar_color_for_token,+ build_avatar_url,+ seeded_avatar,+)++# Golden vectors generated by running the frontend's notionConfigForName over+# the same names. Literals, not a re-run of build_avatar_url, so a drift in the+# FNV/LCG constants, the draw order or the "none" odds fails here rather than+# letting the two sides diverge silently.+FRONTEND_SEEDED = {+ "Maria": "/avatars/notion/10-2-5-6-13-6-1-0-0-0.green.svg",+ "Frankie": "/avatars/notion/3-3-6-4-5-12-31-0-0-0.orange.svg",+ "Max": "/avatars/notion/4-1-10-0-2-0-48-0-0-0.red.svg",+ "Ana": "/avatars/notion/11-12-17-2-6-0-11-6-0-0.green.svg",+ "Otto": "/avatars/notion/11-12-11-10-7-0-32-5-0-0.teal.svg",+ "Jules": "/avatars/notion/12-5-13-13-3-9-2-0-4-2.yellow.svg",+ "Priya": "/avatars/notion/2-12-18-1-15-2-55-11-0-11.indigo.svg",+ "Sam": "/avatars/notion/4-11-0-1-13-0-0-6-0-16.red.svg",+ # Non-BMP character (emoji): pins hashSeed/_hash_seed to hash by code+ # point on both sides, not by UTF-16 code unit.+ "Otto 🤖": "/avatars/notion/7-10-18-11-6-5-37-3-4-1.teal.svg",+}+++def test_seeding_matches_the_frontend():+ for name, expected in FRONTEND_SEEDED.items():+ assert build_avatar_url(name) == expected+++def test_seeding_is_stable_and_case_insensitive():+ assert build_avatar_url("Maria") == build_avatar_url("maria")+ assert build_avatar_url("Maria") == build_avatar_url("Maria")+++def test_every_seeded_part_is_in_range():+ for name in ("", "a", "Zoë", "a much longer expert name than usual"):+ parts, color = seeded_avatar(name)+ assert set(parts) == set(NOTION_CATEGORIES)+ for category, index in parts.items():+ assert 0 <= index < NOTION_PART_COUNTS[category]+ assert color in AVATAR_COLORS+++def test_named_looks_override_only_their_own_category():+ seeded, _ = seeded_avatar("Maria")+ url = build_avatar_url("Maria", glasses="sunglasses")+ indices = [int(part) for part in url.split("/")[-1].split(".")[0].split("-")]+ chosen = dict(zip(NOTION_CATEGORIES, indices))+ assert chosen["glasses"] in AVATAR_GLASSES["sunglasses"]+ for category in NOTION_CATEGORIES:+ if category != "glasses":+ assert chosen[category] == seeded[category]+++def test_named_looks_resolve_inside_their_pool():+ for choice, pool in AVATAR_BEARD.items():+ url = build_avatar_url("Maria", beard=choice)+ indices = [int(p) for p in url.split("/")[-1].split(".")[0].split("-")]+ assert dict(zip(NOTION_CATEGORIES, indices))["beard"] in pool+ for choice, pool in AVATAR_HAT.items():+ url = build_avatar_url("Maria", hat=choice)+ indices = [int(p) for p in url.split("/")[-1].split(".")[0].split("-")]+ assert dict(zip(NOTION_CATEGORIES, indices))["accessories"] in pool+++def test_an_unknown_named_look_falls_back_to_the_seeded_part():+ assert build_avatar_url("Maria", glasses="monocle") == build_avatar_url("Maria")+++def test_color_token_maps_to_an_avatar_color():+ assert avatar_color_for_token("violet-300") == "violet"+ assert avatar_color_for_token("sky-500") == "sky"+ # Families that used to collapse onto one disc now each keep their own.+ assert avatar_color_for_token("emerald-300") == "emerald"+ assert avatar_color_for_token("teal-300") == "teal"+ assert avatar_color_for_token("chartreuse-300") is None+ assert avatar_color_for_token(None) is None+ assert build_avatar_url("Maria", color_token="violet-300").endswith(".violet.svg")diff --git a/autogpt_platform/backend/backend/copilot/tools/expert_change_test.py b/autogpt_platform/backend/backend/copilot/tools/expert_change_test.pyindex 7be7f6e433..811717521e 100644--- a/autogpt_platform/backend/backend/copilot/tools/expert_change_test.py+++ b/autogpt_platform/backend/backend/copilot/tools/expert_change_test.py@@ -48,14 +48,15 @@ _CHARTER = {"role": "Inbox triage","tagline": "Sorts your morning inbox and drafts the routine replies.","color": "violet-300",- "avatar_shape": "round",- "avatar_accessory": "glasses",+ "avatar_glasses": "glasses",+ "avatar_beard": "none",+ "avatar_hat": "none","about": "You group the morning inbox and draft routine replies.","boundaries": "You never send a reply yourself.",}-AVATAR_KEYS = {"avatar_shape", "avatar_accessory"}+AVATAR_KEYS = {"avatar_glasses", "avatar_beard", "avatar_hat"}class _FakeRedis:@@ -233,7 +234,10 @@ class TestPreviewNeverWrites:assert resp.preview.about == _CHARTER["about"]assert resp.preview.boundaries == _CHARTER["boundaries"]assert resp.preview.color == _CHARTER["color"]- assert resp.preview.avatar_url == "/avatars/round.lavender.glasses.svg"+ assert (+ resp.preview.avatar_url+ == "/avatars/notion/11-12-11-10-7-4-32-0-0-0.violet.svg"+ )db.create_raised_expert.assert_not_called()@pytest.mark.asyncio(loop_scope="session")@@ -242,30 +246,33 @@ class TestPreviewNeverWrites:charter = {k: v for k, v in _CHARTER.items() if k not in AVATAR_KEYS}resp = await _raise(make_session(_USER), **charter)assert isinstance(resp, ExpertChangeProposedResponse)- # Golden vector cross-checked against the frontend's configForName:- # "otto" seeds wide/butter/crown and the violet token maps to lavender.- # A literal, not build_avatar_url(), so a drift in the FNV/LCG- # constants or pick order fails here instead of comparing the- # implementation to itself.- assert resp.preview.avatar_url == "/avatars/wide.lavender.crown.svg"+ # Golden vector cross-checked against the frontend's+ # notionConfigForName: "otto" seeds these ten parts and the violet+ # token maps to lavender. A literal, not build_avatar_url(), so a drift+ # in the FNV/LCG constants, the draw order or the "none" odds fails+ # here instead of comparing the implementation to itself.+ assert (+ resp.preview.avatar_url+ == "/avatars/notion/11-12-11-10-7-0-32-5-0-0.violet.svg"+ )@pytest.mark.asyncio(loop_scope="session")- async def test_raise_rejects_an_unknown_avatar_shape(self):+ async def test_raise_rejects_unknown_avatar_glasses(self):with _env():resp = await _raise(- make_session(_USER), **{**_CHARTER, "avatar_shape": "cube"}+ make_session(_USER), **{**_CHARTER, "avatar_glasses": "monocle"})assert isinstance(resp, ErrorResponse)- assert "avatar_shape" in resp.message+ assert "avatar_glasses" in resp.message@pytest.mark.asyncio(loop_scope="session")- async def test_raise_rejects_an_unknown_avatar_accessory(self):+ async def test_raise_rejects_an_unknown_avatar_beard(self):with _env():resp = await _raise(- make_session(_USER), **{**_CHARTER, "avatar_accessory": "monocle"}+ make_session(_USER), **{**_CHARTER, "avatar_beard": "muttonchops"})assert isinstance(resp, ErrorResponse)- assert "avatar_accessory" in resp.message+ assert "avatar_beard" in resp.message@pytest.mark.asyncio(loop_scope="session")async def test_hire_preview_carries_the_template_tagline(self):diff --git a/autogpt_platform/backend/backend/copilot/tools/raise_expert.py b/autogpt_platform/backend/backend/copilot/tools/raise_expert.pyindex 011150d5be..8c67c0a236 100644--- a/autogpt_platform/backend/backend/copilot/tools/raise_expert.py+++ b/autogpt_platform/backend/backend/copilot/tools/raise_expert.py@@ -26,7 +26,7 @@ from backend.data.db_accessors import experts_dbfrom backend.data.redis_client import get_redis_asyncfrom .base import BaseTool-from .expert_avatar import AVATAR_ACCESSORIES, AVATAR_SHAPES, build_avatar_url+from .expert_avatar import AVATAR_BEARD, AVATAR_GLASSES, AVATAR_HAT, build_avatar_urlfrom .expert_proposal import (ExpertChangeProposal,autopilot_session_guard,@@ -117,18 +117,23 @@ class RaiseExpertTool(BaseTool):"enum": COLOR_TOKENS,"description": ("Accent token for the avatar and chat theme."),},- "avatar_shape": {+ "avatar_glasses": {"type": "string",- "enum": AVATAR_SHAPES,- "description": ("Avatar silhouette; omit for a name-seeded shape."),- },- "avatar_accessory": {- "type": "string",- "enum": AVATAR_ACCESSORIES,+ "enum": list(AVATAR_GLASSES),"description": (- "One accessory suited to their role or personality; omit for a name-seeded choice."+ "Eyewear suited to their role; omit for a name-seeded choice."),},+ "avatar_beard": {+ "type": "string",+ "enum": list(AVATAR_BEARD),+ "description": ("Facial hair; omit for a name-seeded choice."),+ },+ "avatar_hat": {+ "type": "string",+ "enum": list(AVATAR_HAT),+ "description": ("Headwear; omit for a name-seeded choice."),+ },"about": {"type": "string","description": (@@ -163,8 +168,9 @@ class RaiseExpertTool(BaseTool):role: str = "",tagline: str = "",color: str = "",- avatar_shape: str = "",- avatar_accessory: str = "",+ avatar_glasses: str = "",+ avatar_beard: str = "",+ avatar_hat: str = "",about: str = "",boundaries: str = "",voice_preferences: str = "",@@ -185,24 +191,22 @@ class RaiseExpertTool(BaseTool):),session_id=session_id,)- avatar_shape = avatar_shape.strip()- if avatar_shape and avatar_shape not in AVATAR_SHAPES:- return ErrorResponse(- message=(- "Invalid expert charter — avatar_shape must be one of: "- + ", ".join(AVATAR_SHAPES)- ),- session_id=session_id,- )- avatar_accessory = avatar_accessory.strip()- if avatar_accessory and avatar_accessory not in AVATAR_ACCESSORIES:- return ErrorResponse(- message=(- "Invalid expert charter — avatar_accessory must be one of: "- + ", ".join(AVATAR_ACCESSORIES)- ),- session_id=session_id,- )+ avatar_glasses = avatar_glasses.strip()+ avatar_beard = avatar_beard.strip()+ avatar_hat = avatar_hat.strip()+ for field, value, options in (+ ("avatar_glasses", avatar_glasses, AVATAR_GLASSES),+ ("avatar_beard", avatar_beard, AVATAR_BEARD),+ ("avatar_hat", avatar_hat, AVATAR_HAT),+ ):+ if value and value not in options:+ return ErrorResponse(+ message=(+ f"Invalid expert charter — {field} must be one of: "+ + ", ".join(options)+ ),+ session_id=session_id,+ )try:params = _RaiseParams(# Collapsed, not just stripped: the roster block in@@ -266,8 +270,9 @@ class RaiseExpertTool(BaseTool):color=params.color,avatar_url=build_avatar_url(params.name,- shape=avatar_shape or None,- accessory=avatar_accessory or None,+ glasses=avatar_glasses or None,+ beard=avatar_beard or None,+ hat=avatar_hat or None,color_token=params.color or None,),about=soul.identity or "",diff --git a/autogpt_platform/frontend/scripts/vendor-notion-avatar.mjs b/autogpt_platform/frontend/scripts/vendor-notion-avatar.mjsnew file mode 100644index 0000000000..49a147e007--- /dev/null+++ b/autogpt_platform/frontend/scripts/vendor-notion-avatar.mjs@@ -0,0 +1,135 @@+// Regenerates src/components/molecules/NotionAvatar/parts.generated.ts from a+// checkout of github.com/Mayandev/notion-avatar.+//+// node scripts/vendor-notion-avatar.mjs /path/to/notion-avatar+//+// The upstream `preview/` layers are the composable ones: every file is a full+// 1080x1080 artboard, so stacking them in draw order lines the features up.+// (`part/` holds tightly cropped thumbnails for their own picker UI.)++import { readdirSync, readFileSync, writeFileSync, mkdirSync } from "node:fs";+import { dirname, join } from "node:path";+import { fileURLToPath } from "node:url";++const CATEGORIES = [+ "face",+ "nose",+ "mouth",+ "eyes",+ "eyebrows",+ "glasses",+ "hair",+ "accessories",+ "details",+ "beard",+];++const here = dirname(fileURLToPath(import.meta.url));+const outDir = join(+ here,+ "..",+ "src",+ "components",+ "molecules",+ "NotionAvatar",+);+const partsFile = join(outDir, "parts.generated.ts");+const metaFile = join(outDir, "metadata.generated.ts");++const root = process.argv[2];+if (!root) {+ console.error(+ "usage: node scripts/vendor-notion-avatar.mjs <notion-avatar checkout>",+ );+ process.exit(1);+}+const previewDir = join(root, "public", "avatar", "preview");++// Two glasses layers carry <mask> elements referenced by url(#id). Ids have to+// be unique per rendered avatar, so they become a placeholder the renderer+// swaps for a per-instance prefix.+function namespaceIds(markup) {+ return markup+ .replace(/\bid="([^"]+)"/g, (_, id) => `id="{{P}}${id}"`)+ .replace(/url\(#([^)]+)\)/g, (_, id) => `url(#{{P}}${id})`);+}++function innerMarkup(raw) {+ return namespaceIds(+ raw+ .replace(/<\?xml[^>]*\?>/g, "")+ .replace(/<svg[^>]*>/, "")+ .replace(/<\/svg>/, "")+ .replace(/<title>[\s\S]*?<\/title>/g, "")+ .replace(/<desc>[\s\S]*?<\/desc>/g, "")+ .replace(/>\s+</g, "><")+ .replace(/\s{2,}/g, " ")+ .trim(),+ );+}++const parts = {};+for (const category of CATEGORIES) {+ const dir = join(previewDir, category);+ const indices = readdirSync(dir)+ .filter((name) => name.endsWith(".svg"))+ .map((name) => Number(name.replace(".svg", "")))+ .sort((a, b) => a - b);+ if (indices.some((value, position) => value !== position)) {+ throw new Error(`${category}: expected contiguous indices from 0`);+ }+ parts[category] = indices.map((index) =>+ innerMarkup(readFileSync(join(dir, `${index}.svg`), "utf8")),+ );+}++const banner = `// Generated by scripts/vendor-notion-avatar.mjs — do not edit by hand.+// Artwork: the "Noto avatar" pack by Felix Wong, CC0. Layers vendored from+// github.com/Mayandev/notion-avatar (MIT). See ./NOTICE.+`;++// Names and counts live apart from the markup: every avatar needs them to+// build a URL, but only the code that actually draws a face should have to+// pull in a few hundred kilobytes of paths.+const metaSource = `${banner}+export const NOTION_CATEGORIES = [+${CATEGORIES.map((category) => ` "${category}",`).join("\n")}+] as const;++export type NotionCategory = (typeof NOTION_CATEGORIES)[number];++/** Side of the square artboard every layer is drawn on. */+export const VIEWBOX = 1080;++export const NOTION_PART_COUNTS: Record<NotionCategory, number> = {+${CATEGORIES.map((category) => ` ${category}: ${parts[category].length},`).join("\n")}+};+`;++const body = CATEGORIES.map(+ (category) =>+ ` ${category}: [\n${parts[category]+ .map((markup) => ` ${JSON.stringify(markup)},`)+ .join("\n")}\n ],`,+).join("\n");++const partsSource = `${banner}+// Each entry is the inner markup of one 1080x1080 layer. "{{P}}" marks an id+// that must be prefixed per rendered avatar; composeNotionAvatar does this.++import type { NotionCategory } from "./metadata.generated";++export const NOTION_PARTS: Record<NotionCategory, string[]> = {+${body}+};+`;++mkdirSync(outDir, { recursive: true });+writeFileSync(metaFile, metaSource);+writeFileSync(partsFile, partsSource);++const total = CATEGORIES.reduce((sum, c) => sum + parts[c].length, 0);+console.log(+ CATEGORIES.map((c) => `${c}=${parts[c].length}`).join(" "),+ `\ntotal=${total} parts=${partsSource.length}B meta=${metaSource.length}B`,+);diff --git a/autogpt_platform/frontend/src/app/(no-navbar)/onboarding/steps/BrainDumpStep/components/MicButton.tsx b/autogpt_platform/frontend/src/app/(no-navbar)/onboarding/steps/BrainDumpStep/components/MicButton.tsxindex c3bda1c254..62586aa222 100644--- a/autogpt_platform/frontend/src/app/(no-navbar)/onboarding/steps/BrainDumpStep/components/MicButton.tsx+++ b/autogpt_platform/frontend/src/app/(no-navbar)/onboarding/steps/BrainDumpStep/components/MicButton.tsx@@ -1,13 +1,10 @@"use client";-import { BotAvatar } from "@/components/molecules/BotAvatar/BotAvatar";+import { AutopilotAvatar } from "@/components/molecules/AutopilotAvatar/AutopilotAvatar";import {- AUTOPILOT_AVATAR,- type AvatarStatus,- findColor,- findShape,- VIEWBOX,-} from "@/components/molecules/BotAvatar/helpers";+ AUTOPILOT_AURA_COLORS,+ AUTOPILOT_DOT_COLOR,+} from "@/components/molecules/AutopilotAvatar/helpers";import {animate,type AnimationPlaybackControls,@@ -25,14 +22,9 @@ import { DOT, VoiceDots } from "./VoiceDots";export type OrbScreen = "rest" | "recording" | "processing" | "failed";const AVATAR_SIZE = 160;-const ANCHORS = findShape(AUTOPILOT_AVATAR.shape).anchors;-const SCALE = AVATAR_SIZE / VIEWBOX;-// The body collapses into, and grows back out of, its own centre.-const CENTRE = {- x: ANCHORS.cx * SCALE,- y: ((ANCHORS.top + ANCHORS.bottom) / 2) * SCALE,-};-const DOT_COLOR = findColor(AUTOPILOT_AVATAR.color).body;+// The body collapses into, and grows back out of, the middle of its disc.+const CENTRE = { x: AVATAR_SIZE / 2, y: AVATAR_SIZE / 2 };+const DOT_COLOR = AUTOPILOT_DOT_COLOR;// Quick and near-critically damped: fast in, a whisper of settle, no wobble.const COLLAPSE = {type: "spring",@@ -48,23 +40,14 @@ const SPLIT = {} as const;// A full tumble on the avatar's pitch axis, overlapping the fold so the// body is mid-flip as it becomes the dot.-const TUMBLE = { duration: 0.45, ease: [0.32, 0.72, 0, 1] } as const;const REDUCED = { duration: 0.15 } as const;// The next stage starts this soon after the previous one begins, so the// stages overlap instead of waiting for each bounce to die down.const OVERLAP_MS = 120;-const STATUS_BY_SCREEN: Record<OrbScreen, AvatarStatus> = {- rest: "idle",- recording: "idle",- processing: "working",- failed: "failed",-};-interface Props {screen: OrbScreen;audioStream: MediaStream | null;- outline?: boolean;// Fakes a voice so the dots can be seen moving without a microphone.simulateVoice?: boolean;}@@ -77,7 +60,6 @@ interface Props {export function MicButton({screen,audioStream,- outline = false,simulateVoice = false,}: Props) {const isRecording = screen === "recording";@@ -88,16 +70,9 @@ export function MicButton({const collapse = useMotionValue(0);const split = useMotionValue(0);- const pitch = useMotionValue(0);- // The avatar re-projects its face from this on every frame of a tumble.- const [pitchOffset, setPitchOffset] = useState(0);const [isFolding, setIsFolding] = useState(false);useEffect(() => {- if (reduceMotion) {- pitch.set(0);- setPitchOffset(0);- }const target = isRecording ? 1 : 0;if (collapse.get() === target && split.get() === target) {setIsFolding(false);@@ -111,22 +86,12 @@ export function MicButton({running.push(controls);return controls;};- const tumble = (direction: 1 | -1) => {- if (reduceMotion) return;- running.push(- animate(pitch, direction === 1 ? Math.PI * 2 : 0, {- ...TUMBLE,- onUpdate: (value) => setPitchOffset(value),- }),- );- };const pause = () =>new Promise<void>((resolve) => {pauseTimer = setTimeout(resolve, OVERLAP_MS);});async function fold() {setIsFolding(true);- tumble(1);step(collapse, 1, COLLAPSE).then(() => {if (!cancelled) setIsFolding(false);});@@ -139,7 +104,6 @@ export function MicButton({await pause();if (cancelled) return;setIsFolding(true);- tumble(-1);step(collapse, 0, COLLAPSE).then(() => {if (!cancelled) setIsFolding(false);});@@ -150,7 +114,7 @@ export function MicButton({clearTimeout(pauseTimer);running.forEach((controls) => controls.stop());};- }, [isRecording, reduceMotion, collapse, split, pitch]);+ }, [isRecording, reduceMotion, collapse, split]);const bodyScale = useTransform(collapse, [0, 1], [1, DOT / AVATAR_SIZE]);const bodyOpacity = useTransform(collapse, [0, 0.55, 1], [1, 1, 0]);@@ -158,7 +122,7 @@ export function MicButton({return (<div data-testid="autopilot-avatar" data-screen={screen}><VoiceAura- config={AUTOPILOT_AVATAR}+ colors={AUTOPILOT_AURA_COLORS}size={AVATAR_SIZE}levels={levels}isActive={isFolding && !reduceMotion}@@ -171,14 +135,7 @@ export function MicButton({willChange: "transform, opacity",}}>- <BotAvatar- config={AUTOPILOT_AVATAR}- status={STATUS_BY_SCREEN[screen]}- size={AVATAR_SIZE}- poseOffset={{ pitch: pitchOffset }}- outline={outline}- showBadge={false}- />+ <AutopilotAvatar size={AVATAR_SIZE} /></motion.div><VoiceDotslevels={levels}diff --git a/autogpt_platform/frontend/src/app/(no-navbar)/onboarding/steps/BrainDumpStep/components/VoiceAura.tsx b/autogpt_platform/frontend/src/app/(no-navbar)/onboarding/steps/BrainDumpStep/components/VoiceAura.tsxindex ebafc92508..c2e031c72b 100644--- a/autogpt_platform/frontend/src/app/(no-navbar)/onboarding/steps/BrainDumpStep/components/VoiceAura.tsx+++ b/autogpt_platform/frontend/src/app/(no-navbar)/onboarding/steps/BrainDumpStep/components/VoiceAura.tsx@@ -1,6 +1,5 @@"use client";-import type { AvatarConfig } from "@/components/molecules/BotAvatar/helpers";import type { MotionValue } from "framer-motion";import { type ReactNode, useRef } from "react";import {@@ -12,7 +11,8 @@ import {import { VoiceStreaks } from "./VoiceStreaks";interface Props {- config: AvatarConfig;+ /** Light and mid tones the comets are drawn in. */+ colors: [string, string];size: number;levels: MotionValue<number>[];isActive: boolean;@@ -21,11 +21,11 @@ interface Props {// Wraps an avatar in its voice streaks: one canvas behind it, one in front,// so the comets orbit the body in depth. The avatar goes in as children.-export function VoiceAura({ config, size, levels, isActive, children }: Props) {+export function VoiceAura({ colors, size, levels, isActive, children }: Props) {const fieldRef = useRef<{ key: string; field: StreakField } | null>(null);- const key = `${config.shape}.${config.color}.${size}`;+ const key = `${colors[0]}.${colors[1]}.${size}`;if (fieldRef.current === null || fieldRef.current.key !== key) {- fieldRef.current = { key, field: createStreakField(config, size) };+ fieldRef.current = { key, field: createStreakField(colors, size) };}const storeRef = useRef<StreakStore | null>(null);if (storeRef.current === null) storeRef.current = createStreakStore();diff --git a/autogpt_platform/frontend/src/app/(no-navbar)/onboarding/steps/BrainDumpStep/components/__tests__/MicButton.test.tsx b/autogpt_platform/frontend/src/app/(no-navbar)/onboarding/steps/BrainDumpStep/components/__tests__/MicButton.test.tsxindex b8d1b67a21..05386ca1f2 100644--- a/autogpt_platform/frontend/src/app/(no-navbar)/onboarding/steps/BrainDumpStep/components/__tests__/MicButton.test.tsx+++ b/autogpt_platform/frontend/src/app/(no-navbar)/onboarding/steps/BrainDumpStep/components/__tests__/MicButton.test.tsx@@ -56,21 +56,6 @@ vi.mock("../VoiceAura", () => ({</div>),}));-vi.mock("@/components/molecules/BotAvatar/BotAvatar", () => ({- BotAvatar: ({- status,- poseOffset,- }: {- status: string;- poseOffset: { pitch: number };- }) => (- <span- data-testid="face"- data-status={status}- data-pitch={poseOffset.pitch}- />- ),-}));beforeEach(() => {vi.useFakeTimers();state.reduced = false;@@ -116,30 +101,26 @@ describe("microphone folding", () => {it("folds into listening dots and unfolds to a neutral face", async () => {const { rerender } = render(<MicButton screen="rest" audioStream={null} />);rerender(<MicButton screen="recording" audioStream={null} />);- expect(state.animations.map((item) => item.target)).toEqual([- Math.PI * 2,- 1,- ]);+ expect(state.animations.map((item) => item.target)).toEqual([1]);expect(screen.getByTestId("fold-wave").getAttribute("data-active")).toBe("yes",);await overlap();- expect(state.animations).toHaveLength(3);- await finish(state.animations.slice(0, 2));+ expect(state.animations).toHaveLength(2);+ await finish(state.animations.slice(0, 1));expect(screen.getByTestId("fold-wave").getAttribute("data-active")).toBe("no",);- await finish(state.animations.slice(2));+ await finish(state.animations.slice(1));expect(screen.getByTestId("fold-wave").getAttribute("data-active")).toBe("no",);rerender(<MicButton screen="rest" audioStream={null} />);await overlap();- expect(state.animations.slice(3).map((item) => item.target)).toEqual([- 0, 0, 0,+ expect(state.animations.slice(2).map((item) => item.target)).toEqual([+ 0, 0,]);- await finish(state.animations.slice(3));- expect(screen.getByTestId("face").getAttribute("data-pitch")).toBe("0");+ await finish(state.animations.slice(2));expect(screen.getByTestId("fold-wave").getAttribute("data-active")).toBe("no",);@@ -150,7 +131,7 @@ describe("microphone folding", () => {<MicButton screen="recording" audioStream={null} />,);const folding = [...state.animations];- act(() => folding[1].value.set(0.5));+ act(() => folding[0].value.set(0.5));rerender(<MicButton screen="rest" audioStream={null} />);await overlap();expect(folding.every((item) => item.stop.mock.calls.length === 1)).toBe(@@ -159,37 +140,33 @@ describe("microphone folding", () => {expect(state.animations.filter((item) => item.target === 1)).toHaveLength(1,);- await finish(state.animations.slice(2));- expect(screen.getByTestId("face").getAttribute("data-pitch")).toBe("0");+ await finish(state.animations.slice(1));unmount();expect(state.animations.every((item) => item.stop.mock.calls.length > 0),).toBe(true);});- it("uses reduced-motion transitions and resets a partially turned face", async () => {+ it("uses reduced-motion transitions for a fold already under way", async () => {const { rerender } = render(<MicButton screen="recording" audioStream={null} />,);act(() => {- state.animations[0].value.set(Math.PI);- state.animations[0].options.onUpdate?.(Math.PI);- state.animations[1].value.set(0.5);+ state.animations[0].value.set(0.5);});state.reduced = true;rerender(<MicButton screen="rest" audioStream={null} />);await overlap();expect(- state.animations.slice(2).every((item) => item.options.duration === 0.15),+ state.animations.slice(1).every((item) => item.options.duration === 0.15),).toBe(true);- await finish(state.animations.slice(2));- expect(screen.getByTestId("face").getAttribute("data-pitch")).toBe("0");+ await finish(state.animations.slice(1));rerender(<MicButton screen="recording" audioStream={null} />);await overlap();expect(- state.animations.slice(4).every((item) => item.options.duration === 0.15),+ state.animations.slice(3).every((item) => item.options.duration === 0.15),).toBe(true);- await finish(state.animations.slice(4));+ await finish(state.animations.slice(3));const count = state.animations.length;state.reduced = false;rerender(<MicButton screen="recording" audioStream={null} />);diff --git a/autogpt_platform/frontend/src/app/(no-navbar)/onboarding/steps/BrainDumpStep/components/__tests__/VoiceStreaks.test.tsx b/autogpt_platform/frontend/src/app/(no-navbar)/onboarding/steps/BrainDumpStep/components/__tests__/VoiceStreaks.test.tsxindex bee2522c51..7f617daccc 100644--- a/autogpt_platform/frontend/src/app/(no-navbar)/onboarding/steps/BrainDumpStep/components/__tests__/VoiceStreaks.test.tsx+++ b/autogpt_platform/frontend/src/app/(no-navbar)/onboarding/steps/BrainDumpStep/components/__tests__/VoiceStreaks.test.tsx@@ -4,7 +4,7 @@ import { afterEach, beforeEach, describe, expect, it, vi } from "vitest";import { createStreakStore, type StreakField } from "../streaks";import { VoiceStreaks } from "../VoiceStreaks";import { VoiceAura } from "../VoiceAura";-import { AUTOPILOT_AVATAR } from "@/components/molecules/BotAvatar/helpers";+import { AUTOPILOT_AURA_COLORS } from "@/components/molecules/AutopilotAvatar/helpers";const field: StreakField = {size: 160,@@ -174,14 +174,19 @@ describe("VoiceStreaks lifecycle", () => {it("keeps the voice aura layers around their child and resizes with the avatar", () => {const levels = [motionValue(0.5)];const { container, rerender } = render(- <VoiceAura config={AUTOPILOT_AVATAR} size={160} levels={levels} isActive>+ <VoiceAura+ colors={AUTOPILOT_AURA_COLORS}+ size={160}+ levels={levels}+ isActive+ ><span>Avatar</span></VoiceAura>,);expect(container.querySelectorAll("canvas")).toHaveLength(2);rerender(<VoiceAura- config={AUTOPILOT_AVATAR}+ colors={AUTOPILOT_AURA_COLORS}size={160}levels={[...levels]}isActive@@ -192,7 +197,7 @@ it("keeps the voice aura layers around their child and resizes with the avatar",expect(container.textContent).toBe("Avatar");rerender(<VoiceAura- config={{ ...AUTOPILOT_AVATAR, color: "coral" }}+ colors={["#a5f3fc", "#0891b2"]}size={320}levels={levels}isActivediff --git a/autogpt_platform/frontend/src/app/(no-navbar)/onboarding/steps/BrainDumpStep/components/__tests__/streaks.test.ts b/autogpt_platform/frontend/src/app/(no-navbar)/onboarding/steps/BrainDumpStep/components/__tests__/streaks.test.tsindex b59409f930..b2281ab61e 100644--- a/autogpt_platform/frontend/src/app/(no-navbar)/onboarding/steps/BrainDumpStep/components/__tests__/streaks.test.ts+++ b/autogpt_platform/frontend/src/app/(no-navbar)/onboarding/steps/BrainDumpStep/components/__tests__/streaks.test.ts@@ -1,8 +1,5 @@import { afterEach, describe, expect, it, vi } from "vitest";-import {- AUTOPILOT_AVATAR,- SHAPES,-} from "@/components/molecules/BotAvatar/helpers";+import { AUTOPILOT_AURA_COLORS } from "@/components/molecules/AutopilotAvatar/helpers";import {advanceStreaks,bodyRadiusAt,@@ -13,10 +10,8 @@ import {hexToRgb,makeStreakPair,MAX_STREAKS,- measureBodyProfile,orbitPoint,project,- smoothProfile,spawnRate,tailFor,tailSpan,@@ -28,65 +23,37 @@ afterEach(() => {});describe("streak geometry", () => {- it.each(SHAPES)(- "fits a finite orbit around $id with a canvas-free fallback",- (shape) => {- vi.spyOn(HTMLCanvasElement.prototype, "getContext").mockReturnValue(null);- const field = createStreakField(- { ...AUTOPILOT_AVATAR, shape: shape.id },- 160,- );- expect(field.box).toBe(240);- expect(field.profile).toHaveLength(72);- expect(- field.profile.every((radius) => Number.isFinite(radius) && radius > 0),- ).toBe(true);- const [first, second] = makeStreakPair(field, 7, 0.8, 100, () => 0.25);- expect(first.id).toBe(7);- expect(second.id).toBe(8);- expect(first.sweep).toBe(-second.sweep);- expect(first.tilt).toBe(-second.tilt);- expect(first.bornAt).toBe(second.bornAt);- for (const streak of [first, second]) {- for (const angle of [0, Math.PI / 2, Math.PI, -Math.PI / 2]) {- const point = orbitPoint(streak, angle);- expect(Math.hypot(point.x, point.y, point.z)).toBeCloseTo(1);- const projected = project(field, streak, point);- expect(projected.scale).toBeGreaterThanOrEqual(0.75);- expect(projected.scale).toBeLessThanOrEqual(1.25);- expect(Number.isFinite(projected.x + projected.y)).toBe(true);- }+ it("fits a finite orbit around the avatar's disc", () => {+ const field = createStreakField(AUTOPILOT_AURA_COLORS, 160);+ expect(field.box).toBe(240);+ expect(field.profile).toHaveLength(72);+ expect(field.profile.every((radius) => radius === 80)).toBe(true);+ const [first, second] = makeStreakPair(field, 7, 0.8, 100, () => 0.25);+ expect(first.id).toBe(7);+ expect(second.id).toBe(8);+ expect(first.sweep).toBe(-second.sweep);+ expect(first.tilt).toBe(-second.tilt);+ expect(first.bornAt).toBe(second.bornAt);+ for (const streak of [first, second]) {+ for (const angle of [0, Math.PI / 2, Math.PI, -Math.PI / 2]) {+ const point = orbitPoint(streak, angle);+ expect(Math.hypot(point.x, point.y, point.z)).toBeCloseTo(1);+ const projected = project(field, streak, point);+ expect(projected.scale).toBeGreaterThanOrEqual(0.75);+ expect(projected.scale).toBeLessThanOrEqual(1.25);+ expect(Number.isFinite(projected.x + projected.y)).toBe(true);}- expect(bodyRadiusAt(field, 0)).toBeCloseTo(- bodyRadiusAt(field, Math.PI * 2),- );- expect(bodyRadiusAt(field, -0.2)).toBeCloseTo(- bodyRadiusAt(field, Math.PI * 2 - 0.2),- );- },- );-- it("measures a path against its canvas outline", () => {- vi.stubGlobal("Path2D", class {});- const isPointInPath = vi.fn(- (_path: unknown, x: number, y: number) =>- Math.hypot(x - 60, y - 60) <= 30,+ }+ expect(bodyRadiusAt(field, 0)).toBeCloseTo(+ bodyRadiusAt(field, Math.PI * 2),);- vi.spyOn(HTMLCanvasElement.prototype, "getContext").mockReturnValue({- isPointInPath,- } as unknown as CanvasRenderingContext2D);- const profile = measureBodyProfile(- "M0 0",- { x: 60, y: 60 },- { width: 80, top: 20, bottom: 100 },+ expect(bodyRadiusAt(field, -0.2)).toBeCloseTo(+ bodyRadiusAt(field, Math.PI * 2 - 0.2),);- expect(isPointInPath).toHaveBeenCalled();- for (const radius of profile) expect(radius).toBeCloseTo(30, 3);- expect(smoothProfile(Array(72).fill(30))).toEqual(Array(72).fill(30));});it("grows and fades the tail smoothly over a complete lap", () => {- const field = createStreakField(AUTOPILOT_AVATAR, 160);+ const field = createStreakField(AUTOPILOT_AURA_COLORS, 160);const [streak] = makeStreakPair(field, 0, 1, 0, () => 0.75);expect(headAngle(streak, 0)).toBe(streak.start);expect(headAngle(streak, 1)).toBeCloseTo(streak.start + streak.sweep);@@ -110,7 +77,7 @@ describe("streak geometry", () => {describe("streak spawning", () => {it("bounds work after a long background pause and reclaims expired slots first", () => {- const field = createStreakField(AUTOPILOT_AVATAR, 160);+ const field = createStreakField(AUTOPILOT_AURA_COLORS, 160);const store = createStreakStore();for (let id = 0; id < MAX_STREAKS; id += 2)store.streaks.push(...makeStreakPair(field, id, 1, 1));@@ -126,7 +93,7 @@ describe("streak spawning", () => {});it("drops excess demand when full, never exceeds capacity, and handles backward time", () => {- const field = createStreakField(AUTOPILOT_AVATAR, 160);+ const field = createStreakField(AUTOPILOT_AURA_COLORS, 160);const store = createStreakStore();store.budget = 1e12;advanceStreaks(store, field, 1, 1000);diff --git a/autogpt_platform/frontend/src/app/(no-navbar)/onboarding/steps/BrainDumpStep/components/streaks.ts b/autogpt_platform/frontend/src/app/(no-navbar)/onboarding/steps/BrainDumpStep/components/streaks.tsindex d07869e7cd..e0932953b8 100644--- a/autogpt_platform/frontend/src/app/(no-navbar)/onboarding/steps/BrainDumpStep/components/streaks.ts+++ b/autogpt_platform/frontend/src/app/(no-navbar)/onboarding/steps/BrainDumpStep/components/streaks.ts@@ -3,27 +3,14 @@// tilted circle around the body's centre; the comet passes behind the// avatar on the far side and in front on the near side.-import {- type AvatarConfig,- findColor,- findShape,- VIEWBOX,-} from "@/components/molecules/BotAvatar/helpers";-export const MAX_STREAKS = 10;-// Gap between the body's outline and the orbit, in viewBox units.-const CLEARANCE_MIN = 9;-const CLEARANCE_MAX = 13;-// Directions sampled around the body when measuring its outline.+// Gap between the avatar's edge and the orbit, as a fraction of its radius.+const CLEARANCE_MIN = 0.15;+const CLEARANCE_MAX = 0.22;+// Directions sampled around the body. The avatar is a disc, so every sample+// is the same radius — the array is kept so the orbit maths stays general.const PROFILE_STEPS = 72;-// Furthest a ray from the centre can travel and still be inside any shape.-const PROFILE_REACH = 80;-// Smoothing of the measured outline, in samples either side (5° each): the-// orbit must clear a corner without copying its kink.-const PROFILE_DILATE = 2;-const PROFILE_BLUR = 3;-const PROFILE_BLUR_PASSES = 2;// Projected ellipse is about 40% as wide as it is long.const ORBIT_TILT = 0.42;// How strongly depth changes apparent size: the near side reads about 25%@@ -32,16 +19,14 @@ const PERSPECTIVE = 0.25;// Orbit angle at which the comet is furthest behind the head.const BEHIND = (3 * Math.PI) / 2;-// Everything about the space the comets fly in, derived from the avatar they-// orbit: centred on the body itself (not the box — the dome sits low in its-// viewBox), following the body's actual outline, scaled to the rendered-// size, wearing the avatar's own lighter tones.+// Everything about the space the comets fly in: centred on the avatar, just+// outside its disc, wearing whatever two tones it was given.export interface StreakField {size: number;pad: number;box: number;centre: { x: number; y: number };- // Distance from the centre to the body's edge, in px, for PROFILE_STEPS+ // Distance from the centre to the avatar's edge, in px, for PROFILE_STEPS// evenly spaced directions starting at 3 o'clock and going clockwise.profile: number[];clearanceMin: number;@@ -50,101 +35,23 @@ export interface StreakField {}export function createStreakField(- config: AvatarConfig,+ colors: [string, string],size: number,): StreakField {- const shape = findShape(config.shape);- const color = findColor(config.color);- const scale = size / VIEWBOX;- const centre = {- x: shape.anchors.cx,- y: (shape.anchors.top + shape.anchors.bottom) / 2,- };+ const radius = size / 2;const pad = size / 4;return {size,pad,box: size + pad * 2,- centre: { x: centre.x * scale, y: centre.y * scale },- profile: smoothProfile(- measureBodyProfile(shape.path, centre, shape.anchors),- ).map((radius) => radius * scale),- clearanceMin: CLEARANCE_MIN * scale,- clearanceMax: CLEARANCE_MAX * scale,- colors: [color.light, color.body],+ centre: { x: radius, y: radius },+ profile: Array.from({ length: PROFILE_STEPS }, () => radius),+ clearanceMin: CLEARANCE_MIN * radius,+ clearanceMax: CLEARANCE_MAX * radius,+ colors,};}-// Casts a ray from the centre in each direction and finds where it leaves-// the body, using the shape's own path. Without a canvas (server, tests) it-// falls back to the ellipse the anchors describe.-export function measureBodyProfile(- path: string,- centre: { x: number; y: number },- anchors: { width: number; top: number; bottom: number },-): number[] {- const halfWidth = anchors.width / 2;- const halfHeight = (anchors.bottom - anchors.top) / 2;- const context =- typeof document === "undefined"- ? null- : document.createElement("canvas").getContext("2d");- const outline =- context && typeof Path2D !== "undefined" ? new Path2D(path) : null;-- return Array.from({ length: PROFILE_STEPS }, (_, step) => {- const angle = (step / PROFILE_STEPS) * Math.PI * 2;- const cos = Math.cos(angle);- const sin = Math.sin(angle);- if (!context || !outline) {- return (- (halfWidth * halfHeight) / Math.hypot(halfHeight * cos, halfWidth * sin)- );- }- let inside = 0;- let outside = PROFILE_REACH;- for (let iteration = 0; iteration < 20; iteration++) {- const middle = (inside + outside) / 2;- const hit = context.isPointInPath(- outline,- centre.x + cos * middle,- centre.y + sin * middle,- );- if (hit) inside = middle;- else outside = middle;- }- return inside;- });-}--// Pushes the outline out to cover nearby corners, then rounds it off, so the-// orbit is one smooth loop that still stays outside every part of the body.-export function smoothProfile(profile: number[]): number[] {- const steps = profile.length;- const at = (values: number[], index: number) =>- values[((index % steps) + steps) % steps];- const dilated = profile.map((_, index) => {- let widest = 0;- for (let offset = -PROFILE_DILATE; offset <= PROFILE_DILATE; offset++) {- widest = Math.max(widest, at(profile, index + offset));- }- return widest;- });- let smoothed = dilated;- for (let pass = 0; pass < PROFILE_BLUR_PASSES; pass++) {- const source = smoothed;- smoothed = source.map((_, index) => {- let sum = 0;- for (let offset = -PROFILE_BLUR; offset <= PROFILE_BLUR; offset++) {- sum += at(source, index + offset);- }- return sum / (PROFILE_BLUR * 2 + 1);- });- }- return smoothed;-}--// Body edge distance in a direction, interpolated between measured samples.export function bodyRadiusAt(field: StreakField, angle: number) {const steps = field.profile.length;const turns = (((angle / (Math.PI * 2)) % 1) + 1) % 1;diff --git a/autogpt_platform/frontend/src/app/(no-navbar)/onboarding/steps/ConnectStep/ConnectStep.tsx b/autogpt_platform/frontend/src/app/(no-navbar)/onboarding/steps/ConnectStep/ConnectStep.tsxindex 333e1f8677..11782e094b 100644--- a/autogpt_platform/frontend/src/app/(no-navbar)/onboarding/steps/ConnectStep/ConnectStep.tsx+++ b/autogpt_platform/frontend/src/app/(no-navbar)/onboarding/steps/ConnectStep/ConnectStep.tsx@@ -4,8 +4,7 @@ import { Button } from "@/components/atoms/Button/Button";import { FadeIn } from "@/components/atoms/FadeIn/FadeIn";import { Text } from "@/components/atoms/Text/Text";import { DeviceAuthConnectButton } from "@/components/contextual/DeviceAuth/DeviceAuthConnectButton";-import { BotAvatar } from "@/components/molecules/BotAvatar/BotAvatar";-import { AUTOPILOT_AVATAR } from "@/components/molecules/BotAvatar/helpers";+import { AutopilotAvatar } from "@/components/molecules/AutopilotAvatar/AutopilotAvatar";import { ProviderBox } from "./components/ProviderBox";import { useConnectStep } from "./useConnectStep";@@ -35,13 +34,7 @@ export function ConnectStep() {<FadeIn><div className="flex w-full max-w-2xl flex-col items-center gap-8 px-4"><div className="flex flex-col items-center gap-4 text-center">- <BotAvatar- config={AUTOPILOT_AVATAR}- status="idle"- size={120}- trackPointer- showBadge={false}- />+ <AutopilotAvatar size={120} /><Text variant="h4" as="h1">Already paying for an AI subscription?</Text>diff --git a/autogpt_platform/frontend/src/app/(no-navbar)/onboarding/steps/HireStep/HireStep.tsx b/autogpt_platform/frontend/src/app/(no-navbar)/onboarding/steps/HireStep/HireStep.tsxindex e598f38d53..5d10aadf77 100644--- a/autogpt_platform/frontend/src/app/(no-navbar)/onboarding/steps/HireStep/HireStep.tsx+++ b/autogpt_platform/frontend/src/app/(no-navbar)/onboarding/steps/HireStep/HireStep.tsx@@ -4,8 +4,7 @@ import { Button } from "@/components/atoms/Button/Button";import { FadeIn } from "@/components/atoms/FadeIn/FadeIn";import { Skeleton } from "@/components/atoms/Skeleton/Skeleton";import { Text } from "@/components/atoms/Text/Text";-import { BotAvatar } from "@/components/molecules/BotAvatar/BotAvatar";-import { AUTOPILOT_AVATAR } from "@/components/molecules/BotAvatar/helpers";+import { AutopilotAvatar } from "@/components/molecules/AutopilotAvatar/AutopilotAvatar";import { cn } from "@/lib/utils";import { useRef } from "react";import {@@ -38,13 +37,7 @@ export function HireStep() {<FadeIn><div className="flex w-full flex-col items-center gap-8 px-4"><div className="mx-auto flex w-full max-w-lg flex-col items-center gap-4 px-4 text-center">- <BotAvatar- config={AUTOPILOT_AVATAR}- status={step.isPending ? "working" : "idle"}- size={120}- trackPointer- showBadge={false}- />+ <AutopilotAvatar size={120} /><Text variant="h4" as="h1">{hireTitle(step.team, step.isPending)}</Text>diff --git a/autogpt_platform/frontend/src/app/(no-navbar)/onboarding/steps/IntroStep/__tests__/IntroStep.test.tsx b/autogpt_platform/frontend/src/app/(no-navbar)/onboarding/steps/IntroStep/__tests__/IntroStep.test.tsxindex 8b0a723906..97e0dd2bd7 100644--- a/autogpt_platform/frontend/src/app/(no-navbar)/onboarding/steps/IntroStep/__tests__/IntroStep.test.tsx+++ b/autogpt_platform/frontend/src/app/(no-navbar)/onboarding/steps/IntroStep/__tests__/IntroStep.test.tsx@@ -22,4 +22,14 @@ describe("IntroStep", () => {screen.getByRole("heading", { name: INTRO_SLIDES.autopilot.title }),).toBeDefined();});++ it("draws each non-idle team member's status dot", () => {+ render(<IntroStep slide="team" />);+ const dots = screen+ .getAllByTestId("status-dot")+ .map((dot) => dot.getAttribute("data-status"));+ expect(dots).toEqual(+ expect.arrayContaining(["working", "thinking", "done"]),+ );+ });});diff --git a/autogpt_platform/frontend/src/app/(no-navbar)/onboarding/steps/IntroStep/components/AutopilotScene.tsx b/autogpt_platform/frontend/src/app/(no-navbar)/onboarding/steps/IntroStep/components/AutopilotScene.tsxindex 99853c549c..e4c6204af1 100644--- a/autogpt_platform/frontend/src/app/(no-navbar)/onboarding/steps/IntroStep/components/AutopilotScene.tsx+++ b/autogpt_platform/frontend/src/app/(no-navbar)/onboarding/steps/IntroStep/components/AutopilotScene.tsx@@ -1,7 +1,6 @@import { Icon } from "@/components/atoms/Icon/Icon";import { Text } from "@/components/atoms/Text/Text";-import { BotAvatar } from "@/components/molecules/BotAvatar/BotAvatar";-import { AUTOPILOT_AVATAR } from "@/components/molecules/BotAvatar/helpers";+import { AutopilotAvatar } from "@/components/molecules/AutopilotAvatar/AutopilotAvatar";import { ArrowRight01Icon } from "@hugeicons/core-free-icons";import { motion } from "framer-motion";@@ -26,14 +25,7 @@ export function AutopilotScene() {animate={{ opacity: 1, y: 0, scale: 1 }}transition={{ duration: 0.6, ease: EASE }}>- <BotAvatar- config={AUTOPILOT_AVATAR}- status="done"- expression="big"- size={120}- trackPointer- showBadge={false}- />+ <AutopilotAvatar size={120} /></motion.div><div className="flex flex-col items-center gap-3">diff --git a/autogpt_platform/frontend/src/app/(no-navbar)/onboarding/steps/IntroStep/components/TeamScene.tsx b/autogpt_platform/frontend/src/app/(no-navbar)/onboarding/steps/IntroStep/components/TeamScene.tsxindex 20e5d9f931..38c6e2c364 100644--- a/autogpt_platform/frontend/src/app/(no-navbar)/onboarding/steps/IntroStep/components/TeamScene.tsx+++ b/autogpt_platform/frontend/src/app/(no-navbar)/onboarding/steps/IntroStep/components/TeamScene.tsx@@ -1,15 +1,16 @@-import { BotAvatar } from "@/components/molecules/BotAvatar/BotAvatar";+import { AutopilotAvatar } from "@/components/molecules/AutopilotAvatar/AutopilotAvatar";+import type { AvatarStatus } from "@/components/molecules/NotionAvatar/status";import {- AUTOPILOT_AVATAR,- type AvatarConfig,- type AvatarStatus,-} from "@/components/molecules/BotAvatar/helpers";+ notionConfigForName,+ type NotionColorId,+} from "@/components/molecules/NotionAvatar/helpers";+import { NotionAvatarImage } from "@/components/molecules/NotionAvatar/NotionAvatarImage";import { motion } from "framer-motion";-import { facing } from "../helpers";interface Member {name: string;- config: AvatarConfig;+ /** Otto keeps his own drawing; everyone else gets a name-seeded face. */+ color?: NotionColorId;status: AvatarStatus;size: number;x: number;@@ -24,7 +25,6 @@ const CORNER = 10;const TEAM: Member[] = [{name: "Otto",- config: AUTOPILOT_AVATAR,status: "idle",size: 104,x: 210,@@ -32,7 +32,7 @@ const TEAM: Member[] = [},{name: "Ops",- config: { shape: "squircle", color: "mint", accessory: "headset" },+ color: "emerald",status: "working",size: 84,x: 105,@@ -41,7 +41,7 @@ const TEAM: Member[] = [},{name: "Research",- config: { shape: "round", color: "sky", accessory: "glasses" },+ color: "sky",status: "thinking",size: 84,x: 210,@@ -50,7 +50,7 @@ const TEAM: Member[] = [},{name: "Marketing",- config: { shape: "bean", color: "coral", accessory: "bow" },+ color: "orange",status: "done",size: 84,x: 315,@@ -59,7 +59,7 @@ const TEAM: Member[] = [},{name: "Finance",- config: { shape: "wide", color: "amber", accessory: "badge" },+ color: "amber",status: "idle",size: 72,x: 52,@@ -68,7 +68,7 @@ const TEAM: Member[] = [},{name: "Support",- config: { shape: "dome", color: "plum", accessory: "flower" },+ color: "rose",status: "working",size: 72,x: 158,@@ -77,7 +77,7 @@ const TEAM: Member[] = [},{name: "Sales",- config: { shape: "round", color: "indigo", accessory: "star" },+ color: "indigo",status: "idle",size: 72,x: 262,@@ -86,7 +86,7 @@ const TEAM: Member[] = [},{name: "Design",- config: { shape: "squircle", color: "butter", accessory: "headband" },+ color: "yellow",status: "thinking",size: 72,x: 368,@@ -102,10 +102,6 @@ function depth(member: Member): number {return member.parent ? depth(BY_NAME[member.parent]) + 1 : 0;}-function yawToward(member: Member): number {- return ((WIDTH / 2 - member.x) / WIDTH) * 40;-}-function branch(parent: Member): string {const kids = TEAM.filter((c) => c.parent === parent.name);const stemStart = parent.y + parent.size / 2;@@ -175,14 +171,19 @@ export function TeamScene() {ease: EASE,}}>- <BotAvatar- config={member.config}- status={member.status}- size={member.size}- poseOffset={facing(yawToward(member))}- trackPointer={member.name === "Otto"}- showBadge={false}- />+ {member.color ? (+ <NotionAvatarImage+ config={{+ ...notionConfigForName(member.name),+ color: member.color,+ }}+ status={member.status}+ size={member.size}+ title={member.name}+ />+ ) : (+ <AutopilotAvatar size={member.size} />+ )}</motion.div></foreignObject>))}diff --git a/autogpt_platform/frontend/src/app/(no-navbar)/onboarding/steps/IntroStep/helpers.ts b/autogpt_platform/frontend/src/app/(no-navbar)/onboarding/steps/IntroStep/helpers.tsindex 6c5967a297..8fb208cd47 100644--- a/autogpt_platform/frontend/src/app/(no-navbar)/onboarding/steps/IntroStep/helpers.ts+++ b/autogpt_platform/frontend/src/app/(no-navbar)/onboarding/steps/IntroStep/helpers.ts@@ -1,5 +1,3 @@-import type { Pose } from "@/components/molecules/BotAvatar/projection";-export type IntroSlideId = "team" | "autopilot";export interface IntroSlide {@@ -14,10 +12,3 @@ export const INTRO_SLIDES: Record<IntroSlideId, IntroSlide> = {},autopilot: { title: "Meet Otto, your Head of AI." },};--export function facing(yawDeg: number, pitchDeg = 0): Partial<Pose> {- return {- yaw: (yawDeg * Math.PI) / 180,- pitch: (pitchDeg * Math.PI) / 180,- };-}diff --git a/autogpt_platform/frontend/src/app/(no-navbar)/onboarding/steps/PreparingStep.tsx b/autogpt_platform/frontend/src/app/(no-navbar)/onboarding/steps/PreparingStep.tsxindex 3d6f9c64ff..5d2d27739d 100644--- a/autogpt_platform/frontend/src/app/(no-navbar)/onboarding/steps/PreparingStep.tsx+++ b/autogpt_platform/frontend/src/app/(no-navbar)/onboarding/steps/PreparingStep.tsx@@ -2,8 +2,7 @@import { Icon } from "@/components/atoms/Icon/Icon";import { Text } from "@/components/atoms/Text/Text";-import { BotAvatar } from "@/components/molecules/BotAvatar/BotAvatar";-import { AUTOPILOT_AVATAR } from "@/components/molecules/BotAvatar/helpers";+import { AutopilotAvatar } from "@/components/molecules/AutopilotAvatar/AutopilotAvatar";import { TypingText } from "@/components/molecules/TypingText/TypingText";import { cn } from "@/lib/utils";import { Tick02Icon } from "@hugeicons/core-free-icons";@@ -26,13 +25,7 @@ export function PreparingStep({return (<div className="flex w-full max-w-md flex-col items-center gap-8 px-4"><div className="flex flex-col items-center gap-4">- <BotAvatar- config={AUTOPILOT_AVATAR}- status="working"- size={120}- trackPointer- showBadge={false}- />+ <AutopilotAvatar size={120} /><Text variant="h4" className="text-center"><TypingTexttext="Preparing your workspace..."diff --git a/autogpt_platform/frontend/src/app/(no-navbar)/onboarding/steps/RoleStep.tsx b/autogpt_platform/frontend/src/app/(no-navbar)/onboarding/steps/RoleStep.tsxindex 2dfda2474c..a0e7757d58 100644--- a/autogpt_platform/frontend/src/app/(no-navbar)/onboarding/steps/RoleStep.tsx+++ b/autogpt_platform/frontend/src/app/(no-navbar)/onboarding/steps/RoleStep.tsx@@ -3,8 +3,7 @@import { Button } from "@/components/atoms/Button/Button";import { Input } from "@/components/atoms/Input/Input";import { Text } from "@/components/atoms/Text/Text";-import { BotAvatar } from "@/components/molecules/BotAvatar/BotAvatar";-import { AUTOPILOT_AVATAR } from "@/components/molecules/BotAvatar/helpers";+import { AutopilotAvatar } from "@/components/molecules/AutopilotAvatar/AutopilotAvatar";import { FadeIn } from "@/components/atoms/FadeIn/FadeIn";import { AnimatePresence, motion, useReducedMotion } from "framer-motion";@@ -86,13 +85,7 @@ export function RoleStep() {<FadeIn><div className="flex w-full flex-col items-center gap-8 px-4"><div className="mx-auto flex w-full max-w-lg flex-col items-center gap-4 px-4 text-center">- <BotAvatar- config={AUTOPILOT_AVATAR}- status="idle"- size={120}- trackPointer- showBadge={false}- />+ <AutopilotAvatar size={120} /><Text variant="h4">What best describes you?</Text></div>diff --git a/autogpt_platform/frontend/src/app/(platform)/copilot/__tests__/recipient-colors.test.tsx b/autogpt_platform/frontend/src/app/(platform)/copilot/__tests__/recipient-colors.test.tsxindex 53e6808a1e..8cf4a4ea34 100644--- a/autogpt_platform/frontend/src/app/(platform)/copilot/__tests__/recipient-colors.test.tsx+++ b/autogpt_platform/frontend/src/app/(platform)/copilot/__tests__/recipient-colors.test.tsx@@ -18,8 +18,8 @@ vi.mock("@/services/feature-flags/use-get-flag", async (importOriginal) => ({>()),useGetFlag: () => true,}));-vi.mock("@/components/molecules/BotAvatar/BotAvatar", () => ({- BotAvatar: ({+vi.mock("@/components/molecules/NotionAvatar/NotionAvatarImage", () => ({+ NotionAvatarImage: ({config,title,}: {@@ -69,7 +69,7 @@ describe("recipient colors", () => {});await waitFor(() =>expect(within(chip).getByRole("img").getAttribute("data-color")).toBe(- "coral",+ "orange",),);await userEvent.click(chip);@@ -78,6 +78,6 @@ describe("recipient colors", () => {within(menu).getByRole("img", { name: "Maria" }).getAttribute("data-color"),- ).toBe("coral");+ ).toBe("orange");});});diff --git a/autogpt_platform/frontend/src/app/(platform)/copilot/components/ChatMessagesContainer/components/ExpertAvatar/ExpertAvatar.tsx b/autogpt_platform/frontend/src/app/(platform)/copilot/components/ChatMessagesContainer/components/ExpertAvatar/ExpertAvatar.tsxindex f929034bbe..c4cd7a0d5c 100644--- a/autogpt_platform/frontend/src/app/(platform)/copilot/components/ChatMessagesContainer/components/ExpertAvatar/ExpertAvatar.tsx+++ b/autogpt_platform/frontend/src/app/(platform)/copilot/components/ChatMessagesContainer/components/ExpertAvatar/ExpertAvatar.tsx@@ -4,11 +4,8 @@ import {AvatarImage,} from "@/components/atoms/Avatar/Avatar";import { AutopilotAvatar } from "@/components/molecules/AutopilotAvatar/AutopilotAvatar";-import { BotAvatar } from "@/components/molecules/BotAvatar/BotAvatar";-import {- expertAvatarConfig,- isUploadedAvatar,-} from "@/components/molecules/BotAvatar/helpers";+import { expertNotionConfig } from "@/components/molecules/NotionAvatar/helpers";+import { NotionAvatarImage } from "@/components/molecules/NotionAvatar/NotionAvatarImage";import { cn } from "@/lib/utils";interface Props {@@ -45,13 +42,12 @@ export function ExpertAvatar({return <AutopilotAvatar size={isSmall ? 24 : 36} />;}- if (!isUploadedAvatar(avatarUrl)) {+ const config = expertNotionConfig({ name, avatarUrl, color });+ if (config) {return (- <BotAvatar- config={expertAvatarConfig({ name, avatarUrl, color })}+ <NotionAvatarImage+ config={config}size={isSmall ? 24 : 36}- animated={!isSmall}- showBadge={false}title={name}/>);diff --git a/autogpt_platform/frontend/src/app/(platform)/raise/__tests__/avatar-picker.test.tsx b/autogpt_platform/frontend/src/app/(platform)/raise/__tests__/avatar-picker.test.tsxnew file mode 100644index 0000000000..9599cc90a9--- /dev/null+++ b/autogpt_platform/frontend/src/app/(platform)/raise/__tests__/avatar-picker.test.tsx@@ -0,0 +1,239 @@+import { getListCopilotSkillsMockHandler } from "@/app/api/__generated__/endpoints/skills/skills.msw";+import { Toaster } from "@/components/molecules/Toast/toaster";+import { notionConfigForName } from "@/components/molecules/NotionAvatar/helpers";+import { server } from "@/mocks/mock-server";+import { render, screen, waitFor } from "@/tests/integrations/test-utils";+import userEvent from "@testing-library/user-event";+import { afterEach, beforeEach, expect, test, vi } from "vitest";+import { loadDraft, saveDraft, VOICE_SKIPPED_LABEL } from "../helpers";+import RaisePage from "../page";++const { setFlagStatusMock } = vi.hoisted(() => ({+ setFlagStatusMock: vi.fn(() => ({ enabled: true, ready: true })),+}));++vi.mock("@/services/feature-flags/use-get-flag", async (importActual) => {+ const actual =+ await importActual<+ typeof import("@/services/feature-flags/use-get-flag")+ >();+ return {+ ...actual,+ useFlagStatus: (flag: string) =>+ flag === "hire-experts"+ ? setFlagStatusMock()+ : actual.useFlagStatus(flag as never),+ };+});++vi.mock("@/lib/auth/hooks/useAuth", () => ({+ useAuth: () => ({ isLoggedIn: true, user: { id: "user-1" } }),+}));++vi.mock("next/navigation", () => ({+ useRouter: () => ({ push: vi.fn() }),+ usePathname: () => "/raise",+ useSearchParams: () => new URLSearchParams(),+ useParams: () => ({}),+ notFound: () => {+ throw new Error("NEXT_NOT_FOUND");+ },+}));++function mockReducedMotion() {+ vi.spyOn(window, "matchMedia").mockImplementation(+ (query) =>+ ({+ matches: query.includes("prefers-reduced-motion"),+ media: query,+ onchange: null,+ addListener: vi.fn(),+ removeListener: vi.fn(),+ addEventListener: vi.fn(),+ removeEventListener: vi.fn(),+ dispatchEvent: vi.fn(),+ }) as unknown as MediaQueryList,+ );+}++function seedAtAvatar(name = "Maria", color: string | null = "violet-300") {+ saveDraft({+ step: "avatar",+ hasStarted: true,+ role: "marketer",+ name,+ color,+ avatarUrl: null,+ about: null,+ voicePreferences: "",+ voiceLabel: VOICE_SKIPPED_LABEL,+ budget: null,+ marketplace: null,+ skills: null,+ });+}++function drawnAvatar() {+ return screen.getByTestId("notion-avatar").getAttribute("data-avatar");+}++async function openGenerator(name = "Maria") {+ seedAtAvatar(name);+ render(+ <>+ <RaisePage />+ <Toaster />+ </>,+ );+ // The beat opens straight onto the picker; the artwork is a lazy chunk, so+ // the face itself arrives a tick later.+ await screen.findByTestId("notion-avatar", undefined, { timeout: 5000 });+}++beforeEach(() => {+ window.sessionStorage.clear();+ mockReducedMotion();+ setFlagStatusMock.mockReturnValue({ enabled: true, ready: true });+ server.use(getListCopilotSkillsMockHandler([]));+});++afterEach(() => {+ vi.clearAllMocks();+});++test("opens on the face the expert's name seeds, in the colour they were given", async () => {+ await openGenerator();++ const seeded = notionConfigForName("Maria");+ const slots = drawnAvatar()?.split(".")[0];++ expect(slots).toBe(+ [+ seeded.parts.face,+ seeded.parts.nose,+ seeded.parts.mouth,+ seeded.parts.eyes,+ seeded.parts.eyebrows,+ seeded.parts.glasses,+ seeded.parts.hair,+ seeded.parts.accessories,+ seeded.parts.details,+ seeded.parts.beard,+ ].join("-"),+ );+ // The colour was answered a beat earlier, so it carries into the face.+ expect(drawnAvatar()).toContain(".violet");+});++function slotOf(feature: "details" | "hair") {+ // Slots follow the draw order: face, nose, mouth, eyes, eyebrows, glasses,+ // hair, accessories, details, beard.+ const index = feature === "hair" ? 6 : 8;+ return Number(drawnAvatar()!.split(".")[0].split("-")[index]);+}++test("opens with no marks, and shuffling does not add them", async () => {+ await openGenerator();+ expect(slotOf("details")).toBe(0);++ for (let attempt = 0; attempt < 8; attempt += 1) {+ await userEvent.click(screen.getByRole("button", { name: "Shuffle" }));+ expect(slotOf("details")).toBe(0);+ }+});++test("marks are still available from their own row", async () => {+ await openGenerator();++ await userEvent.click(screen.getByRole("button", { name: "Next marks" }));++ await waitFor(() => expect(slotOf("details")).toBe(1));+});++test("shuffle changes the face but keeps the chosen colour", async () => {+ await openGenerator();+ const before = drawnAvatar();++ await userEvent.click(screen.getByRole("button", { name: "Shuffle" }));++ await waitFor(() => expect(drawnAvatar()).not.toBe(before));+ expect(drawnAvatar()).toContain(".violet");+});++test("cycling a feature moves only that feature", async () => {+ await openGenerator();+ const before = drawnAvatar()!.split(".")[0].split("-");++ await userEvent.click(screen.getByRole("button", { name: "Next hair" }));++ await waitFor(() => {+ const after = drawnAvatar()!.split(".")[0].split("-");+ const moved = after.filter((slot, index) => slot !== before[index]);+ expect(moved).toHaveLength(1);+ // Hair is the seventh slot in draw order.+ expect(after[6]).not.toBe(before[6]);+ });+});++test("cycling backwards from the first part wraps to the last", async () => {+ await openGenerator();++ await userEvent.click(screen.getByRole("button", { name: "Previous eyes" }));+ const eyes = Number(drawnAvatar()!.split(".")[0].split("-")[3]);++ expect(eyes).toBeGreaterThan(0);+});++test("the picked face and colour become the draft's answer, and the picker closes", async () => {+ await openGenerator();+ await userEvent.click(screen.getByRole("button", { name: "Next hair" }));+ const picked = drawnAvatar();++ await userEvent.click(screen.getByRole("button", { name: "Use this face" }));++ await waitFor(() =>+ expect(loadDraft().avatarUrl).toBe(`/avatars/notion/${picked}.svg`),+ );+ expect(loadDraft().color).toBe("violet-300");+ expect(screen.queryByRole("button", { name: "Shuffle" })).toBeNull();+});++test("the cycle arrows carry no tooltip, which would cover the row above", async () => {+ await openGenerator();++ // The Button atom pops a tooltip for any icon-only button with an+ // aria-label. Stacked this tightly, that tooltip lands on its neighbours.+ // A tooltip trigger leaves data-state on the button it wraps.+ for (const name of ["Next beard", "Previous beard", "Next hair"]) {+ const button = screen.getByRole("button", { name });+ expect(button.getAttribute("data-state")).toBeNull();+ expect(button.getAttribute("aria-describedby")).toBeNull();+ }+});++test("the colour is chosen in the picker and recolours the face", async () => {+ await openGenerator();+ expect(drawnAvatar()).toContain(".violet");++ await userEvent.click(screen.getByRole("button", { name: "Emerald" }));++ await waitFor(() => expect(drawnAvatar()).toContain(".emerald"));++ await userEvent.click(screen.getByRole("button", { name: "Use this face" }));+ await waitFor(() => expect(loadDraft().color).toBe("emerald-300"));+});++test("an expert with no colour yet still opens on a face", async () => {+ seedAtAvatar("Nova", null);+ render(+ <>+ <RaisePage />+ <Toaster />+ </>,+ );++ const avatar = await screen.findByTestId("notion-avatar", undefined, {+ timeout: 5000,+ });+ expect(avatar.getAttribute("data-avatar")).toBeTruthy();+});diff --git a/autogpt_platform/frontend/src/app/(platform)/raise/__tests__/raise-typewriter.test.tsx b/autogpt_platform/frontend/src/app/(platform)/raise/__tests__/raise-typewriter.test.tsxindex 7aafaced48..d0bc4cad48 100644--- a/autogpt_platform/frontend/src/app/(platform)/raise/__tests__/raise-typewriter.test.tsx+++ b/autogpt_platform/frontend/src/app/(platform)/raise/__tests__/raise-typewriter.test.tsx@@ -63,7 +63,7 @@ afterEach(() => {test("renders restored conversation messages instantly after reload", async () => {saveDraft({- step: "color",+ step: "avatar",hasStarted: true,role: "marketer",name: "Nova",@@ -104,6 +104,6 @@ test("renders restored conversation messages instantly after reload", async () =),).toBe(true);expect(- visible.some((text) => text.includes("Nice. Now choose a color for them.")),+ visible.some((text) => text.includes("Now give Nova a face and a color.")),).toBe(true);});diff --git a/autogpt_platform/frontend/src/app/(platform)/raise/__tests__/role-prefill.test.tsx b/autogpt_platform/frontend/src/app/(platform)/raise/__tests__/role-prefill.test.tsxindex dc0418abb3..93f3e41321 100644--- a/autogpt_platform/frontend/src/app/(platform)/raise/__tests__/role-prefill.test.tsx+++ b/autogpt_platform/frontend/src/app/(platform)/raise/__tests__/role-prefill.test.tsx@@ -86,7 +86,7 @@ describe("/raise?role= — the greeting page's raise door", () => {hasStarted: true,role: "marketer",name: "Nova",- step: "color" as const,+ step: "avatar" as const,};saveDraft(inProgress);diff --git a/autogpt_platform/frontend/src/app/(platform)/raise/components/AvatarStep/AvatarStep.tsx b/autogpt_platform/frontend/src/app/(platform)/raise/components/AvatarStep/AvatarStep.tsxindex 388470d013..2fcf8640ec 100644--- a/autogpt_platform/frontend/src/app/(platform)/raise/components/AvatarStep/AvatarStep.tsx+++ b/autogpt_platform/frontend/src/app/(platform)/raise/components/AvatarStep/AvatarStep.tsx@@ -1,32 +1,20 @@"use client";-import { Button } from "@/components/atoms/Button/Button";import { cn } from "@/lib/utils";import Image from "next/image";import { bubbleClassFor } from "../ColorStep/helpers";-import { ACCEPTED_AVATAR_TYPES } from "./helpers";-import { useAvatarStep } from "./useAvatarStep";+import { NotionAvatarPicker } from "./components/NotionAvatarPicker/NotionAvatarPicker";interface Props {name: string;color: string | null;avatarUrl: string | null;- isSkipped: boolean;- onPick: (avatarUrl: string) => void;- onSkip: () => void;+ onPick: (avatarUrl: string, colorId: string) => void;}-export function AvatarStep({- name,- color,- avatarUrl,- isSkipped,- onPick,- onSkip,-}: Props) {- const { fileInputRef, isUploading, openFilePicker, handleFileChange } =- useAvatarStep({ onPick });-+// The face and the colour are one answer, and the step opens straight onto the+// picker: there is no version of an expert without a face.+export function AvatarStep({ name, color, avatarUrl, onPick }: Props) {if (avatarUrl) {return (<div@@ -50,48 +38,5 @@ export function AvatarStep({);}- if (isSkipped) {- return (- <div- className={cn(- "ml-auto w-fit rounded-full border px-5 py-2.5 text-sm font-medium text-foreground",- bubbleClassFor(color) ?? "border-accent bg-accent/5",- )}- >- No picture for now- </div>- );- }-- return (- <div className="flex flex-wrap justify-end gap-2.5">- <input- ref={fileInputRef}- type="file"- accept={ACCEPTED_AVATAR_TYPES}- className="sr-only"- tabIndex={-1}- aria-hidden- onChange={(event) => handleFileChange(event.target.files?.[0])}- />- <Button- variant="secondary"- size="small"- className="rounded-full"- onClick={openFilePicker}- loading={isUploading}- >- Upload a picture- </Button>- <Button- variant="ghost"- size="small"- className="rounded-full"- onClick={onSkip}- disabled={isUploading}- >- Skip- </Button>- </div>- );+ return <NotionAvatarPicker name={name} color={color} onPick={onPick} />;}diff --git a/autogpt_platform/frontend/src/app/(platform)/raise/components/AvatarStep/components/NotionAvatarPicker/NotionAvatarPicker.tsx b/autogpt_platform/frontend/src/app/(platform)/raise/components/AvatarStep/components/NotionAvatarPicker/NotionAvatarPicker.tsxnew file mode 100644index 0000000000..16bf41a007--- /dev/null+++ b/autogpt_platform/frontend/src/app/(platform)/raise/components/AvatarStep/components/NotionAvatarPicker/NotionAvatarPicker.tsx@@ -0,0 +1,146 @@+"use client";++import { Button } from "@/components/atoms/Button/Button";+import { Icon } from "@/components/atoms/Icon/Icon";+import { Text } from "@/components/atoms/Text/Text";+import {+ CATEGORY_LABELS,+ PICKABLE_CATEGORIES,+} from "@/components/molecules/NotionAvatar/helpers";+import { NotionAvatar } from "@/components/molecules/NotionAvatar/NotionAvatar";+import { cn } from "@/lib/utils";+import {+ ArrowLeft01Icon,+ ArrowRight01Icon,+ DiceFaces01Icon,+} from "@hugeicons/core-free-icons";+import { COLOR_OPTIONS } from "../../../ColorStep/helpers";+import { ACCEPTED_AVATAR_TYPES } from "../../helpers";+import { useNotionAvatarPicker } from "./useNotionAvatarPicker";++interface Props {+ name: string;+ color: string | null;+ onPick: (avatarUrl: string, colorId: string) => void;+}++export function NotionAvatarPicker({ name, color, onPick }: Props) {+ const {+ config,+ colorId,+ setColorId,+ shuffle,+ cycle,+ confirm,+ fileInputRef,+ isUploading,+ openFilePicker,+ handleFileChange,+ } = useNotionAvatarPicker({ name, color, onPick });+ const who = name || "your expert";++ return (+ <div className="ml-auto flex w-full max-w-sm flex-col items-center gap-4 rounded-2xl border border-zinc-200 bg-white p-5">+ <NotionAvatar+ config={config}+ size={132}+ showBadge={false}+ title={`${who}'s face`}+ />++ <div+ role="group"+ aria-label="Expert color"+ className="flex flex-wrap justify-center gap-2"+ >+ {COLOR_OPTIONS.map((option) => (+ <button+ key={option.id}+ type="button"+ onClick={() => setColorId(option.id)}+ aria-label={option.label}+ aria-pressed={option.id === colorId}+ className={cn(+ "size-6 rounded-full transition-transform hover:scale-110",+ option.swatchClassName,+ option.id === colorId &&+ "ring-2 ring-zinc-900 ring-offset-2 ring-offset-white",+ )}+ />+ ))}+ </div>++ <div className="flex w-full flex-col gap-1.5">+ {PICKABLE_CATEGORIES.map((category) => (+ <div key={category} className="flex items-center justify-between">+ <Text variant="small" as="span" tone="secondary">+ {CATEGORY_LABELS[category]}+ </Text>+ <div className="flex items-center gap-1">+ <Button+ variant="ghost"+ size="icon-sm"+ aria-label={`Previous ${CATEGORY_LABELS[category].toLowerCase()}`}+ // The row is labelled inches away, so the tooltip says nothing+ // new — and stacked this tightly it covers the row above.+ withTooltip={false}+ onClick={() => cycle(category, -1)}+ >+ <Icon icon={ArrowLeft01Icon} size={16} />+ </Button>+ <Button+ variant="ghost"+ size="icon-sm"+ aria-label={`Next ${CATEGORY_LABELS[category].toLowerCase()}`}+ withTooltip={false}+ onClick={() => cycle(category, 1)}+ >+ <Icon icon={ArrowRight01Icon} size={16} />+ </Button>+ </div>+ </div>+ ))}+ </div>++ <input+ ref={fileInputRef}+ type="file"+ accept={ACCEPTED_AVATAR_TYPES}+ className="sr-only"+ tabIndex={-1}+ aria-hidden+ onChange={(event) => handleFileChange(event.target.files?.[0])}+ />++ <div className="flex w-full flex-wrap justify-end gap-2">+ <Button+ variant="ghost"+ size="small"+ className="rounded-full"+ onClick={openFilePicker}+ loading={isUploading}+ >+ Upload a picture+ </Button>+ <Button+ variant="secondary"+ size="small"+ className="rounded-full"+ onClick={shuffle}+ disabled={isUploading}+ >+ <Icon icon={DiceFaces01Icon} size={16} />+ Shuffle+ </Button>+ <Button+ size="small"+ className="rounded-full"+ onClick={confirm}+ disabled={isUploading}+ >+ Use this face+ </Button>+ </div>+ </div>+ );+}diff --git a/autogpt_platform/frontend/src/app/(platform)/raise/components/AvatarStep/components/NotionAvatarPicker/__tests__/NotionAvatarPicker.test.tsx b/autogpt_platform/frontend/src/app/(platform)/raise/components/AvatarStep/components/NotionAvatarPicker/__tests__/NotionAvatarPicker.test.tsxnew file mode 100644index 0000000000..d4d0430637--- /dev/null+++ b/autogpt_platform/frontend/src/app/(platform)/raise/components/AvatarStep/components/NotionAvatarPicker/__tests__/NotionAvatarPicker.test.tsx@@ -0,0 +1,45 @@+import { render, screen, waitFor } from "@/tests/integrations/test-utils";+import { server } from "@/mocks/mock-server";+import { http, HttpResponse } from "msw";+import userEvent from "@testing-library/user-event";+import { describe, expect, it, vi } from "vitest";+import { NotionAvatarPicker } from "../NotionAvatarPicker";++describe("NotionAvatarPicker", () => {+ it("saves the color selected while an upload is still in flight, not the one queued before it", async () => {+ let resolveUpload: (() => void) | undefined;+ const pending = new Promise<void>((resolve) => {+ resolveUpload = resolve;+ });+ server.use(+ http.post("*/api/store/submissions/media", async () => {+ await pending;+ return HttpResponse.json("https://cdn.test/uploaded.png");+ }),+ );+ const onPick = vi.fn();+ const user = userEvent.setup();++ render(+ <NotionAvatarPicker name="Maria" color="rose-300" onPick={onPick} />,+ );++ const file = new File(["x"], "avatar.png", { type: "image/png" });+ const fileInput = document.querySelector(+ 'input[type="file"]',+ ) as HTMLInputElement;+ await user.upload(fileInput, file);++ // Change the color while the upload is still pending — the color+ // controls aren't disabled during upload, so this is a real user path.+ await user.click(screen.getByRole("button", { name: "Blue" }));++ resolveUpload?.();++ await waitFor(() => expect(onPick).toHaveBeenCalledTimes(1));+ expect(onPick).toHaveBeenCalledWith(+ "https://cdn.test/uploaded.png",+ "blue-300",+ );+ });+});diff --git a/autogpt_platform/frontend/src/app/(platform)/raise/components/AvatarStep/components/NotionAvatarPicker/useNotionAvatarPicker.ts b/autogpt_platform/frontend/src/app/(platform)/raise/components/AvatarStep/components/NotionAvatarPicker/useNotionAvatarPicker.tsnew file mode 100644index 0000000000..8e5373f1f6--- /dev/null+++ b/autogpt_platform/frontend/src/app/(platform)/raise/components/AvatarStep/components/NotionAvatarPicker/useNotionAvatarPicker.ts@@ -0,0 +1,134 @@+import { usePostV2UploadSubmissionMedia } from "@/app/api/__generated__/endpoints/store/store";+import { toast } from "@/components/molecules/Toast/use-toast";+import {+ clampPart,+ colorForToken,+ hashSeed,+ notionAvatarUrlFor,+ notionConfigForName,+ randomNotionConfig,+ seededRandom,+ type NotionAvatarConfig,+} from "@/components/molecules/NotionAvatar/helpers";+import type { NotionCategory } from "@/components/molecules/NotionAvatar/metadata.generated";+import { useRef, useState } from "react";+import { COLOR_OPTIONS } from "../../../ColorStep/helpers";+import { ACCEPTED_AVATAR_TYPES, MAX_AVATAR_BYTES } from "../../helpers";++// The accept attribute only filters the OS picker, so the same list has to+// gate the upload for files that arrive by drag-and-drop or a widened filter.+const ACCEPTED_AVATAR_TYPE_LIST = ACCEPTED_AVATAR_TYPES.split(",");++interface Args {+ name: string;+ color: string | null;+ onPick: (avatarUrl: string, colorId: string) => void;+}++export function useNotionAvatarPicker({ name, color, onPick }: Args) {+ const [colorId, setColorId] = useState(() => color ?? seedColorToken(name));+ const colorIdRef = useRef(colorId);+ colorIdRef.current = colorId;+ const [config, setConfig] = useState<NotionAvatarConfig>(() =>+ seedConfig(name),+ );+ const fileInputRef = useRef<HTMLInputElement>(null);+ const [isUploading, setIsUploading] = useState(false);+ const { mutateAsync: uploadMedia } = usePostV2UploadSubmissionMedia();++ // Marks stay off when shuffling too: blush and freckles are something to opt+ // into from the row, not something a generated face should arrive wearing.+ function shuffle() {+ setConfig(withoutMarks(randomNotionConfig()));+ }++ function cycle(category: NotionCategory, step: number) {+ setConfig((current) => ({+ ...current,+ parts: {+ ...current.parts,+ [category]: clampPart(category, current.parts[category] + step),+ },+ }));+ }++ function confirm() {+ onPick(notionAvatarUrlFor(withColor(config, colorId)), colorId);+ }++ function openFilePicker() {+ fileInputRef.current?.click();+ }++ async function handleFileChange(file: File | undefined) {+ if (!file) return;+ if (!ACCEPTED_AVATAR_TYPE_LIST.includes(file.type)) {+ toast({+ title: "That file isn't an image",+ description: "Pick a PNG, JPEG, WEBP, or GIF.",+ variant: "destructive",+ });+ return;+ }+ if (file.size > MAX_AVATAR_BYTES) {+ toast({+ title: "That image is too large",+ description: "Pick something under 5MB.",+ variant: "destructive",+ });+ return;+ }++ setIsUploading(true);+ try {+ const response = await uploadMedia({ data: { file } });+ onPick(response.data as string, colorIdRef.current);+ } catch {+ toast({+ title: "Couldn't save that picture",+ description: "Try another image, or keep the drawn face.",+ variant: "destructive",+ });+ } finally {+ setIsUploading(false);+ }+ }++ return {+ config: withColor(config, colorId),+ colorId,+ setColorId,+ shuffle,+ cycle,+ confirm,+ fileInputRef,+ isUploading,+ openFilePicker,+ handleFileChange,+ };+}++/** The disc follows whichever accent the expert is wearing, so the preview and+ * the chat theme never disagree. */+function withColor(+ config: NotionAvatarConfig,+ colorId: string,+): NotionAvatarConfig {+ const mapped = colorForToken(colorId);+ return mapped ? { ...config, color: mapped } : config;+}++function seedConfig(name: string): NotionAvatarConfig {+ return withoutMarks(notionConfigForName(name));+}++// A name-seeded accent so the step opens on something rather than nothing; the+// swatches are there to change it.+function seedColorToken(name: string): string {+ const random = seededRandom(hashSeed(`${name.toLowerCase()}:color`));+ return COLOR_OPTIONS[Math.floor(random() * COLOR_OPTIONS.length)].id;+}++function withoutMarks(config: NotionAvatarConfig): NotionAvatarConfig {+ return { ...config, parts: { ...config.parts, details: 0 } };+}diff --git a/autogpt_platform/frontend/src/app/(platform)/raise/components/AvatarStep/useAvatarStep.ts b/autogpt_platform/frontend/src/app/(platform)/raise/components/AvatarStep/useAvatarStep.tsdeleted file mode 100644index 2f9dc3a30a..0000000000--- a/autogpt_platform/frontend/src/app/(platform)/raise/components/AvatarStep/useAvatarStep.ts+++ /dev/null@@ -1,58 +0,0 @@-import { usePostV2UploadSubmissionMedia } from "@/app/api/__generated__/endpoints/store/store";-import { toast } from "@/components/molecules/Toast/use-toast";-import { useRef, useState } from "react";-import { ACCEPTED_AVATAR_TYPES, MAX_AVATAR_BYTES } from "./helpers";--// The accept attribute only filters the OS picker, so the same list has to-// gate the upload for files that arrive by drag-and-drop or a widened filter.-const ACCEPTED_AVATAR_TYPE_LIST = ACCEPTED_AVATAR_TYPES.split(",");--interface Args {- onPick: (avatarUrl: string) => void;-}--export function useAvatarStep({ onPick }: Args) {- const fileInputRef = useRef<HTMLInputElement>(null);- const [isUploading, setIsUploading] = useState(false);- const { mutateAsync: uploadMedia } = usePostV2UploadSubmissionMedia();-- function openFilePicker() {- fileInputRef.current?.click();- }-- async function handleFileChange(file: File | undefined) {- if (!file) return;- if (!ACCEPTED_AVATAR_TYPE_LIST.includes(file.type)) {- toast({- title: "That file isn't an image",- description: "Pick a PNG, JPEG, WEBP, or GIF.",- variant: "destructive",- });- return;- }- if (file.size > MAX_AVATAR_BYTES) {- toast({- title: "That image is too large",- description: "Pick something under 5MB.",- variant: "destructive",- });- return;- }-- setIsUploading(true);- try {- const response = await uploadMedia({ data: { file } });- onPick(response.data as string);- } catch {- toast({- title: "Couldn't save that picture",- description: "Try another image, or skip for now.",- variant: "destructive",- });- } finally {- setIsUploading(false);- }- }-- return { fileInputRef, isUploading, openFilePicker, handleFileChange };-}diff --git a/autogpt_platform/frontend/src/app/(platform)/raise/components/ColorStep/ColorStep.tsx b/autogpt_platform/frontend/src/app/(platform)/raise/components/ColorStep/ColorStep.tsxdeleted file mode 100644index b76fb7c76f..0000000000--- a/autogpt_platform/frontend/src/app/(platform)/raise/components/ColorStep/ColorStep.tsx+++ /dev/null@@ -1,38 +0,0 @@-"use client";--import { cn } from "@/lib/utils";-import { COLOR_OPTIONS, findColorOption } from "./helpers";--interface Props {- selectedColor: string | null;- onPick: (colorId: string) => void;-}--export function ColorStep({ selectedColor, onPick }: Props) {- const selected = findColorOption(selectedColor);- const options = selected ? [selected] : COLOR_OPTIONS;-- return (- <div- role="group"- aria-label="Expert color"- className="flex flex-wrap justify-end gap-2.5"- >- {options.map((option) => (- <button- key={option.id}- type="button"- onClick={() => onPick(option.id)}- disabled={Boolean(selected)}- aria-label={option.label}- aria-pressed={selected ? true : undefined}- className={cn(- "size-8 rounded-full transition-transform",- option.swatchClassName,- selected ? null : "hover:scale-110",- )}- />- ))}- </div>- );-}diff --git a/autogpt_platform/frontend/src/app/(platform)/raise/components/RaiseFlow/components/BeatControl.tsx b/autogpt_platform/frontend/src/app/(platform)/raise/components/RaiseFlow/components/BeatControl.tsxindex 1dd4e37c71..5127fc24d2 100644--- a/autogpt_platform/frontend/src/app/(platform)/raise/components/RaiseFlow/components/BeatControl.tsx+++ b/autogpt_platform/frontend/src/app/(platform)/raise/components/RaiseFlow/components/BeatControl.tsx@@ -7,7 +7,6 @@ import type { useRaisePage } from "../../../useRaisePage";import { AboutStep } from "../../AboutStep/AboutStep";import { AvatarStep } from "../../AvatarStep/AvatarStep";import { BudgetStep } from "../../BudgetStep/BudgetStep";-import { ColorStep } from "../../ColorStep/ColorStep";import {interactiveCardClassFor,selectedCardClassFor,@@ -43,17 +42,13 @@ export function BeatControl({ beat, flow }: Props) {onSubmit={flow.submitName}/>);- case "color":- return <ColorStep selectedColor={flow.color} onPick={flow.pickColor} />;case "avatar":return (<AvatarStepname={flow.name}color={flow.color}avatarUrl={flow.avatarUrl || null}- isSkipped={flow.avatarUrl === ""}onPick={flow.pickAvatar}- onSkip={flow.skipAvatar}/>);case "about":diff --git a/autogpt_platform/frontend/src/app/(platform)/raise/flowItems.ts b/autogpt_platform/frontend/src/app/(platform)/raise/flowItems.tsindex 61d41ab2ed..ed10218e5a 100644--- a/autogpt_platform/frontend/src/app/(platform)/raise/flowItems.ts+++ b/autogpt_platform/frontend/src/app/(platform)/raise/flowItems.ts@@ -5,7 +5,6 @@ import { RAISE_PROMPTS, type RaiseDraft } from "./helpers";export const BEAT_KEYS = ["role","name",- "color","avatar","about","voice",@@ -45,7 +44,6 @@ export function buildFlowItems(const questions: Record<BeatKey, string> = {role: RAISE_PROMPTS.roleQuestion,name: RAISE_PROMPTS.nameQuestion,- color: RAISE_PROMPTS.colorQuestion,avatar: RAISE_PROMPTS.avatarQuestion(draft.name),about: RAISE_PROMPTS.aboutQuestion(draft.name),voice: RAISE_PROMPTS.voiceQuestion(draft.name),@@ -89,8 +87,7 @@ export function beatTriggers(return {role: draft.hasStarted,name: draft.role !== null,- color: draft.name !== "",- avatar: draft.color !== null,+ avatar: draft.name !== "",about: draft.avatarUrl !== null,voice: draft.about !== null,budget: draft.voiceLabel !== null,@@ -103,7 +100,6 @@ function beatAnswers(draft: RaiseDraft): Record<BeatKey, boolean> {return {role: draft.role !== null,name: draft.name !== "",- color: draft.color !== null,avatar: draft.avatarUrl !== null,about: draft.about !== null,voice: draft.voiceLabel !== null,@@ -126,10 +122,9 @@ export function clearedAnswer(beat: BeatKey): Partial<RaiseDraft> {return { role: null };case "name":return { name: "" };- case "color":- return { color: null };case "avatar":- return { avatarUrl: null };+ // Colour is answered in the same beat, so going back re-opens both.+ return { avatarUrl: null, color: null };case "about":return { about: null };case "voice":diff --git a/autogpt_platform/frontend/src/app/(platform)/raise/helpers.ts b/autogpt_platform/frontend/src/app/(platform)/raise/helpers.tsindex 8893ab8778..fcda754fa5 100644--- a/autogpt_platform/frontend/src/app/(platform)/raise/helpers.ts+++ b/autogpt_platform/frontend/src/app/(platform)/raise/helpers.ts@@ -13,7 +13,6 @@ import {export type RaiseStep =| "role"| "name"- | "color"| "avatar"| "about"| "voice"@@ -25,7 +24,6 @@ export type RaiseStep =export const STEP_ORDER: RaiseStep[] = ["role","name",- "color","avatar","about","voice",@@ -63,9 +61,8 @@ export const RAISE_PROMPTS = {greeting: "Hello, I'm Otto. I'll help you raise your own expert.",roleQuestion: "First — what should your expert do for you?",nameQuestion: "Good pick. What do you want to call them?",- colorQuestion: "Nice. Now choose a color for them.",avatarQuestion: (name: string) =>- `Want to give ${name || "them"} a face? Upload a picture, let me generate one, or skip it.`,+ `Now give ${name || "them"} a face and a color. Shuffle until one feels right, or upload a picture.`,aboutQuestion: (name: string) =>`Anything else I should know about ${name || "your expert"}? How they should work, what matters to you — or skip it.`,voiceQuestion: (name: string) =>@@ -126,7 +123,7 @@ export function loadDraft(): RaiseDraft {const parsed = JSON.parse(raw) as Omit<Partial<RaiseDraft>, "step"> & {step?: string;};- const step = parsed.step === "kit" ? "budget" : parsed.step;+ const step = migrateStep(parsed.step);return backfillSkippedVoice({...EMPTY_DRAFT,...parsed,@@ -141,6 +138,14 @@ export function loadDraft(): RaiseDraft {// label. The flow now treats null as "not answered", which would leave a// restored session parked on the voice beat with no way forward, so a draft// that has already moved past voice gets the sentinel back.+// Steps that existed in earlier builds map onto the beat that absorbed them,+// so a restored draft resumes where it left off instead of resetting.+function migrateStep(step: string | undefined): string | undefined {+ if (step === "kit") return "budget";+ if (step === "color") return "avatar";+ return step;+}+function backfillSkippedVoice(draft: RaiseDraft): RaiseDraft {if (draft.voiceLabel !== null) return draft;if (STEP_ORDER.indexOf(draft.step) <= STEP_ORDER.indexOf("voice")) {diff --git a/autogpt_platform/frontend/src/app/(platform)/raise/useRaisePage.ts b/autogpt_platform/frontend/src/app/(platform)/raise/useRaisePage.tsindex cc96a799d2..147bb7acb6 100644--- a/autogpt_platform/frontend/src/app/(platform)/raise/useRaisePage.ts+++ b/autogpt_platform/frontend/src/app/(platform)/raise/useRaisePage.ts@@ -66,19 +66,11 @@ export function useRaisePage() {function submitName(value: string) {const trimmed = value.trim();if (!trimmed) return;- update({ name: trimmed, step: "color" });+ update({ name: trimmed, step: "avatar" });}- function pickColor(colorId: string) {- update({ color: colorId, step: "avatar" });- }-- function pickAvatar(avatarUrl: string) {- update({ avatarUrl, step: "about" });- }-- function skipAvatar() {- update({ avatarUrl: "", step: "about" });+ function pickAvatar(avatarUrl: string, colorId: string) {+ update({ avatarUrl, color: colorId, step: "about" });}function submitAbout(value: string) {@@ -184,9 +176,7 @@ export function useRaisePage() {revealStep: (beat: BeatKey) => progress.revealStep(beat),pickRole,submitName,- pickColor,pickAvatar,- skipAvatar,submitAbout,skipAbout,pickVoice,diff --git a/autogpt_platform/frontend/src/app/(platform)/team/[expertId]/components/ExpertAvatarButton/ExpertAvatarButton.tsx b/autogpt_platform/frontend/src/app/(platform)/team/[expertId]/components/ExpertAvatarButton/ExpertAvatarButton.tsxindex 55c06edd52..9bd2bc263a 100644--- a/autogpt_platform/frontend/src/app/(platform)/team/[expertId]/components/ExpertAvatarButton/ExpertAvatarButton.tsx+++ b/autogpt_platform/frontend/src/app/(platform)/team/[expertId]/components/ExpertAvatarButton/ExpertAvatarButton.tsx@@ -7,11 +7,8 @@ import {AvatarImage,} from "@/components/atoms/Avatar/Avatar";import { Icon } from "@/components/atoms/Icon/Icon";-import { BotAvatar } from "@/components/molecules/BotAvatar/BotAvatar";-import {- expertAvatarConfig,- isUploadedAvatar,-} from "@/components/molecules/BotAvatar/helpers";+import { expertNotionConfig } from "@/components/molecules/NotionAvatar/helpers";+import { NotionAvatarImage } from "@/components/molecules/NotionAvatar/NotionAvatarImage";import { Camera01Icon, Loading03Icon } from "@hugeicons/core-free-icons";import { ChangeEvent, useRef } from "react";import { useExpertAvatarButton } from "./useExpertAvatarButton";@@ -23,6 +20,11 @@ interface Props {export function ExpertAvatarButton({ expert }: Props) {const fileRef = useRef<HTMLInputElement>(null);const { uploadAvatar, isUploading } = useExpertAvatarButton(expert.id);+ const avatarConfig = expertNotionConfig({+ name: expert.name,+ avatarUrl: expert.avatar_url,+ color: expert.color,+ });function openFilePicker() {if (isUploading) return;@@ -44,7 +46,15 @@ export function ExpertAvatarButton({ expert }: Props) {aria-label={`Change ${expert.name}'s photo`}className="group relative size-24 shrink-0 cursor-pointer rounded-full outline-none transition-transform duration-150 ease-out focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 active:scale-[0.97] disabled:cursor-wait">- {isUploadedAvatar(expert.avatar_url) ? (+ {avatarConfig ? (+ <span className="flex size-24 items-center justify-center overflow-hidden rounded-full border border-stone-500 bg-background ring-4 ring-background">+ <NotionAvatarImage+ config={avatarConfig}+ size={96}+ title={expert.name}+ />+ </span>+ ) : (<Avatar className="size-24 border border-stone-500 bg-background ring-4 ring-background"><AvatarImagesrc={expert.avatar_url ?? undefined}@@ -54,20 +64,6 @@ export function ExpertAvatarButton({ expert }: Props) {/><AvatarFallback>{expert.name}</AvatarFallback></Avatar>- ) : (- <span className="flex size-24 items-center justify-center rounded-full border border-stone-500 bg-background ring-4 ring-background">- <BotAvatar- config={expertAvatarConfig({- name: expert.name,- avatarUrl: expert.avatar_url,- color: expert.color,- })}- size={84}- trackPointer- showBadge={false}- title={expert.name}- />- </span>)}<spandiff --git a/autogpt_platform/frontend/src/app/(platform)/team/components/ExpertSidePanel/IdentityAvatar.tsx b/autogpt_platform/frontend/src/app/(platform)/team/components/ExpertSidePanel/IdentityAvatar.tsxindex 7153dddd29..0ba69d9e22 100644--- a/autogpt_platform/frontend/src/app/(platform)/team/components/ExpertSidePanel/IdentityAvatar.tsx+++ b/autogpt_platform/frontend/src/app/(platform)/team/components/ExpertSidePanel/IdentityAvatar.tsx@@ -4,11 +4,8 @@ import {AvatarImage,} from "@/components/atoms/Avatar/Avatar";import { AutopilotAvatar } from "@/components/molecules/AutopilotAvatar/AutopilotAvatar";-import { BotAvatar } from "@/components/molecules/BotAvatar/BotAvatar";-import {- expertAvatarConfig,- isUploadedAvatar,-} from "@/components/molecules/BotAvatar/helpers";+import { expertNotionConfig } from "@/components/molecules/NotionAvatar/helpers";+import { NotionAvatarImage } from "@/components/molecules/NotionAvatar/NotionAvatarImage";import { cn } from "@/lib/utils";export interface PanelIdentity {@@ -28,12 +25,12 @@ export function IdentityAvatar({ identity, className, imageSize }: Props) {if (identity.isAutopilot) {return <AutopilotAvatar size={imageSize} className={className} />;}- if (!isUploadedAvatar(identity.avatarUrl)) {+ const config = expertNotionConfig(identity);+ if (config) {return (- <BotAvatar- config={expertAvatarConfig(identity)}+ <NotionAvatarImage+ config={config}size={imageSize}- showBadge={false}title={identity.name}className={className}/>diff --git a/autogpt_platform/frontend/src/app/(platform)/team/components/ExpertTeamCard/ExpertTeamCard.tsx b/autogpt_platform/frontend/src/app/(platform)/team/components/ExpertTeamCard/ExpertTeamCard.tsxindex e6cdd27a31..8a0ff54842 100644--- a/autogpt_platform/frontend/src/app/(platform)/team/components/ExpertTeamCard/ExpertTeamCard.tsx+++ b/autogpt_platform/frontend/src/app/(platform)/team/components/ExpertTeamCard/ExpertTeamCard.tsx@@ -24,11 +24,8 @@ import { MouseEvent } from "react";import { ExpertCover } from "./components/ExpertCover";import { IntegrationIcons } from "./components/IntegrationIcons";-import { BotAvatar } from "@/components/molecules/BotAvatar/BotAvatar";-import {- expertAvatarConfig,- isUploadedAvatar,-} from "@/components/molecules/BotAvatar/helpers";+import { NotionAvatarImage } from "@/components/molecules/NotionAvatar/NotionAvatarImage";+import { expertNotionConfig } from "@/components/molecules/NotionAvatar/helpers";import { SpendMeter } from "./components/SpendMeter";import {@@ -62,6 +59,11 @@ export function ExpertTeamCard({const rosterStatus = getExpertRosterStatus(expert);const weeklySpend = getWeeklySpend(expert);const cover = getExpertCover(expert);+ const avatarConfig = expertNotionConfig({+ name: expert.name,+ avatarUrl: expert.avatar_url,+ color: expert.color,+ });const { handleResume, isResuming, isFireOpen, openFire, closeFire } =useExpertTeamCard(expert.id);const isPaused = Boolean(expert.schedules_paused_at);@@ -106,7 +108,15 @@ export function ExpertTeamCard({<div className="flex w-full items-start gap-3 px-2"><span className="relative z-10 -mt-12 ml-1 block shrink-0">- {isUploadedAvatar(expert.avatar_url) ? (+ {avatarConfig ? (+ <span className="flex size-[5.5rem] items-center justify-center overflow-hidden rounded-full border border-stone-500 bg-white ring-4 ring-white">+ <NotionAvatarImage+ config={avatarConfig}+ size={88}+ title={expert.name}+ />+ </span>+ ) : (<Avatar className="size-[5.5rem] rounded-full border border-stone-500 ring-4 ring-white"><AvatarImagesrc={expert.avatar_url ?? undefined}@@ -119,20 +129,6 @@ export function ExpertTeamCard({{expert.name}</AvatarFallback></Avatar>- ) : (- <span className="flex size-[5.5rem] items-center justify-center rounded-full border border-stone-500 bg-white ring-4 ring-white">- <BotAvatar- config={expertAvatarConfig({- name: expert.name,- avatarUrl: expert.avatar_url,- color: expert.color,- })}- status="idle"- trackPointer- size={80}- title={expert.name}- />- </span>)}</span>diff --git a/autogpt_platform/frontend/src/app/avatars/[file]/__tests__/route.test.ts b/autogpt_platform/frontend/src/app/avatars/[file]/__tests__/route.test.tsindex 42965bdd47..31da7edca0 100644--- a/autogpt_platform/frontend/src/app/avatars/[file]/__tests__/route.test.ts+++ b/autogpt_platform/frontend/src/app/avatars/[file]/__tests__/route.test.ts@@ -1,23 +1,43 @@+import { notionConfigForLegacyUrl } from "@/components/molecules/NotionAvatar/helpers";+import { notionAvatarUrlFor } from "@/components/molecules/NotionAvatar/helpers";import { describe, expect, it } from "vitest";import { GET } from "../route";+function get(file: string) {+ return GET(new Request("http://localhost/avatars/x"), {+ params: Promise.resolve({ file }),+ });+}+describe("GET /avatars/[file]", () => {- it("renders a generated avatar as SVG", async () => {- const response = await GET(new Request("http://localhost/avatars/x"), {- params: Promise.resolve({ file: "round.sky.none.svg" }),- });-- expect(response.status).toBe(200);- expect(response.headers.get("Content-Type")).toContain("image/svg+xml");- const body = await response.text();- expect(body.startsWith("<svg xmlns=")).toBe(true);+ it("redirects a legacy avatar permanently to its Notion face", async () => {+ const response = await get("round.sky.glasses.svg");++ expect(response.status).toBe(308);+ const target = response.headers.get("Location");+ expect(target).toContain("/avatars/notion/");+ // The same face the component resolves for that URL, so an expert does not+ // change appearance depending on which one drew them.+ const config = notionConfigForLegacyUrl("/avatars/round.sky.glasses.svg");+ expect(target).toContain(notionAvatarUrlFor(config!));});- it("404s on a file that is not an avatar spec", async () => {- const response = await GET(new Request("http://localhost/avatars/x"), {- params: Promise.resolve({ file: "nope.svg" }),- });+ it("keeps the colour the expert was raised with", async () => {+ const response = await get("round.sky.glasses.svg");++ expect(response.headers.get("Location")).toContain(".sky.svg");+ });++ it("sends two different legacy shapes to two different faces", async () => {+ const [a, b] = await Promise.all([+ get("round.sky.glasses.svg"),+ get("bean.sky.crown.svg"),+ ]);- expect(response.status).toBe(404);+ expect(a.headers.get("Location")).not.toBe(b.headers.get("Location"));+ });++ it("404s on a file that is not an avatar spec", async () => {+ expect((await get("nope.svg")).status).toBe(404);});});diff --git a/autogpt_platform/frontend/src/app/avatars/[file]/route.ts b/autogpt_platform/frontend/src/app/avatars/[file]/route.tsindex 4309b51739..60e7a298d9 100644--- a/autogpt_platform/frontend/src/app/avatars/[file]/route.ts+++ b/autogpt_platform/frontend/src/app/avatars/[file]/route.ts@@ -1,43 +1,24 @@-import { BotAvatarSvg } from "@/components/molecules/BotAvatar/BotAvatarSvg";-import { parseAvatarUrl } from "@/components/molecules/BotAvatar/helpers";-import { FRONT_POSE } from "@/components/molecules/BotAvatar/projection";-import { STATIC_ELS } from "@/components/molecules/BotAvatar/svgElements";-import { createElement } from "react";-import { renderToStaticMarkup } from "react-dom/server.browser";+import {+ notionAvatarUrlFor,+ notionConfigForLegacyUrl,+} from "@/components/molecules/NotionAvatar/helpers";-export const dynamic = "force-static";+export const dynamic = "force-dynamic";-const SVG_XMLNS = 'xmlns="http://www.w3.org/2000/svg"';--// Route handlers run in the server layer, where hooks and framer-motion's-// client components are unavailable — so this renders the avatar at rest-// through the plain-element path rather than BotAvatar itself.+// Experts raised before the Notion artwork landed still hold URLs of the form+// /avatars/<shape>.<color>.<accessory>.svg. Rather than backfill the column,+// the old shape maps onto a face and redirects — permanently, so the browser+// and any CDN stop asking.export async function GET(_request: Request,{ params }: { params: Promise<{ file: string }> },) {const { file } = await params;- const config = parseAvatarUrl(`/avatars/${file}`);+ const config = notionConfigForLegacyUrl(`/avatars/${file}`);if (!config) return new Response("Not found", { status: 404 });- const markup = renderToStaticMarkup(- createElement(BotAvatarSvg, {- config,- status: "idle",- expression: "neutral",- pose: FRONT_POSE,- isLive: false,- isBlinking: false,- els: STATIC_ELS,- idPrefix: "avatar",- size: 512,- }),- ).replace("<svg ", `<svg ${SVG_XMLNS} `);-- return new Response(markup, {- headers: {- "Content-Type": "image/svg+xml; charset=utf-8",- "Cache-Control": "public, max-age=31536000, immutable",- },- });+ return Response.redirect(+ new URL(notionAvatarUrlFor(config), _request.url),+ 308,+ );}diff --git a/autogpt_platform/frontend/src/app/avatars/notion/[file]/__tests__/route.test.ts b/autogpt_platform/frontend/src/app/avatars/notion/[file]/__tests__/route.test.tsnew file mode 100644index 0000000000..c2ff5d17f7--- /dev/null+++ b/autogpt_platform/frontend/src/app/avatars/notion/[file]/__tests__/route.test.ts@@ -0,0 +1,63 @@+import { describe, expect, it } from "vitest";+import { GET } from "../route";++function get(file: string) {+ return GET(new Request("http://localhost/avatars/notion/x"), {+ params: Promise.resolve({ file }),+ });+}++const VALID = "2-3-5-4-2-0-12-0-0-0.sky.svg";++describe("GET /avatars/notion/[file]", () => {+ it("renders a composed avatar as immutable SVG", async () => {+ const response = await get(VALID);++ expect(response.status).toBe(200);+ expect(response.headers.get("Content-Type")).toContain("image/svg+xml");+ expect(response.headers.get("Cache-Control")).toContain("immutable");+ const body = await response.text();+ expect(body.startsWith("<svg xmlns=")).toBe(true);+ expect(body).toContain("</svg>");+ });++ it("stacks every layer in draw order", async () => {+ const body = await (await get(VALID)).text();++ expect(body.match(/<g>/g)).toHaveLength(10);+ // No layer paints the skin: it takes the disc's colour, so the face sits+ // in its circle rather than on a white cut-out.+ expect(body).not.toContain('fill="#ffffff"');+ });++ it("clips itself to the disc, since the head overflows the artboard", async () => {+ const body = await (await get(VALID)).text();++ expect(body).toContain("<clipPath");+ expect(body).toMatch(/<g clip-path="url\(#[^)]+\)">/);+ });++ it("gives each request's ids a prefix so two avatars can share a page", async () => {+ const body = await (await get(VALID)).text();++ expect(body).not.toContain("{{P}}");+ });++ it("wraps an out-of-range index instead of failing", async () => {+ const wrapped = await (await get("0-0-0-0-0-0-9999-0-0-0.sky.svg")).text();+ const expected = await (+ await get(`0-0-0-0-0-0-${9999 % 59}-0-0-0.sky.svg`)+ ).text();++ expect(wrapped).toBe(expected);+ });++ it.each([+ ["a slug that is not ten slots", "1-2-3.sky.svg"],+ ["a non-numeric slot", "a-2-3-4-5-6-7-8-9-10.sky.svg"],+ ["an unknown colour", "0-0-0-0-0-0-0-0-0-0.taupe.svg"],+ ["a missing extension", "0-0-0-0-0-0-0-0-0-0.sky"],+ ])("404s on %s", async (_label, file) => {+ expect((await get(file)).status).toBe(404);+ });+});diff --git a/autogpt_platform/frontend/src/app/avatars/notion/[file]/route.ts b/autogpt_platform/frontend/src/app/avatars/notion/[file]/route.tsnew file mode 100644index 0000000000..86d36346ca--- /dev/null+++ b/autogpt_platform/frontend/src/app/avatars/notion/[file]/route.ts@@ -0,0 +1,24 @@+import { composeNotionAvatar } from "@/components/molecules/NotionAvatar/compose";+import { decodeNotionConfig } from "@/components/molecules/NotionAvatar/helpers";++// Every slot combination is a valid URL, so there is nothing to prerender.+// The markup is deterministic, hence the immutable cache.+export const dynamic = "force-dynamic";++export async function GET(+ _request: Request,+ { params }: { params: Promise<{ file: string }> },+) {+ const { file } = await params;+ if (!file.endsWith(".svg")) return new Response("Not found", { status: 404 });++ const config = decodeNotionConfig(file.slice(0, -".svg".length));+ if (!config) return new Response("Not found", { status: 404 });++ return new Response(composeNotionAvatar(config, { size: 512 }), {+ headers: {+ "Content-Type": "image/svg+xml; charset=utf-8",+ "Cache-Control": "public, max-age=31536000, immutable",+ },+ });+}diff --git a/autogpt_platform/frontend/src/components/layout/AppSidebar/components/RecentChats/__tests__/expert-groups.test.tsx b/autogpt_platform/frontend/src/components/layout/AppSidebar/components/RecentChats/__tests__/expert-groups.test.tsxindex bbb34aea29..4051560ae3 100644--- a/autogpt_platform/frontend/src/components/layout/AppSidebar/components/RecentChats/__tests__/expert-groups.test.tsx+++ b/autogpt_platform/frontend/src/components/layout/AppSidebar/components/RecentChats/__tests__/expert-groups.test.tsx@@ -191,9 +191,9 @@ describe("RecentChats — expert groups", () => {const expertGroup = await screen.findByRole("button", {name: "Expert chats",});- expect(expertGroup.querySelector('svg[data-testid="bot-avatar"]')).not.toBe(- null,- );+ expect(+ expertGroup.querySelector('img[data-testid="notion-avatar-image"]'),+ ).not.toBe(null);expect(await screen.findByText("expert-ghost chat 1")).toBeDefined();});@@ -215,8 +215,10 @@ describe("RecentChats — expert groups", () => {const expertGroup = await screen.findByRole("button", {name: "Nova chats",});- const avatar = expertGroup.querySelector('svg[data-testid="bot-avatar"]');- expect(avatar?.getAttribute("data-avatar")?.split(".")[1]).toBe("lavender");+ const avatar = expertGroup.querySelector(+ 'img[data-testid="notion-avatar-image"]',+ );+ expect(avatar?.getAttribute("data-avatar")).toMatch(/\.violet\.svg$/);});it("keeps the group-level and list-level Load more buttons distinct", async () => {diff --git a/autogpt_platform/frontend/src/components/layout/AppSidebar/components/RecentChats/components/ExpertChatGroup/ExpertChatGroup.tsx b/autogpt_platform/frontend/src/components/layout/AppSidebar/components/RecentChats/components/ExpertChatGroup/ExpertChatGroup.tsxindex 6d1e65ad32..d2d38f7bd8 100644--- a/autogpt_platform/frontend/src/components/layout/AppSidebar/components/RecentChats/components/ExpertChatGroup/ExpertChatGroup.tsx+++ b/autogpt_platform/frontend/src/components/layout/AppSidebar/components/RecentChats/components/ExpertChatGroup/ExpertChatGroup.tsx@@ -15,11 +15,8 @@ import {TooltipTrigger,} from "@/components/atoms/Tooltip/BaseTooltip";import { AutopilotAvatar } from "@/components/molecules/AutopilotAvatar/AutopilotAvatar";-import { BotAvatar } from "@/components/molecules/BotAvatar/BotAvatar";-import {- expertAvatarConfig,- isUploadedAvatar,-} from "@/components/molecules/BotAvatar/helpers";+import { NotionAvatarImage } from "@/components/molecules/NotionAvatar/NotionAvatarImage";+import { expertNotionConfig } from "@/components/molecules/NotionAvatar/helpers";import {Collapsible,CollapsibleContent,@@ -63,6 +60,7 @@ export function ExpertChatGroup({const [isOpen, setIsOpen] = useState(true);const [visibleCount, setVisibleCount] = useState(EXPERT_GROUP_PREVIEW_COUNT);const visibleSessions = sessions.slice(0, visibleCount);+ const avatarConfig = expertNotionConfig({ name: label, avatarUrl, color });const hasHiddenSessions = sessions.length > visibleSessions.length;const runningSessions = sessions.filter((session) => session.is_processing);@@ -82,7 +80,9 @@ export function ExpertChatGroup({>{isAutopilot ? (<AutopilotAvatar size={24} />- ) : isUploadedAvatar(avatarUrl) ? (+ ) : avatarConfig ? (+ <NotionAvatarImage config={avatarConfig} size={24} title={label} />+ ) : (<Avatar className="h-6 w-6 border border-stone-500"><AvatarImagesrc={avatarUrl ?? undefined}@@ -92,14 +92,6 @@ export function ExpertChatGroup({/><AvatarFallback>{label}</AvatarFallback></Avatar>- ) : (- <BotAvatar- config={expertAvatarConfig({ name: label, avatarUrl, color })}- size={24}- animated={false}- showBadge={false}- title={label}- />)}<span className="truncate">{label}</span>{newChatHref && (diff --git a/autogpt_platform/frontend/src/components/molecules/AutopilotAvatar/helpers.ts b/autogpt_platform/frontend/src/components/molecules/AutopilotAvatar/helpers.tsindex 43643ca787..1fcf277abb 100644--- a/autogpt_platform/frontend/src/components/molecules/AutopilotAvatar/helpers.ts+++ b/autogpt_platform/frontend/src/components/molecules/AutopilotAvatar/helpers.ts@@ -7,3 +7,9 @@ export const AUTOPILOT_AVATAR_BG_CLASS = "bg-cyan-100";export const AUTOPILOT_COVER_URL = "/experts/covers/otto-cover-3.png";export const AUTOPILOT_COVER_COLOR = "cyan-300";++/** Light and mid cyan, for effects drawn around Otto — the voice aura's+ * comets and the dots that collapse into him. */+export const AUTOPILOT_AURA_COLORS: [string, string] = ["#a5f3fc", "#22d3ee"];++export const AUTOPILOT_DOT_COLOR = "#22d3ee";diff --git a/autogpt_platform/frontend/src/components/molecules/BotAvatar/BotAvatar.tsx b/autogpt_platform/frontend/src/components/molecules/BotAvatar/BotAvatar.tsxdeleted file mode 100644index 9df313a812..0000000000--- a/autogpt_platform/frontend/src/components/molecules/BotAvatar/BotAvatar.tsx+++ /dev/null@@ -1,72 +0,0 @@-"use client";--import { motion } from "framer-motion";-import { useId, useRef } from "react";-import { BotAvatarSvg } from "./BotAvatarSvg";-import type { ExpressionId } from "./expressions";-import type { AvatarConfig, AvatarStatus } from "./helpers";-import type { Pose } from "./projection";-import { useExpression } from "./useExpression";-import { usePose } from "./usePose";--interface Props {- config: AvatarConfig;- status?: AvatarStatus;- expression?: ExpressionId;- size?: number;- animated?: boolean;- trackPointer?: boolean;- poseOffset?: Partial<Pose>;- outline?: boolean;- showBadge?: boolean;- title?: string;- className?: string;-}--export function BotAvatar({- config,- status = "idle",- expression: expressionOverride,- size = 96,- animated = true,- trackPointer = false,- poseOffset,- outline = false,- showBadge = true,- title,- className,-}: Props) {- const svgRef = useRef<SVGSVGElement>(null);- const idPrefix = useId().replace(/:/g, "");- const { isLive, pose } = usePose({- status,- animated,- trackPointer,- poseOffset,- svgRef,- });- const { expression, isBlinking } = useExpression({- status,- isLive,- override: expressionOverride,- });-- return (- <BotAvatarSvg- svgRef={svgRef}- config={config}- status={status}- expression={expression}- pose={pose}- isLive={isLive}- isBlinking={isBlinking}- els={motion}- idPrefix={idPrefix}- size={size}- outline={outline}- showBadge={showBadge}- title={title}- className={className}- />- );-}diff --git a/autogpt_platform/frontend/src/components/molecules/BotAvatar/BotAvatarSvg.tsx b/autogpt_platform/frontend/src/components/molecules/BotAvatar/BotAvatarSvg.tsxdeleted file mode 100644index ffee865c0a..0000000000--- a/autogpt_platform/frontend/src/components/molecules/BotAvatar/BotAvatarSvg.tsx+++ /dev/null@@ -1,133 +0,0 @@-import { cn } from "@/lib/utils";-import type { RefObject } from "react";-import { Accessory } from "./components/Accessory";-import { Face } from "./components/Face";-import { StatusBadge } from "./components/StatusBadge";-import type { ExpressionId } from "./expressions";-import {- encodeConfig,- findColor,- findShape,- INK,- VIEWBOX,- type AvatarConfig,- type AvatarStatus,-} from "./helpers";-import type { Pose } from "./projection";-import type { SvgEls } from "./svgElements";--interface Props {- config: AvatarConfig;- status: AvatarStatus;- expression: ExpressionId;- pose: Pose;- isLive: boolean;- isBlinking: boolean;- els: SvgEls;- /** Prefix for the gradient id — unique per instance on a page. */- idPrefix: string;- size?: number;- outline?: boolean;- showBadge?: boolean;- title?: string;- className?: string;- svgRef?: RefObject<SVGSVGElement>;-}--// The avatar's markup with every moving part passed in: BotAvatar drives-// it from hooks in the browser; the /avatars/[file] route renders it once,-// at rest, with plain elements.-export function BotAvatarSvg({- config,- status,- expression,- pose,- isLive,- isBlinking,- els,- idPrefix,- size = 96,- outline = false,- showBadge = true,- title,- className,- svgRef,-}: Props) {- const gradientId = `${idPrefix}-body-${config.color}`;- const shape = findShape(config.shape);- const color = findColor(config.color);- const { cx, bottom } = shape.anchors;- const rollDeg = (pose.roll * 180) / Math.PI;- const bodyFill = outline ? color.body : `url(#${gradientId})`;-- return (- <svg- ref={svgRef}- viewBox={`0 0 ${VIEWBOX} ${VIEWBOX}`}- width={size}- height={size}- role="img"- aria-label={- title ?? `${color.label} ${shape.label.toLowerCase()} avatar, ${status}`- }- data-testid="bot-avatar"- data-avatar={encodeConfig(config)}- data-status={status}- data-expression={expression}- data-outline={outline}- className={cn("shrink-0 overflow-visible", className)}- >- <defs>- <radialGradient id={gradientId} cx="50%" cy="45%" r="62%">- <stop offset="0%" stopColor={color.body} />- <stop offset="100%" stopColor={color.light} />- </radialGradient>- </defs>- <g- transform={`translate(0 ${-pose.bob}) rotate(${rollDeg} ${cx} ${bottom})`}- >- <Accessory- accessory={config.accessory}- anchors={shape.anchors}- pose={pose}- deep={color.deep}- outline={outline}- layer="back"- />- <path- d={shape.path}- fill={bodyFill}- stroke={outline ? INK : "none"}- strokeWidth={3}- strokeLinejoin="round"- />- <Face- anchors={shape.anchors}- pose={pose}- status={status}- expression={expression}- blush={color.mid}- isLive={isLive}- isBlinking={isBlinking}- els={els}- />- <Accessory- accessory={config.accessory}- anchors={shape.anchors}- pose={pose}- deep={color.deep}- outline={outline}- layer="front"- />- </g>- {showBadge ? (- <StatusBadge- status={status}- anchors={shape.anchors}- isLive={isLive}- els={els}- />- ) : null}- </svg>- );-}diff --git a/autogpt_platform/frontend/src/components/molecules/BotAvatar/__tests__/Accessory.test.tsx b/autogpt_platform/frontend/src/components/molecules/BotAvatar/__tests__/Accessory.test.tsxdeleted file mode 100644index 982cd22292..0000000000--- a/autogpt_platform/frontend/src/components/molecules/BotAvatar/__tests__/Accessory.test.tsx+++ /dev/null@@ -1,35 +0,0 @@-import { render } from "@testing-library/react";-import { describe, expect, it } from "vitest";-import { Accessory } from "../components/Accessory";-import { SHAPES, type AccessoryId } from "../helpers";-import { FRONT_POSE } from "../projection";--describe("avatar accessories", () => {- it.each(["glasses", "headband", "ears"] as AccessoryId[])(- "keeps %s geometry mounted while the pose changes",- (accessory) => {- const props = {- accessory,- anchors: SHAPES[0].anchors,- deep: "#123456",- outline: true,- layer: "front" as const,- };- const { container, rerender } = render(- <svg>- <Accessory {...props} pose={FRONT_POSE} />- </svg>,- );- const nodes = Array.from(container.querySelectorAll("path,circle"));- expect(nodes.length).toBeGreaterThan(0);- rerender(- <svg>- <Accessory {...props} pose={{ ...FRONT_POSE, yaw: 0.01 }} />- </svg>,- );- const updated = Array.from(container.querySelectorAll("path,circle"));- expect(updated).toHaveLength(nodes.length);- for (let i = 0; i < nodes.length; i++) expect(updated[i]).toBe(nodes[i]);- },- );-});diff --git a/autogpt_platform/frontend/src/components/molecules/BotAvatar/__tests__/Face.test.tsx b/autogpt_platform/frontend/src/components/molecules/BotAvatar/__tests__/Face.test.tsxdeleted file mode 100644index 24d38c2ce3..0000000000--- a/autogpt_platform/frontend/src/components/molecules/BotAvatar/__tests__/Face.test.tsx+++ /dev/null@@ -1,35 +0,0 @@-import { render } from "@testing-library/react";-import { motion } from "framer-motion";-import { describe, expect, it } from "vitest";-import { Face } from "../components/Face";-import { EXPRESSIONS, type ExpressionId } from "../expressions";-import { SHAPES } from "../helpers";-import { FRONT_POSE } from "../projection";--function Expression({ expression }: { expression: ExpressionId }) {- return (- <svg>- <Face- anchors={SHAPES[0].anchors}- pose={FRONT_POSE}- status="idle"- expression={expression}- blush="#fff"- isLive={false}- isBlinking={false}- els={motion}- />- </svg>- );-}--describe("avatar mouth", () => {- it("switches between line, curve and arc expressions with valid geometry", () => {- const { container, rerender } = render(<Expression expression="neutral" />);- for (const expression of EXPRESSIONS) {- rerender(<Expression expression={expression.id} />);- const paths = container.querySelectorAll("path");- expect(paths[paths.length - 1].getAttribute("d")).toBe(expression.mouth);- }- });-});diff --git a/autogpt_platform/frontend/src/components/molecules/BotAvatar/__tests__/svgElements.test.tsx b/autogpt_platform/frontend/src/components/molecules/BotAvatar/__tests__/svgElements.test.tsxdeleted file mode 100644index ba8816750d..0000000000--- a/autogpt_platform/frontend/src/components/molecules/BotAvatar/__tests__/svgElements.test.tsx+++ /dev/null@@ -1,38 +0,0 @@-import { renderToStaticMarkup } from "react-dom/server";-import { describe, expect, it } from "vitest";-import { STATIC_ELS } from "../svgElements";--describe("static SVG transforms", () => {- it("preserves authored placement when applying the animation resting transform", () => {- const svg = renderToStaticMarkup(- <svg>- <STATIC_ELS.g- transform="translate(20 30)"- animate={{ x: 4, y: 5, rotate: 12, scaleX: 2, scaleY: 3 }}- >- <circle r={1} />- </STATIC_ELS.g>- </svg>,- );- expect(svg).toContain(- 'transform="translate(20 30) translate(4 5) rotate(12) scale(2 3)"',- );- expect(svg).not.toContain("animate=");- });- it("retains authored transforms for an identity resting frame", () => {- const svg = renderToStaticMarkup(- <svg>- <STATIC_ELS.g transform="rotate(45)" animate={{ x: 0, scale: 1 }} />- </svg>,- );- expect(svg).toContain('transform="rotate(45)"');- });- it("emits an animation transform without an authored transform", () => {- const svg = renderToStaticMarkup(- <svg>- <STATIC_ELS.g animate={{ scale: 2 }} />- </svg>,- );- expect(svg).toContain('transform="scale(2 2)"');- });-});diff --git a/autogpt_platform/frontend/src/components/molecules/BotAvatar/__tests__/useExpression.test.ts b/autogpt_platform/frontend/src/components/molecules/BotAvatar/__tests__/useExpression.test.tsdeleted file mode 100644index f7abfd4995..0000000000--- a/autogpt_platform/frontend/src/components/molecules/BotAvatar/__tests__/useExpression.test.ts+++ /dev/null@@ -1,47 +0,0 @@-import { act, renderHook } from "@testing-library/react";-import { afterEach, beforeEach, describe, expect, it, vi } from "vitest";-import type { AvatarStatus } from "../helpers";-import { useExpression } from "../useExpression";--describe("useExpression", () => {- beforeEach(() => {- vi.useFakeTimers();- vi.spyOn(Math, "random").mockReturnValue(0);- });- afterEach(() => {- vi.useRealTimers();- vi.restoreAllMocks();- });-- it.each([- { status: "idle", isLive: false },- { status: "sleeping", isLive: true },- { status: "failed", isLive: true },- { status: "working", isLive: true },- ] as { status: AvatarStatus; isLive: boolean }[])(- "opens the eyes when interrupted by $status / live=$isLive",- (next) => {- const { result, rerender, unmount } = renderHook(useExpression, {- initialProps: { status: "idle" as AvatarStatus, isLive: true },- });- act(() => vi.advanceTimersByTime(5000));- expect(result.current.isBlinking).toBe(true);- rerender(next);- expect(result.current.isBlinking).toBe(false);- unmount();- expect(vi.getTimerCount()).toBe(0);- },- );-- it("finishes and reschedules a live blink", () => {- const { result } = renderHook(() =>- useExpression({ status: "idle", isLive: true }),- );- act(() => vi.advanceTimersByTime(5000));- expect(result.current.isBlinking).toBe(true);- act(() => vi.advanceTimersByTime(130));- expect(result.current.isBlinking).toBe(false);- act(() => vi.advanceTimersByTime(5000));- expect(result.current.isBlinking).toBe(true);- });-});diff --git a/autogpt_platform/frontend/src/components/molecules/BotAvatar/components/Accessory.tsx b/autogpt_platform/frontend/src/components/molecules/BotAvatar/components/Accessory.tsxdeleted file mode 100644index a0caddd2f1..0000000000--- a/autogpt_platform/frontend/src/components/molecules/BotAvatar/components/Accessory.tsx+++ /dev/null@@ -1,492 +0,0 @@-import { INK, type AccessoryId, type ShapeAnchors } from "../helpers";-import {- centroidLayer,- discProjection,- discTransform,- fromSurface,- isInFront,- polygonPath,- rotate,- samplePolyline,- splitPolyline,- toScreen,- type Layer,- type Vec3,-} from "../parts";-import {- ellipsoidFor,- surfacePointAt,- type Ellipsoid,- type Pose,-} from "../projection";--interface Props {- accessory: AccessoryId;- anchors: ShapeAnchors;- pose: Pose;- deep: string;- outline: boolean;- layer: Layer;-}--const STAR =- "M0,-5.5 L1.6,-1.7 L5.6,-1.6 L2.4,0.9 L3.5,4.8 L0,2.5 L-3.5,4.8 L-2.4,0.9 L-5.6,-1.6 L-1.6,-1.7 Z";-const HALF_PI = Math.PI / 2;--function scale([x, y, z]: Vec3, factor: number): Vec3 {- return [x * factor, y * factor, z * factor];-}--interface ProjectionProps {- pose: Pose;- body: Ellipsoid;- layer: Layer;-}--interface DiscProps extends ProjectionProps {- center: Vec3;- normal: Vec3;- minDepth?: number;- hideBelow?: number;- children: React.ReactNode;-}--function Disc({- pose,- body,- layer,- center,- normal,- minDepth = 0.12,- hideBelow = -1,- children,-}: DiscProps) {- const rotated = rotate(center, pose);- if (rotated[2] < hideBelow) return null;- if ((isInFront(rotated) ? "front" : "back") !== layer) return null;- const projected = discProjection(center, normal, pose, body);- return <g transform={discTransform(projected, minDepth)}>{children}</g>;-}--interface StrandProps extends ProjectionProps {- deep: string;- points: Vec3[];- width: number;- color?: string;-}--function Strand({- pose,- body,- layer,- deep,- points,- width,- color = deep,-}: StrandProps) {- const path = splitPolyline(samplePolyline(points), pose, body)[layer];- if (!path) return null;- return (- <path- d={path}- fill="none"- stroke={color}- strokeWidth={width}- strokeLinecap="round"- strokeLinejoin="round"- />- );-}--interface SlabProps extends ProjectionProps {- points: Vec3[];- fill?: string;- deep: string;- outline: boolean;-}--function Slab({- points,- deep,- fill = deep,- pose,- body,- layer,- outline,-}: SlabProps) {- if (centroidLayer(points, pose) !== layer) return null;- return (- <path- d={polygonPath(points, pose, body)}- fill={fill}- stroke={outline ? INK : fill}- strokeWidth={outline ? 2 : 3.5}- strokeLinejoin="round"- strokeLinecap="round"- />- );-}--export function Accessory({- accessory,- anchors,- pose,- deep,- outline,- layer,-}: Props) {- const { cx, eyeY, eyeGap, top, bottom } = anchors;- const body = ellipsoidFor(anchors);- const projection = { pose, body, layer };- const edge = outline ? { stroke: INK, strokeWidth: 2 } : {};- const soft = outline- ? { stroke: INK, strokeWidth: 2 }- : { stroke: deep, strokeWidth: 3 };- const eyeLat = surfacePointAt(cx, eyeY, body).lat;- const eyeLon = surfacePointAt(cx + eyeGap / 2, eyeY, body).lon;-- switch (accessory) {- case "glasses": {- const lenses = [-1, 1].map((side) =>- fromSurface(side * eyeLon, eyeLat, 1.02),- );- const bridgeVisible = lenses.every((lens) =>- isInFront(rotate(lens, pose)),- );- return (- <g fill="none" stroke={deep} strokeWidth={2.4} strokeLinecap="round">- {layer === "front" && bridgeVisible ? (- <Strand- {...projection}- deep={deep}- points={[- fromSurface(-eyeLon * 0.45, eyeLat, 1.03),- fromSurface(eyeLon * 0.45, eyeLat, 1.03),- ]}- width={2.4}- />- ) : null}- {[-1, 1].map((side) => (- <Strand- {...projection}- deep={deep}- key={side}- points={[- fromSurface(side * (eyeLon + 0.32), eyeLat, 1.03),- fromSurface(side * HALF_PI, eyeLat + 0.03, 1.02),- ]}- width={2.4}- />- ))}- {lenses.map((lens, index) => (- <Disc- {...projection}- key={index}- center={lens}- normal={scale(lens, 1)}- minDepth={0.15}- >- <circle r={9.5} />- </Disc>- ))}- </g>- );- }- case "headset": {- const bandLat = eyeLat + 0.12;- const band: Vec3[] = Array.from({ length: 25 }, (_, index) => {- const theta =- Math.PI - bandLat - ((Math.PI - 2 * bandLat) * index) / 24;- return [Math.cos(theta) * 1.05, Math.sin(theta) * 1.05, 0.1];- });- const pads = [-1, 1].map((side) =>- fromSurface(side * HALF_PI, bandLat - 0.02, 1.03),- );- const mic: Vec3[] = [- [1.0, Math.sin(bandLat) - 0.15, 0.25],- [0.85, -0.25, 0.75],- [0.3, -0.42, 1.05],- ];- return (- <g>- <Strand {...projection} deep={deep} points={band} width={3.4} />- <Strand {...projection} deep={deep} points={mic} width={2.4} />- <Disc {...projection} center={mic[2]} normal={[0, 0, 1]}>- <circle r={2.6} fill={deep} />- </Disc>- {pads.map((pad, index) => (- <Disc- {...projection}- key={index}- center={pad}- normal={[index === 0 ? -1 : 1, 0, 0]}- minDepth={0.45}- hideBelow={-0.2}- >- <ellipse rx={6} ry={9} fill={deep} {...edge} />- <ellipse rx={3} ry={5.5} fill="#fff" opacity={0.28} />- </Disc>- ))}- </g>- );- }- case "star": {- const center = fromSurface(0.85, -0.7, 1.01);- return (- <Disc {...projection} center={center} normal={center} minDepth={0.5}>- <circle r={9} fill={deep} {...edge} />- <path- d={STAR}- fill="#fff"- stroke="#fff"- strokeWidth={1.6}- strokeLinejoin="round"- />- </Disc>- );- }- case "bow": {- const center = fromSurface(-0.95, 0.85, 1.02);- return (- <Disc {...projection} center={center} normal={center} minDepth={0.5}>- <g transform="rotate(-18)">- <path- d="M0,0 L-11,-6 L-11,6 Z"- fill={deep}- {...soft}- strokeLinejoin="round"- />- <path- d="M0,0 L11,-6 L11,6 Z"- fill={deep}- {...soft}- strokeLinejoin="round"- />- <circle r={2.6} fill={deep} {...edge} />- </g>- </Disc>- );- }- case "badge": {- const center = fromSurface(-0.55, -0.5, 1.01);- return (- <Disc {...projection} center={center} normal={center} minDepth={0.3}>- <rect- x={-9}- y={-6}- width={18}- height={12}- rx={2.5}- fill="#fff"- stroke={deep}- strokeWidth={2}- />- <circle cx={-4} cy={0} r={2} fill={deep} />- <path- d="M0,-1.5 L5.5,-1.5 M0,1.5 L4,1.5"- stroke={deep}- strokeWidth={1.6}- strokeLinecap="round"- />- </Disc>- );- }- case "crown": {- const crownLat = surfacePointAt(cx, top + 16, body).lat;- const base: Vec3[] = Array.from({ length: 25 }, (_, index) =>- fromSurface(-Math.PI + (2 * Math.PI * index) / 24, crownLat, 1.04),- );- const spikes = [-0.9, -0.3, 0.3, 0.9].map((lon) => [- fromSurface(lon - 0.3, crownLat, 1.04),- fromSurface(lon, crownLat + 0.42, 1.36),- fromSurface(lon + 0.3, crownLat, 1.04),- ]);- return (- <g>- <Strand {...projection} deep={deep} points={base} width={5.5} />- {spikes.map((spike, index) => (- <Slab- {...projection}- deep={deep}- outline={outline}- key={index}- points={spike}- />- ))}- </g>- );- }- case "propeller": {- const capLat = surfacePointAt(cx, top + 14, body).lat;- const capRadius = 1.08;- const ring: Vec3[] = Array.from({ length: 41 }, (_, index) =>- fromSurface(-Math.PI + (2 * Math.PI * index) / 40, capLat, capRadius),- );- const front = ring- .map((point) => rotate(point, pose))- .filter((point) => point[2] >= 0.02)- .map((point) => toScreen(point, body));- const crownScreen = toScreen(- rotate([0, capRadius + 0.02, 0], pose),- body,- );- const spin = ((pose.bob + 10) * 0.9 + pose.yaw * 6) % (Math.PI * 2);- const blades: Vec3[] = [- [Math.cos(spin) * 0.4, capRadius + 0.16, Math.sin(spin) * 0.4],- [0, capRadius + 0.16, 0],- [-Math.cos(spin) * 0.4, capRadius + 0.16, -Math.sin(spin) * 0.4],- ];- const dome =- front.length > 2 && layer === "front"- ? `M${front[0].x},${front[0].y} ${front- .slice(1)- .map((point) => `L${point.x},${point.y}`)- .join(- " ",- )} A${body.rx * capRadius},${body.ry * capRadius} 0 0 0 ${front[0].x},${front[0].y} Z`- : null;- return (- <g>- {dome ? (- <path d={dome} fill={deep} {...edge} strokeLinejoin="round" />- ) : null}- <Strand- {...projection}- deep={deep}- points={[- [0, capRadius, 0],- [0, capRadius + 0.16, 0],- ]}- width={2.4}- />- <Strand {...projection} deep={deep} points={blades} width={4} />- {layer === "front" ? (- <circle- cx={crownScreen.x}- cy={crownScreen.y - body.ry * 0.16}- r={2.2}- fill={deep}- {...edge}- />- ) : null}- </g>- );- }- case "ears": {- const ear = (side: number): Vec3[] => [- fromSurface(side * 0.95, 0.55, 1.0),- fromSurface(side * 0.75, 1.05, 1.42),- fromSurface(side * 0.45, 0.85, 1.0),- ];- const inner = (side: number): Vec3[] => [- fromSurface(side * 0.88, 0.62, 1.01),- fromSurface(side * 0.74, 0.96, 1.3),- fromSurface(side * 0.55, 0.83, 1.01),- ];- return (- <g>- {[-1, 1].map((side) => (- <g key={side}>- <Slab- {...projection}- deep={deep}- outline={outline}- points={ear(side)}- />- <Slab- {...projection}- deep={deep}- outline={outline}- points={inner(side)}- fill="#fff"- />- </g>- ))}- </g>- );- }- case "flower": {- const center = fromSurface(-0.95, 0.8, 1.03);- return (- <Disc {...projection} center={center} normal={center} minDepth={0.5}>- {[0, 72, 144, 216, 288].map((angle) => (- <ellipse- key={angle}- cx={0}- cy={-7.5}- rx={4.6}- ry={6.6}- fill="#fff"- {...edge}- transform={`rotate(${angle})`}- />- ))}- <circle r={4.2} fill={deep} {...edge} />- </Disc>- );- }- case "bowtie": {- const chin = fromSurface(- 0,- surfacePointAt(cx, bottom - 10, body).lat,- 1.02,- );- return (- <Disc {...projection} center={chin} normal={chin} minDepth={0.35}>- <g transform="scale(1.35)">- <path- d="M0,0 L-11,-6 L-11,6 Z"- fill={deep}- {...soft}- strokeLinejoin="round"- />- <path- d="M0,0 L11,-6 L11,6 Z"- fill={deep}- {...soft}- strokeLinejoin="round"- />- <rect- x={-2.6}- y={-3}- width={5.2}- height={6}- rx={1.5}- fill={deep}- {...edge}- />- </g>- </Disc>- );- }- case "headband": {- const bandLat = surfacePointAt(cx, eyeY - 16, body).lat;- const band: Vec3[] = Array.from({ length: 49 }, (_, index) =>- fromSurface(-Math.PI + (2 * Math.PI * index) / 48, bandLat, 1.03),- );- const knot = fromSurface(-1.35, bandLat, 1.05);- return (- <g>- <Strand {...projection} deep={deep} points={band} width={5} />- <Strand- {...projection}- deep={deep}- points={band}- width={1.6}- color="#fff"- />- <Disc {...projection} center={knot} normal={knot} minDepth={0.4}>- <path- d="M0,0 L-9,4 L-6,10 Z M0,0 L-2,10 L-7,14 Z"- fill={deep}- {...soft}- strokeLinejoin="round"- />- </Disc>- </g>- );- }- default:- return null;- }-}diff --git a/autogpt_platform/frontend/src/components/molecules/BotAvatar/components/Face.tsx b/autogpt_platform/frontend/src/components/molecules/BotAvatar/components/Face.tsxdeleted file mode 100644index dd5b66290f..0000000000--- a/autogpt_platform/frontend/src/components/molecules/BotAvatar/components/Face.tsx+++ /dev/null@@ -1,196 +0,0 @@-import {- findExpression,- type BrowKind,- type ExpressionId,- type EyeSpec,-} from "../expressions";-import { INK, type AvatarStatus, type ShapeAnchors } from "../helpers";-import {- ellipsoidFor,- foreshortenTransform,- isVisible,- project,- surfacePointAt,- type Pose,-} from "../projection";-import type { SvgEls } from "../svgElements";--interface Props {- anchors: ShapeAnchors;- pose: Pose;- status: AvatarStatus;- expression: ExpressionId;- blush: string;- isLive: boolean;- isBlinking: boolean;- els: SvgEls;-}--const SPRING = { type: "spring", stiffness: 260, damping: 20 } as const;--const BROWS: Record<Exclude<BrowKind, "none">, (side: number) => string> = {- raised: () => "M-5,-10 Q0,-13 5,-10",- wave: () => "M-5,-10 Q-2.5,-13 0,-10 Q2.5,-7 5,-10",- furrow: (side) => (side < 0 ? "M-5,-10 L5,-8" : "M-5,-8 L5,-10"),- sad: (side) => (side < 0 ? "M-5,-8 L5,-10.5" : "M-5,-10.5 L5,-8"),- flat: () => "M-5,-9.5 L5,-9.5",-};--function Eye({- spec,- isBlinking,- isLive,- els,-}: {- spec: EyeSpec;- isBlinking: boolean;- isLive: boolean;- els: SvgEls;-}) {- const popIn = isLive ? { scale: 0.5, opacity: 0 } : false;- if (spec.kind === "cross") {- return (- <els.path- d="M-4,-4 L4,4 M4,-4 L-4,4"- fill="none"- stroke={INK}- strokeWidth={2.4}- strokeLinecap="round"- initial={popIn}- animate={{ scale: 1, opacity: 1 }}- transition={SPRING}- />- );- }- if (spec.kind === "arc") {- return (- <els.path- d="M-5,1 Q0,-5 5,1"- fill="none"- stroke={INK}- strokeWidth={2.6}- strokeLinecap="round"- initial={popIn}- animate={{ scale: 1, opacity: 1 }}- transition={SPRING}- />- );- }- const closed = isBlinking || spec.kind === "flat";- return (- <els.g- initial={false}- animate={{- x: spec.dx,- y: spec.dy,- rotate: spec.tilt,- scaleY: isBlinking ? 0.08 : 1,- }}- transition={isBlinking ? { duration: 0.06 } : SPRING}- >- <els.ellipse- fill={INK}- initial={false}- animate={{ rx: spec.rx, ry: spec.ry }}- transition={SPRING}- />- {closed ? null : <circle cx={-1.4} cy={-2.2} r={1.5} fill="#fff" />}- </els.g>- );-}--export function Face({- anchors,- pose,- status,- expression,- blush,- isLive,- isBlinking,- els,-}: Props) {- const { cx, eyeY, eyeGap } = anchors;- const body = ellipsoidFor(anchors);- const spec = findExpression(expression);- const sides = [-1, 1] as const;- const mouth = project(surfacePointAt(cx, eyeY + 13, body), pose, body);- const browPath = spec.brow === "none" ? null : BROWS[spec.brow];- const browWaves = spec.brow === "wave" && isLive;-- return (- <g data-status={status} data-expression={expression}>- {sides.map((side) => {- const cheek = project(- surfacePointAt(cx + side * (eyeGap / 2 + 6), eyeY + 8, body),- pose,- body,- );- if (!isVisible(cheek)) return null;- return (- <els.ellipse- key={side}- transform={foreshortenTransform(cheek)}- rx={4.2}- ry={2.4}- fill={blush}- initial={false}- animate={{ opacity: spec.blush }}- />- );- })}- {sides.map((side) => {- const point = project(- surfacePointAt(cx + side * (eyeGap / 2), eyeY, body),- pose,- body,- );- if (!isVisible(point)) return null;- const eyeSpec = side < 0 ? spec.left : spec.right;- return (- <g key={side} transform={foreshortenTransform(point, 0.12)}>- <Eye- spec={eyeSpec}- isBlinking={isBlinking}- isLive={isLive}- els={els}- />- {browPath ? (- <els.path- d={browPath(side)}- fill="none"- stroke={INK}- strokeWidth={2}- strokeLinecap="round"- initial={isLive ? { y: 3, opacity: 0 } : false}- animate={- browWaves- ? { y: [0, -2, 0, 2, 0], opacity: 1 }- : { y: 0, opacity: 1 }- }- transition={- browWaves- ? { duration: 1.4, repeat: Infinity, ease: "easeInOut" }- : SPRING- }- />- ) : null}- </g>- );- })}- {isVisible(mouth) ? (- <g transform={foreshortenTransform(mouth, 0.2)}>- <els.path- fill="none"- stroke={INK}- strokeWidth={2.2}- strokeLinecap="round"- strokeLinejoin="round"- initial={false}- d={spec.mouth}- transition={SPRING}- />- </g>- ) : null}- </g>- );-}diff --git a/autogpt_platform/frontend/src/components/molecules/BotAvatar/components/StatusBadge.tsx b/autogpt_platform/frontend/src/components/molecules/BotAvatar/components/StatusBadge.tsxdeleted file mode 100644index ff8be083b9..0000000000--- a/autogpt_platform/frontend/src/components/molecules/BotAvatar/components/StatusBadge.tsx+++ /dev/null@@ -1,104 +0,0 @@-import type { AvatarStatus, ShapeAnchors } from "../helpers";-import type { SvgEls } from "../svgElements";--interface Props {- status: AvatarStatus;- anchors: ShapeAnchors;- isLive: boolean;- els: SvgEls;-}--const FILL: Record<Exclude<AvatarStatus, "idle">, string> = {- thinking: "#7C3AED",- working: "#3B6FD1",- waiting: "#E8A317",- done: "#22A05B",- failed: "#DC2626",- sleeping: "#71717A",-};--export function StatusBadge({ status, anchors, isLive, els }: Props) {- if (status === "idle") return null;- const x = anchors.cx + anchors.width / 2 - 4;- const y = anchors.bottom - 6;-- return (- <g transform={`translate(${x} ${y})`}>- <els.g- initial={isLive ? { scale: 0 } : false}- animate={{ scale: 1 }}- transition={{ type: "spring", stiffness: 400, damping: 18 }}- >- <circle r={8} fill={FILL[status]} stroke="#fff" strokeWidth={2.5} />- {status === "working" ? (- <els.circle- r={3}- fill="#fff"- initial={false}- animate={- isLive ? { scale: [1, 0.55, 1], opacity: [1, 0.6, 1] } : undefined- }- transition={{ duration: 1, repeat: Infinity, ease: "easeInOut" }}- />- ) : null}- {status === "done" ? (- <path- d="M-3.5,0.2 L-1,2.8 L3.8,-2.6"- fill="none"- stroke="#fff"- strokeWidth={2.2}- strokeLinecap="round"- strokeLinejoin="round"- />- ) : null}- {status === "thinking" ? (- <g fill="#fff">- {[-3.2, 0, 3.2].map((x, index) => (- <els.circle- key={x}- cx={x}- r={1.4}- initial={false}- animate={isLive ? { opacity: [0.35, 1, 0.35] } : undefined}- transition={{- duration: 1.2,- repeat: Infinity,- delay: index * 0.2,- ease: "easeInOut",- }}- />- ))}- </g>- ) : null}- {status === "failed" ? (- <path- d="M-3,-3 L3,3 M3,-3 L-3,3"- fill="none"- stroke="#fff"- strokeWidth={2.2}- strokeLinecap="round"- />- ) : null}- {status === "sleeping" ? (- <path- d="M-3,-3 L3,-3 L-3,3 L3,3"- fill="none"- stroke="#fff"- strokeWidth={1.8}- strokeLinecap="round"- strokeLinejoin="round"- />- ) : null}- {status === "waiting" ? (- <path- d="M0,-3.6 L0,0.8 M0,3.4 L0,3.5"- fill="none"- stroke="#fff"- strokeWidth={2.4}- strokeLinecap="round"- />- ) : null}- </els.g>- </g>- );-}diff --git a/autogpt_platform/frontend/src/components/molecules/BotAvatar/expressions.ts b/autogpt_platform/frontend/src/components/molecules/BotAvatar/expressions.tsdeleted file mode 100644index 020f93243d..0000000000--- a/autogpt_platform/frontend/src/components/molecules/BotAvatar/expressions.ts+++ /dev/null@@ -1,246 +0,0 @@-import type { AvatarStatus } from "./helpers";--export type ExpressionId =- | "neutral"- | "soft"- | "wide"- | "big"- | "small"- | "sleepy"- | "wink"- | "angry"- | "happy"- | "sad"- | "suspicious"- | "curious"- | "dots"- | "aside"- | "focused"- | "cross";--export type EyeKind = "open" | "arc" | "flat" | "cross";-export type BrowKind = "none" | "raised" | "wave" | "furrow" | "sad" | "flat";--export interface EyeSpec {- kind: EyeKind;- rx: number;- ry: number;- tilt: number;- dx: number;- dy: number;-}--export interface ExpressionSpec {- id: ExpressionId;- label: string;- left: EyeSpec;- right: EyeSpec;- brow: BrowKind;- mouth: string;- blush: number;-}--const OPEN: EyeSpec = { kind: "open", rx: 4.5, ry: 6, tilt: 0, dx: 0, dy: 0 };--function eye(patch: Partial<EyeSpec>): EyeSpec {- return { ...OPEN, ...patch };-}--const MOUTH = {- smile: "M-4,0 Q0,3.5 4,0",- grin: "M-6,-0.5 Q0,6.5 6,-0.5",- flat: "M-3.5,0.5 L3.5,0.5",- o: "M-2.4,0 A2.4,2.4 0 1 0 2.4,0 A2.4,2.4 0 1 0 -2.4,0",- dot: "M-1.8,0 A1.8,1.8 0 1 0 1.8,0 A1.8,1.8 0 1 0 -1.8,0",- frown: "M-4,1.5 Q0,-2 4,1.5",- wobble: "M-5,1 Q-2.5,-2 0,1 Q2.5,4 5,1",- smirk: "M-3,0.5 Q0,2 3,-0.5",- tiny: "M-2,0.5 L2,0.5",-};--export const EXPRESSIONS: ExpressionSpec[] = [- {- id: "neutral",- label: "Neutral",- left: OPEN,- right: OPEN,- brow: "none",- mouth: MOUTH.smile,- blush: 0.5,- },- {- id: "soft",- label: "Soft",- left: eye({ ry: 5.2 }),- right: eye({ ry: 5.2 }),- brow: "none",- mouth: MOUTH.smirk,- blush: 0.55,- },- {- id: "wide",- label: "Wide",- left: eye({ rx: 5.4, ry: 7.2, dy: -0.5 }),- right: eye({ rx: 5.4, ry: 7.2, dy: -0.5 }),- brow: "raised",- mouth: MOUTH.o,- blush: 0.5,- },- {- id: "big",- label: "Big",- left: eye({ rx: 5, ry: 8.5, dy: -0.8 }),- right: eye({ rx: 5, ry: 8.5, dy: -0.8 }),- brow: "raised",- mouth: MOUTH.grin,- blush: 0.75,- },- {- id: "small",- label: "Small",- left: eye({ rx: 3.4, ry: 4.2, dy: 0.6 }),- right: eye({ rx: 3.4, ry: 4.2, dy: 0.6 }),- brow: "none",- mouth: MOUTH.tiny,- blush: 0.85,- },- {- id: "sleepy",- label: "Sleepy",- left: eye({ kind: "flat", rx: 5, ry: 1.6 }),- right: eye({ kind: "flat", rx: 5, ry: 1.6 }),- brow: "none",- mouth: MOUTH.dot,- blush: 0.4,- },- {- id: "wink",- label: "Wink",- left: OPEN,- right: eye({ kind: "arc" }),- brow: "none",- mouth: MOUTH.smirk,- blush: 0.6,- },- {- id: "angry",- label: "Angry",- left: eye({ ry: 4.6, tilt: -18, dy: 0.6 }),- right: eye({ ry: 4.6, tilt: 18, dy: 0.6 }),- brow: "furrow",- mouth: MOUTH.flat,- blush: 0.4,- },- {- id: "happy",- label: "Happy",- left: eye({ kind: "arc" }),- right: eye({ kind: "arc" }),- brow: "none",- mouth: MOUTH.grin,- blush: 0.85,- },- {- id: "sad",- label: "Sad",- left: eye({ ry: 5.4, tilt: 16, dy: 0.8 }),- right: eye({ ry: 5.4, tilt: -16, dy: 0.8 }),- brow: "sad",- mouth: MOUTH.frown,- blush: 0.35,- },- {- id: "suspicious",- label: "Suspicious",- left: eye({ ry: 4.4, dy: 0.5 }),- right: eye({ kind: "flat", rx: 5, ry: 1.8, dy: 0.5 }),- brow: "flat",- mouth: MOUTH.smirk,- blush: 0.4,- },- {- id: "curious",- label: "Curious",- left: eye({ rx: 5.4, ry: 7.4, dy: -0.6 }),- right: eye({ rx: 3.8, ry: 4.8, dy: 0.4 }),- brow: "raised",- mouth: MOUTH.smirk,- blush: 0.5,- },- {- id: "dots",- label: "Dots",- left: eye({ rx: 3.2, ry: 3.2, dx: 1.5, dy: -2 }),- right: eye({ rx: 3.2, ry: 3.2, dx: 1.5, dy: -2 }),- brow: "wave",- mouth: MOUTH.smirk,- blush: 0.45,- },- {- id: "aside",- label: "Aside",- left: eye({ dx: 2.6, dy: -0.8 }),- right: eye({ dx: 2.6, dy: -0.8 }),- brow: "none",- mouth: MOUTH.tiny,- blush: 0.5,- },- {- id: "focused",- label: "Focused",- left: eye({ ry: 4.2, dx: 0.6, dy: 1 }),- right: eye({ ry: 4.2, dx: 0.6, dy: 1 }),- brow: "furrow",- mouth: MOUTH.flat,- blush: 0.45,- },- {- id: "cross",- label: "Cross",- left: eye({ kind: "cross" }),- right: eye({ kind: "cross" }),- brow: "none",- mouth: MOUTH.wobble,- blush: 0.35,- },-];--export const POOLS: Record<AvatarStatus, ExpressionId[]> = {- idle: ["neutral", "soft", "aside", "small"],- thinking: ["dots", "aside", "curious", "suspicious"],- working: ["focused", "neutral", "focused", "soft"],- waiting: ["wide", "curious", "big", "sad"],- done: ["happy", "big", "wink"],- failed: ["cross", "sad", "angry"],- sleeping: ["sleepy"],-};--export const EXPRESSION_CADENCE_MS: Record<AvatarStatus, [number, number]> = {- idle: [7000, 14000],- thinking: [1800, 3400],- working: [1800, 3200],- waiting: [2200, 4200],- done: [2600, 4800],- failed: [2400, 4000],- sleeping: [8000, 12000],-};--export const BLINK_CADENCE_MS: Record<AvatarStatus, [number, number] | null> = {- idle: [5000, 11000],- thinking: [3500, 7000],- working: [2800, 5500],- waiting: [1800, 3500],- done: [2500, 5000],- failed: null,- sleeping: null,-};--export function findExpression(id: ExpressionId) {- return (- EXPRESSIONS.find((expression) => expression.id === id) ?? EXPRESSIONS[0]- );-}--export function isExpressionId(value: string): value is ExpressionId {- return EXPRESSIONS.some((expression) => expression.id === value);-}diff --git a/autogpt_platform/frontend/src/components/molecules/BotAvatar/helpers.ts b/autogpt_platform/frontend/src/components/molecules/BotAvatar/helpers.tsdeleted file mode 100644index 14f0f928d8..0000000000--- a/autogpt_platform/frontend/src/components/molecules/BotAvatar/helpers.ts+++ /dev/null@@ -1,360 +0,0 @@-export type ShapeId = "round" | "dome" | "squircle" | "wide" | "bean";-export type ColorId =- | "lavender"- | "plum"- | "amber"- | "sky"- | "mint"- | "coral"- | "indigo"- | "butter";-export type AccessoryId =- | "none"- | "glasses"- | "headset"- | "star"- | "bow"- | "badge"- | "crown"- | "propeller"- | "ears"- | "flower"- | "bowtie"- | "headband";-export type AvatarStatus =- | "idle"- | "thinking"- | "working"- | "waiting"- | "done"- | "failed"- | "sleeping";--export interface AvatarConfig {- shape: ShapeId;- color: ColorId;- accessory: AccessoryId;-}--export interface ShapeAnchors {- cx: number;- eyeY: number;- eyeGap: number;- top: number;- bottom: number;- width: number;-}--export interface ShapeOption {- id: ShapeId;- label: string;- hint: string;- path: string;- anchors: ShapeAnchors;-}--export interface ColorOption {- id: ColorId;- label: string;- role: string;- light: string;- body: string;- mid: string;- deep: string;-}--export interface AccessoryOption {- id: AccessoryId;- label: string;- hint: string;-}--export interface StatusOption {- id: AvatarStatus;- label: string;- hint: string;-}--export const VIEWBOX = 120;-export const INK = "#26262E";--export const SHAPES: ShapeOption[] = [- {- id: "round",- label: "Round",- hint: "round, friendly",- path: "M60,22 A42,42 0 1 1 59.9,22 Z",- anchors: { cx: 60, eyeY: 62, eyeGap: 24, top: 22, bottom: 106, width: 84 },- },- {- id: "dome",- label: "Dome",- hint: "closest to Otto",- path: "M24,102 L24,64 A36,36 0 0 1 96,64 L96,102 Q96,108 90,108 L30,108 Q24,108 24,102 Z",- anchors: { cx: 60, eyeY: 64, eyeGap: 24, top: 28, bottom: 108, width: 72 },- },- {- id: "squircle",- label: "Squircle",- hint: "steady, square",- path: "M60,24 C92,24 100,32 100,64 C100,96 92,104 60,104 C28,104 20,96 20,64 C20,32 28,24 60,24 Z",- anchors: { cx: 60, eyeY: 62, eyeGap: 26, top: 24, bottom: 104, width: 80 },- },- {- id: "wide",- label: "Wide",- hint: "low and wide",- path: "M60,38 C92,38 108,52 108,72 C108,92 92,106 60,106 C28,106 12,92 12,72 C12,52 28,38 60,38 Z",- anchors: { cx: 60, eyeY: 68, eyeGap: 28, top: 38, bottom: 106, width: 96 },- },- {- id: "bean",- label: "Bean",- hint: "lively, off-centre",- path: "M34,40 C36,22 56,16 72,22 C92,30 102,50 98,72 C94,94 76,108 54,104 C32,100 20,80 26,60 C28,52 33,48 34,40 Z",- anchors: { cx: 62, eyeY: 58, eyeGap: 24, top: 18, bottom: 106, width: 76 },- },-];--export const COLORS: ColorOption[] = [- {- id: "lavender",- label: "Lavender",- role: "Otto",- light: "#c4b5fd",- body: "#a78bfa",- mid: "#8b5cf6",- deep: "#6d28d9",- },- {- id: "plum",- label: "Plum",- role: "Marketing",- light: "#f9a8d4",- body: "#f472b6",- mid: "#ec4899",- deep: "#be185d",- },- {- id: "amber",- label: "Amber",- role: "Sales",- light: "#fcd34d",- body: "#fbbf24",- mid: "#f59e0b",- deep: "#b45309",- },- {- id: "sky",- label: "Sky",- role: "Ops",- light: "#7dd3fc",- body: "#38bdf8",- mid: "#0ea5e9",- deep: "#0369a1",- },- {- id: "mint",- label: "Mint",- role: "Finance",- light: "#6ee7b7",- body: "#34d399",- mid: "#10b981",- deep: "#047857",- },- {- id: "coral",- label: "Coral",- role: "Support",- light: "#fdba74",- body: "#fb923c",- mid: "#f97316",- deep: "#c2410c",- },- {- id: "indigo",- label: "Indigo",- role: "Research",- light: "#a5b4fc",- body: "#818cf8",- mid: "#6366f1",- deep: "#4338ca",- },- {- id: "butter",- label: "Butter",- role: "Content",- light: "#fde047",- body: "#facc15",- mid: "#eab308",- deep: "#a16207",- },-];--export const ACCESSORIES: AccessoryOption[] = [- { id: "none", label: "None", hint: "plain" },- { id: "glasses", label: "Glasses", hint: "research, review" },- { id: "headset", label: "Headset", hint: "support, ops" },- { id: "star", label: "Star pin", hint: "a raised favourite" },- { id: "bow", label: "Bow", hint: "marketing, events" },- { id: "badge", label: "Badge", hint: "finance, admin" },- { id: "crown", label: "Crown", hint: "the lead of a pod" },- { id: "propeller", label: "Propeller", hint: "playful, experiments" },- { id: "ears", label: "Cat ears", hint: "curious, alert" },- { id: "flower", label: "Flower", hint: "people, community" },- { id: "bowtie", label: "Bow tie", hint: "formal, legal" },- { id: "headband", label: "Headband", hint: "focus, sprints" },-];--export const STATUSES: StatusOption[] = [- { id: "idle", label: "Idle", hint: "calm, slightly curious" },- { id: "thinking", label: "Thinking", hint: "brows wave, eyes up" },- { id: "working", label: "Working", hint: "kicks into gear" },- { id: "waiting", label: "Needs you", hint: "blocked, asking" },- { id: "done", label: "Done", hint: "settles, satisfied" },- { id: "failed", label: "Failed", hint: "falls apart for a beat" },- { id: "sleeping", label: "Paused", hint: "schedules off, dozing" },-];--export const AUTOPILOT_AVATAR: AvatarConfig = {- shape: "dome",- color: "lavender",- accessory: "none",-};--export const DEFAULT_CONFIG: AvatarConfig = {- shape: "round",- color: "lavender",- accessory: "none",-};--export function findShape(id: ShapeId) {- return SHAPES.find((shape) => shape.id === id) ?? SHAPES[0];-}--export function findColor(id: ColorId) {- return COLORS.find((color) => color.id === id) ?? COLORS[0];-}--function isShapeId(value: string): value is ShapeId {- return SHAPES.some((shape) => shape.id === value);-}--function isColorId(value: string): value is ColorId {- return COLORS.some((color) => color.id === value);-}--function isAccessoryId(value: string): value is AccessoryId {- return ACCESSORIES.some((accessory) => accessory.id === value);-}--export function isAvatarStatus(value: string): value is AvatarStatus {- return STATUSES.some((status) => status.id === value);-}--export function encodeConfig(config: AvatarConfig) {- return `${config.shape}.${config.color}.${config.accessory}`;-}--export function decodeConfig(value: string | null): AvatarConfig {- if (!value) return DEFAULT_CONFIG;- const [shape = "", color = "", accessory = ""] = value.split(".");- return {- shape: isShapeId(shape) ? shape : DEFAULT_CONFIG.shape,- color: isColorId(color) ? color : DEFAULT_CONFIG.color,- accessory: isAccessoryId(accessory) ? accessory : DEFAULT_CONFIG.accessory,- };-}--function pick<T>(items: readonly T[], random: () => number) {- return items[Math.floor(random() * items.length)];-}--export function randomConfig(random: () => number = Math.random): AvatarConfig {- return {- shape: pick(SHAPES, random).id,- color: pick(COLORS, random).id,- accessory: pick(ACCESSORIES, random).id,- };-}--export function hashSeed(input: string) {- let hash = 2166136261;- for (let index = 0; index < input.length; index += 1) {- hash ^= input.charCodeAt(index);- hash = Math.imul(hash, 16777619);- }- return hash >>> 0;-}--export function seededRandom(seed: number) {- let state = seed || 1;- return function next() {- state = (Math.imul(state, 1664525) + 1013904223) >>> 0;- return state / 4294967296;- };-}--export function configForName(name: string): AvatarConfig {- return randomConfig(seededRandom(hashSeed(name.toLowerCase())));-}--const AVATAR_URL_PATTERN = /^\/avatars\/([a-z]+)\.([a-z]+)\.([a-z]+)\.svg$/;--export function avatarUrlFor(config: AvatarConfig) {- return `/avatars/${encodeConfig(config)}.svg`;-}--export function parseAvatarUrl(- url: string | null | undefined,-): AvatarConfig | null {- const match = url?.match(AVATAR_URL_PATTERN);- if (!match) return null;- const [, shape, color, accessory] = match;- if (!isShapeId(shape) || !isColorId(color) || !isAccessoryId(accessory))- return null;- return { shape, color, accessory };-}--const TOKEN_COLORS: Record<string, ColorId> = {- rose: "plum",- red: "coral",- orange: "coral",- amber: "amber",- yellow: "butter",- lime: "mint",- green: "mint",- emerald: "mint",- teal: "sky",- cyan: "sky",- sky: "sky",- blue: "sky",- indigo: "indigo",- violet: "lavender",- fuchsia: "plum",-};--export function colorForToken(- token: string | null | undefined,-): ColorId | null {- const family = token?.split("-")[0];- return family ? (TOKEN_COLORS[family] ?? null) : null;-}--export interface ExpertLike {- name: string | null | undefined;- avatarUrl?: string | null;- color?: string | null;-}--export function expertAvatarConfig(expert: ExpertLike): AvatarConfig {- const parsed = parseAvatarUrl(expert.avatarUrl);- if (parsed) return parsed;- const seeded = configForName(expert.name ?? "");- const color = colorForToken(expert.color);- return color ? { ...seeded, color } : seeded;-}--export function isUploadedAvatar(url: string | null | undefined) {- return Boolean(url) && !parseAvatarUrl(url);-}diff --git a/autogpt_platform/frontend/src/components/molecules/BotAvatar/parts.ts b/autogpt_platform/frontend/src/components/molecules/BotAvatar/parts.tsdeleted file mode 100644index 39255db007..0000000000--- a/autogpt_platform/frontend/src/components/molecules/BotAvatar/parts.ts+++ /dev/null@@ -1,110 +0,0 @@-import type { Ellipsoid, Pose, Projected } from "./projection";--export type Vec3 = [number, number, number];-export type Layer = "front" | "back";--export function fromSurface(lon: number, lat: number, radius = 1): Vec3 {- const cosLat = Math.cos(lat);- return [- radius * cosLat * Math.sin(lon),- radius * Math.sin(lat),- radius * cosLat * Math.cos(lon),- ];-}--export function rotate([x0, y0, z0]: Vec3, pose: Pose): Vec3 {- const yawCos = Math.cos(pose.yaw);- const yawSin = Math.sin(pose.yaw);- const x = x0 * yawCos + z0 * yawSin;- const z1 = -x0 * yawSin + z0 * yawCos;- const pitchCos = Math.cos(pose.pitch);- const pitchSin = Math.sin(pose.pitch);- return [x, y0 * pitchCos - z1 * pitchSin, y0 * pitchSin + z1 * pitchCos];-}--export function toScreen([x, y]: Vec3, body: Ellipsoid) {- return { x: body.cx + body.rx * x, y: body.cy - body.ry * y };-}--export function surfaceDepth([x, y]: Vec3) {- return Math.sqrt(Math.max(0, 1 - x * x - y * y));-}--export function isInFront(point: Vec3, tolerance = 0.015) {- return point[2] >= surfaceDepth(point) - tolerance;-}--export function layerOf(point: Vec3): Layer {- return isInFront(point) ? "front" : "back";-}--export function discProjection(- center: Vec3,- normal: Vec3,- pose: Pose,- body: Ellipsoid,-): Projected {- const c = rotate(center, pose);- const n = rotate(normal, pose);- const screen = toScreen(c, body);- return {- x: screen.x,- y: screen.y,- depth: Math.abs(n[2]),- angle: (Math.atan2(-n[1], n[0]) * 180) / Math.PI,- };-}--export function discTransform(projected: Projected, minDepth = 0.12) {- const depth = Math.max(minDepth, projected.depth);- return `translate(${projected.x} ${projected.y}) rotate(${projected.angle}) scale(${depth} 1) rotate(${-projected.angle})`;-}--export function samplePolyline(points: Vec3[], perSegment = 6): Vec3[] {- const out: Vec3[] = [];- for (let index = 0; index < points.length - 1; index += 1) {- const [ax, ay, az] = points[index];- const [bx, by, bz] = points[index + 1];- for (let step = 0; step < perSegment; step += 1) {- const t = step / perSegment;- out.push([ax + (bx - ax) * t, ay + (by - ay) * t, az + (bz - az) * t]);- }- }- out.push(points[points.length - 1]);- return out;-}--export function splitPolyline(points: Vec3[], pose: Pose, body: Ellipsoid) {- const rotated = points.map((point) => rotate(point, pose));- const paths: Record<Layer, string[]> = { front: [], back: [] };- let previous: Layer | null = null;- rotated.forEach((point) => {- const layer = layerOf(point);- const { x, y } = toScreen(point, body);- const command = layer === previous ? "L" : "M";- if (layer !== previous && previous !== null) {- paths[previous].push(`L${x.toFixed(2)},${y.toFixed(2)}`);- }- paths[layer].push(`${command}${x.toFixed(2)},${y.toFixed(2)}`);- previous = layer;- });- return { front: paths.front.join(" "), back: paths.back.join(" ") };-}--export function polygonPath(points: Vec3[], pose: Pose, body: Ellipsoid) {- const screen = points.map((point) => toScreen(rotate(point, pose), body));- return `M${screen.map((point) => `${point.x.toFixed(2)},${point.y.toFixed(2)}`).join(" L")} Z`;-}--export function centroidLayer(points: Vec3[], pose: Pose): Layer {- const rotated = points.map((point) => rotate(point, pose));- const center = rotated.reduce<Vec3>(- (sum, [x, y, z]) => [- sum[0] + x / rotated.length,- sum[1] + y / rotated.length,- sum[2] + z / rotated.length,- ],- [0, 0, 0],- );- return layerOf(center);-}diff --git a/autogpt_platform/frontend/src/components/molecules/BotAvatar/projection.ts b/autogpt_platform/frontend/src/components/molecules/BotAvatar/projection.tsdeleted file mode 100644index 8e7b413e42..0000000000--- a/autogpt_platform/frontend/src/components/molecules/BotAvatar/projection.ts+++ /dev/null@@ -1,142 +0,0 @@-import type { ShapeAnchors } from "./helpers";--export interface Pose {- yaw: number;- pitch: number;- roll: number;- bob: number;-}--export interface SurfacePoint {- lon: number;- lat: number;-}--export interface Projected {- x: number;- y: number;- depth: number;- angle: number;-}--export interface Ellipsoid {- cx: number;- cy: number;- rx: number;- ry: number;-}--export const FRONT_POSE: Pose = { yaw: 0, pitch: 0, roll: 0, bob: 0 };--export function ellipsoidFor(anchors: ShapeAnchors): Ellipsoid {- return {- cx: anchors.cx,- cy: (anchors.top + anchors.bottom) / 2,- rx: anchors.width / 2,- ry: (anchors.bottom - anchors.top) / 2,- };-}--export function surfacePointAt(- x: number,- y: number,- body: Ellipsoid,-): SurfacePoint {- const lat = Math.asin(clamp((body.cy - y) / body.ry, -1, 1));- const lon = Math.asin(- clamp((x - body.cx) / (body.rx * Math.cos(lat)), -1, 1),- );- return { lon, lat };-}--export function project(- point: SurfacePoint,- pose: Pose,- body: Ellipsoid,-): Projected {- const cosLat = Math.cos(point.lat);- let x = cosLat * Math.sin(point.lon);- let y = Math.sin(point.lat);- let z = cosLat * Math.cos(point.lon);-- const yawCos = Math.cos(pose.yaw);- const yawSin = Math.sin(pose.yaw);- [x, z] = [x * yawCos + z * yawSin, -x * yawSin + z * yawCos];-- const pitchCos = Math.cos(pose.pitch);- const pitchSin = Math.sin(pose.pitch);- [y, z] = [y * pitchCos - z * pitchSin, y * pitchSin + z * pitchCos];-- return {- x: body.cx + body.rx * x,- y: body.cy - body.ry * y,- depth: z,- angle: (Math.atan2(-y, x) * 180) / Math.PI,- };-}--export function foreshortenTransform(projected: Projected, minDepth = 0) {- const depth = Math.max(minDepth, projected.depth);- return `translate(${projected.x} ${projected.y}) rotate(${projected.angle}) scale(${depth} 1) rotate(${-projected.angle})`;-}--export function isVisible(projected: Projected, threshold = 0.02) {- return projected.depth > threshold;-}--function clamp(value: number, min: number, max: number) {- return Math.min(max, Math.max(min, value));-}--export function arcPath(- points: SurfacePoint[],- pose: Pose,- body: Ellipsoid,- minDepth = -0.05,-) {- const segments: string[] = [];- let open = false;- for (const point of points) {- const projected = project(point, pose, body);- if (projected.depth < minDepth) {- open = false;- continue;- }- segments.push(- `${open ? "L" : "M"}${projected.x.toFixed(2)},${projected.y.toFixed(2)}`,- );- open = true;- }- return segments.join(" ");-}--export function latitudeRing(- lat: number,- steps: number,- fromLon = -Math.PI,- toLon = Math.PI,-): SurfacePoint[] {- return Array.from({ length: steps + 1 }, (_, index) => ({- lon: fromLon + ((toLon - fromLon) * index) / steps,- lat,- }));-}--export function pointFromVector(x: number, y: number, z: number): SurfacePoint {- const length = Math.hypot(x, y, z) || 1;- return {- lat: Math.asin(y / length),- lon: Math.atan2(x / length, z / length),- };-}--export function coronalArc(- fromLat: number,- steps: number,- forward: number,-): SurfacePoint[] {- return Array.from({ length: steps + 1 }, (_, index) => {- const theta = Math.PI - fromLat - ((Math.PI - 2 * fromLat) * index) / steps;- return pointFromVector(Math.cos(theta), Math.sin(theta), forward);- });-}diff --git a/autogpt_platform/frontend/src/components/molecules/BotAvatar/svgElements.tsx b/autogpt_platform/frontend/src/components/molecules/BotAvatar/svgElements.tsxdeleted file mode 100644index 7d5e364f56..0000000000--- a/autogpt_platform/frontend/src/components/molecules/BotAvatar/svgElements.tsx+++ /dev/null@@ -1,93 +0,0 @@-import type { SVGMotionProps } from "framer-motion";-import { createElement, forwardRef, type ElementType } from "react";--// The avatar parts draw with motion elements when they're alive in the-// browser and with plain SVG elements when rendered to a static string-// (the /avatars/[file] route runs in the server layer, where framer-motion-// and hooks are off limits). Parts take the element set as a prop so they-// never import framer-motion themselves.-export interface SvgEls {- path: ElementType<SVGMotionProps<SVGPathElement>>;- g: ElementType<SVGMotionProps<SVGGElement>>;- ellipse: ElementType<SVGMotionProps<SVGEllipseElement>>;- circle: ElementType<SVGMotionProps<SVGCircleElement>>;-}--const MOTION_ONLY_PROPS = new Set([- "initial",- "animate",- "exit",- "transition",- "variants",- "whileHover",- "whileTap",- "whileFocus",- "whileDrag",- "whileInView",- "layout",- "layoutId",- "onAnimationStart",- "onAnimationComplete",- "onUpdate",-]);-const ATTRIBUTE_TARGETS = new Set([- "d",- "rx",- "ry",- "r",- "cx",- "cy",- "opacity",-]);--function isPlainTarget(value: unknown): value is Record<string, unknown> {- return typeof value === "object" && value !== null && !Array.isArray(value);-}--function transformFrom(target: Record<string, unknown>): string | undefined {- const num = (key: string, fallback: number) =>- typeof target[key] === "number" ? (target[key] as number) : fallback;- const parts: string[] = [];- const x = num("x", 0);- const y = num("y", 0);- if (x || y) parts.push(`translate(${x} ${y})`);- const rotate = num("rotate", 0);- if (rotate) parts.push(`rotate(${rotate})`);- const scale = num("scale", 1);- const scaleX = num("scaleX", scale);- const scaleY = num("scaleY", scale);- if (scaleX !== 1 || scaleY !== 1) parts.push(`scale(${scaleX} ${scaleY})`);- return parts.length ? parts.join(" ") : undefined;-}--// A motion element's resting frame: the `animate` target becomes plain-// attributes (or a transform), and every motion-only prop is dropped.-function staticEl<T extends SVGElement>(tag: string) {- return forwardRef<T, SVGMotionProps<T>>(function StaticSvgEl(props, ref) {- const attrs: Record<string, unknown> = {};- for (const [key, value] of Object.entries(props)) {- if (!MOTION_ONLY_PROPS.has(key)) attrs[key] = value;- }- if (isPlainTarget(props.animate)) {- for (const [key, value] of Object.entries(props.animate)) {- if (ATTRIBUTE_TARGETS.has(key) && !Array.isArray(value)) {- attrs[key] = value;- }- }- const transform = transformFrom(props.animate);- if (transform) {- attrs.transform = [attrs.transform, transform]- .filter(Boolean)- .join(" ");- }- }- return createElement(tag, { ...attrs, ref });- });-}--export const STATIC_ELS: SvgEls = {- path: staticEl<SVGPathElement>("path"),- g: staticEl<SVGGElement>("g"),- ellipse: staticEl<SVGEllipseElement>("ellipse"),- circle: staticEl<SVGCircleElement>("circle"),-};diff --git a/autogpt_platform/frontend/src/components/molecules/BotAvatar/useExpression.ts b/autogpt_platform/frontend/src/components/molecules/BotAvatar/useExpression.tsdeleted file mode 100644index db389ed910..0000000000--- a/autogpt_platform/frontend/src/components/molecules/BotAvatar/useExpression.ts+++ /dev/null@@ -1,66 +0,0 @@-import { useEffect, useState } from "react";-import {- BLINK_CADENCE_MS,- EXPRESSION_CADENCE_MS,- POOLS,- type ExpressionId,-} from "./expressions";-import type { AvatarStatus } from "./helpers";--const BLINK_MS = 130;--function between([min, max]: [number, number]) {- return min + Math.random() * (max - min);-}--interface Args {- status: AvatarStatus;- isLive: boolean;- override?: ExpressionId;-}--export function useExpression({ status, isLive, override }: Args) {- const [expression, setExpression] = useState<ExpressionId>(POOLS[status][0]);- const [isBlinking, setIsBlinking] = useState(false);-- useEffect(() => {- setExpression(POOLS[status][0]);- if (!isLive) return;- let timer: ReturnType<typeof setTimeout>;- function schedule() {- timer = setTimeout(() => {- setExpression((current) => {- const alternatives = POOLS[status].filter((id) => id !== current);- return (- alternatives[Math.floor(Math.random() * alternatives.length)] ??- current- );- });- schedule();- }, between(EXPRESSION_CADENCE_MS[status]));- }- schedule();- return () => clearTimeout(timer);- }, [status, isLive]);-- useEffect(() => {- setIsBlinking(false);- const cadence = BLINK_CADENCE_MS[status];- if (!isLive || !cadence) return;- const range: [number, number] = cadence;- let timer: ReturnType<typeof setTimeout>;- function schedule() {- timer = setTimeout(() => {- setIsBlinking(true);- timer = setTimeout(() => {- setIsBlinking(false);- schedule();- }, BLINK_MS);- }, between(range));- }- schedule();- return () => clearTimeout(timer);- }, [status, isLive]);-- return { expression: override ?? expression, isBlinking };-}diff --git a/autogpt_platform/frontend/src/components/molecules/BotAvatar/usePose.ts b/autogpt_platform/frontend/src/components/molecules/BotAvatar/usePose.tsdeleted file mode 100644index 65dbce0305..0000000000--- a/autogpt_platform/frontend/src/components/molecules/BotAvatar/usePose.ts+++ /dev/null@@ -1,165 +0,0 @@-import { useAnimationFrame, useReducedMotion } from "framer-motion";-import { useEffect, useRef, useState, type RefObject } from "react";-import type { AvatarStatus } from "./helpers";-import { FRONT_POSE, type Pose } from "./projection";--const LOOK_REACH_PX = 320;-const LOOK_YAW = 0.55;-const LOOK_PITCH = 0.3;-const SMOOTHING = 0.12;--interface Args {- status: AvatarStatus;- animated: boolean;- trackPointer: boolean;- poseOffset?: Partial<Pose>;- svgRef: RefObject<SVGSVGElement | null>;-}--const LOOK_WEIGHT: Record<AvatarStatus, number> = {- idle: 1,- thinking: 0.2,- working: 0.25,- waiting: 0.6,- done: 0.9,- failed: 0.3,- sleeping: 0,-};--function statusPose(- status: AvatarStatus,- t: number,- sinceChange: number,-): Pose {- switch (status) {- case "thinking":- return {- yaw: 0.35 + 0.12 * Math.sin(t * 0.9),- pitch: -0.28 + 0.05 * Math.sin(t * 1.3),- roll: -0.08 + 0.03 * Math.sin(t * 0.7),- bob: 0.6 * Math.sin(t * 1.4),- };- case "failed": {- const shake =- sinceChange < 0.7- ? Math.sin(sinceChange * 40) * (1 - sinceChange / 0.7)- : 0;- return {- yaw: 0.35 * shake,- pitch: 0.18 + 0.03 * Math.sin(t * 2),- roll: 0.12 * shake,- bob: -2 * (1 - Math.min(1, sinceChange / 0.7)),- };- }- case "sleeping":- return {- yaw: 0.05 * Math.sin(t * 0.3),- pitch: 0.3 + 0.04 * Math.sin(t * 0.7),- roll: 0.16,- bob: 1.2 * Math.sin(t * 0.7),- };- case "working":- return {- yaw: -0.45 + 0.06 * Math.sin(t * 7),- pitch: 0.3 + 0.1 * Math.sin(t * 9),- roll: 0.03 * Math.sin(t * 4.5),- bob: 1.6 * Math.abs(Math.sin(t * 4.5)),- };- case "waiting":- return {- yaw: 0.75 * Math.sin(t * 1.3),- pitch: -0.22 + 0.04 * Math.sin(t * 2.6),- roll: 0.14 * Math.sin(t * 1.3 + 0.8),- bob: 0,- };- case "done": {- const nod =- sinceChange < 0.9 ? Math.sin((sinceChange / 0.9) * Math.PI) : 0;- return {- yaw: 0.12 * Math.sin(t * 0.5),- pitch: 0.35 * nod + 0.04 * Math.sin(t * 0.8),- roll: 0,- bob: 7 * nod + 0.8 * Math.sin(t * 1.6),- };- }- default:- return {- yaw: 0.3 * Math.sin(t * 0.55),- pitch: 0.08 * Math.sin(t * 0.85 + 1),- roll: 0.02 * Math.sin(t * 0.4),- bob: 1.2 * Math.sin(t * 1.7),- };- }-}--export function usePose({- status,- animated,- trackPointer,- poseOffset,- svgRef,-}: Args) {- const reducedMotion = useReducedMotion();- const isLive = animated && !reducedMotion;- const [pose, setPose] = useState<Pose>(FRONT_POSE);- const look = useRef({ yaw: 0, pitch: 0 });- const smoothed = useRef<Pose>(FRONT_POSE);- const changedAt = useRef<number | null>(null);- const clock = useRef(0);-- useEffect(() => {- changedAt.current = clock.current;- }, [status]);-- useEffect(() => {- if (!isLive || !trackPointer) return;- function handleMove(event: PointerEvent) {- const box = svgRef.current?.getBoundingClientRect();- if (!box) return;- const dx = (event.clientX - (box.left + box.width / 2)) / LOOK_REACH_PX;- const dy = (event.clientY - (box.top + box.height / 2)) / LOOK_REACH_PX;- look.current = {- yaw: Math.max(-1, Math.min(1, dx)) * LOOK_YAW,- pitch: Math.max(-1, Math.min(1, dy)) * LOOK_PITCH,- };- }- window.addEventListener("pointermove", handleMove);- return () => window.removeEventListener("pointermove", handleMove);- }, [isLive, trackPointer, svgRef]);-- useAnimationFrame((time) => {- if (!isLive) return;- const t = time / 1000;- clock.current = t;- const sinceChange = t - (changedAt.current ?? t);- const base = statusPose(status, t, sinceChange);- const weight = LOOK_WEIGHT[status];- const target: Pose = {- yaw: base.yaw + look.current.yaw * weight + (poseOffset?.yaw ?? 0),- pitch:- base.pitch + look.current.pitch * weight + (poseOffset?.pitch ?? 0),- roll: base.roll + (poseOffset?.roll ?? 0),- bob: base.bob,- };- const previous = smoothed.current;- const next: Pose = {- yaw: previous.yaw + (target.yaw - previous.yaw) * SMOOTHING,- pitch: previous.pitch + (target.pitch - previous.pitch) * SMOOTHING,- roll: previous.roll + (target.roll - previous.roll) * SMOOTHING,- bob: target.bob,- };- smoothed.current = next;- setPose(next);- });-- const resolved = isLive- ? pose- : {- ...FRONT_POSE,- yaw: poseOffset?.yaw ?? 0,- pitch: poseOffset?.pitch ?? 0,- roll: poseOffset?.roll ?? 0,- };-- return { isLive, pose: resolved };-}diff --git a/autogpt_platform/frontend/src/components/molecules/ExpertAvatar/ExpertAvatar.tsx b/autogpt_platform/frontend/src/components/molecules/ExpertAvatar/ExpertAvatar.tsxindex 4f17537672..4a867fd8b0 100644--- a/autogpt_platform/frontend/src/components/molecules/ExpertAvatar/ExpertAvatar.tsx+++ b/autogpt_platform/frontend/src/components/molecules/ExpertAvatar/ExpertAvatar.tsx@@ -5,12 +5,9 @@ import {AvatarImage,} from "@/components/atoms/Avatar/Avatar";import { Icon } from "@/components/atoms/Icon/Icon";-import { BotAvatar } from "@/components/molecules/BotAvatar/BotAvatar";-import {- expertAvatarConfig,- isUploadedAvatar,- type AvatarStatus,-} from "@/components/molecules/BotAvatar/helpers";+import type { AvatarStatus } from "@/components/molecules/NotionAvatar/status";+import { expertNotionConfig } from "@/components/molecules/NotionAvatar/helpers";+import { NotionAvatarImage } from "@/components/molecules/NotionAvatar/NotionAvatarImage";import { cn } from "@/lib/utils";interface Props {@@ -18,7 +15,6 @@ interface Props {avatarUrl: string | null;color?: string | null;status?: AvatarStatus;- animated?: boolean;size?: number;className?: string;}@@ -26,14 +22,14 @@ interface Props {/*** Expert avatar shared by the copilot home surfaces (briefing card, team* strip, needs-attention list). Uploaded pictures render as-is; everything- * else gets the generated shape/colour/accessory face.+ * else gets the generated Notion-style face — as a flat image unless there+ * is something to animate.*/export function ExpertAvatar({name,avatarUrl,color,status = "idle",- animated = false,size = 40,className,}: Props) {@@ -53,14 +49,13 @@ export function ExpertAvatar({);}- if (!isUploadedAvatar(avatarUrl)) {+ const config = expertNotionConfig({ name, avatarUrl, color });+ if (config) {return (- <BotAvatar- config={expertAvatarConfig({ name, avatarUrl, color })}+ <NotionAvatarImage+ config={config}status={status}size={size}- animated={animated}- showBadge={status !== "idle"}title={name}className={className}/>diff --git a/autogpt_platform/frontend/src/components/molecules/NotionAvatar/NOTICE b/autogpt_platform/frontend/src/components/molecules/NotionAvatar/NOTICEnew file mode 100644index 0000000000..8fd1622d5f--- /dev/null+++ b/autogpt_platform/frontend/src/components/molecules/NotionAvatar/NOTICE@@ -0,0 +1,24 @@+Notion-style avatar artwork+===========================++The avatar layers in parts.generated.ts are derived from the "Noto avatar"+illustration pack by Felix Wong, released under CC0 1.0 (public domain+dedication) — no rights reserved, no attribution required.++ Designer: https://www.producthunt.com/@felix12777+ Pack: https://abstractlab.gumroad.com/l/noto-avatar+ Licence: https://creativecommons.org/publicdomain/zero/1.0/++They were vendored from the notion-avatar project by Mayandev (Phil Zou),+which is licensed under the MIT License:++ Project: https://github.com/Mayandev/notion-avatar+ Licence: https://github.com/Mayandev/notion-avatar/blob/main/LICENSE.md++Nothing is depended on at runtime: the layers are copied into this repo, so+there is no package to install and no service to call.++Only the `public/avatar/preview` layers are vendored, and the seasonal+`festival` pack is excluded. Regenerate with:++ node scripts/vendor-notion-avatar.mjs /path/to/notion-avatardiff --git a/autogpt_platform/frontend/src/components/molecules/NotionAvatar/NotionAvatar.tsx b/autogpt_platform/frontend/src/components/molecules/NotionAvatar/NotionAvatar.tsxnew file mode 100644index 0000000000..3d55e5e3fb--- /dev/null+++ b/autogpt_platform/frontend/src/components/molecules/NotionAvatar/NotionAvatar.tsx@@ -0,0 +1,62 @@+"use client";++import dynamic from "next/dynamic";+import { useId } from "react";+import { findNotionColor, type NotionAvatarConfig } from "./helpers";+import type { AvatarStatus } from "./status";++// The artwork is a few hundred kilobytes of paths. Loading it with the route+// would put it on every page that shows an avatar, so it arrives as its own+// chunk on mount. Until it lands, the disc stands in.+const NotionAvatarSvg = dynamic(+ () => import("./NotionAvatarSvg").then((module) => module.NotionAvatarSvg),+ { ssr: false, loading: () => null },+);++interface Props {+ config: NotionAvatarConfig;+ status?: AvatarStatus;+ size?: number;+ showBadge?: boolean;+ transparent?: boolean;+ title?: string;+ className?: string;+}++/** A face drawn inline, for the picker, where cycling a feature has to redraw+ * without a round trip. Everywhere else wants NotionAvatarImage. */+export function NotionAvatar({+ config,+ status = "idle",+ size = 96,+ showBadge = true,+ transparent = false,+ title,+ className,+}: Props) {+ const idPrefix = useId().replace(/:/g, "");++ return (+ <span+ style={{+ width: size,+ height: size,+ backgroundColor: transparent+ ? undefined+ : findNotionColor(config.color).disc,+ }}+ className="inline-flex shrink-0 items-center justify-center overflow-hidden rounded-full"+ >+ <NotionAvatarSvg+ config={config}+ status={status}+ idPrefix={idPrefix}+ size={size}+ showBadge={showBadge}+ transparent+ title={title}+ className={className}+ />+ </span>+ );+}diff --git a/autogpt_platform/frontend/src/components/molecules/NotionAvatar/NotionAvatarImage.tsx b/autogpt_platform/frontend/src/components/molecules/NotionAvatar/NotionAvatarImage.tsxnew file mode 100644index 0000000000..0907225d6c--- /dev/null+++ b/autogpt_platform/frontend/src/components/molecules/NotionAvatar/NotionAvatarImage.tsx@@ -0,0 +1,53 @@+import { cn } from "@/lib/utils";+import Image from "next/image";+import { notionAvatarUrlFor, type NotionAvatarConfig } from "./helpers";+import type { AvatarStatus } from "./status";+import { StatusDot } from "./StatusDot";++interface Props {+ config: NotionAvatarConfig;+ status?: AvatarStatus;+ size?: number;+ title?: string;+ className?: string;+}++/** The avatar as a cacheable image. The face never moves, so this is how it is+ * drawn everywhere except the picker, which redraws as you cycle features. */+export function NotionAvatarImage({+ config,+ status = "idle",+ size = 36,+ title,+ className,+}: Props) {+ const src = notionAvatarUrlFor(config);+ const face = (+ <Image+ src={src}+ alt={title ?? "Avatar"}+ width={size}+ height={size}+ unoptimized+ data-testid="notion-avatar-image"+ data-avatar={src}+ className={cn("shrink-0 rounded-full", className)}+ />+ );++ if (status === "idle") return face;++ return (+ <span+ style={{ width: size, height: size }}+ className="relative inline-flex shrink-0"+ >+ {face}+ <StatusDot+ status={status}+ size={Math.round(size * 0.34)}+ className="absolute -bottom-0.5 -right-0.5"+ />+ </span>+ );+}diff --git a/autogpt_platform/frontend/src/components/molecules/NotionAvatar/NotionAvatarSvg.tsx b/autogpt_platform/frontend/src/components/molecules/NotionAvatar/NotionAvatarSvg.tsxnew file mode 100644index 0000000000..4368a450cb--- /dev/null+++ b/autogpt_platform/frontend/src/components/molecules/NotionAvatar/NotionAvatarSvg.tsx@@ -0,0 +1,53 @@+import { cn } from "@/lib/utils";+import { composeNotionAvatar } from "./compose";+import {+ encodeNotionConfig,+ findNotionColor,+ type NotionAvatarConfig,+} from "./helpers";+import type { AvatarStatus } from "./status";++interface Props {+ config: NotionAvatarConfig;+ status: AvatarStatus;+ idPrefix: string;+ size?: number;+ showBadge?: boolean;+ transparent?: boolean;+ title?: string;+ className?: string;+}++// The same markup the /avatars/notion route serves, inlined so a picker can+// redraw without a round trip. One composer, so the two can never disagree.+export function NotionAvatarSvg({+ config,+ status,+ idPrefix,+ size = 96,+ showBadge = true,+ transparent = false,+ title,+ className,+}: Props) {+ const color = findNotionColor(config.color);++ return (+ <span+ role="img"+ aria-label={title ?? `${color.label} avatar`}+ data-testid="notion-avatar"+ data-avatar={encodeNotionConfig(config)}+ data-status={status}+ className={cn("inline-flex shrink-0", className)}+ dangerouslySetInnerHTML={{+ __html: composeNotionAvatar(config, {+ size,+ idPrefix,+ transparent,+ status: showBadge ? status : "idle",+ }),+ }}+ />+ );+}diff --git a/autogpt_platform/frontend/src/components/molecules/NotionAvatar/StatusDot.tsx b/autogpt_platform/frontend/src/components/molecules/NotionAvatar/StatusDot.tsxnew file mode 100644index 0000000000..df3ff9669b--- /dev/null+++ b/autogpt_platform/frontend/src/components/molecules/NotionAvatar/StatusDot.tsx@@ -0,0 +1,30 @@+import { cn } from "@/lib/utils";+import { BADGE_FILL, BADGE_GLYPH } from "./statusBadge";+import type { AvatarStatus } from "./status";++interface Props {+ status: AvatarStatus;+ size: number;+ className?: string;+}++/** The status badge as an overlay, for the avatar rendered as an image. The+ * in-artwork badge draws the same glyphs at the same radius. */+export function StatusDot({ status, size, className }: Props) {+ if (status === "idle") return null;++ return (+ <svg+ viewBox="-10 -10 20 20"+ width={size}+ height={size}+ aria-hidden+ data-testid="status-dot"+ data-status={status}+ className={cn("pointer-events-none shrink-0", className)}+ dangerouslySetInnerHTML={{+ __html: `<circle r="8" fill="${BADGE_FILL[status]}" stroke="#fff" stroke-width="2.5"/>${BADGE_GLYPH[status]}`,+ }}+ />+ );+}diff --git a/autogpt_platform/frontend/src/components/molecules/NotionAvatar/__tests__/helpers.test.ts b/autogpt_platform/frontend/src/components/molecules/NotionAvatar/__tests__/helpers.test.tsnew file mode 100644index 0000000000..b0e1daa212--- /dev/null+++ b/autogpt_platform/frontend/src/components/molecules/NotionAvatar/__tests__/helpers.test.ts@@ -0,0 +1,213 @@+import { describe, expect, it } from "vitest";+import {+ clampPart,+ colorForToken,+ NOTION_COLORS,+ OPTIONAL_CATEGORIES,+ PICKABLE_CATEGORIES,+ decodeNotionConfig,+ encodeNotionConfig,+ expertNotionConfig,+ isLegacyAvatarUrl,+ notionAvatarUrlFor,+ notionConfigForLegacyUrl,+ notionConfigForName,+ parseNotionAvatarUrl,+ randomNotionConfig,+ seededRandom,+ hashSeed,+} from "../helpers";+import { NOTION_CATEGORIES, NOTION_PART_COUNTS } from "../metadata.generated";++const COLOR_FAMILIES = NOTION_COLORS.map((color) => color.id);++describe("config encoding", () => {+ it("round-trips a config through its URL", () => {+ const config = notionConfigForName("Maria");++ expect(parseNotionAvatarUrl(notionAvatarUrlFor(config))).toEqual(config);+ });++ it("writes the slots in draw order", () => {+ const config = notionConfigForName("Maria");+ const slots = encodeNotionConfig(config).split(".")[0].split("-");++ expect(slots).toEqual(+ NOTION_CATEGORIES.map((category) => String(config.parts[category])),+ );+ });++ it.each([+ ["too few slots", "1-2-3.sky"],+ ["a non-numeric slot", "a-2-3-4-5-6-7-8-9-10.sky"],+ ["an unknown colour", "0-0-0-0-0-0-0-0-0-0.taupe"],+ ])("rejects %s", (_label, value) => {+ expect(decodeNotionConfig(value)).toBeNull();+ });++ it("rejects a URL that is not an avatar", () => {+ expect(parseNotionAvatarUrl("/experts/maria.svg")).toBeNull();+ expect(parseNotionAvatarUrl(null)).toBeNull();+ });+});++describe("what the picker has to offer", () => {+ it("gives a row to every feature the seeder can switch on", () => {+ // Without this, a seeded beard or set of blush marks lands on a face with+ // no control to clear it.+ for (const category of OPTIONAL_CATEGORIES) {+ expect(PICKABLE_CATEGORIES).toContain(category);+ }+ });++ it("can clear any optional feature by stepping back to nothing", () => {+ for (const category of OPTIONAL_CATEGORIES) {+ expect(clampPart(category, 1 - 1)).toBe(0);+ }+ });++ it("offers no row for a feature that is always drawn and has no blank", () => {+ expect(PICKABLE_CATEGORIES).not.toContain("face");+ expect(PICKABLE_CATEGORIES).not.toContain("nose");+ });+});++describe("part clamping", () => {+ it("wraps rather than dropping out of range, so a stale URL still draws", () => {+ expect(clampPart("hair", NOTION_PART_COUNTS.hair)).toBe(0);+ expect(clampPart("hair", NOTION_PART_COUNTS.hair + 3)).toBe(3);+ expect(clampPart("hair", -1)).toBe(NOTION_PART_COUNTS.hair - 1);+ });++ it("falls back to the first part for values that are not numbers", () => {+ expect(clampPart("hair", Number.NaN)).toBe(0);+ expect(clampPart("hair", Number.POSITIVE_INFINITY)).toBe(0);+ });+});++describe("seeding", () => {+ it("gives the same name the same face every time", () => {+ expect(notionConfigForName("Maria")).toEqual(notionConfigForName("Maria"));+ expect(notionConfigForName("Maria")).toEqual(notionConfigForName("maria"));+ });++ it("gives different names different faces", () => {+ expect(notionConfigForName("Maria")).not.toEqual(+ notionConfigForName("Frankie"),+ );+ });++ it("only ever picks parts that exist", () => {+ for (const name of ["", "a", "Zoë", "a considerably longer expert name"]) {+ const { parts } = notionConfigForName(name);+ for (const category of NOTION_CATEGORIES) {+ expect(parts[category]).toBeGreaterThanOrEqual(0);+ expect(parts[category]).toBeLessThan(NOTION_PART_COUNTS[category]);+ }+ }+ });++ it("leaves most faces without glasses or a beard", () => {+ const random = seededRandom(hashSeed("sample"));+ const faces = Array.from({ length: 400 }, () => randomNotionConfig(random));+ const bare = (category: "glasses" | "beard") =>+ faces.filter((face) => face.parts[category] === 0).length / faces.length;++ expect(bare("glasses")).toBeGreaterThan(0.4);+ expect(bare("beard")).toBeGreaterThan(0.45);+ });++ it("hashes a name the same way regardless of characters outside the BMP", () => {+ // "🤖" is a surrogate pair in UTF-16; hashing by code point keeps this+ // in sync with the backend's ord()-based _hash_seed.+ expect(notionAvatarUrlFor(notionConfigForName("Otto 🤖"))).toBe(+ "/avatars/notion/7-10-18-11-6-5-37-3-4-1.teal.svg",+ );+ });+});++describe("what to draw for an expert", () => {+ it("decodes an avatar the expert already has", () => {+ const config = notionConfigForName("Maria");+ const drawn = expertNotionConfig({+ name: "Maria",+ avatarUrl: notionAvatarUrlFor(config),+ });++ expect(drawn).toEqual(config);+ });++ it("seeds from the name when there is no avatar yet", () => {+ expect(expertNotionConfig({ name: "Maria", avatarUrl: null })).toEqual(+ notionConfigForName("Maria"),+ );+ });++ it("takes the accent colour the expert was given", () => {+ const drawn = expertNotionConfig({+ name: "Maria",+ avatarUrl: null,+ color: "violet-300",+ });++ expect(drawn?.color).toBe("violet");+ });++ it("returns nothing for a real picture, so the caller shows the image", () => {+ expect(+ expertNotionConfig({ name: "Maria", avatarUrl: "/experts/maria.svg" }),+ ).toBeNull();+ expect(+ expertNotionConfig({+ name: "Maria",+ avatarUrl: "https://cdn.example.com/maria.png",+ }),+ ).toBeNull();+ });++ it("resolves a legacy avatar from the old URL, not the name", () => {+ const url = "/avatars/round.sky.glasses.svg";++ expect(isLegacyAvatarUrl(url)).toBe(true);+ expect(expertNotionConfig({ name: "Maria", avatarUrl: url })).toEqual(+ notionConfigForLegacyUrl(url),+ );+ // Two experts sharing a name but raised with different shapes stay apart.+ expect(expertNotionConfig({ name: "Maria", avatarUrl: url })).not.toEqual(+ expertNotionConfig({+ name: "Maria",+ avatarUrl: "/avatars/bean.sky.crown.svg",+ }),+ );+ });++ it("keeps the colour a legacy avatar was raised with", () => {+ expect(+ expertNotionConfig({+ name: "Maria",+ avatarUrl: "/avatars/round.mint.glasses.svg",+ })?.color,+ ).toBe("emerald");+ });+});++describe("colour tokens", () => {+ it("maps a token family onto an avatar colour", () => {+ expect(colorForToken("violet-300")).toBe("violet");+ expect(colorForToken("sky-500")).toBe("sky");+ });++ it("gives every accent its own disc, so no two swatches look the same", () => {+ const discs = COLOR_FAMILIES.map((family) =>+ colorForToken(`${family}-300`),+ );++ expect(new Set(discs).size).toBe(COLOR_FAMILIES.length);+ expect(discs.every(Boolean)).toBe(true);+ });++ it("has no opinion about a family it does not know", () => {+ expect(colorForToken("chartreuse-300")).toBeNull();+ expect(colorForToken(null)).toBeNull();+ });+});diff --git a/autogpt_platform/frontend/src/components/molecules/NotionAvatar/compose.ts b/autogpt_platform/frontend/src/components/molecules/NotionAvatar/compose.tsnew file mode 100644index 0000000000..753e9ab440--- /dev/null+++ b/autogpt_platform/frontend/src/components/molecules/NotionAvatar/compose.ts@@ -0,0 +1,73 @@+import { findNotionColor, type NotionAvatarConfig } from "./helpers";+import {+ NOTION_CATEGORIES,+ VIEWBOX,+ type NotionCategory,+} from "./metadata.generated";+import { NOTION_PARTS } from "./parts.generated";+import { badgeMarkup } from "./statusBadge";+import type { AvatarStatus } from "./status";++// The artwork is drawn to the edge of its 1080 box, so a circular crop shears+// off long hair. Scaling it down inside the disc keeps every hairstyle whole,+// and the nudge downward stops the crown from crowding the top edge.+//+// 1.35 puts the head at roughly 85% of the disc. Past that the crop starts+// taking ears and cap brims; at this size only long hair reaches the edge,+// which reads as a portrait crop rather than damage.+export const FRAME_SCALE = 1.35;+export const FRAME_OFFSET_Y = 0;++interface Options {+ size?: number;+ idPrefix?: string;+ /** Omit the tinted disc, for callers that supply their own background. */+ transparent?: boolean;+ /** Draws the status dot on the lower right. "idle" draws nothing. */+ status?: AvatarStatus;+}++export function layerMarkup(+ category: NotionCategory,+ index: number,+ prefix: string,+): string {+ const markup = NOTION_PARTS[category][index] ?? "";+ return markup.replace(/\{\{P\}\}/g, prefix);+}++export function composeNotionAvatar(+ config: NotionAvatarConfig,+ {+ size = VIEWBOX,+ idPrefix = "na",+ transparent = false,+ status = "idle",+ }: Options = {},+): string {+ const color = findNotionColor(config.color);+ const disc = transparent+ ? ""+ : `<circle cx="${VIEWBOX / 2}" cy="${VIEWBOX / 2}" r="${VIEWBOX / 2}" fill="${color.disc}"/>`;+ const layers = NOTION_CATEGORIES.map(+ (category) =>+ `<g>${layerMarkup(category, config.parts[category], idPrefix)}</g>`,+ ).join("");++ const inset = (VIEWBOX / 2) * (1 - FRAME_SCALE);+ const radius = VIEWBOX / 2;+ // The head is drawn larger than the artboard, so the file clips itself to+ // the disc rather than relying on whatever rounds it in CSS.+ const clipId = `${idPrefix}clip`;++ return [+ `<svg xmlns="http://www.w3.org/2000/svg" width="${size}" height="${size}" viewBox="0 0 ${VIEWBOX} ${VIEWBOX}" fill="none">`,+ `<defs><clipPath id="${clipId}"><circle cx="${radius}" cy="${radius}" r="${radius}"/></clipPath></defs>`,+ `<g clip-path="url(#${clipId})">`,+ disc,+ `<g transform="translate(${inset} ${inset + FRAME_OFFSET_Y}) scale(${FRAME_SCALE})">${layers}</g>`,+ `</g>`,+ badgeMarkup(status, VIEWBOX),+ `</svg>`,+ ].join("");+}diff --git a/autogpt_platform/frontend/src/components/molecules/NotionAvatar/helpers.ts b/autogpt_platform/frontend/src/components/molecules/NotionAvatar/helpers.tsnew file mode 100644index 0000000000..4191554908--- /dev/null+++ b/autogpt_platform/frontend/src/components/molecules/NotionAvatar/helpers.ts@@ -0,0 +1,286 @@+import {+ NOTION_CATEGORIES,+ NOTION_PART_COUNTS,+ VIEWBOX,+ type NotionCategory,+} from "./metadata.generated";++export { VIEWBOX };++export type NotionParts = Record<NotionCategory, number>;++export interface NotionAvatarConfig {+ parts: NotionParts;+ color: NotionColorId;+}++export type NotionColorId =+ | "rose"+ | "red"+ | "orange"+ | "amber"+ | "yellow"+ | "lime"+ | "green"+ | "emerald"+ | "teal"+ | "cyan"+ | "sky"+ | "blue"+ | "indigo"+ | "violet"+ | "fuchsia";++export interface NotionColorOption {+ id: NotionColorId;+ label: string;+ disc: string;+}++// One disc per accent family, so every swatch in the picker visibly changes+// the face. Halfway between Tailwind's 100 and 200: paler than a 200, while+// still telling rose from red and teal from cyan, which a 100 cannot.+export const NOTION_COLORS: NotionColorOption[] = [+ { id: "rose", label: "Rose", disc: "#fed8dc" },+ { id: "red", label: "Red", disc: "#fed6d6" },+ { id: "orange", label: "Orange", disc: "#fee2c0" },+ { id: "amber", label: "Amber", disc: "#feeca8" },+ { id: "yellow", label: "Yellow", disc: "#fef4a6" },+ { id: "lime", label: "Lime", disc: "#e2fab4" },+ { id: "green", label: "Green", disc: "#ccfadc" },+ { id: "emerald", label: "Emerald", disc: "#bcf6da" },+ { id: "teal", label: "Teal", disc: "#b2f8ea" },+ { id: "cyan", label: "Cyan", disc: "#baf6fd" },+ { id: "sky", label: "Sky", disc: "#cdecfe" },+ { id: "blue", label: "Blue", disc: "#cde2fe" },+ { id: "indigo", label: "Indigo", disc: "#d4dcfe" },+ { id: "violet", label: "Violet", disc: "#e5e0fe" },+ { id: "fuchsia", label: "Fuchsia", disc: "#f8dcfe" },+];++// Rows the picker offers, in the order they appear: the face itself, then the+// things worn on it.+//+// Every category the seeder can switch on MUST have a row — otherwise a user+// lands on a beard or a pair of blush marks with no way to clear them. That+// rule is enforced by a test against OPTIONAL_CATEGORIES rather than left to+// judgement about which features "read" at small sizes.+export const PICKABLE_CATEGORIES: NotionCategory[] = [+ "hair",+ "eyes",+ "mouth",+ "beard",+ "glasses",+ "accessories",+ "details",+];++export const CATEGORY_LABELS: Record<NotionCategory, string> = {+ face: "Face",+ nose: "Nose",+ mouth: "Mouth",+ eyes: "Eyes",+ eyebrows: "Eyebrows",+ glasses: "Glasses",+ hair: "Hair",+ accessories: "Accessories",+ // Upstream calls these "details"; they are blush, freckles, moles and lines.+ details: "Marks",+ beard: "Beard",+};++export const DEFAULT_NOTION_CONFIG: NotionAvatarConfig = {+ parts: {+ face: 0,+ nose: 0,+ mouth: 0,+ eyes: 0,+ eyebrows: 0,+ glasses: 0,+ hair: 0,+ accessories: 0,+ details: 0,+ beard: 0,+ },+ color: "violet",+};++export function findNotionColor(id: NotionColorId) {+ return NOTION_COLORS.find((color) => color.id === id) ?? NOTION_COLORS[0];+}++function isNotionColorId(value: string): value is NotionColorId {+ return NOTION_COLORS.some((color) => color.id === value);+}++/** Wraps into range rather than rejecting, so a stale or hand-typed URL still+ * resolves to a real face instead of a 404. */+export function clampPart(category: NotionCategory, index: number): number {+ const count = NOTION_PART_COUNTS[category];+ if (!Number.isFinite(index)) return 0;+ const whole = Math.trunc(index);+ return ((whole % count) + count) % count;+}++export function encodeNotionConfig(config: NotionAvatarConfig): string {+ const slots = NOTION_CATEGORIES.map((category) =>+ clampPart(category, config.parts[category]),+ );+ return `${slots.join("-")}.${config.color}`;+}++export function decodeNotionConfig(value: string): NotionAvatarConfig | null {+ const [slots = "", color = ""] = value.split(".");+ const indices = slots.split("-");+ if (indices.length !== NOTION_CATEGORIES.length) return null;+ if (!indices.every((index) => /^\d+$/.test(index))) return null;+ if (!isNotionColorId(color)) return null;+ const parts = {} as NotionParts;+ NOTION_CATEGORIES.forEach((category, position) => {+ parts[category] = clampPart(category, Number(indices[position]));+ });+ return { parts, color };+}++const NOTION_URL_PATTERN = /^\/avatars\/notion\/([\d-]+\.[a-z]+)\.svg$/;++export function notionAvatarUrlFor(config: NotionAvatarConfig): string {+ return `/avatars/notion/${encodeNotionConfig(config)}.svg`;+}++export function parseNotionAvatarUrl(+ url: string | null | undefined,+): NotionAvatarConfig | null {+ const match = url?.match(NOTION_URL_PATTERN);+ return match ? decodeNotionConfig(match[1]) : null;+}++// Iterates by code point (not UTF-16 code unit) so names with characters+// outside the BMP, like emoji, hash the same way as the backend's ord().+export function hashSeed(input: string) {+ let hash = 2166136261;+ for (const character of input) {+ hash ^= character.codePointAt(0) ?? 0;+ hash = Math.imul(hash, 16777619);+ }+ return hash >>> 0;+}++export function seededRandom(seed: number) {+ let state = seed || 1;+ return function next() {+ state = (Math.imul(state, 1664525) + 1013904223) >>> 0;+ return state / 4294967296;+ };+}++// Index 0 is "nothing" for these categories. Sampling uniformly would put+// glasses and a beard on almost every face, so each carries the odds of+// drawing nothing at all; the rest are always drawn.+const NONE_ODDS: Partial<Record<NotionCategory, number>> = {+ glasses: 0.55,+ beard: 0.6,+ accessories: 0.7,+ details: 0.65,+ hair: 0.04,+};++/** Categories that can be seeded on, and so must be clearable in the picker. */+export const OPTIONAL_CATEGORIES = Object.keys(NONE_ODDS) as NotionCategory[];++export function weightedPart(+ category: NotionCategory,+ random: () => number,+): number {+ const count = NOTION_PART_COUNTS[category];+ const noneOdds = NONE_ODDS[category];+ if (noneOdds === undefined) return Math.floor(random() * count);+ if (random() < noneOdds) return 0;+ return 1 + Math.floor(random() * (count - 1));+}++export function randomNotionConfig(+ random: () => number = Math.random,+): NotionAvatarConfig {+ const parts = {} as NotionParts;+ NOTION_CATEGORIES.forEach((category) => {+ parts[category] = weightedPart(category, random);+ });+ return {+ parts,+ color: NOTION_COLORS[Math.floor(random() * NOTION_COLORS.length)].id,+ };+}++export function notionConfigForName(name: string): NotionAvatarConfig {+ return randomNotionConfig(seededRandom(hashSeed(name.toLowerCase())));+}++// One family, one disc, so no two swatches land on the same face.+export function colorForToken(+ token: string | null | undefined,+): NotionColorId | null {+ const family = token?.split("-")[0];+ return family && isNotionColorId(family) ? family : null;+}++// Avatars raised before the Notion art landed are stored as+// "/avatars/<shape>.<color>.<accessory>.svg". They keep resolving to a face —+// seeded from the name, so the same expert always lands on the same one — and+// the legacy route redirects to the Notion URL.+const LEGACY_URL_PATTERN = /^\/avatars\/([a-z]+)\.([a-z]+)\.([a-z]+)\.svg$/;++export function isLegacyAvatarUrl(url: string | null | undefined): boolean {+ return Boolean(url && LEGACY_URL_PATTERN.test(url));+}++/** Seeds from the old triple rather than the expert's name, so the route and+ * the component resolve a legacy URL to the same face — and two experts who+ * were raised with different shapes stay different. */+// The palette a legacy URL was written against, mapped onto the family that+// replaced it, so an expert raised under the old names keeps its colour.+const LEGACY_COLORS: Record<string, NotionColorId> = {+ lavender: "violet",+ plum: "fuchsia",+ mint: "emerald",+ coral: "orange",+ butter: "yellow",+ amber: "amber",+ sky: "sky",+ indigo: "indigo",+};++export function notionConfigForLegacyUrl(+ url: string | null | undefined,+): NotionAvatarConfig | null {+ const match = url?.match(LEGACY_URL_PATTERN);+ if (!match) return null;+ const [, shape, color, accessory] = match;+ const seeded = notionConfigForName(`${shape}.${color}.${accessory}`);+ const mapped = LEGACY_COLORS[color];+ return mapped ? { ...seeded, color: mapped } : seeded;+}++export interface ExpertLike {+ name: string | null | undefined;+ avatarUrl?: string | null;+ color?: string | null;+}++/** The config to draw for an expert, or null when their avatar is a real+ * picture and should be rendered as an image instead. */+export function expertNotionConfig(+ expert: ExpertLike,+): NotionAvatarConfig | null {+ const parsed = parseNotionAvatarUrl(expert.avatarUrl);+ if (parsed) return parsed;++ const legacy = notionConfigForLegacyUrl(expert.avatarUrl);+ if (legacy) return legacy;++ if (expert.avatarUrl) return null;++ const seeded = notionConfigForName(expert.name ?? "");+ const color = colorForToken(expert.color);+ return color ? { ...seeded, color } : seeded;+}diff --git a/autogpt_platform/frontend/src/components/molecules/NotionAvatar/metadata.generated.ts b/autogpt_platform/frontend/src/components/molecules/NotionAvatar/metadata.generated.tsnew file mode 100644index 0000000000..77eb0ef71d--- /dev/null+++ b/autogpt_platform/frontend/src/components/molecules/NotionAvatar/metadata.generated.ts@@ -0,0 +1,34 @@+// Generated by scripts/vendor-notion-avatar.mjs — do not edit by hand.+// Artwork: the "Noto avatar" pack by Felix Wong, CC0. Layers vendored from+// github.com/Mayandev/notion-avatar (MIT). See ./NOTICE.++export const NOTION_CATEGORIES = [+ "face",+ "nose",+ "mouth",+ "eyes",+ "eyebrows",+ "glasses",+ "hair",+ "accessories",+ "details",+ "beard",+] as const;++export type NotionCategory = (typeof NOTION_CATEGORIES)[number];++/** Side of the square artboard every layer is drawn on. */+export const VIEWBOX = 1080;++export const NOTION_PART_COUNTS: Record<NotionCategory, number> = {+ face: 16,+ nose: 14,+ mouth: 20,+ eyes: 14,+ eyebrows: 16,+ glasses: 15,+ hair: 59,+ accessories: 15,+ details: 14,+ beard: 17,+};diff --git a/autogpt_platform/frontend/src/components/molecules/NotionAvatar/parts.generated.ts b/autogpt_platform/frontend/src/components/molecules/NotionAvatar/parts.generated.tsnew file mode 100644index 0000000000..996eb42015--- /dev/null+++ b/autogpt_platform/frontend/src/components/molecules/NotionAvatar/parts.generated.ts@@ -0,0 +1,231 @@+// Generated by scripts/vendor-notion-avatar.mjs — do not edit by hand.+// Artwork: the "Noto avatar" pack by Felix Wong, CC0. Layers vendored from+// github.com/Mayandev/notion-avatar (MIT). See ./NOTICE.++// Each entry is the inner markup of one 1080x1080 layer. "{{P}}" marks an id+// that must be prefixed per rendered avatar; composeNotionAvatar does this.++import type { NotionCategory } from "./metadata.generated";++export const NOTION_PARTS: Record<NotionCategory, string[]> = {+ face: [+ '<g id="{{P}}Face/-0" stroke="none" stroke-width="1" fill-rule="evenodd" stroke-linecap="round" stroke-linejoin="round"><path d="M532,379 C664.54834,379 772,486.45166 772,619 C772,751.54834 664.54834,859 532,859 C435.13263,859 351.668898,801.612202 313.752775,718.980575 L313.322946,718.989282 L312,719 C267.81722,719 232,683.18278 232,639 C232,599.134956 261.158843,566.080325 299.312086,560.00055 C325.599297,455.979213 419.809919,379 532,379 Z M295.858895,624.545187 L304.141105,655.454813" id="{{P}}Path" stroke="#000000" stroke-width="24"></path></g>',+ '<g id="{{P}}Face/-1" stroke="none" stroke-width="1" fill-rule="evenodd" stroke-linecap="round" stroke-linejoin="round"><path d="M532,379 C664.54834,379 772,486.45166 772,619 C772,751.54834 664.54834,879 532,879 C435.13263,879 351.668898,801.612202 313.752775,718.980575 L313.322946,718.989282 L312,719 C267.81722,719 232,683.18278 232,639 C232,599.134956 261.158843,566.080325 299.312086,560.00055 C325.599297,455.979213 419.809919,379 532,379 Z M295.858895,624.545187 L304.141105,655.454813" id="{{P}}Path" stroke="#000000" stroke-width="24"></path></g>',+ '<g id="{{P}}Face/-2" stroke="none" stroke-width="1" fill-rule="evenodd" stroke-linecap="round" stroke-linejoin="round"><path d="M532,379 C664.54834,379 772,486.45166 772,619 C772,751.54834 664.54834,899 532,899 C432.699202,899 347.483933,816.242653 310.982017,718.993409 C267.268677,718.448846 232,682.843144 232,639 C232,599.134956 261.158843,566.080325 299.312086,560.00055 C325.599297,455.979213 419.809919,379 532,379 Z M295.858895,624.545187 L304.141105,655.454813" id="{{P}}Path" stroke="#000000" stroke-width="24"></path></g>',+ '<g id="{{P}}Face/-3" stroke="none" stroke-width="1" fill-rule="evenodd" stroke-linecap="round" stroke-linejoin="round"><path d="M532,379 C664.54834,379 772,486.45166 772,619 C772,751.54834 704.54834,899 532,899 C402.610491,899 332.317998,816.086314 305.249034,718.717925 C264.225797,715.291578 232,680.909158 232,639 C232,599.134956 261.158843,566.080325 299.312086,560.00055 C325.599297,455.979213 419.809919,379 532,379 Z M295.858895,624.545187 L304.141105,655.454813" id="{{P}}Path" stroke="#000000" stroke-width="24"></path></g>',+ '<g id="{{P}}Face/-4" stroke="none" stroke-width="1" fill-rule="evenodd" stroke-linecap="round" stroke-linejoin="round"><path d="M532,379 C664.54834,379 772,486.45166 772,619 C772,751.54834 764.54834,899 592,899 C462.715227,899 358.747776,816.220491 314.739381,718.954345 C313.831676,718.98455 312.917642,719 312,719 C267.81722,719 232,683.18278 232,639 C232,599.134956 261.158843,566.080325 299.312086,560.00055 C325.599297,455.979213 419.809919,379 532,379 Z M295.858895,624.545187 L304.141105,655.454813" id="{{P}}Path" stroke="#000000" stroke-width="24"></path></g>',+ '<g id="{{P}}Face/-5" stroke="none" stroke-width="1" fill-rule="evenodd" stroke-linecap="round" stroke-linejoin="round"><path d="M532,379 C664.54834,379 772,486.45166 772,619 C772,751.54834 704.54834,859 532,859 C405.842528,859 335.866563,801.559592 307.358668,718.866959 C265.336704,716.464588 232,681.625396 232,639 C232,599.134956 261.158843,566.080325 299.312086,560.00055 C325.599297,455.979213 419.809919,379 532,379 Z M295.858895,624.545187 L304.141105,655.454813" id="{{P}}Path" stroke="#000000" stroke-width="24"></path></g>',+ '<g id="{{P}}Face/-6" stroke="none" stroke-width="1" fill-rule="evenodd" stroke-linecap="round" stroke-linejoin="round"><path d="M532,379 C664.54834,379 772,486.45166 772,619 C772,751.54834 764.54834,899 532,899 C402.610491,899 332.317998,816.086314 305.249034,718.717925 C264.225797,715.291578 232,680.909158 232,639 C232,599.134956 261.158843,566.080325 299.312086,560.00055 C325.599297,455.979213 419.809919,379 532,379 Z M295.858895,624.545187 L304.141105,655.454813" id="{{P}}Path" stroke="#000000" stroke-width="24"></path></g>',+ '<g id="{{P}}Face/-7" stroke="none" stroke-width="1" fill-rule="evenodd" stroke-linecap="round" stroke-linejoin="round"><path d="M532,379 C664.54834,379 772,486.45166 772,619 C772,751.54834 764.54834,919 572,919 C415.13263,919 351.668898,801.612202 313.752775,718.980575 L313.322946,718.989282 L312,719 C267.81722,719 232,683.18278 232,639 C232,599.134956 261.158843,566.080325 299.312086,560.00055 C325.599297,455.979213 419.809919,379 532,379 Z M295.858895,624.545187 L304.141105,655.454813" id="{{P}}Path" stroke="#000000" stroke-width="24"></path></g>',+ '<g id="{{P}}Face/-8" stroke="none" stroke-width="1" fill-rule="evenodd" stroke-linecap="round" stroke-linejoin="round"><path d="M532,379 C664.54834,379 772,486.45166 772,619 C772,751.54834 724.54834,899 592,899 C492.560218,899 373.476049,816.010833 320.189513,718.584987 C317.498129,718.859681 314.765451,719 312,719 C267.81722,719 232,683.18278 232,639 C232,599.134956 261.158843,566.080325 299.312086,560.00055 C325.599297,455.979213 419.809919,379 532,379 Z M295.858895,624.545187 L304.141105,655.454813" id="{{P}}Path" stroke="#000000" stroke-width="24"></path></g>',+ '<g id="{{P}}Face/-9" stroke="none" stroke-width="1" fill-rule="evenodd" stroke-linecap="round" stroke-linejoin="round"><path d="M532,379 C664.54834,379 772,486.45166 772,619 C772,751.54834 704.54834,919 592,919 C506.683174,919 378.324367,822.776611 321.205121,718.475443 C318.188736,718.821948 315.115161,719 312,719 C267.81722,719 232,683.18278 232,639 C232,599.134956 261.158843,566.080325 299.312086,560.00055 C325.599297,455.979213 419.809919,379 532,379 Z M295.858895,624.545187 L304.141105,655.454813" id="{{P}}Path" stroke="#000000" stroke-width="24"></path></g>',+ '<g id="{{P}}Face/-10" stroke="none" stroke-width="1" fill-rule="evenodd" stroke-linecap="round" stroke-linejoin="round"><path d="M532,379 C664.54834,379 772,486.45166 772,619 C772,751.54834 684.54834,899 592,899 C535.13263,899 351.668898,801.612202 313.752775,718.980575 L313.322946,718.989282 L312,719 C267.81722,719 232,683.18278 232,639 C232,599.134956 261.158843,566.080325 299.312086,560.00055 C325.599297,455.979213 419.809919,379 532,379 Z M295.858895,624.545187 L304.141105,655.454813" id="{{P}}Path" stroke="#000000" stroke-width="24"></path></g>',+ '<g id="{{P}}Face/-11" stroke="none" stroke-width="1" fill-rule="evenodd" stroke-linecap="round" stroke-linejoin="round"><path d="M532,379 C664.54834,379 772,486.45166 772,619 C772,642.160109 783.234546,666.244677 777.453024,688.979248 C763.583554,743.517917 672,879 608,899 C513.514707,928.526654 373.476049,816.010833 320.189513,718.584987 C317.498129,718.859681 314.765451,719 312,719 C267.81722,719 232,683.18278 232,639 C232,599.134956 261.158843,566.080325 299.312086,560.00055 C325.599297,455.979213 419.809919,379 532,379 Z M295.858895,624.545187 L304.141105,655.454813" id="{{P}}Path" stroke="#000000" stroke-width="24"></path></g>',+ '<!-- Generator: Sketch 63.1 (92452) - https://sketch.com --><g id="{{P}}Face/-12" stroke="none" stroke-width="1" fill-rule="evenodd" stroke-linecap="round" stroke-linejoin="round"><path d="M532,379 C664.54834,379 772,486.45166 772,619 C772,642.160109 793.234546,666.244677 787.453024,688.979248 C773.583554,743.517917 768.701879,951.343666 608,919 C508.628533,899 373.476049,816.010833 320.189513,718.584987 C317.498129,718.859681 314.765451,719 312,719 C267.81722,719 232,683.18278 232,639 C232,599.134956 261.158843,566.080325 299.312086,560.00055 C325.599297,455.979213 419.809919,379 532,379 Z M295.858895,624.545187 L304.141105,655.454813" id="{{P}}Path" stroke="#000000" stroke-width="24"></path></g>',+ '<!-- Generator: Sketch 63.1 (92452) - https://sketch.com --><g id="{{P}}Face/-13" stroke="none" stroke-width="1" fill-rule="evenodd" stroke-linecap="round" stroke-linejoin="round"><path d="M532,379 C664.54834,379 772,486.45166 772,619 C772,642.160109 793.234546,666.244677 787.453024,688.979248 C773.583554,743.517917 772,919 608,919 C448.628533,919 373.476049,816.010833 320.189513,718.584987 C317.498129,718.859681 314.765451,719 312,719 C267.81722,719 232,683.18278 232,639 C232,599.134956 261.158843,566.080325 299.312086,560.00055 C325.599297,455.979213 419.809919,379 532,379 Z M295.858895,624.545187 L304.141105,655.454813" id="{{P}}Path" stroke="#000000" stroke-width="24"></path></g>',+ '<!-- Generator: Sketch 63.1 (92452) - https://sketch.com --><g id="{{P}}Face/-14" stroke="none" stroke-width="1" fill-rule="evenodd" stroke-linecap="round" stroke-linejoin="round"><path d="M532,379 C664.54834,379 772,486.45166 772,619 C772,642.160109 783.234546,656.244677 777.453024,678.979248 C763.583554,733.517917 758.701879,941.343666 598,909 C539.618945,897.249936 461,880 433,858 C405,836 342.170039,758.772836 320.189513,718.584987 C317.498129,718.859681 314.765451,719 312,719 C267.81722,719 232,683.18278 232,639 C232,599.134956 261.158843,566.080325 299.312086,560.00055 C325.599297,455.979213 419.809919,379 532,379 Z M295.858895,624.545187 L304.141105,655.454813" id="{{P}}Path" stroke="#000000" stroke-width="24"></path></g>',+ '<!-- Generator: Sketch 63.1 (92452) - https://sketch.com --><g id="{{P}}Face/-15" stroke="none" stroke-width="1" fill-rule="evenodd" stroke-linecap="round" stroke-linejoin="round"><path d="M532,379 C664.54834,379 772,486.45166 772,619 C772,642.160109 793.234546,666.244677 787.453024,688.979248 C773.583554,743.517917 768.701879,951.343666 608,919 C549.618945,907.249936 481,900 453,878 C425,856 342.170039,758.772836 320.189513,718.584987 C317.498129,718.859681 314.765451,719 312,719 C267.81722,719 232,683.18278 232,639 C232,599.134956 261.158843,566.080325 299.312086,560.00055 C325.599297,455.979213 419.809919,379 532,379 Z M295.858895,624.545187 L304.141105,655.454813" id="{{P}}Path" stroke="#000000" stroke-width="24"></path></g>',+ ],+ nose: [+ '<g id="{{P}}Nose/-0" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd" stroke-linecap="round" stroke-linejoin="round"><line x1="637" y1="596" x2="661.856189" y2="682.499537" id="{{P}}Line" stroke="#000000" stroke-width="16" transform="translate(649.428094, 639.249768) rotate(1.032339) translate(-649.428094, -639.249768) "></line></g>',+ '<g id="{{P}}Nose/-1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd" stroke-linecap="round" stroke-linejoin="round"><path d="M633.532552,569.006852 C651.291821,622.395473 661.086671,652.555363 662.917104,659.486521 C664.747537,666.41768 663.749048,673.591123 659.921638,681.006852" id="{{P}}Line" stroke="#000000" stroke-width="16" transform="translate(648.668966, 625.006852) rotate(-3.225647) translate(-648.668966, -625.006852) "></path></g>',+ '<g id="{{P}}Nose/-2" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd" stroke-linecap="round" stroke-linejoin="round"><path d="M692.893232,627.725033 C673.627879,639.855074 659.236623,647.263498 649.719463,649.950306 C640.202303,652.637114 625.722036,653.379465 606.278663,652.177361" id="{{P}}Line" stroke="#000000" stroke-width="16" transform="translate(649.585948, 640.229885) rotate(-89.234993) translate(-649.585948, -640.229885) "></path></g>',+ '<g id="{{P}}Nose/-3" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd" stroke-linecap="round" stroke-linejoin="round"><path d="M636.843465,595.910607 C654.994141,637.483681 663.279537,666.31686 661.699654,682.410144 C660.11977,698.503428 648.515798,703.474491 626.887739,697.323331" id="{{P}}Line" stroke="#000000" stroke-width="16" transform="translate(644.388576, 647.892684) rotate(1.032339) translate(-644.388576, -647.892684) "></path></g>',+ '<g id="{{P}}Nose/-4" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd" stroke-linecap="round" stroke-linejoin="round"><path d="M636.843426,596.000252 C661.659687,637.453214 673.277876,666.226337 671.697992,682.319621 C670.118108,698.412905 655.181344,703.444023 626.8877,697.412976" id="{{P}}Line" stroke="#000000" stroke-width="16" transform="translate(649.363766, 647.939652) rotate(1.032339) translate(-649.363766, -647.939652) "></path></g>',+ '<g id="{{P}}Nose/-5" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd" stroke-linecap="round" stroke-linejoin="round"><path d="M673,568 C662.55102,590.836147 657.326531,613.414126 657.326531,635.733939 C657.326531,669.213657 673,686.992054 670.061224,702.552554 C668.102041,712.92622 653.081633,714.756867 625,708.044495" id="{{P}}Path" stroke="#000000" stroke-width="16"></path></g>',+ '<g id="{{P}}Nose/-6" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd" stroke-linecap="round" stroke-linejoin="round"><path d="M673,568 C662.55102,590.836147 657.326531,613.414126 657.326531,635.733939 C657.326531,669.213657 685.938776,657.439501 683,683 C681.040816,700.040333 661.707483,708.388498 625,708.044495" id="{{P}}Path" stroke="#000000" stroke-width="16"></path></g>',+ '<g id="{{P}}Nose/-7" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd" stroke-linecap="round" stroke-linejoin="round"><path d="M649,600 C669,606.666667 679,620 679,640 C679,660 669,673.333333 649,680" id="{{P}}Path" stroke="#000000" stroke-width="16"></path></g>',+ '<g id="{{P}}Nose/-8" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd" stroke-linecap="round" stroke-linejoin="round"><path d="M649,600 C682.333333,613.333333 699,630 699,650 C699,670 682.333333,680 649,680" id="{{P}}Path" stroke="#000000" stroke-width="16"></path></g>',+ '<g id="{{P}}Nose/-9" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd" stroke-linecap="round" stroke-linejoin="round"><path d="M631,694.380659 C663.848549,704.811956 684.630284,697.576454 693.345205,672.674154 C706.417587,635.320703 637.033407,606.392531 660.161467,579" id="{{P}}Path" stroke="#000000" stroke-width="16"></path></g>',+ '<g id="{{P}}Nose/-10" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd" stroke-linecap="round" stroke-linejoin="round"><path d="M631,694.380659 C660.333333,687.46022 678,677.333333 684,664 C693,644 637.033407,606.392531 660.161467,579" id="{{P}}Path" stroke="#000000" stroke-width="16"></path></g>',+ '<g id="{{P}}Nose/ 11"><path id="{{P}}Path" fill-rule="evenodd" clip-rule="evenodd" d="M648.516 601C648.516 601 664.222 603.637 672 609.977C685.06 620.622 693.906 641.256 692.774 653.58C690.065 683.076 644 684.359 644 684.359C644 684.359 700 689.489 700 653.58C700 637.222 689.433 619.065 672 608.695C663.922 603.889 648.516 601 648.516 601Z" fill="black" stroke="black" stroke-width="6" stroke-linecap="round" stroke-linejoin="round"/></g>',+ '<g id="{{P}}Nose/ 12"><path id="{{P}}Path" fill-rule="evenodd" clip-rule="evenodd" d="M648.516 575C648.516 575 659.222 580.698 667 589C673.643 596.091 676.296 606.295 680 617C683.578 627.342 695.556 636.07 695 644C692.29 682.626 644 684.16 644 684.16C644 684.16 696 684 700 643.855C701.005 633.771 688.451 626.971 684 617C679.168 606.177 677 594 669 588C660.881 581.911 648.516 575 648.516 575Z" fill="black" stroke="black" stroke-width="6" stroke-linecap="round" stroke-linejoin="round"/></g>',+ '<g id="{{P}}Nose/ 13"><path id="{{P}}Path" fill-rule="evenodd" clip-rule="evenodd" d="M644 560C644 560 665.892 613.522 673 623C676 627 693.906 641.256 692.774 653.58C690.065 683.076 644 684.359 644 684.359C644 684.359 700 689.489 700 653.58C700 637.222 687 632 674 620C666.959 613.5 644 560 644 560Z" fill="black" stroke="black" stroke-width="6" stroke-linecap="round" stroke-linejoin="round"/></g>',+ ],+ mouth: [+ '<g id="{{P}}Mouth/-0" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd" stroke-linecap="round" stroke-linejoin="round"><path d="M549,759 C576.33038,765.666667 599.663714,769 619,769 C638.336286,769 655.002953,765.666667 669,759" id="{{P}}Path" stroke="#000000" stroke-width="16"></path></g>',+ '<g id="{{P}}Mouth/-1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd" stroke-linecap="round" stroke-linejoin="round"><path d="M549,759 C575.12979,773.666667 603.12979,781 633,781 C662.87021,781 682.87021,773.666667 693,759" id="{{P}}Path" stroke="#000000" stroke-width="16"></path></g>',+ '<g id="{{P}}Mouth/-2" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd" stroke-linecap="round" stroke-linejoin="round"><path d="M572,769 C585.775809,774.333333 599.109142,777 612,777 C624.890858,777 638.224191,774.333333 652,769" id="{{P}}Path" stroke="#000000" stroke-width="16"></path></g>',+ '<g id="{{P}}Mouth/-3" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd" stroke-linecap="round" stroke-linejoin="round"><g id="{{P}}Group" transform="translate(475.000000, 729.000000)" stroke="#000000" stroke-width="16"><path d="M66,41.0869565 C93.79487,40.6243036 114.628203,38.8851732 128.5,35.8695652 C142.371797,32.8539572 161.538463,25.8974355 186,15" id="{{P}}Path"></path><path d="M161,25.4347826 C161,49.7826087 153.5,65.4347826 138.5,72.3913043 C123.5,79.3478261 101.833333,68.9130435 73.5,41.0869565" id="{{P}}Path"></path><path d="M2.14164194,45 C-1.3880481,36.6867754 -0.554714768,27.8534421 4.64164194,18.5 C9.83799864,9.14655793 17.3379986,2.97989127 27.1416419,0" id="{{P}}Path"></path></g></g>',+ '<g id="{{P}}Mouth/-4" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd" stroke-linecap="round" stroke-linejoin="round"><path d="M549,778 C580.121822,764.84962 604.121822,756.516287 621,753 C637.878178,749.483713 661.878178,747.817046 693,748" id="{{P}}Path" stroke="#000000" stroke-width="16"></path></g>',+ '<g id="{{P}}Mouth/-5" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd" stroke-linecap="round" stroke-linejoin="round"><circle id="{{P}}Oval" stroke="#000000" stroke-width="16" cx="621" cy="768" r="40"></circle></g>',+ '<g id="{{P}}Mouth/-6" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd" stroke-linecap="round" stroke-linejoin="round"><path d="M595.535093,787 C583.017242,784.777583 569.106424,779.94425 553.80264,772.5 C538.498856,765.05575 532.537077,760.222417 535.917303,758 C559.764419,764.666667 583.611535,768 607.458651,768 C631.305768,768 655.152884,764.666667 679,758 C677.01274,762.833333 671.050961,767.666667 661.114663,772.5 C651.178364,777.333333 637.267547,782.166667 619.382209,787" id="{{P}}Path" stroke="#000000" stroke-width="16"></path></g>',+ '<g id="{{P}}Mouth/-7" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd" stroke-linecap="round" stroke-linejoin="round"><path d="M559.810774,753.60177 C566.691716,738.132743 579.421458,738.132743 598,753.60177 L598.555602,753.14234 C616.832552,738.13429 629.377094,738.287434 636.189226,753.60177 C643.001358,768.916106 630.593059,783.900851 598.96433,798.556005 L598,799 C565.659574,784.20354 552.929833,769.070796 559.810774,753.60177 Z" id="{{P}}Path" stroke="#000000" stroke-width="16" fill="#000000"></path></g>',+ '<g id="{{P}}Mouth/-8" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd" stroke-linecap="round" stroke-linejoin="round"><g id="{{P}}Group" transform="translate(518.000000, 729.000000)" stroke="#000000" stroke-width="16"><path d="M-3.69482223e-13,40.2906038 C11.1513858,37.2521964 19.1513858,34.588032 24,32.2981106 C28.8486142,30.0081891 35.9892516,25.8365332 45.4219123,19.7831427 C62.4309568,8.98264352 73.6236526,2.98203532 79,1.78131814 C84.3763474,0.580600965 91.3763474,2.51817509 100,7.59404051 C112,-1.12504304 123,-2.33602686 133,3.96108903 C143,10.2582049 145.333333,20.4304691 140,34.4778814 C145.333333,41.2593909 144.666667,48.0409003 138,54.8224097 C128,64.9946738 107,72.2605768 79,69.3542156 C66.6893996,68.0763924 52.3996983,62.8419921 34,54.8224097 C27.6667209,52.0620246 16.3333876,47.2180893 -3.69482223e-13,40.2906038 Z" id="{{P}}Path"></path><path d="M12,43 C54.2826578,36.3890991 82.9493244,32.7224324 98,32 C113.050676,31.2775676 126.050676,32.9442342 137,37" id="{{P}}Path"></path></g></g>',+ '<g id="{{P}}Mouth/-9" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd" stroke-linecap="round" stroke-linejoin="round"><path d="M532,760 C569.387146,756.771376 597.387146,753.438043 616,750 C634.612854,746.561957 658.946187,740.228624 689,731 L667,780 C644.19345,787.762145 627.19345,792.095479 616,793 C604.80655,793.904521 588.80655,792.237855 568,788 L532,760 Z" id="{{P}}Path" stroke="#000000" stroke-width="16"></path></g>',+ '<g id="{{P}}Mouth/-10" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd" stroke-linecap="round" stroke-linejoin="round"><path d="M549,759 C576.33038,765.666667 599.663714,769 619,769 C638.336286,769 655.002953,765.666667 669,759 C656.33038,792.333333 632.997047,809 599,809 C565.002953,809 548.336286,792.333333 549,759 Z" id="{{P}}Path" stroke="#000000" stroke-width="16"></path></g>',+ '<g id="{{P}}Mouth/ 11"><path id="{{P}}Path" fill-rule="evenodd" clip-rule="evenodd" d="M529 741C529 741 595 755 627 755C659 755 689 745.528 689 745.528C689 745.528 688 814 618 814C548 814 529 741 529 741Z" stroke="black" stroke-width="16" stroke-linecap="round" stroke-linejoin="round"/></g>',+ '<g id="{{P}}Mouth/ 12"><g id="{{P}}Group"><path id="{{P}}Path" fill-rule="evenodd" clip-rule="evenodd" d="M543.87 801.555C524.148 789.209 514.057 767.766 521.396 758.019C528.734 748.272 569 762.637 609 762.319C649 762 689.266 748.272 696.604 758.019C703.943 767.766 693.852 789.209 674.13 801.555C665.101 807.207 637.818 814 609.443 814C581.069 814 552.807 807.15 543.87 801.555Z" stroke="black" stroke-width="16" stroke-linecap="round" stroke-linejoin="round"/><path id="{{P}}Path_2" d="M569.322 804C569.322 804 589.161 796 609 796C628.838 796 648.677 804 648.677 804" stroke="black" stroke-width="8" stroke-linecap="round" stroke-linejoin="round"/></g></g>',+ '<g id="{{P}}Mouth/ 13"><g id="{{P}}Group"><path id="{{P}}Path" d="M528 765C528 765 599.931 769.393 623.066 764.87C646.202 760.346 687 744 687 744" stroke="black" stroke-width="16" stroke-linecap="round" stroke-linejoin="round"/><path id="{{P}}Path_2" d="M668 756C668 756 668 785.043 638.943 793.34C609.886 801.638 555 768.447 555 768.447" stroke="black" stroke-width="16" stroke-linecap="round" stroke-linejoin="round"/><path id="{{P}}Path_3" d="M505.348 782.386C505.348 782.386 499.053 772.522 503.446 759.4C507.839 746.278 519.439 740.299 519.439 740.299" stroke="black" stroke-width="6" stroke-linecap="round" stroke-linejoin="round"/><path id="{{P}}Path_4" d="M711.499 747.668C711.499 747.668 714.478 743.128 712.342 737.053C710.205 730.977 704.647 728.182 704.647 728.182" stroke="black" stroke-width="6" stroke-linecap="round" stroke-linejoin="round"/></g></g>',+ '<g id="{{P}}Mouth/ 14"><g id="{{P}}Group"><path id="{{P}}Path" fill-rule="evenodd" clip-rule="evenodd" d="M555.87 801.555C536.147 789.209 521.396 768.019 521.396 768.019C521.396 768.019 569 757.637 609 757.319C649 757 696.604 768.019 696.604 768.019C696.604 768.019 681.852 789.209 662.129 801.555C653.101 807.207 625 810 609.443 810C593.886 810 564.806 807.15 555.87 801.555Z" stroke="black" stroke-width="16" stroke-linecap="round" stroke-linejoin="round"/><path id="{{P}}Path_2" d="M569.322 801C569.322 801 589.161 793 609 793C628.838 793 648.677 801 648.677 801" stroke="black" stroke-width="8" stroke-linecap="round" stroke-linejoin="round"/></g></g>',+ '<g id="{{P}}Mouth/ 15"><g id="{{P}}Group"><path id="{{P}}Path" d="M505.348 782.386C505.348 782.386 499.053 772.522 503.446 759.4C507.839 746.278 519.439 740.299 519.439 740.299" stroke="black" stroke-width="6" stroke-linecap="round" stroke-linejoin="round"/><path id="{{P}}Path_2" fill-rule="evenodd" clip-rule="evenodd" d="M545.613 766.395L615.22 752.181L643.717 751.83L664.424 746.139L688.54 748.846C688.54 748.846 671.891 755.298 639.869 759.23C607.847 763.161 545.613 766.395 545.613 766.395Z" stroke="black" stroke-width="12" stroke-linecap="round" stroke-linejoin="round"/><path id="{{P}}Path_3" d="M611 803C611 803 626.338 804.035 634 803C641.662 801.965 648 798 648 798" stroke="black" stroke-width="6" stroke-linecap="round" stroke-linejoin="round"/></g></g>',+ '<g id="{{P}}Mouth/ 16"><g id="{{P}}Group"><path id="{{P}}Path" fill-rule="evenodd" clip-rule="evenodd" d="M524 757.432C524 757.432 561.725 758.244 581 755.644C600.275 753.044 621.352 744.187 630 743.134C638.648 742.08 646 747.602 648 747.602C650 747.602 655 742.24 665 743.134C675 744.027 695 757.432 695 757.432C695 757.432 672 764.58 636 764.58C569 767.261 524 757.432 524 757.432Z" stroke="black" stroke-width="8" stroke-linecap="round" stroke-linejoin="round"/><path id="{{P}}Path_2" fill-rule="evenodd" clip-rule="evenodd" d="M682 761.562C682 761.562 673.163 776.225 664.692 780.862C656.22 785.5 646.288 782.319 639 782.319C631.712 782.319 617.863 787.504 598.192 782.241C578.52 776.979 549 760.872 549 760.872C549 760.872 589.994 764.727 617.322 765.008C644.65 765.29 682 761.562 682 761.562Z" stroke="black" stroke-width="8" stroke-linecap="round" stroke-linejoin="round"/></g></g>',+ '<g id="{{P}}Mouth/ 17"><g id="{{P}}Group"><path id="{{P}}Path" fill-rule="evenodd" clip-rule="evenodd" d="M696 748.043C696 748.043 652.693 751.692 624.619 750.391C596.544 749.09 544 741 544 741C544 741 567.514 813 621.26 813C650.652 813 664.489 801.44 679.204 779.348C685.215 770.324 696 748.043 696 748.043Z" stroke="black" stroke-width="12" stroke-linecap="round" stroke-linejoin="round"/><path id="{{P}}Path_2" d="M708 745.444C708 745.444 660.212 753.222 622.485 750.111C584.758 747 542 740 542 740" stroke="black" stroke-width="12" stroke-linecap="round" stroke-linejoin="round"/><path id="{{P}}Path_3" d="M537 745C537 745 539.438 740.385 542.688 738.077C545.938 735.769 550 735 550 735" stroke="black" stroke-width="12" stroke-linecap="round" stroke-linejoin="round"/><path id="{{P}}Path_4" d="M569 788C569 788 588.349 777 625.365 777C662.381 777 675 786.429 675 786.429" stroke="black" stroke-width="12" stroke-linecap="round" stroke-linejoin="round"/></g></g>',+ '<g id="{{P}}Mouth/ 18"><g id="{{P}}Group"><path id="{{P}}Path" fill-rule="evenodd" clip-rule="evenodd" d="M557 770.275C557 770.275 585.239 770.788 599.667 769.145C614.094 767.502 629.872 761.905 636.345 761.24C642.818 760.574 648.322 764.063 649.819 764.063C651.316 764.063 655.058 760.675 662.544 761.24C670.029 761.804 685 770.275 685 770.275C685 770.275 667.784 774.792 640.836 774.792C590.684 776.486 557 770.275 557 770.275Z" stroke="black" stroke-width="8" stroke-linecap="round" stroke-linejoin="round"/><path id="{{P}}Path_2" d="M682 771C682 771 675.538 776.607 672 779C666.765 782.54 661.978 785.894 651 786C642.504 786.082 624.027 780.984 613 779C600.148 776.688 563 771 563 771" stroke="black" stroke-width="8" stroke-linecap="round" stroke-linejoin="round"/></g></g>',+ '<g id="{{P}}Mouth/ 19"><g id="{{P}}Group"><path id="{{P}}Path" fill-rule="evenodd" clip-rule="evenodd" d="M545 766.788C545 766.788 575.886 767.669 591.667 764.852C607.447 762.036 624.704 752.441 631.784 751.3C638.863 750.158 644.883 756.14 646.52 756.14C648.158 756.14 652.251 750.332 660.439 751.3C668.626 752.268 685 766.788 685 766.788C685 766.788 666.17 774.533 636.696 774.533C581.842 777.437 545 766.788 545 766.788Z" stroke="black" stroke-width="12" stroke-linecap="round" stroke-linejoin="round"/><path id="{{P}}Path_2" d="M681 770C681 770 666 802 637 802C608 802 555 768 555 768L527 765" stroke="black" stroke-width="12" stroke-linecap="round" stroke-linejoin="round"/></g></g>',+ ],+ eyes: [+ '<g id="{{P}}Eyes/-0" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd"><path d="M570,516 C583.254834,516 594,526.745166 594,540 C594,553.254834 583.254834,564 570,564 C556.745166,564 546,553.254834 546,540 C546,526.745166 556.745166,516 570,516 Z M708,516 C721.254834,516 732,526.745166 732,540 C732,553.254834 721.254834,564 708,564 C694.745166,564 684,553.254834 684,540 C684,526.745166 694.745166,516 708,516 Z" id="{{P}}Combined-Shape" fill="#000000"></path></g>',+ '<g id="{{P}}Eyes/-1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd"><g id="{{P}}Group" transform="translate(546.000000, 509.000000)"><path d="M24,7 C37.254834,7 48,17.745166 48,31 C48,44.254834 37.254834,55 24,55 C10.745166,55 0,44.254834 0,31 C0,17.745166 10.745166,7 24,7 Z M162,7 C175.254834,7 186,17.745166 186,31 C186,44.254834 175.254834,55 162,55 C148.745166,55 138,44.254834 138,31 C138,17.745166 148.745166,7 162,7 Z" id="{{P}}Combined-Shape" fill="#000000"></path><g id="{{P}}Path" stroke="#000000" stroke-linecap="round" stroke-linejoin="round" stroke-width="4"><path d="M0,7 C8,2.33333333 16,0 24,0 C32,0 40,2.33333333 48,7"></path><path d="M138,7 C146,2.33333333 154,0 162,0 C170,0 178,2.33333333 186,7"></path></g></g></g>',+ '<g id="{{P}}Eyes/-2" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd"><path d="M570,516 C587.673112,516 602,530.326888 602,548 C602,565.673112 587.673112,580 570,580 C552.326888,580 538,565.673112 538,548 C538,530.326888 552.326888,516 570,516 Z M708,516 C725.673112,516 740,530.326888 740,548 C740,565.673112 725.673112,580 708,580 C690.326888,580 676,565.673112 676,548 C676,530.326888 690.326888,516 708,516 Z" id="{{P}}Combined-Shape" fill="#000000"></path></g>',+ '<g id="{{P}}Eyes/-3" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd" stroke-linecap="round" stroke-linejoin="round"><g id="{{P}}Group" transform="translate(533.944954, 540.730159)" stroke="#000000" stroke-width="12"><path d="M146.275229,-1.43884904e-13 C159.958467,9.35202544 170.38232,14.8216846 177.546789,16.4089776 C184.711258,17.9962705 196.232359,17.3885306 212.110092,14.5857578" id="{{P}}Path" transform="translate(179.192661, 8.634921) scale(-1, 1) translate(-179.192661, -8.634921) "></path><path d="M6.39488462e-14,-1.43884904e-13 C13.6832373,9.35202544 24.1070905,14.8216846 31.2715596,16.4089776 C38.4360288,17.9962705 49.9571297,17.3885306 65.8348624,14.5857578" id="{{P}}Path"></path></g></g>',+ '<g id="{{P}}Eyes/-4" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd"><path d="M570,516 C583.254834,516 594,526.745166 594,540 C594,553.254834 583.254834,564 570,564 C556.745166,564 546,553.254834 546,540 C546,526.745166 556.745166,516 570,516 Z M708,516 C721.254834,516 732,526.745166 732,540 C732,553.254834 721.254834,564 708,564 C694.745166,564 684,553.254834 684,540 C684,526.745166 694.745166,516 708,516 Z M562,526 C558.686292,526 556,528.686292 556,532 C556,535.313708 558.686292,538 562,538 C565.313708,538 568,535.313708 568,532 C568,528.686292 565.313708,526 562,526 Z M700,526 C696.686292,526 694,528.686292 694,532 C694,535.313708 696.686292,538 700,538 C703.313708,538 706,535.313708 706,532 C706,528.686292 703.313708,526 700,526 Z" id="{{P}}Combined-Shape" fill="#000000"></path></g>',+ '<g id="{{P}}Eyes/-5" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd"><g id="{{P}}Group" transform="translate(538.000000, 507.000000)"><g transform="translate(138.000000, 0.000000)"><circle id="{{P}}Oval" stroke="#000000" stroke-width="12" stroke-linecap="round" stroke-linejoin="round" cx="32" cy="32" r="32"></circle><path d="M4,18 C13.3333333,20.6666667 22.6666667,22 32,22 C41.3333333,22 50.6666667,20.6666667 60,18" id="{{P}}Path" stroke="#000000" stroke-width="12" stroke-linecap="round" stroke-linejoin="round"></path><circle id="{{P}}Oval" fill="#000000" cx="32" cy="28" r="10"></circle></g><g transform="translate(0.000000, 1.000000)"><circle id="{{P}}Oval" stroke="#000000" stroke-width="12" stroke-linecap="round" stroke-linejoin="round" cx="32" cy="32" r="32"></circle><path d="M4,18 C13.3333333,20.6666667 22.6666667,22 32,22 C41.3333333,22 50.6666667,20.6666667 60,18" id="{{P}}Path" stroke="#000000" stroke-width="12" stroke-linecap="round" stroke-linejoin="round"></path><circle id="{{P}}Oval" fill="#000000" cx="32" cy="28" r="10"></circle></g></g></g>',+ '<g id="{{P}}Eyes/-6" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd"><g id="{{P}}Group" transform="translate(518.000000, 518.575690)"><circle id="{{P}}Oval" fill="#000000" cx="48.2285714" cy="20" r="20"></circle><path d="M0,22.4243101 C16,9.09097677 32,2.42431011 48,2.42431011 C64,2.42431011 80,9.09097677 96,22.4243101" id="{{P}}Path" stroke="#000000" stroke-width="12" stroke-linecap="round" stroke-linejoin="round"></path><circle id="{{P}}Oval" fill="#000000" transform="translate(193.771429, 20.000000) scale(-1, 1) translate(-193.771429, -20.000000) " cx="193.771429" cy="20" r="20"></circle><path d="M146,22.4243101 C162,9.09097677 178,2.42431011 194,2.42431011 C210,2.42431011 226,9.09097677 242,22.4243101" id="{{P}}Path" stroke="#000000" stroke-width="12" stroke-linecap="round" stroke-linejoin="round" transform="translate(194.000000, 12.424310) scale(-1, 1) translate(-194.000000, -12.424310) "></path></g></g>',+ '<g id="{{P}}Eyes/-7" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd"><path d="M570,516 C578.836556,516 586,526.745166 586,540 C586,553.254834 578.836556,564 570,564 C561.163444,564 554,553.254834 554,540 C554,526.745166 561.163444,516 570,516 Z M708,516 C716.836556,516 724,526.745166 724,540 C724,553.254834 716.836556,564 708,564 C699.163444,564 692,553.254834 692,540 C692,526.745166 699.163444,516 708,516 Z M568,527 C564.686292,527 562,529.686292 562,533 C562,536.313708 564.686292,539 568,539 C571.313708,539 574,536.313708 574,533 C574,529.686292 571.313708,527 568,527 Z M706,527 C702.686292,527 700,529.686292 700,533 C700,536.313708 702.686292,539 706,539 C709.313708,539 712,536.313708 712,533 C712,529.686292 709.313708,527 706,527 Z" id="{{P}}Combined-Shape" fill="#000000"></path></g>',+ '<g id="{{P}}Eyes/-8" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd"><path d="M570,516 C578.836556,516 586,526.745166 586,540 C586,553.254834 578.836556,564 570,564 C561.163444,564 554,553.254834 554,540 C554,526.745166 561.163444,516 570,516 Z M708,516 C716.836556,516 724,526.745166 724,540 C724,553.254834 716.836556,564 708,564 C699.163444,564 692,553.254834 692,540 C692,526.745166 699.163444,516 708,516 Z" id="{{P}}Combined-Shape" fill="#000000"></path></g>',+ '<g id="{{P}}Eyes/-9" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd"><path d="M570,507 C575.854822,507 581.122051,511.025253 584.779642,517.440484 L578,531 L589.369946,531.000208 C589.781247,533.557105 590,536.237678 590,539 C590,556.673112 581.045695,571 570,571 C558.954305,571 550,556.673112 550,539 C550,521.326888 558.954305,507 570,507 Z M708,507 C713.854822,507 719.122051,511.025253 722.779642,517.440484 L716,531 L727.369946,531.000208 C727.781247,533.557105 728,536.237678 728,539 C728,556.673112 719.045695,571 708,571 C696.954305,571 688,556.673112 688,539 C688,521.326888 696.954305,507 708,507 Z" id="{{P}}Combined-Shape" fill="#000000"></path></g>',+ '<g id="{{P}}Eyes/-10" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd"><g id="{{P}}Group" transform="translate(520.000000, 512.000000)"><g transform="translate(140.000000, 0.000000)"><circle id="{{P}}Oval" fill="#000000" cx="52" cy="28" r="24"></circle><path d="M1,16 C24.2727273,8 41.7272727,4 53.3636364,4 C65,4 79.5454545,8 97,16" id="{{P}}Path" stroke="#000000" stroke-width="12" stroke-linecap="round" stroke-linejoin="round" transform="translate(49.000000, 10.000000) rotate(-4.000000) translate(-49.000000, -10.000000) "></path></g><g><circle id="{{P}}Oval" fill="#000000" transform="translate(46.000000, 28.000000) scale(-1, 1) translate(-46.000000, -28.000000) " cx="46" cy="28" r="24"></circle><path d="M1,16 C24.2727273,8 41.7272727,4 53.3636364,4 C65,4 79.5454545,8 97,16" id="{{P}}Path" stroke="#000000" stroke-width="12" stroke-linecap="round" stroke-linejoin="round" transform="translate(49.000000, 10.000000) scale(-1, 1) rotate(-4.000000) translate(-49.000000, -10.000000) "></path></g></g></g>',+ '<g id="{{P}}Eyes/ 11"><g id="{{P}}Group 3"><path id="{{P}}Path" d="M660 536.5C660 536.5 668.471 533 679.765 533C691.059 533 702.811 538 723.059 538C743.306 538 756 533 756 533" stroke="black" stroke-width="12" stroke-linecap="round" stroke-linejoin="round"/><path id="{{P}}Path_2" d="M618 536.5C618 536.5 609.529 533 598.235 533C586.941 533 575.189 538 554.941 538C534.694 538 522 533 522 533" stroke="black" stroke-width="12" stroke-linecap="round" stroke-linejoin="round"/></g></g>',+ '<g id="{{P}}Eyes/ 12"><g id="{{P}}Group 2"><path id="{{P}}Path" fill-rule="evenodd" clip-rule="evenodd" d="M534 528.156C534 528.156 562.569 554.438 586.169 549.907C609.769 545.375 599.832 520 599.832 520C599.832 520 614.738 546.282 593.622 554.438C572.506 562.595 534 528.156 534 528.156Z" fill="black" stroke="black" stroke-width="6" stroke-linecap="round" stroke-linejoin="round"/><path id="{{P}}Path_2" fill-rule="evenodd" clip-rule="evenodd" d="M672 528.156C672 528.156 700.569 554.438 724.169 549.907C747.769 545.375 737.832 520 737.832 520C737.832 520 752.738 546.282 731.622 554.438C710.506 562.595 672 528.156 672 528.156Z" fill="black" stroke="black" stroke-width="6" stroke-linecap="round" stroke-linejoin="round"/></g></g>',+ '<g id="{{P}}Eyes/ 13"><g id="{{P}}Group 1"><g id="{{P}}Group"><path id="{{P}}Path" fill-rule="evenodd" clip-rule="evenodd" d="M534 524.531C534 524.531 562.569 539.132 586.169 536.615C609.769 534.097 599.832 520 599.832 520C599.832 520 614.738 534.601 593.622 539.132C572.506 543.664 534 524.531 534 524.531Z" fill="black" stroke="black" stroke-width="6" stroke-linecap="round" stroke-linejoin="round"/><path id="{{P}}Path_2" d="M540 529L536 537" stroke="black" stroke-width="4" stroke-linecap="round" stroke-linejoin="round"/><path id="{{P}}Path_3" d="M554 534L551 543" stroke="black" stroke-width="4" stroke-linecap="round" stroke-linejoin="round"/><path id="{{P}}Path_4" d="M568 537L566 547" stroke="black" stroke-width="4" stroke-linecap="round" stroke-linejoin="round"/><path id="{{P}}Path_5" d="M582 539L581 549" stroke="black" stroke-width="4" stroke-linecap="round" stroke-linejoin="round"/><path id="{{P}}Path_6" d="M594 538L596 547" stroke="black" stroke-width="4" stroke-linecap="round" stroke-linejoin="round"/><path id="{{P}}Path_7" d="M604 534L608 540" stroke="black" stroke-width="4" stroke-linecap="round" stroke-linejoin="round"/></g><g id="{{P}}Group_2"><path id="{{P}}Path_8" fill-rule="evenodd" clip-rule="evenodd" d="M672 524.531C672 524.531 700.569 539.132 724.169 536.615C747.769 534.097 737.832 520 737.832 520C737.832 520 752.738 534.601 731.622 539.132C710.506 543.664 672 524.531 672 524.531Z" fill="black" stroke="black" stroke-width="6" stroke-linecap="round" stroke-linejoin="round"/><path id="{{P}}Path_9" d="M678 529L674 537" stroke="black" stroke-width="4" stroke-linecap="round" stroke-linejoin="round"/><path id="{{P}}Path_10" d="M692 534L689 543" stroke="black" stroke-width="4" stroke-linecap="round" stroke-linejoin="round"/><path id="{{P}}Path_11" d="M706 537L704 547" stroke="black" stroke-width="4" stroke-linecap="round" stroke-linejoin="round"/><path id="{{P}}Path_12" d="M720 539L719 549" stroke="black" stroke-width="4" stroke-linecap="round" stroke-linejoin="round"/><path id="{{P}}Path_13" d="M732 538L734 547" stroke="black" stroke-width="4" stroke-linecap="round" stroke-linejoin="round"/><path id="{{P}}Path_14" d="M742 534L746 540" stroke="black" stroke-width="4" stroke-linecap="round" stroke-linejoin="round"/></g></g></g>',+ ],+ eyebrows: [+ '<g id="{{P}}Eyebrows/-0" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd" stroke-linecap="round" stroke-linejoin="round"><g id="{{P}}Group" transform="translate(525.000000, 492.000000)" stroke="#000000" stroke-width="16"><path d="M0,16 C12.8888889,5.33333333 27.8888889,0 45,0 C62.1111111,0 77.1111111,5.33333333 90,16" id="{{P}}Path"></path><path d="M138,16 C150.888889,5.33333333 165.888889,0 183,0 C200.111111,0 215.111111,5.33333333 228,16" id="{{P}}Path"></path></g></g>',+ '<g id="{{P}}Eyebrows/-1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd" stroke-linecap="square" stroke-linejoin="round"><g id="{{P}}Group" transform="translate(521.000000, 490.000000)" stroke="#000000" stroke-width="20"><path d="M0,16 C12.8888889,5.33333333 27.8888889,0 45,0 C62.1111111,0 77.1111111,5.33333333 90,16" id="{{P}}Path"></path><path d="M146,16 C158.888889,5.33333333 173.888889,0 191,0 C208.111111,0 223.111111,5.33333333 236,16" id="{{P}}Path"></path></g></g>',+ '<g id="{{P}}Eyebrows/-2" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd" stroke-linecap="round" stroke-linejoin="round"><path d="M570,485.718496 C590.574398,488.795594 605.574398,494.964927 615,504.226493 C600,498.618009 585,495.813767 570,495.813767 C555,495.813767 536.666667,498.618009 515,504.226493 L525,490.766132 C534.425602,484.323943 549.425602,482.641398 570,485.718496 Z M708,485.718496 C728.574398,482.641398 743.574398,484.323943 753,490.766132 L753,490.766132 L763,504.226493 C741.333333,498.618009 723,495.813767 708,495.813767 C693,495.813767 678,498.618009 663,504.226493 C672.425602,494.964927 687.425602,488.795594 708,485.718496 Z" id="{{P}}Combined-Shape" stroke="#000000" stroke-width="16" fill="#000000"></path></g>',+ '<g id="{{P}}Eyebrows/-3" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd" stroke-linecap="round" stroke-linejoin="round"><g id="{{P}}Group" transform="translate(512.000000, 484.000000)" stroke="#000000" stroke-width="24"><path d="M152,14.0251712 C167.712271,3.95186377 182.349308,-0.695225271 195.911111,0.0839040908 C206.159229,0.672661315 219.876442,6.74452014 237.511111,14.0251712 C241.312508,15.5946162 247.475471,17.5862258 256,20" id="{{P}}Path" transform="translate(204.000000, 10.000000) scale(-1, 1) translate(-204.000000, -10.000000) "></path><path d="M0,14.0251712 C15.7122706,3.95186377 30.3493076,-0.695225271 43.9111111,0.0839040908 C54.1592293,0.672661315 67.8764421,6.74452014 85.5111111,14.0251712 C89.3125078,15.5946162 95.4754707,17.5862258 104,20" id="{{P}}Path"></path></g></g>',+ '<g id="{{P}}Eyebrows/-4" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd" stroke-linecap="round" stroke-linejoin="round"><g id="{{P}}Group" transform="translate(525.000000, 504.000000)" stroke="#000000" stroke-width="12"><path d="M0,12 C12.8888889,4 27.8888889,0 45,0 C62.1111111,0 77.1111111,4 90,12" id="{{P}}Path"></path><path d="M138,12 C150.888889,4 165.888889,0 183,0 C200.111111,0 215.111111,4 228,12" id="{{P}}Path"></path></g></g>',+ '<g id="{{P}}Eyebrows/-5" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd" stroke-linecap="round" stroke-linejoin="round"><g id="{{P}}Group" transform="translate(517.000000, 471.000000)" stroke="#000000" stroke-width="24"><line x1="1" y1="27.4172651" x2="76.8548788" y2="2" id="{{P}}Path" transform="translate(38.927439, 14.708633) rotate(2.524843) translate(-38.927439, -14.708633) "></line><line x1="166" y1="27.4172651" x2="241.854879" y2="2" id="{{P}}Path" transform="translate(203.927439, 14.708633) scale(-1, 1) rotate(2.524843) translate(-203.927439, -14.708633) "></line></g></g>',+ '<g id="{{P}}Eyebrows/-6" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd" stroke-linecap="round" stroke-linejoin="round"><path d="M620,495.140162 C589.850248,491.823271 565.234864,491.823271 546.153846,495.140162 C527.072829,498.457053 511.688213,505.410333 500,516 C517.257672,497.488903 532.642287,487.058984 546.153846,484.710243 C559.665405,482.361502 584.280789,485.838142 620,495.140162 Z M658,495.140162 C693.719211,485.838142 718.334595,482.361502 731.846154,484.710243 C745.357713,487.058984 760.742328,497.488903 778,516 C766.311787,505.410333 750.927171,498.457053 731.846154,495.140162 C712.765136,491.823271 688.149752,491.823271 658,495.140162 Z" id="{{P}}Combined-Shape" stroke="#000000" stroke-width="8" fill="#000000"></path></g>',+ '<g id="{{P}}Eyebrows/-7" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd" stroke-linecap="round" stroke-linejoin="round"><g id="{{P}}Group" transform="translate(528.000000, 485.000000)" stroke="#000000" stroke-width="16"><path d="M2,31 C13.6420073,23.1142473 23.8820073,17.5142473 32.72,14.2 C41.5579927,10.8857527 52.651326,8.48575274 66,7" id="{{P}}Path" transform="translate(34.000000, 19.000000) rotate(12.000000) translate(-34.000000, -19.000000) "></path><path d="M156,31 C167.642007,23.1142473 177.882007,17.5142473 186.72,14.2 C195.557993,10.8857527 206.651326,8.48575274 220,7" id="{{P}}Path" transform="translate(188.000000, 19.000000) scale(-1, 1) rotate(12.000000) translate(-188.000000, -19.000000) "></path></g></g>',+ '<g id="{{P}}Eyebrows/-8" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd" stroke-linecap="round" stroke-linejoin="round"><g id="{{P}}Group" transform="translate(530.000000, 490.000000)" stroke="#000000" stroke-width="16"><path d="M64,10 C59.1947065,3.33333333 51.1947065,0 40,0 C28.8052935,0 15.4719602,3.33333333 0,10" id="{{P}}Path"></path><path d="M218,10 C213.194706,3.33333333 205.194706,0 194,0 C182.805294,0 169.47196,3.33333333 154,10" id="{{P}}Path" transform="translate(186.000000, 5.000000) scale(-1, 1) translate(-186.000000, -5.000000) "></path></g></g>',+ '<g id="{{P}}Eyebrows/-9" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd" stroke-linecap="round" stroke-linejoin="round"><g id="{{P}}Group" transform="translate(502.000000, 462.000000)" stroke="#000000" stroke-width="24"><path d="M0,0 C0,0 23.2233275,2.61265093 76,22 C79.9624314,23.4555871 87.2957648,28.1222537 98,36" id="{{P}}Path"></path><path d="M176,0 C176,0 199.223328,2.61265093 252,22 C255.962431,23.4555871 263.295765,28.1222537 274,36" id="{{P}}Path" transform="translate(225.000000, 18.000000) scale(-1, 1) translate(-225.000000, -18.000000) "></path></g></g>',+ '<g id="{{P}}Eyebrows/-10" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd" stroke-linecap="round" stroke-linejoin="round"><path d="M757,487.2 C757,494.4 735.666667,494.4 717,494.4 C698.333333,494.4 661,498 661,494.4 C661,490.8 694.986112,480 717,480 L720.27013,480.0009 C740.767534,480.018 757,480.36 757,487.2 Z M561,480 C583.013888,480 617,490.8 617,494.4 C617,498 579.666667,494.4 561,494.4 C542.333333,494.4 521,494.4 521,487.2 C521,480.36 537.232466,480.018 557.72987,480.0009 Z" id="{{P}}Combined-Shape" stroke="#000000" stroke-width="16" fill="#000000"></path></g>',+ '<g id="{{P}}Eyebrows/ 11"><g id="{{P}}Group"><path id="{{P}}Path" fill-rule="evenodd" clip-rule="evenodd" d="M682.541 491.005C682.541 491.005 728.644 489.216 741.813 495.149C754.982 501.082 753.21 511.484 753.21 511.484C753.21 511.484 746.419 503.992 737.34 499.348C728.26 494.703 682.541 491.005 682.541 491.005Z" fill="black" stroke="black" stroke-width="8" stroke-linecap="round" stroke-linejoin="round"/><path id="{{P}}Path_2" fill-rule="evenodd" clip-rule="evenodd" d="M595.459 491.005C595.459 491.005 549.356 489.216 536.187 495.149C523.018 501.082 524.79 511.484 524.79 511.484C524.79 511.484 531.581 503.992 540.66 499.348C549.74 494.703 595.459 491.005 595.459 491.005Z" fill="black" stroke="black" stroke-width="8" stroke-linecap="round" stroke-linejoin="round"/></g></g>',+ '<g id="{{P}}Eyebrows/ 12"><g id="{{P}}Group"><path id="{{P}}Path" fill-rule="evenodd" clip-rule="evenodd" d="M681 505.316C681 505.316 698.641 492.863 706.392 490.578C714.144 488.294 738 489.316 738 489.316L755 494.913C755 494.913 730.25 494.897 716.549 497.08C702.848 499.263 681 505.316 681 505.316Z" fill="black" stroke="black" stroke-width="8" stroke-linecap="round" stroke-linejoin="round"/><path id="{{P}}Path_2" fill-rule="evenodd" clip-rule="evenodd" d="M597 505.316C597 505.316 579.359 492.863 571.608 490.578C563.856 488.294 540 489.316 540 489.316L523 494.913C523 494.913 547.75 494.897 561.451 497.08C575.152 499.263 597 505.316 597 505.316Z" fill="black" stroke="black" stroke-width="8" stroke-linecap="round" stroke-linejoin="round"/></g></g>',+ '<g id="{{P}}Eyebrows/ 13"><g id="{{P}}Group"><path id="{{P}}Path" fill-rule="evenodd" clip-rule="evenodd" d="M662.391 482.335C665.391 477.335 722.391 459.335 742.391 462.335C762.391 465.335 791.391 491.335 791.391 491.335C791.391 491.335 764.391 480.335 739.391 480.335C714.391 480.335 679.391 498.335 679.391 498.335C679.391 498.335 659.391 487.335 662.391 482.335Z" fill="black" stroke="black" stroke-width="4" stroke-linecap="round" stroke-linejoin="round"/><path id="{{P}}Path_2" fill-rule="evenodd" clip-rule="evenodd" d="M615 482.335C612 477.335 555 459.335 535 462.335C515 465.335 486 491.335 486 491.335C486 491.335 513 480.335 538 480.335C563 480.335 598 498.335 598 498.335C598 498.335 618 487.335 615 482.335Z" fill="black" stroke="black" stroke-width="4" stroke-linecap="round" stroke-linejoin="round"/></g></g>',+ '<g id="{{P}}Eyebrows/ 14"><g id="{{P}}Group"><path id="{{P}}Path" fill-rule="evenodd" clip-rule="evenodd" d="M662.91 475.625C666.416 470.966 683.95 466.776 703.527 471.85C723.104 476.924 790.263 498.06 790.263 498.06C790.263 498.06 759.746 491.836 734.883 489.223C710.02 486.61 669.579 489.023 669.579 489.023C669.579 489.023 659.404 480.284 662.91 475.625Z" fill="black" stroke="black" stroke-width="4" stroke-linecap="round" stroke-linejoin="round"/><path id="{{P}}Path_2" fill-rule="evenodd" clip-rule="evenodd" d="M614.481 475.625C610.974 470.966 593.44 466.776 573.864 471.85C554.287 476.924 487.128 498.06 487.128 498.06C487.128 498.06 517.645 491.836 542.508 489.223C567.371 486.61 607.812 489.023 607.812 489.023C607.812 489.023 617.987 480.284 614.481 475.625Z" fill="black" stroke="black" stroke-width="4" stroke-linecap="round" stroke-linejoin="round"/></g></g>',+ '<g id="{{P}}Eyebrows/ 15"><g id="{{P}}Group"><path id="{{P}}Path" fill-rule="evenodd" clip-rule="evenodd" d="M622.289 506.124C622.289 506.124 622.95 493.517 619.376 491.698C615.802 489.88 558.683 477.099 542.118 478.134C525.552 479.169 502.752 494.15 502.752 494.15C502.752 494.15 526.26 485.069 547.179 487.167C568.098 489.265 622.289 506.124 622.289 506.124Z" fill="black" stroke="black" stroke-width="4" stroke-linecap="round" stroke-linejoin="round"/><path id="{{P}}Path_2" fill-rule="evenodd" clip-rule="evenodd" d="M654.711 506.124C654.711 506.124 654.05 493.517 657.624 491.698C661.198 489.88 718.317 477.099 734.882 478.134C751.448 479.169 774.248 494.15 774.248 494.15C774.248 494.15 750.74 485.069 729.821 487.167C708.902 489.265 654.711 506.124 654.711 506.124Z" fill="black" stroke="black" stroke-width="4" stroke-linecap="round" stroke-linejoin="round"/></g></g>',+ ],+ glasses: [+ '<g id="{{P}}Glasses/-0" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd"></g>',+ '<g id="{{P}}Glasses/-1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd" stroke-linecap="round" stroke-linejoin="round"><g id="{{P}}Group" transform="translate(293.311103, 479.000000)" stroke="#000000" stroke-width="16"><circle id="{{P}}Oval" cx="272.688897" cy="60" r="60"></circle><circle id="{{P}}Oval" cx="416.688897" cy="60" r="60"></circle><path d="M368.688897,13 C360.688897,7.66666667 352.688897,5 344.688897,5 C336.688897,5 328.688897,7.66666667 320.688897,13" id="{{P}}Path"></path><line x1="216.688897" y1="36" x2="1" y2="79.3393577" id="{{P}}Path" transform="translate(108.844448, 57.669679) rotate(1.361411) translate(-108.844448, -57.669679) "></line></g></g>',+ '<g id="{{P}}Glasses/-2" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd" stroke-linecap="round" stroke-linejoin="round"><path d="M574.189838,502.353993 C586.612079,503.247679 601.018598,506.362134 617.409394,511.697357 C622.107339,513.226543 629.521032,514.112461 639.650474,514.355109 L640.336909,514.337568 C650.115498,514.071859 657.30038,513.191789 661.891553,511.697357 C678.282349,506.362134 692.688868,503.247679 705.11111,502.353993 C722.696433,501.088862 751.030506,503.214809 790.113329,508.731836 L791.300947,508.900056 L791.300947,529.629258 C786.297933,531.828279 783.752241,534.010301 783.663873,536.175322 C781.481852,589.634841 763.639862,606 723.65829,606 C685.15235,606 666.860184,585.095985 650.56058,541.630375 C648.424017,535.932875 644.892754,533.024776 639.966791,532.906078 L639.650474,532.90229 C634.559091,532.90229 630.922389,535.811651 628.740368,541.630375 C612.440763,585.095985 594.148598,606 555.642657,606 C515.661085,606 497.819095,589.634841 495.637074,536.175322 C495.548712,534.010446 493.003357,531.828573 488.00101,529.629702 L488,530 L289,550 L293,541 L487.999,509 L488,508.900056 C527.696939,503.258104 556.426885,501.076083 574.189838,502.353993 Z M564.611618,508.971486 C532.97231,506.789465 518.789172,513.335528 512.243109,520.972603 C505.697045,528.609677 493.695928,595.161324 551.51949,598.434355 C609.343052,601.707387 614.798105,534.06473 611.525073,526.427656 C608.252042,518.790581 596.250925,511.153507 564.611618,508.971486 Z M714.580942,508.971486 C682.941634,511.153507 670.940518,518.790581 667.667486,526.427656 C664.394454,534.06473 669.849507,601.707387 727.673069,598.434355 C785.496631,595.161324 773.495514,528.609677 766.949451,520.972603 C760.403387,513.335528 746.220249,506.789465 714.580942,508.971486 Z" id="{{P}}Combined-Shape" stroke="#000000" stroke-width="4" fill="#000000"></path></g>',+ '<g id="{{P}}Glasses/-3" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd" stroke-linecap="round" stroke-linejoin="round"><g id="{{P}}Group" transform="translate(293.000000, 488.000000)" stroke="#000000" stroke-width="8"><path d="M197.493245,10.4280671 C174.636102,27.3582996 188.604356,103.544346 244.477372,103.544346 C300.350388,103.544346 337.149222,42.6997481 325.747213,20.1024857 C314.345204,-2.49477675 220.350388,-6.50216547 197.493245,10.4280671 Z" id="{{P}}Path"></path><path d="M376.540864,10.4280671 C353.683721,27.3582996 367.651975,103.544346 423.524991,103.544346 C479.398007,103.544346 516.196841,42.6997481 504.794832,20.1024857 C493.392823,-2.49477675 399.398007,-6.50216547 376.540864,10.4280671 Z" id="{{P}}Path" transform="translate(436.458153, 51.772173) scale(-1, 1) translate(-436.458153, -51.772173) "></path><line x1="301.285714" y1="5.44186047" x2="392.714286" y2="5.44186047" id="{{P}}Path"></line><line x1="326.68254" y1="21.1627907" x2="367.31746" y2="21.1627907" id="{{P}}Path"></line><line x1="186.554557" y1="30.8015819" x2="1.25992802" y2="69.9860126" id="{{P}}Path" transform="translate(94.259928, 50.646655) rotate(1.361411) translate(-94.259928, -50.646655) "></line></g></g>',+ '<g id="{{P}}Glasses/-4" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd" stroke-linecap="round" stroke-linejoin="round"><g id="{{P}}Group" transform="translate(289.000000, 479.000000)" fill="#000000" stroke="#000000" stroke-width="4"><path d="M229.149255,4.2334278 C247.672154,8.12981325 283.261021,21.6236388 324.690343,35.0615291 L325.464481,35.3078466 C331.11768,37.0729902 339.032765,38.8353007 349.209737,40.594778 L349.209737,57.984989 C344.161954,60.5093754 341.061801,62.8807678 339.909277,65.0991662 C325.535839,92.7654109 298.479956,110.946086 257.050634,101.460516 C200.767297,88.5740028 181.801459,20.8331746 180.110466,9.76667675 C178.419474,-1.29982114 196.205221,-2.69651627 229.149255,4.2334278 Z M519.889534,9.76667675 C518.198541,20.8331746 499.232703,88.5740028 442.949366,101.460516 C401.520044,110.946086 374.464161,92.7654109 360.090723,65.0991662 C358.969348,62.9407245 356.004199,60.637447 351.195275,58.1893337 L350.790263,57.984989 L350.790263,40.594778 L352.195626,40.3492512 C362.16219,38.5895103 369.866867,36.8269363 375.309657,35.0615291 L377.788318,34.2552658 C418.155707,21.0877247 452.698304,8.05188555 470.850745,4.2334278 L472.809163,3.82763387 C504.498419,-2.63678054 521.546707,-1.07849118 519.889534,9.76667675 Z M213.93032,27.1568877 C197.020393,46.9184911 229.149255,89.6035544 261.278116,97.5081958 C293.406978,105.412837 334.836299,80.9084489 327.226832,57.984989 C319.617364,35.0615291 239.295211,8.97621262 213.93032,27.1568877 Z M486.06968,27.1568877 C460.704789,8.97621262 380.382636,35.0615291 372.773168,57.984989 C365.163701,80.9084489 406.593022,105.412837 438.721884,97.5081958 C470.850745,89.6035544 502.979607,46.9184911 486.06968,27.1568877 Z" id="{{P}}Combined-Shape"></path><polygon id="{{P}}Path" points="199 30 4 62 0 71 199 51"></polygon></g></g>',+ '<g id="{{P}}Glasses/-5" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd" stroke-linecap="round" stroke-linejoin="round"><g id="{{P}}Group" transform="translate(289.000000, 500.000000)" stroke="#000000"><path d="M339.818182,40.2109589 C338.074175,42.9080712 336.862054,47.8943725 336.181818,55.169863 L327.454545,55.169863 C324.545455,28.1013699 305.393939,14.0922374 270,13.1424658 C240.424242,11.2429224 222.727273,23.1150685 216.909091,48.7589041 L205.272727,48.7589041 L190,33.8 L190,10.2931507 C222.484848,2.22009132 249.151515,-1.10410959 270,0.320547945 C285.225486,1.36096427 303.25963,5.13798521 324.62746,9.93254373 L332.545455,11.7178082 C336.214681,12.54746 342.032863,13.4972317 350,14.5671233 L352.073632,14.2846662 C358.984501,13.3293325 364.111473,12.4737132 367.454545,11.7178082 L376.341511,9.71531602 C397.286215,5.02415827 415.005203,1.34520038 430,0.320547945 C450.64,-1.08986301 476.9824,2.15408219 509.0272,10.0523836 L510,10.2931507 L510,33.8 L494.727273,48.7589041 L483.090909,48.7589041 C477.272727,23.1150685 459.575758,11.2429224 430,13.1424658 C394.96,14.0827397 375.8392,27.8224932 372.6376,54.361726 L372.545455,55.169863 L363.818182,55.169863 L363.730382,54.2723496 C363.036013,47.4828217 361.853158,42.7956915 360.181818,40.2109589 C358.482529,37.5830034 355.216835,35.4868176 350.384736,33.9224017 L350,33.8 C344.956128,35.3768603 341.562189,37.5138466 339.818182,40.2109589 Z" id="{{P}}Path" stroke-width="4" fill="#000000"></path><path d="M216.909091,48.4383562 C216.909091,85.4794521 234.606061,104 270,104 C305.393939,104 324.545455,87.6164384 327.454545,54.8493151" id="{{P}}Path" stroke-width="6"></path><path d="M372.545455,48.4383562 C372.545455,85.4794521 390.242424,104 425.636364,104 C461.030303,104 480.181818,87.6164384 483.090909,54.8493151" id="{{P}}Path" stroke-width="6" transform="translate(427.818182, 76.219178) scale(-1, 1) translate(-427.818182, -76.219178) "></path><polygon id="{{P}}Path" stroke-width="4" fill="#000000" points="199 9 4 41 0 50 199 30"></polygon></g></g>',+ '<g id="{{P}}Glasses/-6" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd" stroke-linecap="round" stroke-linejoin="round"><g id="{{P}}Group" transform="translate(289.000000, 489.000000)" fill="#000000" stroke="#000000" stroke-width="4"><path d="M507.197382,9.82478969 C513.43226,17.7007378 515.213654,62.5936419 486.711355,88.5842707 C469.404358,104.366146 429.38069,108.487745 402.985851,98.8230032 C386.082673,92.6337314 377.827731,74.7226245 375.444668,70.5905602 L375.374248,70.46959 C367.818365,57.6210186 359.693569,48.7969114 350.999861,43.9972684 C342.444422,48.7207266 334.439709,57.3419022 326.985986,69.8607952 L326.625752,70.46959 C324.338153,74.359588 316.088066,92.5712135 299.014149,98.8230032 C272.61931,108.487745 232.595642,104.366146 215.288645,88.5842707 C186.786346,62.5936419 188.56774,17.7007378 194.802618,9.82478969 C201.037496,1.94884159 243.790945,-3.56432208 278.528122,2.7364364 C313.265299,9.03719488 328.491531,25.281971 335.53272,27.9394703 C339.929408,29.5988766 344.89638,30.3949699 350.433636,30.3277503 L350.434736,30.3022547 L351,30.3179093 L351.565264,30.3022547 L351.566163,30.3277478 C357.1035,30.3949891 362.070539,29.5988966 366.46728,27.9394703 C373.508469,25.281971 388.734701,9.03719488 423.471878,2.7364364 C458.209055,-3.56432208 500.962504,1.94884159 507.197382,9.82478969 Z M209.053767,15.3379534 C189.458437,28.7270651 207.272374,75.1951589 225.977008,88.5842707 C244.681642,101.973382 289.216484,98.8230032 299.904846,91.7346499 C310.593209,84.6462966 334.642023,53.930099 326.625752,34.2402288 C318.60948,14.5503585 237.556067,1.16124678 209.053767,15.3379534 Z M492.946233,15.3379534 C464.443933,1.16124678 383.39052,14.5503585 375.374248,34.2402288 C367.357977,53.930099 391.406791,84.6462966 402.095154,91.7346499 C412.783516,98.8230032 457.318358,101.973382 476.022992,88.5842707 C494.727626,75.1951589 512.541563,28.7270651 492.946233,15.3379534 Z" id="{{P}}Combined-Shape"></path><polygon id="{{P}}Path" points="199 20 4 52 0 61 199 41"></polygon></g></g>',+ '<g id="{{P}}Glasses/-7" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd" stroke-linecap="round" stroke-linejoin="round"><g id="{{P}}Group" transform="translate(289.000000, 502.000000)" fill="#000000" stroke="#000000" stroke-width="4"><path d="M339.740368,39.6303745 C323.440763,83.0959855 305.148598,104 266.642657,104 C226.661085,104 208.819095,87.634841 206.637074,34.1753215 C206.548706,32.0103005 204.003015,29.8282793 199,27.6292579 L199,6.90005646 C238.696939,1.25810378 267.426885,-0.923917428 285.189838,0.353992852 C297.612079,1.2476793 312.018598,4.36213391 328.409394,9.69735669 C333.107339,11.2265431 340.521032,12.1124607 350.650474,12.3551095 L351.336909,12.3375684 C361.115498,12.0718595 368.30038,11.1917889 372.891553,9.69735669 C389.282349,4.36213391 403.688868,1.2476793 416.11111,0.353992852 C433.874063,-0.923917428 462.604008,1.25810378 502.300947,6.90005646 L502.300947,6.90005646 L502.300947,27.6292579 C497.297933,29.8282793 494.752241,32.0103005 494.663873,34.1753215 C492.481852,87.634841 474.639862,104 434.65829,104 C396.15235,104 377.860184,83.0959855 361.56058,39.6303745 C359.378558,33.8116513 355.741856,30.9022897 350.650474,30.9022897 L350.650474,30.9022897 C345.559091,30.9022897 341.922389,33.8116513 339.740368,39.6303745 Z" id="{{P}}Combined-Shape"></path><polygon id="{{P}}Path" points="199 7 4 39 0 48 199 28"></polygon></g></g>',+ '<g id="{{P}}Glasses/-8" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd" stroke-linecap="round" stroke-linejoin="round"><g id="{{P}}Group" transform="translate(293.000000, 475.000000)" stroke="#000000"><path d="M328.31869,48.9411765 C333.965749,25.4117647 327.377514,0 252.083396,0 C176.789279,0 173.024573,30.1176471 170.201043,48.9411765 C167.377514,67.7647059 157.024573,140.235294 227.612808,143.058824 C298.201043,145.882353 322.671631,72.4705882 328.31869,48.9411765 Z" id="{{P}}Path" stroke-width="8" fill="#0C0C0C"></path><path d="M523.46091,48.9411765 C529.107969,25.4117647 522.519734,3.63797881e-12 447.225616,3.63797881e-12 C371.931498,3.63797881e-12 368.166792,30.1176471 365.343263,48.9411765 C362.519734,67.7647059 352.166792,140.235294 422.755028,143.058824 C493.343263,145.882353 517.813851,72.4705882 523.46091,48.9411765 Z" id="{{P}}Path" stroke-width="8" fill="#0C0C0C" transform="translate(444.072807, 71.569037) scale(-1, 1) translate(-444.072807, -71.569037) "></path><line x1="301.965749" y1="7.52941176" x2="391.377514" y2="7.52941176" id="{{P}}Path" stroke-width="8"></line><path d="M301.965749,35.7647059 C317.212807,34.5098039 332.271631,33.8823529 347.14222,33.8823529 C362.012808,33.8823529 376.757907,34.5098039 391.377514,35.7647059" id="{{P}}Path" stroke-width="8"></path><line x1="217" y1="40" x2="1.3111035" y2="83.3393577" id="{{P}}Path" stroke-width="16" transform="translate(109.155552, 61.669679) rotate(1.361411) translate(-109.155552, -61.669679) "></line></g></g>',+ '<g id="{{P}}Glasses/-9" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd" stroke-linecap="round" stroke-linejoin="round"><g id="{{P}}Group" transform="translate(289.000000, 466.000000)" fill="#000000" stroke="#000000" stroke-width="4"><path d="M229.149255,5.21037268 C247.672154,10.005924 283.261021,26.6137093 324.690343,43.1526512 L325.464481,43.4558112 C331.11768,45.6282957 339.032765,47.7972932 349.209737,49.9628037 L349.209737,71.3661403 C344.161954,74.4730774 341.061801,77.3917142 339.909277,80.1220507 C325.535839,114.172813 298.479956,136.549029 257.050634,124.874482 C200.767297,109.014157 181.801459,25.6408303 180.110466,12.0205252 C178.419474,-1.59977987 196.205221,-3.31878925 229.149255,5.21037268 Z M470.850745,5.21037268 L472.809163,4.710934 C504.498419,-3.24526836 521.546707,-1.32737377 519.889534,12.0205252 C518.198541,25.6408303 499.232703,109.014157 442.949366,124.874482 C401.520044,136.549029 374.464161,114.172813 360.090723,80.1220507 C358.969348,77.4655071 356.004199,74.630704 351.195275,71.6176415 L350.790263,71.3661403 L350.790263,49.9628037 L352.195626,49.6606168 C362.16219,47.4947819 369.866867,45.3254601 375.309657,43.1526512 L377.788318,42.1603271 C418.155707,25.9541227 452.698304,9.91001298 470.850745,5.21037268 Z" id="{{P}}Combined-Shape"></path><polygon id="{{P}}Path" points="199 43 4 75 0 84 199 64"></polygon></g></g>',+ '<g id="{{P}}Glasses/-10" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd"><g id="{{P}}Group" transform="translate(289.000000, 475.000000)" fill="#000000"><rect id="{{P}}Rectangle" x="201" y="0" width="300" height="23.4"></rect><path d="M329.571429,0 L370.642857,0 L370.642857,50.7333333 C363.797619,41.4888889 356.952381,36.8666667 350.107143,36.8666667 C343.261905,36.8666667 336.416667,41.4888889 329.571429,50.7333333 L329.571429,0 Z" id="{{P}}Rectangle"></path><path d="M209.035714,16.4666667 L226.635493,91.6470116 C228.329435,98.8829668 234.782715,104 242.214302,104 L295.809254,104 C302.413177,104 308.338607,99.9426587 310.726587,93.7856009 L340.714286,16.4666667 L340.714286,16.4666667 L209.035714,16.4666667 Z" id="{{P}}Path" stroke="#000000" stroke-width="16" stroke-linecap="round" stroke-linejoin="round"></path><path d="M359.5,16.4666667 L377.099778,91.6470116 C378.793721,98.8829668 385.247,104 392.678588,104 L446.273539,104 C452.877463,104 458.802893,99.9426587 461.190872,93.7856009 L491.178571,16.4666667 L491.178571,16.4666667 L359.5,16.4666667 Z" id="{{P}}Path" stroke="#000000" stroke-width="16" stroke-linecap="round" stroke-linejoin="round" transform="translate(425.339286, 60.233333) scale(-1, 1) translate(-425.339286, -60.233333) "></path><polygon id="{{P}}Path" stroke="#000000" stroke-width="4" stroke-linecap="round" stroke-linejoin="round" points="201 2 4 66 0 75 201 22"></polygon></g></g>',+ '<g id="{{P}}Glasses/ 11"><g id="{{P}}Group"><path id="{{P}}Path" fill-rule="evenodd" clip-rule="evenodd" d="M481 508L293 541L289 550L481 521V508Z" fill="black" stroke="black" stroke-width="4" stroke-linecap="round" stroke-linejoin="round"/><g id="{{P}}Combined Shape"><path fill-rule="evenodd" clip-rule="evenodd" d="M474 506.65L507.276 500.835C507.276 500.835 526.938 483 559.08 483C591.221 483 624.497 512.466 624.497 512.466H640H655.503C655.503 512.466 688.779 483 720.92 483C753.061 483 772.724 500.835 772.724 500.835L806 506.65V525.26L794.656 531.076C794.656 531.076 790.875 593.497 768.187 612.107C745.499 630.717 709.88 630.544 684.241 612.107C658.603 593.671 650.588 531.076 650.588 531.076H640H629.412C629.412 531.076 621.397 593.671 595.759 612.107C570.12 630.544 534.501 630.717 511.813 612.107C489.125 593.497 485.344 531.076 485.344 531.076L474 525.26V506.65ZM507.685 512.117C504.389 514.911 502.191 517.487 501.219 519.374C500.749 520.285 500.131 522.488 499.556 525.707C498.986 528.903 498.468 533.045 498.178 537.791C497.598 547.287 497.931 559.179 500.56 570.745C503.189 582.313 508.107 593.517 516.669 601.686C525.217 609.843 537.443 615.018 554.787 614.459L554.791 614.459C571.028 614.086 583.045 608.636 591.886 600.564C600.736 592.483 606.431 581.748 609.964 570.769C613.497 559.792 614.859 548.598 615.061 539.633C615.162 535.151 614.973 531.233 614.622 528.186C614.447 526.661 614.232 525.36 613.994 524.318C613.754 523.266 613.498 522.508 613.253 522.051C608.888 513.917 593.331 495.684 561.12 494.551C545.01 493.984 531.02 498.259 520.553 503.656C515.319 506.355 510.972 509.331 507.685 512.117ZM520.095 502.767C530.688 497.305 544.847 492.977 561.155 493.551C593.778 494.699 609.629 513.183 614.134 521.578C614.443 522.155 614.723 523.016 614.969 524.095C615.217 525.183 615.438 526.522 615.616 528.071C615.972 531.171 616.163 535.135 616.061 539.655C615.857 548.695 614.484 559.988 610.916 571.076C607.348 582.162 601.577 593.069 592.56 601.302C583.535 609.543 571.284 615.079 554.817 615.458C537.239 616.025 524.743 610.773 515.978 602.41C507.226 594.058 502.24 582.647 499.585 570.966C496.929 559.283 496.596 547.291 497.18 537.73C497.472 532.949 497.994 528.769 498.572 525.532C499.145 522.318 499.783 519.977 500.33 518.916C501.39 516.859 503.701 514.183 507.039 511.354C510.386 508.517 514.798 505.499 520.095 502.767ZM772.315 512.117C775.611 514.911 777.809 517.487 778.781 519.374C779.251 520.285 779.869 522.488 780.444 525.707C781.014 528.903 781.532 533.045 781.822 537.791C782.402 547.287 782.069 559.179 779.44 570.745C776.811 582.313 771.893 593.517 763.331 601.686C754.783 609.843 742.557 615.018 725.213 614.459L725.209 614.459C708.972 614.086 696.955 608.636 688.114 600.564C679.264 592.483 673.569 581.748 670.036 570.769C666.503 559.792 665.141 548.598 664.939 539.633C664.838 535.151 665.027 531.233 665.378 528.186C665.553 526.661 665.768 525.36 666.006 524.318C666.246 523.266 666.502 522.508 666.747 522.051C671.112 513.917 686.669 495.684 718.88 494.551C734.99 493.984 748.98 498.259 759.447 503.656C764.681 506.355 769.028 509.331 772.315 512.117ZM759.905 502.767C749.312 497.305 735.153 492.977 718.845 493.551C686.222 494.699 670.371 513.183 665.866 521.578C665.557 522.155 665.277 523.016 665.031 524.095C664.783 525.183 664.562 526.522 664.384 528.071C664.028 531.171 663.837 535.135 663.939 539.655C664.143 548.695 665.516 559.988 669.084 571.076C672.652 582.162 678.423 593.069 687.44 601.302C696.465 609.543 708.716 615.079 725.183 615.458C742.761 616.025 755.257 610.773 764.022 602.41C772.774 594.058 777.76 582.647 780.415 570.966C783.071 559.283 783.404 547.291 782.82 537.73C782.528 532.949 782.006 528.769 781.428 525.532C780.855 522.318 780.217 519.977 779.67 518.916C778.61 516.859 776.299 514.183 772.961 511.354C769.614 508.517 765.202 505.499 759.905 502.767Z" fill="black"/><path d="M507.276 500.835L507.62 502.805C507.993 502.74 508.339 502.57 508.619 502.316L507.276 500.835ZM474 506.65L473.656 504.68C472.698 504.847 472 505.679 472 506.65H474ZM624.497 512.466L623.171 513.963C623.536 514.287 624.008 514.466 624.497 514.466V512.466ZM655.503 512.466V514.466C655.992 514.466 656.464 514.287 656.829 513.963L655.503 512.466ZM772.724 500.835L771.381 502.316C771.661 502.57 772.007 502.74 772.38 502.805L772.724 500.835ZM806 506.65H808C808 505.679 807.302 504.847 806.344 504.68L806 506.65ZM806 525.26L806.912 527.04C807.58 526.698 808 526.011 808 525.26H806ZM794.656 531.076L793.744 529.296C793.115 529.619 792.702 530.249 792.66 530.955L794.656 531.076ZM684.241 612.107L685.409 610.484L684.241 612.107ZM650.588 531.076L652.571 530.822C652.444 529.824 651.594 529.076 650.588 529.076V531.076ZM629.412 531.076V529.076C628.406 529.076 627.556 529.824 627.429 530.822L629.412 531.076ZM595.759 612.107L594.591 610.484L595.759 612.107ZM485.344 531.076L487.34 530.955C487.298 530.249 486.885 529.619 486.256 529.296L485.344 531.076ZM474 525.26H472C472 526.011 472.42 526.698 473.088 527.04L474 525.26ZM501.219 519.374L502.997 520.29L501.219 519.374ZM507.685 512.117L506.392 510.591L507.685 512.117ZM499.556 525.707L501.525 526.059L501.525 526.059L499.556 525.707ZM498.178 537.791L500.175 537.913L498.178 537.791ZM500.56 570.745L502.51 570.301L500.56 570.745ZM516.669 601.686L518.049 600.239H518.049L516.669 601.686ZM554.787 614.459L554.734 612.459L554.722 612.46L554.787 614.459ZM554.791 614.459L554.745 612.459L554.739 612.459L554.791 614.459ZM591.886 600.564L590.537 599.087L591.886 600.564ZM609.964 570.769L611.868 571.382L609.964 570.769ZM615.061 539.633L613.062 539.588V539.588L615.061 539.633ZM614.622 528.186L616.609 527.957V527.957L614.622 528.186ZM613.994 524.318L615.944 523.873L613.994 524.318ZM613.253 522.051L611.491 522.997V522.997L613.253 522.051ZM561.12 494.551L561.19 492.552L561.12 494.551ZM520.553 503.656L521.469 505.434L520.553 503.656ZM561.155 493.551L561.085 495.55L561.155 493.551ZM520.095 502.767L519.178 500.99L520.095 502.767ZM614.134 521.578L612.372 522.524L612.372 522.524L614.134 521.578ZM614.969 524.095L613.019 524.54L613.019 524.54L614.969 524.095ZM615.616 528.071L613.629 528.3V528.3L615.616 528.071ZM616.061 539.655L614.061 539.61L616.061 539.655ZM610.916 571.076L609.012 570.463L610.916 571.076ZM592.56 601.302L591.212 599.825H591.212L592.56 601.302ZM554.817 615.458L554.771 613.459C554.764 613.459 554.758 613.459 554.752 613.459L554.817 615.458ZM515.978 602.41L517.359 600.963L515.978 602.41ZM499.585 570.966L501.535 570.523L499.585 570.966ZM497.18 537.73L495.184 537.609V537.609L497.18 537.73ZM498.572 525.532L496.603 525.18L498.572 525.532ZM500.33 518.916L502.108 519.832L500.33 518.916ZM507.039 511.354L505.746 509.828L507.039 511.354ZM778.781 519.374L780.559 518.458V518.458L778.781 519.374ZM772.315 512.117L773.608 510.591V510.591L772.315 512.117ZM780.444 525.707L782.413 525.356V525.356L780.444 525.707ZM781.822 537.791L783.818 537.67V537.669L781.822 537.791ZM779.44 570.745L781.39 571.188V571.188L779.44 570.745ZM763.331 601.686L761.951 600.239L763.331 601.686ZM725.213 614.459L725.278 612.46L725.266 612.459L725.213 614.459ZM725.209 614.459L725.261 612.459L725.255 612.459L725.209 614.459ZM688.114 600.564L689.463 599.087L688.114 600.564ZM670.036 570.769L668.132 571.382L670.036 570.769ZM664.939 539.633L666.938 539.588V539.588L664.939 539.633ZM665.378 528.186L663.391 527.957V527.957L665.378 528.186ZM666.006 524.318L664.056 523.873L666.006 524.318ZM666.747 522.051L668.509 522.997V522.997L666.747 522.051ZM718.88 494.551L718.81 492.552L718.88 494.551ZM759.447 503.656L758.531 505.434V505.434L759.447 503.656ZM718.845 493.551L718.915 495.55L718.845 493.551ZM759.905 502.767L760.822 500.99V500.99L759.905 502.767ZM665.866 521.578L667.628 522.524L667.628 522.524L665.866 521.578ZM665.031 524.095L666.981 524.54L666.981 524.54L665.031 524.095ZM664.384 528.071L666.371 528.3V528.3L664.384 528.071ZM663.939 539.655L665.939 539.61L663.939 539.655ZM669.084 571.076L670.988 570.463L669.084 571.076ZM687.44 601.302L686.091 602.779L687.44 601.302ZM725.183 615.458L725.248 613.459C725.242 613.459 725.236 613.459 725.229 613.459L725.183 615.458ZM764.022 602.41L765.402 603.857L764.022 602.41ZM780.415 570.966L778.465 570.523L780.415 570.966ZM782.82 537.73L784.816 537.609V537.609L782.82 537.73ZM781.428 525.532L779.459 525.883V525.883L781.428 525.532ZM779.67 518.916L781.448 518V518L779.67 518.916ZM772.961 511.354L774.254 509.828L774.254 509.828L772.961 511.354ZM506.931 498.865L473.656 504.68L474.344 508.62L507.62 502.805L506.931 498.865ZM559.08 481C542.633 481 529.376 485.564 520.232 490.128C515.659 492.41 512.107 494.696 509.689 496.419C508.48 497.281 507.553 498.004 506.922 498.516C506.607 498.772 506.366 498.976 506.2 499.118C506.117 499.189 506.053 499.245 506.009 499.285C505.986 499.305 505.969 499.32 505.956 499.332C505.949 499.337 505.944 499.342 505.94 499.346C505.938 499.348 505.937 499.349 505.935 499.35C505.935 499.351 505.934 499.352 505.933 499.352C505.933 499.353 505.932 499.353 507.276 500.835C508.619 502.316 508.619 502.317 508.618 502.317C508.618 502.317 508.618 502.317 508.618 502.317C508.618 502.318 508.618 502.317 508.618 502.317C508.619 502.316 508.621 502.315 508.624 502.312C508.631 502.306 508.642 502.296 508.657 502.282C508.689 502.254 508.739 502.21 508.809 502.151C508.947 502.032 509.159 501.852 509.444 501.621C510.014 501.158 510.875 500.487 512.011 499.677C514.284 498.056 517.657 495.883 522.018 493.707C530.74 489.354 543.385 485 559.08 485V481ZM624.497 512.466C625.822 510.969 625.822 510.968 625.821 510.968C625.821 510.967 625.82 510.967 625.82 510.966C625.818 510.965 625.816 510.963 625.814 510.961C625.809 510.956 625.802 510.95 625.793 510.942C625.775 510.926 625.748 510.904 625.715 510.874C625.647 510.815 625.547 510.729 625.417 510.617C625.157 510.394 624.775 510.07 624.28 509.66C623.289 508.839 621.842 507.671 620.008 506.272C616.341 503.475 611.114 499.746 604.866 496.016C592.431 488.59 575.696 481 559.08 481V485C574.605 485 590.578 492.143 602.816 499.45C608.905 503.086 614.005 506.724 617.582 509.452C619.37 510.815 620.774 511.95 621.728 512.74C622.205 513.135 622.57 513.444 622.813 513.653C622.934 513.757 623.026 513.837 623.086 513.889C623.116 513.915 623.138 513.934 623.152 513.947C623.159 513.953 623.164 513.958 623.167 513.96C623.169 513.962 623.17 513.963 623.171 513.963C623.171 513.963 623.171 513.963 623.171 513.964C623.171 513.963 623.171 513.963 624.497 512.466ZM640 510.466H624.497V514.466H640V510.466ZM640 514.466H655.503V510.466H640V514.466ZM655.503 512.466C656.829 513.963 656.829 513.963 656.829 513.964C656.829 513.963 656.829 513.963 656.829 513.963C656.83 513.963 656.831 513.962 656.833 513.96C656.836 513.958 656.841 513.953 656.848 513.947C656.862 513.934 656.884 513.915 656.914 513.889C656.974 513.837 657.066 513.757 657.187 513.653C657.43 513.444 657.795 513.135 658.272 512.74C659.226 511.95 660.63 510.815 662.418 509.452C665.995 506.724 671.095 503.086 677.184 499.45C689.422 492.143 705.395 485 720.92 485V481C704.304 481 687.569 488.59 675.134 496.016C668.886 499.746 663.659 503.475 659.992 506.272C658.158 507.671 656.711 508.839 655.72 509.66C655.225 510.07 654.843 510.394 654.583 510.617C654.453 510.729 654.353 510.815 654.285 510.874C654.252 510.904 654.225 510.926 654.207 510.942C654.198 510.95 654.191 510.956 654.186 510.961C654.184 510.963 654.182 510.965 654.18 510.966C654.18 510.967 654.179 510.967 654.179 510.968C654.178 510.968 654.178 510.969 655.503 512.466ZM720.92 485C736.615 485 749.26 489.354 757.982 493.707C762.343 495.883 765.716 498.056 767.989 499.677C769.125 500.487 769.986 501.158 770.556 501.621C770.841 501.852 771.053 502.032 771.191 502.151C771.261 502.21 771.311 502.254 771.343 502.282C771.358 502.296 771.369 502.306 771.376 502.312C771.379 502.315 771.381 502.316 771.382 502.317C771.382 502.317 771.382 502.318 771.382 502.317C771.382 502.317 771.382 502.317 771.382 502.317C771.381 502.317 771.381 502.316 772.724 500.835C774.068 499.353 774.067 499.353 774.067 499.352C774.066 499.352 774.065 499.351 774.065 499.35C774.063 499.349 774.062 499.348 774.06 499.346C774.056 499.342 774.051 499.337 774.044 499.332C774.031 499.32 774.014 499.305 773.991 499.285C773.947 499.245 773.883 499.189 773.8 499.118C773.634 498.976 773.393 498.772 773.078 498.516C772.447 498.004 771.52 497.281 770.311 496.419C767.893 494.696 764.341 492.41 759.768 490.128C750.624 485.564 737.367 481 720.92 481V485ZM772.38 502.805L805.656 508.62L806.344 504.68L773.069 498.865L772.38 502.805ZM804 506.65V525.26H808V506.65H804ZM805.088 523.481L793.744 529.296L795.568 532.856L806.912 527.04L805.088 523.481ZM794.656 531.076C792.66 530.955 792.66 530.955 792.66 530.955C792.66 530.955 792.66 530.956 792.66 530.957C792.66 530.958 792.659 530.96 792.659 530.964C792.659 530.97 792.658 530.981 792.657 530.995C792.655 531.023 792.653 531.066 792.649 531.124C792.641 531.239 792.63 531.411 792.613 531.638C792.581 532.092 792.529 532.763 792.456 533.626C792.31 535.351 792.076 537.842 791.724 540.891C791.02 546.992 789.847 555.312 787.972 564.2C786.096 573.097 783.528 582.512 780.049 590.823C776.556 599.168 772.222 606.21 766.918 610.561L769.455 613.654C775.495 608.699 780.142 600.96 783.739 592.367C787.35 583.74 789.981 574.06 791.886 565.026C793.793 555.982 794.984 547.534 795.698 541.349C796.055 538.256 796.293 535.724 796.442 533.963C796.517 533.083 796.569 532.395 796.603 531.925C796.62 531.69 796.632 531.51 796.64 531.388C796.644 531.326 796.647 531.28 796.649 531.248C796.65 531.232 796.651 531.22 796.652 531.211C796.652 531.207 796.652 531.204 796.652 531.201C796.652 531.2 796.652 531.199 796.652 531.198C796.652 531.198 796.652 531.197 794.656 531.076ZM766.918 610.561C745.016 628.527 710.404 628.458 685.409 610.484L683.074 613.731C709.355 632.63 745.982 632.908 769.455 613.654L766.918 610.561ZM685.409 610.484C679.366 606.138 674.236 599.085 669.945 590.753C665.668 582.446 662.305 573.026 659.721 564.121C657.14 555.223 655.35 546.889 654.207 540.777C653.635 537.722 653.225 535.226 652.959 533.497C652.826 532.633 652.728 531.96 652.665 531.506C652.633 531.278 652.609 531.105 652.594 530.99C652.586 530.933 652.58 530.89 652.577 530.862C652.575 530.848 652.573 530.837 652.573 530.831C652.572 530.827 652.572 530.825 652.572 530.823C652.572 530.823 652.572 530.822 652.571 530.822C652.571 530.822 652.571 530.822 650.588 531.076C648.604 531.33 648.604 531.331 648.604 531.331C648.604 531.332 648.604 531.333 648.604 531.334C648.605 531.337 648.605 531.34 648.606 531.344C648.607 531.353 648.608 531.365 648.611 531.381C648.615 531.413 648.621 531.46 648.629 531.522C648.646 531.645 648.67 531.826 648.703 532.061C648.77 532.533 648.869 533.223 649.006 534.106C649.278 535.872 649.694 538.411 650.275 541.512C651.435 547.713 653.252 556.179 655.879 565.235C658.504 574.283 661.952 583.968 666.389 592.584C670.812 601.174 676.298 608.858 683.074 613.731L685.409 610.484ZM650.588 529.076H640V533.076H650.588V529.076ZM629.412 533.076H640V529.076H629.412V533.076ZM596.926 613.731C603.702 608.858 609.188 601.174 613.611 592.584C618.048 583.968 621.496 574.283 624.121 565.235C626.748 556.179 628.565 547.713 629.725 541.512C630.306 538.411 630.722 535.872 630.994 534.106C631.131 533.223 631.23 532.533 631.297 532.061C631.33 531.826 631.354 531.645 631.371 531.522C631.379 531.46 631.385 531.413 631.389 531.381C631.392 531.365 631.393 531.353 631.394 531.344C631.395 531.34 631.395 531.337 631.396 531.334C631.396 531.333 631.396 531.332 631.396 531.331C631.396 531.331 631.396 531.33 629.412 531.076C627.429 530.822 627.429 530.822 627.429 530.822C627.428 530.822 627.428 530.823 627.428 530.823C627.428 530.825 627.428 530.827 627.427 530.831C627.427 530.837 627.425 530.848 627.423 530.862C627.42 530.89 627.414 530.933 627.406 530.99C627.391 531.105 627.367 531.278 627.335 531.506C627.272 531.96 627.174 532.633 627.041 533.497C626.775 535.226 626.365 537.722 625.793 540.777C624.65 546.889 622.86 555.223 620.279 564.121C617.695 573.026 614.332 582.446 610.055 590.753C605.764 599.085 600.634 606.138 594.591 610.484L596.926 613.731ZM510.545 613.654C534.018 632.908 570.645 632.63 596.926 613.731L594.591 610.484C569.596 628.458 534.984 628.527 513.082 610.561L510.545 613.654ZM485.344 531.076C483.348 531.197 483.348 531.198 483.348 531.198C483.348 531.199 483.348 531.2 483.348 531.201C483.348 531.204 483.348 531.207 483.348 531.211C483.349 531.22 483.35 531.232 483.351 531.248C483.353 531.28 483.356 531.326 483.36 531.388C483.368 531.51 483.38 531.69 483.397 531.925C483.431 532.395 483.483 533.083 483.558 533.963C483.707 535.724 483.945 538.256 484.302 541.349C485.016 547.534 486.207 555.982 488.114 565.026C490.019 574.06 492.65 583.74 496.261 592.367C499.858 600.96 504.505 608.699 510.545 613.654L513.082 610.561C507.778 606.21 503.444 599.168 499.951 590.823C496.472 582.512 493.904 573.097 492.028 564.2C490.153 555.312 488.98 546.992 488.276 540.891C487.924 537.842 487.69 535.351 487.544 533.626C487.471 532.763 487.419 532.092 487.387 531.638C487.37 531.411 487.359 531.239 487.351 531.124C487.347 531.066 487.345 531.023 487.343 530.995C487.342 530.981 487.341 530.97 487.341 530.964C487.341 530.96 487.34 530.958 487.34 530.957C487.34 530.956 487.34 530.955 487.34 530.955C487.34 530.955 487.34 530.955 485.344 531.076ZM473.088 527.04L484.432 532.856L486.256 529.296L474.912 523.481L473.088 527.04ZM472 506.65V525.26H476V506.65H472ZM502.997 520.29C503.794 518.742 505.764 516.367 508.979 513.642L506.392 510.591C503.014 513.454 500.588 516.231 499.441 518.458L502.997 520.29ZM501.525 526.059C502.102 522.826 502.682 520.901 502.997 520.29L499.441 518.458C498.817 519.669 498.159 522.149 497.587 525.356L501.525 526.059ZM500.175 537.913C500.46 533.237 500.969 529.172 501.525 526.059L497.587 525.356C497.002 528.634 496.476 532.853 496.182 537.67L500.175 537.913ZM502.51 570.301C499.935 558.972 499.603 547.28 500.175 537.913L496.182 537.67C495.594 547.295 495.927 559.386 498.61 571.188L502.51 570.301ZM518.049 600.239C509.871 592.435 505.088 581.644 502.51 570.301L498.61 571.188C501.29 582.981 506.344 594.599 515.288 603.133L518.049 600.239ZM554.722 612.46C537.848 613.004 526.164 607.982 518.049 600.239L515.288 603.133C524.27 611.704 537.038 617.033 554.851 616.458L554.722 612.46ZM554.739 612.459L554.734 612.459L554.839 616.458L554.844 616.458L554.739 612.459ZM590.537 599.087C582.066 606.822 570.517 612.097 554.745 612.459L554.837 616.458C571.539 616.074 584.024 610.451 593.234 602.041L590.537 599.087ZM608.06 570.157C604.597 580.918 599.054 591.311 590.537 599.087L593.234 602.041C602.418 593.655 608.265 582.577 611.868 571.382L608.06 570.157ZM613.062 539.588C612.863 548.404 611.522 559.401 608.06 570.157L611.868 571.382C615.472 560.184 616.855 548.792 617.061 539.678L613.062 539.588ZM612.635 528.414C612.974 531.358 613.161 535.183 613.062 539.588L617.061 539.678C617.163 535.119 616.972 531.109 616.609 527.957L612.635 528.414ZM612.044 524.762C612.261 525.715 612.466 526.941 612.635 528.414L616.609 527.957C616.428 526.382 616.202 525.005 615.944 523.873L612.044 524.762ZM611.491 522.997C611.608 523.216 611.817 523.766 612.044 524.762L615.944 523.873C615.692 522.767 615.388 521.801 615.015 521.106L611.491 522.997ZM561.049 496.549C592.438 497.654 607.406 515.385 611.491 522.997L615.015 521.106C610.37 512.449 594.224 493.714 561.19 492.552L561.049 496.549ZM521.469 505.434C531.683 500.167 545.335 495.996 561.049 496.549L561.19 492.552C544.685 491.971 530.357 496.35 519.636 501.879L521.469 505.434ZM508.979 513.642C512.143 510.96 516.363 508.067 521.469 505.434L519.636 501.879C514.276 504.643 509.801 507.702 506.392 510.591L508.979 513.642ZM561.225 491.552C544.522 490.965 530.025 495.396 519.178 500.99L521.011 504.545C531.351 499.213 545.173 494.99 561.085 495.55L561.225 491.552ZM615.896 520.633C611.112 511.715 594.671 492.729 561.225 491.552L561.085 495.55C592.885 496.669 608.147 514.651 612.372 522.524L615.896 520.633ZM616.919 523.65C616.66 522.516 616.333 521.447 615.896 520.633L612.372 522.524C612.553 522.862 612.786 523.516 613.019 524.54L616.919 523.65ZM617.603 527.843C617.419 526.242 617.187 524.828 616.919 523.65L613.019 524.54C613.247 525.538 613.456 526.801 613.629 528.3L617.603 527.843ZM618.06 539.7C618.164 535.103 617.971 531.046 617.603 527.843L613.629 528.3C613.974 531.296 614.162 535.167 614.061 539.61L618.06 539.7ZM612.82 571.688C616.459 560.379 617.853 548.888 618.06 539.7L614.061 539.61C613.861 548.501 612.509 559.596 609.012 570.463L612.82 571.688ZM593.909 602.779C603.259 594.242 609.182 582.992 612.82 571.688L609.012 570.463C605.514 581.333 599.895 591.897 591.212 599.825L593.909 602.779ZM554.863 617.458C571.795 617.068 584.513 611.358 593.909 602.779L591.212 599.825C582.556 607.729 570.773 613.091 554.771 613.459L554.863 617.458ZM514.598 603.857C523.796 612.634 536.834 618.039 554.881 617.457L554.752 613.459C537.644 614.011 525.69 608.912 517.359 600.963L514.598 603.857ZM497.635 571.409C500.341 583.316 505.463 595.14 514.598 603.857L517.359 600.963C508.989 592.976 504.139 581.978 501.535 570.523L497.635 571.409ZM495.184 537.609C494.592 547.299 494.925 559.49 497.635 571.409L501.535 570.523C498.933 559.075 498.6 547.284 499.177 537.852L495.184 537.609ZM496.603 525.18C496.01 528.5 495.48 532.757 495.184 537.609L499.177 537.852C499.464 533.141 499.978 529.038 500.541 525.883L496.603 525.18ZM498.552 518C497.851 519.36 497.174 521.979 496.603 525.18L500.541 525.883C501.116 522.657 501.715 520.593 502.108 519.832L498.552 518ZM505.746 509.828C502.326 512.726 499.787 515.603 498.552 518L502.108 519.832C502.993 518.114 505.076 515.639 508.332 512.88L505.746 509.828ZM519.178 500.99C513.754 503.787 509.215 506.887 505.746 509.828L508.332 512.88C511.558 510.146 515.841 507.211 521.011 504.545L519.178 500.99ZM780.559 518.458C779.412 516.231 776.986 513.454 773.608 510.591L771.021 513.642C774.236 516.367 776.206 518.742 777.003 520.29L780.559 518.458ZM782.413 525.356C781.841 522.149 781.183 519.669 780.559 518.458L777.003 520.29C777.318 520.901 777.898 522.826 778.475 526.059L782.413 525.356ZM783.818 537.669C783.524 532.853 782.998 528.634 782.413 525.356L778.475 526.059C779.031 529.172 779.54 533.237 779.825 537.913L783.818 537.669ZM781.39 571.188C784.073 559.386 784.406 547.295 783.818 537.67L779.825 537.913C780.397 547.28 780.065 558.972 777.49 570.301L781.39 571.188ZM764.712 603.133C773.656 594.599 778.71 582.981 781.39 571.188L777.49 570.301C774.912 581.644 770.129 592.435 761.951 600.239L764.712 603.133ZM725.149 616.458C742.962 617.033 755.73 611.704 764.712 603.133L761.951 600.239C753.836 607.982 742.152 613.004 725.278 612.46L725.149 616.458ZM725.156 616.458L725.161 616.458L725.266 612.459L725.261 612.459L725.156 616.458ZM686.766 602.041C695.976 610.451 708.461 616.074 725.163 616.458L725.255 612.459C709.483 612.097 697.934 606.822 689.463 599.087L686.766 602.041ZM668.132 571.382C671.735 582.577 677.582 593.655 686.766 602.041L689.463 599.087C680.946 591.311 675.403 580.918 671.94 570.157L668.132 571.382ZM662.939 539.678C663.145 548.792 664.528 560.184 668.132 571.382L671.94 570.157C668.478 559.401 667.137 548.404 666.938 539.588L662.939 539.678ZM663.391 527.957C663.028 531.109 662.837 535.119 662.939 539.678L666.938 539.588C666.839 535.183 667.026 531.358 667.365 528.414L663.391 527.957ZM664.056 523.873C663.798 525.005 663.572 526.382 663.391 527.957L667.365 528.414C667.534 526.941 667.739 525.715 667.956 524.762L664.056 523.873ZM664.985 521.106C664.612 521.801 664.308 522.767 664.056 523.873L667.956 524.762C668.183 523.766 668.392 523.216 668.509 522.997L664.985 521.106ZM718.81 492.552C685.776 493.714 669.63 512.449 664.985 521.106L668.509 522.997C672.594 515.385 687.562 497.654 718.951 496.549L718.81 492.552ZM760.364 501.879C749.643 496.35 735.315 491.971 718.81 492.552L718.951 496.549C734.665 495.996 748.317 500.167 758.531 505.434L760.364 501.879ZM773.608 510.591C770.199 507.702 765.724 504.643 760.364 501.879L758.531 505.434C763.637 508.067 767.857 510.96 771.021 513.642L773.608 510.591ZM718.915 495.55C734.827 494.99 748.649 499.213 758.989 504.545L760.822 500.99C749.975 495.396 735.478 490.965 718.775 491.552L718.915 495.55ZM667.628 522.524C671.853 514.651 687.115 496.669 718.915 495.55L718.775 491.552C685.329 492.729 668.888 511.715 664.104 520.633L667.628 522.524ZM666.981 524.54C667.214 523.516 667.447 522.862 667.628 522.524L664.104 520.633C663.667 521.447 663.34 522.516 663.081 523.65L666.981 524.54ZM666.371 528.3C666.544 526.801 666.753 525.538 666.981 524.54L663.081 523.65C662.813 524.828 662.581 526.242 662.397 527.843L666.371 528.3ZM665.939 539.61C665.838 535.167 666.026 531.296 666.371 528.3L662.397 527.843C662.029 531.046 661.836 535.103 661.94 539.7L665.939 539.61ZM670.988 570.463C667.491 559.596 666.139 548.501 665.939 539.61L661.94 539.7C662.147 548.888 663.541 560.379 667.18 571.688L670.988 570.463ZM688.788 599.825C680.105 591.897 674.486 581.333 670.988 570.463L667.18 571.688C670.818 582.992 676.741 594.242 686.091 602.779L688.788 599.825ZM725.229 613.459C709.227 613.091 697.444 607.729 688.788 599.825L686.091 602.779C695.487 611.358 708.205 617.068 725.137 617.458L725.229 613.459ZM762.641 600.963C754.31 608.912 742.356 614.011 725.248 613.459L725.119 617.457C743.166 618.039 756.204 612.634 765.402 603.857L762.641 600.963ZM778.465 570.523C775.861 581.978 771.011 592.976 762.641 600.963L765.402 603.857C774.537 595.14 779.659 583.316 782.365 571.409L778.465 570.523ZM780.823 537.852C781.4 547.284 781.067 559.075 778.465 570.523L782.365 571.409C785.075 559.49 785.408 547.299 784.816 537.609L780.823 537.852ZM779.459 525.883C780.022 529.038 780.536 533.141 780.823 537.852L784.816 537.609C784.52 532.757 783.99 528.5 783.397 525.18L779.459 525.883ZM777.892 519.832C778.285 520.593 778.884 522.657 779.459 525.883L783.397 525.18C782.826 521.979 782.149 519.36 781.448 518L777.892 519.832ZM771.668 512.88C774.924 515.639 777.007 518.114 777.892 519.832L781.448 518C780.213 515.603 777.674 512.726 774.254 509.828L771.668 512.88ZM758.989 504.545C764.159 507.211 768.442 510.146 771.668 512.88L774.254 509.828C770.785 506.887 766.246 503.787 760.822 500.99L758.989 504.545Z" fill="black"/></g></g></g>',+ '<g id="{{P}}Glasses/ 12"><g id="{{P}}Group"><path id="{{P}}Path" fill-rule="evenodd" clip-rule="evenodd" d="M805.209 500.217C805.813 491.284 798.652 484 789.699 484H455C446.163 484 439 491.163 439 500V575.76C439 580.706 441.26 585.352 445.249 588.275C465.881 603.396 532.959 650 575.94 650C627.244 650 619.761 588.343 666.321 588.343C712.881 588.343 690.97 650 747.116 640.514C791.7 632.982 802.608 538.717 805.209 500.217Z" fill="white" stroke="black" stroke-width="12" stroke-linecap="round" stroke-linejoin="round"/><g id="{{P}}Group_2"><path id="{{P}}Mask" fill-rule="evenodd" clip-rule="evenodd" d="M783.642 509.995C783.893 505.509 780.3 501.847 775.807 501.847L465 501.847C460.582 501.847 457 505.428 457 509.847V561.349C457 563.759 458.047 566.008 459.946 567.493C474.566 578.927 540.245 628.47 580.546 628.47C611.607 628.47 603.397 573.489 662.087 568.491C720.777 563.492 704.644 623.472 742.954 620.14C775.033 617.35 782.169 536.288 783.642 509.995Z" fill="black"/><mask id="{{P}}mask0_0_1157" style="mask-type:alpha" maskUnits="userSpaceOnUse" x="457" y="501" width="327" height="128"><path id="{{P}}Mask_2" fill-rule="evenodd" clip-rule="evenodd" d="M783.642 509.995C783.893 505.509 780.3 501.847 775.807 501.847L465 501.847C460.582 501.847 457 505.428 457 509.847V561.349C457 563.759 458.047 566.008 459.946 567.493C474.566 578.927 540.245 628.47 580.546 628.47C611.607 628.47 603.397 573.489 662.087 568.491C720.777 563.492 704.644 623.472 742.954 620.14C775.033 617.35 782.169 536.288 783.642 509.995Z" fill="white"/></mask><g mask="url(#{{P}}mask0_0_1157)"><path id="{{P}}Path_2" d="M671.808 492.742L781.264 580.828" stroke="white" stroke-width="16" stroke-linecap="round" stroke-linejoin="round"/><path id="{{P}}Path_3" d="M696.436 478.979L805.892 567.065" stroke="white" stroke-width="8" stroke-linecap="round" stroke-linejoin="round"/></g></g><path id="{{P}}Path_4" fill-rule="evenodd" clip-rule="evenodd" d="M439 492.036L284 523V566.875L439 552V492.036Z" fill="black" stroke="black" stroke-width="12" stroke-linecap="round" stroke-linejoin="round"/></g></g>',+ '<g id="{{P}}Glasses/ 13"><g id="{{P}}Group"><path id="{{P}}Path" d="M594.966 482.529H684.378" stroke="black" stroke-width="8" stroke-linecap="round" stroke-linejoin="round"/><path id="{{P}}Path_2" d="M593 517.765C593 517.765 615.694 501 638 501C660.306 501 682.412 517.765 682.412 517.765" stroke="black" stroke-width="8" stroke-linecap="round" stroke-linejoin="round"/><path id="{{P}}Path_3" d="M510.484 517.569L293.827 555.771" stroke="black" stroke-width="16" stroke-linecap="round" stroke-linejoin="round"/><g id="{{P}}Rectangle"><path id="{{P}}Mask" fill-rule="evenodd" clip-rule="evenodd" d="M470.242 498.62C502.983 452.135 598.089 462.262 619.362 504.282C640.636 546.302 563.647 605 516.916 605C470.186 605 437.501 545.106 470.242 498.62Z" fill="#0C0C0C"/><mask id="{{P}}mask0_0_1173" style="mask-type:alpha" maskUnits="userSpaceOnUse" x="457" y="468" width="166" height="137"><path id="{{P}}Mask_2" fill-rule="evenodd" clip-rule="evenodd" d="M470.242 498.62C502.983 452.135 598.089 462.262 619.362 504.282C640.636 546.302 563.647 605 516.916 605C470.186 605 437.501 545.106 470.242 498.62Z" fill="white"/></mask><g mask="url(#{{P}}mask0_0_1173)"><rect id="{{P}}Rectangle_2" x="549.624" y="439.067" width="210" height="28" transform="rotate(60 549.624 439.067)" fill="white"/></g></g><g id="{{P}}Rectangle_3"><path id="{{P}}Mask_3" fill-rule="evenodd" clip-rule="evenodd" d="M804.758 498.62C772.017 452.135 676.911 462.262 655.638 504.282C634.364 546.302 711.353 605 758.084 605C804.814 605 837.499 545.106 804.758 498.62Z" fill="#0C0C0C"/><mask id="{{P}}mask1_0_1173" style="mask-type:alpha" maskUnits="userSpaceOnUse" x="652" y="468" width="166" height="137"><path id="{{P}}Mask_4" fill-rule="evenodd" clip-rule="evenodd" d="M804.758 498.62C772.017 452.135 676.911 462.262 655.638 504.282C634.364 546.302 711.353 605 758.084 605C804.814 605 837.499 545.106 804.758 498.62Z" fill="white"/></mask><g mask="url(#{{P}}mask1_0_1173)"><rect id="{{P}}Rectangle_4" x="739.624" y="439.067" width="210" height="28" transform="rotate(60 739.624 439.067)" fill="white"/></g></g><path id="{{P}}Path_4" fill-rule="evenodd" clip-rule="evenodd" d="M470.242 498.62C502.983 452.135 598.089 462.262 619.362 504.282C640.636 546.302 563.647 605 516.916 605C470.186 605 437.501 545.106 470.242 498.62Z" stroke="black" stroke-width="8" stroke-linecap="round" stroke-linejoin="round"/><path id="{{P}}Path_5" fill-rule="evenodd" clip-rule="evenodd" d="M804.758 498.62C772.017 452.135 676.911 462.262 655.638 504.282C634.364 546.302 711.353 605 758.084 605C804.814 605 837.499 545.106 804.758 498.62Z" stroke="black" stroke-width="8" stroke-linecap="round" stroke-linejoin="round"/></g></g>',+ '<g id="{{P}}Glasses/ 14"><g id="{{P}}Group"><g id="{{P}}Combined Shape"><path fill-rule="evenodd" clip-rule="evenodd" d="M712.472 491.158C747.209 486.19 789.963 490.537 796.198 496.746C802.433 502.956 802.214 540.353 783.712 560.845C772.077 573.732 708.381 574.538 681.986 566.918C673.397 564.438 666.052 553.396 659.199 543.093C652.566 533.122 646.394 523.843 640 523.69C633.575 523.537 627.416 532.89 620.768 542.986C613.965 553.317 606.65 564.425 598.014 566.918C571.62 574.538 509.918 575.725 498.289 562.845C479.787 542.353 477.568 502.956 483.803 496.746C490.038 490.537 532.791 486.19 567.528 491.158C602.266 496.125 617.492 499.934 624.533 502.029C628.93 503.338 639.435 503.892 639.435 503.892L640 503.905L640.566 503.912C646.104 503.965 651.071 503.338 655.468 502.029C662.509 499.934 677.735 496.125 712.472 491.158ZM498.054 502.71C478.459 512.404 494.273 546.047 502.977 555.74C511.682 565.434 588.217 563.153 598.905 558.021C609.594 552.889 624.642 527.651 616.626 513.395C608.61 499.14 526.556 492.446 498.054 502.71ZM777.023 555.74C785.728 546.047 801.542 512.404 781.947 502.71C753.444 492.446 671.391 499.14 663.375 513.395C655.358 527.651 670.407 552.889 681.095 558.021C691.784 563.153 768.319 565.434 777.023 555.74Z" fill="black"/><path d="M712.472 491.158L712.755 493.137L712.472 491.158ZM783.712 560.845L785.196 562.186L783.712 560.845ZM681.986 566.918L681.431 568.84L681.986 566.918ZM659.199 543.093L657.534 544.201L659.199 543.093ZM640 523.69L640.048 521.691L640 523.69ZM620.768 542.986L619.098 541.886L620.768 542.986ZM598.014 566.918L598.569 568.84L598.014 566.918ZM498.289 562.845L499.773 561.505L498.289 562.845ZM483.803 496.746L482.392 495.329L483.803 496.746ZM567.528 491.158L567.245 493.137L567.528 491.158ZM624.533 502.029L625.103 500.112V500.112L624.533 502.029ZM639.435 503.892L639.33 505.889C639.35 505.89 639.371 505.891 639.391 505.892L639.435 503.892ZM640 503.905L639.957 505.904C639.962 505.904 639.967 505.904 639.973 505.904L640 503.905ZM640.566 503.912L640.539 505.912L640.547 505.912L640.566 503.912ZM655.468 502.029L656.038 503.946L655.468 502.029ZM502.977 555.74L501.489 557.077H501.489L502.977 555.74ZM498.054 502.71L497.376 500.829C497.305 500.854 497.235 500.884 497.167 500.918L498.054 502.71ZM616.626 513.395L614.883 514.376V514.376L616.626 513.395ZM781.947 502.71L782.833 500.918C782.765 500.884 782.696 500.854 782.624 500.829L781.947 502.71ZM777.023 555.74L778.511 557.077L777.023 555.74ZM663.375 513.395L661.631 512.415L663.375 513.395ZM797.609 495.329C796.526 494.251 794.856 493.383 792.951 492.652C790.994 491.901 788.574 491.216 785.803 490.602C780.257 489.373 773.145 488.392 765.18 487.766C749.252 486.515 729.729 486.669 712.189 489.178L712.755 493.137C729.952 490.678 749.175 490.522 764.867 491.754C772.712 492.371 779.628 493.331 784.937 494.507C787.594 495.096 789.808 495.731 791.518 496.387C793.281 497.063 794.31 497.689 794.786 498.164L797.609 495.329ZM785.196 562.186C794.821 551.526 799.599 536.606 801.216 523.688C802.027 517.209 802.054 511.146 801.465 506.26C801.17 503.819 800.716 501.629 800.107 499.808C799.51 498.026 798.708 496.424 797.609 495.329L794.786 498.164C795.246 498.622 795.801 499.546 796.314 501.078C796.813 502.571 797.221 504.482 797.493 506.74C798.038 511.252 798.024 516.984 797.247 523.191C795.687 535.648 791.105 549.672 782.227 559.505L785.196 562.186ZM681.431 568.84C694.926 572.736 717.693 574.434 738.467 573.57C748.876 573.137 758.879 572.058 767.051 570.255C771.137 569.354 774.81 568.263 777.868 566.958C780.9 565.664 783.466 564.102 785.196 562.186L782.227 559.505C781.049 560.81 779.079 562.092 776.298 563.279C773.542 564.455 770.124 565.481 766.19 566.349C758.322 568.084 748.569 569.146 738.301 569.573C717.719 570.429 695.441 568.721 682.541 564.997L681.431 568.84ZM657.534 544.201C660.944 549.327 664.564 554.775 668.428 559.247C672.266 563.688 676.566 567.435 681.431 568.84L682.541 564.997C678.817 563.922 675.15 560.907 671.455 556.632C667.786 552.387 664.307 547.162 660.864 541.986L657.534 544.201ZM639.953 525.69C642.234 525.744 644.872 527.485 648.012 531.035C651.073 534.495 654.193 539.179 657.534 544.201L660.864 541.986C657.572 537.036 654.29 532.094 651.008 528.384C647.805 524.763 644.16 521.789 640.048 521.691L639.953 525.69ZM622.438 544.086C625.788 539 628.906 534.272 631.964 530.821C635.107 527.276 637.712 525.636 639.953 525.69L640.048 521.691C635.863 521.591 632.177 524.551 628.971 528.168C625.682 531.879 622.396 536.876 619.098 541.886L622.438 544.086ZM598.569 568.84C603.461 567.427 607.765 563.658 611.596 559.194C615.453 554.699 619.053 549.226 622.438 544.086L619.098 541.886C615.679 547.076 612.221 552.323 608.561 556.589C604.874 560.885 601.204 563.916 597.46 564.997L598.569 568.84ZM496.804 564.186C498.537 566.104 501.075 567.636 504.062 568.877C507.072 570.128 510.674 571.141 514.669 571.947C522.661 573.56 532.419 574.387 542.579 574.569C562.866 574.932 585.109 572.726 598.569 568.84L597.46 564.997C584.525 568.731 562.72 570.928 542.65 570.569C532.631 570.39 523.134 569.575 515.461 568.026C511.624 567.252 508.291 566.303 505.598 565.184C502.882 564.055 500.948 562.806 499.773 561.505L496.804 564.186ZM482.392 495.329C481.26 496.456 480.493 498.132 479.957 499.968C479.407 501.851 479.037 504.124 478.84 506.658C478.446 511.728 478.73 518.035 479.794 524.753C481.914 538.142 487.194 553.541 496.804 564.186L499.773 561.505C490.882 551.657 485.801 537.111 483.745 524.127C482.721 517.658 482.463 511.67 482.828 506.967C483.011 504.614 483.346 502.63 483.796 501.09C484.26 499.503 484.787 498.589 485.214 498.164L482.392 495.329ZM567.812 489.178C550.271 486.669 530.749 486.515 514.821 487.766C506.856 488.392 499.744 489.373 494.198 490.602C491.427 491.216 489.007 491.901 487.049 492.652C485.145 493.383 483.474 494.251 482.392 495.329L485.214 498.164C485.69 497.689 486.72 497.063 488.482 496.387C490.192 495.731 492.407 495.096 495.063 494.507C500.372 493.331 507.289 492.371 515.134 491.754C530.826 490.522 550.048 490.678 567.245 493.137L567.812 489.178ZM625.103 500.112C617.933 497.979 602.602 494.153 567.812 489.178L567.245 493.137C601.929 498.098 617.05 501.889 623.963 503.946L625.103 500.112ZM639.435 503.892C639.54 501.895 639.541 501.895 639.541 501.895C639.541 501.895 639.54 501.895 639.54 501.895C639.54 501.895 639.54 501.895 639.539 501.895C639.538 501.895 639.537 501.895 639.534 501.895C639.53 501.894 639.523 501.894 639.513 501.893C639.495 501.892 639.466 501.891 639.428 501.889C639.352 501.885 639.24 501.878 639.095 501.869C638.804 501.852 638.382 501.826 637.862 501.79C636.821 501.718 635.388 501.609 633.822 501.46C630.624 501.156 627.087 500.703 625.103 500.112L623.963 503.946C626.375 504.664 630.29 505.142 633.443 505.442C635.053 505.596 636.522 505.707 637.588 505.78C638.121 505.817 638.554 505.844 638.855 505.862C639.006 505.871 639.123 505.878 639.204 505.882C639.244 505.885 639.275 505.886 639.296 505.888C639.307 505.888 639.315 505.889 639.32 505.889C639.323 505.889 639.325 505.889 639.327 505.889C639.328 505.889 639.328 505.889 639.329 505.889C639.329 505.889 639.329 505.889 639.329 505.889C639.329 505.889 639.33 505.889 639.435 503.892ZM640.044 501.905L639.479 501.893L639.391 505.892L639.957 505.904L640.044 501.905ZM640.594 501.912L640.028 501.905L639.973 505.904L640.539 505.912L640.594 501.912ZM654.897 500.112C650.726 501.353 645.963 501.964 640.586 501.912L640.547 505.912C646.244 505.967 651.415 505.322 656.038 503.946L654.897 500.112ZM712.189 489.178C677.399 494.153 662.067 497.979 654.897 500.112L656.038 503.946C662.95 501.889 678.071 498.098 712.755 493.137L712.189 489.178ZM504.465 554.404C500.351 549.822 494.368 539.293 491.848 528.76C490.592 523.508 490.242 518.439 491.276 514.196C492.289 510.035 494.63 506.635 498.941 504.503L497.167 500.918C491.68 503.632 488.65 508.073 487.389 513.249C486.149 518.343 486.623 524.109 487.958 529.691C490.622 540.826 496.899 551.965 501.489 557.077L504.465 554.404ZM598.039 556.218C596.98 556.727 594.863 557.289 591.735 557.823C588.673 558.345 584.83 558.812 580.454 559.201C571.706 559.979 560.925 560.44 550.197 560.44C539.462 560.44 528.836 559.978 520.383 558.923C516.152 558.395 512.522 557.725 509.718 556.911C506.81 556.067 505.149 555.166 504.465 554.404L501.489 557.077C502.982 558.739 505.616 559.886 508.602 560.753C511.691 561.649 515.552 562.351 519.888 562.893C528.567 563.976 539.375 564.44 550.197 564.44C561.027 564.44 571.928 563.975 580.809 563.185C585.247 562.79 589.205 562.312 592.408 561.766C595.545 561.23 598.158 560.599 599.771 559.824L598.039 556.218ZM614.883 514.376C618.399 520.629 616.989 529.71 612.969 538.28C610.993 542.493 608.454 546.426 605.781 549.6C603.084 552.801 600.354 555.107 598.039 556.218L599.771 559.824C602.8 558.37 605.96 555.596 608.84 552.177C611.744 548.729 614.47 544.5 616.591 539.979C620.763 531.084 622.869 520.417 618.369 512.415L614.883 514.376ZM498.732 504.592C505.576 502.127 515.812 500.633 527.578 500.043C539.302 499.455 552.39 499.771 564.85 500.851C577.318 501.931 589.094 503.769 598.21 506.201C602.772 507.418 606.606 508.768 609.507 510.213C612.475 511.691 614.183 513.131 614.883 514.376L618.369 512.415C617.065 510.096 614.455 508.209 611.29 506.632C608.059 505.023 603.944 503.591 599.241 502.336C589.827 499.824 577.804 497.958 565.195 496.866C552.577 495.772 539.306 495.449 527.378 496.048C515.492 496.644 504.784 498.161 497.376 500.829L498.732 504.592ZM781.06 504.503C785.37 506.635 787.712 510.035 788.725 514.196C789.758 518.439 789.409 523.508 788.152 528.76C785.632 539.293 779.65 549.822 775.535 554.404L778.511 557.077C783.101 551.965 789.378 540.826 792.043 529.691C793.378 524.109 793.852 518.343 792.611 513.249C791.351 508.073 788.321 503.632 782.833 500.918L781.06 504.503ZM665.118 514.376C665.818 513.131 667.526 511.691 670.494 510.213C673.395 508.768 677.228 507.418 681.791 506.201C690.907 503.769 702.682 501.931 715.151 500.851C727.611 499.771 740.698 499.455 752.422 500.043C764.189 500.633 774.425 502.127 781.269 504.592L782.624 500.829C775.217 498.161 764.508 496.644 752.623 496.048C740.695 495.449 727.424 495.772 714.806 496.866C702.196 497.958 690.174 499.824 680.76 502.336C676.057 503.591 671.942 505.023 668.71 506.632C665.545 508.209 662.935 510.096 661.631 512.415L665.118 514.376ZM681.961 556.218C679.646 555.107 676.917 552.801 674.22 549.6C671.546 546.426 669.007 542.493 667.031 538.28C663.011 529.71 661.601 520.629 665.118 514.376L661.631 512.415C657.132 520.417 659.238 531.084 663.41 539.979C665.53 544.5 668.257 548.729 671.16 552.177C674.041 555.596 677.2 558.37 680.23 559.824L681.961 556.218ZM775.535 554.404C774.852 555.166 773.19 556.067 770.283 556.911C767.479 557.725 763.849 558.395 759.618 558.923C751.165 559.978 740.538 560.44 729.803 560.44C719.075 560.44 708.294 559.979 699.546 559.201C695.171 558.812 691.327 558.345 688.265 557.823C685.137 557.289 683.02 556.727 681.961 556.218L680.23 559.824C681.843 560.599 684.455 561.23 687.593 561.766C690.796 562.312 694.753 562.79 699.192 563.185C708.073 563.975 718.973 564.44 729.803 564.44C740.626 564.44 751.433 563.976 760.113 562.893C764.448 562.351 768.309 561.649 771.398 560.753C774.384 559.886 777.019 558.739 778.511 557.077L775.535 554.404Z" fill="black"/></g><path id="{{P}}Path" fill-rule="evenodd" clip-rule="evenodd" d="M488 509L293 541L289 550L488 530V509Z" fill="black" stroke="black" stroke-width="4" stroke-linecap="round" stroke-linejoin="round"/></g></g>',+ ],+ hair: [+ '<g id="{{P}}Hairstyle/-0" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd"></g>',+ '<g id="{{P}}Hairstyle/-1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd" stroke-linecap="round" stroke-linejoin="round"><path d="M287.145773,564.824988 L328.116663,564.824988 L366,655 C383.576343,574.554316 392.364515,528.467337 392.364515,516.739062 C392.364515,505.010788 388.008266,481.271891 379.295767,445.522372 C393.491567,432.443591 404.392978,426.6028 412,428 C428.104379,430.95793 511.120052,457.788685 550.69367,460.998791 C604.369062,465.352796 671.588059,451.214009 697.999909,444.579207 C752.614423,430.859736 776.998449,384.728522 771.151988,306.185566 C744.360446,317.004973 718.309783,320.518315 693,316.725594 C655.035325,311.036511 598.649235,281.115006 554.702003,272.17357 C493.291099,259.679002 449.510289,258.16557 427.437429,265.136605 C385.349932,278.42865 355.621462,323.201887 338.252019,399.456316 C304.849244,410.402706 284.139523,426.431348 276.122857,447.542242 C268.106191,468.653136 271.780496,507.747385 287.145773,564.824988 Z" id="{{P}}Path" stroke="#000000" stroke-width="12" fill="#000000"></path></g>',+ '<g id="{{P}}Hairstyle/-2" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd" stroke-linecap="round" stroke-linejoin="round"><path d="M636.531474,228.13477 C670.857169,243.665431 725.166891,296.973952 803.404132,362.491755 C816.410437,373.383557 842.942393,382.552972 883,390 C833,450 743,477.333333 613,472 C597.305444,471.356121 543.630254,458.087156 492.399654,439.221249 C490.674088,440.747431 489.403098,442.447013 488.585977,444.319039 C481.862828,459.721787 473.793564,504.295236 452,523 C430.206436,541.704764 398.15684,567.305201 392,580 C387.89544,588.463199 384.89544,616.463199 383,664 C365.62738,629.354885 351.294047,603.688218 340,587 C328.705953,570.311782 314.039287,563.645115 296,567 C252.289371,507.327044 242.173623,447.90566 265.652755,388.735849 C283.709479,343.23106 309.577414,319.996228 343.256562,319.031353 C343.002974,315.496838 343.314634,311.930931 344.17011,308.217487 C349.553099,284.851055 396,239 433,221 C470,203 527.562365,178.831697 636.531474,228.13477 Z" id="{{P}}Combined-Shape" stroke="#000000" stroke-width="12" fill="#000000"></path></g>',+ '<g id="{{P}}Hairstyle/-3" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd" stroke-linecap="round" stroke-linejoin="round"><path d="M468,155 C494.413508,155 517.505024,169.223139 530.033478,190.428348 C542.638883,179.566707 559.052573,173 577,173 C607.278861,173 633.192307,191.690562 643.83239,218.163736 C650.523576,216.106563 657.632562,215 665,215 C699.786693,215 728.811394,239.670025 735.533019,272.468992 C768.002006,279.12141 793,314 793,343 C793,372 789.333333,379 782,405 C774.666667,431 761.666667,458.333333 743,487 L742.487847,486.071181 C738.468171,478.85706 732.305556,469.5 724,458 C719.654204,451.982745 713.183929,446.346749 708,441 C703.288148,442.688186 700.961321,443.835284 697.999909,444.579207 C634.162314,458.31332 585.060234,463.786515 550.69367,460.998791 L543.474261,460.399732 L540.29429,460.150618 C513.724479,458.137897 460.670673,455.9739 427,477 C388.41902,501.092406 375.286815,555.63188 372.093734,571.530134 L371.83052,572.876479 L371.66972,573.747986 C369.058511,588.2233 367.192111,614.492798 366.07052,652.556479 L366,655 L328.116663,564.824988 L287.145773,564.824988 L287.123625,564.742696 C285.105011,564.913266 283.062634,565 281,565 C241.235498,565 209,532.764502 209,493 C209,462.831845 227.554139,436.997241 253.873676,426.284928 C238.060403,413.079216 228,393.214474 228,371 C228,331.235498 260.235498,299 300,299 C301.933893,299 303.849978,299.076244 305.745413,299.225891 C302.046294,290.559511 300,281.018724 300,271 C300,231.235498 332.235498,199 372,199 C381.775632,199 391.096237,200.948197 399.594739,204.477513 C409.046897,175.744373 436.100894,155 468,155 Z" id="{{P}}Path" stroke="#000000" stroke-width="12" fill="#000000"></path></g>',+ '<g id="{{P}}Hairstyle/-4" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd" stroke-linecap="round" stroke-linejoin="round"><path d="M611.547059,230.462612 C698.094118,236.925225 725,287 724.588542,333.554902 C748.638568,343.002989 766,370.025589 766,401.886689 C766,419.541793 748.333333,441.912896 713,469 C658.648092,471.689594 614.775916,470.090396 581.383471,464.202407 C514.014286,452.323402 462.038862,412.237022 441,412 C419.961138,411.762978 402.482014,416.588965 384,454 C365.517986,491.411035 385.822655,520.524164 384,551 C376.5907,588.904446 370.755044,622.451207 366.493029,651.640282 L366,655 L328.116663,564.824988 L287.145773,564.824988 C265.130495,517.303157 245,413 269,379 C293,345 310,351 346,360 C354.615309,315.384317 393.523749,291.762537 430.724791,270.310819 L433,269 C466,250 525,224 611.547059,230.462612 Z" id="{{P}}Path" stroke="#000000" stroke-width="12" fill="#000000"></path></g>',+ '<g id="{{P}}Hairstyle/-5" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd" stroke-linecap="round" stroke-linejoin="round"><path d="M623,264 C701.810134,298.151058 736.674249,344.123631 741,379 C743.95879,402.855244 738.292123,428.188578 724,455 C666,448.333333 620.333333,452 587,466 C520.819135,493.795963 452.819135,492.129296 383,461 C391.19759,494.978015 399,522 395,559 C392.333333,583.666667 384.333333,621.333333 371,672 C346.672242,617.194008 331.338909,585.527342 325,577 C318.661091,568.472658 305.994424,562.472658 287,559 C271.634723,501.922397 259,475 269,431 C279,387 315.912503,338.292045 358,325 C362.714614,323.511034 356.047947,314.177701 338,297 C388.266605,282.037882 424.375148,273.411755 446.325628,271.121621 C454.054785,270.315224 451.279576,260.274684 438,241 C508.793244,233.565961 570.459911,241.232628 623,264 Z" id="{{P}}Path" stroke="#000000" stroke-width="12" fill="#000000"></path></g>',+ '<g id="{{P}}Hairstyle/-6" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd" stroke-linecap="round" stroke-linejoin="round"><path d="M279,719 L312,727 L361,805 C345.104968,795.793015 330.104968,783.793015 316,769 C301.895032,754.206985 289.561699,737.540318 279,719 Z M343,303 C367,222.333333 442.666667,202.333333 570,243 C761,304 782,471 782,496 C782,512.666667 778.333333,533.666667 771,559 L769.377742,556.788495 C742.968282,520.931086 720.842368,498.001587 703,488 C652.173973,459.509334 588.817434,464 549,464 C509.182566,464 428.104379,430.95793 412,428 C409.688334,427.575411 401.590927,431.429106 429,448 L430.116018,448.665115 C436.887544,452.645909 447.182205,457.757538 461,464 C447.596463,464.038164 432.312171,461.806007 415.147123,457.303529 L412.503541,456.598811 C395.711977,452.076418 384.642719,448.384272 379.295767,445.522372 L380.06813,448.7074 C388.26572,482.685415 392.364515,505.362636 392.364515,516.739062 C392.364515,528.232771 383.924355,572.72458 367.044035,650.214489 L366,655 C350.666667,619.666667 338.333333,596 329,584 C315,566 300.202254,555.429256 288,559 L287.245493,559.229979 C278.745889,561.917334 258.53666,571.367129 244,589 C238.749387,595.368958 233.08272,607.368958 227,625 L226.065502,623.594497 C212.50066,603.100798 205.145493,587.902633 204,578 C200.118123,544.441696 214.597053,517.355586 214,510 C210.524124,467.177849 188,403 244,358 L246.2348,356.214 C282.6516,327.271333 314.906667,309.533333 343,303 Z" id="{{P}}Shape" stroke="#000000" stroke-width="12" fill="#000000"></path></g>',+ '<g id="{{P}}Hairstyle/-7" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd" stroke-linecap="round" stroke-linejoin="round"><path d="M429,249 C452,238 567.078089,210.731301 629,239 C751.666667,295 808,414 798,596 C706.666667,504.666667 636.333333,456.666667 587,452 C583.849456,451.701976 580.427025,451.181996 576.732706,450.440062 L578.623143,452.186178 C595.446627,467.677375 615.572664,484.948764 639,504 C565.154464,479.561802 512.897321,455.171558 482.228571,430.829268 C471.250239,422.115586 460.817679,411.645571 450.930891,399.419222 C448.886906,440.886337 443.90983,479.746614 436,516 C428.08,552.3 405.1318,598.0743 367.1554,653.3229 L366,655 L328.116663,564.824988 L287.145773,564.824988 C261.048591,494.941663 255,439.333333 269,398 C283,356.666667 311.333333,337.666667 354,341 C365.105394,298.268435 390.105394,267.601768 429,249 Z" id="{{P}}Path" stroke="#000000" stroke-width="12" fill="#000000"></path></g>',+ '<g id="{{P}}Hairstyle/-8" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd" stroke-linecap="round" stroke-linejoin="round"><path d="M589.5,149 C631.429764,149 667.646435,173.46066 684.658775,208.890741 C721.09813,214.498985 749,245.991077 749,284 C749,286.479516 748.88126,288.931299 748.649157,291.349973 C776.884031,307.885612 799.44561,330.956745 794,360 C786,402.666667 760.666667,438 718,466 L715.0861,463.567 C683.962033,437.635667 661.933333,421.113333 649,414 C615.112376,395.361807 560.361457,389 532,389 C494.328727,389 459.328727,395.666667 427,409 C427.442658,419.124205 429.109325,429.457538 432,440 C434.890675,450.542462 438.890675,460.875795 444,471 C418.42303,487.163731 403.86212,499.704664 400.317272,508.622798 C395.053173,521.866228 390.816933,592.760589 386.449154,651.362106 L386.17725,655 L366.146153,655 L328.203914,564.824988 L287.169322,564.824988 C281.896276,545.26754 277.997962,527.821458 275.474381,512.486743 C230.854476,504.457464 197,465.4323 197,418.5 C197,388.97181 210.401273,362.573655 231.453484,345.055871 C227.349851,337.983222 225,329.766029 225,321 C225,294.490332 246.490332,273 273,273 L273.516848,273.002725 L273.516848,273.002725 C278.783823,219.66548 323.776164,178 378.5,178 C395.981022,178 412.469019,182.251645 426.986338,189.77728 C440.350453,178.084255 457.847918,171 477,171 C490.487831,171 503.155028,174.513552 514.136247,180.675313 C533.28305,161.128247 559.975173,149 589.5,149 Z" id="{{P}}Path" stroke="#000000" stroke-width="12" fill="#000000"></path></g>',+ '<g id="{{P}}Hairstyle/-9" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd" stroke-linecap="round" stroke-linejoin="round"><path d="M600.328004,173.378628 C706.51335,164.088614 796.476165,200.935719 801.265577,255.678942 C803.695286,283.450641 783.737843,310.49297 749.618561,331.611505 C765.063752,338.699548 774.521929,348.01487 775.46916,358.841774 C776.714595,373.077161 763.016568,387.294038 739.738901,398.89906 L740.480755,402.50703 C740.650616,403.32637 740.823745,404.157384 741,405 C746.333333,406.333333 749,411.666667 749,421 C749,430.333333 737,447 713,471 C701.666667,455.666667 690,445.333333 678,440 C666.920655,435.075847 654.532414,432.679571 640.835277,432.811173 C637.222979,442.406663 631.069509,450.272246 622.5,455.219854 C608.589242,463.251234 591.202794,461.924641 575.013121,453.322279 C570.690288,458.087969 565.680763,462.179157 560,465.458947 C538.447788,477.902122 511.612082,476.138657 486.418588,463.265159 L485.395785,464.617496 C480.437333,471.120347 474.397833,478.222483 465,486 C445.666667,502 416.333333,512 377,516 L391,672 L371,672 L325,562 L289,568 C273.634723,510.922397 239,431 256,379 C266.31189,347.457747 308.818577,301.919892 356,277 C356.84754,276.552353 357.701097,276.115198 358.559964,275.688267 C352.18227,272.103338 343.995473,268.20694 334,264 C351.648204,258 368.981537,255 386,255 C397.257459,255 408.50684,256.312688 419.748142,258.938063 L421.437432,258.728011 C421.992551,258.660372 422.539594,258.595072 423.078261,258.531995 C444.228158,216.299002 514.42929,180.893791 600.328004,173.378628 Z" id="{{P}}Path" stroke="#000000" stroke-width="12" fill="#000000"></path></g>',+ '<g id="{{P}}Hairstyle/-10" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd" stroke-linecap="round" stroke-linejoin="round"><path d="M372.389019,247.786108 C470.684335,198.180121 573.70651,196.436019 608.362378,256.461743 C610.594634,260.328124 612.477899,264.333125 614.022301,268.457607 C631.340767,263.485869 647,261 661,261 C682,261 743,269 760,290 C777,311 777,343 753,387 C737,416.333333 714,434 684,440 C625.671273,414 577.671273,401 540,401 C502.328727,401 464.662061,403.666667 427,409 C427.442658,419.124205 429.109325,429.457538 432,440 C434.890675,450.542462 438.890675,460.875795 444,471 C418.42303,487.163731 403.86212,499.704664 400.317272,508.622798 C395,522 390.731457,594.198681 386.316755,653.134075 L386.17725,655 L366.146153,655 L328.203914,564.824988 L287.169322,564.824988 C280.297784,539.338819 275.760795,517.438139 273.558355,499.122947 C267.794015,498.334154 260.905776,498.267484 252.894736,498.92407 L252,499 L242.594545,455.98087 L211.196591,446.233717 C244.398864,351.411239 298.129673,285.262036 372.389019,247.786108 Z" id="{{P}}Path" stroke="#000000" stroke-width="12" fill="#000000"></path></g>',+ '<g id="{{P}}Hairstyle/-11" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd" stroke-linecap="round" stroke-linejoin="round"><path d="M287.145773,564.824988 L328.116663,564.824988 L366,655 C368,609 370.666667,578.666667 374,564 C377.333333,549.333333 386,536 400,524 C404.686858,511.205454 408.020191,498.538788 410,486 C411.979809,473.461212 412.646475,460.794546 412,448 C431.277968,442.027683 448.944635,435.027683 465,427 C481.055365,418.972317 496.055365,409.638984 510,399 C541.018923,414.567133 564.018923,423.900467 579,427 C598.333333,431 625.666667,431 661,427 C677,435 690.333333,444.666667 701,456 C711.666667,467.333333 719.333333,477 724,485 C739.337022,483.068501 749.003689,474.068501 753,458 C758.994467,433.897248 749.308457,421.45399 753,385 C755.461029,360.69734 761.794362,334.364006 772,306 C756.671455,311.760083 745.671455,315.093417 739,316 C713.953321,319.403591 695.432317,316 684,316 C636.89228,316 645,282 615,272 C595,265.333333 574.900668,265.39119 554.702003,272.17357 C537.058392,259.349997 518.824391,250.958807 500,247 C481.175609,243.041193 457.508942,242.041193 429,244 C432.618992,252.559514 429.952325,263.892847 421,278 C407.571512,299.160729 404,300 392,311 C380,322 362,318 347,335 C337,346.333333 333,359.666667 335,375 C327.529566,375.74088 320.196232,377.74088 313,381 C305.803768,384.25912 299.470434,389.592453 294,397 C316.094259,401.247038 325.477218,404.098045 322.148877,405.553022 C298.10323,416.064523 271.638366,440.518688 265,458 C256.983334,479.110894 264.365258,514.719224 287.145773,564.824988 Z" id="{{P}}Path" stroke="#000000" stroke-width="12" fill="#000000"></path></g>',+ '<g id="{{P}}Hairstyle/-12" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd" stroke-linecap="round" stroke-linejoin="round"><path d="M287.145773,564.824988 L328.116663,564.824988 L366,655 C383.576343,574.554316 392.364515,528.467337 392.364515,516.739062 C392.364515,499.14665 355.591535,476.044745 379.295767,445.522372 C403,415 437.22161,410.877439 476,418 C525,427 543,431 583,429 C609.666667,427.666667 645.666667,418.666667 691,402 C642.333333,341.333333 575,313.333333 489,318 C360,325 288.147856,415.875901 276.122857,447.542242 C268.106191,468.653136 271.780496,507.747385 287.145773,564.824988 Z" id="{{P}}Path" stroke="#000000" stroke-width="12" fill="#000000"></path></g>',+ '<g id="{{P}}Hairstyle/-13" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd" stroke-linecap="round" stroke-linejoin="round"><g id="{{P}}Group" transform="translate(266.170240, 340.000000)" stroke="#000000" stroke-width="12"><path d="M20.9755327,224.824988 L61.9464226,224.824988 L99.82976,315 C117.406103,234.554316 126.194275,188.467337 126.194275,176.739062 C126.194275,159.14665 89.4212949,136.044745 113.125527,105.522372 C124.789561,90.5033682 139.00015,81.8765075 155.047131,77.8362154 C171.611628,73.6656236 192.82976,42 154.82976,25 C116.82976,8 8.82976,56 0.829760002,115 C-2.50467269,139.591441 4.21058488,176.19977 20.9755327,224.824988 Z" id="{{P}}Path" fill="#000000"></path><path d="M156.82976,10 C170.163093,11.3333333 180.163093,18.3333333 186.82976,31 C193.496427,43.6666667 193.496427,57 186.82976,71" id="{{P}}Path"></path><path d="M179.82976,4 C193.163093,5.33333333 203.163093,12.3333333 209.82976,25 C216.496427,37.6666667 216.496427,51 209.82976,65" id="{{P}}Path"></path><path d="M202.82976,0 C216.163093,1.33333333 226.163093,8.33333333 232.82976,21 C239.496427,33.6666667 239.496427,47 232.82976,61" id="{{P}}Path"></path><path d="M225.82976,0 C239.163093,1.33333333 249.163093,8.33333333 255.82976,21 C262.496427,33.6666667 262.496427,47 255.82976,61" id="{{P}}Path"></path><path d="M248.82976,0 C262.163093,1.33333333 272.163093,8.33333333 278.82976,21 C285.496427,33.6666667 285.496427,47 278.82976,61" id="{{P}}Path"></path><path d="M271.82976,0 C285.163093,1.33333333 295.163093,8.33333333 301.82976,21 C308.496427,33.6666667 308.496427,47 301.82976,61" id="{{P}}Path"></path><path d="M294.82976,4 C308.163093,5.33333333 318.163093,12.3333333 324.82976,25 C331.496427,37.6666667 331.496427,51 324.82976,65" id="{{P}}Path"></path><path d="M317.82976,6 C331.163093,7.33333333 341.163093,14.3333333 347.82976,27 C354.496427,39.6666667 354.496427,53 347.82976,67" id="{{P}}Path"></path><path d="M355.82976,51 L352.82976,22 C366.163093,23.3333333 376.163093,30.3333333 382.82976,43 C387.885083,52.6051144 389.106963,62.5935731 386.495398,72.9653763 L355.82976,51 Z" id="{{P}}Path" fill="#000000"></path></g></g>',+ '<g id="{{P}}Hairstyle/-14" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd" stroke-linecap="round" stroke-linejoin="round"><path d="M680,270 L679.806266,273.160795 L679.609741,276.222241 C676.345951,325.933738 670.441789,361.331655 661.897254,382.415992 L665,379 C669.818582,386.792186 673.818582,395.125519 677,404 C680.036808,412.471095 682.300877,421.360277 683.792209,430.667546 L684,432 L647.608374,403.073582 L646.227511,404.133406 C623.904333,421.217179 612.675037,427.272787 580,434 C546,441 506.08243,434.920906 459.455985,426.268797 L451.257015,424.759716 L448.245051,424.21248 L445.41424,423.708943 C415.372753,418.440663 400.260881,418.526982 379.295767,445.522372 C355.591535,476.044745 392.364515,499.14665 392.364515,516.739062 C392.364515,528.232771 383.924355,572.72458 367.044035,650.214489 L366,655 L328.116663,564.824988 L287.145773,564.824988 C271.780496,507.747385 268.106191,468.653136 276.122857,447.542242 L276.870382,445.586062 L277.654986,443.563497 C290.903153,409.703973 325.666429,336.148175 426,325 L435.080765,323.995517 C514.214015,315.281244 517.115218,315.984459 542.209426,309.027564 L547.418732,306.77818 C558.682042,301.897336 567.859264,297.801723 574.951761,294.49076 L579.663186,292.275583 C592.167897,286.37506 607.613502,278.949866 626,270 L613.81,288.755 L680,270 Z" id="{{P}}Path" stroke="#000000" stroke-width="12" fill="#000000"></path></g>',+ '<g id="{{P}}Hairstyle/-15" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd" stroke-linecap="round" stroke-linejoin="round"><path d="M287.145773,564.824988 L328.116663,564.824988 L366,655 C370.666667,589.394941 373,550.728275 373,539 C373,521.407588 342.295767,484.522372 366,454 C377.664033,438.980996 400.953019,418.040292 417,414 C433.564497,409.829408 298,383 268,471 C248,529.666667 254.381924,560.941663 287.145773,564.824988 Z" id="{{P}}Path" stroke="#000000" stroke-width="12" fill="#000000"></path></g>',+ '<g id="{{P}}Hairstyle/-16" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd" stroke-linecap="round" stroke-linejoin="round"><path d="M680,270 L679.806266,273.160795 L679.609741,276.222241 C676.345951,325.933738 670.441789,361.331655 661.897254,382.415992 L665,379 C669.818582,386.792186 673.818582,395.125519 677,404 C680.036808,412.471095 682.300877,421.360277 683.792209,430.667546 L684,432 L647.608374,403.073582 L646.227511,404.133406 C623.904333,421.217179 596,424 566,426 C536,428 482,398 432,417 L429.971262,417.77676 C397.704706,430.224906 374.714286,443.632653 361,458 C356.333333,428 357.666667,403.666667 365,385 C379.510786,348.063453 390,343 418,330 C438.058836,320.686969 480.244847,317.524486 511.786457,313.921997 L513.399437,313.238049 C525.910091,307.918682 535.498317,303.497614 542.163934,299.974359 C550.727737,295.447778 560.673092,289.122991 572,281 L565.694485,298.726128 L568.187462,297.600041 C570.620882,296.496371 572.875637,295.459949 574.951761,294.49076 L579.663186,292.275583 L586.160616,289.198266 C597.398123,283.857643 610.677918,277.458221 626,270 L613.81,288.755 L680,270 Z" id="{{P}}Path" stroke="#000000" stroke-width="12" fill="#000000"></path></g>',+ '<g id="{{P}}Hairstyle/-17" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd" stroke-linecap="round" stroke-linejoin="round"><path d="M689,291 C695,322.333333 698,353.666667 698,385 C698,416.333333 693.333333,434.666667 684,440 C640.666667,406 587.666667,389 525,389 C431,389 374.714286,443.632653 361,458 C356.333333,428 353.666667,417.666667 361,399 C375.510786,362.063453 397,357 425,344 C445.058836,334.686969 505.097784,322.392379 561,306 C598.268144,295.071747 640.93481,290.071747 689,291 Z" id="{{P}}Path" stroke="#000000" stroke-width="12" fill="#000000"></path></g>',+ '<g id="{{P}}Hairstyle/-18" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd" stroke-linecap="round" stroke-linejoin="round"><path d="M761,317 C805,388 810,450 809.87628,559 C809.820256,606.166783 801.152835,693.83345 783.874017,822 L683.874017,822 C720.956593,800.210827 746.623259,765.877494 760.874017,719 C782.250154,648.68376 783.874017,605 771.874017,552 C763.874017,516.666667 680.53461,482.720366 649,454 C627.976927,434.85309 609.643593,413.519756 594,390 C562,440 525.333333,478 484,504 C422,543 382.003665,540.91532 304,565 C252.666667,579 226.874017,595.666667 226.874017,639 C226.874017,682.333333 252.540684,711 303.874017,725 C313.306229,745.813537 324.306229,763.14687 336.874017,777 C345.12749,786.097578 363.460823,801.097578 391.874017,822 L202.874017,822 C155.937523,605.42859 180.063506,437.761923 227,347 C273.467129,257.145696 375,186 511,186 C647,186 717,246 761,317 Z" id="{{P}}Path" stroke="#000000" stroke-width="12" fill="#000000"></path></g>',+ '<g id="{{P}}Hairstyle/-19" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd" stroke-linecap="round" stroke-linejoin="round"><path d="M715,783 C769.666667,772.333333 820.666667,743.333333 868,696 C915.333333,648.666667 953.666667,558.666667 983,426 C929.666667,426.666667 880,414.333333 834,389 C765,351 741,280 661,241 C581,202 461,201 358,253 C255,305 227,380 204,480 C181,580 212,651 253,711 C280.333333,751 326.566025,785.776632 391.698074,815.329897 C380.566025,808.443299 366,794.666667 348,774 C330,753.333333 318,735 312,719 C258.666667,708.333333 232,682 232,640 C232,598 256,573 304,565 C360.331388,536.962528 403.56408,514.405827 433.698074,497.329897 C463.832069,480.253967 510.832069,447.5873 574.698074,399.329897 C565.822413,415.742124 557.155746,428.408791 548.698074,437.329897 C540.240402,446.251003 522.907069,460.584336 496.698074,480.329897 C531.566025,468.776632 557.666667,456.666667 575,444 C592.333333,431.333333 610.333333,416.333333 629,399 C656.534617,398.780069 693.201284,425.780069 739,480 C780.27108,528.859778 794.612271,600.08834 772,683 C764,712.333333 745,745.666667 715,783 Z" id="{{P}}Path" stroke="#000000" stroke-width="12" fill="#000000"></path></g>',+ '<g id="{{P}}Hairstyle/-20" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd" stroke-linecap="round" stroke-linejoin="round"><path d="M232,126 C292.220249,126 344.152059,161.487028 368.024158,212.689811 C410.238527,194.447151 459.304239,186 515,186 C629.125983,186 703.747536,236.594939 747,304 C779.083989,354 792.083989,420.666667 786,504 L782.3412,503.1612 C722.927067,489.4804 680.48,476.76 655,465 L653.4276,464.2712 C627.542533,452.223733 591.733333,433.133333 546,407 C523.282962,464.400495 502.949629,505.067161 485,529 C461,561 425.666667,593 379,625 C368.637704,603.721586 361.637704,590.721586 358,586 C352.543445,578.917621 333.32,563.08 300,567 C277.333333,569.666667 249,596 240,625 C216.02868,569.081696 198.509382,476.747877 207.442105,423.998542 C136.28321,412.281762 82,350.480143 82,276 C82,193.157288 149.157288,126 232,126 Z" id="{{P}}Path" stroke="#000000" stroke-width="12" fill="#000000"></path></g>',+ '<g id="{{P}}Hairstyle/-21" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd" stroke-linecap="round" stroke-linejoin="round"><path d="M232,126 C292.220249,126 344.152059,161.487028 368.024158,212.689811 C410.238527,194.447151 459.304239,186 515,186 C629.125983,186 703.747536,236.594939 747,304 C768.389326,337.333333 781.389326,393.666667 786,473 L680,473 L650,408 L650,473 L532,473 L500,392 L503,473 L385,473 C389.666667,493.666667 391,512.333333 389,529 C386,554 361.052092,589.961487 358,586 C352.543445,578.917621 333.32,563.08 300,567 C277.333333,569.666667 249,596 240,625 C216.02868,569.081696 198.509382,476.747877 207.442105,423.998542 C136.28321,412.281762 82,350.480143 82,276 C82,193.157288 149.157288,126 232,126 Z" id="{{P}}Combined-Shape" stroke="#000000" stroke-width="12" fill="#000000"></path></g>',+ '<g id="{{P}}Hairstyle/-22" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd" stroke-linecap="round" stroke-linejoin="round"><path d="M425,201 C310,212 211,280 158,422 C105,564 161.287214,689.773572 175,784 C184.141857,846.817619 161.141857,921.484285 106,1008 C192.864732,1027.85309 254.864732,1035.51975 292,1031 C329.135268,1026.48025 373.468601,1000.48025 425,953 C420.886316,904.364395 414.552982,870.031062 406,850 C391.145409,815.210588 353.469806,793.84117 344,784 C326.351402,765.6593 313.018068,743.992633 304,719 C256,709.666667 232,683 232,639 C232,573 284,568 304,566 C324,564 340,568 354,587 C363.333333,599.666667 369,610.333333 371,619 C389.482917,586.176997 401.149584,559.510331 406,539 C410.850416,518.489669 410.850416,495.823003 406,471 C464.666667,471 506.666667,464 532,450 C557.333333,436 583,415.333333 609,388 C644.333333,398.666667 672.666667,414 694,434 C715.333333,454 740.333333,491 769,545 C767,451.666667 744.666667,379 702,327 C638,249 540,190 425,201 Z" id="{{P}}Path" stroke="#000000" stroke-width="12" fill="#000000"></path></g>',+ '<g id="{{P}}Hairstyle/-23" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd" stroke-linecap="round" stroke-linejoin="round"><path d="M425,196 C310,207 195,273 147,449 C99,625 172,871 181,929 C184.992032,954.726429 206.325365,982.726429 245,1013 C245.200048,1003.91039 246.866714,996.910389 250,992 C254.482715,984.974827 271.149382,995.641493 300,1024 C300.362042,1010.9005 301.362042,1004.23383 303,1004 C312.172314,1002.69058 329.838981,1012.69058 356,1034 C355.842315,1023.20358 356.842315,1017.87025 359,1018 C367.337025,1018.50135 381.003692,1028.83469 400,1049 C410,1020.33333 416,992 418,964 C422.08731,906.777664 371.10908,800.583946 359,788 C341.351402,769.6593 325.684735,746.6593 312,719 C258.666667,709.666667 232,683 232,639 C232,573 284,566 304,566 C324,566 333.617614,574.224729 349,588 C359.254924,597.183514 366.588257,609.516847 371,625 C398.333333,577.666667 416.333333,539.333333 425,510 C433.666667,480.666667 442.666667,442.333333 452,395 C478.180222,414.443429 496.846889,427.443429 508,434 C536.004641,450.463067 558.791358,457.829448 570,463 C576.596672,466.043048 541.16552,393.430455 546,395 C551.379054,396.746345 606.281754,478.779649 611,481 C628,489 649.949411,498.072787 675,504 C691.279294,507.851839 719.279294,511.851839 759,516 C765.666667,418 747.666667,343 705,291 C641,213 540,185 425,196 Z" id="{{P}}Path" stroke="#000000" stroke-width="12" fill="#000000"></path></g>',+ '<g id="{{P}}Hairstyle/-24" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd" stroke-linecap="round" stroke-linejoin="round"><path d="M781,289.497769 C798.103709,316.997454 825.17172,336.301089 841,364 C865.890626,407.557684 868.077011,462.61072 868,529 C867.9675,557.017942 882.693139,582.736765 881,600 C876.129956,649.654956 859.837727,658.601446 868,683 C875.333333,704.9207 892,713.587367 918,709 C879.594389,742.832207 847.927723,762.832207 823,769 C798.072277,775.167793 764.738944,778.128143 723,777.88105 C752.333333,741.246882 771.666667,693.702197 781,635.246996 C787.192253,596.464564 768.614679,548.940715 764,528.632681 C756,493.426708 705,479.809303 671,458.884998 C648.333333,444.935462 632.333333,425.339684 623,400.097666 C619.930775,398.204518 609.503486,418.456691 578,448.921044 C556.997676,469.230612 531.664342,481.851621 502,486.784071 C522,461.542053 533.666667,441.282012 537,426.003948 C540.333333,410.725884 536.333333,390.133711 525,364.227429 C527,394.783556 522.333333,421.02197 511,442.942671 C499.666667,464.863371 479.666667,482.466358 451,495.751631 C459.984865,482.167128 463.984865,464.564141 463,442.942671 C462.109292,423.388296 457.109292,400.803332 448,375.187779 C446.738771,415.491033 444.405438,444.386502 441,461.874185 C432.896469,503.487621 336,623.290251 357,653.182115 C371,673.110024 395.666667,683.049319 431,683 C409,700.333333 389,712.333333 371,719 C344,729 285.006413,721.830457 312,729.165808 C321.432212,749.904322 324.306229,752.229245 336.874017,766.032441 C349.254226,779.629619 251,793.931514 185,775 C141,762.378991 111.333333,743.447477 96,718.205458 C119.330285,723.999457 128.663618,723.999457 124,718.205458 C117.31189,709.896266 101.978557,695.282466 78,674.364058 C110.615651,683.475632 131.282317,681.15071 140,667.389289 C157.219175,640.207719 139.708942,582.818574 140,557.52815 C140.291796,532.173599 161.203267,500.097769 173,461.874185 C181.216606,435.25087 180.158048,400.228294 185,385.151734 C209,310.422073 252.196553,275.33175 292,247.649159 C316.914685,230.321438 337,180.890663 393,159.966358 C449,139.042053 472.944616,159.966358 512,159.966358 C529.495144,159.966358 548.056153,149.154015 564,151 C671.997018,163.503936 742.660193,227.854262 781,289.497769 Z" id="{{P}}Path" stroke="#000000" stroke-width="12" fill="#000000"></path></g>',+ '<g id="{{P}}Hairstyle/-25" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd" stroke-linecap="round" stroke-linejoin="round"><path d="M227,151 C291,143 344.152059,161.487028 368.024158,212.689811 C410.238527,194.447151 459.304239,186 515,186 C629.125983,186 703.747536,236.594939 747,304 C779.083989,354 792.083989,420.666667 786,504 L782.3412,503.1612 C722.927067,489.4804 699,484 661,460 C635.666667,444 602.333333,419.666667 561,387 C524.333333,437 495.333333,470 474,486 C442,510 357,547 304,565 C251,583 232,598 232,648 C232,681.333333 258.666667,705 312,719 C325.996223,746.033167 340.996223,769.366501 357,789 C373.003777,808.633499 393.003777,825.633499 417,840 C335.666667,855.333333 262.333333,855.333333 197,840 C131.666667,824.666667 79.3333333,791 40,739 C94.6666667,735 127.666667,710.333333 139,665 C169.469054,543.123784 93,519 93,379 C93,239 147.699952,160.912506 227,151 Z" id="{{P}}Path" stroke="#000000" stroke-width="12" fill="#000000"></path></g>',+ '<g id="{{P}}Hairstyle/-26" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd" stroke-linecap="round" stroke-linejoin="round"><path d="M487,151 C427,151 384.333333,172 359,214 C296.333333,203.333333 247.333333,240.333333 212,325 C195.310801,364.9911 183.123542,443.781562 177.139241,514.209636 C176.032219,527.237964 143.671718,580.842552 143,593 C142.125246,608.832205 166,573 162,601 C158,629 101.886181,702.105283 98,719 C89.1502686,757.47317 141.202125,724.54595 126.463139,765.684225 C100.36018,838.54071 79.9331748,911.175609 118,968 C187,1071 218,959 292,1006 C316.905043,1021.81807 332.783103,1042.82454 353,1053 C371.603237,1062.36328 397.269904,1068.36328 430,1071 C432.920062,1039.21323 430.253395,1011.87989 422,989 C418.708727,979.876001 410.708727,968.876001 398,956 C407.333333,928 413,900 415,872 C419.08731,814.777664 371.10908,800.583946 359,788 C341.351402,769.6593 325.684735,746.6593 312,719 C258.666667,709.666667 232,683 232,639 C232,573 286,566 311,566 C327.666667,566 343.666667,570 359,578 C374.333333,558 383.333333,533.333333 386,504 C388.666667,474.666667 426.666667,435 500,385 C536,409.666667 567.333333,427.333333 594,438 C637.34805,455.33922 687.324701,439.86525 708,461 C738,491.666667 759.333333,536.666667 772,596 C789.333333,459.333333 776,357.666667 732,291 C666,191 577,151 487,151 Z" id="{{P}}Path" stroke="#000000" stroke-width="12" fill="#000000"></path></g>',+ '<g id="{{P}}Hairstyle/-27" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd" stroke-linecap="round" stroke-linejoin="round"><path d="M469,157 C744,136 814,448 814,525 C814,602 789.644252,616.859223 788,639 C785.528757,672.27668 773.195423,693.27668 751,702 C763,642 765,594.333333 757,559 C749,523.666667 715.53461,470.720366 684,442 C662.976927,422.85309 632.976927,406.85309 594,394 L592.84354,395.787816 C574.012521,424.789816 565,457 540,472 C518.954181,484.627491 457.552319,502.442896 436,516 C406.059704,534.833412 324,689 392,769 C437.333333,822.333333 443,926 409,1080 L37,1080 C72.9628691,984.988198 82.9628691,900.654864 67,827 C54.8790322,771.072195 91.0558208,712.460647 108,637 C124.528113,563.392299 96,516 121,442 C146,368 194,178 469,157 Z" id="{{P}}Path" stroke="#000000" stroke-width="12" fill="#000000"></path></g>',+ '<g id="{{P}}Hairstyle/-28" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd" stroke-linecap="round" stroke-linejoin="round"><path d="M425,196 C369.371405,197.394264 321.704738,213.394264 282,244 C234,281 212.790628,318.280161 191,432 C159,599 246.355671,701.134025 256,759 C263.333333,803 249.666667,844.666667 215,884 C229.168594,885.535908 239.501927,885.535908 246,884 C252.498073,882.464092 260.498073,878.130759 270,871 C279.337124,874.971593 286.670457,879.304927 292,884 C297.329543,888.695073 303.99621,896.695073 312,908 C321.175649,895.20358 326.842315,888.870246 329,889 C337.337025,889.501352 351.003692,899.834686 370,920 C372.666667,905.333333 375,884 377,856 C381.08731,798.777664 371.10908,800.583946 359,788 C341.351402,769.6593 325.684735,746.6593 312,719 C258.666667,709.666667 232,683 232,639 C232,573 284,566 304,566 C324,566 380,521 400,484 C420,447 426.047642,421.940121 464,397 C499,374 545.893005,372.833094 570,379 C585.301554,382.914351 623.756286,392.061921 649,407 C694.695468,434.040495 738.610985,482.855197 745,501 C770,572 782,625 768,674 C754,723 728,772 702,797 C676,822 648,828 649,832 C650,836 652.171627,854.998729 669,864 C675.031969,867.226419 687.031969,873.893086 705,884 C705.553593,876.867438 706.22026,872.534104 707,871 C710.402492,864.30575 714.895035,863.144676 717,864 C725.989227,867.652653 717.46465,880.184372 722,889 C725.60597,896.009138 733.272637,903.675805 745,912 C743.128399,898.233341 746.795066,893.900008 756,899 C759.869726,901.144021 772.852634,925.699856 775,928 C782.361496,935.885243 795.544616,945.023979 802,949 C806.904247,952.02064 819.23758,961.02064 839,976 C859.00923,950.338628 872.00923,929.671961 878,914 C920.364208,803.174485 915.950142,695.600312 878,612 C809,460 843,407 782,298 C745.277286,232.380724 684,170 570,156 C494,146.666667 445.666667,160 425,196 Z" id="{{P}}Path" stroke="#000000" stroke-width="12" fill="#000000"></path></g>',+ '<g id="{{P}}Hairstyle/-29" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd" stroke-linecap="round" stroke-linejoin="round"><path d="M761,317 C805,388 820.125983,447 820.004537,556 C819.946997,603.166783 803.945484,729.83345 772,936 C756.845538,916.396149 746.221312,902.652622 740.127322,894.769421 C737.275241,891.079962 737.232801,867.490155 740,824 C726.582863,853.713368 718.718644,867.0751 716.407344,864.085196 C709.177716,854.73293 694.041934,839.371198 671,818 C713,782 740.333333,749 753,719 C781.211752,652.182692 778,605 766,552 C758,516.666667 680.53461,482.720366 649,454 C627.976927,434.85309 601.643593,412.186423 570,386 C535.260269,430.221458 508.926936,459.888125 491,475 C470.948368,491.902931 404,536 392,552 C380,568 366,596 381,696 C387.274253,737.828352 404.607586,817.828352 433,936 C405.41871,913.8889 385.815206,898.168716 374.189489,888.839449 C372.222584,887.26107 369.492755,870.647921 366,839 C357.880478,860.509922 352.880478,870.509922 351,869 C327.79041,850.363952 315.029602,841.316058 301,830 C297.231922,826.960727 294.231922,792.29406 292,726 C283.11512,783.588053 276.448453,810.588053 272,807 C256.702243,794.661068 234.702243,772.327735 206,740 C159.063506,523.42859 185.063506,407.761923 232,317 C278.467129,227.145696 379,176 515,176 C651,176 717,246 761,317 Z" id="{{P}}Path" stroke="#000000" stroke-width="12" fill="#000000"></path></g>',+ '<g id="{{P}}Hairstyle/-30" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd" stroke-linecap="round" stroke-linejoin="round"><path d="M761,317 C805,388 820.125983,447 820.004537,556 C819.946997,603.166783 803.945484,773.166783 772,1066 L609,859 C645.320405,841.585441 670.320405,826.252108 684,813 C716,782 740.763406,753.438362 749,734 C774,675 778,605 766,552 C758,516.666667 680.53461,491.720366 649,463 C627.976927,443.85309 609.643593,419.85309 594,391 C570,427 542,458.666667 510,486 C490.019849,503.066379 412,543 400,559 C388,575 366,596 381,696 C387.274253,737.828352 404.607586,861.161685 433,1066 L206,860 C159.063506,643.42859 185.063506,407.761923 232,317 C278.467129,227.145696 379,176 515,176 C651,176 717,246 761,317 Z" id="{{P}}Path" stroke="#000000" stroke-width="12" fill="#000000"></path></g>',+ '<g id="{{P}}Hairstyle/ 31"><path id="{{P}}Path" fill-rule="evenodd" clip-rule="evenodd" d="M304.306 565.52C337.243 585.751 365.511 672.712 365.511 672.712C365.511 672.712 365.252 601.808 393 560C420.749 518.192 460.001 483 460.001 483C460.001 483 453.001 467 444.44 451.95C435.88 436.899 399.899 409.29 399.899 409.29C399.899 409.29 582.534 466.231 642.612 454.357C702.69 442.484 749.621 420.302 780.515 364.949C811.409 309.595 816.59 213.248 816.59 213.248C816.59 213.248 733.414 266.466 695.832 260.494C658.25 254.523 639.768 238.18 619.952 207.908C612.261 196.159 593.16 162.47 593.16 162.47C593.16 162.47 586.419 185.366 586.817 192.079C588.205 215.501 593.616 219.059 585.681 214.893C569.218 206.25 551.73 197.141 533.324 187.407C519.054 179.861 497.63 150.783 497.63 150.783C497.63 150.783 491.035 170.889 493.648 185.455C495.292 194.615 510.821 224.307 510.821 224.307C510.821 224.307 485.652 199.471 442.094 198.945C416.855 198.641 380.949 210.817 333.977 222.605C326.905 224.38 311.824 221.908 311.824 221.908L354.267 245.388C354.267 245.388 274.534 271.192 255.789 297.105C249.4 305.936 240.401 317.865 232.782 334.906C225.497 351.2 211.516 400.336 211.516 400.336C211.516 400.336 219.8 377.186 237.879 360.988C255.958 344.789 295.534 342.016 295.534 342.016C295.534 342.016 241.217 374.824 232.109 410.494C223.002 446.165 251.335 572.688 251.335 572.688C251.335 572.688 271.368 545.289 304.306 565.52Z" fill="black" stroke="black" stroke-width="12" stroke-linecap="round" stroke-linejoin="round"/></g>',+ '<g id="{{P}}Hairstyle/ 32"><path id="{{P}}Path" fill-rule="evenodd" clip-rule="evenodd" d="M579.545 232.012C579.545 232.012 517.5 263.639 508.545 270.012C545.545 245.012 631.545 258.012 631.545 258.012C631.545 258.012 553.932 276.63 545.205 284.512C545.205 284.512 557.545 270.012 595.545 270.012C633.545 270.012 678.545 289.012 678.545 289.012C678.545 289.012 568.892 313.613 553.762 333.11C552.123 335.221 586 314 632 314C678 314 730 289 730 289C730 289 701.829 325.943 687 333C652.422 349.455 643.358 341.795 632 352C640.504 346.686 679.545 344.012 696 346C712.455 347.988 737 339 737 339C737 339 720.315 366.83 702 370C744.964 388.258 748 392 763 416C778 440 786.805 517 786.805 517C786.805 517 770.365 499.07 762.687 491.187C766.667 528.004 761.59 561.942 747.458 593C747.998 565.779 744.555 536.785 737.13 506.019C732.583 487.181 727 460 712.248 445.855C697.496 431.71 632 410 553 410C474 410 428.104 430.958 412 428C404.393 426.603 393.492 432.444 379.296 445.523L380.068 448.708C388.266 482.686 392.365 505.363 392.365 516.739C392.365 528.233 383.924 572.725 367.044 650.215L366 655L328.117 564.825H287.146C271.78 507.748 268.106 468.654 276.123 447.543C284.14 426.432 322.047 397.666 306 410C300 340 328 313 392 270C456 227 579.545 232.012 579.545 232.012Z" fill="black" stroke="black" stroke-width="12" stroke-linecap="round" stroke-linejoin="round"/></g>',+ '<g id="{{P}}Hairstyle/ 33"><path id="{{P}}Path" fill-rule="evenodd" clip-rule="evenodd" d="M504 227C583.026 221.97 626 225 714 284C772.666 323.333 805.666 378 813 448L810.24 443.675C798.832 425.872 789.752 412.647 783 404C776.732 395.974 763.732 386.224 743.999 374.747C743.263 375.741 742.413 376.718 741.451 377.682C759.823 398.929 774.673 418.702 786 437C798.854 457.768 803.188 480.434 799 505C793.666 491 787 478.667 779 468C771 457.333 759.666 449 745 443L746.039 444.752C759.952 468.278 769.216 486.534 773.831 499.521L774 500C778.666 513.333 781.666 538 783 574C773.666 544 762 517 748 493C734 469 699 443.667 643 417C644.279 424.311 648.612 432.311 656 441C663.387 449.69 672.387 458.69 683 468C660.028 458.11 638.941 448.085 619.74 437.924L618 437C598.334 426.523 573.046 409.856 542.135 387L544.287 389.537C561.37 409.615 575.274 424.436 586 434C597.172 443.962 609.838 452.629 624 460C607.109 461.177 589.436 461.218 570.98 460.122L569 460C549.827 458.781 520.981 455.781 482.461 451L484.353 451.848C503.778 460.516 519.145 466.191 530.455 468.873L531 469C542.72 471.71 559.72 475.044 582 479C561.061 483.616 541.842 486.583 524.342 487.902L523 488C505.141 489.266 477.765 487.933 440.869 484L444.951 485.355C466.421 492.442 483.104 497.324 495 500L496.258 500.279C508.793 503.018 525.893 505.592 547.56 508L545.447 508.478C517.785 514.715 496.636 518.555 482 520C467.265 521.455 449.003 521.481 427.214 520.079L426 520L408 595L389.284 540.806L388.918 542.932C385.112 564.838 378.153 599.07 368.041 645.63L366 655L328.116 564.825H287.145C259.698 514.053 249.983 478.111 258 457C261.57 447.598 268.856 438.579 279.858 429.943C275.095 392.483 300.809 363.502 357 343C402.315 269.02 451.315 230.353 504 227Z" fill="black" stroke="black" stroke-width="12" stroke-linecap="round" stroke-linejoin="round"/></g>',+ '<g id="{{P}}Hairstyle/ 34"><g id="{{P}}Shape"><path fill-rule="evenodd" clip-rule="evenodd" d="M279.001 719L312.001 727L363.001 804L362.012 804.138C354.394 805.17 349.724 805.124 348.001 804C335.11 795.586 327.667 781.235 316.001 769C301.896 754.207 289.563 737.54 279.001 719ZM555.001 245C595.484 249.465 630.917 268.728 660.824 294.427L663.31 294.901C703.949 302.792 748.312 311.503 768.001 340C793.334 376.666 803.668 419.666 799.001 469C782.061 429.032 756.001 397 740.033 393.568C760.909 430.158 768.001 461.184 768.001 473C768.001 512 751.334 552.666 744.001 578C744.001 543.333 736.334 485.333 691.001 442C637.019 390.399 541.818 418 502.001 418C471.276 418 487.967 464.879 460.621 499.411C464.677 513 473.001 533 494.001 552C461.561 551.983 448.728 532.541 438.816 511.856L435.487 512.41C432.89 512.847 430.302 513.31 427.911 513.879C431.102 526.945 438.217 542.546 449.256 560.682C434.736 548.356 424.268 534.345 417.851 518.648C417.503 519.067 417.217 519.517 417.001 520C393.365 572.739 393.001 593 381.001 655H366.001L364.629 651.851C349.93 618.257 338.054 595.64 329.001 584L328.16 582.929C314.41 565.583 299.959 555.5 288.001 559L287.246 559.23L286.711 559.403C277.924 562.306 258.241 571.727 244.001 589C238.75 595.369 233.084 607.369 227.001 625L226.066 623.594L224.701 621.517C212.007 602.071 205.107 587.565 204.001 578C200.119 544.442 196.001 434 232.001 383C268.001 332 279.908 338.533 308.001 332C332.001 251.333 417.202 229.801 555.001 245Z" fill="black"/><path d="M279.001 719L280.414 713.169C278.088 712.605 275.648 713.478 274.208 715.391C272.768 717.303 272.602 719.889 273.787 721.97L279.001 719ZM312.001 727L317.003 723.687C316.167 722.425 314.885 721.525 313.414 721.169L312.001 727ZM363.001 804L363.829 809.942C365.87 809.658 367.623 808.346 368.47 806.467C369.318 804.588 369.141 802.405 368.003 800.687L363.001 804ZM362.012 804.138L362.818 810.083C362.826 810.082 362.833 810.081 362.84 810.08L362.012 804.138ZM348.001 804L351.28 798.975L348.001 804ZM316.001 769L311.658 773.14L316.001 769ZM555.001 245L554.343 250.964L555.001 245ZM660.824 294.427L656.914 298.977C657.709 299.661 658.669 300.124 659.699 300.32L660.824 294.427ZM663.31 294.901L664.453 289.011C664.447 289.01 664.441 289.009 664.435 289.008L663.31 294.901ZM768.001 340L763.064 343.41L768.001 340ZM799.001 469L793.477 471.341C794.549 473.871 797.202 475.349 799.917 474.929C802.632 474.51 804.715 472.3 804.974 469.565L799.001 469ZM740.033 393.568L741.294 387.702C738.98 387.205 736.59 388.114 735.192 390.024C733.794 391.933 733.649 394.486 734.821 396.542L740.033 393.568ZM744.001 578H738.001C738.001 580.988 740.2 583.521 743.158 583.94C746.117 584.36 748.933 582.539 749.764 579.668L744.001 578ZM691.001 442L686.855 446.337L691.001 442ZM460.621 499.411L455.918 495.686C454.702 497.22 454.312 499.251 454.872 501.127L460.621 499.411ZM494.001 552L493.998 558C496.48 558.001 498.706 556.474 499.599 554.158C500.492 551.842 499.867 549.216 498.026 547.551L494.001 552ZM438.816 511.856L444.227 509.263C443.073 506.854 440.465 505.499 437.83 505.937L438.816 511.856ZM435.487 512.41L434.501 506.492L434.491 506.493L435.487 512.41ZM427.911 513.879L426.521 508.042C424.967 508.412 423.625 509.386 422.792 510.749C421.959 512.112 421.703 513.751 422.082 515.302L427.911 513.879ZM449.256 560.682L445.373 565.256C447.617 567.162 450.913 567.157 453.152 565.245C455.391 563.333 455.912 560.078 454.381 557.563L449.256 560.682ZM417.851 518.648L423.405 516.377C422.607 514.427 420.845 513.038 418.763 512.718C416.68 512.397 414.582 513.193 413.235 514.814L417.851 518.648ZM417.001 520L411.526 517.546L417.001 520ZM381.001 655V661C383.875 661 386.345 658.962 386.892 656.14L381.001 655ZM366.001 655L360.5 657.397C361.454 659.585 363.614 661 366.001 661V655ZM364.629 651.851L370.129 649.455L370.126 649.446L364.629 651.851ZM329.001 584L333.737 580.316C333.731 580.309 333.726 580.302 333.72 580.295L329.001 584ZM328.16 582.929L332.879 579.223C332.873 579.216 332.868 579.209 332.862 579.202L328.16 582.929ZM288.001 559L286.316 553.241C286.294 553.248 286.273 553.254 286.251 553.26L288.001 559ZM287.246 559.23L285.497 553.49C285.465 553.5 285.432 553.51 285.4 553.521L287.246 559.23ZM286.711 559.403L284.865 553.694C284.853 553.698 284.841 553.702 284.829 553.706L286.711 559.403ZM244.001 589L239.371 585.183L244.001 589ZM227.001 625L222.004 628.322C223.268 630.222 225.499 631.241 227.762 630.951C230.026 630.662 231.929 629.113 232.673 626.957L227.001 625ZM226.066 623.594L221.053 626.89C221.058 626.899 221.064 626.908 221.07 626.916L226.066 623.594ZM224.701 621.517L219.676 624.796C219.68 624.802 219.683 624.807 219.687 624.813L224.701 621.517ZM204.001 578L209.961 577.31L204.001 578ZM308.001 332L309.36 337.844C311.46 337.355 313.137 335.778 313.752 333.711L308.001 332ZM277.587 724.831L310.587 732.831L313.414 721.169L280.414 713.169L277.587 724.831ZM306.999 730.313L357.999 807.313L368.003 800.687L317.003 723.687L306.999 730.313ZM362.173 798.057L361.185 798.195L362.84 810.08L363.829 809.942L362.173 798.057ZM361.206 798.192C357.526 798.691 354.776 798.897 352.855 798.878C351.895 798.869 351.278 798.803 350.926 798.739C350.508 798.662 350.77 798.642 351.28 798.975L344.721 809.024C346.094 809.92 347.585 810.327 348.765 810.543C350.012 810.771 351.361 810.864 352.737 810.877C355.486 810.904 358.88 810.617 362.818 810.083L361.206 798.192ZM351.28 798.975C345.669 795.313 341.073 790.248 336.229 784.187C331.547 778.33 326.417 771.23 320.343 764.859L311.658 773.14C317.251 779.006 321.676 785.199 326.855 791.679C331.871 797.956 337.442 804.273 344.721 809.024L351.28 798.975ZM320.343 764.859C306.59 750.435 294.545 734.165 284.214 716.03L273.787 721.97C284.58 740.916 297.202 757.979 311.658 773.14L320.343 764.859ZM554.343 250.964C593.293 255.26 627.633 273.817 656.914 298.977L664.735 289.876C634.201 263.638 597.675 243.67 555.659 239.036L554.343 250.964ZM659.699 300.32L662.185 300.795L664.435 289.008L661.949 288.533L659.699 300.32ZM662.166 300.791C682.581 304.755 703.359 308.827 721.474 315.367C739.612 321.914 754.253 330.658 763.064 343.41L772.937 336.589C762.059 320.845 744.675 310.984 725.549 304.08C706.401 297.167 684.677 292.938 664.453 289.011L662.166 300.791ZM763.064 343.41C787.504 378.784 797.577 420.339 793.028 468.435L804.974 469.565C809.758 418.994 799.164 374.549 772.937 336.589L763.064 343.41ZM804.525 466.658C795.865 446.224 784.849 427.751 773.858 413.86C768.364 406.917 762.794 401.013 757.432 396.564C752.172 392.2 746.662 388.856 741.294 387.702L738.772 399.435C741.387 399.996 745.123 401.944 749.77 405.799C754.315 409.571 759.312 414.816 764.447 421.306C774.713 434.28 785.198 451.807 793.477 471.341L804.525 466.658ZM734.821 396.542C755.396 432.603 762.001 462.589 762.001 473H774.001C774.001 459.78 766.422 427.714 745.244 390.595L734.821 396.542ZM762.001 473C762.001 491.707 757.995 511.019 752.972 529.011C750.466 537.988 747.728 546.565 745.138 554.537C742.566 562.455 740.106 569.878 738.237 576.331L749.764 579.668C751.563 573.455 753.936 566.294 756.551 558.244C759.149 550.247 761.953 541.47 764.53 532.238C769.674 513.814 774.001 493.293 774.001 473H762.001ZM750.001 578C750.001 542.675 742.223 482.662 695.147 437.663L686.855 446.337C730.445 488.004 738.001 543.992 738.001 578H750.001ZM695.147 437.663C666.431 410.214 627.142 404.194 591.113 404.65C573.018 404.879 555.434 406.75 540.048 408.533C524.45 410.341 511.51 412 502.001 412V424C512.401 424 526.292 422.208 541.43 420.454C556.779 418.674 573.835 416.87 591.265 416.649C626.286 416.205 661.589 422.185 686.855 446.337L695.147 437.663ZM502.001 412C497.387 412 493.279 412.884 489.706 414.784C486.116 416.693 483.424 419.437 481.377 422.612C477.47 428.667 475.667 436.747 474.152 444.622C470.968 461.163 468.483 479.818 455.918 495.686L465.325 503.136C480.105 484.471 482.947 462.421 485.935 446.89C487.506 438.728 489 432.93 491.46 429.117C492.596 427.357 493.855 426.169 495.34 425.379C496.842 424.58 498.933 424 502.001 424V412ZM454.872 501.127C459.137 515.415 467.926 536.5 489.975 556.449L498.026 547.551C478.075 529.5 470.218 510.585 466.371 497.695L454.872 501.127ZM494.004 546C479.135 545.992 469.248 541.59 461.914 535.166C454.373 528.559 449.115 519.463 444.227 509.263L433.405 514.449C438.43 524.935 444.544 535.902 454.007 544.192C463.678 552.664 476.427 557.991 493.998 558L494.004 546ZM437.83 505.937L434.501 506.492L436.473 518.329L439.802 517.774L437.83 505.937ZM434.491 506.493C431.879 506.933 429.122 507.423 426.521 508.042L429.301 519.716C431.483 519.196 433.901 518.762 436.483 518.327L434.491 506.493ZM422.082 515.302C425.479 529.209 432.934 545.407 444.13 563.802L454.381 557.563C443.5 539.686 436.725 524.681 433.74 512.455L422.082 515.302ZM453.139 556.108C439.261 544.327 429.414 531.079 423.405 516.377L412.297 520.918C419.121 537.611 430.211 552.385 445.373 565.256L453.139 556.108ZM413.235 514.814C412.565 515.621 411.981 516.531 411.526 517.546L422.476 522.454C422.466 522.477 422.457 522.492 422.453 522.498C422.449 522.505 422.452 522.499 422.466 522.482L413.235 514.814ZM411.526 517.546C387.534 571.08 387.043 592.207 375.11 653.86L386.892 656.14C398.959 593.792 399.197 574.397 422.476 522.454L411.526 517.546ZM381.001 649H366.001V661H381.001V649ZM371.501 652.603L370.129 649.455L359.128 654.248L360.5 657.397L371.501 652.603ZM370.126 649.446C355.436 615.872 343.303 592.616 333.737 580.316L324.265 587.683C332.805 598.664 344.424 620.642 359.132 654.256L370.126 649.446ZM333.72 580.295L332.879 579.223L323.441 586.634L324.282 587.705L333.72 580.295ZM332.862 579.202C325.755 570.236 318.21 562.806 310.58 558.054C302.978 553.319 294.567 550.827 286.316 553.241L289.686 564.758C293.393 563.674 298.187 564.473 304.237 568.24C310.26 571.992 316.815 578.275 323.458 586.656L332.862 579.202ZM286.251 553.26L285.497 553.49L288.996 564.969L289.75 564.739L286.251 553.26ZM285.4 553.521L284.865 553.694L288.558 565.112L289.093 564.939L285.4 553.521ZM284.829 553.706C275.318 556.848 254.535 566.79 239.371 585.183L248.63 592.816C261.947 576.664 280.531 567.764 288.594 565.1L284.829 553.706ZM239.371 585.183C233.375 592.457 227.425 605.373 221.329 623.043L232.673 626.957C238.742 609.365 244.126 598.28 248.63 592.816L239.371 585.183ZM231.997 621.678L231.063 620.272L221.07 626.916L222.004 628.322L231.997 621.678ZM231.08 620.298L229.714 618.221L219.687 624.813L221.053 626.89L231.08 620.298ZM229.725 618.237C223.467 608.649 218.72 600.405 215.424 593.476C212.094 586.476 210.405 581.146 209.961 577.31L198.041 578.689C198.703 584.419 201.017 591.124 204.587 598.63C208.191 606.206 213.241 614.938 219.676 624.796L229.725 618.237ZM209.961 577.31C208.06 560.877 206.075 525.266 209.027 487.508C212.001 449.473 219.904 410.542 236.903 386.46L227.099 379.54C208.098 406.458 200.06 448.247 197.063 486.573C194.045 525.175 196.06 561.565 198.041 578.689L209.961 577.31ZM236.903 386.46C254.756 361.167 266.036 351.054 275.674 346.179C280.473 343.751 285.118 342.494 290.49 341.441C295.621 340.435 302.274 339.492 309.36 337.844L306.642 326.156C299.681 327.775 294.31 328.464 288.183 329.665C282.296 330.818 276.447 332.34 270.258 335.471C257.919 341.712 245.245 353.832 227.099 379.54L236.903 386.46ZM313.752 333.711C325.12 295.501 350.791 271.289 390.69 258.254C430.99 245.087 485.718 243.395 554.343 250.964L555.659 239.036C486.484 231.406 429.712 232.881 386.963 246.847C343.812 260.945 314.882 287.832 302.25 330.289L313.752 333.711Z" fill="black"/></g></g>',+ '<g id="{{P}}Hairstyle/ 35"><path id="{{P}}Path" fill-rule="evenodd" clip-rule="evenodd" d="M445 265C601.485 215.883 723 324 727 324C729.667 324 729.333 314 732 310C732 310 764 352 760 396C756 440 752.216 445.551 737 470C717.816 433.899 655.516 405.849 570.098 405.849C529.82 405.849 496.705 408.638 444 422C444 422 429.543 433.177 425 438C415.42 448.172 412.102 455.977 408 461C408 461 408.354 437.736 409.769 431.439C399.445 434.309 388.894 437.421 378.119 440.774C378.861 449.966 379.156 482.708 387 499L371 622L368.124 619.455C345.932 599.757 331.688 585.779 325.391 577.52L325 577C318.661 568.473 305.994 562.473 287 559L286.069 555.564C277.514 524.212 269.945 502.053 266.881 480.742C254.807 485.592 242.513 490.679 230 496C269.01 358.746 340.677 297.746 445 265Z" fill="black" stroke="black" stroke-width="12" stroke-linecap="round" stroke-linejoin="round"/></g>',+ '<g id="{{P}}Hairstyle/ 36"><path id="{{P}}Path" fill-rule="evenodd" clip-rule="evenodd" d="M539.999 312C671.999 328 752.424 414.219 744.999 431C738.933 444.707 738.933 459.707 744.999 476C727.499 489.392 675.365 429.548 603.549 403.064L601.751 404.165C596.113 407.606 591.005 410.616 586.427 413.198L584.999 414C569.805 422.476 559.864 426.483 555.177 426.02L554.999 426L570.037 393.773C568 393.401 565.95 393.064 563.888 392.762L562.609 393.979C553.521 402.603 546.117 409.172 540.395 413.688L539.999 414C531.811 420.414 519.58 428.452 503.307 438.112L502.447 438.622L530.202 391.102C528.426 391.14 526.674 391.188 524.945 391.246L523.493 392.663C511.479 404.358 501.473 413.346 493.476 419.626L492.999 420C482.336 428.313 432.999 457 432.999 457L458.999 413C421.999 426 408.999 438 400.999 448C392.999 458 373.393 491.363 394.999 510L328.116 564.825H287.145C271.779 507.747 259.999 405 337.999 391C384.666 327.666 451.999 301.333 539.999 312Z" fill="black" stroke="black" stroke-width="12" stroke-linecap="round" stroke-linejoin="round"/></g>',+ '<g id="{{P}}Hairstyle/ 37"><path id="{{P}}Path" fill-rule="evenodd" clip-rule="evenodd" d="M497.312 301.258C541.612 295.032 579.175 301.734 581.212 316.227L581.171 315.948C650.089 325.905 682.601 353.62 699 373C713.667 390.333 721 410 721 432L707.421 430.871C691.263 429.542 641.711 411.403 628.764 410.454C631.023 416.556 632.654 422.983 633.657 429.735L631.329 428.09C613.169 415.342 601.493 409.076 596.302 409.293L596.141 409.302C593.535 409.484 590.475 408.964 586.96 407.74L583.945 407.585C582.635 407.519 581.363 407.459 580.13 407.403L580.955 408.284C583.506 411.029 585.476 413.338 586.866 415.212C589.264 418.446 590.961 421.769 591.957 425.181C578.459 418.497 516 394 471 403C447.673 407.665 422.7 429.111 402.563 425.184C394.011 429.97 386.206 436.624 379.296 445.522C355.592 476.045 379 498.408 379 516L378.995 516.737C378.83 529.316 374.669 573.806 366.512 650.209L366 655L328.117 564.825H287.146C271.78 507.747 268.106 468.653 276.123 447.542C285.791 422.084 334.128 358.354 419.743 330.709C431.777 320.313 466.044 305.652 497.312 301.258Z" fill="black" stroke="black" stroke-width="12" stroke-linecap="round" stroke-linejoin="round"/></g>',+ '<g id="{{P}}Hairstyle/ 38"><path id="{{P}}Path" fill-rule="evenodd" clip-rule="evenodd" d="M605 263C704 296 733 387.139 733 419C733 445.483 682 437 682 437C682 437 622.089 396.832 572 388C504.631 376.121 467 422 445 424C423 426 408 437 399 463C390 489 417 540 417 540L382 655H366L328.117 564.825H287.146C265.131 517.303 245 413 269 379C293 345 327 345 327 345C327 345 336 323 373 290C410 257 506 230 605 263Z" fill="black" stroke="black" stroke-width="12" stroke-linecap="round" stroke-linejoin="round"/></g>',+ '<g id="{{P}}Hairstyle/ 39"><path id="{{P}}Path" fill-rule="evenodd" clip-rule="evenodd" d="M499 255C530.508 267.472 565.59 277.322 605.268 288.553C644.946 299.784 671.888 320.97 700 348C752 398 746.942 484.288 739 493C737.601 494.535 721.325 463.054 700 444L698.615 442.77C675.806 422.637 644.02 400.454 642 402C619.677 419.084 627.675 420.273 595 427C561 434 549.626 424.652 503 416C450.977 410.003 417.977 416.003 404 434C380.296 464.522 392.365 499.147 392.365 516.739C392.365 528.233 383.924 572.725 367.044 650.214L366 655L328.117 564.825H287.146C271.78 507.747 268.106 468.653 276.123 447.542L276.87 445.586L277.655 443.563C279.549 438.724 287.997 432.536 303 425L302.938 423.117C302.412 405.678 303.388 392.143 305.866 382.512L306 382C309.047 370.574 322.517 329.262 388.884 302.935L366.282 283.125C365.857 282.752 365.429 282.376 365 282L366.925 281.942C392.744 281.204 411.769 282.556 424 286C427.172 286.893 430.481 288.094 433.927 289.603C437.049 288.94 440.248 288.307 443.525 287.705L415.064 260.61L418.214 260.777C447.35 262.359 469.109 264.729 483.49 267.887L484 268C493.813 270.195 506.255 274.141 521.325 279.838C525.184 279.731 528.95 279.679 532.631 279.678L499 255Z" fill="black" stroke="black" stroke-width="12" stroke-linecap="round" stroke-linejoin="round"/></g>',+ '<g id="{{P}}Hairstyle/ 40"><path id="{{P}}Path" fill-rule="evenodd" clip-rule="evenodd" d="M639 277.308C667.43 286.446 696 298 704 336C710.842 368.499 711 378 689 446C682.333 430.667 649.333 422 590 420C561.16 419.028 528.044 403.964 495 406C470.467 407.511 431.899 420.685 379.296 445.522L380.068 448.707C388.266 482.685 392.365 505.363 392.365 516.739C392.365 527.77 384.591 569.192 369.044 641.005L366 655L328.117 564.825H287.146C271.78 507.747 268.106 468.653 276.123 447.542C284.14 426.431 296.099 411.251 312 402C331 367 470.357 328.33 494.118 324.238C495.772 323.953 497.385 323.709 498.959 323.505L500.461 322.624C508.552 317.838 513.95 313.985 519.924 310.186C492.292 313.158 451.984 326.133 399.002 349.111C446.763 317.858 490.246 301.828 529.453 301.02C531.82 300.971 534.136 300.973 536.402 301.026C538.424 300.055 540.611 299.049 543 298C548.899 295.41 556.081 293.379 564.106 291.94C536.526 289.839 492.546 297.699 432.166 315.521C483.379 290.323 528.492 279.711 567.505 283.687C577.797 284.736 587.013 286.631 595.151 289.371C618.568 289.36 644.007 293.263 664.64 301.589C657.176 294.844 648.63 289.751 639 286.308C613.258 277.105 566.925 275.105 500 280.308C555.333 266.308 601.667 265.308 639 277.308Z" fill="black" stroke="black" stroke-width="12" stroke-linecap="round" stroke-linejoin="round"/></g>',+ '<g id="{{P}}Hairstyle/ 41"><g id="{{P}}Shape"><path fill-rule="evenodd" clip-rule="evenodd" d="M470 216L472.761 217.998C517.441 250.401 541.685 271.171 545.494 280.307L545.616 280.617L545.655 280.243C546.573 271.112 547.022 263.698 547 258L546.99 257.06C546.902 251.639 546.239 242.953 545 231L546.194 231.952C563.921 246.181 573.523 258.197 575 268C578.538 291.485 571.321 312.617 565.186 320.757L565 321C563.362 323.111 583 304 588 281C591.333 265.667 591.333 253 588 243C618.892 252.971 635.892 266.971 639 285C642.265 303.939 642.332 322.238 639.2 339.897L639.002 340.988L639.143 340.303C643.934 317.434 657.22 306 679 306C701 306 723.667 315 747 333L745.544 333.641C730.175 340.441 719.994 345.894 715 350C709.85 354.234 705.517 360.901 702 370L704.929 369.684C717.819 368.257 726.751 366.726 731.728 365.091L732 365C747.61 359.704 766.035 369.638 765 370C745 377 738 401 745 410C749.667 416 762 420.333 782 423C751.125 449.791 728.791 458.458 715 449C694.313 434.813 694.135 417.865 674 416C649.26 413.709 659.554 449 616 449C578.396 449 543.495 432.453 507 425C467.629 416.96 428.054 417.523 418.544 416.09L418 416C410.393 414.603 393.492 432.444 379.296 445.522L380.068 448.707L381.032 452.731C388.587 484.482 392.365 505.818 392.365 516.739C392.365 528.233 383.924 572.725 367.044 650.214L366 655L328.117 564.825H287.146C272.111 508.976 268.27 470.345 275.621 448.931C264.765 438.546 255.225 418.901 247 390C263.285 398.391 280.426 401.82 298.421 400.286C289.571 388.812 286.281 369.929 288.55 343.639C295.565 351.119 303.402 357.588 312.062 363.045C326.325 325.452 360.22 304.953 375 285C388.333 267 390 249 380 231C436.667 239.667 470 249.333 480 260C481.333 246.667 478 232 470 216ZM545.616 280.617L545.57 281.078L545.331 283.35C545.29 283.735 545.248 284.122 545.205 284.512C546.092 283.711 546.261 282.502 545.713 280.885L545.616 280.617Z" fill="black"/><path d="M470 216L473.518 211.14C471.279 209.519 468.223 209.638 466.117 211.426C464.01 213.215 463.398 216.211 464.633 218.683L470 216ZM472.761 217.998L476.284 213.141L476.279 213.138L472.761 217.998ZM545.494 280.307L551.079 278.113C551.064 278.075 551.048 278.037 551.032 277.998L545.494 280.307ZM545.616 280.617L540.031 282.811C541.043 285.386 543.684 286.935 546.425 286.562C549.167 286.189 551.297 283.99 551.584 281.238L545.616 280.617ZM545.655 280.243L551.623 280.864C551.623 280.857 551.624 280.851 551.625 280.844L545.655 280.243ZM547 258L553 257.977C553 257.964 553 257.951 553 257.938L547 258ZM546.99 257.06L552.99 256.998C552.99 256.986 552.99 256.974 552.99 256.962L546.99 257.06ZM545 231L548.74 226.309C546.851 224.802 544.241 224.576 542.121 225.736C540 226.896 538.783 229.214 539.032 231.618L545 231ZM546.194 231.952L549.95 227.273C549.944 227.269 549.939 227.265 549.934 227.26L546.194 231.952ZM575 268L580.933 267.106L575 268ZM565.186 320.757L569.952 324.402C569.96 324.391 569.969 324.38 569.977 324.369L565.186 320.757ZM565 321L569.74 324.679C569.749 324.667 569.758 324.656 569.766 324.645L565 321ZM588 281L593.863 282.275L588 281ZM588 243L589.843 237.29C587.69 236.595 585.329 237.17 583.737 238.778C582.145 240.385 581.592 242.751 582.308 244.897L588 243ZM639 285L633.087 286.019L639 285ZM639.2 339.897L645.104 340.968C645.105 340.96 645.106 340.953 645.108 340.945L639.2 339.897ZM639.002 340.988L633.098 339.917C632.512 343.151 634.636 346.255 637.863 346.879C641.09 347.503 644.218 345.415 644.879 342.195L639.002 340.988ZM639.143 340.303L633.27 339.073C633.268 339.081 633.267 339.089 633.265 339.096L639.143 340.303ZM747 333L749.419 338.491C751.356 337.637 752.7 335.826 752.956 333.725C753.212 331.623 752.341 329.542 750.665 328.249L747 333ZM745.544 333.641L743.125 328.151L743.116 328.154L745.544 333.641ZM715 350L711.189 345.365L715 350ZM702 370L696.404 367.837C695.649 369.789 695.966 371.993 697.24 373.653C698.515 375.313 700.562 376.19 702.643 375.965L702 370ZM704.929 369.684L705.572 375.65C705.578 375.649 705.584 375.649 705.59 375.648L704.929 369.684ZM731.728 365.091L733.6 370.791C733.609 370.788 733.618 370.785 733.627 370.782L731.728 365.091ZM732 365L733.9 370.691C733.909 370.688 733.918 370.685 733.928 370.682L732 365ZM765 370L763.018 364.337L765 370ZM745 410L749.736 406.316L745 410ZM782 423L785.932 427.532C787.714 425.985 788.425 423.538 787.748 421.278C787.07 419.018 785.132 417.364 782.793 417.053L782 423ZM715 449L711.607 453.948L715 449ZM674 416L674.553 410.026L674 416ZM507 425L505.8 430.879L507 425ZM418.544 416.09L417.562 422.009C417.592 422.014 417.621 422.019 417.65 422.023L418.544 416.09ZM418 416L416.916 421.901C416.95 421.908 416.984 421.913 417.018 421.919L418 416ZM379.296 445.522L375.23 441.11C373.627 442.587 372.951 444.818 373.465 446.936L379.296 445.522ZM380.068 448.707L385.903 447.309C385.902 447.304 385.9 447.299 385.899 447.293L380.068 448.707ZM381.032 452.731L386.869 451.342L386.867 451.332L381.032 452.731ZM392.365 516.739H398.365H392.365ZM367.044 650.214L372.906 651.493L372.907 651.492L367.044 650.214ZM366 655L360.468 657.324C361.482 659.736 363.942 661.214 366.548 660.975C369.154 660.736 371.304 658.836 371.862 656.279L366 655ZM328.117 564.825L333.648 562.501C332.713 560.274 330.532 558.825 328.117 558.825V564.825ZM287.146 564.825L281.352 566.385C282.057 569.004 284.433 570.825 287.146 570.825V564.825ZM275.621 448.931L281.296 450.879C282.056 448.666 281.46 446.213 279.769 444.595L275.621 448.931ZM247 390L249.748 384.666C247.622 383.571 245.049 383.843 243.199 385.358C241.348 386.873 240.575 389.342 241.229 391.642L247 390ZM298.421 400.286L298.931 406.264C301.119 406.078 303.03 404.711 303.914 402.701C304.798 400.692 304.513 398.36 303.172 396.621L298.421 400.286ZM288.55 343.639L292.927 339.535C291.307 337.807 288.823 337.194 286.586 337.97C284.348 338.745 282.776 340.764 282.572 343.123L288.55 343.639ZM312.062 363.045L308.863 368.121C310.385 369.081 312.259 369.306 313.966 368.735C315.673 368.164 317.033 366.857 317.671 365.174L312.062 363.045ZM375 285L379.821 288.571L375 285ZM380 231L380.907 225.069C378.644 224.723 376.382 225.695 375.074 227.574C373.767 229.453 373.643 231.913 374.755 233.914L380 231ZM480 260L475.623 264.104C477.232 265.82 479.697 266.438 481.926 265.683C484.155 264.927 485.736 262.939 485.97 260.597L480 260ZM545.616 280.617L551.256 278.57C550.301 275.937 547.651 274.316 544.871 274.663C542.092 275.011 539.923 277.235 539.646 280.022L545.616 280.617ZM545.57 281.078L551.537 281.705C551.538 281.694 551.539 281.683 551.541 281.673L545.57 281.078ZM545.331 283.35L551.297 283.992C551.297 283.987 551.298 283.982 551.298 283.977L545.331 283.35ZM545.205 284.512L539.241 283.856C538.969 286.332 540.255 288.719 542.472 289.853C544.69 290.988 547.378 290.634 549.227 288.964L545.205 284.512ZM545.713 280.885L551.396 278.96C551.382 278.919 551.368 278.879 551.353 278.838L545.713 280.885ZM466.482 220.86L469.243 222.859L476.279 213.138L473.518 211.14L466.482 220.86ZM469.239 222.856C491.527 239.019 508.608 252.203 520.55 262.434C526.526 267.553 531.13 271.861 534.43 275.379C537.857 279.032 539.444 281.386 539.956 282.616L551.032 277.998C549.64 274.66 546.768 270.992 543.182 267.169C539.468 263.209 534.504 258.587 528.358 253.321C516.055 242.782 498.675 229.38 476.284 213.141L469.239 222.856ZM539.91 282.501L540.031 282.811L551.201 278.423L551.079 278.113L539.91 282.501ZM551.584 281.238L551.623 280.864L539.687 279.622L539.648 279.996L551.584 281.238ZM551.625 280.844C552.553 271.614 553.023 263.969 553 257.977L541 258.023C541.021 263.427 540.594 270.61 539.685 279.643L551.625 280.844ZM553 257.938L552.99 256.998L540.991 257.121L541 258.062L553 257.938ZM552.99 256.962C552.897 251.261 552.208 242.351 550.968 230.382L539.032 231.618C540.269 243.554 540.907 252.018 540.991 257.157L552.99 256.962ZM541.26 235.691L542.453 236.643L549.934 227.26L548.74 226.309L541.26 235.691ZM542.438 236.631C551.105 243.587 557.575 249.839 562.004 255.381C566.478 260.98 568.55 265.459 569.067 268.894L580.933 267.106C579.974 260.738 576.506 254.307 571.378 247.89C566.205 241.416 559.01 234.545 549.95 227.273L542.438 236.631ZM569.067 268.894C570.709 279.795 569.856 290.184 567.874 298.786C565.865 307.498 562.8 313.955 560.394 317.146L569.977 324.369C573.707 319.42 577.317 311.241 579.567 301.481C581.842 291.61 582.829 279.69 580.933 267.106L569.067 268.894ZM560.419 317.113L560.234 317.355L569.766 324.645L569.952 324.402L560.419 317.113ZM560.26 317.321C560.188 317.414 560.083 317.554 559.969 317.722C559.902 317.82 559.63 318.22 559.393 318.772C559.301 318.988 558.982 319.739 558.916 320.764C558.85 321.787 559.031 324.698 561.911 326.358C564.104 327.621 566.168 327.036 566.491 326.949C567.129 326.775 567.594 326.533 567.776 326.435C568.422 326.088 568.903 325.665 568.938 325.636C569.111 325.49 569.276 325.34 569.416 325.209C569.965 324.694 570.734 323.904 571.635 322.915C573.465 320.906 576.069 317.82 578.877 313.927C584.435 306.221 591.115 294.918 593.863 282.275L582.137 279.725C579.885 290.082 574.246 299.834 569.144 306.907C566.623 310.402 564.311 313.136 562.764 314.835C561.975 315.7 561.441 316.237 561.21 316.453C561.155 316.504 561.157 316.5 561.204 316.461C561.226 316.442 561.292 316.386 561.391 316.313C561.447 316.27 561.71 316.072 562.091 315.867C562.259 315.777 562.712 315.54 563.342 315.369C563.655 315.284 565.713 314.699 567.901 315.96C570.777 317.617 570.956 320.523 570.891 321.539C570.825 322.556 570.509 323.297 570.422 323.501C570.196 324.028 569.944 324.392 569.908 324.445C569.825 324.568 569.761 324.652 569.74 324.679L560.26 317.321ZM593.863 282.275C597.321 266.367 597.494 252.507 593.692 241.103L582.308 244.897C585.173 253.493 585.345 264.966 582.137 279.725L593.863 282.275ZM586.157 248.71C616.611 258.54 630.586 271.51 633.087 286.019L644.913 283.981C641.197 262.432 621.172 247.402 589.843 237.29L586.157 248.71ZM633.087 286.019C636.243 304.323 636.294 321.921 633.292 338.849L645.108 340.945C648.369 322.555 648.288 303.554 644.913 283.981L633.087 286.019ZM633.296 338.826L633.098 339.917L644.906 342.059L645.104 340.968L633.296 338.826ZM644.879 342.195L645.02 341.511L633.265 339.096L633.125 339.781L644.879 342.195ZM645.015 341.534C647.23 330.962 651.259 323.733 656.615 319.124C661.923 314.554 669.186 312 679 312V300C667.034 300 656.764 303.163 648.787 310.028C640.857 316.853 635.847 326.776 633.27 339.073L645.015 341.534ZM679 312C699.287 312 720.697 320.287 743.335 337.751L750.665 328.249C726.636 309.713 702.713 300 679 300V312ZM744.581 327.509L743.125 328.151L747.963 339.132L749.419 338.491L744.581 327.509ZM743.116 328.154C727.797 334.932 716.897 340.672 711.189 345.365L718.811 354.635C723.09 351.116 732.553 345.95 747.972 339.128L743.116 328.154ZM711.189 345.365C704.956 350.491 700.132 358.19 696.404 367.837L707.596 372.163C710.902 363.611 714.745 357.978 718.811 354.635L711.189 345.365ZM702.643 375.965L705.572 375.65L704.287 363.719L701.357 364.035L702.643 375.965ZM705.59 375.648C718.464 374.222 727.965 372.643 733.6 370.791L729.855 359.391C725.538 360.809 717.173 362.292 704.269 363.721L705.59 375.648ZM733.627 370.782L733.9 370.691L730.1 359.309L729.828 359.4L733.627 370.782ZM733.928 370.682C740.066 368.599 747.181 369.43 753.068 371.14C755.942 371.975 758.309 372.957 759.824 373.704C760.61 374.091 761.032 374.348 761.146 374.426C761.295 374.527 760.936 374.313 760.504 373.832C760.45 373.771 759.428 372.718 759.126 370.948C758.933 369.814 759.017 368.203 760.025 366.673C760.971 365.239 762.254 364.604 763.018 364.337L766.982 375.663C767.778 375.385 769.084 374.734 770.043 373.279C771.065 371.729 771.154 370.093 770.955 368.929C770.643 367.101 769.575 365.973 769.438 365.82C768.843 365.156 768.179 364.696 767.893 364.502C767.136 363.988 766.167 363.451 765.127 362.939C762.991 361.887 759.97 360.649 756.415 359.616C749.446 357.593 739.543 356.105 730.072 359.318L733.928 370.682ZM763.018 364.337C751.152 368.49 743.262 377.638 739.347 386.918C737.386 391.566 736.34 396.428 736.359 400.963C736.379 405.429 737.446 410.06 740.264 413.684L749.736 406.316C749.054 405.44 748.371 403.696 748.359 400.912C748.348 398.197 748.989 394.934 750.403 391.582C753.238 384.862 758.848 378.51 766.982 375.663L763.018 364.337ZM740.264 413.684C743.649 418.036 749.199 421.105 755.761 423.411C762.465 425.766 770.994 427.586 781.207 428.947L782.793 417.053C773.006 415.748 765.369 414.067 759.739 412.089C753.968 410.062 751.018 407.964 749.736 406.316L740.264 413.684ZM778.068 418.468C762.837 431.684 750.147 440.032 739.923 444C729.746 447.949 723.02 447.224 718.393 444.052L711.607 453.948C720.772 460.234 732.108 459.904 744.264 455.187C756.374 450.488 770.288 441.107 785.932 427.532L778.068 418.468ZM718.393 444.052C708.939 437.568 704.395 430.7 698.922 424.063C696.239 420.807 693.219 417.504 689.274 414.925C685.228 412.281 680.491 410.575 674.553 410.026L673.447 421.974C677.576 422.357 680.413 423.469 682.709 424.97C685.106 426.537 687.2 428.707 689.663 431.696C694.486 437.545 700.374 446.245 711.607 453.948L718.393 444.052ZM674.553 410.026C666.652 409.294 660.967 411.657 656.528 415.807C654.478 417.722 652.801 419.915 651.346 421.992C650.614 423.037 649.896 424.114 649.211 425.142C648.512 426.19 647.839 427.199 647.136 428.205C644.352 432.19 641.373 435.72 636.908 438.354C632.47 440.973 626.052 443 616 443V455C627.725 455 636.353 452.615 643.007 448.689C649.635 444.778 653.795 439.628 656.974 435.077C657.762 433.948 658.506 432.832 659.195 431.799C659.896 430.747 660.536 429.789 661.174 428.877C662.46 427.043 663.577 425.643 664.722 424.573C666.672 422.75 668.978 421.561 673.447 421.974L674.553 410.026ZM616 443C598.043 443 580.559 439.049 562.711 434.02C545.115 429.061 526.73 422.905 508.2 419.121L505.8 430.879C523.765 434.547 541.078 440.391 559.457 445.57C577.584 450.678 596.353 455 616 455V443ZM508.2 419.121C488.132 415.023 468.09 413.132 451.964 412.08C443.9 411.555 436.769 411.237 431.131 410.963C425.325 410.682 421.441 410.459 419.438 410.157L417.65 422.023C420.403 422.438 425.031 422.682 430.551 422.949C436.238 423.225 443.245 423.537 451.184 424.055C467.065 425.09 486.496 426.937 505.8 430.879L508.2 419.121ZM419.526 410.171L418.982 410.081L417.018 421.919L417.562 422.009L419.526 410.171ZM419.084 410.099C414.88 409.327 410.72 411.247 407.713 413.004C404.378 414.952 400.792 417.729 397.228 420.765C390.18 426.768 382.054 434.823 375.23 441.11L383.361 449.935C390.733 443.143 398.155 435.738 405.009 429.9C408.396 427.016 411.349 424.778 413.766 423.365C416.512 421.761 417.316 421.975 416.916 421.901L419.084 410.099ZM373.465 446.936L374.237 450.121L385.899 447.293L385.127 444.108L373.465 446.936ZM374.233 450.106L375.197 454.129L386.867 451.332L385.903 447.309L374.233 450.106ZM375.195 454.119C382.778 485.987 386.365 506.639 386.365 516.739H398.365C398.365 504.997 394.396 482.976 386.869 451.342L375.195 454.119ZM386.365 516.739C386.365 521.795 384.398 535.161 380.14 557.61C375.934 579.778 369.617 610.212 361.182 648.937L372.907 651.492C381.351 612.727 387.694 582.17 391.929 559.846C396.111 537.804 398.365 523.177 398.365 516.739H386.365ZM361.182 648.936L360.138 653.721L371.862 656.279L372.906 651.493L361.182 648.936ZM371.532 652.676L333.648 562.501L322.585 567.149L360.468 657.324L371.532 652.676ZM328.117 558.825H287.146V570.825H328.117V558.825ZM292.94 563.265C285.471 535.52 280.836 512.244 278.959 493.371C277.071 474.385 278.033 460.384 281.296 450.879L269.946 446.983C265.858 458.892 265.065 474.913 267.018 494.559C268.983 514.317 273.787 538.281 281.352 566.385L292.94 563.265ZM279.769 444.595C270.134 435.378 260.943 417.071 252.771 388.358L241.229 391.642C249.508 420.731 259.397 441.713 271.474 453.266L279.769 444.595ZM244.252 395.334C261.526 404.234 279.794 407.895 298.931 406.264L297.912 394.307C281.058 395.744 265.045 392.548 249.748 384.666L244.252 395.334ZM303.172 396.621C295.745 386.993 292.293 370.051 294.528 344.155L282.572 343.123C280.269 369.808 283.396 390.631 293.671 403.95L303.172 396.621ZM284.174 347.743C291.537 355.595 299.77 362.391 308.863 368.121L315.261 357.969C307.034 352.785 299.592 346.643 292.927 339.535L284.174 347.743ZM317.671 365.174C324.371 347.516 335.743 333.696 347.617 321.613C353.61 315.514 359.49 310.088 365.114 304.632C370.616 299.295 375.813 293.983 379.821 288.571L370.179 281.429C366.797 285.993 362.215 290.726 356.759 296.019C351.425 301.194 345.168 306.983 339.058 313.202C326.723 325.755 314.016 340.982 306.452 360.917L317.671 365.174ZM379.821 288.571C386.986 278.9 391.268 268.879 392.224 258.553C393.184 248.188 390.747 237.99 385.245 228.086L374.755 233.914C379.253 242.01 380.983 249.812 380.276 257.447C379.565 265.121 376.348 273.1 370.179 281.429L379.821 288.571ZM379.093 236.931C407.311 241.247 429.521 245.783 445.829 250.513C453.983 252.877 460.538 255.255 465.576 257.619C470.687 260.017 473.869 262.233 475.623 264.104L484.377 255.896C481.131 252.433 476.396 249.441 470.674 246.756C464.879 244.036 457.684 241.456 449.171 238.987C432.145 234.05 409.356 229.42 380.907 225.069L379.093 236.931ZM485.97 260.597C487.448 245.816 483.708 230 475.367 213.317L464.633 218.683C472.292 234 475.218 247.517 474.03 259.403L485.97 260.597ZM539.646 280.022L539.6 280.483L551.541 281.673L551.586 281.212L539.646 280.022ZM539.603 280.451L539.364 282.723L551.298 283.977L551.537 281.705L539.603 280.451ZM539.366 282.709C539.325 283.088 539.283 283.471 539.241 283.856L551.169 285.167C551.212 284.773 551.255 284.381 551.297 283.992L539.366 282.709ZM549.227 288.964C552.637 285.884 552.326 281.706 551.396 278.96L540.03 282.81C540.117 283.064 539.969 282.788 540.055 282.172C540.101 281.842 540.211 281.449 540.424 281.044C540.638 280.637 540.908 280.307 541.183 280.059L549.227 288.964ZM551.353 278.838L551.256 278.57L539.976 282.664L540.073 282.931L551.353 278.838Z" fill="black"/></g></g>',+ '<g id="{{P}}Hairstyle/ 42"><path id="{{P}}Path" fill-rule="evenodd" clip-rule="evenodd" d="M524 224C538 226.667 547.667 230.667 553 236C558.333 241.333 562.667 250.667 566 264C566 264 582 243 584 238C586 233 586 210 586 210C586 210 594.605 216.518 596 227C597.395 237.482 595.814 237.139 594 249C604.667 254.333 615.121 249.013 621.788 243.013C628.455 237.013 632.788 229.68 634.788 221.013C641.017 224.834 645.683 229.168 648.788 234.013C651.893 238.859 655.153 246.896 658.567 258.125C665.419 255.141 669.949 252.207 672.159 249.323C674.368 246.439 675.967 241.372 676.956 234.121C678.787 238.211 679.853 241.411 680.154 243.722C680.455 246.033 678.212 271.784 677 281C682.536 279.104 686.703 278.897 692 275C699.333 269.605 705 261 705 261C705 261 705.85 275.428 705 285C704.15 294.572 700.141 315.734 700.141 315.734C700.141 315.734 731.918 310.132 734.788 297.013C736.702 288.268 734.247 279.588 723 275C737 275 745.471 277.269 752.108 284.529C762.064 295.42 757.788 309.013 750.788 318.013C746.121 324.013 740.788 328.347 734.788 331.013C749.943 334.967 759.563 333.71 763.646 327.244L763.788 327.013C767.788 320.347 776.121 312.68 788.788 304.013L788.449 305.898C783.014 336.438 782.359 355.186 786.486 362.142C786.486 362.142 792.952 358.462 795 356C800.369 349.546 801.669 345.497 801 352C799.575 365.855 787.832 385.38 780.102 390.538C775.593 393.546 768.502 395.556 758.828 396.567C757.847 398.597 756.809 400.567 755.717 402.478C758.235 408.042 764.663 410.216 775 409C788.262 407.439 798.262 400.106 805 387C805 399.667 799.333 411 788 421L786.985 421.89C770.483 436.271 757.694 442.784 734 438C729.85 437.162 726.25 436.092 723.2 434.79C715.672 438.987 707.271 442.25 698 444.579L695.953 445.088C686.406 447.438 672.404 450.562 656.009 453.474C654.179 458.121 652.083 462.012 648 464C641.181 467.32 630.383 465.75 615.605 459.288C613.208 459.546 610.797 459.789 608.377 460.014L606.958 460.875C595.06 468.16 589.408 473.201 590 476C591.225 481.788 600.892 485.788 619 488L617.263 488.404C601.757 491.961 589.67 493.494 581 493C572.009 492.488 562.158 489.54 551.447 484.154L549.835 484.692C538.795 488.416 532.85 491.185 532 493C529.814 497.668 528.147 502.335 527 507L495.482 484.154C487.649 483.633 478.821 480.915 469 476C459.179 471.085 452.549 466.069 449.112 460.95C431.497 465.117 421.104 470.185 417.932 476.153C413.174 485.105 409.432 486.597 421 492C428.712 495.602 439.905 495.602 454.579 492L453.239 493.008C438.585 503.948 423.678 504.443 412 503C400.322 501.557 388.999 489.606 388.999 489.606L389.407 491.845C391.379 502.861 392.365 511.159 392.365 516.739C392.365 528.233 383.924 572.725 367.044 650.214L366 655L328.117 564.825H287.146C271.78 507.747 268.106 468.653 276.123 447.542C283.951 426.927 303.884 411.158 335.92 400.236L334 397C326.231 383.602 339.512 379.865 343.843 357.79C348.173 335.715 357.788 343.013 372.788 323.013C372.788 323.013 393 295 433 275C473 255 504.651 265.527 521.788 264.013C538.926 262.5 543 272 543 253C543 240.333 536.667 230.667 524 224Z" fill="black" stroke="black" stroke-width="12" stroke-linecap="round" stroke-linejoin="round"/></g>',+ '<g id="{{P}}Hairstyle/ 43"><path id="{{P}}Path" fill-rule="evenodd" clip-rule="evenodd" d="M544 253L528.944 271.167C568.315 256.389 601 263 643 291C706 333 701 361 720 386C732.667 402.667 746.667 415.333 762 424C762 424 708.001 418.452 694.769 415.145L694.288 415.024C680.115 411.421 663.105 401.882 643.257 386.407L647.113 390.676C658.226 402.896 667.201 412.043 674.038 418.118C681.648 424.88 713.55 438.841 727 446C727 446 671 442 645.285 427.18C619.571 412.36 594.198 392.866 574 388C570.218 387.089 565.105 386.179 559.065 385.407L560.454 387.861C570.848 406.356 583.419 431.126 605 445C623.667 457 642.667 464.333 662 467C620.448 461.431 589.115 443.765 568 414C560.977 404.101 553.193 394.101 544.647 384.002C517.805 382.135 482.078 383.605 458.704 395.632L455.959 397.071C422.61 414.405 388.806 424.43 379.296 445.522C364.032 479.374 379 498.408 379 516L378.995 516.737L378.98 517.53L378.957 518.382C378.513 532.298 374.679 573.294 367.453 641.371L366 655L328.117 564.825H287.146C271.78 507.747 268.106 468.653 276.123 447.542C280.074 437.137 290.485 420.339 307.26 402.225C304.179 389.659 303.282 378.973 304.569 370.165C306.797 354.915 317.598 331.455 336.97 299.784V326.08C365.15 298.583 393.771 280.278 422.832 271.167C451.892 262.056 492.282 256 544 253Z" fill="black" stroke="black" stroke-width="12" stroke-linecap="round" stroke-linejoin="round"/></g>',+ '<g id="{{P}}Hairstyle/ 44"><path id="{{P}}Path" fill-rule="evenodd" clip-rule="evenodd" d="M597 238C641.824 249.881 671.655 291.241 696.256 360.881L697 363C700.664 373.502 708.997 386.502 722 402L697 422C682.827 418.397 663.105 401.882 643.257 386.408L647.113 390.676L648.98 392.721C659.235 403.922 667.588 412.387 674.038 418.118C681.648 424.88 713.55 438.841 727 446L724.772 445.836C688.581 443.081 662.086 436.863 645.285 427.18L643.627 426.218C618.482 411.529 593.764 392.762 574 388L573.067 387.782C569.394 386.944 564.622 386.117 559.065 385.408L560.454 387.862L565.488 396.883C574.977 413.799 586.776 433.285 605 445C623.667 457 642.667 464.334 662 467C620.864 461.487 589.743 444.117 568.637 414.89L568 414C560.977 404.101 553.193 394.102 544.647 384.003C536.125 383.41 526.708 383.153 517.075 383.464C522.563 395.453 528.871 406.631 536 417C545.922 431.432 558.588 442.432 574 450C558.314 446.104 544.98 437.771 534 425C524.82 414.324 515.394 400.692 505.721 384.104C488.662 385.492 471.757 388.916 458.704 395.633L455.959 397.071C422.61 414.405 448.51 432.908 439 454C423.737 487.852 379 498.408 379 516L378.995 516.738L378.98 517.531L378.957 518.382C378.513 532.298 374.679 573.294 367.453 641.372L366 655L328.117 564.825H287.146C271.78 507.748 268.106 468.653 276.123 447.543C280.074 437.137 290.485 420.34 307.26 402.225C304.179 389.659 303.282 378.973 304.569 370.166C306.797 354.916 337.168 294.833 401 269C428.459 257.888 444.639 265.754 470 256C483 251 514 216 597 238Z" fill="black" stroke="black" stroke-width="12" stroke-linecap="round" stroke-linejoin="round"/></g>',+ '<g id="{{P}}Hairstyle/ 45"><path id="{{P}}Path" fill-rule="evenodd" clip-rule="evenodd" d="M292.971 564.825C277.873 567.272 258.567 554.108 246.937 532.237C233.584 507.123 235.409 480.039 251.014 471.742C252.305 471.055 253.651 470.519 255.04 470.126C243.353 453.821 242.471 429.447 254.565 408.5C260.569 398.1 268.904 390.048 278.219 384.817C275.44 369.838 277.642 354.211 285.597 340.432C293.987 325.9 307.357 315.882 322.718 311.056C323.667 302.497 326.329 294.076 330.847 286.25C343.211 264.836 366.387 253.224 390.812 253.583C398.178 228.269 419.208 210 444 210C454.193 210 463.75 213.088 471.982 218.483C484.406 205.889 502.217 198 522 198C543.277 198 562.272 207.126 574.741 221.414C585.992 214.179 599.274 210 613.5 210C654.093 210 687 244.026 687 286L686.998 286.645C689.603 286.22 692.277 286 695 286C723.167 286 746 309.505 746 338.5C746 347.535 743.783 356.037 739.878 363.461C761.167 393.857 753.207 421.37 716 446C694.607 460.162 604.369 465.353 550.694 460.999C511.12 457.789 428.105 430.958 412 428C404.393 426.603 415.06 436.603 444 458C409.921 485.157 392.711 504.618 392.37 516.385L392.365 516.739C392.365 528.233 383.925 572.725 367.044 650.214L366 655L328.117 564.825L292.971 564.825Z" fill="black" stroke="black" stroke-width="12" stroke-linecap="round" stroke-linejoin="round"/></g>',+ '<g id="{{P}}Hairstyle/ 46"><path id="{{P}}Path" fill-rule="evenodd" clip-rule="evenodd" d="M328.115 564.825L365.998 655C365.998 655 401.998 529.592 401.998 512C401.998 494.408 348.294 499.522 371.998 469C383.662 453.981 472.998 379 472.998 379C472.998 379 409.998 385 346.998 444C283.998 503 289.998 565 289.998 565L328.115 564.825Z" fill="black" stroke="black" stroke-width="12" stroke-linecap="round" stroke-linejoin="round"/></g>',+ '<g id="{{P}}Hairstyle/ 47"><path id="{{P}}Path" fill-rule="evenodd" clip-rule="evenodd" d="M328.117 564.825L366 655C366 655 402 529.592 402 512C402 494.407 365 447 449 411C533 375 616 411 616 411C616 411 623 402 630 399C637 396 649 395 649 395C649 395 488 338 400.578 397.102C313.157 456.203 290 565 290 565L328.117 564.825Z" fill="black" stroke="black" stroke-width="12" stroke-linecap="round" stroke-linejoin="round"/></g>',+ '<g id="{{P}}Hairstyle/ 48"><path id="{{P}}Path" fill-rule="evenodd" clip-rule="evenodd" d="M328.117 564.825L366 655C366 655 385.371 570.084 403 540C424.858 502.699 480 494 480 494C480 494 477.209 483.947 476 475C474.791 466.054 476 457 476 457L362 410L492 433C492 433 563.019 419.458 616 419C647.294 418.73 693 426 693 426C693 426 678 383 592 359C506 335 397 367 346 426C295 485 290 565 290 565L328.117 564.825Z" fill="black" stroke="black" stroke-width="12" stroke-linecap="round" stroke-linejoin="round"/></g>',+ '<g id="{{P}}Hairstyle/ 49"><path id="{{P}}Path" fill-rule="evenodd" clip-rule="evenodd" d="M507.002 212C570.002 216 601.359 238.22 644.002 273C657.099 267.68 685.002 269 717.002 300C749.002 331 720.533 381.003 710.002 448C644.977 400.473 579.977 400.473 515.002 448C417.539 519.29 425.668 593 379.002 625L376.719 620.336L374.832 616.519C366.738 600.231 361.128 590.058 358.002 586C352.545 578.918 333.322 563.08 300.002 567C277.335 569.667 229.002 608 242.002 653C247.838 673.204 261.234 689.023 282.189 700.459C292.349 706.003 318.002 714 318.002 714C318.002 714 307.002 716 299.002 716C291.002 716 281.002 713 281.002 713C281.002 713 232.002 771 176.002 766C120.002 761 107.002 703 126.002 666C145.002 629 220.424 645.247 219.002 640C172.122 646.624 162.819 622.4 126.002 617C167.993 609.839 181.265 627.383 219.002 617C218.549 614.903 176.949 589.737 148.002 586C180.091 580.029 184.391 596.95 213.002 589C203.216 527.783 197.716 429.137 242.002 360C314.946 246.123 444.002 208 507.002 212Z" fill="black" stroke="black" stroke-width="12" stroke-linecap="round" stroke-linejoin="round"/></g>',+ '<g id="{{P}}Hairstyle/ 50"><path id="{{P}}Path" fill-rule="evenodd" clip-rule="evenodd" d="M426.002 229C503.002 222 539.359 228.22 582.002 263C595.099 257.68 669.002 242 732.002 323C795.002 404 778.755 491.067 767.002 540C764.235 551.516 752.002 499 698.002 458C644.002 417 582.002 389 582.002 389C582.002 389 492.002 462 480.002 526C478.356 534.775 498.002 400 498.002 400C498.002 400 474.473 456.878 470.002 478C461.746 516.997 467.94 523.932 452.002 553C436.064 582.068 398.904 601.544 379.002 625L376.719 620.336L374.832 616.519C366.738 600.231 361.128 590.058 358.002 586C352.545 578.918 333.322 563.08 300.002 567C277.335 569.667 229.002 608 242.002 653C247.838 673.204 261.234 689.023 282.189 700.458C292.349 706.003 318.002 714 318.002 714C318.002 714 307.002 716 299.002 716C291.002 716 281.002 713 281.002 713C281.002 713 232.002 771 176.002 766C120.002 761 107.002 703 126.002 666C145.002 629 220.424 645.247 219.002 640C172.122 646.624 162.819 622.4 126.002 617C167.993 609.839 181.265 627.383 219.002 617C218.549 614.903 176.949 589.737 148.002 586C180.091 580.029 184.391 596.95 213.002 589C203.216 527.783 211.515 462.93 242.002 389C282.002 292 349.002 236 426.002 229Z" fill="black" stroke="black" stroke-width="12" stroke-linecap="round" stroke-linejoin="round"/></g>',+ '<g id="{{P}}Hairstyle/ 51"><path id="{{P}}Path" fill-rule="evenodd" clip-rule="evenodd" d="M382.001 274C429.761 244.346 494.39 241.407 575.889 265.181L577.14 264.65C597.829 255.949 630.441 246.059 677.001 272C747.001 311 754.98 383.101 781.001 387C799.46 389.766 805.56 435.498 822.001 477C828.104 492.404 867.001 502 867.001 502L822.001 521C822.001 521 831.927 531.092 845.001 539C856.33 545.852 876.001 570 876.001 570C876.001 570 833.793 577.748 828.001 590C824.892 596.577 861.406 604.103 872.001 648C886.001 706 839.99 786.03 868.953 803.495C882.072 811.406 916.953 833.495 916.953 833.495C916.953 833.495 864.775 885.051 840.953 878.495C804.135 868.363 756.953 833.495 756.953 833.495C756.953 833.495 768.409 700.557 764.001 625C760.916 572.103 746.184 514.788 732.001 493C697.561 440.091 627.001 387 540.001 387C473.08 387 468.925 425.463 468.925 425.463C465.119 446.727 465.116 469.946 450.001 502C423.775 557.618 331.05 595.505 331.05 624.505C331.05 653.505 340.05 654.505 340.05 670.505C340.05 686.505 328.02 694.862 331.05 716.505C333.07 730.933 344.021 804.095 360.001 825C332.475 852.867 306.808 870.534 283.001 878C259.195 885.466 228.528 885.466 191.001 878C200.307 869.655 206.974 861.989 211.001 855L211.393 854.308C215.33 847.232 219.867 835.462 225.001 819C218.698 825.705 212.365 830.371 206.001 833C199.637 835.628 190.637 837.295 179.001 838L181.003 835.564C186.363 829.017 190.521 823.735 193.477 819.717L194.434 818.408C199.252 811.846 203.628 806.7 201.001 796C198.297 784.981 163.573 686.372 165.05 653.505C166.035 631.593 176.701 599.259 197.05 556.505C193.586 560.378 189.586 563.378 185.05 565.505C180.513 567.631 173.847 569.631 165.05 571.505L166.29 570.4C177.121 560.712 184.708 552.746 189.05 546.505C193.556 540.027 196.222 533.027 197.05 525.505C190.855 527.314 185.855 527.98 182.05 527.505C178.244 527.029 172.578 525.029 165.05 521.505L166.345 520.889C174.864 516.82 181.099 513.358 185.05 510.505C189.198 507.508 194.532 502.508 201.05 495.505L202.221 492.969C221.276 451.815 236.552 423.661 248.05 408.505C280.199 366.126 314.722 340.408 344.05 318.505C360.26 306.398 368.717 282.248 382.001 274Z" fill="black" stroke="black" stroke-width="12" stroke-linecap="round" stroke-linejoin="round"/></g>',+ '<g id="{{P}}Hairstyle/ 52"><path id="{{P}}Path" fill-rule="evenodd" clip-rule="evenodd" d="M512.002 159.967C529.497 159.967 548.058 149.154 564.002 151C671.999 163.504 742.662 227.855 781.002 289.498C798.105 316.998 832.173 357.301 848.002 385C872.892 428.558 881.079 473.611 881.002 540C880.969 568.018 882.695 582.737 881.002 600C879.919 611.04 858.002 642 858.002 642C858.002 642 871.575 639.91 881.002 635C890.428 630.091 906.002 617 906.002 617C906.002 617 892.002 664 881.002 672C870.002 680 853.002 681 863.002 695C873.002 709 892.002 713.588 918.002 709C879.596 742.833 847.929 762.833 823.002 769C798.074 775.168 771.407 778.128 743.002 777.881L744.738 772.642C763.255 716.488 775.343 670.69 781.002 635.247C787.194 596.465 768.616 548.941 764.002 528.633C756.002 493.427 711.002 455 669.002 419C641.002 395 593.002 376.743 525.002 364.228L448.002 375.188C452.668 399.063 438.335 484 421.002 540C395.002 624 336.002 623.291 357.002 653.182C378.002 683.074 334.002 683 334.002 716C334.002 738 359.668 752.667 411.002 760C377.002 782 347.335 791.334 322.002 788C277.766 782.18 250.089 755.816 238.002 760C220.668 766 220.668 778.334 238.002 797C204.668 792.334 179.002 780 161.002 760C134.002 730 136.326 705.969 138.002 685C139.678 664.031 156.925 668.032 170.002 647.39C187.221 620.208 139.711 582.819 140.002 557.528C140.294 532.174 161.205 500.098 173.002 461.875C181.218 435.251 180.16 400.229 185.002 385.152C209.002 310.422 252.198 275.332 292.002 247.649C316.916 230.322 337.002 180.891 393.002 159.967C449.002 139.042 472.946 159.967 512.002 159.967Z" fill="black" stroke="black" stroke-width="12" stroke-linecap="round" stroke-linejoin="round"/></g>',+ '<g id="{{P}}Hairstyle/ 53"><path id="{{P}}Path" fill-rule="evenodd" clip-rule="evenodd" d="M613.5 244C654.093 244 687 274.026 687 316L686.997 316.645C689.603 316.22 692.277 316 695 316C723.167 316 748 330 770 373C792 416 781 435 792 448C803 461 820 467 828 493C836 519 815.241 509.298 816 550C816.54 578.966 832 566 832 617C832 635.647 819.419 660.857 821 689C823.742 737.831 843 729 832 770C821 811 720 812 720 812C720 812 772.427 660.662 768 621C763.573 581.338 746 498 746 498C746 498 729 468 702 468C675 468 688.707 428 659 428C637 428 615 461 615 461C615 461 598 428 573 428C548 428 533 434 510 461C487 488 450.813 483.582 443 498C433.328 515.849 463 540 443 556C423 572 396 533 388 547C380 561 364 604 364 604C364 604 361 585 347 570C333 555 238 566 238 634C238 702 328 713 328 713C336.734 731.3 356.173 756.65 388 790C407.189 810.107 459 841 459 841C459 841 452.439 895.974 450 915C447.857 931.712 419.356 966.144 377 979C361.306 983.763 334.64 977.763 295 973C295 973 282 983 282 992C282 1001 294.5 1015.13 311 1014C295.75 1022.85 280.417 1027.51 265 1028C249.874 1028.48 233.545 1025.6 216.013 1019.36L215 1019L214.986 1018.93C193.84 1014.34 178 995.521 178 973C178 953.068 190.407 936.034 207.92 929.2C209.175 926.563 209.868 923.83 210 921C210.144 917.911 209.623 914.604 208.438 911.078C194.977 902.812 186 887.954 186 871C186 854.808 194.188 840.529 206.649 832.076C206.968 829.645 164 798 164 770C164 742 181.927 736.836 182 725C182.155 699.814 167.923 696.541 171 675C174 654 193.652 643.114 196 632C201.615 605.424 194.409 567.818 196 556C203 504 246.225 477.707 245 477C221.564 463.469 238 428 249 416C260 404 286.64 394.956 298 390C296.038 369.821 297 336 316 317C335 298 356.303 292.454 388.365 297.864C392.538 265.434 432.419 240 481 240C512.538 240 540.41 250.719 557.226 267.112C570.706 250.535 590.913 244 613.5 244Z" fill="black" stroke="black" stroke-width="12" stroke-linecap="round" stroke-linejoin="round"/></g>',+ '<g id="{{P}}Hairstyle/ 54"><path id="{{P}}Path" fill-rule="evenodd" clip-rule="evenodd" d="M486.999 191C396.999 191 260.999 287 207.999 414C154.999 541 112.933 911.176 150.999 968C219.999 1071 236.999 921 310.999 968C335.904 983.818 371.108 800.584 358.999 788C332.527 760.489 311.999 719 311.999 719C311.999 719 231.999 705 231.999 639C231.999 573 285.999 566 310.999 566C335.999 566 358.999 611 358.999 611C358.999 611 378.999 592 382.999 548C384.869 527.436 469.999 502 539.999 476C609.999 450 660.999 414 660.999 414C660.999 414 687.324 439.865 707.999 461C752.999 507 763.999 568 763.999 639C763.999 675.67 752.251 769.763 734.999 851C718.849 927.051 696.711 991.067 707.999 1008C721.183 1027.78 737.429 978.285 797.999 948C837.999 928 823.999 1001 852.999 948C881.999 895 848.999 655 828.999 519C808.999 383 750.999 292 672.999 241C594.999 190 506.36 191 486.999 191Z" fill="black" stroke="black" stroke-width="12" stroke-linecap="round" stroke-linejoin="round"/></g>',+ '<g id="{{P}}Hairstyle/ 55"><path id="{{P}}Path" fill-rule="evenodd" clip-rule="evenodd" d="M487 191C449.049 190.993 402.919 208.064 358.282 237.332C297.063 277.472 262.651 325.553 232 399C201.661 471.699 196 540 214 639C232 738 371.109 800.584 359 788C332.527 760.489 312 719 312 719C312 719 232 705 232 639C232 573 286 566 311 566C336 566 359 611 359 611C359 611 379 592 383 548C384.869 527.436 460.693 517.615 525 477C544 465 583.852 434.505 600 422C603.93 418.957 489.739 533.181 493 530C496.133 526.944 533.04 516.971 588 477C610 461 644 414 644 414C644 414 687.325 439.866 708 461C753 507 764 568 764 639C764 675.671 758.252 722.764 741 804C728.048 864.99 884 959 884 959C884 959 847.84 782.829 847 738C845.177 640.781 860.688 623.08 847 530C827 394 751 292 673 241C595 190 506.36 191 487 191Z" fill="black" stroke="black" stroke-width="12" stroke-linecap="round" stroke-linejoin="round"/></g>',+ '<g id="{{P}}Hairstyle/ 56"><path id="{{P}}Path" fill-rule="evenodd" clip-rule="evenodd" d="M459 252C314 281 243.651 409.553 213 483C182.349 556.447 182 710 182 836C182 962 62 1080 62 1080H352C352 1080 451.049 866.694 420 836C388.951 805.306 312 719 312 719C312 719 232 705 232 639C232 573 286 566 311 566C336 566 380 447 487 399C594 351 687.325 439.865 708 461C753 507 764 568 764 639C764 675.67 758.252 722.763 741 804C736.416 825.585 643 1080 643 1080H781C781 1080 777.56 1048.95 781 1038C793.31 998.814 813.378 973.044 819 945C833.588 872.231 807.322 755.18 807 738C805.177 640.781 832.688 633.08 819 540C813.343 501.531 808.535 437.476 758 374C707.465 310.523 664 316 664 316C664 316 604 223 459 252Z" fill="black" stroke="black" stroke-width="12" stroke-linecap="round" stroke-linejoin="round"/></g>',+ '<g id="{{P}}Hairstyle/ 57"><path id="{{P}}Path" fill-rule="evenodd" clip-rule="evenodd" d="M487 190.996L490.414 190.995C515.198 191.026 598.9 192.55 673 241C751 292 798 423 798 561C798 699 771 758.334 721 873C721 873 764 662.714 764 639C764 568 753 507 708 461C695.022 447.734 675.35 433.069 648.985 417.006C627.277 462.471 602.282 493.802 574 511C500 556 451 526 417 561C394.333 584.334 375 610.667 359 640V611L358.079 609.218C343.026 580.406 327.333 566 311 566C286 566 232 573 232 639C232 683 258.667 709.667 312 719C325.685 746.66 341.351 769.66 359 788C371.109 800.584 232 738 214 639C196 540 201.661 471.698 232 399C262.651 325.553 297.063 277.471 358.282 237.331C402.919 208.064 449.049 190.996 487 190.996Z" fill="black" stroke="black" stroke-width="12" stroke-linecap="round" stroke-linejoin="round"/></g>',+ '<g id="{{P}}Hairstyle/ 58"><path id="{{P}}Path" fill-rule="evenodd" clip-rule="evenodd" d="M487 190.995H492.802L494.51 191.009C523.444 191.291 602.561 194.944 673 241C751 292 798 423 798 561C798 699 771 758.334 721 873L724.371 856.476L727.478 841.174C751.826 720.961 764 653.57 764 639C764 568 753 507 708 461C695.022 447.734 675.35 433.069 648.985 417.006C627.277 462.471 602.282 493.802 574 511C500 556 451 526 417 561C411.432 566.732 406.066 572.644 400.9 578.738L401.07 583.058L401.244 587.26C404.124 655.641 409.526 711.553 417.449 755C428.75 816.968 456.934 899.301 502 1002L496.701 998.514C471.556 981.937 442.273 953.379 422 939C422 939 431.121 968.937 436 981C438.93 988.244 447 1011 447 1011C447 1011 353.876 922.968 329 880C304.124 837.032 262 797 262 797C256.014 811.362 253.429 824.778 242 847C230 870.334 198.667 876 176 904L177.554 901.082C202.478 854.153 222.733 831.008 228 809C228 809 240 759 228 699C216 639 203 623 199 579C195 535 201.661 471.698 232 399C262.651 325.553 297.063 277.471 358.282 237.331C402.919 208.064 449.049 190.995 487 190.995Z" fill="black" stroke="black" stroke-width="12" stroke-linecap="round" stroke-linejoin="round"/></g>',+ ],+ accessories: [+ '<g id="{{P}}Accessories/-0" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd"></g>',+ '<g id="{{P}}Accessories/-1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd" stroke-linecap="round" stroke-linejoin="round"><g id="{{P}}Group" transform="translate(270.000000, 695.000000)" stroke="#000000" stroke-width="12"><line x1="24" y1="0" x2="24" y2="64" id="{{P}}Path"></line><circle id="{{P}}Oval" fill="#FFFFFF" cx="24" cy="88" r="24"></circle></g></g>',+ '<g id="{{P}}Accessories/-2" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd" stroke-linecap="round" stroke-linejoin="round"><g id="{{P}}Group" transform="translate(270.000000, 695.000000)" stroke="#000000" stroke-width="12"><line x1="24" y1="0" x2="24" y2="48" id="{{P}}Path"></line><path d="M24,122 C37.254834,122 48,111.254834 48,98 C48,89.163444 40,71.163444 24,44 C8,71.163444 0,89.163444 0,98 C0,111.254834 10.745166,122 24,122 Z" id="{{P}}Oval" fill="#FFFFFF"></path></g></g>',+ '<g id="{{P}}Accessories/-3" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd" stroke-linecap="round" stroke-linejoin="round"><g id="{{P}}Group" transform="translate(244.000000, 709.000000)" fill="#FFFFFF" stroke="#000000" stroke-width="12"><path d="M60,0 C93.137085,0 120,26.862915 120,60 C120,93.137085 93.137085,120 60,120 C26.862915,120 0,93.137085 0,60 C0,26.862915 26.862915,0 60,0 Z M60,20 C37.90861,20 20,37.90861 20,60 C20,82.09139 37.90861,100 60,100 C82.09139,100 100,82.09139 100,60 C100,37.90861 82.09139,20 60,20 Z" id="{{P}}Combined-Shape"></path></g></g>',+ '<g id="{{P}}Accessories/-4" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd" stroke-linecap="round" stroke-linejoin="round"><polygon id="{{P}}Path-2" stroke="#000000" stroke-width="12" fill="#FFFFFF" points="300 691 250 761 300 831 350 761"></polygon><polygon id="{{P}}Path-2" stroke="#000000" stroke-width="12" fill="#FFFFFF" points="300 726 275 761 300 796 325 761"></polygon><line x1="300" y1="726" x2="300" y2="691" id="{{P}}Path-3" stroke="#000000" stroke-width="12" fill="#FFFFFF"></line><line x1="300" y1="831" x2="300" y2="796" id="{{P}}Path-3" stroke="#000000" stroke-width="12" fill="#FFFFFF"></line><line x1="325" y1="761" x2="350" y2="761" id="{{P}}Path-4" stroke="#000000" stroke-width="12" fill="#FFFFFF"></line><line x1="250" y1="761" x2="275" y2="761" id="{{P}}Path-4" stroke="#000000" stroke-width="12" fill="#FFFFFF"></line></g>',+ '<g id="{{P}}Accessories/-5" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd" stroke-linecap="round" stroke-linejoin="round"><path d="M269,593 C280.045695,593 289,584.045695 289,573 C289,561.954305 280.045695,553 269,553 C257.954305,553 249,561.954305 249,573" id="{{P}}Path" stroke="#000000" stroke-width="8"></path><path d="M242,623 C253.045695,623 262,614.045695 262,603 C262,591.954305 253.045695,583 242,583 C230.954305,583 222,591.954305 222,603" id="{{P}}Path" stroke="#000000" stroke-width="8" transform="translate(242.000000, 603.000000) rotate(-32.000000) translate(-242.000000, -603.000000) "></path></g>',+ '<g id="{{P}}Accessories/-6" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd" stroke-linecap="round" stroke-linejoin="round"><path d="M281,720 C288.333333,736.666667 295.666667,742.666667 303,738 C314,731 300.685557,703.463464 300.685557,697.308048 C300.685557,691.152631 308.938123,687.771131 312.938123,691.142601 C316.938123,694.514071 320.748656,704.392476 323,717 C328,745 315,757 300,758 C284.006216,759.066252 271.672883,743.732919 263,712 L281,720 Z" id="{{P}}Path-87" stroke="#000000" stroke-width="8" fill="#FFFFFF"></path></g>',+ '<g id="{{P}}Accessories/-7" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd" stroke-linecap="round" stroke-linejoin="round"><g id="{{P}}Group" transform="translate(276.000000, 687.000000)" stroke="#000000" stroke-width="8"><rect id="{{P}}Rectangle" fill="#FFFFFF" transform="translate(28.000000, 28.000000) rotate(-330.000000) translate(-28.000000, -28.000000) " x="8" y="8" width="40" height="40"></rect><rect id="{{P}}Rectangle" x="16" y="16" width="24" height="24"></rect></g></g>',+ '<g id="{{P}}Accessories/-8" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd" stroke-linecap="round" stroke-linejoin="round"><line x1="294" y1="695" x2="294" y2="743" id="{{P}}Path" stroke="#000000" stroke-width="12"></line><circle id="{{P}}Oval" stroke="#000000" stroke-width="12" fill="#FFFFFF" cx="294" cy="755" r="12"></circle><circle id="{{P}}Oval" stroke="#000000" stroke-width="12" fill="#FFFFFF" cx="294" cy="815" r="48"></circle><circle id="{{P}}Oval" stroke="#000000" stroke-width="12" cx="294" cy="779" r="12"></circle><circle id="{{P}}Oval" stroke="#000000" stroke-width="12" cx="294" cy="791" r="24"></circle></g>',+ '<g id="{{P}}Accessories/-9" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd" stroke-linecap="round" stroke-linejoin="round"><g id="{{P}}Group" transform="translate(262.000000, 695.000000)" stroke="#000000" stroke-width="12"><line x1="32" y1="0" x2="32" y2="48" id="{{P}}Path"></line><circle id="{{P}}Oval" fill="#FFFFFF" cx="32" cy="72" r="24"></circle><path d="M0,256 L64,256 C59.8709677,149.333333 49.2731183,96 32.2064516,96 C15.1397849,96 4.40430108,149.333333 0,256 Z" id="{{P}}Path" fill="#FFFFFF"></path><line x1="32" y1="256" x2="32" y2="156" id="{{P}}Path"></line><line x1="16" y1="256" x2="16" y2="208" id="{{P}}Path"></line><line x1="48" y1="256" x2="48" y2="208" id="{{P}}Path"></line></g></g>',+ '<g id="{{P}}Accessories/-10" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd" stroke-linecap="round" stroke-linejoin="round"><g id="{{P}}Group" transform="translate(331.000000, 402.000000)" stroke="#000000"><path d="M282,125 C279,98 272,73 209,73 C146,73 135.024573,103.117647 132.201043,121.941176 C129.377514,140.764706 155,196 204,196 C253,196 285,152 282,125 Z" id="{{P}}Path" stroke-width="8" fill="#0C0C0C"></path><path d="M0,348 C77.1868597,283.810541 138.18686,225.810541 183,174 C227.81314,122.189459 267.146474,64.189459 301,0" id="{{P}}Path" stroke-width="12"></path></g></g>',+ '<g id="{{P}}Accessories/ 12"><g id="{{P}}Group"><path id="{{P}}Path" d="M848.364 445.584C849.787 445.071 851.352 445.115 852.744 445.707L850.397 451.229C852.744 445.707 852.745 445.707 852.747 445.708L852.75 445.709L852.759 445.713L852.787 445.725L852.876 445.763C852.95 445.796 853.054 445.841 853.185 445.899C853.448 446.015 853.819 446.182 854.28 446.396C855.199 446.822 856.483 447.439 857.966 448.21C860.889 449.731 864.778 451.952 868.204 454.609C871.355 457.053 875.296 460.743 876.573 465.471C877.29 468.125 877.144 471.033 875.712 473.814C874.356 476.446 872.1 478.476 869.469 480.075C863.829 483.501 856.637 484.18 849.944 483.852C843.082 483.515 835.794 482.064 829.258 480.353C822.687 478.634 816.679 476.6 812.325 475.003C810.143 474.202 808.364 473.506 807.122 473.007C806.501 472.758 806.014 472.557 805.677 472.417C805.509 472.347 805.378 472.292 805.287 472.253L805.18 472.208L805.15 472.195L805.14 472.191L805.137 472.19C805.136 472.189 805.135 472.189 807.503 466.676L805.135 472.189C802.871 471.216 801.432 468.958 801.506 466.495C801.58 464.033 803.152 461.866 805.47 461.031L848.364 445.584Z" fill="white" stroke="black" stroke-width="12" stroke-linecap="round" stroke-linejoin="round"/><path id="{{P}}Path_2" d="M861.983 450.136C864.506 451.321 865.881 454.088 865.301 456.815C864.721 459.542 862.34 461.51 859.552 461.566L859.551 461.566L859.536 461.566L859.47 461.568C859.409 461.569 859.315 461.571 859.191 461.575C858.941 461.581 858.568 461.592 858.084 461.609C857.116 461.642 855.708 461.697 853.968 461.787C850.482 461.968 845.689 462.285 840.45 462.832C829.639 463.959 818.065 465.961 811.673 469.176C782.246 483.973 750.71 499.226 720.703 510.561C690.825 521.848 661.816 529.509 637.597 528.591C594.287 526.948 545.131 507.141 507.283 488.165C488.255 478.625 471.883 469.19 460.266 462.139C454.454 458.612 449.826 455.678 446.644 453.62C445.052 452.591 443.822 451.781 442.985 451.225C442.566 450.947 442.246 450.733 442.028 450.587L441.908 450.506L441.779 450.419L441.713 450.374L441.695 450.362L441.689 450.358C441.688 450.357 441.686 450.356 445.06 445.395L441.686 450.356C439.683 448.994 438.696 446.561 439.183 444.188C439.67 441.815 441.536 439.968 443.914 439.505L721.566 385.467C722.815 385.223 724.11 385.384 725.262 385.925L861.983 450.136Z" fill="white" stroke="black" stroke-width="12" stroke-linecap="round" stroke-linejoin="round"/><path id="{{P}}Path_3" d="M742.712 401.356L748.621 400.312C749.13 403.194 747.486 406.022 744.73 407.006L742.712 401.356ZM742.712 401.356C748.621 400.312 748.62 400.309 748.619 400.304L748.617 400.291L748.61 400.25C748.604 400.217 748.595 400.17 748.584 400.111C748.562 399.993 748.531 399.825 748.489 399.607C748.405 399.173 748.279 398.542 748.108 397.73C747.765 396.106 747.239 393.752 746.495 390.777C745.007 384.828 742.644 376.386 739.126 366.312C732.097 346.184 720.417 319.43 701.806 293.031C664.434 240.023 599.167 188.634 488.669 195.067C378.312 201.491 322.938 256.206 295.494 309.669C281.857 336.234 275.177 362.341 271.899 381.774C270.257 391.502 269.462 399.591 269.078 405.274C268.886 408.116 268.796 410.36 268.754 411.909C268.734 412.683 268.725 413.284 268.721 413.7C268.72 413.908 268.719 414.07 268.719 414.184C268.719 414.241 268.719 414.286 268.72 414.319L268.72 414.359L268.72 414.372C268.72 414.377 268.72 414.381 274.72 414.327M742.712 401.356C744.73 407.006 744.729 407.007 744.728 407.007L744.725 407.008L744.714 407.012L744.672 407.027L744.508 407.085C744.364 407.136 744.151 407.212 743.872 407.311C743.314 407.508 742.491 407.798 741.428 408.169C739.303 408.913 736.215 409.984 732.358 411.298C724.646 413.926 713.849 417.531 701.507 421.436C676.883 429.227 645.881 438.29 620.931 443.146C596.034 447.992 557.102 452.549 524.587 455.885C508.288 457.557 493.533 458.929 482.852 459.883C477.511 460.36 473.188 460.733 470.198 460.986C468.703 461.113 467.542 461.21 466.753 461.275C466.359 461.308 466.058 461.333 465.855 461.349L465.625 461.368L465.566 461.373L465.551 461.374L465.548 461.375C465.547 461.375 465.546 461.375 465.061 455.394M274.72 414.327C270.992 419.028 270.993 419.029 270.994 419.03L270.998 419.033L271.006 419.039L271.031 419.059L271.116 419.126C271.189 419.182 271.291 419.262 271.423 419.364C271.687 419.567 272.069 419.858 272.564 420.228C273.553 420.966 274.994 422.017 276.837 423.298C280.521 425.858 285.828 429.346 292.372 433.1C305.414 440.58 323.591 449.24 343.776 453.595C363.727 457.9 394.227 459.822 419.367 460.692C432.015 461.13 443.442 461.306 451.706 461.372C455.839 461.405 459.184 461.41 461.499 461.408C462.656 461.406 463.556 461.403 464.168 461.4C464.475 461.398 464.709 461.397 464.867 461.396L465.048 461.395L465.095 461.394L465.107 461.394L465.11 461.394C465.111 461.394 465.112 461.394 465.061 455.394M274.72 414.327L270.992 419.028C269.571 417.902 268.736 416.194 268.72 414.381L274.72 414.327ZM465.061 455.394L465.546 461.375C465.402 461.386 465.257 461.393 465.112 461.394L465.061 455.394Z" fill="white" stroke="black" stroke-width="12" stroke-linecap="round" stroke-linejoin="round"/><path id="{{P}}Oval" d="M467.691 222.831C459.814 223.798 452.181 223.033 446.139 220.727C440.381 218.529 434.472 214.203 433.606 207.15C432.739 200.096 437.427 194.469 442.482 190.944C447.787 187.244 455.008 184.655 462.885 183.688C470.762 182.721 478.395 183.486 484.437 185.792C490.196 187.99 496.105 192.316 496.971 199.369C497.837 206.423 493.15 212.05 488.094 215.575C482.789 219.275 475.568 221.864 467.691 222.831Z" fill="white" stroke="black" stroke-width="12" stroke-linecap="round" stroke-linejoin="round"/></g></g>',+ '<g id="{{P}}Accessories/ 13"><g id="{{P}}Group"><path id="{{P}}Path" d="M848.363 445.583C849.786 445.07 851.351 445.114 852.743 445.706L850.396 451.228C852.743 445.706 852.744 445.706 852.746 445.707L852.749 445.708L852.758 445.712L852.786 445.724L852.875 445.763C852.949 445.795 853.053 445.84 853.184 445.898C853.447 446.014 853.818 446.181 854.279 446.395C855.198 446.821 856.482 447.438 857.965 448.209C860.888 449.73 864.777 451.951 868.203 454.608C871.354 457.052 875.295 460.742 876.572 465.47C877.289 468.124 877.143 471.032 875.711 473.813C874.355 476.445 872.099 478.475 869.468 480.074C863.828 483.5 856.636 484.179 849.943 483.851C843.081 483.514 835.793 482.063 829.257 480.352C822.686 478.633 816.678 476.599 812.324 475.002C810.142 474.201 808.363 473.505 807.121 473.006C806.5 472.757 806.013 472.556 805.676 472.416C805.508 472.346 805.377 472.291 805.286 472.252L805.179 472.207L805.149 472.194L805.139 472.19L805.136 472.189C805.135 472.188 805.134 472.188 807.502 466.675L805.134 472.188C802.87 471.215 801.431 468.957 801.505 466.495C801.579 464.032 803.151 461.865 805.469 461.03L848.363 445.583Z" fill="black" stroke="white" stroke-width="12" stroke-linecap="round" stroke-linejoin="round"/><path id="{{P}}Path_2" d="M861.982 450.135C864.505 451.32 865.88 454.087 865.3 456.814C864.72 459.541 862.339 461.509 859.551 461.565L859.55 461.565L859.535 461.565L859.469 461.567C859.408 461.568 859.314 461.57 859.19 461.574C858.94 461.58 858.567 461.591 858.083 461.608C857.115 461.641 855.707 461.696 853.967 461.787C850.481 461.967 845.688 462.284 840.449 462.831C829.638 463.958 818.064 465.96 811.672 469.175C782.245 483.972 750.709 499.225 720.702 510.56C690.824 521.847 661.815 529.508 637.596 528.59C594.286 526.947 545.13 507.14 507.282 488.164C488.254 478.624 471.882 469.189 460.265 462.138C454.453 458.611 449.825 455.677 446.643 453.619C445.051 452.59 443.821 451.78 442.984 451.224C442.565 450.946 442.245 450.732 442.027 450.586L441.907 450.505L441.778 450.418L441.712 450.373L441.694 450.361L441.688 450.357C441.687 450.356 441.686 450.355 445.059 445.394L441.686 450.355C439.682 448.993 438.695 446.56 439.182 444.187C439.669 441.814 441.535 439.967 443.913 439.504L721.565 385.466C722.814 385.222 724.109 385.383 725.261 385.924L861.982 450.135Z" fill="black" stroke="white" stroke-width="12" stroke-linecap="round" stroke-linejoin="round"/><path id="{{P}}Path_3" d="M742.711 401.355L748.62 400.311C749.129 403.193 747.485 406.021 744.729 407.005L742.711 401.355ZM742.711 401.355C748.62 400.311 748.619 400.307 748.619 400.303L748.616 400.29L748.609 400.249C748.603 400.216 748.594 400.169 748.584 400.11C748.562 399.992 748.53 399.824 748.488 399.606C748.404 399.172 748.279 398.541 748.107 397.729C747.765 396.105 747.239 393.751 746.495 390.776C745.006 384.827 742.643 376.385 739.125 366.311C732.096 346.183 720.416 319.429 701.805 293.03C664.434 240.022 599.166 188.633 488.668 195.066C378.311 201.49 322.937 256.205 295.493 309.668C281.856 336.233 275.177 362.34 271.898 381.773C270.256 391.501 269.462 399.59 269.077 405.273C268.885 408.115 268.795 410.359 268.754 411.908C268.733 412.682 268.724 413.283 268.721 413.699C268.719 413.907 268.719 414.069 268.719 414.183C268.719 414.24 268.719 414.285 268.719 414.318L268.719 414.358L268.719 414.371C268.719 414.376 268.719 414.38 274.719 414.326M742.711 401.355C744.729 407.005 744.728 407.005 744.728 407.006L744.725 407.007L744.713 407.011L744.671 407.026L744.507 407.084C744.363 407.135 744.15 407.211 743.871 407.31C743.313 407.507 742.49 407.797 741.428 408.168C739.302 408.912 736.215 409.983 732.358 411.297C724.645 413.925 713.848 417.53 701.506 421.435C676.883 429.226 645.881 438.289 620.93 443.145C596.034 447.991 557.101 452.548 524.586 455.884C508.288 457.556 493.532 458.928 482.852 459.882C477.511 460.359 473.187 460.732 470.198 460.985C468.703 461.112 467.541 461.209 466.753 461.274C466.359 461.307 466.058 461.332 465.855 461.348L465.625 461.367L465.566 461.372L465.551 461.373L465.547 461.374C465.546 461.374 465.545 461.374 465.06 455.393M274.719 414.326C270.991 419.027 270.993 419.028 270.994 419.029L270.997 419.032L271.005 419.038L271.031 419.058L271.116 419.125C271.188 419.181 271.29 419.261 271.422 419.363C271.686 419.566 272.068 419.857 272.563 420.227C273.553 420.965 274.993 422.016 276.836 423.297C280.521 425.857 285.827 429.345 292.371 433.099C305.413 440.579 323.59 449.239 343.775 453.594C363.726 457.899 394.226 459.821 419.366 460.691C432.015 461.129 443.441 461.305 451.706 461.371C455.839 461.404 459.184 461.409 461.498 461.407C462.656 461.405 463.556 461.402 464.168 461.399C464.474 461.397 464.708 461.396 464.867 461.395L465.047 461.394L465.094 461.393L465.106 461.393L465.11 461.393C465.111 461.393 465.111 461.393 465.06 455.393M274.719 414.326L270.991 419.027C269.571 417.901 268.736 416.193 268.719 414.38L274.719 414.326ZM465.06 455.393L465.545 461.374C465.401 461.385 465.256 461.392 465.111 461.393L465.06 455.393Z" fill="black" stroke="white" stroke-width="12" stroke-linecap="round" stroke-linejoin="round"/><path id="{{P}}Oval" d="M467.691 222.83C459.814 223.797 452.181 223.032 446.139 220.726C440.381 218.528 434.472 214.202 433.606 207.149C432.739 200.095 437.427 194.468 442.482 190.943C447.787 187.243 455.008 184.654 462.885 183.687C470.762 182.72 478.395 183.485 484.437 185.791C490.196 187.989 496.105 192.315 496.971 199.368C497.837 206.422 493.15 212.049 488.094 215.574C482.789 219.274 475.568 221.863 467.691 222.83Z" fill="black" stroke="white" stroke-width="12" stroke-linecap="round" stroke-linejoin="round"/></g></g>',+ '<g id="{{P}}Accessories/ 14"><g id="{{P}}Group"><path id="{{P}}Path" d="M287.695 658.293C276.76 647.358 276.76 629.63 287.695 618.695C298.63 607.76 316.358 607.76 327.293 618.695C337.267 628.669 338.143 644.297 329.921 655.264L362.083 687.426C366.925 692.268 366.925 700.119 362.083 704.962C357.24 709.804 349.389 709.804 344.547 704.962L306.04 666.456C299.371 666.111 292.792 663.389 287.695 658.293Z" fill="white" stroke="black" stroke-width="8" stroke-linecap="round" stroke-linejoin="round"/><rect id="{{P}}Rectangle" width="8" height="16" rx="4" transform="matrix(-0.707107 0.707107 0.707107 0.707107 295.615 623.221)" fill="black"/></g></g>',+ '<g id="{{P}}Accessories/ 15"><g id="{{P}}Group"><path id="{{P}}Path" fill-rule="evenodd" clip-rule="evenodd" d="M300.966 701.382C298.663 691.492 286.914 693.188 282.539 696.987C267.506 710.039 262.961 729.955 274.478 744.242C285.994 758.528 306.725 755.231 314.787 746.44C322.848 737.648 324 728.856 324 728.856H305.573C305.573 728.856 300.966 736.549 292.905 733.252C288.382 731.403 287.479 722.218 290.601 715.669C293.752 709.06 302.123 706.35 300.966 701.382Z" fill="white" stroke="black" stroke-width="8" stroke-linecap="round" stroke-linejoin="round"/><ellipse id="{{P}}Oval" cx="278" cy="739.5" rx="6" ry="7.5" transform="rotate(-30 278 739.5)" fill="black"/><ellipse id="{{P}}Oval_2" cx="303" cy="748.5" rx="6" ry="7.5" transform="rotate(-105 303 748.5)" fill="black"/><ellipse id="{{P}}Oval_3" cx="275" cy="712.5" rx="6" ry="7.5" transform="rotate(-150 275 712.5)" fill="black"/></g></g>',+ ],+ details: [+ '<g id="{{P}}Details/-0" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd"></g>',+ '<g id="{{P}}Details/-1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd" stroke-linecap="round" stroke-linejoin="round"><path d="M485,619 C507.09139,619 525,636.90861 525,659 C525,681.09139 507.09139,699 485,699 C462.90861,699 445,681.09139 445,659 C445,636.90861 462.90861,619 485,619 Z M767.292336,619.274106 C780,619 763.092776,698.242969 759.023679,696.8482 C743.301573,691.459118 732,676.549371 732,659 C732,638.501287 747.390789,619.703385 767.292336,619.274106 Z" id="{{P}}Combined-Shape" stroke="#000000" stroke-width="12"></path></g>',+ '<g id="{{P}}Details/-2" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd" stroke-linecap="round" stroke-linejoin="round"><path d="M485,619 C507.09139,619 525,627.954305 525,639 C525,650.045695 507.09139,659 485,659 C462.90861,659 445,650.045695 445,639 C445,627.954305 462.90861,619 485,619 Z M768.257551,619.086322 C769.489678,619.029221 768.023293,658.926198 766.096923,658.783728 C746.80451,657.35691 732,649.0429 732,639 C732,628.585298 747.920969,620.029867 768.257551,619.086322 Z" id="{{P}}Combined-Shape" stroke="#000000" stroke-width="12"></path></g>',+ '<g id="{{P}}Details/-3" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd" stroke-linecap="round" stroke-linejoin="round"><path d="M491.752948,639.020916 L486.914511,658.42683 M511.752948,639.020916 L506.914511,658.42683 M531.752948,639.020916 L526.914511,658.42683 M789.247052,639.020916 L794.085489,658.42683 M769.247052,639.020916 L774.085489,658.42683 M749.247052,639.020916 L754.085489,658.42683" id="{{P}}Combined-Shape" stroke="#000000" stroke-width="12"></path></g>',+ '<g id="{{P}}Details/-4" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd" stroke-linecap="round" stroke-linejoin="round"><path d="M438.627052,619 C436.62301,638.948361 439.422618,653.748361 447.025876,663.4 C454.629134,673.051639 462.287175,678.251639 470,679 C472.666667,693.666667 476.666667,705.666667 482,715 C487.333333,724.333333 494,732.333333 502,739" id="{{P}}Path" stroke="#000000" stroke-width="12"></path></g>',+ '<g id="{{P}}Details/-5" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd" stroke-linecap="round" stroke-linejoin="round"><g id="{{P}}Group" transform="translate(453.000000, 659.000000)" stroke="#000000" stroke-width="12"><path d="M0,0 C12,6.66666667 24,10 36,10 C48,10 60,6.66666667 72,0" id="{{P}}Path"></path><path d="M289,-3.37685435e-12 C299.916502,5.03026124 308.103878,8.02711078 313.562129,8.9905486" id="{{P}}Path"></path></g></g>',+ '<g id="{{P}}Details/-6" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd" stroke-linecap="round" stroke-linejoin="round"><polygon id="{{P}}Path" stroke="#000000" stroke-width="4" fill="#000000" transform="translate(592.211883, 442.584103) rotate(-22.000000) translate(-592.211883, -442.584103) " points="587.416001 449.784099 603.311666 453.984197 605.711883 417.284201 589.816218 413.084103 594.607547 444.217474 578.711883 440.017376 587.035582 472.084103"></polygon></g>',+ '<g id="{{P}}Details/-7" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd" stroke-linecap="round" stroke-linejoin="round"><path d="M554,440 C578,434.666667 602,432 626,432 C650,432 674,434.666667 698,440" id="{{P}}Path" stroke="#000000" stroke-width="2"></path><path d="M578,448 C594,445.333333 610,444 626,444 C642,444 658,445.333333 674,448" id="{{P}}Path" stroke="#000000" stroke-width="2"></path></g>',+ '<g id="{{P}}Details/-8" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd" stroke-linecap="round" stroke-linejoin="round"><path d="M532,619 C527.104067,645.751191 524.104067,665.751191 523,679 C521.895933,692.248809 521.562599,712.248809 522,739" id="{{P}}Path" stroke="#000000" stroke-width="4"></path><path d="M754.186173,619 C749.29024,645.751191 746.29024,665.751191 745.186173,679 C744.369307,688.802386 743.974346,702.300417 744.001291,719.494092" id="{{P}}Path" stroke="#000000" stroke-width="4" transform="translate(749.093086, 669.247046) scale(-1, 1) translate(-749.093086, -669.247046) "></path></g>',+ '<g id="{{P}}Details/-9" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd" stroke-linecap="round" stroke-linejoin="round"><path d="M523.138691,666.607842 L451.314079,671.630308 C463.098831,668.13306 474.976591,665.965897 486.947359,665.128819 C498.918128,664.291741 510.981905,664.784749 523.138691,666.607842 Z M734.861309,666.607842 C749.483691,665.134021 760.412369,664.57364 767.647342,664.926697 L767.647342,664.926697 Z M522.022587,650.646817 L438.227207,656.506361 C452.007087,652.8696 465.879975,650.562924 479.845871,649.586333 C493.811768,648.609742 507.870673,648.963237 522.022587,650.646817 Z M735.977413,650.646817 C750.919604,649.423529 762.096932,648.92528 769.509399,649.15207 L769.509399,649.15207 Z M520.906484,634.685793 L425.140335,641.382414 C440.915342,637.60614 456.783359,635.159951 472.744383,634.043847 C488.705408,632.927744 504.759442,633.141725 520.906484,634.685793 Z M737.093516,634.685793 C752.493592,633.665689 764.019757,633.242297 771.672009,633.415616 L771.672009,633.415616 Z" id="{{P}}Combined-Shape" stroke="#000000" stroke-width="4"></path></g>',+ '<g id="{{P}}Details/-10" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd" stroke-linecap="round" stroke-linejoin="round"><path d="M454,610 C468.243551,638.003262 476.910218,659.669928 480,675 C483.089782,690.330072 483.089782,711.663405 480,739" id="{{P}}Path" stroke="#000000" stroke-width="4"></path></g>',+ '<g id="{{P}}Details/ 11"><g id="{{P}}Group"><path id="{{P}}Path" d="M507 720C507 720 494.598 736.764 490.475 756.711C486.352 776.658 490.594 790.012 490.594 790.012" stroke="black" stroke-width="8" stroke-linecap="round" stroke-linejoin="round"/><path id="{{P}}Path_2" d="M474.455 780.077C474.455 780.077 472.756 789.239 475.816 797.908C478.876 806.577 484.27 810.911 484.27 810.911" stroke="black" stroke-width="6" stroke-linecap="round" stroke-linejoin="round"/></g></g>',+ '<g id="{{P}}Details/ 12"><g id="{{P}}Group"><path id="{{P}}Path" fill-rule="evenodd" clip-rule="evenodd" d="M511.307 445.692C511.307 445.692 487.802 466.737 479.157 484.515C470.511 502.293 465.201 540.499 465.201 540.499C465.201 540.499 474.765 503.28 482.827 486.703C490.889 470.125 511.307 445.692 511.307 445.692Z" fill="black" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/><path id="{{P}}Path_2" fill-rule="evenodd" clip-rule="evenodd" d="M478.14 452.968C478.14 452.968 468.587 468.207 465.775 476.369C462.963 484.53 460.527 497.199 462.555 498.204C464.582 499.21 465.445 484.848 467.592 477.026C469.739 469.204 478.14 452.968 478.14 452.968Z" fill="black" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/></g></g>',+ '<g id="{{P}}Details/ 13"><path id="{{P}}Combined Shape" d="M478 630C455.909 630 438 647.909 438 670H446C446 652.327 460.327 638 478 638V630ZM518 670C518 647.909 500.091 630 478 630V638C495.673 638 510 652.327 510 670H518ZM478 710C500.091 710 518 692.091 518 670H510C510 687.673 495.673 702 478 702V710ZM438 670C438 692.091 455.909 710 478 710V702C460.327 702 446 687.673 446 670H438ZM438 670C438 647.909 455.909 630 478 630V622C451.49 622 430 643.49 430 670H438ZM478 710C455.909 710 438 692.091 438 670H430C430 696.51 451.49 718 478 718V710ZM518 670C518 692.091 500.091 710 478 710V718C504.51 718 526 696.51 526 670H518ZM478 630C500.091 630 518 647.909 518 670H526C526 643.49 504.51 622 478 622V630ZM778 630C755.909 630 738 647.909 738 670H746C746 652.327 760.327 638 778 638V630ZM818 670C818 647.909 800.091 630 778 630V638C795.673 638 810 652.327 810 670H818ZM778 710C800.091 710 818 692.091 818 670H810C810 687.673 795.673 702 778 702V710ZM738 670C738 692.091 755.909 710 778 710V702C760.327 702 746 687.673 746 670H738ZM738 670C738 647.909 755.909 630 778 630V622C751.49 622 730 643.49 730 670H738ZM778 710C755.909 710 738 692.091 738 670H730C730 696.51 751.49 718 778 718V710ZM818 670C818 692.091 800.091 710 778 710V718C804.51 718 826 696.51 826 670H818ZM778 630C800.091 630 818 647.909 818 670H826C826 643.49 804.51 622 778 622V630Z" fill="black"/></g>',+ ],+ beard: [+ '<g id="{{P}}Beard/-0" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd"></g>',+ '<g id="{{P}}Beard/-1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd" stroke-linecap="round" stroke-linejoin="round"><g id="{{P}}Group" transform="translate(365.000000, 654.000000)" stroke="#000000"><path d="M22,0 C48,64 71,96 91,96 C121,96 115,47 167,47 C219,47 210,72 262,72 C286.700743,72 329,54 353,47 C369,42.3333333 387,41 407,43 C393.666667,175.666667 334.333333,242 229,242 C69.6666667,242 -6.33333333,161.333333 1,0 L22,0 Z M324,85 C308.372818,69.9446471 296.164856,90.0896483 249,90.351705 C201.835144,90.6137616 166.573326,68.2991479 157,93 C147.426674,117.700852 181.981237,140.31964 255.653458,140.351729 C329.325678,140.383517 339.627182,100.055353 324,85 Z" id="{{P}}Combined-Shape" stroke-width="12" fill="#000000"></path><path d="M184,105 C211.33038,111.666667 234.663714,115 254,115 C273.336286,115 290.002953,111.666667 304,105" id="{{P}}Path" stroke-width="16"></path></g></g>',+ '<g id="{{P}}Beard/-2" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd" stroke-linecap="round" stroke-linejoin="round"><g id="{{P}}Group" transform="translate(371.133645, 672.093579)" stroke="#000000" stroke-width="16"><line x1="266.273341" y1="38.9064208" x2="266.273341" y2="62.9064208" id="{{P}}Path" transform="translate(266.273341, 50.906421) rotate(5.000000) translate(-266.273341, -50.906421) "></line><line x1="292.365079" y1="38.9064208" x2="292.365079" y2="62.9064208" id="{{P}}Path" transform="translate(292.365079, 50.906421) scale(-1, 1) rotate(5.000000) translate(-292.365079, -50.906421) "></line><line x1="239.557395" y1="40.9064208" x2="239.557395" y2="64.9064208" id="{{P}}Path" transform="translate(239.557395, 52.906421) rotate(8.000000) translate(-239.557395, -52.906421) "></line><line x1="319.081025" y1="41.9064208" x2="319.081025" y2="65.9064208" id="{{P}}Path" transform="translate(319.081025, 53.906421) scale(-1, 1) rotate(8.000000) translate(-319.081025, -53.906421) "></line><line x1="211.425951" y1="45.8073404" x2="210.217288" y2="63.4360151" id="{{P}}Path" transform="translate(210.925951, 54.807340) rotate(16.000000) translate(-210.925951, -54.807340) "></line><line x1="347.507476" y1="50.9064208" x2="347.507476" y2="70.9064208" id="{{P}}Path" transform="translate(347.507476, 60.906421) scale(-1, 1) rotate(16.000000) translate(-347.507476, -60.906421) "></line><line x1="181.844559" y1="48.1498621" x2="181.525756" y2="65.6629795" id="{{P}}Path" transform="translate(182.025756, 56.662979) rotate(19.000000) translate(-182.025756, -56.662979) "></line><line x1="151.490065" y1="56.7191175" x2="153.222458" y2="74.354276" id="{{P}}Path" transform="translate(152.696414, 65.497522) rotate(22.000000) translate(-152.696414, -65.497522) "></line><line x1="122.837706" y1="71.6204191" x2="126.780408" y2="96.0484158" id="{{P}}Path" transform="translate(124.837706, 84.120419) rotate(22.000000) translate(-124.837706, -84.120419) "></line><line x1="9.58948596" y1="-1.01442282" x2="5.14322409" y2="11.2015813" id="{{P}}Path" transform="translate(7.500000, 5.000000) rotate(70.000000) translate(-7.500000, -5.000000) "></line><line x1="13.9927886" y1="28.4091214" x2="12.0235844" y2="42.5908786" id="{{P}}Path" transform="translate(13.004093, 35.351932) rotate(70.000000) translate(-13.004093, -35.351932) "></line><line x1="20.9941812" y1="53.2957181" x2="18.8556925" y2="72.0949718" id="{{P}}Path" transform="translate(19.994181, 62.795718) rotate(70.000000) translate(-19.994181, -62.795718) "></line><line x1="28.866355" y1="80.9064208" x2="28.866355" y2="100.906421" id="{{P}}Path" transform="translate(28.866355, 90.906421) rotate(70.000000) translate(-28.866355, -90.906421) "></line><line x1="46.1997712" y1="108.632477" x2="50.981151" y2="128.886179" id="{{P}}Path" transform="translate(48.481151, 118.386179) rotate(70.000000) translate(-48.481151, -118.386179) "></line><line x1="66.8244792" y1="131.559139" x2="74.1692845" y2="150.617497" id="{{P}}Path" transform="translate(70.669285, 140.617497) rotate(70.000000) translate(-70.669285, -140.617497) "></line><line x1="86.8992094" y1="152.384454" x2="97.8335007" y2="167.428388" id="{{P}}Path" transform="translate(92.333501, 159.428388) rotate(70.000000) translate(-92.333501, -159.428388) "></line><line x1="114.53737" y1="164.254546" x2="129.592672" y2="175.956143" id="{{P}}Path" transform="translate(122.092672, 169.956143) rotate(70.000000) translate(-122.092672, -169.956143) "></line><line x1="146.238529" y1="168.970245" x2="160.954313" y2="178.099239" id="{{P}}Path" transform="translate(153.454313, 173.099239) rotate(70.000000) translate(-153.454313, -173.099239) "></line><line x1="174.944456" y1="168.32313" x2="191.788254" y2="177.489712" id="{{P}}Path" transform="translate(183.288254, 172.489712) rotate(70.000000) translate(-183.288254, -172.489712) "></line><line x1="204.9014" y1="169.192791" x2="223.711207" y2="173.460538" id="{{P}}Path" transform="translate(214.271259, 171.040294) rotate(70.000000) translate(-214.271259, -171.040294) "></line><line x1="234.714972" y1="164.529202" x2="250.464074" y2="165.163612" id="{{P}}Path" transform="translate(242.733894, 164.396280) rotate(70.000000) translate(-242.733894, -164.396280) "></line><line x1="260.929106" y1="154.234055" x2="276.136923" y2="153.384181" id="{{P}}Path" transform="translate(268.630203, 154.095799) rotate(70.000000) translate(-268.630203, -154.095799) "></line><line x1="286.892662" y1="141.146548" x2="301.056215" y2="139.152378" id="{{P}}Path" transform="translate(294.049495, 140.363996) rotate(70.000000) translate(-294.049495, -140.363996) "></line></g></g>',+ '<g id="{{P}}Beard/-3" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd" stroke-linecap="round" stroke-linejoin="round"><path d="M711,764 L707,764 L706.345455,762.706777 C700.563636,751.423471 694.781818,743.854545 689,740 C680,734 658,735 618,735 L615.604952,734.995328 C576.5692,734.8448 541.74,731.16 529,739 C520.333333,744.333333 514.333333,752.666667 511,764 L462,764 L366,655 L383,655 C388.047581,663.07807 393.047581,668.411404 398,671 C406.445576,675.414446 431.388408,682.267492 438,687 C450.42707,695.895166 463.760404,707.895166 478,723 L506,723 L532,713 C566.333333,708.333333 598.666667,706 629,706 C659.333333,706 688,709.333333 715,716 L734,739 L747,739 C762.333333,758.333333 758,790 734,834 C698,900 652.613614,901.016753 640,905 C621,911 543.350864,912.626406 512,903 L510.10195,902.41143 C478.827156,892.616328 434.373138,873.798208 408,829 C390.238499,798.829779 376.339484,741.682276 366.302955,657.557493 L366,655 L461,769 L512,769 C527.554629,792.760871 543.887962,808.760871 561,817 C577.940917,825.156738 592.158427,817.724205 603.652528,794.702402 L604,794 L629,794 C631.666667,809.333333 638.333333,817 649,817 C659.56,817 679.921,799.6849 710.083,765.0547 L711,764 Z" id="{{P}}Path" stroke="#000000" stroke-width="12" fill="#000000"></path></g>',+ '<g id="{{P}}Beard/-4" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd" stroke-linecap="round" stroke-linejoin="round"><g id="{{P}}Group" transform="translate(310.000000, 649.000000)" stroke="#000000"><path d="M439,0 C465.509668,0 487,21.490332 487,48 C487,66.0774761 477.006672,81.8208853 462.243021,90.0072235 C467.67121,95.7398064 471,103.481163 471,112 C471,123.537778 464.893812,133.64938 455.736752,139.279489 C459.723257,146.274585 462,154.371411 462,163 C462,182.053279 450.898696,198.51371 434.811365,206.266014 C432.654213,230.777481 412.071936,250 387,250 C381.557152,250 376.325892,249.094086 371.448776,247.424815 C363.777046,263.720272 347.205784,275 328,275 C312.237495,275 298.249539,267.402249 289.498577,255.669192 C280.750461,267.402249 266.762505,275 251,275 C228.649868,275 209.867514,259.724525 204.523624,239.044259 C196.229053,245.889003 185.594614,250 174,250 C147.490332,250 126,228.509668 126,202 C126,201.552587 126.006121,201.106603 126.018285,200.662128 C119.424643,204.073448 111.937306,206 104,206 C77.490332,206 56,184.509668 56,158 C56,152.709881 56.8557864,147.619642 58.4364702,142.860172 C55.0775751,143.607053 51.5846764,144 48,144 C21.490332,144 0,122.509668 0,96 C0,77.3084849 10.6837461,61.1122925 26.2777205,53.1849404 C26.0939273,51.4832293 26,49.7525836 26,48 C26,21.490332 47.490332,0 74,0 C91.5693965,0 106.934084,9.43948364 115.299183,23.5235732 C123.303336,17.5417319 133.23806,14 144,14 C169.822842,14 190.883066,34.3911923 191.95701,59.9499159 C199.231458,55.1929431 208.726028,52 222,52 C274,52 265,77 317,77 C336.814256,77 367.952814,65.4173484 391.885877,57.2213362 C391.304216,54.2371224 391,51.154088 391,48 C391,21.490332 412.490332,0 439,0 Z M304,95.351705 C256.835144,95.6137616 221.573326,73.2991479 212,98 C202.426674,122.700852 236.981237,145.31964 310.653458,145.351729 C384.325678,145.383517 394.627182,105.055353 379,90 C363.372818,74.9446471 351.164856,95.0896483 304,95.351705 Z M95.762784,100.784655 L95.6897417,101.487596 C95.3104146,104.820544 94.5897387,108.049893 93.5635298,111.139828 C95.9882152,110.600109 98.483472,110.245706 101.032472,110.090234 C99.2503539,107.05212 97.4947828,103.948121 95.762784,100.784655 Z" id="{{P}}Combined-Shape" stroke-width="12" fill="#000000"></path><path d="M239,110 C266.33038,116.666667 289.663714,120 309,120 C328.336286,120 345.002953,116.666667 359,110" id="{{P}}Path" stroke-width="16"></path></g></g>',+ '<g id="{{P}}Beard/-5" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd" stroke-linecap="round" stroke-linejoin="round"><g id="{{P}}Group" transform="translate(488.471351, 711.000000)" stroke="#000000" stroke-width="16"><line x1="148.935635" y1="0" x2="148.935635" y2="24" id="{{P}}Path" transform="translate(148.935635, 12.000000) rotate(5.000000) translate(-148.935635, -12.000000) "></line><line x1="175.027373" y1="0" x2="175.027373" y2="24" id="{{P}}Path" transform="translate(175.027373, 12.000000) scale(-1, 1) rotate(5.000000) translate(-175.027373, -12.000000) "></line><line x1="122.219689" y1="2" x2="122.219689" y2="26" id="{{P}}Path" transform="translate(122.219689, 14.000000) rotate(8.000000) translate(-122.219689, -14.000000) "></line><line x1="201.743319" y1="3" x2="201.743319" y2="27" id="{{P}}Path" transform="translate(201.743319, 15.000000) scale(-1, 1) rotate(8.000000) translate(-201.743319, -15.000000) "></line><line x1="93.7932385" y1="7" x2="93.7932385" y2="27" id="{{P}}Path" transform="translate(93.793238, 17.000000) rotate(16.000000) translate(-93.793238, -17.000000) "></line><line x1="230.16977" y1="12" x2="230.16977" y2="32" id="{{P}}Path" transform="translate(230.169770, 22.000000) scale(-1, 1) rotate(16.000000) translate(-230.169770, -22.000000) "></line><line x1="63.7471773" y1="6.59518528" x2="63.4283745" y2="24.1083027" id="{{P}}Path" transform="translate(63.928374, 15.108303) rotate(19.000000) translate(-63.928374, -15.108303) "></line><line x1="34.1523593" y1="17.8126967" x2="35.8847521" y2="35.4478552" id="{{P}}Path" transform="translate(35.358708, 26.591101) rotate(22.000000) translate(-35.358708, -26.591101) "></line><line x1="5.5" y1="32.7139984" x2="9.44270186" y2="57.1419951" id="{{P}}Path" transform="translate(7.500000, 45.213998) rotate(22.000000) translate(-7.500000, -45.213998) "></line></g></g>',+ '<g id="{{P}}Beard/-6" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd" stroke-linecap="round" stroke-linejoin="round"><path d="M671.118678,718.2216 C669.299174,707.737669 688.858843,708.193492 698.41124,710.016784 C704.779504,711.232312 724.642424,716.246366 758,725.058946 C701.292121,727.490002 672.331681,725.210887 671.118678,718.2216 Z M648.881322,718.2216 C647.668319,725.210887 618.707879,727.490002 562,725.058946 C595.357576,716.246366 615.220496,711.232312 621.58876,710.016784 C631.141157,708.193492 650.700826,707.737669 648.881322,718.2216 Z" id="{{P}}Combined-Shape" stroke="#000000" stroke-width="12" fill="#000000"></path></g>',+ '<g id="{{P}}Beard/-7" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd" stroke-linecap="round" stroke-linejoin="round"><path d="M651.106921,708.217112 C643.242163,720.755018 634.814228,727.48805 625.823115,728.416207 C612.336446,729.808442 601.135926,726.699142 587.662471,729.083168 C578.680167,730.672519 571.053077,734.0505 564.7812,739.217112 C564.614336,727.262804 572.04428,718.587559 587.071034,713.191376 C596.791588,709.700676 608.026844,709.840979 623.035486,709.478749 C628.497372,709.346928 637.854517,708.926382 651.106921,708.217112 Z M671,708.217112 C684.252404,708.926382 693.609549,709.346928 699.071435,709.478749 C714.080077,709.840979 725.315333,709.700676 735.035887,713.191376 C750.062641,718.587559 757.492585,727.262804 757.325721,739.217112 C751.053844,734.0505 743.426754,730.672519 734.44445,729.083168 C720.970995,726.699142 709.770475,729.808442 696.283806,728.416207 C687.292693,727.48805 678.864757,720.755018 671,708.217112 Z" id="{{P}}Combined-Shape" stroke="#000000" stroke-width="12" fill="#000000"></path></g>',+ '<g id="{{P}}Beard/-8" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd" stroke-linecap="round" stroke-linejoin="round"><path d="M586,789 C595.011441,790.376344 603.793663,791.064516 612.346667,791.064516 C620.899671,791.064516 629.450782,790.376344 638,789 C632.278888,793.086246 627.194444,797.90345 622.746667,803.451613 C618.298889,808.999776 614.832223,814.849238 612.346667,821 C609.657401,814.455813 606.190734,808.606351 601.946667,803.451613 C597.702599,798.296875 592.387044,793.479671 586,789 Z" id="{{P}}Path" stroke="#000000" stroke-width="12" fill="#000000"></path></g>',+ '<g id="{{P}}Beard/-9" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd" stroke-linecap="round" stroke-linejoin="round"><path d="M591,787 L635,787 C630.333333,808.333333 633.666667,819 645,819 C656.333333,819 677.333333,803.333333 708,772 C706.096725,787.252619 703.763392,797.919286 701,804 C681.384138,847.163789 649,872 588,872 C571.270609,872 532,872 513,859 C503.782362,852.693195 484,841 474,812 C472.318666,807.124131 470.651999,796.457464 469,780 C500.392573,797.855208 521.392573,808.521874 532,812 C553.420148,819.023566 571.9567,819 580,819 C594.017959,819 597.684625,808.333333 591,787 Z" id="{{P}}Path" stroke="#000000" stroke-width="12" fill="#000000"></path></g>',+ '<g id="{{P}}Beard/-10" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd" stroke-linecap="round" stroke-linejoin="round"><path d="M385,651 C400.949347,693.922506 417.682633,729.624512 435.19986,758.106018 L435.257961,757.93037 L435.257961,757.93037 L435.382991,757.590097 C436.332315,755.121854 438.453635,752.057725 441.746952,748.397709 C445.047182,758.655798 447.875609,766.669675 450.232233,772.43934 C452.097947,777.007122 454.998032,783.424708 458.932488,791.692099 C462.241449,795.708652 465.576333,799.483371 468.937098,803.019711 C468.747704,801.751066 468.712602,800.556378 468.831416,799.433013 C469.109564,796.803169 470.365547,793.29441 472.599365,788.906733 C478.442132,797.961124 483.248326,804.969884 487.017949,809.933013 C490.647638,814.711903 496.463455,821.737819 504.465401,831.01076 C508.572484,833.217447 512.714195,835.101048 516.89077,836.663537 C516.545049,836.110965 516.247867,835.5577 516,835 C514.925962,832.583415 514.259295,828.916748 514,824 C523.58718,828.919949 531.253846,832.586615 537,835 C541.622781,836.941568 548.351518,839.478546 557.186211,842.610933 C564.771431,840.895593 570.683251,839.438661 574.924158,838.240012 C580.921598,836.544896 588.977973,833.839892 599.093282,830.124999 C598.568821,833.09366 597.949892,835.578556 597.236495,837.579687 C601.020483,836.642061 604.801869,835.576414 608.580373,834.382534 C617.277979,828.42916 623.771313,823.79084 628.061261,820.465325 C632.986989,816.64696 639.443418,811.120953 647.430546,803.887303 C648.452634,808.703627 648.757686,812.417901 648.345704,815.030125 C648.225732,815.790817 648.028088,816.565012 647.752769,817.352712 C669.261883,805.436827 690.678134,789.318484 712,769 C710.645087,779.947888 705.645087,789.947888 697,799 C655.842569,842.095192 585,869 525,865 C455.659793,860.37732 402.32646,789.043986 365,651 L385,651 Z M500.454782,828.750915 C500.081029,828.529966 499.707569,828.306327 499.3344,828.08 Z" id="{{P}}Combined-Shape" stroke="#000000" stroke-width="12" fill="#000000"></path></g>',+ '<g id="{{P}}Beard/ 11"><g id="{{P}}Shape"><path fill-rule="evenodd" clip-rule="evenodd" d="M678.921 715.755C694.162 721.538 703.262 732.755 709.667 745.755C716.073 758.755 727.88 802.755 724.677 821.755C721.474 840.755 691.162 873 670 883C653.946 890.586 583.895 908.877 557.677 902.755C517.899 893.465 475.677 877.755 470.677 858.755C465.677 839.755 489.677 758.755 499.677 745.755C509.568 732.896 523.575 721.782 546.905 715.945L547.677 715.755C563.067 712.014 604.035 706.26 624.356 706.007C644.677 705.755 669.428 712.152 678.921 715.755ZM624 722C598.859 722.313 550.451 733.783 539.677 740.755C522.677 751.755 517.677 791.755 522.677 806.755C527.677 821.755 553.677 832.755 564.677 832.755C575.677 832.755 600.677 813.755 605.677 810.755C608.95 808.791 616.078 807.47 627.063 806.792L627.677 806.755C634.937 807.421 639.769 809.755 643 813C646.231 816.245 656 833 669 833C682 833 691.732 821.755 694.935 806.755C698.138 791.755 694.935 751.755 684.045 740.755C676.859 733.495 649.141 721.687 624 722Z" fill="black"/><path d="M678.921 715.755L676.792 721.364L678.921 715.755ZM670 883L667.436 877.575L670 883ZM557.677 902.755L556.313 908.597L557.677 902.755ZM499.677 745.755L504.433 749.413L499.677 745.755ZM546.905 715.945L545.468 710.12C545.461 710.121 545.455 710.123 545.448 710.124L546.905 715.945ZM547.677 715.755L546.26 709.924C546.254 709.926 546.247 709.927 546.241 709.929L547.677 715.755ZM539.677 740.755L536.418 735.717L539.677 740.755ZM605.677 810.755L608.764 815.9L605.677 810.755ZM627.063 806.792L626.702 800.802L626.693 800.803L627.063 806.792ZM627.677 806.755L628.226 800.78C627.923 800.752 627.619 800.747 627.316 800.765L627.677 806.755ZM669 833V827V833ZM684.045 740.755L679.781 744.976L684.045 740.755ZM676.792 721.364C690.138 726.428 698.286 736.231 704.285 748.406L715.05 743.103C708.238 729.278 698.186 716.647 681.05 710.145L676.792 721.364ZM704.285 748.406C707.17 754.262 711.6 767.96 714.92 782.813C716.562 790.162 717.893 797.62 718.619 804.337C719.355 811.148 719.425 816.817 718.761 820.757L730.594 822.752C731.531 817.192 731.326 810.236 730.549 803.047C729.762 795.765 728.341 787.848 726.631 780.196C723.246 765.049 718.57 750.247 715.05 743.103L704.285 748.406ZM718.761 820.757C718.146 824.404 716.1 829.214 712.657 834.775C709.268 840.249 704.756 846.082 699.633 851.716C689.291 863.093 677.037 873.038 667.436 877.575L672.564 888.425C684.125 882.962 697.608 871.784 708.513 859.788C714.014 853.737 719.003 847.32 722.86 841.092C726.663 834.951 729.607 828.605 730.594 822.752L718.761 820.757ZM667.436 877.575C660.081 881.051 639.133 887.407 616.425 892.145C605.167 894.493 593.687 896.398 583.478 897.343C573.121 898.302 564.62 898.215 559.042 896.912L556.313 908.597C563.843 910.356 573.93 910.278 584.583 909.292C595.384 908.293 607.336 906.299 618.875 903.892C641.76 899.118 663.865 892.535 672.564 888.425L667.436 877.575ZM559.042 896.912C539.359 892.315 519.292 886.176 503.652 878.949C495.824 875.332 489.321 871.54 484.569 867.681C479.74 863.76 477.266 860.215 476.48 857.228L464.875 860.282C466.589 866.794 471.267 872.338 477.004 876.997C482.817 881.717 490.294 885.996 498.619 889.843C515.284 897.543 536.217 903.904 556.313 908.597L559.042 896.912ZM476.48 857.228C476.091 855.75 475.882 853.138 476.07 849.268C476.253 845.51 476.785 840.976 477.615 835.874C479.274 825.678 482.063 813.582 485.34 801.586C488.615 789.598 492.345 777.828 495.855 768.296C497.61 763.527 499.29 759.376 500.809 756.065C502.376 752.648 503.616 750.475 504.433 749.413L494.921 742.096C493.238 744.284 491.541 747.486 489.901 751.062C488.213 754.743 486.416 759.2 484.593 764.15C480.946 774.056 477.114 786.161 473.764 798.423C470.417 810.677 467.518 823.206 465.771 833.947C464.897 839.315 464.296 844.327 464.085 848.686C463.878 852.933 464.014 857.009 464.875 860.282L476.48 857.228ZM504.433 749.413C513.547 737.565 526.417 727.256 548.361 721.766L545.448 710.124C520.734 716.308 505.59 728.227 494.921 742.096L504.433 749.413ZM548.341 721.771L549.114 721.58L546.241 709.929L545.468 710.12L548.341 721.771ZM549.094 721.585C564.089 717.94 604.606 712.253 624.431 712.007L624.281 700.008C603.464 700.267 562.045 706.088 546.26 709.924L549.094 721.585ZM624.431 712.007C643.804 711.766 667.794 717.95 676.792 721.364L681.05 710.145C671.062 706.355 645.55 699.743 624.281 700.008L624.431 712.007ZM623.925 716C610.726 716.165 591.856 719.219 575.118 723.03C566.699 724.948 558.681 727.088 552.035 729.212C545.585 731.274 539.849 733.497 536.418 735.717L542.937 745.792C544.892 744.527 549.247 742.702 555.689 740.642C561.935 738.646 569.611 736.592 577.783 734.731C594.228 730.986 612.133 728.148 624.075 728L623.925 716ZM536.418 735.717C530.94 739.261 526.831 744.846 523.785 750.903C520.711 757.018 518.504 764.043 517.052 771.035C514.207 784.744 514.003 799.706 516.985 808.652L528.369 804.857C526.351 798.803 526.147 786.265 528.802 773.474C530.101 767.216 532.019 761.241 534.506 756.294C537.024 751.288 539.914 747.748 542.937 745.792L536.418 735.717ZM516.985 808.652C520.232 818.392 529.717 825.839 538.559 830.65C547.517 835.524 557.785 838.755 564.677 838.755V826.755C560.57 826.755 552.338 824.485 544.295 820.109C536.137 815.67 530.123 810.117 528.369 804.857L516.985 808.652ZM564.677 838.755C568.81 838.755 573.442 837.072 577.531 835.189C581.823 833.212 586.373 830.598 590.593 827.976C594.833 825.342 598.858 822.626 602.097 820.409C605.487 818.089 607.719 816.527 608.764 815.9L602.59 805.61C601.135 806.482 598.367 808.421 595.319 810.506C592.121 812.695 588.271 815.292 584.261 817.783C580.231 820.286 576.157 822.61 572.511 824.289C568.662 826.062 566.044 826.755 564.677 826.755V838.755ZM608.764 815.9C609.457 815.484 611.195 814.816 614.571 814.191C617.808 813.591 622.073 813.111 627.433 812.78L626.693 800.803C621.069 801.15 616.277 801.67 612.385 802.392C608.633 803.087 605.17 804.062 602.59 805.61L608.764 815.9ZM627.424 812.781L628.038 812.744L627.316 800.765L626.702 800.802L627.424 812.781ZM627.128 812.729C633.319 813.298 636.721 815.197 638.748 817.233L647.252 808.767C642.817 804.312 636.554 801.545 628.226 800.78L627.128 812.729ZM638.748 817.233C639.208 817.696 640.021 818.807 641.857 821.173C643.473 823.255 645.565 825.862 648.037 828.402C652.76 833.256 659.951 839 669 839V827C665.049 827 660.855 824.367 656.636 820.032C654.637 817.977 652.868 815.788 651.337 813.815C650.027 812.127 648.407 809.927 647.252 808.767L638.748 817.233ZM669 839C686.058 839 697.31 824.365 700.803 808.007L689.067 805.502C686.154 819.144 677.942 827 669 827V839ZM700.803 808.007C702.61 799.54 702.523 785.012 700.722 771.464C699.81 764.604 698.426 757.731 696.502 751.759C694.632 745.952 692.037 740.299 688.31 736.533L679.781 744.976C681.499 746.71 683.387 750.182 685.08 755.438C686.72 760.528 687.978 766.656 688.827 773.045C690.549 785.998 690.462 798.969 689.067 805.502L700.803 808.007ZM688.31 736.533C685.881 734.081 682.178 731.645 677.979 729.417C673.674 727.133 668.465 724.869 662.729 722.871C651.304 718.893 637.38 715.833 623.925 716L624.075 728C635.761 727.854 648.266 730.541 658.782 734.204C664.016 736.026 668.656 738.055 672.355 740.018C676.16 742.036 678.616 743.799 679.781 744.976L688.31 736.533Z" fill="black"/></g></g>',+ '<g id="{{P}}Beard/ 12"><g id="{{P}}Group"><g id="{{P}}Group_2"><path id="{{P}}Path" d="M626.512 713.324L621 729.42" stroke="black" stroke-width="20" stroke-linecap="round" stroke-linejoin="round"/><path id="{{P}}Path_2" d="M597 713.324L591.487 729.42" stroke="black" stroke-width="20" stroke-linecap="round" stroke-linejoin="round"/><path id="{{P}}Path_3" d="M567.487 721.696L561.974 737.792" stroke="black" stroke-width="20" stroke-linecap="round" stroke-linejoin="round"/><path id="{{P}}Path_4" d="M537.975 729.232L531.359 748.546" stroke="black" stroke-width="20" stroke-linecap="round" stroke-linejoin="round"/><path id="{{P}}Path_5" d="M650.488 713.324L656 729.42" stroke="black" stroke-width="20" stroke-linecap="round" stroke-linejoin="round"/><path id="{{P}}Path_6" d="M680 713.324L685.513 729.42" stroke="black" stroke-width="20" stroke-linecap="round" stroke-linejoin="round"/><path id="{{P}}Path_7" d="M709.513 721.696L715.026 737.792" stroke="black" stroke-width="20" stroke-linecap="round" stroke-linejoin="round"/></g><path id="{{P}}Path_8" fill-rule="evenodd" clip-rule="evenodd" d="M597 789C597 789 610.517 791.065 623.347 791.065C636.176 791.065 649 789 649 789C649 789 639 796 635.747 800.452C632.493 804.903 628.2 808 623 808C617.8 808 614.893 804.903 610.947 800.452C607 796 597 789 597 789Z" fill="black" stroke="black" stroke-width="12" stroke-linecap="round" stroke-linejoin="round"/><path id="{{P}}Path_9" fill-rule="evenodd" clip-rule="evenodd" d="M462 827C462 827 472.313 841.31 476.869 846C487.838 857.293 495.366 861.334 497.047 863C496.846 861.731 486.815 824.294 489.188 819.907C489.188 819.907 500.714 836.238 504.501 840.933L505.267 841.876C509.154 846.618 515.075 853.33 523.031 862.011C527.393 864.217 531.791 866.101 536.227 867.664C535.86 867.111 535.544 866.558 535.281 866C534.14 863.583 533.432 859.917 533.157 855L535.593 856.172C544.38 860.379 551.543 863.589 557.085 865.802L558.423 866.329C563.294 868.225 570.161 870.653 579.023 873.611L581.311 873.12C588.277 871.616 593.793 870.323 597.861 869.24L598.913 868.956C605.162 867.25 613.368 864.639 623.53 861.125C622.973 864.094 622.315 866.579 621.558 868.58C625.576 867.642 629.593 866.576 633.605 865.383L636.88 863.263C644.49 858.317 650.294 854.385 654.295 851.465L655.158 850.831C660.272 847.045 666.842 841.73 674.866 834.887C675.952 839.704 676.825 853.212 676.533 854C699.376 842.084 730.355 819.318 753 799C752.027 806.405 733.708 864.71 674.409 896C646.032 910.973 609.175 913 558.646 913C464.285 913 462 827 462 827Z" fill="black" stroke="black" stroke-width="12" stroke-linecap="round" stroke-linejoin="round"/></g></g>',+ '<g id="{{P}}Beard/ 13"><g id="{{P}}Shape"><path fill-rule="evenodd" clip-rule="evenodd" d="M369.784 644C393.129 725.816 419.796 770.483 449.784 778C494.767 789.275 498.784 731 532.784 712C566.784 693 623.784 715 659.784 715C695.784 715 758.703 700.707 771.784 705C784.866 709.293 783.106 837.47 724.784 899C693.941 926.615 681.399 926.571 623.784 927C566.17 927.429 482.098 914.714 411.784 857C364.909 818.524 347.575 747.524 359.784 644H369.784ZM550.784 724C533.514 736.44 501.515 784.317 518.784 798C536.054 811.683 595.517 796 633.784 796C672.052 796 713.028 804.22 718.784 798C724.541 791.78 721.784 743 705.784 731C689.784 719 656.694 736 638.784 736C620.875 736 568.054 711.56 550.784 724Z" fill="black"/><path d="M369.784 644L375.554 642.354C374.819 639.777 372.464 638 369.784 638V644ZM449.784 778L448.325 783.82L449.784 778ZM724.784 899L728.786 903.47C728.909 903.361 729.026 903.247 729.139 903.128L724.784 899ZM411.784 857L407.977 861.638L411.784 857ZM359.784 644V638C356.742 638 354.182 640.276 353.826 643.297L359.784 644ZM638.784 736V730V736ZM364.014 645.646C375.752 686.782 388.426 718.965 402.141 741.938C415.766 764.76 431.014 779.481 448.325 783.82L451.243 772.18C438.566 769.002 425.486 757.631 412.445 735.787C399.493 714.093 387.162 683.035 375.554 642.354L364.014 645.646ZM448.325 783.82C460.941 786.982 471.245 785.335 479.948 780.313C488.362 775.457 494.762 767.729 500.318 759.795C503.115 755.8 505.824 751.561 508.477 747.469C511.16 743.33 513.814 739.294 516.629 735.471C522.274 727.806 528.294 721.383 535.711 717.238L529.857 706.762C520.275 712.117 513.043 720.104 506.966 728.356C503.92 732.493 501.096 736.793 498.407 740.942C495.687 745.138 493.129 749.14 490.488 752.912C485.167 760.512 480.002 766.426 473.95 769.92C468.185 773.246 461.119 774.656 451.243 772.18L448.325 783.82ZM535.711 717.238C550.806 708.802 571.717 709.194 594.726 712.32C606.139 713.871 617.434 715.984 628.578 717.783C639.54 719.552 650.264 721 659.784 721V709C651.304 709 641.403 707.698 630.49 705.936C619.76 704.204 607.929 702.004 596.342 700.43C573.352 697.306 548.762 696.198 529.857 706.762L535.711 717.238ZM659.784 721C678.302 721 703.533 717.343 725.204 714.333C736.165 712.811 746.231 711.449 754.358 710.728C758.42 710.368 761.88 710.179 764.653 710.197C767.563 710.216 769.203 710.468 769.913 710.701L773.655 699.299C771.096 698.459 767.907 698.218 764.732 698.197C761.419 698.176 757.536 698.399 753.298 698.775C744.823 699.527 734.457 700.933 723.553 702.447C701.495 705.511 677.266 709 659.784 709V721ZM769.913 710.701C768.666 710.292 768.461 709.529 768.866 710.225C769.19 710.784 769.647 711.855 770.12 713.609C771.058 717.082 771.8 722.222 772.17 728.808C772.907 741.911 772.124 759.84 769.128 779.638C763.105 819.439 748.347 865.419 720.43 894.872L729.139 903.128C759.543 871.051 774.827 822.177 780.993 781.434C784.092 760.96 784.942 742.194 784.151 728.134C783.758 721.138 782.947 715.079 781.705 710.48C781.089 708.198 780.299 706.016 779.24 704.195C778.262 702.512 776.537 700.245 773.655 699.299L769.913 710.701ZM720.782 894.53C705.688 908.044 695.712 914.212 682.889 917.369C669.549 920.653 652.868 920.783 623.74 921L623.829 933C652.315 932.788 670.713 932.725 685.758 929.021C701.321 925.189 713.038 917.571 728.786 903.47L720.782 894.53ZM623.74 921C566.901 921.424 484.417 908.856 415.591 852.362L407.977 861.638C479.778 920.573 565.438 933.435 623.829 933L623.74 921ZM415.591 852.362C371.172 815.902 353.6 747.662 365.743 644.703L353.826 643.297C341.55 747.385 358.645 821.145 407.977 861.638L415.591 852.362ZM359.784 650H369.784V638H359.784V650ZM547.277 719.132C537.641 726.073 524.784 742.006 516.52 757.744C512.364 765.658 509.088 774.041 508.118 781.656C507.155 789.221 508.365 797.4 515.058 802.703L522.51 793.297C520.568 791.759 519.303 788.821 520.022 783.172C520.735 777.574 523.3 770.644 527.144 763.323C534.88 748.592 546.658 734.367 554.291 728.868L547.277 719.132ZM515.058 802.703C520.925 807.351 529.516 808.986 538.341 809.452C547.422 809.931 558.047 809.212 569.015 808.101C591.4 805.832 615.046 802 633.784 802V790C614.255 790 589.035 794.01 567.805 796.162C556.965 797.26 547.094 797.897 538.973 797.468C530.596 797.026 525.278 795.49 522.51 793.297L515.058 802.703ZM633.784 802C652.602 802 672.053 804.02 687.991 805.313C695.846 805.95 702.985 806.421 708.575 806.31C711.362 806.255 714.013 806.053 716.294 805.569C718.37 805.129 721.171 804.255 723.188 802.076L714.381 793.924C714.959 793.3 715.22 793.53 713.803 793.83C712.592 794.088 710.798 794.264 708.337 794.313C703.429 794.41 696.852 793.992 688.961 793.352C673.405 792.09 653.234 790 633.784 790V802ZM723.188 802.076C725.045 800.068 725.902 797.28 726.385 795.159C726.93 792.763 727.262 789.937 727.423 786.915C727.747 780.849 727.416 773.411 726.388 765.858C725.361 758.314 723.609 750.426 720.983 743.523C718.417 736.777 714.734 730.212 709.384 726.2L702.184 735.8C704.835 737.788 707.496 741.821 709.767 747.79C711.978 753.603 713.555 760.549 714.498 767.477C715.439 774.396 715.718 781.07 715.44 786.275C715.3 788.888 715.028 790.987 714.684 792.496C714.278 794.28 713.962 794.377 714.381 793.924L723.188 802.076ZM709.384 726.2C704.006 722.166 697.527 720.825 691.184 720.72C684.849 720.614 678.112 721.733 671.712 723.14C665.458 724.515 658.677 726.375 653.161 727.696C647.301 729.1 642.485 730 638.784 730V742C644.038 742 650.074 740.775 655.956 739.366C662.182 737.875 668.031 736.235 674.288 734.86C680.399 733.517 686.055 732.636 690.984 732.718C695.905 732.8 699.563 733.834 702.184 735.8L709.384 726.2ZM638.784 730C635.24 730 629.355 728.719 621.476 726.584C614.067 724.577 604.792 721.789 596.047 719.526C587.16 717.227 577.948 715.224 569.725 714.642C561.755 714.078 553.384 714.733 547.277 719.132L554.291 728.868C556.819 727.047 561.527 726.092 568.878 726.612C575.975 727.114 584.326 728.889 593.041 731.144C601.899 733.436 610.267 735.98 618.338 738.167C625.94 740.226 633.374 742 638.784 742V730Z" fill="black"/></g></g>',+ '<g id="{{P}}Beard/ 14"><g id="{{P}}Group"><path id="{{P}}Path" fill-rule="evenodd" clip-rule="evenodd" d="M369.784 644C394.451 743.333 418.189 800 441 814L442.908 815.167C473.534 833.823 478.186 832.826 506.716 816.95C511.244 824.656 517.339 832.429 525.238 840L526.909 841.597C553.91 867.317 566.658 875.363 588.156 877.871L600 850H628L641.871 877.739C671.383 873.576 679.896 859.137 697.53 835C703.248 827.173 707.743 818.58 710.871 809.933L715.567 810.369C730.175 811.765 740.28 813.107 743 814C756.082 818.293 723.784 869 707 887C690.216 905 660.216 925 615 925C569.784 925 482.098 914.714 411.784 857C364.909 818.524 347.575 747.524 359.784 644H369.784Z" fill="black" stroke="black" stroke-width="12" stroke-linecap="round" stroke-linejoin="round"/><path id="{{P}}Path_2" fill-rule="evenodd" clip-rule="evenodd" d="M608.276 721.024C620.49 720.388 613.298 732.659 608.276 734.496C606.833 735.023 594.815 735.554 585.174 736.945C561.252 740.398 527.346 745.779 525.914 744.906C523.905 743.681 524.91 741.232 531.94 735.72C538.971 730.209 596.062 721.659 608.276 721.024Z" fill="black" stroke="black" stroke-width="12" stroke-linecap="round" stroke-linejoin="round"/><path id="{{P}}Path_3" fill-rule="evenodd" clip-rule="evenodd" d="M643.724 721.024C631.51 720.388 638.702 732.659 643.724 734.496C645.167 735.023 657.185 735.554 666.826 736.945C690.748 740.398 724.654 745.779 726.086 744.906C728.095 743.681 727.09 741.232 720.06 735.72C713.029 730.209 655.938 721.659 643.724 721.024Z" fill="black" stroke="black" stroke-width="12" stroke-linecap="round" stroke-linejoin="round"/></g></g>',+ '<g id="{{P}}Beard/ 15"><g id="{{P}}Group"><g id="{{P}}Combined Shape"><path fill-rule="evenodd" clip-rule="evenodd" d="M369.784 644H359.784C359.784 644 341.471 799.286 411.784 857C482.098 914.714 569.784 925 615 925C660.216 925 690.216 905 707 887C723.784 869 756.082 808.293 743 804C740.172 803.072 729.363 801.658 713.81 800.202C710.947 812.016 705.396 824.233 697.53 835C696.321 836.654 695.156 838.263 694.023 839.826C675.301 865.663 665.637 879 621.229 879C574.135 879 564.884 878 525.238 840C514.752 829.95 507.447 819.544 502.766 809.407C500.067 811.055 497.593 812.617 495.291 814.07C475.74 826.412 468.584 830.929 441 814C406.784 793 369.784 644 369.784 644Z" fill="black"/><path d="M359.784 644V638C356.742 638 354.182 640.276 353.826 643.297L359.784 644ZM369.784 644L375.607 642.554C374.943 639.878 372.541 638 369.784 638V644ZM411.784 857L415.591 852.362H415.591L411.784 857ZM743 804L741.129 809.701L743 804ZM713.81 800.202L714.369 794.228C711.402 793.95 708.681 795.893 707.979 798.789L713.81 800.202ZM697.53 835L702.375 838.539L702.375 838.539L697.53 835ZM694.023 839.826L698.881 843.347H698.881L694.023 839.826ZM525.238 840L521.086 844.332H521.086L525.238 840ZM502.766 809.407L508.214 806.892C507.496 805.338 506.149 804.165 504.511 803.667C502.873 803.169 501.101 803.394 499.64 804.286L502.766 809.407ZM495.291 814.07L492.088 808.997L492.088 808.997L495.291 814.07ZM441 814L444.139 808.886L441 814ZM359.784 650H369.784V638H359.784V650ZM415.591 852.362C382.46 825.168 369.587 774.171 365.392 728.311C363.317 705.625 363.406 684.684 364.017 669.405C364.322 661.772 364.757 655.567 365.114 651.284C365.292 649.142 365.451 647.482 365.565 646.364C365.622 645.806 365.667 645.383 365.698 645.103C365.713 644.963 365.725 644.859 365.733 644.792C365.736 644.759 365.739 644.735 365.741 644.72C365.742 644.712 365.742 644.707 365.743 644.704C365.743 644.703 365.743 644.702 365.743 644.702C365.743 644.702 365.743 644.703 359.784 644C353.826 643.297 353.825 643.299 353.825 643.302C353.825 643.304 353.824 643.307 353.824 643.31C353.823 643.317 353.822 643.326 353.821 643.337C353.818 643.36 353.815 643.392 353.81 643.433C353.8 643.516 353.787 643.636 353.77 643.791C353.736 644.103 353.687 644.559 353.626 645.152C353.506 646.337 353.34 648.069 353.155 650.287C352.786 654.721 352.339 661.099 352.026 668.925C351.401 684.566 351.306 706.054 353.442 729.404C357.668 775.614 370.795 831.118 407.977 861.638L415.591 852.362ZM615 919C570.41 919 484.361 908.81 415.591 852.362L407.977 861.638C479.834 920.619 569.159 931 615 931V919ZM702.612 882.908C686.755 899.914 658.27 919 615 919V931C662.162 931 693.677 910.086 711.388 891.092L702.612 882.908ZM741.129 809.701C739.838 809.277 739.837 808.156 739.972 809.006C740.132 810.007 740.062 811.932 739.395 814.956C738.09 820.872 734.981 828.945 730.781 837.784C722.358 855.506 710.4 874.556 702.612 882.908L711.388 891.092C720.385 881.444 732.967 861.14 741.619 842.935C745.955 833.811 749.517 824.777 751.113 817.541C751.897 813.989 752.335 810.326 751.822 807.115C751.286 803.754 749.433 799.796 744.871 798.299L741.129 809.701ZM713.251 806.176C720.985 806.9 727.498 807.61 732.402 808.249C737.561 808.921 740.36 809.448 741.129 809.701L744.871 798.299C742.813 797.624 738.793 796.98 733.952 796.349C728.856 795.685 722.188 794.96 714.369 794.228L713.251 806.176ZM702.375 838.539C710.705 827.138 716.592 814.199 719.641 801.615L707.979 798.789C705.303 809.834 700.088 821.328 692.685 831.461L702.375 838.539ZM698.881 843.347C700.015 841.783 701.174 840.183 702.375 838.539L692.685 831.461C691.469 833.126 690.296 834.744 689.164 836.306L698.881 843.347ZM621.229 885C643.975 885 658.806 881.598 670.481 874.163C681.936 866.868 689.689 856.033 698.881 843.347L689.164 836.306C679.635 849.456 673.195 858.208 664.035 864.041C655.096 869.734 642.892 873 621.229 873V885ZM521.086 844.332C540.889 863.312 553.891 873.878 568.309 879.358C582.687 884.823 597.95 885 621.229 885V873C597.414 873 584.505 872.677 572.572 868.141C560.68 863.621 549.233 854.688 529.39 835.668L521.086 844.332ZM497.319 811.923C502.343 822.802 510.11 833.812 521.086 844.332L529.39 835.668C519.394 826.088 512.551 816.286 508.214 806.892L497.319 811.923ZM498.494 819.144C500.799 817.689 503.237 816.15 505.893 814.529L499.64 804.286C496.897 805.961 494.387 807.545 492.088 808.997L498.494 819.144ZM437.861 819.114C451.808 827.673 461.898 831.698 471.591 830.996C481.08 830.309 489.124 825.059 498.494 819.144L492.088 808.997C481.907 815.424 476.597 818.603 470.725 819.028C465.056 819.438 457.776 817.256 444.139 808.886L437.861 819.114ZM369.784 644C363.961 645.446 363.961 645.447 363.962 645.449C363.962 645.45 363.963 645.452 363.963 645.455C363.965 645.46 363.966 645.468 363.969 645.477C363.974 645.497 363.981 645.525 363.99 645.563C364.009 645.637 364.036 645.747 364.073 645.891C364.145 646.18 364.253 646.605 364.394 647.16C364.676 648.269 365.094 649.893 365.637 651.965C366.723 656.108 368.31 662.042 370.322 669.227C374.344 683.59 380.07 702.981 386.879 723.053C393.678 743.094 401.606 763.961 410.048 781.215C414.269 789.841 418.678 797.687 423.211 804.122C427.686 810.473 432.567 815.864 437.861 819.114L444.139 808.886C440.879 806.886 437.119 803.027 433.021 797.21C428.982 791.477 424.887 784.238 420.827 775.941C412.709 759.351 404.971 739.031 398.243 719.197C391.525 699.394 385.863 680.223 381.878 665.992C379.886 658.879 378.316 653.01 377.245 648.922C376.709 646.879 376.299 645.281 376.022 644.197C375.884 643.655 375.78 643.242 375.71 642.965C375.675 642.827 375.649 642.722 375.632 642.654C375.624 642.619 375.617 642.594 375.613 642.577C375.611 642.569 375.609 642.563 375.609 642.559C375.608 642.557 375.608 642.556 375.608 642.555C375.607 642.554 375.607 642.554 369.784 644Z" fill="black"/></g><path id="{{P}}Path" fill-rule="evenodd" clip-rule="evenodd" d="M698.059 729.721C698.059 729.721 701.033 737.719 699.086 738.906C697.74 739.726 669 722.832 616 723C563 723.168 534.188 739.683 532.914 738.906C530.905 737.681 533 732 534.94 729.721C541.033 724.945 571.31 714.711 602.246 712.449C606.205 712.16 610 716.002 616 716.001C622 716 626.18 712.101 629.327 712.287C661.138 714.165 691.805 724.818 698.059 729.721Z" fill="black" stroke="black" stroke-width="12" stroke-linecap="round" stroke-linejoin="round"/><path id="{{P}}Path_2" fill-rule="evenodd" clip-rule="evenodd" d="M591 867C591 867 604.444 870 616 870C627.556 870 639 867 639 867L648 890H583L591 867Z" fill="black" stroke="black" stroke-width="12" stroke-linecap="round" stroke-linejoin="round"/></g></g>',+ '<g id="{{P}}Beard/ 16"><g id="{{P}}Shape"><path fill-rule="evenodd" clip-rule="evenodd" d="M679 848L692 872L690.233 873.596C661.493 899.412 638.416 913.214 621 915C603.584 916.786 577.305 911.7 542.163 899.741L540 899L547 872C571 880 595 882 619 878C642.7 874.05 662.499 864.249 678.398 848.597L679 848ZM645 789C639 793 634.916 796.484 632.747 799.452L632.158 800.248C629.316 804.036 627.875 805 623 805C618.464 805 617.195 804.165 614.325 800.997L612.947 799.452C610.316 796.484 606.333 793 601 789C607.114 790.333 614.447 791 623 791C631.553 791 638.886 790.333 645 789Z" fill="black"/><path d="M679 848L684.276 845.142C683.376 843.481 681.745 842.34 679.876 842.064C678.006 841.788 676.116 842.41 674.774 843.741L679 848ZM692 872L696.022 876.453C698.076 874.597 698.594 871.577 697.276 869.142L692 872ZM690.233 873.596L694.243 878.059C694.247 878.056 694.251 878.052 694.255 878.048L690.233 873.596ZM542.163 899.741L540.218 905.417L540.23 905.421L542.163 899.741ZM540 899L534.192 897.494C533.405 900.53 535.089 903.66 538.056 904.676L540 899ZM547 872L548.897 866.308C547.32 865.782 545.596 865.934 544.136 866.728C542.675 867.521 541.609 868.885 541.192 870.494L547 872ZM619 878L618.014 872.082L619 878ZM678.398 848.597L682.607 852.873C682.613 852.867 682.619 852.862 682.624 852.856L678.398 848.597ZM645 789L648.328 793.992C650.728 792.392 651.65 789.311 650.523 786.656C649.396 784.001 646.54 782.523 643.722 783.138L645 789ZM632.747 799.452L637.571 803.019C637.578 803.01 637.584 803.001 637.591 802.992L632.747 799.452ZM632.158 800.248L636.958 803.848C636.966 803.837 636.975 803.826 636.983 803.815L632.158 800.248ZM614.325 800.997L609.847 804.99C609.857 805.002 609.867 805.014 609.878 805.025L614.325 800.997ZM612.947 799.452L608.457 803.432C608.461 803.436 608.465 803.44 608.468 803.445L612.947 799.452ZM601 789L602.278 783.138C599.521 782.537 596.718 783.938 595.544 786.504C594.37 789.07 595.143 792.107 597.4 793.8L601 789ZM673.724 850.858L686.724 874.858L697.276 869.142L684.276 845.142L673.724 850.858ZM687.978 867.547L686.212 869.143L694.255 878.048L696.022 876.453L687.978 867.547ZM686.224 869.132C672.028 881.884 659.389 891.522 648.291 898.16C637.14 904.828 627.882 908.263 620.388 909.031L621.612 920.969C631.534 919.951 642.522 915.592 654.45 908.459C666.429 901.295 679.699 891.124 694.243 878.059L686.224 869.132ZM620.388 909.031C604.354 910.676 579.135 905.985 544.096 894.061L540.23 905.421C575.475 917.415 602.814 922.897 621.612 920.969L620.388 909.031ZM544.107 894.065L541.944 893.324L538.056 904.676L540.218 905.417L544.107 894.065ZM545.808 900.506L552.808 873.506L541.192 870.494L534.192 897.494L545.808 900.506ZM545.103 877.692C569.993 885.989 594.982 888.086 619.986 883.918L618.014 872.082C595.018 875.914 572.007 874.011 548.897 866.308L545.103 877.692ZM619.986 883.918C644.805 879.782 665.76 869.459 682.607 852.873L674.189 844.321C659.239 859.04 640.595 868.318 618.014 872.082L619.986 883.918ZM682.624 852.856L683.226 852.259L674.774 843.741L674.172 844.338L682.624 852.856ZM641.672 784.008C635.538 788.097 630.719 792.058 627.902 795.911L637.591 802.992C639.112 800.91 642.462 797.903 648.328 793.992L641.672 784.008ZM627.922 795.885L627.334 796.68L636.983 803.815L637.571 803.019L627.922 795.885ZM627.358 796.647C625.965 798.505 625.563 798.726 625.493 798.763C625.482 798.77 625.459 798.781 625.408 798.798C625.353 798.816 625.247 798.847 625.066 798.878C624.676 798.945 624.052 799 623 799V811C625.71 811 628.521 810.765 631.19 809.325C633.77 807.934 635.51 805.779 636.958 803.848L627.358 796.647ZM623 799C622.022 799 621.442 798.953 621.079 798.895C620.76 798.844 620.669 798.794 620.662 798.791C620.57 798.746 620.215 798.562 618.772 796.969L609.878 805.025C611.305 806.6 613.019 808.418 615.413 809.582C617.903 810.794 620.467 811 623 811V799ZM618.803 797.004L617.425 795.458L608.468 803.445L609.847 804.99L618.803 797.004ZM617.436 795.471C614.417 792.066 610.07 788.303 604.6 784.2L597.4 793.8C602.596 797.697 606.214 800.902 608.457 803.432L617.436 795.471ZM599.722 794.862C606.376 796.314 614.162 797 623 797V785C614.732 785 607.851 784.353 602.278 783.138L599.722 794.862ZM623 797C631.838 797 639.624 796.314 646.278 794.862L643.722 783.138C638.149 784.353 631.268 785 623 785V797Z" fill="black"/></g></g>',+ ],+};diff --git a/autogpt_platform/frontend/src/components/molecules/NotionAvatar/status.ts b/autogpt_platform/frontend/src/components/molecules/NotionAvatar/status.tsnew file mode 100644index 0000000000..4146101861--- /dev/null+++ b/autogpt_platform/frontend/src/components/molecules/NotionAvatar/status.ts@@ -0,0 +1,28 @@+export type AvatarStatus =+ | "idle"+ | "thinking"+ | "working"+ | "waiting"+ | "done"+ | "failed"+ | "sleeping";++export interface StatusOption {+ id: AvatarStatus;+ label: string;+ hint: string;+}++export const STATUSES: StatusOption[] = [+ { id: "idle", label: "Idle", hint: "nothing in flight" },+ { id: "thinking", label: "Thinking", hint: "working out what to do" },+ { id: "working", label: "Working", hint: "a run is in flight" },+ { id: "waiting", label: "Needs you", hint: "blocked, asking" },+ { id: "done", label: "Done", hint: "finished its last job" },+ { id: "failed", label: "Failed", hint: "the last run broke" },+ { id: "sleeping", label: "Paused", hint: "schedules off" },+];++export function isAvatarStatus(value: string): value is AvatarStatus {+ return STATUSES.some((status) => status.id === value);+}diff --git a/autogpt_platform/frontend/src/components/molecules/NotionAvatar/statusBadge.ts b/autogpt_platform/frontend/src/components/molecules/NotionAvatar/statusBadge.tsnew file mode 100644index 0000000000..ec94037641--- /dev/null+++ b/autogpt_platform/frontend/src/components/molecules/NotionAvatar/statusBadge.ts@@ -0,0 +1,41 @@+import type { AvatarStatus } from "./status";++export const BADGE_FILL: Record<Exclude<AvatarStatus, "idle">, string> = {+ thinking: "#7C3AED",+ working: "#3B6FD1",+ waiting: "#E8A317",+ done: "#22A05B",+ failed: "#DC2626",+ sleeping: "#71717A",+};++// Drawn at a radius of 8 and scaled onto the avatar's much larger canvas.+const BADGE_SCALE = 7;+const DIAGONAL = Math.SQRT1_2;++// Glyphs are drawn around the origin at a radius of 8, so the same markup+// serves the in-artwork badge and the overlay one.+export const BADGE_GLYPH: Record<Exclude<AvatarStatus, "idle">, string> = {+ working: '<circle r="3" fill="#fff"/>',+ done: '<path d="M-3.5,0.2 L-1,2.8 L3.8,-2.6" fill="none" stroke="#fff" stroke-width="2.2" stroke-linecap="round" stroke-linejoin="round"/>',+ thinking:+ '<g fill="#fff"><circle cx="-3.2" r="1.4"/><circle cx="0" r="1.4"/><circle cx="3.2" r="1.4"/></g>',+ failed:+ '<path d="M-3,-3 L3,3 M3,-3 L-3,3" fill="none" stroke="#fff" stroke-width="2.2" stroke-linecap="round"/>',+ sleeping:+ '<path d="M-3,-3 L3,-3 L-3,3 L3,3" fill="none" stroke="#fff" stroke-width="1.8" stroke-linecap="round" stroke-linejoin="round"/>',+ waiting:+ '<path d="M0,-3.6 L0,0.8 M0,3.4 L0,3.5" fill="none" stroke="#fff" stroke-width="2.4" stroke-linecap="round"/>',+};++export function badgeMarkup(status: AvatarStatus, viewBox: number): string {+ if (status === "idle") return "";+ const centre = viewBox / 2;+ const offset = centre + centre * DIAGONAL;+ return [+ `<g transform="translate(${offset} ${offset}) scale(${BADGE_SCALE})">`,+ `<circle r="8" fill="${BADGE_FILL[status]}" stroke="#fff" stroke-width="2.5"/>`,+ BADGE_GLYPH[status],+ `</g>`,+ ].join("");+}