/*
 * 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 = ["M4.5 7.5a.75.75 0 0 1 .75-.75h.5v-.5a.75.75 0 0 1 1.5 0v.5h.5a.75.75 0 0 1 0 1.5h-.5v.5a.75.75 0 0 1-1.5 0v-.5h-.5a.75.75 0 0 1-.75-.75m11.25 0v4a1.25 1.25 0 0 1-1.25 1.25h-.629a2.251 2.251 0 0 1-4.242 0H6.62a2.25 2.25 0 0 1-4.242 0H1.5A1.25 1.25 0 0 1 .25 11.5v-7A1.25 1.25 0 0 1 1.5 3.25h9.75A.75.75 0 0 1 12 4v.25h1.661a1.24 1.24 0 0 1 1.16.786l.876 2.187a.8.8 0 0 1 .053.277M12 5.75v1h1.893l-.4-1zm-10.25 5.5h.629a2.25 2.25 0 0 1 4.242 0H9.63a2.27 2.27 0 0 1 .871-1.12V4.75H1.75zm3.5.75a.75.75 0 1 0-1.5 0 .75.75 0 0 0 1.5 0m7.25 0a.75.75 0 1 0-1.5 0 .75.75 0 0 0 1.5 0m1.75-.75v-3H12v1.514a2.26 2.26 0 0 1 1.871 1.486z"] as readonly string[];

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