YUI.add("notification-models",function(e){function t(e){t.superclass.constructor.call(this,e)}e.Models[this.name]=t,e.extend(t,e.FlickrModelRegistry,{name:this.name,remote:{read:function(t){return e.ListFetchers["flickr-activity-recentByType"].run(t,this.appContext)}},attributes:{id:{setter:function(e){return e||this.appContext.getViewer().nsid}},seen:{},objectType:{},object:{isModel:!0},events:{isListProxy:!0},isMuted:{}}})},"@VERSION@",{requires:["flickr-model-registry","flickr-activity-recentByType-fetcher"]});YUI.add("hermes-template-notification-photo-extra-info",function(e,a){var n=e.Template.Handlebars.revive({1:function(e,a,n,t,i){return e.escapeExpression((n.intlMessage||a&&a.intlMessage||n.helperMissing).call(null!=a?a:{},{name:"intlMessage",hash:{time:null!=a?a.time:a,intlName:null!=a?a.intlName:a},data:i}))},compiler:[7,">= 4.0.0"],main:function(e,a,n,t,i){var l;return'"},useData:!0}),t={};e.Array.each([],function(a){var n=e.Template.get("hermes/"+a);n&&(t[a]=n)}),e.Template.register("hermes/notification-photo-extra-info",function(a,i){return i=i||{},i.partials=i.partials?e.merge(t,i.partials):t,n(a,i)})},"@VERSION@",{requires:["template-base","handlebars-base"]});YUI.add("hermes-template-notification-photo-comment",function(l,n){var e=l.Template.Handlebars.revive({1:function(l,n,e,a,t){var o;return null!=(o=e.if.call(null!=n?n:{},null!=n?n.subPeopleCount:n,{name:"if",hash:{},fn:l.program(2,t,0),inverse:l.program(4,t,0),data:t}))?o:""},2:function(l,n,e,a,t){var o;return"\t\t\t\t"+l.escapeExpression((e.intlHTMLMessage||n&&n.intlHTMLMessage||e.helperMissing).call(null!=n?n:{},{name:"intlHTMLMessage",hash:{mediaType:null!=(o=null!=n?n.object:n)?o.mediaType:o,objectUrl:null!=(o=null!=n?n.object:n)?o.url:o,secondPersonUrl:null!=(o=null!=(o=null!=n?n.people:n)?o[1]:o)?o.url:o,secondPersonName:null!=(o=null!=(o=null!=n?n.people:n)?o[1]:o)?o.name:o,firstPersonUrl:null!=(o=null!=(o=null!=n?n.people:n)?o[0]:o)?o.url:o,firstPersonName:null!=(o=null!=(o=null!=n?n.people:n)?o[0]:o)?o.name:o,count:null!=n?n.subPeopleCount:n,intlName:"notifications.NOTIF_PHOTO_COMMENT_YOURS_MULTI"},data:t}))+"\n"},4:function(l,n,e,a,t){var o;return"\t\t\t\t"+l.escapeExpression((e.intlHTMLMessage||n&&n.intlHTMLMessage||e.helperMissing).call(null!=n?n:{},{name:"intlHTMLMessage",hash:{mediaType:null!=(o=null!=n?n.object:n)?o.mediaType:o,objectUrl:null!=(o=null!=n?n.object:n)?o.url:o,personUrl:null!=(o=null!=(o=null!=n?n.people:n)?o[0]:o)?o.url:o,personName:null!=(o=null!=(o=null!=n?n.people:n)?o[0]:o)?o.name:o,intlName:"notifications.NOTIF_PHOTO_COMMENT_YOURS"},data:t}))+"\n"},6:function(l,n,e,a,t){var o;return null!=(o=e.if.call(null!=n?n:{},null!=n?n.subPeopleCount:n,{name:"if",hash:{},fn:l.program(7,t,0),inverse:l.program(9,t,0),data:t}))?o:""},7:function(l,n,e,a,t){var o;return"\t\t\t\t"+l.escapeExpression((e.intlHTMLMessage||n&&n.intlHTMLMessage||e.helperMissing).call(null!=n?n:{},{name:"intlHTMLMessage",hash:{ownerName:null!=(o=null!=(o=null!=n?n.object:n)?o.owner:o)?o.displayname:o,ownerUrl:null!=(o=null!=(o=null!=n?n.object:n)?o.owner:o)?o.url:o,mediaType:null!=(o=null!=n?n.object:n)?o.mediaType:o,objectUrl:null!=(o=null!=n?n.object:n)?o.url:o,secondPersonUrl:null!=(o=null!=(o=null!=n?n.people:n)?o[1]:o)?o.url:o,secondPersonName:null!=(o=null!=(o=null!=n?n.people:n)?o[1]:o)?o.name:o,firstPersonUrl:null!=(o=null!=(o=null!=n?n.people:n)?o[0]:o)?o.url:o,firstPersonName:null!=(o=null!=(o=null!=n?n.people:n)?o[0]:o)?o.name:o,count:null!=n?n.subPeopleCount:n,intlName:"notifications.NOTIF_PHOTO_COMMENT_OTHER_MULTI"},data:t}))+"\n"},9:function(l,n,e,a,t){var o;return"\t\t\t\t"+l.escapeExpression((e.intlHTMLMessage||n&&n.intlHTMLMessage||e.helperMissing).call(null!=n?n:{},{name:"intlHTMLMessage",hash:{ownerName:null!=(o=null!=(o=null!=n?n.object:n)?o.owner:o)?o.displayname:o,ownerUrl:null!=(o=null!=(o=null!=n?n.object:n)?o.owner:o)?o.url:o,mediaType:null!=(o=null!=n?n.object:n)?o.mediaType:o,objectUrl:null!=(o=null!=n?n.object:n)?o.url:o,personUrl:null!=(o=null!=(o=null!=n?n.people:n)?o[0]:o)?o.url:o,personName:null!=(o=null!=(o=null!=n?n.people:n)?o[0]:o)?o.name:o,intlName:"notifications.NOTIF_PHOTO_COMMENT_OTHER"},data:t}))+"\n"},compiler:[7,">= 4.0.0"],main:function(l,n,e,a,t){var o;return'
\n\t\n'+(null!=(o=e.if.call(null!=n?n:{},null!=(o=null!=(o=null!=n?n.object:n)?o.owner:o)?o.isMe:o,{name:"if",hash:{},fn:l.program(1,t,0),inverse:l.program(6,t,0),data:t}))?o:"")+"\t\n\n"+(null!=(o=l.invokePartial(a["notification-photo-extra-info"],n,{name:"notification-photo-extra-info",data:t,indent:"\t",helpers:e,partials:a,decorators:l.decorators}))?o:"")+"
"},usePartial:!0,useData:!0}),a={};l.Array.each(["notification-photo-extra-info"],function(n){var e=l.Template.get("hermes/"+n);e&&(a[n]=e)}),l.Template.register("hermes/notification-photo-comment",function(n,t){return t=t||{},t.partials=t.partials?l.merge(a,t.partials):a,e(n,t)})},"@VERSION@",{requires:["template-base","handlebars-base","hermes-template-notification-photo-extra-info"]});YUI.add("hermes-template-notification-group-invite",function(e,a){var t=e.Template.Handlebars.revive({compiler:[7,">= 4.0.0"],main:function(e,a,t,n,i){var l,r=e.lambda,o=e.escapeExpression;return'\n\n\n\t\n\t\t'+o((t.intlHTMLMessage||a&&a.intlHTMLMessage||t.helperMissing).call(null!=a?a:{},{name:"intlHTMLMessage",hash:{groupUrl:null!=(l=null!=a?a.object:a)?l.url:l,groupName:null!=(l=null!=a?a.object:a)?l.title:l,intlName:"notifications.NOTIF_GROUP_USER_INVITE"},data:i}))+"\n\t\n\n"+(null!=(l=e.invokePartial(n["notification-photo-extra-info"],a,{name:"notification-photo-extra-info",data:i,indent:"\t",helpers:t,partials:n,decorators:e.decorators}))?l:"")+"
\n"},usePartial:!0,useData:!0}),n={};e.Array.each(["notification-photo-extra-info"],function(a){var t=e.Template.get("hermes/"+a);t&&(n[a]=t)}),e.Template.register("hermes/notification-group-invite",function(a,i){return i=i||{},i.partials=i.partials?e.merge(n,i.partials):n,t(a,i)})},"@VERSION@",{requires:["template-base","handlebars-base","hermes-template-notification-photo-extra-info"]});YUI.add("hermes-template-notification-added-to-gallery",function(l,e){var n=l.Template.Handlebars.revive({1:function(l,e,n,a,t){var r;return"\t\t\t"+l.escapeExpression((n.intlHTMLMessage||e&&e.intlHTMLMessage||n.helperMissing).call(null!=e?e:{},{name:"intlHTMLMessage",hash:{count:null!=e?e.subCount:e,mediaType:null!=(r=null!=e?e.object:e)?r.mediaType:r,objectUrl:null!=(r=null!=e?e.object:e)?r.url:r,secondGalleryUrl:null!=(r=null!=(r=null!=(r=null!=e?e.events:e)?r[1]:r)?r.gallery:r)?r.url:r,secondGalleryName:null!=(r=null!=(r=null!=(r=null!=e?e.events:e)?r[1]:r)?r.gallery:r)?r.title:r,galleryUrl:null!=(r=null!=(r=null!=e?e.event:e)?r.gallery:r)?r.url:r,galleryName:null!=(r=null!=(r=null!=e?e.event:e)?r.gallery:r)?r.title:r,intlName:"notifications.NOTIF_GALLERY_MULTI"},data:t}))+"\t\n"},3:function(l,e,n,a,t){var r;return"\t\t\t"+l.escapeExpression((n.intlHTMLMessage||e&&e.intlHTMLMessage||n.helperMissing).call(null!=e?e:{},{name:"intlHTMLMessage",hash:{mediaType:null!=(r=null!=e?e.object:e)?r.mediaType:r,objectUrl:null!=(r=null!=e?e.object:e)?r.url:r,galleryUrl:null!=(r=null!=(r=null!=e?e.event:e)?r.gallery:r)?r.url:r,galleryName:null!=(r=null!=(r=null!=e?e.event:e)?r.gallery:r)?r.title:r,intlName:"notifications.NOTIF_GALLERY"},data:t}))+"\n"},compiler:[7,">= 4.0.0"],main:function(l,e,n,a,t){var r,i,u=l.lambda,s=l.escapeExpression,o=null!=e?e:{};return'\n\n\n\t\n'+(null!=(r=n.if.call(o,null!=e?e.subCount:e,{name:"if",hash:{},fn:l.program(1,t,0),inverse:l.program(3,t,0),data:t}))?r:"")+"\t\n\n"+(null!=(r=l.invokePartial(a["notification-photo-extra-info"],e,{name:"notification-photo-extra-info",data:t,indent:"\t",helpers:n,partials:a,decorators:l.decorators}))?r:"")+'
\n\n\n'},usePartial:!0,useData:!0}),a={};l.Array.each(["notification-photo-extra-info"],function(e){var n=l.Template.get("hermes/"+e);n&&(a[e]=n)}),l.Template.register("hermes/notification-added-to-gallery",function(e,t){return t=t||{},t.partials=t.partials?l.merge(a,t.partials):a,n(e,t)})},"@VERSION@",{requires:["template-base","handlebars-base","hermes-template-notification-photo-extra-info"]});YUI.add("hermes-template-notification-photo-fave",function(e,l){var n=e.Template.Handlebars.revive({1:function(e,l,n,t,a){var i;return"\t\t\t"+e.escapeExpression((n.intlHTMLMessage||l&&l.intlHTMLMessage||n.helperMissing).call(null!=l?l:{},{name:"intlHTMLMessage",hash:{mediaType:null!=(i=null!=l?l.object:l)?i.mediaType:i,objectUrl:null!=(i=null!=l?l.object:l)?i.url:i,title:null!=(i=null!=l?l.object:l)?i.title:i,secondUrl:null!=(i=null!=(i=null!=l?l.people:l)?i[1]:i)?i.url:i,secondOwner:null!=(i=null!=(i=null!=l?l.people:l)?i[1]:i)?i.name:i,ownerUrl:null!=(i=null!=(i=null!=l?l.people:l)?i[0]:i)?i.url:i,owner:null!=(i=null!=(i=null!=l?l.people:l)?i[0]:i)?i.name:i,count:null!=l?l.subCount:l,intlName:"notifications.NOTIF_PHOTO_FAVE_MULTI"},data:a}))+"\n"},3:function(e,l,n,t,a){var i;return"\t\t\t"+e.escapeExpression((n.intlHTMLMessage||l&&l.intlHTMLMessage||n.helperMissing).call(null!=l?l:{},{name:"intlHTMLMessage",hash:{mediaType:null!=(i=null!=l?l.object:l)?i.mediaType:i,ownerUrl:null!=(i=null!=(i=null!=l?l.event:l)?i.owner:i)?i.url:i,objectUrl:null!=(i=null!=l?l.object:l)?i.url:i,title:null!=(i=null!=l?l.object:l)?i.title:i,owner:null!=(i=null!=(i=null!=l?l.event:l)?i.owner:i)?i.displayname:i,intlName:"notifications.NOTIF_PHOTO_FAVE"},data:a}))+"\n"},compiler:[7,">= 4.0.0"],main:function(e,l,n,t,a){var i;return'\n\t\n'+(null!=(i=n.if.call(null!=l?l:{},null!=l?l.subCount:l,{name:"if",hash:{},fn:e.program(1,a,0),inverse:e.program(3,a,0),data:a}))?i:"")+"\t\n\n"+(null!=(i=e.invokePartial(t["notification-photo-extra-info"],l,{name:"notification-photo-extra-info",data:a,indent:"\t",helpers:n,partials:t,decorators:e.decorators}))?i:"")+"
"},usePartial:!0,useData:!0}),t={};e.Array.each(["notification-photo-extra-info"],function(l){var n=e.Template.get("hermes/"+l);n&&(t[l]=n)}),e.Template.register("hermes/notification-photo-fave",function(l,a){return a=a||{},a.partials=a.partials?e.merge(t,a.partials):t,n(l,a)})},"@VERSION@",{requires:["template-base","handlebars-base","hermes-template-notification-photo-extra-info"]});