/*
 * 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 = ["M13.827 7.504q.028.003.055.009l.016.003.04.011q.05.012.098.03.044.021.083.045.087.047.161.118l1.5 1.5a.75.75 0 0 1-1.06 1.06l-.22-.22v1.69a2.25 2.25 0 0 1-2.02 2.238l-.23.012h-1.69l.22.22a.75.75 0 0 1-1.06 1.06l-1.5-1.5a.75.75 0 0 1 0-1.06l1.5-1.5a.75.75 0 1 1 1.06 1.06l-.22.22h1.69a.75.75 0 0 0 .75-.75v-1.69l-.22.22a.75.75 0 0 1-1.06-1.06l1.5-1.5a.8.8 0 0 1 .16-.118q.04-.025.083-.044.048-.02.099-.03.019-.007.039-.012l.016-.003a1 1 0 0 1 .133-.013zM14 1.746a.75.75 0 0 1 .75.75v4.32a1.75 1.75 0 0 0-1.5-.245V6.5H6v6.246h1.078v.001l-.04.16q-.02.088-.03.184L7 13.249v.001c0 .21.04.392.088.538l-.004-.013h-.001l.004.012c.005.016.018.055.036.103l.01.026-.001.001v.001l.006.013q.017.041.038.08l.064.122q.023.042.05.08l.023.033H3a1.75 1.75 0 0 1-1.75-1.75v-10a.75.75 0 0 1 .75-.75zM7.115 13.874l.01.024-.002-.008-.015-.038zM2.75 12.496c0 .138.112.25.25.25h1.5V6.5H2.75zM2.75 5H4.5V3.246H2.75zM6 5h7.25V3.246H6z"] as readonly string[];

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