jQuery.template("Tmpl-embed-share",function(n,t){var $=n,__=[],i=t.data;with(i)__.push('<div id="sharing-dialog" class="embed">      <div id="sharing-title">          <div>              '),typeof $.R!="undefined"&&$.R!=null&&__.push($.encode($.R("~/Tmpl/embed-share.htm","Sharing options"))),__.push('          <\/div>          <span class="close"><\/span>      <\/div>   <hr id="share-line" />   <div class="embed-share">    <label for="link"> '),typeof $.R!="undefined"&&$.R!=null&&__.push($.encode($.R("~/Tmpl/embed-share.htm","Link to share"))),__.push('<\/label>    <input type="text" id="resource-url" />    '),typeof Knoema.Utils.copySupported!="undefined"&&Knoema.Utils.copySupported!=null&&Knoema.Utils.copySupported()&&(__.push('<input type="button" value="'),typeof $.R!="undefined"&&$.R!=null&&__.push($.encode($.R("~/Tmpl/embed-share.htm","Copy"))),__.push('" class="copy" />')),__.push('    <label id="share-for-friends">'),typeof $.R!="undefined"&&$.R!=null&&__.push($.encode($.R("~/Tmpl/embed-share.htm","Share with friends"))),__.push('<\/label>   <\/div>      <div id="buttons">          <a id="cancel" href="#">'),typeof $.R!="undefined"&&$.R!=null&&__.push($.encode($.R("~/Tmpl/embed-share.htm","Cancel"))),__.push("<\/a>      <\/div>  <\/div>");return __});jQuery.template("Tmpl-embed-export",function(n,t){var $=n,__=[],i=t.data;with(i)__.push('<div id="export-embed-dialog">   <div id="export-title">    <div>     '),typeof $.R!="undefined"&&$.R!=null&&__.push($.encode($.R("~/Tmpl/embed-export.htm","Export"))),__.push('    <\/div>    <span class="close"><\/span>   <\/div>   <div class="embed-export">   <\/div>   <div id="buttons">    <a id="cancel" href="#">'),typeof $.R!="undefined"&&$.R!=null&&__.push($.encode($.R("~/Tmpl/embed-export.htm","Cancel"))),__.push("<\/a>   <\/div>  <\/div>");return __});jQuery.template("Tmpl-embed-email-sharing",function(n,$item){var $=n,__=[],t=$item.data;with(t)__.push('<div id="email-body">   <span> '),typeof $.R!="undefined"&&$.R!=null&&__.push($.encode($.R("~/Tmpl/embed-email-sharing.htm","To (email addresses):"))),__.push('<\/span>   <textarea type="text" id="email-address" />   <div class="error">   <\/div>   '),typeof allowNoteSharingResource!="undefined"&&allowNoteSharingResource!=null&&(typeof allowNoteSharingResource=="function"?allowNoteSharingResource.call($item):allowNoteSharingResource)&&(__.push("   <span> "),typeof $.R!="undefined"&&$.R!=null&&__.push($.encode($.R("~/Tmpl/embed-email-sharing.htm","Note:"))),__.push('<\/span>   <textarea type="text" id="email-note" />   ')),__.push('   <a id="send-email">Send email<\/a>  <\/div>');return __});jQuery.template("Tmpl-embed-action",function(n,$item){var $=n,__=[],t=$item.data;with(t)__.push('<div class="embed-actions '),typeof text!="undefined"&&text!=null&&__.push($.encode(typeof text=="function"?text.call($item):text)),__.push('" style="background-color: '),typeof background!="undefined"&&background!=null&&__.push($.encode(typeof background=="function"?background.call($item):background)),__.push('">   <div>    <span class="current-slide-number"><\/span>    <span class="total-slide-number"><\/span>   <\/div>   '),typeof isPresentation!="undefined"&&isPresentation!=null&&(typeof isPresentation=="function"?isPresentation.call($item):isPresentation)&&__.push('   <a href="#" id="first" class="player"><\/a><a href="#" id="prev" class=" player"><\/a><a href="#" id="play" class="play player"><\/a><a href="#" id="next" class=" player"><\/a><a href="#" id="last" class=" player"><\/a>   '),__.push("   <ul>    "),typeof canExport!="undefined"&&canExport!=null&&(typeof canExport=="function"?canExport.call($item):canExport)&&(__.push('    <li class="export download-data"><em><\/em><span>'),typeof $.R!="undefined"&&$.R!=null&&__.push($.encode($.R("~/Tmpl/embed-action.htm","Export"))),__.push("<\/span> <\/li>    ")),__.push("      "),typeof canShare!="undefined"&&canShare!=null&&(typeof canShare=="function"?canShare.call($item):canShare)&&(__.push('    <li class="share"><em><\/em><span>'),typeof $.R!="undefined"&&$.R!=null&&__.push($.encode($.R("~/Tmpl/embed-action.htm","Share"))),__.push("<\/span><\/li>    ")),__.push("      "),typeof canMoreAction!="undefined"&&canMoreAction!=null&&(typeof canMoreAction=="function"?canMoreAction.call($item):canMoreAction)&&(__.push('    <li class="more-actions"><em><\/em><span>'),typeof $.R!="undefined"&&$.R!=null&&__.push($.encode($.R("~/Tmpl/embed-action.htm","More Actions"))),__.push("<\/span><\/li>    ")),__.push("      "),typeof isEmbed!="undefined"&&isEmbed!=null&&(typeof isEmbed=="function"?isEmbed.call($item):isEmbed)&&(__.push('    <li class="powered-by-knoema">    <a target="_blank" href="//knoema.com" title="'),typeof title!="undefined"&&title!=null&&__.push($.encode(typeof title=="function"?title.call($item):title)),__.push('">     <img src="'),typeof logo!="undefined"&&logo!=null&&__.push($.encode(typeof logo=="function"?logo.call($item):logo)),__.push('" alt="'),typeof title!="undefined"&&title!=null&&__.push($.encode(typeof title=="function"?title.call($item):title)),__.push('" />    <\/a><\/li>    ')),__.push("   <\/ul>  <\/div>");return __})