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