/*
 * 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 { IconSize } from "../../iconTypes";
import { SVGIconContainer } from "../../svgIconContainer";
export const FolderNew = React.forwardRef((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 (React.createElement(SVGIconContainer, { iconName: "folder-new", ref: ref, ...props },
        React.createElement("path", { d: isLarge ? "M259.870064 260C259.870064 226.90861 286.765228 200 319.84008 200C352.914932 200 379.810094 226.90861 379.810094 260L400 260L400 60C400 49 391.004498 40 380.009996 40L20.189905 40C9.1954023 40 0.19990005 49 0.19990005 60L0.19990005 260L259.870064 260zM215.20245 280L0 280L0 340C0 351 8.99550224 360 19.990005 360L99.950025 360C105.5472264 360 110.5447276 357.8 114.1429286 354.2L148.325837 320L199.90005 320C199.90005 304.6452944 205.690696 290.6217688000001 215.20245 280zM379.810094 340C390.804598 340 399.8001 331 399.8001 320C399.8001 309 390.804598 300 379.810094 300L339.8300840000001 300L339.8300840000001 260C339.8300840000001 249 330.834582 240 319.84008 240C308.845578 240 299.850074 249 299.850074 260L299.850074 300L259.870064 300C248.875562 300 239.88006 309 239.88006 320C239.88006 331 248.875562 340 259.870064 340L299.850074 340L299.850074 380C299.850074 391 308.845578 400 319.84008 400C330.834582 400 339.8300840000001 391 339.8300840000001 380L339.8300840000001 340L379.810094 340z" : "M203.29828 180C211.545356 156.715923 233.772272 140 259.837602 140C285.90293 140 308.129846 156.715923 316.376922 180L320 180L320 40C320 29 311.005622 20 300.012492 20L20.1873828 20C9.1942536 20 0.199875078 29 0.199875078 40L0.199875078 180L203.29828 180zM175.2005516 200L0 200L0 260C0 271 8.99437852 280 19.9875078 280L59.9625234 280C65.5590256 280 70.5559026 277.8 74.153654 274.2L108.3322924 240L159.9000624 240C159.9000624 224.6452944 165.6899868 210.6217688 175.2005516 200zM299.812618 260C310.805746 260 319.800124 251 319.800124 240C319.800124 229 310.805746 220 299.812618 220L279.82511 220L279.82511 200C279.82511 189 270.83073 180 259.837602 180C248.844472 180 239.850094 189 239.850094 200L239.850094 220L219.862586 220C208.869456 220 199.875078 229 199.875078 240C199.875078 251 208.869456 260 219.862586 260L239.850094 260L239.850094 280C239.850094 291 248.844472 300 259.837602 300C270.83073 300 279.82511 291 279.82511 280L279.82511 260L299.812618 260z", fillRule: "evenodd", transform: `scale(0.05, -0.05) translate(${translation}, ${translation})`, style: style })));
});
FolderNew.defaultProps = {
    size: IconSize.STANDARD,
};
FolderNew.displayName = `Blueprint5.Icon.FolderNew`;
export default FolderNew;
//# sourceMappingURL=folder-new.js.map