jQuery.template("Tmpl-forecasts-premium-popup",function(n,$item){var $=n,__=[],t=$item.data;with(t)__.push('<div class="forecasts-premium-popup'),typeof(typeof addClass!="undefined")!="undefined"&&typeof addClass!="undefined"!=null&&(typeof(typeof addClass!="undefined")=="function"?(typeof addClass!="undefined").call($item):typeof addClass!="undefined")&&(__.push(" "),typeof addClass!="undefined"&&addClass!=null&&__.push($.encode(typeof addClass=="function"?addClass.call($item):addClass)),__.push("")),__.push('">  <div class="content '),typeof(typeof authenticated!="undefined"&&authenticated)!="undefined"&&(typeof authenticated!="undefined"&&authenticated)!=null&&(typeof(typeof authenticated!="undefined"&&authenticated)=="function"?(typeof authenticated!="undefined"&&authenticated).call($item):typeof authenticated!="undefined"&&authenticated)&&__.push("authenticated"),__.push('">   <span>'),typeof $.R!="undefined"&&$.R!=null&&__.push($.encode($.R("~/Tmpl/forecasts-premium-popup.htm","This content is available for professional users"))),__.push('<\/span>   <a href="/products/professional" target="_blank" class="ui-button premium learn-more">'),typeof $.R!="undefined"&&$.R!=null&&__.push($.encode($.R("~/Tmpl/forecasts-premium-popup.htm","Learn more"))),__.push('<\/a>   <a href="/products/professional/get?returnUrl='),typeof returnUrl!="undefined"&&returnUrl!=null&&__.push($.encode(typeof returnUrl=="function"?returnUrl.call($item):returnUrl)),__.push('" target="_blank" class="ui-button premium">'),typeof $.R!="undefined"&&$.R!=null&&__.push($.encode($.R("~/Tmpl/forecasts-premium-popup.htm","Activate now"))),__.push('<\/a>   <p class="subscriber '),typeof(typeof authenticated!="undefined"&&authenticated)!="undefined"&&(typeof authenticated!="undefined"&&authenticated)!=null&&(typeof(typeof authenticated!="undefined"&&authenticated)=="function"?(typeof authenticated!="undefined"&&authenticated).call($item):typeof authenticated!="undefined"&&authenticated)&&__.push("hidden"),__.push('">'),typeof $.R!="undefined"&&$.R!=null&&__.push($.encode($.R("~/Tmpl/forecasts-premium-popup.htm","Already a Knoema Professional user"))),__.push('? <a href="/sys/login?returnUrl='),typeof returnUrl!="undefined"&&returnUrl!=null&&__.push($.encode(typeof returnUrl=="function"?returnUrl.call($item):returnUrl)),__.push('">'),typeof $.R!="undefined"&&$.R!=null&&__.push($.encode($.R("~/Tmpl/forecasts-premium-popup.htm","Log in"))),__.push("<\/a><\/p>  <\/div> <\/div>");return __})