// © 2022 SolarWinds Worldwide, LLC. All rights reserved.
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
//  of this software and associated documentation files (the "Software"), to
//  deal in the Software without restriction, including without limitation the
//  rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
//  sell copies of the Software, and to permit persons to whom the Software is
//  furnished to do so, subject to the following conditions:
//
// The above copyright notice and this permission notice shall be included in
//  all copies or substantial portions of the Software.
//
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
//  IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
//  FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
//  AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
//  LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
//  OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
//  THE SOFTWARE.
import { Component, ViewEncapsulation } from "@angular/core";
import * as i0 from "@angular/core";
/**
 * Internal component that wraps the overlay's content to render an arrow
 */
/** @ignore */
export class OverlayArrowComponent {
}
OverlayArrowComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: OverlayArrowComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
OverlayArrowComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.1.5", type: OverlayArrowComponent, selector: "nui-overlay-arrow", ngImport: i0, template: `<div class="nui-overlay-arrow"></div>`, isInline: true, styles: [".nui-overlay-arrow{display:none;width:12.72px;height:12.72px;background-color:transparent;border:6px solid;position:absolute;border-color:var(--nui-color-bg-content_popover,#fff);transform:rotate(45deg)}.overlay-center-top .nui-overlay-arrow{display:block;left:49%;bottom:6px;border-left-color:transparent;border-top-color:transparent;box-shadow:3px 3px 3px #0000000d}.overlay-top-left .nui-overlay-arrow,.overlay-top-right .nui-overlay-arrow{display:block;bottom:6px;border-bottom-color:var(--nui-color-bg-content_popover,#fff);border-top-color:transparent;box-shadow:3px 3px 3px #0000000d}.overlay-top-left .nui-overlay-arrow{right:19.08px;border-left-color:transparent}.overlay-top-right .nui-overlay-arrow{left:19.08px;border-left-color:transparent}.overlay-center-bottom .nui-overlay-arrow{display:block;left:49%;top:6px;border-right-color:transparent;border-bottom-color:transparent;box-shadow:-3px -3px 3px #0000000d}.overlay-bottom-left .nui-overlay-arrow,.overlay-bottom-right .nui-overlay-arrow{display:block;top:6px;border-bottom-color:transparent;border-top-color:var(--nui-color-bg-content_popover,#fff);box-shadow:-3px -3px 3px #0000000d}.overlay-bottom-left .nui-overlay-arrow{right:19.08px;border-right-color:transparent}.overlay-bottom-right .nui-overlay-arrow{left:19.08px;border-right-color:transparent}.overlay-left-bottom .nui-overlay-arrow,.overlay-left-top .nui-overlay-arrow,.overlay-center-left .nui-overlay-arrow{display:block;right:6px;top:50%;transform:translateY(-50%) rotate(45deg);border-left-color:transparent;border-bottom-color:transparent;box-shadow:3px -3px 3px #0000000d}.overlay-left-top .nui-overlay-arrow{top:unset;bottom:12.72px}.overlay-left-bottom .nui-overlay-arrow{top:19.08px}.overlay-right-bottom .nui-overlay-arrow,.overlay-right-top .nui-overlay-arrow,.overlay-center-right .nui-overlay-arrow{display:block;left:6px;top:50%;transform:translateY(-50%) rotate(45deg);border-right-color:transparent;border-top-color:transparent;box-shadow:-3px 3px 3px #0000000d}.overlay-right-top .nui-overlay-arrow{top:unset;bottom:12.72px}.overlay-right-bottom .nui-overlay-arrow{top:19.08px}\n"], encapsulation: i0.ViewEncapsulation.None });
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: OverlayArrowComponent, decorators: [{
            type: Component,
            args: [{ selector: "nui-overlay-arrow", template: `<div class="nui-overlay-arrow"></div>`, encapsulation: ViewEncapsulation.None, styles: [".nui-overlay-arrow{display:none;width:12.72px;height:12.72px;background-color:transparent;border:6px solid;position:absolute;border-color:var(--nui-color-bg-content_popover,#fff);transform:rotate(45deg)}.overlay-center-top .nui-overlay-arrow{display:block;left:49%;bottom:6px;border-left-color:transparent;border-top-color:transparent;box-shadow:3px 3px 3px #0000000d}.overlay-top-left .nui-overlay-arrow,.overlay-top-right .nui-overlay-arrow{display:block;bottom:6px;border-bottom-color:var(--nui-color-bg-content_popover,#fff);border-top-color:transparent;box-shadow:3px 3px 3px #0000000d}.overlay-top-left .nui-overlay-arrow{right:19.08px;border-left-color:transparent}.overlay-top-right .nui-overlay-arrow{left:19.08px;border-left-color:transparent}.overlay-center-bottom .nui-overlay-arrow{display:block;left:49%;top:6px;border-right-color:transparent;border-bottom-color:transparent;box-shadow:-3px -3px 3px #0000000d}.overlay-bottom-left .nui-overlay-arrow,.overlay-bottom-right .nui-overlay-arrow{display:block;top:6px;border-bottom-color:transparent;border-top-color:var(--nui-color-bg-content_popover,#fff);box-shadow:-3px -3px 3px #0000000d}.overlay-bottom-left .nui-overlay-arrow{right:19.08px;border-right-color:transparent}.overlay-bottom-right .nui-overlay-arrow{left:19.08px;border-right-color:transparent}.overlay-left-bottom .nui-overlay-arrow,.overlay-left-top .nui-overlay-arrow,.overlay-center-left .nui-overlay-arrow{display:block;right:6px;top:50%;transform:translateY(-50%) rotate(45deg);border-left-color:transparent;border-bottom-color:transparent;box-shadow:3px -3px 3px #0000000d}.overlay-left-top .nui-overlay-arrow{top:unset;bottom:12.72px}.overlay-left-bottom .nui-overlay-arrow{top:19.08px}.overlay-right-bottom .nui-overlay-arrow,.overlay-right-top .nui-overlay-arrow,.overlay-center-right .nui-overlay-arrow{display:block;left:6px;top:50%;transform:translateY(-50%) rotate(45deg);border-right-color:transparent;border-top-color:transparent;box-shadow:-3px 3px 3px #0000000d}.overlay-right-top .nui-overlay-arrow{top:unset;bottom:12.72px}.overlay-right-bottom .nui-overlay-arrow{top:19.08px}\n"] }]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