/*
 * 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 InheritedGroup: React.FC<SVGIconProps> = React.forwardRef<any, SVGIconProps>((props, ref) => {
    const isLarge = props.size! >= IconSize.LARGE;
    const pixelGridSize = isLarge ? IconSize.LARGE : IconSize.STANDARD;
    const translation = `${-1 * pixelGridSize / 0.05 / 2}`;
    const style = { transformOrigin: "center" };
    return (
        <SVGIconContainer iconName="inherited-group" ref={ref}  {...props}>
            <path
                d={isLarge ? "M20 220C31 220 40 211 40 200L40 200L40 120C40 98 58 80 80 80L80 80L131.8 80L125.8 85.8C122.2 89.4 120 94.4 120 100C120 111 129 120 140 120C145.6 120 150.6 117.8 154.2 114.2000000000001L154.2 114.2000000000001L194.2 74.2000000000001C197.8 70.6 200 65.6 200 60C200 54.4 197.8 49.4 194.2 45.8L194.2 45.8L154.2 5.8C150.6 2.2 145.6 0 140 0C129 0 120 9 120 20C120 25.6 122.2 30.6 126 34.2L126 34.2L131.8 40L80 40C35.8 40 -1.85e-11 75.8 -1.85e-11 120L-1.85e-11 120L-1.85e-11 200C-1.85e-11 211 9 220 20 220zM159.9204376 400C175.713683 400 193.5060736 395 206.100688 385.4C218.495386 376.2 227.491538 362.8 231.889658 348.2C232.88923 344.8 233.688888 341.6 234.088718 338.2C236.287776 326.2 237.487264 307.8 237.487264 295.2L237.487264 293.4C241.885382 291.6 245.883672 287 246.883246 277C247.482988 269.2 244.484272 262.4 242.884956 259.6C241.485554 252.8 237.487264 245.4 230.69017 244C229.890512 240.8 228.89094 237.4 227.691454 234.4C227.491538 234.2 227.291624 233.4 227.291624 233.4C221.893932 219.2 213.697438 206.8 203.501798 197.8C203.501798 196.2 203.501798 194.6 203.701714 193.2C204.701286 182.2 200.702996 174.2 230.290342 161.2C259.677774 148 304.258706 134.2000000000001 313.854604 113.4C322.850756 92.4 319.252294 80 319.252294 80L214.72721 79.985364C212.990072 83.023832 210.849022 85.835248 208.342136 88.342136L168.3421356 128.3421360000001C160.901996 135.782276 150.7794564 140 140 140C117.954305 140 100 122.045694 100 100L80 100C69.045695 100 60 109.045694 60 120L60.0089672 149.239616C70.221246 153.492204 80.4546202 157.491302 89.3506188 161.4C118.9379648 174.4 115.9392474 182.4 116.9388198 193.2L117.1387344 197.4L117.1387344 197.4C106.7431804 206.4 98.1468568 219 92.7491652 233.4L92.5492508 233.6L92.3493362 234.2L92.3493362 234.2C90.9499348 237.2 89.9503622 240.6 89.1507042 244C82.3536112 245.2 78.3553212 252.6 76.7560052 259.6C75.1566892 262.4 71.9580572 269.2 72.7577152 277C73.7572878 287.2 77.9554922 291.8 82.5535258 293.6L82.5535258 295.2C82.5535258 308 83.5530982 326.2 85.9520722 338.2C86.3519012 341.6 87.1515592 345 88.1511318 348.2C92.5492508 363 101.7453178 376.2 113.9401024 385.4C126.3348014 395 144.127192 400 159.9204376 400zM279.869138 340C291.664094 340 305.058364 336.2 314.454346 329C323.650414 322 330.447506 312 333.846054 301C334.645712 298.4 335.245454 296 335.44537 293.4C337.044686 284.4 338.044258 270.6 338.044258 261.2L338.044258 259.8C341.24289 258.4 344.2416080000001 255 345.041266 247.4C345.441094 241.6 343.242034 236.4 342.042548 234.4C341.042976 229.2 338.044258 223.8 332.84648 222.6C332.246738 220.2 331.4470800000001 217.6 330.647422 215.4C330.447506 215.2 330.447506 214.6 330.447506 214.6C326.4492160000001 204 320.251868 194.6 312.655116 187.8C312.655116 186.6 312.655116 185.4 312.85503 184.4C313.654688 176.2 310.655972 170.2 332.84648 160.6C354.837076 150.6 388.222798 140.4 395.41972 124.8C402.216812 109 399.41801 99.8 399.41801 99.8L338.644002 99.8L338.644002 100C337.4445140000001 106.6 335.245454 113.8 332.046822 121.2C323.0506700000001 140.6 304.658536 151.6 267.274524 167.2C263.8759780000001 168.6 252.081022 173.4 251.881108 173.6C249.881962 174.4 247.882818 175.2 246.283502 176C247.283074 178.8 247.08316 181.8 247.482988 185L247.682904 188.2L247.682904 188.2C242.68504 192.4 238.286922 197.8 234.68846 204C239.08658 210.8 242.884956 218.2 245.883672 226.4L246.44 227.96L246.402202 227.7C246.370964 227.525 246.33348 227.3 246.283502 227L247.482988 230C254.67991 235.2 259.477858 243.4 261.876832 252.6C265.475294 260 267.674354 269 266.874696 278.6C265.875122 288.6 262.67649 297 257.478714 303C257.078884 313.6 256.279226 325.2 255.07974 334.8C262.67649 338.2 271.672644 340 279.869138 340z" : "M20 180C30.2142858 180 38.7040816 172.239796 39.864796 162.3239796L40 160L40 100C40 89.785714 47.760204 81.295918 57.6760204 80.135204L60 80L91.8 80L85.8 85.8C82.2 89.4 80 94.4 80 100C80 111 89 120 100 120C104.6666666 120 108.9166666 118.472222 112.287037 115.87963L114.2 114.2L154.2 74.2C157.8 70.6 160 65.6 160 60C160 55.333334 158.4722222 51.083334 155.8796296 47.712962L154.2 45.8L114.2 5.8C110.6 2.2 105.6 0 100 0C89 0 80 9 80 20C80 24.8 81.6163266 29.159184 84.471137 32.57376L86 34.2L91.8 40L60 40C27.9857142 40 1.92244898 64.919898 0.1016217202 96.468276L0 100L0 160C0 171 9 180 20 180zM127.7513428 320C140.3398506 320 154.526899 315.8 164.5177782 308C174.1090222 300.4 181.5022728 289.8 184.8991718 277.6C185.698442 275 186.2978948 272.2 186.69753 269.6C188.4958882 260 189.4949762 245.2 189.4949762 235L189.4949762 233.6C193.0916926 232 196.288774 228.2 196.8882268 220.2C197.4876796 213.8 195.0898686 208.4 193.6911454 206C192.49224 200.4 189.4949762 194.4 184.0999014 193.4C183.5004486 190.8 182.7011784 188.2 181.7020904 185.6C181.7020904 185.4 181.5022728 184.8 181.5022728 184.8C177.106286 173.2 170.5123058 163.2 162.5196024 155.8L162.5196024 152.2C163.3188726 143.2 160.1217914 136.8 183.7002662 126.2C207.278742 115.6 242.646454 104.4 249.839886 87.2C257.233138 70 254.235874 60 254.235874 60L180 60L180 60C180 70.779456 175.7822752 80.901996 168.3421356 88.342136L128.3421356 128.3421356C120.901996 135.7822752 110.7794564 140 100 140C97.022899 140 94.0771294 140.3002186 91.162691 140.9006558C93.1347932 144.6913718 92.8089732 148.283041 93.1829008 152.4C93.1829008 153.4 93.3827184 154.6 93.3827184 155.8C85.1901974 162.8 78.3963996 173 74.0004128 184.8L74.0004128 185C74.0004128 185 73.8005952 185.2 73.8005952 185.4C73.0013248 187.8 72.002237 190.6 71.4027842 193.2C65.8078918 194.2 62.6108104 200.4 61.411905 206C60.2129994 208.4 57.6153708 213.8 58.2148236 220.2C59.014094 228.4 62.4109928 232.2 66.0077094 233.8L66.0077094 235C66.0077094 245.2 67.0067974 260.2 68.8051556 269.8C69.2047908 272.4 69.8042434 275.2 70.6035138 277.8C74.0004128 289.8 81.3936634 300.4 90.9849074 308C100.9757866 315.8 115.162835 320 127.7513428 320zM220.266884 279.2C230.057946 279.2 241.24773 276 249.040616 270C256.633684 264.2 262.4283940000001 256 265.026022 246.6C265.625476 244.6 266.02511 242.4 266.4247460000001 240.4C267.823468 233 268.62274 221.6 268.62274 213.8L268.62274 212.8C271.420186 211.6 274.017814 208.6 274.4174500000001 202.6C274.817084 197.6 273.018726 193.6 271.81982 191.8C270.820732 187.6 268.62274 183 264.2267520000001 182.2C263.827118 180.2 263.227664 178.2 262.4283940000001 176.2C262.4283940000001 176 262.2285760000001 175.6 262.2285760000001 175.6C258.831678 166.8 253.63642 159 247.242258 153.4L247.242258 150.6C247.84171 143.6 245.4439 138.8 263.827118 130.6C282.410152 122.4 310.184796 113.8 315.77969 100.6C321.5744000000001 87.4 319.1765880000001 79.8 319.1765880000001 79.8L273.218544 79.8L273.218544 79.6C272.2194560000001 84.4 270.421098 89.6 268.223104 94.8C261.029672 112 245.843534 121.4 214.472174 134.8C211.674728 136 202.682936 139.8 202.48312 139.8C198.2869498 141.6 195.289686 142.8 192.49224 144.2C192.891875 146.2 192.891875 148.2 193.0916926 150.4C193.0916926 151.2 193.2915102 152 193.2915102 153C191.8927872 154.2 190.6938816 155.4 189.4949762 156.8C193.890963 163.2 197.4876796 170.2 200.285126 177.8C200.68476 179 200.68476 179 200.884578 179.8C206.679288 184.4 210.475822 191.2 212.673816 199C215.870898 205.6 217.669256 213.6 216.869986 222.2C216.270532 230.2 213.672904 237.4 209.476734 242.8C209.0771 253.4 208.078012 265.4 206.47947 273.6C206.279654 274.8 206.079836 276 205.880018 277.4C210.475822 278.6 215.471262 279.2 220.266884 279.2z"}
                fillRule="evenodd"
                transform={`scale(0.05, -0.05) translate(${translation}, ${translation})`}
                style={style}
            />
        </SVGIconContainer>
   );
});
InheritedGroup.defaultProps = {
    size: IconSize.STANDARD,
};
InheritedGroup.displayName = `Blueprint5.Icon.InheritedGroup`;
export default InheritedGroup;
