"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.CubeEdit = exports.CubeEditIcon = void 0;
const tslib_1 = require("tslib");
const jsx_runtime_1 = require("react/jsx-runtime");
/*
 * 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.
 */
const React = tslib_1.__importStar(require("react"));
const iconTypes_1 = require("../../iconTypes");
const svgIconContainer_1 = require("../../svgIconContainer");
/** Path data for the 16px grid; matches {@link generate-icon-paths.mjs} / `<Icon />` from core. */
const PATHS_16 = ["M8.74 9.203 6.8 7.263l5.022-5.021 1.94 1.94zM5 11.008l1.093-3.033 1.942 1.941zM13.657.4c.251-.243.597-.4.975-.4.763 0 1.376.62 1.368 1.367 0 .385-.15.723-.401.974l-1.132 1.132-1.942-1.94zM8.496.284 10.96 1.69 6.301 6.349l-4.495-2.81L7.504.284a1 1 0 0 1 .992 0M1.056 4.25l4.52 2.824-.193.193a1 1 0 0 0-.256.44L4.059 10.67a1 1 0 0 0 1.28 1.28l2.161-.777v4.542l-5.996-3.426A1 1 0 0 1 1 11.42V4.58a1 1 0 0 1 .056-.33M8.5 15.714v-4.912a1 1 0 0 0 .314-.258l5.655-5.655.05-.054.46-.46q.021.101.021.205v6.84a1 1 0 0 1-.504.868z"];
/** Path data for the 20px grid; matches {@link generate-icon-paths.mjs} / `<Icon />` from core. */
const PATHS_20 = ["M13.809 2.2 10.638.48a1.35 1.35 0 0 0-1.276 0L1.953 4.5l6.014 3.542zM7.237 8.773 1.136 5.18A1.2 1.2 0 0 0 1 5.726v8.35c0 .438.247.843.648 1.06l7.714 4.186q.068.037.138.065v-5.543l-3.168 1.101a1 1 0 0 1-1.274-1.27l1.345-3.893a1 1 0 0 1 .254-.43zm3.263 4.69v5.924q.07-.028.138-.065l7.714-4.186c.4-.217.648-.622.648-1.06v-8.35c0-.193-.048-.38-.136-.546l-.154.09-.58.58a1 1 0 0 1-.068.077l-7.415 7.415a1 1 0 0 1-.147.121M8.067 9.355l2.575 2.575 6.709-6.709-2.576-2.575zM6 14.002l3.935-1.367-2.573-2.574zM18.221-.004c-.49 0-.969.161-1.29.491l-1.45 1.454 2.57 2.574L19.5 3.06c.32-.33.499-.792.499-1.282 0-.98-.8-1.783-1.779-1.783"];
exports.CubeEditIcon = React.forwardRef((props, ref) => {
    const isLarge = (props.size ?? iconTypes_1.IconSize.STANDARD) >= iconTypes_1.IconSize.LARGE;
    const paths = isLarge ? PATHS_20 : PATHS_16;
    return ((0, jsx_runtime_1.jsx)(svgIconContainer_1.SVGIconContainer, { iconName: "cube-edit", ref: ref, ...props, children: paths.map((d, i) => ((0, jsx_runtime_1.jsx)("path", { d: d, fillRule: "evenodd" }, i))) }));
});
exports.CubeEditIcon.displayName = `Blueprint6.Icon.CubeEditIcon`;
/**
 * @deprecated Use {@link CubeEditIcon} instead.
 */
exports.CubeEdit = exports.CubeEditIcon;
exports.default = exports.CubeEditIcon;
//# sourceMappingURL=cube-edit.js.map