jQuery.template("Tmpl-allregions-entry-collapsing-tree-mode",function(n,$item){var $=n,__=[],t=$item.data;with(t)__.push('<div>     <div class="l'),typeof level!="undefined"&&level!=null&&__.push($.encode(typeof level=="function"?level.call($item):level)),__.push(" select-members"),typeof(isFound?" found":"")!="undefined"&&(isFound?" found":"")!=null&&__.push($.encode(typeof(isFound?" found":"")=="function"?(isFound?" found":"").call($item):isFound?" found":"")),__.push(""),typeof(isSelectable?" selectable":"")!="undefined"&&(isSelectable?" selectable":"")!=null&&__.push($.encode(typeof(isSelectable?" selectable":"")=="function"?(isSelectable?" selectable":"").call($item):isSelectable?" selectable":"")),__.push('"  data-key="'),typeof key!="undefined"&&key!=null&&__.push($.encode(typeof key=="function"?key.call($item):key)),__.push('" >         <a href="#" id="'),typeof regionId!="undefined"&&regionId!=null&&__.push($.encode(typeof regionId=="function"?regionId.call($item):regionId)),__.push('" data-regionid="'),typeof regionId!="undefined"&&regionId!=null&&__.push($.encode(typeof regionId=="function"?regionId.call($item):regionId)),__.push('" class="'),typeof(isSelected?"remove-member":"add-member")!="undefined"&&(isSelected?"remove-member":"add-member")!=null&&__.push($.encode(typeof(isSelected?"remove-member":"add-member")=="function"?(isSelected?"remove-member":"add-member").call($item):isSelected?"remove-member":"add-member")),__.push(""),typeof(isParent?" parent":"")!="undefined"&&(isParent?" parent":"")!=null&&__.push($.encode(typeof(isParent?" parent":"")=="function"?(isParent?" parent":"").call($item):isParent?" parent":"")),__.push(""),typeof(isFound?" found":"")!="undefined"&&(isFound?" found":"")!=null&&__.push($.encode(typeof(isFound?" found":"")=="function"?(isFound?" found":"").call($item):isFound?" found":"")),__.push(""),typeof(isSelectable?" selectable":"")!="undefined"&&(isSelectable?" selectable":"")!=null&&__.push($.encode(typeof(isSelectable?" selectable":"")=="function"?(isSelectable?" selectable":"").call($item):isSelectable?" selectable":"")),__.push('"><\/a>         <span class="member-text'),typeof(isFound?" found":"")!="undefined"&&(isFound?" found":"")!=null&&__.push($.encode(typeof(isFound?" found":"")=="function"?(isFound?" found":"").call($item):isFound?" found":"")),__.push(""),typeof(isParent?" expand":"")!="undefined"&&(isParent?" expand":"")!=null&&__.push($.encode(typeof(isParent?" expand":"")=="function"?(isParent?" expand":"").call($item):isParent?" expand":"")),__.push('">'),typeof name!="undefined"&&name!=null&&__.push($.encode(typeof name=="function"?name.call($item):name)),__.push("<\/span>         "),typeof hasFields!="undefined"&&hasFields!=null&&(typeof hasFields=="function"?hasFields.call($item):hasFields)&&__.push('   <div class="metadata-info"><\/div>         '),__.push("         "),typeof isParent!="undefined"&&isParent!=null&&(typeof isParent=="function"?isParent.call($item):isParent)&&(__.push('   <span class="expand anchor">'),typeof $.R!="undefined"&&$.R!=null&&__.push($.encode($.R("~/Tmpl/allregions-entry-collapsing-tree-mode.htm","Expand"))),__.push("<\/span>         ")),__.push('     <\/div>     <div class="l'),typeof level!="undefined"&&level!=null&&__.push($.encode(typeof level=="function"?level.call($item):level)),__.push(' metadata-info-preview"><\/div> <\/div>');return __});jQuery.template("Tmpl-allregions-entry",function(n,$item){var $=n,__=[],t=$item.data;with(t)__.push('<div>      <div class="l'),typeof level!="undefined"&&level!=null&&__.push($.encode(typeof level=="function"?level.call($item):level)),__.push(' select-members">          <a href="#" id="'),typeof regionId!="undefined"&&regionId!=null&&__.push($.encode(typeof regionId=="function"?regionId.call($item):regionId)),__.push('" data-key="'),typeof key!="undefined"&&key!=null&&__.push($.encode(typeof key=="function"?key.call($item):key)),__.push('" data-regionid="'),typeof regionId!="undefined"&&regionId!=null&&__.push($.encode(typeof regionId=="function"?regionId.call($item):regionId)),__.push('" class="'),typeof(isSelected?"remove-member":"add-member")!="undefined"&&(isSelected?"remove-member":"add-member")!=null&&__.push($.encode(typeof(isSelected?"remove-member":"add-member")=="function"?(isSelected?"remove-member":"add-member").call($item):isSelected?"remove-member":"add-member")),__.push('"><\/a>          <span class="member-text">'),typeof name!="undefined"&&name!=null&&__.push($.encode(typeof name=="function"?name.call($item):name)),__.push("<\/span>          "),typeof hasFields!="undefined"&&hasFields!=null&&(typeof hasFields=="function"?hasFields.call($item):hasFields)&&__.push('   <div class="metadata-info"><\/div>          '),__.push('      <\/div>      <div class="l'),typeof level!="undefined"&&level!=null&&__.push($.encode(typeof level=="function"?level.call($item):level)),__.push(' metadata-info-preview"><\/div>  <\/div>');return __});jQuery.template("Tmpl-mergedregions-entry",function(n,$item){var $=n,__=[],t=$item.data;with(t)__.push('<div>  <div class="l'),typeof level!="undefined"&&level!=null&&__.push($.encode(typeof level=="function"?level.call($item):level)),__.push(" select-members "),typeof(isSelected?"selected":"")!="undefined"&&(isSelected?"selected":"")!=null&&__.push($.encode(typeof(isSelected?"selected":"")=="function"?(isSelected?"selected":"").call($item):isSelected?"selected":"")),__.push('">   <a href="#" id="'),typeof key!="undefined"&&key!=null&&__.push($.encode(typeof key=="function"?key.call($item):key)),__.push('" data-RegionId="'),typeof regionId!="undefined"&&regionId!=null&&__.push($.encode(typeof regionId=="function"?regionId.call($item):regionId)),__.push('" class="'),typeof(isSelected?"remove-member":"add-member")!="undefined"&&(isSelected?"remove-member":"add-member")!=null&&__.push($.encode(typeof(isSelected?"remove-member":"add-member")=="function"?(isSelected?"remove-member":"add-member").call($item):isSelected?"remove-member":"add-member")),__.push('"><\/a>   <span class="member-text">'),typeof name!="undefined"&&name!=null&&__.push($.encode(typeof name=="function"?name.call($item):name)),__.push("<\/span>   "),typeof hasFields!="undefined"&&hasFields!=null&&(typeof hasFields=="function"?hasFields.call($item):hasFields)&&__.push('   <div href="#" class="metadata-info"><\/div>   '),__.push('  <\/div>  <div class="l'),typeof level!="undefined"&&level!=null&&__.push($.encode(typeof level=="function"?level.call($item):level)),__.push(' metadata-info-preview"><\/div>  <\/div>');return __});jQuery.template("Tmpl-memberlist-combo",function(n,$item){var $=n,__=[],t=$item.data;with(t)__.push(""),typeof hasData!="undefined"&&hasData!=null&&(typeof hasData=="function"?hasData.call($item):hasData)?(__.push('   <option value="'),typeof key!="undefined"&&key!=null&&__.push($.encode(typeof key=="function"?key.call($item):key)),__.push('">'),typeof name!="undefined"&&name!=null&&__.push($.encode(typeof name=="function"?name.call($item):name)),__.push("<\/option>  ")):!0&&(__.push('   <optgroup label="'),typeof name!="undefined"&&name!=null&&__.push($.encode(typeof name=="function"?name.call($item):name)),__.push('"><\/optgroup>  ')),__.push("");return __});jQuery.template("Tmpl-memberlist-container",function(n,$item){var $=n,__=[],t=$item.data;with(t)__.push('<div class="dimension-memberlist-wrapper">   <div class="dimension-memberlist-wrapper-row filter-row">    <div class="filter-textarea">     <div class="filter-table">      <div class="filter-table-cell">       <input type="text" placeholder="'),typeof $.R!="undefined"&&$.R!=null&&__.push($.encode($.R("~/Tmpl/memberlist-container.htm","Type to filter"))),__.push('" class="filter '),typeof(groupName&&ids)!="undefined"&&(groupName&&ids)!=null&&(typeof(groupName&&ids)=="function"?(groupName&&ids).call($item):groupName&&ids)&&__.push("shortened"),__.push('" />       '),typeof(dimensionId!="Time"&&!makeAllClickable)!="undefined"&&(dimensionId!="Time"&&!makeAllClickable)!=null&&(typeof(dimensionId!="Time"&&!makeAllClickable)=="function"?(dimensionId!="Time"&&!makeAllClickable).call($item):dimensionId!="Time"&&!makeAllClickable)&&(__.push('       <div class="filter-info" data-toggle="tooltip" data-placement="right" data-original-title="'),typeof $.R!="undefined"&&$.R!=null&&__.push($.encode($.R("~/Tmpl/memberlist-container.htm","Use <b>Shift<\/b> to select a consecutive range. Use <b>*, **, ***<\/b> etc. in filter to select all members of the 1st, 2nd, 3rd level. Use <b>~<\/b> in filter to select members up to 3rd level."))),__.push('"><i class="fa fa-info-circle"><\/i><\/div>       ')),__.push("      <\/div>      "),typeof(groupName&&ids)!="undefined"&&(groupName&&ids)!=null&&(typeof(groupName&&ids)=="function"?(groupName&&ids).call($item):groupName&&ids)&&(__.push('      <div class="filter-table-cell">       <select name="group-select" id="group-select" class="mtl-select">        <option value="'),typeof ids!="undefined"&&ids!=null&&__.push($.encode(typeof ids=="function"?ids.call($item):ids)),__.push('" selected="selected">'),typeof groupName!="undefined"&&groupName!=null&&__.push($.encode(typeof groupName=="function"?groupName.call($item):groupName)),__.push('<\/option>        <option value="">'),typeof $.R!="undefined"&&$.R!=null&&__.push($.encode($.R("~/Tmpl/memberlist-container.htm","All countries"))),__.push("<\/option>       <\/select>      <\/div>      ")),__.push('     <\/div>       <\/div>    <div class="members-limit-warning">     '),typeof $.R2!="undefined"&&$.R2!=null&&__.push($.R2("~/Tmpl/memberlist-container.htm","There are too many members in dimension to display at once. Start typing name of item you're looking for and we display selection once it becomes smaller or click [here|href=#|class=show-full-list] to view all members.")),__.push('    <\/div>    <div class="search-error"><\/div>    <div class="hierarchy-tracker"><\/div>   <\/div>   <div class="dimension-memberlist-wrapper-row">    <div class="dimension-members-list"><\/div>   <\/div>   <\/div>');return __});jQuery.template("Tmpl-memberlist-entry-aggregation",function(n,$item){var $=n,__=[],t=$item.data;with(t)__.push('<div class="aggregation"> '),typeof hasData!="undefined"&&hasData!=null&&(typeof hasData=="function"?hasData.call($item):hasData)?(__.push('  <select class="agg-type">   '),__.push('   <option value="sum"             '),typeof(isSelected&&aggs.sum.isSelected)!="undefined"&&(isSelected&&aggs.sum.isSelected)!=null&&(typeof(isSelected&&aggs.sum.isSelected)=="function"?(isSelected&&aggs.sum.isSelected).call($item):isSelected&&aggs.sum.isSelected)&&__.push('             selected="selected"             '),__.push('             data-formula=\'{"Key":'),typeof aggs.sum.key!="undefined"&&aggs.sum.key!=null&&__.push($.encode(typeof aggs.sum.key=="function"?aggs.sum.key.call($item):aggs.sum.key)),__.push(',"Name":"Sum('),typeof name!="undefined"&&name!=null&&__.push($.encode(typeof name=="function"?name.call($item):name)),__.push(')","Formula":["'),typeof key!="undefined"&&key!=null&&__.push($.encode(typeof key=="function"?key.call($item):key)),__.push('","sum"],"Transform":null}\'>'),typeof $.R!="undefined"&&$.R!=null&&__.push($.encode($.R("~/Tmpl/memberlist-entry-aggregation.htm","Sum"))),__.push('<\/option>   <option value="avg"             '),typeof(isSelected&&aggs.avg.isSelected)!="undefined"&&(isSelected&&aggs.avg.isSelected)!=null&&(typeof(isSelected&&aggs.avg.isSelected)=="function"?(isSelected&&aggs.avg.isSelected).call($item):isSelected&&aggs.avg.isSelected)&&__.push('             selected="selected"             '),__.push('             data-formula=\'{"Key":'),typeof aggs.avg.key!="undefined"&&aggs.avg.key!=null&&__.push($.encode(typeof aggs.avg.key=="function"?aggs.avg.key.call($item):aggs.avg.key)),__.push(',"Name":"Avg('),typeof name!="undefined"&&name!=null&&__.push($.encode(typeof name=="function"?name.call($item):name)),__.push(')","Formula":["'),typeof key!="undefined"&&key!=null&&__.push($.encode(typeof key=="function"?key.call($item):key)),__.push('","avg"],"Transform":null}\'>'),typeof $.R!="undefined"&&$.R!=null&&__.push($.encode($.R("~/Tmpl/memberlist-entry-aggregation.htm","Avg"))),__.push('<\/option>   <option value="min"             '),typeof(isSelected&&aggs.min.isSelected)!="undefined"&&(isSelected&&aggs.min.isSelected)!=null&&(typeof(isSelected&&aggs.min.isSelected)=="function"?(isSelected&&aggs.min.isSelected).call($item):isSelected&&aggs.min.isSelected)&&__.push('             selected="selected"             '),__.push('             data-formula=\'{"Key":'),typeof aggs.min.key!="undefined"&&aggs.min.key!=null&&__.push($.encode(typeof aggs.min.key=="function"?aggs.min.key.call($item):aggs.min.key)),__.push(',"Name":"Min('),typeof name!="undefined"&&name!=null&&__.push($.encode(typeof name=="function"?name.call($item):name)),__.push(')","Formula":["'),typeof key!="undefined"&&key!=null&&__.push($.encode(typeof key=="function"?key.call($item):key)),__.push('","min"],"Transform":null}\'>'),typeof $.R!="undefined"&&$.R!=null&&__.push($.encode($.R("~/Tmpl/memberlist-entry-aggregation.htm","Min"))),__.push('<\/option>   <option value="max"             '),typeof(isSelected&&aggs.max.isSelected)!="undefined"&&(isSelected&&aggs.max.isSelected)!=null&&(typeof(isSelected&&aggs.max.isSelected)=="function"?(isSelected&&aggs.max.isSelected).call($item):isSelected&&aggs.max.isSelected)&&__.push('             selected="selected"             '),__.push('             data-formula=\'{"Key":'),typeof aggs.max.key!="undefined"&&aggs.max.key!=null&&__.push($.encode(typeof aggs.max.key=="function"?aggs.max.key.call($item):aggs.max.key)),__.push(',"Name":"Max('),typeof name!="undefined"&&name!=null&&__.push($.encode(typeof name=="function"?name.call($item):name)),__.push(')","Formula":["'),typeof key!="undefined"&&key!=null&&__.push($.encode(typeof key=="function"?key.call($item):key)),__.push('","max"],"Transform":null}\'>'),typeof $.R!="undefined"&&$.R!=null&&__.push($.encode($.R("~/Tmpl/memberlist-entry-aggregation.htm","Max"))),__.push('<\/option>   <option value="count"             '),typeof(isSelected&&aggs.count.isSelected)!="undefined"&&(isSelected&&aggs.count.isSelected)!=null&&(typeof(isSelected&&aggs.count.isSelected)=="function"?(isSelected&&aggs.count.isSelected).call($item):isSelected&&aggs.count.isSelected)&&__.push('             selected="selected"             '),__.push('             data-formula=\'{"Key":'),typeof aggs.count.key!="undefined"&&aggs.count.key!=null&&__.push($.encode(typeof aggs.count.key=="function"?aggs.count.key.call($item):aggs.count.key)),__.push(',"Name":"Count('),typeof name!="undefined"&&name!=null&&__.push($.encode(typeof name=="function"?name.call($item):name)),__.push(')","Formula":["'),typeof key!="undefined"&&key!=null&&__.push($.encode(typeof key=="function"?key.call($item):key)),__.push('","count"],"Transform":null}\'>'),typeof $.R!="undefined"&&$.R!=null&&__.push($.encode($.R("~/Tmpl/memberlist-entry-aggregation.htm","Count"))),__.push('<\/option>  <\/select>  <div class="l'),typeof level!="undefined"&&level!=null&&__.push($.encode(typeof level=="function"?level.call($item):level)),__.push(" select-members "),typeof(isSelected?"selected":"")!="undefined"&&(isSelected?"selected":"")!=null&&__.push($.encode(typeof(isSelected?"selected":"")=="function"?(isSelected?"selected":"").call($item):isSelected?"selected":"")),__.push('">   <a href="#" id="'),typeof key!="undefined"&&key!=null&&__.push($.encode(typeof key=="function"?key.call($item):key)),__.push('" class="'),typeof(isSelected?"remove-member":"add-member")!="undefined"&&(isSelected?"remove-member":"add-member")!=null&&__.push($.encode(typeof(isSelected?"remove-member":"add-member")=="function"?(isSelected?"remove-member":"add-member").call($item):isSelected?"remove-member":"add-member")),__.push('"><\/a>   <span class="member-text">'),typeof name!="undefined"&&name!=null&&__.push($.encode(typeof name=="function"?name.call($item):name)),__.push("<\/span>   "),typeof hasFields!="undefined"&&hasFields!=null&&(typeof hasFields=="function"?hasFields.call($item):hasFields)&&__.push('   <div href="#" class="metadata-info"><\/div>   '),__.push("  <\/div> ")):!0&&(__.push("  "),typeof hasChildrenWithData!="undefined"&&hasChildrenWithData!=null&&(typeof hasChildrenWithData=="function"?hasChildrenWithData.call($item):hasChildrenWithData)&&(__.push("   "),typeof makeAllClickable!="undefined"&&makeAllClickable!=null&&(typeof makeAllClickable=="function"?makeAllClickable.call($item):makeAllClickable)?(__.push('    <div class="l'),typeof level!="undefined"&&level!=null&&__.push($.encode(typeof level=="function"?level.call($item):level)),__.push(" clickable-ancestor-members "),typeof(isSelected?"selected":"")!="undefined"&&(isSelected?"selected":"")!=null&&__.push($.encode(typeof(isSelected?"selected":"")=="function"?(isSelected?"selected":"").call($item):isSelected?"selected":"")),__.push('">     <a href="#" id="'),typeof key!="undefined"&&key!=null&&__.push($.encode(typeof key=="function"?key.call($item):key)),__.push('" class="'),typeof(isSelected?"remove-member":"add-member")!="undefined"&&(isSelected?"remove-member":"add-member")!=null&&__.push($.encode(typeof(isSelected?"remove-member":"add-member")=="function"?(isSelected?"remove-member":"add-member").call($item):isSelected?"remove-member":"add-member")),__.push('"><\/a>     <span class="member-text">'),typeof name!="undefined"&&name!=null&&__.push($.encode(typeof name=="function"?name.call($item):name)),__.push("<\/span>    <\/div>   ")):!0&&(__.push('    <div data-id="'),typeof key!="undefined"&&key!=null&&__.push($.encode(typeof key=="function"?key.call($item):key)),__.push('" class="l'),typeof level!="undefined"&&level!=null&&__.push($.encode(typeof level=="function"?level.call($item):level)),__.push(' ancestor-members">'),typeof name!="undefined"&&name!=null&&__.push($.encode(typeof name=="function"?name.call($item):name)),__.push("<\/div>   ")),__.push("  ")),__.push(" ")),__.push(' <div class="l'),typeof level!="undefined"&&level!=null&&__.push($.encode(typeof level=="function"?level.call($item):level)),__.push(' metadata-info-preview"><\/div> <\/div>');return __});jQuery.template("Tmpl-memberlist-entry-collapsing-tree-mode",function(n,$item){var $=n,__=[],t=$item.data;with(t)__.push('<div>  <div class="l'),typeof level!="undefined"&&level!=null&&__.push($.encode(typeof level=="function"?level.call($item):level)),__.push(" "),typeof(isParent?" parent":"")!="undefined"&&(isParent?" parent":"")!=null&&__.push($.encode(typeof(isParent?" parent":"")=="function"?(isParent?" parent":"").call($item):isParent?" parent":"")),__.push(" select-members"),typeof(isFound?" found":"")!="undefined"&&(isFound?" found":"")!=null&&__.push($.encode(typeof(isFound?" found":"")=="function"?(isFound?" found":"").call($item):isFound?" found":"")),__.push(""),typeof(isSelectable?" selectable":"")!="undefined"&&(isSelectable?" selectable":"")!=null&&__.push($.encode(typeof(isSelectable?" selectable":"")=="function"?(isSelectable?" selectable":"").call($item):isSelectable?" selectable":"")),__.push('" data-key="'),typeof key!="undefined"&&key!=null&&__.push($.encode(typeof key=="function"?key.call($item):key)),__.push('">    '),typeof!isParent!="undefined"&&!isParent!=null&&(typeof!isParent=="function"?(!isParent).call($item):!isParent)&&(__.push('   <a href="#" id="'),typeof key!="undefined"&&key!=null&&__.push($.encode(typeof key=="function"?key.call($item):key)),__.push('" class="'),typeof(isSelected?"remove-member":"add-member")!="undefined"&&(isSelected?"remove-member":"add-member")!=null&&__.push($.encode(typeof(isSelected?"remove-member":"add-member")=="function"?(isSelected?"remove-member":"add-member").call($item):isSelected?"remove-member":"add-member")),__.push(""),typeof(isParent?" parent":"")!="undefined"&&(isParent?" parent":"")!=null&&__.push($.encode(typeof(isParent?" parent":"")=="function"?(isParent?" parent":"").call($item):isParent?" parent":"")),__.push(""),typeof(isFound?" found":"")!="undefined"&&(isFound?" found":"")!=null&&__.push($.encode(typeof(isFound?" found":"")=="function"?(isFound?" found":"").call($item):isFound?" found":"")),__.push(""),typeof(isSelectable?" selectable":"")!="undefined"&&(isSelectable?" selectable":"")!=null&&__.push($.encode(typeof(isSelectable?" selectable":"")=="function"?(isSelectable?" selectable":"").call($item):isSelectable?" selectable":"")),__.push('"><\/a>   ')),__.push('   <span class="member-text'),typeof(isFound?" found":"")!="undefined"&&(isFound?" found":"")!=null&&__.push($.encode(typeof(isFound?" found":"")=="function"?(isFound?" found":"").call($item):isFound?" found":"")),__.push(""),typeof(isParent?" expand":"")!="undefined"&&(isParent?" expand":"")!=null&&__.push($.encode(typeof(isParent?" expand":"")=="function"?(isParent?" expand":"").call($item):isParent?" expand":"")),__.push('">'),typeof name!="undefined"&&name!=null&&__.push($.encode(typeof name=="function"?name.call($item):name)),__.push("<\/span>   "),typeof isParent!="undefined"&&isParent!=null&&(typeof isParent=="function"?isParent.call($item):isParent)&&(__.push('    <span class="expand anchor">'),typeof $.R!="undefined"&&$.R!=null&&__.push($.encode($.R("~/Tmpl/memberlist-entry-collapsing-tree-mode.htm","Expand"))),__.push("<\/span>         ")),__.push("   "),typeof(hasFields&&!isParent)!="undefined"&&(hasFields&&!isParent)!=null&&(typeof(hasFields&&!isParent)=="function"?(hasFields&&!isParent).call($item):hasFields&&!isParent)&&__.push('   <div class="metadata-info"><\/div>   '),__.push('  <\/div>  <div class="l'),typeof level!="undefined"&&level!=null&&__.push($.encode(typeof level=="function"?level.call($item):level)),__.push(' metadata-info-preview"><\/div> <\/div>');return __});jQuery.template("Tmpl-memberlist-entry",function(n,$item){var $=n,__=[],t=$item.data;with(t)__.push("<div>  "),typeof hasData!="undefined"&&hasData!=null&&(typeof hasData=="function"?hasData.call($item):hasData)?(__.push('   <div class="l'),typeof level!="undefined"&&level!=null&&__.push($.encode(typeof level=="function"?level.call($item):level)),__.push(" select-members "),typeof(isSelected?"selected":"")!="undefined"&&(isSelected?"selected":"")!=null&&__.push($.encode(typeof(isSelected?"selected":"")=="function"?(isSelected?"selected":"").call($item):isSelected?"selected":"")),__.push('">    <a href="#" id="'),typeof key!="undefined"&&key!=null&&__.push($.encode(typeof key=="function"?key.call($item):key)),__.push('" class="'),typeof(isSelected?"remove-member":"add-member")!="undefined"&&(isSelected?"remove-member":"add-member")!=null&&__.push($.encode(typeof(isSelected?"remove-member":"add-member")=="function"?(isSelected?"remove-member":"add-member").call($item):isSelected?"remove-member":"add-member")),__.push('"><\/a>    <span class="member-text">'),typeof name!="undefined"&&name!=null&&__.push($.encode(typeof name=="function"?name.call($item):name)),__.push("<\/span>    "),typeof hasFields!="undefined"&&hasFields!=null&&(typeof hasFields=="function"?hasFields.call($item):hasFields)&&__.push('    <div href="#" class="metadata-info"><\/div>    '),__.push("    "),typeof regions!="undefined"&&regions!=null&&(typeof regions=="function"?regions.call($item):regions)&&(__.push("     "),typeof!global!="undefined"&&!global!=null&&(typeof!global=="function"?(!global).call($item):!global)&&__.push('     <div class="remove-icon"><\/div>     '),__.push("    ")),__.push("   <\/div>  ")):!0&&(__.push("   "),typeof hasChildrenWithData!="undefined"&&hasChildrenWithData!=null&&(typeof hasChildrenWithData=="function"?hasChildrenWithData.call($item):hasChildrenWithData)&&(__.push("    "),typeof makeAllClickable!="undefined"&&makeAllClickable!=null&&(typeof makeAllClickable=="function"?makeAllClickable.call($item):makeAllClickable)?(__.push('     <div class="l'),typeof level!="undefined"&&level!=null&&__.push($.encode(typeof level=="function"?level.call($item):level)),__.push(" clickable-ancestor-members "),typeof(isSelected?"selected":"")!="undefined"&&(isSelected?"selected":"")!=null&&__.push($.encode(typeof(isSelected?"selected":"")=="function"?(isSelected?"selected":"").call($item):isSelected?"selected":"")),__.push('">      <a href="#" id="'),typeof key!="undefined"&&key!=null&&__.push($.encode(typeof key=="function"?key.call($item):key)),__.push('" class="'),typeof(isSelected?"remove-member":"add-member")!="undefined"&&(isSelected?"remove-member":"add-member")!=null&&__.push($.encode(typeof(isSelected?"remove-member":"add-member")=="function"?(isSelected?"remove-member":"add-member").call($item):isSelected?"remove-member":"add-member")),__.push('"><\/a>      <span class="member-text">'),typeof name!="undefined"&&name!=null&&__.push($.encode(typeof name=="function"?name.call($item):name)),__.push("<\/span>     <\/div>    ")):!0&&(__.push('     <div data-id="'),typeof key!="undefined"&&key!=null&&__.push($.encode(typeof key=="function"?key.call($item):key)),__.push('" class="l'),typeof level!="undefined"&&level!=null&&__.push($.encode(typeof level=="function"?level.call($item):level)),__.push(' ancestor-members">'),typeof name!="undefined"&&name!=null&&__.push($.encode(typeof name=="function"?name.call($item):name)),__.push("<\/div>    ")),__.push("   ")),__.push("  ")),__.push('  <div class="l'),typeof level!="undefined"&&level!=null&&__.push($.encode(typeof level=="function"?level.call($item):level)),__.push(' metadata-info-preview"><\/div>  <\/div>');return __});jQuery.template("Tmpl-memberlist-metadata-details",function(n,$item){var $=n,__=[],t=$item.data;with(t)__.push('﻿<div class="metadata '),typeof addShowClass!="undefined"&&addShowClass!=null&&(typeof addShowClass=="function"?addShowClass.call($item):addShowClass)?__.push(" show "):!0&&__.push(" hide "),__.push('">   <span class="metadata-name">'),typeof name!="undefined"&&name!=null&&__.push($.encode(typeof name=="function"?name.call($item):name)),__.push('<\/span>   <span class="metadata-description">'),typeof value!="undefined"&&value!=null&&__.push($.encode(typeof value=="function"?value.call($item):value)),__.push("<\/span>  <\/div>");return __});jQuery.template("Tmpl-memberlist-conceptInfo",function(n,$item){var $=n,__=[],t=$item.data;with(t)__.push('﻿<div class="metadata '),typeof addShowClass!="undefined"&&addShowClass!=null&&(typeof addShowClass=="function"?addShowClass.call($item):addShowClass)?__.push(" show "):!0&&__.push(" hide "),__.push('">   <span class="metadata-name">Concepts:<\/span>   <span class="metadata-description">   '),typeof concepts!="undefined"&&concepts!=null&&$.each(typeof concepts=="function"?concepts.call($item):concepts,function(i,val){with(this)__.push(""),typeof(i!=0)!="undefined"&&i!=0!=null&&(typeof(i!=0)=="function"?(i!=0).call($item):i!=0)&&__.push(", "),__.push('<a href="/sys/searchadmin/ConceptList?key='),typeof val.key!="undefined"&&val.key!=null&&__.push($.encode(typeof val.key=="function"?val.key.call($item):val.key)),__.push('" target="_blank">'),typeof val.name!="undefined"&&val.name!=null&&__.push($.encode(typeof val.name=="function"?val.name.call($item):val.name)),__.push("<\/a>")}),__.push("   <\/span>  <\/div>");return __});jQuery.template("Tmpl-preset-description",function(n,$item){var $=n,__=[],t=$item.data;with(t)__.push('<div class="presets-description">   <p>   '),typeof!hasPresets!="undefined"&&!hasPresets!=null&&(typeof!hasPresets=="function"?(!hasPresets).call($item):!hasPresets)?(__.push("   "),typeof $.R!="undefined"&&$.R!=null&&__.push($.encode($.R("~/Tmpl/preset-description.htm","Do you select the same regions over and over? Do it faster with selection presets. Simply make a selection, give it a name and save."))),__.push("   ")):!0&&(__.push("   "),typeof $.R!="undefined"&&$.R!=null&&__.push($.encode($.R("~/Tmpl/preset-description.htm","Save preset by giving it a name"))),__.push("   ")),__.push('   <\/p>     <div class="save-preset-control">    <input type="text" value="'),typeof rawName!="undefined"&&rawName!=null&&__.push($.encode(typeof rawName=="function"?rawName.call($item):rawName)),__.push('"/>    <a href="#" class="save-selection ui-button">'),typeof $.R!="undefined"&&$.R!=null&&__.push($.encode($.R("~/Tmpl/preset-description.htm","Save"))),__.push("<\/a>   <\/div>     "),typeof hasPresets!="undefined"&&hasPresets!=null&&(typeof hasPresets=="function"?hasPresets.call($item):hasPresets)&&(__.push('   <div class="open-list-container">    <a href="#" class="open-list">     <div><\/div>     '),typeof $.R!="undefined"&&$.R!=null&&__.push($.encode($.R("~/Tmpl/preset-description.htm","Expand saved presets"))),__.push("    <\/a>   <\/div>   ")),__.push("  <\/div>");return __})