1
0
Fork 0
freesewing/packages/react/components/LineDrawing/umbra.mjs

180 lines
28 KiB
JavaScript
Raw Normal View History

2024-10-06 11:49:14 +02:00
import React from 'react'
import { LineDrawingWrapper, thin, dashed } from './shared.mjs'
/*
* This strokeScale factor is used to normalize the stroke across
* designs so we have a consistent look when showing our collection
*/
2024-10-06 11:49:14 +02:00
const strokeScale = 0.5
/**
* A linedrawing component for Umbra
*
* @component
* @param {object} props - All component props
* @param {string} props.className - Any CSS classes to apply
* @param {number} props.stroke - The stroke width to apply
* @returns {JSX.Element}
2024-10-06 11:49:14 +02:00
*/
export const Umbra = ({ className, stroke = 1 }) => (
<LineDrawingWrapper viewBox="0 0 221 75" {...{ className }}>
<Front stroke={stroke * strokeScale} />
<Back stroke={stroke * strokeScale} />
</LineDrawingWrapper>
)
2024-10-06 11:49:14 +02:00
/**
* A linedrawing component for the front of Umbra
*
* @component
* @param {object} props - All component props
* @param {string} props.className - Any CSS classes to apply
* @param {number} props.stroke - The stroke width to apply
* @returns {JSX.Element}
*/
export const UmbraFront = ({ className, stroke = 1 }) => (
<LineDrawingWrapper viewBox="0 -15 105 105" {...{ className }}>
<Front stroke={stroke * strokeScale} />
</LineDrawingWrapper>
)
2024-10-06 11:49:14 +02:00
/**
* A linedrawing component for the back of Umbra
*
* @component
* @param {object} props - All component props
* @param {string} props.className - Any CSS classes to apply
* @param {number} props.stroke - The stroke width to apply
* @returns {JSX.Element}
2024-10-06 11:49:14 +02:00
*/
export const UmbraBack = ({
className = 'w-64', // CSS classes to apply
stroke = 1, // Stroke width to use
}) => {
// Normalize stroke across designs
stroke = stroke * strokeScale
return (
<LineDrawingWrapper viewBox="110 0 110 75" {...{ className, stroke }}>
<Back stroke={stroke} />
</LineDrawingWrapper>
)
}
/*
* SVG elements for the front
*/
const Front = ({ stroke }) => (
2024-10-06 11:49:14 +02:00
<>
<path
key="stitches"
{...dashed(stroke)}
{...thin(stroke)}
d="m 10.830078,22.927451
c 0.08842,0.0737 0.182392,0.13937 0.269531,0.21485 0.38874,0.33671 0.766362,0.69039 1.13086,1.05664 0.364497,0.36625 0.716333,0.7455 1.058594,1.13281 0.34226,0.38731 0.674064,0.78175 0.996093,1.18164 0.32203,0.39989 0.635649,0.80499 0.939453,1.20898 0.529714,0.71179 1.037387,1.43581 1.527344,2.17188 0.489958,0.73607 0.961362,1.48305 1.419922,2.23828 0.45856,0.75523 0.904323,1.51978 1.339844,2.28906 0.43552,0.76928 0.86041,1.54406 1.28125,2.32227 0.841679,1.55641 1.662988,3.1261 2.496093,4.6875 0.416553,0.7807 0.836725,1.55972 1.263672,2.33398 0.426947,0.77427 0.860941,1.54393 1.306641,2.30664 0.201699,0.34172 0.41716,0.67125 0.646484,0.99219 0.229325,0.32094 0.4728,0.63233 0.726563,0.93359 0.253763,0.30127 0.517953,0.59233 0.792969,0.875 0.275015,0.28268 0.560434,0.55709 0.853515,0.82227 0.293082,0.26518 0.594383,0.52271 0.902344,0.77148 0.307961,0.24878 0.621752,0.48919 0.941406,0.72266 0.639309,0.46694 1.299834,0.90413 1.966797,1.31641 0.397457,0.24787 0.803203,0.47797 1.214844,0.69531 0.411641,0.21734 0.829508,0.42113 1.251953,0.61523 0.844889,0.38821 1.706397,0.73904 2.574219,1.07813 0.867821,0.33909 1.741758,0.66722 2.605468,1.01562 0.431856,0.17421 0.861353,0.35354 1.28711,0.54102 0.425756,0.18748 0.847394,0.38373 1.263672,0.5918 0.2251,0.11491 0.446203,0.23953 0.662109,0.375 0.215906,0.13546 0.425725,0.28044 0.628906,0.43554 0.116473,0.0889 0.224559,0.18808 0.335938,0.28321
m 16.583984,0.006
c 0.132371,-0.11343 0.262844,-0.22958 0.402344,-0.33413 0.207949,-0.15585 0.423838,-0.30178 0.644531,-0.4375 0.220694,-0.13571 0.446049,-0.2603 0.675781,-0.375 0.250267,-0.12052 0.985781,-0.50317 1.439454,-0.67578 0.919825,-0.36742 1.849327,-0.72098 2.777343,-1.08398 0.928017,-0.36301 1.853935,-0.73615 2.763672,-1.13868 0.454869,-0.20126 0.906227,-0.40952 1.351563,-0.6289 0.445335,-0.21938 0.885865,-0.44842 1.318359,-0.69141 0.432494,-0.24299 0.857094,-0.49939 1.273438,-0.77148 0.416343,-0.27209 0.823819,-0.56051 1.220703,-0.86719 0.524526,-0.3915 1.036772,-0.80428 1.529297,-1.23828 0.492524,-0.434 0.964815,-0.88869 1.410156,-1.36914 0.22267,-0.24023 0.438457,-0.48766 0.646484,-0.74024 0.208028,-0.25257 0.408122,-0.51191 0.59961,-0.77734 0.191487,-0.26543 0.373825,-0.53569 0.546875,-0.81445 0.173049,-0.27877 0.337521,-0.56483 0.490234,-0.85742 0.488556,-0.86011 0.964642,-1.73007 1.435547,-2.60352 0.470905,-0.87345 0.935847,-1.74997 1.40039,-2.62891 0.929087,-1.75787 1.856749,-3.5193 2.828125,-5.25195 0.485689,-0.86633 0.982899,-1.72599 1.496094,-2.57422 0.513195,-0.84823 1.043712,-1.68554 1.595703,-2.50781 0.551992,-0.82227 1.126439,-1.62952 1.728516,-2.41797 0.602077,-0.78845 1.231079,-1.55791 1.894531,-2.30469 0.49614,-0.5409 1.017437,-1.0701 1.566406,-1.57031 0.208266,-0.18977 0.42447,-0.37007 0.640625,-0.55078
M 100.07421,8.1715314
c -0.655868,0.12256 -1.314401,0.2314 -1.970708,0.35156 -2.049786,0.3753 -4.100306,0.75008 -6.154297,1.10157 -2.714318,0.4558296 -5.430048,0.9029696 -8.150391,1.3300696 -2.720343,0.42711 -5.444133,0.83574 -8.171875,1.21094 -1.363871,0.1876 -2.729724,0.36683 -4.095703,0.53711 -1.365979,0.17028 -2.733304,0.33041 -4.101562,0.48047 -1.368258,0.15006 -2.736714,0.28907 -4.107422,0.41602 -1.370709,0.12694 -2.743856,0.24281 -4.117188,0.34375 -1.013049,0.0831 -2.025638,0.14277 -3.039062,0.18164 -1.013425,0.0389 -2.027593,0.0566 -3.041016,0.0566 -1.013423,0 -2.026017,-0.0192 -3.039062,-0.0527 -1.013045,-0.0335 -2.024818,-0.0809 -3.03711,-0.14258 -1.012292,-0.0616 -2.025948,-0.13628 -3.037109,-0.2207 -1.011161,-0.0844 -2.021597,-0.17941 -3.03125,-0.28125 -2.019294,-0.20364 -4.03389,-0.43643 -6.044908,-0.67768 -2.473879,-0.31185 -4.946987,-0.64435 -7.416016,-0.9961 -2.469028,-0.35174 -4.935212,-0.72254 -7.398437,-1.11328 -2.463227,-0.39074 -4.922437,-0.8016296 -7.378906,-1.2304696 -1.746469,-0.30488 -3.4897822,-0.62937 -5.2324224,-0.95312 -0.6557322,-0.12182 -1.3135929,-0.23491 -1.96875,-0.35938
v 10e-6
M 3.783203,19.917691
c 0.6082051,0.0416 1.2170396,0.0898 1.8242188,0.15039 0.05738,0.006 0.1145054,0.0137 0.171875,0.0195 0.6264114,0.0641 1.2518573,0.13404 1.8769531,0.21094 1.0040006,0.14872 2.0017288,0.33251 2.9921881,0.54882 0.990458,0.21632 1.973355,0.46521 2.947265,0.7461 0.97391,0.28089 1.938221,0.59308 2.892578,0.93555 0.954357,0.34245 1.898281,0.71615 2.830078,1.11718 0.931798,0.40104 1.85158,0.83052 2.757813,1.28711 0.906233,0.4566 1.800071,0.94007 2.677734,1.44922 0.877664,0.50915 1.73985,1.04286 2.585938,1.60156 0.846088,0.5587 1.674821,1.14281 2.486328,1.74805 0.450434,0.33646 0.896225,0.68157 1.333984,1.03516 0.437761,0.35358 0.868651,0.71578 1.292969,1.08593 0.424318,0.37016 0.841846,0.74666 1.251953,1.13282 0.410108,0.38615 0.811902,0.78199 1.207031,1.18359 0.395131,0.4016 0.782725,0.81009 1.16211,1.22656 0.379384,0.41648 0.750409,0.84069 1.113281,1.27149 0.362872,0.43079 0.716909,0.86795 1.0625,1.3125 0.345591,0.44455 0.684176,0.89577 1.011719,1.35351 0.327542,0.45775 0.644397,0.9222 0.953125,1.39258 0.308726,0.47038 0.609294,0.94724 0.898437,1.42969 0.289144,0.48244 0.567145,0.97089 0.835938,1.46484 0.268791,0.49396 0.527718,0.99315 0.77539,1.49805 0.247674,0.5049 0.485151,1.01401 0.710938,1.5293 0.225787,0.51528 0.439445,1.03739 0.642578,1.5625 0.203133,0.5251 0.394508,1.05352 0.574219,1.58789 0.179711,0.53437 0.348384,1.07412 0.503906,1.61718 0.142398,0.48419 0.275472,0.98286 0.398438,1.49414 0.122966,0.51129 0.235591,1.03518 0.339843,1.56641 0.104253,0.53123 0.198901,1.07124 0.285157,1.61524 0.08626,0.544 0.163442,1.09099 0.232421,1.64062 0.137959,1.09926 0.243247,2.20442 0.316407,3.2832 0.01327,0.19572 0.01219,0.37444 0.02344,0.56836 0.03959,0.68241 0.0665,1.34931 0.08203,2
m 11.939454,0
c 0.01285,-0.61027 0.0286,-1.27493 0.05859,-2 0.0039,-0.0949 0.0036,-0.16681 0.0078,-0.26172 0.04585,-1.02483 0.111486,-2.03814 0.199218,-2.75586 0.08691,-0.82804 0.199559,-1.6536 0.337891,-2.4746 0.138332,-0.821 0.301388,-1.63832 0.490235,-2.44922 0.188847,-0.8109 0.404127,-1.61439 0.642578,-2.41211 0.238449,-0.79773 0.50192,-1.58961 0.789062,-2.3711 0.287142,-0.78148 0.596719,-1.55423 0.931641,-2.3164 0.33492,-0.76218 0.694382,-1.51215 1.076172,-2.25196 0.381788,-0.7398 0.787099,-1.46923 1.214843,-2.18359 0.427745,-0.71436 0.878774,-1.41375 1.351563,-2.09961 0.387061,-0.56215 0.786185,-1.11478 1.199219,-1.65625 0.413032,-0.54147 0.839605,-1.07328 1.277343,-1.59375 0.437739,-0.52047 0.886479,-1.03016 1.347657,-1.5293 0.461176,-0.49913 0.93462,-0.98737 1.417968,-1.46484 0.48335,-0.47747 0.976215,-0.94296 1.480469,-1.39844 0.504255,-0.45547 1.019075,-0.90083 1.542969,-1.33398 0.523893,-0.43315 1.057344,-0.85513 1.599609,-1.26563 0.542266,-0.41049 1.092973,-0.80975 1.652344,-1.19726 0.559371,-0.38751 1.127915,-0.76276 1.703125,-1.12696 0.57521,-0.36419 1.158263,-0.71609 1.748047,-1.05664 0.589782,-0.34054 1.185974,-0.66975 1.789062,-0.98632 0.60309,-0.31657 1.212998,-0.6218 1.828125,-0.91407 0.615129,-0.29226 1.235428,-0.57222 1.861328,-0.83984 0.625902,-0.26762 1.257171,-0.52297 1.892579,-0.76563 0.635407,-0.24265 1.276275,-0.47209 1.919921,-0.68945 0.643648,-0.21736 1.290786,-0.42155 1.941407,-0.61328 0.771999,-0.23504 1.566278,-0.44156 2.375,-0.62109 0.808722,-0.17954 1.631079,-0.33216 2.457031,-0.46485 0.825952,-0.13268 1.656778,-0.24535 2.480469,-0.33984 0.15077,-0.0173 0.296958,-0.0268 0.447265,-0.043 0.67021,-0.0722 1.33961,-0.14034 1.99414,-0.19336
M 17.195312,8.1892214
h 71.222657"
/>
<path
key="outline"
d="m 5.8339844,6.1891714
v 0.002
c 0.00745,0.001 1.9538968,0.37412 5.1289066,0.93555 1.590536,0.28124 3.487136,0.60938 5.597656,0.96094 0.194694,0.0325 0.436519,0.0688 0.634765,0.10156 1.950781,0.32287 4.024844,0.65959 6.246094,1 2.446985,0.375 5.017267,0.75 7.617188,1.1015596 2.59992,0.35156 5.229494,0.67969 7.798828,0.96094 1.284667,0.14062 2.554266,0.27051 3.796875,0.38477 1.242609,0.11425 2.459107,0.21289 3.636719,0.29492 1.177609,0.082 2.316493,0.14744 3.40625,0.1914 1.089672,0.044 2.130581,0.0664 3.109375,0.0664 0.978793,0 2.01775,-0.0225 3.107421,-0.0664 1.089674,-0.0439 2.228641,-0.10937 3.40625,-0.1914 1.177612,-0.082 2.39411,-0.18067 3.636719,-0.29492 1.24261,-0.11426 2.51221,-0.24415 3.796875,-0.38477 2.569335,-0.28125 5.200862,-0.60938 7.800781,-0.96094 2.599922,-0.3515596 5.16825,-0.7265596 7.615235,-1.1015596 2.221312,-0.34041 4.296925,-0.67712 6.248047,-1 0.19822,-0.0328 0.440125,-0.0692 0.634765,-0.10156 2.110516,-0.35156 4.007123,-0.6797 5.597657,-0.96094 3.173831,-0.56122 5.118053,-0.93355 5.126953,-0.93555
v -0.002
H 52.804687
Z
M 4.7597656,22.023151
c 0.2115353,0.0379 0.4237615,0.073 0.6328125,0.12891 0.3122119,0.0835 0.6210773,0.18703 0.9277344,0.30859 0.3066571,0.12156 0.6110237,0.26083 0.9121094,0.41797 0.3010857,0.15715 0.5990335,0.33122 0.8945312,0.52149 0.2954977,0.19027 0.5890131,0.39626 0.8789063,0.61719 0.2898931,0.22091 0.575103,0.45792 0.859375,0.70703 0.2842716,0.24911 0.5670676,0.51032 0.8457036,0.78515 0.278633,0.27484 0.553192,0.56325 0.826171,0.86133 0.272981,0.29809 0.543239,0.60691 0.810547,0.92578 0.534619,0.63775 1.058478,1.31346 1.570313,2.01953 0.511833,0.7061 1.013034,1.44256 1.501953,2.19727 0.488917,0.75471 0.965773,1.5289 1.43164,2.3125 0.46587,0.7836 0.920595,1.57639 1.363282,2.36914 0.442685,0.79275 0.873598,1.58502 1.292968,2.36719 0.838745,1.56432 1.630315,3.08664 2.375,4.49023 0.372344,0.7018 0.733401,1.37384 1.082032,2.00586 0.348629,0.63202 0.684982,1.22508 1.009765,1.76758 0.324784,0.5425 0.636696,1.0355 0.9375,1.46875 0.300805,0.43325 0.590495,0.80706 0.867188,1.11133 0.367422,0.40376 0.738075,0.78616 1.109375,1.14843 0.3713,0.36227 0.743665,0.70339 1.117187,1.02735 0.373524,0.32396 0.747002,0.63111 1.121094,0.91992 0.374092,0.28882 0.748088,0.55956 1.121094,0.81641 0.373005,0.25685 0.744971,0.4985 1.115234,0.72656 0.370265,0.22806 0.7396,0.44209 1.105469,0.64453 0.731736,0.40489 1.452026,0.76251 2.15625,1.08398 0.704224,0.32148 1.391214,0.60762 2.054687,0.8711 0.663476,0.26348 1.304579,0.50349 1.914063,0.73437 0.609484,0.23089 1.18821,0.45209 1.730469,0.67578 0.541677,0.22346 1.046422,0.45176 1.507812,0.69336
h 0.002 2.746094
c -0.01588,-0.14144 -0.02183,-0.28911 -0.03906,-0.42968 -0.0076,-0.0617 -0.01954,-0.12014 -0.02734,-0.18164 -0.09937,-0.78156 -0.215412,-1.55247 -0.355469,-2.30664 -0.151079,-0.81355 -0.325466,-1.61065 -0.521484,-2.39258 -0.19602,-0.78194 -0.413907,-1.54825 -0.652344,-2.29883 -0.238437,-0.75058 -0.497055,-1.4856 -0.775391,-2.20508 -0.278334,-0.71948 -0.576866,-1.42464 -0.892578,-2.11328 -0.31571,-0.68863 -0.649432,-1.36149 -1,-2.01953 -0.350566,-0.65804 -0.716708,-1.30005 -1.099609,-1.92774 -0.382902,-0.6277 -0.782597,-1.24026 -1.195313,-1.83789 -0.412713,-0.59761 -0.839288,-1.18025 -1.279297,-1.74804 -0.440006,-0.56779 -0.892643,-1.12194 -1.357421,-1.66016 -0.464781,-0.53821 -0.940703,-1.06142 -1.427735,-1.57031 -0.487029,-0.50889 -0.985428,-1.00261 -1.492187,-1.48242 -0.506761,-0.47983 -1.022907,-0.94548 -1.546875,-1.39649 -0.52397,-0.45101 -1.055094,-0.88811 -1.59375,-1.31055 -0.538658,-0.42244 -1.083942,-0.83047 -1.634766,-1.2246 -0.550823,-0.39414 -1.107498,-0.77454 -1.667969,-1.14063 -0.560469,-0.36609 -1.125765,-0.71835 -1.693359,-1.05664 -0.567594,-0.33829 -1.136786,-0.66191 -1.708984,-0.97266 -0.5722,-0.31074 -1.146421,-0.60717 -1.720704,-0.89062 -0.57428,-0.28345 -1.148811,-0.55413 -1.722656,-0.81055 -0.573843,-0.25641 -1.147864,-0.49888 -1.71875,-0.72851 -0.570884,-0.22963 -1.139673,-0.44534 -1.705078,-0.64844 -0.565404,-0.2031 -1.126188,-0.39349 -1.683594,-0.57031 -0.557403,-0.17683 -1.111319,-0.34139 -1.658203,-0.49219 -0.533102,-0.147 -1.059368,-0.28177 -1.580078,-0.4043 -0.01345,-0.003 -0.02757,-0.007 -0.04101,-0.01 -0.53384,-0.12504 -1.0618039,-0.23644 -1.5800786,-0.33594 -0.518275,-0.0995 -1.0271536,-0.18547 -1.5273438,-0.25977 -0.5001902,-0.0743 -0.9911184,-0.13624 -1.4707031,-0.18554 -0.4795847,-0.0492 -0.9478387,-0.0868 -1.4042969,-0.11133 -0.016069,-0.001 -0.030836,-0.001 -0.046875,-0.002
z
m 40.0859374,41.07618
c -0.0089,-0.74073 -0.02441,-1.47826 -0.06836,-2.19727 -0.04472,-0.73159 -0.117656,-1.44503 -0.197266,-2.1543
h -2.746094
c 0.233682,0.12314 0.455556,0.25001 0.666016,0.38282 0.210925,0.13309 0.409803,0.27185 0.595703,0.41797 0.185901,0.14611 0.358405,0.30044 0.517578,0.46289 0.159174,0.16244 0.304803,0.33354 0.435547,0.51562 0.130744,0.18208 0.247044,0.37505 0.347656,0.58008 0.100612,0.20503 0.185129,0.42106 0.253907,0.65234 0.06878,0.23129 0.12101,0.47744 0.15625,0.73828 0.02548,0.18859 0.03188,0.39604 0.03906,0.60157
z
m 18.931641,-4.35157
H 61.03125
c -0.07961,0.70927 -0.152546,1.42271 -0.197266,2.1543 -0.04376,0.71582 -0.05741,1.45017 -0.06641,2.1875 0.0073,-0.20234 0.01201,-0.4059 0.03711,-0.5918 0.03521,-0.26074 0.08753,-0.50511 0.15625,-0.73632 0.06872,-0.23121 0.153375,-0.44933 0.253907,-0.6543 0.100532,-0.20497 0.217012,-0.39803 0.347656,-0.58008 0.130644,-0.18204 0.276491,-0.3532 0.435547,-0.51562 0.159056,-0.16242 0.33181,-0.31484 0.517578,-0.46094 0.185768,-0.1461 0.384922,-0.28488 0.595703,-0.41797 0.210781,-0.13309 0.431921,-0.26139 0.666016,-0.38477
z
M 5.8339844,6.1911214 5.5410156,8.1540114 3.875,19.300501
l -0.091797,0.61719 -0.2949218,1.97851
c 0.3226042,9e-5 0.6418793,0.0216 0.9589843,0.0645 0.1049901,0.0142 0.208114,0.0438 0.3125,0.0625 0.016039,8.3e-4 0.030806,9.1e-4 0.046875,0.002 0.4564572,0.0245 0.9247132,0.0621 1.4042969,0.11133 0.4795837,0.0493 0.9705139,0.11129 1.4707031,0.18554 0.5001892,0.0743 1.0090699,0.16025 1.5273438,0.25977 0.5182737,0.0995 1.0462397,0.2109 1.5800787,0.33594 0.01345,0.003 0.02756,0.007 0.04101,0.01 0.520709,0.12253 1.046977,0.2573 1.580078,0.4043 0.546883,0.1508 1.100801,0.31536 1.658203,0.49219 0.557405,0.17682 1.118191,0.36721 1.683594,0.57031 0.565404,0.2031 1.134195,0.41881 1.705078,0.64844 0.570884,0.22963 1.144908,0.4721 1.71875,0.72851 0.573843,0.25642 1.148377,0.5271 1.722656,0.81055 0.574282,0.28345 1.148505,0.57989 1.720704,0.89062 0.572197,0.31075 1.141391,0.63437 1.708984,0.97266 0.567593,0.33829 1.132891,0.69055 1.693359,1.05664 0.56047,0.36609 1.117147,0.74649 1.667969,1.14063 0.550823,0.39413 1.096109,0.80216 1.634766,1.2246 0.538655,0.42244 1.069781,0.85954 1.59375,1.31055 0.523967,0.45101 1.040115,0.91666 1.546875,1.39649 0.506758,0.47981 1.005159,0.97353 1.492187,1.48242 0.487031,0.50889 0.962955,1.0321 1.427735,1.57031 0.464777,0.53822 0.917416,1.09237 1.357421,1.66016 0.440008,0.56778 0.866584,1.15043 1.279297,1.74804 0.412715,0.59763 0.812412,1.21019 1.195313,1.83789 0.3829,0.62769 0.749044,1.2697 1.099609,1.92774 0.350567,0.65804 0.684291,1.3309 1,2.01953 0.315712,0.68864 0.614245,1.3938 0.892578,2.11328 0.278335,0.71948 0.536954,1.4545 0.775391,2.20508 0.238437,0.75058 0.456325,1.51689 0.652344,2.29883 0.196018,0.78192 0.370405,1.57903 0.521484,2.39258 0.140056,0.75417 0.256099,1.52508 0.355469,2.30664 0.0078,0.0615 0.01978,0.11995 0.02734,0.18164 0.01723,0.14057 0.02318,0.28825 0.03906,0.42968 0.07961,0.70927 0.152547,1.42271 0.197266,2.1543 0.04395,0.71901 0.05951,1.45654 0.06836,2.19727 0.0028,0.0788 0.01563,0.14909 0.01563,0.23047 0,0.0154 -0.0017,0.13721 -0.002,0.20312 4.1e-5,0.0172 0.0019,0.0335 0.002,0.0508
H 46.833984 58.773437 60.75
c -4e-5,-0.0192 0.002,-0.23666 0.002,-0.25586 0,-0.0843 0.01266,-0.15679 0.01563,-0.23828 0.009,-0.73732 0.02265,-1.47168 0.06641,-2.1875 0.04472,-0.73158 0.117661,-1.44503 0.197266,-2.1543 0.01588,-0.14143 0.02183,-0.28911 0.03906,-0.42968 0.0073,-0.0597 0.01978,-0.11621 0.02734,-0.17578 0.09951,-0.78356 0.215067,-1.55646 0.355469,-2.3125 0.151078,-0.81355 0.325468,-1.61066 0.521484,-2.39258 0.196018,-0.78194 0.413908,-1.54826 0.652344,-2.29883 0.238436,-0.75058 0.497057,-1.4856 0.775391,-2.20508 0.278332,-0.71947 0.576868,-1.42464 0.892578,-2.11328 0.31571,-0.68863 0.649434,-1.3615 1,-2.01953 0.350565,-0.65804 0.718663,-1.30005 1.101562,-1.92774 0.382901,-0.6277 0.780646,-1.24026 1.19336,-1.83789 0.412713,-0.59761 0.83929,-1.18026 1.279297,-1.74804 0.440005,-0.56779 0.892645,-1.12194 1.357421,-1.66016 0.464779,-0.53821 0.942659,-1.06143 1.429688,-1.57031 0.487029,-0.50889 0.983477,-1.00261 1.490234,-1.48242 0.50676,-0.47983 1.022909,-0.94548 1.546875,-1.39649 0.523969,-0.451 1.057049,-0.88811 1.595703,-1.31055 0.538657,-0.42244 1.083945,-0.83047 1.634766,-1.2246 0.550822,-0.39414 1.105548,-0.77454 1.666016,-1.14063 0.560467,-0.36609 1.125767,-0.71835 1.693359,-1.05664 0.567593,-0.33829 1.13874,-0.66191 1.710938,-0.97266 0.572196,-0.31073 1.146423,-0.60717 1.720703,-0.89062 0.574279,-0.28345 1.148815,-0.55413 1.722656,-0.81055 0.573841,-0.25641 1.145914,-0.49889 1.716797,-0.72851 0.570882,-0.22963 1.139676,-0.44534 1.705078,-0.64844 0.565402,-0.2031 1.128144,-0.39349 1.685547,-0.57031 0.557401,-0.17683 1.109369,-0.34139 1.65625,-0.49219 0.529712,-0.14607 1.054675,-0.27848 1.572265,-0.40039 0.01678,-0.004 0.03402,-0.01 0.05078,-0.0137 0.533836,-0.12504 1.059851,-0.23642 1.578125,-0.33594 0.518272,-0.0995 1.027156,-0.18551 1.527343,-0.25977 0.50019,-0.0742 0.99112,-0.13629 1.470704,-0.18554 0.479581,-0.0493 0.947841,-0.0868 1.404301,-0.11133 0.0161,-8.6e-4 0.0308,-9.1e-4 0.0469,-0.002 0.10439,-0.0187 0.20751,-0.0483 0.3125,-0.0625 0.31711,-0.0429 0.63638,-0.0644 0.95899,-0.0645
l -0.29297,-1.98242
h -0.002
l -0.0332,-0.23047 -1.7207,-11.5117196 -0.296878,-1.98047
c -0.0089,0.002 -1.953122,0.37433 -5.126953,0.93555 -1.590534,0.28124 -3.487141,0.60938 -5.597657,0.96094 -0.19464,0.0324 -0.436545,0.0688 -0.634765,0.10156 -1.951122,0.32288 -4.026735,0.65959 -6.248047,1 -2.446985,0.375 -5.015313,0.75 -7.615235,1.1015596 -2.599919,0.35156 -5.231446,0.67969 -7.800781,0.96094 -1.284665,0.14062 -2.554265,0.27051 -3.796875,0.38477 -1.242609,0.11425 -2.459107,0.21292 -3.636719,0.29492 -1.177609,0.082 -2.316576,0.1475 -3.40625,0.1914 -1.089671,0.0439 -2.128628,0.0664 -3.107421,0.0664 -0.978794,0 -2.019703,-0.0224 -3.109375,-0.0664 -1.089757,-0.044 -2.228641,-0.1094 -3.40625,-0.1914 -1.177612,-0.082 -2.39411,-0.18067 -3.636719,-0.29492 -1.242609,-0.11426 -2.512208,-0.24415 -3.796875,-0.38477 -2.569334,-0.28125 -5.198908,-0.60938 -7.798828,-0.96094 -2.599921,-0.3515596 -5.170203,-0.7265596 -7.617188,-1.1015596 -2.22125,-0.34041 -4.295313,-0.67713 -6.246094,-1 -0.198246,-0.0328 -0.440071,-0.0691 -0.634765,-0.10156 -2.11052,-0.35156 -4.00712,-0.6797 -5.597656,-0.96094 -3.1750098,-0.56143 -5.1214599,-0.93412 -5.1289066,-0.93555
z
M 100.85156,22.023151
c -0.0161,0.001 -0.0308,0.001 -0.0469,0.002 -0.45646,0.0245 -0.924716,0.062 -1.404299,0.11133 -0.479586,0.0493 -0.970512,0.11134 -1.470704,0.18554 -0.500189,0.0743 -1.009069,0.16027 -1.527343,0.25977 -0.518276,0.0995 -1.044287,0.2109 -1.578125,0.33594 -0.01676,0.004 -0.034,0.01 -0.05078,0.0137 -0.517592,0.12191 -1.042551,0.25432 -1.572265,0.40039 -0.546883,0.1508 -1.098847,0.31536 -1.65625,0.49219 -0.557405,0.17682 -1.120143,0.36721 -1.685547,0.57031 -0.565404,0.2031 -1.134194,0.41881 -1.705078,0.64844 -0.570885,0.22963 -1.142954,0.4721 -1.716797,0.72851 -0.573843,0.25642 -1.148375,0.5271 -1.722656,0.81055 -0.574283,0.28345 -1.148505,0.57988 -1.720703,0.89062 -0.572201,0.31075 -1.143343,0.63437 -1.710938,0.97266 -0.567594,0.33829 -1.13289,0.69055 -1.693359,1.05664 -0.560471,0.36609 -1.115192,0.74649 -1.666016,1.14063 -0.550823,0.39413 -1.096107,0.80216 -1.634766,1.2246 -0.538656,0.42244 -1.071732,0.85954 -1.595703,1.31055 -0.523968,0.45101 -1.040113,0.91666 -1.546875,1.39649 -0.506759,0.47981 -1.003203,0.97353 -1.490234,1.48242 -0.487031,0.50889 -0.964907,1.0321 -1.429688,1.57031 -0.464778,0.53822 -0.917415,1.09237 -1.357421,1.66016 -0.440009,0.56779 -0.866582,1.15043 -1.279297,1.74804 -0.412716,0.59763 -0.810458,1.21019 -1.19336,1.83789 -0.3829,0.62769 -0.750995,1.2697 -1.101562,1.92774 -0.350567,0.65804 -0.684289,1.3309 -1,2.01953 -0.315711,0.68864 -0.614245,1.3938 -0.892578,2.11328 -0.278335,0.71948 -0.536954,1.4545 -0.775391,2.20508 -0.238437,0.75058 -0.456325,1.51689 -0.652344,2.29883 -0.196017,0.78193 -0.370405,1.57903 -0.521484,2.39258 -0.140403,0.75604 -0.255962,1.52894 -0.355469,2.3125 -0.0076,0.0596 -0.02004,0.11608 -0.02734,0.17578 -0.01723,0.14057 -0.02318,0.28824 -0.03906,0.42968
h 2.746094
c 0.46179,-0.24189 0.967509,-0.46966 1.509765,-0.69336 0.542259,-0.22369 1.120985,-0.44489 1.730469,-0.67578 0.609485,-0.23088 1.248637,-0.47089 1.912109,-0.73437 0.663475,-0.26348 1.352418,-0.54962 2.056641,-0.8711 0.704224,-0.32147 1.424515,-0.67909 2.15625,-1.08398 0.365868,-0.20244 0.735205,-0.41647 1.105469,-0.64453 0.370264,-0.22806 0.74223,-0.46971 1.115234,-0.72656 0.373005,-0.25685 0.747003,-0.52759 1.121094,-0.81641 0.374091,-0.28881 0.747571,-0.59596 1.121094,-0.91992 0.373522,-0.32396 0.745889,-0.66508 1.117187,-1.02735 0.3713,-0.36227 0.741955,-0.74467 1.109375,-1.14843 0.276694,-0.30427 0.564429,-0.67808 0.865235,-1.11133 0.300804,-0.43325 0.614668,-0.92625 0.939453,-1.46875 0.324783,-0.5425 0.661136,-1.13556 1.009765,-1.76758 0.348631,-0.63202 0.709688,-1.30406 1.082032,-2.00586 0.744685,-1.40359 1.536255,-2.92591 2.375,-4.49023 0.41937,-0.78217 0.850283,-1.57444 1.292968,-2.36719 0.442687,-0.79275 0.897413,-1.58554 1.363282,-2.36914 0.465867,-0.7836 0.942724,-1.55779 1.43164,-2.3125 0.488919,-0.75471 0.990121,-1.49117 1.501953,-2.19727 0.511835,-0.70607 1.033741,-1.38178 1.56836,-2.01953 0.267307,-0.31887 0.537566,-0.62769 0.810547,-0.92578 0.272978,-0.29808 0.54949,-0.58649 0.828125,-0.86133 0.278633,-0.27483 0.559477,-0.53604 0.84375,-0.78515 0.284271,-0.24911 0.571435,-0.48612 0.861328,-0.70703 0.289892,-0.22093 0.583408,-0.42692 0.878906,-0.61719 0.295498,-0.19027 0.593447,-0.36434 0.894531,-0.52149 0.301086,-0.15714 0.605453,-0.29641 0.91211,-0.41797 0.306656,-0.12156 0.61552,-0.22508 0.927736,-0.30859 0.20905,-0.0559 0.42128,-0.091 0.63281,-0.12891
z"
/>
</>
)
/*
* SVG elements for the back
*/
const Back = ({ stroke }) => (
<>
<path
key="outline"
d="m 121.90042,6.1891714 -0.29883,2.00195 -1.77344,11.8691396 -0.27539,1.83594
c 0.32327,0 0.64319,0.0215 0.96094,0.0645 0.31775,0.043 0.6331,0.1079 0.94531,0.19141 0.31221,0.0835 0.62108,0.18703 0.92774,0.30859 0.30665,0.12157 0.61102,0.26083 0.91211,0.41797 0.30108,0.15715 0.59903,0.33122 0.89453,0.52149 0.29549,0.19027 0.58901,0.39626 0.8789,0.61719 0.2899,0.22092 0.57706,0.45596 0.86133,0.70507 0.28427,0.24911 0.56512,0.51228 0.84375,0.78711 0.27863,0.27483 0.55515,0.56129 0.82813,0.85938 0.27297,0.29808 0.54323,0.60886 0.81054,0.92773 0.53462,0.63774 1.05653,1.31344 1.56836,2.01953 0.51183,0.7061 1.01304,1.44256 1.50195,2.19727 0.48892,0.75471 0.96578,1.52891 1.43165,2.3125 0.46586,0.78359 0.92059,1.5764 1.36328,2.36914 0.44268,0.79274 0.87359,1.58503 1.29297,2.36719 0.83874,1.56432 1.63031,3.08664 2.375,4.49023 0.37234,0.7018 0.7334,1.37385 1.08203,2.00586 0.34863,0.63202 0.68498,1.22508 1.00976,1.76758 0.32479,0.5425 0.63865,1.0355 0.93946,1.46875 0.3008,0.43325 0.58854,0.80706 0.86523,1.11133 0.36742,0.40376 0.73808,0.78616 1.10937,1.14843 0.3713,0.36228 0.74367,0.7034 1.11719,1.02735 0.37352,0.32395 0.74701,0.62916 1.1211,0.91797 0.37409,0.28881 0.74809,0.56151 1.12109,0.81836 0.373,0.25684 0.74497,0.4985 1.11523,0.72656 0.37027,0.22806 0.73961,0.44209 1.10547,0.64453 0.73174,0.40488 1.45203,0.76251 2.15625,1.08398 0.70423,0.32148 1.39317,0.60762 2.05664,0.8711 0.66348,0.26348 1.30263,0.50349 1.91211,0.73437 0.60949,0.23089 1.18822,0.45209 1.73047,0.67578 0.54168,0.22347 1.04642,0.45174 1.50781,0.69336
h 0.002 3.3164 7.65625 7.67188 3.29883 0.002 0.002
c 0.46099,-0.24133 0.96476,-0.47013 1.50586,-0.69336 0.54226,-0.22369 1.12099,-0.44489 1.73047,-0.67578 0.60949,-0.23088 1.25059,-0.47089 1.91406,-0.73437 0.66348,-0.26348 1.35047,-0.54962 2.05469,-0.8711 0.70422,-0.32147 1.42452,-0.6791 2.15625,-1.08398 0.36587,-0.20244 0.73521,-0.41647 1.10547,-0.64453 0.37026,-0.22806 0.74223,-0.46972 1.11523,-0.72656 0.37301,-0.25685 0.74701,-0.52955 1.1211,-0.81836 0.37409,-0.28882 0.74757,-0.59402 1.12109,-0.91797 0.37352,-0.32396 0.74589,-0.66507 1.11719,-1.02735 0.3713,-0.36227 0.74195,-0.74467 1.10937,-1.14843 0.2767,-0.30427 0.56639,-0.67808 0.86719,-1.11133 0.30081,-0.43325 0.61272,-0.92625 0.9375,-1.46875 0.32479,-0.5425 0.66114,-1.13556 1.00977,-1.76758 0.34863,-0.63201 0.70969,-1.30406 1.08203,-2.00586 0.74469,-1.40359 1.53626,-2.92591 2.375,-4.49023 0.41937,-0.78216 0.85028,-1.57445 1.29297,-2.36719 0.44268,-0.79274 0.89741,-1.58555 1.36328,-2.36914 0.46587,-0.78359 0.94272,-1.55779 1.43164,-2.3125 0.48892,-0.75471 0.99012,-1.49117 1.50195,-2.19727 0.51184,-0.70609 1.0357,-1.38178 1.57031,-2.01953 0.26731,-0.31887 0.53757,-0.62965 0.81055,-0.92773 0.27298,-0.29809 0.54754,-0.58455 0.82617,-0.85938 0.27864,-0.27483 0.56144,-0.538 0.84571,-0.78711 0.28427,-0.24911 0.56948,-0.48415 0.85937,-0.70507 0.28989,-0.22093 0.58341,-0.42692 0.87891,-0.61719 0.2955,-0.19027 0.59344,-0.36434 0.89453,-0.52149 0.30108,-0.15714 0.60545,-0.2964 0.91211,-0.41797 0.30666,-0.12156 0.61552,-0.22508 0.92773,-0.30859 0.31221,-0.0835 0.62757,-0.14842 0.94532,-0.19141 0.31775,-0.043 0.63766,-0.0645 0.96093,-0.0645
l -0.30078,-2.01953
h -0.002
l -1.7461,-11.6855496 -0.29882,-2.00195
h -46.97071
z
m 36,52.5585896
c 0.23368,0.12314 0.45555,0.25001 0.66601,0.38282 0.21093,0.13309 0.40981,0.27185 0.59571,0.41797 0.1859,0.14611 0.3584,0.30044 0.51757,0.46289 0.15918,0.16244 0.30481,0.33354 0.43555,0.51562 0.13074,0.18208 0.24705,0.37505 0.34766,0.58008 0.10061,0.20503 0.18513,0.42106 0.2539,0.65234 0.0688,0.23129 0.12101,0.47743 0.15625,0.73828 0.0352,0.26086 0.0547,0.53636 0.0547,0.83008 0,0.0192 -0.002,0.23666 -0.002,0.25586
h 1.8125 12.27344 1.80468
c -4e-5,-0.0192 0.002,-0.23666 0.002,-0.25586 0,-0.2936 0.0175,-0.56932 0.0527,-0.83008 0.0352,-0.26075 0.0875,-0.50511 0.15625,-0.73632 0.0687,-0.23121 0.15338,-0.44933 0.25391,-0.6543 0.10053,-0.20497 0.21701,-0.39804 0.34765,-0.58008 0.13065,-0.18204 0.27649,-0.35321 0.43555,-0.51562 0.15906,-0.16242 0.33181,-0.31484 0.51758,-0.46094 0.18577,-0.1461 0.38492,-0.28488 0.5957,-0.41797 0.21032,-0.13279 0.43249,-0.26164 0.66602,-0.38477
h -3.29883 -7.67188 -7.65625
z"
/>
<path
key="stitches"
{...dashed(stroke)}
{...thin(stroke)}
d="m 216.16563,8.1911214
h -94.55152
m 53.41056,55.3926196
v -1.99808 0
c 0.4753,-2.36245 2.50991,-4.04369 4.58582,-4.94237 3.48343,-1.51875 7.207,-2.57968 10.37139,-4.75288 2.52005,-1.70526 4.8573,-3.81953 6.28448,-6.54747 3.90963,-6.88144 7.07269,-14.31599 12.38135,-20.29049 1.98406,-2.16217 4.37921,-4.13024 7.27735,-4.86719
l 1.97794,-0.30743
m -55.15177,43.70603
v -1.9982
c -0.42241,-2.03048 -1.98277,-3.62421 -3.78547,-4.54158 -3.30094,-1.64943 -6.95064,-2.53783 -10.11164,-4.48526 -2.67379,-1.63935 -5.23004,-3.67985 -6.86319,-6.40055 -3.61156,-6.15186 -6.45492,-12.77663 -10.74828,-18.51393 -2.41572,-3.20276 -5.3859,-6.39884 -9.39767,-7.45908 -2.00364,-0.12562 -2.00364,-0.12562 -2.00364,-0.12562"
/>
</>
)