import { jsx as _jsx } from "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.
 */
import * as React from "react";
import { IconSize } from "../../iconTypes";
import { SVGIconContainer } from "../../svgIconContainer";
/** Path data for the 16px grid; matches {@link generate-icon-paths.mjs} / `<Icon />` from core. */
const PATHS_16 = ["M6.788.915A3.121 3.121 0 0 0 1.801 4.54H1a1 1 0 0 0-1 1v2a1 1 0 0 0 1 1h14a1 1 0 0 0 1-1v-2a1 1 0 0 0-1-1h-.8A3.122 3.122 0 0 0 9.211.915l-1 .999q-.11.11-.212.23a4 4 0 0 0-.213-.23zm5.424 3-.626.626H9.02a2.14 2.14 0 0 1 .606-1.213l.999-1a1.121 1.121 0 1 1 1.586 1.587m-5.233.626H4.414l-.626-.626a1.121 1.121 0 1 1 1.586-1.586l1 1c.329.329.54.755.605 1.212M6 9.54H1v5a1 1 0 0 0 1 1h4zm9 0h-5v6h4a1 1 0 0 0 1-1zm-8 0h2v6H7z"];
/** Path data for the 20px grid; matches {@link generate-icon-paths.mjs} / `<Icon />` from core. */
const PATHS_20 = ["M8.788.915A3.121 3.121 0 0 0 3.801 4.54H1a1 1 0 0 0-1 1v4a1 1 0 0 0 1 1h18a1 1 0 0 0 1-1v-4a1 1 0 0 0-1-1h-2.8A3.122 3.122 0 0 0 11.211.915l-1 .999a4 4 0 0 0-.212.23 4 4 0 0 0-.213-.23zm5.424 3-.626.626H11.02a2.14 2.14 0 0 1 .606-1.213l.999-.999a1.121 1.121 0 1 1 1.586 1.586m-5.233.626H6.414l-.626-.626a1.121 1.121 0 1 1 1.586-1.586l1 1c.329.329.54.755.605 1.212M7 11.54H1v7a1 1 0 0 0 1 1h5zm12 0h-6v8h5a1 1 0 0 0 1-1zm-11 0h4v8H8z"];
export const GiftBoxIcon = React.forwardRef((props, ref) => {
    const isLarge = (props.size ?? IconSize.STANDARD) >= IconSize.LARGE;
    const paths = isLarge ? PATHS_20 : PATHS_16;
    return (_jsx(SVGIconContainer, { iconName: "gift-box", ref: ref, ...props, children: paths.map((d, i) => (_jsx("path", { d: d, fillRule: "evenodd" }, i))) }));
});
GiftBoxIcon.displayName = `Blueprint6.Icon.GiftBoxIcon`;
/**
 * @deprecated Use {@link GiftBoxIcon} instead.
 */
export const GiftBox = GiftBoxIcon;
export default GiftBoxIcon;
//# sourceMappingURL=gift-box.js.map