/*
 * Copyright 2024 Palantir Technologies, Inc. All rights reserved.
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

import * as React from "react";
import type { SVGIconProps } from "../../svgIconProps";
import { IconSize } from "../../iconTypes";
import { SVGIconContainer } from "../../svgIconContainer";

export const People: React.FC<SVGIconProps> = React.forwardRef<any, SVGIconProps>((props, ref) => {
    const isLarge = (props.size ?? IconSize.STANDARD) >= IconSize.LARGE;
    const pixelGridSize = isLarge ? IconSize.LARGE : IconSize.STANDARD;
    const translation = `${-1 * pixelGridSize / 0.05 / 2}`;
    const style = { transformOrigin: "center" };
    return (
        <SVGIconContainer iconName="people" ref={ref} {...props}>
            <path
                d={isLarge ? "M338.8 60A100 100 0 0 1 332.2000000000001 81.2C323.2000000000001 100.6 304.8000000000001 111.6 267.4000000000001 127.2C264.0000000000001 128.6 252.2000000000001 133.4 252.0000000000001 133.6C250.0000000000001 134.4 248.0000000000001 135.2 246.4000000000001 136C247.4000000000001 138.8 247.2000000000001 141.8 247.6000000000001 145C247.6000000000001 146 247.8000000000001 147.2 247.8000000000001 148.2C242.8000000000001 152.4 238.4000000000001 157.8 234.8000000000001 164C239.2000000000001 170.8 243.0000000000001 178.2 246.0000000000001 186.4L246.8000000000001 188.6C246.6000000000001 188.2 246.6000000000001 188.2 246.4000000000001 187L247.6000000000001 190C254.8000000000001 195.2 259.6000000000001 203.4 262.0000000000001 212.6C265.6000000000001 220 267.8000000000001 229 267.0000000000001 238.6C266.0000000000001 248.6 262.8000000000001 257 257.6000000000001 263C257.2000000000001 273.6 256.4000000000001 285.2 255.2000000000001 294.8C262.8000000000002 298.2 271.8000000000002 300 280.0000000000001 300C291.8000000000002 300 305.2000000000001 296.2 314.6000000000002 289C323.8000000000001 282 330.6000000000001 272 334.0000000000001 261C334.8000000000002 258.4 335.4000000000002 256 335.6000000000001 253.4C337.2000000000001 244.4 338.2000000000001 230.6 338.2000000000001 221.2V219.8C341.4000000000001 218.4 344.4000000000001 215 345.2000000000001 207.4C345.6000000000001 201.6 343.4000000000001 196.4 342.2000000000002 194.4C341.2000000000001 189.2 338.2000000000002 183.8 333.0000000000001 182.6C332.4000000000001 180.2 331.6000000000002 177.6 330.8000000000002 175.4C330.6000000000001 175.2 330.6000000000001 174.6 330.6000000000001 174.6C326.6000000000002 164 320.4000000000001 154.6 312.8000000000001 147.8C312.8000000000001 146.6 312.8000000000001 145.4 313.0000000000001 144.4C313.8000000000001 136.2 310.8000000000001 130.2000000000001 333.0000000000001 120.6C355.0000000000001 110.6 388.4000000000001 100.4 395.6000000000001 84.8000000000001C402.4000000000001 69.0000000000001 399.6000000000001 59.8000000000001 399.6000000000001 59.8000000000001H338.8000000000001zM230.4000000000001 121.2C259.8000000000001 108 304.4000000000001 94.2000000000001 314 73.4C323.0000000000001 52.4 319.4000000000001 40 319.4000000000001 40H0.8S-3 52.4 6.2 73.4S59.8 108.4 89.4 121.4S116 142.4 117 153.2000000000001C117 154.6000000000001 117.2 156.0000000000001 117.2 157.4000000000001C106.8 166.4 98.2 179.0000000000001 92.8 193.4000000000001L92.6 193.6000000000001C92.6 193.8000000000001 92.4 194.0000000000001 92.4 194.2000000000001C91 197.2000000000001 90 200.6000000000001 89.2 204.0000000000001C82.4 205.2000000000001 78.4 212.6000000000001 76.8 219.6000000000001C75.2 222.4000000000001 72 229.2000000000001 72.8 237.0000000000001C73.8 247.2 78 251.8000000000001 82.6 253.6V255.2000000000001C82.6 268 83.6 286.2000000000001 86 298.2000000000001A73 73 0 0 0 114 345.4000000000001C126.4 355 144.2 360 160 360S193.6 355 206.2 345.4A72.6 72.6 0 0 0 234.2 298.2C236.4 286.2000000000001 237.6 267.8 237.6 255.2V253.4C242.0000000000001 251.6 246 247 247.0000000000001 237C247.6 229.2 244.6000000000001 222.4 243.0000000000001 219.6C241.6 212.8 237.6000000000001 205.4 230.8000000000001 204C230.0000000000001 200.8 229.0000000000001 197.4 227.8000000000001 194.4C227.6000000000001 194.2 227.4000000000001 193.4 227.4000000000001 193.4C222.0000000000001 179.2 213.8000000000001 166.8 203.6000000000001 157.8C203.6000000000001 156.2 203.6000000000001 154.6 203.8000000000001 153.2C204.8000000000001 142.2 200.8000000000001 134.2000000000001 230.4000000000001 121.2" : "M273.8 40.4C272.8 45.2 271 50.4 268.8 55.6C261.6 72.8 246.4 82.2 215 95.6C212.2 96.8 203.2 100.6 203 100.6C198.8 102.4 195.8 103.6 193 105C193.4 107 193.4 109 193.6 111.2C193.6 112 193.8 112.8 193.8 113.8C192.4 115 191.2 116.2 190 117.6Q196.6 127.2 200.8 138.6C201.2 139.8000000000001 201.2 139.8000000000001 201.4 140.6C207.2 145.2000000000001 211 152 213.2 159.8000000000001C216.4 166.4 218.2 174.4 217.4 183.0000000000001C216.8 191.0000000000001 214.2 198.2000000000001 210 203.6000000000001C209.6 214.2000000000001 208.6 226.2000000000001 207 234.4000000000001C206.8 235.6 206.6 236.8000000000001 206.4 238.2000000000001C211 239.4000000000001 216 240.0000000000001 220.8 240.0000000000001C230.6 240.0000000000001 241.8000000000001 236.8000000000001 249.6 230.8000000000001C257.2000000000001 225.0000000000001 263 216.8000000000001 265.6 207.4000000000001C266.2 205.4000000000001 266.6 203.2000000000001 267 201.2000000000001C268.4000000000001 193.8000000000001 269.2000000000001 182.4000000000001 269.2000000000001 174.6000000000001V173.6000000000001C272 172.4000000000001 274.6 169.4000000000001 275 163.4000000000001C275.4 158.4000000000001 273.6 154.4000000000001 272.4 152.6000000000001C271.4 148.4 269.2 143.8000000000001 264.8 143.0000000000001Q264.2 140 263 137C263 136.8000000000001 262.8 136.4 262.8 136.4C259.4 127.6000000000001 254.2 119.8000000000001 247.8 114.2000000000001V111.4C248.4 104.4 246 99.6000000000001 264.4 91.4C283 83.2000000000001 310.8 74.6000000000001 316.4 61.4C322.2 48.2 319.8 40.6 319.8 40.6H273.8zM250.4 48C257.8 30.8 254.8 20.8 254.8 20.8H1.2S-1.6 30.8 5.6 48S48.2 76.6 71.8 87.2C95.2 98 92.8 104.4 93.6 113.2C93.6 114.2 93.8 115.4 93.8 116.6C85.6 123.6 78.8 133.8 74.4 145.6V145.8S74.2 146 74.2 146.2C73.4 148.6 72.4 151.4 71.8 154C66.2 155 63 161.2 61.8 166.8C60.6 169.2 58 174.6 58.6 181C59.4 189.2 62.8 193 66.4 194.6V195.8C66.4 206 67.4 221 69.2 230.6C69.6 233.2 70.2 236 71 238.6C74.4 250.6 81.8 261.2 91.4 268.8C101.4 276.6 115.6 280.8 128.2 280.8S155 276.6 165 268.8C174.6 261.2 182 250.6 185.4 238.4C186.2 235.8 186.8 233 187.2 230.4C189 220.8 190 206 190 195.8V194.4C193.6 192.8 196.8 189 197.4 181C198 174.5999999999999 195.6 169.1999999999999 194.2 166.8C193 161.1999999999999 190 155.2 184.6 154.1999999999999Q183.7 150.3 182.2 146.3999999999999C182.2 146.1999999999999 182 145.6 182 145.6C177.6 134 171 124 163 116.6V113C163.8 104 160.6 97.6 184.2 86.9999999999999S243.2 65.2 250.4000000000001 48"}
                fillRule="evenodd"
                transform={`scale(0.05, -0.05) translate(${translation}, ${translation})`}
                style={style}
            />
        </SVGIconContainer>
   );
});
People.displayName = `Blueprint6.Icon.People`;
export default People;
