jQuery.template("Tmpl-directds-upload-verification-head",function(n,t){var $=n,__=[],i=t.data;with(i)__.push("<br/> "),typeof $.R!="undefined"&&$.R!=null&&__.push($.encode($.R("~/Tmpl/directds-upload-verification-head.htm","Please provide details for the below displayed list of columns."))),__.push(' <br/> <br/> <table  class="knoema-table"  id="transaction-table">  <thead>   <tr>    <th class="column-size3 verify-details-cell">     #    <\/th>    <th class="column-size20 verify-details-cell">     '),typeof $.R!="undefined"&&$.R!=null&&__.push($.encode($.R("~/Tmpl/directds-upload-verification-head.htm","Column:"))),__.push('    <\/th>    <th class="column-size32 verify-details-cell">     '),typeof $.R!="undefined"&&$.R!=null&&__.push($.encode($.R("~/Tmpl/directds-upload-verification-head.htm","Description:"))),__.push('    <\/th>    <th class="column-size15 verify-details-cell">     '),typeof $.R!="undefined"&&$.R!=null&&__.push($.encode($.R("~/Tmpl/directds-upload-verification-head.htm","Type:"))),__.push('    <\/th>    <th class="column-size15 verify-details-cell">     '),typeof $.R!="undefined"&&$.R!=null&&__.push($.encode($.R("~/Tmpl/directds-upload-verification-head.htm","Status:"))),__.push('    <\/th>    <th class="column-size15 verify-details-cell">     '),typeof $.R!="undefined"&&$.R!=null&&__.push($.encode($.R("~/Tmpl/directds-upload-verification-head.htm","Position:"))),__.push('    <\/th>   <\/tr>  <\/thead>  <tbody>   <tr class="hidden-row">   <\/tr>  <\/tbody> <\/table> <div id="upload-columns-incorrect-message" class="update-option-info-text">*'),typeof $.R!="undefined"&&$.R!=null&&__.push($.encode($.R("~/Tmpl/directds-upload-verification-head.htm","Columns settings are incorrect. Please check."))),__.push("<\/div>");return __});jQuery.template("Tmpl-directds-upload-verification-body",function(n,$item){var $=n,__=[],t=$item.data;with(t)__.push('<tr>  <td class="verify-details-cell">   '),typeof(Id+1)!="undefined"&&Id+1!=null&&__.push($.encode(typeof(Id+1)=="function"?(Id+1).call($item):Id+1)),__.push('  <\/td>  <td class="verify-details-cell">   '),typeof IdName!="undefined"&&IdName!=null&&__.push($.encode(typeof IdName=="function"?IdName.call($item):IdName)),__.push('  <\/td>  <td class="verify-details-cell">   '),typeof Name!="undefined"&&Name!=null&&__.push($.encode(typeof Name=="function"?Name.call($item):Name)),__.push('  <\/td>  <td class="verify-details-cell">   '),typeof Type!="undefined"&&Type!=null&&__.push($.encode(typeof Type=="function"?Type.call($item):Type)),__.push('  <\/td>  <td class="verify-details-cell">   '),typeof Status!="undefined"&&Status!=null&&__.push($.encode(typeof Status=="function"?Status.call($item):Status)),__.push('  <\/td>  <td class="verify-details-cell">   <select id="comboPositionCol'),typeof Id!="undefined"&&Id!=null&&__.push($.encode(typeof Id=="function"?Id.call($item):Id)),__.push('" class="verify-details-combo"">    '),typeof positionOptions!="undefined"&&positionOptions!=null&&$.each(typeof positionOptions=="function"?positionOptions.call($item):positionOptions,function(n,$value){with(this)__.push('     <option value="'),typeof $value!="undefined"&&$value!=null&&__.push($.encode(typeof $value=="function"?$value.call($item):$value)),__.push('" >'),typeof $value!="undefined"&&$value!=null&&__.push($.encode(typeof $value=="function"?$value.call($item):$value)),__.push("<\/option>    ")}),__.push("   <\/select>  <\/td> <\/tr>");return __});jQuery.template("Tmpl-regds-upload-verification-head",function(n,t){var $=n,__=[],i=t.data;with(i)__.push("<br/>  "),typeof $.R!="undefined"&&$.R!=null&&__.push($.encode($.R("~/Tmpl/regds-upload-verification-head.htm","The verification result for the uploaded file is given below."))),__.push('  <br/>  <br/>  <table  class="knoema-table"  id="transaction-table">   <thead>    <tr>     <th style="width: 3%;">      #     <\/th>     <th style="width: 21%;">      '),typeof $.R!="undefined"&&$.R!=null&&__.push($.encode($.R("~/Tmpl/regds-upload-verification-head.htm","Name:"))),__.push('     <\/th>     <th style="width: 9%;">      '),typeof $.R!="undefined"&&$.R!=null&&__.push($.encode($.R("~/Tmpl/regds-upload-verification-head.htm","Type:"))),__.push('     <\/th>     <th style="width: 9%;">      '),typeof $.R!="undefined"&&$.R!=null&&__.push($.encode($.R("~/Tmpl/regds-upload-verification-head.htm","Status:"))),__.push('     <\/th>     <th style="width: 57%;">      '),typeof $.R!="undefined"&&$.R!=null&&__.push($.encode($.R("~/Tmpl/regds-upload-verification-head.htm","Members:"))),__.push('     <\/th>    <\/tr>   <\/thead>   <tbody>    <tr style="width:0px;height:0px;">    <\/tr>   <\/tbody>  <\/table>');return __});jQuery.template("Tmpl-regds-upload-verification-body",function(n,$item){var $=n,__=[],t=$item.data;with(t)__.push("<tr>   <td>    "),typeof(Id+1)!="undefined"&&Id+1!=null&&__.push($.encode(typeof(Id+1)=="function"?(Id+1).call($item):Id+1)),__.push("   <\/td>   <td>    "),typeof IsDimNamesclear!="undefined"&&IsDimNamesclear!=null&&(typeof IsDimNamesclear=="function"?IsDimNamesclear.call($item):IsDimNamesclear)?(__.push("     "),typeof Name!="undefined"&&Name!=null&&__.push($.encode(typeof Name=="function"?Name.call($item):Name)),__.push("    ")):!0&&(__.push('     <input type="text" id="textDim'),typeof Id!="undefined"&&Id!=null&&__.push($.encode(typeof Id=="function"?Id.call($item):Id)),__.push('" value="'),typeof Name!="undefined"&&Name!=null&&__.push($.encode(typeof Name=="function"?Name.call($item):Name)),__.push('"/>    ')),__.push("     <\/td>   <td>    "),typeof Type!="undefined"&&Type!=null&&__.push($.encode(typeof Type=="function"?Type.call($item):Type)),__.push("   <\/td>   <td>    "),typeof Status!="undefined"&&Status!=null&&__.push($.encode(typeof Status=="function"?Status.call($item):Status)),__.push("   <\/td>   <td>    "),typeof Members!="undefined"&&Members!=null&&__.push($.encode(typeof Members=="function"?Members.call($item):Members)),__.push("   <\/td>  <\/tr>");return __});jQuery.template("Tmpl-upload-advance-report",function(n,$item){var $=n,__=[],$data=$item.data;with($data)__.push('<div id="advance-report"> '),typeof IsKnoxDataOverwritten!="undefined"&&IsKnoxDataOverwritten!=null&&(typeof IsKnoxDataOverwritten=="function"?IsKnoxDataOverwritten.call($item):IsKnoxDataOverwritten)&&(__.push('  <div class="warning">'),typeof $.R!="undefined"&&$.R!=null&&__.push($.encode($.R("~/Tmpl/upload-advance-report.htm","Existing data will be overwritten."))),__.push("<\/div> ")),__.push("  "),typeof($data.hasChanges=!1,"")!="undefined"&&($data.hasChanges=!1,"")!=null&&__.push($.encode(typeof($data.hasChanges=!1,"")=="function"?($data.hasChanges=!1,"").call($item):($data.hasChanges=!1,""))),__.push("  "),typeof MetadataChanges!="undefined"&&MetadataChanges!=null&&$.each(typeof MetadataChanges=="function"?MetadataChanges.call($item):MetadataChanges,function(n,change){with(this)__.push("  "),typeof(change.AddedMembers>0||change.UpdatedMembers>0||change.AddedFields.length>0)!="undefined"&&(change.AddedMembers>0||change.UpdatedMembers>0||change.AddedFields.length>0)!=null&&(typeof(change.AddedMembers>0||change.UpdatedMembers>0||change.AddedFields.length>0)=="function"?(change.AddedMembers>0||change.UpdatedMembers>0||change.AddedFields.length>0).call($item):change.AddedMembers>0||change.UpdatedMembers>0||change.AddedFields.length>0)&&(__.push("   "),typeof($data.hasChanges=!0,"")!="undefined"&&($data.hasChanges=!0,"")!=null&&__.push($.encode(typeof($data.hasChanges=!0,"")=="function"?($data.hasChanges=!0,"").call($item):($data.hasChanges=!0,""))),__.push("  ")),__.push(" ")}),__.push("  "),typeof!hasChanges!="undefined"&&!hasChanges!=null&&(typeof!hasChanges=="function"?(!hasChanges).call($item):!hasChanges)?(__.push('  <div class="info">'),typeof $.R!="undefined"&&$.R!=null&&__.push($.encode($.R("~/Tmpl/upload-advance-report.htm","File structure matches the dataset. No metadata changes were detected."))),__.push("<\/div> ")):!0&&(__.push('  <table class="knoema-table advance-report">   <thead>    <tr>     <th class="dimension">'),typeof $.R!="undefined"&&$.R!=null&&__.push($.encode($.R("~/Tmpl/upload-advance-report.htm","Dimension"))),__.push('<\/th>     <th class="addedMembers">'),typeof $.R!="undefined"&&$.R!=null&&__.push($.encode($.R("~/Tmpl/upload-advance-report.htm","New Members"))),__.push('<\/th>     <th class="updatedMembers">'),typeof $.R!="undefined"&&$.R!=null&&__.push($.encode($.R("~/Tmpl/upload-advance-report.htm","Updated Members"))),__.push('<\/th>     <th class="addedFields">'),typeof $.R!="undefined"&&$.R!=null&&__.push($.encode($.R("~/Tmpl/upload-advance-report.htm","New Fields"))),__.push("<\/th>    <\/tr>   <\/thead>    "),typeof MetadataChanges!="undefined"&&MetadataChanges!=null&&$.each(typeof MetadataChanges=="function"?MetadataChanges.call($item):MetadataChanges,function(dimension,change){with(this)__.push('    <tr>     <td class="dimension">'),typeof dimension!="undefined"&&dimension!=null&&__.push($.encode(typeof dimension=="function"?dimension.call($item):dimension)),__.push('<\/td>     <td class="addedMembers">'),typeof change.AddedMembers!="undefined"&&change.AddedMembers!=null&&__.push($.encode(typeof change.AddedMembers=="function"?change.AddedMembers.call($item):change.AddedMembers)),__.push('<\/td>     <td class="updatedMembers">'),typeof change.UpdatedMembers!="undefined"&&change.UpdatedMembers!=null&&__.push($.encode(typeof change.UpdatedMembers=="function"?change.UpdatedMembers.call($item):change.UpdatedMembers)),__.push('<\/td>     <td class="addedFields">'),typeof change.AddedFields.join!="undefined"&&change.AddedFields.join!=null&&__.push($.encode(change.AddedFields.join(", "))),__.push("<\/td>    <\/tr>   ")}),__.push("  <\/table> ")),__.push(" <\/div>");return __});jQuery.template("Tmpl-user-flat-dataset-update-options",function(n,$item){var $=n,__=[],t=$item.data;with(t)__.push('<label for="UpdateOptions">'),typeof $.R!="undefined"&&$.R!=null&&__.push($.encode($.R("~/Tmpl/user/flat-dataset-update-options.htm","Update Options"))),__.push('<\/label><br />  <div id="update-options-container">   '),typeof(uploadFormatType==4||uploadFormatType==3)!="undefined"&&(uploadFormatType==4||uploadFormatType==3)!=null&&(typeof(uploadFormatType==4||uploadFormatType==3)=="function"?(uploadFormatType==4||uploadFormatType==3).call($item):uploadFormatType==4||uploadFormatType==3)?(__.push('   <label class="flat-ds-update-options-text">    <input type="radio" id="radio-append-option" name="radio-group-update-options" value="Update" />    '),typeof $.R!="undefined"&&$.R!=null&&__.push($.encode($.R("~/Tmpl/user/flat-dataset-update-options.htm","Update"))),__.push('<\/label><br />   <div class="update-option-info-text">'),typeof $.R!="undefined"&&$.R!=null&&__.push($.encode($.R("~/Tmpl/user/flat-dataset-update-options.htm","The data from input file will be updated in a dataset."))),__.push('<\/div>   <br />   <label class="flat-ds-update-options-text">    <input type="radio" id="radio-overwrite-option" name="radio-group-update-options" value="Overwrite" />    '),typeof $.R!="undefined"&&$.R!=null&&__.push($.encode($.R("~/Tmpl/user/flat-dataset-update-options.htm","Overwrite"))),__.push('<\/label><br />   <div class="update-option-info-text">'),typeof $.R!="undefined"&&$.R!=null&&__.push($.encode($.R("~/Tmpl/user/flat-dataset-update-options.htm","The existing data in dataset will be overridden by data from input file. Typically you should select this option when you have updated version of dataset which includes all historical data as well. Make sure that input file has all existing data contents otherwise it may be lost."))),__.push("<\/div>   ")):!0&&(__.push('   <label class="flat-ds-update-options-text">    <input type="radio" id="radio-overwrite-option" name="radio-group-update-options" value="Overwrite" />    '),typeof $.R!="undefined"&&$.R!=null&&__.push($.encode($.R("~/Tmpl/user/flat-dataset-update-options.htm","Overwrite"))),__.push('<\/label><br />   <div class="update-option-info-text">'),typeof $.R!="undefined"&&$.R!=null&&__.push($.encode($.R("~/Tmpl/user/flat-dataset-update-options.htm","The existing data in dataset will be overridden by data from input file. Typically you should select this option when you have updated version of dataset which includes all historical data as well. Make sure that input file has all existing data contents otherwise it may be lost."))),__.push('<\/div>   <br />   <label class="flat-ds-update-options-text">    <input type="radio" id="radio-append-option" name="radio-group-update-options" value="Append" />    '),typeof $.R!="undefined"&&$.R!=null&&__.push($.encode($.R("~/Tmpl/user/flat-dataset-update-options.htm","Append"))),__.push('<\/label><br />   <div class="update-option-info-text">'),typeof $.R!="undefined"&&$.R!=null&&__.push($.encode($.R("~/Tmpl/user/flat-dataset-update-options.htm","The data from input file will be appended to a dataset. Typically you should select this options when you need to push a batch of recent data into dataset like adding 2011 data to 2000-2010 which is already in a dataset. Make sure that input file has only unique records otherwise duplicated records will appear in a dataset."))),__.push("<\/div>   ")),__.push('  <\/div>  <div id="update-options-required-message" class="update-option-info-text">*'),typeof $.R!="undefined"&&$.R!=null&&__.push($.encode($.R("~/Tmpl/user/flat-dataset-update-options.htm","Please choose either of the update options before submitting upload."))),__.push("<\/div>  <hr />");return __});jQuery.template("Tmpl-user-columnstore-dataset-update-options",function(n,$item){var $=n,__=[],t=$item.data;with(t)__.push('<div id="extendedcount-options-container"> <label for="extendedcount-options-container">'),typeof $.R!="undefined"&&$.R!=null&&__.push($.encode($.R("~/Tmpl/user/columnstore-dataset-update-options.htm","Options"))),__.push('<\/label> <br /> <label for="checkbox-columnnames-infirstrow" class="flat-ds-update-options-text"> <input type="checkbox" id="checkbox-columnnames-infirstrow" name="checkbox-columnnames-infirstrow"'),typeof hasHeader!="undefined"&&hasHeader!=null&&(typeof hasHeader=="function"?hasHeader.call($item):hasHeader)?__.push('checked="checked"'):!0&&__.push('checked=""'),__.push(" /> "),typeof $.R!="undefined"&&$.R!=null&&__.push($.encode($.R("~/Tmpl/user/columnstore-dataset-update-options.htm","Has header"))),__.push('<\/label> <br /> <div class="update-option-info-text">'),typeof $.R!="undefined"&&$.R!=null&&__.push($.encode($.R("~/Tmpl/user/columnstore-dataset-update-options.htm","First row in the source file contains column names."))),__.push("<\/div> "),typeof hasUseExtendedCount!="undefined"&&hasUseExtendedCount!=null&&(typeof hasUseExtendedCount=="function"?hasUseExtendedCount.call($item):hasUseExtendedCount)&&(__.push(' <br /> <label for="checkbox-use-extendedcount" class="flat-ds-update-options-text"> <input type="checkbox" id="checkbox-use-extendedcount" name="checkbox-use-extendedcount"'),typeof useExtendedCount!="undefined"&&useExtendedCount!=null&&(typeof useExtendedCount=="function"?useExtendedCount.call($item):useExtendedCount)?__.push('checked="checked"'):!0&&__.push('checked=""'),__.push(" /> "),typeof $.R!="undefined"&&$.R!=null&&__.push($.encode($.R("~/Tmpl/user/columnstore-dataset-update-options.htm","Update and use Extended Count Tables"))),__.push('<\/label> <br /> <div class="update-option-info-text">'),typeof $.R!="undefined"&&$.R!=null&&__.push($.encode($.R("~/Tmpl/user/columnstore-dataset-update-options.htm","Statistics for timeseries count will be updated after upload. It may take a long time."))),__.push("<\/div> ")),__.push(" <\/div> <hr />");return __});jQuery.template("Tmpl-snowflake-upload-verification-head",function(n,t){var $=n,__=[],i=t.data;with(i)__.push("<p> "),typeof $.R!="undefined"&&$.R!=null&&__.push($.encode($.R("~/Tmpl/snowflake-upload-verification-head.htm","Please provide details for the below displayed list of columns."))),__.push(' <\/p> <table  class="knoema-table"  id="transaction-table">  <thead>   <tr>    <th>     #    <\/th>    <th>     '),typeof $.R!="undefined"&&$.R!=null&&__.push($.encode($.R("~/Tmpl/snowflake-upload-verification-head.htm","Name"))),__.push("    <\/th>    <th>     "),typeof $.R!="undefined"&&$.R!=null&&__.push($.encode($.R("~/Tmpl/snowflake-upload-verification-head.htm","Type"))),__.push("    <\/th>    <th>     "),typeof $.R!="undefined"&&$.R!=null&&__.push($.encode($.R("~/Tmpl/snowflake-upload-verification-head.htm","Category"))),__.push("    <\/th>    <th>     "),typeof $.R!="undefined"&&$.R!=null&&__.push($.encode($.R("~/Tmpl/snowflake-upload-verification-head.htm","Members"))),__.push("    <\/th>    <th>     "),typeof $.R!="undefined"&&$.R!=null&&__.push($.encode($.R("~/Tmpl/snowflake-upload-verification-head.htm","Dimension"))),__.push("    <\/th>    <th>     "),typeof $.R!="undefined"&&$.R!=null&&__.push($.encode($.R("~/Tmpl/snowflake-upload-verification-head.htm","Details"))),__.push("    <\/th>   <\/tr>  <\/thead>  <tbody>  <\/tbody> <\/table>");return __});jQuery.template("Tmpl-snowflake-upload-verification-body",function(n,$item){var $=n,__=[],t=$item.data;with(t)__.push("<tr>  <td>"),typeof(Id+1)!="undefined"&&Id+1!=null&&__.push($.encode(typeof(Id+1)=="function"?(Id+1).call($item):Id+1)),__.push('<\/td>  <td>   <input type="text" id="textDim'),typeof Id!="undefined"&&Id!=null&&__.push($.encode(typeof Id=="function"?Id.call($item):Id)),__.push('" value="'),typeof Name!="undefined"&&Name!=null&&__.push($.encode(typeof Name=="function"?Name.call($item):Name)),__.push('" />  <\/td>  <td>   <select id="comboType'),typeof Id!="undefined"&&Id!=null&&__.push($.encode(typeof Id=="function"?Id.call($item):Id)),__.push('">    <option value="Date">Date<\/option>    <option value="Text">Text<\/option>    <option value="Number">Number<\/option>    <option value="Location">Location<\/option>    <option value="Currency">Currency<\/option>    <option value="Latitude">Latitude<\/option>    <option value="Longitude">Longitude<\/option>   <\/select>  <\/td>  <td>   <select id="comboStatus'),typeof Id!="undefined"&&Id!=null&&__.push($.encode(typeof Id=="function"?Id.call($item):Id)),__.push('">    '),!0&&(__=__.concat($item.nest("Tmpl-snowflake-upload-verification-body-status-options",Type))),__.push("   <\/select>  <\/td>  <td>   "),typeof Members!="undefined"&&Members!=null&&__.push($.encode(typeof Members=="function"?Members.call($item):Members)),__.push('  <\/td>  <td>   <select class="comboGroup" id="comboGroupCol'),typeof Id!="undefined"&&Id!=null&&__.push($.encode(typeof Id=="function"?Id.call($item):Id)),__.push('">    '),typeof groupOptions!="undefined"&&groupOptions!=null&&$.each(typeof groupOptions=="function"?groupOptions.call($item):groupOptions,function(n,$value){with(this)__.push('    <option value="col'),typeof $value.id!="undefined"&&$value.id!=null&&__.push($.encode(typeof $value.id=="function"?$value.id.call($item):$value.id)),__.push('">'),typeof $value.name!="undefined"&&$value.name!=null&&__.push($.encode(typeof $value.name=="function"?$value.name.call($item):$value.name)),__.push("<\/option>    ")}),__.push('   <\/select>  <\/td>  <td>   <span class="group-as-container">    <span>'),typeof $.R!="undefined"&&$.R!=null&&__.push($.encode($.R("~/Tmpl/snowflake-upload-verification-body.htm","as"))),__.push('<\/span>    <select class="comboGroupType" id="comboGroupTypeCol'),typeof Id!="undefined"&&Id!=null&&__.push($.encode(typeof Id=="function"?Id.call($item):Id)),__.push('">     <option value="0">'),typeof $.R!="undefined"&&$.R!=null&&__.push($.encode($.R("~/Tmpl/snowflake-upload-verification-body.htm","Property"))),__.push('<\/option>     <option value="1">'),typeof $.R!="undefined"&&$.R!=null&&__.push($.encode($.R("~/Tmpl/snowflake-upload-verification-body.htm","Hierarchy"))),__.push('<\/option>    <\/select>   <\/span>   <input type="text" id="dimDetails'),typeof Id!="undefined"&&Id!=null&&__.push($.encode(typeof Id=="function"?Id.call($item):Id)),__.push('" value="'),typeof Details!="undefined"&&Details!=null&&__.push($.encode(typeof Details=="function"?Details.call($item):Details)),__.push('" />  <\/td> <\/tr>');return __});jQuery.template("Tmpl-snowflake-upload-verification-body-status-options",function(n,$item){var t=n,__=[],$data=$item.data;with($data)__.push(""),typeof($data=="Date")!="undefined"&&$data=="Date"!=null&&(typeof($data=="Date")=="function"?($data=="Date").call($item):$data=="Date")?__.push('  <option value="Date">Date<\/option><option value="Detail">Detail<\/option> '):typeof($data=="Number")!="undefined"&&$data=="Number"!=null&&(typeof($data=="Number")=="function"?($data=="Number").call($item):$data=="Number")?__.push('  <option value="Dimension">Dimension<\/option><option value="Measure">Measure<\/option><option value="Detail">Detail<\/option><option value="Attribute">Attribute<\/option> '):typeof($data=="Currency")!="undefined"&&$data=="Currency"!=null&&(typeof($data=="Currency")=="function"?($data=="Currency").call($item):$data=="Currency")?__.push('  <option value="Measure">Measure<\/option> '):typeof($data=="Latitude"||$data=="Longitude")!="undefined"&&($data=="Latitude"||$data=="Longitude")!=null&&(typeof($data=="Latitude"||$data=="Longitude")=="function"?($data=="Latitude"||$data=="Longitude").call($item):$data=="Latitude"||$data=="Longitude")?__.push('  <option value="Dimension">Dimension<\/option><option value="Detail">Detail<\/option><option value="Attribute">Attribute<\/option> '):typeof($data=="Text"||$data=="Location")!="undefined"&&($data=="Text"||$data=="Location")!=null&&(typeof($data=="Text"||$data=="Location")=="function"?($data=="Text"||$data=="Location").call($item):$data=="Text"||$data=="Location")&&__.push('}  <option value="Dimension">Dimension<\/option><option value="Detail">Detail<\/option><option value="Date">Date<\/option><option value="Attribute">Attribute<\/option> '),__.push("");return __});jQuery.template("Tmpl-flatds-upload-verification-head",function(n,t){var $=n,__=[],i=t.data;with(i)__.push("<p>  "),typeof $.R!="undefined"&&$.R!=null&&__.push($.encode($.R("~/Tmpl/flatds-upload-verification-head.htm","Please provide details for the below displayed list of columns."))),__.push('  <\/p>  <table  class="knoema-table"  id="transaction-table">   <thead>    <tr>     <th>      #     <\/th>     <th>      '),typeof $.R!="undefined"&&$.R!=null&&__.push($.encode($.R("~/Tmpl/flatds-upload-verification-head.htm","Name"))),__.push("     <\/th>     <th>      "),typeof $.R!="undefined"&&$.R!=null&&__.push($.encode($.R("~/Tmpl/flatds-upload-verification-head.htm","Type"))),__.push("     <\/th>     <th>      "),typeof $.R!="undefined"&&$.R!=null&&__.push($.encode($.R("~/Tmpl/flatds-upload-verification-head.htm","Status"))),__.push("     <\/th>     <th>      "),typeof $.R!="undefined"&&$.R!=null&&__.push($.encode($.R("~/Tmpl/flatds-upload-verification-head.htm","Members"))),__.push("     <\/th>     <th>      "),typeof $.R!="undefined"&&$.R!=null&&__.push($.encode($.R("~/Tmpl/flatds-upload-verification-head.htm","Grouped To"))),__.push("     <\/th>    <\/tr>   <\/thead>   <tbody>   <\/tbody>  <\/table>");return __});jQuery.template("Tmpl-flatds-upload-verification-body",function(n,$item){var $=n,__=[],t=$item.data;with(t)__.push("<tr>   <td>    "),typeof(Id+1)!="undefined"&&Id+1!=null&&__.push($.encode(typeof(Id+1)=="function"?(Id+1).call($item):Id+1)),__.push("   <\/td>   <td>    "),typeof Name!="undefined"&&Name!=null&&__.push($.encode(typeof Name=="function"?Name.call($item):Name)),__.push('   <\/td>   <td>    <select id="comboType'),typeof Id!="undefined"&&Id!=null&&__.push($.encode(typeof Id=="function"?Id.call($item):Id)),__.push('">     <option value="Date">Date<\/option>     <option value="Text">Text<\/option>     <option value="Number">Number<\/option>     <option value="Location">Location<\/option>     <option value="Currency">Currency<\/option>     <option value="Latitude">Latitude<\/option>     <option value="Longitude">Longitude<\/option>    <\/select>   <\/td>   <td>    <select id="comboStatus'),typeof Id!="undefined"&&Id!=null&&__.push($.encode(typeof Id=="function"?Id.call($item):Id)),__.push('">     '),!0&&(__=__.concat($item.nest("Tmpl-flatds-upload-verification-body-status-options",Type))),__.push("    <\/select>   <\/td>   <td>    "),typeof Members!="undefined"&&Members!=null&&__.push($.encode(typeof Members=="function"?Members.call($item):Members)),__.push('   <\/td>   <td>    <select class="comboGroup" id="comboGroupCol'),typeof Id!="undefined"&&Id!=null&&__.push($.encode(typeof Id=="function"?Id.call($item):Id)),__.push('">     '),typeof groupOptions!="undefined"&&groupOptions!=null&&$.each(typeof groupOptions=="function"?groupOptions.call($item):groupOptions,function(n,$value){with(this)__.push('     <option value="col'),typeof $value.id!="undefined"&&$value.id!=null&&__.push($.encode(typeof $value.id=="function"?$value.id.call($item):$value.id)),__.push('">'),typeof $value.name!="undefined"&&$value.name!=null&&__.push($.encode(typeof $value.name=="function"?$value.name.call($item):$value.name)),__.push("<\/option>     ")}),__.push('    <\/select>   <\/td>   <td>    <span class="group-as-container">     <span>'),typeof $.R!="undefined"&&$.R!=null&&__.push($.encode($.R("~/Tmpl/flatds-upload-verification-body.htm","as"))),__.push('<\/span>     <select class="comboGroupType" id="comboGroupTypeCol'),typeof Id!="undefined"&&Id!=null&&__.push($.encode(typeof Id=="function"?Id.call($item):Id)),__.push('">      <option value="0">'),typeof $.R!="undefined"&&$.R!=null&&__.push($.encode($.R("~/Tmpl/flatds-upload-verification-body.htm","Property"))),__.push('<\/option>      <option value="1">'),typeof $.R!="undefined"&&$.R!=null&&__.push($.encode($.R("~/Tmpl/flatds-upload-verification-body.htm","Hierarchy"))),__.push("<\/option>     <\/select>    <\/span>   <\/td>  <\/tr>");return __});jQuery.template("Tmpl-flatds-upload-verification-body-status-options",function(n,$item){var t=n,__=[],$data=$item.data;with($data)__.push(""),typeof($data=="Date")!="undefined"&&$data=="Date"!=null&&(typeof($data=="Date")=="function"?($data=="Date").call($item):$data=="Date")?__.push('  <option value="Date">Date<\/option> '):typeof($data=="Number")!="undefined"&&$data=="Number"!=null&&(typeof($data=="Number")=="function"?($data=="Number").call($item):$data=="Number")?__.push('  <option value="Dimension">Dimension<\/option><option value="Measure">Measure<\/option><option value="Detail">Detail<\/option> '):typeof($data=="Currency")!="undefined"&&$data=="Currency"!=null&&(typeof($data=="Currency")=="function"?($data=="Currency").call($item):$data=="Currency")?__.push('  <option value="Measure">Measure<\/option> '):typeof($data=="Latitude"||$data=="Longitude")!="undefined"&&($data=="Latitude"||$data=="Longitude")!=null&&(typeof($data=="Latitude"||$data=="Longitude")=="function"?($data=="Latitude"||$data=="Longitude").call($item):$data=="Latitude"||$data=="Longitude")?__.push('  <option value="Dimension">Dimension<\/option><option value="Detail">Detail<\/option> '):typeof($data=="Text"||$data=="Location")!="undefined"&&($data=="Text"||$data=="Location")!=null&&(typeof($data=="Text"||$data=="Location")=="function"?($data=="Text"||$data=="Location").call($item):$data=="Text"||$data=="Location")&&__.push('}  <option value="Dimension">Dimension<\/option><option value="Detail">Detail<\/option><option value="Date">Date<\/option> '),__.push("");return __})