Verified Commit df494c5f authored by Benjamin Regler's avatar Benjamin Regler
Browse files

🔖 Updated periodic table analytics tutorial to v1.1.0

parent 9504732c
...@@ -47,7 +47,7 @@ ...@@ -47,7 +47,7 @@
" * Benjamin Regler - Apache 2.0 License", " * Benjamin Regler - Apache 2.0 License",
" * @license http://www.apache.org/licenses/LICENSE-2.0", " * @license http://www.apache.org/licenses/LICENSE-2.0",
" * @author Benjamin Regler", " * @author Benjamin Regler",
" * @version 1.0.0", " * @version 1.1.0",
" *", " *",
" * Licensed under the Apache License, Version 2.0 (the \"License\");", " * Licensed under the Apache License, Version 2.0 (the \"License\");",
" * you may not use this file except in compliance with the License.", " * you may not use this file except in compliance with the License.",
...@@ -61,7 +61,20 @@ ...@@ -61,7 +61,20 @@
" * See the License for the specific language governing permissions and", " * See the License for the specific language governing permissions and",
" * limitations under the License.", " * limitations under the License.",
" */", " */",
"p{margin-bottom:1.3em}h1,h2,h3,h4{margin:1.414em 0 .5em;font-weight:inherit;line-height:1.2}h1{margin-top:0;font-size:3.998em}h2{font-size:2.827em}h3{font-size:1.999em}h4{font-size:1.414em}.font_small,small{font-size:.707em}.notebook-container{font-size:16px}.notebook-container .bkr{font-size:100%;font-weight:400;line-height:1.45;color:#333}.nomad--header h2{color:#20335d;font-weight:700;margin:0 0 .2em}.nomad--header h3{color:#20335d;font-weight:700;margin-top:0;text-indent:-1em;padding-left:1em}.nomad--header h3:before{content:\"\\2014\";padding-right:.25em}.nomad--header .nomad--description{margin:-1em 0 0 2em}.atomic-data--block,.nomad--last-updated{display:inline-block;margin-top:1em}.nomad--last-updated{color:grey;float:right;position:relative;z-index:1}.nomad--last-updated::before{bottom:-75%;content:attr(data-version);font-size:4em;font-weight:700;opacity:.2;position:absolute;right:0}.atomic-data label{display:block;font-size:medium;font-weight:700}.atomic-data--select,.chosen-container{width:100%!important}.atomic-data--select:disabled{color:#d3d3d3}.atomic-data--reset-buton{display:inline-block;margin-top:1.6em;width:100%}.modal-dialog{max-width:1000px;width:80%}.modal-header h1{font-size:2em;line-height:1.2}.modal-dialog h2{font-size:1.414em}.modal-dialog h2:first-child{margin-top:0}.modal-dialog h3{font-size:1.2em}.modal-dialog dt{font-size:larger;margin-top:1.414em}.modal-dialog img{width:100%}.modal-dialog .authors{text-transform:uppercase}", "p{margin-bottom:1.3em}h1,h2,h3,h4{margin:1.414em 0 .5em;font-weight:inherit;line-height:1.2}h1{margin-top:0;font-size:3.998em}h2{font-size:2.827em}h3{font-size:1.999em}h4{font-size:1.414em}.font_small,small{font-size:.707em}.notebook-container{font-size:16px}.notebook-container .bkr{font-size:100%;font-weight:400;line-height:1.45;color:#333}.nomad--header h2{color:#20335d;font-weight:700;margin:0 0 .2em}.nomad--header h3{color:#20335d;font-weight:700;margin-top:0;text-indent:-1em;padding-left:1em}.nomad--header h3:before{content:\"\\2014\";padding-right:.25em}.nomad--header .nomad--description{margin:-1em 0 0 2em}.nomad--last-updated{color:grey;display:inline-block;float:right;position:relative;margin-top:1em;z-index:1}.nomad--last-updated::before{bottom:-75%;content:attr(data-version);font-size:4em;font-weight:700;opacity:.2;position:absolute;right:0}.modal-dialog{max-width:1000px;width:80%}.modal-header h1{font-size:2em;line-height:1.2}.modal-dialog h2{font-size:1.414em}.modal-dialog h2:first-child{margin-top:0}.modal-dialog h3{font-size:1.2em}.modal-dialog dt{font-size:larger;margin-top:1.414em}.modal-dialog img{width:100%}.modal-dialog .authors{text-transform:uppercase}.new-cell .active,.new-cell .btn,.new-cell .btn>*,.new-cell .dropdwon{color:#fff}.markup p:first-child::before{content:none;display:block;float:none;height:auto;width:auto}",
"/*!",
" * Chosen, a Select Box Enhancer for jQuery and Prototype",
" * by Patrick Filler for Harvest, http://getharvest.com",
" *",
" * Version 1.7.0",
" * Full source at https://github.com/harvesthq/chosen",
" * Copyright (c) 2011-2017 Harvest http://getharvest.com",
" *",
" * MIT License, https://github.com/harvesthq/chosen/blob/master/LICENSE.md",
" * This file is generated by `grunt build`, do not edit it by hand.",
" */",
".chosen-container{position:relative;display:inline-block;vertical-align:middle;font-size:13px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.chosen-container *{box-sizing:border-box}.chosen-container .chosen-drop{position:absolute;top:100%;z-index:1010;width:100%;border:1px solid #aaa;border-top:0;background:#fff;box-shadow:0 4px 5px rgba(0,0,0,.15);clip:rect(0,0,0,0)}.chosen-container.chosen-with-drop .chosen-drop{clip:auto}.chosen-container a{cursor:pointer}.chosen-container .search-choice .group-name,.chosen-container .chosen-single .group-name{margin-right:4px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;font-weight:400;color:#999}.chosen-container .search-choice .group-name:after,.chosen-container .chosen-single .group-name:after{content:\":\";padding-left:2px;vertical-align:top}.chosen-container-single .chosen-single{position:relative;display:block;overflow:hidden;padding:0 0 0 8px;height:25px;border:1px solid #aaa;border-radius:5px;background-color:#fff;background:linear-gradient(#fff 20%,#f6f6f6 50%,#eee 52%,#f4f4f4 100%);background-clip:padding-box;box-shadow:0 0 3px #fff inset,0 1px 1px rgba(0,0,0,.1);color:#444;text-decoration:none;white-space:nowrap;line-height:24px}.chosen-container-single .chosen-default{color:#999}.chosen-container-single .chosen-single span{display:block;overflow:hidden;margin-right:26px;text-overflow:ellipsis;white-space:nowrap}.chosen-container-single .chosen-single-with-deselect span{margin-right:38px}.chosen-container-single .chosen-single abbr{position:absolute;top:6px;right:26px;display:block;width:12px;height:12px;background:url(\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADQAAAAlCAQAAACn+wJeAAAB4UlEQVRIx+2XsWtTURTGrwouLQQDwYLFzT3yJBDoYoVvySQoKFShSHe7qAgqiMn9rcUibnVwEARBl0AgUIh/QXBxFIpKJHAhUBz0HQcf4U0xtZwu+r3l8t4758fHPe/jvhBcRIUuWbFuMKAWnEB9jEQWAk0SRt8LtMo+RmKdhDGiHrzEChOMHGPsiAkhBDbIMXKu+2KaJUfZwcsXD4RJrJFKKHaw6fVmRnmNT5ydC9TDSDRCIGOMMfh9u8pegRmzNKP8NUZvzu+oR6NY19mddqVVgG7MKL5SvHPrcJu3g/F2xvMqowKUOHMYUJXhrAa8Ku1j90/dVFFXxaypoYFqfzFR80h9mZKyENRUkskrgrSqfZmS1pVkGskvG7SiiUy5TGP5RpA2lMuUyzeC1Cw5yrwxSWtKrij1ZEpqhKBMY5kGXqCKeioiSHXtain817+k9gLLLD887ozhLl8xjGG86onZxuIe99jCsHjTCRMvYvF9+1QIIcTz8RuTzmkfP0+jdaYJHW9jXPYBvYj5/ZNlf06HxvgEYzoC8Tk5l1xAnXP8IHVam8faC3GTn3x5cMJr6q5h0fjI5+L4suU24PFCfMkHhvExHQyL20eQEfERhsVncdEfdYfvGK2jcPUOK/+A/QJb5yp50uoC6QAAAABJRU5ErkJggg==\") -42px 1px no-repeat;font-size:1px}.chosen-container-single .chosen-single abbr:hover{background-position:-42px -10px}.chosen-container-single.chosen-disabled .chosen-single abbr:hover{background-position:-42px -10px}.chosen-container-single .chosen-single div{position:absolute;top:0;right:0;display:block;width:18px;height:100%}.chosen-container-single .chosen-single div b{display:block;width:100%;height:100%;background:url(\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADQAAAAlCAQAAACn+wJeAAAB4UlEQVRIx+2XsWtTURTGrwouLQQDwYLFzT3yJBDoYoVvySQoKFShSHe7qAgqiMn9rcUibnVwEARBl0AgUIh/QXBxFIpKJHAhUBz0HQcf4U0xtZwu+r3l8t4758fHPe/jvhBcRIUuWbFuMKAWnEB9jEQWAk0SRt8LtMo+RmKdhDGiHrzEChOMHGPsiAkhBDbIMXKu+2KaJUfZwcsXD4RJrJFKKHaw6fVmRnmNT5ydC9TDSDRCIGOMMfh9u8pegRmzNKP8NUZvzu+oR6NY19mddqVVgG7MKL5SvHPrcJu3g/F2xvMqowKUOHMYUJXhrAa8Ku1j90/dVFFXxaypoYFqfzFR80h9mZKyENRUkskrgrSqfZmS1pVkGskvG7SiiUy5TGP5RpA2lMuUyzeC1Cw5yrwxSWtKrij1ZEpqhKBMY5kGXqCKeioiSHXtain817+k9gLLLD887ozhLl8xjGG86onZxuIe99jCsHjTCRMvYvF9+1QIIcTz8RuTzmkfP0+jdaYJHW9jXPYBvYj5/ZNlf06HxvgEYzoC8Tk5l1xAnXP8IHVam8faC3GTn3x5cMJr6q5h0fjI5+L4suU24PFCfMkHhvExHQyL20eQEfERhsVncdEfdYfvGK2jcPUOK/+A/QJb5yp50uoC6QAAAABJRU5ErkJggg==\") no-repeat 0 2px}.chosen-container-single .chosen-search{position:relative;z-index:1010;margin:0;padding:3px 4px;white-space:nowrap}.chosen-container-single .chosen-search input[type=text]{margin:1px 0;padding:4px 20px 4px 5px;width:100%;height:auto;outline:0;border:1px solid #aaa;background:url(\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADQAAAAlCAQAAACn+wJeAAAB4UlEQVRIx+2XsWtTURTGrwouLQQDwYLFzT3yJBDoYoVvySQoKFShSHe7qAgqiMn9rcUibnVwEARBl0AgUIh/QXBxFIpKJHAhUBz0HQcf4U0xtZwu+r3l8t4758fHPe/jvhBcRIUuWbFuMKAWnEB9jEQWAk0SRt8LtMo+RmKdhDGiHrzEChOMHGPsiAkhBDbIMXKu+2KaJUfZwcsXD4RJrJFKKHaw6fVmRnmNT5ydC9TDSDRCIGOMMfh9u8pegRmzNKP8NUZvzu+oR6NY19mddqVVgG7MKL5SvHPrcJu3g/F2xvMqowKUOHMYUJXhrAa8Ku1j90/dVFFXxaypoYFqfzFR80h9mZKyENRUkskrgrSqfZmS1pVkGskvG7SiiUy5TGP5RpA2lMuUyzeC1Cw5yrwxSWtKrij1ZEpqhKBMY5kGXqCKeioiSHXtain817+k9gLLLD887ozhLl8xjGG86onZxuIe99jCsHjTCRMvYvF9+1QIIcTz8RuTzmkfP0+jdaYJHW9jXPYBvYj5/ZNlf06HxvgEYzoC8Tk5l1xAnXP8IHVam8faC3GTn3x5cMJr6q5h0fjI5+L4suU24PFCfMkHhvExHQyL20eQEfERhsVncdEfdYfvGK2jcPUOK/+A/QJb5yp50uoC6QAAAABJRU5ErkJggg==\") no-repeat 100% -20px;font-size:1em;font-family:sans-serif;line-height:normal;border-radius:0}.chosen-container-single .chosen-drop{margin-top:-1px;border-radius:0 0 4px 4px;background-clip:padding-box}.chosen-container-single.chosen-container-single-nosearch .chosen-search{position:absolute;clip:rect(0,0,0,0)}.chosen-container .chosen-results{color:#444;position:relative;overflow-x:hidden;overflow-y:auto;margin:0 4px 4px 0;padding:0 0 0 4px;max-height:240px;-webkit-overflow-scrolling:touch}.chosen-container .chosen-results li{display:none;margin:0;padding:5px 6px;list-style:none;line-height:15px;word-wrap:break-word;-webkit-touch-callout:none}.chosen-container .chosen-results li.active-result{display:list-item;cursor:pointer}.chosen-container .chosen-results li.disabled-result{display:list-item;color:#ccc;cursor:default}.chosen-container .chosen-results li.highlighted{background-color:#3875d7;background-image:linear-gradient(#3875d7 20%,#2a62bc 90%);color:#fff}.chosen-container .chosen-results li.no-results{color:#777;display:list-item;background:#f4f4f4}.chosen-container .chosen-results li.group-result{display:list-item;font-weight:700;cursor:default}.chosen-container .chosen-results li.group-option{padding-left:15px}.chosen-container .chosen-results li em{font-style:normal;text-decoration:underline}.chosen-container-multi .chosen-choices{position:relative;overflow:hidden;margin:0;padding:0 5px;width:100%;height:auto;border:1px solid #aaa;background-color:#fff;background-image:linear-gradient(#eee 1%,#fff 15%);cursor:text}.chosen-container-multi .chosen-choices li{float:left;list-style:none}.chosen-container-multi .chosen-choices li.search-field{margin:0;padding:0;white-space:nowrap}.chosen-container-multi .chosen-choices li.search-field input[type=text]{margin:1px 0;padding:0;height:25px;outline:0;border:0!important;background:transparent!important;box-shadow:none;color:#999;font-size:100%;font-family:sans-serif;line-height:normal;border-radius:0;width:25px}.chosen-container-multi .chosen-choices li.search-choice{position:relative;margin:3px 5px 3px 0;padding:3px 20px 3px 5px;border:1px solid #aaa;max-width:100%;border-radius:3px;background-color:#eee;background-image:linear-gradient(#f4f4f4 20%,#f0f0f0 50%,#e8e8e8 52%,#eee 100%);background-size:100% 19px;background-repeat:repeat-x;background-clip:padding-box;box-shadow:0 0 2px #fff inset,0 1px 0 rgba(0,0,0,.05);color:#333;line-height:13px;cursor:default}.chosen-container-multi .chosen-choices li.search-choice span{word-wrap:break-word}.chosen-container-multi .chosen-choices li.search-choice .search-choice-close{position:absolute;top:4px;right:3px;display:block;width:12px;height:12px;background:url(\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADQAAAAlCAQAAACn+wJeAAAB4UlEQVRIx+2XsWtTURTGrwouLQQDwYLFzT3yJBDoYoVvySQoKFShSHe7qAgqiMn9rcUibnVwEARBl0AgUIh/QXBxFIpKJHAhUBz0HQcf4U0xtZwu+r3l8t4758fHPe/jvhBcRIUuWbFuMKAWnEB9jEQWAk0SRt8LtMo+RmKdhDGiHrzEChOMHGPsiAkhBDbIMXKu+2KaJUfZwcsXD4RJrJFKKHaw6fVmRnmNT5ydC9TDSDRCIGOMMfh9u8pegRmzNKP8NUZvzu+oR6NY19mddqVVgG7MKL5SvHPrcJu3g/F2xvMqowKUOHMYUJXhrAa8Ku1j90/dVFFXxaypoYFqfzFR80h9mZKyENRUkskrgrSqfZmS1pVkGskvG7SiiUy5TGP5RpA2lMuUyzeC1Cw5yrwxSWtKrij1ZEpqhKBMY5kGXqCKeioiSHXtain817+k9gLLLD887ozhLl8xjGG86onZxuIe99jCsHjTCRMvYvF9+1QIIcTz8RuTzmkfP0+jdaYJHW9jXPYBvYj5/ZNlf06HxvgEYzoC8Tk5l1xAnXP8IHVam8faC3GTn3x5cMJr6q5h0fjI5+L4suU24PFCfMkHhvExHQyL20eQEfERhsVncdEfdYfvGK2jcPUOK/+A/QJb5yp50uoC6QAAAABJRU5ErkJggg==\") -42px 1px no-repeat;font-size:1px}.chosen-container-multi .chosen-choices li.search-choice .search-choice-close:hover{background-position:-42px -10px}.chosen-container-multi .chosen-choices li.search-choice-disabled{padding-right:5px;border:1px solid #ccc;background-color:#e4e4e4;background-image:linear-gradient(#f4f4f4 20%,#f0f0f0 50%,#e8e8e8 52%,#eee 100%);color:#666}.chosen-container-multi .chosen-choices li.search-choice-focus{background:#d4d4d4}.chosen-container-multi .chosen-choices li.search-choice-focus .search-choice-close{background-position:-42px -10px}.chosen-container-multi .chosen-results{margin:0;padding:0}.chosen-container-multi .chosen-drop .result-selected{display:list-item;color:#ccc;cursor:default}.chosen-container-active .chosen-single{border:1px solid #5897fb;box-shadow:0 0 5px rgba(0,0,0,.3)}.chosen-container-active.chosen-with-drop .chosen-single{border:1px solid #aaa;border-bottom-right-radius:0;border-bottom-left-radius:0;background-image:linear-gradient(#eee 20%,#fff 80%);box-shadow:0 1px 0 #fff inset}.chosen-container-active.chosen-with-drop .chosen-single div{border-left:0;background:transparent}.chosen-container-active.chosen-with-drop .chosen-single div b{background-position:-18px 2px}.chosen-container-active .chosen-choices{border:1px solid #5897fb;box-shadow:0 0 5px rgba(0,0,0,.3)}.chosen-container-active .chosen-choices li.search-field input[type=text]{color:#222!important}.chosen-disabled{opacity:.5!important;cursor:default}.chosen-disabled .chosen-single{cursor:default}.chosen-disabled .chosen-choices .search-choice .search-choice-close{cursor:default}.chosen-rtl{text-align:right}.chosen-rtl .chosen-single{overflow:visible;padding:0 8px 0 0}.chosen-rtl .chosen-single span{margin-right:0;margin-left:26px;direction:rtl}.chosen-rtl .chosen-single-with-deselect span{margin-left:38px}.chosen-rtl .chosen-single div{right:auto;left:3px}.chosen-rtl .chosen-single abbr{right:auto;left:26px}.chosen-rtl .chosen-choices li{float:right}.chosen-rtl .chosen-choices li.search-field input[type=text]{direction:rtl}.chosen-rtl .chosen-choices li.search-choice{margin:3px 5px 3px 0;padding:3px 5px 3px 19px}.chosen-rtl .chosen-choices li.search-choice .search-choice-close{right:auto;left:4px}.chosen-rtl.chosen-container-single .chosen-results{margin:0 0 4px 4px;padding:0 4px 0 0}.chosen-rtl .chosen-results li.group-option{padding-right:15px;padding-left:0}.chosen-rtl.chosen-container-active.chosen-with-drop .chosen-single div{border-right:0}.chosen-rtl .chosen-search input[type=text]{padding:4px 5px 4px 20px;background:url(\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADQAAAAlCAQAAACn+wJeAAAB4UlEQVRIx+2XsWtTURTGrwouLQQDwYLFzT3yJBDoYoVvySQoKFShSHe7qAgqiMn9rcUibnVwEARBl0AgUIh/QXBxFIpKJHAhUBz0HQcf4U0xtZwu+r3l8t4758fHPe/jvhBcRIUuWbFuMKAWnEB9jEQWAk0SRt8LtMo+RmKdhDGiHrzEChOMHGPsiAkhBDbIMXKu+2KaJUfZwcsXD4RJrJFKKHaw6fVmRnmNT5ydC9TDSDRCIGOMMfh9u8pegRmzNKP8NUZvzu+oR6NY19mddqVVgG7MKL5SvHPrcJu3g/F2xvMqowKUOHMYUJXhrAa8Ku1j90/dVFFXxaypoYFqfzFR80h9mZKyENRUkskrgrSqfZmS1pVkGskvG7SiiUy5TGP5RpA2lMuUyzeC1Cw5yrwxSWtKrij1ZEpqhKBMY5kGXqCKeioiSHXtain817+k9gLLLD887ozhLl8xjGG86onZxuIe99jCsHjTCRMvYvF9+1QIIcTz8RuTzmkfP0+jdaYJHW9jXPYBvYj5/ZNlf06HxvgEYzoC8Tk5l1xAnXP8IHVam8faC3GTn3x5cMJr6q5h0fjI5+L4suU24PFCfMkHhvExHQyL20eQEfERhsVncdEfdYfvGK2jcPUOK/+A/QJb5yp50uoC6QAAAABJRU5ErkJggg==\") no-repeat -30px -20px;direction:rtl}.chosen-rtl.chosen-container-single .chosen-single div b{background-position:6px 2px}.chosen-rtl.chosen-container-single.chosen-with-drop .chosen-single div b{background-position:-12px 2px}@media only screen and (-webkit-min-device-pixel-ratio:1.5),only screen and (min-resolution:144dpi),only screen and (min-resolution:1.5dppx){.chosen-rtl .chosen-search input[type=text],.chosen-container-single .chosen-single abbr,.chosen-container-single .chosen-single div b,.chosen-container-single .chosen-search input[type=text],.chosen-container-multi .chosen-choices .search-choice .search-choice-close,.chosen-container .chosen-results-scroll-down span,.chosen-container .chosen-results-scroll-up span{background-image:url(\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGgAAABKCAQAAAD9cdkXAAACqUlEQVRo3u2av2/TQBTHI8FQCYYguoLCyOY/IQNk6NSF3RNzBmZ04oe/JwFSp0owtSNb/oT8B8mIBIioAyuWrA7pD4fns+vkzvZQ1+3lne57UoZXJfan79333ovT6zGTDGUsg0o0oGjY4yfCWdEykBROFg954hhIJQ4/pI0bL5E0HIryAgpMpGqEW9HpAAktzjg1SNxxGpH44hRIiYaTsMZxDsixknPMFKzaNgSEQwcrBtklMLDW+mBRV5lYtAaaqvdPrTWnGNYCDdtdOtq/+oRo39r4gEkFZ9LusqK/zjcWom9pwKOq1w0xbrsDILR/i7Bmit3cSG4H2icN7CEturIDDWhqD2jYnR1srm6t4XpIk5vYQff2b2oUjuJRxRRGAUXDph0Qt7eD2xbhrGgZSAoni4d31LJ0jGMglTjNSNuqjRsvkTQcivICCkykaoTZ+GAAJLQ449QgccdpROKLUyAlGk7CGsc5IMdKzjFTcMy2nTtY3Wt9XGtOW44PW490vQHPy8vLy8vLy2ubJfrRGHP6RjxVaxaNu31kdseipxdXj93SYq3kP4tPL24mhAqAMHApL+QFvRZQCHlmJ8/MGX7jtXz64Yl8K39hmUOyy5Loq2JLcYoDsVNCPpbfcKqyFDPbS9FYldpSftHjr+7JQ5xnWYrGrIDkLNs5+PnmQSV3OzhR+2jOC0jtn/os4F1uD+yAcPn+Wd3fPr4kz2MK9NwpoMaSkwxLrmh3foiHFVPYxYkCmnGz7fxQ/SruGx53zNK21cGaqoP1WOyWeXskv6uDdYUluyaVWh/V5OAcf+QnvIj28Bl/8+woyzji2JwWranWnK5/YsMPqRgf0o3hgYqNNVI24GVtUL4wzwY8HLFGqi1Gj8QNae4ckiPfCa2Req5I9XyNv1n+D6RKWo1cTsbTAAAAAElFTkSuQmCC\")!important;background-size:52px 37px!important;background-repeat:no-repeat!important}}",
"",
"/*!", "/*!",
" * Periodic Table", " * Periodic Table",
" *", " *",
...@@ -78,7 +91,7 @@ ...@@ -78,7 +91,7 @@
" * Benjamin Regler - Apache 2.0 License", " * Benjamin Regler - Apache 2.0 License",
" * @license http://www.apache.org/licenses/LICENSE-2.0", " * @license http://www.apache.org/licenses/LICENSE-2.0",
" * @author Benjamin Regler", " * @author Benjamin Regler",
" * @version 1.0.0", " * @version 1.1.0",
" *", " *",
" * Licensed under the Apache License, Version 2.0 (the \"License\");", " * Licensed under the Apache License, Version 2.0 (the \"License\");",
" * you may not use this file except in compliance with the License.", " * you may not use this file except in compliance with the License.",
...@@ -92,7 +105,7 @@ ...@@ -92,7 +105,7 @@
" * See the License for the specific language governing permissions and", " * See the License for the specific language governing permissions and",
" * limitations under the License.", " * limitations under the License.",
" */", " */",
".periodic-table--atomic-value{display:none!important}#atomic-data--tooltip{background:rgba(255,255,255,.95);border:1px solid #a9a9a9;border-radius:4px;display:none;font-size:small;min-width:300px;padding:1.5em;position:absolute;width:500px;word-wrap:break-word}#atomic-data--tooltip h5{font-size:2em;padding:0;margin:0}.atomic-data--value{float:right;font-size:x-large}.atomic-data--value:before{content:\"= \"}#atomic-data--tooltip dl{margin-top:2em;margin-bottom:0}#atomic-data--tooltip dt{font-weight:700;display:inline-block;vertical-align:top;width:40%}#atomic-data--tooltip dt:after{content:\": \"}#atomic-data--tooltip dd{padding:0;margin:0;display:inline-block;width:60%}", ".atomic-data--block{display:inline-block;margin-top:1em}.atomic-data label{display:block;font-size:medium;font-weight:700}.atomic-data--select,.chosen-container{width:100%!important}.atomic-data--select:disabled{color:#d3d3d3}.atomic-data--show-button,.atomic-data--reset-button{display:inline-block;margin-top:1.6em;width:100%}.atomic-data--properties button{padding-left:2em;padding-right:2em;width: auto}.periodic-table--atomic-value{display:none!important}#atomic-data--tooltip{background:rgba(255,255,255,.95);border:1px solid #a9a9a9;border-radius:4px;display:none;font-size:small;min-width:300px;padding:1.5em;position:absolute;width:500px;word-wrap:break-word}#atomic-data--tooltip h5{font-size:2em;padding:0;margin:0}.atomic-data--value{float:right;font-size:x-large}.atomic-data--value:before{content:\"= \"}#atomic-data--tooltip dl{margin-top:2em;margin-bottom:0}#atomic-data--tooltip dt{font-weight:700;display:inline-block;vertical-align:top;width:40%}#atomic-data--tooltip dt:after{content:\": \"}#atomic-data--tooltip dd{padding:0;margin:0;display:inline-block;width:60%}",
"</style>" "</style>"
], ],
"hidden": true "hidden": true
...@@ -103,14 +116,14 @@ ...@@ -103,14 +116,14 @@
"result": { "result": {
"type": "BeakerDisplay", "type": "BeakerDisplay",
"innertype": "Html", "innertype": "Html",
"object": "<script>\nvar beaker = bkHelper.getBeakerObject().beakerObj;\n</script>\n<style type=\"text/css\">\n/*!\n * Nomad Beaker Notebook Template\n *\n * @copyright Copyright 2017 Fritz Haber Institute of the Max Planck Society,\n * Benjamin Regler - Apache 2.0 License\n * @license http://www.apache.org/licenses/LICENSE-2.0\n * @author Benjamin Regler\n * @version 1.0.0\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\np{margin-bottom:1.3em}h1,h2,h3,h4{margin:1.414em 0 .5em;font-weight:inherit;line-height:1.2}h1{margin-top:0;font-size:3.998em}h2{font-size:2.827em}h3{font-size:1.999em}h4{font-size:1.414em}.font_small,small{font-size:.707em}.notebook-container{font-size:16px}.notebook-container .bkr{font-size:100%;font-weight:400;line-height:1.45;color:#333}.nomad--header h2{color:#20335d;font-weight:700;margin:0 0 .2em}.nomad--header h3{color:#20335d;font-weight:700;margin-top:0;text-indent:-1em;padding-left:1em}.nomad--header h3:before{content:\"\\2014\";padding-right:.25em}.nomad--header .nomad--description{margin:-1em 0 0 2em}.atomic-data--block,.nomad--last-updated{display:inline-block;margin-top:1em}.nomad--last-updated{color:grey;float:right;position:relative;z-index:1}.nomad--last-updated::before{bottom:-75%;content:attr(data-version);font-size:4em;font-weight:700;opacity:.2;position:absolute;right:0}.atomic-data label{display:block;font-size:medium;font-weight:700}.atomic-data--select,.chosen-container{width:100%!important}.atomic-data--select:disabled{color:#d3d3d3}.atomic-data--reset-buton{display:inline-block;margin-top:1.6em;width:100%}.modal-dialog{max-width:1000px;width:80%}.modal-header h1{font-size:2em;line-height:1.2}.modal-dialog h2{font-size:1.414em}.modal-dialog h2:first-child{margin-top:0}.modal-dialog h3{font-size:1.2em}.modal-dialog dt{font-size:larger;margin-top:1.414em}.modal-dialog img{width:100%}.modal-dialog .authors{text-transform:uppercase}\n/*!\n * Periodic Table\n *\n * @copyright Copyright 2017 Benjamin Regler - MIT License\n * @license https://opensource.org/licenses/MIT\n * @author Benjamin Regler\n * @version 1.0.0\n */\n.periodic-table{margin-bottom:2em}.periodic-table--header{text-align:center}.periodic-table--title{margin:0}.periodic-table--description{margin:0 0 2em}.periodic-table--credits{font-size:x-small;text-align:right}.periodic-table--colormap{margin-bottom:1em}.periodic-table--colormap-canvas{background-color:#5bc0de;cursor:crosshair;height:1em;width:50%}.periodic-table--colormap-value{display:inline-block;vertical-align:bottom;padding:0 .2em;position:relative;min-width:2em}.periodic-table--colormap-value::before{font-size:smaller;font-weight:700;position:absolute;top:100%}.periodic-table--colormap-value.min{text-align:right}.periodic-table--colormap-value.min::before{content:\"Min\";right:0}.periodic-table--colormap-value.max::before{content:\"Max\"}#periodic-table--colormap-1__hover{background-color:#fff;border:1px dotted #000;display:none;font-size:small;padding:.2em;position:absolute;z-index:10000}#periodic-table--colormap-1__hover span{width:1em;height:1em;display:inline-block;margin-right:.2em;vertical-align:text-top}.periodic-table--footer{margin-top:2em}.periodic-table--credits a{color:inherit;text-decoration:none;opacity:.8}.periodic-table--footer,.periodic-table--row{margin-bottom:.2em}.periodic-table--row .periodic-table--row{margin:0 -.2em}.periodic-table--footer:after,.periodic-table--row:after{content:\"\";clear:both;display:table}@media only screen{.periodic-table--colormap,.periodic-table--column,.periodic-table--credits{float:left;width:100%;box-sizing:border-box}}.periodic-table--table{font-family:Arial;text-align:center;width:100%;word-wrap:break-word}.periodic-table--row.periodic-table--empty{height:3em}.periodic-table--column{padding:0 .2em;min-height:.01px;width:5.2%}.periodic-table--column:first-child{width:6.4%}.periodic-table--column.wide{width:10.4%}.periodic-table--column.extra-wide{width:15.6%}.periodic-table--column.header{color:grey;font-size:x-small;font-variant:small-caps}.periodic-table--label{font-size:xx-small;font-weight:700}.periodic-table--label i{opacity:.5;font-size:smaller}.periodic-table--period{display:block;margin-top:.5em}.periodic-table-cell{position:relative;width:100%;height:100%;box-shadow:0 0 4px rgba(255,255,255,.5);cursor:default;-webkit-touch-callout:none;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.periodic-table-cell:before{display:inline-block;content:\"\";width:100%;padding-top:125%}.wide .periodic-table-cell:before{padding-top:47.5%}.periodic-table-cell .periodic-table--element,.periodic-table-cell .periodic-table--element-placeholder{position:absolute;top:0;left:0;right:0;bottom:1px}.periodic-table--element,.periodic-table--element-placeholder{border:1px solid rgba(0,0,0,.05);color:#000;font-size:smaller;line-height:1em;overflow:hidden;text-align:center}.periodic-table--element:hover{opacity:.7}.periodic-table--element.disabled:hover{opacity:1}.periodic-table--element span,.periodic-table--element-placeholder span{display:block;opacity:.5;text-shadow:0 0 4px rgba(255,255,255,.5);width:100%}.periodic-table--element.light-color{color:#FFF}.periodic-table--element.disabled{cursor:not-allowed;background-color:#fff!important;color:#d3d3d3!important}.periodic-table--atomic-number{font-size:xx-small;text-align:right}.periodic-table--atomic-symbol{font-size:xx-small;font-weight:700;opacity:1!important}.periodic-table--element-placeholder.light-color span,.periodic-table--element.light-color span{opacity:.7}.light-color .periodic-table--atomic-symbol{opacity:1!important}.periodic-table--element .periodic-table--atomic-name,.periodic-table--element .periodic-table--atomic-number,.periodic-table--element .periodic-table--atomic-value{display:none}.periodic-table--atomic-name,.periodic-table--atomic-value{padding-top:.4em}.periodic-table--element-placeholder{border:3px dashed #f0b2b2;color:#000;display:none;margin:1px}.periodic-table--element-placeholder .periodic-table--atomic-name{display:none;font-weight:700}.periodic-table--atomic-range{font-size:xx-small;margin-top:.5em}.periodic-table-classification{font-size:x-small;font-weight:700;display:block;text-align:left}.periodic-table--colormap,.periodic-table--credits{width:50%}@media only screen and (min-width:35em){.periodic-table--atomic-symbol{font-size:x-small;margin-top:.5em}}@media only screen and (min-width:40em){.periodic-table--atomic-symbol{margin-top:.5em}.periodic-table-classification{font-size:inherit;margin-top:2em}.periodic-table--atomic-number,.periodic-table--atomic-range{font-size:x-small}.periodic-table--atomic-symbol{font-size:medium}.periodic-table--element-placeholder{display:block}.periodic-table--period{margin-top:1.5em}.periodic-table--element .periodic-table--atomic-value{display:block;font-size:xx-small}}@media only screen and (min-width:60em){.periodic-table--column:first-child{width:6.4%}.periodic-table--column{width:5.2%}.periodic-table--column.wide{width:10.4%}.periodic-table--column.extra-wide{width:15.6%}.periodic-table--atomic-range,.periodic-table--column.header,.periodic-table--element .periodic-table--atomic-value,.periodic-table--label,.periodic-table-classification{font-size:small}.periodic-table--atomic-symbol{font-size:1.5em;margin-top:.3em}.periodic-table--element,.periodic-table--element-placeholder{padding:5px}.periodic-table--element .periodic-table--atomic-number{display:block}}@media only screen and (min-width:80em){.periodic-table-classification{font-size:medium}.periodic-table--atomic-number{font-size:inherit}.periodic-table--element .periodic-table--atomic-name{display:inherit}.periodic-table--element-placeholder .periodic-table--atomic-name{display:block}.periodic-table--atomic-symbol{margin-top:0}.periodic-table--period{margin-top:2em}}@media only screen and (min-width:100em){.periodic-table--table{font-size:larger}.periodic-table--element-placeholder .periodic-table--atomic-name{margin-top:1em}}\n/*!\n * Atomic Data\n *\n * @copyright Copyright 2017 Fritz Haber Institute of the Max Planck Society,\n * Benjamin Regler - Apache 2.0 License\n * @license http://www.apache.org/licenses/LICENSE-2.0\n * @author Benjamin Regler\n * @version 1.0.0\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n.periodic-table--atomic-value{display:none!important}#atomic-data--tooltip{background:rgba(255,255,255,.95);border:1px solid #a9a9a9;border-radius:4px;display:none;font-size:small;min-width:300px;padding:1.5em;position:absolute;width:500px;word-wrap:break-word}#atomic-data--tooltip h5{font-size:2em;padding:0;margin:0}.atomic-data--value{float:right;font-size:x-large}.atomic-data--value:before{content:\"= \"}#atomic-data--tooltip dl{margin-top:2em;margin-bottom:0}#atomic-data--tooltip dt{font-weight:700;display:inline-block;vertical-align:top;width:40%}#atomic-data--tooltip dt:after{content:\": \"}#atomic-data--tooltip dd{padding:0;margin:0;display:inline-block;width:60%}\n</style>" "object": "<script>\nvar beaker = bkHelper.getBeakerObject().beakerObj;\n</script>\n<style type=\"text/css\">\n/*!\n * Nomad Beaker Notebook Template\n *\n * @copyright Copyright 2017 Fritz Haber Institute of the Max Planck Society,\n * Benjamin Regler - Apache 2.0 License\n * @license http://www.apache.org/licenses/LICENSE-2.0\n * @author Benjamin Regler\n * @version 1.1.0\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\np{margin-bottom:1.3em}h1,h2,h3,h4{margin:1.414em 0 .5em;font-weight:inherit;line-height:1.2}h1{margin-top:0;font-size:3.998em}h2{font-size:2.827em}h3{font-size:1.999em}h4{font-size:1.414em}.font_small,small{font-size:.707em}.notebook-container{font-size:16px}.notebook-container .bkr{font-size:100%;font-weight:400;line-height:1.45;color:#333}.nomad--header h2{color:#20335d;font-weight:700;margin:0 0 .2em}.nomad--header h3{color:#20335d;font-weight:700;margin-top:0;text-indent:-1em;padding-left:1em}.nomad--header h3:before{content:\"\\2014\";padding-right:.25em}.nomad--header .nomad--description{margin:-1em 0 0 2em}.nomad--last-updated{color:grey;display:inline-block;float:right;position:relative;margin-top:1em;z-index:1}.nomad--last-updated::before{bottom:-75%;content:attr(data-version);font-size:4em;font-weight:700;opacity:.2;position:absolute;right:0}.modal-dialog{max-width:1000px;width:80%}.modal-header h1{font-size:2em;line-height:1.2}.modal-dialog h2{font-size:1.414em}.modal-dialog h2:first-child{margin-top:0}.modal-dialog h3{font-size:1.2em}.modal-dialog dt{font-size:larger;margin-top:1.414em}.modal-dialog img{width:100%}.modal-dialog .authors{text-transform:uppercase}.new-cell .active,.new-cell .btn,.new-cell .btn>*,.new-cell .dropdwon{color:#fff}.markup p:first-child::before{content:none;display:block;float:none;height:auto;width:auto}\n/*!\n * Chosen, a Select Box Enhancer for jQuery and Prototype\n * by Patrick Filler for Harvest, http://getharvest.com\n *\n * Version 1.7.0\n * Full source at https://github.com/harvesthq/chosen\n * Copyright (c) 2011-2017 Harvest http://getharvest.com\n *\n * MIT License, https://github.com/harvesthq/chosen/blob/master/LICENSE.md\n * This file is generated by `grunt build`, do not edit it by hand.\n */\n.chosen-container{position:relative;display:inline-block;vertical-align:middle;font-size:13px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.chosen-container *{box-sizing:border-box}.chosen-container .chosen-drop{position:absolute;top:100%;z-index:1010;width:100%;border:1px solid #aaa;border-top:0;background:#fff;box-shadow:0 4px 5px rgba(0,0,0,.15);clip:rect(0,0,0,0)}.chosen-container.chosen-with-drop .chosen-drop{clip:auto}.chosen-container a{cursor:pointer}.chosen-container .search-choice .group-name,.chosen-container .chosen-single .group-name{margin-right:4px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;font-weight:400;color:#999}.chosen-container .search-choice .group-name:after,.chosen-container .chosen-single .group-name:after{content:\":\";padding-left:2px;vertical-align:top}.chosen-container-single .chosen-single{position:relative;display:block;overflow:hidden;padding:0 0 0 8px;height:25px;border:1px solid #aaa;border-radius:5px;background-color:#fff;background:linear-gradient(#fff 20%,#f6f6f6 50%,#eee 52%,#f4f4f4 100%);background-clip:padding-box;box-shadow:0 0 3px #fff inset,0 1px 1px rgba(0,0,0,.1);color:#444;text-decoration:none;white-space:nowrap;line-height:24px}.chosen-container-single .chosen-default{color:#999}.chosen-container-single .chosen-single span{display:block;overflow:hidden;margin-right:26px;text-overflow:ellipsis;white-space:nowrap}.chosen-container-single .chosen-single-with-deselect span{margin-right:38px}.chosen-container-single .chosen-single abbr{position:absolute;top:6px;right:26px;display:block;width:12px;height:12px;background:url(\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADQAAAAlCAQAAACn+wJeAAAB4UlEQVRIx+2XsWtTURTGrwouLQQDwYLFzT3yJBDoYoVvySQoKFShSHe7qAgqiMn9rcUibnVwEARBl0AgUIh/QXBxFIpKJHAhUBz0HQcf4U0xtZwu+r3l8t4758fHPe/jvhBcRIUuWbFuMKAWnEB9jEQWAk0SRt8LtMo+RmKdhDGiHrzEChOMHGPsiAkhBDbIMXKu+2KaJUfZwcsXD4RJrJFKKHaw6fVmRnmNT5ydC9TDSDRCIGOMMfh9u8pegRmzNKP8NUZvzu+oR6NY19mddqVVgG7MKL5SvHPrcJu3g/F2xvMqowKUOHMYUJXhrAa8Ku1j90/dVFFXxaypoYFqfzFR80h9mZKyENRUkskrgrSqfZmS1pVkGskvG7SiiUy5TGP5RpA2lMuUyzeC1Cw5yrwxSWtKrij1ZEpqhKBMY5kGXqCKeioiSHXtain817+k9gLLLD887ozhLl8xjGG86onZxuIe99jCsHjTCRMvYvF9+1QIIcTz8RuTzmkfP0+jdaYJHW9jXPYBvYj5/ZNlf06HxvgEYzoC8Tk5l1xAnXP8IHVam8faC3GTn3x5cMJr6q5h0fjI5+L4suU24PFCfMkHhvExHQyL20eQEfERhsVncdEfdYfvGK2jcPUOK/+A/QJb5yp50uoC6QAAAABJRU5ErkJggg==\") -42px 1px no-repeat;font-size:1px}.chosen-container-single .chosen-single abbr:hover{background-position:-42px -10px}.chosen-container-single.chosen-disabled .chosen-single abbr:hover{background-position:-42px -10px}.chosen-container-single .chosen-single div{position:absolute;top:0;right:0;display:block;width:18px;height:100%}.chosen-container-single .chosen-single div b{display:block;width:100%;height:100%;background:url(\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADQAAAAlCAQAAACn+wJeAAAB4UlEQVRIx+2XsWtTURTGrwouLQQDwYLFzT3yJBDoYoVvySQoKFShSHe7qAgqiMn9rcUibnVwEARBl0AgUIh/QXBxFIpKJHAhUBz0HQcf4U0xtZwu+r3l8t4758fHPe/jvhBcRIUuWbFuMKAWnEB9jEQWAk0SRt8LtMo+RmKdhDGiHrzEChOMHGPsiAkhBDbIMXKu+2KaJUfZwcsXD4RJrJFKKHaw6fVmRnmNT5ydC9TDSDRCIGOMMfh9u8pegRmzNKP8NUZvzu+oR6NY19mddqVVgG7MKL5SvHPrcJu3g/F2xvMqowKUOHMYUJXhrAa8Ku1j90/dVFFXxaypoYFqfzFR80h9mZKyENRUkskrgrSqfZmS1pVkGskvG7SiiUy5TGP5RpA2lMuUyzeC1Cw5yrwxSWtKrij1ZEpqhKBMY5kGXqCKeioiSHXtain817+k9gLLLD887ozhLl8xjGG86onZxuIe99jCsHjTCRMvYvF9+1QIIcTz8RuTzmkfP0+jdaYJHW9jXPYBvYj5/ZNlf06HxvgEYzoC8Tk5l1xAnXP8IHVam8faC3GTn3x5cMJr6q5h0fjI5+L4suU24PFCfMkHhvExHQyL20eQEfERhsVncdEfdYfvGK2jcPUOK/+A/QJb5yp50uoC6QAAAABJRU5ErkJggg==\") no-repeat 0 2px}.chosen-container-single .chosen-search{position:relative;z-index:1010;margin:0;padding:3px 4px;white-space:nowrap}.chosen-container-single .chosen-search input[type=text]{margin:1px 0;padding:4px 20px 4px 5px;width:100%;height:auto;outline:0;border:1px solid #aaa;background:url(\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADQAAAAlCAQAAACn+wJeAAAB4UlEQVRIx+2XsWtTURTGrwouLQQDwYLFzT3yJBDoYoVvySQoKFShSHe7qAgqiMn9rcUibnVwEARBl0AgUIh/QXBxFIpKJHAhUBz0HQcf4U0xtZwu+r3l8t4758fHPe/jvhBcRIUuWbFuMKAWnEB9jEQWAk0SRt8LtMo+RmKdhDGiHrzEChOMHGPsiAkhBDbIMXKu+2KaJUfZwcsXD4RJrJFKKHaw6fVmRnmNT5ydC9TDSDRCIGOMMfh9u8pegRmzNKP8NUZvzu+oR6NY19mddqVVgG7MKL5SvHPrcJu3g/F2xvMqowKUOHMYUJXhrAa8Ku1j90/dVFFXxaypoYFqfzFR80h9mZKyENRUkskrgrSqfZmS1pVkGskvG7SiiUy5TGP5RpA2lMuUyzeC1Cw5yrwxSWtKrij1ZEpqhKBMY5kGXqCKeioiSHXtain817+k9gLLLD887ozhLl8xjGG86onZxuIe99jCsHjTCRMvYvF9+1QIIcTz8RuTzmkfP0+jdaYJHW9jXPYBvYj5/ZNlf06HxvgEYzoC8Tk5l1xAnXP8IHVam8faC3GTn3x5cMJr6q5h0fjI5+L4suU24PFCfMkHhvExHQyL20eQEfERhsVncdEfdYfvGK2jcPUOK/+A/QJb5yp50uoC6QAAAABJRU5ErkJggg==\") no-repeat 100% -20px;font-size:1em;font-family:sans-serif;line-height:normal;border-radius:0}.chosen-container-single .chosen-drop{margin-top:-1px;border-radius:0 0 4px 4px;background-clip:padding-box}.chosen-container-single.chosen-container-single-nosearch .chosen-search{position:absolute;clip:rect(0,0,0,0)}.chosen-container .chosen-results{color:#444;position:relative;overflow-x:hidden;overflow-y:auto;margin:0 4px 4px 0;padding:0 0 0 4px;max-height:240px;-webkit-overflow-scrolling:touch}.chosen-container .chosen-results li{display:none;margin:0;padding:5px 6px;list-style:none;line-height:15px;word-wrap:break-word;-webkit-touch-callout:none}.chosen-container .chosen-results li.active-result{display:list-item;cursor:pointer}.chosen-container .chosen-results li.disabled-result{display:list-item;color:#ccc;cursor:default}.chosen-container .chosen-results li.highlighted{background-color:#3875d7;background-image:linear-gradient(#3875d7 20%,#2a62bc 90%);color:#fff}.chosen-container .chosen-results li.no-results{color:#777;display:list-item;background:#f4f4f4}.chosen-container .chosen-results li.group-result{display:list-item;font-weight:700;cursor:default}.chosen-container .chosen-results li.group-option{padding-left:15px}.chosen-container .chosen-results li em{font-style:normal;text-decoration:underline}.chosen-container-multi .chosen-choices{position:relative;overflow:hidden;margin:0;padding:0 5px;width:100%;height:auto;border:1px solid #aaa;background-color:#fff;background-image:linear-gradient(#eee 1%,#fff 15%);cursor:text}.chosen-container-multi .chosen-choices li{float:left;list-style:none}.chosen-container-multi .chosen-choices li.search-field{margin:0;padding:0;white-space:nowrap}.chosen-container-multi .chosen-choices li.search-field input[type=text]{margin:1px 0;padding:0;height:25px;outline:0;border:0!important;background:transparent!important;box-shadow:none;color:#999;font-size:100%;font-family:sans-serif;line-height:normal;border-radius:0;width:25px}.chosen-container-multi .chosen-choices li.search-choice{position:relative;margin:3px 5px 3px 0;padding:3px 20px 3px 5px;border:1px solid #aaa;max-width:100%;border-radius:3px;background-color:#eee;background-image:linear-gradient(#f4f4f4 20%,#f0f0f0 50%,#e8e8e8 52%,#eee 100%);background-size:100% 19px;background-repeat:repeat-x;background-clip:padding-box;box-shadow:0 0 2px #fff inset,0 1px 0 rgba(0,0,0,.05);color:#333;line-height:13px;cursor:default}.chosen-container-multi .chosen-choices li.search-choice span{word-wrap:break-word}.chosen-container-multi .chosen-choices li.search-choice .search-choice-close{position:absolute;top:4px;right:3px;display:block;width:12px;height:12px;background:url(\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADQAAAAlCAQAAACn+wJeAAAB4UlEQVRIx+2XsWtTURTGrwouLQQDwYLFzT3yJBDoYoVvySQoKFShSHe7qAgqiMn9rcUibnVwEARBl0AgUIh/QXBxFIpKJHAhUBz0HQcf4U0xtZwu+r3l8t4758fHPe/jvhBcRIUuWbFuMKAWnEB9jEQWAk0SRt8LtMo+RmKdhDGiHrzEChOMHGPsiAkhBDbIMXKu+2KaJUfZwcsXD4RJrJFKKHaw6fVmRnmNT5ydC9TDSDRCIGOMMfh9u8pegRmzNKP8NUZvzu+oR6NY19mddqVVgG7MKL5SvHPrcJu3g/F2xvMqowKUOHMYUJXhrAa8Ku1j90/dVFFXxaypoYFqfzFR80h9mZKyENRUkskrgrSqfZmS1pVkGskvG7SiiUy5TGP5RpA2lMuUyzeC1Cw5yrwxSWtKrij1ZEpqhKBMY5kGXqCKeioiSHXtain817+k9gLLLD887ozhLl8xjGG86onZxuIe99jCsHjTCRMvYvF9+1QIIcTz8RuTzmkfP0+jdaYJHW9jXPYBvYj5/ZNlf06HxvgEYzoC8Tk5l1xAnXP8IHVam8faC3GTn3x5cMJr6q5h0fjI5+L4suU24PFCfMkHhvExHQyL20eQEfERhsVncdEfdYfvGK2jcPUOK/+A/QJb5yp50uoC6QAAAABJRU5ErkJggg==\") -42px 1px no-repeat;font-size:1px}.chosen-container-multi .chosen-choices li.search-choice .search-choice-close:hover{background-position:-42px -10px}.chosen-container-multi .chosen-choices li.search-choice-disabled{padding-right:5px;border:1px solid #ccc;background-color:#e4e4e4;background-image:linear-gradient(#f4f4f4 20%,#f0f0f0 50%,#e8e8e8 52%,#eee 100%);color:#666}.chosen-container-multi .chosen-choices li.search-choice-focus{background:#d4d4d4}.chosen-container-multi .chosen-choices li.search-choice-focus .search-choice-close{background-position:-42px -10px}.chosen-container-multi .chosen-results{margin:0;padding:0}.chosen-container-multi .chosen-drop .result-selected{display:list-item;color:#ccc;cursor:default}.chosen-container-active .chosen-single{border:1px solid #5897fb;box-shadow:0 0 5px rgba(0,0,0,.3)}.chosen-container-active.chosen-with-drop .chosen-single{border:1px solid #aaa;border-bottom-right-radius:0;border-bottom-left-radius:0;background-image:linear-gradient(#eee 20%,#fff 80%);box-shadow:0 1px 0 #fff inset}.chosen-container-active.chosen-with-drop .chosen-single div{border-left:0;background:transparent}.chosen-container-active.chosen-with-drop .chosen-single div b{background-position:-18px 2px}.chosen-container-active .chosen-choices{border:1px solid #5897fb;box-shadow:0 0 5px rgba(0,0,0,.3)}.chosen-container-active .chosen-choices li.search-field input[type=text]{color:#222!important}.chosen-disabled{opacity:.5!important;cursor:default}.chosen-disabled .chosen-single{cursor:default}.chosen-disabled .chosen-choices .search-choice .search-choice-close{cursor:default}.chosen-rtl{text-align:right}.chosen-rtl .chosen-single{overflow:visible;padding:0 8px 0 0}.chosen-rtl .chosen-single span{margin-right:0;margin-left:26px;direction:rtl}.chosen-rtl .chosen-single-with-deselect span{margin-left:38px}.chosen-rtl .chosen-single div{right:auto;left:3px}.chosen-rtl .chosen-single abbr{right:auto;left:26px}.chosen-rtl .chosen-choices li{float:right}.chosen-rtl .chosen-choices li.search-field input[type=text]{direction:rtl}.chosen-rtl .chosen-choices li.search-choice{margin:3px 5px 3px 0;padding:3px 5px 3px 19px}.chosen-rtl .chosen-choices li.search-choice .search-choice-close{right:auto;left:4px}.chosen-rtl.chosen-container-single .chosen-results{margin:0 0 4px 4px;padding:0 4px 0 0}.chosen-rtl .chosen-results li.group-option{padding-right:15px;padding-left:0}.chosen-rtl.chosen-container-active.chosen-with-drop .chosen-single div{border-right:0}.chosen-rtl .chosen-search input[type=text]{padding:4px 5px 4px 20px;background:url(\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADQAAAAlCAQAAACn+wJeAAAB4UlEQVRIx+2XsWtTURTGrwouLQQDwYLFzT3yJBDoYoVvySQoKFShSHe7qAgqiMn9rcUibnVwEARBl0AgUIh/QXBxFIpKJHAhUBz0HQcf4U0xtZwu+r3l8t4758fHPe/jvhBcRIUuWbFuMKAWnEB9jEQWAk0SRt8LtMo+RmKdhDGiHrzEChOMHGPsiAkhBDbIMXKu+2KaJUfZwcsXD4RJrJFKKHaw6fVmRnmNT5ydC9TDSDRCIGOMMfh9u8pegRmzNKP8NUZvzu+oR6NY19mddqVVgG7MKL5SvHPrcJu3g/F2xvMqowKUOHMYUJXhrAa8Ku1j90/dVFFXxaypoYFqfzFR80h9mZKyENRUkskrgrSqfZmS1pVkGskvG7SiiUy5TGP5RpA2lMuUyzeC1Cw5yrwxSWtKrij1ZEpqhKBMY5kGXqCKeioiSHXtain817+k9gLLLD887ozhLl8xjGG86onZxuIe99jCsHjTCRMvYvF9+1QIIcTz8RuTzmkfP0+jdaYJHW9jXPYBvYj5/ZNlf06HxvgEYzoC8Tk5l1xAnXP8IHVam8faC3GTn3x5cMJr6q5h0fjI5+L4suU24PFCfMkHhvExHQyL20eQEfERhsVncdEfdYfvGK2jcPUOK/+A/QJb5yp50uoC6QAAAABJRU5ErkJggg==\") no-repeat -30px -20px;direction:rtl}.chosen-rtl.chosen-container-single .chosen-single div b{background-position:6px 2px}.chosen-rtl.chosen-container-single.chosen-with-drop .chosen-single div b{background-position:-12px 2px}@media only screen and (-webkit-min-device-pixel-ratio:1.5),only screen and (min-resolution:144dpi),only screen and (min-resolution:1.5dppx){.chosen-rtl .chosen-search input[type=text],.chosen-container-single .chosen-single abbr,.chosen-container-single .chosen-single div b,.chosen-container-single .chosen-search input[type=text],.chosen-container-multi .chosen-choices .search-choice .search-choice-close,.chosen-container .chosen-results-scroll-down span,.chosen-container .chosen-results-scroll-up span{background-image:url(\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGgAAABKCAQAAAD9cdkXAAACqUlEQVRo3u2av2/TQBTHI8FQCYYguoLCyOY/IQNk6NSF3RNzBmZ04oe/JwFSp0owtSNb/oT8B8mIBIioAyuWrA7pD4fns+vkzvZQ1+3lne57UoZXJfan79333ovT6zGTDGUsg0o0oGjY4yfCWdEykBROFg954hhIJQ4/pI0bL5E0HIryAgpMpGqEW9HpAAktzjg1SNxxGpH44hRIiYaTsMZxDsixknPMFKzaNgSEQwcrBtklMLDW+mBRV5lYtAaaqvdPrTWnGNYCDdtdOtq/+oRo39r4gEkFZ9LusqK/zjcWom9pwKOq1w0xbrsDILR/i7Bmit3cSG4H2icN7CEturIDDWhqD2jYnR1srm6t4XpIk5vYQff2b2oUjuJRxRRGAUXDph0Qt7eD2xbhrGgZSAoni4d31LJ0jGMglTjNSNuqjRsvkTQcivICCkykaoTZ+GAAJLQ449QgccdpROKLUyAlGk7CGsc5IMdKzjFTcMy2nTtY3Wt9XGtOW44PW490vQHPy8vLy8vLy2ubJfrRGHP6RjxVaxaNu31kdseipxdXj93SYq3kP4tPL24mhAqAMHApL+QFvRZQCHlmJ8/MGX7jtXz64Yl8K39hmUOyy5Loq2JLcYoDsVNCPpbfcKqyFDPbS9FYldpSftHjr+7JQ5xnWYrGrIDkLNs5+PnmQSV3OzhR+2jOC0jtn/os4F1uD+yAcPn+Wd3fPr4kz2MK9NwpoMaSkwxLrmh3foiHFVPYxYkCmnGz7fxQ/SruGx53zNK21cGaqoP1WOyWeXskv6uDdYUluyaVWh/V5OAcf+QnvIj28Bl/8+woyzji2JwWranWnK5/YsMPqRgf0o3hgYqNNVI24GVtUL4wzwY8HLFGqi1Gj8QNae4ckiPfCa2Req5I9XyNv1n+D6RKWo1cTsbTAAAAAElFTkSuQmCC\")!important;background-size:52px 37px!important;background-repeat:no-repeat!important}}\n\n/*!\n * Periodic Table\n *\n * @copyright Copyright 2017 Benjamin Regler - MIT License\n * @license https://opensource.org/licenses/MIT\n * @author Benjamin Regler\n * @version 1.0.0\n */\n.periodic-table{margin-bottom:2em}.periodic-table--header{text-align:center}.periodic-table--title{margin:0}.periodic-table--description{margin:0 0 2em}.periodic-table--credits{font-size:x-small;text-align:right}.periodic-table--colormap{margin-bottom:1em}.periodic-table--colormap-canvas{background-color:#5bc0de;cursor:crosshair;height:1em;width:50%}.periodic-table--colormap-value{display:inline-block;vertical-align:bottom;padding:0 .2em;position:relative;min-width:2em}.periodic-table--colormap-value::before{font-size:smaller;font-weight:700;position:absolute;top:100%}.periodic-table--colormap-value.min{text-align:right}.periodic-table--colormap-value.min::before{content:\"Min\";right:0}.periodic-table--colormap-value.max::before{content:\"Max\"}#periodic-table--colormap-1__hover{background-color:#fff;border:1px dotted #000;display:none;font-size:small;padding:.2em;position:absolute;z-index:10000}#periodic-table--colormap-1__hover span{width:1em;height:1em;display:inline-block;margin-right:.2em;vertical-align:text-top}.periodic-table--footer{margin-top:2em}.periodic-table--credits a{color:inherit;text-decoration:none;opacity:.8}.periodic-table--footer,.periodic-table--row{margin-bottom:.2em}.periodic-table--row .periodic-table--row{margin:0 -.2em}.periodic-table--footer:after,.periodic-table--row:after{content:\"\";clear:both;display:table}@media only screen{.periodic-table--colormap,.periodic-table--column,.periodic-table--credits{float:left;width:100%;box-sizing:border-box}}.periodic-table--table{font-family:Arial;text-align:center;width:100%;word-wrap:break-word}.periodic-table--row.periodic-table--empty{height:3em}.periodic-table--column{padding:0 .2em;min-height:.01px;width:5.2%}.periodic-table--column:first-child{width:6.4%}.periodic-table--column.wide{width:10.4%}.periodic-table--column.extra-wide{width:15.6%}.periodic-table--column.header{color:grey;font-size:x-small;font-variant:small-caps}.periodic-table--label{font-size:xx-small;font-weight:700}.periodic-table--label i{opacity:.5;font-size:smaller}.periodic-table--period{display:block;margin-top:.5em}.periodic-table-cell{position:relative;width:100%;height:100%;box-shadow:0 0 4px rgba(255,255,255,.5);cursor:default;-webkit-touch-callout:none;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.periodic-table-cell:before{display:inline-block;content:\"\";width:100%;padding-top:125%}.wide .periodic-table-cell:before{padding-top:47.5%}.periodic-table-cell .periodic-table--element,.periodic-table-cell .periodic-table--element-placeholder{position:absolute;top:0;left:0;right:0;bottom:1px}.periodic-table--element,.periodic-table--element-placeholder{border:1px solid rgba(0,0,0,.05);color:#000;font-size:smaller;line-height:1em;overflow:hidden;text-align:center}.periodic-table--element:hover{opacity:.7}.periodic-table--element.disabled:hover{opacity:1}.periodic-table--element span,.periodic-table--element-placeholder span{display:block;opacity:.5;text-shadow:0 0 4px rgba(255,255,255,.5);width:100%}.periodic-table--element.light-color{color:#FFF}.periodic-table--element.disabled{cursor:not-allowed;background-color:#fff!important;color:#d3d3d3!important}.periodic-table--atomic-number{font-size:xx-small;text-align:right}.periodic-table--atomic-symbol{font-size:xx-small;font-weight:700;opacity:1!important}.periodic-table--element-placeholder.light-color span,.periodic-table--element.light-color span{opacity:.7}.light-color .periodic-table--atomic-symbol{opacity:1!important}.periodic-table--element .periodic-table--atomic-name,.periodic-table--element .periodic-table--atomic-number,.periodic-table--element .periodic-table--atomic-value{display:none}.periodic-table--atomic-name,.periodic-table--atomic-value{padding-top:.4em}.periodic-table--element-placeholder{border:3px dashed #f0b2b2;color:#000;display:none;margin:1px}.periodic-table--element-placeholder .periodic-table--atomic-name{display:none;font-weight:700}.periodic-table--atomic-range{font-size:xx-small;margin-top:.5em}.periodic-table-classification{font-size:x-small;font-weight:700;display:block;text-align:left}.periodic-table--colormap,.periodic-table--credits{width:50%}@media only screen and (min-width:35em){.periodic-table--atomic-symbol{font-size:x-small;margin-top:.5em}}@media only screen and (min-width:40em){.periodic-table--atomic-symbol{margin-top:.5em}.periodic-table-classification{font-size:inherit;margin-top:2em}.periodic-table--atomic-number,.periodic-table--atomic-range{font-size:x-small}.periodic-table--atomic-symbol{font-size:medium}.periodic-table--element-placeholder{display:block}.periodic-table--period{margin-top:1.5em}.periodic-table--element .periodic-table--atomic-value{display:block;font-size:xx-small}}@media only screen and (min-width:60em){.periodic-table--column:first-child{width:6.4%}.periodic-table--column{width:5.2%}.periodic-table--column.wide{width:10.4%}.periodic-table--column.extra-wide{width:15.6%}.periodic-table--atomic-range,.periodic-table--column.header,.periodic-table--element .periodic-table--atomic-value,.periodic-table--label,.periodic-table-classification{font-size:small}.periodic-table--atomic-symbol{font-size:1.5em;margin-top:.3em}.periodic-table--element,.periodic-table--element-placeholder{padding:5px}.periodic-table--element .periodic-table--atomic-number{display:block}}@media only screen and (min-width:80em){.periodic-table-classification{font-size:medium}.periodic-table--atomic-number{font-size:inherit}.periodic-table--element .periodic-table--atomic-name{display:inherit}.periodic-table--element-placeholder .periodic-table--atomic-name{display:block}.periodic-table--atomic-symbol{margin-top:0}.periodic-table--period{margin-top:2em}}@media only screen and (min-width:100em){.periodic-table--table{font-size:larger}.periodic-table--element-placeholder .periodic-table--atomic-name{margin-top:1em}}\n/*!\n * Atomic Data\n *\n * @copyright Copyright 2017 Fritz Haber Institute of the Max Planck Society,\n * Benjamin Regler - Apache 2.0 License\n * @license http://www.apache.org/licenses/LICENSE-2.0\n * @author Benjamin Regler\n * @version 1.1.0\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n.atomic-data--block{display:inline-block;margin-top:1em}.atomic-data label{display:block;font-size:medium;font-weight:700}.atomic-data--select,.chosen-container{width:100%!important}.atomic-data--select:disabled{color:#d3d3d3}.atomic-data--show-button,.atomic-data--reset-button{display:inline-block;margin-top:1.6em;width:100%}.atomic-data--properties button{padding-left:2em;padding-right:2em;width: auto}.periodic-table--atomic-value{display:none!important}#atomic-data--tooltip{background:rgba(255,255,255,.95);border:1px solid #a9a9a9;border-radius:4px;display:none;font-size:small;min-width:300px;padding:1.5em;position:absolute;width:500px;word-wrap:break-word}#atomic-data--tooltip h5{font-size:2em;padding:0;margin:0}.atomic-data--value{float:right;font-size:x-large}.atomic-data--value:before{content:\"= \"}#atomic-data--tooltip dl{margin-top:2em;margin-bottom:0}#atomic-data--tooltip dt{font-weight:700;display:inline-block;vertical-align:top;width:40%}#atomic-data--tooltip dt:after{content:\": \"}#atomic-data--tooltip dd{padding:0;margin:0;display:inline-block;width:60%}\n</style>"
}, },
"selectedType": "BeakerDisplay", "selectedType": "BeakerDisplay",
"elapsedTime": 0, "elapsedTime": 1,
"height": 50 "height": 50
}, },
"evaluatorReader": true, "evaluatorReader": true,
"lineCount": 55 "lineCount": 68
}, },
{ {
"id": "load_javascript", "id": "load_javascript",
...@@ -138,8 +151,7 @@ ...@@ -138,8 +151,7 @@
"pluginName": "JavaScript" "pluginName": "JavaScript"
}, },
"evaluatorReader": true, "evaluatorReader": true,
"lineCount": 10, "lineCount": 10
"initialization": true
}, },
{ {
"id": "codeLdCCSm", "id": "codeLdCCSm",
...@@ -152,7 +164,7 @@ ...@@ -152,7 +164,7 @@
" <h3>A Periodic Table Of Elements for Atomic Data Collections</h3>", " <h3>A Periodic Table Of Elements for Atomic Data Collections</h3>",
" <p class=\"nomad--description\">", " <p class=\"nomad--description\">",
" created by <a href=\"mailto:regler@fhi-berlin.mpg.de\">Benjamin Regler</a> (Fritz Haber Institute of the Max Planck Society, Faradayweg 4-6, D-14195 Berlin, Germany).", " created by <a href=\"mailto:regler@fhi-berlin.mpg.de\">Benjamin Regler</a> (Fritz Haber Institute of the Max Planck Society, Faradayweg 4-6, D-14195 Berlin, Germany).",
" <span class=\"nomad--last-updated\" data-version=\"v1.0.1\">[Last updated: February 28, 2017]</span>", " <span class=\"nomad--last-updated\" data-version=\"v1.1.0\">[Last updated: May 5, 2017]</span>",
" </p>", " </p>",
"</div>" "</div>"
], ],
...@@ -163,10 +175,10 @@ ...@@ -163,10 +175,10 @@
"result": { "result": {
"type": "BeakerDisplay", "type": "BeakerDisplay",
"innertype": "Html", "innertype": "Html",
"object": "<script>\nvar beaker = bkHelper.getBeakerObject().beakerObj;\n</script>\n<div class=\"nomad--header\">\n <h2>NOMAD Analytics Toolkit</h2>\n <h3>A Periodic Table Of Elements for Atomic Data Collections</h3>\n <p class=\"nomad--description\">\n created by <a href=\"mailto:regler@fhi-berlin.mpg.de\">Benjamin Regler</a> (Fritz Haber Institute of the Max Planck Society, Faradayweg 4-6, D-14195 Berlin, Germany).\n <span class=\"nomad--last-updated\" data-version=\"v1.0.1\">[Last updated: February 28, 2017]</span>\n </p>\n</div>" "object": "<script>\nvar beaker = bkHelper.getBeakerObject().beakerObj;\n</script>\n<div class=\"nomad--header\">\n <h2>NOMAD Analytics Toolkit</h2>\n <h3>A Periodic Table Of Elements for Atomic Data Collections</h3>\n <p class=\"nomad--description\">\n created by <a href=\"mailto:regler@fhi-berlin.mpg.de\">Benjamin Regler</a> (Fritz Haber Institute of the Max Planck Society, Faradayweg 4-6, D-14195 Berlin, Germany).\n <span class=\"nomad--last-updated\" data-version=\"v1.1.0\">[Last updated: May 5, 2017]</span>\n </p>\n</div>"
}, },
"selectedType": "BeakerDisplay", "selectedType": "BeakerDisplay",
"elapsedTime": 1, "elapsedTime": 0,
"height": 161 "height": 161
}, },
"evaluatorReader": true, "evaluatorReader": true,
...@@ -354,7 +366,7 @@ ...@@ -354,7 +366,7 @@
" </div>", " </div>",
" ", " ",
" <div class=\"atomic-data--block atomic-data--collection col-lg-1 col-md-2\">", " <div class=\"atomic-data--block atomic-data--collection col-lg-1 col-md-2\">",
" <button type=\"button\" class=\"atomic-data--reset-buton btn btn-danger\" id=\"atomic-data--reset-collection\" title=\"Reset atomic data collection selection\">Reset</button>", " <button type=\"button\" class=\"atomic-data--reset-button btn btn-danger\" id=\"atomic-data--reset-collection\" title=\"Reset atomic data collection selection\">Reset</button>",
" </div>", " </div>",
"</div>", "</div>",
"<p>You have selected <span id=\"atomic-data--collection-counter\">0</span> atomic data collection(s).</p>", "<p>You have selected <span id=\"atomic-data--collection-counter\">0</span> atomic data collection(s).</p>",
...@@ -402,8 +414,9 @@ ...@@ -402,8 +414,9 @@
" </select>", " </select>",
" </div>", " </div>",
" ", " ",
" <div class=\"atomic-data--block atomic-data--properties col-lg-1 col-md-2\">", " <div class=\"atomic-data--block atomic-data--properties col-md-8\">",
" <button type=\"button\" class=\"atomic-data--reset-buton btn btn-danger\" id=\"atomic-data--reset-properties\" title=\"Reset atomic property selection\">Reset</button>", " <button type=\"button\" class=\"atomic-data--reset-button btn btn-danger\" id=\"atomic-data--reset-properties\" title=\"Reset atomic property selection\">Reset</button>",
" <!--<button type=\"button\" class=\"atomic-data--show-button btn btn-primary\" id=\"atomic-data--show-all-properties\" title=\"Show all atomic properties\">Show all atomic properties</button>-->",
" </div>", " </div>",
"</div>", "</div>",
"", "",
...@@ -425,6 +438,19 @@ ...@@ -425,6 +438,19 @@
"evaluator": "JavaScript", "evaluator": "JavaScript",
"input": { "input": {
"body": [ "body": [
"/*!",
" Chosen, a Select Box Enhancer for jQuery and Prototype",
" by Patrick Filler for Harvest, http://getharvest.com",
"",
" Version 1.7.0",
" Full source at https://github.com/harvesthq/chosen",
" Copyright (c) 2011-2017 Harvest http://getharvest.com",
"",
" MIT License, https://github.com/harvesthq/chosen/blob/master/LICENSE.md",
" This file is generated by `grunt build`, do not edit it by hand.",
"*/",
"(function(){var a,b,c,d,e,f=function(a,b){return function(){return a.apply(b,arguments)}},g={}.hasOwnProperty,h=function(a,b){function c(){this.constructor=a}for(var d in b)g.call(b,d)&&(a[d]=b[d]);return c.prototype=b.prototype,a.prototype=new c,a.__super__=b.prototype,a};d=function(){function a(){this.options_index=0,this.parsed=[]}return a.prototype.add_node=function(a){return\"OPTGROUP\"===a.nodeName.toUpperCase()?this.add_group(a):this.add_option(a)},a.prototype.add_group=function(a){var b,c,d,e,f,g;for(b=this.parsed.length,this.parsed.push({array_index:b,group:!0,label:this.escapeExpression(a.label),title:a.title?a.title:void 0,children:0,disabled:a.disabled,classes:a.className}),f=a.childNodes,g=[],d=0,e=f.length;e>d;d++)c=f[d],g.push(this.add_option(c,b,a.disabled));return g},a.prototype.add_option=function(a,b,c){return\"OPTION\"===a.nodeName.toUpperCase()?(\"\"!==a.text?(null!=b&&(this.parsed[b].children+=1),this.parsed.push({array_index:this.parsed.length,options_index:this.options_index,value:a.value,text:a.text,html:a.innerHTML,title:a.title?a.title:void 0,selected:a.selected,disabled:c===!0?c:a.disabled,group_array_index:b,group_label:null!=b?this.parsed[b].label:null,classes:a.className,style:a.style.cssText})):this.parsed.push({array_index:this.parsed.length,options_index:this.options_index,empty:!0}),this.options_index+=1):void 0},a.prototype.escapeExpression=function(a){var b,c;return null==a||a===!1?\"\":/[\\&\\<\\>\\\"\\'\\`]/.test(a)?(b={\"<\":\"&lt;\",\">\":\"&gt;\",'\"':\"&quot;\",\"'\":\"&#x27;\",\"`\":\"&#x60;\"},c=/&(?!\\w+;)|[\\<\\>\\\"\\'\\`]/g,a.replace(c,function(a){return b[a]||\"&amp;\"})):a},a}(),d.select_to_array=function(a){var b,c,e,f,g;for(c=new d,g=a.childNodes,e=0,f=g.length;f>e;e++)b=g[e],c.add_node(b);return c.parsed},b=function(){function a(b,c){this.form_field=b,this.options=null!=c?c:{},this.label_click_handler=f(this.label_click_handler,this),a.browser_is_supported()&&(this.is_multiple=this.form_field.multiple,this.set_default_text(),this.set_default_values(),this.setup(),this.set_up_html(),this.register_observers(),this.on_ready())}return a.prototype.set_default_values=function(){var a=this;return this.click_test_action=function(b){return a.test_active_click(b)},this.activate_action=function(b){return a.activate_field(b)},this.active_field=!1,this.mouse_on_container=!1,this.results_showing=!1,this.result_highlighted=null,this.is_rtl=this.options.rtl||/\\bchosen-rtl\\b/.test(this.form_field.className),this.allow_single_deselect=null!=this.options.allow_single_deselect&&null!=this.form_field.options[0]&&\"\"===this.form_field.options[0].text?this.options.allow_single_deselect:!1,this.disable_search_threshold=this.options.disable_search_threshold||0,this.disable_search=this.options.disable_search||!1,this.enable_split_word_search=null!=this.options.enable_split_word_search?this.options.enable_split_word_search:!0,this.group_search=null!=this.options.group_search?this.options.group_search:!0,this.search_contains=this.options.search_contains||!1,this.single_backstroke_delete=null!=this.options.single_backstroke_delete?this.options.single_backstroke_delete:!0,this.max_selected_options=this.options.max_selected_options||1/0,this.inherit_select_classes=this.options.inherit_select_classes||!1,this.display_selected_options=null!=this.options.display_selected_options?this.options.display_selected_options:!0,this.display_disabled_options=null!=this.options.display_disabled_options?this.options.display_disabled_options:!0,this.include_group_label_in_selected=this.options.include_group_label_in_selected||!1,this.max_shown_results=this.options.max_shown_results||Number.POSITIVE_INFINITY,this.case_sensitive_search=this.options.case_sensitive_search||!1,this.hide_results_on_select=null!=this.options.hide_results_on_select?this.options.hide_results_on_select:!0},a.prototype.set_default_text=function(){return this.form_field.getAttribute(\"data-placeholder\")?this.default_text=this.form_field.getAttribute(\"data-placeholder\"):this.is_multiple?this.default_text=this.options.placeholder_text_multiple||this.options.placeholder_text||a.default_multiple_text:this.default_text=this.options.placeholder_text_single||this.options.placeholder_text||a.default_single_text,this.default_text=this.escape_html(this.default_text),this.results_none_found=this.form_field.getAttribute(\"data-no_results_text\")||this.options.no_results_text||a.default_no_result_text},a.prototype.choice_label=function(a){return this.include_group_label_in_selected&&null!=a.group_label?\"<b class='group-name'>\"+a.group_label+\"</b>\"+a.html:a.html},a.prototype.mouse_enter=function(){return this.mouse_on_container=!0},a.prototype.mouse_leave=function(){return this.mouse_on_container=!1},a.prototype.input_focus=function(a){var b=this;if(this.is_multiple){if(!this.active_field)return setTimeout(function(){return b.container_mousedown()},50)}else if(!this.active_field)return this.activate_field()},a.prototype.input_blur=function(a){var b=this;return this.mouse_on_container?void 0:(this.active_field=!1,setTimeout(function(){return b.blur_test()},100))},a.prototype.label_click_handler=function(a){return this.is_multiple?this.container_mousedown(a):this.activate_field()},a.prototype.results_option_build=function(a){var b,c,d,e,f,g,h;for(b=\"\",e=0,h=this.results_data,f=0,g=h.length;g>f&&(c=h[f],d=\"\",d=c.group?this.result_add_group(c):this.result_add_option(c),\"\"!==d&&(e++,b+=d),(null!=a?a.first:void 0)&&(c.selected&&this.is_multiple?this.choice_build(c):c.selected&&!this.is_multiple&&this.single_set_selected_text(this.choice_label(c))),!(e>=this.max_shown_results));f++);return b},a.prototype.result_add_option=function(a){var b,c;return a.search_match&&this.include_option_in_results(a)?(b=[],a.disabled||a.selected&&this.is_multiple||b.push(\"active-result\"),!a.disabled||a.selected&&this.is_multiple||b.push(\"disabled-result\"),a.selected&&b.push(\"result-selected\"),null!=a.group_array_index&&b.push(\"group-option\"),\"\"!==a.classes&&b.push(a.classes),c=document.createElement(\"li\"),c.className=b.join(\" \"),c.style.cssText=a.style,c.setAttribute(\"data-option-array-index\",a.array_index),c.innerHTML=a.search_text,a.title&&(c.title=a.title),this.outerHTML(c)):\"\"},a.prototype.result_add_group=function(a){var b,c;return(a.search_match||a.group_match)&&a.active_options>0?(b=[],b.push(\"group-result\"),a.classes&&b.push(a.classes),c=document.createElement(\"li\"),c.className=b.join(\" \"),c.innerHTML=a.search_text,a.title&&(c.title=a.title),this.outerHTML(c)):\"\"},a.prototype.results_update_field=function(){return this.set_default_text(),this.is_multiple||this.results_reset_cleanup(),this.result_clear_highlight(),this.results_build(),this.results_showing?this.winnow_results():void 0},a.prototype.reset_single_select_options=function(){var a,b,c,d,e;for(d=this.results_data,e=[],b=0,c=d.length;c>b;b++)a=d[b],a.selected?e.push(a.selected=!1):e.push(void 0);return e},a.prototype.results_toggle=function(){return this.results_showing?this.results_hide():this.results_show()},a.prototype.results_search=function(a){return this.results_showing?this.winnow_results():this.results_show()},a.prototype.winnow_results=function(){var a,b,c,d,e,f,g,h,i,j,k,l;for(this.no_results_clear(),e=0,g=this.get_search_text(),a=g.replace(/[-[\\]{}()*+?.,\\\\^$|#\\s]/g,\"\\\\$&\"),d=this.get_search_regex(a),b=this.get_highlight_regex(a),l=this.results_data,j=0,k=l.length;k>j;j++)c=l[j],c.search_match=!1,f=null,this.include_option_in_results(c)&&(c.group&&(c.group_match=!1,c.active_options=0),null!=c.group_array_index&&this.results_data[c.group_array_index]&&(f=this.results_data[c.group_array_index],0===f.active_options&&f.search_match&&(e+=1),f.active_options+=1),c.search_text=c.group?c.label:c.html,(!c.group||this.group_search)&&(c.search_match=this.search_string_match(c.search_text,d),c.search_match&&!c.group&&(e+=1),c.search_match?(g.length&&(h=c.search_text.search(b),i=c.search_text.substr(0,h+g.length)+\"</em>\"+c.search_text.substr(h+g.length),c.search_text=i.substr(0,h)+\"<em>\"+i.substr(h)),null!=f&&(f.group_match=!0)):null!=c.group_array_index&&this.results_data[c.group_array_index].search_match&&(c.search_match=!0)));return this.result_clear_highlight(),1>e&&g.length?(this.update_results_content(\"\"),this.no_results(g)):(this.update_results_content(this.results_option_build()),this.winnow_results_set_highlight())},a.prototype.get_search_regex=function(a){var b,c;return b=this.search_contains?\"\":\"^\",c=this.case_sensitive_search?\"\":\"i\",new RegExp(b+a,c)},a.prototype.get_highlight_regex=function(a){var b,c;return b=this.search_contains?\"\":\"\\\\b\",c=this.case_sensitive_search?\"\":\"i\",new RegExp(b+a,c)},a.prototype.search_string_match=function(a,b){var c,d,e,f;if(b.test(a))return!0;if(this.enable_split_word_search&&(a.indexOf(\" \")>=0||0===a.indexOf(\"[\"))&&(d=a.replace(/\\[|\\]/g,\"\").split(\" \"),d.length))for(e=0,f=d.length;f>e;e++)if(c=d[e],b.test(c))return!0},a.prototype.choices_count=function(){var a,b,c,d;if(null!=this.selected_option_count)return this.selected_option_count;for(this.selected_option_count=0,d=this.form_field.options,b=0,c=d.length;c>b;b++)a=d[b],a.selected&&(this.selected_option_count+=1);return this.selected_option_count},a.prototype.choices_click=function(a){return a.preventDefault(),this.activate_field(),this.results_showing||this.is_disabled?void 0:this.results_show()},a.prototype.keydown_checker=function(a){var b,c;switch(b=null!=(c=a.which)?c:a.keyCode,this.search_field_scale(),8!==b&&this.pending_backstroke&&this.clear_backstroke(),b){case 8:this.backstroke_length=this.get_search_field_value().length;break;case 9:this.results_showing&&!this.is_multiple&&this.result_select(a),this.mouse_on_container=!1;break;case 13:this.results_showing&&a.preventDefault();break;case 27:this.results_showing&&a.preventDefault();break;case 32:this.disable_search&&a.preventDefault();break;case 38:a.preventDefault(),this.keyup_arrow();break;case 40:a.preventDefault(),this.keydown_arrow()}},a.prototype.keyup_checker=function(a){var b,c;switch(b=null!=(c=a.which)?c:a.keyCode,this.search_field_scale(),b){case 8:this.is_multiple&&this.backstroke_length<1&&this.choices_count()>0?this.keydown_backstroke():this.pending_backstroke||(this.result_clear_highlight(),this.results_search());break;case 13:a.preventDefault(),this.results_showing&&this.result_select(a);break;case 27:this.results_showing&&this.results_hide();break;case 9:case 16:case 17:case 18:case 38:case 40:case 91:break;default:this.results_search()}},a.prototype.clipboard_event_checker=function(a){var b=this;if(!this.is_disabled)return setTimeout(function(){return b.results_search()},50)},a.prototype.container_width=function(){return null!=this.options.width?this.options.width:\"\"+this.form_field.offsetWidth+\"px\"},a.prototype.include_option_in_results=function(a){return this.is_multiple&&!this.display_selected_options&&a.selected?!1:!this.display_disabled_options&&a.disabled?!1:a.empty?!1:!0},a.prototype.search_results_touchstart=function(a){return this.touch_started=!0,this.search_results_mouseover(a)},a.prototype.search_results_touchmove=function(a){return this.touch_started=!1,this.search_results_mouseout(a)},a.prototype.search_results_touchend=function(a){return this.touch_started?this.search_results_mouseup(a):void 0},a.prototype.outerHTML=function(a){var b;return a.outerHTML?a.outerHTML:(b=document.createElement(\"div\"),b.appendChild(a),b.innerHTML)},a.prototype.get_single_html=function(){return'<a class=\"chosen-single chosen-default\">\\n <span>'+this.default_text+'</span>\\n <div><b></b></div>\\n</a>\\n<div class=\"chosen-drop\">\\n <div class=\"chosen-search\">\\n <input class=\"chosen-search-input\" type=\"text\" autocomplete=\"off\" />\\n </div>\\n <ul class=\"chosen-results\"></ul>\\n</div>'},a.prototype.get_multi_html=function(){return'<ul class=\"chosen-choices\">\\n <li class=\"search-field\">\\n <input class=\"chosen-search-input\" type=\"text\" autocomplete=\"off\" value=\"'+this.default_text+'\" />\\n </li>\\n</ul>\\n<div class=\"chosen-drop\">\\n <ul class=\"chosen-results\"></ul>\\n</div>'},a.prototype.get_no_results_html=function(a){return'<li class=\"no-results\">\\n '+this.results_none_found+\" <span>\"+a+\"</span>\\n</li>\"},a.browser_is_supported=function(){return\"Microsoft Internet Explorer\"===window.navigator.appName?document.documentMode>=8:/iP(od|hone)/i.test(window.navigator.userAgent)||/IEMobile/i.test(window.navigator.userAgent)||/Windows Phone/i.test(window.navigator.userAgent)||/BlackBerry/i.test(window.navigator.userAgent)||/BB10/i.test(window.navigator.userAgent)||/Android.*Mobile/i.test(window.navigator.userAgent)?!1:!0},a.default_multiple_text=\"Select Some Options\",a.default_single_text=\"Select an Option\",a.default_no_result_text=\"No results match\",a}(),a=jQuery,a.fn.extend({chosen:function(d){return b.browser_is_supported()?this.each(function(b){var e,f;return e=a(this),f=e.data(\"chosen\"),\"destroy\"===d?void(f instanceof c&&f.destroy()):void(f instanceof c||e.data(\"chosen\",new c(this,d)))}):this}}),c=function(b){function c(){return e=c.__super__.constructor.apply(this,arguments)}return h(c,b),c.prototype.setup=function(){return this.form_field_jq=a(this.form_field),this.current_selectedIndex=this.form_field.selectedIndex},c.prototype.set_up_html=function(){var b,c;return b=[\"chosen-container\"],b.push(\"chosen-container-\"+(this.is_multiple?\"multi\":\"single\")),this.inherit_select_classes&&this.form_field.className&&b.push(this.form_field.className),this.is_rtl&&b.push(\"chosen-rtl\"),c={\"class\":b.join(\" \"),title:this.form_field.title},this.form_field.id.length&&(c.id=this.form_field.id.replace(/[^\\w]/g,\"_\")+\"_chosen\"),this.container=a(\"<div />\",c),this.container.width(this.container_width()),this.is_multiple?this.container.html(this.get_multi_html()):this.container.html(this.get_single_html()),this.form_field_jq.hide().after(this.container),this.dropdown=this.container.find(\"div.chosen-drop\").first(),this.search_field=this.container.find(\"input\").first(),this.search_results=this.container.find(\"ul.chosen-results\").first(),this.search_field_scale(),this.search_no_results=this.container.find(\"li.no-results\").first(),this.is_multiple?(this.search_choices=this.container.find(\"ul.chosen-choices\").first(),this.search_container=this.container.find(\"li.search-field\").first()):(this.search_container=this.container.find(\"div.chosen-search\").first(),this.selected_item=this.container.find(\".chosen-single\").first()),this.results_build(),this.set_tab_index(),this.set_label_behavior()},c.prototype.on_ready=function(){return this.form_field_jq.trigger(\"chosen:ready\",{chosen:this})},c.prototype.register_observers=function(){var a=this;return this.container.bind(\"touchstart.chosen\",function(b){a.container_mousedown(b)}),this.container.bind(\"touchend.chosen\",function(b){a.container_mouseup(b)}),this.container.bind(\"mousedown.chosen\",function(b){a.container_mousedown(b)}),this.container.bind(\"mouseup.chosen\",function(b){a.container_mouseup(b)}),this.container.bind(\"mouseenter.chosen\",function(b){a.mouse_enter(b)}),this.container.bind(\"mouseleave.chosen\",function(b){a.mouse_leave(b)}),this.search_results.bind(\"mouseup.chosen\",function(b){a.search_results_mouseup(b)}),this.search_results.bind(\"mouseover.chosen\",function(b){a.search_results_mouseover(b)}),this.search_results.bind(\"mouseout.chosen\",function(b){a.search_results_mouseout(b)}),this.search_results.bind(\"mousewheel.chosen DOMMouseScroll.chosen\",function(b){a.search_results_mousewheel(b)}),this.search_results.bind(\"touchstart.chosen\",function(b){a.search_results_touchstart(b)}),this.search_results.bind(\"touchmove.chosen\",function(b){a.search_results_touchmove(b)}),this.search_results.bind(\"touchend.chosen\",function(b){a.search_results_touchend(b)}),this.form_field_jq.bind(\"chosen:updated.chosen\",function(b){a.results_update_field(b)}),this.form_field_jq.bind(\"chosen:activate.chosen\",function(b){a.activate_field(b)}),this.form_field_jq.bind(\"chosen:open.chosen\",function(b){a.container_mousedown(b)}),this.form_field_jq.bind(\"chosen:close.chosen\",function(b){a.close_field(b)}),this.search_field.bind(\"blur.chosen\",function(b){a.input_blur(b)}),this.search_field.bind(\"keyup.chosen\",function(b){a.keyup_checker(b)}),this.search_field.bind(\"keydown.chosen\",function(b){a.keydown_checker(b)}),this.search_field.bind(\"focus.chosen\",function(b){a.input_focus(b)}),this.search_field.bind(\"cut.chosen\",function(b){a.clipboard_event_checker(b)}),this.search_field.bind(\"paste.chosen\",function(b){a.clipboard_event_checker(b)}),this.is_multiple?this.search_choices.bind(\"click.chosen\",function(b){a.choices_click(b)}):this.container.bind(\"click.chosen\",function(a){a.preventDefault()})},c.prototype.destroy=function(){return a(this.container[0].ownerDocument).unbind(\"click.chosen\",this.click_test_action),this.form_field_label.length>0&&this.form_field_label.unbind(\"click.chosen\"),this.search_field[0].tabIndex&&(this.form_field_jq[0].tabIndex=this.search_field[0].tabIndex),this.container.remove(),this.form_field_jq.removeData(\"chosen\"),this.form_field_jq.show()},c.prototype.search_field_disabled=function(){return this.is_disabled=this.form_field.disabled||this.form_field_jq.parents(\"fieldset\").is(\":disabled\"),this.container.toggleClass(\"chosen-disabled\",this.is_disabled),this.search_field[0].disabled=this.is_disabled,this.is_multiple||this.selected_item.unbind(\"focus.chosen\",this.activate_field),this.is_disabled?this.close_field():this.is_multiple?void 0:this.selected_item.bind(\"focus.chosen\",this.activate_field)},c.prototype.container_mousedown=function(b){var c;if(!this.is_disabled)return!b||\"mousedown\"!==(c=b.type)&&\"touchstart\"!==c||this.results_showing||b.preventDefault(),null!=b&&a(b.target).hasClass(\"search-choice-close\")?void 0:(this.active_field?this.is_multiple||!b||a(b.target)[0]!==this.selected_item[0]&&!a(b.target).parents(\"a.chosen-single\").length||(b.preventDefault(),this.results_toggle()):(this.is_multiple&&this.search_field.val(\"\"),a(this.container[0].ownerDocument).bind(\"click.chosen\",this.click_test_action),this.results_show()),this.activate_field())},c.prototype.container_mouseup=function(a){return\"ABBR\"!==a.target.nodeName||this.is_disabled?void 0:this.results_reset(a)},c.prototype.search_results_mousewheel=function(a){var b;return a.originalEvent&&(b=a.originalEvent.deltaY||-a.originalEvent.wheelDelta||a.originalEvent.detail),null!=b?(a.preventDefault(),\"DOMMouseScroll\"===a.type&&(b=40*b),this.search_results.scrollTop(b+this.search_results.scrollTop())):void 0},c.prototype.blur_test=function(a){return!this.active_field&&this.container.hasClass(\"chosen-container-active\")?this.close_field():void 0},c.prototype.close_field=function(){return a(this.container[0].ownerDocument).unbind(\"click.chosen\",this.click_test_action),this.active_field=!1,this.results_hide(),this.container.removeClass(\"chosen-container-active\"),this.clear_backstroke(),this.show_search_field_default(),this.search_field_scale(),this.search_field.blur()},c.prototype.activate_field=function(){return this.is_disabled?void 0:(this.container.addClass(\"chosen-container-active\"),this.active_field=!0,this.search_field.val(this.search_field.val()),this.search_field.focus())},c.prototype.test_active_click=function(b){var c;return c=a(b.target).closest(\".chosen-container\"),c.length&&this.container[0]===c[0]?this.active_field=!0:this.close_field()},c.prototype.results_build=function(){return this.parsing=!0,this.selected_option_count=null,this.results_data=d.select_to_array(this.form_field),this.is_multiple?this.search_choices.find(\"li.search-choice\").remove():this.is_multiple||(this.single_set_selected_text(),this.disable_search||this.form_field.options.length<=this.disable_search_threshold?(this.search_field[0].readOnly=!0,this.container.addClass(\"chosen-container-single-nosearch\")):(this.search_field[0].readOnly=!1,this.container.removeClass(\"chosen-container-single-nosearch\"))),this.update_results_content(this.results_option_build({first:!0})),this.search_field_disabled(),this.show_search_field_default(),this.search_field_scale(),this.parsing=!1},c.prototype.result_do_highlight=function(a){var b,c,d,e,f;if(a.length){if(this.result_clear_highlight(),this.result_highlight=a,this.result_highlight.addClass(\"highlighted\"),d=parseInt(this.search_results.css(\"maxHeight\"),10),f=this.search_results.scrollTop(),e=d+f,c=this.result_highlight.position().top+this.search_results.scrollTop(),b=c+this.result_highlight.outerHeight(),b>=e)return this.search_results.scrollTop(b-d>0?b-d:0);if(f>c)return this.search_results.scrollTop(c)}},c.prototype.result_clear_highlight=function(){return this.result_highlight&&this.result_highlight.removeClass(\"highlighted\"),this.result_highlight=null},c.prototype.results_show=function(){return this.is_multiple&&this.max_selected_options<=this.choices_count()?(this.form_field_jq.trigger(\"chosen:maxselected\",{chosen:this}),!1):(this.container.addClass(\"chosen-with-drop\"),this.results_showing=!0,this.search_field.focus(),this.search_field.val(this.get_search_field_value()),this.winnow_results(),this.form_field_jq.trigger(\"chosen:showing_dropdown\",{chosen:this}))},c.prototype.update_results_content=function(a){return this.search_results.html(a)},c.prototype.results_hide=function(){return this.results_showing&&(this.result_clear_highlight(),this.container.removeClass(\"chosen-with-drop\"),this.form_field_jq.trigger(\"chosen:hiding_dropdown\",{chosen:this})),this.results_showing=!1},c.prototype.set_tab_index=function(a){var b;return this.form_field.tabIndex?(b=this.form_field.tabIndex,this.form_field.tabIndex=-1,this.search_field[0].tabIndex=b):void 0},c.prototype.set_label_behavior=function(){return this.form_field_label=this.form_field_jq.parents(\"label\"),!this.form_field_label.length&&this.form_field.id.length&&(this.form_field_label=a(\"label[for='\"+this.form_field.id+\"']\")),this.form_field_label.length>0?this.form_field_label.bind(\"click.chosen\",this.label_click_handler):void 0},c.prototype.show_search_field_default=function(){return this.is_multiple&&this.choices_count()<1&&!this.active_field?(this.search_field.val(this.default_text),this.search_field.addClass(\"default\")):(this.search_field.val(\"\"),this.search_field.removeClass(\"default\"))},c.prototype.search_results_mouseup=function(b){var c;return c=a(b.target).hasClass(\"active-result\")?a(b.target):a(b.target).parents(\".active-result\").first(),c.length?(this.result_highlight=c,this.result_select(b),this.search_field.focus()):void 0},c.prototype.search_results_mouseover=function(b){var c;return c=a(b.target).hasClass(\"active-result\")?a(b.target):a(b.target).parents(\".active-result\").first(),c?this.result_do_highlight(c):void 0},c.prototype.search_results_mouseout=function(b){return a(b.target).hasClass(\"active-result\")?this.result_clear_highlight():void 0},c.prototype.choice_build=function(b){var c,d,e=this;return c=a(\"<li />\",{\"class\":\"search-choice\"}).html(\"<span>\"+this.choice_label(b)+\"</span>\"),b.disabled?c.addClass(\"search-choice-disabled\"):(d=a(\"<a />\",{\"class\":\"search-choice-close\",\"data-option-array-index\":b.array_index}),d.bind(\"click.chosen\",function(a){return e.choice_destroy_link_click(a)}),c.append(d)),this.search_container.before(c)},c.prototype.choice_destroy_link_click=function(b){return b.preventDefault(),b.stopPropagation(),this.is_disabled?void 0:this.choice_destroy(a(b.target))},c.prototype.choice_destroy=function(a){return this.result_deselect(a[0].getAttribute(\"data-option-array-index\"))?(this.active_field?this.search_field.focus():this.show_search_field_default(),this.is_multiple&&this.choices_count()>0&&this.get_search_field_value().length<1&&this.results_hide(),a.parents(\"li\").first().remove(),this.search_field_scale()):void 0},c.prototype.results_reset=function(){return this.reset_single_select_options(),this.form_field.options[0].selected=!0,this.single_set_selected_text(),this.show_search_field_default(),this.results_reset_cleanup(),this.trigger_form_field_change(),this.active_field?this.results_hide():void 0},c.prototype.results_reset_cleanup=function(){return this.current_selectedIndex=this.form_field.selectedIndex,this.selected_item.find(\"abbr\").remove()},c.prototype.result_select=function(a){var b,c;return this.result_highlight?(b=this.result_highlight,this.result_clear_highlight(),this.is_multiple&&this.max_selected_options<=this.choices_count()?(this.form_field_jq.trigger(\"chosen:maxselected\",{chosen:this}),!1):(this.is_multiple?b.removeClass(\"active-result\"):this.reset_single_select_options(),b.addClass(\"result-selected\"),c=this.results_data[b[0].getAttribute(\"data-option-array-index\")],c.selected=!0,this.form_field.options[c.options_index].selected=!0,this.selected_option_count=null,this.is_multiple?this.choice_build(c):this.single_set_selected_text(this.choice_label(c)),(!this.is_multiple||this.hide_results_on_select&&!a.metaKey&&!a.ctrlKey)&&(this.results_hide(),this.show_search_field_default()),(this.is_multiple||this.form_field.selectedIndex!==this.current_selectedIndex)&&this.trigger_form_field_change({selected:this.form_field.options[c.options_index].value}),this.current_selectedIndex=this.form_field.selectedIndex,a.preventDefault(),this.search_field_scale())):void 0},c.prototype.single_set_selected_text=function(a){return null==a&&(a=this.default_text),a===this.default_text?this.selected_item.addClass(\"chosen-default\"):(this.single_deselect_control_build(),this.selected_item.removeClass(\"chosen-default\")),this.selected_item.find(\"span\").html(a)},c.prototype.result_deselect=function(a){var b;return b=this.results_data[a],this.form_field.options[b.options_index].disabled?!1:(b.selected=!1,this.form_field.options[b.options_index].selected=!1,this.selected_option_count=null,this.result_clear_highlight(),this.results_showing&&this.winnow_results(),this.trigger_form_field_change({deselected:this.form_field.options[b.options_index].value}),this.search_field_scale(),!0)},c.prototype.single_deselect_control_build=function(){return this.allow_single_deselect?(this.selected_item.find(\"abbr\").length||this.selected_item.find(\"span\").first().after('<abbr class=\"search-choice-close\"></abbr>'),this.selected_item.addClass(\"chosen-single-with-deselect\")):void 0},c.prototype.get_search_field_value=function(){return this.search_field.val()},c.prototype.get_search_text=function(){return this.escape_html(a.trim(this.get_search_field_value()))},c.prototype.escape_html=function(b){return a(\"<div/>\").text(b).html()},c.prototype.winnow_results_set_highlight=function(){var a,b;return b=this.is_multiple?[]:this.search_results.find(\".result-selected.active-result\"),a=b.length?b.first():this.search_results.find(\".active-result\").first(),null!=a?this.result_do_highlight(a):void 0},c.prototype.no_results=function(a){var b;return b=this.get_no_results_html(a),this.search_results.append(b),this.form_field_jq.trigger(\"chosen:no_results\",{chosen:this})},c.prototype.no_results_clear=function(){return this.search_results.find(\".no-results\").remove()},c.prototype.keydown_arrow=function(){var a;return this.results_showing&&this.result_highlight?(a=this.result_highlight.nextAll(\"li.active-result\").first())?this.result_do_highlight(a):void 0:this.results_show()},c.prototype.keyup_arrow=function(){var a;return this.results_showing||this.is_multiple?this.result_highlight?(a=this.result_highlight.prevAll(\"li.active-result\"),a.length?this.result_do_highlight(a.first()):(this.choices_count()>0&&this.results_hide(),this.result_clear_highlight())):void 0:this.results_show()},c.prototype.keydown_backstroke=function(){var a;return this.pending_backstroke?(this.choice_destroy(this.pending_backstroke.find(\"a\").first()),this.clear_backstroke()):(a=this.search_container.siblings(\"li.search-choice\").last(),a.length&&!a.hasClass(\"search-choice-disabled\")?(this.pending_backstroke=a,this.single_backstroke_delete?this.keydown_backstroke():this.pending_backstroke.addClass(\"search-choice-focus\")):void 0)},c.prototype.clear_backstroke=function(){return this.pending_backstroke&&this.pending_backstroke.removeClass(\"search-choice-focus\"),this.pending_backstroke=null},c.prototype.search_field_scale=function(){var b,c,d,e,f,g,h,i;if(this.is_multiple){for(e={position:\"absolute\",left:\"-1000px\",top:\"-1000px\",display:\"none\",whiteSpace:\"pre\"},f=[\"fontSize\",\"fontStyle\",\"fontWeight\",\"fontFamily\",\"lineHeight\",\"textTransform\",\"letterSpacing\"],h=0,i=f.length;i>h;h++)d=f[h],e[d]=this.search_field.css(d);return c=a(\"<div />\").css(e),c.text(this.get_search_field_value()),a(\"body\").append(c),g=c.width()+25,c.remove(),b=this.container.outerWidth(),g=Math.min(b-10,g),this.search_field.width(g)}},c.prototype.trigger_form_field_change=function(a){return this.form_field_jq.trigger(\"input\",a),this.form_field_jq.trigger(\"change\",a)},c}(b)}).call(this);",
" ",
"/*", "/*",
" Small javascript library to generate a color palette.", " Small javascript library to generate a color palette.",
"", "",
...@@ -463,7 +489,7 @@ ...@@ -463,7 +489,7 @@
" See the License for the specific language governing permissions and", " See the License for the specific language governing permissions and",
" limitations under the License.", " limitations under the License.",
" */", " */",
"!function(e){\"use strict\";var t=function(e){var t=(window.beaker||{},null),n={search_contains:!0,width:\"100%\",allow_single_deselect:!0},a={connector:null,namespace:e.namespace||\"\",id:null,collections:[],collection:{},elements:{},atomic_properties:{}},o=function(e){var t,n=0;for(t in e)e.hasOwnProperty(t)&&n++;return n},r=function(e,t){try{var n=e.toString(),a=n.indexOf(\".\"),o=n.indexOf(\"e\"),t=t||2,r=parseFloat(e);return isNaN(r)?e:(o>0?(n=r.toPrecision(t)+\"\",n=n.replace(\"e\",\"x10<sup>\")+\"</sup>\"):a>0&&(a>t?(n=r.toExponential(t)+\"\",n=n.replace(\"e\",\"x10<sup>\")+\"</sup>\"):a+t<n.length&&(n=r.toFixed(t)+\"\")),n.replace(/\\.?0+(?:(?=x)|$)/,\"\")||\"0\")}catch(i){return e}},i=function(e,t){var n=a.connector,o=n.variable(e)||[];if(\"undefined\"==typeof t)o=[];else if(t.selected&&$.inArray(t.selected,-1==o))o.push(t.selected);else{var r=$.inArray(t.deselected,o);t.deselected&&r>=0&&o.splice(r,1)}return n.variable(e,o),o},c=function(n){var o=a.connector;if(n){var r=o.variable(\"collection\")||[],i={};$(a.namespace+\"--filters select\").each(function(e,t){var n=$(t),a=n.data(\"name\");i[a]=o.variable(a)}),o.event(\"get_atomic_properties\",[r,i]),o.evaluate()}else{var c=o.variable(\"property\")||\"\";if(!t)return;var l=e.periodic_table.text[0];c&&(l=e.periodic_table.text[1].replace(/\\{\\{name\\}\\}/g,c)),t.title(l);var p={},s=!0;c?p=a.atomic_properties[c]||{}:(s=!1,$.each(a.atomic_properties,function(e,t){$.each(t,function(t,n){p.hasOwnProperty(t)||(p[t]={}),p[t][e]=n})})),t.data(p),t.colorize(s)}},l=function(){if(a.connector.variable(\"property\",\"\"),t){var n=e.periodic_table.text[0]||\"All atomic properties\";t.title(n),t.reset()}g({}),$(a.id+\"--select-properties\").val(\"\").trigger(\"chosen:updated\")},p=function(){var t=$(e.periodic_table[\"class\"]),n=a.namespace.replace(/^[\\.#]/,\"\"),o=($(document),null),i=15,c=!1;t.on(\"periodic-table:init\",function(){t.append('<div id=\"'+n+'--tooltip\"></div>'),o=$(\"#\"+n+\"--tooltip\")});var l=function(e,t,n){var a=t.container.position(),r=o.outerWidth(!0),c=o.outerHeight(!0),l=document.documentElement||document.body,p=l.clientWidth,s=l.clientHeight;if(n.delegateTarget&&n.target!=n.delegateTarget){var u=$(n.target).position();n.offsetX+=u.left,n.offsetY+=u.top}n.pageX+r+n.offsetX>p&&(a.left-=r+2*i),n.clientY+c+n.offsetY>s&&(a.top-=c+i),o.css({top:n.offsetY+a.top+i,left:n.offsetX+a.left+i})},p=function(e,t,i){var c=t.storage(),p=a.connector.variable(\"property\")||\"\",s=[\"<h5>\",'<sup class=\"'+n+'--number\">',t.number(),\"</sup>\",t.name()];if(p&&c.hasOwnProperty(\"value\")){var u=r(c.value,3);u&&Array.prototype.push.apply(s,['<span class=\"'+n+'--value\">',u+\" \"+c.units,\"</span>\"])}Array.prototype.push.apply(s,[\"</h5>\",'<dl class=\"row\">']),$.each(c,function(e,t){var n=\"\";if(!p&&t.hasOwnProperty(\"value\")&&(t.units&&(n=\" \"+t.units),t=t.value),t=$.isArray(t)?t.join(\", \"):r(t,16),\"uid\"==e){var a=t.indexOf(\"#\"),o=t.slice(0,a).split(/[\\\\/]/).pop();t=o+t.substring(a)}else\"collection\"==e&&(t=t.split(/[\\\\/]/).pop());Array.prototype.push.apply(s,['<dt class=\"col\">',e,\"</dt>\",'<dd class=\"col\">',t+n,\"</dd>\"])}),s.push(\"</dl>\"),o.html(s.join(\"\")),l(e,t,i),o.show(),e.attr(\"title\",\"\")},s=function(e,t,n){c||(c=setTimeout(function(){l(e,t,n),c=null},20))},u=function(){c&&(clearTimeout(c),c=null),o.hide().empty()};return{events:{mouseenter:p,mousemove:s,mouseleave:u}}},s=function(e){var t=\"#\"+a.namespace.replace(/^[\\.#]/,\"\");a.id=t,$(a.namespace+\"--select\").each(function(e,t){var a=$(t),o=\"#\"+a.attr(\"id\").replace(/\\-/g,\"_\")+\"_chosen\";$(o).remove(),a.empty(),a.hasClass(\"chosen-select-deselect\")&&a.append($(\"<option></option>\").attr(\"value\",\"\")),a.val(\"\").prop(\"disabled\",!0).chosen(n)});var r=$(t+\"--select-collection\"),p=$(t+\"--reset-collection\");r.on(\"chosen:showing_dropdown\",function(){r.find(\".chosen-results li\").each(function(){this.title=$(this).text()})}).on(\"change\",function(e,n){var a=i(\"collection\",n);$(t+\"--collection-counter\").text(a.length),d(),l()}),p.click(function(){v()}),$(a.namespace+\"--filters select\").on(\"change\",function(e,t){var n=$(e.target),a=n.data(\"name\");i(a,t),l()});var s=$(t+\"--select-properties\"),p=$(t+\"--reset-properties\");return s.on(\"change\",function(e,t){var n=\"\",r=!1;t&&(n=t.selected),a.connector.variable(\"property\",n),0==o(a.atomic_properties)&&(r=!0),c(r)}),p.click(function(){s.val(\"\").trigger(\"chosen:updated\"),a.connector.variable(\"property\",\"\"),c(!1)}),e},u=function(e){var t=a.connector;t.event(\"get_collections\",e.collections),t.event(\"get_elements\",e.periodic_table),t.evaluate()},d=function(){var e=a.connector,t=e.variable(\"collection\")||[];return 0==t.length?v():(e.event(\"get_collection\",[t]),void e.evaluate())},v=function(){var e=a.connector,t=a.id;$(t+\"--select-collection\").val(\"\").trigger(\"chosen:updated\"),$(t+\"--collection-counter\").text(0),e.variable(\"collection\",[]),$(a.namespace+\"--filters select\").val(\"\").empty().prop(\"disabled\",!0).trigger(\"chosen:updated\"),$(a.namespace+\"--filters select\").each(function(t,n){var a=$(n).data(\"name\");e.variable(a,[])}),e.variable(\"property\",\"\"),$(a.id+\"--select-properties\").val(\"\").empty().prop(\"disabled\",!0).trigger(\"chosen:updated\"),l()},f=function(e){return\"undefined\"!=typeof e&&(a.connector=e),a.connector},h=function(e){if(\"undefined\"!=typeof e){var t=$(a.id+\"--select-collection\");return v(),$.each(e,function(e,n){var a=n.title||\"\";a||(a=n.filename.substr(0,n.filename.lastIndexOf(\".\"))),t.append($(\"<option></option>\").attr(\"value\",n.path).attr(\"title\",n.description).text(a))}),t.val(\"\").prop(\"disabled\",!1).trigger(\"chosen:updated\"),a.collections=e,this}return a.collections},m=function(n){if(\"undefined\"!=typeof n){var o=e.periodic_table.text[0]||\"All atomic properties\",r={data:n,title:o,colorize:e.periodic_table.colormap},i=p();$.extend(r,i),t=new PeriodicTable.PeriodicTable(e.periodic_table[\"class\"],r);var c=a.connector;t.color_function(function(e){if(null!==e){var t=c.variable(\"property\")||\"\";e=t?e.hasOwnProperty(\"value\")?e.value:e:0}return e}),AtomicData.Notebook.ptable=t,a.elements=n}return a.elements},b=function(e){if(\"undefined\"!=typeof e){var t=e.methods,n=e.properties;$(a.namespace+\"--filters select\").each(function(n,a){var o=$(a),r=o.data(\"name\");o.val(\"\").empty(),t.hasOwnProperty(r)?(o.prop(\"disabled\",!1),$.each(e.methods[r],function(e,t){o.append($(\"<option></option>\").attr(\"value\",t).text(t))})):o.prop(\"disabled\",!0),o.trigger(\"chosen:updated\")});var o=$(a.id+\"--select-properties\");return o.empty(),n.length>0?(o.prop(\"disabled\",!1).append($(\"<option></option>\").attr(\"value\",\"\")),$.each(n,function(e,t){o.append($(\"<option></option>\").attr(\"value\",t).text(t))})):o.prop(\"disabled\",!0),o.val(\"\").trigger(\"chosen:updated\"),a.collection=e,this}return a.collection},g=function(e){return\"undefined\"!=typeof e?(a.atomic_properties=e,c(!1),this):a.atomic_properties},y={init:u,reset:v,update:d,connector:f,collections:h,elements:m,collection:b,atomic_properties:g};return s(y)},n=function(e){var t={evaluator:null,client:null,beaker:null},n=function(n){return $.extend(t,e||{}),t.variable={},t.beaker=window.beaker||{},t.variable={},t.beaker.atomic_data_events=[],t.client&&t.client.connector(n),n},a=function(){return t.beaker},o=function(e,n){if(t.beaker){var a=n||[];return $.isArray(a)||(a=[a]),t.beaker.atomic_data_events.push([e,a]),this}},r=function(){var e=t.beaker.atomic_data_events||[];t.evaluator&&0!=e.length&&t.beaker.evaluate(t.evaluator)},i=function(e){return\"undefined\"!=typeof e&&(t.evaluator=e),t.evaluator},c=function(e,n){return\"undefined\"!=typeof n&&(t.variable[e]=n),e in t.variable?t.variable[e]:null},l=function(){var e=t.beaker.atomic_data_events||[],n=t.client;if(0!=e.length&&n){t.beaker.atomic_data_events=[];for(var a in e){var o=e[a][0],r=e[a][1];$.isArray(r)||(r=[r]),n[o].apply(n,r||[])}}},p={beaker:a,event:o,evaluate:r,evaluator:i,variable:c,update:l};return n(p)};e.Client=t,e.Connector=n}(window.AtomicData=window.AtomicData||{});" "!function(e){\"use strict\";var t=function(e){var t=(window.beaker||{},null),n={search_contains:!0,width:\"100%\",allow_single_deselect:!0},a={connector:null,namespace:e.namespace||\"\",id:null,collections:[],collection:{},elements:{},atomic_properties:{}},o=function(e){var t,n=0;for(t in e)e.hasOwnProperty(t)&&n++;return n},r=function(e,t){try{var n=e.toString(),a=n.indexOf(\".\"),o=n.indexOf(\"e\"),t=t||2,r=parseFloat(e);return isNaN(r)?e:(o>0?(n=r.toPrecision(t)+\"\",n=n.replace(\"e\",\"x10<sup>\")+\"</sup>\"):a>0&&(a>t?(n=r.toExponential(t)+\"\",n=n.replace(\"e\",\"x10<sup>\")+\"</sup>\"):a+t<n.length&&(n=r.toFixed(t)+\"\")),n.replace(/\\.?0+(?:(?=x)|$)/,\"\")||\"0\")}catch(i){return e}},i=function(e,t){var n=a.connector,o=n.variable(e)||[];if(\"undefined\"==typeof t)o=[];else if(t.selected&&$.inArray(t.selected,-1==o))o.push(t.selected);else{var r=$.inArray(t.deselected,o);t.deselected&&r>=0&&o.splice(r,1)}return n.variable(e,o),o},c=function(n){var r=a.connector;if(n){var i=r.variable(\"collection\")||[],c={};if(0==o(i))return;$(a.namespace+\"--filters select\").each(function(e,t){var n=$(t),a=n.data(\"name\");c[a]=r.variable(a)}),r.event(\"get_atomic_properties\",[i,c]),r.evaluate()}else{var l=r.variable(\"property\")||\"\";if(!t)return;var p=e.periodic_table.text[0];l&&(p=e.periodic_table.text[1].replace(/\\{\\{name\\}\\}/g,l)),t.title(p);var s={},u=!0;l?s=a.atomic_properties[l]||{}:(u=!1,$.each(a.atomic_properties,function(e,t){$.each(t,function(t,n){s.hasOwnProperty(t)||(s[t]={}),s[t][e]=n})})),t.data(s),t.colorize(u)}},l=function(){if(a.connector.variable(\"property\",\"\"),t){var n=e.periodic_table.text[0]||\"All atomic properties\";t.title(n),t.reset()}g({}),$(a.id+\"--select-properties\").val(\"\").trigger(\"chosen:updated\")},p=function(){var t=$(e.periodic_table[\"class\"]),n=a.namespace.replace(/^[\\.#]/,\"\"),o=($(document),null),i=15,c=!1;t.on(\"periodic-table:init\",function(){t.append('<div id=\"'+n+'--tooltip\"></div>'),o=$(\"#\"+n+\"--tooltip\")});var l=function(e,t,n){var a=t.container.position(),r=o.outerWidth(!0),c=o.outerHeight(!0),l=document.documentElement||document.body,p=l.clientWidth,s=l.clientHeight;if(n.delegateTarget&&n.target!=n.delegateTarget){var u=$(n.target).position();n.offsetX+=u.left,n.offsetY+=u.top}n.pageX+r+n.offsetX>p&&(a.left-=r+2*i),n.clientY+c+n.offsetY>s&&(a.top-=c+i),o.css({top:n.offsetY+a.top+i,left:n.offsetX+a.left+i})},p=function(e,t,i){var c=t.storage(),p=a.connector.variable(\"property\")||\"\",s=[\"<h5>\",'<sup class=\"'+n+'--number\">',t.number(),\"</sup>\",t.name()];if(p&&c.hasOwnProperty(\"value\")){var u=r(c.value,3);u&&Array.prototype.push.apply(s,['<span class=\"'+n+'--value\">',u+\" \"+c.units,\"</span>\"])}Array.prototype.push.apply(s,[\"</h5>\",'<dl class=\"row\">']),$.each(c,function(e,t){var n=\"\";if(!p&&t.hasOwnProperty(\"value\")&&(t.units&&(n=\" \"+t.units),t=t.value),t=$.isArray(t)?t.join(\", \"):r(t,16),\"uid\"==e){var a=t.indexOf(\"#\"),o=t.slice(0,a).split(/[\\\\/]/).pop();t=o+t.substring(a)}else\"collection\"==e&&(t=t.split(/[\\\\/]/).pop());Array.prototype.push.apply(s,['<dt class=\"col\">',e,\"</dt>\",'<dd class=\"col\">',t+n,\"</dd>\"])}),s.push(\"</dl>\"),o.html(s.join(\"\")),l(e,t,i),o.show(),e.attr(\"title\",\"\")},s=function(e,t,n){c||(c=setTimeout(function(){l(e,t,n),c=null},20))},u=function(){c&&(clearTimeout(c),c=null),o.hide().empty()};return{events:{mouseenter:p,mousemove:s,mouseleave:u}}},s=function(e){var t=\"#\"+a.namespace.replace(/^[\\.#]/,\"\");a.id=t,$(a.namespace+\"--select\").each(function(e,t){var a=$(t),o=\"#\"+a.attr(\"id\").replace(/\\-/g,\"_\")+\"_chosen\";$(o).remove(),a.empty(),a.hasClass(\"chosen-select-deselect\")&&a.append($(\"<option></option>\").attr(\"value\",\"\")),a.val(\"\").prop(\"disabled\",!0).chosen(n)});var r=$(t+\"--select-collection\"),p=$(t+\"--reset-collection\");r.on(\"chosen:showing_dropdown\",function(){r.find(\".chosen-results li\").each(function(){this.title=$(this).text()})}).on(\"change\",function(e,n){var a=i(\"collection\",n);$(t+\"--collection-counter\").text(a.length),l(),d()}),p.click(function(){v()}),$(a.namespace+\"--filters select\").on(\"change\",function(e,t){var n=$(e.target),a=n.data(\"name\");i(a,t),l(),c(!0)});var s=$(t+\"--select-properties\"),p=$(t+\"--reset-properties\");return s.on(\"change\",function(e,t){var n=\"\",r=!1;t&&(n=t.selected),a.connector.variable(\"property\",n),0==o(a.atomic_properties)&&(r=!0),c(r)}),p.click(function(){s.val(\"\").trigger(\"chosen:updated\"),a.connector.variable(\"property\",\"\"),c(!1)}),e},u=function(e){var t=a.connector;t.event(\"get_collections\",e.collections),t.event(\"get_elements\",e.periodic_table),t.evaluate()},d=function(){var e=a.connector,t=e.variable(\"collection\")||[];return 0==t.length?v():(e.event(\"get_collection\",[t]),e.event(\"get_atomic_properties\",[t,{}]),void e.evaluate())},v=function(){var e=a.connector,t=a.id;$(t+\"--select-collection\").val(\"\").trigger(\"chosen:updated\"),$(t+\"--collection-counter\").text(0),e.variable(\"collection\",[]),$(a.namespace+\"--filters select\").val(\"\").empty().prop(\"disabled\",!0).trigger(\"chosen:updated\"),$(a.namespace+\"--filters select\").each(function(t,n){var a=$(n).data(\"name\");e.variable(a,[])}),e.variable(\"property\",\"\"),$(a.id+\"--select-properties\").val(\"\").empty().prop(\"disabled\",!0).trigger(\"chosen:updated\"),l()},f=function(e){return\"undefined\"!=typeof e&&(a.connector=e),a.connector},h=function(e){if(\"undefined\"!=typeof e){var t=$(a.id+\"--select-collection\");return v(),$.each(e,function(e,n){var a=n.title||\"\";a||(a=n.filename.substr(0,n.filename.lastIndexOf(\".\"))),t.append($(\"<option></option>\").attr(\"value\",n.path).attr(\"title\",n.description).text(a))}),t.val(\"\").prop(\"disabled\",!1).trigger(\"chosen:updated\"),a.collections=e,this}return a.collections},m=function(n){if(\"undefined\"!=typeof n){var o=e.periodic_table.text[0]||\"All atomic properties\",r={data:n,title:o,colorize:e.periodic_table.colormap},i=p();$.extend(r,i),t=new PeriodicTable.PeriodicTable(e.periodic_table[\"class\"],r);var c=a.connector;t.color_function(function(e){if(null!==e){var t=c.variable(\"property\")||\"\";e=t?e.hasOwnProperty(\"value\")?e.value:e:0}return e}),AtomicData.Notebook.ptable=t,a.elements=n}return a.elements},b=function(e){if(\"undefined\"!=typeof e){var t=e.methods,n=e.properties;$(a.namespace+\"--filters select\").each(function(n,a){var o=$(a),r=o.data(\"name\");o.val(\"\").empty(),t.hasOwnProperty(r)?(o.prop(\"disabled\",!1),$.each(e.methods[r],function(e,t){o.append($(\"<option></option>\").attr(\"value\",t).text(t))})):o.prop(\"disabled\",!0),o.trigger(\"chosen:updated\")});var o=$(a.id+\"--select-properties\");return o.empty(),n.length>0?(o.prop(\"disabled\",!1).append($(\"<option></option>\").attr(\"value\",\"\")),$.each(n,function(e,t){o.append($(\"<option></option>\").attr(\"value\",t).text(t))})):o.prop(\"disabled\",!0),o.val(\"\").trigger(\"chosen:updated\"),a.collection=e,this}return a.collection},g=function(e){return\"undefined\"!=typeof e?(a.atomic_properties=e,c(!1),this):a.atomic_properties},y={init:u,reset:v,update:d,connector:f,collections:h,elements:m,collection:b,atomic_properties:g};return s(y)},n=function(e){var t={evaluator:null,client:null,beaker:null},n=function(n){return $.extend(t,e||{}),t.variable={},t.beaker=window.beaker||{},t.variable={},t.beaker.atomic_data_events=[],t.client&&t.client.connector(n),n},a=function(){return t.beaker},o=function(e,n){if(t.beaker){var a=n||[];return $.isArray(a)||(a=[a]),t.beaker.atomic_data_events.push([e,a]),this}},r=function(){var e=t.beaker.atomic_data_events||[];t.evaluator&&0!=e.length&&t.beaker.evaluate(t.evaluator)},i=function(e){return\"undefined\"!=typeof e&&(t.evaluator=e),t.evaluator},c=function(e,n){return\"undefined\"!=typeof n&&(t.variable[e]=n),e in t.variable?t.variable[e]:null},l=function(){var e=t.beaker.atomic_data_events||[],n=t.client;if(0!=e.length&&n){t.beaker.atomic_data_events=[];for(var a in e){var o=e[a][0],r=e[a][1];$.isArray(r)||(r=[r]),n[o].apply(n,r||[])}}},p={beaker:a,event:o,evaluate:r,evaluator:i,variable:c,update:l};return n(p)};e.Client=t,e.Connector=n}(window.AtomicData=window.AtomicData||{});"
], ],
"hidden": true "hidden": true
}, },
...@@ -471,10 +497,11 @@ ...@@ -471,10 +497,11 @@
"hidden": true, "hidden": true,
"state": {}, "state": {},
"pluginName": "JavaScript", "pluginName": "JavaScript",
"selectedType": "Text" "selectedType": "Text",
"height": 50
}, },
"evaluatorReader": true, "evaluatorReader": true,
"lineCount": 39, "lineCount": 52,
"initialization": true "initialization": true
}, },
{ {
...@@ -687,7 +714,7 @@ ...@@ -687,7 +714,7 @@
"hidden": true, "hidden": true,
"state": {}, "state": {},
"pluginName": "IPython", "pluginName": "IPython",
"shellId": "D6AB0868E05747479E7342FBBCD277FD" "shellId": "F2C0F0E6B9904B8D9B2DF2277CE92D87"
}, },
"evaluatorReader": true, "evaluatorReader": true,
"lineCount": 197, "lineCount": 197,
...@@ -803,10 +830,11 @@ ...@@ -803,10 +830,11 @@
"hidden": true "hidden": true
}, },
"output": { "output": {
"hidden": true,
"state": {}, "state": {},
"pluginName": "IPython", "pluginName": "IPython",
"shellId": "D6AB0868E05747479E7342FBBCD277FD" "shellId": "F2C0F0E6B9904B8D9B2DF2277CE92D87",
"selectedType": "Hidden",
"height": 91
}, },
"evaluatorReader": true, "evaluatorReader": true,
"lineCount": 2, "lineCount": 2,
...@@ -827,15 +855,18 @@ ...@@ -827,15 +855,18 @@
"hidden": true "hidden": true
}, },
"output": { "output": {
"hidden": true,
"state": {}, "state": {},
"pluginName": "JavaScript" "pluginName": "JavaScript",
"selectedType": "BeakerDisplay",
"height": 89
}, },
"evaluatorReader": true, "evaluatorReader": true,
"lineCount": 5, "lineCount": 5,
"tags": "connector" "tags": "connector"
} }
], ],
"namespace": {}, "namespace": {
"atomic_data_events": []
},
"locked": true "locked": true
} }
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment