/** * ! ngs-header - v1.4.2 * 2016-05-09 * Copyright (c) 2016 | ; **/ this.hbs=this.hbs||{},Handlebars.registerPartial("confirm_cancel_modal",this.hbs.confirm_cancel_modal=Handlebars.template(function(a,b,c,d,e){return this.compilerInfo=[4,">= 1.0.0"],c=this.merge(c,a.helpers),e=e||{},'\n \n Are you sure you want to cancel your registration? Your account has not yet been created.\n \n

\n Continue Registration\n Cancel Registration\n

\n
\n'})),Handlebars.registerPartial("mobile_modal_error",this.hbs.mobile_modal_error=Handlebars.template(function(a,b,c,d,e){function f(a,b){var c,d="";return d+='\n
\n '+k((c=a.error,c=null==c||c===!1?c:c.errorTop,typeof c===j?c.apply(a):c))+"\n
\n"}this.compilerInfo=[4,">= 1.0.0"],c=this.merge(c,a.helpers),e=e||{};var g,h,i="",j="function",k=this.escapeExpression,l=this;return h=c["if"].call(b,(g=b.error,null==g||g===!1?g:g.errorTop),{hash:{},inverse:l.noop,fn:l.program(1,f,e),data:e}),(h||0===h)&&(i+=h),i+="\n"})),Handlebars.registerPartial("mobile_modal_header",this.hbs.mobile_modal_header=Handlebars.template(function(a,b,c,d,e){return this.compilerInfo=[4,">= 1.0.0"],c=this.merge(c,a.helpers),e=e||{},'\n \n\n'})),this.hbs.mobile_app_switcher=Handlebars.template(function(a,b,c,d,e){return this.compilerInfo=[4,">= 1.0.0"],c=this.merge(c,a.helpers),e=e||{},'\n \n Menu\n\n\n\n'}),this.hbs.deactivate_account=Handlebars.template(function(a,b,c,d,e){function f(a,b){var c,d="";return d+='
'+k((c=a.error,c=null==c||c===!1?c:c.errorTop,typeof c===j?c.apply(a):c))+"
"}this.compilerInfo=[4,">= 1.0.0"],c=this.merge(c,a.helpers),e=e||{};var g,h,i="",j="function",k=this.escapeExpression,l=this;return i+='\n\n
\n Deactivate child profile\n
\n\n',h=c["if"].call(b,(g=b.error,null==g||g===!1?g:g.errorTop),{hash:{},inverse:l.noop,fn:l.program(1,f,e),data:e}),(h||0===h)&&(i+=h),i+='\n\n
\n\n
\n

Are you sure?

\n
\n
\n\n
\n

Your child will no longer be able to use kids site.

\n\n
\n\n \n Loading\n Processing...\n \n\n \n
\n\n\n"}),this.hbs.deactivate_account_done=Handlebars.template(function(a,b,c,d,e){function f(a,b){var c,d="";return d+='
'+k((c=a.error,c=null==c||c===!1?c:c.errorTop,typeof c===j?c.apply(a):c))+"
"}this.compilerInfo=[4,">= 1.0.0"],c=this.merge(c,a.helpers),e=e||{};var g,h,i="",j="function",k=this.escapeExpression,l=this;return i+='\n\n
\n Deactivate child profile\n
\n\n',h=c["if"].call(b,(g=b.error,null==g||g===!1?g:g.errorTop),{hash:{},inverse:l.noop,fn:l.program(1,f,e),data:e}),(h||0===h)&&(i+=h),i+='\n\n
\n\n
\n

Thanks!

\n
\n
\n\n
\n

Your child was successfully deactivated from kids site!

\n
\n\n \n\n
\n\n\n"}),this.hbs.deactivate_account_fail=Handlebars.template(function(a,b,c,d,e){function f(a,b){var c,d="";return d+='
'+k((c=a.error,c=null==c||c===!1?c:c.errorTop,typeof c===j?c.apply(a):c))+"
"}this.compilerInfo=[4,">= 1.0.0"],c=this.merge(c,a.helpers),e=e||{};var g,h,i="",j="function",k=this.escapeExpression,l=this;return i+='\n\n
\n Deactivate child profile\n
\n\n',h=c["if"].call(b,(g=b.error,null==g||g===!1?g:g.errorTop),{hash:{},inverse:l.noop,fn:l.program(1,f,e),data:e}),(h||0===h)&&(i+=h),i+='\n\n
\n\n
\n

Sorry

\n
\n
\n\n
\n

Your child could not be deactivated. Please, contact Natgeo staff to finish the operation.

\n\n
\n\n
\n\n\n"}),this.hbs.forgot_password=Handlebars.template(function(a,b,c,d,e){function f(a,b){var c,d="";return d+='
'+o((c=a.error,c=null==c||c===!1?c:c.errorTop,typeof c===n?c.apply(a):c))+"
"}function g(a,b){var d,e="";return e+='\n

An email with instructions on how to reset your password has been sent to ',(d=c.email)?d=d.call(a,{hash:{},data:b}):(d=a.email,d=typeof d===n?d.apply(a):d),e+=o(d)+".

\n\n "}function h(a,b){var d,e,f="";return f+='\n
\n

Please provide your email address and we will send you a link so that you can reset your password.

\n
\n
\n
\n \n ',e=c["if"].call(a,(d=a.error,null==d||d===!1?d:d.email),{hash:{},inverse:p.noop,fn:p.program(8,j,b),data:b}),(e||0===e)&&(f+=e),f+='\n \n
\n
\n\n \n Sending email\n Sending email....\n \n\n \n '}function i(a,b){return"inputError"}function j(a,b){var c,d="";return d+=''+o((c=a.error,c=null==c||c===!1?c:c.email,typeof c===n?c.apply(a):c))+""}this.compilerInfo=[4,">= 1.0.0"],c=this.merge(c,a.helpers),e=e||{};var k,l,m="",n="function",o=this.escapeExpression,p=this;return m+='
Forgot Password
\n',l=c["if"].call(b,(k=b.error,null==k||k===!1?k:k.errorTop),{hash:{},inverse:p.noop,fn:p.program(1,f,e),data:e}),(l||0===l)&&(m+=l),m+='\n
\n
\n

Forgot password

\n
\n
\n\n ',l=c["if"].call(b,b.success,{hash:{},inverse:p.program(5,h,e),fn:p.program(3,g,e),data:e}),(l||0===l)&&(m+=l),m+="\n
\n\n\n"}),this.hbs.join=Handlebars.template(function(a,b,c,d,e){function f(a,b){return'\n Connect with Facebook\n or\n '}this.compilerInfo=[4,">= 1.0.0"],c=this.merge(c,a.helpers),e=e||{};var g,h,i="",j=this,k="function",l=c.blockHelperMissing,m=this.escapeExpression;return i+='
\n
\n
\n

Join The National Geographic Community

\n \n
\n
\n\n \n
\n\n
\n
\n

Create A Free Account

\n
\n
\n\n ',h={hash:{},inverse:j.noop,fn:j.program(1,f,e),data:e},(g=c.unless_embedded_browser)?g=g.call(b,h):(g=b.unless_embedded_browser,g=typeof g===k?g.apply(b):g),c.unless_embedded_browser||(g=l.call(b,g,h)),(g||0===g)&&(i+=g),i+='\n\n Join now with email address\n
\n\n
\n \n
\n
\n\n\n"}),this.hbs.location=Handlebars.template(function(a,b,c,d,e){function f(a,b){var c,d="";return d+='
'+o((c=a.error,c=null==c||c===!1?c:c.errorTop,typeof c===n?c.apply(a):c))+"
"}function g(a,b){var c;return o((c=a.native_reg,c=null==c||c===!1?c:c.middleName,typeof c===n?c.apply(a):c))}function h(a,b){return"inputError"}function i(a,b){var c,d="";return d+='value="'+o((c=a.formValues,c=null==c||c===!1?c:c.locationName,typeof c===n?c.apply(a):c))+'"'}function j(a,b){var c,d="";return d+=''+o((c=a.error,c=null==c||c===!1?c:c.locationName,typeof c===n?c.apply(a):c))+""}this.compilerInfo=[4,">= 1.0.0"],c=this.merge(c,a.helpers),d=this.merge(d,a.partials),e=e||{};var k,l,m="",n="function",o=this.escapeExpression,p=this;return m+='
Create a new account
\n',l=c["if"].call(b,(k=b.error,null==k||k===!1?k:k.errorTop),{hash:{},inverse:p.noop,fn:p.program(1,f,e),data:e}),(l||0===l)&&(m+=l),m+='\n
\n
\n

Complete Your Account

\n
\n
\n\n
\n
\n \n\n
\n

Welcome, '+o((k=b.native_reg,k=null==k||k===!1?k:k.firstName,typeof k===n?k.apply(b):k))+" ",l=c["if"].call(b,(k=b.native_reg,null==k||k===!1?k:k.middleName),{hash:{},inverse:p.noop,fn:p.program(3,g,e),data:e}),(l||0===l)&&(m+=l),m+=" "+o((k=b.native_reg,k=null==k||k===!1?k:k.lastName,typeof k===n?k.apply(b):k))+'

\n

Upload a profile photo.
\n You can always change it later.

\n
\n
\n
\n
\n \n \n
\n Choose file\n (up to 1MB)\n
\n
\n\n
\n

Please type your town name, then select your location from the drop-down list

\n
\n \n
\n ?\n
\n
    \n
  • Why are we asking for your location? Your geographic location will provide valuable context to the stories you may share with us! In addition, we want to provide our community easy ways to connect with other members in their area.
  • \n
\n
\n
\n
\n\n ',l=c["if"].call(b,(k=b.error,null==k||k===!1?k:k.locationName),{hash:{},inverse:p.noop,fn:p.program(9,j,e),data:e}),(l||0===l)&&(m+=l),m+='\n\n
\n\n \n\n

Required fields

\n\n \n Loading\n Your account is being created.\n \n\n ',l=p.invokePartial(d.confirm_cancel_modal,"confirm_cancel_modal",b,c,d,e),(l||0===l)&&(m+=l),m+='\n\n \n
\n\n\n"}),this.hbs.logged_in=Handlebars.template(function(a,b,c,d,e){function f(a,b){var c="";return c}function g(a,b){return"hidden"}this.compilerInfo=[4,">= 1.0.0"],c=this.merge(c,a.helpers),e=e||{};var h,i,j="",k="function",l=this.escapeExpression,m=this,n=c.blockHelperMissing;return j+='\n'}),this.hbs.mobile_logged_in=Handlebars.template(function(a,b,c,d,e){function f(a,b){var c="";return c}function g(a,b){return"hidden"}this.compilerInfo=[4,">= 1.0.0"],c=this.merge(c,a.helpers),e=e||{};var h,i,j="",k="function",l=this.escapeExpression,m=this,n=c.blockHelperMissing;return j+='\n \n More\n\n\n\n'}),this.hbs.logged_out=Handlebars.template(function(a,b,c,d,e){return this.compilerInfo=[4,">= 1.0.0"],c=this.merge(c,a.helpers),e=e||{},'\n'}),this.hbs.lucie_reg=Handlebars.template(function(a,b,c,d,e){function f(a,b){var c,d="";return d+='
'+r((c=a.error,c=null==c||c===!1?c:c.errorTop,typeof c===q?c.apply(a):c))+"
"}function g(a,b){return"inputError"}function h(a,b){var d,e,f,g="";return g+='\n \n "}function i(a,b){return'selected="selected"'}function j(a,b){var d,e,f,g="";return g+='\n \n "}function k(a,b){var c,d="";return d+=''+r((c=a.error,c=null==c||c===!1?c:c.birthDate,typeof c===q?c.apply(a):c))+""}function l(a,b){var c,d="";return d+='value="'+r((c=a.formValues,c=null==c||c===!1?c:c.locationName,typeof c===q?c.apply(a):c))+'"'}function m(a,b){var c,d="";return d+=''+r((c=a.error,c=null==c||c===!1?c:c.locationName,typeof c===q?c.apply(a):c))+""}this.compilerInfo=[4,">= 1.0.0"],c=this.merge(c,a.helpers),e=e||{};var n,o,p="",q="function",r=this.escapeExpression,s=this,t=c.helperMissing;return p+='
\n\n',o=c["if"].call(b,(n=b.error,null==n||n===!1?n:n.errorTop),{hash:{},inverse:s.noop,fn:s.program(1,f,e),data:e}),(o||0===o)&&(p+=o),p+='\n\n
\n
\n

Complete your account

\n
\n
\n\n
\n
\n \n\n
\n\n
\n
\n \n
\n ?\n
\n
    \n
  • Providing your birthday helps ensure you get the right National Geographic experience. This information will not be displayed to others.
  • \n
\n
\n
\n
\n \n \n\n \n\n \n \n
\n ", o=c["if"].call(b,(n=b.error,null==n||n===!1?n:n.birthDate),{hash:{},inverse:s.noop,fn:s.program(10,k,e),data:e}),(o||0===o)&&(p+=o),p+='\n
\n\n
\n

Please type your town name, then select your location from the drop-down list

\n
\n \n
\n ?\n
\n
    \n
  • Why are we asking for your location? Your geographic location will provide valuable context to the stories you may share with us! In addition, we want to provide our community easy ways to connect with other members in their area.
  • \n
\n
\n
\n
\n\n ',o=c["if"].call(b,(n=b.error,null==n||n===!1?n:n.locationName),{hash:{},inverse:s.noop,fn:s.program(14,m,e),data:e}),(o||0===o)&&(p+=o),p+='\n\n\n
\n\n \n
\n
\n\n \n Loading\n Processing...\n \n\n \n
\n\n\n"}),this.hbs.mobile_join=Handlebars.template(function(a,b,c,d,e){function f(a,b){return'\n Or\n \n Connect with facebook\n \n \n \n \n '}this.compilerInfo=[4,">= 1.0.0"],c=this.merge(c,a.helpers),d=this.merge(d,a.partials),e=e||{};var g,h,i="",j=this,k="function",l=c.blockHelperMissing,m=this.escapeExpression;return i+='
\n
\n

Join The Community

\n ',g=j.invokePartial(d.mobile_modal_header,"mobile_modal_header",b,c,d,e),(g||0===g)&&(i+=g),i+='\n
\n\n
\n
\n

Already a member?

\n Sign In\n

Not a member?

\n Join now with email address\n\n ',h={hash:{},inverse:j.noop,fn:j.program(1,f,e),data:e},(g=c.unless_embedded_browser)?g=g.call(b,h):(g=b.unless_embedded_browser,g=typeof g===k?g.apply(b):g),c.unless_embedded_browser||(g=l.call(b,g,h)),(g||0===g)&&(i+=g),i+='\n
\n
\n\n
\n
\n \n
\n
\n\n\n"}),this.hbs.mobile_logged_out=Handlebars.template(function(a,b,c,d,e){return this.compilerInfo=[4,">= 1.0.0"],c=this.merge(c,a.helpers),e=e||{},'\n'}),this.hbs.mobile_reg=Handlebars.template(function(a,b,c,d,e){function f(a,b){return"inputError"}function g(a,b){var c,d="";return d+=' value="'+x((c=a.formValues,c=null==c||c===!1?c:c.firstName,typeof c===w?c.apply(a):c))+'"'}function h(a,b){var c,d="";return d+=''+x((c=a.error,c=null==c||c===!1?c:c.firstName,typeof c===w?c.apply(a):c))+""}function i(a,b){var c,d="";return d+=' value="'+x((c=a.formValues,c=null==c||c===!1?c:c.lastName,typeof c===w?c.apply(a):c))+'"'}function j(a,b){var c,d="";return d+=''+x((c=a.error,c=null==c||c===!1?c:c.lastName,typeof c===w?c.apply(a):c))+""}function k(a,b){var c,d="";return d+=' value="'+x((c=a.formValues,c=null==c||c===!1?c:c.email,typeof c===w?c.apply(a):c))+'"'}function l(a,b){var c,d="";return d+=''+x((c=a.error,c=null==c||c===!1?c:c.email,typeof c===w?c.apply(a):c))+""}function m(a,b){var c,d="";return d+=''+x((c=a.error,c=null==c||c===!1?c:c.password,typeof c===w?c.apply(a):c))+""}function n(a,b){var d,e,f,g="";return g+='\n \n "}function o(a,b){return'selected="selected"'}function p(a,b){var d,e,f,g="";return g+='\n \n "}function q(a,b){var c,d="";return d+='\n '+x((c=a.error,c=null==c||c===!1?c:c.birthDate,typeof c===w?c.apply(a):c))+"\n "}function r(a,b){var c,d="";return d+='value="'+x((c=a.formValues,c=null==c||c===!1?c:c.locationName,typeof c===w?c.apply(a):c))+'"'}function s(a,b){var c,d="";return d+=''+x((c=a.error,c=null==c||c===!1?c:c.locationName,typeof c===w?c.apply(a):c))+""}this.compilerInfo=[4,">= 1.0.0"],c=this.merge(c,a.helpers),d=this.merge(d,a.partials),e=e||{};var t,u,v="",w="function",x=this.escapeExpression,y=this,z=c.helperMissing;return t=y.invokePartial(d.mobile_modal_error,"mobile_modal_error",b,c,d,e),(t||0===t)&&(v+=t),v+='\n\n
\n
\n

Create Your Account

\n ',t=y.invokePartial(d.mobile_modal_header,"mobile_modal_header",b,c,d,e),(t||0===t)&&(v+=t),v+='\n
\n\n
\n
\n \n
\n \n \n ",u=c["if"].call(b,(t=b.error,null==t||t===!1?t:t.firstName),{hash:{},inverse:y.noop,fn:y.program(5,h,e),data:e}),(u||0===u)&&(v+=u),v+='\n \n\n \n \n ",u=c["if"].call(b,(t=b.error,null==t||t===!1?t:t.lastName),{hash:{},inverse:y.noop,fn:y.program(9,j,e),data:e}),(u||0===u)&&(v+=u),v+='\n \n\n
\n \n \n ",u=c["if"].call(b,(t=b.error,null==t||t===!1?t:t.email),{hash:{},inverse:y.noop,fn:y.program(13,l,e),data:e}),(u||0===u)&&(v+=u),v+='\n \n\n
\n \n
\n
    \n
  • At least 8 characters
  • \n
  • Contains a number and a letter
  • \n \n
  • Password does not meet requirements
  • \n
\n
\n ',u=c["if"].call(b,(t=b.error,null==t||t===!1?t:t.password),{hash:{},inverse:y.noop,fn:y.program(15,m,e),data:e}),(u||0===u)&&(v+=u),v+='\n
\n\n
\n
\n \n
\n \n \n\n \n\n \n \n
\n ",u=c["if"].call(b,(t=b.error,null==t||t===!1?t:t.birthDate),{hash:{},inverse:y.noop,fn:y.program(22,q,e),data:e}),(u||0===u)&&(v+=u),v+='\n\n
\n \n ',u=c["if"].call(b,(t=b.error,null==t||t===!1?t:t.locationName),{hash:{},inverse:y.noop,fn:y.program(26,s,e),data:e}),(u||0===u)&&(v+=u),v+='\n
\n\n \n\n \n\n
\n \n
\n\n
\n \n
\n
\n
\n
\n\n
\n \n
\n
\n\n\n Loading\n Processing...\n\n\n\n"}),this.hbs.mobile_reg_verification=Handlebars.template(function(a,b,c,d,e){function f(a,b){var c,d="";return d+='\n
'+k((c=a.error,c=null==c||c===!1?c:c.errorTop,typeof c===j?c.apply(a):c))+"
\n"}this.compilerInfo=[4,">= 1.0.0"],c=this.merge(c,a.helpers),d=this.merge(d,a.partials),e=e||{};var g,h,i="",j="function",k=this.escapeExpression,l=this;return h=c["if"].call(b,(g=b.error,null==g||g===!1?g:g.errorTop),{hash:{},inverse:l.noop,fn:l.program(1,f,e),data:e}),(h||0===h)&&(i+=h),i+='\n\n
\n
\n

Verification Sent

\n ',h=l.invokePartial(d.mobile_modal_header,"mobile_modal_header",b,c,d,e),(h||0===h)&&(i+=h),i+='\n
\n\n

\n Thanks for joining!\n

\n\n
\n\n

\n To finish activating your account, please click the link in the confirmation email we sent to\n ',(h=c.email)?h=h.call(b,{hash:{},data:e}):(h=b.email,h=typeof h===j?h.apply(b):h),i+=k(h)+'.\n

\n\n
\n Close\n
\n
\n\n\n"}),this.hbs.mobile_signin=Handlebars.template(function(a,b,c,d,e){function f(a,b){var d,e,f,h="";return h+='\n
\n '+r((d=a.error,d=null==d||d===!1?d:d.errorTop,typeof d===q?d.apply(a):d))+"\n ",f={hash:{},inverse:s.noop,fn:s.program(2,g,b),data:b},d=c.checkError||a.checkError,e=d?d.call(a,(d=a.error,null==d||d===!1?d:d.code),"USER_EMAIL_NOT_VERIFIED",f):t.call(a,"checkError",(d=a.error,null==d||d===!1?d:d.code),"USER_EMAIL_NOT_VERIFIED",f),(e||0===e)&&(h+=e),h+="\n
\n"}function g(a,b){var d,e="";return e+='\n \n '}function h(a,b){return"inputError"}function i(a,b){var d;return(d=c.username)?d=d.call(a,{hash:{},data:b}):(d=a.username,d=typeof d===q?d.apply(a):d),r(d)}function j(a,b){var c,d="";return d+=''+r((c=a.error,c=null==c||c===!1?c:c.email,typeof c===q?c.apply(a):c))+""}function k(a,b){var c,d="";return d+=''+r((c=a.error,c=null==c||c===!1?c:c.password,typeof c===q?c.apply(a):c))+""}function l(a,b){return'\n \n Or\n \n\n \n Sign In with Facebook\n \n \n \n \n '}this.compilerInfo=[4,">= 1.0.0"],c=this.merge(c,a.helpers),d=this.merge(d,a.partials),e=e||{};var m,n,o,p="",q="function",r=this.escapeExpression,s=this,t=c.helperMissing,u=c.blockHelperMissing;return n=c["if"].call(b,(m=b.error,null==m||m===!1?m:m.errorTop),{hash:{},inverse:s.noop,fn:s.program(1,f,e),data:e}),(n||0===n)&&(p+=n),p+='\n\n
\n
\n

Sign In

\n ',n=s.invokePartial(d.mobile_modal_header,"mobile_modal_header",b,c,d,e),(n||0===n)&&(p+=n),p+='\n
\n\n
\n \n
\n\n
\n Forgot your password?\n Join\n
\n
\n\n\n"}),this.hbs.mobile_social_reg=Handlebars.template(function(a,b,c,d,e){function f(a,b){var c;return p((c=a.userData,c=null==c||c===!1?c:c.middleName,typeof c===o?c.apply(a):c))}function g(a,b){return"inputError"}function h(a,b){var d,e,f="";return f+='value="'+p((d=a.userData,d=null==d||d===!1?d:d.city,typeof d===o?d.apply(a):d))+", ",e=c["if"].call(a,(d=a.userData,null==d||d===!1?d:d.country),{hash:{},inverse:q.noop,fn:q.program(6,i,b),data:b}),(e||0===e)&&(f+=e),f+='"'}function i(a,b){var c;return p((c=a.userData,c=null==c||c===!1?c:c.country,typeof c===o?c.apply(a):c))}function j(a,b){var c,d="";return d+=''+p((c=a.error,c=null==c||c===!1?c:c.locationName,typeof c===o?c.apply(a):c))+""}function k(a,b){var c,d="";return d+='\n '+p((c=a.error,c=null==c||c===!1?c:c.password,typeof c===o?c.apply(a):c))+"\n "}this.compilerInfo=[4,">= 1.0.0"],c=this.merge(c,a.helpers),d=this.merge(d,a.partials),e=e||{};var l,m,n="",o="function",p=this.escapeExpression,q=this;return l=q.invokePartial(d.mobile_modal_error,"mobile_modal_error",b,c,d,e),(l||0===l)&&(n+=l),n+='\n\n
\n
\n

Join The Community

\n ',l=q.invokePartial(d.mobile_modal_header,"mobile_modal_header",b,c,d,e),(l||0===l)&&(n+=l),n+='\n
\n\n
\n

\n Welcome, '+p((l=b.userData,l=null==l||l===!1?l:l.firstName,typeof l===o?l.apply(b):l))+" ",m=c["if"].call(b,(l=b.userData,null==l||l===!1?l:l.middleName),{hash:{},inverse:q.noop,fn:q.program(1,f,e),data:e}),(m||0===m)&&(n+=m),n+=" "+p((l=b.userData,l=null==l||l===!1?l:l.lastName,typeof l===o?l.apply(b):l))+'\n

\n
\n \n\n
\n

This is your profile photo. You can always change it later.\n

\n
\n
\n
\n\n
\n

Please provide some additional information to finish registering.

\n
\n \n
\n ?\n
\n
    \n
  • Why are we asking for your location? Your geographic location will provide valuable context to the stories you may share with us! In addition, we want to provide our community easy ways to connect with other members in their area.
  • \n
\n
\n
\n ',m=c["if"].call(b,(l=b.error,null==l||l===!1?l:l.locationName),{hash:{},inverse:q.noop,fn:q.program(8,j,e),data:e}),(m||0===m)&&(n+=m),n+='\n
\n\n
\n \n
\n
    \n
  • At least 8 characters
  • \n
  • Contains a number and a letter
  • \n
  • Password does not meet requirements
  • \n
\n
\n ',m=c["if"].call(b,(l=b.error,null==l||l===!1?l:l.password),{hash:{},inverse:q.noop,fn:q.program(10,k,e),data:e}),(m||0===m)&&(n+=m),n+='\n
\n \n\n

Required fields

\n
\n\n \n\n \n Loading\n Your account is being created.\n \n\n ',m=q.invokePartial(d.confirm_cancel_modal,"confirm_cancel_modal",b,c,d,e),(m||0===m)&&(n+=m),n+='\n\n \n
\n\n"}),this.hbs.native_reg=Handlebars.template(function(a,b,c,d,e){function f(a,b){var c,d="";return d+='
'+y((c=a.error,c=null==c||c===!1?c:c.errorTop,typeof c===x?c.apply(a):c))+"
"}function g(a,b){return"inputError"}function h(a,b){var c,d="";return d+=' value="'+y((c=a.formValues,c=null==c||c===!1?c:c.firstName,typeof c===x?c.apply(a):c))+'"'}function i(a,b){var c,d="";return d+=''+y((c=a.error,c=null==c||c===!1?c:c.firstName,typeof c===x?c.apply(a):c))+""}function j(a,b){var c,d="";return d+=' value="'+y((c=a.formValues,c=null==c||c===!1?c:c.middleName,typeof c===x?c.apply(a):c))+'"'}function k(a,b){var c,d="";return d+=''+y((c=a.error,c=null==c||c===!1?c:c.middleName,typeof c===x?c.apply(a):c))+""}function l(a,b){var c,d="";return d+=' value="'+y((c=a.formValues,c=null==c||c===!1?c:c.lastName,typeof c===x?c.apply(a):c))+'"'}function m(a,b){var c,d="";return d+=''+y((c=a.error,c=null==c||c===!1?c:c.lastName,typeof c===x?c.apply(a):c))+""}function n(a,b){var d,e,f,g="";return g+='\n \n "}function o(a,b){return'selected="selected"'}function p(a,b){var d,e,f,g="";return g+='\n \n "}function q(a,b){var c,d="";return d+=''+y((c=a.error,c=null==c||c===!1?c:c.birthDate,typeof c===x?c.apply(a):c))+""}function r(a,b){var c,d="";return d+=' value="'+y((c=a.formValues,c=null==c||c===!1?c:c.email,typeof c===x?c.apply(a):c))+'"'}function s(a,b){var c,d="";return d+=''+y((c=a.error,c=null==c||c===!1?c:c.email,typeof c===x?c.apply(a):c))+""}function t(a,b){var c,d="";return d+=''+y((c=a.error,c=null==c||c===!1?c:c.password,typeof c===x?c.apply(a):c))+""}this.compilerInfo=[4,">= 1.0.0"],c=this.merge(c,a.helpers),e=e||{};var u,v,w="",x="function",y=this.escapeExpression,z=this,A=c.helperMissing;return w+='
Create a new account
\n',v=c["if"].call(b,(u=b.error,null==u||u===!1?u:u.errorTop),{hash:{},inverse:z.noop,fn:z.program(1,f,e),data:e}),(v||0===v)&&(w+=v),w+='\n
\n\n
\n

Join the National Geographic Community

\n
\n
\n\n
\n
\n \n
\n \n \n ",v=c["if"].call(b,(u=b.error,null==u||u===!1?u:u.firstName),{hash:{},inverse:z.noop,fn:z.program(7,i,e),data:e}),(v||0===v)&&(w+=v),w+='\n \n\n \n ",v=c["if"].call(b,(u=b.error,null==u||u===!1?u:u.middleName),{hash:{},inverse:z.noop,fn:z.program(11,k,e),data:e}),(v||0===v)&&(w+=v),w+='\n\n \n \n ",v=c["if"].call(b,(u=b.error,null==u||u===!1?u:u.lastName),{hash:{},inverse:z.noop,fn:z.program(15,m,e),data:e}),(v||0===v)&&(w+=v),w+='\n \n\n
\n
\n \n
\n ?\n
\n
    \n
  • Providing your birthday helps ensure you get the right National Geographic experience. This information will not be displayed to others.
  • \n
\n
\n
\n
\n \n \n\n \n\n \n \n
\n ",v=c["if"].call(b,(u=b.error,null==u||u===!1?u:u.birthDate),{hash:{},inverse:z.noop,fn:z.program(22,q,e),data:e}),(v||0===v)&&(w+=v),w+='\n
\n
\n \n \n ",v=c["if"].call(b,(u=b.error,null==u||u===!1?u:u.email),{hash:{},inverse:z.noop,fn:z.program(26,s,e),data:e}),(v||0===v)&&(w+=v),w+='\n \n\n
\n \n
\n
    \n
  • At least 8 characters
  • \n
  • Contains a number and a letter
  • \n \n
  • Password does not meet requirements
  • \n
\n
\n ',v=c["if"].call(b,(u=b.error,null==u||u===!1?u:u.password),{hash:{},inverse:z.noop,fn:z.program(28,t,e),data:e}),(v||0===v)&&(w+=v),w+='\n
\n\n \n \n
\n
\n
\n\n \n Loading\n Processing...\n \n\n \n
\n\n\n"}),this.hbs.nocookies=Handlebars.template(function(a,b,c,d,e){this.compilerInfo=[4,">= 1.0.0"],c=this.merge(c,a.helpers),e=e||{};var f,g,h,i="",j="function",k=this.escapeExpression,l=c.helperMissing;return i+='
Warning
\n
\n
\n

Please enable cookies to continue

\n
\n
\n
\n

Cookies are bits of informations stored on your computer which are required in order to sign up and login. They allow us to offer you a better browsing experience as well.

\n

We noticed you\'re using ',(f=c._browser)?f=f.call(b,{hash:{},data:e}):(f=b._browser,f=typeof f===j?f.apply(b):f),i+=k(f)+" to browse National Geographic. Below is a link to ",h={hash:{},data:e},i+=k((f=c.link_to||b.link_to,f?f.call(b,b._cookie_support_url,b._browser,h):l.call(b,"link_to",b._cookie_support_url,b._browser,h)))+" support where you can learn more about cookies and how you can enable them.

\n

For more information, visit ",h={hash:{},data:e},i+=k((f=c.link_to||b.link_to,f?f.call(b,b._cookie_support_url,b._browser,h):l.call(b,"link_to",b._cookie_support_url,b._browser,h)))+" support.

\n
\n
\n"}),this.hbs.resend_email_verification=Handlebars.template(function(a,b,c,d,e){function f(a,b){var c,d="";return d+='
'+k((c=a.error,c=null==c||c===!1?c:c.errorTop,typeof c===j?c.apply(a):c))+"
"}this.compilerInfo=[4,">= 1.0.0"],c=this.merge(c,a.helpers),e=e||{};var g,h,i="",j="function",k=this.escapeExpression,l=this;return i+='
Verification sent
\n',h=c["if"].call(b,(g=b.error,null==g||g===!1?g:g.errorTop),{hash:{},inverse:l.noop,fn:l.program(1,f,e),data:e}),(h||0===h)&&(i+=h),i+='\n
\n
\n

Verification sent

\n
\n
\n

To activate your account, please click the email activation link we sent to ',(h=c.email)?h=h.call(b,{hash:{},data:e}):(h=b.email,h=typeof h===j?h.apply(b):h),i+=k(h)+'.

\n

You can also request the link again.

\n
\n \n \n
\n
\n\n"}),this.hbs.reset_password=Handlebars.template(function(a,b,c,d,e){function f(a,b){var d,e="";return e+='\n

An email with instructions on how to reset your password has been sent to ',(d=c.email)?d=d.call(a,{hash:{},data:b}):(d=a.email,d=typeof d===l?d.apply(a):d),e+=m(d)+".

\n\n "}function g(a,b){var d,e,f="";return f+='\n

Please enter a new password.

\n
\n
\n
\n \n
\n
    \n
  • At least 8 characters
  • \n
  • Contains a number and a letter
  • \n \n
  • Password does not meet requirements
  • \n
\n
\n ',e=c["if"].call(a,(d=a.error,null==d||d===!1?d:d.password),{hash:{},inverse:n.noop,fn:n.program(6,i,b),data:b}),(e||0===e)&&(f+=e),f+='\n
\n
\n\n
\n
\n \n
\n
    \n
  • Passwords do not match
  • \n
\n
\n
\n
\n \n
\n\n \n Setting password\n Resetting password....\n \n\n \n '}function h(a,b){return"inputError"}function i(a,b){var c,d="";return d+=''+m((c=a.error,c=null==c||c===!1?c:c.password,typeof c===l?c.apply(a):c))+""}this.compilerInfo=[4,">= 1.0.0"],c=this.merge(c,a.helpers),d=this.merge(d,a.partials),e=e||{};var j,k="",l="function",m=this.escapeExpression,n=this;return k+='
Reset Password
\n',j=n.invokePartial(d.mobile_modal_error,"mobile_modal_error",b,c,d,e),(j||0===j)&&(k+=j),k+='\n
\n
\n

Reset password

\n
\n
\n\n ',j=c["if"].call(b,b.success,{hash:{},inverse:n.program(3,g,e),fn:n.program(1,f,e),data:e}),(j||0===j)&&(k+=j),k+="\n
\n\n\n\n"}),this.hbs.signin=Handlebars.template(function(a,b,c,d,e){function f(a,b){var d,e,f,h="";return h+='\n
\n '+r((d=a.error,d=null==d||d===!1?d:d.errorTop,typeof d===q?d.apply(a):d))+"\n ",f={hash:{},inverse:s.noop,fn:s.program(2,g,b),data:b},d=c.checkError||a.checkError,e=d?d.call(a,(d=a.error,null==d||d===!1?d:d.code),"USER_EMAIL_NOT_VERIFIED",f):t.call(a,"checkError",(d=a.error,null==d||d===!1?d:d.code),"USER_EMAIL_NOT_VERIFIED",f),(e||0===e)&&(h+=e),h+="\n
\n"}function g(a,b){var d,e="";return e+='\n \n '}function h(a,b){return"inputError"}function i(a,b){var d;return(d=c.username)?d=d.call(a,{hash:{},data:b}):(d=a.username,d=typeof d===q?d.apply(a):d),r(d)}function j(a,b){var c,d="";return d+=''+r((c=a.error,c=null==c||c===!1?c:c.email,typeof c===q?c.apply(a):c))+""}function k(a,b){var c,d="";return d+=''+r((c=a.error,c=null==c||c===!1?c:c.password,typeof c===q?c.apply(a):c))+""}function l(a,b){return'\n
\n
\n

\n Or\n Sign In with Facebook\n

\n
\n
\n '}this.compilerInfo=[4,">= 1.0.0"],c=this.merge(c,a.helpers),e=e||{};var m,n,o,p="",q="function",r=this.escapeExpression,s=this,t=c.helperMissing,u=c.blockHelperMissing;return p+='
Sign In
\n',n=c["if"].call(b,(m=b.error,null==m||m===!1?m:m.errorTop),{hash:{},inverse:s.noop,fn:s.program(1,f,e),data:e}),(n||0===n)&&(p+=n),p+='\n\n
\n
\n

Member sign in

\n
\n
\n\n
\n \n
\n\n ',o={hash:{},inverse:s.noop,fn:s.program(12,l,e),data:e},(n=c.unless_embedded_browser)?n=n.call(b,o):(n=b.unless_embedded_browser,n=typeof n===q?n.apply(b):n),c.unless_embedded_browser||(n=u.call(b,n,o)),(n||0===n)&&(p+=n),p+='\n\n
\n Forgot your password?\n
\n\n \n
\n\n\n\n\n\n"}),this.hbs.social_reg=Handlebars.template(function(a,b,c,d,e){function f(a,b){var c,d="";return d+='
'+u((c=a.error,c=null==c||c===!1?c:c.errorTop,typeof c===t?c.apply(a):c))+"
"}function g(a,b){var c;return u((c=a.userData,c=null==c||c===!1?c:c.middleName,typeof c===t?c.apply(a):c))}function h(a,b){return"inputError"}function i(a,b){var d,e,f,g="";return g+='\n \n "}function j(a,b){return'selected="selected"'}function k(a,b){var d,e,f,g="";return g+='\n \n "}function l(a,b){var c,d="";return d+=''+u((c=a.error,c=null==c||c===!1?c:c.birthDate,typeof c===t?c.apply(a):c))+""}function m(a,b){var d,e,f="";return f+='value="'+u((d=a.userData,d=null==d||d===!1?d:d.city,typeof d===t?d.apply(a):d))+", ",e=c["if"].call(a,(d=a.userData,null==d||d===!1?d:d.country),{hash:{},inverse:w.noop,fn:w.program(15,n,b),data:b}),(e||0===e)&&(f+=e),f+='"'}function n(a,b){var c;return u((c=a.userData,c=null==c||c===!1?c:c.country,typeof c===t?c.apply(a):c))}function o(a,b){var c,d="";return d+=''+u((c=a.error,c=null==c||c===!1?c:c.locationName,typeof c===t?c.apply(a):c))+""}function p(a,b){var c,d="";return d+='\n '+u((c=a.error,c=null==c||c===!1?c:c.password,typeof c===t?c.apply(a):c))+"\n "}this.compilerInfo=[4,">= 1.0.0"],c=this.merge(c,a.helpers),d=this.merge(d,a.partials),e=e||{};var q,r,s="",t="function",u=this.escapeExpression,v=c.helperMissing,w=this;return s+='
Create a new account
\n',r=c["if"].call(b,(q=b.error,null==q||q===!1?q:q.errorTop),{hash:{},inverse:w.noop,fn:w.program(1,f,e),data:e}),(r||0===r)&&(s+=r),s+='\n
\n
\n

Complete Your Account

\n
\n
\n\n
\n
\n \n\n
\n

Welcome, '+u((q=b.userData,q=null==q||q===!1?q:q.firstName,typeof q===t?q.apply(b):q))+" ",r=c["if"].call(b,(q=b.userData,null==q||q===!1?q:q.middleName),{hash:{},inverse:w.noop,fn:w.program(3,g,e),data:e}),(r||0===r)&&(s+=r),s+=" "+u((q=b.userData,q=null==q||q===!1?q:q.lastName,typeof q===t?q.apply(b):q))+'

\n\n

\n Use your profile picture from Facebook or upload a new one.
You can always change it later.\n

\n
\n
\n\n
\n
\n \n \n
\n Choose file\n (up to 1MB)\n
\n
\n\n
\n
\n
\n \n
\n ?\n
\n
    \n
  • Providing your birthday helps ensure you get the right National Geographic experience. This information will not be displayed to others.
  • \n
\n
\n
\n
\n \n \n\n \n\n \n \n
\n ",r=c["if"].call(b,(q=b.error,null==q||q===!1?q:q.birthDate),{hash:{},inverse:w.noop,fn:w.program(12,l,e),data:e}),(r||0===r)&&(s+=r),s+='\n\n

Please type your town name, then select your location from the drop-down list

\n
\n \n
\n ?\n
\n
    \n
  • Why are we asking for your location? Your geographic location will provide valuable context to the stories you may share with us! In addition, we want to provide our community easy ways to connect with other members in their area.
  • \n
\n
\n
\n ',r=c["if"].call(b,(q=b.error,null==q||q===!1?q:q.locationName),{hash:{},inverse:w.noop,fn:w.program(17,o,e),data:e}),(r||0===r)&&(s+=r),s+='\n
\n\n
\n \n
\n
    \n
  • At least 8 characters
  • \n
  • Contains a number and a letter
  • \n
  • Password does not meet requirements
  • \n
\n
\n ',r=c["if"].call(b,(q=b.error,null==q||q===!1?q:q.password),{hash:{},inverse:w.noop,fn:w.program(19,p,e),data:e}),(r||0===r)&&(s+=r),s+='\n
\n \n
\n\n \n\n

Required fields

\n\n \n Loading\n Your account is being created.\n \n\n ',r=w.invokePartial(d.confirm_cancel_modal,"confirm_cancel_modal",b,c,d,e),(r||0===r)&&(s+=r),s+='\n\n \n
\n\n\n"}),this.hbs.verification=Handlebars.template(function(a,b,c,d,e){function f(a,b){var c,d="";return d+=''+n((c=a.error,c=null==c||c===!1?c:c.errorTop,typeof c===m?c.apply(a):c))+""}function g(a,b){return"inputError"}function h(a,b){var c,d="";return d+=''+n((c=a.error,c=null==c||c===!1?c:c.email,typeof c===m?c.apply(a):c))+""}function i(a,b){var c,d="";return d+=''+n((c=a.error,c=null==c||c===!1?c:c.password,typeof c===m?c.apply(a):c))+""}this.compilerInfo=[4,">= 1.0.0"],c=this.merge(c,a.helpers),e=e||{};var j,k,l="",m="function",n=this.escapeExpression,o=this;return l+='
\n
\n
\n

Account Verification

\n

Your account has been
created successfully,
please sign in to access your profile and account settings.

\n
\n
\n
\n
\n

Member sign in

\n
\n
\n \n Forgot your password?\n \n
\n
\n\n\n"});