function identityFn(n){n({iss:"digital_platform",acr:"loa1",sub:Core.Guid.newGuid().toString()})}var lpTag=lpTag||{},PlatformLivePerson;lpTag.identities=[];lpTag.identities.push(identityFn),function(n){var t=function(){function n(){this.token_count=0}return n.prototype.GetAuthenticationToken=function(n){var t=this,i;(this.token_count++,this.tokenRequestPromise)||(this.tokenRequestPromise=1,Smile.User.IsAuth&&(Smile.User.IsProvider||Smile.User.IsPatient)?(i=new User.UserService,i.GetLivePersonToken().then(function(i){t.tokenRequestPromise=null;n(i.Data)}).catch(function(){t.tokenRequestPromise=null;n("")})):(this.tokenRequestPromise=null,n("")))},n}();n.LivePersonService=t}(PlatformLivePerson||(PlatformLivePerson={}));Smile.createNamespace(Smile.Feature,"Smile.Feature.LivePersonService");Smile.Feature.LivePersonService=new PlatformLivePerson.LivePersonService