import{r as e,h as s,H as t,g as o}from"./p-6b2342e0.js";import{s as a}from"./p-717cb35f.js";import{c as r,M as i,V as n}from"./p-dcc98162.js";import{I as c}from"./p-c45f0189.js";import{V as l,I as f}from"./p-9deec7a5.js";import{C as m}from"./p-816f6fc6.js";import{d as h}from"./p-a528714c.js";var p=function(e,s,t,o){var a,r=arguments.length,i=r<3?s:null===o?o=Object.getOwnPropertyDescriptor(s,t):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)i=Reflect.decorate(e,s,t,o);else for(var n=e.length-1;n>=0;n--)(a=e[n])&&(i=(r<3?a(i):r>3?a(s,t,i):a(s,t))||i);return r>3&&i&&Object.defineProperty(s,t,i),i};class d extends n{handleMessageChange(){this.notifyMessageUpdate()}handleComponentDidLoad(){this.notifyMessageUpdate()}notifyMessageUpdate(){m.notify(h,{host:this.host,message:this.message,isValid:!this.message})}}p([r()],d.prototype,"host",void 0),p([r()],d.prototype,"message",void 0),p([i("watchMessage")],d.prototype,"handleMessageChange",null),p([i("componentDidLoad")],d.prototype,"handleComponentDidLoad",null);var g=function(e,s,t,o){var a,r=arguments.length,i=r<3?s:null===o?o=Object.getOwnPropertyDescriptor(s,t):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)i=Reflect.decorate(e,s,t,o);else for(var n=e.length-1;n>=0;n--)(a=e[n])&&(i=(r<3?a(i):r>3?a(s,t,i):a(s,t))||i);return r>3&&i&&Object.defineProperty(s,t,i),i};const u=class{constructor(s){e(this,s),this.globalSlimmers={},this.messageController=new d,this.vegaComponentUsageRuntimeMetricsSlimmer=new l,this.message=""}watchMessage(){}render(){return a(s(t,null,s("slot",null)),this.host)}get host(){return o(this)}static get watchers(){return{message:["watchMessage"]}}};g([f()],u.prototype,"globalSlimmers",void 0),g([c()],u.prototype,"messageController",void 0),g([c()],u.prototype,"vegaComponentUsageRuntimeMetricsSlimmer",void 0),u.style=":host{display:block}";export{u as vega_field_error}