YUI.add("hermes-lang-upload-blocking",function(o,e){o.Intl.add("hermes/upload-blocking","en-US",{UPLOADS_LOCKED_SOON:["Your uploads will be locked soon."],FREE_ACCOUNTS_NO_LONGER_UPLOAD:["Starting January 8th, free accounts on Flickr with ","${limitCount}"," photos or more will no longer be able to upload new photos."],LEARN_MORE_ABOUT_CHANGES_HERE:["Learn more about these changes here."],UPGRADE_TO_GET_UNLIMITED:["For unlimited uploads, upgrade to Pro at ","${percentOff}","% off using code ","${couponCode}","."],FREE_ACCOUNTS_NO_LONGER_UPLOAD_2:["Starting January 8, 2019 free accounts on Flickr with ","${limitCount}"," photos or more will no longer be able to upload new photos. Starting February 5, 2019 some items over the limit will be at risk of deletion."],FREE_ACCOUNTS_NO_LONGER_UPLOAD_BY_1_8_2019:["Starting January 8th, free accounts on Flickr with ","${limitCount}"," or more photos and videos will no longer be able to upload new content."],UPGRADE_TO_GET_UNLIMITED_BY_1_8_2019:["For unlimited uploads, upgrade to Pro at ","${percentOff}","% off using code ","${couponCode}",". (Discount valid until January 8, 2019)"],OVER_UPLOAD_LIMIT_HEAD:["Your photos are at risk of deletion soon."],OVER_UPLOAD_LIMIT_COPY:['Your Free Flickr account is limited to ',"${limitCount}",' photos or videos. Your uploads are now locked, and starting February 5th, the oldest items over the limit for free accounts will be at risk of deletion. To unlock uploads and protect your photos and videos, you’ll need to remove items until you’re under the account limit or upgrade to Flickr Pro for unlimited storage.'],AT_UPLOAD_LIMIT_HEAD:["Your uploads are now locked."],AT_UPLOAD_LIMIT_COPY:['Your Free Flickr account is limited to ',"${limitCount}",' photos or videos. Starting February 5th, the oldest items over your free account limit will be at risk of deletion. However, any items licensed Creative Commons (or other free license types) before November 1, 2018 will not be deleted. To upload new photos or videos, you’ll need to remove items until you’re under the account limit or you can upgrade to Flickr Pro for unlimited uploads.'],UPLOADS_LOCKED_SOON_HEAD:["Your uploads will be locked soon."],UPLOADS_LOCKED_SOON_COPY:['You are nearing your ',"${limitCount}"," item Free Flickr account limit. To upload more than ","${limitCount}",' photos or videos, you’ll need to upgrade to Flickr Pro for unlimited uploads.'],YOU_CAN_UPLOAD_COUNT_MORE:[{type:"plural",valueName:"photoCount",options:{one:["You can upload ","${countString}"," more photo or video."],other:["You can upload ","${countString}"," more photos and videos."]}}],MORE_THAN_LIMIT_ITEMS_TO_UPLOAD:[{type:"plural",valueName:"photoCount",options:{one:["Looks like there is more than ","${countString}"," item to upload. We’ll upload the first ","${countString}"," from your batch."],other:["Looks like there are more than ","${countString}"," items to upload. We’ll upload the first ","${countString}"," from your batch."]}}],NEVERMIND:["Nevermind"],OK_GO_AHEAD:["Ok go ahead"],UPLOAD_QUEUE_FULL:["Your upload queue is full!"],GET_PRO_FOR_UNLIMITED:["Get Pro for unlimited uploads"],NOT_NOW:["Not now"],UPLOAD_YOUVE_REACHED_LIMIT_GET_PRO:["You’ve reached the 1000 item upload limit. Get Pro for unlimited uploads."],YOUVE_REACHED_UPLOAD_LIMIT:["You’ve reached the ","${limitCount}"," item upload limit."],AT_UPLOAD_LIMIT_COPY_SHORT:['Your Free Flickr account is limited to ',"${limitCount}"," photos or videos. To upload more than ","${limitCount}"," items, you’ll need to upgrade to Flickr Pro for unlimited storage."],OVER_UPLOAD_LIMIT_COPY_SHORT:['Your Free Flickr account is limited to ',"${limitCount}"," photos or videos. Starting February 5th, the oldest items over the limit will be at risk of deletion. Upgrade to Flickr Pro for unlimited storage."],PHOTO_EDITOR_REACHED_UPLOAD_LIMIT:["You’ve reached your ","${limitCount}",' item limit. To save a new copy, upgrade to Flickr Pro.'],OVER_UPLOAD_LIMIT_EXTEND_HEAD:["Update: Free Flickr account limit deadline extension."],OVER_UPLOAD_LIMIT_EXTEND_COPY:["We’re extending the deadline for upgrading to Flickr Pro for unlimited storage or removing your photos/videos to meet the new ","${limit}"," item limit. The new deadline is March ","${dateNumber}",", 2019."],ALL_YOUR_PHOTOS_MATTER:['ALL your photos matter.'],UPLOAD_LIMIT_EXTEND_MODAL_1:["We know the recent update limiting photo and video uploads to ","${limit}"," for free Flickr accounts was a big one. We’ve heard loud and clear from our Flickr photographers that you need more time to make sure your photos are safe."],UPLOAD_LIMIT_EXTEND_MODAL_2:["Whether you’re upgrading to Flickr Pro for unlimited photo storage or downloading photos to meet the new limit, we’re extending the deadline to March ","${dateNumber}",", 2019."],LIMIT_OVERLAY_STATS_DISAPPEAR_VIEWS_FAVES_TAGS:["This includes some of the ","${views}"," views, ","${faves}"," faves, and ","${tags}"," tags attached to those photos."],LIMIT_OVERLAY_STATS_DISAPPEAR_VIEWS:["This includes some of the ","${views}"," views attached to those photos."],LIMIT_OVERLAY_STATS_DISAPPEAR_FAVES:["This includes some of ","${faves}"," faves attached to those photos."],LIMIT_OVERLAY_STATS_DISAPPEAR_VIEWS_FAVES:["This includes some of the ","${views}"," views and ","${faves}"," faves attached to those photos."],LIMIT_OVERLAY_STATS_DISAPPEAR_TAGS:["This includes some of the ","${tags}"," tags attached to those photos."],LIMIT_OVERLAY_STATS_DISAPPEAR_VIEWS_TAGS:["This includes some of the ","${views}"," views and ","${tags}"," tags attached to those photos."],LIMIT_OVERLAY_STATS_DISAPPEAR_FAVES_TAGS:["This includes some of the ","${faves}"," faves and ","${tags}"," tags attached to those photos."],RIGHT_NOW_PHOTOS_AT_RISK:["Right now ","${count}"," of your photos are at risk of deletion."],TAKE_MOMENT_TO_PROTECT_PHOTOS:["Please take a moment to protect the photos in your account."],PROTECT_THESE_PHOTOS:["Protect these photos."],SAVE_YOUR_PHOTOS:["Save your photos"],CONTINUE_WITHOUT_SECURING_PHOTOS:["Continue without securing ","${count}"," photos."],CONTINUE_WITHOUT_SECURING_PHOTOS_B:["Continue without securing ","${count}"," photos"],MARK_PHOTOS_FOR_DELETION:["No, mark ","${count}"," for deletion."],MARK_PHOTOS_FOR_DELETION_B:["No, mark ","${count}"," for deletion"],DONT_REMIND_AGAIN:["Don’t remind me again."],DONT_REMIND_AGAIN_B:["Don’t remind me again"],CHOOSE_ABOVE_TO_CONTINUE:["Choose an option above to continue to your photos."],DID_YOU_KNOW_FLICKR_PRO:["Did you know Flickr Pro is more than just unlimited storage?"],UPGRADE_YOU_ALSO_GET:["You also get ad-free browsing, priority support from our Support Heroes, and you will save money with exclusive discounts on photo books, software, and gear from our industry partners."],DONT_NEED_TO_BE_PROFESSIONAL:["You don’t need to be a professional to be a Flickr Pro."],FLICKR_PROS_LOVE_PHOTOGRAPHY:["Flickr Pros love photography, plain and simple. By joining Flickr Pro, you’ll join a community of people who enjoy talking, sharing, and discovering photos as much as you do."],JOIN_FLICKR_PRO:["Join Flickr Pro"],OVER_UPLOAD_LIMIT_HEAD_FINAL:["Your photos are at risk of deletion."],OVER_UPLOAD_LIMIT_COPY_FINAL:["Your Free Flickr account is limited to ","${limitCount}"," photos or videos. The oldest items over the limit are at risk of deletion. Learn more. Upgrade to Flickr Pro for unlimited storage."],LIKE_TO_KEEP_YOUR_PHOTOS:['You know we’d like to keep all your photos here forever, for free. (Including this one, the first photo you uploaded to Flickr.) You probably also know we have new rules for free accounts and may need to delete photos exceeding our new limits. You have ',"${photoCountString}"," we can no longer keep for free. It’s time to let us know what you’d like to do."],DONT_SAVE_MY_PHOTOS:["Don’t save my photos"]})},"@VERSION@",{requires:["intl"]});YUI.add("hermes-template-fluid-modal-nav-bar",function(a,e){var n=a.Template.Handlebars.revive({1:function(a,e,n,l,t){var r;return null!=(r=n.unless.call(null!=e?e:{},null!=e?e.disabled:e,{name:"unless",hash:{},fn:a.program(2,t,0),inverse:a.noop,data:t}))?r:""},2:function(a,e,n,l,t){var r,u,i=null!=e?e:{},s=n.helperMissing,o=a.escapeExpression;return'\t\t\t
\n\t"+p((n.preventOrphans||a&&a.preventOrphans||i).call(r,(n.intlHTMLMessage||a&&a.intlHTMLMessage||i).call(r,{name:"intlHTMLMessage",hash:{photoCountString:null!=a?a.overLimitCountString:a,rulesUrl:null!=a?a.rulesUrl:a,intlName:"upload-blocking.LIKE_TO_KEEP_YOUR_PHOTOS"},data:l}),{name:"preventOrphans",hash:{},data:l}))+'\n
\n \t\n"},useData:!0}),t={};e.Array.each([],function(a){var n=e.Template.get("hermes/"+a);n&&(t[a]=n)}),e.Template.register("hermes/mega-limit-overlay-message",function(a,l){return l=l||{},l.partials=l.partials?e.merge(t,l.partials):t,n(a,l)})},"@VERSION@",{requires:["template-base","handlebars-base"]});YUI.add("flickr-profile-setProfile-updater",function(e,i){"use strict";e.namespace("ModelUpdaters")["flickr-profile-setProfile"]={run:function(l,r){var t=(function(e){var i={};return i.extras="full_response,expand_bbml,social_urls","profileDescription"===e.field?e.field="description":"website"===e.field&&(e.field="website_url"),i[e.field]=e.value,i})(l);return new e.FlickrPromise({apiResponse:r.callAPI("flickr.profile.setProfile",t),personPublicProfileModel:r.getModel("person-public-profile-models",l.id)}).then(function(e){return(function(e,i,l,r){var t=e.apiResponse,o=e.personPublicProfileModel;if(t){var s=t[l.field],f={stat:t.stat,field:l.field,value:s};return"description"===l.field?(l.field="profileDescription",o.setValue("profileDescription",t.description),o.setValue("profileDescriptionExpanded",t.descriptionExpanded)):"website_url"===l.field?(l.field="website",o.setValue("website",s)):["instagram","facebook","tumblr","pinterest","twitter"].indexOf(l.field)>-1?(o.setValue(l.field,t[l.field]),o.setValue(l.field+"Url",t[l.field+"Url"])):void 0===s?o.setValue(l.field,i[l.field]):o.setValue(l.field,s),f}})(e,t,l)}.bind(this),e.FetcherErrorLogger(i))}}},"@VERSION@",{requires:["flickr-promise"],optional:["person-public-profile-models"]});YUI.add("person-public-profile-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.ModelFetchers["flickr-profile-getProfile"].run(t,this.appContext)},updateField:function(t,r){return e.ModelUpdaters["flickr-profile-setProfile"].run(t,r)}},remoteUpdateDescription:function(e,t,r){return this.setValue(e,"description",t.description),this.remote.updateBioField(t,r)},attributes:{nsid:{readOnly:!0,defaultFn:function(e){return e}},joinedDate:{validator:function(t){return e.AttributeHelpers.validateDate(t)},setter:function(t){return e.AttributeHelpers.coerceDate(t)},serialize:function(e){return e.format("X")},deserialize:function(t){return e.moment(t,"X")}},showcaseSetId:{defaultValue:0},city:{},country:{},firstName:{},lastName:{},hometown:{},email:{},occupation:{},profileDescription:{},profileDescriptionExpanded:{},timezone:{},website:{},facebook:{},facebookUrl:{},instagram:{},instagramUrl:{},tumblr:{},tumblrUrl:{},twitter:{},twitterUrl:{},pinterest:{},pinterestUrl:{},totalViews:{},totalTags:{},totalGeotagged:{},totalFaves:{},totalInGroup:{}}})},"@VERSION@",{requires:["flickr-model-registry","flickr-profile-getProfile-fetcher","flickr-profile-setProfile-updater"]});