(function(){"use strict";u8.Crm.Widgets.LyrisEntityLabel=function(t,e){this.Widget(t,$.extend({},u8.Crm.Widgets.LyrisEntityLabel.defaults,e));this._update()};u8.Crm.Widgets.LyrisEntityLabel.defaults={};$.extend(u8.Crm.Widgets.LyrisEntityLabel.prototype,{setName:function(t){this.name=t;this._update()},setUrl:function(t){this.url=t;this._update()},_update:function(){if(!this.url||!this.name){return}this.$(this.element).utml({template:'<a href="${url}" target="_blank">${name}</a>',data:{url:this.url,name:this.name},itemOptions:{parent:page}})}});u8.Crm.Widgets.LyrisEntityLabel.makeClass({name:"LyrisEntityLabel",deriveFrom:u8.Base.Widgets.Widget})})();