/*!
 * Copyright (c) 2026 Vertex Software LLC. All rights reserved.
 */
import{t as e,p as n,H as t,d as i,h as a,e as o}from"./p-DmsAWRoU.js";import{d as c}from"./p-nGQgu0fu.js";const s=()=>`.notification-banner{background-color:var(--blue-200);padding-top:0px;padding-bottom:0px;padding-right:16px;padding-left:8px;display:flex;justify-content:space-between;font-size:0.875rem;line-height:0.5;color:var(--neutral-600)}.notification-banner-info{display:flex;align-items:center;gap:8px}.notification-banner-info .icon{color:var(--blue-600)}.notification-banner-actions{display:flex;align-items:center}.notification-banner-button{background:none;border:none;padding:0;margin:0;cursor:pointer;color:var(--blue-600);font-size:0.875rem;display:flex;align-items:center}.notification-banner-button:hover{color:var(--blue-800)}`;const r=n(class e extends t{constructor(e){super();if(e!==false){this.__registerHost()}this.__attachShadow();this.action=i(this,"action")}render(){return a(o,{key:"faf3e2e84a60db63b158747e649f43900b1f0930"},a("div",{key:"9180eb1f7472d5a5d0742117dee5b75734ac3232",class:"notification-banner"},a("div",{key:"02171b4cc5f7e5ef924eb96e4ba0403f3fd59f4e",class:"notification-banner-info"},a("vertex-viewer-icon",{key:"caa522489ce767d52c07d7007802c8fb40457f6d",class:"icon",name:"info",size:"sm"}),a("p",{key:"0836efb7b9f56f926315ba232fe1b4d8fa52aefe"},this.message)),this.actionLabel!=null&&a("div",{key:"c5ae434c28810c205ab5806a0689cbaa371c0933",class:"notification-banner-actions"},a("button",{key:"d3fcbe8eb211ac453701c7fd179becfc03f8b1c2",class:"notification-banner-button",onClick:()=>this.action.emit()},this.actionLabel))))}static get style(){return s()}},[1,"vertex-scene-tree-notification-banner",{message:[1],actionLabel:[1,"action-label"]}]);function f(){if(typeof customElements==="undefined"){return}const n=["vertex-scene-tree-notification-banner","vertex-viewer-icon"];n.forEach((n=>{switch(n){case"vertex-scene-tree-notification-banner":if(!customElements.get(e(n))){customElements.define(e(n),r)}break;case"vertex-viewer-icon":if(!customElements.get(e(n))){c()}break}}))}f();export{r as S,f as d};
//# sourceMappingURL=p-CZTCQfJV.js.map