import{e as i}from"./KHR_interactivity-BtMudStn.js";import{c as a}from"./declarationMapper-Lanf6XPr.js";import{R as l}from"./index-CDrXokXW.js";import"./index-DWyDLubb.js";import"./objectModelMapping-CGWnurZP.js";class s extends i{constructor(t){super(t),this.onOn=this._registerSignalOutput("onOn"),this.onOff=this._registerSignalOutput("onOff"),this.value=this.registerDataOutput("value",a)}_execute(t,r){let e=t._getExecutionVariable(this,"value",typeof this.config?.startValue=="boolean"?!this.config.startValue:!1);e=!e,t._setExecutionVariable(this,"value",e),this.value.setValue(e,t),e?this.onOn._activateSignal(t):this.onOff._activateSignal(t)}getClassName(){return"FlowGraphFlipFlopBlock"}}l("FlowGraphFlipFlopBlock",s);export{s as FlowGraphFlipFlopBlock};
