module.exports = "(function(e,t,i){var n=i(5894),a=i(7358),s=i(9133);e.exports={initialize:function(){this.__state={},this.on(a.DATA_LOADED,this.__loadData)},__loadData:function(e){n.isEmpty(e.data.dimensions)||(n.each(e.data.dimensions,n.bind((function(e){s.deepFreeze(e),this.__state[e.id]=e}),this)),this.emitChange())},getAll:function(){return s.safeReference(n.values(this.__state))},getById:function(e){return s.safeReference(this.__state[e])},getByApiName:function(e){return s.safeReference(n.find(n.values(this.__state),{apiName:e}))}}})";