import * as React from 'react'; import { IconProps } from '../../types'; import { IconWrapper } from '../IconWrapper'; const PointOnMap = (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="M21 13.162c0-1.043 0-3.565-.283-3.958-.283-.393-.778-.558-1.768-.888L18 8m3 8.829c0 1.29 0 1.936-.34 2.351-.115.14-.255.26-.413.35-.465.267-1.102.16-2.375-.051-1.256-.21-1.884-.314-2.507-.262-.219.018-.436.05-.65.097-.61.134-1.185.421-2.334.996-1.5.75-2.25 1.125-3.048 1.24-.24.035-.483.052-.726.052-.807-.002-1.595-.265-3.172-.79l-.384-.128c-.99-.33-1.485-.495-1.768-.888C3 19.403 3 18.88 3 17.838V17m0-4.092c0-1.659 0-2.488.488-2.934a1.5 1.5 0 0 1 .281-.203c.515-.287 1.197-.11 2.454.304" stroke="currentColor" strokeWidth={1.5} strokeLinecap="round" /><path d="M17.25 11.251c.486-1.157.75-2.39.75-3.55C18 4.551 15.314 2 12 2S6 4.552 6 7.7c0 3.124 1.915 6.769 4.903 8.072a2.755 2.755 0 0 0 2.194 0c.954-.416 1.8-1.071 2.507-1.872" stroke="currentColor" strokeWidth={1.5} strokeLinecap="round" /><circle cx={12} cy={8} r={2} stroke="currentColor" strokeWidth={1.5} /></svg>, LineDuotone: <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="m18 8 .949.316c.99.33 1.485.495 1.768.888.283.393.283.915.283 1.958v5.667c0 1.29 0 1.936-.34 2.351-.115.14-.255.26-.413.35-.465.267-1.102.16-2.375-.051-1.256-.21-1.884-.314-2.507-.262-.219.018-.436.05-.65.097-.61.134-1.185.421-2.334.996-1.5.75-2.25 1.125-3.048 1.24-.24.035-.483.052-.726.052-.807-.002-1.595-.265-3.172-.79l-.384-.128c-.99-.33-1.485-.495-1.768-.888C3 19.403 3 18.88 3 17.838v-4.93c0-1.659 0-2.488.488-2.934a1.5 1.5 0 0 1 .281-.203c.578-.322 1.365-.06 2.938.465" stroke="currentColor" strokeWidth={1.5} /><path d="M6 7.7C6 4.552 8.686 2 12 2s6 2.552 6 5.7c0 3.124-1.915 6.769-4.903 8.072a2.755 2.755 0 0 1-2.194 0C7.915 14.47 6 10.824 6 7.7Z" stroke="currentColor" strokeWidth={1.5} /><circle cx={12} cy={8} r={2} stroke="currentColor" strokeWidth={1.5} /></svg>, Linear: <svg width="inherit" height="inherit" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" {...props}><path d="m18 8 .949.316c.99.33 1.485.495 1.768.888.283.393.283.915.283 1.958v5.667c0 1.29 0 1.936-.34 2.351-.115.14-.255.26-.413.35-.465.267-1.102.16-2.375-.051-1.256-.21-1.884-.314-2.507-.262-.219.018-.436.05-.65.097-.61.134-1.185.421-2.334.996-1.5.75-2.25 1.125-3.048 1.24-.24.035-.483.052-.726.052-.807-.002-1.595-.265-3.172-.79l-.384-.128c-.99-.33-1.485-.495-1.768-.888C3 19.403 3 18.88 3 17.838v-4.93c0-1.659 0-2.488.488-2.934a1.5 1.5 0 0 1 .281-.203c.578-.322 1.365-.06 2.938.465" stroke="currentColor" strokeWidth={1.5} /><path d="M6 7.7C6 4.552 8.686 2 12 2s6 2.552 6 5.7c0 3.124-1.915 6.769-4.903 8.072a2.755 2.755 0 0 1-2.194 0C7.915 14.47 6 10.824 6 7.7Z" stroke="currentColor" strokeWidth={1.5} /><circle cx={12} cy={8} r={2} stroke="currentColor" strokeWidth={1.5} /></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="M5.25 7.7c0-3.598 3.059-6.45 6.75-6.45 3.608 0 6.612 2.725 6.745 6.208l.478.16c.463.153.87.289 1.191.439.348.162.667.37.911.709.244.338.341.707.385 1.088.04.353.04.78.04 1.269v5.748c0 .61 0 1.13-.047 1.547-.05.438-.161.87-.463 1.237a2.25 2.25 0 0 1-.62.525c-.412.237-.855.276-1.296.253-.42-.022-.933-.107-1.534-.208l-.041-.007c-1.293-.215-1.814-.296-2.322-.254-.185.016-.37.043-.552.083-.498.109-.976.342-2.159.933l-.122.061c-1.383.692-2.234 1.118-3.154 1.251-.276.04-.555.06-.835.06-.928-.002-1.825-.301-3.28-.786a73.75 73.75 0 0 1-.127-.043l-.384-.128-.037-.012c-.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.269v-5.02c0-.786 0-1.448.067-1.967.07-.542.23-1.072.666-1.47a2.25 2.25 0 0 1 .42-.304c.517-.287 1.07-.27 1.605-.166.11.021.223.047.342.078-.066-.446-.1-.89-.1-1.328Zm.499 3.01a9.414 9.414 0 0 0-1.028-.288c-.395-.077-.525-.03-.586.004a.747.747 0 0 0-.14.101c-.053.048-.138.156-.19.556-.053.41-.055.974-.055 1.825v4.93c0 .539.001.88.03 1.138.028.238.072.327.112.381.039.055.109.125.326.226.236.11.56.219 1.07.39l.384.127c1.624.541 2.279.75 2.936.752.207 0 .413-.015.617-.044.65-.094 1.276-.397 2.82-1.17l.093-.046c1.06-.53 1.714-.857 2.417-1.01.246-.054.496-.092.747-.113.717-.06 1.432.06 2.593.253l.1.017c.655.109 1.083.18 1.407.196.312.016.419-.025.471-.055a.749.749 0 0 0 .207-.175c.039-.047.097-.146.132-.456.037-.323.038-.757.038-1.42v-5.667c0-.539-.001-.88-.03-1.138-.028-.238-.072-.327-.112-.381-.039-.055-.109-.125-.326-.226-.236-.11-.56-.219-1.07-.39l-.06-.019a10.701 10.701 0 0 1-1.335 3.788c-.912 1.568-2.247 2.934-3.92 3.663a3.505 3.505 0 0 1-2.794 0c-1.673-.73-3.008-2.095-3.92-3.663a10.856 10.856 0 0 1-.934-2.087ZM12 2.75c-2.936 0-5.25 2.252-5.25 4.95 0 1.418.437 2.98 1.23 4.341.791 1.362 1.908 2.47 3.223 3.044.505.22 1.089.22 1.594 0 1.316-.574 2.432-1.682 3.224-3.044.792-1.36 1.229-2.923 1.229-4.34 0-2.699-2.314-4.951-5.25-4.951Zm0 4a1.25 1.25 0 1 0 0 2.5 1.25 1.25 0 0 0 0-2.5ZM9.25 8a2.75 2.75 0 1 1 5.5 0 2.75 2.75 0 0 1-5.5 0Z" 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="M21 16.83v-5.667c0-1.044 0-1.566-.283-1.959-.229-.317-.596-.486-1.25-.713-.134 1.606-.666 3.247-1.502 4.682-.972 1.672-2.417 3.167-4.268 3.974a4.255 4.255 0 0 1-3.394 0c-1.851-.807-3.296-2.302-4.269-3.974A11.533 11.533 0 0 1 4.7 9.658c-.383-.057-.676-.028-.93.113a1.5 1.5 0 0 0-.28.203C3 10.42 3 11.249 3 12.908v4.93c0 1.043 0 1.565.283 1.958s.778.558 1.768.888l.384.128c1.577.525 2.365.788 3.172.79.243 0 .485-.017.726-.052.798-.115 1.548-.49 3.048-1.24 1.149-.575 1.724-.862 2.334-.995.214-.047.431-.08.65-.098.623-.052 1.25.053 2.507.262 1.273.212 1.91.318 2.375.051.158-.09.298-.209.413-.35.34-.415.34-1.06.34-2.35Z" fill="currentColor" /><path fillRule="evenodd" clipRule="evenodd" d="M12 2C8.686 2 6 4.552 6 7.7c0 3.124 1.915 6.769 4.903 8.072a2.755 2.755 0 0 0 2.194 0C16.085 14.47 18 10.824 18 7.7 18 4.552 15.314 2 12 2Zm0 8a2 2 0 1 0 0-4 2 2 0 0 0 0 4Z" 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="M3 13.037c0-1.103 0-1.655.393-1.976.139-.114.308-.206.497-.269.532-.177 1.231-.002 2.629.346 1.067.267 1.6.4 2.14.386.198-.005.395-.025.588-.059.525-.093.993-.326 1.929-.793l1.382-.69c1.2-.599 1.799-.898 2.487-.967.688-.069 1.372.102 2.739.443l1.165.29c.99.247 1.485.371 1.768.665.283.294.283.685.283 1.466v6.084c0 1.103 0 1.655-.393 1.976-.139.114-.308.206-.497.269-.532.177-1.231.003-2.629-.346-1.067-.267-1.6-.4-2.14-.386a3.951 3.951 0 0 0-.588.059c-.525.093-.993.326-1.929.793l-1.382.69c-1.2.599-1.799.898-2.487.967-.688.069-1.372-.102-2.739-.443l-1.165-.29c-.99-.247-1.485-.371-1.768-.665C3 20.293 3 19.902 3 19.121v-6.084Z" fill="currentColor" /><path fillRule="evenodd" clipRule="evenodd" d="M12 2C8.686 2 6 4.552 6 7.7c0 3.124 1.915 6.769 4.903 8.072a2.755 2.755 0 0 0 2.194 0C16.085 14.47 18 10.824 18 7.7 18 4.552 15.314 2 12 2Zm0 8a2 2 0 1 0 0-4 2 2 0 0 0 0 4Z" fill="currentColor" /></svg> }; return <IconWrapper icon={styles[iconStyle || 'Linear']} {...restProps} /> }; export default PointOnMap