Files
sLogos/public/images/flags/us-ri.svg
sHa 374ece5142 Refactor SVG processing scripts and add new functionality
- Updated `svg-cleanup.js` to improve SVG file processing and validation.
- Refactored `update-data.js` to streamline the data update process and integrate new scripts for generating image variants and syncing data files.
- Introduced `generate-variants.js` to handle the conversion of SVG files to PNG and JPG formats.
- Created `sync-data.js` to synchronize logo data with the filesystem, ensuring accurate representation of available images.
- Enhanced error handling and logging throughout the scripts for better debugging and user feedback.
- Added support for processing all collections or a specific collection based on command-line arguments or environment variables.
2025-06-19 17:09:45 +03:00

45 lines
8.2 KiB
XML

<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" height="100%" width="100%"
viewBox="0 0 685 630">
<path fill="#fec500" d="M0 0h685v630H0z" />
<path
d="M651.38 520.71h34.83m-34.83 11.76h34.83m-34.83 11.75h34.83m-34.83 11.76h34.83m-34.83 11.75h34.83m-34.83 11.76h34.83m-34.83 11.76h34.83M651.38 603h34.83m-34.83-164.57h34.83m-34.83 11.75h34.83m-34.83 11.76h34.83m-34.83 11.75h34.83m-34.83 11.76h34.83m-34.83 11.75h34.83m-34.83 11.76h34.83m-34.83 11.75h34.83m-34.83-164.57h34.83m-34.83 11.76h34.83m-34.83 11.75h34.83m-34.83 11.76h34.83m-34.83 11.75h34.83m-34.83 11.76h34.83m-34.83 11.75h34.83m-34.83 11.76h34.83m-34.83-164.57h34.83m-34.83 11.75h34.83m-34.83 11.76h34.83m-34.83 11.75h34.83m-34.83 11.76h34.83m-34.83 11.75h34.83m-34.83 11.76h34.83m-34.83 11.75h34.83m-34.83-164.57h34.83m-34.83 11.76h34.83m-34.83 11.75h34.83m-34.83 11.76h34.83m-34.83 11.75h34.83m-34.83 11.76h34.83m-34.83 11.75h34.83m-34.83 11.76h34.83m-34.83-164.57h34.83m-34.83 11.75h34.83m-34.83 11.76h34.83m-34.83 11.75h34.83m-34.83 11.76h34.83m-34.83 11.75h34.83m-34.83 11.76h34.83m-34.83 11.75h34.83M651.38 27h34.83m-34.83 11.75h34.83m-34.83 11.76h34.83m-34.83 11.76h34.83m-34.83 11.75h34.83m-34.83 11.76h34.83m-34.83 11.75h34.83m-34.83 11.76h34.83M493.4 713.35V-3.22M505.16 713.35V-3.22M516.92 713.35V-3.22M528.68 713.35V-3.22M540.43 713.35V-3.22M552.19 713.35V-3.22M563.94 713.35V-3.22M575.7 713.35V-3.22M411.11 713.35V-3.22M422.87 713.35V-3.22M434.62 713.35V-3.22M446.38 713.35V-3.22M458.14 713.35V-3.22M469.9 713.35V-3.22M481.65 713.35V-3.22M493.4 713.35V-3.22M328.82 713.35V-3.22M340.57 713.35V-3.22M352.33 713.35V-3.22M364.09 713.35V-3.22M375.84 713.35V-3.22M387.6 713.35V-3.22M399.36 713.35V-3.22M411.11 713.35V-3.22M246.52 713.35V-3.22M258.28 713.35V-3.22M270.04 713.35V-3.22M281.8 713.35V-3.22M293.55 713.35V-3.22M305.3 713.35V-3.22M317.06 713.35V-3.22M328.82 713.35V-3.22M164.23 713.35V-3.22M175.99 713.35V-3.22M187.74 713.35V-3.22M199.5 713.35V-3.22M211.25 713.35V-3.22M223.01 713.35V-3.22M234.77 713.35V-3.22M246.52 713.35V-3.22M81.94 713.35V-3.22M93.7 713.35V-3.22M105.45 713.35V-3.22M117.2 713.35V-3.22M128.96 713.35V-3.22M140.72 713.35V-3.22M152.47 713.35V-3.22M164.23 713.35V-3.22M11.4 713.35V-3.22M23.15 713.35V-3.22M34.91 713.35V-3.22M46.67 713.35V-3.22M58.42 713.35V-3.22M70.18 713.35V-3.22M81.94 713.35V-3.22M575.7 713.35V-3.22M587.46 713.35V-3.22M599.21 713.35V-3.22M610.97 713.35V-3.22M622.73 713.35V-3.22M634.48 713.35V-3.22M646.24 713.35V-3.22M658 713.35V-3.22M493.4 713.35V-3.22M505.16 713.35V-3.22M516.92 713.35V-3.22M528.68 713.35V-3.22M540.43 713.35V-3.22M552.19 713.35V-3.22M563.94 713.35V-3.22M575.7 713.35V-3.22M411.11 713.35V-3.22M422.87 713.35V-3.22M434.62 713.35V-3.22M446.38 713.35V-3.22M458.14 713.35V-3.22M469.9 713.35V-3.22M481.65 713.35V-3.22M493.4 713.35V-3.22M328.82 713.35V-3.22M340.57 713.35V-3.22M352.33 713.35V-3.22M364.09 713.35V-3.22M375.84 713.35V-3.22M387.6 713.35V-3.22M399.36 713.35V-3.22M411.11 713.35V-3.22M246.52 713.35V-3.22M258.28 713.35V-3.22M270.04 713.35V-3.22M281.8 713.35V-3.22M293.55 713.35V-3.22M305.3 713.35V-3.22M317.06 713.35V-3.22M328.82 713.35V-3.22M164.23 713.35V-3.22M175.99 713.35V-3.22M187.74 713.35V-3.22M199.5 713.35V-3.22M211.25 713.35V-3.22M223.01 713.35V-3.22M234.77 713.35V-3.22M246.52 713.35V-3.22M81.94 713.35V-3.22M93.7 713.35V-3.22M105.45 713.35V-3.22M117.2 713.35V-3.22M128.96 713.35V-3.22M140.72 713.35V-3.22M152.47 713.35V-3.22M164.23 713.35V-3.22M652.83 598.62L685 630"
fill="none" stroke="#dfad00" stroke-width="4" />
<path d="M652.83 31.38L685 0" fill="none" stroke="#dfad00" stroke-width="4.02" />
<path fill="#fff" d="M0 25h660v580H0z" />
<g stroke-width="1.5" fill="#fec500">
<path
d="M325.78 210.52s-1.06 118.22-1.06 126.82c0 8.6 0 20.42-9.5 18.27-9.48-2.15-21.09-2.15-37.97-13.97-16.87-11.82-16.87-13.97-16.87-13.97l15.82-5.38s-15.82-3.22-26.37-10.74c-10.55-7.53-18.99-13.98-18.99-13.98s-1.05 16.13 4.22 27.95c5.28 11.82 15.82 22.57 15.82 22.57v-13.97s14.77 13.97 20.05 17.2c5.27 3.22 26.37 11.82 34.8 17.2 8.44 5.36 25.32 20.41 25.32 20.41s14.77-17.2 25.32-21.5c10.55-4.3 24.26-10.74 30.59-15.04 6.33-4.3 23.2-20.42 23.2-20.42v18.27s11.6-13.97 14.77-23.65c3.17-9.67 4.22-26.87 4.22-26.87s-8.44 6.45-15.82 9.68c-7.39 3.22-28.48 11.82-28.48 11.82l16.87 4.3s-27.42 21.5-36.91 25.8c-9.5 4.3-29.54 6.44-29.54-4.3s1.06-136.5 1.06-136.5h-10.55zM326.83 170.75h7.38v32.24h-7.38z"
stroke="#fec500" />
<path
d="M274.1 203s29.53-6.45 56.95-6.45 55.9 6.44 55.9 6.44v11.83s-37.97 5.37-60.12 5.37-53.8-6.45-53.8-6.45L274.1 203z"
stroke="#fff" />
<path
d="M341.6 197.62c0 7.12-4.96 12.9-11.08 12.9-6.11 0-11.07-5.78-11.07-12.9s4.96-12.9 11.07-12.9c6.12 0 11.08 5.78 11.08 12.9zm5.27-.54c0 9.8-7.55 17.74-16.87 17.74s-16.88-7.94-16.88-17.74c0-9.8 7.56-17.73 16.88-17.73s16.87 7.94 16.87 17.73z"
fill-rule="evenodd" stroke="#fff" />
</g>
<g stroke-linejoin="round" stroke="#fff" fill="#003271">
<path
d="M427.63 403.37s-14.01 12.8-27.72 14.62c-13.71 1.83-35.3 8.27-35.3 8.27s-.57 19.72.1 21.43c.67 1.71 1.1 2.16 3.07 2.23 6.39.23 21.95.25 38.88-3.69 22.13-5.15 43.84-18.47 43.84-18.47-5.06-2.08-17.3-3.91-25.2-5.87zM386.6 433.82c1.5 4-22.18 7.7-21.89 13.87M232.37 403.37s14.01 12.8 27.72 14.62c13.71 1.83 35.3 8.27 35.3 8.27s.57 19.72-.1 21.43c-.67 1.71-1.1 2.16-3.07 2.23-6.39.23-21.95.25-38.88-3.69-22.13-5.15-43.84-18.47-43.84-18.47 5.06-2.08 17.3-3.91 25.2-5.87zM273.4 433.82c-1.5 4 22.18 7.7 21.89 13.87" />
<path
d="M277.26 432.99c-2.44-.76-3.86.83-3.86.83v-34.16s1.48-1.34 4.06-.21c9.1 3.97 32.56 12.02 52.54 12.02s43.44-8.05 52.54-12.02c2.58-1.13 4.06.2 4.06.2v34.17s-1.42-1.6-3.86-.83c-9.7 3.01-35.06 10.5-52.74 10.5S286.96 436 277.26 433z" />
</g>
<g transform="translate(330 315)" fill="#fec500">
<path d="M0-245l10.58 25.44 27.46 2.2-20.92 17.92 6.4 26.8L0-187l-23.51 14.36 6.4-26.8-20.93-17.92 27.46-2.2z"
id="us-ri-a" />
<g id="us-ri-b">
<use transform="rotate(27.7)" xlink:href="us-ri-a" />
<use transform="rotate(55.38)" xlink:href="us-ri-a" />
<use transform="rotate(83.08)" xlink:href="us-ri-a" />
<use transform="rotate(110.77)" xlink:href="us-ri-a" />
<use transform="rotate(138.46)" xlink:href="us-ri-a" />
<use transform="rotate(166.15)" xlink:href="us-ri-a" />
</g>
<use transform="scale(-1 1)" xlink:href="us-ri-b" />
</g>
<path
d="M362.3 423.68v-11.26l8.12-2.2 8.13-2.2v4.52l-5.3 1.43-5.3 1.44v4.52l4-1.08 4-1.09v4.52l-4.06 1.1-4.06 1.1v4.44l5.36-1.45 5.36-1.46V430.54l-8.13 2.2-8.13 2.2v-11.26zm-15.7.5c1.92-.62 2.85-1.68 2.51-2.87-.32-1.13-2.06-1.62-5.14-1.44l-1.32.08v4.85l1.68-.22c.92-.12 1.94-.3 2.26-.4zm-9.37 3.08v-11.28l3.68-.32c4.54-.39 6.06-.38 8.08.03 3.5.72 5.44 2.6 5.64 5.48a5.39 5.39 0 0 1-2.03 4.73c-1.72 1.5-4.13 2.42-7.98 3.04l-1.85.3v8.73l-2.77.28-2.77.28v-11.27zm-18.28 6.89c.7-.38 1.41-1.5 1.73-2.73.63-2.46.47-6.6-.35-8.61-.79-1.96-2.5-2.63-4.02-1.57-1.3.9-1.84 2.93-1.72 6.5.12 3.87.82 5.9 2.26 6.54a2.4 2.4 0 0 0 2.1-.13zm-2.75 4.62a8.4 8.4 0 0 1-6.01-4.52c-1.01-2.02-1.34-3.75-1.34-6.96 0-3.23.34-5.01 1.32-6.95 1.48-2.92 4.62-4.4 8.66-4.04 4.35.38 6.88 2.86 7.68 7.55.24 1.4.27 4.6.06 6.24-.56 4.42-2.38 7.19-5.42 8.27-1.46.51-3.36.67-4.95.4zm-34.5-19.5v-11.26l2.77.68 2.77.68v9.05l3.36.83 3.35.82v-9.04l2.83.7 2.83.69v22.52l-2.83-.7-2.83-.69v-9.04l-3.35-.83-3.36-.83v9.05l-2.77-.68-2.77-.68v-11.26z"
fill="#fec500" />
<path
d="M238.6 3104.78h34.82m-34.83 11.55h34.83m-34.83 11.55h34.83m-34.83 11.54h34.83m-34.83 11.55h34.83m-34.83 11.54h34.83m-34.83 11.55h34.83m-34.83 11.54h34.83M238.6 4544.78h34.82m-34.83 11.55h34.83m-34.83 11.54h34.83m-34.83 11.55h34.83m-34.83 11.55h34.83m-34.83 11.54h34.83m-34.83 11.55h34.83m-34.83 11.54h34.83M238.6 5984.78h34.82m-34.83 11.55h34.83m-34.83 11.54h34.83m-34.83 11.55h34.83m-34.83 11.55h34.83m-34.83 11.54h34.83m-34.83 11.55h34.83m-34.83 11.54h34.83M238.6 7424.78h34.82m-34.83 11.55h34.83m-34.83 11.54h34.83m-34.83 11.55h34.83m-34.83 11.55h34.83m-34.83 11.54h34.83m-34.83 11.55h34.83m-34.83 11.54h34.83M238.6 8864.78h34.82m-34.83 11.55h34.83m-34.83 11.55h34.83m-34.83 11.54h34.83m-34.83 11.55h34.83m-34.83 11.54h34.83m-34.83 11.55h34.83m-34.83 11.54h34.83"
fill="none" stroke="#dfad00" stroke-width="3.91" />
</svg>