-"bundle";System.register("main.js",[],function(a,b){"use strict";function c(a){a.use.standardConfiguration().developmentLogging(),a.start().then(function(){return a.setRoot("shell")})}return a("configure",c),{setters:[],execute:function(){}}}),function(){var a=System.amdDefine;a("shell.html!github:systemjs/plugin-text@0.0.8.js",[],function(){return'<template><compose view-model="views/mailto/mailto"></compose></template>'})}(),System.register("shell.js",[],function(a,b){"use strict";function c(a,b){if(!(a instanceof b))throw new TypeError("Cannot call a class as a function")}var d;return{setters:[],execute:function(){a("Shell",d=function b(){c(this,b)}),a("Shell",d)}}}),function(){var a=System.amdDefine;a("views/mailto/mailto.html!github:systemjs/plugin-text@0.0.8.js",[],function(){return'<template><div class="content mailto-hidden"><p>If you have questions about your query results or this SHRINE network, contact the Data Steward at your site.</p><div class="email js-email"><button class="button button--large js-button" click.delegate="openEmail()">Email Data Steward</button></div></div></template>'})}(),System.register("views/mailto/mailto.service.js",["aurelia-framework","aurelia-fetch-client","fetch"],function(a,b){"use strict";function c(a,b){if(!(a instanceof b))throw new TypeError("Cannot call a class as a function")}var d,e,f,g,h,i;return{setters:[function(a){d=a.inject},function(a){e=a.HttpClient},function(a){}],execute:function(){f=function(){function a(a,b){for(var c=0;c<b.length;c++){var d=b[c];d.enumerable=d.enumerable||!1,d.configurable=!0,"value"in d&&(d.writable=!0),Object.defineProperty(a,d.key,d)}}return function(b,c,d){return c&&a(b.prototype,c),d&&a(b,d),b}}(),a("MailToService",(g=d(e),i=g(h=function(){function a(b){var d=this;c(this,a),b.configure(function(a){a.useStandardConfiguration().withBaseUrl(d.url)}),this.http=b}return a.prototype.fetchStewardEmail=function(){return this.http.fetch("data?key=stewardEmail").then(function(a){return a.json()}).then(function(a){return a.indexOf('"')>0?a.split('"')[1]:a})["catch"](function(){return""})},f(a,[{key:"url",get:function(){var a="6443",b=document.URL,c="/shrine-metadata/";return b.substring(0,b.indexOf(a)+a.length)+c}}]),a}())||h)),a("MailToService",i)}}}),System.register("views/mailto/mailto.config.js",[],function(a,b){"use strict";var c;return{setters:[],execute:function(){a("MailConfig",c={mailto:"mailto:",subject:"subject="+encodeURIComponent("Question from a SHRINE User"),body:encodeURIComponent("Please enter the suggested information and your question. Your data steward will reply to this email.\n\n***Never send patient information, passwords, or other sensitive information by email****\nName:\nTitle:\nUser name (to log into SHRINE):\nTelephone Number (optional):\nPreferred email address (optional):\n\nQuestion or Comment:")}),a("MailConfig",c)}}}),System.register("views/mailto/mailto.js",["aurelia-framework","views/mailto/mailto.service","views/mailto/mailto.config"],function(a,b){"use strict";function c(a,b){if(!(a instanceof b))throw new TypeError("Cannot call a class as a function")}var d,e,f,g,h,i;return{setters:[function(a){d=a.inject},function(a){e=a.MailToService},function(a){f=a.MailConfig}],execute:function(){a("MailTo",(g=d(e,f),i=g(h=function(){function a(b,d){c(this,a),this.service=b,this.config=d}return a.prototype.openEmail=function(){var a=this;this.service.fetchStewardEmail().then(function(b){return window.top.location=a.getComposition(b),a})},a.prototype.getComposition=function(a){return this.config.mailto+a+"?"+this.config.subject+"&"+this.config.body},a}())||h)),a("MailTo",i)}}});
-"bundle";System.register("main.js",[],function(a,b){"use strict";function c(a){a.use.standardConfiguration().developmentLogging(),a.start().then(function(){return a.setRoot("shell")})}return a("configure",c),{setters:[],execute:function(){}}}),function(){var a=System.amdDefine;a("shell.html!github:systemjs/plugin-text@0.0.8.js",[],function(){return'<template><compose view-model="views/mailto/mailto"></compose></template>'})}(),System.register("shell.js",[],function(a,b){"use strict";function c(a,b){if(!(a instanceof b))throw new TypeError("Cannot call a class as a function")}var d;return{setters:[],execute:function(){a("Shell",d=function b(){c(this,b)}),a("Shell",d)}}}),function(){var a=System.amdDefine;a("views/mailto/mailto.html!github:systemjs/plugin-text@0.0.8.js",[],function(){return'<template><div class="content mailto-hidden"><p>If you have questions about your query results or this SHRINE network, contact the Data Steward at your site.</p><div class="email js-email"><button class="button button--large js-button" click.delegate="openEmail()">Email Data Steward</button></div></div></template>'})}(),System.register("views/mailto/mailto.service.js",["aurelia-framework","aurelia-fetch-client","fetch"],function(a,b){"use strict";function c(a,b){if(!(a instanceof b))throw new TypeError("Cannot call a class as a function")}var d,e,f,g,h,i;return{setters:[function(a){d=a.inject},function(a){e=a.HttpClient},function(a){}],execute:function(){f=function(){function a(a,b){for(var c=0;c<b.length;c++){var d=b[c];d.enumerable=d.enumerable||!1,d.configurable=!0,"value"in d&&(d.writable=!0),Object.defineProperty(a,d.key,d)}}return function(b,c,d){return c&&a(b.prototype,c),d&&a(b,d),b}}(),a("MailToService",(g=d(e),i=g(h=function(){function a(b){var d=this;c(this,a),b.configure(function(a){a.useStandardConfiguration().withBaseUrl(d.url)}),this.http=b}return a.prototype.fetchStewardEmail=function(){return this.http.fetch("data?key=stewardEmail").then(function(a){return a.json()}).then(function(a){return a.indexOf('"')>0?a.split('"')[1]:a})["catch"](function(){return""})},f(a,[{key:"url",get:function(){var a="6443",b=document.URL,c="/shrine-metadata/";return b.substring(0,b.indexOf(a)+a.length)+c}}]),a}())||h)),a("MailToService",i)}}}),System.register("views/mailto/mailto.config.js",[],function(a,b){"use strict";var c;return{setters:[],execute:function(){a("MailConfig",c={mailto:"mailto:",subject:"subject="+encodeURIComponent("Question from a SHRINE User"),body:encodeURIComponent("Please enter the suggested information and your question. Your data steward will reply to this email.\n\n***Never send patient information, passwords, or other sensitive information by email****\nName:\nTitle:\nUser name (to log into SHRINE):\nTelephone Number (optional):\nPreferred email address (optional):\n\nQuestion or Comment:")}),a("MailConfig",c)}}}),System.register("views/mailto/mailto.js",["aurelia-framework","views/mailto/mailto.service","views/mailto/mailto.config"],function(a,b){"use strict";function c(a,b){if(!(a instanceof b))throw new TypeError("Cannot call a class as a function")}var d,e,f,g,h,i;return{setters:[function(a){d=a.inject},function(a){e=a.MailToService},function(a){f=a.MailConfig}],execute:function(){a("MailTo",(g=d(e,f),i=g(h=function(){function a(b,d){c(this,a),this.service=b,this.config=d}return a.prototype.openEmail=function(){var a=this;this.service.fetchStewardEmail().then(function(b){return window.top.location=a.getComposition(b),a})},a.prototype.getComposition=function(a){return this.config.mailto+a+"?"+this.config.subject+"&"+this.config.body},a}())||h)),a("MailTo",i)}}});
\ No newline at end of file
+"bundle";System.register("main.js",[],function(a,b){"use strict";function c(a){a.use.standardConfiguration().developmentLogging(),a.start().then(function(){return a.setRoot("shell")})}return a("configure",c),{setters:[],execute:function(){}}}),function(){var a=System.amdDefine;a("shell.html!github:systemjs/plugin-text@0.0.8.js",[],function(){return"<template><!--compose view-model='views/mailto/mailto'>\n\t</compose--><compose view-model=\"views/query-viewer/query-viewer\"></compose></template>"})}(),System.register("shell.js",[],function(a,b){"use strict";function c(a,b){if(!(a instanceof b))throw new TypeError("Cannot call a class as a function")}var d;return{setters:[],execute:function(){a("Shell",d=function b(){c(this,b)}),a("Shell",d)}}}),function(){var a=System.amdDefine;a("views/mailto/mailto.html!github:systemjs/plugin-text@0.0.8.js",[],function(){return'<template><div class="content mailto-hidden"><p>If you have questions about your query results or this SHRINE network, contact the Data Steward at your site.</p><div class="email js-email"><button class="button button--large js-button" click.delegate="openEmail()">Email Data Steward</button></div></div></template>'})}(),System.register("views/mailto/mailto.service.js",["aurelia-framework","aurelia-fetch-client","fetch"],function(a,b){"use strict";function c(a,b){if(!(a instanceof b))throw new TypeError("Cannot call a class as a function")}var d,e,f,g,h,i;return{setters:[function(a){d=a.inject},function(a){e=a.HttpClient},function(a){}],execute:function(){f=function(){function a(a,b){for(var c=0;c<b.length;c++){var d=b[c];d.enumerable=d.enumerable||!1,d.configurable=!0,"value"in d&&(d.writable=!0),Object.defineProperty(a,d.key,d)}}return function(b,c,d){return c&&a(b.prototype,c),d&&a(b,d),b}}(),a("MailToService",(g=d(e),i=g(h=function(){function a(b){var d=this;c(this,a),b.configure(function(a){a.useStandardConfiguration().withBaseUrl(d.url)}),this.http=b}return a.prototype.fetchStewardEmail=function(){return this.http.fetch("data?key=stewardEmail").then(function(a){return a.json()}).then(function(a){return a.indexOf('"')>0?a.split('"')[1]:a})["catch"](function(){return""})},f(a,[{key:"url",get:function(){var a="6443",b=document.URL,c="/shrine-metadata/";return b.substring(0,b.indexOf(a)+a.length)+c}}]),a}())||h)),a("MailToService",i)}}}),System.register("views/mailto/mailto.config.js",[],function(a,b){"use strict";var c;return{setters:[],execute:function(){a("MailConfig",c={mailto:"mailto:",subject:"subject="+encodeURIComponent("Question from a SHRINE User"),body:encodeURIComponent("Please enter the suggested information and your question. Your data steward will reply to this email.\n\n***Never send patient information, passwords, or other sensitive information by email****\nName:\nTitle:\nUser name (to log into SHRINE):\nTelephone Number (optional):\nPreferred email address (optional):\n\nQuestion or Comment:")}),a("MailConfig",c)}}}),System.register("views/mailto/mailto.js",["aurelia-framework","views/mailto/mailto.service","views/mailto/mailto.config"],function(a,b){"use strict";function c(a,b){if(!(a instanceof b))throw new TypeError("Cannot call a class as a function")}var d,e,f,g,h,i;return{setters:[function(a){d=a.inject},function(a){e=a.MailToService},function(a){f=a.MailConfig}],execute:function(){a("MailTo",(g=d(e,f),i=g(h=function(){function a(b,d){c(this,a),this.service=b,this.config=d}return a.prototype.openEmail=function(){var a=this;this.service.fetchStewardEmail().then(function(b){return window.top.location=a.getComposition(b),a})},a.prototype.getComposition=function(a){return this.config.mailto+a+"?"+this.config.subject+"&"+this.config.body},a}())||h)),a("MailTo",i)}}}),function(){var a=System.amdDefine;a("views/query-viewer/query-table.html!github:systemjs/plugin-text@0.0.8.js",[],function(){return'<template><div class="box-wrapper"><div class="box"><section><!--for demo wrap--><!--h1>Fixed Table header</h1--><div><table cellpadding="0" cellspacing="0" border="0"><thead><tr><th></th><th>Node 1</th><th>Node 2</th><th>Node 3</th><th>Node 4</th><th>Node 5</th></tr></thead></table></div><div class="tbl-content"><table cellpadding="0" cellspacing="0" border="0"><tbody><tr><th><div class="hideextra">Query 1</div></th><td>46 +- 10 patients</td><td>15 +- 10 patients</td><td>4500 +- 10 patients</td><td>17 +- 10 patients</td><td>33 +- 10 patients</td></tr><tr><td colspan="6" class="breakdown-closed"><div><div>Patient Count: - 10 patients or fewer</div><div>Patient Age Count Breakdown:</div><div>0-9 years old: - 10 patients or fewer</div><div>10-17 years old: - 10 patients or fewer</div><div>18-34 years old: - 10 patients or fewer</div><div>35-44 years old: - 10 patients or fewer</div><div>45-54 years old: - 10 patients or fewer</div><div>55-64 years old: - 10 patients or fewer</div><div>65-74 years old: - 10 patients or fewer</div><div>75-84 years old: - 10 patients or fewer</div><div>>= 65 years old: - 10 patients or fewer</div><div>>= 85 years old: - 10 patients or fewer</div><div>Not recorded: - 10 patients or fewer</div><div>Patient Gender Count Breakdown:</div><div>Female: - 10 patients or fewer</div><div>Male: - 10 patients or fewer</div><div>Unknown: - 10 patients or fewer</div><div>Patient Race Count Breakdown:</div><div>Aleutian: - 10 patients or fewer</div><div>American Indian: - 10 patients or fewer</div><div>Asian: - 10 patients or fewer</div><div>Asian Pacific Islander: - 10 patients or fewer</div><div>Black: - 10 patients or fewer</div><div>Eskimo: - 10 patients or fewer</div><div>Hispanic: - 10 patients or fewer</div><div>Indian: - 10 patients or fewer</div><div>Middle Eastern: - 10 patients or fewer</div><div>Multiracial: - 10 patients or fewer</div><div>Native American: - 10 patients or fewer</div><div>Navajo: - 10 patients or fewer</div><div>Not recorded: - 10 patients or fewer</div><div>Oriental: - 10 patients or fewer</div><div>Other: - 10 patients or fewer</div><div>White: - 10 patients or fewer</div><div>Patient Vital Status Count Breakdown:</div><div>Deceased: - 10 patients or fewer</div><div>Deferred: - 10 patients or fewer</div><div>Living: - 10 patients or fewer</div><div>Not recorded: - 10 patients or fewer</div></div></td></tr><tr><th><div class="hideextra">Query 2</div></th><td>45 +- 10 patients</td><td>15 +- 10 patients</td><td>4500 +- 10 patients</td><td>17 +- 10 patients</td><td>33 +- 10 patients</td></tr><tr><th><div class="hideextra">Query 3</div></th><td>45 +- 10 patients</td><td>15 +- 10 patients</td><td>4500 +- 10 patients</td><td>17 +- 10 patients</td><td>33 +- 10 patients</td></tr><tr><th><div class="hideextra">Query 4</div></th><td>45 +- 10 patients</td><td>15 +- 10 patients</td><td>4500 +- 10 patients</td><td>17 +- 10 patients</td><td>33 +- 10 patients</td></tr><tr><th><div class="hideextra">Query 5</div></th><td>45 +- 10 patients</td><td>15 +- 10 patients</td><td>4500 +- 10 patients</td><td>17 +- 10 patients</td><td>33 +- 10 patients</td></tr><tr><th><div class="hideextra">Query 6</div></th><td>45 +- 10 patients</td><td>15 +- 10 patients</td><td>4500 +- 10 patients</td><td>17 +- 10 patients</td><td>33 +- 10 patients</td></tr><tr><th><div class="hideextra">Query 7</div></th><td>45 +- 10 patients</td><td>15 +- 10 patients</td><td>4500 +- 10 patients</td><td>17 +- 10 patients</td><td>33 +- 10 patients</td></tr><tr><th><div class="hideextra">Query 8</div></th><td>45 +- 10 patients</td><td>15 +- 10 patients</td><td>4500 +- 10 patients</td><td>17 +- 10 patients</td><td>33 +- 10 patients</td></tr><tr><th><div class="hideextra">Query 9</div></th><td>45 +- 10 patients</td><td>15 +- 10 patients</td><td>4500 +- 10 patients</td><td>17 +- 10 patients</td><td>33 +- 10 patients</td></tr></tbody></table></div></section></div></div></template>'})}(),System.register("views/query-viewer/query-table.js",["aurelia-framework"],function(a,b){"use strict";function c(a,b,c,d){c&&Object.defineProperty(a,b,{enumerable:c.enumerable,configurable:c.configurable,writable:c.writable,value:c.initializer?c.initializer.call(d):void 0})}function d(a,b){if(!(a instanceof b))throw new TypeError("Cannot call a class as a function")}function e(a,b,c,d,e){var f={};return Object.keys(d).forEach(function(a){f[a]=d[a]}),f.enumerable=!!f.enumerable,f.configurable=!!f.configurable,("value"in f||f.initializer)&&(f.writable=!0),f=c.slice().reverse().reduce(function(c,d){return d(a,b,c)||c},f),e&&void 0!==f.initializer&&(f.value=f.initializer?f.initializer.call(e):void 0,f.initializer=void 0),void 0===f.initializer&&(Object.defineProperty(a,b,f),f=null),f}var f,g,h,i;return{setters:[function(a){f=a.bindable}],execute:function(){a("QueryTable",(g=function b(){d(this,b),c(this,"queries",h,this)},h=e(g.prototype,"queries",[f],{enumerable:!0,initializer:null}),i=g)),a("QueryTable",i)}}}),function(){var a=System.amdDefine;a("views/query-viewer/query-viewer.html!github:systemjs/plugin-text@0.0.8.js",[],function(){return'<template><require from="views/query-viewer/query-table"></require><query-table queries.bind="queries"></query-table></template>'})}(),System.register("views/query-viewer/query-viewer.js",[],function(a,b){"use strict";function c(a,b){if(!(a instanceof b))throw new TypeError("Cannot call a class as a function")}var d;return{setters:[],execute:function(){a("QueryViewer",d=function b(){c(this,b),this.queries=[]}),a("QueryViewer",d)}}});