import{F as p,g as s,G as o}from"./KHR_interactivity-BtMudStn.js";import{R as e,F as l}from"./declarationMapper-Lanf6XPr.js";import{R as u}from"./index-CDrXokXW.js";import"./index-DWyDLubb.js";import"./objectModelMapping-CGWnurZP.js";class h extends p{constructor(t){super(t),this.config=t,this.type=this.registerDataInput("type",e,t.type),this.value=this.registerDataOutput("value",e),this.index=this.registerDataInput("index",e,new l(s(t.index??-1)))}_updateOutputs(t){const a=this.type.getValue(t),r=this.index.getValue(t),i=o(t.assetsContext,a,s(r),this.config.useIndexAsUniqueId);this.value.setValue(i,t)}getClassName(){return"FlowGraphGetAssetBlock"}}u("FlowGraphGetAssetBlock",h);export{h as FlowGraphGetAssetBlock};
