jQuery.template("Tmpl-knoema-page-index-dashboard",function(n,$item){var $=n,__=[],t=$item.data;with(t)__.push('<div class="index-dashboard">   '),typeof viewWeight!="undefined"&&viewWeight!=null&&(typeof viewWeight=="function"?viewWeight.call($item):viewWeight)&&(__.push('   <span class="weight-text">'),typeof $.R!="undefined"&&$.R!=null&&__.push($.encode($.R("~/Tmpl/knoema/page/index-dashboard.htm","Weight"))),__.push('<\/span>   <div class="weight-wrapper">    <div class="cap"><\/div>    <input type="text" data-gadget-id="'),typeof guid!="undefined"&&guid!=null&&__.push($.encode(typeof guid=="function"?guid.call($item):guid)),__.push('" value="'),typeof weightValue!="undefined"&&weightValue!=null&&__.push($.encode(typeof weightValue=="function"?weightValue.call($item):weightValue)),__.push('"/>   <\/div>   ')),__.push('   <span class="transform-text">'),typeof $.R!="undefined"&&$.R!=null&&__.push($.encode($.R("~/Tmpl/knoema/page/index-dashboard.htm","Transform"))),__.push('<\/span>   <select class="transform '),typeof!viewWeight!="undefined"&&!viewWeight!=null&&(typeof!viewWeight=="function"?(!viewWeight).call($item):!viewWeight)&&__.push("without-weight"),__.push('" data-gadget-id="'),typeof guid!="undefined"&&guid!=null&&__.push($.encode(typeof guid=="function"?guid.call($item):guid)),__.push('">    <option value="none">none<\/option>    '),typeof transformation!="undefined"&&transformation!=null&&$.each(typeof transformation=="function"?transformation.call($item):transformation,function(key,value){with(this)__.push("     "),typeof(selectedTransform==key)!="undefined"&&selectedTransform==key!=null&&(typeof(selectedTransform==key)=="function"?(selectedTransform==key).call($item):selectedTransform==key)?(__.push('      <option value="'),typeof key!="undefined"&&key!=null&&__.push($.encode(typeof key=="function"?key.call($item):key)),__.push('" selected="selected">'),typeof value!="undefined"&&value!=null&&__.push($.encode(typeof value=="function"?value.call($item):value)),__.push("<\/option>     ")):!0&&(__.push('      <option value="'),typeof key!="undefined"&&key!=null&&__.push($.encode(typeof key=="function"?key.call($item):key)),__.push('">'),typeof value!="undefined"&&value!=null&&__.push($.encode(typeof value=="function"?value.call($item):value)),__.push("<\/option>     ")),__.push("    ")}),__.push("   <\/select>   <span>"),typeof $.R!="undefined"&&$.R!=null&&__.push($.encode($.R("~/Tmpl/knoema/page/index-dashboard.htm","Lag"))),__.push('<\/span>   <select class="lag '),typeof!viewWeight!="undefined"&&!viewWeight!=null&&(typeof!viewWeight=="function"?(!viewWeight).call($item):!viewWeight)&&__.push("without-weight"),__.push('" data-gadget-id="'),typeof guid!="undefined"&&guid!=null&&__.push($.encode(typeof guid=="function"?guid.call($item):guid)),__.push('">    <option value="365" '),typeof(selectedLag=="365")!="undefined"&&selectedLag=="365"!=null&&(typeof(selectedLag=="365")=="function"?(selectedLag=="365").call($item):selectedLag=="365")&&__.push(' selected="selected" '),__.push('>t-365<\/option>    <option value="12" '),typeof(selectedLag=="12")!="undefined"&&selectedLag=="12"!=null&&(typeof(selectedLag=="12")=="function"?(selectedLag=="12").call($item):selectedLag=="12")&&__.push(' selected="selected" '),__.push('>t-12<\/option>    <option value="11" '),typeof(selectedLag=="11")!="undefined"&&selectedLag=="11"!=null&&(typeof(selectedLag=="11")=="function"?(selectedLag=="11").call($item):selectedLag=="11")&&__.push(' selected="selected" '),__.push('>t-11<\/option>    <option value="10" '),typeof(selectedLag=="10")!="undefined"&&selectedLag=="10"!=null&&(typeof(selectedLag=="10")=="function"?(selectedLag=="10").call($item):selectedLag=="10")&&__.push(' selected="selected" '),__.push('>t-10<\/option>    <option value="9" '),typeof(selectedLag=="9")!="undefined"&&selectedLag=="9"!=null&&(typeof(selectedLag=="9")=="function"?(selectedLag=="9").call($item):selectedLag=="9")&&__.push(' selected="selected" '),__.push('>t-9<\/option>    <option value="8" '),typeof(selectedLag=="8")!="undefined"&&selectedLag=="8"!=null&&(typeof(selectedLag=="8")=="function"?(selectedLag=="8").call($item):selectedLag=="8")&&__.push(' selected="selected" '),__.push('>t-8<\/option>    <option value="7" '),typeof(selectedLag=="7")!="undefined"&&selectedLag=="7"!=null&&(typeof(selectedLag=="7")=="function"?(selectedLag=="7").call($item):selectedLag=="7")&&__.push(' selected="selected" '),__.push('>t-7<\/option>    <option value="6" '),typeof(selectedLag=="6")!="undefined"&&selectedLag=="6"!=null&&(typeof(selectedLag=="6")=="function"?(selectedLag=="6").call($item):selectedLag=="6")&&__.push(' selected="selected" '),__.push('>t-6<\/option>    <option value="5" '),typeof(selectedLag=="5")!="undefined"&&selectedLag=="5"!=null&&(typeof(selectedLag=="5")=="function"?(selectedLag=="5").call($item):selectedLag=="5")&&__.push(' selected="selected" '),__.push('>t-5<\/option>    <option value="4" '),typeof(selectedLag=="4")!="undefined"&&selectedLag=="4"!=null&&(typeof(selectedLag=="4")=="function"?(selectedLag=="4").call($item):selectedLag=="4")&&__.push(' selected="selected" '),__.push('>t-4<\/option>    <option value="3" '),typeof(selectedLag=="3")!="undefined"&&selectedLag=="3"!=null&&(typeof(selectedLag=="3")=="function"?(selectedLag=="3").call($item):selectedLag=="3")&&__.push(' selected="selected" '),__.push('>t-3<\/option>    <option value="2" '),typeof(selectedLag=="2")!="undefined"&&selectedLag=="2"!=null&&(typeof(selectedLag=="2")=="function"?(selectedLag=="2").call($item):selectedLag=="2")&&__.push(' selected="selected" '),__.push('>t-2<\/option>    <option value="1" '),typeof(selectedLag=="1")!="undefined"&&selectedLag=="1"!=null&&(typeof(selectedLag=="1")=="function"?(selectedLag=="1").call($item):selectedLag=="1")&&__.push(' selected="selected" '),__.push('>t-1<\/option>    <option value="none" '),typeof(selectedLag=="none")!="undefined"&&selectedLag=="none"!=null&&(typeof(selectedLag=="none")=="function"?(selectedLag=="none").call($item):selectedLag=="none")&&__.push(' selected="selected" '),__.push('>none<\/option>    <option value="-1" '),typeof(selectedLag=="-1")!="undefined"&&selectedLag=="-1"!=null&&(typeof(selectedLag=="-1")=="function"?(selectedLag=="-1").call($item):selectedLag=="-1")&&__.push(' selected="selected" '),__.push('>t+1<\/option>    <option value="-2" '),typeof(selectedLag=="-2")!="undefined"&&selectedLag=="-2"!=null&&(typeof(selectedLag=="-2")=="function"?(selectedLag=="-2").call($item):selectedLag=="-2")&&__.push(' selected="selected" '),__.push('>t+2<\/option>    <option value="-3" '),typeof(selectedLag=="-3")!="undefined"&&selectedLag=="-3"!=null&&(typeof(selectedLag=="-3")=="function"?(selectedLag=="-3").call($item):selectedLag=="-3")&&__.push(' selected="selected" '),__.push('>t+3<\/option>    <option value="-4" '),typeof(selectedLag=="-4")!="undefined"&&selectedLag=="-4"!=null&&(typeof(selectedLag=="-4")=="function"?(selectedLag=="-4").call($item):selectedLag=="-4")&&__.push(' selected="selected" '),__.push('>t+4<\/option>    <option value="-5" '),typeof(selectedLag=="-5")!="undefined"&&selectedLag=="-5"!=null&&(typeof(selectedLag=="-5")=="function"?(selectedLag=="-5").call($item):selectedLag=="-5")&&__.push(' selected="selected" '),__.push('>t+5<\/option>    <option value="-6" '),typeof(selectedLag=="-6")!="undefined"&&selectedLag=="-6"!=null&&(typeof(selectedLag=="-6")=="function"?(selectedLag=="-6").call($item):selectedLag=="-6")&&__.push(' selected="selected" '),__.push('>t+6<\/option>    <option value="-7" '),typeof(selectedLag=="-7")!="undefined"&&selectedLag=="-7"!=null&&(typeof(selectedLag=="-7")=="function"?(selectedLag=="-7").call($item):selectedLag=="-7")&&__.push(' selected="selected" '),__.push('>t+7<\/option>    <option value="-8" '),typeof(selectedLag=="-8")!="undefined"&&selectedLag=="-8"!=null&&(typeof(selectedLag=="-8")=="function"?(selectedLag=="-8").call($item):selectedLag=="-8")&&__.push(' selected="selected" '),__.push('>t+8<\/option>    <option value="-9" '),typeof(selectedLag=="-9")!="undefined"&&selectedLag=="-9"!=null&&(typeof(selectedLag=="-9")=="function"?(selectedLag=="-9").call($item):selectedLag=="-9")&&__.push(' selected="selected" '),__.push('>t+9<\/option>    <option value="-10" '),typeof(selectedLag=="-10")!="undefined"&&selectedLag=="-10"!=null&&(typeof(selectedLag=="-10")=="function"?(selectedLag=="-10").call($item):selectedLag=="-10")&&__.push(' selected="selected" '),__.push('>t+10<\/option>    <option value="-11" '),typeof(selectedLag=="-11")!="undefined"&&selectedLag=="-11"!=null&&(typeof(selectedLag=="-11")=="function"?(selectedLag=="-11").call($item):selectedLag=="-11")&&__.push(' selected="selected" '),__.push('>t+11<\/option>    <option value="-12" '),typeof(selectedLag=="-12")!="undefined"&&selectedLag=="-12"!=null&&(typeof(selectedLag=="-12")=="function"?(selectedLag=="-12").call($item):selectedLag=="-12")&&__.push(' selected="selected" '),__.push('>t+12<\/option>    <option value="-365" '),typeof(selectedLag=="-365")!="undefined"&&selectedLag=="-365"!=null&&(typeof(selectedLag=="-365")=="function"?(selectedLag=="-365").call($item):selectedLag=="-365")&&__.push(' selected="selected" '),__.push(">t+365<\/option>   <\/select>  <\/div>");return __});jQuery.template("Tmpl-knoema-page-index-dimension-list",function(n,$item){var $=n,__=[],t=$item.data;with(t)__.push('<div class="dim-selection-box">'),typeof $.R!="undefined"&&$.R!=null&&__.push($.encode($.R("~/Tmpl/knoema/page/index-dimension-list.htm","Select dimension"))),__.push(': <select id="dimension-item">  '),typeof dimensions!="undefined"&&dimensions!=null&&$.each(typeof dimensions=="function"?dimensions.call($item):dimensions,function(n,dim){with(this)__.push("   "),typeof(dim.DimensionId!=excludeDim)!="undefined"&&dim.DimensionId!=excludeDim!=null&&(typeof(dim.DimensionId!=excludeDim)=="function"?(dim.DimensionId!=excludeDim).call($item):dim.DimensionId!=excludeDim)&&(__.push('    <option value="'),typeof dim.DimensionId!="undefined"&&dim.DimensionId!=null&&__.push($.encode(typeof dim.DimensionId=="function"?dim.DimensionId.call($item):dim.DimensionId)),__.push('" '),typeof(dim.DimensionId==selectedDim)!="undefined"&&dim.DimensionId==selectedDim!=null&&(typeof(dim.DimensionId==selectedDim)=="function"?(dim.DimensionId==selectedDim).call($item):dim.DimensionId==selectedDim)&&__.push(" selected "),__.push(">"),typeof dim.DimensionName!="undefined"&&dim.DimensionName!=null&&__.push($.encode(typeof dim.DimensionName=="function"?dim.DimensionName.call($item):dim.DimensionName)),__.push("<\/option>   ")),__.push("  ")}),__.push('  <\/select>  <\/div>  <div id="dim-member-list">  <\/div>');return __});jQuery.template("Tmpl-knoema-page-index-empty",function(n,t){var $=n,__=[],i=t.data;with(i)__.push('<div class="empty-gadget">   <table style="width: 100%; height: 100%">    <tbody>     <tr>      <td>       <span class="add-content">'),typeof $.R2!="undefined"&&$.R2!=null&&__.push($.R2("~/Tmpl/knoema/page/index-empty.htm","Your index will appear here. Start building it by [adding components|href=#|id=add-component-from-empty].")),__.push("<\/span>      <\/td>     <\/tr>    <\/tbody>   <\/table>  <\/div>");return __});jQuery.template("Tmpl-knoema-page-index-formula-item",function(n,$item){var $=n,__=[],t=$item.data;with(t)__.push('<div class="weight-container" data-weight-type="'),typeof weightType!="undefined"&&weightType!=null&&__.push($.encode(typeof weightType=="function"?weightType.call($item):weightType)),__.push('">   <div class="view-weight" data-gadget-id="'),typeof id!="undefined"&&id!=null&&__.push($.encode(typeof id=="function"?id.call($item):id)),__.push('"><nobr>'),typeof weight!="undefined"&&weight!=null&&__.push($.encode(typeof weight=="function"?weight.call($item):weight)),__.push('<\/nobr><\/div>   <input class="view-weight-input" data-gadget-id="'),typeof id!="undefined"&&id!=null&&__.push($.encode(typeof id=="function"?id.call($item):id)),__.push('" />  <\/div>  <span class="view-sign">*<\/span>  <span class="view-title">'),typeof title!="undefined"&&title!=null&&__.push($.encode(typeof title=="function"?title.call($item):title)),__.push('<\/span>  <span class="view-sign">+<\/span>');return __});jQuery.template("Tmpl-knoema-page-layout-part",function(n,t){var r=n,__=[],i=t.data;with(i)__.push('<div class="section bottom" style="height: 300px; width: 910px;">   <div class="section top" style="height: 300px; width: 910px;">    <div class="section left" style="height: 300px; width: 454px;"><\/div>    <div class="section right" style="height: 300px; width: 455px;"><\/div>   <\/div>   <div class="bottom-place"><\/div>  <\/div>');return __})