{"html":"\n<div id=\"modal\">\n    <input id=\"awards-search\" placeholder=\"Search Awards\" type=\"text\" onkeyup=\"filterList()\"\/>\n    <button id=\"add-awards\"> \n        <span> Add <span id=\"selected-awards\"> 0 <\/span> Awards <\/span>\n    <\/button>\n\n    <ul id=\"award-list\" class=\"list-group\">\n                    <li data-id=\"62\"> \n                <input type=\"checkbox\" \/>\n                <span class=\"award-name\"> Alexander Von Humboldt Foundation Senior von Humboldt Fellowship <\/span>\n                <span class=\"award-category\">  <\/span>\n            <\/li>\n                    <li data-id=\"72\"> \n                <input type=\"checkbox\" \/>\n                <span class=\"award-name\"> Alexander Von Humboldt Foundation Senior von Humboldt Research Award <\/span>\n                <span class=\"award-category\">  <\/span>\n            <\/li>\n                    <li data-id=\"13\"> \n                <input type=\"checkbox\" \/>\n                <span class=\"award-name\"> Alfred P. Sloan Research Fellowship <\/span>\n                <span class=\"award-category\"> Other Prestigious Fellowships, Grants and Awards <\/span>\n            <\/li>\n                    <li data-id=\"1\"> \n                <input type=\"checkbox\" \/>\n                <span class=\"award-name\"> American Academy of Arts and Letters <\/span>\n                <span class=\"award-category\"> Members and Fellows <\/span>\n            <\/li>\n                    <li data-id=\"2\"> \n                <input type=\"checkbox\" \/>\n                <span class=\"award-name\"> American Academy of Arts and Sciences <\/span>\n                <span class=\"award-category\"> Members and Fellows <\/span>\n            <\/li>\n                    <li data-id=\"3\"> \n                <input type=\"checkbox\" \/>\n                <span class=\"award-name\"> American Association for the Advancement of Science (AAAS) <\/span>\n                <span class=\"award-category\"> Members and Fellows <\/span>\n            <\/li>\n                    <li data-id=\"14\"> \n                <input type=\"checkbox\" \/>\n                <span class=\"award-name\"> American Chemical Society Early-Career Award <\/span>\n                <span class=\"award-category\"> Additional Notable Fellowships, Grants, and Awards <\/span>\n            <\/li>\n                    <li data-id=\"63\"> \n                <input type=\"checkbox\" \/>\n                <span class=\"award-name\"> American Comparative Literature Association Harry Levin Prize <\/span>\n                <span class=\"award-category\">  <\/span>\n            <\/li>\n                    <li data-id=\"15\"> \n                <input type=\"checkbox\" \/>\n                <span class=\"award-name\"> American Council of Learned Societies <\/span>\n                <span class=\"award-category\"> Additional Notable Fellowships, Grants, and Awards <\/span>\n            <\/li>\n                    <li data-id=\"4\"> \n                <input type=\"checkbox\" \/>\n                <span class=\"award-name\"> American Institute for Medical and Biological Engineering <\/span>\n                <span class=\"award-category\"> Members and Fellows <\/span>\n            <\/li>\n                    <li data-id=\"74\"> \n                <input type=\"checkbox\" \/>\n                <span class=\"award-name\"> American Law Institute <\/span>\n                <span class=\"award-category\"> Membership <\/span>\n            <\/li>\n                    <li data-id=\"5\"> \n                <input type=\"checkbox\" \/>\n                <span class=\"award-name\"> American Philosophical Society <\/span>\n                <span class=\"award-category\"> Members and Fellows <\/span>\n            <\/li>\n                    <li data-id=\"16\"> \n                <input type=\"checkbox\" \/>\n                <span class=\"award-name\"> American Philosophical Society Members <\/span>\n                <span class=\"award-category\"> Additional Notable Fellowships, Grants, and Awards <\/span>\n            <\/li>\n                    <li data-id=\"67\"> \n                <input type=\"checkbox\" \/>\n                <span class=\"award-name\"> American Society in Berlin Berlin Prize <\/span>\n                <span class=\"award-category\">  <\/span>\n            <\/li>\n                    <li data-id=\"17\"> \n                <input type=\"checkbox\" \/>\n                <span class=\"award-name\"> Andrew Carnegie Fellowship Program <\/span>\n                <span class=\"award-category\"> Additional Notable Fellowships, Grants, and Awards <\/span>\n            <\/li>\n                    <li data-id=\"64\"> \n                <input type=\"checkbox\" \/>\n                <span class=\"award-name\"> Arnold and Mabel Beckman Foundation Scholars Program <\/span>\n                <span class=\"award-category\">  <\/span>\n            <\/li>\n                    <li data-id=\"81\"> \n                <input type=\"checkbox\" \/>\n                <span class=\"award-name\"> Association for Computing Machinery (ACM) Distinguished Member <\/span>\n                <span class=\"award-category\"> Membership <\/span>\n            <\/li>\n                    <li data-id=\"18\"> \n                <input type=\"checkbox\" \/>\n                <span class=\"award-name\"> Beckman Young Investigator Award <\/span>\n                <span class=\"award-category\"> Additional Notable Fellowships, Grants, and Awards <\/span>\n            <\/li>\n                    <li data-id=\"20\"> \n                <input type=\"checkbox\" \/>\n                <span class=\"award-name\"> Camille Dreyfus Teacher-Scholar Awards Program <\/span>\n                <span class=\"award-category\"> Additional Notable Fellowships, Grants, and Awards <\/span>\n            <\/li>\n                    <li data-id=\"58\"> \n                <input type=\"checkbox\" \/>\n                <span class=\"award-name\"> Chinese Academy of Engineering <\/span>\n                <span class=\"award-category\"> Additional Notable Fellowships, Grants, and Awards <\/span>\n            <\/li>\n                    <li data-id=\"54\"> \n                <input type=\"checkbox\" \/>\n                <span class=\"award-name\"> Chinese Academy of Sciences <\/span>\n                <span class=\"award-category\"> Additional Notable Fellowships, Grants, and Awards <\/span>\n            <\/li>\n                    <li data-id=\"75\"> \n                <input type=\"checkbox\" \/>\n                <span class=\"award-name\"> Cottrell Scholars <\/span>\n                <span class=\"award-category\"> Society <\/span>\n            <\/li>\n                    <li data-id=\"22\"> \n                <input type=\"checkbox\" \/>\n                <span class=\"award-name\"> David and Lucile Packard Foundation Fellowships for Science & Engineering <\/span>\n                <span class=\"award-category\"> Additional Notable Fellowships, Grants, and Awards <\/span>\n            <\/li>\n                    <li data-id=\"80\"> \n                <input type=\"checkbox\" \/>\n                <span class=\"award-name\"> Department of Energy Early Career Research Award <\/span>\n                <span class=\"award-category\"> Award <\/span>\n            <\/li>\n                    <li data-id=\"68\"> \n                <input type=\"checkbox\" \/>\n                <span class=\"award-name\"> Engineering Academy of Japan International Fellow <\/span>\n                <span class=\"award-category\">  <\/span>\n            <\/li>\n                    <li data-id=\"24\"> \n                <input type=\"checkbox\" \/>\n                <span class=\"award-name\"> Fulbright Scholar Award <\/span>\n                <span class=\"award-category\"> Additional Notable Fellowships, Grants, and Awards <\/span>\n            <\/li>\n                    <li data-id=\"76\"> \n                <input type=\"checkbox\" \/>\n                <span class=\"award-name\"> Fulbright U.S. Scholars Program Fulbright U.S. Scholar <\/span>\n                <span class=\"award-category\"> Scholar <\/span>\n            <\/li>\n                    <li data-id=\"69\"> \n                <input type=\"checkbox\" \/>\n                <span class=\"award-name\"> Global Energy Association Global Energy Prize <\/span>\n                <span class=\"award-category\">  <\/span>\n            <\/li>\n                    <li data-id=\"25\"> \n                <input type=\"checkbox\" \/>\n                <span class=\"award-name\"> Guggenheim Fellowship <\/span>\n                <span class=\"award-category\"> Additional Notable Fellowships, Grants, and Awards <\/span>\n            <\/li>\n                    <li data-id=\"70\"> \n                <input type=\"checkbox\" \/>\n                <span class=\"award-name\"> Howard Hughes Medical Institute Investigator\/Alumni Investigator <\/span>\n                <span class=\"award-category\">  <\/span>\n            <\/li>\n                    <li data-id=\"73\"> \n                <input type=\"checkbox\" \/>\n                <span class=\"award-name\"> IEEE Engineering in Medicine and Biology Society Academic Career Achievement <\/span>\n                <span class=\"award-category\"> Society <\/span>\n            <\/li>\n                    <li data-id=\"59\"> \n                <input type=\"checkbox\" \/>\n                <span class=\"award-name\"> Indian Academy of Engineering <\/span>\n                <span class=\"award-category\"> Additional Notable Fellowships, Grants, and Awards <\/span>\n            <\/li>\n                    <li data-id=\"26\"> \n                <input type=\"checkbox\" \/>\n                <span class=\"award-name\"> Innovation in Regulatory Science Award <\/span>\n                <span class=\"award-category\"> Additional Notable Fellowships, Grants, and Awards <\/span>\n            <\/li>\n                    <li data-id=\"27\"> \n                <input type=\"checkbox\" \/>\n                <span class=\"award-name\"> James Russell Lowell Prize <\/span>\n                <span class=\"award-category\"> Additional Notable Fellowships, Grants, and Awards <\/span>\n            <\/li>\n                    <li data-id=\"28\"> \n                <input type=\"checkbox\" \/>\n                <span class=\"award-name\"> Jefferson Science Fellowship <\/span>\n                <span class=\"award-category\"> Additional Notable Fellowships, Grants, and Awards <\/span>\n            <\/li>\n                    <li data-id=\"29\"> \n                <input type=\"checkbox\" \/>\n                <span class=\"award-name\"> John S. Dunn Foundaton Research Award <\/span>\n                <span class=\"award-category\"> Additional Notable Fellowships, Grants, and Awards <\/span>\n            <\/li>\n                    <li data-id=\"30\"> \n                <input type=\"checkbox\" \/>\n                <span class=\"award-name\"> Kavli Prize <\/span>\n                <span class=\"award-category\"> Additional Notable Fellowships, Grants, and Awards <\/span>\n            <\/li>\n                    <li data-id=\"31\"> \n                <input type=\"checkbox\" \/>\n                <span class=\"award-name\"> Keck Foundation Research Grants <\/span>\n                <span class=\"award-category\"> Additional Notable Fellowships, Grants, and Awards <\/span>\n            <\/li>\n                    <li data-id=\"32\"> \n                <input type=\"checkbox\" \/>\n                <span class=\"award-name\"> King Faisal Prize <\/span>\n                <span class=\"award-category\"> Additional Notable Fellowships, Grants, and Awards <\/span>\n            <\/li>\n                    <li data-id=\"33\"> \n                <input type=\"checkbox\" \/>\n                <span class=\"award-name\"> Kleberg Foundation Medical Research Grants <\/span>\n                <span class=\"award-category\"> Additional Notable Fellowships, Grants, and Awards <\/span>\n            <\/li>\n                    <li data-id=\"6\"> \n                <input type=\"checkbox\" \/>\n                <span class=\"award-name\"> MacArthur Fellowship <\/span>\n                <span class=\"award-category\"> Members and Fellows <\/span>\n            <\/li>\n                    <li data-id=\"34\"> \n                <input type=\"checkbox\" \/>\n                <span class=\"award-name\"> Merle Curti Award <\/span>\n                <span class=\"award-category\"> Additional Notable Fellowships, Grants, and Awards <\/span>\n            <\/li>\n                    <li data-id=\"65\"> \n                <input type=\"checkbox\" \/>\n                <span class=\"award-name\"> Meteoritical Society <\/span>\n                <span class=\"award-category\">  <\/span>\n            <\/li>\n                    <li data-id=\"35\"> \n                <input type=\"checkbox\" \/>\n                <span class=\"award-name\"> Moore Inventor Fellow <\/span>\n                <span class=\"award-category\"> Additional Notable Fellowships, Grants, and Awards <\/span>\n            <\/li>\n                    <li data-id=\"83\"> \n                <input type=\"checkbox\" \/>\n                <span class=\"award-name\"> National Academies of Practice <\/span>\n                <span class=\"award-category\"> Award <\/span>\n            <\/li>\n                    <li data-id=\"7\"> \n                <input type=\"checkbox\" \/>\n                <span class=\"award-name\"> National Academy of Education Spencer Postdoctoral Fellow <\/span>\n                <span class=\"award-category\"> Members and Fellows <\/span>\n            <\/li>\n                    <li data-id=\"8\"> \n                <input type=\"checkbox\" \/>\n                <span class=\"award-name\"> National Academy of Engineering (NAE) <\/span>\n                <span class=\"award-category\"> National Academies <\/span>\n            <\/li>\n                    <li data-id=\"9\"> \n                <input type=\"checkbox\" \/>\n                <span class=\"award-name\"> National Academy of Inventors <\/span>\n                <span class=\"award-category\"> Members and Fellows <\/span>\n            <\/li>\n                    <li data-id=\"61\"> \n                <input type=\"checkbox\" \/>\n                <span class=\"award-name\"> National Academy of Inventors, Senior Members <\/span>\n                <span class=\"award-category\"> Additional Notable Fellowships, Grants, and Awards <\/span>\n            <\/li>\n                    <li data-id=\"10\"> \n                <input type=\"checkbox\" \/>\n                <span class=\"award-name\"> National Academy of Medicine (NAM) <\/span>\n                <span class=\"award-category\"> National Academies <\/span>\n            <\/li>\n                    <li data-id=\"71\"> \n                <input type=\"checkbox\" \/>\n                <span class=\"award-name\"> National Academy of Sciences <\/span>\n                <span class=\"award-category\">  <\/span>\n            <\/li>\n                    <li data-id=\"11\"> \n                <input type=\"checkbox\" \/>\n                <span class=\"award-name\"> National Academy of Sciences (NAS) <\/span>\n                <span class=\"award-category\"> National Academies <\/span>\n            <\/li>\n                    <li data-id=\"36\"> \n                <input type=\"checkbox\" \/>\n                <span class=\"award-name\"> National Endowment for the Humanities Fellowship <\/span>\n                <span class=\"award-category\"> Additional Notable Fellowships, Grants, and Awards <\/span>\n            <\/li>\n                    <li data-id=\"82\"> \n                <input type=\"checkbox\" \/>\n                <span class=\"award-name\"> National Humanities Medal <\/span>\n                <span class=\"award-category\"> Award <\/span>\n            <\/li>\n                    <li data-id=\"21\"> \n                <input type=\"checkbox\" \/>\n                <span class=\"award-name\"> National Science Foundation (NSF) CAREER Award <\/span>\n                <span class=\"award-category\"> Award <\/span>\n            <\/li>\n                    <li data-id=\"37\"> \n                <input type=\"checkbox\" \/>\n                <span class=\"award-name\"> New Directions Fellowships <\/span>\n                <span class=\"award-category\"> Additional Notable Fellowships, Grants, and Awards <\/span>\n            <\/li>\n                    <li data-id=\"77\"> \n                <input type=\"checkbox\" \/>\n                <span class=\"award-name\"> Nobel Prize <\/span>\n                <span class=\"award-category\"> Prize <\/span>\n            <\/li>\n                    <li data-id=\"66\"> \n                <input type=\"checkbox\" \/>\n                <span class=\"award-name\"> Organization of American Historians Merle Curti Award <\/span>\n                <span class=\"award-category\">  <\/span>\n            <\/li>\n                    <li data-id=\"38\"> \n                <input type=\"checkbox\" \/>\n                <span class=\"award-name\"> Packard Fellowships for Science and Engineering <\/span>\n                <span class=\"award-category\"> Additional Notable Fellowships, Grants, and Awards <\/span>\n            <\/li>\n                    <li data-id=\"39\"> \n                <input type=\"checkbox\" \/>\n                <span class=\"award-name\"> PECASE Award <\/span>\n                <span class=\"award-category\"> Additional Notable Fellowships, Grants, and Awards <\/span>\n            <\/li>\n                    <li data-id=\"78\"> \n                <input type=\"checkbox\" \/>\n                <span class=\"award-name\"> Pew Scholars in Biomedicine <\/span>\n                <span class=\"award-category\"> Scholar <\/span>\n            <\/li>\n                    <li data-id=\"40\"> \n                <input type=\"checkbox\" \/>\n                <span class=\"award-name\"> President\u2019s National Medal of Science <\/span>\n                <span class=\"award-category\"> Additional Notable Fellowships, Grants, and Awards <\/span>\n            <\/li>\n                    <li data-id=\"41\"> \n                <input type=\"checkbox\" \/>\n                <span class=\"award-name\"> Pulitzer Prize <\/span>\n                <span class=\"award-category\"> Additional Notable Fellowships, Grants, and Awards <\/span>\n            <\/li>\n                    <li data-id=\"42\"> \n                <input type=\"checkbox\" \/>\n                <span class=\"award-name\"> Rita Allen Scholars Program <\/span>\n                <span class=\"award-category\"> Additional Notable Fellowships, Grants, and Awards <\/span>\n            <\/li>\n                    <li data-id=\"43\"> \n                <input type=\"checkbox\" \/>\n                <span class=\"award-name\"> Robert A. Welch Award in Chemistry <\/span>\n                <span class=\"award-category\"> Additional Notable Fellowships, Grants, and Awards <\/span>\n            <\/li>\n                    <li data-id=\"55\"> \n                <input type=\"checkbox\" \/>\n                <span class=\"award-name\"> Royal Academy of Engineering <\/span>\n                <span class=\"award-category\"> Additional Notable Fellowships, Grants, and Awards <\/span>\n            <\/li>\n                    <li data-id=\"57\"> \n                <input type=\"checkbox\" \/>\n                <span class=\"award-name\"> Russian Academy of Engineering <\/span>\n                <span class=\"award-category\"> Additional Notable Fellowships, Grants, and Awards <\/span>\n            <\/li>\n                    <li data-id=\"60\"> \n                <input type=\"checkbox\" \/>\n                <span class=\"award-name\"> Russian Academy of Natural Sciences <\/span>\n                <span class=\"award-category\"> Additional Notable Fellowships, Grants, and Awards <\/span>\n            <\/li>\n                    <li data-id=\"45\"> \n                <input type=\"checkbox\" \/>\n                <span class=\"award-name\"> Searle Scholars <\/span>\n                <span class=\"award-category\"> Additional Notable Fellowships, Grants, and Awards <\/span>\n            <\/li>\n                    <li data-id=\"79\"> \n                <input type=\"checkbox\" \/>\n                <span class=\"award-name\"> Simons Fellows in Mathematics <\/span>\n                <span class=\"award-category\"> Fellowship <\/span>\n            <\/li>\n                    <li data-id=\"46\"> \n                <input type=\"checkbox\" \/>\n                <span class=\"award-name\"> Simons Investigators <\/span>\n                <span class=\"award-category\"> Additional Notable Fellowships, Grants, and Awards <\/span>\n            <\/li>\n                    <li data-id=\"56\"> \n                <input type=\"checkbox\" \/>\n                <span class=\"award-name\"> Swedish Academy of Sciences <\/span>\n                <span class=\"award-category\"> Additional Notable Fellowships, Grants, and Awards <\/span>\n            <\/li>\n                    <li data-id=\"47\"> \n                <input type=\"checkbox\" \/>\n                <span class=\"award-name\"> The Abel Prize <\/span>\n                <span class=\"award-category\"> Additional Notable Fellowships, Grants, and Awards <\/span>\n            <\/li>\n                    <li data-id=\"48\"> \n                <input type=\"checkbox\" \/>\n                <span class=\"award-name\"> The Blavatnik Awards for Young Scientists <\/span>\n                <span class=\"award-category\"> Additional Notable Fellowships, Grants, and Awards <\/span>\n            <\/li>\n                    <li data-id=\"49\"> \n                <input type=\"checkbox\" \/>\n                <span class=\"award-name\"> The Lemelson-MIT Award for Global Innovation <\/span>\n                <span class=\"award-category\"> Additional Notable Fellowships, Grants, and Awards <\/span>\n            <\/li>\n                    <li data-id=\"50\"> \n                <input type=\"checkbox\" \/>\n                <span class=\"award-name\"> The National Humanities Center Fellowship <\/span>\n                <span class=\"award-category\"> Additional Notable Fellowships, Grants, and Awards <\/span>\n            <\/li>\n                    <li data-id=\"12\"> \n                <input type=\"checkbox\" \/>\n                <span class=\"award-name\"> The Royal Society <\/span>\n                <span class=\"award-category\"> Members and Fellows <\/span>\n            <\/li>\n                    <li data-id=\"51\"> \n                <input type=\"checkbox\" \/>\n                <span class=\"award-name\"> Vannevar Bush Award <\/span>\n                <span class=\"award-category\"> Additional Notable Fellowships, Grants, and Awards <\/span>\n            <\/li>\n                    <li data-id=\"52\"> \n                <input type=\"checkbox\" \/>\n                <span class=\"award-name\"> William T. Grant Scholars Program <\/span>\n                <span class=\"award-category\"> Additional Notable Fellowships, Grants, and Awards <\/span>\n            <\/li>\n                    <li data-id=\"53\"> \n                <input type=\"checkbox\" \/>\n                <span class=\"award-name\"> Wolf Prize in Chemistry <\/span>\n                <span class=\"award-category\"> Additional Notable Fellowships, Grants, and Awards <\/span>\n            <\/li>\n            <\/ul>\n<\/div>\n\n\n<script>\n    $('#award-list input').on('change', function() {\n        \/\/get the number of selected awards\n        $('#selected-awards').text($('#award-list input:checked').length);\n    });\n\n    $('#add-awards').on('click', function() {\n        let awardRows = [];\n\n        \/\/for each of the selected award, create a row element with the required data\n        $('#award-list input:checked').each(function() {\n            \/\/get the params to pass to the create row function\n            let li = $(this).parent();\n            let awardId = li.data('id');\n            let awardName = li.find('.award-name').text();\n            let awardCategory = li.find('.award-category').text();\n\n            \/\/create the row\n            let row = {\n                id: awardId,\n                name: awardName,\n                discipline: awardCategory\n            }\n\n            awardRows.push(row);\n        });\n\n        \/\/add the rows to the tabulator table\n        table.addData(awardRows);\n        \n        \/\/once finished, close the modal\n        modal.close();\n    })\n\n<\/script>\n\n\n<script>\n    function filterList() {\n        \/\/credit: https:\/\/www.w3schools.com\/howto\/howto_js_filter_lists.asp\n        \/\/ Declare variables\n        var input, filter, ul, li, a, i, txtValue;\n        input = document.getElementById('award-search');\n        filter = input.value.toUpperCase();\n        ul = document.getElementById(\"award-list\");\n        li = ul.getElementsByTagName('li');\n\n        \/\/ Loop through all list items, and hide those who don't match the search query\n        for (i = 0; i < li.length; i++) {\n            txtValue = li[i].textContent || li[i].innerText;\n            if (txtValue.toUpperCase().indexOf(filter) > -1) {\n            li[i].style.display = \"\";\n            } else {\n            li[i].style.display = \"none\";\n            }\n        }\n    }\n<\/script>\n\n"}
