import{F as i}from"./KHR_interactivity-BRnQ0PPJ.js";import{R as r,i as o,F as a}from"./declarationMapper-YJJdbZ_c.js";import{R as p}from"./index-T8LZyOXI.js";import"./index-BkylzejB.js";import"./objectModelMapping-D1pI71RW.js";class h extends i{constructor(e){super(e),this.config=e,this.object=this.registerDataInput("object",r),this.array=this.registerDataInput("array",r),this.index=this.registerDataOutput("index",o,new a(-1))}_updateOutputs(e){const s=this.object.getValue(e),t=this.array.getValue(e);t&&this.index.setValue(new a(t.indexOf(s)),e)}serialize(e){super.serialize(e)}getClassName(){return"FlowGraphIndexOfBlock"}}p("FlowGraphIndexOfBlock",h);export{h as FlowGraphIndexOfBlock};
