"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("lodash"),s=e=>n=>{if(window.SHJComponentRefs&&i.isArray(window.SHJComponentRefs)&&n&&e){const o=window.SHJComponentRefs.find(t=>t.layerId===e);o?o.ref=n:window.SHJComponentRefs.push({layerId:e,ref:n})}};exports.registerComponentRef=s;
