/* * Copyright (c) 2023 Proton AG * * This file is part of ProtonVPN. * * ProtonVPN is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * ProtonVPN is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with ProtonVPN. If not, see . */ using ProtonVPN.Client.Common.UI.Assets.Icons.Base; namespace ProtonVPN.Client.Common.UI.Assets.Icons.PathIcons; public class Storage : CustomPathIcon { protected override string IconGeometry16 { get; } = "M4 3.5c0-.177.075-.35.266-.532.2-.19.507-.367.91-.517C5.978 2.15 7.04 2 8 2c.959 0 2.021.15 2.825.45.402.151.71.329.909.518.191.181.266.355.266.532 0 .177-.075.35-.266.532-.2.19-.507.367-.91.517C10.022 4.85 8.96 5 8 5c-.959 0-2.021-.15-2.825-.45-.402-.151-.71-.329-.909-.518C4.075 3.851 4 3.677 4 3.5Zm-1 0c0-.514.238-.935.578-1.258.332-.315.774-.551 1.247-.728C5.77 1.16 6.959 1 8 1s2.229.16 3.175.514c.473.177.915.413 1.247.728.34.323.578.744.578 1.258V12c0 .953-.685 1.712-1.57 2.205-.9.501-2.112.795-3.43.795s-2.53-.294-3.43-.795C3.684 13.712 3 12.953 3 12V3.5Zm1 4.584V9.5c0 .177.075.35.266.532.2.19.507.367.91.518.803.3 1.865.45 2.824.45.959 0 2.021-.15 2.825-.45.402-.151.71-.329.909-.518.191-.181.266-.355.266-.532V8.084c-.25.16-.532.293-.825.402C10.23 8.84 9.041 9 8 9s-2.229-.16-3.175-.514A4.414 4.414 0 0 1 4 8.084ZM12 6.5c0 .177-.075.35-.266.532-.2.19-.507.367-.91.517C10.022 7.85 8.96 8 8 8c-.959 0-2.021-.15-2.825-.45-.402-.151-.71-.329-.909-.518C4.075 6.851 4 6.677 4 6.5V5.084c.25.16.532.293.825.402C5.77 5.84 6.959 6 8 6s2.229-.16 3.175-.514c.293-.11.574-.242.825-.402V6.5Zm0 4.584c-.25.16-.532.293-.825.402C10.23 11.84 9.041 12 8 12s-2.229-.16-3.175-.514A4.415 4.415 0 0 1 4 11.084V12c0 .428.315.918 1.056 1.33.724.404 1.762.67 2.944.67s2.22-.266 2.944-.67C11.684 12.919 12 12.429 12 12v-.916Z"; protected override string IconGeometry20 { get; } = "M5 4.375c0-.22.093-.438.333-.666.249-.236.633-.458 1.136-.646C7.474 2.687 8.801 2.5 10 2.5c1.199 0 2.526.187 3.531.563.503.188.887.41 1.136.646.24.228.333.445.333.666 0 .22-.093.438-.333.666-.249.236-.633.458-1.136.646-1.005.376-2.332.563-3.531.563-1.199 0-2.526-.187-3.531-.563-.503-.188-.887-.41-1.136-.646C5.093 4.813 5 4.596 5 4.375Zm-1.25 0c0-.642.297-1.169.722-1.572.415-.394.968-.69 1.559-.91C7.214 1.45 8.699 1.25 10 1.25c1.301 0 2.786.2 3.969.642.59.221 1.144.517 1.559.911.425.403.722.93.722 1.572V15c0 1.191-.856 2.14-1.962 2.756-1.125.627-2.64.994-4.288.994-1.648 0-3.163-.367-4.288-.994C4.606 17.14 3.75 16.19 3.75 15V4.375ZM5 10.105v1.77c0 .22.093.438.333.665.249.237.633.459 1.136.647 1.005.376 2.332.563 3.531.563 1.199 0 2.526-.187 3.531-.563.503-.188.887-.41 1.136-.646.24-.228.333-.445.333-.666v-1.77c-.313.2-.665.366-1.031.503-1.183.442-2.668.642-3.969.642-1.301 0-2.786-.2-3.969-.642A5.524 5.524 0 0 1 5 10.105Zm10-1.98c0 .22-.093.438-.333.666-.249.236-.633.458-1.136.646C12.526 9.813 11.199 10 10 10c-1.199 0-2.526-.187-3.531-.563-.503-.188-.887-.41-1.136-.646C5.093 8.563 5 8.346 5 8.125v-1.77c.313.2.665.366 1.031.503C7.214 7.3 8.699 7.5 10 7.5c1.301 0 2.786-.2 3.969-.642A5.516 5.516 0 0 0 15 6.355v1.77Zm0 5.73c-.313.2-.665.366-1.031.503C12.786 14.8 11.301 15 10 15c-1.301 0-2.786-.2-3.969-.642A5.524 5.524 0 0 1 5 13.855V15c0 .535.394 1.148 1.32 1.664.905.504 2.203.836 3.68.836 1.477 0 2.775-.332 3.68-.836.926-.516 1.32-1.13 1.32-1.664v-1.145Z"; protected override string IconGeometry24 { get; } = "M6 5.25c0-.265.112-.526.4-.799.298-.283.759-.55 1.363-.775C8.968 3.225 10.562 3 12 3c1.438 0 3.031.225 4.237.676.604.226 1.065.492 1.364.775.287.273.399.534.399.799s-.112.526-.4.799c-.298.283-.759.55-1.363.775-1.205.451-2.799.676-4.237.676-1.438 0-3.032-.225-4.237-.676-.604-.226-1.065-.492-1.364-.775C6.112 5.776 6 5.515 6 5.25Zm-1.5 0c0-.77.357-1.403.866-1.886.499-.473 1.163-.828 1.871-1.093C8.657 1.74 10.438 1.5 12 1.5c1.562 0 3.344.24 4.763.77.708.266 1.372.62 1.87 1.094.51.483.867 1.115.867 1.886V18c0 1.43-1.027 2.568-2.354 3.307-1.35.752-3.169 1.193-5.146 1.193-1.977 0-3.796-.441-5.146-1.193C5.527 20.568 4.5 19.43 4.5 18V5.25ZM6 12.126v2.124c0 .265.112.526.4.799.298.283.759.55 1.363.775 1.205.451 2.799.676 4.237.676 1.438 0 3.031-.225 4.237-.676.604-.226 1.065-.492 1.364-.775.287-.273.399-.534.399-.799v-2.124c-.376.24-.798.439-1.237.603-1.42.531-3.201.771-4.763.771-1.562 0-3.343-.24-4.763-.77A6.621 6.621 0 0 1 6 12.125ZM18 9.75c0 .265-.112.526-.4.799-.298.283-.759.55-1.363.775-1.205.451-2.799.676-4.237.676-1.438 0-3.032-.225-4.237-.676-.604-.226-1.065-.492-1.364-.775C6.112 10.276 6 10.015 6 9.75V7.626c.376.24.798.439 1.237.603C8.657 8.76 10.438 9 12 9c1.562 0 3.344-.24 4.763-.77A6.663 6.663 0 0 0 18 7.626V9.75Zm0 6.876c-.376.24-.798.439-1.237.603-1.42.531-3.201.771-4.763.771-1.562 0-3.343-.24-4.763-.77A6.621 6.621 0 0 1 6 16.625V18c0 .642.473 1.378 1.584 1.996C8.67 20.602 10.227 21 12 21c1.773 0 3.33-.398 4.416-1.004C17.527 19.378 18 18.642 18 18v-1.374Z"; protected override string IconGeometry32 { get; } = "M8 7c0-.353.15-.701.532-1.065.399-.378 1.013-.733 1.819-1.034C11.957 4.3 14.082 4 16 4c1.918 0 4.042.3 5.65.901.805.301 1.42.656 1.818 1.034C23.85 6.3 24 6.647 24 7s-.15.701-.532 1.065c-.399.378-1.013.733-1.819 1.034C20.043 9.7 17.919 10 16 10c-1.918 0-4.042-.3-5.65-.901-.805-.301-1.42-.656-1.818-1.034C8.15 7.7 8 7.353 8 7ZM6 7c0-1.027.476-1.87 1.155-2.515.664-.63 1.55-1.104 2.495-1.457C11.542 2.32 13.918 2 16 2s4.458.32 6.35 1.028c.945.353 1.83.826 2.495 1.457C25.525 5.13 26 5.973 26 7v17c0 1.906-1.37 3.424-3.139 4.41C21.061 29.411 18.636 30 16 30s-5.06-.588-6.861-1.59C7.369 27.423 6 25.905 6 24V7Zm2 9.168V19c0 .353.15.701.532 1.065.399.378 1.013.733 1.819 1.034 1.607.602 3.731.901 5.649.901 1.918 0 4.042-.3 5.65-.901.805-.301 1.42-.656 1.818-1.034C23.85 19.7 24 19.353 24 19v-2.832a8.831 8.831 0 0 1-1.65.804C20.459 17.68 18.082 18 16 18s-4.458-.32-6.35-1.028A8.828 8.828 0 0 1 8 16.168ZM24 13c0 .353-.15.701-.532 1.065-.399.378-1.013.733-1.819 1.034C20.043 15.7 17.919 16 16 16c-1.918 0-4.042-.3-5.65-.901-.805-.301-1.42-.656-1.818-1.034C8.15 13.7 8 13.353 8 13v-2.832c.501.32 1.064.585 1.65.804C11.542 11.68 13.918 12 16 12s4.458-.32 6.35-1.028a8.831 8.831 0 0 0 1.65-.804V13Zm0 9.168a8.831 8.831 0 0 1-1.65.804C20.459 23.68 18.082 24 16 24s-4.458-.32-6.35-1.028A8.828 8.828 0 0 1 8 22.168V24c0 .855.63 1.837 2.111 2.662C11.561 27.469 13.636 28 16 28c2.364 0 4.44-.531 5.889-1.338C23.369 25.837 24 24.856 24 24v-1.832Z"; }