/*
 * 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 = ["M8 7a.75.75 0 0 1 0 1.5H6.5a.75.75 0 0 1 0-1.5zm1.75-2.5a.75.75 0 0 1 0 1.5H6.5a.75.75 0 0 1 0-1.5zm1.25-3a2 2 0 0 1 2 2v7h1a.75.75 0 0 1 .75.75v1.25a2 2 0 0 1-2 2h-7.5a2 2 0 0 1-2-2v-9a.5.5 0 0 0-1 0V4a.75.75 0 0 1-1.5 0v-.5a2 2 0 0 1 2-2zM4.685 3a2 2 0 0 1 .065.5v9a.5.5 0 0 0 1 0v-1.25a.75.75 0 0 1 .75-.75h5v-7A.5.5 0 0 0 11 3zm2.565 9.5a2 2 0 0 1-.065.5h5.565a.5.5 0 0 0 .5-.5V12h-6z"] as readonly string[];

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