jQuery.template("Tmpl-premium-download-in-csv-sdmx",function(n,$item){var $=n,__=[],t=$item.data;with(t)__.push('<div id="download-in-csv-sdmx">     '),typeof!downloadOfSelectedDataAvailable!="undefined"&&!downloadOfSelectedDataAvailable!=null&&(typeof!downloadOfSelectedDataAvailable=="function"?(!downloadOfSelectedDataAvailable).call($item):!downloadOfSelectedDataAvailable)?(__.push("    <p>"),typeof $.R!="undefined"&&$.R!=null&&__.push($.encode($.R("~/Tmpl/premium/download-in-csv-sdmx.htm","The selection you have made is too huge for interactive visualization. You can reduce selection to explore data."))),__.push("<\/p>   ")):!0&&(__.push("      "),typeof warning!="undefined"&&warning!=null&&(typeof warning=="function"?warning.call($item):warning)&&(__.push("     <p>      "),typeof $.R!="undefined"&&$.R!=null&&__.push($.encode($.R("~/Tmpl/premium/download-in-csv-sdmx.htm","The selection you have made is too huge for interactive visualization. You can reduce selection to less than 100 timeseries or download selected data to explore it."))),__.push("     <\/p>    ")),__.push("      <span>"),typeof $.R!="undefined"&&$.R!=null&&__.push($.encode($.R("~/Tmpl/premium/download-in-csv-sdmx.htm","Download selected data in one of the specified formats:"))),__.push('<\/span>       <form action="/data/download" target ="_blank"  id="download-form" method="post">           <ul class="format-list">      <li class="csv">       <div class="export-item"><\/div>       '),typeof $.R!="undefined"&&$.R!=null&&__.push($.encode($.R("~/Tmpl/premium/download-in-csv-sdmx.htm","Comma Separated Values"))),__.push('       <label>(CSV)<\/label>      <\/li>      <li class="xlsx">       <div class="export-item"><\/div>       MS Excel       <label>(XLSX)<\/label>      <\/li>      <li class="atom">       <div class="export-item"><\/div>       OData       <label>(Atomsvc)<\/label>      <\/li>     <\/ul>          '),typeof(showBilling&&Knoema.CommunityBilling)!="undefined"&&(showBilling&&Knoema.CommunityBilling)!=null&&(typeof(showBilling&&Knoema.CommunityBilling)=="function"?(showBilling&&Knoema.CommunityBilling).call($item):showBilling&&Knoema.CommunityBilling)&&(__.push("      "),typeof Knoema.CommunityBilling!="undefined"&&Knoema.CommunityBilling!=null&&(__=__.concat($item.nest("Tmpl-charge-code-dialog",Knoema.CommunityBilling,null))),__.push("     ")),__.push('       <input id="pivot-request" name="requestString" type="hidden" />     <input id="feature-available" type="hidden" value="'),typeof featureAvailable!="undefined"&&featureAvailable!=null&&__.push($.encode(typeof featureAvailable=="function"?featureAvailable.call($item):featureAvailable)),__.push('" />     <input id="format" name="format" type="hidden" value="" />       <\/form>     ')),__.push("      "),typeof datasetImageUrl!="undefined"&&datasetImageUrl!=null&&(typeof datasetImageUrl=="function"?datasetImageUrl.call($item):datasetImageUrl)&&(__.push("    <br />    "),typeof $.R2!="undefined"&&$.R2!=null&&__.push($.R2("~/Tmpl/premium/download-in-csv-sdmx.htm","Or alternatively you can [download all data|href={datasetImageUrl}] at once in a single file.",{datasetImageUrl:datasetImageUrl})),__.push("    <br />   ")),__.push('     <br />   <span id="dev-or-geek">'),typeof $.R!="undefined"&&$.R!=null&&__.push($.encode($.R("~/Tmpl/premium/download-in-csv-sdmx.htm","Developer or data geek? Use one of the following links to access data from your application:"))),__.push('<\/span>   <span id="json"><a href="#" target="_blank" >JSON<\/a><\/span><span id="sdmx">, <a href="#" target="_blank">SDMX<\/a><\/span><span id="odata">, <a href="#" target="_blank">OData<\/a><\/span><span id="python">, <a href="#">Python<\/a><\/span><span id="r">, <a href="#">R<\/a><\/span><span id="csharp">, <a href="#">C#<\/a><\/span><span id="xlsx-formula">, <a href="#">Excel formula<\/a><\/span>   '),!0&&(__=__.concat($item.nest("Tmpl-knoema-dsviewer-codesnippet-dialog",{premium:premium}))),__.push("  <\/div>");return __});jQuery.template("Tmpl-premium-download-limit-exceeded",function(n,t){var $=n,__=[],i=t.data;with(i)__.push('<div id="download-limit-exceeded">  '),typeof $.R!="undefined"&&$.R!=null&&__.push($.encode($.R("~/Tmpl/premium/download-limit-exceeded.htm","The selection you have made is too huge for interactive visualization. Reduce your selection to less than 1000 timeseries."))),__.push("  <\/div>");return __});jQuery.template("Tmpl-premium-download-sign-up",function(n,$item){var $=n,__=[],t=$item.data;with(t)__.push('<div id="download-sign-up">       <div>    <p>'),typeof $.R!="undefined"&&$.R!=null&&__.push($.encode($.R("~/Tmpl/premium/download-sign-up.htm","Get access to data and visualizations. Join our data community."))),__.push('<\/p>     <a id="site-sign-up-dsbrowser" class="signup" href="'),typeof signUpUrl!="undefined"&&signUpUrl!=null&&__.push($.encode(typeof signUpUrl=="function"?signUpUrl.call($item):signUpUrl)),__.push('">'),typeof $.R!="undefined"&&$.R!=null&&__.push($.encode($.R("~/Tmpl/premium/download-sign-up.htm","Sign up"))),__.push("<\/a>    <p>"),typeof $.R2!="undefined"&&$.R2!=null&&__.push($.R2("~/Tmpl/premium/download-sign-up.htm","Already have an account? [Login|id=site-login-dsbrowser|href={loginUrl}] now.",{loginUrl:loginUrl})),__.push("<\/p>    <\/div>    <\/div>");return __});jQuery.template("send-receipt",function(n,t){var $=n,__=[],i=t.data;with(i)__.push('<div class="send-receipt">  <p>'),typeof $.R!="undefined"&&$.R!=null&&__.push($.encode($.R("~/Tmpl/premium/send-receipt.htm","Send Receipt"))),__.push('<\/p>  <input type="email" placeholder="'),typeof $.R!="undefined"&&$.R!=null&&__.push($.encode($.R("~/Tmpl/premium/send-receipt.htm","Email"))),__.push('" />  <a href="#" class="ui-button">'),typeof $.R!="undefined"&&$.R!=null&&__.push($.encode($.R("~/Tmpl/premium/send-receipt.htm","Send"))),__.push("<\/a>  <div>"),typeof $.R!="undefined"&&$.R!=null&&__.push($.encode($.R("~/Tmpl/premium/send-receipt.htm","Please enter valid email."))),__.push("<\/div> <\/div>");return __})