/*
 * Copyright 2026 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 { SvgIconContainerNext } from "../../svgIconContainerNext";

const PATHS = ["M12.249 1.25c.69 0 1.25.559 1.251 1.25v11c0 .69-.56 1.25-1.25 1.25H5c-.683 0-1.302-.327-1.737-.763-.436-.435-.763-1.055-.763-1.737v-8.5A2.5 2.5 0 0 1 5 1.25zM5 11.25c-.203 0-.459.105-.677.323S4 12.047 4 12.25s.105.459.323.677.474.323.677.323h7v-2zm0-8.5a1 1 0 0 0-1 1v6.237a2.3 2.3 0 0 1 1-.237h7v-7z"] as readonly string[];

export const BookIcon: React.FC<SVGIconProps> = React.forwardRef<any, SVGIconProps>((props, ref) => {
    return (
        <SvgIconContainerNext iconName="book" ref={ref} {...props}>
            {PATHS.map((d, i) => (
                <path key={i} d={d} />
            ))}
        </SvgIconContainerNext>
    );
});
BookIcon.displayName = "Blueprint6.Icon.Next.BookIcon";
export default BookIcon;
