jQuery.template("include-datasets-dialog",function(n,t){var $=n,__=[],i=t.data;with(i)__.push('<div id="import-dataset" title="'),typeof $.R!="undefined"&&$.R!=null&&__.push($.encode($.R("~/Tmpl/sys/community/apps/data-catalog/include-datasets-dialog.htm","Select dataset to include into Data Catalog"))),__.push('">  <\/div>');return __});jQuery.template("metadata-table",function(n,$item){var $=n,__=[],t=$item.data;with(t)__.push('<div class="metadata">   <label>'),typeof $.R!="undefined"&&$.R!=null&&__.push($.encode($.R("~/Tmpl/sys/community/apps/data-catalog/metadata-table.htm","Categories"))),__.push('<\/label>     <div class="metadata-fieldslist">    <table class="knoema-table">     <tbody class="metadata-fieldlist-rows">      '),typeof categories!="undefined"&&categories!=null&&$.each(typeof categories=="function"?categories.call($item):categories,function(n,$value){with(this)__.push('      <tr>       <td>        <label>         <input type="checkbox" '),typeof $value.isSearchable!="undefined"&&$value.isSearchable!=null&&(typeof $value.isSearchable=="function"?$value.isSearchable.call($item):$value.isSearchable)&&__.push(' checked="checked" '),__.push(' data-field-id="'),typeof $value.id!="undefined"&&$value.id!=null&&__.push($.encode(typeof $value.id=="function"?$value.id.call($item):$value.id)),__.push('" />         '),typeof($value.id=="region")!="undefined"&&$value.id=="region"!=null&&(typeof($value.id=="region")=="function"?($value.id=="region").call($item):$value.id=="region")?(__.push("         "),typeof $value.name!="undefined"&&$value.name!=null&&__.push($.encode(typeof $value.name=="function"?$value.name.call($item):$value.name)),__.push(":         ")):!0&&(__.push("         "),typeof $value.name!="undefined"&&$value.name!=null&&__.push($.encode(typeof $value.name=="function"?$value.name.call($item):$value.name)),__.push("         ")),__.push("        <\/label>        "),typeof($value.id=="region")!="undefined"&&$value.id=="region"!=null&&(typeof($value.id=="region")=="function"?($value.id=="region").call($item):$value.id=="region")&&(__.push('        <span class="root-region">'),typeof(rootRegion=="")!="undefined"&&rootRegion==""!=null&&(typeof(rootRegion=="")=="function"?(rootRegion=="").call($item):rootRegion=="")?(__.push(" "),typeof $.R!="undefined"&&$.R!=null&&__.push($.encode($.R("~/Tmpl/sys/community/apps/data-catalog/metadata-table.htm","None"))),__.push("")):!0&&(__.push(" "),typeof rootRegion!="undefined"&&rootRegion!=null&&__.push($.encode(typeof rootRegion=="function"?rootRegion.call($item):rootRegion)),__.push(" ")),__.push('<\/span>        <div class="themed-button" id="browse-root-region">'),typeof $.R!="undefined"&&$.R!=null&&__.push($.encode($.R("~/Tmpl/sys/community/apps/data-catalog/metadata-table.htm","Change"))),__.push("<\/div>        ")),__.push("        "),typeof $value.isMetadata!="undefined"&&$value.isMetadata!=null&&(typeof $value.isMetadata=="function"?$value.isMetadata.call($item):$value.isMetadata)&&__.push('        <label class="custom">Custom<\/label>        '),__.push("       <\/td>      <\/tr>      ")}),__.push('     <\/tbody>    <\/table>   <\/div>   <div>    <button class="ui-button kn-spinbutton" id="save-changes">'),typeof $.R!="undefined"&&$.R!=null&&__.push($.encode($.R("~/Tmpl/sys/community/apps/data-catalog/metadata-table.htm","Save Changes"))),__.push("<\/button>   <\/div>  <\/div>");return __})