import * as React from 'react'; import { IconProps } from '../../types'; import { IconWrapper } from '../IconWrapper'; const CupStar = (allProps: IconProps) => { const { svgProps: props, iconStyle, ...restProps } = allProps; const styles: { [style: string]: React.ReactNode } = { Broken: <svg width="inherit" height="inherit" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" {...props}><path d="M12 16v3" stroke="currentColor" strokeWidth={1.5} strokeLinecap="round" /><path d="m8.5 22-.735-.147a.75.75 0 0 0 .735.897V22Zm7 0v.75a.75.75 0 0 0 .735-.897L15.5 22Zm-.34-1.696.736-.147-.735.147Zm-6.32 0-.736-.147.735.147ZM8.5 22.75h7v-1.5h-7v1.5Zm7.735-.897-.339-1.696-1.47.294.339 1.696 1.47-.294ZM14.18 18.75H9.82v1.5h4.36v-1.5Zm-6.076 1.407-.34 1.696 1.471.294.34-1.696-1.471-.294ZM9.82 18.75a1.75 1.75 0 0 0-1.716 1.407l1.47.294a.25.25 0 0 1 .246-.201v-1.5Zm6.076 1.407a1.75 1.75 0 0 0-1.716-1.407v1.5a.25.25 0 0 1 .245.201l1.471-.294Z" fill="currentColor" /><path d="m19 5 .949.316c.99.33 1.485.495 1.768.888.283.393.283.915.283 1.958v.073c0 .86 0 1.291-.207 1.643-.207.352-.584.561-1.336.98L17.5 12.5M5 5l-.949.316c-.99.33-1.485.495-1.768.888C2 6.597 2 7.12 2 8.162v.073c0 .86 0 1.291.207 1.643.207.352.584.561 1.336.98L6.5 12.5M11.146 6.023C11.526 5.34 11.716 5 12 5c.284 0 .474.34.854 1.023l.098.176c.108.194.162.29.246.354.085.064.19.088.4.135l.19.044c.738.167 1.107.25 1.195.532.088.283-.164.577-.667 1.165l-.13.152c-.143.167-.215.25-.247.354-.032.104-.021.215 0 .438l.02.203c.076.785.114 1.178-.115 1.352-.23.174-.576.015-1.267-.303l-.178-.082c-.197-.09-.295-.135-.399-.135-.104 0-.202.045-.399.135l-.178.082c-.691.319-1.037.477-1.267.303-.23-.174-.191-.567-.115-1.352l.02-.203c.021-.223.032-.334 0-.438-.032-.103-.104-.187-.247-.354l-.13-.152c-.503-.588-.755-.882-.667-1.165.088-.282.457-.365 1.195-.532l.19-.044c.21-.047.315-.07.4-.135.084-.064.138-.16.246-.354l.098-.176Z" stroke="currentColor" strokeWidth={1.5} /><path d="M18 22.75a.75.75 0 0 0 0-1.5v1.5Zm-12-1.5a.75.75 0 0 0 0 1.5v-1.5Zm0 1.5h12v-1.5H6v1.5Z" fill="currentColor" /><path d="M17 2.456c.741.141 1.181.297 1.56.765.477.586.452 1.219.401 2.485-.18 4.553-1.2 10.294-6.96 10.294S5.22 10.26 5.038 5.706c-.05-1.266-.075-1.9.4-2.485.476-.586 1.045-.682 2.184-.874A26.374 26.374 0 0 1 12 2c.718 0 1.386.025 2 .068" stroke="currentColor" strokeWidth={1.5} strokeLinecap="round" /></svg>, LineDuotone: <svg width="inherit" height="inherit" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" {...props}><path d="M12 16c-5.76 0-6.78-5.74-6.96-10.294-.051-1.266-.076-1.9.4-2.485.475-.586 1.044-.682 2.183-.874A26.374 26.374 0 0 1 12 2c1.784 0 3.253.157 4.377.347 1.139.192 1.708.288 2.184.874.476.586.45 1.219.4 2.485-.18 4.553-1.2 10.294-6.96 10.294Z" stroke="currentColor" strokeWidth={1.5} /><path opacity={0.5} d="M12 16v3" stroke="currentColor" strokeWidth={1.5} strokeLinecap="round" /><path d="m8.5 22-.735-.147a.75.75 0 0 0 .735.897V22Zm7 0v.75a.75.75 0 0 0 .735-.897L15.5 22Zm-.34-1.696.736-.147-.735.147Zm-6.32 0-.736-.147.735.147ZM8.5 22.75h7v-1.5h-7v1.5Zm7.735-.897-.339-1.696-1.47.294.339 1.696 1.47-.294ZM14.18 18.75H9.82v1.5h4.36v-1.5Zm-6.076 1.407-.34 1.696 1.471.294.34-1.696-1.471-.294ZM9.82 18.75a1.75 1.75 0 0 0-1.716 1.407l1.47.294a.25.25 0 0 1 .246-.201v-1.5Zm6.076 1.407a1.75 1.75 0 0 0-1.716-1.407v1.5a.25.25 0 0 1 .245.201l1.471-.294Z" fill="currentColor" /><path opacity={0.5} d="m19 5 .949.316c.99.33 1.485.495 1.768.888.283.393.283.915.283 1.958v.073c0 .86 0 1.291-.207 1.643-.207.352-.584.561-1.336.98L17.5 12.5M5 5l-.949.316c-.99.33-1.485.495-1.768.888C2 6.597 2 7.12 2 8.162v.073c0 .86 0 1.291.207 1.643.207.352.584.561 1.336.98L6.5 12.5" stroke="currentColor" strokeWidth={1.5} /><path d="M11.146 6.023C11.526 5.34 11.716 5 12 5c.284 0 .474.34.854 1.023l.098.176c.108.194.162.29.246.354.085.064.19.088.4.135l.19.044c.738.167 1.107.25 1.195.532.088.283-.164.577-.667 1.165l-.13.152c-.143.167-.215.25-.247.354-.032.104-.021.215 0 .438l.02.203c.076.785.114 1.178-.115 1.352-.23.174-.576.015-1.267-.303l-.178-.082c-.197-.09-.295-.135-.399-.135-.104 0-.202.045-.399.135l-.178.082c-.691.319-1.037.477-1.267.303-.23-.174-.191-.567-.115-1.352l.02-.203c.021-.223.032-.334 0-.438-.032-.103-.104-.187-.247-.354l-.13-.152c-.503-.588-.755-.882-.667-1.165.088-.282.457-.365 1.195-.532l.19-.044c.21-.047.315-.07.4-.135.084-.064.138-.16.246-.354l.098-.176Z" stroke="currentColor" strokeWidth={1.5} /><path opacity={0.5} d="M18 22.75a.75.75 0 0 0 0-1.5v1.5Zm-12-1.5a.75.75 0 0 0 0 1.5v-1.5Zm0 1.5h12v-1.5H6v1.5Z" fill="currentColor" /></svg>, Linear: <svg width="inherit" height="inherit" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" {...props}><path d="M12 16c-5.76 0-6.78-5.74-6.96-10.294-.051-1.266-.076-1.9.4-2.485.475-.586 1.044-.682 2.183-.874A26.374 26.374 0 0 1 12 2c1.784 0 3.253.157 4.377.347 1.139.192 1.708.288 2.184.874.476.586.45 1.219.4 2.485-.18 4.553-1.2 10.294-6.96 10.294Z" stroke="currentColor" strokeWidth={1.5} /><path d="M12 16v3" stroke="currentColor" strokeWidth={1.5} strokeLinecap="round" /><path d="m8.5 22-.735-.147a.75.75 0 0 0 .735.897V22Zm7 0v.75a.75.75 0 0 0 .735-.897L15.5 22Zm-.34-1.696.736-.147-.735.147Zm-6.32 0-.736-.147.735.147ZM8.5 22.75h7v-1.5h-7v1.5Zm7.735-.897-.339-1.696-1.47.294.339 1.696 1.47-.294ZM14.18 18.75H9.82v1.5h4.36v-1.5Zm-6.076 1.407-.34 1.696 1.471.294.34-1.696-1.471-.294ZM9.82 18.75a1.75 1.75 0 0 0-1.716 1.407l1.47.294a.25.25 0 0 1 .246-.201v-1.5Zm6.076 1.407a1.75 1.75 0 0 0-1.716-1.407v1.5a.25.25 0 0 1 .245.201l1.471-.294Z" fill="currentColor" /><path d="m19 5 .949.316c.99.33 1.485.495 1.768.888.283.393.283.915.283 1.958v.073c0 .86 0 1.291-.207 1.643-.207.352-.584.561-1.336.98L17.5 12.5M5 5l-.949.316c-.99.33-1.485.495-1.768.888C2 6.597 2 7.12 2 8.162v.073c0 .86 0 1.291.207 1.643.207.352.584.561 1.336.98L6.5 12.5M11.146 6.023C11.526 5.34 11.716 5 12 5c.284 0 .474.34.854 1.023l.098.176c.108.194.162.29.246.354.085.064.19.088.4.135l.19.044c.738.167 1.107.25 1.195.532.088.283-.164.577-.667 1.165l-.13.152c-.143.167-.215.25-.247.354-.032.104-.021.215 0 .438l.02.203c.076.785.114 1.178-.115 1.352-.23.174-.576.015-1.267-.303l-.178-.082c-.197-.09-.295-.135-.399-.135-.104 0-.202.045-.399.135l-.178.082c-.691.319-1.037.477-1.267.303-.23-.174-.191-.567-.115-1.352l.02-.203c.021-.223.032-.334 0-.438-.032-.103-.104-.187-.247-.354l-.13-.152c-.503-.588-.755-.882-.667-1.165.088-.282.457-.365 1.195-.532l.19-.044c.21-.047.315-.07.4-.135.084-.064.138-.16.246-.354l.098-.176Z" stroke="currentColor" strokeWidth={1.5} /><path d="M18 22.75a.75.75 0 0 0 0-1.5v1.5Zm-12-1.5a.75.75 0 0 0 0 1.5v-1.5Zm0 1.5h12v-1.5H6v1.5Z" fill="currentColor" /></svg>, Outline: <svg width="inherit" height="inherit" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" {...props}><path fillRule="evenodd" clipRule="evenodd" d="M11.014 4.8c.172-.225.484-.55.986-.55s.814.325.986.55c.165.214.33.511.5.816l.121.218.057.1.099.023.238.054c.327.074.653.147.903.246.276.109.65.32.795.785.142.455-.037.841-.193 1.09-.145.23-.365.486-.59.749l-.16.188-.082.097c.002.036.007.078.012.135l.024.25c.034.351.067.691.055.963-.012.286-.08.718-.468 1.011-.4.304-.84.238-1.12.157-.258-.073-.563-.214-.87-.355l-.222-.103-.085-.039-.085.04-.223.102c-.306.141-.611.282-.869.355-.28.08-.72.147-1.12-.157-.387-.293-.456-.725-.468-1.01-.012-.273.02-.613.055-.965l.024-.25.013-.134a10.28 10.28 0 0 0-.083-.097l-.16-.188c-.225-.263-.445-.52-.59-.75-.156-.248-.335-.634-.193-1.09.144-.463.519-.675.795-.784.25-.099.576-.172.903-.246l.238-.054.1-.023.056-.1.121-.218c.17-.305.335-.602.5-.816ZM12 6.034c-.058.101-.123.217-.199.354l-.098.176-.023.04c-.078.144-.208.382-.425.547-.221.168-.488.226-.643.26l-.044.009-.19.043c-.176.04-.319.072-.44.103.079.097.182.219.316.376l.13.152.03.034c.108.125.282.325.363.585.08.256.052.52.035.686l-.005.047-.02.203a25.21 25.21 0 0 0-.042.46c.105-.046.223-.1.364-.165l.179-.082.04-.02c.144-.067.393-.185.672-.185s.528.118.672.186l.04.019.179.082c.14.065.26.12.364.165a25.21 25.21 0 0 0-.042-.46l-.02-.203-.005-.047c-.017-.167-.045-.43.035-.686.08-.26.255-.46.363-.585l.03-.034.13-.152c.134-.157.237-.279.316-.376-.121-.03-.264-.063-.44-.103l-.19-.043-.044-.01c-.155-.033-.422-.091-.643-.26-.217-.164-.347-.402-.425-.545l-.023-.041-.098-.176c-.076-.137-.14-.253-.199-.354Zm-1.26 4.478-.001-.004v.004Zm2.52 0 .001-.004v.004Z" fill="currentColor" /><path fillRule="evenodd" clipRule="evenodd" d="M7.498 1.607A27.123 27.123 0 0 1 12 1.25c1.828 0 3.339.161 4.502.357l.135.023c1.01.169 1.85.31 2.506 1.118.421.519.557 1.08.588 1.705l.492.164c.463.154.87.29 1.191.44.348.162.667.37.911.709.244.338.341.707.385 1.088.04.353.04.78.04 1.27v.144c0 .402 0 .757-.03 1.054-.032.321-.103.634-.28.936-.179.303-.418.517-.683.701-.245.17-.555.343-.907.538l-2.64 1.467c-.54 1.061-1.28 2.007-2.3 2.69-.875.587-1.922.959-3.16 1.065v2.031h1.43a1.75 1.75 0 0 1 1.716 1.407l.219 1.093H18a.75.75 0 0 1 0 1.5H6a.75.75 0 0 1 0-1.5h1.885l.219-1.093A1.75 1.75 0 0 1 9.82 18.75h1.43v-2.031c-1.238-.106-2.285-.478-3.16-1.064-1.019-.684-1.76-1.63-2.3-2.691l-2.64-1.467c-.352-.195-.662-.368-.907-.538-.266-.184-.504-.398-.682-.7-.178-.303-.25-.616-.281-.937-.03-.297-.03-.652-.03-1.054v-.145c0-.488 0-.916.04-1.269.044-.381.14-.75.385-1.088.244-.339.563-.547.91-.71.323-.15.729-.285 1.192-.439l.492-.164c.031-.626.167-1.186.588-1.705.657-.809 1.496-.95 2.507-1.118l.134-.023ZM9.415 21.25h5.17l-.16-.799a.25.25 0 0 0-.245-.201H9.82a.25.25 0 0 0-.245.201l-.16.799ZM4.302 6.023l-.014.005c-.51.17-.834.28-1.07.389-.217.1-.287.171-.326.226-.04.054-.084.143-.111.381-.03.258-.031.6-.031 1.138v.073c0 .445 0 .724.022.938.02.196.052.275.082.325.029.05.082.116.244.229.176.122.42.258.81.475l1.065.592c-.428-1.57-.6-3.25-.67-4.77Zm14.725 4.77c.428-1.57.6-3.25.671-4.77l.014.005c.51.17.834.28 1.07.389.217.1.287.171.326.226.04.054.084.143.111.381.03.258.031.6.031 1.138v.073c0 .445 0 .724-.022.938-.02.196-.052.275-.082.325-.029.05-.082.116-.244.229-.177.122-.42.258-.81.475l-1.065.591ZM12 2.75c-1.74 0-3.167.153-4.252.336-1.207.204-1.46.28-1.726.608-.262.322-.287.628-.234 1.983.09 2.258.388 4.696 1.31 6.55.456.914 1.052 1.662 1.828 2.182.77.517 1.765.841 3.074.841 1.31 0 2.304-.324 3.075-.841.776-.52 1.371-1.268 1.826-2.183.923-1.853 1.221-4.29 1.31-6.55.055-1.354.03-1.66-.232-1.982-.266-.328-.52-.404-1.727-.608A25.627 25.627 0 0 0 12 2.75Z" fill="currentColor" /></svg>, Bold: <svg width="inherit" height="inherit" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" {...props}><path d="M22 8.162v.073c0 .86 0 1.291-.207 1.643-.207.352-.584.561-1.336.98l-.793.44c.546-1.848.729-3.834.796-5.532l.01-.221.002-.052c.651.226 1.017.395 1.245.711.283.393.283.915.283 1.958ZM2 8.162v.073c0 .86 0 1.291.207 1.643.207.352.584.561 1.336.98l.794.44c-.547-1.848-.73-3.834-.797-5.532l-.01-.221-.001-.052c-.652.226-1.018.395-1.246.711C2 6.597 2 7.12 2 8.162Z" fill="currentColor" /><path fillRule="evenodd" clipRule="evenodd" d="M12 2c1.784 0 3.253.157 4.377.347 1.139.192 1.708.288 2.184.874.476.586.45 1.219.4 2.485-.172 4.349-1.11 9.78-6.211 10.26V19.5h1.43a1 1 0 0 1 .98.804l.19.946H18a.75.75 0 0 1 0 1.5H6a.75.75 0 0 1 0-1.5h2.65l.19-.946a1 1 0 0 1 .98-.804h1.43v-3.534c-5.1-.48-6.038-5.912-6.21-10.26-.051-1.266-.076-1.9.4-2.485.475-.586 1.044-.682 2.183-.874A26.374 26.374 0 0 1 12 2Zm.952 4.199-.098-.176C12.474 5.34 12.284 5 12 5c-.284 0-.474.34-.854 1.023l-.098.176c-.108.194-.162.29-.246.354-.085.064-.19.088-.4.135l-.19.044c-.738.167-1.107.25-1.195.532-.088.283.164.577.667 1.165l.13.152c.143.167.215.25.247.354.032.104.021.215 0 .438l-.02.203c-.076.785-.114 1.178.115 1.352.23.174.576.015 1.267-.303l.178-.082c.197-.09.295-.135.399-.135.104 0 .202.045.399.135l.178.082c.691.319 1.037.477 1.267.303.23-.174.191-.567.115-1.352l-.02-.203c-.021-.223-.032-.334 0-.438.032-.103.104-.187.247-.354l.13-.152c.503-.588.755-.882.667-1.165-.088-.282-.457-.365-1.195-.532l-.19-.044c-.21-.047-.315-.07-.4-.135-.084-.064-.138-.16-.246-.354Z" fill="currentColor" /></svg>, BoldDuotone: <svg width="inherit" height="inherit" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" {...props}><path opacity={0.5} d="M12 16c-5.76 0-6.78-5.74-6.96-10.294-.05-1.266-.076-1.9.4-2.485.476-.586 1.045-.682 2.184-.874A26.374 26.374 0 0 1 12 2c1.783 0 3.253.157 4.377.347 1.138.192 1.708.288 2.183.874.476.586.451 1.219.4 2.485-.18 4.553-1.2 10.294-6.96 10.294Z" fill="currentColor" /><path d="m17.64 12.422 2.817-1.565c.752-.418 1.128-.627 1.336-.979C22 9.526 22 9.096 22 8.235v-.073c0-1.043 0-1.565-.283-1.958s-.778-.558-1.768-.888L19 5l-.017.085c-.005.189-.013.395-.022.621-.088 2.225-.377 4.733-1.32 6.716ZM5.04 5.706c.087 2.225.376 4.733 1.32 6.716l-2.817-1.565c-.752-.418-1.129-.627-1.336-.979C2 9.526 2 9.096 2 8.235v-.073c0-1.043 0-1.565.283-1.958s.778-.558 1.768-.888L5 5l.017.087c.005.188.013.394.022.62Z" fill="currentColor" /><path fillRule="evenodd" clipRule="evenodd" d="M5.25 22a.75.75 0 0 1 .75-.75h12a.75.75 0 0 1 0 1.5H6a.75.75 0 0 1-.75-.75Z" fill="currentColor" /><path opacity={0.5} d="M15.458 21.25H8.543l.297-1.75a1 1 0 0 1 .98-.804h4.36a1 1 0 0 1 .981.804l.297 1.75Z" fill="currentColor" /><path d="M12 16c-.26 0-.51-.011-.75-.034v2.73h1.5v-2.73A7.98 7.98 0 0 1 12 16ZM11.146 6.023C11.526 5.34 11.716 5 12 5c.284 0 .474.34.854 1.023l.098.176c.108.194.162.29.246.354.085.064.19.088.4.135l.19.044c.738.167 1.107.25 1.195.532.088.283-.164.577-.667 1.165l-.13.152c-.143.167-.215.25-.247.354-.032.104-.021.215 0 .438l.02.203c.076.785.114 1.178-.115 1.352-.23.174-.576.015-1.267-.303l-.178-.082c-.197-.09-.295-.135-.399-.135-.104 0-.202.045-.399.135l-.178.082c-.691.319-1.037.477-1.267.303-.23-.174-.191-.567-.115-1.352l.02-.203c.021-.223.032-.334 0-.438-.032-.103-.104-.187-.247-.354l-.13-.152c-.503-.588-.755-.882-.667-1.165.088-.282.457-.365 1.195-.532l.19-.044c.21-.047.315-.07.4-.135.084-.064.138-.16.246-.354l.098-.176Z" fill="currentColor" /></svg> }; return <IconWrapper icon={styles[iconStyle || 'Linear']} {...restProps} /> }; export default CupStar