/*
 * 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 NewDrawing = 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: "new-drawing", ref: ref, ...props },
        React.createElement("path", { d: isLarge ? "M374 126C384 126 394 118 394 106C394 100.857142 392.530612 97.183674 389.5918360000001 93.720116L388 92L308 12C304 8 300 6 294 6C282 6 274 16 274 26C274 31.142858 275.469388 34.816326 278.408164 38.279884L280 40L360 120C364 124 368 126 374 126zM36 399.9999999999996L203.553904 340.3590886C201.25415 333.999921 200 327.1440432 200 320C200 286.90861 226.90861 260 260 260C260 226.90861 286.90861 200 320 200C326.101226 200 331.992272 200.914735 337.5432380000001 202.6143026L352 152L352.976 150.8C354 149.2 354 147.6 354 146C354 142.666666 352.6111120000001 137.944444 349.833334 134.148148L348 132L268 52C264 48 260 46 254 46C252.5 46 251 47.125 249.5 47.6875L248 48L108 88L105.7578126 88.84375C101.3046876 90.71875 97.1328126 93.71875 94.9296876 97.84375L94 100L5e-13 364L10 376L140 246C136 240 134 234 134 226C134 204 152 186 174 186C196 186 214 204 214 226C214 248 196 266 174 266C167.1428572 266 161.755102 264.5306122 156.5772594 261.5918368L154 260L24 390L36 399.9999999999996zM320 400C331 400 340 391 340 380L340 380L340 340L380 340C391 340 400 331 400 320C400 309 391 300 380 300L380 300L340 300L340 260C340 251.3571428 334.4438780000001 243.9489796 326.7270400000001 241.1709184L326.531714 241.1017516C325.49772 240.7416768 324.425804 240.4644652 323.324018 240.2781714C322.237842 240.094886 321.129464 240 320 240L320 240C309 240 300 249 300 260L300 300L260 300L260 300C249 300 240 309 240 320L240.135204 322.3239796000001C241.295918 332.239796 249.785714 340 260 340L260 340L300 340L300 380C300 391 309 400 320 400z" : "M298 100C310 100 318 90 318 80C318 74.857142 316.530612 71.183674 313.591836 67.720116L312 66L252 6C248 2 244 0 238 0C228 0 218 8 218 20C218 25.142858 219.469388 28.816326 222.408164 32.279884L224 34L284 94C288 98 292 100 298 100zM26 318L160.6746204 269.0098282C160.2303452 266.0704218 160 263.061674 160 260C160 232.965626 177.959485 210.0577954 202.577482 202.5774814C210.057796 177.959485 232.965626 160 260 160C263.61708 160 267.16029 160.3214974 270.6025620000001 160.937425L278 124L278 120C278 114.857142 276.530612 111.183674 273.591836 107.720116L272 106L212 46C208.571428 42.571428 205.142858 40.612244 200.45481 40.122448L198 40L194 40L94 60L92.005487 60.213992C87.377229 61.193416 83.0178326 65.399176 80.8093278 70.00823L80 72L9e-13 292L6 298L122 182C120 178 118 174 118 170C118 154 130 140 148 140C166 140 178 154 178 170C178 186 164 200 148 200C144.8 200 141.6 198.72 138.4 197.184L136 196L20 312L26 318zM260 319.9999999999997C271 319.9999999999997 280 311 280 300L280 300L280 280L300 280C311 280 320 271 320 260C320 249 311 240 300 240L300 240L280 240L280 220C280 209.940051 272.472536 201.5528718 262.7719640000001 200.1928194L262.7719640000001 200.1928194L262.527982 200.1601552C261.699628 200.0544842 260.855868 200 260 200L261.94 200.12L261.398576 200.048751C261.150742 200.0314208 260.901702 200.0186584 260.651538 200.0105484L260 200C249 200 240 209 240 220L240 220L240 240L220 240C218.363096 240 216.77048 240.1992984 215.245218 240.5748284C215.133862 240.6021722 215.011658 240.6334294 214.889902 240.665814C214.25691 240.8345072 213.645094 241.0302542 213.04662 241.253958C212.754276 241.3631826 212.46239 241.4802472 212.173942 241.6039172C211.81811 241.7564722 211.467298 241.9191832 211.122086 242.091595C210.701084 242.301973 210.29215 242.5245726 209.892036 242.7606956C209.64002 242.9092656 209.383998 243.0680862 209.131864 243.232429C208.780244 243.4617966 208.442016 243.6975704 208.111548 243.9432666C207.818012 244.161364 207.525858 244.3912286 207.24036 244.6288536C207.029426 244.8045202 206.826476 244.9804988 206.627134 245.1604102C206.241268 245.5084072 205.863772 245.8765464 205.501126 246.2588908C205.3312 246.4381832 205.169734 246.614705 205.011416 246.794063C204.729458 247.1134356 204.456314 247.4433096 204.193752 247.7817508C203.93144 248.1198898 203.680022 248.4660934 203.439644 248.8203202C203.25506 249.092405 203.078374 249.3669476 202.908318 249.6459228C202.66896 250.038371 202.440436 250.444006 202.225962 250.8579656C202.113278 251.0754444 202.004184 251.2958254 201.899084 251.5184228C201.703518 251.9326478 201.521946 252.3541164 201.354778 252.7826412C201.21176 253.149145 201.078654 253.5227456 200.956574 253.9011788C200.902164 254.0700216 200.851746 254.2337108 200.803398 254.3982632C200.284868 256.1492828 200 258.0429894 200 260C200 271 209 280 220 280L220 280L240 280L240 300C240 311 249 319.9999999999997 260 319.9999999999997z", fillRule: "evenodd", transform: `scale(0.05, -0.05) translate(${translation}, ${translation})`, style: style })));
});
NewDrawing.defaultProps = {
    size: IconSize.STANDARD,
};
NewDrawing.displayName = `Blueprint5.Icon.NewDrawing`;
export default NewDrawing;
//# sourceMappingURL=new-drawing.js.map