/* Qwerty Hancock 0.10.0 (c) 2012-21 Stuart Memo */ !function(){function a(e){return Math.floor((p.width-e)/e)}function i(e){var t=3===e.length?e.charAt(2):e.charAt(1);return e=(e=["A","A#","B","C","C#","D","D#","E","F","F#","G","G#"].indexOf(e.slice(0,-1)))<3?e+12+12*(t-1)+1:e+12*(t-1)+1,440*Math.pow(2,(e-49)/12)}function r(e){null!==e&&(e.style.backgroundColor=p.activeColour)}function l(e){null!==e&&("white"===e.getAttribute("data-note-type")?e.style.backgroundColor=p.whiteKeyColour:e.style.backgroundColor=p.blackKeyColour)}function n(e){for(var t=0,o=e.length,n=[],i=0;i