import{b as s}from"./declarationMapper-Lanf6XPr.js";import{b as i}from"./KHR_interactivity-BtMudStn.js";import{R as o}from"./index-CDrXokXW.js";import"./index-DWyDLubb.js";import"./objectModelMapping-CGWnurZP.js";class a extends i{constructor(t){super(t),this.count=this.registerDataOutput("count",s),this.reset=this._registerSignalInput("reset")}_execute(t,r){if(r===this.reset){t._setExecutionVariable(this,"count",0),this.count.setValue(0,t);return}const e=t._getExecutionVariable(this,"count",0)+1;t._setExecutionVariable(this,"count",e),this.count.setValue(e,t),this.out._activateSignal(t)}getClassName(){return"FlowGraphCallCounterBlock"}}o("FlowGraphCallCounterBlock",a);export{a as FlowGraphCallCounterBlock};
