import * as React from 'react'; import { IconProps } from '../../types'; import { IconWrapper } from '../IconWrapper'; const Pin = (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="m15.99 4.95.53-.53-.53.53ZM8.737 19.43l-.53.53.53-.53Zm-4.116-4.12.53-.53-.53.53Zm12.945-.315-.264-.702.264.702Zm-1.917.72.264.703-.264-.702ZM8.332 8.383l-.704-.258.704.258Zm.695-1.896.704.258-.704-.258Zm-3.182 4.188.2.723-.2-.723Zm1.457-.539-.438-.609.438.61Zm.374-.345.57.487-.57-.487Zm6.575 6.59.491.568-.49-.567Zm-.87 1.821-.723-.199.723.2Zm.536-1.454-.61-.438.61.438ZM2.719 12.755l-.75.005.75-.005Zm.212-.803-.65-.374.65.374Zm8.374 9.391.001-.75v.75Zm.788-.208-.371-.652.371.652Zm9.872-8.83.733.158-.733-.158ZM11.697 2.036l.162.732-.162-.732Zm10.658 8.594a.75.75 0 1 0-1.305.74l1.305-.74Zm-4.349-2.6a.75.75 0 0 0 1.061-1.06l-1.061 1.06ZM9.269 18.9l-4.117-4.12-1.06 1.06 4.116 4.12 1.061-1.06Zm8.034-4.607-1.917.72.528 1.405 1.917-.72-.528-1.405ZM9.036 8.64l.695-1.896-1.408-.516-.695 1.896 1.408.516Zm-2.992 2.756c.712-.196 1.253-.334 1.696-.652l-.876-1.218c-.173.125-.398.198-1.218.424l.398 1.447Zm1.584-3.272c-.293.8-.385 1.018-.523 1.18l1.142.973c.353-.415.535-.944.79-1.637l-1.409-.516Zm.112 2.62c.187-.135.357-.292.507-.467l-1.142-.973a1.366 1.366 0 0 1-.241.222l.876 1.218Zm7.646 4.268c-.689.26-1.214.445-1.626.801l.982 1.135c.16-.14.377-.233 1.172-.531l-.528-1.405ZM14.104 18.4c.225-.819.298-1.043.422-1.216l-1.218-.875c-.318.443-.455.983-.65 1.693l1.446.398Zm-.344-2.586c-.17.146-.322.313-.452.495l1.218.875c.063-.087.135-.167.216-.236l-.982-1.135Zm-8.608-1.036c-.646-.647-1.084-1.087-1.368-1.444-.286-.359-.315-.514-.315-.583l-1.5.009c.003.582.292 1.07.641 1.508.35.44.861.95 1.481 1.57l1.061-1.06Zm.494-4.828c-.845.234-1.542.424-2.063.634-.52.208-1.012.49-1.302.994l1.3.748c.034-.06.136-.18.56-.35.424-.17 1.022-.337 1.903-.58L5.646 9.95Zm-2.177 2.8a.84.84 0 0 1 .111-.424l-1.3-.748a2.34 2.34 0 0 0-.311 1.182l1.5-.01Zm4.739 7.21c.624.624 1.137 1.139 1.579 1.49.44.352.931.642 1.517.643l.002-1.5c-.069 0-.224-.029-.585-.316-.36-.286-.802-.727-1.452-1.378l-1.061 1.06Zm4.45-1.958c-.245.888-.412 1.49-.583 1.917-.172.428-.293.53-.353.564l.743 1.303c.51-.29.792-.786 1.002-1.309.21-.524.402-1.225.637-2.077l-1.446-.398Zm-1.354 4.091c.407 0 .807-.105 1.161-.307l-.743-1.303a.835.835 0 0 1-.416.11l-.002 1.5Zm6.527-6.397c1.361-.511 2.463-.923 3.246-1.358.795-.44 1.431-.996 1.621-1.875l-1.466-.317c-.054.25-.232.52-.883.88-.663.369-1.638.737-3.046 1.266l.528 1.404ZM16.52 4.42c-1.036-1.037-1.872-1.876-2.595-2.414-.734-.544-1.508-.897-2.39-.702l.324 1.464c.25-.055.569-.005 1.171.443.613.455 1.358 1.197 2.429 2.27l1.061-1.06ZM9.731 6.744c.522-1.423.885-2.41 1.25-3.08.36-.66.628-.84.878-.896l-.323-1.464c-.882.194-1.435.84-1.872 1.642-.431.792-.837 1.906-1.341 3.282l1.408.516Zm11.32 4.626c.2.355.224.58.181.776l1.466.317c.142-.657-.018-1.26-.343-1.833l-1.305.74Zm-5.592-5.89 2.547 2.55 1.061-1.06-2.547-2.55-1.061 1.06Z" fill="currentColor" /><path d="M1.47 21.47a.75.75 0 0 0 1.06 1.06l-1.06-1.06Zm5.714-3.598a.75.75 0 0 0-1.061-1.06l1.06 1.06ZM2.53 22.53l4.653-4.658-1.061-1.06-4.654 4.658 1.062 1.06Z" fill="currentColor" /></svg>, LineDuotone: <svg width="inherit" height="inherit" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" {...props}><path d="m15.99 4.95.53-.53-.53.53Zm3.082 3.086-.53.53.53-.53ZM8.738 19.429l-.53.53.53-.53Zm-4.116-4.12.53-.53-.53.53Zm12.945-.315-.264-.702.264.702Zm-1.917.72.264.703-.264-.702ZM8.332 8.383l-.704-.258.704.258Zm.695-1.896.704.258-.704-.258Zm-3.182 4.188.2.723-.2-.723Zm1.457-.539-.438-.609.438.61Zm.374-.345.57.487-.57-.487Zm6.575 6.59.491.568-.49-.567Zm-.87 1.821-.723-.199.723.2Zm.536-1.454-.61-.438.61.438ZM2.719 12.755l-.75.005.75-.005Zm.212-.803-.65-.374.65.374Zm8.374 9.391.001-.75v.75Zm.788-.208-.371-.652.371.652Zm-.396-19.099.162.732-.162-.732ZM15.46 5.48l3.082 3.086 1.061-1.06L16.52 4.42l-1.061 1.06ZM9.269 18.9l-4.117-4.12-1.06 1.06 4.116 4.12 1.061-1.06Zm8.034-4.607-1.917.72.528 1.405 1.917-.72-.528-1.405ZM9.036 8.64l.695-1.896-1.408-.516-.695 1.896 1.408.516Zm-2.992 2.756c.712-.196 1.253-.334 1.696-.652l-.876-1.218c-.173.125-.398.198-1.218.424l.398 1.447Zm1.584-3.272c-.293.8-.385 1.018-.523 1.18l1.142.973c.353-.415.535-.944.79-1.637l-1.409-.516Zm.112 2.62c.187-.135.357-.292.507-.467l-1.142-.973a1.366 1.366 0 0 1-.241.222l.876 1.218Zm7.646 4.268c-.689.26-1.214.445-1.626.801l.982 1.135c.16-.14.377-.233 1.172-.531l-.528-1.405ZM14.104 18.4c.225-.819.298-1.043.422-1.216l-1.218-.875c-.318.443-.455.983-.65 1.693l1.446.398Zm-.344-2.586c-.17.146-.322.313-.452.495l1.218.875c.063-.087.135-.167.216-.236l-.982-1.135Zm-8.608-1.036c-.646-.647-1.084-1.087-1.368-1.444-.286-.359-.315-.514-.315-.583l-1.5.009c.003.582.292 1.07.641 1.508.35.44.861.95 1.481 1.57l1.061-1.06Zm.494-4.828c-.845.234-1.542.424-2.063.634-.52.208-1.012.49-1.302.994l1.3.748c.034-.06.136-.18.56-.35.424-.17 1.022-.337 1.903-.58L5.646 9.95Zm-2.177 2.8a.84.84 0 0 1 .111-.424l-1.3-.748a2.34 2.34 0 0 0-.311 1.182l1.5-.01Zm4.739 7.21c.624.624 1.137 1.139 1.579 1.49.44.352.931.642 1.517.643l.002-1.5c-.069 0-.224-.029-.585-.316-.36-.286-.802-.727-1.452-1.378l-1.061 1.06Zm4.45-1.958c-.245.888-.412 1.49-.583 1.917-.172.428-.293.53-.353.564l.743 1.303c.51-.29.792-.786 1.002-1.309.21-.524.402-1.225.637-2.077l-1.446-.398Zm-1.354 4.091c.407 0 .807-.105 1.161-.307l-.743-1.303a.835.835 0 0 1-.416.11l-.002 1.5Zm7.237-13.527c1.064 1.064 1.8 1.803 2.25 2.413.444.598.495.917.441 1.167l1.466.317c.19-.878-.16-1.647-.701-2.377-.533-.72-1.366-1.551-2.395-2.58l-1.06 1.06Zm-.71 7.13c1.361-.511 2.463-.923 3.246-1.358.795-.44 1.431-.996 1.621-1.875l-1.466-.317c-.054.25-.232.52-.883.88-.663.369-1.638.737-3.046 1.266l.528 1.404ZM16.52 4.42c-1.036-1.037-1.872-1.876-2.595-2.414-.734-.544-1.508-.897-2.39-.702l.324 1.464c.25-.055.569-.005 1.171.443.613.455 1.358 1.197 2.429 2.27l1.061-1.06ZM9.731 6.744c.522-1.423.885-2.41 1.25-3.08.36-.66.628-.84.878-.896l-.323-1.464c-.882.194-1.435.84-1.872 1.642-.431.792-.837 1.906-1.341 3.282l1.408.516Z" fill="currentColor" /><path opacity={0.5} d="M1.47 21.47a.75.75 0 0 0 1.06 1.06l-1.06-1.06Zm5.714-3.598a.75.75 0 0 0-1.061-1.06l1.06 1.06ZM2.53 22.53l4.653-4.658-1.061-1.06-4.654 4.658 1.062 1.06Z" 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="m15.99 4.95.53-.53-.53.53Zm3.082 3.086-.531.53.53-.53ZM8.738 19.429l-.53.53.53-.53Zm-4.116-4.12.53-.53-.53.53Zm12.945-.315-.264-.702.264.702Zm-1.917.72.264.703-.264-.702ZM8.332 8.383l-.704-.258.704.258Zm.695-1.896.704.258-.704-.258Zm-3.182 4.188.2.723-.2-.723Zm1.457-.539-.439-.609.439.61Zm.374-.345.57.487-.57-.487Zm6.575 6.59.491.568-.491-.567Zm-.87 1.821-.724-.199.724.2Zm.536-1.454-.61-.438.61.438ZM2.718 12.755l-.75.005.75-.005Zm.212-.803-.65-.374.65.374Zm8.375 9.391.001-.75v.75Zm.788-.208-.371-.652.371.652Zm-.396-19.099.162.732-.162-.732ZM1.47 21.47a.75.75 0 0 0 1.062 1.06l-1.062-1.06Zm5.715-3.598a.75.75 0 0 0-1.061-1.06l1.06 1.06ZM15.459 5.48l3.082 3.086 1.061-1.06L16.52 4.42l-1.061 1.06ZM9.269 18.9l-4.117-4.12-1.06 1.06 4.116 4.12 1.061-1.06Zm8.034-4.607-1.917.72.528 1.405 1.917-.72-.528-1.405ZM9.036 8.64l.695-1.896-1.409-.516-.694 1.896 1.408.516Zm-2.992 2.756c.712-.196 1.253-.334 1.696-.652l-.877-1.218c-.172.125-.397.198-1.217.424l.398 1.447Zm1.584-3.272c-.293.8-.385 1.018-.523 1.18l1.142.973c.353-.415.535-.944.79-1.637l-1.409-.516Zm.112 2.62c.187-.135.357-.292.507-.467l-1.142-.973a1.365 1.365 0 0 1-.242.222l.877 1.218Zm7.646 4.268c-.689.26-1.214.445-1.626.801l.982 1.135c.16-.14.377-.233 1.172-.531l-.528-1.405ZM14.104 18.4c.225-.819.298-1.043.422-1.216l-1.219-.875c-.317.443-.454.983-.65 1.693l1.447.398Zm-.344-2.586c-.17.146-.322.313-.453.495l1.22.875c.062-.087.134-.167.215-.236l-.982-1.135Zm-8.608-1.036c-.646-.647-1.084-1.087-1.368-1.444-.286-.359-.315-.514-.316-.583l-1.5.009c.004.582.293 1.07.642 1.508.35.44.861.95 1.481 1.57l1.061-1.06Zm.494-4.828c-.846.234-1.542.424-2.063.634-.52.208-1.012.49-1.302.994l1.3.748c.034-.06.136-.18.56-.35.424-.17 1.022-.337 1.903-.58L5.646 9.95Zm-2.178 2.8a.84.84 0 0 1 .112-.424l-1.3-.748a2.34 2.34 0 0 0-.312 1.182l1.5-.01Zm4.74 7.21c.624.624 1.137 1.139 1.578 1.49.441.352.932.642 1.518.643l.002-1.5c-.07 0-.225-.029-.585-.316-.36-.286-.802-.727-1.452-1.378l-1.061 1.06Zm4.45-1.958c-.245.888-.412 1.49-.583 1.917-.172.428-.293.53-.353.564l.743 1.303c.509-.29.792-.786 1.002-1.309.21-.524.402-1.225.637-2.077l-1.447-.398Zm-1.354 4.091c.407 0 .807-.105 1.161-.307l-.743-1.303a.835.835 0 0 1-.416.11l-.002 1.5Zm7.237-13.527c1.064 1.064 1.8 1.803 2.25 2.413.444.598.495.917.441 1.167l1.466.317c.19-.878-.16-1.647-.701-2.377-.534-.72-1.366-1.551-2.395-2.58l-1.061 1.06Zm-.71 7.13c1.361-.511 2.463-.923 3.246-1.358.795-.44 1.431-.996 1.621-1.875l-1.466-.317c-.054.25-.232.52-.883.88-.663.369-1.638.737-3.046 1.266l.528 1.404ZM16.52 4.42c-1.036-1.037-1.872-1.876-2.595-2.414-.734-.544-1.508-.897-2.39-.702l.324 1.464c.25-.055.569-.005 1.171.443.613.455 1.358 1.197 2.429 2.27l1.061-1.06ZM9.73 6.744c.522-1.423.886-2.41 1.251-3.08.36-.66.628-.84.878-.896l-.323-1.464c-.882.194-1.435.84-1.872 1.642-.431.792-.837 1.906-1.342 3.282l1.409.516ZM2.53 22.53l4.654-4.658-1.061-1.06-4.654 4.658 1.062 1.06Z" 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="m16.475 4.375 3.172 3.176c1.008 1.008 1.824 1.825 2.35 2.535.541.73.891 1.5.701 2.377-.19.879-.826 1.434-1.62 1.875-.773.429-1.854.835-3.187 1.336l-1.977.743c-.795.298-1.011.391-1.172.53-.08.07-.153.15-.216.237-.124.173-.197.397-.422 1.216l-.013.045c-.228.831-.417 1.517-.624 2.032-.21.523-.493 1.018-1.002 1.309a2.335 2.335 0 0 1-1.16.307c-.587 0-1.078-.292-1.519-.642-.434-.346-.936-.85-1.545-1.46l-1.588-1.588-4.122 4.127a.75.75 0 0 1-1.062-1.06l4.124-4.128-1.535-1.537C3.453 15.2 2.954 14.7 2.61 14.268c-.349-.438-.638-.926-.642-1.508a2.34 2.34 0 0 1 .313-1.182c.29-.505.782-.786 1.302-.995.512-.205 1.193-.393 2.018-.62l.045-.013c.82-.226 1.045-.3 1.217-.424.09-.064.17-.139.242-.222.138-.163.23-.38.523-1.18l.716-1.956c.495-1.349.895-2.442 1.32-3.222.437-.803.99-1.448 1.872-1.642.882-.195 1.655.158 2.389.702.712.53 1.535 1.353 2.55 2.369ZM13.03 3.21c-.602-.448-.921-.498-1.171-.443-.25.055-.519.235-.878.895-.365.67-.729 1.658-1.25 3.081L9.036 8.64l-.04.108c-.233.64-.414 1.136-.75 1.529-.149.175-.319.332-.506.467-.42.302-.927.441-1.585.622l-.11.03c-.882.243-1.48.41-1.903.58-.425.17-.527.29-.562.35a.84.84 0 0 0-.112.424c0 .07.03.225.316.584.284.357.722.797 1.368 1.444l4.117 4.12c.65.652 1.093 1.093 1.452 1.38.36.286.516.315.585.315a.834.834 0 0 0 .416-.11c.06-.034.181-.136.353-.564.171-.427.338-1.03.582-1.917l.03-.11c.18-.657.32-1.164.62-1.583.131-.182.283-.349.453-.496.39-.337.882-.522 1.519-.76l.107-.04 1.917-.72c1.408-.53 2.383-.898 3.046-1.266.651-.361.829-.63.883-.88.054-.251.003-.57-.44-1.168-.452-.61-1.188-1.349-2.251-2.413L15.459 5.48c-1.071-1.072-1.816-1.814-2.429-2.27Z" 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="M19.183 7.805 16.22 4.838c-2.027-2.03-3.04-3.043-4.129-2.803-1.088.24-1.581 1.587-2.568 4.28l-.668 1.823c-.263.718-.395 1.077-.632 1.355a2.035 2.035 0 0 1-.36.332c-.296.213-.664.314-1.4.517-1.66.458-2.491.687-2.804 1.23a1.528 1.528 0 0 0-.204.773c.004.627.613 1.236 1.83 2.455L6.7 16.216l-4.476 4.48a.764.764 0 0 0 1.08 1.08l4.475-4.48 1.466 1.468c1.226 1.226 1.839 1.84 2.47 1.84.265 0 .526-.068.757-.2.548-.313.778-1.149 1.239-2.822.202-.735.303-1.102.515-1.399.093-.129.201-.247.322-.352.275-.238.632-.372 1.345-.64l1.844-.693c2.664-1 3.996-1.501 4.23-2.586.235-1.086-.77-2.093-2.783-4.107Z" 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} fillRule="evenodd" clipRule="evenodd" d="m16.219 4.838 2.964 2.967c2.012 2.014 3.018 3.021 2.784 4.107-.235 1.085-1.567 1.585-4.23 2.586l-1.845.693c-.713.268-1.07.402-1.345.64-.12.105-.229.223-.322.352-.212.297-.313.664-.515 1.4-.46 1.672-.69 2.508-1.239 2.821-.23.132-.492.2-.758.2-.63 0-1.243-.614-2.469-1.84l-1.466-1.468-1.079-1.08L5.285 14.8c-1.218-1.219-1.827-1.829-1.83-2.455a1.528 1.528 0 0 1 .203-.773c.313-.543 1.143-.772 2.803-1.23.737-.203 1.105-.304 1.402-.517.132-.096.253-.207.36-.332.236-.278.368-.637.63-1.355l.669-1.823c.987-2.693 1.48-4.04 2.568-4.28 1.089-.24 2.102.774 4.129 2.803Z" fill="currentColor" /><path d="m3.302 21.776 4.476-4.48-1.079-1.08-4.476 4.48a.764.764 0 0 0 1.08 1.08Z" fill="currentColor" /></svg> }; return <IconWrapper icon={styles[iconStyle || 'Linear']} {...restProps} /> }; export default Pin